diff --git a/.gitattributes b/.gitattributes index d8dfc202b95c4acbbc2f734bfd6185a9ad410d39..6828588eaa2fad3843e9e02dc6b26ed4a7c89387 100644 --- a/.gitattributes +++ b/.gitattributes @@ -34,3 +34,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text *.zst filter=lfs diff=lfs merge=lfs -text *tfevents* filter=lfs diff=lfs merge=lfs -text node_modules/.bin/esbuild filter=lfs diff=lfs merge=lfs -text +node_modules/@esbuild/linux-x64/bin/esbuild filter=lfs diff=lfs merge=lfs -text diff --git a/node_modules/@babel/types/lib/converters/toExpression.js.map b/node_modules/@babel/types/lib/converters/toExpression.js.map new file mode 100644 index 0000000000000000000000000000000000000000..6b58e2a090c61670fec04c0905fce996630513dd --- /dev/null +++ b/node_modules/@babel/types/lib/converters/toExpression.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_index","require","_default","exports","default","toExpression","node","isExpressionStatement","expression","isExpression","isClass","type","abstract","isFunction","Error"],"sources":["../../src/converters/toExpression.ts"],"sourcesContent":["import {\n isExpression,\n isFunction,\n isClass,\n isExpressionStatement,\n} from \"../validators/generated/index.ts\";\nimport type * as t from \"../index.ts\";\n\nexport default toExpression as {\n (node: t.Function): t.FunctionExpression;\n (node: t.Class): t.ClassExpression;\n (\n node: t.ExpressionStatement | t.Expression | t.Class | t.Function,\n ): t.Expression;\n};\n\nfunction toExpression(\n node: t.ExpressionStatement | t.Expression | t.Class | t.Function,\n): t.Expression {\n if (isExpressionStatement(node)) {\n node = node.expression;\n }\n\n // return unmodified node\n // important for things like ArrowFunctions where\n // type change from ArrowFunction to FunctionExpression\n // produces bugs like -> `()=>a` to `function () a`\n // without generating a BlockStatement for it\n // ref: https://github.com/babel/babili/issues/130\n if (isExpression(node)) {\n return node;\n }\n\n // convert all classes and functions\n // ClassDeclaration -> ClassExpression\n // FunctionDeclaration, ObjectMethod, ClassMethod -> FunctionExpression\n if (isClass(node)) {\n // @ts-expect-error todo(flow->ts): avoid type unsafe mutations\n node.type = \"ClassExpression\";\n // abstract modifiers are only allowed on class declarations\n node.abstract = false;\n } else if (isFunction(node)) {\n // @ts-expect-error todo(flow->ts): avoid type unsafe mutations\n node.type = \"FunctionExpression\";\n }\n\n // if it's still not an expression\n if (!isExpression(node)) {\n throw new Error(`cannot turn ${node.type} to an expression`);\n }\n\n return node;\n}\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAK0C,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAG3BC,YAAY;AAQ3B,SAASA,YAAYA,CACnBC,IAAiE,EACnD;EACd,IAAI,IAAAC,4BAAqB,EAACD,IAAI,CAAC,EAAE;IAC/BA,IAAI,GAAGA,IAAI,CAACE,UAAU;EACxB;EAQA,IAAI,IAAAC,mBAAY,EAACH,IAAI,CAAC,EAAE;IACtB,OAAOA,IAAI;EACb;EAKA,IAAI,IAAAI,cAAO,EAACJ,IAAI,CAAC,EAAE;IAEjBA,IAAI,CAACK,IAAI,GAAG,iBAAiB;IAE7BL,IAAI,CAACM,QAAQ,GAAG,KAAK;EACvB,CAAC,MAAM,IAAI,IAAAC,iBAAU,EAACP,IAAI,CAAC,EAAE;IAE3BA,IAAI,CAACK,IAAI,GAAG,oBAAoB;EAClC;EAGA,IAAI,CAAC,IAAAF,mBAAY,EAACH,IAAI,CAAC,EAAE;IACvB,MAAM,IAAIQ,KAAK,CAAC,eAAeR,IAAI,CAACK,IAAI,mBAAmB,CAAC;EAC9D;EAEA,OAAOL,IAAI;AACb","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/converters/toIdentifier.js b/node_modules/@babel/types/lib/converters/toIdentifier.js new file mode 100644 index 0000000000000000000000000000000000000000..88037850dfac21ff353e0f94c62706510afc20d4 --- /dev/null +++ b/node_modules/@babel/types/lib/converters/toIdentifier.js @@ -0,0 +1,25 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = toIdentifier; +var _isValidIdentifier = require("../validators/isValidIdentifier.js"); +var _helperValidatorIdentifier = require("@babel/helper-validator-identifier"); +function toIdentifier(input) { + input = input + ""; + let name = ""; + for (const c of input) { + name += (0, _helperValidatorIdentifier.isIdentifierChar)(c.codePointAt(0)) ? c : "-"; + } + name = name.replace(/^[-0-9]+/, ""); + name = name.replace(/[-\s]+(.)?/g, function (match, c) { + return c ? c.toUpperCase() : ""; + }); + if (!(0, _isValidIdentifier.default)(name)) { + name = `_${name}`; + } + return name || "_"; +} + +//# sourceMappingURL=toIdentifier.js.map diff --git a/node_modules/@babel/types/lib/converters/toIdentifier.js.map b/node_modules/@babel/types/lib/converters/toIdentifier.js.map new file mode 100644 index 0000000000000000000000000000000000000000..d62fa18a37f634702244f5eec580933416ab288e --- /dev/null +++ b/node_modules/@babel/types/lib/converters/toIdentifier.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_isValidIdentifier","require","_helperValidatorIdentifier","toIdentifier","input","name","c","isIdentifierChar","codePointAt","replace","match","toUpperCase","isValidIdentifier"],"sources":["../../src/converters/toIdentifier.ts"],"sourcesContent":["import isValidIdentifier from \"../validators/isValidIdentifier.ts\";\nimport { isIdentifierChar } from \"@babel/helper-validator-identifier\";\n\nexport default function toIdentifier(input: string): string {\n input = input + \"\";\n\n // replace all non-valid identifiers with dashes\n let name = \"\";\n for (const c of input) {\n name += isIdentifierChar(c.codePointAt(0)) ? c : \"-\";\n }\n\n // remove all dashes and numbers from start of name\n name = name.replace(/^[-0-9]+/, \"\");\n\n // camel case\n name = name.replace(/[-\\s]+(.)?/g, function (match, c) {\n return c ? c.toUpperCase() : \"\";\n });\n\n if (!isValidIdentifier(name)) {\n name = `_${name}`;\n }\n\n return name || \"_\";\n}\n"],"mappings":";;;;;;AAAA,IAAAA,kBAAA,GAAAC,OAAA;AACA,IAAAC,0BAAA,GAAAD,OAAA;AAEe,SAASE,YAAYA,CAACC,KAAa,EAAU;EAC1DA,KAAK,GAAGA,KAAK,GAAG,EAAE;EAGlB,IAAIC,IAAI,GAAG,EAAE;EACb,KAAK,MAAMC,CAAC,IAAIF,KAAK,EAAE;IACrBC,IAAI,IAAI,IAAAE,2CAAgB,EAACD,CAAC,CAACE,WAAW,CAAC,CAAC,CAAC,CAAC,GAAGF,CAAC,GAAG,GAAG;EACtD;EAGAD,IAAI,GAAGA,IAAI,CAACI,OAAO,CAAC,UAAU,EAAE,EAAE,CAAC;EAGnCJ,IAAI,GAAGA,IAAI,CAACI,OAAO,CAAC,aAAa,EAAE,UAAUC,KAAK,EAAEJ,CAAC,EAAE;IACrD,OAAOA,CAAC,GAAGA,CAAC,CAACK,WAAW,CAAC,CAAC,GAAG,EAAE;EACjC,CAAC,CAAC;EAEF,IAAI,CAAC,IAAAC,0BAAiB,EAACP,IAAI,CAAC,EAAE;IAC5BA,IAAI,GAAG,IAAIA,IAAI,EAAE;EACnB;EAEA,OAAOA,IAAI,IAAI,GAAG;AACpB","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/converters/toKeyAlias.js b/node_modules/@babel/types/lib/converters/toKeyAlias.js new file mode 100644 index 0000000000000000000000000000000000000000..ee73a0e926d216dcd3b0f4779face1154b3eefb7 --- /dev/null +++ b/node_modules/@babel/types/lib/converters/toKeyAlias.js @@ -0,0 +1,38 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = toKeyAlias; +var _index = require("../validators/generated/index.js"); +var _cloneNode = require("../clone/cloneNode.js"); +var _removePropertiesDeep = require("../modifications/removePropertiesDeep.js"); +function toKeyAlias(node, key = node.key) { + let alias; + if (node.kind === "method") { + return toKeyAlias.increment() + ""; + } else if ((0, _index.isIdentifier)(key)) { + alias = key.name; + } else if ((0, _index.isStringLiteral)(key)) { + alias = JSON.stringify(key.value); + } else { + alias = JSON.stringify((0, _removePropertiesDeep.default)((0, _cloneNode.default)(key))); + } + if (node.computed) { + alias = `[${alias}]`; + } + if (node.static) { + alias = `static:${alias}`; + } + return alias; +} +toKeyAlias.uid = 0; +toKeyAlias.increment = function () { + if (toKeyAlias.uid >= Number.MAX_SAFE_INTEGER) { + return toKeyAlias.uid = 0; + } else { + return toKeyAlias.uid++; + } +}; + +//# sourceMappingURL=toKeyAlias.js.map diff --git a/node_modules/@babel/types/lib/converters/toKeyAlias.js.map b/node_modules/@babel/types/lib/converters/toKeyAlias.js.map new file mode 100644 index 0000000000000000000000000000000000000000..8dc225a151312a2a0f6dd848e39527b72574ad13 --- /dev/null +++ b/node_modules/@babel/types/lib/converters/toKeyAlias.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_index","require","_cloneNode","_removePropertiesDeep","toKeyAlias","node","key","alias","kind","increment","isIdentifier","name","isStringLiteral","JSON","stringify","value","removePropertiesDeep","cloneNode","computed","static","uid","Number","MAX_SAFE_INTEGER"],"sources":["../../src/converters/toKeyAlias.ts"],"sourcesContent":["import {\n isIdentifier,\n isStringLiteral,\n} from \"../validators/generated/index.ts\";\nimport cloneNode from \"../clone/cloneNode.ts\";\nimport removePropertiesDeep from \"../modifications/removePropertiesDeep.ts\";\nimport type * as t from \"../index.ts\";\n\nexport default function toKeyAlias(\n node: t.Method | t.Property,\n key: t.Node = node.key,\n): string {\n let alias;\n\n // @ts-expect-error todo(flow->ts): maybe add node type check before checking `.kind`\n if (node.kind === \"method\") {\n return toKeyAlias.increment() + \"\";\n } else if (isIdentifier(key)) {\n alias = key.name;\n } else if (isStringLiteral(key)) {\n alias = JSON.stringify(key.value);\n } else {\n alias = JSON.stringify(removePropertiesDeep(cloneNode(key)));\n }\n\n // @ts-expect-error todo(flow->ts): maybe add node type check before checking `.computed`\n if (node.computed) {\n alias = `[${alias}]`;\n }\n\n // @ts-expect-error todo(flow->ts): maybe add node type check before checking `.static`\n if (node.static) {\n alias = `static:${alias}`;\n }\n\n return alias;\n}\n\ntoKeyAlias.uid = 0;\n\ntoKeyAlias.increment = function () {\n if (toKeyAlias.uid >= Number.MAX_SAFE_INTEGER) {\n return (toKeyAlias.uid = 0);\n } else {\n return toKeyAlias.uid++;\n }\n};\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAIA,IAAAC,UAAA,GAAAD,OAAA;AACA,IAAAE,qBAAA,GAAAF,OAAA;AAGe,SAASG,UAAUA,CAChCC,IAA2B,EAC3BC,GAAW,GAAGD,IAAI,CAACC,GAAG,EACd;EACR,IAAIC,KAAK;EAGT,IAAIF,IAAI,CAACG,IAAI,KAAK,QAAQ,EAAE;IAC1B,OAAOJ,UAAU,CAACK,SAAS,CAAC,CAAC,GAAG,EAAE;EACpC,CAAC,MAAM,IAAI,IAAAC,mBAAY,EAACJ,GAAG,CAAC,EAAE;IAC5BC,KAAK,GAAGD,GAAG,CAACK,IAAI;EAClB,CAAC,MAAM,IAAI,IAAAC,sBAAe,EAACN,GAAG,CAAC,EAAE;IAC/BC,KAAK,GAAGM,IAAI,CAACC,SAAS,CAACR,GAAG,CAACS,KAAK,CAAC;EACnC,CAAC,MAAM;IACLR,KAAK,GAAGM,IAAI,CAACC,SAAS,CAAC,IAAAE,6BAAoB,EAAC,IAAAC,kBAAS,EAACX,GAAG,CAAC,CAAC,CAAC;EAC9D;EAGA,IAAID,IAAI,CAACa,QAAQ,EAAE;IACjBX,KAAK,GAAG,IAAIA,KAAK,GAAG;EACtB;EAGA,IAAIF,IAAI,CAACc,MAAM,EAAE;IACfZ,KAAK,GAAG,UAAUA,KAAK,EAAE;EAC3B;EAEA,OAAOA,KAAK;AACd;AAEAH,UAAU,CAACgB,GAAG,GAAG,CAAC;AAElBhB,UAAU,CAACK,SAAS,GAAG,YAAY;EACjC,IAAIL,UAAU,CAACgB,GAAG,IAAIC,MAAM,CAACC,gBAAgB,EAAE;IAC7C,OAAQlB,UAAU,CAACgB,GAAG,GAAG,CAAC;EAC5B,CAAC,MAAM;IACL,OAAOhB,UAAU,CAACgB,GAAG,EAAE;EACzB;AACF,CAAC","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/converters/toSequenceExpression.js b/node_modules/@babel/types/lib/converters/toSequenceExpression.js new file mode 100644 index 0000000000000000000000000000000000000000..d0210bc6bb14f276b4b460ffece666588b32a983 --- /dev/null +++ b/node_modules/@babel/types/lib/converters/toSequenceExpression.js @@ -0,0 +1,19 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = toSequenceExpression; +var _gatherSequenceExpressions = require("./gatherSequenceExpressions.js"); +function toSequenceExpression(nodes, scope) { + if (!(nodes != null && nodes.length)) return; + const declars = []; + const result = (0, _gatherSequenceExpressions.default)(nodes, declars); + if (!result) return; + for (const declar of declars) { + scope.push(declar); + } + return result; +} + +//# sourceMappingURL=toSequenceExpression.js.map diff --git a/node_modules/@babel/types/lib/converters/toSequenceExpression.js.map b/node_modules/@babel/types/lib/converters/toSequenceExpression.js.map new file mode 100644 index 0000000000000000000000000000000000000000..1eab72e3beb3c45ffda309021505f0f2e4476e9b --- /dev/null +++ b/node_modules/@babel/types/lib/converters/toSequenceExpression.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_gatherSequenceExpressions","require","toSequenceExpression","nodes","scope","length","declars","result","gatherSequenceExpressions","declar","push"],"sources":["../../src/converters/toSequenceExpression.ts"],"sourcesContent":["// TODO(Babel 8) Remove this file\nif (process.env.BABEL_8_BREAKING && process.env.IS_PUBLISH) {\n throw new Error(\n \"Internal Babel error: This file should only be loaded in Babel 7\",\n );\n}\n\nimport gatherSequenceExpressions from \"./gatherSequenceExpressions.ts\";\nimport type * as t from \"../index.ts\";\nimport type { DeclarationInfo } from \"./gatherSequenceExpressions.ts\";\n\n/**\n * Turn an array of statement `nodes` into a `SequenceExpression`.\n *\n * Variable declarations are turned into simple assignments and their\n * declarations hoisted to the top of the current scope.\n *\n * Expression statements are just resolved to their expression.\n */\nexport default function toSequenceExpression(\n nodes: readonly t.Node[],\n scope: any,\n): t.SequenceExpression | undefined {\n if (!nodes?.length) return;\n\n const declars: DeclarationInfo[] = [];\n const result = gatherSequenceExpressions(nodes, declars);\n if (!result) return;\n\n for (const declar of declars) {\n scope.push(declar);\n }\n\n // @ts-expect-error fixme: gatherSequenceExpressions will return an Expression when there are only one element\n return result;\n}\n"],"mappings":";;;;;;AAOA,IAAAA,0BAAA,GAAAC,OAAA;AAYe,SAASC,oBAAoBA,CAC1CC,KAAwB,EACxBC,KAAU,EACwB;EAClC,IAAI,EAACD,KAAK,YAALA,KAAK,CAAEE,MAAM,GAAE;EAEpB,MAAMC,OAA0B,GAAG,EAAE;EACrC,MAAMC,MAAM,GAAG,IAAAC,kCAAyB,EAACL,KAAK,EAAEG,OAAO,CAAC;EACxD,IAAI,CAACC,MAAM,EAAE;EAEb,KAAK,MAAME,MAAM,IAAIH,OAAO,EAAE;IAC5BF,KAAK,CAACM,IAAI,CAACD,MAAM,CAAC;EACpB;EAGA,OAAOF,MAAM;AACf","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/converters/toStatement.js b/node_modules/@babel/types/lib/converters/toStatement.js new file mode 100644 index 0000000000000000000000000000000000000000..92cfd96033aa6954c0376860535eb2e1b7ee9a94 --- /dev/null +++ b/node_modules/@babel/types/lib/converters/toStatement.js @@ -0,0 +1,39 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = require("../validators/generated/index.js"); +var _index2 = require("../builders/generated/index.js"); +var _default = exports.default = toStatement; +function toStatement(node, ignore) { + if ((0, _index.isStatement)(node)) { + return node; + } + let mustHaveId = false; + let newType; + if ((0, _index.isClass)(node)) { + mustHaveId = true; + newType = "ClassDeclaration"; + } else if ((0, _index.isFunction)(node)) { + mustHaveId = true; + newType = "FunctionDeclaration"; + } else if ((0, _index.isAssignmentExpression)(node)) { + return (0, _index2.expressionStatement)(node); + } + if (mustHaveId && !node.id) { + newType = false; + } + if (!newType) { + if (ignore) { + return false; + } else { + throw new Error(`cannot turn ${node.type} to a statement`); + } + } + node.type = newType; + return node; +} + +//# sourceMappingURL=toStatement.js.map diff --git a/node_modules/@babel/types/lib/converters/toStatement.js.map b/node_modules/@babel/types/lib/converters/toStatement.js.map new file mode 100644 index 0000000000000000000000000000000000000000..5314f173d4f864a3196358f8a46bdb02f3550a1b --- /dev/null +++ b/node_modules/@babel/types/lib/converters/toStatement.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_index","require","_index2","_default","exports","default","toStatement","node","ignore","isStatement","mustHaveId","newType","isClass","isFunction","isAssignmentExpression","expressionStatement","id","Error","type"],"sources":["../../src/converters/toStatement.ts"],"sourcesContent":["import {\n isStatement,\n isFunction,\n isClass,\n isAssignmentExpression,\n} from \"../validators/generated/index.ts\";\nimport { expressionStatement } from \"../builders/generated/index.ts\";\nimport type * as t from \"../index.ts\";\n\nexport default toStatement as {\n (node: t.AssignmentExpression, ignore?: boolean): t.ExpressionStatement;\n\n (node: T, ignore: false): T;\n (node: T, ignore?: boolean): T | false;\n\n (node: t.Class, ignore: false): t.ClassDeclaration;\n (node: t.Class, ignore?: boolean): t.ClassDeclaration | false;\n\n (node: t.Function, ignore: false): t.FunctionDeclaration;\n (node: t.Function, ignore?: boolean): t.FunctionDeclaration | false;\n\n (node: t.Node, ignore: false): t.Statement;\n (node: t.Node, ignore?: boolean): t.Statement | false;\n};\n\nfunction toStatement(node: t.Node, ignore?: boolean): t.Statement | false {\n if (isStatement(node)) {\n return node;\n }\n\n let mustHaveId = false;\n let newType;\n\n if (isClass(node)) {\n mustHaveId = true;\n newType = \"ClassDeclaration\" as const;\n } else if (isFunction(node)) {\n mustHaveId = true;\n newType = \"FunctionDeclaration\" as const;\n } else if (isAssignmentExpression(node)) {\n return expressionStatement(node);\n }\n\n // @ts-expect-error todo(flow->ts): node.id might be missing\n if (mustHaveId && !node.id) {\n newType = false;\n }\n\n if (!newType) {\n if (ignore) {\n return false;\n } else {\n throw new Error(`cannot turn ${node.type} to a statement`);\n }\n }\n\n // @ts-expect-error manipulating node.type\n node.type = newType;\n\n // @ts-expect-error todo(flow->ts) refactor to avoid type unsafe mutations like reassigning node type above\n return node;\n}\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAMA,IAAAC,OAAA,GAAAD,OAAA;AAAqE,IAAAE,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAGtDC,WAAW;AAgB1B,SAASA,WAAWA,CAACC,IAAY,EAAEC,MAAgB,EAAuB;EACxE,IAAI,IAAAC,kBAAW,EAACF,IAAI,CAAC,EAAE;IACrB,OAAOA,IAAI;EACb;EAEA,IAAIG,UAAU,GAAG,KAAK;EACtB,IAAIC,OAAO;EAEX,IAAI,IAAAC,cAAO,EAACL,IAAI,CAAC,EAAE;IACjBG,UAAU,GAAG,IAAI;IACjBC,OAAO,GAAG,kBAA2B;EACvC,CAAC,MAAM,IAAI,IAAAE,iBAAU,EAACN,IAAI,CAAC,EAAE;IAC3BG,UAAU,GAAG,IAAI;IACjBC,OAAO,GAAG,qBAA8B;EAC1C,CAAC,MAAM,IAAI,IAAAG,6BAAsB,EAACP,IAAI,CAAC,EAAE;IACvC,OAAO,IAAAQ,2BAAmB,EAACR,IAAI,CAAC;EAClC;EAGA,IAAIG,UAAU,IAAI,CAACH,IAAI,CAACS,EAAE,EAAE;IAC1BL,OAAO,GAAG,KAAK;EACjB;EAEA,IAAI,CAACA,OAAO,EAAE;IACZ,IAAIH,MAAM,EAAE;MACV,OAAO,KAAK;IACd,CAAC,MAAM;MACL,MAAM,IAAIS,KAAK,CAAC,eAAeV,IAAI,CAACW,IAAI,iBAAiB,CAAC;IAC5D;EACF;EAGAX,IAAI,CAACW,IAAI,GAAGP,OAAO;EAGnB,OAAOJ,IAAI;AACb","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/converters/valueToNode.js b/node_modules/@babel/types/lib/converters/valueToNode.js new file mode 100644 index 0000000000000000000000000000000000000000..eda82a6d57940b5d9c42380873c74231723dd99b --- /dev/null +++ b/node_modules/@babel/types/lib/converters/valueToNode.js @@ -0,0 +1,89 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _isValidIdentifier = require("../validators/isValidIdentifier.js"); +var _index = require("../builders/generated/index.js"); +var _default = exports.default = valueToNode; +const objectToString = Function.call.bind(Object.prototype.toString); +function isRegExp(value) { + return objectToString(value) === "[object RegExp]"; +} +function isPlainObject(value) { + if (typeof value !== "object" || value === null || Object.prototype.toString.call(value) !== "[object Object]") { + return false; + } + const proto = Object.getPrototypeOf(value); + return proto === null || Object.getPrototypeOf(proto) === null; +} +function valueToNode(value) { + if (value === undefined) { + return (0, _index.identifier)("undefined"); + } + if (value === true || value === false) { + return (0, _index.booleanLiteral)(value); + } + if (value === null) { + return (0, _index.nullLiteral)(); + } + if (typeof value === "string") { + return (0, _index.stringLiteral)(value); + } + if (typeof value === "number") { + let result; + if (Number.isFinite(value)) { + result = (0, _index.numericLiteral)(Math.abs(value)); + } else { + let numerator; + if (Number.isNaN(value)) { + numerator = (0, _index.numericLiteral)(0); + } else { + numerator = (0, _index.numericLiteral)(1); + } + result = (0, _index.binaryExpression)("/", numerator, (0, _index.numericLiteral)(0)); + } + if (value < 0 || Object.is(value, -0)) { + result = (0, _index.unaryExpression)("-", result); + } + return result; + } + if (typeof value === "bigint") { + if (value < 0) { + return (0, _index.unaryExpression)("-", (0, _index.bigIntLiteral)(-value)); + } else { + return (0, _index.bigIntLiteral)(value); + } + } + if (isRegExp(value)) { + const pattern = value.source; + const flags = /\/([a-z]*)$/.exec(value.toString())[1]; + return (0, _index.regExpLiteral)(pattern, flags); + } + if (Array.isArray(value)) { + return (0, _index.arrayExpression)(value.map(valueToNode)); + } + if (isPlainObject(value)) { + const props = []; + for (const key of Object.keys(value)) { + let nodeKey, + computed = false; + if ((0, _isValidIdentifier.default)(key)) { + if (key === "__proto__") { + computed = true; + nodeKey = (0, _index.stringLiteral)(key); + } else { + nodeKey = (0, _index.identifier)(key); + } + } else { + nodeKey = (0, _index.stringLiteral)(key); + } + props.push((0, _index.objectProperty)(nodeKey, valueToNode(value[key]), computed)); + } + return (0, _index.objectExpression)(props); + } + throw new Error("don't know how to turn this value into a node"); +} + +//# sourceMappingURL=valueToNode.js.map diff --git a/node_modules/@babel/types/lib/converters/valueToNode.js.map b/node_modules/@babel/types/lib/converters/valueToNode.js.map new file mode 100644 index 0000000000000000000000000000000000000000..8a11b8df1564823ecbf1dff6fe3808a6b002aadf --- /dev/null +++ b/node_modules/@babel/types/lib/converters/valueToNode.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_isValidIdentifier","require","_index","_default","exports","default","valueToNode","objectToString","Function","call","bind","Object","prototype","toString","isRegExp","value","isPlainObject","proto","getPrototypeOf","undefined","identifier","booleanLiteral","nullLiteral","stringLiteral","result","Number","isFinite","numericLiteral","Math","abs","numerator","isNaN","binaryExpression","is","unaryExpression","bigIntLiteral","pattern","source","flags","exec","regExpLiteral","Array","isArray","arrayExpression","map","props","key","keys","nodeKey","computed","isValidIdentifier","push","objectProperty","objectExpression","Error"],"sources":["../../src/converters/valueToNode.ts"],"sourcesContent":["import isValidIdentifier from \"../validators/isValidIdentifier.ts\";\nimport {\n identifier,\n booleanLiteral,\n nullLiteral,\n stringLiteral,\n numericLiteral,\n bigIntLiteral,\n regExpLiteral,\n arrayExpression,\n objectProperty,\n objectExpression,\n unaryExpression,\n binaryExpression,\n} from \"../builders/generated/index.ts\";\nimport type * as t from \"../index.ts\";\n\nexport default valueToNode as {\n (value: undefined): t.Identifier; // TODO: This should return \"void 0\"\n (value: boolean): t.BooleanLiteral;\n (value: null): t.NullLiteral;\n (value: string): t.StringLiteral;\n // Infinities and NaN need to use a BinaryExpression; negative values must be wrapped in UnaryExpression\n (value: number): t.NumericLiteral | t.BinaryExpression | t.UnaryExpression;\n (value: bigint): t.BigIntLiteral;\n (value: RegExp): t.RegExpLiteral;\n (value: readonly unknown[]): t.ArrayExpression;\n\n // this throws with objects that are not plain objects,\n // or if there are non-valueToNode-able values\n (value: object): t.ObjectExpression;\n\n (value: unknown): t.Expression;\n};\n\n// @ts-expect-error: Object.prototype.toString must return a string\nconst objectToString: (value: unknown) => string = Function.call.bind(\n Object.prototype.toString,\n);\n\nfunction isRegExp(value: unknown): value is RegExp {\n return objectToString(value) === \"[object RegExp]\";\n}\n\nfunction isPlainObject(value: unknown): value is object {\n if (\n typeof value !== \"object\" ||\n value === null ||\n Object.prototype.toString.call(value) !== \"[object Object]\"\n ) {\n return false;\n }\n const proto = Object.getPrototypeOf(value);\n // Object.prototype's __proto__ is null. Every other class's __proto__.__proto__ is\n // not null by default. We cannot check if proto === Object.prototype because it\n // could come from another realm.\n return proto === null || Object.getPrototypeOf(proto) === null;\n}\n\nfunction valueToNode(value: unknown): t.Expression {\n // undefined\n if (value === undefined) {\n return identifier(\"undefined\");\n }\n\n // boolean\n if (value === true || value === false) {\n return booleanLiteral(value);\n }\n\n // null\n if (value === null) {\n return nullLiteral();\n }\n\n // strings\n if (typeof value === \"string\") {\n return stringLiteral(value);\n }\n\n // numbers\n if (typeof value === \"number\") {\n let result;\n if (Number.isFinite(value)) {\n result = numericLiteral(Math.abs(value));\n } else {\n let numerator;\n if (Number.isNaN(value)) {\n // NaN\n numerator = numericLiteral(0);\n } else {\n // Infinity / -Infinity\n numerator = numericLiteral(1);\n }\n\n result = binaryExpression(\"/\", numerator, numericLiteral(0));\n }\n\n if (value < 0 || Object.is(value, -0)) {\n result = unaryExpression(\"-\", result);\n }\n\n return result;\n }\n\n // bigints\n if (typeof value === \"bigint\") {\n if (value < 0) {\n return unaryExpression(\"-\", bigIntLiteral(-value));\n } else {\n return bigIntLiteral(value);\n }\n }\n\n // regexes\n if (isRegExp(value)) {\n const pattern = value.source;\n const flags = /\\/([a-z]*)$/.exec(value.toString())[1];\n return regExpLiteral(pattern, flags);\n }\n\n // array\n if (Array.isArray(value)) {\n return arrayExpression(value.map(valueToNode));\n }\n\n // object\n if (isPlainObject(value)) {\n const props = [];\n for (const key of Object.keys(value)) {\n let nodeKey,\n computed = false;\n if (isValidIdentifier(key)) {\n if (key === \"__proto__\") {\n computed = true;\n nodeKey = stringLiteral(key);\n } else {\n nodeKey = identifier(key);\n }\n } else {\n nodeKey = stringLiteral(key);\n }\n props.push(\n objectProperty(\n nodeKey,\n valueToNode(\n // @ts-expect-error key must present in value\n value[key],\n ),\n computed,\n ),\n );\n }\n return objectExpression(props);\n }\n\n throw new Error(\"don't know how to turn this value into a node\");\n}\n"],"mappings":";;;;;;AAAA,IAAAA,kBAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAawC,IAAAE,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAGzBC,WAAW;AAmB1B,MAAMC,cAA0C,GAAGC,QAAQ,CAACC,IAAI,CAACC,IAAI,CACnEC,MAAM,CAACC,SAAS,CAACC,QACnB,CAAC;AAED,SAASC,QAAQA,CAACC,KAAc,EAAmB;EACjD,OAAOR,cAAc,CAACQ,KAAK,CAAC,KAAK,iBAAiB;AACpD;AAEA,SAASC,aAAaA,CAACD,KAAc,EAAmB;EACtD,IACE,OAAOA,KAAK,KAAK,QAAQ,IACzBA,KAAK,KAAK,IAAI,IACdJ,MAAM,CAACC,SAAS,CAACC,QAAQ,CAACJ,IAAI,CAACM,KAAK,CAAC,KAAK,iBAAiB,EAC3D;IACA,OAAO,KAAK;EACd;EACA,MAAME,KAAK,GAAGN,MAAM,CAACO,cAAc,CAACH,KAAK,CAAC;EAI1C,OAAOE,KAAK,KAAK,IAAI,IAAIN,MAAM,CAACO,cAAc,CAACD,KAAK,CAAC,KAAK,IAAI;AAChE;AAEA,SAASX,WAAWA,CAACS,KAAc,EAAgB;EAEjD,IAAIA,KAAK,KAAKI,SAAS,EAAE;IACvB,OAAO,IAAAC,iBAAU,EAAC,WAAW,CAAC;EAChC;EAGA,IAAIL,KAAK,KAAK,IAAI,IAAIA,KAAK,KAAK,KAAK,EAAE;IACrC,OAAO,IAAAM,qBAAc,EAACN,KAAK,CAAC;EAC9B;EAGA,IAAIA,KAAK,KAAK,IAAI,EAAE;IAClB,OAAO,IAAAO,kBAAW,EAAC,CAAC;EACtB;E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,CAACF,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACrD,OAAO,IAAA2B,oBAAa,EAACJ,OAAO,EAAEE,KAAK,CAAC;EACtC;EAGA,IAAIG,KAAK,CAACC,OAAO,CAAC3B,KAAK,CAAC,EAAE;IACxB,OAAO,IAAA4B,sBAAe,EAAC5B,KAAK,CAAC6B,GAAG,CAACtC,WAAW,CAAC,CAAC;EAChD;EAGA,IAAIU,aAAa,CAACD,KAAK,CAAC,EAAE;IACxB,MAAM8B,KAAK,GAAG,EAAE;IAChB,KAAK,MAAMC,GAAG,IAAInC,MAAM,CAACoC,IAAI,CAAChC,KAAK,CAAC,EAAE;MACpC,IAAIiC,OAAO;QACTC,QAAQ,GAAG,KAAK;MAClB,IAAI,IAAAC,0BAAiB,EAACJ,GAAG,CAAC,EAAE;QAC1B,IAAIA,GAAG,KAAK,WAAW,EAAE;UACvBG,QAAQ,GAAG,IAAI;UACfD,OAAO,GAAG,IAAAzB,oBAAa,EAACuB,GAAG,CAAC;QAC9B,CAAC,MAAM;UACLE,OAAO,GAAG,IAAA5B,iBAAU,EAAC0B,GAAG,CAAC;QAC3B;MACF,CAAC,MAAM;QACLE,OAAO,GAAG,IAAAzB,oBAAa,EAACuB,GAAG,CAAC;MAC9B;MACAD,KAAK,CAACM,IAAI,CACR,IAAAC,qBAAc,EACZJ,OAAO,EACP1C,WAAW,CAETS,KAAK,CAAC+B,GAAG,CACX,CAAC,EACDG,QACF,CACF,CAAC;IACH;IACA,OAAO,IAAAI,uBAAgB,EAACR,KAAK,CAAC;EAChC;EAEA,MAAM,IAAIS,KAAK,CAAC,+CAA+C,CAAC;AAClE","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/definitions/core.js b/node_modules/@babel/types/lib/definitions/core.js new file mode 100644 index 0000000000000000000000000000000000000000..a642fbec8e1bcd65be8df7b6fd581c4832b45e8c --- /dev/null +++ b/node_modules/@babel/types/lib/definitions/core.js @@ -0,0 +1,1725 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.patternLikeCommon = exports.importAttributes = exports.functionTypeAnnotationCommon = exports.functionDeclarationCommon = exports.functionCommon = exports.classMethodOrPropertyUnionShapeCommon = exports.classMethodOrPropertyCommon = exports.classMethodOrDeclareMethodCommon = void 0; +var _is = require("../validators/is.js"); +var _isValidIdentifier = require("../validators/isValidIdentifier.js"); +var _helperValidatorIdentifier = require("@babel/helper-validator-identifier"); +var _helperStringParser = require("@babel/helper-string-parser"); +var _index = require("../constants/index.js"); +var _utils = require("./utils.js"); +const classMethodOrPropertyUnionShapeCommon = (allowPrivateName = false) => ({ + unionShape: { + discriminator: "computed", + shapes: [{ + name: "computed", + value: [true], + properties: { + key: { + validate: (0, _utils.assertNodeType)("Expression") + } + } + }, { + name: "nonComputed", + value: [false], + properties: { + key: { + validate: allowPrivateName ? (0, _utils.assertNodeType)("Identifier", "StringLiteral", "NumericLiteral", "BigIntLiteral", "PrivateName") : (0, _utils.assertNodeType)("Identifier", "StringLiteral", "NumericLiteral", "BigIntLiteral") + } + } + }] + } +}); +exports.classMethodOrPropertyUnionShapeCommon = classMethodOrPropertyUnionShapeCommon; +const defineType = (0, _utils.defineAliasedType)("Standardized"); +defineType("ArrayExpression", { + fields: { + elements: { + validate: (0, _utils.arrayOf)((0, _utils.assertNodeOrValueType)("null", "Expression", "SpreadElement")), + default: !process.env.BABEL_TYPES_8_BREAKING ? [] : undefined + } + }, + visitor: ["elements"], + aliases: ["Expression"] +}); +defineType("AssignmentExpression", { + fields: { + operator: { + validate: !process.env.BABEL_TYPES_8_BREAKING ? (0, _utils.assertValueType)("string") : Object.assign(function () { + const identifier = (0, _utils.assertOneOf)(..._index.ASSIGNMENT_OPERATORS); + const pattern = (0, _utils.assertOneOf)("="); + return function (node, key, val) { + const validator = (0, _is.default)("Pattern", node.left) ? pattern : identifier; + validator(node, key, val); + }; + }(), { + oneOf: _index.ASSIGNMENT_OPERATORS + }) + }, + left: { + validate: !process.env.BABEL_TYPES_8_BREAKING ? (0, _utils.assertNodeType)("LVal", "OptionalMemberExpression") : (0, _utils.assertNodeType)("Identifier", "MemberExpression", "OptionalMemberExpression", "ArrayPattern", "ObjectPattern", "TSAsExpression", "TSSatisfiesExpression", "TSTypeAssertion", "TSNonNullExpression") + }, + right: { + validate: (0, _utils.assertNodeType)("Expression") + } + }, + builder: ["operator", "left", "right"], + visitor: ["left", "right"], + aliases: ["Expression"] +}); +defineType("BinaryExpression", { + builder: ["operator", "left", "right"], + fields: { + operator: { + validate: (0, _utils.assertOneOf)(..._index.BINARY_OPERATORS) + }, + left: { + validate: function () { + const expression = (0, _utils.assertNodeType)("Expression"); + const inOp = (0, _utils.assertNodeType)("Expression", "PrivateName"); + const validator = Object.assign(function (node, key, val) { + const validator = node.operator === "in" ? inOp : expression; + validator(node, key, val); + }, { + oneOfNodeTypes: ["Expression", "PrivateName"] + }); + return validator; + }() + }, + right: { + validate: (0, _utils.assertNodeType)("Expression") + } + }, + visitor: ["left", "right"], + aliases: ["Binary", "Expression"] +}); +defineType("InterpreterDirective", { + builder: ["value"], + fields: { + value: { + validate: (0, _utils.assertValueType)("string") + } + } +}); +defineType("Directive", { + visitor: ["value"], + fields: { + value: { + validate: (0, _utils.assertNodeType)("DirectiveLiteral") + } + } +}); +defineType("DirectiveLiteral", { + builder: ["value"], + fields: { + value: { + validate: (0, _utils.assertValueType)("string") + } + } +}); +defineType("BlockStatement", { + builder: ["body", "directives"], + visitor: ["directives", "body"], + fields: { + directives: { + validate: (0, _utils.arrayOfType)("Directive"), + default: [] + }, + body: (0, _utils.validateArrayOfType)("Statement") + }, + aliases: ["Scopable", "BlockParent", "Block", "Statement"] +}); +defineType("BreakStatement", { + visitor: ["label"], + fields: { + label: { + validate: (0, _utils.assertNodeType)("Identifier"), + optional: true + } + }, + aliases: ["Statement", "Terminatorless", "CompletionStatement"] +}); +defineType("CallExpression", { + visitor: ["callee", "typeParameters", "typeArguments", "arguments"], + builder: ["callee", "arguments"], + aliases: ["Expression"], + fields: Object.assign({ + callee: { + validate: (0, _utils.assertNodeType)("Expression", "Super", "V8IntrinsicIdentifier") + }, + arguments: (0, _utils.validateArrayOfType)("Expression", "SpreadElement", "ArgumentPlaceholder"), + typeArguments: { + validate: (0, _utils.assertNodeType)("TypeParameterInstantiation"), + optional: true + } + }, process.env.BABEL_TYPES_8_BREAKING ? {} : { + optional: { + validate: (0, _utils.assertValueType)("boolean"), + optional: true + }, + typeParameters: { + validate: (0, _utils.assertNodeType)("TSTypeParameterInstantiation"), + optional: true + } + }) +}); +defineType("CatchClause", { + visitor: ["param", "body"], + fields: { + param: { + validate: (0, _utils.assertNodeType)("Identifier", "ArrayPattern", "ObjectPattern"), + optional: true + }, + body: { + validate: (0, _utils.assertNodeType)("BlockStatement") + } + }, + aliases: ["Scopable", "BlockParent"] +}); +defineType("ConditionalExpression", { + visitor: ["test", "consequent", "alternate"], + fields: { + test: { + validate: (0, _utils.assertNodeType)("Expression") + }, + consequent: { + validate: (0, _utils.assertNodeType)("Expression") + }, + alternate: { + validate: (0, _utils.assertNodeType)("Expression") + } + }, + aliases: ["Expression", "Conditional"] +}); +defineType("ContinueStatement", { + visitor: ["label"], + fields: { + label: { + validate: (0, _utils.assertNodeType)("Identifier"), + optional: true + } + }, + aliases: ["Statement", "Terminatorless", "CompletionStatement"] +}); +defineType("DebuggerStatement", { + aliases: ["Statement"] +}); +defineType("DoWhileStatement", { + builder: ["test", "body"], + visitor: ["body", "test"], + fields: { + test: { + validate: (0, _utils.assertNodeType)("Expression") + }, + body: { + validate: (0, _utils.assertNodeType)("Statement") + } + }, + aliases: ["Statement", "BlockParent", "Loop", "While", "Scopable"] +}); +defineType("EmptyStatement", { + aliases: ["Statement"] +}); +defineType("ExpressionStatement", { + visitor: ["expression"], + fields: { + expression: { + validate: (0, _utils.assertNodeType)("Expression") + } + }, + aliases: ["Statement", "ExpressionWrapper"] +}); +defineType("File", { + builder: ["program", "comments", "tokens"], + visitor: ["program"], + fields: { + program: { + validate: (0, _utils.assertNodeType)("Program") + }, + comments: { + validate: !process.env.BABEL_TYPES_8_BREAKING ? Object.assign(() => {}, { + each: { + oneOfNodeTypes: ["CommentBlock", "CommentLine"] + } + }) : (0, _utils.assertEach)((0, _utils.assertNodeType)("CommentBlock", "CommentLine")), + optional: true + }, + tokens: { + validate: (0, _utils.assertEach)(Object.assign(() => {}, { + type: "any" + })), + optional: true + } + } +}); +defineType("ForInStatement", { + visitor: ["left", "right", "body"], + aliases: ["Scopable", "Statement", "For", "BlockParent", "Loop", "ForXStatement"], + fields: { + left: { + validate: !process.env.BABEL_TYPES_8_BREAKING ? (0, _utils.assertNodeType)("VariableDeclaration", "LVal") : (0, _utils.assertNodeType)("VariableDeclaration", "Identifier", "MemberExpression", "ArrayPattern", "ObjectPattern", "TSAsExpression", "TSSatisfiesExpression", "TSTypeAssertion", "TSNonNullExpression") + }, + right: { + validate: (0, _utils.assertNodeType)("Expression") + }, + body: { + validate: (0, _utils.assertNodeType)("Statement") + } + } +}); +defineType("ForStatement", { + visitor: ["init", "test", "update", "body"], + aliases: ["Scopable", "Statement", "For", "BlockParent", "Loop"], + fields: { + init: { + validate: (0, _utils.assertNodeType)("VariableDeclaration", "Expression"), + optional: true + }, + test: { + validate: (0, _utils.assertNodeType)("Expression"), + optional: true + }, + update: { + validate: (0, _utils.assertNodeType)("Expression"), + optional: true + }, + body: { + validate: (0, _utils.assertNodeType)("Statement") + } + } +}); +const functionCommon = () => ({ + params: (0, _utils.validateArrayOfType)("FunctionParameter"), + generator: { + default: false + }, + async: { + default: false + } +}); +exports.functionCommon = functionCommon; +const functionTypeAnnotationCommon = () => ({ + returnType: { + validate: (0, _utils.assertNodeType)("TypeAnnotation", "TSTypeAnnotation", "Noop"), + optional: true + }, + typeParameters: { + validate: (0, _utils.assertNodeType)("TypeParameterDeclaration", "TSTypeParameterDeclaration", "Noop"), + optional: true + } +}); +exports.functionTypeAnnotationCommon = functionTypeAnnotationCommon; +const functionDeclarationCommon = () => Object.assign({}, functionCommon(), { + declare: { + validate: (0, _utils.assertValueType)("boolean"), + optional: true + }, + id: { + validate: (0, _utils.assertNodeType)("Identifier"), + optional: true + } +}); +exports.functionDeclarationCommon = functionDeclarationCommon; +defineType("FunctionDeclaration", { + builder: ["id", "params", "body", "generator", "async"], + visitor: ["id", "typeParameters", "params", "predicate", "returnType", "body"], + fields: Object.assign({}, functionDeclarationCommon(), functionTypeAnnotationCommon(), { + body: { + validate: (0, _utils.assertNodeType)("BlockStatement") + }, + predicate: { + validate: (0, _utils.assertNodeType)("DeclaredPredicate", "InferredPredicate"), + optional: true + } + }), + aliases: ["Scopable", "Function", "BlockParent", "FunctionParent", "Statement", "Pureish", "Declaration"], + validate: !process.env.BABEL_TYPES_8_BREAKING ? undefined : function () { + const identifier = (0, _utils.assertNodeType)("Identifier"); + return function (parent, key, node) { + if (!(0, _is.default)("ExportDefaultDeclaration", parent)) { + identifier(node, "id", node.id); + } + }; + }() +}); +defineType("FunctionExpression", { + inherits: "FunctionDeclaration", + aliases: ["Scopable", "Function", "BlockParent", "FunctionParent", "Expression", "Pureish"], + fields: Object.assign({}, functionCommon(), functionTypeAnnotationCommon(), { + id: { + validate: (0, _utils.assertNodeType)("Identifier"), + optional: true + }, + body: { + validate: (0, _utils.assertNodeType)("BlockStatement") + }, + predicate: { + validate: (0, _utils.assertNodeType)("DeclaredPredicate", "InferredPredicate"), + optional: true + } + }) +}); +const patternLikeCommon = () => ({ + typeAnnotation: { + validate: (0, _utils.assertNodeType)("TypeAnnotation", "TSTypeAnnotation", "Noop"), + optional: true + }, + optional: { + validate: (0, _utils.assertValueType)("boolean"), + optional: true + }, + decorators: { + validate: (0, _utils.arrayOfType)("Decorator"), + optional: true + } +}); +exports.patternLikeCommon = patternLikeCommon; +defineType("Identifier", { + builder: ["name"], + visitor: ["typeAnnotation", "decorators"], + aliases: ["Expression", "FunctionParameter", "PatternLike", "LVal", "TSEntityName"], + fields: Object.assign({}, patternLikeCommon(), { + name: { + validate: process.env.BABEL_TYPES_8_BREAKING ? (0, _utils.chain)((0, _utils.assertValueType)("string"), Object.assign(function (node, key, val) { + if (!(0, _isValidIdentifier.default)(val, false)) { + throw new TypeError(`"${val}" is not a valid identifier name`); + } + }, { + type: "string" + })) : (0, _utils.assertValueType)("string") + } + }), + validate: process.env.BABEL_TYPES_8_BREAKING ? function (parent, key, node) { + const match = /\.(\w+)$/.exec(key.toString()); + if (!match) return; + const [, parentKey] = match; + const nonComp = { + computed: false + }; + if (parentKey === "property") { + if ((0, _is.default)("MemberExpression", parent, nonComp)) return; + if ((0, _is.default)("OptionalMemberExpression", parent, nonComp)) return; + } else if (parentKey === "key") { + if ((0, _is.default)("Property", parent, nonComp)) return; + if ((0, _is.default)("Method", parent, nonComp)) return; + } else if (parentKey === "exported") { + if ((0, _is.default)("ExportSpecifier", parent)) return; + } else if (parentKey === "imported") { + if ((0, _is.default)("ImportSpecifier", parent, { + imported: node + })) return; + } else if (parentKey === "meta") { + if ((0, _is.default)("MetaProperty", parent, { + meta: node + })) return; + } + if (((0, _helperValidatorIdentifier.isKeyword)(node.name) || (0, _helperValidatorIdentifier.isReservedWord)(node.name, false)) && node.name !== "this") { + throw new TypeError(`"${node.name}" is not a valid identifier`); + } + } : undefined +}); +defineType("IfStatement", { + visitor: ["test", "consequent", "alternate"], + aliases: ["Statement", "Conditional"], + fields: { + test: { + validate: (0, _utils.assertNodeType)("Expression") + }, + consequent: { + validate: (0, _utils.assertNodeType)("Statement") + }, + alternate: { + optional: true, + validate: (0, _utils.assertNodeType)("Statement") + } + } +}); +defineType("LabeledStatement", { + visitor: ["label", "body"], + aliases: ["Statement"], + fields: { + label: { + validate: (0, _utils.assertNodeType)("Identifier") + }, + body: { + validate: (0, _utils.assertNodeType)("Statement") + } + } +}); +defineType("StringLiteral", { + builder: ["value"], + fields: { + value: { + validate: (0, _utils.assertValueType)("string") + } + }, + aliases: ["Expression", "Pureish", "Literal", "Immutable"] +}); +defineType("NumericLiteral", { + builder: ["value"], + deprecatedAlias: "NumberLiteral", + fields: { + value: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("number"), Object.assign(function (node, key, val) { + if (1 / val < 0 || !Number.isFinite(val)) { + const error = new Error("NumericLiterals must be non-negative finite numbers. " + `You can use t.valueToNode(${val}) instead.`); + } + }, { + type: "number" + })) + } + }, + aliases: ["Expression", "Pureish", "Literal", "Immutable"] +}); +defineType("NullLiteral", { + aliases: ["Expression", "Pureish", "Literal", "Immutable"] +}); +defineType("BooleanLiteral", { + builder: ["value"], + fields: { + value: { + validate: (0, _utils.assertValueType)("boolean") + } + }, + aliases: ["Expression", "Pureish", "Literal", "Immutable"] +}); +defineType("RegExpLiteral", { + builder: ["pattern", "flags"], + deprecatedAlias: "RegexLiteral", + aliases: ["Expression", "Pureish", "Literal"], + fields: { + pattern: { + validate: (0, _utils.assertValueType)("string") + }, + flags: { + validate: process.env.BABEL_TYPES_8_BREAKING ? (0, _utils.chain)((0, _utils.assertValueType)("string"), Object.assign(function (node, key, val) { + const invalid = /[^dgimsuvy]/.exec(val); + if (invalid) { + throw new TypeError(`"${invalid[0]}" is not a valid RegExp flag`); + } + }, { + type: "string" + })) : (0, _utils.assertValueType)("string"), + default: "" + } + } +}); +defineType("LogicalExpression", { + builder: ["operator", "left", "right"], + visitor: ["left", "right"], + aliases: ["Binary", "Expression"], + fields: { + operator: { + validate: (0, _utils.assertOneOf)(..._index.LOGICAL_OPERATORS) + }, + left: { + validate: (0, _utils.assertNodeType)("Expression") + }, + right: { + validate: (0, _utils.assertNodeType)("Expression") + } + } +}); +defineType("MemberExpression", { + builder: ["object", "property", "computed", ...(!process.env.BABEL_TYPES_8_BREAKING ? ["optional"] : [])], + visitor: ["object", "property"], + aliases: ["Expression", "LVal", "PatternLike"], + unionShape: { + discriminator: "computed", + shapes: [{ + name: "computed", + value: [true], + properties: { + property: { + validate: (0, _utils.assertNodeType)("Expression") + } + } + }, { + name: "nonComputed", + value: [false], + properties: { + property: { + validate: (0, _utils.assertNodeType)("Identifier", "PrivateName") + } + } + }] + }, + fields: Object.assign({ + object: { + validate: (0, _utils.assertNodeType)("Expression", "Super") + }, + property: { + validate: function () { + const normal = (0, _utils.assertNodeType)("Identifier", "PrivateName"); + const computed = (0, _utils.assertNodeType)("Expression"); + const validator = function (node, key, val) { + const validator = node.computed ? computed : normal; + validator(node, key, val); + }; + validator.oneOfNodeTypes = ["Expression", "Identifier", "PrivateName"]; + return validator; + }() + }, + computed: { + default: false + } + }, !process.env.BABEL_TYPES_8_BREAKING ? { + optional: { + validate: (0, _utils.assertValueType)("boolean"), + optional: true + } + } : {}) +}); +defineType("NewExpression", { + inherits: "CallExpression" +}); +defineType("Program", { + visitor: ["directives", "body"], + builder: ["body", "directives", "sourceType", "interpreter"], + fields: { + sourceType: { + validate: (0, _utils.assertOneOf)("script", "module"), + default: "script" + }, + interpreter: { + validate: (0, _utils.assertNodeType)("InterpreterDirective"), + default: null, + optional: true + }, + directives: { + validate: (0, _utils.arrayOfType)("Directive"), + default: [] + }, + body: (0, _utils.validateArrayOfType)("Statement") + }, + aliases: ["Scopable", "BlockParent", "Block"] +}); +defineType("ObjectExpression", { + visitor: ["properties"], + aliases: ["Expression"], + fields: { + properties: (0, _utils.validateArrayOfType)("ObjectMethod", "ObjectProperty", "SpreadElement") + } +}); +defineType("ObjectMethod", Object.assign({ + builder: ["kind", "key", "params", "body", "computed", "generator", "async"], + visitor: ["decorators", "key", "typeParameters", "params", "returnType", "body"] +}, classMethodOrPropertyUnionShapeCommon(), { + fields: Object.assign({}, functionCommon(), functionTypeAnnotationCommon(), { + kind: Object.assign({ + validate: (0, _utils.assertOneOf)("method", "get", "set") + }, !process.env.BABEL_TYPES_8_BREAKING ? { + default: "method" + } : {}), + computed: { + default: false + }, + key: { + validate: function () { + const normal = (0, _utils.assertNodeType)("Identifier", "StringLiteral", "NumericLiteral", "BigIntLiteral"); + const computed = (0, _utils.assertNodeType)("Expression"); + const validator = function (node, key, val) { + const validator = node.computed ? computed : normal; + validator(node, key, val); + }; + validator.oneOfNodeTypes = ["Expression", "Identifier", "StringLiteral", "NumericLiteral", "BigIntLiteral"]; + return validator; + }() + }, + decorators: { + validate: (0, _utils.arrayOfType)("Decorator"), + optional: true + }, + body: { + validate: (0, _utils.assertNodeType)("BlockStatement") + } + }), + aliases: ["UserWhitespacable", "Function", "Scopable", "BlockParent", "FunctionParent", "Method", "ObjectMember"] +})); +defineType("ObjectProperty", { + builder: ["key", "value", "computed", "shorthand", ...(!process.env.BABEL_TYPES_8_BREAKING ? ["decorators"] : [])], + unionShape: { + discriminator: "computed", + shapes: [{ + name: "computed", + value: [true], + properties: { + key: { + validate: (0, _utils.assertNodeType)("Expression") + } + } + }, { + name: "nonComputed", + value: [false], + properties: { + key: { + validate: (0, _utils.assertNodeType)("Identifier", "StringLiteral", "NumericLiteral", "BigIntLiteral", "DecimalLiteral", "PrivateName") + } + } + }] + }, + fields: { + computed: { + default: false + }, + key: { + validate: function () { + const normal = (0, _utils.assertNodeType)("Identifier", "StringLiteral", "NumericLiteral", "BigIntLiteral", "DecimalLiteral", "PrivateName"); + const computed = (0, _utils.assertNodeType)("Expression"); + const validator = Object.assign(function (node, key, val) { + const validator = node.computed ? computed : normal; + validator(node, key, val); + }, { + oneOfNodeTypes: ["Expression", "Identifier", "StringLiteral", "NumericLiteral", "BigIntLiteral", "DecimalLiteral", "PrivateName"] + }); + return validator; + }() + }, + value: { + validate: (0, _utils.assertNodeType)("Expression", "PatternLike") + }, + shorthand: { + validate: process.env.BABEL_TYPES_8_BREAKING ? (0, _utils.chain)((0, _utils.assertValueType)("boolean"), Object.assign(function (node, key, shorthand) { + if (!shorthand) return; + if (node.computed) { + throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true"); + } + if (!(0, _is.default)("Identifier", node.key)) { + throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier"); + } + }, { + type: "boolean" + })) : (0, _utils.assertValueType)("boolean"), + default: false + }, + decorators: { + validate: (0, _utils.arrayOfType)("Decorator"), + optional: true + } + }, + visitor: ["decorators", "key", "value"], + aliases: ["UserWhitespacable", "Property", "ObjectMember"], + validate: !process.env.BABEL_TYPES_8_BREAKING ? undefined : function () { + const pattern = (0, _utils.assertNodeType)("Identifier", "Pattern", "TSAsExpression", "TSSatisfiesExpression", "TSNonNullExpression", "TSTypeAssertion"); + const expression = (0, _utils.assertNodeType)("Expression"); + return function (parent, key, node) { + const validator = (0, _is.default)("ObjectPattern", parent) ? pattern : expression; + validator(node, "value", node.value); + }; + }() +}); +defineType("RestElement", { + visitor: ["argument", "typeAnnotation"], + builder: ["argument"], + aliases: ["FunctionParameter", "PatternLike", "LVal"], + deprecatedAlias: "RestProperty", + fields: Object.assign({}, patternLikeCommon(), { + argument: { + validate: !process.env.BABEL_TYPES_8_BREAKING ? (0, _utils.assertNodeType)("Identifier", "ArrayPattern", "ObjectPattern", "MemberExpression", "TSAsExpression", "TSSatisfiesExpression", "TSTypeAssertion", "TSNonNullExpression", "RestElement", "AssignmentPattern") : (0, _utils.assertNodeType)("Identifier", "ArrayPattern", "ObjectPattern", "MemberExpression", "TSAsExpression", "TSSatisfiesExpression", "TSTypeAssertion", "TSNonNullExpression") + } + }), + validate: process.env.BABEL_TYPES_8_BREAKING ? function (parent, key) { + const match = /(\w+)\[(\d+)\]/.exec(key.toString()); + if (!match) throw new Error("Internal Babel error: malformed key."); + const [, listKey, index] = match; + if (parent[listKey].length > +index + 1) { + throw new TypeError(`RestElement must be last element of ${listKey}`); + } + } : undefined +}); +defineType("ReturnStatement", { + visitor: ["argument"], + aliases: ["Statement", "Terminatorless", "CompletionStatement"], + fields: { + argument: { + validate: (0, _utils.assertNodeType)("Expression"), + optional: true + } + } +}); +defineType("SequenceExpression", { + visitor: ["expressions"], + fields: { + expressions: (0, _utils.validateArrayOfType)("Expression") + }, + aliases: ["Expression"] +}); +defineType("ParenthesizedExpression", { + visitor: ["expression"], + aliases: ["Expression", "ExpressionWrapper"], + fields: { + expression: { + validate: (0, _utils.assertNodeType)("Expression") + } + } +}); +defineType("SwitchCase", { + visitor: ["test", "consequent"], + fields: { + test: { + validate: (0, _utils.assertNodeType)("Expression"), + optional: true + }, + consequent: (0, _utils.validateArrayOfType)("Statement") + } +}); +defineType("SwitchStatement", { + visitor: ["discriminant", "cases"], + aliases: ["Statement", "BlockParent", "Scopable"], + fields: { + discriminant: { + validate: (0, _utils.assertNodeType)("Expression") + }, + cases: (0, _utils.validateArrayOfType)("SwitchCase") + } +}); +defineType("ThisExpression", { + aliases: ["Expression"] +}); +defineType("ThrowStatement", { + visitor: ["argument"], + aliases: ["Statement", "Terminatorless", "CompletionStatement"], + fields: { + argument: { + validate: (0, _utils.assertNodeType)("Expression") + } + } +}); +defineType("TryStatement", { + visitor: ["block", "handler", "finalizer"], + aliases: ["Statement"], + fields: { + block: { + validate: process.env.BABEL_TYPES_8_BREAKING ? (0, _utils.chain)((0, _utils.assertNodeType)("BlockStatement"), Object.assign(function (node) { + if (!node.handler && !node.finalizer) { + throw new TypeError("TryStatement expects either a handler or finalizer, or both"); + } + }, { + oneOfNodeTypes: ["BlockStatement"] + })) : (0, _utils.assertNodeType)("BlockStatement") + }, + handler: { + optional: true, + validate: (0, _utils.assertNodeType)("CatchClause") + }, + finalizer: { + optional: true, + validate: (0, _utils.assertNodeType)("BlockStatement") + } + } +}); +defineType("UnaryExpression", { + builder: ["operator", "argument", "prefix"], + fields: { + prefix: { + default: true + }, + argument: { + validate: (0, _utils.assertNodeType)("Expression") + }, + operator: { + validate: (0, _utils.assertOneOf)(..._index.UNARY_OPERATORS) + } + }, + visitor: ["argument"], + aliases: ["UnaryLike", "Expression"] +}); +defineType("UpdateExpression", { + builder: ["operator", "argument", "prefix"], + fields: { + prefix: { + default: false + }, + argument: { + validate: !process.env.BABEL_TYPES_8_BREAKING ? (0, _utils.assertNodeType)("Expression") : (0, _utils.assertNodeType)("Identifier", "MemberExpression") + }, + operator: { + validate: (0, _utils.assertOneOf)(..._index.UPDATE_OPERATORS) + } + }, + visitor: ["argument"], + aliases: ["Expression"] +}); +defineType("VariableDeclaration", { + builder: ["kind", "declarations"], + visitor: ["declarations"], + aliases: ["Statement", "Declaration"], + fields: { + declare: { + validate: (0, _utils.assertValueType)("boolean"), + optional: true + }, + kind: { + validate: (0, _utils.assertOneOf)("var", "let", "const", "using", "await using") + }, + declarations: (0, _utils.validateArrayOfType)("VariableDeclarator") + }, + validate: process.env.BABEL_TYPES_8_BREAKING ? (() => { + const withoutInit = (0, _utils.assertNodeType)("Identifier", "Placeholder"); + const constOrLetOrVar = (0, _utils.assertNodeType)("Identifier", "ArrayPattern", "ObjectPattern", "Placeholder"); + const usingOrAwaitUsing = (0, _utils.assertNodeType)("Identifier", "VoidPattern", "Placeholder"); + return function (parent, key, node) { + const { + kind, + declarations + } = node; + const parentIsForX = (0, _is.default)("ForXStatement", parent, { + left: node + }); + if (parentIsForX) { + if (declarations.length !== 1) { + throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${parent.type}`); + } + } + for (const decl of declarations) { + if (kind === "const" || kind === "let" || kind === "var") { + if (!parentIsForX && !decl.init) { + withoutInit(decl, "id", decl.id); + } else { + constOrLetOrVar(decl, "id", decl.id); + } + } else { + usingOrAwaitUsing(decl, "id", decl.id); + } + } + }; + })() : undefined +}); +defineType("VariableDeclarator", { + visitor: ["id", "init"], + fields: { + id: { + validate: !process.env.BABEL_TYPES_8_BREAKING ? (0, _utils.assertNodeType)("LVal", "VoidPattern") : (0, _utils.assertNodeType)("Identifier", "ArrayPattern", "ObjectPattern", "VoidPattern") + }, + definite: { + optional: true, + validate: (0, _utils.assertValueType)("boolean") + }, + init: { + optional: true, + validate: (0, _utils.assertNodeType)("Expression") + } + } +}); +defineType("WhileStatement", { + visitor: ["test", "body"], + aliases: ["Statement", "BlockParent", "Loop", "While", "Scopable"], + fields: { + test: { + validate: (0, _utils.assertNodeType)("Expression") + }, + body: { + validate: (0, _utils.assertNodeType)("Statement") + } + } +}); +defineType("WithStatement", { + visitor: ["object", "body"], + aliases: ["Statement"], + fields: { + object: { + validate: (0, _utils.assertNodeType)("Expression") + }, + body: { + validate: (0, _utils.assertNodeType)("Statement") + } + } +}); +defineType("AssignmentPattern", { + visitor: ["left", "right", "decorators"], + builder: ["left", "right"], + aliases: ["FunctionParameter", "Pattern", "PatternLike", "LVal"], + fields: Object.assign({}, patternLikeCommon(), { + left: { + validate: (0, _utils.assertNodeType)("Identifier", "ObjectPattern", "ArrayPattern", "MemberExpression", "TSAsExpression", "TSSatisfiesExpression", "TSTypeAssertion", "TSNonNullExpression") + }, + right: { + validate: (0, _utils.assertNodeType)("Expression") + }, + decorators: { + validate: (0, _utils.arrayOfType)("Decorator"), + optional: true + } + }) +}); +defineType("ArrayPattern", { + visitor: ["elements", "typeAnnotation"], + builder: ["elements"], + aliases: ["FunctionParameter", "Pattern", "PatternLike", "LVal"], + fields: Object.assign({}, patternLikeCommon(), { + elements: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeOrValueType)("null", "PatternLike"))) + } + }) +}); +defineType("ArrowFunctionExpression", { + builder: ["params", "body", "async"], + visitor: ["typeParameters", "params", "predicate", "returnType", "body"], + aliases: ["Scopable", "Function", "BlockParent", "FunctionParent", "Expression", "Pureish"], + fields: Object.assign({}, functionCommon(), functionTypeAnnotationCommon(), { + expression: { + validate: (0, _utils.assertValueType)("boolean") + }, + body: { + validate: (0, _utils.assertNodeType)("BlockStatement", "Expression") + }, + predicate: { + validate: (0, _utils.assertNodeType)("DeclaredPredicate", "InferredPredicate"), + optional: true + } + }) +}); +defineType("ClassBody", { + visitor: ["body"], + fields: { + body: (0, _utils.validateArrayOfType)("ClassMethod", "ClassPrivateMethod", "ClassProperty", "ClassPrivateProperty", "ClassAccessorProperty", "TSDeclareMethod", "TSIndexSignature", "StaticBlock") + } +}); +defineType("ClassExpression", { + builder: ["id", "superClass", "body", "decorators"], + visitor: ["decorators", "id", "typeParameters", "superClass", "superTypeParameters", "mixins", "implements", "body"], + aliases: ["Scopable", "Class", "Expression"], + fields: { + id: { + validate: (0, _utils.assertNodeType)("Identifier"), + optional: true + }, + typeParameters: { + validate: (0, _utils.assertNodeType)("TypeParameterDeclaration", "TSTypeParameterDeclaration", "Noop"), + optional: true + }, + body: { + validate: (0, _utils.assertNodeType)("ClassBody") + }, + superClass: { + optional: true, + validate: (0, _utils.assertNodeType)("Expression") + }, + ["superTypeParameters"]: { + validate: (0, _utils.assertNodeType)("TypeParameterInstantiation", "TSTypeParameterInstantiation"), + optional: true + }, + implements: { + validate: (0, _utils.arrayOfType)("TSExpressionWithTypeArguments", "ClassImplements"), + optional: true + }, + decorators: { + validate: (0, _utils.arrayOfType)("Decorator"), + optional: true + }, + mixins: { + validate: (0, _utils.assertNodeType)("InterfaceExtends"), + optional: true + } + } +}); +defineType("ClassDeclaration", { + inherits: "ClassExpression", + aliases: ["Scopable", "Class", "Statement", "Declaration"], + fields: { + id: { + validate: (0, _utils.assertNodeType)("Identifier"), + optional: true + }, + typeParameters: { + validate: (0, _utils.assertNodeType)("TypeParameterDeclaration", "TSTypeParameterDeclaration", "Noop"), + optional: true + }, + body: { + validate: (0, _utils.assertNodeType)("ClassBody") + }, + superClass: { + optional: true, + validate: (0, _utils.assertNodeType)("Expression") + }, + ["superTypeParameters"]: { + validate: (0, _utils.assertNodeType)("TypeParameterInstantiation", "TSTypeParameterInstantiation"), + optional: true + }, + implements: { + validate: (0, _utils.arrayOfType)("TSExpressionWithTypeArguments", "ClassImplements"), + optional: true + }, + decorators: { + validate: (0, _utils.arrayOfType)("Decorator"), + optional: true + }, + mixins: { + validate: (0, _utils.assertNodeType)("InterfaceExtends"), + optional: true + }, + declare: { + validate: (0, _utils.assertValueType)("boolean"), + optional: true + }, + abstract: { + validate: (0, _utils.assertValueType)("boolean"), + optional: true + } + }, + validate: !process.env.BABEL_TYPES_8_BREAKING ? undefined : function () { + const identifier = (0, _utils.assertNodeType)("Identifier"); + return function (parent, key, node) { + if (!(0, _is.default)("ExportDefaultDeclaration", parent)) { + identifier(node, "id", node.id); + } + }; + }() +}); +const importAttributes = exports.importAttributes = { + attributes: { + optional: true, + validate: (0, _utils.arrayOfType)("ImportAttribute") + } +}; +importAttributes.assertions = { + deprecated: true, + optional: true, + validate: (0, _utils.arrayOfType)("ImportAttribute") +}; +defineType("ExportAllDeclaration", { + builder: ["source", "attributes"], + visitor: ["source", "attributes", "assertions"], + aliases: ["Statement", "Declaration", "ImportOrExportDeclaration", "ExportDeclaration"], + fields: Object.assign({ + source: { + validate: (0, _utils.assertNodeType)("StringLiteral") + }, + exportKind: (0, _utils.validateOptional)((0, _utils.assertOneOf)("type", "value")) + }, importAttributes) +}); +defineType("ExportDefaultDeclaration", { + visitor: ["declaration"], + aliases: ["Statement", "Declaration", "ImportOrExportDeclaration", "ExportDeclaration"], + fields: { + declaration: (0, _utils.validateType)("TSDeclareFunction", "FunctionDeclaration", "ClassDeclaration", "Expression"), + exportKind: (0, _utils.validateOptional)((0, _utils.assertOneOf)("value")) + } +}); +defineType("ExportNamedDeclaration", { + builder: ["declaration", "specifiers", "source", "attributes"], + visitor: ["declaration", "specifiers", "source", "attributes", "assertions"], + aliases: ["Statement", "Declaration", "ImportOrExportDeclaration", "ExportDeclaration"], + fields: Object.assign({ + declaration: { + optional: true, + validate: process.env.BABEL_TYPES_8_BREAKING ? (0, _utils.chain)((0, _utils.assertNodeType)("Declaration"), Object.assign(function (node, key, val) { + if (val && node.specifiers.length) { + throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration"); + } + if (val && node.source) { + throw new TypeError("Cannot export a declaration from a source"); + } + }, { + oneOfNodeTypes: ["Declaration"] + })) : (0, _utils.assertNodeType)("Declaration") + } + }, importAttributes, { + specifiers: { + default: [], + validate: (0, _utils.arrayOf)(function () { + const sourced = (0, _utils.assertNodeType)("ExportSpecifier", "ExportDefaultSpecifier", "ExportNamespaceSpecifier"); + const sourceless = (0, _utils.assertNodeType)("ExportSpecifier"); + if (!process.env.BABEL_TYPES_8_BREAKING) return sourced; + return Object.assign(function (node, key, val) { + const validator = node.source ? sourced : sourceless; + validator(node, key, val); + }, { + oneOfNodeTypes: ["ExportSpecifier", "ExportDefaultSpecifier", "ExportNamespaceSpecifier"] + }); + }()) + }, + source: { + validate: (0, _utils.assertNodeType)("StringLiteral"), + optional: true + }, + exportKind: (0, _utils.validateOptional)((0, _utils.assertOneOf)("type", "value")) + }) +}); +defineType("ExportSpecifier", { + visitor: ["local", "exported"], + aliases: ["ModuleSpecifier"], + fields: { + local: { + validate: (0, _utils.assertNodeType)("Identifier") + }, + exported: { + validate: (0, _utils.assertNodeType)("Identifier", "StringLiteral") + }, + exportKind: { + validate: (0, _utils.assertOneOf)("type", "value"), + optional: true + } + } +}); +defineType("ForOfStatement", { + visitor: ["left", "right", "body"], + builder: ["left", "right", "body", "await"], + aliases: ["Scopable", "Statement", "For", "BlockParent", "Loop", "ForXStatement"], + fields: { + left: { + validate: function () { + if (!process.env.BABEL_TYPES_8_BREAKING) { + return (0, _utils.assertNodeType)("VariableDeclaration", "LVal"); + } + const declaration = (0, _utils.assertNodeType)("VariableDeclaration"); + const lval = (0, _utils.assertNodeType)("Identifier", "MemberExpression", "ArrayPattern", "ObjectPattern", "TSAsExpression", "TSSatisfiesExpression", "TSTypeAssertion", "TSNonNullExpression"); + return Object.assign(function (node, key, val) { + if ((0, _is.default)("VariableDeclaration", val)) { + declaration(node, key, val); + } else { + lval(node, key, val); + } + }, { + oneOfNodeTypes: ["VariableDeclaration", "Identifier", "MemberExpression", "ArrayPattern", "ObjectPattern", "TSAsExpression", "TSSatisfiesExpression", "TSTypeAssertion", "TSNonNullExpression"] + }); + }() + }, + right: { + validate: (0, _utils.assertNodeType)("Expression") + }, + body: { + validate: (0, _utils.assertNodeType)("Statement") + }, + await: { + default: false + } + } +}); +defineType("ImportDeclaration", { + builder: ["specifiers", "source", "attributes"], + visitor: ["specifiers", "source", "attributes", "assertions"], + aliases: ["Statement", "Declaration", "ImportOrExportDeclaration"], + fields: Object.assign({}, importAttributes, { + module: { + optional: true, + validate: (0, _utils.assertValueType)("boolean") + }, + phase: { + default: null, + validate: (0, _utils.assertOneOf)("source", "defer") + }, + specifiers: (0, _utils.validateArrayOfType)("ImportSpecifier", "ImportDefaultSpecifier", "ImportNamespaceSpecifier"), + source: { + validate: (0, _utils.assertNodeType)("StringLiteral") + }, + importKind: { + validate: (0, _utils.assertOneOf)("type", "typeof", "value"), + optional: true + } + }) +}); +defineType("ImportDefaultSpecifier", { + visitor: ["local"], + aliases: ["ModuleSpecifier"], + fields: { + local: { + validate: (0, _utils.assertNodeType)("Identifier") + } + } +}); +defineType("ImportNamespaceSpecifier", { + visitor: ["local"], + aliases: ["ModuleSpecifier"], + fields: { + local: { + validate: (0, _utils.assertNodeType)("Identifier") + } + } +}); +defineType("ImportSpecifier", { + visitor: ["imported", "local"], + builder: ["local", "imported"], + aliases: ["ModuleSpecifier"], + fields: { + local: { + validate: (0, _utils.assertNodeType)("Identifier") + }, + imported: { + validate: (0, _utils.assertNodeType)("Identifier", "StringLiteral") + }, + importKind: { + validate: (0, _utils.assertOneOf)("type", "typeof", "value"), + optional: true + } + } +}); +defineType("ImportExpression", { + visitor: ["source", "options"], + aliases: ["Expression"], + fields: { + phase: { + default: null, + validate: (0, _utils.assertOneOf)("source", "defer") + }, + source: { + validate: (0, _utils.assertNodeType)("Expression") + }, + options: { + validate: (0, _utils.assertNodeType)("Expression"), + optional: true + } + } +}); +defineType("MetaProperty", { + visitor: ["meta", "property"], + aliases: ["Expression"], + fields: { + meta: { + validate: process.env.BABEL_TYPES_8_BREAKING ? (0, _utils.chain)((0, _utils.assertNodeType)("Identifier"), Object.assign(function (node, key, val) { + let property; + switch (val.name) { + case "function": + property = "sent"; + break; + case "new": + property = "target"; + break; + case "import": + property = "meta"; + break; + } + if (!(0, _is.default)("Identifier", node.property, { + name: property + })) { + throw new TypeError("Unrecognised MetaProperty"); + } + }, { + oneOfNodeTypes: ["Identifier"] + })) : (0, _utils.assertNodeType)("Identifier") + }, + property: { + validate: (0, _utils.assertNodeType)("Identifier") + } + } +}); +const classMethodOrPropertyCommon = () => ({ + abstract: { + validate: (0, _utils.assertValueType)("boolean"), + optional: true + }, + accessibility: { + validate: (0, _utils.assertOneOf)("public", "private", "protected"), + optional: true + }, + static: { + default: false + }, + override: { + default: false + }, + computed: { + default: false + }, + optional: { + validate: (0, _utils.assertValueType)("boolean"), + optional: true + }, + key: { + validate: (0, _utils.chain)(function () { + const normal = (0, _utils.assertNodeType)("Identifier", "StringLiteral", "NumericLiteral", "BigIntLiteral"); + const computed = (0, _utils.assertNodeType)("Expression"); + return function (node, key, val) { + const validator = node.computed ? computed : normal; + validator(node, key, val); + }; + }(), (0, _utils.assertNodeType)("Identifier", "StringLiteral", "NumericLiteral", "BigIntLiteral", "Expression")) + } +}); +exports.classMethodOrPropertyCommon = classMethodOrPropertyCommon; +const classMethodOrDeclareMethodCommon = () => Object.assign({}, functionCommon(), classMethodOrPropertyCommon(), { + params: (0, _utils.validateArrayOfType)("FunctionParameter", "TSParameterProperty"), + kind: { + validate: (0, _utils.assertOneOf)("get", "set", "method", "constructor"), + default: "method" + }, + access: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("string"), (0, _utils.assertOneOf)("public", "private", "protected")), + optional: true + }, + decorators: { + validate: (0, _utils.arrayOfType)("Decorator"), + optional: true + } +}); +exports.classMethodOrDeclareMethodCommon = classMethodOrDeclareMethodCommon; +defineType("ClassMethod", Object.assign({ + aliases: ["Function", "Scopable", "BlockParent", "FunctionParent", "Method"], + builder: ["kind", "key", "params", "body", "computed", "static", "generator", "async"], + visitor: ["decorators", "key", "typeParameters", "params", "returnType", "body"] +}, classMethodOrPropertyUnionShapeCommon(), { + fields: Object.assign({}, classMethodOrDeclareMethodCommon(), functionTypeAnnotationCommon(), { + body: { + validate: (0, _utils.assertNodeType)("BlockStatement") + } + }) +})); +defineType("ObjectPattern", { + visitor: ["decorators", "properties", "typeAnnotation"], + builder: ["properties"], + aliases: ["FunctionParameter", "Pattern", "PatternLike", "LVal"], + fields: Object.assign({}, patternLikeCommon(), { + properties: (0, _utils.validateArrayOfType)("RestElement", "ObjectProperty") + }) +}); +defineType("SpreadElement", { + visitor: ["argument"], + aliases: ["UnaryLike"], + deprecatedAlias: "SpreadProperty", + fields: { + argument: { + validate: (0, _utils.assertNodeType)("Expression") + } + } +}); +defineType("Super", { + aliases: ["Expression"] +}); +defineType("TaggedTemplateExpression", { + visitor: ["tag", "typeParameters", "quasi"], + builder: ["tag", "quasi"], + aliases: ["Expression"], + fields: { + tag: { + validate: (0, _utils.assertNodeType)("Expression") + }, + quasi: { + validate: (0, _utils.assertNodeType)("TemplateLiteral") + }, + ["typeParameters"]: { + validate: (0, _utils.assertNodeType)("TypeParameterInstantiation", "TSTypeParameterInstantiation"), + optional: true + } + } +}); +defineType("TemplateElement", { + builder: ["value", "tail"], + fields: { + value: { + validate: (0, _utils.chain)((0, _utils.assertShape)({ + raw: { + validate: (0, _utils.assertValueType)("string") + }, + cooked: { + validate: (0, _utils.assertValueType)("string"), + optional: true + } + }), function templateElementCookedValidator(node) { + const raw = node.value.raw; + let unterminatedCalled = false; + const error = () => { + throw new Error("Internal @babel/types error."); + }; + const { + str, + firstInvalidLoc + } = (0, _helperStringParser.readStringContents)("template", raw, 0, 0, 0, { + unterminated() { + unterminatedCalled = true; + }, + strictNumericEscape: error, + invalidEscapeSequence: error, + numericSeparatorInEscapeSequence: error, + unexpectedNumericSeparator: error, + invalidDigit: error, + invalidCodePoint: error + }); + if (!unterminatedCalled) throw new Error("Invalid raw"); + node.value.cooked = firstInvalidLoc ? null : str; + }) + }, + tail: { + default: false + } + } +}); +defineType("TemplateLiteral", { + visitor: ["quasis", "expressions"], + aliases: ["Expression", "Literal"], + fields: { + quasis: (0, _utils.validateArrayOfType)("TemplateElement"), + expressions: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("Expression", "TSType")), function (node, key, val) { + if (node.quasis.length !== val.length + 1) { + throw new TypeError(`Number of ${node.type} quasis should be exactly one more than the number of expressions.\nExpected ${val.length + 1} quasis but got ${node.quasis.length}`); + } + }) + } + } +}); +defineType("YieldExpression", { + builder: ["argument", "delegate"], + visitor: ["argument"], + aliases: ["Expression", "Terminatorless"], + fields: { + delegate: { + validate: process.env.BABEL_TYPES_8_BREAKING ? (0, _utils.chain)((0, _utils.assertValueType)("boolean"), Object.assign(function (node, key, val) { + if (val && !node.argument) { + throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument"); + } + }, { + type: "boolean" + })) : (0, _utils.assertValueType)("boolean"), + default: false + }, + argument: { + optional: true, + validate: (0, _utils.assertNodeType)("Expression") + } + } +}); +defineType("AwaitExpression", { + builder: ["argument"], + visitor: ["argument"], + aliases: ["Expression", "Terminatorless"], + fields: { + argument: { + validate: (0, _utils.assertNodeType)("Expression") + } + } +}); +defineType("Import", { + aliases: ["Expression"] +}); +defineType("BigIntLiteral", { + builder: ["value"], + fields: { + value: { + validate: (0, _utils.assertValueType)("string") + } + }, + aliases: ["Expression", "Pureish", "Literal", "Immutable"] +}); +defineType("ExportNamespaceSpecifier", { + visitor: ["exported"], + aliases: ["ModuleSpecifier"], + fields: { + exported: { + validate: (0, _utils.assertNodeType)("Identifier") + } + } +}); +defineType("OptionalMemberExpression", { + builder: ["object", "property", "computed", "optional"], + visitor: ["object", "property"], + aliases: ["Expression"], + fields: { + object: { + validate: (0, _utils.assertNodeType)("Expression") + }, + property: { + validate: function () { + const normal = (0, _utils.assertNodeType)("Identifier"); + const computed = (0, _utils.assertNodeType)("Expression"); + const validator = Object.assign(function (node, key, val) { + const validator = node.computed ? computed : normal; + validator(node, key, val); + }, { + oneOfNodeTypes: ["Expression", "Identifier"] + }); + return validator; + }() + }, + computed: { + default: false + }, + optional: { + validate: !process.env.BABEL_TYPES_8_BREAKING ? (0, _utils.assertValueType)("boolean") : (0, _utils.chain)((0, _utils.assertValueType)("boolean"), (0, _utils.assertOptionalChainStart)()) + } + } +}); +defineType("OptionalCallExpression", { + visitor: ["callee", "typeParameters", "typeArguments", "arguments"], + builder: ["callee", "arguments", "optional"], + aliases: ["Expression"], + fields: Object.assign({ + callee: { + validate: (0, _utils.assertNodeType)("Expression") + }, + arguments: (0, _utils.validateArrayOfType)("Expression", "SpreadElement", "ArgumentPlaceholder"), + optional: { + validate: !process.env.BABEL_TYPES_8_BREAKING ? (0, _utils.assertValueType)("boolean") : (0, _utils.chain)((0, _utils.assertValueType)("boolean"), (0, _utils.assertOptionalChainStart)()) + }, + typeArguments: { + validate: (0, _utils.assertNodeType)("TypeParameterInstantiation"), + optional: true + } + }, { + typeParameters: { + validate: (0, _utils.assertNodeType)("TSTypeParameterInstantiation"), + optional: true + } + }) +}); +defineType("ClassProperty", Object.assign({ + visitor: ["decorators", "variance", "key", "typeAnnotation", "value"], + builder: ["key", "value", "typeAnnotation", "decorators", "computed", "static"], + aliases: ["Property"] +}, classMethodOrPropertyUnionShapeCommon(), { + fields: Object.assign({}, classMethodOrPropertyCommon(), { + value: { + validate: (0, _utils.assertNodeType)("Expression"), + optional: true + }, + definite: { + validate: (0, _utils.assertValueType)("boolean"), + optional: true + }, + typeAnnotation: { + validate: (0, _utils.assertNodeType)("TypeAnnotation", "TSTypeAnnotation", "Noop"), + optional: true + }, + decorators: { + validate: (0, _utils.arrayOfType)("Decorator"), + optional: true + }, + readonly: { + validate: (0, _utils.assertValueType)("boolean"), + optional: true + }, + declare: { + validate: (0, _utils.assertValueType)("boolean"), + optional: true + }, + variance: { + validate: (0, _utils.assertNodeType)("Variance"), + optional: true + } + }) +})); +defineType("ClassAccessorProperty", Object.assign({ + visitor: ["decorators", "key", "typeAnnotation", "value"], + builder: ["key", "value", "typeAnnotation", "decorators", "computed", "static"], + aliases: ["Property", "Accessor"] +}, classMethodOrPropertyUnionShapeCommon(true), { + fields: Object.assign({}, classMethodOrPropertyCommon(), { + key: { + validate: (0, _utils.chain)(function () { + const normal = (0, _utils.assertNodeType)("Identifier", "StringLiteral", "NumericLiteral", "BigIntLiteral", "PrivateName"); + const computed = (0, _utils.assertNodeType)("Expression"); + return function (node, key, val) { + const validator = node.computed ? computed : normal; + validator(node, key, val); + }; + }(), (0, _utils.assertNodeType)("Identifier", "StringLiteral", "NumericLiteral", "BigIntLiteral", "Expression", "PrivateName")) + }, + value: { + validate: (0, _utils.assertNodeType)("Expression"), + optional: true + }, + definite: { + validate: (0, _utils.assertValueType)("boolean"), + optional: true + }, + typeAnnotation: { + validate: (0, _utils.assertNodeType)("TypeAnnotation", "TSTypeAnnotation", "Noop"), + optional: true + }, + decorators: { + validate: (0, _utils.arrayOfType)("Decorator"), + optional: true + }, + readonly: { + validate: (0, _utils.assertValueType)("boolean"), + optional: true + }, + declare: { + validate: (0, _utils.assertValueType)("boolean"), + optional: true + }, + variance: { + validate: (0, _utils.assertNodeType)("Variance"), + optional: true + } + }) +})); +defineType("ClassPrivateProperty", { + visitor: ["decorators", "variance", "key", "typeAnnotation", "value"], + builder: ["key", "value", "decorators", "static"], + aliases: ["Property", "Private"], + fields: { + key: { + validate: (0, _utils.assertNodeType)("PrivateName") + }, + value: { + validate: (0, _utils.assertNodeType)("Expression"), + optional: true + }, + typeAnnotation: { + validate: (0, _utils.assertNodeType)("TypeAnnotation", "TSTypeAnnotation", "Noop"), + optional: true + }, + decorators: { + validate: (0, _utils.arrayOfType)("Decorator"), + optional: true + }, + static: { + validate: (0, _utils.assertValueType)("boolean"), + default: false + }, + readonly: { + validate: (0, _utils.assertValueType)("boolean"), + optional: true + }, + optional: { + validate: (0, _utils.assertValueType)("boolean"), + optional: true + }, + definite: { + validate: (0, _utils.assertValueType)("boolean"), + optional: true + }, + variance: { + validate: (0, _utils.assertNodeType)("Variance"), + optional: true + } + } +}); +defineType("ClassPrivateMethod", { + builder: ["kind", "key", "params", "body", "static"], + visitor: ["decorators", "key", "typeParameters", "params", "returnType", "body"], + aliases: ["Function", "Scopable", "BlockParent", "FunctionParent", "Method", "Private"], + fields: Object.assign({}, classMethodOrDeclareMethodCommon(), functionTypeAnnotationCommon(), { + kind: { + validate: (0, _utils.assertOneOf)("get", "set", "method"), + default: "method" + }, + key: { + validate: (0, _utils.assertNodeType)("PrivateName") + }, + body: { + validate: (0, _utils.assertNodeType)("BlockStatement") + } + }) +}); +defineType("PrivateName", { + visitor: ["id"], + aliases: ["Private"], + fields: { + id: { + validate: (0, _utils.assertNodeType)("Identifier") + } + } +}); +defineType("StaticBlock", { + visitor: ["body"], + fields: { + body: (0, _utils.validateArrayOfType)("Statement") + }, + aliases: ["Scopable", "BlockParent", "FunctionParent"] +}); +defineType("ImportAttribute", { + visitor: ["key", "value"], + fields: { + key: { + validate: (0, _utils.assertNodeType)("Identifier", "StringLiteral") + }, + value: { + validate: (0, _utils.assertNodeType)("StringLiteral") + } + } +}); + +//# sourceMappingURL=core.js.map diff --git a/node_modules/@babel/types/lib/definitions/core.js.map b/node_modules/@babel/types/lib/definitions/core.js.map new file mode 100644 index 0000000000000000000000000000000000000000..795af982799730d41fa8ed04abc9531925a9dcd4 --- /dev/null +++ b/node_modules/@babel/types/lib/definitions/core.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_is","require","_isValidIdentifier","_helperValidatorIdentifier","_helperStringParser","_index","_utils","classMethodOrPropertyUnionShapeCommon","allowPrivateName","unionShape","discriminator","shapes","name","value","properties","key","validate","assertNodeType","exports","defineType","defineAliasedType","fields","elements","arrayOf","assertNodeOrValueType","default","process","env","BABEL_TYPES_8_BREAKING","undefined","visitor","aliases","operator","assertValueType","Object","assign","identifier","assertOneOf","ASSIGNMENT_OPERATORS","pattern","node","val","validator","is","left","oneOf","right","builder","BINARY_OPERATORS","expression","inOp","oneOfNodeTypes","directives","arrayOfType","body","validateArrayOfType","label","optional","callee","arguments","typeArguments","typeParameters","param","test","consequent","alternate","program","comments","each","assertEach","tokens","type","init","update","functionCommon","params","generator","async","functionTypeAnnotationCommon","returnType","functionDeclarationCommon","declare","id","predicate","parent","inherits","patternLikeCommon","typeAnnotation","decorators","chain","isValidIdentifier","TypeError","match","exec","toString","parentKey","nonComp","computed","imported","meta","isKeyword","isReservedWord","deprecatedAlias","Number","isFinite","error","Error","flags","invalid","LOGICAL_OPERATORS","property","object","normal","sourceType","interpreter","kind","shorthand","argument","listKey","index","length","expressions","discriminant","cases","block","handler","finalizer","prefix","UNARY_OPERATORS","UPDATE_OPERATORS","declarations","withoutInit","constOrLetOrVar","usingOrAwaitUsing","parentIsForX","decl","definite","superClass","implements","mixins","abstract","importAttributes","attributes","assertions","deprecated","source","exportKind","validateOptional","declaration","validateType","specifiers","sourced","sourceless","local","exported","lval","await","module","phase","importKind","options","classMethodOrPropertyCommon","accessibility","static","override","classMethodOrDeclareMethodCommon","access","tag","quasi","assertShape","raw","cooked","templateElementCookedValidator","unterminatedCalled","str","firstInvalidLoc","readStringContents","unterminated","strictNumericEscape","invalidEscapeSequence","numericSeparatorInEscapeSequence","unexpectedNumericSeparator","invalidDigit","invalidCodePoint","tail","quasis","delegate","assertOptionalChainStart","readonly","variance"],"sources":["../../src/definitions/core.ts"],"sourcesContent":["import is from \"../validators/is.ts\";\nimport isValidIdentifier from \"../validators/isValidIdentifier.ts\";\nimport { isKeyword, isReservedWord } from \"@babel/helper-validator-identifier\";\nimport type * as t from \"../index.ts\";\nimport { readStringContents } from \"@babel/helper-string-parser\";\n\nimport {\n BINARY_OPERATORS,\n LOGICAL_OPERATORS,\n ASSIGNMENT_OPERATORS,\n UNARY_OPERATORS,\n UPDATE_OPERATORS,\n} from \"../constants/index.ts\";\n\nimport {\n defineAliasedType,\n assertShape,\n assertOptionalChainStart,\n assertValueType,\n assertNodeType,\n assertNodeOrValueType,\n assertEach,\n chain,\n assertOneOf,\n validateOptional,\n arrayOf,\n arrayOfType,\n validateArrayOfType,\n validateType,\n type Validator,\n type ValidatorImpl,\n type ValidatorOneOfNodeTypes,\n type ValidatorType,\n} from \"./utils.ts\";\n\nexport const classMethodOrPropertyUnionShapeCommon = (\n allowPrivateName = false,\n) => ({\n unionShape: {\n discriminator: \"computed\",\n shapes: [\n {\n name: \"computed\",\n value: [true],\n properties: {\n key: {\n validate: assertNodeType(\"Expression\"),\n },\n },\n },\n {\n name: \"nonComputed\",\n value: [false],\n properties: {\n key: {\n validate: allowPrivateName\n ? assertNodeType(\n \"Identifier\",\n \"StringLiteral\",\n \"NumericLiteral\",\n \"BigIntLiteral\",\n \"PrivateName\",\n )\n : assertNodeType(\n \"Identifier\",\n \"StringLiteral\",\n \"NumericLiteral\",\n \"BigIntLiteral\",\n ),\n },\n },\n },\n ],\n },\n});\n\nconst defineType = defineAliasedType(\"Standardized\");\n\ndefineType(\"ArrayExpression\", {\n fields: {\n elements: {\n validate: arrayOf(\n assertNodeOrValueType(\"null\", \"Expression\", \"SpreadElement\"),\n ),\n default:\n !process.env.BABEL_8_BREAKING && !process.env.BABEL_TYPES_8_BREAKING\n ? []\n : undefined,\n },\n },\n visitor: [\"elements\"],\n aliases: [\"Expression\"],\n});\n\ndefineType(\"AssignmentExpression\", {\n fields: {\n operator: {\n validate:\n !process.env.BABEL_8_BREAKING && !process.env.BABEL_TYPES_8_BREAKING\n ? assertValueType(\"string\")\n : Object.assign(\n (function () {\n const identifier = assertOneOf(...ASSIGNMENT_OPERATORS);\n const pattern = assertOneOf(\"=\");\n\n return function (node: t.AssignmentExpression, key, val) {\n const validator = is(\"Pattern\", node.left)\n ? pattern\n : identifier;\n validator(node, key, val);\n } satisfies ValidatorImpl;\n })(),\n { oneOf: ASSIGNMENT_OPERATORS },\n ),\n },\n left: {\n validate:\n !process.env.BABEL_8_BREAKING && !process.env.BABEL_TYPES_8_BREAKING\n ? assertNodeType(\"LVal\", \"OptionalMemberExpression\")\n : assertNodeType(\n \"Identifier\",\n \"MemberExpression\",\n \"OptionalMemberExpression\",\n \"ArrayPattern\",\n \"ObjectPattern\",\n \"TSAsExpression\",\n \"TSSatisfiesExpression\",\n \"TSTypeAssertion\",\n \"TSNonNullExpression\",\n ),\n },\n right: {\n validate: assertNodeType(\"Expression\"),\n },\n },\n builder: [\"operator\", \"left\", \"right\"],\n visitor: [\"left\", \"right\"],\n aliases: [\"Expression\"],\n});\n\ndefineType(\"BinaryExpression\", {\n builder: [\"operator\", \"left\", \"right\"],\n fields: {\n operator: {\n validate: assertOneOf(...BINARY_OPERATORS),\n },\n left: {\n validate: (function () {\n const expression = assertNodeType(\"Expression\");\n const inOp = assertNodeType(\"Expression\", \"PrivateName\");\n\n const validator: ValidatorOneOfNodeTypes = Object.assign(\n function (node: t.BinaryExpression, key, val) {\n const validator = node.operator === \"in\" ? inOp : expression;\n validator(node, key, val);\n } satisfies ValidatorImpl,\n // todo(ts): can be discriminated union by `operator` property\n { oneOfNodeTypes: [\"Expression\", \"PrivateName\"] as const },\n );\n return validator;\n })(),\n },\n right: {\n validate: assertNodeType(\"Expression\"),\n },\n },\n visitor: [\"left\", \"right\"],\n aliases: [\"Binary\", \"Expression\"],\n});\n\ndefineType(\"InterpreterDirective\", {\n builder: [\"value\"],\n fields: {\n value: {\n validate: assertValueType(\"string\"),\n },\n },\n});\n\ndefineType(\"Directive\", {\n visitor: [\"value\"],\n fields: {\n value: {\n validate: assertNodeType(\"DirectiveLiteral\"),\n },\n },\n});\n\ndefineType(\"DirectiveLiteral\", {\n builder: [\"value\"],\n fields: {\n value: {\n validate: assertValueType(\"string\"),\n },\n },\n});\n\ndefineType(\"BlockStatement\", {\n builder: [\"body\", \"directives\"],\n visitor: [\"directives\", \"body\"],\n fields: {\n directives: {\n validate: arrayOfType(\"Directive\"),\n default: [],\n },\n body: validateArrayOfType(\"Statement\"),\n },\n aliases: [\"Scopable\", \"BlockParent\", \"Block\", \"Statement\"],\n});\n\ndefineType(\"BreakStatement\", {\n visitor: [\"label\"],\n fields: {\n label: {\n validate: assertNodeType(\"Identifier\"),\n optional: true,\n },\n },\n aliases: [\"Statement\", \"Terminatorless\", \"CompletionStatement\"],\n});\n\ndefineType(\"CallExpression\", {\n visitor: process.env.BABEL_8_BREAKING\n ? [\"callee\", \"typeArguments\", \"arguments\"]\n : [\"callee\", \"typeParameters\", \"typeArguments\", \"arguments\"],\n builder: [\"callee\", \"arguments\"],\n aliases: [\"Expression\"],\n fields: {\n callee: {\n validate: assertNodeType(\"Expression\", \"Super\", \"V8IntrinsicIdentifier\"),\n },\n arguments: validateArrayOfType(\n \"Expression\",\n \"SpreadElement\",\n \"ArgumentPlaceholder\",\n ),\n typeArguments: {\n validate: process.env.BABEL_8_BREAKING\n ? assertNodeType(\n \"TypeParameterInstantiation\",\n \"TSTypeParameterInstantiation\",\n )\n : assertNodeType(\"TypeParameterInstantiation\"),\n optional: true,\n },\n ...(process.env.BABEL_8_BREAKING || process.env.BABEL_TYPES_8_BREAKING\n ? {}\n : {\n optional: {\n validate: assertValueType(\"boolean\"),\n optional: true,\n },\n typeParameters: {\n validate: assertNodeType(\"TSTypeParameterInstantiation\"),\n optional: true,\n },\n }),\n },\n});\n\ndefineType(\"CatchClause\", {\n visitor: [\"param\", \"body\"],\n fields: {\n param: {\n validate: assertNodeType(\"Identifier\", \"ArrayPattern\", \"ObjectPattern\"),\n optional: true,\n },\n body: {\n validate: assertNodeType(\"BlockStatement\"),\n },\n },\n aliases: [\"Scopable\", \"BlockParent\"],\n});\n\ndefineType(\"ConditionalExpression\", {\n visitor: [\"test\", \"consequent\", \"alternate\"],\n fields: {\n test: {\n validate: assertNodeType(\"Expression\"),\n },\n consequent: {\n validate: assertNodeType(\"Expression\"),\n },\n alternate: {\n validate: assertNodeType(\"Expression\"),\n },\n },\n aliases: [\"Expression\", \"Conditional\"],\n});\n\ndefineType(\"ContinueStatement\", {\n visitor: [\"label\"],\n fields: {\n label: {\n validate: assertNodeType(\"Identifier\"),\n optional: true,\n },\n },\n aliases: [\"Statement\", \"Terminatorless\", \"CompletionStatement\"],\n});\n\ndefineType(\"DebuggerStatement\", {\n aliases: [\"Statement\"],\n});\n\ndefineType(\"DoWhileStatement\", {\n builder: [\"test\", \"body\"],\n visitor: [\"body\", \"test\"],\n fields: {\n test: {\n validate: assertNodeType(\"Expression\"),\n },\n body: {\n validate: assertNodeType(\"Statement\"),\n },\n },\n aliases: [\"Statement\", \"BlockParent\", \"Loop\", \"While\", \"Scopable\"],\n});\n\ndefineType(\"EmptyStatement\", {\n aliases: [\"Statement\"],\n});\n\ndefineType(\"ExpressionStatement\", {\n visitor: [\"expression\"],\n fields: {\n expression: {\n validate: assertNodeType(\"Expression\"),\n },\n },\n aliases: [\"Statement\", \"ExpressionWrapper\"],\n});\n\ndefineType(\"File\", {\n builder: [\"program\", \"comments\", \"tokens\"],\n visitor: [\"program\"],\n fields: {\n program: {\n validate: assertNodeType(\"Program\"),\n },\n comments: {\n validate:\n !process.env.BABEL_8_BREAKING && !process.env.BABEL_TYPES_8_BREAKING\n ? Object.assign(() => {}, {\n each: { oneOfNodeTypes: [\"CommentBlock\", \"CommentLine\"] },\n })\n : assertEach(assertNodeType(\"CommentBlock\", \"CommentLine\")),\n optional: true,\n },\n tokens: {\n // todo(ts): add Token type\n validate: assertEach(Object.assign(() => {}, { type: \"any\" })),\n optional: true,\n },\n },\n});\n\ndefineType(\"ForInStatement\", {\n visitor: [\"left\", \"right\", \"body\"],\n aliases: [\n \"Scopable\",\n \"Statement\",\n \"For\",\n \"BlockParent\",\n \"Loop\",\n \"ForXStatement\",\n ],\n fields: {\n left: {\n validate:\n !process.env.BABEL_8_BREAKING && !process.env.BABEL_TYPES_8_BREAKING\n ? assertNodeType(\"VariableDeclaration\", \"LVal\")\n : assertNodeType(\n \"VariableDeclaration\",\n \"Identifier\",\n \"MemberExpression\",\n \"ArrayPattern\",\n \"ObjectPattern\",\n \"TSAsExpression\",\n \"TSSatisfiesExpression\",\n \"TSTypeAssertion\",\n \"TSNonNullExpression\",\n ),\n },\n right: {\n validate: assertNodeType(\"Expression\"),\n },\n body: {\n validate: assertNodeType(\"Statement\"),\n },\n },\n});\n\ndefineType(\"ForStatement\", {\n visitor: [\"init\", \"test\", \"update\", \"body\"],\n aliases: [\"Scopable\", \"Statement\", \"For\", \"BlockParent\", \"Loop\"],\n fields: {\n init: {\n validate: assertNodeType(\"VariableDeclaration\", \"Expression\"),\n optional: true,\n },\n test: {\n validate: assertNodeType(\"Expression\"),\n optional: true,\n },\n update: {\n validate: assertNodeType(\"Expression\"),\n optional: true,\n },\n body: {\n validate: assertNodeType(\"Statement\"),\n },\n },\n});\n\nexport const functionCommon = () => ({\n params: validateArrayOfType(\"FunctionParameter\"),\n generator: {\n default: false,\n },\n async: {\n default: false,\n },\n});\n\nexport const functionTypeAnnotationCommon = () => ({\n returnType: {\n validate: process.env.BABEL_8_BREAKING\n ? assertNodeType(\"TypeAnnotation\", \"TSTypeAnnotation\")\n : assertNodeType(\n \"TypeAnnotation\",\n \"TSTypeAnnotation\",\n // @ts-ignore(Babel 7 vs Babel 8) Babel 7 AST\n \"Noop\",\n ),\n optional: true,\n },\n typeParameters: {\n validate: process.env.BABEL_8_BREAKING\n ? assertNodeType(\"TypeParameterDeclaration\", \"TSTypeParameterDeclaration\")\n : assertNodeType(\n \"TypeParameterDeclaration\",\n \"TSTypeParameterDeclaration\",\n // @ts-ignore(Babel 7 vs Babel 8) Babel 7 AST\n \"Noop\",\n ),\n optional: true,\n },\n});\n\nexport const functionDeclarationCommon = () => ({\n ...functionCommon(),\n declare: {\n validate: assertValueType(\"boolean\"),\n optional: true,\n },\n id: {\n validate: assertNodeType(\"Identifier\"),\n optional: true, // May be null for `export default function`\n },\n});\n\ndefineType(\"FunctionDeclaration\", {\n builder: [\"id\", \"params\", \"body\", \"generator\", \"async\"],\n visitor: [\n \"id\",\n \"typeParameters\",\n \"params\",\n \"predicate\",\n \"returnType\",\n \"body\",\n ],\n fields: {\n ...functionDeclarationCommon(),\n ...functionTypeAnnotationCommon(),\n body: {\n validate: assertNodeType(\"BlockStatement\"),\n },\n predicate: {\n validate: assertNodeType(\"DeclaredPredicate\", \"InferredPredicate\"),\n optional: true,\n },\n },\n aliases: [\n \"Scopable\",\n \"Function\",\n \"BlockParent\",\n \"FunctionParent\",\n \"Statement\",\n \"Pureish\",\n \"Declaration\",\n ],\n validate:\n !process.env.BABEL_8_BREAKING && !process.env.BABEL_TYPES_8_BREAKING\n ? undefined\n : (function () {\n const identifier = assertNodeType(\"Identifier\");\n\n return function (parent, key, node) {\n if (!is(\"ExportDefaultDeclaration\", parent)) {\n identifier(node, \"id\", node.id);\n }\n };\n })(),\n});\n\ndefineType(\"FunctionExpression\", {\n inherits: \"FunctionDeclaration\",\n aliases: [\n \"Scopable\",\n \"Function\",\n \"BlockParent\",\n \"FunctionParent\",\n \"Expression\",\n \"Pureish\",\n ],\n fields: {\n ...functionCommon(),\n ...functionTypeAnnotationCommon(),\n id: {\n validate: assertNodeType(\"Identifier\"),\n optional: true,\n },\n body: {\n validate: assertNodeType(\"BlockStatement\"),\n },\n predicate: {\n validate: assertNodeType(\"DeclaredPredicate\", \"InferredPredicate\"),\n optional: true,\n },\n },\n});\n\nexport const patternLikeCommon = () => ({\n typeAnnotation: {\n validate: process.env.BABEL_8_BREAKING\n ? assertNodeType(\"TypeAnnotation\", \"TSTypeAnnotation\")\n : assertNodeType(\n \"TypeAnnotation\",\n \"TSTypeAnnotation\",\n // @ts-ignore(Babel 7 vs Babel 8) Babel 7 AST\n \"Noop\",\n ),\n optional: true,\n },\n optional: {\n validate: assertValueType(\"boolean\"),\n optional: true,\n },\n decorators: {\n validate: arrayOfType(\"Decorator\"),\n optional: true,\n },\n});\n\ndefineType(\"Identifier\", {\n builder: [\"name\"],\n visitor: [\"typeAnnotation\", \"decorators\" /* for legacy param decorators */],\n aliases: [\n \"Expression\",\n \"FunctionParameter\",\n \"PatternLike\",\n \"LVal\",\n \"TSEntityName\",\n ],\n fields: {\n ...patternLikeCommon(),\n name: {\n validate:\n process.env.BABEL_8_BREAKING || process.env.BABEL_TYPES_8_BREAKING\n ? chain(\n assertValueType(\"string\"),\n Object.assign(\n function (node, key, val) {\n if (!isValidIdentifier(val, false)) {\n throw new TypeError(\n `\"${val}\" is not a valid identifier name`,\n );\n }\n } satisfies ValidatorImpl,\n { type: \"string\" as const },\n ) satisfies ValidatorType,\n )\n : assertValueType(\"string\"),\n },\n },\n validate:\n process.env.BABEL_8_BREAKING || process.env.BABEL_TYPES_8_BREAKING\n ? function (parent, key, node) {\n const match = /\\.(\\w+)$/.exec(key.toString());\n if (!match) return;\n\n const [, parentKey] = match;\n const nonComp = { computed: false };\n\n // We can't check if `parent.property === node`, because nodes are validated\n // before replacing them in the AST.\n if (parentKey === \"property\") {\n if (is(\"MemberExpression\", parent, nonComp)) return;\n if (is(\"OptionalMemberExpression\", parent, nonComp)) return;\n } else if (parentKey === \"key\") {\n if (is(\"Property\", parent, nonComp)) return;\n if (is(\"Method\", parent, nonComp)) return;\n } else if (parentKey === \"exported\") {\n if (is(\"ExportSpecifier\", parent)) return;\n } else if (parentKey === \"imported\") {\n if (is(\"ImportSpecifier\", parent, { imported: node })) return;\n } else if (parentKey === \"meta\") {\n if (is(\"MetaProperty\", parent, { meta: node })) return;\n }\n\n if (\n // Ideally we should call isStrictReservedWord if this node is a descendant\n // of a block in strict mode. Also, we should pass the inModule option so\n // we can disable \"await\" in module.\n (isKeyword(node.name) || isReservedWord(node.name, false)) &&\n // Even if \"this\" is a keyword, we are using the Identifier\n // node to represent it.\n node.name !== \"this\"\n ) {\n throw new TypeError(`\"${node.name}\" is not a valid identifier`);\n }\n }\n : undefined,\n});\n\ndefineType(\"IfStatement\", {\n visitor: [\"test\", \"consequent\", \"alternate\"],\n aliases: [\"Statement\", \"Conditional\"],\n fields: {\n test: {\n validate: assertNodeType(\"Expression\"),\n },\n consequent: {\n validate: assertNodeType(\"Statement\"),\n },\n alternate: {\n optional: true,\n validate: assertNodeType(\"Statement\"),\n },\n },\n});\n\ndefineType(\"LabeledStatement\", {\n visitor: [\"label\", \"body\"],\n aliases: [\"Statement\"],\n fields: {\n label: {\n validate: assertNodeType(\"Identifier\"),\n },\n body: {\n validate: assertNodeType(\"Statement\"),\n },\n },\n});\n\ndefineType(\"StringLiteral\", {\n builder: [\"value\"],\n fields: {\n value: {\n validate: assertValueType(\"string\"),\n },\n },\n aliases: [\"Expression\", \"Pureish\", \"Literal\", \"Immutable\"],\n});\n\ndefineType(\"NumericLiteral\", {\n builder: [\"value\"],\n deprecatedAlias: \"NumberLiteral\",\n fields: {\n value: {\n validate: chain(\n assertValueType(\"number\"),\n Object.assign(\n function (node, key, val) {\n if (1 / val < 0 || !Number.isFinite(val)) {\n const error = new Error(\n \"NumericLiterals must be non-negative finite numbers. \" +\n `You can use t.valueToNode(${val}) instead.`,\n );\n if (process.env.BABEL_8_BREAKING) {\n // TODO(@nicolo-ribaudo) Fix regenerator to not pass negative\n // numbers here.\n if (!IS_STANDALONE) {\n if (!new Error().stack.includes(\"regenerator\")) {\n throw error;\n }\n }\n } else {\n // TODO: Enable this warning once regenerator is fixed.\n // https://github.com/facebook/regenerator/pull/680\n // console.warn(error);\n }\n }\n } satisfies ValidatorImpl,\n { type: \"number\" as const },\n ) satisfies ValidatorType,\n ),\n },\n },\n aliases: [\"Expression\", \"Pureish\", \"Literal\", \"Immutable\"],\n});\n\ndefineType(\"NullLiteral\", {\n aliases: [\"Expression\", \"Pureish\", \"Literal\", \"Immutable\"],\n});\n\ndefineType(\"BooleanLiteral\", {\n builder: [\"value\"],\n fields: {\n value: {\n validate: assertValueType(\"boolean\"),\n },\n },\n aliases: [\"Expression\", \"Pureish\", \"Literal\", \"Immutable\"],\n});\n\ndefineType(\"RegExpLiteral\", {\n builder: [\"pattern\", \"flags\"],\n deprecatedAlias: \"RegexLiteral\",\n aliases: [\"Expression\", \"Pureish\", \"Literal\"],\n fields: {\n pattern: {\n validate: assertValueType(\"string\"),\n },\n flags: {\n validate:\n process.env.BABEL_8_BREAKING || process.env.BABEL_TYPES_8_BREAKING\n ? chain(\n assertValueType(\"string\"),\n Object.assign(\n function (node, key, val) {\n const invalid = /[^dgimsuvy]/.exec(val);\n if (invalid) {\n throw new TypeError(\n `\"${invalid[0]}\" is not a valid RegExp flag`,\n );\n }\n } satisfies ValidatorImpl,\n { type: \"string\" as const },\n ) satisfies ValidatorType,\n )\n : assertValueType(\"string\"),\n default: \"\",\n },\n },\n});\n\ndefineType(\"LogicalExpression\", {\n builder: [\"operator\", \"left\", \"right\"],\n visitor: [\"left\", \"right\"],\n aliases: [\"Binary\", \"Expression\"],\n fields: {\n operator: {\n validate: assertOneOf(...LOGICAL_OPERATORS),\n },\n left: {\n validate: assertNodeType(\"Expression\"),\n },\n right: {\n validate: assertNodeType(\"Expression\"),\n },\n },\n});\n\ndefineType(\"MemberExpression\", {\n builder: [\n \"object\",\n \"property\",\n \"computed\",\n ...(!process.env.BABEL_8_BREAKING && !process.env.BABEL_TYPES_8_BREAKING\n ? [\"optional\"]\n : []),\n ],\n visitor: [\"object\", \"property\"],\n aliases: [\"Expression\", \"LVal\", \"PatternLike\"],\n unionShape: {\n discriminator: \"computed\",\n shapes: [\n {\n name: \"computed\",\n value: [true],\n properties: {\n property: {\n validate: assertNodeType(\"Expression\"),\n },\n },\n },\n {\n name: \"nonComputed\",\n value: [false],\n properties: {\n property: {\n validate: assertNodeType(\"Identifier\", \"PrivateName\"),\n },\n },\n },\n ],\n },\n fields: {\n object: {\n validate: assertNodeType(\"Expression\", \"Super\"),\n },\n property: {\n validate: (function () {\n const normal = assertNodeType(\"Identifier\", \"PrivateName\");\n const computed = assertNodeType(\"Expression\");\n\n const validator: ValidatorOneOfNodeTypes = function (\n node: t.MemberExpression,\n key,\n val,\n ) {\n const validator: Validator = node.computed ? computed : normal;\n validator(node, key, val);\n };\n // todo(ts): can be discriminated union by `computed` property\n validator.oneOfNodeTypes = [\"Expression\", \"Identifier\", \"PrivateName\"];\n return validator;\n })(),\n },\n computed: {\n default: false,\n },\n ...(!process.env.BABEL_8_BREAKING && !process.env.BABEL_TYPES_8_BREAKING\n ? {\n optional: {\n validate: assertValueType(\"boolean\"),\n optional: true,\n },\n }\n : {}),\n },\n});\n\ndefineType(\"NewExpression\", { inherits: \"CallExpression\" });\n\ndefineType(\"Program\", {\n // Note: We explicitly leave 'interpreter' out here because it is\n // conceptually comment-like, and Babel does not traverse comments either.\n visitor: [\"directives\", \"body\"],\n builder: [\"body\", \"directives\", \"sourceType\", \"interpreter\"],\n fields: {\n sourceType: {\n validate: assertOneOf(\"script\", \"module\"),\n default: \"script\",\n },\n interpreter: {\n validate: assertNodeType(\"InterpreterDirective\"),\n default: null,\n optional: true,\n },\n directives: {\n validate: arrayOfType(\"Directive\"),\n default: [],\n },\n body: validateArrayOfType(\"Statement\"),\n },\n aliases: [\"Scopable\", \"BlockParent\", \"Block\"],\n});\n\ndefineType(\"ObjectExpression\", {\n visitor: [\"properties\"],\n aliases: [\"Expression\"],\n fields: {\n properties: validateArrayOfType(\n \"ObjectMethod\",\n \"ObjectProperty\",\n \"SpreadElement\",\n ),\n },\n});\n\ndefineType(\"ObjectMethod\", {\n builder: [\"kind\", \"key\", \"params\", \"body\", \"computed\", \"generator\", \"async\"],\n visitor: [\n \"decorators\",\n \"key\",\n \"typeParameters\",\n \"params\",\n \"returnType\",\n \"body\",\n ],\n ...classMethodOrPropertyUnionShapeCommon(),\n fields: {\n ...functionCommon(),\n ...functionTypeAnnotationCommon(),\n kind: {\n validate: assertOneOf(\"method\", \"get\", \"set\"),\n ...(!process.env.BABEL_8_BREAKING && !process.env.BABEL_TYPES_8_BREAKING\n ? { default: \"method\" }\n : {}),\n },\n computed: {\n default: false,\n },\n key: {\n validate: (function () {\n const normal = assertNodeType(\n \"Identifier\",\n \"StringLiteral\",\n \"NumericLiteral\",\n \"BigIntLiteral\",\n );\n const computed = assertNodeType(\"Expression\");\n\n const validator: ValidatorOneOfNodeTypes = function (\n node: t.ObjectMethod,\n key,\n val,\n ) {\n const validator = node.computed ? computed : normal;\n validator(node, key, val);\n };\n // todo(ts): can be discriminated union by `computed` property\n validator.oneOfNodeTypes = [\n \"Expression\",\n \"Identifier\",\n \"StringLiteral\",\n \"NumericLiteral\",\n \"BigIntLiteral\",\n ];\n return validator;\n })(),\n },\n decorators: {\n validate: arrayOfType(\"Decorator\"),\n optional: true,\n },\n body: {\n validate: assertNodeType(\"BlockStatement\"),\n },\n },\n aliases: [\n \"UserWhitespacable\",\n \"Function\",\n \"Scopable\",\n \"BlockParent\",\n \"FunctionParent\",\n \"Method\",\n \"ObjectMember\",\n ],\n});\n\ndefineType(\"ObjectProperty\", {\n builder: [\n \"key\",\n \"value\",\n \"computed\",\n \"shorthand\",\n ...(!process.env.BABEL_8_BREAKING && !process.env.BABEL_TYPES_8_BREAKING\n ? [\"decorators\"]\n : []),\n ],\n unionShape: {\n discriminator: \"computed\",\n shapes: [\n {\n name: \"computed\",\n value: [true],\n properties: {\n key: {\n validate: assertNodeType(\"Expression\"),\n },\n },\n },\n {\n name: \"nonComputed\",\n value: [false],\n properties: {\n key: {\n validate: process.env.BABEL_8_BREAKING\n ? assertNodeType(\n \"Identifier\",\n \"StringLiteral\",\n \"NumericLiteral\",\n \"BigIntLiteral\",\n \"PrivateName\",\n )\n : assertNodeType(\n \"Identifier\",\n \"StringLiteral\",\n \"NumericLiteral\",\n \"BigIntLiteral\",\n // @ts-ignore(Babel 7 vs Babel 8) Babel 7 AST\n \"DecimalLiteral\",\n \"PrivateName\",\n ),\n },\n },\n },\n ],\n },\n fields: {\n computed: {\n default: false,\n },\n key: {\n validate: (function () {\n const normal = process.env.BABEL_8_BREAKING\n ? assertNodeType(\n \"Identifier\",\n \"StringLiteral\",\n \"NumericLiteral\",\n \"BigIntLiteral\",\n \"PrivateName\",\n )\n : assertNodeType(\n \"Identifier\",\n \"StringLiteral\",\n \"NumericLiteral\",\n \"BigIntLiteral\",\n // @ts-ignore(Babel 7 vs Babel 8) Babel 7 AST\n \"DecimalLiteral\",\n \"PrivateName\",\n );\n const computed = assertNodeType(\"Expression\");\n\n // @ts-ignore(Babel 7 vs Babel 8) Babel 7 AST allows DecimalLiteral\n const validator: ValidatorOneOfNodeTypes = Object.assign(\n function (node: t.ObjectProperty, key, val) {\n const validator = node.computed ? computed : normal;\n validator(node, key, val);\n } satisfies ValidatorImpl,\n {\n // todo(ts): can be discriminated union by `computed` property\n oneOfNodeTypes: process.env.BABEL_8_BREAKING\n ? ([\n \"Expression\",\n \"Identifier\",\n \"StringLiteral\",\n \"NumericLiteral\",\n \"BigIntLiteral\",\n \"PrivateName\",\n ] as const)\n : ([\n \"Expression\",\n \"Identifier\",\n \"StringLiteral\",\n \"NumericLiteral\",\n \"BigIntLiteral\",\n \"DecimalLiteral\",\n \"PrivateName\",\n ] as const),\n },\n );\n return validator;\n })(),\n },\n value: {\n // Value may be PatternLike if this is an AssignmentProperty\n // https://github.com/babel/babylon/issues/434\n validate: assertNodeType(\"Expression\", \"PatternLike\"),\n },\n shorthand: {\n validate:\n process.env.BABEL_8_BREAKING || process.env.BABEL_TYPES_8_BREAKING\n ? chain(\n assertValueType(\"boolean\"),\n Object.assign(\n function (node: t.ObjectProperty, key, shorthand) {\n if (!shorthand) return;\n\n if (node.computed) {\n throw new TypeError(\n \"Property shorthand of ObjectProperty cannot be true if computed is true\",\n );\n }\n\n if (!is(\"Identifier\", node.key)) {\n throw new TypeError(\n \"Property shorthand of ObjectProperty cannot be true if key is not an Identifier\",\n );\n }\n } satisfies ValidatorImpl,\n { type: \"boolean\" as const },\n ) satisfies ValidatorType,\n )\n : assertValueType(\"boolean\"),\n default: false,\n },\n decorators: {\n validate: arrayOfType(\"Decorator\"),\n optional: true,\n },\n },\n visitor: [\"decorators\", \"key\", \"value\"],\n aliases: [\"UserWhitespacable\", \"Property\", \"ObjectMember\"],\n validate:\n !process.env.BABEL_8_BREAKING && !process.env.BABEL_TYPES_8_BREAKING\n ? undefined\n : (function () {\n const pattern = assertNodeType(\n \"Identifier\",\n \"Pattern\",\n \"TSAsExpression\",\n \"TSSatisfiesExpression\",\n \"TSNonNullExpression\",\n \"TSTypeAssertion\",\n );\n const expression = assertNodeType(\"Expression\");\n\n return function (parent, key, node) {\n const validator = is(\"ObjectPattern\", parent)\n ? pattern\n : expression;\n validator(node, \"value\", node.value);\n };\n })(),\n});\n\ndefineType(\"RestElement\", {\n visitor: [\"argument\", \"typeAnnotation\"],\n builder: [\"argument\"],\n aliases: process.env.BABEL_8_BREAKING\n ? [\"FunctionParameter\", \"PatternLike\"]\n : [\"FunctionParameter\", \"PatternLike\", \"LVal\"],\n deprecatedAlias: \"RestProperty\",\n fields: {\n ...patternLikeCommon(),\n argument: {\n validate:\n !process.env.BABEL_8_BREAKING && !process.env.BABEL_TYPES_8_BREAKING\n ? assertNodeType(\n \"Identifier\",\n \"ArrayPattern\",\n \"ObjectPattern\",\n \"MemberExpression\",\n \"TSAsExpression\",\n \"TSSatisfiesExpression\",\n \"TSTypeAssertion\",\n \"TSNonNullExpression\",\n // These are not valid in RestElement, but we allow them for backwards compatibility.\n \"RestElement\",\n \"AssignmentPattern\",\n )\n : assertNodeType(\n \"Identifier\",\n \"ArrayPattern\",\n \"ObjectPattern\",\n \"MemberExpression\",\n \"TSAsExpression\",\n \"TSSatisfiesExpression\",\n \"TSTypeAssertion\",\n \"TSNonNullExpression\",\n ),\n },\n },\n validate:\n process.env.BABEL_8_BREAKING || process.env.BABEL_TYPES_8_BREAKING\n ? (function (parent: t.ArrayPattern | t.ObjectPattern, key) {\n const match = /(\\w+)\\[(\\d+)\\]/.exec(key.toString());\n if (!match) throw new Error(\"Internal Babel error: malformed key.\");\n\n const [, listKey, index] = match as unknown as [\n string,\n keyof typeof parent,\n string,\n ];\n if ((parent[listKey] as t.Node[]).length > +index + 1) {\n throw new TypeError(\n `RestElement must be last element of ${listKey}`,\n );\n }\n } satisfies ValidatorImpl)\n : undefined,\n});\n\ndefineType(\"ReturnStatement\", {\n visitor: [\"argument\"],\n aliases: [\"Statement\", \"Terminatorless\", \"CompletionStatement\"],\n fields: {\n argument: {\n validate: assertNodeType(\"Expression\"),\n optional: true,\n },\n },\n});\n\ndefineType(\"SequenceExpression\", {\n visitor: [\"expressions\"],\n fields: {\n expressions: validateArrayOfType(\"Expression\"),\n },\n aliases: [\"Expression\"],\n});\n\ndefineType(\"ParenthesizedExpression\", {\n visitor: [\"expression\"],\n aliases: [\"Expression\", \"ExpressionWrapper\"],\n fields: {\n expression: {\n validate: assertNodeType(\"Expression\"),\n },\n },\n});\n\ndefineType(\"SwitchCase\", {\n visitor: [\"test\", \"consequent\"],\n fields: {\n test: {\n validate: assertNodeType(\"Expression\"),\n optional: true,\n },\n consequent: validateArrayOfType(\"Statement\"),\n },\n});\n\ndefineType(\"SwitchStatement\", {\n visitor: [\"discriminant\", \"cases\"],\n aliases: [\"Statement\", \"BlockParent\", \"Scopable\"],\n fields: {\n discriminant: {\n validate: assertNodeType(\"Expression\"),\n },\n cases: validateArrayOfType(\"SwitchCase\"),\n },\n});\n\ndefineType(\"ThisExpression\", {\n aliases: process.env.BABEL_8_BREAKING\n ? [\"Expression\", \"TSEntityName\"]\n : [\"Expression\"],\n});\n\ndefineType(\"ThrowStatement\", {\n visitor: [\"argument\"],\n aliases: [\"Statement\", \"Terminatorless\", \"CompletionStatement\"],\n fields: {\n argument: {\n validate: assertNodeType(\"Expression\"),\n },\n },\n});\n\ndefineType(\"TryStatement\", {\n visitor: [\"block\", \"handler\", \"finalizer\"],\n aliases: [\"Statement\"],\n fields: {\n block: {\n validate:\n process.env.BABEL_8_BREAKING || process.env.BABEL_TYPES_8_BREAKING\n ? chain(\n assertNodeType(\"BlockStatement\"),\n Object.assign(\n function (node: t.TryStatement) {\n // This validator isn't put at the top level because we can run it\n // even if this node doesn't have a parent.\n\n if (!node.handler && !node.finalizer) {\n throw new TypeError(\n \"TryStatement expects either a handler or finalizer, or both\",\n );\n }\n } satisfies ValidatorImpl,\n { oneOfNodeTypes: [\"BlockStatement\"] as const },\n ) satisfies ValidatorOneOfNodeTypes,\n )\n : assertNodeType(\"BlockStatement\"),\n },\n handler: {\n optional: true,\n validate: assertNodeType(\"CatchClause\"),\n },\n finalizer: {\n optional: true,\n validate: assertNodeType(\"BlockStatement\"),\n },\n },\n});\n\ndefineType(\"UnaryExpression\", {\n builder: [\"operator\", \"argument\", \"prefix\"],\n fields: {\n prefix: {\n default: true,\n },\n argument: {\n validate: assertNodeType(\"Expression\"),\n },\n operator: {\n validate: assertOneOf(...UNARY_OPERATORS),\n },\n },\n visitor: [\"argument\"],\n aliases: [\"UnaryLike\", \"Expression\"],\n});\n\ndefineType(\"UpdateExpression\", {\n builder: [\"operator\", \"argument\", \"prefix\"],\n fields: {\n prefix: {\n default: false,\n },\n argument: {\n validate:\n !process.env.BABEL_8_BREAKING && !process.env.BABEL_TYPES_8_BREAKING\n ? assertNodeType(\"Expression\")\n : assertNodeType(\"Identifier\", \"MemberExpression\"),\n },\n operator: {\n validate: assertOneOf(...UPDATE_OPERATORS),\n },\n },\n visitor: [\"argument\"],\n aliases: [\"Expression\"],\n});\n\ndefineType(\"VariableDeclaration\", {\n builder: [\"kind\", \"declarations\"],\n visitor: [\"declarations\"],\n aliases: [\"Statement\", \"Declaration\"],\n fields: {\n declare: {\n validate: assertValueType(\"boolean\"),\n optional: true,\n },\n kind: {\n validate: assertOneOf(\n \"var\",\n \"let\",\n \"const\",\n // https://github.com/tc39/proposal-explicit-resource-management\n \"using\",\n // https://github.com/tc39/proposal-async-explicit-resource-management\n \"await using\",\n ),\n },\n declarations: validateArrayOfType(\"VariableDeclarator\"),\n },\n validate:\n process.env.BABEL_8_BREAKING || process.env.BABEL_TYPES_8_BREAKING\n ? (() => {\n const withoutInit = assertNodeType(\"Identifier\", \"Placeholder\");\n const constOrLetOrVar = assertNodeType(\n \"Identifier\",\n \"ArrayPattern\",\n \"ObjectPattern\",\n \"Placeholder\",\n );\n const usingOrAwaitUsing = assertNodeType(\n \"Identifier\",\n \"VoidPattern\",\n \"Placeholder\",\n );\n\n return function (parent, key, node: t.VariableDeclaration) {\n const { kind, declarations } = node;\n const parentIsForX = is(\"ForXStatement\", parent, { left: node });\n if (parentIsForX) {\n if (declarations.length !== 1) {\n throw new TypeError(\n `Exactly one VariableDeclarator is required in the VariableDeclaration of a ${parent.type}`,\n );\n }\n }\n for (const decl of declarations) {\n if (kind === \"const\" || kind === \"let\" || kind === \"var\") {\n if (!parentIsForX && !decl.init) {\n withoutInit(decl, \"id\", decl.id);\n } else {\n constOrLetOrVar(decl, \"id\", decl.id);\n }\n } else {\n usingOrAwaitUsing(decl, \"id\", decl.id);\n }\n }\n };\n })()\n : undefined,\n});\n\ndefineType(\"VariableDeclarator\", {\n visitor: [\"id\", \"init\"],\n fields: {\n id: {\n validate:\n !process.env.BABEL_8_BREAKING && !process.env.BABEL_TYPES_8_BREAKING\n ? assertNodeType(\"LVal\", \"VoidPattern\")\n : assertNodeType(\n \"Identifier\",\n \"ArrayPattern\",\n \"ObjectPattern\",\n \"VoidPattern\",\n ),\n },\n definite: {\n optional: true,\n validate: assertValueType(\"boolean\"),\n },\n init: {\n optional: true,\n validate: assertNodeType(\"Expression\"),\n },\n },\n});\n\ndefineType(\"WhileStatement\", {\n visitor: [\"test\", \"body\"],\n aliases: [\"Statement\", \"BlockParent\", \"Loop\", \"While\", \"Scopable\"],\n fields: {\n test: {\n validate: assertNodeType(\"Expression\"),\n },\n body: {\n validate: assertNodeType(\"Statement\"),\n },\n },\n});\n\ndefineType(\"WithStatement\", {\n visitor: [\"object\", \"body\"],\n aliases: [\"Statement\"],\n fields: {\n object: {\n validate: assertNodeType(\"Expression\"),\n },\n body: {\n validate: assertNodeType(\"Statement\"),\n },\n },\n});\n\n// --- ES2015 ---\ndefineType(\"AssignmentPattern\", {\n visitor: [\"left\", \"right\", \"decorators\" /* for legacy param decorators */],\n builder: [\"left\", \"right\"],\n aliases: process.env.BABEL_8_BREAKING\n ? [\"FunctionParameter\", \"Pattern\", \"PatternLike\"]\n : [\"FunctionParameter\", \"Pattern\", \"PatternLike\", \"LVal\"],\n fields: {\n ...patternLikeCommon(),\n left: {\n validate: assertNodeType(\n \"Identifier\",\n \"ObjectPattern\",\n \"ArrayPattern\",\n \"MemberExpression\",\n \"TSAsExpression\",\n \"TSSatisfiesExpression\",\n \"TSTypeAssertion\",\n \"TSNonNullExpression\",\n ),\n },\n right: {\n validate: assertNodeType(\"Expression\"),\n },\n // For TypeScript\n decorators: {\n validate: arrayOfType(\"Decorator\"),\n optional: true,\n },\n },\n});\n\ndefineType(\"ArrayPattern\", {\n visitor: [\"elements\", \"typeAnnotation\"],\n builder: [\"elements\"],\n aliases: [\"FunctionParameter\", \"Pattern\", \"PatternLike\", \"LVal\"],\n fields: {\n ...patternLikeCommon(),\n elements: {\n validate: chain(\n assertValueType(\"array\"),\n assertEach(assertNodeOrValueType(\"null\", \"PatternLike\")),\n ),\n },\n },\n});\n\ndefineType(\"ArrowFunctionExpression\", {\n builder: [\"params\", \"body\", \"async\"],\n visitor: [\"typeParameters\", \"params\", \"predicate\", \"returnType\", \"body\"],\n aliases: [\n \"Scopable\",\n \"Function\",\n \"BlockParent\",\n \"FunctionParent\",\n \"Expression\",\n \"Pureish\",\n ],\n fields: {\n ...functionCommon(),\n ...functionTypeAnnotationCommon(),\n expression: {\n // https://github.com/babel/babylon/issues/505\n validate: assertValueType(\"boolean\"),\n },\n body: {\n validate: assertNodeType(\"BlockStatement\", \"Expression\"),\n },\n predicate: {\n validate: assertNodeType(\"DeclaredPredicate\", \"InferredPredicate\"),\n optional: true,\n },\n },\n});\n\ndefineType(\"ClassBody\", {\n visitor: [\"body\"],\n fields: {\n body: validateArrayOfType(\n \"ClassMethod\",\n \"ClassPrivateMethod\",\n \"ClassProperty\",\n \"ClassPrivateProperty\",\n \"ClassAccessorProperty\",\n \"TSDeclareMethod\",\n \"TSIndexSignature\",\n \"StaticBlock\",\n ),\n },\n});\n\ndefineType(\"ClassExpression\", {\n builder: [\"id\", \"superClass\", \"body\", \"decorators\"],\n visitor: [\n \"decorators\",\n \"id\",\n \"typeParameters\",\n \"superClass\",\n process.env.BABEL_8_BREAKING ? \"superTypeArguments\" : \"superTypeParameters\",\n \"mixins\",\n \"implements\",\n \"body\",\n ],\n aliases: [\"Scopable\", \"Class\", \"Expression\"],\n fields: {\n id: {\n validate: assertNodeType(\"Identifier\"),\n optional: true,\n },\n typeParameters: {\n validate: process.env.BABEL_8_BREAKING\n ? assertNodeType(\n \"TypeParameterDeclaration\",\n \"TSTypeParameterDeclaration\",\n )\n : assertNodeType(\n \"TypeParameterDeclaration\",\n \"TSTypeParameterDeclaration\",\n // @ts-ignore(Babel 7 vs Babel 8) Babel 7 AST\n \"Noop\",\n ),\n optional: true,\n },\n body: {\n validate: assertNodeType(\"ClassBody\"),\n },\n superClass: {\n optional: true,\n validate: assertNodeType(\"Expression\"),\n },\n [process.env.BABEL_8_BREAKING\n ? \"superTypeArguments\"\n : \"superTypeParameters\"]: {\n validate: assertNodeType(\n \"TypeParameterInstantiation\",\n \"TSTypeParameterInstantiation\",\n ),\n optional: true,\n },\n implements: {\n validate: arrayOfType(\n // @ts-ignore(Babel 7 vs Babel 8) Babel 7 AST\n process.env.BABEL_8_BREAKING\n ? \"TSClassImplements\"\n : \"TSExpressionWithTypeArguments\",\n \"ClassImplements\",\n ),\n optional: true,\n },\n decorators: {\n validate: arrayOfType(\"Decorator\"),\n optional: true,\n },\n mixins: {\n validate: assertNodeType(\"InterfaceExtends\"),\n optional: true,\n },\n },\n});\n\ndefineType(\"ClassDeclaration\", {\n inherits: \"ClassExpression\",\n aliases: [\"Scopable\", \"Class\", \"Statement\", \"Declaration\"],\n fields: {\n id: {\n validate: assertNodeType(\"Identifier\"),\n // The id may be omitted if this is the child of an\n // ExportDefaultDeclaration.\n optional: true,\n },\n typeParameters: {\n validate: process.env.BABEL_8_BREAKING\n ? assertNodeType(\n \"TypeParameterDeclaration\",\n \"TSTypeParameterDeclaration\",\n )\n : assertNodeType(\n \"TypeParameterDeclaration\",\n \"TSTypeParameterDeclaration\",\n // @ts-ignore(Babel 7 vs Babel 8) Babel 7 AST\n \"Noop\",\n ),\n optional: true,\n },\n body: {\n validate: assertNodeType(\"ClassBody\"),\n },\n superClass: {\n optional: true,\n validate: assertNodeType(\"Expression\"),\n },\n [process.env.BABEL_8_BREAKING\n ? \"superTypeArguments\"\n : \"superTypeParameters\"]: {\n validate: assertNodeType(\n \"TypeParameterInstantiation\",\n \"TSTypeParameterInstantiation\",\n ),\n optional: true,\n },\n implements: {\n validate: arrayOfType(\n // @ts-ignore(Babel 7 vs Babel 8) Babel 7 AST\n process.env.BABEL_8_BREAKING\n ? \"TSClassImplements\"\n : \"TSExpressionWithTypeArguments\",\n \"ClassImplements\",\n ),\n optional: true,\n },\n decorators: {\n validate: arrayOfType(\"Decorator\"),\n optional: true,\n },\n mixins: {\n validate: assertNodeType(\"InterfaceExtends\"),\n optional: true,\n },\n declare: {\n validate: assertValueType(\"boolean\"),\n optional: true,\n },\n abstract: {\n validate: assertValueType(\"boolean\"),\n optional: true,\n },\n },\n validate:\n !process.env.BABEL_8_BREAKING && !process.env.BABEL_TYPES_8_BREAKING\n ? undefined\n : (function () {\n const identifier = assertNodeType(\"Identifier\");\n return function (parent, key, node) {\n if (!is(\"ExportDefaultDeclaration\", parent)) {\n identifier(node, \"id\", node.id);\n }\n };\n })(),\n});\n\nexport const importAttributes = {\n attributes: {\n optional: true,\n validate: arrayOfType(\"ImportAttribute\"),\n },\n};\nif (!process.env.BABEL_8_BREAKING) {\n // @ts-expect-error (Babel 7 only)\n importAttributes.assertions = {\n deprecated: true,\n optional: true,\n validate: arrayOfType(\"ImportAttribute\"),\n };\n}\n\ndefineType(\"ExportAllDeclaration\", {\n builder: [\"source\", \"attributes\"],\n visitor: [\"source\", \"attributes\", \"assertions\"],\n aliases: [\n \"Statement\",\n \"Declaration\",\n \"ImportOrExportDeclaration\",\n \"ExportDeclaration\",\n ],\n fields: {\n source: {\n validate: assertNodeType(\"StringLiteral\"),\n },\n exportKind: validateOptional(assertOneOf(\"type\", \"value\")),\n ...importAttributes,\n },\n});\n\ndefineType(\"ExportDefaultDeclaration\", {\n visitor: [\"declaration\"],\n aliases: [\n \"Statement\",\n \"Declaration\",\n \"ImportOrExportDeclaration\",\n \"ExportDeclaration\",\n ],\n fields: {\n declaration: validateType(\n \"TSDeclareFunction\",\n \"FunctionDeclaration\",\n \"ClassDeclaration\",\n \"Expression\",\n ),\n exportKind: validateOptional(assertOneOf(\"value\")),\n },\n});\n\ndefineType(\"ExportNamedDeclaration\", {\n builder: [\"declaration\", \"specifiers\", \"source\", \"attributes\"],\n visitor: process.env.BABEL_8_BREAKING\n ? [\"declaration\", \"specifiers\", \"source\", \"attributes\"]\n : [\"declaration\", \"specifiers\", \"source\", \"attributes\", \"assertions\"],\n aliases: [\n \"Statement\",\n \"Declaration\",\n \"ImportOrExportDeclaration\",\n \"ExportDeclaration\",\n ],\n fields: {\n declaration: {\n optional: true,\n validate:\n process.env.BABEL_8_BREAKING || process.env.BABEL_TYPES_8_BREAKING\n ? chain(\n assertNodeType(\"Declaration\"),\n Object.assign(\n function (node: t.ExportNamedDeclaration, key, val) {\n // This validator isn't put at the top level because we can run it\n // even if this node doesn't have a parent.\n\n if (val && node.specifiers.length) {\n throw new TypeError(\n \"Only declaration or specifiers is allowed on ExportNamedDeclaration\",\n );\n }\n\n // This validator isn't put at the top level because we can run it\n // even if this node doesn't have a parent.\n\n if (val && node.source) {\n throw new TypeError(\n \"Cannot export a declaration from a source\",\n );\n }\n } satisfies ValidatorImpl,\n { oneOfNodeTypes: [\"Declaration\"] as const },\n ) satisfies ValidatorOneOfNodeTypes,\n )\n : assertNodeType(\"Declaration\"),\n },\n ...importAttributes,\n specifiers: {\n default: [],\n validate: arrayOf(\n (function () {\n const sourced = assertNodeType(\n \"ExportSpecifier\",\n \"ExportDefaultSpecifier\",\n \"ExportNamespaceSpecifier\",\n );\n const sourceless = assertNodeType(\"ExportSpecifier\");\n\n if (\n !process.env.BABEL_8_BREAKING &&\n !process.env.BABEL_TYPES_8_BREAKING\n )\n return sourced;\n\n return Object.assign(\n function (node: t.ExportNamedDeclaration, key, val) {\n const validator = node.source ? sourced : sourceless;\n validator(node, key, val);\n } satisfies ValidatorImpl,\n {\n oneOfNodeTypes: [\n \"ExportSpecifier\",\n \"ExportDefaultSpecifier\",\n \"ExportNamespaceSpecifier\",\n ] as const,\n },\n ) satisfies ValidatorOneOfNodeTypes;\n })(),\n ),\n },\n source: {\n validate: assertNodeType(\"StringLiteral\"),\n optional: true,\n },\n exportKind: validateOptional(assertOneOf(\"type\", \"value\")),\n },\n});\n\ndefineType(\"ExportSpecifier\", {\n visitor: [\"local\", \"exported\"],\n aliases: [\"ModuleSpecifier\"],\n fields: {\n local: {\n validate: assertNodeType(\"Identifier\"),\n },\n exported: {\n validate: assertNodeType(\"Identifier\", \"StringLiteral\"),\n },\n exportKind: {\n // And TypeScript's \"export { type foo } from\"\n validate: assertOneOf(\"type\", \"value\"),\n optional: true,\n },\n },\n});\n\ndefineType(\"ForOfStatement\", {\n visitor: [\"left\", \"right\", \"body\"],\n builder: [\"left\", \"right\", \"body\", \"await\"],\n aliases: [\n \"Scopable\",\n \"Statement\",\n \"For\",\n \"BlockParent\",\n \"Loop\",\n \"ForXStatement\",\n ],\n fields: {\n left: {\n validate: (function () {\n if (\n !process.env.BABEL_8_BREAKING &&\n !process.env.BABEL_TYPES_8_BREAKING\n ) {\n return assertNodeType(\"VariableDeclaration\", \"LVal\");\n }\n\n const declaration = assertNodeType(\"VariableDeclaration\");\n const lval = assertNodeType(\n \"Identifier\",\n \"MemberExpression\",\n \"ArrayPattern\",\n \"ObjectPattern\",\n \"TSAsExpression\",\n \"TSSatisfiesExpression\",\n \"TSTypeAssertion\",\n \"TSNonNullExpression\",\n );\n\n return Object.assign(\n function (node, key, val) {\n if (is(\"VariableDeclaration\", val)) {\n declaration(node, key, val);\n } else {\n lval(node, key, val);\n }\n } satisfies ValidatorImpl,\n {\n oneOfNodeTypes: [\n \"VariableDeclaration\",\n \"Identifier\",\n \"MemberExpression\",\n \"ArrayPattern\",\n \"ObjectPattern\",\n \"TSAsExpression\",\n \"TSSatisfiesExpression\",\n \"TSTypeAssertion\",\n \"TSNonNullExpression\",\n ] as const,\n },\n ) satisfies ValidatorOneOfNodeTypes;\n })(),\n },\n right: {\n validate: assertNodeType(\"Expression\"),\n },\n body: {\n validate: assertNodeType(\"Statement\"),\n },\n await: {\n default: false,\n },\n },\n});\n\ndefineType(\"ImportDeclaration\", {\n builder: [\"specifiers\", \"source\", \"attributes\"],\n visitor: process.env.BABEL_8_BREAKING\n ? [\"specifiers\", \"source\", \"attributes\"]\n : [\"specifiers\", \"source\", \"attributes\", \"assertions\"],\n aliases: [\"Statement\", \"Declaration\", \"ImportOrExportDeclaration\"],\n fields: {\n ...importAttributes,\n module: {\n optional: true,\n validate: assertValueType(\"boolean\"),\n },\n phase: {\n default: null,\n validate: assertOneOf(\"source\", \"defer\"),\n },\n specifiers: validateArrayOfType(\n \"ImportSpecifier\",\n \"ImportDefaultSpecifier\",\n \"ImportNamespaceSpecifier\",\n ),\n source: {\n validate: assertNodeType(\"StringLiteral\"),\n },\n importKind: {\n // Handle TypeScript/Flowtype's extension \"import type foo from\"\n // TypeScript doesn't support typeof\n validate: assertOneOf(\"type\", \"typeof\", \"value\"),\n optional: true,\n },\n },\n});\n\ndefineType(\"ImportDefaultSpecifier\", {\n visitor: [\"local\"],\n aliases: [\"ModuleSpecifier\"],\n fields: {\n local: {\n validate: assertNodeType(\"Identifier\"),\n },\n },\n});\n\ndefineType(\"ImportNamespaceSpecifier\", {\n visitor: [\"local\"],\n aliases: [\"ModuleSpecifier\"],\n fields: {\n local: {\n validate: assertNodeType(\"Identifier\"),\n },\n },\n});\n\ndefineType(\"ImportSpecifier\", {\n visitor: [\"imported\", \"local\"],\n builder: [\"local\", \"imported\"],\n aliases: [\"ModuleSpecifier\"],\n fields: {\n local: {\n validate: assertNodeType(\"Identifier\"),\n },\n imported: {\n validate: assertNodeType(\"Identifier\", \"StringLiteral\"),\n },\n importKind: {\n // Handle Flowtype's extension \"import {typeof foo} from\"\n // And TypeScript's \"import { type foo } from\"\n validate: assertOneOf(\"type\", \"typeof\", \"value\"),\n optional: true,\n },\n },\n});\n\ndefineType(\"ImportExpression\", {\n visitor: [\"source\", \"options\"],\n aliases: [\"Expression\"],\n fields: {\n phase: {\n default: null,\n validate: assertOneOf(\"source\", \"defer\"),\n },\n source: {\n validate: assertNodeType(\"Expression\"),\n },\n options: {\n validate: assertNodeType(\"Expression\"),\n optional: true,\n },\n },\n});\n\ndefineType(\"MetaProperty\", {\n visitor: [\"meta\", \"property\"],\n aliases: [\"Expression\"],\n fields: {\n meta: {\n validate:\n process.env.BABEL_8_BREAKING || process.env.BABEL_TYPES_8_BREAKING\n ? chain(\n assertNodeType(\"Identifier\"),\n Object.assign(\n function (node: t.MetaProperty, key, val) {\n let property;\n switch (val.name) {\n case \"function\":\n property = \"sent\";\n break;\n case \"new\":\n property = \"target\";\n break;\n case \"import\":\n property = \"meta\";\n break;\n }\n if (!is(\"Identifier\", node.property, { name: property })) {\n throw new TypeError(\"Unrecognised MetaProperty\");\n }\n } satisfies ValidatorImpl,\n { oneOfNodeTypes: [\"Identifier\"] as const },\n ) satisfies ValidatorOneOfNodeTypes,\n )\n : assertNodeType(\"Identifier\"),\n },\n property: {\n validate: assertNodeType(\"Identifier\"),\n },\n },\n});\n\nexport const classMethodOrPropertyCommon = () => ({\n abstract: {\n validate: assertValueType(\"boolean\"),\n optional: true,\n },\n accessibility: {\n validate: assertOneOf(\"public\", \"private\", \"protected\"),\n optional: true,\n },\n static: {\n default: false,\n },\n override: {\n default: false,\n },\n computed: {\n default: false,\n },\n optional: {\n validate: assertValueType(\"boolean\"),\n optional: true,\n },\n key: {\n validate: chain(\n (function () {\n const normal = assertNodeType(\n \"Identifier\",\n \"StringLiteral\",\n \"NumericLiteral\",\n \"BigIntLiteral\",\n );\n const computed = assertNodeType(\"Expression\");\n\n return function (\n node: Extract,\n key,\n val,\n ) {\n const validator = node.computed ? computed : normal;\n validator(node, key, val);\n } satisfies ValidatorImpl;\n })(),\n assertNodeType(\n \"Identifier\",\n \"StringLiteral\",\n \"NumericLiteral\",\n \"BigIntLiteral\",\n \"Expression\",\n ),\n ),\n },\n});\n\nexport const classMethodOrDeclareMethodCommon = () => ({\n ...functionCommon(),\n ...classMethodOrPropertyCommon(),\n params: validateArrayOfType(\"FunctionParameter\", \"TSParameterProperty\"),\n kind: {\n validate: assertOneOf(\"get\", \"set\", \"method\", \"constructor\"),\n default: \"method\",\n },\n access: {\n validate: chain(\n assertValueType(\"string\"),\n assertOneOf(\"public\", \"private\", \"protected\"),\n ),\n optional: true,\n },\n decorators: {\n validate: arrayOfType(\"Decorator\"),\n optional: true,\n },\n});\n\ndefineType(\"ClassMethod\", {\n aliases: [\"Function\", \"Scopable\", \"BlockParent\", \"FunctionParent\", \"Method\"],\n builder: [\n \"kind\",\n \"key\",\n \"params\",\n \"body\",\n \"computed\",\n \"static\",\n \"generator\",\n \"async\",\n ],\n visitor: [\n \"decorators\",\n \"key\",\n \"typeParameters\",\n \"params\",\n \"returnType\",\n \"body\",\n ],\n ...classMethodOrPropertyUnionShapeCommon(),\n fields: {\n ...classMethodOrDeclareMethodCommon(),\n ...functionTypeAnnotationCommon(),\n body: {\n validate: assertNodeType(\"BlockStatement\"),\n },\n },\n});\n\ndefineType(\"ObjectPattern\", {\n visitor: [\n \"decorators\" /* for legacy param decorators */,\n \"properties\",\n \"typeAnnotation\",\n ],\n builder: [\"properties\"],\n aliases: [\"FunctionParameter\", \"Pattern\", \"PatternLike\", \"LVal\"],\n fields: {\n ...patternLikeCommon(),\n properties: validateArrayOfType(\"RestElement\", \"ObjectProperty\"),\n },\n});\n\ndefineType(\"SpreadElement\", {\n visitor: [\"argument\"],\n aliases: [\"UnaryLike\"],\n deprecatedAlias: \"SpreadProperty\",\n fields: {\n argument: {\n validate: assertNodeType(\"Expression\"),\n },\n },\n});\n\ndefineType(\n \"Super\",\n process.env.BABEL_8_BREAKING\n ? undefined\n : {\n aliases: [\"Expression\"],\n },\n);\n\ndefineType(\"TaggedTemplateExpression\", {\n visitor: process.env.BABEL_8_BREAKING\n ? [\"tag\", \"typeArguments\", \"quasi\"]\n : [\"tag\", \"typeParameters\", \"quasi\"],\n builder: [\"tag\", \"quasi\"],\n aliases: [\"Expression\"],\n fields: {\n tag: {\n validate: assertNodeType(\"Expression\"),\n },\n quasi: {\n validate: assertNodeType(\"TemplateLiteral\"),\n },\n [process.env.BABEL_8_BREAKING ? \"typeArguments\" : \"typeParameters\"]: {\n validate: assertNodeType(\n \"TypeParameterInstantiation\",\n \"TSTypeParameterInstantiation\",\n ),\n optional: true,\n },\n },\n});\n\ndefineType(\"TemplateElement\", {\n builder: [\"value\", \"tail\"],\n fields: {\n value: {\n validate: chain(\n assertShape({\n raw: {\n validate: assertValueType(\"string\"),\n },\n cooked: {\n validate: assertValueType(\"string\"),\n optional: true,\n },\n }),\n function templateElementCookedValidator(node: t.TemplateElement) {\n const raw = node.value.raw;\n\n let unterminatedCalled = false;\n\n const error = () => {\n // unreachable\n throw new Error(\"Internal @babel/types error.\");\n };\n const { str, firstInvalidLoc } = readStringContents(\n \"template\",\n raw,\n 0,\n 0,\n 0,\n {\n unterminated() {\n unterminatedCalled = true;\n },\n strictNumericEscape: error,\n invalidEscapeSequence: error,\n numericSeparatorInEscapeSequence: error,\n unexpectedNumericSeparator: error,\n invalidDigit: error,\n invalidCodePoint: error,\n },\n );\n if (!unterminatedCalled) throw new Error(\"Invalid raw\");\n\n node.value.cooked = firstInvalidLoc ? null : str;\n },\n ),\n },\n tail: {\n default: false,\n },\n },\n});\n\ndefineType(\"TemplateLiteral\", {\n visitor: [\"quasis\", \"expressions\"],\n aliases: [\"Expression\", \"Literal\"],\n fields: {\n quasis: validateArrayOfType(\"TemplateElement\"),\n expressions: {\n validate: chain(\n assertValueType(\"array\"),\n assertEach(\n assertNodeType(\n \"Expression\",\n // For TypeScript template literal types\n \"TSType\",\n ),\n ),\n function (node: t.TemplateLiteral, key, val) {\n if (node.quasis.length !== val.length + 1) {\n throw new TypeError(\n `Number of ${\n node.type\n } quasis should be exactly one more than the number of expressions.\\nExpected ${\n val.length + 1\n } quasis but got ${node.quasis.length}`,\n );\n }\n } satisfies ValidatorImpl,\n ),\n },\n },\n});\n\ndefineType(\"YieldExpression\", {\n builder: [\"argument\", \"delegate\"],\n visitor: [\"argument\"],\n aliases: [\"Expression\", \"Terminatorless\"],\n fields: {\n delegate: {\n validate:\n process.env.BABEL_8_BREAKING || process.env.BABEL_TYPES_8_BREAKING\n ? chain(\n assertValueType(\"boolean\"),\n Object.assign(\n function (node: t.YieldExpression, key, val) {\n if (val && !node.argument) {\n throw new TypeError(\n \"Property delegate of YieldExpression cannot be true if there is no argument\",\n );\n }\n } satisfies ValidatorImpl,\n { type: \"boolean\" as const },\n ) satisfies ValidatorType,\n )\n : assertValueType(\"boolean\"),\n default: false,\n },\n argument: {\n optional: true,\n validate: assertNodeType(\"Expression\"),\n },\n },\n});\n\n// --- ES2017 ---\ndefineType(\"AwaitExpression\", {\n builder: [\"argument\"],\n visitor: [\"argument\"],\n aliases: [\"Expression\", \"Terminatorless\"],\n fields: {\n argument: {\n validate: assertNodeType(\"Expression\"),\n },\n },\n});\n\n// --- ES2019 ---\ndefineType(\"Import\", {\n aliases: [\"Expression\"],\n});\n\n// --- ES2020 ---\ndefineType(\"BigIntLiteral\", {\n builder: [\"value\"],\n fields: {\n value: {\n validate: process.env.BABEL_8_BREAKING\n ? assertValueType(\"bigint\")\n : assertValueType(\"string\"),\n },\n },\n aliases: [\"Expression\", \"Pureish\", \"Literal\", \"Immutable\"],\n});\n\ndefineType(\"ExportNamespaceSpecifier\", {\n visitor: [\"exported\"],\n aliases: [\"ModuleSpecifier\"],\n fields: {\n exported: {\n validate: assertNodeType(\"Identifier\"),\n },\n },\n});\n\ndefineType(\"OptionalMemberExpression\", {\n builder: [\"object\", \"property\", \"computed\", \"optional\"],\n visitor: [\"object\", \"property\"],\n // todo: Add OptionalMemberExpression to LVal when optional-chaining-assign reaches stage 4\n aliases: [\"Expression\"],\n fields: {\n object: {\n validate: assertNodeType(\"Expression\"),\n },\n property: {\n validate: (function () {\n const normal = assertNodeType(\"Identifier\");\n const computed = assertNodeType(\"Expression\");\n\n const validator: ValidatorOneOfNodeTypes = Object.assign(\n function (node: t.OptionalMemberExpression, key, val) {\n const validator = node.computed ? computed : normal;\n validator(node, key, val);\n } satisfies ValidatorImpl,\n // todo(ts): can be discriminated union by `computed` property\n { oneOfNodeTypes: [\"Expression\", \"Identifier\"] as const },\n );\n return validator;\n })(),\n },\n computed: {\n default: false,\n },\n optional: {\n validate:\n !process.env.BABEL_8_BREAKING && !process.env.BABEL_TYPES_8_BREAKING\n ? assertValueType(\"boolean\")\n : chain(assertValueType(\"boolean\"), assertOptionalChainStart()),\n },\n },\n});\n\ndefineType(\"OptionalCallExpression\", {\n visitor: process.env.BABEL_8_BREAKING\n ? [\"callee\", \"typeArguments\", \"arguments\"]\n : [\"callee\", \"typeParameters\", \"typeArguments\", \"arguments\"],\n builder: [\"callee\", \"arguments\", \"optional\"],\n aliases: [\"Expression\"],\n fields: {\n callee: {\n validate: assertNodeType(\"Expression\"),\n },\n arguments: validateArrayOfType(\n \"Expression\",\n \"SpreadElement\",\n \"ArgumentPlaceholder\",\n ),\n optional: {\n validate:\n !process.env.BABEL_8_BREAKING && !process.env.BABEL_TYPES_8_BREAKING\n ? assertValueType(\"boolean\")\n : chain(assertValueType(\"boolean\"), assertOptionalChainStart()),\n },\n typeArguments: {\n validate: process.env.BABEL_8_BREAKING\n ? assertNodeType(\n \"TypeParameterInstantiation\",\n \"TSTypeParameterInstantiation\",\n )\n : assertNodeType(\"TypeParameterInstantiation\"),\n optional: true,\n },\n ...(process.env.BABEL_8_BREAKING\n ? {}\n : {\n typeParameters: {\n validate: assertNodeType(\"TSTypeParameterInstantiation\"),\n optional: true,\n },\n }),\n },\n});\n\n// --- ES2022 ---\ndefineType(\"ClassProperty\", {\n visitor: [\"decorators\", \"variance\", \"key\", \"typeAnnotation\", \"value\"],\n builder: [\n \"key\",\n \"value\",\n \"typeAnnotation\",\n \"decorators\",\n \"computed\",\n \"static\",\n ],\n aliases: [\"Property\"],\n ...classMethodOrPropertyUnionShapeCommon(),\n fields: {\n ...classMethodOrPropertyCommon(),\n value: {\n validate: assertNodeType(\"Expression\"),\n optional: true,\n },\n definite: {\n validate: assertValueType(\"boolean\"),\n optional: true,\n },\n typeAnnotation: {\n validate: process.env.BABEL_8_BREAKING\n ? assertNodeType(\"TypeAnnotation\", \"TSTypeAnnotation\")\n : assertNodeType(\n \"TypeAnnotation\",\n \"TSTypeAnnotation\",\n // @ts-ignore(Babel 7 vs Babel 8) Babel 7 AST\n \"Noop\",\n ),\n optional: true,\n },\n decorators: {\n validate: arrayOfType(\"Decorator\"),\n optional: true,\n },\n readonly: {\n validate: assertValueType(\"boolean\"),\n optional: true,\n },\n declare: {\n validate: assertValueType(\"boolean\"),\n optional: true,\n },\n variance: {\n validate: assertNodeType(\"Variance\"),\n optional: true,\n },\n },\n});\n\ndefineType(\"ClassAccessorProperty\", {\n visitor: [\"decorators\", \"key\", \"typeAnnotation\", \"value\"],\n builder: [\n \"key\",\n \"value\",\n \"typeAnnotation\",\n \"decorators\",\n \"computed\",\n \"static\",\n ],\n aliases: [\"Property\", \"Accessor\"],\n ...classMethodOrPropertyUnionShapeCommon(true),\n fields: {\n ...classMethodOrPropertyCommon(),\n key: {\n validate: chain(\n (function () {\n const normal = assertNodeType(\n \"Identifier\",\n \"StringLiteral\",\n \"NumericLiteral\",\n \"BigIntLiteral\",\n \"PrivateName\",\n );\n const computed = assertNodeType(\"Expression\");\n\n return function (\n node: t.ClassAccessorProperty,\n key: string,\n val: any,\n ) {\n const validator = node.computed ? computed : normal;\n validator(node, key, val);\n } satisfies ValidatorImpl;\n })(),\n assertNodeType(\n \"Identifier\",\n \"StringLiteral\",\n \"NumericLiteral\",\n \"BigIntLiteral\",\n \"Expression\",\n \"PrivateName\",\n ),\n ),\n },\n value: {\n validate: assertNodeType(\"Expression\"),\n optional: true,\n },\n definite: {\n validate: assertValueType(\"boolean\"),\n optional: true,\n },\n typeAnnotation: {\n validate: process.env.BABEL_8_BREAKING\n ? assertNodeType(\"TypeAnnotation\", \"TSTypeAnnotation\")\n : assertNodeType(\n \"TypeAnnotation\",\n \"TSTypeAnnotation\",\n // @ts-ignore(Babel 7 vs Babel 8) Babel 7 AST\n \"Noop\",\n ),\n optional: true,\n },\n decorators: {\n validate: arrayOfType(\"Decorator\"),\n optional: true,\n },\n readonly: {\n validate: assertValueType(\"boolean\"),\n optional: true,\n },\n declare: {\n validate: assertValueType(\"boolean\"),\n optional: true,\n },\n variance: {\n validate: assertNodeType(\"Variance\"),\n optional: true,\n },\n },\n});\n\ndefineType(\"ClassPrivateProperty\", {\n visitor: [\"decorators\", \"variance\", \"key\", \"typeAnnotation\", \"value\"],\n builder: [\"key\", \"value\", \"decorators\", \"static\"],\n aliases: [\"Property\", \"Private\"],\n fields: {\n key: {\n validate: assertNodeType(\"PrivateName\"),\n },\n value: {\n validate: assertNodeType(\"Expression\"),\n optional: true,\n },\n typeAnnotation: {\n validate: process.env.BABEL_8_BREAKING\n ? assertNodeType(\"TypeAnnotation\", \"TSTypeAnnotation\")\n : assertNodeType(\n \"TypeAnnotation\",\n \"TSTypeAnnotation\",\n // @ts-ignore(Babel 7 vs Babel 8) Babel 7 AST\n \"Noop\",\n ),\n optional: true,\n },\n decorators: {\n validate: arrayOfType(\"Decorator\"),\n optional: true,\n },\n static: {\n validate: assertValueType(\"boolean\"),\n default: false,\n },\n readonly: {\n validate: assertValueType(\"boolean\"),\n optional: true,\n },\n optional: {\n validate: assertValueType(\"boolean\"),\n optional: true,\n },\n definite: {\n validate: assertValueType(\"boolean\"),\n optional: true,\n },\n variance: {\n validate: assertNodeType(\"Variance\"),\n optional: true,\n },\n },\n});\n\ndefineType(\"ClassPrivateMethod\", {\n builder: [\"kind\", \"key\", \"params\", \"body\", \"static\"],\n visitor: [\n \"decorators\",\n \"key\",\n \"typeParameters\",\n \"params\",\n \"returnType\",\n \"body\",\n ],\n aliases: [\n \"Function\",\n \"Scopable\",\n \"BlockParent\",\n \"FunctionParent\",\n \"Method\",\n \"Private\",\n ],\n // `computed` is not included in the `builder`\n // ...classMethodOrPropertyUnionShapeCommon(),\n fields: {\n ...classMethodOrDeclareMethodCommon(),\n ...functionTypeAnnotationCommon(),\n kind: {\n validate: assertOneOf(\"get\", \"set\", \"method\"),\n default: \"method\",\n },\n key: {\n validate: assertNodeType(\"PrivateName\"),\n },\n body: {\n validate: assertNodeType(\"BlockStatement\"),\n },\n },\n});\n\ndefineType(\"PrivateName\", {\n visitor: [\"id\"],\n aliases: [\"Private\"],\n fields: {\n id: {\n validate: assertNodeType(\"Identifier\"),\n },\n },\n});\n\ndefineType(\"StaticBlock\", {\n visitor: [\"body\"],\n fields: {\n body: validateArrayOfType(\"Statement\"),\n },\n aliases: [\"Scopable\", \"BlockParent\", \"FunctionParent\"],\n});\n\n// --- ES2025 ---\ndefineType(\"ImportAttribute\", {\n visitor: [\"key\", \"value\"],\n fields: {\n key: {\n validate: assertNodeType(\"Identifier\", \"StringLiteral\"),\n },\n value: {\n validate: assertNodeType(\"StringLiteral\"),\n },\n },\n});\n"],"mappings":";;;;;;AAAA,IAAAA,GAAA,GAAAC,OAAA;AACA,IAAAC,kBAAA,GAAAD,OAAA;AACA,IAAAE,0BAAA,GAAAF,OAAA;AAEA,IAAAG,mBAAA,GAAAH,OAAA;AAEA,IAAAI,MAAA,GAAAJ,OAAA;AAQA,IAAAK,MAAA,GAAAL,OAAA;AAqBO,MAAMM,qCAAqC,GAAGA,CACnDC,gBAAgB,GAAG,KAAK,MACpB;EACJC,UAAU,EAAE;IACVC,aAAa,EAAE,UAAU;IACzBC,MAAM,EAAE,CACN;MACEC,IAAI,EAAE,UAAU;MAChBC,KAAK,EAAE,CAAC,IAAI,CAAC;MACbC,UAAU,EAAE;QACVC,GAAG,EAAE;UACHC,QAAQ,EAAE,IAAAC,qBAAc,EAAC,YAAY;QACvC;MACF;IACF,CAAC,EACD;MACEL,IAAI,EAAE,aAAa;MACnBC,KAAK,EAAE,CAAC,KAAK,CAAC;MACdC,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E;EACxBW,OAAO,EAAE,CAAC,IAAI,CAAC;EACfC,OAAO,EAAE,CAAC,SAAS,CAAC;EACpBV,MAAM,EAAE;IACN6D,EAAE,EAAE;MACFlE,QAAQ,EAAE,IAAAC,qBAAc,EAAC,YAAY;IACvC;EACF;AACF,CAAC,CAAC;AAEFE,UAAU,CAAC,aAAa,EAAE;EACxBW,OAAO,EAAE,CAAC,MAAM,CAAC;EACjBT,MAAM,EAAE;IACNiC,IAAI,EAAE,IAAAC,0BAAmB,EAAC,WAAW;EACvC,CAAC;EACDxB,OAAO,EAAE,CAAC,UAAU,EAAE,aAAa,EAAE,gBAAgB;AACvD,CAAC,CAAC;AAGFZ,UAAU,CAAC,iBAAiB,EAAE;EAC5BW,OAAO,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC;EACzBT,MAAM,EAAE;IACNN,GAAG,EAAE;MACHC,QAAQ,EAAE,IAAAC,qBAAc,EAAC,YAAY,EAAE,eAAe;IACxD,CAAC;IACDJ,KAAK,EAAE;MACLG,QAAQ,EAAE,IAAAC,qBAAc,EAAC,eAAe;IAC1C;EACF;AACF,CAAC,CAAC","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/definitions/deprecated-aliases.js b/node_modules/@babel/types/lib/definitions/deprecated-aliases.js new file mode 100644 index 0000000000000000000000000000000000000000..03a375173239da7a28cc5e8c423ac9a8c7024036 --- /dev/null +++ b/node_modules/@babel/types/lib/definitions/deprecated-aliases.js @@ -0,0 +1,11 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.DEPRECATED_ALIASES = void 0; +const DEPRECATED_ALIASES = exports.DEPRECATED_ALIASES = { + ModuleDeclaration: "ImportOrExportDeclaration" +}; + +//# sourceMappingURL=deprecated-aliases.js.map diff --git a/node_modules/@babel/types/lib/definitions/deprecated-aliases.js.map b/node_modules/@babel/types/lib/definitions/deprecated-aliases.js.map new file mode 100644 index 0000000000000000000000000000000000000000..1d3dbcb9840529ae42a5e45d8c17db35a9ccef94 --- /dev/null +++ b/node_modules/@babel/types/lib/definitions/deprecated-aliases.js.map @@ -0,0 +1 @@ +{"version":3,"names":["DEPRECATED_ALIASES","exports","ModuleDeclaration"],"sources":["../../src/definitions/deprecated-aliases.ts"],"sourcesContent":["export const DEPRECATED_ALIASES = {\n ModuleDeclaration: \"ImportOrExportDeclaration\",\n};\n"],"mappings":";;;;;;AAAO,MAAMA,kBAAkB,GAAAC,OAAA,CAAAD,kBAAA,GAAG;EAChCE,iBAAiB,EAAE;AACrB,CAAC","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/definitions/experimental.js b/node_modules/@babel/types/lib/definitions/experimental.js new file mode 100644 index 0000000000000000000000000000000000000000..839f7323dcc49b8c880e8db7e49f7fbf293f1c72 --- /dev/null +++ b/node_modules/@babel/types/lib/definitions/experimental.js @@ -0,0 +1,124 @@ +"use strict"; + +var _utils = require("./utils.js"); +(0, _utils.default)("ArgumentPlaceholder", {}); +(0, _utils.default)("BindExpression", { + visitor: ["object", "callee"], + aliases: ["Expression"], + fields: !process.env.BABEL_TYPES_8_BREAKING ? { + object: { + validate: Object.assign(() => {}, { + oneOfNodeTypes: ["Expression"] + }) + }, + callee: { + validate: Object.assign(() => {}, { + oneOfNodeTypes: ["Expression"] + }) + } + } : { + object: { + validate: (0, _utils.assertNodeType)("Expression") + }, + callee: { + validate: (0, _utils.assertNodeType)("Expression") + } + } +}); +(0, _utils.default)("Decorator", { + visitor: ["expression"], + fields: { + expression: { + validate: (0, _utils.assertNodeType)("Expression") + } + } +}); +(0, _utils.default)("DoExpression", { + visitor: ["body"], + builder: ["body", "async"], + aliases: ["Expression"], + fields: { + body: { + validate: (0, _utils.assertNodeType)("BlockStatement") + }, + async: { + validate: (0, _utils.assertValueType)("boolean"), + default: false + } + } +}); +(0, _utils.default)("ExportDefaultSpecifier", { + visitor: ["exported"], + aliases: ["ModuleSpecifier"], + fields: { + exported: { + validate: (0, _utils.assertNodeType)("Identifier") + } + } +}); +(0, _utils.default)("RecordExpression", { + visitor: ["properties"], + aliases: ["Expression"], + fields: { + properties: (0, _utils.validateArrayOfType)("ObjectProperty", "SpreadElement") + } +}); +(0, _utils.default)("TupleExpression", { + fields: { + elements: { + validate: (0, _utils.arrayOfType)("Expression", "SpreadElement"), + default: [] + } + }, + visitor: ["elements"], + aliases: ["Expression"] +}); +(0, _utils.default)("DecimalLiteral", { + builder: ["value"], + fields: { + value: { + validate: (0, _utils.assertValueType)("string") + } + }, + aliases: ["Expression", "Pureish", "Literal", "Immutable"] +}); +(0, _utils.default)("ModuleExpression", { + visitor: ["body"], + fields: { + body: { + validate: (0, _utils.assertNodeType)("Program") + } + }, + aliases: ["Expression"] +}); +(0, _utils.default)("TopicReference", { + aliases: ["Expression"] +}); +(0, _utils.default)("PipelineTopicExpression", { + builder: ["expression"], + visitor: ["expression"], + fields: { + expression: { + validate: (0, _utils.assertNodeType)("Expression") + } + }, + aliases: ["Expression"] +}); +(0, _utils.default)("PipelineBareFunction", { + builder: ["callee"], + visitor: ["callee"], + fields: { + callee: { + validate: (0, _utils.assertNodeType)("Expression") + } + }, + aliases: ["Expression"] +}); +(0, _utils.default)("PipelinePrimaryTopicReference", { + aliases: ["Expression"] +}); +(0, _utils.default)("VoidPattern", { + aliases: ["Pattern", "PatternLike", "FunctionParameter"] +}); + +//# sourceMappingURL=experimental.js.map diff --git a/node_modules/@babel/types/lib/definitions/experimental.js.map b/node_modules/@babel/types/lib/definitions/experimental.js.map new file mode 100644 index 0000000000000000000000000000000000000000..5c0a804cf3eb9681e7adcc1c6eb77430477a0b73 --- /dev/null +++ b/node_modules/@babel/types/lib/definitions/experimental.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_utils","require","defineType","visitor","aliases","fields","process","env","BABEL_TYPES_8_BREAKING","object","validate","Object","assign","oneOfNodeTypes","callee","assertNodeType","expression","builder","body","async","assertValueType","default","exported","properties","validateArrayOfType","elements","arrayOfType","value"],"sources":["../../src/definitions/experimental.ts"],"sourcesContent":["import defineType, {\n arrayOfType,\n assertNodeType,\n assertValueType,\n validateArrayOfType,\n type ValidatorOneOfNodeTypes,\n} from \"./utils.ts\";\n\ndefineType(\"ArgumentPlaceholder\", {});\n\ndefineType(\"BindExpression\", {\n visitor: [\"object\", \"callee\"],\n aliases: [\"Expression\"],\n fields:\n !process.env.BABEL_8_BREAKING && !process.env.BABEL_TYPES_8_BREAKING\n ? {\n object: {\n validate: Object.assign(() => {}, {\n oneOfNodeTypes: [\"Expression\"] as const,\n }) satisfies ValidatorOneOfNodeTypes,\n },\n callee: {\n validate: Object.assign(() => {}, {\n oneOfNodeTypes: [\"Expression\"] as const,\n }) satisfies ValidatorOneOfNodeTypes,\n },\n }\n : {\n object: {\n validate: assertNodeType(\"Expression\"),\n },\n callee: {\n validate: assertNodeType(\"Expression\"),\n },\n },\n});\n\ndefineType(\"Decorator\", {\n visitor: [\"expression\"],\n fields: {\n expression: {\n validate: assertNodeType(\"Expression\"),\n },\n },\n});\n\ndefineType(\"DoExpression\", {\n visitor: [\"body\"],\n builder: [\"body\", \"async\"],\n aliases: [\"Expression\"],\n fields: {\n body: {\n validate: assertNodeType(\"BlockStatement\"),\n },\n async: {\n validate: assertValueType(\"boolean\"),\n default: false,\n },\n },\n});\n\ndefineType(\"ExportDefaultSpecifier\", {\n visitor: [\"exported\"],\n aliases: [\"ModuleSpecifier\"],\n fields: {\n exported: {\n validate: assertNodeType(\"Identifier\"),\n },\n },\n});\n\nif (!process.env.BABEL_8_BREAKING) {\n defineType(\"RecordExpression\", {\n visitor: [\"properties\"],\n aliases: [\"Expression\"],\n fields: {\n properties: validateArrayOfType(\"ObjectProperty\", \"SpreadElement\"),\n },\n });\n\n defineType(\"TupleExpression\", {\n fields: {\n elements: {\n validate: arrayOfType(\"Expression\", \"SpreadElement\"),\n default: [],\n },\n },\n visitor: [\"elements\"],\n aliases: [\"Expression\"],\n });\n\n defineType(\"DecimalLiteral\", {\n builder: [\"value\"],\n fields: {\n value: {\n validate: assertValueType(\"string\"),\n },\n },\n aliases: [\"Expression\", \"Pureish\", \"Literal\", \"Immutable\"],\n });\n}\n\n// https://github.com/tc39/proposal-js-module-blocks\ndefineType(\"ModuleExpression\", {\n visitor: [\"body\"],\n fields: {\n body: {\n validate: assertNodeType(\"Program\"),\n },\n },\n aliases: [\"Expression\"],\n});\n\n// https://github.com/tc39/proposal-pipeline-operator\n// https://github.com/js-choi/proposal-hack-pipes\ndefineType(\"TopicReference\", {\n aliases: [\"Expression\"],\n});\n\n// https://github.com/tc39/proposal-pipeline-operator\n// https://github.com/js-choi/proposal-smart-pipes\ndefineType(\"PipelineTopicExpression\", {\n builder: [\"expression\"],\n visitor: [\"expression\"],\n fields: {\n expression: {\n validate: assertNodeType(\"Expression\"),\n },\n },\n aliases: [\"Expression\"],\n});\n\ndefineType(\"PipelineBareFunction\", {\n builder: [\"callee\"],\n visitor: [\"callee\"],\n fields: {\n callee: {\n validate: assertNodeType(\"Expression\"),\n },\n },\n aliases: [\"Expression\"],\n});\n\ndefineType(\"PipelinePrimaryTopicReference\", {\n aliases: [\"Expression\"],\n});\n\n// https://github.com/tc39/proposal-discard-binding\ndefineType(\"VoidPattern\", {\n aliases: [\"Pattern\", \"PatternLike\", \"FunctionParameter\"],\n});\n"],"mappings":";;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAQA,IAAAC,cAAU,EAAC,qBAAqB,EAAE,CAAC,CAAC,CAAC;AAErC,IAAAA,cAAU,EAAC,gBAAgB,EAAE;EAC3BC,OAAO,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC;EAC7BC,OAAO,EAAE,CAAC,YAAY,CAAC;EACvBC,MAAM,EAC6B,CAACC,OAAO,CAACC,GAAG,CAACC,sBAAsB,GAChE;IACEC,MAAM,EAAE;MACNC,QAAQ,EAAEC,MAAM,CAACC,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE;QAChCC,cAAc,EAAE,CAAC,YAAY;MAC/B,CAAC;IACH,CAAC;IACDC,MAAM,E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AC,sBAAsB,EAAE;EACjCe,OAAO,EAAE,CAAC,QAAQ,CAAC;EACnBd,OAAO,EAAE,CAAC,QAAQ,CAAC;EACnBE,MAAM,EAAE;IACNS,MAAM,EAAE;MACNJ,QAAQ,EAAE,IAAAK,qBAAc,EAAC,YAAY;IACvC;EACF,CAAC;EACDX,OAAO,EAAE,CAAC,YAAY;AACxB,CAAC,CAAC;AAEF,IAAAF,cAAU,EAAC,+BAA+B,EAAE;EAC1CE,OAAO,EAAE,CAAC,YAAY;AACxB,CAAC,CAAC;AAGF,IAAAF,cAAU,EAAC,aAAa,EAAE;EACxBE,OAAO,EAAE,CAAC,SAAS,EAAE,aAAa,EAAE,mBAAmB;AACzD,CAAC,CAAC","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/definitions/flow.js b/node_modules/@babel/types/lib/definitions/flow.js new file mode 100644 index 0000000000000000000000000000000000000000..f0da2cbe1a7cd56eb35f1e68e328445bf916070f --- /dev/null +++ b/node_modules/@babel/types/lib/definitions/flow.js @@ -0,0 +1,495 @@ +"use strict"; + +var _core = require("./core.js"); +var _utils = require("./utils.js"); +const defineType = (0, _utils.defineAliasedType)("Flow"); +const defineInterfaceishType = name => { + const isDeclareClass = name === "DeclareClass"; + defineType(name, { + builder: ["id", "typeParameters", "extends", "body"], + visitor: ["id", "typeParameters", "extends", ...(isDeclareClass ? ["mixins", "implements"] : []), "body"], + aliases: ["FlowDeclaration", "Statement", "Declaration"], + fields: Object.assign({ + id: (0, _utils.validateType)("Identifier"), + typeParameters: (0, _utils.validateOptionalType)("TypeParameterDeclaration"), + extends: (0, _utils.validateOptional)((0, _utils.arrayOfType)("InterfaceExtends")) + }, isDeclareClass ? { + mixins: (0, _utils.validateOptional)((0, _utils.arrayOfType)("InterfaceExtends")), + implements: (0, _utils.validateOptional)((0, _utils.arrayOfType)("ClassImplements")) + } : {}, { + body: (0, _utils.validateType)("ObjectTypeAnnotation") + }) + }); +}; +defineType("AnyTypeAnnotation", { + aliases: ["FlowType", "FlowBaseAnnotation"] +}); +defineType("ArrayTypeAnnotation", { + visitor: ["elementType"], + aliases: ["FlowType"], + fields: { + elementType: (0, _utils.validateType)("FlowType") + } +}); +defineType("BooleanTypeAnnotation", { + aliases: ["FlowType", "FlowBaseAnnotation"] +}); +defineType("BooleanLiteralTypeAnnotation", { + builder: ["value"], + aliases: ["FlowType"], + fields: { + value: (0, _utils.validate)((0, _utils.assertValueType)("boolean")) + } +}); +defineType("NullLiteralTypeAnnotation", { + aliases: ["FlowType", "FlowBaseAnnotation"] +}); +defineType("ClassImplements", { + visitor: ["id", "typeParameters"], + fields: { + id: (0, _utils.validateType)("Identifier"), + typeParameters: (0, _utils.validateOptionalType)("TypeParameterInstantiation") + } +}); +defineInterfaceishType("DeclareClass"); +defineType("DeclareFunction", { + builder: ["id"], + visitor: ["id", "predicate"], + aliases: ["FlowDeclaration", "Statement", "Declaration"], + fields: { + id: (0, _utils.validateType)("Identifier"), + predicate: (0, _utils.validateOptionalType)("DeclaredPredicate") + } +}); +defineInterfaceishType("DeclareInterface"); +defineType("DeclareModule", { + builder: ["id", "body", "kind"], + visitor: ["id", "body"], + aliases: ["FlowDeclaration", "Statement", "Declaration"], + fields: { + id: (0, _utils.validateType)("Identifier", "StringLiteral"), + body: (0, _utils.validateType)("BlockStatement"), + kind: (0, _utils.validateOptional)((0, _utils.assertOneOf)("CommonJS", "ES")) + } +}); +defineType("DeclareModuleExports", { + visitor: ["typeAnnotation"], + aliases: ["FlowDeclaration", "Statement", "Declaration"], + fields: { + typeAnnotation: (0, _utils.validateType)("TypeAnnotation") + } +}); +defineType("DeclareTypeAlias", { + visitor: ["id", "typeParameters", "right"], + aliases: ["FlowDeclaration", "Statement", "Declaration"], + fields: { + id: (0, _utils.validateType)("Identifier"), + typeParameters: (0, _utils.validateOptionalType)("TypeParameterDeclaration"), + right: (0, _utils.validateType)("FlowType") + } +}); +defineType("DeclareOpaqueType", { + visitor: ["id", "typeParameters", "supertype"], + aliases: ["FlowDeclaration", "Statement", "Declaration"], + fields: { + id: (0, _utils.validateType)("Identifier"), + typeParameters: (0, _utils.validateOptionalType)("TypeParameterDeclaration"), + supertype: (0, _utils.validateOptionalType)("FlowType"), + impltype: (0, _utils.validateOptionalType)("FlowType") + } +}); +defineType("DeclareVariable", { + visitor: ["id"], + aliases: ["FlowDeclaration", "Statement", "Declaration"], + fields: { + id: (0, _utils.validateType)("Identifier") + } +}); +defineType("DeclareExportDeclaration", { + visitor: ["declaration", "specifiers", "source", "attributes"], + aliases: ["FlowDeclaration", "Statement", "Declaration"], + fields: Object.assign({ + declaration: (0, _utils.validateOptionalType)("Flow"), + specifiers: (0, _utils.validateOptional)((0, _utils.arrayOfType)("ExportSpecifier", "ExportNamespaceSpecifier")), + source: (0, _utils.validateOptionalType)("StringLiteral"), + default: (0, _utils.validateOptional)((0, _utils.assertValueType)("boolean")) + }, _core.importAttributes) +}); +defineType("DeclareExportAllDeclaration", { + visitor: ["source", "attributes"], + aliases: ["FlowDeclaration", "Statement", "Declaration"], + fields: Object.assign({ + source: (0, _utils.validateType)("StringLiteral"), + exportKind: (0, _utils.validateOptional)((0, _utils.assertOneOf)("type", "value")) + }, _core.importAttributes) +}); +defineType("DeclaredPredicate", { + visitor: ["value"], + aliases: ["FlowPredicate"], + fields: { + value: (0, _utils.validateType)("Flow") + } +}); +defineType("ExistsTypeAnnotation", { + aliases: ["FlowType"] +}); +defineType("FunctionTypeAnnotation", { + builder: ["typeParameters", "params", "rest", "returnType"], + visitor: ["typeParameters", "this", "params", "rest", "returnType"], + aliases: ["FlowType"], + fields: { + typeParameters: (0, _utils.validateOptionalType)("TypeParameterDeclaration"), + params: (0, _utils.validateArrayOfType)("FunctionTypeParam"), + rest: (0, _utils.validateOptionalType)("FunctionTypeParam"), + this: (0, _utils.validateOptionalType)("FunctionTypeParam"), + returnType: (0, _utils.validateType)("FlowType") + } +}); +defineType("FunctionTypeParam", { + visitor: ["name", "typeAnnotation"], + fields: { + name: (0, _utils.validateOptionalType)("Identifier"), + typeAnnotation: (0, _utils.validateType)("FlowType"), + optional: (0, _utils.validateOptional)((0, _utils.assertValueType)("boolean")) + } +}); +defineType("GenericTypeAnnotation", { + visitor: ["id", "typeParameters"], + aliases: ["FlowType"], + fields: { + id: (0, _utils.validateType)("Identifier", "QualifiedTypeIdentifier"), + typeParameters: (0, _utils.validateOptionalType)("TypeParameterInstantiation") + } +}); +defineType("InferredPredicate", { + aliases: ["FlowPredicate"] +}); +defineType("InterfaceExtends", { + visitor: ["id", "typeParameters"], + fields: { + id: (0, _utils.validateType)("Identifier", "QualifiedTypeIdentifier"), + typeParameters: (0, _utils.validateOptionalType)("TypeParameterInstantiation") + } +}); +defineInterfaceishType("InterfaceDeclaration"); +defineType("InterfaceTypeAnnotation", { + visitor: ["extends", "body"], + aliases: ["FlowType"], + fields: { + extends: (0, _utils.validateOptional)((0, _utils.arrayOfType)("InterfaceExtends")), + body: (0, _utils.validateType)("ObjectTypeAnnotation") + } +}); +defineType("IntersectionTypeAnnotation", { + visitor: ["types"], + aliases: ["FlowType"], + fields: { + types: (0, _utils.validate)((0, _utils.arrayOfType)("FlowType")) + } +}); +defineType("MixedTypeAnnotation", { + aliases: ["FlowType", "FlowBaseAnnotation"] +}); +defineType("EmptyTypeAnnotation", { + aliases: ["FlowType", "FlowBaseAnnotation"] +}); +defineType("NullableTypeAnnotation", { + visitor: ["typeAnnotation"], + aliases: ["FlowType"], + fields: { + typeAnnotation: (0, _utils.validateType)("FlowType") + } +}); +defineType("NumberLiteralTypeAnnotation", { + builder: ["value"], + aliases: ["FlowType"], + fields: { + value: (0, _utils.validate)((0, _utils.assertValueType)("number")) + } +}); +defineType("NumberTypeAnnotation", { + aliases: ["FlowType", "FlowBaseAnnotation"] +}); +defineType("ObjectTypeAnnotation", { + visitor: ["properties", "indexers", "callProperties", "internalSlots"], + aliases: ["FlowType"], + builder: ["properties", "indexers", "callProperties", "internalSlots", "exact"], + fields: { + properties: (0, _utils.validate)((0, _utils.arrayOfType)("ObjectTypeProperty", "ObjectTypeSpreadProperty")), + indexers: { + validate: (0, _utils.arrayOfType)("ObjectTypeIndexer"), + optional: true, + default: [] + }, + callProperties: { + validate: (0, _utils.arrayOfType)("ObjectTypeCallProperty"), + optional: true, + default: [] + }, + internalSlots: { + validate: (0, _utils.arrayOfType)("ObjectTypeInternalSlot"), + optional: true, + default: [] + }, + exact: { + validate: (0, _utils.assertValueType)("boolean"), + default: false + }, + inexact: (0, _utils.validateOptional)((0, _utils.assertValueType)("boolean")) + } +}); +defineType("ObjectTypeInternalSlot", { + visitor: ["id", "value"], + builder: ["id", "value", "optional", "static", "method"], + aliases: ["UserWhitespacable"], + fields: { + id: (0, _utils.validateType)("Identifier"), + value: (0, _utils.validateType)("FlowType"), + optional: (0, _utils.validate)((0, _utils.assertValueType)("boolean")), + static: (0, _utils.validate)((0, _utils.assertValueType)("boolean")), + method: (0, _utils.validate)((0, _utils.assertValueType)("boolean")) + } +}); +defineType("ObjectTypeCallProperty", { + visitor: ["value"], + aliases: ["UserWhitespacable"], + fields: { + value: (0, _utils.validateType)("FlowType"), + static: (0, _utils.validate)((0, _utils.assertValueType)("boolean")) + } +}); +defineType("ObjectTypeIndexer", { + visitor: ["variance", "id", "key", "value"], + builder: ["id", "key", "value", "variance"], + aliases: ["UserWhitespacable"], + fields: { + id: (0, _utils.validateOptionalType)("Identifier"), + key: (0, _utils.validateType)("FlowType"), + value: (0, _utils.validateType)("FlowType"), + static: (0, _utils.validate)((0, _utils.assertValueType)("boolean")), + variance: (0, _utils.validateOptionalType)("Variance") + } +}); +defineType("ObjectTypeProperty", { + visitor: ["key", "value", "variance"], + aliases: ["UserWhitespacable"], + fields: { + key: (0, _utils.validateType)("Identifier", "StringLiteral"), + value: (0, _utils.validateType)("FlowType"), + kind: (0, _utils.validate)((0, _utils.assertOneOf)("init", "get", "set")), + static: (0, _utils.validate)((0, _utils.assertValueType)("boolean")), + proto: (0, _utils.validate)((0, _utils.assertValueType)("boolean")), + optional: (0, _utils.validate)((0, _utils.assertValueType)("boolean")), + variance: (0, _utils.validateOptionalType)("Variance"), + method: (0, _utils.validate)((0, _utils.assertValueType)("boolean")) + } +}); +defineType("ObjectTypeSpreadProperty", { + visitor: ["argument"], + aliases: ["UserWhitespacable"], + fields: { + argument: (0, _utils.validateType)("FlowType") + } +}); +defineType("OpaqueType", { + visitor: ["id", "typeParameters", "supertype", "impltype"], + aliases: ["FlowDeclaration", "Statement", "Declaration"], + fields: { + id: (0, _utils.validateType)("Identifier"), + typeParameters: (0, _utils.validateOptionalType)("TypeParameterDeclaration"), + supertype: (0, _utils.validateOptionalType)("FlowType"), + impltype: (0, _utils.validateType)("FlowType") + } +}); +defineType("QualifiedTypeIdentifier", { + visitor: ["qualification", "id"], + builder: ["id", "qualification"], + fields: { + id: (0, _utils.validateType)("Identifier"), + qualification: (0, _utils.validateType)("Identifier", "QualifiedTypeIdentifier") + } +}); +defineType("StringLiteralTypeAnnotation", { + builder: ["value"], + aliases: ["FlowType"], + fields: { + value: (0, _utils.validate)((0, _utils.assertValueType)("string")) + } +}); +defineType("StringTypeAnnotation", { + aliases: ["FlowType", "FlowBaseAnnotation"] +}); +defineType("SymbolTypeAnnotation", { + aliases: ["FlowType", "FlowBaseAnnotation"] +}); +defineType("ThisTypeAnnotation", { + aliases: ["FlowType", "FlowBaseAnnotation"] +}); +defineType("TupleTypeAnnotation", { + visitor: ["types"], + aliases: ["FlowType"], + fields: { + types: (0, _utils.validate)((0, _utils.arrayOfType)("FlowType")) + } +}); +defineType("TypeofTypeAnnotation", { + visitor: ["argument"], + aliases: ["FlowType"], + fields: { + argument: (0, _utils.validateType)("FlowType") + } +}); +defineType("TypeAlias", { + visitor: ["id", "typeParameters", "right"], + aliases: ["FlowDeclaration", "Statement", "Declaration"], + fields: { + id: (0, _utils.validateType)("Identifier"), + typeParameters: (0, _utils.validateOptionalType)("TypeParameterDeclaration"), + right: (0, _utils.validateType)("FlowType") + } +}); +defineType("TypeAnnotation", { + visitor: ["typeAnnotation"], + fields: { + typeAnnotation: (0, _utils.validateType)("FlowType") + } +}); +defineType("TypeCastExpression", { + visitor: ["expression", "typeAnnotation"], + aliases: ["ExpressionWrapper", "Expression"], + fields: { + expression: (0, _utils.validateType)("Expression"), + typeAnnotation: (0, _utils.validateType)("TypeAnnotation") + } +}); +defineType("TypeParameter", { + visitor: ["bound", "default", "variance"], + fields: { + name: (0, _utils.validate)((0, _utils.assertValueType)("string")), + bound: (0, _utils.validateOptionalType)("TypeAnnotation"), + default: (0, _utils.validateOptionalType)("FlowType"), + variance: (0, _utils.validateOptionalType)("Variance") + } +}); +defineType("TypeParameterDeclaration", { + visitor: ["params"], + fields: { + params: (0, _utils.validate)((0, _utils.arrayOfType)("TypeParameter")) + } +}); +defineType("TypeParameterInstantiation", { + visitor: ["params"], + fields: { + params: (0, _utils.validate)((0, _utils.arrayOfType)("FlowType")) + } +}); +defineType("UnionTypeAnnotation", { + visitor: ["types"], + aliases: ["FlowType"], + fields: { + types: (0, _utils.validate)((0, _utils.arrayOfType)("FlowType")) + } +}); +defineType("Variance", { + builder: ["kind"], + fields: { + kind: (0, _utils.validate)((0, _utils.assertOneOf)("minus", "plus")) + } +}); +defineType("VoidTypeAnnotation", { + aliases: ["FlowType", "FlowBaseAnnotation"] +}); +defineType("EnumDeclaration", { + aliases: ["Statement", "Declaration"], + visitor: ["id", "body"], + fields: { + id: (0, _utils.validateType)("Identifier"), + body: (0, _utils.validateType)("EnumBooleanBody", "EnumNumberBody", "EnumStringBody", "EnumSymbolBody") + } +}); +defineType("EnumBooleanBody", { + aliases: ["EnumBody"], + visitor: ["members"], + fields: { + explicitType: (0, _utils.validate)((0, _utils.assertValueType)("boolean")), + members: (0, _utils.validateArrayOfType)("EnumBooleanMember"), + hasUnknownMembers: (0, _utils.validate)((0, _utils.assertValueType)("boolean")) + } +}); +defineType("EnumNumberBody", { + aliases: ["EnumBody"], + visitor: ["members"], + fields: { + explicitType: (0, _utils.validate)((0, _utils.assertValueType)("boolean")), + members: (0, _utils.validateArrayOfType)("EnumNumberMember"), + hasUnknownMembers: (0, _utils.validate)((0, _utils.assertValueType)("boolean")) + } +}); +defineType("EnumStringBody", { + aliases: ["EnumBody"], + visitor: ["members"], + fields: { + explicitType: (0, _utils.validate)((0, _utils.assertValueType)("boolean")), + members: (0, _utils.validateArrayOfType)("EnumStringMember", "EnumDefaultedMember"), + hasUnknownMembers: (0, _utils.validate)((0, _utils.assertValueType)("boolean")) + } +}); +defineType("EnumSymbolBody", { + aliases: ["EnumBody"], + visitor: ["members"], + fields: { + members: (0, _utils.validateArrayOfType)("EnumDefaultedMember"), + hasUnknownMembers: (0, _utils.validate)((0, _utils.assertValueType)("boolean")) + } +}); +defineType("EnumBooleanMember", { + aliases: ["EnumMember"], + builder: ["id"], + visitor: ["id", "init"], + fields: { + id: (0, _utils.validateType)("Identifier"), + init: (0, _utils.validateType)("BooleanLiteral") + } +}); +defineType("EnumNumberMember", { + aliases: ["EnumMember"], + visitor: ["id", "init"], + fields: { + id: (0, _utils.validateType)("Identifier"), + init: (0, _utils.validateType)("NumericLiteral") + } +}); +defineType("EnumStringMember", { + aliases: ["EnumMember"], + visitor: ["id", "init"], + fields: { + id: (0, _utils.validateType)("Identifier"), + init: (0, _utils.validateType)("StringLiteral") + } +}); +defineType("EnumDefaultedMember", { + aliases: ["EnumMember"], + visitor: ["id"], + fields: { + id: (0, _utils.validateType)("Identifier") + } +}); +defineType("IndexedAccessType", { + visitor: ["objectType", "indexType"], + aliases: ["FlowType"], + fields: { + objectType: (0, _utils.validateType)("FlowType"), + indexType: (0, _utils.validateType)("FlowType") + } +}); +defineType("OptionalIndexedAccessType", { + visitor: ["objectType", "indexType"], + aliases: ["FlowType"], + fields: { + objectType: (0, _utils.validateType)("FlowType"), + indexType: (0, _utils.validateType)("FlowType"), + optional: (0, _utils.validate)((0, _utils.assertValueType)("boolean")) + } +}); + +//# sourceMappingURL=flow.js.map diff --git a/node_modules/@babel/types/lib/definitions/flow.js.map b/node_modules/@babel/types/lib/definitions/flow.js.map new file mode 100644 index 0000000000000000000000000000000000000000..8ef36ba2060f2c7b95e09d8ff0c642df5d95a132 --- /dev/null +++ b/node_modules/@babel/types/lib/definitions/flow.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_core","require","_utils","defineType","defineAliasedType","defineInterfaceishType","name","isDeclareClass","builder","visitor","aliases","fields","Object","assign","id","validateType","typeParameters","validateOptionalType","extends","validateOptional","arrayOfType","mixins","implements","body","elementType","value","validate","assertValueType","predicate","kind","assertOneOf","typeAnnotation","right","supertype","impltype","declaration","specifiers","source","default","importAttributes","exportKind","params","validateArrayOfType","rest","this","returnType","optional","types","properties","indexers","callProperties","internalSlots","exact","inexact","static","method","key","variance","proto","argument","qualification","expression","bound","explicitType","members","hasUnknownMembers","init","objectType","indexType"],"sources":["../../src/definitions/flow.ts"],"sourcesContent":["import { importAttributes } from \"./core.ts\";\nimport {\n defineAliasedType,\n arrayOfType,\n assertOneOf,\n assertValueType,\n validate,\n validateArrayOfType,\n validateOptional,\n validateOptionalType,\n validateType,\n} from \"./utils.ts\";\n\nconst defineType = defineAliasedType(\"Flow\");\n\nconst defineInterfaceishType = (\n name: \"DeclareClass\" | \"DeclareInterface\" | \"InterfaceDeclaration\",\n) => {\n const isDeclareClass = name === \"DeclareClass\";\n\n defineType(name, {\n builder: [\"id\", \"typeParameters\", \"extends\", \"body\"],\n visitor: [\n \"id\",\n \"typeParameters\",\n \"extends\",\n ...(isDeclareClass ? [\"mixins\", \"implements\"] : []),\n \"body\",\n ],\n aliases: [\"FlowDeclaration\", \"Statement\", \"Declaration\"],\n fields: {\n id: validateType(\"Identifier\"),\n typeParameters: validateOptionalType(\"TypeParameterDeclaration\"),\n extends: validateOptional(arrayOfType(\"InterfaceExtends\")),\n ...(isDeclareClass\n ? {\n mixins: validateOptional(arrayOfType(\"InterfaceExtends\")),\n implements: validateOptional(arrayOfType(\"ClassImplements\")),\n }\n : {}),\n body: validateType(\"ObjectTypeAnnotation\"),\n },\n });\n};\n\ndefineType(\"AnyTypeAnnotation\", {\n aliases: [\"FlowType\", \"FlowBaseAnnotation\"],\n});\n\ndefineType(\"ArrayTypeAnnotation\", {\n visitor: [\"elementType\"],\n aliases: [\"FlowType\"],\n fields: {\n elementType: validateType(\"FlowType\"),\n },\n});\n\ndefineType(\"BooleanTypeAnnotation\", {\n aliases: [\"FlowType\", \"FlowBaseAnnotation\"],\n});\n\ndefineType(\"BooleanLiteralTypeAnnotation\", {\n builder: [\"value\"],\n aliases: [\"FlowType\"],\n fields: {\n value: validate(assertValueType(\"boolean\")),\n },\n});\n\ndefineType(\"NullLiteralTypeAnnotation\", {\n aliases: [\"FlowType\", \"FlowBaseAnnotation\"],\n});\n\ndefineType(\"ClassImplements\", {\n visitor: [\"id\", \"typeParameters\"],\n fields: {\n id: validateType(\"Identifier\"),\n typeParameters: validateOptionalType(\"TypeParameterInstantiation\"),\n },\n});\n\ndefineInterfaceishType(\"DeclareClass\");\n\ndefineType(\"DeclareFunction\", {\n builder: [\"id\"],\n visitor: [\"id\", \"predicate\"],\n aliases: [\"FlowDeclaration\", \"Statement\", \"Declaration\"],\n fields: {\n id: validateType(\"Identifier\"),\n predicate: validateOptionalType(\"DeclaredPredicate\"),\n },\n});\n\ndefineInterfaceishType(\"DeclareInterface\");\n\ndefineType(\"DeclareModule\", {\n builder: [\"id\", \"body\", \"kind\"],\n visitor: [\"id\", \"body\"],\n aliases: [\"FlowDeclaration\", \"Statement\", \"Declaration\"],\n fields: {\n id: validateType(\"Identifier\", \"StringLiteral\"),\n body: validateType(\"BlockStatement\"),\n kind: validateOptional(assertOneOf(\"CommonJS\", \"ES\")),\n },\n});\n\ndefineType(\"DeclareModuleExports\", {\n visitor: [\"typeAnnotation\"],\n aliases: [\"FlowDeclaration\", \"Statement\", \"Declaration\"],\n fields: {\n typeAnnotation: validateType(\"TypeAnnotation\"),\n },\n});\n\ndefineType(\"DeclareTypeAlias\", {\n visitor: [\"id\", \"typeParameters\", \"right\"],\n aliases: [\"FlowDeclaration\", \"Statement\", \"Declaration\"],\n fields: {\n id: validateType(\"Identifier\"),\n typeParameters: validateOptionalType(\"TypeParameterDeclaration\"),\n right: validateType(\"FlowType\"),\n },\n});\n\ndefineType(\"DeclareOpaqueType\", {\n visitor: [\"id\", \"typeParameters\", \"supertype\"],\n aliases: [\"FlowDeclaration\", \"Statement\", \"Declaration\"],\n fields: {\n id: validateType(\"Identifier\"),\n typeParameters: validateOptionalType(\"TypeParameterDeclaration\"),\n supertype: validateOptionalType(\"FlowType\"),\n impltype: validateOptionalType(\"FlowType\"),\n },\n});\n\ndefineType(\"DeclareVariable\", {\n visitor: [\"id\"],\n aliases: [\"FlowDeclaration\", \"Statement\", \"Declaration\"],\n fields: {\n id: validateType(\"Identifier\"),\n },\n});\n\ndefineType(\"DeclareExportDeclaration\", {\n visitor: [\"declaration\", \"specifiers\", \"source\", \"attributes\"],\n aliases: [\"FlowDeclaration\", \"Statement\", \"Declaration\"],\n fields: {\n declaration: validateOptionalType(\"Flow\"),\n specifiers: validateOptional(\n arrayOfType(\"ExportSpecifier\", \"ExportNamespaceSpecifier\"),\n ),\n source: validateOptionalType(\"StringLiteral\"),\n default: validateOptional(assertValueType(\"boolean\")),\n ...importAttributes,\n },\n});\n\ndefineType(\"DeclareExportAllDeclaration\", {\n visitor: [\"source\", \"attributes\"],\n aliases: [\"FlowDeclaration\", \"Statement\", \"Declaration\"],\n fields: {\n source: validateType(\"StringLiteral\"),\n exportKind: validateOptional(assertOneOf(\"type\", \"value\")),\n ...importAttributes,\n },\n});\n\ndefineType(\"DeclaredPredicate\", {\n visitor: [\"value\"],\n aliases: [\"FlowPredicate\"],\n fields: {\n value: validateType(\"Flow\"),\n },\n});\n\ndefineType(\"ExistsTypeAnnotation\", {\n aliases: [\"FlowType\"],\n});\n\ndefineType(\"FunctionTypeAnnotation\", {\n builder: [\"typeParameters\", \"params\", \"rest\", \"returnType\"],\n visitor: [\"typeParameters\", \"this\", \"params\", \"rest\", \"returnType\"],\n aliases: [\"FlowType\"],\n fields: {\n typeParameters: validateOptionalType(\"TypeParameterDeclaration\"),\n params: validateArrayOfType(\"FunctionTypeParam\"),\n rest: validateOptionalType(\"FunctionTypeParam\"),\n this: validateOptionalType(\"FunctionTypeParam\"),\n returnType: validateType(\"FlowType\"),\n },\n});\n\ndefineType(\"FunctionTypeParam\", {\n visitor: [\"name\", \"typeAnnotation\"],\n fields: {\n name: validateOptionalType(\"Identifier\"),\n typeAnnotation: validateType(\"FlowType\"),\n optional: validateOptional(assertValueType(\"boolean\")),\n },\n});\n\ndefineType(\"GenericTypeAnnotation\", {\n visitor: [\"id\", \"typeParameters\"],\n aliases: [\"FlowType\"],\n fields: {\n id: validateType(\"Identifier\", \"QualifiedTypeIdentifier\"),\n typeParameters: validateOptionalType(\"TypeParameterInstantiation\"),\n },\n});\n\ndefineType(\"InferredPredicate\", {\n aliases: [\"FlowPredicate\"],\n});\n\ndefineType(\"InterfaceExtends\", {\n visitor: [\"id\", \"typeParameters\"],\n fields: {\n id: validateType(\"Identifier\", \"QualifiedTypeIdentifier\"),\n typeParameters: validateOptionalType(\"TypeParameterInstantiation\"),\n },\n});\n\ndefineInterfaceishType(\"InterfaceDeclaration\");\n\ndefineType(\"InterfaceTypeAnnotation\", {\n visitor: [\"extends\", \"body\"],\n aliases: [\"FlowType\"],\n fields: {\n extends: validateOptional(arrayOfType(\"InterfaceExtends\")),\n body: validateType(\"ObjectTypeAnnotation\"),\n },\n});\n\ndefineType(\"IntersectionTypeAnnotation\", {\n visitor: [\"types\"],\n aliases: [\"FlowType\"],\n fields: {\n types: validate(arrayOfType(\"FlowType\")),\n },\n});\n\ndefineType(\"MixedTypeAnnotation\", {\n aliases: [\"FlowType\", \"FlowBaseAnnotation\"],\n});\n\ndefineType(\"EmptyTypeAnnotation\", {\n aliases: [\"FlowType\", \"FlowBaseAnnotation\"],\n});\n\ndefineType(\"NullableTypeAnnotation\", {\n visitor: [\"typeAnnotation\"],\n aliases: [\"FlowType\"],\n fields: {\n typeAnnotation: validateType(\"FlowType\"),\n },\n});\n\ndefineType(\"NumberLiteralTypeAnnotation\", {\n builder: [\"value\"],\n aliases: [\"FlowType\"],\n fields: {\n value: validate(assertValueType(\"number\")),\n },\n});\n\ndefineType(\"NumberTypeAnnotation\", {\n aliases: [\"FlowType\", \"FlowBaseAnnotation\"],\n});\n\ndefineType(\"ObjectTypeAnnotation\", {\n visitor: [\"properties\", \"indexers\", \"callProperties\", \"internalSlots\"],\n aliases: [\"FlowType\"],\n builder: [\n \"properties\",\n \"indexers\",\n \"callProperties\",\n \"internalSlots\",\n \"exact\",\n ],\n fields: {\n properties: validate(\n arrayOfType(\"ObjectTypeProperty\", \"ObjectTypeSpreadProperty\"),\n ),\n indexers: {\n validate: arrayOfType(\"ObjectTypeIndexer\"),\n optional: process.env.BABEL_8_BREAKING ? false : true,\n default: [],\n },\n callProperties: {\n validate: arrayOfType(\"ObjectTypeCallProperty\"),\n optional: process.env.BABEL_8_BREAKING ? false : true,\n default: [],\n },\n internalSlots: {\n validate: arrayOfType(\"ObjectTypeInternalSlot\"),\n optional: process.env.BABEL_8_BREAKING ? false : true,\n default: [],\n },\n exact: {\n validate: assertValueType(\"boolean\"),\n default: false,\n },\n // If the inexact flag is present then this is an object type, and not a\n // declare class, declare interface, or interface. If it is true, the\n // object uses ... to express that it is inexact.\n inexact: validateOptional(assertValueType(\"boolean\")),\n },\n});\n\ndefineType(\"ObjectTypeInternalSlot\", {\n visitor: [\"id\", \"value\"],\n builder: [\"id\", \"value\", \"optional\", \"static\", \"method\"],\n aliases: [\"UserWhitespacable\"],\n fields: {\n id: validateType(\"Identifier\"),\n value: validateType(\"FlowType\"),\n optional: validate(assertValueType(\"boolean\")),\n static: validate(assertValueType(\"boolean\")),\n method: validate(assertValueType(\"boolean\")),\n },\n});\n\ndefineType(\"ObjectTypeCallProperty\", {\n visitor: [\"value\"],\n aliases: [\"UserWhitespacable\"],\n fields: {\n value: validateType(\"FlowType\"),\n static: validate(assertValueType(\"boolean\")),\n },\n});\n\ndefineType(\"ObjectTypeIndexer\", {\n visitor: [\"variance\", \"id\", \"key\", \"value\"],\n builder: [\"id\", \"key\", \"value\", \"variance\"],\n aliases: [\"UserWhitespacable\"],\n fields: {\n id: validateOptionalType(\"Identifier\"),\n key: validateType(\"FlowType\"),\n value: validateType(\"FlowType\"),\n static: validate(assertValueType(\"boolean\")),\n variance: validateOptionalType(\"Variance\"),\n },\n});\n\ndefineType(\"ObjectTypeProperty\", {\n visitor: [\"key\", \"value\", \"variance\"],\n aliases: [\"UserWhitespacable\"],\n fields: {\n key: validateType(\"Identifier\", \"StringLiteral\"),\n value: validateType(\"FlowType\"),\n kind: validate(assertOneOf(\"init\", \"get\", \"set\")),\n static: validate(assertValueType(\"boolean\")),\n proto: validate(assertValueType(\"boolean\")),\n optional: validate(assertValueType(\"boolean\")),\n variance: validateOptionalType(\"Variance\"),\n method: validate(assertValueType(\"boolean\")),\n },\n});\n\ndefineType(\"ObjectTypeSpreadProperty\", {\n visitor: [\"argument\"],\n aliases: [\"UserWhitespacable\"],\n fields: {\n argument: validateType(\"FlowType\"),\n },\n});\n\ndefineType(\"OpaqueType\", {\n visitor: [\"id\", \"typeParameters\", \"supertype\", \"impltype\"],\n aliases: [\"FlowDeclaration\", \"Statement\", \"Declaration\"],\n fields: {\n id: validateType(\"Identifier\"),\n typeParameters: validateOptionalType(\"TypeParameterDeclaration\"),\n supertype: validateOptionalType(\"FlowType\"),\n impltype: validateType(\"FlowType\"),\n },\n});\n\ndefineType(\"QualifiedTypeIdentifier\", {\n visitor: [\"qualification\", \"id\"],\n builder: [\"id\", \"qualification\"],\n fields: {\n id: validateType(\"Identifier\"),\n qualification: validateType(\"Identifier\", \"QualifiedTypeIdentifier\"),\n },\n});\n\ndefineType(\"StringLiteralTypeAnnotation\", {\n builder: [\"value\"],\n aliases: [\"FlowType\"],\n fields: {\n value: validate(assertValueType(\"string\")),\n },\n});\n\ndefineType(\"StringTypeAnnotation\", {\n aliases: [\"FlowType\", \"FlowBaseAnnotation\"],\n});\n\ndefineType(\"SymbolTypeAnnotation\", {\n aliases: [\"FlowType\", \"FlowBaseAnnotation\"],\n});\n\ndefineType(\"ThisTypeAnnotation\", {\n aliases: [\"FlowType\", \"FlowBaseAnnotation\"],\n});\n\ndefineType(\"TupleTypeAnnotation\", {\n visitor: [\"types\"],\n aliases: [\"FlowType\"],\n fields: {\n types: validate(arrayOfType(\"FlowType\")),\n },\n});\n\ndefineType(\"TypeofTypeAnnotation\", {\n visitor: [\"argument\"],\n aliases: [\"FlowType\"],\n fields: {\n argument: validateType(\"FlowType\"),\n },\n});\n\ndefineType(\"TypeAlias\", {\n visitor: [\"id\", \"typeParameters\", \"right\"],\n aliases: [\"FlowDeclaration\", \"Statement\", \"Declaration\"],\n fields: {\n id: validateType(\"Identifier\"),\n typeParameters: validateOptionalType(\"TypeParameterDeclaration\"),\n right: validateType(\"FlowType\"),\n },\n});\n\ndefineType(\"TypeAnnotation\", {\n visitor: [\"typeAnnotation\"],\n fields: {\n typeAnnotation: validateType(\"FlowType\"),\n },\n});\n\ndefineType(\"TypeCastExpression\", {\n visitor: [\"expression\", \"typeAnnotation\"],\n aliases: [\"ExpressionWrapper\", \"Expression\"],\n fields: {\n expression: validateType(\"Expression\"),\n typeAnnotation: validateType(\"TypeAnnotation\"),\n },\n});\n\ndefineType(\"TypeParameter\", {\n visitor: [\"bound\", \"default\", \"variance\"],\n fields: {\n name: validate(assertValueType(\"string\")),\n bound: validateOptionalType(\"TypeAnnotation\"),\n default: validateOptionalType(\"FlowType\"),\n variance: validateOptionalType(\"Variance\"),\n },\n});\n\ndefineType(\"TypeParameterDeclaration\", {\n visitor: [\"params\"],\n fields: {\n params: validate(arrayOfType(\"TypeParameter\")),\n },\n});\n\ndefineType(\"TypeParameterInstantiation\", {\n visitor: [\"params\"],\n fields: {\n params: validate(arrayOfType(\"FlowType\")),\n },\n});\n\ndefineType(\"UnionTypeAnnotation\", {\n visitor: [\"types\"],\n aliases: [\"FlowType\"],\n fields: {\n types: validate(arrayOfType(\"FlowType\")),\n },\n});\n\ndefineType(\"Variance\", {\n builder: [\"kind\"],\n fields: {\n kind: validate(assertOneOf(\"minus\", \"plus\")),\n },\n});\n\ndefineType(\"VoidTypeAnnotation\", {\n aliases: [\"FlowType\", \"FlowBaseAnnotation\"],\n});\n\n// Enums\ndefineType(\"EnumDeclaration\", {\n aliases: [\"Statement\", \"Declaration\"],\n visitor: [\"id\", \"body\"],\n fields: {\n id: validateType(\"Identifier\"),\n body: validateType(\n \"EnumBooleanBody\",\n \"EnumNumberBody\",\n \"EnumStringBody\",\n \"EnumSymbolBody\",\n ),\n },\n});\n\ndefineType(\"EnumBooleanBody\", {\n aliases: [\"EnumBody\"],\n visitor: [\"members\"],\n fields: {\n explicitType: validate(assertValueType(\"boolean\")),\n members: validateArrayOfType(\"EnumBooleanMember\"),\n hasUnknownMembers: validate(assertValueType(\"boolean\")),\n },\n});\n\ndefineType(\"EnumNumberBody\", {\n aliases: [\"EnumBody\"],\n visitor: [\"members\"],\n fields: {\n explicitType: validate(assertValueType(\"boolean\")),\n members: validateArrayOfType(\"EnumNumberMember\"),\n hasUnknownMembers: validate(assertValueType(\"boolean\")),\n },\n});\n\ndefineType(\"EnumStringBody\", {\n aliases: [\"EnumBody\"],\n visitor: [\"members\"],\n fields: {\n explicitType: validate(assertValueType(\"boolean\")),\n members: validateArrayOfType(\"EnumStringMember\", \"EnumDefaultedMember\"),\n hasUnknownMembers: validate(assertValueType(\"boolean\")),\n },\n});\n\ndefineType(\"EnumSymbolBody\", {\n aliases: [\"EnumBody\"],\n visitor: [\"members\"],\n fields: {\n members: validateArrayOfType(\"EnumDefaultedMember\"),\n hasUnknownMembers: validate(assertValueType(\"boolean\")),\n },\n});\n\ndefineType(\"EnumBooleanMember\", {\n aliases: [\"EnumMember\"],\n builder: [\"id\"],\n visitor: [\"id\", \"init\"],\n fields: {\n id: validateType(\"Identifier\"),\n init: validateType(\"BooleanLiteral\"),\n },\n});\n\ndefineType(\"EnumNumberMember\", {\n aliases: [\"EnumMember\"],\n visitor: [\"id\", \"init\"],\n fields: {\n id: validateType(\"Identifier\"),\n init: validateType(\"NumericLiteral\"),\n },\n});\n\ndefineType(\"EnumStringMember\", {\n aliases: [\"EnumMember\"],\n visitor: [\"id\", \"init\"],\n fields: {\n id: validateType(\"Identifier\"),\n init: validateType(\"StringLiteral\"),\n },\n});\n\ndefineType(\"EnumDefaultedMember\", {\n aliases: [\"EnumMember\"],\n visitor: [\"id\"],\n fields: {\n id: validateType(\"Identifier\"),\n },\n});\n\ndefineType(\"IndexedAccessType\", {\n visitor: [\"objectType\", \"indexType\"],\n aliases: [\"FlowType\"],\n fields: {\n objectType: validateType(\"FlowType\"),\n indexType: validateType(\"FlowType\"),\n },\n});\n\ndefineType(\"OptionalIndexedAccessType\", {\n visitor: [\"objectType\", \"indexType\"],\n aliases: [\"FlowType\"],\n fields: {\n objectType: validateType(\"FlowType\"),\n indexType: validateType(\"FlowType\"),\n optional: validate(assertValueType(\"boolean\")),\n },\n});\n"],"mappings":";;AAAA,IAAAA,KAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAYA,MAAME,UAAU,GAAG,IAAAC,wBAAiB,EAAC,MAAM,CAAC;AAE5C,MAAMC,sBAAsB,GAC1BC,IAAkE,IAC/D;EACH,MAAMC,cAAc,GAAGD,IAAI,KAAK,cAAc;EAE9CH,UAAU,CAACG,IAAI,EAAE;IACfE,OAAO,EAAE,CAAC,IAAI,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,CAAC;IACpDC,OAAO,EAAE,CACP,IAAI,EACJ,gBAAgB,EAChB,SAAS,EACT,IAAIF,cAAc,GAAG,CAAC,QAAQ,EAAE,YAAY,CAAC,GAAG,EAAE,CAAC,EACnD,MAAM,CACP;IACDG,OAAO,EAAE,CAAC,iBAAiB,EAAE,WAAW,EAAE,aAAa,CAAC;IACxDC,MAAM,EAAAC,MAAA,CAAAC,MAAA;MAC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C,IAAI,CAAC;EACfE,MAAM,EAAE;IACNG,EAAE,EAAE,IAAAC,mBAAY,EAAC,YAAY;EAC/B;AACF,CAAC,CAAC;AAEFZ,UAAU,CAAC,mBAAmB,EAAE;EAC9BM,OAAO,EAAE,CAAC,YAAY,EAAE,WAAW,CAAC;EACpCC,OAAO,EAAE,CAAC,UAAU,CAAC;EACrBC,MAAM,EAAE;IACNwD,UAAU,EAAE,IAAApD,mBAAY,EAAC,UAAU,CAAC;IACpCqD,SAAS,EAAE,IAAArD,mBAAY,EAAC,UAAU;EACpC;AACF,CAAC,CAAC;AAEFZ,UAAU,CAAC,2BAA2B,EAAE;EACtCM,OAAO,EAAE,CAAC,YAAY,EAAE,WAAW,CAAC;EACpCC,OAAO,EAAE,CAAC,UAAU,CAAC;EACrBC,MAAM,EAAE;IACNwD,UAAU,EAAE,IAAApD,mBAAY,EAAC,UAAU,CAAC;IACpCqD,SAAS,EAAE,IAAArD,mBAAY,EAAC,UAAU,CAAC;IACnC+B,QAAQ,EAAE,IAAApB,eAAQ,EAAC,IAAAC,sBAAe,EAAC,SAAS,CAAC;EAC/C;AACF,CAAC,CAAC","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/definitions/index.js b/node_modules/@babel/types/lib/definitions/index.js new file mode 100644 index 0000000000000000000000000000000000000000..3dff0378958d09c447e1c7be1f13199651abead0 --- /dev/null +++ b/node_modules/@babel/types/lib/definitions/index.js @@ -0,0 +1,106 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +Object.defineProperty(exports, "ALIAS_KEYS", { + enumerable: true, + get: function () { + return _utils.ALIAS_KEYS; + } +}); +Object.defineProperty(exports, "BUILDER_KEYS", { + enumerable: true, + get: function () { + return _utils.BUILDER_KEYS; + } +}); +Object.defineProperty(exports, "DEPRECATED_ALIASES", { + enumerable: true, + get: function () { + return _deprecatedAliases.DEPRECATED_ALIASES; + } +}); +Object.defineProperty(exports, "DEPRECATED_KEYS", { + enumerable: true, + get: function () { + return _utils.DEPRECATED_KEYS; + } +}); +Object.defineProperty(exports, "FLIPPED_ALIAS_KEYS", { + enumerable: true, + get: function () { + return _utils.FLIPPED_ALIAS_KEYS; + } +}); +Object.defineProperty(exports, "NODE_FIELDS", { + enumerable: true, + get: function () { + return _utils.NODE_FIELDS; + } +}); +Object.defineProperty(exports, "NODE_PARENT_VALIDATIONS", { + enumerable: true, + get: function () { + return _utils.NODE_PARENT_VALIDATIONS; + } +}); +Object.defineProperty(exports, "NODE_UNION_SHAPES__PRIVATE", { + enumerable: true, + get: function () { + return _utils.NODE_UNION_SHAPES__PRIVATE; + } +}); +Object.defineProperty(exports, "PLACEHOLDERS", { + enumerable: true, + get: function () { + return _placeholders.PLACEHOLDERS; + } +}); +Object.defineProperty(exports, "PLACEHOLDERS_ALIAS", { + enumerable: true, + get: function () { + return _placeholders.PLACEHOLDERS_ALIAS; + } +}); +Object.defineProperty(exports, "PLACEHOLDERS_FLIPPED_ALIAS", { + enumerable: true, + get: function () { + return _placeholders.PLACEHOLDERS_FLIPPED_ALIAS; + } +}); +exports.TYPES = void 0; +Object.defineProperty(exports, "VISITOR_KEYS", { + enumerable: true, + get: function () { + return _utils.VISITOR_KEYS; + } +}); +require("./core.js"); +require("./flow.js"); +require("./jsx.js"); +require("./misc.js"); +require("./experimental.js"); +require("./typescript.js"); +var _utils = require("./utils.js"); +var _placeholders = require("./placeholders.js"); +var _deprecatedAliases = require("./deprecated-aliases.js"); +Object.keys(_deprecatedAliases.DEPRECATED_ALIASES).forEach(deprecatedAlias => { + _utils.FLIPPED_ALIAS_KEYS[deprecatedAlias] = _utils.FLIPPED_ALIAS_KEYS[_deprecatedAliases.DEPRECATED_ALIASES[deprecatedAlias]]; +}); +for (const { + types, + set +} of _utils.allExpandedTypes) { + for (const type of types) { + const aliases = _utils.FLIPPED_ALIAS_KEYS[type]; + if (aliases) { + aliases.forEach(set.add, set); + } else { + set.add(type); + } + } +} +const TYPES = exports.TYPES = [].concat(Object.keys(_utils.VISITOR_KEYS), Object.keys(_utils.FLIPPED_ALIAS_KEYS), Object.keys(_utils.DEPRECATED_KEYS)); + +//# sourceMappingURL=index.js.map diff --git a/node_modules/@babel/types/lib/definitions/index.js.map b/node_modules/@babel/types/lib/definitions/index.js.map new file mode 100644 index 0000000000000000000000000000000000000000..a547b460426e328abcf908da75c60c01ae9e23e2 --- /dev/null +++ b/node_modules/@babel/types/lib/definitions/index.js.map @@ -0,0 +1 @@ +{"version":3,"names":["require","_utils","_placeholders","_deprecatedAliases","Object","keys","DEPRECATED_ALIASES","forEach","deprecatedAlias","FLIPPED_ALIAS_KEYS","types","set","allExpandedTypes","type","aliases","add","TYPES","exports","concat","VISITOR_KEYS","DEPRECATED_KEYS"],"sources":["../../src/definitions/index.ts"],"sourcesContent":["import \"./core.ts\";\nimport \"./flow.ts\";\nimport \"./jsx.ts\";\nimport \"./misc.ts\";\nimport \"./experimental.ts\";\nimport \"./typescript.ts\";\nimport {\n VISITOR_KEYS,\n ALIAS_KEYS,\n FLIPPED_ALIAS_KEYS,\n NODE_FIELDS,\n BUILDER_KEYS,\n DEPRECATED_KEYS,\n NODE_PARENT_VALIDATIONS,\n NODE_UNION_SHAPES__PRIVATE,\n allExpandedTypes,\n} from \"./utils.ts\";\nimport {\n PLACEHOLDERS,\n PLACEHOLDERS_ALIAS,\n PLACEHOLDERS_FLIPPED_ALIAS,\n} from \"./placeholders.ts\";\nimport { DEPRECATED_ALIASES } from \"./deprecated-aliases.ts\";\n\n(\n Object.keys(DEPRECATED_ALIASES) as (keyof typeof DEPRECATED_ALIASES)[]\n).forEach(deprecatedAlias => {\n FLIPPED_ALIAS_KEYS[deprecatedAlias] =\n FLIPPED_ALIAS_KEYS[DEPRECATED_ALIASES[deprecatedAlias]];\n});\n\nfor (const { types, set } of allExpandedTypes) {\n for (const type of types) {\n const aliases = FLIPPED_ALIAS_KEYS[type];\n if (aliases) {\n aliases.forEach(set.add, set);\n } else {\n set.add(type);\n }\n }\n}\n\nconst TYPES: string[] = [].concat(\n Object.keys(VISITOR_KEYS),\n Object.keys(FLIPPED_ALIAS_KEYS),\n Object.keys(DEPRECATED_KEYS),\n);\n\n/**\n * @internal\n */\nexport { NODE_UNION_SHAPES__PRIVATE };\n\nexport {\n VISITOR_KEYS,\n ALIAS_KEYS,\n FLIPPED_ALIAS_KEYS,\n NODE_FIELDS,\n BUILDER_KEYS,\n DEPRECATED_ALIASES,\n DEPRECATED_KEYS,\n NODE_PARENT_VALIDATIONS,\n PLACEHOLDERS,\n PLACEHOLDERS_ALIAS,\n PLACEHOLDERS_FLIPPED_ALIAS,\n TYPES,\n};\n\nexport type { FieldOptions } from \"./utils.ts\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAWA,IAAAE,aAAA,GAAAF,OAAA;AAKA,IAAAG,kBAAA,GAAAH,OAAA;AAGEI,MAAM,CAACC,IAAI,CAACC,qCAAkB,CAAC,CAC/BC,OAAO,CAACC,eAAe,IAAI;EAC3BC,yBAAkB,CAACD,eAAe,CAAC,GACjCC,yBAAkB,CAACH,qCAAkB,CAACE,eAAe,CAAC,CAAC;AAC3D,CAAC,CAAC;AAEF,KAAK,MAAM;EAAEE,KAAK;EAAEC;AAAI,CAAC,IAAIC,uBAAgB,EAAE;EAC7C,KAAK,MAAMC,IAAI,IAAIH,KAAK,EAAE;IACxB,MAAMI,OAAO,GAAGL,yBAAkB,CAACI,IAAI,CAAC;IACxC,IAAIC,OAAO,EAAE;MACXA,OAAO,CAACP,OAAO,CAACI,GAAG,CAACI,GAAG,EAAEJ,GAAG,CAAC;IAC/B,CAAC,MAAM;MACLA,GAAG,CAACI,GAAG,CAACF,IAAI,CAAC;IACf;EACF;AACF;AAEA,MAAMG,KAAe,GAAAC,OAAA,CAAAD,KAAA,GAAG,EAAE,CAACE,MAAM,CAC/Bd,MAAM,CAACC,IAAI,CAACc,mBAAY,CAAC,EACzBf,MAAM,CAACC,IAAI,CAACI,yBAAkB,CAAC,EAC/BL,MAAM,CAACC,IAAI,CAACe,sBAAe,CAC7B,CAAC","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/definitions/jsx.js b/node_modules/@babel/types/lib/definitions/jsx.js new file mode 100644 index 0000000000000000000000000000000000000000..202f951fe5a707115cc4293655eb685abcc73508 --- /dev/null +++ b/node_modules/@babel/types/lib/definitions/jsx.js @@ -0,0 +1,157 @@ +"use strict"; + +var _utils = require("./utils.js"); +const defineType = (0, _utils.defineAliasedType)("JSX"); +defineType("JSXAttribute", { + visitor: ["name", "value"], + aliases: ["Immutable"], + fields: { + name: { + validate: (0, _utils.assertNodeType)("JSXIdentifier", "JSXNamespacedName") + }, + value: { + optional: true, + validate: (0, _utils.assertNodeType)("JSXElement", "JSXFragment", "StringLiteral", "JSXExpressionContainer") + } + } +}); +defineType("JSXClosingElement", { + visitor: ["name"], + aliases: ["Immutable"], + fields: { + name: { + validate: (0, _utils.assertNodeType)("JSXIdentifier", "JSXMemberExpression", "JSXNamespacedName") + } + } +}); +defineType("JSXElement", { + builder: ["openingElement", "closingElement", "children", "selfClosing"], + visitor: ["openingElement", "children", "closingElement"], + aliases: ["Immutable", "Expression"], + fields: Object.assign({ + openingElement: { + validate: (0, _utils.assertNodeType)("JSXOpeningElement") + }, + closingElement: { + optional: true, + validate: (0, _utils.assertNodeType)("JSXClosingElement") + }, + children: (0, _utils.validateArrayOfType)("JSXText", "JSXExpressionContainer", "JSXSpreadChild", "JSXElement", "JSXFragment") + }, { + selfClosing: { + validate: (0, _utils.assertValueType)("boolean"), + optional: true + } + }) +}); +defineType("JSXEmptyExpression", {}); +defineType("JSXExpressionContainer", { + visitor: ["expression"], + aliases: ["Immutable"], + fields: { + expression: { + validate: (0, _utils.assertNodeType)("Expression", "JSXEmptyExpression") + } + } +}); +defineType("JSXSpreadChild", { + visitor: ["expression"], + aliases: ["Immutable"], + fields: { + expression: { + validate: (0, _utils.assertNodeType)("Expression") + } + } +}); +defineType("JSXIdentifier", { + builder: ["name"], + fields: { + name: { + validate: (0, _utils.assertValueType)("string") + } + } +}); +defineType("JSXMemberExpression", { + visitor: ["object", "property"], + fields: { + object: { + validate: (0, _utils.assertNodeType)("JSXMemberExpression", "JSXIdentifier") + }, + property: { + validate: (0, _utils.assertNodeType)("JSXIdentifier") + } + } +}); +defineType("JSXNamespacedName", { + visitor: ["namespace", "name"], + fields: { + namespace: { + validate: (0, _utils.assertNodeType)("JSXIdentifier") + }, + name: { + validate: (0, _utils.assertNodeType)("JSXIdentifier") + } + } +}); +defineType("JSXOpeningElement", { + builder: ["name", "attributes", "selfClosing"], + visitor: ["name", "typeParameters", "typeArguments", "attributes"], + aliases: ["Immutable"], + fields: Object.assign({ + name: { + validate: (0, _utils.assertNodeType)("JSXIdentifier", "JSXMemberExpression", "JSXNamespacedName") + }, + selfClosing: { + default: false + }, + attributes: (0, _utils.validateArrayOfType)("JSXAttribute", "JSXSpreadAttribute"), + typeArguments: { + validate: (0, _utils.assertNodeType)("TypeParameterInstantiation"), + optional: true + } + }, { + typeParameters: { + validate: (0, _utils.assertNodeType)("TSTypeParameterInstantiation"), + optional: true + } + }) +}); +defineType("JSXSpreadAttribute", { + visitor: ["argument"], + fields: { + argument: { + validate: (0, _utils.assertNodeType)("Expression") + } + } +}); +defineType("JSXText", { + aliases: ["Immutable"], + builder: ["value"], + fields: { + value: { + validate: (0, _utils.assertValueType)("string") + } + } +}); +defineType("JSXFragment", { + builder: ["openingFragment", "closingFragment", "children"], + visitor: ["openingFragment", "children", "closingFragment"], + aliases: ["Immutable", "Expression"], + fields: { + openingFragment: { + validate: (0, _utils.assertNodeType)("JSXOpeningFragment") + }, + closingFragment: { + validate: (0, _utils.assertNodeType)("JSXClosingFragment") + }, + children: (0, _utils.validateArrayOfType)("JSXText", "JSXExpressionContainer", "JSXSpreadChild", "JSXElement", "JSXFragment") + } +}); +defineType("JSXOpeningFragment", { + aliases: ["Immutable"] +}); +defineType("JSXClosingFragment", { + aliases: ["Immutable"] +}); + +//# sourceMappingURL=jsx.js.map diff --git a/node_modules/@babel/types/lib/definitions/jsx.js.map b/node_modules/@babel/types/lib/definitions/jsx.js.map new file mode 100644 index 0000000000000000000000000000000000000000..ece92936bcc5828daec2681ba3da913f8c5d550d --- /dev/null +++ b/node_modules/@babel/types/lib/definitions/jsx.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_utils","require","defineType","defineAliasedType","visitor","aliases","fields","name","validate","assertNodeType","value","optional","builder","Object","assign","openingElement","closingElement","children","validateArrayOfType","selfClosing","assertValueType","expression","object","property","namespace","default","attributes","typeArguments","typeParameters","argument","openingFragment","closingFragment"],"sources":["../../src/definitions/jsx.ts"],"sourcesContent":["import {\n defineAliasedType,\n assertNodeType,\n assertValueType,\n validateArrayOfType,\n} from \"./utils.ts\";\n\nconst defineType = defineAliasedType(\"JSX\");\n\ndefineType(\"JSXAttribute\", {\n visitor: [\"name\", \"value\"],\n aliases: [\"Immutable\"],\n fields: {\n name: {\n validate: assertNodeType(\"JSXIdentifier\", \"JSXNamespacedName\"),\n },\n value: {\n optional: true,\n validate: assertNodeType(\n \"JSXElement\",\n \"JSXFragment\",\n \"StringLiteral\",\n \"JSXExpressionContainer\",\n ),\n },\n },\n});\n\ndefineType(\"JSXClosingElement\", {\n visitor: [\"name\"],\n aliases: [\"Immutable\"],\n fields: {\n name: {\n validate: assertNodeType(\n \"JSXIdentifier\",\n \"JSXMemberExpression\",\n \"JSXNamespacedName\",\n ),\n },\n },\n});\n\ndefineType(\"JSXElement\", {\n builder: process.env.BABEL_8_BREAKING\n ? [\"openingElement\", \"closingElement\", \"children\"]\n : [\"openingElement\", \"closingElement\", \"children\", \"selfClosing\"],\n visitor: [\"openingElement\", \"children\", \"closingElement\"],\n aliases: [\"Immutable\", \"Expression\"],\n fields: {\n openingElement: {\n validate: assertNodeType(\"JSXOpeningElement\"),\n },\n closingElement: {\n optional: true,\n validate: assertNodeType(\"JSXClosingElement\"),\n },\n children: validateArrayOfType(\n \"JSXText\",\n \"JSXExpressionContainer\",\n \"JSXSpreadChild\",\n \"JSXElement\",\n \"JSXFragment\",\n ),\n ...(process.env.BABEL_8_BREAKING\n ? {}\n : {\n selfClosing: {\n validate: assertValueType(\"boolean\"),\n optional: true,\n },\n }),\n },\n});\n\ndefineType(\"JSXEmptyExpression\", {});\n\ndefineType(\"JSXExpressionContainer\", {\n visitor: [\"expression\"],\n aliases: [\"Immutable\"],\n fields: {\n expression: {\n validate: assertNodeType(\"Expression\", \"JSXEmptyExpression\"),\n },\n },\n});\n\ndefineType(\"JSXSpreadChild\", {\n visitor: [\"expression\"],\n aliases: [\"Immutable\"],\n fields: {\n expression: {\n validate: assertNodeType(\"Expression\"),\n },\n },\n});\n\ndefineType(\"JSXIdentifier\", {\n builder: [\"name\"],\n fields: {\n name: {\n validate: assertValueType(\"string\"),\n },\n },\n});\n\ndefineType(\"JSXMemberExpression\", {\n visitor: [\"object\", \"property\"],\n fields: {\n object: {\n validate: assertNodeType(\"JSXMemberExpression\", \"JSXIdentifier\"),\n },\n property: {\n validate: assertNodeType(\"JSXIdentifier\"),\n },\n },\n});\n\ndefineType(\"JSXNamespacedName\", {\n visitor: [\"namespace\", \"name\"],\n fields: {\n namespace: {\n validate: assertNodeType(\"JSXIdentifier\"),\n },\n name: {\n validate: assertNodeType(\"JSXIdentifier\"),\n },\n },\n});\n\ndefineType(\"JSXOpeningElement\", {\n builder: [\"name\", \"attributes\", \"selfClosing\"],\n visitor: process.env.BABEL_8_BREAKING\n ? [\"name\", \"typeArguments\", \"attributes\"]\n : [\"name\", \"typeParameters\", \"typeArguments\", \"attributes\"],\n aliases: [\"Immutable\"],\n fields: {\n name: {\n validate: assertNodeType(\n \"JSXIdentifier\",\n \"JSXMemberExpression\",\n \"JSXNamespacedName\",\n ),\n },\n selfClosing: {\n default: false,\n },\n attributes: validateArrayOfType(\"JSXAttribute\", \"JSXSpreadAttribute\"),\n typeArguments: {\n validate: process.env.BABEL_8_BREAKING\n ? assertNodeType(\n \"TypeParameterInstantiation\",\n \"TSTypeParameterInstantiation\",\n )\n : assertNodeType(\"TypeParameterInstantiation\"),\n optional: true,\n },\n ...(process.env.BABEL_8_BREAKING\n ? {}\n : {\n typeParameters: {\n validate: assertNodeType(\"TSTypeParameterInstantiation\"),\n optional: true,\n },\n }),\n },\n});\n\ndefineType(\"JSXSpreadAttribute\", {\n visitor: [\"argument\"],\n fields: {\n argument: {\n validate: assertNodeType(\"Expression\"),\n },\n },\n});\n\ndefineType(\"JSXText\", {\n aliases: [\"Immutable\"],\n builder: [\"value\"],\n fields: {\n value: {\n validate: assertValueType(\"string\"),\n },\n },\n});\n\ndefineType(\"JSXFragment\", {\n builder: [\"openingFragment\", \"closingFragment\", \"children\"],\n visitor: [\"openingFragment\", \"children\", \"closingFragment\"],\n aliases: [\"Immutable\", \"Expression\"],\n fields: {\n openingFragment: {\n validate: assertNodeType(\"JSXOpeningFragment\"),\n },\n closingFragment: {\n validate: assertNodeType(\"JSXClosingFragment\"),\n },\n children: validateArrayOfType(\n \"JSXText\",\n \"JSXExpressionContainer\",\n \"JSXSpreadChild\",\n \"JSXElement\",\n \"JSXFragment\",\n ),\n },\n});\n\ndefineType(\"JSXOpeningFragment\", {\n aliases: [\"Immutable\"],\n});\n\ndefineType(\"JSXClosingFragment\", {\n aliases: [\"Immutable\"],\n});\n"],"mappings":";;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAOA,MAAMC,UAAU,GAAG,IAAAC,wBAAiB,EAAC,KAAK,CAAC;AAE3CD,UAAU,CAAC,cAAc,EAAE;EACzBE,OAAO,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;EAC1BC,OAAO,EAAE,CAAC,WAAW,CAAC;EACtBC,MAAM,EAAE;IACNC,IAAI,EAAE;MACJC,QAAQ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C,WAAW,EAAE,YAAY,CAAC;EACpCC,MAAM,EAAE;IACNwB,eAAe,EAAE;MACftB,QAAQ,EAAE,IAAAC,qBAAc,EAAC,oBAAoB;IAC/C,CAAC;IACDsB,eAAe,EAAE;MACfvB,QAAQ,EAAE,IAAAC,qBAAc,EAAC,oBAAoB;IAC/C,CAAC;IACDQ,QAAQ,EAAE,IAAAC,0BAAmB,EAC3B,SAAS,EACT,wBAAwB,EACxB,gBAAgB,EAChB,YAAY,EACZ,aACF;EACF;AACF,CAAC,CAAC;AAEFhB,UAAU,CAAC,oBAAoB,EAAE;EAC/BG,OAAO,EAAE,CAAC,WAAW;AACvB,CAAC,CAAC;AAEFH,UAAU,CAAC,oBAAoB,EAAE;EAC/BG,OAAO,EAAE,CAAC,WAAW;AACvB,CAAC,CAAC","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/definitions/misc.js b/node_modules/@babel/types/lib/definitions/misc.js new file mode 100644 index 0000000000000000000000000000000000000000..f054c618a2f40caae41fcd5af8c37bbcef7007a4 --- /dev/null +++ b/node_modules/@babel/types/lib/definitions/misc.js @@ -0,0 +1,31 @@ +"use strict"; + +var _utils = require("./utils.js"); +var _placeholders = require("./placeholders.js"); +var _core = require("./core.js"); +const defineType = (0, _utils.defineAliasedType)("Miscellaneous"); +defineType("Noop", { + visitor: [] +}); +defineType("Placeholder", { + visitor: [], + builder: ["expectedNode", "name"], + fields: Object.assign({ + name: { + validate: (0, _utils.assertNodeType)("Identifier") + }, + expectedNode: { + validate: (0, _utils.assertOneOf)(..._placeholders.PLACEHOLDERS) + } + }, (0, _core.patternLikeCommon)()) +}); +defineType("V8IntrinsicIdentifier", { + builder: ["name"], + fields: { + name: { + validate: (0, _utils.assertValueType)("string") + } + } +}); + +//# sourceMappingURL=misc.js.map diff --git a/node_modules/@babel/types/lib/definitions/misc.js.map b/node_modules/@babel/types/lib/definitions/misc.js.map new file mode 100644 index 0000000000000000000000000000000000000000..a02da9084b62e339b572c19526d5c075f3587efc --- /dev/null +++ b/node_modules/@babel/types/lib/definitions/misc.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_utils","require","_placeholders","_core","defineType","defineAliasedType","visitor","builder","fields","Object","assign","name","validate","assertNodeType","expectedNode","assertOneOf","PLACEHOLDERS","patternLikeCommon","assertValueType"],"sources":["../../src/definitions/misc.ts"],"sourcesContent":["import {\n defineAliasedType,\n assertNodeType,\n assertOneOf,\n assertValueType,\n} from \"./utils.ts\";\nimport { PLACEHOLDERS } from \"./placeholders.ts\";\nimport { patternLikeCommon } from \"./core.ts\";\n\nconst defineType = defineAliasedType(\"Miscellaneous\");\n\nif (!process.env.BABEL_8_BREAKING) {\n defineType(\"Noop\", {\n visitor: [],\n });\n}\n\ndefineType(\"Placeholder\", {\n visitor: [],\n builder: [\"expectedNode\", \"name\"],\n // aliases: [], defined in placeholders.js\n fields: {\n name: {\n validate: assertNodeType(\"Identifier\"),\n },\n expectedNode: {\n validate: assertOneOf(...PLACEHOLDERS),\n },\n ...patternLikeCommon(),\n },\n});\n\ndefineType(\"V8IntrinsicIdentifier\", {\n builder: [\"name\"],\n fields: {\n name: {\n validate: assertValueType(\"string\"),\n },\n },\n});\n"],"mappings":";;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAMA,IAAAC,aAAA,GAAAD,OAAA;AACA,IAAAE,KAAA,GAAAF,OAAA;AAEA,MAAMG,UAAU,GAAG,IAAAC,wBAAiB,EAAC,eAAe,CAAC;AAGnDD,UAAU,CAAC,MAAM,EAAE;EACjBE,OAAO,EAAE;AACX,CAAC,CAAC;AAGJF,UAAU,CAAC,aAAa,EAAE;EACxBE,OAAO,EAAE,EAAE;EACXC,OAAO,EAAE,CAAC,cAAc,EAAE,MAAM,CAAC;EAEjCC,MAAM,EAAAC,MAAA,CAAAC,MAAA;IACJC,IAAI,EAAE;MACJC,QAAQ,EAAE,IAAAC,qBAAc,EAAC,YAAY;IACvC,CAAC;IACDC,YAAY,EAAE;MACZF,QAAQ,EAAE,IAAAG,kBAAW,EAAC,GAAGC,0BAAY;IACvC;EAAC,GACE,IAAAC,uBAAiB,EAAC,CAAC;AAE1B,CAAC,CAAC;AAEFb,UAAU,CAAC,uBAAuB,EAAE;EAClCG,OAAO,EAAE,CAAC,MAAM,CAAC;EACjBC,MAAM,EAAE;IACNG,IAAI,EAAE;MACJC,QAAQ,EAAE,IAAAM,sBAAe,EAAC,QAAQ;IACpC;EACF;AACF,CAAC,CAAC","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/definitions/placeholders.js b/node_modules/@babel/types/lib/definitions/placeholders.js new file mode 100644 index 0000000000000000000000000000000000000000..c4a4f552b9c8c5d862ef5fad054eaa4ccdd5bf40 --- /dev/null +++ b/node_modules/@babel/types/lib/definitions/placeholders.js @@ -0,0 +1,27 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.PLACEHOLDERS_FLIPPED_ALIAS = exports.PLACEHOLDERS_ALIAS = exports.PLACEHOLDERS = void 0; +var _utils = require("./utils.js"); +const PLACEHOLDERS = exports.PLACEHOLDERS = ["Identifier", "StringLiteral", "Expression", "Statement", "Declaration", "BlockStatement", "ClassBody", "Pattern"]; +const PLACEHOLDERS_ALIAS = exports.PLACEHOLDERS_ALIAS = { + Declaration: ["Statement"], + Pattern: ["PatternLike", "LVal"] +}; +for (const type of PLACEHOLDERS) { + const alias = _utils.ALIAS_KEYS[type]; + if (alias != null && alias.length) PLACEHOLDERS_ALIAS[type] = alias; +} +const PLACEHOLDERS_FLIPPED_ALIAS = exports.PLACEHOLDERS_FLIPPED_ALIAS = {}; +Object.keys(PLACEHOLDERS_ALIAS).forEach(type => { + PLACEHOLDERS_ALIAS[type].forEach(alias => { + if (!hasOwnProperty.call(PLACEHOLDERS_FLIPPED_ALIAS, alias)) { + PLACEHOLDERS_FLIPPED_ALIAS[alias] = []; + } + PLACEHOLDERS_FLIPPED_ALIAS[alias].push(type); + }); +}); + +//# sourceMappingURL=placeholders.js.map diff --git a/node_modules/@babel/types/lib/definitions/placeholders.js.map b/node_modules/@babel/types/lib/definitions/placeholders.js.map new file mode 100644 index 0000000000000000000000000000000000000000..f18218f8f20088d677ac1617336d3753ce1cbec8 --- /dev/null +++ b/node_modules/@babel/types/lib/definitions/placeholders.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_utils","require","PLACEHOLDERS","exports","PLACEHOLDERS_ALIAS","Declaration","Pattern","type","alias","ALIAS_KEYS","length","PLACEHOLDERS_FLIPPED_ALIAS","Object","keys","forEach","hasOwnProperty","call","push"],"sources":["../../src/definitions/placeholders.ts"],"sourcesContent":["import { ALIAS_KEYS } from \"./utils.ts\";\n\nexport const PLACEHOLDERS = [\n \"Identifier\",\n \"StringLiteral\",\n \"Expression\",\n \"Statement\",\n \"Declaration\",\n \"BlockStatement\",\n \"ClassBody\",\n \"Pattern\",\n] as const;\n\nexport const PLACEHOLDERS_ALIAS: Record = {\n Declaration: [\"Statement\"],\n Pattern: [\"PatternLike\", \"LVal\"],\n};\n\nfor (const type of PLACEHOLDERS) {\n const alias = ALIAS_KEYS[type];\n if (alias?.length) PLACEHOLDERS_ALIAS[type] = alias;\n}\n\nexport const PLACEHOLDERS_FLIPPED_ALIAS: Record = {};\n\nObject.keys(PLACEHOLDERS_ALIAS).forEach(type => {\n PLACEHOLDERS_ALIAS[type].forEach(alias => {\n if (!Object.hasOwn(PLACEHOLDERS_FLIPPED_ALIAS, alias)) {\n PLACEHOLDERS_FLIPPED_ALIAS[alias] = [];\n }\n PLACEHOLDERS_FLIPPED_ALIAS[alias].push(type);\n });\n});\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAEO,MAAMC,YAAY,GAAAC,OAAA,CAAAD,YAAA,GAAG,CAC1B,YAAY,EACZ,eAAe,EACf,YAAY,EACZ,WAAW,EACX,aAAa,EACb,gBAAgB,EAChB,WAAW,EACX,SAAS,CACD;AAEH,MAAME,kBAA4C,GAAAD,OAAA,CAAAC,kBAAA,GAAG;EAC1DC,WAAW,EAAE,CAAC,WAAW,CAAC;EAC1BC,OAAO,EAAE,CAAC,aAAa,EAAE,MAAM;AACjC,CAAC;AAED,KAAK,MAAMC,IAAI,IAAIL,YAAY,EAAE;EAC/B,MAAMM,KAAK,GAAGC,iBAAU,CAACF,IAAI,CAAC;EAC9B,IAAIC,KAAK,YAALA,KAAK,CAAEE,MAAM,EAAEN,kBAAkB,CAACG,IAAI,CAAC,GAAGC,KAAK;AACrD;AAEO,MAAMG,0BAAoD,GAAAR,OAAA,CAAAQ,0BAAA,GAAG,CAAC,CAAC;AAEtEC,MAAM,CAACC,IAAI,CAACT,kBAAkB,CAAC,CAACU,OAAO,CAACP,IAAI,IAAI;EAC9CH,kBAAkB,CAACG,IAAI,CAAC,CAACO,OAAO,CAACN,KAAK,IAAI;IACxC,IAAI,CAACO,cAAA,CAAAC,IAAA,CAAcL,0BAA0B,EAAEH,KAAK,CAAC,EAAE;MACrDG,0BAA0B,CAACH,KAAK,CAAC,GAAG,EAAE;IACxC;IACAG,0BAA0B,CAACH,KAAK,CAAC,CAACS,IAAI,CAACV,IAAI,CAAC;EAC9C,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/definitions/typescript.js b/node_modules/@babel/types/lib/definitions/typescript.js new file mode 100644 index 0000000000000000000000000000000000000000..0e5da3fc02bc0beb66fc4957bd1bd412e0db16f7 --- /dev/null +++ b/node_modules/@babel/types/lib/definitions/typescript.js @@ -0,0 +1,528 @@ +"use strict"; + +var _utils = require("./utils.js"); +var _core = require("./core.js"); +var _is = require("../validators/is.js"); +const defineType = (0, _utils.defineAliasedType)("TypeScript"); +const bool = (0, _utils.assertValueType)("boolean"); +const tSFunctionTypeAnnotationCommon = () => ({ + returnType: { + validate: (0, _utils.assertNodeType)("TSTypeAnnotation", "Noop"), + optional: true + }, + typeParameters: { + validate: (0, _utils.assertNodeType)("TSTypeParameterDeclaration", "Noop"), + optional: true + } +}); +defineType("TSParameterProperty", { + aliases: ["LVal"], + visitor: ["parameter"], + fields: { + accessibility: { + validate: (0, _utils.assertOneOf)("public", "private", "protected"), + optional: true + }, + readonly: { + validate: (0, _utils.assertValueType)("boolean"), + optional: true + }, + parameter: { + validate: (0, _utils.assertNodeType)("Identifier", "AssignmentPattern") + }, + override: { + validate: (0, _utils.assertValueType)("boolean"), + optional: true + }, + decorators: { + validate: (0, _utils.arrayOfType)("Decorator"), + optional: true + } + } +}); +defineType("TSDeclareFunction", { + aliases: ["Statement", "Declaration"], + visitor: ["id", "typeParameters", "params", "returnType"], + fields: Object.assign({}, (0, _core.functionDeclarationCommon)(), tSFunctionTypeAnnotationCommon()) +}); +defineType("TSDeclareMethod", Object.assign({ + visitor: ["decorators", "key", "typeParameters", "params", "returnType"] +}, (0, _core.classMethodOrPropertyUnionShapeCommon)(), { + fields: Object.assign({}, (0, _core.classMethodOrDeclareMethodCommon)(), tSFunctionTypeAnnotationCommon()) +})); +defineType("TSQualifiedName", { + aliases: ["TSEntityName"], + visitor: ["left", "right"], + fields: { + left: (0, _utils.validateType)("TSEntityName"), + right: (0, _utils.validateType)("Identifier") + } +}); +const signatureDeclarationCommon = () => ({ + typeParameters: (0, _utils.validateOptionalType)("TSTypeParameterDeclaration"), + ["parameters"]: (0, _utils.validateArrayOfType)("ArrayPattern", "Identifier", "ObjectPattern", "RestElement"), + ["typeAnnotation"]: (0, _utils.validateOptionalType)("TSTypeAnnotation") +}); +const callConstructSignatureDeclaration = { + aliases: ["TSTypeElement"], + visitor: ["typeParameters", "parameters", "typeAnnotation"], + fields: signatureDeclarationCommon() +}; +defineType("TSCallSignatureDeclaration", callConstructSignatureDeclaration); +defineType("TSConstructSignatureDeclaration", callConstructSignatureDeclaration); +const namedTypeElementCommon = () => ({ + key: (0, _utils.validateType)("Expression"), + computed: { + default: false + }, + optional: (0, _utils.validateOptional)(bool) +}); +defineType("TSPropertySignature", { + aliases: ["TSTypeElement"], + visitor: ["key", "typeAnnotation"], + fields: Object.assign({}, namedTypeElementCommon(), { + readonly: (0, _utils.validateOptional)(bool), + typeAnnotation: (0, _utils.validateOptionalType)("TSTypeAnnotation"), + kind: { + optional: true, + validate: (0, _utils.assertOneOf)("get", "set") + } + }) +}); +defineType("TSMethodSignature", { + aliases: ["TSTypeElement"], + visitor: ["key", "typeParameters", "parameters", "typeAnnotation"], + fields: Object.assign({}, signatureDeclarationCommon(), namedTypeElementCommon(), { + kind: { + validate: (0, _utils.assertOneOf)("method", "get", "set") + } + }) +}); +defineType("TSIndexSignature", { + aliases: ["TSTypeElement"], + visitor: ["parameters", "typeAnnotation"], + fields: { + readonly: (0, _utils.validateOptional)(bool), + static: (0, _utils.validateOptional)(bool), + parameters: (0, _utils.validateArrayOfType)("Identifier"), + typeAnnotation: (0, _utils.validateOptionalType)("TSTypeAnnotation") + } +}); +const tsKeywordTypes = ["TSAnyKeyword", "TSBooleanKeyword", "TSBigIntKeyword", "TSIntrinsicKeyword", "TSNeverKeyword", "TSNullKeyword", "TSNumberKeyword", "TSObjectKeyword", "TSStringKeyword", "TSSymbolKeyword", "TSUndefinedKeyword", "TSUnknownKeyword", "TSVoidKeyword"]; +for (const type of tsKeywordTypes) { + defineType(type, { + aliases: ["TSType", "TSBaseType"], + visitor: [], + fields: {} + }); +} +defineType("TSThisType", { + aliases: ["TSType", "TSBaseType"], + visitor: [], + fields: {} +}); +const fnOrCtrBase = { + aliases: ["TSType"], + visitor: ["typeParameters", "parameters", "typeAnnotation"] +}; +defineType("TSFunctionType", Object.assign({}, fnOrCtrBase, { + fields: signatureDeclarationCommon() +})); +defineType("TSConstructorType", Object.assign({}, fnOrCtrBase, { + fields: Object.assign({}, signatureDeclarationCommon(), { + abstract: (0, _utils.validateOptional)(bool) + }) +})); +defineType("TSTypeReference", { + aliases: ["TSType"], + visitor: ["typeName", "typeParameters"], + fields: { + typeName: (0, _utils.validateType)("TSEntityName"), + ["typeParameters"]: (0, _utils.validateOptionalType)("TSTypeParameterInstantiation") + } +}); +defineType("TSTypePredicate", { + aliases: ["TSType"], + visitor: ["parameterName", "typeAnnotation"], + builder: ["parameterName", "typeAnnotation", "asserts"], + fields: { + parameterName: (0, _utils.validateType)("Identifier", "TSThisType"), + typeAnnotation: (0, _utils.validateOptionalType)("TSTypeAnnotation"), + asserts: (0, _utils.validateOptional)(bool) + } +}); +defineType("TSTypeQuery", { + aliases: ["TSType"], + visitor: ["exprName", "typeParameters"], + fields: { + exprName: (0, _utils.validateType)("TSEntityName", "TSImportType"), + ["typeParameters"]: (0, _utils.validateOptionalType)("TSTypeParameterInstantiation") + } +}); +defineType("TSTypeLiteral", { + aliases: ["TSType"], + visitor: ["members"], + fields: { + members: (0, _utils.validateArrayOfType)("TSTypeElement") + } +}); +defineType("TSArrayType", { + aliases: ["TSType"], + visitor: ["elementType"], + fields: { + elementType: (0, _utils.validateType)("TSType") + } +}); +defineType("TSTupleType", { + aliases: ["TSType"], + visitor: ["elementTypes"], + fields: { + elementTypes: (0, _utils.validateArrayOfType)("TSType", "TSNamedTupleMember") + } +}); +defineType("TSOptionalType", { + aliases: ["TSType"], + visitor: ["typeAnnotation"], + fields: { + typeAnnotation: (0, _utils.validateType)("TSType") + } +}); +defineType("TSRestType", { + aliases: ["TSType"], + visitor: ["typeAnnotation"], + fields: { + typeAnnotation: (0, _utils.validateType)("TSType") + } +}); +defineType("TSNamedTupleMember", { + visitor: ["label", "elementType"], + builder: ["label", "elementType", "optional"], + fields: { + label: (0, _utils.validateType)("Identifier"), + optional: { + validate: bool, + default: false + }, + elementType: (0, _utils.validateType)("TSType") + } +}); +const unionOrIntersection = { + aliases: ["TSType"], + visitor: ["types"], + fields: { + types: (0, _utils.validateArrayOfType)("TSType") + } +}; +defineType("TSUnionType", unionOrIntersection); +defineType("TSIntersectionType", unionOrIntersection); +defineType("TSConditionalType", { + aliases: ["TSType"], + visitor: ["checkType", "extendsType", "trueType", "falseType"], + fields: { + checkType: (0, _utils.validateType)("TSType"), + extendsType: (0, _utils.validateType)("TSType"), + trueType: (0, _utils.validateType)("TSType"), + falseType: (0, _utils.validateType)("TSType") + } +}); +defineType("TSInferType", { + aliases: ["TSType"], + visitor: ["typeParameter"], + fields: { + typeParameter: (0, _utils.validateType)("TSTypeParameter") + } +}); +defineType("TSParenthesizedType", { + aliases: ["TSType"], + visitor: ["typeAnnotation"], + fields: { + typeAnnotation: (0, _utils.validateType)("TSType") + } +}); +defineType("TSTypeOperator", { + aliases: ["TSType"], + visitor: ["typeAnnotation"], + builder: ["typeAnnotation", "operator"], + fields: { + operator: { + validate: (0, _utils.assertValueType)("string"), + default: "keyof" + }, + typeAnnotation: (0, _utils.validateType)("TSType") + } +}); +defineType("TSIndexedAccessType", { + aliases: ["TSType"], + visitor: ["objectType", "indexType"], + fields: { + objectType: (0, _utils.validateType)("TSType"), + indexType: (0, _utils.validateType)("TSType") + } +}); +defineType("TSMappedType", { + aliases: ["TSType"], + visitor: ["typeParameter", "nameType", "typeAnnotation"], + builder: ["typeParameter", "typeAnnotation", "nameType"], + fields: Object.assign({}, { + typeParameter: (0, _utils.validateType)("TSTypeParameter") + }, { + readonly: (0, _utils.validateOptional)((0, _utils.assertOneOf)(true, false, "+", "-")), + optional: (0, _utils.validateOptional)((0, _utils.assertOneOf)(true, false, "+", "-")), + typeAnnotation: (0, _utils.validateOptionalType)("TSType"), + nameType: (0, _utils.validateOptionalType)("TSType") + }) +}); +defineType("TSTemplateLiteralType", { + aliases: ["TSType", "TSBaseType"], + visitor: ["quasis", "types"], + fields: { + quasis: (0, _utils.validateArrayOfType)("TemplateElement"), + types: { + validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("TSType")), function (node, key, val) { + if (node.quasis.length !== val.length + 1) { + throw new TypeError(`Number of ${node.type} quasis should be exactly one more than the number of types.\nExpected ${val.length + 1} quasis but got ${node.quasis.length}`); + } + }) + } + } +}); +defineType("TSLiteralType", { + aliases: ["TSType", "TSBaseType"], + visitor: ["literal"], + fields: { + literal: { + validate: function () { + const unaryExpression = (0, _utils.assertNodeType)("NumericLiteral", "BigIntLiteral"); + const unaryOperator = (0, _utils.assertOneOf)("-"); + const literal = (0, _utils.assertNodeType)("NumericLiteral", "StringLiteral", "BooleanLiteral", "BigIntLiteral", "TemplateLiteral"); + const validator = function validator(parent, key, node) { + if ((0, _is.default)("UnaryExpression", node)) { + unaryOperator(node, "operator", node.operator); + unaryExpression(node, "argument", node.argument); + } else { + literal(parent, key, node); + } + }; + validator.oneOfNodeTypes = ["NumericLiteral", "StringLiteral", "BooleanLiteral", "BigIntLiteral", "TemplateLiteral", "UnaryExpression"]; + return validator; + }() + } + } +}); +defineType("TSExpressionWithTypeArguments", { + aliases: ["TSType"], + visitor: ["expression", "typeParameters"], + fields: { + expression: (0, _utils.validateType)("TSEntityName"), + typeParameters: (0, _utils.validateOptionalType)("TSTypeParameterInstantiation") + } +}); +defineType("TSInterfaceDeclaration", { + aliases: ["Statement", "Declaration"], + visitor: ["id", "typeParameters", "extends", "body"], + fields: { + declare: (0, _utils.validateOptional)(bool), + id: (0, _utils.validateType)("Identifier"), + typeParameters: (0, _utils.validateOptionalType)("TSTypeParameterDeclaration"), + extends: (0, _utils.validateOptional)((0, _utils.arrayOfType)("TSExpressionWithTypeArguments")), + body: (0, _utils.validateType)("TSInterfaceBody") + } +}); +defineType("TSInterfaceBody", { + visitor: ["body"], + fields: { + body: (0, _utils.validateArrayOfType)("TSTypeElement") + } +}); +defineType("TSTypeAliasDeclaration", { + aliases: ["Statement", "Declaration"], + visitor: ["id", "typeParameters", "typeAnnotation"], + fields: { + declare: (0, _utils.validateOptional)(bool), + id: (0, _utils.validateType)("Identifier"), + typeParameters: (0, _utils.validateOptionalType)("TSTypeParameterDeclaration"), + typeAnnotation: (0, _utils.validateType)("TSType") + } +}); +defineType("TSInstantiationExpression", { + aliases: ["Expression"], + visitor: ["expression", "typeParameters"], + fields: { + expression: (0, _utils.validateType)("Expression"), + ["typeParameters"]: (0, _utils.validateOptionalType)("TSTypeParameterInstantiation") + } +}); +const TSTypeExpression = { + aliases: ["Expression", "LVal", "PatternLike"], + visitor: ["expression", "typeAnnotation"], + fields: { + expression: (0, _utils.validateType)("Expression"), + typeAnnotation: (0, _utils.validateType)("TSType") + } +}; +defineType("TSAsExpression", TSTypeExpression); +defineType("TSSatisfiesExpression", TSTypeExpression); +defineType("TSTypeAssertion", { + aliases: ["Expression", "LVal", "PatternLike"], + visitor: ["typeAnnotation", "expression"], + fields: { + typeAnnotation: (0, _utils.validateType)("TSType"), + expression: (0, _utils.validateType)("Expression") + } +}); +defineType("TSEnumBody", { + visitor: ["members"], + fields: { + members: (0, _utils.validateArrayOfType)("TSEnumMember") + } +}); +defineType("TSEnumDeclaration", { + aliases: ["Statement", "Declaration"], + visitor: ["id", "members"], + fields: { + declare: (0, _utils.validateOptional)(bool), + const: (0, _utils.validateOptional)(bool), + id: (0, _utils.validateType)("Identifier"), + members: (0, _utils.validateArrayOfType)("TSEnumMember"), + initializer: (0, _utils.validateOptionalType)("Expression"), + body: (0, _utils.validateOptionalType)("TSEnumBody") + } +}); +defineType("TSEnumMember", { + visitor: ["id", "initializer"], + fields: { + id: (0, _utils.validateType)("Identifier", "StringLiteral"), + initializer: (0, _utils.validateOptionalType)("Expression") + } +}); +defineType("TSModuleDeclaration", { + aliases: ["Statement", "Declaration"], + visitor: ["id", "body"], + fields: Object.assign({ + kind: { + validate: (0, _utils.assertOneOf)("global", "module", "namespace") + }, + declare: (0, _utils.validateOptional)(bool) + }, { + global: (0, _utils.validateOptional)(bool) + }, { + id: (0, _utils.validateType)("Identifier", "StringLiteral"), + body: (0, _utils.validateType)("TSModuleBlock", "TSModuleDeclaration") + }) +}); +defineType("TSModuleBlock", { + aliases: ["Scopable", "Block", "BlockParent", "FunctionParent"], + visitor: ["body"], + fields: { + body: (0, _utils.validateArrayOfType)("Statement") + } +}); +defineType("TSImportType", { + aliases: ["TSType"], + builder: ["argument", "qualifier", "typeParameters"], + visitor: ["argument", "options", "qualifier", "typeParameters"], + fields: Object.assign({}, { + argument: (0, _utils.validateType)("StringLiteral") + }, { + qualifier: (0, _utils.validateOptionalType)("TSEntityName") + }, { + typeParameters: (0, _utils.validateOptionalType)("TSTypeParameterInstantiation") + }, { + options: { + validate: (0, _utils.assertNodeType)("ObjectExpression"), + optional: true + } + }) +}); +defineType("TSImportEqualsDeclaration", { + aliases: ["Statement", "Declaration"], + visitor: ["id", "moduleReference"], + fields: Object.assign({}, { + isExport: (0, _utils.validate)(bool) + }, { + id: (0, _utils.validateType)("Identifier"), + moduleReference: (0, _utils.validateType)("TSEntityName", "TSExternalModuleReference"), + importKind: { + validate: (0, _utils.assertOneOf)("type", "value"), + optional: true + } + }) +}); +defineType("TSExternalModuleReference", { + visitor: ["expression"], + fields: { + expression: (0, _utils.validateType)("StringLiteral") + } +}); +defineType("TSNonNullExpression", { + aliases: ["Expression", "LVal", "PatternLike"], + visitor: ["expression"], + fields: { + expression: (0, _utils.validateType)("Expression") + } +}); +defineType("TSExportAssignment", { + aliases: ["Statement"], + visitor: ["expression"], + fields: { + expression: (0, _utils.validateType)("Expression") + } +}); +defineType("TSNamespaceExportDeclaration", { + aliases: ["Statement"], + visitor: ["id"], + fields: { + id: (0, _utils.validateType)("Identifier") + } +}); +defineType("TSTypeAnnotation", { + visitor: ["typeAnnotation"], + fields: { + typeAnnotation: { + validate: (0, _utils.assertNodeType)("TSType") + } + } +}); +defineType("TSTypeParameterInstantiation", { + visitor: ["params"], + fields: { + params: (0, _utils.validateArrayOfType)("TSType") + } +}); +defineType("TSTypeParameterDeclaration", { + visitor: ["params"], + fields: { + params: (0, _utils.validateArrayOfType)("TSTypeParameter") + } +}); +defineType("TSTypeParameter", { + builder: ["constraint", "default", "name"], + visitor: ["constraint", "default"], + fields: { + name: { + validate: (0, _utils.assertValueType)("string") + }, + in: { + validate: (0, _utils.assertValueType)("boolean"), + optional: true + }, + out: { + validate: (0, _utils.assertValueType)("boolean"), + optional: true + }, + const: { + validate: (0, _utils.assertValueType)("boolean"), + optional: true + }, + constraint: { + validate: (0, _utils.assertNodeType)("TSType"), + optional: true + }, + default: { + validate: (0, _utils.assertNodeType)("TSType"), + optional: true + } + } +}); + +//# sourceMappingURL=typescript.js.map diff --git a/node_modules/@babel/types/lib/definitions/typescript.js.map b/node_modules/@babel/types/lib/definitions/typescript.js.map new file mode 100644 index 0000000000000000000000000000000000000000..6ec163b3bb330896973a8674b2cd05df8a4d2e8f --- /dev/null +++ b/node_modules/@babel/types/lib/definitions/typescript.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_utils","require","_core","_is","defineType","defineAliasedType","bool","assertValueType","tSFunctionTypeAnnotationCommon","returnType","validate","assertNodeType","optional","typeParameters","aliases","visitor","fields","accessibility","assertOneOf","readonly","parameter","override","decorators","arrayOfType","Object","assign","functionDeclarationCommon","classMethodOrPropertyUnionShapeCommon","classMethodOrDeclareMethodCommon","left","validateType","right","signatureDeclarationCommon","validateOptionalType","validateArrayOfType","callConstructSignatureDeclaration","namedTypeElementCommon","key","computed","default","validateOptional","typeAnnotation","kind","static","parameters","tsKeywordTypes","type","fnOrCtrBase","abstract","typeName","builder","parameterName","asserts","exprName","members","elementType","elementTypes","label","unionOrIntersection","types","checkType","extendsType","trueType","falseType","typeParameter","operator","objectType","indexType","nameType","quasis","chain","assertEach","node","val","length","TypeError","literal","unaryExpression","unaryOperator","validator","parent","is","argument","oneOfNodeTypes","expression","declare","id","extends","body","TSTypeExpression","const","initializer","global","qualifier","options","isExport","moduleReference","importKind","params","name","in","out","constraint"],"sources":["../../src/definitions/typescript.ts"],"sourcesContent":["import type * as t from \"../index.ts\";\nimport {\n defineAliasedType,\n arrayOfType,\n assertEach,\n assertNodeType,\n assertOneOf,\n assertValueType,\n chain,\n validate,\n validateArrayOfType,\n validateOptional,\n validateOptionalType,\n validateType,\n type ValidatorImpl,\n type ValidatorOneOfNodeTypes,\n} from \"./utils.ts\";\nimport {\n functionDeclarationCommon,\n classMethodOrDeclareMethodCommon,\n classMethodOrPropertyUnionShapeCommon,\n} from \"./core.ts\";\nimport is from \"../validators/is.ts\";\n\nconst defineType = defineAliasedType(\"TypeScript\");\n\nconst bool = assertValueType(\"boolean\");\n\nconst tSFunctionTypeAnnotationCommon = () => ({\n returnType: {\n validate: process.env.BABEL_8_BREAKING\n ? assertNodeType(\"TSTypeAnnotation\")\n : // @ts-ignore(Babel 7 vs Babel 8) Babel 7 AST\n assertNodeType(\"TSTypeAnnotation\", \"Noop\"),\n optional: true,\n },\n typeParameters: {\n validate: process.env.BABEL_8_BREAKING\n ? assertNodeType(\"TSTypeParameterDeclaration\")\n : // @ts-ignore(Babel 7 vs Babel 8) Babel 7 AST\n assertNodeType(\"TSTypeParameterDeclaration\", \"Noop\"),\n optional: true,\n },\n});\n\ndefineType(\"TSParameterProperty\", {\n aliases: process.env.BABEL_8_BREAKING ? [] : [\"LVal\"],\n visitor: [\"parameter\"],\n fields: {\n accessibility: {\n validate: assertOneOf(\"public\", \"private\", \"protected\"),\n optional: true,\n },\n readonly: {\n validate: assertValueType(\"boolean\"),\n optional: true,\n },\n parameter: {\n validate: assertNodeType(\"Identifier\", \"AssignmentPattern\"),\n },\n override: {\n validate: assertValueType(\"boolean\"),\n optional: true,\n },\n decorators: {\n validate: arrayOfType(\"Decorator\"),\n optional: true,\n },\n },\n});\n\ndefineType(\"TSDeclareFunction\", {\n aliases: [\"Statement\", \"Declaration\"],\n visitor: [\"id\", \"typeParameters\", \"params\", \"returnType\"],\n fields: {\n ...functionDeclarationCommon(),\n ...tSFunctionTypeAnnotationCommon(),\n },\n});\n\ndefineType(\"TSDeclareMethod\", {\n visitor: [\"decorators\", \"key\", \"typeParameters\", \"params\", \"returnType\"],\n ...classMethodOrPropertyUnionShapeCommon(),\n fields: {\n ...classMethodOrDeclareMethodCommon(),\n ...tSFunctionTypeAnnotationCommon(),\n },\n});\n\ndefineType(\"TSQualifiedName\", {\n aliases: [\"TSEntityName\"],\n visitor: [\"left\", \"right\"],\n fields: {\n left: validateType(\"TSEntityName\"),\n right: validateType(\"Identifier\"),\n },\n});\n\nconst signatureDeclarationCommon = () => ({\n typeParameters: validateOptionalType(\"TSTypeParameterDeclaration\"),\n [process.env.BABEL_8_BREAKING ? \"params\" : \"parameters\"]: validateArrayOfType(\n \"ArrayPattern\",\n \"Identifier\",\n \"ObjectPattern\",\n \"RestElement\",\n ),\n [process.env.BABEL_8_BREAKING ? \"returnType\" : \"typeAnnotation\"]:\n validateOptionalType(\"TSTypeAnnotation\"),\n});\n\nconst callConstructSignatureDeclaration = {\n aliases: [\"TSTypeElement\"],\n visitor: [\n \"typeParameters\",\n process.env.BABEL_8_BREAKING ? \"params\" : \"parameters\",\n process.env.BABEL_8_BREAKING ? \"returnType\" : \"typeAnnotation\",\n ],\n fields: signatureDeclarationCommon(),\n};\n\ndefineType(\"TSCallSignatureDeclaration\", callConstructSignatureDeclaration);\ndefineType(\n \"TSConstructSignatureDeclaration\",\n callConstructSignatureDeclaration,\n);\n\nconst namedTypeElementCommon = () => ({\n key: validateType(\"Expression\"),\n computed: { default: false },\n optional: validateOptional(bool),\n});\n\ndefineType(\"TSPropertySignature\", {\n aliases: [\"TSTypeElement\"],\n visitor: [\"key\", \"typeAnnotation\"],\n fields: {\n ...namedTypeElementCommon(),\n readonly: validateOptional(bool),\n typeAnnotation: validateOptionalType(\"TSTypeAnnotation\"),\n kind: {\n optional: true,\n validate: assertOneOf(\"get\", \"set\"),\n },\n },\n});\n\ndefineType(\"TSMethodSignature\", {\n aliases: [\"TSTypeElement\"],\n visitor: [\n \"key\",\n \"typeParameters\",\n process.env.BABEL_8_BREAKING ? \"params\" : \"parameters\",\n process.env.BABEL_8_BREAKING ? \"returnType\" : \"typeAnnotation\",\n ],\n fields: {\n ...signatureDeclarationCommon(),\n ...namedTypeElementCommon(),\n kind: {\n validate: assertOneOf(\"method\", \"get\", \"set\"),\n },\n },\n});\n\ndefineType(\"TSIndexSignature\", {\n aliases: [\"TSTypeElement\"],\n visitor: [\"parameters\", \"typeAnnotation\"],\n fields: {\n readonly: validateOptional(bool),\n static: validateOptional(bool),\n parameters: validateArrayOfType(\"Identifier\"), // Length must be 1\n typeAnnotation: validateOptionalType(\"TSTypeAnnotation\"),\n },\n});\n\nconst tsKeywordTypes = [\n \"TSAnyKeyword\",\n \"TSBooleanKeyword\",\n \"TSBigIntKeyword\",\n \"TSIntrinsicKeyword\",\n \"TSNeverKeyword\",\n \"TSNullKeyword\",\n \"TSNumberKeyword\",\n \"TSObjectKeyword\",\n \"TSStringKeyword\",\n \"TSSymbolKeyword\",\n \"TSUndefinedKeyword\",\n \"TSUnknownKeyword\",\n \"TSVoidKeyword\",\n] as const;\n\nfor (const type of tsKeywordTypes) {\n defineType(type, {\n aliases: [\"TSType\", \"TSBaseType\"],\n visitor: [],\n fields: {},\n });\n}\n\ndefineType(\"TSThisType\", {\n aliases: [\"TSType\", \"TSBaseType\"],\n visitor: [],\n fields: {},\n});\n\nconst fnOrCtrBase = {\n aliases: [\"TSType\"],\n visitor: [\n \"typeParameters\",\n process.env.BABEL_8_BREAKING ? \"params\" : \"parameters\",\n process.env.BABEL_8_BREAKING ? \"returnType\" : \"typeAnnotation\",\n ],\n};\n\ndefineType(\"TSFunctionType\", {\n ...fnOrCtrBase,\n fields: signatureDeclarationCommon(),\n});\ndefineType(\"TSConstructorType\", {\n ...fnOrCtrBase,\n fields: {\n ...signatureDeclarationCommon(),\n abstract: validateOptional(bool),\n },\n});\n\ndefineType(\"TSTypeReference\", {\n aliases: [\"TSType\"],\n visitor: [\n \"typeName\",\n process.env.BABEL_8_BREAKING ? \"typeArguments\" : \"typeParameters\",\n ],\n fields: {\n typeName: validateType(\"TSEntityName\"),\n [process.env.BABEL_8_BREAKING ? \"typeArguments\" : \"typeParameters\"]:\n validateOptionalType(\"TSTypeParameterInstantiation\"),\n },\n});\n\ndefineType(\"TSTypePredicate\", {\n aliases: [\"TSType\"],\n visitor: [\"parameterName\", \"typeAnnotation\"],\n builder: [\"parameterName\", \"typeAnnotation\", \"asserts\"],\n fields: {\n parameterName: validateType(\"Identifier\", \"TSThisType\"),\n typeAnnotation: validateOptionalType(\"TSTypeAnnotation\"),\n asserts: validateOptional(bool),\n },\n});\n\ndefineType(\"TSTypeQuery\", {\n aliases: [\"TSType\"],\n visitor: [\n \"exprName\",\n process.env.BABEL_8_BREAKING ? \"typeArguments\" : \"typeParameters\",\n ],\n fields: {\n exprName: validateType(\"TSEntityName\", \"TSImportType\"),\n [process.env.BABEL_8_BREAKING ? \"typeArguments\" : \"typeParameters\"]:\n validateOptionalType(\"TSTypeParameterInstantiation\"),\n },\n});\n\ndefineType(\"TSTypeLiteral\", {\n aliases: [\"TSType\"],\n visitor: [\"members\"],\n fields: {\n members: validateArrayOfType(\"TSTypeElement\"),\n },\n});\n\ndefineType(\"TSArrayType\", {\n aliases: [\"TSType\"],\n visitor: [\"elementType\"],\n fields: {\n elementType: validateType(\"TSType\"),\n },\n});\n\ndefineType(\"TSTupleType\", {\n aliases: [\"TSType\"],\n visitor: [\"elementTypes\"],\n fields: {\n elementTypes: validateArrayOfType(\"TSType\", \"TSNamedTupleMember\"),\n },\n});\n\ndefineType(\"TSOptionalType\", {\n aliases: [\"TSType\"],\n visitor: [\"typeAnnotation\"],\n fields: {\n typeAnnotation: validateType(\"TSType\"),\n },\n});\n\ndefineType(\"TSRestType\", {\n aliases: [\"TSType\"],\n visitor: [\"typeAnnotation\"],\n fields: {\n typeAnnotation: validateType(\"TSType\"),\n },\n});\n\ndefineType(\"TSNamedTupleMember\", {\n visitor: [\"label\", \"elementType\"],\n builder: [\"label\", \"elementType\", \"optional\"],\n fields: {\n label: validateType(\"Identifier\"),\n optional: {\n validate: bool,\n default: false,\n },\n elementType: validateType(\"TSType\"),\n },\n});\n\nconst unionOrIntersection = {\n aliases: [\"TSType\"],\n visitor: [\"types\"],\n fields: {\n types: validateArrayOfType(\"TSType\"),\n },\n};\n\ndefineType(\"TSUnionType\", unionOrIntersection);\ndefineType(\"TSIntersectionType\", unionOrIntersection);\n\ndefineType(\"TSConditionalType\", {\n aliases: [\"TSType\"],\n visitor: [\"checkType\", \"extendsType\", \"trueType\", \"falseType\"],\n fields: {\n checkType: validateType(\"TSType\"),\n extendsType: validateType(\"TSType\"),\n trueType: validateType(\"TSType\"),\n falseType: validateType(\"TSType\"),\n },\n});\n\ndefineType(\"TSInferType\", {\n aliases: [\"TSType\"],\n visitor: [\"typeParameter\"],\n fields: {\n typeParameter: validateType(\"TSTypeParameter\"),\n },\n});\n\ndefineType(\"TSParenthesizedType\", {\n aliases: [\"TSType\"],\n visitor: [\"typeAnnotation\"],\n fields: {\n typeAnnotation: validateType(\"TSType\"),\n },\n});\n\ndefineType(\"TSTypeOperator\", {\n aliases: [\"TSType\"],\n visitor: [\"typeAnnotation\"],\n builder: [\"typeAnnotation\", \"operator\"],\n fields: {\n operator: {\n validate: process.env.BABEL_8_BREAKING\n ? assertOneOf(\"keyof\", \"readonly\", \"unique\")\n : assertValueType(\"string\"),\n // \"keyof\" is not a good default, but as this field is required better\n // pick one. We need it for backwards compatibility with older versions\n // of Babel 7.\n default: process.env.BABEL_8_BREAKING ? undefined : \"keyof\",\n },\n typeAnnotation: validateType(\"TSType\"),\n },\n});\n\ndefineType(\"TSIndexedAccessType\", {\n aliases: [\"TSType\"],\n visitor: [\"objectType\", \"indexType\"],\n fields: {\n objectType: validateType(\"TSType\"),\n indexType: validateType(\"TSType\"),\n },\n});\n\ndefineType(\"TSMappedType\", {\n aliases: [\"TSType\"],\n visitor: process.env.BABEL_8_BREAKING\n ? [\"key\", \"constraint\", \"nameType\", \"typeAnnotation\"]\n : [\"typeParameter\", \"nameType\", \"typeAnnotation\"],\n builder: process.env.BABEL_8_BREAKING\n ? [\"key\", \"constraint\", \"nameType\", \"typeAnnotation\"]\n : [\"typeParameter\", \"typeAnnotation\", \"nameType\"],\n fields: {\n ...(process.env.BABEL_8_BREAKING\n ? {\n key: validateType(\"Identifier\"),\n constraint: validateType(\"TSType\"),\n }\n : {\n typeParameter: validateType(\"TSTypeParameter\"),\n }),\n readonly: validateOptional(assertOneOf(true, false, \"+\", \"-\")),\n optional: validateOptional(assertOneOf(true, false, \"+\", \"-\")),\n typeAnnotation: validateOptionalType(\"TSType\"),\n nameType: validateOptionalType(\"TSType\"),\n },\n});\n\ndefineType(\"TSTemplateLiteralType\", {\n aliases: [\"TSType\", \"TSBaseType\"],\n visitor: [\"quasis\", \"types\"],\n fields: {\n quasis: validateArrayOfType(\"TemplateElement\"),\n types: {\n validate: chain(\n assertValueType(\"array\"),\n assertEach(assertNodeType(\"TSType\")),\n function (node: t.TSTemplateLiteralType, key, val) {\n if (node.quasis.length !== val.length + 1) {\n throw new TypeError(\n `Number of ${\n node.type\n } quasis should be exactly one more than the number of types.\\nExpected ${\n val.length + 1\n } quasis but got ${node.quasis.length}`,\n );\n }\n } satisfies ValidatorImpl,\n ),\n },\n },\n});\n\ndefineType(\"TSLiteralType\", {\n aliases: [\"TSType\", \"TSBaseType\"],\n visitor: [\"literal\"],\n fields: {\n literal: {\n validate: (function () {\n const unaryExpression = assertNodeType(\n \"NumericLiteral\",\n \"BigIntLiteral\",\n );\n const unaryOperator = assertOneOf(\"-\");\n\n const literal = assertNodeType(\n \"NumericLiteral\",\n \"StringLiteral\",\n \"BooleanLiteral\",\n \"BigIntLiteral\",\n \"TemplateLiteral\",\n );\n const validator: ValidatorOneOfNodeTypes = function validator(\n parent: t.Node,\n key: string,\n node: t.Node,\n ) {\n // type A = -1 | 1;\n if (is(\"UnaryExpression\", node)) {\n // check operator first\n unaryOperator(node, \"operator\", node.operator);\n unaryExpression(node, \"argument\", node.argument);\n } else {\n // type A = 'foo' | 'bar' | false | 1;\n literal(parent, key, node);\n }\n };\n\n validator.oneOfNodeTypes = [\n \"NumericLiteral\",\n \"StringLiteral\",\n \"BooleanLiteral\",\n \"BigIntLiteral\",\n \"TemplateLiteral\",\n \"UnaryExpression\",\n ];\n\n return validator;\n })(),\n },\n },\n});\n\nif (process.env.BABEL_8_BREAKING) {\n defineType(\"TSClassImplements\", {\n aliases: [\"TSType\"],\n visitor: [\"expression\", \"typeArguments\"],\n fields: {\n expression: validateType(\"Expression\"),\n typeArguments: validateOptionalType(\"TSTypeParameterInstantiation\"),\n },\n });\n defineType(\"TSInterfaceHeritage\", {\n aliases: [\"TSType\"],\n visitor: [\"expression\", \"typeArguments\"],\n fields: {\n expression: validateType(\"Expression\"),\n typeArguments: validateOptionalType(\"TSTypeParameterInstantiation\"),\n },\n });\n} else {\n defineType(\"TSExpressionWithTypeArguments\", {\n aliases: [\"TSType\"],\n visitor: [\"expression\", \"typeParameters\"],\n fields: {\n expression: validateType(\"TSEntityName\"),\n typeParameters: validateOptionalType(\"TSTypeParameterInstantiation\"),\n },\n });\n}\n\ndefineType(\"TSInterfaceDeclaration\", {\n // \"Statement\" alias prevents a semicolon from appearing after it in an export declaration.\n aliases: [\"Statement\", \"Declaration\"],\n visitor: [\"id\", \"typeParameters\", \"extends\", \"body\"],\n fields: {\n declare: validateOptional(bool),\n id: validateType(\"Identifier\"),\n typeParameters: validateOptionalType(\"TSTypeParameterDeclaration\"),\n extends: validateOptional(\n arrayOfType(\n // @ts-ignore(Babel 7 vs Babel 8) Babel 7 AST\n process.env.BABEL_8_BREAKING\n ? \"TSClassImplements\"\n : \"TSExpressionWithTypeArguments\",\n ),\n ),\n body: validateType(\"TSInterfaceBody\"),\n },\n});\n\ndefineType(\"TSInterfaceBody\", {\n visitor: [\"body\"],\n fields: {\n body: validateArrayOfType(\"TSTypeElement\"),\n },\n});\n\ndefineType(\"TSTypeAliasDeclaration\", {\n aliases: [\"Statement\", \"Declaration\"],\n visitor: [\"id\", \"typeParameters\", \"typeAnnotation\"],\n fields: {\n declare: validateOptional(bool),\n id: validateType(\"Identifier\"),\n typeParameters: validateOptionalType(\"TSTypeParameterDeclaration\"),\n typeAnnotation: validateType(\"TSType\"),\n },\n});\n\ndefineType(\"TSInstantiationExpression\", {\n aliases: [\"Expression\"],\n visitor: process.env.BABEL_8_BREAKING\n ? [\"expression\", \"typeArguments\"]\n : [\"expression\", \"typeParameters\"],\n fields: {\n expression: validateType(\"Expression\"),\n [process.env.BABEL_8_BREAKING ? \"typeArguments\" : \"typeParameters\"]:\n validateOptionalType(\"TSTypeParameterInstantiation\"),\n },\n});\n\nconst TSTypeExpression = {\n aliases: [\"Expression\", \"LVal\", \"PatternLike\"],\n visitor: [\"expression\", \"typeAnnotation\"],\n fields: {\n expression: validateType(\"Expression\"),\n typeAnnotation: validateType(\"TSType\"),\n },\n};\n\ndefineType(\"TSAsExpression\", TSTypeExpression);\ndefineType(\"TSSatisfiesExpression\", TSTypeExpression);\n\ndefineType(\"TSTypeAssertion\", {\n aliases: [\"Expression\", \"LVal\", \"PatternLike\"],\n visitor: [\"typeAnnotation\", \"expression\"],\n fields: {\n typeAnnotation: validateType(\"TSType\"),\n expression: validateType(\"Expression\"),\n },\n});\n\ndefineType(\"TSEnumBody\", {\n visitor: [\"members\"],\n fields: {\n members: validateArrayOfType(\"TSEnumMember\"),\n },\n});\n\nif (process.env.BABEL_8_BREAKING) {\n defineType(\"TSEnumDeclaration\", {\n // \"Statement\" alias prevents a semicolon from appearing after it in an export declaration.\n aliases: [\"Statement\", \"Declaration\"],\n visitor: [\"id\", \"body\"],\n fields: {\n declare: validateOptional(bool),\n const: validateOptional(bool),\n id: validateType(\"Identifier\"),\n // @ts-ignore(Babel 7 vs Babel 8) Babel 8 AST\n body: validateType(\"TSEnumBody\"),\n },\n });\n} else {\n defineType(\"TSEnumDeclaration\", {\n // \"Statement\" alias prevents a semicolon from appearing after it in an export declaration.\n aliases: [\"Statement\", \"Declaration\"],\n visitor: [\"id\", \"members\"],\n fields: {\n declare: validateOptional(bool),\n const: validateOptional(bool),\n id: validateType(\"Identifier\"),\n members: validateArrayOfType(\"TSEnumMember\"),\n initializer: validateOptionalType(\"Expression\"),\n body: validateOptionalType(\"TSEnumBody\"),\n },\n });\n}\n\ndefineType(\"TSEnumMember\", {\n visitor: [\"id\", \"initializer\"],\n fields: {\n id: validateType(\"Identifier\", \"StringLiteral\"),\n initializer: validateOptionalType(\"Expression\"),\n },\n});\n\ndefineType(\"TSModuleDeclaration\", {\n aliases: [\"Statement\", \"Declaration\"],\n visitor: [\"id\", \"body\"],\n fields: {\n kind: {\n validate: assertOneOf(\"global\", \"module\", \"namespace\"),\n },\n declare: validateOptional(bool),\n ...(!process.env.BABEL_8_BREAKING && { global: validateOptional(bool) }),\n id: process.env.BABEL_8_BREAKING\n ? validateType(\"TSEntityName\", \"StringLiteral\")\n : validateType(\"Identifier\", \"StringLiteral\"),\n body: process.env.BABEL_8_BREAKING\n ? validateType(\"TSModuleBlock\")\n : validateType(\"TSModuleBlock\", \"TSModuleDeclaration\"),\n },\n});\n\ndefineType(\"TSModuleBlock\", {\n aliases: [\"Scopable\", \"Block\", \"BlockParent\", \"FunctionParent\"],\n visitor: [\"body\"],\n fields: {\n body: validateArrayOfType(\"Statement\"),\n },\n});\n\ndefineType(\"TSImportType\", {\n aliases: [\"TSType\"],\n builder: [\n process.env.BABEL_8_BREAKING ? \"source\" : \"argument\",\n \"qualifier\",\n process.env.BABEL_8_BREAKING ? \"typeArguments\" : \"typeParameters\",\n ],\n visitor: [\n process.env.BABEL_8_BREAKING ? \"source\" : \"argument\",\n \"options\",\n \"qualifier\",\n process.env.BABEL_8_BREAKING ? \"typeArguments\" : \"typeParameters\",\n ],\n fields: {\n ...(process.env.BABEL_8_BREAKING\n ? { source: validateType(\"StringLiteral\") }\n : { argument: validateType(\"StringLiteral\") }),\n qualifier: validateOptionalType(\"TSEntityName\"),\n ...(process.env.BABEL_8_BREAKING\n ? {\n typeArguments: validateOptionalType(\"TSTypeParameterInstantiation\"),\n }\n : {\n typeParameters: validateOptionalType(\"TSTypeParameterInstantiation\"),\n }),\n options: {\n validate: assertNodeType(\"ObjectExpression\"),\n optional: true,\n },\n },\n});\n\ndefineType(\"TSImportEqualsDeclaration\", {\n aliases: [\"Statement\", \"Declaration\"],\n visitor: [\"id\", \"moduleReference\"],\n fields: {\n ...(process.env.BABEL_8_BREAKING ? {} : { isExport: validate(bool) }),\n id: validateType(\"Identifier\"),\n moduleReference: validateType(\"TSEntityName\", \"TSExternalModuleReference\"),\n importKind: {\n validate: assertOneOf(\"type\", \"value\"),\n optional: true,\n },\n },\n});\n\ndefineType(\"TSExternalModuleReference\", {\n visitor: [\"expression\"],\n fields: {\n expression: validateType(\"StringLiteral\"),\n },\n});\n\ndefineType(\"TSNonNullExpression\", {\n aliases: [\"Expression\", \"LVal\", \"PatternLike\"],\n visitor: [\"expression\"],\n fields: {\n expression: validateType(\"Expression\"),\n },\n});\n\ndefineType(\"TSExportAssignment\", {\n aliases: [\"Statement\"],\n visitor: [\"expression\"],\n fields: {\n expression: validateType(\"Expression\"),\n },\n});\n\ndefineType(\"TSNamespaceExportDeclaration\", {\n aliases: [\"Statement\"],\n visitor: [\"id\"],\n fields: {\n id: validateType(\"Identifier\"),\n },\n});\n\ndefineType(\"TSTypeAnnotation\", {\n visitor: [\"typeAnnotation\"],\n fields: {\n typeAnnotation: {\n validate: assertNodeType(\"TSType\"),\n },\n },\n});\n\ndefineType(\"TSTypeParameterInstantiation\", {\n visitor: [\"params\"],\n fields: {\n params: validateArrayOfType(\"TSType\"),\n },\n});\n\ndefineType(\"TSTypeParameterDeclaration\", {\n visitor: [\"params\"],\n fields: {\n params: validateArrayOfType(\"TSTypeParameter\"),\n },\n});\n\ndefineType(\"TSTypeParameter\", {\n builder: [\"constraint\", \"default\", \"name\"],\n visitor: process.env.BABEL_8_BREAKING\n ? [\"name\", \"constraint\", \"default\"]\n : [\"constraint\", \"default\"],\n fields: {\n name: {\n validate: !process.env.BABEL_8_BREAKING\n ? assertValueType(\"string\")\n : assertNodeType(\"Identifier\"),\n },\n in: {\n validate: assertValueType(\"boolean\"),\n optional: true,\n },\n out: {\n validate: assertValueType(\"boolean\"),\n optional: true,\n },\n const: {\n validate: assertValueType(\"boolean\"),\n optional: true,\n },\n constraint: {\n validate: assertNodeType(\"TSType\"),\n optional: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e,EAAC,SAAS,CAAC;MACpCK,QAAQ,EAAE;IACZ,CAAC;IACD0F,UAAU,EAAE;MACV5F,QAAQ,EAAE,IAAAC,qBAAc,EAAC,QAAQ,CAAC;MAClCC,QAAQ,EAAE;IACZ,CAAC;IACD2B,OAAO,EAAE;MACP7B,QAAQ,EAAE,IAAAC,qBAAc,EAAC,QAAQ,CAAC;MAClCC,QAAQ,EAAE;IACZ;EACF;AACF,CAAC,CAAC","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/definitions/utils.js b/node_modules/@babel/types/lib/definitions/utils.js new file mode 100644 index 0000000000000000000000000000000000000000..ec7c0942a9b92e2b3bd1f3b00345d4d2f8700009 --- /dev/null +++ b/node_modules/@babel/types/lib/definitions/utils.js @@ -0,0 +1,296 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.allExpandedTypes = exports.VISITOR_KEYS = exports.NODE_UNION_SHAPES__PRIVATE = exports.NODE_PARENT_VALIDATIONS = exports.NODE_FIELDS = exports.FLIPPED_ALIAS_KEYS = exports.DEPRECATED_KEYS = exports.BUILDER_KEYS = exports.ALIAS_KEYS = void 0; +exports.arrayOf = arrayOf; +exports.arrayOfType = arrayOfType; +exports.assertEach = assertEach; +exports.assertNodeOrValueType = assertNodeOrValueType; +exports.assertNodeType = assertNodeType; +exports.assertOneOf = assertOneOf; +exports.assertOptionalChainStart = assertOptionalChainStart; +exports.assertShape = assertShape; +exports.assertValueType = assertValueType; +exports.chain = chain; +exports.default = defineType; +exports.defineAliasedType = defineAliasedType; +exports.validate = validate; +exports.validateArrayOfType = validateArrayOfType; +exports.validateOptional = validateOptional; +exports.validateOptionalType = validateOptionalType; +exports.validateType = validateType; +var _is = require("../validators/is.js"); +var _validate = require("../validators/validate.js"); +const VISITOR_KEYS = exports.VISITOR_KEYS = {}; +const ALIAS_KEYS = exports.ALIAS_KEYS = {}; +const FLIPPED_ALIAS_KEYS = exports.FLIPPED_ALIAS_KEYS = {}; +const NODE_FIELDS = exports.NODE_FIELDS = {}; +const BUILDER_KEYS = exports.BUILDER_KEYS = {}; +const DEPRECATED_KEYS = exports.DEPRECATED_KEYS = {}; +const NODE_PARENT_VALIDATIONS = exports.NODE_PARENT_VALIDATIONS = {}; +const NODE_UNION_SHAPES__PRIVATE = exports.NODE_UNION_SHAPES__PRIVATE = {}; +function getType(val) { + if (Array.isArray(val)) { + return "array"; + } else if (val === null) { + return "null"; + } else { + return typeof val; + } +} +function validate(validate) { + return { + validate + }; +} +function validateType(...typeNames) { + return validate(assertNodeType(...typeNames)); +} +function validateOptional(validate) { + return { + validate, + optional: true + }; +} +function validateOptionalType(...typeNames) { + return { + validate: assertNodeType(...typeNames), + optional: true + }; +} +function arrayOf(elementType) { + return chain(assertValueType("array"), assertEach(elementType)); +} +function arrayOfType(...typeNames) { + return arrayOf(assertNodeType(...typeNames)); +} +function validateArrayOfType(...typeNames) { + return validate(arrayOfType(...typeNames)); +} +function assertEach(callback) { + const childValidator = process.env.BABEL_TYPES_8_BREAKING ? _validate.validateChild : () => {}; + function validator(node, key, val) { + if (!Array.isArray(val)) return; + let i = 0; + const subKey = { + toString() { + return `${key}[${i}]`; + } + }; + for (; i < val.length; i++) { + const v = val[i]; + callback(node, subKey, v); + childValidator(node, subKey, v); + } + } + validator.each = callback; + return validator; +} +function assertOneOf(...values) { + function validate(node, key, val) { + if (!values.includes(val)) { + throw new TypeError(`Property ${key} expected value to be one of ${JSON.stringify(values)} but got ${JSON.stringify(val)}`); + } + } + validate.oneOf = values; + return validate; +} +const allExpandedTypes = exports.allExpandedTypes = []; +function assertNodeType(...types) { + const expandedTypes = new Set(); + allExpandedTypes.push({ + types, + set: expandedTypes + }); + function validate(node, key, val) { + const valType = val == null ? void 0 : val.type; + if (valType != null) { + if (expandedTypes.has(valType)) { + (0, _validate.validateChild)(node, key, val); + return; + } + if (valType === "Placeholder") { + for (const type of types) { + if ((0, _is.default)(type, val)) { + (0, _validate.validateChild)(node, key, val); + return; + } + } + } + } + throw new TypeError(`Property ${key} of ${node.type} expected node to be of a type ${JSON.stringify(types)} but instead got ${JSON.stringify(valType)}`); + } + validate.oneOfNodeTypes = types; + return validate; +} +function assertNodeOrValueType(...types) { + function validate(node, key, val) { + const primitiveType = getType(val); + for (const type of types) { + if (primitiveType === type || (0, _is.default)(type, val)) { + (0, _validate.validateChild)(node, key, val); + return; + } + } + throw new TypeError(`Property ${key} of ${node.type} expected node to be of a type ${JSON.stringify(types)} but instead got ${JSON.stringify(val == null ? void 0 : val.type)}`); + } + validate.oneOfNodeOrValueTypes = types; + return validate; +} +function assertValueType(type) { + function validate(node, key, val) { + if (getType(val) === type) { + return; + } + throw new TypeError(`Property ${key} expected type of ${type} but got ${getType(val)}`); + } + validate.type = type; + return validate; +} +function assertShape(shape) { + const keys = Object.keys(shape); + function validate(node, key, val) { + const errors = []; + for (const property of keys) { + try { + (0, _validate.validateField)(node, property, val[property], shape[property]); + } catch (error) { + if (error instanceof TypeError) { + errors.push(error.message); + continue; + } + throw error; + } + } + if (errors.length) { + throw new TypeError(`Property ${key} of ${node.type} expected to have the following:\n${errors.join("\n")}`); + } + } + validate.shapeOf = shape; + return validate; +} +function assertOptionalChainStart() { + function validate(node) { + var _current; + let current = node; + while (node) { + const { + type + } = current; + if (type === "OptionalCallExpression") { + if (current.optional) return; + current = current.callee; + continue; + } + if (type === "OptionalMemberExpression") { + if (current.optional) return; + current = current.object; + continue; + } + break; + } + throw new TypeError(`Non-optional ${node.type} must chain from an optional OptionalMemberExpression or OptionalCallExpression. Found chain from ${(_current = current) == null ? void 0 : _current.type}`); + } + return validate; +} +function chain(...fns) { + function validate(...args) { + for (const fn of fns) { + fn(...args); + } + } + validate.chainOf = fns; + if (fns.length >= 2 && "type" in fns[0] && fns[0].type === "array" && !("each" in fns[1])) { + throw new Error(`An assertValueType("array") validator can only be followed by an assertEach(...) validator.`); + } + return validate; +} +const validTypeOpts = new Set(["aliases", "builder", "deprecatedAlias", "fields", "inherits", "visitor", "validate", "unionShape"]); +const validFieldKeys = new Set(["default", "optional", "deprecated", "validate"]); +const store = {}; +function defineAliasedType(...aliases) { + return (type, opts = {}) => { + let defined = opts.aliases; + if (!defined) { + var _store$opts$inherits$; + if (opts.inherits) defined = (_store$opts$inherits$ = store[opts.inherits].aliases) == null ? void 0 : _store$opts$inherits$.slice(); + defined != null ? defined : defined = []; + opts.aliases = defined; + } + const additional = aliases.filter(a => !defined.includes(a)); + defined.unshift(...additional); + defineType(type, opts); + }; +} +function defineType(type, opts = {}) { + const inherits = opts.inherits && store[opts.inherits] || {}; + let fields = opts.fields; + if (!fields) { + fields = {}; + if (inherits.fields) { + const keys = Object.getOwnPropertyNames(inherits.fields); + for (const key of keys) { + const field = inherits.fields[key]; + const def = field.default; + if (Array.isArray(def) ? def.length > 0 : def && typeof def === "object") { + throw new Error("field defaults can only be primitives or empty arrays currently"); + } + fields[key] = { + default: Array.isArray(def) ? [] : def, + optional: field.optional, + deprecated: field.deprecated, + validate: field.validate + }; + } + } + } + const visitor = opts.visitor || inherits.visitor || []; + const aliases = opts.aliases || inherits.aliases || []; + const builder = opts.builder || inherits.builder || opts.visitor || []; + for (const k of Object.keys(opts)) { + if (!validTypeOpts.has(k)) { + throw new Error(`Unknown type option "${k}" on ${type}`); + } + } + if (opts.deprecatedAlias) { + DEPRECATED_KEYS[opts.deprecatedAlias] = type; + } + for (const key of visitor.concat(builder)) { + fields[key] = fields[key] || {}; + } + for (const key of Object.keys(fields)) { + const field = fields[key]; + if (field.default !== undefined && !builder.includes(key)) { + field.optional = true; + } + if (field.default === undefined) { + field.default = null; + } else if (!field.validate && field.default != null) { + field.validate = assertValueType(getType(field.default)); + } + for (const k of Object.keys(field)) { + if (!validFieldKeys.has(k)) { + throw new Error(`Unknown field key "${k}" on ${type}.${key}`); + } + } + } + VISITOR_KEYS[type] = opts.visitor = visitor; + BUILDER_KEYS[type] = opts.builder = builder; + NODE_FIELDS[type] = opts.fields = fields; + ALIAS_KEYS[type] = opts.aliases = aliases; + aliases.forEach(alias => { + FLIPPED_ALIAS_KEYS[alias] = FLIPPED_ALIAS_KEYS[alias] || []; + FLIPPED_ALIAS_KEYS[alias].push(type); + }); + if (opts.validate) { + NODE_PARENT_VALIDATIONS[type] = opts.validate; + } + if (opts.unionShape) { + NODE_UNION_SHAPES__PRIVATE[type] = opts.unionShape; + } + store[type] = opts; +} + +//# sourceMappingURL=utils.js.map diff --git a/node_modules/@babel/types/lib/definitions/utils.js.map b/node_modules/@babel/types/lib/definitions/utils.js.map new file mode 100644 index 0000000000000000000000000000000000000000..c78a7e5154d432bd8b982e145b0dfc7cbbc42bb4 --- /dev/null +++ b/node_modules/@babel/types/lib/definitions/utils.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_is","require","_validate","VISITOR_KEYS","exports","ALIAS_KEYS","FLIPPED_ALIAS_KEYS","NODE_FIELDS","BUILDER_KEYS","DEPRECATED_KEYS","NODE_PARENT_VALIDATIONS","NODE_UNION_SHAPES__PRIVATE","getType","val","Array","isArray","validate","validateType","typeNames","assertNodeType","validateOptional","optional","validateOptionalType","arrayOf","elementType","chain","assertValueType","assertEach","arrayOfType","validateArrayOfType","callback","childValidator","process","env","BABEL_TYPES_8_BREAKING","validateChild","validator","node","key","i","subKey","toString","length","v","each","assertOneOf","values","includes","TypeError","JSON","stringify","oneOf","allExpandedTypes","types","expandedTypes","Set","push","set","valType","type","has","is","oneOfNodeTypes","assertNodeOrValueType","primitiveType","oneOfNodeOrValueTypes","assertShape","shape","keys","Object","errors","property","validateField","error","message","join","shapeOf","assertOptionalChainStart","_current","current","callee","object","fns","args","fn","chainOf","Error","validTypeOpts","validFieldKeys","store","defineAliasedType","aliases","opts","defined","_store$opts$inherits$","inherits","slice","additional","filter","a","unshift","defineType","fields","getOwnPropertyNames","field","def","default","deprecated","visitor","builder","k","deprecatedAlias","concat","undefined","forEach","alias","unionShape"],"sources":["../../src/definitions/utils.ts"],"sourcesContent":["import is from \"../validators/is.ts\";\nimport { validateField, validateChild } from \"../validators/validate.ts\";\nimport type * as t from \"../index.ts\";\n\nexport const VISITOR_KEYS: Record = {};\nexport const ALIAS_KEYS: Partial> =\n {};\nexport const FLIPPED_ALIAS_KEYS: Record = {};\nexport const NODE_FIELDS: Record = {};\nexport const BUILDER_KEYS: Record = {};\nexport const DEPRECATED_KEYS: Record = {};\nexport const NODE_PARENT_VALIDATIONS: Record = {};\nexport const NODE_UNION_SHAPES__PRIVATE: Record = {};\n\nfunction getType(val: any) {\n if (Array.isArray(val)) {\n return \"array\";\n } else if (val === null) {\n return \"null\";\n } else {\n return typeof val;\n }\n}\n\ntype NodeTypesWithoutComment = t.Node[\"type\"] | keyof t.Aliases;\n\ntype NodeTypes = NodeTypesWithoutComment | t.Comment[\"type\"];\n\ntype PrimitiveTypes = ReturnType;\n\ntype FieldDefinitions = Record;\n\ntype UnionShape = {\n discriminator: string;\n shapes: {\n name: string;\n value: any[];\n properties: Record;\n }[];\n};\n\ntype DefineTypeOpts = {\n fields?: FieldDefinitions;\n visitor?: string[];\n aliases?: string[];\n builder?: string[];\n inherits?: NodeTypes;\n deprecatedAlias?: string;\n validate?: Validator;\n unionShape?: UnionShape;\n};\n\nexport type ValidatorImpl = (\n node?: t.Node,\n key?: string | { toString(): string },\n val?: any,\n) => void;\n\nexport type ValidatorType = { type: PrimitiveTypes } & ValidatorImpl;\nexport type ValidatorEach = { each: Validator } & ValidatorImpl;\nexport type ValidatorChainOf = {\n chainOf: readonly Validator[];\n} & ValidatorImpl;\nexport type ValidatorOneOf = { oneOf: readonly any[] } & ValidatorImpl;\nexport type ValidatorOneOfNodeTypes = {\n oneOfNodeTypes: readonly NodeTypes[];\n} & ValidatorImpl;\nexport type ValidatorOneOfNodeOrValueTypes = {\n oneOfNodeOrValueTypes: readonly (NodeTypes | PrimitiveTypes)[];\n} & ValidatorImpl;\nexport type ValidatorShapeOf = {\n shapeOf: Record;\n} & ValidatorImpl;\n\nexport type Validator =\n | ValidatorType\n | ValidatorEach\n | ValidatorChainOf\n | ValidatorOneOf\n | ValidatorOneOfNodeTypes\n | ValidatorOneOfNodeOrValueTypes\n | ValidatorShapeOf\n | ValidatorImpl;\n\nexport type FieldOptions = {\n default?: string | number | boolean | [];\n optional?: boolean;\n deprecated?: boolean;\n validate?: Validator;\n};\n\nexport function validate(validate: Validator): FieldOptions {\n return { validate };\n}\n\nexport function validateType(...typeNames: NodeTypes[]) {\n return validate(assertNodeType(...typeNames));\n}\n\nexport function validateOptional(validate: Validator): FieldOptions {\n return { validate, optional: true };\n}\n\nexport function validateOptionalType(...typeNames: NodeTypes[]): FieldOptions {\n return { validate: assertNodeType(...typeNames), optional: true };\n}\n\nexport function arrayOf(elementType: Validator): Validator {\n return chain(assertValueType(\"array\"), assertEach(elementType));\n}\n\nexport function arrayOfType(...typeNames: NodeTypes[]) {\n return arrayOf(assertNodeType(...typeNames));\n}\n\nexport function validateArrayOfType(...typeNames: NodeTypes[]) {\n return validate(arrayOfType(...typeNames));\n}\n\nexport function assertEach(callback: Validator): Validator {\n const childValidator =\n process.env.BABEL_8_BREAKING || process.env.BABEL_TYPES_8_BREAKING\n ? validateChild\n : () => {};\n\n function validator(node: t.Node, key: string, val: any) {\n if (!Array.isArray(val)) return;\n\n let i = 0;\n // We lazily concatenate strings here for performance reasons.\n // Concatenating the strings is expensive because we are actually concatenating a string and a number,\n // so V8 cannot just create a \"rope string\" but has to allocate memory for the string resulting from the number\n // This string is very rarely used, only in error paths, so we can skip the concatenation cost in most cases\n const subKey = {\n toString() {\n return `${key}[${i}]`;\n },\n };\n\n for (; i < val.length; i++) {\n const v = val[i];\n callback(node, subKey, v);\n childValidator(node, subKey, v);\n }\n }\n validator.each = callback;\n return validator;\n}\n\nexport function assertOneOf(...values: any[]): Validator {\n function validate(node: any, key: string, val: any) {\n if (!values.includes(val)) {\n throw new TypeError(\n `Property ${key} expected value to be one of ${JSON.stringify(\n values,\n )} but got ${JSON.stringify(val)}`,\n );\n }\n }\n\n validate.oneOf = values;\n\n return validate;\n}\n\nexport const allExpandedTypes: {\n types: NodeTypes[];\n set: Set;\n}[] = [];\n\nexport function assertNodeType(...types: NodeTypes[]): Validator {\n const expandedTypes = new Set();\n\n allExpandedTypes.push({ types, set: expandedTypes });\n\n function validate(node: t.Node, key: string, val: any) {\n const valType = val?.type;\n if (valType != null) {\n if (expandedTypes.has(valType)) {\n validateChild(node, key, val);\n return;\n }\n if (valType === \"Placeholder\") {\n for (const type of types) {\n if (is(type, val)) {\n validateChild(node, key, val);\n return;\n }\n }\n }\n }\n\n throw new TypeError(\n `Property ${key} of ${\n node.type\n } expected node to be of a type ${JSON.stringify(\n types,\n )} but instead got ${JSON.stringify(valType)}`,\n );\n }\n\n validate.oneOfNodeTypes = types;\n\n return validate;\n}\n\nexport function assertNodeOrValueType(\n ...types: (NodeTypes | PrimitiveTypes)[]\n): Validator {\n function validate(node: t.Node, key: string, val: any) {\n const primitiveType = getType(val);\n for (const type of types) {\n if (primitiveType === type || is(type, val)) {\n validateChild(node, key, val);\n return;\n }\n }\n\n throw new TypeError(\n `Property ${key} of ${\n node.type\n } expected node to be of a type ${JSON.stringify(\n types,\n )} but instead got ${JSON.stringify(val?.type)}`,\n );\n }\n\n validate.oneOfNodeOrValueTypes = types;\n\n return validate;\n}\n\nexport function assertValueType(type: PrimitiveTypes): Validator {\n function validate(node: t.Node, key: string, val: any) {\n if (getType(val) === type) {\n return;\n }\n\n throw new TypeError(\n `Property ${key} expected type of ${type} but got ${getType(val)}`,\n );\n }\n\n validate.type = type;\n\n return validate;\n}\n\nexport function assertShape(shape: Record): Validator {\n const keys = Object.keys(shape);\n function validate(node: t.Node, key: string, val: any) {\n const errors = [];\n for (const property of keys) {\n try {\n validateField(node, property, val[property], shape[property]);\n } catch (error) {\n if (error instanceof TypeError) {\n errors.push(error.message);\n continue;\n }\n throw error;\n }\n }\n if (errors.length) {\n throw new TypeError(\n `Property ${key} of ${\n node.type\n } expected to have the following:\\n${errors.join(\"\\n\")}`,\n );\n }\n }\n\n validate.shapeOf = shape;\n\n return validate;\n}\n\nexport function assertOptionalChainStart(): Validator {\n function validate(node: t.Node) {\n let current = node;\n while (node) {\n const { type } = current;\n if (type === \"OptionalCallExpression\") {\n if (current.optional) return;\n current = current.callee;\n continue;\n }\n\n if (type === \"OptionalMemberExpression\") {\n if (current.optional) return;\n current = current.object;\n continue;\n }\n\n break;\n }\n\n throw new TypeError(\n `Non-optional ${node.type} must chain from an optional OptionalMemberExpression or OptionalCallExpression. Found chain from ${current?.type}`,\n );\n }\n\n return validate;\n}\n\nexport function chain(...fns: Validator[]): Validator {\n function validate(...args: Parameters) {\n for (const fn of fns) {\n fn(...args);\n }\n }\n validate.chainOf = fns;\n\n if (\n fns.length >= 2 &&\n \"type\" in fns[0] &&\n fns[0].type === \"array\" &&\n !(\"each\" in fns[1])\n ) {\n throw new Error(\n `An assertValueType(\"array\") validator can only be followed by an assertEach(...) validator.`,\n );\n }\n\n return validate;\n}\n\nconst validTypeOpts = new Set([\n \"aliases\",\n \"builder\",\n \"deprecatedAlias\",\n \"fields\",\n \"inherits\",\n \"visitor\",\n \"validate\",\n \"unionShape\",\n]);\nconst validFieldKeys = new Set([\n \"default\",\n \"optional\",\n \"deprecated\",\n \"validate\",\n]);\n\nconst store = {} as Record;\n\n// Wraps defineType to ensure these aliases are included.\nexport function defineAliasedType(...aliases: string[]) {\n return (type: string, opts: DefineTypeOpts = {}) => {\n let defined = opts.aliases;\n if (!defined) {\n if (opts.inherits) defined = store[opts.inherits].aliases?.slice();\n defined ??= [];\n opts.aliases = defined;\n }\n const additional = aliases.filter(a => !defined.includes(a));\n defined.unshift(...additional);\n defineType(type, opts);\n };\n}\n\nexport default function defineType(type: string, opts: DefineTypeOpts = {}) {\n const inherits = (opts.inherits && store[opts.inherits]) || {};\n\n let fields = opts.fields;\n if (!fields) {\n fields = {};\n if (inherits.fields) {\n const keys = Object.getOwnPropertyNames(inherits.fields);\n for (const key of keys) {\n const field = inherits.fields[key];\n const def = field.default;\n if (\n Array.isArray(def) ? def.length > 0 : def && typeof def === \"object\"\n ) {\n throw new Error(\n \"field defaults can only be primitives or empty arrays currently\",\n );\n }\n fields[key] = {\n default: Array.isArray(def) ? [] : def,\n optional: field.optional,\n deprecated: field.deprecated,\n validate: field.validate,\n };\n }\n }\n }\n\n const visitor: string[] = opts.visitor || inherits.visitor || [];\n const aliases: string[] = opts.aliases || inherits.aliases || [];\n const builder: string[] =\n opts.builder || inherits.builder || opts.visitor || [];\n\n for (const k of Object.keys(opts)) {\n if (!validTypeOpts.has(k)) {\n throw new Error(`Unknown type option \"${k}\" on ${type}`);\n }\n }\n\n if (opts.deprecatedAlias) {\n DEPRECATED_KEYS[opts.deprecatedAlias] = type as NodeTypesWithoutComment;\n }\n\n // ensure all field keys are represented in `fields`\n for (const key of visitor.concat(builder)) {\n fields[key] = fields[key] || {};\n }\n\n for (const key of Object.keys(fields)) {\n const field = fields[key];\n\n if (field.default !== undefined && !builder.includes(key)) {\n field.optional = true;\n }\n if (field.default === undefined) {\n field.default = null;\n } else if (!field.validate && field.default != null) {\n field.validate = assertValueType(getType(field.default));\n }\n\n for (const k of Object.keys(field)) {\n if (!validFieldKeys.has(k)) {\n throw new Error(`Unknown field key \"${k}\" on ${type}.${key}`);\n }\n }\n }\n\n VISITOR_KEYS[type] = opts.visitor = visitor;\n BUILDER_KEYS[type] = opts.builder = builder;\n NODE_FIELDS[type] = opts.fields = fields;\n ALIAS_KEYS[type as NodeTypesWithoutComment] = opts.aliases = aliases;\n aliases.forEach(alias => {\n FLIPPED_ALIAS_KEYS[alias] = FLIPPED_ALIAS_KEYS[alias] || [];\n FLIPPED_ALIAS_KEYS[alias].push(type as NodeTypesWithoutComment);\n });\n\n if (opts.validate) {\n NODE_PARENT_VALIDATIONS[type] = opts.validate;\n }\n if (opts.unionShape) {\n NODE_UNION_SHAPES__PRIVATE[type] = opts.unionShape;\n }\n\n store[type] = opts;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,GAAA,GAAAC,OAAA;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,UAAU,EAAE;IACnBzG,0BAA0B,CAACgD,IAAI,CAAC,GAAGiC,IAAI,CAACwB,UAAU;EACpD;EAEA3B,KAAK,CAAC9B,IAAI,CAAC,GAAGiC,IAAI;AACpB","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/index-legacy.d.ts b/node_modules/@babel/types/lib/index-legacy.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..90736c33c609a6e7e9e7b1c50701855e17c77255 --- /dev/null +++ b/node_modules/@babel/types/lib/index-legacy.d.ts @@ -0,0 +1,2797 @@ +// NOTE: This file is autogenerated. Do not modify. +// See packages/babel-types/scripts/generators/typescript-legacy.ts for script used. + +interface BaseComment { + value: string; + start: number; + end: number; + loc: SourceLocation; + type: "CommentBlock" | "CommentLine"; +} + +export interface CommentBlock extends BaseComment { + type: "CommentBlock"; +} + +export interface CommentLine extends BaseComment { + type: "CommentLine"; +} + +export type Comment = CommentBlock | CommentLine; + +export interface SourceLocation { + start: { + line: number; + column: number; + }; + + end: { + line: number; + column: number; + }; +} + +interface BaseNode { + leadingComments: ReadonlyArray | null; + innerComments: ReadonlyArray | null; + trailingComments: ReadonlyArray | null; + start: number | null; + end: number | null; + loc: SourceLocation | null; + type: Node["type"]; + extra?: Record; +} + +export type Node = Accessor | AnyTypeAnnotation | ArgumentPlaceholder | ArrayExpression | ArrayPattern | ArrayTypeAnnotation | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BigIntLiteral | Binary | BinaryExpression | BindExpression | Block | BlockParent | BlockStatement | BooleanLiteral | BooleanLiteralTypeAnnotation | BooleanTypeAnnotation | BreakStatement | CallExpression | CatchClause | Class | ClassAccessorProperty | ClassBody | ClassDeclaration | ClassExpression | ClassImplements | ClassMethod | ClassPrivateMethod | ClassPrivateProperty | ClassProperty | CompletionStatement | Conditional | ConditionalExpression | ContinueStatement | DebuggerStatement | DecimalLiteral | Declaration | DeclareClass | DeclareExportAllDeclaration | DeclareExportDeclaration | DeclareFunction | DeclareInterface | DeclareModule | DeclareModuleExports | DeclareOpaqueType | DeclareTypeAlias | DeclareVariable | DeclaredPredicate | Decorator | Directive | DirectiveLiteral | DoExpression | DoWhileStatement | EmptyStatement | EmptyTypeAnnotation | EnumBody | EnumBooleanBody | EnumBooleanMember | EnumDeclaration | EnumDefaultedMember | EnumMember | EnumNumberBody | EnumNumberMember | EnumStringBody | EnumStringMember | EnumSymbolBody | ExistsTypeAnnotation | ExportAllDeclaration | ExportDeclaration | ExportDefaultDeclaration | ExportDefaultSpecifier | ExportNamedDeclaration | ExportNamespaceSpecifier | ExportSpecifier | Expression | ExpressionStatement | ExpressionWrapper | File | Flow | FlowBaseAnnotation | FlowDeclaration | FlowPredicate | FlowType | For | ForInStatement | ForOfStatement | ForStatement | ForXStatement | Function | FunctionDeclaration | FunctionExpression | FunctionParameter | FunctionParent | FunctionTypeAnnotation | FunctionTypeParam | GenericTypeAnnotation | Identifier | IfStatement | Immutable | Import | ImportAttribute | ImportDeclaration | ImportDefaultSpecifier | ImportExpression | ImportNamespaceSpecifier | ImportOrExportDeclaration | ImportSpecifier | IndexedAccessType | InferredPredicate | InterfaceDeclaration | InterfaceExtends | InterfaceTypeAnnotation | InterpreterDirective | IntersectionTypeAnnotation | JSX | JSXAttribute | JSXClosingElement | JSXClosingFragment | JSXElement | JSXEmptyExpression | JSXExpressionContainer | JSXFragment | JSXIdentifier | JSXMemberExpression | JSXNamespacedName | JSXOpeningElement | JSXOpeningFragment | JSXSpreadAttribute | JSXSpreadChild | JSXText | LVal | LabeledStatement | Literal | LogicalExpression | Loop | MemberExpression | MetaProperty | Method | Miscellaneous | MixedTypeAnnotation | ModuleDeclaration | ModuleExpression | ModuleSpecifier | NewExpression | Noop | NullLiteral | NullLiteralTypeAnnotation | NullableTypeAnnotation | NumberLiteral | NumberLiteralTypeAnnotation | NumberTypeAnnotation | NumericLiteral | ObjectExpression | ObjectMember | ObjectMethod | ObjectPattern | ObjectProperty | ObjectTypeAnnotation | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeInternalSlot | ObjectTypeProperty | ObjectTypeSpreadProperty | OpaqueType | OptionalCallExpression | OptionalIndexedAccessType | OptionalMemberExpression | ParenthesizedExpression | Pattern | PatternLike | PipelineBareFunction | PipelinePrimaryTopicReference | PipelineTopicExpression | Placeholder | Private | PrivateName | Program | Property | Pureish | QualifiedTypeIdentifier | RecordExpression | RegExpLiteral | RegexLiteral | RestElement | RestProperty | ReturnStatement | Scopable | SequenceExpression | SpreadElement | SpreadProperty | Standardized | Statement | StaticBlock | StringLiteral | StringLiteralTypeAnnotation | StringTypeAnnotation | Super | SwitchCase | SwitchStatement | SymbolTypeAnnotation | TSAnyKeyword | TSArrayType | TSAsExpression | TSBaseType | TSBigIntKeyword | TSBooleanKeyword | TSCallSignatureDeclaration | TSConditionalType | TSConstructSignatureDeclaration | TSConstructorType | TSDeclareFunction | TSDeclareMethod | TSEntityName | TSEnumBody | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSExpressionWithTypeArguments | TSExternalModuleReference | TSFunctionType | TSImportEqualsDeclaration | TSImportType | TSIndexSignature | TSIndexedAccessType | TSInferType | TSInstantiationExpression | TSInterfaceBody | TSInterfaceDeclaration | TSIntersectionType | TSIntrinsicKeyword | TSLiteralType | TSMappedType | TSMethodSignature | TSModuleBlock | TSModuleDeclaration | TSNamedTupleMember | TSNamespaceExportDeclaration | TSNeverKeyword | TSNonNullExpression | TSNullKeyword | TSNumberKeyword | TSObjectKeyword | TSOptionalType | TSParameterProperty | TSParenthesizedType | TSPropertySignature | TSQualifiedName | TSRestType | TSSatisfiesExpression | TSStringKeyword | TSSymbolKeyword | TSTemplateLiteralType | TSThisType | TSTupleType | TSType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeElement | TSTypeLiteral | TSTypeOperator | TSTypeParameter | TSTypeParameterDeclaration | TSTypeParameterInstantiation | TSTypePredicate | TSTypeQuery | TSTypeReference | TSUndefinedKeyword | TSUnionType | TSUnknownKeyword | TSVoidKeyword | TaggedTemplateExpression | TemplateElement | TemplateLiteral | Terminatorless | ThisExpression | ThisTypeAnnotation | ThrowStatement | TopicReference | TryStatement | TupleExpression | TupleTypeAnnotation | TypeAlias | TypeAnnotation | TypeCastExpression | TypeParameter | TypeParameterDeclaration | TypeParameterInstantiation | TypeScript | TypeofTypeAnnotation | UnaryExpression | UnaryLike | UnionTypeAnnotation | UpdateExpression | UserWhitespacable | V8IntrinsicIdentifier | VariableDeclaration | VariableDeclarator | Variance | VoidPattern | VoidTypeAnnotation | While | WhileStatement | WithStatement | YieldExpression; + +export interface ArrayExpression extends BaseNode { + type: "ArrayExpression"; + elements: (null | Expression | SpreadElement)[]; +} + +export interface AssignmentExpression extends BaseNode { + type: "AssignmentExpression"; + operator: string; + left: LVal | OptionalMemberExpression; + right: Expression; +} + +export interface BinaryExpression extends BaseNode { + type: "BinaryExpression"; + operator: "+" | "-" | "/" | "%" | "*" | "**" | "&" | "|" | ">>" | ">>>" | "<<" | "^" | "==" | "===" | "!=" | "!==" | "in" | "instanceof" | ">" | "<" | ">=" | "<=" | "|>"; + left: Expression | PrivateName; + right: Expression; +} + +export interface InterpreterDirective extends BaseNode { + type: "InterpreterDirective"; + value: string; +} + +export interface Directive extends BaseNode { + type: "Directive"; + value: DirectiveLiteral; +} + +export interface DirectiveLiteral extends BaseNode { + type: "DirectiveLiteral"; + value: string; +} + +export interface BlockStatement extends BaseNode { + type: "BlockStatement"; + body: Statement[]; + directives: Directive[]; +} + +export interface BreakStatement extends BaseNode { + type: "BreakStatement"; + label: Identifier | null; +} + +export interface CallExpression extends BaseNode { + type: "CallExpression"; + callee: Expression | Super | V8IntrinsicIdentifier; + arguments: (Expression | SpreadElement | ArgumentPlaceholder)[]; + optional: boolean | null; + typeArguments: TypeParameterInstantiation | null; + typeParameters: TSTypeParameterInstantiation | null; +} + +export interface CatchClause extends BaseNode { + type: "CatchClause"; + param: Identifier | ArrayPattern | ObjectPattern | null; + body: BlockStatement; +} + +export interface ConditionalExpression extends BaseNode { + type: "ConditionalExpression"; + test: Expression; + consequent: Expression; + alternate: Expression; +} + +export interface ContinueStatement extends BaseNode { + type: "ContinueStatement"; + label: Identifier | null; +} + +export interface DebuggerStatement extends BaseNode { + type: "DebuggerStatement"; +} + +export interface DoWhileStatement extends BaseNode { + type: "DoWhileStatement"; + test: Expression; + body: Statement; +} + +export interface EmptyStatement extends BaseNode { + type: "EmptyStatement"; +} + +export interface ExpressionStatement extends BaseNode { + type: "ExpressionStatement"; + expression: Expression; +} + +export interface File extends BaseNode { + type: "File"; + program: Program; + comments: (CommentBlock | CommentLine)[] | null; + tokens: any[] | null; +} + +export interface ForInStatement extends BaseNode { + type: "ForInStatement"; + left: VariableDeclaration | LVal; + right: Expression; + body: Statement; +} + +export interface ForStatement extends BaseNode { + type: "ForStatement"; + init: VariableDeclaration | Expression | null; + test: Expression | null; + update: Expression | null; + body: Statement; +} + +export interface FunctionDeclaration extends BaseNode { + type: "FunctionDeclaration"; + id: Identifier | null; + params: FunctionParameter[]; + body: BlockStatement; + generator: boolean; + async: boolean; + declare: boolean | null; + predicate: DeclaredPredicate | InferredPredicate | null; + returnType: TypeAnnotation | TSTypeAnnotation | Noop | null; + typeParameters: TypeParameterDeclaration | TSTypeParameterDeclaration | Noop | null; +} + +export interface FunctionExpression extends BaseNode { + type: "FunctionExpression"; + id: Identifier | null; + params: FunctionParameter[]; + body: BlockStatement; + generator: boolean; + async: boolean; + predicate: DeclaredPredicate | InferredPredicate | null; + returnType: TypeAnnotation | TSTypeAnnotation | Noop | null; + typeParameters: TypeParameterDeclaration | TSTypeParameterDeclaration | Noop | null; +} + +export interface Identifier extends BaseNode { + type: "Identifier"; + name: string; + decorators: Decorator[] | null; + optional: boolean | null; + typeAnnotation: TypeAnnotation | TSTypeAnnotation | Noop | null; +} + +export interface IfStatement extends BaseNode { + type: "IfStatement"; + test: Expression; + consequent: Statement; + alternate: Statement | null; +} + +export interface LabeledStatement extends BaseNode { + type: "LabeledStatement"; + label: Identifier; + body: Statement; +} + +export interface StringLiteral extends BaseNode { + type: "StringLiteral"; + value: string; +} + +export interface NumericLiteral extends BaseNode { + type: "NumericLiteral"; + value: number; +} + +export interface NullLiteral extends BaseNode { + type: "NullLiteral"; +} + +export interface BooleanLiteral extends BaseNode { + type: "BooleanLiteral"; + value: boolean; +} + +export interface RegExpLiteral extends BaseNode { + type: "RegExpLiteral"; + pattern: string; + flags: string; +} + +export interface LogicalExpression extends BaseNode { + type: "LogicalExpression"; + operator: "||" | "&&" | "??"; + left: Expression; + right: Expression; +} + +export interface MemberExpression extends BaseNode { + type: "MemberExpression"; + object: Expression | Super; + property: Expression | Identifier | PrivateName; + computed: boolean; + optional: boolean | null; +} + +export interface NewExpression extends BaseNode { + type: "NewExpression"; + callee: Expression | Super | V8IntrinsicIdentifier; + arguments: (Expression | SpreadElement | ArgumentPlaceholder)[]; + optional: boolean | null; + typeArguments: TypeParameterInstantiation | null; + typeParameters: TSTypeParameterInstantiation | null; +} + +export interface Program extends BaseNode { + type: "Program"; + body: Statement[]; + directives: Directive[]; + sourceType: "script" | "module"; + interpreter: InterpreterDirective | null; +} + +export interface ObjectExpression extends BaseNode { + type: "ObjectExpression"; + properties: (ObjectMethod | ObjectProperty | SpreadElement)[]; +} + +export interface ObjectMethod extends BaseNode { + type: "ObjectMethod"; + kind: "method" | "get" | "set"; + key: Expression | Identifier | StringLiteral | NumericLiteral | BigIntLiteral; + params: FunctionParameter[]; + body: BlockStatement; + computed: boolean; + generator: boolean; + async: boolean; + decorators: Decorator[] | null; + returnType: TypeAnnotation | TSTypeAnnotation | Noop | null; + typeParameters: TypeParameterDeclaration | TSTypeParameterDeclaration | Noop | null; +} + +export interface ObjectProperty extends BaseNode { + type: "ObjectProperty"; + key: Expression | Identifier | StringLiteral | NumericLiteral | BigIntLiteral | DecimalLiteral | PrivateName; + value: Expression | PatternLike; + computed: boolean; + shorthand: boolean; + decorators: Decorator[] | null; +} + +export interface RestElement extends BaseNode { + type: "RestElement"; + argument: Identifier | ArrayPattern | ObjectPattern | MemberExpression | TSAsExpression | TSSatisfiesExpression | TSTypeAssertion | TSNonNullExpression | RestElement | AssignmentPattern; + decorators: Decorator[] | null; + optional: boolean | null; + typeAnnotation: TypeAnnotation | TSTypeAnnotation | Noop | null; +} + +export interface ReturnStatement extends BaseNode { + type: "ReturnStatement"; + argument: Expression | null; +} + +export interface SequenceExpression extends BaseNode { + type: "SequenceExpression"; + expressions: Expression[]; +} + +export interface ParenthesizedExpression extends BaseNode { + type: "ParenthesizedExpression"; + expression: Expression; +} + +export interface SwitchCase extends BaseNode { + type: "SwitchCase"; + test: Expression | null; + consequent: Statement[]; +} + +export interface SwitchStatement extends BaseNode { + type: "SwitchStatement"; + discriminant: Expression; + cases: SwitchCase[]; +} + +export interface ThisExpression extends BaseNode { + type: "ThisExpression"; +} + +export interface ThrowStatement extends BaseNode { + type: "ThrowStatement"; + argument: Expression; +} + +export interface TryStatement extends BaseNode { + type: "TryStatement"; + block: BlockStatement; + handler: CatchClause | null; + finalizer: BlockStatement | null; +} + +export interface UnaryExpression extends BaseNode { + type: "UnaryExpression"; + operator: "void" | "throw" | "delete" | "!" | "+" | "-" | "~" | "typeof"; + argument: Expression; + prefix: boolean; +} + +export interface UpdateExpression extends BaseNode { + type: "UpdateExpression"; + operator: "++" | "--"; + argument: Expression; + prefix: boolean; +} + +export interface VariableDeclaration extends BaseNode { + type: "VariableDeclaration"; + kind: "var" | "let" | "const" | "using" | "await using"; + declarations: VariableDeclarator[]; + declare: boolean | null; +} + +export interface VariableDeclarator extends BaseNode { + type: "VariableDeclarator"; + id: LVal | VoidPattern; + init: Expression | null; + definite: boolean | null; +} + +export interface WhileStatement extends BaseNode { + type: "WhileStatement"; + test: Expression; + body: Statement; +} + +export interface WithStatement extends BaseNode { + type: "WithStatement"; + object: Expression; + body: Statement; +} + +export interface AssignmentPattern extends BaseNode { + type: "AssignmentPattern"; + left: Identifier | ObjectPattern | ArrayPattern | MemberExpression | TSAsExpression | TSSatisfiesExpression | TSTypeAssertion | TSNonNullExpression; + right: Expression; + decorators: Decorator[] | null; + optional: boolean | null; + typeAnnotation: TypeAnnotation | TSTypeAnnotation | Noop | null; +} + +export interface ArrayPattern extends BaseNode { + type: "ArrayPattern"; + elements: (null | PatternLike)[]; + decorators: Decorator[] | null; + optional: boolean | null; + typeAnnotation: TypeAnnotation | TSTypeAnnotation | Noop | null; +} + +export interface ArrowFunctionExpression extends BaseNode { + type: "ArrowFunctionExpression"; + params: FunctionParameter[]; + body: BlockStatement | Expression; + async: boolean; + expression: boolean; + generator: boolean; + predicate: DeclaredPredicate | InferredPredicate | null; + returnType: TypeAnnotation | TSTypeAnnotation | Noop | null; + typeParameters: TypeParameterDeclaration | TSTypeParameterDeclaration | Noop | null; +} + +export interface ClassBody extends BaseNode { + type: "ClassBody"; + body: (ClassMethod | ClassPrivateMethod | ClassProperty | ClassPrivateProperty | ClassAccessorProperty | TSDeclareMethod | TSIndexSignature | StaticBlock)[]; +} + +export interface ClassExpression extends BaseNode { + type: "ClassExpression"; + id: Identifier | null; + superClass: Expression | null; + body: ClassBody; + decorators: Decorator[] | null; + implements: (TSExpressionWithTypeArguments | ClassImplements)[] | null; + mixins: InterfaceExtends | null; + superTypeParameters: TypeParameterInstantiation | TSTypeParameterInstantiation | null; + typeParameters: TypeParameterDeclaration | TSTypeParameterDeclaration | Noop | null; +} + +export interface ClassDeclaration extends BaseNode { + type: "ClassDeclaration"; + id: Identifier | null; + superClass: Expression | null; + body: ClassBody; + decorators: Decorator[] | null; + abstract: boolean | null; + declare: boolean | null; + implements: (TSExpressionWithTypeArguments | ClassImplements)[] | null; + mixins: InterfaceExtends | null; + superTypeParameters: TypeParameterInstantiation | TSTypeParameterInstantiation | null; + typeParameters: TypeParameterDeclaration | TSTypeParameterDeclaration | Noop | null; +} + +export interface ExportAllDeclaration extends BaseNode { + type: "ExportAllDeclaration"; + source: StringLiteral; + attributes: ImportAttribute[] | null; + assertions: ImportAttribute[] | null; + exportKind: "type" | "value" | null; +} + +export interface ExportDefaultDeclaration extends BaseNode { + type: "ExportDefaultDeclaration"; + declaration: TSDeclareFunction | FunctionDeclaration | ClassDeclaration | Expression; + exportKind: "value" | null; +} + +export interface ExportNamedDeclaration extends BaseNode { + type: "ExportNamedDeclaration"; + declaration: Declaration | null; + specifiers: (ExportSpecifier | ExportDefaultSpecifier | ExportNamespaceSpecifier)[]; + source: StringLiteral | null; + attributes: ImportAttribute[] | null; + assertions: ImportAttribute[] | null; + exportKind: "type" | "value" | null; +} + +export interface ExportSpecifier extends BaseNode { + type: "ExportSpecifier"; + local: Identifier; + exported: Identifier | StringLiteral; + exportKind: "type" | "value" | null; +} + +export interface ForOfStatement extends BaseNode { + type: "ForOfStatement"; + left: VariableDeclaration | LVal; + right: Expression; + body: Statement; + await: boolean; +} + +export interface ImportDeclaration extends BaseNode { + type: "ImportDeclaration"; + specifiers: (ImportSpecifier | ImportDefaultSpecifier | ImportNamespaceSpecifier)[]; + source: StringLiteral; + attributes: ImportAttribute[] | null; + assertions: ImportAttribute[] | null; + importKind: "type" | "typeof" | "value" | null; + module: boolean | null; + phase: "source" | "defer" | null; +} + +export interface ImportDefaultSpecifier extends BaseNode { + type: "ImportDefaultSpecifier"; + local: Identifier; +} + +export interface ImportNamespaceSpecifier extends BaseNode { + type: "ImportNamespaceSpecifier"; + local: Identifier; +} + +export interface ImportSpecifier extends BaseNode { + type: "ImportSpecifier"; + local: Identifier; + imported: Identifier | StringLiteral; + importKind: "type" | "typeof" | "value" | null; +} + +export interface ImportExpression extends BaseNode { + type: "ImportExpression"; + source: Expression; + options: Expression | null; + phase: "source" | "defer" | null; +} + +export interface MetaProperty extends BaseNode { + type: "MetaProperty"; + meta: Identifier; + property: Identifier; +} + +export interface ClassMethod extends BaseNode { + type: "ClassMethod"; + kind: "get" | "set" | "method" | "constructor"; + key: Identifier | StringLiteral | NumericLiteral | BigIntLiteral | Expression; + params: (FunctionParameter | TSParameterProperty)[]; + body: BlockStatement; + computed: boolean; + static: boolean; + generator: boolean; + async: boolean; + abstract: boolean | null; + access: "public" | "private" | "protected" | null; + accessibility: "public" | "private" | "protected" | null; + decorators: Decorator[] | null; + optional: boolean | null; + override: boolean; + returnType: TypeAnnotation | TSTypeAnnotation | Noop | null; + typeParameters: TypeParameterDeclaration | TSTypeParameterDeclaration | Noop | null; +} + +export interface ObjectPattern extends BaseNode { + type: "ObjectPattern"; + properties: (RestElement | ObjectProperty)[]; + decorators: Decorator[] | null; + optional: boolean | null; + typeAnnotation: TypeAnnotation | TSTypeAnnotation | Noop | null; +} + +export interface SpreadElement extends BaseNode { + type: "SpreadElement"; + argument: Expression; +} + +export interface Super extends BaseNode { + type: "Super"; +} + +export interface TaggedTemplateExpression extends BaseNode { + type: "TaggedTemplateExpression"; + tag: Expression; + quasi: TemplateLiteral; + typeParameters: TypeParameterInstantiation | TSTypeParameterInstantiation | null; +} + +export interface TemplateElement extends BaseNode { + type: "TemplateElement"; + value: { raw: string, cooked?: string }; + tail: boolean; +} + +export interface TemplateLiteral extends BaseNode { + type: "TemplateLiteral"; + quasis: TemplateElement[]; + expressions: (Expression | TSType)[]; +} + +export interface YieldExpression extends BaseNode { + type: "YieldExpression"; + argument: Expression | null; + delegate: boolean; +} + +export interface AwaitExpression extends BaseNode { + type: "AwaitExpression"; + argument: Expression; +} + +export interface Import extends BaseNode { + type: "Import"; +} + +export interface BigIntLiteral extends BaseNode { + type: "BigIntLiteral"; + value: string; +} + +export interface ExportNamespaceSpecifier extends BaseNode { + type: "ExportNamespaceSpecifier"; + exported: Identifier; +} + +export interface OptionalMemberExpression extends BaseNode { + type: "OptionalMemberExpression"; + object: Expression; + property: Expression | Identifier; + computed: boolean; + optional: boolean; +} + +export interface OptionalCallExpression extends BaseNode { + type: "OptionalCallExpression"; + callee: Expression; + arguments: (Expression | SpreadElement | ArgumentPlaceholder)[]; + optional: boolean; + typeArguments: TypeParameterInstantiation | null; + typeParameters: TSTypeParameterInstantiation | null; +} + +export interface ClassProperty extends BaseNode { + type: "ClassProperty"; + key: Identifier | StringLiteral | NumericLiteral | BigIntLiteral | Expression; + value: Expression | null; + typeAnnotation: TypeAnnotation | TSTypeAnnotation | Noop | null; + decorators: Decorator[] | null; + computed: boolean; + static: boolean; + abstract: boolean | null; + accessibility: "public" | "private" | "protected" | null; + declare: boolean | null; + definite: boolean | null; + optional: boolean | null; + override: boolean; + readonly: boolean | null; + variance: Variance | null; +} + +export interface ClassAccessorProperty extends BaseNode { + type: "ClassAccessorProperty"; + key: Identifier | StringLiteral | NumericLiteral | BigIntLiteral | Expression | PrivateName; + value: Expression | null; + typeAnnotation: TypeAnnotation | TSTypeAnnotation | Noop | null; + decorators: Decorator[] | null; + computed: boolean; + static: boolean; + abstract: boolean | null; + accessibility: "public" | "private" | "protected" | null; + declare: boolean | null; + definite: boolean | null; + optional: boolean | null; + override: boolean; + readonly: boolean | null; + variance: Variance | null; +} + +export interface ClassPrivateProperty extends BaseNode { + type: "ClassPrivateProperty"; + key: PrivateName; + value: Expression | null; + decorators: Decorator[] | null; + static: boolean; + definite: boolean | null; + optional: boolean | null; + readonly: boolean | null; + typeAnnotation: TypeAnnotation | TSTypeAnnotation | Noop | null; + variance: Variance | null; +} + +export interface ClassPrivateMethod extends BaseNode { + type: "ClassPrivateMethod"; + kind: "get" | "set" | "method"; + key: PrivateName; + params: (FunctionParameter | TSParameterProperty)[]; + body: BlockStatement; + static: boolean; + abstract: boolean | null; + access: "public" | "private" | "protected" | null; + accessibility: "public" | "private" | "protected" | null; + async: boolean; + computed: boolean; + decorators: Decorator[] | null; + generator: boolean; + optional: boolean | null; + override: boolean; + returnType: TypeAnnotation | TSTypeAnnotation | Noop | null; + typeParameters: TypeParameterDeclaration | TSTypeParameterDeclaration | Noop | null; +} + +export interface PrivateName extends BaseNode { + type: "PrivateName"; + id: Identifier; +} + +export interface StaticBlock extends BaseNode { + type: "StaticBlock"; + body: Statement[]; +} + +export interface ImportAttribute extends BaseNode { + type: "ImportAttribute"; + key: Identifier | StringLiteral; + value: StringLiteral; +} + +export interface AnyTypeAnnotation extends BaseNode { + type: "AnyTypeAnnotation"; +} + +export interface ArrayTypeAnnotation extends BaseNode { + type: "ArrayTypeAnnotation"; + elementType: FlowType; +} + +export interface BooleanTypeAnnotation extends BaseNode { + type: "BooleanTypeAnnotation"; +} + +export interface BooleanLiteralTypeAnnotation extends BaseNode { + type: "BooleanLiteralTypeAnnotation"; + value: boolean; +} + +export interface NullLiteralTypeAnnotation extends BaseNode { + type: "NullLiteralTypeAnnotation"; +} + +export interface ClassImplements extends BaseNode { + type: "ClassImplements"; + id: Identifier; + typeParameters: TypeParameterInstantiation | null; +} + +export interface DeclareClass extends BaseNode { + type: "DeclareClass"; + id: Identifier; + typeParameters: TypeParameterDeclaration | null; + extends: InterfaceExtends[] | null; + body: ObjectTypeAnnotation; + implements: ClassImplements[] | null; + mixins: InterfaceExtends[] | null; +} + +export interface DeclareFunction extends BaseNode { + type: "DeclareFunction"; + id: Identifier; + predicate: DeclaredPredicate | null; +} + +export interface DeclareInterface extends BaseNode { + type: "DeclareInterface"; + id: Identifier; + typeParameters: TypeParameterDeclaration | null; + extends: InterfaceExtends[] | null; + body: ObjectTypeAnnotation; +} + +export interface DeclareModule extends BaseNode { + type: "DeclareModule"; + id: Identifier | StringLiteral; + body: BlockStatement; + kind: "CommonJS" | "ES" | null; +} + +export interface DeclareModuleExports extends BaseNode { + type: "DeclareModuleExports"; + typeAnnotation: TypeAnnotation; +} + +export interface DeclareTypeAlias extends BaseNode { + type: "DeclareTypeAlias"; + id: Identifier; + typeParameters: TypeParameterDeclaration | null; + right: FlowType; +} + +export interface DeclareOpaqueType extends BaseNode { + type: "DeclareOpaqueType"; + id: Identifier; + typeParameters: TypeParameterDeclaration | null; + supertype: FlowType | null; + impltype: FlowType | null; +} + +export interface DeclareVariable extends BaseNode { + type: "DeclareVariable"; + id: Identifier; +} + +export interface DeclareExportDeclaration extends BaseNode { + type: "DeclareExportDeclaration"; + declaration: Flow | null; + specifiers: (ExportSpecifier | ExportNamespaceSpecifier)[] | null; + source: StringLiteral | null; + attributes: ImportAttribute[] | null; + assertions: ImportAttribute[] | null; + default: boolean | null; +} + +export interface DeclareExportAllDeclaration extends BaseNode { + type: "DeclareExportAllDeclaration"; + source: StringLiteral; + attributes: ImportAttribute[] | null; + assertions: ImportAttribute[] | null; + exportKind: "type" | "value" | null; +} + +export interface DeclaredPredicate extends BaseNode { + type: "DeclaredPredicate"; + value: Flow; +} + +export interface ExistsTypeAnnotation extends BaseNode { + type: "ExistsTypeAnnotation"; +} + +export interface FunctionTypeAnnotation extends BaseNode { + type: "FunctionTypeAnnotation"; + typeParameters: TypeParameterDeclaration | null; + params: FunctionTypeParam[]; + rest: FunctionTypeParam | null; + returnType: FlowType; + this: FunctionTypeParam | null; +} + +export interface FunctionTypeParam extends BaseNode { + type: "FunctionTypeParam"; + name: Identifier | null; + typeAnnotation: FlowType; + optional: boolean | null; +} + +export interface GenericTypeAnnotation extends BaseNode { + type: "GenericTypeAnnotation"; + id: Identifier | QualifiedTypeIdentifier; + typeParameters: TypeParameterInstantiation | null; +} + +export interface InferredPredicate extends BaseNode { + type: "InferredPredicate"; +} + +export interface InterfaceExtends extends BaseNode { + type: "InterfaceExtends"; + id: Identifier | QualifiedTypeIdentifier; + typeParameters: TypeParameterInstantiation | null; +} + +export interface InterfaceDeclaration extends BaseNode { + type: "InterfaceDeclaration"; + id: Identifier; + typeParameters: TypeParameterDeclaration | null; + extends: InterfaceExtends[] | null; + body: ObjectTypeAnnotation; +} + +export interface InterfaceTypeAnnotation extends BaseNode { + type: "InterfaceTypeAnnotation"; + extends: InterfaceExtends[] | null; + body: ObjectTypeAnnotation; +} + +export interface IntersectionTypeAnnotation extends BaseNode { + type: "IntersectionTypeAnnotation"; + types: FlowType[]; +} + +export interface MixedTypeAnnotation extends BaseNode { + type: "MixedTypeAnnotation"; +} + +export interface EmptyTypeAnnotation extends BaseNode { + type: "EmptyTypeAnnotation"; +} + +export interface NullableTypeAnnotation extends BaseNode { + type: "NullableTypeAnnotation"; + typeAnnotation: FlowType; +} + +export interface NumberLiteralTypeAnnotation extends BaseNode { + type: "NumberLiteralTypeAnnotation"; + value: number; +} + +export interface NumberTypeAnnotation extends BaseNode { + type: "NumberTypeAnnotation"; +} + +export interface ObjectTypeAnnotation extends BaseNode { + type: "ObjectTypeAnnotation"; + properties: (ObjectTypeProperty | ObjectTypeSpreadProperty)[]; + indexers: ObjectTypeIndexer[]; + callProperties: ObjectTypeCallProperty[]; + internalSlots: ObjectTypeInternalSlot[]; + exact: boolean; + inexact: boolean | null; +} + +export interface ObjectTypeInternalSlot extends BaseNode { + type: "ObjectTypeInternalSlot"; + id: Identifier; + value: FlowType; + optional: boolean; + static: boolean; + method: boolean; +} + +export interface ObjectTypeCallProperty extends BaseNode { + type: "ObjectTypeCallProperty"; + value: FlowType; + static: boolean; +} + +export interface ObjectTypeIndexer extends BaseNode { + type: "ObjectTypeIndexer"; + id: Identifier | null; + key: FlowType; + value: FlowType; + variance: Variance | null; + static: boolean; +} + +export interface ObjectTypeProperty extends BaseNode { + type: "ObjectTypeProperty"; + key: Identifier | StringLiteral; + value: FlowType; + variance: Variance | null; + kind: "init" | "get" | "set"; + method: boolean; + optional: boolean; + proto: boolean; + static: boolean; +} + +export interface ObjectTypeSpreadProperty extends BaseNode { + type: "ObjectTypeSpreadProperty"; + argument: FlowType; +} + +export interface OpaqueType extends BaseNode { + type: "OpaqueType"; + id: Identifier; + typeParameters: TypeParameterDeclaration | null; + supertype: FlowType | null; + impltype: FlowType; +} + +export interface QualifiedTypeIdentifier extends BaseNode { + type: "QualifiedTypeIdentifier"; + id: Identifier; + qualification: Identifier | QualifiedTypeIdentifier; +} + +export interface StringLiteralTypeAnnotation extends BaseNode { + type: "StringLiteralTypeAnnotation"; + value: string; +} + +export interface StringTypeAnnotation extends BaseNode { + type: "StringTypeAnnotation"; +} + +export interface SymbolTypeAnnotation extends BaseNode { + type: "SymbolTypeAnnotation"; +} + +export interface ThisTypeAnnotation extends BaseNode { + type: "ThisTypeAnnotation"; +} + +export interface TupleTypeAnnotation extends BaseNode { + type: "TupleTypeAnnotation"; + types: FlowType[]; +} + +export interface TypeofTypeAnnotation extends BaseNode { + type: "TypeofTypeAnnotation"; + argument: FlowType; +} + +export interface TypeAlias extends BaseNode { + type: "TypeAlias"; + id: Identifier; + typeParameters: TypeParameterDeclaration | null; + right: FlowType; +} + +export interface TypeAnnotation extends BaseNode { + type: "TypeAnnotation"; + typeAnnotation: FlowType; +} + +export interface TypeCastExpression extends BaseNode { + type: "TypeCastExpression"; + expression: Expression; + typeAnnotation: TypeAnnotation; +} + +export interface TypeParameter extends BaseNode { + type: "TypeParameter"; + bound: TypeAnnotation | null; + default: FlowType | null; + variance: Variance | null; + name: string; +} + +export interface TypeParameterDeclaration extends BaseNode { + type: "TypeParameterDeclaration"; + params: TypeParameter[]; +} + +export interface TypeParameterInstantiation extends BaseNode { + type: "TypeParameterInstantiation"; + params: FlowType[]; +} + +export interface UnionTypeAnnotation extends BaseNode { + type: "UnionTypeAnnotation"; + types: FlowType[]; +} + +export interface Variance extends BaseNode { + type: "Variance"; + kind: "minus" | "plus"; +} + +export interface VoidTypeAnnotation extends BaseNode { + type: "VoidTypeAnnotation"; +} + +export interface EnumDeclaration extends BaseNode { + type: "EnumDeclaration"; + id: Identifier; + body: EnumBooleanBody | EnumNumberBody | EnumStringBody | EnumSymbolBody; +} + +export interface EnumBooleanBody extends BaseNode { + type: "EnumBooleanBody"; + members: EnumBooleanMember[]; + explicitType: boolean; + hasUnknownMembers: boolean; +} + +export interface EnumNumberBody extends BaseNode { + type: "EnumNumberBody"; + members: EnumNumberMember[]; + explicitType: boolean; + hasUnknownMembers: boolean; +} + +export interface EnumStringBody extends BaseNode { + type: "EnumStringBody"; + members: (EnumStringMember | EnumDefaultedMember)[]; + explicitType: boolean; + hasUnknownMembers: boolean; +} + +export interface EnumSymbolBody extends BaseNode { + type: "EnumSymbolBody"; + members: EnumDefaultedMember[]; + hasUnknownMembers: boolean; +} + +export interface EnumBooleanMember extends BaseNode { + type: "EnumBooleanMember"; + id: Identifier; + init: BooleanLiteral; +} + +export interface EnumNumberMember extends BaseNode { + type: "EnumNumberMember"; + id: Identifier; + init: NumericLiteral; +} + +export interface EnumStringMember extends BaseNode { + type: "EnumStringMember"; + id: Identifier; + init: StringLiteral; +} + +export interface EnumDefaultedMember extends BaseNode { + type: "EnumDefaultedMember"; + id: Identifier; +} + +export interface IndexedAccessType extends BaseNode { + type: "IndexedAccessType"; + objectType: FlowType; + indexType: FlowType; +} + +export interface OptionalIndexedAccessType extends BaseNode { + type: "OptionalIndexedAccessType"; + objectType: FlowType; + indexType: FlowType; + optional: boolean; +} + +export interface JSXAttribute extends BaseNode { + type: "JSXAttribute"; + name: JSXIdentifier | JSXNamespacedName; + value: JSXElement | JSXFragment | StringLiteral | JSXExpressionContainer | null; +} + +export interface JSXClosingElement extends BaseNode { + type: "JSXClosingElement"; + name: JSXIdentifier | JSXMemberExpression | JSXNamespacedName; +} + +export interface JSXElement extends BaseNode { + type: "JSXElement"; + openingElement: JSXOpeningElement; + closingElement: JSXClosingElement | null; + children: (JSXText | JSXExpressionContainer | JSXSpreadChild | JSXElement | JSXFragment)[]; + selfClosing: boolean | null; +} + +export interface JSXEmptyExpression extends BaseNode { + type: "JSXEmptyExpression"; +} + +export interface JSXExpressionContainer extends BaseNode { + type: "JSXExpressionContainer"; + expression: Expression | JSXEmptyExpression; +} + +export interface JSXSpreadChild extends BaseNode { + type: "JSXSpreadChild"; + expression: Expression; +} + +export interface JSXIdentifier extends BaseNode { + type: "JSXIdentifier"; + name: string; +} + +export interface JSXMemberExpression extends BaseNode { + type: "JSXMemberExpression"; + object: JSXMemberExpression | JSXIdentifier; + property: JSXIdentifier; +} + +export interface JSXNamespacedName extends BaseNode { + type: "JSXNamespacedName"; + namespace: JSXIdentifier; + name: JSXIdentifier; +} + +export interface JSXOpeningElement extends BaseNode { + type: "JSXOpeningElement"; + name: JSXIdentifier | JSXMemberExpression | JSXNamespacedName; + attributes: (JSXAttribute | JSXSpreadAttribute)[]; + selfClosing: boolean; + typeArguments: TypeParameterInstantiation | null; + typeParameters: TSTypeParameterInstantiation | null; +} + +export interface JSXSpreadAttribute extends BaseNode { + type: "JSXSpreadAttribute"; + argument: Expression; +} + +export interface JSXText extends BaseNode { + type: "JSXText"; + value: string; +} + +export interface JSXFragment extends BaseNode { + type: "JSXFragment"; + openingFragment: JSXOpeningFragment; + closingFragment: JSXClosingFragment; + children: (JSXText | JSXExpressionContainer | JSXSpreadChild | JSXElement | JSXFragment)[]; +} + +export interface JSXOpeningFragment extends BaseNode { + type: "JSXOpeningFragment"; +} + +export interface JSXClosingFragment extends BaseNode { + type: "JSXClosingFragment"; +} + +export interface Noop extends BaseNode { + type: "Noop"; +} + +export interface Placeholder extends BaseNode { + type: "Placeholder"; + expectedNode: "Identifier" | "StringLiteral" | "Expression" | "Statement" | "Declaration" | "BlockStatement" | "ClassBody" | "Pattern"; + name: Identifier; + decorators: Decorator[] | null; + optional: boolean | null; + typeAnnotation: TypeAnnotation | TSTypeAnnotation | Noop | null; +} + +export interface V8IntrinsicIdentifier extends BaseNode { + type: "V8IntrinsicIdentifier"; + name: string; +} + +export interface ArgumentPlaceholder extends BaseNode { + type: "ArgumentPlaceholder"; +} + +export interface BindExpression extends BaseNode { + type: "BindExpression"; + object: Expression; + callee: Expression; +} + +export interface Decorator extends BaseNode { + type: "Decorator"; + expression: Expression; +} + +export interface DoExpression extends BaseNode { + type: "DoExpression"; + body: BlockStatement; + async: boolean; +} + +export interface ExportDefaultSpecifier extends BaseNode { + type: "ExportDefaultSpecifier"; + exported: Identifier; +} + +export interface RecordExpression extends BaseNode { + type: "RecordExpression"; + properties: (ObjectProperty | SpreadElement)[]; +} + +export interface TupleExpression extends BaseNode { + type: "TupleExpression"; + elements: (Expression | SpreadElement)[]; +} + +export interface DecimalLiteral extends BaseNode { + type: "DecimalLiteral"; + value: string; +} + +export interface ModuleExpression extends BaseNode { + type: "ModuleExpression"; + body: Program; +} + +export interface TopicReference extends BaseNode { + type: "TopicReference"; +} + +export interface PipelineTopicExpression extends BaseNode { + type: "PipelineTopicExpression"; + expression: Expression; +} + +export interface PipelineBareFunction extends BaseNode { + type: "PipelineBareFunction"; + callee: Expression; +} + +export interface PipelinePrimaryTopicReference extends BaseNode { + type: "PipelinePrimaryTopicReference"; +} + +export interface VoidPattern extends BaseNode { + type: "VoidPattern"; +} + +export interface TSParameterProperty extends BaseNode { + type: "TSParameterProperty"; + parameter: Identifier | AssignmentPattern; + accessibility: "public" | "private" | "protected" | null; + decorators: Decorator[] | null; + override: boolean | null; + readonly: boolean | null; +} + +export interface TSDeclareFunction extends BaseNode { + type: "TSDeclareFunction"; + id: Identifier | null; + typeParameters: TSTypeParameterDeclaration | Noop | null; + params: FunctionParameter[]; + returnType: TSTypeAnnotation | Noop | null; + async: boolean; + declare: boolean | null; + generator: boolean; +} + +export interface TSDeclareMethod extends BaseNode { + type: "TSDeclareMethod"; + decorators: Decorator[] | null; + key: Identifier | StringLiteral | NumericLiteral | BigIntLiteral | Expression; + typeParameters: TSTypeParameterDeclaration | Noop | null; + params: (FunctionParameter | TSParameterProperty)[]; + returnType: TSTypeAnnotation | Noop | null; + abstract: boolean | null; + access: "public" | "private" | "protected" | null; + accessibility: "public" | "private" | "protected" | null; + async: boolean; + computed: boolean; + generator: boolean; + kind: "get" | "set" | "method" | "constructor"; + optional: boolean | null; + override: boolean; + static: boolean; +} + +export interface TSQualifiedName extends BaseNode { + type: "TSQualifiedName"; + left: TSEntityName; + right: Identifier; +} + +export interface TSCallSignatureDeclaration extends BaseNode { + type: "TSCallSignatureDeclaration"; + typeParameters: TSTypeParameterDeclaration | null; + parameters: (ArrayPattern | Identifier | ObjectPattern | RestElement)[]; + typeAnnotation: TSTypeAnnotation | null; +} + +export interface TSConstructSignatureDeclaration extends BaseNode { + type: "TSConstructSignatureDeclaration"; + typeParameters: TSTypeParameterDeclaration | null; + parameters: (ArrayPattern | Identifier | ObjectPattern | RestElement)[]; + typeAnnotation: TSTypeAnnotation | null; +} + +export interface TSPropertySignature extends BaseNode { + type: "TSPropertySignature"; + key: Expression; + typeAnnotation: TSTypeAnnotation | null; + computed: boolean; + kind: "get" | "set" | null; + optional: boolean | null; + readonly: boolean | null; +} + +export interface TSMethodSignature extends BaseNode { + type: "TSMethodSignature"; + key: Expression; + typeParameters: TSTypeParameterDeclaration | null; + parameters: (ArrayPattern | Identifier | ObjectPattern | RestElement)[]; + typeAnnotation: TSTypeAnnotation | null; + computed: boolean; + kind: "method" | "get" | "set"; + optional: boolean | null; +} + +export interface TSIndexSignature extends BaseNode { + type: "TSIndexSignature"; + parameters: Identifier[]; + typeAnnotation: TSTypeAnnotation | null; + readonly: boolean | null; + static: boolean | null; +} + +export interface TSAnyKeyword extends BaseNode { + type: "TSAnyKeyword"; +} + +export interface TSBooleanKeyword extends BaseNode { + type: "TSBooleanKeyword"; +} + +export interface TSBigIntKeyword extends BaseNode { + type: "TSBigIntKeyword"; +} + +export interface TSIntrinsicKeyword extends BaseNode { + type: "TSIntrinsicKeyword"; +} + +export interface TSNeverKeyword extends BaseNode { + type: "TSNeverKeyword"; +} + +export interface TSNullKeyword extends BaseNode { + type: "TSNullKeyword"; +} + +export interface TSNumberKeyword extends BaseNode { + type: "TSNumberKeyword"; +} + +export interface TSObjectKeyword extends BaseNode { + type: "TSObjectKeyword"; +} + +export interface TSStringKeyword extends BaseNode { + type: "TSStringKeyword"; +} + +export interface TSSymbolKeyword extends BaseNode { + type: "TSSymbolKeyword"; +} + +export interface TSUndefinedKeyword extends BaseNode { + type: "TSUndefinedKeyword"; +} + +export interface TSUnknownKeyword extends BaseNode { + type: "TSUnknownKeyword"; +} + +export interface TSVoidKeyword extends BaseNode { + type: "TSVoidKeyword"; +} + +export interface TSThisType extends BaseNode { + type: "TSThisType"; +} + +export interface TSFunctionType extends BaseNode { + type: "TSFunctionType"; + typeParameters: TSTypeParameterDeclaration | null; + parameters: (ArrayPattern | Identifier | ObjectPattern | RestElement)[]; + typeAnnotation: TSTypeAnnotation | null; +} + +export interface TSConstructorType extends BaseNode { + type: "TSConstructorType"; + typeParameters: TSTypeParameterDeclaration | null; + parameters: (ArrayPattern | Identifier | ObjectPattern | RestElement)[]; + typeAnnotation: TSTypeAnnotation | null; + abstract: boolean | null; +} + +export interface TSTypeReference extends BaseNode { + type: "TSTypeReference"; + typeName: TSEntityName; + typeParameters: TSTypeParameterInstantiation | null; +} + +export interface TSTypePredicate extends BaseNode { + type: "TSTypePredicate"; + parameterName: Identifier | TSThisType; + typeAnnotation: TSTypeAnnotation | null; + asserts: boolean | null; +} + +export interface TSTypeQuery extends BaseNode { + type: "TSTypeQuery"; + exprName: TSEntityName | TSImportType; + typeParameters: TSTypeParameterInstantiation | null; +} + +export interface TSTypeLiteral extends BaseNode { + type: "TSTypeLiteral"; + members: TSTypeElement[]; +} + +export interface TSArrayType extends BaseNode { + type: "TSArrayType"; + elementType: TSType; +} + +export interface TSTupleType extends BaseNode { + type: "TSTupleType"; + elementTypes: (TSType | TSNamedTupleMember)[]; +} + +export interface TSOptionalType extends BaseNode { + type: "TSOptionalType"; + typeAnnotation: TSType; +} + +export interface TSRestType extends BaseNode { + type: "TSRestType"; + typeAnnotation: TSType; +} + +export interface TSNamedTupleMember extends BaseNode { + type: "TSNamedTupleMember"; + label: Identifier; + elementType: TSType; + optional: boolean; +} + +export interface TSUnionType extends BaseNode { + type: "TSUnionType"; + types: TSType[]; +} + +export interface TSIntersectionType extends BaseNode { + type: "TSIntersectionType"; + types: TSType[]; +} + +export interface TSConditionalType extends BaseNode { + type: "TSConditionalType"; + checkType: TSType; + extendsType: TSType; + trueType: TSType; + falseType: TSType; +} + +export interface TSInferType extends BaseNode { + type: "TSInferType"; + typeParameter: TSTypeParameter; +} + +export interface TSParenthesizedType extends BaseNode { + type: "TSParenthesizedType"; + typeAnnotation: TSType; +} + +export interface TSTypeOperator extends BaseNode { + type: "TSTypeOperator"; + typeAnnotation: TSType; + operator: string; +} + +export interface TSIndexedAccessType extends BaseNode { + type: "TSIndexedAccessType"; + objectType: TSType; + indexType: TSType; +} + +export interface TSMappedType extends BaseNode { + type: "TSMappedType"; + typeParameter: TSTypeParameter; + typeAnnotation: TSType | null; + nameType: TSType | null; + optional: true | false | "+" | "-" | null; + readonly: true | false | "+" | "-" | null; +} + +export interface TSTemplateLiteralType extends BaseNode { + type: "TSTemplateLiteralType"; + quasis: TemplateElement[]; + types: TSType[]; +} + +export interface TSLiteralType extends BaseNode { + type: "TSLiteralType"; + literal: NumericLiteral | StringLiteral | BooleanLiteral | BigIntLiteral | TemplateLiteral | UnaryExpression; +} + +export interface TSExpressionWithTypeArguments extends BaseNode { + type: "TSExpressionWithTypeArguments"; + expression: TSEntityName; + typeParameters: TSTypeParameterInstantiation | null; +} + +export interface TSInterfaceDeclaration extends BaseNode { + type: "TSInterfaceDeclaration"; + id: Identifier; + typeParameters: TSTypeParameterDeclaration | null; + extends: TSExpressionWithTypeArguments[] | null; + body: TSInterfaceBody; + declare: boolean | null; +} + +export interface TSInterfaceBody extends BaseNode { + type: "TSInterfaceBody"; + body: TSTypeElement[]; +} + +export interface TSTypeAliasDeclaration extends BaseNode { + type: "TSTypeAliasDeclaration"; + id: Identifier; + typeParameters: TSTypeParameterDeclaration | null; + typeAnnotation: TSType; + declare: boolean | null; +} + +export interface TSInstantiationExpression extends BaseNode { + type: "TSInstantiationExpression"; + expression: Expression; + typeParameters: TSTypeParameterInstantiation | null; +} + +export interface TSAsExpression extends BaseNode { + type: "TSAsExpression"; + expression: Expression; + typeAnnotation: TSType; +} + +export interface TSSatisfiesExpression extends BaseNode { + type: "TSSatisfiesExpression"; + expression: Expression; + typeAnnotation: TSType; +} + +export interface TSTypeAssertion extends BaseNode { + type: "TSTypeAssertion"; + typeAnnotation: TSType; + expression: Expression; +} + +export interface TSEnumBody extends BaseNode { + type: "TSEnumBody"; + members: TSEnumMember[]; +} + +export interface TSEnumDeclaration extends BaseNode { + type: "TSEnumDeclaration"; + id: Identifier; + members: TSEnumMember[]; + body: TSEnumBody | null; + const: boolean | null; + declare: boolean | null; + initializer: Expression | null; +} + +export interface TSEnumMember extends BaseNode { + type: "TSEnumMember"; + id: Identifier | StringLiteral; + initializer: Expression | null; +} + +export interface TSModuleDeclaration extends BaseNode { + type: "TSModuleDeclaration"; + id: Identifier | StringLiteral; + body: TSModuleBlock | TSModuleDeclaration; + declare: boolean | null; + global: boolean | null; + kind: "global" | "module" | "namespace"; +} + +export interface TSModuleBlock extends BaseNode { + type: "TSModuleBlock"; + body: Statement[]; +} + +export interface TSImportType extends BaseNode { + type: "TSImportType"; + argument: StringLiteral; + qualifier: TSEntityName | null; + typeParameters: TSTypeParameterInstantiation | null; + options: ObjectExpression | null; +} + +export interface TSImportEqualsDeclaration extends BaseNode { + type: "TSImportEqualsDeclaration"; + id: Identifier; + moduleReference: TSEntityName | TSExternalModuleReference; + importKind: "type" | "value" | null; + isExport: boolean; +} + +export interface TSExternalModuleReference extends BaseNode { + type: "TSExternalModuleReference"; + expression: StringLiteral; +} + +export interface TSNonNullExpression extends BaseNode { + type: "TSNonNullExpression"; + expression: Expression; +} + +export interface TSExportAssignment extends BaseNode { + type: "TSExportAssignment"; + expression: Expression; +} + +export interface TSNamespaceExportDeclaration extends BaseNode { + type: "TSNamespaceExportDeclaration"; + id: Identifier; +} + +export interface TSTypeAnnotation extends BaseNode { + type: "TSTypeAnnotation"; + typeAnnotation: TSType; +} + +export interface TSTypeParameterInstantiation extends BaseNode { + type: "TSTypeParameterInstantiation"; + params: TSType[]; +} + +export interface TSTypeParameterDeclaration extends BaseNode { + type: "TSTypeParameterDeclaration"; + params: TSTypeParameter[]; +} + +export interface TSTypeParameter extends BaseNode { + type: "TSTypeParameter"; + constraint: TSType | null; + default: TSType | null; + name: string; + const: boolean | null; + in: boolean | null; + out: boolean | null; +} + +/** + * @deprecated Use `NumericLiteral` + */ +export type NumberLiteral = NumericLiteral; + +/** + * @deprecated Use `RegExpLiteral` + */ +export type RegexLiteral = RegExpLiteral; + +/** + * @deprecated Use `RestElement` + */ +export type RestProperty = RestElement; + +/** + * @deprecated Use `SpreadElement` + */ +export type SpreadProperty = SpreadElement; + +export type Standardized = ArrayExpression | AssignmentExpression | BinaryExpression | InterpreterDirective | Directive | DirectiveLiteral | BlockStatement | BreakStatement | CallExpression | CatchClause | ConditionalExpression | ContinueStatement | DebuggerStatement | DoWhileStatement | EmptyStatement | ExpressionStatement | File | ForInStatement | ForStatement | FunctionDeclaration | FunctionExpression | Identifier | IfStatement | LabeledStatement | StringLiteral | NumericLiteral | NullLiteral | BooleanLiteral | RegExpLiteral | LogicalExpression | MemberExpression | NewExpression | Program | ObjectExpression | ObjectMethod | ObjectProperty | RestElement | ReturnStatement | SequenceExpression | ParenthesizedExpression | SwitchCase | SwitchStatement | ThisExpression | ThrowStatement | TryStatement | UnaryExpression | UpdateExpression | VariableDeclaration | VariableDeclarator | WhileStatement | WithStatement | AssignmentPattern | ArrayPattern | ArrowFunctionExpression | ClassBody | ClassExpression | ClassDeclaration | ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration | ExportSpecifier | ForOfStatement | ImportDeclaration | ImportDefaultSpecifier | ImportNamespaceSpecifier | ImportSpecifier | ImportExpression | MetaProperty | ClassMethod | ObjectPattern | SpreadElement | Super | TaggedTemplateExpression | TemplateElement | TemplateLiteral | YieldExpression | AwaitExpression | Import | BigIntLiteral | ExportNamespaceSpecifier | OptionalMemberExpression | OptionalCallExpression | ClassProperty | ClassAccessorProperty | ClassPrivateProperty | ClassPrivateMethod | PrivateName | StaticBlock | ImportAttribute; +export type Expression = ArrayExpression | AssignmentExpression | BinaryExpression | CallExpression | ConditionalExpression | FunctionExpression | Identifier | StringLiteral | NumericLiteral | NullLiteral | BooleanLiteral | RegExpLiteral | LogicalExpression | MemberExpression | NewExpression | ObjectExpression | SequenceExpression | ParenthesizedExpression | ThisExpression | UnaryExpression | UpdateExpression | ArrowFunctionExpression | ClassExpression | ImportExpression | MetaProperty | Super | TaggedTemplateExpression | TemplateLiteral | YieldExpression | AwaitExpression | Import | BigIntLiteral | OptionalMemberExpression | OptionalCallExpression | TypeCastExpression | JSXElement | JSXFragment | BindExpression | DoExpression | RecordExpression | TupleExpression | DecimalLiteral | ModuleExpression | TopicReference | PipelineTopicExpression | PipelineBareFunction | PipelinePrimaryTopicReference | TSInstantiationExpression | TSAsExpression | TSSatisfiesExpression | TSTypeAssertion | TSNonNullExpression; +export type Binary = BinaryExpression | LogicalExpression; +export type Scopable = BlockStatement | CatchClause | DoWhileStatement | ForInStatement | ForStatement | FunctionDeclaration | FunctionExpression | Program | ObjectMethod | SwitchStatement | WhileStatement | ArrowFunctionExpression | ClassExpression | ClassDeclaration | ForOfStatement | ClassMethod | ClassPrivateMethod | StaticBlock | TSModuleBlock; +export type BlockParent = BlockStatement | CatchClause | DoWhileStatement | ForInStatement | ForStatement | FunctionDeclaration | FunctionExpression | Program | ObjectMethod | SwitchStatement | WhileStatement | ArrowFunctionExpression | ForOfStatement | ClassMethod | ClassPrivateMethod | StaticBlock | TSModuleBlock; +export type Block = BlockStatement | Program | TSModuleBlock; +export type Statement = BlockStatement | BreakStatement | ContinueStatement | DebuggerStatement | DoWhileStatement | EmptyStatement | ExpressionStatement | ForInStatement | ForStatement | FunctionDeclaration | IfStatement | LabeledStatement | ReturnStatement | SwitchStatement | ThrowStatement | TryStatement | VariableDeclaration | WhileStatement | WithStatement | ClassDeclaration | ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration | ForOfStatement | ImportDeclaration | DeclareClass | DeclareFunction | DeclareInterface | DeclareModule | DeclareModuleExports | DeclareTypeAlias | DeclareOpaqueType | DeclareVariable | DeclareExportDeclaration | DeclareExportAllDeclaration | InterfaceDeclaration | OpaqueType | TypeAlias | EnumDeclaration | TSDeclareFunction | TSInterfaceDeclaration | TSTypeAliasDeclaration | TSEnumDeclaration | TSModuleDeclaration | TSImportEqualsDeclaration | TSExportAssignment | TSNamespaceExportDeclaration; +export type Terminatorless = BreakStatement | ContinueStatement | ReturnStatement | ThrowStatement | YieldExpression | AwaitExpression; +export type CompletionStatement = BreakStatement | ContinueStatement | ReturnStatement | ThrowStatement; +export type Conditional = ConditionalExpression | IfStatement; +export type Loop = DoWhileStatement | ForInStatement | ForStatement | WhileStatement | ForOfStatement; +export type While = DoWhileStatement | WhileStatement; +export type ExpressionWrapper = ExpressionStatement | ParenthesizedExpression | TypeCastExpression; +export type For = ForInStatement | ForStatement | ForOfStatement; +export type ForXStatement = ForInStatement | ForOfStatement; +export type Function = FunctionDeclaration | FunctionExpression | ObjectMethod | ArrowFunctionExpression | ClassMethod | ClassPrivateMethod; +export type FunctionParent = FunctionDeclaration | FunctionExpression | ObjectMethod | ArrowFunctionExpression | ClassMethod | ClassPrivateMethod | StaticBlock | TSModuleBlock; +export type Pureish = FunctionDeclaration | FunctionExpression | StringLiteral | NumericLiteral | NullLiteral | BooleanLiteral | RegExpLiteral | ArrowFunctionExpression | BigIntLiteral | DecimalLiteral; +export type Declaration = FunctionDeclaration | VariableDeclaration | ClassDeclaration | ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration | ImportDeclaration | DeclareClass | DeclareFunction | DeclareInterface | DeclareModule | DeclareModuleExports | DeclareTypeAlias | DeclareOpaqueType | DeclareVariable | DeclareExportDeclaration | DeclareExportAllDeclaration | InterfaceDeclaration | OpaqueType | TypeAlias | EnumDeclaration | TSDeclareFunction | TSInterfaceDeclaration | TSTypeAliasDeclaration | TSEnumDeclaration | TSModuleDeclaration | TSImportEqualsDeclaration; +export type FunctionParameter = Identifier | RestElement | AssignmentPattern | ArrayPattern | ObjectPattern | VoidPattern; +export type PatternLike = Identifier | MemberExpression | RestElement | AssignmentPattern | ArrayPattern | ObjectPattern | VoidPattern | TSAsExpression | TSSatisfiesExpression | TSTypeAssertion | TSNonNullExpression; +export type LVal = Identifier | MemberExpression | RestElement | AssignmentPattern | ArrayPattern | ObjectPattern | TSParameterProperty | TSAsExpression | TSSatisfiesExpression | TSTypeAssertion | TSNonNullExpression; +export type TSEntityName = Identifier | TSQualifiedName; +export type Literal = StringLiteral | NumericLiteral | NullLiteral | BooleanLiteral | RegExpLiteral | TemplateLiteral | BigIntLiteral | DecimalLiteral; +export type Immutable = StringLiteral | NumericLiteral | NullLiteral | BooleanLiteral | BigIntLiteral | JSXAttribute | JSXClosingElement | JSXElement | JSXExpressionContainer | JSXSpreadChild | JSXOpeningElement | JSXText | JSXFragment | JSXOpeningFragment | JSXClosingFragment | DecimalLiteral; +export type UserWhitespacable = ObjectMethod | ObjectProperty | ObjectTypeInternalSlot | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeProperty | ObjectTypeSpreadProperty; +export type Method = ObjectMethod | ClassMethod | ClassPrivateMethod; +export type ObjectMember = ObjectMethod | ObjectProperty; +export type Property = ObjectProperty | ClassProperty | ClassAccessorProperty | ClassPrivateProperty; +export type UnaryLike = UnaryExpression | SpreadElement; +export type Pattern = AssignmentPattern | ArrayPattern | ObjectPattern | VoidPattern; +export type Class = ClassExpression | ClassDeclaration; +export type ImportOrExportDeclaration = ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration | ImportDeclaration; +export type ExportDeclaration = ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration; +export type ModuleSpecifier = ExportSpecifier | ImportDefaultSpecifier | ImportNamespaceSpecifier | ImportSpecifier | ExportNamespaceSpecifier | ExportDefaultSpecifier; +export type Accessor = ClassAccessorProperty; +export type Private = ClassPrivateProperty | ClassPrivateMethod | PrivateName; +export type Flow = AnyTypeAnnotation | ArrayTypeAnnotation | BooleanTypeAnnotation | BooleanLiteralTypeAnnotation | NullLiteralTypeAnnotation | ClassImplements | DeclareClass | DeclareFunction | DeclareInterface | DeclareModule | DeclareModuleExports | DeclareTypeAlias | DeclareOpaqueType | DeclareVariable | DeclareExportDeclaration | DeclareExportAllDeclaration | DeclaredPredicate | ExistsTypeAnnotation | FunctionTypeAnnotation | FunctionTypeParam | GenericTypeAnnotation | InferredPredicate | InterfaceExtends | InterfaceDeclaration | InterfaceTypeAnnotation | IntersectionTypeAnnotation | MixedTypeAnnotation | EmptyTypeAnnotation | NullableTypeAnnotation | NumberLiteralTypeAnnotation | NumberTypeAnnotation | ObjectTypeAnnotation | ObjectTypeInternalSlot | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeProperty | ObjectTypeSpreadProperty | OpaqueType | QualifiedTypeIdentifier | StringLiteralTypeAnnotation | StringTypeAnnotation | SymbolTypeAnnotation | ThisTypeAnnotation | TupleTypeAnnotation | TypeofTypeAnnotation | TypeAlias | TypeAnnotation | TypeCastExpression | TypeParameter | TypeParameterDeclaration | TypeParameterInstantiation | UnionTypeAnnotation | Variance | VoidTypeAnnotation | EnumDeclaration | EnumBooleanBody | EnumNumberBody | EnumStringBody | EnumSymbolBody | EnumBooleanMember | EnumNumberMember | EnumStringMember | EnumDefaultedMember | IndexedAccessType | OptionalIndexedAccessType; +export type FlowType = AnyTypeAnnotation | ArrayTypeAnnotation | BooleanTypeAnnotation | BooleanLiteralTypeAnnotation | NullLiteralTypeAnnotation | ExistsTypeAnnotation | FunctionTypeAnnotation | GenericTypeAnnotation | InterfaceTypeAnnotation | IntersectionTypeAnnotation | MixedTypeAnnotation | EmptyTypeAnnotation | NullableTypeAnnotation | NumberLiteralTypeAnnotation | NumberTypeAnnotation | ObjectTypeAnnotation | StringLiteralTypeAnnotation | StringTypeAnnotation | SymbolTypeAnnotation | ThisTypeAnnotation | TupleTypeAnnotation | TypeofTypeAnnotation | UnionTypeAnnotation | VoidTypeAnnotation | IndexedAccessType | OptionalIndexedAccessType; +export type FlowBaseAnnotation = AnyTypeAnnotation | BooleanTypeAnnotation | NullLiteralTypeAnnotation | MixedTypeAnnotation | EmptyTypeAnnotation | NumberTypeAnnotation | StringTypeAnnotation | SymbolTypeAnnotation | ThisTypeAnnotation | VoidTypeAnnotation; +export type FlowDeclaration = DeclareClass | DeclareFunction | DeclareInterface | DeclareModule | DeclareModuleExports | DeclareTypeAlias | DeclareOpaqueType | DeclareVariable | DeclareExportDeclaration | DeclareExportAllDeclaration | InterfaceDeclaration | OpaqueType | TypeAlias; +export type FlowPredicate = DeclaredPredicate | InferredPredicate; +export type EnumBody = EnumBooleanBody | EnumNumberBody | EnumStringBody | EnumSymbolBody; +export type EnumMember = EnumBooleanMember | EnumNumberMember | EnumStringMember | EnumDefaultedMember; +export type JSX = JSXAttribute | JSXClosingElement | JSXElement | JSXEmptyExpression | JSXExpressionContainer | JSXSpreadChild | JSXIdentifier | JSXMemberExpression | JSXNamespacedName | JSXOpeningElement | JSXSpreadAttribute | JSXText | JSXFragment | JSXOpeningFragment | JSXClosingFragment; +export type Miscellaneous = Noop | Placeholder | V8IntrinsicIdentifier; +export type TypeScript = TSParameterProperty | TSDeclareFunction | TSDeclareMethod | TSQualifiedName | TSCallSignatureDeclaration | TSConstructSignatureDeclaration | TSPropertySignature | TSMethodSignature | TSIndexSignature | TSAnyKeyword | TSBooleanKeyword | TSBigIntKeyword | TSIntrinsicKeyword | TSNeverKeyword | TSNullKeyword | TSNumberKeyword | TSObjectKeyword | TSStringKeyword | TSSymbolKeyword | TSUndefinedKeyword | TSUnknownKeyword | TSVoidKeyword | TSThisType | TSFunctionType | TSConstructorType | TSTypeReference | TSTypePredicate | TSTypeQuery | TSTypeLiteral | TSArrayType | TSTupleType | TSOptionalType | TSRestType | TSNamedTupleMember | TSUnionType | TSIntersectionType | TSConditionalType | TSInferType | TSParenthesizedType | TSTypeOperator | TSIndexedAccessType | TSMappedType | TSTemplateLiteralType | TSLiteralType | TSExpressionWithTypeArguments | TSInterfaceDeclaration | TSInterfaceBody | TSTypeAliasDeclaration | TSInstantiationExpression | TSAsExpression | TSSatisfiesExpression | TSTypeAssertion | TSEnumBody | TSEnumDeclaration | TSEnumMember | TSModuleDeclaration | TSModuleBlock | TSImportType | TSImportEqualsDeclaration | TSExternalModuleReference | TSNonNullExpression | TSExportAssignment | TSNamespaceExportDeclaration | TSTypeAnnotation | TSTypeParameterInstantiation | TSTypeParameterDeclaration | TSTypeParameter; +export type TSTypeElement = TSCallSignatureDeclaration | TSConstructSignatureDeclaration | TSPropertySignature | TSMethodSignature | TSIndexSignature; +export type TSType = TSAnyKeyword | TSBooleanKeyword | TSBigIntKeyword | TSIntrinsicKeyword | TSNeverKeyword | TSNullKeyword | TSNumberKeyword | TSObjectKeyword | TSStringKeyword | TSSymbolKeyword | TSUndefinedKeyword | TSUnknownKeyword | TSVoidKeyword | TSThisType | TSFunctionType | TSConstructorType | TSTypeReference | TSTypePredicate | TSTypeQuery | TSTypeLiteral | TSArrayType | TSTupleType | TSOptionalType | TSRestType | TSUnionType | TSIntersectionType | TSConditionalType | TSInferType | TSParenthesizedType | TSTypeOperator | TSIndexedAccessType | TSMappedType | TSTemplateLiteralType | TSLiteralType | TSExpressionWithTypeArguments | TSImportType; +export type TSBaseType = TSAnyKeyword | TSBooleanKeyword | TSBigIntKeyword | TSIntrinsicKeyword | TSNeverKeyword | TSNullKeyword | TSNumberKeyword | TSObjectKeyword | TSStringKeyword | TSSymbolKeyword | TSUndefinedKeyword | TSUnknownKeyword | TSVoidKeyword | TSThisType | TSTemplateLiteralType | TSLiteralType; +export type ModuleDeclaration = ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration | ImportDeclaration; + +export interface Aliases { + Standardized: Standardized; + Expression: Expression; + Binary: Binary; + Scopable: Scopable; + BlockParent: BlockParent; + Block: Block; + Statement: Statement; + Terminatorless: Terminatorless; + CompletionStatement: CompletionStatement; + Conditional: Conditional; + Loop: Loop; + While: While; + ExpressionWrapper: ExpressionWrapper; + For: For; + ForXStatement: ForXStatement; + Function: Function; + FunctionParent: FunctionParent; + Pureish: Pureish; + Declaration: Declaration; + FunctionParameter: FunctionParameter; + PatternLike: PatternLike; + LVal: LVal; + TSEntityName: TSEntityName; + Literal: Literal; + Immutable: Immutable; + UserWhitespacable: UserWhitespacable; + Method: Method; + ObjectMember: ObjectMember; + Property: Property; + UnaryLike: UnaryLike; + Pattern: Pattern; + Class: Class; + ImportOrExportDeclaration: ImportOrExportDeclaration; + ExportDeclaration: ExportDeclaration; + ModuleSpecifier: ModuleSpecifier; + Accessor: Accessor; + Private: Private; + Flow: Flow; + FlowType: FlowType; + FlowBaseAnnotation: FlowBaseAnnotation; + FlowDeclaration: FlowDeclaration; + FlowPredicate: FlowPredicate; + EnumBody: EnumBody; + EnumMember: EnumMember; + JSX: JSX; + Miscellaneous: Miscellaneous; + TypeScript: TypeScript; + TSTypeElement: TSTypeElement; + TSType: TSType; + TSBaseType: TSBaseType; + ModuleDeclaration: ModuleDeclaration; +} + +export function arrayExpression(elements?: (null | Expression | SpreadElement)[]): ArrayExpression; +export function assignmentExpression(operator: string, left: LVal | OptionalMemberExpression, right: Expression): AssignmentExpression; +export function binaryExpression(operator: "+" | "-" | "/" | "%" | "*" | "**" | "&" | "|" | ">>" | ">>>" | "<<" | "^" | "==" | "===" | "!=" | "!==" | "in" | "instanceof" | ">" | "<" | ">=" | "<=" | "|>", left: Expression | PrivateName, right: Expression): BinaryExpression; +export function interpreterDirective(value: string): InterpreterDirective; +export function directive(value: DirectiveLiteral): Directive; +export function directiveLiteral(value: string): DirectiveLiteral; +export function blockStatement(body: Statement[], directives?: Directive[]): BlockStatement; +export function breakStatement(label?: Identifier | null): BreakStatement; +export function callExpression(callee: Expression | Super | V8IntrinsicIdentifier, _arguments: (Expression | SpreadElement | ArgumentPlaceholder)[]): CallExpression; +export function catchClause(param: Identifier | ArrayPattern | ObjectPattern | null | undefined, body: BlockStatement): CatchClause; +export function conditionalExpression(test: Expression, consequent: Expression, alternate: Expression): ConditionalExpression; +export function continueStatement(label?: Identifier | null): ContinueStatement; +export function debuggerStatement(): DebuggerStatement; +export function doWhileStatement(test: Expression, body: Statement): DoWhileStatement; +export function emptyStatement(): EmptyStatement; +export function expressionStatement(expression: Expression): ExpressionStatement; +export function file(program: Program, comments?: (CommentBlock | CommentLine)[] | null, tokens?: any[] | null): File; +export function forInStatement(left: VariableDeclaration | LVal, right: Expression, body: Statement): ForInStatement; +export function forStatement(init: VariableDeclaration | Expression | null | undefined, test: Expression | null | undefined, update: Expression | null | undefined, body: Statement): ForStatement; +export function functionDeclaration(id: Identifier | null | undefined, params: FunctionParameter[], body: BlockStatement, generator?: boolean, async?: boolean): FunctionDeclaration; +export function functionExpression(id: Identifier | null | undefined, params: FunctionParameter[], body: BlockStatement, generator?: boolean, async?: boolean): FunctionExpression; +export function identifier(name: string): Identifier; +export function ifStatement(test: Expression, consequent: Statement, alternate?: Statement | null): IfStatement; +export function labeledStatement(label: Identifier, body: Statement): LabeledStatement; +export function stringLiteral(value: string): StringLiteral; +export function numericLiteral(value: number): NumericLiteral; +export function nullLiteral(): NullLiteral; +export function booleanLiteral(value: boolean): BooleanLiteral; +export function regExpLiteral(pattern: string, flags?: string): RegExpLiteral; +export function logicalExpression(operator: "||" | "&&" | "??", left: Expression, right: Expression): LogicalExpression; +export function memberExpression(object: Expression | Super, property: Expression | Identifier | PrivateName, computed?: boolean, optional?: boolean | null): MemberExpression; +export function newExpression(callee: Expression | Super | V8IntrinsicIdentifier, _arguments: (Expression | SpreadElement | ArgumentPlaceholder)[]): NewExpression; +export function program(body: Statement[], directives?: Directive[], sourceType?: "script" | "module", interpreter?: InterpreterDirective | null): Program; +export function objectExpression(properties: (ObjectMethod | ObjectProperty | SpreadElement)[]): ObjectExpression; +export function objectMethod(kind: "method" | "get" | "set" | undefined, key: Expression | Identifier | StringLiteral | NumericLiteral | BigIntLiteral, params: FunctionParameter[], body: BlockStatement, computed?: boolean, generator?: boolean, async?: boolean): ObjectMethod; +export function objectProperty(key: Expression | Identifier | StringLiteral | NumericLiteral | BigIntLiteral | DecimalLiteral | PrivateName, value: Expression | PatternLike, computed?: boolean, shorthand?: boolean, decorators?: Decorator[] | null): ObjectProperty; +export function restElement(argument: Identifier | ArrayPattern | ObjectPattern | MemberExpression | TSAsExpression | TSSatisfiesExpression | TSTypeAssertion | TSNonNullExpression | RestElement | AssignmentPattern): RestElement; +export function returnStatement(argument?: Expression | null): ReturnStatement; +export function sequenceExpression(expressions: Expression[]): SequenceExpression; +export function parenthesizedExpression(expression: Expression): ParenthesizedExpression; +export function switchCase(test: Expression | null | undefined, consequent: Statement[]): SwitchCase; +export function switchStatement(discriminant: Expression, cases: SwitchCase[]): SwitchStatement; +export function thisExpression(): ThisExpression; +export function throwStatement(argument: Expression): ThrowStatement; +export function tryStatement(block: BlockStatement, handler?: CatchClause | null, finalizer?: BlockStatement | null): TryStatement; +export function unaryExpression(operator: "void" | "throw" | "delete" | "!" | "+" | "-" | "~" | "typeof", argument: Expression, prefix?: boolean): UnaryExpression; +export function updateExpression(operator: "++" | "--", argument: Expression, prefix?: boolean): UpdateExpression; +export function variableDeclaration(kind: "var" | "let" | "const" | "using" | "await using", declarations: VariableDeclarator[]): VariableDeclaration; +export function variableDeclarator(id: LVal | VoidPattern, init?: Expression | null): VariableDeclarator; +export function whileStatement(test: Expression, body: Statement): WhileStatement; +export function withStatement(object: Expression, body: Statement): WithStatement; +export function assignmentPattern(left: Identifier | ObjectPattern | ArrayPattern | MemberExpression | TSAsExpression | TSSatisfiesExpression | TSTypeAssertion | TSNonNullExpression, right: Expression): AssignmentPattern; +export function arrayPattern(elements: (null | PatternLike)[]): ArrayPattern; +export function arrowFunctionExpression(params: FunctionParameter[], body: BlockStatement | Expression, async?: boolean): ArrowFunctionExpression; +export function classBody(body: (ClassMethod | ClassPrivateMethod | ClassProperty | ClassPrivateProperty | ClassAccessorProperty | TSDeclareMethod | TSIndexSignature | StaticBlock)[]): ClassBody; +export function classExpression(id: Identifier | null | undefined, superClass: Expression | null | undefined, body: ClassBody, decorators?: Decorator[] | null): ClassExpression; +export function classDeclaration(id: Identifier | null | undefined, superClass: Expression | null | undefined, body: ClassBody, decorators?: Decorator[] | null): ClassDeclaration; +export function exportAllDeclaration(source: StringLiteral, attributes?: ImportAttribute[] | null): ExportAllDeclaration; +export function exportDefaultDeclaration(declaration: TSDeclareFunction | FunctionDeclaration | ClassDeclaration | Expression): ExportDefaultDeclaration; +export function exportNamedDeclaration(declaration?: Declaration | null, specifiers?: (ExportSpecifier | ExportDefaultSpecifier | ExportNamespaceSpecifier)[], source?: StringLiteral | null, attributes?: ImportAttribute[] | null): ExportNamedDeclaration; +export function exportSpecifier(local: Identifier, exported: Identifier | StringLiteral): ExportSpecifier; +export function forOfStatement(left: VariableDeclaration | LVal, right: Expression, body: Statement, _await?: boolean): ForOfStatement; +export function importDeclaration(specifiers: (ImportSpecifier | ImportDefaultSpecifier | ImportNamespaceSpecifier)[], source: StringLiteral, attributes?: ImportAttribute[] | null): ImportDeclaration; +export function importDefaultSpecifier(local: Identifier): ImportDefaultSpecifier; +export function importNamespaceSpecifier(local: Identifier): ImportNamespaceSpecifier; +export function importSpecifier(local: Identifier, imported: Identifier | StringLiteral): ImportSpecifier; +export function importExpression(source: Expression, options?: Expression | null): ImportExpression; +export function metaProperty(meta: Identifier, property: Identifier): MetaProperty; +export function classMethod(kind: "get" | "set" | "method" | "constructor" | undefined, key: Identifier | StringLiteral | NumericLiteral | BigIntLiteral | Expression, params: (FunctionParameter | TSParameterProperty)[], body: BlockStatement, computed?: boolean, _static?: boolean, generator?: boolean, async?: boolean): ClassMethod; +export function objectPattern(properties: (RestElement | ObjectProperty)[]): ObjectPattern; +export function spreadElement(argument: Expression): SpreadElement; +declare function _super(): Super; +export { _super as super} +export function taggedTemplateExpression(tag: Expression, quasi: TemplateLiteral): TaggedTemplateExpression; +export function templateElement(value: { raw: string, cooked?: string }, tail?: boolean): TemplateElement; +export function templateLiteral(quasis: TemplateElement[], expressions: (Expression | TSType)[]): TemplateLiteral; +export function yieldExpression(argument?: Expression | null, delegate?: boolean): YieldExpression; +export function awaitExpression(argument: Expression): AwaitExpression; +declare function _import(): Import; +export { _import as import} +export function bigIntLiteral(value: string): BigIntLiteral; +export function exportNamespaceSpecifier(exported: Identifier): ExportNamespaceSpecifier; +export function optionalMemberExpression(object: Expression, property: Expression | Identifier, computed: boolean | undefined, optional: boolean): OptionalMemberExpression; +export function optionalCallExpression(callee: Expression, _arguments: (Expression | SpreadElement | ArgumentPlaceholder)[], optional: boolean): OptionalCallExpression; +export function classProperty(key: Identifier | StringLiteral | NumericLiteral | BigIntLiteral | Expression, value?: Expression | null, typeAnnotation?: TypeAnnotation | TSTypeAnnotation | Noop | null, decorators?: Decorator[] | null, computed?: boolean, _static?: boolean): ClassProperty; +export function classAccessorProperty(key: Identifier | StringLiteral | NumericLiteral | BigIntLiteral | Expression | PrivateName, value?: Expression | null, typeAnnotation?: TypeAnnotation | TSTypeAnnotation | Noop | null, decorators?: Decorator[] | null, computed?: boolean, _static?: boolean): ClassAccessorProperty; +export function classPrivateProperty(key: PrivateName, value?: Expression | null, decorators?: Decorator[] | null, _static?: boolean): ClassPrivateProperty; +export function classPrivateMethod(kind: "get" | "set" | "method" | undefined, key: PrivateName, params: (FunctionParameter | TSParameterProperty)[], body: BlockStatement, _static?: boolean): ClassPrivateMethod; +export function privateName(id: Identifier): PrivateName; +export function staticBlock(body: Statement[]): StaticBlock; +export function importAttribute(key: Identifier | StringLiteral, value: StringLiteral): ImportAttribute; +export function anyTypeAnnotation(): AnyTypeAnnotation; +export function arrayTypeAnnotation(elementType: FlowType): ArrayTypeAnnotation; +export function booleanTypeAnnotation(): BooleanTypeAnnotation; +export function booleanLiteralTypeAnnotation(value: boolean): BooleanLiteralTypeAnnotation; +export function nullLiteralTypeAnnotation(): NullLiteralTypeAnnotation; +export function classImplements(id: Identifier, typeParameters?: TypeParameterInstantiation | null): ClassImplements; +export function declareClass(id: Identifier, typeParameters: TypeParameterDeclaration | null | undefined, _extends: InterfaceExtends[] | null | undefined, body: ObjectTypeAnnotation): DeclareClass; +export function declareFunction(id: Identifier): DeclareFunction; +export function declareInterface(id: Identifier, typeParameters: TypeParameterDeclaration | null | undefined, _extends: InterfaceExtends[] | null | undefined, body: ObjectTypeAnnotation): DeclareInterface; +export function declareModule(id: Identifier | StringLiteral, body: BlockStatement, kind?: "CommonJS" | "ES" | null): DeclareModule; +export function declareModuleExports(typeAnnotation: TypeAnnotation): DeclareModuleExports; +export function declareTypeAlias(id: Identifier, typeParameters: TypeParameterDeclaration | null | undefined, right: FlowType): DeclareTypeAlias; +export function declareOpaqueType(id: Identifier, typeParameters?: TypeParameterDeclaration | null, supertype?: FlowType | null): DeclareOpaqueType; +export function declareVariable(id: Identifier): DeclareVariable; +export function declareExportDeclaration(declaration?: Flow | null, specifiers?: (ExportSpecifier | ExportNamespaceSpecifier)[] | null, source?: StringLiteral | null, attributes?: ImportAttribute[] | null): DeclareExportDeclaration; +export function declareExportAllDeclaration(source: StringLiteral, attributes?: ImportAttribute[] | null): DeclareExportAllDeclaration; +export function declaredPredicate(value: Flow): DeclaredPredicate; +export function existsTypeAnnotation(): ExistsTypeAnnotation; +export function functionTypeAnnotation(typeParameters: TypeParameterDeclaration | null | undefined, params: FunctionTypeParam[], rest: FunctionTypeParam | null | undefined, returnType: FlowType): FunctionTypeAnnotation; +export function functionTypeParam(name: Identifier | null | undefined, typeAnnotation: FlowType): FunctionTypeParam; +export function genericTypeAnnotation(id: Identifier | QualifiedTypeIdentifier, typeParameters?: TypeParameterInstantiation | null): GenericTypeAnnotation; +export function inferredPredicate(): InferredPredicate; +export function interfaceExtends(id: Identifier | QualifiedTypeIdentifier, typeParameters?: TypeParameterInstantiation | null): InterfaceExtends; +export function interfaceDeclaration(id: Identifier, typeParameters: TypeParameterDeclaration | null | undefined, _extends: InterfaceExtends[] | null | undefined, body: ObjectTypeAnnotation): InterfaceDeclaration; +export function interfaceTypeAnnotation(_extends: InterfaceExtends[] | null | undefined, body: ObjectTypeAnnotation): InterfaceTypeAnnotation; +export function intersectionTypeAnnotation(types: FlowType[]): IntersectionTypeAnnotation; +export function mixedTypeAnnotation(): MixedTypeAnnotation; +export function emptyTypeAnnotation(): EmptyTypeAnnotation; +export function nullableTypeAnnotation(typeAnnotation: FlowType): NullableTypeAnnotation; +export function numberLiteralTypeAnnotation(value: number): NumberLiteralTypeAnnotation; +export function numberTypeAnnotation(): NumberTypeAnnotation; +export function objectTypeAnnotation(properties: (ObjectTypeProperty | ObjectTypeSpreadProperty)[], indexers?: ObjectTypeIndexer[], callProperties?: ObjectTypeCallProperty[], internalSlots?: ObjectTypeInternalSlot[], exact?: boolean): ObjectTypeAnnotation; +export function objectTypeInternalSlot(id: Identifier, value: FlowType, optional: boolean, _static: boolean, method: boolean): ObjectTypeInternalSlot; +export function objectTypeCallProperty(value: FlowType): ObjectTypeCallProperty; +export function objectTypeIndexer(id: Identifier | null | undefined, key: FlowType, value: FlowType, variance?: Variance | null): ObjectTypeIndexer; +export function objectTypeProperty(key: Identifier | StringLiteral, value: FlowType, variance?: Variance | null): ObjectTypeProperty; +export function objectTypeSpreadProperty(argument: FlowType): ObjectTypeSpreadProperty; +export function opaqueType(id: Identifier, typeParameters: TypeParameterDeclaration | null | undefined, supertype: FlowType | null | undefined, impltype: FlowType): OpaqueType; +export function qualifiedTypeIdentifier(id: Identifier, qualification: Identifier | QualifiedTypeIdentifier): QualifiedTypeIdentifier; +export function stringLiteralTypeAnnotation(value: string): StringLiteralTypeAnnotation; +export function stringTypeAnnotation(): StringTypeAnnotation; +export function symbolTypeAnnotation(): SymbolTypeAnnotation; +export function thisTypeAnnotation(): ThisTypeAnnotation; +export function tupleTypeAnnotation(types: FlowType[]): TupleTypeAnnotation; +export function typeofTypeAnnotation(argument: FlowType): TypeofTypeAnnotation; +export function typeAlias(id: Identifier, typeParameters: TypeParameterDeclaration | null | undefined, right: FlowType): TypeAlias; +export function typeAnnotation(typeAnnotation: FlowType): TypeAnnotation; +export function typeCastExpression(expression: Expression, typeAnnotation: TypeAnnotation): TypeCastExpression; +export function typeParameter(bound?: TypeAnnotation | null, _default?: FlowType | null, variance?: Variance | null): TypeParameter; +export function typeParameterDeclaration(params: TypeParameter[]): TypeParameterDeclaration; +export function typeParameterInstantiation(params: FlowType[]): TypeParameterInstantiation; +export function unionTypeAnnotation(types: FlowType[]): UnionTypeAnnotation; +export function variance(kind: "minus" | "plus"): Variance; +export function voidTypeAnnotation(): VoidTypeAnnotation; +export function enumDeclaration(id: Identifier, body: EnumBooleanBody | EnumNumberBody | EnumStringBody | EnumSymbolBody): EnumDeclaration; +export function enumBooleanBody(members: EnumBooleanMember[]): EnumBooleanBody; +export function enumNumberBody(members: EnumNumberMember[]): EnumNumberBody; +export function enumStringBody(members: (EnumStringMember | EnumDefaultedMember)[]): EnumStringBody; +export function enumSymbolBody(members: EnumDefaultedMember[]): EnumSymbolBody; +export function enumBooleanMember(id: Identifier): EnumBooleanMember; +export function enumNumberMember(id: Identifier, init: NumericLiteral): EnumNumberMember; +export function enumStringMember(id: Identifier, init: StringLiteral): EnumStringMember; +export function enumDefaultedMember(id: Identifier): EnumDefaultedMember; +export function indexedAccessType(objectType: FlowType, indexType: FlowType): IndexedAccessType; +export function optionalIndexedAccessType(objectType: FlowType, indexType: FlowType): OptionalIndexedAccessType; +export function jsxAttribute(name: JSXIdentifier | JSXNamespacedName, value?: JSXElement | JSXFragment | StringLiteral | JSXExpressionContainer | null): JSXAttribute; +export function jsxClosingElement(name: JSXIdentifier | JSXMemberExpression | JSXNamespacedName): JSXClosingElement; +export function jsxElement(openingElement: JSXOpeningElement, closingElement: JSXClosingElement | null | undefined, children: (JSXText | JSXExpressionContainer | JSXSpreadChild | JSXElement | JSXFragment)[], selfClosing?: boolean | null): JSXElement; +export function jsxEmptyExpression(): JSXEmptyExpression; +export function jsxExpressionContainer(expression: Expression | JSXEmptyExpression): JSXExpressionContainer; +export function jsxSpreadChild(expression: Expression): JSXSpreadChild; +export function jsxIdentifier(name: string): JSXIdentifier; +export function jsxMemberExpression(object: JSXMemberExpression | JSXIdentifier, property: JSXIdentifier): JSXMemberExpression; +export function jsxNamespacedName(namespace: JSXIdentifier, name: JSXIdentifier): JSXNamespacedName; +export function jsxOpeningElement(name: JSXIdentifier | JSXMemberExpression | JSXNamespacedName, attributes: (JSXAttribute | JSXSpreadAttribute)[], selfClosing?: boolean): JSXOpeningElement; +export function jsxSpreadAttribute(argument: Expression): JSXSpreadAttribute; +export function jsxText(value: string): JSXText; +export function jsxFragment(openingFragment: JSXOpeningFragment, closingFragment: JSXClosingFragment, children: (JSXText | JSXExpressionContainer | JSXSpreadChild | JSXElement | JSXFragment)[]): JSXFragment; +export function jsxOpeningFragment(): JSXOpeningFragment; +export function jsxClosingFragment(): JSXClosingFragment; +export function noop(): Noop; +export function placeholder(expectedNode: "Identifier" | "StringLiteral" | "Expression" | "Statement" | "Declaration" | "BlockStatement" | "ClassBody" | "Pattern", name: Identifier): Placeholder; +export function v8IntrinsicIdentifier(name: string): V8IntrinsicIdentifier; +export function argumentPlaceholder(): ArgumentPlaceholder; +export function bindExpression(object: Expression, callee: Expression): BindExpression; +export function decorator(expression: Expression): Decorator; +export function doExpression(body: BlockStatement, async?: boolean): DoExpression; +export function exportDefaultSpecifier(exported: Identifier): ExportDefaultSpecifier; +export function recordExpression(properties: (ObjectProperty | SpreadElement)[]): RecordExpression; +export function tupleExpression(elements?: (Expression | SpreadElement)[]): TupleExpression; +export function decimalLiteral(value: string): DecimalLiteral; +export function moduleExpression(body: Program): ModuleExpression; +export function topicReference(): TopicReference; +export function pipelineTopicExpression(expression: Expression): PipelineTopicExpression; +export function pipelineBareFunction(callee: Expression): PipelineBareFunction; +export function pipelinePrimaryTopicReference(): PipelinePrimaryTopicReference; +export function voidPattern(): VoidPattern; +export function tsParameterProperty(parameter: Identifier | AssignmentPattern): TSParameterProperty; +export function tsDeclareFunction(id: Identifier | null | undefined, typeParameters: TSTypeParameterDeclaration | Noop | null | undefined, params: FunctionParameter[], returnType?: TSTypeAnnotation | Noop | null): TSDeclareFunction; +export function tsDeclareMethod(decorators: Decorator[] | null | undefined, key: Identifier | StringLiteral | NumericLiteral | BigIntLiteral | Expression, typeParameters: TSTypeParameterDeclaration | Noop | null | undefined, params: (FunctionParameter | TSParameterProperty)[], returnType?: TSTypeAnnotation | Noop | null): TSDeclareMethod; +export function tsQualifiedName(left: TSEntityName, right: Identifier): TSQualifiedName; +export function tsCallSignatureDeclaration(typeParameters: TSTypeParameterDeclaration | null | undefined, parameters: (ArrayPattern | Identifier | ObjectPattern | RestElement)[], typeAnnotation?: TSTypeAnnotation | null): TSCallSignatureDeclaration; +export function tsConstructSignatureDeclaration(typeParameters: TSTypeParameterDeclaration | null | undefined, parameters: (ArrayPattern | Identifier | ObjectPattern | RestElement)[], typeAnnotation?: TSTypeAnnotation | null): TSConstructSignatureDeclaration; +export function tsPropertySignature(key: Expression, typeAnnotation?: TSTypeAnnotation | null): TSPropertySignature; +export function tsMethodSignature(key: Expression, typeParameters: TSTypeParameterDeclaration | null | undefined, parameters: (ArrayPattern | Identifier | ObjectPattern | RestElement)[], typeAnnotation?: TSTypeAnnotation | null): TSMethodSignature; +export function tsIndexSignature(parameters: Identifier[], typeAnnotation?: TSTypeAnnotation | null): TSIndexSignature; +export function tsAnyKeyword(): TSAnyKeyword; +export function tsBooleanKeyword(): TSBooleanKeyword; +export function tsBigIntKeyword(): TSBigIntKeyword; +export function tsIntrinsicKeyword(): TSIntrinsicKeyword; +export function tsNeverKeyword(): TSNeverKeyword; +export function tsNullKeyword(): TSNullKeyword; +export function tsNumberKeyword(): TSNumberKeyword; +export function tsObjectKeyword(): TSObjectKeyword; +export function tsStringKeyword(): TSStringKeyword; +export function tsSymbolKeyword(): TSSymbolKeyword; +export function tsUndefinedKeyword(): TSUndefinedKeyword; +export function tsUnknownKeyword(): TSUnknownKeyword; +export function tsVoidKeyword(): TSVoidKeyword; +export function tsThisType(): TSThisType; +export function tsFunctionType(typeParameters: TSTypeParameterDeclaration | null | undefined, parameters: (ArrayPattern | Identifier | ObjectPattern | RestElement)[], typeAnnotation?: TSTypeAnnotation | null): TSFunctionType; +export function tsConstructorType(typeParameters: TSTypeParameterDeclaration | null | undefined, parameters: (ArrayPattern | Identifier | ObjectPattern | RestElement)[], typeAnnotation?: TSTypeAnnotation | null): TSConstructorType; +export function tsTypeReference(typeName: TSEntityName, typeParameters?: TSTypeParameterInstantiation | null): TSTypeReference; +export function tsTypePredicate(parameterName: Identifier | TSThisType, typeAnnotation?: TSTypeAnnotation | null, asserts?: boolean | null): TSTypePredicate; +export function tsTypeQuery(exprName: TSEntityName | TSImportType, typeParameters?: TSTypeParameterInstantiation | null): TSTypeQuery; +export function tsTypeLiteral(members: TSTypeElement[]): TSTypeLiteral; +export function tsArrayType(elementType: TSType): TSArrayType; +export function tsTupleType(elementTypes: (TSType | TSNamedTupleMember)[]): TSTupleType; +export function tsOptionalType(typeAnnotation: TSType): TSOptionalType; +export function tsRestType(typeAnnotation: TSType): TSRestType; +export function tsNamedTupleMember(label: Identifier, elementType: TSType, optional?: boolean): TSNamedTupleMember; +export function tsUnionType(types: TSType[]): TSUnionType; +export function tsIntersectionType(types: TSType[]): TSIntersectionType; +export function tsConditionalType(checkType: TSType, extendsType: TSType, trueType: TSType, falseType: TSType): TSConditionalType; +export function tsInferType(typeParameter: TSTypeParameter): TSInferType; +export function tsParenthesizedType(typeAnnotation: TSType): TSParenthesizedType; +export function tsTypeOperator(typeAnnotation: TSType, operator?: string): TSTypeOperator; +export function tsIndexedAccessType(objectType: TSType, indexType: TSType): TSIndexedAccessType; +export function tsMappedType(typeParameter: TSTypeParameter, typeAnnotation?: TSType | null, nameType?: TSType | null): TSMappedType; +export function tsTemplateLiteralType(quasis: TemplateElement[], types: TSType[]): TSTemplateLiteralType; +export function tsLiteralType(literal: NumericLiteral | StringLiteral | BooleanLiteral | BigIntLiteral | TemplateLiteral | UnaryExpression): TSLiteralType; +export function tsExpressionWithTypeArguments(expression: TSEntityName, typeParameters?: TSTypeParameterInstantiation | null): TSExpressionWithTypeArguments; +export function tsInterfaceDeclaration(id: Identifier, typeParameters: TSTypeParameterDeclaration | null | undefined, _extends: TSExpressionWithTypeArguments[] | null | undefined, body: TSInterfaceBody): TSInterfaceDeclaration; +export function tsInterfaceBody(body: TSTypeElement[]): TSInterfaceBody; +export function tsTypeAliasDeclaration(id: Identifier, typeParameters: TSTypeParameterDeclaration | null | undefined, typeAnnotation: TSType): TSTypeAliasDeclaration; +export function tsInstantiationExpression(expression: Expression, typeParameters?: TSTypeParameterInstantiation | null): TSInstantiationExpression; +export function tsAsExpression(expression: Expression, typeAnnotation: TSType): TSAsExpression; +export function tsSatisfiesExpression(expression: Expression, typeAnnotation: TSType): TSSatisfiesExpression; +export function tsTypeAssertion(typeAnnotation: TSType, expression: Expression): TSTypeAssertion; +export function tsEnumBody(members: TSEnumMember[]): TSEnumBody; +export function tsEnumDeclaration(id: Identifier, members: TSEnumMember[]): TSEnumDeclaration; +export function tsEnumMember(id: Identifier | StringLiteral, initializer?: Expression | null): TSEnumMember; +export function tsModuleDeclaration(id: Identifier | StringLiteral, body: TSModuleBlock | TSModuleDeclaration): TSModuleDeclaration; +export function tsModuleBlock(body: Statement[]): TSModuleBlock; +export function tsImportType(argument: StringLiteral, qualifier?: TSEntityName | null, typeParameters?: TSTypeParameterInstantiation | null): TSImportType; +export function tsImportEqualsDeclaration(id: Identifier, moduleReference: TSEntityName | TSExternalModuleReference): TSImportEqualsDeclaration; +export function tsExternalModuleReference(expression: StringLiteral): TSExternalModuleReference; +export function tsNonNullExpression(expression: Expression): TSNonNullExpression; +export function tsExportAssignment(expression: Expression): TSExportAssignment; +export function tsNamespaceExportDeclaration(id: Identifier): TSNamespaceExportDeclaration; +export function tsTypeAnnotation(typeAnnotation: TSType): TSTypeAnnotation; +export function tsTypeParameterInstantiation(params: TSType[]): TSTypeParameterInstantiation; +export function tsTypeParameterDeclaration(params: TSTypeParameter[]): TSTypeParameterDeclaration; +export function tsTypeParameter(constraint: TSType | null | undefined, _default: TSType | null | undefined, name: string): TSTypeParameter; +export function isAccessor(node: object | null | undefined, opts?: object | null): node is Accessor; +export function assertAccessor(node: object | null | undefined, opts?: object | null): void; +export function isAnyTypeAnnotation(node: object | null | undefined, opts?: object | null): node is AnyTypeAnnotation; +export function assertAnyTypeAnnotation(node: object | null | undefined, opts?: object | null): void; +export function isArgumentPlaceholder(node: object | null | undefined, opts?: object | null): node is ArgumentPlaceholder; +export function assertArgumentPlaceholder(node: object | null | undefined, opts?: object | null): void; +export function isArrayExpression(node: object | null | undefined, opts?: object | null): node is ArrayExpression; +export function assertArrayExpression(node: object | null | undefined, opts?: object | null): void; +export function isArrayPattern(node: object | null | undefined, opts?: object | null): node is ArrayPattern; +export function assertArrayPattern(node: object | null | undefined, opts?: object | null): void; +export function isArrayTypeAnnotation(node: object | null | undefined, opts?: object | null): node is ArrayTypeAnnotation; +export function assertArrayTypeAnnotation(node: object | null | undefined, opts?: object | null): void; +export function isArrowFunctionExpression(node: object | null | undefined, opts?: object | null): node is ArrowFunctionExpression; +export function assertArrowFunctionExpression(node: object | null | undefined, opts?: object | null): void; +export function isAssignmentExpression(node: object | null | undefined, opts?: object | null): node is AssignmentExpression; +export function assertAssignmentExpression(node: object | null | undefined, opts?: object | null): void; +export function isAssignmentPattern(node: object | null | undefined, opts?: object | null): node is AssignmentPattern; +export function assertAssignmentPattern(node: object | null | undefined, opts?: object | null): void; +export function isAwaitExpression(node: object | null | undefined, opts?: object | null): node is AwaitExpression; +export function assertAwaitExpression(node: object | null | undefined, opts?: object | null): void; +export function isBigIntLiteral(node: object | null | undefined, opts?: object | null): node is BigIntLiteral; +export function assertBigIntLiteral(node: object | null | undefined, opts?: object | null): void; +export function isBinary(node: object | null | undefined, opts?: object | null): node is Binary; +export function assertBinary(node: object | null | undefined, opts?: object | null): void; +export function isBinaryExpression(node: object | null | undefined, opts?: object | null): node is BinaryExpression; +export function assertBinaryExpression(node: object | null | undefined, opts?: object | null): void; +export function isBindExpression(node: object | null | undefined, opts?: object | null): node is BindExpression; +export function assertBindExpression(node: object | null | undefined, opts?: object | null): void; +export function isBlock(node: object | null | undefined, opts?: object | null): node is Block; +export function assertBlock(node: object | null | undefined, opts?: object | null): void; +export function isBlockParent(node: object | null | undefined, opts?: object | null): node is BlockParent; +export function assertBlockParent(node: object | null | undefined, opts?: object | null): void; +export function isBlockStatement(node: object | null | undefined, opts?: object | null): node is BlockStatement; +export function assertBlockStatement(node: object | null | undefined, opts?: object | null): void; +export function isBooleanLiteral(node: object | null | undefined, opts?: object | null): node is BooleanLiteral; +export function assertBooleanLiteral(node: object | null | undefined, opts?: object | null): void; +export function isBooleanLiteralTypeAnnotation(node: object | null | undefined, opts?: object | null): node is BooleanLiteralTypeAnnotation; +export function assertBooleanLiteralTypeAnnotation(node: object | null | undefined, opts?: object | null): void; +export function isBooleanTypeAnnotation(node: object | null | undefined, opts?: object | null): node is BooleanTypeAnnotation; +export function assertBooleanTypeAnnotation(node: object | null | undefined, opts?: object | null): void; +export function isBreakStatement(node: object | null | undefined, opts?: object | null): node is BreakStatement; +export function assertBreakStatement(node: object | null | undefined, opts?: object | null): void; +export function isCallExpression(node: object | null | undefined, opts?: object | null): node is CallExpression; +export function assertCallExpression(node: object | null | undefined, opts?: object | null): void; +export function isCatchClause(node: object | null | undefined, opts?: object | null): node is CatchClause; +export function assertCatchClause(node: object | null | undefined, opts?: object | null): void; +export function isClass(node: object | null | undefined, opts?: object | null): node is Class; +export function assertClass(node: object | null | undefined, opts?: object | null): void; +export function isClassAccessorProperty(node: object | null | undefined, opts?: object | null): node is ClassAccessorProperty; +export function assertClassAccessorProperty(node: object | null | undefined, opts?: object | null): void; +export function isClassBody(node: object | null | undefined, opts?: object | null): node is ClassBody; +export function assertClassBody(node: object | null | undefined, opts?: object | null): void; +export function isClassDeclaration(node: object | null | undefined, opts?: object | null): node is ClassDeclaration; +export function assertClassDeclaration(node: object | null | undefined, opts?: object | null): void; +export function isClassExpression(node: object | null | undefined, opts?: object | null): node is ClassExpression; +export function assertClassExpression(node: object | null | undefined, opts?: object | null): void; +export function isClassImplements(node: object | null | undefined, opts?: object | null): node is ClassImplements; +export function assertClassImplements(node: object | null | undefined, opts?: object | null): void; +export function isClassMethod(node: object | null | undefined, opts?: object | null): node is ClassMethod; +export function assertClassMethod(node: object | null | undefined, opts?: object | null): void; +export function isClassPrivateMethod(node: object | null | undefined, opts?: object | null): node is ClassPrivateMethod; +export function assertClassPrivateMethod(node: object | null | undefined, opts?: object | null): void; +export function isClassPrivateProperty(node: object | null | undefined, opts?: object | null): node is ClassPrivateProperty; +export function assertClassPrivateProperty(node: object | null | undefined, opts?: object | null): void; +export function isClassProperty(node: object | null | undefined, opts?: object | null): node is ClassProperty; +export function assertClassProperty(node: object | null | undefined, opts?: object | null): void; +export function isCompletionStatement(node: object | null | undefined, opts?: object | null): node is CompletionStatement; +export function assertCompletionStatement(node: object | null | undefined, opts?: object | null): void; +export function isConditional(node: object | null | undefined, opts?: object | null): node is Conditional; +export function assertConditional(node: object | null | undefined, opts?: object | null): void; +export function isConditionalExpression(node: object | null | undefined, opts?: object | null): node is ConditionalExpression; +export function assertConditionalExpression(node: object | null | undefined, opts?: object | null): void; +export function isContinueStatement(node: object | null | undefined, opts?: object | null): node is ContinueStatement; +export function assertContinueStatement(node: object | null | undefined, opts?: object | null): void; +export function isDebuggerStatement(node: object | null | undefined, opts?: object | null): node is DebuggerStatement; +export function assertDebuggerStatement(node: object | null | undefined, opts?: object | null): void; +export function isDecimalLiteral(node: object | null | undefined, opts?: object | null): node is DecimalLiteral; +export function assertDecimalLiteral(node: object | null | undefined, opts?: object | null): void; +export function isDeclaration(node: object | null | undefined, opts?: object | null): node is Declaration; +export function assertDeclaration(node: object | null | undefined, opts?: object | null): void; +export function isDeclareClass(node: object | null | undefined, opts?: object | null): node is DeclareClass; +export function assertDeclareClass(node: object | null | undefined, opts?: object | null): void; +export function isDeclareExportAllDeclaration(node: object | null | undefined, opts?: object | null): node is DeclareExportAllDeclaration; +export function assertDeclareExportAllDeclaration(node: object | null | undefined, opts?: object | null): void; +export function isDeclareExportDeclaration(node: object | null | undefined, opts?: object | null): node is DeclareExportDeclaration; +export function assertDeclareExportDeclaration(node: object | null | undefined, opts?: object | null): void; +export function isDeclareFunction(node: object | null | undefined, opts?: object | null): node is DeclareFunction; +export function assertDeclareFunction(node: object | null | undefined, opts?: object | null): void; +export function isDeclareInterface(node: object | null | undefined, opts?: object | null): node is DeclareInterface; +export function assertDeclareInterface(node: object | null | undefined, opts?: object | null): void; +export function isDeclareModule(node: object | null | undefined, opts?: object | null): node is DeclareModule; +export function assertDeclareModule(node: object | null | undefined, opts?: object | null): void; +export function isDeclareModuleExports(node: object | null | undefined, opts?: object | null): node is DeclareModuleExports; +export function assertDeclareModuleExports(node: object | null | undefined, opts?: object | null): void; +export function isDeclareOpaqueType(node: object | null | undefined, opts?: object | null): node is DeclareOpaqueType; +export function assertDeclareOpaqueType(node: object | null | undefined, opts?: object | null): void; +export function isDeclareTypeAlias(node: object | null | undefined, opts?: object | null): node is DeclareTypeAlias; +export function assertDeclareTypeAlias(node: object | null | undefined, opts?: object | null): void; +export function isDeclareVariable(node: object | null | undefined, opts?: object | null): node is DeclareVariable; +export function assertDeclareVariable(node: object | null | undefined, opts?: object | null): void; +export function isDeclaredPredicate(node: object | null | undefined, opts?: object | null): node is DeclaredPredicate; +export function assertDeclaredPredicate(node: object | null | undefined, opts?: object | null): void; +export function isDecorator(node: object | null | undefined, opts?: object | null): node is Decorator; +export function assertDecorator(node: object | null | undefined, opts?: object | null): void; +export function isDirective(node: object | null | undefined, opts?: object | null): node is Directive; +export function assertDirective(node: object | null | undefined, opts?: object | null): void; +export function isDirectiveLiteral(node: object | null | undefined, opts?: object | null): node is DirectiveLiteral; +export function assertDirectiveLiteral(node: object | null | undefined, opts?: object | null): void; +export function isDoExpression(node: object | null | undefined, opts?: object | null): node is DoExpression; +export function assertDoExpression(node: object | null | undefined, opts?: object | null): void; +export function isDoWhileStatement(node: object | null | undefined, opts?: object | null): node is DoWhileStatement; +export function assertDoWhileStatement(node: object | null | undefined, opts?: object | null): void; +export function isEmptyStatement(node: object | null | undefined, opts?: object | null): node is EmptyStatement; +export function assertEmptyStatement(node: object | null | undefined, opts?: object | null): void; +export function isEmptyTypeAnnotation(node: object | null | undefined, opts?: object | null): node is EmptyTypeAnnotation; +export function assertEmptyTypeAnnotation(node: object | null | undefined, opts?: object | null): void; +export function isEnumBody(node: object | null | undefined, opts?: object | null): node is EnumBody; +export function assertEnumBody(node: object | null | undefined, opts?: object | null): void; +export function isEnumBooleanBody(node: object | null | undefined, opts?: object | null): node is EnumBooleanBody; +export function assertEnumBooleanBody(node: object | null | undefined, opts?: object | null): void; +export function isEnumBooleanMember(node: object | null | undefined, opts?: object | null): node is EnumBooleanMember; +export function assertEnumBooleanMember(node: object | null | undefined, opts?: object | null): void; +export function isEnumDeclaration(node: object | null | undefined, opts?: object | null): node is EnumDeclaration; +export function assertEnumDeclaration(node: object | null | undefined, opts?: object | null): void; +export function isEnumDefaultedMember(node: object | null | undefined, opts?: object | null): node is EnumDefaultedMember; +export function assertEnumDefaultedMember(node: object | null | undefined, opts?: object | null): void; +export function isEnumMember(node: object | null | undefined, opts?: object | null): node is EnumMember; +export function assertEnumMember(node: object | null | undefined, opts?: object | null): void; +export function isEnumNumberBody(node: object | null | undefined, opts?: object | null): node is EnumNumberBody; +export function assertEnumNumberBody(node: object | null | undefined, opts?: object | null): void; +export function isEnumNumberMember(node: object | null | undefined, opts?: object | null): node is EnumNumberMember; +export function assertEnumNumberMember(node: object | null | undefined, opts?: object | null): void; +export function isEnumStringBody(node: object | null | undefined, opts?: object | null): node is EnumStringBody; +export function assertEnumStringBody(node: object | null | undefined, opts?: object | null): void; +export function isEnumStringMember(node: object | null | undefined, opts?: object | null): node is EnumStringMember; +export function assertEnumStringMember(node: object | null | undefined, opts?: object | null): void; +export function isEnumSymbolBody(node: object | null | undefined, opts?: object | null): node is EnumSymbolBody; +export function assertEnumSymbolBody(node: object | null | undefined, opts?: object | null): void; +export function isExistsTypeAnnotation(node: object | null | undefined, opts?: object | null): node is ExistsTypeAnnotation; +export function assertExistsTypeAnnotation(node: object | null | undefined, opts?: object | null): void; +export function isExportAllDeclaration(node: object | null | undefined, opts?: object | null): node is ExportAllDeclaration; +export function assertExportAllDeclaration(node: object | null | undefined, opts?: object | null): void; +export function isExportDeclaration(node: object | null | undefined, opts?: object | null): node is ExportDeclaration; +export function assertExportDeclaration(node: object | null | undefined, opts?: object | null): void; +export function isExportDefaultDeclaration(node: object | null | undefined, opts?: object | null): node is ExportDefaultDeclaration; +export function assertExportDefaultDeclaration(node: object | null | undefined, opts?: object | null): void; +export function isExportDefaultSpecifier(node: object | null | undefined, opts?: object | null): node is ExportDefaultSpecifier; +export function assertExportDefaultSpecifier(node: object | null | undefined, opts?: object | null): void; +export function isExportNamedDeclaration(node: object | null | undefined, opts?: object | null): node is ExportNamedDeclaration; +export function assertExportNamedDeclaration(node: object | null | undefined, opts?: object | null): void; +export function isExportNamespaceSpecifier(node: object | null | undefined, opts?: object | null): node is ExportNamespaceSpecifier; +export function assertExportNamespaceSpecifier(node: object | null | undefined, opts?: object | null): void; +export function isExportSpecifier(node: object | null | undefined, opts?: object | null): node is ExportSpecifier; +export function assertExportSpecifier(node: object | null | undefined, opts?: object | null): void; +export function isExpression(node: object | null | undefined, opts?: object | null): node is Expression; +export function assertExpression(node: object | null | undefined, opts?: object | null): void; +export function isExpressionStatement(node: object | null | undefined, opts?: object | null): node is ExpressionStatement; +export function assertExpressionStatement(node: object | null | undefined, opts?: object | null): void; +export function isExpressionWrapper(node: object | null | undefined, opts?: object | null): node is ExpressionWrapper; +export function assertExpressionWrapper(node: object | null | undefined, opts?: object | null): void; +export function isFile(node: object | null | undefined, opts?: object | null): node is File; +export function assertFile(node: object | null | undefined, opts?: object | null): void; +export function isFlow(node: object | null | undefined, opts?: object | null): node is Flow; +export function assertFlow(node: object | null | undefined, opts?: object | null): void; +export function isFlowBaseAnnotation(node: object | null | undefined, opts?: object | null): node is FlowBaseAnnotation; +export function assertFlowBaseAnnotation(node: object | null | undefined, opts?: object | null): void; +export function isFlowDeclaration(node: object | null | undefined, opts?: object | null): node is FlowDeclaration; +export function assertFlowDeclaration(node: object | null | undefined, opts?: object | null): void; +export function isFlowPredicate(node: object | null | undefined, opts?: object | null): node is FlowPredicate; +export function assertFlowPredicate(node: object | null | undefined, opts?: object | null): void; +export function isFlowType(node: object | null | undefined, opts?: object | null): node is FlowType; +export function assertFlowType(node: object | null | undefined, opts?: object | null): void; +export function isFor(node: object | null | undefined, opts?: object | null): node is For; +export function assertFor(node: object | null | undefined, opts?: object | null): void; +export function isForInStatement(node: object | null | undefined, opts?: object | null): node is ForInStatement; +export function assertForInStatement(node: object | null | undefined, opts?: object | null): void; +export function isForOfStatement(node: object | null | undefined, opts?: object | null): node is ForOfStatement; +export function assertForOfStatement(node: object | null | undefined, opts?: object | null): void; +export function isForStatement(node: object | null | undefined, opts?: object | null): node is ForStatement; +export function assertForStatement(node: object | null | undefined, opts?: object | null): void; +export function isForXStatement(node: object | null | undefined, opts?: object | null): node is ForXStatement; +export function assertForXStatement(node: object | null | undefined, opts?: object | null): void; +export function isFunction(node: object | null | undefined, opts?: object | null): node is Function; +export function assertFunction(node: object | null | undefined, opts?: object | null): void; +export function isFunctionDeclaration(node: object | null | undefined, opts?: object | null): node is FunctionDeclaration; +export function assertFunctionDeclaration(node: object | null | undefined, opts?: object | null): void; +export function isFunctionExpression(node: object | null | undefined, opts?: object | null): node is FunctionExpression; +export function assertFunctionExpression(node: object | null | undefined, opts?: object | null): void; +export function isFunctionParameter(node: object | null | undefined, opts?: object | null): node is FunctionParameter; +export function assertFunctionParameter(node: object | null | undefined, opts?: object | null): void; +export function isFunctionParent(node: object | null | undefined, opts?: object | null): node is FunctionParent; +export function assertFunctionParent(node: object | null | undefined, opts?: object | null): void; +export function isFunctionTypeAnnotation(node: object | null | undefined, opts?: object | null): node is FunctionTypeAnnotation; +export function assertFunctionTypeAnnotation(node: object | null | undefined, opts?: object | null): void; +export function isFunctionTypeParam(node: object | null | undefined, opts?: object | null): node is FunctionTypeParam; +export function assertFunctionTypeParam(node: object | null | undefined, opts?: object | null): void; +export function isGenericTypeAnnotation(node: object | null | undefined, opts?: object | null): node is GenericTypeAnnotation; +export function assertGenericTypeAnnotation(node: object | null | undefined, opts?: object | null): void; +export function isIdentifier(node: object | null | undefined, opts?: object | null): node is Identifier; +export function assertIdentifier(node: object | null | undefined, opts?: object | null): void; +export function isIfStatement(node: object | null | undefined, opts?: object | null): node is IfStatement; +export function assertIfStatement(node: object | null | undefined, opts?: object | null): void; +export function isImmutable(node: object | null | undefined, opts?: object | null): node is Immutable; +export function assertImmutable(node: object | null | undefined, opts?: object | null): void; +export function isImport(node: object | null | undefined, opts?: object | null): node is Import; +export function assertImport(node: object | null | undefined, opts?: object | null): void; +export function isImportAttribute(node: object | null | undefined, opts?: object | null): node is ImportAttribute; +export function assertImportAttribute(node: object | null | undefined, opts?: object | null): void; +export function isImportDeclaration(node: object | null | undefined, opts?: object | null): node is ImportDeclaration; +export function assertImportDeclaration(node: object | null | undefined, opts?: object | null): void; +export function isImportDefaultSpecifier(node: object | null | undefined, opts?: object | null): node is ImportDefaultSpecifier; +export function assertImportDefaultSpecifier(node: object | null | undefined, opts?: object | null): void; +export function isImportExpression(node: object | null | undefined, opts?: object | null): node is ImportExpression; +export function assertImportExpression(node: object | null | undefined, opts?: object | null): void; +export function isImportNamespaceSpecifier(node: object | null | undefined, opts?: object | null): node is ImportNamespaceSpecifier; +export function assertImportNamespaceSpecifier(node: object | null | undefined, opts?: object | null): void; +export function isImportOrExportDeclaration(node: object | null | undefined, opts?: object | null): node is ImportOrExportDeclaration; +export function assertImportOrExportDeclaration(node: object | null | undefined, opts?: object | null): void; +export function isImportSpecifier(node: object | null | undefined, opts?: object | null): node is ImportSpecifier; +export function assertImportSpecifier(node: object | null | undefined, opts?: object | null): void; +export function isIndexedAccessType(node: object | null | undefined, opts?: object | null): node is IndexedAccessType; +export function assertIndexedAccessType(node: object | null | undefined, opts?: object | null): void; +export function isInferredPredicate(node: object | null | undefined, opts?: object | null): node is InferredPredicate; +export function assertInferredPredicate(node: object | null | undefined, opts?: object | null): void; +export function isInterfaceDeclaration(node: object | null | undefined, opts?: object | null): node is InterfaceDeclaration; +export function assertInterfaceDeclaration(node: object | null | undefined, opts?: object | null): void; +export function isInterfaceExtends(node: object | null | undefined, opts?: object | null): node is InterfaceExtends; +export function assertInterfaceExtends(node: object | null | undefined, opts?: object | null): void; +export function isInterfaceTypeAnnotation(node: object | null | undefined, opts?: object | null): node is InterfaceTypeAnnotation; +export function assertInterfaceTypeAnnotation(node: object | null | undefined, opts?: object | null): void; +export function isInterpreterDirective(node: object | null | undefined, opts?: object | null): node is InterpreterDirective; +export function assertInterpreterDirective(node: object | null | undefined, opts?: object | null): void; +export function isIntersectionTypeAnnotation(node: object | null | undefined, opts?: object | null): node is IntersectionTypeAnnotation; +export function assertIntersectionTypeAnnotation(node: object | null | undefined, opts?: object | null): void; +export function isJSX(node: object | null | undefined, opts?: object | null): node is JSX; +export function assertJSX(node: object | null | undefined, opts?: object | null): void; +export function isJSXAttribute(node: object | null | undefined, opts?: object | null): node is JSXAttribute; +export function assertJSXAttribute(node: object | null | undefined, opts?: object | null): void; +export function isJSXClosingElement(node: object | null | undefined, opts?: object | null): node is JSXClosingElement; +export function assertJSXClosingElement(node: object | null | undefined, opts?: object | null): void; +export function isJSXClosingFragment(node: object | null | undefined, opts?: object | null): node is JSXClosingFragment; +export function assertJSXClosingFragment(node: object | null | undefined, opts?: object | null): void; +export function isJSXElement(node: object | null | undefined, opts?: object | null): node is JSXElement; +export function assertJSXElement(node: object | null | undefined, opts?: object | null): void; +export function isJSXEmptyExpression(node: object | null | undefined, opts?: object | null): node is JSXEmptyExpression; +export function assertJSXEmptyExpression(node: object | null | undefined, opts?: object | null): void; +export function isJSXExpressionContainer(node: object | null | undefined, opts?: object | null): node is JSXExpressionContainer; +export function assertJSXExpressionContainer(node: object | null | undefined, opts?: object | null): void; +export function isJSXFragment(node: object | null | undefined, opts?: object | null): node is JSXFragment; +export function assertJSXFragment(node: object | null | undefined, opts?: object | null): void; +export function isJSXIdentifier(node: object | null | undefined, opts?: object | null): node is JSXIdentifier; +export function assertJSXIdentifier(node: object | null | undefined, opts?: object | null): void; +export function isJSXMemberExpression(node: object | null | undefined, opts?: object | null): node is JSXMemberExpression; +export function assertJSXMemberExpression(node: object | null | undefined, opts?: object | null): void; +export function isJSXNamespacedName(node: object | null | undefined, opts?: object | null): node is JSXNamespacedName; +export function assertJSXNamespacedName(node: object | null | undefined, opts?: object | null): void; +export function isJSXOpeningElement(node: object | null | undefined, opts?: object | null): node is JSXOpeningElement; +export function assertJSXOpeningElement(node: object | null | undefined, opts?: object | null): void; +export function isJSXOpeningFragment(node: object | null | undefined, opts?: object | null): node is JSXOpeningFragment; +export function assertJSXOpeningFragment(node: object | null | undefined, opts?: object | null): void; +export function isJSXSpreadAttribute(node: object | null | undefined, opts?: object | null): node is JSXSpreadAttribute; +export function assertJSXSpreadAttribute(node: object | null | undefined, opts?: object | null): void; +export function isJSXSpreadChild(node: object | null | undefined, opts?: object | null): node is JSXSpreadChild; +export function assertJSXSpreadChild(node: object | null | undefined, opts?: object | null): void; +export function isJSXText(node: object | null | undefined, opts?: object | null): node is JSXText; +export function assertJSXText(node: object | null | undefined, opts?: object | null): void; +export function isLVal(node: object | null | undefined, opts?: object | null): node is LVal; +export function assertLVal(node: object | null | undefined, opts?: object | null): void; +export function isLabeledStatement(node: object | null | undefined, opts?: object | null): node is LabeledStatement; +export function assertLabeledStatement(node: object | null | undefined, opts?: object | null): void; +export function isLiteral(node: object | null | undefined, opts?: object | null): node is Literal; +export function assertLiteral(node: object | null | undefined, opts?: object | null): void; +export function isLogicalExpression(node: object | null | undefined, opts?: object | null): node is LogicalExpression; +export function assertLogicalExpression(node: object | null | undefined, opts?: object | null): void; +export function isLoop(node: object | null | undefined, opts?: object | null): node is Loop; +export function assertLoop(node: object | null | undefined, opts?: object | null): void; +export function isMemberExpression(node: object | null | undefined, opts?: object | null): node is MemberExpression; +export function assertMemberExpression(node: object | null | undefined, opts?: object | null): void; +export function isMetaProperty(node: object | null | undefined, opts?: object | null): node is MetaProperty; +export function assertMetaProperty(node: object | null | undefined, opts?: object | null): void; +export function isMethod(node: object | null | undefined, opts?: object | null): node is Method; +export function assertMethod(node: object | null | undefined, opts?: object | null): void; +export function isMiscellaneous(node: object | null | undefined, opts?: object | null): node is Miscellaneous; +export function assertMiscellaneous(node: object | null | undefined, opts?: object | null): void; +export function isMixedTypeAnnotation(node: object | null | undefined, opts?: object | null): node is MixedTypeAnnotation; +export function assertMixedTypeAnnotation(node: object | null | undefined, opts?: object | null): void; +export function isModuleDeclaration(node: object | null | undefined, opts?: object | null): node is ModuleDeclaration; +export function assertModuleDeclaration(node: object | null | undefined, opts?: object | null): void; +export function isModuleExpression(node: object | null | undefined, opts?: object | null): node is ModuleExpression; +export function assertModuleExpression(node: object | null | undefined, opts?: object | null): void; +export function isModuleSpecifier(node: object | null | undefined, opts?: object | null): node is ModuleSpecifier; +export function assertModuleSpecifier(node: object | null | undefined, opts?: object | null): void; +export function isNewExpression(node: object | null | undefined, opts?: object | null): node is NewExpression; +export function assertNewExpression(node: object | null | undefined, opts?: object | null): void; +export function isNoop(node: object | null | undefined, opts?: object | null): node is Noop; +export function assertNoop(node: object | null | undefined, opts?: object | null): void; +export function isNullLiteral(node: object | null | undefined, opts?: object | null): node is NullLiteral; +export function assertNullLiteral(node: object | null | undefined, opts?: object | null): void; +export function isNullLiteralTypeAnnotation(node: object | null | undefined, opts?: object | null): node is NullLiteralTypeAnnotation; +export function assertNullLiteralTypeAnnotation(node: object | null | undefined, opts?: object | null): void; +export function isNullableTypeAnnotation(node: object | null | undefined, opts?: object | null): node is NullableTypeAnnotation; +export function assertNullableTypeAnnotation(node: object | null | undefined, opts?: object | null): void; +/** @deprecated Use `isNumericLiteral` */ +export function isNumberLiteral(node: object | null | undefined, opts?: object | null): node is NumericLiteral; +/** @deprecated Use `assertNumericLiteral` */ +export function assertNumberLiteral(node: object | null | undefined, opts?: object | null): void; +export function isNumberLiteralTypeAnnotation(node: object | null | undefined, opts?: object | null): node is NumberLiteralTypeAnnotation; +export function assertNumberLiteralTypeAnnotation(node: object | null | undefined, opts?: object | null): void; +export function isNumberTypeAnnotation(node: object | null | undefined, opts?: object | null): node is NumberTypeAnnotation; +export function assertNumberTypeAnnotation(node: object | null | undefined, opts?: object | null): void; +export function isNumericLiteral(node: object | null | undefined, opts?: object | null): node is NumericLiteral; +export function assertNumericLiteral(node: object | null | undefined, opts?: object | null): void; +export function isObjectExpression(node: object | null | undefined, opts?: object | null): node is ObjectExpression; +export function assertObjectExpression(node: object | null | undefined, opts?: object | null): void; +export function isObjectMember(node: object | null | undefined, opts?: object | null): node is ObjectMember; +export function assertObjectMember(node: object | null | undefined, opts?: object | null): void; +export function isObjectMethod(node: object | null | undefined, opts?: object | null): node is ObjectMethod; +export function assertObjectMethod(node: object | null | undefined, opts?: object | null): void; +export function isObjectPattern(node: object | null | undefined, opts?: object | null): node is ObjectPattern; +export function assertObjectPattern(node: object | null | undefined, opts?: object | null): void; +export function isObjectProperty(node: object | null | undefined, opts?: object | null): node is ObjectProperty; +export function assertObjectProperty(node: object | null | undefined, opts?: object | null): void; +export function isObjectTypeAnnotation(node: object | null | undefined, opts?: object | null): node is ObjectTypeAnnotation; +export function assertObjectTypeAnnotation(node: object | null | undefined, opts?: object | null): void; +export function isObjectTypeCallProperty(node: object | null | undefined, opts?: object | null): node is ObjectTypeCallProperty; +export function assertObjectTypeCallProperty(node: object | null | undefined, opts?: object | null): void; +export function isObjectTypeIndexer(node: object | null | undefined, opts?: object | null): node is ObjectTypeIndexer; +export function assertObjectTypeIndexer(node: object | null | undefined, opts?: object | null): void; +export function isObjectTypeInternalSlot(node: object | null | undefined, opts?: object | null): node is ObjectTypeInternalSlot; +export function assertObjectTypeInternalSlot(node: object | null | undefined, opts?: object | null): void; +export function isObjectTypeProperty(node: object | null | undefined, opts?: object | null): node is ObjectTypeProperty; +export function assertObjectTypeProperty(node: object | null | undefined, opts?: object | null): void; +export function isObjectTypeSpreadProperty(node: object | null | undefined, opts?: object | null): node is ObjectTypeSpreadProperty; +export function assertObjectTypeSpreadProperty(node: object | null | undefined, opts?: object | null): void; +export function isOpaqueType(node: object | null | undefined, opts?: object | null): node is OpaqueType; +export function assertOpaqueType(node: object | null | undefined, opts?: object | null): void; +export function isOptionalCallExpression(node: object | null | undefined, opts?: object | null): node is OptionalCallExpression; +export function assertOptionalCallExpression(node: object | null | undefined, opts?: object | null): void; +export function isOptionalIndexedAccessType(node: object | null | undefined, opts?: object | null): node is OptionalIndexedAccessType; +export function assertOptionalIndexedAccessType(node: object | null | undefined, opts?: object | null): void; +export function isOptionalMemberExpression(node: object | null | undefined, opts?: object | null): node is OptionalMemberExpression; +export function assertOptionalMemberExpression(node: object | null | undefined, opts?: object | null): void; +export function isParenthesizedExpression(node: object | null | undefined, opts?: object | null): node is ParenthesizedExpression; +export function assertParenthesizedExpression(node: object | null | undefined, opts?: object | null): void; +export function isPattern(node: object | null | undefined, opts?: object | null): node is Pattern; +export function assertPattern(node: object | null | undefined, opts?: object | null): void; +export function isPatternLike(node: object | null | undefined, opts?: object | null): node is PatternLike; +export function assertPatternLike(node: object | null | undefined, opts?: object | null): void; +export function isPipelineBareFunction(node: object | null | undefined, opts?: object | null): node is PipelineBareFunction; +export function assertPipelineBareFunction(node: object | null | undefined, opts?: object | null): void; +export function isPipelinePrimaryTopicReference(node: object | null | undefined, opts?: object | null): node is PipelinePrimaryTopicReference; +export function assertPipelinePrimaryTopicReference(node: object | null | undefined, opts?: object | null): void; +export function isPipelineTopicExpression(node: object | null | undefined, opts?: object | null): node is PipelineTopicExpression; +export function assertPipelineTopicExpression(node: object | null | undefined, opts?: object | null): void; +export function isPlaceholder(node: object | null | undefined, opts?: object | null): node is Placeholder; +export function assertPlaceholder(node: object | null | undefined, opts?: object | null): void; +export function isPrivate(node: object | null | undefined, opts?: object | null): node is Private; +export function assertPrivate(node: object | null | undefined, opts?: object | null): void; +export function isPrivateName(node: object | null | undefined, opts?: object | null): node is PrivateName; +export function assertPrivateName(node: object | null | undefined, opts?: object | null): void; +export function isProgram(node: object | null | undefined, opts?: object | null): node is Program; +export function assertProgram(node: object | null | undefined, opts?: object | null): void; +export function isProperty(node: object | null | undefined, opts?: object | null): node is Property; +export function assertProperty(node: object | null | undefined, opts?: object | null): void; +export function isPureish(node: object | null | undefined, opts?: object | null): node is Pureish; +export function assertPureish(node: object | null | undefined, opts?: object | null): void; +export function isQualifiedTypeIdentifier(node: object | null | undefined, opts?: object | null): node is QualifiedTypeIdentifier; +export function assertQualifiedTypeIdentifier(node: object | null | undefined, opts?: object | null): void; +export function isRecordExpression(node: object | null | undefined, opts?: object | null): node is RecordExpression; +export function assertRecordExpression(node: object | null | undefined, opts?: object | null): void; +export function isRegExpLiteral(node: object | null | undefined, opts?: object | null): node is RegExpLiteral; +export function assertRegExpLiteral(node: object | null | undefined, opts?: object | null): void; +/** @deprecated Use `isRegExpLiteral` */ +export function isRegexLiteral(node: object | null | undefined, opts?: object | null): node is RegExpLiteral; +/** @deprecated Use `assertRegExpLiteral` */ +export function assertRegexLiteral(node: object | null | undefined, opts?: object | null): void; +export function isRestElement(node: object | null | undefined, opts?: object | null): node is RestElement; +export function assertRestElement(node: object | null | undefined, opts?: object | null): void; +/** @deprecated Use `isRestElement` */ +export function isRestProperty(node: object | null | undefined, opts?: object | null): node is RestElement; +/** @deprecated Use `assertRestElement` */ +export function assertRestProperty(node: object | null | undefined, opts?: object | null): void; +export function isReturnStatement(node: object | null | undefined, opts?: object | null): node is ReturnStatement; +export function assertReturnStatement(node: object | null | undefined, opts?: object | null): void; +export function isScopable(node: object | null | undefined, opts?: object | null): node is Scopable; +export function assertScopable(node: object | null | undefined, opts?: object | null): void; +export function isSequenceExpression(node: object | null | undefined, opts?: object | null): node is SequenceExpression; +export function assertSequenceExpression(node: object | null | undefined, opts?: object | null): void; +export function isSpreadElement(node: object | null | undefined, opts?: object | null): node is SpreadElement; +export function assertSpreadElement(node: object | null | undefined, opts?: object | null): void; +/** @deprecated Use `isSpreadElement` */ +export function isSpreadProperty(node: object | null | undefined, opts?: object | null): node is SpreadElement; +/** @deprecated Use `assertSpreadElement` */ +export function assertSpreadProperty(node: object | null | undefined, opts?: object | null): void; +export function isStandardized(node: object | null | undefined, opts?: object | null): node is Standardized; +export function assertStandardized(node: object | null | undefined, opts?: object | null): void; +export function isStatement(node: object | null | undefined, opts?: object | null): node is Statement; +export function assertStatement(node: object | null | undefined, opts?: object | null): void; +export function isStaticBlock(node: object | null | undefined, opts?: object | null): node is StaticBlock; +export function assertStaticBlock(node: object | null | undefined, opts?: object | null): void; +export function isStringLiteral(node: object | null | undefined, opts?: object | null): node is StringLiteral; +export function assertStringLiteral(node: object | null | undefined, opts?: object | null): void; +export function isStringLiteralTypeAnnotation(node: object | null | undefined, opts?: object | null): node is StringLiteralTypeAnnotation; +export function assertStringLiteralTypeAnnotation(node: object | null | undefined, opts?: object | null): void; +export function isStringTypeAnnotation(node: object | null | undefined, opts?: object | null): node is StringTypeAnnotation; +export function assertStringTypeAnnotation(node: object | null | undefined, opts?: object | null): void; +export function isSuper(node: object | null | undefined, opts?: object | null): node is Super; +export function assertSuper(node: object | null | undefined, opts?: object | null): void; +export function isSwitchCase(node: object | null | undefined, opts?: object | null): node is SwitchCase; +export function assertSwitchCase(node: object | null | undefined, opts?: object | null): void; +export function isSwitchStatement(node: object | null | undefined, opts?: object | null): node is SwitchStatement; +export function assertSwitchStatement(node: object | null | undefined, opts?: object | null): void; +export function isSymbolTypeAnnotation(node: object | null | undefined, opts?: object | null): node is SymbolTypeAnnotation; +export function assertSymbolTypeAnnotation(node: object | null | undefined, opts?: object | null): void; +export function isTSAnyKeyword(node: object | null | undefined, opts?: object | null): node is TSAnyKeyword; +export function assertTSAnyKeyword(node: object | null | undefined, opts?: object | null): void; +export function isTSArrayType(node: object | null | undefined, opts?: object | null): node is TSArrayType; +export function assertTSArrayType(node: object | null | undefined, opts?: object | null): void; +export function isTSAsExpression(node: object | null | undefined, opts?: object | null): node is TSAsExpression; +export function assertTSAsExpression(node: object | null | undefined, opts?: object | null): void; +export function isTSBaseType(node: object | null | undefined, opts?: object | null): node is TSBaseType; +export function assertTSBaseType(node: object | null | undefined, opts?: object | null): void; +export function isTSBigIntKeyword(node: object | null | undefined, opts?: object | null): node is TSBigIntKeyword; +export function assertTSBigIntKeyword(node: object | null | undefined, opts?: object | null): void; +export function isTSBooleanKeyword(node: object | null | undefined, opts?: object | null): node is TSBooleanKeyword; +export function assertTSBooleanKeyword(node: object | null | undefined, opts?: object | null): void; +export function isTSCallSignatureDeclaration(node: object | null | undefined, opts?: object | null): node is TSCallSignatureDeclaration; +export function assertTSCallSignatureDeclaration(node: object | null | undefined, opts?: object | null): void; +export function isTSConditionalType(node: object | null | undefined, opts?: object | null): node is TSConditionalType; +export function assertTSConditionalType(node: object | null | undefined, opts?: object | null): void; +export function isTSConstructSignatureDeclaration(node: object | null | undefined, opts?: object | null): node is TSConstructSignatureDeclaration; +export function assertTSConstructSignatureDeclaration(node: object | null | undefined, opts?: object | null): void; +export function isTSConstructorType(node: object | null | undefined, opts?: object | null): node is TSConstructorType; +export function assertTSConstructorType(node: object | null | undefined, opts?: object | null): void; +export function isTSDeclareFunction(node: object | null | undefined, opts?: object | null): node is TSDeclareFunction; +export function assertTSDeclareFunction(node: object | null | undefined, opts?: object | null): void; +export function isTSDeclareMethod(node: object | null | undefined, opts?: object | null): node is TSDeclareMethod; +export function assertTSDeclareMethod(node: object | null | undefined, opts?: object | null): void; +export function isTSEntityName(node: object | null | undefined, opts?: object | null): node is TSEntityName; +export function assertTSEntityName(node: object | null | undefined, opts?: object | null): void; +export function isTSEnumBody(node: object | null | undefined, opts?: object | null): node is TSEnumBody; +export function assertTSEnumBody(node: object | null | undefined, opts?: object | null): void; +export function isTSEnumDeclaration(node: object | null | undefined, opts?: object | null): node is TSEnumDeclaration; +export function assertTSEnumDeclaration(node: object | null | undefined, opts?: object | null): void; +export function isTSEnumMember(node: object | null | undefined, opts?: object | null): node is TSEnumMember; +export function assertTSEnumMember(node: object | null | undefined, opts?: object | null): void; +export function isTSExportAssignment(node: object | null | undefined, opts?: object | null): node is TSExportAssignment; +export function assertTSExportAssignment(node: object | null | undefined, opts?: object | null): void; +export function isTSExpressionWithTypeArguments(node: object | null | undefined, opts?: object | null): node is TSExpressionWithTypeArguments; +export function assertTSExpressionWithTypeArguments(node: object | null | undefined, opts?: object | null): void; +export function isTSExternalModuleReference(node: object | null | undefined, opts?: object | null): node is TSExternalModuleReference; +export function assertTSExternalModuleReference(node: object | null | undefined, opts?: object | null): void; +export function isTSFunctionType(node: object | null | undefined, opts?: object | null): node is TSFunctionType; +export function assertTSFunctionType(node: object | null | undefined, opts?: object | null): void; +export function isTSImportEqualsDeclaration(node: object | null | undefined, opts?: object | null): node is TSImportEqualsDeclaration; +export function assertTSImportEqualsDeclaration(node: object | null | undefined, opts?: object | null): void; +export function isTSImportType(node: object | null | undefined, opts?: object | null): node is TSImportType; +export function assertTSImportType(node: object | null | undefined, opts?: object | null): void; +export function isTSIndexSignature(node: object | null | undefined, opts?: object | null): node is TSIndexSignature; +export function assertTSIndexSignature(node: object | null | undefined, opts?: object | null): void; +export function isTSIndexedAccessType(node: object | null | undefined, opts?: object | null): node is TSIndexedAccessType; +export function assertTSIndexedAccessType(node: object | null | undefined, opts?: object | null): void; +export function isTSInferType(node: object | null | undefined, opts?: object | null): node is TSInferType; +export function assertTSInferType(node: object | null | undefined, opts?: object | null): void; +export function isTSInstantiationExpression(node: object | null | undefined, opts?: object | null): node is TSInstantiationExpression; +export function assertTSInstantiationExpression(node: object | null | undefined, opts?: object | null): void; +export function isTSInterfaceBody(node: object | null | undefined, opts?: object | null): node is TSInterfaceBody; +export function assertTSInterfaceBody(node: object | null | undefined, opts?: object | null): void; +export function isTSInterfaceDeclaration(node: object | null | undefined, opts?: object | null): node is TSInterfaceDeclaration; +export function assertTSInterfaceDeclaration(node: object | null | undefined, opts?: object | null): void; +export function isTSIntersectionType(node: object | null | undefined, opts?: object | null): node is TSIntersectionType; +export function assertTSIntersectionType(node: object | null | undefined, opts?: object | null): void; +export function isTSIntrinsicKeyword(node: object | null | undefined, opts?: object | null): node is TSIntrinsicKeyword; +export function assertTSIntrinsicKeyword(node: object | null | undefined, opts?: object | null): void; +export function isTSLiteralType(node: object | null | undefined, opts?: object | null): node is TSLiteralType; +export function assertTSLiteralType(node: object | null | undefined, opts?: object | null): void; +export function isTSMappedType(node: object | null | undefined, opts?: object | null): node is TSMappedType; +export function assertTSMappedType(node: object | null | undefined, opts?: object | null): void; +export function isTSMethodSignature(node: object | null | undefined, opts?: object | null): node is TSMethodSignature; +export function assertTSMethodSignature(node: object | null | undefined, opts?: object | null): void; +export function isTSModuleBlock(node: object | null | undefined, opts?: object | null): node is TSModuleBlock; +export function assertTSModuleBlock(node: object | null | undefined, opts?: object | null): void; +export function isTSModuleDeclaration(node: object | null | undefined, opts?: object | null): node is TSModuleDeclaration; +export function assertTSModuleDeclaration(node: object | null | undefined, opts?: object | null): void; +export function isTSNamedTupleMember(node: object | null | undefined, opts?: object | null): node is TSNamedTupleMember; +export function assertTSNamedTupleMember(node: object | null | undefined, opts?: object | null): void; +export function isTSNamespaceExportDeclaration(node: object | null | undefined, opts?: object | null): node is TSNamespaceExportDeclaration; +export function assertTSNamespaceExportDeclaration(node: object | null | undefined, opts?: object | null): void; +export function isTSNeverKeyword(node: object | null | undefined, opts?: object | null): node is TSNeverKeyword; +export function assertTSNeverKeyword(node: object | null | undefined, opts?: object | null): void; +export function isTSNonNullExpression(node: object | null | undefined, opts?: object | null): node is TSNonNullExpression; +export function assertTSNonNullExpression(node: object | null | undefined, opts?: object | null): void; +export function isTSNullKeyword(node: object | null | undefined, opts?: object | null): node is TSNullKeyword; +export function assertTSNullKeyword(node: object | null | undefined, opts?: object | null): void; +export function isTSNumberKeyword(node: object | null | undefined, opts?: object | null): node is TSNumberKeyword; +export function assertTSNumberKeyword(node: object | null | undefined, opts?: object | null): void; +export function isTSObjectKeyword(node: object | null | undefined, opts?: object | null): node is TSObjectKeyword; +export function assertTSObjectKeyword(node: object | null | undefined, opts?: object | null): void; +export function isTSOptionalType(node: object | null | undefined, opts?: object | null): node is TSOptionalType; +export function assertTSOptionalType(node: object | null | undefined, opts?: object | null): void; +export function isTSParameterProperty(node: object | null | undefined, opts?: object | null): node is TSParameterProperty; +export function assertTSParameterProperty(node: object | null | undefined, opts?: object | null): void; +export function isTSParenthesizedType(node: object | null | undefined, opts?: object | null): node is TSParenthesizedType; +export function assertTSParenthesizedType(node: object | null | undefined, opts?: object | null): void; +export function isTSPropertySignature(node: object | null | undefined, opts?: object | null): node is TSPropertySignature; +export function assertTSPropertySignature(node: object | null | undefined, opts?: object | null): void; +export function isTSQualifiedName(node: object | null | undefined, opts?: object | null): node is TSQualifiedName; +export function assertTSQualifiedName(node: object | null | undefined, opts?: object | null): void; +export function isTSRestType(node: object | null | undefined, opts?: object | null): node is TSRestType; +export function assertTSRestType(node: object | null | undefined, opts?: object | null): void; +export function isTSSatisfiesExpression(node: object | null | undefined, opts?: object | null): node is TSSatisfiesExpression; +export function assertTSSatisfiesExpression(node: object | null | undefined, opts?: object | null): void; +export function isTSStringKeyword(node: object | null | undefined, opts?: object | null): node is TSStringKeyword; +export function assertTSStringKeyword(node: object | null | undefined, opts?: object | null): void; +export function isTSSymbolKeyword(node: object | null | undefined, opts?: object | null): node is TSSymbolKeyword; +export function assertTSSymbolKeyword(node: object | null | undefined, opts?: object | null): void; +export function isTSTemplateLiteralType(node: object | null | undefined, opts?: object | null): node is TSTemplateLiteralType; +export function assertTSTemplateLiteralType(node: object | null | undefined, opts?: object | null): void; +export function isTSThisType(node: object | null | undefined, opts?: object | null): node is TSThisType; +export function assertTSThisType(node: object | null | undefined, opts?: object | null): void; +export function isTSTupleType(node: object | null | undefined, opts?: object | null): node is TSTupleType; +export function assertTSTupleType(node: object | null | undefined, opts?: object | null): void; +export function isTSType(node: object | null | undefined, opts?: object | null): node is TSType; +export function assertTSType(node: object | null | undefined, opts?: object | null): void; +export function isTSTypeAliasDeclaration(node: object | null | undefined, opts?: object | null): node is TSTypeAliasDeclaration; +export function assertTSTypeAliasDeclaration(node: object | null | undefined, opts?: object | null): void; +export function isTSTypeAnnotation(node: object | null | undefined, opts?: object | null): node is TSTypeAnnotation; +export function assertTSTypeAnnotation(node: object | null | undefined, opts?: object | null): void; +export function isTSTypeAssertion(node: object | null | undefined, opts?: object | null): node is TSTypeAssertion; +export function assertTSTypeAssertion(node: object | null | undefined, opts?: object | null): void; +export function isTSTypeElement(node: object | null | undefined, opts?: object | null): node is TSTypeElement; +export function assertTSTypeElement(node: object | null | undefined, opts?: object | null): void; +export function isTSTypeLiteral(node: object | null | undefined, opts?: object | null): node is TSTypeLiteral; +export function assertTSTypeLiteral(node: object | null | undefined, opts?: object | null): void; +export function isTSTypeOperator(node: object | null | undefined, opts?: object | null): node is TSTypeOperator; +export function assertTSTypeOperator(node: object | null | undefined, opts?: object | null): void; +export function isTSTypeParameter(node: object | null | undefined, opts?: object | null): node is TSTypeParameter; +export function assertTSTypeParameter(node: object | null | undefined, opts?: object | null): void; +export function isTSTypeParameterDeclaration(node: object | null | undefined, opts?: object | null): node is TSTypeParameterDeclaration; +export function assertTSTypeParameterDeclaration(node: object | null | undefined, opts?: object | null): void; +export function isTSTypeParameterInstantiation(node: object | null | undefined, opts?: object | null): node is TSTypeParameterInstantiation; +export function assertTSTypeParameterInstantiation(node: object | null | undefined, opts?: object | null): void; +export function isTSTypePredicate(node: object | null | undefined, opts?: object | null): node is TSTypePredicate; +export function assertTSTypePredicate(node: object | null | undefined, opts?: object | null): void; +export function isTSTypeQuery(node: object | null | undefined, opts?: object | null): node is TSTypeQuery; +export function assertTSTypeQuery(node: object | null | undefined, opts?: object | null): void; +export function isTSTypeReference(node: object | null | undefined, opts?: object | null): node is TSTypeReference; +export function assertTSTypeReference(node: object | null | undefined, opts?: object | null): void; +export function isTSUndefinedKeyword(node: object | null | undefined, opts?: object | null): node is TSUndefinedKeyword; +export function assertTSUndefinedKeyword(node: object | null | undefined, opts?: object | null): void; +export function isTSUnionType(node: object | null | undefined, opts?: object | null): node is TSUnionType; +export function assertTSUnionType(node: object | null | undefined, opts?: object | null): void; +export function isTSUnknownKeyword(node: object | null | undefined, opts?: object | null): node is TSUnknownKeyword; +export function assertTSUnknownKeyword(node: object | null | undefined, opts?: object | null): void; +export function isTSVoidKeyword(node: object | null | undefined, opts?: object | null): node is TSVoidKeyword; +export function assertTSVoidKeyword(node: object | null | undefined, opts?: object | null): void; +export function isTaggedTemplateExpression(node: object | null | undefined, opts?: object | null): node is TaggedTemplateExpression; +export function assertTaggedTemplateExpression(node: object | null | undefined, opts?: object | null): void; +export function isTemplateElement(node: object | null | undefined, opts?: object | null): node is TemplateElement; +export function assertTemplateElement(node: object | null | undefined, opts?: object | null): void; +export function isTemplateLiteral(node: object | null | undefined, opts?: object | null): node is TemplateLiteral; +export function assertTemplateLiteral(node: object | null | undefined, opts?: object | null): void; +export function isTerminatorless(node: object | null | undefined, opts?: object | null): node is Terminatorless; +export function assertTerminatorless(node: object | null | undefined, opts?: object | null): void; +export function isThisExpression(node: object | null | undefined, opts?: object | null): node is ThisExpression; +export function assertThisExpression(node: object | null | undefined, opts?: object | null): void; +export function isThisTypeAnnotation(node: object | null | undefined, opts?: object | null): node is ThisTypeAnnotation; +export function assertThisTypeAnnotation(node: object | null | undefined, opts?: object | null): void; +export function isThrowStatement(node: object | null | undefined, opts?: object | null): node is ThrowStatement; +export function assertThrowStatement(node: object | null | undefined, opts?: object | null): void; +export function isTopicReference(node: object | null | undefined, opts?: object | null): node is TopicReference; +export function assertTopicReference(node: object | null | undefined, opts?: object | null): void; +export function isTryStatement(node: object | null | undefined, opts?: object | null): node is TryStatement; +export function assertTryStatement(node: object | null | undefined, opts?: object | null): void; +export function isTupleExpression(node: object | null | undefined, opts?: object | null): node is TupleExpression; +export function assertTupleExpression(node: object | null | undefined, opts?: object | null): void; +export function isTupleTypeAnnotation(node: object | null | undefined, opts?: object | null): node is TupleTypeAnnotation; +export function assertTupleTypeAnnotation(node: object | null | undefined, opts?: object | null): void; +export function isTypeAlias(node: object | null | undefined, opts?: object | null): node is TypeAlias; +export function assertTypeAlias(node: object | null | undefined, opts?: object | null): void; +export function isTypeAnnotation(node: object | null | undefined, opts?: object | null): node is TypeAnnotation; +export function assertTypeAnnotation(node: object | null | undefined, opts?: object | null): void; +export function isTypeCastExpression(node: object | null | undefined, opts?: object | null): node is TypeCastExpression; +export function assertTypeCastExpression(node: object | null | undefined, opts?: object | null): void; +export function isTypeParameter(node: object | null | undefined, opts?: object | null): node is TypeParameter; +export function assertTypeParameter(node: object | null | undefined, opts?: object | null): void; +export function isTypeParameterDeclaration(node: object | null | undefined, opts?: object | null): node is TypeParameterDeclaration; +export function assertTypeParameterDeclaration(node: object | null | undefined, opts?: object | null): void; +export function isTypeParameterInstantiation(node: object | null | undefined, opts?: object | null): node is TypeParameterInstantiation; +export function assertTypeParameterInstantiation(node: object | null | undefined, opts?: object | null): void; +export function isTypeScript(node: object | null | undefined, opts?: object | null): node is TypeScript; +export function assertTypeScript(node: object | null | undefined, opts?: object | null): void; +export function isTypeofTypeAnnotation(node: object | null | undefined, opts?: object | null): node is TypeofTypeAnnotation; +export function assertTypeofTypeAnnotation(node: object | null | undefined, opts?: object | null): void; +export function isUnaryExpression(node: object | null | undefined, opts?: object | null): node is UnaryExpression; +export function assertUnaryExpression(node: object | null | undefined, opts?: object | null): void; +export function isUnaryLike(node: object | null | undefined, opts?: object | null): node is UnaryLike; +export function assertUnaryLike(node: object | null | undefined, opts?: object | null): void; +export function isUnionTypeAnnotation(node: object | null | undefined, opts?: object | null): node is UnionTypeAnnotation; +export function assertUnionTypeAnnotation(node: object | null | undefined, opts?: object | null): void; +export function isUpdateExpression(node: object | null | undefined, opts?: object | null): node is UpdateExpression; +export function assertUpdateExpression(node: object | null | undefined, opts?: object | null): void; +export function isUserWhitespacable(node: object | null | undefined, opts?: object | null): node is UserWhitespacable; +export function assertUserWhitespacable(node: object | null | undefined, opts?: object | null): void; +export function isV8IntrinsicIdentifier(node: object | null | undefined, opts?: object | null): node is V8IntrinsicIdentifier; +export function assertV8IntrinsicIdentifier(node: object | null | undefined, opts?: object | null): void; +export function isVariableDeclaration(node: object | null | undefined, opts?: object | null): node is VariableDeclaration; +export function assertVariableDeclaration(node: object | null | undefined, opts?: object | null): void; +export function isVariableDeclarator(node: object | null | undefined, opts?: object | null): node is VariableDeclarator; +export function assertVariableDeclarator(node: object | null | undefined, opts?: object | null): void; +export function isVariance(node: object | null | undefined, opts?: object | null): node is Variance; +export function assertVariance(node: object | null | undefined, opts?: object | null): void; +export function isVoidPattern(node: object | null | undefined, opts?: object | null): node is VoidPattern; +export function assertVoidPattern(node: object | null | undefined, opts?: object | null): void; +export function isVoidTypeAnnotation(node: object | null | undefined, opts?: object | null): node is VoidTypeAnnotation; +export function assertVoidTypeAnnotation(node: object | null | undefined, opts?: object | null): void; +export function isWhile(node: object | null | undefined, opts?: object | null): node is While; +export function assertWhile(node: object | null | undefined, opts?: object | null): void; +export function isWhileStatement(node: object | null | undefined, opts?: object | null): node is WhileStatement; +export function assertWhileStatement(node: object | null | undefined, opts?: object | null): void; +export function isWithStatement(node: object | null | undefined, opts?: object | null): node is WithStatement; +export function assertWithStatement(node: object | null | undefined, opts?: object | null): void; +export function isYieldExpression(node: object | null | undefined, opts?: object | null): node is YieldExpression; +export function assertYieldExpression(node: object | null | undefined, opts?: object | null): void; +export function assertNode(obj: any): void +export function createTypeAnnotationBasedOnTypeof(type: 'string' | 'number' | 'undefined' | 'boolean' | 'function' | 'object' | 'symbol'): StringTypeAnnotation | VoidTypeAnnotation | NumberTypeAnnotation | BooleanTypeAnnotation | GenericTypeAnnotation +export function createUnionTypeAnnotation(types: [T]): T +export function createFlowUnionType(types: [T]): T +export function createUnionTypeAnnotation(types: ReadonlyArray): UnionTypeAnnotation +export function createFlowUnionType(types: ReadonlyArray): UnionTypeAnnotation +export function buildChildren(node: { children: ReadonlyArray }): JSXElement['children'] +export function clone(n: T): T; +export function cloneDeep(n: T): T; +export function cloneDeepWithoutLoc(n: T): T; +export function cloneNode(n: T, deep?: boolean, withoutLoc?: boolean): T; +export function cloneWithoutLoc(n: T): T; +export type CommentTypeShorthand = 'leading' | 'inner' | 'trailing' +export function addComment(node: T, type: CommentTypeShorthand, content: string, line?: boolean): T +export function addComments(node: T, type: CommentTypeShorthand, comments: ReadonlyArray): T +export function inheritInnerComments(node: Node, parent: Node): void +export function inheritLeadingComments(node: Node, parent: Node): void +export function inheritsComments(node: T, parent: Node): void +export function inheritTrailingComments(node: Node, parent: Node): void +export function removeComments(node: T): T +export function ensureBlock(node: Extract): BlockStatement +export function ensureBlock = 'body'>(node: Extract>, key: K): BlockStatement +export function toBindingIdentifierName(name: { toString(): string } | null | undefined): string +export function toBlock(node: Statement | Expression, parent?: Function | null): BlockStatement +export function toComputedKey>(node: T, key?: Expression | Identifier): Expression +export function toExpression(node: Function): FunctionExpression +export function toExpression(node: Class): ClassExpression +export function toExpression(node: ExpressionStatement | Expression | Class | Function): Expression +export function toIdentifier(name: { toString(): string } | null | undefined): string +export function toKeyAlias(node: Method | Property, key?: Node): string +export function toSequenceExpression(nodes: ReadonlyArray, scope: { push(value: { id: LVal; kind: 'var'; init?: Expression}): void; buildUndefinedNode(): Node }): SequenceExpression | undefined +export function toStatement(node: AssignmentExpression, ignore?: boolean): ExpressionStatement +export function toStatement(node: Statement | AssignmentExpression, ignore?: boolean): Statement +export function toStatement(node: Class, ignore: true): ClassDeclaration | undefined +export function toStatement(node: Class, ignore?: boolean): ClassDeclaration +export function toStatement(node: Function, ignore: true): FunctionDeclaration | undefined +export function toStatement(node: Function, ignore?: boolean): FunctionDeclaration +export function toStatement(node: Statement | Class | Function | AssignmentExpression, ignore: true): Statement | undefined +export function toStatement(node: Statement | Class | Function | AssignmentExpression, ignore?: boolean): Statement +export function valueToNode(value: undefined): Identifier +export function valueToNode(value: boolean): BooleanLiteral +export function valueToNode(value: null): NullLiteral +export function valueToNode(value: string): StringLiteral +export function valueToNode(value: number): NumericLiteral | BinaryExpression | UnaryExpression +export function valueToNode(value: RegExp): RegExpLiteral +export function valueToNode(value: ReadonlyArray): ArrayExpression +export function valueToNode(value: object): ObjectExpression +export function valueToNode(value: undefined | boolean | null | string | number | RegExp | object): Expression +export function removeTypeDuplicates(types: ReadonlyArray): FlowType[] +export function appendToMemberExpression>(member: T, append: MemberExpression['property'], computed?: boolean): T +export function inherits(child: T, parent: Node | null | undefined): T +export function prependToMemberExpression>(member: T, prepend: MemberExpression['object']): T +export function removeProperties( + n: Node, + opts?: { preserveComments: boolean } | null +): void; +export function removePropertiesDeep( + n: T, + opts?: { preserveComments: boolean } | null +): T; +export function getBindingIdentifiers(node: Node, duplicates: true, outerOnly?: boolean): Record> +export function getBindingIdentifiers(node: Node, duplicates?: false, outerOnly?: boolean): Record +export function getBindingIdentifiers(node: Node, duplicates: boolean, outerOnly?: boolean): Record> +export function getOuterBindingIdentifiers(node: Node, duplicates: true): Record> +export function getOuterBindingIdentifiers(node: Node, duplicates?: false): Record +export function getOuterBindingIdentifiers(node: Node, duplicates: boolean): Record> +export type TraversalAncestors = ReadonlyArray<{ + node: Node, + key: string, + index?: number, +}>; +export type TraversalHandler = ( + this: undefined, node: Node, parent: TraversalAncestors, type: T +) => void; +export type TraversalHandlers = { + enter?: TraversalHandler, + exit?: TraversalHandler, +}; +export function traverse(n: Node, h: TraversalHandler | TraversalHandlers, state?: T): void; +export function traverseFast(n: Node, h: TraversalHandler, state?: T): void; +export function shallowEqual(actual: object, expected: T): actual is T +export function buildMatchMemberExpression(match: string, allowPartial?: boolean): (node: Node | null | undefined) => node is MemberExpression +export function is(type: T, n: Node | null | undefined, required?: undefined): n is Extract +export function is>(type: T, n: Node | null | undefined, required: Partial

): n is P +export function is

(type: string, n: Node | null | undefined, required: Partial

): n is P +export function is(type: string, n: Node | null | undefined, required?: Partial): n is Node +export function isBinding(node: Node, parent: Node, grandparent?: Node): boolean +export function isBlockScoped(node: Node): node is FunctionDeclaration | ClassDeclaration | VariableDeclaration +export function isImmutable(node: Node): node is Immutable +export function isLet(node: Node): node is VariableDeclaration +export function isNode(node: object | null | undefined): node is Node +export function isNodesEquivalent>(a: T, b: any): b is T +export function isNodesEquivalent(a: any, b: any): boolean +export function isPlaceholderType(placeholderType: Node['type'], targetType: Node['type']): boolean +export function isReferenced(node: Node, parent: Node, grandparent?: Node): boolean +export function isScope(node: Node, parent: Node): node is Scopable +export function isSpecifierDefault(specifier: ModuleSpecifier): boolean +export function isType(nodetype: string, targetType: T): nodetype is T +export function isType(nodetype: string | null | undefined, targetType: string): boolean +export function isValidES3Identifier(name: string): boolean +export function isValidIdentifier(name: string): boolean +export function isVar(node: Node): node is VariableDeclaration +export function matchesPattern(node: Node | null | undefined, match: string | ReadonlyArray, allowPartial?: boolean): node is MemberExpression +export function validate(n: Node | null | undefined, key: K, value: T[K]): void; +export function validate(n: Node, key: string, value: any): void; \ No newline at end of file diff --git a/node_modules/@babel/types/lib/index.d.ts b/node_modules/@babel/types/lib/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..efa49cb138a8a92dab046aabff7dd13338fe9086 --- /dev/null +++ b/node_modules/@babel/types/lib/index.d.ts @@ -0,0 +1,3617 @@ +declare function isCompatTag(tagName?: string): boolean; + +type ReturnedChild = JSXSpreadChild | JSXElement | JSXFragment | Expression; +declare function buildChildren(node: JSXElement | JSXFragment): ReturnedChild[]; + +declare function assertNode(node?: any): asserts node is Node; + +declare function assertArrayExpression(node: object | null | undefined, opts?: object | null): asserts node is ArrayExpression; +declare function assertAssignmentExpression(node: object | null | undefined, opts?: object | null): asserts node is AssignmentExpression; +declare function assertBinaryExpression(node: object | null | undefined, opts?: object | null): asserts node is BinaryExpression; +declare function assertInterpreterDirective(node: object | null | undefined, opts?: object | null): asserts node is InterpreterDirective; +declare function assertDirective(node: object | null | undefined, opts?: object | null): asserts node is Directive; +declare function assertDirectiveLiteral(node: object | null | undefined, opts?: object | null): asserts node is DirectiveLiteral; +declare function assertBlockStatement(node: object | null | undefined, opts?: object | null): asserts node is BlockStatement; +declare function assertBreakStatement(node: object | null | undefined, opts?: object | null): asserts node is BreakStatement; +declare function assertCallExpression(node: object | null | undefined, opts?: object | null): asserts node is CallExpression; +declare function assertCatchClause(node: object | null | undefined, opts?: object | null): asserts node is CatchClause; +declare function assertConditionalExpression(node: object | null | undefined, opts?: object | null): asserts node is ConditionalExpression; +declare function assertContinueStatement(node: object | null | undefined, opts?: object | null): asserts node is ContinueStatement; +declare function assertDebuggerStatement(node: object | null | undefined, opts?: object | null): asserts node is DebuggerStatement; +declare function assertDoWhileStatement(node: object | null | undefined, opts?: object | null): asserts node is DoWhileStatement; +declare function assertEmptyStatement(node: object | null | undefined, opts?: object | null): asserts node is EmptyStatement; +declare function assertExpressionStatement(node: object | null | undefined, opts?: object | null): asserts node is ExpressionStatement; +declare function assertFile(node: object | null | undefined, opts?: object | null): asserts node is File; +declare function assertForInStatement(node: object | null | undefined, opts?: object | null): asserts node is ForInStatement; +declare function assertForStatement(node: object | null | undefined, opts?: object | null): asserts node is ForStatement; +declare function assertFunctionDeclaration(node: object | null | undefined, opts?: object | null): asserts node is FunctionDeclaration; +declare function assertFunctionExpression(node: object | null | undefined, opts?: object | null): asserts node is FunctionExpression; +declare function assertIdentifier(node: object | null | undefined, opts?: object | null): asserts node is Identifier; +declare function assertIfStatement(node: object | null | undefined, opts?: object | null): asserts node is IfStatement; +declare function assertLabeledStatement(node: object | null | undefined, opts?: object | null): asserts node is LabeledStatement; +declare function assertStringLiteral(node: object | null | undefined, opts?: object | null): asserts node is StringLiteral; +declare function assertNumericLiteral(node: object | null | undefined, opts?: object | null): asserts node is NumericLiteral; +declare function assertNullLiteral(node: object | null | undefined, opts?: object | null): asserts node is NullLiteral; +declare function assertBooleanLiteral(node: object | null | undefined, opts?: object | null): asserts node is BooleanLiteral; +declare function assertRegExpLiteral(node: object | null | undefined, opts?: object | null): asserts node is RegExpLiteral; +declare function assertLogicalExpression(node: object | null | undefined, opts?: object | null): asserts node is LogicalExpression; +declare function assertMemberExpression(node: object | null | undefined, opts?: object | null): asserts node is MemberExpression; +declare function assertNewExpression(node: object | null | undefined, opts?: object | null): asserts node is NewExpression; +declare function assertProgram(node: object | null | undefined, opts?: object | null): asserts node is Program; +declare function assertObjectExpression(node: object | null | undefined, opts?: object | null): asserts node is ObjectExpression; +declare function assertObjectMethod(node: object | null | undefined, opts?: object | null): asserts node is ObjectMethod; +declare function assertObjectProperty(node: object | null | undefined, opts?: object | null): asserts node is ObjectProperty; +declare function assertRestElement(node: object | null | undefined, opts?: object | null): asserts node is RestElement; +declare function assertReturnStatement(node: object | null | undefined, opts?: object | null): asserts node is ReturnStatement; +declare function assertSequenceExpression(node: object | null | undefined, opts?: object | null): asserts node is SequenceExpression; +declare function assertParenthesizedExpression(node: object | null | undefined, opts?: object | null): asserts node is ParenthesizedExpression; +declare function assertSwitchCase(node: object | null | undefined, opts?: object | null): asserts node is SwitchCase; +declare function assertSwitchStatement(node: object | null | undefined, opts?: object | null): asserts node is SwitchStatement; +declare function assertThisExpression(node: object | null | undefined, opts?: object | null): asserts node is ThisExpression; +declare function assertThrowStatement(node: object | null | undefined, opts?: object | null): asserts node is ThrowStatement; +declare function assertTryStatement(node: object | null | undefined, opts?: object | null): asserts node is TryStatement; +declare function assertUnaryExpression(node: object | null | undefined, opts?: object | null): asserts node is UnaryExpression; +declare function assertUpdateExpression(node: object | null | undefined, opts?: object | null): asserts node is UpdateExpression; +declare function assertVariableDeclaration(node: object | null | undefined, opts?: object | null): asserts node is VariableDeclaration; +declare function assertVariableDeclarator(node: object | null | undefined, opts?: object | null): asserts node is VariableDeclarator; +declare function assertWhileStatement(node: object | null | undefined, opts?: object | null): asserts node is WhileStatement; +declare function assertWithStatement(node: object | null | undefined, opts?: object | null): asserts node is WithStatement; +declare function assertAssignmentPattern(node: object | null | undefined, opts?: object | null): asserts node is AssignmentPattern; +declare function assertArrayPattern(node: object | null | undefined, opts?: object | null): asserts node is ArrayPattern; +declare function assertArrowFunctionExpression(node: object | null | undefined, opts?: object | null): asserts node is ArrowFunctionExpression; +declare function assertClassBody(node: object | null | undefined, opts?: object | null): asserts node is ClassBody; +declare function assertClassExpression(node: object | null | undefined, opts?: object | null): asserts node is ClassExpression; +declare function assertClassDeclaration(node: object | null | undefined, opts?: object | null): asserts node is ClassDeclaration; +declare function assertExportAllDeclaration(node: object | null | undefined, opts?: object | null): asserts node is ExportAllDeclaration; +declare function assertExportDefaultDeclaration(node: object | null | undefined, opts?: object | null): asserts node is ExportDefaultDeclaration; +declare function assertExportNamedDeclaration(node: object | null | undefined, opts?: object | null): asserts node is ExportNamedDeclaration; +declare function assertExportSpecifier(node: object | null | undefined, opts?: object | null): asserts node is ExportSpecifier; +declare function assertForOfStatement(node: object | null | undefined, opts?: object | null): asserts node is ForOfStatement; +declare function assertImportDeclaration(node: object | null | undefined, opts?: object | null): asserts node is ImportDeclaration; +declare function assertImportDefaultSpecifier(node: object | null | undefined, opts?: object | null): asserts node is ImportDefaultSpecifier; +declare function assertImportNamespaceSpecifier(node: object | null | undefined, opts?: object | null): asserts node is ImportNamespaceSpecifier; +declare function assertImportSpecifier(node: object | null | undefined, opts?: object | null): asserts node is ImportSpecifier; +declare function assertImportExpression(node: object | null | undefined, opts?: object | null): asserts node is ImportExpression; +declare function assertMetaProperty(node: object | null | undefined, opts?: object | null): asserts node is MetaProperty; +declare function assertClassMethod(node: object | null | undefined, opts?: object | null): asserts node is ClassMethod; +declare function assertObjectPattern(node: object | null | undefined, opts?: object | null): asserts node is ObjectPattern; +declare function assertSpreadElement(node: object | null | undefined, opts?: object | null): asserts node is SpreadElement; +declare function assertSuper(node: object | null | undefined, opts?: object | null): asserts node is Super; +declare function assertTaggedTemplateExpression(node: object | null | undefined, opts?: object | null): asserts node is TaggedTemplateExpression; +declare function assertTemplateElement(node: object | null | undefined, opts?: object | null): asserts node is TemplateElement; +declare function assertTemplateLiteral(node: object | null | undefined, opts?: object | null): asserts node is TemplateLiteral; +declare function assertYieldExpression(node: object | null | undefined, opts?: object | null): asserts node is YieldExpression; +declare function assertAwaitExpression(node: object | null | undefined, opts?: object | null): asserts node is AwaitExpression; +declare function assertImport(node: object | null | undefined, opts?: object | null): asserts node is Import; +declare function assertBigIntLiteral(node: object | null | undefined, opts?: object | null): asserts node is BigIntLiteral; +declare function assertExportNamespaceSpecifier(node: object | null | undefined, opts?: object | null): asserts node is ExportNamespaceSpecifier; +declare function assertOptionalMemberExpression(node: object | null | undefined, opts?: object | null): asserts node is OptionalMemberExpression; +declare function assertOptionalCallExpression(node: object | null | undefined, opts?: object | null): asserts node is OptionalCallExpression; +declare function assertClassProperty(node: object | null | undefined, opts?: object | null): asserts node is ClassProperty; +declare function assertClassAccessorProperty(node: object | null | undefined, opts?: object | null): asserts node is ClassAccessorProperty; +declare function assertClassPrivateProperty(node: object | null | undefined, opts?: object | null): asserts node is ClassPrivateProperty; +declare function assertClassPrivateMethod(node: object | null | undefined, opts?: object | null): asserts node is ClassPrivateMethod; +declare function assertPrivateName(node: object | null | undefined, opts?: object | null): asserts node is PrivateName; +declare function assertStaticBlock(node: object | null | undefined, opts?: object | null): asserts node is StaticBlock; +declare function assertImportAttribute(node: object | null | undefined, opts?: object | null): asserts node is ImportAttribute; +declare function assertAnyTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is AnyTypeAnnotation; +declare function assertArrayTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is ArrayTypeAnnotation; +declare function assertBooleanTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is BooleanTypeAnnotation; +declare function assertBooleanLiteralTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is BooleanLiteralTypeAnnotation; +declare function assertNullLiteralTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is NullLiteralTypeAnnotation; +declare function assertClassImplements(node: object | null | undefined, opts?: object | null): asserts node is ClassImplements; +declare function assertDeclareClass(node: object | null | undefined, opts?: object | null): asserts node is DeclareClass; +declare function assertDeclareFunction(node: object | null | undefined, opts?: object | null): asserts node is DeclareFunction; +declare function assertDeclareInterface(node: object | null | undefined, opts?: object | null): asserts node is DeclareInterface; +declare function assertDeclareModule(node: object | null | undefined, opts?: object | null): asserts node is DeclareModule; +declare function assertDeclareModuleExports(node: object | null | undefined, opts?: object | null): asserts node is DeclareModuleExports; +declare function assertDeclareTypeAlias(node: object | null | undefined, opts?: object | null): asserts node is DeclareTypeAlias; +declare function assertDeclareOpaqueType(node: object | null | undefined, opts?: object | null): asserts node is DeclareOpaqueType; +declare function assertDeclareVariable(node: object | null | undefined, opts?: object | null): asserts node is DeclareVariable; +declare function assertDeclareExportDeclaration(node: object | null | undefined, opts?: object | null): asserts node is DeclareExportDeclaration; +declare function assertDeclareExportAllDeclaration(node: object | null | undefined, opts?: object | null): asserts node is DeclareExportAllDeclaration; +declare function assertDeclaredPredicate(node: object | null | undefined, opts?: object | null): asserts node is DeclaredPredicate; +declare function assertExistsTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is ExistsTypeAnnotation; +declare function assertFunctionTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is FunctionTypeAnnotation; +declare function assertFunctionTypeParam(node: object | null | undefined, opts?: object | null): asserts node is FunctionTypeParam; +declare function assertGenericTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is GenericTypeAnnotation; +declare function assertInferredPredicate(node: object | null | undefined, opts?: object | null): asserts node is InferredPredicate; +declare function assertInterfaceExtends(node: object | null | undefined, opts?: object | null): asserts node is InterfaceExtends; +declare function assertInterfaceDeclaration(node: object | null | undefined, opts?: object | null): asserts node is InterfaceDeclaration; +declare function assertInterfaceTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is InterfaceTypeAnnotation; +declare function assertIntersectionTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is IntersectionTypeAnnotation; +declare function assertMixedTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is MixedTypeAnnotation; +declare function assertEmptyTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is EmptyTypeAnnotation; +declare function assertNullableTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is NullableTypeAnnotation; +declare function assertNumberLiteralTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is NumberLiteralTypeAnnotation; +declare function assertNumberTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is NumberTypeAnnotation; +declare function assertObjectTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is ObjectTypeAnnotation; +declare function assertObjectTypeInternalSlot(node: object | null | undefined, opts?: object | null): asserts node is ObjectTypeInternalSlot; +declare function assertObjectTypeCallProperty(node: object | null | undefined, opts?: object | null): asserts node is ObjectTypeCallProperty; +declare function assertObjectTypeIndexer(node: object | null | undefined, opts?: object | null): asserts node is ObjectTypeIndexer; +declare function assertObjectTypeProperty(node: object | null | undefined, opts?: object | null): asserts node is ObjectTypeProperty; +declare function assertObjectTypeSpreadProperty(node: object | null | undefined, opts?: object | null): asserts node is ObjectTypeSpreadProperty; +declare function assertOpaqueType(node: object | null | undefined, opts?: object | null): asserts node is OpaqueType; +declare function assertQualifiedTypeIdentifier(node: object | null | undefined, opts?: object | null): asserts node is QualifiedTypeIdentifier; +declare function assertStringLiteralTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is StringLiteralTypeAnnotation; +declare function assertStringTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is StringTypeAnnotation; +declare function assertSymbolTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is SymbolTypeAnnotation; +declare function assertThisTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is ThisTypeAnnotation; +declare function assertTupleTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is TupleTypeAnnotation; +declare function assertTypeofTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is TypeofTypeAnnotation; +declare function assertTypeAlias(node: object | null | undefined, opts?: object | null): asserts node is TypeAlias; +declare function assertTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is TypeAnnotation; +declare function assertTypeCastExpression(node: object | null | undefined, opts?: object | null): asserts node is TypeCastExpression; +declare function assertTypeParameter(node: object | null | undefined, opts?: object | null): asserts node is TypeParameter; +declare function assertTypeParameterDeclaration(node: object | null | undefined, opts?: object | null): asserts node is TypeParameterDeclaration; +declare function assertTypeParameterInstantiation(node: object | null | undefined, opts?: object | null): asserts node is TypeParameterInstantiation; +declare function assertUnionTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is UnionTypeAnnotation; +declare function assertVariance(node: object | null | undefined, opts?: object | null): asserts node is Variance; +declare function assertVoidTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is VoidTypeAnnotation; +declare function assertEnumDeclaration(node: object | null | undefined, opts?: object | null): asserts node is EnumDeclaration; +declare function assertEnumBooleanBody(node: object | null | undefined, opts?: object | null): asserts node is EnumBooleanBody; +declare function assertEnumNumberBody(node: object | null | undefined, opts?: object | null): asserts node is EnumNumberBody; +declare function assertEnumStringBody(node: object | null | undefined, opts?: object | null): asserts node is EnumStringBody; +declare function assertEnumSymbolBody(node: object | null | undefined, opts?: object | null): asserts node is EnumSymbolBody; +declare function assertEnumBooleanMember(node: object | null | undefined, opts?: object | null): asserts node is EnumBooleanMember; +declare function assertEnumNumberMember(node: object | null | undefined, opts?: object | null): asserts node is EnumNumberMember; +declare function assertEnumStringMember(node: object | null | undefined, opts?: object | null): asserts node is EnumStringMember; +declare function assertEnumDefaultedMember(node: object | null | undefined, opts?: object | null): asserts node is EnumDefaultedMember; +declare function assertIndexedAccessType(node: object | null | undefined, opts?: object | null): asserts node is IndexedAccessType; +declare function assertOptionalIndexedAccessType(node: object | null | undefined, opts?: object | null): asserts node is OptionalIndexedAccessType; +declare function assertJSXAttribute(node: object | null | undefined, opts?: object | null): asserts node is JSXAttribute; +declare function assertJSXClosingElement(node: object | null | undefined, opts?: object | null): asserts node is JSXClosingElement; +declare function assertJSXElement(node: object | null | undefined, opts?: object | null): asserts node is JSXElement; +declare function assertJSXEmptyExpression(node: object | null | undefined, opts?: object | null): asserts node is JSXEmptyExpression; +declare function assertJSXExpressionContainer(node: object | null | undefined, opts?: object | null): asserts node is JSXExpressionContainer; +declare function assertJSXSpreadChild(node: object | null | undefined, opts?: object | null): asserts node is JSXSpreadChild; +declare function assertJSXIdentifier(node: object | null | undefined, opts?: object | null): asserts node is JSXIdentifier; +declare function assertJSXMemberExpression(node: object | null | undefined, opts?: object | null): asserts node is JSXMemberExpression; +declare function assertJSXNamespacedName(node: object | null | undefined, opts?: object | null): asserts node is JSXNamespacedName; +declare function assertJSXOpeningElement(node: object | null | undefined, opts?: object | null): asserts node is JSXOpeningElement; +declare function assertJSXSpreadAttribute(node: object | null | undefined, opts?: object | null): asserts node is JSXSpreadAttribute; +declare function assertJSXText(node: object | null | undefined, opts?: object | null): asserts node is JSXText; +declare function assertJSXFragment(node: object | null | undefined, opts?: object | null): asserts node is JSXFragment; +declare function assertJSXOpeningFragment(node: object | null | undefined, opts?: object | null): asserts node is JSXOpeningFragment; +declare function assertJSXClosingFragment(node: object | null | undefined, opts?: object | null): asserts node is JSXClosingFragment; +declare function assertNoop(node: object | null | undefined, opts?: object | null): asserts node is Noop; +declare function assertPlaceholder(node: object | null | undefined, opts?: object | null): asserts node is Placeholder; +declare function assertV8IntrinsicIdentifier(node: object | null | undefined, opts?: object | null): asserts node is V8IntrinsicIdentifier; +declare function assertArgumentPlaceholder(node: object | null | undefined, opts?: object | null): asserts node is ArgumentPlaceholder; +declare function assertBindExpression(node: object | null | undefined, opts?: object | null): asserts node is BindExpression; +declare function assertDecorator(node: object | null | undefined, opts?: object | null): asserts node is Decorator; +declare function assertDoExpression(node: object | null | undefined, opts?: object | null): asserts node is DoExpression; +declare function assertExportDefaultSpecifier(node: object | null | undefined, opts?: object | null): asserts node is ExportDefaultSpecifier; +declare function assertRecordExpression(node: object | null | undefined, opts?: object | null): asserts node is RecordExpression; +declare function assertTupleExpression(node: object | null | undefined, opts?: object | null): asserts node is TupleExpression; +declare function assertDecimalLiteral(node: object | null | undefined, opts?: object | null): asserts node is DecimalLiteral; +declare function assertModuleExpression(node: object | null | undefined, opts?: object | null): asserts node is ModuleExpression; +declare function assertTopicReference(node: object | null | undefined, opts?: object | null): asserts node is TopicReference; +declare function assertPipelineTopicExpression(node: object | null | undefined, opts?: object | null): asserts node is PipelineTopicExpression; +declare function assertPipelineBareFunction(node: object | null | undefined, opts?: object | null): asserts node is PipelineBareFunction; +declare function assertPipelinePrimaryTopicReference(node: object | null | undefined, opts?: object | null): asserts node is PipelinePrimaryTopicReference; +declare function assertVoidPattern(node: object | null | undefined, opts?: object | null): asserts node is VoidPattern; +declare function assertTSParameterProperty(node: object | null | undefined, opts?: object | null): asserts node is TSParameterProperty; +declare function assertTSDeclareFunction(node: object | null | undefined, opts?: object | null): asserts node is TSDeclareFunction; +declare function assertTSDeclareMethod(node: object | null | undefined, opts?: object | null): asserts node is TSDeclareMethod; +declare function assertTSQualifiedName(node: object | null | undefined, opts?: object | null): asserts node is TSQualifiedName; +declare function assertTSCallSignatureDeclaration(node: object | null | undefined, opts?: object | null): asserts node is TSCallSignatureDeclaration; +declare function assertTSConstructSignatureDeclaration(node: object | null | undefined, opts?: object | null): asserts node is TSConstructSignatureDeclaration; +declare function assertTSPropertySignature(node: object | null | undefined, opts?: object | null): asserts node is TSPropertySignature; +declare function assertTSMethodSignature(node: object | null | undefined, opts?: object | null): asserts node is TSMethodSignature; +declare function assertTSIndexSignature(node: object | null | undefined, opts?: object | null): asserts node is TSIndexSignature; +declare function assertTSAnyKeyword(node: object | null | undefined, opts?: object | null): asserts node is TSAnyKeyword; +declare function assertTSBooleanKeyword(node: object | null | undefined, opts?: object | null): asserts node is TSBooleanKeyword; +declare function assertTSBigIntKeyword(node: object | null | undefined, opts?: object | null): asserts node is TSBigIntKeyword; +declare function assertTSIntrinsicKeyword(node: object | null | undefined, opts?: object | null): asserts node is TSIntrinsicKeyword; +declare function assertTSNeverKeyword(node: object | null | undefined, opts?: object | null): asserts node is TSNeverKeyword; +declare function assertTSNullKeyword(node: object | null | undefined, opts?: object | null): asserts node is TSNullKeyword; +declare function assertTSNumberKeyword(node: object | null | undefined, opts?: object | null): asserts node is TSNumberKeyword; +declare function assertTSObjectKeyword(node: object | null | undefined, opts?: object | null): asserts node is TSObjectKeyword; +declare function assertTSStringKeyword(node: object | null | undefined, opts?: object | null): asserts node is TSStringKeyword; +declare function assertTSSymbolKeyword(node: object | null | undefined, opts?: object | null): asserts node is TSSymbolKeyword; +declare function assertTSUndefinedKeyword(node: object | null | undefined, opts?: object | null): asserts node is TSUndefinedKeyword; +declare function assertTSUnknownKeyword(node: object | null | undefined, opts?: object | null): asserts node is TSUnknownKeyword; +declare function assertTSVoidKeyword(node: object | null | undefined, opts?: object | null): asserts node is TSVoidKeyword; +declare function assertTSThisType(node: object | null | undefined, opts?: object | null): asserts node is TSThisType; +declare function assertTSFunctionType(node: object | null | undefined, opts?: object | null): asserts node is TSFunctionType; +declare function assertTSConstructorType(node: object | null | undefined, opts?: object | null): asserts node is TSConstructorType; +declare function assertTSTypeReference(node: object | null | undefined, opts?: object | null): asserts node is TSTypeReference; +declare function assertTSTypePredicate(node: object | null | undefined, opts?: object | null): asserts node is TSTypePredicate; +declare function assertTSTypeQuery(node: object | null | undefined, opts?: object | null): asserts node is TSTypeQuery; +declare function assertTSTypeLiteral(node: object | null | undefined, opts?: object | null): asserts node is TSTypeLiteral; +declare function assertTSArrayType(node: object | null | undefined, opts?: object | null): asserts node is TSArrayType; +declare function assertTSTupleType(node: object | null | undefined, opts?: object | null): asserts node is TSTupleType; +declare function assertTSOptionalType(node: object | null | undefined, opts?: object | null): asserts node is TSOptionalType; +declare function assertTSRestType(node: object | null | undefined, opts?: object | null): asserts node is TSRestType; +declare function assertTSNamedTupleMember(node: object | null | undefined, opts?: object | null): asserts node is TSNamedTupleMember; +declare function assertTSUnionType(node: object | null | undefined, opts?: object | null): asserts node is TSUnionType; +declare function assertTSIntersectionType(node: object | null | undefined, opts?: object | null): asserts node is TSIntersectionType; +declare function assertTSConditionalType(node: object | null | undefined, opts?: object | null): asserts node is TSConditionalType; +declare function assertTSInferType(node: object | null | undefined, opts?: object | null): asserts node is TSInferType; +declare function assertTSParenthesizedType(node: object | null | undefined, opts?: object | null): asserts node is TSParenthesizedType; +declare function assertTSTypeOperator(node: object | null | undefined, opts?: object | null): asserts node is TSTypeOperator; +declare function assertTSIndexedAccessType(node: object | null | undefined, opts?: object | null): asserts node is TSIndexedAccessType; +declare function assertTSMappedType(node: object | null | undefined, opts?: object | null): asserts node is TSMappedType; +declare function assertTSTemplateLiteralType(node: object | null | undefined, opts?: object | null): asserts node is TSTemplateLiteralType; +declare function assertTSLiteralType(node: object | null | undefined, opts?: object | null): asserts node is TSLiteralType; +declare function assertTSExpressionWithTypeArguments(node: object | null | undefined, opts?: object | null): asserts node is TSExpressionWithTypeArguments; +declare function assertTSInterfaceDeclaration(node: object | null | undefined, opts?: object | null): asserts node is TSInterfaceDeclaration; +declare function assertTSInterfaceBody(node: object | null | undefined, opts?: object | null): asserts node is TSInterfaceBody; +declare function assertTSTypeAliasDeclaration(node: object | null | undefined, opts?: object | null): asserts node is TSTypeAliasDeclaration; +declare function assertTSInstantiationExpression(node: object | null | undefined, opts?: object | null): asserts node is TSInstantiationExpression; +declare function assertTSAsExpression(node: object | null | undefined, opts?: object | null): asserts node is TSAsExpression; +declare function assertTSSatisfiesExpression(node: object | null | undefined, opts?: object | null): asserts node is TSSatisfiesExpression; +declare function assertTSTypeAssertion(node: object | null | undefined, opts?: object | null): asserts node is TSTypeAssertion; +declare function assertTSEnumBody(node: object | null | undefined, opts?: object | null): asserts node is TSEnumBody; +declare function assertTSEnumDeclaration(node: object | null | undefined, opts?: object | null): asserts node is TSEnumDeclaration; +declare function assertTSEnumMember(node: object | null | undefined, opts?: object | null): asserts node is TSEnumMember; +declare function assertTSModuleDeclaration(node: object | null | undefined, opts?: object | null): asserts node is TSModuleDeclaration; +declare function assertTSModuleBlock(node: object | null | undefined, opts?: object | null): asserts node is TSModuleBlock; +declare function assertTSImportType(node: object | null | undefined, opts?: object | null): asserts node is TSImportType; +declare function assertTSImportEqualsDeclaration(node: object | null | undefined, opts?: object | null): asserts node is TSImportEqualsDeclaration; +declare function assertTSExternalModuleReference(node: object | null | undefined, opts?: object | null): asserts node is TSExternalModuleReference; +declare function assertTSNonNullExpression(node: object | null | undefined, opts?: object | null): asserts node is TSNonNullExpression; +declare function assertTSExportAssignment(node: object | null | undefined, opts?: object | null): asserts node is TSExportAssignment; +declare function assertTSNamespaceExportDeclaration(node: object | null | undefined, opts?: object | null): asserts node is TSNamespaceExportDeclaration; +declare function assertTSTypeAnnotation(node: object | null | undefined, opts?: object | null): asserts node is TSTypeAnnotation; +declare function assertTSTypeParameterInstantiation(node: object | null | undefined, opts?: object | null): asserts node is TSTypeParameterInstantiation; +declare function assertTSTypeParameterDeclaration(node: object | null | undefined, opts?: object | null): asserts node is TSTypeParameterDeclaration; +declare function assertTSTypeParameter(node: object | null | undefined, opts?: object | null): asserts node is TSTypeParameter; +declare function assertStandardized(node: object | null | undefined, opts?: object | null): asserts node is Standardized; +declare function assertExpression(node: object | null | undefined, opts?: object | null): asserts node is Expression; +declare function assertBinary(node: object | null | undefined, opts?: object | null): asserts node is Binary; +declare function assertScopable(node: object | null | undefined, opts?: object | null): asserts node is Scopable; +declare function assertBlockParent(node: object | null | undefined, opts?: object | null): asserts node is BlockParent; +declare function assertBlock(node: object | null | undefined, opts?: object | null): asserts node is Block; +declare function assertStatement(node: object | null | undefined, opts?: object | null): asserts node is Statement; +declare function assertTerminatorless(node: object | null | undefined, opts?: object | null): asserts node is Terminatorless; +declare function assertCompletionStatement(node: object | null | undefined, opts?: object | null): asserts node is CompletionStatement; +declare function assertConditional(node: object | null | undefined, opts?: object | null): asserts node is Conditional; +declare function assertLoop(node: object | null | undefined, opts?: object | null): asserts node is Loop; +declare function assertWhile(node: object | null | undefined, opts?: object | null): asserts node is While; +declare function assertExpressionWrapper(node: object | null | undefined, opts?: object | null): asserts node is ExpressionWrapper; +declare function assertFor(node: object | null | undefined, opts?: object | null): asserts node is For; +declare function assertForXStatement(node: object | null | undefined, opts?: object | null): asserts node is ForXStatement; +declare function assertFunction(node: object | null | undefined, opts?: object | null): asserts node is Function; +declare function assertFunctionParent(node: object | null | undefined, opts?: object | null): asserts node is FunctionParent; +declare function assertPureish(node: object | null | undefined, opts?: object | null): asserts node is Pureish; +declare function assertDeclaration(node: object | null | undefined, opts?: object | null): asserts node is Declaration; +declare function assertFunctionParameter(node: object | null | undefined, opts?: object | null): asserts node is FunctionParameter; +declare function assertPatternLike(node: object | null | undefined, opts?: object | null): asserts node is PatternLike; +declare function assertLVal(node: object | null | undefined, opts?: object | null): asserts node is LVal; +declare function assertTSEntityName(node: object | null | undefined, opts?: object | null): asserts node is TSEntityName; +declare function assertLiteral(node: object | null | undefined, opts?: object | null): asserts node is Literal; +declare function assertImmutable(node: object | null | undefined, opts?: object | null): asserts node is Immutable; +declare function assertUserWhitespacable(node: object | null | undefined, opts?: object | null): asserts node is UserWhitespacable; +declare function assertMethod(node: object | null | undefined, opts?: object | null): asserts node is Method; +declare function assertObjectMember(node: object | null | undefined, opts?: object | null): asserts node is ObjectMember; +declare function assertProperty(node: object | null | undefined, opts?: object | null): asserts node is Property; +declare function assertUnaryLike(node: object | null | undefined, opts?: object | null): asserts node is UnaryLike; +declare function assertPattern(node: object | null | undefined, opts?: object | null): asserts node is Pattern; +declare function assertClass(node: object | null | undefined, opts?: object | null): asserts node is Class; +declare function assertImportOrExportDeclaration(node: object | null | undefined, opts?: object | null): asserts node is ImportOrExportDeclaration; +declare function assertExportDeclaration(node: object | null | undefined, opts?: object | null): asserts node is ExportDeclaration; +declare function assertModuleSpecifier(node: object | null | undefined, opts?: object | null): asserts node is ModuleSpecifier; +declare function assertAccessor(node: object | null | undefined, opts?: object | null): asserts node is Accessor; +declare function assertPrivate(node: object | null | undefined, opts?: object | null): asserts node is Private; +declare function assertFlow(node: object | null | undefined, opts?: object | null): asserts node is Flow; +declare function assertFlowType(node: object | null | undefined, opts?: object | null): asserts node is FlowType; +declare function assertFlowBaseAnnotation(node: object | null | undefined, opts?: object | null): asserts node is FlowBaseAnnotation; +declare function assertFlowDeclaration(node: object | null | undefined, opts?: object | null): asserts node is FlowDeclaration; +declare function assertFlowPredicate(node: object | null | undefined, opts?: object | null): asserts node is FlowPredicate; +declare function assertEnumBody(node: object | null | undefined, opts?: object | null): asserts node is EnumBody; +declare function assertEnumMember(node: object | null | undefined, opts?: object | null): asserts node is EnumMember; +declare function assertJSX(node: object | null | undefined, opts?: object | null): asserts node is JSX; +declare function assertMiscellaneous(node: object | null | undefined, opts?: object | null): asserts node is Miscellaneous; +declare function assertTypeScript(node: object | null | undefined, opts?: object | null): asserts node is TypeScript; +declare function assertTSTypeElement(node: object | null | undefined, opts?: object | null): asserts node is TSTypeElement; +declare function assertTSType(node: object | null | undefined, opts?: object | null): asserts node is TSType; +declare function assertTSBaseType(node: object | null | undefined, opts?: object | null): asserts node is TSBaseType; +declare function assertNumberLiteral(node: any, opts: any): void; +declare function assertRegexLiteral(node: any, opts: any): void; +declare function assertRestProperty(node: any, opts: any): void; +declare function assertSpreadProperty(node: any, opts: any): void; +declare function assertModuleDeclaration(node: any, opts: any): void; + +declare const _default$4: { + (type: "string"): StringTypeAnnotation; + (type: "number"): NumberTypeAnnotation; + (type: "undefined"): VoidTypeAnnotation; + (type: "boolean"): BooleanTypeAnnotation; + (type: "function"): GenericTypeAnnotation; + (type: "object"): GenericTypeAnnotation; + (type: "symbol"): GenericTypeAnnotation; + (type: "bigint"): AnyTypeAnnotation; +}; +//# sourceMappingURL=createTypeAnnotationBasedOnTypeof.d.ts.map + +/** + * Takes an array of `types` and flattens them, removing duplicates and + * returns a `UnionTypeAnnotation` node containing them. + */ +declare function createFlowUnionType(types: [T] | T[]): T | UnionTypeAnnotation; + +/** + * Takes an array of `types` and flattens them, removing duplicates and + * returns a `UnionTypeAnnotation` node containing them. + */ +declare function createTSUnionType(typeAnnotations: (TSTypeAnnotation | TSType)[]): TSType; + +interface BaseComment { + value: string; + start?: number; + end?: number; + loc?: SourceLocation; + ignore?: boolean; + type: "CommentBlock" | "CommentLine"; +} +interface Position { + line: number; + column: number; + index: number; +} +interface CommentBlock extends BaseComment { + type: "CommentBlock"; +} +interface CommentLine extends BaseComment { + type: "CommentLine"; +} +type Comment = CommentBlock | CommentLine; +interface SourceLocation { + start: Position; + end: Position; + filename: string; + identifierName: string | undefined | null; +} +interface BaseNode { + leadingComments?: Comment[] | null; + innerComments?: Comment[] | null; + trailingComments?: Comment[] | null; + start?: number | null; + end?: number | null; + loc?: SourceLocation | null; + range?: [number, number]; + extra?: Record; +} +type CommentTypeShorthand = "leading" | "inner" | "trailing"; +type Node = AnyTypeAnnotation | ArgumentPlaceholder | ArrayExpression | ArrayPattern | ArrayTypeAnnotation | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BigIntLiteral | BinaryExpression | BindExpression | BlockStatement | BooleanLiteral | BooleanLiteralTypeAnnotation | BooleanTypeAnnotation | BreakStatement | CallExpression | CatchClause | ClassAccessorProperty | ClassBody | ClassDeclaration | ClassExpression | ClassImplements | ClassMethod | ClassPrivateMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | ContinueStatement | DebuggerStatement | DecimalLiteral | DeclareClass | DeclareExportAllDeclaration | DeclareExportDeclaration | DeclareFunction | DeclareInterface | DeclareModule | DeclareModuleExports | DeclareOpaqueType | DeclareTypeAlias | DeclareVariable | DeclaredPredicate | Decorator | Directive | DirectiveLiteral | DoExpression | DoWhileStatement | EmptyStatement | EmptyTypeAnnotation | EnumBooleanBody | EnumBooleanMember | EnumDeclaration | EnumDefaultedMember | EnumNumberBody | EnumNumberMember | EnumStringBody | EnumStringMember | EnumSymbolBody | ExistsTypeAnnotation | ExportAllDeclaration | ExportDefaultDeclaration | ExportDefaultSpecifier | ExportNamedDeclaration | ExportNamespaceSpecifier | ExportSpecifier | ExpressionStatement | File | ForInStatement | ForOfStatement | ForStatement | FunctionDeclaration | FunctionExpression | FunctionTypeAnnotation | FunctionTypeParam | GenericTypeAnnotation | Identifier | IfStatement | Import | ImportAttribute | ImportDeclaration | ImportDefaultSpecifier | ImportExpression | ImportNamespaceSpecifier | ImportSpecifier | IndexedAccessType | InferredPredicate | InterfaceDeclaration | InterfaceExtends | InterfaceTypeAnnotation | InterpreterDirective | IntersectionTypeAnnotation | JSXAttribute | JSXClosingElement | JSXClosingFragment | JSXElement | JSXEmptyExpression | JSXExpressionContainer | JSXFragment | JSXIdentifier | JSXMemberExpression | JSXNamespacedName | JSXOpeningElement | JSXOpeningFragment | JSXSpreadAttribute | JSXSpreadChild | JSXText | LabeledStatement | LogicalExpression | MemberExpression | MetaProperty | MixedTypeAnnotation | ModuleExpression | NewExpression | Noop | NullLiteral | NullLiteralTypeAnnotation | NullableTypeAnnotation | NumberLiteral$1 | NumberLiteralTypeAnnotation | NumberTypeAnnotation | NumericLiteral | ObjectExpression | ObjectMethod | ObjectPattern | ObjectProperty | ObjectTypeAnnotation | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeInternalSlot | ObjectTypeProperty | ObjectTypeSpreadProperty | OpaqueType | OptionalCallExpression | OptionalIndexedAccessType | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelinePrimaryTopicReference | PipelineTopicExpression | Placeholder | PrivateName | Program | QualifiedTypeIdentifier | RecordExpression | RegExpLiteral | RegexLiteral$1 | RestElement | RestProperty$1 | ReturnStatement | SequenceExpression | SpreadElement | SpreadProperty$1 | StaticBlock | StringLiteral | StringLiteralTypeAnnotation | StringTypeAnnotation | Super | SwitchCase | SwitchStatement | SymbolTypeAnnotation | TSAnyKeyword | TSArrayType | TSAsExpression | TSBigIntKeyword | TSBooleanKeyword | TSCallSignatureDeclaration | TSConditionalType | TSConstructSignatureDeclaration | TSConstructorType | TSDeclareFunction | TSDeclareMethod | TSEnumBody | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSExpressionWithTypeArguments | TSExternalModuleReference | TSFunctionType | TSImportEqualsDeclaration | TSImportType | TSIndexSignature | TSIndexedAccessType | TSInferType | TSInstantiationExpression | TSInterfaceBody | TSInterfaceDeclaration | TSIntersectionType | TSIntrinsicKeyword | TSLiteralType | TSMappedType | TSMethodSignature | TSModuleBlock | TSModuleDeclaration | TSNamedTupleMember | TSNamespaceExportDeclaration | TSNeverKeyword | TSNonNullExpression | TSNullKeyword | TSNumberKeyword | TSObjectKeyword | TSOptionalType | TSParameterProperty | TSParenthesizedType | TSPropertySignature | TSQualifiedName | TSRestType | TSSatisfiesExpression | TSStringKeyword | TSSymbolKeyword | TSTemplateLiteralType | TSThisType | TSTupleType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeLiteral | TSTypeOperator | TSTypeParameter | TSTypeParameterDeclaration | TSTypeParameterInstantiation | TSTypePredicate | TSTypeQuery | TSTypeReference | TSUndefinedKeyword | TSUnionType | TSUnknownKeyword | TSVoidKeyword | TaggedTemplateExpression | TemplateElement | TemplateLiteral | ThisExpression | ThisTypeAnnotation | ThrowStatement | TopicReference | TryStatement | TupleExpression | TupleTypeAnnotation | TypeAlias | TypeAnnotation | TypeCastExpression | TypeParameter | TypeParameterDeclaration | TypeParameterInstantiation | TypeofTypeAnnotation | UnaryExpression | UnionTypeAnnotation | UpdateExpression | V8IntrinsicIdentifier | VariableDeclaration | VariableDeclarator | Variance | VoidPattern | VoidTypeAnnotation | WhileStatement | WithStatement | YieldExpression; +interface ArrayExpression extends BaseNode { + type: "ArrayExpression"; + elements: (null | Expression | SpreadElement)[]; +} +interface AssignmentExpression extends BaseNode { + type: "AssignmentExpression"; + operator: string; + left: LVal | OptionalMemberExpression; + right: Expression; +} +interface BinaryExpression extends BaseNode { + type: "BinaryExpression"; + operator: "+" | "-" | "/" | "%" | "*" | "**" | "&" | "|" | ">>" | ">>>" | "<<" | "^" | "==" | "===" | "!=" | "!==" | "in" | "instanceof" | ">" | "<" | ">=" | "<=" | "|>"; + left: Expression | PrivateName; + right: Expression; +} +interface InterpreterDirective extends BaseNode { + type: "InterpreterDirective"; + value: string; +} +interface Directive extends BaseNode { + type: "Directive"; + value: DirectiveLiteral; +} +interface DirectiveLiteral extends BaseNode { + type: "DirectiveLiteral"; + value: string; +} +interface BlockStatement extends BaseNode { + type: "BlockStatement"; + body: Statement[]; + directives: Directive[]; +} +interface BreakStatement extends BaseNode { + type: "BreakStatement"; + label?: Identifier | null; +} +interface CallExpression extends BaseNode { + type: "CallExpression"; + callee: Expression | Super | V8IntrinsicIdentifier; + arguments: (Expression | SpreadElement | ArgumentPlaceholder)[]; + optional?: boolean | null; + typeArguments?: TypeParameterInstantiation | null; + typeParameters?: TSTypeParameterInstantiation | null; +} +interface CatchClause extends BaseNode { + type: "CatchClause"; + param?: Identifier | ArrayPattern | ObjectPattern | null; + body: BlockStatement; +} +interface ConditionalExpression extends BaseNode { + type: "ConditionalExpression"; + test: Expression; + consequent: Expression; + alternate: Expression; +} +interface ContinueStatement extends BaseNode { + type: "ContinueStatement"; + label?: Identifier | null; +} +interface DebuggerStatement extends BaseNode { + type: "DebuggerStatement"; +} +interface DoWhileStatement extends BaseNode { + type: "DoWhileStatement"; + test: Expression; + body: Statement; +} +interface EmptyStatement extends BaseNode { + type: "EmptyStatement"; +} +interface ExpressionStatement extends BaseNode { + type: "ExpressionStatement"; + expression: Expression; +} +interface File extends BaseNode { + type: "File"; + program: Program; + comments?: (CommentBlock | CommentLine)[] | null; + tokens?: any[] | null; +} +interface ForInStatement extends BaseNode { + type: "ForInStatement"; + left: VariableDeclaration | LVal; + right: Expression; + body: Statement; +} +interface ForStatement extends BaseNode { + type: "ForStatement"; + init?: VariableDeclaration | Expression | null; + test?: Expression | null; + update?: Expression | null; + body: Statement; +} +interface FunctionDeclaration extends BaseNode { + type: "FunctionDeclaration"; + id?: Identifier | null; + params: FunctionParameter[]; + body: BlockStatement; + generator: boolean; + async: boolean; + declare?: boolean | null; + predicate?: DeclaredPredicate | InferredPredicate | null; + returnType?: TypeAnnotation | TSTypeAnnotation | Noop | null; + typeParameters?: TypeParameterDeclaration | TSTypeParameterDeclaration | Noop | null; +} +interface FunctionExpression extends BaseNode { + type: "FunctionExpression"; + id?: Identifier | null; + params: FunctionParameter[]; + body: BlockStatement; + generator: boolean; + async: boolean; + predicate?: DeclaredPredicate | InferredPredicate | null; + returnType?: TypeAnnotation | TSTypeAnnotation | Noop | null; + typeParameters?: TypeParameterDeclaration | TSTypeParameterDeclaration | Noop | null; +} +interface Identifier extends BaseNode { + type: "Identifier"; + name: string; + decorators?: Decorator[] | null; + optional?: boolean | null; + typeAnnotation?: TypeAnnotation | TSTypeAnnotation | Noop | null; +} +interface IfStatement extends BaseNode { + type: "IfStatement"; + test: Expression; + consequent: Statement; + alternate?: Statement | null; +} +interface LabeledStatement extends BaseNode { + type: "LabeledStatement"; + label: Identifier; + body: Statement; +} +interface StringLiteral extends BaseNode { + type: "StringLiteral"; + value: string; +} +interface NumericLiteral extends BaseNode { + type: "NumericLiteral"; + value: number; +} +/** + * @deprecated Use `NumericLiteral` + */ +interface NumberLiteral$1 extends BaseNode { + type: "NumberLiteral"; + value: number; +} +interface NullLiteral extends BaseNode { + type: "NullLiteral"; +} +interface BooleanLiteral extends BaseNode { + type: "BooleanLiteral"; + value: boolean; +} +interface RegExpLiteral extends BaseNode { + type: "RegExpLiteral"; + pattern: string; + flags: string; +} +/** + * @deprecated Use `RegExpLiteral` + */ +interface RegexLiteral$1 extends BaseNode { + type: "RegexLiteral"; + pattern: string; + flags: string; +} +interface LogicalExpression extends BaseNode { + type: "LogicalExpression"; + operator: "||" | "&&" | "??"; + left: Expression; + right: Expression; +} +interface MemberExpression extends BaseNode { + type: "MemberExpression"; + object: Expression | Super; + property: Expression | Identifier | PrivateName; + computed: boolean; + optional?: boolean | null; +} +interface NewExpression extends BaseNode { + type: "NewExpression"; + callee: Expression | Super | V8IntrinsicIdentifier; + arguments: (Expression | SpreadElement | ArgumentPlaceholder)[]; + optional?: boolean | null; + typeArguments?: TypeParameterInstantiation | null; + typeParameters?: TSTypeParameterInstantiation | null; +} +interface Program extends BaseNode { + type: "Program"; + body: Statement[]; + directives: Directive[]; + sourceType: "script" | "module"; + interpreter?: InterpreterDirective | null; +} +interface ObjectExpression extends BaseNode { + type: "ObjectExpression"; + properties: (ObjectMethod | ObjectProperty | SpreadElement)[]; +} +interface ObjectMethod extends BaseNode { + type: "ObjectMethod"; + kind: "method" | "get" | "set"; + key: Expression | Identifier | StringLiteral | NumericLiteral | BigIntLiteral; + params: FunctionParameter[]; + body: BlockStatement; + computed: boolean; + generator: boolean; + async: boolean; + decorators?: Decorator[] | null; + returnType?: TypeAnnotation | TSTypeAnnotation | Noop | null; + typeParameters?: TypeParameterDeclaration | TSTypeParameterDeclaration | Noop | null; +} +interface ObjectProperty extends BaseNode { + type: "ObjectProperty"; + key: Expression | Identifier | StringLiteral | NumericLiteral | BigIntLiteral | DecimalLiteral | PrivateName; + value: Expression | PatternLike; + computed: boolean; + shorthand: boolean; + decorators?: Decorator[] | null; +} +interface RestElement extends BaseNode { + type: "RestElement"; + argument: Identifier | ArrayPattern | ObjectPattern | MemberExpression | TSAsExpression | TSSatisfiesExpression | TSTypeAssertion | TSNonNullExpression | RestElement | AssignmentPattern; + decorators?: Decorator[] | null; + optional?: boolean | null; + typeAnnotation?: TypeAnnotation | TSTypeAnnotation | Noop | null; +} +/** + * @deprecated Use `RestElement` + */ +interface RestProperty$1 extends BaseNode { + type: "RestProperty"; + argument: Identifier | ArrayPattern | ObjectPattern | MemberExpression | TSAsExpression | TSSatisfiesExpression | TSTypeAssertion | TSNonNullExpression | RestElement | AssignmentPattern; + decorators?: Decorator[] | null; + optional?: boolean | null; + typeAnnotation?: TypeAnnotation | TSTypeAnnotation | Noop | null; +} +interface ReturnStatement extends BaseNode { + type: "ReturnStatement"; + argument?: Expression | null; +} +interface SequenceExpression extends BaseNode { + type: "SequenceExpression"; + expressions: Expression[]; +} +interface ParenthesizedExpression extends BaseNode { + type: "ParenthesizedExpression"; + expression: Expression; +} +interface SwitchCase extends BaseNode { + type: "SwitchCase"; + test?: Expression | null; + consequent: Statement[]; +} +interface SwitchStatement extends BaseNode { + type: "SwitchStatement"; + discriminant: Expression; + cases: SwitchCase[]; +} +interface ThisExpression extends BaseNode { + type: "ThisExpression"; +} +interface ThrowStatement extends BaseNode { + type: "ThrowStatement"; + argument: Expression; +} +interface TryStatement extends BaseNode { + type: "TryStatement"; + block: BlockStatement; + handler?: CatchClause | null; + finalizer?: BlockStatement | null; +} +interface UnaryExpression extends BaseNode { + type: "UnaryExpression"; + operator: "void" | "throw" | "delete" | "!" | "+" | "-" | "~" | "typeof"; + argument: Expression; + prefix: boolean; +} +interface UpdateExpression extends BaseNode { + type: "UpdateExpression"; + operator: "++" | "--"; + argument: Expression; + prefix: boolean; +} +interface VariableDeclaration extends BaseNode { + type: "VariableDeclaration"; + kind: "var" | "let" | "const" | "using" | "await using"; + declarations: VariableDeclarator[]; + declare?: boolean | null; +} +interface VariableDeclarator extends BaseNode { + type: "VariableDeclarator"; + id: LVal | VoidPattern; + init?: Expression | null; + definite?: boolean | null; +} +interface WhileStatement extends BaseNode { + type: "WhileStatement"; + test: Expression; + body: Statement; +} +interface WithStatement extends BaseNode { + type: "WithStatement"; + object: Expression; + body: Statement; +} +interface AssignmentPattern extends BaseNode { + type: "AssignmentPattern"; + left: Identifier | ObjectPattern | ArrayPattern | MemberExpression | TSAsExpression | TSSatisfiesExpression | TSTypeAssertion | TSNonNullExpression; + right: Expression; + decorators?: Decorator[] | null; + optional?: boolean | null; + typeAnnotation?: TypeAnnotation | TSTypeAnnotation | Noop | null; +} +interface ArrayPattern extends BaseNode { + type: "ArrayPattern"; + elements: (null | PatternLike)[]; + decorators?: Decorator[] | null; + optional?: boolean | null; + typeAnnotation?: TypeAnnotation | TSTypeAnnotation | Noop | null; +} +interface ArrowFunctionExpression extends BaseNode { + type: "ArrowFunctionExpression"; + params: FunctionParameter[]; + body: BlockStatement | Expression; + async: boolean; + expression: boolean; + generator?: boolean; + predicate?: DeclaredPredicate | InferredPredicate | null; + returnType?: TypeAnnotation | TSTypeAnnotation | Noop | null; + typeParameters?: TypeParameterDeclaration | TSTypeParameterDeclaration | Noop | null; +} +interface ClassBody extends BaseNode { + type: "ClassBody"; + body: (ClassMethod | ClassPrivateMethod | ClassProperty | ClassPrivateProperty | ClassAccessorProperty | TSDeclareMethod | TSIndexSignature | StaticBlock)[]; +} +interface ClassExpression extends BaseNode { + type: "ClassExpression"; + id?: Identifier | null; + superClass?: Expression | null; + body: ClassBody; + decorators?: Decorator[] | null; + implements?: (TSExpressionWithTypeArguments | ClassImplements)[] | null; + mixins?: InterfaceExtends | null; + superTypeParameters?: TypeParameterInstantiation | TSTypeParameterInstantiation | null; + typeParameters?: TypeParameterDeclaration | TSTypeParameterDeclaration | Noop | null; +} +interface ClassDeclaration extends BaseNode { + type: "ClassDeclaration"; + id?: Identifier | null; + superClass?: Expression | null; + body: ClassBody; + decorators?: Decorator[] | null; + abstract?: boolean | null; + declare?: boolean | null; + implements?: (TSExpressionWithTypeArguments | ClassImplements)[] | null; + mixins?: InterfaceExtends | null; + superTypeParameters?: TypeParameterInstantiation | TSTypeParameterInstantiation | null; + typeParameters?: TypeParameterDeclaration | TSTypeParameterDeclaration | Noop | null; +} +interface ExportAllDeclaration extends BaseNode { + type: "ExportAllDeclaration"; + source: StringLiteral; + attributes?: ImportAttribute[] | null; + /** @deprecated */ + assertions?: ImportAttribute[] | null; + exportKind?: "type" | "value" | null; +} +interface ExportDefaultDeclaration extends BaseNode { + type: "ExportDefaultDeclaration"; + declaration: TSDeclareFunction | FunctionDeclaration | ClassDeclaration | Expression; + exportKind?: "value" | null; +} +interface ExportNamedDeclaration extends BaseNode { + type: "ExportNamedDeclaration"; + declaration?: Declaration | null; + specifiers: (ExportSpecifier | ExportDefaultSpecifier | ExportNamespaceSpecifier)[]; + source?: StringLiteral | null; + attributes?: ImportAttribute[] | null; + /** @deprecated */ + assertions?: ImportAttribute[] | null; + exportKind?: "type" | "value" | null; +} +interface ExportSpecifier extends BaseNode { + type: "ExportSpecifier"; + local: Identifier; + exported: Identifier | StringLiteral; + exportKind?: "type" | "value" | null; +} +interface ForOfStatement extends BaseNode { + type: "ForOfStatement"; + left: VariableDeclaration | LVal; + right: Expression; + body: Statement; + await: boolean; +} +interface ImportDeclaration extends BaseNode { + type: "ImportDeclaration"; + specifiers: (ImportSpecifier | ImportDefaultSpecifier | ImportNamespaceSpecifier)[]; + source: StringLiteral; + attributes?: ImportAttribute[] | null; + /** @deprecated */ + assertions?: ImportAttribute[] | null; + importKind?: "type" | "typeof" | "value" | null; + module?: boolean | null; + phase?: "source" | "defer" | null; +} +interface ImportDefaultSpecifier extends BaseNode { + type: "ImportDefaultSpecifier"; + local: Identifier; +} +interface ImportNamespaceSpecifier extends BaseNode { + type: "ImportNamespaceSpecifier"; + local: Identifier; +} +interface ImportSpecifier extends BaseNode { + type: "ImportSpecifier"; + local: Identifier; + imported: Identifier | StringLiteral; + importKind?: "type" | "typeof" | "value" | null; +} +interface ImportExpression extends BaseNode { + type: "ImportExpression"; + source: Expression; + options?: Expression | null; + phase?: "source" | "defer" | null; +} +interface MetaProperty extends BaseNode { + type: "MetaProperty"; + meta: Identifier; + property: Identifier; +} +interface ClassMethod extends BaseNode { + type: "ClassMethod"; + kind: "get" | "set" | "method" | "constructor"; + key: Identifier | StringLiteral | NumericLiteral | BigIntLiteral | Expression; + params: (FunctionParameter | TSParameterProperty)[]; + body: BlockStatement; + computed: boolean; + static: boolean; + generator: boolean; + async: boolean; + abstract?: boolean | null; + access?: "public" | "private" | "protected" | null; + accessibility?: "public" | "private" | "protected" | null; + decorators?: Decorator[] | null; + optional?: boolean | null; + override?: boolean; + returnType?: TypeAnnotation | TSTypeAnnotation | Noop | null; + typeParameters?: TypeParameterDeclaration | TSTypeParameterDeclaration | Noop | null; +} +interface ObjectPattern extends BaseNode { + type: "ObjectPattern"; + properties: (RestElement | ObjectProperty)[]; + decorators?: Decorator[] | null; + optional?: boolean | null; + typeAnnotation?: TypeAnnotation | TSTypeAnnotation | Noop | null; +} +interface SpreadElement extends BaseNode { + type: "SpreadElement"; + argument: Expression; +} +/** + * @deprecated Use `SpreadElement` + */ +interface SpreadProperty$1 extends BaseNode { + type: "SpreadProperty"; + argument: Expression; +} +interface Super extends BaseNode { + type: "Super"; +} +interface TaggedTemplateExpression extends BaseNode { + type: "TaggedTemplateExpression"; + tag: Expression; + quasi: TemplateLiteral; + typeParameters?: TypeParameterInstantiation | TSTypeParameterInstantiation | null; +} +interface TemplateElement extends BaseNode { + type: "TemplateElement"; + value: { + raw: string; + cooked?: string; + }; + tail: boolean; +} +interface TemplateLiteral extends BaseNode { + type: "TemplateLiteral"; + quasis: TemplateElement[]; + expressions: (Expression | TSType)[]; +} +interface YieldExpression extends BaseNode { + type: "YieldExpression"; + argument?: Expression | null; + delegate: boolean; +} +interface AwaitExpression extends BaseNode { + type: "AwaitExpression"; + argument: Expression; +} +interface Import extends BaseNode { + type: "Import"; +} +interface BigIntLiteral extends BaseNode { + type: "BigIntLiteral"; + value: string; +} +interface ExportNamespaceSpecifier extends BaseNode { + type: "ExportNamespaceSpecifier"; + exported: Identifier; +} +interface OptionalMemberExpression extends BaseNode { + type: "OptionalMemberExpression"; + object: Expression; + property: Expression | Identifier; + computed: boolean; + optional: boolean; +} +interface OptionalCallExpression extends BaseNode { + type: "OptionalCallExpression"; + callee: Expression; + arguments: (Expression | SpreadElement | ArgumentPlaceholder)[]; + optional: boolean; + typeArguments?: TypeParameterInstantiation | null; + typeParameters?: TSTypeParameterInstantiation | null; +} +interface ClassProperty extends BaseNode { + type: "ClassProperty"; + key: Identifier | StringLiteral | NumericLiteral | BigIntLiteral | Expression; + value?: Expression | null; + typeAnnotation?: TypeAnnotation | TSTypeAnnotation | Noop | null; + decorators?: Decorator[] | null; + computed: boolean; + static: boolean; + abstract?: boolean | null; + accessibility?: "public" | "private" | "protected" | null; + declare?: boolean | null; + definite?: boolean | null; + optional?: boolean | null; + override?: boolean; + readonly?: boolean | null; + variance?: Variance | null; +} +interface ClassAccessorProperty extends BaseNode { + type: "ClassAccessorProperty"; + key: Identifier | StringLiteral | NumericLiteral | BigIntLiteral | Expression | PrivateName; + value?: Expression | null; + typeAnnotation?: TypeAnnotation | TSTypeAnnotation | Noop | null; + decorators?: Decorator[] | null; + computed: boolean; + static: boolean; + abstract?: boolean | null; + accessibility?: "public" | "private" | "protected" | null; + declare?: boolean | null; + definite?: boolean | null; + optional?: boolean | null; + override?: boolean; + readonly?: boolean | null; + variance?: Variance | null; +} +interface ClassPrivateProperty extends BaseNode { + type: "ClassPrivateProperty"; + key: PrivateName; + value?: Expression | null; + decorators?: Decorator[] | null; + static: boolean; + definite?: boolean | null; + optional?: boolean | null; + readonly?: boolean | null; + typeAnnotation?: TypeAnnotation | TSTypeAnnotation | Noop | null; + variance?: Variance | null; +} +interface ClassPrivateMethod extends BaseNode { + type: "ClassPrivateMethod"; + kind: "get" | "set" | "method"; + key: PrivateName; + params: (FunctionParameter | TSParameterProperty)[]; + body: BlockStatement; + static: boolean; + abstract?: boolean | null; + access?: "public" | "private" | "protected" | null; + accessibility?: "public" | "private" | "protected" | null; + async?: boolean; + computed?: boolean; + decorators?: Decorator[] | null; + generator?: boolean; + optional?: boolean | null; + override?: boolean; + returnType?: TypeAnnotation | TSTypeAnnotation | Noop | null; + typeParameters?: TypeParameterDeclaration | TSTypeParameterDeclaration | Noop | null; +} +interface PrivateName extends BaseNode { + type: "PrivateName"; + id: Identifier; +} +interface StaticBlock extends BaseNode { + type: "StaticBlock"; + body: Statement[]; +} +interface ImportAttribute extends BaseNode { + type: "ImportAttribute"; + key: Identifier | StringLiteral; + value: StringLiteral; +} +interface AnyTypeAnnotation extends BaseNode { + type: "AnyTypeAnnotation"; +} +interface ArrayTypeAnnotation extends BaseNode { + type: "ArrayTypeAnnotation"; + elementType: FlowType; +} +interface BooleanTypeAnnotation extends BaseNode { + type: "BooleanTypeAnnotation"; +} +interface BooleanLiteralTypeAnnotation extends BaseNode { + type: "BooleanLiteralTypeAnnotation"; + value: boolean; +} +interface NullLiteralTypeAnnotation extends BaseNode { + type: "NullLiteralTypeAnnotation"; +} +interface ClassImplements extends BaseNode { + type: "ClassImplements"; + id: Identifier; + typeParameters?: TypeParameterInstantiation | null; +} +interface DeclareClass extends BaseNode { + type: "DeclareClass"; + id: Identifier; + typeParameters?: TypeParameterDeclaration | null; + extends?: InterfaceExtends[] | null; + body: ObjectTypeAnnotation; + implements?: ClassImplements[] | null; + mixins?: InterfaceExtends[] | null; +} +interface DeclareFunction extends BaseNode { + type: "DeclareFunction"; + id: Identifier; + predicate?: DeclaredPredicate | null; +} +interface DeclareInterface extends BaseNode { + type: "DeclareInterface"; + id: Identifier; + typeParameters?: TypeParameterDeclaration | null; + extends?: InterfaceExtends[] | null; + body: ObjectTypeAnnotation; +} +interface DeclareModule extends BaseNode { + type: "DeclareModule"; + id: Identifier | StringLiteral; + body: BlockStatement; + kind?: "CommonJS" | "ES" | null; +} +interface DeclareModuleExports extends BaseNode { + type: "DeclareModuleExports"; + typeAnnotation: TypeAnnotation; +} +interface DeclareTypeAlias extends BaseNode { + type: "DeclareTypeAlias"; + id: Identifier; + typeParameters?: TypeParameterDeclaration | null; + right: FlowType; +} +interface DeclareOpaqueType extends BaseNode { + type: "DeclareOpaqueType"; + id: Identifier; + typeParameters?: TypeParameterDeclaration | null; + supertype?: FlowType | null; + impltype?: FlowType | null; +} +interface DeclareVariable extends BaseNode { + type: "DeclareVariable"; + id: Identifier; +} +interface DeclareExportDeclaration extends BaseNode { + type: "DeclareExportDeclaration"; + declaration?: Flow | null; + specifiers?: (ExportSpecifier | ExportNamespaceSpecifier)[] | null; + source?: StringLiteral | null; + attributes?: ImportAttribute[] | null; + /** @deprecated */ + assertions?: ImportAttribute[] | null; + default?: boolean | null; +} +interface DeclareExportAllDeclaration extends BaseNode { + type: "DeclareExportAllDeclaration"; + source: StringLiteral; + attributes?: ImportAttribute[] | null; + /** @deprecated */ + assertions?: ImportAttribute[] | null; + exportKind?: "type" | "value" | null; +} +interface DeclaredPredicate extends BaseNode { + type: "DeclaredPredicate"; + value: Flow; +} +interface ExistsTypeAnnotation extends BaseNode { + type: "ExistsTypeAnnotation"; +} +interface FunctionTypeAnnotation extends BaseNode { + type: "FunctionTypeAnnotation"; + typeParameters?: TypeParameterDeclaration | null; + params: FunctionTypeParam[]; + rest?: FunctionTypeParam | null; + returnType: FlowType; + this?: FunctionTypeParam | null; +} +interface FunctionTypeParam extends BaseNode { + type: "FunctionTypeParam"; + name?: Identifier | null; + typeAnnotation: FlowType; + optional?: boolean | null; +} +interface GenericTypeAnnotation extends BaseNode { + type: "GenericTypeAnnotation"; + id: Identifier | QualifiedTypeIdentifier; + typeParameters?: TypeParameterInstantiation | null; +} +interface InferredPredicate extends BaseNode { + type: "InferredPredicate"; +} +interface InterfaceExtends extends BaseNode { + type: "InterfaceExtends"; + id: Identifier | QualifiedTypeIdentifier; + typeParameters?: TypeParameterInstantiation | null; +} +interface InterfaceDeclaration extends BaseNode { + type: "InterfaceDeclaration"; + id: Identifier; + typeParameters?: TypeParameterDeclaration | null; + extends?: InterfaceExtends[] | null; + body: ObjectTypeAnnotation; +} +interface InterfaceTypeAnnotation extends BaseNode { + type: "InterfaceTypeAnnotation"; + extends?: InterfaceExtends[] | null; + body: ObjectTypeAnnotation; +} +interface IntersectionTypeAnnotation extends BaseNode { + type: "IntersectionTypeAnnotation"; + types: FlowType[]; +} +interface MixedTypeAnnotation extends BaseNode { + type: "MixedTypeAnnotation"; +} +interface EmptyTypeAnnotation extends BaseNode { + type: "EmptyTypeAnnotation"; +} +interface NullableTypeAnnotation extends BaseNode { + type: "NullableTypeAnnotation"; + typeAnnotation: FlowType; +} +interface NumberLiteralTypeAnnotation extends BaseNode { + type: "NumberLiteralTypeAnnotation"; + value: number; +} +interface NumberTypeAnnotation extends BaseNode { + type: "NumberTypeAnnotation"; +} +interface ObjectTypeAnnotation extends BaseNode { + type: "ObjectTypeAnnotation"; + properties: (ObjectTypeProperty | ObjectTypeSpreadProperty)[]; + indexers?: ObjectTypeIndexer[]; + callProperties?: ObjectTypeCallProperty[]; + internalSlots?: ObjectTypeInternalSlot[]; + exact: boolean; + inexact?: boolean | null; +} +interface ObjectTypeInternalSlot extends BaseNode { + type: "ObjectTypeInternalSlot"; + id: Identifier; + value: FlowType; + optional: boolean; + static: boolean; + method: boolean; +} +interface ObjectTypeCallProperty extends BaseNode { + type: "ObjectTypeCallProperty"; + value: FlowType; + static: boolean; +} +interface ObjectTypeIndexer extends BaseNode { + type: "ObjectTypeIndexer"; + id?: Identifier | null; + key: FlowType; + value: FlowType; + variance?: Variance | null; + static: boolean; +} +interface ObjectTypeProperty extends BaseNode { + type: "ObjectTypeProperty"; + key: Identifier | StringLiteral; + value: FlowType; + variance?: Variance | null; + kind: "init" | "get" | "set"; + method: boolean; + optional: boolean; + proto: boolean; + static: boolean; +} +interface ObjectTypeSpreadProperty extends BaseNode { + type: "ObjectTypeSpreadProperty"; + argument: FlowType; +} +interface OpaqueType extends BaseNode { + type: "OpaqueType"; + id: Identifier; + typeParameters?: TypeParameterDeclaration | null; + supertype?: FlowType | null; + impltype: FlowType; +} +interface QualifiedTypeIdentifier extends BaseNode { + type: "QualifiedTypeIdentifier"; + id: Identifier; + qualification: Identifier | QualifiedTypeIdentifier; +} +interface StringLiteralTypeAnnotation extends BaseNode { + type: "StringLiteralTypeAnnotation"; + value: string; +} +interface StringTypeAnnotation extends BaseNode { + type: "StringTypeAnnotation"; +} +interface SymbolTypeAnnotation extends BaseNode { + type: "SymbolTypeAnnotation"; +} +interface ThisTypeAnnotation extends BaseNode { + type: "ThisTypeAnnotation"; +} +interface TupleTypeAnnotation extends BaseNode { + type: "TupleTypeAnnotation"; + types: FlowType[]; +} +interface TypeofTypeAnnotation extends BaseNode { + type: "TypeofTypeAnnotation"; + argument: FlowType; +} +interface TypeAlias extends BaseNode { + type: "TypeAlias"; + id: Identifier; + typeParameters?: TypeParameterDeclaration | null; + right: FlowType; +} +interface TypeAnnotation extends BaseNode { + type: "TypeAnnotation"; + typeAnnotation: FlowType; +} +interface TypeCastExpression extends BaseNode { + type: "TypeCastExpression"; + expression: Expression; + typeAnnotation: TypeAnnotation; +} +interface TypeParameter extends BaseNode { + type: "TypeParameter"; + bound?: TypeAnnotation | null; + default?: FlowType | null; + variance?: Variance | null; + name: string; +} +interface TypeParameterDeclaration extends BaseNode { + type: "TypeParameterDeclaration"; + params: TypeParameter[]; +} +interface TypeParameterInstantiation extends BaseNode { + type: "TypeParameterInstantiation"; + params: FlowType[]; +} +interface UnionTypeAnnotation extends BaseNode { + type: "UnionTypeAnnotation"; + types: FlowType[]; +} +interface Variance extends BaseNode { + type: "Variance"; + kind: "minus" | "plus"; +} +interface VoidTypeAnnotation extends BaseNode { + type: "VoidTypeAnnotation"; +} +interface EnumDeclaration extends BaseNode { + type: "EnumDeclaration"; + id: Identifier; + body: EnumBooleanBody | EnumNumberBody | EnumStringBody | EnumSymbolBody; +} +interface EnumBooleanBody extends BaseNode { + type: "EnumBooleanBody"; + members: EnumBooleanMember[]; + explicitType: boolean; + hasUnknownMembers: boolean; +} +interface EnumNumberBody extends BaseNode { + type: "EnumNumberBody"; + members: EnumNumberMember[]; + explicitType: boolean; + hasUnknownMembers: boolean; +} +interface EnumStringBody extends BaseNode { + type: "EnumStringBody"; + members: (EnumStringMember | EnumDefaultedMember)[]; + explicitType: boolean; + hasUnknownMembers: boolean; +} +interface EnumSymbolBody extends BaseNode { + type: "EnumSymbolBody"; + members: EnumDefaultedMember[]; + hasUnknownMembers: boolean; +} +interface EnumBooleanMember extends BaseNode { + type: "EnumBooleanMember"; + id: Identifier; + init: BooleanLiteral; +} +interface EnumNumberMember extends BaseNode { + type: "EnumNumberMember"; + id: Identifier; + init: NumericLiteral; +} +interface EnumStringMember extends BaseNode { + type: "EnumStringMember"; + id: Identifier; + init: StringLiteral; +} +interface EnumDefaultedMember extends BaseNode { + type: "EnumDefaultedMember"; + id: Identifier; +} +interface IndexedAccessType extends BaseNode { + type: "IndexedAccessType"; + objectType: FlowType; + indexType: FlowType; +} +interface OptionalIndexedAccessType extends BaseNode { + type: "OptionalIndexedAccessType"; + objectType: FlowType; + indexType: FlowType; + optional: boolean; +} +interface JSXAttribute extends BaseNode { + type: "JSXAttribute"; + name: JSXIdentifier | JSXNamespacedName; + value?: JSXElement | JSXFragment | StringLiteral | JSXExpressionContainer | null; +} +interface JSXClosingElement extends BaseNode { + type: "JSXClosingElement"; + name: JSXIdentifier | JSXMemberExpression | JSXNamespacedName; +} +interface JSXElement extends BaseNode { + type: "JSXElement"; + openingElement: JSXOpeningElement; + closingElement?: JSXClosingElement | null; + children: (JSXText | JSXExpressionContainer | JSXSpreadChild | JSXElement | JSXFragment)[]; + selfClosing?: boolean | null; +} +interface JSXEmptyExpression extends BaseNode { + type: "JSXEmptyExpression"; +} +interface JSXExpressionContainer extends BaseNode { + type: "JSXExpressionContainer"; + expression: Expression | JSXEmptyExpression; +} +interface JSXSpreadChild extends BaseNode { + type: "JSXSpreadChild"; + expression: Expression; +} +interface JSXIdentifier extends BaseNode { + type: "JSXIdentifier"; + name: string; +} +interface JSXMemberExpression extends BaseNode { + type: "JSXMemberExpression"; + object: JSXMemberExpression | JSXIdentifier; + property: JSXIdentifier; +} +interface JSXNamespacedName extends BaseNode { + type: "JSXNamespacedName"; + namespace: JSXIdentifier; + name: JSXIdentifier; +} +interface JSXOpeningElement extends BaseNode { + type: "JSXOpeningElement"; + name: JSXIdentifier | JSXMemberExpression | JSXNamespacedName; + attributes: (JSXAttribute | JSXSpreadAttribute)[]; + selfClosing: boolean; + typeArguments?: TypeParameterInstantiation | null; + typeParameters?: TSTypeParameterInstantiation | null; +} +interface JSXSpreadAttribute extends BaseNode { + type: "JSXSpreadAttribute"; + argument: Expression; +} +interface JSXText extends BaseNode { + type: "JSXText"; + value: string; +} +interface JSXFragment extends BaseNode { + type: "JSXFragment"; + openingFragment: JSXOpeningFragment; + closingFragment: JSXClosingFragment; + children: (JSXText | JSXExpressionContainer | JSXSpreadChild | JSXElement | JSXFragment)[]; +} +interface JSXOpeningFragment extends BaseNode { + type: "JSXOpeningFragment"; +} +interface JSXClosingFragment extends BaseNode { + type: "JSXClosingFragment"; +} +interface Noop extends BaseNode { + type: "Noop"; +} +interface Placeholder extends BaseNode { + type: "Placeholder"; + expectedNode: "Identifier" | "StringLiteral" | "Expression" | "Statement" | "Declaration" | "BlockStatement" | "ClassBody" | "Pattern"; + name: Identifier; + decorators?: Decorator[] | null; + optional?: boolean | null; + typeAnnotation?: TypeAnnotation | TSTypeAnnotation | Noop | null; +} +interface V8IntrinsicIdentifier extends BaseNode { + type: "V8IntrinsicIdentifier"; + name: string; +} +interface ArgumentPlaceholder extends BaseNode { + type: "ArgumentPlaceholder"; +} +interface BindExpression extends BaseNode { + type: "BindExpression"; + object: Expression; + callee: Expression; +} +interface Decorator extends BaseNode { + type: "Decorator"; + expression: Expression; +} +interface DoExpression extends BaseNode { + type: "DoExpression"; + body: BlockStatement; + async: boolean; +} +interface ExportDefaultSpecifier extends BaseNode { + type: "ExportDefaultSpecifier"; + exported: Identifier; +} +interface RecordExpression extends BaseNode { + type: "RecordExpression"; + properties: (ObjectProperty | SpreadElement)[]; +} +interface TupleExpression extends BaseNode { + type: "TupleExpression"; + elements: (Expression | SpreadElement)[]; +} +interface DecimalLiteral extends BaseNode { + type: "DecimalLiteral"; + value: string; +} +interface ModuleExpression extends BaseNode { + type: "ModuleExpression"; + body: Program; +} +interface TopicReference extends BaseNode { + type: "TopicReference"; +} +interface PipelineTopicExpression extends BaseNode { + type: "PipelineTopicExpression"; + expression: Expression; +} +interface PipelineBareFunction extends BaseNode { + type: "PipelineBareFunction"; + callee: Expression; +} +interface PipelinePrimaryTopicReference extends BaseNode { + type: "PipelinePrimaryTopicReference"; +} +interface VoidPattern extends BaseNode { + type: "VoidPattern"; +} +interface TSParameterProperty extends BaseNode { + type: "TSParameterProperty"; + parameter: Identifier | AssignmentPattern; + accessibility?: "public" | "private" | "protected" | null; + decorators?: Decorator[] | null; + override?: boolean | null; + readonly?: boolean | null; +} +interface TSDeclareFunction extends BaseNode { + type: "TSDeclareFunction"; + id?: Identifier | null; + typeParameters?: TSTypeParameterDeclaration | Noop | null; + params: FunctionParameter[]; + returnType?: TSTypeAnnotation | Noop | null; + async?: boolean; + declare?: boolean | null; + generator?: boolean; +} +interface TSDeclareMethod extends BaseNode { + type: "TSDeclareMethod"; + decorators?: Decorator[] | null; + key: Identifier | StringLiteral | NumericLiteral | BigIntLiteral | Expression; + typeParameters?: TSTypeParameterDeclaration | Noop | null; + params: (FunctionParameter | TSParameterProperty)[]; + returnType?: TSTypeAnnotation | Noop | null; + abstract?: boolean | null; + access?: "public" | "private" | "protected" | null; + accessibility?: "public" | "private" | "protected" | null; + async?: boolean; + computed?: boolean; + generator?: boolean; + kind?: "get" | "set" | "method" | "constructor"; + optional?: boolean | null; + override?: boolean; + static?: boolean; +} +interface TSQualifiedName extends BaseNode { + type: "TSQualifiedName"; + left: TSEntityName; + right: Identifier; +} +interface TSCallSignatureDeclaration extends BaseNode { + type: "TSCallSignatureDeclaration"; + typeParameters?: TSTypeParameterDeclaration | null; + parameters: (ArrayPattern | Identifier | ObjectPattern | RestElement)[]; + typeAnnotation?: TSTypeAnnotation | null; +} +interface TSConstructSignatureDeclaration extends BaseNode { + type: "TSConstructSignatureDeclaration"; + typeParameters?: TSTypeParameterDeclaration | null; + parameters: (ArrayPattern | Identifier | ObjectPattern | RestElement)[]; + typeAnnotation?: TSTypeAnnotation | null; +} +interface TSPropertySignature extends BaseNode { + type: "TSPropertySignature"; + key: Expression; + typeAnnotation?: TSTypeAnnotation | null; + computed?: boolean; + kind?: "get" | "set" | null; + optional?: boolean | null; + readonly?: boolean | null; +} +interface TSMethodSignature extends BaseNode { + type: "TSMethodSignature"; + key: Expression; + typeParameters?: TSTypeParameterDeclaration | null; + parameters: (ArrayPattern | Identifier | ObjectPattern | RestElement)[]; + typeAnnotation?: TSTypeAnnotation | null; + computed?: boolean; + kind: "method" | "get" | "set"; + optional?: boolean | null; +} +interface TSIndexSignature extends BaseNode { + type: "TSIndexSignature"; + parameters: Identifier[]; + typeAnnotation?: TSTypeAnnotation | null; + readonly?: boolean | null; + static?: boolean | null; +} +interface TSAnyKeyword extends BaseNode { + type: "TSAnyKeyword"; +} +interface TSBooleanKeyword extends BaseNode { + type: "TSBooleanKeyword"; +} +interface TSBigIntKeyword extends BaseNode { + type: "TSBigIntKeyword"; +} +interface TSIntrinsicKeyword extends BaseNode { + type: "TSIntrinsicKeyword"; +} +interface TSNeverKeyword extends BaseNode { + type: "TSNeverKeyword"; +} +interface TSNullKeyword extends BaseNode { + type: "TSNullKeyword"; +} +interface TSNumberKeyword extends BaseNode { + type: "TSNumberKeyword"; +} +interface TSObjectKeyword extends BaseNode { + type: "TSObjectKeyword"; +} +interface TSStringKeyword extends BaseNode { + type: "TSStringKeyword"; +} +interface TSSymbolKeyword extends BaseNode { + type: "TSSymbolKeyword"; +} +interface TSUndefinedKeyword extends BaseNode { + type: "TSUndefinedKeyword"; +} +interface TSUnknownKeyword extends BaseNode { + type: "TSUnknownKeyword"; +} +interface TSVoidKeyword extends BaseNode { + type: "TSVoidKeyword"; +} +interface TSThisType extends BaseNode { + type: "TSThisType"; +} +interface TSFunctionType extends BaseNode { + type: "TSFunctionType"; + typeParameters?: TSTypeParameterDeclaration | null; + parameters: (ArrayPattern | Identifier | ObjectPattern | RestElement)[]; + typeAnnotation?: TSTypeAnnotation | null; +} +interface TSConstructorType extends BaseNode { + type: "TSConstructorType"; + typeParameters?: TSTypeParameterDeclaration | null; + parameters: (ArrayPattern | Identifier | ObjectPattern | RestElement)[]; + typeAnnotation?: TSTypeAnnotation | null; + abstract?: boolean | null; +} +interface TSTypeReference extends BaseNode { + type: "TSTypeReference"; + typeName: TSEntityName; + typeParameters?: TSTypeParameterInstantiation | null; +} +interface TSTypePredicate extends BaseNode { + type: "TSTypePredicate"; + parameterName: Identifier | TSThisType; + typeAnnotation?: TSTypeAnnotation | null; + asserts?: boolean | null; +} +interface TSTypeQuery extends BaseNode { + type: "TSTypeQuery"; + exprName: TSEntityName | TSImportType; + typeParameters?: TSTypeParameterInstantiation | null; +} +interface TSTypeLiteral extends BaseNode { + type: "TSTypeLiteral"; + members: TSTypeElement[]; +} +interface TSArrayType extends BaseNode { + type: "TSArrayType"; + elementType: TSType; +} +interface TSTupleType extends BaseNode { + type: "TSTupleType"; + elementTypes: (TSType | TSNamedTupleMember)[]; +} +interface TSOptionalType extends BaseNode { + type: "TSOptionalType"; + typeAnnotation: TSType; +} +interface TSRestType extends BaseNode { + type: "TSRestType"; + typeAnnotation: TSType; +} +interface TSNamedTupleMember extends BaseNode { + type: "TSNamedTupleMember"; + label: Identifier; + elementType: TSType; + optional: boolean; +} +interface TSUnionType extends BaseNode { + type: "TSUnionType"; + types: TSType[]; +} +interface TSIntersectionType extends BaseNode { + type: "TSIntersectionType"; + types: TSType[]; +} +interface TSConditionalType extends BaseNode { + type: "TSConditionalType"; + checkType: TSType; + extendsType: TSType; + trueType: TSType; + falseType: TSType; +} +interface TSInferType extends BaseNode { + type: "TSInferType"; + typeParameter: TSTypeParameter; +} +interface TSParenthesizedType extends BaseNode { + type: "TSParenthesizedType"; + typeAnnotation: TSType; +} +interface TSTypeOperator extends BaseNode { + type: "TSTypeOperator"; + typeAnnotation: TSType; + operator: string; +} +interface TSIndexedAccessType extends BaseNode { + type: "TSIndexedAccessType"; + objectType: TSType; + indexType: TSType; +} +interface TSMappedType extends BaseNode { + type: "TSMappedType"; + typeParameter: TSTypeParameter; + typeAnnotation?: TSType | null; + nameType?: TSType | null; + optional?: true | false | "+" | "-" | null; + readonly?: true | false | "+" | "-" | null; +} +interface TSTemplateLiteralType extends BaseNode { + type: "TSTemplateLiteralType"; + quasis: TemplateElement[]; + types: TSType[]; +} +interface TSLiteralType extends BaseNode { + type: "TSLiteralType"; + literal: NumericLiteral | StringLiteral | BooleanLiteral | BigIntLiteral | TemplateLiteral | UnaryExpression; +} +interface TSExpressionWithTypeArguments extends BaseNode { + type: "TSExpressionWithTypeArguments"; + expression: TSEntityName; + typeParameters?: TSTypeParameterInstantiation | null; +} +interface TSInterfaceDeclaration extends BaseNode { + type: "TSInterfaceDeclaration"; + id: Identifier; + typeParameters?: TSTypeParameterDeclaration | null; + extends?: TSExpressionWithTypeArguments[] | null; + body: TSInterfaceBody; + declare?: boolean | null; +} +interface TSInterfaceBody extends BaseNode { + type: "TSInterfaceBody"; + body: TSTypeElement[]; +} +interface TSTypeAliasDeclaration extends BaseNode { + type: "TSTypeAliasDeclaration"; + id: Identifier; + typeParameters?: TSTypeParameterDeclaration | null; + typeAnnotation: TSType; + declare?: boolean | null; +} +interface TSInstantiationExpression extends BaseNode { + type: "TSInstantiationExpression"; + expression: Expression; + typeParameters?: TSTypeParameterInstantiation | null; +} +interface TSAsExpression extends BaseNode { + type: "TSAsExpression"; + expression: Expression; + typeAnnotation: TSType; +} +interface TSSatisfiesExpression extends BaseNode { + type: "TSSatisfiesExpression"; + expression: Expression; + typeAnnotation: TSType; +} +interface TSTypeAssertion extends BaseNode { + type: "TSTypeAssertion"; + typeAnnotation: TSType; + expression: Expression; +} +interface TSEnumBody extends BaseNode { + type: "TSEnumBody"; + members: TSEnumMember[]; +} +interface TSEnumDeclaration extends BaseNode { + type: "TSEnumDeclaration"; + id: Identifier; + members: TSEnumMember[]; + body?: TSEnumBody | null; + const?: boolean | null; + declare?: boolean | null; + initializer?: Expression | null; +} +interface TSEnumMember extends BaseNode { + type: "TSEnumMember"; + id: Identifier | StringLiteral; + initializer?: Expression | null; +} +interface TSModuleDeclaration extends BaseNode { + type: "TSModuleDeclaration"; + id: Identifier | StringLiteral; + body: TSModuleBlock | TSModuleDeclaration; + declare?: boolean | null; + global?: boolean | null; + kind: "global" | "module" | "namespace"; +} +interface TSModuleBlock extends BaseNode { + type: "TSModuleBlock"; + body: Statement[]; +} +interface TSImportType extends BaseNode { + type: "TSImportType"; + argument: StringLiteral; + qualifier?: TSEntityName | null; + typeParameters?: TSTypeParameterInstantiation | null; + options?: ObjectExpression | null; +} +interface TSImportEqualsDeclaration extends BaseNode { + type: "TSImportEqualsDeclaration"; + id: Identifier; + moduleReference: TSEntityName | TSExternalModuleReference; + importKind?: "type" | "value" | null; + isExport: boolean; +} +interface TSExternalModuleReference extends BaseNode { + type: "TSExternalModuleReference"; + expression: StringLiteral; +} +interface TSNonNullExpression extends BaseNode { + type: "TSNonNullExpression"; + expression: Expression; +} +interface TSExportAssignment extends BaseNode { + type: "TSExportAssignment"; + expression: Expression; +} +interface TSNamespaceExportDeclaration extends BaseNode { + type: "TSNamespaceExportDeclaration"; + id: Identifier; +} +interface TSTypeAnnotation extends BaseNode { + type: "TSTypeAnnotation"; + typeAnnotation: TSType; +} +interface TSTypeParameterInstantiation extends BaseNode { + type: "TSTypeParameterInstantiation"; + params: TSType[]; +} +interface TSTypeParameterDeclaration extends BaseNode { + type: "TSTypeParameterDeclaration"; + params: TSTypeParameter[]; +} +interface TSTypeParameter extends BaseNode { + type: "TSTypeParameter"; + constraint?: TSType | null; + default?: TSType | null; + name: string; + const?: boolean | null; + in?: boolean | null; + out?: boolean | null; +} +type Standardized = ArrayExpression | AssignmentExpression | BinaryExpression | InterpreterDirective | Directive | DirectiveLiteral | BlockStatement | BreakStatement | CallExpression | CatchClause | ConditionalExpression | ContinueStatement | DebuggerStatement | DoWhileStatement | EmptyStatement | ExpressionStatement | File | ForInStatement | ForStatement | FunctionDeclaration | FunctionExpression | Identifier | IfStatement | LabeledStatement | StringLiteral | NumericLiteral | NullLiteral | BooleanLiteral | RegExpLiteral | LogicalExpression | MemberExpression | NewExpression | Program | ObjectExpression | ObjectMethod | ObjectProperty | RestElement | ReturnStatement | SequenceExpression | ParenthesizedExpression | SwitchCase | SwitchStatement | ThisExpression | ThrowStatement | TryStatement | UnaryExpression | UpdateExpression | VariableDeclaration | VariableDeclarator | WhileStatement | WithStatement | AssignmentPattern | ArrayPattern | ArrowFunctionExpression | ClassBody | ClassExpression | ClassDeclaration | ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration | ExportSpecifier | ForOfStatement | ImportDeclaration | ImportDefaultSpecifier | ImportNamespaceSpecifier | ImportSpecifier | ImportExpression | MetaProperty | ClassMethod | ObjectPattern | SpreadElement | Super | TaggedTemplateExpression | TemplateElement | TemplateLiteral | YieldExpression | AwaitExpression | Import | BigIntLiteral | ExportNamespaceSpecifier | OptionalMemberExpression | OptionalCallExpression | ClassProperty | ClassAccessorProperty | ClassPrivateProperty | ClassPrivateMethod | PrivateName | StaticBlock | ImportAttribute; +type Expression = ArrayExpression | AssignmentExpression | BinaryExpression | CallExpression | ConditionalExpression | FunctionExpression | Identifier | StringLiteral | NumericLiteral | NullLiteral | BooleanLiteral | RegExpLiteral | LogicalExpression | MemberExpression | NewExpression | ObjectExpression | SequenceExpression | ParenthesizedExpression | ThisExpression | UnaryExpression | UpdateExpression | ArrowFunctionExpression | ClassExpression | ImportExpression | MetaProperty | Super | TaggedTemplateExpression | TemplateLiteral | YieldExpression | AwaitExpression | Import | BigIntLiteral | OptionalMemberExpression | OptionalCallExpression | TypeCastExpression | JSXElement | JSXFragment | BindExpression | DoExpression | RecordExpression | TupleExpression | DecimalLiteral | ModuleExpression | TopicReference | PipelineTopicExpression | PipelineBareFunction | PipelinePrimaryTopicReference | TSInstantiationExpression | TSAsExpression | TSSatisfiesExpression | TSTypeAssertion | TSNonNullExpression; +type Binary = BinaryExpression | LogicalExpression; +type Scopable = BlockStatement | CatchClause | DoWhileStatement | ForInStatement | ForStatement | FunctionDeclaration | FunctionExpression | Program | ObjectMethod | SwitchStatement | WhileStatement | ArrowFunctionExpression | ClassExpression | ClassDeclaration | ForOfStatement | ClassMethod | ClassPrivateMethod | StaticBlock | TSModuleBlock; +type BlockParent = BlockStatement | CatchClause | DoWhileStatement | ForInStatement | ForStatement | FunctionDeclaration | FunctionExpression | Program | ObjectMethod | SwitchStatement | WhileStatement | ArrowFunctionExpression | ForOfStatement | ClassMethod | ClassPrivateMethod | StaticBlock | TSModuleBlock; +type Block = BlockStatement | Program | TSModuleBlock; +type Statement = BlockStatement | BreakStatement | ContinueStatement | DebuggerStatement | DoWhileStatement | EmptyStatement | ExpressionStatement | ForInStatement | ForStatement | FunctionDeclaration | IfStatement | LabeledStatement | ReturnStatement | SwitchStatement | ThrowStatement | TryStatement | VariableDeclaration | WhileStatement | WithStatement | ClassDeclaration | ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration | ForOfStatement | ImportDeclaration | DeclareClass | DeclareFunction | DeclareInterface | DeclareModule | DeclareModuleExports | DeclareTypeAlias | DeclareOpaqueType | DeclareVariable | DeclareExportDeclaration | DeclareExportAllDeclaration | InterfaceDeclaration | OpaqueType | TypeAlias | EnumDeclaration | TSDeclareFunction | TSInterfaceDeclaration | TSTypeAliasDeclaration | TSEnumDeclaration | TSModuleDeclaration | TSImportEqualsDeclaration | TSExportAssignment | TSNamespaceExportDeclaration; +type Terminatorless = BreakStatement | ContinueStatement | ReturnStatement | ThrowStatement | YieldExpression | AwaitExpression; +type CompletionStatement = BreakStatement | ContinueStatement | ReturnStatement | ThrowStatement; +type Conditional = ConditionalExpression | IfStatement; +type Loop = DoWhileStatement | ForInStatement | ForStatement | WhileStatement | ForOfStatement; +type While = DoWhileStatement | WhileStatement; +type ExpressionWrapper = ExpressionStatement | ParenthesizedExpression | TypeCastExpression; +type For = ForInStatement | ForStatement | ForOfStatement; +type ForXStatement = ForInStatement | ForOfStatement; +type Function = FunctionDeclaration | FunctionExpression | ObjectMethod | ArrowFunctionExpression | ClassMethod | ClassPrivateMethod; +type FunctionParent = FunctionDeclaration | FunctionExpression | ObjectMethod | ArrowFunctionExpression | ClassMethod | ClassPrivateMethod | StaticBlock | TSModuleBlock; +type Pureish = FunctionDeclaration | FunctionExpression | StringLiteral | NumericLiteral | NullLiteral | BooleanLiteral | RegExpLiteral | ArrowFunctionExpression | BigIntLiteral | DecimalLiteral; +type Declaration = FunctionDeclaration | VariableDeclaration | ClassDeclaration | ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration | ImportDeclaration | DeclareClass | DeclareFunction | DeclareInterface | DeclareModule | DeclareModuleExports | DeclareTypeAlias | DeclareOpaqueType | DeclareVariable | DeclareExportDeclaration | DeclareExportAllDeclaration | InterfaceDeclaration | OpaqueType | TypeAlias | EnumDeclaration | TSDeclareFunction | TSInterfaceDeclaration | TSTypeAliasDeclaration | TSEnumDeclaration | TSModuleDeclaration | TSImportEqualsDeclaration; +type FunctionParameter = Identifier | RestElement | AssignmentPattern | ArrayPattern | ObjectPattern | VoidPattern; +type PatternLike = Identifier | MemberExpression | RestElement | AssignmentPattern | ArrayPattern | ObjectPattern | VoidPattern | TSAsExpression | TSSatisfiesExpression | TSTypeAssertion | TSNonNullExpression; +type LVal = Identifier | MemberExpression | RestElement | AssignmentPattern | ArrayPattern | ObjectPattern | TSParameterProperty | TSAsExpression | TSSatisfiesExpression | TSTypeAssertion | TSNonNullExpression; +type TSEntityName = Identifier | TSQualifiedName; +type Literal = StringLiteral | NumericLiteral | NullLiteral | BooleanLiteral | RegExpLiteral | TemplateLiteral | BigIntLiteral | DecimalLiteral; +type Immutable = StringLiteral | NumericLiteral | NullLiteral | BooleanLiteral | BigIntLiteral | JSXAttribute | JSXClosingElement | JSXElement | JSXExpressionContainer | JSXSpreadChild | JSXOpeningElement | JSXText | JSXFragment | JSXOpeningFragment | JSXClosingFragment | DecimalLiteral; +type UserWhitespacable = ObjectMethod | ObjectProperty | ObjectTypeInternalSlot | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeProperty | ObjectTypeSpreadProperty; +type Method = ObjectMethod | ClassMethod | ClassPrivateMethod; +type ObjectMember = ObjectMethod | ObjectProperty; +type Property = ObjectProperty | ClassProperty | ClassAccessorProperty | ClassPrivateProperty; +type UnaryLike = UnaryExpression | SpreadElement; +type Pattern = AssignmentPattern | ArrayPattern | ObjectPattern | VoidPattern; +type Class = ClassExpression | ClassDeclaration; +type ImportOrExportDeclaration = ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration | ImportDeclaration; +type ExportDeclaration = ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration; +type ModuleSpecifier = ExportSpecifier | ImportDefaultSpecifier | ImportNamespaceSpecifier | ImportSpecifier | ExportNamespaceSpecifier | ExportDefaultSpecifier; +type Accessor = ClassAccessorProperty; +type Private = ClassPrivateProperty | ClassPrivateMethod | PrivateName; +type Flow = AnyTypeAnnotation | ArrayTypeAnnotation | BooleanTypeAnnotation | BooleanLiteralTypeAnnotation | NullLiteralTypeAnnotation | ClassImplements | DeclareClass | DeclareFunction | DeclareInterface | DeclareModule | DeclareModuleExports | DeclareTypeAlias | DeclareOpaqueType | DeclareVariable | DeclareExportDeclaration | DeclareExportAllDeclaration | DeclaredPredicate | ExistsTypeAnnotation | FunctionTypeAnnotation | FunctionTypeParam | GenericTypeAnnotation | InferredPredicate | InterfaceExtends | InterfaceDeclaration | InterfaceTypeAnnotation | IntersectionTypeAnnotation | MixedTypeAnnotation | EmptyTypeAnnotation | NullableTypeAnnotation | NumberLiteralTypeAnnotation | NumberTypeAnnotation | ObjectTypeAnnotation | ObjectTypeInternalSlot | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeProperty | ObjectTypeSpreadProperty | OpaqueType | QualifiedTypeIdentifier | StringLiteralTypeAnnotation | StringTypeAnnotation | SymbolTypeAnnotation | ThisTypeAnnotation | TupleTypeAnnotation | TypeofTypeAnnotation | TypeAlias | TypeAnnotation | TypeCastExpression | TypeParameter | TypeParameterDeclaration | TypeParameterInstantiation | UnionTypeAnnotation | Variance | VoidTypeAnnotation | EnumDeclaration | EnumBooleanBody | EnumNumberBody | EnumStringBody | EnumSymbolBody | EnumBooleanMember | EnumNumberMember | EnumStringMember | EnumDefaultedMember | IndexedAccessType | OptionalIndexedAccessType; +type FlowType = AnyTypeAnnotation | ArrayTypeAnnotation | BooleanTypeAnnotation | BooleanLiteralTypeAnnotation | NullLiteralTypeAnnotation | ExistsTypeAnnotation | FunctionTypeAnnotation | GenericTypeAnnotation | InterfaceTypeAnnotation | IntersectionTypeAnnotation | MixedTypeAnnotation | EmptyTypeAnnotation | NullableTypeAnnotation | NumberLiteralTypeAnnotation | NumberTypeAnnotation | ObjectTypeAnnotation | StringLiteralTypeAnnotation | StringTypeAnnotation | SymbolTypeAnnotation | ThisTypeAnnotation | TupleTypeAnnotation | TypeofTypeAnnotation | UnionTypeAnnotation | VoidTypeAnnotation | IndexedAccessType | OptionalIndexedAccessType; +type FlowBaseAnnotation = AnyTypeAnnotation | BooleanTypeAnnotation | NullLiteralTypeAnnotation | MixedTypeAnnotation | EmptyTypeAnnotation | NumberTypeAnnotation | StringTypeAnnotation | SymbolTypeAnnotation | ThisTypeAnnotation | VoidTypeAnnotation; +type FlowDeclaration = DeclareClass | DeclareFunction | DeclareInterface | DeclareModule | DeclareModuleExports | DeclareTypeAlias | DeclareOpaqueType | DeclareVariable | DeclareExportDeclaration | DeclareExportAllDeclaration | InterfaceDeclaration | OpaqueType | TypeAlias; +type FlowPredicate = DeclaredPredicate | InferredPredicate; +type EnumBody = EnumBooleanBody | EnumNumberBody | EnumStringBody | EnumSymbolBody; +type EnumMember = EnumBooleanMember | EnumNumberMember | EnumStringMember | EnumDefaultedMember; +type JSX = JSXAttribute | JSXClosingElement | JSXElement | JSXEmptyExpression | JSXExpressionContainer | JSXSpreadChild | JSXIdentifier | JSXMemberExpression | JSXNamespacedName | JSXOpeningElement | JSXSpreadAttribute | JSXText | JSXFragment | JSXOpeningFragment | JSXClosingFragment; +type Miscellaneous = Noop | Placeholder | V8IntrinsicIdentifier; +type TypeScript = TSParameterProperty | TSDeclareFunction | TSDeclareMethod | TSQualifiedName | TSCallSignatureDeclaration | TSConstructSignatureDeclaration | TSPropertySignature | TSMethodSignature | TSIndexSignature | TSAnyKeyword | TSBooleanKeyword | TSBigIntKeyword | TSIntrinsicKeyword | TSNeverKeyword | TSNullKeyword | TSNumberKeyword | TSObjectKeyword | TSStringKeyword | TSSymbolKeyword | TSUndefinedKeyword | TSUnknownKeyword | TSVoidKeyword | TSThisType | TSFunctionType | TSConstructorType | TSTypeReference | TSTypePredicate | TSTypeQuery | TSTypeLiteral | TSArrayType | TSTupleType | TSOptionalType | TSRestType | TSNamedTupleMember | TSUnionType | TSIntersectionType | TSConditionalType | TSInferType | TSParenthesizedType | TSTypeOperator | TSIndexedAccessType | TSMappedType | TSTemplateLiteralType | TSLiteralType | TSExpressionWithTypeArguments | TSInterfaceDeclaration | TSInterfaceBody | TSTypeAliasDeclaration | TSInstantiationExpression | TSAsExpression | TSSatisfiesExpression | TSTypeAssertion | TSEnumBody | TSEnumDeclaration | TSEnumMember | TSModuleDeclaration | TSModuleBlock | TSImportType | TSImportEqualsDeclaration | TSExternalModuleReference | TSNonNullExpression | TSExportAssignment | TSNamespaceExportDeclaration | TSTypeAnnotation | TSTypeParameterInstantiation | TSTypeParameterDeclaration | TSTypeParameter; +type TSTypeElement = TSCallSignatureDeclaration | TSConstructSignatureDeclaration | TSPropertySignature | TSMethodSignature | TSIndexSignature; +type TSType = TSAnyKeyword | TSBooleanKeyword | TSBigIntKeyword | TSIntrinsicKeyword | TSNeverKeyword | TSNullKeyword | TSNumberKeyword | TSObjectKeyword | TSStringKeyword | TSSymbolKeyword | TSUndefinedKeyword | TSUnknownKeyword | TSVoidKeyword | TSThisType | TSFunctionType | TSConstructorType | TSTypeReference | TSTypePredicate | TSTypeQuery | TSTypeLiteral | TSArrayType | TSTupleType | TSOptionalType | TSRestType | TSUnionType | TSIntersectionType | TSConditionalType | TSInferType | TSParenthesizedType | TSTypeOperator | TSIndexedAccessType | TSMappedType | TSTemplateLiteralType | TSLiteralType | TSExpressionWithTypeArguments | TSImportType; +type TSBaseType = TSAnyKeyword | TSBooleanKeyword | TSBigIntKeyword | TSIntrinsicKeyword | TSNeverKeyword | TSNullKeyword | TSNumberKeyword | TSObjectKeyword | TSStringKeyword | TSSymbolKeyword | TSUndefinedKeyword | TSUnknownKeyword | TSVoidKeyword | TSThisType | TSTemplateLiteralType | TSLiteralType; +type ModuleDeclaration = ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration | ImportDeclaration; +interface Aliases { + Standardized: Standardized; + Expression: Expression; + Binary: Binary; + Scopable: Scopable; + BlockParent: BlockParent; + Block: Block; + Statement: Statement; + Terminatorless: Terminatorless; + CompletionStatement: CompletionStatement; + Conditional: Conditional; + Loop: Loop; + While: While; + ExpressionWrapper: ExpressionWrapper; + For: For; + ForXStatement: ForXStatement; + Function: Function; + FunctionParent: FunctionParent; + Pureish: Pureish; + Declaration: Declaration; + FunctionParameter: FunctionParameter; + PatternLike: PatternLike; + LVal: LVal; + TSEntityName: TSEntityName; + Literal: Literal; + Immutable: Immutable; + UserWhitespacable: UserWhitespacable; + Method: Method; + ObjectMember: ObjectMember; + Property: Property; + UnaryLike: UnaryLike; + Pattern: Pattern; + Class: Class; + ImportOrExportDeclaration: ImportOrExportDeclaration; + ExportDeclaration: ExportDeclaration; + ModuleSpecifier: ModuleSpecifier; + Accessor: Accessor; + Private: Private; + Flow: Flow; + FlowType: FlowType; + FlowBaseAnnotation: FlowBaseAnnotation; + FlowDeclaration: FlowDeclaration; + FlowPredicate: FlowPredicate; + EnumBody: EnumBody; + EnumMember: EnumMember; + JSX: JSX; + Miscellaneous: Miscellaneous; + TypeScript: TypeScript; + TSTypeElement: TSTypeElement; + TSType: TSType; + TSBaseType: TSBaseType; + ModuleDeclaration: ModuleDeclaration; +} +type DeprecatedAliases = NumberLiteral$1 | RegexLiteral$1 | RestProperty$1 | SpreadProperty$1; +interface ParentMaps { + AnyTypeAnnotation: ArrayTypeAnnotation | DeclareExportDeclaration | DeclareOpaqueType | DeclareTypeAlias | DeclaredPredicate | FunctionTypeAnnotation | FunctionTypeParam | IndexedAccessType | IntersectionTypeAnnotation | NullableTypeAnnotation | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeInternalSlot | ObjectTypeProperty | ObjectTypeSpreadProperty | OpaqueType | OptionalIndexedAccessType | TupleTypeAnnotation | TypeAlias | TypeAnnotation | TypeParameter | TypeParameterInstantiation | TypeofTypeAnnotation | UnionTypeAnnotation; + ArgumentPlaceholder: CallExpression | NewExpression | OptionalCallExpression; + ArrayExpression: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + ArrayPattern: ArrayPattern | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | CatchClause | ClassMethod | ClassPrivateMethod | ForInStatement | ForOfStatement | FunctionDeclaration | FunctionExpression | ObjectMethod | ObjectProperty | RestElement | TSCallSignatureDeclaration | TSConstructSignatureDeclaration | TSConstructorType | TSDeclareFunction | TSDeclareMethod | TSFunctionType | TSMethodSignature | VariableDeclarator; + ArrayTypeAnnotation: ArrayTypeAnnotation | DeclareExportDeclaration | DeclareOpaqueType | DeclareTypeAlias | DeclaredPredicate | FunctionTypeAnnotation | FunctionTypeParam | IndexedAccessType | IntersectionTypeAnnotation | NullableTypeAnnotation | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeInternalSlot | ObjectTypeProperty | ObjectTypeSpreadProperty | OpaqueType | OptionalIndexedAccessType | TupleTypeAnnotation | TypeAlias | TypeAnnotation | TypeParameter | TypeParameterInstantiation | TypeofTypeAnnotation | UnionTypeAnnotation; + ArrowFunctionExpression: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + AssignmentExpression: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + AssignmentPattern: ArrayPattern | ArrowFunctionExpression | AssignmentExpression | ClassMethod | ClassPrivateMethod | ForInStatement | ForOfStatement | FunctionDeclaration | FunctionExpression | ObjectMethod | ObjectProperty | RestElement | TSDeclareFunction | TSDeclareMethod | TSParameterProperty | VariableDeclarator; + AwaitExpression: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + BigIntLiteral: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSLiteralType | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + BinaryExpression: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + BindExpression: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + BlockStatement: ArrowFunctionExpression | BlockStatement | CatchClause | ClassMethod | ClassPrivateMethod | DeclareModule | DoExpression | DoWhileStatement | ForInStatement | ForOfStatement | ForStatement | FunctionDeclaration | FunctionExpression | IfStatement | LabeledStatement | ObjectMethod | Program | StaticBlock | SwitchCase | TSModuleBlock | TryStatement | WhileStatement | WithStatement; + BooleanLiteral: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | EnumBooleanMember | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSLiteralType | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + BooleanLiteralTypeAnnotation: ArrayTypeAnnotation | DeclareExportDeclaration | DeclareOpaqueType | DeclareTypeAlias | DeclaredPredicate | FunctionTypeAnnotation | FunctionTypeParam | IndexedAccessType | IntersectionTypeAnnotation | NullableTypeAnnotation | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeInternalSlot | ObjectTypeProperty | ObjectTypeSpreadProperty | OpaqueType | OptionalIndexedAccessType | TupleTypeAnnotation | TypeAlias | TypeAnnotation | TypeParameter | TypeParameterInstantiation | TypeofTypeAnnotation | UnionTypeAnnotation; + BooleanTypeAnnotation: ArrayTypeAnnotation | DeclareExportDeclaration | DeclareOpaqueType | DeclareTypeAlias | DeclaredPredicate | FunctionTypeAnnotation | FunctionTypeParam | IndexedAccessType | IntersectionTypeAnnotation | NullableTypeAnnotation | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeInternalSlot | ObjectTypeProperty | ObjectTypeSpreadProperty | OpaqueType | OptionalIndexedAccessType | TupleTypeAnnotation | TypeAlias | TypeAnnotation | TypeParameter | TypeParameterInstantiation | TypeofTypeAnnotation | UnionTypeAnnotation; + BreakStatement: BlockStatement | DoWhileStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; + CallExpression: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + CatchClause: TryStatement; + ClassAccessorProperty: ClassBody; + ClassBody: ClassDeclaration | ClassExpression; + ClassDeclaration: BlockStatement | DoWhileStatement | ExportDefaultDeclaration | ExportNamedDeclaration | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; + ClassExpression: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + ClassImplements: ClassDeclaration | ClassExpression | DeclareClass | DeclareExportDeclaration | DeclaredPredicate; + ClassMethod: ClassBody; + ClassPrivateMethod: ClassBody; + ClassPrivateProperty: ClassBody; + ClassProperty: ClassBody; + CommentBlock: File; + CommentLine: File; + ConditionalExpression: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + ContinueStatement: BlockStatement | DoWhileStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; + DebuggerStatement: BlockStatement | DoWhileStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; + DecimalLiteral: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + DeclareClass: BlockStatement | DeclareExportDeclaration | DeclaredPredicate | DoWhileStatement | ExportNamedDeclaration | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; + DeclareExportAllDeclaration: BlockStatement | DeclareExportDeclaration | DeclaredPredicate | DoWhileStatement | ExportNamedDeclaration | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; + DeclareExportDeclaration: BlockStatement | DeclareExportDeclaration | DeclaredPredicate | DoWhileStatement | ExportNamedDeclaration | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; + DeclareFunction: BlockStatement | DeclareExportDeclaration | DeclaredPredicate | DoWhileStatement | ExportNamedDeclaration | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; + DeclareInterface: BlockStatement | DeclareExportDeclaration | DeclaredPredicate | DoWhileStatement | ExportNamedDeclaration | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; + DeclareModule: BlockStatement | DeclareExportDeclaration | DeclaredPredicate | DoWhileStatement | ExportNamedDeclaration | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; + DeclareModuleExports: BlockStatement | DeclareExportDeclaration | DeclaredPredicate | DoWhileStatement | ExportNamedDeclaration | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; + DeclareOpaqueType: BlockStatement | DeclareExportDeclaration | DeclaredPredicate | DoWhileStatement | ExportNamedDeclaration | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; + DeclareTypeAlias: BlockStatement | DeclareExportDeclaration | DeclaredPredicate | DoWhileStatement | ExportNamedDeclaration | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; + DeclareVariable: BlockStatement | DeclareExportDeclaration | DeclaredPredicate | DoWhileStatement | ExportNamedDeclaration | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; + DeclaredPredicate: ArrowFunctionExpression | DeclareExportDeclaration | DeclareFunction | DeclaredPredicate | FunctionDeclaration | FunctionExpression; + Decorator: ArrayPattern | AssignmentPattern | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateMethod | ClassPrivateProperty | ClassProperty | Identifier | ObjectMethod | ObjectPattern | ObjectProperty | Placeholder | RestElement | TSDeclareMethod | TSParameterProperty; + Directive: BlockStatement | Program; + DirectiveLiteral: Directive; + DoExpression: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + DoWhileStatement: BlockStatement | DoWhileStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; + EmptyStatement: BlockStatement | DoWhileStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; + EmptyTypeAnnotation: ArrayTypeAnnotation | DeclareExportDeclaration | DeclareOpaqueType | DeclareTypeAlias | DeclaredPredicate | FunctionTypeAnnotation | FunctionTypeParam | IndexedAccessType | IntersectionTypeAnnotation | NullableTypeAnnotation | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeInternalSlot | ObjectTypeProperty | ObjectTypeSpreadProperty | OpaqueType | OptionalIndexedAccessType | TupleTypeAnnotation | TypeAlias | TypeAnnotation | TypeParameter | TypeParameterInstantiation | TypeofTypeAnnotation | UnionTypeAnnotation; + EnumBooleanBody: DeclareExportDeclaration | DeclaredPredicate | EnumDeclaration; + EnumBooleanMember: DeclareExportDeclaration | DeclaredPredicate | EnumBooleanBody; + EnumDeclaration: BlockStatement | DeclareExportDeclaration | DeclaredPredicate | DoWhileStatement | ExportNamedDeclaration | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; + EnumDefaultedMember: DeclareExportDeclaration | DeclaredPredicate | EnumStringBody | EnumSymbolBody; + EnumNumberBody: DeclareExportDeclaration | DeclaredPredicate | EnumDeclaration; + EnumNumberMember: DeclareExportDeclaration | DeclaredPredicate | EnumNumberBody; + EnumStringBody: DeclareExportDeclaration | DeclaredPredicate | EnumDeclaration; + EnumStringMember: DeclareExportDeclaration | DeclaredPredicate | EnumStringBody; + EnumSymbolBody: DeclareExportDeclaration | DeclaredPredicate | EnumDeclaration; + ExistsTypeAnnotation: ArrayTypeAnnotation | DeclareExportDeclaration | DeclareOpaqueType | DeclareTypeAlias | DeclaredPredicate | FunctionTypeAnnotation | FunctionTypeParam | IndexedAccessType | IntersectionTypeAnnotation | NullableTypeAnnotation | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeInternalSlot | ObjectTypeProperty | ObjectTypeSpreadProperty | OpaqueType | OptionalIndexedAccessType | TupleTypeAnnotation | TypeAlias | TypeAnnotation | TypeParameter | TypeParameterInstantiation | TypeofTypeAnnotation | UnionTypeAnnotation; + ExportAllDeclaration: BlockStatement | DoWhileStatement | ExportNamedDeclaration | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; + ExportDefaultDeclaration: BlockStatement | DoWhileStatement | ExportNamedDeclaration | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; + ExportDefaultSpecifier: ExportNamedDeclaration; + ExportNamedDeclaration: BlockStatement | DoWhileStatement | ExportNamedDeclaration | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; + ExportNamespaceSpecifier: DeclareExportDeclaration | ExportNamedDeclaration; + ExportSpecifier: DeclareExportDeclaration | ExportNamedDeclaration; + ExpressionStatement: BlockStatement | DoWhileStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; + File: null; + ForInStatement: BlockStatement | DoWhileStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; + ForOfStatement: BlockStatement | DoWhileStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; + ForStatement: BlockStatement | DoWhileStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; + FunctionDeclaration: BlockStatement | DoWhileStatement | ExportDefaultDeclaration | ExportNamedDeclaration | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; + FunctionExpression: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + FunctionTypeAnnotation: ArrayTypeAnnotation | DeclareExportDeclaration | DeclareOpaqueType | DeclareTypeAlias | DeclaredPredicate | FunctionTypeAnnotation | FunctionTypeParam | IndexedAccessType | IntersectionTypeAnnotation | NullableTypeAnnotation | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeInternalSlot | ObjectTypeProperty | ObjectTypeSpreadProperty | OpaqueType | OptionalIndexedAccessType | TupleTypeAnnotation | TypeAlias | TypeAnnotation | TypeParameter | TypeParameterInstantiation | TypeofTypeAnnotation | UnionTypeAnnotation; + FunctionTypeParam: DeclareExportDeclaration | DeclaredPredicate | FunctionTypeAnnotation; + GenericTypeAnnotation: ArrayTypeAnnotation | DeclareExportDeclaration | DeclareOpaqueType | DeclareTypeAlias | DeclaredPredicate | FunctionTypeAnnotation | FunctionTypeParam | IndexedAccessType | IntersectionTypeAnnotation | NullableTypeAnnotation | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeInternalSlot | ObjectTypeProperty | ObjectTypeSpreadProperty | OpaqueType | OptionalIndexedAccessType | TupleTypeAnnotation | TypeAlias | TypeAnnotation | TypeParameter | TypeParameterInstantiation | TypeofTypeAnnotation | UnionTypeAnnotation; + Identifier: ArrayExpression | ArrayPattern | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | BreakStatement | CallExpression | CatchClause | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassImplements | ClassMethod | ClassPrivateMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | ContinueStatement | DeclareClass | DeclareFunction | DeclareInterface | DeclareModule | DeclareOpaqueType | DeclareTypeAlias | DeclareVariable | Decorator | DoWhileStatement | EnumBooleanMember | EnumDeclaration | EnumDefaultedMember | EnumNumberMember | EnumStringMember | ExportDefaultDeclaration | ExportDefaultSpecifier | ExportNamespaceSpecifier | ExportSpecifier | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | FunctionDeclaration | FunctionExpression | FunctionTypeParam | GenericTypeAnnotation | IfStatement | ImportAttribute | ImportDefaultSpecifier | ImportExpression | ImportNamespaceSpecifier | ImportSpecifier | InterfaceDeclaration | InterfaceExtends | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LabeledStatement | LogicalExpression | MemberExpression | MetaProperty | NewExpression | ObjectMethod | ObjectProperty | ObjectTypeIndexer | ObjectTypeInternalSlot | ObjectTypeProperty | OpaqueType | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | Placeholder | PrivateName | QualifiedTypeIdentifier | RestElement | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSCallSignatureDeclaration | TSConstructSignatureDeclaration | TSConstructorType | TSDeclareFunction | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSExpressionWithTypeArguments | TSFunctionType | TSImportEqualsDeclaration | TSImportType | TSIndexSignature | TSInstantiationExpression | TSInterfaceDeclaration | TSMethodSignature | TSModuleDeclaration | TSNamedTupleMember | TSNamespaceExportDeclaration | TSNonNullExpression | TSParameterProperty | TSPropertySignature | TSQualifiedName | TSSatisfiesExpression | TSTypeAliasDeclaration | TSTypeAssertion | TSTypePredicate | TSTypeQuery | TSTypeReference | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeAlias | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + IfStatement: BlockStatement | DoWhileStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; + Import: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + ImportAttribute: DeclareExportAllDeclaration | DeclareExportDeclaration | ExportAllDeclaration | ExportNamedDeclaration | ImportDeclaration; + ImportDeclaration: BlockStatement | DoWhileStatement | ExportNamedDeclaration | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; + ImportDefaultSpecifier: ImportDeclaration; + ImportExpression: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + ImportNamespaceSpecifier: ImportDeclaration; + ImportSpecifier: ImportDeclaration; + IndexedAccessType: ArrayTypeAnnotation | DeclareExportDeclaration | DeclareOpaqueType | DeclareTypeAlias | DeclaredPredicate | FunctionTypeAnnotation | FunctionTypeParam | IndexedAccessType | IntersectionTypeAnnotation | NullableTypeAnnotation | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeInternalSlot | ObjectTypeProperty | ObjectTypeSpreadProperty | OpaqueType | OptionalIndexedAccessType | TupleTypeAnnotation | TypeAlias | TypeAnnotation | TypeParameter | TypeParameterInstantiation | TypeofTypeAnnotation | UnionTypeAnnotation; + InferredPredicate: ArrowFunctionExpression | DeclareExportDeclaration | DeclaredPredicate | FunctionDeclaration | FunctionExpression; + InterfaceDeclaration: BlockStatement | DeclareExportDeclaration | DeclaredPredicate | DoWhileStatement | ExportNamedDeclaration | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; + InterfaceExtends: ClassDeclaration | ClassExpression | DeclareClass | DeclareExportDeclaration | DeclareInterface | DeclaredPredicate | InterfaceDeclaration | InterfaceTypeAnnotation; + InterfaceTypeAnnotation: ArrayTypeAnnotation | DeclareExportDeclaration | DeclareOpaqueType | DeclareTypeAlias | DeclaredPredicate | FunctionTypeAnnotation | FunctionTypeParam | IndexedAccessType | IntersectionTypeAnnotation | NullableTypeAnnotation | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeInternalSlot | ObjectTypeProperty | ObjectTypeSpreadProperty | OpaqueType | OptionalIndexedAccessType | TupleTypeAnnotation | TypeAlias | TypeAnnotation | TypeParameter | TypeParameterInstantiation | TypeofTypeAnnotation | UnionTypeAnnotation; + InterpreterDirective: Program; + IntersectionTypeAnnotation: ArrayTypeAnnotation | DeclareExportDeclaration | DeclareOpaqueType | DeclareTypeAlias | DeclaredPredicate | FunctionTypeAnnotation | FunctionTypeParam | IndexedAccessType | IntersectionTypeAnnotation | NullableTypeAnnotation | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeInternalSlot | ObjectTypeProperty | ObjectTypeSpreadProperty | OpaqueType | OptionalIndexedAccessType | TupleTypeAnnotation | TypeAlias | TypeAnnotation | TypeParameter | TypeParameterInstantiation | TypeofTypeAnnotation | UnionTypeAnnotation; + JSXAttribute: JSXOpeningElement; + JSXClosingElement: JSXElement; + JSXClosingFragment: JSXFragment; + JSXElement: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXAttribute | JSXElement | JSXExpressionContainer | JSXFragment | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + JSXEmptyExpression: JSXExpressionContainer; + JSXExpressionContainer: JSXAttribute | JSXElement | JSXFragment; + JSXFragment: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXAttribute | JSXElement | JSXExpressionContainer | JSXFragment | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + JSXIdentifier: JSXAttribute | JSXClosingElement | JSXMemberExpression | JSXNamespacedName | JSXOpeningElement; + JSXMemberExpression: JSXClosingElement | JSXMemberExpression | JSXOpeningElement; + JSXNamespacedName: JSXAttribute | JSXClosingElement | JSXOpeningElement; + JSXOpeningElement: JSXElement; + JSXOpeningFragment: JSXFragment; + JSXSpreadAttribute: JSXOpeningElement; + JSXSpreadChild: JSXElement | JSXFragment; + JSXText: JSXElement | JSXFragment; + LabeledStatement: BlockStatement | DoWhileStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; + LogicalExpression: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + MemberExpression: ArrayExpression | ArrayPattern | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | RestElement | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + MetaProperty: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + MixedTypeAnnotation: ArrayTypeAnnotation | DeclareExportDeclaration | DeclareOpaqueType | DeclareTypeAlias | DeclaredPredicate | FunctionTypeAnnotation | FunctionTypeParam | IndexedAccessType | IntersectionTypeAnnotation | NullableTypeAnnotation | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeInternalSlot | ObjectTypeProperty | ObjectTypeSpreadProperty | OpaqueType | OptionalIndexedAccessType | TupleTypeAnnotation | TypeAlias | TypeAnnotation | TypeParameter | TypeParameterInstantiation | TypeofTypeAnnotation | UnionTypeAnnotation; + ModuleExpression: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + NewExpression: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + Noop: ArrayPattern | ArrowFunctionExpression | AssignmentPattern | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateMethod | ClassPrivateProperty | ClassProperty | FunctionDeclaration | FunctionExpression | Identifier | ObjectMethod | ObjectPattern | Placeholder | RestElement | TSDeclareFunction | TSDeclareMethod; + NullLiteral: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + NullLiteralTypeAnnotation: ArrayTypeAnnotation | DeclareExportDeclaration | DeclareOpaqueType | DeclareTypeAlias | DeclaredPredicate | FunctionTypeAnnotation | FunctionTypeParam | IndexedAccessType | IntersectionTypeAnnotation | NullableTypeAnnotation | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeInternalSlot | ObjectTypeProperty | ObjectTypeSpreadProperty | OpaqueType | OptionalIndexedAccessType | TupleTypeAnnotation | TypeAlias | TypeAnnotation | TypeParameter | TypeParameterInstantiation | TypeofTypeAnnotation | UnionTypeAnnotation; + NullableTypeAnnotation: ArrayTypeAnnotation | DeclareExportDeclaration | DeclareOpaqueType | DeclareTypeAlias | DeclaredPredicate | FunctionTypeAnnotation | FunctionTypeParam | IndexedAccessType | IntersectionTypeAnnotation | NullableTypeAnnotation | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeInternalSlot | ObjectTypeProperty | ObjectTypeSpreadProperty | OpaqueType | OptionalIndexedAccessType | TupleTypeAnnotation | TypeAlias | TypeAnnotation | TypeParameter | TypeParameterInstantiation | TypeofTypeAnnotation | UnionTypeAnnotation; + NumberLiteral: null; + NumberLiteralTypeAnnotation: ArrayTypeAnnotation | DeclareExportDeclaration | DeclareOpaqueType | DeclareTypeAlias | DeclaredPredicate | FunctionTypeAnnotation | FunctionTypeParam | IndexedAccessType | IntersectionTypeAnnotation | NullableTypeAnnotation | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeInternalSlot | ObjectTypeProperty | ObjectTypeSpreadProperty | OpaqueType | OptionalIndexedAccessType | TupleTypeAnnotation | TypeAlias | TypeAnnotation | TypeParameter | TypeParameterInstantiation | TypeofTypeAnnotation | UnionTypeAnnotation; + NumberTypeAnnotation: ArrayTypeAnnotation | DeclareExportDeclaration | DeclareOpaqueType | DeclareTypeAlias | DeclaredPredicate | FunctionTypeAnnotation | FunctionTypeParam | IndexedAccessType | IntersectionTypeAnnotation | NullableTypeAnnotation | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeInternalSlot | ObjectTypeProperty | ObjectTypeSpreadProperty | OpaqueType | OptionalIndexedAccessType | TupleTypeAnnotation | TypeAlias | TypeAnnotation | TypeParameter | TypeParameterInstantiation | TypeofTypeAnnotation | UnionTypeAnnotation; + NumericLiteral: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | EnumNumberMember | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSLiteralType | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + ObjectExpression: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSImportType | TSInstantiationExpression | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + ObjectMethod: ObjectExpression; + ObjectPattern: ArrayPattern | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | CatchClause | ClassMethod | ClassPrivateMethod | ForInStatement | ForOfStatement | FunctionDeclaration | FunctionExpression | ObjectMethod | ObjectProperty | RestElement | TSCallSignatureDeclaration | TSConstructSignatureDeclaration | TSConstructorType | TSDeclareFunction | TSDeclareMethod | TSFunctionType | TSMethodSignature | VariableDeclarator; + ObjectProperty: ObjectExpression | ObjectPattern | RecordExpression; + ObjectTypeAnnotation: ArrayTypeAnnotation | DeclareClass | DeclareExportDeclaration | DeclareInterface | DeclareOpaqueType | DeclareTypeAlias | DeclaredPredicate | FunctionTypeAnnotation | FunctionTypeParam | IndexedAccessType | InterfaceDeclaration | InterfaceTypeAnnotation | IntersectionTypeAnnotation | NullableTypeAnnotation | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeInternalSlot | ObjectTypeProperty | ObjectTypeSpreadProperty | OpaqueType | OptionalIndexedAccessType | TupleTypeAnnotation | TypeAlias | TypeAnnotation | TypeParameter | TypeParameterInstantiation | TypeofTypeAnnotation | UnionTypeAnnotation; + ObjectTypeCallProperty: DeclareExportDeclaration | DeclaredPredicate | ObjectTypeAnnotation; + ObjectTypeIndexer: DeclareExportDeclaration | DeclaredPredicate | ObjectTypeAnnotation; + ObjectTypeInternalSlot: DeclareExportDeclaration | DeclaredPredicate | ObjectTypeAnnotation; + ObjectTypeProperty: DeclareExportDeclaration | DeclaredPredicate | ObjectTypeAnnotation; + ObjectTypeSpreadProperty: DeclareExportDeclaration | DeclaredPredicate | ObjectTypeAnnotation; + OpaqueType: BlockStatement | DeclareExportDeclaration | DeclaredPredicate | DoWhileStatement | ExportNamedDeclaration | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; + OptionalCallExpression: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + OptionalIndexedAccessType: ArrayTypeAnnotation | DeclareExportDeclaration | DeclareOpaqueType | DeclareTypeAlias | DeclaredPredicate | FunctionTypeAnnotation | FunctionTypeParam | IndexedAccessType | IntersectionTypeAnnotation | NullableTypeAnnotation | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeInternalSlot | ObjectTypeProperty | ObjectTypeSpreadProperty | OpaqueType | OptionalIndexedAccessType | TupleTypeAnnotation | TypeAlias | TypeAnnotation | TypeParameter | TypeParameterInstantiation | TypeofTypeAnnotation | UnionTypeAnnotation; + OptionalMemberExpression: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + ParenthesizedExpression: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + PipelineBareFunction: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + PipelinePrimaryTopicReference: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + PipelineTopicExpression: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + Placeholder: Node; + PrivateName: BinaryExpression | ClassAccessorProperty | ClassPrivateMethod | ClassPrivateProperty | MemberExpression | ObjectProperty; + Program: File | ModuleExpression; + QualifiedTypeIdentifier: DeclareExportDeclaration | DeclaredPredicate | GenericTypeAnnotation | InterfaceExtends | QualifiedTypeIdentifier; + RecordExpression: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + RegExpLiteral: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + RegexLiteral: null; + RestElement: ArrayPattern | ArrowFunctionExpression | AssignmentExpression | ClassMethod | ClassPrivateMethod | ForInStatement | ForOfStatement | FunctionDeclaration | FunctionExpression | ObjectMethod | ObjectPattern | ObjectProperty | RestElement | TSCallSignatureDeclaration | TSConstructSignatureDeclaration | TSConstructorType | TSDeclareFunction | TSDeclareMethod | TSFunctionType | TSMethodSignature | VariableDeclarator; + RestProperty: null; + ReturnStatement: BlockStatement | DoWhileStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; + SequenceExpression: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + SpreadElement: ArrayExpression | CallExpression | NewExpression | ObjectExpression | OptionalCallExpression | RecordExpression | TupleExpression; + SpreadProperty: null; + StaticBlock: ClassBody; + StringLiteral: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | DeclareExportAllDeclaration | DeclareExportDeclaration | DeclareModule | Decorator | DoWhileStatement | EnumStringMember | ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration | ExportSpecifier | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportAttribute | ImportDeclaration | ImportExpression | ImportSpecifier | JSXAttribute | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | ObjectTypeProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSExternalModuleReference | TSImportType | TSInstantiationExpression | TSLiteralType | TSMethodSignature | TSModuleDeclaration | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + StringLiteralTypeAnnotation: ArrayTypeAnnotation | DeclareExportDeclaration | DeclareOpaqueType | DeclareTypeAlias | DeclaredPredicate | FunctionTypeAnnotation | FunctionTypeParam | IndexedAccessType | IntersectionTypeAnnotation | NullableTypeAnnotation | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeInternalSlot | ObjectTypeProperty | ObjectTypeSpreadProperty | OpaqueType | OptionalIndexedAccessType | TupleTypeAnnotation | TypeAlias | TypeAnnotation | TypeParameter | TypeParameterInstantiation | TypeofTypeAnnotation | UnionTypeAnnotation; + StringTypeAnnotation: ArrayTypeAnnotation | DeclareExportDeclaration | DeclareOpaqueType | DeclareTypeAlias | DeclaredPredicate | FunctionTypeAnnotation | FunctionTypeParam | IndexedAccessType | IntersectionTypeAnnotation | NullableTypeAnnotation | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeInternalSlot | ObjectTypeProperty | ObjectTypeSpreadProperty | OpaqueType | OptionalIndexedAccessType | TupleTypeAnnotation | TypeAlias | TypeAnnotation | TypeParameter | TypeParameterInstantiation | TypeofTypeAnnotation | UnionTypeAnnotation; + Super: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + SwitchCase: SwitchStatement; + SwitchStatement: BlockStatement | DoWhileStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; + SymbolTypeAnnotation: ArrayTypeAnnotation | DeclareExportDeclaration | DeclareOpaqueType | DeclareTypeAlias | DeclaredPredicate | FunctionTypeAnnotation | FunctionTypeParam | IndexedAccessType | IntersectionTypeAnnotation | NullableTypeAnnotation | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeInternalSlot | ObjectTypeProperty | ObjectTypeSpreadProperty | OpaqueType | OptionalIndexedAccessType | TupleTypeAnnotation | TypeAlias | TypeAnnotation | TypeParameter | TypeParameterInstantiation | TypeofTypeAnnotation | UnionTypeAnnotation; + TSAnyKeyword: TSArrayType | TSAsExpression | TSConditionalType | TSIndexedAccessType | TSIntersectionType | TSMappedType | TSNamedTupleMember | TSOptionalType | TSParenthesizedType | TSRestType | TSSatisfiesExpression | TSTemplateLiteralType | TSTupleType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeOperator | TSTypeParameter | TSTypeParameterInstantiation | TSUnionType | TemplateLiteral; + TSArrayType: TSArrayType | TSAsExpression | TSConditionalType | TSIndexedAccessType | TSIntersectionType | TSMappedType | TSNamedTupleMember | TSOptionalType | TSParenthesizedType | TSRestType | TSSatisfiesExpression | TSTemplateLiteralType | TSTupleType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeOperator | TSTypeParameter | TSTypeParameterInstantiation | TSUnionType | TemplateLiteral; + TSAsExpression: ArrayExpression | ArrayPattern | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | RestElement | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + TSBigIntKeyword: TSArrayType | TSAsExpression | TSConditionalType | TSIndexedAccessType | TSIntersectionType | TSMappedType | TSNamedTupleMember | TSOptionalType | TSParenthesizedType | TSRestType | TSSatisfiesExpression | TSTemplateLiteralType | TSTupleType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeOperator | TSTypeParameter | TSTypeParameterInstantiation | TSUnionType | TemplateLiteral; + TSBooleanKeyword: TSArrayType | TSAsExpression | TSConditionalType | TSIndexedAccessType | TSIntersectionType | TSMappedType | TSNamedTupleMember | TSOptionalType | TSParenthesizedType | TSRestType | TSSatisfiesExpression | TSTemplateLiteralType | TSTupleType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeOperator | TSTypeParameter | TSTypeParameterInstantiation | TSUnionType | TemplateLiteral; + TSCallSignatureDeclaration: TSInterfaceBody | TSTypeLiteral; + TSConditionalType: TSArrayType | TSAsExpression | TSConditionalType | TSIndexedAccessType | TSIntersectionType | TSMappedType | TSNamedTupleMember | TSOptionalType | TSParenthesizedType | TSRestType | TSSatisfiesExpression | TSTemplateLiteralType | TSTupleType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeOperator | TSTypeParameter | TSTypeParameterInstantiation | TSUnionType | TemplateLiteral; + TSConstructSignatureDeclaration: TSInterfaceBody | TSTypeLiteral; + TSConstructorType: TSArrayType | TSAsExpression | TSConditionalType | TSIndexedAccessType | TSIntersectionType | TSMappedType | TSNamedTupleMember | TSOptionalType | TSParenthesizedType | TSRestType | TSSatisfiesExpression | TSTemplateLiteralType | TSTupleType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeOperator | TSTypeParameter | TSTypeParameterInstantiation | TSUnionType | TemplateLiteral; + TSDeclareFunction: BlockStatement | DoWhileStatement | ExportDefaultDeclaration | ExportNamedDeclaration | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; + TSDeclareMethod: ClassBody; + TSEnumBody: TSEnumDeclaration; + TSEnumDeclaration: BlockStatement | DoWhileStatement | ExportNamedDeclaration | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; + TSEnumMember: TSEnumBody | TSEnumDeclaration; + TSExportAssignment: BlockStatement | DoWhileStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; + TSExpressionWithTypeArguments: ClassDeclaration | ClassExpression | TSArrayType | TSAsExpression | TSConditionalType | TSIndexedAccessType | TSInterfaceDeclaration | TSIntersectionType | TSMappedType | TSNamedTupleMember | TSOptionalType | TSParenthesizedType | TSRestType | TSSatisfiesExpression | TSTemplateLiteralType | TSTupleType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeOperator | TSTypeParameter | TSTypeParameterInstantiation | TSUnionType | TemplateLiteral; + TSExternalModuleReference: TSImportEqualsDeclaration; + TSFunctionType: TSArrayType | TSAsExpression | TSConditionalType | TSIndexedAccessType | TSIntersectionType | TSMappedType | TSNamedTupleMember | TSOptionalType | TSParenthesizedType | TSRestType | TSSatisfiesExpression | TSTemplateLiteralType | TSTupleType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeOperator | TSTypeParameter | TSTypeParameterInstantiation | TSUnionType | TemplateLiteral; + TSImportEqualsDeclaration: BlockStatement | DoWhileStatement | ExportNamedDeclaration | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; + TSImportType: TSArrayType | TSAsExpression | TSConditionalType | TSIndexedAccessType | TSIntersectionType | TSMappedType | TSNamedTupleMember | TSOptionalType | TSParenthesizedType | TSRestType | TSSatisfiesExpression | TSTemplateLiteralType | TSTupleType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeOperator | TSTypeParameter | TSTypeParameterInstantiation | TSTypeQuery | TSUnionType | TemplateLiteral; + TSIndexSignature: ClassBody | TSInterfaceBody | TSTypeLiteral; + TSIndexedAccessType: TSArrayType | TSAsExpression | TSConditionalType | TSIndexedAccessType | TSIntersectionType | TSMappedType | TSNamedTupleMember | TSOptionalType | TSParenthesizedType | TSRestType | TSSatisfiesExpression | TSTemplateLiteralType | TSTupleType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeOperator | TSTypeParameter | TSTypeParameterInstantiation | TSUnionType | TemplateLiteral; + TSInferType: TSArrayType | TSAsExpression | TSConditionalType | TSIndexedAccessType | TSIntersectionType | TSMappedType | TSNamedTupleMember | TSOptionalType | TSParenthesizedType | TSRestType | TSSatisfiesExpression | TSTemplateLiteralType | TSTupleType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeOperator | TSTypeParameter | TSTypeParameterInstantiation | TSUnionType | TemplateLiteral; + TSInstantiationExpression: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + TSInterfaceBody: TSInterfaceDeclaration; + TSInterfaceDeclaration: BlockStatement | DoWhileStatement | ExportNamedDeclaration | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; + TSIntersectionType: TSArrayType | TSAsExpression | TSConditionalType | TSIndexedAccessType | TSIntersectionType | TSMappedType | TSNamedTupleMember | TSOptionalType | TSParenthesizedType | TSRestType | TSSatisfiesExpression | TSTemplateLiteralType | TSTupleType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeOperator | TSTypeParameter | TSTypeParameterInstantiation | TSUnionType | TemplateLiteral; + TSIntrinsicKeyword: TSArrayType | TSAsExpression | TSConditionalType | TSIndexedAccessType | TSIntersectionType | TSMappedType | TSNamedTupleMember | TSOptionalType | TSParenthesizedType | TSRestType | TSSatisfiesExpression | TSTemplateLiteralType | TSTupleType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeOperator | TSTypeParameter | TSTypeParameterInstantiation | TSUnionType | TemplateLiteral; + TSLiteralType: TSArrayType | TSAsExpression | TSConditionalType | TSIndexedAccessType | TSIntersectionType | TSMappedType | TSNamedTupleMember | TSOptionalType | TSParenthesizedType | TSRestType | TSSatisfiesExpression | TSTemplateLiteralType | TSTupleType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeOperator | TSTypeParameter | TSTypeParameterInstantiation | TSUnionType | TemplateLiteral; + TSMappedType: TSArrayType | TSAsExpression | TSConditionalType | TSIndexedAccessType | TSIntersectionType | TSMappedType | TSNamedTupleMember | TSOptionalType | TSParenthesizedType | TSRestType | TSSatisfiesExpression | TSTemplateLiteralType | TSTupleType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeOperator | TSTypeParameter | TSTypeParameterInstantiation | TSUnionType | TemplateLiteral; + TSMethodSignature: TSInterfaceBody | TSTypeLiteral; + TSModuleBlock: TSModuleDeclaration; + TSModuleDeclaration: BlockStatement | DoWhileStatement | ExportNamedDeclaration | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | TSModuleDeclaration | WhileStatement | WithStatement; + TSNamedTupleMember: TSTupleType; + TSNamespaceExportDeclaration: BlockStatement | DoWhileStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; + TSNeverKeyword: TSArrayType | TSAsExpression | TSConditionalType | TSIndexedAccessType | TSIntersectionType | TSMappedType | TSNamedTupleMember | TSOptionalType | TSParenthesizedType | TSRestType | TSSatisfiesExpression | TSTemplateLiteralType | TSTupleType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeOperator | TSTypeParameter | TSTypeParameterInstantiation | TSUnionType | TemplateLiteral; + TSNonNullExpression: ArrayExpression | ArrayPattern | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | RestElement | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + TSNullKeyword: TSArrayType | TSAsExpression | TSConditionalType | TSIndexedAccessType | TSIntersectionType | TSMappedType | TSNamedTupleMember | TSOptionalType | TSParenthesizedType | TSRestType | TSSatisfiesExpression | TSTemplateLiteralType | TSTupleType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeOperator | TSTypeParameter | TSTypeParameterInstantiation | TSUnionType | TemplateLiteral; + TSNumberKeyword: TSArrayType | TSAsExpression | TSConditionalType | TSIndexedAccessType | TSIntersectionType | TSMappedType | TSNamedTupleMember | TSOptionalType | TSParenthesizedType | TSRestType | TSSatisfiesExpression | TSTemplateLiteralType | TSTupleType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeOperator | TSTypeParameter | TSTypeParameterInstantiation | TSUnionType | TemplateLiteral; + TSObjectKeyword: TSArrayType | TSAsExpression | TSConditionalType | TSIndexedAccessType | TSIntersectionType | TSMappedType | TSNamedTupleMember | TSOptionalType | TSParenthesizedType | TSRestType | TSSatisfiesExpression | TSTemplateLiteralType | TSTupleType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeOperator | TSTypeParameter | TSTypeParameterInstantiation | TSUnionType | TemplateLiteral; + TSOptionalType: TSArrayType | TSAsExpression | TSConditionalType | TSIndexedAccessType | TSIntersectionType | TSMappedType | TSNamedTupleMember | TSOptionalType | TSParenthesizedType | TSRestType | TSSatisfiesExpression | TSTemplateLiteralType | TSTupleType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeOperator | TSTypeParameter | TSTypeParameterInstantiation | TSUnionType | TemplateLiteral; + TSParameterProperty: AssignmentExpression | ClassMethod | ClassPrivateMethod | ForInStatement | ForOfStatement | TSDeclareMethod | VariableDeclarator; + TSParenthesizedType: TSArrayType | TSAsExpression | TSConditionalType | TSIndexedAccessType | TSIntersectionType | TSMappedType | TSNamedTupleMember | TSOptionalType | TSParenthesizedType | TSRestType | TSSatisfiesExpression | TSTemplateLiteralType | TSTupleType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeOperator | TSTypeParameter | TSTypeParameterInstantiation | TSUnionType | TemplateLiteral; + TSPropertySignature: TSInterfaceBody | TSTypeLiteral; + TSQualifiedName: TSExpressionWithTypeArguments | TSImportEqualsDeclaration | TSImportType | TSQualifiedName | TSTypeQuery | TSTypeReference; + TSRestType: TSArrayType | TSAsExpression | TSConditionalType | TSIndexedAccessType | TSIntersectionType | TSMappedType | TSNamedTupleMember | TSOptionalType | TSParenthesizedType | TSRestType | TSSatisfiesExpression | TSTemplateLiteralType | TSTupleType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeOperator | TSTypeParameter | TSTypeParameterInstantiation | TSUnionType | TemplateLiteral; + TSSatisfiesExpression: ArrayExpression | ArrayPattern | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | RestElement | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + TSStringKeyword: TSArrayType | TSAsExpression | TSConditionalType | TSIndexedAccessType | TSIntersectionType | TSMappedType | TSNamedTupleMember | TSOptionalType | TSParenthesizedType | TSRestType | TSSatisfiesExpression | TSTemplateLiteralType | TSTupleType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeOperator | TSTypeParameter | TSTypeParameterInstantiation | TSUnionType | TemplateLiteral; + TSSymbolKeyword: TSArrayType | TSAsExpression | TSConditionalType | TSIndexedAccessType | TSIntersectionType | TSMappedType | TSNamedTupleMember | TSOptionalType | TSParenthesizedType | TSRestType | TSSatisfiesExpression | TSTemplateLiteralType | TSTupleType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeOperator | TSTypeParameter | TSTypeParameterInstantiation | TSUnionType | TemplateLiteral; + TSTemplateLiteralType: TSArrayType | TSAsExpression | TSConditionalType | TSIndexedAccessType | TSIntersectionType | TSMappedType | TSNamedTupleMember | TSOptionalType | TSParenthesizedType | TSRestType | TSSatisfiesExpression | TSTemplateLiteralType | TSTupleType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeOperator | TSTypeParameter | TSTypeParameterInstantiation | TSUnionType | TemplateLiteral; + TSThisType: TSArrayType | TSAsExpression | TSConditionalType | TSIndexedAccessType | TSIntersectionType | TSMappedType | TSNamedTupleMember | TSOptionalType | TSParenthesizedType | TSRestType | TSSatisfiesExpression | TSTemplateLiteralType | TSTupleType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeOperator | TSTypeParameter | TSTypeParameterInstantiation | TSTypePredicate | TSUnionType | TemplateLiteral; + TSTupleType: TSArrayType | TSAsExpression | TSConditionalType | TSIndexedAccessType | TSIntersectionType | TSMappedType | TSNamedTupleMember | TSOptionalType | TSParenthesizedType | TSRestType | TSSatisfiesExpression | TSTemplateLiteralType | TSTupleType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeOperator | TSTypeParameter | TSTypeParameterInstantiation | TSUnionType | TemplateLiteral; + TSTypeAliasDeclaration: BlockStatement | DoWhileStatement | ExportNamedDeclaration | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; + TSTypeAnnotation: ArrayPattern | ArrowFunctionExpression | AssignmentPattern | ClassAccessorProperty | ClassMethod | ClassPrivateMethod | ClassPrivateProperty | ClassProperty | FunctionDeclaration | FunctionExpression | Identifier | ObjectMethod | ObjectPattern | Placeholder | RestElement | TSCallSignatureDeclaration | TSConstructSignatureDeclaration | TSConstructorType | TSDeclareFunction | TSDeclareMethod | TSFunctionType | TSIndexSignature | TSMethodSignature | TSPropertySignature | TSTypePredicate; + TSTypeAssertion: ArrayExpression | ArrayPattern | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | RestElement | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + TSTypeLiteral: TSArrayType | TSAsExpression | TSConditionalType | TSIndexedAccessType | TSIntersectionType | TSMappedType | TSNamedTupleMember | TSOptionalType | TSParenthesizedType | TSRestType | TSSatisfiesExpression | TSTemplateLiteralType | TSTupleType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeOperator | TSTypeParameter | TSTypeParameterInstantiation | TSUnionType | TemplateLiteral; + TSTypeOperator: TSArrayType | TSAsExpression | TSConditionalType | TSIndexedAccessType | TSIntersectionType | TSMappedType | TSNamedTupleMember | TSOptionalType | TSParenthesizedType | TSRestType | TSSatisfiesExpression | TSTemplateLiteralType | TSTupleType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeOperator | TSTypeParameter | TSTypeParameterInstantiation | TSUnionType | TemplateLiteral; + TSTypeParameter: TSInferType | TSMappedType | TSTypeParameterDeclaration; + TSTypeParameterDeclaration: ArrowFunctionExpression | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateMethod | FunctionDeclaration | FunctionExpression | ObjectMethod | TSCallSignatureDeclaration | TSConstructSignatureDeclaration | TSConstructorType | TSDeclareFunction | TSDeclareMethod | TSFunctionType | TSInterfaceDeclaration | TSMethodSignature | TSTypeAliasDeclaration; + TSTypeParameterInstantiation: CallExpression | ClassDeclaration | ClassExpression | JSXOpeningElement | NewExpression | OptionalCallExpression | TSExpressionWithTypeArguments | TSImportType | TSInstantiationExpression | TSTypeQuery | TSTypeReference | TaggedTemplateExpression; + TSTypePredicate: TSArrayType | TSAsExpression | TSConditionalType | TSIndexedAccessType | TSIntersectionType | TSMappedType | TSNamedTupleMember | TSOptionalType | TSParenthesizedType | TSRestType | TSSatisfiesExpression | TSTemplateLiteralType | TSTupleType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeOperator | TSTypeParameter | TSTypeParameterInstantiation | TSUnionType | TemplateLiteral; + TSTypeQuery: TSArrayType | TSAsExpression | TSConditionalType | TSIndexedAccessType | TSIntersectionType | TSMappedType | TSNamedTupleMember | TSOptionalType | TSParenthesizedType | TSRestType | TSSatisfiesExpression | TSTemplateLiteralType | TSTupleType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeOperator | TSTypeParameter | TSTypeParameterInstantiation | TSUnionType | TemplateLiteral; + TSTypeReference: TSArrayType | TSAsExpression | TSConditionalType | TSIndexedAccessType | TSIntersectionType | TSMappedType | TSNamedTupleMember | TSOptionalType | TSParenthesizedType | TSRestType | TSSatisfiesExpression | TSTemplateLiteralType | TSTupleType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeOperator | TSTypeParameter | TSTypeParameterInstantiation | TSUnionType | TemplateLiteral; + TSUndefinedKeyword: TSArrayType | TSAsExpression | TSConditionalType | TSIndexedAccessType | TSIntersectionType | TSMappedType | TSNamedTupleMember | TSOptionalType | TSParenthesizedType | TSRestType | TSSatisfiesExpression | TSTemplateLiteralType | TSTupleType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeOperator | TSTypeParameter | TSTypeParameterInstantiation | TSUnionType | TemplateLiteral; + TSUnionType: TSArrayType | TSAsExpression | TSConditionalType | TSIndexedAccessType | TSIntersectionType | TSMappedType | TSNamedTupleMember | TSOptionalType | TSParenthesizedType | TSRestType | TSSatisfiesExpression | TSTemplateLiteralType | TSTupleType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeOperator | TSTypeParameter | TSTypeParameterInstantiation | TSUnionType | TemplateLiteral; + TSUnknownKeyword: TSArrayType | TSAsExpression | TSConditionalType | TSIndexedAccessType | TSIntersectionType | TSMappedType | TSNamedTupleMember | TSOptionalType | TSParenthesizedType | TSRestType | TSSatisfiesExpression | TSTemplateLiteralType | TSTupleType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeOperator | TSTypeParameter | TSTypeParameterInstantiation | TSUnionType | TemplateLiteral; + TSVoidKeyword: TSArrayType | TSAsExpression | TSConditionalType | TSIndexedAccessType | TSIntersectionType | TSMappedType | TSNamedTupleMember | TSOptionalType | TSParenthesizedType | TSRestType | TSSatisfiesExpression | TSTemplateLiteralType | TSTupleType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeOperator | TSTypeParameter | TSTypeParameterInstantiation | TSUnionType | TemplateLiteral; + TaggedTemplateExpression: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + TemplateElement: TSTemplateLiteralType | TemplateLiteral; + TemplateLiteral: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSLiteralType | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + ThisExpression: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + ThisTypeAnnotation: ArrayTypeAnnotation | DeclareExportDeclaration | DeclareOpaqueType | DeclareTypeAlias | DeclaredPredicate | FunctionTypeAnnotation | FunctionTypeParam | IndexedAccessType | IntersectionTypeAnnotation | NullableTypeAnnotation | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeInternalSlot | ObjectTypeProperty | ObjectTypeSpreadProperty | OpaqueType | OptionalIndexedAccessType | TupleTypeAnnotation | TypeAlias | TypeAnnotation | TypeParameter | TypeParameterInstantiation | TypeofTypeAnnotation | UnionTypeAnnotation; + ThrowStatement: BlockStatement | DoWhileStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; + TopicReference: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + TryStatement: BlockStatement | DoWhileStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; + TupleExpression: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + TupleTypeAnnotation: ArrayTypeAnnotation | DeclareExportDeclaration | DeclareOpaqueType | DeclareTypeAlias | DeclaredPredicate | FunctionTypeAnnotation | FunctionTypeParam | IndexedAccessType | IntersectionTypeAnnotation | NullableTypeAnnotation | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeInternalSlot | ObjectTypeProperty | ObjectTypeSpreadProperty | OpaqueType | OptionalIndexedAccessType | TupleTypeAnnotation | TypeAlias | TypeAnnotation | TypeParameter | TypeParameterInstantiation | TypeofTypeAnnotation | UnionTypeAnnotation; + TypeAlias: BlockStatement | DeclareExportDeclaration | DeclaredPredicate | DoWhileStatement | ExportNamedDeclaration | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; + TypeAnnotation: ArrayPattern | ArrowFunctionExpression | AssignmentPattern | ClassAccessorProperty | ClassMethod | ClassPrivateMethod | ClassPrivateProperty | ClassProperty | DeclareExportDeclaration | DeclareModuleExports | DeclaredPredicate | FunctionDeclaration | FunctionExpression | Identifier | ObjectMethod | ObjectPattern | Placeholder | RestElement | TypeCastExpression | TypeParameter; + TypeCastExpression: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | DeclareExportDeclaration | DeclaredPredicate | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + TypeParameter: DeclareExportDeclaration | DeclaredPredicate | TypeParameterDeclaration; + TypeParameterDeclaration: ArrowFunctionExpression | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateMethod | DeclareClass | DeclareExportDeclaration | DeclareInterface | DeclareOpaqueType | DeclareTypeAlias | DeclaredPredicate | FunctionDeclaration | FunctionExpression | FunctionTypeAnnotation | InterfaceDeclaration | ObjectMethod | OpaqueType | TypeAlias; + TypeParameterInstantiation: CallExpression | ClassDeclaration | ClassExpression | ClassImplements | DeclareExportDeclaration | DeclaredPredicate | GenericTypeAnnotation | InterfaceExtends | JSXOpeningElement | NewExpression | OptionalCallExpression | TaggedTemplateExpression; + TypeofTypeAnnotation: ArrayTypeAnnotation | DeclareExportDeclaration | DeclareOpaqueType | DeclareTypeAlias | DeclaredPredicate | FunctionTypeAnnotation | FunctionTypeParam | IndexedAccessType | IntersectionTypeAnnotation | NullableTypeAnnotation | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeInternalSlot | ObjectTypeProperty | ObjectTypeSpreadProperty | OpaqueType | OptionalIndexedAccessType | TupleTypeAnnotation | TypeAlias | TypeAnnotation | TypeParameter | TypeParameterInstantiation | TypeofTypeAnnotation | UnionTypeAnnotation; + UnaryExpression: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSLiteralType | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + UnionTypeAnnotation: ArrayTypeAnnotation | DeclareExportDeclaration | DeclareOpaqueType | DeclareTypeAlias | DeclaredPredicate | FunctionTypeAnnotation | FunctionTypeParam | IndexedAccessType | IntersectionTypeAnnotation | NullableTypeAnnotation | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeInternalSlot | ObjectTypeProperty | ObjectTypeSpreadProperty | OpaqueType | OptionalIndexedAccessType | TupleTypeAnnotation | TypeAlias | TypeAnnotation | TypeParameter | TypeParameterInstantiation | TypeofTypeAnnotation | UnionTypeAnnotation; + UpdateExpression: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; + V8IntrinsicIdentifier: CallExpression | NewExpression; + VariableDeclaration: BlockStatement | DoWhileStatement | ExportNamedDeclaration | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; + VariableDeclarator: VariableDeclaration; + Variance: ClassAccessorProperty | ClassPrivateProperty | ClassProperty | DeclareExportDeclaration | DeclaredPredicate | ObjectTypeIndexer | ObjectTypeProperty | TypeParameter; + VoidPattern: ArrayPattern | ArrowFunctionExpression | ClassMethod | ClassPrivateMethod | FunctionDeclaration | FunctionExpression | ObjectMethod | ObjectProperty | TSDeclareFunction | TSDeclareMethod | VariableDeclarator; + VoidTypeAnnotation: ArrayTypeAnnotation | DeclareExportDeclaration | DeclareOpaqueType | DeclareTypeAlias | DeclaredPredicate | FunctionTypeAnnotation | FunctionTypeParam | IndexedAccessType | IntersectionTypeAnnotation | NullableTypeAnnotation | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeInternalSlot | ObjectTypeProperty | ObjectTypeSpreadProperty | OpaqueType | OptionalIndexedAccessType | TupleTypeAnnotation | TypeAlias | TypeAnnotation | TypeParameter | TypeParameterInstantiation | TypeofTypeAnnotation | UnionTypeAnnotation; + WhileStatement: BlockStatement | DoWhileStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; + WithStatement: BlockStatement | DoWhileStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; + YieldExpression: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorator | DoWhileStatement | ExportDefaultDeclaration | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | ImportExpression | JSXExpressionContainer | JSXSpreadAttribute | JSXSpreadChild | LogicalExpression | MemberExpression | NewExpression | ObjectMethod | ObjectProperty | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelineTopicExpression | ReturnStatement | SequenceExpression | SpreadElement | SwitchCase | SwitchStatement | TSAsExpression | TSDeclareMethod | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSInstantiationExpression | TSMethodSignature | TSNonNullExpression | TSPropertySignature | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThrowStatement | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | VariableDeclarator | WhileStatement | WithStatement | YieldExpression; +} + +/** @deprecated */ declare function bigIntLiteral(value: string): BigIntLiteral; +declare function bigIntLiteral(value: bigint): BigIntLiteral; +declare function arrayExpression(elements?: (null | Expression | SpreadElement)[]): ArrayExpression; +declare function assignmentExpression(operator: string, left: LVal | OptionalMemberExpression, right: Expression): AssignmentExpression; +declare function binaryExpression(operator: "+" | "-" | "/" | "%" | "*" | "**" | "&" | "|" | ">>" | ">>>" | "<<" | "^" | "==" | "===" | "!=" | "!==" | "in" | "instanceof" | ">" | "<" | ">=" | "<=" | "|>", left: Expression | PrivateName, right: Expression): BinaryExpression; +declare function interpreterDirective(value: string): InterpreterDirective; +declare function directive(value: DirectiveLiteral): Directive; +declare function directiveLiteral(value: string): DirectiveLiteral; +declare function blockStatement(body: Statement[], directives?: Directive[]): BlockStatement; +declare function breakStatement(label?: Identifier | null): BreakStatement; +declare function callExpression(callee: Expression | Super | V8IntrinsicIdentifier, _arguments: (Expression | SpreadElement | ArgumentPlaceholder)[]): CallExpression; +declare function catchClause(param: Identifier | ArrayPattern | ObjectPattern | null | undefined, body: BlockStatement): CatchClause; +declare function conditionalExpression(test: Expression, consequent: Expression, alternate: Expression): ConditionalExpression; +declare function continueStatement(label?: Identifier | null): ContinueStatement; +declare function debuggerStatement(): DebuggerStatement; +declare function doWhileStatement(test: Expression, body: Statement): DoWhileStatement; +declare function emptyStatement(): EmptyStatement; +declare function expressionStatement(expression: Expression): ExpressionStatement; +declare function file(program: Program, comments?: (CommentBlock | CommentLine)[] | null, tokens?: any[] | null): File; +declare function forInStatement(left: VariableDeclaration | LVal, right: Expression, body: Statement): ForInStatement; +declare function forStatement(init: VariableDeclaration | Expression | null | undefined, test: Expression | null | undefined, update: Expression | null | undefined, body: Statement): ForStatement; +declare function functionDeclaration(id: Identifier | null | undefined, params: FunctionParameter[], body: BlockStatement, generator?: boolean, async?: boolean): FunctionDeclaration; +declare function functionExpression(id: Identifier | null | undefined, params: FunctionParameter[], body: BlockStatement, generator?: boolean, async?: boolean): FunctionExpression; +declare function identifier(name: string): Identifier; +declare function ifStatement(test: Expression, consequent: Statement, alternate?: Statement | null): IfStatement; +declare function labeledStatement(label: Identifier, body: Statement): LabeledStatement; +declare function stringLiteral(value: string): StringLiteral; +declare function numericLiteral(value: number): NumericLiteral; +declare function nullLiteral(): NullLiteral; +declare function booleanLiteral(value: boolean): BooleanLiteral; +declare function regExpLiteral(pattern: string, flags?: string): RegExpLiteral; +declare function logicalExpression(operator: "||" | "&&" | "??", left: Expression, right: Expression): LogicalExpression; +declare function memberExpression(object: Expression | Super, property: Expression | Identifier | PrivateName, computed?: boolean, optional?: boolean | null): MemberExpression; +declare function newExpression(callee: Expression | Super | V8IntrinsicIdentifier, _arguments: (Expression | SpreadElement | ArgumentPlaceholder)[]): NewExpression; +declare function program(body: Statement[], directives?: Directive[], sourceType?: "script" | "module", interpreter?: InterpreterDirective | null): Program; +declare function objectExpression(properties: (ObjectMethod | ObjectProperty | SpreadElement)[]): ObjectExpression; +declare function objectMethod(kind: "method" | "get" | "set" | undefined, key: Expression | Identifier | StringLiteral | NumericLiteral | BigIntLiteral, params: FunctionParameter[], body: BlockStatement, computed?: boolean, generator?: boolean, async?: boolean): ObjectMethod; +declare function objectProperty(key: Expression | Identifier | StringLiteral | NumericLiteral | BigIntLiteral | DecimalLiteral | PrivateName, value: Expression | PatternLike, computed?: boolean, shorthand?: boolean, decorators?: Decorator[] | null): ObjectProperty; +declare function restElement(argument: Identifier | ArrayPattern | ObjectPattern | MemberExpression | TSAsExpression | TSSatisfiesExpression | TSTypeAssertion | TSNonNullExpression | RestElement | AssignmentPattern): RestElement; +declare function returnStatement(argument?: Expression | null): ReturnStatement; +declare function sequenceExpression(expressions: Expression[]): SequenceExpression; +declare function parenthesizedExpression(expression: Expression): ParenthesizedExpression; +declare function switchCase(test: Expression | null | undefined, consequent: Statement[]): SwitchCase; +declare function switchStatement(discriminant: Expression, cases: SwitchCase[]): SwitchStatement; +declare function thisExpression(): ThisExpression; +declare function throwStatement(argument: Expression): ThrowStatement; +declare function tryStatement(block: BlockStatement, handler?: CatchClause | null, finalizer?: BlockStatement | null): TryStatement; +declare function unaryExpression(operator: "void" | "throw" | "delete" | "!" | "+" | "-" | "~" | "typeof", argument: Expression, prefix?: boolean): UnaryExpression; +declare function updateExpression(operator: "++" | "--", argument: Expression, prefix?: boolean): UpdateExpression; +declare function variableDeclaration(kind: "var" | "let" | "const" | "using" | "await using", declarations: VariableDeclarator[]): VariableDeclaration; +declare function variableDeclarator(id: LVal | VoidPattern, init?: Expression | null): VariableDeclarator; +declare function whileStatement(test: Expression, body: Statement): WhileStatement; +declare function withStatement(object: Expression, body: Statement): WithStatement; +declare function assignmentPattern(left: Identifier | ObjectPattern | ArrayPattern | MemberExpression | TSAsExpression | TSSatisfiesExpression | TSTypeAssertion | TSNonNullExpression, right: Expression): AssignmentPattern; +declare function arrayPattern(elements: (null | PatternLike)[]): ArrayPattern; +declare function arrowFunctionExpression(params: FunctionParameter[], body: BlockStatement | Expression, async?: boolean): ArrowFunctionExpression; +declare function classBody(body: (ClassMethod | ClassPrivateMethod | ClassProperty | ClassPrivateProperty | ClassAccessorProperty | TSDeclareMethod | TSIndexSignature | StaticBlock)[]): ClassBody; +declare function classExpression(id: Identifier | null | undefined, superClass: Expression | null | undefined, body: ClassBody, decorators?: Decorator[] | null): ClassExpression; +declare function classDeclaration(id: Identifier | null | undefined, superClass: Expression | null | undefined, body: ClassBody, decorators?: Decorator[] | null): ClassDeclaration; +declare function exportAllDeclaration(source: StringLiteral, attributes?: ImportAttribute[] | null): ExportAllDeclaration; +declare function exportDefaultDeclaration(declaration: TSDeclareFunction | FunctionDeclaration | ClassDeclaration | Expression): ExportDefaultDeclaration; +declare function exportNamedDeclaration(declaration?: Declaration | null, specifiers?: (ExportSpecifier | ExportDefaultSpecifier | ExportNamespaceSpecifier)[], source?: StringLiteral | null, attributes?: ImportAttribute[] | null): ExportNamedDeclaration; +declare function exportSpecifier(local: Identifier, exported: Identifier | StringLiteral): ExportSpecifier; +declare function forOfStatement(left: VariableDeclaration | LVal, right: Expression, body: Statement, _await?: boolean): ForOfStatement; +declare function importDeclaration(specifiers: (ImportSpecifier | ImportDefaultSpecifier | ImportNamespaceSpecifier)[], source: StringLiteral, attributes?: ImportAttribute[] | null): ImportDeclaration; +declare function importDefaultSpecifier(local: Identifier): ImportDefaultSpecifier; +declare function importNamespaceSpecifier(local: Identifier): ImportNamespaceSpecifier; +declare function importSpecifier(local: Identifier, imported: Identifier | StringLiteral): ImportSpecifier; +declare function importExpression(source: Expression, options?: Expression | null): ImportExpression; +declare function metaProperty(meta: Identifier, property: Identifier): MetaProperty; +declare function classMethod(kind: "get" | "set" | "method" | "constructor" | undefined, key: Identifier | StringLiteral | NumericLiteral | BigIntLiteral | Expression, params: (FunctionParameter | TSParameterProperty)[], body: BlockStatement, computed?: boolean, _static?: boolean, generator?: boolean, async?: boolean): ClassMethod; +declare function objectPattern(properties: (RestElement | ObjectProperty)[]): ObjectPattern; +declare function spreadElement(argument: Expression): SpreadElement; +declare function _super(): Super; + +declare function taggedTemplateExpression(tag: Expression, quasi: TemplateLiteral): TaggedTemplateExpression; +declare function templateElement(value: { + raw: string; + cooked?: string; +}, tail?: boolean): TemplateElement; +declare function templateLiteral(quasis: TemplateElement[], expressions: (Expression | TSType)[]): TemplateLiteral; +declare function yieldExpression(argument?: Expression | null, delegate?: boolean): YieldExpression; +declare function awaitExpression(argument: Expression): AwaitExpression; +declare function _import(): Import; + +declare function exportNamespaceSpecifier(exported: Identifier): ExportNamespaceSpecifier; +declare function optionalMemberExpression(object: Expression, property: Expression | Identifier, computed: boolean | undefined, optional: boolean): OptionalMemberExpression; +declare function optionalCallExpression(callee: Expression, _arguments: (Expression | SpreadElement | ArgumentPlaceholder)[], optional: boolean): OptionalCallExpression; +declare function classProperty(key: Identifier | StringLiteral | NumericLiteral | BigIntLiteral | Expression, value?: Expression | null, typeAnnotation?: TypeAnnotation | TSTypeAnnotation | Noop | null, decorators?: Decorator[] | null, computed?: boolean, _static?: boolean): ClassProperty; +declare function classAccessorProperty(key: Identifier | StringLiteral | NumericLiteral | BigIntLiteral | Expression | PrivateName, value?: Expression | null, typeAnnotation?: TypeAnnotation | TSTypeAnnotation | Noop | null, decorators?: Decorator[] | null, computed?: boolean, _static?: boolean): ClassAccessorProperty; +declare function classPrivateProperty(key: PrivateName, value?: Expression | null, decorators?: Decorator[] | null, _static?: boolean): ClassPrivateProperty; +declare function classPrivateMethod(kind: "get" | "set" | "method" | undefined, key: PrivateName, params: (FunctionParameter | TSParameterProperty)[], body: BlockStatement, _static?: boolean): ClassPrivateMethod; +declare function privateName(id: Identifier): PrivateName; +declare function staticBlock(body: Statement[]): StaticBlock; +declare function importAttribute(key: Identifier | StringLiteral, value: StringLiteral): ImportAttribute; +declare function anyTypeAnnotation(): AnyTypeAnnotation; +declare function arrayTypeAnnotation(elementType: FlowType): ArrayTypeAnnotation; +declare function booleanTypeAnnotation(): BooleanTypeAnnotation; +declare function booleanLiteralTypeAnnotation(value: boolean): BooleanLiteralTypeAnnotation; +declare function nullLiteralTypeAnnotation(): NullLiteralTypeAnnotation; +declare function classImplements(id: Identifier, typeParameters?: TypeParameterInstantiation | null): ClassImplements; +declare function declareClass(id: Identifier, typeParameters: TypeParameterDeclaration | null | undefined, _extends: InterfaceExtends[] | null | undefined, body: ObjectTypeAnnotation): DeclareClass; +declare function declareFunction(id: Identifier): DeclareFunction; +declare function declareInterface(id: Identifier, typeParameters: TypeParameterDeclaration | null | undefined, _extends: InterfaceExtends[] | null | undefined, body: ObjectTypeAnnotation): DeclareInterface; +declare function declareModule(id: Identifier | StringLiteral, body: BlockStatement, kind?: "CommonJS" | "ES" | null): DeclareModule; +declare function declareModuleExports(typeAnnotation: TypeAnnotation): DeclareModuleExports; +declare function declareTypeAlias(id: Identifier, typeParameters: TypeParameterDeclaration | null | undefined, right: FlowType): DeclareTypeAlias; +declare function declareOpaqueType(id: Identifier, typeParameters?: TypeParameterDeclaration | null, supertype?: FlowType | null): DeclareOpaqueType; +declare function declareVariable(id: Identifier): DeclareVariable; +declare function declareExportDeclaration(declaration?: Flow | null, specifiers?: (ExportSpecifier | ExportNamespaceSpecifier)[] | null, source?: StringLiteral | null, attributes?: ImportAttribute[] | null): DeclareExportDeclaration; +declare function declareExportAllDeclaration(source: StringLiteral, attributes?: ImportAttribute[] | null): DeclareExportAllDeclaration; +declare function declaredPredicate(value: Flow): DeclaredPredicate; +declare function existsTypeAnnotation(): ExistsTypeAnnotation; +declare function functionTypeAnnotation(typeParameters: TypeParameterDeclaration | null | undefined, params: FunctionTypeParam[], rest: FunctionTypeParam | null | undefined, returnType: FlowType): FunctionTypeAnnotation; +declare function functionTypeParam(name: Identifier | null | undefined, typeAnnotation: FlowType): FunctionTypeParam; +declare function genericTypeAnnotation(id: Identifier | QualifiedTypeIdentifier, typeParameters?: TypeParameterInstantiation | null): GenericTypeAnnotation; +declare function inferredPredicate(): InferredPredicate; +declare function interfaceExtends(id: Identifier | QualifiedTypeIdentifier, typeParameters?: TypeParameterInstantiation | null): InterfaceExtends; +declare function interfaceDeclaration(id: Identifier, typeParameters: TypeParameterDeclaration | null | undefined, _extends: InterfaceExtends[] | null | undefined, body: ObjectTypeAnnotation): InterfaceDeclaration; +declare function interfaceTypeAnnotation(_extends: InterfaceExtends[] | null | undefined, body: ObjectTypeAnnotation): InterfaceTypeAnnotation; +declare function intersectionTypeAnnotation(types: FlowType[]): IntersectionTypeAnnotation; +declare function mixedTypeAnnotation(): MixedTypeAnnotation; +declare function emptyTypeAnnotation(): EmptyTypeAnnotation; +declare function nullableTypeAnnotation(typeAnnotation: FlowType): NullableTypeAnnotation; +declare function numberLiteralTypeAnnotation(value: number): NumberLiteralTypeAnnotation; +declare function numberTypeAnnotation(): NumberTypeAnnotation; +declare function objectTypeAnnotation(properties: (ObjectTypeProperty | ObjectTypeSpreadProperty)[], indexers?: ObjectTypeIndexer[], callProperties?: ObjectTypeCallProperty[], internalSlots?: ObjectTypeInternalSlot[], exact?: boolean): ObjectTypeAnnotation; +declare function objectTypeInternalSlot(id: Identifier, value: FlowType, optional: boolean, _static: boolean, method: boolean): ObjectTypeInternalSlot; +declare function objectTypeCallProperty(value: FlowType): ObjectTypeCallProperty; +declare function objectTypeIndexer(id: Identifier | null | undefined, key: FlowType, value: FlowType, variance?: Variance | null): ObjectTypeIndexer; +declare function objectTypeProperty(key: Identifier | StringLiteral, value: FlowType, variance?: Variance | null): ObjectTypeProperty; +declare function objectTypeSpreadProperty(argument: FlowType): ObjectTypeSpreadProperty; +declare function opaqueType(id: Identifier, typeParameters: TypeParameterDeclaration | null | undefined, supertype: FlowType | null | undefined, impltype: FlowType): OpaqueType; +declare function qualifiedTypeIdentifier(id: Identifier, qualification: Identifier | QualifiedTypeIdentifier): QualifiedTypeIdentifier; +declare function stringLiteralTypeAnnotation(value: string): StringLiteralTypeAnnotation; +declare function stringTypeAnnotation(): StringTypeAnnotation; +declare function symbolTypeAnnotation(): SymbolTypeAnnotation; +declare function thisTypeAnnotation(): ThisTypeAnnotation; +declare function tupleTypeAnnotation(types: FlowType[]): TupleTypeAnnotation; +declare function typeofTypeAnnotation(argument: FlowType): TypeofTypeAnnotation; +declare function typeAlias(id: Identifier, typeParameters: TypeParameterDeclaration | null | undefined, right: FlowType): TypeAlias; +declare function typeAnnotation(typeAnnotation: FlowType): TypeAnnotation; +declare function typeCastExpression(expression: Expression, typeAnnotation: TypeAnnotation): TypeCastExpression; +declare function typeParameter(bound?: TypeAnnotation | null, _default?: FlowType | null, variance?: Variance | null): TypeParameter; +declare function typeParameterDeclaration(params: TypeParameter[]): TypeParameterDeclaration; +declare function typeParameterInstantiation(params: FlowType[]): TypeParameterInstantiation; +declare function unionTypeAnnotation(types: FlowType[]): UnionTypeAnnotation; +declare function variance(kind: "minus" | "plus"): Variance; +declare function voidTypeAnnotation(): VoidTypeAnnotation; +declare function enumDeclaration(id: Identifier, body: EnumBooleanBody | EnumNumberBody | EnumStringBody | EnumSymbolBody): EnumDeclaration; +declare function enumBooleanBody(members: EnumBooleanMember[]): EnumBooleanBody; +declare function enumNumberBody(members: EnumNumberMember[]): EnumNumberBody; +declare function enumStringBody(members: (EnumStringMember | EnumDefaultedMember)[]): EnumStringBody; +declare function enumSymbolBody(members: EnumDefaultedMember[]): EnumSymbolBody; +declare function enumBooleanMember(id: Identifier): EnumBooleanMember; +declare function enumNumberMember(id: Identifier, init: NumericLiteral): EnumNumberMember; +declare function enumStringMember(id: Identifier, init: StringLiteral): EnumStringMember; +declare function enumDefaultedMember(id: Identifier): EnumDefaultedMember; +declare function indexedAccessType(objectType: FlowType, indexType: FlowType): IndexedAccessType; +declare function optionalIndexedAccessType(objectType: FlowType, indexType: FlowType): OptionalIndexedAccessType; +declare function jsxAttribute(name: JSXIdentifier | JSXNamespacedName, value?: JSXElement | JSXFragment | StringLiteral | JSXExpressionContainer | null): JSXAttribute; + +declare function jsxClosingElement(name: JSXIdentifier | JSXMemberExpression | JSXNamespacedName): JSXClosingElement; + +declare function jsxElement(openingElement: JSXOpeningElement, closingElement: JSXClosingElement | null | undefined, children: (JSXText | JSXExpressionContainer | JSXSpreadChild | JSXElement | JSXFragment)[], selfClosing?: boolean | null): JSXElement; + +declare function jsxEmptyExpression(): JSXEmptyExpression; + +declare function jsxExpressionContainer(expression: Expression | JSXEmptyExpression): JSXExpressionContainer; + +declare function jsxSpreadChild(expression: Expression): JSXSpreadChild; + +declare function jsxIdentifier(name: string): JSXIdentifier; + +declare function jsxMemberExpression(object: JSXMemberExpression | JSXIdentifier, property: JSXIdentifier): JSXMemberExpression; + +declare function jsxNamespacedName(namespace: JSXIdentifier, name: JSXIdentifier): JSXNamespacedName; + +declare function jsxOpeningElement(name: JSXIdentifier | JSXMemberExpression | JSXNamespacedName, attributes: (JSXAttribute | JSXSpreadAttribute)[], selfClosing?: boolean): JSXOpeningElement; + +declare function jsxSpreadAttribute(argument: Expression): JSXSpreadAttribute; + +declare function jsxText(value: string): JSXText; + +declare function jsxFragment(openingFragment: JSXOpeningFragment, closingFragment: JSXClosingFragment, children: (JSXText | JSXExpressionContainer | JSXSpreadChild | JSXElement | JSXFragment)[]): JSXFragment; + +declare function jsxOpeningFragment(): JSXOpeningFragment; + +declare function jsxClosingFragment(): JSXClosingFragment; + +declare function noop(): Noop; +declare function placeholder(expectedNode: "Identifier" | "StringLiteral" | "Expression" | "Statement" | "Declaration" | "BlockStatement" | "ClassBody" | "Pattern", name: Identifier): Placeholder; +declare function v8IntrinsicIdentifier(name: string): V8IntrinsicIdentifier; +declare function argumentPlaceholder(): ArgumentPlaceholder; +declare function bindExpression(object: Expression, callee: Expression): BindExpression; +declare function decorator(expression: Expression): Decorator; +declare function doExpression(body: BlockStatement, async?: boolean): DoExpression; +declare function exportDefaultSpecifier(exported: Identifier): ExportDefaultSpecifier; +declare function recordExpression(properties: (ObjectProperty | SpreadElement)[]): RecordExpression; +declare function tupleExpression(elements?: (Expression | SpreadElement)[]): TupleExpression; +declare function decimalLiteral(value: string): DecimalLiteral; +declare function moduleExpression(body: Program): ModuleExpression; +declare function topicReference(): TopicReference; +declare function pipelineTopicExpression(expression: Expression): PipelineTopicExpression; +declare function pipelineBareFunction(callee: Expression): PipelineBareFunction; +declare function pipelinePrimaryTopicReference(): PipelinePrimaryTopicReference; +declare function voidPattern(): VoidPattern; +declare function tsParameterProperty(parameter: Identifier | AssignmentPattern): TSParameterProperty; + +declare function tsDeclareFunction(id: Identifier | null | undefined, typeParameters: TSTypeParameterDeclaration | Noop | null | undefined, params: FunctionParameter[], returnType?: TSTypeAnnotation | Noop | null): TSDeclareFunction; + +declare function tsDeclareMethod(decorators: Decorator[] | null | undefined, key: Identifier | StringLiteral | NumericLiteral | BigIntLiteral | Expression, typeParameters: TSTypeParameterDeclaration | Noop | null | undefined, params: (FunctionParameter | TSParameterProperty)[], returnType?: TSTypeAnnotation | Noop | null): TSDeclareMethod; + +declare function tsQualifiedName(left: TSEntityName, right: Identifier): TSQualifiedName; + +declare function tsCallSignatureDeclaration(typeParameters: TSTypeParameterDeclaration | null | undefined, parameters: (ArrayPattern | Identifier | ObjectPattern | RestElement)[], typeAnnotation?: TSTypeAnnotation | null): TSCallSignatureDeclaration; + +declare function tsConstructSignatureDeclaration(typeParameters: TSTypeParameterDeclaration | null | undefined, parameters: (ArrayPattern | Identifier | ObjectPattern | RestElement)[], typeAnnotation?: TSTypeAnnotation | null): TSConstructSignatureDeclaration; + +declare function tsPropertySignature(key: Expression, typeAnnotation?: TSTypeAnnotation | null): TSPropertySignature; + +declare function tsMethodSignature(key: Expression, typeParameters: TSTypeParameterDeclaration | null | undefined, parameters: (ArrayPattern | Identifier | ObjectPattern | RestElement)[], typeAnnotation?: TSTypeAnnotation | null): TSMethodSignature; + +declare function tsIndexSignature(parameters: Identifier[], typeAnnotation?: TSTypeAnnotation | null): TSIndexSignature; + +declare function tsAnyKeyword(): TSAnyKeyword; + +declare function tsBooleanKeyword(): TSBooleanKeyword; + +declare function tsBigIntKeyword(): TSBigIntKeyword; + +declare function tsIntrinsicKeyword(): TSIntrinsicKeyword; + +declare function tsNeverKeyword(): TSNeverKeyword; + +declare function tsNullKeyword(): TSNullKeyword; + +declare function tsNumberKeyword(): TSNumberKeyword; + +declare function tsObjectKeyword(): TSObjectKeyword; + +declare function tsStringKeyword(): TSStringKeyword; + +declare function tsSymbolKeyword(): TSSymbolKeyword; + +declare function tsUndefinedKeyword(): TSUndefinedKeyword; + +declare function tsUnknownKeyword(): TSUnknownKeyword; + +declare function tsVoidKeyword(): TSVoidKeyword; + +declare function tsThisType(): TSThisType; + +declare function tsFunctionType(typeParameters: TSTypeParameterDeclaration | null | undefined, parameters: (ArrayPattern | Identifier | ObjectPattern | RestElement)[], typeAnnotation?: TSTypeAnnotation | null): TSFunctionType; + +declare function tsConstructorType(typeParameters: TSTypeParameterDeclaration | null | undefined, parameters: (ArrayPattern | Identifier | ObjectPattern | RestElement)[], typeAnnotation?: TSTypeAnnotation | null): TSConstructorType; + +declare function tsTypeReference(typeName: TSEntityName, typeParameters?: TSTypeParameterInstantiation | null): TSTypeReference; + +declare function tsTypePredicate(parameterName: Identifier | TSThisType, typeAnnotation?: TSTypeAnnotation | null, asserts?: boolean | null): TSTypePredicate; + +declare function tsTypeQuery(exprName: TSEntityName | TSImportType, typeParameters?: TSTypeParameterInstantiation | null): TSTypeQuery; + +declare function tsTypeLiteral(members: TSTypeElement[]): TSTypeLiteral; + +declare function tsArrayType(elementType: TSType): TSArrayType; + +declare function tsTupleType(elementTypes: (TSType | TSNamedTupleMember)[]): TSTupleType; + +declare function tsOptionalType(typeAnnotation: TSType): TSOptionalType; + +declare function tsRestType(typeAnnotation: TSType): TSRestType; + +declare function tsNamedTupleMember(label: Identifier, elementType: TSType, optional?: boolean): TSNamedTupleMember; + +declare function tsUnionType(types: TSType[]): TSUnionType; + +declare function tsIntersectionType(types: TSType[]): TSIntersectionType; + +declare function tsConditionalType(checkType: TSType, extendsType: TSType, trueType: TSType, falseType: TSType): TSConditionalType; + +declare function tsInferType(typeParameter: TSTypeParameter): TSInferType; + +declare function tsParenthesizedType(typeAnnotation: TSType): TSParenthesizedType; + +declare function tsTypeOperator(typeAnnotation: TSType, operator?: string): TSTypeOperator; + +declare function tsIndexedAccessType(objectType: TSType, indexType: TSType): TSIndexedAccessType; + +declare function tsMappedType(typeParameter: TSTypeParameter, typeAnnotation?: TSType | null, nameType?: TSType | null): TSMappedType; + +declare function tsTemplateLiteralType(quasis: TemplateElement[], types: TSType[]): TSTemplateLiteralType; + +declare function tsLiteralType(literal: NumericLiteral | StringLiteral | BooleanLiteral | BigIntLiteral | TemplateLiteral | UnaryExpression): TSLiteralType; + +declare function tsExpressionWithTypeArguments(expression: TSEntityName, typeParameters?: TSTypeParameterInstantiation | null): TSExpressionWithTypeArguments; + +declare function tsInterfaceDeclaration(id: Identifier, typeParameters: TSTypeParameterDeclaration | null | undefined, _extends: TSExpressionWithTypeArguments[] | null | undefined, body: TSInterfaceBody): TSInterfaceDeclaration; + +declare function tsInterfaceBody(body: TSTypeElement[]): TSInterfaceBody; + +declare function tsTypeAliasDeclaration(id: Identifier, typeParameters: TSTypeParameterDeclaration | null | undefined, typeAnnotation: TSType): TSTypeAliasDeclaration; + +declare function tsInstantiationExpression(expression: Expression, typeParameters?: TSTypeParameterInstantiation | null): TSInstantiationExpression; + +declare function tsAsExpression(expression: Expression, typeAnnotation: TSType): TSAsExpression; + +declare function tsSatisfiesExpression(expression: Expression, typeAnnotation: TSType): TSSatisfiesExpression; + +declare function tsTypeAssertion(typeAnnotation: TSType, expression: Expression): TSTypeAssertion; + +declare function tsEnumBody(members: TSEnumMember[]): TSEnumBody; + +declare function tsEnumDeclaration(id: Identifier, members: TSEnumMember[]): TSEnumDeclaration; + +declare function tsEnumMember(id: Identifier | StringLiteral, initializer?: Expression | null): TSEnumMember; + +declare function tsModuleDeclaration(id: Identifier | StringLiteral, body: TSModuleBlock | TSModuleDeclaration): TSModuleDeclaration; + +declare function tsModuleBlock(body: Statement[]): TSModuleBlock; + +declare function tsImportType(argument: StringLiteral, qualifier?: TSEntityName | null, typeParameters?: TSTypeParameterInstantiation | null): TSImportType; + +declare function tsImportEqualsDeclaration(id: Identifier, moduleReference: TSEntityName | TSExternalModuleReference): TSImportEqualsDeclaration; + +declare function tsExternalModuleReference(expression: StringLiteral): TSExternalModuleReference; + +declare function tsNonNullExpression(expression: Expression): TSNonNullExpression; + +declare function tsExportAssignment(expression: Expression): TSExportAssignment; + +declare function tsNamespaceExportDeclaration(id: Identifier): TSNamespaceExportDeclaration; + +declare function tsTypeAnnotation(typeAnnotation: TSType): TSTypeAnnotation; + +declare function tsTypeParameterInstantiation(params: TSType[]): TSTypeParameterInstantiation; + +declare function tsTypeParameterDeclaration(params: TSTypeParameter[]): TSTypeParameterDeclaration; + +declare function tsTypeParameter(constraint: TSType | null | undefined, _default: TSType | null | undefined, name: string): TSTypeParameter; + +/** @deprecated */ +declare function NumberLiteral(value: number): NumericLiteral; + +/** @deprecated */ +declare function RegexLiteral(pattern: string, flags?: string): RegExpLiteral; + +/** @deprecated */ +declare function RestProperty(argument: Identifier | ArrayPattern | ObjectPattern | MemberExpression | TSAsExpression | TSSatisfiesExpression | TSTypeAssertion | TSNonNullExpression | RestElement | AssignmentPattern): RestElement; + +/** @deprecated */ +declare function SpreadProperty(argument: Expression): SpreadElement; + +declare function buildUndefinedNode(): UnaryExpression; + +/** + * Create a clone of a `node` including only properties belonging to the node. + * If the second parameter is `false`, cloneNode performs a shallow clone. + * If the third parameter is true, the cloned nodes exclude location properties. + */ +declare function cloneNode(node: T, deep?: boolean, withoutLoc?: boolean): T; + +/** + * Create a shallow clone of a `node`, including only + * properties belonging to the node. + * @deprecated Use t.cloneNode instead. + */ +declare function clone(node: T): T; + +/** + * Create a deep clone of a `node` and all of it's child nodes + * including only properties belonging to the node. + * @deprecated Use t.cloneNode instead. + */ +declare function cloneDeep(node: T): T; + +/** + * Create a deep clone of a `node` and all of it's child nodes + * including only properties belonging to the node. + * excluding `_private` and location properties. + */ +declare function cloneDeepWithoutLoc(node: T): T; + +/** + * Create a shallow clone of a `node` excluding `_private` and location properties. + */ +declare function cloneWithoutLoc(node: T): T; + +/** + * Add comment of certain type to a node. + */ +declare function addComment(node: T, type: CommentTypeShorthand, content: string, line?: boolean): T; + +/** + * Add comments of certain type to a node. + */ +declare function addComments(node: T, type: CommentTypeShorthand, comments: Comment[]): T; + +declare function inheritInnerComments(child: Node, parent: Node): void; + +declare function inheritLeadingComments(child: Node, parent: Node): void; + +/** + * Inherit all unique comments from `parent` node to `child` node. + */ +declare function inheritsComments(child: T, parent: Node): T; + +declare function inheritTrailingComments(child: Node, parent: Node): void; + +/** + * Remove comment properties from a node. + */ +declare function removeComments(node: T): T; + +declare const STANDARDIZED_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const EXPRESSION_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const BINARY_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const SCOPABLE_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const BLOCKPARENT_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const BLOCK_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const STATEMENT_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const TERMINATORLESS_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const COMPLETIONSTATEMENT_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const CONDITIONAL_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const LOOP_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const WHILE_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const EXPRESSIONWRAPPER_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const FOR_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const FORXSTATEMENT_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const FUNCTION_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const FUNCTIONPARENT_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const PUREISH_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const DECLARATION_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const FUNCTIONPARAMETER_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const PATTERNLIKE_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const LVAL_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const TSENTITYNAME_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const LITERAL_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const IMMUTABLE_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const USERWHITESPACABLE_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const METHOD_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const OBJECTMEMBER_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const PROPERTY_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const UNARYLIKE_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const PATTERN_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const CLASS_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const IMPORTOREXPORTDECLARATION_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const EXPORTDECLARATION_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const MODULESPECIFIER_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const ACCESSOR_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const PRIVATE_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const FLOW_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const FLOWTYPE_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const FLOWBASEANNOTATION_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const FLOWDECLARATION_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const FLOWPREDICATE_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const ENUMBODY_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const ENUMMEMBER_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const JSX_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const MISCELLANEOUS_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const TYPESCRIPT_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const TSTYPEELEMENT_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const TSTYPE_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +declare const TSBASETYPE_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; +/** + * @deprecated migrate to IMPORTOREXPORTDECLARATION_TYPES. + */ +declare const MODULEDECLARATION_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral" | "BinaryExpression" | "BindExpression" | "BlockStatement" | "BooleanLiteral" | "BooleanLiteralTypeAnnotation" | "BooleanTypeAnnotation" | "BreakStatement" | "CallExpression" | "CatchClause" | "ClassAccessorProperty" | "ClassBody" | "ClassDeclaration" | "ClassExpression" | "ClassImplements" | "ClassMethod" | "ClassPrivateMethod" | "ClassPrivateProperty" | "ClassProperty" | "ConditionalExpression" | "ContinueStatement" | "DebuggerStatement" | "DecimalLiteral" | "DeclareClass" | "DeclareExportAllDeclaration" | "DeclareExportDeclaration" | "DeclareFunction" | "DeclareInterface" | "DeclareModule" | "DeclareModuleExports" | "DeclareOpaqueType" | "DeclareTypeAlias" | "DeclareVariable" | "DeclaredPredicate" | "Decorator" | "Directive" | "DirectiveLiteral" | "DoExpression" | "DoWhileStatement" | "EmptyStatement" | "EmptyTypeAnnotation" | "EnumBooleanBody" | "EnumBooleanMember" | "EnumDeclaration" | "EnumDefaultedMember" | "EnumNumberBody" | "EnumNumberMember" | "EnumStringBody" | "EnumStringMember" | "EnumSymbolBody" | "ExistsTypeAnnotation" | "ExportAllDeclaration" | "ExportDefaultDeclaration" | "ExportDefaultSpecifier" | "ExportNamedDeclaration" | "ExportNamespaceSpecifier" | "ExportSpecifier" | "ExpressionStatement" | "File" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "FunctionExpression" | "FunctionTypeAnnotation" | "FunctionTypeParam" | "GenericTypeAnnotation" | "Identifier" | "IfStatement" | "Import" | "ImportAttribute" | "ImportDeclaration" | "ImportDefaultSpecifier" | "ImportExpression" | "ImportNamespaceSpecifier" | "ImportSpecifier" | "IndexedAccessType" | "InferredPredicate" | "InterfaceDeclaration" | "InterfaceExtends" | "InterfaceTypeAnnotation" | "InterpreterDirective" | "IntersectionTypeAnnotation" | "JSXAttribute" | "JSXClosingElement" | "JSXClosingFragment" | "JSXElement" | "JSXEmptyExpression" | "JSXExpressionContainer" | "JSXFragment" | "JSXIdentifier" | "JSXMemberExpression" | "JSXNamespacedName" | "JSXOpeningElement" | "JSXOpeningFragment" | "JSXSpreadAttribute" | "JSXSpreadChild" | "JSXText" | "LabeledStatement" | "LogicalExpression" | "MemberExpression" | "MetaProperty" | "MixedTypeAnnotation" | "ModuleExpression" | "NewExpression" | "Noop" | "NullLiteral" | "NullLiteralTypeAnnotation" | "NullableTypeAnnotation" | "NumberLiteral" | "NumberLiteralTypeAnnotation" | "NumberTypeAnnotation" | "NumericLiteral" | "ObjectExpression" | "ObjectMethod" | "ObjectPattern" | "ObjectProperty" | "ObjectTypeAnnotation" | "ObjectTypeCallProperty" | "ObjectTypeIndexer" | "ObjectTypeInternalSlot" | "ObjectTypeProperty" | "ObjectTypeSpreadProperty" | "OpaqueType" | "OptionalCallExpression" | "OptionalIndexedAccessType" | "OptionalMemberExpression" | "ParenthesizedExpression" | "PipelineBareFunction" | "PipelinePrimaryTopicReference" | "PipelineTopicExpression" | "Placeholder" | "PrivateName" | "Program" | "QualifiedTypeIdentifier" | "RecordExpression" | "RegExpLiteral" | "RegexLiteral" | "RestElement" | "RestProperty" | "ReturnStatement" | "SequenceExpression" | "SpreadElement" | "SpreadProperty" | "StaticBlock" | "StringLiteral" | "StringLiteralTypeAnnotation" | "StringTypeAnnotation" | "Super" | "SwitchCase" | "SwitchStatement" | "SymbolTypeAnnotation" | "TSAnyKeyword" | "TSArrayType" | "TSAsExpression" | "TSBigIntKeyword" | "TSBooleanKeyword" | "TSCallSignatureDeclaration" | "TSConditionalType" | "TSConstructSignatureDeclaration" | "TSConstructorType" | "TSDeclareFunction" | "TSDeclareMethod" | "TSEnumBody" | "TSEnumDeclaration" | "TSEnumMember" | "TSExportAssignment" | "TSExpressionWithTypeArguments" | "TSExternalModuleReference" | "TSFunctionType" | "TSImportEqualsDeclaration" | "TSImportType" | "TSIndexSignature" | "TSIndexedAccessType" | "TSInferType" | "TSInstantiationExpression" | "TSInterfaceBody" | "TSInterfaceDeclaration" | "TSIntersectionType" | "TSIntrinsicKeyword" | "TSLiteralType" | "TSMappedType" | "TSMethodSignature" | "TSModuleBlock" | "TSModuleDeclaration" | "TSNamedTupleMember" | "TSNamespaceExportDeclaration" | "TSNeverKeyword" | "TSNonNullExpression" | "TSNullKeyword" | "TSNumberKeyword" | "TSObjectKeyword" | "TSOptionalType" | "TSParameterProperty" | "TSParenthesizedType" | "TSPropertySignature" | "TSQualifiedName" | "TSRestType" | "TSSatisfiesExpression" | "TSStringKeyword" | "TSSymbolKeyword" | "TSTemplateLiteralType" | "TSThisType" | "TSTupleType" | "TSTypeAliasDeclaration" | "TSTypeAnnotation" | "TSTypeAssertion" | "TSTypeLiteral" | "TSTypeOperator" | "TSTypeParameter" | "TSTypeParameterDeclaration" | "TSTypeParameterInstantiation" | "TSTypePredicate" | "TSTypeQuery" | "TSTypeReference" | "TSUndefinedKeyword" | "TSUnionType" | "TSUnknownKeyword" | "TSVoidKeyword" | "TaggedTemplateExpression" | "TemplateElement" | "TemplateLiteral" | "ThisExpression" | "ThisTypeAnnotation" | "ThrowStatement" | "TopicReference" | "TryStatement" | "TupleExpression" | "TupleTypeAnnotation" | "TypeAlias" | "TypeAnnotation" | "TypeCastExpression" | "TypeParameter" | "TypeParameterDeclaration" | "TypeParameterInstantiation" | "TypeofTypeAnnotation" | "UnaryExpression" | "UnionTypeAnnotation" | "UpdateExpression" | "V8IntrinsicIdentifier" | "VariableDeclaration" | "VariableDeclarator" | "Variance" | "VoidPattern" | "VoidTypeAnnotation" | "WhileStatement" | "WithStatement" | "YieldExpression" | keyof Aliases)[]; + +declare const STATEMENT_OR_BLOCK_KEYS: string[]; +declare const FLATTENABLE_KEYS: string[]; +declare const FOR_INIT_KEYS: string[]; +declare const COMMENT_KEYS: readonly ["leadingComments", "trailingComments", "innerComments"]; +declare const LOGICAL_OPERATORS: string[]; +declare const UPDATE_OPERATORS: string[]; +declare const BOOLEAN_NUMBER_BINARY_OPERATORS: string[]; +declare const EQUALITY_BINARY_OPERATORS: string[]; +declare const COMPARISON_BINARY_OPERATORS: string[]; +declare const BOOLEAN_BINARY_OPERATORS: string[]; +declare const NUMBER_BINARY_OPERATORS: string[]; +declare const BINARY_OPERATORS: string[]; +declare const ASSIGNMENT_OPERATORS: string[]; +declare const BOOLEAN_UNARY_OPERATORS: string[]; +declare const NUMBER_UNARY_OPERATORS: string[]; +declare const STRING_UNARY_OPERATORS: string[]; +declare const UNARY_OPERATORS: string[]; +declare const INHERIT_KEYS: { + readonly optional: readonly ["typeAnnotation", "typeParameters", "returnType"]; + readonly force: readonly ["start", "loc", "end"]; +}; + +/** + * Ensure the `key` (defaults to "body") of a `node` is a block. + * Casting it to a block if it is not. + * + * Returns the BlockStatement + */ +declare function ensureBlock(node: Node, key?: string): BlockStatement; + +declare function toBindingIdentifierName(name: string): string; + +declare function toBlock(node: Statement | Expression, parent?: Node): BlockStatement; + +declare function toComputedKey(node: ObjectMember | ObjectProperty | ClassMethod | ClassProperty | ClassAccessorProperty | MemberExpression | OptionalMemberExpression, key?: Expression | PrivateName): PrivateName | Expression; + +declare const _default$3: { + (node: Function): FunctionExpression; + (node: Class): ClassExpression; + (node: ExpressionStatement | Expression | Class | Function): Expression; +}; +//# sourceMappingURL=toExpression.d.ts.map + +declare function toIdentifier(input: string): string; + +declare function toKeyAlias(node: Method | Property, key?: Node): string; +declare namespace toKeyAlias { + var uid: number; + var increment: () => number; +} +//# sourceMappingURL=toKeyAlias.d.ts.map + +declare const _default$2: { + (node: AssignmentExpression, ignore?: boolean): ExpressionStatement; + (node: T, ignore: false): T; + (node: T, ignore?: boolean): T | false; + (node: Class, ignore: false): ClassDeclaration; + (node: Class, ignore?: boolean): ClassDeclaration | false; + (node: Function, ignore: false): FunctionDeclaration; + (node: Function, ignore?: boolean): FunctionDeclaration | false; + (node: Node, ignore: false): Statement; + (node: Node, ignore?: boolean): Statement | false; +}; +//# sourceMappingURL=toStatement.d.ts.map + +declare const _default$1: { + (value: undefined): Identifier; + (value: boolean): BooleanLiteral; + (value: null): NullLiteral; + (value: string): StringLiteral; + (value: number): NumericLiteral | BinaryExpression | UnaryExpression; + (value: bigint): BigIntLiteral; + (value: RegExp): RegExpLiteral; + (value: readonly unknown[]): ArrayExpression; + (value: object): ObjectExpression; + (value: unknown): Expression; +}; +//# sourceMappingURL=valueToNode.d.ts.map + +declare const VISITOR_KEYS: Record; +declare const ALIAS_KEYS: Partial>; +declare const FLIPPED_ALIAS_KEYS: Record; +declare const NODE_FIELDS: Record; +declare const BUILDER_KEYS: Record; +declare const DEPRECATED_KEYS: Record; +declare const NODE_PARENT_VALIDATIONS: Record; +declare function getType(val: any): "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "function" | "array" | "null"; +type NodeTypesWithoutComment = Node["type"] | keyof Aliases; +type NodeTypes = NodeTypesWithoutComment | Comment["type"]; +type PrimitiveTypes = ReturnType; +type FieldDefinitions = Record; +type ValidatorImpl = (node?: Node, key?: string | { + toString(): string; +}, val?: any) => void; +type ValidatorType = { + type: PrimitiveTypes; +} & ValidatorImpl; +type ValidatorEach = { + each: Validator; +} & ValidatorImpl; +type ValidatorChainOf = { + chainOf: readonly Validator[]; +} & ValidatorImpl; +type ValidatorOneOf = { + oneOf: readonly any[]; +} & ValidatorImpl; +type ValidatorOneOfNodeTypes = { + oneOfNodeTypes: readonly NodeTypes[]; +} & ValidatorImpl; +type ValidatorOneOfNodeOrValueTypes = { + oneOfNodeOrValueTypes: readonly (NodeTypes | PrimitiveTypes)[]; +} & ValidatorImpl; +type ValidatorShapeOf = { + shapeOf: Record; +} & ValidatorImpl; +type Validator = ValidatorType | ValidatorEach | ValidatorChainOf | ValidatorOneOf | ValidatorOneOfNodeTypes | ValidatorOneOfNodeOrValueTypes | ValidatorShapeOf | ValidatorImpl; +type FieldOptions = { + default?: string | number | boolean | []; + optional?: boolean; + deprecated?: boolean; + validate?: Validator; +}; + +declare const PLACEHOLDERS: readonly ["Identifier", "StringLiteral", "Expression", "Statement", "Declaration", "BlockStatement", "ClassBody", "Pattern"]; +declare const PLACEHOLDERS_ALIAS: Record; +declare const PLACEHOLDERS_FLIPPED_ALIAS: Record; + +declare const DEPRECATED_ALIASES: { + ModuleDeclaration: string; +}; + +declare const TYPES: string[]; +//# sourceMappingURL=index.d.ts.map + +/** + * Append a node to a member expression. + */ +declare function appendToMemberExpression(member: MemberExpression, append: MemberExpression["property"], computed?: boolean): MemberExpression; + +/** + * Inherit all contextual properties from `parent` node to `child` node. + */ +declare function inherits(child: T, parent: Node | null | undefined): T; + +/** + * Prepend a node to a member expression. + */ +declare function prependToMemberExpression>(member: T, prepend: MemberExpression["object"]): T; + +type Options$1 = { + preserveComments?: boolean; +}; +/** + * Remove all of the _* properties from a node along with the additional metadata + * properties like location data and raw token data. + */ +declare function removeProperties(node: Node, opts?: Options$1): void; + +declare function removePropertiesDeep(tree: T, opts?: { + preserveComments: boolean; +} | null): T; + +/** + * Dedupe type annotations. + */ +declare function removeTypeDuplicates(nodesIn: readonly (FlowType | false | null | undefined)[]): FlowType[]; + +/** + * For the given node, generate a map from assignment id names to the identifier node. + * Unlike getBindingIdentifiers, this function does not handle declarations and imports. + * @param node the assignment expression or forXstatement + * @returns an object map + * @see getBindingIdentifiers + */ +declare function getAssignmentIdentifiers(node: Node | Node[]): Record; + +declare function getBindingIdentifiers(node: Node, duplicates: true, outerOnly?: boolean, newBindingsOnly?: boolean): Record; +declare function getBindingIdentifiers(node: Node, duplicates?: false, outerOnly?: boolean, newBindingsOnly?: boolean): Record; +declare function getBindingIdentifiers(node: Node, duplicates?: boolean, outerOnly?: boolean, newBindingsOnly?: boolean): Record | Record; +declare namespace getBindingIdentifiers { + var keys: KeysMap; +} +/** + * Mapping of types to their identifier keys. + */ +type KeysMap = { + [N in Node as N["type"]]?: (keyof N)[]; +}; +//# sourceMappingURL=getBindingIdentifiers.d.ts.map + +declare const _default: { + (node: Node, duplicates: true): Record; + (node: Node, duplicates?: false): Record; + (node: Node, duplicates?: boolean): Record | Record; +}; +//# sourceMappingURL=getOuterBindingIdentifiers.d.ts.map + +type GetFunctionNameResult = { + name: string; + originalNode: Node; +} | null; +declare function getFunctionName(node: ObjectMethod | ClassMethod): GetFunctionNameResult; +declare function getFunctionName(node: Function | Class, parent: Node): GetFunctionNameResult; + +type TraversalAncestors = { + node: Node; + key: string; + index?: number; +}[]; +type TraversalHandler = (this: undefined, node: Node, parent: TraversalAncestors, state: T) => void; +type TraversalHandlers = { + enter?: TraversalHandler; + exit?: TraversalHandler; +}; +/** + * A general AST traversal with both prefix and postfix handlers, and a + * state object. Exposes ancestry data to each handler so that more complex + * AST data can be taken into account. + */ +declare function traverse(node: Node, handlers: TraversalHandler | TraversalHandlers, state?: T): void; + +declare const _skip: unique symbol; +declare const _stop: unique symbol; +/** + * A prefix AST traversal implementation meant for simple searching and processing. + * @param enter The callback can return `traverseFast.skip` to skip the subtree of the current node, or `traverseFast.stop` to stop the traversal. + * @returns `true` if the traversal was stopped by callback, `false` otherwise. + */ +declare function traverseFast(node: Node | null | undefined, enter: (node: Node, opts?: Options) => void | typeof traverseFast.skip | typeof traverseFast.stop, opts?: Options): boolean; +declare namespace traverseFast { + var skip: typeof _skip; + var stop: typeof _stop; +} +//# sourceMappingURL=traverseFast.d.ts.map + +declare function shallowEqual(actual: object, expected: T): actual is T; + +declare function is(type: T, node: Node | null | undefined, opts?: undefined): node is Extract; +declare function is>(type: T, n: Node | null | undefined, required: Partial

): n is P; +declare function is

(type: string, node: Node | null | undefined, opts: Partial

): node is P; +declare function is(type: string, node: Node | null | undefined, opts?: Partial): node is Node; + +/** + * Check if the input `node` is a binding identifier. + */ +declare function isBinding(node: Node, parent: Node, grandparent?: Node): boolean; + +/** + * Check if the input `node` is block scoped. + */ +declare function isBlockScoped(node: Node | null | undefined): boolean; + +/** + * Check if the input `node` is definitely immutable. + */ +declare function isImmutable(node: Node): boolean; + +/** + * Check if the input `node` is a `let` variable declaration. + */ +declare function isLet(node: Node): boolean; + +declare function isNode(node: any): node is Node; + +/** + * Check if two nodes are equivalent + */ +declare function isNodesEquivalent>(a: T, b: any): b is T; + +/** + * Test if a `placeholderType` is a `targetType` or if `targetType` is an alias of `placeholderType`. + */ +declare function isPlaceholderType(placeholderType: string, targetType: string): boolean; + +/** + * Check if the input `node` is a reference to a bound variable. + */ +declare function isReferenced(node: Node | null | undefined, parent: Node, grandparent?: Node): boolean; + +/** + * Check if the input `node` is a scope. + */ +declare function isScope(node: Node | null | undefined, parent: Node): boolean; + +/** + * Check if the input `specifier` is a `default` import or export. + */ +declare function isSpecifierDefault(specifier: ModuleSpecifier): boolean; + +declare function isType(nodeType: string, targetType: T): nodeType is T; +declare function isType(nodeType: string | null | undefined, targetType: string): boolean; + +/** + * Check if the input `name` is a valid identifier name according to the ES3 specification. + * + * Additional ES3 reserved words are + */ +declare function isValidES3Identifier(name: string): boolean; + +/** + * Check if the input `name` is a valid identifier name + * and isn't a reserved word. + */ +declare function isValidIdentifier(name: string, reserved?: boolean): boolean; + +/** + * Check if the input `node` is a variable declaration. + */ +declare function isVar(node: Node | null | undefined): boolean; + +/** + * Determines whether or not the input node `member` matches the + * input `match`. + * + * For example, given the match `React.createClass` it would match the + * parsed nodes of `React.createClass` and `React["createClass"]`. + */ +declare function matchesPattern(member: Node | null | undefined, match: string | string[], allowPartial?: boolean): boolean; + +declare function validate(node: Node | undefined | null, key: string, val: unknown): void; + +/** + * Build a function that when called will return whether or not the + * input `node` `MemberExpression` matches the input `match`. + * + * For example, given the match `React.createClass` it would match the + * parsed nodes of `React.createClass` and `React["createClass"]`. + */ +declare function buildMatchMemberExpression(match: string, allowPartial?: boolean): (member: Node) => boolean; + +type Options = Partial<{ + [Prop in Exclude]: Obj[Prop] extends Node ? Node : Obj[Prop] extends Node[] ? Node[] : Obj[Prop]; +}>; +declare function isArrayExpression(node: Node | null | undefined): node is ArrayExpression; +declare function isArrayExpression>(node: Node | null | undefined, opts?: Opts | null): node is ArrayExpression & Opts; +declare function isAssignmentExpression(node: Node | null | undefined): node is AssignmentExpression; +declare function isAssignmentExpression>(node: Node | null | undefined, opts?: Opts | null): node is AssignmentExpression & Opts; +declare function isBinaryExpression(node: Node | null | undefined): node is BinaryExpression; +declare function isBinaryExpression>(node: Node | null | undefined, opts?: Opts | null): node is BinaryExpression & Opts; +declare function isInterpreterDirective(node: Node | null | undefined): node is InterpreterDirective; +declare function isInterpreterDirective>(node: Node | null | undefined, opts?: Opts | null): node is InterpreterDirective & Opts; +declare function isDirective(node: Node | null | undefined): node is Directive; +declare function isDirective>(node: Node | null | undefined, opts?: Opts | null): node is Directive & Opts; +declare function isDirectiveLiteral(node: Node | null | undefined): node is DirectiveLiteral; +declare function isDirectiveLiteral>(node: Node | null | undefined, opts?: Opts | null): node is DirectiveLiteral & Opts; +declare function isBlockStatement(node: Node | null | undefined): node is BlockStatement; +declare function isBlockStatement>(node: Node | null | undefined, opts?: Opts | null): node is BlockStatement & Opts; +declare function isBreakStatement(node: Node | null | undefined): node is BreakStatement; +declare function isBreakStatement>(node: Node | null | undefined, opts?: Opts | null): node is BreakStatement & Opts; +declare function isCallExpression(node: Node | null | undefined): node is CallExpression; +declare function isCallExpression>(node: Node | null | undefined, opts?: Opts | null): node is CallExpression & Opts; +declare function isCatchClause(node: Node | null | undefined): node is CatchClause; +declare function isCatchClause>(node: Node | null | undefined, opts?: Opts | null): node is CatchClause & Opts; +declare function isConditionalExpression(node: Node | null | undefined): node is ConditionalExpression; +declare function isConditionalExpression>(node: Node | null | undefined, opts?: Opts | null): node is ConditionalExpression & Opts; +declare function isContinueStatement(node: Node | null | undefined): node is ContinueStatement; +declare function isContinueStatement>(node: Node | null | undefined, opts?: Opts | null): node is ContinueStatement & Opts; +declare function isDebuggerStatement(node: Node | null | undefined): node is DebuggerStatement; +declare function isDebuggerStatement>(node: Node | null | undefined, opts?: Opts | null): node is DebuggerStatement & Opts; +declare function isDoWhileStatement(node: Node | null | undefined): node is DoWhileStatement; +declare function isDoWhileStatement>(node: Node | null | undefined, opts?: Opts | null): node is DoWhileStatement & Opts; +declare function isEmptyStatement(node: Node | null | undefined): node is EmptyStatement; +declare function isEmptyStatement>(node: Node | null | undefined, opts?: Opts | null): node is EmptyStatement & Opts; +declare function isExpressionStatement(node: Node | null | undefined): node is ExpressionStatement; +declare function isExpressionStatement>(node: Node | null | undefined, opts?: Opts | null): node is ExpressionStatement & Opts; +declare function isFile(node: Node | null | undefined): node is File; +declare function isFile>(node: Node | null | undefined, opts?: Opts | null): node is File & Opts; +declare function isForInStatement(node: Node | null | undefined): node is ForInStatement; +declare function isForInStatement>(node: Node | null | undefined, opts?: Opts | null): node is ForInStatement & Opts; +declare function isForStatement(node: Node | null | undefined): node is ForStatement; +declare function isForStatement>(node: Node | null | undefined, opts?: Opts | null): node is ForStatement & Opts; +declare function isFunctionDeclaration(node: Node | null | undefined): node is FunctionDeclaration; +declare function isFunctionDeclaration>(node: Node | null | undefined, opts?: Opts | null): node is FunctionDeclaration & Opts; +declare function isFunctionExpression(node: Node | null | undefined): node is FunctionExpression; +declare function isFunctionExpression>(node: Node | null | undefined, opts?: Opts | null): node is FunctionExpression & Opts; +declare function isIdentifier(node: Node | null | undefined): node is Identifier; +declare function isIdentifier>(node: Node | null | undefined, opts?: Opts | null): node is Identifier & Opts; +declare function isIfStatement(node: Node | null | undefined): node is IfStatement; +declare function isIfStatement>(node: Node | null | undefined, opts?: Opts | null): node is IfStatement & Opts; +declare function isLabeledStatement(node: Node | null | undefined): node is LabeledStatement; +declare function isLabeledStatement>(node: Node | null | undefined, opts?: Opts | null): node is LabeledStatement & Opts; +declare function isStringLiteral(node: Node | null | undefined): node is StringLiteral; +declare function isStringLiteral>(node: Node | null | undefined, opts?: Opts | null): node is StringLiteral & Opts; +declare function isNumericLiteral(node: Node | null | undefined): node is NumericLiteral; +declare function isNumericLiteral>(node: Node | null | undefined, opts?: Opts | null): node is NumericLiteral & Opts; +declare function isNullLiteral(node: Node | null | undefined): node is NullLiteral; +declare function isNullLiteral>(node: Node | null | undefined, opts?: Opts | null): node is NullLiteral & Opts; +declare function isBooleanLiteral(node: Node | null | undefined): node is BooleanLiteral; +declare function isBooleanLiteral>(node: Node | null | undefined, opts?: Opts | null): node is BooleanLiteral & Opts; +declare function isRegExpLiteral(node: Node | null | undefined): node is RegExpLiteral; +declare function isRegExpLiteral>(node: Node | null | undefined, opts?: Opts | null): node is RegExpLiteral & Opts; +declare function isLogicalExpression(node: Node | null | undefined): node is LogicalExpression; +declare function isLogicalExpression>(node: Node | null | undefined, opts?: Opts | null): node is LogicalExpression & Opts; +declare function isMemberExpression(node: Node | null | undefined): node is MemberExpression; +declare function isMemberExpression>(node: Node | null | undefined, opts?: Opts | null): node is MemberExpression & Opts; +declare function isNewExpression(node: Node | null | undefined): node is NewExpression; +declare function isNewExpression>(node: Node | null | undefined, opts?: Opts | null): node is NewExpression & Opts; +declare function isProgram(node: Node | null | undefined): node is Program; +declare function isProgram>(node: Node | null | undefined, opts?: Opts | null): node is Program & Opts; +declare function isObjectExpression(node: Node | null | undefined): node is ObjectExpression; +declare function isObjectExpression>(node: Node | null | undefined, opts?: Opts | null): node is ObjectExpression & Opts; +declare function isObjectMethod(node: Node | null | undefined): node is ObjectMethod; +declare function isObjectMethod>(node: Node | null | undefined, opts?: Opts | null): node is ObjectMethod & Opts; +declare function isObjectProperty(node: Node | null | undefined): node is ObjectProperty; +declare function isObjectProperty>(node: Node | null | undefined, opts?: Opts | null): node is ObjectProperty & Opts; +declare function isRestElement(node: Node | null | undefined): node is RestElement; +declare function isRestElement>(node: Node | null | undefined, opts?: Opts | null): node is RestElement & Opts; +declare function isReturnStatement(node: Node | null | undefined): node is ReturnStatement; +declare function isReturnStatement>(node: Node | null | undefined, opts?: Opts | null): node is ReturnStatement & Opts; +declare function isSequenceExpression(node: Node | null | undefined): node is SequenceExpression; +declare function isSequenceExpression>(node: Node | null | undefined, opts?: Opts | null): node is SequenceExpression & Opts; +declare function isParenthesizedExpression(node: Node | null | undefined): node is ParenthesizedExpression; +declare function isParenthesizedExpression>(node: Node | null | undefined, opts?: Opts | null): node is ParenthesizedExpression & Opts; +declare function isSwitchCase(node: Node | null | undefined): node is SwitchCase; +declare function isSwitchCase>(node: Node | null | undefined, opts?: Opts | null): node is SwitchCase & Opts; +declare function isSwitchStatement(node: Node | null | undefined): node is SwitchStatement; +declare function isSwitchStatement>(node: Node | null | undefined, opts?: Opts | null): node is SwitchStatement & Opts; +declare function isThisExpression(node: Node | null | undefined): node is ThisExpression; +declare function isThisExpression>(node: Node | null | undefined, opts?: Opts | null): node is ThisExpression & Opts; +declare function isThrowStatement(node: Node | null | undefined): node is ThrowStatement; +declare function isThrowStatement>(node: Node | null | undefined, opts?: Opts | null): node is ThrowStatement & Opts; +declare function isTryStatement(node: Node | null | undefined): node is TryStatement; +declare function isTryStatement>(node: Node | null | undefined, opts?: Opts | null): node is TryStatement & Opts; +declare function isUnaryExpression(node: Node | null | undefined): node is UnaryExpression; +declare function isUnaryExpression>(node: Node | null | undefined, opts?: Opts | null): node is UnaryExpression & Opts; +declare function isUpdateExpression(node: Node | null | undefined): node is UpdateExpression; +declare function isUpdateExpression>(node: Node | null | undefined, opts?: Opts | null): node is UpdateExpression & Opts; +declare function isVariableDeclaration(node: Node | null | undefined): node is VariableDeclaration; +declare function isVariableDeclaration>(node: Node | null | undefined, opts?: Opts | null): node is VariableDeclaration & Opts; +declare function isVariableDeclarator(node: Node | null | undefined): node is VariableDeclarator; +declare function isVariableDeclarator>(node: Node | null | undefined, opts?: Opts | null): node is VariableDeclarator & Opts; +declare function isWhileStatement(node: Node | null | undefined): node is WhileStatement; +declare function isWhileStatement>(node: Node | null | undefined, opts?: Opts | null): node is WhileStatement & Opts; +declare function isWithStatement(node: Node | null | undefined): node is WithStatement; +declare function isWithStatement>(node: Node | null | undefined, opts?: Opts | null): node is WithStatement & Opts; +declare function isAssignmentPattern(node: Node | null | undefined): node is AssignmentPattern; +declare function isAssignmentPattern>(node: Node | null | undefined, opts?: Opts | null): node is AssignmentPattern & Opts; +declare function isArrayPattern(node: Node | null | undefined): node is ArrayPattern; +declare function isArrayPattern>(node: Node | null | undefined, opts?: Opts | null): node is ArrayPattern & Opts; +declare function isArrowFunctionExpression(node: Node | null | undefined): node is ArrowFunctionExpression; +declare function isArrowFunctionExpression>(node: Node | null | undefined, opts?: Opts | null): node is ArrowFunctionExpression & Opts; +declare function isClassBody(node: Node | null | undefined): node is ClassBody; +declare function isClassBody>(node: Node | null | undefined, opts?: Opts | null): node is ClassBody & Opts; +declare function isClassExpression(node: Node | null | undefined): node is ClassExpression; +declare function isClassExpression>(node: Node | null | undefined, opts?: Opts | null): node is ClassExpression & Opts; +declare function isClassDeclaration(node: Node | null | undefined): node is ClassDeclaration; +declare function isClassDeclaration>(node: Node | null | undefined, opts?: Opts | null): node is ClassDeclaration & Opts; +declare function isExportAllDeclaration(node: Node | null | undefined): node is ExportAllDeclaration; +declare function isExportAllDeclaration>(node: Node | null | undefined, opts?: Opts | null): node is ExportAllDeclaration & Opts; +declare function isExportDefaultDeclaration(node: Node | null | undefined): node is ExportDefaultDeclaration; +declare function isExportDefaultDeclaration>(node: Node | null | undefined, opts?: Opts | null): node is ExportDefaultDeclaration & Opts; +declare function isExportNamedDeclaration(node: Node | null | undefined): node is ExportNamedDeclaration; +declare function isExportNamedDeclaration>(node: Node | null | undefined, opts?: Opts | null): node is ExportNamedDeclaration & Opts; +declare function isExportSpecifier(node: Node | null | undefined): node is ExportSpecifier; +declare function isExportSpecifier>(node: Node | null | undefined, opts?: Opts | null): node is ExportSpecifier & Opts; +declare function isForOfStatement(node: Node | null | undefined): node is ForOfStatement; +declare function isForOfStatement>(node: Node | null | undefined, opts?: Opts | null): node is ForOfStatement & Opts; +declare function isImportDeclaration(node: Node | null | undefined): node is ImportDeclaration; +declare function isImportDeclaration>(node: Node | null | undefined, opts?: Opts | null): node is ImportDeclaration & Opts; +declare function isImportDefaultSpecifier(node: Node | null | undefined): node is ImportDefaultSpecifier; +declare function isImportDefaultSpecifier>(node: Node | null | undefined, opts?: Opts | null): node is ImportDefaultSpecifier & Opts; +declare function isImportNamespaceSpecifier(node: Node | null | undefined): node is ImportNamespaceSpecifier; +declare function isImportNamespaceSpecifier>(node: Node | null | undefined, opts?: Opts | null): node is ImportNamespaceSpecifier & Opts; +declare function isImportSpecifier(node: Node | null | undefined): node is ImportSpecifier; +declare function isImportSpecifier>(node: Node | null | undefined, opts?: Opts | null): node is ImportSpecifier & Opts; +declare function isImportExpression(node: Node | null | undefined): node is ImportExpression; +declare function isImportExpression>(node: Node | null | undefined, opts?: Opts | null): node is ImportExpression & Opts; +declare function isMetaProperty(node: Node | null | undefined): node is MetaProperty; +declare function isMetaProperty>(node: Node | null | undefined, opts?: Opts | null): node is MetaProperty & Opts; +declare function isClassMethod(node: Node | null | undefined): node is ClassMethod; +declare function isClassMethod>(node: Node | null | undefined, opts?: Opts | null): node is ClassMethod & Opts; +declare function isObjectPattern(node: Node | null | undefined): node is ObjectPattern; +declare function isObjectPattern>(node: Node | null | undefined, opts?: Opts | null): node is ObjectPattern & Opts; +declare function isSpreadElement(node: Node | null | undefined): node is SpreadElement; +declare function isSpreadElement>(node: Node | null | undefined, opts?: Opts | null): node is SpreadElement & Opts; +declare function isSuper(node: Node | null | undefined): node is Super; +declare function isSuper>(node: Node | null | undefined, opts?: Opts | null): node is Super & Opts; +declare function isTaggedTemplateExpression(node: Node | null | undefined): node is TaggedTemplateExpression; +declare function isTaggedTemplateExpression>(node: Node | null | undefined, opts?: Opts | null): node is TaggedTemplateExpression & Opts; +declare function isTemplateElement(node: Node | null | undefined): node is TemplateElement; +declare function isTemplateElement>(node: Node | null | undefined, opts?: Opts | null): node is TemplateElement & Opts; +declare function isTemplateLiteral(node: Node | null | undefined): node is TemplateLiteral; +declare function isTemplateLiteral>(node: Node | null | undefined, opts?: Opts | null): node is TemplateLiteral & Opts; +declare function isYieldExpression(node: Node | null | undefined): node is YieldExpression; +declare function isYieldExpression>(node: Node | null | undefined, opts?: Opts | null): node is YieldExpression & Opts; +declare function isAwaitExpression(node: Node | null | undefined): node is AwaitExpression; +declare function isAwaitExpression>(node: Node | null | undefined, opts?: Opts | null): node is AwaitExpression & Opts; +declare function isImport(node: Node | null | undefined): node is Import; +declare function isImport>(node: Node | null | undefined, opts?: Opts | null): node is Import & Opts; +declare function isBigIntLiteral(node: Node | null | undefined): node is BigIntLiteral; +declare function isBigIntLiteral>(node: Node | null | undefined, opts?: Opts | null): node is BigIntLiteral & Opts; +declare function isExportNamespaceSpecifier(node: Node | null | undefined): node is ExportNamespaceSpecifier; +declare function isExportNamespaceSpecifier>(node: Node | null | undefined, opts?: Opts | null): node is ExportNamespaceSpecifier & Opts; +declare function isOptionalMemberExpression(node: Node | null | undefined): node is OptionalMemberExpression; +declare function isOptionalMemberExpression>(node: Node | null | undefined, opts?: Opts | null): node is OptionalMemberExpression & Opts; +declare function isOptionalCallExpression(node: Node | null | undefined): node is OptionalCallExpression; +declare function isOptionalCallExpression>(node: Node | null | undefined, opts?: Opts | null): node is OptionalCallExpression & Opts; +declare function isClassProperty(node: Node | null | undefined): node is ClassProperty; +declare function isClassProperty>(node: Node | null | undefined, opts?: Opts | null): node is ClassProperty & Opts; +declare function isClassAccessorProperty(node: Node | null | undefined): node is ClassAccessorProperty; +declare function isClassAccessorProperty>(node: Node | null | undefined, opts?: Opts | null): node is ClassAccessorProperty & Opts; +declare function isClassPrivateProperty(node: Node | null | undefined): node is ClassPrivateProperty; +declare function isClassPrivateProperty>(node: Node | null | undefined, opts?: Opts | null): node is ClassPrivateProperty & Opts; +declare function isClassPrivateMethod(node: Node | null | undefined): node is ClassPrivateMethod; +declare function isClassPrivateMethod>(node: Node | null | undefined, opts?: Opts | null): node is ClassPrivateMethod & Opts; +declare function isPrivateName(node: Node | null | undefined): node is PrivateName; +declare function isPrivateName>(node: Node | null | undefined, opts?: Opts | null): node is PrivateName & Opts; +declare function isStaticBlock(node: Node | null | undefined): node is StaticBlock; +declare function isStaticBlock>(node: Node | null | undefined, opts?: Opts | null): node is StaticBlock & Opts; +declare function isImportAttribute(node: Node | null | undefined): node is ImportAttribute; +declare function isImportAttribute>(node: Node | null | undefined, opts?: Opts | null): node is ImportAttribute & Opts; +declare function isAnyTypeAnnotation(node: Node | null | undefined): node is AnyTypeAnnotation; +declare function isAnyTypeAnnotation>(node: Node | null | undefined, opts?: Opts | null): node is AnyTypeAnnotation & Opts; +declare function isArrayTypeAnnotation(node: Node | null | undefined): node is ArrayTypeAnnotation; +declare function isArrayTypeAnnotation>(node: Node | null | undefined, opts?: Opts | null): node is ArrayTypeAnnotation & Opts; +declare function isBooleanTypeAnnotation(node: Node | null | undefined): node is BooleanTypeAnnotation; +declare function isBooleanTypeAnnotation>(node: Node | null | undefined, opts?: Opts | null): node is BooleanTypeAnnotation & Opts; +declare function isBooleanLiteralTypeAnnotation(node: Node | null | undefined): node is BooleanLiteralTypeAnnotation; +declare function isBooleanLiteralTypeAnnotation>(node: Node | null | undefined, opts?: Opts | null): node is BooleanLiteralTypeAnnotation & Opts; +declare function isNullLiteralTypeAnnotation(node: Node | null | undefined): node is NullLiteralTypeAnnotation; +declare function isNullLiteralTypeAnnotation>(node: Node | null | undefined, opts?: Opts | null): node is NullLiteralTypeAnnotation & Opts; +declare function isClassImplements(node: Node | null | undefined): node is ClassImplements; +declare function isClassImplements>(node: Node | null | undefined, opts?: Opts | null): node is ClassImplements & Opts; +declare function isDeclareClass(node: Node | null | undefined): node is DeclareClass; +declare function isDeclareClass>(node: Node | null | undefined, opts?: Opts | null): node is DeclareClass & Opts; +declare function isDeclareFunction(node: Node | null | undefined): node is DeclareFunction; +declare function isDeclareFunction>(node: Node | null | undefined, opts?: Opts | null): node is DeclareFunction & Opts; +declare function isDeclareInterface(node: Node | null | undefined): node is DeclareInterface; +declare function isDeclareInterface>(node: Node | null | undefined, opts?: Opts | null): node is DeclareInterface & Opts; +declare function isDeclareModule(node: Node | null | undefined): node is DeclareModule; +declare function isDeclareModule>(node: Node | null | undefined, opts?: Opts | null): node is DeclareModule & Opts; +declare function isDeclareModuleExports(node: Node | null | undefined): node is DeclareModuleExports; +declare function isDeclareModuleExports>(node: Node | null | undefined, opts?: Opts | null): node is DeclareModuleExports & Opts; +declare function isDeclareTypeAlias(node: Node | null | undefined): node is DeclareTypeAlias; +declare function isDeclareTypeAlias>(node: Node | null | undefined, opts?: Opts | null): node is DeclareTypeAlias & Opts; +declare function isDeclareOpaqueType(node: Node | null | undefined): node is DeclareOpaqueType; +declare function isDeclareOpaqueType>(node: Node | null | undefined, opts?: Opts | null): node is DeclareOpaqueType & Opts; +declare function isDeclareVariable(node: Node | null | undefined): node is DeclareVariable; +declare function isDeclareVariable>(node: Node | null | undefined, opts?: Opts | null): node is DeclareVariable & Opts; +declare function isDeclareExportDeclaration(node: Node | null | undefined): node is DeclareExportDeclaration; +declare function isDeclareExportDeclaration>(node: Node | null | undefined, opts?: Opts | null): node is DeclareExportDeclaration & Opts; +declare function isDeclareExportAllDeclaration(node: Node | null | undefined): node is DeclareExportAllDeclaration; +declare function isDeclareExportAllDeclaration>(node: Node | null | undefined, opts?: Opts | null): node is DeclareExportAllDeclaration & Opts; +declare function isDeclaredPredicate(node: Node | null | undefined): node is DeclaredPredicate; +declare function isDeclaredPredicate>(node: Node | null | undefined, opts?: Opts | null): node is DeclaredPredicate & Opts; +declare function isExistsTypeAnnotation(node: Node | null | undefined): node is ExistsTypeAnnotation; +declare function isExistsTypeAnnotation>(node: Node | null | undefined, opts?: Opts | null): node is ExistsTypeAnnotation & Opts; +declare function isFunctionTypeAnnotation(node: Node | null | undefined): node is FunctionTypeAnnotation; +declare function isFunctionTypeAnnotation>(node: Node | null | undefined, opts?: Opts | null): node is FunctionTypeAnnotation & Opts; +declare function isFunctionTypeParam(node: Node | null | undefined): node is FunctionTypeParam; +declare function isFunctionTypeParam>(node: Node | null | undefined, opts?: Opts | null): node is FunctionTypeParam & Opts; +declare function isGenericTypeAnnotation(node: Node | null | undefined): node is GenericTypeAnnotation; +declare function isGenericTypeAnnotation>(node: Node | null | undefined, opts?: Opts | null): node is GenericTypeAnnotation & Opts; +declare function isInferredPredicate(node: Node | null | undefined): node is InferredPredicate; +declare function isInferredPredicate>(node: Node | null | undefined, opts?: Opts | null): node is InferredPredicate & Opts; +declare function isInterfaceExtends(node: Node | null | undefined): node is InterfaceExtends; +declare function isInterfaceExtends>(node: Node | null | undefined, opts?: Opts | null): node is InterfaceExtends & Opts; +declare function isInterfaceDeclaration(node: Node | null | undefined): node is InterfaceDeclaration; +declare function isInterfaceDeclaration>(node: Node | null | undefined, opts?: Opts | null): node is InterfaceDeclaration & Opts; +declare function isInterfaceTypeAnnotation(node: Node | null | undefined): node is InterfaceTypeAnnotation; +declare function isInterfaceTypeAnnotation>(node: Node | null | undefined, opts?: Opts | null): node is InterfaceTypeAnnotation & Opts; +declare function isIntersectionTypeAnnotation(node: Node | null | undefined): node is IntersectionTypeAnnotation; +declare function isIntersectionTypeAnnotation>(node: Node | null | undefined, opts?: Opts | null): node is IntersectionTypeAnnotation & Opts; +declare function isMixedTypeAnnotation(node: Node | null | undefined): node is MixedTypeAnnotation; +declare function isMixedTypeAnnotation>(node: Node | null | undefined, opts?: Opts | null): node is MixedTypeAnnotation & Opts; +declare function isEmptyTypeAnnotation(node: Node | null | undefined): node is EmptyTypeAnnotation; +declare function isEmptyTypeAnnotation>(node: Node | null | undefined, opts?: Opts | null): node is EmptyTypeAnnotation & Opts; +declare function isNullableTypeAnnotation(node: Node | null | undefined): node is NullableTypeAnnotation; +declare function isNullableTypeAnnotation>(node: Node | null | undefined, opts?: Opts | null): node is NullableTypeAnnotation & Opts; +declare function isNumberLiteralTypeAnnotation(node: Node | null | undefined): node is NumberLiteralTypeAnnotation; +declare function isNumberLiteralTypeAnnotation>(node: Node | null | undefined, opts?: Opts | null): node is NumberLiteralTypeAnnotation & Opts; +declare function isNumberTypeAnnotation(node: Node | null | undefined): node is NumberTypeAnnotation; +declare function isNumberTypeAnnotation>(node: Node | null | undefined, opts?: Opts | null): node is NumberTypeAnnotation & Opts; +declare function isObjectTypeAnnotation(node: Node | null | undefined): node is ObjectTypeAnnotation; +declare function isObjectTypeAnnotation>(node: Node | null | undefined, opts?: Opts | null): node is ObjectTypeAnnotation & Opts; +declare function isObjectTypeInternalSlot(node: Node | null | undefined): node is ObjectTypeInternalSlot; +declare function isObjectTypeInternalSlot>(node: Node | null | undefined, opts?: Opts | null): node is ObjectTypeInternalSlot & Opts; +declare function isObjectTypeCallProperty(node: Node | null | undefined): node is ObjectTypeCallProperty; +declare function isObjectTypeCallProperty>(node: Node | null | undefined, opts?: Opts | null): node is ObjectTypeCallProperty & Opts; +declare function isObjectTypeIndexer(node: Node | null | undefined): node is ObjectTypeIndexer; +declare function isObjectTypeIndexer>(node: Node | null | undefined, opts?: Opts | null): node is ObjectTypeIndexer & Opts; +declare function isObjectTypeProperty(node: Node | null | undefined): node is ObjectTypeProperty; +declare function isObjectTypeProperty>(node: Node | null | undefined, opts?: Opts | null): node is ObjectTypeProperty & Opts; +declare function isObjectTypeSpreadProperty(node: Node | null | undefined): node is ObjectTypeSpreadProperty; +declare function isObjectTypeSpreadProperty>(node: Node | null | undefined, opts?: Opts | null): node is ObjectTypeSpreadProperty & Opts; +declare function isOpaqueType(node: Node | null | undefined): node is OpaqueType; +declare function isOpaqueType>(node: Node | null | undefined, opts?: Opts | null): node is OpaqueType & Opts; +declare function isQualifiedTypeIdentifier(node: Node | null | undefined): node is QualifiedTypeIdentifier; +declare function isQualifiedTypeIdentifier>(node: Node | null | undefined, opts?: Opts | null): node is QualifiedTypeIdentifier & Opts; +declare function isStringLiteralTypeAnnotation(node: Node | null | undefined): node is StringLiteralTypeAnnotation; +declare function isStringLiteralTypeAnnotation>(node: Node | null | undefined, opts?: Opts | null): node is StringLiteralTypeAnnotation & Opts; +declare function isStringTypeAnnotation(node: Node | null | undefined): node is StringTypeAnnotation; +declare function isStringTypeAnnotation>(node: Node | null | undefined, opts?: Opts | null): node is StringTypeAnnotation & Opts; +declare function isSymbolTypeAnnotation(node: Node | null | undefined): node is SymbolTypeAnnotation; +declare function isSymbolTypeAnnotation>(node: Node | null | undefined, opts?: Opts | null): node is SymbolTypeAnnotation & Opts; +declare function isThisTypeAnnotation(node: Node | null | undefined): node is ThisTypeAnnotation; +declare function isThisTypeAnnotation>(node: Node | null | undefined, opts?: Opts | null): node is ThisTypeAnnotation & Opts; +declare function isTupleTypeAnnotation(node: Node | null | undefined): node is TupleTypeAnnotation; +declare function isTupleTypeAnnotation>(node: Node | null | undefined, opts?: Opts | null): node is TupleTypeAnnotation & Opts; +declare function isTypeofTypeAnnotation(node: Node | null | undefined): node is TypeofTypeAnnotation; +declare function isTypeofTypeAnnotation>(node: Node | null | undefined, opts?: Opts | null): node is TypeofTypeAnnotation & Opts; +declare function isTypeAlias(node: Node | null | undefined): node is TypeAlias; +declare function isTypeAlias>(node: Node | null | undefined, opts?: Opts | null): node is TypeAlias & Opts; +declare function isTypeAnnotation(node: Node | null | undefined): node is TypeAnnotation; +declare function isTypeAnnotation>(node: Node | null | undefined, opts?: Opts | null): node is TypeAnnotation & Opts; +declare function isTypeCastExpression(node: Node | null | undefined): node is TypeCastExpression; +declare function isTypeCastExpression>(node: Node | null | undefined, opts?: Opts | null): node is TypeCastExpression & Opts; +declare function isTypeParameter(node: Node | null | undefined): node is TypeParameter; +declare function isTypeParameter>(node: Node | null | undefined, opts?: Opts | null): node is TypeParameter & Opts; +declare function isTypeParameterDeclaration(node: Node | null | undefined): node is TypeParameterDeclaration; +declare function isTypeParameterDeclaration>(node: Node | null | undefined, opts?: Opts | null): node is TypeParameterDeclaration & Opts; +declare function isTypeParameterInstantiation(node: Node | null | undefined): node is TypeParameterInstantiation; +declare function isTypeParameterInstantiation>(node: Node | null | undefined, opts?: Opts | null): node is TypeParameterInstantiation & Opts; +declare function isUnionTypeAnnotation(node: Node | null | undefined): node is UnionTypeAnnotation; +declare function isUnionTypeAnnotation>(node: Node | null | undefined, opts?: Opts | null): node is UnionTypeAnnotation & Opts; +declare function isVariance(node: Node | null | undefined): node is Variance; +declare function isVariance>(node: Node | null | undefined, opts?: Opts | null): node is Variance & Opts; +declare function isVoidTypeAnnotation(node: Node | null | undefined): node is VoidTypeAnnotation; +declare function isVoidTypeAnnotation>(node: Node | null | undefined, opts?: Opts | null): node is VoidTypeAnnotation & Opts; +declare function isEnumDeclaration(node: Node | null | undefined): node is EnumDeclaration; +declare function isEnumDeclaration>(node: Node | null | undefined, opts?: Opts | null): node is EnumDeclaration & Opts; +declare function isEnumBooleanBody(node: Node | null | undefined): node is EnumBooleanBody; +declare function isEnumBooleanBody>(node: Node | null | undefined, opts?: Opts | null): node is EnumBooleanBody & Opts; +declare function isEnumNumberBody(node: Node | null | undefined): node is EnumNumberBody; +declare function isEnumNumberBody>(node: Node | null | undefined, opts?: Opts | null): node is EnumNumberBody & Opts; +declare function isEnumStringBody(node: Node | null | undefined): node is EnumStringBody; +declare function isEnumStringBody>(node: Node | null | undefined, opts?: Opts | null): node is EnumStringBody & Opts; +declare function isEnumSymbolBody(node: Node | null | undefined): node is EnumSymbolBody; +declare function isEnumSymbolBody>(node: Node | null | undefined, opts?: Opts | null): node is EnumSymbolBody & Opts; +declare function isEnumBooleanMember(node: Node | null | undefined): node is EnumBooleanMember; +declare function isEnumBooleanMember>(node: Node | null | undefined, opts?: Opts | null): node is EnumBooleanMember & Opts; +declare function isEnumNumberMember(node: Node | null | undefined): node is EnumNumberMember; +declare function isEnumNumberMember>(node: Node | null | undefined, opts?: Opts | null): node is EnumNumberMember & Opts; +declare function isEnumStringMember(node: Node | null | undefined): node is EnumStringMember; +declare function isEnumStringMember>(node: Node | null | undefined, opts?: Opts | null): node is EnumStringMember & Opts; +declare function isEnumDefaultedMember(node: Node | null | undefined): node is EnumDefaultedMember; +declare function isEnumDefaultedMember>(node: Node | null | undefined, opts?: Opts | null): node is EnumDefaultedMember & Opts; +declare function isIndexedAccessType(node: Node | null | undefined): node is IndexedAccessType; +declare function isIndexedAccessType>(node: Node | null | undefined, opts?: Opts | null): node is IndexedAccessType & Opts; +declare function isOptionalIndexedAccessType(node: Node | null | undefined): node is OptionalIndexedAccessType; +declare function isOptionalIndexedAccessType>(node: Node | null | undefined, opts?: Opts | null): node is OptionalIndexedAccessType & Opts; +declare function isJSXAttribute(node: Node | null | undefined): node is JSXAttribute; +declare function isJSXAttribute>(node: Node | null | undefined, opts?: Opts | null): node is JSXAttribute & Opts; +declare function isJSXClosingElement(node: Node | null | undefined): node is JSXClosingElement; +declare function isJSXClosingElement>(node: Node | null | undefined, opts?: Opts | null): node is JSXClosingElement & Opts; +declare function isJSXElement(node: Node | null | undefined): node is JSXElement; +declare function isJSXElement>(node: Node | null | undefined, opts?: Opts | null): node is JSXElement & Opts; +declare function isJSXEmptyExpression(node: Node | null | undefined): node is JSXEmptyExpression; +declare function isJSXEmptyExpression>(node: Node | null | undefined, opts?: Opts | null): node is JSXEmptyExpression & Opts; +declare function isJSXExpressionContainer(node: Node | null | undefined): node is JSXExpressionContainer; +declare function isJSXExpressionContainer>(node: Node | null | undefined, opts?: Opts | null): node is JSXExpressionContainer & Opts; +declare function isJSXSpreadChild(node: Node | null | undefined): node is JSXSpreadChild; +declare function isJSXSpreadChild>(node: Node | null | undefined, opts?: Opts | null): node is JSXSpreadChild & Opts; +declare function isJSXIdentifier(node: Node | null | undefined): node is JSXIdentifier; +declare function isJSXIdentifier>(node: Node | null | undefined, opts?: Opts | null): node is JSXIdentifier & Opts; +declare function isJSXMemberExpression(node: Node | null | undefined): node is JSXMemberExpression; +declare function isJSXMemberExpression>(node: Node | null | undefined, opts?: Opts | null): node is JSXMemberExpression & Opts; +declare function isJSXNamespacedName(node: Node | null | undefined): node is JSXNamespacedName; +declare function isJSXNamespacedName>(node: Node | null | undefined, opts?: Opts | null): node is JSXNamespacedName & Opts; +declare function isJSXOpeningElement(node: Node | null | undefined): node is JSXOpeningElement; +declare function isJSXOpeningElement>(node: Node | null | undefined, opts?: Opts | null): node is JSXOpeningElement & Opts; +declare function isJSXSpreadAttribute(node: Node | null | undefined): node is JSXSpreadAttribute; +declare function isJSXSpreadAttribute>(node: Node | null | undefined, opts?: Opts | null): node is JSXSpreadAttribute & Opts; +declare function isJSXText(node: Node | null | undefined): node is JSXText; +declare function isJSXText>(node: Node | null | undefined, opts?: Opts | null): node is JSXText & Opts; +declare function isJSXFragment(node: Node | null | undefined): node is JSXFragment; +declare function isJSXFragment>(node: Node | null | undefined, opts?: Opts | null): node is JSXFragment & Opts; +declare function isJSXOpeningFragment(node: Node | null | undefined): node is JSXOpeningFragment; +declare function isJSXOpeningFragment>(node: Node | null | undefined, opts?: Opts | null): node is JSXOpeningFragment & Opts; +declare function isJSXClosingFragment(node: Node | null | undefined): node is JSXClosingFragment; +declare function isJSXClosingFragment>(node: Node | null | undefined, opts?: Opts | null): node is JSXClosingFragment & Opts; +declare function isNoop(node: Node | null | undefined): node is Noop; +declare function isNoop>(node: Node | null | undefined, opts?: Opts | null): node is Noop & Opts; +declare function isPlaceholder(node: Node | null | undefined): node is Placeholder; +declare function isPlaceholder>(node: Node | null | undefined, opts?: Opts | null): node is Placeholder & Opts; +declare function isV8IntrinsicIdentifier(node: Node | null | undefined): node is V8IntrinsicIdentifier; +declare function isV8IntrinsicIdentifier>(node: Node | null | undefined, opts?: Opts | null): node is V8IntrinsicIdentifier & Opts; +declare function isArgumentPlaceholder(node: Node | null | undefined): node is ArgumentPlaceholder; +declare function isArgumentPlaceholder>(node: Node | null | undefined, opts?: Opts | null): node is ArgumentPlaceholder & Opts; +declare function isBindExpression(node: Node | null | undefined): node is BindExpression; +declare function isBindExpression>(node: Node | null | undefined, opts?: Opts | null): node is BindExpression & Opts; +declare function isDecorator(node: Node | null | undefined): node is Decorator; +declare function isDecorator>(node: Node | null | undefined, opts?: Opts | null): node is Decorator & Opts; +declare function isDoExpression(node: Node | null | undefined): node is DoExpression; +declare function isDoExpression>(node: Node | null | undefined, opts?: Opts | null): node is DoExpression & Opts; +declare function isExportDefaultSpecifier(node: Node | null | undefined): node is ExportDefaultSpecifier; +declare function isExportDefaultSpecifier>(node: Node | null | undefined, opts?: Opts | null): node is ExportDefaultSpecifier & Opts; +declare function isRecordExpression(node: Node | null | undefined): node is RecordExpression; +declare function isRecordExpression>(node: Node | null | undefined, opts?: Opts | null): node is RecordExpression & Opts; +declare function isTupleExpression(node: Node | null | undefined): node is TupleExpression; +declare function isTupleExpression>(node: Node | null | undefined, opts?: Opts | null): node is TupleExpression & Opts; +declare function isDecimalLiteral(node: Node | null | undefined): node is DecimalLiteral; +declare function isDecimalLiteral>(node: Node | null | undefined, opts?: Opts | null): node is DecimalLiteral & Opts; +declare function isModuleExpression(node: Node | null | undefined): node is ModuleExpression; +declare function isModuleExpression>(node: Node | null | undefined, opts?: Opts | null): node is ModuleExpression & Opts; +declare function isTopicReference(node: Node | null | undefined): node is TopicReference; +declare function isTopicReference>(node: Node | null | undefined, opts?: Opts | null): node is TopicReference & Opts; +declare function isPipelineTopicExpression(node: Node | null | undefined): node is PipelineTopicExpression; +declare function isPipelineTopicExpression>(node: Node | null | undefined, opts?: Opts | null): node is PipelineTopicExpression & Opts; +declare function isPipelineBareFunction(node: Node | null | undefined): node is PipelineBareFunction; +declare function isPipelineBareFunction>(node: Node | null | undefined, opts?: Opts | null): node is PipelineBareFunction & Opts; +declare function isPipelinePrimaryTopicReference(node: Node | null | undefined): node is PipelinePrimaryTopicReference; +declare function isPipelinePrimaryTopicReference>(node: Node | null | undefined, opts?: Opts | null): node is PipelinePrimaryTopicReference & Opts; +declare function isVoidPattern(node: Node | null | undefined): node is VoidPattern; +declare function isVoidPattern>(node: Node | null | undefined, opts?: Opts | null): node is VoidPattern & Opts; +declare function isTSParameterProperty(node: Node | null | undefined): node is TSParameterProperty; +declare function isTSParameterProperty>(node: Node | null | undefined, opts?: Opts | null): node is TSParameterProperty & Opts; +declare function isTSDeclareFunction(node: Node | null | undefined): node is TSDeclareFunction; +declare function isTSDeclareFunction>(node: Node | null | undefined, opts?: Opts | null): node is TSDeclareFunction & Opts; +declare function isTSDeclareMethod(node: Node | null | undefined): node is TSDeclareMethod; +declare function isTSDeclareMethod>(node: Node | null | undefined, opts?: Opts | null): node is TSDeclareMethod & Opts; +declare function isTSQualifiedName(node: Node | null | undefined): node is TSQualifiedName; +declare function isTSQualifiedName>(node: Node | null | undefined, opts?: Opts | null): node is TSQualifiedName & Opts; +declare function isTSCallSignatureDeclaration(node: Node | null | undefined): node is TSCallSignatureDeclaration; +declare function isTSCallSignatureDeclaration>(node: Node | null | undefined, opts?: Opts | null): node is TSCallSignatureDeclaration & Opts; +declare function isTSConstructSignatureDeclaration(node: Node | null | undefined): node is TSConstructSignatureDeclaration; +declare function isTSConstructSignatureDeclaration>(node: Node | null | undefined, opts?: Opts | null): node is TSConstructSignatureDeclaration & Opts; +declare function isTSPropertySignature(node: Node | null | undefined): node is TSPropertySignature; +declare function isTSPropertySignature>(node: Node | null | undefined, opts?: Opts | null): node is TSPropertySignature & Opts; +declare function isTSMethodSignature(node: Node | null | undefined): node is TSMethodSignature; +declare function isTSMethodSignature>(node: Node | null | undefined, opts?: Opts | null): node is TSMethodSignature & Opts; +declare function isTSIndexSignature(node: Node | null | undefined): node is TSIndexSignature; +declare function isTSIndexSignature>(node: Node | null | undefined, opts?: Opts | null): node is TSIndexSignature & Opts; +declare function isTSAnyKeyword(node: Node | null | undefined): node is TSAnyKeyword; +declare function isTSAnyKeyword>(node: Node | null | undefined, opts?: Opts | null): node is TSAnyKeyword & Opts; +declare function isTSBooleanKeyword(node: Node | null | undefined): node is TSBooleanKeyword; +declare function isTSBooleanKeyword>(node: Node | null | undefined, opts?: Opts | null): node is TSBooleanKeyword & Opts; +declare function isTSBigIntKeyword(node: Node | null | undefined): node is TSBigIntKeyword; +declare function isTSBigIntKeyword>(node: Node | null | undefined, opts?: Opts | null): node is TSBigIntKeyword & Opts; +declare function isTSIntrinsicKeyword(node: Node | null | undefined): node is TSIntrinsicKeyword; +declare function isTSIntrinsicKeyword>(node: Node | null | undefined, opts?: Opts | null): node is TSIntrinsicKeyword & Opts; +declare function isTSNeverKeyword(node: Node | null | undefined): node is TSNeverKeyword; +declare function isTSNeverKeyword>(node: Node | null | undefined, opts?: Opts | null): node is TSNeverKeyword & Opts; +declare function isTSNullKeyword(node: Node | null | undefined): node is TSNullKeyword; +declare function isTSNullKeyword>(node: Node | null | undefined, opts?: Opts | null): node is TSNullKeyword & Opts; +declare function isTSNumberKeyword(node: Node | null | undefined): node is TSNumberKeyword; +declare function isTSNumberKeyword>(node: Node | null | undefined, opts?: Opts | null): node is TSNumberKeyword & Opts; +declare function isTSObjectKeyword(node: Node | null | undefined): node is TSObjectKeyword; +declare function isTSObjectKeyword>(node: Node | null | undefined, opts?: Opts | null): node is TSObjectKeyword & Opts; +declare function isTSStringKeyword(node: Node | null | undefined): node is TSStringKeyword; +declare function isTSStringKeyword>(node: Node | null | undefined, opts?: Opts | null): node is TSStringKeyword & Opts; +declare function isTSSymbolKeyword(node: Node | null | undefined): node is TSSymbolKeyword; +declare function isTSSymbolKeyword>(node: Node | null | undefined, opts?: Opts | null): node is TSSymbolKeyword & Opts; +declare function isTSUndefinedKeyword(node: Node | null | undefined): node is TSUndefinedKeyword; +declare function isTSUndefinedKeyword>(node: Node | null | undefined, opts?: Opts | null): node is TSUndefinedKeyword & Opts; +declare function isTSUnknownKeyword(node: Node | null | undefined): node is TSUnknownKeyword; +declare function isTSUnknownKeyword>(node: Node | null | undefined, opts?: Opts | null): node is TSUnknownKeyword & Opts; +declare function isTSVoidKeyword(node: Node | null | undefined): node is TSVoidKeyword; +declare function isTSVoidKeyword>(node: Node | null | undefined, opts?: Opts | null): node is TSVoidKeyword & Opts; +declare function isTSThisType(node: Node | null | undefined): node is TSThisType; +declare function isTSThisType>(node: Node | null | undefined, opts?: Opts | null): node is TSThisType & Opts; +declare function isTSFunctionType(node: Node | null | undefined): node is TSFunctionType; +declare function isTSFunctionType>(node: Node | null | undefined, opts?: Opts | null): node is TSFunctionType & Opts; +declare function isTSConstructorType(node: Node | null | undefined): node is TSConstructorType; +declare function isTSConstructorType>(node: Node | null | undefined, opts?: Opts | null): node is TSConstructorType & Opts; +declare function isTSTypeReference(node: Node | null | undefined): node is TSTypeReference; +declare function isTSTypeReference>(node: Node | null | undefined, opts?: Opts | null): node is TSTypeReference & Opts; +declare function isTSTypePredicate(node: Node | null | undefined): node is TSTypePredicate; +declare function isTSTypePredicate>(node: Node | null | undefined, opts?: Opts | null): node is TSTypePredicate & Opts; +declare function isTSTypeQuery(node: Node | null | undefined): node is TSTypeQuery; +declare function isTSTypeQuery>(node: Node | null | undefined, opts?: Opts | null): node is TSTypeQuery & Opts; +declare function isTSTypeLiteral(node: Node | null | undefined): node is TSTypeLiteral; +declare function isTSTypeLiteral>(node: Node | null | undefined, opts?: Opts | null): node is TSTypeLiteral & Opts; +declare function isTSArrayType(node: Node | null | undefined): node is TSArrayType; +declare function isTSArrayType>(node: Node | null | undefined, opts?: Opts | null): node is TSArrayType & Opts; +declare function isTSTupleType(node: Node | null | undefined): node is TSTupleType; +declare function isTSTupleType>(node: Node | null | undefined, opts?: Opts | null): node is TSTupleType & Opts; +declare function isTSOptionalType(node: Node | null | undefined): node is TSOptionalType; +declare function isTSOptionalType>(node: Node | null | undefined, opts?: Opts | null): node is TSOptionalType & Opts; +declare function isTSRestType(node: Node | null | undefined): node is TSRestType; +declare function isTSRestType>(node: Node | null | undefined, opts?: Opts | null): node is TSRestType & Opts; +declare function isTSNamedTupleMember(node: Node | null | undefined): node is TSNamedTupleMember; +declare function isTSNamedTupleMember>(node: Node | null | undefined, opts?: Opts | null): node is TSNamedTupleMember & Opts; +declare function isTSUnionType(node: Node | null | undefined): node is TSUnionType; +declare function isTSUnionType>(node: Node | null | undefined, opts?: Opts | null): node is TSUnionType & Opts; +declare function isTSIntersectionType(node: Node | null | undefined): node is TSIntersectionType; +declare function isTSIntersectionType>(node: Node | null | undefined, opts?: Opts | null): node is TSIntersectionType & Opts; +declare function isTSConditionalType(node: Node | null | undefined): node is TSConditionalType; +declare function isTSConditionalType>(node: Node | null | undefined, opts?: Opts | null): node is TSConditionalType & Opts; +declare function isTSInferType(node: Node | null | undefined): node is TSInferType; +declare function isTSInferType>(node: Node | null | undefined, opts?: Opts | null): node is TSInferType & Opts; +declare function isTSParenthesizedType(node: Node | null | undefined): node is TSParenthesizedType; +declare function isTSParenthesizedType>(node: Node | null | undefined, opts?: Opts | null): node is TSParenthesizedType & Opts; +declare function isTSTypeOperator(node: Node | null | undefined): node is TSTypeOperator; +declare function isTSTypeOperator>(node: Node | null | undefined, opts?: Opts | null): node is TSTypeOperator & Opts; +declare function isTSIndexedAccessType(node: Node | null | undefined): node is TSIndexedAccessType; +declare function isTSIndexedAccessType>(node: Node | null | undefined, opts?: Opts | null): node is TSIndexedAccessType & Opts; +declare function isTSMappedType(node: Node | null | undefined): node is TSMappedType; +declare function isTSMappedType>(node: Node | null | undefined, opts?: Opts | null): node is TSMappedType & Opts; +declare function isTSTemplateLiteralType(node: Node | null | undefined): node is TSTemplateLiteralType; +declare function isTSTemplateLiteralType>(node: Node | null | undefined, opts?: Opts | null): node is TSTemplateLiteralType & Opts; +declare function isTSLiteralType(node: Node | null | undefined): node is TSLiteralType; +declare function isTSLiteralType>(node: Node | null | undefined, opts?: Opts | null): node is TSLiteralType & Opts; +declare function isTSExpressionWithTypeArguments(node: Node | null | undefined): node is TSExpressionWithTypeArguments; +declare function isTSExpressionWithTypeArguments>(node: Node | null | undefined, opts?: Opts | null): node is TSExpressionWithTypeArguments & Opts; +declare function isTSInterfaceDeclaration(node: Node | null | undefined): node is TSInterfaceDeclaration; +declare function isTSInterfaceDeclaration>(node: Node | null | undefined, opts?: Opts | null): node is TSInterfaceDeclaration & Opts; +declare function isTSInterfaceBody(node: Node | null | undefined): node is TSInterfaceBody; +declare function isTSInterfaceBody>(node: Node | null | undefined, opts?: Opts | null): node is TSInterfaceBody & Opts; +declare function isTSTypeAliasDeclaration(node: Node | null | undefined): node is TSTypeAliasDeclaration; +declare function isTSTypeAliasDeclaration>(node: Node | null | undefined, opts?: Opts | null): node is TSTypeAliasDeclaration & Opts; +declare function isTSInstantiationExpression(node: Node | null | undefined): node is TSInstantiationExpression; +declare function isTSInstantiationExpression>(node: Node | null | undefined, opts?: Opts | null): node is TSInstantiationExpression & Opts; +declare function isTSAsExpression(node: Node | null | undefined): node is TSAsExpression; +declare function isTSAsExpression>(node: Node | null | undefined, opts?: Opts | null): node is TSAsExpression & Opts; +declare function isTSSatisfiesExpression(node: Node | null | undefined): node is TSSatisfiesExpression; +declare function isTSSatisfiesExpression>(node: Node | null | undefined, opts?: Opts | null): node is TSSatisfiesExpression & Opts; +declare function isTSTypeAssertion(node: Node | null | undefined): node is TSTypeAssertion; +declare function isTSTypeAssertion>(node: Node | null | undefined, opts?: Opts | null): node is TSTypeAssertion & Opts; +declare function isTSEnumBody(node: Node | null | undefined): node is TSEnumBody; +declare function isTSEnumBody>(node: Node | null | undefined, opts?: Opts | null): node is TSEnumBody & Opts; +declare function isTSEnumDeclaration(node: Node | null | undefined): node is TSEnumDeclaration; +declare function isTSEnumDeclaration>(node: Node | null | undefined, opts?: Opts | null): node is TSEnumDeclaration & Opts; +declare function isTSEnumMember(node: Node | null | undefined): node is TSEnumMember; +declare function isTSEnumMember>(node: Node | null | undefined, opts?: Opts | null): node is TSEnumMember & Opts; +declare function isTSModuleDeclaration(node: Node | null | undefined): node is TSModuleDeclaration; +declare function isTSModuleDeclaration>(node: Node | null | undefined, opts?: Opts | null): node is TSModuleDeclaration & Opts; +declare function isTSModuleBlock(node: Node | null | undefined): node is TSModuleBlock; +declare function isTSModuleBlock>(node: Node | null | undefined, opts?: Opts | null): node is TSModuleBlock & Opts; +declare function isTSImportType(node: Node | null | undefined): node is TSImportType; +declare function isTSImportType>(node: Node | null | undefined, opts?: Opts | null): node is TSImportType & Opts; +declare function isTSImportEqualsDeclaration(node: Node | null | undefined): node is TSImportEqualsDeclaration; +declare function isTSImportEqualsDeclaration>(node: Node | null | undefined, opts?: Opts | null): node is TSImportEqualsDeclaration & Opts; +declare function isTSExternalModuleReference(node: Node | null | undefined): node is TSExternalModuleReference; +declare function isTSExternalModuleReference>(node: Node | null | undefined, opts?: Opts | null): node is TSExternalModuleReference & Opts; +declare function isTSNonNullExpression(node: Node | null | undefined): node is TSNonNullExpression; +declare function isTSNonNullExpression>(node: Node | null | undefined, opts?: Opts | null): node is TSNonNullExpression & Opts; +declare function isTSExportAssignment(node: Node | null | undefined): node is TSExportAssignment; +declare function isTSExportAssignment>(node: Node | null | undefined, opts?: Opts | null): node is TSExportAssignment & Opts; +declare function isTSNamespaceExportDeclaration(node: Node | null | undefined): node is TSNamespaceExportDeclaration; +declare function isTSNamespaceExportDeclaration>(node: Node | null | undefined, opts?: Opts | null): node is TSNamespaceExportDeclaration & Opts; +declare function isTSTypeAnnotation(node: Node | null | undefined): node is TSTypeAnnotation; +declare function isTSTypeAnnotation>(node: Node | null | undefined, opts?: Opts | null): node is TSTypeAnnotation & Opts; +declare function isTSTypeParameterInstantiation(node: Node | null | undefined): node is TSTypeParameterInstantiation; +declare function isTSTypeParameterInstantiation>(node: Node | null | undefined, opts?: Opts | null): node is TSTypeParameterInstantiation & Opts; +declare function isTSTypeParameterDeclaration(node: Node | null | undefined): node is TSTypeParameterDeclaration; +declare function isTSTypeParameterDeclaration>(node: Node | null | undefined, opts?: Opts | null): node is TSTypeParameterDeclaration & Opts; +declare function isTSTypeParameter(node: Node | null | undefined): node is TSTypeParameter; +declare function isTSTypeParameter>(node: Node | null | undefined, opts?: Opts | null): node is TSTypeParameter & Opts; +declare function isStandardized(node: Node | null | undefined): node is Standardized; +declare function isStandardized>(node: Node | null | undefined, opts?: Opts | null): node is Standardized & Opts; +declare function isExpression(node: Node | null | undefined): node is Expression; +declare function isExpression>(node: Node | null | undefined, opts?: Opts | null): node is Expression & Opts; +declare function isBinary(node: Node | null | undefined): node is Binary; +declare function isBinary>(node: Node | null | undefined, opts?: Opts | null): node is Binary & Opts; +declare function isScopable(node: Node | null | undefined): node is Scopable; +declare function isScopable>(node: Node | null | undefined, opts?: Opts | null): node is Scopable & Opts; +declare function isBlockParent(node: Node | null | undefined): node is BlockParent; +declare function isBlockParent>(node: Node | null | undefined, opts?: Opts | null): node is BlockParent & Opts; +declare function isBlock(node: Node | null | undefined): node is Block; +declare function isBlock>(node: Node | null | undefined, opts?: Opts | null): node is Block & Opts; +declare function isStatement(node: Node | null | undefined): node is Statement; +declare function isStatement>(node: Node | null | undefined, opts?: Opts | null): node is Statement & Opts; +declare function isTerminatorless(node: Node | null | undefined): node is Terminatorless; +declare function isTerminatorless>(node: Node | null | undefined, opts?: Opts | null): node is Terminatorless & Opts; +declare function isCompletionStatement(node: Node | null | undefined): node is CompletionStatement; +declare function isCompletionStatement>(node: Node | null | undefined, opts?: Opts | null): node is CompletionStatement & Opts; +declare function isConditional(node: Node | null | undefined): node is Conditional; +declare function isConditional>(node: Node | null | undefined, opts?: Opts | null): node is Conditional & Opts; +declare function isLoop(node: Node | null | undefined): node is Loop; +declare function isLoop>(node: Node | null | undefined, opts?: Opts | null): node is Loop & Opts; +declare function isWhile(node: Node | null | undefined): node is While; +declare function isWhile>(node: Node | null | undefined, opts?: Opts | null): node is While & Opts; +declare function isExpressionWrapper(node: Node | null | undefined): node is ExpressionWrapper; +declare function isExpressionWrapper>(node: Node | null | undefined, opts?: Opts | null): node is ExpressionWrapper & Opts; +declare function isFor(node: Node | null | undefined): node is For; +declare function isFor>(node: Node | null | undefined, opts?: Opts | null): node is For & Opts; +declare function isForXStatement(node: Node | null | undefined): node is ForXStatement; +declare function isForXStatement>(node: Node | null | undefined, opts?: Opts | null): node is ForXStatement & Opts; +declare function isFunction(node: Node | null | undefined): node is Function; +declare function isFunction>(node: Node | null | undefined, opts?: Opts | null): node is Function & Opts; +declare function isFunctionParent(node: Node | null | undefined): node is FunctionParent; +declare function isFunctionParent>(node: Node | null | undefined, opts?: Opts | null): node is FunctionParent & Opts; +declare function isPureish(node: Node | null | undefined): node is Pureish; +declare function isPureish>(node: Node | null | undefined, opts?: Opts | null): node is Pureish & Opts; +declare function isDeclaration(node: Node | null | undefined): node is Declaration; +declare function isDeclaration>(node: Node | null | undefined, opts?: Opts | null): node is Declaration & Opts; +declare function isFunctionParameter(node: Node | null | undefined): node is FunctionParameter; +declare function isFunctionParameter>(node: Node | null | undefined, opts?: Opts | null): node is FunctionParameter & Opts; +declare function isPatternLike(node: Node | null | undefined): node is PatternLike; +declare function isPatternLike>(node: Node | null | undefined, opts?: Opts | null): node is PatternLike & Opts; +declare function isLVal(node: Node | null | undefined): node is LVal; +declare function isLVal>(node: Node | null | undefined, opts?: Opts | null): node is LVal & Opts; +declare function isTSEntityName(node: Node | null | undefined): node is TSEntityName; +declare function isTSEntityName>(node: Node | null | undefined, opts?: Opts | null): node is TSEntityName & Opts; +declare function isLiteral(node: Node | null | undefined): node is Literal; +declare function isLiteral>(node: Node | null | undefined, opts?: Opts | null): node is Literal & Opts; +declare function isUserWhitespacable(node: Node | null | undefined): node is UserWhitespacable; +declare function isUserWhitespacable>(node: Node | null | undefined, opts?: Opts | null): node is UserWhitespacable & Opts; +declare function isMethod(node: Node | null | undefined): node is Method; +declare function isMethod>(node: Node | null | undefined, opts?: Opts | null): node is Method & Opts; +declare function isObjectMember(node: Node | null | undefined): node is ObjectMember; +declare function isObjectMember>(node: Node | null | undefined, opts?: Opts | null): node is ObjectMember & Opts; +declare function isProperty(node: Node | null | undefined): node is Property; +declare function isProperty>(node: Node | null | undefined, opts?: Opts | null): node is Property & Opts; +declare function isUnaryLike(node: Node | null | undefined): node is UnaryLike; +declare function isUnaryLike>(node: Node | null | undefined, opts?: Opts | null): node is UnaryLike & Opts; +declare function isPattern(node: Node | null | undefined): node is Pattern; +declare function isPattern>(node: Node | null | undefined, opts?: Opts | null): node is Pattern & Opts; +declare function isClass(node: Node | null | undefined): node is Class; +declare function isClass>(node: Node | null | undefined, opts?: Opts | null): node is Class & Opts; +declare function isImportOrExportDeclaration(node: Node | null | undefined): node is ImportOrExportDeclaration; +declare function isImportOrExportDeclaration>(node: Node | null | undefined, opts?: Opts | null): node is ImportOrExportDeclaration & Opts; +declare function isExportDeclaration(node: Node | null | undefined): node is ExportDeclaration; +declare function isExportDeclaration>(node: Node | null | undefined, opts?: Opts | null): node is ExportDeclaration & Opts; +declare function isModuleSpecifier(node: Node | null | undefined): node is ModuleSpecifier; +declare function isModuleSpecifier>(node: Node | null | undefined, opts?: Opts | null): node is ModuleSpecifier & Opts; +declare function isAccessor(node: Node | null | undefined): node is Accessor; +declare function isAccessor>(node: Node | null | undefined, opts?: Opts | null): node is Accessor & Opts; +declare function isPrivate(node: Node | null | undefined): node is Private; +declare function isPrivate>(node: Node | null | undefined, opts?: Opts | null): node is Private & Opts; +declare function isFlow(node: Node | null | undefined): node is Flow; +declare function isFlow>(node: Node | null | undefined, opts?: Opts | null): node is Flow & Opts; +declare function isFlowType(node: Node | null | undefined): node is FlowType; +declare function isFlowType>(node: Node | null | undefined, opts?: Opts | null): node is FlowType & Opts; +declare function isFlowBaseAnnotation(node: Node | null | undefined): node is FlowBaseAnnotation; +declare function isFlowBaseAnnotation>(node: Node | null | undefined, opts?: Opts | null): node is FlowBaseAnnotation & Opts; +declare function isFlowDeclaration(node: Node | null | undefined): node is FlowDeclaration; +declare function isFlowDeclaration>(node: Node | null | undefined, opts?: Opts | null): node is FlowDeclaration & Opts; +declare function isFlowPredicate(node: Node | null | undefined): node is FlowPredicate; +declare function isFlowPredicate>(node: Node | null | undefined, opts?: Opts | null): node is FlowPredicate & Opts; +declare function isEnumBody(node: Node | null | undefined): node is EnumBody; +declare function isEnumBody>(node: Node | null | undefined, opts?: Opts | null): node is EnumBody & Opts; +declare function isEnumMember(node: Node | null | undefined): node is EnumMember; +declare function isEnumMember>(node: Node | null | undefined, opts?: Opts | null): node is EnumMember & Opts; +declare function isJSX(node: Node | null | undefined): node is JSX; +declare function isJSX>(node: Node | null | undefined, opts?: Opts | null): node is JSX & Opts; +declare function isMiscellaneous(node: Node | null | undefined): node is Miscellaneous; +declare function isMiscellaneous>(node: Node | null | undefined, opts?: Opts | null): node is Miscellaneous & Opts; +declare function isTypeScript(node: Node | null | undefined): node is TypeScript; +declare function isTypeScript>(node: Node | null | undefined, opts?: Opts | null): node is TypeScript & Opts; +declare function isTSTypeElement(node: Node | null | undefined): node is TSTypeElement; +declare function isTSTypeElement>(node: Node | null | undefined, opts?: Opts | null): node is TSTypeElement & Opts; +declare function isTSType(node: Node | null | undefined): node is TSType; +declare function isTSType>(node: Node | null | undefined, opts?: Opts | null): node is TSType & Opts; +declare function isTSBaseType(node: Node | null | undefined): node is TSBaseType; +declare function isTSBaseType>(node: Node | null | undefined, opts?: Opts | null): node is TSBaseType & Opts; +/** + * @deprecated Use `isNumericLiteral` + */ +declare function isNumberLiteral(node: Node | null | undefined): boolean; +declare function isNumberLiteral>(node: Node | null | undefined, opts?: Opts | null): boolean; +/** + * @deprecated Use `isRegExpLiteral` + */ +declare function isRegexLiteral(node: Node | null | undefined): boolean; +declare function isRegexLiteral>(node: Node | null | undefined, opts?: Opts | null): boolean; +/** + * @deprecated Use `isRestElement` + */ +declare function isRestProperty(node: Node | null | undefined): boolean; +declare function isRestProperty>(node: Node | null | undefined, opts?: Opts | null): boolean; +/** + * @deprecated Use `isSpreadElement` + */ +declare function isSpreadProperty(node: Node | null | undefined): boolean; +declare function isSpreadProperty>(node: Node | null | undefined, opts?: Opts | null): boolean; +/** + * @deprecated Use `isImportOrExportDeclaration` + */ +declare function isModuleDeclaration>(node: Node | null | undefined, opts?: Opts | null): node is ImportOrExportDeclaration & Opts; + +declare function deprecationWarning(oldName: string, newName: string, prefix?: string, cacheKey?: string): void; + +declare const react: { + isReactComponent: (member: Node) => boolean; + isCompatTag: typeof isCompatTag; + buildChildren: typeof buildChildren; +}; + +export { ACCESSOR_TYPES, ALIAS_KEYS, ASSIGNMENT_OPERATORS, Accessor, Aliases, AnyTypeAnnotation, ArgumentPlaceholder, ArrayExpression, ArrayPattern, ArrayTypeAnnotation, ArrowFunctionExpression, AssignmentExpression, AssignmentPattern, AwaitExpression, BINARY_OPERATORS, BINARY_TYPES, BLOCKPARENT_TYPES, BLOCK_TYPES, BOOLEAN_BINARY_OPERATORS, BOOLEAN_NUMBER_BINARY_OPERATORS, BOOLEAN_UNARY_OPERATORS, BUILDER_KEYS, BigIntLiteral, Binary, BinaryExpression, BindExpression, Block, BlockParent, BlockStatement, BooleanLiteral, BooleanLiteralTypeAnnotation, BooleanTypeAnnotation, BreakStatement, CLASS_TYPES, COMMENT_KEYS, COMPARISON_BINARY_OPERATORS, COMPLETIONSTATEMENT_TYPES, CONDITIONAL_TYPES, CallExpression, CatchClause, Class, ClassAccessorProperty, ClassBody, ClassDeclaration, ClassExpression, ClassImplements, ClassMethod, ClassPrivateMethod, ClassPrivateProperty, ClassProperty, Comment, CommentBlock, CommentLine, CommentTypeShorthand, CompletionStatement, Conditional, ConditionalExpression, ContinueStatement, DECLARATION_TYPES, DEPRECATED_ALIASES, DEPRECATED_KEYS, DebuggerStatement, DecimalLiteral, Declaration, DeclareClass, DeclareExportAllDeclaration, DeclareExportDeclaration, DeclareFunction, DeclareInterface, DeclareModule, DeclareModuleExports, DeclareOpaqueType, DeclareTypeAlias, DeclareVariable, DeclaredPredicate, Decorator, DeprecatedAliases, Directive, DirectiveLiteral, DoExpression, DoWhileStatement, ENUMBODY_TYPES, ENUMMEMBER_TYPES, EQUALITY_BINARY_OPERATORS, EXPORTDECLARATION_TYPES, EXPRESSIONWRAPPER_TYPES, EXPRESSION_TYPES, EmptyStatement, EmptyTypeAnnotation, EnumBody, EnumBooleanBody, EnumBooleanMember, EnumDeclaration, EnumDefaultedMember, EnumMember, EnumNumberBody, EnumNumberMember, EnumStringBody, EnumStringMember, EnumSymbolBody, ExistsTypeAnnotation, ExportAllDeclaration, ExportDeclaration, ExportDefaultDeclaration, ExportDefaultSpecifier, ExportNamedDeclaration, ExportNamespaceSpecifier, ExportSpecifier, Expression, ExpressionStatement, ExpressionWrapper, FLATTENABLE_KEYS, FLIPPED_ALIAS_KEYS, FLOWBASEANNOTATION_TYPES, FLOWDECLARATION_TYPES, FLOWPREDICATE_TYPES, FLOWTYPE_TYPES, FLOW_TYPES, FORXSTATEMENT_TYPES, FOR_INIT_KEYS, FOR_TYPES, FUNCTIONPARAMETER_TYPES, FUNCTIONPARENT_TYPES, FUNCTION_TYPES, FieldOptions, File, Flow, FlowBaseAnnotation, FlowDeclaration, FlowPredicate, FlowType, For, ForInStatement, ForOfStatement, ForStatement, ForXStatement, Function, FunctionDeclaration, FunctionExpression, FunctionParameter, FunctionParent, FunctionTypeAnnotation, FunctionTypeParam, GenericTypeAnnotation, IMMUTABLE_TYPES, IMPORTOREXPORTDECLARATION_TYPES, INHERIT_KEYS, Identifier, IfStatement, Immutable, Import, ImportAttribute, ImportDeclaration, ImportDefaultSpecifier, ImportExpression, ImportNamespaceSpecifier, ImportOrExportDeclaration, ImportSpecifier, IndexedAccessType, InferredPredicate, InterfaceDeclaration, InterfaceExtends, InterfaceTypeAnnotation, InterpreterDirective, IntersectionTypeAnnotation, JSX, JSXAttribute, JSXClosingElement, JSXClosingFragment, JSXElement, JSXEmptyExpression, JSXExpressionContainer, JSXFragment, JSXIdentifier, JSXMemberExpression, JSXNamespacedName, JSXOpeningElement, JSXOpeningFragment, JSXSpreadAttribute, JSXSpreadChild, JSXText, JSX_TYPES, LITERAL_TYPES, LOGICAL_OPERATORS, LOOP_TYPES, LVAL_TYPES, LVal, LabeledStatement, Literal, LogicalExpression, Loop, METHOD_TYPES, MISCELLANEOUS_TYPES, MODULEDECLARATION_TYPES, MODULESPECIFIER_TYPES, MemberExpression, MetaProperty, Method, Miscellaneous, MixedTypeAnnotation, ModuleDeclaration, ModuleExpression, ModuleSpecifier, NODE_FIELDS, NODE_PARENT_VALIDATIONS, NUMBER_BINARY_OPERATORS, NUMBER_UNARY_OPERATORS, NewExpression, Node, Noop, NullLiteral, NullLiteralTypeAnnotation, NullableTypeAnnotation, NumberLiteral$1 as NumberLiteral, NumberLiteralTypeAnnotation, NumberTypeAnnotation, NumericLiteral, OBJECTMEMBER_TYPES, ObjectExpression, ObjectMember, ObjectMethod, ObjectPattern, ObjectProperty, ObjectTypeAnnotation, ObjectTypeCallProperty, ObjectTypeIndexer, ObjectTypeInternalSlot, ObjectTypeProperty, ObjectTypeSpreadProperty, OpaqueType, OptionalCallExpression, OptionalIndexedAccessType, OptionalMemberExpression, PATTERNLIKE_TYPES, PATTERN_TYPES, PLACEHOLDERS, PLACEHOLDERS_ALIAS, PLACEHOLDERS_FLIPPED_ALIAS, PRIVATE_TYPES, PROPERTY_TYPES, PUREISH_TYPES, ParentMaps, ParenthesizedExpression, Pattern, PatternLike, PipelineBareFunction, PipelinePrimaryTopicReference, PipelineTopicExpression, Placeholder, Private, PrivateName, Program, Property, Pureish, QualifiedTypeIdentifier, RecordExpression, RegExpLiteral, RegexLiteral$1 as RegexLiteral, Options$1 as RemovePropertiesOptions, RestElement, RestProperty$1 as RestProperty, ReturnStatement, SCOPABLE_TYPES, STANDARDIZED_TYPES, STATEMENT_OR_BLOCK_KEYS, STATEMENT_TYPES, STRING_UNARY_OPERATORS, Scopable, SequenceExpression, SourceLocation, SpreadElement, SpreadProperty$1 as SpreadProperty, Standardized, Statement, StaticBlock, StringLiteral, StringLiteralTypeAnnotation, StringTypeAnnotation, Super, SwitchCase, SwitchStatement, SymbolTypeAnnotation, TERMINATORLESS_TYPES, TSAnyKeyword, TSArrayType, TSAsExpression, TSBASETYPE_TYPES, TSBaseType, TSBigIntKeyword, TSBooleanKeyword, TSCallSignatureDeclaration, TSConditionalType, TSConstructSignatureDeclaration, TSConstructorType, TSDeclareFunction, TSDeclareMethod, TSENTITYNAME_TYPES, TSEntityName, TSEnumBody, TSEnumDeclaration, TSEnumMember, TSExportAssignment, TSExpressionWithTypeArguments, TSExternalModuleReference, TSFunctionType, TSImportEqualsDeclaration, TSImportType, TSIndexSignature, TSIndexedAccessType, TSInferType, TSInstantiationExpression, TSInterfaceBody, TSInterfaceDeclaration, TSIntersectionType, TSIntrinsicKeyword, TSLiteralType, TSMappedType, TSMethodSignature, TSModuleBlock, TSModuleDeclaration, TSNamedTupleMember, TSNamespaceExportDeclaration, TSNeverKeyword, TSNonNullExpression, TSNullKeyword, TSNumberKeyword, TSObjectKeyword, TSOptionalType, TSParameterProperty, TSParenthesizedType, TSPropertySignature, TSQualifiedName, TSRestType, TSSatisfiesExpression, TSStringKeyword, TSSymbolKeyword, TSTYPEELEMENT_TYPES, TSTYPE_TYPES, TSTemplateLiteralType, TSThisType, TSTupleType, TSType, TSTypeAliasDeclaration, TSTypeAnnotation, TSTypeAssertion, TSTypeElement, TSTypeLiteral, TSTypeOperator, TSTypeParameter, TSTypeParameterDeclaration, TSTypeParameterInstantiation, TSTypePredicate, TSTypeQuery, TSTypeReference, TSUndefinedKeyword, TSUnionType, TSUnknownKeyword, TSVoidKeyword, TYPES, TYPESCRIPT_TYPES, TaggedTemplateExpression, TemplateElement, TemplateLiteral, Terminatorless, ThisExpression, ThisTypeAnnotation, ThrowStatement, TopicReference, TraversalAncestors, TraversalHandler, TraversalHandlers, TryStatement, TupleExpression, TupleTypeAnnotation, TypeAlias, TypeAnnotation, TypeCastExpression, TypeParameter, TypeParameterDeclaration, TypeParameterInstantiation, TypeScript, TypeofTypeAnnotation, UNARYLIKE_TYPES, UNARY_OPERATORS, UPDATE_OPERATORS, USERWHITESPACABLE_TYPES, UnaryExpression, UnaryLike, UnionTypeAnnotation, UpdateExpression, UserWhitespacable, V8IntrinsicIdentifier, VISITOR_KEYS, VariableDeclaration, VariableDeclarator, Variance, VoidPattern, VoidTypeAnnotation, WHILE_TYPES, While, WhileStatement, WithStatement, YieldExpression, deprecationWarning as __internal__deprecationWarning, addComment, addComments, anyTypeAnnotation, appendToMemberExpression, argumentPlaceholder, arrayExpression, arrayPattern, arrayTypeAnnotation, arrowFunctionExpression, assertAccessor, assertAnyTypeAnnotation, assertArgumentPlaceholder, assertArrayExpression, assertArrayPattern, assertArrayTypeAnnotation, assertArrowFunctionExpression, assertAssignmentExpression, assertAssignmentPattern, assertAwaitExpression, assertBigIntLiteral, assertBinary, assertBinaryExpression, assertBindExpression, assertBlock, assertBlockParent, assertBlockStatement, assertBooleanLiteral, assertBooleanLiteralTypeAnnotation, assertBooleanTypeAnnotation, assertBreakStatement, assertCallExpression, assertCatchClause, assertClass, assertClassAccessorProperty, assertClassBody, assertClassDeclaration, assertClassExpression, assertClassImplements, assertClassMethod, assertClassPrivateMethod, assertClassPrivateProperty, assertClassProperty, assertCompletionStatement, assertConditional, assertConditionalExpression, assertContinueStatement, assertDebuggerStatement, assertDecimalLiteral, assertDeclaration, assertDeclareClass, assertDeclareExportAllDeclaration, assertDeclareExportDeclaration, assertDeclareFunction, assertDeclareInterface, assertDeclareModule, assertDeclareModuleExports, assertDeclareOpaqueType, assertDeclareTypeAlias, assertDeclareVariable, assertDeclaredPredicate, assertDecorator, assertDirective, assertDirectiveLiteral, assertDoExpression, assertDoWhileStatement, assertEmptyStatement, assertEmptyTypeAnnotation, assertEnumBody, assertEnumBooleanBody, assertEnumBooleanMember, assertEnumDeclaration, assertEnumDefaultedMember, assertEnumMember, assertEnumNumberBody, assertEnumNumberMember, assertEnumStringBody, assertEnumStringMember, assertEnumSymbolBody, assertExistsTypeAnnotation, assertExportAllDeclaration, assertExportDeclaration, assertExportDefaultDeclaration, assertExportDefaultSpecifier, assertExportNamedDeclaration, assertExportNamespaceSpecifier, assertExportSpecifier, assertExpression, assertExpressionStatement, assertExpressionWrapper, assertFile, assertFlow, assertFlowBaseAnnotation, assertFlowDeclaration, assertFlowPredicate, assertFlowType, assertFor, assertForInStatement, assertForOfStatement, assertForStatement, assertForXStatement, assertFunction, assertFunctionDeclaration, assertFunctionExpression, assertFunctionParameter, assertFunctionParent, assertFunctionTypeAnnotation, assertFunctionTypeParam, assertGenericTypeAnnotation, assertIdentifier, assertIfStatement, assertImmutable, assertImport, assertImportAttribute, assertImportDeclaration, assertImportDefaultSpecifier, assertImportExpression, assertImportNamespaceSpecifier, assertImportOrExportDeclaration, assertImportSpecifier, assertIndexedAccessType, assertInferredPredicate, assertInterfaceDeclaration, assertInterfaceExtends, assertInterfaceTypeAnnotation, assertInterpreterDirective, assertIntersectionTypeAnnotation, assertJSX, assertJSXAttribute, assertJSXClosingElement, assertJSXClosingFragment, assertJSXElement, assertJSXEmptyExpression, assertJSXExpressionContainer, assertJSXFragment, assertJSXIdentifier, assertJSXMemberExpression, assertJSXNamespacedName, assertJSXOpeningElement, assertJSXOpeningFragment, assertJSXSpreadAttribute, assertJSXSpreadChild, assertJSXText, assertLVal, assertLabeledStatement, assertLiteral, assertLogicalExpression, assertLoop, assertMemberExpression, assertMetaProperty, assertMethod, assertMiscellaneous, assertMixedTypeAnnotation, assertModuleDeclaration, assertModuleExpression, assertModuleSpecifier, assertNewExpression, assertNode, assertNoop, assertNullLiteral, assertNullLiteralTypeAnnotation, assertNullableTypeAnnotation, assertNumberLiteral, assertNumberLiteralTypeAnnotation, assertNumberTypeAnnotation, assertNumericLiteral, assertObjectExpression, assertObjectMember, assertObjectMethod, assertObjectPattern, assertObjectProperty, assertObjectTypeAnnotation, assertObjectTypeCallProperty, assertObjectTypeIndexer, assertObjectTypeInternalSlot, assertObjectTypeProperty, assertObjectTypeSpreadProperty, assertOpaqueType, assertOptionalCallExpression, assertOptionalIndexedAccessType, assertOptionalMemberExpression, assertParenthesizedExpression, assertPattern, assertPatternLike, assertPipelineBareFunction, assertPipelinePrimaryTopicReference, assertPipelineTopicExpression, assertPlaceholder, assertPrivate, assertPrivateName, assertProgram, assertProperty, assertPureish, assertQualifiedTypeIdentifier, assertRecordExpression, assertRegExpLiteral, assertRegexLiteral, assertRestElement, assertRestProperty, assertReturnStatement, assertScopable, assertSequenceExpression, assertSpreadElement, assertSpreadProperty, assertStandardized, assertStatement, assertStaticBlock, assertStringLiteral, assertStringLiteralTypeAnnotation, assertStringTypeAnnotation, assertSuper, assertSwitchCase, assertSwitchStatement, assertSymbolTypeAnnotation, assertTSAnyKeyword, assertTSArrayType, assertTSAsExpression, assertTSBaseType, assertTSBigIntKeyword, assertTSBooleanKeyword, assertTSCallSignatureDeclaration, assertTSConditionalType, assertTSConstructSignatureDeclaration, assertTSConstructorType, assertTSDeclareFunction, assertTSDeclareMethod, assertTSEntityName, assertTSEnumBody, assertTSEnumDeclaration, assertTSEnumMember, assertTSExportAssignment, assertTSExpressionWithTypeArguments, assertTSExternalModuleReference, assertTSFunctionType, assertTSImportEqualsDeclaration, assertTSImportType, assertTSIndexSignature, assertTSIndexedAccessType, assertTSInferType, assertTSInstantiationExpression, assertTSInterfaceBody, assertTSInterfaceDeclaration, assertTSIntersectionType, assertTSIntrinsicKeyword, assertTSLiteralType, assertTSMappedType, assertTSMethodSignature, assertTSModuleBlock, assertTSModuleDeclaration, assertTSNamedTupleMember, assertTSNamespaceExportDeclaration, assertTSNeverKeyword, assertTSNonNullExpression, assertTSNullKeyword, assertTSNumberKeyword, assertTSObjectKeyword, assertTSOptionalType, assertTSParameterProperty, assertTSParenthesizedType, assertTSPropertySignature, assertTSQualifiedName, assertTSRestType, assertTSSatisfiesExpression, assertTSStringKeyword, assertTSSymbolKeyword, assertTSTemplateLiteralType, assertTSThisType, assertTSTupleType, assertTSType, assertTSTypeAliasDeclaration, assertTSTypeAnnotation, assertTSTypeAssertion, assertTSTypeElement, assertTSTypeLiteral, assertTSTypeOperator, assertTSTypeParameter, assertTSTypeParameterDeclaration, assertTSTypeParameterInstantiation, assertTSTypePredicate, assertTSTypeQuery, assertTSTypeReference, assertTSUndefinedKeyword, assertTSUnionType, assertTSUnknownKeyword, assertTSVoidKeyword, assertTaggedTemplateExpression, assertTemplateElement, assertTemplateLiteral, assertTerminatorless, assertThisExpression, assertThisTypeAnnotation, assertThrowStatement, assertTopicReference, assertTryStatement, assertTupleExpression, assertTupleTypeAnnotation, assertTypeAlias, assertTypeAnnotation, assertTypeCastExpression, assertTypeParameter, assertTypeParameterDeclaration, assertTypeParameterInstantiation, assertTypeScript, assertTypeofTypeAnnotation, assertUnaryExpression, assertUnaryLike, assertUnionTypeAnnotation, assertUpdateExpression, assertUserWhitespacable, assertV8IntrinsicIdentifier, assertVariableDeclaration, assertVariableDeclarator, assertVariance, assertVoidPattern, assertVoidTypeAnnotation, assertWhile, assertWhileStatement, assertWithStatement, assertYieldExpression, assignmentExpression, assignmentPattern, awaitExpression, bigIntLiteral, binaryExpression, bindExpression, blockStatement, booleanLiteral, booleanLiteralTypeAnnotation, booleanTypeAnnotation, breakStatement, buildMatchMemberExpression, buildUndefinedNode, callExpression, catchClause, classAccessorProperty, classBody, classDeclaration, classExpression, classImplements, classMethod, classPrivateMethod, classPrivateProperty, classProperty, clone, cloneDeep, cloneDeepWithoutLoc, cloneNode, cloneWithoutLoc, conditionalExpression, continueStatement, createFlowUnionType, createTSUnionType, _default$4 as createTypeAnnotationBasedOnTypeof, createFlowUnionType as createUnionTypeAnnotation, debuggerStatement, decimalLiteral, declareClass, declareExportAllDeclaration, declareExportDeclaration, declareFunction, declareInterface, declareModule, declareModuleExports, declareOpaqueType, declareTypeAlias, declareVariable, declaredPredicate, decorator, directive, directiveLiteral, doExpression, doWhileStatement, emptyStatement, emptyTypeAnnotation, ensureBlock, enumBooleanBody, enumBooleanMember, enumDeclaration, enumDefaultedMember, enumNumberBody, enumNumberMember, enumStringBody, enumStringMember, enumSymbolBody, existsTypeAnnotation, exportAllDeclaration, exportDefaultDeclaration, exportDefaultSpecifier, exportNamedDeclaration, exportNamespaceSpecifier, exportSpecifier, expressionStatement, file, forInStatement, forOfStatement, forStatement, functionDeclaration, functionExpression, functionTypeAnnotation, functionTypeParam, genericTypeAnnotation, getAssignmentIdentifiers, getBindingIdentifiers, getFunctionName, _default as getOuterBindingIdentifiers, identifier, ifStatement, _import as import, importAttribute, importDeclaration, importDefaultSpecifier, importExpression, importNamespaceSpecifier, importSpecifier, indexedAccessType, inferredPredicate, inheritInnerComments, inheritLeadingComments, inheritTrailingComments, inherits, inheritsComments, interfaceDeclaration, interfaceExtends, interfaceTypeAnnotation, interpreterDirective, intersectionTypeAnnotation, is, isAccessor, isAnyTypeAnnotation, isArgumentPlaceholder, isArrayExpression, isArrayPattern, isArrayTypeAnnotation, isArrowFunctionExpression, isAssignmentExpression, isAssignmentPattern, isAwaitExpression, isBigIntLiteral, isBinary, isBinaryExpression, isBindExpression, isBinding, isBlock, isBlockParent, isBlockScoped, isBlockStatement, isBooleanLiteral, isBooleanLiteralTypeAnnotation, isBooleanTypeAnnotation, isBreakStatement, isCallExpression, isCatchClause, isClass, isClassAccessorProperty, isClassBody, isClassDeclaration, isClassExpression, isClassImplements, isClassMethod, isClassPrivateMethod, isClassPrivateProperty, isClassProperty, isCompletionStatement, isConditional, isConditionalExpression, isContinueStatement, isDebuggerStatement, isDecimalLiteral, isDeclaration, isDeclareClass, isDeclareExportAllDeclaration, isDeclareExportDeclaration, isDeclareFunction, isDeclareInterface, isDeclareModule, isDeclareModuleExports, isDeclareOpaqueType, isDeclareTypeAlias, isDeclareVariable, isDeclaredPredicate, isDecorator, isDirective, isDirectiveLiteral, isDoExpression, isDoWhileStatement, isEmptyStatement, isEmptyTypeAnnotation, isEnumBody, isEnumBooleanBody, isEnumBooleanMember, isEnumDeclaration, isEnumDefaultedMember, isEnumMember, isEnumNumberBody, isEnumNumberMember, isEnumStringBody, isEnumStringMember, isEnumSymbolBody, isExistsTypeAnnotation, isExportAllDeclaration, isExportDeclaration, isExportDefaultDeclaration, isExportDefaultSpecifier, isExportNamedDeclaration, isExportNamespaceSpecifier, isExportSpecifier, isExpression, isExpressionStatement, isExpressionWrapper, isFile, isFlow, isFlowBaseAnnotation, isFlowDeclaration, isFlowPredicate, isFlowType, isFor, isForInStatement, isForOfStatement, isForStatement, isForXStatement, isFunction, isFunctionDeclaration, isFunctionExpression, isFunctionParameter, isFunctionParent, isFunctionTypeAnnotation, isFunctionTypeParam, isGenericTypeAnnotation, isIdentifier, isIfStatement, isImmutable, isImport, isImportAttribute, isImportDeclaration, isImportDefaultSpecifier, isImportExpression, isImportNamespaceSpecifier, isImportOrExportDeclaration, isImportSpecifier, isIndexedAccessType, isInferredPredicate, isInterfaceDeclaration, isInterfaceExtends, isInterfaceTypeAnnotation, isInterpreterDirective, isIntersectionTypeAnnotation, isJSX, isJSXAttribute, isJSXClosingElement, isJSXClosingFragment, isJSXElement, isJSXEmptyExpression, isJSXExpressionContainer, isJSXFragment, isJSXIdentifier, isJSXMemberExpression, isJSXNamespacedName, isJSXOpeningElement, isJSXOpeningFragment, isJSXSpreadAttribute, isJSXSpreadChild, isJSXText, isLVal, isLabeledStatement, isLet, isLiteral, isLogicalExpression, isLoop, isMemberExpression, isMetaProperty, isMethod, isMiscellaneous, isMixedTypeAnnotation, isModuleDeclaration, isModuleExpression, isModuleSpecifier, isNewExpression, isNode, isNodesEquivalent, isNoop, isNullLiteral, isNullLiteralTypeAnnotation, isNullableTypeAnnotation, isNumberLiteral, isNumberLiteralTypeAnnotation, isNumberTypeAnnotation, isNumericLiteral, isObjectExpression, isObjectMember, isObjectMethod, isObjectPattern, isObjectProperty, isObjectTypeAnnotation, isObjectTypeCallProperty, isObjectTypeIndexer, isObjectTypeInternalSlot, isObjectTypeProperty, isObjectTypeSpreadProperty, isOpaqueType, isOptionalCallExpression, isOptionalIndexedAccessType, isOptionalMemberExpression, isParenthesizedExpression, isPattern, isPatternLike, isPipelineBareFunction, isPipelinePrimaryTopicReference, isPipelineTopicExpression, isPlaceholder, isPlaceholderType, isPrivate, isPrivateName, isProgram, isProperty, isPureish, isQualifiedTypeIdentifier, isRecordExpression, isReferenced, isRegExpLiteral, isRegexLiteral, isRestElement, isRestProperty, isReturnStatement, isScopable, isScope, isSequenceExpression, isSpecifierDefault, isSpreadElement, isSpreadProperty, isStandardized, isStatement, isStaticBlock, isStringLiteral, isStringLiteralTypeAnnotation, isStringTypeAnnotation, isSuper, isSwitchCase, isSwitchStatement, isSymbolTypeAnnotation, isTSAnyKeyword, isTSArrayType, isTSAsExpression, isTSBaseType, isTSBigIntKeyword, isTSBooleanKeyword, isTSCallSignatureDeclaration, isTSConditionalType, isTSConstructSignatureDeclaration, isTSConstructorType, isTSDeclareFunction, isTSDeclareMethod, isTSEntityName, isTSEnumBody, isTSEnumDeclaration, isTSEnumMember, isTSExportAssignment, isTSExpressionWithTypeArguments, isTSExternalModuleReference, isTSFunctionType, isTSImportEqualsDeclaration, isTSImportType, isTSIndexSignature, isTSIndexedAccessType, isTSInferType, isTSInstantiationExpression, isTSInterfaceBody, isTSInterfaceDeclaration, isTSIntersectionType, isTSIntrinsicKeyword, isTSLiteralType, isTSMappedType, isTSMethodSignature, isTSModuleBlock, isTSModuleDeclaration, isTSNamedTupleMember, isTSNamespaceExportDeclaration, isTSNeverKeyword, isTSNonNullExpression, isTSNullKeyword, isTSNumberKeyword, isTSObjectKeyword, isTSOptionalType, isTSParameterProperty, isTSParenthesizedType, isTSPropertySignature, isTSQualifiedName, isTSRestType, isTSSatisfiesExpression, isTSStringKeyword, isTSSymbolKeyword, isTSTemplateLiteralType, isTSThisType, isTSTupleType, isTSType, isTSTypeAliasDeclaration, isTSTypeAnnotation, isTSTypeAssertion, isTSTypeElement, isTSTypeLiteral, isTSTypeOperator, isTSTypeParameter, isTSTypeParameterDeclaration, isTSTypeParameterInstantiation, isTSTypePredicate, isTSTypeQuery, isTSTypeReference, isTSUndefinedKeyword, isTSUnionType, isTSUnknownKeyword, isTSVoidKeyword, isTaggedTemplateExpression, isTemplateElement, isTemplateLiteral, isTerminatorless, isThisExpression, isThisTypeAnnotation, isThrowStatement, isTopicReference, isTryStatement, isTupleExpression, isTupleTypeAnnotation, isType, isTypeAlias, isTypeAnnotation, isTypeCastExpression, isTypeParameter, isTypeParameterDeclaration, isTypeParameterInstantiation, isTypeScript, isTypeofTypeAnnotation, isUnaryExpression, isUnaryLike, isUnionTypeAnnotation, isUpdateExpression, isUserWhitespacable, isV8IntrinsicIdentifier, isValidES3Identifier, isValidIdentifier, isVar, isVariableDeclaration, isVariableDeclarator, isVariance, isVoidPattern, isVoidTypeAnnotation, isWhile, isWhileStatement, isWithStatement, isYieldExpression, jsxAttribute as jSXAttribute, jsxClosingElement as jSXClosingElement, jsxClosingFragment as jSXClosingFragment, jsxElement as jSXElement, jsxEmptyExpression as jSXEmptyExpression, jsxExpressionContainer as jSXExpressionContainer, jsxFragment as jSXFragment, jsxIdentifier as jSXIdentifier, jsxMemberExpression as jSXMemberExpression, jsxNamespacedName as jSXNamespacedName, jsxOpeningElement as jSXOpeningElement, jsxOpeningFragment as jSXOpeningFragment, jsxSpreadAttribute as jSXSpreadAttribute, jsxSpreadChild as jSXSpreadChild, jsxText as jSXText, jsxAttribute, jsxClosingElement, jsxClosingFragment, jsxElement, jsxEmptyExpression, jsxExpressionContainer, jsxFragment, jsxIdentifier, jsxMemberExpression, jsxNamespacedName, jsxOpeningElement, jsxOpeningFragment, jsxSpreadAttribute, jsxSpreadChild, jsxText, labeledStatement, logicalExpression, matchesPattern, memberExpression, metaProperty, mixedTypeAnnotation, moduleExpression, newExpression, noop, nullLiteral, nullLiteralTypeAnnotation, nullableTypeAnnotation, NumberLiteral as numberLiteral, numberLiteralTypeAnnotation, numberTypeAnnotation, numericLiteral, objectExpression, objectMethod, objectPattern, objectProperty, objectTypeAnnotation, objectTypeCallProperty, objectTypeIndexer, objectTypeInternalSlot, objectTypeProperty, objectTypeSpreadProperty, opaqueType, optionalCallExpression, optionalIndexedAccessType, optionalMemberExpression, parenthesizedExpression, pipelineBareFunction, pipelinePrimaryTopicReference, pipelineTopicExpression, placeholder, prependToMemberExpression, privateName, program, qualifiedTypeIdentifier, react, recordExpression, regExpLiteral, RegexLiteral as regexLiteral, removeComments, removeProperties, removePropertiesDeep, removeTypeDuplicates, restElement, RestProperty as restProperty, returnStatement, sequenceExpression, shallowEqual, spreadElement, SpreadProperty as spreadProperty, staticBlock, stringLiteral, stringLiteralTypeAnnotation, stringTypeAnnotation, _super as super, switchCase, switchStatement, symbolTypeAnnotation, tsAnyKeyword as tSAnyKeyword, tsArrayType as tSArrayType, tsAsExpression as tSAsExpression, tsBigIntKeyword as tSBigIntKeyword, tsBooleanKeyword as tSBooleanKeyword, tsCallSignatureDeclaration as tSCallSignatureDeclaration, tsConditionalType as tSConditionalType, tsConstructSignatureDeclaration as tSConstructSignatureDeclaration, tsConstructorType as tSConstructorType, tsDeclareFunction as tSDeclareFunction, tsDeclareMethod as tSDeclareMethod, tsEnumBody as tSEnumBody, tsEnumDeclaration as tSEnumDeclaration, tsEnumMember as tSEnumMember, tsExportAssignment as tSExportAssignment, tsExpressionWithTypeArguments as tSExpressionWithTypeArguments, tsExternalModuleReference as tSExternalModuleReference, tsFunctionType as tSFunctionType, tsImportEqualsDeclaration as tSImportEqualsDeclaration, tsImportType as tSImportType, tsIndexSignature as tSIndexSignature, tsIndexedAccessType as tSIndexedAccessType, tsInferType as tSInferType, tsInstantiationExpression as tSInstantiationExpression, tsInterfaceBody as tSInterfaceBody, tsInterfaceDeclaration as tSInterfaceDeclaration, tsIntersectionType as tSIntersectionType, tsIntrinsicKeyword as tSIntrinsicKeyword, tsLiteralType as tSLiteralType, tsMappedType as tSMappedType, tsMethodSignature as tSMethodSignature, tsModuleBlock as tSModuleBlock, tsModuleDeclaration as tSModuleDeclaration, tsNamedTupleMember as tSNamedTupleMember, tsNamespaceExportDeclaration as tSNamespaceExportDeclaration, tsNeverKeyword as tSNeverKeyword, tsNonNullExpression as tSNonNullExpression, tsNullKeyword as tSNullKeyword, tsNumberKeyword as tSNumberKeyword, tsObjectKeyword as tSObjectKeyword, tsOptionalType as tSOptionalType, tsParameterProperty as tSParameterProperty, tsParenthesizedType as tSParenthesizedType, tsPropertySignature as tSPropertySignature, tsQualifiedName as tSQualifiedName, tsRestType as tSRestType, tsSatisfiesExpression as tSSatisfiesExpression, tsStringKeyword as tSStringKeyword, tsSymbolKeyword as tSSymbolKeyword, tsTemplateLiteralType as tSTemplateLiteralType, tsThisType as tSThisType, tsTupleType as tSTupleType, tsTypeAliasDeclaration as tSTypeAliasDeclaration, tsTypeAnnotation as tSTypeAnnotation, tsTypeAssertion as tSTypeAssertion, tsTypeLiteral as tSTypeLiteral, tsTypeOperator as tSTypeOperator, tsTypeParameter as tSTypeParameter, tsTypeParameterDeclaration as tSTypeParameterDeclaration, tsTypeParameterInstantiation as tSTypeParameterInstantiation, tsTypePredicate as tSTypePredicate, tsTypeQuery as tSTypeQuery, tsTypeReference as tSTypeReference, tsUndefinedKeyword as tSUndefinedKeyword, tsUnionType as tSUnionType, tsUnknownKeyword as tSUnknownKeyword, tsVoidKeyword as tSVoidKeyword, taggedTemplateExpression, templateElement, templateLiteral, thisExpression, thisTypeAnnotation, throwStatement, toBindingIdentifierName, toBlock, toComputedKey, _default$3 as toExpression, toIdentifier, toKeyAlias, _default$2 as toStatement, topicReference, traverse, traverseFast, tryStatement, tsAnyKeyword, tsArrayType, tsAsExpression, tsBigIntKeyword, tsBooleanKeyword, tsCallSignatureDeclaration, tsConditionalType, tsConstructSignatureDeclaration, tsConstructorType, tsDeclareFunction, tsDeclareMethod, tsEnumBody, tsEnumDeclaration, tsEnumMember, tsExportAssignment, tsExpressionWithTypeArguments, tsExternalModuleReference, tsFunctionType, tsImportEqualsDeclaration, tsImportType, tsIndexSignature, tsIndexedAccessType, tsInferType, tsInstantiationExpression, tsInterfaceBody, tsInterfaceDeclaration, tsIntersectionType, tsIntrinsicKeyword, tsLiteralType, tsMappedType, tsMethodSignature, tsModuleBlock, tsModuleDeclaration, tsNamedTupleMember, tsNamespaceExportDeclaration, tsNeverKeyword, tsNonNullExpression, tsNullKeyword, tsNumberKeyword, tsObjectKeyword, tsOptionalType, tsParameterProperty, tsParenthesizedType, tsPropertySignature, tsQualifiedName, tsRestType, tsSatisfiesExpression, tsStringKeyword, tsSymbolKeyword, tsTemplateLiteralType, tsThisType, tsTupleType, tsTypeAliasDeclaration, tsTypeAnnotation, tsTypeAssertion, tsTypeLiteral, tsTypeOperator, tsTypeParameter, tsTypeParameterDeclaration, tsTypeParameterInstantiation, tsTypePredicate, tsTypeQuery, tsTypeReference, tsUndefinedKeyword, tsUnionType, tsUnknownKeyword, tsVoidKeyword, tupleExpression, tupleTypeAnnotation, typeAlias, typeAnnotation, typeCastExpression, typeParameter, typeParameterDeclaration, typeParameterInstantiation, typeofTypeAnnotation, unaryExpression, unionTypeAnnotation, updateExpression, v8IntrinsicIdentifier, validate, _default$1 as valueToNode, variableDeclaration, variableDeclarator, variance, voidPattern, voidTypeAnnotation, whileStatement, withStatement, yieldExpression }; diff --git a/node_modules/@babel/types/lib/index.js b/node_modules/@babel/types/lib/index.js new file mode 100644 index 0000000000000000000000000000000000000000..3d1c1878134eceef90a1b56d907f4e01cfa0916a --- /dev/null +++ b/node_modules/@babel/types/lib/index.js @@ -0,0 +1,582 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +var _exportNames = { + react: true, + assertNode: true, + createTypeAnnotationBasedOnTypeof: true, + createUnionTypeAnnotation: true, + createFlowUnionType: true, + createTSUnionType: true, + cloneNode: true, + clone: true, + cloneDeep: true, + cloneDeepWithoutLoc: true, + cloneWithoutLoc: true, + addComment: true, + addComments: true, + inheritInnerComments: true, + inheritLeadingComments: true, + inheritsComments: true, + inheritTrailingComments: true, + removeComments: true, + ensureBlock: true, + toBindingIdentifierName: true, + toBlock: true, + toComputedKey: true, + toExpression: true, + toIdentifier: true, + toKeyAlias: true, + toStatement: true, + valueToNode: true, + appendToMemberExpression: true, + inherits: true, + prependToMemberExpression: true, + removeProperties: true, + removePropertiesDeep: true, + removeTypeDuplicates: true, + getAssignmentIdentifiers: true, + getBindingIdentifiers: true, + getOuterBindingIdentifiers: true, + getFunctionName: true, + traverse: true, + traverseFast: true, + shallowEqual: true, + is: true, + isBinding: true, + isBlockScoped: true, + isImmutable: true, + isLet: true, + isNode: true, + isNodesEquivalent: true, + isPlaceholderType: true, + isReferenced: true, + isScope: true, + isSpecifierDefault: true, + isType: true, + isValidES3Identifier: true, + isValidIdentifier: true, + isVar: true, + matchesPattern: true, + validate: true, + buildMatchMemberExpression: true, + __internal__deprecationWarning: true +}; +Object.defineProperty(exports, "__internal__deprecationWarning", { + enumerable: true, + get: function () { + return _deprecationWarning.default; + } +}); +Object.defineProperty(exports, "addComment", { + enumerable: true, + get: function () { + return _addComment.default; + } +}); +Object.defineProperty(exports, "addComments", { + enumerable: true, + get: function () { + return _addComments.default; + } +}); +Object.defineProperty(exports, "appendToMemberExpression", { + enumerable: true, + get: function () { + return _appendToMemberExpression.default; + } +}); +Object.defineProperty(exports, "assertNode", { + enumerable: true, + get: function () { + return _assertNode.default; + } +}); +Object.defineProperty(exports, "buildMatchMemberExpression", { + enumerable: true, + get: function () { + return _buildMatchMemberExpression.default; + } +}); +Object.defineProperty(exports, "clone", { + enumerable: true, + get: function () { + return _clone.default; + } +}); +Object.defineProperty(exports, "cloneDeep", { + enumerable: true, + get: function () { + return _cloneDeep.default; + } +}); +Object.defineProperty(exports, "cloneDeepWithoutLoc", { + enumerable: true, + get: function () { + return _cloneDeepWithoutLoc.default; + } +}); +Object.defineProperty(exports, "cloneNode", { + enumerable: true, + get: function () { + return _cloneNode.default; + } +}); +Object.defineProperty(exports, "cloneWithoutLoc", { + enumerable: true, + get: function () { + return _cloneWithoutLoc.default; + } +}); +Object.defineProperty(exports, "createFlowUnionType", { + enumerable: true, + get: function () { + return _createFlowUnionType.default; + } +}); +Object.defineProperty(exports, "createTSUnionType", { + enumerable: true, + get: function () { + return _createTSUnionType.default; + } +}); +Object.defineProperty(exports, "createTypeAnnotationBasedOnTypeof", { + enumerable: true, + get: function () { + return _createTypeAnnotationBasedOnTypeof.default; + } +}); +Object.defineProperty(exports, "createUnionTypeAnnotation", { + enumerable: true, + get: function () { + return _createFlowUnionType.default; + } +}); +Object.defineProperty(exports, "ensureBlock", { + enumerable: true, + get: function () { + return _ensureBlock.default; + } +}); +Object.defineProperty(exports, "getAssignmentIdentifiers", { + enumerable: true, + get: function () { + return _getAssignmentIdentifiers.default; + } +}); +Object.defineProperty(exports, "getBindingIdentifiers", { + enumerable: true, + get: function () { + return _getBindingIdentifiers.default; + } +}); +Object.defineProperty(exports, "getFunctionName", { + enumerable: true, + get: function () { + return _getFunctionName.default; + } +}); +Object.defineProperty(exports, "getOuterBindingIdentifiers", { + enumerable: true, + get: function () { + return _getOuterBindingIdentifiers.default; + } +}); +Object.defineProperty(exports, "inheritInnerComments", { + enumerable: true, + get: function () { + return _inheritInnerComments.default; + } +}); +Object.defineProperty(exports, "inheritLeadingComments", { + enumerable: true, + get: function () { + return _inheritLeadingComments.default; + } +}); +Object.defineProperty(exports, "inheritTrailingComments", { + enumerable: true, + get: function () { + return _inheritTrailingComments.default; + } +}); +Object.defineProperty(exports, "inherits", { + enumerable: true, + get: function () { + return _inherits.default; + } +}); +Object.defineProperty(exports, "inheritsComments", { + enumerable: true, + get: function () { + return _inheritsComments.default; + } +}); +Object.defineProperty(exports, "is", { + enumerable: true, + get: function () { + return _is.default; + } +}); +Object.defineProperty(exports, "isBinding", { + enumerable: true, + get: function () { + return _isBinding.default; + } +}); +Object.defineProperty(exports, "isBlockScoped", { + enumerable: true, + get: function () { + return _isBlockScoped.default; + } +}); +Object.defineProperty(exports, "isImmutable", { + enumerable: true, + get: function () { + return _isImmutable.default; + } +}); +Object.defineProperty(exports, "isLet", { + enumerable: true, + get: function () { + return _isLet.default; + } +}); +Object.defineProperty(exports, "isNode", { + enumerable: true, + get: function () { + return _isNode.default; + } +}); +Object.defineProperty(exports, "isNodesEquivalent", { + enumerable: true, + get: function () { + return _isNodesEquivalent.default; + } +}); +Object.defineProperty(exports, "isPlaceholderType", { + enumerable: true, + get: function () { + return _isPlaceholderType.default; + } +}); +Object.defineProperty(exports, "isReferenced", { + enumerable: true, + get: function () { + return _isReferenced.default; + } +}); +Object.defineProperty(exports, "isScope", { + enumerable: true, + get: function () { + return _isScope.default; + } +}); +Object.defineProperty(exports, "isSpecifierDefault", { + enumerable: true, + get: function () { + return _isSpecifierDefault.default; + } +}); +Object.defineProperty(exports, "isType", { + enumerable: true, + get: function () { + return _isType.default; + } +}); +Object.defineProperty(exports, "isValidES3Identifier", { + enumerable: true, + get: function () { + return _isValidES3Identifier.default; + } +}); +Object.defineProperty(exports, "isValidIdentifier", { + enumerable: true, + get: function () { + return _isValidIdentifier.default; + } +}); +Object.defineProperty(exports, "isVar", { + enumerable: true, + get: function () { + return _isVar.default; + } +}); +Object.defineProperty(exports, "matchesPattern", { + enumerable: true, + get: function () { + return _matchesPattern.default; + } +}); +Object.defineProperty(exports, "prependToMemberExpression", { + enumerable: true, + get: function () { + return _prependToMemberExpression.default; + } +}); +exports.react = void 0; +Object.defineProperty(exports, "removeComments", { + enumerable: true, + get: function () { + return _removeComments.default; + } +}); +Object.defineProperty(exports, "removeProperties", { + enumerable: true, + get: function () { + return _removeProperties.default; + } +}); +Object.defineProperty(exports, "removePropertiesDeep", { + enumerable: true, + get: function () { + return _removePropertiesDeep.default; + } +}); +Object.defineProperty(exports, "removeTypeDuplicates", { + enumerable: true, + get: function () { + return _removeTypeDuplicates.default; + } +}); +Object.defineProperty(exports, "shallowEqual", { + enumerable: true, + get: function () { + return _shallowEqual.default; + } +}); +Object.defineProperty(exports, "toBindingIdentifierName", { + enumerable: true, + get: function () { + return _toBindingIdentifierName.default; + } +}); +Object.defineProperty(exports, "toBlock", { + enumerable: true, + get: function () { + return _toBlock.default; + } +}); +Object.defineProperty(exports, "toComputedKey", { + enumerable: true, + get: function () { + return _toComputedKey.default; + } +}); +Object.defineProperty(exports, "toExpression", { + enumerable: true, + get: function () { + return _toExpression.default; + } +}); +Object.defineProperty(exports, "toIdentifier", { + enumerable: true, + get: function () { + return _toIdentifier.default; + } +}); +Object.defineProperty(exports, "toKeyAlias", { + enumerable: true, + get: function () { + return _toKeyAlias.default; + } +}); +Object.defineProperty(exports, "toStatement", { + enumerable: true, + get: function () { + return _toStatement.default; + } +}); +Object.defineProperty(exports, "traverse", { + enumerable: true, + get: function () { + return _traverse.default; + } +}); +Object.defineProperty(exports, "traverseFast", { + enumerable: true, + get: function () { + return _traverseFast.default; + } +}); +Object.defineProperty(exports, "validate", { + enumerable: true, + get: function () { + return _validate.default; + } +}); +Object.defineProperty(exports, "valueToNode", { + enumerable: true, + get: function () { + return _valueToNode.default; + } +}); +var _isReactComponent = require("./validators/react/isReactComponent.js"); +var _isCompatTag = require("./validators/react/isCompatTag.js"); +var _buildChildren = require("./builders/react/buildChildren.js"); +var _assertNode = require("./asserts/assertNode.js"); +var _index = require("./asserts/generated/index.js"); +Object.keys(_index).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; + if (key in exports && exports[key] === _index[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index[key]; + } + }); +}); +var _createTypeAnnotationBasedOnTypeof = require("./builders/flow/createTypeAnnotationBasedOnTypeof.js"); +var _createFlowUnionType = require("./builders/flow/createFlowUnionType.js"); +var _createTSUnionType = require("./builders/typescript/createTSUnionType.js"); +var _productions = require("./builders/productions.js"); +Object.keys(_productions).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; + if (key in exports && exports[key] === _productions[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _productions[key]; + } + }); +}); +var _index2 = require("./builders/generated/index.js"); +Object.keys(_index2).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; + if (key in exports && exports[key] === _index2[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index2[key]; + } + }); +}); +var _cloneNode = require("./clone/cloneNode.js"); +var _clone = require("./clone/clone.js"); +var _cloneDeep = require("./clone/cloneDeep.js"); +var _cloneDeepWithoutLoc = require("./clone/cloneDeepWithoutLoc.js"); +var _cloneWithoutLoc = require("./clone/cloneWithoutLoc.js"); +var _addComment = require("./comments/addComment.js"); +var _addComments = require("./comments/addComments.js"); +var _inheritInnerComments = require("./comments/inheritInnerComments.js"); +var _inheritLeadingComments = require("./comments/inheritLeadingComments.js"); +var _inheritsComments = require("./comments/inheritsComments.js"); +var _inheritTrailingComments = require("./comments/inheritTrailingComments.js"); +var _removeComments = require("./comments/removeComments.js"); +var _index3 = require("./constants/generated/index.js"); +Object.keys(_index3).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; + if (key in exports && exports[key] === _index3[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index3[key]; + } + }); +}); +var _index4 = require("./constants/index.js"); +Object.keys(_index4).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; + if (key in exports && exports[key] === _index4[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index4[key]; + } + }); +}); +var _ensureBlock = require("./converters/ensureBlock.js"); +var _toBindingIdentifierName = require("./converters/toBindingIdentifierName.js"); +var _toBlock = require("./converters/toBlock.js"); +var _toComputedKey = require("./converters/toComputedKey.js"); +var _toExpression = require("./converters/toExpression.js"); +var _toIdentifier = require("./converters/toIdentifier.js"); +var _toKeyAlias = require("./converters/toKeyAlias.js"); +var _toStatement = require("./converters/toStatement.js"); +var _valueToNode = require("./converters/valueToNode.js"); +var _index5 = require("./definitions/index.js"); +Object.keys(_index5).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; + if (key in exports && exports[key] === _index5[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index5[key]; + } + }); +}); +var _appendToMemberExpression = require("./modifications/appendToMemberExpression.js"); +var _inherits = require("./modifications/inherits.js"); +var _prependToMemberExpression = require("./modifications/prependToMemberExpression.js"); +var _removeProperties = require("./modifications/removeProperties.js"); +var _removePropertiesDeep = require("./modifications/removePropertiesDeep.js"); +var _removeTypeDuplicates = require("./modifications/flow/removeTypeDuplicates.js"); +var _getAssignmentIdentifiers = require("./retrievers/getAssignmentIdentifiers.js"); +var _getBindingIdentifiers = require("./retrievers/getBindingIdentifiers.js"); +var _getOuterBindingIdentifiers = require("./retrievers/getOuterBindingIdentifiers.js"); +var _getFunctionName = require("./retrievers/getFunctionName.js"); +var _traverse = require("./traverse/traverse.js"); +Object.keys(_traverse).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; + if (key in exports && exports[key] === _traverse[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _traverse[key]; + } + }); +}); +var _traverseFast = require("./traverse/traverseFast.js"); +var _shallowEqual = require("./utils/shallowEqual.js"); +var _is = require("./validators/is.js"); +var _isBinding = require("./validators/isBinding.js"); +var _isBlockScoped = require("./validators/isBlockScoped.js"); +var _isImmutable = require("./validators/isImmutable.js"); +var _isLet = require("./validators/isLet.js"); +var _isNode = require("./validators/isNode.js"); +var _isNodesEquivalent = require("./validators/isNodesEquivalent.js"); +var _isPlaceholderType = require("./validators/isPlaceholderType.js"); +var _isReferenced = require("./validators/isReferenced.js"); +var _isScope = require("./validators/isScope.js"); +var _isSpecifierDefault = require("./validators/isSpecifierDefault.js"); +var _isType = require("./validators/isType.js"); +var _isValidES3Identifier = require("./validators/isValidES3Identifier.js"); +var _isValidIdentifier = require("./validators/isValidIdentifier.js"); +var _isVar = require("./validators/isVar.js"); +var _matchesPattern = require("./validators/matchesPattern.js"); +var _validate = require("./validators/validate.js"); +var _buildMatchMemberExpression = require("./validators/buildMatchMemberExpression.js"); +var _index6 = require("./validators/generated/index.js"); +Object.keys(_index6).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; + if (key in exports && exports[key] === _index6[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index6[key]; + } + }); +}); +var _deprecationWarning = require("./utils/deprecationWarning.js"); +var _toSequenceExpression = require("./converters/toSequenceExpression.js"); +const react = exports.react = { + isReactComponent: _isReactComponent.default, + isCompatTag: _isCompatTag.default, + buildChildren: _buildChildren.default +}; +exports.toSequenceExpression = _toSequenceExpression.default; +if (process.env.BABEL_TYPES_8_BREAKING) { + console.warn("BABEL_TYPES_8_BREAKING is not supported anymore. Use the latest Babel 8.0.0 pre-release instead!"); +} + +//# sourceMappingURL=index.js.map diff --git a/node_modules/@babel/types/lib/index.js.flow b/node_modules/@babel/types/lib/index.js.flow new file mode 100644 index 0000000000000000000000000000000000000000..772d5acc3a390321ce80b9cafc74c3630b77a1ff --- /dev/null +++ b/node_modules/@babel/types/lib/index.js.flow @@ -0,0 +1,2650 @@ +// NOTE: This file is autogenerated. Do not modify. +// See packages/babel-types/scripts/generators/flow.ts for script used. + +declare class BabelNodeComment { + value: string; + start: number; + end: number; + loc: BabelNodeSourceLocation; +} + +declare class BabelNodeCommentBlock extends BabelNodeComment { + type: "CommentBlock"; +} + +declare class BabelNodeCommentLine extends BabelNodeComment { + type: "CommentLine"; +} + +declare class BabelNodeSourceLocation { + start: { + line: number; + column: number; + }; + + end: { + line: number; + column: number; + }; +} + +declare class BabelNode { + leadingComments?: Array; + innerComments?: Array; + trailingComments?: Array; + start: ?number; + end: ?number; + loc: ?BabelNodeSourceLocation; + extra?: { [string]: mixed }; +} + +declare class BabelNodeArrayExpression extends BabelNode { + type: "ArrayExpression"; + elements?: (null | BabelNodeExpression | BabelNodeSpreadElement)[]; +} + +declare class BabelNodeAssignmentExpression extends BabelNode { + type: "AssignmentExpression"; + operator: string; + left: BabelNodeLVal | BabelNodeOptionalMemberExpression; + right: BabelNodeExpression; +} + +declare class BabelNodeBinaryExpression extends BabelNode { + type: "BinaryExpression"; + operator: "+" | "-" | "/" | "%" | "*" | "**" | "&" | "|" | ">>" | ">>>" | "<<" | "^" | "==" | "===" | "!=" | "!==" | "in" | "instanceof" | ">" | "<" | ">=" | "<=" | "|>"; + left: BabelNodeExpression | BabelNodePrivateName; + right: BabelNodeExpression; +} + +declare class BabelNodeInterpreterDirective extends BabelNode { + type: "InterpreterDirective"; + value: string; +} + +declare class BabelNodeDirective extends BabelNode { + type: "Directive"; + value: BabelNodeDirectiveLiteral; +} + +declare class BabelNodeDirectiveLiteral extends BabelNode { + type: "DirectiveLiteral"; + value: string; +} + +declare class BabelNodeBlockStatement extends BabelNode { + type: "BlockStatement"; + body: BabelNodeStatement[]; + directives?: BabelNodeDirective[]; +} + +declare class BabelNodeBreakStatement extends BabelNode { + type: "BreakStatement"; + label?: BabelNodeIdentifier; +} + +declare class BabelNodeCallExpression extends BabelNode { + type: "CallExpression"; + callee: BabelNodeExpression | BabelNodeSuper | BabelNodeV8IntrinsicIdentifier; + arguments: (BabelNodeExpression | BabelNodeSpreadElement | BabelNodeArgumentPlaceholder)[]; + optional?: boolean; + typeArguments?: BabelNodeTypeParameterInstantiation; + typeParameters?: BabelNodeTSTypeParameterInstantiation; +} + +declare class BabelNodeCatchClause extends BabelNode { + type: "CatchClause"; + param?: BabelNodeIdentifier | BabelNodeArrayPattern | BabelNodeObjectPattern; + body: BabelNodeBlockStatement; +} + +declare class BabelNodeConditionalExpression extends BabelNode { + type: "ConditionalExpression"; + test: BabelNodeExpression; + consequent: BabelNodeExpression; + alternate: BabelNodeExpression; +} + +declare class BabelNodeContinueStatement extends BabelNode { + type: "ContinueStatement"; + label?: BabelNodeIdentifier; +} + +declare class BabelNodeDebuggerStatement extends BabelNode { + type: "DebuggerStatement"; +} + +declare class BabelNodeDoWhileStatement extends BabelNode { + type: "DoWhileStatement"; + test: BabelNodeExpression; + body: BabelNodeStatement; +} + +declare class BabelNodeEmptyStatement extends BabelNode { + type: "EmptyStatement"; +} + +declare class BabelNodeExpressionStatement extends BabelNode { + type: "ExpressionStatement"; + expression: BabelNodeExpression; +} + +declare class BabelNodeFile extends BabelNode { + type: "File"; + program: BabelNodeProgram; + comments?: (BabelNodeCommentBlock | BabelNodeCommentLine)[]; + tokens?: any[]; +} + +declare class BabelNodeForInStatement extends BabelNode { + type: "ForInStatement"; + left: BabelNodeVariableDeclaration | BabelNodeLVal; + right: BabelNodeExpression; + body: BabelNodeStatement; +} + +declare class BabelNodeForStatement extends BabelNode { + type: "ForStatement"; + init?: BabelNodeVariableDeclaration | BabelNodeExpression; + test?: BabelNodeExpression; + update?: BabelNodeExpression; + body: BabelNodeStatement; +} + +declare class BabelNodeFunctionDeclaration extends BabelNode { + type: "FunctionDeclaration"; + id?: BabelNodeIdentifier; + params: BabelNodeFunctionParameter[]; + body: BabelNodeBlockStatement; + generator?: boolean; + async?: boolean; + declare?: boolean; + predicate?: BabelNodeDeclaredPredicate | BabelNodeInferredPredicate; + returnType?: BabelNodeTypeAnnotation | BabelNodeTSTypeAnnotation | BabelNodeNoop; + typeParameters?: BabelNodeTypeParameterDeclaration | BabelNodeTSTypeParameterDeclaration | BabelNodeNoop; +} + +declare class BabelNodeFunctionExpression extends BabelNode { + type: "FunctionExpression"; + id?: BabelNodeIdentifier; + params: BabelNodeFunctionParameter[]; + body: BabelNodeBlockStatement; + generator?: boolean; + async?: boolean; + predicate?: BabelNodeDeclaredPredicate | BabelNodeInferredPredicate; + returnType?: BabelNodeTypeAnnotation | BabelNodeTSTypeAnnotation | BabelNodeNoop; + typeParameters?: BabelNodeTypeParameterDeclaration | BabelNodeTSTypeParameterDeclaration | BabelNodeNoop; +} + +declare class BabelNodeIdentifier extends BabelNode { + type: "Identifier"; + name: string; + decorators?: BabelNodeDecorator[]; + optional?: boolean; + typeAnnotation?: BabelNodeTypeAnnotation | BabelNodeTSTypeAnnotation | BabelNodeNoop; +} + +declare class BabelNodeIfStatement extends BabelNode { + type: "IfStatement"; + test: BabelNodeExpression; + consequent: BabelNodeStatement; + alternate?: BabelNodeStatement; +} + +declare class BabelNodeLabeledStatement extends BabelNode { + type: "LabeledStatement"; + label: BabelNodeIdentifier; + body: BabelNodeStatement; +} + +declare class BabelNodeStringLiteral extends BabelNode { + type: "StringLiteral"; + value: string; +} + +declare class BabelNodeNumericLiteral extends BabelNode { + type: "NumericLiteral"; + value: number; +} + +declare class BabelNodeNullLiteral extends BabelNode { + type: "NullLiteral"; +} + +declare class BabelNodeBooleanLiteral extends BabelNode { + type: "BooleanLiteral"; + value: boolean; +} + +declare class BabelNodeRegExpLiteral extends BabelNode { + type: "RegExpLiteral"; + pattern: string; + flags?: string; +} + +declare class BabelNodeLogicalExpression extends BabelNode { + type: "LogicalExpression"; + operator: "||" | "&&" | "??"; + left: BabelNodeExpression; + right: BabelNodeExpression; +} + +declare class BabelNodeMemberExpression extends BabelNode { + type: "MemberExpression"; + object: BabelNodeExpression | BabelNodeSuper; + property: BabelNodeExpression | BabelNodeIdentifier | BabelNodePrivateName; + computed?: boolean; + optional?: boolean; +} + +declare class BabelNodeNewExpression extends BabelNode { + type: "NewExpression"; + callee: BabelNodeExpression | BabelNodeSuper | BabelNodeV8IntrinsicIdentifier; + arguments: (BabelNodeExpression | BabelNodeSpreadElement | BabelNodeArgumentPlaceholder)[]; + optional?: boolean; + typeArguments?: BabelNodeTypeParameterInstantiation; + typeParameters?: BabelNodeTSTypeParameterInstantiation; +} + +declare class BabelNodeProgram extends BabelNode { + type: "Program"; + body: BabelNodeStatement[]; + directives?: BabelNodeDirective[]; + sourceType?: "script" | "module"; + interpreter?: BabelNodeInterpreterDirective; +} + +declare class BabelNodeObjectExpression extends BabelNode { + type: "ObjectExpression"; + properties: (BabelNodeObjectMethod | BabelNodeObjectProperty | BabelNodeSpreadElement)[]; +} + +declare class BabelNodeObjectMethod extends BabelNode { + type: "ObjectMethod"; + kind?: "method" | "get" | "set"; + key: BabelNodeExpression | BabelNodeIdentifier | BabelNodeStringLiteral | BabelNodeNumericLiteral | BabelNodeBigIntLiteral; + params: BabelNodeFunctionParameter[]; + body: BabelNodeBlockStatement; + computed?: boolean; + generator?: boolean; + async?: boolean; + decorators?: BabelNodeDecorator[]; + returnType?: BabelNodeTypeAnnotation | BabelNodeTSTypeAnnotation | BabelNodeNoop; + typeParameters?: BabelNodeTypeParameterDeclaration | BabelNodeTSTypeParameterDeclaration | BabelNodeNoop; +} + +declare class BabelNodeObjectProperty extends BabelNode { + type: "ObjectProperty"; + key: BabelNodeExpression | BabelNodeIdentifier | BabelNodeStringLiteral | BabelNodeNumericLiteral | BabelNodeBigIntLiteral | BabelNodeDecimalLiteral | BabelNodePrivateName; + value: BabelNodeExpression | BabelNodePatternLike; + computed?: boolean; + shorthand?: boolean; + decorators?: BabelNodeDecorator[]; +} + +declare class BabelNodeRestElement extends BabelNode { + type: "RestElement"; + argument: BabelNodeIdentifier | BabelNodeArrayPattern | BabelNodeObjectPattern | BabelNodeMemberExpression | BabelNodeTSAsExpression | BabelNodeTSSatisfiesExpression | BabelNodeTSTypeAssertion | BabelNodeTSNonNullExpression | BabelNodeRestElement | BabelNodeAssignmentPattern; + decorators?: BabelNodeDecorator[]; + optional?: boolean; + typeAnnotation?: BabelNodeTypeAnnotation | BabelNodeTSTypeAnnotation | BabelNodeNoop; +} + +declare class BabelNodeReturnStatement extends BabelNode { + type: "ReturnStatement"; + argument?: BabelNodeExpression; +} + +declare class BabelNodeSequenceExpression extends BabelNode { + type: "SequenceExpression"; + expressions: BabelNodeExpression[]; +} + +declare class BabelNodeParenthesizedExpression extends BabelNode { + type: "ParenthesizedExpression"; + expression: BabelNodeExpression; +} + +declare class BabelNodeSwitchCase extends BabelNode { + type: "SwitchCase"; + test?: BabelNodeExpression; + consequent: BabelNodeStatement[]; +} + +declare class BabelNodeSwitchStatement extends BabelNode { + type: "SwitchStatement"; + discriminant: BabelNodeExpression; + cases: BabelNodeSwitchCase[]; +} + +declare class BabelNodeThisExpression extends BabelNode { + type: "ThisExpression"; +} + +declare class BabelNodeThrowStatement extends BabelNode { + type: "ThrowStatement"; + argument: BabelNodeExpression; +} + +declare class BabelNodeTryStatement extends BabelNode { + type: "TryStatement"; + block: BabelNodeBlockStatement; + handler?: BabelNodeCatchClause; + finalizer?: BabelNodeBlockStatement; +} + +declare class BabelNodeUnaryExpression extends BabelNode { + type: "UnaryExpression"; + operator: "void" | "throw" | "delete" | "!" | "+" | "-" | "~" | "typeof"; + argument: BabelNodeExpression; + prefix?: boolean; +} + +declare class BabelNodeUpdateExpression extends BabelNode { + type: "UpdateExpression"; + operator: "++" | "--"; + argument: BabelNodeExpression; + prefix?: boolean; +} + +declare class BabelNodeVariableDeclaration extends BabelNode { + type: "VariableDeclaration"; + kind: "var" | "let" | "const" | "using" | "await using"; + declarations: BabelNodeVariableDeclarator[]; + declare?: boolean; +} + +declare class BabelNodeVariableDeclarator extends BabelNode { + type: "VariableDeclarator"; + id: BabelNodeLVal | BabelNodeVoidPattern; + init?: BabelNodeExpression; + definite?: boolean; +} + +declare class BabelNodeWhileStatement extends BabelNode { + type: "WhileStatement"; + test: BabelNodeExpression; + body: BabelNodeStatement; +} + +declare class BabelNodeWithStatement extends BabelNode { + type: "WithStatement"; + object: BabelNodeExpression; + body: BabelNodeStatement; +} + +declare class BabelNodeAssignmentPattern extends BabelNode { + type: "AssignmentPattern"; + left: BabelNodeIdentifier | BabelNodeObjectPattern | BabelNodeArrayPattern | BabelNodeMemberExpression | BabelNodeTSAsExpression | BabelNodeTSSatisfiesExpression | BabelNodeTSTypeAssertion | BabelNodeTSNonNullExpression; + right: BabelNodeExpression; + decorators?: BabelNodeDecorator[]; + optional?: boolean; + typeAnnotation?: BabelNodeTypeAnnotation | BabelNodeTSTypeAnnotation | BabelNodeNoop; +} + +declare class BabelNodeArrayPattern extends BabelNode { + type: "ArrayPattern"; + elements: (null | BabelNodePatternLike)[]; + decorators?: BabelNodeDecorator[]; + optional?: boolean; + typeAnnotation?: BabelNodeTypeAnnotation | BabelNodeTSTypeAnnotation | BabelNodeNoop; +} + +declare class BabelNodeArrowFunctionExpression extends BabelNode { + type: "ArrowFunctionExpression"; + params: BabelNodeFunctionParameter[]; + body: BabelNodeBlockStatement | BabelNodeExpression; + async?: boolean; + expression: boolean; + generator?: boolean; + predicate?: BabelNodeDeclaredPredicate | BabelNodeInferredPredicate; + returnType?: BabelNodeTypeAnnotation | BabelNodeTSTypeAnnotation | BabelNodeNoop; + typeParameters?: BabelNodeTypeParameterDeclaration | BabelNodeTSTypeParameterDeclaration | BabelNodeNoop; +} + +declare class BabelNodeClassBody extends BabelNode { + type: "ClassBody"; + body: (BabelNodeClassMethod | BabelNodeClassPrivateMethod | BabelNodeClassProperty | BabelNodeClassPrivateProperty | BabelNodeClassAccessorProperty | BabelNodeTSDeclareMethod | BabelNodeTSIndexSignature | BabelNodeStaticBlock)[]; +} + +declare class BabelNodeClassExpression extends BabelNode { + type: "ClassExpression"; + id?: BabelNodeIdentifier; + superClass?: BabelNodeExpression; + body: BabelNodeClassBody; + decorators?: BabelNodeDecorator[]; + mixins?: BabelNodeInterfaceExtends; + superTypeParameters?: BabelNodeTypeParameterInstantiation | BabelNodeTSTypeParameterInstantiation; + typeParameters?: BabelNodeTypeParameterDeclaration | BabelNodeTSTypeParameterDeclaration | BabelNodeNoop; +} + +declare class BabelNodeClassDeclaration extends BabelNode { + type: "ClassDeclaration"; + id?: BabelNodeIdentifier; + superClass?: BabelNodeExpression; + body: BabelNodeClassBody; + decorators?: BabelNodeDecorator[]; + abstract?: boolean; + declare?: boolean; + mixins?: BabelNodeInterfaceExtends; + superTypeParameters?: BabelNodeTypeParameterInstantiation | BabelNodeTSTypeParameterInstantiation; + typeParameters?: BabelNodeTypeParameterDeclaration | BabelNodeTSTypeParameterDeclaration | BabelNodeNoop; +} + +declare class BabelNodeExportAllDeclaration extends BabelNode { + type: "ExportAllDeclaration"; + source: BabelNodeStringLiteral; + attributes?: BabelNodeImportAttribute[]; + assertions?: BabelNodeImportAttribute[]; + exportKind?: "type" | "value"; +} + +declare class BabelNodeExportDefaultDeclaration extends BabelNode { + type: "ExportDefaultDeclaration"; + declaration: BabelNodeTSDeclareFunction | BabelNodeFunctionDeclaration | BabelNodeClassDeclaration | BabelNodeExpression; + exportKind?: "value"; +} + +declare class BabelNodeExportNamedDeclaration extends BabelNode { + type: "ExportNamedDeclaration"; + declaration?: BabelNodeDeclaration; + specifiers?: (BabelNodeExportSpecifier | BabelNodeExportDefaultSpecifier | BabelNodeExportNamespaceSpecifier)[]; + source?: BabelNodeStringLiteral; + attributes?: BabelNodeImportAttribute[]; + assertions?: BabelNodeImportAttribute[]; + exportKind?: "type" | "value"; +} + +declare class BabelNodeExportSpecifier extends BabelNode { + type: "ExportSpecifier"; + local: BabelNodeIdentifier; + exported: BabelNodeIdentifier | BabelNodeStringLiteral; + exportKind?: "type" | "value"; +} + +declare class BabelNodeForOfStatement extends BabelNode { + type: "ForOfStatement"; + left: BabelNodeVariableDeclaration | BabelNodeLVal; + right: BabelNodeExpression; + body: BabelNodeStatement; +} + +declare class BabelNodeImportDeclaration extends BabelNode { + type: "ImportDeclaration"; + specifiers: (BabelNodeImportSpecifier | BabelNodeImportDefaultSpecifier | BabelNodeImportNamespaceSpecifier)[]; + source: BabelNodeStringLiteral; + attributes?: BabelNodeImportAttribute[]; + assertions?: BabelNodeImportAttribute[]; + importKind?: "type" | "typeof" | "value"; + module?: boolean; + phase?: "source" | "defer"; +} + +declare class BabelNodeImportDefaultSpecifier extends BabelNode { + type: "ImportDefaultSpecifier"; + local: BabelNodeIdentifier; +} + +declare class BabelNodeImportNamespaceSpecifier extends BabelNode { + type: "ImportNamespaceSpecifier"; + local: BabelNodeIdentifier; +} + +declare class BabelNodeImportSpecifier extends BabelNode { + type: "ImportSpecifier"; + local: BabelNodeIdentifier; + imported: BabelNodeIdentifier | BabelNodeStringLiteral; + importKind?: "type" | "typeof" | "value"; +} + +declare class BabelNodeImportExpression extends BabelNode { + type: "ImportExpression"; + source: BabelNodeExpression; + options?: BabelNodeExpression; + phase?: "source" | "defer"; +} + +declare class BabelNodeMetaProperty extends BabelNode { + type: "MetaProperty"; + meta: BabelNodeIdentifier; + property: BabelNodeIdentifier; +} + +declare class BabelNodeClassMethod extends BabelNode { + type: "ClassMethod"; + kind?: "get" | "set" | "method" | "constructor"; + key: BabelNodeIdentifier | BabelNodeStringLiteral | BabelNodeNumericLiteral | BabelNodeBigIntLiteral | BabelNodeExpression; + params: (BabelNodeFunctionParameter | BabelNodeTSParameterProperty)[]; + body: BabelNodeBlockStatement; + computed?: boolean; + generator?: boolean; + async?: boolean; + abstract?: boolean; + access?: "public" | "private" | "protected"; + accessibility?: "public" | "private" | "protected"; + decorators?: BabelNodeDecorator[]; + optional?: boolean; + override?: boolean; + returnType?: BabelNodeTypeAnnotation | BabelNodeTSTypeAnnotation | BabelNodeNoop; + typeParameters?: BabelNodeTypeParameterDeclaration | BabelNodeTSTypeParameterDeclaration | BabelNodeNoop; +} + +declare class BabelNodeObjectPattern extends BabelNode { + type: "ObjectPattern"; + properties: (BabelNodeRestElement | BabelNodeObjectProperty)[]; + decorators?: BabelNodeDecorator[]; + optional?: boolean; + typeAnnotation?: BabelNodeTypeAnnotation | BabelNodeTSTypeAnnotation | BabelNodeNoop; +} + +declare class BabelNodeSpreadElement extends BabelNode { + type: "SpreadElement"; + argument: BabelNodeExpression; +} + +declare class BabelNodeSuper extends BabelNode { + type: "Super"; +} + +declare class BabelNodeTaggedTemplateExpression extends BabelNode { + type: "TaggedTemplateExpression"; + tag: BabelNodeExpression; + quasi: BabelNodeTemplateLiteral; + typeParameters?: BabelNodeTypeParameterInstantiation | BabelNodeTSTypeParameterInstantiation; +} + +declare class BabelNodeTemplateElement extends BabelNode { + type: "TemplateElement"; + value: { raw: string, cooked?: string }; + tail?: boolean; +} + +declare class BabelNodeTemplateLiteral extends BabelNode { + type: "TemplateLiteral"; + quasis: BabelNodeTemplateElement[]; + expressions: (BabelNodeExpression | BabelNodeTSType)[]; +} + +declare class BabelNodeYieldExpression extends BabelNode { + type: "YieldExpression"; + argument?: BabelNodeExpression; + delegate?: boolean; +} + +declare class BabelNodeAwaitExpression extends BabelNode { + type: "AwaitExpression"; + argument: BabelNodeExpression; +} + +declare class BabelNodeImport extends BabelNode { + type: "Import"; +} + +declare class BabelNodeBigIntLiteral extends BabelNode { + type: "BigIntLiteral"; + value: string; +} + +declare class BabelNodeExportNamespaceSpecifier extends BabelNode { + type: "ExportNamespaceSpecifier"; + exported: BabelNodeIdentifier; +} + +declare class BabelNodeOptionalMemberExpression extends BabelNode { + type: "OptionalMemberExpression"; + object: BabelNodeExpression; + property: BabelNodeExpression | BabelNodeIdentifier; + computed?: boolean; + optional: boolean; +} + +declare class BabelNodeOptionalCallExpression extends BabelNode { + type: "OptionalCallExpression"; + callee: BabelNodeExpression; + arguments: (BabelNodeExpression | BabelNodeSpreadElement | BabelNodeArgumentPlaceholder)[]; + optional: boolean; + typeArguments?: BabelNodeTypeParameterInstantiation; + typeParameters?: BabelNodeTSTypeParameterInstantiation; +} + +declare class BabelNodeClassProperty extends BabelNode { + type: "ClassProperty"; + key: BabelNodeIdentifier | BabelNodeStringLiteral | BabelNodeNumericLiteral | BabelNodeBigIntLiteral | BabelNodeExpression; + value?: BabelNodeExpression; + typeAnnotation?: BabelNodeTypeAnnotation | BabelNodeTSTypeAnnotation | BabelNodeNoop; + decorators?: BabelNodeDecorator[]; + computed?: boolean; + abstract?: boolean; + accessibility?: "public" | "private" | "protected"; + declare?: boolean; + definite?: boolean; + optional?: boolean; + override?: boolean; + readonly?: boolean; + variance?: BabelNodeVariance; +} + +declare class BabelNodeClassAccessorProperty extends BabelNode { + type: "ClassAccessorProperty"; + key: BabelNodeIdentifier | BabelNodeStringLiteral | BabelNodeNumericLiteral | BabelNodeBigIntLiteral | BabelNodeExpression | BabelNodePrivateName; + value?: BabelNodeExpression; + typeAnnotation?: BabelNodeTypeAnnotation | BabelNodeTSTypeAnnotation | BabelNodeNoop; + decorators?: BabelNodeDecorator[]; + computed?: boolean; + abstract?: boolean; + accessibility?: "public" | "private" | "protected"; + declare?: boolean; + definite?: boolean; + optional?: boolean; + override?: boolean; + readonly?: boolean; + variance?: BabelNodeVariance; +} + +declare class BabelNodeClassPrivateProperty extends BabelNode { + type: "ClassPrivateProperty"; + key: BabelNodePrivateName; + value?: BabelNodeExpression; + decorators?: BabelNodeDecorator[]; + definite?: boolean; + optional?: boolean; + readonly?: boolean; + typeAnnotation?: BabelNodeTypeAnnotation | BabelNodeTSTypeAnnotation | BabelNodeNoop; + variance?: BabelNodeVariance; +} + +declare class BabelNodeClassPrivateMethod extends BabelNode { + type: "ClassPrivateMethod"; + kind?: "get" | "set" | "method"; + key: BabelNodePrivateName; + params: (BabelNodeFunctionParameter | BabelNodeTSParameterProperty)[]; + body: BabelNodeBlockStatement; + abstract?: boolean; + access?: "public" | "private" | "protected"; + accessibility?: "public" | "private" | "protected"; + async?: boolean; + computed?: boolean; + decorators?: BabelNodeDecorator[]; + generator?: boolean; + optional?: boolean; + override?: boolean; + returnType?: BabelNodeTypeAnnotation | BabelNodeTSTypeAnnotation | BabelNodeNoop; + typeParameters?: BabelNodeTypeParameterDeclaration | BabelNodeTSTypeParameterDeclaration | BabelNodeNoop; +} + +declare class BabelNodePrivateName extends BabelNode { + type: "PrivateName"; + id: BabelNodeIdentifier; +} + +declare class BabelNodeStaticBlock extends BabelNode { + type: "StaticBlock"; + body: BabelNodeStatement[]; +} + +declare class BabelNodeImportAttribute extends BabelNode { + type: "ImportAttribute"; + key: BabelNodeIdentifier | BabelNodeStringLiteral; + value: BabelNodeStringLiteral; +} + +declare class BabelNodeAnyTypeAnnotation extends BabelNode { + type: "AnyTypeAnnotation"; +} + +declare class BabelNodeArrayTypeAnnotation extends BabelNode { + type: "ArrayTypeAnnotation"; + elementType: BabelNodeFlowType; +} + +declare class BabelNodeBooleanTypeAnnotation extends BabelNode { + type: "BooleanTypeAnnotation"; +} + +declare class BabelNodeBooleanLiteralTypeAnnotation extends BabelNode { + type: "BooleanLiteralTypeAnnotation"; + value: boolean; +} + +declare class BabelNodeNullLiteralTypeAnnotation extends BabelNode { + type: "NullLiteralTypeAnnotation"; +} + +declare class BabelNodeClassImplements extends BabelNode { + type: "ClassImplements"; + id: BabelNodeIdentifier; + typeParameters?: BabelNodeTypeParameterInstantiation; +} + +declare class BabelNodeDeclareClass extends BabelNode { + type: "DeclareClass"; + id: BabelNodeIdentifier; + typeParameters?: BabelNodeTypeParameterDeclaration; + body: BabelNodeObjectTypeAnnotation; + mixins?: BabelNodeInterfaceExtends[]; +} + +declare class BabelNodeDeclareFunction extends BabelNode { + type: "DeclareFunction"; + id: BabelNodeIdentifier; + predicate?: BabelNodeDeclaredPredicate; +} + +declare class BabelNodeDeclareInterface extends BabelNode { + type: "DeclareInterface"; + id: BabelNodeIdentifier; + typeParameters?: BabelNodeTypeParameterDeclaration; + body: BabelNodeObjectTypeAnnotation; +} + +declare class BabelNodeDeclareModule extends BabelNode { + type: "DeclareModule"; + id: BabelNodeIdentifier | BabelNodeStringLiteral; + body: BabelNodeBlockStatement; + kind?: "CommonJS" | "ES"; +} + +declare class BabelNodeDeclareModuleExports extends BabelNode { + type: "DeclareModuleExports"; + typeAnnotation: BabelNodeTypeAnnotation; +} + +declare class BabelNodeDeclareTypeAlias extends BabelNode { + type: "DeclareTypeAlias"; + id: BabelNodeIdentifier; + typeParameters?: BabelNodeTypeParameterDeclaration; + right: BabelNodeFlowType; +} + +declare class BabelNodeDeclareOpaqueType extends BabelNode { + type: "DeclareOpaqueType"; + id: BabelNodeIdentifier; + typeParameters?: BabelNodeTypeParameterDeclaration; + supertype?: BabelNodeFlowType; + impltype?: BabelNodeFlowType; +} + +declare class BabelNodeDeclareVariable extends BabelNode { + type: "DeclareVariable"; + id: BabelNodeIdentifier; +} + +declare class BabelNodeDeclareExportDeclaration extends BabelNode { + type: "DeclareExportDeclaration"; + declaration?: BabelNodeFlow; + specifiers?: (BabelNodeExportSpecifier | BabelNodeExportNamespaceSpecifier)[]; + source?: BabelNodeStringLiteral; + attributes?: BabelNodeImportAttribute[]; + assertions?: BabelNodeImportAttribute[]; +} + +declare class BabelNodeDeclareExportAllDeclaration extends BabelNode { + type: "DeclareExportAllDeclaration"; + source: BabelNodeStringLiteral; + attributes?: BabelNodeImportAttribute[]; + assertions?: BabelNodeImportAttribute[]; + exportKind?: "type" | "value"; +} + +declare class BabelNodeDeclaredPredicate extends BabelNode { + type: "DeclaredPredicate"; + value: BabelNodeFlow; +} + +declare class BabelNodeExistsTypeAnnotation extends BabelNode { + type: "ExistsTypeAnnotation"; +} + +declare class BabelNodeFunctionTypeAnnotation extends BabelNode { + type: "FunctionTypeAnnotation"; + typeParameters?: BabelNodeTypeParameterDeclaration; + params: BabelNodeFunctionTypeParam[]; + rest?: BabelNodeFunctionTypeParam; + returnType: BabelNodeFlowType; +} + +declare class BabelNodeFunctionTypeParam extends BabelNode { + type: "FunctionTypeParam"; + name?: BabelNodeIdentifier; + typeAnnotation: BabelNodeFlowType; + optional?: boolean; +} + +declare class BabelNodeGenericTypeAnnotation extends BabelNode { + type: "GenericTypeAnnotation"; + id: BabelNodeIdentifier | BabelNodeQualifiedTypeIdentifier; + typeParameters?: BabelNodeTypeParameterInstantiation; +} + +declare class BabelNodeInferredPredicate extends BabelNode { + type: "InferredPredicate"; +} + +declare class BabelNodeInterfaceExtends extends BabelNode { + type: "InterfaceExtends"; + id: BabelNodeIdentifier | BabelNodeQualifiedTypeIdentifier; + typeParameters?: BabelNodeTypeParameterInstantiation; +} + +declare class BabelNodeInterfaceDeclaration extends BabelNode { + type: "InterfaceDeclaration"; + id: BabelNodeIdentifier; + typeParameters?: BabelNodeTypeParameterDeclaration; + body: BabelNodeObjectTypeAnnotation; +} + +declare class BabelNodeInterfaceTypeAnnotation extends BabelNode { + type: "InterfaceTypeAnnotation"; + body: BabelNodeObjectTypeAnnotation; +} + +declare class BabelNodeIntersectionTypeAnnotation extends BabelNode { + type: "IntersectionTypeAnnotation"; + types: BabelNodeFlowType[]; +} + +declare class BabelNodeMixedTypeAnnotation extends BabelNode { + type: "MixedTypeAnnotation"; +} + +declare class BabelNodeEmptyTypeAnnotation extends BabelNode { + type: "EmptyTypeAnnotation"; +} + +declare class BabelNodeNullableTypeAnnotation extends BabelNode { + type: "NullableTypeAnnotation"; + typeAnnotation: BabelNodeFlowType; +} + +declare class BabelNodeNumberLiteralTypeAnnotation extends BabelNode { + type: "NumberLiteralTypeAnnotation"; + value: number; +} + +declare class BabelNodeNumberTypeAnnotation extends BabelNode { + type: "NumberTypeAnnotation"; +} + +declare class BabelNodeObjectTypeAnnotation extends BabelNode { + type: "ObjectTypeAnnotation"; + properties: (BabelNodeObjectTypeProperty | BabelNodeObjectTypeSpreadProperty)[]; + indexers?: BabelNodeObjectTypeIndexer[]; + callProperties?: BabelNodeObjectTypeCallProperty[]; + internalSlots?: BabelNodeObjectTypeInternalSlot[]; + exact?: boolean; + inexact?: boolean; +} + +declare class BabelNodeObjectTypeInternalSlot extends BabelNode { + type: "ObjectTypeInternalSlot"; + id: BabelNodeIdentifier; + value: BabelNodeFlowType; + optional: boolean; + method: boolean; +} + +declare class BabelNodeObjectTypeCallProperty extends BabelNode { + type: "ObjectTypeCallProperty"; + value: BabelNodeFlowType; +} + +declare class BabelNodeObjectTypeIndexer extends BabelNode { + type: "ObjectTypeIndexer"; + id?: BabelNodeIdentifier; + key: BabelNodeFlowType; + value: BabelNodeFlowType; + variance?: BabelNodeVariance; +} + +declare class BabelNodeObjectTypeProperty extends BabelNode { + type: "ObjectTypeProperty"; + key: BabelNodeIdentifier | BabelNodeStringLiteral; + value: BabelNodeFlowType; + variance?: BabelNodeVariance; + kind: "init" | "get" | "set"; + method: boolean; + optional: boolean; + proto: boolean; +} + +declare class BabelNodeObjectTypeSpreadProperty extends BabelNode { + type: "ObjectTypeSpreadProperty"; + argument: BabelNodeFlowType; +} + +declare class BabelNodeOpaqueType extends BabelNode { + type: "OpaqueType"; + id: BabelNodeIdentifier; + typeParameters?: BabelNodeTypeParameterDeclaration; + supertype?: BabelNodeFlowType; + impltype: BabelNodeFlowType; +} + +declare class BabelNodeQualifiedTypeIdentifier extends BabelNode { + type: "QualifiedTypeIdentifier"; + id: BabelNodeIdentifier; + qualification: BabelNodeIdentifier | BabelNodeQualifiedTypeIdentifier; +} + +declare class BabelNodeStringLiteralTypeAnnotation extends BabelNode { + type: "StringLiteralTypeAnnotation"; + value: string; +} + +declare class BabelNodeStringTypeAnnotation extends BabelNode { + type: "StringTypeAnnotation"; +} + +declare class BabelNodeSymbolTypeAnnotation extends BabelNode { + type: "SymbolTypeAnnotation"; +} + +declare class BabelNodeThisTypeAnnotation extends BabelNode { + type: "ThisTypeAnnotation"; +} + +declare class BabelNodeTupleTypeAnnotation extends BabelNode { + type: "TupleTypeAnnotation"; + types: BabelNodeFlowType[]; +} + +declare class BabelNodeTypeofTypeAnnotation extends BabelNode { + type: "TypeofTypeAnnotation"; + argument: BabelNodeFlowType; +} + +declare class BabelNodeTypeAlias extends BabelNode { + type: "TypeAlias"; + id: BabelNodeIdentifier; + typeParameters?: BabelNodeTypeParameterDeclaration; + right: BabelNodeFlowType; +} + +declare class BabelNodeTypeAnnotation extends BabelNode { + type: "TypeAnnotation"; + typeAnnotation: BabelNodeFlowType; +} + +declare class BabelNodeTypeCastExpression extends BabelNode { + type: "TypeCastExpression"; + expression: BabelNodeExpression; + typeAnnotation: BabelNodeTypeAnnotation; +} + +declare class BabelNodeTypeParameter extends BabelNode { + type: "TypeParameter"; + bound?: BabelNodeTypeAnnotation; + variance?: BabelNodeVariance; + name: string; +} + +declare class BabelNodeTypeParameterDeclaration extends BabelNode { + type: "TypeParameterDeclaration"; + params: BabelNodeTypeParameter[]; +} + +declare class BabelNodeTypeParameterInstantiation extends BabelNode { + type: "TypeParameterInstantiation"; + params: BabelNodeFlowType[]; +} + +declare class BabelNodeUnionTypeAnnotation extends BabelNode { + type: "UnionTypeAnnotation"; + types: BabelNodeFlowType[]; +} + +declare class BabelNodeVariance extends BabelNode { + type: "Variance"; + kind: "minus" | "plus"; +} + +declare class BabelNodeVoidTypeAnnotation extends BabelNode { + type: "VoidTypeAnnotation"; +} + +declare class BabelNodeEnumDeclaration extends BabelNode { + type: "EnumDeclaration"; + id: BabelNodeIdentifier; + body: BabelNodeEnumBooleanBody | BabelNodeEnumNumberBody | BabelNodeEnumStringBody | BabelNodeEnumSymbolBody; +} + +declare class BabelNodeEnumBooleanBody extends BabelNode { + type: "EnumBooleanBody"; + members: BabelNodeEnumBooleanMember[]; + explicitType: boolean; + hasUnknownMembers: boolean; +} + +declare class BabelNodeEnumNumberBody extends BabelNode { + type: "EnumNumberBody"; + members: BabelNodeEnumNumberMember[]; + explicitType: boolean; + hasUnknownMembers: boolean; +} + +declare class BabelNodeEnumStringBody extends BabelNode { + type: "EnumStringBody"; + members: (BabelNodeEnumStringMember | BabelNodeEnumDefaultedMember)[]; + explicitType: boolean; + hasUnknownMembers: boolean; +} + +declare class BabelNodeEnumSymbolBody extends BabelNode { + type: "EnumSymbolBody"; + members: BabelNodeEnumDefaultedMember[]; + hasUnknownMembers: boolean; +} + +declare class BabelNodeEnumBooleanMember extends BabelNode { + type: "EnumBooleanMember"; + id: BabelNodeIdentifier; + init: BabelNodeBooleanLiteral; +} + +declare class BabelNodeEnumNumberMember extends BabelNode { + type: "EnumNumberMember"; + id: BabelNodeIdentifier; + init: BabelNodeNumericLiteral; +} + +declare class BabelNodeEnumStringMember extends BabelNode { + type: "EnumStringMember"; + id: BabelNodeIdentifier; + init: BabelNodeStringLiteral; +} + +declare class BabelNodeEnumDefaultedMember extends BabelNode { + type: "EnumDefaultedMember"; + id: BabelNodeIdentifier; +} + +declare class BabelNodeIndexedAccessType extends BabelNode { + type: "IndexedAccessType"; + objectType: BabelNodeFlowType; + indexType: BabelNodeFlowType; +} + +declare class BabelNodeOptionalIndexedAccessType extends BabelNode { + type: "OptionalIndexedAccessType"; + objectType: BabelNodeFlowType; + indexType: BabelNodeFlowType; + optional: boolean; +} + +declare class BabelNodeJSXAttribute extends BabelNode { + type: "JSXAttribute"; + name: BabelNodeJSXIdentifier | BabelNodeJSXNamespacedName; + value?: BabelNodeJSXElement | BabelNodeJSXFragment | BabelNodeStringLiteral | BabelNodeJSXExpressionContainer; +} + +declare class BabelNodeJSXClosingElement extends BabelNode { + type: "JSXClosingElement"; + name: BabelNodeJSXIdentifier | BabelNodeJSXMemberExpression | BabelNodeJSXNamespacedName; +} + +declare class BabelNodeJSXElement extends BabelNode { + type: "JSXElement"; + openingElement: BabelNodeJSXOpeningElement; + closingElement?: BabelNodeJSXClosingElement; + children: (BabelNodeJSXText | BabelNodeJSXExpressionContainer | BabelNodeJSXSpreadChild | BabelNodeJSXElement | BabelNodeJSXFragment)[]; + selfClosing?: boolean; +} + +declare class BabelNodeJSXEmptyExpression extends BabelNode { + type: "JSXEmptyExpression"; +} + +declare class BabelNodeJSXExpressionContainer extends BabelNode { + type: "JSXExpressionContainer"; + expression: BabelNodeExpression | BabelNodeJSXEmptyExpression; +} + +declare class BabelNodeJSXSpreadChild extends BabelNode { + type: "JSXSpreadChild"; + expression: BabelNodeExpression; +} + +declare class BabelNodeJSXIdentifier extends BabelNode { + type: "JSXIdentifier"; + name: string; +} + +declare class BabelNodeJSXMemberExpression extends BabelNode { + type: "JSXMemberExpression"; + object: BabelNodeJSXMemberExpression | BabelNodeJSXIdentifier; + property: BabelNodeJSXIdentifier; +} + +declare class BabelNodeJSXNamespacedName extends BabelNode { + type: "JSXNamespacedName"; + namespace: BabelNodeJSXIdentifier; + name: BabelNodeJSXIdentifier; +} + +declare class BabelNodeJSXOpeningElement extends BabelNode { + type: "JSXOpeningElement"; + name: BabelNodeJSXIdentifier | BabelNodeJSXMemberExpression | BabelNodeJSXNamespacedName; + attributes: (BabelNodeJSXAttribute | BabelNodeJSXSpreadAttribute)[]; + selfClosing?: boolean; + typeArguments?: BabelNodeTypeParameterInstantiation; + typeParameters?: BabelNodeTSTypeParameterInstantiation; +} + +declare class BabelNodeJSXSpreadAttribute extends BabelNode { + type: "JSXSpreadAttribute"; + argument: BabelNodeExpression; +} + +declare class BabelNodeJSXText extends BabelNode { + type: "JSXText"; + value: string; +} + +declare class BabelNodeJSXFragment extends BabelNode { + type: "JSXFragment"; + openingFragment: BabelNodeJSXOpeningFragment; + closingFragment: BabelNodeJSXClosingFragment; + children: (BabelNodeJSXText | BabelNodeJSXExpressionContainer | BabelNodeJSXSpreadChild | BabelNodeJSXElement | BabelNodeJSXFragment)[]; +} + +declare class BabelNodeJSXOpeningFragment extends BabelNode { + type: "JSXOpeningFragment"; +} + +declare class BabelNodeJSXClosingFragment extends BabelNode { + type: "JSXClosingFragment"; +} + +declare class BabelNodeNoop extends BabelNode { + type: "Noop"; +} + +declare class BabelNodePlaceholder extends BabelNode { + type: "Placeholder"; + expectedNode: "Identifier" | "StringLiteral" | "Expression" | "Statement" | "Declaration" | "BlockStatement" | "ClassBody" | "Pattern"; + name: BabelNodeIdentifier; + decorators?: BabelNodeDecorator[]; + optional?: boolean; + typeAnnotation?: BabelNodeTypeAnnotation | BabelNodeTSTypeAnnotation | BabelNodeNoop; +} + +declare class BabelNodeV8IntrinsicIdentifier extends BabelNode { + type: "V8IntrinsicIdentifier"; + name: string; +} + +declare class BabelNodeArgumentPlaceholder extends BabelNode { + type: "ArgumentPlaceholder"; +} + +declare class BabelNodeBindExpression extends BabelNode { + type: "BindExpression"; + object: BabelNodeExpression; + callee: BabelNodeExpression; +} + +declare class BabelNodeDecorator extends BabelNode { + type: "Decorator"; + expression: BabelNodeExpression; +} + +declare class BabelNodeDoExpression extends BabelNode { + type: "DoExpression"; + body: BabelNodeBlockStatement; + async?: boolean; +} + +declare class BabelNodeExportDefaultSpecifier extends BabelNode { + type: "ExportDefaultSpecifier"; + exported: BabelNodeIdentifier; +} + +declare class BabelNodeRecordExpression extends BabelNode { + type: "RecordExpression"; + properties: (BabelNodeObjectProperty | BabelNodeSpreadElement)[]; +} + +declare class BabelNodeTupleExpression extends BabelNode { + type: "TupleExpression"; + elements?: (BabelNodeExpression | BabelNodeSpreadElement)[]; +} + +declare class BabelNodeDecimalLiteral extends BabelNode { + type: "DecimalLiteral"; + value: string; +} + +declare class BabelNodeModuleExpression extends BabelNode { + type: "ModuleExpression"; + body: BabelNodeProgram; +} + +declare class BabelNodeTopicReference extends BabelNode { + type: "TopicReference"; +} + +declare class BabelNodePipelineTopicExpression extends BabelNode { + type: "PipelineTopicExpression"; + expression: BabelNodeExpression; +} + +declare class BabelNodePipelineBareFunction extends BabelNode { + type: "PipelineBareFunction"; + callee: BabelNodeExpression; +} + +declare class BabelNodePipelinePrimaryTopicReference extends BabelNode { + type: "PipelinePrimaryTopicReference"; +} + +declare class BabelNodeVoidPattern extends BabelNode { + type: "VoidPattern"; +} + +declare class BabelNodeTSParameterProperty extends BabelNode { + type: "TSParameterProperty"; + parameter: BabelNodeIdentifier | BabelNodeAssignmentPattern; + accessibility?: "public" | "private" | "protected"; + decorators?: BabelNodeDecorator[]; + override?: boolean; + readonly?: boolean; +} + +declare class BabelNodeTSDeclareFunction extends BabelNode { + type: "TSDeclareFunction"; + id?: BabelNodeIdentifier; + typeParameters?: BabelNodeTSTypeParameterDeclaration | BabelNodeNoop; + params: BabelNodeFunctionParameter[]; + returnType?: BabelNodeTSTypeAnnotation | BabelNodeNoop; + async?: boolean; + declare?: boolean; + generator?: boolean; +} + +declare class BabelNodeTSDeclareMethod extends BabelNode { + type: "TSDeclareMethod"; + decorators?: BabelNodeDecorator[]; + key: BabelNodeIdentifier | BabelNodeStringLiteral | BabelNodeNumericLiteral | BabelNodeBigIntLiteral | BabelNodeExpression; + typeParameters?: BabelNodeTSTypeParameterDeclaration | BabelNodeNoop; + params: (BabelNodeFunctionParameter | BabelNodeTSParameterProperty)[]; + returnType?: BabelNodeTSTypeAnnotation | BabelNodeNoop; + abstract?: boolean; + access?: "public" | "private" | "protected"; + accessibility?: "public" | "private" | "protected"; + async?: boolean; + computed?: boolean; + generator?: boolean; + kind?: "get" | "set" | "method" | "constructor"; + optional?: boolean; + override?: boolean; +} + +declare class BabelNodeTSQualifiedName extends BabelNode { + type: "TSQualifiedName"; + left: BabelNodeTSEntityName; + right: BabelNodeIdentifier; +} + +declare class BabelNodeTSCallSignatureDeclaration extends BabelNode { + type: "TSCallSignatureDeclaration"; + typeParameters?: BabelNodeTSTypeParameterDeclaration; + parameters: (BabelNodeArrayPattern | BabelNodeIdentifier | BabelNodeObjectPattern | BabelNodeRestElement)[]; + typeAnnotation?: BabelNodeTSTypeAnnotation; +} + +declare class BabelNodeTSConstructSignatureDeclaration extends BabelNode { + type: "TSConstructSignatureDeclaration"; + typeParameters?: BabelNodeTSTypeParameterDeclaration; + parameters: (BabelNodeArrayPattern | BabelNodeIdentifier | BabelNodeObjectPattern | BabelNodeRestElement)[]; + typeAnnotation?: BabelNodeTSTypeAnnotation; +} + +declare class BabelNodeTSPropertySignature extends BabelNode { + type: "TSPropertySignature"; + key: BabelNodeExpression; + typeAnnotation?: BabelNodeTSTypeAnnotation; + computed?: boolean; + kind?: "get" | "set"; + optional?: boolean; + readonly?: boolean; +} + +declare class BabelNodeTSMethodSignature extends BabelNode { + type: "TSMethodSignature"; + key: BabelNodeExpression; + typeParameters?: BabelNodeTSTypeParameterDeclaration; + parameters: (BabelNodeArrayPattern | BabelNodeIdentifier | BabelNodeObjectPattern | BabelNodeRestElement)[]; + typeAnnotation?: BabelNodeTSTypeAnnotation; + computed?: boolean; + kind: "method" | "get" | "set"; + optional?: boolean; +} + +declare class BabelNodeTSIndexSignature extends BabelNode { + type: "TSIndexSignature"; + parameters: BabelNodeIdentifier[]; + typeAnnotation?: BabelNodeTSTypeAnnotation; + readonly?: boolean; +} + +declare class BabelNodeTSAnyKeyword extends BabelNode { + type: "TSAnyKeyword"; +} + +declare class BabelNodeTSBooleanKeyword extends BabelNode { + type: "TSBooleanKeyword"; +} + +declare class BabelNodeTSBigIntKeyword extends BabelNode { + type: "TSBigIntKeyword"; +} + +declare class BabelNodeTSIntrinsicKeyword extends BabelNode { + type: "TSIntrinsicKeyword"; +} + +declare class BabelNodeTSNeverKeyword extends BabelNode { + type: "TSNeverKeyword"; +} + +declare class BabelNodeTSNullKeyword extends BabelNode { + type: "TSNullKeyword"; +} + +declare class BabelNodeTSNumberKeyword extends BabelNode { + type: "TSNumberKeyword"; +} + +declare class BabelNodeTSObjectKeyword extends BabelNode { + type: "TSObjectKeyword"; +} + +declare class BabelNodeTSStringKeyword extends BabelNode { + type: "TSStringKeyword"; +} + +declare class BabelNodeTSSymbolKeyword extends BabelNode { + type: "TSSymbolKeyword"; +} + +declare class BabelNodeTSUndefinedKeyword extends BabelNode { + type: "TSUndefinedKeyword"; +} + +declare class BabelNodeTSUnknownKeyword extends BabelNode { + type: "TSUnknownKeyword"; +} + +declare class BabelNodeTSVoidKeyword extends BabelNode { + type: "TSVoidKeyword"; +} + +declare class BabelNodeTSThisType extends BabelNode { + type: "TSThisType"; +} + +declare class BabelNodeTSFunctionType extends BabelNode { + type: "TSFunctionType"; + typeParameters?: BabelNodeTSTypeParameterDeclaration; + parameters: (BabelNodeArrayPattern | BabelNodeIdentifier | BabelNodeObjectPattern | BabelNodeRestElement)[]; + typeAnnotation?: BabelNodeTSTypeAnnotation; +} + +declare class BabelNodeTSConstructorType extends BabelNode { + type: "TSConstructorType"; + typeParameters?: BabelNodeTSTypeParameterDeclaration; + parameters: (BabelNodeArrayPattern | BabelNodeIdentifier | BabelNodeObjectPattern | BabelNodeRestElement)[]; + typeAnnotation?: BabelNodeTSTypeAnnotation; + abstract?: boolean; +} + +declare class BabelNodeTSTypeReference extends BabelNode { + type: "TSTypeReference"; + typeName: BabelNodeTSEntityName; + typeParameters?: BabelNodeTSTypeParameterInstantiation; +} + +declare class BabelNodeTSTypePredicate extends BabelNode { + type: "TSTypePredicate"; + parameterName: BabelNodeIdentifier | BabelNodeTSThisType; + typeAnnotation?: BabelNodeTSTypeAnnotation; + asserts?: boolean; +} + +declare class BabelNodeTSTypeQuery extends BabelNode { + type: "TSTypeQuery"; + exprName: BabelNodeTSEntityName | BabelNodeTSImportType; + typeParameters?: BabelNodeTSTypeParameterInstantiation; +} + +declare class BabelNodeTSTypeLiteral extends BabelNode { + type: "TSTypeLiteral"; + members: BabelNodeTSTypeElement[]; +} + +declare class BabelNodeTSArrayType extends BabelNode { + type: "TSArrayType"; + elementType: BabelNodeTSType; +} + +declare class BabelNodeTSTupleType extends BabelNode { + type: "TSTupleType"; + elementTypes: (BabelNodeTSType | BabelNodeTSNamedTupleMember)[]; +} + +declare class BabelNodeTSOptionalType extends BabelNode { + type: "TSOptionalType"; + typeAnnotation: BabelNodeTSType; +} + +declare class BabelNodeTSRestType extends BabelNode { + type: "TSRestType"; + typeAnnotation: BabelNodeTSType; +} + +declare class BabelNodeTSNamedTupleMember extends BabelNode { + type: "TSNamedTupleMember"; + label: BabelNodeIdentifier; + elementType: BabelNodeTSType; + optional?: boolean; +} + +declare class BabelNodeTSUnionType extends BabelNode { + type: "TSUnionType"; + types: BabelNodeTSType[]; +} + +declare class BabelNodeTSIntersectionType extends BabelNode { + type: "TSIntersectionType"; + types: BabelNodeTSType[]; +} + +declare class BabelNodeTSConditionalType extends BabelNode { + type: "TSConditionalType"; + checkType: BabelNodeTSType; + extendsType: BabelNodeTSType; + trueType: BabelNodeTSType; + falseType: BabelNodeTSType; +} + +declare class BabelNodeTSInferType extends BabelNode { + type: "TSInferType"; + typeParameter: BabelNodeTSTypeParameter; +} + +declare class BabelNodeTSParenthesizedType extends BabelNode { + type: "TSParenthesizedType"; + typeAnnotation: BabelNodeTSType; +} + +declare class BabelNodeTSTypeOperator extends BabelNode { + type: "TSTypeOperator"; + typeAnnotation: BabelNodeTSType; + operator?: string; +} + +declare class BabelNodeTSIndexedAccessType extends BabelNode { + type: "TSIndexedAccessType"; + objectType: BabelNodeTSType; + indexType: BabelNodeTSType; +} + +declare class BabelNodeTSMappedType extends BabelNode { + type: "TSMappedType"; + typeParameter: BabelNodeTSTypeParameter; + typeAnnotation?: BabelNodeTSType; + nameType?: BabelNodeTSType; + optional?: true | false | "+" | "-"; + readonly?: true | false | "+" | "-"; +} + +declare class BabelNodeTSTemplateLiteralType extends BabelNode { + type: "TSTemplateLiteralType"; + quasis: BabelNodeTemplateElement[]; + types: BabelNodeTSType[]; +} + +declare class BabelNodeTSLiteralType extends BabelNode { + type: "TSLiteralType"; + literal: BabelNodeNumericLiteral | BabelNodeStringLiteral | BabelNodeBooleanLiteral | BabelNodeBigIntLiteral | BabelNodeTemplateLiteral | BabelNodeUnaryExpression; +} + +declare class BabelNodeTSExpressionWithTypeArguments extends BabelNode { + type: "TSExpressionWithTypeArguments"; + expression: BabelNodeTSEntityName; + typeParameters?: BabelNodeTSTypeParameterInstantiation; +} + +declare class BabelNodeTSInterfaceDeclaration extends BabelNode { + type: "TSInterfaceDeclaration"; + id: BabelNodeIdentifier; + typeParameters?: BabelNodeTSTypeParameterDeclaration; + body: BabelNodeTSInterfaceBody; + declare?: boolean; +} + +declare class BabelNodeTSInterfaceBody extends BabelNode { + type: "TSInterfaceBody"; + body: BabelNodeTSTypeElement[]; +} + +declare class BabelNodeTSTypeAliasDeclaration extends BabelNode { + type: "TSTypeAliasDeclaration"; + id: BabelNodeIdentifier; + typeParameters?: BabelNodeTSTypeParameterDeclaration; + typeAnnotation: BabelNodeTSType; + declare?: boolean; +} + +declare class BabelNodeTSInstantiationExpression extends BabelNode { + type: "TSInstantiationExpression"; + expression: BabelNodeExpression; + typeParameters?: BabelNodeTSTypeParameterInstantiation; +} + +declare class BabelNodeTSAsExpression extends BabelNode { + type: "TSAsExpression"; + expression: BabelNodeExpression; + typeAnnotation: BabelNodeTSType; +} + +declare class BabelNodeTSSatisfiesExpression extends BabelNode { + type: "TSSatisfiesExpression"; + expression: BabelNodeExpression; + typeAnnotation: BabelNodeTSType; +} + +declare class BabelNodeTSTypeAssertion extends BabelNode { + type: "TSTypeAssertion"; + typeAnnotation: BabelNodeTSType; + expression: BabelNodeExpression; +} + +declare class BabelNodeTSEnumBody extends BabelNode { + type: "TSEnumBody"; + members: BabelNodeTSEnumMember[]; +} + +declare class BabelNodeTSEnumDeclaration extends BabelNode { + type: "TSEnumDeclaration"; + id: BabelNodeIdentifier; + members: BabelNodeTSEnumMember[]; + body?: BabelNodeTSEnumBody; + declare?: boolean; + initializer?: BabelNodeExpression; +} + +declare class BabelNodeTSEnumMember extends BabelNode { + type: "TSEnumMember"; + id: BabelNodeIdentifier | BabelNodeStringLiteral; + initializer?: BabelNodeExpression; +} + +declare class BabelNodeTSModuleDeclaration extends BabelNode { + type: "TSModuleDeclaration"; + id: BabelNodeIdentifier | BabelNodeStringLiteral; + body: BabelNodeTSModuleBlock | BabelNodeTSModuleDeclaration; + declare?: boolean; + global?: boolean; + kind: "global" | "module" | "namespace"; +} + +declare class BabelNodeTSModuleBlock extends BabelNode { + type: "TSModuleBlock"; + body: BabelNodeStatement[]; +} + +declare class BabelNodeTSImportType extends BabelNode { + type: "TSImportType"; + argument: BabelNodeStringLiteral; + qualifier?: BabelNodeTSEntityName; + typeParameters?: BabelNodeTSTypeParameterInstantiation; + options?: BabelNodeObjectExpression; +} + +declare class BabelNodeTSImportEqualsDeclaration extends BabelNode { + type: "TSImportEqualsDeclaration"; + id: BabelNodeIdentifier; + moduleReference: BabelNodeTSEntityName | BabelNodeTSExternalModuleReference; + importKind?: "type" | "value"; + isExport: boolean; +} + +declare class BabelNodeTSExternalModuleReference extends BabelNode { + type: "TSExternalModuleReference"; + expression: BabelNodeStringLiteral; +} + +declare class BabelNodeTSNonNullExpression extends BabelNode { + type: "TSNonNullExpression"; + expression: BabelNodeExpression; +} + +declare class BabelNodeTSExportAssignment extends BabelNode { + type: "TSExportAssignment"; + expression: BabelNodeExpression; +} + +declare class BabelNodeTSNamespaceExportDeclaration extends BabelNode { + type: "TSNamespaceExportDeclaration"; + id: BabelNodeIdentifier; +} + +declare class BabelNodeTSTypeAnnotation extends BabelNode { + type: "TSTypeAnnotation"; + typeAnnotation: BabelNodeTSType; +} + +declare class BabelNodeTSTypeParameterInstantiation extends BabelNode { + type: "TSTypeParameterInstantiation"; + params: BabelNodeTSType[]; +} + +declare class BabelNodeTSTypeParameterDeclaration extends BabelNode { + type: "TSTypeParameterDeclaration"; + params: BabelNodeTSTypeParameter[]; +} + +declare class BabelNodeTSTypeParameter extends BabelNode { + type: "TSTypeParameter"; + constraint?: BabelNodeTSType; + name: string; + out?: boolean; +} + +type BabelNodeStandardized = BabelNodeArrayExpression | BabelNodeAssignmentExpression | BabelNodeBinaryExpression | BabelNodeInterpreterDirective | BabelNodeDirective | BabelNodeDirectiveLiteral | BabelNodeBlockStatement | BabelNodeBreakStatement | BabelNodeCallExpression | BabelNodeCatchClause | BabelNodeConditionalExpression | BabelNodeContinueStatement | BabelNodeDebuggerStatement | BabelNodeDoWhileStatement | BabelNodeEmptyStatement | BabelNodeExpressionStatement | BabelNodeFile | BabelNodeForInStatement | BabelNodeForStatement | BabelNodeFunctionDeclaration | BabelNodeFunctionExpression | BabelNodeIdentifier | BabelNodeIfStatement | BabelNodeLabeledStatement | BabelNodeStringLiteral | BabelNodeNumericLiteral | BabelNodeNullLiteral | BabelNodeBooleanLiteral | BabelNodeRegExpLiteral | BabelNodeLogicalExpression | BabelNodeMemberExpression | BabelNodeNewExpression | BabelNodeProgram | BabelNodeObjectExpression | BabelNodeObjectMethod | BabelNodeObjectProperty | BabelNodeRestElement | BabelNodeReturnStatement | BabelNodeSequenceExpression | BabelNodeParenthesizedExpression | BabelNodeSwitchCase | BabelNodeSwitchStatement | BabelNodeThisExpression | BabelNodeThrowStatement | BabelNodeTryStatement | BabelNodeUnaryExpression | BabelNodeUpdateExpression | BabelNodeVariableDeclaration | BabelNodeVariableDeclarator | BabelNodeWhileStatement | BabelNodeWithStatement | BabelNodeAssignmentPattern | BabelNodeArrayPattern | BabelNodeArrowFunctionExpression | BabelNodeClassBody | BabelNodeClassExpression | BabelNodeClassDeclaration | BabelNodeExportAllDeclaration | BabelNodeExportDefaultDeclaration | BabelNodeExportNamedDeclaration | BabelNodeExportSpecifier | BabelNodeForOfStatement | BabelNodeImportDeclaration | BabelNodeImportDefaultSpecifier | BabelNodeImportNamespaceSpecifier | BabelNodeImportSpecifier | BabelNodeImportExpression | BabelNodeMetaProperty | BabelNodeClassMethod | BabelNodeObjectPattern | BabelNodeSpreadElement | BabelNodeSuper | BabelNodeTaggedTemplateExpression | BabelNodeTemplateElement | BabelNodeTemplateLiteral | BabelNodeYieldExpression | BabelNodeAwaitExpression | BabelNodeImport | BabelNodeBigIntLiteral | BabelNodeExportNamespaceSpecifier | BabelNodeOptionalMemberExpression | BabelNodeOptionalCallExpression | BabelNodeClassProperty | BabelNodeClassAccessorProperty | BabelNodeClassPrivateProperty | BabelNodeClassPrivateMethod | BabelNodePrivateName | BabelNodeStaticBlock | BabelNodeImportAttribute; +type BabelNodeExpression = BabelNodeArrayExpression | BabelNodeAssignmentExpression | BabelNodeBinaryExpression | BabelNodeCallExpression | BabelNodeConditionalExpression | BabelNodeFunctionExpression | BabelNodeIdentifier | BabelNodeStringLiteral | BabelNodeNumericLiteral | BabelNodeNullLiteral | BabelNodeBooleanLiteral | BabelNodeRegExpLiteral | BabelNodeLogicalExpression | BabelNodeMemberExpression | BabelNodeNewExpression | BabelNodeObjectExpression | BabelNodeSequenceExpression | BabelNodeParenthesizedExpression | BabelNodeThisExpression | BabelNodeUnaryExpression | BabelNodeUpdateExpression | BabelNodeArrowFunctionExpression | BabelNodeClassExpression | BabelNodeImportExpression | BabelNodeMetaProperty | BabelNodeSuper | BabelNodeTaggedTemplateExpression | BabelNodeTemplateLiteral | BabelNodeYieldExpression | BabelNodeAwaitExpression | BabelNodeImport | BabelNodeBigIntLiteral | BabelNodeOptionalMemberExpression | BabelNodeOptionalCallExpression | BabelNodeTypeCastExpression | BabelNodeJSXElement | BabelNodeJSXFragment | BabelNodeBindExpression | BabelNodeDoExpression | BabelNodeRecordExpression | BabelNodeTupleExpression | BabelNodeDecimalLiteral | BabelNodeModuleExpression | BabelNodeTopicReference | BabelNodePipelineTopicExpression | BabelNodePipelineBareFunction | BabelNodePipelinePrimaryTopicReference | BabelNodeTSInstantiationExpression | BabelNodeTSAsExpression | BabelNodeTSSatisfiesExpression | BabelNodeTSTypeAssertion | BabelNodeTSNonNullExpression; +type BabelNodeBinary = BabelNodeBinaryExpression | BabelNodeLogicalExpression; +type BabelNodeScopable = BabelNodeBlockStatement | BabelNodeCatchClause | BabelNodeDoWhileStatement | BabelNodeForInStatement | BabelNodeForStatement | BabelNodeFunctionDeclaration | BabelNodeFunctionExpression | BabelNodeProgram | BabelNodeObjectMethod | BabelNodeSwitchStatement | BabelNodeWhileStatement | BabelNodeArrowFunctionExpression | BabelNodeClassExpression | BabelNodeClassDeclaration | BabelNodeForOfStatement | BabelNodeClassMethod | BabelNodeClassPrivateMethod | BabelNodeStaticBlock | BabelNodeTSModuleBlock; +type BabelNodeBlockParent = BabelNodeBlockStatement | BabelNodeCatchClause | BabelNodeDoWhileStatement | BabelNodeForInStatement | BabelNodeForStatement | BabelNodeFunctionDeclaration | BabelNodeFunctionExpression | BabelNodeProgram | BabelNodeObjectMethod | BabelNodeSwitchStatement | BabelNodeWhileStatement | BabelNodeArrowFunctionExpression | BabelNodeForOfStatement | BabelNodeClassMethod | BabelNodeClassPrivateMethod | BabelNodeStaticBlock | BabelNodeTSModuleBlock; +type BabelNodeBlock = BabelNodeBlockStatement | BabelNodeProgram | BabelNodeTSModuleBlock; +type BabelNodeStatement = BabelNodeBlockStatement | BabelNodeBreakStatement | BabelNodeContinueStatement | BabelNodeDebuggerStatement | BabelNodeDoWhileStatement | BabelNodeEmptyStatement | BabelNodeExpressionStatement | BabelNodeForInStatement | BabelNodeForStatement | BabelNodeFunctionDeclaration | BabelNodeIfStatement | BabelNodeLabeledStatement | BabelNodeReturnStatement | BabelNodeSwitchStatement | BabelNodeThrowStatement | BabelNodeTryStatement | BabelNodeVariableDeclaration | BabelNodeWhileStatement | BabelNodeWithStatement | BabelNodeClassDeclaration | BabelNodeExportAllDeclaration | BabelNodeExportDefaultDeclaration | BabelNodeExportNamedDeclaration | BabelNodeForOfStatement | BabelNodeImportDeclaration | BabelNodeDeclareClass | BabelNodeDeclareFunction | BabelNodeDeclareInterface | BabelNodeDeclareModule | BabelNodeDeclareModuleExports | BabelNodeDeclareTypeAlias | BabelNodeDeclareOpaqueType | BabelNodeDeclareVariable | BabelNodeDeclareExportDeclaration | BabelNodeDeclareExportAllDeclaration | BabelNodeInterfaceDeclaration | BabelNodeOpaqueType | BabelNodeTypeAlias | BabelNodeEnumDeclaration | BabelNodeTSDeclareFunction | BabelNodeTSInterfaceDeclaration | BabelNodeTSTypeAliasDeclaration | BabelNodeTSEnumDeclaration | BabelNodeTSModuleDeclaration | BabelNodeTSImportEqualsDeclaration | BabelNodeTSExportAssignment | BabelNodeTSNamespaceExportDeclaration; +type BabelNodeTerminatorless = BabelNodeBreakStatement | BabelNodeContinueStatement | BabelNodeReturnStatement | BabelNodeThrowStatement | BabelNodeYieldExpression | BabelNodeAwaitExpression; +type BabelNodeCompletionStatement = BabelNodeBreakStatement | BabelNodeContinueStatement | BabelNodeReturnStatement | BabelNodeThrowStatement; +type BabelNodeConditional = BabelNodeConditionalExpression | BabelNodeIfStatement; +type BabelNodeLoop = BabelNodeDoWhileStatement | BabelNodeForInStatement | BabelNodeForStatement | BabelNodeWhileStatement | BabelNodeForOfStatement; +type BabelNodeWhile = BabelNodeDoWhileStatement | BabelNodeWhileStatement; +type BabelNodeExpressionWrapper = BabelNodeExpressionStatement | BabelNodeParenthesizedExpression | BabelNodeTypeCastExpression; +type BabelNodeFor = BabelNodeForInStatement | BabelNodeForStatement | BabelNodeForOfStatement; +type BabelNodeForXStatement = BabelNodeForInStatement | BabelNodeForOfStatement; +type BabelNodeFunction = BabelNodeFunctionDeclaration | BabelNodeFunctionExpression | BabelNodeObjectMethod | BabelNodeArrowFunctionExpression | BabelNodeClassMethod | BabelNodeClassPrivateMethod; +type BabelNodeFunctionParent = BabelNodeFunctionDeclaration | BabelNodeFunctionExpression | BabelNodeObjectMethod | BabelNodeArrowFunctionExpression | BabelNodeClassMethod | BabelNodeClassPrivateMethod | BabelNodeStaticBlock | BabelNodeTSModuleBlock; +type BabelNodePureish = BabelNodeFunctionDeclaration | BabelNodeFunctionExpression | BabelNodeStringLiteral | BabelNodeNumericLiteral | BabelNodeNullLiteral | BabelNodeBooleanLiteral | BabelNodeRegExpLiteral | BabelNodeArrowFunctionExpression | BabelNodeBigIntLiteral | BabelNodeDecimalLiteral; +type BabelNodeDeclaration = BabelNodeFunctionDeclaration | BabelNodeVariableDeclaration | BabelNodeClassDeclaration | BabelNodeExportAllDeclaration | BabelNodeExportDefaultDeclaration | BabelNodeExportNamedDeclaration | BabelNodeImportDeclaration | BabelNodeDeclareClass | BabelNodeDeclareFunction | BabelNodeDeclareInterface | BabelNodeDeclareModule | BabelNodeDeclareModuleExports | BabelNodeDeclareTypeAlias | BabelNodeDeclareOpaqueType | BabelNodeDeclareVariable | BabelNodeDeclareExportDeclaration | BabelNodeDeclareExportAllDeclaration | BabelNodeInterfaceDeclaration | BabelNodeOpaqueType | BabelNodeTypeAlias | BabelNodeEnumDeclaration | BabelNodeTSDeclareFunction | BabelNodeTSInterfaceDeclaration | BabelNodeTSTypeAliasDeclaration | BabelNodeTSEnumDeclaration | BabelNodeTSModuleDeclaration | BabelNodeTSImportEqualsDeclaration; +type BabelNodeFunctionParameter = BabelNodeIdentifier | BabelNodeRestElement | BabelNodeAssignmentPattern | BabelNodeArrayPattern | BabelNodeObjectPattern | BabelNodeVoidPattern; +type BabelNodePatternLike = BabelNodeIdentifier | BabelNodeMemberExpression | BabelNodeRestElement | BabelNodeAssignmentPattern | BabelNodeArrayPattern | BabelNodeObjectPattern | BabelNodeVoidPattern | BabelNodeTSAsExpression | BabelNodeTSSatisfiesExpression | BabelNodeTSTypeAssertion | BabelNodeTSNonNullExpression; +type BabelNodeLVal = BabelNodeIdentifier | BabelNodeMemberExpression | BabelNodeRestElement | BabelNodeAssignmentPattern | BabelNodeArrayPattern | BabelNodeObjectPattern | BabelNodeTSParameterProperty | BabelNodeTSAsExpression | BabelNodeTSSatisfiesExpression | BabelNodeTSTypeAssertion | BabelNodeTSNonNullExpression; +type BabelNodeTSEntityName = BabelNodeIdentifier | BabelNodeTSQualifiedName; +type BabelNodeLiteral = BabelNodeStringLiteral | BabelNodeNumericLiteral | BabelNodeNullLiteral | BabelNodeBooleanLiteral | BabelNodeRegExpLiteral | BabelNodeTemplateLiteral | BabelNodeBigIntLiteral | BabelNodeDecimalLiteral; +type BabelNodeImmutable = BabelNodeStringLiteral | BabelNodeNumericLiteral | BabelNodeNullLiteral | BabelNodeBooleanLiteral | BabelNodeBigIntLiteral | BabelNodeJSXAttribute | BabelNodeJSXClosingElement | BabelNodeJSXElement | BabelNodeJSXExpressionContainer | BabelNodeJSXSpreadChild | BabelNodeJSXOpeningElement | BabelNodeJSXText | BabelNodeJSXFragment | BabelNodeJSXOpeningFragment | BabelNodeJSXClosingFragment | BabelNodeDecimalLiteral; +type BabelNodeUserWhitespacable = BabelNodeObjectMethod | BabelNodeObjectProperty | BabelNodeObjectTypeInternalSlot | BabelNodeObjectTypeCallProperty | BabelNodeObjectTypeIndexer | BabelNodeObjectTypeProperty | BabelNodeObjectTypeSpreadProperty; +type BabelNodeMethod = BabelNodeObjectMethod | BabelNodeClassMethod | BabelNodeClassPrivateMethod; +type BabelNodeObjectMember = BabelNodeObjectMethod | BabelNodeObjectProperty; +type BabelNodeProperty = BabelNodeObjectProperty | BabelNodeClassProperty | BabelNodeClassAccessorProperty | BabelNodeClassPrivateProperty; +type BabelNodeUnaryLike = BabelNodeUnaryExpression | BabelNodeSpreadElement; +type BabelNodePattern = BabelNodeAssignmentPattern | BabelNodeArrayPattern | BabelNodeObjectPattern | BabelNodeVoidPattern; +type BabelNodeClass = BabelNodeClassExpression | BabelNodeClassDeclaration; +type BabelNodeImportOrExportDeclaration = BabelNodeExportAllDeclaration | BabelNodeExportDefaultDeclaration | BabelNodeExportNamedDeclaration | BabelNodeImportDeclaration; +type BabelNodeExportDeclaration = BabelNodeExportAllDeclaration | BabelNodeExportDefaultDeclaration | BabelNodeExportNamedDeclaration; +type BabelNodeModuleSpecifier = BabelNodeExportSpecifier | BabelNodeImportDefaultSpecifier | BabelNodeImportNamespaceSpecifier | BabelNodeImportSpecifier | BabelNodeExportNamespaceSpecifier | BabelNodeExportDefaultSpecifier; +type BabelNodeAccessor = BabelNodeClassAccessorProperty; +type BabelNodePrivate = BabelNodeClassPrivateProperty | BabelNodeClassPrivateMethod | BabelNodePrivateName; +type BabelNodeFlow = BabelNodeAnyTypeAnnotation | BabelNodeArrayTypeAnnotation | BabelNodeBooleanTypeAnnotation | BabelNodeBooleanLiteralTypeAnnotation | BabelNodeNullLiteralTypeAnnotation | BabelNodeClassImplements | BabelNodeDeclareClass | BabelNodeDeclareFunction | BabelNodeDeclareInterface | BabelNodeDeclareModule | BabelNodeDeclareModuleExports | BabelNodeDeclareTypeAlias | BabelNodeDeclareOpaqueType | BabelNodeDeclareVariable | BabelNodeDeclareExportDeclaration | BabelNodeDeclareExportAllDeclaration | BabelNodeDeclaredPredicate | BabelNodeExistsTypeAnnotation | BabelNodeFunctionTypeAnnotation | BabelNodeFunctionTypeParam | BabelNodeGenericTypeAnnotation | BabelNodeInferredPredicate | BabelNodeInterfaceExtends | BabelNodeInterfaceDeclaration | BabelNodeInterfaceTypeAnnotation | BabelNodeIntersectionTypeAnnotation | BabelNodeMixedTypeAnnotation | BabelNodeEmptyTypeAnnotation | BabelNodeNullableTypeAnnotation | BabelNodeNumberLiteralTypeAnnotation | BabelNodeNumberTypeAnnotation | BabelNodeObjectTypeAnnotation | BabelNodeObjectTypeInternalSlot | BabelNodeObjectTypeCallProperty | BabelNodeObjectTypeIndexer | BabelNodeObjectTypeProperty | BabelNodeObjectTypeSpreadProperty | BabelNodeOpaqueType | BabelNodeQualifiedTypeIdentifier | BabelNodeStringLiteralTypeAnnotation | BabelNodeStringTypeAnnotation | BabelNodeSymbolTypeAnnotation | BabelNodeThisTypeAnnotation | BabelNodeTupleTypeAnnotation | BabelNodeTypeofTypeAnnotation | BabelNodeTypeAlias | BabelNodeTypeAnnotation | BabelNodeTypeCastExpression | BabelNodeTypeParameter | BabelNodeTypeParameterDeclaration | BabelNodeTypeParameterInstantiation | BabelNodeUnionTypeAnnotation | BabelNodeVariance | BabelNodeVoidTypeAnnotation | BabelNodeEnumDeclaration | BabelNodeEnumBooleanBody | BabelNodeEnumNumberBody | BabelNodeEnumStringBody | BabelNodeEnumSymbolBody | BabelNodeEnumBooleanMember | BabelNodeEnumNumberMember | BabelNodeEnumStringMember | BabelNodeEnumDefaultedMember | BabelNodeIndexedAccessType | BabelNodeOptionalIndexedAccessType; +type BabelNodeFlowType = BabelNodeAnyTypeAnnotation | BabelNodeArrayTypeAnnotation | BabelNodeBooleanTypeAnnotation | BabelNodeBooleanLiteralTypeAnnotation | BabelNodeNullLiteralTypeAnnotation | BabelNodeExistsTypeAnnotation | BabelNodeFunctionTypeAnnotation | BabelNodeGenericTypeAnnotation | BabelNodeInterfaceTypeAnnotation | BabelNodeIntersectionTypeAnnotation | BabelNodeMixedTypeAnnotation | BabelNodeEmptyTypeAnnotation | BabelNodeNullableTypeAnnotation | BabelNodeNumberLiteralTypeAnnotation | BabelNodeNumberTypeAnnotation | BabelNodeObjectTypeAnnotation | BabelNodeStringLiteralTypeAnnotation | BabelNodeStringTypeAnnotation | BabelNodeSymbolTypeAnnotation | BabelNodeThisTypeAnnotation | BabelNodeTupleTypeAnnotation | BabelNodeTypeofTypeAnnotation | BabelNodeUnionTypeAnnotation | BabelNodeVoidTypeAnnotation | BabelNodeIndexedAccessType | BabelNodeOptionalIndexedAccessType; +type BabelNodeFlowBaseAnnotation = BabelNodeAnyTypeAnnotation | BabelNodeBooleanTypeAnnotation | BabelNodeNullLiteralTypeAnnotation | BabelNodeMixedTypeAnnotation | BabelNodeEmptyTypeAnnotation | BabelNodeNumberTypeAnnotation | BabelNodeStringTypeAnnotation | BabelNodeSymbolTypeAnnotation | BabelNodeThisTypeAnnotation | BabelNodeVoidTypeAnnotation; +type BabelNodeFlowDeclaration = BabelNodeDeclareClass | BabelNodeDeclareFunction | BabelNodeDeclareInterface | BabelNodeDeclareModule | BabelNodeDeclareModuleExports | BabelNodeDeclareTypeAlias | BabelNodeDeclareOpaqueType | BabelNodeDeclareVariable | BabelNodeDeclareExportDeclaration | BabelNodeDeclareExportAllDeclaration | BabelNodeInterfaceDeclaration | BabelNodeOpaqueType | BabelNodeTypeAlias; +type BabelNodeFlowPredicate = BabelNodeDeclaredPredicate | BabelNodeInferredPredicate; +type BabelNodeEnumBody = BabelNodeEnumBooleanBody | BabelNodeEnumNumberBody | BabelNodeEnumStringBody | BabelNodeEnumSymbolBody; +type BabelNodeEnumMember = BabelNodeEnumBooleanMember | BabelNodeEnumNumberMember | BabelNodeEnumStringMember | BabelNodeEnumDefaultedMember; +type BabelNodeJSX = BabelNodeJSXAttribute | BabelNodeJSXClosingElement | BabelNodeJSXElement | BabelNodeJSXEmptyExpression | BabelNodeJSXExpressionContainer | BabelNodeJSXSpreadChild | BabelNodeJSXIdentifier | BabelNodeJSXMemberExpression | BabelNodeJSXNamespacedName | BabelNodeJSXOpeningElement | BabelNodeJSXSpreadAttribute | BabelNodeJSXText | BabelNodeJSXFragment | BabelNodeJSXOpeningFragment | BabelNodeJSXClosingFragment; +type BabelNodeMiscellaneous = BabelNodeNoop | BabelNodePlaceholder | BabelNodeV8IntrinsicIdentifier; +type BabelNodeTypeScript = BabelNodeTSParameterProperty | BabelNodeTSDeclareFunction | BabelNodeTSDeclareMethod | BabelNodeTSQualifiedName | BabelNodeTSCallSignatureDeclaration | BabelNodeTSConstructSignatureDeclaration | BabelNodeTSPropertySignature | BabelNodeTSMethodSignature | BabelNodeTSIndexSignature | BabelNodeTSAnyKeyword | BabelNodeTSBooleanKeyword | BabelNodeTSBigIntKeyword | BabelNodeTSIntrinsicKeyword | BabelNodeTSNeverKeyword | BabelNodeTSNullKeyword | BabelNodeTSNumberKeyword | BabelNodeTSObjectKeyword | BabelNodeTSStringKeyword | BabelNodeTSSymbolKeyword | BabelNodeTSUndefinedKeyword | BabelNodeTSUnknownKeyword | BabelNodeTSVoidKeyword | BabelNodeTSThisType | BabelNodeTSFunctionType | BabelNodeTSConstructorType | BabelNodeTSTypeReference | BabelNodeTSTypePredicate | BabelNodeTSTypeQuery | BabelNodeTSTypeLiteral | BabelNodeTSArrayType | BabelNodeTSTupleType | BabelNodeTSOptionalType | BabelNodeTSRestType | BabelNodeTSNamedTupleMember | BabelNodeTSUnionType | BabelNodeTSIntersectionType | BabelNodeTSConditionalType | BabelNodeTSInferType | BabelNodeTSParenthesizedType | BabelNodeTSTypeOperator | BabelNodeTSIndexedAccessType | BabelNodeTSMappedType | BabelNodeTSTemplateLiteralType | BabelNodeTSLiteralType | BabelNodeTSExpressionWithTypeArguments | BabelNodeTSInterfaceDeclaration | BabelNodeTSInterfaceBody | BabelNodeTSTypeAliasDeclaration | BabelNodeTSInstantiationExpression | BabelNodeTSAsExpression | BabelNodeTSSatisfiesExpression | BabelNodeTSTypeAssertion | BabelNodeTSEnumBody | BabelNodeTSEnumDeclaration | BabelNodeTSEnumMember | BabelNodeTSModuleDeclaration | BabelNodeTSModuleBlock | BabelNodeTSImportType | BabelNodeTSImportEqualsDeclaration | BabelNodeTSExternalModuleReference | BabelNodeTSNonNullExpression | BabelNodeTSExportAssignment | BabelNodeTSNamespaceExportDeclaration | BabelNodeTSTypeAnnotation | BabelNodeTSTypeParameterInstantiation | BabelNodeTSTypeParameterDeclaration | BabelNodeTSTypeParameter; +type BabelNodeTSTypeElement = BabelNodeTSCallSignatureDeclaration | BabelNodeTSConstructSignatureDeclaration | BabelNodeTSPropertySignature | BabelNodeTSMethodSignature | BabelNodeTSIndexSignature; +type BabelNodeTSType = BabelNodeTSAnyKeyword | BabelNodeTSBooleanKeyword | BabelNodeTSBigIntKeyword | BabelNodeTSIntrinsicKeyword | BabelNodeTSNeverKeyword | BabelNodeTSNullKeyword | BabelNodeTSNumberKeyword | BabelNodeTSObjectKeyword | BabelNodeTSStringKeyword | BabelNodeTSSymbolKeyword | BabelNodeTSUndefinedKeyword | BabelNodeTSUnknownKeyword | BabelNodeTSVoidKeyword | BabelNodeTSThisType | BabelNodeTSFunctionType | BabelNodeTSConstructorType | BabelNodeTSTypeReference | BabelNodeTSTypePredicate | BabelNodeTSTypeQuery | BabelNodeTSTypeLiteral | BabelNodeTSArrayType | BabelNodeTSTupleType | BabelNodeTSOptionalType | BabelNodeTSRestType | BabelNodeTSUnionType | BabelNodeTSIntersectionType | BabelNodeTSConditionalType | BabelNodeTSInferType | BabelNodeTSParenthesizedType | BabelNodeTSTypeOperator | BabelNodeTSIndexedAccessType | BabelNodeTSMappedType | BabelNodeTSTemplateLiteralType | BabelNodeTSLiteralType | BabelNodeTSExpressionWithTypeArguments | BabelNodeTSImportType; +type BabelNodeTSBaseType = BabelNodeTSAnyKeyword | BabelNodeTSBooleanKeyword | BabelNodeTSBigIntKeyword | BabelNodeTSIntrinsicKeyword | BabelNodeTSNeverKeyword | BabelNodeTSNullKeyword | BabelNodeTSNumberKeyword | BabelNodeTSObjectKeyword | BabelNodeTSStringKeyword | BabelNodeTSSymbolKeyword | BabelNodeTSUndefinedKeyword | BabelNodeTSUnknownKeyword | BabelNodeTSVoidKeyword | BabelNodeTSThisType | BabelNodeTSTemplateLiteralType | BabelNodeTSLiteralType; +type BabelNodeModuleDeclaration = BabelNodeExportAllDeclaration | BabelNodeExportDefaultDeclaration | BabelNodeExportNamedDeclaration | BabelNodeImportDeclaration; + +declare module "@babel/types" { + declare export function arrayExpression(elements?: (null | BabelNodeExpression | BabelNodeSpreadElement)[]): BabelNodeArrayExpression; + declare export function assignmentExpression(operator: string, left: BabelNodeLVal | BabelNodeOptionalMemberExpression, right: BabelNodeExpression): BabelNodeAssignmentExpression; + declare export function binaryExpression(operator: "+" | "-" | "/" | "%" | "*" | "**" | "&" | "|" | ">>" | ">>>" | "<<" | "^" | "==" | "===" | "!=" | "!==" | "in" | "instanceof" | ">" | "<" | ">=" | "<=" | "|>", left: BabelNodeExpression | BabelNodePrivateName, right: BabelNodeExpression): BabelNodeBinaryExpression; + declare export function interpreterDirective(value: string): BabelNodeInterpreterDirective; + declare export function directive(value: BabelNodeDirectiveLiteral): BabelNodeDirective; + declare export function directiveLiteral(value: string): BabelNodeDirectiveLiteral; + declare export function blockStatement(body: BabelNodeStatement[], directives?: BabelNodeDirective[]): BabelNodeBlockStatement; + declare export function breakStatement(label?: BabelNodeIdentifier): BabelNodeBreakStatement; + declare export function callExpression(callee: BabelNodeExpression | BabelNodeSuper | BabelNodeV8IntrinsicIdentifier, _arguments: (BabelNodeExpression | BabelNodeSpreadElement | BabelNodeArgumentPlaceholder)[]): BabelNodeCallExpression; + declare export function catchClause(param?: BabelNodeIdentifier | BabelNodeArrayPattern | BabelNodeObjectPattern, body: BabelNodeBlockStatement): BabelNodeCatchClause; + declare export function conditionalExpression(test: BabelNodeExpression, consequent: BabelNodeExpression, alternate: BabelNodeExpression): BabelNodeConditionalExpression; + declare export function continueStatement(label?: BabelNodeIdentifier): BabelNodeContinueStatement; + declare export function debuggerStatement(): BabelNodeDebuggerStatement; + declare export function doWhileStatement(test: BabelNodeExpression, body: BabelNodeStatement): BabelNodeDoWhileStatement; + declare export function emptyStatement(): BabelNodeEmptyStatement; + declare export function expressionStatement(expression: BabelNodeExpression): BabelNodeExpressionStatement; + declare export function file(program: BabelNodeProgram, comments?: (BabelNodeCommentBlock | BabelNodeCommentLine)[], tokens?: any[]): BabelNodeFile; + declare export function forInStatement(left: BabelNodeVariableDeclaration | BabelNodeLVal, right: BabelNodeExpression, body: BabelNodeStatement): BabelNodeForInStatement; + declare export function forStatement(init?: BabelNodeVariableDeclaration | BabelNodeExpression, test?: BabelNodeExpression, update?: BabelNodeExpression, body: BabelNodeStatement): BabelNodeForStatement; + declare export function functionDeclaration(id?: BabelNodeIdentifier, params: BabelNodeFunctionParameter[], body: BabelNodeBlockStatement, generator?: boolean, async?: boolean): BabelNodeFunctionDeclaration; + declare export function functionExpression(id?: BabelNodeIdentifier, params: BabelNodeFunctionParameter[], body: BabelNodeBlockStatement, generator?: boolean, async?: boolean): BabelNodeFunctionExpression; + declare export function identifier(name: string): BabelNodeIdentifier; + declare export function ifStatement(test: BabelNodeExpression, consequent: BabelNodeStatement, alternate?: BabelNodeStatement): BabelNodeIfStatement; + declare export function labeledStatement(label: BabelNodeIdentifier, body: BabelNodeStatement): BabelNodeLabeledStatement; + declare export function stringLiteral(value: string): BabelNodeStringLiteral; + declare export function numericLiteral(value: number): BabelNodeNumericLiteral; + declare export function nullLiteral(): BabelNodeNullLiteral; + declare export function booleanLiteral(value: boolean): BabelNodeBooleanLiteral; + declare export function regExpLiteral(pattern: string, flags?: string): BabelNodeRegExpLiteral; + declare export function logicalExpression(operator: "||" | "&&" | "??", left: BabelNodeExpression, right: BabelNodeExpression): BabelNodeLogicalExpression; + declare export function memberExpression(object: BabelNodeExpression | BabelNodeSuper, property: BabelNodeExpression | BabelNodeIdentifier | BabelNodePrivateName, computed?: boolean, optional?: boolean): BabelNodeMemberExpression; + declare export function newExpression(callee: BabelNodeExpression | BabelNodeSuper | BabelNodeV8IntrinsicIdentifier, _arguments: (BabelNodeExpression | BabelNodeSpreadElement | BabelNodeArgumentPlaceholder)[]): BabelNodeNewExpression; + declare export function program(body: BabelNodeStatement[], directives?: BabelNodeDirective[], sourceType?: "script" | "module", interpreter?: BabelNodeInterpreterDirective): BabelNodeProgram; + declare export function objectExpression(properties: (BabelNodeObjectMethod | BabelNodeObjectProperty | BabelNodeSpreadElement)[]): BabelNodeObjectExpression; + declare export function objectMethod(kind?: "method" | "get" | "set", key: BabelNodeExpression | BabelNodeIdentifier | BabelNodeStringLiteral | BabelNodeNumericLiteral | BabelNodeBigIntLiteral, params: BabelNodeFunctionParameter[], body: BabelNodeBlockStatement, computed?: boolean, generator?: boolean, async?: boolean): BabelNodeObjectMethod; + declare export function objectProperty(key: BabelNodeExpression | BabelNodeIdentifier | BabelNodeStringLiteral | BabelNodeNumericLiteral | BabelNodeBigIntLiteral | BabelNodeDecimalLiteral | BabelNodePrivateName, value: BabelNodeExpression | BabelNodePatternLike, computed?: boolean, shorthand?: boolean, decorators?: BabelNodeDecorator[]): BabelNodeObjectProperty; + declare export function restElement(argument: BabelNodeIdentifier | BabelNodeArrayPattern | BabelNodeObjectPattern | BabelNodeMemberExpression | BabelNodeTSAsExpression | BabelNodeTSSatisfiesExpression | BabelNodeTSTypeAssertion | BabelNodeTSNonNullExpression | BabelNodeRestElement | BabelNodeAssignmentPattern): BabelNodeRestElement; + declare export function returnStatement(argument?: BabelNodeExpression): BabelNodeReturnStatement; + declare export function sequenceExpression(expressions: BabelNodeExpression[]): BabelNodeSequenceExpression; + declare export function parenthesizedExpression(expression: BabelNodeExpression): BabelNodeParenthesizedExpression; + declare export function switchCase(test?: BabelNodeExpression, consequent: BabelNodeStatement[]): BabelNodeSwitchCase; + declare export function switchStatement(discriminant: BabelNodeExpression, cases: BabelNodeSwitchCase[]): BabelNodeSwitchStatement; + declare export function thisExpression(): BabelNodeThisExpression; + declare export function throwStatement(argument: BabelNodeExpression): BabelNodeThrowStatement; + declare export function tryStatement(block: BabelNodeBlockStatement, handler?: BabelNodeCatchClause, finalizer?: BabelNodeBlockStatement): BabelNodeTryStatement; + declare export function unaryExpression(operator: "void" | "throw" | "delete" | "!" | "+" | "-" | "~" | "typeof", argument: BabelNodeExpression, prefix?: boolean): BabelNodeUnaryExpression; + declare export function updateExpression(operator: "++" | "--", argument: BabelNodeExpression, prefix?: boolean): BabelNodeUpdateExpression; + declare export function variableDeclaration(kind: "var" | "let" | "const" | "using" | "await using", declarations: BabelNodeVariableDeclarator[]): BabelNodeVariableDeclaration; + declare export function variableDeclarator(id: BabelNodeLVal | BabelNodeVoidPattern, init?: BabelNodeExpression): BabelNodeVariableDeclarator; + declare export function whileStatement(test: BabelNodeExpression, body: BabelNodeStatement): BabelNodeWhileStatement; + declare export function withStatement(object: BabelNodeExpression, body: BabelNodeStatement): BabelNodeWithStatement; + declare export function assignmentPattern(left: BabelNodeIdentifier | BabelNodeObjectPattern | BabelNodeArrayPattern | BabelNodeMemberExpression | BabelNodeTSAsExpression | BabelNodeTSSatisfiesExpression | BabelNodeTSTypeAssertion | BabelNodeTSNonNullExpression, right: BabelNodeExpression): BabelNodeAssignmentPattern; + declare export function arrayPattern(elements: (null | BabelNodePatternLike)[]): BabelNodeArrayPattern; + declare export function arrowFunctionExpression(params: BabelNodeFunctionParameter[], body: BabelNodeBlockStatement | BabelNodeExpression, async?: boolean): BabelNodeArrowFunctionExpression; + declare export function classBody(body: (BabelNodeClassMethod | BabelNodeClassPrivateMethod | BabelNodeClassProperty | BabelNodeClassPrivateProperty | BabelNodeClassAccessorProperty | BabelNodeTSDeclareMethod | BabelNodeTSIndexSignature | BabelNodeStaticBlock)[]): BabelNodeClassBody; + declare export function classExpression(id?: BabelNodeIdentifier, superClass?: BabelNodeExpression, body: BabelNodeClassBody, decorators?: BabelNodeDecorator[]): BabelNodeClassExpression; + declare export function classDeclaration(id?: BabelNodeIdentifier, superClass?: BabelNodeExpression, body: BabelNodeClassBody, decorators?: BabelNodeDecorator[]): BabelNodeClassDeclaration; + declare export function exportAllDeclaration(source: BabelNodeStringLiteral, attributes?: BabelNodeImportAttribute[]): BabelNodeExportAllDeclaration; + declare export function exportDefaultDeclaration(declaration: BabelNodeTSDeclareFunction | BabelNodeFunctionDeclaration | BabelNodeClassDeclaration | BabelNodeExpression): BabelNodeExportDefaultDeclaration; + declare export function exportNamedDeclaration(declaration?: BabelNodeDeclaration, specifiers?: (BabelNodeExportSpecifier | BabelNodeExportDefaultSpecifier | BabelNodeExportNamespaceSpecifier)[], source?: BabelNodeStringLiteral, attributes?: BabelNodeImportAttribute[]): BabelNodeExportNamedDeclaration; + declare export function exportSpecifier(local: BabelNodeIdentifier, exported: BabelNodeIdentifier | BabelNodeStringLiteral): BabelNodeExportSpecifier; + declare export function forOfStatement(left: BabelNodeVariableDeclaration | BabelNodeLVal, right: BabelNodeExpression, body: BabelNodeStatement, _await?: boolean): BabelNodeForOfStatement; + declare export function importDeclaration(specifiers: (BabelNodeImportSpecifier | BabelNodeImportDefaultSpecifier | BabelNodeImportNamespaceSpecifier)[], source: BabelNodeStringLiteral, attributes?: BabelNodeImportAttribute[]): BabelNodeImportDeclaration; + declare export function importDefaultSpecifier(local: BabelNodeIdentifier): BabelNodeImportDefaultSpecifier; + declare export function importNamespaceSpecifier(local: BabelNodeIdentifier): BabelNodeImportNamespaceSpecifier; + declare export function importSpecifier(local: BabelNodeIdentifier, imported: BabelNodeIdentifier | BabelNodeStringLiteral): BabelNodeImportSpecifier; + declare export function importExpression(source: BabelNodeExpression, options?: BabelNodeExpression): BabelNodeImportExpression; + declare export function metaProperty(meta: BabelNodeIdentifier, property: BabelNodeIdentifier): BabelNodeMetaProperty; + declare export function classMethod(kind?: "get" | "set" | "method" | "constructor", key: BabelNodeIdentifier | BabelNodeStringLiteral | BabelNodeNumericLiteral | BabelNodeBigIntLiteral | BabelNodeExpression, params: (BabelNodeFunctionParameter | BabelNodeTSParameterProperty)[], body: BabelNodeBlockStatement, computed?: boolean, _static?: boolean, generator?: boolean, async?: boolean): BabelNodeClassMethod; + declare export function objectPattern(properties: (BabelNodeRestElement | BabelNodeObjectProperty)[]): BabelNodeObjectPattern; + declare export function spreadElement(argument: BabelNodeExpression): BabelNodeSpreadElement; + declare function _super(): BabelNodeSuper; + declare export { _super as super } + declare export function taggedTemplateExpression(tag: BabelNodeExpression, quasi: BabelNodeTemplateLiteral): BabelNodeTaggedTemplateExpression; + declare export function templateElement(value: { raw: string, cooked?: string }, tail?: boolean): BabelNodeTemplateElement; + declare export function templateLiteral(quasis: BabelNodeTemplateElement[], expressions: (BabelNodeExpression | BabelNodeTSType)[]): BabelNodeTemplateLiteral; + declare export function yieldExpression(argument?: BabelNodeExpression, delegate?: boolean): BabelNodeYieldExpression; + declare export function awaitExpression(argument: BabelNodeExpression): BabelNodeAwaitExpression; + declare function _import(): BabelNodeImport; + declare export { _import as import } + declare export function bigIntLiteral(value: string): BabelNodeBigIntLiteral; + declare export function exportNamespaceSpecifier(exported: BabelNodeIdentifier): BabelNodeExportNamespaceSpecifier; + declare export function optionalMemberExpression(object: BabelNodeExpression, property: BabelNodeExpression | BabelNodeIdentifier, computed?: boolean, optional: boolean): BabelNodeOptionalMemberExpression; + declare export function optionalCallExpression(callee: BabelNodeExpression, _arguments: (BabelNodeExpression | BabelNodeSpreadElement | BabelNodeArgumentPlaceholder)[], optional: boolean): BabelNodeOptionalCallExpression; + declare export function classProperty(key: BabelNodeIdentifier | BabelNodeStringLiteral | BabelNodeNumericLiteral | BabelNodeBigIntLiteral | BabelNodeExpression, value?: BabelNodeExpression, typeAnnotation?: BabelNodeTypeAnnotation | BabelNodeTSTypeAnnotation | BabelNodeNoop, decorators?: BabelNodeDecorator[], computed?: boolean, _static?: boolean): BabelNodeClassProperty; + declare export function classAccessorProperty(key: BabelNodeIdentifier | BabelNodeStringLiteral | BabelNodeNumericLiteral | BabelNodeBigIntLiteral | BabelNodeExpression | BabelNodePrivateName, value?: BabelNodeExpression, typeAnnotation?: BabelNodeTypeAnnotation | BabelNodeTSTypeAnnotation | BabelNodeNoop, decorators?: BabelNodeDecorator[], computed?: boolean, _static?: boolean): BabelNodeClassAccessorProperty; + declare export function classPrivateProperty(key: BabelNodePrivateName, value?: BabelNodeExpression, decorators?: BabelNodeDecorator[], _static?: boolean): BabelNodeClassPrivateProperty; + declare export function classPrivateMethod(kind?: "get" | "set" | "method", key: BabelNodePrivateName, params: (BabelNodeFunctionParameter | BabelNodeTSParameterProperty)[], body: BabelNodeBlockStatement, _static?: boolean): BabelNodeClassPrivateMethod; + declare export function privateName(id: BabelNodeIdentifier): BabelNodePrivateName; + declare export function staticBlock(body: BabelNodeStatement[]): BabelNodeStaticBlock; + declare export function importAttribute(key: BabelNodeIdentifier | BabelNodeStringLiteral, value: BabelNodeStringLiteral): BabelNodeImportAttribute; + declare export function anyTypeAnnotation(): BabelNodeAnyTypeAnnotation; + declare export function arrayTypeAnnotation(elementType: BabelNodeFlowType): BabelNodeArrayTypeAnnotation; + declare export function booleanTypeAnnotation(): BabelNodeBooleanTypeAnnotation; + declare export function booleanLiteralTypeAnnotation(value: boolean): BabelNodeBooleanLiteralTypeAnnotation; + declare export function nullLiteralTypeAnnotation(): BabelNodeNullLiteralTypeAnnotation; + declare export function classImplements(id: BabelNodeIdentifier, typeParameters?: BabelNodeTypeParameterInstantiation): BabelNodeClassImplements; + declare export function declareClass(id: BabelNodeIdentifier, typeParameters?: BabelNodeTypeParameterDeclaration, _extends?: BabelNodeInterfaceExtends[], body: BabelNodeObjectTypeAnnotation): BabelNodeDeclareClass; + declare export function declareFunction(id: BabelNodeIdentifier): BabelNodeDeclareFunction; + declare export function declareInterface(id: BabelNodeIdentifier, typeParameters?: BabelNodeTypeParameterDeclaration, _extends?: BabelNodeInterfaceExtends[], body: BabelNodeObjectTypeAnnotation): BabelNodeDeclareInterface; + declare export function declareModule(id: BabelNodeIdentifier | BabelNodeStringLiteral, body: BabelNodeBlockStatement, kind?: "CommonJS" | "ES"): BabelNodeDeclareModule; + declare export function declareModuleExports(typeAnnotation: BabelNodeTypeAnnotation): BabelNodeDeclareModuleExports; + declare export function declareTypeAlias(id: BabelNodeIdentifier, typeParameters?: BabelNodeTypeParameterDeclaration, right: BabelNodeFlowType): BabelNodeDeclareTypeAlias; + declare export function declareOpaqueType(id: BabelNodeIdentifier, typeParameters?: BabelNodeTypeParameterDeclaration, supertype?: BabelNodeFlowType): BabelNodeDeclareOpaqueType; + declare export function declareVariable(id: BabelNodeIdentifier): BabelNodeDeclareVariable; + declare export function declareExportDeclaration(declaration?: BabelNodeFlow, specifiers?: (BabelNodeExportSpecifier | BabelNodeExportNamespaceSpecifier)[], source?: BabelNodeStringLiteral, attributes?: BabelNodeImportAttribute[]): BabelNodeDeclareExportDeclaration; + declare export function declareExportAllDeclaration(source: BabelNodeStringLiteral, attributes?: BabelNodeImportAttribute[]): BabelNodeDeclareExportAllDeclaration; + declare export function declaredPredicate(value: BabelNodeFlow): BabelNodeDeclaredPredicate; + declare export function existsTypeAnnotation(): BabelNodeExistsTypeAnnotation; + declare export function functionTypeAnnotation(typeParameters?: BabelNodeTypeParameterDeclaration, params: BabelNodeFunctionTypeParam[], rest?: BabelNodeFunctionTypeParam, returnType: BabelNodeFlowType): BabelNodeFunctionTypeAnnotation; + declare export function functionTypeParam(name?: BabelNodeIdentifier, typeAnnotation: BabelNodeFlowType): BabelNodeFunctionTypeParam; + declare export function genericTypeAnnotation(id: BabelNodeIdentifier | BabelNodeQualifiedTypeIdentifier, typeParameters?: BabelNodeTypeParameterInstantiation): BabelNodeGenericTypeAnnotation; + declare export function inferredPredicate(): BabelNodeInferredPredicate; + declare export function interfaceExtends(id: BabelNodeIdentifier | BabelNodeQualifiedTypeIdentifier, typeParameters?: BabelNodeTypeParameterInstantiation): BabelNodeInterfaceExtends; + declare export function interfaceDeclaration(id: BabelNodeIdentifier, typeParameters?: BabelNodeTypeParameterDeclaration, _extends?: BabelNodeInterfaceExtends[], body: BabelNodeObjectTypeAnnotation): BabelNodeInterfaceDeclaration; + declare export function interfaceTypeAnnotation(_extends?: BabelNodeInterfaceExtends[], body: BabelNodeObjectTypeAnnotation): BabelNodeInterfaceTypeAnnotation; + declare export function intersectionTypeAnnotation(types: BabelNodeFlowType[]): BabelNodeIntersectionTypeAnnotation; + declare export function mixedTypeAnnotation(): BabelNodeMixedTypeAnnotation; + declare export function emptyTypeAnnotation(): BabelNodeEmptyTypeAnnotation; + declare export function nullableTypeAnnotation(typeAnnotation: BabelNodeFlowType): BabelNodeNullableTypeAnnotation; + declare export function numberLiteralTypeAnnotation(value: number): BabelNodeNumberLiteralTypeAnnotation; + declare export function numberTypeAnnotation(): BabelNodeNumberTypeAnnotation; + declare export function objectTypeAnnotation(properties: (BabelNodeObjectTypeProperty | BabelNodeObjectTypeSpreadProperty)[], indexers?: BabelNodeObjectTypeIndexer[], callProperties?: BabelNodeObjectTypeCallProperty[], internalSlots?: BabelNodeObjectTypeInternalSlot[], exact?: boolean): BabelNodeObjectTypeAnnotation; + declare export function objectTypeInternalSlot(id: BabelNodeIdentifier, value: BabelNodeFlowType, optional: boolean, _static: boolean, method: boolean): BabelNodeObjectTypeInternalSlot; + declare export function objectTypeCallProperty(value: BabelNodeFlowType): BabelNodeObjectTypeCallProperty; + declare export function objectTypeIndexer(id?: BabelNodeIdentifier, key: BabelNodeFlowType, value: BabelNodeFlowType, variance?: BabelNodeVariance): BabelNodeObjectTypeIndexer; + declare export function objectTypeProperty(key: BabelNodeIdentifier | BabelNodeStringLiteral, value: BabelNodeFlowType, variance?: BabelNodeVariance): BabelNodeObjectTypeProperty; + declare export function objectTypeSpreadProperty(argument: BabelNodeFlowType): BabelNodeObjectTypeSpreadProperty; + declare export function opaqueType(id: BabelNodeIdentifier, typeParameters?: BabelNodeTypeParameterDeclaration, supertype?: BabelNodeFlowType, impltype: BabelNodeFlowType): BabelNodeOpaqueType; + declare export function qualifiedTypeIdentifier(id: BabelNodeIdentifier, qualification: BabelNodeIdentifier | BabelNodeQualifiedTypeIdentifier): BabelNodeQualifiedTypeIdentifier; + declare export function stringLiteralTypeAnnotation(value: string): BabelNodeStringLiteralTypeAnnotation; + declare export function stringTypeAnnotation(): BabelNodeStringTypeAnnotation; + declare export function symbolTypeAnnotation(): BabelNodeSymbolTypeAnnotation; + declare export function thisTypeAnnotation(): BabelNodeThisTypeAnnotation; + declare export function tupleTypeAnnotation(types: BabelNodeFlowType[]): BabelNodeTupleTypeAnnotation; + declare export function typeofTypeAnnotation(argument: BabelNodeFlowType): BabelNodeTypeofTypeAnnotation; + declare export function typeAlias(id: BabelNodeIdentifier, typeParameters?: BabelNodeTypeParameterDeclaration, right: BabelNodeFlowType): BabelNodeTypeAlias; + declare export function typeAnnotation(typeAnnotation: BabelNodeFlowType): BabelNodeTypeAnnotation; + declare export function typeCastExpression(expression: BabelNodeExpression, typeAnnotation: BabelNodeTypeAnnotation): BabelNodeTypeCastExpression; + declare export function typeParameter(bound?: BabelNodeTypeAnnotation, _default?: BabelNodeFlowType, variance?: BabelNodeVariance): BabelNodeTypeParameter; + declare export function typeParameterDeclaration(params: BabelNodeTypeParameter[]): BabelNodeTypeParameterDeclaration; + declare export function typeParameterInstantiation(params: BabelNodeFlowType[]): BabelNodeTypeParameterInstantiation; + declare export function unionTypeAnnotation(types: BabelNodeFlowType[]): BabelNodeUnionTypeAnnotation; + declare export function variance(kind: "minus" | "plus"): BabelNodeVariance; + declare export function voidTypeAnnotation(): BabelNodeVoidTypeAnnotation; + declare export function enumDeclaration(id: BabelNodeIdentifier, body: BabelNodeEnumBooleanBody | BabelNodeEnumNumberBody | BabelNodeEnumStringBody | BabelNodeEnumSymbolBody): BabelNodeEnumDeclaration; + declare export function enumBooleanBody(members: BabelNodeEnumBooleanMember[]): BabelNodeEnumBooleanBody; + declare export function enumNumberBody(members: BabelNodeEnumNumberMember[]): BabelNodeEnumNumberBody; + declare export function enumStringBody(members: (BabelNodeEnumStringMember | BabelNodeEnumDefaultedMember)[]): BabelNodeEnumStringBody; + declare export function enumSymbolBody(members: BabelNodeEnumDefaultedMember[]): BabelNodeEnumSymbolBody; + declare export function enumBooleanMember(id: BabelNodeIdentifier): BabelNodeEnumBooleanMember; + declare export function enumNumberMember(id: BabelNodeIdentifier, init: BabelNodeNumericLiteral): BabelNodeEnumNumberMember; + declare export function enumStringMember(id: BabelNodeIdentifier, init: BabelNodeStringLiteral): BabelNodeEnumStringMember; + declare export function enumDefaultedMember(id: BabelNodeIdentifier): BabelNodeEnumDefaultedMember; + declare export function indexedAccessType(objectType: BabelNodeFlowType, indexType: BabelNodeFlowType): BabelNodeIndexedAccessType; + declare export function optionalIndexedAccessType(objectType: BabelNodeFlowType, indexType: BabelNodeFlowType): BabelNodeOptionalIndexedAccessType; + declare export function jsxAttribute(name: BabelNodeJSXIdentifier | BabelNodeJSXNamespacedName, value?: BabelNodeJSXElement | BabelNodeJSXFragment | BabelNodeStringLiteral | BabelNodeJSXExpressionContainer): BabelNodeJSXAttribute; + declare export function jsxClosingElement(name: BabelNodeJSXIdentifier | BabelNodeJSXMemberExpression | BabelNodeJSXNamespacedName): BabelNodeJSXClosingElement; + declare export function jsxElement(openingElement: BabelNodeJSXOpeningElement, closingElement?: BabelNodeJSXClosingElement, children: (BabelNodeJSXText | BabelNodeJSXExpressionContainer | BabelNodeJSXSpreadChild | BabelNodeJSXElement | BabelNodeJSXFragment)[], selfClosing?: boolean): BabelNodeJSXElement; + declare export function jsxEmptyExpression(): BabelNodeJSXEmptyExpression; + declare export function jsxExpressionContainer(expression: BabelNodeExpression | BabelNodeJSXEmptyExpression): BabelNodeJSXExpressionContainer; + declare export function jsxSpreadChild(expression: BabelNodeExpression): BabelNodeJSXSpreadChild; + declare export function jsxIdentifier(name: string): BabelNodeJSXIdentifier; + declare export function jsxMemberExpression(object: BabelNodeJSXMemberExpression | BabelNodeJSXIdentifier, property: BabelNodeJSXIdentifier): BabelNodeJSXMemberExpression; + declare export function jsxNamespacedName(namespace: BabelNodeJSXIdentifier, name: BabelNodeJSXIdentifier): BabelNodeJSXNamespacedName; + declare export function jsxOpeningElement(name: BabelNodeJSXIdentifier | BabelNodeJSXMemberExpression | BabelNodeJSXNamespacedName, attributes: (BabelNodeJSXAttribute | BabelNodeJSXSpreadAttribute)[], selfClosing?: boolean): BabelNodeJSXOpeningElement; + declare export function jsxSpreadAttribute(argument: BabelNodeExpression): BabelNodeJSXSpreadAttribute; + declare export function jsxText(value: string): BabelNodeJSXText; + declare export function jsxFragment(openingFragment: BabelNodeJSXOpeningFragment, closingFragment: BabelNodeJSXClosingFragment, children: (BabelNodeJSXText | BabelNodeJSXExpressionContainer | BabelNodeJSXSpreadChild | BabelNodeJSXElement | BabelNodeJSXFragment)[]): BabelNodeJSXFragment; + declare export function jsxOpeningFragment(): BabelNodeJSXOpeningFragment; + declare export function jsxClosingFragment(): BabelNodeJSXClosingFragment; + declare export function noop(): BabelNodeNoop; + declare export function placeholder(expectedNode: "Identifier" | "StringLiteral" | "Expression" | "Statement" | "Declaration" | "BlockStatement" | "ClassBody" | "Pattern", name: BabelNodeIdentifier): BabelNodePlaceholder; + declare export function v8IntrinsicIdentifier(name: string): BabelNodeV8IntrinsicIdentifier; + declare export function argumentPlaceholder(): BabelNodeArgumentPlaceholder; + declare export function bindExpression(object: BabelNodeExpression, callee: BabelNodeExpression): BabelNodeBindExpression; + declare export function decorator(expression: BabelNodeExpression): BabelNodeDecorator; + declare export function doExpression(body: BabelNodeBlockStatement, async?: boolean): BabelNodeDoExpression; + declare export function exportDefaultSpecifier(exported: BabelNodeIdentifier): BabelNodeExportDefaultSpecifier; + declare export function recordExpression(properties: (BabelNodeObjectProperty | BabelNodeSpreadElement)[]): BabelNodeRecordExpression; + declare export function tupleExpression(elements?: (BabelNodeExpression | BabelNodeSpreadElement)[]): BabelNodeTupleExpression; + declare export function decimalLiteral(value: string): BabelNodeDecimalLiteral; + declare export function moduleExpression(body: BabelNodeProgram): BabelNodeModuleExpression; + declare export function topicReference(): BabelNodeTopicReference; + declare export function pipelineTopicExpression(expression: BabelNodeExpression): BabelNodePipelineTopicExpression; + declare export function pipelineBareFunction(callee: BabelNodeExpression): BabelNodePipelineBareFunction; + declare export function pipelinePrimaryTopicReference(): BabelNodePipelinePrimaryTopicReference; + declare export function voidPattern(): BabelNodeVoidPattern; + declare export function tsParameterProperty(parameter: BabelNodeIdentifier | BabelNodeAssignmentPattern): BabelNodeTSParameterProperty; + declare export function tsDeclareFunction(id?: BabelNodeIdentifier, typeParameters?: BabelNodeTSTypeParameterDeclaration | BabelNodeNoop, params: BabelNodeFunctionParameter[], returnType?: BabelNodeTSTypeAnnotation | BabelNodeNoop): BabelNodeTSDeclareFunction; + declare export function tsDeclareMethod(decorators?: BabelNodeDecorator[], key: BabelNodeIdentifier | BabelNodeStringLiteral | BabelNodeNumericLiteral | BabelNodeBigIntLiteral | BabelNodeExpression, typeParameters?: BabelNodeTSTypeParameterDeclaration | BabelNodeNoop, params: (BabelNodeFunctionParameter | BabelNodeTSParameterProperty)[], returnType?: BabelNodeTSTypeAnnotation | BabelNodeNoop): BabelNodeTSDeclareMethod; + declare export function tsQualifiedName(left: BabelNodeTSEntityName, right: BabelNodeIdentifier): BabelNodeTSQualifiedName; + declare export function tsCallSignatureDeclaration(typeParameters?: BabelNodeTSTypeParameterDeclaration, parameters: (BabelNodeArrayPattern | BabelNodeIdentifier | BabelNodeObjectPattern | BabelNodeRestElement)[], typeAnnotation?: BabelNodeTSTypeAnnotation): BabelNodeTSCallSignatureDeclaration; + declare export function tsConstructSignatureDeclaration(typeParameters?: BabelNodeTSTypeParameterDeclaration, parameters: (BabelNodeArrayPattern | BabelNodeIdentifier | BabelNodeObjectPattern | BabelNodeRestElement)[], typeAnnotation?: BabelNodeTSTypeAnnotation): BabelNodeTSConstructSignatureDeclaration; + declare export function tsPropertySignature(key: BabelNodeExpression, typeAnnotation?: BabelNodeTSTypeAnnotation): BabelNodeTSPropertySignature; + declare export function tsMethodSignature(key: BabelNodeExpression, typeParameters?: BabelNodeTSTypeParameterDeclaration, parameters: (BabelNodeArrayPattern | BabelNodeIdentifier | BabelNodeObjectPattern | BabelNodeRestElement)[], typeAnnotation?: BabelNodeTSTypeAnnotation): BabelNodeTSMethodSignature; + declare export function tsIndexSignature(parameters: BabelNodeIdentifier[], typeAnnotation?: BabelNodeTSTypeAnnotation): BabelNodeTSIndexSignature; + declare export function tsAnyKeyword(): BabelNodeTSAnyKeyword; + declare export function tsBooleanKeyword(): BabelNodeTSBooleanKeyword; + declare export function tsBigIntKeyword(): BabelNodeTSBigIntKeyword; + declare export function tsIntrinsicKeyword(): BabelNodeTSIntrinsicKeyword; + declare export function tsNeverKeyword(): BabelNodeTSNeverKeyword; + declare export function tsNullKeyword(): BabelNodeTSNullKeyword; + declare export function tsNumberKeyword(): BabelNodeTSNumberKeyword; + declare export function tsObjectKeyword(): BabelNodeTSObjectKeyword; + declare export function tsStringKeyword(): BabelNodeTSStringKeyword; + declare export function tsSymbolKeyword(): BabelNodeTSSymbolKeyword; + declare export function tsUndefinedKeyword(): BabelNodeTSUndefinedKeyword; + declare export function tsUnknownKeyword(): BabelNodeTSUnknownKeyword; + declare export function tsVoidKeyword(): BabelNodeTSVoidKeyword; + declare export function tsThisType(): BabelNodeTSThisType; + declare export function tsFunctionType(typeParameters?: BabelNodeTSTypeParameterDeclaration, parameters: (BabelNodeArrayPattern | BabelNodeIdentifier | BabelNodeObjectPattern | BabelNodeRestElement)[], typeAnnotation?: BabelNodeTSTypeAnnotation): BabelNodeTSFunctionType; + declare export function tsConstructorType(typeParameters?: BabelNodeTSTypeParameterDeclaration, parameters: (BabelNodeArrayPattern | BabelNodeIdentifier | BabelNodeObjectPattern | BabelNodeRestElement)[], typeAnnotation?: BabelNodeTSTypeAnnotation): BabelNodeTSConstructorType; + declare export function tsTypeReference(typeName: BabelNodeTSEntityName, typeParameters?: BabelNodeTSTypeParameterInstantiation): BabelNodeTSTypeReference; + declare export function tsTypePredicate(parameterName: BabelNodeIdentifier | BabelNodeTSThisType, typeAnnotation?: BabelNodeTSTypeAnnotation, asserts?: boolean): BabelNodeTSTypePredicate; + declare export function tsTypeQuery(exprName: BabelNodeTSEntityName | BabelNodeTSImportType, typeParameters?: BabelNodeTSTypeParameterInstantiation): BabelNodeTSTypeQuery; + declare export function tsTypeLiteral(members: BabelNodeTSTypeElement[]): BabelNodeTSTypeLiteral; + declare export function tsArrayType(elementType: BabelNodeTSType): BabelNodeTSArrayType; + declare export function tsTupleType(elementTypes: (BabelNodeTSType | BabelNodeTSNamedTupleMember)[]): BabelNodeTSTupleType; + declare export function tsOptionalType(typeAnnotation: BabelNodeTSType): BabelNodeTSOptionalType; + declare export function tsRestType(typeAnnotation: BabelNodeTSType): BabelNodeTSRestType; + declare export function tsNamedTupleMember(label: BabelNodeIdentifier, elementType: BabelNodeTSType, optional?: boolean): BabelNodeTSNamedTupleMember; + declare export function tsUnionType(types: BabelNodeTSType[]): BabelNodeTSUnionType; + declare export function tsIntersectionType(types: BabelNodeTSType[]): BabelNodeTSIntersectionType; + declare export function tsConditionalType(checkType: BabelNodeTSType, extendsType: BabelNodeTSType, trueType: BabelNodeTSType, falseType: BabelNodeTSType): BabelNodeTSConditionalType; + declare export function tsInferType(typeParameter: BabelNodeTSTypeParameter): BabelNodeTSInferType; + declare export function tsParenthesizedType(typeAnnotation: BabelNodeTSType): BabelNodeTSParenthesizedType; + declare export function tsTypeOperator(typeAnnotation: BabelNodeTSType, operator?: string): BabelNodeTSTypeOperator; + declare export function tsIndexedAccessType(objectType: BabelNodeTSType, indexType: BabelNodeTSType): BabelNodeTSIndexedAccessType; + declare export function tsMappedType(typeParameter: BabelNodeTSTypeParameter, typeAnnotation?: BabelNodeTSType, nameType?: BabelNodeTSType): BabelNodeTSMappedType; + declare export function tsTemplateLiteralType(quasis: BabelNodeTemplateElement[], types: BabelNodeTSType[]): BabelNodeTSTemplateLiteralType; + declare export function tsLiteralType(literal: BabelNodeNumericLiteral | BabelNodeStringLiteral | BabelNodeBooleanLiteral | BabelNodeBigIntLiteral | BabelNodeTemplateLiteral | BabelNodeUnaryExpression): BabelNodeTSLiteralType; + declare export function tsExpressionWithTypeArguments(expression: BabelNodeTSEntityName, typeParameters?: BabelNodeTSTypeParameterInstantiation): BabelNodeTSExpressionWithTypeArguments; + declare export function tsInterfaceDeclaration(id: BabelNodeIdentifier, typeParameters?: BabelNodeTSTypeParameterDeclaration, _extends?: BabelNodeTSExpressionWithTypeArguments[], body: BabelNodeTSInterfaceBody): BabelNodeTSInterfaceDeclaration; + declare export function tsInterfaceBody(body: BabelNodeTSTypeElement[]): BabelNodeTSInterfaceBody; + declare export function tsTypeAliasDeclaration(id: BabelNodeIdentifier, typeParameters?: BabelNodeTSTypeParameterDeclaration, typeAnnotation: BabelNodeTSType): BabelNodeTSTypeAliasDeclaration; + declare export function tsInstantiationExpression(expression: BabelNodeExpression, typeParameters?: BabelNodeTSTypeParameterInstantiation): BabelNodeTSInstantiationExpression; + declare export function tsAsExpression(expression: BabelNodeExpression, typeAnnotation: BabelNodeTSType): BabelNodeTSAsExpression; + declare export function tsSatisfiesExpression(expression: BabelNodeExpression, typeAnnotation: BabelNodeTSType): BabelNodeTSSatisfiesExpression; + declare export function tsTypeAssertion(typeAnnotation: BabelNodeTSType, expression: BabelNodeExpression): BabelNodeTSTypeAssertion; + declare export function tsEnumBody(members: BabelNodeTSEnumMember[]): BabelNodeTSEnumBody; + declare export function tsEnumDeclaration(id: BabelNodeIdentifier, members: BabelNodeTSEnumMember[]): BabelNodeTSEnumDeclaration; + declare export function tsEnumMember(id: BabelNodeIdentifier | BabelNodeStringLiteral, initializer?: BabelNodeExpression): BabelNodeTSEnumMember; + declare export function tsModuleDeclaration(id: BabelNodeIdentifier | BabelNodeStringLiteral, body: BabelNodeTSModuleBlock | BabelNodeTSModuleDeclaration): BabelNodeTSModuleDeclaration; + declare export function tsModuleBlock(body: BabelNodeStatement[]): BabelNodeTSModuleBlock; + declare export function tsImportType(argument: BabelNodeStringLiteral, qualifier?: BabelNodeTSEntityName, typeParameters?: BabelNodeTSTypeParameterInstantiation): BabelNodeTSImportType; + declare export function tsImportEqualsDeclaration(id: BabelNodeIdentifier, moduleReference: BabelNodeTSEntityName | BabelNodeTSExternalModuleReference): BabelNodeTSImportEqualsDeclaration; + declare export function tsExternalModuleReference(expression: BabelNodeStringLiteral): BabelNodeTSExternalModuleReference; + declare export function tsNonNullExpression(expression: BabelNodeExpression): BabelNodeTSNonNullExpression; + declare export function tsExportAssignment(expression: BabelNodeExpression): BabelNodeTSExportAssignment; + declare export function tsNamespaceExportDeclaration(id: BabelNodeIdentifier): BabelNodeTSNamespaceExportDeclaration; + declare export function tsTypeAnnotation(typeAnnotation: BabelNodeTSType): BabelNodeTSTypeAnnotation; + declare export function tsTypeParameterInstantiation(params: BabelNodeTSType[]): BabelNodeTSTypeParameterInstantiation; + declare export function tsTypeParameterDeclaration(params: BabelNodeTSTypeParameter[]): BabelNodeTSTypeParameterDeclaration; + declare export function tsTypeParameter(constraint?: BabelNodeTSType, _default?: BabelNodeTSType, name: string): BabelNodeTSTypeParameter; + declare export function isArrayExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeArrayExpression) + declare export function assertArrayExpression(node: ?Object, opts?: ?Object): void + declare export function isAssignmentExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeAssignmentExpression) + declare export function assertAssignmentExpression(node: ?Object, opts?: ?Object): void + declare export function isBinaryExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeBinaryExpression) + declare export function assertBinaryExpression(node: ?Object, opts?: ?Object): void + declare export function isInterpreterDirective(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeInterpreterDirective) + declare export function assertInterpreterDirective(node: ?Object, opts?: ?Object): void + declare export function isDirective(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeDirective) + declare export function assertDirective(node: ?Object, opts?: ?Object): void + declare export function isDirectiveLiteral(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeDirectiveLiteral) + declare export function assertDirectiveLiteral(node: ?Object, opts?: ?Object): void + declare export function isBlockStatement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeBlockStatement) + declare export function assertBlockStatement(node: ?Object, opts?: ?Object): void + declare export function isBreakStatement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeBreakStatement) + declare export function assertBreakStatement(node: ?Object, opts?: ?Object): void + declare export function isCallExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeCallExpression) + declare export function assertCallExpression(node: ?Object, opts?: ?Object): void + declare export function isCatchClause(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeCatchClause) + declare export function assertCatchClause(node: ?Object, opts?: ?Object): void + declare export function isConditionalExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeConditionalExpression) + declare export function assertConditionalExpression(node: ?Object, opts?: ?Object): void + declare export function isContinueStatement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeContinueStatement) + declare export function assertContinueStatement(node: ?Object, opts?: ?Object): void + declare export function isDebuggerStatement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeDebuggerStatement) + declare export function assertDebuggerStatement(node: ?Object, opts?: ?Object): void + declare export function isDoWhileStatement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeDoWhileStatement) + declare export function assertDoWhileStatement(node: ?Object, opts?: ?Object): void + declare export function isEmptyStatement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeEmptyStatement) + declare export function assertEmptyStatement(node: ?Object, opts?: ?Object): void + declare export function isExpressionStatement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeExpressionStatement) + declare export function assertExpressionStatement(node: ?Object, opts?: ?Object): void + declare export function isFile(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeFile) + declare export function assertFile(node: ?Object, opts?: ?Object): void + declare export function isForInStatement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeForInStatement) + declare export function assertForInStatement(node: ?Object, opts?: ?Object): void + declare export function isForStatement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeForStatement) + declare export function assertForStatement(node: ?Object, opts?: ?Object): void + declare export function isFunctionDeclaration(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeFunctionDeclaration) + declare export function assertFunctionDeclaration(node: ?Object, opts?: ?Object): void + declare export function isFunctionExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeFunctionExpression) + declare export function assertFunctionExpression(node: ?Object, opts?: ?Object): void + declare export function isIdentifier(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeIdentifier) + declare export function assertIdentifier(node: ?Object, opts?: ?Object): void + declare export function isIfStatement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeIfStatement) + declare export function assertIfStatement(node: ?Object, opts?: ?Object): void + declare export function isLabeledStatement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeLabeledStatement) + declare export function assertLabeledStatement(node: ?Object, opts?: ?Object): void + declare export function isStringLiteral(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeStringLiteral) + declare export function assertStringLiteral(node: ?Object, opts?: ?Object): void + declare export function isNumericLiteral(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeNumericLiteral) + declare export function assertNumericLiteral(node: ?Object, opts?: ?Object): void + declare export function isNullLiteral(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeNullLiteral) + declare export function assertNullLiteral(node: ?Object, opts?: ?Object): void + declare export function isBooleanLiteral(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeBooleanLiteral) + declare export function assertBooleanLiteral(node: ?Object, opts?: ?Object): void + declare export function isRegExpLiteral(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeRegExpLiteral) + declare export function assertRegExpLiteral(node: ?Object, opts?: ?Object): void + declare export function isLogicalExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeLogicalExpression) + declare export function assertLogicalExpression(node: ?Object, opts?: ?Object): void + declare export function isMemberExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeMemberExpression) + declare export function assertMemberExpression(node: ?Object, opts?: ?Object): void + declare export function isNewExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeNewExpression) + declare export function assertNewExpression(node: ?Object, opts?: ?Object): void + declare export function isProgram(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeProgram) + declare export function assertProgram(node: ?Object, opts?: ?Object): void + declare export function isObjectExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeObjectExpression) + declare export function assertObjectExpression(node: ?Object, opts?: ?Object): void + declare export function isObjectMethod(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeObjectMethod) + declare export function assertObjectMethod(node: ?Object, opts?: ?Object): void + declare export function isObjectProperty(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeObjectProperty) + declare export function assertObjectProperty(node: ?Object, opts?: ?Object): void + declare export function isRestElement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeRestElement) + declare export function assertRestElement(node: ?Object, opts?: ?Object): void + declare export function isReturnStatement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeReturnStatement) + declare export function assertReturnStatement(node: ?Object, opts?: ?Object): void + declare export function isSequenceExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeSequenceExpression) + declare export function assertSequenceExpression(node: ?Object, opts?: ?Object): void + declare export function isParenthesizedExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeParenthesizedExpression) + declare export function assertParenthesizedExpression(node: ?Object, opts?: ?Object): void + declare export function isSwitchCase(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeSwitchCase) + declare export function assertSwitchCase(node: ?Object, opts?: ?Object): void + declare export function isSwitchStatement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeSwitchStatement) + declare export function assertSwitchStatement(node: ?Object, opts?: ?Object): void + declare export function isThisExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeThisExpression) + declare export function assertThisExpression(node: ?Object, opts?: ?Object): void + declare export function isThrowStatement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeThrowStatement) + declare export function assertThrowStatement(node: ?Object, opts?: ?Object): void + declare export function isTryStatement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTryStatement) + declare export function assertTryStatement(node: ?Object, opts?: ?Object): void + declare export function isUnaryExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeUnaryExpression) + declare export function assertUnaryExpression(node: ?Object, opts?: ?Object): void + declare export function isUpdateExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeUpdateExpression) + declare export function assertUpdateExpression(node: ?Object, opts?: ?Object): void + declare export function isVariableDeclaration(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeVariableDeclaration) + declare export function assertVariableDeclaration(node: ?Object, opts?: ?Object): void + declare export function isVariableDeclarator(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeVariableDeclarator) + declare export function assertVariableDeclarator(node: ?Object, opts?: ?Object): void + declare export function isWhileStatement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeWhileStatement) + declare export function assertWhileStatement(node: ?Object, opts?: ?Object): void + declare export function isWithStatement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeWithStatement) + declare export function assertWithStatement(node: ?Object, opts?: ?Object): void + declare export function isAssignmentPattern(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeAssignmentPattern) + declare export function assertAssignmentPattern(node: ?Object, opts?: ?Object): void + declare export function isArrayPattern(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeArrayPattern) + declare export function assertArrayPattern(node: ?Object, opts?: ?Object): void + declare export function isArrowFunctionExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeArrowFunctionExpression) + declare export function assertArrowFunctionExpression(node: ?Object, opts?: ?Object): void + declare export function isClassBody(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeClassBody) + declare export function assertClassBody(node: ?Object, opts?: ?Object): void + declare export function isClassExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeClassExpression) + declare export function assertClassExpression(node: ?Object, opts?: ?Object): void + declare export function isClassDeclaration(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeClassDeclaration) + declare export function assertClassDeclaration(node: ?Object, opts?: ?Object): void + declare export function isExportAllDeclaration(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeExportAllDeclaration) + declare export function assertExportAllDeclaration(node: ?Object, opts?: ?Object): void + declare export function isExportDefaultDeclaration(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeExportDefaultDeclaration) + declare export function assertExportDefaultDeclaration(node: ?Object, opts?: ?Object): void + declare export function isExportNamedDeclaration(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeExportNamedDeclaration) + declare export function assertExportNamedDeclaration(node: ?Object, opts?: ?Object): void + declare export function isExportSpecifier(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeExportSpecifier) + declare export function assertExportSpecifier(node: ?Object, opts?: ?Object): void + declare export function isForOfStatement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeForOfStatement) + declare export function assertForOfStatement(node: ?Object, opts?: ?Object): void + declare export function isImportDeclaration(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeImportDeclaration) + declare export function assertImportDeclaration(node: ?Object, opts?: ?Object): void + declare export function isImportDefaultSpecifier(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeImportDefaultSpecifier) + declare export function assertImportDefaultSpecifier(node: ?Object, opts?: ?Object): void + declare export function isImportNamespaceSpecifier(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeImportNamespaceSpecifier) + declare export function assertImportNamespaceSpecifier(node: ?Object, opts?: ?Object): void + declare export function isImportSpecifier(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeImportSpecifier) + declare export function assertImportSpecifier(node: ?Object, opts?: ?Object): void + declare export function isImportExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeImportExpression) + declare export function assertImportExpression(node: ?Object, opts?: ?Object): void + declare export function isMetaProperty(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeMetaProperty) + declare export function assertMetaProperty(node: ?Object, opts?: ?Object): void + declare export function isClassMethod(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeClassMethod) + declare export function assertClassMethod(node: ?Object, opts?: ?Object): void + declare export function isObjectPattern(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeObjectPattern) + declare export function assertObjectPattern(node: ?Object, opts?: ?Object): void + declare export function isSpreadElement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeSpreadElement) + declare export function assertSpreadElement(node: ?Object, opts?: ?Object): void + declare export function isSuper(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeSuper) + declare export function assertSuper(node: ?Object, opts?: ?Object): void + declare export function isTaggedTemplateExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTaggedTemplateExpression) + declare export function assertTaggedTemplateExpression(node: ?Object, opts?: ?Object): void + declare export function isTemplateElement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTemplateElement) + declare export function assertTemplateElement(node: ?Object, opts?: ?Object): void + declare export function isTemplateLiteral(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTemplateLiteral) + declare export function assertTemplateLiteral(node: ?Object, opts?: ?Object): void + declare export function isYieldExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeYieldExpression) + declare export function assertYieldExpression(node: ?Object, opts?: ?Object): void + declare export function isAwaitExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeAwaitExpression) + declare export function assertAwaitExpression(node: ?Object, opts?: ?Object): void + declare export function isImport(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeImport) + declare export function assertImport(node: ?Object, opts?: ?Object): void + declare export function isBigIntLiteral(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeBigIntLiteral) + declare export function assertBigIntLiteral(node: ?Object, opts?: ?Object): void + declare export function isExportNamespaceSpecifier(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeExportNamespaceSpecifier) + declare export function assertExportNamespaceSpecifier(node: ?Object, opts?: ?Object): void + declare export function isOptionalMemberExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeOptionalMemberExpression) + declare export function assertOptionalMemberExpression(node: ?Object, opts?: ?Object): void + declare export function isOptionalCallExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeOptionalCallExpression) + declare export function assertOptionalCallExpression(node: ?Object, opts?: ?Object): void + declare export function isClassProperty(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeClassProperty) + declare export function assertClassProperty(node: ?Object, opts?: ?Object): void + declare export function isClassAccessorProperty(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeClassAccessorProperty) + declare export function assertClassAccessorProperty(node: ?Object, opts?: ?Object): void + declare export function isClassPrivateProperty(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeClassPrivateProperty) + declare export function assertClassPrivateProperty(node: ?Object, opts?: ?Object): void + declare export function isClassPrivateMethod(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeClassPrivateMethod) + declare export function assertClassPrivateMethod(node: ?Object, opts?: ?Object): void + declare export function isPrivateName(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodePrivateName) + declare export function assertPrivateName(node: ?Object, opts?: ?Object): void + declare export function isStaticBlock(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeStaticBlock) + declare export function assertStaticBlock(node: ?Object, opts?: ?Object): void + declare export function isImportAttribute(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeImportAttribute) + declare export function assertImportAttribute(node: ?Object, opts?: ?Object): void + declare export function isAnyTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeAnyTypeAnnotation) + declare export function assertAnyTypeAnnotation(node: ?Object, opts?: ?Object): void + declare export function isArrayTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeArrayTypeAnnotation) + declare export function assertArrayTypeAnnotation(node: ?Object, opts?: ?Object): void + declare export function isBooleanTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeBooleanTypeAnnotation) + declare export function assertBooleanTypeAnnotation(node: ?Object, opts?: ?Object): void + declare export function isBooleanLiteralTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeBooleanLiteralTypeAnnotation) + declare export function assertBooleanLiteralTypeAnnotation(node: ?Object, opts?: ?Object): void + declare export function isNullLiteralTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeNullLiteralTypeAnnotation) + declare export function assertNullLiteralTypeAnnotation(node: ?Object, opts?: ?Object): void + declare export function isClassImplements(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeClassImplements) + declare export function assertClassImplements(node: ?Object, opts?: ?Object): void + declare export function isDeclareClass(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeDeclareClass) + declare export function assertDeclareClass(node: ?Object, opts?: ?Object): void + declare export function isDeclareFunction(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeDeclareFunction) + declare export function assertDeclareFunction(node: ?Object, opts?: ?Object): void + declare export function isDeclareInterface(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeDeclareInterface) + declare export function assertDeclareInterface(node: ?Object, opts?: ?Object): void + declare export function isDeclareModule(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeDeclareModule) + declare export function assertDeclareModule(node: ?Object, opts?: ?Object): void + declare export function isDeclareModuleExports(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeDeclareModuleExports) + declare export function assertDeclareModuleExports(node: ?Object, opts?: ?Object): void + declare export function isDeclareTypeAlias(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeDeclareTypeAlias) + declare export function assertDeclareTypeAlias(node: ?Object, opts?: ?Object): void + declare export function isDeclareOpaqueType(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeDeclareOpaqueType) + declare export function assertDeclareOpaqueType(node: ?Object, opts?: ?Object): void + declare export function isDeclareVariable(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeDeclareVariable) + declare export function assertDeclareVariable(node: ?Object, opts?: ?Object): void + declare export function isDeclareExportDeclaration(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeDeclareExportDeclaration) + declare export function assertDeclareExportDeclaration(node: ?Object, opts?: ?Object): void + declare export function isDeclareExportAllDeclaration(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeDeclareExportAllDeclaration) + declare export function assertDeclareExportAllDeclaration(node: ?Object, opts?: ?Object): void + declare export function isDeclaredPredicate(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeDeclaredPredicate) + declare export function assertDeclaredPredicate(node: ?Object, opts?: ?Object): void + declare export function isExistsTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeExistsTypeAnnotation) + declare export function assertExistsTypeAnnotation(node: ?Object, opts?: ?Object): void + declare export function isFunctionTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeFunctionTypeAnnotation) + declare export function assertFunctionTypeAnnotation(node: ?Object, opts?: ?Object): void + declare export function isFunctionTypeParam(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeFunctionTypeParam) + declare export function assertFunctionTypeParam(node: ?Object, opts?: ?Object): void + declare export function isGenericTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeGenericTypeAnnotation) + declare export function assertGenericTypeAnnotation(node: ?Object, opts?: ?Object): void + declare export function isInferredPredicate(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeInferredPredicate) + declare export function assertInferredPredicate(node: ?Object, opts?: ?Object): void + declare export function isInterfaceExtends(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeInterfaceExtends) + declare export function assertInterfaceExtends(node: ?Object, opts?: ?Object): void + declare export function isInterfaceDeclaration(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeInterfaceDeclaration) + declare export function assertInterfaceDeclaration(node: ?Object, opts?: ?Object): void + declare export function isInterfaceTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeInterfaceTypeAnnotation) + declare export function assertInterfaceTypeAnnotation(node: ?Object, opts?: ?Object): void + declare export function isIntersectionTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeIntersectionTypeAnnotation) + declare export function assertIntersectionTypeAnnotation(node: ?Object, opts?: ?Object): void + declare export function isMixedTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeMixedTypeAnnotation) + declare export function assertMixedTypeAnnotation(node: ?Object, opts?: ?Object): void + declare export function isEmptyTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeEmptyTypeAnnotation) + declare export function assertEmptyTypeAnnotation(node: ?Object, opts?: ?Object): void + declare export function isNullableTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeNullableTypeAnnotation) + declare export function assertNullableTypeAnnotation(node: ?Object, opts?: ?Object): void + declare export function isNumberLiteralTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeNumberLiteralTypeAnnotation) + declare export function assertNumberLiteralTypeAnnotation(node: ?Object, opts?: ?Object): void + declare export function isNumberTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeNumberTypeAnnotation) + declare export function assertNumberTypeAnnotation(node: ?Object, opts?: ?Object): void + declare export function isObjectTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeObjectTypeAnnotation) + declare export function assertObjectTypeAnnotation(node: ?Object, opts?: ?Object): void + declare export function isObjectTypeInternalSlot(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeObjectTypeInternalSlot) + declare export function assertObjectTypeInternalSlot(node: ?Object, opts?: ?Object): void + declare export function isObjectTypeCallProperty(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeObjectTypeCallProperty) + declare export function assertObjectTypeCallProperty(node: ?Object, opts?: ?Object): void + declare export function isObjectTypeIndexer(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeObjectTypeIndexer) + declare export function assertObjectTypeIndexer(node: ?Object, opts?: ?Object): void + declare export function isObjectTypeProperty(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeObjectTypeProperty) + declare export function assertObjectTypeProperty(node: ?Object, opts?: ?Object): void + declare export function isObjectTypeSpreadProperty(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeObjectTypeSpreadProperty) + declare export function assertObjectTypeSpreadProperty(node: ?Object, opts?: ?Object): void + declare export function isOpaqueType(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeOpaqueType) + declare export function assertOpaqueType(node: ?Object, opts?: ?Object): void + declare export function isQualifiedTypeIdentifier(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeQualifiedTypeIdentifier) + declare export function assertQualifiedTypeIdentifier(node: ?Object, opts?: ?Object): void + declare export function isStringLiteralTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeStringLiteralTypeAnnotation) + declare export function assertStringLiteralTypeAnnotation(node: ?Object, opts?: ?Object): void + declare export function isStringTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeStringTypeAnnotation) + declare export function assertStringTypeAnnotation(node: ?Object, opts?: ?Object): void + declare export function isSymbolTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeSymbolTypeAnnotation) + declare export function assertSymbolTypeAnnotation(node: ?Object, opts?: ?Object): void + declare export function isThisTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeThisTypeAnnotation) + declare export function assertThisTypeAnnotation(node: ?Object, opts?: ?Object): void + declare export function isTupleTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTupleTypeAnnotation) + declare export function assertTupleTypeAnnotation(node: ?Object, opts?: ?Object): void + declare export function isTypeofTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTypeofTypeAnnotation) + declare export function assertTypeofTypeAnnotation(node: ?Object, opts?: ?Object): void + declare export function isTypeAlias(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTypeAlias) + declare export function assertTypeAlias(node: ?Object, opts?: ?Object): void + declare export function isTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTypeAnnotation) + declare export function assertTypeAnnotation(node: ?Object, opts?: ?Object): void + declare export function isTypeCastExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTypeCastExpression) + declare export function assertTypeCastExpression(node: ?Object, opts?: ?Object): void + declare export function isTypeParameter(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTypeParameter) + declare export function assertTypeParameter(node: ?Object, opts?: ?Object): void + declare export function isTypeParameterDeclaration(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTypeParameterDeclaration) + declare export function assertTypeParameterDeclaration(node: ?Object, opts?: ?Object): void + declare export function isTypeParameterInstantiation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTypeParameterInstantiation) + declare export function assertTypeParameterInstantiation(node: ?Object, opts?: ?Object): void + declare export function isUnionTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeUnionTypeAnnotation) + declare export function assertUnionTypeAnnotation(node: ?Object, opts?: ?Object): void + declare export function isVariance(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeVariance) + declare export function assertVariance(node: ?Object, opts?: ?Object): void + declare export function isVoidTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeVoidTypeAnnotation) + declare export function assertVoidTypeAnnotation(node: ?Object, opts?: ?Object): void + declare export function isEnumDeclaration(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeEnumDeclaration) + declare export function assertEnumDeclaration(node: ?Object, opts?: ?Object): void + declare export function isEnumBooleanBody(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeEnumBooleanBody) + declare export function assertEnumBooleanBody(node: ?Object, opts?: ?Object): void + declare export function isEnumNumberBody(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeEnumNumberBody) + declare export function assertEnumNumberBody(node: ?Object, opts?: ?Object): void + declare export function isEnumStringBody(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeEnumStringBody) + declare export function assertEnumStringBody(node: ?Object, opts?: ?Object): void + declare export function isEnumSymbolBody(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeEnumSymbolBody) + declare export function assertEnumSymbolBody(node: ?Object, opts?: ?Object): void + declare export function isEnumBooleanMember(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeEnumBooleanMember) + declare export function assertEnumBooleanMember(node: ?Object, opts?: ?Object): void + declare export function isEnumNumberMember(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeEnumNumberMember) + declare export function assertEnumNumberMember(node: ?Object, opts?: ?Object): void + declare export function isEnumStringMember(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeEnumStringMember) + declare export function assertEnumStringMember(node: ?Object, opts?: ?Object): void + declare export function isEnumDefaultedMember(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeEnumDefaultedMember) + declare export function assertEnumDefaultedMember(node: ?Object, opts?: ?Object): void + declare export function isIndexedAccessType(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeIndexedAccessType) + declare export function assertIndexedAccessType(node: ?Object, opts?: ?Object): void + declare export function isOptionalIndexedAccessType(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeOptionalIndexedAccessType) + declare export function assertOptionalIndexedAccessType(node: ?Object, opts?: ?Object): void + declare export function isJSXAttribute(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeJSXAttribute) + declare export function assertJSXAttribute(node: ?Object, opts?: ?Object): void + declare export function isJSXClosingElement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeJSXClosingElement) + declare export function assertJSXClosingElement(node: ?Object, opts?: ?Object): void + declare export function isJSXElement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeJSXElement) + declare export function assertJSXElement(node: ?Object, opts?: ?Object): void + declare export function isJSXEmptyExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeJSXEmptyExpression) + declare export function assertJSXEmptyExpression(node: ?Object, opts?: ?Object): void + declare export function isJSXExpressionContainer(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeJSXExpressionContainer) + declare export function assertJSXExpressionContainer(node: ?Object, opts?: ?Object): void + declare export function isJSXSpreadChild(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeJSXSpreadChild) + declare export function assertJSXSpreadChild(node: ?Object, opts?: ?Object): void + declare export function isJSXIdentifier(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeJSXIdentifier) + declare export function assertJSXIdentifier(node: ?Object, opts?: ?Object): void + declare export function isJSXMemberExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeJSXMemberExpression) + declare export function assertJSXMemberExpression(node: ?Object, opts?: ?Object): void + declare export function isJSXNamespacedName(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeJSXNamespacedName) + declare export function assertJSXNamespacedName(node: ?Object, opts?: ?Object): void + declare export function isJSXOpeningElement(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeJSXOpeningElement) + declare export function assertJSXOpeningElement(node: ?Object, opts?: ?Object): void + declare export function isJSXSpreadAttribute(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeJSXSpreadAttribute) + declare export function assertJSXSpreadAttribute(node: ?Object, opts?: ?Object): void + declare export function isJSXText(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeJSXText) + declare export function assertJSXText(node: ?Object, opts?: ?Object): void + declare export function isJSXFragment(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeJSXFragment) + declare export function assertJSXFragment(node: ?Object, opts?: ?Object): void + declare export function isJSXOpeningFragment(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeJSXOpeningFragment) + declare export function assertJSXOpeningFragment(node: ?Object, opts?: ?Object): void + declare export function isJSXClosingFragment(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeJSXClosingFragment) + declare export function assertJSXClosingFragment(node: ?Object, opts?: ?Object): void + declare export function isNoop(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeNoop) + declare export function assertNoop(node: ?Object, opts?: ?Object): void + declare export function isPlaceholder(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodePlaceholder) + declare export function assertPlaceholder(node: ?Object, opts?: ?Object): void + declare export function isV8IntrinsicIdentifier(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeV8IntrinsicIdentifier) + declare export function assertV8IntrinsicIdentifier(node: ?Object, opts?: ?Object): void + declare export function isArgumentPlaceholder(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeArgumentPlaceholder) + declare export function assertArgumentPlaceholder(node: ?Object, opts?: ?Object): void + declare export function isBindExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeBindExpression) + declare export function assertBindExpression(node: ?Object, opts?: ?Object): void + declare export function isDecorator(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeDecorator) + declare export function assertDecorator(node: ?Object, opts?: ?Object): void + declare export function isDoExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeDoExpression) + declare export function assertDoExpression(node: ?Object, opts?: ?Object): void + declare export function isExportDefaultSpecifier(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeExportDefaultSpecifier) + declare export function assertExportDefaultSpecifier(node: ?Object, opts?: ?Object): void + declare export function isRecordExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeRecordExpression) + declare export function assertRecordExpression(node: ?Object, opts?: ?Object): void + declare export function isTupleExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTupleExpression) + declare export function assertTupleExpression(node: ?Object, opts?: ?Object): void + declare export function isDecimalLiteral(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeDecimalLiteral) + declare export function assertDecimalLiteral(node: ?Object, opts?: ?Object): void + declare export function isModuleExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeModuleExpression) + declare export function assertModuleExpression(node: ?Object, opts?: ?Object): void + declare export function isTopicReference(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTopicReference) + declare export function assertTopicReference(node: ?Object, opts?: ?Object): void + declare export function isPipelineTopicExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodePipelineTopicExpression) + declare export function assertPipelineTopicExpression(node: ?Object, opts?: ?Object): void + declare export function isPipelineBareFunction(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodePipelineBareFunction) + declare export function assertPipelineBareFunction(node: ?Object, opts?: ?Object): void + declare export function isPipelinePrimaryTopicReference(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodePipelinePrimaryTopicReference) + declare export function assertPipelinePrimaryTopicReference(node: ?Object, opts?: ?Object): void + declare export function isVoidPattern(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeVoidPattern) + declare export function assertVoidPattern(node: ?Object, opts?: ?Object): void + declare export function isTSParameterProperty(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSParameterProperty) + declare export function assertTSParameterProperty(node: ?Object, opts?: ?Object): void + declare export function isTSDeclareFunction(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSDeclareFunction) + declare export function assertTSDeclareFunction(node: ?Object, opts?: ?Object): void + declare export function isTSDeclareMethod(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSDeclareMethod) + declare export function assertTSDeclareMethod(node: ?Object, opts?: ?Object): void + declare export function isTSQualifiedName(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSQualifiedName) + declare export function assertTSQualifiedName(node: ?Object, opts?: ?Object): void + declare export function isTSCallSignatureDeclaration(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSCallSignatureDeclaration) + declare export function assertTSCallSignatureDeclaration(node: ?Object, opts?: ?Object): void + declare export function isTSConstructSignatureDeclaration(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSConstructSignatureDeclaration) + declare export function assertTSConstructSignatureDeclaration(node: ?Object, opts?: ?Object): void + declare export function isTSPropertySignature(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSPropertySignature) + declare export function assertTSPropertySignature(node: ?Object, opts?: ?Object): void + declare export function isTSMethodSignature(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSMethodSignature) + declare export function assertTSMethodSignature(node: ?Object, opts?: ?Object): void + declare export function isTSIndexSignature(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSIndexSignature) + declare export function assertTSIndexSignature(node: ?Object, opts?: ?Object): void + declare export function isTSAnyKeyword(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSAnyKeyword) + declare export function assertTSAnyKeyword(node: ?Object, opts?: ?Object): void + declare export function isTSBooleanKeyword(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSBooleanKeyword) + declare export function assertTSBooleanKeyword(node: ?Object, opts?: ?Object): void + declare export function isTSBigIntKeyword(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSBigIntKeyword) + declare export function assertTSBigIntKeyword(node: ?Object, opts?: ?Object): void + declare export function isTSIntrinsicKeyword(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSIntrinsicKeyword) + declare export function assertTSIntrinsicKeyword(node: ?Object, opts?: ?Object): void + declare export function isTSNeverKeyword(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSNeverKeyword) + declare export function assertTSNeverKeyword(node: ?Object, opts?: ?Object): void + declare export function isTSNullKeyword(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSNullKeyword) + declare export function assertTSNullKeyword(node: ?Object, opts?: ?Object): void + declare export function isTSNumberKeyword(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSNumberKeyword) + declare export function assertTSNumberKeyword(node: ?Object, opts?: ?Object): void + declare export function isTSObjectKeyword(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSObjectKeyword) + declare export function assertTSObjectKeyword(node: ?Object, opts?: ?Object): void + declare export function isTSStringKeyword(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSStringKeyword) + declare export function assertTSStringKeyword(node: ?Object, opts?: ?Object): void + declare export function isTSSymbolKeyword(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSSymbolKeyword) + declare export function assertTSSymbolKeyword(node: ?Object, opts?: ?Object): void + declare export function isTSUndefinedKeyword(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSUndefinedKeyword) + declare export function assertTSUndefinedKeyword(node: ?Object, opts?: ?Object): void + declare export function isTSUnknownKeyword(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSUnknownKeyword) + declare export function assertTSUnknownKeyword(node: ?Object, opts?: ?Object): void + declare export function isTSVoidKeyword(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSVoidKeyword) + declare export function assertTSVoidKeyword(node: ?Object, opts?: ?Object): void + declare export function isTSThisType(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSThisType) + declare export function assertTSThisType(node: ?Object, opts?: ?Object): void + declare export function isTSFunctionType(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSFunctionType) + declare export function assertTSFunctionType(node: ?Object, opts?: ?Object): void + declare export function isTSConstructorType(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSConstructorType) + declare export function assertTSConstructorType(node: ?Object, opts?: ?Object): void + declare export function isTSTypeReference(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSTypeReference) + declare export function assertTSTypeReference(node: ?Object, opts?: ?Object): void + declare export function isTSTypePredicate(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSTypePredicate) + declare export function assertTSTypePredicate(node: ?Object, opts?: ?Object): void + declare export function isTSTypeQuery(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSTypeQuery) + declare export function assertTSTypeQuery(node: ?Object, opts?: ?Object): void + declare export function isTSTypeLiteral(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSTypeLiteral) + declare export function assertTSTypeLiteral(node: ?Object, opts?: ?Object): void + declare export function isTSArrayType(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSArrayType) + declare export function assertTSArrayType(node: ?Object, opts?: ?Object): void + declare export function isTSTupleType(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSTupleType) + declare export function assertTSTupleType(node: ?Object, opts?: ?Object): void + declare export function isTSOptionalType(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSOptionalType) + declare export function assertTSOptionalType(node: ?Object, opts?: ?Object): void + declare export function isTSRestType(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSRestType) + declare export function assertTSRestType(node: ?Object, opts?: ?Object): void + declare export function isTSNamedTupleMember(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSNamedTupleMember) + declare export function assertTSNamedTupleMember(node: ?Object, opts?: ?Object): void + declare export function isTSUnionType(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSUnionType) + declare export function assertTSUnionType(node: ?Object, opts?: ?Object): void + declare export function isTSIntersectionType(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSIntersectionType) + declare export function assertTSIntersectionType(node: ?Object, opts?: ?Object): void + declare export function isTSConditionalType(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSConditionalType) + declare export function assertTSConditionalType(node: ?Object, opts?: ?Object): void + declare export function isTSInferType(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSInferType) + declare export function assertTSInferType(node: ?Object, opts?: ?Object): void + declare export function isTSParenthesizedType(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSParenthesizedType) + declare export function assertTSParenthesizedType(node: ?Object, opts?: ?Object): void + declare export function isTSTypeOperator(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSTypeOperator) + declare export function assertTSTypeOperator(node: ?Object, opts?: ?Object): void + declare export function isTSIndexedAccessType(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSIndexedAccessType) + declare export function assertTSIndexedAccessType(node: ?Object, opts?: ?Object): void + declare export function isTSMappedType(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSMappedType) + declare export function assertTSMappedType(node: ?Object, opts?: ?Object): void + declare export function isTSTemplateLiteralType(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSTemplateLiteralType) + declare export function assertTSTemplateLiteralType(node: ?Object, opts?: ?Object): void + declare export function isTSLiteralType(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSLiteralType) + declare export function assertTSLiteralType(node: ?Object, opts?: ?Object): void + declare export function isTSExpressionWithTypeArguments(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSExpressionWithTypeArguments) + declare export function assertTSExpressionWithTypeArguments(node: ?Object, opts?: ?Object): void + declare export function isTSInterfaceDeclaration(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSInterfaceDeclaration) + declare export function assertTSInterfaceDeclaration(node: ?Object, opts?: ?Object): void + declare export function isTSInterfaceBody(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSInterfaceBody) + declare export function assertTSInterfaceBody(node: ?Object, opts?: ?Object): void + declare export function isTSTypeAliasDeclaration(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSTypeAliasDeclaration) + declare export function assertTSTypeAliasDeclaration(node: ?Object, opts?: ?Object): void + declare export function isTSInstantiationExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSInstantiationExpression) + declare export function assertTSInstantiationExpression(node: ?Object, opts?: ?Object): void + declare export function isTSAsExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSAsExpression) + declare export function assertTSAsExpression(node: ?Object, opts?: ?Object): void + declare export function isTSSatisfiesExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSSatisfiesExpression) + declare export function assertTSSatisfiesExpression(node: ?Object, opts?: ?Object): void + declare export function isTSTypeAssertion(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSTypeAssertion) + declare export function assertTSTypeAssertion(node: ?Object, opts?: ?Object): void + declare export function isTSEnumBody(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSEnumBody) + declare export function assertTSEnumBody(node: ?Object, opts?: ?Object): void + declare export function isTSEnumDeclaration(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSEnumDeclaration) + declare export function assertTSEnumDeclaration(node: ?Object, opts?: ?Object): void + declare export function isTSEnumMember(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSEnumMember) + declare export function assertTSEnumMember(node: ?Object, opts?: ?Object): void + declare export function isTSModuleDeclaration(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSModuleDeclaration) + declare export function assertTSModuleDeclaration(node: ?Object, opts?: ?Object): void + declare export function isTSModuleBlock(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSModuleBlock) + declare export function assertTSModuleBlock(node: ?Object, opts?: ?Object): void + declare export function isTSImportType(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSImportType) + declare export function assertTSImportType(node: ?Object, opts?: ?Object): void + declare export function isTSImportEqualsDeclaration(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSImportEqualsDeclaration) + declare export function assertTSImportEqualsDeclaration(node: ?Object, opts?: ?Object): void + declare export function isTSExternalModuleReference(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSExternalModuleReference) + declare export function assertTSExternalModuleReference(node: ?Object, opts?: ?Object): void + declare export function isTSNonNullExpression(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSNonNullExpression) + declare export function assertTSNonNullExpression(node: ?Object, opts?: ?Object): void + declare export function isTSExportAssignment(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSExportAssignment) + declare export function assertTSExportAssignment(node: ?Object, opts?: ?Object): void + declare export function isTSNamespaceExportDeclaration(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSNamespaceExportDeclaration) + declare export function assertTSNamespaceExportDeclaration(node: ?Object, opts?: ?Object): void + declare export function isTSTypeAnnotation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSTypeAnnotation) + declare export function assertTSTypeAnnotation(node: ?Object, opts?: ?Object): void + declare export function isTSTypeParameterInstantiation(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSTypeParameterInstantiation) + declare export function assertTSTypeParameterInstantiation(node: ?Object, opts?: ?Object): void + declare export function isTSTypeParameterDeclaration(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSTypeParameterDeclaration) + declare export function assertTSTypeParameterDeclaration(node: ?Object, opts?: ?Object): void + declare export function isTSTypeParameter(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeTSTypeParameter) + declare export function assertTSTypeParameter(node: ?Object, opts?: ?Object): void + declare export function isStandardized(node: ?Object, opts?: ?Object): boolean + declare export function assertStandardized(node: ?Object, opts?: ?Object): void + declare export function isExpression(node: ?Object, opts?: ?Object): boolean + declare export function assertExpression(node: ?Object, opts?: ?Object): void + declare export function isBinary(node: ?Object, opts?: ?Object): boolean + declare export function assertBinary(node: ?Object, opts?: ?Object): void + declare export function isScopable(node: ?Object, opts?: ?Object): boolean + declare export function assertScopable(node: ?Object, opts?: ?Object): void + declare export function isBlockParent(node: ?Object, opts?: ?Object): boolean + declare export function assertBlockParent(node: ?Object, opts?: ?Object): void + declare export function isBlock(node: ?Object, opts?: ?Object): boolean + declare export function assertBlock(node: ?Object, opts?: ?Object): void + declare export function isStatement(node: ?Object, opts?: ?Object): boolean + declare export function assertStatement(node: ?Object, opts?: ?Object): void + declare export function isTerminatorless(node: ?Object, opts?: ?Object): boolean + declare export function assertTerminatorless(node: ?Object, opts?: ?Object): void + declare export function isCompletionStatement(node: ?Object, opts?: ?Object): boolean + declare export function assertCompletionStatement(node: ?Object, opts?: ?Object): void + declare export function isConditional(node: ?Object, opts?: ?Object): boolean + declare export function assertConditional(node: ?Object, opts?: ?Object): void + declare export function isLoop(node: ?Object, opts?: ?Object): boolean + declare export function assertLoop(node: ?Object, opts?: ?Object): void + declare export function isWhile(node: ?Object, opts?: ?Object): boolean + declare export function assertWhile(node: ?Object, opts?: ?Object): void + declare export function isExpressionWrapper(node: ?Object, opts?: ?Object): boolean + declare export function assertExpressionWrapper(node: ?Object, opts?: ?Object): void + declare export function isFor(node: ?Object, opts?: ?Object): boolean + declare export function assertFor(node: ?Object, opts?: ?Object): void + declare export function isForXStatement(node: ?Object, opts?: ?Object): boolean + declare export function assertForXStatement(node: ?Object, opts?: ?Object): void + declare export function isFunction(node: ?Object, opts?: ?Object): boolean + declare export function assertFunction(node: ?Object, opts?: ?Object): void + declare export function isFunctionParent(node: ?Object, opts?: ?Object): boolean + declare export function assertFunctionParent(node: ?Object, opts?: ?Object): void + declare export function isPureish(node: ?Object, opts?: ?Object): boolean + declare export function assertPureish(node: ?Object, opts?: ?Object): void + declare export function isDeclaration(node: ?Object, opts?: ?Object): boolean + declare export function assertDeclaration(node: ?Object, opts?: ?Object): void + declare export function isFunctionParameter(node: ?Object, opts?: ?Object): boolean + declare export function assertFunctionParameter(node: ?Object, opts?: ?Object): void + declare export function isPatternLike(node: ?Object, opts?: ?Object): boolean + declare export function assertPatternLike(node: ?Object, opts?: ?Object): void + declare export function isLVal(node: ?Object, opts?: ?Object): boolean + declare export function assertLVal(node: ?Object, opts?: ?Object): void + declare export function isTSEntityName(node: ?Object, opts?: ?Object): boolean + declare export function assertTSEntityName(node: ?Object, opts?: ?Object): void + declare export function isLiteral(node: ?Object, opts?: ?Object): boolean + declare export function assertLiteral(node: ?Object, opts?: ?Object): void + declare export function isImmutable(node: ?Object, opts?: ?Object): boolean + declare export function assertImmutable(node: ?Object, opts?: ?Object): void + declare export function isUserWhitespacable(node: ?Object, opts?: ?Object): boolean + declare export function assertUserWhitespacable(node: ?Object, opts?: ?Object): void + declare export function isMethod(node: ?Object, opts?: ?Object): boolean + declare export function assertMethod(node: ?Object, opts?: ?Object): void + declare export function isObjectMember(node: ?Object, opts?: ?Object): boolean + declare export function assertObjectMember(node: ?Object, opts?: ?Object): void + declare export function isProperty(node: ?Object, opts?: ?Object): boolean + declare export function assertProperty(node: ?Object, opts?: ?Object): void + declare export function isUnaryLike(node: ?Object, opts?: ?Object): boolean + declare export function assertUnaryLike(node: ?Object, opts?: ?Object): void + declare export function isPattern(node: ?Object, opts?: ?Object): boolean + declare export function assertPattern(node: ?Object, opts?: ?Object): void + declare export function isClass(node: ?Object, opts?: ?Object): boolean + declare export function assertClass(node: ?Object, opts?: ?Object): void + declare export function isImportOrExportDeclaration(node: ?Object, opts?: ?Object): boolean + declare export function assertImportOrExportDeclaration(node: ?Object, opts?: ?Object): void + declare export function isExportDeclaration(node: ?Object, opts?: ?Object): boolean + declare export function assertExportDeclaration(node: ?Object, opts?: ?Object): void + declare export function isModuleSpecifier(node: ?Object, opts?: ?Object): boolean + declare export function assertModuleSpecifier(node: ?Object, opts?: ?Object): void + declare export function isAccessor(node: ?Object, opts?: ?Object): boolean + declare export function assertAccessor(node: ?Object, opts?: ?Object): void + declare export function isPrivate(node: ?Object, opts?: ?Object): boolean + declare export function assertPrivate(node: ?Object, opts?: ?Object): void + declare export function isFlow(node: ?Object, opts?: ?Object): boolean + declare export function assertFlow(node: ?Object, opts?: ?Object): void + declare export function isFlowType(node: ?Object, opts?: ?Object): boolean + declare export function assertFlowType(node: ?Object, opts?: ?Object): void + declare export function isFlowBaseAnnotation(node: ?Object, opts?: ?Object): boolean + declare export function assertFlowBaseAnnotation(node: ?Object, opts?: ?Object): void + declare export function isFlowDeclaration(node: ?Object, opts?: ?Object): boolean + declare export function assertFlowDeclaration(node: ?Object, opts?: ?Object): void + declare export function isFlowPredicate(node: ?Object, opts?: ?Object): boolean + declare export function assertFlowPredicate(node: ?Object, opts?: ?Object): void + declare export function isEnumBody(node: ?Object, opts?: ?Object): boolean + declare export function assertEnumBody(node: ?Object, opts?: ?Object): void + declare export function isEnumMember(node: ?Object, opts?: ?Object): boolean + declare export function assertEnumMember(node: ?Object, opts?: ?Object): void + declare export function isJSX(node: ?Object, opts?: ?Object): boolean + declare export function assertJSX(node: ?Object, opts?: ?Object): void + declare export function isMiscellaneous(node: ?Object, opts?: ?Object): boolean + declare export function assertMiscellaneous(node: ?Object, opts?: ?Object): void + declare export function isTypeScript(node: ?Object, opts?: ?Object): boolean + declare export function assertTypeScript(node: ?Object, opts?: ?Object): void + declare export function isTSTypeElement(node: ?Object, opts?: ?Object): boolean + declare export function assertTSTypeElement(node: ?Object, opts?: ?Object): void + declare export function isTSType(node: ?Object, opts?: ?Object): boolean + declare export function assertTSType(node: ?Object, opts?: ?Object): void + declare export function isTSBaseType(node: ?Object, opts?: ?Object): boolean + declare export function assertTSBaseType(node: ?Object, opts?: ?Object): void + declare export function isModuleDeclaration(node: ?Object, opts?: ?Object): boolean + declare export function assertModuleDeclaration(node: ?Object, opts?: ?Object): void + declare export function isNumberLiteral(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeNumericLiteral) + declare export function assertNumberLiteral(node: ?Object, opts?: ?Object): void + declare export function isRegexLiteral(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeRegExpLiteral) + declare export function assertRegexLiteral(node: ?Object, opts?: ?Object): void + declare export function isRestProperty(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeRestElement) + declare export function assertRestProperty(node: ?Object, opts?: ?Object): void + declare export function isSpreadProperty(node: ?Object, opts?: ?Object): boolean %checks (node instanceof BabelNodeSpreadElement) + declare export function assertSpreadProperty(node: ?Object, opts?: ?Object): void + declare export var VISITOR_KEYS: { [type: string]: string[] } + declare export function assertNode(obj: any): void + declare export function createTypeAnnotationBasedOnTypeof(type: 'string' | 'number' | 'undefined' | 'boolean' | 'function' | 'object' | 'symbol'): BabelNodeTypeAnnotation + declare export function createUnionTypeAnnotation(types: Array): BabelNodeUnionTypeAnnotation + declare export function createFlowUnionType(types: Array): BabelNodeUnionTypeAnnotation + declare export function buildChildren(node: { children: Array }): Array + declare export function clone(n: T): T; + declare export function cloneDeep(n: T): T; + declare export function cloneDeepWithoutLoc(n: T): T; + declare export function cloneNode(n: T, deep?: boolean, withoutLoc?: boolean): T; + declare export function cloneWithoutLoc(n: T): T; + declare type CommentTypeShorthand = 'leading' | 'inner' | 'trailing' + declare export function addComment(node: T, type: CommentTypeShorthand, content: string, line?: boolean): T + declare export function addComments(node: T, type: CommentTypeShorthand, comments: Array): T + declare export function inheritInnerComments(node: BabelNode, parent: BabelNode): void + declare export function inheritLeadingComments(node: BabelNode, parent: BabelNode): void + declare export function inheritsComments(node: T, parent: BabelNode): void + declare export function inheritTrailingComments(node: BabelNode, parent: BabelNode): void + declare export function removeComments(node: T): T + declare export function ensureBlock(node: BabelNode, key: string): BabelNodeBlockStatement + declare export function toBindingIdentifierName(name?: ?string): string + declare export function toBlock(node: BabelNodeStatement | BabelNodeExpression, parent?: BabelNodeFunction | null): BabelNodeBlockStatement + declare export function toComputedKey(node: BabelNodeMethod | BabelNodeProperty, key?: BabelNodeExpression | BabelNodeIdentifier): BabelNodeExpression + declare export function toExpression(node: BabelNodeExpressionStatement | BabelNodeExpression | BabelNodeClass | BabelNodeFunction): BabelNodeExpression + declare export function toIdentifier(name?: ?string): string + declare export function toKeyAlias(node: BabelNodeMethod | BabelNodeProperty, key?: BabelNode): string + declare export function toStatement(node: BabelNodeStatement | BabelNodeClass | BabelNodeFunction | BabelNodeAssignmentExpression, ignore?: boolean): BabelNodeStatement | void + declare export function valueToNode(value: any): BabelNodeExpression + declare export function removeTypeDuplicates(types: Array): Array + declare export function appendToMemberExpression(member: BabelNodeMemberExpression, append: BabelNode, computed?: boolean): BabelNodeMemberExpression + declare export function inherits(child: T, parent: BabelNode | null | void): T + declare export function prependToMemberExpression(member: BabelNodeMemberExpression, prepend: BabelNodeExpression): BabelNodeMemberExpression + declare export function removeProperties(n: T, opts: ?{}): void; + declare export function removePropertiesDeep(n: T, opts: ?{}): T; + declare export var getBindingIdentifiers: { + (node: BabelNode, duplicates?: boolean, outerOnly?: boolean): { [key: string]: BabelNodeIdentifier | Array }, + keys: { [type: string]: string[] } + } + declare export function getOuterBindingIdentifiers(node: BabelNode, duplicates?: boolean): { [key: string]: BabelNodeIdentifier | Array } + declare type TraversalAncestors = Array<{ + node: BabelNode, + key: string, + index?: number, + }>; + declare type TraversalHandler = (BabelNode, TraversalAncestors, T) => void; + declare type TraversalHandlers = { + enter?: TraversalHandler, + exit?: TraversalHandler, + }; + declare export function traverse(n: BabelNode, TraversalHandler | TraversalHandlers, state?: T): void; + declare export function traverseFast(n: BabelNode, h: TraversalHandler, state?: T): void; + declare export function shallowEqual(actual: Object, expected: Object): boolean + declare export function buildMatchMemberExpression(match: string, allowPartial?: boolean): (?BabelNode) => boolean + declare export function is(type: string, n: BabelNode, opts: Object): boolean; + declare export function isBinding(node: BabelNode, parent: BabelNode, grandparent?: BabelNode): boolean + declare export function isBlockScoped(node: BabelNode): boolean + declare export function isImmutable(node: BabelNode): boolean + declare export function isLet(node: BabelNode): boolean + declare export function isNode(node: ?Object): boolean + declare export function isNodesEquivalent(a: any, b: any): boolean + declare export function isPlaceholderType(placeholderType: string, targetType: string): boolean + declare export function isReferenced(node: BabelNode, parent: BabelNode, grandparent?: BabelNode): boolean + declare export function isScope(node: BabelNode, parent: BabelNode): boolean + declare export function isSpecifierDefault(specifier: BabelNodeModuleSpecifier): boolean + declare export function isType(nodetype: ?string, targetType: string): boolean + declare export function isValidES3Identifier(name: string): boolean + declare export function isValidES3Identifier(name: string): boolean + declare export function isValidIdentifier(name: string): boolean + declare export function isVar(node: BabelNode): boolean + declare export function matchesPattern(node: ?BabelNode, match: string | Array, allowPartial?: boolean): boolean + declare export function validate(n: BabelNode, key: string, value: mixed): void; +} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/index.js.map b/node_modules/@babel/types/lib/index.js.map new file mode 100644 index 0000000000000000000000000000000000000000..8ce007b68e4a1ccc43cda051d4d56e1537bf2f32 --- /dev/null +++ b/node_modules/@babel/types/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_isReactComponent","require","_isCompatTag","_buildChildren","_assertNode","_index","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get","_createTypeAnnotationBasedOnTypeof","_createFlowUnionType","_createTSUnionType","_productions","_index2","_cloneNode","_clone","_cloneDeep","_cloneDeepWithoutLoc","_cloneWithoutLoc","_addComment","_addComments","_inheritInnerComments","_inheritLeadingComments","_inheritsComments","_inheritTrailingComments","_removeComments","_index3","_index4","_ensureBlock","_toBindingIdentifierName","_toBlock","_toComputedKey","_toExpression","_toIdentifier","_toKeyAlias","_toStatement","_valueToNode","_index5","_appendToMemberExpression","_inherits","_prependToMemberExpression","_removeProperties","_removePropertiesDeep","_removeTypeDuplicates","_getAssignmentIdentifiers","_getBindingIdentifiers","_getOuterBindingIdentifiers","_getFunctionName","_traverse","_traverseFast","_shallowEqual","_is","_isBinding","_isBlockScoped","_isImmutable","_isLet","_isNode","_isNodesEquivalent","_isPlaceholderType","_isReferenced","_isScope","_isSpecifierDefault","_isType","_isValidES3Identifier","_isValidIdentifier","_isVar","_matchesPattern","_validate","_buildMatchMemberExpression","_index6","_deprecationWarning","_toSequenceExpression","react","isReactComponent","isCompatTag","buildChildren","toSequenceExpression","process","env","BABEL_TYPES_8_BREAKING","console","warn"],"sources":["../src/index.ts"],"sourcesContent":["import isReactComponent from \"./validators/react/isReactComponent.ts\";\nimport isCompatTag from \"./validators/react/isCompatTag.ts\";\nimport buildChildren from \"./builders/react/buildChildren.ts\";\n\n// asserts\nexport { default as assertNode } from \"./asserts/assertNode.ts\";\nexport * from \"./asserts/generated/index.ts\";\n\n// builders\nexport { default as createTypeAnnotationBasedOnTypeof } from \"./builders/flow/createTypeAnnotationBasedOnTypeof.ts\";\n/** @deprecated use createFlowUnionType instead */\nexport { default as createUnionTypeAnnotation } from \"./builders/flow/createFlowUnionType.ts\";\nexport { default as createFlowUnionType } from \"./builders/flow/createFlowUnionType.ts\";\nexport { default as createTSUnionType } from \"./builders/typescript/createTSUnionType.ts\";\nexport * from \"./builders/productions.ts\";\nexport * from \"./builders/generated/index.ts\"; // includes AST types\n\n// clone\nexport { default as cloneNode } from \"./clone/cloneNode.ts\";\nexport { default as clone } from \"./clone/clone.ts\";\nexport { default as cloneDeep } from \"./clone/cloneDeep.ts\";\nexport { default as cloneDeepWithoutLoc } from \"./clone/cloneDeepWithoutLoc.ts\";\nexport { default as cloneWithoutLoc } from \"./clone/cloneWithoutLoc.ts\";\n\n// comments\nexport { default as addComment } from \"./comments/addComment.ts\";\nexport { default as addComments } from \"./comments/addComments.ts\";\nexport { default as inheritInnerComments } from \"./comments/inheritInnerComments.ts\";\nexport { default as inheritLeadingComments } from \"./comments/inheritLeadingComments.ts\";\nexport { default as inheritsComments } from \"./comments/inheritsComments.ts\";\nexport { default as inheritTrailingComments } from \"./comments/inheritTrailingComments.ts\";\nexport { default as removeComments } from \"./comments/removeComments.ts\";\n\n// constants\nexport * from \"./constants/generated/index.ts\";\nexport * from \"./constants/index.ts\";\n\n// converters\nexport { default as ensureBlock } from \"./converters/ensureBlock.ts\";\nexport { default as toBindingIdentifierName } from \"./converters/toBindingIdentifierName.ts\";\nexport { default as toBlock } from \"./converters/toBlock.ts\";\nexport { default as toComputedKey } from \"./converters/toComputedKey.ts\";\nexport { default as toExpression } from \"./converters/toExpression.ts\";\nexport { default as toIdentifier } from \"./converters/toIdentifier.ts\";\nexport { default as toKeyAlias } from \"./converters/toKeyAlias.ts\";\nexport { default as toStatement } from \"./converters/toStatement.ts\";\nexport { default as valueToNode } from \"./converters/valueToNode.ts\";\n\n// definitions\nexport * from \"./definitions/index.ts\";\n\n// modifications\nexport { default as appendToMemberExpression } from \"./modifications/appendToMemberExpression.ts\";\nexport { default as inherits } from \"./modifications/inherits.ts\";\nexport { default as prependToMemberExpression } from \"./modifications/prependToMemberExpression.ts\";\nexport {\n default as removeProperties,\n type Options as RemovePropertiesOptions,\n} from \"./modifications/removeProperties.ts\";\nexport { default as removePropertiesDeep } from \"./modifications/removePropertiesDeep.ts\";\nexport { default as removeTypeDuplicates } from \"./modifications/flow/removeTypeDuplicates.ts\";\n\n// retrievers\nexport { default as getAssignmentIdentifiers } from \"./retrievers/getAssignmentIdentifiers.ts\";\nexport { default as getBindingIdentifiers } from \"./retrievers/getBindingIdentifiers.ts\";\nexport { default as getOuterBindingIdentifiers } from \"./retrievers/getOuterBindingIdentifiers.ts\";\nexport { default as getFunctionName } from \"./retrievers/getFunctionName.ts\";\n\n// traverse\nexport { default as traverse } from \"./traverse/traverse.ts\";\nexport * from \"./traverse/traverse.ts\";\nexport { default as traverseFast } from \"./traverse/traverseFast.ts\";\n\n// utils\nexport { default as shallowEqual } from \"./utils/shallowEqual.ts\";\n\n// validators\nexport { default as is } from \"./validators/is.ts\";\nexport { default as isBinding } from \"./validators/isBinding.ts\";\nexport { default as isBlockScoped } from \"./validators/isBlockScoped.ts\";\nexport { default as isImmutable } from \"./validators/isImmutable.ts\";\nexport { default as isLet } from \"./validators/isLet.ts\";\nexport { default as isNode } from \"./validators/isNode.ts\";\nexport { default as isNodesEquivalent } from \"./validators/isNodesEquivalent.ts\";\nexport { default as isPlaceholderType } from \"./validators/isPlaceholderType.ts\";\nexport { default as isReferenced } from \"./validators/isReferenced.ts\";\nexport { default as isScope } from \"./validators/isScope.ts\";\nexport { default as isSpecifierDefault } from \"./validators/isSpecifierDefault.ts\";\nexport { default as isType } from \"./validators/isType.ts\";\nexport { default as isValidES3Identifier } from \"./validators/isValidES3Identifier.ts\";\nexport { default as isValidIdentifier } from \"./validators/isValidIdentifier.ts\";\nexport { default as isVar } from \"./validators/isVar.ts\";\nexport { default as matchesPattern } from \"./validators/matchesPattern.ts\";\nexport { default as validate } from \"./validators/validate.ts\";\nexport { default as buildMatchMemberExpression } from \"./validators/buildMatchMemberExpression.ts\";\nexport * from \"./validators/generated/index.ts\";\n\n// react\nexport const react = {\n isReactComponent,\n isCompatTag,\n buildChildren,\n};\n\n// this is used by @babel/traverse to warn about deprecated visitors\nexport { default as __internal__deprecationWarning } from \"./utils/deprecationWarning.ts\";\n\nimport toSequenceExpression from \"./converters/toSequenceExpression.ts\" with { if: \"!process.env.BABEL_8_BREAKING && !USE_ESM && !IS_STANDALONE\" };\nif (!process.env.BABEL_8_BREAKING && !USE_ESM && !IS_STANDALONE) {\n // eslint-disable-next-line no-restricted-globals\n exports.toSequenceExpression = toSequenceExpression;\n}\n\nif (!process.env.BABEL_8_BREAKING && process.env.BABEL_TYPES_8_BREAKING) {\n console.warn(\n \"BABEL_TYPES_8_BREAKING is not supported anymore. Use the latest Babel 8.0.0 pre-release instead!\",\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,iBAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,cAAA,GAAAF,OAAA;AAGA,IAAAG,WAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AAAAK,MAAA,CA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AA3E,OAAA;AACA,IAAA4E,2BAAA,GAAA5E,OAAA;AACA,IAAA6E,OAAA,GAAA7E,OAAA;AAAAK,MAAA,CAAAC,IAAA,CAAAuE,OAAA,EAAAtE,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAqE,OAAA,CAAArE,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAA6D,OAAA,CAAArE,GAAA;IAAA;EAAA;AAAA;AAUA,IAAAsE,mBAAA,GAAA9E,OAAA;AAEA,IAAA+E,qBAAA,GAAA/E,OAAA;AATO,MAAMgF,KAAK,GAAAnE,OAAA,CAAAmE,KAAA,GAAG;EACnBC,gBAAgB,EAAhBA,yBAAgB;EAChBC,WAAW,EAAXA,oBAAW;EACXC,aAAa,EAAbA;AACF,CAAC;AAQCtE,OAAO,CAACuE,oBAAoB,GAAGA,6BAAoB;AAGrD,IAAqCC,OAAO,CAACC,GAAG,CAACC,sBAAsB,EAAE;EACvEC,OAAO,CAACC,IAAI,CACV,kGACF,CAAC;AACH","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js b/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js new file mode 100644 index 0000000000000000000000000000000000000000..48ff2a2aeb0753539fd5aa7793c11093af14bbf0 --- /dev/null +++ b/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js @@ -0,0 +1,15 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = appendToMemberExpression; +var _index = require("../builders/generated/index.js"); +function appendToMemberExpression(member, append, computed = false) { + member.object = (0, _index.memberExpression)(member.object, member.property, member.computed); + member.property = append; + member.computed = !!computed; + return member; +} + +//# sourceMappingURL=appendToMemberExpression.js.map diff --git a/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js.map b/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js.map new file mode 100644 index 0000000000000000000000000000000000000000..33236a9ca86d38edcdd11343b5b1ec1be0222350 --- /dev/null +++ b/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_index","require","appendToMemberExpression","member","append","computed","object","memberExpression","property"],"sources":["../../src/modifications/appendToMemberExpression.ts"],"sourcesContent":["import { memberExpression } from \"../builders/generated/index.ts\";\nimport type * as t from \"../index.ts\";\n\n/**\n * Append a node to a member expression.\n */\nexport default function appendToMemberExpression(\n member: t.MemberExpression,\n append: t.MemberExpression[\"property\"],\n computed: boolean = false,\n): t.MemberExpression {\n member.object = memberExpression(\n member.object,\n member.property,\n member.computed,\n );\n member.property = append;\n member.computed = !!computed;\n\n return member;\n}\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAMe,SAASC,wBAAwBA,CAC9CC,MAA0B,EAC1BC,MAAsC,EACtCC,QAAiB,GAAG,KAAK,EACL;EACpBF,MAAM,CAACG,MAAM,GAAG,IAAAC,uBAAgB,EAC9BJ,MAAM,CAACG,MAAM,EACbH,MAAM,CAACK,QAAQ,EACfL,MAAM,CAACE,QACT,CAAC;EACDF,MAAM,CAACK,QAAQ,GAAGJ,MAAM;EACxBD,MAAM,CAACE,QAAQ,GAAG,CAAC,CAACA,QAAQ;EAE5B,OAAOF,MAAM;AACf","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js b/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js new file mode 100644 index 0000000000000000000000000000000000000000..edbdd8bacd312f7450ce98ac616c219151dfa65a --- /dev/null +++ b/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js @@ -0,0 +1,65 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = removeTypeDuplicates; +var _index = require("../../validators/generated/index.js"); +function getQualifiedName(node) { + return (0, _index.isIdentifier)(node) ? node.name : `${node.id.name}.${getQualifiedName(node.qualification)}`; +} +function removeTypeDuplicates(nodesIn) { + const nodes = Array.from(nodesIn); + const generics = new Map(); + const bases = new Map(); + const typeGroups = new Set(); + const types = []; + for (let i = 0; i < nodes.length; i++) { + const node = nodes[i]; + if (!node) continue; + if (types.includes(node)) { + continue; + } + if ((0, _index.isAnyTypeAnnotation)(node)) { + return [node]; + } + if ((0, _index.isFlowBaseAnnotation)(node)) { + bases.set(node.type, node); + continue; + } + if ((0, _index.isUnionTypeAnnotation)(node)) { + if (!typeGroups.has(node.types)) { + nodes.push(...node.types); + typeGroups.add(node.types); + } + continue; + } + if ((0, _index.isGenericTypeAnnotation)(node)) { + const name = getQualifiedName(node.id); + if (generics.has(name)) { + let existing = generics.get(name); + if (existing.typeParameters) { + if (node.typeParameters) { + existing.typeParameters.params.push(...node.typeParameters.params); + existing.typeParameters.params = removeTypeDuplicates(existing.typeParameters.params); + } + } else { + existing = node.typeParameters; + } + } else { + generics.set(name, node); + } + continue; + } + types.push(node); + } + for (const [, baseType] of bases) { + types.push(baseType); + } + for (const [, genericName] of generics) { + types.push(genericName); + } + return types; +} + +//# sourceMappingURL=removeTypeDuplicates.js.map diff --git a/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js.map b/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js.map new file mode 100644 index 0000000000000000000000000000000000000000..09468cac7d17a2cd87dbe5f9ecaf17c878e8321d --- /dev/null +++ b/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_index","require","getQualifiedName","node","isIdentifier","name","id","qualification","removeTypeDuplicates","nodesIn","nodes","Array","from","generics","Map","bases","typeGroups","Set","types","i","length","includes","isAnyTypeAnnotation","isFlowBaseAnnotation","set","type","isUnionTypeAnnotation","has","push","add","isGenericTypeAnnotation","existing","get","typeParameters","params","baseType","genericName"],"sources":["../../../src/modifications/flow/removeTypeDuplicates.ts"],"sourcesContent":["import {\n isAnyTypeAnnotation,\n isGenericTypeAnnotation,\n isUnionTypeAnnotation,\n isFlowBaseAnnotation,\n isIdentifier,\n} from \"../../validators/generated/index.ts\";\nimport type * as t from \"../../index.ts\";\n\nfunction getQualifiedName(node: t.GenericTypeAnnotation[\"id\"]): string {\n return isIdentifier(node)\n ? node.name\n : `${node.id.name}.${getQualifiedName(node.qualification)}`;\n}\n\n/**\n * Dedupe type annotations.\n */\nexport default function removeTypeDuplicates(\n nodesIn: readonly (t.FlowType | false | null | undefined)[],\n): t.FlowType[] {\n const nodes = Array.from(nodesIn);\n\n const generics = new Map();\n const bases = new Map();\n\n // store union type groups to circular references\n const typeGroups = new Set();\n\n const types: t.FlowType[] = [];\n\n for (let i = 0; i < nodes.length; i++) {\n const node = nodes[i];\n if (!node) continue;\n\n // detect duplicates\n if (types.includes(node)) {\n continue;\n }\n\n // this type matches anything\n if (isAnyTypeAnnotation(node)) {\n return [node];\n }\n\n if (isFlowBaseAnnotation(node)) {\n bases.set(node.type, node);\n continue;\n }\n\n if (isUnionTypeAnnotation(node)) {\n if (!typeGroups.has(node.types)) {\n nodes.push(...node.types);\n typeGroups.add(node.types);\n }\n continue;\n }\n\n // find a matching generic type and merge and deduplicate the type parameters\n if (isGenericTypeAnnotation(node)) {\n const name = getQualifiedName(node.id);\n\n if (generics.has(name)) {\n let existing: t.Flow = generics.get(name);\n if (existing.typeParameters) {\n if (node.typeParameters) {\n existing.typeParameters.params.push(...node.typeParameters.params);\n existing.typeParameters.params = removeTypeDuplicates(\n existing.typeParameters.params,\n );\n }\n } else {\n existing = node.typeParameters;\n }\n } else {\n generics.set(name, node);\n }\n\n continue;\n }\n\n types.push(node);\n }\n\n // add back in bases\n for (const [, baseType] of bases) {\n types.push(baseType);\n }\n\n // add back in generics\n for (const [, genericName] of generics) {\n types.push(genericName);\n }\n\n return types;\n}\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AASA,SAASC,gBAAgBA,CAACC,IAAmC,EAAU;EACrE,OAAO,IAAAC,mBAAY,EAACD,IAAI,CAAC,GACrBA,IAAI,CAACE,IAAI,GACT,GAAGF,IAAI,CAACG,EAAE,CAACD,IAAI,IAAIH,gBAAgB,CAACC,IAAI,CAACI,aAAa,CAAC,EAAE;AAC/D;AAKe,SAASC,oBAAoBA,CAC1CC,OAA2D,EAC7C;EACd,MAAMC,KAAK,GAAGC,KAAK,CAACC,IAAI,CAACH,OAAO,CAAC;EAEjC,MAAMI,QAAQ,GAAG,IAAIC,GAAG,CAAkC,CAAC;EAC3D,MAAMC,KAAK,GAAG,IAAID,GAAG,CAAqD,CAAC;EAG3E,MAAME,UAAU,GAAG,IAAIC,GAAG,CAAe,CAAC;EAE1C,MAAMC,KAAmB,GAAG,EAAE;EAE9B,KAAK,IAAIC,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGT,KAAK,CAACU,MAAM,EAAED,CAAC,EAAE,EAAE;IACrC,MAAMhB,IAAI,GAAGO,KAAK,CAACS,CAAC,CAAC;IACrB,IAAI,CAAChB,IAAI,EAAE;IAGX,IAAIe,KAAK,CAACG,QAAQ,CAAClB,IAAI,CAAC,EAAE;MACxB;IACF;IAGA,IAAI,IAAAmB,0BAAmB,EAACnB,IAAI,CAAC,EAAE;MAC7B,OAAO,CAACA,IAAI,CAAC;IACf;IAEA,IAAI,IAAAoB,2BAAoB,EAACpB,IAAI,CAAC,EAAE;MAC9BY,KAAK,CAACS,GAAG,CAACrB,IAAI,CAACsB,IAAI,EAAEtB,IAAI,CAAC;MAC1B;IACF;IAEA,IAAI,IAAAuB,4BAAqB,EAACvB,IAAI,CAAC,EAAE;MAC/B,IAAI,CAACa,UAAU,CAACW,GAAG,CAACxB,IAAI,CAACe,KAAK,CAAC,EAAE;QAC/BR,KAAK,CAACkB,IAAI,CAAC,GAAGzB,IAAI,CAACe,KAAK,CAAC;QACzBF,UAAU,CAACa,GAAG,CAAC1B,IAAI,CAACe,KAAK,CAAC;MAC5B;MACA;IACF;IAGA,IAAI,IAAAY,8BAAuB,EAAC3B,IAAI,CAAC,EAAE;MACjC,MAAME,IAAI,GAAGH,gBAAgB,CAACC,IAAI,CAACG,EAAE,CAAC;MAEtC,IAAIO,QAAQ,CAACc,GAAG,CAACtB,IAAI,CAAC,EAAE;QACtB,IAAI0B,QAAgB,GAAGlB,QAAQ,CAACmB,GAAG,CAAC3B,IAAI,CAAC;QACzC,IAAI0B,QAAQ,CAACE,cAAc,EAAE;UAC3B,IAAI9B,IAAI,CAAC8B,cAAc,EAAE;YACvBF,QAAQ,CAACE,cAAc,CAACC,MAAM,CAACN,IAAI,CAAC,GAAGzB,IAAI,CAAC8B,cAAc,CAACC,MAAM,CAAC;YAClEH,QAAQ,CAACE,cAAc,CAACC,MAAM,GAAG1B,oBAAoB,CACnDuB,QAAQ,CAACE,cAAc,CAACC,MAC1B,CAAC;UACH;QACF,CAAC,MAAM;UACLH,QAAQ,GAAG5B,IAAI,CAAC8B,cAAc;QAChC;MACF,CAAC,MAAM;QACLpB,QAAQ,CAACW,GAAG,CAACnB,IAAI,EAAEF,IAAI,CAAC;MAC1B;MAEA;IACF;IAEAe,KAAK,CAACU,IAAI,CAACzB,IAAI,CAAC;EAClB;EAGA,KAAK,MAAM,GAAGgC,QAAQ,CAAC,IAAIpB,KAAK,EAAE;IAChCG,KAAK,CAACU,IAAI,CAACO,QAAQ,CAAC;EACtB;EAGA,KAAK,MAAM,GAAGC,WAAW,CAAC,IAAIvB,QAAQ,EAAE;IACtCK,KAAK,CAACU,IAAI,CAACQ,WAAW,CAAC;EACzB;EAEA,OAAOlB,KAAK;AACd","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/modifications/inherits.js b/node_modules/@babel/types/lib/modifications/inherits.js new file mode 100644 index 0000000000000000000000000000000000000000..7667d9ea63750934c46da5c4124de4d130b4ca2e --- /dev/null +++ b/node_modules/@babel/types/lib/modifications/inherits.js @@ -0,0 +1,28 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = inherits; +var _index = require("../constants/index.js"); +var _inheritsComments = require("../comments/inheritsComments.js"); +function inherits(child, parent) { + if (!child || !parent) return child; + for (const key of _index.INHERIT_KEYS.optional) { + if (child[key] == null) { + child[key] = parent[key]; + } + } + for (const key of Object.keys(parent)) { + if (key.startsWith("_") && key !== "__clone") { + child[key] = parent[key]; + } + } + for (const key of _index.INHERIT_KEYS.force) { + child[key] = parent[key]; + } + (0, _inheritsComments.default)(child, parent); + return child; +} + +//# sourceMappingURL=inherits.js.map diff --git a/node_modules/@babel/types/lib/modifications/inherits.js.map b/node_modules/@babel/types/lib/modifications/inherits.js.map new file mode 100644 index 0000000000000000000000000000000000000000..188e94f003b43e9db2851e672a394b22231e4758 --- /dev/null +++ b/node_modules/@babel/types/lib/modifications/inherits.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_index","require","_inheritsComments","inherits","child","parent","key","INHERIT_KEYS","optional","Object","keys","startsWith","force","inheritsComments"],"sources":["../../src/modifications/inherits.ts"],"sourcesContent":["import { INHERIT_KEYS } from \"../constants/index.ts\";\nimport inheritsComments from \"../comments/inheritsComments.ts\";\nimport type * as t from \"../index.ts\";\n\n/**\n * Inherit all contextual properties from `parent` node to `child` node.\n */\nexport default function inherits(\n child: T,\n parent: t.Node | null | undefined,\n): T {\n if (!child || !parent) return child;\n\n // optionally inherit specific properties if not null\n for (const key of INHERIT_KEYS.optional) {\n // @ts-expect-error Fixme: refine parent types\n if (child[key] == null) {\n // @ts-expect-error Fixme: refine parent types\n child[key] = parent[key];\n }\n }\n\n // force inherit \"private\" properties\n for (const key of Object.keys(parent)) {\n if (key.startsWith(\"_\") && key !== \"__clone\") {\n // @ts-expect-error Fixme: refine parent types\n child[key] = parent[key];\n }\n }\n\n // force inherit select properties\n for (const key of INHERIT_KEYS.force) {\n // @ts-expect-error Fixme: refine parent types\n child[key] = parent[key];\n }\n\n inheritsComments(child, parent);\n\n return child;\n}\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,iBAAA,GAAAD,OAAA;AAMe,SAASE,QAAQA,CAC9BC,KAAQ,EACRC,MAAiC,EAC9B;EACH,IAAI,CAACD,KAAK,IAAI,CAACC,MAAM,EAAE,OAAOD,KAAK;EAGnC,KAAK,MAAME,GAAG,IAAIC,mBAAY,CAACC,QAAQ,EAAE;IAEvC,IAAIJ,KAAK,CAACE,GAAG,CAAC,IAAI,IAAI,EAAE;MAEtBF,KAAK,CAACE,GAAG,CAAC,GAAGD,MAAM,CAACC,GAAG,CAAC;IAC1B;EACF;EAGA,KAAK,MAAMA,GAAG,IAAIG,MAAM,CAACC,IAAI,CAACL,MAAM,CAAC,EAAE;IACrC,IAAIC,GAAG,CAACK,UAAU,CAAC,GAAG,CAAC,IAAIL,GAAG,KAAK,SAAS,EAAE;MAE5CF,KAAK,CAACE,GAAG,CAAC,GAAGD,MAAM,CAACC,GAAG,CAAC;IAC1B;EACF;EAGA,KAAK,MAAMA,GAAG,IAAIC,mBAAY,CAACK,KAAK,EAAE;IAEpCR,KAAK,CAACE,GAAG,CAAC,GAAGD,MAAM,CAACC,GAAG,CAAC;EAC1B;EAEA,IAAAO,yBAAgB,EAACT,KAAK,EAAEC,MAAM,CAAC;EAE/B,OAAOD,KAAK;AACd","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js b/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js new file mode 100644 index 0000000000000000000000000000000000000000..d86e70add32e118530a25013590dacb54ba96947 --- /dev/null +++ b/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js @@ -0,0 +1,17 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = prependToMemberExpression; +var _index = require("../builders/generated/index.js"); +var _index2 = require("../index.js"); +function prependToMemberExpression(member, prepend) { + if ((0, _index2.isSuper)(member.object)) { + throw new Error("Cannot prepend node to super property access (`super.foo`)."); + } + member.object = (0, _index.memberExpression)(prepend, member.object); + return member; +} + +//# sourceMappingURL=prependToMemberExpression.js.map diff --git a/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js.map b/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js.map new file mode 100644 index 0000000000000000000000000000000000000000..5da2b40596926afaeca81470007e0b38856251aa --- /dev/null +++ b/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_index","require","_index2","prependToMemberExpression","member","prepend","isSuper","object","Error","memberExpression"],"sources":["../../src/modifications/prependToMemberExpression.ts"],"sourcesContent":["import { memberExpression } from \"../builders/generated/index.ts\";\nimport { isSuper } from \"../index.ts\";\nimport type * as t from \"../index.ts\";\n\n/**\n * Prepend a node to a member expression.\n */\nexport default function prependToMemberExpression<\n T extends Pick,\n>(member: T, prepend: t.MemberExpression[\"object\"]): T {\n if (isSuper(member.object)) {\n throw new Error(\n \"Cannot prepend node to super property access (`super.foo`).\",\n );\n }\n member.object = memberExpression(prepend, member.object);\n\n return member;\n}\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AAMe,SAASE,yBAAyBA,CAE/CC,MAAS,EAAEC,OAAqC,EAAK;EACrD,IAAI,IAAAC,eAAO,EAACF,MAAM,CAACG,MAAM,CAAC,EAAE;IAC1B,MAAM,IAAIC,KAAK,CACb,6DACF,CAAC;EACH;EACAJ,MAAM,CAACG,MAAM,GAAG,IAAAE,uBAAgB,EAACJ,OAAO,EAAED,MAAM,CAACG,MAAM,CAAC;EAExD,OAAOH,MAAM;AACf","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/modifications/removeProperties.js b/node_modules/@babel/types/lib/modifications/removeProperties.js new file mode 100644 index 0000000000000000000000000000000000000000..c8e1e16173547217b5c2cd76c13fc82c820905fe --- /dev/null +++ b/node_modules/@babel/types/lib/modifications/removeProperties.js @@ -0,0 +1,24 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = removeProperties; +var _index = require("../constants/index.js"); +const CLEAR_KEYS = ["tokens", "start", "end", "loc", "raw", "rawValue"]; +const CLEAR_KEYS_PLUS_COMMENTS = [..._index.COMMENT_KEYS, "comments", ...CLEAR_KEYS]; +function removeProperties(node, opts = {}) { + const map = opts.preserveComments ? CLEAR_KEYS : CLEAR_KEYS_PLUS_COMMENTS; + for (const key of map) { + if (node[key] != null) node[key] = undefined; + } + for (const key of Object.keys(node)) { + if (key.startsWith("_") && node[key] != null) node[key] = undefined; + } + const symbols = Object.getOwnPropertySymbols(node); + for (const sym of symbols) { + node[sym] = null; + } +} + +//# sourceMappingURL=removeProperties.js.map diff --git a/node_modules/@babel/types/lib/modifications/removeProperties.js.map b/node_modules/@babel/types/lib/modifications/removeProperties.js.map new file mode 100644 index 0000000000000000000000000000000000000000..38c78ea66ce4e95afb277f89b630f3faed01c114 --- /dev/null +++ b/node_modules/@babel/types/lib/modifications/removeProperties.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_index","require","CLEAR_KEYS","CLEAR_KEYS_PLUS_COMMENTS","COMMENT_KEYS","removeProperties","node","opts","map","preserveComments","key","undefined","Object","keys","startsWith","symbols","getOwnPropertySymbols","sym"],"sources":["../../src/modifications/removeProperties.ts"],"sourcesContent":["import { COMMENT_KEYS } from \"../constants/index.ts\";\nimport type * as t from \"../index.ts\";\n\nconst CLEAR_KEYS = [\n \"tokens\", // only exist in t.File\n \"start\",\n \"end\",\n \"loc\",\n // Fixme: should be extra.raw / extra.rawValue?\n \"raw\",\n \"rawValue\",\n] as const;\n\nconst CLEAR_KEYS_PLUS_COMMENTS = [\n ...COMMENT_KEYS,\n \"comments\",\n ...CLEAR_KEYS,\n] as const;\n\nexport type Options = { preserveComments?: boolean };\n/**\n * Remove all of the _* properties from a node along with the additional metadata\n * properties like location data and raw token data.\n */\nexport default function removeProperties(\n node: t.Node,\n opts: Options = {},\n): void {\n const map = opts.preserveComments ? CLEAR_KEYS : CLEAR_KEYS_PLUS_COMMENTS;\n for (const key of map) {\n // @ts-expect-error tokens only exist in t.File\n if (node[key] != null) node[key] = undefined;\n }\n\n for (const key of Object.keys(node)) {\n // @ts-expect-error string can not index node\n if (key.startsWith(\"_\") && node[key] != null) node[key] = undefined;\n }\n\n const symbols: symbol[] = Object.getOwnPropertySymbols(node);\n for (const sym of symbols) {\n // @ts-expect-error Fixme: document symbol properties\n node[sym] = null;\n }\n}\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAGA,MAAMC,UAAU,GAAG,CACjB,QAAQ,EACR,OAAO,EACP,KAAK,EACL,KAAK,EAEL,KAAK,EACL,UAAU,CACF;AAEV,MAAMC,wBAAwB,GAAG,CAC/B,GAAGC,mBAAY,EACf,UAAU,EACV,GAAGF,UAAU,CACL;AAOK,SAASG,gBAAgBA,CACtCC,IAAY,EACZC,IAAa,GAAG,CAAC,CAAC,EACZ;EACN,MAAMC,GAAG,GAAGD,IAAI,CAACE,gBAAgB,GAAGP,UAAU,GAAGC,wBAAwB;EACzE,KAAK,MAAMO,GAAG,IAAIF,GAAG,EAAE;IAErB,IAAIF,IAAI,CAACI,GAAG,CAAC,IAAI,IAAI,EAAEJ,IAAI,CAACI,GAAG,CAAC,GAAGC,SAAS;EAC9C;EAEA,KAAK,MAAMD,GAAG,IAAIE,MAAM,CAACC,IAAI,CAACP,IAAI,CAAC,EAAE;IAEnC,IAAII,GAAG,CAACI,UAAU,CAAC,GAAG,CAAC,IAAIR,IAAI,CAACI,GAAG,CAAC,IAAI,IAAI,EAAEJ,IAAI,CAACI,GAAG,CAAC,GAAGC,SAAS;EACrE;EAEA,MAAMI,OAAiB,GAAGH,MAAM,CAACI,qBAAqB,CAACV,IAAI,CAAC;EAC5D,KAAK,MAAMW,GAAG,IAAIF,OAAO,EAAE;IAEzBT,IAAI,CAACW,GAAG,CAAC,GAAG,IAAI;EAClB;AACF","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js b/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js new file mode 100644 index 0000000000000000000000000000000000000000..58a9a0074f76eb1674ccc8be386aa0b4c6ecb117 --- /dev/null +++ b/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js @@ -0,0 +1,14 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = removePropertiesDeep; +var _traverseFast = require("../traverse/traverseFast.js"); +var _removeProperties = require("./removeProperties.js"); +function removePropertiesDeep(tree, opts) { + (0, _traverseFast.default)(tree, _removeProperties.default, opts); + return tree; +} + +//# sourceMappingURL=removePropertiesDeep.js.map diff --git a/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js.map b/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js.map new file mode 100644 index 0000000000000000000000000000000000000000..938d040c629a03f8f9ceac45b157625156858442 --- /dev/null +++ b/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_traverseFast","require","_removeProperties","removePropertiesDeep","tree","opts","traverseFast","removeProperties"],"sources":["../../src/modifications/removePropertiesDeep.ts"],"sourcesContent":["import traverseFast from \"../traverse/traverseFast.ts\";\nimport removeProperties from \"./removeProperties.ts\";\nimport type * as t from \"../index.ts\";\n\nexport default function removePropertiesDeep(\n tree: T,\n opts?: { preserveComments: boolean } | null,\n): T {\n traverseFast(tree, removeProperties, opts);\n\n return tree;\n}\n"],"mappings":";;;;;;AAAA,IAAAA,aAAA,GAAAC,OAAA;AACA,IAAAC,iBAAA,GAAAD,OAAA;AAGe,SAASE,oBAAoBA,CAC1CC,IAAO,EACPC,IAA2C,EACxC;EACH,IAAAC,qBAAY,EAACF,IAAI,EAAEG,yBAAgB,EAAEF,IAAI,CAAC;EAE1C,OAAOD,IAAI;AACb","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js b/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js new file mode 100644 index 0000000000000000000000000000000000000000..eada697caecd2cb53ecae768501f6274d69731ce --- /dev/null +++ b/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js @@ -0,0 +1,66 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = removeTypeDuplicates; +var _index = require("../../validators/generated/index.js"); +function getQualifiedName(node) { + return (0, _index.isIdentifier)(node) ? node.name : (0, _index.isThisExpression)(node) ? "this" : `${node.right.name}.${getQualifiedName(node.left)}`; +} +function removeTypeDuplicates(nodesIn) { + const nodes = Array.from(nodesIn); + const generics = new Map(); + const bases = new Map(); + const typeGroups = new Set(); + const types = []; + for (let i = 0; i < nodes.length; i++) { + const node = nodes[i]; + if (!node) continue; + if (types.includes(node)) { + continue; + } + if ((0, _index.isTSAnyKeyword)(node)) { + return [node]; + } + if ((0, _index.isTSBaseType)(node)) { + bases.set(node.type, node); + continue; + } + if ((0, _index.isTSUnionType)(node)) { + if (!typeGroups.has(node.types)) { + nodes.push(...node.types); + typeGroups.add(node.types); + } + continue; + } + const typeArgumentsKey = "typeParameters"; + if ((0, _index.isTSTypeReference)(node) && node[typeArgumentsKey]) { + const typeArguments = node[typeArgumentsKey]; + const name = getQualifiedName(node.typeName); + if (generics.has(name)) { + let existing = generics.get(name); + const existingTypeArguments = existing[typeArgumentsKey]; + if (existingTypeArguments) { + existingTypeArguments.params.push(...typeArguments.params); + existingTypeArguments.params = removeTypeDuplicates(existingTypeArguments.params); + } else { + existing = typeArguments; + } + } else { + generics.set(name, node); + } + continue; + } + types.push(node); + } + for (const [, baseType] of bases) { + types.push(baseType); + } + for (const [, genericName] of generics) { + types.push(genericName); + } + return types; +} + +//# sourceMappingURL=removeTypeDuplicates.js.map diff --git a/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js.map b/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js.map new file mode 100644 index 0000000000000000000000000000000000000000..a8718e4e503e858e4402c5b9c72417370e8826c4 --- /dev/null +++ b/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_index","require","getQualifiedName","node","isIdentifier","name","isThisExpression","right","left","removeTypeDuplicates","nodesIn","nodes","Array","from","generics","Map","bases","typeGroups","Set","types","i","length","includes","isTSAnyKeyword","isTSBaseType","set","type","isTSUnionType","has","push","add","typeArgumentsKey","isTSTypeReference","typeArguments","typeName","existing","get","existingTypeArguments","params","baseType","genericName"],"sources":["../../../src/modifications/typescript/removeTypeDuplicates.ts"],"sourcesContent":["import {\n isIdentifier,\n isThisExpression,\n isTSAnyKeyword,\n isTSTypeReference,\n isTSUnionType,\n isTSBaseType,\n} from \"../../validators/generated/index.ts\";\nimport type * as t from \"../../index.ts\";\n\nfunction getQualifiedName(node: t.TSTypeReference[\"typeName\"]): string {\n return isIdentifier(node)\n ? node.name\n : isThisExpression(node)\n ? \"this\"\n : `${node.right.name}.${getQualifiedName(node.left)}`;\n}\n\n/**\n * Dedupe type annotations.\n */\nexport default function removeTypeDuplicates(\n nodesIn: readonly t.TSType[],\n): t.TSType[] {\n const nodes = Array.from(nodesIn);\n\n const generics = new Map();\n const bases = new Map();\n\n // store union type groups to circular references\n const typeGroups = new Set();\n\n const types: t.TSType[] = [];\n\n for (let i = 0; i < nodes.length; i++) {\n const node = nodes[i];\n if (!node) continue;\n\n // detect duplicates\n if (types.includes(node)) {\n continue;\n }\n\n // this type matches anything\n if (isTSAnyKeyword(node)) {\n return [node];\n }\n\n // Analogue of FlowBaseAnnotation\n if (isTSBaseType(node)) {\n bases.set(node.type, node);\n continue;\n }\n\n if (isTSUnionType(node)) {\n if (!typeGroups.has(node.types)) {\n nodes.push(...node.types);\n typeGroups.add(node.types);\n }\n continue;\n }\n\n // todo: support merging tuples: number[]\n const typeArgumentsKey = process.env.BABEL_8_BREAKING\n ? \"typeArguments\"\n : \"typeParameters\";\n // @ts-ignore(Babel 7 vs Babel 8) Babel 8 AST\n if (isTSTypeReference(node) && node[typeArgumentsKey]) {\n // @ts-ignore(Babel 7 vs Babel 8) Babel 8 AST\n const typeArguments = node[typeArgumentsKey];\n const name = getQualifiedName(node.typeName);\n\n if (generics.has(name)) {\n let existing: t.TypeScript = generics.get(name);\n // @ts-ignore(Babel 7 vs Babel 8) Babel 8 AST\n const existingTypeArguments = existing[typeArgumentsKey];\n if (existingTypeArguments) {\n existingTypeArguments.params.push(...typeArguments.params);\n existingTypeArguments.params = removeTypeDuplicates(\n existingTypeArguments.params,\n );\n } else {\n existing = typeArguments;\n }\n } else {\n generics.set(name, node);\n }\n\n continue;\n }\n\n types.push(node);\n }\n\n // add back in bases\n for (const [, baseType] of bases) {\n types.push(baseType);\n }\n\n // add back in generics\n for (const [, genericName] of generics) {\n types.push(genericName);\n }\n\n return types;\n}\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAUA,SAASC,gBAAgBA,CAACC,IAAmC,EAAU;EACrE,OAAO,IAAAC,mBAAY,EAACD,IAAI,CAAC,GACrBA,IAAI,CAACE,IAAI,GACT,IAAAC,uBAAgB,EAACH,IAAI,CAAC,GACpB,MAAM,GACN,GAAGA,IAAI,CAACI,KAAK,CAACF,IAAI,IAAIH,gBAAgB,CAACC,IAAI,CAACK,IAAI,CAAC,EAAE;AAC3D;AAKe,SAASC,oBAAoBA,CAC1CC,OAA4B,EAChB;EACZ,MAAMC,KAAK,GAAGC,KAAK,CAACC,IAAI,CAACH,OAAO,CAAC;EAEjC,MAAMI,QAAQ,GAAG,IAAIC,GAAG,CAA4B,CAAC;EACrD,MAAMC,KAAK,GAAG,IAAID,GAAG,CAAqC,CAAC;EAG3D,MAAME,UAAU,GAAG,IAAIC,GAAG,CAAa,CAA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ACxD,IAAIM,qBAAqB,EAAE;UACzBA,qBAAqB,CAACC,MAAM,CAACT,IAAI,CAAC,GAAGI,aAAa,CAACK,MAAM,CAAC;UAC1DD,qBAAqB,CAACC,MAAM,GAAG7B,oBAAoB,CACjD4B,qBAAqB,CAACC,MACxB,CAAC;QACH,CAAC,MAAM;UACLH,QAAQ,GAAGF,aAAa;QAC1B;MACF,CAAC,MAAM;QACLnB,QAAQ,CAACW,GAAG,CAACpB,IAAI,EAAEF,IAAI,CAAC;MAC1B;MAEA;IACF;IAEAgB,KAAK,CAACU,IAAI,CAAC1B,IAAI,CAAC;EAClB;EAGA,KAAK,MAAM,GAAGoC,QAAQ,CAAC,IAAIvB,KAAK,EAAE;IAChCG,KAAK,CAACU,IAAI,CAACU,QAAQ,CAAC;EACtB;EAGA,KAAK,MAAM,GAAGC,WAAW,CAAC,IAAI1B,QAAQ,EAAE;IACtCK,KAAK,CAACU,IAAI,CAACW,WAAW,CAAC;EACzB;EAEA,OAAOrB,KAAK;AACd","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js b/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js new file mode 100644 index 0000000000000000000000000000000000000000..fb8db3157e112e675ad819cc2c4f687f972f63b5 --- /dev/null +++ b/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js @@ -0,0 +1,48 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = getAssignmentIdentifiers; +function getAssignmentIdentifiers(node) { + const search = [].concat(node); + const ids = Object.create(null); + while (search.length) { + const id = search.pop(); + if (!id) continue; + switch (id.type) { + case "ArrayPattern": + search.push(...id.elements); + break; + case "AssignmentExpression": + case "AssignmentPattern": + case "ForInStatement": + case "ForOfStatement": + search.push(id.left); + break; + case "ObjectPattern": + search.push(...id.properties); + break; + case "ObjectProperty": + search.push(id.value); + break; + case "RestElement": + case "UpdateExpression": + search.push(id.argument); + break; + case "UnaryExpression": + if (id.operator === "delete") { + search.push(id.argument); + } + break; + case "Identifier": + ids[id.name] = id; + break; + default: + break; + } + } + return ids; +} + +//# sourceMappingURL=getAssignmentIdentifiers.js.map diff --git a/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js.map b/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js.map new file mode 100644 index 0000000000000000000000000000000000000000..78d2ebd84c15d5cc237fcd0f03a4a6a5cbbb29a0 --- /dev/null +++ b/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js.map @@ -0,0 +1 @@ +{"version":3,"names":["getAssignmentIdentifiers","node","search","concat","ids","Object","create","length","id","pop","type","push","elements","left","properties","value","argument","operator","name"],"sources":["../../src/retrievers/getAssignmentIdentifiers.ts"],"sourcesContent":["import type * as t from \"../index.ts\";\n\n/**\n * For the given node, generate a map from assignment id names to the identifier node.\n * Unlike getBindingIdentifiers, this function does not handle declarations and imports.\n * @param node the assignment expression or forXstatement\n * @returns an object map\n * @see getBindingIdentifiers\n */\nexport default function getAssignmentIdentifiers(\n node: t.Node | t.Node[],\n): Record {\n // null represents holes in an array pattern\n const search: (t.Node | null)[] = [].concat(node);\n const ids = Object.create(null);\n\n while (search.length) {\n const id = search.pop();\n if (!id) continue;\n\n switch (id.type) {\n case \"ArrayPattern\":\n search.push(...id.elements);\n break;\n\n case \"AssignmentExpression\":\n case \"AssignmentPattern\":\n case \"ForInStatement\":\n case \"ForOfStatement\":\n search.push(id.left);\n break;\n\n case \"ObjectPattern\":\n search.push(...id.properties);\n break;\n\n case \"ObjectProperty\":\n search.push(id.value);\n break;\n\n case \"RestElement\":\n case \"UpdateExpression\":\n search.push(id.argument);\n break;\n\n case \"UnaryExpression\":\n if (id.operator === \"delete\") {\n search.push(id.argument);\n }\n break;\n\n case \"Identifier\":\n ids[id.name] = id;\n break;\n\n default:\n break;\n }\n }\n\n return ids;\n}\n"],"mappings":";;;;;;AASe,SAASA,wBAAwBA,CAC9CC,IAAuB,EACO;EAE9B,MAAMC,MAAyB,GAAG,EAAE,CAACC,MAAM,CAACF,IAAI,CAAC;EACjD,MAAMG,GAAG,GAAGC,MAAM,CAACC,MAAM,CAAC,IAAI,CAAC;EAE/B,OAAOJ,MAAM,CAACK,MAAM,EAAE;IACpB,MAAMC,EAAE,GAAGN,MAAM,CAACO,GAAG,CAAC,CAAC;IACvB,IAAI,CAACD,EAAE,EAAE;IAET,QAAQA,EAAE,CAACE,IAAI;MACb,KAAK,cAAc;QACjBR,MAAM,CAACS,IAAI,CAAC,GAAGH,EAAE,CAACI,QAAQ,CAAC;QAC3B;MAEF,KAAK,sBAAsB;MAC3B,KAAK,mBAAmB;MACxB,KAAK,gBAAgB;MACrB,KAAK,gBAAgB;QACnBV,MAAM,CAACS,IAAI,CAACH,EAAE,CAACK,IAAI,CAAC;QACpB;MAEF,KAAK,eAAe;QAClBX,MAAM,CAACS,IAAI,CAAC,GAAGH,EAAE,CAACM,UAAU,CAAC;QAC7B;MAEF,KAAK,gBAAgB;QACnBZ,MAAM,CAACS,IAAI,CAACH,EAAE,CAACO,KAAK,CAAC;QACrB;MAEF,KAAK,aAAa;MAClB,KAAK,kBAAkB;QACrBb,MAAM,CAACS,IAAI,CAACH,EAAE,CAACQ,QAAQ,CAAC;QACxB;MAEF,KAAK,iBAAiB;QACpB,IAAIR,EAAE,CAACS,QAAQ,KAAK,QAAQ,EAAE;UAC5Bf,MAAM,CAACS,IAAI,CAACH,EAAE,CAACQ,QAAQ,CAAC;QAC1B;QACA;MAEF,KAAK,YAAY;QACfZ,GAAG,CAACI,EAAE,CAACU,IAAI,CAAC,GAAGV,EAAE;QACjB;MAEF;QACE;IACJ;EACF;EAEA,OAAOJ,GAAG;AACZ","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js b/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js new file mode 100644 index 0000000000000000000000000000000000000000..e4fb8a072ee3d0b4bb33e86c22e1ebdeba2cf466 --- /dev/null +++ b/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js @@ -0,0 +1,102 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = getBindingIdentifiers; +var _index = require("../validators/generated/index.js"); +function getBindingIdentifiers(node, duplicates, outerOnly, newBindingsOnly) { + const search = [].concat(node); + const ids = Object.create(null); + while (search.length) { + const id = search.shift(); + if (!id) continue; + if (newBindingsOnly && ((0, _index.isAssignmentExpression)(id) || (0, _index.isUnaryExpression)(id) || (0, _index.isUpdateExpression)(id))) { + continue; + } + if ((0, _index.isIdentifier)(id)) { + if (duplicates) { + const _ids = ids[id.name] = ids[id.name] || []; + _ids.push(id); + } else { + ids[id.name] = id; + } + continue; + } + if ((0, _index.isExportDeclaration)(id) && !(0, _index.isExportAllDeclaration)(id)) { + if ((0, _index.isDeclaration)(id.declaration)) { + search.push(id.declaration); + } + continue; + } + if (outerOnly) { + if ((0, _index.isFunctionDeclaration)(id)) { + search.push(id.id); + continue; + } + if ((0, _index.isFunctionExpression)(id)) { + continue; + } + } + const keys = getBindingIdentifiers.keys[id.type]; + if (keys) { + for (let i = 0; i < keys.length; i++) { + const key = keys[i]; + const nodes = id[key]; + if (nodes) { + if (Array.isArray(nodes)) { + search.push(...nodes); + } else { + search.push(nodes); + } + } + } + } + } + return ids; +} +const keys = { + DeclareClass: ["id"], + DeclareFunction: ["id"], + DeclareModule: ["id"], + DeclareVariable: ["id"], + DeclareInterface: ["id"], + DeclareTypeAlias: ["id"], + DeclareOpaqueType: ["id"], + InterfaceDeclaration: ["id"], + TypeAlias: ["id"], + OpaqueType: ["id"], + CatchClause: ["param"], + LabeledStatement: ["label"], + UnaryExpression: ["argument"], + AssignmentExpression: ["left"], + ImportSpecifier: ["local"], + ImportNamespaceSpecifier: ["local"], + ImportDefaultSpecifier: ["local"], + ImportDeclaration: ["specifiers"], + TSImportEqualsDeclaration: ["id"], + ExportSpecifier: ["exported"], + ExportNamespaceSpecifier: ["exported"], + ExportDefaultSpecifier: ["exported"], + FunctionDeclaration: ["id", "params"], + FunctionExpression: ["id", "params"], + ArrowFunctionExpression: ["params"], + ObjectMethod: ["params"], + ClassMethod: ["params"], + ClassPrivateMethod: ["params"], + ForInStatement: ["left"], + ForOfStatement: ["left"], + ClassDeclaration: ["id"], + ClassExpression: ["id"], + RestElement: ["argument"], + UpdateExpression: ["argument"], + ObjectProperty: ["value"], + AssignmentPattern: ["left"], + ArrayPattern: ["elements"], + ObjectPattern: ["properties"], + VariableDeclaration: ["declarations"], + VariableDeclarator: ["id"] +}; +getBindingIdentifiers.keys = keys; + +//# sourceMappingURL=getBindingIdentifiers.js.map diff --git a/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js.map b/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js.map new file mode 100644 index 0000000000000000000000000000000000000000..74494d36fa92341729e785ebde45cfbc3ddd31c6 --- /dev/null +++ b/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_index","require","getBindingIdentifiers","node","duplicates","outerOnly","newBindingsOnly","search","concat","ids","Object","create","length","id","shift","isAssignmentExpression","isUnaryExpression","isUpdateExpression","isIdentifier","_ids","name","push","isExportDeclaration","isExportAllDeclaration","isDeclaration","declaration","isFunctionDeclaration","isFunctionExpression","keys","type","i","key","nodes","Array","isArray","DeclareClass","DeclareFunction","DeclareModule","DeclareVariable","DeclareInterface","DeclareTypeAlias","DeclareOpaqueType","InterfaceDeclaration","TypeAlias","OpaqueType","CatchClause","LabeledStatement","UnaryExpression","AssignmentExpression","ImportSpecifier","ImportNamespaceSpecifier","ImportDefaultSpecifier","ImportDeclaration","TSImportEqualsDeclaration","ExportSpecifier","ExportNamespaceSpecifier","ExportDefaultSpecifier","FunctionDeclaration","FunctionExpression","ArrowFunctionExpression","ObjectMethod","ClassMethod","ClassPrivateMethod","ForInStatement","ForOfStatement","ClassDeclaration","ClassExpression","RestElement","UpdateExpression","ObjectProperty","AssignmentPattern","ArrayPattern","ObjectPattern","VariableDeclaration","VariableDeclarator"],"sources":["../../src/retrievers/getBindingIdentifiers.ts"],"sourcesContent":["import {\n isExportDeclaration,\n isIdentifier,\n isClassExpression,\n isDeclaration,\n isFunctionDeclaration,\n isFunctionExpression,\n isExportAllDeclaration,\n isAssignmentExpression,\n isUnaryExpression,\n isUpdateExpression,\n} from \"../validators/generated/index.ts\";\nimport type * as t from \"../index.ts\";\n\nexport { getBindingIdentifiers as default };\n\nfunction getBindingIdentifiers(\n node: t.Node,\n duplicates: true,\n outerOnly?: boolean,\n newBindingsOnly?: boolean,\n): Record;\n\nfunction getBindingIdentifiers(\n node: t.Node,\n duplicates?: false,\n outerOnly?: boolean,\n newBindingsOnly?: boolean,\n): Record;\n\nfunction getBindingIdentifiers(\n node: t.Node,\n duplicates?: boolean,\n outerOnly?: boolean,\n newBindingsOnly?: boolean,\n): Record | Record;\n\n/**\n * Return a list of binding identifiers associated with the input `node`.\n */\nfunction getBindingIdentifiers(\n node: t.Node,\n duplicates?: boolean,\n outerOnly?: boolean,\n newBindingsOnly?: boolean,\n): Record | Record {\n const search: t.Node[] = [].concat(node);\n const ids = Object.create(null);\n\n while (search.length) {\n const id = search.shift();\n if (!id) continue;\n\n if (\n newBindingsOnly &&\n // These nodes do not introduce _new_ bindings, but they are included\n // in getBindingIdentifiers.keys for backwards compatibility.\n // TODO(@nicolo-ribaudo): Check if we can remove them from .keys in a\n // backward-compatible way, and if not what we need to do to remove them\n // in Babel 8.\n (isAssignmentExpression(id) ||\n isUnaryExpression(id) ||\n isUpdateExpression(id))\n ) {\n continue;\n }\n\n if (isIdentifier(id)) {\n if (duplicates) {\n const _ids = (ids[id.name] = ids[id.name] || []);\n _ids.push(id);\n } else {\n ids[id.name] = id;\n }\n continue;\n }\n\n if (isExportDeclaration(id) && !isExportAllDeclaration(id)) {\n if (isDeclaration(id.declaration)) {\n search.push(id.declaration);\n }\n continue;\n }\n\n if (outerOnly) {\n if (isFunctionDeclaration(id)) {\n search.push(id.id);\n continue;\n }\n\n if (\n isFunctionExpression(id) ||\n (process.env.BABEL_8_BREAKING && isClassExpression(id))\n ) {\n continue;\n }\n }\n\n const keys = getBindingIdentifiers.keys[id.type];\n\n if (keys) {\n for (let i = 0; i < keys.length; i++) {\n const key = keys[i];\n const nodes =\n // @ts-expect-error key must present in id\n id[key] as t.Node[] | t.Node | undefined | null;\n if (nodes) {\n if (Array.isArray(nodes)) {\n search.push(...nodes);\n } else {\n search.push(nodes);\n }\n }\n }\n }\n }\n return ids;\n}\n\n/**\n * Mapping of types to their identifier keys.\n */\ntype KeysMap = {\n [N in t.Node as N[\"type\"]]?: (keyof N)[];\n};\n\nconst keys: KeysMap = {\n DeclareClass: [\"id\"],\n DeclareFunction: [\"id\"],\n DeclareModule: [\"id\"],\n DeclareVariable: [\"id\"],\n DeclareInterface: [\"id\"],\n DeclareTypeAlias: [\"id\"],\n DeclareOpaqueType: [\"id\"],\n InterfaceDeclaration: [\"id\"],\n TypeAlias: [\"id\"],\n OpaqueType: [\"id\"],\n\n CatchClause: [\"param\"],\n LabeledStatement: [\"label\"],\n UnaryExpression: [\"argument\"],\n AssignmentExpression: [\"left\"],\n\n ImportSpecifier: [\"local\"],\n ImportNamespaceSpecifier: [\"local\"],\n ImportDefaultSpecifier: [\"local\"],\n ImportDeclaration: [\"specifiers\"],\n TSImportEqualsDeclaration: [\"id\"],\n\n ExportSpecifier: [\"exported\"],\n ExportNamespaceSpecifier: [\"exported\"],\n ExportDefaultSpecifier: [\"exported\"],\n\n FunctionDeclaration: [\"id\", \"params\"],\n FunctionExpression: [\"id\", \"params\"],\n ArrowFunctionExpression: [\"params\"],\n ObjectMethod: [\"params\"],\n ClassMethod: [\"params\"],\n ClassPrivateMethod: [\"params\"],\n\n ForInStatement: [\"left\"],\n ForOfStatement: [\"left\"],\n\n ClassDeclaration: [\"id\"],\n ClassExpression: [\"id\"],\n\n RestElement: [\"argument\"],\n UpdateExpression: [\"argument\"],\n\n ObjectProperty: [\"value\"],\n\n AssignmentPattern: [\"left\"],\n ArrayPattern: [\"elements\"],\n ObjectPattern: [\"properties\"],\n\n VariableDeclaration: [\"declarations\"],\n VariableDeclarator: [\"id\"],\n};\n\ngetBindingIdentifiers.keys = keys;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAwCA,SAASC,qBAAqBA,CAC5BC,IAAY,EACZC,UAAoB,EACpBC,SAAmB,EACnBC,eAAyB,EACsC;EAC/D,MAAMC,MAAgB,GAAG,EAAE,CAACC,MAAM,CAACL,IAAI,CAAC;EACxC,MAAMM,GAAG,GAAGC,MAAM,CAACC,MAAM,CAAC,IAAI,CAAC;EAE/B,OAAOJ,MAAM,CAACK,MAAM,EAAE;IACpB,MAAMC,EAAE,GAAGN,MAAM,CAACO,KAAK,CAAC,CAAC;IACzB,IAAI,CAACD,EAAE,EAAE;IAET,IACEP,eAAe,KAMd,IAAAS,6BAAsB,EAACF,EAAE,CAAC,IACzB,IAAAG,wBAAiB,EAACH,EAAE,CAAC,IACrB,IAAAI,yBAAkB,EAACJ,EAAE,CAAC,CAAC,EACzB;MACA;IACF;IAEA,IAAI,IAAAK,mBAAY,EAACL,EAAE,CAAC,EAAE;MACpB,IAAIT,UAAU,EAAE;QACd,MAAMe,IAAI,GAAIV,GAAG,CAACI,EAAE,CAACO,IAAI,CAAC,GAAGX,GAAG,CAACI,EAAE,CAACO,IAAI,CAAC,IAAI,EAAG;QAChDD,IAAI,CAACE,IAAI,CAACR,EAAE,CAAC;MACf,CAAC,MAAM;QACLJ,GAAG,CAACI,EAAE,CAACO,IAAI,CAAC,GAAGP,EAAE;MACnB;MACA;IACF;IAEA,IAAI,IAAAS,0BAAmB,EAACT,EAAE,CAAC,IAAI,CAAC,IAAAU,6BAAsB,EAACV,EAAE,CAAC,EAAE;MAC1D,IAAI,IAAAW,oBAAa,EAACX,EAAE,CAACY,WAAW,CAAC,EAAE;QACjClB,MAAM,CAACc,IAAI,CAACR,E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GA,IAAI","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/retrievers/getFunctionName.js b/node_modules/@babel/types/lib/retrievers/getFunctionName.js new file mode 100644 index 0000000000000000000000000000000000000000..43d33d78fdb0a868f489b2348d5be0a4196af59f --- /dev/null +++ b/node_modules/@babel/types/lib/retrievers/getFunctionName.js @@ -0,0 +1,63 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = getFunctionName; +var _index = require("../validators/generated/index.js"); +function getNameFromLiteralId(id) { + if ((0, _index.isNullLiteral)(id)) { + return "null"; + } + if ((0, _index.isRegExpLiteral)(id)) { + return `/${id.pattern}/${id.flags}`; + } + if ((0, _index.isTemplateLiteral)(id)) { + return id.quasis.map(quasi => quasi.value.raw).join(""); + } + if (id.value !== undefined) { + return String(id.value); + } + return null; +} +function getObjectMemberKey(node) { + if (!node.computed || (0, _index.isLiteral)(node.key)) { + return node.key; + } +} +function getFunctionName(node, parent) { + if ("id" in node && node.id) { + return { + name: node.id.name, + originalNode: node.id + }; + } + let prefix = ""; + let id; + if ((0, _index.isObjectProperty)(parent, { + value: node + })) { + id = getObjectMemberKey(parent); + } else if ((0, _index.isObjectMethod)(node) || (0, _index.isClassMethod)(node)) { + id = getObjectMemberKey(node); + if (node.kind === "get") prefix = "get ";else if (node.kind === "set") prefix = "set "; + } else if ((0, _index.isVariableDeclarator)(parent, { + init: node + })) { + id = parent.id; + } else if ((0, _index.isAssignmentExpression)(parent, { + operator: "=", + right: node + })) { + id = parent.left; + } + if (!id) return null; + const name = (0, _index.isLiteral)(id) ? getNameFromLiteralId(id) : (0, _index.isIdentifier)(id) ? id.name : (0, _index.isPrivateName)(id) ? id.id.name : null; + if (name == null) return null; + return { + name: prefix + name, + originalNode: id + }; +} + +//# sourceMappingURL=getFunctionName.js.map diff --git a/node_modules/@babel/types/lib/retrievers/getFunctionName.js.map b/node_modules/@babel/types/lib/retrievers/getFunctionName.js.map new file mode 100644 index 0000000000000000000000000000000000000000..be68ebd777e8df0d07e375a177ede1f1cf0a1c43 --- /dev/null +++ b/node_modules/@babel/types/lib/retrievers/getFunctionName.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_index","require","getNameFromLiteralId","id","isNullLiteral","isRegExpLiteral","pattern","flags","isTemplateLiteral","quasis","map","quasi","value","raw","join","undefined","String","getObjectMemberKey","node","computed","isLiteral","key","getFunctionName","parent","name","originalNode","prefix","isObjectProperty","isObjectMethod","isClassMethod","kind","isVariableDeclarator","init","isAssignmentExpression","operator","right","left","isIdentifier","isPrivateName"],"sources":["../../src/retrievers/getFunctionName.ts"],"sourcesContent":["import type * as t from \"../index.ts\";\n\nimport {\n isAssignmentExpression,\n isClassMethod,\n isIdentifier,\n isLiteral,\n isNullLiteral,\n isObjectMethod,\n isObjectProperty,\n isPrivateName,\n isRegExpLiteral,\n isTemplateLiteral,\n isVariableDeclarator,\n} from \"../validators/generated/index.ts\";\n\nfunction getNameFromLiteralId(id: t.Literal): string {\n if (isNullLiteral(id)) {\n return \"null\";\n }\n\n if (isRegExpLiteral(id)) {\n return `/${id.pattern}/${id.flags}`;\n }\n\n if (isTemplateLiteral(id)) {\n return id.quasis.map(quasi => quasi.value.raw).join(\"\");\n }\n\n if (id.value !== undefined) {\n return String(id.value);\n }\n\n return null;\n}\n\nfunction getObjectMemberKey(\n node: t.ObjectProperty | t.ObjectMethod | t.ClassProperty | t.ClassMethod,\n): t.Expression | t.PrivateName {\n if (!node.computed || isLiteral(node.key)) {\n return node.key;\n }\n}\n\ntype GetFunctionNameResult = {\n name: string;\n originalNode: t.Node;\n} | null;\n\nexport default function getFunctionName(\n node: t.ObjectMethod | t.ClassMethod,\n): GetFunctionNameResult;\nexport default function getFunctionName(\n node: t.Function | t.Class,\n parent: t.Node,\n): GetFunctionNameResult;\nexport default function getFunctionName(\n node: t.Function | t.Class,\n parent?: t.Node,\n): GetFunctionNameResult {\n if (\"id\" in node && node.id) {\n return {\n name: node.id.name,\n originalNode: node.id,\n };\n }\n\n let prefix = \"\";\n\n let id;\n if (isObjectProperty(parent, { value: node })) {\n // { foo: () => {} };\n id = getObjectMemberKey(parent);\n } else if (isObjectMethod(node) || isClassMethod(node)) {\n // { foo() {} };\n id = getObjectMemberKey(node);\n if (node.kind === \"get\") prefix = \"get \";\n else if (node.kind === \"set\") prefix = \"set \";\n } else if (isVariableDeclarator(parent, { init: node })) {\n // let foo = function () {};\n id = parent.id;\n } else if (isAssignmentExpression(parent, { operator: \"=\", right: node })) {\n // foo = function () {};\n id = parent.left;\n }\n\n if (!id) return null;\n\n const name = isLiteral(id)\n ? getNameFromLiteralId(id)\n : isIdentifier(id)\n ? id.name\n : isPrivateName(id)\n ? id.id.name\n : null;\n if (name == null) return null;\n\n return { name: prefix + name, originalNode: id };\n}\n"],"mappings":";;;;;;AAEA,IAAAA,MAAA,GAAAC,OAAA;AAcA,SAASC,oBAAoBA,CAACC,EAAa,EAAU;EACnD,IAAI,IAAAC,oBAAa,EAACD,EAAE,CAAC,EAAE;IACrB,OAAO,MAAM;EACf;EAEA,IAAI,IAAAE,sBAAe,EAACF,EAAE,CAAC,EAAE;IACvB,OAAO,IAAIA,EAAE,CAACG,OAAO,IAAIH,EAAE,CAACI,KAAK,EAAE;EACrC;EAEA,IAAI,IAAAC,wBAAiB,EAACL,EAAE,CAAC,EAAE;IACzB,OAAOA,EAAE,CAACM,MAAM,CAACC,GAAG,CAACC,KAAK,IAAIA,KAAK,CAACC,KAAK,CAACC,GAAG,CAAC,CAACC,IAAI,CAAC,EAAE,CAAC;EACzD;EAEA,IAAIX,EAAE,CAACS,KAAK,KAAKG,SAAS,EAAE;IAC1B,OAAOC,MAAM,CAACb,EAAE,CAACS,KAAK,CAAC;EACzB;EAEA,OAAO,IAAI;AACb;AAEA,SAASK,kBAAkBA,CACzBC,IAAyE,EAC3C;EAC9B,IAAI,CAACA,IAAI,CAACC,QAAQ,IAAI,IAAAC,gBAAS,EAACF,IAAI,CAACG,GAAG,CAAC,EAAE;IACzC,OAA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AAY,EAAClC,EAAE,CAAC,GACdA,EAAE,CAACqB,IAAI,GACP,IAAAc,oBAAa,EAACnC,EAAE,CAAC,GACfA,EAAE,CAACA,EAAE,CAACqB,IAAI,GACV,IAAI;EACZ,IAAIA,IAAI,IAAI,IAAI,EAAE,OAAO,IAAI;EAE7B,OAAO;IAAEA,IAAI,EAAEE,MAAM,GAAGF,IAAI;IAAEC,YAAY,EAAEtB;EAAG,CAAC;AAClD","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js b/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js new file mode 100644 index 0000000000000000000000000000000000000000..f51c47b5f89fea07e7a05568c4bb811c13c57bd0 --- /dev/null +++ b/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js @@ -0,0 +1,13 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _getBindingIdentifiers = require("./getBindingIdentifiers.js"); +var _default = exports.default = getOuterBindingIdentifiers; +function getOuterBindingIdentifiers(node, duplicates) { + return (0, _getBindingIdentifiers.default)(node, duplicates, true); +} + +//# sourceMappingURL=getOuterBindingIdentifiers.js.map diff --git a/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js.map b/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js.map new file mode 100644 index 0000000000000000000000000000000000000000..55cadd5797f7c9ac6b5d91a067bfc38fd7494637 --- /dev/null +++ b/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_getBindingIdentifiers","require","_default","exports","default","getOuterBindingIdentifiers","node","duplicates","getBindingIdentifiers"],"sources":["../../src/retrievers/getOuterBindingIdentifiers.ts"],"sourcesContent":["import getBindingIdentifiers from \"./getBindingIdentifiers.ts\";\nimport type * as t from \"../index.ts\";\n\nexport default getOuterBindingIdentifiers as {\n (node: t.Node, duplicates: true): Record;\n (node: t.Node, duplicates?: false): Record;\n (\n node: t.Node,\n duplicates?: boolean,\n ): Record | Record;\n};\n\nfunction getOuterBindingIdentifiers(\n node: t.Node,\n duplicates: boolean,\n): Record | Record {\n return getBindingIdentifiers(node, duplicates, true);\n}\n"],"mappings":";;;;;;AAAA,IAAAA,sBAAA,GAAAC,OAAA;AAA+D,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAGhDC,0BAA0B;AASzC,SAASA,0BAA0BA,CACjCC,IAAY,EACZC,UAAmB,EAC4C;EAC/D,OAAO,IAAAC,8BAAqB,EAACF,IAAI,EAAEC,UAAU,EAAE,IAAI,CAAC;AACtD","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/traverse/traverse.js b/node_modules/@babel/types/lib/traverse/traverse.js new file mode 100644 index 0000000000000000000000000000000000000000..77b0c3736f94a67328d532be672d3ec9a928f1ed --- /dev/null +++ b/node_modules/@babel/types/lib/traverse/traverse.js @@ -0,0 +1,50 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = traverse; +var _index = require("../definitions/index.js"); +function traverse(node, handlers, state) { + if (typeof handlers === "function") { + handlers = { + enter: handlers + }; + } + const { + enter, + exit + } = handlers; + traverseSimpleImpl(node, enter, exit, state, []); +} +function traverseSimpleImpl(node, enter, exit, state, ancestors) { + const keys = _index.VISITOR_KEYS[node.type]; + if (!keys) return; + if (enter) enter(node, ancestors, state); + for (const key of keys) { + const subNode = node[key]; + if (Array.isArray(subNode)) { + for (let i = 0; i < subNode.length; i++) { + const child = subNode[i]; + if (!child) continue; + ancestors.push({ + node, + key, + index: i + }); + traverseSimpleImpl(child, enter, exit, state, ancestors); + ancestors.pop(); + } + } else if (subNode) { + ancestors.push({ + node, + key + }); + traverseSimpleImpl(subNode, enter, exit, state, ancestors); + ancestors.pop(); + } + } + if (exit) exit(node, ancestors, state); +} + +//# sourceMappingURL=traverse.js.map diff --git a/node_modules/@babel/types/lib/traverse/traverse.js.map b/node_modules/@babel/types/lib/traverse/traverse.js.map new file mode 100644 index 0000000000000000000000000000000000000000..9359c676c57b2d9d43b111363dccf4cc5a82faf2 --- /dev/null +++ b/node_modules/@babel/types/lib/traverse/traverse.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_index","require","traverse","node","handlers","state","enter","exit","traverseSimpleImpl","ancestors","keys","VISITOR_KEYS","type","key","subNode","Array","isArray","i","length","child","push","index","pop"],"sources":["../../src/traverse/traverse.ts"],"sourcesContent":["import { VISITOR_KEYS } from \"../definitions/index.ts\";\nimport type * as t from \"../index.ts\";\n\nexport type TraversalAncestors = {\n node: t.Node;\n key: string;\n index?: number;\n}[];\n\nexport type TraversalHandler = (\n this: undefined,\n node: t.Node,\n parent: TraversalAncestors,\n state: T,\n) => void;\n\nexport type TraversalHandlers = {\n enter?: TraversalHandler;\n exit?: TraversalHandler;\n};\n\n/**\n * A general AST traversal with both prefix and postfix handlers, and a\n * state object. Exposes ancestry data to each handler so that more complex\n * AST data can be taken into account.\n */\nexport default function traverse(\n node: t.Node,\n handlers: TraversalHandler | TraversalHandlers,\n state?: T,\n): void {\n if (typeof handlers === \"function\") {\n handlers = { enter: handlers };\n }\n\n const { enter, exit } = handlers;\n\n traverseSimpleImpl(node, enter, exit, state, []);\n}\n\nfunction traverseSimpleImpl(\n node: any,\n enter: Function | undefined,\n exit: Function | undefined,\n state: T | undefined,\n ancestors: TraversalAncestors,\n) {\n const keys = VISITOR_KEYS[node.type];\n if (!keys) return;\n\n if (enter) enter(node, ancestors, state);\n\n for (const key of keys) {\n const subNode = node[key];\n\n if (Array.isArray(subNode)) {\n for (let i = 0; i < subNode.length; i++) {\n const child = subNode[i];\n if (!child) continue;\n\n ancestors.push({\n node,\n key,\n index: i,\n });\n\n traverseSimpleImpl(child, enter, exit, state, ancestors);\n\n ancestors.pop();\n }\n } else if (subNode) {\n ancestors.push({\n node,\n key,\n });\n\n traverseSimpleImpl(subNode, enter, exit, state, ancestors);\n\n ancestors.pop();\n }\n }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ACF,CAAC,MAAM,IAAIR,OAAO,EAAE;MAClBL,SAAS,CAACW,IAAI,CAAC;QACbjB,IAAI;QACJU;MACF,CAAC,CAAC;MAEFL,kBAAkB,CAACM,OAAO,EAAER,KAAK,EAAEC,IAAI,EAAEF,KAAK,EAAEI,SAAS,CAAC;MAE1DA,SAAS,CAACa,GAAG,CAAC,CAAC;IACjB;EACF;EAEA,IAAIf,IAAI,EAAEA,IAAI,CAACJ,IAAI,EAAEM,SAAS,EAAEJ,KAAK,CAAC;AACxC","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/traverse/traverseFast.js b/node_modules/@babel/types/lib/traverse/traverseFast.js new file mode 100644 index 0000000000000000000000000000000000000000..2b1d84e0d8acb47a0c0d0c9675278fd49b03ebb4 --- /dev/null +++ b/node_modules/@babel/types/lib/traverse/traverseFast.js @@ -0,0 +1,40 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = traverseFast; +var _index = require("../definitions/index.js"); +const _skip = Symbol(); +const _stop = Symbol(); +function traverseFast(node, enter, opts) { + if (!node) return false; + const keys = _index.VISITOR_KEYS[node.type]; + if (!keys) return false; + opts = opts || {}; + const ret = enter(node, opts); + if (ret !== undefined) { + switch (ret) { + case _skip: + return false; + case _stop: + return true; + } + } + for (const key of keys) { + const subNode = node[key]; + if (!subNode) continue; + if (Array.isArray(subNode)) { + for (const node of subNode) { + if (traverseFast(node, enter, opts)) return true; + } + } else { + if (traverseFast(subNode, enter, opts)) return true; + } + } + return false; +} +traverseFast.skip = _skip; +traverseFast.stop = _stop; + +//# sourceMappingURL=traverseFast.js.map diff --git a/node_modules/@babel/types/lib/traverse/traverseFast.js.map b/node_modules/@babel/types/lib/traverse/traverseFast.js.map new file mode 100644 index 0000000000000000000000000000000000000000..11e1524dae338009e9c6bec3c48760fc585bca96 --- /dev/null +++ b/node_modules/@babel/types/lib/traverse/traverseFast.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_index","require","_skip","Symbol","_stop","traverseFast","node","enter","opts","keys","VISITOR_KEYS","type","ret","undefined","key","subNode","Array","isArray","skip","stop"],"sources":["../../src/traverse/traverseFast.ts"],"sourcesContent":["import { VISITOR_KEYS } from \"../definitions/index.ts\";\nimport type * as t from \"../index.ts\";\n\nconst _skip = Symbol();\nconst _stop = Symbol();\n\n/**\n * A prefix AST traversal implementation meant for simple searching and processing.\n * @param enter The callback can return `traverseFast.skip` to skip the subtree of the current node, or `traverseFast.stop` to stop the traversal.\n * @returns `true` if the traversal was stopped by callback, `false` otherwise.\n */\nexport default function traverseFast(\n node: t.Node | null | undefined,\n enter: (\n node: t.Node,\n opts?: Options,\n ) => void | typeof traverseFast.skip | typeof traverseFast.stop,\n opts?: Options,\n): boolean {\n if (!node) return false;\n\n const keys = VISITOR_KEYS[node.type];\n if (!keys) return false;\n\n opts = opts || ({} as Options);\n const ret = enter(node, opts);\n if (ret !== undefined) {\n switch (ret) {\n case _skip:\n return false;\n case _stop:\n return true;\n }\n }\n\n for (const key of keys) {\n const subNode: t.Node | undefined | null =\n // @ts-expect-error key must present in node\n node[key];\n\n if (!subNode) continue;\n\n if (Array.isArray(subNode)) {\n for (const node of subNode) {\n if (traverseFast(node, enter, opts)) return true;\n }\n } else {\n if (traverseFast(subNode, enter, opts)) return true;\n }\n }\n return false;\n}\n\ntraverseFast.skip = _skip;\ntraverseFast.stop = _stop;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAGA,MAAMC,KAAK,GAAGC,MAAM,CAAC,CAAC;AACtB,MAAMC,KAAK,GAAGD,MAAM,CAAC,CAAC;AAOP,SAASE,YAAYA,CAClCC,IAA+B,EAC/BC,KAG+D,EAC/DC,IAAc,EACL;EACT,IAAI,CAACF,IAAI,EAAE,OAAO,KAAK;EAEvB,MAAMG,IAAI,GAAGC,mBAAY,CAACJ,IAAI,CAACK,IAAI,CAAC;EACpC,IAAI,CAACF,IAAI,EAAE,OAAO,KAAK;EAEvBD,IAAI,GAAGA,IAAI,IAAK,CAAC,CAAa;EAC9B,MAAMI,GAAG,GAAGL,KAAK,CAACD,IAAI,EAAEE,IAAI,CAAC;EAC7B,IAAII,GAAG,KAAKC,SAAS,EAAE;IACrB,QAAQD,GAAG;MACT,KAAKV,KAAK;QACR,OAAO,KAAK;MACd,KAAKE,KAAK;QACR,OAAO,IAAI;IACf;EACF;EAEA,KAAK,MAAMU,GAAG,IAAIL,IAAI,EAAE;IACtB,MAAMM,OAAkC,GAEtCT,IAAI,CAACQ,GAAG,CAAC;IAEX,IAAI,CAACC,OAAO,EAAE;IAEd,IAAIC,KAAK,CAACC,OAAO,CAACF,OAAO,CAAC,EAAE;MAC1B,KAAK,MAAMT,IAAI,IAAIS,OAAO,EAAE;QAC1B,IAAIV,YAAY,CAACC,IAAI,EAAEC,KAAK,EAAEC,IAAI,CAAC,EAAE,OAAO,IAAI;MAClD;IACF,CAAC,MAAM;MACL,IAAIH,YAAY,CAACU,OAAO,EAAER,KAAK,EAAEC,IAAI,CAAC,EAAE,OAAO,IAAI;IACrD;EACF;EACA,OAAO,KAAK;AACd;AAEAH,YAAY,CAACa,IAAI,GAAGhB,KAAK;AACzBG,YAAY,CAACc,IAAI,GAAGf,KAAK","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/utils/deprecationWarning.js b/node_modules/@babel/types/lib/utils/deprecationWarning.js new file mode 100644 index 0000000000000000000000000000000000000000..6c3693826b881f42a5a09724af29ba80bd286c17 --- /dev/null +++ b/node_modules/@babel/types/lib/utils/deprecationWarning.js @@ -0,0 +1,44 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = deprecationWarning; +const warnings = new Set(); +function deprecationWarning(oldName, newName, prefix = "", cacheKey = oldName) { + if (warnings.has(cacheKey)) return; + warnings.add(cacheKey); + const { + internal, + trace + } = captureShortStackTrace(1, 2); + if (internal) { + return; + } + console.warn(`${prefix}\`${oldName}\` has been deprecated, please migrate to \`${newName}\`\n${trace}`); +} +function captureShortStackTrace(skip, length) { + const { + stackTraceLimit, + prepareStackTrace + } = Error; + let stackTrace; + Error.stackTraceLimit = 1 + skip + length; + Error.prepareStackTrace = function (err, stack) { + stackTrace = stack; + }; + new Error().stack; + Error.stackTraceLimit = stackTraceLimit; + Error.prepareStackTrace = prepareStackTrace; + if (!stackTrace) return { + internal: false, + trace: "" + }; + const shortStackTrace = stackTrace.slice(1 + skip, 1 + skip + length); + return { + internal: /[\\/]@babel[\\/]/.test(shortStackTrace[1].getFileName()), + trace: shortStackTrace.map(frame => ` at ${frame}`).join("\n") + }; +} + +//# sourceMappingURL=deprecationWarning.js.map diff --git a/node_modules/@babel/types/lib/utils/deprecationWarning.js.map b/node_modules/@babel/types/lib/utils/deprecationWarning.js.map new file mode 100644 index 0000000000000000000000000000000000000000..1d96e3ee95964d1c38594ebc20878bcdd03d85b7 --- /dev/null +++ b/node_modules/@babel/types/lib/utils/deprecationWarning.js.map @@ -0,0 +1 @@ +{"version":3,"names":["warnings","Set","deprecationWarning","oldName","newName","prefix","cacheKey","has","add","internal","trace","captureShortStackTrace","console","warn","skip","length","stackTraceLimit","prepareStackTrace","Error","stackTrace","err","stack","shortStackTrace","slice","test","getFileName","map","frame","join"],"sources":["../../src/utils/deprecationWarning.ts"],"sourcesContent":["const warnings = new Set();\n\nexport default function deprecationWarning(\n oldName: string,\n newName: string,\n prefix: string = \"\",\n cacheKey: string = oldName,\n) {\n if (warnings.has(cacheKey)) return;\n warnings.add(cacheKey);\n\n const { internal, trace } = captureShortStackTrace(1, 2);\n if (internal) {\n // If usage comes from an internal package, there is no point in warning because\n // 1. The new version of the package will already use the new API\n // 2. When the deprecation will become an error (in a future major version), users\n // will have to update every package anyway.\n return;\n }\n console.warn(\n `${prefix}\\`${oldName}\\` has been deprecated, please migrate to \\`${newName}\\`\\n${trace}`,\n );\n}\n\nfunction captureShortStackTrace(skip: number, length: number) {\n const { stackTraceLimit, prepareStackTrace } = Error;\n let stackTrace: NodeJS.CallSite[];\n // We add 1 to also take into account this function.\n Error.stackTraceLimit = 1 + skip + length;\n Error.prepareStackTrace = function (err, stack) {\n stackTrace = stack;\n };\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions\n new Error().stack;\n Error.stackTraceLimit = stackTraceLimit;\n Error.prepareStackTrace = prepareStackTrace;\n\n if (!stackTrace) return { internal: false, trace: \"\" };\n\n const shortStackTrace = stackTrace.slice(1 + skip, 1 + skip + length);\n return {\n internal: /[\\\\/]@babel[\\\\/]/.test(shortStackTrace[1].getFileName()),\n trace: shortStackTrace.map(frame => ` at ${frame}`).join(\"\\n\"),\n };\n}\n"],"mappings":";;;;;;AAAA,MAAMA,QAAQ,GAAG,IAAIC,GAAG,CAAC,CAAC;AAEX,SAASC,kBAAkBA,CACxCC,OAAe,EACfC,OAAe,EACfC,MAAc,GAAG,EAAE,EACnBC,QAAgB,GAAGH,OAAO,EAC1B;EACA,IAAIH,QAAQ,CAACO,GAAG,CAACD,QAAQ,CAAC,EAAE;EAC5BN,QAAQ,CAACQ,GAAG,CAACF,QAAQ,CAAC;EAEtB,MAAM;IAAEG,QAAQ;IAAEC;EAAM,CAAC,GAAGC,sBAAsB,CAAC,CAAC,EAAE,CAAC,CAAC;EACxD,IAAIF,QAAQ,EAAE;IAKZ;EACF;EACAG,OAAO,CAACC,IAAI,CACV,GAAGR,MAAM,KAAKF,OAAO,+CAA+CC,OAAO,OAAOM,KAAK,EACzF,CAAC;AACH;AAEA,SAASC,sBAAsBA,CAACG,IAAY,EAAEC,MAAc,EAAE;EAC5D,MAAM;IAAEC,eAAe;IAAEC;EAAkB,CAAC,GAAGC,KAAK;EACpD,IAAIC,UAA6B;EAEjCD,KAAK,CAACF,eAAe,GAAG,CAAC,GAAGF,IAAI,GAAGC,MAAM;EACzCG,KAAK,CAACD,iBAAiB,GAAG,UAAUG,GAAG,EAAEC,KAAK,EAAE;IAC9CF,UAAU,GAAGE,KAAK;EACpB,CAAC;EAED,IAAIH,KAAK,CAAC,CAAC,CAACG,KAAK;EACjBH,KAAK,CAACF,eAAe,GAAGA,eAAe;EACvCE,KAAK,CAACD,iBAAiB,GAAGA,iBAAiB;EAE3C,IAAI,CAACE,UAAU,EAAE,OAAO;IAAEV,QAAQ,EAAE,KAAK;IAAEC,KAAK,EAAE;EAAG,CAAC;EAEtD,MAAMY,eAAe,GAAGH,UAAU,CAACI,KAAK,CAAC,CAAC,GAAGT,IAAI,EAAE,CAAC,GAAGA,IAAI,GAAGC,MAAM,CAAC;EACrE,OAAO;IACLN,QAAQ,EAAE,kBAAkB,CAACe,IAAI,CAACF,eAAe,CAAC,CAAC,CAAC,CAACG,WAAW,CAAC,CAAC,CAAC;IACnEf,KAAK,EAAEY,eAAe,CAACI,GAAG,CAACC,KAAK,IAAI,UAAUA,KAAK,EAAE,CAAC,CAACC,IAAI,CAAC,IAAI;EAClE,CAAC;AACH","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/utils/inherit.js b/node_modules/@babel/types/lib/utils/inherit.js new file mode 100644 index 0000000000000000000000000000000000000000..9023d2c4d9519a0ebac51aaada09e0e7e790d4da --- /dev/null +++ b/node_modules/@babel/types/lib/utils/inherit.js @@ -0,0 +1,13 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = inherit; +function inherit(key, child, parent) { + if (child && parent) { + child[key] = Array.from(new Set([].concat(child[key], parent[key]).filter(Boolean))); + } +} + +//# sourceMappingURL=inherit.js.map diff --git a/node_modules/@babel/types/lib/utils/inherit.js.map b/node_modules/@babel/types/lib/utils/inherit.js.map new file mode 100644 index 0000000000000000000000000000000000000000..8cfeaa14bc8ee861064b4ee1334e80fd2df7db16 --- /dev/null +++ b/node_modules/@babel/types/lib/utils/inherit.js.map @@ -0,0 +1 @@ +{"version":3,"names":["inherit","key","child","parent","Array","from","Set","concat","filter","Boolean"],"sources":["../../src/utils/inherit.ts"],"sourcesContent":["import type * as t from \"../index.ts\";\n\nexport default function inherit<\n C extends t.Node | undefined,\n P extends t.Node | undefined,\n>(key: keyof C & keyof P, child: C, parent: P): void {\n if (child && parent) {\n // @ts-expect-error Could further refine key definitions\n child[key] = Array.from(\n new Set([].concat(child[key], parent[key]).filter(Boolean)),\n );\n }\n}\n"],"mappings":";;;;;;AAEe,SAASA,OAAOA,CAG7BC,GAAsB,EAAEC,KAAQ,EAAEC,MAAS,EAAQ;EACnD,IAAID,KAAK,IAAIC,MAAM,EAAE;IAEnBD,KAAK,CAACD,GAAG,CAAC,GAAGG,KAAK,CAACC,IAAI,CACrB,IAAIC,GAAG,CAAC,EAAE,CAACC,MAAM,CAACL,KAAK,CAACD,GAAG,CAAC,EAAEE,MAAM,CAACF,GAAG,CAAC,CAAC,CAACO,MAAM,CAACC,OAAO,CAAC,CAC5D,CAAC;EACH;AACF","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js b/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js new file mode 100644 index 0000000000000000000000000000000000000000..276f2dd982a55cd13fafce53d938a15f3b11baca --- /dev/null +++ b/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js @@ -0,0 +1,40 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = cleanJSXElementLiteralChild; +var _index = require("../../builders/generated/index.js"); +var _index2 = require("../../index.js"); +function cleanJSXElementLiteralChild(child, args) { + const lines = child.value.split(/\r\n|\n|\r/); + let lastNonEmptyLine = 0; + for (let i = 0; i < lines.length; i++) { + if (/[^ \t]/.exec(lines[i])) { + lastNonEmptyLine = i; + } + } + let str = ""; + for (let i = 0; i < lines.length; i++) { + const line = lines[i]; + const isFirstLine = i === 0; + const isLastLine = i === lines.length - 1; + const isLastNonEmptyLine = i === lastNonEmptyLine; + let trimmedLine = line.replace(/\t/g, " "); + if (!isFirstLine) { + trimmedLine = trimmedLine.replace(/^ +/, ""); + } + if (!isLastLine) { + trimmedLine = trimmedLine.replace(/ +$/, ""); + } + if (trimmedLine) { + if (!isLastNonEmptyLine) { + trimmedLine += " "; + } + str += trimmedLine; + } + } + if (str) args.push((0, _index2.inherits)((0, _index.stringLiteral)(str), child)); +} + +//# sourceMappingURL=cleanJSXElementLiteralChild.js.map diff --git a/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js.map b/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js.map new file mode 100644 index 0000000000000000000000000000000000000000..84d02a3f75ad241d1f37d6b05cbcf33bf7f3f318 --- /dev/null +++ b/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_index","require","_index2","cleanJSXElementLiteralChild","child","args","lines","value","split","lastNonEmptyLine","i","length","exec","str","line","isFirstLine","isLastLine","isLastNonEmptyLine","trimmedLine","replace","push","inherits","stringLiteral"],"sources":["../../../src/utils/react/cleanJSXElementLiteralChild.ts"],"sourcesContent":["import { stringLiteral } from \"../../builders/generated/index.ts\";\nimport type * as t from \"../../index.ts\";\nimport { inherits } from \"../../index.ts\";\n\nexport default function cleanJSXElementLiteralChild(\n child: t.JSXText,\n args: t.Node[],\n) {\n const lines = child.value.split(/\\r\\n|\\n|\\r/);\n\n let lastNonEmptyLine = 0;\n\n for (let i = 0; i < lines.length; i++) {\n if (/[^ \\t]/.exec(lines[i])) {\n lastNonEmptyLine = i;\n }\n }\n\n let str = \"\";\n\n for (let i = 0; i < lines.length; i++) {\n const line = lines[i];\n\n const isFirstLine = i === 0;\n const isLastLine = i === lines.length - 1;\n const isLastNonEmptyLine = i === lastNonEmptyLine;\n\n // replace rendered whitespace tabs with spaces\n let trimmedLine = line.replace(/\\t/g, \" \");\n\n // trim whitespace touching a newline\n if (!isFirstLine) {\n trimmedLine = trimmedLine.replace(/^ +/, \"\");\n }\n\n // trim whitespace touching an endline\n if (!isLastLine) {\n trimmedLine = trimmedLine.replace(/ +$/, \"\");\n }\n\n if (trimmedLine) {\n if (!isLastNonEmpty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B,EAAE;QACvBC,WAAW,IAAI,GAAG;MACpB;MAEAL,GAAG,IAAIK,WAAW;IACpB;EACF;EAEA,IAAIL,GAAG,EAAER,IAAI,CAACe,IAAI,CAAC,IAAAC,gBAAQ,EAAC,IAAAC,oBAAa,EAACT,GAAG,CAAC,EAAET,KAAK,CAAC,CAAC;AACzD","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/utils/shallowEqual.js b/node_modules/@babel/types/lib/utils/shallowEqual.js new file mode 100644 index 0000000000000000000000000000000000000000..9a1d6c71754b3d889cdd7cdb50c9c424a578bf78 --- /dev/null +++ b/node_modules/@babel/types/lib/utils/shallowEqual.js @@ -0,0 +1,17 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = shallowEqual; +function shallowEqual(actual, expected) { + const keys = Object.keys(expected); + for (const key of keys) { + if (actual[key] !== expected[key]) { + return false; + } + } + return true; +} + +//# sourceMappingURL=shallowEqual.js.map diff --git a/node_modules/@babel/types/lib/utils/shallowEqual.js.map b/node_modules/@babel/types/lib/utils/shallowEqual.js.map new file mode 100644 index 0000000000000000000000000000000000000000..11bc65aa6afc1093c35b9517779ccd89b491cf65 --- /dev/null +++ b/node_modules/@babel/types/lib/utils/shallowEqual.js.map @@ -0,0 +1 @@ +{"version":3,"names":["shallowEqual","actual","expected","keys","Object","key"],"sources":["../../src/utils/shallowEqual.ts"],"sourcesContent":["export default function shallowEqual(\n actual: object,\n expected: T,\n): actual is T {\n const keys = Object.keys(expected) as (keyof T)[];\n\n for (const key of keys) {\n if (\n // @ts-expect-error maybe we should check whether key exists first\n actual[key] !== expected[key]\n ) {\n return false;\n }\n }\n\n return true;\n}\n"],"mappings":";;;;;;AAAe,SAASA,YAAYA,CAClCC,MAAc,EACdC,QAAW,EACE;EACb,MAAMC,IAAI,GAAGC,MAAM,CAACD,IAAI,CAACD,QAAQ,CAAgB;EAEjD,KAAK,MAAMG,GAAG,IAAIF,IAAI,EAAE;IACtB,IAEEF,MAAM,CAACI,GAAG,CAAC,KAAKH,QAAQ,CAACG,GAAG,CAAC,EAC7B;MACA,OAAO,KAAK;IACd;EACF;EAEA,OAAO,IAAI;AACb","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js b/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js new file mode 100644 index 0000000000000000000000000000000000000000..dcde1dbf8c93963be254d6a887bba712126fd392 --- /dev/null +++ b/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js @@ -0,0 +1,13 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = buildMatchMemberExpression; +var _matchesPattern = require("./matchesPattern.js"); +function buildMatchMemberExpression(match, allowPartial) { + const parts = match.split("."); + return member => (0, _matchesPattern.default)(member, parts, allowPartial); +} + +//# sourceMappingURL=buildMatchMemberExpression.js.map diff --git a/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js.map b/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js.map new file mode 100644 index 0000000000000000000000000000000000000000..ef90b57ac9359c726d2a1d996c1511d1480153dc --- /dev/null +++ b/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_matchesPattern","require","buildMatchMemberExpression","match","allowPartial","parts","split","member","matchesPattern"],"sources":["../../src/validators/buildMatchMemberExpression.ts"],"sourcesContent":["import matchesPattern from \"./matchesPattern.ts\";\nimport type * as t from \"../index.ts\";\n\n/**\n * Build a function that when called will return whether or not the\n * input `node` `MemberExpression` matches the input `match`.\n *\n * For example, given the match `React.createClass` it would match the\n * parsed nodes of `React.createClass` and `React[\"createClass\"]`.\n */\nexport default function buildMatchMemberExpression(\n match: string,\n allowPartial?: boolean,\n) {\n const parts = match.split(\".\");\n\n return (member: t.Node) => matchesPattern(member, parts, allowPartial);\n}\n"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AAUe,SAASC,0BAA0BA,CAChDC,KAAa,EACbC,YAAsB,EACtB;EACA,MAAMC,KAAK,GAAGF,KAAK,CAACG,KAAK,CAAC,GAAG,CAAC;EAE9B,OAAQC,MAAc,IAAK,IAAAC,uBAAc,EAACD,MAAM,EAAEF,KAAK,EAAED,YAAY,CAAC;AACxE","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/validators/generated/index.js b/node_modules/@babel/types/lib/validators/generated/index.js new file mode 100644 index 0000000000000000000000000000000000000000..a26bea27d32e52fdf54f0a4ab098511c3da7fc31 --- /dev/null +++ b/node_modules/@babel/types/lib/validators/generated/index.js @@ -0,0 +1,2797 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.isAccessor = isAccessor; +exports.isAnyTypeAnnotation = isAnyTypeAnnotation; +exports.isArgumentPlaceholder = isArgumentPlaceholder; +exports.isArrayExpression = isArrayExpression; +exports.isArrayPattern = isArrayPattern; +exports.isArrayTypeAnnotation = isArrayTypeAnnotation; +exports.isArrowFunctionExpression = isArrowFunctionExpression; +exports.isAssignmentExpression = isAssignmentExpression; +exports.isAssignmentPattern = isAssignmentPattern; +exports.isAwaitExpression = isAwaitExpression; +exports.isBigIntLiteral = isBigIntLiteral; +exports.isBinary = isBinary; +exports.isBinaryExpression = isBinaryExpression; +exports.isBindExpression = isBindExpression; +exports.isBlock = isBlock; +exports.isBlockParent = isBlockParent; +exports.isBlockStatement = isBlockStatement; +exports.isBooleanLiteral = isBooleanLiteral; +exports.isBooleanLiteralTypeAnnotation = isBooleanLiteralTypeAnnotation; +exports.isBooleanTypeAnnotation = isBooleanTypeAnnotation; +exports.isBreakStatement = isBreakStatement; +exports.isCallExpression = isCallExpression; +exports.isCatchClause = isCatchClause; +exports.isClass = isClass; +exports.isClassAccessorProperty = isClassAccessorProperty; +exports.isClassBody = isClassBody; +exports.isClassDeclaration = isClassDeclaration; +exports.isClassExpression = isClassExpression; +exports.isClassImplements = isClassImplements; +exports.isClassMethod = isClassMethod; +exports.isClassPrivateMethod = isClassPrivateMethod; +exports.isClassPrivateProperty = isClassPrivateProperty; +exports.isClassProperty = isClassProperty; +exports.isCompletionStatement = isCompletionStatement; +exports.isConditional = isConditional; +exports.isConditionalExpression = isConditionalExpression; +exports.isContinueStatement = isContinueStatement; +exports.isDebuggerStatement = isDebuggerStatement; +exports.isDecimalLiteral = isDecimalLiteral; +exports.isDeclaration = isDeclaration; +exports.isDeclareClass = isDeclareClass; +exports.isDeclareExportAllDeclaration = isDeclareExportAllDeclaration; +exports.isDeclareExportDeclaration = isDeclareExportDeclaration; +exports.isDeclareFunction = isDeclareFunction; +exports.isDeclareInterface = isDeclareInterface; +exports.isDeclareModule = isDeclareModule; +exports.isDeclareModuleExports = isDeclareModuleExports; +exports.isDeclareOpaqueType = isDeclareOpaqueType; +exports.isDeclareTypeAlias = isDeclareTypeAlias; +exports.isDeclareVariable = isDeclareVariable; +exports.isDeclaredPredicate = isDeclaredPredicate; +exports.isDecorator = isDecorator; +exports.isDirective = isDirective; +exports.isDirectiveLiteral = isDirectiveLiteral; +exports.isDoExpression = isDoExpression; +exports.isDoWhileStatement = isDoWhileStatement; +exports.isEmptyStatement = isEmptyStatement; +exports.isEmptyTypeAnnotation = isEmptyTypeAnnotation; +exports.isEnumBody = isEnumBody; +exports.isEnumBooleanBody = isEnumBooleanBody; +exports.isEnumBooleanMember = isEnumBooleanMember; +exports.isEnumDeclaration = isEnumDeclaration; +exports.isEnumDefaultedMember = isEnumDefaultedMember; +exports.isEnumMember = isEnumMember; +exports.isEnumNumberBody = isEnumNumberBody; +exports.isEnumNumberMember = isEnumNumberMember; +exports.isEnumStringBody = isEnumStringBody; +exports.isEnumStringMember = isEnumStringMember; +exports.isEnumSymbolBody = isEnumSymbolBody; +exports.isExistsTypeAnnotation = isExistsTypeAnnotation; +exports.isExportAllDeclaration = isExportAllDeclaration; +exports.isExportDeclaration = isExportDeclaration; +exports.isExportDefaultDeclaration = isExportDefaultDeclaration; +exports.isExportDefaultSpecifier = isExportDefaultSpecifier; +exports.isExportNamedDeclaration = isExportNamedDeclaration; +exports.isExportNamespaceSpecifier = isExportNamespaceSpecifier; +exports.isExportSpecifier = isExportSpecifier; +exports.isExpression = isExpression; +exports.isExpressionStatement = isExpressionStatement; +exports.isExpressionWrapper = isExpressionWrapper; +exports.isFile = isFile; +exports.isFlow = isFlow; +exports.isFlowBaseAnnotation = isFlowBaseAnnotation; +exports.isFlowDeclaration = isFlowDeclaration; +exports.isFlowPredicate = isFlowPredicate; +exports.isFlowType = isFlowType; +exports.isFor = isFor; +exports.isForInStatement = isForInStatement; +exports.isForOfStatement = isForOfStatement; +exports.isForStatement = isForStatement; +exports.isForXStatement = isForXStatement; +exports.isFunction = isFunction; +exports.isFunctionDeclaration = isFunctionDeclaration; +exports.isFunctionExpression = isFunctionExpression; +exports.isFunctionParameter = isFunctionParameter; +exports.isFunctionParent = isFunctionParent; +exports.isFunctionTypeAnnotation = isFunctionTypeAnnotation; +exports.isFunctionTypeParam = isFunctionTypeParam; +exports.isGenericTypeAnnotation = isGenericTypeAnnotation; +exports.isIdentifier = isIdentifier; +exports.isIfStatement = isIfStatement; +exports.isImmutable = isImmutable; +exports.isImport = isImport; +exports.isImportAttribute = isImportAttribute; +exports.isImportDeclaration = isImportDeclaration; +exports.isImportDefaultSpecifier = isImportDefaultSpecifier; +exports.isImportExpression = isImportExpression; +exports.isImportNamespaceSpecifier = isImportNamespaceSpecifier; +exports.isImportOrExportDeclaration = isImportOrExportDeclaration; +exports.isImportSpecifier = isImportSpecifier; +exports.isIndexedAccessType = isIndexedAccessType; +exports.isInferredPredicate = isInferredPredicate; +exports.isInterfaceDeclaration = isInterfaceDeclaration; +exports.isInterfaceExtends = isInterfaceExtends; +exports.isInterfaceTypeAnnotation = isInterfaceTypeAnnotation; +exports.isInterpreterDirective = isInterpreterDirective; +exports.isIntersectionTypeAnnotation = isIntersectionTypeAnnotation; +exports.isJSX = isJSX; +exports.isJSXAttribute = isJSXAttribute; +exports.isJSXClosingElement = isJSXClosingElement; +exports.isJSXClosingFragment = isJSXClosingFragment; +exports.isJSXElement = isJSXElement; +exports.isJSXEmptyExpression = isJSXEmptyExpression; +exports.isJSXExpressionContainer = isJSXExpressionContainer; +exports.isJSXFragment = isJSXFragment; +exports.isJSXIdentifier = isJSXIdentifier; +exports.isJSXMemberExpression = isJSXMemberExpression; +exports.isJSXNamespacedName = isJSXNamespacedName; +exports.isJSXOpeningElement = isJSXOpeningElement; +exports.isJSXOpeningFragment = isJSXOpeningFragment; +exports.isJSXSpreadAttribute = isJSXSpreadAttribute; +exports.isJSXSpreadChild = isJSXSpreadChild; +exports.isJSXText = isJSXText; +exports.isLVal = isLVal; +exports.isLabeledStatement = isLabeledStatement; +exports.isLiteral = isLiteral; +exports.isLogicalExpression = isLogicalExpression; +exports.isLoop = isLoop; +exports.isMemberExpression = isMemberExpression; +exports.isMetaProperty = isMetaProperty; +exports.isMethod = isMethod; +exports.isMiscellaneous = isMiscellaneous; +exports.isMixedTypeAnnotation = isMixedTypeAnnotation; +exports.isModuleDeclaration = isModuleDeclaration; +exports.isModuleExpression = isModuleExpression; +exports.isModuleSpecifier = isModuleSpecifier; +exports.isNewExpression = isNewExpression; +exports.isNoop = isNoop; +exports.isNullLiteral = isNullLiteral; +exports.isNullLiteralTypeAnnotation = isNullLiteralTypeAnnotation; +exports.isNullableTypeAnnotation = isNullableTypeAnnotation; +exports.isNumberLiteral = isNumberLiteral; +exports.isNumberLiteralTypeAnnotation = isNumberLiteralTypeAnnotation; +exports.isNumberTypeAnnotation = isNumberTypeAnnotation; +exports.isNumericLiteral = isNumericLiteral; +exports.isObjectExpression = isObjectExpression; +exports.isObjectMember = isObjectMember; +exports.isObjectMethod = isObjectMethod; +exports.isObjectPattern = isObjectPattern; +exports.isObjectProperty = isObjectProperty; +exports.isObjectTypeAnnotation = isObjectTypeAnnotation; +exports.isObjectTypeCallProperty = isObjectTypeCallProperty; +exports.isObjectTypeIndexer = isObjectTypeIndexer; +exports.isObjectTypeInternalSlot = isObjectTypeInternalSlot; +exports.isObjectTypeProperty = isObjectTypeProperty; +exports.isObjectTypeSpreadProperty = isObjectTypeSpreadProperty; +exports.isOpaqueType = isOpaqueType; +exports.isOptionalCallExpression = isOptionalCallExpression; +exports.isOptionalIndexedAccessType = isOptionalIndexedAccessType; +exports.isOptionalMemberExpression = isOptionalMemberExpression; +exports.isParenthesizedExpression = isParenthesizedExpression; +exports.isPattern = isPattern; +exports.isPatternLike = isPatternLike; +exports.isPipelineBareFunction = isPipelineBareFunction; +exports.isPipelinePrimaryTopicReference = isPipelinePrimaryTopicReference; +exports.isPipelineTopicExpression = isPipelineTopicExpression; +exports.isPlaceholder = isPlaceholder; +exports.isPrivate = isPrivate; +exports.isPrivateName = isPrivateName; +exports.isProgram = isProgram; +exports.isProperty = isProperty; +exports.isPureish = isPureish; +exports.isQualifiedTypeIdentifier = isQualifiedTypeIdentifier; +exports.isRecordExpression = isRecordExpression; +exports.isRegExpLiteral = isRegExpLiteral; +exports.isRegexLiteral = isRegexLiteral; +exports.isRestElement = isRestElement; +exports.isRestProperty = isRestProperty; +exports.isReturnStatement = isReturnStatement; +exports.isScopable = isScopable; +exports.isSequenceExpression = isSequenceExpression; +exports.isSpreadElement = isSpreadElement; +exports.isSpreadProperty = isSpreadProperty; +exports.isStandardized = isStandardized; +exports.isStatement = isStatement; +exports.isStaticBlock = isStaticBlock; +exports.isStringLiteral = isStringLiteral; +exports.isStringLiteralTypeAnnotation = isStringLiteralTypeAnnotation; +exports.isStringTypeAnnotation = isStringTypeAnnotation; +exports.isSuper = isSuper; +exports.isSwitchCase = isSwitchCase; +exports.isSwitchStatement = isSwitchStatement; +exports.isSymbolTypeAnnotation = isSymbolTypeAnnotation; +exports.isTSAnyKeyword = isTSAnyKeyword; +exports.isTSArrayType = isTSArrayType; +exports.isTSAsExpression = isTSAsExpression; +exports.isTSBaseType = isTSBaseType; +exports.isTSBigIntKeyword = isTSBigIntKeyword; +exports.isTSBooleanKeyword = isTSBooleanKeyword; +exports.isTSCallSignatureDeclaration = isTSCallSignatureDeclaration; +exports.isTSConditionalType = isTSConditionalType; +exports.isTSConstructSignatureDeclaration = isTSConstructSignatureDeclaration; +exports.isTSConstructorType = isTSConstructorType; +exports.isTSDeclareFunction = isTSDeclareFunction; +exports.isTSDeclareMethod = isTSDeclareMethod; +exports.isTSEntityName = isTSEntityName; +exports.isTSEnumBody = isTSEnumBody; +exports.isTSEnumDeclaration = isTSEnumDeclaration; +exports.isTSEnumMember = isTSEnumMember; +exports.isTSExportAssignment = isTSExportAssignment; +exports.isTSExpressionWithTypeArguments = isTSExpressionWithTypeArguments; +exports.isTSExternalModuleReference = isTSExternalModuleReference; +exports.isTSFunctionType = isTSFunctionType; +exports.isTSImportEqualsDeclaration = isTSImportEqualsDeclaration; +exports.isTSImportType = isTSImportType; +exports.isTSIndexSignature = isTSIndexSignature; +exports.isTSIndexedAccessType = isTSIndexedAccessType; +exports.isTSInferType = isTSInferType; +exports.isTSInstantiationExpression = isTSInstantiationExpression; +exports.isTSInterfaceBody = isTSInterfaceBody; +exports.isTSInterfaceDeclaration = isTSInterfaceDeclaration; +exports.isTSIntersectionType = isTSIntersectionType; +exports.isTSIntrinsicKeyword = isTSIntrinsicKeyword; +exports.isTSLiteralType = isTSLiteralType; +exports.isTSMappedType = isTSMappedType; +exports.isTSMethodSignature = isTSMethodSignature; +exports.isTSModuleBlock = isTSModuleBlock; +exports.isTSModuleDeclaration = isTSModuleDeclaration; +exports.isTSNamedTupleMember = isTSNamedTupleMember; +exports.isTSNamespaceExportDeclaration = isTSNamespaceExportDeclaration; +exports.isTSNeverKeyword = isTSNeverKeyword; +exports.isTSNonNullExpression = isTSNonNullExpression; +exports.isTSNullKeyword = isTSNullKeyword; +exports.isTSNumberKeyword = isTSNumberKeyword; +exports.isTSObjectKeyword = isTSObjectKeyword; +exports.isTSOptionalType = isTSOptionalType; +exports.isTSParameterProperty = isTSParameterProperty; +exports.isTSParenthesizedType = isTSParenthesizedType; +exports.isTSPropertySignature = isTSPropertySignature; +exports.isTSQualifiedName = isTSQualifiedName; +exports.isTSRestType = isTSRestType; +exports.isTSSatisfiesExpression = isTSSatisfiesExpression; +exports.isTSStringKeyword = isTSStringKeyword; +exports.isTSSymbolKeyword = isTSSymbolKeyword; +exports.isTSTemplateLiteralType = isTSTemplateLiteralType; +exports.isTSThisType = isTSThisType; +exports.isTSTupleType = isTSTupleType; +exports.isTSType = isTSType; +exports.isTSTypeAliasDeclaration = isTSTypeAliasDeclaration; +exports.isTSTypeAnnotation = isTSTypeAnnotation; +exports.isTSTypeAssertion = isTSTypeAssertion; +exports.isTSTypeElement = isTSTypeElement; +exports.isTSTypeLiteral = isTSTypeLiteral; +exports.isTSTypeOperator = isTSTypeOperator; +exports.isTSTypeParameter = isTSTypeParameter; +exports.isTSTypeParameterDeclaration = isTSTypeParameterDeclaration; +exports.isTSTypeParameterInstantiation = isTSTypeParameterInstantiation; +exports.isTSTypePredicate = isTSTypePredicate; +exports.isTSTypeQuery = isTSTypeQuery; +exports.isTSTypeReference = isTSTypeReference; +exports.isTSUndefinedKeyword = isTSUndefinedKeyword; +exports.isTSUnionType = isTSUnionType; +exports.isTSUnknownKeyword = isTSUnknownKeyword; +exports.isTSVoidKeyword = isTSVoidKeyword; +exports.isTaggedTemplateExpression = isTaggedTemplateExpression; +exports.isTemplateElement = isTemplateElement; +exports.isTemplateLiteral = isTemplateLiteral; +exports.isTerminatorless = isTerminatorless; +exports.isThisExpression = isThisExpression; +exports.isThisTypeAnnotation = isThisTypeAnnotation; +exports.isThrowStatement = isThrowStatement; +exports.isTopicReference = isTopicReference; +exports.isTryStatement = isTryStatement; +exports.isTupleExpression = isTupleExpression; +exports.isTupleTypeAnnotation = isTupleTypeAnnotation; +exports.isTypeAlias = isTypeAlias; +exports.isTypeAnnotation = isTypeAnnotation; +exports.isTypeCastExpression = isTypeCastExpression; +exports.isTypeParameter = isTypeParameter; +exports.isTypeParameterDeclaration = isTypeParameterDeclaration; +exports.isTypeParameterInstantiation = isTypeParameterInstantiation; +exports.isTypeScript = isTypeScript; +exports.isTypeofTypeAnnotation = isTypeofTypeAnnotation; +exports.isUnaryExpression = isUnaryExpression; +exports.isUnaryLike = isUnaryLike; +exports.isUnionTypeAnnotation = isUnionTypeAnnotation; +exports.isUpdateExpression = isUpdateExpression; +exports.isUserWhitespacable = isUserWhitespacable; +exports.isV8IntrinsicIdentifier = isV8IntrinsicIdentifier; +exports.isVariableDeclaration = isVariableDeclaration; +exports.isVariableDeclarator = isVariableDeclarator; +exports.isVariance = isVariance; +exports.isVoidPattern = isVoidPattern; +exports.isVoidTypeAnnotation = isVoidTypeAnnotation; +exports.isWhile = isWhile; +exports.isWhileStatement = isWhileStatement; +exports.isWithStatement = isWithStatement; +exports.isYieldExpression = isYieldExpression; +var _shallowEqual = require("../../utils/shallowEqual.js"); +var _deprecationWarning = require("../../utils/deprecationWarning.js"); +function isArrayExpression(node, opts) { + if (!node) return false; + if (node.type !== "ArrayExpression") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isAssignmentExpression(node, opts) { + if (!node) return false; + if (node.type !== "AssignmentExpression") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isBinaryExpression(node, opts) { + if (!node) return false; + if (node.type !== "BinaryExpression") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isInterpreterDirective(node, opts) { + if (!node) return false; + if (node.type !== "InterpreterDirective") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isDirective(node, opts) { + if (!node) return false; + if (node.type !== "Directive") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isDirectiveLiteral(node, opts) { + if (!node) return false; + if (node.type !== "DirectiveLiteral") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isBlockStatement(node, opts) { + if (!node) return false; + if (node.type !== "BlockStatement") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isBreakStatement(node, opts) { + if (!node) return false; + if (node.type !== "BreakStatement") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isCallExpression(node, opts) { + if (!node) return false; + if (node.type !== "CallExpression") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isCatchClause(node, opts) { + if (!node) return false; + if (node.type !== "CatchClause") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isConditionalExpression(node, opts) { + if (!node) return false; + if (node.type !== "ConditionalExpression") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isContinueStatement(node, opts) { + if (!node) return false; + if (node.type !== "ContinueStatement") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isDebuggerStatement(node, opts) { + if (!node) return false; + if (node.type !== "DebuggerStatement") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isDoWhileStatement(node, opts) { + if (!node) return false; + if (node.type !== "DoWhileStatement") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isEmptyStatement(node, opts) { + if (!node) return false; + if (node.type !== "EmptyStatement") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isExpressionStatement(node, opts) { + if (!node) return false; + if (node.type !== "ExpressionStatement") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isFile(node, opts) { + if (!node) return false; + if (node.type !== "File") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isForInStatement(node, opts) { + if (!node) return false; + if (node.type !== "ForInStatement") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isForStatement(node, opts) { + if (!node) return false; + if (node.type !== "ForStatement") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isFunctionDeclaration(node, opts) { + if (!node) return false; + if (node.type !== "FunctionDeclaration") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isFunctionExpression(node, opts) { + if (!node) return false; + if (node.type !== "FunctionExpression") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isIdentifier(node, opts) { + if (!node) return false; + if (node.type !== "Identifier") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isIfStatement(node, opts) { + if (!node) return false; + if (node.type !== "IfStatement") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isLabeledStatement(node, opts) { + if (!node) return false; + if (node.type !== "LabeledStatement") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isStringLiteral(node, opts) { + if (!node) return false; + if (node.type !== "StringLiteral") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isNumericLiteral(node, opts) { + if (!node) return false; + if (node.type !== "NumericLiteral") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isNullLiteral(node, opts) { + if (!node) return false; + if (node.type !== "NullLiteral") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isBooleanLiteral(node, opts) { + if (!node) return false; + if (node.type !== "BooleanLiteral") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isRegExpLiteral(node, opts) { + if (!node) return false; + if (node.type !== "RegExpLiteral") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isLogicalExpression(node, opts) { + if (!node) return false; + if (node.type !== "LogicalExpression") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isMemberExpression(node, opts) { + if (!node) return false; + if (node.type !== "MemberExpression") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isNewExpression(node, opts) { + if (!node) return false; + if (node.type !== "NewExpression") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isProgram(node, opts) { + if (!node) return false; + if (node.type !== "Program") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isObjectExpression(node, opts) { + if (!node) return false; + if (node.type !== "ObjectExpression") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isObjectMethod(node, opts) { + if (!node) return false; + if (node.type !== "ObjectMethod") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isObjectProperty(node, opts) { + if (!node) return false; + if (node.type !== "ObjectProperty") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isRestElement(node, opts) { + if (!node) return false; + if (node.type !== "RestElement") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isReturnStatement(node, opts) { + if (!node) return false; + if (node.type !== "ReturnStatement") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isSequenceExpression(node, opts) { + if (!node) return false; + if (node.type !== "SequenceExpression") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isParenthesizedExpression(node, opts) { + if (!node) return false; + if (node.type !== "ParenthesizedExpression") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isSwitchCase(node, opts) { + if (!node) return false; + if (node.type !== "SwitchCase") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isSwitchStatement(node, opts) { + if (!node) return false; + if (node.type !== "SwitchStatement") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isThisExpression(node, opts) { + if (!node) return false; + if (node.type !== "ThisExpression") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isThrowStatement(node, opts) { + if (!node) return false; + if (node.type !== "ThrowStatement") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTryStatement(node, opts) { + if (!node) return false; + if (node.type !== "TryStatement") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isUnaryExpression(node, opts) { + if (!node) return false; + if (node.type !== "UnaryExpression") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isUpdateExpression(node, opts) { + if (!node) return false; + if (node.type !== "UpdateExpression") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isVariableDeclaration(node, opts) { + if (!node) return false; + if (node.type !== "VariableDeclaration") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isVariableDeclarator(node, opts) { + if (!node) return false; + if (node.type !== "VariableDeclarator") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isWhileStatement(node, opts) { + if (!node) return false; + if (node.type !== "WhileStatement") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isWithStatement(node, opts) { + if (!node) return false; + if (node.type !== "WithStatement") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isAssignmentPattern(node, opts) { + if (!node) return false; + if (node.type !== "AssignmentPattern") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isArrayPattern(node, opts) { + if (!node) return false; + if (node.type !== "ArrayPattern") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isArrowFunctionExpression(node, opts) { + if (!node) return false; + if (node.type !== "ArrowFunctionExpression") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isClassBody(node, opts) { + if (!node) return false; + if (node.type !== "ClassBody") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isClassExpression(node, opts) { + if (!node) return false; + if (node.type !== "ClassExpression") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isClassDeclaration(node, opts) { + if (!node) return false; + if (node.type !== "ClassDeclaration") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isExportAllDeclaration(node, opts) { + if (!node) return false; + if (node.type !== "ExportAllDeclaration") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isExportDefaultDeclaration(node, opts) { + if (!node) return false; + if (node.type !== "ExportDefaultDeclaration") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isExportNamedDeclaration(node, opts) { + if (!node) return false; + if (node.type !== "ExportNamedDeclaration") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isExportSpecifier(node, opts) { + if (!node) return false; + if (node.type !== "ExportSpecifier") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isForOfStatement(node, opts) { + if (!node) return false; + if (node.type !== "ForOfStatement") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isImportDeclaration(node, opts) { + if (!node) return false; + if (node.type !== "ImportDeclaration") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isImportDefaultSpecifier(node, opts) { + if (!node) return false; + if (node.type !== "ImportDefaultSpecifier") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isImportNamespaceSpecifier(node, opts) { + if (!node) return false; + if (node.type !== "ImportNamespaceSpecifier") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isImportSpecifier(node, opts) { + if (!node) return false; + if (node.type !== "ImportSpecifier") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isImportExpression(node, opts) { + if (!node) return false; + if (node.type !== "ImportExpression") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isMetaProperty(node, opts) { + if (!node) return false; + if (node.type !== "MetaProperty") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isClassMethod(node, opts) { + if (!node) return false; + if (node.type !== "ClassMethod") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isObjectPattern(node, opts) { + if (!node) return false; + if (node.type !== "ObjectPattern") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isSpreadElement(node, opts) { + if (!node) return false; + if (node.type !== "SpreadElement") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isSuper(node, opts) { + if (!node) return false; + if (node.type !== "Super") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTaggedTemplateExpression(node, opts) { + if (!node) return false; + if (node.type !== "TaggedTemplateExpression") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTemplateElement(node, opts) { + if (!node) return false; + if (node.type !== "TemplateElement") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTemplateLiteral(node, opts) { + if (!node) return false; + if (node.type !== "TemplateLiteral") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isYieldExpression(node, opts) { + if (!node) return false; + if (node.type !== "YieldExpression") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isAwaitExpression(node, opts) { + if (!node) return false; + if (node.type !== "AwaitExpression") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isImport(node, opts) { + if (!node) return false; + if (node.type !== "Import") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isBigIntLiteral(node, opts) { + if (!node) return false; + if (node.type !== "BigIntLiteral") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isExportNamespaceSpecifier(node, opts) { + if (!node) return false; + if (node.type !== "ExportNamespaceSpecifier") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isOptionalMemberExpression(node, opts) { + if (!node) return false; + if (node.type !== "OptionalMemberExpression") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isOptionalCallExpression(node, opts) { + if (!node) return false; + if (node.type !== "OptionalCallExpression") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isClassProperty(node, opts) { + if (!node) return false; + if (node.type !== "ClassProperty") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isClassAccessorProperty(node, opts) { + if (!node) return false; + if (node.type !== "ClassAccessorProperty") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isClassPrivateProperty(node, opts) { + if (!node) return false; + if (node.type !== "ClassPrivateProperty") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isClassPrivateMethod(node, opts) { + if (!node) return false; + if (node.type !== "ClassPrivateMethod") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isPrivateName(node, opts) { + if (!node) return false; + if (node.type !== "PrivateName") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isStaticBlock(node, opts) { + if (!node) return false; + if (node.type !== "StaticBlock") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isImportAttribute(node, opts) { + if (!node) return false; + if (node.type !== "ImportAttribute") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isAnyTypeAnnotation(node, opts) { + if (!node) return false; + if (node.type !== "AnyTypeAnnotation") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isArrayTypeAnnotation(node, opts) { + if (!node) return false; + if (node.type !== "ArrayTypeAnnotation") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isBooleanTypeAnnotation(node, opts) { + if (!node) return false; + if (node.type !== "BooleanTypeAnnotation") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isBooleanLiteralTypeAnnotation(node, opts) { + if (!node) return false; + if (node.type !== "BooleanLiteralTypeAnnotation") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isNullLiteralTypeAnnotation(node, opts) { + if (!node) return false; + if (node.type !== "NullLiteralTypeAnnotation") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isClassImplements(node, opts) { + if (!node) return false; + if (node.type !== "ClassImplements") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isDeclareClass(node, opts) { + if (!node) return false; + if (node.type !== "DeclareClass") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isDeclareFunction(node, opts) { + if (!node) return false; + if (node.type !== "DeclareFunction") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isDeclareInterface(node, opts) { + if (!node) return false; + if (node.type !== "DeclareInterface") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isDeclareModule(node, opts) { + if (!node) return false; + if (node.type !== "DeclareModule") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isDeclareModuleExports(node, opts) { + if (!node) return false; + if (node.type !== "DeclareModuleExports") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isDeclareTypeAlias(node, opts) { + if (!node) return false; + if (node.type !== "DeclareTypeAlias") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isDeclareOpaqueType(node, opts) { + if (!node) return false; + if (node.type !== "DeclareOpaqueType") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isDeclareVariable(node, opts) { + if (!node) return false; + if (node.type !== "DeclareVariable") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isDeclareExportDeclaration(node, opts) { + if (!node) return false; + if (node.type !== "DeclareExportDeclaration") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isDeclareExportAllDeclaration(node, opts) { + if (!node) return false; + if (node.type !== "DeclareExportAllDeclaration") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isDeclaredPredicate(node, opts) { + if (!node) return false; + if (node.type !== "DeclaredPredicate") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isExistsTypeAnnotation(node, opts) { + if (!node) return false; + if (node.type !== "ExistsTypeAnnotation") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isFunctionTypeAnnotation(node, opts) { + if (!node) return false; + if (node.type !== "FunctionTypeAnnotation") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isFunctionTypeParam(node, opts) { + if (!node) return false; + if (node.type !== "FunctionTypeParam") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isGenericTypeAnnotation(node, opts) { + if (!node) return false; + if (node.type !== "GenericTypeAnnotation") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isInferredPredicate(node, opts) { + if (!node) return false; + if (node.type !== "InferredPredicate") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isInterfaceExtends(node, opts) { + if (!node) return false; + if (node.type !== "InterfaceExtends") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isInterfaceDeclaration(node, opts) { + if (!node) return false; + if (node.type !== "InterfaceDeclaration") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isInterfaceTypeAnnotation(node, opts) { + if (!node) return false; + if (node.type !== "InterfaceTypeAnnotation") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isIntersectionTypeAnnotation(node, opts) { + if (!node) return false; + if (node.type !== "IntersectionTypeAnnotation") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isMixedTypeAnnotation(node, opts) { + if (!node) return false; + if (node.type !== "MixedTypeAnnotation") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isEmptyTypeAnnotation(node, opts) { + if (!node) return false; + if (node.type !== "EmptyTypeAnnotation") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isNullableTypeAnnotation(node, opts) { + if (!node) return false; + if (node.type !== "NullableTypeAnnotation") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isNumberLiteralTypeAnnotation(node, opts) { + if (!node) return false; + if (node.type !== "NumberLiteralTypeAnnotation") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isNumberTypeAnnotation(node, opts) { + if (!node) return false; + if (node.type !== "NumberTypeAnnotation") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isObjectTypeAnnotation(node, opts) { + if (!node) return false; + if (node.type !== "ObjectTypeAnnotation") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isObjectTypeInternalSlot(node, opts) { + if (!node) return false; + if (node.type !== "ObjectTypeInternalSlot") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isObjectTypeCallProperty(node, opts) { + if (!node) return false; + if (node.type !== "ObjectTypeCallProperty") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isObjectTypeIndexer(node, opts) { + if (!node) return false; + if (node.type !== "ObjectTypeIndexer") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isObjectTypeProperty(node, opts) { + if (!node) return false; + if (node.type !== "ObjectTypeProperty") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isObjectTypeSpreadProperty(node, opts) { + if (!node) return false; + if (node.type !== "ObjectTypeSpreadProperty") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isOpaqueType(node, opts) { + if (!node) return false; + if (node.type !== "OpaqueType") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isQualifiedTypeIdentifier(node, opts) { + if (!node) return false; + if (node.type !== "QualifiedTypeIdentifier") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isStringLiteralTypeAnnotation(node, opts) { + if (!node) return false; + if (node.type !== "StringLiteralTypeAnnotation") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isStringTypeAnnotation(node, opts) { + if (!node) return false; + if (node.type !== "StringTypeAnnotation") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isSymbolTypeAnnotation(node, opts) { + if (!node) return false; + if (node.type !== "SymbolTypeAnnotation") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isThisTypeAnnotation(node, opts) { + if (!node) return false; + if (node.type !== "ThisTypeAnnotation") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTupleTypeAnnotation(node, opts) { + if (!node) return false; + if (node.type !== "TupleTypeAnnotation") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTypeofTypeAnnotation(node, opts) { + if (!node) return false; + if (node.type !== "TypeofTypeAnnotation") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTypeAlias(node, opts) { + if (!node) return false; + if (node.type !== "TypeAlias") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTypeAnnotation(node, opts) { + if (!node) return false; + if (node.type !== "TypeAnnotation") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTypeCastExpression(node, opts) { + if (!node) return false; + if (node.type !== "TypeCastExpression") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTypeParameter(node, opts) { + if (!node) return false; + if (node.type !== "TypeParameter") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTypeParameterDeclaration(node, opts) { + if (!node) return false; + if (node.type !== "TypeParameterDeclaration") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTypeParameterInstantiation(node, opts) { + if (!node) return false; + if (node.type !== "TypeParameterInstantiation") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isUnionTypeAnnotation(node, opts) { + if (!node) return false; + if (node.type !== "UnionTypeAnnotation") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isVariance(node, opts) { + if (!node) return false; + if (node.type !== "Variance") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isVoidTypeAnnotation(node, opts) { + if (!node) return false; + if (node.type !== "VoidTypeAnnotation") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isEnumDeclaration(node, opts) { + if (!node) return false; + if (node.type !== "EnumDeclaration") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isEnumBooleanBody(node, opts) { + if (!node) return false; + if (node.type !== "EnumBooleanBody") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isEnumNumberBody(node, opts) { + if (!node) return false; + if (node.type !== "EnumNumberBody") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isEnumStringBody(node, opts) { + if (!node) return false; + if (node.type !== "EnumStringBody") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isEnumSymbolBody(node, opts) { + if (!node) return false; + if (node.type !== "EnumSymbolBody") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isEnumBooleanMember(node, opts) { + if (!node) return false; + if (node.type !== "EnumBooleanMember") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isEnumNumberMember(node, opts) { + if (!node) return false; + if (node.type !== "EnumNumberMember") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isEnumStringMember(node, opts) { + if (!node) return false; + if (node.type !== "EnumStringMember") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isEnumDefaultedMember(node, opts) { + if (!node) return false; + if (node.type !== "EnumDefaultedMember") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isIndexedAccessType(node, opts) { + if (!node) return false; + if (node.type !== "IndexedAccessType") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isOptionalIndexedAccessType(node, opts) { + if (!node) return false; + if (node.type !== "OptionalIndexedAccessType") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isJSXAttribute(node, opts) { + if (!node) return false; + if (node.type !== "JSXAttribute") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isJSXClosingElement(node, opts) { + if (!node) return false; + if (node.type !== "JSXClosingElement") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isJSXElement(node, opts) { + if (!node) return false; + if (node.type !== "JSXElement") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isJSXEmptyExpression(node, opts) { + if (!node) return false; + if (node.type !== "JSXEmptyExpression") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isJSXExpressionContainer(node, opts) { + if (!node) return false; + if (node.type !== "JSXExpressionContainer") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isJSXSpreadChild(node, opts) { + if (!node) return false; + if (node.type !== "JSXSpreadChild") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isJSXIdentifier(node, opts) { + if (!node) return false; + if (node.type !== "JSXIdentifier") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isJSXMemberExpression(node, opts) { + if (!node) return false; + if (node.type !== "JSXMemberExpression") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isJSXNamespacedName(node, opts) { + if (!node) return false; + if (node.type !== "JSXNamespacedName") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isJSXOpeningElement(node, opts) { + if (!node) return false; + if (node.type !== "JSXOpeningElement") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isJSXSpreadAttribute(node, opts) { + if (!node) return false; + if (node.type !== "JSXSpreadAttribute") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isJSXText(node, opts) { + if (!node) return false; + if (node.type !== "JSXText") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isJSXFragment(node, opts) { + if (!node) return false; + if (node.type !== "JSXFragment") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isJSXOpeningFragment(node, opts) { + if (!node) return false; + if (node.type !== "JSXOpeningFragment") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isJSXClosingFragment(node, opts) { + if (!node) return false; + if (node.type !== "JSXClosingFragment") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isNoop(node, opts) { + if (!node) return false; + if (node.type !== "Noop") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isPlaceholder(node, opts) { + if (!node) return false; + if (node.type !== "Placeholder") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isV8IntrinsicIdentifier(node, opts) { + if (!node) return false; + if (node.type !== "V8IntrinsicIdentifier") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isArgumentPlaceholder(node, opts) { + if (!node) return false; + if (node.type !== "ArgumentPlaceholder") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isBindExpression(node, opts) { + if (!node) return false; + if (node.type !== "BindExpression") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isDecorator(node, opts) { + if (!node) return false; + if (node.type !== "Decorator") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isDoExpression(node, opts) { + if (!node) return false; + if (node.type !== "DoExpression") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isExportDefaultSpecifier(node, opts) { + if (!node) return false; + if (node.type !== "ExportDefaultSpecifier") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isRecordExpression(node, opts) { + if (!node) return false; + if (node.type !== "RecordExpression") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTupleExpression(node, opts) { + if (!node) return false; + if (node.type !== "TupleExpression") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isDecimalLiteral(node, opts) { + if (!node) return false; + if (node.type !== "DecimalLiteral") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isModuleExpression(node, opts) { + if (!node) return false; + if (node.type !== "ModuleExpression") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTopicReference(node, opts) { + if (!node) return false; + if (node.type !== "TopicReference") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isPipelineTopicExpression(node, opts) { + if (!node) return false; + if (node.type !== "PipelineTopicExpression") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isPipelineBareFunction(node, opts) { + if (!node) return false; + if (node.type !== "PipelineBareFunction") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isPipelinePrimaryTopicReference(node, opts) { + if (!node) return false; + if (node.type !== "PipelinePrimaryTopicReference") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isVoidPattern(node, opts) { + if (!node) return false; + if (node.type !== "VoidPattern") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSParameterProperty(node, opts) { + if (!node) return false; + if (node.type !== "TSParameterProperty") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSDeclareFunction(node, opts) { + if (!node) return false; + if (node.type !== "TSDeclareFunction") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSDeclareMethod(node, opts) { + if (!node) return false; + if (node.type !== "TSDeclareMethod") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSQualifiedName(node, opts) { + if (!node) return false; + if (node.type !== "TSQualifiedName") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSCallSignatureDeclaration(node, opts) { + if (!node) return false; + if (node.type !== "TSCallSignatureDeclaration") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSConstructSignatureDeclaration(node, opts) { + if (!node) return false; + if (node.type !== "TSConstructSignatureDeclaration") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSPropertySignature(node, opts) { + if (!node) return false; + if (node.type !== "TSPropertySignature") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSMethodSignature(node, opts) { + if (!node) return false; + if (node.type !== "TSMethodSignature") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSIndexSignature(node, opts) { + if (!node) return false; + if (node.type !== "TSIndexSignature") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSAnyKeyword(node, opts) { + if (!node) return false; + if (node.type !== "TSAnyKeyword") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSBooleanKeyword(node, opts) { + if (!node) return false; + if (node.type !== "TSBooleanKeyword") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSBigIntKeyword(node, opts) { + if (!node) return false; + if (node.type !== "TSBigIntKeyword") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSIntrinsicKeyword(node, opts) { + if (!node) return false; + if (node.type !== "TSIntrinsicKeyword") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSNeverKeyword(node, opts) { + if (!node) return false; + if (node.type !== "TSNeverKeyword") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSNullKeyword(node, opts) { + if (!node) return false; + if (node.type !== "TSNullKeyword") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSNumberKeyword(node, opts) { + if (!node) return false; + if (node.type !== "TSNumberKeyword") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSObjectKeyword(node, opts) { + if (!node) return false; + if (node.type !== "TSObjectKeyword") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSStringKeyword(node, opts) { + if (!node) return false; + if (node.type !== "TSStringKeyword") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSSymbolKeyword(node, opts) { + if (!node) return false; + if (node.type !== "TSSymbolKeyword") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSUndefinedKeyword(node, opts) { + if (!node) return false; + if (node.type !== "TSUndefinedKeyword") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSUnknownKeyword(node, opts) { + if (!node) return false; + if (node.type !== "TSUnknownKeyword") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSVoidKeyword(node, opts) { + if (!node) return false; + if (node.type !== "TSVoidKeyword") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSThisType(node, opts) { + if (!node) return false; + if (node.type !== "TSThisType") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSFunctionType(node, opts) { + if (!node) return false; + if (node.type !== "TSFunctionType") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSConstructorType(node, opts) { + if (!node) return false; + if (node.type !== "TSConstructorType") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSTypeReference(node, opts) { + if (!node) return false; + if (node.type !== "TSTypeReference") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSTypePredicate(node, opts) { + if (!node) return false; + if (node.type !== "TSTypePredicate") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSTypeQuery(node, opts) { + if (!node) return false; + if (node.type !== "TSTypeQuery") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSTypeLiteral(node, opts) { + if (!node) return false; + if (node.type !== "TSTypeLiteral") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSArrayType(node, opts) { + if (!node) return false; + if (node.type !== "TSArrayType") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSTupleType(node, opts) { + if (!node) return false; + if (node.type !== "TSTupleType") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSOptionalType(node, opts) { + if (!node) return false; + if (node.type !== "TSOptionalType") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSRestType(node, opts) { + if (!node) return false; + if (node.type !== "TSRestType") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSNamedTupleMember(node, opts) { + if (!node) return false; + if (node.type !== "TSNamedTupleMember") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSUnionType(node, opts) { + if (!node) return false; + if (node.type !== "TSUnionType") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSIntersectionType(node, opts) { + if (!node) return false; + if (node.type !== "TSIntersectionType") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSConditionalType(node, opts) { + if (!node) return false; + if (node.type !== "TSConditionalType") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSInferType(node, opts) { + if (!node) return false; + if (node.type !== "TSInferType") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSParenthesizedType(node, opts) { + if (!node) return false; + if (node.type !== "TSParenthesizedType") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSTypeOperator(node, opts) { + if (!node) return false; + if (node.type !== "TSTypeOperator") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSIndexedAccessType(node, opts) { + if (!node) return false; + if (node.type !== "TSIndexedAccessType") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSMappedType(node, opts) { + if (!node) return false; + if (node.type !== "TSMappedType") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSTemplateLiteralType(node, opts) { + if (!node) return false; + if (node.type !== "TSTemplateLiteralType") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSLiteralType(node, opts) { + if (!node) return false; + if (node.type !== "TSLiteralType") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSExpressionWithTypeArguments(node, opts) { + if (!node) return false; + if (node.type !== "TSExpressionWithTypeArguments") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSInterfaceDeclaration(node, opts) { + if (!node) return false; + if (node.type !== "TSInterfaceDeclaration") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSInterfaceBody(node, opts) { + if (!node) return false; + if (node.type !== "TSInterfaceBody") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSTypeAliasDeclaration(node, opts) { + if (!node) return false; + if (node.type !== "TSTypeAliasDeclaration") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSInstantiationExpression(node, opts) { + if (!node) return false; + if (node.type !== "TSInstantiationExpression") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSAsExpression(node, opts) { + if (!node) return false; + if (node.type !== "TSAsExpression") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSSatisfiesExpression(node, opts) { + if (!node) return false; + if (node.type !== "TSSatisfiesExpression") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSTypeAssertion(node, opts) { + if (!node) return false; + if (node.type !== "TSTypeAssertion") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSEnumBody(node, opts) { + if (!node) return false; + if (node.type !== "TSEnumBody") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSEnumDeclaration(node, opts) { + if (!node) return false; + if (node.type !== "TSEnumDeclaration") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSEnumMember(node, opts) { + if (!node) return false; + if (node.type !== "TSEnumMember") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSModuleDeclaration(node, opts) { + if (!node) return false; + if (node.type !== "TSModuleDeclaration") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSModuleBlock(node, opts) { + if (!node) return false; + if (node.type !== "TSModuleBlock") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSImportType(node, opts) { + if (!node) return false; + if (node.type !== "TSImportType") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSImportEqualsDeclaration(node, opts) { + if (!node) return false; + if (node.type !== "TSImportEqualsDeclaration") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSExternalModuleReference(node, opts) { + if (!node) return false; + if (node.type !== "TSExternalModuleReference") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSNonNullExpression(node, opts) { + if (!node) return false; + if (node.type !== "TSNonNullExpression") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSExportAssignment(node, opts) { + if (!node) return false; + if (node.type !== "TSExportAssignment") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSNamespaceExportDeclaration(node, opts) { + if (!node) return false; + if (node.type !== "TSNamespaceExportDeclaration") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSTypeAnnotation(node, opts) { + if (!node) return false; + if (node.type !== "TSTypeAnnotation") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSTypeParameterInstantiation(node, opts) { + if (!node) return false; + if (node.type !== "TSTypeParameterInstantiation") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSTypeParameterDeclaration(node, opts) { + if (!node) return false; + if (node.type !== "TSTypeParameterDeclaration") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSTypeParameter(node, opts) { + if (!node) return false; + if (node.type !== "TSTypeParameter") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isStandardized(node, opts) { + if (!node) return false; + switch (node.type) { + case "ArrayExpression": + case "AssignmentExpression": + case "BinaryExpression": + case "InterpreterDirective": + case "Directive": + case "DirectiveLiteral": + case "BlockStatement": + case "BreakStatement": + case "CallExpression": + case "CatchClause": + case "ConditionalExpression": + case "ContinueStatement": + case "DebuggerStatement": + case "DoWhileStatement": + case "EmptyStatement": + case "ExpressionStatement": + case "File": + case "ForInStatement": + case "ForStatement": + case "FunctionDeclaration": + case "FunctionExpression": + case "Identifier": + case "IfStatement": + case "LabeledStatement": + case "StringLiteral": + case "NumericLiteral": + case "NullLiteral": + case "BooleanLiteral": + case "RegExpLiteral": + case "LogicalExpression": + case "MemberExpression": + case "NewExpression": + case "Program": + case "ObjectExpression": + case "ObjectMethod": + case "ObjectProperty": + case "RestElement": + case "ReturnStatement": + case "SequenceExpression": + case "ParenthesizedExpression": + case "SwitchCase": + case "SwitchStatement": + case "ThisExpression": + case "ThrowStatement": + case "TryStatement": + case "UnaryExpression": + case "UpdateExpression": + case "VariableDeclaration": + case "VariableDeclarator": + case "WhileStatement": + case "WithStatement": + case "AssignmentPattern": + case "ArrayPattern": + case "ArrowFunctionExpression": + case "ClassBody": + case "ClassExpression": + case "ClassDeclaration": + case "ExportAllDeclaration": + case "ExportDefaultDeclaration": + case "ExportNamedDeclaration": + case "ExportSpecifier": + case "ForOfStatement": + case "ImportDeclaration": + case "ImportDefaultSpecifier": + case "ImportNamespaceSpecifier": + case "ImportSpecifier": + case "ImportExpression": + case "MetaProperty": + case "ClassMethod": + case "ObjectPattern": + case "SpreadElement": + case "Super": + case "TaggedTemplateExpression": + case "TemplateElement": + case "TemplateLiteral": + case "YieldExpression": + case "AwaitExpression": + case "Import": + case "BigIntLiteral": + case "ExportNamespaceSpecifier": + case "OptionalMemberExpression": + case "OptionalCallExpression": + case "ClassProperty": + case "ClassAccessorProperty": + case "ClassPrivateProperty": + case "ClassPrivateMethod": + case "PrivateName": + case "StaticBlock": + case "ImportAttribute": + break; + case "Placeholder": + switch (node.expectedNode) { + case "Identifier": + case "StringLiteral": + case "BlockStatement": + case "ClassBody": + break; + default: + return false; + } + break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isExpression(node, opts) { + if (!node) return false; + switch (node.type) { + case "ArrayExpression": + case "AssignmentExpression": + case "BinaryExpression": + case "CallExpression": + case "ConditionalExpression": + case "FunctionExpression": + case "Identifier": + case "StringLiteral": + case "NumericLiteral": + case "NullLiteral": + case "BooleanLiteral": + case "RegExpLiteral": + case "LogicalExpression": + case "MemberExpression": + case "NewExpression": + case "ObjectExpression": + case "SequenceExpression": + case "ParenthesizedExpression": + case "ThisExpression": + case "UnaryExpression": + case "UpdateExpression": + case "ArrowFunctionExpression": + case "ClassExpression": + case "ImportExpression": + case "MetaProperty": + case "Super": + case "TaggedTemplateExpression": + case "TemplateLiteral": + case "YieldExpression": + case "AwaitExpression": + case "Import": + case "BigIntLiteral": + case "OptionalMemberExpression": + case "OptionalCallExpression": + case "TypeCastExpression": + case "JSXElement": + case "JSXFragment": + case "BindExpression": + case "DoExpression": + case "RecordExpression": + case "TupleExpression": + case "DecimalLiteral": + case "ModuleExpression": + case "TopicReference": + case "PipelineTopicExpression": + case "PipelineBareFunction": + case "PipelinePrimaryTopicReference": + case "TSInstantiationExpression": + case "TSAsExpression": + case "TSSatisfiesExpression": + case "TSTypeAssertion": + case "TSNonNullExpression": + break; + case "Placeholder": + switch (node.expectedNode) { + case "Expression": + case "Identifier": + case "StringLiteral": + break; + default: + return false; + } + break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isBinary(node, opts) { + if (!node) return false; + switch (node.type) { + case "BinaryExpression": + case "LogicalExpression": + break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isScopable(node, opts) { + if (!node) return false; + switch (node.type) { + case "BlockStatement": + case "CatchClause": + case "DoWhileStatement": + case "ForInStatement": + case "ForStatement": + case "FunctionDeclaration": + case "FunctionExpression": + case "Program": + case "ObjectMethod": + case "SwitchStatement": + case "WhileStatement": + case "ArrowFunctionExpression": + case "ClassExpression": + case "ClassDeclaration": + case "ForOfStatement": + case "ClassMethod": + case "ClassPrivateMethod": + case "StaticBlock": + case "TSModuleBlock": + break; + case "Placeholder": + if (node.expectedNode === "BlockStatement") break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isBlockParent(node, opts) { + if (!node) return false; + switch (node.type) { + case "BlockStatement": + case "CatchClause": + case "DoWhileStatement": + case "ForInStatement": + case "ForStatement": + case "FunctionDeclaration": + case "FunctionExpression": + case "Program": + case "ObjectMethod": + case "SwitchStatement": + case "WhileStatement": + case "ArrowFunctionExpression": + case "ForOfStatement": + case "ClassMethod": + case "ClassPrivateMethod": + case "StaticBlock": + case "TSModuleBlock": + break; + case "Placeholder": + if (node.expectedNode === "BlockStatement") break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isBlock(node, opts) { + if (!node) return false; + switch (node.type) { + case "BlockStatement": + case "Program": + case "TSModuleBlock": + break; + case "Placeholder": + if (node.expectedNode === "BlockStatement") break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isStatement(node, opts) { + if (!node) return false; + switch (node.type) { + case "BlockStatement": + case "BreakStatement": + case "ContinueStatement": + case "DebuggerStatement": + case "DoWhileStatement": + case "EmptyStatement": + case "ExpressionStatement": + case "ForInStatement": + case "ForStatement": + case "FunctionDeclaration": + case "IfStatement": + case "LabeledStatement": + case "ReturnStatement": + case "SwitchStatement": + case "ThrowStatement": + case "TryStatement": + case "VariableDeclaration": + case "WhileStatement": + case "WithStatement": + case "ClassDeclaration": + case "ExportAllDeclaration": + case "ExportDefaultDeclaration": + case "ExportNamedDeclaration": + case "ForOfStatement": + case "ImportDeclaration": + case "DeclareClass": + case "DeclareFunction": + case "DeclareInterface": + case "DeclareModule": + case "DeclareModuleExports": + case "DeclareTypeAlias": + case "DeclareOpaqueType": + case "DeclareVariable": + case "DeclareExportDeclaration": + case "DeclareExportAllDeclaration": + case "InterfaceDeclaration": + case "OpaqueType": + case "TypeAlias": + case "EnumDeclaration": + case "TSDeclareFunction": + case "TSInterfaceDeclaration": + case "TSTypeAliasDeclaration": + case "TSEnumDeclaration": + case "TSModuleDeclaration": + case "TSImportEqualsDeclaration": + case "TSExportAssignment": + case "TSNamespaceExportDeclaration": + break; + case "Placeholder": + switch (node.expectedNode) { + case "Statement": + case "Declaration": + case "BlockStatement": + break; + default: + return false; + } + break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTerminatorless(node, opts) { + if (!node) return false; + switch (node.type) { + case "BreakStatement": + case "ContinueStatement": + case "ReturnStatement": + case "ThrowStatement": + case "YieldExpression": + case "AwaitExpression": + break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isCompletionStatement(node, opts) { + if (!node) return false; + switch (node.type) { + case "BreakStatement": + case "ContinueStatement": + case "ReturnStatement": + case "ThrowStatement": + break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isConditional(node, opts) { + if (!node) return false; + switch (node.type) { + case "ConditionalExpression": + case "IfStatement": + break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isLoop(node, opts) { + if (!node) return false; + switch (node.type) { + case "DoWhileStatement": + case "ForInStatement": + case "ForStatement": + case "WhileStatement": + case "ForOfStatement": + break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isWhile(node, opts) { + if (!node) return false; + switch (node.type) { + case "DoWhileStatement": + case "WhileStatement": + break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isExpressionWrapper(node, opts) { + if (!node) return false; + switch (node.type) { + case "ExpressionStatement": + case "ParenthesizedExpression": + case "TypeCastExpression": + break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isFor(node, opts) { + if (!node) return false; + switch (node.type) { + case "ForInStatement": + case "ForStatement": + case "ForOfStatement": + break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isForXStatement(node, opts) { + if (!node) return false; + switch (node.type) { + case "ForInStatement": + case "ForOfStatement": + break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isFunction(node, opts) { + if (!node) return false; + switch (node.type) { + case "FunctionDeclaration": + case "FunctionExpression": + case "ObjectMethod": + case "ArrowFunctionExpression": + case "ClassMethod": + case "ClassPrivateMethod": + break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isFunctionParent(node, opts) { + if (!node) return false; + switch (node.type) { + case "FunctionDeclaration": + case "FunctionExpression": + case "ObjectMethod": + case "ArrowFunctionExpression": + case "ClassMethod": + case "ClassPrivateMethod": + case "StaticBlock": + case "TSModuleBlock": + break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isPureish(node, opts) { + if (!node) return false; + switch (node.type) { + case "FunctionDeclaration": + case "FunctionExpression": + case "StringLiteral": + case "NumericLiteral": + case "NullLiteral": + case "BooleanLiteral": + case "RegExpLiteral": + case "ArrowFunctionExpression": + case "BigIntLiteral": + case "DecimalLiteral": + break; + case "Placeholder": + if (node.expectedNode === "StringLiteral") break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isDeclaration(node, opts) { + if (!node) return false; + switch (node.type) { + case "FunctionDeclaration": + case "VariableDeclaration": + case "ClassDeclaration": + case "ExportAllDeclaration": + case "ExportDefaultDeclaration": + case "ExportNamedDeclaration": + case "ImportDeclaration": + case "DeclareClass": + case "DeclareFunction": + case "DeclareInterface": + case "DeclareModule": + case "DeclareModuleExports": + case "DeclareTypeAlias": + case "DeclareOpaqueType": + case "DeclareVariable": + case "DeclareExportDeclaration": + case "DeclareExportAllDeclaration": + case "InterfaceDeclaration": + case "OpaqueType": + case "TypeAlias": + case "EnumDeclaration": + case "TSDeclareFunction": + case "TSInterfaceDeclaration": + case "TSTypeAliasDeclaration": + case "TSEnumDeclaration": + case "TSModuleDeclaration": + case "TSImportEqualsDeclaration": + break; + case "Placeholder": + if (node.expectedNode === "Declaration") break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isFunctionParameter(node, opts) { + if (!node) return false; + switch (node.type) { + case "Identifier": + case "RestElement": + case "AssignmentPattern": + case "ArrayPattern": + case "ObjectPattern": + case "VoidPattern": + break; + case "Placeholder": + if (node.expectedNode === "Identifier") break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isPatternLike(node, opts) { + if (!node) return false; + switch (node.type) { + case "Identifier": + case "MemberExpression": + case "RestElement": + case "AssignmentPattern": + case "ArrayPattern": + case "ObjectPattern": + case "VoidPattern": + case "TSAsExpression": + case "TSSatisfiesExpression": + case "TSTypeAssertion": + case "TSNonNullExpression": + break; + case "Placeholder": + switch (node.expectedNode) { + case "Pattern": + case "Identifier": + break; + default: + return false; + } + break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isLVal(node, opts) { + if (!node) return false; + switch (node.type) { + case "Identifier": + case "MemberExpression": + case "RestElement": + case "AssignmentPattern": + case "ArrayPattern": + case "ObjectPattern": + case "TSParameterProperty": + case "TSAsExpression": + case "TSSatisfiesExpression": + case "TSTypeAssertion": + case "TSNonNullExpression": + break; + case "Placeholder": + switch (node.expectedNode) { + case "Pattern": + case "Identifier": + break; + default: + return false; + } + break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSEntityName(node, opts) { + if (!node) return false; + switch (node.type) { + case "Identifier": + case "TSQualifiedName": + break; + case "Placeholder": + if (node.expectedNode === "Identifier") break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isLiteral(node, opts) { + if (!node) return false; + switch (node.type) { + case "StringLiteral": + case "NumericLiteral": + case "NullLiteral": + case "BooleanLiteral": + case "RegExpLiteral": + case "TemplateLiteral": + case "BigIntLiteral": + case "DecimalLiteral": + break; + case "Placeholder": + if (node.expectedNode === "StringLiteral") break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isImmutable(node, opts) { + if (!node) return false; + switch (node.type) { + case "StringLiteral": + case "NumericLiteral": + case "NullLiteral": + case "BooleanLiteral": + case "BigIntLiteral": + case "JSXAttribute": + case "JSXClosingElement": + case "JSXElement": + case "JSXExpressionContainer": + case "JSXSpreadChild": + case "JSXOpeningElement": + case "JSXText": + case "JSXFragment": + case "JSXOpeningFragment": + case "JSXClosingFragment": + case "DecimalLiteral": + break; + case "Placeholder": + if (node.expectedNode === "StringLiteral") break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isUserWhitespacable(node, opts) { + if (!node) return false; + switch (node.type) { + case "ObjectMethod": + case "ObjectProperty": + case "ObjectTypeInternalSlot": + case "ObjectTypeCallProperty": + case "ObjectTypeIndexer": + case "ObjectTypeProperty": + case "ObjectTypeSpreadProperty": + break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isMethod(node, opts) { + if (!node) return false; + switch (node.type) { + case "ObjectMethod": + case "ClassMethod": + case "ClassPrivateMethod": + break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isObjectMember(node, opts) { + if (!node) return false; + switch (node.type) { + case "ObjectMethod": + case "ObjectProperty": + break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isProperty(node, opts) { + if (!node) return false; + switch (node.type) { + case "ObjectProperty": + case "ClassProperty": + case "ClassAccessorProperty": + case "ClassPrivateProperty": + break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isUnaryLike(node, opts) { + if (!node) return false; + switch (node.type) { + case "UnaryExpression": + case "SpreadElement": + break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isPattern(node, opts) { + if (!node) return false; + switch (node.type) { + case "AssignmentPattern": + case "ArrayPattern": + case "ObjectPattern": + case "VoidPattern": + break; + case "Placeholder": + if (node.expectedNode === "Pattern") break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isClass(node, opts) { + if (!node) return false; + switch (node.type) { + case "ClassExpression": + case "ClassDeclaration": + break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isImportOrExportDeclaration(node, opts) { + if (!node) return false; + switch (node.type) { + case "ExportAllDeclaration": + case "ExportDefaultDeclaration": + case "ExportNamedDeclaration": + case "ImportDeclaration": + break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isExportDeclaration(node, opts) { + if (!node) return false; + switch (node.type) { + case "ExportAllDeclaration": + case "ExportDefaultDeclaration": + case "ExportNamedDeclaration": + break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isModuleSpecifier(node, opts) { + if (!node) return false; + switch (node.type) { + case "ExportSpecifier": + case "ImportDefaultSpecifier": + case "ImportNamespaceSpecifier": + case "ImportSpecifier": + case "ExportNamespaceSpecifier": + case "ExportDefaultSpecifier": + break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isAccessor(node, opts) { + if (!node) return false; + switch (node.type) { + case "ClassAccessorProperty": + break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isPrivate(node, opts) { + if (!node) return false; + switch (node.type) { + case "ClassPrivateProperty": + case "ClassPrivateMethod": + case "PrivateName": + break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isFlow(node, opts) { + if (!node) return false; + switch (node.type) { + case "AnyTypeAnnotation": + case "ArrayTypeAnnotation": + case "BooleanTypeAnnotation": + case "BooleanLiteralTypeAnnotation": + case "NullLiteralTypeAnnotation": + case "ClassImplements": + case "DeclareClass": + case "DeclareFunction": + case "DeclareInterface": + case "DeclareModule": + case "DeclareModuleExports": + case "DeclareTypeAlias": + case "DeclareOpaqueType": + case "DeclareVariable": + case "DeclareExportDeclaration": + case "DeclareExportAllDeclaration": + case "DeclaredPredicate": + case "ExistsTypeAnnotation": + case "FunctionTypeAnnotation": + case "FunctionTypeParam": + case "GenericTypeAnnotation": + case "InferredPredicate": + case "InterfaceExtends": + case "InterfaceDeclaration": + case "InterfaceTypeAnnotation": + case "IntersectionTypeAnnotation": + case "MixedTypeAnnotation": + case "EmptyTypeAnnotation": + case "NullableTypeAnnotation": + case "NumberLiteralTypeAnnotation": + case "NumberTypeAnnotation": + case "ObjectTypeAnnotation": + case "ObjectTypeInternalSlot": + case "ObjectTypeCallProperty": + case "ObjectTypeIndexer": + case "ObjectTypeProperty": + case "ObjectTypeSpreadProperty": + case "OpaqueType": + case "QualifiedTypeIdentifier": + case "StringLiteralTypeAnnotation": + case "StringTypeAnnotation": + case "SymbolTypeAnnotation": + case "ThisTypeAnnotation": + case "TupleTypeAnnotation": + case "TypeofTypeAnnotation": + case "TypeAlias": + case "TypeAnnotation": + case "TypeCastExpression": + case "TypeParameter": + case "TypeParameterDeclaration": + case "TypeParameterInstantiation": + case "UnionTypeAnnotation": + case "Variance": + case "VoidTypeAnnotation": + case "EnumDeclaration": + case "EnumBooleanBody": + case "EnumNumberBody": + case "EnumStringBody": + case "EnumSymbolBody": + case "EnumBooleanMember": + case "EnumNumberMember": + case "EnumStringMember": + case "EnumDefaultedMember": + case "IndexedAccessType": + case "OptionalIndexedAccessType": + break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isFlowType(node, opts) { + if (!node) return false; + switch (node.type) { + case "AnyTypeAnnotation": + case "ArrayTypeAnnotation": + case "BooleanTypeAnnotation": + case "BooleanLiteralTypeAnnotation": + case "NullLiteralTypeAnnotation": + case "ExistsTypeAnnotation": + case "FunctionTypeAnnotation": + case "GenericTypeAnnotation": + case "InterfaceTypeAnnotation": + case "IntersectionTypeAnnotation": + case "MixedTypeAnnotation": + case "EmptyTypeAnnotation": + case "NullableTypeAnnotation": + case "NumberLiteralTypeAnnotation": + case "NumberTypeAnnotation": + case "ObjectTypeAnnotation": + case "StringLiteralTypeAnnotation": + case "StringTypeAnnotation": + case "SymbolTypeAnnotation": + case "ThisTypeAnnotation": + case "TupleTypeAnnotation": + case "TypeofTypeAnnotation": + case "UnionTypeAnnotation": + case "VoidTypeAnnotation": + case "IndexedAccessType": + case "OptionalIndexedAccessType": + break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isFlowBaseAnnotation(node, opts) { + if (!node) return false; + switch (node.type) { + case "AnyTypeAnnotation": + case "BooleanTypeAnnotation": + case "NullLiteralTypeAnnotation": + case "MixedTypeAnnotation": + case "EmptyTypeAnnotation": + case "NumberTypeAnnotation": + case "StringTypeAnnotation": + case "SymbolTypeAnnotation": + case "ThisTypeAnnotation": + case "VoidTypeAnnotation": + break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isFlowDeclaration(node, opts) { + if (!node) return false; + switch (node.type) { + case "DeclareClass": + case "DeclareFunction": + case "DeclareInterface": + case "DeclareModule": + case "DeclareModuleExports": + case "DeclareTypeAlias": + case "DeclareOpaqueType": + case "DeclareVariable": + case "DeclareExportDeclaration": + case "DeclareExportAllDeclaration": + case "InterfaceDeclaration": + case "OpaqueType": + case "TypeAlias": + break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isFlowPredicate(node, opts) { + if (!node) return false; + switch (node.type) { + case "DeclaredPredicate": + case "InferredPredicate": + break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isEnumBody(node, opts) { + if (!node) return false; + switch (node.type) { + case "EnumBooleanBody": + case "EnumNumberBody": + case "EnumStringBody": + case "EnumSymbolBody": + break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isEnumMember(node, opts) { + if (!node) return false; + switch (node.type) { + case "EnumBooleanMember": + case "EnumNumberMember": + case "EnumStringMember": + case "EnumDefaultedMember": + break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isJSX(node, opts) { + if (!node) return false; + switch (node.type) { + case "JSXAttribute": + case "JSXClosingElement": + case "JSXElement": + case "JSXEmptyExpression": + case "JSXExpressionContainer": + case "JSXSpreadChild": + case "JSXIdentifier": + case "JSXMemberExpression": + case "JSXNamespacedName": + case "JSXOpeningElement": + case "JSXSpreadAttribute": + case "JSXText": + case "JSXFragment": + case "JSXOpeningFragment": + case "JSXClosingFragment": + break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isMiscellaneous(node, opts) { + if (!node) return false; + switch (node.type) { + case "Noop": + case "Placeholder": + case "V8IntrinsicIdentifier": + break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTypeScript(node, opts) { + if (!node) return false; + switch (node.type) { + case "TSParameterProperty": + case "TSDeclareFunction": + case "TSDeclareMethod": + case "TSQualifiedName": + case "TSCallSignatureDeclaration": + case "TSConstructSignatureDeclaration": + case "TSPropertySignature": + case "TSMethodSignature": + case "TSIndexSignature": + case "TSAnyKeyword": + case "TSBooleanKeyword": + case "TSBigIntKeyword": + case "TSIntrinsicKeyword": + case "TSNeverKeyword": + case "TSNullKeyword": + case "TSNumberKeyword": + case "TSObjectKeyword": + case "TSStringKeyword": + case "TSSymbolKeyword": + case "TSUndefinedKeyword": + case "TSUnknownKeyword": + case "TSVoidKeyword": + case "TSThisType": + case "TSFunctionType": + case "TSConstructorType": + case "TSTypeReference": + case "TSTypePredicate": + case "TSTypeQuery": + case "TSTypeLiteral": + case "TSArrayType": + case "TSTupleType": + case "TSOptionalType": + case "TSRestType": + case "TSNamedTupleMember": + case "TSUnionType": + case "TSIntersectionType": + case "TSConditionalType": + case "TSInferType": + case "TSParenthesizedType": + case "TSTypeOperator": + case "TSIndexedAccessType": + case "TSMappedType": + case "TSTemplateLiteralType": + case "TSLiteralType": + case "TSExpressionWithTypeArguments": + case "TSInterfaceDeclaration": + case "TSInterfaceBody": + case "TSTypeAliasDeclaration": + case "TSInstantiationExpression": + case "TSAsExpression": + case "TSSatisfiesExpression": + case "TSTypeAssertion": + case "TSEnumBody": + case "TSEnumDeclaration": + case "TSEnumMember": + case "TSModuleDeclaration": + case "TSModuleBlock": + case "TSImportType": + case "TSImportEqualsDeclaration": + case "TSExternalModuleReference": + case "TSNonNullExpression": + case "TSExportAssignment": + case "TSNamespaceExportDeclaration": + case "TSTypeAnnotation": + case "TSTypeParameterInstantiation": + case "TSTypeParameterDeclaration": + case "TSTypeParameter": + break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSTypeElement(node, opts) { + if (!node) return false; + switch (node.type) { + case "TSCallSignatureDeclaration": + case "TSConstructSignatureDeclaration": + case "TSPropertySignature": + case "TSMethodSignature": + case "TSIndexSignature": + break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSType(node, opts) { + if (!node) return false; + switch (node.type) { + case "TSAnyKeyword": + case "TSBooleanKeyword": + case "TSBigIntKeyword": + case "TSIntrinsicKeyword": + case "TSNeverKeyword": + case "TSNullKeyword": + case "TSNumberKeyword": + case "TSObjectKeyword": + case "TSStringKeyword": + case "TSSymbolKeyword": + case "TSUndefinedKeyword": + case "TSUnknownKeyword": + case "TSVoidKeyword": + case "TSThisType": + case "TSFunctionType": + case "TSConstructorType": + case "TSTypeReference": + case "TSTypePredicate": + case "TSTypeQuery": + case "TSTypeLiteral": + case "TSArrayType": + case "TSTupleType": + case "TSOptionalType": + case "TSRestType": + case "TSUnionType": + case "TSIntersectionType": + case "TSConditionalType": + case "TSInferType": + case "TSParenthesizedType": + case "TSTypeOperator": + case "TSIndexedAccessType": + case "TSMappedType": + case "TSTemplateLiteralType": + case "TSLiteralType": + case "TSExpressionWithTypeArguments": + case "TSImportType": + break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isTSBaseType(node, opts) { + if (!node) return false; + switch (node.type) { + case "TSAnyKeyword": + case "TSBooleanKeyword": + case "TSBigIntKeyword": + case "TSIntrinsicKeyword": + case "TSNeverKeyword": + case "TSNullKeyword": + case "TSNumberKeyword": + case "TSObjectKeyword": + case "TSStringKeyword": + case "TSSymbolKeyword": + case "TSUndefinedKeyword": + case "TSUnknownKeyword": + case "TSVoidKeyword": + case "TSThisType": + case "TSTemplateLiteralType": + case "TSLiteralType": + break; + default: + return false; + } + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isNumberLiteral(node, opts) { + (0, _deprecationWarning.default)("isNumberLiteral", "isNumericLiteral"); + if (!node) return false; + if (node.type !== "NumberLiteral") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isRegexLiteral(node, opts) { + (0, _deprecationWarning.default)("isRegexLiteral", "isRegExpLiteral"); + if (!node) return false; + if (node.type !== "RegexLiteral") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isRestProperty(node, opts) { + (0, _deprecationWarning.default)("isRestProperty", "isRestElement"); + if (!node) return false; + if (node.type !== "RestProperty") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isSpreadProperty(node, opts) { + (0, _deprecationWarning.default)("isSpreadProperty", "isSpreadElement"); + if (!node) return false; + if (node.type !== "SpreadProperty") return false; + return opts == null || (0, _shallowEqual.default)(node, opts); +} +function isModuleDeclaration(node, opts) { + (0, _deprecationWarning.default)("isModuleDeclaration", "isImportOrExportDeclaration"); + return isImportOrExportDeclaration(node, opts); +} + +//# sourceMappingURL=index.js.map diff --git a/node_modules/@babel/types/lib/validators/generated/index.js.map b/node_modules/@babel/types/lib/validators/generated/index.js.map new file mode 100644 index 0000000000000000000000000000000000000000..377396963244980e0c68d5d616e32b1a359483ff --- /dev/null +++ b/node_modules/@babel/types/lib/validators/generated/index.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_shallowEqual","require","_deprecationWarning","isArrayExpression","node","opts","type","shallowEqual","isAssignmentExpression","isBinaryExpression","isInterpreterDirective","isDirective","isDirectiveLiteral","isBlockStatement","isBreakStatement","isCallExpression","isCatchClause","isConditionalExpression","isContinueStatement","isDebuggerStatement","isDoWhileStatement","isEmptyStatement","isExpressionStatement","isFile","isForInStatement","isForStatement","isFunctionDeclaration","isFunctionExpression","isIdentifier","isIfStatement","isLabeledStatement","isStringLiteral","isNumericLiteral","isNullLiteral","isBooleanLiteral","isRegExpLiteral","isLogicalExpression","isMemberExpression","isNewExpression","isProgram","isObjectExpression","isObjectMethod","isObjectProperty","isRestElement","isReturnStatement","isSequenceExpression","isParenthesizedExpression","isSwitchCase","isSwitchStatement","isThisExpression","isThrowStatement","isTryStatement","isUnaryExpression","isUpdateExpression","isVariableDeclaration","isVariableDeclarator","isWhileStatement","isWithStatement","isAssignmentPattern","isArrayPattern","isArrowFunctionExpression","isClassBody","isClassExpression","isClassDeclaration","isExportAllDeclaration","isExportDefaultDeclaration","isExportNamedDeclaration","isExportSpecifier","isForOfStatement","isImportDeclaration","isImportDefaultSpecifier","isImportNamespaceSpecifier","isImportSpecifier","isImportExpression","isMetaProperty","isClassMethod","isObjectPattern","isSpreadElement","isSuper","isTaggedTemplateExpression","isTemplateElement","isTemplateLiteral","isYieldExpression","isAwaitExpression","isImport","isBigIntLiteral","isExportNamespaceSpecifier","isOptionalMemberExpression","isOptionalCallExpression","isClassProperty","isClassAccessorProperty","isClassPrivateProperty","isClassPrivateMethod","isPrivateName","isStaticBlock","isImportAttribute","isAnyTypeAnnotation","isArrayTypeAnnotation","isBooleanTypeAnnotation","isBooleanLiteralTypeAnnotation","isNullLiteralTypeAnnotation","isClassImplements","isDeclareClass","isDeclareFunction","isDeclareInterface","isDeclareModule","isDeclareModuleExports","isDeclareTypeAlias","isDeclareOpaqueType","isDeclareVariable","isDeclareExportDeclaration","isDeclareExportAllDeclaration","isDeclaredPredicate","isExistsTypeAnnotation","isFunctionTypeAnnotation","isFunctionTypeParam","isGenericTypeAnnotation","isInferredPredicate","isInterfaceExtends","isInterfaceDeclaration","isInterfaceTypeAnnotation","isIntersectionTypeAnnotation","isMixedTypeAnnotation","isEmptyTypeAnnotation","isNullableTypeAnnotation","isNumberLiteralTypeAnnotation","isNumberTypeAnnotation","isObjectTypeAnnotation","isObjectTypeInternalSlot","isObjectTypeCallProperty","isObjectTypeIndexer","isObjectTypeProperty","isObjectTypeSpreadProperty","isOpaqueType","isQualifiedTypeIdentifier","isStringLiteralTypeAnnotation","isStringTypeAnnotation","isSymbolTypeAnnotation","isThisTypeAnnotation","isTupleTypeAnnotation","isTypeofTypeAnnotation","isTypeAlias","isTypeAnnotation","isTypeCastExpression","isTypeParameter","isTypeParameterDeclaration","isTypeParameterInstantiation","isUnionTypeAnnotation","isVariance","isVoidTypeAnnotation","isEnumDeclaration","isEnumBooleanBody","isEnumNumberBody","isEnumStringBody","isEnumSymbolBody","isEnumBooleanMember","isEnumNumberMember","isEnumStringMember","isEnumDefaultedMember","isIndexedAccessType","isOptionalIndexedAccessType","isJSXAttribute","isJSXClosingElement","isJSXElement","isJSXEmptyExpression","isJSXExpressionContainer","isJSXSpreadChild","isJSXIdentifier","isJSXMemberExpression","isJSXNamespacedName","isJSXOpeningElement","isJSXSpreadAttribute","isJSXText","isJSXFragment","isJSXOpeningFragment","isJSXClosingFragment","isNoop","isPlaceholder","isV8IntrinsicIdentifier","isArgumentPlaceholder","isBindExpression","isDecorator","isDoExpression","isExportDefaultSpecifier","isRecordExpression","isTupleExpression","isDecimalLiteral","isModuleExpression","isTopicReference","isPipelineTopicExpression","isPipelineBareFunction","isPipelinePrimaryTopicReference","isVoidPattern","isTSParameterProperty","isTSDeclareFunction","isTSDeclareMethod","isTSQualifiedName","isTSCallSignatureDeclaration","isTSConstructSignatureDeclaration","isTSPropertySignature","isTSMethodSignature","isTSIndexSignature","isTSAnyKeyword","isTSBooleanKeyword","isTSBigIntKeyword","isTSIntrinsicKeyword","isTSNeverKeyword","isTSNullKeyword","isTSNumberKeyword","isTSObjectKeyword","isTSStringKeyword","isTSSymbolKeyword","isTSUndefinedKeyword","isTSUnknownKeyword","isTSVoidKeyword","isTSThisType","isTSFunctionType","isTSConstructorType","isTSTypeReference","isTSTypePredicate","isTSTypeQuery","isTSTypeLiteral","isTSArrayType","isTSTupleType","isTSOptionalType","isTSRestType","isTSNamedTupleMember","isTSUnionType","isTSIntersectionType","isTSConditionalType","isTSInferType","isTSParenthesizedType","isTSTypeOperator","isTSIndexedAccessType","isTSMappedType","isTSTemplateLiteralType","isTSLiteralType","isTSExpressionWithTypeArguments","isTSInterfaceDeclaration","isTSInterfaceBody","isTSTypeAliasDeclaration","isTSInstantiationExpression","isTSAsExpression","isTSSatisfiesExpression","isTSTypeAssertion","isTSEnumBody","isTSEnumDeclaration","isTSEnumMember","isTSModuleDeclaration","isTSModuleBlock","isTSImportType","isTSImportEqualsDeclaration","isTSExternalModuleReference","isTSNonNullExpression","isTSExportAssignment","isTSNamespaceExportDeclaration","isTSTypeAnnotation","isTSTypeParameterInstantiation","isTSTypeParameterDeclaration","isTSTypeParameter","isStandardized","expectedNode","isExpression","isBinary","isScopable","isBlockParent","isBlock","isStatement","isTerminatorless","isCompletionStatement","isConditional","isLoop","isWhile","isExpressionWrapper","isFor","isForXStatement","isFunction","isFunctionParent","isPureish","isDeclaration","isFunctionParameter","isPatternLike","isLVal","isTSEntityName","isLiteral","isImmutable","isUserWhitespacable","isMethod","isObjectMember","isProperty","isUnaryLike","isPattern","isClass","isImportOrExportDeclaration","isExportDeclaration","isModuleSpecifier","isAccessor","isPrivate","isFlow","isFlowType","isFlowBaseAnnotation","isFlowDeclaration","isFlowPredicate","isEnumBody","isEnumMember","isJSX","isMiscellaneous","isTypeScript","isTSTypeElement","isTSType","isTSBaseType","isNumberLiteral","deprecationWarning","isRegexLiteral","isRestProperty","isSpreadProperty","isModuleDeclaration"],"sources":["../../../src/validators/generated/index.ts"],"sourcesContent":["/*\n * This file is auto-generated! Do not modify it directly.\n * To re-generate run 'make build'\n */\n\n/* eslint-disable no-fallthrough */\n\nimport shallowEqual from \"../../utils/shallowEqual.ts\";\nimport type * as t from \"../../index.ts\";\nimport deprecationWarning from \"../../utils/deprecationWarning.ts\";\n\ntype Options = Partial<{\n [Prop in Exclude]: Obj[Prop] extends t.Node\n ? t.Node\n : Obj[Prop] extends t.Node[]\n ? t.Node[]\n : Obj[Prop];\n}>;\n\nexport function isArrayExpression(\n node: t.Node | null | undefined,\n): node is t.ArrayExpression;\nexport function isArrayExpression>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ArrayExpression & Opts;\nexport function isArrayExpression>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"ArrayExpression\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isAssignmentExpression(\n node: t.Node | null | undefined,\n): node is t.AssignmentExpression;\nexport function isAssignmentExpression<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.AssignmentExpression & Opts;\nexport function isAssignmentExpression<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"AssignmentExpression\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isBinaryExpression(\n node: t.Node | null | undefined,\n): node is t.BinaryExpression;\nexport function isBinaryExpression>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.BinaryExpression & Opts;\nexport function isBinaryExpression>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"BinaryExpression\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isInterpreterDirective(\n node: t.Node | null | undefined,\n): node is t.InterpreterDirective;\nexport function isInterpreterDirective<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.InterpreterDirective & Opts;\nexport function isInterpreterDirective<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"InterpreterDirective\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isDirective(\n node: t.Node | null | undefined,\n): node is t.Directive;\nexport function isDirective>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.Directive & Opts;\nexport function isDirective>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"Directive\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isDirectiveLiteral(\n node: t.Node | null | undefined,\n): node is t.DirectiveLiteral;\nexport function isDirectiveLiteral>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.DirectiveLiteral & Opts;\nexport function isDirectiveLiteral>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"DirectiveLiteral\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isBlockStatement(\n node: t.Node | null | undefined,\n): node is t.BlockStatement;\nexport function isBlockStatement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.BlockStatement & Opts;\nexport function isBlockStatement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"BlockStatement\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isBreakStatement(\n node: t.Node | null | undefined,\n): node is t.BreakStatement;\nexport function isBreakStatement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.BreakStatement & Opts;\nexport function isBreakStatement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"BreakStatement\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isCallExpression(\n node: t.Node | null | undefined,\n): node is t.CallExpression;\nexport function isCallExpression>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.CallExpression & Opts;\nexport function isCallExpression>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"CallExpression\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isCatchClause(\n node: t.Node | null | undefined,\n): node is t.CatchClause;\nexport function isCatchClause>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.CatchClause & Opts;\nexport function isCatchClause>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"CatchClause\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isConditionalExpression(\n node: t.Node | null | undefined,\n): node is t.ConditionalExpression;\nexport function isConditionalExpression<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ConditionalExpression & Opts;\nexport function isConditionalExpression<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"ConditionalExpression\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isContinueStatement(\n node: t.Node | null | undefined,\n): node is t.ContinueStatement;\nexport function isContinueStatement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ContinueStatement & Opts;\nexport function isContinueStatement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"ContinueStatement\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isDebuggerStatement(\n node: t.Node | null | undefined,\n): node is t.DebuggerStatement;\nexport function isDebuggerStatement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.DebuggerStatement & Opts;\nexport function isDebuggerStatement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"DebuggerStatement\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isDoWhileStatement(\n node: t.Node | null | undefined,\n): node is t.DoWhileStatement;\nexport function isDoWhileStatement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.DoWhileStatement & Opts;\nexport function isDoWhileStatement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"DoWhileStatement\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isEmptyStatement(\n node: t.Node | null | undefined,\n): node is t.EmptyStatement;\nexport function isEmptyStatement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.EmptyStatement & Opts;\nexport function isEmptyStatement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"EmptyStatement\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isExpressionStatement(\n node: t.Node | null | undefined,\n): node is t.ExpressionStatement;\nexport function isExpressionStatement<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ExpressionStatement & Opts;\nexport function isExpressionStatement<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"ExpressionStatement\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isFile(node: t.Node | null | undefined): node is t.File;\nexport function isFile>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.File & Opts;\nexport function isFile>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"File\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isForInStatement(\n node: t.Node | null | undefined,\n): node is t.ForInStatement;\nexport function isForInStatement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ForInStatement & Opts;\nexport function isForInStatement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"ForInStatement\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isForStatement(\n node: t.Node | null | undefined,\n): node is t.ForStatement;\nexport function isForStatement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ForStatement & Opts;\nexport function isForStatement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"ForStatement\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isFunctionDeclaration(\n node: t.Node | null | undefined,\n): node is t.FunctionDeclaration;\nexport function isFunctionDeclaration<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.FunctionDeclaration & Opts;\nexport function isFunctionDeclaration<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"FunctionDeclaration\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isFunctionExpression(\n node: t.Node | null | undefined,\n): node is t.FunctionExpression;\nexport function isFunctionExpression<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.FunctionExpression & Opts;\nexport function isFunctionExpression<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"FunctionExpression\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isIdentifier(\n node: t.Node | null | undefined,\n): node is t.Identifier;\nexport function isIdentifier>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.Identifier & Opts;\nexport function isIdentifier>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"Identifier\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isIfStatement(\n node: t.Node | null | undefined,\n): node is t.IfStatement;\nexport function isIfStatement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.IfStatement & Opts;\nexport function isIfStatement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"IfStatement\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isLabeledStatement(\n node: t.Node | null | undefined,\n): node is t.LabeledStatement;\nexport function isLabeledStatement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.LabeledStatement & Opts;\nexport function isLabeledStatement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"LabeledStatement\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isStringLiteral(\n node: t.Node | null | undefined,\n): node is t.StringLiteral;\nexport function isStringLiteral>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.StringLiteral & Opts;\nexport function isStringLiteral>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"StringLiteral\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isNumericLiteral(\n node: t.Node | null | undefined,\n): node is t.NumericLiteral;\nexport function isNumericLiteral>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.NumericLiteral & Opts;\nexport function isNumericLiteral>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"NumericLiteral\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isNullLiteral(\n node: t.Node | null | undefined,\n): node is t.NullLiteral;\nexport function isNullLiteral>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.NullLiteral & Opts;\nexport function isNullLiteral>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"NullLiteral\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isBooleanLiteral(\n node: t.Node | null | undefined,\n): node is t.BooleanLiteral;\nexport function isBooleanLiteral>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.BooleanLiteral & Opts;\nexport function isBooleanLiteral>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"BooleanLiteral\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isRegExpLiteral(\n node: t.Node | null | undefined,\n): node is t.RegExpLiteral;\nexport function isRegExpLiteral>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.RegExpLiteral & Opts;\nexport function isRegExpLiteral>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"RegExpLiteral\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isLogicalExpression(\n node: t.Node | null | undefined,\n): node is t.LogicalExpression;\nexport function isLogicalExpression>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.LogicalExpression & Opts;\nexport function isLogicalExpression>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"LogicalExpression\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isMemberExpression(\n node: t.Node | null | undefined,\n): node is t.MemberExpression;\nexport function isMemberExpression>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.MemberExpression & Opts;\nexport function isMemberExpression>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"MemberExpression\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isNewExpression(\n node: t.Node | null | undefined,\n): node is t.NewExpression;\nexport function isNewExpression>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.NewExpression & Opts;\nexport function isNewExpression>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"NewExpression\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isProgram(node: t.Node | null | undefined): node is t.Program;\nexport function isProgram>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.Program & Opts;\nexport function isProgram>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"Program\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isObjectExpression(\n node: t.Node | null | undefined,\n): node is t.ObjectExpression;\nexport function isObjectExpression>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ObjectExpression & Opts;\nexport function isObjectExpression>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"ObjectExpression\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isObjectMethod(\n node: t.Node | null | undefined,\n): node is t.ObjectMethod;\nexport function isObjectMethod>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ObjectMethod & Opts;\nexport function isObjectMethod>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"ObjectMethod\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isObjectProperty(\n node: t.Node | null | undefined,\n): node is t.ObjectProperty;\nexport function isObjectProperty>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ObjectProperty & Opts;\nexport function isObjectProperty>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"ObjectProperty\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isRestElement(\n node: t.Node | null | undefined,\n): node is t.RestElement;\nexport function isRestElement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.RestElement & Opts;\nexport function isRestElement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"RestElement\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isReturnStatement(\n node: t.Node | null | undefined,\n): node is t.ReturnStatement;\nexport function isReturnStatement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ReturnStatement & Opts;\nexport function isReturnStatement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"ReturnStatement\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isSequenceExpression(\n node: t.Node | null | undefined,\n): node is t.SequenceExpression;\nexport function isSequenceExpression<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.SequenceExpression & Opts;\nexport function isSequenceExpression<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"SequenceExpression\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isParenthesizedExpression(\n node: t.Node | null | undefined,\n): node is t.ParenthesizedExpression;\nexport function isParenthesizedExpression<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ParenthesizedExpression & Opts;\nexport function isParenthesizedExpression<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"ParenthesizedExpression\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isSwitchCase(\n node: t.Node | null | undefined,\n): node is t.SwitchCase;\nexport function isSwitchCase>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.SwitchCase & Opts;\nexport function isSwitchCase>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"SwitchCase\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isSwitchStatement(\n node: t.Node | null | undefined,\n): node is t.SwitchStatement;\nexport function isSwitchStatement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.SwitchStatement & Opts;\nexport function isSwitchStatement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"SwitchStatement\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isThisExpression(\n node: t.Node | null | undefined,\n): node is t.ThisExpression;\nexport function isThisExpression>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ThisExpression & Opts;\nexport function isThisExpression>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"ThisExpression\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isThrowStatement(\n node: t.Node | null | undefined,\n): node is t.ThrowStatement;\nexport function isThrowStatement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ThrowStatement & Opts;\nexport function isThrowStatement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"ThrowStatement\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTryStatement(\n node: t.Node | null | undefined,\n): node is t.TryStatement;\nexport function isTryStatement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TryStatement & Opts;\nexport function isTryStatement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TryStatement\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isUnaryExpression(\n node: t.Node | null | undefined,\n): node is t.UnaryExpression;\nexport function isUnaryExpression>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.UnaryExpression & Opts;\nexport function isUnaryExpression>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"UnaryExpression\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isUpdateExpression(\n node: t.Node | null | undefined,\n): node is t.UpdateExpression;\nexport function isUpdateExpression>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.UpdateExpression & Opts;\nexport function isUpdateExpression>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"UpdateExpression\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isVariableDeclaration(\n node: t.Node | null | undefined,\n): node is t.VariableDeclaration;\nexport function isVariableDeclaration<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.VariableDeclaration & Opts;\nexport function isVariableDeclaration<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"VariableDeclaration\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isVariableDeclarator(\n node: t.Node | null | undefined,\n): node is t.VariableDeclarator;\nexport function isVariableDeclarator<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.VariableDeclarator & Opts;\nexport function isVariableDeclarator<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"VariableDeclarator\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isWhileStatement(\n node: t.Node | null | undefined,\n): node is t.WhileStatement;\nexport function isWhileStatement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.WhileStatement & Opts;\nexport function isWhileStatement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"WhileStatement\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isWithStatement(\n node: t.Node | null | undefined,\n): node is t.WithStatement;\nexport function isWithStatement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.WithStatement & Opts;\nexport function isWithStatement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"WithStatement\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isAssignmentPattern(\n node: t.Node | null | undefined,\n): node is t.AssignmentPattern;\nexport function isAssignmentPattern>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.AssignmentPattern & Opts;\nexport function isAssignmentPattern>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"AssignmentPattern\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isArrayPattern(\n node: t.Node | null | undefined,\n): node is t.ArrayPattern;\nexport function isArrayPattern>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ArrayPattern & Opts;\nexport function isArrayPattern>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"ArrayPattern\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isArrowFunctionExpression(\n node: t.Node | null | undefined,\n): node is t.ArrowFunctionExpression;\nexport function isArrowFunctionExpression<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ArrowFunctionExpression & Opts;\nexport function isArrowFunctionExpression<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"ArrowFunctionExpression\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isClassBody(\n node: t.Node | null | undefined,\n): node is t.ClassBody;\nexport function isClassBody>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ClassBody & Opts;\nexport function isClassBody>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"ClassBody\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isClassExpression(\n node: t.Node | null | undefined,\n): node is t.ClassExpression;\nexport function isClassExpression>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ClassExpression & Opts;\nexport function isClassExpression>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"ClassExpression\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isClassDeclaration(\n node: t.Node | null | undefined,\n): node is t.ClassDeclaration;\nexport function isClassDeclaration>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ClassDeclaration & Opts;\nexport function isClassDeclaration>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"ClassDeclaration\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isExportAllDeclaration(\n node: t.Node | null | undefined,\n): node is t.ExportAllDeclaration;\nexport function isExportAllDeclaration<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ExportAllDeclaration & Opts;\nexport function isExportAllDeclaration<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"ExportAllDeclaration\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isExportDefaultDeclaration(\n node: t.Node | null | undefined,\n): node is t.ExportDefaultDeclaration;\nexport function isExportDefaultDeclaration<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ExportDefaultDeclaration & Opts;\nexport function isExportDefaultDeclaration<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"ExportDefaultDeclaration\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isExportNamedDeclaration(\n node: t.Node | null | undefined,\n): node is t.ExportNamedDeclaration;\nexport function isExportNamedDeclaration<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ExportNamedDeclaration & Opts;\nexport function isExportNamedDeclaration<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"ExportNamedDeclaration\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isExportSpecifier(\n node: t.Node | null | undefined,\n): node is t.ExportSpecifier;\nexport function isExportSpecifier>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ExportSpecifier & Opts;\nexport function isExportSpecifier>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"ExportSpecifier\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isForOfStatement(\n node: t.Node | null | undefined,\n): node is t.ForOfStatement;\nexport function isForOfStatement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ForOfStatement & Opts;\nexport function isForOfStatement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"ForOfStatement\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isImportDeclaration(\n node: t.Node | null | undefined,\n): node is t.ImportDeclaration;\nexport function isImportDeclaration>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ImportDeclaration & Opts;\nexport function isImportDeclaration>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"ImportDeclaration\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isImportDefaultSpecifier(\n node: t.Node | null | undefined,\n): node is t.ImportDefaultSpecifier;\nexport function isImportDefaultSpecifier<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ImportDefaultSpecifier & Opts;\nexport function isImportDefaultSpecifier<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"ImportDefaultSpecifier\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isImportNamespaceSpecifier(\n node: t.Node | null | undefined,\n): node is t.ImportNamespaceSpecifier;\nexport function isImportNamespaceSpecifier<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ImportNamespaceSpecifier & Opts;\nexport function isImportNamespaceSpecifier<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"ImportNamespaceSpecifier\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isImportSpecifier(\n node: t.Node | null | undefined,\n): node is t.ImportSpecifier;\nexport function isImportSpecifier>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ImportSpecifier & Opts;\nexport function isImportSpecifier>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"ImportSpecifier\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isImportExpression(\n node: t.Node | null | undefined,\n): node is t.ImportExpression;\nexport function isImportExpression>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ImportExpression & Opts;\nexport function isImportExpression>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"ImportExpression\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isMetaProperty(\n node: t.Node | null | undefined,\n): node is t.MetaProperty;\nexport function isMetaProperty>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.MetaProperty & Opts;\nexport function isMetaProperty>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"MetaProperty\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isClassMethod(\n node: t.Node | null | undefined,\n): node is t.ClassMethod;\nexport function isClassMethod>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ClassMethod & Opts;\nexport function isClassMethod>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"ClassMethod\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isObjectPattern(\n node: t.Node | null | undefined,\n): node is t.ObjectPattern;\nexport function isObjectPattern>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ObjectPattern & Opts;\nexport function isObjectPattern>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"ObjectPattern\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isSpreadElement(\n node: t.Node | null | undefined,\n): node is t.SpreadElement;\nexport function isSpreadElement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.SpreadElement & Opts;\nexport function isSpreadElement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"SpreadElement\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isSuper(node: t.Node | null | undefined): node is t.Super;\nexport function isSuper>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.Super & Opts;\nexport function isSuper>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"Super\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTaggedTemplateExpression(\n node: t.Node | null | undefined,\n): node is t.TaggedTemplateExpression;\nexport function isTaggedTemplateExpression<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TaggedTemplateExpression & Opts;\nexport function isTaggedTemplateExpression<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"TaggedTemplateExpression\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTemplateElement(\n node: t.Node | null | undefined,\n): node is t.TemplateElement;\nexport function isTemplateElement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TemplateElement & Opts;\nexport function isTemplateElement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TemplateElement\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTemplateLiteral(\n node: t.Node | null | undefined,\n): node is t.TemplateLiteral;\nexport function isTemplateLiteral>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TemplateLiteral & Opts;\nexport function isTemplateLiteral>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TemplateLiteral\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isYieldExpression(\n node: t.Node | null | undefined,\n): node is t.YieldExpression;\nexport function isYieldExpression>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.YieldExpression & Opts;\nexport function isYieldExpression>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"YieldExpression\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isAwaitExpression(\n node: t.Node | null | undefined,\n): node is t.AwaitExpression;\nexport function isAwaitExpression>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.AwaitExpression & Opts;\nexport function isAwaitExpression>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"AwaitExpression\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isImport(node: t.Node | null | undefined): node is t.Import;\nexport function isImport>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.Import & Opts;\nexport function isImport>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"Import\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isBigIntLiteral(\n node: t.Node | null | undefined,\n): node is t.BigIntLiteral;\nexport function isBigIntLiteral>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.BigIntLiteral & Opts;\nexport function isBigIntLiteral>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"BigIntLiteral\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isExportNamespaceSpecifier(\n node: t.Node | null | undefined,\n): node is t.ExportNamespaceSpecifier;\nexport function isExportNamespaceSpecifier<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ExportNamespaceSpecifier & Opts;\nexport function isExportNamespaceSpecifier<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"ExportNamespaceSpecifier\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isOptionalMemberExpression(\n node: t.Node | null | undefined,\n): node is t.OptionalMemberExpression;\nexport function isOptionalMemberExpression<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.OptionalMemberExpression & Opts;\nexport function isOptionalMemberExpression<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"OptionalMemberExpression\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isOptionalCallExpression(\n node: t.Node | null | undefined,\n): node is t.OptionalCallExpression;\nexport function isOptionalCallExpression<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.OptionalCallExpression & Opts;\nexport function isOptionalCallExpression<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"OptionalCallExpression\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isClassProperty(\n node: t.Node | null | undefined,\n): node is t.ClassProperty;\nexport function isClassProperty>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ClassProperty & Opts;\nexport function isClassProperty>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"ClassProperty\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isClassAccessorProperty(\n node: t.Node | null | undefined,\n): node is t.ClassAccessorProperty;\nexport function isClassAccessorProperty<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ClassAccessorProperty & Opts;\nexport function isClassAccessorProperty<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"ClassAccessorProperty\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isClassPrivateProperty(\n node: t.Node | null | undefined,\n): node is t.ClassPrivateProperty;\nexport function isClassPrivateProperty<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ClassPrivateProperty & Opts;\nexport function isClassPrivateProperty<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"ClassPrivateProperty\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isClassPrivateMethod(\n node: t.Node | null | undefined,\n): node is t.ClassPrivateMethod;\nexport function isClassPrivateMethod<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ClassPrivateMethod & Opts;\nexport function isClassPrivateMethod<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"ClassPrivateMethod\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isPrivateName(\n node: t.Node | null | undefined,\n): node is t.PrivateName;\nexport function isPrivateName>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.PrivateName & Opts;\nexport function isPrivateName>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"PrivateName\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isStaticBlock(\n node: t.Node | null | undefined,\n): node is t.StaticBlock;\nexport function isStaticBlock>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.StaticBlock & Opts;\nexport function isStaticBlock>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"StaticBlock\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isImportAttribute(\n node: t.Node | null | undefined,\n): node is t.ImportAttribute;\nexport function isImportAttribute>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ImportAttribute & Opts;\nexport function isImportAttribute>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"ImportAttribute\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isAnyTypeAnnotation(\n node: t.Node | null | undefined,\n): node is t.AnyTypeAnnotation;\nexport function isAnyTypeAnnotation>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.AnyTypeAnnotation & Opts;\nexport function isAnyTypeAnnotation>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"AnyTypeAnnotation\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isArrayTypeAnnotation(\n node: t.Node | null | undefined,\n): node is t.ArrayTypeAnnotation;\nexport function isArrayTypeAnnotation<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ArrayTypeAnnotation & Opts;\nexport function isArrayTypeAnnotation<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"ArrayTypeAnnotation\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isBooleanTypeAnnotation(\n node: t.Node | null | undefined,\n): node is t.BooleanTypeAnnotation;\nexport function isBooleanTypeAnnotation<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.BooleanTypeAnnotation & Opts;\nexport function isBooleanTypeAnnotation<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"BooleanTypeAnnotation\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isBooleanLiteralTypeAnnotation(\n node: t.Node | null | undefined,\n): node is t.BooleanLiteralTypeAnnotation;\nexport function isBooleanLiteralTypeAnnotation<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.BooleanLiteralTypeAnnotation & Opts;\nexport function isBooleanLiteralTypeAnnotation<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"BooleanLiteralTypeAnnotation\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isNullLiteralTypeAnnotation(\n node: t.Node | null | undefined,\n): node is t.NullLiteralTypeAnnotation;\nexport function isNullLiteralTypeAnnotation<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.NullLiteralTypeAnnotation & Opts;\nexport function isNullLiteralTypeAnnotation<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"NullLiteralTypeAnnotation\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isClassImplements(\n node: t.Node | null | undefined,\n): node is t.ClassImplements;\nexport function isClassImplements>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ClassImplements & Opts;\nexport function isClassImplements>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"ClassImplements\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isDeclareClass(\n node: t.Node | null | undefined,\n): node is t.DeclareClass;\nexport function isDeclareClass>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.DeclareClass & Opts;\nexport function isDeclareClass>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"DeclareClass\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isDeclareFunction(\n node: t.Node | null | undefined,\n): node is t.DeclareFunction;\nexport function isDeclareFunction>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.DeclareFunction & Opts;\nexport function isDeclareFunction>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"DeclareFunction\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isDeclareInterface(\n node: t.Node | null | undefined,\n): node is t.DeclareInterface;\nexport function isDeclareInterface>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.DeclareInterface & Opts;\nexport function isDeclareInterface>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"DeclareInterface\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isDeclareModule(\n node: t.Node | null | undefined,\n): node is t.DeclareModule;\nexport function isDeclareModule>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.DeclareModule & Opts;\nexport function isDeclareModule>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"DeclareModule\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isDeclareModuleExports(\n node: t.Node | null | undefined,\n): node is t.DeclareModuleExports;\nexport function isDeclareModuleExports<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.DeclareModuleExports & Opts;\nexport function isDeclareModuleExports<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"DeclareModuleExports\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isDeclareTypeAlias(\n node: t.Node | null | undefined,\n): node is t.DeclareTypeAlias;\nexport function isDeclareTypeAlias>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.DeclareTypeAlias & Opts;\nexport function isDeclareTypeAlias>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"DeclareTypeAlias\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isDeclareOpaqueType(\n node: t.Node | null | undefined,\n): node is t.DeclareOpaqueType;\nexport function isDeclareOpaqueType>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.DeclareOpaqueType & Opts;\nexport function isDeclareOpaqueType>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"DeclareOpaqueType\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isDeclareVariable(\n node: t.Node | null | undefined,\n): node is t.DeclareVariable;\nexport function isDeclareVariable>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.DeclareVariable & Opts;\nexport function isDeclareVariable>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"DeclareVariable\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isDeclareExportDeclaration(\n node: t.Node | null | undefined,\n): node is t.DeclareExportDeclaration;\nexport function isDeclareExportDeclaration<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.DeclareExportDeclaration & Opts;\nexport function isDeclareExportDeclaration<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"DeclareExportDeclaration\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isDeclareExportAllDeclaration(\n node: t.Node | null | undefined,\n): node is t.DeclareExportAllDeclaration;\nexport function isDeclareExportAllDeclaration<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.DeclareExportAllDeclaration & Opts;\nexport function isDeclareExportAllDeclaration<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"DeclareExportAllDeclaration\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isDeclaredPredicate(\n node: t.Node | null | undefined,\n): node is t.DeclaredPredicate;\nexport function isDeclaredPredicate>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.DeclaredPredicate & Opts;\nexport function isDeclaredPredicate>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"DeclaredPredicate\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isExistsTypeAnnotation(\n node: t.Node | null | undefined,\n): node is t.ExistsTypeAnnotation;\nexport function isExistsTypeAnnotation<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ExistsTypeAnnotation & Opts;\nexport function isExistsTypeAnnotation<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"ExistsTypeAnnotation\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isFunctionTypeAnnotation(\n node: t.Node | null | undefined,\n): node is t.FunctionTypeAnnotation;\nexport function isFunctionTypeAnnotation<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.FunctionTypeAnnotation & Opts;\nexport function isFunctionTypeAnnotation<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"FunctionTypeAnnotation\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isFunctionTypeParam(\n node: t.Node | null | undefined,\n): node is t.FunctionTypeParam;\nexport function isFunctionTypeParam>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.FunctionTypeParam & Opts;\nexport function isFunctionTypeParam>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"FunctionTypeParam\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isGenericTypeAnnotation(\n node: t.Node | null | undefined,\n): node is t.GenericTypeAnnotation;\nexport function isGenericTypeAnnotation<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.GenericTypeAnnotation & Opts;\nexport function isGenericTypeAnnotation<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"GenericTypeAnnotation\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isInferredPredicate(\n node: t.Node | null | undefined,\n): node is t.InferredPredicate;\nexport function isInferredPredicate>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.InferredPredicate & Opts;\nexport function isInferredPredicate>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"InferredPredicate\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isInterfaceExtends(\n node: t.Node | null | undefined,\n): node is t.InterfaceExtends;\nexport function isInterfaceExtends>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.InterfaceExtends & Opts;\nexport function isInterfaceExtends>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"InterfaceExtends\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isInterfaceDeclaration(\n node: t.Node | null | undefined,\n): node is t.InterfaceDeclaration;\nexport function isInterfaceDeclaration<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.InterfaceDeclaration & Opts;\nexport function isInterfaceDeclaration<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"InterfaceDeclaration\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isInterfaceTypeAnnotation(\n node: t.Node | null | undefined,\n): node is t.InterfaceTypeAnnotation;\nexport function isInterfaceTypeAnnotation<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.InterfaceTypeAnnotation & Opts;\nexport function isInterfaceTypeAnnotation<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"InterfaceTypeAnnotation\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isIntersectionTypeAnnotation(\n node: t.Node | null | undefined,\n): node is t.IntersectionTypeAnnotation;\nexport function isIntersectionTypeAnnotation<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.IntersectionTypeAnnotation & Opts;\nexport function isIntersectionTypeAnnotation<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"IntersectionTypeAnnotation\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isMixedTypeAnnotation(\n node: t.Node | null | undefined,\n): node is t.MixedTypeAnnotation;\nexport function isMixedTypeAnnotation<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.MixedTypeAnnotation & Opts;\nexport function isMixedTypeAnnotation<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"MixedTypeAnnotation\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isEmptyTypeAnnotation(\n node: t.Node | null | undefined,\n): node is t.EmptyTypeAnnotation;\nexport function isEmptyTypeAnnotation<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.EmptyTypeAnnotation & Opts;\nexport function isEmptyTypeAnnotation<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"EmptyTypeAnnotation\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isNullableTypeAnnotation(\n node: t.Node | null | undefined,\n): node is t.NullableTypeAnnotation;\nexport function isNullableTypeAnnotation<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.NullableTypeAnnotation & Opts;\nexport function isNullableTypeAnnotation<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"NullableTypeAnnotation\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isNumberLiteralTypeAnnotation(\n node: t.Node | null | undefined,\n): node is t.NumberLiteralTypeAnnotation;\nexport function isNumberLiteralTypeAnnotation<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.NumberLiteralTypeAnnotation & Opts;\nexport function isNumberLiteralTypeAnnotation<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"NumberLiteralTypeAnnotation\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isNumberTypeAnnotation(\n node: t.Node | null | undefined,\n): node is t.NumberTypeAnnotation;\nexport function isNumberTypeAnnotation<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.NumberTypeAnnotation & Opts;\nexport function isNumberTypeAnnotation<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"NumberTypeAnnotation\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isObjectTypeAnnotation(\n node: t.Node | null | undefined,\n): node is t.ObjectTypeAnnotation;\nexport function isObjectTypeAnnotation<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ObjectTypeAnnotation & Opts;\nexport function isObjectTypeAnnotation<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"ObjectTypeAnnotation\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isObjectTypeInternalSlot(\n node: t.Node | null | undefined,\n): node is t.ObjectTypeInternalSlot;\nexport function isObjectTypeInternalSlot<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ObjectTypeInternalSlot & Opts;\nexport function isObjectTypeInternalSlot<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"ObjectTypeInternalSlot\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isObjectTypeCallProperty(\n node: t.Node | null | undefined,\n): node is t.ObjectTypeCallProperty;\nexport function isObjectTypeCallProperty<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ObjectTypeCallProperty & Opts;\nexport function isObjectTypeCallProperty<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"ObjectTypeCallProperty\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isObjectTypeIndexer(\n node: t.Node | null | undefined,\n): node is t.ObjectTypeIndexer;\nexport function isObjectTypeIndexer>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ObjectTypeIndexer & Opts;\nexport function isObjectTypeIndexer>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"ObjectTypeIndexer\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isObjectTypeProperty(\n node: t.Node | null | undefined,\n): node is t.ObjectTypeProperty;\nexport function isObjectTypeProperty<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ObjectTypeProperty & Opts;\nexport function isObjectTypeProperty<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"ObjectTypeProperty\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isObjectTypeSpreadProperty(\n node: t.Node | null | undefined,\n): node is t.ObjectTypeSpreadProperty;\nexport function isObjectTypeSpreadProperty<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ObjectTypeSpreadProperty & Opts;\nexport function isObjectTypeSpreadProperty<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"ObjectTypeSpreadProperty\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isOpaqueType(\n node: t.Node | null | undefined,\n): node is t.OpaqueType;\nexport function isOpaqueType>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.OpaqueType & Opts;\nexport function isOpaqueType>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"OpaqueType\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isQualifiedTypeIdentifier(\n node: t.Node | null | undefined,\n): node is t.QualifiedTypeIdentifier;\nexport function isQualifiedTypeIdentifier<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.QualifiedTypeIdentifier & Opts;\nexport function isQualifiedTypeIdentifier<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"QualifiedTypeIdentifier\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isStringLiteralTypeAnnotation(\n node: t.Node | null | undefined,\n): node is t.StringLiteralTypeAnnotation;\nexport function isStringLiteralTypeAnnotation<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.StringLiteralTypeAnnotation & Opts;\nexport function isStringLiteralTypeAnnotation<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"StringLiteralTypeAnnotation\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isStringTypeAnnotation(\n node: t.Node | null | undefined,\n): node is t.StringTypeAnnotation;\nexport function isStringTypeAnnotation<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.StringTypeAnnotation & Opts;\nexport function isStringTypeAnnotation<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"StringTypeAnnotation\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isSymbolTypeAnnotation(\n node: t.Node | null | undefined,\n): node is t.SymbolTypeAnnotation;\nexport function isSymbolTypeAnnotation<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.SymbolTypeAnnotation & Opts;\nexport function isSymbolTypeAnnotation<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"SymbolTypeAnnotation\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isThisTypeAnnotation(\n node: t.Node | null | undefined,\n): node is t.ThisTypeAnnotation;\nexport function isThisTypeAnnotation<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ThisTypeAnnotation & Opts;\nexport function isThisTypeAnnotation<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"ThisTypeAnnotation\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTupleTypeAnnotation(\n node: t.Node | null | undefined,\n): node is t.TupleTypeAnnotation;\nexport function isTupleTypeAnnotation<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TupleTypeAnnotation & Opts;\nexport function isTupleTypeAnnotation<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"TupleTypeAnnotation\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTypeofTypeAnnotation(\n node: t.Node | null | undefined,\n): node is t.TypeofTypeAnnotation;\nexport function isTypeofTypeAnnotation<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TypeofTypeAnnotation & Opts;\nexport function isTypeofTypeAnnotation<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"TypeofTypeAnnotation\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTypeAlias(\n node: t.Node | null | undefined,\n): node is t.TypeAlias;\nexport function isTypeAlias>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TypeAlias & Opts;\nexport function isTypeAlias>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TypeAlias\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTypeAnnotation(\n node: t.Node | null | undefined,\n): node is t.TypeAnnotation;\nexport function isTypeAnnotation>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TypeAnnotation & Opts;\nexport function isTypeAnnotation>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TypeAnnotation\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTypeCastExpression(\n node: t.Node | null | undefined,\n): node is t.TypeCastExpression;\nexport function isTypeCastExpression<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TypeCastExpression & Opts;\nexport function isTypeCastExpression<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"TypeCastExpression\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTypeParameter(\n node: t.Node | null | undefined,\n): node is t.TypeParameter;\nexport function isTypeParameter>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TypeParameter & Opts;\nexport function isTypeParameter>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TypeParameter\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTypeParameterDeclaration(\n node: t.Node | null | undefined,\n): node is t.TypeParameterDeclaration;\nexport function isTypeParameterDeclaration<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TypeParameterDeclaration & Opts;\nexport function isTypeParameterDeclaration<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"TypeParameterDeclaration\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTypeParameterInstantiation(\n node: t.Node | null | undefined,\n): node is t.TypeParameterInstantiation;\nexport function isTypeParameterInstantiation<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TypeParameterInstantiation & Opts;\nexport function isTypeParameterInstantiation<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"TypeParameterInstantiation\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isUnionTypeAnnotation(\n node: t.Node | null | undefined,\n): node is t.UnionTypeAnnotation;\nexport function isUnionTypeAnnotation<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.UnionTypeAnnotation & Opts;\nexport function isUnionTypeAnnotation<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"UnionTypeAnnotation\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isVariance(node: t.Node | null | undefined): node is t.Variance;\nexport function isVariance>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.Variance & Opts;\nexport function isVariance>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"Variance\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isVoidTypeAnnotation(\n node: t.Node | null | undefined,\n): node is t.VoidTypeAnnotation;\nexport function isVoidTypeAnnotation<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.VoidTypeAnnotation & Opts;\nexport function isVoidTypeAnnotation<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"VoidTypeAnnotation\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isEnumDeclaration(\n node: t.Node | null | undefined,\n): node is t.EnumDeclaration;\nexport function isEnumDeclaration>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.EnumDeclaration & Opts;\nexport function isEnumDeclaration>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"EnumDeclaration\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isEnumBooleanBody(\n node: t.Node | null | undefined,\n): node is t.EnumBooleanBody;\nexport function isEnumBooleanBody>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.EnumBooleanBody & Opts;\nexport function isEnumBooleanBody>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"EnumBooleanBody\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isEnumNumberBody(\n node: t.Node | null | undefined,\n): node is t.EnumNumberBody;\nexport function isEnumNumberBody>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.EnumNumberBody & Opts;\nexport function isEnumNumberBody>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"EnumNumberBody\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isEnumStringBody(\n node: t.Node | null | undefined,\n): node is t.EnumStringBody;\nexport function isEnumStringBody>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.EnumStringBody & Opts;\nexport function isEnumStringBody>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"EnumStringBody\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isEnumSymbolBody(\n node: t.Node | null | undefined,\n): node is t.EnumSymbolBody;\nexport function isEnumSymbolBody>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.EnumSymbolBody & Opts;\nexport function isEnumSymbolBody>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"EnumSymbolBody\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isEnumBooleanMember(\n node: t.Node | null | undefined,\n): node is t.EnumBooleanMember;\nexport function isEnumBooleanMember>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.EnumBooleanMember & Opts;\nexport function isEnumBooleanMember>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"EnumBooleanMember\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isEnumNumberMember(\n node: t.Node | null | undefined,\n): node is t.EnumNumberMember;\nexport function isEnumNumberMember>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.EnumNumberMember & Opts;\nexport function isEnumNumberMember>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"EnumNumberMember\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isEnumStringMember(\n node: t.Node | null | undefined,\n): node is t.EnumStringMember;\nexport function isEnumStringMember>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.EnumStringMember & Opts;\nexport function isEnumStringMember>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"EnumStringMember\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isEnumDefaultedMember(\n node: t.Node | null | undefined,\n): node is t.EnumDefaultedMember;\nexport function isEnumDefaultedMember<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.EnumDefaultedMember & Opts;\nexport function isEnumDefaultedMember<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"EnumDefaultedMember\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isIndexedAccessType(\n node: t.Node | null | undefined,\n): node is t.IndexedAccessType;\nexport function isIndexedAccessType>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.IndexedAccessType & Opts;\nexport function isIndexedAccessType>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"IndexedAccessType\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isOptionalIndexedAccessType(\n node: t.Node | null | undefined,\n): node is t.OptionalIndexedAccessType;\nexport function isOptionalIndexedAccessType<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.OptionalIndexedAccessType & Opts;\nexport function isOptionalIndexedAccessType<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"OptionalIndexedAccessType\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isJSXAttribute(\n node: t.Node | null | undefined,\n): node is t.JSXAttribute;\nexport function isJSXAttribute>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.JSXAttribute & Opts;\nexport function isJSXAttribute>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"JSXAttribute\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isJSXClosingElement(\n node: t.Node | null | undefined,\n): node is t.JSXClosingElement;\nexport function isJSXClosingElement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.JSXClosingElement & Opts;\nexport function isJSXClosingElement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"JSXClosingElement\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isJSXElement(\n node: t.Node | null | undefined,\n): node is t.JSXElement;\nexport function isJSXElement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.JSXElement & Opts;\nexport function isJSXElement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"JSXElement\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isJSXEmptyExpression(\n node: t.Node | null | undefined,\n): node is t.JSXEmptyExpression;\nexport function isJSXEmptyExpression<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.JSXEmptyExpression & Opts;\nexport function isJSXEmptyExpression<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"JSXEmptyExpression\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isJSXExpressionContainer(\n node: t.Node | null | undefined,\n): node is t.JSXExpressionContainer;\nexport function isJSXExpressionContainer<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.JSXExpressionContainer & Opts;\nexport function isJSXExpressionContainer<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"JSXExpressionContainer\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isJSXSpreadChild(\n node: t.Node | null | undefined,\n): node is t.JSXSpreadChild;\nexport function isJSXSpreadChild>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.JSXSpreadChild & Opts;\nexport function isJSXSpreadChild>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"JSXSpreadChild\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isJSXIdentifier(\n node: t.Node | null | undefined,\n): node is t.JSXIdentifier;\nexport function isJSXIdentifier>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.JSXIdentifier & Opts;\nexport function isJSXIdentifier>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"JSXIdentifier\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isJSXMemberExpression(\n node: t.Node | null | undefined,\n): node is t.JSXMemberExpression;\nexport function isJSXMemberExpression<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.JSXMemberExpression & Opts;\nexport function isJSXMemberExpression<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"JSXMemberExpression\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isJSXNamespacedName(\n node: t.Node | null | undefined,\n): node is t.JSXNamespacedName;\nexport function isJSXNamespacedName>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.JSXNamespacedName & Opts;\nexport function isJSXNamespacedName>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"JSXNamespacedName\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isJSXOpeningElement(\n node: t.Node | null | undefined,\n): node is t.JSXOpeningElement;\nexport function isJSXOpeningElement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.JSXOpeningElement & Opts;\nexport function isJSXOpeningElement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"JSXOpeningElement\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isJSXSpreadAttribute(\n node: t.Node | null | undefined,\n): node is t.JSXSpreadAttribute;\nexport function isJSXSpreadAttribute<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.JSXSpreadAttribute & Opts;\nexport function isJSXSpreadAttribute<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"JSXSpreadAttribute\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isJSXText(node: t.Node | null | undefined): node is t.JSXText;\nexport function isJSXText>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.JSXText & Opts;\nexport function isJSXText>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"JSXText\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isJSXFragment(\n node: t.Node | null | undefined,\n): node is t.JSXFragment;\nexport function isJSXFragment>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.JSXFragment & Opts;\nexport function isJSXFragment>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"JSXFragment\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isJSXOpeningFragment(\n node: t.Node | null | undefined,\n): node is t.JSXOpeningFragment;\nexport function isJSXOpeningFragment<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.JSXOpeningFragment & Opts;\nexport function isJSXOpeningFragment<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"JSXOpeningFragment\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isJSXClosingFragment(\n node: t.Node | null | undefined,\n): node is t.JSXClosingFragment;\nexport function isJSXClosingFragment<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.JSXClosingFragment & Opts;\nexport function isJSXClosingFragment<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"JSXClosingFragment\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isNoop(node: t.Node | null | undefined): node is t.Noop;\nexport function isNoop>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.Noop & Opts;\nexport function isNoop>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"Noop\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isPlaceholder(\n node: t.Node | null | undefined,\n): node is t.Placeholder;\nexport function isPlaceholder>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.Placeholder & Opts;\nexport function isPlaceholder>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"Placeholder\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isV8IntrinsicIdentifier(\n node: t.Node | null | undefined,\n): node is t.V8IntrinsicIdentifier;\nexport function isV8IntrinsicIdentifier<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.V8IntrinsicIdentifier & Opts;\nexport function isV8IntrinsicIdentifier<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"V8IntrinsicIdentifier\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isArgumentPlaceholder(\n node: t.Node | null | undefined,\n): node is t.ArgumentPlaceholder;\nexport function isArgumentPlaceholder<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ArgumentPlaceholder & Opts;\nexport function isArgumentPlaceholder<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"ArgumentPlaceholder\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isBindExpression(\n node: t.Node | null | undefined,\n): node is t.BindExpression;\nexport function isBindExpression>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.BindExpression & Opts;\nexport function isBindExpression>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"BindExpression\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isDecorator(\n node: t.Node | null | undefined,\n): node is t.Decorator;\nexport function isDecorator>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.Decorator & Opts;\nexport function isDecorator>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"Decorator\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isDoExpression(\n node: t.Node | null | undefined,\n): node is t.DoExpression;\nexport function isDoExpression>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.DoExpression & Opts;\nexport function isDoExpression>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"DoExpression\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isExportDefaultSpecifier(\n node: t.Node | null | undefined,\n): node is t.ExportDefaultSpecifier;\nexport function isExportDefaultSpecifier<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ExportDefaultSpecifier & Opts;\nexport function isExportDefaultSpecifier<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"ExportDefaultSpecifier\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isRecordExpression(\n node: t.Node | null | undefined,\n): node is t.RecordExpression;\nexport function isRecordExpression>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.RecordExpression & Opts;\nexport function isRecordExpression>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"RecordExpression\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTupleExpression(\n node: t.Node | null | undefined,\n): node is t.TupleExpression;\nexport function isTupleExpression>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TupleExpression & Opts;\nexport function isTupleExpression>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TupleExpression\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isDecimalLiteral(\n node: t.Node | null | undefined,\n): node is t.DecimalLiteral;\nexport function isDecimalLiteral>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.DecimalLiteral & Opts;\nexport function isDecimalLiteral>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"DecimalLiteral\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isModuleExpression(\n node: t.Node | null | undefined,\n): node is t.ModuleExpression;\nexport function isModuleExpression>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ModuleExpression & Opts;\nexport function isModuleExpression>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"ModuleExpression\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTopicReference(\n node: t.Node | null | undefined,\n): node is t.TopicReference;\nexport function isTopicReference>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TopicReference & Opts;\nexport function isTopicReference>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TopicReference\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isPipelineTopicExpression(\n node: t.Node | null | undefined,\n): node is t.PipelineTopicExpression;\nexport function isPipelineTopicExpression<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.PipelineTopicExpression & Opts;\nexport function isPipelineTopicExpression<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"PipelineTopicExpression\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isPipelineBareFunction(\n node: t.Node | null | undefined,\n): node is t.PipelineBareFunction;\nexport function isPipelineBareFunction<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.PipelineBareFunction & Opts;\nexport function isPipelineBareFunction<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"PipelineBareFunction\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isPipelinePrimaryTopicReference(\n node: t.Node | null | undefined,\n): node is t.PipelinePrimaryTopicReference;\nexport function isPipelinePrimaryTopicReference<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.PipelinePrimaryTopicReference & Opts;\nexport function isPipelinePrimaryTopicReference<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"PipelinePrimaryTopicReference\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isVoidPattern(\n node: t.Node | null | undefined,\n): node is t.VoidPattern;\nexport function isVoidPattern>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.VoidPattern & Opts;\nexport function isVoidPattern>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"VoidPattern\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSParameterProperty(\n node: t.Node | null | undefined,\n): node is t.TSParameterProperty;\nexport function isTSParameterProperty<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSParameterProperty & Opts;\nexport function isTSParameterProperty<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSParameterProperty\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSDeclareFunction(\n node: t.Node | null | undefined,\n): node is t.TSDeclareFunction;\nexport function isTSDeclareFunction>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSDeclareFunction & Opts;\nexport function isTSDeclareFunction>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSDeclareFunction\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSDeclareMethod(\n node: t.Node | null | undefined,\n): node is t.TSDeclareMethod;\nexport function isTSDeclareMethod>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSDeclareMethod & Opts;\nexport function isTSDeclareMethod>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSDeclareMethod\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSQualifiedName(\n node: t.Node | null | undefined,\n): node is t.TSQualifiedName;\nexport function isTSQualifiedName>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSQualifiedName & Opts;\nexport function isTSQualifiedName>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSQualifiedName\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSCallSignatureDeclaration(\n node: t.Node | null | undefined,\n): node is t.TSCallSignatureDeclaration;\nexport function isTSCallSignatureDeclaration<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSCallSignatureDeclaration & Opts;\nexport function isTSCallSignatureDeclaration<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSCallSignatureDeclaration\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSConstructSignatureDeclaration(\n node: t.Node | null | undefined,\n): node is t.TSConstructSignatureDeclaration;\nexport function isTSConstructSignatureDeclaration<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSConstructSignatureDeclaration & Opts;\nexport function isTSConstructSignatureDeclaration<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSConstructSignatureDeclaration\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSPropertySignature(\n node: t.Node | null | undefined,\n): node is t.TSPropertySignature;\nexport function isTSPropertySignature<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSPropertySignature & Opts;\nexport function isTSPropertySignature<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSPropertySignature\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSMethodSignature(\n node: t.Node | null | undefined,\n): node is t.TSMethodSignature;\nexport function isTSMethodSignature>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSMethodSignature & Opts;\nexport function isTSMethodSignature>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSMethodSignature\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSIndexSignature(\n node: t.Node | null | undefined,\n): node is t.TSIndexSignature;\nexport function isTSIndexSignature>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSIndexSignature & Opts;\nexport function isTSIndexSignature>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSIndexSignature\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSAnyKeyword(\n node: t.Node | null | undefined,\n): node is t.TSAnyKeyword;\nexport function isTSAnyKeyword>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSAnyKeyword & Opts;\nexport function isTSAnyKeyword>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSAnyKeyword\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSBooleanKeyword(\n node: t.Node | null | undefined,\n): node is t.TSBooleanKeyword;\nexport function isTSBooleanKeyword>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSBooleanKeyword & Opts;\nexport function isTSBooleanKeyword>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSBooleanKeyword\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSBigIntKeyword(\n node: t.Node | null | undefined,\n): node is t.TSBigIntKeyword;\nexport function isTSBigIntKeyword>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSBigIntKeyword & Opts;\nexport function isTSBigIntKeyword>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSBigIntKeyword\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSIntrinsicKeyword(\n node: t.Node | null | undefined,\n): node is t.TSIntrinsicKeyword;\nexport function isTSIntrinsicKeyword<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSIntrinsicKeyword & Opts;\nexport function isTSIntrinsicKeyword<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSIntrinsicKeyword\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSNeverKeyword(\n node: t.Node | null | undefined,\n): node is t.TSNeverKeyword;\nexport function isTSNeverKeyword>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSNeverKeyword & Opts;\nexport function isTSNeverKeyword>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSNeverKeyword\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSNullKeyword(\n node: t.Node | null | undefined,\n): node is t.TSNullKeyword;\nexport function isTSNullKeyword>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSNullKeyword & Opts;\nexport function isTSNullKeyword>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSNullKeyword\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSNumberKeyword(\n node: t.Node | null | undefined,\n): node is t.TSNumberKeyword;\nexport function isTSNumberKeyword>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSNumberKeyword & Opts;\nexport function isTSNumberKeyword>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSNumberKeyword\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSObjectKeyword(\n node: t.Node | null | undefined,\n): node is t.TSObjectKeyword;\nexport function isTSObjectKeyword>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSObjectKeyword & Opts;\nexport function isTSObjectKeyword>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSObjectKeyword\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSStringKeyword(\n node: t.Node | null | undefined,\n): node is t.TSStringKeyword;\nexport function isTSStringKeyword>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSStringKeyword & Opts;\nexport function isTSStringKeyword>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSStringKeyword\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSSymbolKeyword(\n node: t.Node | null | undefined,\n): node is t.TSSymbolKeyword;\nexport function isTSSymbolKeyword>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSSymbolKeyword & Opts;\nexport function isTSSymbolKeyword>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSSymbolKeyword\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSUndefinedKeyword(\n node: t.Node | null | undefined,\n): node is t.TSUndefinedKeyword;\nexport function isTSUndefinedKeyword<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSUndefinedKeyword & Opts;\nexport function isTSUndefinedKeyword<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSUndefinedKeyword\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSUnknownKeyword(\n node: t.Node | null | undefined,\n): node is t.TSUnknownKeyword;\nexport function isTSUnknownKeyword>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSUnknownKeyword & Opts;\nexport function isTSUnknownKeyword>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSUnknownKeyword\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSVoidKeyword(\n node: t.Node | null | undefined,\n): node is t.TSVoidKeyword;\nexport function isTSVoidKeyword>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSVoidKeyword & Opts;\nexport function isTSVoidKeyword>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSVoidKeyword\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSThisType(\n node: t.Node | null | undefined,\n): node is t.TSThisType;\nexport function isTSThisType>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSThisType & Opts;\nexport function isTSThisType>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSThisType\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSFunctionType(\n node: t.Node | null | undefined,\n): node is t.TSFunctionType;\nexport function isTSFunctionType>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSFunctionType & Opts;\nexport function isTSFunctionType>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSFunctionType\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSConstructorType(\n node: t.Node | null | undefined,\n): node is t.TSConstructorType;\nexport function isTSConstructorType>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSConstructorType & Opts;\nexport function isTSConstructorType>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSConstructorType\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSTypeReference(\n node: t.Node | null | undefined,\n): node is t.TSTypeReference;\nexport function isTSTypeReference>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSTypeReference & Opts;\nexport function isTSTypeReference>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSTypeReference\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSTypePredicate(\n node: t.Node | null | undefined,\n): node is t.TSTypePredicate;\nexport function isTSTypePredicate>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSTypePredicate & Opts;\nexport function isTSTypePredicate>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSTypePredicate\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSTypeQuery(\n node: t.Node | null | undefined,\n): node is t.TSTypeQuery;\nexport function isTSTypeQuery>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSTypeQuery & Opts;\nexport function isTSTypeQuery>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSTypeQuery\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSTypeLiteral(\n node: t.Node | null | undefined,\n): node is t.TSTypeLiteral;\nexport function isTSTypeLiteral>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSTypeLiteral & Opts;\nexport function isTSTypeLiteral>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSTypeLiteral\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSArrayType(\n node: t.Node | null | undefined,\n): node is t.TSArrayType;\nexport function isTSArrayType>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSArrayType & Opts;\nexport function isTSArrayType>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSArrayType\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSTupleType(\n node: t.Node | null | undefined,\n): node is t.TSTupleType;\nexport function isTSTupleType>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSTupleType & Opts;\nexport function isTSTupleType>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSTupleType\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSOptionalType(\n node: t.Node | null | undefined,\n): node is t.TSOptionalType;\nexport function isTSOptionalType>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSOptionalType & Opts;\nexport function isTSOptionalType>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSOptionalType\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSRestType(\n node: t.Node | null | undefined,\n): node is t.TSRestType;\nexport function isTSRestType>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSRestType & Opts;\nexport function isTSRestType>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSRestType\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSNamedTupleMember(\n node: t.Node | null | undefined,\n): node is t.TSNamedTupleMember;\nexport function isTSNamedTupleMember<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSNamedTupleMember & Opts;\nexport function isTSNamedTupleMember<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSNamedTupleMember\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSUnionType(\n node: t.Node | null | undefined,\n): node is t.TSUnionType;\nexport function isTSUnionType>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSUnionType & Opts;\nexport function isTSUnionType>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSUnionType\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSIntersectionType(\n node: t.Node | null | undefined,\n): node is t.TSIntersectionType;\nexport function isTSIntersectionType<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSIntersectionType & Opts;\nexport function isTSIntersectionType<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSIntersectionType\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSConditionalType(\n node: t.Node | null | undefined,\n): node is t.TSConditionalType;\nexport function isTSConditionalType>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSConditionalType & Opts;\nexport function isTSConditionalType>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSConditionalType\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSInferType(\n node: t.Node | null | undefined,\n): node is t.TSInferType;\nexport function isTSInferType>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSInferType & Opts;\nexport function isTSInferType>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSInferType\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSParenthesizedType(\n node: t.Node | null | undefined,\n): node is t.TSParenthesizedType;\nexport function isTSParenthesizedType<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSParenthesizedType & Opts;\nexport function isTSParenthesizedType<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSParenthesizedType\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSTypeOperator(\n node: t.Node | null | undefined,\n): node is t.TSTypeOperator;\nexport function isTSTypeOperator>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSTypeOperator & Opts;\nexport function isTSTypeOperator>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSTypeOperator\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSIndexedAccessType(\n node: t.Node | null | undefined,\n): node is t.TSIndexedAccessType;\nexport function isTSIndexedAccessType<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSIndexedAccessType & Opts;\nexport function isTSIndexedAccessType<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSIndexedAccessType\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSMappedType(\n node: t.Node | null | undefined,\n): node is t.TSMappedType;\nexport function isTSMappedType>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSMappedType & Opts;\nexport function isTSMappedType>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSMappedType\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSTemplateLiteralType(\n node: t.Node | null | undefined,\n): node is t.TSTemplateLiteralType;\nexport function isTSTemplateLiteralType<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSTemplateLiteralType & Opts;\nexport function isTSTemplateLiteralType<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSTemplateLiteralType\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSLiteralType(\n node: t.Node | null | undefined,\n): node is t.TSLiteralType;\nexport function isTSLiteralType>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSLiteralType & Opts;\nexport function isTSLiteralType>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSLiteralType\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSExpressionWithTypeArguments(\n node: t.Node | null | undefined,\n): node is t.TSExpressionWithTypeArguments;\nexport function isTSExpressionWithTypeArguments<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSExpressionWithTypeArguments & Opts;\nexport function isTSExpressionWithTypeArguments<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSExpressionWithTypeArguments\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSInterfaceDeclaration(\n node: t.Node | null | undefined,\n): node is t.TSInterfaceDeclaration;\nexport function isTSInterfaceDeclaration<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSInterfaceDeclaration & Opts;\nexport function isTSInterfaceDeclaration<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSInterfaceDeclaration\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSInterfaceBody(\n node: t.Node | null | undefined,\n): node is t.TSInterfaceBody;\nexport function isTSInterfaceBody>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSInterfaceBody & Opts;\nexport function isTSInterfaceBody>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSInterfaceBody\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSTypeAliasDeclaration(\n node: t.Node | null | undefined,\n): node is t.TSTypeAliasDeclaration;\nexport function isTSTypeAliasDeclaration<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSTypeAliasDeclaration & Opts;\nexport function isTSTypeAliasDeclaration<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSTypeAliasDeclaration\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSInstantiationExpression(\n node: t.Node | null | undefined,\n): node is t.TSInstantiationExpression;\nexport function isTSInstantiationExpression<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSInstantiationExpression & Opts;\nexport function isTSInstantiationExpression<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSInstantiationExpression\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSAsExpression(\n node: t.Node | null | undefined,\n): node is t.TSAsExpression;\nexport function isTSAsExpression>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSAsExpression & Opts;\nexport function isTSAsExpression>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSAsExpression\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSSatisfiesExpression(\n node: t.Node | null | undefined,\n): node is t.TSSatisfiesExpression;\nexport function isTSSatisfiesExpression<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSSatisfiesExpression & Opts;\nexport function isTSSatisfiesExpression<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSSatisfiesExpression\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSTypeAssertion(\n node: t.Node | null | undefined,\n): node is t.TSTypeAssertion;\nexport function isTSTypeAssertion>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSTypeAssertion & Opts;\nexport function isTSTypeAssertion>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSTypeAssertion\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSEnumBody(\n node: t.Node | null | undefined,\n): node is t.TSEnumBody;\nexport function isTSEnumBody>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSEnumBody & Opts;\nexport function isTSEnumBody>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSEnumBody\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSEnumDeclaration(\n node: t.Node | null | undefined,\n): node is t.TSEnumDeclaration;\nexport function isTSEnumDeclaration>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSEnumDeclaration & Opts;\nexport function isTSEnumDeclaration>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSEnumDeclaration\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSEnumMember(\n node: t.Node | null | undefined,\n): node is t.TSEnumMember;\nexport function isTSEnumMember>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSEnumMember & Opts;\nexport function isTSEnumMember>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSEnumMember\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSModuleDeclaration(\n node: t.Node | null | undefined,\n): node is t.TSModuleDeclaration;\nexport function isTSModuleDeclaration<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSModuleDeclaration & Opts;\nexport function isTSModuleDeclaration<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSModuleDeclaration\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSModuleBlock(\n node: t.Node | null | undefined,\n): node is t.TSModuleBlock;\nexport function isTSModuleBlock>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSModuleBlock & Opts;\nexport function isTSModuleBlock>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSModuleBlock\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSImportType(\n node: t.Node | null | undefined,\n): node is t.TSImportType;\nexport function isTSImportType>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSImportType & Opts;\nexport function isTSImportType>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSImportType\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSImportEqualsDeclaration(\n node: t.Node | null | undefined,\n): node is t.TSImportEqualsDeclaration;\nexport function isTSImportEqualsDeclaration<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSImportEqualsDeclaration & Opts;\nexport function isTSImportEqualsDeclaration<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSImportEqualsDeclaration\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSExternalModuleReference(\n node: t.Node | null | undefined,\n): node is t.TSExternalModuleReference;\nexport function isTSExternalModuleReference<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSExternalModuleReference & Opts;\nexport function isTSExternalModuleReference<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSExternalModuleReference\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSNonNullExpression(\n node: t.Node | null | undefined,\n): node is t.TSNonNullExpression;\nexport function isTSNonNullExpression<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSNonNullExpression & Opts;\nexport function isTSNonNullExpression<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSNonNullExpression\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSExportAssignment(\n node: t.Node | null | undefined,\n): node is t.TSExportAssignment;\nexport function isTSExportAssignment<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSExportAssignment & Opts;\nexport function isTSExportAssignment<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSExportAssignment\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSNamespaceExportDeclaration(\n node: t.Node | null | undefined,\n): node is t.TSNamespaceExportDeclaration;\nexport function isTSNamespaceExportDeclaration<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSNamespaceExportDeclaration & Opts;\nexport function isTSNamespaceExportDeclaration<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSNamespaceExportDeclaration\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSTypeAnnotation(\n node: t.Node | null | undefined,\n): node is t.TSTypeAnnotation;\nexport function isTSTypeAnnotation>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSTypeAnnotation & Opts;\nexport function isTSTypeAnnotation>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSTypeAnnotation\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSTypeParameterInstantiation(\n node: t.Node | null | undefined,\n): node is t.TSTypeParameterInstantiation;\nexport function isTSTypeParameterInstantiation<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSTypeParameterInstantiation & Opts;\nexport function isTSTypeParameterInstantiation<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSTypeParameterInstantiation\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSTypeParameterDeclaration(\n node: t.Node | null | undefined,\n): node is t.TSTypeParameterDeclaration;\nexport function isTSTypeParameterDeclaration<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSTypeParameterDeclaration & Opts;\nexport function isTSTypeParameterDeclaration<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSTypeParameterDeclaration\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSTypeParameter(\n node: t.Node | null | undefined,\n): node is t.TSTypeParameter;\nexport function isTSTypeParameter>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSTypeParameter & Opts;\nexport function isTSTypeParameter>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n if (node.type !== \"TSTypeParameter\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isStandardized(\n node: t.Node | null | undefined,\n): node is t.Standardized;\nexport function isStandardized>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.Standardized & Opts;\nexport function isStandardized>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"ArrayExpression\":\n case \"AssignmentExpression\":\n case \"BinaryExpression\":\n case \"InterpreterDirective\":\n case \"Directive\":\n case \"DirectiveLiteral\":\n case \"BlockStatement\":\n case \"BreakStatement\":\n case \"CallExpression\":\n case \"CatchClause\":\n case \"ConditionalExpression\":\n case \"ContinueStatement\":\n case \"DebuggerStatement\":\n case \"DoWhileStatement\":\n case \"EmptyStatement\":\n case \"ExpressionStatement\":\n case \"File\":\n case \"ForInStatement\":\n case \"ForStatement\":\n case \"FunctionDeclaration\":\n case \"FunctionExpression\":\n case \"Identifier\":\n case \"IfStatement\":\n case \"LabeledStatement\":\n case \"StringLiteral\":\n case \"NumericLiteral\":\n case \"NullLiteral\":\n case \"BooleanLiteral\":\n case \"RegExpLiteral\":\n case \"LogicalExpression\":\n case \"MemberExpression\":\n case \"NewExpression\":\n case \"Program\":\n case \"ObjectExpression\":\n case \"ObjectMethod\":\n case \"ObjectProperty\":\n case \"RestElement\":\n case \"ReturnStatement\":\n case \"SequenceExpression\":\n case \"ParenthesizedExpression\":\n case \"SwitchCase\":\n case \"SwitchStatement\":\n case \"ThisExpression\":\n case \"ThrowStatement\":\n case \"TryStatement\":\n case \"UnaryExpression\":\n case \"UpdateExpression\":\n case \"VariableDeclaration\":\n case \"VariableDeclarator\":\n case \"WhileStatement\":\n case \"WithStatement\":\n case \"AssignmentPattern\":\n case \"ArrayPattern\":\n case \"ArrowFunctionExpression\":\n case \"ClassBody\":\n case \"ClassExpression\":\n case \"ClassDeclaration\":\n case \"ExportAllDeclaration\":\n case \"ExportDefaultDeclaration\":\n case \"ExportNamedDeclaration\":\n case \"ExportSpecifier\":\n case \"ForOfStatement\":\n case \"ImportDeclaration\":\n case \"ImportDefaultSpecifier\":\n case \"ImportNamespaceSpecifier\":\n case \"ImportSpecifier\":\n case \"ImportExpression\":\n case \"MetaProperty\":\n case \"ClassMethod\":\n case \"ObjectPattern\":\n case \"SpreadElement\":\n case \"Super\":\n case \"TaggedTemplateExpression\":\n case \"TemplateElement\":\n case \"TemplateLiteral\":\n case \"YieldExpression\":\n case \"AwaitExpression\":\n case \"Import\":\n case \"BigIntLiteral\":\n case \"ExportNamespaceSpecifier\":\n case \"OptionalMemberExpression\":\n case \"OptionalCallExpression\":\n case \"ClassProperty\":\n case \"ClassAccessorProperty\":\n case \"ClassPrivateProperty\":\n case \"ClassPrivateMethod\":\n case \"PrivateName\":\n case \"StaticBlock\":\n case \"ImportAttribute\":\n break;\n case \"Placeholder\":\n switch (node.expectedNode) {\n case \"Identifier\":\n case \"StringLiteral\":\n case \"BlockStatement\":\n case \"ClassBody\":\n break;\n default:\n return false;\n }\n break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isExpression(\n node: t.Node | null | undefined,\n): node is t.Expression;\nexport function isExpression>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.Expression & Opts;\nexport function isExpression>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"ArrayExpression\":\n case \"AssignmentExpression\":\n case \"BinaryExpression\":\n case \"CallExpression\":\n case \"ConditionalExpression\":\n case \"FunctionExpression\":\n case \"Identifier\":\n case \"StringLiteral\":\n case \"NumericLiteral\":\n case \"NullLiteral\":\n case \"BooleanLiteral\":\n case \"RegExpLiteral\":\n case \"LogicalExpression\":\n case \"MemberExpression\":\n case \"NewExpression\":\n case \"ObjectExpression\":\n case \"SequenceExpression\":\n case \"ParenthesizedExpression\":\n case \"ThisExpression\":\n case \"UnaryExpression\":\n case \"UpdateExpression\":\n case \"ArrowFunctionExpression\":\n case \"ClassExpression\":\n case \"ImportExpression\":\n case \"MetaProperty\":\n case \"Super\":\n case \"TaggedTemplateExpression\":\n case \"TemplateLiteral\":\n case \"YieldExpression\":\n case \"AwaitExpression\":\n case \"Import\":\n case \"BigIntLiteral\":\n case \"OptionalMemberExpression\":\n case \"OptionalCallExpression\":\n case \"TypeCastExpression\":\n case \"JSXElement\":\n case \"JSXFragment\":\n case \"BindExpression\":\n case \"DoExpression\":\n case \"RecordExpression\":\n case \"TupleExpression\":\n case \"DecimalLiteral\":\n case \"ModuleExpression\":\n case \"TopicReference\":\n case \"PipelineTopicExpression\":\n case \"PipelineBareFunction\":\n case \"PipelinePrimaryTopicReference\":\n case \"TSInstantiationExpression\":\n case \"TSAsExpression\":\n case \"TSSatisfiesExpression\":\n case \"TSTypeAssertion\":\n case \"TSNonNullExpression\":\n break;\n case \"Placeholder\":\n switch (node.expectedNode) {\n case \"Expression\":\n case \"Identifier\":\n case \"StringLiteral\":\n break;\n default:\n return false;\n }\n break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isBinary(node: t.Node | null | undefined): node is t.Binary;\nexport function isBinary>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.Binary & Opts;\nexport function isBinary>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"BinaryExpression\":\n case \"LogicalExpression\":\n break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isScopable(node: t.Node | null | undefined): node is t.Scopable;\nexport function isScopable>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.Scopable & Opts;\nexport function isScopable>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"BlockStatement\":\n case \"CatchClause\":\n case \"DoWhileStatement\":\n case \"ForInStatement\":\n case \"ForStatement\":\n case \"FunctionDeclaration\":\n case \"FunctionExpression\":\n case \"Program\":\n case \"ObjectMethod\":\n case \"SwitchStatement\":\n case \"WhileStatement\":\n case \"ArrowFunctionExpression\":\n case \"ClassExpression\":\n case \"ClassDeclaration\":\n case \"ForOfStatement\":\n case \"ClassMethod\":\n case \"ClassPrivateMethod\":\n case \"StaticBlock\":\n case \"TSModuleBlock\":\n break;\n case \"Placeholder\":\n if (node.expectedNode === \"BlockStatement\") break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isBlockParent(\n node: t.Node | null | undefined,\n): node is t.BlockParent;\nexport function isBlockParent>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.BlockParent & Opts;\nexport function isBlockParent>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"BlockStatement\":\n case \"CatchClause\":\n case \"DoWhileStatement\":\n case \"ForInStatement\":\n case \"ForStatement\":\n case \"FunctionDeclaration\":\n case \"FunctionExpression\":\n case \"Program\":\n case \"ObjectMethod\":\n case \"SwitchStatement\":\n case \"WhileStatement\":\n case \"ArrowFunctionExpression\":\n case \"ForOfStatement\":\n case \"ClassMethod\":\n case \"ClassPrivateMethod\":\n case \"StaticBlock\":\n case \"TSModuleBlock\":\n break;\n case \"Placeholder\":\n if (node.expectedNode === \"BlockStatement\") break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isBlock(node: t.Node | null | undefined): node is t.Block;\nexport function isBlock>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.Block & Opts;\nexport function isBlock>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"BlockStatement\":\n case \"Program\":\n case \"TSModuleBlock\":\n break;\n case \"Placeholder\":\n if (node.expectedNode === \"BlockStatement\") break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isStatement(\n node: t.Node | null | undefined,\n): node is t.Statement;\nexport function isStatement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.Statement & Opts;\nexport function isStatement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"BlockStatement\":\n case \"BreakStatement\":\n case \"ContinueStatement\":\n case \"DebuggerStatement\":\n case \"DoWhileStatement\":\n case \"EmptyStatement\":\n case \"ExpressionStatement\":\n case \"ForInStatement\":\n case \"ForStatement\":\n case \"FunctionDeclaration\":\n case \"IfStatement\":\n case \"LabeledStatement\":\n case \"ReturnStatement\":\n case \"SwitchStatement\":\n case \"ThrowStatement\":\n case \"TryStatement\":\n case \"VariableDeclaration\":\n case \"WhileStatement\":\n case \"WithStatement\":\n case \"ClassDeclaration\":\n case \"ExportAllDeclaration\":\n case \"ExportDefaultDeclaration\":\n case \"ExportNamedDeclaration\":\n case \"ForOfStatement\":\n case \"ImportDeclaration\":\n case \"DeclareClass\":\n case \"DeclareFunction\":\n case \"DeclareInterface\":\n case \"DeclareModule\":\n case \"DeclareModuleExports\":\n case \"DeclareTypeAlias\":\n case \"DeclareOpaqueType\":\n case \"DeclareVariable\":\n case \"DeclareExportDeclaration\":\n case \"DeclareExportAllDeclaration\":\n case \"InterfaceDeclaration\":\n case \"OpaqueType\":\n case \"TypeAlias\":\n case \"EnumDeclaration\":\n case \"TSDeclareFunction\":\n case \"TSInterfaceDeclaration\":\n case \"TSTypeAliasDeclaration\":\n case \"TSEnumDeclaration\":\n case \"TSModuleDeclaration\":\n case \"TSImportEqualsDeclaration\":\n case \"TSExportAssignment\":\n case \"TSNamespaceExportDeclaration\":\n break;\n case \"Placeholder\":\n switch (node.expectedNode) {\n case \"Statement\":\n case \"Declaration\":\n case \"BlockStatement\":\n break;\n default:\n return false;\n }\n break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTerminatorless(\n node: t.Node | null | undefined,\n): node is t.Terminatorless;\nexport function isTerminatorless>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.Terminatorless & Opts;\nexport function isTerminatorless>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"BreakStatement\":\n case \"ContinueStatement\":\n case \"ReturnStatement\":\n case \"ThrowStatement\":\n case \"YieldExpression\":\n case \"AwaitExpression\":\n break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isCompletionStatement(\n node: t.Node | null | undefined,\n): node is t.CompletionStatement;\nexport function isCompletionStatement<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.CompletionStatement & Opts;\nexport function isCompletionStatement<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"BreakStatement\":\n case \"ContinueStatement\":\n case \"ReturnStatement\":\n case \"ThrowStatement\":\n break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isConditional(\n node: t.Node | null | undefined,\n): node is t.Conditional;\nexport function isConditional>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.Conditional & Opts;\nexport function isConditional>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"ConditionalExpression\":\n case \"IfStatement\":\n break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isLoop(node: t.Node | null | undefined): node is t.Loop;\nexport function isLoop>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.Loop & Opts;\nexport function isLoop>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"DoWhileStatement\":\n case \"ForInStatement\":\n case \"ForStatement\":\n case \"WhileStatement\":\n case \"ForOfStatement\":\n break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isWhile(node: t.Node | null | undefined): node is t.While;\nexport function isWhile>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.While & Opts;\nexport function isWhile>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"DoWhileStatement\":\n case \"WhileStatement\":\n break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isExpressionWrapper(\n node: t.Node | null | undefined,\n): node is t.ExpressionWrapper;\nexport function isExpressionWrapper>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ExpressionWrapper & Opts;\nexport function isExpressionWrapper>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"ExpressionStatement\":\n case \"ParenthesizedExpression\":\n case \"TypeCastExpression\":\n break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isFor(node: t.Node | null | undefined): node is t.For;\nexport function isFor>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.For & Opts;\nexport function isFor>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"ForInStatement\":\n case \"ForStatement\":\n case \"ForOfStatement\":\n break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isForXStatement(\n node: t.Node | null | undefined,\n): node is t.ForXStatement;\nexport function isForXStatement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ForXStatement & Opts;\nexport function isForXStatement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"ForInStatement\":\n case \"ForOfStatement\":\n break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isFunction(node: t.Node | null | undefined): node is t.Function;\nexport function isFunction>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.Function & Opts;\nexport function isFunction>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"FunctionDeclaration\":\n case \"FunctionExpression\":\n case \"ObjectMethod\":\n case \"ArrowFunctionExpression\":\n case \"ClassMethod\":\n case \"ClassPrivateMethod\":\n break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isFunctionParent(\n node: t.Node | null | undefined,\n): node is t.FunctionParent;\nexport function isFunctionParent>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.FunctionParent & Opts;\nexport function isFunctionParent>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"FunctionDeclaration\":\n case \"FunctionExpression\":\n case \"ObjectMethod\":\n case \"ArrowFunctionExpression\":\n case \"ClassMethod\":\n case \"ClassPrivateMethod\":\n case \"StaticBlock\":\n case \"TSModuleBlock\":\n break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isPureish(node: t.Node | null | undefined): node is t.Pureish;\nexport function isPureish>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.Pureish & Opts;\nexport function isPureish>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"FunctionDeclaration\":\n case \"FunctionExpression\":\n case \"StringLiteral\":\n case \"NumericLiteral\":\n case \"NullLiteral\":\n case \"BooleanLiteral\":\n case \"RegExpLiteral\":\n case \"ArrowFunctionExpression\":\n case \"BigIntLiteral\":\n case \"DecimalLiteral\":\n break;\n case \"Placeholder\":\n if (node.expectedNode === \"StringLiteral\") break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isDeclaration(\n node: t.Node | null | undefined,\n): node is t.Declaration;\nexport function isDeclaration>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.Declaration & Opts;\nexport function isDeclaration>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"FunctionDeclaration\":\n case \"VariableDeclaration\":\n case \"ClassDeclaration\":\n case \"ExportAllDeclaration\":\n case \"ExportDefaultDeclaration\":\n case \"ExportNamedDeclaration\":\n case \"ImportDeclaration\":\n case \"DeclareClass\":\n case \"DeclareFunction\":\n case \"DeclareInterface\":\n case \"DeclareModule\":\n case \"DeclareModuleExports\":\n case \"DeclareTypeAlias\":\n case \"DeclareOpaqueType\":\n case \"DeclareVariable\":\n case \"DeclareExportDeclaration\":\n case \"DeclareExportAllDeclaration\":\n case \"InterfaceDeclaration\":\n case \"OpaqueType\":\n case \"TypeAlias\":\n case \"EnumDeclaration\":\n case \"TSDeclareFunction\":\n case \"TSInterfaceDeclaration\":\n case \"TSTypeAliasDeclaration\":\n case \"TSEnumDeclaration\":\n case \"TSModuleDeclaration\":\n case \"TSImportEqualsDeclaration\":\n break;\n case \"Placeholder\":\n if (node.expectedNode === \"Declaration\") break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isFunctionParameter(\n node: t.Node | null | undefined,\n): node is t.FunctionParameter;\nexport function isFunctionParameter>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.FunctionParameter & Opts;\nexport function isFunctionParameter>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"Identifier\":\n case \"RestElement\":\n case \"AssignmentPattern\":\n case \"ArrayPattern\":\n case \"ObjectPattern\":\n case \"VoidPattern\":\n break;\n case \"Placeholder\":\n if (node.expectedNode === \"Identifier\") break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isPatternLike(\n node: t.Node | null | undefined,\n): node is t.PatternLike;\nexport function isPatternLike>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.PatternLike & Opts;\nexport function isPatternLike>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"Identifier\":\n case \"MemberExpression\":\n case \"RestElement\":\n case \"AssignmentPattern\":\n case \"ArrayPattern\":\n case \"ObjectPattern\":\n case \"VoidPattern\":\n case \"TSAsExpression\":\n case \"TSSatisfiesExpression\":\n case \"TSTypeAssertion\":\n case \"TSNonNullExpression\":\n break;\n case \"Placeholder\":\n switch (node.expectedNode) {\n case \"Pattern\":\n case \"Identifier\":\n break;\n default:\n return false;\n }\n break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isLVal(node: t.Node | null | undefined): node is t.LVal;\nexport function isLVal>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.LVal & Opts;\nexport function isLVal>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"Identifier\":\n case \"MemberExpression\":\n case \"RestElement\":\n case \"AssignmentPattern\":\n case \"ArrayPattern\":\n case \"ObjectPattern\":\n case \"TSParameterProperty\":\n case \"TSAsExpression\":\n case \"TSSatisfiesExpression\":\n case \"TSTypeAssertion\":\n case \"TSNonNullExpression\":\n break;\n case \"Placeholder\":\n switch (node.expectedNode) {\n case \"Pattern\":\n case \"Identifier\":\n break;\n default:\n return false;\n }\n break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSEntityName(\n node: t.Node | null | undefined,\n): node is t.TSEntityName;\nexport function isTSEntityName>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSEntityName & Opts;\nexport function isTSEntityName>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"Identifier\":\n case \"TSQualifiedName\":\n break;\n case \"Placeholder\":\n if (node.expectedNode === \"Identifier\") break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isLiteral(node: t.Node | null | undefined): node is t.Literal;\nexport function isLiteral>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.Literal & Opts;\nexport function isLiteral>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"StringLiteral\":\n case \"NumericLiteral\":\n case \"NullLiteral\":\n case \"BooleanLiteral\":\n case \"RegExpLiteral\":\n case \"TemplateLiteral\":\n case \"BigIntLiteral\":\n case \"DecimalLiteral\":\n break;\n case \"Placeholder\":\n if (node.expectedNode === \"StringLiteral\") break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isImmutable(\n node: t.Node | null | undefined,\n): node is t.Immutable;\nexport function isImmutable>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.Immutable & Opts;\nexport function isImmutable>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"StringLiteral\":\n case \"NumericLiteral\":\n case \"NullLiteral\":\n case \"BooleanLiteral\":\n case \"BigIntLiteral\":\n case \"JSXAttribute\":\n case \"JSXClosingElement\":\n case \"JSXElement\":\n case \"JSXExpressionContainer\":\n case \"JSXSpreadChild\":\n case \"JSXOpeningElement\":\n case \"JSXText\":\n case \"JSXFragment\":\n case \"JSXOpeningFragment\":\n case \"JSXClosingFragment\":\n case \"DecimalLiteral\":\n break;\n case \"Placeholder\":\n if (node.expectedNode === \"StringLiteral\") break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isUserWhitespacable(\n node: t.Node | null | undefined,\n): node is t.UserWhitespacable;\nexport function isUserWhitespacable>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.UserWhitespacable & Opts;\nexport function isUserWhitespacable>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"ObjectMethod\":\n case \"ObjectProperty\":\n case \"ObjectTypeInternalSlot\":\n case \"ObjectTypeCallProperty\":\n case \"ObjectTypeIndexer\":\n case \"ObjectTypeProperty\":\n case \"ObjectTypeSpreadProperty\":\n break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isMethod(node: t.Node | null | undefined): node is t.Method;\nexport function isMethod>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.Method & Opts;\nexport function isMethod>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"ObjectMethod\":\n case \"ClassMethod\":\n case \"ClassPrivateMethod\":\n break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isObjectMember(\n node: t.Node | null | undefined,\n): node is t.ObjectMember;\nexport function isObjectMember>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ObjectMember & Opts;\nexport function isObjectMember>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"ObjectMethod\":\n case \"ObjectProperty\":\n break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isProperty(node: t.Node | null | undefined): node is t.Property;\nexport function isProperty>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.Property & Opts;\nexport function isProperty>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"ObjectProperty\":\n case \"ClassProperty\":\n case \"ClassAccessorProperty\":\n case \"ClassPrivateProperty\":\n break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isUnaryLike(\n node: t.Node | null | undefined,\n): node is t.UnaryLike;\nexport function isUnaryLike>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.UnaryLike & Opts;\nexport function isUnaryLike>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"UnaryExpression\":\n case \"SpreadElement\":\n break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isPattern(node: t.Node | null | undefined): node is t.Pattern;\nexport function isPattern>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.Pattern & Opts;\nexport function isPattern>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"AssignmentPattern\":\n case \"ArrayPattern\":\n case \"ObjectPattern\":\n case \"VoidPattern\":\n break;\n case \"Placeholder\":\n if (node.expectedNode === \"Pattern\") break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isClass(node: t.Node | null | undefined): node is t.Class;\nexport function isClass>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.Class & Opts;\nexport function isClass>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"ClassExpression\":\n case \"ClassDeclaration\":\n break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isImportOrExportDeclaration(\n node: t.Node | null | undefined,\n): node is t.ImportOrExportDeclaration;\nexport function isImportOrExportDeclaration<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ImportOrExportDeclaration & Opts;\nexport function isImportOrExportDeclaration<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"ExportAllDeclaration\":\n case \"ExportDefaultDeclaration\":\n case \"ExportNamedDeclaration\":\n case \"ImportDeclaration\":\n break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isExportDeclaration(\n node: t.Node | null | undefined,\n): node is t.ExportDeclaration;\nexport function isExportDeclaration>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ExportDeclaration & Opts;\nexport function isExportDeclaration>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"ExportAllDeclaration\":\n case \"ExportDefaultDeclaration\":\n case \"ExportNamedDeclaration\":\n break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isModuleSpecifier(\n node: t.Node | null | undefined,\n): node is t.ModuleSpecifier;\nexport function isModuleSpecifier>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ModuleSpecifier & Opts;\nexport function isModuleSpecifier>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"ExportSpecifier\":\n case \"ImportDefaultSpecifier\":\n case \"ImportNamespaceSpecifier\":\n case \"ImportSpecifier\":\n case \"ExportNamespaceSpecifier\":\n case \"ExportDefaultSpecifier\":\n break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isAccessor(node: t.Node | null | undefined): node is t.Accessor;\nexport function isAccessor>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.Accessor & Opts;\nexport function isAccessor>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"ClassAccessorProperty\":\n break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isPrivate(node: t.Node | null | undefined): node is t.Private;\nexport function isPrivate>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.Private & Opts;\nexport function isPrivate>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"ClassPrivateProperty\":\n case \"ClassPrivateMethod\":\n case \"PrivateName\":\n break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isFlow(node: t.Node | null | undefined): node is t.Flow;\nexport function isFlow>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.Flow & Opts;\nexport function isFlow>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"AnyTypeAnnotation\":\n case \"ArrayTypeAnnotation\":\n case \"BooleanTypeAnnotation\":\n case \"BooleanLiteralTypeAnnotation\":\n case \"NullLiteralTypeAnnotation\":\n case \"ClassImplements\":\n case \"DeclareClass\":\n case \"DeclareFunction\":\n case \"DeclareInterface\":\n case \"DeclareModule\":\n case \"DeclareModuleExports\":\n case \"DeclareTypeAlias\":\n case \"DeclareOpaqueType\":\n case \"DeclareVariable\":\n case \"DeclareExportDeclaration\":\n case \"DeclareExportAllDeclaration\":\n case \"DeclaredPredicate\":\n case \"ExistsTypeAnnotation\":\n case \"FunctionTypeAnnotation\":\n case \"FunctionTypeParam\":\n case \"GenericTypeAnnotation\":\n case \"InferredPredicate\":\n case \"InterfaceExtends\":\n case \"InterfaceDeclaration\":\n case \"InterfaceTypeAnnotation\":\n case \"IntersectionTypeAnnotation\":\n case \"MixedTypeAnnotation\":\n case \"EmptyTypeAnnotation\":\n case \"NullableTypeAnnotation\":\n case \"NumberLiteralTypeAnnotation\":\n case \"NumberTypeAnnotation\":\n case \"ObjectTypeAnnotation\":\n case \"ObjectTypeInternalSlot\":\n case \"ObjectTypeCallProperty\":\n case \"ObjectTypeIndexer\":\n case \"ObjectTypeProperty\":\n case \"ObjectTypeSpreadProperty\":\n case \"OpaqueType\":\n case \"QualifiedTypeIdentifier\":\n case \"StringLiteralTypeAnnotation\":\n case \"StringTypeAnnotation\":\n case \"SymbolTypeAnnotation\":\n case \"ThisTypeAnnotation\":\n case \"TupleTypeAnnotation\":\n case \"TypeofTypeAnnotation\":\n case \"TypeAlias\":\n case \"TypeAnnotation\":\n case \"TypeCastExpression\":\n case \"TypeParameter\":\n case \"TypeParameterDeclaration\":\n case \"TypeParameterInstantiation\":\n case \"UnionTypeAnnotation\":\n case \"Variance\":\n case \"VoidTypeAnnotation\":\n case \"EnumDeclaration\":\n case \"EnumBooleanBody\":\n case \"EnumNumberBody\":\n case \"EnumStringBody\":\n case \"EnumSymbolBody\":\n case \"EnumBooleanMember\":\n case \"EnumNumberMember\":\n case \"EnumStringMember\":\n case \"EnumDefaultedMember\":\n case \"IndexedAccessType\":\n case \"OptionalIndexedAccessType\":\n break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isFlowType(node: t.Node | null | undefined): node is t.FlowType;\nexport function isFlowType>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.FlowType & Opts;\nexport function isFlowType>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"AnyTypeAnnotation\":\n case \"ArrayTypeAnnotation\":\n case \"BooleanTypeAnnotation\":\n case \"BooleanLiteralTypeAnnotation\":\n case \"NullLiteralTypeAnnotation\":\n case \"ExistsTypeAnnotation\":\n case \"FunctionTypeAnnotation\":\n case \"GenericTypeAnnotation\":\n case \"InterfaceTypeAnnotation\":\n case \"IntersectionTypeAnnotation\":\n case \"MixedTypeAnnotation\":\n case \"EmptyTypeAnnotation\":\n case \"NullableTypeAnnotation\":\n case \"NumberLiteralTypeAnnotation\":\n case \"NumberTypeAnnotation\":\n case \"ObjectTypeAnnotation\":\n case \"StringLiteralTypeAnnotation\":\n case \"StringTypeAnnotation\":\n case \"SymbolTypeAnnotation\":\n case \"ThisTypeAnnotation\":\n case \"TupleTypeAnnotation\":\n case \"TypeofTypeAnnotation\":\n case \"UnionTypeAnnotation\":\n case \"VoidTypeAnnotation\":\n case \"IndexedAccessType\":\n case \"OptionalIndexedAccessType\":\n break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isFlowBaseAnnotation(\n node: t.Node | null | undefined,\n): node is t.FlowBaseAnnotation;\nexport function isFlowBaseAnnotation<\n Opts extends Options,\n>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.FlowBaseAnnotation & Opts;\nexport function isFlowBaseAnnotation<\n Opts extends Options,\n>(node: t.Node | null | undefined, opts?: Opts | null): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"AnyTypeAnnotation\":\n case \"BooleanTypeAnnotation\":\n case \"NullLiteralTypeAnnotation\":\n case \"MixedTypeAnnotation\":\n case \"EmptyTypeAnnotation\":\n case \"NumberTypeAnnotation\":\n case \"StringTypeAnnotation\":\n case \"SymbolTypeAnnotation\":\n case \"ThisTypeAnnotation\":\n case \"VoidTypeAnnotation\":\n break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isFlowDeclaration(\n node: t.Node | null | undefined,\n): node is t.FlowDeclaration;\nexport function isFlowDeclaration>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.FlowDeclaration & Opts;\nexport function isFlowDeclaration>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"DeclareClass\":\n case \"DeclareFunction\":\n case \"DeclareInterface\":\n case \"DeclareModule\":\n case \"DeclareModuleExports\":\n case \"DeclareTypeAlias\":\n case \"DeclareOpaqueType\":\n case \"DeclareVariable\":\n case \"DeclareExportDeclaration\":\n case \"DeclareExportAllDeclaration\":\n case \"InterfaceDeclaration\":\n case \"OpaqueType\":\n case \"TypeAlias\":\n break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isFlowPredicate(\n node: t.Node | null | undefined,\n): node is t.FlowPredicate;\nexport function isFlowPredicate>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.FlowPredicate & Opts;\nexport function isFlowPredicate>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"DeclaredPredicate\":\n case \"InferredPredicate\":\n break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isEnumBody(node: t.Node | null | undefined): node is t.EnumBody;\nexport function isEnumBody>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.EnumBody & Opts;\nexport function isEnumBody>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"EnumBooleanBody\":\n case \"EnumNumberBody\":\n case \"EnumStringBody\":\n case \"EnumSymbolBody\":\n break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isEnumMember(\n node: t.Node | null | undefined,\n): node is t.EnumMember;\nexport function isEnumMember>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.EnumMember & Opts;\nexport function isEnumMember>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"EnumBooleanMember\":\n case \"EnumNumberMember\":\n case \"EnumStringMember\":\n case \"EnumDefaultedMember\":\n break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isJSX(node: t.Node | null | undefined): node is t.JSX;\nexport function isJSX>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.JSX & Opts;\nexport function isJSX>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"JSXAttribute\":\n case \"JSXClosingElement\":\n case \"JSXElement\":\n case \"JSXEmptyExpression\":\n case \"JSXExpressionContainer\":\n case \"JSXSpreadChild\":\n case \"JSXIdentifier\":\n case \"JSXMemberExpression\":\n case \"JSXNamespacedName\":\n case \"JSXOpeningElement\":\n case \"JSXSpreadAttribute\":\n case \"JSXText\":\n case \"JSXFragment\":\n case \"JSXOpeningFragment\":\n case \"JSXClosingFragment\":\n break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isMiscellaneous(\n node: t.Node | null | undefined,\n): node is t.Miscellaneous;\nexport function isMiscellaneous>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.Miscellaneous & Opts;\nexport function isMiscellaneous>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"Noop\":\n case \"Placeholder\":\n case \"V8IntrinsicIdentifier\":\n break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTypeScript(\n node: t.Node | null | undefined,\n): node is t.TypeScript;\nexport function isTypeScript>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TypeScript & Opts;\nexport function isTypeScript>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"TSParameterProperty\":\n case \"TSDeclareFunction\":\n case \"TSDeclareMethod\":\n case \"TSQualifiedName\":\n case \"TSCallSignatureDeclaration\":\n case \"TSConstructSignatureDeclaration\":\n case \"TSPropertySignature\":\n case \"TSMethodSignature\":\n case \"TSIndexSignature\":\n case \"TSAnyKeyword\":\n case \"TSBooleanKeyword\":\n case \"TSBigIntKeyword\":\n case \"TSIntrinsicKeyword\":\n case \"TSNeverKeyword\":\n case \"TSNullKeyword\":\n case \"TSNumberKeyword\":\n case \"TSObjectKeyword\":\n case \"TSStringKeyword\":\n case \"TSSymbolKeyword\":\n case \"TSUndefinedKeyword\":\n case \"TSUnknownKeyword\":\n case \"TSVoidKeyword\":\n case \"TSThisType\":\n case \"TSFunctionType\":\n case \"TSConstructorType\":\n case \"TSTypeReference\":\n case \"TSTypePredicate\":\n case \"TSTypeQuery\":\n case \"TSTypeLiteral\":\n case \"TSArrayType\":\n case \"TSTupleType\":\n case \"TSOptionalType\":\n case \"TSRestType\":\n case \"TSNamedTupleMember\":\n case \"TSUnionType\":\n case \"TSIntersectionType\":\n case \"TSConditionalType\":\n case \"TSInferType\":\n case \"TSParenthesizedType\":\n case \"TSTypeOperator\":\n case \"TSIndexedAccessType\":\n case \"TSMappedType\":\n case \"TSTemplateLiteralType\":\n case \"TSLiteralType\":\n case \"TSExpressionWithTypeArguments\":\n case \"TSInterfaceDeclaration\":\n case \"TSInterfaceBody\":\n case \"TSTypeAliasDeclaration\":\n case \"TSInstantiationExpression\":\n case \"TSAsExpression\":\n case \"TSSatisfiesExpression\":\n case \"TSTypeAssertion\":\n case \"TSEnumBody\":\n case \"TSEnumDeclaration\":\n case \"TSEnumMember\":\n case \"TSModuleDeclaration\":\n case \"TSModuleBlock\":\n case \"TSImportType\":\n case \"TSImportEqualsDeclaration\":\n case \"TSExternalModuleReference\":\n case \"TSNonNullExpression\":\n case \"TSExportAssignment\":\n case \"TSNamespaceExportDeclaration\":\n case \"TSTypeAnnotation\":\n case \"TSTypeParameterInstantiation\":\n case \"TSTypeParameterDeclaration\":\n case \"TSTypeParameter\":\n break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSTypeElement(\n node: t.Node | null | undefined,\n): node is t.TSTypeElement;\nexport function isTSTypeElement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSTypeElement & Opts;\nexport function isTSTypeElement>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"TSCallSignatureDeclaration\":\n case \"TSConstructSignatureDeclaration\":\n case \"TSPropertySignature\":\n case \"TSMethodSignature\":\n case \"TSIndexSignature\":\n break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSType(node: t.Node | null | undefined): node is t.TSType;\nexport function isTSType>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSType & Opts;\nexport function isTSType>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"TSAnyKeyword\":\n case \"TSBooleanKeyword\":\n case \"TSBigIntKeyword\":\n case \"TSIntrinsicKeyword\":\n case \"TSNeverKeyword\":\n case \"TSNullKeyword\":\n case \"TSNumberKeyword\":\n case \"TSObjectKeyword\":\n case \"TSStringKeyword\":\n case \"TSSymbolKeyword\":\n case \"TSUndefinedKeyword\":\n case \"TSUnknownKeyword\":\n case \"TSVoidKeyword\":\n case \"TSThisType\":\n case \"TSFunctionType\":\n case \"TSConstructorType\":\n case \"TSTypeReference\":\n case \"TSTypePredicate\":\n case \"TSTypeQuery\":\n case \"TSTypeLiteral\":\n case \"TSArrayType\":\n case \"TSTupleType\":\n case \"TSOptionalType\":\n case \"TSRestType\":\n case \"TSUnionType\":\n case \"TSIntersectionType\":\n case \"TSConditionalType\":\n case \"TSInferType\":\n case \"TSParenthesizedType\":\n case \"TSTypeOperator\":\n case \"TSIndexedAccessType\":\n case \"TSMappedType\":\n case \"TSTemplateLiteralType\":\n case \"TSLiteralType\":\n case \"TSExpressionWithTypeArguments\":\n case \"TSImportType\":\n break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\nexport function isTSBaseType(\n node: t.Node | null | undefined,\n): node is t.TSBaseType;\nexport function isTSBaseType>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.TSBaseType & Opts;\nexport function isTSBaseType>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n if (!node) return false;\n\n switch (node.type) {\n case \"TSAnyKeyword\":\n case \"TSBooleanKeyword\":\n case \"TSBigIntKeyword\":\n case \"TSIntrinsicKeyword\":\n case \"TSNeverKeyword\":\n case \"TSNullKeyword\":\n case \"TSNumberKeyword\":\n case \"TSObjectKeyword\":\n case \"TSStringKeyword\":\n case \"TSSymbolKeyword\":\n case \"TSUndefinedKeyword\":\n case \"TSUnknownKeyword\":\n case \"TSVoidKeyword\":\n case \"TSThisType\":\n case \"TSTemplateLiteralType\":\n case \"TSLiteralType\":\n break;\n default:\n return false;\n }\n\n return opts == null || shallowEqual(node, opts);\n}\n/**\n * @deprecated Use `isNumericLiteral`\n */\nexport function isNumberLiteral(node: t.Node | null | undefined): boolean;\nexport function isNumberLiteral>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean;\nexport function isNumberLiteral>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n deprecationWarning(\"isNumberLiteral\", \"isNumericLiteral\");\n if (!node) return false;\n\n if (node.type !== \"NumberLiteral\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\n/**\n * @deprecated Use `isRegExpLiteral`\n */\nexport function isRegexLiteral(node: t.Node | null | undefined): boolean;\nexport function isRegexLiteral>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean;\nexport function isRegexLiteral>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n deprecationWarning(\"isRegexLiteral\", \"isRegExpLiteral\");\n if (!node) return false;\n\n if (node.type !== \"RegexLiteral\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\n/**\n * @deprecated Use `isRestElement`\n */\nexport function isRestProperty(node: t.Node | null | undefined): boolean;\nexport function isRestProperty>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean;\nexport function isRestProperty>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n deprecationWarning(\"isRestProperty\", \"isRestElement\");\n if (!node) return false;\n\n if (node.type !== \"RestProperty\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\n/**\n * @deprecated Use `isSpreadElement`\n */\nexport function isSpreadProperty(node: t.Node | null | undefined): boolean;\nexport function isSpreadProperty>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean;\nexport function isSpreadProperty>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): boolean {\n deprecationWarning(\"isSpreadProperty\", \"isSpreadElement\");\n if (!node) return false;\n\n if (node.type !== \"SpreadProperty\") return false;\n\n return opts == null || shallowEqual(node, opts);\n}\n/**\n * @deprecated Use `isImportOrExportDeclaration`\n */\nexport function isModuleDeclaration>(\n node: t.Node | null | undefined,\n opts?: Opts | null,\n): node is t.ImportOrExportDeclaration & Opts {\n deprecationWarning(\"isModuleDeclaration\", \"isImportOrExportDeclaration\");\n return isImportOrExportDeclaration(node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I,CAAC;AACjD;AASO,SAASsT,gBAAgBA,CAC9BvT,IAA+B,EAC/BC,IAAkB,EACT;EACT,IAAAmT,2BAAkB,EAAC,kBAAkB,EAAE,iBAAiB,CAAC;EACzD,IAAI,CAACpT,IAAI,EAAE,OAAO,KAAK;EAEvB,IAAIA,IAAI,CAACE,IAAI,KAAK,gBAAgB,EAAE,OAAO,KAAK;EAEhD,OAAOD,IAAI,IAAI,IAAI,IAAI,IAAAE,qBAAY,EAACH,IAAI,EAAEC,IAAI,CAAC;AACjD;AAIO,SAASuT,mBAAmBA,CACjCxT,IAA+B,EAC/BC,IAAkB,EAC0B;EAC5C,IAAAmT,2BAAkB,EAAC,qBAAqB,EAAE,6BAA6B,CAAC;EACxE,OAAOnB,2BAA2B,CAACjS,IAAI,EAAEC,IAAI,CAAC;AAChD","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/validators/is.js b/node_modules/@babel/types/lib/validators/is.js new file mode 100644 index 0000000000000000000000000000000000000000..39c04889d5b64e821360dbe3d89c61bfdadb2e6f --- /dev/null +++ b/node_modules/@babel/types/lib/validators/is.js @@ -0,0 +1,27 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = is; +var _shallowEqual = require("../utils/shallowEqual.js"); +var _isType = require("./isType.js"); +var _isPlaceholderType = require("./isPlaceholderType.js"); +var _index = require("../definitions/index.js"); +function is(type, node, opts) { + if (!node) return false; + const matches = (0, _isType.default)(node.type, type); + if (!matches) { + if (!opts && node.type === "Placeholder" && type in _index.FLIPPED_ALIAS_KEYS) { + return (0, _isPlaceholderType.default)(node.expectedNode, type); + } + return false; + } + if (opts === undefined) { + return true; + } else { + return (0, _shallowEqual.default)(node, opts); + } +} + +//# sourceMappingURL=is.js.map diff --git a/node_modules/@babel/types/lib/validators/is.js.map b/node_modules/@babel/types/lib/validators/is.js.map new file mode 100644 index 0000000000000000000000000000000000000000..06ba31fc1165ed1ea608477a6482391839ae103d --- /dev/null +++ b/node_modules/@babel/types/lib/validators/is.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_shallowEqual","require","_isType","_isPlaceholderType","_index","is","type","node","opts","matches","isType","FLIPPED_ALIAS_KEYS","isPlaceholderType","expectedNode","undefined","shallowEqual"],"sources":["../../src/validators/is.ts"],"sourcesContent":["import shallowEqual from \"../utils/shallowEqual.ts\";\nimport isType from \"./isType.ts\";\nimport isPlaceholderType from \"./isPlaceholderType.ts\";\nimport { FLIPPED_ALIAS_KEYS } from \"../definitions/index.ts\";\nimport type * as t from \"../index.ts\";\n\nexport default function is(\n type: T,\n node: t.Node | null | undefined,\n opts?: undefined,\n): node is Extract;\n\nexport default function is<\n T extends t.Node[\"type\"],\n P extends Extract,\n>(type: T, n: t.Node | null | undefined, required: Partial

): n is P;\n\nexport default function is

(\n type: string,\n node: t.Node | null | undefined,\n opts: Partial

,\n): node is P;\n\nexport default function is(\n type: string,\n node: t.Node | null | undefined,\n opts?: Partial,\n): node is t.Node;\n/**\n * Returns whether `node` is of given `type`.\n *\n * For better performance, use this instead of `is[Type]` when `type` is unknown.\n */\nexport default function is(\n type: string,\n node: t.Node | null | undefined,\n opts?: Partial,\n): node is t.Node {\n if (!node) return false;\n\n const matches = isType(node.type, type);\n if (!matches) {\n if (!opts && node.type === \"Placeholder\" && type in FLIPPED_ALIAS_KEYS) {\n // We can only return true if the placeholder doesn't replace a real node,\n // but it replaces a category of nodes (an alias).\n //\n // t.is(\"Identifier\", node) gives some guarantees about node's shape, so we\n // can't say that Placeholder(expectedNode: \"Identifier\") is an identifier\n // because it doesn't have the same properties.\n // On the other hand, t.is(\"Expression\", node) doesn't say anything about\n // the shape of node because Expression can be many different nodes: we can,\n // and should, safely report expression placeholders as Expressions.\n return isPlaceholderType(node.expectedNode, type);\n }\n return false;\n }\n\n if (opts === undefined) {\n return true;\n } else {\n return shallowEqual(node, opts);\n }\n}\n"],"mappings":";;;;;;AAAA,IAAAA,aAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,kBAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AA8Be,SAASI,EAAEA,CACxBC,IAAY,EACZC,IAA+B,EAC/BC,IAAsB,EACN;EAChB,IAAI,CAACD,IAAI,EAAE,OAAO,KAAK;EAEvB,MAAME,OAAO,GAAG,IAAAC,eAAM,EAACH,IAAI,CAACD,IAAI,EAAEA,IAAI,CAAC;EACvC,IAAI,CAACG,OAAO,EAAE;IACZ,IAAI,CAACD,IAAI,IAAID,IAAI,CAACD,IAAI,KAAK,aAAa,IAAIA,IAAI,IAAIK,yBAAkB,EAAE;MAUtE,OAAO,IAAAC,0BAAiB,EAACL,IAAI,CAACM,YAAY,EAAEP,IAAI,CAAC;IACnD;IACA,OAAO,KAAK;EACd;EAEA,IAAIE,IAAI,KAAKM,SAAS,EAAE;IACtB,OAAO,IAAI;EACb,CAAC,MAAM;IACL,OAAO,IAAAC,qBAAY,EAACR,IAAI,EAAEC,IAAI,CAAC;EACjC;AACF","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/validators/isBinding.js b/node_modules/@babel/types/lib/validators/isBinding.js new file mode 100644 index 0000000000000000000000000000000000000000..b3b1a4b835e2366c8aa24899ab6e8fc3b0960dcb --- /dev/null +++ b/node_modules/@babel/types/lib/validators/isBinding.js @@ -0,0 +1,27 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isBinding; +var _getBindingIdentifiers = require("../retrievers/getBindingIdentifiers.js"); +function isBinding(node, parent, grandparent) { + if (grandparent && node.type === "Identifier" && parent.type === "ObjectProperty" && grandparent.type === "ObjectExpression") { + return false; + } + const keys = _getBindingIdentifiers.default.keys[parent.type]; + if (keys) { + for (let i = 0; i < keys.length; i++) { + const key = keys[i]; + const val = parent[key]; + if (Array.isArray(val)) { + if (val.includes(node)) return true; + } else { + if (val === node) return true; + } + } + } + return false; +} + +//# sourceMappingURL=isBinding.js.map diff --git a/node_modules/@babel/types/lib/validators/isBinding.js.map b/node_modules/@babel/types/lib/validators/isBinding.js.map new file mode 100644 index 0000000000000000000000000000000000000000..d6c9c0531aae72d2bfd981eca031d4307a9df6c3 --- /dev/null +++ b/node_modules/@babel/types/lib/validators/isBinding.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_getBindingIdentifiers","require","isBinding","node","parent","grandparent","type","keys","getBindingIdentifiers","i","length","key","val","Array","isArray","includes"],"sources":["../../src/validators/isBinding.ts"],"sourcesContent":["import getBindingIdentifiers from \"../retrievers/getBindingIdentifiers.ts\";\nimport type * as t from \"../index.ts\";\n/**\n * Check if the input `node` is a binding identifier.\n */\nexport default function isBinding(\n node: t.Node,\n parent: t.Node,\n grandparent?: t.Node,\n): boolean {\n if (\n grandparent &&\n node.type === \"Identifier\" &&\n parent.type === \"ObjectProperty\" &&\n grandparent.type === \"ObjectExpression\"\n ) {\n // We need to special-case this, because getBindingIdentifiers\n // has an ObjectProperty->value entry for destructuring patterns.\n return false;\n }\n\n const keys = getBindingIdentifiers.keys[parent.type];\n if (keys) {\n for (let i = 0; i < keys.length; i++) {\n const key = keys[i];\n const val =\n // @ts-expect-error key must present in parent\n parent[key];\n if (Array.isArray(val)) {\n if (val.includes(node)) return true;\n } else {\n if (val === node) return true;\n }\n }\n }\n\n return false;\n}\n"],"mappings":";;;;;;AAAA,IAAAA,sBAAA,GAAAC,OAAA;AAKe,SAASC,SAASA,CAC/BC,IAAY,EACZC,MAAc,EACdC,WAAoB,EACX;EACT,IACEA,WAAW,IACXF,IAAI,CAACG,IAAI,KAAK,YAAY,IAC1BF,MAAM,CAACE,IAAI,KAAK,gBAAgB,IAChCD,WAAW,CAACC,IAAI,KAAK,kBAAkB,EACvC;IAGA,OAAO,KAAK;EACd;EAEA,MAAMC,IAAI,GAAGC,8BAAqB,CAACD,IAAI,CAACH,MAAM,CAACE,IAAI,CAAC;EACpD,IAAIC,IAAI,EAAE;IACR,KAAK,IAAIE,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGF,IAAI,CAACG,MAAM,EAAED,CAAC,EAAE,EAAE;MACpC,MAAME,GAAG,GAAGJ,IAAI,CAACE,CAAC,CAAC;MACnB,MAAMG,GAAG,GAEPR,MAAM,CAACO,GAAG,CAAC;MACb,IAAIE,KAAK,CAACC,OAAO,CAACF,GAAG,CAAC,EAAE;QACtB,IAAIA,GAAG,CAACG,QAAQ,CAACZ,IAAI,CAAC,EAAE,OAAO,IAAI;MACrC,CAAC,MAAM;QACL,IAAIS,GAAG,KAAKT,IAAI,EAAE,OAAO,IAAI;MAC/B;IACF;EACF;EAEA,OAAO,KAAK;AACd","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/validators/isBlockScoped.js b/node_modules/@babel/types/lib/validators/isBlockScoped.js new file mode 100644 index 0000000000000000000000000000000000000000..a552f65f62ba6c5af7878451feb094a99867a976 --- /dev/null +++ b/node_modules/@babel/types/lib/validators/isBlockScoped.js @@ -0,0 +1,13 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isBlockScoped; +var _index = require("./generated/index.js"); +var _isLet = require("./isLet.js"); +function isBlockScoped(node) { + return (0, _index.isFunctionDeclaration)(node) || (0, _index.isClassDeclaration)(node) || (0, _isLet.default)(node); +} + +//# sourceMappingURL=isBlockScoped.js.map diff --git a/node_modules/@babel/types/lib/validators/isBlockScoped.js.map b/node_modules/@babel/types/lib/validators/isBlockScoped.js.map new file mode 100644 index 0000000000000000000000000000000000000000..89ecfed7118a97eb225a409d5b1c8bd41576d714 --- /dev/null +++ b/node_modules/@babel/types/lib/validators/isBlockScoped.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_index","require","_isLet","isBlockScoped","node","isFunctionDeclaration","isClassDeclaration","isLet"],"sources":["../../src/validators/isBlockScoped.ts"],"sourcesContent":["import {\n isClassDeclaration,\n isFunctionDeclaration,\n} from \"./generated/index.ts\";\nimport isLet from \"./isLet.ts\";\nimport type * as t from \"../index.ts\";\n\n/**\n * Check if the input `node` is block scoped.\n */\nexport default function isBlockScoped(\n node: t.Node | null | undefined,\n): boolean {\n return isFunctionDeclaration(node) || isClassDeclaration(node) || isLet(node);\n}\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAIA,IAAAC,MAAA,GAAAD,OAAA;AAMe,SAASE,aAAaA,CACnCC,IAA+B,EACtB;EACT,OAAO,IAAAC,4BAAqB,EAACD,IAAI,CAAC,IAAI,IAAAE,yBAAkB,EAACF,IAAI,CAAC,IAAI,IAAAG,cAAK,EAACH,IAAI,CAAC;AAC/E","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/validators/isImmutable.js b/node_modules/@babel/types/lib/validators/isImmutable.js new file mode 100644 index 0000000000000000000000000000000000000000..324fae63afadf317f6e71635c874cbfb724eef45 --- /dev/null +++ b/node_modules/@babel/types/lib/validators/isImmutable.js @@ -0,0 +1,21 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isImmutable; +var _isType = require("./isType.js"); +var _index = require("./generated/index.js"); +function isImmutable(node) { + if ((0, _isType.default)(node.type, "Immutable")) return true; + if ((0, _index.isIdentifier)(node)) { + if (node.name === "undefined") { + return true; + } else { + return false; + } + } + return false; +} + +//# sourceMappingURL=isImmutable.js.map diff --git a/node_modules/@babel/types/lib/validators/isImmutable.js.map b/node_modules/@babel/types/lib/validators/isImmutable.js.map new file mode 100644 index 0000000000000000000000000000000000000000..023471001e234872452435cb17aa81a194274d3c --- /dev/null +++ b/node_modules/@babel/types/lib/validators/isImmutable.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_isType","require","_index","isImmutable","node","isType","type","isIdentifier","name"],"sources":["../../src/validators/isImmutable.ts"],"sourcesContent":["import isType from \"./isType.ts\";\nimport { isIdentifier } from \"./generated/index.ts\";\nimport type * as t from \"../index.ts\";\n\n/**\n * Check if the input `node` is definitely immutable.\n */\nexport default function isImmutable(node: t.Node): boolean {\n if (isType(node.type, \"Immutable\")) return true;\n\n if (isIdentifier(node)) {\n if (node.name === \"undefined\") {\n // immutable!\n return true;\n } else {\n // no idea...\n return false;\n }\n }\n\n return false;\n}\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAMe,SAASE,WAAWA,CAACC,IAAY,EAAW;EACzD,IAAI,IAAAC,eAAM,EAACD,IAAI,CAACE,IAAI,EAAE,WAAW,CAAC,EAAE,OAAO,IAAI;EAE/C,IAAI,IAAAC,mBAAY,EAACH,IAAI,CAAC,EAAE;IACtB,IAAIA,IAAI,CAACI,IAAI,KAAK,WAAW,EAAE;MAE7B,OAAO,IAAI;IACb,CAAC,MAAM;MAEL,OAAO,KAAK;IACd;EACF;EAEA,OAAO,KAAK;AACd","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/validators/isLet.js b/node_modules/@babel/types/lib/validators/isLet.js new file mode 100644 index 0000000000000000000000000000000000000000..be1906e0432569112e0593666e88a34803f76945 --- /dev/null +++ b/node_modules/@babel/types/lib/validators/isLet.js @@ -0,0 +1,13 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isLet; +var _index = require("./generated/index.js"); +var BLOCK_SCOPED_SYMBOL = Symbol.for("var used to be block scoped"); +function isLet(node) { + return (0, _index.isVariableDeclaration)(node) && (node.kind !== "var" || node[BLOCK_SCOPED_SYMBOL]); +} + +//# sourceMappingURL=isLet.js.map diff --git a/node_modules/@babel/types/lib/validators/isLet.js.map b/node_modules/@babel/types/lib/validators/isLet.js.map new file mode 100644 index 0000000000000000000000000000000000000000..1524938103b0006756956a151612b70e4e631be0 --- /dev/null +++ b/node_modules/@babel/types/lib/validators/isLet.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_index","require","BLOCK_SCOPED_SYMBOL","Symbol","for","isLet","node","isVariableDeclaration","kind"],"sources":["../../src/validators/isLet.ts"],"sourcesContent":["import { isVariableDeclaration } from \"./generated/index.ts\";\nimport type * as t from \"../index.ts\";\n\nif (!process.env.BABEL_8_BREAKING) {\n // eslint-disable-next-line no-var\n var BLOCK_SCOPED_SYMBOL = Symbol.for(\"var used to be block scoped\");\n}\n\n/**\n * Check if the input `node` is a `let` variable declaration.\n */\nexport default function isLet(node: t.Node): boolean {\n if (process.env.BABEL_8_BREAKING) {\n return isVariableDeclaration(node) && node.kind !== \"var\";\n } else {\n return (\n isVariableDeclaration(node) &&\n (node.kind !== \"var\" ||\n // @ts-expect-error Fixme: document private properties\n node[BLOCK_SCOPED_SYMBOL])\n );\n }\n}\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAKE,IAAIC,mBAAmB,GAAGC,MAAM,CAACC,GAAG,CAAC,6BAA6B,CAAC;AAMtD,SAASC,KAAKA,CAACC,IAAY,EAAW;EAIjD,OACE,IAAAC,4BAAqB,EAACD,IAAI,CAAC,KAC1BA,IAAI,CAACE,IAAI,KAAK,KAAK,IAElBF,IAAI,CAACJ,mBAAmB,CAAC,CAAC;AAGlC","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/validators/isNode.js b/node_modules/@babel/types/lib/validators/isNode.js new file mode 100644 index 0000000000000000000000000000000000000000..d80ce74a5c948b7cb55cc8906f6eb59a414d8b78 --- /dev/null +++ b/node_modules/@babel/types/lib/validators/isNode.js @@ -0,0 +1,12 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isNode; +var _index = require("../definitions/index.js"); +function isNode(node) { + return !!(node && _index.VISITOR_KEYS[node.type]); +} + +//# sourceMappingURL=isNode.js.map diff --git a/node_modules/@babel/types/lib/validators/isNode.js.map b/node_modules/@babel/types/lib/validators/isNode.js.map new file mode 100644 index 0000000000000000000000000000000000000000..0577fec29a059c83aaff50c37d7c4b5f1bce710b --- /dev/null +++ b/node_modules/@babel/types/lib/validators/isNode.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_index","require","isNode","node","VISITOR_KEYS","type"],"sources":["../../src/validators/isNode.ts"],"sourcesContent":["import { VISITOR_KEYS } from \"../definitions/index.ts\";\nimport type * as t from \"../index.ts\";\n\nexport default function isNode(node: any): node is t.Node {\n return !!(node && VISITOR_KEYS[node.type]);\n}\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAGe,SAASC,MAAMA,CAACC,IAAS,EAAkB;EACxD,OAAO,CAAC,EAAEA,IAAI,IAAIC,mBAAY,CAACD,IAAI,CAACE,IAAI,CAAC,CAAC;AAC5C","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/validators/isNodesEquivalent.js b/node_modules/@babel/types/lib/validators/isNodesEquivalent.js new file mode 100644 index 0000000000000000000000000000000000000000..fc399028b439f21af0bb078e2be68078981405fb --- /dev/null +++ b/node_modules/@babel/types/lib/validators/isNodesEquivalent.js @@ -0,0 +1,57 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isNodesEquivalent; +var _index = require("../definitions/index.js"); +function isNodesEquivalent(a, b) { + if (typeof a !== "object" || typeof b !== "object" || a == null || b == null) { + return a === b; + } + if (a.type !== b.type) { + return false; + } + const fields = Object.keys(_index.NODE_FIELDS[a.type] || a.type); + const visitorKeys = _index.VISITOR_KEYS[a.type]; + for (const field of fields) { + const val_a = a[field]; + const val_b = b[field]; + if (typeof val_a !== typeof val_b) { + return false; + } + if (val_a == null && val_b == null) { + continue; + } else if (val_a == null || val_b == null) { + return false; + } + if (Array.isArray(val_a)) { + if (!Array.isArray(val_b)) { + return false; + } + if (val_a.length !== val_b.length) { + return false; + } + for (let i = 0; i < val_a.length; i++) { + if (!isNodesEquivalent(val_a[i], val_b[i])) { + return false; + } + } + continue; + } + if (typeof val_a === "object" && !(visitorKeys != null && visitorKeys.includes(field))) { + for (const key of Object.keys(val_a)) { + if (val_a[key] !== val_b[key]) { + return false; + } + } + continue; + } + if (!isNodesEquivalent(val_a, val_b)) { + return false; + } + } + return true; +} + +//# sourceMappingURL=isNodesEquivalent.js.map diff --git a/node_modules/@babel/types/lib/validators/isNodesEquivalent.js.map b/node_modules/@babel/types/lib/validators/isNodesEquivalent.js.map new file mode 100644 index 0000000000000000000000000000000000000000..c718316dd28e04763df589a07deb2e01678c6dec --- /dev/null +++ b/node_modules/@babel/types/lib/validators/isNodesEquivalent.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_index","require","isNodesEquivalent","a","b","type","fields","Object","keys","NODE_FIELDS","visitorKeys","VISITOR_KEYS","field","val_a","val_b","Array","isArray","length","i","includes","key"],"sources":["../../src/validators/isNodesEquivalent.ts"],"sourcesContent":["import { NODE_FIELDS, VISITOR_KEYS } from \"../definitions/index.ts\";\nimport type * as t from \"../index.ts\";\n\n/**\n * Check if two nodes are equivalent\n */\nexport default function isNodesEquivalent>(\n a: T,\n b: any,\n): b is T {\n if (\n typeof a !== \"object\" ||\n typeof b !== \"object\" ||\n a == null ||\n b == null\n ) {\n return a === b;\n }\n\n if (a.type !== b.type) {\n return false;\n }\n\n const fields = Object.keys(NODE_FIELDS[a.type] || a.type);\n const visitorKeys = VISITOR_KEYS[a.type];\n\n for (const field of fields) {\n const val_a =\n // @ts-expect-error field must present in a\n a[field];\n const val_b = b[field];\n if (typeof val_a !== typeof val_b) {\n return false;\n }\n if (val_a == null && val_b == null) {\n continue;\n } else if (val_a == null || val_b == null) {\n return false;\n }\n\n if (Array.isArray(val_a)) {\n if (!Array.isArray(val_b)) {\n return false;\n }\n if (val_a.length !== val_b.length) {\n return false;\n }\n\n for (let i = 0; i < val_a.length; i++) {\n if (!isNodesEquivalent(val_a[i], val_b[i])) {\n return false;\n }\n }\n continue;\n }\n\n if (typeof val_a === \"object\" && !visitorKeys?.includes(field)) {\n for (const key of Object.keys(val_a)) {\n if (val_a[key] !== val_b[key]) {\n return false;\n }\n }\n continue;\n }\n\n if (!isNodesEquivalent(val_a, val_b)) {\n return false;\n }\n }\n\n return true;\n}\n"],"mappings":";;;;;;AAAA,IAA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AACW,KAAK,CAACK,CAAC,CAAC,EAAEJ,KAAK,CAACI,CAAC,CAAC,CAAC,EAAE;UAC1C,OAAO,KAAK;QACd;MACF;MACA;IACF;IAEA,IAAI,OAAOL,KAAK,KAAK,QAAQ,IAAI,EAACH,WAAW,YAAXA,WAAW,CAAES,QAAQ,CAACP,KAAK,CAAC,GAAE;MAC9D,KAAK,MAAMQ,GAAG,IAAIb,MAAM,CAACC,IAAI,CAACK,KAAK,CAAC,EAAE;QACpC,IAAIA,KAAK,CAACO,GAAG,CAAC,KAAKN,KAAK,CAACM,GAAG,CAAC,EAAE;UAC7B,OAAO,KAAK;QACd;MACF;MACA;IACF;IAEA,IAAI,CAAClB,iBAAiB,CAACW,KAAK,EAAEC,KAAK,CAAC,EAAE;MACpC,OAAO,KAAK;IACd;EACF;EAEA,OAAO,IAAI;AACb","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/validators/isPlaceholderType.js b/node_modules/@babel/types/lib/validators/isPlaceholderType.js new file mode 100644 index 0000000000000000000000000000000000000000..023bff16dbdeebeea06ca94c823aee639bb4b20e --- /dev/null +++ b/node_modules/@babel/types/lib/validators/isPlaceholderType.js @@ -0,0 +1,15 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isPlaceholderType; +var _index = require("../definitions/index.js"); +function isPlaceholderType(placeholderType, targetType) { + if (placeholderType === targetType) return true; + const aliases = _index.PLACEHOLDERS_ALIAS[placeholderType]; + if (aliases != null && aliases.includes(targetType)) return true; + return false; +} + +//# sourceMappingURL=isPlaceholderType.js.map diff --git a/node_modules/@babel/types/lib/validators/isPlaceholderType.js.map b/node_modules/@babel/types/lib/validators/isPlaceholderType.js.map new file mode 100644 index 0000000000000000000000000000000000000000..beab534edcb7e8462cc2c0641034aec19ac4eae8 --- /dev/null +++ b/node_modules/@babel/types/lib/validators/isPlaceholderType.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_index","require","isPlaceholderType","placeholderType","targetType","aliases","PLACEHOLDERS_ALIAS","includes"],"sources":["../../src/validators/isPlaceholderType.ts"],"sourcesContent":["import { PLACEHOLDERS_ALIAS } from \"../definitions/index.ts\";\n\n/**\n * Test if a `placeholderType` is a `targetType` or if `targetType` is an alias of `placeholderType`.\n */\nexport default function isPlaceholderType(\n placeholderType: string,\n targetType: string,\n): boolean {\n if (placeholderType === targetType) return true;\n\n const aliases: string[] | undefined = PLACEHOLDERS_ALIAS[placeholderType];\n if (aliases?.includes(targetType)) return true;\n\n return false;\n}\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAKe,SAASC,iBAAiBA,CACvCC,eAAuB,EACvBC,UAAkB,EACT;EACT,IAAID,eAAe,KAAKC,UAAU,EAAE,OAAO,IAAI;EAE/C,MAAMC,OAA6B,GAAGC,yBAAkB,CAACH,eAAe,CAAC;EACzE,IAAIE,OAAO,YAAPA,OAAO,CAAEE,QAAQ,CAACH,UAAU,CAAC,EAAE,OAAO,IAAI;EAE9C,OAAO,KAAK;AACd","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/validators/isReferenced.js b/node_modules/@babel/types/lib/validators/isReferenced.js new file mode 100644 index 0000000000000000000000000000000000000000..b2718d77b9ab034c8e65b8b6389ffda1d529088c --- /dev/null +++ b/node_modules/@babel/types/lib/validators/isReferenced.js @@ -0,0 +1,96 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isReferenced; +function isReferenced(node, parent, grandparent) { + switch (parent.type) { + case "MemberExpression": + case "OptionalMemberExpression": + if (parent.property === node) { + return !!parent.computed; + } + return parent.object === node; + case "JSXMemberExpression": + return parent.object === node; + case "VariableDeclarator": + return parent.init === node; + case "ArrowFunctionExpression": + return parent.body === node; + case "PrivateName": + return false; + case "ClassMethod": + case "ClassPrivateMethod": + case "ObjectMethod": + if (parent.key === node) { + return !!parent.computed; + } + return false; + case "ObjectProperty": + if (parent.key === node) { + return !!parent.computed; + } + return (grandparent == null ? void 0 : grandparent.type) !== "ObjectPattern"; + case "ClassProperty": + case "ClassAccessorProperty": + if (parent.key === node) { + return !!parent.computed; + } + return true; + case "ClassPrivateProperty": + return parent.key !== node; + case "ClassDeclaration": + case "ClassExpression": + return parent.superClass === node; + case "AssignmentExpression": + return parent.right === node; + case "AssignmentPattern": + return parent.right === node; + case "LabeledStatement": + return false; + case "CatchClause": + return false; + case "RestElement": + return false; + case "BreakStatement": + case "ContinueStatement": + return false; + case "FunctionDeclaration": + case "FunctionExpression": + return false; + case "ExportNamespaceSpecifier": + case "ExportDefaultSpecifier": + return false; + case "ExportSpecifier": + if (grandparent != null && grandparent.source) { + return false; + } + return parent.local === node; + case "ImportDefaultSpecifier": + case "ImportNamespaceSpecifier": + case "ImportSpecifier": + return false; + case "ImportAttribute": + return false; + case "JSXAttribute": + return false; + case "ObjectPattern": + case "ArrayPattern": + return false; + case "MetaProperty": + return false; + case "ObjectTypeProperty": + return parent.key !== node; + case "TSEnumMember": + return parent.id !== node; + case "TSPropertySignature": + if (parent.key === node) { + return !!parent.computed; + } + return true; + } + return true; +} + +//# sourceMappingURL=isReferenced.js.map diff --git a/node_modules/@babel/types/lib/validators/isReferenced.js.map b/node_modules/@babel/types/lib/validators/isReferenced.js.map new file mode 100644 index 0000000000000000000000000000000000000000..16b12f43ee9c18dc2923570f9a39537311864da6 --- /dev/null +++ b/node_modules/@babel/types/lib/validators/isReferenced.js.map @@ -0,0 +1 @@ +{"version":3,"names":["isReferenced","node","parent","grandparent","type","property","computed","object","init","body","key","superClass","right","source","local","id"],"sources":["../../src/validators/isReferenced.ts"],"sourcesContent":["import type * as t from \"../index.ts\";\n\n/**\n * Check if the input `node` is a reference to a bound variable.\n */\nexport default function isReferenced(\n node: t.Node | null | undefined,\n parent: t.Node,\n grandparent?: t.Node,\n): boolean {\n switch (parent.type) {\n // yes: PARENT[NODE]\n // yes: NODE.child\n // no: parent.NODE\n case \"MemberExpression\":\n case \"OptionalMemberExpression\":\n if (parent.property === node) {\n return !!parent.computed;\n }\n return parent.object === node;\n\n case \"JSXMemberExpression\":\n return parent.object === node;\n // no: let NODE = init;\n // yes: let id = NODE;\n case \"VariableDeclarator\":\n return parent.init === node;\n\n // yes: () => NODE\n // no: (NODE) => {}\n case \"ArrowFunctionExpression\":\n return parent.body === node;\n\n // no: class { #NODE; }\n // no: class { get #NODE() {} }\n // no: class { #NODE() {} }\n // no: class { fn() { return this.#NODE; } }\n case \"PrivateName\":\n return false;\n\n // no: class { NODE() {} }\n // yes: class { [NODE]() {} }\n // no: class { foo(NODE) {} }\n case \"ClassMethod\":\n case \"ClassPrivateMethod\":\n case \"ObjectMethod\":\n if (parent.key === node) {\n return !!parent.computed;\n }\n return false;\n\n // yes: { [NODE]: \"\" }\n // no: { NODE: \"\" }\n // depends: { NODE }\n // depends: { key: NODE }\n case \"ObjectProperty\":\n if (parent.key === node) {\n return !!parent.computed;\n }\n // parent.value === node\n return grandparent?.type !== \"ObjectPattern\";\n // no: class { NODE = value; }\n // yes: class { [NODE] = value; }\n // yes: class { key = NODE; }\n case \"ClassProperty\":\n case \"ClassAccessorProperty\":\n if (parent.key === node) {\n return !!parent.computed;\n }\n return true;\n case \"ClassPrivateProperty\":\n return parent.key !== node;\n\n // no: class NODE {}\n // yes: class Foo extends NODE {}\n case \"ClassDeclaration\":\n case \"ClassExpression\":\n return parent.superClass === node;\n\n // yes: left = NODE;\n // no: NODE = right;\n case \"AssignmentExpression\":\n return parent.right === node;\n\n // no: [NODE = foo] = [];\n // yes: [foo = NODE] = [];\n case \"AssignmentPattern\":\n return parent.right === node;\n\n // no: NODE: for (;;) {}\n case \"LabeledStatement\":\n return false;\n\n // no: try {} catch (NODE) {}\n case \"CatchClause\":\n return false;\n\n // no: function foo(...NODE) {}\n case \"RestElement\":\n return false;\n\n case \"BreakStatement\":\n case \"ContinueStatement\":\n return false;\n\n // no: function NODE() {}\n // no: function foo(NODE) {}\n case \"FunctionDeclaration\":\n case \"FunctionExpression\":\n return false;\n\n // no: export NODE from \"foo\";\n // no: export * as NODE from \"foo\";\n case \"ExportNamespaceSpecifier\":\n case \"ExportDefaultSpecifier\":\n return false;\n\n // no: export { foo as NODE };\n // yes: export { NODE as foo };\n // no: export { NODE as foo } from \"foo\";\n case \"ExportSpecifier\":\n // @ts-expect-error todo(flow->ts): Property 'source' does not exist on type 'AnyTypeAnnotation'.\n if (grandparent?.source) {\n return false;\n }\n return parent.local === node;\n\n // no: import NODE from \"foo\";\n // no: import * as NODE from \"foo\";\n // no: import { NODE as foo } from \"foo\";\n // no: import { foo as NODE } from \"foo\";\n // no: import NODE from \"bar\";\n case \"ImportDefaultSpecifier\":\n case \"ImportNamespaceSpecifier\":\n case \"ImportSpecifier\":\n return false;\n\n // no: import \"foo\" assert { NODE: \"json\" }\n case \"ImportAttribute\":\n return false;\n\n // no:

\n case \"JSXAttribute\":\n return false;\n\n // no: [NODE] = [];\n // no: ({ NODE }) = [];\n case \"ObjectPattern\":\n case \"ArrayPattern\":\n return false;\n\n // no: new.NODE\n // no: NODE.target\n case \"MetaProperty\":\n return false;\n\n // yes: type X = { someProperty: NODE }\n // no: type X = { NODE: OtherType }\n case \"ObjectTypeProperty\":\n return parent.key !== node;\n\n // yes: enum X { Foo = NODE }\n // no: enum X { NODE }\n case \"TSEnumMember\":\n return parent.id !== node;\n\n // yes: { [NODE]: value }\n // no: { NODE: value }\n case \"TSPropertySignature\":\n if (parent.key === node) {\n return !!parent.computed;\n }\n\n return true;\n }\n\n return true;\n}\n"],"mappings":";;;;;;AAKe,SAASA,YAAYA,CAClCC,IAA+B,EAC/BC,MAAc,EACdC,WAAoB,EACX;EACT,QAAQD,MAAM,CAACE,IAAI;IAIjB,KAAK,kBAAkB;IACvB,KAAK,0BAA0B;MAC7B,IAAIF,MAAM,CAACG,QAAQ,KAAKJ,IAAI,EAAE;QAC5B,OAAO,CAAC,CAACC,MAAM,CAACI,QAAQ;MAC1B;MACA,OAAOJ,MAAM,CAACK,MAAM,KAAKN,IAAI;IAE/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AC1B,KAAK,oBAAoB;MACvB,OAAO,KAAK;IAId,KAAK,0BAA0B;IAC/B,KAAK,wBAAwB;MAC3B,OAAO,KAAK;IAKd,KAAK,iBAAiB;MAEpB,IAAIE,WAAW,YAAXA,WAAW,CAAEU,MAAM,EAAE;QACvB,OAAO,KAAK;MACd;MACA,OAAOX,MAAM,CAACY,KAAK,KAAKb,IAAI;IAO9B,KAAK,wBAAwB;IAC7B,KAAK,0BAA0B;IAC/B,KAAK,iBAAiB;MACpB,OAAO,KAAK;IAGd,KAAK,iBAAiB;MACpB,OAAO,KAAK;IAGd,KAAK,cAAc;MACjB,OAAO,KAAK;IAId,KAAK,eAAe;IACpB,KAAK,cAAc;MACjB,OAAO,KAAK;IAId,KAAK,cAAc;MACjB,OAAO,KAAK;IAId,KAAK,oBAAoB;MACvB,OAAOC,MAAM,CAACQ,GAAG,KAAKT,IAAI;IAI5B,KAAK,cAAc;MACjB,OAAOC,MAAM,CAACa,EAAE,KAAKd,IAAI;IAI3B,KAAK,qBAAqB;MACxB,IAAIC,MAAM,CAACQ,GAAG,KAAKT,IAAI,EAAE;QACvB,OAAO,CAAC,CAACC,MAAM,CAACI,QAAQ;MAC1B;MAEA,OAAO,IAAI;EACf;EAEA,OAAO,IAAI;AACb","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/validators/isScope.js b/node_modules/@babel/types/lib/validators/isScope.js new file mode 100644 index 0000000000000000000000000000000000000000..40b5dc28ee41b89f69610e411d4bec455943ea54 --- /dev/null +++ b/node_modules/@babel/types/lib/validators/isScope.js @@ -0,0 +1,18 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isScope; +var _index = require("./generated/index.js"); +function isScope(node, parent) { + if ((0, _index.isBlockStatement)(node) && ((0, _index.isFunction)(parent) || (0, _index.isCatchClause)(parent))) { + return false; + } + if ((0, _index.isPattern)(node) && ((0, _index.isFunction)(parent) || (0, _index.isCatchClause)(parent))) { + return true; + } + return (0, _index.isScopable)(node); +} + +//# sourceMappingURL=isScope.js.map diff --git a/node_modules/@babel/types/lib/validators/isScope.js.map b/node_modules/@babel/types/lib/validators/isScope.js.map new file mode 100644 index 0000000000000000000000000000000000000000..7f8a243fdefea1fda366cf956583016d8548ada3 --- /dev/null +++ b/node_modules/@babel/types/lib/validators/isScope.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_index","require","isScope","node","parent","isBlockStatement","isFunction","isCatchClause","isPattern","isScopable"],"sources":["../../src/validators/isScope.ts"],"sourcesContent":["import {\n isFunction,\n isCatchClause,\n isBlockStatement,\n isScopable,\n isPattern,\n} from \"./generated/index.ts\";\nimport type * as t from \"../index.ts\";\n\n/**\n * Check if the input `node` is a scope.\n */\nexport default function isScope(\n node: t.Node | null | undefined,\n parent: t.Node,\n): boolean {\n // If a BlockStatement is an immediate descendent of a Function/CatchClause, it must be in the body.\n // Hence we skipped the parentKey === \"params\" check\n if (isBlockStatement(node) && (isFunction(parent) || isCatchClause(parent))) {\n return false;\n }\n\n // If a Pattern is an immediate descendent of a Function/CatchClause, it must be in the params.\n // Hence we skipped the parentKey === \"params\" check\n if (isPattern(node) && (isFunction(parent) || isCatchClause(parent))) {\n return true;\n }\n\n return isScopable(node);\n}\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAYe,SAASC,OAAOA,CAC7BC,IAA+B,EAC/BC,MAAc,EACL;EAGT,IAAI,IAAAC,uBAAgB,EAACF,IAAI,CAAC,KAAK,IAAAG,iBAAU,EAACF,MAAM,CAAC,IAAI,IAAAG,oBAAa,EAACH,MAAM,CAAC,CAAC,EAAE;IAC3E,OAAO,KAAK;EACd;EAIA,IAAI,IAAAI,gBAAS,EAACL,IAAI,CAAC,KAAK,IAAAG,iBAAU,EAACF,MAAM,CAAC,IAAI,IAAAG,oBAAa,EAACH,MAAM,CAAC,CAAC,EAAE;IACpE,OAAO,IAAI;EACb;EAEA,OAAO,IAAAK,iBAAU,EAACN,IAAI,CAAC;AACzB","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/validators/isSpecifierDefault.js b/node_modules/@babel/types/lib/validators/isSpecifierDefault.js new file mode 100644 index 0000000000000000000000000000000000000000..fc492b1cfdaf1e8bbef82f28f8c0082e198cbc0e --- /dev/null +++ b/node_modules/@babel/types/lib/validators/isSpecifierDefault.js @@ -0,0 +1,14 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isSpecifierDefault; +var _index = require("./generated/index.js"); +function isSpecifierDefault(specifier) { + return (0, _index.isImportDefaultSpecifier)(specifier) || (0, _index.isIdentifier)(specifier.imported || specifier.exported, { + name: "default" + }); +} + +//# sourceMappingURL=isSpecifierDefault.js.map diff --git a/node_modules/@babel/types/lib/validators/isSpecifierDefault.js.map b/node_modules/@babel/types/lib/validators/isSpecifierDefault.js.map new file mode 100644 index 0000000000000000000000000000000000000000..eefd1b0909ce1aa49d72890e7471a6d005ee4e84 --- /dev/null +++ b/node_modules/@babel/types/lib/validators/isSpecifierDefault.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_index","require","isSpecifierDefault","specifier","isImportDefaultSpecifier","isIdentifier","imported","exported","name"],"sources":["../../src/validators/isSpecifierDefault.ts"],"sourcesContent":["import { isIdentifier, isImportDefaultSpecifier } from \"./generated/index.ts\";\nimport type * as t from \"../index.ts\";\n\n/**\n * Check if the input `specifier` is a `default` import or export.\n */\nexport default function isSpecifierDefault(\n specifier: t.ModuleSpecifier,\n): boolean {\n return (\n isImportDefaultSpecifier(specifier) ||\n // @ts-expect-error todo(flow->ts): stricter type for specifier\n isIdentifier(specifier.imported || specifier.exported, {\n name: \"default\",\n })\n );\n}\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAMe,SAASC,kBAAkBA,CACxCC,SAA4B,EACnB;EACT,OACE,IAAAC,+BAAwB,EAACD,SAAS,CAAC,IAEnC,IAAAE,mBAAY,EAACF,SAAS,CAACG,QAAQ,IAAIH,SAAS,CAACI,QAAQ,EAAE;IACrDC,IAAI,EAAE;EACR,CAAC,CAAC;AAEN","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/validators/isType.js b/node_modules/@babel/types/lib/validators/isType.js new file mode 100644 index 0000000000000000000000000000000000000000..de8945ddcea89bf255a689eb3576ad1975de11ee --- /dev/null +++ b/node_modules/@babel/types/lib/validators/isType.js @@ -0,0 +1,17 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isType; +var _index = require("../definitions/index.js"); +function isType(nodeType, targetType) { + if (nodeType === targetType) return true; + if (nodeType == null) return false; + if (_index.ALIAS_KEYS[targetType]) return false; + const aliases = _index.FLIPPED_ALIAS_KEYS[targetType]; + if (aliases != null && aliases.includes(nodeType)) return true; + return false; +} + +//# sourceMappingURL=isType.js.map diff --git a/node_modules/@babel/types/lib/validators/isType.js.map b/node_modules/@babel/types/lib/validators/isType.js.map new file mode 100644 index 0000000000000000000000000000000000000000..642ee4c9126454794b18cee36f51d6c68f26a495 --- /dev/null +++ b/node_modules/@babel/types/lib/validators/isType.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_index","require","isType","nodeType","targetType","ALIAS_KEYS","aliases","FLIPPED_ALIAS_KEYS","includes"],"sources":["../../src/validators/isType.ts"],"sourcesContent":["import { FLIPPED_ALIAS_KEYS, ALIAS_KEYS } from \"../definitions/index.ts\";\nimport type * as t from \"../index.ts\";\n\nexport default function isType(\n nodeType: string,\n targetType: T,\n): nodeType is T;\n\nexport default function isType(\n nodeType: string | null | undefined,\n targetType: string,\n): boolean;\n\n/**\n * Test if a `nodeType` is a `targetType` or if `targetType` is an alias of `nodeType`.\n */\nexport default function isType(nodeType: string, targetType: string): boolean {\n if (nodeType === targetType) return true;\n\n // If nodeType is nullish, it can't be an alias of targetType.\n if (nodeType == null) return false;\n\n // This is a fast-path. If the test above failed, but an alias key is found, then the\n // targetType was a primary node type, so there's no need to check the aliases.\n // @ts-expect-error targetType may not index ALIAS_KEYS\n if (ALIAS_KEYS[targetType]) return false;\n\n const aliases: string[] | undefined = FLIPPED_ALIAS_KEYS[targetType];\n if (aliases?.includes(nodeType)) return true;\n\n return false;\n}\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAgBe,SAASC,MAAMA,CAACC,QAAgB,EAAEC,UAAkB,EAAW;EAC5E,IAAID,QAAQ,KAAKC,UAAU,EAAE,OAAO,IAAI;EAGxC,IAAID,QAAQ,IAAI,IAAI,EAAE,OAAO,KAAK;EAKlC,IAAIE,iBAAU,CAACD,UAAU,CAAC,EAAE,OAAO,KAAK;EAExC,MAAME,OAA6B,GAAGC,yBAAkB,CAACH,UAAU,CAAC;EACpE,IAAIE,OAAO,YAAPA,OAAO,CAAEE,QAAQ,CAACL,QAAQ,CAAC,EAAE,OAAO,IAAI;EAE5C,OAAO,KAAK;AACd","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/validators/isValidES3Identifier.js b/node_modules/@babel/types/lib/validators/isValidES3Identifier.js new file mode 100644 index 0000000000000000000000000000000000000000..08c7d0ab1236b534f4aa5429711c3221323cd8b8 --- /dev/null +++ b/node_modules/@babel/types/lib/validators/isValidES3Identifier.js @@ -0,0 +1,13 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isValidES3Identifier; +var _isValidIdentifier = require("./isValidIdentifier.js"); +const RESERVED_WORDS_ES3_ONLY = new Set(["abstract", "boolean", "byte", "char", "double", "enum", "final", "float", "goto", "implements", "int", "interface", "long", "native", "package", "private", "protected", "public", "short", "static", "synchronized", "throws", "transient", "volatile"]); +function isValidES3Identifier(name) { + return (0, _isValidIdentifier.default)(name) && !RESERVED_WORDS_ES3_ONLY.has(name); +} + +//# sourceMappingURL=isValidES3Identifier.js.map diff --git a/node_modules/@babel/types/lib/validators/isValidES3Identifier.js.map b/node_modules/@babel/types/lib/validators/isValidES3Identifier.js.map new file mode 100644 index 0000000000000000000000000000000000000000..b864009a15323f9496672048335aa6529cdf8cde --- /dev/null +++ b/node_modules/@babel/types/lib/validators/isValidES3Identifier.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_isValidIdentifier","require","RESERVED_WORDS_ES3_ONLY","Set","isValidES3Identifier","name","isValidIdentifier","has"],"sources":["../../src/validators/isValidES3Identifier.ts"],"sourcesContent":["import isValidIdentifier from \"./isValidIdentifier.ts\";\n\nconst RESERVED_WORDS_ES3_ONLY = new Set([\n \"abstract\",\n \"boolean\",\n \"byte\",\n \"char\",\n \"double\",\n \"enum\",\n \"final\",\n \"float\",\n \"goto\",\n \"implements\",\n \"int\",\n \"interface\",\n \"long\",\n \"native\",\n \"package\",\n \"private\",\n \"protected\",\n \"public\",\n \"short\",\n \"static\",\n \"synchronized\",\n \"throws\",\n \"transient\",\n \"volatile\",\n]);\n\n/**\n * Check if the input `name` is a valid identifier name according to the ES3 specification.\n *\n * Additional ES3 reserved words are\n */\nexport default function isValidES3Identifier(name: string): boolean {\n return isValidIdentifier(name) && !RESERVED_WORDS_ES3_ONLY.has(name);\n}\n"],"mappings":";;;;;;AAAA,IAAAA,kBAAA,GAAAC,OAAA;AAEA,MAAMC,uBAAuB,GAAG,IAAIC,GAAG,CAAS,CAC9C,UAAU,EACV,SAAS,EACT,MAAM,EACN,MAAM,EACN,QAAQ,EACR,MAAM,EACN,OAAO,EACP,OAAO,EACP,MAAM,EACN,YAAY,EACZ,KAAK,EACL,WAAW,EACX,MAAM,EACN,QAAQ,EACR,SAAS,EACT,SAAS,EACT,WAAW,EACX,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,cAAc,EACd,QAAQ,EACR,WAAW,EACX,UAAU,CACX,CAAC;AAOa,SAASC,oBAAoBA,CAACC,IAAY,EAAW;EAClE,OAAO,IAAAC,0BAAiB,EAACD,IAAI,CAAC,IAAI,CAACH,uBAAuB,CAACK,GAAG,CAACF,IAAI,CAAC;AACtE","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/validators/isValidIdentifier.js b/node_modules/@babel/types/lib/validators/isValidIdentifier.js new file mode 100644 index 0000000000000000000000000000000000000000..b8674b5d680cfdf65a34ccba33b24eadba474989 --- /dev/null +++ b/node_modules/@babel/types/lib/validators/isValidIdentifier.js @@ -0,0 +1,18 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isValidIdentifier; +var _helperValidatorIdentifier = require("@babel/helper-validator-identifier"); +function isValidIdentifier(name, reserved = true) { + if (typeof name !== "string") return false; + if (reserved) { + if ((0, _helperValidatorIdentifier.isKeyword)(name) || (0, _helperValidatorIdentifier.isStrictReservedWord)(name, true)) { + return false; + } + } + return (0, _helperValidatorIdentifier.isIdentifierName)(name); +} + +//# sourceMappingURL=isValidIdentifier.js.map diff --git a/node_modules/@babel/types/lib/validators/isValidIdentifier.js.map b/node_modules/@babel/types/lib/validators/isValidIdentifier.js.map new file mode 100644 index 0000000000000000000000000000000000000000..1b595c4d3b5b648a2f8389f691f1ab346436b6d4 --- /dev/null +++ b/node_modules/@babel/types/lib/validators/isValidIdentifier.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_helperValidatorIdentifier","require","isValidIdentifier","name","reserved","isKeyword","isStrictReservedWord","isIdentifierName"],"sources":["../../src/validators/isValidIdentifier.ts"],"sourcesContent":["import {\n isIdentifierName,\n isStrictReservedWord,\n isKeyword,\n} from \"@babel/helper-validator-identifier\";\n\n/**\n * Check if the input `name` is a valid identifier name\n * and isn't a reserved word.\n */\nexport default function isValidIdentifier(\n name: string,\n reserved: boolean = true,\n): boolean {\n if (typeof name !== \"string\") return false;\n\n if (reserved) {\n // \"await\" is invalid in module, valid in script; better be safe (see #4952)\n if (isKeyword(name) || isStrictReservedWord(name, true)) {\n return false;\n }\n }\n\n return isIdentifierName(name);\n}\n"],"mappings":";;;;;;AAAA,IAAAA,0BAAA,GAAAC,OAAA;AAUe,SAASC,iBAAiBA,CACvCC,IAAY,EACZC,QAAiB,GAAG,IAAI,EACf;EACT,IAAI,OAAOD,IAAI,KAAK,QAAQ,EAAE,OAAO,KAAK;EAE1C,IAAIC,QAAQ,EAAE;IAEZ,IAAI,IAAAC,oCAAS,EAACF,IAAI,CAAC,IAAI,IAAAG,+CAAoB,EAACH,IAAI,EAAE,IAAI,CAAC,EAAE;MACvD,OAAO,KAAK;IACd;EACF;EAEA,OAAO,IAAAI,2CAAgB,EAACJ,IAAI,CAAC;AAC/B","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/validators/isVar.js b/node_modules/@babel/types/lib/validators/isVar.js new file mode 100644 index 0000000000000000000000000000000000000000..3018b41a4d07a5be3d80e43872ababbdf95d3f60 --- /dev/null +++ b/node_modules/@babel/types/lib/validators/isVar.js @@ -0,0 +1,15 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isVar; +var _index = require("./generated/index.js"); +var BLOCK_SCOPED_SYMBOL = Symbol.for("var used to be block scoped"); +function isVar(node) { + return (0, _index.isVariableDeclaration)(node, { + kind: "var" + }) && !node[BLOCK_SCOPED_SYMBOL]; +} + +//# sourceMappingURL=isVar.js.map diff --git a/node_modules/@babel/types/lib/validators/isVar.js.map b/node_modules/@babel/types/lib/validators/isVar.js.map new file mode 100644 index 0000000000000000000000000000000000000000..81b3cd7d3be7e2b17de93833079c5e906f325e9d --- /dev/null +++ b/node_modules/@babel/types/lib/validators/isVar.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_index","require","BLOCK_SCOPED_SYMBOL","Symbol","for","isVar","node","isVariableDeclaration","kind"],"sources":["../../src/validators/isVar.ts"],"sourcesContent":["import { isVariableDeclaration } from \"./generated/index.ts\";\nimport type * as t from \"../index.ts\";\n\nif (!process.env.BABEL_8_BREAKING) {\n // eslint-disable-next-line no-var\n var BLOCK_SCOPED_SYMBOL = Symbol.for(\"var used to be block scoped\");\n}\n\n/**\n * Check if the input `node` is a variable declaration.\n */\nexport default function isVar(node: t.Node | null | undefined): boolean {\n if (process.env.BABEL_8_BREAKING) {\n return isVariableDeclaration(node) && node.kind === \"var\";\n } else {\n return (\n isVariableDeclaration(node, { kind: \"var\" }) &&\n !(\n // @ts-expect-error document private properties\n node[BLOCK_SCOPED_SYMBOL]\n )\n );\n }\n}\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAKE,IAAIC,mBAAmB,GAAGC,MAAM,CAACC,GAAG,CAAC,6BAA6B,CAAC;AAMtD,SAASC,KAAKA,CAACC,IAA+B,EAAW;EAIpE,OACE,IAAAC,4BAAqB,EAACD,IAAI,EAAE;IAAEE,IAAI,EAAE;EAAM,CAAC,CAAC,IAC5C,CAEEF,IAAI,CAACJ,mBAAmB,CACzB;AAGP","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/validators/matchesPattern.js b/node_modules/@babel/types/lib/validators/matchesPattern.js new file mode 100644 index 0000000000000000000000000000000000000000..37f0484c69d9d3e7a6058ea67b48efb19e804a83 --- /dev/null +++ b/node_modules/@babel/types/lib/validators/matchesPattern.js @@ -0,0 +1,44 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = matchesPattern; +var _index = require("./generated/index.js"); +function isMemberExpressionLike(node) { + return (0, _index.isMemberExpression)(node) || (0, _index.isMetaProperty)(node); +} +function matchesPattern(member, match, allowPartial) { + if (!isMemberExpressionLike(member)) return false; + const parts = Array.isArray(match) ? match : match.split("."); + const nodes = []; + let node; + for (node = member; isMemberExpressionLike(node); node = (_object = node.object) != null ? _object : node.meta) { + var _object; + nodes.push(node.property); + } + nodes.push(node); + if (nodes.length < parts.length) return false; + if (!allowPartial && nodes.length > parts.length) return false; + for (let i = 0, j = nodes.length - 1; i < parts.length; i++, j--) { + const node = nodes[j]; + let value; + if ((0, _index.isIdentifier)(node)) { + value = node.name; + } else if ((0, _index.isStringLiteral)(node)) { + value = node.value; + } else if ((0, _index.isThisExpression)(node)) { + value = "this"; + } else if ((0, _index.isSuper)(node)) { + value = "super"; + } else if ((0, _index.isPrivateName)(node)) { + value = "#" + node.id.name; + } else { + return false; + } + if (parts[i] !== value) return false; + } + return true; +} + +//# sourceMappingURL=matchesPattern.js.map diff --git a/node_modules/@babel/types/lib/validators/matchesPattern.js.map b/node_modules/@babel/types/lib/validators/matchesPattern.js.map new file mode 100644 index 0000000000000000000000000000000000000000..7a9b379daf5c72b16d3b43086f80be515437b3d7 --- /dev/null +++ b/node_modules/@babel/types/lib/validators/matchesPattern.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_index","require","isMemberExpressionLike","node","isMemberExpression","isMetaProperty","matchesPattern","member","match","allowPartial","parts","Array","isArray","split","nodes","_object","object","meta","push","property","length","i","j","value","isIdentifier","name","isStringLiteral","isThisExpression","isSuper","isPrivateName","id"],"sources":["../../src/validators/matchesPattern.ts"],"sourcesContent":["import {\n isIdentifier,\n isMetaProperty,\n isMemberExpression,\n isPrivateName,\n isStringLiteral,\n isSuper,\n isThisExpression,\n} from \"./generated/index.ts\";\nimport type * as t from \"../index.ts\";\n\nfunction isMemberExpressionLike(\n node: t.Node,\n): node is t.MemberExpression | t.MetaProperty {\n return isMemberExpression(node) || isMetaProperty(node);\n}\n\n/**\n * Determines whether or not the input node `member` matches the\n * input `match`.\n *\n * For example, given the match `React.createClass` it would match the\n * parsed nodes of `React.createClass` and `React[\"createClass\"]`.\n */\nexport default function matchesPattern(\n member: t.Node | null | undefined,\n match: string | string[],\n allowPartial?: boolean,\n): boolean {\n // not a member expression\n if (!isMemberExpressionLike(member)) return false;\n\n const parts = Array.isArray(match) ? match : match.split(\".\");\n const nodes = [];\n\n let node;\n for (\n node = member;\n isMemberExpressionLike(node);\n node = (node as t.MemberExpression).object ?? (node as t.MetaProperty).meta\n ) {\n nodes.push(node.property);\n }\n nodes.push(node);\n\n if (nodes.length < parts.length) return false;\n if (!allowPartial && nodes.length > parts.length) return false;\n\n for (let i = 0, j = nodes.length - 1; i < parts.length; i++, j--) {\n const node = nodes[j];\n let value;\n if (isIdentifier(node)) {\n value = node.name;\n } else if (isStringLiteral(node)) {\n value = node.value;\n } else if (isThisExpression(node)) {\n value = \"this\";\n } else if (isSuper(node)) {\n value = \"super\";\n } else if (isPrivateName(node)) {\n value = \"#\" + node.id.name;\n } else {\n return false;\n }\n\n if (parts[i] !== value) return false;\n }\n\n return true;\n}\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAWA,SAASC,sBAAsBA,CAC7BC,IAAY,EACiC;EAC7C,OAAO,IAAAC,yBAAkB,EAACD,IAAI,CAAC,IAAI,IAAAE,qBAAc,EAACF,IAAI,CAAC;AACzD;AASe,SAASG,cAAcA,CACpCC,MAAiC,EACjCC,KAAwB,EACxBC,YAAsB,EACb;EAET,IAAI,CAACP,sBAAsB,CAACK,MAAM,CAAC,EAAE,OAAO,KAAK;EAEjD,MAAMG,KAAK,GAAGC,KAAK,CAACC,OAAO,CAACJ,KAAK,CAAC,GAAGA,KAAK,GAAGA,KAAK,CAACK,KAAK,CAAC,GAAG,CAAC;EAC7D,MAAMC,KAAK,GAAG,EAAE;EAEhB,IAAIX,IAAI;EACR,KACEA,IAAI,GAAGI,MAAM,EACbL,sBAAsB,CAACC,IAAI,CAAC,EAC5BA,IAAI,IAAAY,OAAA,GAAIZ,IAAI,CAAwBa,MAAM,YAAAD,OAAA,GAAKZ,IAAI,CAAoBc,IAAI,EAC3E;IAAA,IAAAF,OAAA;IACAD,KAAK,CAACI,IAAI,CAACf,IAAI,CAACgB,QAAQ,CAAC;EAC3B;EACAL,KAAK,CAACI,IAAI,CAACf,IAAI,CAAC;EAEhB,IAAIW,KAAK,CAACM,MAAM,GAAGV,KAAK,CAACU,MAAM,EAAE,OAAO,KAAK;EAC7C,IAAI,CAACX,YAAY,IAAIK,KAAK,CAACM,MAAM,GAAGV,KAAK,CAACU,MAAM,EAAE,OAAO,KAAK;EAE9D,KAAK,IAAIC,CAAC,GAAG,CAAC,EAAEC,CAAC,GAAGR,KAAK,CAACM,MAAM,GAAG,CAAC,EAAEC,CAAC,GAAGX,KAAK,CAACU,MAAM,EAAEC,CAAC,EAAE,EAAEC,CAAC,EAAE,EAAE;IAChE,MAAMnB,IAAI,GAAGW,KAAK,CAACQ,CAAC,CAAC;IACrB,IAAIC,KAAK;IACT,IAAI,IAAAC,mBAAY,EAACrB,IAAI,CAAC,EAAE;MACtBoB,KAAK,GAAGpB,IAAI,CAACsB,IAAI;IACnB,CAAC,MAAM,IAAI,IAAAC,sBAAe,EAACvB,IAAI,CAAC,EAAE;MAChCoB,KAAK,GAAGpB,IAAI,CAACoB,KAAK;IACpB,CAAC,MAAM,IAAI,IAAAI,uBAAgB,EAACxB,IAAI,CAAC,EAAE;MACjCoB,KAAK,GAAG,MAAM;IAChB,CAAC,MAAM,IAAI,IAAAK,cAAO,EAACzB,IAAI,CAAC,EAAE;MACxBoB,KAAK,GAAG,OAAO;IACjB,CAAC,MAAM,IAAI,IAAAM,oBAAa,EAAC1B,IAAI,CAAC,EAAE;MAC9BoB,KAAK,GAAG,GAAG,GAAGpB,IAAI,CAAC2B,EAAE,CAACL,IAAI;IAC5B,CAAC,MAAM;MACL,OAAO,KAAK;IACd;IAEA,IAAIf,KAAK,CAACW,CAAC,CAAC,KAAKE,KAAK,EAAE,OAAO,KAAK;EACtC;EAEA,OAAO,IAAI;AACb","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/validators/react/isCompatTag.js b/node_modules/@babel/types/lib/validators/react/isCompatTag.js new file mode 100644 index 0000000000000000000000000000000000000000..868b8441a10972418b8a94f5cdb688b315320605 --- /dev/null +++ b/node_modules/@babel/types/lib/validators/react/isCompatTag.js @@ -0,0 +1,11 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isCompatTag; +function isCompatTag(tagName) { + return !!tagName && /^[a-z]/.test(tagName); +} + +//# sourceMappingURL=isCompatTag.js.map diff --git a/node_modules/@babel/types/lib/validators/react/isCompatTag.js.map b/node_modules/@babel/types/lib/validators/react/isCompatTag.js.map new file mode 100644 index 0000000000000000000000000000000000000000..570f2863dcb0fd26678d6c05dae54fafbbe52cbc --- /dev/null +++ b/node_modules/@babel/types/lib/validators/react/isCompatTag.js.map @@ -0,0 +1 @@ +{"version":3,"names":["isCompatTag","tagName","test"],"sources":["../../../src/validators/react/isCompatTag.ts"],"sourcesContent":["export default function isCompatTag(tagName?: string): boolean {\n // Must start with a lowercase ASCII letter\n return !!tagName && /^[a-z]/.test(tagName);\n}\n"],"mappings":";;;;;;AAAe,SAASA,WAAWA,CAACC,OAAgB,EAAW;EAE7D,OAAO,CAAC,CAACA,OAAO,IAAI,QAAQ,CAACC,IAAI,CAACD,OAAO,CAAC;AAC5C","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/validators/react/isReactComponent.js b/node_modules/@babel/types/lib/validators/react/isReactComponent.js new file mode 100644 index 0000000000000000000000000000000000000000..34b3467250c1e51a33faf954db5ed835a42d2ac1 --- /dev/null +++ b/node_modules/@babel/types/lib/validators/react/isReactComponent.js @@ -0,0 +1,11 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _buildMatchMemberExpression = require("../buildMatchMemberExpression.js"); +const isReactComponent = (0, _buildMatchMemberExpression.default)("React.Component"); +var _default = exports.default = isReactComponent; + +//# sourceMappingURL=isReactComponent.js.map diff --git a/node_modules/@babel/types/lib/validators/react/isReactComponent.js.map b/node_modules/@babel/types/lib/validators/react/isReactComponent.js.map new file mode 100644 index 0000000000000000000000000000000000000000..16fb3e36d4a1715a3841b0b3bf45ff1af2d1065b --- /dev/null +++ b/node_modules/@babel/types/lib/validators/react/isReactComponent.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_buildMatchMemberExpression","require","isReactComponent","buildMatchMemberExpression","_default","exports","default"],"sources":["../../../src/validators/react/isReactComponent.ts"],"sourcesContent":["import buildMatchMemberExpression from \"../buildMatchMemberExpression.ts\";\n\nconst isReactComponent = buildMatchMemberExpression(\"React.Component\");\n\nexport default isReactComponent;\n"],"mappings":";;;;;;AAAA,IAAAA,2BAAA,GAAAC,OAAA;AAEA,MAAMC,gBAAgB,GAAG,IAAAC,mCAA0B,EAAC,iBAAiB,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAExDJ,gBAAgB","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/lib/validators/validate.js b/node_modules/@babel/types/lib/validators/validate.js new file mode 100644 index 0000000000000000000000000000000000000000..146f5ccb94cb131316f387857fd35e5c0ea5eacd --- /dev/null +++ b/node_modules/@babel/types/lib/validators/validate.js @@ -0,0 +1,42 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = validate; +exports.validateChild = validateChild; +exports.validateField = validateField; +exports.validateInternal = validateInternal; +var _index = require("../definitions/index.js"); +function validate(node, key, val) { + if (!node) return; + const fields = _index.NODE_FIELDS[node.type]; + if (!fields) return; + const field = fields[key]; + validateField(node, key, val, field); + validateChild(node, key, val); +} +function validateInternal(field, node, key, val, maybeNode) { + if (!(field != null && field.validate)) return; + if (field.optional && val == null) return; + field.validate(node, key, val); + if (maybeNode) { + var _NODE_PARENT_VALIDATI; + const type = val.type; + if (type == null) return; + (_NODE_PARENT_VALIDATI = _index.NODE_PARENT_VALIDATIONS[type]) == null || _NODE_PARENT_VALIDATI.call(_index.NODE_PARENT_VALIDATIONS, node, key, val); + } +} +function validateField(node, key, val, field) { + if (!(field != null && field.validate)) return; + if (field.optional && val == null) return; + field.validate(node, key, val); +} +function validateChild(node, key, val) { + var _NODE_PARENT_VALIDATI2; + const type = val == null ? void 0 : val.type; + if (type == null) return; + (_NODE_PARENT_VALIDATI2 = _index.NODE_PARENT_VALIDATIONS[type]) == null || _NODE_PARENT_VALIDATI2.call(_index.NODE_PARENT_VALIDATIONS, node, key, val); +} + +//# sourceMappingURL=validate.js.map diff --git a/node_modules/@babel/types/lib/validators/validate.js.map b/node_modules/@babel/types/lib/validators/validate.js.map new file mode 100644 index 0000000000000000000000000000000000000000..8cb8aa79bb1be12d89ddf508d6fdd3a4f57dc7bd --- /dev/null +++ b/node_modules/@babel/types/lib/validators/validate.js.map @@ -0,0 +1 @@ +{"version":3,"names":["_index","require","validate","node","key","val","fields","NODE_FIELDS","type","field","validateField","validateChild","validateInternal","maybeNode","optional","_NODE_PARENT_VALIDATI","NODE_PARENT_VALIDATIONS","call","_NODE_PARENT_VALIDATI2"],"sources":["../../src/validators/validate.ts"],"sourcesContent":["import {\n NODE_FIELDS,\n NODE_PARENT_VALIDATIONS,\n type FieldOptions,\n} from \"../definitions/index.ts\";\nimport type * as t from \"../index.ts\";\n\nexport default function validate(\n node: t.Node | undefined | null,\n key: string,\n val: unknown,\n): void {\n if (!node) return;\n\n const fields = NODE_FIELDS[node.type];\n if (!fields) return;\n\n const field = fields[key];\n validateField(node, key, val, field);\n validateChild(node, key, val);\n}\n\nexport function validateInternal(\n field: FieldOptions,\n node: t.Node | undefined | null,\n key: string,\n val: unknown,\n maybeNode?: 1,\n): void {\n if (!field?.validate) return;\n if (field.optional && val == null) return;\n\n field.validate(node, key, val);\n\n if (maybeNode) {\n const type = (val as t.Node).type;\n if (type == null) return;\n NODE_PARENT_VALIDATIONS[type]?.(node, key, val);\n }\n}\n\nexport function validateField(\n node: t.Node | undefined | null,\n key: string,\n val: unknown,\n field: FieldOptions | undefined | null,\n): void {\n if (!field?.validate) return;\n if (field.optional && val == null) return;\n\n field.validate(node, key, val);\n}\n\nexport function validateChild(\n node: t.Node | undefined | null,\n key: string | { toString(): string },\n val?: unknown,\n) {\n const type = (val as t.Node)?.type;\n if (type == null) return;\n NODE_PARENT_VALIDATIONS[type]?.(node, key, val);\n}\n"],"mappings":";;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAOe,SAASC,QAAQA,CAC9BC,IAA+B,EAC/BC,GAAW,EACXC,GAAY,EACN;EACN,IAAI,CAACF,IAAI,EAAE;EAEX,MAAMG,MAAM,GAAGC,kBAAW,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,CAAaG,IAAI;EAClC,IAAIA,IAAI,IAAI,IAAI,EAAE;EAClB,CAAAU,sBAAA,GAAAF,8BAAuB,CAACR,IAAI,CAAC,aAA7BU,sBAAA,CAAAD,IAAA,CAAAD,8BAAuB,EAASb,IAAI,EAAEC,GAAG,EAAEC,GAAG,CAAC;AACjD","ignoreList":[]} \ No newline at end of file diff --git a/node_modules/@babel/types/package.json b/node_modules/@babel/types/package.json new file mode 100644 index 0000000000000000000000000000000000000000..db753538d6ca17ccceb048536f3a2a1378afda2c --- /dev/null +++ b/node_modules/@babel/types/package.json @@ -0,0 +1,39 @@ +{ + "name": "@babel/types", + "version": "7.29.0", + "description": "Babel Types is a Lodash-esque utility library for AST nodes", + "author": "The Babel Team (https://babel.dev/team)", + "homepage": "https://babel.dev/docs/en/next/babel-types", + "bugs": "https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20types%22+is%3Aopen", + "license": "MIT", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "https://github.com/babel/babel.git", + "directory": "packages/babel-types" + }, + "main": "./lib/index.js", + "dependencies": { + "@babel/helper-string-parser": "^7.27.1", + "@babel/helper-validator-identifier": "^7.28.5" + }, + "devDependencies": { + "@babel/generator": "^7.29.0", + "@babel/helper-fixtures": "^7.28.6", + "@babel/parser": "^7.29.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "type": "commonjs", + "types": "./lib/index-legacy.d.ts", + "typesVersions": { + ">=4.1": { + "lib/index-legacy.d.ts": [ + "lib/index.d.ts" + ] + } + } +} \ No newline at end of file diff --git a/node_modules/@choojs/findup/.travis.yml b/node_modules/@choojs/findup/.travis.yml new file mode 100644 index 0000000000000000000000000000000000000000..50ecde96c80d01f777a81421291748a162842314 --- /dev/null +++ b/node_modules/@choojs/findup/.travis.yml @@ -0,0 +1,5 @@ +language: node_js +node_js: + - "stable" + - "8" + - "6" diff --git a/node_modules/@choojs/findup/README.md b/node_modules/@choojs/findup/README.md new file mode 100644 index 0000000000000000000000000000000000000000..de264597a949c95ebea8a99f36554c593f239f43 --- /dev/null +++ b/node_modules/@choojs/findup/README.md @@ -0,0 +1,144 @@ +[![build status](https://secure.travis-ci.org/choojs/findup.png)](http://travis-ci.org/choojs/findup) +@choojs/findup +======= + +> This is a fork of [Filirom1/findup](https://github.com/Filirom1/findup), pending [#16](https://github.com/Filirom1/findup/pull/16). + +### Install + +```sh +npm install -g @choojs/findup +``` + +### Usage + +Find up a file in ancestor's dir + + + . + ├── config.json + └── f + └── e + └── d + └── c + ├── b + │ └── a + └── config.json + +### Options + +- `maxdepth`: (Number, default -1) How far to traverse before giving up. If maxdepth is `-1`, then there is no limit. + +#### Async + +findup(dir, fileName, options, callback) +findup(dir, iterator, options, callback) with `iterator(dir, cb)` where cb only accept `true` or `false` + +```js +var findup = require('@choojs/findup'); + + +findup(__dirname + '/f/e/d/c/b/a', 'config.json', function(err, dir){ + // if(e) e === new Error('not found') + // dir === '/f/e/d/c' +}); +``` + +or + +```js +findup(__dirname + '/f/e/d/c/b/a', function(dir, cb){ + require('path').exists(dir + '/config.json', cb); +}, function(err, dir){ + // if(e) e === new Error('not found') + // dir === '/f/e/d/c' +}); +``` + +#### EventEmitter + +findup(dir, fileName, options) + +```js +var findup = require('@choojs/findup'); +var fup = findup(__dirname + '/f/e/d/c/b/a', 'config.json'); +``` + +findup(dir, iterator, options) with `iterator(dir, cb)` where cb only accept `true` or `false` + +```js +var findup = require('@choojs/findup'); +var fup = findup(__dirname + '/f/e/d/c/b/a', function(dir, cb){ + require('path').exists(dir + '/config.json', cb); +}); +``` + +findup return an EventEmitter. 3 events are emitted: `found`, `error`, `end` + +`found` event is emitted each time a file is found. + +You can stop the traversing by calling `stop` manually. + +```js +fup.on('found', function(dir){ + // dir === '/f/e/d/c' + fup.stop(); +}); +``` + +`error` event is emitted when error happens + +```js +fup.on('error', function(e){ + // if(e) e === new Error('not found') +}); +``` + +`end` event is emitted at the end of the traversing or after `stop()` is +called. + +```js +fup.on('end', function(){ + // happy end +}); +``` + +#### Sync + +findup(dir, fileName) +findup(dir, iteratorSync) with `iteratorSync` return `true` or `false` +```js +var findup = require('@choojs/findup'); + +try{ + var dir = findup.sync(__dirname + '/f/e/d/c/b/a', 'config.json'); // dir === '/f/e/d/c' +}catch(e){ + // if(e) e === new Error('not found') +} +``` + +#### CLI +```js +npm install -g @choojs/findup + +$ cd test/fixture/f/e/d/c/b/a/ +$ findup package.json +/root/findup/package.json +``` + +Usage + +``` +$ findup -h + +Usage: findup [FILE] + + --name, -n The name of the file to found + --dir, -d The directoy where we will start walking up $PWD + --help, -h show usage false + --verbose, -v print log false +``` + +### LICENSE MIT + +### Read the tests :) diff --git a/node_modules/@choojs/findup/bin/findup.js b/node_modules/@choojs/findup/bin/findup.js new file mode 100644 index 0000000000000000000000000000000000000000..2722a469b28e2ca64bfcead1ca03876f48883c4d --- /dev/null +++ b/node_modules/@choojs/findup/bin/findup.js @@ -0,0 +1,41 @@ +#!/usr/bin/env node + +var findup = require('..'), + path = require('path'), + pkg = require('../package'), + program = require('commander'), + options = {}, + optionKeys = ['name', 'dir', 'maxdepth', 'verbose'], + EXIT_FAILURE = -1; + + program + .version(pkg.version) + .option('--name ', 'The name of the file to find', String) + .option('--dir ', 'The directoy where we will start walking up', process.cwd(), path) + .option('--maxdepth ', 'Ascend at most levels before giving up. -1 means no limit', -1, Number) + .option('--verbose', 'print log', false, Boolean) + .parse(process.argv); + +optionKeys.forEach(function(optionKey){ + if (optionKey === 'maxdepth') { + options[optionKey] = +program[optionKey]; + } else { + options[optionKey] = program[optionKey]; + } +}); + +if(program.args && program.args.length >=1 && !options.name){ + options.name = program.args[0]; +} + +if(!options.name) { + program.outputHelp(); + process.exit(EXIT_FAILURE); +} + +var file = options.name; + +findup(options.dir, file, options, function(err, dir){ + if(err) return console.error(err.message ? err.message : err); + console.log(path.join(dir, file)); +}); diff --git a/node_modules/@choojs/findup/index.js b/node_modules/@choojs/findup/index.js new file mode 100644 index 0000000000000000000000000000000000000000..2bb353534bc4191a24db968fa322b24ccd08abac --- /dev/null +++ b/node_modules/@choojs/findup/index.js @@ -0,0 +1,120 @@ +var fs = require('fs'), + Path = require('path'), + util = require('util'), + EE = require('events').EventEmitter; + +function fsExists(file, cb) { + if (!fs.access) return fs.exists(file, cb); + fs.access(file, function(err) { + cb(err ? false : true); + }); +} + +function fsExistsSync(file) { + if (!fs.accessSync) return fs.existsSync(file); + try { + fs.accessSync(file); + } catch(err) { + return false; + } + return true; +} + +module.exports = function(dir, iterator, options, callback){ + return FindUp(dir, iterator, options, callback); +}; + +function FindUp(dir, iterator, options, callback){ + if (!(this instanceof FindUp)) { + return new FindUp(dir, iterator, options, callback); + } + if(typeof options === 'function'){ + callback = options; + options = {}; + } + options = options || {}; + + EE.call(this); + this.found = false; + this.stopPlease = false; + var self = this; + + if(typeof iterator === 'string'){ + var file = iterator; + iterator = function(dir, cb){ + return fsExists(Path.join(dir, file), cb); + }; + } + + if(callback) { + this.on('found', function(dir){ + if(options.verbose) console.log(('found '+ dir )); + callback(null, dir); + self.stop(); + }); + + this.on('end', function(){ + if(options.verbose) console.log('end'); + if(!self.found) callback(new Error('not found')); + }); + + this.on('error', function(err){ + if(options.verbose) console.log('error', err); + callback(err); + }); + } + + this._find(dir, iterator, options, callback); +} +util.inherits(FindUp, EE); + +FindUp.prototype._find = function(dir, iterator, options, callback, currentDepth){ + var self = this; + if (typeof currentDepth !== 'number') currentDepth = 0; + + iterator(dir, function(exists){ + if(options.verbose) console.log(('traverse '+ dir)); + if (typeof options.maxdepth === 'number' && options.maxdepth >= 0 && currentDepth > options.maxdepth) { + return self.emit('end'); + } + currentDepth++; + if(exists) { + self.found = true; + self.emit('found', dir); + } + + var parentDir = Path.join(dir, '..'); + if (self.stopPlease) return self.emit('end'); + if (dir === parentDir) return self.emit('end'); + if(dir.indexOf('../../') !== -1 ) return self.emit('error', new Error(dir + ' is not correct.')); + self._find(parentDir, iterator, options, callback, currentDepth); + }); +}; + +FindUp.prototype.stop = function(){ + this.stopPlease = true; +}; + +module.exports.FindUp = FindUp; + +module.exports.sync = function(dir, iteratorSync, options){ + if(typeof iteratorSync === 'string'){ + var file = iteratorSync; + iteratorSync = function(dir){ + return fsExistsSync(Path.join(dir, file)); + }; + } + options = options || {}; + var initialDir = dir; + var currentDepth = 0; + while(dir !== Path.join(dir, '..')){ + if (typeof options.maxdepth === 'number' && options.maxdepth >= 0 && currentDepth > options.maxdepth) { + break; + } + currentDepth++; + if(dir.indexOf('../../') !== -1 ) throw new Error(initialDir + ' is not correct.'); + if(iteratorSync(dir)) return dir; + dir = Path.join(dir, '..'); + } + throw new Error('not found'); +}; diff --git a/node_modules/@choojs/findup/package.json b/node_modules/@choojs/findup/package.json new file mode 100644 index 0000000000000000000000000000000000000000..5c9da77e1f64edacb1cbfeca464d29b06f5b8a8b --- /dev/null +++ b/node_modules/@choojs/findup/package.json @@ -0,0 +1,27 @@ +{ + "name": "@choojs/findup", + "description": "Find a file by walking up the directory tree", + "version": "0.2.1", + "author": "Filirom1 ", + "bin": { + "findup": "bin/findup.js" + }, + "bugs": "https://github.com/choojs/findup/issues", + "dependencies": { + "commander": "^2.15.1" + }, + "devDependencies": { + "chai": "^4.1.2", + "mocha": "^5.0.5" + }, + "homepage": "https://github.com/choojs/findup", + "license": "MIT", + "main": "index.js", + "repository": { + "type": "git", + "url": "https://github.com/choojs/findup.git" + }, + "scripts": { + "test": "mocha ./test/*.js" + } +} diff --git a/node_modules/@choojs/findup/test/findup-test.js b/node_modules/@choojs/findup/test/findup-test.js new file mode 100644 index 0000000000000000000000000000000000000000..913cb5d41f3b143edb3e923a1c1c108f6c5fcab5 --- /dev/null +++ b/node_modules/@choojs/findup/test/findup-test.js @@ -0,0 +1,164 @@ +var assert = require('chai').assert, + Path = require('path'), + fs = require('fs'), + findup = require('..'); + +describe('find-up', function(){ + var fixtureDir = Path.join(__dirname, 'fixture', 'f', 'e', 'd', 'c', 'b', 'a'), + fsExists = fs.exists ? fs.exists : Path.exists; + it('accept a function', function(done){ + findup(fixtureDir, function(dir, cb){ + return fsExists(Path.join(dir, 'config.json'), cb); + }, function(err, file){ + assert.ifError(err); + assert.equal(file, Path.join(__dirname, 'fixture', 'f', 'e', 'd', 'c')); + done(); + }); + }); + + it('accept a string', function(done){ + findup(fixtureDir, 'config.json', function(err, file){ + assert.ifError(err); + assert.equal(file, Path.join(__dirname, 'fixture', 'f', 'e', 'd', 'c')); + done(); + }); + }); + + it('is usable with the Object syntax', function(done) { + new findup.FindUp(fixtureDir, 'config.json', function(err, file){ + assert.ifError(err); + assert.equal(file, Path.join(__dirname, 'fixture', 'f', 'e', 'd', 'c')); + done(); + }); + }); + + it('find several files when using with the EventEmitter syntax', function(done){ + var ee = new findup.FindUp(fixtureDir, 'config.json'); + ee.once('found', function(file){ + assert.equal(file, Path.join(__dirname, 'fixture', 'f', 'e', 'd', 'c')); + + ee.once('found', function(file){ + assert.equal(file, Path.join(__dirname, 'fixture')); + + ee.once('end', function(){ + done(); + }); + }); + }); + }); + + it('return files in top dir', function(done){ + findup(fixtureDir, 'top.json', function(err, file){ + assert.ifError(err); + assert.equal(file, Path.join(__dirname, 'fixture', 'f', 'e', 'd', 'c', 'b', 'a')); + done(); + }); + }); + + it('return files in root dir', function(done){ + findup(fixtureDir, 'dev', function(err, file){ + assert.ifError(err); + assert.equal(file, '/'); + done(); + }); + }); + + it('return an error when looking for non existiong files', function(done){ + findup(fixtureDir, 'toto.json', function(err, file){ + assert.isNotNull(err); + done(); + }); + }); + + it('return an error when looking in a non existing directory', function(done){ + findup('dsqkjfnqsdkjghq', 'toto.json', function(err, file){ + assert.isNotNull(err); + done(); + }); + }); + + it('trigger an error event when looking in a non existing directory', function(done){ + findup('dsqkjfnqsdkjghq', 'toto.json').on('error', function(err, files){ + assert.isNotNull(err); + done(); + }); + }); + + describe('Sync API', function(){ + it('accept a string', function(){ + var file = findup.sync(fixtureDir, 'config.json'); + assert.equal(file, Path.join(__dirname, 'fixture', 'f', 'e', 'd', 'c')); + }); + + it('return a file in top dir', function(){ + var file = findup.sync(fixtureDir, 'top.json'); + assert.equal(file, Path.join(__dirname, 'fixture', 'f', 'e', 'd', 'c', 'b', 'a')); + }); + + it('throw error when looking for a non existing file', function(){ + assert.throw(function(){ + findup.sync(fixtureDir, 'toto.json'); + }); + }); + + it('throw error when looking for in a non existing directory', function(){ + assert.throw(function(){ + findup.sync('uhjhbjkg,nfg', 'toto.json'); + }); + }); + + it('should work with maxdepth (top, maxdepth 0)', function(){ + var file = findup.sync(fixtureDir, 'top.json', {maxdepth: 0}); + assert.equal(file, Path.join(__dirname, 'fixture', 'f', 'e', 'd', 'c', 'b', 'a')); + }); + + it('should work with maxdepth (config, maxdepth 0)', function(){ + try { + findup.sync(fixtureDir, 'config.json', {maxdepth: 0}); + } catch (err) { + assert.equal(err.message, 'not found'); + } + }); + + it('should work with maxdepth (config, maxdepth 2)', function(){ + var file = findup.sync(fixtureDir, 'config.json', {maxdepth: 2}); + assert.equal(file, Path.join(__dirname, 'fixture', 'f', 'e', 'd', 'c')); + }); + + it('should work with maxdepth (config, maxdepth -1)', function(){ + var file = findup.sync(fixtureDir, 'config.json', {maxdepth: -1}); + assert.equal(file, Path.join(__dirname, 'fixture', 'f', 'e', 'd', 'c')); + }); + }); + + it('should work with maxdepth (top, maxdepth 0)', function(done){ + findup(fixtureDir, 'top.json', {maxdepth: 0}, function(err, file){ + assert.ifError(err); + assert.equal(file, Path.join(__dirname, 'fixture', 'f', 'e', 'd', 'c', 'b', 'a')); + done(); + }); + }); + + it('should work with maxdepth (config, maxdepth 0)', function(done){ + findup(fixtureDir, 'config.json', {maxdepth: 0}, function(err, file){ + assert.equal(err.message, 'not found'); + done(); + }); + }); + + it('should work with maxdepth (config, maxdepth 2)', function(done){ + findup(fixtureDir, 'config.json', {maxdepth: 2}, function(err, file){ + assert.ifError(err); + assert.equal(file, Path.join(__dirname, 'fixture', 'f', 'e', 'd', 'c')); + done(); + }); + }); + + it('should work with maxdepth (config, maxdepth -1)', function(done){ + findup(fixtureDir, 'config.json', {maxdepth: -1}, function(err, file){ + assert.ifError(err); + assert.equal(file, Path.join(__dirname, 'fixture', 'f', 'e', 'd', 'c')); + done(); + }); + }); +}); diff --git a/node_modules/@choojs/findup/test/fixture/config.json b/node_modules/@choojs/findup/test/fixture/config.json new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/node_modules/@choojs/findup/test/fixture/f/e/d/c/b/a/top.json b/node_modules/@choojs/findup/test/fixture/f/e/d/c/b/a/top.json new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/node_modules/@choojs/findup/test/fixture/f/e/d/c/config.json b/node_modules/@choojs/findup/test/fixture/f/e/d/c/config.json new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/node_modules/@choojs/findup/test/mocha.opts b/node_modules/@choojs/findup/test/mocha.opts new file mode 100644 index 0000000000000000000000000000000000000000..5ada47be16bf47572c836352d08420cfdac954d3 --- /dev/null +++ b/node_modules/@choojs/findup/test/mocha.opts @@ -0,0 +1 @@ +--reporter spec diff --git a/node_modules/@esbuild/linux-x64/README.md b/node_modules/@esbuild/linux-x64/README.md new file mode 100644 index 0000000000000000000000000000000000000000..b2f19300430eb75c1a1fc7d5700ad0b6e7e69333 --- /dev/null +++ b/node_modules/@esbuild/linux-x64/README.md @@ -0,0 +1,3 @@ +# esbuild + +This is the Linux 64-bit binary for esbuild, a JavaScript bundler and minifier. See https://github.com/evanw/esbuild for details. diff --git a/node_modules/@esbuild/linux-x64/bin/esbuild b/node_modules/@esbuild/linux-x64/bin/esbuild new file mode 100644 index 0000000000000000000000000000000000000000..60adfebc065e9ae8d975283ed8d01d9ad32e8f6a --- /dev/null +++ b/node_modules/@esbuild/linux-x64/bin/esbuild @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bab29b2ca7a9e89b67cf720b77b2d743f9f31f5cf0d5bd74ee8c8de30ced7014 +size 10358936 diff --git a/node_modules/@esbuild/linux-x64/package.json b/node_modules/@esbuild/linux-x64/package.json new file mode 100644 index 0000000000000000000000000000000000000000..cf36fa75dac6f8d0f33918e9224ec2f84ed7d99e --- /dev/null +++ b/node_modules/@esbuild/linux-x64/package.json @@ -0,0 +1,20 @@ +{ + "name": "@esbuild/linux-x64", + "version": "0.25.12", + "description": "The Linux 64-bit binary for esbuild, a JavaScript bundler.", + "repository": { + "type": "git", + "url": "git+https://github.com/evanw/esbuild.git" + }, + "license": "MIT", + "preferUnplugged": true, + "engines": { + "node": ">=18" + }, + "os": [ + "linux" + ], + "cpu": [ + "x64" + ] +} diff --git a/node_modules/@gradio/client/CHANGELOG.md b/node_modules/@gradio/client/CHANGELOG.md new file mode 100644 index 0000000000000000000000000000000000000000..4393a9d7c4d54cba39af7176d17b5e857fe3c09b --- /dev/null +++ b/node_modules/@gradio/client/CHANGELOG.md @@ -0,0 +1,1006 @@ +# @gradio/client + +## 2.0.4 + +### Fixes + +- [#12828](https://github.com/gradio-app/gradio/pull/12828) [`151cbd1`](https://github.com/gradio-app/gradio/commit/151cbd1aac0da3aeb5f0b7b33585223d2bc47138) - Fix private spaces. Thanks @freddyaboulton! +- [#12835](https://github.com/gradio-app/gradio/pull/12835) [`5ecf6d2`](https://github.com/gradio-app/gradio/commit/5ecf6d27c50a20e2329c1aca0634924479ceb6cd) - Fix CSS root in spaces. Thanks @freddyaboulton! +- [#12817](https://github.com/gradio-app/gradio/pull/12817) [`05acc66`](https://github.com/gradio-app/gradio/commit/05acc6627de866db6a742e0540c2733041d76a86) - Fix Login. Thanks @freddyaboulton! + +## 2.0.3 + +### Fixes + +- [#12773](https://github.com/gradio-app/gradio/pull/12773) [`6edcea5`](https://github.com/gradio-app/gradio/commit/6edcea5d74be661d37c70ccca08900be2ceb8e1e) - Fix dev mode. Thanks @pngwn! +- [#12472](https://github.com/gradio-app/gradio/pull/12472) [`9a2bc0d`](https://github.com/gradio-app/gradio/commit/9a2bc0dacdd2b3f670fae815093c61ad08eee7e3) - Re-enable SSR mode. Thanks @pngwn! + +## 2.0.2 + +### Fixes + +- [#12608](https://github.com/gradio-app/gradio/pull/12608) [`ab20c59`](https://github.com/gradio-app/gradio/commit/ab20c592e1fab33e96ab2698bbbb942d0972501b) - feat(client): add generic type parameter to predict() method. Thanks @majiayu000! + +## 2.0.1 + +### Fixes + +- [#12600](https://github.com/gradio-app/gradio/pull/12600) [`1fafaba`](https://github.com/gradio-app/gradio/commit/1fafabaace315b1c699855cadb69eb17488de957) - Add x-gradio-user-header. Thanks @freddyaboulton! + +## 2.0.0 + +### Features + +- [#11908](https://github.com/gradio-app/gradio/pull/11908) [`029034f`](https://github.com/gradio-app/gradio/commit/029034f7853ea018d110efe9b7e2ef7d1407091c) - [No Merge] Gradio 6.0 +- [#11908](https://github.com/gradio-app/gradio/pull/11908) [`029034f`](https://github.com/gradio-app/gradio/commit/029034f7853ea018d110efe9b7e2ef7d1407091c) - Pass component props as input +- [#11908](https://github.com/gradio-app/gradio/pull/11908) [`029034f`](https://github.com/gradio-app/gradio/commit/029034f7853ea018d110efe9b7e2ef7d1407091c) - Rename show_api +- [#11908](https://github.com/gradio-app/gradio/pull/11908) [`029034f`](https://github.com/gradio-app/gradio/commit/029034f7853ea018d110efe9b7e2ef7d1407091c) - Fix error toast type definition for exception handling +- [#11908](https://github.com/gradio-app/gradio/pull/11908) [`029034f`](https://github.com/gradio-app/gradio/commit/029034f7853ea018d110efe9b7e2ef7d1407091c) - Fix queue false render issue +- [#11908](https://github.com/gradio-app/gradio/pull/11908) [`029034f`](https://github.com/gradio-app/gradio/commit/029034f7853ea018d110efe9b7e2ef7d1407091c) - Fix some e2e tests +- [#12438](https://github.com/gradio-app/gradio/pull/12438) [`25ffc03`](https://github.com/gradio-app/gradio/commit/25ffc0398f8feb43d817c02b2ab970c16de6d797) - Svelte5 migration and bugfix + +## 2.0.0-dev.2 + +### Features + +- [#12363](https://github.com/gradio-app/gradio/pull/12363) [`4845bfd`](https://github.com/gradio-app/gradio/commit/4845bfdab53096a609d80485e87d5cc70f3f0521) - Fix queue false render issue. Thanks @freddyaboulton! +- [#12378](https://github.com/gradio-app/gradio/pull/12378) [`f5e5344`](https://github.com/gradio-app/gradio/commit/f5e5344db61eba28253719928577dc2c495958e1) - Fix some e2e tests. Thanks @freddyaboulton! + +## 2.0.0-dev.1 + +### Features + +- [#12069](https://github.com/gradio-app/gradio/pull/12069) [`9de88ca`](https://github.com/gradio-app/gradio/commit/9de88ca470ce529366d259f0deaa955f658000b9) - Rename show_api. Thanks @freddyaboulton! + +## 2.0.0-dev.0 + +### Features + +- [#11908](https://github.com/gradio-app/gradio/pull/11908) [`53d9098`](https://github.com/gradio-app/gradio/commit/53d9098cca378f6ebff9dec15d2faa8a3d2fb510) - [No Merge] Gradio 6.0. Thanks @freddyaboulton! + +## 1.19.1 + +### Fixes + +- [#11955](https://github.com/gradio-app/gradio/pull/11955) [`64046cc`](https://github.com/gradio-app/gradio/commit/64046ccd76a41f06ef9eed0e3aa1ec66348f55bd) - Fix Multi-page demo in Dev Mode. Thanks @ftoh! + +## 1.19.0 + +### Features + +- [#11858](https://github.com/gradio-app/gradio/pull/11858) [`3f8ea13`](https://github.com/gradio-app/gradio/commit/3f8ea13a8ca92abf0ad34392e403a449fda3c6c2) - remove lite. Thanks @pngwn! +- [#11902](https://github.com/gradio-app/gradio/pull/11902) [`6d39644`](https://github.com/gradio-app/gradio/commit/6d39644ee1000b04728eb4909cee405e7ee3b5b2) - Add navbar visibility controls and customization options. Thanks @abidlabs! + +### Fixes + +- [#11784](https://github.com/gradio-app/gradio/pull/11784) [`d9dd3f5`](https://github.com/gradio-app/gradio/commit/d9dd3f54b7fb34cf7118e549d39fc63937ca3489) - Add "hidden" option to component's `visible` kwarg to render but visually hide the component. Thanks @pngwn! + +## 1.18.0 + +### Features + +- [#11814](https://github.com/gradio-app/gradio/pull/11814) [`013784a`](https://github.com/gradio-app/gradio/commit/013784a7086047651e8e661a38bde7d5c7f10db7) - add validation support. Thanks @pngwn! + +## 1.17.1 + +### Fixes + +- [#11709](https://github.com/gradio-app/gradio/pull/11709) [`48f1dcf`](https://github.com/gradio-app/gradio/commit/48f1dcf58cd6437daa03a8cf1c9942aae2cec421) - Fix output paths for the @gradio/client browser build. Thanks @pngwn! + +## 1.17.0 + +### Features + +- [#11691](https://github.com/gradio-app/gradio/pull/11691) [`2605a99`](https://github.com/gradio-app/gradio/commit/2605a99bf29bebbbb0a97cc8e0015b5bf8d8e79b) - Add .failure() event listener for error handling. Thanks @elanehan! + +## 1.16.0 + +### Features + +- [#11662](https://github.com/gradio-app/gradio/pull/11662) [`a78f5fa`](https://github.com/gradio-app/gradio/commit/a78f5fa466a4b11ffaaafc5099a64df49afb6e41) - Gradio vibe editor. Thanks @aliabid94! + +## 1.15.7 + +### Fixes + +- [#11604](https://github.com/gradio-app/gradio/pull/11604) [`83e14bc`](https://github.com/gradio-app/gradio/commit/83e14bcfa653e2ec477f0d09b497adf605734e46) - Fix event cancelling bug. Thanks @freddyaboulton! + +## 1.15.6 + +### Features + +- [#11543](https://github.com/gradio-app/gradio/pull/11543) [`ac95ac0`](https://github.com/gradio-app/gradio/commit/ac95ac0d8c2e65d1632376e632fb7d16131334b6) - Connection handling messaging. Thanks @aliabid94! + +## 1.15.5 + +### Fixes + +- [#11430](https://github.com/gradio-app/gradio/pull/11430) [`4d4cd4b`](https://github.com/gradio-app/gradio/commit/4d4cd4b08d6daafc66e0189a2b274916da00d480) - fix exports + add browser build. Thanks @pngwn! +- [#11435](https://github.com/gradio-app/gradio/pull/11435) [`50d43a8`](https://github.com/gradio-app/gradio/commit/50d43a8e8bc2a4862668a5d46a5e6482b4f75fe3) - SSR Auth Fix. Thanks @dawoodkhan82! + +## 1.15.4 + +### Fixes + +- [#11432](https://github.com/gradio-app/gradio/pull/11432) [`dd1eee5`](https://github.com/gradio-app/gradio/commit/dd1eee5f9cd3d70773912fd6444d093bdcea321a) - Fix bug where cancelling an event would close the event stream. Thanks @freddyaboulton! +- [#11421](https://github.com/gradio-app/gradio/pull/11421) [`c2acf6e`](https://github.com/gradio-app/gradio/commit/c2acf6e33025fe7bbfe0660c182006651cc95090) - Preserve value in reload mode. Thanks @aliabid94! + +## 1.15.3 + +### Fixes + +- [#11387](https://github.com/gradio-app/gradio/pull/11387) [`8245afc`](https://github.com/gradio-app/gradio/commit/8245afc669501e1e5f0d619f452455f68a3b7667) - Define root URL in frontend. Thanks @aliabid94! + +## 1.15.2 + +### Fixes + +- [#11325](https://github.com/gradio-app/gradio/pull/11325) [`2b571e1`](https://github.com/gradio-app/gradio/commit/2b571e13afdc8031ce9c1291abf0fc7062340064) - Fix image streaming - wait for ws to open. Thanks @freddyaboulton! + +## 1.15.1 + +### Fixes + +- [#11243](https://github.com/gradio-app/gradio/pull/11243) [`35afa21`](https://github.com/gradio-app/gradio/commit/35afa21f0d6647e4fbda711f3f22a2fd54eedaf9) - Only show parameters warning when valid `endpoint_info` exists. Thanks @hannahblair! + +## 1.15.0 + +### Features + +- [#11155](https://github.com/gradio-app/gradio/pull/11155) [`30a1d9e`](https://github.com/gradio-app/gradio/commit/30a1d9e2ac3013d9c844b236410010bce97ffaf5) - Improvements to MCP page. Thanks @abidlabs! +- [#11047](https://github.com/gradio-app/gradio/pull/11047) [`6d4b8a7`](https://github.com/gradio-app/gradio/commit/6d4b8a7f10daefc9c79aa224635da23fbaeebb76) - Implement custom i18n. Thanks @hannahblair! + +## 1.14.2 + +### Fixes + +- [#11017](https://github.com/gradio-app/gradio/pull/11017) [`734b309`](https://github.com/gradio-app/gradio/commit/734b3099d79647695e635d87726666d4b28d1bcf) - Include HF token in stream requests. Thanks @nostalgebraist! + +## 1.14.1 + +### Features + +- [#10890](https://github.com/gradio-app/gradio/pull/10890) [`01b88c7`](https://github.com/gradio-app/gradio/commit/01b88c7fdedb413ba92ef6191967a8aed25e185f) - Improve API error handling in JS Client. Thanks @l2dy! + +## 1.14.0 + +### Features + +- [#10834](https://github.com/gradio-app/gradio/pull/10834) [`c05610c`](https://github.com/gradio-app/gradio/commit/c05610c87dd7f9e9fe5d0aed2fe93e40fdd32648) - Add Deep Links. Thanks @freddyaboulton! + +## 1.13.1 + +### Features + +- [#10694](https://github.com/gradio-app/gradio/pull/10694) [`16244f3`](https://github.com/gradio-app/gradio/commit/16244f3c1cb1a65ac1f719142f8fab67512fbb25) - Event Listeners in gradio sketch. Thanks @aliabid94! + +### Fixes + +- [#10719](https://github.com/gradio-app/gradio/pull/10719) [`b710d7c`](https://github.com/gradio-app/gradio/commit/b710d7cf13c1277fd18c7809cad0f707b880ef70) - Fix error display. Thanks @aliabid94! + +## 1.13.0 + +### Features + +- [#10500](https://github.com/gradio-app/gradio/pull/10500) [`16d419b`](https://github.com/gradio-app/gradio/commit/16d419b9f1f18ae4507d18a4739eb83ac4f3fae9) - Allow functions that solely update component properties to run in the frontend by setting `js=True`. Thanks @abidlabs! + +## 1.12.0 + +### Features + +- [#10492](https://github.com/gradio-app/gradio/pull/10492) [`29880d5`](https://github.com/gradio-app/gradio/commit/29880d51fbe7fbd222b0765a83c95134dc7d0e90) - Allow showing progress updates on arbitrary components. Thanks @abidlabs! + +### Fixes + +- [#10547](https://github.com/gradio-app/gradio/pull/10547) [`083d68b`](https://github.com/gradio-app/gradio/commit/083d68b223be82a65f18c553df9ae690a8118a49) - quick_fix_client. Thanks @aliabid94! + +## 1.11.0 + +### Features + +- [#10433](https://github.com/gradio-app/gradio/pull/10433) [`2e8dc74`](https://github.com/gradio-app/gradio/commit/2e8dc74f751be02f7217f78d241806b42fcdca04) - Allow building multipage Gradio apps. Thanks @aliabid94! + +## 1.10.0 + +### Features + +- [#10270](https://github.com/gradio-app/gradio/pull/10270) [`bb11a2a`](https://github.com/gradio-app/gradio/commit/bb11a2a702ca04fde245e7d54d155cbcbde7791e) - [ZeroGPU] Handshake-based postMessage. Thanks @cbensimon! + +### Fixes + +- [#10332](https://github.com/gradio-app/gradio/pull/10332) [`e742dcc`](https://github.com/gradio-app/gradio/commit/e742dcccb376692c9ddd5a6c251080e7c5936574) - Allow users to add a custom API route. Thanks @aliabid94! + +## 1.9.0 + +### Features + +- [#10262](https://github.com/gradio-app/gradio/pull/10262) [`f3bedd4`](https://github.com/gradio-app/gradio/commit/f3bedd4011bdfdecc952eb1275a9dd96af3e8d71) - add gr.Success and update windows contributing. Thanks @not-lain! +- [#10254](https://github.com/gradio-app/gradio/pull/10254) [`da07707`](https://github.com/gradio-app/gradio/commit/da0770748db9ea40194a43c9138ee2c6536b1247) - Add a `settings` link to the footer with i18n options & pwa instructions. Thanks @abidlabs! + +## 1.8.0 + +### Features + +- [#9930](https://github.com/gradio-app/gradio/pull/9930) [`eae345e`](https://github.com/gradio-app/gradio/commit/eae345e5fde39aea220b57c6a954cd7d72ff32d5) - Allow settings custom headers in js client. Thanks @elgiano! +- [#9950](https://github.com/gradio-app/gradio/pull/9950) [`fc06fe4`](https://github.com/gradio-app/gradio/commit/fc06fe41f015678a0545f4e5c99f6ae2704f0031) - Add ability to read and write from LocalStorage. Thanks @abidlabs! + +## 1.7.1 + +### Fixes + +- [#9814](https://github.com/gradio-app/gradio/pull/9814) [`6505d42`](https://github.com/gradio-app/gradio/commit/6505d4289a3e3d27d9133b1c8af41697fdc1476d) - support gradio apps on spaces served on subpaths. Thanks @pngwn! + +## 1.7.0 + +### Features + +- [#9681](https://github.com/gradio-app/gradio/pull/9681) [`2ed2361`](https://github.com/gradio-app/gradio/commit/2ed236187a9aab18e17fc4a8079eddef7dd195a5) - Allow setting title in gr.Info/Warning/Error. Thanks @ABucket! + +## 1.6.0 + +### Features + +- [#8843](https://github.com/gradio-app/gradio/pull/8843) [`6f95286`](https://github.com/gradio-app/gradio/commit/6f95286337459efbccb95c9cfac63355669df9ee) - Disable liking user message in chatbot by default but make it configurable +- [#8843](https://github.com/gradio-app/gradio/pull/8843) [`6f95286`](https://github.com/gradio-app/gradio/commit/6f95286337459efbccb95c9cfac63355669df9ee) - Open audio/image input stream only when queue is ready +- [#8843](https://github.com/gradio-app/gradio/pull/8843) [`6f95286`](https://github.com/gradio-app/gradio/commit/6f95286337459efbccb95c9cfac63355669df9ee) - Send Streaming data over Websocket if possible. Also support base64 output format for images. +- [#8843](https://github.com/gradio-app/gradio/pull/8843) [`6f95286`](https://github.com/gradio-app/gradio/commit/6f95286337459efbccb95c9cfac63355669df9ee) - Streaming inputs for 5.0 +- [#8843](https://github.com/gradio-app/gradio/pull/8843) [`6f95286`](https://github.com/gradio-app/gradio/commit/6f95286337459efbccb95c9cfac63355669df9ee) - fix SSR apps on spaces +- [#8843](https://github.com/gradio-app/gradio/pull/8843) [`6f95286`](https://github.com/gradio-app/gradio/commit/6f95286337459efbccb95c9cfac63355669df9ee) - Ssr part 2 +- [#8843](https://github.com/gradio-app/gradio/pull/8843) [`6f95286`](https://github.com/gradio-app/gradio/commit/6f95286337459efbccb95c9cfac63355669df9ee) - prefix api routes + +### Fixes + + +- [#8843](https://github.com/gradio-app/gradio/pull/8843) [`6f95286`](https://github.com/gradio-app/gradio/commit/6f95286337459efbccb95c9cfac63355669df9ee) - Trigger state change event on iterators + +## 1.6.0-beta.4 + +### Features + +- [#9483](https://github.com/gradio-app/gradio/pull/9483) [`8dc7c12`](https://github.com/gradio-app/gradio/commit/8dc7c12389311b60efcde1b9d3e3668a34d2dc00) - Send Streaming data over Websocket if possible. Also support base64 output format for images. Thanks @freddyaboulton! + +## 1.6.0-beta.3 + +### Features + +- [#9412](https://github.com/gradio-app/gradio/pull/9412) [`c2c2fd9`](https://github.com/gradio-app/gradio/commit/c2c2fd989348f826566773c07c0e0bda200199ff) - fix SSR apps on spaces. Thanks @pngwn! + +## 1.6.0-beta.2 + +### Features + +- [#9323](https://github.com/gradio-app/gradio/pull/9323) [`06babda`](https://github.com/gradio-app/gradio/commit/06babda0395fd3fbd323c1c3cb33704ecfd6deb0) - Disable liking user message in chatbot by default but make it configurable. Thanks @freddyaboulton! +- [#9339](https://github.com/gradio-app/gradio/pull/9339) [`4c8c6f2`](https://github.com/gradio-app/gradio/commit/4c8c6f2fe603081941c5fdc43f48a0632b9f31ad) - Ssr part 2. Thanks @pngwn! + +### Fixes + +- [#9299](https://github.com/gradio-app/gradio/pull/9299) [`aa35b07`](https://github.com/gradio-app/gradio/commit/aa35b0788e613fdd45446d267513e6f94fa208ea) - Trigger state change event on iterators. Thanks @freddyaboulton! + +## 1.6.0-beta.1 + +### Features + +- [#9200](https://github.com/gradio-app/gradio/pull/9200) [`2e179d3`](https://github.com/gradio-app/gradio/commit/2e179d35be6ed60a5a6bfc7303178d63e41781ad) - prefix api routes. Thanks @pngwn! + +## 1.6.0-beta.0 + +### Features + +- [#9149](https://github.com/gradio-app/gradio/pull/9149) [`3d7a9b8`](https://github.com/gradio-app/gradio/commit/3d7a9b81f6fef06187eca832471dc1692eb493a0) - Open audio/image input stream only when queue is ready. Thanks @freddyaboulton! +- [#8941](https://github.com/gradio-app/gradio/pull/8941) [`97a7bf6`](https://github.com/gradio-app/gradio/commit/97a7bf66a79179d1b91a3199d68e5c11216ca500) - Streaming inputs for 5.0. Thanks @freddyaboulton! + +## 1.5.2 + +### Fixes + +- [#9163](https://github.com/gradio-app/gradio/pull/9163) [`2b6cbf2`](https://github.com/gradio-app/gradio/commit/2b6cbf25908e42cf027324e54ef2cc0baad11a91) - fix exports and generate types. Thanks @pngwn! + +## 1.5.1 + +### Features + +- [#9118](https://github.com/gradio-app/gradio/pull/9118) [`e1c404d`](https://github.com/gradio-app/gradio/commit/e1c404da1143fb52b659d03e028bdba1badf443d) - setup npm-previews of all packages. Thanks @pngwn! + +## 1.5.0 + +### Features + +- [#8965](https://github.com/gradio-app/gradio/pull/8965) [`d30432e`](https://github.com/gradio-app/gradio/commit/d30432e9c6d4cc1e5cfd989a1a3ae4aba7e21290) - harden CI. Thanks @pngwn! + +### Fixes + +- [#8847](https://github.com/gradio-app/gradio/pull/8847) [`4d8a473`](https://github.com/gradio-app/gradio/commit/4d8a473632e388a312aee5c705b3c1f79853441b) - fix: wrong named param check for js client. Thanks @freddyaboulton! + +## 1.4.0 + +### Features + +- [#8816](https://github.com/gradio-app/gradio/pull/8816) [`9ee6839`](https://github.com/gradio-app/gradio/commit/9ee6839f94d23d685a800ed3a275206e0b0e48f6) - Change optionality of the `data` param in `submit` + `predict`. Thanks @hannahblair! + +### Fixes + +- [#8820](https://github.com/gradio-app/gradio/pull/8820) [`5050b36`](https://github.com/gradio-app/gradio/commit/5050b36221e75a18d8a5d4f74a725e70768a4c4a) - fix: wrong named param check for js client. Thanks @JacobLinCool! + +## 1.3.0 + +### Fixes + +- [#8699](https://github.com/gradio-app/gradio/pull/8699) [`012da05`](https://github.com/gradio-app/gradio/commit/012da05287846d94beb0ecdc28d7fbc48c4248ff) - Ensure JS client `status_callback` functionality works and improve status messages. Thanks @hannahblair! +- [#8505](https://github.com/gradio-app/gradio/pull/8505) [`2943d6d`](https://github.com/gradio-app/gradio/commit/2943d6d68847314885dc6c5c0247083116017ca0) - Add Timer component. Thanks @aliabid94! +- [#8715](https://github.com/gradio-app/gradio/pull/8715) [`a6b3c6c`](https://github.com/gradio-app/gradio/commit/a6b3c6ce4e1d06253860c72740024a9138e3a93a) - Ensure `@gradio/client`'s `submit` iterator releases as expected. Thanks @pngwn! +- [#8716](https://github.com/gradio-app/gradio/pull/8716) [`e834d30`](https://github.com/gradio-app/gradio/commit/e834d302e44f7a54565129bf2c11acf4e882a59b) - ensure `@gradio/client` always returns the correct data. Thanks @pngwn! +- [#8714](https://github.com/gradio-app/gradio/pull/8714) [`1b5b5b0`](https://github.com/gradio-app/gradio/commit/1b5b5b0b43e69ee84f3baad2aae59ffc9c4d995a) - Bind `fetch` and `stream` in JS client. Thanks @hannahblair! +- [#8720](https://github.com/gradio-app/gradio/pull/8720) [`936c713`](https://github.com/gradio-app/gradio/commit/936c7137a99ef59efdf75bae5dd27eea2ac1f577) - Documents auth in the guides, in the view API page, and also types the Blocks.config object. Thanks @abidlabs! + +## 1.2.1 + +### Features + +- [#8649](https://github.com/gradio-app/gradio/pull/8649) [`4b6c8b1`](https://github.com/gradio-app/gradio/commit/4b6c8b1c004cee67345a7f103ba2dc8e90b82e6c) - ensure `File` objects are handled in JS client `handle_file`. Thanks @hannahblair! + +## 1.2.0 + +### Features + +- [#8489](https://github.com/gradio-app/gradio/pull/8489) [`c2a0d05`](https://github.com/gradio-app/gradio/commit/c2a0d056d679d90631d9ccd944dadd67e7e03b7f) - Control Display of Error, Info, Warning. Thanks @freddyaboulton! +- [#8571](https://github.com/gradio-app/gradio/pull/8571) [`a77877f`](https://github.com/gradio-app/gradio/commit/a77877f62df7c610fcfac7b3b00e186a087c8ec6) - First time loading performance optimization. Thanks @baojianting! +- [#8600](https://github.com/gradio-app/gradio/pull/8600) [`7289c4b`](https://github.com/gradio-app/gradio/commit/7289c4b036d8a78c48f8c9e66ba998e6730e80d2) - Add credentials: include and Cookie header to prevent 401 error. Thanks @yinkiu602! +- [#8522](https://github.com/gradio-app/gradio/pull/8522) [`bdaa678`](https://github.com/gradio-app/gradio/commit/bdaa678d0c0a22250b41104f32e9121f98dc7437) - add handle_file docs. Thanks @pngwn! + +### Fixes + +- [#8521](https://github.com/gradio-app/gradio/pull/8521) [`900cf25`](https://github.com/gradio-app/gradio/commit/900cf25256a5b0563860097d69aac28b6afbfd8b) - Ensure frontend functions work when they don't return a value. Thanks @pngwn! +- [#8548](https://github.com/gradio-app/gradio/pull/8548) [`7fc0f51`](https://github.com/gradio-app/gradio/commit/7fc0f5149bb8d31f3d01b4151b478070499751ee) - Fix reload mode by implementing `close` on the client. Thanks @freddyaboulton! + +## 1.1.1 + +### Features + +- [#8499](https://github.com/gradio-app/gradio/pull/8499) [`c5f6e77`](https://github.com/gradio-app/gradio/commit/c5f6e7722a197d4706419ade14276ddecf3196f8) - Cache break themes on change. Thanks @aliabid94! + +## 1.1.0 + +### Features + +- [#8483](https://github.com/gradio-app/gradio/pull/8483) [`e2271e2`](https://github.com/gradio-app/gradio/commit/e2271e207d98074bf39b02ae3c5443b2f097627d) - documentation for @gradio/client. Thanks @pngwn! +- [#8485](https://github.com/gradio-app/gradio/pull/8485) [`f8ebace`](https://github.com/gradio-app/gradio/commit/f8ebaceccef60a112603d290d10072ef4e938a6a) - Ensure all status are reported internally when calling `predict`. Thanks @pngwn! + +## 1.0.0 + +### Highlights + +#### Clients 1.0 Launch! ([#8468](https://github.com/gradio-app/gradio/pull/8468) [`7cc0a0c`](https://github.com/gradio-app/gradio/commit/7cc0a0c1abea585c3f50ffb1ff78d2b08ddbdd92)) + +We're excited to unveil the first major release of the Gradio clients. +We've made it even easier to turn any Gradio application into a production endpoint thanks to the clients' **ergonomic**, **transparent**, and **portable** design. + +#### Ergonomic API 💆 + +**Stream From a Gradio app in 5 lines** + +Use the `submit` method to get a job you can iterate over: + +```python +from gradio_client import Client + +client = Client("gradio/llm_stream") + +for result in client.submit("What's the best UI framework in Python?"): + print(result) +``` + +```ts +import { Client } from "@gradio/client"; + +const client = await Client.connect("gradio/llm_stream") +const job = client.submit("/predict", {"text": "What's the best UI framework in Python?"}) + +for await (const msg of job) console.log(msg.data) +``` + +**Use the same keyword arguments as the app** + + +```python +from gradio_client import Client + +client = Client("http://127.0.0.1:7860/") +result = client.predict( + message="Hello!!", + system_prompt="You are helpful AI.", + tokens=10, + api_name="/chat" +) +print(result) +``` + +```ts +import { Client } from "@gradio/client"; + +const client = await Client.connect("http://127.0.0.1:7860/"); +const result = await client.predict("/chat", { + message: "Hello!!", + system_prompt: "Hello!!", + tokens: 10, +}); + +console.log(result.data); +``` + +**Better Error Messages** + +If something goes wrong in the upstream app, the client will raise the same exception as the app provided that `show_error=True` in the original app's `launch()` function, or it's a `gr.Error` exception. + +#### Transparent Design 🪟 + +Anything you can do in the UI, you can do with the client: +* 🔒 Authentication +* 🛑 Job Cancelling +* ℹ️ Access Queue Position and API +* 📕 View the API information + +Here's an example showing how to display the queue position of a pending job: + +```python +from gradio_client import Client + +client = Client("gradio/diffusion_model") + +job = client.submit("A cute cat") +while not job.done(): + status = job.status() + print(f"Current in position {status.rank} out of {status.queue_size}") +``` + +#### Portable Design ⛺️ + +The client can run from pretty much any python and javascript environment (node, deno, the browser, Service Workers). + +Here's an example using the client from a Flask server using gevent: + +```python +from gevent import monkey +monkey.patch_all() + +from gradio_client import Client +from flask import Flask, send_file +import time + +app = Flask(__name__) + +imageclient = Client("gradio/diffusion_model") + +@app.route("/gen") +def gen(): + result = imageclient.predict( + "A cute cat", + api_name="/predict" + ) + return send_file(result) + +if __name__ == "__main__": + app.run(host="0.0.0.0", port=5000) +``` + +#### 1.0 Migration Guide and Breaking Changes + +**Python** +- The `serialize` argument of the `Client` class was removed. Has no effect. +- The `upload_files` argument of the `Client` was removed. +- All filepaths must be wrapped in the `handle_file` method. Example: +```python +from gradio_client import Client, handle_file + +client = Client("gradio/image_captioner") +client.predict(handle_file("cute_cat.jpg")) +``` +- The `output_dir` argument was removed. It is not specified in the `download_files` argument. + + +**Javascript** +The client has been redesigned entirely. It was refactored from a function into a class. An instance can now be constructed by awaiting the `connect` method. + +```js +const app = await Client.connect("gradio/whisper") +``` +The app variable has the same methods as the python class (`submit`, `predict`, `view_api`, `duplicate`). + + + +#### Additional Changes + +- [#8243](https://github.com/gradio-app/gradio/pull/8243) - Set orig_name in python client file uploads. +- [#8264](https://github.com/gradio-app/gradio/pull/8264) - Make exceptions in the Client more specific. +- [#8247](https://github.com/gradio-app/gradio/pull/8247) - Fix api recorder. +- [#8276](https://github.com/gradio-app/gradio/pull/8276) - Fix bug where client could not connect to apps that had self signed certificates. +- [#8245](https://github.com/gradio-app/gradio/pull/8245) - Cancel server progress from the python client. +- [#8200](https://github.com/gradio-app/gradio/pull/8200) - Support custom components in gr.load +- [#8182](https://github.com/gradio-app/gradio/pull/8182) - Convert sse calls in client from async to sync. +- [#7732](https://github.com/gradio-app/gradio/pull/7732) - Adds support for kwargs and default arguments in the python client, and improves how parameter information is displayed in the "view API" page. +- [#7888](https://github.com/gradio-app/gradio/pull/7888) - Cache view_api info in server and python client. +- [#7575](https://github.com/gradio-app/gradio/pull/7575) - Files should now be supplied as `file(...)` in the Client, and some fixes to `gr.load()` as well. +- [#8401](https://github.com/gradio-app/gradio/pull/8401) - Add CDN installation to JS docs. +- [#8299](https://github.com/gradio-app/gradio/pull/8299) - Allow JS Client to work with authenticated spaces 🍪. +- [#8408](https://github.com/gradio-app/gradio/pull/8408) - Connect heartbeat if state created in render. Also fix config cleanup bug #8407. +- [#8258](https://github.com/gradio-app/gradio/pull/8258) - Improve URL handling in JS Client. +- [#8322](https://github.com/gradio-app/gradio/pull/8322) - ensure the client correctly handles all binary data. +- [#8296](https://github.com/gradio-app/gradio/pull/8296) - always create a jwt when connecting to a space if a hf_token is present. +- [#8285](https://github.com/gradio-app/gradio/pull/8285) - use the correct query param to pass the jwt to the heartbeat event. +- [#8272](https://github.com/gradio-app/gradio/pull/8272) - ensure client works for private spaces. +- [#8197](https://github.com/gradio-app/gradio/pull/8197) - Add support for passing keyword args to `data` in JS client. +- [#8252](https://github.com/gradio-app/gradio/pull/8252) - Client node fix. +- [#8209](https://github.com/gradio-app/gradio/pull/8209) - Rename `eventSource_Factory` and `fetch_implementation`. +- [#8109](https://github.com/gradio-app/gradio/pull/8109) - Implement JS Client tests. +- [#8211](https://github.com/gradio-app/gradio/pull/8211) - remove redundant event source logic. +- [#8179](https://github.com/gradio-app/gradio/pull/8179) - rework upload to be a class method + pass client into each component. +- [#8181](https://github.com/gradio-app/gradio/pull/8181) - Ensure connectivity to private HF spaces with SSE protocol. +- [#8169](https://github.com/gradio-app/gradio/pull/8169) - Only connect to heartbeat if needed. +- [#8118](https://github.com/gradio-app/gradio/pull/8118) - Add eventsource polyfill for Node.js and browser environments. +- [#7646](https://github.com/gradio-app/gradio/pull/7646) - Refactor JS Client. +- [#7974](https://github.com/gradio-app/gradio/pull/7974) - Fix heartbeat in the js client to be Lite compatible. +- [#7926](https://github.com/gradio-app/gradio/pull/7926) - Fixes streaming event race condition. + + Thanks @freddyaboulton! + +### Features + +- [#8370](https://github.com/gradio-app/gradio/pull/8370) [`48eeea4`](https://github.com/gradio-app/gradio/commit/48eeea4eaab7e24168688e3c3fbafb30e4e78d51) - Refactor Cancelling Logic To Use /cancel. Thanks @freddyaboulton! + +### Fixes + +- [#8477](https://github.com/gradio-app/gradio/pull/8477) [`d5a9604`](https://github.com/gradio-app/gradio/commit/d5a960493017a4890685af61d78ce7d3b3b12e6b) - Fix js client bundle. Thanks @pngwn! +- [#8451](https://github.com/gradio-app/gradio/pull/8451) [`9d2d605`](https://github.com/gradio-app/gradio/commit/9d2d6051caed5c8749a26a6fa7480a5ae6e6c4f3) - Change client submit API to be an AsyncIterable and support more platforms. Thanks @pngwn! +- [#8462](https://github.com/gradio-app/gradio/pull/8462) [`6447dfa`](https://github.com/gradio-app/gradio/commit/6447dface4d46db1c69460e8325a1928d0476a46) - Improve file handling in JS Client. Thanks @hannahblair! +- [#8439](https://github.com/gradio-app/gradio/pull/8439) [`63d36fb`](https://github.com/gradio-app/gradio/commit/63d36fbbf4bf6dc909be9a0ffc7b6bf6621d83e8) - Handle gradio apps using `state` in the JS Client. Thanks @hannahblair! + +## 0.20.1 + +### Features + +- [#8415](https://github.com/gradio-app/gradio/pull/8415) [`227de35`](https://github.com/gradio-app/gradio/commit/227de352982b3dcdf9384eaa28b7e9cf09afb6e8) - Fix spaces load error. Thanks @aliabid94! + +## 0.20.0 + +### Features + +- [#8401](https://github.com/gradio-app/gradio/pull/8401) [`d078621`](https://github.com/gradio-app/gradio/commit/d078621928136c09ca902d2f37594ed887c67d2e) - Add CDN installation to JS docs. Thanks @hannahblair! +- [#8243](https://github.com/gradio-app/gradio/pull/8243) [`55f664f`](https://github.com/gradio-app/gradio/commit/55f664f2979a49acc29a73cde16c6ebdfcc91db2) - Add event listener support to render blocks. Thanks @aliabid94! +- [#8398](https://github.com/gradio-app/gradio/pull/8398) [`945ac83`](https://github.com/gradio-app/gradio/commit/945ac837e779b120790814ea6f6f81bd2712f5f8) - Improve rendering. Thanks @aliabid94! +- [#8299](https://github.com/gradio-app/gradio/pull/8299) [`ab65360`](https://github.com/gradio-app/gradio/commit/ab653608045ff9462db7ad9fe63e1c60bf20e773) - Allow JS Client to work with authenticated spaces 🍪. Thanks @hannahblair! + +### Fixes + +- [#8408](https://github.com/gradio-app/gradio/pull/8408) [`e86dd01`](https://github.com/gradio-app/gradio/commit/e86dd01b6e8f7bab3d3c25b84f2ad33129138af4) - Connect heartbeat if state created in render. Also fix config cleanup bug #8407. Thanks @freddyaboulton! +- [#8258](https://github.com/gradio-app/gradio/pull/8258) [`1f8e5c4`](https://github.com/gradio-app/gradio/commit/1f8e5c44e054b943052d8f24d044696ddfd01a54) - Improve URL handling in JS Client. Thanks @hannahblair! + +## 0.19.4 + +### Fixes + +- [#8322](https://github.com/gradio-app/gradio/pull/8322) [`47012a0`](https://github.com/gradio-app/gradio/commit/47012a0c4e3e8a80fcae620aaf08b16ceb343cde) - ensure the client correctly handles all binary data. Thanks @Saghen! + +## 0.19.3 + +### Features + +- [#8229](https://github.com/gradio-app/gradio/pull/8229) [`7c81897`](https://github.com/gradio-app/gradio/commit/7c81897076ddcd0bb05e0e4ffec35bb9a986d330) - chore(deps): update dependency esbuild to ^0.21.0. Thanks @renovate! + +### Fixes + +- [#8296](https://github.com/gradio-app/gradio/pull/8296) [`929d216`](https://github.com/gradio-app/gradio/commit/929d216d49aa05614bc83f0761cf7b1cd803d8fe) - always create a jwt when connecting to a space if a hf_token is present. Thanks @pngwn! + +## 0.19.2 + +### Fixes + +- [#8285](https://github.com/gradio-app/gradio/pull/8285) [`7d9d8ea`](https://github.com/gradio-app/gradio/commit/7d9d8eab50d36cbecbb84c6a0f3cc1bca7215604) - use the correct query param to pass the jwt to the heartbeat event. Thanks @pngwn! + +## 0.19.1 + +### Fixes + +- [#8272](https://github.com/gradio-app/gradio/pull/8272) [`fbf4edd`](https://github.com/gradio-app/gradio/commit/fbf4edde7c896cdf4c903463e44c31ed96111b3c) - ensure client works for private spaces. Thanks @pngwn! + +## 0.19.0 + +### Features + +- [#8110](https://github.com/gradio-app/gradio/pull/8110) [`5436031`](https://github.com/gradio-app/gradio/commit/5436031f92c1596282eb64e1e74d555f279e9697) - Render decorator 2. Thanks @aliabid94! +- [#8197](https://github.com/gradio-app/gradio/pull/8197) [`e09b4e8`](https://github.com/gradio-app/gradio/commit/e09b4e8216b970bc1b142a0f08e7d190b954eb35) - Add support for passing keyword args to `data` in JS client. Thanks @hannahblair! + +### Fixes + +- [#8252](https://github.com/gradio-app/gradio/pull/8252) [`22df61a`](https://github.com/gradio-app/gradio/commit/22df61a26adf8023f6dd49c051979990e8d3879a) - Client node fix. Thanks @pngwn! + +## 0.18.0 + +### Features + +- [#8121](https://github.com/gradio-app/gradio/pull/8121) [`f5b710c`](https://github.com/gradio-app/gradio/commit/f5b710c919b0ce604ea955f0d5f4faa91095ca4a) - chore(deps): update dependency eslint to v9. Thanks @renovate! +- [#8209](https://github.com/gradio-app/gradio/pull/8209) [`b9afe93`](https://github.com/gradio-app/gradio/commit/b9afe93915401df5bd6737c89395c2477acfa585) - Rename `eventSource_Factory` and `fetch_implementation`. Thanks @hannahblair! +- [#8109](https://github.com/gradio-app/gradio/pull/8109) [`bed2f82`](https://github.com/gradio-app/gradio/commit/bed2f82e2297b50f7b59423a3de05af0b9910724) - Implement JS Client tests. Thanks @hannahblair! +- [#8211](https://github.com/gradio-app/gradio/pull/8211) [`91b5cd6`](https://github.com/gradio-app/gradio/commit/91b5cd6132fb8903c92f70fce0800324836a1fc3) - remove redundant event source logic. Thanks @hannahblair! + +### Fixes + +- [#8179](https://github.com/gradio-app/gradio/pull/8179) [`6a218b4`](https://github.com/gradio-app/gradio/commit/6a218b4148095aaa0c58d8c20973ba01c8764fc2) - rework upload to be a class method + pass client into each component. Thanks @pngwn! +- [#8181](https://github.com/gradio-app/gradio/pull/8181) [`cf52ca6`](https://github.com/gradio-app/gradio/commit/cf52ca6a51320ece97f009a177792840b5fbc785) - Ensure connectivity to private HF spaces with SSE protocol. Thanks @hannahblair! +- [#8169](https://github.com/gradio-app/gradio/pull/8169) [`3a6f1a5`](https://github.com/gradio-app/gradio/commit/3a6f1a50b263e0a733f609a08019fc4d05480e1a) - Only connect to heartbeat if needed. Thanks @freddyaboulton! +- [#8118](https://github.com/gradio-app/gradio/pull/8118) [`7aca673`](https://github.com/gradio-app/gradio/commit/7aca673b38a087533524b2fd8dd3a03e0e4bacfe) - Add eventsource polyfill for Node.js and browser environments. Thanks @hannahblair! + +## 0.17.0 + +### Highlights + +#### Setting File Upload Limits ([#7909](https://github.com/gradio-app/gradio/pull/7909) [`2afca65`](https://github.com/gradio-app/gradio/commit/2afca6541912b37dc84f447c7ad4af21607d7c72)) + +We have added a `max_file_size` size parameter to `launch()` that limits to size of files uploaded to the server. This limit applies to each individual file. This parameter can be specified as a string or an integer (corresponding to the size in bytes). + +The following code snippet sets a max file size of 5 megabytes. + +```python +import gradio as gr + +demo = gr.Interface(lambda x: x, "image", "image") + +demo.launch(max_file_size="5mb") +# or +demo.launch(max_file_size=5 * gr.FileSize.MB) +``` + +![max_file_size_upload](https://github.com/gradio-app/gradio/assets/41651716/7547330c-a082-4901-a291-3f150a197e45) + + +#### Error states can now be cleared + +When a component encounters an error, the error state shown in the UI can now be cleared by clicking on the `x` icon in the top right of the component. This applies to all types of errors, whether it's raised in the UI or the server. + +![error_modal_calculator](https://github.com/gradio-app/gradio/assets/41651716/16cb071c-accd-45a6-9c18-0dea27d4bd98) + + Thanks @freddyaboulton! + +### Features + +- [#8056](https://github.com/gradio-app/gradio/pull/8056) [`2e469a5`](https://github.com/gradio-app/gradio/commit/2e469a5f99e52a5011a010f46e47dde7bb0c7140) - Using keys to preserve values between reloads. Thanks @aliabid94! +- [#7646](https://github.com/gradio-app/gradio/pull/7646) [`450b8cc`](https://github.com/gradio-app/gradio/commit/450b8cc898f130f15caa3742f65c17b9f7a8f398) - Refactor JS Client. Thanks @hannahblair! +- [#8061](https://github.com/gradio-app/gradio/pull/8061) [`17e83c9`](https://github.com/gradio-app/gradio/commit/17e83c958ebb35b3e122ca486067d1bd5ce33a22) - Docs Reorg and Intro Page. Thanks @aliabd! + +### Fixes + +- [#8066](https://github.com/gradio-app/gradio/pull/8066) [`624f9b9`](https://github.com/gradio-app/gradio/commit/624f9b9477f74a581a6c14119234f9efdfcda398) - make gradio dev tools a local dependency rather than bundling. Thanks @pngwn! + +## 0.16.0 + +### Features + +- [#7845](https://github.com/gradio-app/gradio/pull/7845) [`dbb7373`](https://github.com/gradio-app/gradio/commit/dbb7373dde69d4ed2741942b5a1898f8620cec24) - ensure `ImageEditor` events work as expected. Thanks @pngwn! + +### Fixes + +- [#7974](https://github.com/gradio-app/gradio/pull/7974) [`79e0aa8`](https://github.com/gradio-app/gradio/commit/79e0aa81c94e755faa6e85d76ac5d5a666313e6a) - Fix heartbeat in the js client to be Lite compatible. Thanks @whitphx! + +## 0.15.1 + +### Fixes + +- [#7926](https://github.com/gradio-app/gradio/pull/7926) [`9666854`](https://github.com/gradio-app/gradio/commit/966685479078f59430b3bced7e6068eb8157c003) - Fixes streaming event race condition. Thanks @aliabid94! + +## 0.15.0 + +### Highlights + +#### Automatically delete state after user has disconnected from the webpage ([#7829](https://github.com/gradio-app/gradio/pull/7829) [`6a4bf7a`](https://github.com/gradio-app/gradio/commit/6a4bf7abe29059dbdc6a342e0366fdaa2e4120ee)) + +Gradio now automatically deletes `gr.State` variables stored in the server's RAM when users close their browser tab. +The deletion will happen 60 minutes after the server detected a disconnect from the user's browser. +If the user connects again in that timeframe, their state will not be deleted. + +Additionally, Gradio now includes a `Blocks.unload()` event, allowing you to run arbitrary cleanup functions when users disconnect (this does not have a 60 minute delay). +You can think of the `unload` event as the opposite of the `load` event. + + +```python +with gr.Blocks() as demo: + gr.Markdown( +"""# State Cleanup Demo +🖼️ Images are saved in a user-specific directory and deleted when the users closes the page via demo.unload. +""") + with gr.Row(): + with gr.Column(scale=1): + with gr.Row(): + img = gr.Image(label="Generated Image", height=300, width=300) + with gr.Row(): + gen = gr.Button(value="Generate") + with gr.Row(): + history = gr.Gallery(label="Previous Generations", height=500, columns=10) + state = gr.State(value=[], delete_callback=lambda v: print("STATE DELETED")) + + demo.load(generate_random_img, [state], [img, state, history]) + gen.click(generate_random_img, [state], [img, state, history]) + demo.unload(delete_directory) + + +demo.launch(auth=lambda user,pwd: True, + auth_message="Enter any username and password to continue") +``` + + Thanks @freddyaboulton! + +## 0.14.0 + +### Features + +- [#7691](https://github.com/gradio-app/gradio/pull/7691) [`84f81fe`](https://github.com/gradio-app/gradio/commit/84f81fec9287b041203a141bbf2852720f7d199c) - Closing stream from the backend. Thanks @aliabid94! + +### Fixes + +- [#7564](https://github.com/gradio-app/gradio/pull/7564) [`5d1e8da`](https://github.com/gradio-app/gradio/commit/5d1e8dae5ac23f605c3b5f41dbe18751dff380a0) - batch UI updates on a per frame basis. Thanks @pngwn! + +## 0.13.0 + +### Fixes + +- [#7575](https://github.com/gradio-app/gradio/pull/7575) [`d0688b3`](https://github.com/gradio-app/gradio/commit/d0688b3c25feabb4fc7dfa0ab86086b3af7eb337) - Files should now be supplied as `file(...)` in the Client, and some fixes to `gr.load()` as well. Thanks @abidlabs! + +## 0.12.2 + +### Features + +- [#7528](https://github.com/gradio-app/gradio/pull/7528) [`eda33b3`](https://github.com/gradio-app/gradio/commit/eda33b3763897a542acf298e523fa493dc655aee) - Refactors `get_fetchable_url_or_file()` to remove it from the frontend. Thanks [@abidlabs](https://github.com/abidlabs)! +- [#7340](https://github.com/gradio-app/gradio/pull/7340) [`4b0d589`](https://github.com/gradio-app/gradio/commit/4b0d58933057432758a54169a360eb352903d6b4) - chore(deps): update all non-major dependencies. Thanks [@renovate](https://github.com/apps/renovate)! + +## 0.12.1 + +### Fixes + +- [#7411](https://github.com/gradio-app/gradio/pull/7411) [`32b317f`](https://github.com/gradio-app/gradio/commit/32b317f24e3d43f26684bb9f3964f31efd0ea556) - Set `root` correctly for Gradio apps that are deployed behind reverse proxies. Thanks [@abidlabs](https://github.com/abidlabs)! + +## 0.12.0 + +### Features + +- [#7183](https://github.com/gradio-app/gradio/pull/7183) [`49d9c48`](https://github.com/gradio-app/gradio/commit/49d9c48537aa706bf72628e3640389470138bdc6) - [WIP] Refactor file normalization to be in the backend and remove it from the frontend of each component. Thanks [@abidlabs](https://github.com/abidlabs)! + +## 0.11.0 + +### Features + +- [#7102](https://github.com/gradio-app/gradio/pull/7102) [`68a54a7`](https://github.com/gradio-app/gradio/commit/68a54a7a310d8d7072fdae930bf1cfdf12c45a7f) - Improve chatbot streaming performance with diffs. Thanks [@aliabid94](https://github.com/aliabid94)!/n Note that this PR changes the API format for generator functions, which would be a breaking change for any clients reading the EventStream directly + +## 0.10.1 + +### Fixes + +- [#7055](https://github.com/gradio-app/gradio/pull/7055) [`3c3cf86`](https://github.com/gradio-app/gradio/commit/3c3cf8618a8cad1ef66a7f96664923d2c9f5e0e2) - Fix UI freeze on rapid generators. Thanks [@aliabid94](https://github.com/aliabid94)! + +## 0.10.0 + +### Features + +- [#6931](https://github.com/gradio-app/gradio/pull/6931) [`6c863af`](https://github.com/gradio-app/gradio/commit/6c863af92fa9ceb5c638857eb22cc5ddb718d549) - Fix functional tests. Thanks [@aliabid94](https://github.com/aliabid94)! +- [#6820](https://github.com/gradio-app/gradio/pull/6820) [`649cd4d`](https://github.com/gradio-app/gradio/commit/649cd4d68041d11fcbe31f8efa455345ac49fc74) - Use `EventSource_factory` in `open_stream()` for Wasm. Thanks [@whitphx](https://github.com/whitphx)! + +## 0.9.4 + +### Fixes + +- [#6863](https://github.com/gradio-app/gradio/pull/6863) [`d406855`](https://github.com/gradio-app/gradio/commit/d4068557953746662235d595ec435c42ceb24414) - Fix JS Client when app is running behind a proxy. Thanks [@freddyaboulton](https://github.com/freddyaboulton)! + +## 0.9.3 + +### Features + +- [#6814](https://github.com/gradio-app/gradio/pull/6814) [`828fb9e`](https://github.com/gradio-app/gradio/commit/828fb9e6ce15b6ea08318675a2361117596a1b5d) - Refactor queue so that there are separate queues for each concurrency id. Thanks [@aliabid94](https://github.com/aliabid94)! + +## 0.9.2 + +### Features + +- [#6798](https://github.com/gradio-app/gradio/pull/6798) [`245d58e`](https://github.com/gradio-app/gradio/commit/245d58eff788e8d44a59d37a2d9b26d0f08a62b4) - Improve how server/js client handle unexpected errors. Thanks [@freddyaboulton](https://github.com/freddyaboulton)! + +## 0.9.1 + +### Fixes + +- [#6693](https://github.com/gradio-app/gradio/pull/6693) [`34f9431`](https://github.com/gradio-app/gradio/commit/34f943101bf7dd6b8a8974a6131c1ed7c4a0dac0) - Python client properly handles hearbeat and log messages. Also handles responses longer than 65k. Thanks [@freddyaboulton](https://github.com/freddyaboulton)! + +## 0.9.0 + +### Features + +- [#6398](https://github.com/gradio-app/gradio/pull/6398) [`67ddd40`](https://github.com/gradio-app/gradio/commit/67ddd40b4b70d3a37cb1637c33620f8d197dbee0) - Lite v4. Thanks [@whitphx](https://github.com/whitphx)! + +### Fixes + +- [#6556](https://github.com/gradio-app/gradio/pull/6556) [`d76bcaa`](https://github.com/gradio-app/gradio/commit/d76bcaaaf0734aaf49a680f94ea9d4d22a602e70) - Fix api event drops. Thanks [@aliabid94](https://github.com/aliabid94)! + +## 0.8.2 + +### Features + +- [#6511](https://github.com/gradio-app/gradio/pull/6511) [`71f1a1f99`](https://github.com/gradio-app/gradio/commit/71f1a1f9931489d465c2c1302a5c8d768a3cd23a) - Mark `FileData.orig_name` optional on the frontend aligning the type definition on the Python side. Thanks [@whitphx](https://github.com/whitphx)! + +## 0.8.1 + +### Fixes + +- [#6383](https://github.com/gradio-app/gradio/pull/6383) [`324867f63`](https://github.com/gradio-app/gradio/commit/324867f63c920113d89a565892aa596cf8b1e486) - Fix event target. Thanks [@aliabid94](https://github.com/aliabid94)! + +## 0.8.0 + +### Features + +- [#6307](https://github.com/gradio-app/gradio/pull/6307) [`f1409f95e`](https://github.com/gradio-app/gradio/commit/f1409f95ed39c5565bed6a601e41f94e30196a57) - Provide status updates on file uploads. Thanks [@freddyaboulton](https://github.com/freddyaboulton)! + +## 0.7.2 + +### Fixes + +- [#6327](https://github.com/gradio-app/gradio/pull/6327) [`bca6c2c80`](https://github.com/gradio-app/gradio/commit/bca6c2c80f7e5062427019de45c282238388af95) - Restore query parameters in request. Thanks [@aliabid94](https://github.com/aliabid94)! + +## 0.7.1 + +### Features + +- [#6137](https://github.com/gradio-app/gradio/pull/6137) [`2ba14b284`](https://github.com/gradio-app/gradio/commit/2ba14b284f908aa13859f4337167a157075a68eb) - JS Param. Thanks [@dawoodkhan82](https://github.com/dawoodkhan82)! + +## 0.7.0 + +### Features + +- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - fix circular dependency with client + upload. Thanks [@pngwn](https://github.com/pngwn)! +- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - Image v4. Thanks [@pngwn](https://github.com/pngwn)! +- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - Swap websockets for SSE. Thanks [@pngwn](https://github.com/pngwn)! + +## 0.7.0-beta.1 + +### Features + +- [#6143](https://github.com/gradio-app/gradio/pull/6143) [`e4f7b4b40`](https://github.com/gradio-app/gradio/commit/e4f7b4b409323b01aa01b39e15ce6139e29aa073) - fix circular dependency with client + upload. Thanks [@pngwn](https://github.com/pngwn)! +- [#6094](https://github.com/gradio-app/gradio/pull/6094) [`c476bd5a5`](https://github.com/gradio-app/gradio/commit/c476bd5a5b70836163b9c69bf4bfe068b17fbe13) - Image v4. Thanks [@pngwn](https://github.com/pngwn)! +- [#6069](https://github.com/gradio-app/gradio/pull/6069) [`bf127e124`](https://github.com/gradio-app/gradio/commit/bf127e1241a41401e144874ea468dff8474eb505) - Swap websockets for SSE. Thanks [@aliabid94](https://github.com/aliabid94)! + +## 0.7.0-beta.0 + +### Features + +- [#6016](https://github.com/gradio-app/gradio/pull/6016) [`83e947676`](https://github.com/gradio-app/gradio/commit/83e947676d327ca2ab6ae2a2d710c78961c771a0) - Format js in v4 branch. Thanks [@freddyaboulton](https://github.com/freddyaboulton)! + +### Fixes + +- [#6046](https://github.com/gradio-app/gradio/pull/6046) [`dbb7de5e0`](https://github.com/gradio-app/gradio/commit/dbb7de5e02c53fee05889d696d764d212cb96c74) - fix tests. Thanks [@pngwn](https://github.com/pngwn)! + +## 0.6.0 + +### Features + +- [#5972](https://github.com/gradio-app/gradio/pull/5972) [`11a300791`](https://github.com/gradio-app/gradio/commit/11a3007916071f0791844b0a37f0fb4cec69cea3) - Lite: Support opening the entrypoint HTML page directly in browser via the `file:` protocol. Thanks [@whitphx](https://github.com/whitphx)! + +## 0.5.2 + +### Fixes + +- [#5840](https://github.com/gradio-app/gradio/pull/5840) [`4e62b8493`](https://github.com/gradio-app/gradio/commit/4e62b8493dfce50bafafe49f1a5deb929d822103) - Ensure websocket polyfill doesn't load if there is already a `global.Webocket` property set. Thanks [@Jay2theWhy](https://github.com/Jay2theWhy)! + +## 0.5.1 + +### Fixes + +- [#5816](https://github.com/gradio-app/gradio/pull/5816) [`796145e2c`](https://github.com/gradio-app/gradio/commit/796145e2c48c4087bec17f8ec0be4ceee47170cb) - Fix calls to the component server so that `gr.FileExplorer` works on Spaces. Thanks [@abidlabs](https://github.com/abidlabs)! + +## 0.5.0 + +### Highlights + +#### new `FileExplorer` component ([#5672](https://github.com/gradio-app/gradio/pull/5672) [`e4a307ed6`](https://github.com/gradio-app/gradio/commit/e4a307ed6cde3bbdf4ff2f17655739addeec941e)) + +Thanks to a new capability that allows components to communicate directly with the server _without_ passing data via the value, we have created a new `FileExplorer` component. + +This component allows you to populate the explorer by passing a glob, but only provides the selected file(s) in your prediction function. + +Users can then navigate the virtual filesystem and select files which will be accessible in your predict function. This component will allow developers to build more complex spaces, with more flexible input options. + +![output](https://github.com/pngwn/MDsveX/assets/12937446/ef108f0b-0e84-4292-9984-9dc66b3e144d) + +For more information check the [`FileExplorer` documentation](https://gradio.app/docs/fileexplorer). + + Thanks [@aliabid94](https://github.com/aliabid94)! + +### Features + +- [#5787](https://github.com/gradio-app/gradio/pull/5787) [`caeee8bf7`](https://github.com/gradio-app/gradio/commit/caeee8bf7821fd5fe2f936ed82483bed00f613ec) - ensure the client does not depend on `window` when running in a node environment. Thanks [@gibiee](https://github.com/gibiee)! + +### Fixes + +- [#5776](https://github.com/gradio-app/gradio/pull/5776) [`c0fef4454`](https://github.com/gradio-app/gradio/commit/c0fef44541bfa61568bdcfcdfc7d7d79869ab1df) - Revert replica proxy logic and instead implement using the `root` variable. Thanks [@freddyaboulton](https://github.com/freddyaboulton)! + +## 0.4.2 + +### Features + +- [#5124](https://github.com/gradio-app/gradio/pull/5124) [`6e56a0d9b`](https://github.com/gradio-app/gradio/commit/6e56a0d9b0c863e76c69e1183d9d40196922b4cd) - Lite: Websocket queueing. Thanks [@whitphx](https://github.com/whitphx)! + +## 0.4.1 + +### Fixes + +- [#5705](https://github.com/gradio-app/gradio/pull/5705) [`78e7cf516`](https://github.com/gradio-app/gradio/commit/78e7cf5163e8d205e8999428fce4c02dbdece25f) - ensure internal data has updated before dispatching `success` or `then` events. Thanks [@pngwn](https://github.com/pngwn)! + +## 0.4.0 + +### Features + +- [#5682](https://github.com/gradio-app/gradio/pull/5682) [`c57f1b75e`](https://github.com/gradio-app/gradio/commit/c57f1b75e272c76b0af4d6bd0c7f44743ff34f26) - Fix functional tests. Thanks [@abidlabs](https://github.com/abidlabs)! +- [#5681](https://github.com/gradio-app/gradio/pull/5681) [`40de3d217`](https://github.com/gradio-app/gradio/commit/40de3d2178b61ebe424b6f6228f94c0c6f679bea) - add query parameters to the `gr.Request` object through the `query_params` attribute. Thanks [@DarhkVoyd](https://github.com/DarhkVoyd)! +- [#5653](https://github.com/gradio-app/gradio/pull/5653) [`ea0e00b20`](https://github.com/gradio-app/gradio/commit/ea0e00b207b4b90a10e9d054c4202d4e705a29ba) - Prevent Clients from accessing API endpoints that set `api_name=False`. Thanks [@abidlabs](https://github.com/abidlabs)! + +## 0.3.1 + +### Fixes + +- [#5412](https://github.com/gradio-app/gradio/pull/5412) [`26fef8c7`](https://github.com/gradio-app/gradio/commit/26fef8c7f85a006c7e25cdbed1792df19c512d02) - Skip view_api request in js client when auth enabled. Thanks [@freddyaboulton](https://github.com/freddyaboulton)! + +## 0.3.0 + +### Features + +- [#5267](https://github.com/gradio-app/gradio/pull/5267) [`119c8343`](https://github.com/gradio-app/gradio/commit/119c834331bfae60d4742c8f20e9cdecdd67e8c2) - Faster reload mode. Thanks [@freddyaboulton](https://github.com/freddyaboulton)! + +## 0.2.1 + +### Features + +- [#5173](https://github.com/gradio-app/gradio/pull/5173) [`730f0c1d`](https://github.com/gradio-app/gradio/commit/730f0c1d54792eb11359e40c9f2326e8a6e39203) - Ensure gradio client works as expected for functions that return nothing. Thanks [@raymondtri](https://github.com/raymondtri)! + +## 0.2.0 + +### Features + +- [#5133](https://github.com/gradio-app/gradio/pull/5133) [`61129052`](https://github.com/gradio-app/gradio/commit/61129052ed1391a75c825c891d57fa0ad6c09fc8) - Update dependency esbuild to ^0.19.0. Thanks [@renovate](https://github.com/apps/renovate)! +- [#5035](https://github.com/gradio-app/gradio/pull/5035) [`8b4eb8ca`](https://github.com/gradio-app/gradio/commit/8b4eb8cac9ea07bde31b44e2006ca2b7b5f4de36) - JS Client: Fixes cannot read properties of null (reading 'is_file'). Thanks [@raymondtri](https://github.com/raymondtri)! + +### Fixes + +- [#5075](https://github.com/gradio-app/gradio/pull/5075) [`67265a58`](https://github.com/gradio-app/gradio/commit/67265a58027ef1f9e4c0eb849a532f72eaebde48) - Allow supporting >1000 files in `gr.File()` and `gr.UploadButton()`. Thanks [@abidlabs](https://github.com/abidlabs)! + +## 0.1.4 + +### Patch Changes + +- [#4717](https://github.com/gradio-app/gradio/pull/4717) [`ab5d1ea0`](https://github.com/gradio-app/gradio/commit/ab5d1ea0de87ed888779b66fd2a705583bd29e02) Thanks [@whitphx](https://github.com/whitphx)! - Fix the package description + +## 0.1.3 + +### Patch Changes + +- [#4357](https://github.com/gradio-app/gradio/pull/4357) [`0dbd8f7f`](https://github.com/gradio-app/gradio/commit/0dbd8f7fee4b4877f783fa7bc493f98bbfc3d01d) Thanks [@pngwn](https://github.com/pngwn)! - Various internal refactors and cleanups. + +## 0.1.2 + +### Patch Changes + +- [#4273](https://github.com/gradio-app/gradio/pull/4273) [`1d0f0a9d`](https://github.com/gradio-app/gradio/commit/1d0f0a9db096552e67eb2197c932342587e9e61e) Thanks [@pngwn](https://github.com/pngwn)! - Ensure websocket error messages are correctly handled. + +- [#4315](https://github.com/gradio-app/gradio/pull/4315) [`b525b122`](https://github.com/gradio-app/gradio/commit/b525b122dd8569bbaf7e06db5b90d622d2e9073d) Thanks [@whitphx](https://github.com/whitphx)! - Refacor types. + +- [#4271](https://github.com/gradio-app/gradio/pull/4271) [`1151c525`](https://github.com/gradio-app/gradio/commit/1151c5253554cb87ebd4a44a8a470ac215ff782b) Thanks [@pngwn](https://github.com/pngwn)! - Ensure the full root path is always respected when making requests to a gradio app server. + +## 0.1.1 + +### Patch Changes + +- [#4201](https://github.com/gradio-app/gradio/pull/4201) [`da5b4ee1`](https://github.com/gradio-app/gradio/commit/da5b4ee11721175858ded96e5710225369097f74) Thanks [@pngwn](https://github.com/pngwn)! - Ensure semiver is bundled so CDN links work correctly. + +- [#4202](https://github.com/gradio-app/gradio/pull/4202) [`a26e9afd`](https://github.com/gradio-app/gradio/commit/a26e9afde319382993e6ddc77cc4e56337a31248) Thanks [@pngwn](https://github.com/pngwn)! - Ensure all URLs returned by the client are complete URLs with the correct host instead of an absolute path relative to a server. + +## 0.1.0 + +### Minor Changes + +- [#4185](https://github.com/gradio-app/gradio/pull/4185) [`67239ca9`](https://github.com/gradio-app/gradio/commit/67239ca9b2fe3796853fbf7bf865c9e4b383200d) Thanks [@pngwn](https://github.com/pngwn)! - Update client for initial release + +### Patch Changes + +- [#3692](https://github.com/gradio-app/gradio/pull/3692) [`48e8b113`](https://github.com/gradio-app/gradio/commit/48e8b113f4b55e461d9da4f153bf72aeb4adf0f1) Thanks [@pngwn](https://github.com/pngwn)! - Ensure client works in node, create ESM bundle and generate typescript declaration files. + +- [#3605](https://github.com/gradio-app/gradio/pull/3605) [`ae4277a9`](https://github.com/gradio-app/gradio/commit/ae4277a9a83d49bdadfe523b0739ba988128e73b) Thanks [@pngwn](https://github.com/pngwn)! - Update readme. \ No newline at end of file diff --git a/node_modules/@gradio/client/LICENSE b/node_modules/@gradio/client/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..261eeb9e9f8b2b4b0d119366dda99c6fd7d35c64 --- /dev/null +++ b/node_modules/@gradio/client/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/node_modules/@gradio/client/README.md b/node_modules/@gradio/client/README.md new file mode 100644 index 0000000000000000000000000000000000000000..4f79bf0353a13803bac0d8e20227214c6755d802 --- /dev/null +++ b/node_modules/@gradio/client/README.md @@ -0,0 +1,448 @@ +## JavaScript Client Library + +Interact with Gradio APIs using our JavaScript (and TypeScript) client. + + +## Installation + +The Gradio JavaScript Client is available on npm as `@gradio/client`. You can install it as below: + +```shell +npm i @gradio/client +``` + +Or, you can include it directly in your HTML via the jsDelivr CDN: + +```shell + +``` + +## Usage + +The JavaScript Gradio Client exposes the Client class, `Client`, along with various other utility functions. `Client` is used to initialise and establish a connection to, or duplicate, a Gradio app. + +### `Client` + +The Client function connects to the API of a hosted Gradio space and returns an object that allows you to make calls to that API. + +The simplest example looks like this: + +```ts +import { Client } from "@gradio/client"; + +const app = await Client.connect("user/space-name"); +const result = await app.predict("/predict"); +``` + +This function accepts two arguments: `source` and `options`: + +#### `source` + +This is the url or name of the gradio app whose API you wish to connect to. This parameter is required and should always be a string. For example: + +```ts +Client.connect("user/space-name"); +``` + +#### `options` + +The options object can optionally be passed a second parameter. This object has two properties, `token` and `status_callback`. + +##### `token` + +This should be a Hugging Face personal access token and is required if you wish to make calls to a private gradio api. This option is optional and should be a string starting with `"hf_"`. + +Example: + +```ts +import { Client } from "@gradio/client"; + +const app = await Client.connect("user/space-name", { token: "hf_..." }); +``` + +##### `status_callback` + +This should be a function which will notify you of the status of a space if it is not running. If the gradio API you are connecting to is not awake and running or is not hosted on Hugging Face space then this function will do nothing. + +**Additional context** + +Applications hosted on Hugging Face spaces can be in a number of different states. As spaces are a GitOps tool and will rebuild when new changes are pushed to the repository, they have various building, running and error states. If a space is not 'running' then the function passed as the `status_callback` will notify you of the current state of the space and the status of the space as it changes. Spaces that are building or sleeping can take longer than usual to respond, so you can use this information to give users feedback about the progress of their action. + +```ts +import { Client, type SpaceStatus } from "@gradio/client"; + +const app = await Client.connect("user/space-name", { + // The space_status parameter does not need to be manually annotated, this is just for illustration. + space_status: (space_status: SpaceStatus) => console.log(space_status) +}); +``` + +```ts +interface SpaceStatusNormal { + status: "sleeping" | "running" | "building" | "error" | "stopped"; + detail: + | "SLEEPING" + | "RUNNING" + | "RUNNING_BUILDING" + | "BUILDING" + | "NOT_FOUND"; + load_status: "pending" | "error" | "complete" | "generating"; + message: string; +} + +interface SpaceStatusError { + status: "space_error"; + detail: "NO_APP_FILE" | "CONFIG_ERROR" | "BUILD_ERROR" | "RUNTIME_ERROR"; + load_status: "error"; + message: string; + discussions_enabled: boolean; + +type SpaceStatus = SpaceStatusNormal | SpaceStatusError; +``` + +The gradio client returns an object with a number of methods and properties: + +#### `predict` + +The `predict` method allows you to call an api endpoint and get a prediction result: + +```ts +import { Client } from "@gradio/client"; + +const app = await Client.connect("user/space-name"); +const result = await app.predict("/predict"); +``` + +`predict` accepts two parameters, `endpoint` and `payload`. It returns a promise that resolves to the prediction result. + +##### `endpoint` + +This is the endpoint for an api request and is required. The default endpoint for a `gradio.Interface` is `"/predict"`. Explicitly named endpoints have a custom name. The endpoint names can be found on the "View API" page of a space. + +```ts +import { Client } from "@gradio/client"; + +const app = await Client.connect("user/space-name"); +const result = await app.predict("/predict"); +``` + +##### `payload` + +The `payload` argument is generally required but this depends on the API itself. If the API endpoint depends on values being passed in then the argument is required for the API request to succeed. The data that should be passed in is detailed on the "View API" page of a space, or accessible via the `view_api()` method of the client. + +```ts +import { Client } from "@gradio/client"; + +const app = await Client.connect("user/space-name"); +const result = await app.predict("/predict", { + input: 1, + word_1: "Hello", + word_2: "friends" +}); +``` + +#### `submit` + +The `submit` method provides a more flexible way to call an API endpoint, providing you with status updates about the current progress of the prediction as well as supporting more complex endpoint types. + +```ts +import { Client } from "@gradio/client"; + +const app = await Client.connect("user/space-name"); +const submission = app.submit("/predict", { name: "Chewbacca" }); +``` + +The `submit` method accepts the same [`endpoint`](#endpoint) and [`payload`](#payload) arguments as `predict`. + +The `submit` method does not return a promise and should not be awaited, instead it returns an async iterator with a `cancel` method. + +##### Accessing values + +Iterating the submission allows you to access the events related to the submitted API request. There are two types of events that can be listened for: `"data"` updates and `"status"` updates. By default only the `"data"` event is reported, but you can listen for the `"status"` event by manually passing the events you care about when instantiating the client: + +```ts +import { Client } from "@gradio/client"; + +const app = await Client.connect("user/space-name", { + events: ["data", "status"] +}); +``` + +`"data"` updates are issued when the API computes a value, the callback provided as the second argument will be called when such a value is sent to the client. The shape of the data depends on the way the API itself is constructed. This event may fire more than once if that endpoint supports emmitting new values over time. + +`"status` updates are issued when the status of a request changes. This information allows you to offer feedback to users when the queue position of the request changes, or when the request changes from queued to processing. + +The status payload look like this: + +```ts +interface Status { + queue: boolean; + code?: string; + success?: boolean; + stage: "pending" | "error" | "complete" | "generating"; + size?: number; + position?: number; + eta?: number; + message?: string; + progress_data?: Array<{ + progress: number | null; + index: number | null; + length: number | null; + unit: string | null; + desc: string | null; + }>; + time?: Date; +} +``` + +Usage looks like this: + +```ts +import { Client } from "@gradio/client"; + +const app = await Client.connect("user/space-name"); +const submission = app + .submit("/predict", { name: "Chewbacca" }) + + for await (const msg of submission) { + if (msg.type === "data") { + console.log(msg.data); + } + + if (msg.type === "status") { + console.log(msg); + } + } +``` + + +##### `cancel` + +Certain types of gradio function can run repeatedly and in some cases indefinitely. the `cancel` method will stop such an endpoints and prevent the API from issuing additional updates. + +```ts +import { Client } from "@gradio/client"; + +const app = await Client.connect("user/space-name"); +const submission = app + .submit("/predict", { name: "Chewbacca" }) + + +// later + +submission.cancel(); +``` + +#### `view_api` + +The `view_api` method provides details about the API you are connected to. It returns a JavaScript object of all named endpoints, unnamed endpoints and what values they accept and return. This method does not accept arguments. + +```ts +import { Client } from "@gradio/client"; + +const app = await Client.connect("user/space-name"); +const api_info = await app.view_api(); + +console.log(api_info); +``` + +#### `config` + +The `config` property contains the configuration for the gradio application you are connected to. This object may contain useful meta information about the application. + +```ts +import { Client } from "@gradio/client"; + +const app = await Client.connect("user/space-name"); +console.log(app.config); +``` + +### `duplicate` + +The duplicate function will attempt to duplicate the space that is referenced and return an instance of `client` connected to that space. If the space has already been duplicated then it will not create a new duplicate and will instead connect to the existing duplicated space. The huggingface token that is passed in will dictate the user under which the space is created. + +`duplicate` accepts the same arguments as `client` with the addition of a `private` options property dictating whether the duplicated space should be private or public. A huggingface token is required for duplication to work. + +```ts +import { Client } from "@gradio/client"; + +const app = await Client.duplicate("user/space-name", { + token: "hf_..." +}); +``` + +This function accepts two arguments: `source` and `options`: + +#### `source` + +The space to duplicate and connect to. [See `client`'s `source` parameter](#source). + +#### `options` + +Accepts all options that `client` accepts, except `token` is required. [See `client`'s `options` parameter](#source). + +`duplicate` also accepts one additional `options` property. + +##### `private` + +This is an optional property specific to `duplicate`'s options object and will determine whether the space should be public or private. Spaces duplicated via the `duplicate` method are public by default. + +```ts +import { Client } from "@gradio/client"; + +const app = await Client.duplicate("user/space-name", { + token: "hf_...", + private: true +}); +``` + +##### `timeout` + +This is an optional property specific to `duplicate`'s options object and will set the timeout in minutes before the duplicated space will go to sleep. + +```ts +import { Client } from "@gradio/client"; + +const app = await Client.duplicate("user/space-name", { + token: "hf_...", + private: true, + timeout: 5 +}); +``` + +##### `hardware` + +This is an optional property specific to `duplicate`'s options object and will set the hardware for the duplicated space. By default the hardware used will match that of the original space. If this cannot be obtained it will default to `"cpu-basic"`. For hardware upgrades (beyond the basic CPU tier), you may be required to provide [billing information on Hugging Face](https://huggingface.co/settings/billing). + +Possible hardware options are: + +- `"cpu-basic"` +- `"cpu-upgrade"` +- `"cpu-xl"` +- `"t4-small"` +- `"t4-medium"` +- `"a10g-small"` +- `"a10g-large"` +- `"a10g-largex2"` +- `"a10g-largex4"` +- `"a100-large"` +- `"zero-a10g"` +- `"h100"` +- `"h100x8"` + +```ts +import { Client } from "@gradio/client"; + +const app = await Client.duplicate("user/space-name", { + token: "hf_...", + private: true, + hardware: "a10g-small" +}); +``` + +### `handle_file(file_or_url: File | string | Blob | Buffer)` + +This utility function is used to simplify the process of handling file inputs for the client. + +Gradio APIs expect a special file datastructure that references a location on the server. These files can be manually uploaded but figuring what to do with different file types can be difficult depending on your environment. + +This function will handle files regardless of whether or not they are local files (node only), URLs, Blobs, or Buffers. It will take in a reference and handle it accordingly,uploading the file where appropriate and generating the correct data structure for the client. + +The return value of this function can be used anywhere in the input data where a file is expected: + +```ts +import { handle_file } from "@gradio/client"; + +const app = await Client.connect("user/space-name"); +const result = await app.predict("/predict", { + single: handle_file(file), + flat: [handle_file(url), handle_file(buffer)], + nested: { + image: handle_file(url), + layers: [handle_file(buffer)] + }, + deeply_nested: { + image: handle_file(url), + layers: [{ + layer1: handle_file(buffer), + layer2: handle_file(buffer) + }] + } +}); +``` + +#### filepaths + +`handle_file` can be passed a local filepath which it will upload to the client server and return a reference that the client can understand. + +This only works in a node environment. + +Filepaths are resolved relative to the current working directory, not the location of the file that calls `handle_file`. + +```ts +import { handle_file } from "@gradio/client"; + +// not uploaded yet +const file_ref = handle_file("path/to/file"); + +const app = await Client.connect("user/space-name"); + +// upload happens here +const result = await app.predict("/predict", { + file: file_ref, +}); +``` + +#### URLs + +`handle_file` can be passed a URL which it will convert into a reference that the client can understand. + +```ts +import { handle_file } from "@gradio/client"; + +const url_ref = handle_file("https://example.com/file.png"); + +const app = await Client.connect("user/space-name"); +const result = await app.predict("/predict", { + url: url_ref, +}); +``` + +#### Blobs + +`handle_file` can be passed a Blob which it will upload to the client server and return a reference that the client can understand. + +The upload is not initiated until predict or submit are called. + +```ts +import { handle_file } from "@gradio/client"; + +// not uploaded yet +const blob_ref = handle_file(new Blob(["Hello, world!"])); + +const app = await Client.connect("user/space-name"); + +// upload happens here +const result = await app.predict("/predict", { + blob: blob_ref, +}); +``` + +#### Buffers + +`handle_file` can be passed a Buffer which it will upload to the client server and return a reference that the client can understand. + +```ts +import { handle_file } from "@gradio/client"; +import { readFileSync } from "fs"; + +// not uploaded yet +const buffer_ref = handle_file(readFileSync("file.png")); + +const app = await Client.connect("user/space-name"); + +// upload happens here +const result = await app.predict("/predict", { + buffer: buffer_ref, +}); +``` \ No newline at end of file diff --git a/node_modules/@gradio/client/dist/__vite-browser-external-DYxpcVy9.js b/node_modules/@gradio/client/dist/__vite-browser-external-DYxpcVy9.js new file mode 100644 index 0000000000000000000000000000000000000000..a935c1d40fdca65888380f1b1716fc086957bbe9 --- /dev/null +++ b/node_modules/@gradio/client/dist/__vite-browser-external-DYxpcVy9.js @@ -0,0 +1,4 @@ +const e = {}; +export { + e as default +}; diff --git a/node_modules/@gradio/client/dist/browser.js b/node_modules/@gradio/client/dist/browser.js new file mode 100644 index 0000000000000000000000000000000000000000..fb049cc8644b6557814653ba06567e41e17a7203 --- /dev/null +++ b/node_modules/@gradio/client/dist/browser.js @@ -0,0 +1,1932 @@ +const We = "host", Te = "queue/data", Ze = "queue/join", ye = "upload", Ke = "login", K = "config", Ve = "info", Ye = "runtime", Qe = "sleeptime", Xe = "heartbeat", et = "component_server", tt = "reset", st = "cancel", nt = "app_id", Ae = "This application is currently busy. Please try again. ", M = "Connection errored out. ", D = "Could not resolve app config. ", it = "Could not get space status. ", ot = "Could not get API info. ", ue = "Space metadata could not be loaded. ", rt = "Invalid URL. A full URL path is required.", at = "Not authorized to access this space. ", xe = "Invalid credentials. Could not login. ", ct = "Login credentials are required to access this space.", ut = "File system access is only available in Node.js environments", Ce = "Root URL not found in client config", lt = "Error uploading file"; +async function be(e, s, t) { + try { + return (await (await fetch(`https://huggingface.co/api/spaces/${e}/jwt`, { + headers: { + Authorization: `Bearer ${s}`, + ...t ? { Cookie: t } : {} + } + })).json()).token || !1; + } catch { + return !1; + } +} +function pt(e) { + let s = {}; + return e.forEach(({ api_name: t, id: n }) => { + t && (s[t] = n); + }), s; +} +async function dt(e) { + const s = this.options.token ? { Authorization: `Bearer ${this.options.token}` } : {}; + if (s["Content-Type"] = "application/json", typeof window < "u" && window.gradio_config && location.origin !== "http://localhost:9876") { + if (window.gradio_config.current_page && (e = e.substring(0, e.lastIndexOf("/"))), window.gradio_config.dev_mode || typeof window < "u" && window?.BUILD_MODE === "dev") { + let t = ae( + e, + this.deep_link ? K + "?deep_link=" + this.deep_link : K + ); + const n = await this.fetch(t, { + headers: s, + credentials: "include" + }), i = await ve(n, !!this.options.auth); + i.root = e || i.root, window.gradio_config = { + ...i, + current_page: window.gradio_config.current_page + }; + } + return { ...window.gradio_config }; + } else if (e) { + let t = ae( + e, + this.deep_link ? K + "?deep_link=" + this.deep_link : K + ); + const n = await this.fetch(t, { + headers: s, + credentials: "include" + }), i = await ve(n, !!this.options.auth); + return i.root || (i.root = e), i; + } + throw new Error(D); +} +async function ve(e, s) { + if (e?.status === 401 && !s) { + const n = (await e.json())?.detail?.auth_message; + throw new Error(n || ct); + } else if (e?.status === 401 && s) + throw new Error(xe); + if (e?.status === 200) { + let t = await e.json(); + return t.dependencies?.forEach((n, i) => { + n.id === void 0 && (n.id = i); + }), t; + } else if (e?.status === 401) + throw new Error(at); + throw new Error(D); +} +async function ht() { + const { http_protocol: e, host: s } = await pe( + this.app_reference, + this.options.token + ); + try { + if (this.options.auth) { + const t = await De( + e, + s, + this.options.auth, + this.fetch, + this.options.token + ); + t && this.set_cookies(t); + } + } catch (t) { + throw Error(t.message); + } +} +async function De(e, s, t, n, i) { + const r = new FormData(); + r.append("username", t?.[0]), r.append("password", t?.[1]); + let o = {}; + i && (o.Authorization = `Bearer ${i}`); + const a = await n(`${e}//${s}/${Ke}`, { + headers: o, + method: "POST", + body: r, + credentials: "include" + }); + if (a.status === 200) + return a.headers.get("set-cookie"); + throw a.status === 401 ? new Error(xe) : new Error(ue); +} +function re(e) { + if (e.startsWith("http")) { + const { protocol: s, host: t, pathname: n } = new URL(e); + return { + ws_protocol: s === "https:" ? "wss" : "ws", + http_protocol: s, + host: t + (n !== "/" ? n : "") + }; + } + return { + ws_protocol: "wss", + http_protocol: "https:", + host: new URL(e).host + }; +} +const Ne = (e) => { + let s = []; + return e.split(/,(?=\s*[^\s=;]+=[^\s=;]+)/).forEach((n) => { + const [i, r] = n.split(";")[0].split("="); + i && r && s.push(`${i.trim()}=${r.trim()}`); + }), s; +}, le = /^[a-zA-Z0-9_\-\.]+\/[a-zA-Z0-9_\-\.]+$/, ft = /.*hf\.space\/{0,1}.*$/; +async function pe(e, s) { + const t = {}; + s && (t.Authorization = `Bearer ${s}`); + const n = e.trim().replace(/\/$/, ""); + if (le.test(n)) + try { + const r = (await (await fetch( + `https://huggingface.co/api/spaces/${n}/${We}`, + { headers: t } + )).json()).host; + return { + space_id: e, + ...re(r) + }; + } catch { + throw new Error(ue); + } + if (ft.test(n)) { + const { ws_protocol: i, http_protocol: r, host: o } = re(n); + return { + space_id: o.split("/")[0].replace(".hf.space", ""), + ws_protocol: i, + http_protocol: r, + host: o + }; + } + return { + space_id: !1, + ...re(n) + }; +} +const ae = (...e) => { + try { + return e.reduce((s, t) => (s = s.replace(/\/+$/, ""), t = t.replace(/^\/+/, ""), new URL(t, s + "/").toString())); + } catch { + throw new Error(rt); + } +}; +function _t(e, s, t) { + const n = { + named_endpoints: {}, + unnamed_endpoints: {} + }; + return Object.keys(e).forEach((i) => { + (i === "named_endpoints" || i === "unnamed_endpoints") && (n[i] = {}, Object.entries(e[i]).forEach( + ([r, { parameters: o, returns: a }]) => { + const u = s.dependencies.find( + (c) => c.api_name === r || c.api_name === r.replace("/", "") + )?.id || t[r.replace("/", "")] || -1, l = u !== -1 ? s.dependencies.find((c) => c.id == u)?.types : { generator: !1, cancel: !1 }; + if (u !== -1 && s.dependencies.find((c) => c.id == u)?.inputs?.length !== o.length) { + const c = s.dependencies.find((m) => m.id == u).inputs.map( + (m) => s.components.find((w) => w.id === m)?.type + ); + try { + c.forEach((m, w) => { + if (m === "state") { + const N = { + component: "state", + example: null, + parameter_default: null, + parameter_has_default: !0, + parameter_name: null, + hidden: !0 + }; + o.splice(w, 0, N); + } + }); + } catch (m) { + console.error(m); + } + } + const p = (c, m, w, N) => ({ + ...c, + description: gt(c?.type, w), + type: mt(c?.type, m, w, N) || "" + }); + n[i][r] = { + parameters: o.map( + (c) => p(c, c?.component, c?.serializer, "parameter") + ), + returns: a.map( + (c) => p(c, c?.component, c?.serializer, "return") + ), + type: l + }; + } + )); + }), n; +} +function mt(e, s, t, n) { + if (s === "Api") return e.type; + switch (e?.type) { + case "string": + return "string"; + case "boolean": + return "boolean"; + case "number": + return "number"; + } + if (t === "JSONSerializable" || t === "StringSerializable") + return "any"; + if (t === "ListStringSerializable") + return "string[]"; + if (s === "Image") + return n === "parameter" ? "Blob | File | Buffer" : "string"; + if (t === "FileSerializable") + return e?.type === "array" ? n === "parameter" ? "(Blob | File | Buffer)[]" : "{ name: string; data: string; size?: number; is_file?: boolean; orig_name?: string}[]" : n === "parameter" ? "Blob | File | Buffer" : "{ name: string; data: string; size?: number; is_file?: boolean; orig_name?: string}"; + if (t === "GallerySerializable") + return n === "parameter" ? "[(Blob | File | Buffer), (string | null)][]" : "[{ name: string; data: string; size?: number; is_file?: boolean; orig_name?: string}, (string | null))][]"; +} +function gt(e, s) { + return s === "GallerySerializable" ? "array of [file, label] tuples" : s === "ListStringSerializable" ? "array of strings" : s === "FileSerializable" ? "array of files or single file" : e?.description; +} +function Ee(e, s) { + switch (e.msg) { + case "send_data": + return { type: "data" }; + case "send_hash": + return { type: "hash" }; + case "queue_full": + return { + type: "update", + status: { + queue: !0, + message: Ae, + stage: "error", + code: e.code, + success: e.success + } + }; + case "heartbeat": + return { + type: "heartbeat" + }; + case "unexpected_error": + return { + type: "unexpected_error", + status: { + queue: !0, + message: e.message, + session_not_found: e.session_not_found, + stage: "error", + success: !1 + } + }; + case "broken_connection": + return { + type: "broken_connection", + status: { + queue: !0, + message: e.message, + stage: "error", + success: !1 + } + }; + case "estimation": + return { + type: "update", + status: { + queue: !0, + stage: s || "pending", + code: e.code, + size: e.queue_size, + position: e.rank, + eta: e.rank_eta, + success: e.success + } + }; + case "progress": + return { + type: "update", + status: { + queue: !0, + stage: "pending", + code: e.code, + progress_data: e.progress_data, + success: e.success + } + }; + case "log": + return { type: "log", data: e }; + case "process_generating": + return { + type: "generating", + status: { + queue: !0, + message: e.success ? null : e.output.error, + stage: e.success ? "generating" : "error", + code: e.code, + progress_data: e.progress_data, + eta: e.average_duration, + changed_state_ids: e.success ? e.output.changed_state_ids : void 0 + }, + data: e.success ? e.output : null + }; + case "process_streaming": + return { + type: "streaming", + status: { + queue: !0, + message: e.output.error, + stage: "streaming", + time_limit: e.time_limit, + code: e.code, + progress_data: e.progress_data, + eta: e.eta + }, + data: e.output + }; + case "process_completed": + return "error" in e.output ? { + type: "update", + status: { + queue: !0, + title: e.output.title ?? "Error", + message: e.output.error ?? "An error occurred", + visible: e.output.visible, + duration: e.output.duration, + stage: "error", + code: e.code, + success: e.success + } + } : { + type: "complete", + status: { + queue: !0, + message: e.success ? void 0 : e.output.error, + stage: e.success ? "complete" : "error", + code: e.code, + progress_data: e.progress_data, + changed_state_ids: e.success ? e.output.changed_state_ids : void 0 + }, + data: e.success ? e.output : null + }; + case "process_starts": + return { + type: "update", + status: { + queue: !0, + stage: "pending", + code: e.code, + size: e.rank, + position: 0, + success: e.success, + eta: e.eta + }, + original_msg: "process_starts" + }; + } + return { type: "none", status: { stage: "error", queue: !0 } }; +} +const wt = (e = [], s) => { + const t = s ? s.parameters : []; + if (Array.isArray(e)) + return s && t.length > 0 && e.length > t.length && console.warn("Too many arguments provided for the endpoint."), e; + const n = [], i = Object.keys(e); + return t.forEach((r, o) => { + if (e.hasOwnProperty(r.parameter_name)) + n[o] = e[r.parameter_name]; + else if (r.parameter_has_default) + n[o] = r.parameter_default; + else + throw new Error( + `No value provided for required parameter: ${r.parameter_name}` + ); + }), i.forEach((r) => { + if (!t.some((o) => o.parameter_name === r)) + throw new Error( + `Parameter \`${r}\` is not a valid keyword argument. Please refer to the API for usage.` + ); + }), n.forEach((r, o) => { + if (r === void 0 && !t[o].parameter_has_default) + throw new Error( + `No value provided for required parameter: ${t[o].parameter_name}` + ); + }), n; +}; +async function yt() { + if (this.api_info) return this.api_info; + const { token: e } = this.options, { config: s } = this, t = { "Content-Type": "application/json" }; + if (e && (t.Authorization = `Bearer ${e}`), !!s) + try { + let n, i; + if (typeof window < "u" && window.gradio_api_info) + i = window.gradio_api_info; + else { + const r = ae(s.root, this.api_prefix, Ve); + if (n = await this.fetch(r, { + headers: t, + credentials: "include" + }), !n.ok) + throw new Error(M); + i = await n.json(); + } + return "api" in i && (i = i.api), i.named_endpoints["/predict"] && !i.unnamed_endpoints[0] && (i.unnamed_endpoints[0] = i.named_endpoints["/predict"]), _t(i, s, this.api_map); + } catch (n) { + throw new Error("Could not get API info. " + n.message); + } +} +async function bt(e, s, t) { + const n = {}; + this?.options?.token && (n.Authorization = `Bearer ${this.options.token}`); + const i = 1e3, r = []; + let o; + for (let a = 0; a < s.length; a += i) { + const u = s.slice(a, a + i), l = new FormData(); + u.forEach((c) => { + l.append("files", c); + }); + try { + const c = t ? `${e}${this.api_prefix}/${ye}?upload_id=${t}` : `${e}${this.api_prefix}/${ye}`; + o = await this.fetch(c, { + method: "POST", + body: l, + headers: n, + credentials: "include" + }); + } catch (c) { + throw new Error(M + c.message); + } + if (!o.ok) { + const c = await o.text(); + return { error: `HTTP ${o.status}: ${c}` }; + } + const p = await o.json(); + p && r.push(...p); + } + return { files: r }; +} +const vt = { + radix: 1e3, + unit: ["b", "kb", "Mb", "Gb", "Tb", "Pb", "Eb", "Zb", "Yb"] +}, Et = { + radix: 1024, + unit: ["b", "Kib", "Mib", "Gib", "Tib", "Pib", "Eib", "Zib", "Yib"] +}, St = { + radix: 1024, + unit: ["b", "Kb", "Mb", "Gb", "Tb", "Pb", "Eb", "Zb", "Yb"] +}, Se = { + si: vt, + iec: Et, + jedec: St +}; +function $t(e, s = 1, t = "jedec") { + e = Math.abs(e); + const { radix: n, unit: i } = Se[t] || Se.jedec; + let r = 0; + for (; e >= n; ) + e /= n, ++r; + return `${e.toFixed(s)} ${i[r]}`; +} +async function kt(e, s, t, n) { + let i = (Array.isArray(e) ? e : [e]).map( + (o) => o.blob + ); + const r = i.filter( + (o) => o.size > (n ?? 1 / 0) + ); + if (r.length) + throw new Error( + `File(s) exceed the maximum allowed size of ${$t(n || 1 / 0)}: ${r.map((o) => `"${o.name}"`).join(", ")}` + ); + return await Promise.all( + await this.upload_files(s, i, t).then( + async (o) => { + if (o.error) + throw new Error(o.error); + return o.files ? o.files.map((a, u) => new Q({ + ...e[u], + path: a, + url: `${s}${this.api_prefix}/file=${a}` + })) : []; + } + ) + ); +} +async function Xt(e, s) { + return e.map( + (t) => new Q({ + path: t.name, + orig_name: t.name, + blob: t, + size: t.size, + mime_type: t.type, + is_stream: s + }) + ); +} +class Q { + path; + url; + orig_name; + size; + blob; + is_stream; + mime_type; + alt_text; + b64; + meta = { _type: "gradio.FileData" }; + constructor({ + path: s, + url: t, + orig_name: n, + size: i, + blob: r, + is_stream: o, + mime_type: a, + alt_text: u, + b64: l + }) { + this.path = s, this.url = t, this.orig_name = n, this.size = i, this.blob = t ? void 0 : r, this.is_stream = o, this.mime_type = a, this.alt_text = u, this.b64 = l; + } +} +class Le { + type; + command; + meta; + fileData; + constructor(s, t) { + this.type = "command", this.command = s, this.meta = t; + } +} +const Rt = typeof process < "u" && process.versions && process.versions.node; +function $e(e, s, t) { + for (; t.length > 1; ) { + const i = t.shift(); + if (typeof i == "string" || typeof i == "number") + e = e[i]; + else + throw new Error("Invalid key type"); + } + const n = t.shift(); + if (typeof n == "string" || typeof n == "number") + e[n] = s; + else + throw new Error("Invalid key type"); +} +async function ce(e, s = void 0, t = [], n = !1, i = void 0) { + if (Array.isArray(e)) { + let r = []; + return await Promise.all( + e.map(async (o, a) => { + let u = t.slice(); + u.push(String(a)); + const l = await ce( + e[a], + n ? i?.parameters[a]?.component || void 0 : s, + u, + !1, + i + ); + r = r.concat(l); + }) + ), r; + } else { + if (globalThis.Buffer && e instanceof globalThis.Buffer || e instanceof Blob) + return [ + { + path: t, + blob: new Blob([e]), + type: s + } + ]; + if (typeof e == "object" && e !== null) { + let r = []; + for (const o of Object.keys(e)) { + const a = [...t, o], u = e[o]; + r = r.concat( + await ce( + u, + void 0, + a, + !1, + i + ) + ); + } + return r; + } + } + return []; +} +function Ot(e, s) { + let t = s?.dependencies?.find((n) => n.id == e)?.queue; + return t != null ? !t : !s.enable_queue; +} +function Tt(e, s) { + return new Promise((t, n) => { + const i = new MessageChannel(); + i.port1.onmessage = (({ data: r }) => { + i.port1.close(), t(r); + }), window.parent.postMessage(e, s, [i.port2]); + }); +} +function es(e) { + if (typeof e == "string") { + if (e.startsWith("http://") || e.startsWith("https://")) + return { + path: e, + url: e, + orig_name: e.split("/").pop() ?? "unknown", + meta: { _type: "gradio.FileData" } + }; + if (Rt) + return new Le("upload_file", { + path: e, + name: e, + orig_path: e + }); + } else { + if (typeof File < "u" && e instanceof File) + return new Blob([e]); + if (e instanceof Buffer) + return new Blob([e]); + if (e instanceof Blob) + return e; + } + throw new Error( + "Invalid input: must be a URL, File, Blob, or Buffer object." + ); +} +function V(e, s, t, n, i = !1) { + if (n === "input" && !i) + throw new Error("Invalid code path. Cannot skip state inputs for input."); + if (n === "output" && i) + return e; + let r = [], o = 0; + const a = n === "input" ? s.inputs : s.outputs; + for (let u = 0; u < a.length; u++) { + const l = a[u]; + if (t.find((c) => c.id === l)?.type === "state") { + if (i) + if (e.length === a.length) { + const c = e[o]; + r.push(c), o++; + } else + r.push(null); + else { + o++; + continue; + } + continue; + } else { + const c = e[o]; + r.push(c), o++; + } + } + return r; +} +async function At(e, s, t) { + const n = this; + await xt(n, s); + const i = await ce( + s, + void 0, + [], + !0, + t + ); + return (await Promise.all( + i.map(async ({ path: o, blob: a, type: u }) => { + if (!a) return { path: o, type: u }; + const l = await n.upload_files(e, [a]), p = l.files && l.files[0]; + return { + path: o, + file_url: p, + type: u, + name: typeof File < "u" && a instanceof File ? a?.name : void 0 + }; + }) + )).forEach(({ path: o, file_url: a, type: u, name: l }) => { + if (u === "Gallery") + $e(s, a, o); + else if (a) { + const p = new Q({ path: a, orig_name: l }); + $e(s, p, o); + } + }), s; +} +async function xt(e, s) { + if (!(e.config?.root || e.config?.root_url)) + throw new Error(Ce); + await Pe(e, s); +} +async function Pe(e, s, t = []) { + for (const n in s) + s[n] instanceof Le ? await Ct(e, s, n) : typeof s[n] == "object" && s[n] !== null && await Pe(e, s[n], [...t, n]); +} +async function Ct(e, s, t) { + let n = s[t]; + const i = e.config?.root || e.config?.root_url; + if (!i) + throw new Error(Ce); + try { + let r, o; + if (typeof process < "u" && process.versions && process.versions.node) { + const p = await import("./__vite-browser-external-DYxpcVy9.js"); + o = (await import("./__vite-browser-external-DYxpcVy9.js")).resolve(process.cwd(), n.meta.path), r = await p.readFile(o); + } else + throw new Error(ut); + const a = new Blob([r], { + type: "application/octet-stream" + }), u = await e.upload_files(i, [a]), l = u.files && u.files[0]; + if (l) { + const p = new Q({ + path: l, + orig_name: n.meta.name || "" + }); + s[t] = p; + } + } catch (r) { + console.error(lt, r); + } +} +async function Dt(e, s, t) { + const n = { "Content-Type": "application/json" }; + this.options.token && (n.Authorization = `Bearer ${this.options.token}`); + try { + var i = await this.fetch(e, { + method: "POST", + body: JSON.stringify(s), + headers: { ...n, ...t }, + credentials: "include" + }); + } catch { + return [{ error: M }, 500]; + } + let r, o; + try { + r = await i.json(), o = i.status; + } catch (a) { + r = { error: `Could not parse server response: ${a}` }, o = 500; + } + return [r, o]; +} +async function Nt(e, s = {}) { + let t = !1, n = !1; + if (!this.config) + throw new Error("Could not resolve app config"); + if (typeof e == "number") + this.config.dependencies.find((i) => i.id == e); + else { + const i = e.replace(/^\//, ""); + this.config.dependencies.find( + (r) => r.id == this.api_map[i] + ); + } + return new Promise(async (i, r) => { + const o = this.submit(e, s, null, null, !0); + let a; + for await (const u of o) + u.type === "data" && (n && i(a), t = !0, a = u), u.type === "status" && (u.stage === "error" && r(u), u.stage === "complete" && (n = !0, t && i(a))); + }); +} +async function G(e, s, t) { + let n = s === "subdomain" ? `https://huggingface.co/api/spaces/by-subdomain/${e}` : `https://huggingface.co/api/spaces/${e}`, i, r; + try { + if (i = await fetch(n), r = i.status, r !== 200) + throw new Error(); + i = await i.json(); + } catch { + t({ + status: "error", + load_status: "error", + message: it, + detail: "NOT_FOUND" + }); + return; + } + if (!i || r !== 200) return; + const { + runtime: { stage: o }, + id: a + } = i; + switch (o) { + case "STOPPED": + case "SLEEPING": + t({ + status: "sleeping", + load_status: "pending", + message: "Space is asleep. Waking it up...", + detail: o + }), setTimeout(() => { + G(e, s, t); + }, 1e3); + break; + case "PAUSED": + t({ + status: "paused", + load_status: "error", + message: "This space has been paused by the author. If you would like to try this demo, consider duplicating the space.", + detail: o, + discussions_enabled: await ke(a) + }); + break; + case "RUNNING": + case "RUNNING_BUILDING": + t({ + status: "running", + load_status: "complete", + message: "Space is running.", + detail: o + }); + break; + case "BUILDING": + t({ + status: "building", + load_status: "pending", + message: "Space is building...", + detail: o + }), setTimeout(() => { + G(e, s, t); + }, 1e3); + break; + case "APP_STARTING": + t({ + status: "starting", + load_status: "pending", + message: "Space is starting...", + detail: o + }), setTimeout(() => { + G(e, s, t); + }, 1e3); + break; + default: + t({ + status: "space_error", + load_status: "error", + message: "This space is experiencing an issue.", + detail: o, + discussions_enabled: await ke(a) + }); + break; + } +} +const Ie = async (e, s) => { + let t = 0; + const n = 12, i = 5e3; + return new Promise((r) => { + G( + e, + le.test(e) ? "space_name" : "subdomain", + (o) => { + s(o), o.status === "running" || o.status === "error" || o.status === "paused" || o.status === "space_error" ? r() : (o.status === "sleeping" || o.status === "building") && (t < n ? (t++, setTimeout(() => { + Ie(e, s).then(r); + }, i)) : r()); + } + ); + }); +}, Lt = /^(?=[^]*\b[dD]iscussions{0,1}\b)(?=[^]*\b[dD]isabled\b)[^]*$/; +async function ke(e) { + try { + const s = await fetch( + `https://huggingface.co/api/spaces/${e}/discussions`, + { + method: "HEAD" + } + ), t = s.headers.get("x-error-message"); + return !(!s.ok || t && Lt.test(t)); + } catch { + return !1; + } +} +async function Pt(e, s) { + const t = {}; + s && (t.Authorization = `Bearer ${s}`); + try { + const n = await fetch( + `https://huggingface.co/api/spaces/${e}/${Ye}`, + { headers: t } + ); + if (n.status !== 200) + throw new Error("Space hardware could not be obtained."); + const { hardware: i } = await n.json(); + return i.current; + } catch (n) { + throw new Error(n.message); + } +} +async function It(e, s, t) { + const n = {}; + t && (n.Authorization = `Bearer ${t}`); + const i = { + seconds: s + }; + try { + const r = await fetch( + `https://huggingface.co/api/spaces/${e}/${Qe}`, + { + method: "POST", + headers: { "Content-Type": "application/json", ...n }, + body: JSON.stringify(i) + } + ); + if (r.status !== 200) + throw new Error( + "Could not set sleep timeout on duplicated Space. Please visit *ADD HF LINK TO SETTINGS* to set a timeout manually to reduce billing charges." + ); + return await r.json(); + } catch (r) { + throw new Error(r.message); + } +} +const Re = [ + "cpu-basic", + "cpu-upgrade", + "cpu-xl", + "t4-small", + "t4-medium", + "a10g-small", + "a10g-large", + "a10g-largex2", + "a10g-largex4", + "a100-large", + "zero-a10g", + "h100", + "h100x8" +]; +async function jt(e, s) { + const { token: t, private: n, hardware: i, timeout: r, auth: o } = s; + if (i && !Re.includes(i)) + throw new Error( + `Invalid hardware type provided. Valid types are: ${Re.map((g) => `"${g}"`).join(",")}.` + ); + const { http_protocol: a, host: u } = await pe(e, t); + let l = null; + if (o) { + const g = await De( + a, + u, + o, + fetch + ); + g && (l = Ne(g)); + } + const p = { + Authorization: `Bearer ${t}`, + "Content-Type": "application/json", + ...l ? { Cookie: l.join("; ") } : {} + }, c = (await (await fetch("https://huggingface.co/api/whoami-v2", { + headers: p + })).json()).name, m = e.split("/")[1], w = { + repository: `${c}/${m}` + }; + n && (w.private = !0); + let N; + try { + i || (N = await Pt(e, t)); + } catch (g) { + throw Error(ue + g.message); + } + const f = i || N || "cpu-basic"; + w.hardware = f; + try { + const g = await fetch( + `https://huggingface.co/api/spaces/${e}/duplicate`, + { + method: "POST", + headers: p, + body: JSON.stringify(w) + } + ); + if (g.status === 409) + try { + return await Y.connect(`${c}/${m}`, s); + } catch (q) { + throw console.error("Failed to connect Client instance:", q), q; + } + else if (g.status !== 200) + throw new Error(g.statusText); + const H = await g.json(); + return await It(`${c}/${m}`, r || 300, t), await Y.connect( + Ut(H.url), + s + ); + } catch (g) { + throw new Error(g); + } +} +function Ut(e) { + const s = /https:\/\/huggingface.co\/spaces\/([^/]+\/[^/]+)/, t = e.match(s); + if (t) + return t[1]; +} +class qt extends TransformStream { + #e = ""; + /** Constructs a new instance. */ + constructor(s = { allowCR: !1 }) { + super({ + transform: (t, n) => { + for (t = this.#e + t; ; ) { + const i = t.indexOf(` +`), r = s.allowCR ? t.indexOf("\r") : -1; + if (r !== -1 && r !== t.length - 1 && (i === -1 || i - 1 > r)) { + n.enqueue(t.slice(0, r)), t = t.slice(r + 1); + continue; + } + if (i === -1) + break; + const o = t[i - 1] === "\r" ? i - 1 : i; + n.enqueue(t.slice(0, o)), t = t.slice(i + 1); + } + this.#e = t; + }, + flush: (t) => { + if (this.#e === "") + return; + const n = s.allowCR && this.#e.endsWith("\r") ? this.#e.slice(0, -1) : this.#e; + t.enqueue(n); + } + }); + } +} +function zt(e) { + let s = new TextDecoderStream(), t = new qt({ allowCR: !0 }); + return e.pipeThrough(s).pipeThrough(t); +} +function Bt(e) { + let t = /[:]\s*/.exec(e), n = t && t.index; + if (n) + return [ + e.substring(0, n), + e.substring(n + t[0].length) + ]; +} +function Oe(e, s, t) { + e.get(s) || e.set(s, t); +} +async function* Ft(e, s) { + if (!e.body) + return; + let t = zt(e.body), n, i = t.getReader(), r; + for (; ; ) { + if (s && s.aborted) + return i.cancel(); + if (n = await i.read(), n.done) + return; + if (!n.value) { + r && (yield r), r = void 0; + continue; + } + let [o, a] = Bt(n.value) || []; + o === "data" ? (r ||= {}, r[o] = r[o] ? r[o] + ` +` + a : a) : o === "event" ? (r ||= {}, r[o] = a) : o === "id" ? (r ||= {}, r[o] = String(+a) === a ? +a : a) : o === "retry" && (r ||= {}, r[o] = +a || void 0); + } +} +async function Gt(e, s) { + let t = new Request(e, s); + Oe(t.headers, "Accept", "text/event-stream"), Oe(t.headers, "Content-Type", "application/json"); + let n = await fetch(t); + if (!n.ok) + throw n; + return Ft(n, t.signal); +} +async function Mt() { + let { + event_callbacks: e, + unclosed_events: s, + pending_stream_messages: t, + stream_status: n, + config: i, + jwt: r + } = this; + const o = this; + if (!i) + throw new Error("Could not resolve app config"); + n.open = !0; + let a = null, u = new URLSearchParams({ + session_hash: this.session_hash + }).toString(), l = new URL(`${i.root}${this.api_prefix}/${Te}?${u}`); + if (r && l.searchParams.set("__sign", r), a = this.stream(l), !a) { + console.warn("Cannot connect to SSE endpoint: " + l.toString()); + return; + } + a.onmessage = async function(p) { + let c = JSON.parse(p.data); + if (c.msg === "close_stream") { + de(n, o.abort_controller); + return; + } + const m = c.event_id; + if (!m) + await Promise.all( + Object.keys(e).map( + (w) => e[w](c) + ) + ); + else if (e[m] && i) { + c.msg === "process_completed" && ["sse", "sse_v1", "sse_v2", "sse_v2.1", "sse_v3"].includes( + i.protocol + ) && s.delete(m); + let w = e[m]; + typeof window < "u" && typeof document < "u" ? setTimeout(w, 0, c) : w(c); + } else + t[m] || (t[m] = []), t[m].push(c); + }, a.onerror = async function(p) { + console.error(p), await Promise.all( + Object.keys(e).map( + (c) => e[c]({ + msg: "broken_connection", + message: M + }) + ) + ); + }; +} +function de(e, s) { + e && (e.open = !1, s?.abort()); +} +function Ht(e, s, t) { + !e[s] ? (e[s] = [], t.data.forEach((i, r) => { + e[s][r] = i; + })) : t.data.forEach((i, r) => { + let o = Jt(e[s][r], i); + e[s][r] = o, t.data[r] = o; + }); +} +function Jt(e, s) { + return s.forEach(([t, n, i]) => { + e = Wt(e, n, t, i); + }), e; +} +function Wt(e, s, t, n) { + if (s.length === 0) { + if (t === "replace") + return n; + if (t === "append") + return e + n; + throw new Error(`Unsupported action: ${t}`); + } + let i = e; + for (let o = 0; o < s.length - 1; o++) + i = i[s[o]]; + const r = s[s.length - 1]; + switch (t) { + case "replace": + i[r] = n; + break; + case "append": + i[r] += n; + break; + case "add": + Array.isArray(i) ? i.splice(Number(r), 0, n) : i[r] = n; + break; + case "delete": + Array.isArray(i) ? i.splice(Number(r), 1) : delete i[r]; + break; + default: + throw new Error(`Unknown action: ${t}`); + } + return e; +} +function Zt(e, s = {}) { + const t = { + close: () => { + console.warn("Method not implemented."); + }, + onerror: null, + onmessage: null, + onopen: null, + readyState: 0, + url: e.toString(), + withCredentials: !1, + CONNECTING: 0, + OPEN: 1, + CLOSED: 2, + addEventListener: () => { + throw new Error("Method not implemented."); + }, + dispatchEvent: () => { + throw new Error("Method not implemented."); + }, + removeEventListener: () => { + throw new Error("Method not implemented."); + } + }; + return Gt(e, s).then(async (n) => { + t.readyState = t.OPEN; + try { + for await (const i of n) + t.onmessage && t.onmessage(i); + t.readyState = t.CLOSED; + } catch (i) { + t.onerror && t.onerror(i), t.readyState = t.CLOSED; + } + }).catch((n) => { + console.error(n), t.onerror && t.onerror(n), t.readyState = t.CLOSED; + }), t; +} +function Kt(e, s = {}, t, n, i, r) { + try { + let o = function(h) { + (i || ze[h.type]) && p(h); + }, a = function() { + for (Me = !0; F.length > 0; ) + F.shift()({ + value: void 0, + done: !0 + }); + }, u = function(h) { + F.length > 0 ? F.shift()(h) : ie.push(h); + }, l = function(h) { + u(Vt(h)), a(); + }, p = function(h) { + u({ value: h, done: !1 }); + }, c = function() { + return ie.length > 0 ? Promise.resolve(ie.shift()) : new Promise((h) => F.push(h)); + }; + const { token: m } = this.options, { + fetch: w, + app_reference: N, + config: f, + session_hash: g, + api_info: H, + api_map: q, + stream_status: X, + pending_stream_messages: ee, + pending_diff_streams: te, + event_callbacks: se, + unclosed_events: je, + post_data: ne, + options: J, + api_prefix: R + } = this, he = r || { "x-gradio-user": "api" }, Ue = this; + if (!H) throw new Error("No API found"); + if (!f) throw new Error("Could not resolve app config"); + let { fn_index: d, endpoint_info: fe, dependency: z } = Yt( + H, + e, + q, + f + ), qe = wt(s, fe), j, O = f.protocol ?? "ws"; + if (O === "ws") + throw new Error("WebSocket protocol is not supported in this version"); + let U = "", Qt = () => U; + const _ = typeof e == "number" ? "/predict" : e; + let W, b = null, T = !1, _e = {}, B = typeof window < "u" && typeof document < "u" ? new URLSearchParams(window.location.search).toString() : ""; + const ze = J?.events?.reduce( + (h, k) => (h[k] = !0, h), + {} + ) || {}; + async function Be() { + let h = {}, k = {}; + h = { event_id: b }, k = { event_id: b, session_hash: g, fn_index: d }; + try { + if (!f) + throw new Error("Could not resolve app config"); + "event_id" in k && await w(`${f.root}${R}/${st}`, { + headers: { "Content-Type": "application/json" }, + method: "POST", + body: JSON.stringify(k) + }), await w(`${f.root}${R}/${tt}`, { + headers: { "Content-Type": "application/json" }, + method: "POST", + body: JSON.stringify(h) + }); + } catch { + console.warn( + "The `/reset` endpoint could not be called. Subsequent endpoint results may be unreliable." + ); + } + } + const Fe = async (h) => { + await this._resolve_heartbeat(h); + }; + async function me(h) { + if (!f) return; + let k = h.render_id; + f.components = [ + ...f.components.filter((v) => v.props.rendered_in !== k), + ...h.components + ], f.dependencies = [ + ...f.dependencies.filter((v) => v.rendered_in !== k), + ...h.dependencies + ]; + const Z = f.components.some((v) => v.type === "state"), y = f.dependencies.some( + (v) => v.targets.some((L) => L[1] === "unload") + ); + f.connect_heartbeat = Z || y, await Fe(f), o({ + type: "render", + data: h, + endpoint: _, + fn_index: d + }); + } + const Ge = this.handle_blob( + f.root, + qe, + fe + ).then(async (h) => { + if (W = { + data: V( + h, + z, + f.components, + "input", + !0 + ) || [], + event_data: t, + fn_index: d, + trigger_id: n + }, Ot(d, f)) + o({ + type: "status", + endpoint: _, + stage: "pending", + queue: !1, + fn_index: d, + time: /* @__PURE__ */ new Date() + }), ne( + `${f.root}${R}/run${_.startsWith("/") ? _ : `/${_}`}${B ? "?" + B : ""}`, + { + ...W, + session_hash: g + }, + he + ).then(async ([y, v]) => { + const L = y.data; + v == 200 ? (o({ + type: "data", + endpoint: _, + fn_index: d, + data: V( + L, + z, + f.components, + "output", + J.with_null_state + ), + time: /* @__PURE__ */ new Date(), + event_data: t, + trigger_id: n + }), y.render_config && await me(y.render_config), o({ + type: "status", + endpoint: _, + fn_index: d, + stage: "complete", + eta: y.average_duration, + queue: !1, + time: /* @__PURE__ */ new Date() + })) : o({ + type: "status", + stage: "error", + endpoint: _, + fn_index: d, + message: y.error, + queue: !1, + time: /* @__PURE__ */ new Date() + }); + }).catch((y) => { + o({ + type: "status", + stage: "error", + message: y.message, + endpoint: _, + fn_index: d, + queue: !1, + time: /* @__PURE__ */ new Date() + }); + }); + else if (O == "sse") { + o({ + type: "status", + stage: "pending", + queue: !0, + endpoint: _, + fn_index: d, + time: /* @__PURE__ */ new Date() + }); + var Z = new URLSearchParams({ + fn_index: d.toString(), + session_hash: g + }).toString(); + let y = new URL( + `${f.root}${R}/${Te}?${B ? B + "&" : ""}${Z}` + ); + if (this.jwt && y.searchParams.set("__sign", this.jwt), j = this.stream(y), !j) + return Promise.reject( + new Error("Cannot connect to SSE endpoint: " + y.toString()) + ); + j.onmessage = async function(v) { + const L = JSON.parse(v.data), { type: P, status: A, data: x } = Ee( + L, + _e[d] + ); + if (P === "update" && A && !T) + o({ + type: "status", + endpoint: _, + fn_index: d, + time: /* @__PURE__ */ new Date(), + ...A + }), A.stage === "error" && (j?.close(), a()); + else if (P === "data") { + let [C, I] = await ne( + `${f.root}${R}/queue/data`, + { + ...W, + session_hash: g, + event_id: b + } + ); + I !== 200 && (o({ + type: "status", + stage: "error", + message: M, + queue: !0, + endpoint: _, + fn_index: d, + time: /* @__PURE__ */ new Date() + }), j?.close(), a()); + } else P === "complete" ? T = A : P === "log" ? o({ + type: "log", + title: x.title, + log: x.log, + level: x.level, + endpoint: _, + duration: x.duration, + visible: x.visible, + fn_index: d + }) : (P === "generating" || P === "streaming") && o({ + type: "status", + time: /* @__PURE__ */ new Date(), + ...A, + stage: A?.stage, + queue: !0, + endpoint: _, + fn_index: d + }); + x && (o({ + type: "data", + time: /* @__PURE__ */ new Date(), + data: V( + x.data, + z, + f.components, + "output", + J.with_null_state + ), + endpoint: _, + fn_index: d, + event_data: t, + trigger_id: n + }), T && (o({ + type: "status", + time: /* @__PURE__ */ new Date(), + ...T, + stage: A?.stage, + queue: !0, + endpoint: _, + fn_index: d + }), j?.close(), a())); + }; + } else if (O == "sse_v1" || O == "sse_v2" || O == "sse_v2.1" || O == "sse_v3") { + o({ + type: "status", + stage: "pending", + queue: !0, + endpoint: _, + fn_index: d, + time: /* @__PURE__ */ new Date() + }); + let y = ""; + typeof window < "u" && typeof document < "u" && (y = window?.location?.hostname); + const L = y.includes(".dev.") ? `https://moon-${y.split(".")[1]}.dev.spaces.huggingface.tech` : "https://huggingface.co"; + return (typeof window < "u" && typeof document < "u" && window.parent != window && window.supports_zerogpu_headers ? Tt("zerogpu-headers", L) : Promise.resolve(null)).then((C) => { + const I = { ...he, ...C || {} }; + return ne( + `${f.root}${R}/${Ze}?${B}`, + { + ...W, + session_hash: g + }, + I + ); + }).then(async ([C, I]) => { + if (C.event_id && (U = C.event_id), I === 503) + o({ + type: "status", + stage: "error", + message: Ae, + queue: !0, + endpoint: _, + fn_index: d, + time: /* @__PURE__ */ new Date(), + visible: !0 + }); + else if (I === 422) + o({ + type: "status", + stage: "error", + message: C.detail, + queue: !0, + endpoint: _, + fn_index: d, + code: "validation_error", + time: /* @__PURE__ */ new Date(), + visible: !0 + }), a(); + else if (I !== 200) + o({ + type: "status", + stage: "error", + broken: !1, + message: C.detail, + queue: !0, + endpoint: _, + fn_index: d, + time: /* @__PURE__ */ new Date(), + visible: !0 + }); + else { + b = C.event_id, U = b; + let we = async function(oe) { + try { + const { type: E, status: S, data: $, original_msg: He } = Ee( + oe, + _e[d] + ); + if (E == "heartbeat") + return; + if (E === "update" && S && !T) + o({ + type: "status", + endpoint: _, + fn_index: d, + time: /* @__PURE__ */ new Date(), + original_msg: He, + ...S + }); + else if (E === "complete") + T = S; + else if (E == "unexpected_error" || E == "broken_connection") { + console.error("Unexpected error", S?.message); + const Je = E === "broken_connection"; + o({ + type: "status", + stage: "error", + message: S?.message || "An Unexpected Error Occurred!", + queue: !0, + endpoint: _, + broken: Je, + session_not_found: S?.session_not_found, + fn_index: d, + time: /* @__PURE__ */ new Date() + }); + } else if (E === "log") { + o({ + type: "log", + title: $.title, + log: $.log, + level: $.level, + endpoint: _, + duration: $.duration, + visible: $.visible, + fn_index: d + }); + return; + } else (E === "generating" || E === "streaming") && (o({ + type: "status", + time: /* @__PURE__ */ new Date(), + ...S, + stage: S?.stage, + queue: !0, + endpoint: _, + fn_index: d + }), $ && z.connection !== "stream" && ["sse_v2", "sse_v2.1", "sse_v3"].includes(O) && Ht(te, b, $)); + $ && (o({ + type: "data", + time: /* @__PURE__ */ new Date(), + data: V( + $.data, + z, + f.components, + "output", + J.with_null_state + ), + endpoint: _, + fn_index: d + }), $.render_config && await me($.render_config), T && (o({ + type: "status", + time: /* @__PURE__ */ new Date(), + ...T, + stage: S?.stage, + queue: !0, + endpoint: _, + fn_index: d + }), a())), (S?.stage === "complete" || S?.stage === "error") && (se[b] && delete se[b], b in te && delete te[b]); + } catch (E) { + console.error("Unexpected client exception", E), o({ + type: "status", + stage: "error", + message: "An Unexpected Error Occurred!", + queue: !0, + endpoint: _, + fn_index: d, + time: /* @__PURE__ */ new Date() + }), ["sse_v2", "sse_v2.1", "sse_v3"].includes(O) && (de(X, Ue.abort_controller), X.open = !1, a()); + } + }; + b in ee && (ee[b].forEach((oe) => we(oe)), delete ee[b]), se[b] = we, je.add(b), X.open || await this.open_stream(); + } + }); + } + }); + let Me = !1; + const ie = [], F = [], ge = { + [Symbol.asyncIterator]: () => ge, + next: c, + throw: async (h) => (l(h), c()), + return: async () => (a(), { value: void 0, done: !0 }), + cancel: Be, + send_chunk: (h) => { + this.post_data(`${f.root}${R}/stream/${U}`, { + ...h, + session_hash: this.session_hash + }); + }, + close_stream: () => { + this.post_data( + `${f.root}${R}/stream/${U}/close`, + {} + ), a(); + }, + event_id: () => U, + wait_for_id: async () => (await Ge, b) + }; + return ge; + } catch (o) { + throw console.error("Submit function encountered an error:", o), o; + } +} +function Vt(e) { + return { + then: (s, t) => t(e) + }; +} +function Yt(e, s, t, n) { + let i, r, o; + if (typeof s == "number") + i = s, r = e.unnamed_endpoints[i], o = n.dependencies.find((a) => a.id == s); + else { + const a = s.replace(/^\//, ""); + i = t[a], r = e.named_endpoints[s.trim()], o = n.dependencies.find( + (u) => u.id == t[a] + ); + } + if (typeof i != "number") + throw new Error( + "There is no endpoint matching that name of fn_index matching that number." + ); + return { fn_index: i, endpoint_info: r, dependency: o }; +} +class Y { + app_reference; + options; + deep_link = null; + config; + api_prefix = ""; + api_info; + api_map = {}; + session_hash = Math.random().toString(36).substring(2); + jwt = !1; + last_status = {}; + cookies = null; + // streaming + stream_status = { open: !1 }; + closed = !1; + pending_stream_messages = {}; + pending_diff_streams = {}; + event_callbacks = {}; + unclosed_events = /* @__PURE__ */ new Set(); + heartbeat_event = null; + abort_controller = null; + stream_instance = null; + current_payload; + get_url_config(s = null) { + if (!this.config) + throw new Error(D); + s === null && (s = window.location.href); + const t = (o) => o.replace(/^\/+|\/+$/g, ""); + let n = t(new URL(this.config.root).pathname), i = t(new URL(s).pathname), r; + return i.startsWith(n) ? r = t(i.substring(n.length)) : r = "", this.get_page_config(r); + } + get_page_config(s) { + if (!this.config) + throw new Error(D); + let t = this.config; + return s in t.page || (s = ""), { + ...t, + current_page: s, + layout: t.page[s].layout, + components: t.components.filter( + (n) => t.page[s].components.includes(n.id) + ), + dependencies: this.config.dependencies.filter( + (n) => t.page[s].dependencies.includes(n.id) + ) + }; + } + fetch(s, t) { + const n = new Headers(t?.headers || {}); + return this && this.cookies && n.append("Cookie", this.cookies), this && this.options.headers && new Headers(this.options.headers).forEach((r, o) => { + n.append(o, r); + }), fetch(s, { ...t, headers: n }); + } + stream(s) { + const t = new Headers(); + return this && this.cookies && t.append("Cookie", this.cookies), this && this.options.headers && new Headers(this.options.headers).forEach((i, r) => { + t.append(r, i); + }), this && this.options.token && t.append("Authorization", `Bearer ${this.options.token}`), this.abort_controller = new AbortController(), this.stream_instance = Zt(s.toString(), { + credentials: "include", + headers: t, + signal: this.abort_controller.signal + }), this.stream_instance; + } + view_api; + upload_files; + upload; + handle_blob; + post_data; + submit; + predict; + open_stream; + resolve_config; + resolve_cookies; + constructor(s, t = { events: ["data"] }) { + this.app_reference = s, this.deep_link = t.query_params?.deep_link || null, t.events || (t.events = ["data"]), this.options = t, this.current_payload = {}, t.cookies && (this.cookies = t.cookies), this.view_api = yt.bind(this), this.upload_files = bt.bind(this), this.handle_blob = At.bind(this), this.post_data = Dt.bind(this), this.submit = Kt.bind(this), this.predict = Nt.bind(this), this.open_stream = Mt.bind(this), this.resolve_config = dt.bind(this), this.resolve_cookies = ht.bind(this), this.upload = kt.bind(this), this.fetch = this.fetch.bind(this), this.handle_space_success = this.handle_space_success.bind(this), this.stream = this.stream.bind(this); + } + async init() { + this.options.auth && await this.resolve_cookies(), await this._resolve_config().then( + ({ config: s }) => this._resolve_heartbeat(s) + ), this.api_info = await this.view_api(), this.api_map = pt(this.config?.dependencies || []); + } + async _resolve_heartbeat(s) { + if (s && (this.config = s, this.api_prefix = s.api_prefix || "", this.config && this.config.connect_heartbeat && this.config.space_id && this.options.token && (this.jwt = await be( + this.config.space_id, + this.options.token, + this.cookies + ))), s.space_id && this.options.token && (this.jwt = await be(s.space_id, this.options.token)), this.config && this.config.connect_heartbeat) { + const t = new URL( + `${this.config.root}${this.api_prefix}/${Xe}/${this.session_hash}` + ); + this.jwt && t.searchParams.set("__sign", this.jwt), this.heartbeat_event || (this.heartbeat_event = this.stream(t)); + } + } + static async connect(s, t = { + events: ["data"] + }) { + const n = new this(s, t); + return t.session_hash && (n.session_hash = t.session_hash), await n.init(), n; + } + async reconnect() { + const s = new URL( + `${this.config.root}${this.api_prefix}/${nt}` + ); + let t; + try { + const n = await this.fetch(s); + if (!n.ok) + throw new Error(); + t = (await n.json()).app_id; + } catch { + return "broken"; + } + return t !== this.config.app_id ? "changed" : "connected"; + } + close() { + this.closed = !0, de(this.stream_status, this.abort_controller); + } + set_current_payload(s) { + this.current_payload = s; + } + static async duplicate(s, t = { + events: ["data"] + }) { + return jt(s, t); + } + async _resolve_config() { + const { http_protocol: s, host: t, space_id: n } = await pe( + this.app_reference, + this.options.token + ), { status_callback: i } = this.options; + n && i && await Ie(n, i); + let r; + try { + let o = `${s}//${t}`; + if (r = await this.resolve_config(o), !r) + throw new Error(D); + return this.config_success(r); + } catch (o) { + if (n && i) + G( + n, + le.test(n) ? "space_name" : "subdomain", + this.handle_space_success + ); + else + throw i && i({ + status: "error", + message: "Could not load this space.", + load_status: "error", + detail: "NOT_FOUND" + }), Error(o); + } + } + async config_success(s) { + if (this.config = s, this.api_prefix = s.api_prefix || "", this.config.auth_required) + return this.prepare_return_obj(); + try { + this.api_info = await this.view_api(); + } catch (t) { + console.error(ot + t.message); + } + return this.prepare_return_obj(); + } + async handle_space_success(s) { + if (!this) + throw new Error(D); + const { status_callback: t } = this.options; + if (t && t(s), s.status === "running") + try { + if (this.config = await this._resolve_config(), this.api_prefix = this?.config?.api_prefix || "", !this.config) + throw new Error(D); + return await this.config_success(this.config); + } catch (n) { + throw t && t({ + status: "error", + message: "Could not load this space.", + load_status: "error", + detail: "NOT_FOUND" + }), n; + } + } + async component_server(s, t, n) { + if (!this.config) + throw new Error(D); + const i = {}, { token: r } = this.options, { session_hash: o } = this; + r && (i.Authorization = `Bearer ${this.options.token}`); + let a, u = this.config.components.find( + (p) => p.id === s + ); + u?.props?.root_url ? a = u.props.root_url : a = this.config.root; + let l; + if ("binary" in n) { + l = new FormData(); + for (const p in n.data) + p !== "binary" && l.append(p, n.data[p]); + l.set("component_id", s.toString()), l.set("fn_name", t), l.set("session_hash", o); + } else + l = JSON.stringify({ + data: n, + component_id: s, + fn_name: t, + session_hash: o + }), i["Content-Type"] = "application/json"; + r && (i.Authorization = `Bearer ${r}`); + try { + const p = await this.fetch( + `${a}${this.api_prefix}/${et}/`, + { + method: "POST", + body: l, + headers: i, + credentials: "include" + } + ); + if (!p.ok) + throw new Error( + "Could not connect to component server: " + p.statusText + ); + return await p.json(); + } catch (p) { + console.warn(p); + } + } + set_cookies(s) { + this.cookies = Ne(s).join("; "); + } + prepare_return_obj() { + return { + config: this.config, + predict: this.predict, + submit: this.submit, + view_api: this.view_api, + component_server: this.component_server + }; + } +} +async function ts(e, s = { + events: ["data"] +}) { + return await Y.connect(e, s); +} +async function ss(e, s) { + return await Y.duplicate(e, s); +} +export { + Y as Client, + Q as FileData, + ct as MISSING_CREDENTIALS_MSG, + ts as client, + ss as duplicate, + es as handle_file, + Nt as predict, + Xt as prepare_files, + Kt as submit, + kt as upload, + bt as upload_files +}; diff --git a/node_modules/@gradio/client/dist/client.d.ts b/node_modules/@gradio/client/dist/client.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..4f09794de0f36fe9aee444e0350e6b76277132bc --- /dev/null +++ b/node_modules/@gradio/client/dist/client.d.ts @@ -0,0 +1,78 @@ +import type { ApiData, ApiInfo, ClientOptions, Config, DuplicateOptions, EndpointInfo, JsApiData, PredictReturn, SpaceStatus, Status, UploadResponse, SubmitIterable, GradioEvent } from "./types"; +import { FileData } from "./upload"; +export declare class Client { + app_reference: string; + options: ClientOptions; + deep_link: string | null; + config: Config | undefined; + api_prefix: string; + api_info: ApiInfo | undefined; + api_map: Record; + session_hash: string; + jwt: string | false; + last_status: Record; + private cookies; + stream_status: { + open: boolean; + }; + closed: boolean; + pending_stream_messages: Record; + pending_diff_streams: Record; + event_callbacks: Record Promise>; + unclosed_events: Set; + heartbeat_event: EventSource | null; + abort_controller: AbortController | null; + stream_instance: EventSource | null; + current_payload: any; + get_url_config(url?: string | null): Config; + get_page_config(page: string): Config; + fetch(input: RequestInfo | URL, init?: RequestInit): Promise; + stream(url: URL): EventSource; + view_api: () => Promise>; + upload_files: (root_url: string, files: (Blob | File)[], upload_id?: string) => Promise; + upload: (file_data: FileData[], root_url: string, upload_id?: string, max_file_size?: number) => Promise<(FileData | null)[] | null>; + handle_blob: (endpoint: string, data: unknown[], endpoint_info: EndpointInfo) => Promise; + post_data: (url: string, body: unknown, additional_headers?: any) => Promise; + submit: (endpoint: string | number, data: unknown[] | Record | undefined, event_data?: unknown, trigger_id?: number | null, all_events?: boolean) => SubmitIterable; + predict: (endpoint: string | number, data: unknown[] | Record | undefined, event_data?: unknown) => Promise>; + open_stream: () => Promise; + private resolve_config; + private resolve_cookies; + constructor(app_reference: string, options?: ClientOptions); + private init; + _resolve_heartbeat(_config: Config): Promise; + static connect(app_reference: string, options?: ClientOptions): Promise; + reconnect(): Promise<"connected" | "broken" | "changed">; + close(): void; + set_current_payload(payload: any): void; + static duplicate(app_reference: string, options?: DuplicateOptions): Promise; + private _resolve_config; + private config_success; + handle_space_success(status: SpaceStatus): Promise; + component_server(component_id: number, fn_name: string, data: unknown[] | { + binary: boolean; + data: Record; + }): Promise; + set_cookies(raw_cookies: string): void; + private prepare_return_obj; +} +/** + * @deprecated This method will be removed in v1.0. Use `Client.connect()` instead. + * Creates a client instance for interacting with Gradio apps. + * + * @param {string} app_reference - The reference or URL to a Gradio space or app. + * @param {ClientOptions} options - Configuration options for the client. + * @returns {Promise} A promise that resolves to a `Client` instance. + */ +export declare function client(app_reference: string, options?: ClientOptions): Promise; +/** + * @deprecated This method will be removed in v1.0. Use `Client.duplicate()` instead. + * Creates a duplicate of a space and returns a client instance for the duplicated space. + * + * @param {string} app_reference - The reference or URL to a Gradio space or app to duplicate. + * @param {DuplicateOptions} options - Configuration options for the client. + * @returns {Promise} A promise that resolves to a `Client` instance. + */ +export declare function duplicate_space(app_reference: string, options: DuplicateOptions): Promise; +export type ClientInstance = Client; +//# sourceMappingURL=client.d.ts.map \ No newline at end of file diff --git a/node_modules/@gradio/client/dist/client.d.ts.map b/node_modules/@gradio/client/dist/client.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..6ef70b0f1e7145a294289d68d2f1ba513ebb4674 --- /dev/null +++ b/node_modules/@gradio/client/dist/client.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,OAAO,EACP,OAAO,EACP,aAAa,EACb,MAAM,EACN,gBAAgB,EAChB,YAAY,EACZ,SAAS,EACT,aAAa,EACb,WAAW,EACX,MAAM,EACN,cAAc,EAEd,cAAc,EACd,WAAW,EACX,MAAM,SAAS,CAAC;AAGjB,OAAO,EAAU,QAAQ,EAAE,MAAM,UAAU,CAAC;AAyB5C,qBAAa,MAAM;I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AAsB,eAAe,CACpC,aAAa,EAAE,MAAM,EACrB,OAAO,EAAE,gBAAgB,GACvB,OAAO,CAAC,MAAM,CAAC,CAEjB;AAED,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC"} \ No newline at end of file diff --git a/node_modules/@gradio/client/dist/constants.d.ts b/node_modules/@gradio/client/dist/constants.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..2ad7545f223ef244814773e9e7f1bd23904b72c5 --- /dev/null +++ b/node_modules/@gradio/client/dist/constants.d.ts @@ -0,0 +1,34 @@ +export declare const HOST_URL = "host"; +export declare const API_URL = "predict/"; +export declare const SSE_URL_V0 = "queue/join"; +export declare const SSE_DATA_URL_V0 = "queue/data"; +export declare const SSE_URL = "queue/data"; +export declare const SSE_DATA_URL = "queue/join"; +export declare const UPLOAD_URL = "upload"; +export declare const LOGIN_URL = "login"; +export declare const CONFIG_URL = "config"; +export declare const API_INFO_URL = "info"; +export declare const RUNTIME_URL = "runtime"; +export declare const SLEEPTIME_URL = "sleeptime"; +export declare const HEARTBEAT_URL = "heartbeat"; +export declare const COMPONENT_SERVER_URL = "component_server"; +export declare const RESET_URL = "reset"; +export declare const CANCEL_URL = "cancel"; +export declare const APP_ID_URL = "app_id"; +export declare const RAW_API_INFO_URL = "info?serialize=False"; +export declare const SPACE_FETCHER_URL = "https://gradio-space-api-fetcher-v2.hf.space/api"; +export declare const SPACE_URL = "https://hf.space/{}"; +export declare const QUEUE_FULL_MSG = "This application is currently busy. Please try again. "; +export declare const BROKEN_CONNECTION_MSG = "Connection errored out. "; +export declare const CONFIG_ERROR_MSG = "Could not resolve app config. "; +export declare const SPACE_STATUS_ERROR_MSG = "Could not get space status. "; +export declare const API_INFO_ERROR_MSG = "Could not get API info. "; +export declare const SPACE_METADATA_ERROR_MSG = "Space metadata could not be loaded. "; +export declare const INVALID_URL_MSG = "Invalid URL. A full URL path is required."; +export declare const UNAUTHORIZED_MSG = "Not authorized to access this space. "; +export declare const INVALID_CREDENTIALS_MSG = "Invalid credentials. Could not login. "; +export declare const MISSING_CREDENTIALS_MSG = "Login credentials are required to access this space."; +export declare const NODEJS_FS_ERROR_MSG = "File system access is only available in Node.js environments"; +export declare const ROOT_URL_ERROR_MSG = "Root URL not found in client config"; +export declare const FILE_PROCESSING_ERROR_MSG = "Error uploading file"; +//# sourceMappingURL=constants.d.ts.map \ No newline at end of file diff --git a/node_modules/@gradio/client/dist/constants.d.ts.map b/node_modules/@gradio/client/dist/constants.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..57029ac4eea28eff914d56dc8831450bc7a9fb3e --- /dev/null +++ b/node_modules/@gradio/client/dist/constants.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,QAAQ,SAAS,CAAC;AAC/B,eAAO,MAAM,OAAO,aAAa,CAAC;AAClC,eAAO,MAAM,UAAU,eAAe,CAAC;AACvC,eAAO,MAAM,eAAe,eAAe,CAAC;AAC5C,eAAO,MAAM,OAAO,eAAe,CAAC;AACpC,eAAO,MAAM,YAAY,eAAe,CAAC;AACzC,eAAO,MAAM,UAAU,WAAW,CAAC;AACnC,eAAO,MAAM,SAAS,UAAU,CAAC;AACjC,eAAO,MAAM,UAAU,WAAW,CAAC;AACnC,eAAO,MAAM,YAAY,SAAS,CAAC;AACnC,eAAO,MAAM,WAAW,YAAY,CAAC;AACrC,eAAO,MAAM,aAAa,cAAc,CAAC;AACzC,eAAO,MAAM,aAAa,cAAc,CAAC;AACzC,eAAO,MAAM,oBAAoB,qBAAqB,CAAC;AACvD,eAAO,MAAM,SAAS,UAAU,CAAC;AACjC,eAAO,MAAM,UAAU,WAAW,CAAC;AACnC,eAAO,MAAM,UAAU,WAAW,CAAC;AAEnC,eAAO,MAAM,gBAAgB,yBAAyB,CAAC;AACvD,eAAO,MAAM,iBAAiB,qDACqB,CAAC;AACpD,eAAO,MAAM,SAAS,wBAAwB,CAAC;AAG/C,eAAO,MAAM,cAAc,2DAC8B,CAAC;AAC1D,eAAO,MAAM,qBAAqB,6BAA6B,CAAC;AAChE,eAAO,MAAM,gBAAgB,mCAAmC,CAAC;AACjE,eAAO,MAAM,sBAAsB,iCAAiC,CAAC;AACrE,eAAO,MAAM,kBAAkB,6BAA6B,CAAC;AAC7D,eAAO,MAAM,wBAAwB,yCAAyC,CAAC;AAC/E,eAAO,MAAM,eAAe,8CAA8C,CAAC;AAC3E,eAAO,MAAM,gBAAgB,0CAA0C,CAAC;AACxE,eAAO,MAAM,uBAAuB,2CAA2C,CAAC;AAChF,eAAO,MAAM,uBAAuB,yDACmB,CAAC;AACxD,eAAO,MAAM,mBAAmB,iEAC+B,CAAC;AAChE,eAAO,MAAM,kBAAkB,wCAAwC,CAAC;AACxE,eAAO,MAAM,yBAAyB,yBAAyB,CAAC"} \ No newline at end of file diff --git a/node_modules/@gradio/client/dist/helpers/api_info.d.ts b/node_modules/@gradio/client/dist/helpers/api_info.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..ab8ee94956ac92f923b0115047c05c5cb56b5d4c --- /dev/null +++ b/node_modules/@gradio/client/dist/helpers/api_info.d.ts @@ -0,0 +1,48 @@ +import type { ApiData, ApiInfo, Config, JsApiData, EndpointInfo, Status } from "../types"; +export declare const RE_SPACE_NAME: RegExp; +export declare const RE_SPACE_DOMAIN: RegExp; +export declare function process_endpoint(app_reference: string, token?: `hf_${string}`): Promise<{ + space_id: string | false; + host: string; + ws_protocol: "ws" | "wss"; + http_protocol: "http:" | "https:"; +}>; +export declare const join_urls: (...urls: string[]) => string; +export declare function transform_api_info(api_info: ApiInfo, config: Config, api_map: Record): ApiInfo; +export declare function get_type(type: { + type: any; + description: string; +}, component: string, serializer: string, signature_type: "return" | "parameter"): string | undefined; +export declare function get_description(type: { + type: any; + description: string; +}, serializer: string): string; +export declare function handle_message(data: any, last_status: Status["stage"]): { + type: "hash" | "data" | "update" | "complete" | "generating" | "log" | "none" | "heartbeat" | "streaming" | "broken_connection" | "unexpected_error"; + data?: any; + status?: Status; + original_msg?: string; +}; +/** + * Maps the provided `data` to the parameters defined by the `/info` endpoint response. + * This allows us to support both positional and keyword arguments passed to the client + * and ensures that all parameters are either directly provided or have default values assigned. + * + * @param {unknown[] | Record} data - The input data for the function, + * which can be either an array of values for positional arguments or an object + * with key-value pairs for keyword arguments. + * @param {JsApiData[]} parameters - Array of parameter descriptions retrieved from the + * `/info` endpoint. + * + * @returns {unknown[]} - Returns an array of resolved data where each element corresponds + * to the expected parameter from the API. The `parameter_default` value is used where + * a value is not provided for a parameter, and optional parameters without defaults are + * set to `undefined`. + * + * @throws {Error} - Throws an error: + * - If more arguments are provided than are defined in the parameters. + * * - If no parameter value is provided for a required parameter and no default value is defined. + * - If an argument is provided that does not match any defined parameter. + */ +export declare const map_data_to_params: (data: (unknown[] | Record) | undefined, endpoint_info: EndpointInfo) => unknown[]; +//# sourceMappingURL=api_info.d.ts.map \ No newline at end of file diff --git a/node_modules/@gradio/client/dist/helpers/api_info.d.ts.map b/node_modules/@gradio/client/dist/helpers/api_info.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..6a7f8ad550147830cfd5e21eebf9d3c20f0a3cd5 --- /dev/null +++ b/node_modules/@gradio/client/dist/helpers/api_info.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"api_info.d.ts","sourceRoot":"","sources":["../../src/helpers/api_info.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACX,OAAO,EACP,OAAO,EACP,MAAM,EACN,SAAS,EACT,YAAY,EACZ,MAAM,EACN,MAAM,UAAU,CAAC;AAGlB,eAAO,MAAM,aAAa,QAA2C,CAAC;AACtE,eAAO,MAAM,eAAe,QAA0B,CAAC;AAEvD,wBAAsB,gBAAgB,CACrC,aAAa,EAAE,MAAM,EACrB,KAAK,CAAC,EAAE,MAAM,MAAM,EAAE,GACpB,OAAO,CAAC;IACV,QAAQ,EAAE,MAAM,GAAG,KAAK,CAAC;IACzB,IAAI,EAAE,MA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,EAC9C,eAAe,YAAY,CAAC,SAAS,GAAG,OAAO,CAAC,KAC9C,OAAO,EAgDT,CAAC"} \ No newline at end of file diff --git a/node_modules/@gradio/client/dist/helpers/data.d.ts b/node_modules/@gradio/client/dist/helpers/data.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..891d60b75b3f03db72b0bcf94aa72f911a3d8d68 --- /dev/null +++ b/node_modules/@gradio/client/dist/helpers/data.d.ts @@ -0,0 +1,21 @@ +import { type ApiData, type BlobRef, type Config, type EndpointInfo, type JsApiData, type DataType, Command, type Dependency, type ComponentMeta } from "../types"; +import { FileData } from "../upload"; +export declare function update_object(object: { + [x: string]: any; +}, newValue: any, stack: (string | number)[]): void; +export declare function walk_and_store_blobs(data: DataType, type?: string | undefined, path?: string[], root?: boolean, endpoint_info?: EndpointInfo | undefined): Promise; +export declare function skip_queue(id: number, config: Config): boolean; +export declare function post_message(message: any, origin: string): Promise; +export declare function handle_file(file_or_url: File | string | Blob | Buffer): FileData | Blob | Command; +/** + * Handles the payload by filtering out state inputs and returning an array of resolved payload values. + * We send null values for state inputs to the server, but we don't want to include them in the resolved payload. + * + * @param resolved_payload - The resolved payload values received from the client or the server + * @param dependency - The dependency object. + * @param components - The array of component metadata. + * @param with_null_state - Optional. Specifies whether to include null values for state inputs. Default is false. + * @returns An array of resolved payload values, filtered based on the dependency and component metadata. + */ +export declare function handle_payload(resolved_payload: unknown[], dependency: Dependency, components: ComponentMeta[], type: "input" | "output", with_null_state?: boolean): unknown[]; +//# sourceMappingURL=data.d.ts.map \ No newline at end of file diff --git a/node_modules/@gradio/client/dist/helpers/data.d.ts.map b/node_modules/@gradio/client/dist/helpers/data.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..a0395dc0c9729b3fb00bb7583a795e2bd6ec45ba --- /dev/null +++ b/node_modules/@gradio/client/dist/helpers/data.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../src/helpers/data.ts"],"names":[],"mappings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line at end of file diff --git a/node_modules/@gradio/client/dist/helpers/init_helpers.d.ts b/node_modules/@gradio/client/dist/helpers/init_helpers.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..ead048c0ec150af374dfd55579ac8da714f4d1b4 --- /dev/null +++ b/node_modules/@gradio/client/dist/helpers/init_helpers.d.ts @@ -0,0 +1,25 @@ +import type { Config } from "../types"; +import { Client } from ".."; +/** + * This function is used to resolve the URL for making requests when the app has a root path. + * The root path could be a path suffix like "/app" which is appended to the end of the base URL. Or + * it could be a full URL like "https://abidlabs-test-client-replica--gqf2x.hf.space" which is used when hosting + * Gradio apps on Hugging Face Spaces. + * @param {string} base_url The base URL at which the Gradio server is hosted + * @param {string} root_path The root path, which could be a path suffix (e.g. mounted in FastAPI app) or a full URL (e.g. hosted on Hugging Face Spaces) + * @param {boolean} prioritize_base Whether to prioritize the base URL over the root path. This is used when both the base path and root paths are full URLs. For example, for fetching files the root path should be prioritized, but for making requests, the base URL should be prioritized. + * @returns {string} the resolved URL + */ +export declare function resolve_root(base_url: string, root_path: string, prioritize_base: boolean): string; +export declare function get_jwt(space: string, token: `hf_${string}`, cookies?: string | null): Promise; +export declare function map_names_to_ids(fns: Config["dependencies"]): Record; +export declare function resolve_config(this: Client, endpoint: string): Promise; +export declare function resolve_cookies(this: Client): Promise; +export declare function get_cookie_header(http_protocol: string, host: string, auth: [string, string], _fetch: typeof fetch, token?: `hf_${string}`): Promise; +export declare function determine_protocol(endpoint: string): { + ws_protocol: "ws" | "wss"; + http_protocol: "http:" | "https:"; + host: string; +}; +export declare const parse_and_set_cookies: (cookie_header: string) => string[]; +//# sourceMappingURL=init_helpers.d.ts.map \ No newline at end of file diff --git a/node_modules/@gradio/client/dist/helpers/init_helpers.d.ts.map b/node_modules/@gradio/client/dist/helpers/init_helpers.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..b0ef907fcf21151fae2101897f525fad58b8486c --- /dev/null +++ b/node_modules/@gradio/client/dist/helpers/init_helpers.d.ts.map @@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AkBA;AAED,eAAO,MAAM,qBAAqB,GAAI,eAAe,MAAM,KAAG,MAAM,EAUnE,CAAC"} \ No newline at end of file diff --git a/node_modules/@gradio/client/dist/helpers/spaces.d.ts b/node_modules/@gradio/client/dist/helpers/spaces.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..c032da6c7b236cad05f1526f6b63b5871a871c5e --- /dev/null +++ b/node_modules/@gradio/client/dist/helpers/spaces.d.ts @@ -0,0 +1,8 @@ +import type { SpaceStatusCallback } from "../types"; +export declare function check_space_status(id: string, type: "subdomain" | "space_name", status_callback: SpaceStatusCallback): Promise; +export declare const check_and_wake_space: (space_id: string, status_callback: SpaceStatusCallback) => Promise; +export declare function discussions_enabled(space_id: string): Promise; +export declare function get_space_hardware(space_id: string, token?: `hf_${string}` | undefined): Promise<(typeof hardware_types)[number]>; +export declare function set_space_timeout(space_id: string, timeout: number, token?: `hf_${string}`): Promise; +export declare const hardware_types: readonly ["cpu-basic", "cpu-upgrade", "cpu-xl", "t4-small", "t4-medium", "a10g-small", "a10g-large", "a10g-largex2", "a10g-largex4", "a100-large", "zero-a10g", "h100", "h100x8"]; +//# sourceMappingURL=spaces.d.ts.map \ No newline at end of file diff --git a/node_modules/@gradio/client/dist/helpers/spaces.d.ts.map b/node_modules/@gradio/client/dist/helpers/spaces.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..83e0a160e219e6b2a41f492ffd9791649a20c738 --- /dev/null +++ b/node_modules/@gradio/client/dist/helpers/spaces.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"spaces.d.ts","sourceRoot":"","sources":["../../src/helpers/spaces.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEpD,wBAAsB,kBAAkB,CACvC,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,WAAW,GAAG,YAAY,EAChC,eAAe,EAAE,mBAAmB,GAClC,OAAO,CAAC,IAAI,CAAC,CAiGf;AAED,eAAO,MAAM,oBAAoB,GAChC,UAAU,MAAM,EAChB,iBAAiB,mBAAmB,KAClC,OAAO,CAAC,IAAI,CAoCd,CAAC;AAIF,wBAAsB,mBAAmB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAgB5E;AAED,wBAAsB,kBAAkB,CACvC,QAAQ,EAAE,MAAM,EAChB,KAAK,CAAC,EAAE,MAAM,MAAM,EAAE,GAAG,SAAS,GAChC,OAAO,CAAC,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC,CAqB1C;AAED,wBAAsB,iBAAiB,CACtC,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,MAAM,EACf,KAAK,CAAC,EAAE,MAAM,MAAM,EAAE,GACpB,OAAO,CAAC,GAAG,CAAC,CAiCd;AAED,eAAO,MAAM,cAAc,mLAcjB,CAAC"} \ No newline at end of file diff --git a/node_modules/@gradio/client/dist/index.d.ts b/node_modules/@gradio/client/dist/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..0a62562a33155142506393a52c67ed29195f13ed --- /dev/null +++ b/node_modules/@gradio/client/dist/index.d.ts @@ -0,0 +1,11 @@ +export { Client } from "./client"; +export { predict } from "./utils/predict"; +export { submit } from "./utils/submit"; +export { upload_files } from "./utils/upload_files"; +export { FileData, upload, prepare_files } from "./upload"; +export { handle_file } from "./helpers/data"; +export type { SpaceStatus, StatusMessage, Status, client_return, UploadResponse, RenderMessage, LogMessage, Payload, Config, ValidationError } from "./types"; +export { MISSING_CREDENTIALS_MSG } from "./constants"; +export { client } from "./client"; +export { duplicate_space as duplicate } from "./client"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/node_modules/@gradio/client/dist/index.d.ts.map b/node_modules/@gradio/client/dist/index.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..a537bec540ace300f6d3c0b0d0bb42bf6c8bcf70 --- /dev/null +++ b/node_modules/@gradio/client/dist/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,YAAY,EACX,WAAW,EACX,aAAa,EACb,MAAM,EACN,aAAa,EACb,cAAc,EACd,aAAa,EACb,UAAU,EACV,OAAO,EACP,MAAM,EACN,eAAe,EACf,MAAM,SAAS,CAAC;AAEjB,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAGtD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,eAAe,IAAI,SAAS,EAAE,MAAM,UAAU,CAAC"} \ No newline at end of file diff --git a/node_modules/@gradio/client/dist/index.js b/node_modules/@gradio/client/dist/index.js new file mode 100644 index 0000000000000000000000000000000000000000..d593491537ecfcf74f6c33136643a5fe7933a126 --- /dev/null +++ b/node_modules/@gradio/client/dist/index.js @@ -0,0 +1,2515 @@ +const HOST_URL = `host`; +const SSE_URL = `queue/data`; +const SSE_DATA_URL = `queue/join`; +const UPLOAD_URL = `upload`; +const LOGIN_URL = `login`; +const CONFIG_URL = `config`; +const API_INFO_URL = `info`; +const RUNTIME_URL = `runtime`; +const SLEEPTIME_URL = `sleeptime`; +const HEARTBEAT_URL = `heartbeat`; +const COMPONENT_SERVER_URL = `component_server`; +const RESET_URL = `reset`; +const CANCEL_URL = `cancel`; +const APP_ID_URL = `app_id`; +const QUEUE_FULL_MSG = "This application is currently busy. Please try again. "; +const BROKEN_CONNECTION_MSG = "Connection errored out. "; +const CONFIG_ERROR_MSG = "Could not resolve app config. "; +const SPACE_STATUS_ERROR_MSG = "Could not get space status. "; +const API_INFO_ERROR_MSG = "Could not get API info. "; +const SPACE_METADATA_ERROR_MSG = "Space metadata could not be loaded. "; +const INVALID_URL_MSG = "Invalid URL. A full URL path is required."; +const UNAUTHORIZED_MSG = "Not authorized to access this space. "; +const INVALID_CREDENTIALS_MSG = "Invalid credentials. Could not login. "; +const MISSING_CREDENTIALS_MSG = "Login credentials are required to access this space."; +const NODEJS_FS_ERROR_MSG = "File system access is only available in Node.js environments"; +const ROOT_URL_ERROR_MSG = "Root URL not found in client config"; +const FILE_PROCESSING_ERROR_MSG = "Error uploading file"; +async function get_jwt(space, token, cookies) { + try { + const r = await fetch(`https://huggingface.co/api/spaces/${space}/jwt`, { + headers: { + Authorization: `Bearer ${token}`, + ...cookies ? { Cookie: cookies } : {} + } + }); + const jwt = (await r.json()).token; + return jwt || false; + } catch (e) { + return false; + } +} +function map_names_to_ids(fns) { + let apis = {}; + fns.forEach(({ api_name, id }) => { + if (api_name) apis[api_name] = id; + }); + return apis; +} +async function resolve_config(endpoint) { + const headers = this.options.token ? { Authorization: `Bearer ${this.options.token}` } : {}; + headers["Content-Type"] = "application/json"; + if (typeof window !== "undefined" && window.gradio_config && location.origin !== "http://localhost:9876") { + if (window.gradio_config.current_page) { + endpoint = endpoint.substring(0, endpoint.lastIndexOf("/")); + } + if (window.gradio_config.dev_mode || typeof window !== "undefined" && window?.BUILD_MODE === "dev") { + let config_url = join_urls( + endpoint, + this.deep_link ? CONFIG_URL + "?deep_link=" + this.deep_link : CONFIG_URL + ); + const response = await this.fetch(config_url, { + headers, + credentials: "include" + }); + const config = await handleConfigResponse(response, !!this.options.auth); + config.root = endpoint || config.root; + window.gradio_config = { + ...config, + current_page: window.gradio_config.current_page + }; + } + return { ...window.gradio_config }; + } else if (endpoint) { + let config_url = join_urls( + endpoint, + this.deep_link ? CONFIG_URL + "?deep_link=" + this.deep_link : CONFIG_URL + ); + const response = await this.fetch(config_url, { + headers, + credentials: "include" + }); + const config = await handleConfigResponse(response, !!this.options.auth); + if (!config.root) { + config.root = endpoint; + } + return config; + } + throw new Error(CONFIG_ERROR_MSG); +} +async function handleConfigResponse(response, authorized) { + if (response?.status === 401 && !authorized) { + const error_data = await response.json(); + const auth_message = error_data?.detail?.auth_message; + throw new Error(auth_message || MISSING_CREDENTIALS_MSG); + } else if (response?.status === 401 && authorized) { + throw new Error(INVALID_CREDENTIALS_MSG); + } + if (response?.status === 200) { + let config = await response.json(); + config.dependencies?.forEach((dep, i) => { + if (dep.id === void 0) { + dep.id = i; + } + }); + return config; + } else if (response?.status === 401) { + throw new Error(UNAUTHORIZED_MSG); + } + throw new Error(CONFIG_ERROR_MSG); +} +async function resolve_cookies() { + const { http_protocol, host } = await process_endpoint( + this.app_reference, + this.options.token + ); + try { + if (this.options.auth) { + const cookie_header = await get_cookie_header( + http_protocol, + host, + this.options.auth, + this.fetch, + this.options.token + ); + if (cookie_header) this.set_cookies(cookie_header); + } + } catch (e) { + throw Error(e.message); + } +} +async function get_cookie_header(http_protocol, host, auth, _fetch, token) { + const formData = new FormData(); + formData.append("username", auth?.[0]); + formData.append("password", auth?.[1]); + let headers = {}; + if (token) { + headers.Authorization = `Bearer ${token}`; + } + const res = await _fetch(`${http_protocol}//${host}/${LOGIN_URL}`, { + headers, + method: "POST", + body: formData, + credentials: "include" + }); + if (res.status === 200) { + return res.headers.get("set-cookie"); + } else if (res.status === 401) { + throw new Error(INVALID_CREDENTIALS_MSG); + } else { + throw new Error(SPACE_METADATA_ERROR_MSG); + } +} +function determine_protocol(endpoint) { + if (endpoint.startsWith("http")) { + const { protocol, host, pathname } = new URL(endpoint); + return { + ws_protocol: protocol === "https:" ? "wss" : "ws", + http_protocol: protocol, + host: host + (pathname !== "/" ? pathname : "") + }; + } + return { + ws_protocol: "wss", + http_protocol: "https:", + host: new URL(endpoint).host + }; +} +const parse_and_set_cookies = (cookie_header) => { + let cookies = []; + const parts = cookie_header.split(/,(?=\s*[^\s=;]+=[^\s=;]+)/); + parts.forEach((cookie) => { + const [cookie_name, cookie_value] = cookie.split(";")[0].split("="); + if (cookie_name && cookie_value) { + cookies.push(`${cookie_name.trim()}=${cookie_value.trim()}`); + } + }); + return cookies; +}; +const RE_SPACE_NAME = /^[a-zA-Z0-9_\-\.]+\/[a-zA-Z0-9_\-\.]+$/; +const RE_SPACE_DOMAIN = /.*hf\.space\/{0,1}.*$/; +async function process_endpoint(app_reference, token) { + const headers = {}; + if (token) { + headers.Authorization = `Bearer ${token}`; + } + const _app_reference = app_reference.trim().replace(/\/$/, ""); + if (RE_SPACE_NAME.test(_app_reference)) { + try { + const res = await fetch( + `https://huggingface.co/api/spaces/${_app_reference}/${HOST_URL}`, + { headers } + ); + const _host = (await res.json()).host; + return { + space_id: app_reference, + ...determine_protocol(_host) + }; + } catch (e) { + throw new Error(SPACE_METADATA_ERROR_MSG); + } + } + if (RE_SPACE_DOMAIN.test(_app_reference)) { + const { ws_protocol, http_protocol, host } = determine_protocol(_app_reference); + return { + space_id: host.split("/")[0].replace(".hf.space", ""), + ws_protocol, + http_protocol, + host + }; + } + return { + space_id: false, + ...determine_protocol(_app_reference) + }; +} +const join_urls = (...urls) => { + try { + return urls.reduce((base_url, part) => { + base_url = base_url.replace(/\/+$/, ""); + part = part.replace(/^\/+/, ""); + return new URL(part, base_url + "/").toString(); + }); + } catch (e) { + throw new Error(INVALID_URL_MSG); + } +}; +function transform_api_info(api_info, config, api_map) { + const transformed_info = { + named_endpoints: {}, + unnamed_endpoints: {} + }; + Object.keys(api_info).forEach((category) => { + if (category === "named_endpoints" || category === "unnamed_endpoints") { + transformed_info[category] = {}; + Object.entries(api_info[category]).forEach( + ([endpoint, { parameters, returns }]) => { + const dependencyIndex = config.dependencies.find( + (dep) => dep.api_name === endpoint || dep.api_name === endpoint.replace("/", "") + )?.id || api_map[endpoint.replace("/", "")] || -1; + const dependencyTypes = dependencyIndex !== -1 ? config.dependencies.find((dep) => dep.id == dependencyIndex)?.types : { generator: false, cancel: false }; + if (dependencyIndex !== -1 && config.dependencies.find((dep) => dep.id == dependencyIndex)?.inputs?.length !== parameters.length) { + const components = config.dependencies.find((dep) => dep.id == dependencyIndex).inputs.map( + (input) => config.components.find((c) => c.id === input)?.type + ); + try { + components.forEach((comp, idx) => { + if (comp === "state") { + const new_param = { + component: "state", + example: null, + parameter_default: null, + parameter_has_default: true, + parameter_name: null, + hidden: true + }; + parameters.splice(idx, 0, new_param); + } + }); + } catch (e) { + console.error(e); + } + } + const transform_type = (data, component, serializer, signature_type) => ({ + ...data, + description: get_description(data?.type, serializer), + type: get_type(data?.type, component, serializer, signature_type) || "" + }); + transformed_info[category][endpoint] = { + parameters: parameters.map( + (p) => transform_type(p, p?.component, p?.serializer, "parameter") + ), + returns: returns.map( + (r) => transform_type(r, r?.component, r?.serializer, "return") + ), + type: dependencyTypes + }; + } + ); + } + }); + return transformed_info; +} +function get_type(type, component, serializer, signature_type) { + if (component === "Api") return type.type; + switch (type?.type) { + case "string": + return "string"; + case "boolean": + return "boolean"; + case "number": + return "number"; + } + if (serializer === "JSONSerializable" || serializer === "StringSerializable") { + return "any"; + } else if (serializer === "ListStringSerializable") { + return "string[]"; + } else if (component === "Image") { + return signature_type === "parameter" ? "Blob | File | Buffer" : "string"; + } else if (serializer === "FileSerializable") { + if (type?.type === "array") { + return signature_type === "parameter" ? "(Blob | File | Buffer)[]" : `{ name: string; data: string; size?: number; is_file?: boolean; orig_name?: string}[]`; + } + return signature_type === "parameter" ? "Blob | File | Buffer" : `{ name: string; data: string; size?: number; is_file?: boolean; orig_name?: string}`; + } else if (serializer === "GallerySerializable") { + return signature_type === "parameter" ? "[(Blob | File | Buffer), (string | null)][]" : `[{ name: string; data: string; size?: number; is_file?: boolean; orig_name?: string}, (string | null))][]`; + } +} +function get_description(type, serializer) { + if (serializer === "GallerySerializable") { + return "array of [file, label] tuples"; + } else if (serializer === "ListStringSerializable") { + return "array of strings"; + } else if (serializer === "FileSerializable") { + return "array of files or single file"; + } + return type?.description; +} +function handle_message(data, last_status) { + const queue = true; + switch (data.msg) { + case "send_data": + return { type: "data" }; + case "send_hash": + return { type: "hash" }; + case "queue_full": + return { + type: "update", + status: { + queue, + message: QUEUE_FULL_MSG, + stage: "error", + code: data.code, + success: data.success + } + }; + case "heartbeat": + return { + type: "heartbeat" + }; + case "unexpected_error": + return { + type: "unexpected_error", + status: { + queue, + message: data.message, + session_not_found: data.session_not_found, + stage: "error", + success: false + } + }; + case "broken_connection": + return { + type: "broken_connection", + status: { + queue, + message: data.message, + stage: "error", + success: false + } + }; + case "estimation": + return { + type: "update", + status: { + queue, + stage: last_status || "pending", + code: data.code, + size: data.queue_size, + position: data.rank, + eta: data.rank_eta, + success: data.success + } + }; + case "progress": + return { + type: "update", + status: { + queue, + stage: "pending", + code: data.code, + progress_data: data.progress_data, + success: data.success + } + }; + case "log": + return { type: "log", data }; + case "process_generating": + return { + type: "generating", + status: { + queue, + message: !data.success ? data.output.error : null, + stage: data.success ? "generating" : "error", + code: data.code, + progress_data: data.progress_data, + eta: data.average_duration, + changed_state_ids: data.success ? data.output.changed_state_ids : void 0 + }, + data: data.success ? data.output : null + }; + case "process_streaming": + return { + type: "streaming", + status: { + queue, + message: data.output.error, + stage: "streaming", + time_limit: data.time_limit, + code: data.code, + progress_data: data.progress_data, + eta: data.eta + }, + data: data.output + }; + case "process_completed": + if ("error" in data.output) { + return { + type: "update", + status: { + queue, + title: data.output.title ?? "Error", + message: data.output.error ?? "An error occurred", + visible: data.output.visible, + duration: data.output.duration, + stage: "error", + code: data.code, + success: data.success + } + }; + } + return { + type: "complete", + status: { + queue, + message: !data.success ? data.output.error : void 0, + stage: data.success ? "complete" : "error", + code: data.code, + progress_data: data.progress_data, + changed_state_ids: data.success ? data.output.changed_state_ids : void 0 + }, + data: data.success ? data.output : null + }; + case "process_starts": + return { + type: "update", + status: { + queue, + stage: "pending", + code: data.code, + size: data.rank, + position: 0, + success: data.success, + eta: data.eta + }, + original_msg: "process_starts" + }; + } + return { type: "none", status: { stage: "error", queue } }; +} +const map_data_to_params = (data = [], endpoint_info) => { + const parameters = endpoint_info ? endpoint_info.parameters : []; + if (Array.isArray(data)) { + if (endpoint_info && parameters.length > 0 && data.length > parameters.length) { + console.warn("Too many arguments provided for the endpoint."); + } + return data; + } + const resolved_data = []; + const provided_keys = Object.keys(data); + parameters.forEach((param, index) => { + if (data.hasOwnProperty(param.parameter_name)) { + resolved_data[index] = data[param.parameter_name]; + } else if (param.parameter_has_default) { + resolved_data[index] = param.parameter_default; + } else { + throw new Error( + `No value provided for required parameter: ${param.parameter_name}` + ); + } + }); + provided_keys.forEach((key) => { + if (!parameters.some((param) => param.parameter_name === key)) { + throw new Error( + `Parameter \`${key}\` is not a valid keyword argument. Please refer to the API for usage.` + ); + } + }); + resolved_data.forEach((value, idx) => { + if (value === void 0 && !parameters[idx].parameter_has_default) { + throw new Error( + `No value provided for required parameter: ${parameters[idx].parameter_name}` + ); + } + }); + return resolved_data; +}; +async function view_api() { + if (this.api_info) return this.api_info; + const { token } = this.options; + const { config } = this; + const headers = { "Content-Type": "application/json" }; + if (token) { + headers.Authorization = `Bearer ${token}`; + } + if (!config) { + return; + } + try { + let response; + let api_info; + if (typeof window !== "undefined" && window.gradio_api_info) { + api_info = window.gradio_api_info; + } else { + const url = join_urls(config.root, this.api_prefix, API_INFO_URL); + response = await this.fetch(url, { + headers, + credentials: "include" + }); + if (!response.ok) { + throw new Error(BROKEN_CONNECTION_MSG); + } + api_info = await response.json(); + } + if ("api" in api_info) { + api_info = api_info.api; + } + if (api_info.named_endpoints["/predict"] && !api_info.unnamed_endpoints["0"]) { + api_info.unnamed_endpoints[0] = api_info.named_endpoints["/predict"]; + } + return transform_api_info(api_info, config, this.api_map); + } catch (e) { + throw new Error("Could not get API info. " + e.message); + } +} +async function upload_files(root_url, files, upload_id) { + const headers = {}; + if (this?.options?.token) { + headers.Authorization = `Bearer ${this.options.token}`; + } + const chunkSize = 1e3; + const uploadResponses = []; + let response; + for (let i = 0; i < files.length; i += chunkSize) { + const chunk = files.slice(i, i + chunkSize); + const formData = new FormData(); + chunk.forEach((file) => { + formData.append("files", file); + }); + try { + const upload_url = upload_id ? `${root_url}${this.api_prefix}/${UPLOAD_URL}?upload_id=${upload_id}` : `${root_url}${this.api_prefix}/${UPLOAD_URL}`; + response = await this.fetch(upload_url, { + method: "POST", + body: formData, + headers, + credentials: "include" + }); + } catch (e) { + throw new Error(BROKEN_CONNECTION_MSG + e.message); + } + if (!response.ok) { + const error_text = await response.text(); + return { error: `HTTP ${response.status}: ${error_text}` }; + } + const output = await response.json(); + if (output) { + uploadResponses.push(...output); + } + } + return { files: uploadResponses }; +} +const si = { + radix: 1e3, + unit: ["b", "kb", "Mb", "Gb", "Tb", "Pb", "Eb", "Zb", "Yb"] +}; +const iec = { + radix: 1024, + unit: ["b", "Kib", "Mib", "Gib", "Tib", "Pib", "Eib", "Zib", "Yib"] +}; +const jedec = { + radix: 1024, + unit: ["b", "Kb", "Mb", "Gb", "Tb", "Pb", "Eb", "Zb", "Yb"] +}; +const SPECS = { + si, + iec, + jedec +}; +function filesize(bytes, fixed = 1, spec = "jedec") { + bytes = Math.abs(bytes); + const { radix, unit } = SPECS[spec] || SPECS.jedec; + let loop = 0; + while (bytes >= radix) { + bytes /= radix; + ++loop; + } + return `${bytes.toFixed(fixed)} ${unit[loop]}`; +} +async function upload(file_data, root_url, upload_id, max_file_size) { + let files = (Array.isArray(file_data) ? file_data : [file_data]).map( + (file_data2) => file_data2.blob + ); + const oversized_files = files.filter( + (f) => f.size > (max_file_size ?? Infinity) + ); + if (oversized_files.length) { + throw new Error( + `File(s) exceed the maximum allowed size of ${filesize(max_file_size || Infinity)}: ${oversized_files.map((f) => `"${f.name}"`).join(", ")}` + ); + } + return await Promise.all( + await this.upload_files(root_url, files, upload_id).then( + async (response) => { + if (response.error) { + throw new Error(response.error); + } else { + if (response.files) { + return response.files.map((f, i) => { + const file = new FileData({ + ...file_data[i], + path: f, + url: `${root_url}${this.api_prefix}/file=${f}` + }); + return file; + }); + } + return []; + } + } + ) + ); +} +async function prepare_files(files, is_stream) { + return files.map( + (f) => new FileData({ + path: f.name, + orig_name: f.name, + blob: f, + size: f.size, + mime_type: f.type, + is_stream + }) + ); +} +class FileData { + path; + url; + orig_name; + size; + blob; + is_stream; + mime_type; + alt_text; + b64; + meta = { _type: "gradio.FileData" }; + constructor({ + path, + url, + orig_name, + size, + blob, + is_stream, + mime_type, + alt_text, + b64 + }) { + this.path = path; + this.url = url; + this.orig_name = orig_name; + this.size = size; + this.blob = url ? void 0 : blob; + this.is_stream = is_stream; + this.mime_type = mime_type; + this.alt_text = alt_text; + this.b64 = b64; + } +} +class Command { + type; + command; + meta; + fileData; + constructor(command, meta) { + this.type = "command"; + this.command = command; + this.meta = meta; + } +} +const is_node = typeof process !== "undefined" && process.versions && process.versions.node; +function update_object(object, newValue, stack) { + while (stack.length > 1) { + const key2 = stack.shift(); + if (typeof key2 === "string" || typeof key2 === "number") { + object = object[key2]; + } else { + throw new Error("Invalid key type"); + } + } + const key = stack.shift(); + if (typeof key === "string" || typeof key === "number") { + object[key] = newValue; + } else { + throw new Error("Invalid key type"); + } +} +async function walk_and_store_blobs(data, type = void 0, path = [], root = false, endpoint_info = void 0) { + if (Array.isArray(data)) { + let blob_refs = []; + await Promise.all( + data.map(async (_, index) => { + let new_path = path.slice(); + new_path.push(String(index)); + const array_refs = await walk_and_store_blobs( + data[index], + root ? endpoint_info?.parameters[index]?.component || void 0 : type, + new_path, + false, + endpoint_info + ); + blob_refs = blob_refs.concat(array_refs); + }) + ); + return blob_refs; + } else if (globalThis.Buffer && data instanceof globalThis.Buffer || data instanceof Blob) { + return [ + { + path, + blob: new Blob([data]), + type + } + ]; + } else if (typeof data === "object" && data !== null) { + let blob_refs = []; + for (const key of Object.keys(data)) { + const new_path = [...path, key]; + const value = data[key]; + blob_refs = blob_refs.concat( + await walk_and_store_blobs( + value, + void 0, + new_path, + false, + endpoint_info + ) + ); + } + return blob_refs; + } + return []; +} +function skip_queue(id, config) { + let fn_queue = config?.dependencies?.find((dep) => dep.id == id)?.queue; + if (fn_queue != null) { + return !fn_queue; + } + return !config.enable_queue; +} +function post_message(message, origin) { + return new Promise((res, _rej) => { + const channel = new MessageChannel(); + channel.port1.onmessage = (({ data }) => { + channel.port1.close(); + res(data); + }); + window.parent.postMessage(message, origin, [channel.port2]); + }); +} +function handle_file(file_or_url) { + if (typeof file_or_url === "string") { + if (file_or_url.startsWith("http://") || file_or_url.startsWith("https://")) { + return { + path: file_or_url, + url: file_or_url, + orig_name: file_or_url.split("/").pop() ?? "unknown", + meta: { _type: "gradio.FileData" } + }; + } + if (is_node) { + return new Command("upload_file", { + path: file_or_url, + name: file_or_url, + orig_path: file_or_url + }); + } + } else if (typeof File !== "undefined" && file_or_url instanceof File) { + return new Blob([file_or_url]); + } else if (file_or_url instanceof Buffer) { + return new Blob([file_or_url]); + } else if (file_or_url instanceof Blob) { + return file_or_url; + } + throw new Error( + "Invalid input: must be a URL, File, Blob, or Buffer object." + ); +} +function handle_payload(resolved_payload, dependency, components, type, with_null_state = false) { + if (type === "input" && !with_null_state) { + throw new Error("Invalid code path. Cannot skip state inputs for input."); + } + if (type === "output" && with_null_state) { + return resolved_payload; + } + let updated_payload = []; + let payload_index = 0; + const deps = type === "input" ? dependency.inputs : dependency.outputs; + for (let i = 0; i < deps.length; i++) { + const input_id = deps[i]; + const component = components.find((c) => c.id === input_id); + if (component?.type === "state") { + if (with_null_state) { + if (resolved_payload.length === deps.length) { + const value = resolved_payload[payload_index]; + updated_payload.push(value); + payload_index++; + } else { + updated_payload.push(null); + } + } else { + payload_index++; + continue; + } + continue; + } else { + const value = resolved_payload[payload_index]; + updated_payload.push(value); + payload_index++; + } + } + return updated_payload; +} +async function handle_blob(endpoint, data, api_info) { + const self = this; + await process_local_file_commands(self, data); + const blobRefs = await walk_and_store_blobs( + data, + void 0, + [], + true, + api_info + ); + const results = await Promise.all( + blobRefs.map(async ({ path, blob, type }) => { + if (!blob) return { path, type }; + const response = await self.upload_files(endpoint, [blob]); + const file_url = response.files && response.files[0]; + return { + path, + file_url, + type, + name: typeof File !== "undefined" && blob instanceof File ? blob?.name : void 0 + }; + }) + ); + results.forEach(({ path, file_url, type, name }) => { + if (type === "Gallery") { + update_object(data, file_url, path); + } else if (file_url) { + const file = new FileData({ path: file_url, orig_name: name }); + update_object(data, file, path); + } + }); + return data; +} +async function process_local_file_commands(client2, data) { + const root = client2.config?.root || client2.config?.root_url; + if (!root) { + throw new Error(ROOT_URL_ERROR_MSG); + } + await recursively_process_commands(client2, data); +} +async function recursively_process_commands(client2, data, path = []) { + for (const key in data) { + if (data[key] instanceof Command) { + await process_single_command(client2, data, key); + } else if (typeof data[key] === "object" && data[key] !== null) { + await recursively_process_commands(client2, data[key], [...path, key]); + } + } +} +async function process_single_command(client2, data, key) { + let cmd_item = data[key]; + const root = client2.config?.root || client2.config?.root_url; + if (!root) { + throw new Error(ROOT_URL_ERROR_MSG); + } + try { + let fileBuffer; + let fullPath; + if (typeof process !== "undefined" && process.versions && process.versions.node) { + const fs = await import("fs/promises"); + const path = await import("path"); + fullPath = path.resolve(process.cwd(), cmd_item.meta.path); + fileBuffer = await fs.readFile(fullPath); + } else { + throw new Error(NODEJS_FS_ERROR_MSG); + } + const file = new Blob([fileBuffer], { + type: "application/octet-stream" + }); + const response = await client2.upload_files(root, [file]); + const file_url = response.files && response.files[0]; + if (file_url) { + const fileData = new FileData({ + path: file_url, + orig_name: cmd_item.meta.name || "" + }); + data[key] = fileData; + } + } catch (error) { + console.error(FILE_PROCESSING_ERROR_MSG, error); + } +} +async function post_data(url, body, additional_headers) { + const headers = { "Content-Type": "application/json" }; + if (this.options.token) { + headers.Authorization = `Bearer ${this.options.token}`; + } + try { + var response = await this.fetch(url, { + method: "POST", + body: JSON.stringify(body), + headers: { ...headers, ...additional_headers }, + credentials: "include" + }); + } catch (e) { + return [{ error: BROKEN_CONNECTION_MSG }, 500]; + } + let output; + let status; + try { + output = await response.json(); + status = response.status; + } catch (e) { + output = { error: `Could not parse server response: ${e}` }; + status = 500; + } + return [output, status]; +} +async function predict(endpoint, data = {}) { + let data_returned = false; + let status_complete = false; + if (!this.config) { + throw new Error("Could not resolve app config"); + } + if (typeof endpoint === "number") { + this.config.dependencies.find((dep) => dep.id == endpoint); + } else { + const trimmed_endpoint = endpoint.replace(/^\//, ""); + this.config.dependencies.find( + (dep) => dep.id == this.api_map[trimmed_endpoint] + ); + } + return new Promise(async (resolve, reject) => { + const app = this.submit(endpoint, data, null, null, true); + let result; + for await (const message of app) { + if (message.type === "data") { + if (status_complete) { + resolve(result); + } + data_returned = true; + result = message; + } + if (message.type === "status") { + if (message.stage === "error") reject(message); + if (message.stage === "complete") { + status_complete = true; + if (data_returned) { + resolve(result); + } + } + } + } + }); +} +async function check_space_status(id, type, status_callback) { + let endpoint = type === "subdomain" ? `https://huggingface.co/api/spaces/by-subdomain/${id}` : `https://huggingface.co/api/spaces/${id}`; + let response; + let _status; + try { + response = await fetch(endpoint); + _status = response.status; + if (_status !== 200) { + throw new Error(); + } + response = await response.json(); + } catch (e) { + status_callback({ + status: "error", + load_status: "error", + message: SPACE_STATUS_ERROR_MSG, + detail: "NOT_FOUND" + }); + return; + } + if (!response || _status !== 200) return; + const { + runtime: { stage }, + id: space_name + } = response; + switch (stage) { + case "STOPPED": + case "SLEEPING": + status_callback({ + status: "sleeping", + load_status: "pending", + message: "Space is asleep. Waking it up...", + detail: stage + }); + setTimeout(() => { + check_space_status(id, type, status_callback); + }, 1e3); + break; + case "PAUSED": + status_callback({ + status: "paused", + load_status: "error", + message: "This space has been paused by the author. If you would like to try this demo, consider duplicating the space.", + detail: stage, + discussions_enabled: await discussions_enabled(space_name) + }); + break; + case "RUNNING": + case "RUNNING_BUILDING": + status_callback({ + status: "running", + load_status: "complete", + message: "Space is running.", + detail: stage + }); + break; + case "BUILDING": + status_callback({ + status: "building", + load_status: "pending", + message: "Space is building...", + detail: stage + }); + setTimeout(() => { + check_space_status(id, type, status_callback); + }, 1e3); + break; + case "APP_STARTING": + status_callback({ + status: "starting", + load_status: "pending", + message: "Space is starting...", + detail: stage + }); + setTimeout(() => { + check_space_status(id, type, status_callback); + }, 1e3); + break; + default: + status_callback({ + status: "space_error", + load_status: "error", + message: "This space is experiencing an issue.", + detail: stage, + discussions_enabled: await discussions_enabled(space_name) + }); + break; + } +} +const check_and_wake_space = async (space_id, status_callback) => { + let retries = 0; + const max_retries = 12; + const check_interval = 5e3; + return new Promise((resolve) => { + check_space_status( + space_id, + RE_SPACE_NAME.test(space_id) ? "space_name" : "subdomain", + (status) => { + status_callback(status); + if (status.status === "running") { + resolve(); + } else if (status.status === "error" || status.status === "paused" || status.status === "space_error") { + resolve(); + } else if (status.status === "sleeping" || status.status === "building") { + if (retries < max_retries) { + retries++; + setTimeout(() => { + check_and_wake_space(space_id, status_callback).then(resolve); + }, check_interval); + } else { + resolve(); + } + } + } + ); + }); +}; +const RE_DISABLED_DISCUSSION = /^(?=[^]*\b[dD]iscussions{0,1}\b)(?=[^]*\b[dD]isabled\b)[^]*$/; +async function discussions_enabled(space_id) { + try { + const r = await fetch( + `https://huggingface.co/api/spaces/${space_id}/discussions`, + { + method: "HEAD" + } + ); + const error = r.headers.get("x-error-message"); + if (!r.ok || error && RE_DISABLED_DISCUSSION.test(error)) return false; + return true; + } catch (e) { + return false; + } +} +async function get_space_hardware(space_id, token) { + const headers = {}; + if (token) { + headers.Authorization = `Bearer ${token}`; + } + try { + const res = await fetch( + `https://huggingface.co/api/spaces/${space_id}/${RUNTIME_URL}`, + { headers } + ); + if (res.status !== 200) + throw new Error("Space hardware could not be obtained."); + const { hardware } = await res.json(); + return hardware.current; + } catch (e) { + throw new Error(e.message); + } +} +async function set_space_timeout(space_id, timeout, token) { + const headers = {}; + if (token) { + headers.Authorization = `Bearer ${token}`; + } + const body = { + seconds: timeout + }; + try { + const res = await fetch( + `https://huggingface.co/api/spaces/${space_id}/${SLEEPTIME_URL}`, + { + method: "POST", + headers: { "Content-Type": "application/json", ...headers }, + body: JSON.stringify(body) + } + ); + if (res.status !== 200) { + throw new Error( + "Could not set sleep timeout on duplicated Space. Please visit *ADD HF LINK TO SETTINGS* to set a timeout manually to reduce billing charges." + ); + } + const response = await res.json(); + return response; + } catch (e) { + throw new Error(e.message); + } +} +const hardware_types = [ + "cpu-basic", + "cpu-upgrade", + "cpu-xl", + "t4-small", + "t4-medium", + "a10g-small", + "a10g-large", + "a10g-largex2", + "a10g-largex4", + "a100-large", + "zero-a10g", + "h100", + "h100x8" +]; +async function duplicate(app_reference, options) { + const { token, private: _private, hardware, timeout, auth } = options; + if (hardware && !hardware_types.includes(hardware)) { + throw new Error( + `Invalid hardware type provided. Valid types are: ${hardware_types.map((v) => `"${v}"`).join(",")}.` + ); + } + const { http_protocol, host } = await process_endpoint(app_reference, token); + let cookies = null; + if (auth) { + const cookie_header = await get_cookie_header( + http_protocol, + host, + auth, + fetch + ); + if (cookie_header) cookies = parse_and_set_cookies(cookie_header); + } + const headers = { + Authorization: `Bearer ${token}`, + "Content-Type": "application/json", + ...cookies ? { Cookie: cookies.join("; ") } : {} + }; + const user = (await (await fetch(`https://huggingface.co/api/whoami-v2`, { + headers + })).json()).name; + const space_name = app_reference.split("/")[1]; + const body = { + repository: `${user}/${space_name}` + }; + if (_private) { + body.private = true; + } + let original_hardware; + try { + if (!hardware) { + original_hardware = await get_space_hardware(app_reference, token); + } + } catch (e) { + throw Error(SPACE_METADATA_ERROR_MSG + e.message); + } + const requested_hardware = hardware || original_hardware || "cpu-basic"; + body.hardware = requested_hardware; + try { + const response = await fetch( + `https://huggingface.co/api/spaces/${app_reference}/duplicate`, + { + method: "POST", + headers, + body: JSON.stringify(body) + } + ); + if (response.status === 409) { + try { + const client2 = await Client.connect(`${user}/${space_name}`, options); + return client2; + } catch (error) { + console.error("Failed to connect Client instance:", error); + throw error; + } + } else if (response.status !== 200) { + throw new Error(response.statusText); + } + const duplicated_space = await response.json(); + await set_space_timeout(`${user}/${space_name}`, timeout || 300, token); + return await Client.connect( + get_space_reference(duplicated_space.url), + options + ); + } catch (e) { + throw new Error(e); + } +} +function get_space_reference(url) { + const regex = /https:\/\/huggingface.co\/spaces\/([^/]+\/[^/]+)/; + const match = url.match(regex); + if (match) { + return match[1]; + } +} +class TextLineStream extends TransformStream { + #currentLine = ""; + /** Constructs a new instance. */ + constructor(options = { allowCR: false }) { + super({ + transform: (chars, controller) => { + chars = this.#currentLine + chars; + while (true) { + const lfIndex = chars.indexOf("\n"); + const crIndex = options.allowCR ? chars.indexOf("\r") : -1; + if (crIndex !== -1 && crIndex !== chars.length - 1 && (lfIndex === -1 || lfIndex - 1 > crIndex)) { + controller.enqueue(chars.slice(0, crIndex)); + chars = chars.slice(crIndex + 1); + continue; + } + if (lfIndex === -1) + break; + const endIndex = chars[lfIndex - 1] === "\r" ? lfIndex - 1 : lfIndex; + controller.enqueue(chars.slice(0, endIndex)); + chars = chars.slice(lfIndex + 1); + } + this.#currentLine = chars; + }, + flush: (controller) => { + if (this.#currentLine === "") + return; + const currentLine = options.allowCR && this.#currentLine.endsWith("\r") ? this.#currentLine.slice(0, -1) : this.#currentLine; + controller.enqueue(currentLine); + } + }); + } +} +function stream$1(input) { + let decoder = new TextDecoderStream(); + let split2 = new TextLineStream({ allowCR: true }); + return input.pipeThrough(decoder).pipeThrough(split2); +} +function split(input) { + let rgx = /[:]\s*/; + let match = rgx.exec(input); + let idx = match && match.index; + if (idx) { + return [ + input.substring(0, idx), + input.substring(idx + match[0].length) + ]; + } +} +function fallback(headers, key, value) { + let tmp = headers.get(key); + if (!tmp) + headers.set(key, value); +} +async function* events(res, signal) { + if (!res.body) + return; + let iter = stream$1(res.body); + let line, reader = iter.getReader(); + let event; + for (; ; ) { + if (signal && signal.aborted) { + return reader.cancel(); + } + line = await reader.read(); + if (line.done) + return; + if (!line.value) { + if (event) + yield event; + event = void 0; + continue; + } + let [field, value] = split(line.value) || []; + if (field === "data") { + event ||= {}; + event[field] = event[field] ? event[field] + "\n" + value : value; + } else if (field === "event") { + event ||= {}; + event[field] = value; + } else if (field === "id") { + event ||= {}; + event[field] = String(+value) === value ? +value : value; + } else if (field === "retry") { + event ||= {}; + event[field] = +value || void 0; + } + } +} +async function stream(input, init) { + let req = new Request(input, init); + fallback(req.headers, "Accept", "text/event-stream"); + fallback(req.headers, "Content-Type", "application/json"); + let r = await fetch(req); + if (!r.ok) + throw r; + return events(r, req.signal); +} +async function open_stream() { + let { + event_callbacks, + unclosed_events, + pending_stream_messages, + stream_status, + config, + jwt + } = this; + const that = this; + if (!config) { + throw new Error("Could not resolve app config"); + } + stream_status.open = true; + let stream2 = null; + let params = new URLSearchParams({ + session_hash: this.session_hash + }).toString(); + let url = new URL(`${config.root}${this.api_prefix}/${SSE_URL}?${params}`); + if (jwt) { + url.searchParams.set("__sign", jwt); + } + stream2 = this.stream(url); + if (!stream2) { + console.warn("Cannot connect to SSE endpoint: " + url.toString()); + return; + } + stream2.onmessage = async function(event) { + let _data = JSON.parse(event.data); + if (_data.msg === "close_stream") { + close_stream(stream_status, that.abort_controller); + return; + } + const event_id = _data.event_id; + if (!event_id) { + await Promise.all( + Object.keys(event_callbacks).map( + (event_id2) => event_callbacks[event_id2](_data) + ) + ); + } else if (event_callbacks[event_id] && config) { + if (_data.msg === "process_completed" && ["sse", "sse_v1", "sse_v2", "sse_v2.1", "sse_v3"].includes( + config.protocol + )) { + unclosed_events.delete(event_id); + } + let fn = event_callbacks[event_id]; + if (typeof window !== "undefined" && typeof document !== "undefined") { + setTimeout(fn, 0, _data); + } else { + fn(_data); + } + } else { + if (!pending_stream_messages[event_id]) { + pending_stream_messages[event_id] = []; + } + pending_stream_messages[event_id].push(_data); + } + }; + stream2.onerror = async function(e) { + console.error(e); + await Promise.all( + Object.keys(event_callbacks).map( + (event_id) => event_callbacks[event_id]({ + msg: "broken_connection", + message: BROKEN_CONNECTION_MSG + }) + ) + ); + }; +} +function close_stream(stream_status, abort_controller) { + if (stream_status) { + stream_status.open = false; + abort_controller?.abort(); + } +} +function apply_diff_stream(pending_diff_streams, event_id, data) { + let is_first_generation = !pending_diff_streams[event_id]; + if (is_first_generation) { + pending_diff_streams[event_id] = []; + data.data.forEach((value, i) => { + pending_diff_streams[event_id][i] = value; + }); + } else { + data.data.forEach((value, i) => { + let new_data = apply_diff(pending_diff_streams[event_id][i], value); + pending_diff_streams[event_id][i] = new_data; + data.data[i] = new_data; + }); + } +} +function apply_diff(obj, diff) { + diff.forEach(([action, path, value]) => { + obj = apply_edit(obj, path, action, value); + }); + return obj; +} +function apply_edit(target, path, action, value) { + if (path.length === 0) { + if (action === "replace") { + return value; + } else if (action === "append") { + return target + value; + } + throw new Error(`Unsupported action: ${action}`); + } + let current = target; + for (let i = 0; i < path.length - 1; i++) { + current = current[path[i]]; + } + const last_path = path[path.length - 1]; + switch (action) { + case "replace": + current[last_path] = value; + break; + case "append": + current[last_path] += value; + break; + case "add": + if (Array.isArray(current)) { + current.splice(Number(last_path), 0, value); + } else { + current[last_path] = value; + } + break; + case "delete": + if (Array.isArray(current)) { + current.splice(Number(last_path), 1); + } else { + delete current[last_path]; + } + break; + default: + throw new Error(`Unknown action: ${action}`); + } + return target; +} +function readable_stream(input, init = {}) { + const instance = { + close: () => { + console.warn("Method not implemented."); + }, + onerror: null, + onmessage: null, + onopen: null, + readyState: 0, + url: input.toString(), + withCredentials: false, + CONNECTING: 0, + OPEN: 1, + CLOSED: 2, + addEventListener: () => { + throw new Error("Method not implemented."); + }, + dispatchEvent: () => { + throw new Error("Method not implemented."); + }, + removeEventListener: () => { + throw new Error("Method not implemented."); + } + }; + stream(input, init).then(async (res) => { + instance.readyState = instance.OPEN; + try { + for await (const chunk of res) { + instance.onmessage && instance.onmessage(chunk); + } + instance.readyState = instance.CLOSED; + } catch (e) { + instance.onerror && instance.onerror(e); + instance.readyState = instance.CLOSED; + } + }).catch((e) => { + console.error(e); + instance.onerror && instance.onerror(e); + instance.readyState = instance.CLOSED; + }); + return instance; +} +function submit(endpoint, data = {}, event_data, trigger_id, all_events, additional_headers) { + try { + let fire_event = function(event) { + if (all_events || events_to_publish[event.type]) { + push_event(event); + } + }, close = function() { + done = true; + while (resolvers.length > 0) + resolvers.shift()({ + value: void 0, + done: true + }); + }, push = function(data2) { + if (resolvers.length > 0) { + resolvers.shift()(data2); + } else { + values.push(data2); + } + }, push_error = function(error) { + push(thenable_reject(error)); + close(); + }, push_event = function(event) { + push({ value: event, done: false }); + }, next = function() { + if (values.length > 0) { + return Promise.resolve(values.shift()); + } + return new Promise((resolve) => resolvers.push(resolve)); + }; + const { token } = this.options; + const { + fetch: fetch2, + app_reference, + config, + session_hash, + api_info, + api_map, + stream_status, + pending_stream_messages, + pending_diff_streams, + event_callbacks, + unclosed_events, + post_data: post_data2, + options, + api_prefix + } = this; + const addt_headers = additional_headers || { "x-gradio-user": "api" }; + const that = this; + if (!api_info) throw new Error("No API found"); + if (!config) throw new Error("Could not resolve app config"); + let { fn_index, endpoint_info, dependency } = get_endpoint_info( + api_info, + endpoint, + api_map, + config + ); + let resolved_data = map_data_to_params(data, endpoint_info); + let stream2; + let protocol = config.protocol ?? "ws"; + if (protocol === "ws") { + throw new Error("WebSocket protocol is not supported in this version"); + } + let event_id_final = ""; + let event_id_cb = () => event_id_final; + const _endpoint = typeof endpoint === "number" ? "/predict" : endpoint; + let payload; + let event_id = null; + let complete = false; + let last_status = {}; + let url_params = typeof window !== "undefined" && typeof document !== "undefined" ? new URLSearchParams(window.location.search).toString() : ""; + const events_to_publish = options?.events?.reduce( + (acc, event) => { + acc[event] = true; + return acc; + }, + {} + ) || {}; + async function cancel() { + let reset_request = {}; + let cancel_request = {}; + reset_request = { event_id }; + cancel_request = { event_id, session_hash, fn_index }; + try { + if (!config) { + throw new Error("Could not resolve app config"); + } + if ("event_id" in cancel_request) { + await fetch2(`${config.root}${api_prefix}/${CANCEL_URL}`, { + headers: { "Content-Type": "application/json" }, + method: "POST", + body: JSON.stringify(cancel_request) + }); + } + await fetch2(`${config.root}${api_prefix}/${RESET_URL}`, { + headers: { "Content-Type": "application/json" }, + method: "POST", + body: JSON.stringify(reset_request) + }); + } catch (e) { + console.warn( + "The `/reset` endpoint could not be called. Subsequent endpoint results may be unreliable." + ); + } + } + const resolve_heartbeat = async (config2) => { + await this._resolve_heartbeat(config2); + }; + async function handle_render_config(render_config) { + if (!config) return; + let render_id = render_config.render_id; + config.components = [ + ...config.components.filter((c) => c.props.rendered_in !== render_id), + ...render_config.components + ]; + config.dependencies = [ + ...config.dependencies.filter((d) => d.rendered_in !== render_id), + ...render_config.dependencies + ]; + const any_state = config.components.some((c) => c.type === "state"); + const any_unload = config.dependencies.some( + (d) => d.targets.some((t) => t[1] === "unload") + ); + config.connect_heartbeat = any_state || any_unload; + await resolve_heartbeat(config); + fire_event({ + type: "render", + data: render_config, + endpoint: _endpoint, + fn_index + }); + } + const job = this.handle_blob( + config.root, + resolved_data, + endpoint_info + ).then(async (_payload) => { + let input_data = handle_payload( + _payload, + dependency, + config.components, + "input", + true + ); + payload = { + data: input_data || [], + event_data, + fn_index, + trigger_id + }; + if (skip_queue(fn_index, config)) { + fire_event({ + type: "status", + endpoint: _endpoint, + stage: "pending", + queue: false, + fn_index, + time: /* @__PURE__ */ new Date() + }); + post_data2( + `${config.root}${api_prefix}/run${_endpoint.startsWith("/") ? _endpoint : `/${_endpoint}`}${url_params ? "?" + url_params : ""}`, + { + ...payload, + session_hash + }, + addt_headers + ).then(async ([output, status_code]) => { + const data2 = output.data; + if (status_code == 200) { + fire_event({ + type: "data", + endpoint: _endpoint, + fn_index, + data: handle_payload( + data2, + dependency, + config.components, + "output", + options.with_null_state + ), + time: /* @__PURE__ */ new Date(), + event_data, + trigger_id + }); + if (output.render_config) { + await handle_render_config(output.render_config); + } + fire_event({ + type: "status", + endpoint: _endpoint, + fn_index, + stage: "complete", + eta: output.average_duration, + queue: false, + time: /* @__PURE__ */ new Date() + }); + } else { + fire_event({ + type: "status", + stage: "error", + endpoint: _endpoint, + fn_index, + message: output.error, + queue: false, + time: /* @__PURE__ */ new Date() + }); + } + }).catch((e) => { + fire_event({ + type: "status", + stage: "error", + message: e.message, + endpoint: _endpoint, + fn_index, + queue: false, + time: /* @__PURE__ */ new Date() + }); + }); + } else if (protocol == "sse") { + fire_event({ + type: "status", + stage: "pending", + queue: true, + endpoint: _endpoint, + fn_index, + time: /* @__PURE__ */ new Date() + }); + var params = new URLSearchParams({ + fn_index: fn_index.toString(), + session_hash + }).toString(); + let url = new URL( + `${config.root}${api_prefix}/${SSE_URL}?${url_params ? url_params + "&" : ""}${params}` + ); + if (this.jwt) { + url.searchParams.set("__sign", this.jwt); + } + stream2 = this.stream(url); + if (!stream2) { + return Promise.reject( + new Error("Cannot connect to SSE endpoint: " + url.toString()) + ); + } + stream2.onmessage = async function(event) { + const _data = JSON.parse(event.data); + const { type, status, data: data2 } = handle_message( + _data, + last_status[fn_index] + ); + if (type === "update" && status && !complete) { + fire_event({ + type: "status", + endpoint: _endpoint, + fn_index, + time: /* @__PURE__ */ new Date(), + ...status + }); + if (status.stage === "error") { + stream2?.close(); + close(); + } + } else if (type === "data") { + let [_, status2] = await post_data2( + `${config.root}${api_prefix}/queue/data`, + { + ...payload, + session_hash, + event_id + } + ); + if (status2 !== 200) { + fire_event({ + type: "status", + stage: "error", + message: BROKEN_CONNECTION_MSG, + queue: true, + endpoint: _endpoint, + fn_index, + time: /* @__PURE__ */ new Date() + }); + stream2?.close(); + close(); + } + } else if (type === "complete") { + complete = status; + } else if (type === "log") { + fire_event({ + type: "log", + title: data2.title, + log: data2.log, + level: data2.level, + endpoint: _endpoint, + duration: data2.duration, + visible: data2.visible, + fn_index + }); + } else if (type === "generating" || type === "streaming") { + fire_event({ + type: "status", + time: /* @__PURE__ */ new Date(), + ...status, + stage: status?.stage, + queue: true, + endpoint: _endpoint, + fn_index + }); + } + if (data2) { + fire_event({ + type: "data", + time: /* @__PURE__ */ new Date(), + data: handle_payload( + data2.data, + dependency, + config.components, + "output", + options.with_null_state + ), + endpoint: _endpoint, + fn_index, + event_data, + trigger_id + }); + if (complete) { + fire_event({ + type: "status", + time: /* @__PURE__ */ new Date(), + ...complete, + stage: status?.stage, + queue: true, + endpoint: _endpoint, + fn_index + }); + stream2?.close(); + close(); + } + } + }; + } else if (protocol == "sse_v1" || protocol == "sse_v2" || protocol == "sse_v2.1" || protocol == "sse_v3") { + fire_event({ + type: "status", + stage: "pending", + queue: true, + endpoint: _endpoint, + fn_index, + time: /* @__PURE__ */ new Date() + }); + let hostname = ""; + if (typeof window !== "undefined" && typeof document !== "undefined") { + hostname = window?.location?.hostname; + } + let hfhubdev = "dev.spaces.huggingface.tech"; + const origin = hostname.includes(".dev.") ? `https://moon-${hostname.split(".")[1]}.${hfhubdev}` : `https://huggingface.co`; + const is_zerogpu_iframe = typeof window !== "undefined" && typeof document !== "undefined" && window.parent != window && window.supports_zerogpu_headers; + const zerogpu_auth_promise = is_zerogpu_iframe ? post_message("zerogpu-headers", origin) : Promise.resolve(null); + const post_data_promise = zerogpu_auth_promise.then((headers) => { + const combined_headers = { ...addt_headers, ...headers || {} }; + return post_data2( + `${config.root}${api_prefix}/${SSE_DATA_URL}?${url_params}`, + { + ...payload, + session_hash + }, + combined_headers + ); + }); + return post_data_promise.then(async ([response, status]) => { + if (response.event_id) { + event_id_final = response.event_id; + } + if (status === 503) { + fire_event({ + type: "status", + stage: "error", + message: QUEUE_FULL_MSG, + queue: true, + endpoint: _endpoint, + fn_index, + time: /* @__PURE__ */ new Date(), + visible: true + }); + } else if (status === 422) { + fire_event({ + type: "status", + stage: "error", + message: response.detail, + queue: true, + endpoint: _endpoint, + fn_index, + code: "validation_error", + time: /* @__PURE__ */ new Date(), + visible: true + }); + close(); + } else if (status !== 200) { + fire_event({ + type: "status", + stage: "error", + broken: false, + message: response.detail, + queue: true, + endpoint: _endpoint, + fn_index, + time: /* @__PURE__ */ new Date(), + visible: true + }); + } else { + event_id = response.event_id; + event_id_final = event_id; + let callback = async function(_data) { + try { + const { type, status: status2, data: data2, original_msg } = handle_message( + _data, + last_status[fn_index] + ); + if (type == "heartbeat") { + return; + } + if (type === "update" && status2 && !complete) { + fire_event({ + type: "status", + endpoint: _endpoint, + fn_index, + time: /* @__PURE__ */ new Date(), + original_msg, + ...status2 + }); + } else if (type === "complete") { + complete = status2; + } else if (type == "unexpected_error" || type == "broken_connection") { + console.error("Unexpected error", status2?.message); + const broken = type === "broken_connection"; + fire_event({ + type: "status", + stage: "error", + message: status2?.message || "An Unexpected Error Occurred!", + queue: true, + endpoint: _endpoint, + broken, + session_not_found: status2?.session_not_found, + fn_index, + time: /* @__PURE__ */ new Date() + }); + } else if (type === "log") { + fire_event({ + type: "log", + title: data2.title, + log: data2.log, + level: data2.level, + endpoint: _endpoint, + duration: data2.duration, + visible: data2.visible, + fn_index + }); + return; + } else if (type === "generating" || type === "streaming") { + fire_event({ + type: "status", + time: /* @__PURE__ */ new Date(), + ...status2, + stage: status2?.stage, + queue: true, + endpoint: _endpoint, + fn_index + }); + if (data2 && dependency.connection !== "stream" && ["sse_v2", "sse_v2.1", "sse_v3"].includes(protocol)) { + apply_diff_stream(pending_diff_streams, event_id, data2); + } + } + if (data2) { + fire_event({ + type: "data", + time: /* @__PURE__ */ new Date(), + data: handle_payload( + data2.data, + dependency, + config.components, + "output", + options.with_null_state + ), + endpoint: _endpoint, + fn_index + }); + if (data2.render_config) { + await handle_render_config(data2.render_config); + } + if (complete) { + fire_event({ + type: "status", + time: /* @__PURE__ */ new Date(), + ...complete, + stage: status2?.stage, + queue: true, + endpoint: _endpoint, + fn_index + }); + close(); + } + } + if (status2?.stage === "complete" || status2?.stage === "error") { + if (event_callbacks[event_id]) { + delete event_callbacks[event_id]; + } + if (event_id in pending_diff_streams) { + delete pending_diff_streams[event_id]; + } + } + } catch (e) { + console.error("Unexpected client exception", e); + fire_event({ + type: "status", + stage: "error", + message: "An Unexpected Error Occurred!", + queue: true, + endpoint: _endpoint, + fn_index, + time: /* @__PURE__ */ new Date() + }); + if (["sse_v2", "sse_v2.1", "sse_v3"].includes(protocol)) { + close_stream(stream_status, that.abort_controller); + stream_status.open = false; + close(); + } + } + }; + if (event_id in pending_stream_messages) { + pending_stream_messages[event_id].forEach((msg) => callback(msg)); + delete pending_stream_messages[event_id]; + } + event_callbacks[event_id] = callback; + unclosed_events.add(event_id); + if (!stream_status.open) { + await this.open_stream(); + } + } + }); + } + }); + let done = false; + const values = []; + const resolvers = []; + const iterator = { + [Symbol.asyncIterator]: () => iterator, + next, + throw: async (value) => { + push_error(value); + return next(); + }, + return: async () => { + close(); + return { value: void 0, done: true }; + }, + cancel, + send_chunk: (payload2) => { + this.post_data(`${config.root}${api_prefix}/stream/${event_id_final}`, { + ...payload2, + session_hash: this.session_hash + }); + }, + close_stream: () => { + this.post_data( + `${config.root}${api_prefix}/stream/${event_id_final}/close`, + {} + ); + close(); + }, + event_id: () => event_id_final, + wait_for_id: async () => { + await job; + return event_id; + } + }; + return iterator; + } catch (error) { + console.error("Submit function encountered an error:", error); + throw error; + } +} +function thenable_reject(error) { + return { + then: (resolve, reject) => reject(error) + }; +} +function get_endpoint_info(api_info, endpoint, api_map, config) { + let fn_index; + let endpoint_info; + let dependency; + if (typeof endpoint === "number") { + fn_index = endpoint; + endpoint_info = api_info.unnamed_endpoints[fn_index]; + dependency = config.dependencies.find((dep) => dep.id == endpoint); + } else { + const trimmed_endpoint = endpoint.replace(/^\//, ""); + fn_index = api_map[trimmed_endpoint]; + endpoint_info = api_info.named_endpoints[endpoint.trim()]; + dependency = config.dependencies.find( + (dep) => dep.id == api_map[trimmed_endpoint] + ); + } + if (typeof fn_index !== "number") { + throw new Error( + "There is no endpoint matching that name of fn_index matching that number." + ); + } + return { fn_index, endpoint_info, dependency }; +} +class Client { + app_reference; + options; + deep_link = null; + config; + api_prefix = ""; + api_info; + api_map = {}; + session_hash = Math.random().toString(36).substring(2); + jwt = false; + last_status = {}; + cookies = null; + // streaming + stream_status = { open: false }; + closed = false; + pending_stream_messages = {}; + pending_diff_streams = {}; + event_callbacks = {}; + unclosed_events = /* @__PURE__ */ new Set(); + heartbeat_event = null; + abort_controller = null; + stream_instance = null; + current_payload; + get_url_config(url = null) { + if (!this.config) { + throw new Error(CONFIG_ERROR_MSG); + } + if (url === null) { + url = window.location.href; + } + const stripSlashes = (str) => str.replace(/^\/+|\/+$/g, ""); + let root_path = stripSlashes(new URL(this.config.root).pathname); + let url_path = stripSlashes(new URL(url).pathname); + let page; + if (!url_path.startsWith(root_path)) { + page = ""; + } else { + page = stripSlashes(url_path.substring(root_path.length)); + } + return this.get_page_config(page); + } + get_page_config(page) { + if (!this.config) { + throw new Error(CONFIG_ERROR_MSG); + } + let config = this.config; + if (!(page in config.page)) { + page = ""; + } + return { + ...config, + current_page: page, + layout: config.page[page].layout, + components: config.components.filter( + (c) => config.page[page].components.includes(c.id) + ), + dependencies: this.config.dependencies.filter( + (d) => config.page[page].dependencies.includes(d.id) + ) + }; + } + fetch(input, init) { + const headers = new Headers(init?.headers || {}); + if (this && this.cookies) { + headers.append("Cookie", this.cookies); + } + if (this && this.options.headers) { + let additional_headers = new Headers(this.options.headers); + additional_headers.forEach((value, name) => { + headers.append(name, value); + }); + } + return fetch(input, { ...init, headers }); + } + stream(url) { + const headers = new Headers(); + if (this && this.cookies) { + headers.append("Cookie", this.cookies); + } + if (this && this.options.headers) { + let additional_headers = new Headers(this.options.headers); + additional_headers.forEach((value, name) => { + headers.append(name, value); + }); + } + if (this && this.options.token) { + headers.append("Authorization", `Bearer ${this.options.token}`); + } + this.abort_controller = new AbortController(); + this.stream_instance = readable_stream(url.toString(), { + credentials: "include", + headers, + signal: this.abort_controller.signal + }); + return this.stream_instance; + } + view_api; + upload_files; + upload; + handle_blob; + post_data; + submit; + predict; + open_stream; + resolve_config; + resolve_cookies; + constructor(app_reference, options = { events: ["data"] }) { + this.app_reference = app_reference; + this.deep_link = options.query_params?.deep_link || null; + if (!options.events) { + options.events = ["data"]; + } + this.options = options; + this.current_payload = {}; + if (options.cookies) { + this.cookies = options.cookies; + } + this.view_api = view_api.bind(this); + this.upload_files = upload_files.bind(this); + this.handle_blob = handle_blob.bind(this); + this.post_data = post_data.bind(this); + this.submit = submit.bind(this); + this.predict = predict.bind(this); + this.open_stream = open_stream.bind(this); + this.resolve_config = resolve_config.bind(this); + this.resolve_cookies = resolve_cookies.bind(this); + this.upload = upload.bind(this); + this.fetch = this.fetch.bind(this); + this.handle_space_success = this.handle_space_success.bind(this); + this.stream = this.stream.bind(this); + } + async init() { + if (this.options.auth) { + await this.resolve_cookies(); + } + await this._resolve_config().then( + ({ config }) => this._resolve_heartbeat(config) + ); + this.api_info = await this.view_api(); + this.api_map = map_names_to_ids(this.config?.dependencies || []); + } + async _resolve_heartbeat(_config) { + if (_config) { + this.config = _config; + this.api_prefix = _config.api_prefix || ""; + if (this.config && this.config.connect_heartbeat) { + if (this.config.space_id && this.options.token) { + this.jwt = await get_jwt( + this.config.space_id, + this.options.token, + this.cookies + ); + } + } + } + if (_config.space_id && this.options.token) { + this.jwt = await get_jwt(_config.space_id, this.options.token); + } + if (this.config && this.config.connect_heartbeat) { + const heartbeat_url = new URL( + `${this.config.root}${this.api_prefix}/${HEARTBEAT_URL}/${this.session_hash}` + ); + if (this.jwt) { + heartbeat_url.searchParams.set("__sign", this.jwt); + } + if (!this.heartbeat_event) { + this.heartbeat_event = this.stream(heartbeat_url); + } + } + } + static async connect(app_reference, options = { + events: ["data"] + }) { + const client2 = new this(app_reference, options); + if (options.session_hash) { + client2.session_hash = options.session_hash; + } + await client2.init(); + return client2; + } + async reconnect() { + const app_id_url = new URL( + `${this.config.root}${this.api_prefix}/${APP_ID_URL}` + ); + let app_id; + try { + const response = await this.fetch(app_id_url); + if (!response.ok) { + throw new Error(); + } + app_id = (await response.json()).app_id; + } catch (e) { + return "broken"; + } + if (app_id !== this.config.app_id) { + return "changed"; + } + return "connected"; + } + close() { + this.closed = true; + close_stream(this.stream_status, this.abort_controller); + } + set_current_payload(payload) { + this.current_payload = payload; + } + static async duplicate(app_reference, options = { + events: ["data"] + }) { + return duplicate(app_reference, options); + } + async _resolve_config() { + const { http_protocol, host, space_id } = await process_endpoint( + this.app_reference, + this.options.token + ); + const { status_callback } = this.options; + if (space_id && status_callback) { + await check_and_wake_space(space_id, status_callback); + } + let config; + try { + let configUrl = `${http_protocol}//${host}`; + config = await this.resolve_config(configUrl); + if (!config) { + throw new Error(CONFIG_ERROR_MSG); + } + return this.config_success(config); + } catch (e) { + if (space_id && status_callback) { + check_space_status( + space_id, + RE_SPACE_NAME.test(space_id) ? "space_name" : "subdomain", + this.handle_space_success + ); + } else { + if (status_callback) + status_callback({ + status: "error", + message: "Could not load this space.", + load_status: "error", + detail: "NOT_FOUND" + }); + throw Error(e); + } + } + } + async config_success(_config) { + this.config = _config; + this.api_prefix = _config.api_prefix || ""; + if (this.config.auth_required) { + return this.prepare_return_obj(); + } + try { + this.api_info = await this.view_api(); + } catch (e) { + console.error(API_INFO_ERROR_MSG + e.message); + } + return this.prepare_return_obj(); + } + async handle_space_success(status) { + if (!this) { + throw new Error(CONFIG_ERROR_MSG); + } + const { status_callback } = this.options; + if (status_callback) status_callback(status); + if (status.status === "running") { + try { + this.config = await this._resolve_config(); + this.api_prefix = this?.config?.api_prefix || ""; + if (!this.config) { + throw new Error(CONFIG_ERROR_MSG); + } + const _config = await this.config_success(this.config); + return _config; + } catch (e) { + if (status_callback) { + status_callback({ + status: "error", + message: "Could not load this space.", + load_status: "error", + detail: "NOT_FOUND" + }); + } + throw e; + } + } + } + async component_server(component_id, fn_name, data) { + if (!this.config) { + throw new Error(CONFIG_ERROR_MSG); + } + const headers = {}; + const { token } = this.options; + const { session_hash } = this; + if (token) { + headers.Authorization = `Bearer ${this.options.token}`; + } + let root_url; + let component = this.config.components.find( + (comp) => comp.id === component_id + ); + if (component?.props?.root_url) { + root_url = component.props.root_url; + } else { + root_url = this.config.root; + } + let body; + if ("binary" in data) { + body = new FormData(); + for (const key in data.data) { + if (key === "binary") continue; + body.append(key, data.data[key]); + } + body.set("component_id", component_id.toString()); + body.set("fn_name", fn_name); + body.set("session_hash", session_hash); + } else { + body = JSON.stringify({ + data, + component_id, + fn_name, + session_hash + }); + headers["Content-Type"] = "application/json"; + } + if (token) { + headers.Authorization = `Bearer ${token}`; + } + try { + const response = await this.fetch( + `${root_url}${this.api_prefix}/${COMPONENT_SERVER_URL}/`, + { + method: "POST", + body, + headers, + credentials: "include" + } + ); + if (!response.ok) { + throw new Error( + "Could not connect to component server: " + response.statusText + ); + } + const output = await response.json(); + return output; + } catch (e) { + console.warn(e); + } + } + set_cookies(raw_cookies) { + this.cookies = parse_and_set_cookies(raw_cookies).join("; "); + } + prepare_return_obj() { + return { + config: this.config, + predict: this.predict, + submit: this.submit, + view_api: this.view_api, + component_server: this.component_server + }; + } +} +async function client(app_reference, options = { + events: ["data"] +}) { + return await Client.connect(app_reference, options); +} +async function duplicate_space(app_reference, options) { + return await Client.duplicate(app_reference, options); +} +export { + Client, + FileData, + MISSING_CREDENTIALS_MSG, + client, + duplicate_space as duplicate, + handle_file, + predict, + prepare_files, + submit, + upload, + upload_files +}; diff --git a/node_modules/@gradio/client/dist/types.d.ts b/node_modules/@gradio/client/dist/types.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..d388f54de405dfc065da98ed9ad04e32af9dab97 --- /dev/null +++ b/node_modules/@gradio/client/dist/types.d.ts @@ -0,0 +1,348 @@ +import { hardware_types } from "./helpers/spaces"; +import type { SvelteComponent } from "svelte"; +import type { ComponentType } from "svelte"; +export interface ApiData { + label: string; + parameter_name: string; + parameter_default?: any; + parameter_has_default?: boolean; + type: { + type: any; + description: string; + }; + component: string; + example_input?: any; + python_type: { + type: string; + description: string; + }; + serializer: string; +} +export interface JsApiData { + label: string; + parameter_name: string; + parameter_default?: any; + parameter_has_default?: boolean; + type: string; + description: string; + component: string; + example_input?: any; + serializer: string; + python_type: { + type: string; + description: string; + }; +} +export interface EndpointInfo { + parameters: T[]; + returns: T[]; + type?: DependencyTypes; +} +export interface ApiInfo { + named_endpoints: Record>; + unnamed_endpoints: Record>; +} +export interface BlobRef { + path: string[]; + type: string | undefined; + blob: Blob | File | false; +} +export type DataType = string | Buffer | Record | any[]; +export declare class Command { + type: string; + command: string; + meta: { + path: string; + name: string; + orig_path: string; + }; + fileData?: FileData; + constructor(command: string, meta: { + path: string; + name: string; + orig_path: string; + }); +} +export type SubmitFunction = (endpoint: string | number, data?: unknown[] | Record, event_data?: unknown, trigger_id?: number | null, all_events?: boolean, additional_headers?: Record) => SubmitIterable; +export type PredictFunction = (endpoint: string | number, data?: unknown[] | Record, event_data?: unknown) => Promise>; +export type client_return = { + config: Config | undefined; + predict: PredictFunction; + submit: SubmitFunction; + component_server: (component_id: number, fn_name: string, data: unknown[]) => any; + view_api: (_fetch: typeof fetch) => Promise>; +}; +export interface SubmitIterable extends AsyncIterable { + [Symbol.asyncIterator](): SubmitIterable; + next: () => Promise>; + throw: (value: unknown) => Promise>; + return: () => Promise>; + cancel: () => Promise; + event_id: () => string; + send_chunk: (payload: Record) => void; + wait_for_id: () => Promise; + close_stream: () => void; +} +export type PredictReturn = { + type: EventType; + time: Date; + data: T; + endpoint: string; + fn_index: number; +}; +export type SpaceStatus = SpaceStatusNormal | SpaceStatusError; +export interface SpaceStatusNormal { + status: "sleeping" | "running" | "building" | "error" | "stopped" | "starting"; + detail: "SLEEPING" | "RUNNING" | "RUNNING_BUILDING" | "BUILDING" | "APP_STARTING" | "NOT_FOUND"; + load_status: "pending" | "error" | "complete" | "generating"; + message: string; +} +export interface SpaceStatusError { + status: "space_error" | "paused"; + detail: "NO_APP_FILE" | "CONFIG_ERROR" | "BUILD_ERROR" | "RUNTIME_ERROR" | "PAUSED"; + load_status: "error"; + message: string; + discussions_enabled: boolean; +} +export type SpaceStatusCallback = (a: SpaceStatus) => void; +export interface Config { + deep_link_state?: "none" | "valid" | "invalid"; + auth_required?: true; + app_id?: string; + analytics_enabled: boolean; + connect_heartbeat: boolean; + dev_mode: boolean; + vibe_mode: boolean; + auth_message: string; + components: ComponentMeta[]; + css: string | null; + js: string | null; + head: string | null; + dependencies: Dependency[]; + enable_queue: boolean; + show_error: boolean; + layout: any; + mode: "blocks" | "interface" | "chat_interface"; + root: string; + root_url?: string; + theme: string; + title: string; + version: string; + space_id: string | null; + is_space: boolean; + is_colab: boolean; + footer_links: string[]; + stylesheets: string[]; + current_page: string; + page: Record; + pages: [string, string, boolean][]; + protocol: "sse_v3" | "sse_v2.1" | "sse_v2" | "sse_v1" | "sse" | "ws"; + max_file_size?: number; + theme_hash?: number; + username: string | null; + api_prefix?: string; + fill_height?: boolean; + fill_width?: boolean; + pwa?: boolean; + i18n_translations?: Record> | null; + mcp_server?: boolean; +} +export interface ComponentMeta { + type: string; + id: number; + has_modes: boolean; + props: SharedProps; + instance: SvelteComponent; + component: ComponentType; + documentation?: Documentation; + children?: ComponentMeta[]; + parent?: ComponentMeta; + value?: any; + component_class_id: string; + key: string | number | null; + rendered_in?: number; +} +interface SharedProps { + elem_id?: string; + elem_classes?: string[]; + components?: string[]; + server_fns?: string[]; + interactive: boolean; + visible: boolean | "hidden"; + [key: string]: unknown; + root_url?: string; +} +export interface Documentation { + type?: TypeDescription; + description?: TypeDescription; + example_data?: string; +} +interface TypeDescription { + input_payload?: string; + response_object?: string; + payload?: string; +} +export interface Dependency { + id: number; + targets: [number, string][]; + inputs: number[]; + outputs: number[]; + backend_fn: boolean; + js: string | null; + scroll_to_output: boolean; + trigger: "click" | "load" | string; + max_batch_size: number; + show_progress: "full" | "minimal" | "hidden"; + show_progress_on: number[] | null; + frontend_fn: ((...args: unknown[]) => Promise) | null; + status?: string; + queue: boolean | null; + every: number | null; + batch: boolean; + api_name: string | null; + cancels: number[]; + types: DependencyTypes; + collects_event_data: boolean; + pending_request?: boolean; + trigger_after?: number; + trigger_only_on_success?: boolean; + trigger_only_on_failure?: boolean; + trigger_mode: "once" | "multiple" | "always_last"; + final_event: Payload | null; + api_visibility: "public" | "private" | "undocumented"; + rendered_in: number | null; + render_id: number | null; + connection: "stream" | "sse"; + time_limit: number; + stream_every: number; + like_user_message: boolean; + event_specific_args: string[]; + component_prop_inputs: number[]; + js_implementation: string | null; +} +export interface DependencyTypes { + generator: boolean; + cancel: boolean; +} +export interface Payload { + fn_index: number; + data: unknown[]; + time?: Date; + event_data?: unknown; + trigger_id?: number | null; +} +export interface PostResponse { + error?: string; + [x: string]: any; +} +export interface UploadResponse { + error?: string; + files?: string[]; +} +export interface DuplicateOptions extends ClientOptions { + private?: boolean; + hardware?: (typeof hardware_types)[number]; + timeout?: number; +} +export interface ClientOptions { + token?: `hf_${string}`; + status_callback?: SpaceStatusCallback | null; + auth?: [string, string] | null; + with_null_state?: boolean; + events?: EventType[]; + headers?: Record | Headers; + query_params?: Record; + session_hash?: string; + cookies?: string; +} +export interface FileData { + name: string; + orig_name?: string; + size?: number; + data: string; + blob?: File; + is_file?: boolean; + mime_type?: string; + alt_text?: string; +} +export type EventType = "data" | "status" | "log" | "render"; +export interface EventMap { + data: PayloadMessage; + status: StatusMessage; + log: LogMessage; + render: RenderMessage; +} +export type GradioEvent = { + [P in EventType]: EventMap[P]; +}[EventType]; +export interface Log { + log: string; + title: string; + level: "warning" | "info" | "success" | "error"; +} +export interface Render { + data: { + components: any[]; + layout: any; + dependencies: Dependency[]; + render_id: number; + }; +} +export interface ValidationError { + is_valid: boolean; + message: string; +} +export interface Status { + queue: boolean; + code?: string; + success?: boolean; + stage: "pending" | "error" | "complete" | "generating" | "streaming"; + duration?: number; + visible?: boolean; + broken?: boolean; + size?: number; + position?: number; + eta?: number; + title?: string; + message?: string | ValidationError[]; + progress_data?: { + progress: number | null; + index: number | null; + length: number | null; + unit: string | null; + desc: string | null; + }[]; + time?: Date; + changed_state_ids?: number[]; + time_limit?: number; + session_not_found?: boolean; +} +export interface StatusMessage extends Status { + type: "status"; + endpoint: string; + fn_index: number; + original_msg?: string; +} +export interface PayloadMessage extends Payload { + type: "data"; + endpoint: string; + fn_index: number; +} +export interface LogMessage extends Log { + type: "log"; + endpoint: string; + fn_index: number; + duration: number | null; + visible: boolean; +} +export interface RenderMessage extends Render { + type: "render"; + endpoint: string; + fn_index: number; +} +export {}; +//# sourceMappingURL=types.d.ts.map \ No newline at end of file diff --git a/node_modules/@gradio/client/dist/types.d.ts.map b/node_modules/@gradio/client/dist/types.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..666d5424ab8b9bc059703d7f77e4e91898509acd --- /dev/null +++ b/node_modules/@gradio/client/dist/types.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,WAAW,OAAO;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,iBAAiB,CAAC,EAAE,GAAG,CAAC;IACxB,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,IAAI,EAAE;QACL,IAAI,EAAE,GAAG,CAAC;QACV,WAAW,EAAE,MAAM,CAAC;KACpB,CAAC;IACF,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,GAAG,CAAC;IACpB,WAAW,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,CAAC;IACnD,UAAU,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,SAAS;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,iBAAiB,CAAC,EAAE,GAAG,CAAC;IACxB,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,a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AI,CAAC;QACxB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;QACrB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;QACtB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;QACpB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;KACpB,EAAE,CAAC;IACJ,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC7B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,MAAM,WAAW,aAAc,SAAQ,MAAM;IAC5C,IAAI,EAAE,QAAQ,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,cAAe,SAAQ,OAAO;IAC9C,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,UAAW,SAAQ,GAAG;IACtC,IAAI,EAAE,KAAK,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,OAAO,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,aAAc,SAAQ,MAAM;IAC5C,IAAI,EAAE,QAAQ,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CACjB"} \ No newline at end of file diff --git a/node_modules/@gradio/client/dist/upload.d.ts b/node_modules/@gradio/client/dist/upload.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..892975493f6e18597ac9a9db764e9f16e2b18644 --- /dev/null +++ b/node_modules/@gradio/client/dist/upload.d.ts @@ -0,0 +1,29 @@ +import type { Client } from "./client"; +export declare function upload(this: Client, file_data: FileData[], root_url: string, upload_id?: string, max_file_size?: number): Promise<(FileData | null)[] | null>; +export declare function prepare_files(files: File[], is_stream?: boolean): Promise; +export declare class FileData { + path: string; + url?: string; + orig_name?: string; + size?: number; + blob?: File; + is_stream?: boolean; + mime_type?: string; + alt_text?: string; + b64?: string; + readonly meta: { + _type: string; + }; + constructor({ path, url, orig_name, size, blob, is_stream, mime_type, alt_text, b64 }: { + path: string; + url?: string; + orig_name?: string; + size?: number; + blob?: File; + is_stream?: boolean; + mime_type?: string; + alt_text?: string; + b64?: string; + }); +} +//# sourceMappingURL=upload.d.ts.map \ No newline at end of file diff --git a/node_modules/@gradio/client/dist/upload.d.ts.map b/node_modules/@gradio/client/dist/upload.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..a208f2332b9932d9bab03eff5840bb91b8090dca --- /dev/null +++ b/node_modules/@gradio/client/dist/upload.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"upload.d.ts","sourceRoot":"","sources":["../src/upload.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC,wBAAsB,MAAM,CAC3B,IAAI,EAAE,MAAM,EACZ,SAAS,EAAE,QAAQ,EAAE,EACrB,QAAQ,EAAE,MAAM,EAChB,SAAS,CAAC,EAAE,MAAM,EAClB,aAAa,CAAC,EAAE,MAAM,GACpB,OAAO,CAAC,CAAC,QAAQ,GAAG,IAAI,CAAC,EAAE,GAAG,IAAI,CAAC,CAsCrC;AAED,wBAAsB,aAAa,CAClC,KAAK,EAAE,IAAI,EAAE,EACb,SAAS,CAAC,EAAE,OAAO,GACjB,OAAO,CAAC,QAAQ,EAAE,CAAC,CAYrB;AAED,qBAAa,QAAQ;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,IAAI;;MAAgC;gBAEjC,EACX,IAAI,EACJ,GAAG,EACH,SAAS,EACT,IAAI,EACJ,IAAI,EACJ,SAAS,EACT,SAAS,EACT,QAAQ,EACR,GAAG,EACH,EAAE;QACF,IAAI,EAAE,MAAM,CAAC;QACb,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,IAAI,CAAC,EAAE,IAAI,CAAC;QACZ,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,GAAG,CAAC,EAAE,MAAM,CAAC;KACb;CAWD"} \ No newline at end of file diff --git a/node_modules/@gradio/client/dist/utils/duplicate.d.ts b/node_modules/@gradio/client/dist/utils/duplicate.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..2db4e1f6aed77c8ef0ac705cf467fd8d0c3a1083 --- /dev/null +++ b/node_modules/@gradio/client/dist/utils/duplicate.d.ts @@ -0,0 +1,4 @@ +import type { DuplicateOptions } from "../types"; +import { Client } from "../client"; +export declare function duplicate(app_reference: string, options: DuplicateOptions): Promise; +//# sourceMappingURL=duplicate.d.ts.map \ No newline at end of file diff --git a/node_modules/@gradio/client/dist/utils/duplicate.d.ts.map b/node_modules/@gradio/client/dist/utils/duplicate.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..f55b7c1a7bbf680e761308166a6a034a58af9cc6 --- /dev/null +++ b/node_modules/@gradio/client/dist/utils/duplicate.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"duplicate.d.ts","sourceRoot":"","sources":["../../src/utils/duplicate.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAQnC,wBAAsB,SAAS,CAC9B,aAAa,EAAE,MAAM,EACrB,OAAO,EAAE,gBAAgB,GACvB,OAAO,CAAC,MAAM,CAAC,CAoGjB"} \ No newline at end of file diff --git a/node_modules/@gradio/client/dist/utils/filesize.d.ts b/node_modules/@gradio/client/dist/utils/filesize.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..0f01d6736cb99511589b99d23ffd398eec5bc895 --- /dev/null +++ b/node_modules/@gradio/client/dist/utils/filesize.d.ts @@ -0,0 +1,15 @@ +type SPEC = { + readonly radix: number; + readonly unit: string[]; +}; +export declare const SPECS: Record; +/** + * file size from https://github.com/hustcc/filesize.js + * @param bytes - The number of bytes to convert to human-readable format + * @param fixed - Number of decimal places to display (default: 1) + * @param spec - Size specification to use: "si", "iec", or "jedec" (default: "jedec") + * @returns Human-readable file size string + */ +export declare function filesize(bytes: number, fixed?: number, spec?: string): string; +export {}; +//# sourceMappingURL=filesize.d.ts.map \ No newline at end of file diff --git a/node_modules/@gradio/client/dist/utils/filesize.d.ts.map b/node_modules/@gradio/client/dist/utils/filesize.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..1cb2abbdb24fca64d719afbf8ae40b1025429038 --- /dev/null +++ b/node_modules/@gradio/client/dist/utils/filesize.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"filesize.d.ts","sourceRoot":"","sources":["../../src/utils/filesize.ts"],"names":[],"mappings":"AAAA,KAAK,IAAI,GAAG;IACX,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,CAAC;CACxB,CAAC;AAeF,eAAO,MAAM,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAItC,CAAC;AAEF;;;;;;GAMG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,SAAI,EAAE,IAAI,SAAU,GAAG,MAAM,CASzE"} \ No newline at end of file diff --git a/node_modules/@gradio/client/dist/utils/handle_blob.d.ts b/node_modules/@gradio/client/dist/utils/handle_blob.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..42fb43d0da8c8506c52ec47bd0196163f7f359a9 --- /dev/null +++ b/node_modules/@gradio/client/dist/utils/handle_blob.d.ts @@ -0,0 +1,5 @@ +import { type ApiData, type EndpointInfo, type JsApiData } from "../types"; +import type { Client } from ".."; +export declare function handle_blob(this: Client, endpoint: string, data: unknown[], api_info: EndpointInfo): Promise; +export declare function process_local_file_commands(client: Client, data: unknown[]): Promise; +//# sourceMappingURL=handle_blob.d.ts.map \ No newline at end of file diff --git a/node_modules/@gradio/client/dist/utils/handle_blob.d.ts.map b/node_modules/@gradio/client/dist/utils/handle_blob.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..29557a50daf7e5f663c0a2a42bfa02f7dc98513e --- /dev/null +++ b/node_modules/@gradio/client/dist/utils/handle_blob.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"handle_blob.d.ts","sourceRoot":"","sources":["../../src/utils/handle_blob.ts"],"names":[],"mappings":"AACA,OAAO,EAEN,KAAK,OAAO,EACZ,KAAK,YAAY,EACjB,KAAK,SAAS,EACd,MAAM,UAAU,CAAC;AAElB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,IAAI,CAAC;AAOjC,wBAAsB,WAAW,CAChC,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,OAAO,EAAE,EACf,QAAQ,EAAE,YAAY,CAAC,SAAS,GAAG,OAAO,CAAC,GACzC,OAAO,CAAC,OAAO,EAAE,CAAC,CAyCpB;AAED,wBAAsB,2BAA2B,CAChD,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,OAAO,EAAE,GACb,OAAO,CAAC,IAAI,CAAC,CAQf"} \ No newline at end of file diff --git a/node_modules/@gradio/client/dist/utils/post_data.d.ts b/node_modules/@gradio/client/dist/utils/post_data.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..b08b61ae99d1c05d29b14f7413bc36358379e271 --- /dev/null +++ b/node_modules/@gradio/client/dist/utils/post_data.d.ts @@ -0,0 +1,4 @@ +import type { PostResponse } from "../types"; +import { Client } from ".."; +export declare function post_data(this: Client, url: string, body: unknown, additional_headers?: any): Promise<[PostResponse, number]>; +//# sourceMappingURL=post_data.d.ts.map \ No newline at end of file diff --git a/node_modules/@gradio/client/dist/utils/post_data.d.ts.map b/node_modules/@gradio/client/dist/utils/post_data.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..1803a88c5bbdaeb717922e5e1d82d7b4d623a0c5 --- /dev/null +++ b/node_modules/@gradio/client/dist/utils/post_data.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"post_data.d.ts","sourceRoot":"","sources":["../../src/utils/post_data.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,IAAI,CAAC;AAE5B,wBAAsB,SAAS,CAC9B,IAAI,EAAE,MAAM,EACZ,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,OAAO,EACb,kBAAkB,CAAC,EAAE,GAAG,GACtB,OAAO,CAAC,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC,CA4BjC"} \ No newline at end of file diff --git a/node_modules/@gradio/client/dist/utils/predict.d.ts b/node_modules/@gradio/client/dist/utils/predict.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..56b25ea24ff230c2142f602693c0d65347753080 --- /dev/null +++ b/node_modules/@gradio/client/dist/utils/predict.d.ts @@ -0,0 +1,4 @@ +import { Client } from "../client"; +import type { PredictReturn } from "../types"; +export declare function predict(this: Client, endpoint: string | number, data?: unknown[] | Record): Promise>; +//# sourceMappingURL=predict.d.ts.map \ No newline at end of file diff --git a/node_modules/@gradio/client/dist/utils/predict.d.ts.map b/node_modules/@gradio/client/dist/utils/predict.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..d5b9fe43a89c59ec2460d1387c3ac64f3d1636b7 --- /dev/null +++ b/node_modules/@gradio/client/dist/utils/predict.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"predict.d.ts","sourceRoot":"","sources":["../../src/utils/predict.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,KAAK,EAAc,aAAa,EAAE,MAAM,UAAU,CAAC;AAE1D,wBAAsB,OAAO,CAAC,CAAC,GAAG,OAAO,EACxC,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM,GAAG,MAAM,EACzB,IAAI,GAAE,OAAO,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAM,GAC5C,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CA2C3B"} \ No newline at end of file diff --git a/node_modules/@gradio/client/dist/utils/stream.d.ts b/node_modules/@gradio/client/dist/utils/stream.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..de5337bc3cba1b86bb38f2d0be720bd68b150d9d --- /dev/null +++ b/node_modules/@gradio/client/dist/utils/stream.d.ts @@ -0,0 +1,9 @@ +import type { Client } from "../client"; +export declare function open_stream(this: Client): Promise; +export declare function close_stream(stream_status: { + open: boolean; +}, abort_controller: AbortController | null): void; +export declare function apply_diff_stream(pending_diff_streams: Record, event_id: string, data: any): void; +export declare function apply_diff(obj: any, diff: [string, (number | string)[], any][]): any; +export declare function readable_stream(input: RequestInfo | URL, init?: RequestInit): EventSource; +//# sourceMappingURL=stream.d.ts.map \ No newline at end of file diff --git a/node_modules/@gradio/client/dist/utils/stream.d.ts.map b/node_modules/@gradio/client/dist/utils/stream.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..2a19fdcbce2328b9950bc2eb3f1f383eef08c954 --- /dev/null +++ b/node_modules/@gradio/client/dist/utils/stream.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"stream.d.ts","sourceRoot":"","sources":["../../src/utils/stream.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAGxC,wBAAsB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAoF7D;AAED,wBAAgB,YAAY,CAC3B,aAAa,EAAE;IAAE,IAAI,EAAE,OAAO,CAAA;CAAE,EAChC,gBAAgB,EAAE,eAAe,GAAG,IAAI,GACtC,IAAI,CAKN;AAED,wBAAgB,iBAAiB,CAChC,oBAAoB,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,EAAE,EAAE,CAAC,EAC7C,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,GAAG,GACP,IAAI,CAcN;AAED,wBAAgB,UAAU,CACzB,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,CAAC,MAAM,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,EAAE,GAAG,CAAC,EAAE,GACxC,GAAG,CAML;AAkDD,wBAAgB,eAAe,CAC9B,KAAK,EAAE,WAAW,GAAG,GAAG,EACxB,IAAI,GAAE,WAAgB,GACpB,WAAW,CA8Cb"} \ No newline at end of file diff --git a/node_modules/@gradio/client/dist/utils/submit.d.ts b/node_modules/@gradio/client/dist/utils/submit.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..6ba816b3dd7a53c6257aaa81ceb816325c3364f9 --- /dev/null +++ b/node_modules/@gradio/client/dist/utils/submit.d.ts @@ -0,0 +1,4 @@ +import type { GradioEvent, SubmitIterable } from "../types"; +import { Client } from "../client"; +export declare function submit(this: Client, endpoint: string | number, data?: unknown[] | Record, event_data?: unknown, trigger_id?: number | null, all_events?: boolean, additional_headers?: Record): SubmitIterable; +//# sourceMappingURL=submit.d.ts.map \ No newline at end of file diff --git a/node_modules/@gradio/client/dist/utils/submit.d.ts.map b/node_modules/@gradio/client/dist/utils/submit.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..7016b422ce7e17f92dc9370a3301204f3922132f --- /dev/null +++ b/node_modules/@gradio/client/dist/utils/submit.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"submit.d.ts","sourceRoot":"","sources":["../../src/utils/submit.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAGX,WAAW,EAMX,cAAc,EACd,MAAM,UAAU,CAAC;AAiBlB,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAEnC,wBAAgB,MAAM,CACrB,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM,GAAG,MAAM,EACzB,IAAI,GAAE,OAAO,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAM,EAC9C,UAAU,CAAC,EAAE,OAAO,EACpB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,EAC1B,UAAU,CAAC,EAAE,OAAO,EACpB,kBAAkB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GACzC,cAAc,CAAC,WAAW,CAAC,CAypB7B"} \ No newline at end of file diff --git a/node_modules/@gradio/client/dist/utils/upload_files.d.ts b/node_modules/@gradio/client/dist/utils/upload_files.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..9696aae9fd3e8cd1d7e4eb0fe2927430d37a692f --- /dev/null +++ b/node_modules/@gradio/client/dist/utils/upload_files.d.ts @@ -0,0 +1,4 @@ +import type { Client } from ".."; +import type { UploadResponse } from "../types"; +export declare function upload_files(this: Client, root_url: string, files: (Blob | File)[], upload_id?: string): Promise; +//# sourceMappingURL=upload_files.d.ts.map \ No newline at end of file diff --git a/node_modules/@gradio/client/dist/utils/upload_files.d.ts.map b/node_modules/@gradio/client/dist/utils/upload_files.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..a73856c66c15eb074dba1d2b737104dcd40aae62 --- /dev/null +++ b/node_modules/@gradio/client/dist/utils/upload_files.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"upload_files.d.ts","sourceRoot":"","sources":["../../src/utils/upload_files.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,IAAI,CAAC;AAEjC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,wBAAsB,YAAY,CACjC,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,CAAC,IAAI,GAAG,IAAI,CAAC,EAAE,EACtB,SAAS,CAAC,EAAE,MAAM,GAChB,OAAO,CAAC,cAAc,CAAC,CA0CzB"} \ No newline at end of file diff --git a/node_modules/@gradio/client/dist/utils/view_api.d.ts b/node_modules/@gradio/client/dist/utils/view_api.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..0110c2bf57fa9f618868c490c5df71d8e2906ee7 --- /dev/null +++ b/node_modules/@gradio/client/dist/utils/view_api.d.ts @@ -0,0 +1,3 @@ +import { Client } from "../client"; +export declare function view_api(this: Client): Promise; +//# sourceMappingURL=view_api.d.ts.map \ No newline at end of file diff --git a/node_modules/@gradio/client/dist/utils/view_api.d.ts.map b/node_modules/@gradio/client/dist/utils/view_api.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..fee4a05e47ec80a2984ed4c5860552dd275cd305 --- /dev/null +++ b/node_modules/@gradio/client/dist/utils/view_api.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"view_api.d.ts","sourceRoot":"","sources":["../../src/utils/view_api.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAInC,wBAAsB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,CAkDzD"} \ No newline at end of file diff --git a/node_modules/@gradio/client/index.html b/node_modules/@gradio/client/index.html new file mode 100644 index 0000000000000000000000000000000000000000..1afd437873ac0e0ad160a577a5fb325dcb07142b --- /dev/null +++ b/node_modules/@gradio/client/index.html @@ -0,0 +1,39 @@ + + + + + + + Client + + + +
+ + diff --git a/node_modules/@gradio/client/package.json b/node_modules/@gradio/client/package.json new file mode 100644 index 0000000000000000000000000000000000000000..05126dc69c13700178d47793cdc212ae63c28b57 --- /dev/null +++ b/node_modules/@gradio/client/package.json @@ -0,0 +1,46 @@ +{ + "name": "@gradio/client", + "version": "2.0.4", + "description": "Gradio API client", + "type": "module", + "main": "dist/index.js", + "author": "", + "license": "ISC", + "exports": { + ".": { + "gradio": "./src/index.ts", + "browser": "./dist/browser.js", + "import": "./dist/index.js", + "default": "./dist/index.js" + }, + "./package.json": "./package.json", + "./browser.js": "./dist/browser.js" + }, + "dependencies": { + "fetch-event-stream": "^0.1.5" + }, + "devDependencies": { + "msw": "^2.11.3", + "typescript": "^5.9.3" + }, + "engines": { + "node": ">=18.0.0" + }, + "main_changeset": true, + "repository": { + "type": "git", + "url": "git+https://github.com/gradio-app/gradio.git", + "directory": "client/js" + }, + "scripts": { + "bundle": "vite build --ssr", + "bundle:browser": "BROWSER_BUILD=true vite build", + "generate_types": "tsc", + "clean": "rm -rf dist", + "build": "pnpm clean && pnpm bundle && pnpm bundle:browser && pnpm generate_types", + "test": "pnpm test:client && pnpm test:client:node", + "test:client": "vitest run -c vite.config.js", + "test:client:node": "TEST_MODE=node vitest run -c vite.config.js", + "preview:browser": "vite dev --mode=preview" + } +} \ No newline at end of file diff --git a/node_modules/@gradio/client/src/client.ts b/node_modules/@gradio/client/src/client.ts new file mode 100644 index 0000000000000000000000000000000000000000..1a85c05f1e360054790e59958bae15b1f579738c --- /dev/null +++ b/node_modules/@gradio/client/src/client.ts @@ -0,0 +1,548 @@ +import type { + ApiData, + ApiInfo, + ClientOptions, + Config, + DuplicateOptions, + EndpointInfo, + JsApiData, + PredictReturn, + SpaceStatus, + Status, + UploadResponse, + client_return, + SubmitIterable, + GradioEvent +} from "./types"; +import { view_api } from "./utils/view_api"; +import { upload_files } from "./utils/upload_files"; +import { upload, FileData } from "./upload"; +import { handle_blob } from "./utils/handle_blob"; +import { post_data } from "./utils/post_data"; +import { predict } from "./utils/predict"; +import { duplicate } from "./utils/duplicate"; +import { submit } from "./utils/submit"; +import { RE_SPACE_NAME, process_endpoint } from "./helpers/api_info"; +import { + map_names_to_ids, + resolve_cookies, + resolve_config, + get_jwt, + parse_and_set_cookies +} from "./helpers/init_helpers"; +import { check_and_wake_space, check_space_status } from "./helpers/spaces"; +import { open_stream, readable_stream, close_stream } from "./utils/stream"; +import { + API_INFO_ERROR_MSG, + APP_ID_URL, + CONFIG_ERROR_MSG, + HEARTBEAT_URL, + COMPONENT_SERVER_URL +} from "./constants"; +declare const BROWSER_BUILD: boolean; + +export class Client { + app_reference: string; + options: ClientOptions; + deep_link: string | null = null; + + config: Config | undefined; + api_prefix = ""; + api_info: ApiInfo | undefined; + api_map: Record = {}; + session_hash: string = Math.random().toString(36).substring(2); + jwt: string | false = false; + last_status: Record = {}; + + private cookies: string | null = null; + + // streaming + stream_status = { open: false }; + closed = false; + pending_stream_messages: Record = {}; + pending_diff_streams: Record = {}; + event_callbacks: Record Promise> = {}; + unclosed_events: Set = new Set(); + heartbeat_event: EventSource | null = null; + abort_controller: AbortController | null = null; + stream_instance: EventSource | null = null; + current_payload: any; + + get_url_config(url: string | null = null): Config { + if (!this.config) { + throw new Error(CONFIG_ERROR_MSG); + } + if (url === null) { + url = window.location.href; + } + const stripSlashes = (str: string): string => str.replace(/^\/+|\/+$/g, ""); + let root_path = stripSlashes(new URL(this.config.root).pathname); + let url_path = stripSlashes(new URL(url).pathname); + let page: string; + if (!url_path.startsWith(root_path)) { + page = ""; + } else { + page = stripSlashes(url_path.substring(root_path.length)); + } + return this.get_page_config(page); + } + get_page_config(page: string): Config { + if (!this.config) { + throw new Error(CONFIG_ERROR_MSG); + } + let config = this.config; + if (!(page in config.page)) { + page = ""; + } + return { + ...config, + current_page: page, + layout: config.page[page].layout, + components: config.components.filter((c) => + config.page[page].components.includes(c.id) + ), + dependencies: this.config.dependencies.filter((d) => + config.page[page].dependencies.includes(d.id) + ) + }; + } + + fetch(input: RequestInfo | URL, init?: RequestInit): Promise { + const headers = new Headers(init?.headers || {}); + if (this && this.cookies) { + headers.append("Cookie", this.cookies); + } + if (this && this.options.headers) { + let additional_headers = new Headers(this.options.headers); + + additional_headers.forEach((value, name) => { + headers.append(name, value); + }); + } + + return fetch(input, { ...init, headers }); + } + + stream(url: URL): EventSource { + const headers = new Headers(); + if (this && this.cookies) { + headers.append("Cookie", this.cookies); + } + if (this && this.options.headers) { + let additional_headers = new Headers(this.options.headers); + + additional_headers.forEach((value, name) => { + headers.append(name, value); + }); + } + if (this && this.options.token) { + headers.append("Authorization", `Bearer ${this.options.token}`); + } + + this.abort_controller = new AbortController(); + + this.stream_instance = readable_stream(url.toString(), { + credentials: "include", + headers: headers, + signal: this.abort_controller.signal + }); + + return this.stream_instance; + } + + view_api: () => Promise>; + upload_files: ( + root_url: string, + files: (Blob | File)[], + upload_id?: string + ) => Promise; + upload: ( + file_data: FileData[], + root_url: string, + upload_id?: string, + max_file_size?: number + ) => Promise<(FileData | null)[] | null>; + handle_blob: ( + endpoint: string, + data: unknown[], + endpoint_info: EndpointInfo + ) => Promise; + post_data: ( + url: string, + body: unknown, + additional_headers?: any + ) => Promise; + submit: ( + endpoint: string | number, + data: unknown[] | Record | undefined, + event_data?: unknown, + trigger_id?: number | null, + all_events?: boolean + ) => SubmitIterable; + predict: ( + endpoint: string | number, + data: unknown[] | Record | undefined, + event_data?: unknown + ) => Promise>; + open_stream: () => Promise; + private resolve_config: (endpoint: string) => Promise; + private resolve_cookies: () => Promise; + constructor( + app_reference: string, + options: ClientOptions = { events: ["data"] } + ) { + this.app_reference = app_reference; + this.deep_link = options.query_params?.deep_link || null; + if (!options.events) { + options.events = ["data"]; + } + + this.options = options; + this.current_payload = {}; + + if (options.cookies) { + this.cookies = options.cookies; + } + + this.view_api = view_api.bind(this); + this.upload_files = upload_files.bind(this); + this.handle_blob = handle_blob.bind(this); + this.post_data = post_data.bind(this); + this.submit = submit.bind(this); + this.predict = predict.bind(this) as typeof this.predict; + this.open_stream = open_stream.bind(this); + this.resolve_config = resolve_config.bind(this); + this.resolve_cookies = resolve_cookies.bind(this); + this.upload = upload.bind(this); + this.fetch = this.fetch.bind(this); + this.handle_space_success = this.handle_space_success.bind(this); + this.stream = this.stream.bind(this); + } + + private async init(): Promise { + if (this.options.auth) { + await this.resolve_cookies(); + } + + await this._resolve_config().then(({ config }) => + this._resolve_heartbeat(config) + ); + + this.api_info = await this.view_api(); + this.api_map = map_names_to_ids(this.config?.dependencies || []); + } + + async _resolve_heartbeat(_config: Config): Promise { + if (_config) { + this.config = _config; + this.api_prefix = _config.api_prefix || ""; + + if (this.config && this.config.connect_heartbeat) { + if (this.config.space_id && this.options.token) { + this.jwt = await get_jwt( + this.config.space_id, + this.options.token, + this.cookies + ); + } + } + } + + if (_config.space_id && this.options.token) { + this.jwt = await get_jwt(_config.space_id, this.options.token); + } + + if (this.config && this.config.connect_heartbeat) { + // connect to the heartbeat endpoint via GET request + const heartbeat_url = new URL( + `${this.config.root}${this.api_prefix}/${HEARTBEAT_URL}/${this.session_hash}` + ); + + // if the jwt is available, add it to the query params + if (this.jwt) { + heartbeat_url.searchParams.set("__sign", this.jwt); + } + + // Just connect to the endpoint without parsing the response. Ref: https://github.com/gradio-app/gradio/pull/7974#discussion_r1557717540 + if (!this.heartbeat_event) { + this.heartbeat_event = this.stream(heartbeat_url); + } + } + } + + static async connect( + app_reference: string, + options: ClientOptions = { + events: ["data"] + } + ): Promise { + const client = new this(app_reference, options); // this refers to the class itself, not the instance + if (options.session_hash) { + client.session_hash = options.session_hash; + } + await client.init(); + return client; + } + + async reconnect(): Promise<"connected" | "broken" | "changed"> { + const app_id_url = new URL( + `${this.config!.root}${this.api_prefix}/${APP_ID_URL}` + ); + let app_id: string; + try { + const response = await this.fetch(app_id_url); + if (!response.ok) { + throw new Error(); + } + app_id = ((await response.json()) as any).app_id; + } catch (e) { + return "broken"; + } + if (app_id !== this.config!.app_id) { + return "changed"; + } + return "connected"; + } + + close(): void { + this.closed = true; + close_stream(this.stream_status, this.abort_controller); + } + + set_current_payload(payload: any): void { + this.current_payload = payload; + } + + static async duplicate( + app_reference: string, + options: DuplicateOptions = { + events: ["data"] + } + ): Promise { + return duplicate(app_reference, options); + } + + private async _resolve_config(): Promise { + const { http_protocol, host, space_id } = await process_endpoint( + this.app_reference, + this.options.token + ); + + const { status_callback } = this.options; + + if (space_id && status_callback) { + await check_and_wake_space(space_id, status_callback); + } + + let config: Config | undefined; + + try { + // Create base URL + let configUrl = `${http_protocol}//${host}`; + config = await this.resolve_config(configUrl); + + if (!config) { + throw new Error(CONFIG_ERROR_MSG); + } + + return this.config_success(config); + } catch (e: any) { + if (space_id && status_callback) { + check_space_status( + space_id, + RE_SPACE_NAME.test(space_id) ? "space_name" : "subdomain", + this.handle_space_success + ); + } else { + if (status_callback) + status_callback({ + status: "error", + message: "Could not load this space.", + load_status: "error", + detail: "NOT_FOUND" + }); + throw Error(e); + } + } + } + + private async config_success( + _config: Config + ): Promise { + this.config = _config; + this.api_prefix = _config.api_prefix || ""; + + if (this.config.auth_required) { + return this.prepare_return_obj(); + } + + try { + this.api_info = await this.view_api(); + } catch (e) { + console.error(API_INFO_ERROR_MSG + (e as Error).message); + } + + return this.prepare_return_obj(); + } + + async handle_space_success(status: SpaceStatus): Promise { + if (!this) { + throw new Error(CONFIG_ERROR_MSG); + } + const { status_callback } = this.options; + if (status_callback) status_callback(status); + if (status.status === "running") { + try { + this.config = await this._resolve_config(); + this.api_prefix = this?.config?.api_prefix || ""; + + if (!this.config) { + throw new Error(CONFIG_ERROR_MSG); + } + + const _config = await this.config_success(this.config); + + return _config as Config; + } catch (e) { + if (status_callback) { + status_callback({ + status: "error", + message: "Could not load this space.", + load_status: "error", + detail: "NOT_FOUND" + }); + } + throw e; + } + } + } + + public async component_server( + component_id: number, + fn_name: string, + data: unknown[] | { binary: boolean; data: Record } + ): Promise { + if (!this.config) { + throw new Error(CONFIG_ERROR_MSG); + } + + const headers: { + Authorization?: string; + "Content-Type"?: "application/json"; + } = {}; + + const { token } = this.options; + const { session_hash } = this; + + if (token) { + headers.Authorization = `Bearer ${this.options.token}`; + } + + let root_url: string; + let component = this.config.components.find( + (comp) => comp.id === component_id + ); + if (component?.props?.root_url) { + root_url = component.props.root_url; + } else { + root_url = this.config.root; + } + + let body: FormData | string; + + if ("binary" in data) { + body = new FormData(); + for (const key in data.data) { + if (key === "binary") continue; + body.append(key, data.data[key]); + } + body.set("component_id", component_id.toString()); + body.set("fn_name", fn_name); + body.set("session_hash", session_hash); + } else { + body = JSON.stringify({ + data: data, + component_id, + fn_name, + session_hash + }); + + headers["Content-Type"] = "application/json"; + } + + if (token) { + headers.Authorization = `Bearer ${token}`; + } + + try { + const response = await this.fetch( + `${root_url}${this.api_prefix}/${COMPONENT_SERVER_URL}/`, + { + method: "POST", + body: body, + headers, + credentials: "include" + } + ); + + if (!response.ok) { + throw new Error( + "Could not connect to component server: " + response.statusText + ); + } + + const output = await response.json(); + return output; + } catch (e) { + console.warn(e); + } + } + + public set_cookies(raw_cookies: string): void { + this.cookies = parse_and_set_cookies(raw_cookies).join("; "); + } + + private prepare_return_obj(): client_return { + return { + config: this.config, + predict: this.predict, + submit: this.submit, + view_api: this.view_api, + component_server: this.component_server + }; + } +} + +/** + * @deprecated This method will be removed in v1.0. Use `Client.connect()` instead. + * Creates a client instance for interacting with Gradio apps. + * + * @param {string} app_reference - The reference or URL to a Gradio space or app. + * @param {ClientOptions} options - Configuration options for the client. + * @returns {Promise} A promise that resolves to a `Client` instance. + */ +export async function client( + app_reference: string, + options: ClientOptions = { + events: ["data"] + } +): Promise { + return await Client.connect(app_reference, options); +} + +/** + * @deprecated This method will be removed in v1.0. Use `Client.duplicate()` instead. + * Creates a duplicate of a space and returns a client instance for the duplicated space. + * + * @param {string} app_reference - The reference or URL to a Gradio space or app to duplicate. + * @param {DuplicateOptions} options - Configuration options for the client. + * @returns {Promise} A promise that resolves to a `Client` instance. + */ +export async function duplicate_space( + app_reference: string, + options: DuplicateOptions +): Promise { + return await Client.duplicate(app_reference, options); +} + +export type ClientInstance = Client; diff --git a/node_modules/@gradio/client/src/constants.ts b/node_modules/@gradio/client/src/constants.ts new file mode 100644 index 0000000000000000000000000000000000000000..ba0e83b4adff8ce489b0d981dbb65afae09f1dd8 --- /dev/null +++ b/node_modules/@gradio/client/src/constants.ts @@ -0,0 +1,41 @@ +// endpoints +export const HOST_URL = `host`; +export const API_URL = `predict/`; +export const SSE_URL_V0 = `queue/join`; +export const SSE_DATA_URL_V0 = `queue/data`; +export const SSE_URL = `queue/data`; +export const SSE_DATA_URL = `queue/join`; +export const UPLOAD_URL = `upload`; +export const LOGIN_URL = `login`; +export const CONFIG_URL = `config`; +export const API_INFO_URL = `info`; +export const RUNTIME_URL = `runtime`; +export const SLEEPTIME_URL = `sleeptime`; +export const HEARTBEAT_URL = `heartbeat`; +export const COMPONENT_SERVER_URL = `component_server`; +export const RESET_URL = `reset`; +export const CANCEL_URL = `cancel`; +export const APP_ID_URL = `app_id`; + +export const RAW_API_INFO_URL = `info?serialize=False`; +export const SPACE_FETCHER_URL = + "https://gradio-space-api-fetcher-v2.hf.space/api"; +export const SPACE_URL = "https://hf.space/{}"; + +// messages +export const QUEUE_FULL_MSG = + "This application is currently busy. Please try again. "; +export const BROKEN_CONNECTION_MSG = "Connection errored out. "; +export const CONFIG_ERROR_MSG = "Could not resolve app config. "; +export const SPACE_STATUS_ERROR_MSG = "Could not get space status. "; +export const API_INFO_ERROR_MSG = "Could not get API info. "; +export const SPACE_METADATA_ERROR_MSG = "Space metadata could not be loaded. "; +export const INVALID_URL_MSG = "Invalid URL. A full URL path is required."; +export const UNAUTHORIZED_MSG = "Not authorized to access this space. "; +export const INVALID_CREDENTIALS_MSG = "Invalid credentials. Could not login. "; +export const MISSING_CREDENTIALS_MSG = + "Login credentials are required to access this space."; +export const NODEJS_FS_ERROR_MSG = + "File system access is only available in Node.js environments"; +export const ROOT_URL_ERROR_MSG = "Root URL not found in client config"; +export const FILE_PROCESSING_ERROR_MSG = "Error uploading file"; diff --git a/node_modules/@gradio/client/src/globals.d.ts b/node_modules/@gradio/client/src/globals.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..1ba2e1c40b94d458884be8e7a345a32b9aa93d06 --- /dev/null +++ b/node_modules/@gradio/client/src/globals.d.ts @@ -0,0 +1,13 @@ +import { ApiData, ApiInfo, Config } from "./types"; + +declare global { + interface Window { + __gradio_mode__: "app" | "website"; + gradio_config: Config; + gradio_api_info: ApiInfo | { api: ApiInfo }; + __is_colab__: boolean; + __gradio_space__: string | null; + supports_zerogpu_headers?: boolean; + BUILD_MODE?: "dev" | "production"; + } +} diff --git a/node_modules/@gradio/client/src/helpers/api_info.ts b/node_modules/@gradio/client/src/helpers/api_info.ts new file mode 100644 index 0000000000000000000000000000000000000000..d22ec2f3a63ca8b84df5552e1bbe3c724f069598 --- /dev/null +++ b/node_modules/@gradio/client/src/helpers/api_info.ts @@ -0,0 +1,477 @@ +import { + HOST_URL, + INVALID_URL_MSG, + QUEUE_FULL_MSG, + SPACE_METADATA_ERROR_MSG +} from "../constants"; +import type { + ApiData, + ApiInfo, + Config, + JsApiData, + EndpointInfo, + Status +} from "../types"; +import { determine_protocol } from "./init_helpers"; + +export const RE_SPACE_NAME = /^[a-zA-Z0-9_\-\.]+\/[a-zA-Z0-9_\-\.]+$/; +export const RE_SPACE_DOMAIN = /.*hf\.space\/{0,1}.*$/; + +export async function process_endpoint( + app_reference: string, + token?: `hf_${string}` +): Promise<{ + space_id: string | false; + host: string; + ws_protocol: "ws" | "wss"; + http_protocol: "http:" | "https:"; +}> { + const headers: { Authorization?: string } = {}; + if (token) { + headers.Authorization = `Bearer ${token}`; + } + + const _app_reference = app_reference.trim().replace(/\/$/, ""); + + if (RE_SPACE_NAME.test(_app_reference)) { + // app_reference is a HF space name + try { + const res = await fetch( + `https://huggingface.co/api/spaces/${_app_reference}/${HOST_URL}`, + { headers } + ); + + const _host = (await res.json()).host; + + return { + space_id: app_reference, + ...determine_protocol(_host) + }; + } catch (e) { + throw new Error(SPACE_METADATA_ERROR_MSG); + } + } + + if (RE_SPACE_DOMAIN.test(_app_reference)) { + // app_reference is a direct HF space domain + const { ws_protocol, http_protocol, host } = + determine_protocol(_app_reference); + + return { + space_id: host.split("/")[0].replace(".hf.space", ""), + ws_protocol, + http_protocol, + host + }; + } + + return { + space_id: false, + ...determine_protocol(_app_reference) + }; +} + +export const join_urls = (...urls: string[]): string => { + try { + return urls.reduce((base_url: string, part: string) => { + base_url = base_url.replace(/\/+$/, ""); + part = part.replace(/^\/+/, ""); + return new URL(part, base_url + "/").toString(); + }); + } catch (e) { + throw new Error(INVALID_URL_MSG); + } +}; + +export function transform_api_info( + api_info: ApiInfo, + config: Config, + api_map: Record +): ApiInfo { + const transformed_info: ApiInfo = { + named_endpoints: {}, + unnamed_endpoints: {} + }; + + Object.keys(api_info).forEach((category) => { + if (category === "named_endpoints" || category === "unnamed_endpoints") { + transformed_info[category] = {}; + + Object.entries(api_info[category]).forEach( + ([endpoint, { parameters, returns }]) => { + const dependencyIndex = + config.dependencies.find( + (dep) => + dep.api_name === endpoint || + dep.api_name === endpoint.replace("/", "") + )?.id || + api_map[endpoint.replace("/", "")] || + -1; + + const dependencyTypes = + dependencyIndex !== -1 + ? config.dependencies.find((dep) => dep.id == dependencyIndex) + ?.types + : { generator: false, cancel: false }; + + if ( + dependencyIndex !== -1 && + config.dependencies.find((dep) => dep.id == dependencyIndex)?.inputs + ?.length !== parameters.length + ) { + const components = config.dependencies + .find((dep) => dep.id == dependencyIndex)! + .inputs.map( + (input) => config.components.find((c) => c.id === input)?.type + ); + + try { + components.forEach((comp, idx) => { + if (comp === "state") { + const new_param = { + component: "state", + example: null, + parameter_default: null, + parameter_has_default: true, + parameter_name: null, + hidden: true + }; + + // @ts-ignore + parameters.splice(idx, 0, new_param); + } + }); + } catch (e) { + console.error(e); + } + } + + const transform_type = ( + data: ApiData, + component: string, + serializer: string, + signature_type: "return" | "parameter" + ): JsApiData => ({ + ...data, + description: get_description(data?.type, serializer), + type: + get_type(data?.type, component, serializer, signature_type) || "" + }); + + transformed_info[category][endpoint] = { + parameters: parameters.map((p: ApiData) => + transform_type(p, p?.component, p?.serializer, "parameter") + ), + returns: returns.map((r: ApiData) => + transform_type(r, r?.component, r?.serializer, "return") + ), + type: dependencyTypes + }; + } + ); + } + }); + + return transformed_info; +} + +export function get_type( + type: { type: any; description: string }, + component: string, + serializer: string, + signature_type: "return" | "parameter" +): string | undefined { + if (component === "Api") return type.type; + switch (type?.type) { + case "string": + return "string"; + case "boolean": + return "boolean"; + case "number": + return "number"; + } + + if ( + serializer === "JSONSerializable" || + serializer === "StringSerializable" + ) { + return "any"; + } else if (serializer === "ListStringSerializable") { + return "string[]"; + } else if (component === "Image") { + return signature_type === "parameter" ? "Blob | File | Buffer" : "string"; + } else if (serializer === "FileSerializable") { + if (type?.type === "array") { + return signature_type === "parameter" + ? "(Blob | File | Buffer)[]" + : `{ name: string; data: string; size?: number; is_file?: boolean; orig_name?: string}[]`; + } + return signature_type === "parameter" + ? "Blob | File | Buffer" + : `{ name: string; data: string; size?: number; is_file?: boolean; orig_name?: string}`; + } else if (serializer === "GallerySerializable") { + return signature_type === "parameter" + ? "[(Blob | File | Buffer), (string | null)][]" + : `[{ name: string; data: string; size?: number; is_file?: boolean; orig_name?: string}, (string | null))][]`; + } +} + +export function get_description( + type: { type: any; description: string }, + serializer: string +): string { + if (serializer === "GallerySerializable") { + return "array of [file, label] tuples"; + } else if (serializer === "ListStringSerializable") { + return "array of strings"; + } else if (serializer === "FileSerializable") { + return "array of files or single file"; + } + return type?.description; +} + +/* eslint-disable complexity */ +export function handle_message( + data: any, + last_status: Status["stage"] +): { + type: + | "hash" + | "data" + | "update" + | "complete" + | "generating" + | "log" + | "none" + | "heartbeat" + | "streaming" + | "broken_connection" + | "unexpected_error"; + data?: any; + status?: Status; + original_msg?: string; +} { + const queue = true; + switch (data.msg) { + case "send_data": + return { type: "data" }; + case "send_hash": + return { type: "hash" }; + case "queue_full": + return { + type: "update", + status: { + queue, + message: QUEUE_FULL_MSG, + stage: "error", + code: data.code, + success: data.success + } + }; + case "heartbeat": + return { + type: "heartbeat" + }; + case "unexpected_error": + return { + type: "unexpected_error", + status: { + queue, + message: data.message, + session_not_found: data.session_not_found, + stage: "error", + success: false + } + }; + case "broken_connection": + return { + type: "broken_connection", + status: { + queue, + message: data.message, + stage: "error", + success: false + } + }; + case "estimation": + return { + type: "update", + status: { + queue, + stage: last_status || "pending", + code: data.code, + size: data.queue_size, + position: data.rank, + eta: data.rank_eta, + success: data.success + } + }; + case "progress": + return { + type: "update", + status: { + queue, + stage: "pending", + code: data.code, + progress_data: data.progress_data, + success: data.success + } + }; + case "log": + return { type: "log", data: data }; + case "process_generating": + return { + type: "generating", + status: { + queue, + message: !data.success ? data.output.error : null, + stage: data.success ? "generating" : "error", + code: data.code, + progress_data: data.progress_data, + eta: data.average_duration, + changed_state_ids: data.success + ? data.output.changed_state_ids + : undefined + }, + data: data.success ? data.output : null + }; + case "process_streaming": + return { + type: "streaming", + status: { + queue, + message: data.output.error, + stage: "streaming", + time_limit: data.time_limit, + code: data.code, + progress_data: data.progress_data, + eta: data.eta + }, + data: data.output + }; + case "process_completed": + if ("error" in data.output) { + return { + type: "update", + status: { + queue, + title: (data.output.title as string | null) ?? "Error", + message: + (data.output.error as string | null) ?? "An error occurred", + visible: data.output.visible as boolean, + duration: data.output.duration as number, + stage: "error", + code: data.code, + success: data.success + } + }; + } + return { + type: "complete", + status: { + queue, + message: !data.success ? data.output.error : undefined, + stage: data.success ? "complete" : "error", + code: data.code, + progress_data: data.progress_data, + changed_state_ids: data.success + ? data.output.changed_state_ids + : undefined + }, + data: data.success ? data.output : null + }; + + case "process_starts": + return { + type: "update", + status: { + queue, + stage: "pending", + code: data.code, + size: data.rank, + position: 0, + success: data.success, + eta: data.eta + }, + original_msg: "process_starts" + }; + } + + return { type: "none", status: { stage: "error", queue } }; +} +/* eslint-enable complexity */ + +/** + * Maps the provided `data` to the parameters defined by the `/info` endpoint response. + * This allows us to support both positional and keyword arguments passed to the client + * and ensures that all parameters are either directly provided or have default values assigned. + * + * @param {unknown[] | Record} data - The input data for the function, + * which can be either an array of values for positional arguments or an object + * with key-value pairs for keyword arguments. + * @param {JsApiData[]} parameters - Array of parameter descriptions retrieved from the + * `/info` endpoint. + * + * @returns {unknown[]} - Returns an array of resolved data where each element corresponds + * to the expected parameter from the API. The `parameter_default` value is used where + * a value is not provided for a parameter, and optional parameters without defaults are + * set to `undefined`. + * + * @throws {Error} - Throws an error: + * - If more arguments are provided than are defined in the parameters. + * * - If no parameter value is provided for a required parameter and no default value is defined. + * - If an argument is provided that does not match any defined parameter. + */ + +export const map_data_to_params = ( + data: unknown[] | Record = [], + endpoint_info: EndpointInfo +): unknown[] => { + // Workaround for the case where the endpoint_info is undefined + // See https://github.com/gradio-app/gradio/pull/8820#issuecomment-2237381761 + const parameters = endpoint_info ? endpoint_info.parameters : []; + + if (Array.isArray(data)) { + if ( + endpoint_info && + parameters.length > 0 && + data.length > parameters.length + ) { + console.warn("Too many arguments provided for the endpoint."); + } + return data; + } + + const resolved_data: unknown[] = []; + const provided_keys = Object.keys(data); + + parameters.forEach((param, index) => { + if (data.hasOwnProperty(param.parameter_name)) { + resolved_data[index] = data[param.parameter_name]; + } else if (param.parameter_has_default) { + resolved_data[index] = param.parameter_default; + } else { + throw new Error( + `No value provided for required parameter: ${param.parameter_name}` + ); + } + }); + + provided_keys.forEach((key) => { + if (!parameters.some((param) => param.parameter_name === key)) { + throw new Error( + `Parameter \`${key}\` is not a valid keyword argument. Please refer to the API for usage.` + ); + } + }); + + resolved_data.forEach((value, idx) => { + if (value === undefined && !parameters[idx].parameter_has_default) { + throw new Error( + `No value provided for required parameter: ${parameters[idx].parameter_name}` + ); + } + }); + + return resolved_data; +}; diff --git a/node_modules/@gradio/client/src/helpers/data.ts b/node_modules/@gradio/client/src/helpers/data.ts new file mode 100644 index 0000000000000000000000000000000000000000..42aad8ddc276bdee28b6835a5954dfbcf124b8dd --- /dev/null +++ b/node_modules/@gradio/client/src/helpers/data.ts @@ -0,0 +1,221 @@ +import { + type ApiData, + type BlobRef, + type Config, + type EndpointInfo, + type JsApiData, + type DataType, + Command, + type Dependency, + type ComponentMeta +} from "../types"; +import { FileData } from "../upload"; + +const is_node = + typeof process !== "undefined" && process.versions && process.versions.node; + +export function update_object( + object: { [x: string]: any }, + newValue: any, + stack: (string | number)[] +): void { + while (stack.length > 1) { + const key = stack.shift(); + if (typeof key === "string" || typeof key === "number") { + object = object[key]; + } else { + throw new Error("Invalid key type"); + } + } + + const key = stack.shift(); + if (typeof key === "string" || typeof key === "number") { + object[key] = newValue; + } else { + throw new Error("Invalid key type"); + } +} + +export async function walk_and_store_blobs( + data: DataType, + type: string | undefined = undefined, + path: string[] = [], + root = false, + endpoint_info: EndpointInfo | undefined = undefined +): Promise { + if (Array.isArray(data)) { + let blob_refs: BlobRef[] = []; + + await Promise.all( + data.map(async (_, index) => { + let new_path = path.slice(); + new_path.push(String(index)); + + const array_refs = await walk_and_store_blobs( + data[index], + root + ? endpoint_info?.parameters[index]?.component || undefined + : type, + new_path, + false, + endpoint_info + ); + + blob_refs = blob_refs.concat(array_refs); + }) + ); + + return blob_refs; + } else if ( + (globalThis.Buffer && data instanceof globalThis.Buffer) || + data instanceof Blob + ) { + return [ + { + path: path, + blob: new Blob([data as any]), + type + } + ]; + } else if (typeof data === "object" && data !== null) { + let blob_refs: BlobRef[] = []; + for (const key of Object.keys(data) as (keyof typeof data)[]) { + const new_path = [...path, key]; + const value = data[key]; + + blob_refs = blob_refs.concat( + await walk_and_store_blobs( + value, + undefined, + new_path, + false, + endpoint_info + ) + ); + } + + return blob_refs; + } + + return []; +} + +export function skip_queue(id: number, config: Config): boolean { + let fn_queue = config?.dependencies?.find((dep) => dep.id == id)?.queue; + if (fn_queue != null) { + return !fn_queue; + } + return !config.enable_queue; +} + +// todo: add jsdoc for this function + +export function post_message( + message: any, + origin: string +): Promise { + return new Promise((res, _rej) => { + const channel = new MessageChannel(); + channel.port1.onmessage = (({ data }) => { + channel.port1.close(); + res(data); + }) as (ev: MessageEvent) => void; + window.parent.postMessage(message, origin, [channel.port2]); + }); +} + +export function handle_file( + file_or_url: File | string | Blob | Buffer +): FileData | Blob | Command { + if (typeof file_or_url === "string") { + if ( + file_or_url.startsWith("http://") || + file_or_url.startsWith("https://") + ) { + return { + path: file_or_url, + url: file_or_url, + orig_name: file_or_url.split("/").pop() ?? "unknown", + meta: { _type: "gradio.FileData" } + }; + } + + if (is_node) { + // Handle local file paths + return new Command("upload_file", { + path: file_or_url, + name: file_or_url, + orig_path: file_or_url + }); + } + } else if (typeof File !== "undefined" && file_or_url instanceof File) { + return new Blob([file_or_url]); + } else if (file_or_url instanceof Buffer) { + return new Blob([file_or_url as any]); + } else if (file_or_url instanceof Blob) { + return file_or_url; + } + throw new Error( + "Invalid input: must be a URL, File, Blob, or Buffer object." + ); +} + +/** + * Handles the payload by filtering out state inputs and returning an array of resolved payload values. + * We send null values for state inputs to the server, but we don't want to include them in the resolved payload. + * + * @param resolved_payload - The resolved payload values received from the client or the server + * @param dependency - The dependency object. + * @param components - The array of component metadata. + * @param with_null_state - Optional. Specifies whether to include null values for state inputs. Default is false. + * @returns An array of resolved payload values, filtered based on the dependency and component metadata. + */ +export function handle_payload( + resolved_payload: unknown[], + dependency: Dependency, + components: ComponentMeta[], + type: "input" | "output", + with_null_state = false +): unknown[] { + if (type === "input" && !with_null_state) { + throw new Error("Invalid code path. Cannot skip state inputs for input."); + } + // data comes from the server with null state values so we skip + if (type === "output" && with_null_state) { + return resolved_payload; + } + + let updated_payload: unknown[] = []; + let payload_index = 0; + const deps = type === "input" ? dependency.inputs : dependency.outputs; + for (let i = 0; i < deps.length; i++) { + const input_id = deps[i]; + const component = components.find((c) => c.id === input_id); + + if (component?.type === "state") { + // input + with_null_state needs us to fill state with null values + if (with_null_state) { + if (resolved_payload.length === deps.length) { + const value = resolved_payload[payload_index]; + updated_payload.push(value); + payload_index++; + } else { + updated_payload.push(null); + } + } else { + // this is output & !with_null_state, we skip state inputs + // the server payload always comes with null state values so we move along the payload index + payload_index++; + continue; + } + // input & !with_null_state isn't a case we care about, server needs null + continue; + } else { + const value = resolved_payload[payload_index]; + updated_payload.push(value); + payload_index++; + } + } + + return updated_payload; +} diff --git a/node_modules/@gradio/client/src/helpers/init_helpers.ts b/node_modules/@gradio/client/src/helpers/init_helpers.ts new file mode 100644 index 0000000000000000000000000000000000000000..94202f6b0cc235f5e4149ad3d489677111731431 --- /dev/null +++ b/node_modules/@gradio/client/src/helpers/init_helpers.ts @@ -0,0 +1,250 @@ +import type { Config } from "../types"; +import { + CONFIG_ERROR_MSG, + CONFIG_URL, + INVALID_CREDENTIALS_MSG, + LOGIN_URL, + MISSING_CREDENTIALS_MSG, + SPACE_METADATA_ERROR_MSG, + UNAUTHORIZED_MSG +} from "../constants"; +import { Client } from ".."; +import { join_urls, process_endpoint } from "./api_info"; + +/** + * This function is used to resolve the URL for making requests when the app has a root path. + * The root path could be a path suffix like "/app" which is appended to the end of the base URL. Or + * it could be a full URL like "https://abidlabs-test-client-replica--gqf2x.hf.space" which is used when hosting + * Gradio apps on Hugging Face Spaces. + * @param {string} base_url The base URL at which the Gradio server is hosted + * @param {string} root_path The root path, which could be a path suffix (e.g. mounted in FastAPI app) or a full URL (e.g. hosted on Hugging Face Spaces) + * @param {boolean} prioritize_base Whether to prioritize the base URL over the root path. This is used when both the base path and root paths are full URLs. For example, for fetching files the root path should be prioritized, but for making requests, the base URL should be prioritized. + * @returns {string} the resolved URL + */ +export function resolve_root( + base_url: string, + root_path: string, + prioritize_base: boolean +): string { + if (root_path.startsWith("http://") || root_path.startsWith("https://")) { + return prioritize_base ? base_url : root_path; + } + return base_url + root_path; +} + +export async function get_jwt( + space: string, + token: `hf_${string}`, + cookies?: string | null +): Promise { + try { + const r = await fetch(`https://huggingface.co/api/spaces/${space}/jwt`, { + headers: { + Authorization: `Bearer ${token}`, + ...(cookies ? { Cookie: cookies } : {}) + } + }); + + const jwt = (await r.json()).token; + + return jwt || false; + } catch (e) { + return false; + } +} + +export function map_names_to_ids( + fns: Config["dependencies"] +): Record { + let apis: Record = {}; + + fns.forEach(({ api_name, id }) => { + if (api_name) apis[api_name] = id; + }); + return apis; +} + +export async function resolve_config( + this: Client, + endpoint: string +): Promise { + const headers: Record = this.options.token + ? { Authorization: `Bearer ${this.options.token}` } + : {}; + + headers["Content-Type"] = "application/json"; + + if ( + typeof window !== "undefined" && + window.gradio_config && + location.origin !== "http://localhost:9876" + ) { + if (window.gradio_config.current_page) { + endpoint = endpoint.substring(0, endpoint.lastIndexOf("/")); + } + if ( + window.gradio_config.dev_mode || + (typeof window !== "undefined" && window?.BUILD_MODE === "dev") + ) { + let config_url = join_urls( + endpoint, + this.deep_link + ? CONFIG_URL + "?deep_link=" + this.deep_link + : CONFIG_URL + ); + const response = await this.fetch(config_url, { + headers, + credentials: "include" + }); + const config = await handleConfigResponse(response, !!this.options.auth); + config.root = endpoint || config.root; + // @ts-ignore + window.gradio_config = { + ...config, + current_page: window.gradio_config.current_page + }; + } + // @ts-ignore + return { ...window.gradio_config } as Config; + } else if (endpoint) { + let config_url = join_urls( + endpoint, + this.deep_link ? CONFIG_URL + "?deep_link=" + this.deep_link : CONFIG_URL + ); + + const response = await this.fetch(config_url, { + headers, + credentials: "include" + }); + + const config = await handleConfigResponse(response, !!this.options.auth); + // Preserve the backend-provided root if available (it contains the correct public URL) + // Only fall back to endpoint if the backend didn't provide a root + if (!config.root) { + config.root = endpoint; + } + return config; + } + + throw new Error(CONFIG_ERROR_MSG); +} + +async function handleConfigResponse( + response: Response, + authorized: boolean +): Promise { + if (response?.status === 401 && !authorized) { + const error_data = await response.json(); + const auth_message = error_data?.detail?.auth_message; + throw new Error(auth_message || MISSING_CREDENTIALS_MSG); + } else if (response?.status === 401 && authorized) { + throw new Error(INVALID_CREDENTIALS_MSG); + } + + if (response?.status === 200) { + let config = await response.json(); + config.dependencies?.forEach((dep: any, i: number) => { + if (dep.id === undefined) { + dep.id = i; + } + }); + return config; + } else if (response?.status === 401) { + throw new Error(UNAUTHORIZED_MSG); + } + + throw new Error(CONFIG_ERROR_MSG); +} + +export async function resolve_cookies(this: Client): Promise { + const { http_protocol, host } = await process_endpoint( + this.app_reference, + this.options.token + ); + + try { + if (this.options.auth) { + const cookie_header = await get_cookie_header( + http_protocol, + host, + this.options.auth, + this.fetch, + this.options.token + ); + + if (cookie_header) this.set_cookies(cookie_header); + } + } catch (e: unknown) { + throw Error((e as Error).message); + } +} + +// separating this from client-bound resolve_cookies so that it can be used in duplicate +export async function get_cookie_header( + http_protocol: string, + host: string, + auth: [string, string], + _fetch: typeof fetch, + token?: `hf_${string}` +): Promise { + const formData = new FormData(); + formData.append("username", auth?.[0]); + formData.append("password", auth?.[1]); + + let headers: { Authorization?: string } = {}; + + if (token) { + headers.Authorization = `Bearer ${token}`; + } + + const res = await _fetch(`${http_protocol}//${host}/${LOGIN_URL}`, { + headers, + method: "POST", + body: formData, + credentials: "include" + }); + + if (res.status === 200) { + return res.headers.get("set-cookie"); + } else if (res.status === 401) { + throw new Error(INVALID_CREDENTIALS_MSG); + } else { + throw new Error(SPACE_METADATA_ERROR_MSG); + } +} + +export function determine_protocol(endpoint: string): { + ws_protocol: "ws" | "wss"; + http_protocol: "http:" | "https:"; + host: string; +} { + if (endpoint.startsWith("http")) { + const { protocol, host, pathname } = new URL(endpoint); + + return { + ws_protocol: protocol === "https:" ? "wss" : "ws", + http_protocol: protocol as "http:" | "https:", + host: host + (pathname !== "/" ? pathname : "") + }; + } + + // default to secure if no protocol is provided + + return { + ws_protocol: "wss", + http_protocol: "https:", + host: new URL(endpoint).host + }; +} + +export const parse_and_set_cookies = (cookie_header: string): string[] => { + let cookies: string[] = []; + const parts = cookie_header.split(/,(?=\s*[^\s=;]+=[^\s=;]+)/); + parts.forEach((cookie) => { + const [cookie_name, cookie_value] = cookie.split(";")[0].split("="); + if (cookie_name && cookie_value) { + cookies.push(`${cookie_name.trim()}=${cookie_value.trim()}`); + } + }); + return cookies; +}; diff --git a/node_modules/@gradio/client/src/helpers/spaces.ts b/node_modules/@gradio/client/src/helpers/spaces.ts new file mode 100644 index 0000000000000000000000000000000000000000..81875f4be056c5f1ac87256536b00c9d8a4bef2e --- /dev/null +++ b/node_modules/@gradio/client/src/helpers/spaces.ts @@ -0,0 +1,252 @@ +import { + RUNTIME_URL, + SLEEPTIME_URL, + SPACE_STATUS_ERROR_MSG +} from "../constants"; +import { RE_SPACE_NAME } from "./api_info"; +import type { SpaceStatusCallback } from "../types"; + +export async function check_space_status( + id: string, + type: "subdomain" | "space_name", + status_callback: SpaceStatusCallback +): Promise { + let endpoint = + type === "subdomain" + ? `https://huggingface.co/api/spaces/by-subdomain/${id}` + : `https://huggingface.co/api/spaces/${id}`; + let response; + let _status; + try { + response = await fetch(endpoint); + _status = response.status; + if (_status !== 200) { + throw new Error(); + } + response = await response.json(); + } catch (e) { + status_callback({ + status: "error", + load_status: "error", + message: SPACE_STATUS_ERROR_MSG, + detail: "NOT_FOUND" + }); + return; + } + + if (!response || _status !== 200) return; + const { + runtime: { stage }, + id: space_name + } = response; + + switch (stage) { + case "STOPPED": + case "SLEEPING": + status_callback({ + status: "sleeping", + load_status: "pending", + message: "Space is asleep. Waking it up...", + detail: stage + }); + + setTimeout(() => { + check_space_status(id, type, status_callback); + }, 1000); // poll for status + break; + case "PAUSED": + status_callback({ + status: "paused", + load_status: "error", + message: + "This space has been paused by the author. If you would like to try this demo, consider duplicating the space.", + detail: stage, + discussions_enabled: await discussions_enabled(space_name) + }); + break; + case "RUNNING": + case "RUNNING_BUILDING": + status_callback({ + status: "running", + load_status: "complete", + message: "Space is running.", + detail: stage + }); + break; + case "BUILDING": + status_callback({ + status: "building", + load_status: "pending", + message: "Space is building...", + detail: stage + }); + + setTimeout(() => { + check_space_status(id, type, status_callback); + }, 1000); + break; + case "APP_STARTING": + status_callback({ + status: "starting", + load_status: "pending", + message: "Space is starting...", + detail: stage + }); + + setTimeout(() => { + check_space_status(id, type, status_callback); + }, 1000); + break; + default: + status_callback({ + status: "space_error", + load_status: "error", + message: "This space is experiencing an issue.", + detail: stage, + discussions_enabled: await discussions_enabled(space_name) + }); + break; + } +} + +export const check_and_wake_space = async ( + space_id: string, + status_callback: SpaceStatusCallback +): Promise => { + let retries = 0; + const max_retries = 12; + const check_interval = 5000; + + return new Promise((resolve) => { + check_space_status( + space_id, + RE_SPACE_NAME.test(space_id) ? "space_name" : "subdomain", + (status) => { + status_callback(status); + + if (status.status === "running") { + resolve(); + } else if ( + status.status === "error" || + status.status === "paused" || + status.status === "space_error" + ) { + resolve(); + } else if ( + status.status === "sleeping" || + status.status === "building" + ) { + if (retries < max_retries) { + retries++; + setTimeout(() => { + check_and_wake_space(space_id, status_callback).then(resolve); + }, check_interval); + } else { + resolve(); + } + } + } + ); + }); +}; + +const RE_DISABLED_DISCUSSION = + /^(?=[^]*\b[dD]iscussions{0,1}\b)(?=[^]*\b[dD]isabled\b)[^]*$/; +export async function discussions_enabled(space_id: string): Promise { + try { + const r = await fetch( + `https://huggingface.co/api/spaces/${space_id}/discussions`, + { + method: "HEAD" + } + ); + + const error = r.headers.get("x-error-message"); + + if (!r.ok || (error && RE_DISABLED_DISCUSSION.test(error))) return false; + return true; + } catch (e) { + return false; + } +} + +export async function get_space_hardware( + space_id: string, + token?: `hf_${string}` | undefined +): Promise<(typeof hardware_types)[number]> { + const headers: { Authorization?: string } = {}; + if (token) { + headers.Authorization = `Bearer ${token}`; + } + + try { + const res = await fetch( + `https://huggingface.co/api/spaces/${space_id}/${RUNTIME_URL}`, + { headers } + ); + + if (res.status !== 200) + throw new Error("Space hardware could not be obtained."); + + const { hardware } = await res.json(); + + return hardware.current; + } catch (e: any) { + throw new Error(e.message); + } +} + +export async function set_space_timeout( + space_id: string, + timeout: number, + token?: `hf_${string}` +): Promise { + const headers: { Authorization?: string } = {}; + if (token) { + headers.Authorization = `Bearer ${token}`; + } + + const body: { + seconds?: number; + } = { + seconds: timeout + }; + + try { + const res = await fetch( + `https://huggingface.co/api/spaces/${space_id}/${SLEEPTIME_URL}`, + { + method: "POST", + headers: { "Content-Type": "application/json", ...headers }, + body: JSON.stringify(body) + } + ); + + if (res.status !== 200) { + throw new Error( + "Could not set sleep timeout on duplicated Space. Please visit *ADD HF LINK TO SETTINGS* to set a timeout manually to reduce billing charges." + ); + } + + const response = await res.json(); + return response; + } catch (e: any) { + throw new Error(e.message); + } +} + +export const hardware_types = [ + "cpu-basic", + "cpu-upgrade", + "cpu-xl", + "t4-small", + "t4-medium", + "a10g-small", + "a10g-large", + "a10g-largex2", + "a10g-largex4", + "a100-large", + "zero-a10g", + "h100", + "h100x8" +] as const; diff --git a/node_modules/@gradio/client/src/index.ts b/node_modules/@gradio/client/src/index.ts new file mode 100644 index 0000000000000000000000000000000000000000..6ea916ad113f5195fdc2d26d8347ed5aaa322031 --- /dev/null +++ b/node_modules/@gradio/client/src/index.ts @@ -0,0 +1,26 @@ +export { Client } from "./client"; + +export { predict } from "./utils/predict"; +export { submit } from "./utils/submit"; +export { upload_files } from "./utils/upload_files"; +export { FileData, upload, prepare_files } from "./upload"; +export { handle_file } from "./helpers/data"; + +export type { + SpaceStatus, + StatusMessage, + Status, + client_return, + UploadResponse, + RenderMessage, + LogMessage, + Payload, + Config, + ValidationError +} from "./types"; + +export { MISSING_CREDENTIALS_MSG } from "./constants"; + +// todo: remove in @gradio/client v1.0 +export { client } from "./client"; +export { duplicate_space as duplicate } from "./client"; diff --git a/node_modules/@gradio/client/src/test/api_info.test.ts b/node_modules/@gradio/client/src/test/api_info.test.ts new file mode 100644 index 0000000000000000000000000000000000000000..21dab2cb4d054a9f2d533474042572dc79b409eb --- /dev/null +++ b/node_modules/@gradio/client/src/test/api_info.test.ts @@ -0,0 +1,666 @@ +import { + INVALID_URL_MSG, + QUEUE_FULL_MSG, + SPACE_METADATA_ERROR_MSG +} from "../constants"; +import { beforeAll, afterEach, afterAll, it, expect, describe } from "vitest"; +import { + handle_message, + get_description, + get_type, + process_endpoint, + join_urls, + map_data_to_params +} from "../helpers/api_info"; +import { initialise_server } from "./server"; +import { transformed_api_info } from "./test_data"; + +const server = initialise_server(); + +beforeAll(() => server.listen()); +afterEach(() => server.resetHandlers()); +afterAll(() => server.close()); + +describe("handle_message", () => { + it("should return type 'data' when msg is 'send_data'", () => { + const data = { msg: "send_data" }; + const last_status = "pending"; + const result = handle_message(data, last_status); + expect(result).toEqual({ type: "data" }); + }); + + it("should return type 'hash' when msg is 'send_hash'", () => { + const data = { msg: "send_hash" }; + const last_status = "pending"; + const result = handle_message(data, last_status); + expect(result).toEqual({ type: "hash" }); + }); + + it("should return type 'update' with queue full message when msg is 'queue_full'", () => { + const data = { msg: "queue_full", code: 500, success: false }; + const last_status = "pending"; + const result = handle_message(data, last_status); + expect(result).toEqual({ + type: "update", + status: { + queue: true, + message: QUEUE_FULL_MSG, + stage: "error", + code: 500, + success: false + } + }); + }); + + it("should return type 'heartbeat' when msg is 'heartbeat'", () => { + const data = { msg: "heartbeat" }; + const last_status = "pending"; + const result = handle_message(data, last_status); + expect(result).toEqual({ type: "heartbeat" }); + }); + + it("should return type 'unexpected_error' with error message when msg is 'unexpected_error'", () => { + const data = { msg: "unexpected_error", message: "Something went wrong" }; + const last_status = "pending"; + const result = handle_message(data, last_status); + expect(result).toEqual({ + type: "unexpected_error", + status: { + queue: true, + message: "Something went wrong", + stage: "error", + success: false + } + }); + }); + + it("should return type 'update' with estimation status when msg is 'estimation'", () => { + const data = { + msg: "estimation", + code: 200, + queue_size: 10, + rank: 5, + rank_eta: 60, + success: true + }; + const last_status = "pending"; + const result = handle_message(data, last_status); + expect(result).toEqual({ + type: "update", + status: { + queue: true, + stage: "pending", + code: 200, + size: 10, + position: 5, + eta: 60, + success: true + } + }); + }); + + it("should return type 'update' with progress status when msg is 'progress'", () => { + const data = { + msg: "progress", + code: 200, + progress_data: { current: 50, total: 100 }, + success: true + }; + const last_status = "pending"; + const result = handle_message(data, last_status); + expect(result).toEqual({ + type: "update", + status: { + queue: true, + stage: "pending", + code: 200, + progress_data: { current: 50, total: 100 }, + success: true + } + }); + }); + + it("should return type 'log' with the provided data when msg is 'log'", () => { + const data = { msg: "log", log_data: "Some log message" }; + const last_status = "pending"; + const result = handle_message(data, last_status); + expect(result).toEqual({ + type: "log", + data: { msg: "log", log_data: "Some log message" } + }); + }); + + it("should return type 'generating' with generating status when msg is 'process_generating' and success is true", () => { + const data = { + msg: "process_generating", + success: true, + code: 200, + progress_data: { current: 50, total: 100 }, + average_duration: 120, + output: { result: "Some result" } + }; + const last_status = "pending"; + const result = handle_message(data, last_status); + expect(result).toEqual({ + type: "generating", + status: { + queue: true, + message: null, + stage: "generating", + code: 200, + progress_data: { current: 50, total: 100 }, + eta: 120 + }, + data: { result: "Some result" } + }); + }); + + it("should return type 'update' with error status when msg is 'process_generating' and success is false", () => { + const data = { + msg: "process_generating", + success: false, + code: 500, + progress_data: { current: 50, total: 100 }, + average_duration: 120, + output: { error: "Error" } + }; + const last_status = "pending"; + const result = handle_message(data, last_status); + + expect(result).toEqual({ + type: "generating", + data: null, + status: { + eta: 120, + queue: true, + message: "Error", + stage: "error", + code: 500, + progress_data: { current: 50, total: 100 } + } + }); + }); + + it("should return type 'complete' with success status when msg is 'process_completed' and success is true", () => { + const data = { + msg: "process_completed", + success: true, + code: 200, + progress_data: { current: 100, total: 100 }, + output: { result: "Some result" } + }; + const last_status = "pending"; + const result = handle_message(data, last_status); + expect(result).toEqual({ + type: "complete", + status: { + queue: true, + message: undefined, + stage: "complete", + code: 200, + progress_data: { current: 100, total: 100 } + }, + data: { result: "Some result" } + }); + }); + + it("should return type 'update' with error status when msg is 'process_completed' and success is false", () => { + const data = { + msg: "process_completed", + success: false, + code: 500, + duration: undefined, + progress_data: { current: 100, total: 100 }, + output: { error: "Some error message" }, + title: "Error", + visible: undefined + }; + const last_status = "pending"; + const result = handle_message(data, last_status); + expect(result).toEqual({ + type: "update", + status: { + queue: true, + message: "Some error message", + stage: "error", + code: 500, + success: false, + duration: undefined, + title: "Error", + visible: undefined + } + }); + }); + + it("should return type 'update' with pending status when msg is 'process_starts'", () => { + const data = { + msg: "process_starts", + code: 200, + rank: 5, + success: true, + eta: 60 + }; + const last_status = "pending"; + const result = handle_message(data, last_status); + expect(result).toEqual({ + type: "update", + original_msg: "process_starts", + status: { + queue: true, + stage: "pending", + code: 200, + size: 5, + position: 0, + success: true, + eta: 60 + } + }); + }); + + it("should return type 'none' with error status when msg is unknown", () => { + const data = { msg: "unknown" }; + const last_status = "pending"; + const result = handle_message(data, last_status); + expect(result).toEqual({ + type: "none", + status: { stage: "error", queue: true } + }); + }); +}); + +describe("get_description", () => { + it("should return 'array of [file, label] tuples' when serializer is 'GallerySerializable'", () => { + const type = { type: "string", description: "param description" }; + const serializer = "GallerySerializable"; + const result = get_description(type, serializer); + expect(result).toEqual("array of [file, label] tuples"); + }); + + it("should return 'array of strings' when serializer is 'ListStringSerializable'", () => { + const type = { type: "string", description: "param description" }; + const serializer = "ListStringSerializable"; + const result = get_description(type, serializer); + expect(result).toEqual("array of strings"); + }); + + it("should return 'array of files or single file' when serializer is 'FileSerializable'", () => { + const type = { type: "string", description: "param description" }; + const serializer = "FileSerializable"; + const result = get_description(type, serializer); + expect(result).toEqual("array of files or single file"); + }); + + it("should return the type's description when serializer is not 'GallerySerializable', 'ListStringSerializable', or 'FileSerializable'", () => { + const type = { type: "string", description: "param description" }; + const serializer = "SomeOtherSerializer"; + const result = get_description(type, serializer); + expect(result).toEqual(type.description); + }); +}); + +describe("get_type", () => { + it("should return 'string' when type is 'string'", () => { + const type = { type: "string", description: "param description" }; + const component = "Component"; + const serializer = "Serializer"; + const signature_type = "parameter"; + const result = get_type(type, component, serializer, signature_type); + expect(result).toEqual("string"); + }); + + it("should return 'boolean' when type is 'boolean'", () => { + const type = { type: "boolean", description: "param description" }; + const component = "Component"; + const serializer = "Serializer"; + const signature_type = "parameter"; + const result = get_type(type, component, serializer, signature_type); + expect(result).toEqual("boolean"); + }); + + it("should return 'number' when type is 'number'", () => { + const type = { type: "number", description: "param description" }; + const component = "Component"; + const serializer = "Serializer"; + const signature_type = "parameter"; + const result = get_type(type, component, serializer, signature_type); + expect(result).toEqual("number"); + }); + + it("should return 'any' when serializer is 'JSONSerializable'", () => { + const type = { type: "any", description: "param description" }; + const component = "Component"; + const serializer = "JSONSerializable"; + const signature_type = "parameter"; + const result = get_type(type, component, serializer, signature_type); + expect(result).toEqual("any"); + }); + + it("should return 'any' when serializer is 'StringSerializable'", () => { + const type = { type: "any", description: "param description" }; + const component = "Component"; + const serializer = "StringSerializable"; + const signature_type = "parameter"; + const result = get_type(type, component, serializer, signature_type); + expect(result).toEqual("any"); + }); + + it("should return 'string[]' when serializer is 'ListStringSerializable'", () => { + const type = { type: "any", description: "param description" }; + const component = "Component"; + const serializer = "ListStringSerializable"; + const signature_type = "parameter"; + const result = get_type(type, component, serializer, signature_type); + expect(result).toEqual("string[]"); + }); + + it("should return 'Blob | File | Buffer' when component is 'Image' and signature_type is 'parameter'", () => { + const type = { type: "any", description: "param description" }; + const component = "Image"; + const serializer = "Serializer"; + const signature_type = "parameter"; + const result = get_type(type, component, serializer, signature_type); + expect(result).toEqual("Blob | File | Buffer"); + }); + + it("should return 'string' when component is 'Image' and signature_type is 'return'", () => { + const type = { type: "string", description: "param description" }; + const component = "Image"; + const serializer = "Serializer"; + const signature_type = "return"; + const result = get_type(type, component, serializer, signature_type); + expect(result).toEqual("string"); + }); + + it("should return '(Blob | File | Buffer)[]' when serializer is 'FileSerializable' and type is an array and signature_type is 'parameter'", () => { + const type = { type: "array", description: "param description" }; + const component = "Component"; + const serializer = "FileSerializable"; + const signature_type = "parameter"; + const result = get_type(type, component, serializer, signature_type); + expect(result).toEqual("(Blob | File | Buffer)[]"); + }); + + it("should return 'Blob | File | Buffer' when serializer is 'FileSerializable' and type is not an array and signature_type is 'return'", () => { + const type = { type: "any", description: "param description" }; + const component = "Component"; + const serializer = "FileSerializable"; + const signature_type = "return"; + const result = get_type(type, component, serializer, signature_type); + expect(result).toEqual( + "{ name: string; data: string; size?: number; is_file?: boolean; orig_name?: string}" + ); + }); + + it("should return a FileData object when serializer is 'FileSerializable' and type is not an array and signature_type is 'return'", () => { + const type = { type: "any", description: "param description" }; + const component = "Component"; + const serializer = "FileSerializable"; + const signature_type = "return"; + const result = get_type(type, component, serializer, signature_type); + expect(result).toEqual( + "{ name: string; data: string; size?: number; is_file?: boolean; orig_name?: string}" + ); + }); + + it("should return '[(Blob | File | Buffer), (string | null)][]' when serializer is 'GallerySerializable' and signature_type is 'parameter'", () => { + const type = { type: "any", description: "param description" }; + const component = "Component"; + const serializer = "GallerySerializable"; + const signature_type = "parameter"; + const result = get_type(type, component, serializer, signature_type); + expect(result).toEqual("[(Blob | File | Buffer), (string | null)][]"); + }); + + it("should return a FileData object when serializer is 'GallerySerializable' and signature_type is 'return'", () => { + const type = { type: "any", description: "param description" }; + const component = "Component"; + const serializer = "GallerySerializable"; + const signature_type = "return"; + const result = get_type(type, component, serializer, signature_type); + expect(result).toEqual( + "[{ name: string; data: string; size?: number; is_file?: boolean; orig_name?: string}, (string | null))][]" + ); + }); +}); + +describe("process_endpoint", () => { + it("should return space_id, host, ws_protocol, and http_protocol when app_reference is a valid space name", async () => { + const app_reference = "hmb/hello_world"; + const host = "hmb-hello-world.hf.space"; + + const token = "hf_token"; + const expected = { + space_id: app_reference, + host, + ws_protocol: "wss", + http_protocol: "https:" + }; + + const result = await process_endpoint(app_reference, token); + expect(result).toEqual(expected); + }); + + it("should throw an error when fetching space metadata fails", async () => { + const app_reference = "hmb/bye_world"; + const token = "hf_token"; + + try { + await process_endpoint(app_reference, token); + } catch (error) { + expect(error.message).toEqual(SPACE_METADATA_ERROR_MSG); + } + }); + + it("should return the correct data when app_reference is a valid space domain", async () => { + const app_reference = "hmb/hello_world"; + const host = "hmb-hello-world.hf.space"; + + const expected = { + space_id: app_reference, + host, + ws_protocol: "wss", + http_protocol: "https:" + }; + + const result = await process_endpoint("hmb/hello_world"); + expect(result).toEqual(expected); + }); + + it("processes local server URLs correctly", async () => { + const local_url = "http://localhost:7860/gradio"; + const response_local_url = await process_endpoint(local_url); + expect(response_local_url.space_id).toBe(false); + expect(response_local_url.host).toBe("localhost:7860/gradio"); + + const local_url_2 = "http://localhost:7860/gradio/"; + const response_local_url_2 = await process_endpoint(local_url_2); + expect(response_local_url_2.space_id).toBe(false); + expect(response_local_url_2.host).toBe("localhost:7860/gradio"); + }); + + it("handles hugging face space references", async () => { + const space_id = "hmb/hello_world"; + + const response = await process_endpoint(space_id); + expect(response.space_id).toBe(space_id); + expect(response.host).toContain("hf.space"); + }); + + it("handles hugging face domain URLs", async () => { + const app_reference = "https://hmb-hello-world.hf.space/"; + const response = await process_endpoint(app_reference); + expect(response.space_id).toBe("hmb-hello-world"); + expect(response.host).toBe("hmb-hello-world.hf.space"); + }); + + it("handles huggingface subpath urls", async () => { + const app_reference = + "https://pngwn-pr-demos-test.hf.space/demo/audio_debugger/"; + const response = await process_endpoint(app_reference); + expect(response.space_id).toBe("pngwn-pr-demos-test"); + expect(response.host).toBe( + "pngwn-pr-demos-test.hf.space/demo/audio_debugger" + ); + + expect(response.http_protocol).toBe("https:"); + }); +}); + +describe("join_urls", () => { + it("joins URLs correctly", () => { + expect(join_urls("http://localhost:7860", "/gradio")).toBe( + "http://localhost:7860/gradio" + ); + expect(join_urls("http://localhost:7860/", "/gradio")).toBe( + "http://localhost:7860/gradio" + ); + expect(join_urls("http://localhost:7860", "app/", "/gradio")).toBe( + "http://localhost:7860/app/gradio" + ); + expect(join_urls("http://localhost:7860/", "/app/", "/gradio/")).toBe( + "http://localhost:7860/app/gradio/" + ); + + expect(join_urls("http://127.0.0.1:8000/app", "/config")).toBe( + "http://127.0.0.1:8000/app/config" + ); + + expect(join_urls("http://127.0.0.1:8000/app/gradio", "/config")).toBe( + "http://127.0.0.1:8000/app/gradio/config" + ); + }); + it("throws an error when the URLs are not valid", () => { + expect(() => join_urls("localhost:7860", "/gradio")).toThrowError( + INVALID_URL_MSG + ); + + expect(() => join_urls("localhost:7860", "/gradio", "app")).toThrowError( + INVALID_URL_MSG + ); + }); +}); + +describe("map_data_params", () => { + let test_data = transformed_api_info; + + test_data.named_endpoints["/predict"].parameters = [ + { + parameter_name: "param1", + parameter_has_default: false, + label: "", + component: "", + serializer: "", + python_type: { + type: "", + description: "" + }, + type: { + type: "", + description: "" + } + }, + { + parameter_name: "param2", + parameter_has_default: false, + label: "", + type: { + type: "", + description: "" + }, + component: "", + serializer: "", + python_type: { + type: "", + description: "" + } + }, + { + parameter_name: "param3", + parameter_has_default: true, + parameter_default: 3, + label: "", + type: { + type: "", + description: "" + }, + component: "", + serializer: "", + python_type: { + type: "", + description: "" + } + } + ]; + + let endpoint_info = test_data.named_endpoints["/predict"]; + + it("should return an array of data when data is an array", () => { + const data = [1, 2]; + + const result = map_data_to_params(data, endpoint_info); + expect(result).toEqual(data); + }); + + it("should return an empty array when data is an empty array", () => { + const data = []; + + const result = map_data_to_params(data, endpoint_info); + expect(result).toEqual(data); + }); + + it("should return an empty array when data is not defined", () => { + const data = undefined; + + const result = map_data_to_params(data, endpoint_info); + expect(result).toEqual([]); + }); + + it("should return the data when too many arguments are provided for the endpoint", () => { + const data = [1, 2, 3, 4]; + + const result = map_data_to_params(data, endpoint_info); + expect(result).toEqual(data); + }); + + it("should return an array of resolved data when data is an object", () => { + const data = { + param1: 1, + param2: 2, + param3: 3 + }; + + const result = map_data_to_params(data, endpoint_info); + expect(result).toEqual([1, 2, 3]); + }); + + it("should use the default value when a keyword argument is not provided and has a default value", () => { + const data = { + param1: 1, + param2: 2 + }; + + const result = map_data_to_params(data, endpoint_info); + expect(result).toEqual([1, 2, 3]); + }); + + it("should throw an error when an invalid keyword argument is provided", () => { + const data = { + param1: 1, + param2: 2, + param3: 3, + param4: 4 + }; + + expect(() => map_data_to_params(data, endpoint_info)).toThrowError( + "Parameter `param4` is not a valid keyword argument. Please refer to the API for usage." + ); + }); + + it("should throw an error when no value is provided for a required parameter", () => { + const data = {}; + + expect(() => map_data_to_params(data, endpoint_info)).toThrowError( + "No value provided for required parameter: param1" + ); + }); +}); diff --git a/node_modules/@gradio/client/src/test/apply_diff.test.ts b/node_modules/@gradio/client/src/test/apply_diff.test.ts new file mode 100644 index 0000000000000000000000000000000000000000..7f6bc8528976dba2c2c1cbf4b2e59c549fcb9234 --- /dev/null +++ b/node_modules/@gradio/client/src/test/apply_diff.test.ts @@ -0,0 +1,28 @@ +import { apply_diff } from "../utils/stream"; +import { it, expect, describe } from "vitest"; + +describe("apply_diff", () => { + it("delete_operation_works", () => { + const data = [ + { content: "Hi", role: "user" }, + { content: "How can I assist you?", role: "assistant" } + ]; + const diff: any = [ + ["delete", [0], null], + ["delete", [0], null] + ]; + const result = apply_diff(data, diff); + expect(result).toEqual([]); + }); + + it("delete_operation_works with multiple deletes", () => { + const data = ["a", "b", "c"]; + const diff: any = [ + ["replace", [0], "d"], + ["delete", [1], null], + ["delete", [1], null] + ]; + const result = apply_diff(data, diff); + expect(result).toEqual(["d"]); + }); +}); diff --git a/node_modules/@gradio/client/src/test/data.test.ts b/node_modules/@gradio/client/src/test/data.test.ts new file mode 100644 index 0000000000000000000000000000000000000000..d92a5701cb865e4cb28a1af8f69181c9ef792fbb --- /dev/null +++ b/node_modules/@gradio/client/src/test/data.test.ts @@ -0,0 +1,449 @@ +import { describe, it, expect, vi, afterEach } from "vitest"; +import { + update_object, + walk_and_store_blobs, + skip_queue, + post_message, + handle_file, + handle_payload +} from "../helpers/data"; +import { config_response, endpoint_info } from "./test_data"; +import { BlobRef, Command } from "../types"; +import { FileData } from "../upload"; + +const IS_NODE = process.env.TEST_MODE === "node"; + +describe("walk_and_store_blobs", () => { + it("should convert a Buffer to a Blob", async () => { + const buffer = Buffer.from("test data"); + const parts = await walk_and_store_blobs(buffer, "text"); + + expect(parts).toHaveLength(1); + expect(parts[0].blob).toBeInstanceOf(Blob); + }); + + it("should return a Blob when passed a Blob", async () => { + const blob = new Blob(["test data"]); + const parts = await walk_and_store_blobs( + blob, + undefined, + [], + true, + endpoint_info + ); + + expect(parts[0].blob).toBeInstanceOf(Blob); + }); + + it("should handle arrays", async () => { + const image = new Blob([]); + const parts = await walk_and_store_blobs([image]); + + expect(parts).toHaveLength(1); + expect(parts[0].blob).toBeInstanceOf(Blob); + expect(parts[0].path).toEqual(["0"]); + }); + + it("should handle deep structures", async () => { + const image = new Blob([]); + const parts = await walk_and_store_blobs({ a: { b: { data: { image } } } }); + + expect(parts).toHaveLength(1); + expect(parts[0].blob).toBeInstanceOf(Blob); + expect(parts[0].path).toEqual(["a", "b", "data", "image"]); + }); + + it("should handle deep structures with arrays", async () => { + const image = new Blob([]); + const parts = await walk_and_store_blobs({ + a: [ + { + b: [ + { + data: [ + { + image + } + ] + } + ] + } + ] + }); + + expect(parts[0].blob).toBeInstanceOf(Blob); + }); + + it("should handle deep structures with arrays (with equality check)", async () => { + const image = new Blob([]); + + const obj = { + a: [ + { + b: [ + { + data: [[image], image, [image, [image]]] + } + ] + } + ] + }; + const parts = await walk_and_store_blobs(obj); + + async function map_path(obj: Record, parts: BlobRef[]) { + const { path, blob } = parts[parts.length - 1]; + let ref = obj; + path.forEach((p) => (ref = ref[p])); + + // since ref is a Blob and blob is a Blob, we deep equal check the two buffers instead + if (ref instanceof Blob && blob instanceof Blob) { + const refBuffer = Buffer.from(await ref.arrayBuffer()); + const blobBuffer = Buffer.from(await blob.arrayBuffer()); + return refBuffer.equals(blobBuffer); + } + + return ref === blob; + } + + expect(parts[0].blob).toBeInstanceOf(Blob); + expect(map_path(obj, parts)).toBeTruthy(); + }); + + it("should handle buffer instances and return a BlobRef", async () => { + const buffer = Buffer.from("test"); + const parts = await walk_and_store_blobs(buffer, undefined, ["blob"]); + + expect(parts).toHaveLength(1); + expect(parts[0].blob).toBeInstanceOf(Blob); + expect(parts[0].path).toEqual(["blob"]); + }); + + it("should handle buffer instances with a path and return a BlobRef with the path", async () => { + const buffer = Buffer.from("test data"); + const parts = await walk_and_store_blobs(buffer); + + expect(parts).toHaveLength(1); + expect(parts[0].path).toEqual([]); + expect(parts[0].blob).toBeInstanceOf(Blob); + }); + + it("should convert an object with deep structures to BlobRefs", async () => { + const param = { + a: { + b: { + data: { + image: Buffer.from("test image") + } + } + } + }; + const parts = await walk_and_store_blobs(param); + + expect(parts).toHaveLength(1); + expect(parts[0].path).toEqual(["a", "b", "data", "image"]); + expect(parts[0].blob).toBeInstanceOf(Blob); + }); +}); +describe("update_object", () => { + it("should update the value of a nested property", () => { + const obj = { + a: { + b: { + c: "old value" + } + } + }; + + const stack = ["a", "b", "c"]; + const new_val = "new value"; + + update_object(obj, new_val, stack); + + expect(obj.a.b.c).toBe(new_val); + }); + + it("should throw an error for invalid key type", () => { + const obj = { + a: { + b: { + c: "value" + } + } + }; + + const stack = ["a", "b", true]; + const newValue = "new value"; + + expect(() => { + // @ts-ignore + update_object(obj, newValue, stack); + }).toThrowError("Invalid key type"); + }); +}); + +describe("skip_queue", () => { + const id = 0; + const config = config_response; + + it("should not skip queue when global and dependency queue is enabled", () => { + config.enable_queue = true; + config.dependencies.find((dep) => dep.id === id)!.queue = true; + + const result = skip_queue(id, config_response); + + expect(result).toBe(false); + }); + + it("should not skip queue when global queue is disabled and dependency queue is enabled", () => { + config.enable_queue = false; + config.dependencies.find((dep) => dep.id === id)!.queue = true; + + const result = skip_queue(id, config_response); + + expect(result).toBe(false); + }); + + it("should should skip queue when global queue and dependency queue is disabled", () => { + config.enable_queue = false; + config.dependencies.find((dep) => dep.id === id)!.queue = false; + + const result = skip_queue(id, config_response); + + expect(result).toBe(true); + }); + + it("should should skip queue when global queue is enabled and dependency queue is disabled", () => { + config.enable_queue = true; + config.dependencies.find((dep) => dep.id === id)!.queue = false; + + const result = skip_queue(id, config_response); + + expect(result).toBe(true); + }); +}); + +describe("post_message", () => { + afterEach(() => { + vi.restoreAllMocks(); + }); + + it("should send a message to the parent window and resolve with received data", async () => { + const test_data = { key: "value" }; + const test_origin = "https://huggingface.co"; + + const post_message_mock = vi.fn(); + + global.window = { + // @ts-ignore + parent: { + postMessage: post_message_mock + } + }; + + const message_channel_mock = { + port1: { + onmessage: (handler) => { + onmessage = handler; + }, + close: vi.fn() + }, + port2: {} + }; + + vi.stubGlobal("MessageChannel", function () { + this.port1 = message_channel_mock.port1; + this.port2 = message_channel_mock.port2; + return this; + }); + + const promise = post_message(test_data, test_origin); + + if (message_channel_mock.port1.onmessage) { + message_channel_mock.port1.onmessage({ data: test_data }); + } + + await expect(promise).resolves.toEqual(test_data); + expect(post_message_mock).toHaveBeenCalledWith(test_data, test_origin, [ + message_channel_mock.port2 + ]); + }); +}); + +describe("handle_file", () => { + it("should handle a Blob object and return the blob", () => { + const blob = new Blob(["test data"], { type: "image/png" }); + const result = handle_file(blob) as FileData; + + expect(result).toBe(blob); + }); + + it("should handle a Buffer object and return it as a blob", () => { + const buffer = Buffer.from("test data"); + const result = handle_file(buffer) as FileData; + expect(result).toBeInstanceOf(Blob); + }); + it("should handle a local file path and return a Command object", () => { + const file_path = "./owl.png"; + const result = handle_file(file_path) as Command; + expect(result).toBeInstanceOf(Command); + expect(result).toEqual({ + type: "command", + command: "upload_file", + meta: { path: "./owl.png", name: "./owl.png", orig_path: "./owl.png" }, + fileData: undefined + }); + }); + + it("should handle a File object and return it as FileData", () => { + if (IS_NODE) { + return; + } + const file = new File(["test image"], "test.png", { type: "image/png" }); + const result = handle_file(file) as FileData; + expect(result).toBeInstanceOf(Blob); + }); + + it("should throw an error for invalid input", () => { + const invalid_input = 123; + + expect(() => { + // @ts-ignore + handle_file(invalid_input); + }).toThrowError( + "Invalid input: must be a URL, File, Blob, or Buffer object." + ); + }); +}); + +describe("handle_payload", () => { + it("should return an input payload with null in place of `state` when with_null_state is true", () => { + const resolved_payload = [2]; + const dependency = { + inputs: [1, 2] + }; + const components = [ + { id: 1, type: "number" }, + { id: 2, type: "state" } + ]; + const with_null_state = true; + const result = handle_payload( + resolved_payload, + // @ts-ignore + dependency, + components, + "input", + with_null_state + ); + expect(result).toEqual([2, null]); + }); + it("should return an input payload with null in place of two `state` components when with_null_state is true", () => { + const resolved_payload = ["hello", "goodbye"]; + const dependency = { + inputs: [1, 2, 3, 4] + }; + const components = [ + { id: 1, type: "textbox" }, + { id: 2, type: "state" }, + { id: 3, type: "textbox" }, + { id: 4, type: "state" } + ]; + const with_null_state = true; + const result = handle_payload( + resolved_payload, + // @ts-ignore + dependency, + components, + "input", + with_null_state + ); + expect(result).toEqual(["hello", null, "goodbye", null]); + }); + + it("should return an output payload without the state component value when with_null_state is false", () => { + const resolved_payload = ["hello", null]; + const dependency = { + outputs: [2, 3] + }; + const components = [ + { id: 2, type: "textbox" }, + { id: 3, type: "state" } + ]; + const with_null_state = false; + const result = handle_payload( + resolved_payload, + // @ts-ignore + dependency, + components, + "output", + with_null_state + ); + expect(result).toEqual(["hello"]); + }); + + it("should return an ouput payload without the two state component values when with_null_state is false", () => { + const resolved_payload = ["hello", null, "world", null]; + const dependency = { + outputs: [2, 3, 4, 5] + }; + const components = [ + { id: 2, type: "textbox" }, + { id: 3, type: "state" }, + { id: 4, type: "textbox" }, + { id: 5, type: "state" } + ]; + const with_null_state = false; + const result = handle_payload( + resolved_payload, + // @ts-ignore + dependency, + components, + "output", + with_null_state + ); + expect(result).toEqual(["hello", "world"]); + }); + + it("should return an ouput payload with the two state component values when with_null_state is true", () => { + const resolved_payload = ["hello", null, "world", null]; + const dependency = { + outputs: [2, 3, 4, 5] + }; + const components = [ + { id: 2, type: "textbox" }, + { id: 3, type: "state" }, + { id: 4, type: "textbox" }, + { id: 5, type: "state" } + ]; + const with_null_state = true; + const result = handle_payload( + resolved_payload, + // @ts-ignore + dependency, + components, + "output", + with_null_state + ); + expect(result).toEqual(["hello", null, "world", null]); + }); + + it("should return the same payload where no state components are defined", () => { + const resolved_payload = ["hello", "world"]; + const dependency = { + inputs: [2, 3] + }; + const components = [ + { id: 2, type: "textbox" }, + { id: 3, type: "textbox" } + ]; + const with_null_state = true; + const result = handle_payload( + resolved_payload, + // @ts-ignore + dependency, + components, + "input", + with_null_state + ); + expect(result).toEqual(["hello", "world"]); + }); +}); diff --git a/node_modules/@gradio/client/src/test/filesize.test.ts b/node_modules/@gradio/client/src/test/filesize.test.ts new file mode 100644 index 0000000000000000000000000000000000000000..8dc47fbbdc2a88a028a8827b907aff80df369348 --- /dev/null +++ b/node_modules/@gradio/client/src/test/filesize.test.ts @@ -0,0 +1,143 @@ +import { describe, it, expect } from "vitest"; +import { filesize, SPECS } from "../utils/filesize"; + +describe("filesize", () => { + describe("basic functionality", () => { + it("should format bytes correctly with default spec (jedec)", () => { + expect(filesize(0)).toBe("0.0 b"); + expect(filesize(512)).toBe("512.0 b"); + expect(filesize(1024)).toBe("1.0 Kb"); + expect(filesize(1536)).toBe("1.5 Kb"); // 1024 + 512 + expect(filesize(1048576)).toBe("1.0 Mb"); // 1024^2 + expect(filesize(1073741824)).toBe("1.0 Gb"); // 1024^3 + }); + + it("should handle different fixed decimal places", () => { + expect(filesize(1536, 0)).toBe("2 Kb"); + expect(filesize(1536, 1)).toBe("1.5 Kb"); + expect(filesize(1536, 2)).toBe("1.50 Kb"); + expect(filesize(1536, 3)).toBe("1.500 Kb"); + }); + + it("should handle negative numbers by taking absolute value", () => { + expect(filesize(-1024)).toBe("1.0 Kb"); + expect(filesize(-1536)).toBe("1.5 Kb"); + expect(filesize(-0)).toBe("0.0 b"); + }); + }); + + describe("SI specification", () => { + it("should use base 1000 for SI spec", () => { + expect(filesize(1000, 1, "si")).toBe("1.0 kb"); + expect(filesize(1500, 1, "si")).toBe("1.5 kb"); + expect(filesize(1000000, 1, "si")).toBe("1.0 Mb"); + expect(filesize(1000000000, 1, "si")).toBe("1.0 Gb"); + }); + + it("should handle large numbers with SI spec", () => { + expect(filesize(1e12, 1, "si")).toBe("1.0 Tb"); + expect(filesize(1e15, 1, "si")).toBe("1.0 Pb"); + expect(filesize(1e18, 1, "si")).toBe("1.0 Eb"); + }); + }); + + describe("IEC specification", () => { + it("should use base 1024 with binary units for IEC spec", () => { + expect(filesize(1024, 1, "iec")).toBe("1.0 Kib"); + expect(filesize(1536, 1, "iec")).toBe("1.5 Kib"); + expect(filesize(1048576, 1, "iec")).toBe("1.0 Mib"); + expect(filesize(1073741824, 1, "iec")).toBe("1.0 Gib"); + }); + + it("should handle large numbers with IEC spec", () => { + expect(filesize(Math.pow(1024, 4), 1, "iec")).toBe("1.0 Tib"); + expect(filesize(Math.pow(1024, 5), 1, "iec")).toBe("1.0 Pib"); + }); + }); + + describe("JEDEC specification", () => { + it("should use base 1024 with decimal-style units for JEDEC spec", () => { + expect(filesize(1024, 1, "jedec")).toBe("1.0 Kb"); + expect(filesize(1536, 1, "jedec")).toBe("1.5 Kb"); + expect(filesize(1048576, 1, "jedec")).toBe("1.0 Mb"); + expect(filesize(1073741824, 1, "jedec")).toBe("1.0 Gb"); + }); + }); + + describe("edge cases", () => { + it("should handle very large numbers", () => { + const veryLarge = Math.pow(1024, 8); // Yottabytes + expect(filesize(veryLarge, 1, "jedec")).toBe("1.0 Yb"); + }); + + it("should handle decimal input", () => { + expect(filesize(1024.5, 1)).toBe("1.0 Kb"); + expect(filesize(1500.7, 2)).toBe("1.47 Kb"); + }); + + it("should handle invalid spec by falling back to jedec", () => { + expect(filesize(1024, 1, "invalid")).toBe("1.0 Kb"); + expect(filesize(1024, 1, "")).toBe("1.0 Kb"); + expect(filesize(1024, 1, undefined)).toBe("1.0 Kb"); + }); + }); + + describe("precision and rounding", () => { + it("should round correctly with different precision levels", () => { + const testBytes = 1536; // 1.5 KB + expect(filesize(testBytes, 0)).toBe("2 Kb"); + expect(filesize(testBytes, 1)).toBe("1.5 Kb"); + expect(filesize(testBytes, 2)).toBe("1.50 Kb"); + }); + + it("should handle rounding edge cases", () => { + const almostTwoKb = 2047; // almost 2KB + expect(filesize(almostTwoKb, 0)).toBe("2 Kb"); + expect(filesize(almostTwoKb, 3)).toBe("1.999 Kb"); + }); + }); + + describe("SPECS constant", () => { + it("should have correct radix values", () => { + expect(SPECS.si.radix).toBe(1000); + expect(SPECS.iec.radix).toBe(1024); + expect(SPECS.jedec.radix).toBe(1024); + }); + + it("should have correct unit arrays", () => { + expect(SPECS.si.unit).toEqual([ + "b", + "kb", + "Mb", + "Gb", + "Tb", + "Pb", + "Eb", + "Zb", + "Yb" + ]); + expect(SPECS.iec.unit).toEqual([ + "b", + "Kib", + "Mib", + "Gib", + "Tib", + "Pib", + "Eib", + "Zib", + "Yib" + ]); + expect(SPECS.jedec.unit).toEqual([ + "b", + "Kb", + "Mb", + "Gb", + "Tb", + "Pb", + "Eb", + "Zb", + "Yb" + ]); + }); + }); +}); diff --git a/node_modules/@gradio/client/src/test/handlers.ts b/node_modules/@gradio/client/src/test/handlers.ts new file mode 100644 index 0000000000000000000000000000000000000000..308b8846bc441714ef9bf6caa39245e6415f8458 --- /dev/null +++ b/node_modules/@gradio/client/src/test/handlers.ts @@ -0,0 +1,693 @@ +import { HttpResponse, http, RequestHandler } from "msw"; +import { + HOST_URL, + API_INFO_URL, + CONFIG_URL, + RUNTIME_URL, + SLEEPTIME_URL, + UPLOAD_URL, + BROKEN_CONNECTION_MSG, + LOGIN_URL +} from "../constants"; +import { + response_api_info, + config_response, + whoami_response, + duplicate_response, + hardware_sleeptime_response, + discussions_response, + runtime_response +} from "./test_data"; + +const root_url = "https://huggingface.co"; + +export const direct_space_url = "https://hmb-hello-world.hf.space"; +const private_space_url = "https://hmb-secret-world.hf.space"; +const private_auth_space_url = "https://hmb-private-auth-space.hf.space"; + +const server_error_space_url = "https://hmb-server-error.hf.space"; +const upload_server_test_space_url = "https://hmb-server-test.hf.space"; +const auth_app_space_url = "https://hmb-auth-space.hf.space"; +const unauth_app_space_url = "https://hmb-unauth-space.hf.space"; +const invalid_auth_space_url = "https://hmb-invalid-auth-space.hf.space"; + +const server_error_reference = "hmb/server_error"; +const app_reference = "hmb/hello_world"; +const broken_app_reference = "hmb/bye_world"; +const duplicate_app_reference = "gradio/hello_world"; +const private_app_reference = "hmb/secret_world"; +const server_test_app_reference = "hmb/server_test"; +const auth_app_reference = "hmb/auth_space"; +const unauth_app_reference = "hmb/unauth_space"; +const invalid_auth_app_reference = "hmb/invalid_auth_space"; +const private_auth_app_reference = "hmb/private_auth_space"; + +export const handlers: RequestHandler[] = [ + // /host requests + http.get(`${root_url}/api/spaces/${app_reference}/${HOST_URL}`, () => { + return new HttpResponse( + JSON.stringify({ + subdomain: "hmb-hello-world", + host: "https://hmb-hello-world.hf.space" + }), + { + status: 200, + headers: { + "Content-Type": "application/json" + } + } + ); + }), + http.get(`${root_url}/api/spaces/${broken_app_reference}/${HOST_URL}`, () => { + return new HttpResponse(null, { + status: 404, + headers: { + "Content-Type": "application/json", + hf_token: "hf_123" + } + }); + }), + http.get( + `${root_url}/api/spaces/${private_auth_app_reference}/${HOST_URL}`, + () => { + return new HttpResponse( + JSON.stringify({ + subdomain: "hmb-private-auth-space", + host: "https://hmb-private-auth-space.hf.space" + }), + { + status: 200, + headers: { + "Content-Type": "application/json" + } + } + ); + } + ), + http.get( + `${root_url}/api/spaces/${private_app_reference}/${HOST_URL}`, + ({ request }) => { + const token = request.headers.get("authorization")?.substring(7); + + if (!token || token !== "hf_123") { + return new HttpResponse(null, { + status: 401, + headers: { + "Content-Type": "application/json" + } + }); + } + + return new HttpResponse( + JSON.stringify({ + subdomain: private_app_reference, + host: private_space_url + }), + { + status: 200, + headers: { + "Content-Type": "application/json" + } + } + ); + } + ), + http.get( + `${root_url}/api/spaces/${server_error_reference}/${HOST_URL}`, + () => { + return new HttpResponse( + JSON.stringify({ + subdomain: "hmb-server-test", + host: "https://hmb-server-test.hf.space" + }), + { + status: 200, + headers: { + "Content-Type": "application/json" + } + } + ); + } + ), + http.get( + `${root_url}/api/spaces/${server_test_app_reference}/${HOST_URL}`, + () => { + return new HttpResponse( + JSON.stringify({ + subdomain: "hmb-server-test", + host: "https://hmb-server-test.hf.space" + }), + { + status: 200, + headers: { + "Content-Type": "application/json" + } + } + ); + } + ), + http.get(`${root_url}/api/spaces/${auth_app_reference}/${HOST_URL}`, () => { + return new HttpResponse( + JSON.stringify({ + subdomain: "hmb-auth-space", + host: "https://hmb-auth-space.hf.space" + }), + { + status: 200, + headers: { + "Content-Type": "application/json" + } + } + ); + }), + http.get( + `${root_url}/api/spaces/${invalid_auth_app_reference}/${HOST_URL}`, + () => { + return new HttpResponse( + JSON.stringify({ + subdomain: "hmb-invalid-auth-space", + host: "https://hmb-invalid-auth-space.hf.space" + }), + { + status: 200, + headers: { + "Content-Type": "application/json" + } + } + ); + } + ), + http.get( + `${root_url}/api/spaces/${duplicate_app_reference}/${HOST_URL}`, + () => { + return new HttpResponse( + JSON.stringify({ + subdomain: "gradio-hello-world", + host: "https://gradio-hello-world.hf.space" + }), + { + status: 200, + headers: { + "Content-Type": "application/json" + } + } + ); + } + ), + http.get(`${root_url}/api/spaces/${unauth_app_reference}/${HOST_URL}`, () => { + return new HttpResponse( + JSON.stringify({ + subdomain: "hmb-unath-space", + host: "https://hmb-unauth-space.hf.space" + }), + { + status: 200, + headers: { + "Content-Type": "application/json" + } + } + ); + }), + // /info requests + http.get(`${direct_space_url}/${API_INFO_URL}`, () => { + return new HttpResponse(JSON.stringify(response_api_info), { + status: 200, + headers: { + "Content-Type": "application/json" + } + }); + }), + http.get(`${upload_server_test_space_url}/${API_INFO_URL}`, () => { + return new HttpResponse(JSON.stringify(response_api_info), { + status: 200, + headers: { + "Content-Type": "application/json" + } + }); + }), + http.get(`${private_space_url}/${API_INFO_URL}`, () => { + return new HttpResponse(JSON.stringify(response_api_info), { + status: 200, + headers: { + "Content-Type": "application/json" + } + }); + }), + http.get(`${server_error_space_url}/${API_INFO_URL}`, () => { + return new HttpResponse(JSON.stringify(response_api_info), { + status: 200, + headers: { + "Content-Type": "application/json" + } + }); + }), + http.get(`${auth_app_space_url}/${API_INFO_URL}`, async () => { + return new HttpResponse(JSON.stringify(response_api_info), { + status: 200, + headers: { + "Content-Type": "application/json" + } + }); + }), + http.get(`${private_auth_space_url}/${API_INFO_URL}`, async () => { + return new HttpResponse(JSON.stringify(response_api_info), { + status: 200, + headers: { + "Content-Type": "application/json" + } + }); + }), + // /config requests + http.get(`${direct_space_url}/${CONFIG_URL}`, () => { + return new HttpResponse(JSON.stringify(config_response), { + status: 200, + headers: { + "Content-Type": "application/json" + } + }); + }), + http.get(`${private_space_url}/${CONFIG_URL}`, () => { + return new HttpResponse( + JSON.stringify({ + ...config_response, + root: "https://hmb-secret-world.hf.space" + }), + { + status: 200, + headers: { + "Content-Type": "application/json" + } + } + ); + }), + http.get(`${upload_server_test_space_url}/${CONFIG_URL}`, () => { + return new HttpResponse( + JSON.stringify({ + ...config_response, + root: "https://hmb-server-test.hf.space" + }), + { + status: 200, + headers: { + "Content-Type": "application/json" + } + } + ); + }), + http.get(`${private_auth_space_url}/${CONFIG_URL}`, () => { + return new HttpResponse( + JSON.stringify({ + ...config_response, + root: "https://hmb-private-auth-space.hf.space" + }), + { + status: 200, + headers: { + "Content-Type": "application/json" + } + } + ); + }), + http.get(`${direct_space_url}/${CONFIG_URL}`, () => { + return new HttpResponse(JSON.stringify(config_response), { + status: 500, + headers: { + "Content-Type": "application/json" + } + }); + }), + http.get(`${server_error_space_url}/${CONFIG_URL}`, () => { + return new HttpResponse(JSON.stringify(config_response), { + status: 200, + headers: { + "Content-Type": "application/json" + } + }); + }), + http.get(`${invalid_auth_space_url}/${CONFIG_URL}`, () => { + return new HttpResponse(JSON.stringify({ detail: "Unauthorized" }), { + status: 401, + headers: { + "Content-Type": "application/json" + } + }); + }), + http.get(`${auth_app_space_url}/${CONFIG_URL}`, ({ request }) => { + return new HttpResponse( + JSON.stringify({ + ...config_response, + root: "https://hmb-auth-space.hf.space", + space_id: "hmb/auth_space" + }), + { + status: 200, + headers: { + "Content-Type": "application/json" + } + } + ); + }), + http.get(`${unauth_app_space_url}/${CONFIG_URL}`, () => { + return new HttpResponse( + JSON.stringify({ + detail: "Unauthorized" + }), + { + status: 401, + headers: { + "Content-Type": "application/json" + } + } + ); + }), + // /whoami requests + http.get(`${root_url}/api/whoami-v2`, () => { + return new HttpResponse(JSON.stringify(whoami_response), { + status: 200, + headers: { + "Content-Type": "application/json", + "hf-token": "hf_123" + } + }); + }), + // /duplicate requests + http.post( + `${root_url}/api/spaces/${duplicate_app_reference}/duplicate`, + ({ request }) => { + if (request.headers.get("authorization")?.substring(7) !== "hf_123") { + throw new HttpResponse(null, { + status: 401, + headers: { + "Content-Type": "application/json" + } + }); + } + return new HttpResponse(JSON.stringify(duplicate_response), { + status: 200, + headers: { + "Content-Type": "application/json" + } + }); + } + ), + // /sleeptime requests + http.post(`${root_url}/api/spaces/${app_reference}/${SLEEPTIME_URL}`, () => { + return new HttpResponse(JSON.stringify(hardware_sleeptime_response), { + status: 200, + headers: { + "Content-Type": "application/json" + } + }); + }), + http.post( + `${root_url}/api/spaces/${server_test_app_reference}/${SLEEPTIME_URL}`, + () => { + throw new HttpResponse(null, { + status: 500, + headers: { + "Content-Type": "application/json" + } + }); + } + ), + // /runtime requests + http.get( + `${root_url}/api/spaces/${broken_app_reference}/${RUNTIME_URL}`, + () => { + return new HttpResponse(null, { + status: 404, + headers: { + "Content-Type": "application/json" + } + }); + } + ), + http.get(`${root_url}/api/spaces/${app_reference}/${RUNTIME_URL}`, () => { + return new HttpResponse(JSON.stringify(hardware_sleeptime_response), { + status: 200, + headers: { + "Content-Type": "application/json" + } + }); + }), + // queue requests + http.get(`${direct_space_url}/queue/data`, () => { + return new HttpResponse(JSON.stringify({ event_id: "123" }), { + status: 200, + headers: { + "Content-Type": "application/json" + } + }); + }), + http.post(`${direct_space_url}/queue/join`, () => { + return new HttpResponse(JSON.stringify({ event_id: "123" }), { + status: 200, + headers: { + "Content-Type": "application/json" + } + }); + }), + // upload requests + http.post(`${direct_space_url}/${UPLOAD_URL}`, () => { + return new HttpResponse(JSON.stringify(["lion.jpg"]), { + status: 200, + headers: { + "Content-Type": "application/json" + } + }); + }), + http.post(`${upload_server_test_space_url}/${UPLOAD_URL}`, () => { + throw new HttpResponse(JSON.parse("Internal Server Error"), { + status: 200, + headers: { + "Content-Type": "application/json" + } + }); + }), + // discussions requests + http.head(`${root_url}/api/spaces/${app_reference}/discussions`, () => { + return new HttpResponse(JSON.stringify(discussions_response), { + status: 200, + headers: { + "Content-Type": "application/json" + } + }); + }), + http.head( + `${root_url}/api/spaces/${broken_app_reference}/discussions`, + () => { + throw new HttpResponse( + JSON.parse("Discussions are disabled for this repo"), + { + status: 403, + headers: { + "Content-Type": "application/json" + } + } + ); + } + ), + // space requests + http.get(`${root_url}/api/spaces/${app_reference}`, () => { + return new HttpResponse( + JSON.stringify({ id: app_reference, runtime: runtime_response }), + { + status: 200, + headers: { + "Content-Type": "application/json" + } + } + ); + }), + http.get(`${root_url}/api/spaces/hmb/paused_space`, () => { + return new HttpResponse( + JSON.stringify({ + id: app_reference, + runtime: { ...runtime_response, stage: "PAUSED" } + }), + { + status: 200, + headers: { + "Content-Type": "application/json" + } + } + ); + }), + http.get(`${root_url}/api/spaces/hmb/building_space`, () => { + return new HttpResponse( + JSON.stringify({ + id: app_reference, + runtime: { ...runtime_response, stage: "BUILDING" } + }), + { + status: 200, + headers: { + "Content-Type": "application/json" + } + } + ); + }), + http.get(`${root_url}/api/spaces/hmb/stopped_space`, () => { + return new HttpResponse( + JSON.stringify({ + id: app_reference, + runtime: { ...runtime_response, stage: "STOPPED" } + }), + { + status: 200, + headers: { + "Content-Type": "application/json" + } + } + ); + }), + http.get(`${root_url}/api/spaces/hmb/failed_space`, () => { + throw new HttpResponse(null, { + status: 500, + headers: { + "Content-Type": "application/json" + } + }); + }), + http.get(`${root_url}/api/spaces/${unauth_app_reference}`, () => { + return new HttpResponse( + JSON.stringify({ + id: unauth_app_reference, + runtime: { ...runtime_response } + }), + { + status: 200, + headers: { + "Content-Type": "application/json" + } + } + ); + }), + // jwt requests + http.get(`${root_url}/api/spaces/${app_reference}/jwt`, () => { + return new HttpResponse( + JSON.stringify({ + token: "jwt_123" + }), + { + status: 200, + headers: { + "Content-Type": "application/json" + } + } + ); + }), + http.get(`${root_url}/api/spaces/${broken_app_reference}/jwt`, () => { + return new HttpResponse(null, { + status: 500, + headers: { + "Content-Type": "application/json" + } + }); + }), + // post_data requests + http.post(`${direct_space_url}`, () => { + return new HttpResponse(JSON.stringify({}), { + status: 200, + headers: { + "Content-Type": "application/json" + } + }); + }), + http.post(`${private_space_url}`, () => { + return new HttpResponse(JSON.stringify(BROKEN_CONNECTION_MSG), { + status: 500, + headers: { + "Content-Type": "application/json" + } + }); + }), + // heartbeat requests + http.get(`*/heartbeat/*`, () => { + return new HttpResponse(null, { + status: 200, + headers: { + "Content-Type": "application/json" + } + }); + }), + // login requests + http.post(`${auth_app_space_url}/${LOGIN_URL}`, async ({ request }) => { + let username; + let password; + + await request.formData().then((data) => { + username = data.get("username"); + password = data.get("password"); + }); + + if (username === "admin" && password === "pass1234") { + return new HttpResponse( + JSON.stringify({ + success: true + }), + { + status: 200, + headers: { + "Content-Type": "application/json", + "Set-Cookie": + "access-token-123=abc; HttpOnly; Path=/; SameSite=none; Secure", + // @ts-ignore - multiple Set-Cookie headers are returned + "Set-Cookie": + "access-token-unsecure-123=abc; HttpOnly; Path=/; SameSite=none; Secure" + } + } + ); + } + + return new HttpResponse(null, { + status: 401, + headers: { + "Content-Type": "application/json" + } + }); + }), + http.post(`${invalid_auth_space_url}/${LOGIN_URL}`, async () => { + return new HttpResponse(null, { + status: 401, + headers: { + "Content-Type": "application/json" + } + }); + }), + http.post(`${private_auth_space_url}/${LOGIN_URL}`, async ({ request }) => { + let username; + let password; + + await request.formData().then((data) => { + username = data.get("username"); + password = data.get("password"); + }); + + if (username === "admin" && password === "pass1234") { + return new HttpResponse( + JSON.stringify({ + success: true + }), + { + status: 200, + headers: { + "Content-Type": "application/json", + "Set-Cookie": + "access-token-123=abc; HttpOnly; Path=/; SameSite=none; Secure", + // @ts-ignore - multiple Set-Cookie headers are returned + "Set-Cookie": + "access-token-unsecure-123=abc; HttpOnly; Path=/; SameSite=none; Secure" + } + } + ); + } + + return new HttpResponse(null, { + status: 401, + headers: { + "Content-Type": "application/json" + } + }); + }) +]; diff --git a/node_modules/@gradio/client/src/test/init.test.ts b/node_modules/@gradio/client/src/test/init.test.ts new file mode 100644 index 0000000000000000000000000000000000000000..434fe356056bd512e0f761f320ffecab65bfa593 --- /dev/null +++ b/node_modules/@gradio/client/src/test/init.test.ts @@ -0,0 +1,162 @@ +import { + describe, + beforeAll, + afterEach, + afterAll, + test, + expect, + vi +} from "vitest"; + +import { Client, client, duplicate } from ".."; +import { + transformed_api_info, + config_response, + response_api_info +} from "./test_data"; +import { initialise_server } from "./server"; +import { SPACE_METADATA_ERROR_MSG } from "../constants"; + +const app_reference = "hmb/hello_world"; +const broken_app_reference = "hmb/bye_world"; +const direct_app_reference = "https://hmb-hello-world.hf.space"; +const secret_direct_app_reference = "https://hmb-secret-world.hf.space"; + +const server = initialise_server(); + +beforeAll(() => server.listen()); +afterEach(() => server.resetHandlers()); +afterAll(() => server.close()); + +describe("Client class", () => { + describe("initialisation", () => { + test("fetch is bound to the Client instance", async () => { + const test = await Client.connect("hmb/hello_world"); + const fetch_method = test.fetch; + const res = await fetch_method(direct_app_reference + "/info"); + + await expect(res.json()).resolves.toEqual(response_api_info); + }); + + test("stream is bound to the Client instance", async () => { + const test = await Client.connect("hmb/hello_world"); + const stream_method = test.stream; + const url = new URL(`${direct_app_reference}/queue/data`); + const stream = stream_method(url); + + expect(stream).toBeDefined(); + expect(stream.onmessage).toBeDefined(); + }); + + test("backwards compatibility of client using deprecated syntax", async () => { + const app = await client(app_reference); + expect(app.config).toEqual(config_response); + }); + test("connecting to a running app with a space reference", async () => { + const app = await Client.connect(app_reference); + expect(app.config).toEqual(config_response); + }); + + test("connecting to a running app with a direct app URL", async () => { + const app = await Client.connect(direct_app_reference); + expect(app.config).toEqual(config_response); + }); + + test("connecting successfully to a private running app with a space reference", async () => { + const app = await Client.connect("hmb/secret_world", { + token: "hf_123" + }); + + expect(app.config).toEqual({ + ...config_response, + root: "https://hmb-secret-world.hf.space" + }); + }); + + test("connecting successfully to a private running app with a direct app URL ", async () => { + const app = await Client.connect(secret_direct_app_reference, { + token: "hf_123" + }); + + expect(app.config).toEqual({ + ...config_response, + root: "https://hmb-secret-world.hf.space" + }); + }); + + test("unsuccessfully attempting to connect to a private running app", async () => { + await expect( + Client.connect("hmb/secret_world", { + token: "hf_bad_token" + }) + ).rejects.toThrowError(SPACE_METADATA_ERROR_MSG); + }); + + test("viewing the api info of a running app", async () => { + const app = await Client.connect(app_reference); + expect(await app.view_api()).toEqual(transformed_api_info); + }); + + test("viewing the api info of a non-existent app", async () => { + const app = Client.connect(broken_app_reference); + await expect(app).rejects.toThrowError(); + }); + }); + + describe("duplicate", () => { + test("backwards compatibility of duplicate using deprecated syntax", async () => { + const app = await duplicate("gradio/hello_world", { + token: "hf_123", + private: true, + hardware: "cpu-basic" + }); + + expect(app.config).toEqual(config_response); + }); + + test("creating a duplicate of a running app", async () => { + const duplicate = await Client.duplicate("gradio/hello_world", { + token: "hf_123", + private: true, + hardware: "cpu-basic" + }); + + expect(duplicate.config).toEqual(config_response); + }); + + test("creating a duplicate of a running app without a token", async () => { + const duplicate = Client.duplicate("gradio/hello_world", { + private: true, + hardware: "cpu-basic" + }); + + await expect(duplicate).rejects.toThrow("Error: Unauthorized"); + }); + + test("creating a duplicate of a broken app", async () => { + const duplicate = Client.duplicate(broken_app_reference); + + await expect(duplicate).rejects.toThrow(SPACE_METADATA_ERROR_MSG); + }); + }); + + describe("overriding the Client class", () => { + // TODO: broken test since https://github.com/gradio-app/gradio/pull/10890 + test.skip("overriding methods on the Client class", async () => { + const mocked_fetch = vi.fn( + (input: RequestInfo | URL, init?: RequestInit): Promise => { + return Promise.resolve( + new Response(JSON.stringify({ data: "test" })) + ); + } + ); + + class CustomClient extends Client { + fetch = mocked_fetch; + } + + await CustomClient.connect("hmb/hello_world"); + expect(mocked_fetch).toHaveBeenCalled(); + }); + }); +}); diff --git a/node_modules/@gradio/client/src/test/init_helpers.test.ts b/node_modules/@gradio/client/src/test/init_helpers.test.ts new file mode 100644 index 0000000000000000000000000000000000000000..9f1ab48015fafd36e70cfbffa07d69ccabd3702c --- /dev/null +++ b/node_modules/@gradio/client/src/test/init_helpers.test.ts @@ -0,0 +1,126 @@ +import { + resolve_root, + get_jwt, + determine_protocol, + parse_and_set_cookies +} from "../helpers/init_helpers"; +import { initialise_server } from "./server"; +import { beforeAll, afterEach, afterAll, it, expect, describe } from "vitest"; +import { Client } from "../client"; +import { INVALID_CREDENTIALS_MSG, MISSING_CREDENTIALS_MSG } from "../constants"; + +const server = initialise_server(); + +beforeAll(() => server.listen()); +afterEach(() => server.resetHandlers()); +afterAll(() => server.close()); + +describe("resolve_root", () => { + it('should return the base URL if the root path starts with "http://"', () => { + const base_url = "https://huggingface.co"; + const root_path = "https://hmb-hello-world.hf.space"; + const prioritize_base = true; + const result = resolve_root(base_url, root_path, prioritize_base); + expect(result).toBe(base_url); + }); + + it('should return the base URL if the root path starts with "https://"', () => { + const base_url = "https://huggingface.co"; + const root_path = "https://hmb-hello-world.hf.space"; + const prioritize_base = true; + const result = resolve_root(base_url, root_path, prioritize_base); + expect(result).toBe(base_url); + }); +}); + +describe("get_jwt", () => { + it("should return a valid JWT token when the API call is successful", async () => { + const space = "hmb/hello_world"; + const token = "hf_123"; + const expected_jwt = "jwt_123"; + + const result = await get_jwt(space, token); + + expect(result).toBe(expected_jwt); + }); + + it("should return false when the API call fails", async () => { + const space = "hmb/bye_world"; + const token = "hf_123"; + + const result = await get_jwt(space, token); + + expect(result).toBe(false); + }); +}); + +describe("determine_protocol", () => { + it('should return the correct protocols and host when the endpoint starts with "http"', () => { + const endpoint = "http://huggingface.co"; + const result = determine_protocol(endpoint); + expect(result).toEqual({ + ws_protocol: "ws", + http_protocol: "http:", + host: "huggingface.co" + }); + }); + + it('should return the correct protocols and host when the endpoint starts with "https"', () => { + const endpoint = "https://huggingface.co"; + const result = determine_protocol(endpoint); + expect(result).toEqual({ + ws_protocol: "wss", + http_protocol: "https:", + host: "huggingface.co" + }); + }); +}); + +describe("parse_and_set_cookies", () => { + it("should return an empty array when the cookie header is empty", () => { + const cookie_header = ""; + const result = parse_and_set_cookies(cookie_header); + expect(result).toEqual([]); + }); + + it("should parse the cookie header and return an array of cookies", () => { + const cookie_header = "access-token-123=abc;access-token-unsecured-456=def"; + const result = parse_and_set_cookies(cookie_header); + expect(result).toEqual(["access-token-123=abc"]); + }); +}); + +describe("resolve_cookies", () => { + it("should set the cookies when correct auth credentials are provided", async () => { + const client = await Client.connect("hmb/auth_space", { + auth: ["admin", "pass1234"] + }); + + const api = client.view_api(); + expect((await api).named_endpoints["/predict"]).toBeDefined(); + }); + + it("should connect to a private and authenticated space", async () => { + const client = await Client.connect("hmb/private_auth_space", { + hf_token: "hf_123", + auth: ["admin", "pass1234"] + }); + + const api = client.view_api(); + expect((await api).named_endpoints["/predict"]).toBeDefined(); + }); + + it("should not set the cookies when auth credentials are invalid", async () => { + await expect( + Client.connect("hmb/invalid_auth_space", { + auth: ["admin", "wrong_password"] + }) + ).rejects.toThrowError(INVALID_CREDENTIALS_MSG); + }); + + it("should not set the cookies when auth option is not provided in an auth space", async () => { + await expect(Client.connect("hmb/unauth_space")).rejects.toThrowError( + MISSING_CREDENTIALS_MSG + ); + }); +}); diff --git a/node_modules/@gradio/client/src/test/mock_eventsource.ts b/node_modules/@gradio/client/src/test/mock_eventsource.ts new file mode 100644 index 0000000000000000000000000000000000000000..1f47258cd3b90b03fa1dc97991806bc4fad54dfc --- /dev/null +++ b/node_modules/@gradio/client/src/test/mock_eventsource.ts @@ -0,0 +1,13 @@ +import { vi } from "vitest"; + +if (process.env.TEST_MODE !== "node") { + Object.defineProperty(window, "EventSource", { + writable: true, + value: vi.fn().mockImplementation(() => ({ + close: vi.fn(() => {}), + addEventListener: vi.fn(), + onmessage: vi.fn((_event: MessageEvent) => {}), + onerror: vi.fn((_event: Event) => {}) + })) + }); +} diff --git a/node_modules/@gradio/client/src/test/post_data.test.ts b/node_modules/@gradio/client/src/test/post_data.test.ts new file mode 100644 index 0000000000000000000000000000000000000000..e281925b7f5f8c44241120e1985553dcb82defb9 --- /dev/null +++ b/node_modules/@gradio/client/src/test/post_data.test.ts @@ -0,0 +1,45 @@ +import { Client } from "../client"; + +import { initialise_server } from "./server"; +import { BROKEN_CONNECTION_MSG } from "../constants"; +const server = initialise_server(); +import { beforeAll, afterEach, afterAll, it, expect, describe } from "vitest"; + +beforeAll(() => server.listen()); +afterEach(() => server.resetHandlers()); +afterAll(() => server.close()); + +describe("post_data", () => { + it("should send a POST request with the correct headers and body", async () => { + const app = await Client.connect("hmb/hello_world"); + const config = app.config; + const url = config?.root; + const body = { data: "test" }; + + if (!url) { + throw new Error("No URL provided"); + } + + const [response, status] = await app.post_data(url, body); + + expect(response).toEqual({}); + expect(status).toBe(200); + }); + + it("should handle network errors", async () => { + const app = await Client.connect("hmb/secret_world", { + token: "hf_123" + }); + + const url = "https://hmb-secret-world.hf.space"; + + if (!url) { + throw new Error("No URL provided"); + } + + const [response, status] = await app.post_data(url, {}); + + expect(response).toEqual(BROKEN_CONNECTION_MSG); + expect(status).toBe(500); + }); +}); diff --git a/node_modules/@gradio/client/src/test/server.ts b/node_modules/@gradio/client/src/test/server.ts new file mode 100644 index 0000000000000000000000000000000000000000..8eb91f6b278e6abb51965a1bf45561082c527bb6 --- /dev/null +++ b/node_modules/@gradio/client/src/test/server.ts @@ -0,0 +1,6 @@ +import { setupServer } from "msw/node"; +import { handlers } from "./handlers"; + +export function initialise_server(): any { + return setupServer(...handlers); +} diff --git a/node_modules/@gradio/client/src/test/spaces.test.ts b/node_modules/@gradio/client/src/test/spaces.test.ts new file mode 100644 index 0000000000000000000000000000000000000000..14f494e98a75d33c64957a7319231fda1dd4c5c6 --- /dev/null +++ b/node_modules/@gradio/client/src/test/spaces.test.ts @@ -0,0 +1,143 @@ +import { SPACE_STATUS_ERROR_MSG } from "../constants"; +import { + discussions_enabled, + get_space_hardware, + set_space_timeout, + check_space_status +} from "../helpers/spaces"; +import { beforeAll, afterEach, afterAll, it, expect, describe } from "vitest"; + +import { initialise_server } from "./server"; +import { hardware_sleeptime_response } from "./test_data"; +import { vi } from "vitest"; + +const server = initialise_server(); + +beforeAll(() => server.listen()); +afterEach(() => server.resetHandlers()); +afterAll(() => server.close()); + +describe("set_space_timeout", () => { + it("should set the sleep timeout for a space", async () => { + const space_id = "hmb/hello_world"; + const timeout = 60; + const token = "hf_123"; + + const response = await set_space_timeout(space_id, timeout, token); + + expect(response).toEqual(hardware_sleeptime_response); + }); + + it("should throw an error if the fetch call fails", async () => { + const space_id = "hmb/server_test"; + const timeout = 60; + const token = "hf_123"; + + await expect(set_space_timeout(space_id, timeout, token)).rejects.toThrow( + "Could not set sleep timeout on duplicated Space. Please visit *ADD HF LINK TO SETTINGS* to set a timeout manually to reduce billing charges." + ); + }); +}); + +describe("get_space_hardware", () => { + it("should return the current hardware for a space", async () => { + const space_id = "hmb/hello_world"; + const token = "hf_123"; + + const hardware = await get_space_hardware(space_id, token); + expect(hardware).toEqual(hardware_sleeptime_response.hardware.current); + }); + + it("should throw an error if the fetch call fails", async () => { + const space_id = "hmb/bye_world"; + + await expect(get_space_hardware(space_id)).rejects.toThrow( + "Space hardware could not be obtained." + ); + }); +}); + +describe("discussions_enabled", () => { + it("should return true if discussions are enabled for the space", async () => { + const space_id = "hmb/hello_world"; + const result = await discussions_enabled(space_id); + expect(result).toBe(true); + }); + + it("should return false if discussions are disabled for the space", async () => { + const space_id = "hmb/bye_world"; + const result = await discussions_enabled(space_id); + expect(result).toBe(false); + }); +}); + +describe("check_space_status", () => { + const status_callback = vi.fn(); + + it("should handle a successful response with RUNNING stage", async () => { + const id = "hmb/hello_world"; + const type = "space_name"; + + await check_space_status(id, type, status_callback); + expect(status_callback).toHaveBeenCalledWith({ + status: "running", + load_status: "complete", + message: "Space is running.", + detail: "RUNNING" + }); + }); + + it("should handle a successful response with PAUSED stage", async () => { + const id = "hmb/paused_space"; + const type = "space_name"; + + await check_space_status(id, type, status_callback); + expect(status_callback).toHaveBeenCalledWith({ + status: "paused", + load_status: "error", + message: + "This space has been paused by the author. If you would like to try this demo, consider duplicating the space.", + detail: "PAUSED", + discussions_enabled: true + }); + }); + + it("should handle a successful response with BUILDING stage", async () => { + const id = "hmb/building_space"; + const type = "space_name"; + + await check_space_status(id, type, status_callback); + expect(status_callback).toHaveBeenCalledWith({ + status: "building", + load_status: "pending", + message: "Space is building...", + detail: "BUILDING" + }); + }); + + it("should handle a successful response with STOPPED stage", async () => { + const id = "hmb/stopped_space"; + const type = "space_name"; + + await check_space_status(id, type, status_callback); + expect(status_callback).toHaveBeenCalledWith({ + status: "sleeping", + load_status: "pending", + message: "Space is asleep. Waking it up...", + detail: "STOPPED" + }); + }); + + it("should handle a failed response", async () => { + const id = "hmb/failed_space"; + const type = "space_name"; + + await check_space_status(id, type, status_callback); + expect(status_callback).toHaveBeenCalledWith({ + status: "error", + load_status: "error", + message: SPACE_STATUS_ERROR_MSG, + detail: "NOT_FOUND" + }); + }); +}); diff --git a/node_modules/@gradio/client/src/test/stream.test.ts b/node_modules/@gradio/client/src/test/stream.test.ts new file mode 100644 index 0000000000000000000000000000000000000000..9ac4b6c6a05b70f4fe07b7801eac9821fec62b8b --- /dev/null +++ b/node_modules/@gradio/client/src/test/stream.test.ts @@ -0,0 +1,81 @@ +import { vi, type Mock } from "vitest"; +import { Client } from "../client"; +import { readable_stream } from "../utils/stream"; +import { initialise_server } from "./server"; +import { direct_space_url } from "./handlers.ts"; + +import { + describe, + it, + expect, + afterEach, + beforeAll, + afterAll, + beforeEach +} from "vitest"; + +const server = initialise_server(); + +beforeAll(() => server.listen()); +afterEach(() => server.resetHandlers()); +afterAll(() => server.close()); + +describe("open_stream", () => { + let app: Client; + + beforeEach(async () => { + app = await Client.connect("hmb/hello_world"); + app.stream = vi.fn().mockImplementation(() => { + app.stream_instance = readable_stream( + new URL(`${direct_space_url}/queue/data`) + ); + return app.stream_instance; + }); + }); + + afterEach(() => { + vi.clearAllMocks(); + }); + + it("should throw an error if config is not defined", () => { + app.config = undefined; + + expect(async () => { + await app.open_stream(); + }).rejects.toThrow("Could not resolve app config"); + }); + + it("should connect to the SSE endpoint and handle messages", async () => { + await app.open_stream(); + + const eventsource_mock_call = (app.stream as Mock).mock.calls[0][0]; + + expect(eventsource_mock_call.href).toMatch( + /https:\/\/hmb-hello-world\.hf\.space\/queue\/data\?session_hash/ + ); + + expect(app.stream).toHaveBeenCalledWith(eventsource_mock_call); + + if (!app.stream_instance?.onmessage || !app.stream_instance?.onerror) { + throw new Error("stream instance is not defined"); + } + + const onMessageCallback = app.stream_instance.onmessage.bind(app); + const onErrorCallback = app.stream_instance.onerror.bind(app); + + const message = { msg: "hello jerry" }; + + onMessageCallback({ data: JSON.stringify(message) }); + expect(app.stream_status.open).toBe(true); + + expect(app.event_callbacks).toEqual({}); + expect(app.pending_stream_messages).toEqual({}); + + const close_stream_message = { msg: "close_stream" }; + onMessageCallback({ data: JSON.stringify(close_stream_message) }); + expect(app.stream_status.open).toBe(false); + + onErrorCallback({ data: JSON.stringify("404") }); + expect(app.stream_status.open).toBe(false); + }); +}); diff --git a/node_modules/@gradio/client/src/test/test_data.ts b/node_modules/@gradio/client/src/test/test_data.ts new file mode 100644 index 0000000000000000000000000000000000000000..331dcc9827eb95d0c4dd4ce3bbf45c086d0642cc --- /dev/null +++ b/node_modules/@gradio/client/src/test/test_data.ts @@ -0,0 +1,562 @@ +// @ts-nocheck +import { ApiData, ApiInfo, Config, EndpointInfo } from "../types"; + +export const runtime_response = { + stage: "RUNNING", + hardware: { + current: "cpu-basic", + requested: "cpu-basic" + }, + storage: { + current: null, + requested: null + }, + gcTimeout: 86400, + replicas: { + current: 1, + requested: 1 + }, + devMode: false, + domains: [ + { + domain: "hmb-hello-world.hf.space", + isCustom: false, + stage: "READY" + } + ] +}; + +export const transformed_api_info: ApiInfo = { + named_endpoints: { + "/predict": { + parameters: [ + { + label: "name", + type: "string", + python_type: { type: "str", description: "" }, + component: "Textbox", + example_input: "Hello!!" + } + ], + returns: [ + { + label: "output", + type: "string", + python_type: { type: "str", description: "" }, + component: "Textbox" + } + ], + type: { generator: false, cancel: false } + } + }, + unnamed_endpoints: { + "0": { + parameters: [ + { + label: "name", + type: "string", + python_type: { type: "str", description: "" }, + component: "Textbox", + example_input: "Hello!!" + } + ], + returns: [ + { + label: "output", + type: "string", + python_type: { type: "str", description: "" }, + component: "Textbox" + } + ], + type: { generator: false, cancel: false } + } + } +}; + +export const response_api_info: ApiInfo = { + named_endpoints: { + "/predict": { + parameters: [ + { + label: "name", + type: { + type: "string" + }, + python_type: { + type: "str", + description: "" + }, + component: "Textbox", + example_input: "Hello!!" + } + ], + returns: [ + { + label: "output", + type: { + type: "string" + }, + python_type: { + type: "str", + description: "" + }, + component: "Textbox" + } + ] + } + }, + unnamed_endpoints: {} +}; + +export const config_response: Config = { + version: "4.27.0", + mode: "interface", + app_id: 123, + dev_mode: false, + analytics_enabled: true, + components: [ + { + id: 3, + type: "row", + props: { + variant: "default", + visible: true, + equal_height: false, + name: "row" + }, + skip_api: true, + component_class_id: "" + }, + { + id: 4, + type: "column", + props: { + scale: 1, + min_width: 320, + variant: "panel", + visible: true, + name: "column" + }, + skip_api: true, + component_class_id: "" + }, + { + id: 5, + type: "column", + props: { + scale: 1, + min_width: 320, + variant: "default", + visible: true, + name: "column" + }, + skip_api: true, + component_class_id: "" + }, + { + id: 1, + type: "textbox", + props: { + lines: 1, + max_lines: 20, + label: "name", + show_label: true, + container: true, + min_width: 160, + visible: true, + autofocus: false, + autoscroll: true, + elem_classes: [], + type: "text", + rtl: false, + show_copy_button: false, + name: "textbox", + _selectable: false + }, + skip_api: false, + component_class_id: "", + api_info: { + type: "string" + }, + example_inputs: "Hello!!" + }, + { + id: 6, + type: "form", + props: { + scale: 0, + min_width: 0, + name: "form" + }, + skip_api: true, + component_class_id: "" + }, + { + id: 7, + type: "row", + props: { + variant: "default", + visible: true, + equal_height: true, + name: "row" + }, + skip_api: true, + component_class_id: "" + }, + { + id: 8, + type: "button", + props: { + value: "Clear", + variant: "secondary", + visible: true, + interactive: true, + elem_classes: [], + api_visibility: "undocumented", + name: "button", + _selectable: false + }, + skip_api: true, + component_class_id: "" + }, + { + id: 9, + type: "button", + props: { + value: "Submit", + variant: "primary", + visible: true, + interactive: true, + elem_classes: [], + name: "button", + _selectable: false + }, + skip_api: true, + component_class_id: "" + }, + { + id: 10, + type: "column", + props: { + scale: 1, + min_width: 320, + variant: "panel", + visible: true, + name: "column" + }, + skip_api: true, + component_class_id: "" + }, + { + id: 2, + type: "textbox", + props: { + lines: 1, + max_lines: 20, + label: "output", + show_label: true, + container: true, + min_width: 160, + interactive: false, + visible: true, + autofocus: false, + autoscroll: true, + elem_classes: [], + type: "text", + rtl: false, + show_copy_button: false, + name: "textbox", + _selectable: false + }, + skip_api: false, + component_class_id: "", + api_info: { + type: "string" + }, + example_inputs: "Hello!!" + }, + { + id: 11, + type: "row", + props: { + variant: "default", + visible: true, + equal_height: true, + name: "row" + }, + skip_api: true, + component_class_id: "" + }, + { + id: 12, + type: "form", + props: { + scale: 0, + min_width: 0, + name: "form" + }, + skip_api: true, + component_class_id: "" + } + ], + css: null, + js: null, + head: null, + title: "Gradio", + space_id: "hmb/hello_world", + enable_queue: true, + show_error: false, + footer_links: ["api", "gradio", "settings"], + is_colab: false, + stylesheets: [], + theme: "default", + protocol: "sse_v3", + body_css: { + body_background_fill: "white", + body_text_color: "#1f2937", + body_background_fill_dark: "#0b0f19", + body_text_color_dark: "#f3f4f6" + }, + fill_height: false, + layout: { + id: 0, + children: [ + { + id: 3, + children: [ + { + id: 4, + children: [ + { + id: 5, + children: [ + { + id: 6, + children: [ + { + id: 1 + } + ] + } + ] + }, + { + id: 7, + children: [ + { + id: 8 + }, + { + id: 9 + } + ] + } + ] + }, + { + id: 10, + children: [ + { + id: 12, + children: [ + { + id: 2 + } + ] + }, + { + id: 11, + children: [] + } + ] + } + ] + } + ] + }, + dependencies: [ + { + id: 0, + targets: [ + [9, "click"], + [1, "submit"] + ], + inputs: [1], + outputs: [2], + backend_fn: true, + js: null, + queue: null, + api_name: "predict", + scroll_to_output: false, + show_progress: "full", + every: null, + batch: false, + max_batch_size: 4, + cancels: [], + types: { + generator: false, + cancel: false + }, + collects_event_data: false, + trigger_after: null, + trigger_only_on_success: false, + trigger_only_on_failure: false, + trigger_mode: "once", + api_visibility: "public", + zerogpu: false + }, + { + id: 1, + targets: [[8, "click"]], + inputs: [], + outputs: [1, 2], + backend_fn: false, + js: "() => [null, null]", + queue: false, + api_name: "js_fn", + scroll_to_output: false, + show_progress: "full", + every: null, + batch: false, + max_batch_size: 4, + cancels: [], + types: { + generator: false, + cancel: false + }, + collects_event_data: false, + trigger_after: null, + trigger_only_on_success: false, + trigger_only_on_failure: false, + trigger_mode: "once", + api_visibility: "private", + zerogpu: false + }, + { + id: 2, + targets: [[8, "click"]], + inputs: [], + outputs: [5], + backend_fn: false, + js: '() => [{"variant": null, "visible": true, "__type__": "update"}]\n ', + queue: false, + api_name: "js_fn_1", + scroll_to_output: false, + show_progress: "full", + every: null, + batch: false, + max_batch_size: 4, + cancels: [], + types: { + generator: false, + cancel: false + }, + collects_event_data: false, + trigger_after: null, + trigger_only_on_success: false, + trigger_only_on_failure: false, + trigger_mode: "once", + api_visibility: "private", + zerogpu: false + } + ], + root: "https://hmb-hello-world.hf.space", + path: "" +}; + +export const whoami_response = { + type: "user", + id: "123", + name: "hmb", + fullname: "jerry", + email: "jerry@gradio.com", + emailVerified: true, + canPay: true, + periodEnd: 123, + isPro: false, + avatarUrl: "", + orgs: [], + auth: { + type: "access_token", + accessToken: { + displayName: "Gradio Client", + role: "write" + } + } +}; + +export const duplicate_response = { + url: "https://huggingface.co/spaces/hmb/hello_world" +}; + +export const hardware_sleeptime_response = { + stage: "RUNNING", + hardware: { + current: "cpu-basic", + requested: "cpu-upgrade" + }, + storage: null, + gcTimeout: 300, + replicas: { + current: 1, + requested: 1 + }, + devMode: false, + domains: [ + { + domain: "hmb-hello-world.hf.space", + isCustom: false, + stage: "READY" + } + ] +}; + +export const endpoint_info: EndpointInfo = { + parameters: [ + { + label: "parameter_2", + parameter_name: "im", + parameter_has_default: false, + parameter_default: null, + type: "", + python_type: { + type: "Dict(background: filepath | None, layers: List[filepath], composite: filepath | None, id: str | None)", + description: "" + }, + component: "Imageeditor", + example_input: { + background: { + path: "", + meta: { + _type: "gradio.FileData" + }, + orig_name: "bus.png", + url: "" + }, + layers: [], + composite: null + } + } + ], + returns: [ + { + label: "value_3", + type: "string", + python_type: { + type: "filepath", + description: "" + }, + component: "Image" + } + ], + type: { + generator: false + } +}; + +export const discussions_response = { + discussions: [], + count: 0, + start: 0, + numClosedDiscussions: 0 +}; diff --git a/node_modules/@gradio/client/src/test/typing.test.ts b/node_modules/@gradio/client/src/test/typing.test.ts new file mode 100644 index 0000000000000000000000000000000000000000..6956609fd5638ec94991c9815c902e170147a46f --- /dev/null +++ b/node_modules/@gradio/client/src/test/typing.test.ts @@ -0,0 +1,65 @@ +import { describe, test, expect } from "vitest"; +import type { PredictReturn, PredictFunction } from "../types"; + +describe("PredictReturn generic types", () => { + test("PredictReturn with default unknown type", () => { + const result: PredictReturn = { + type: "data", + time: new Date(), + data: ["any", "data"], + endpoint: "/predict", + fn_index: 0 + }; + expect(result.data).toBeDefined(); + }); + + test("PredictReturn with custom type", () => { + type MyData = { text: string; confidence: number }; + const result: PredictReturn = { + type: "data", + time: new Date(), + data: { text: "hello", confidence: 0.95 }, + endpoint: "/predict", + fn_index: 0 + }; + expect(result.data.text).toBe("hello"); + expect(result.data.confidence).toBe(0.95); + }); + + test("PredictReturn with array type", () => { + type ArrayData = string[]; + const result: PredictReturn = { + type: "data", + time: new Date(), + data: ["hello", "world"], + endpoint: "/predict", + fn_index: 0 + }; + expect(result.data[0]).toBe("hello"); + expect(result.data.length).toBe(2); + }); + + test("PredictFunction type signature allows generic parameter", () => { + // This test verifies that PredictFunction accepts a generic type parameter + type MyResponse = { output: string }; + + // Mock function that matches PredictFunction signature + const mockPredict: PredictFunction = async ( + endpoint: string | number, + data?: unknown[] | Record, + event_data?: unknown + ): Promise> => { + return { + type: "data", + time: new Date(), + data: { output: "test" } as T, + endpoint: String(endpoint), + fn_index: 0 + }; + }; + + // Type check: calling with generic parameter + const typedResult = mockPredict("/predict", ["input"]); + expect(typedResult).toBeDefined(); + }); +}); diff --git a/node_modules/@gradio/client/src/test/upload_files.test.ts b/node_modules/@gradio/client/src/test/upload_files.test.ts new file mode 100644 index 0000000000000000000000000000000000000000..2f50a0984a305d741833eac824b5e112ab6feb00 --- /dev/null +++ b/node_modules/@gradio/client/src/test/upload_files.test.ts @@ -0,0 +1,42 @@ +import { describe, it, expect, afterEach, beforeAll, afterAll } from "vitest"; + +import { Client } from ".."; +import { initialise_server } from "./server"; + +const server = initialise_server(); + +beforeAll(() => server.listen()); +afterEach(() => server.resetHandlers()); +afterAll(() => server.close()); + +describe("upload_files", () => { + it("should upload files successfully", async () => { + const root_url = "https://hmb-hello-world.hf.space"; + + const client = await Client.connect("hmb/hello_world", { + hf_token: "hf_token" + }); + + const files = [new Blob([], { type: "image/jpeg" })]; + + const response = await client.upload_files(root_url, files); + + if (!response.files) { + throw new Error("No files returned"); + } + + expect(response.files).toHaveLength(1); + expect(response.files[0]).toBe("lion.jpg"); + }); + + it.skip("should handle a server error when connected to a running app and uploading files", async () => { + const client = await Client.connect("hmb/server_test"); + + const root_url = "https://hmb-server-test.hf.space"; + const files = [new Blob([""], { type: "text/plain" })]; + + await expect(client.upload_files(root_url, files)).rejects.toThrow( + "Connection errored out. Failed to fetch" + ); + }); +}); diff --git a/node_modules/@gradio/client/src/test/view_api.test.ts b/node_modules/@gradio/client/src/test/view_api.test.ts new file mode 100644 index 0000000000000000000000000000000000000000..8f7882af38d6b220be92b2204293561c636f989b --- /dev/null +++ b/node_modules/@gradio/client/src/test/view_api.test.ts @@ -0,0 +1,53 @@ +import { describe, beforeAll, afterEach, afterAll, test, expect } from "vitest"; + +import { Client, client, duplicate } from ".."; +import { transformed_api_info, config_response } from "./test_data"; +import { initialise_server } from "./server"; + +const app_reference = "hmb/hello_world"; +const secret_app_reference = "hmb/secret_world"; +const secret_direct_app_reference = "https://hmb-secret-world.hf.space"; + +const server = initialise_server(); + +beforeAll(() => server.listen()); +afterEach(() => server.resetHandlers()); +afterAll(() => server.close()); + +describe("view_api", () => { + test("viewing the api of a running, public app", async () => { + const app = await Client.connect(app_reference); + + expect(await app.view_api()).toEqual(transformed_api_info); + }); + + test("viewing the api of a running, private app", async () => { + const app = await Client.connect(secret_app_reference, { + token: "hf_123" + }); + + expect(app.config).toEqual({ + ...config_response, + root: secret_direct_app_reference + }); + + expect(await app.view_api()).toEqual({ + ...transformed_api_info + }); + }); + + test("viewing the api of a running, private app with a direct app URL", async () => { + const app = await Client.connect(secret_direct_app_reference, { + token: "hf_123" + }); + + expect(app.config).toEqual({ + ...config_response, + root: secret_direct_app_reference + }); + + expect(await app.view_api()).toEqual({ + ...transformed_api_info + }); + }); +}); diff --git a/node_modules/@gradio/client/src/types.ts b/node_modules/@gradio/client/src/types.ts new file mode 100644 index 0000000000000000000000000000000000000000..c7538718c9249ac278f826e9eddc2074710badc2 --- /dev/null +++ b/node_modules/@gradio/client/src/types.ts @@ -0,0 +1,432 @@ +// API Data Types + +import { hardware_types } from "./helpers/spaces"; +import type { SvelteComponent } from "svelte"; +import type { ComponentType } from "svelte"; + +export interface ApiData { + label: string; + parameter_name: string; + parameter_default?: any; + parameter_has_default?: boolean; + type: { + type: any; + description: string; + }; + component: string; + example_input?: any; + python_type: { type: string; description: string }; + serializer: string; +} + +export interface JsApiData { + label: string; + parameter_name: string; + parameter_default?: any; + parameter_has_default?: boolean; + type: string; + description: string; + component: string; + example_input?: any; + serializer: string; + python_type: { type: string; description: string }; +} + +export interface EndpointInfo { + parameters: T[]; + returns: T[]; + type?: DependencyTypes; +} + +export interface ApiInfo { + named_endpoints: Record>; + unnamed_endpoints: Record>; +} + +export interface BlobRef { + path: string[]; + type: string | undefined; + blob: Blob | File | false; +} + +export type DataType = string | Buffer | Record | any[]; + +// custom class used for uploading local files +export class Command { + type: string; + command: string; + meta: { + path: string; + name: string; + orig_path: string; + }; + fileData?: FileData; + + constructor( + command: string, + meta: { path: string; name: string; orig_path: string } + ) { + this.type = "command"; + this.command = command; + this.meta = meta; + } +} + +// Function Signature Types + +export type SubmitFunction = ( + endpoint: string | number, + data?: unknown[] | Record, + event_data?: unknown, + trigger_id?: number | null, + all_events?: boolean, + additional_headers?: Record +) => SubmitIterable; + +export type PredictFunction = ( + endpoint: string | number, + data?: unknown[] | Record, + event_data?: unknown +) => Promise>; + +export type client_return = { + config: Config | undefined; + predict: PredictFunction; + submit: SubmitFunction; + component_server: ( + component_id: number, + fn_name: string, + data: unknown[] + ) => any; + view_api: (_fetch: typeof fetch) => Promise>; +}; + +export interface SubmitIterable extends AsyncIterable { + [Symbol.asyncIterator](): SubmitIterable; + next: () => Promise>; + throw: (value: unknown) => Promise>; + return: () => Promise>; + cancel: () => Promise; + event_id: () => string; + send_chunk: (payload: Record) => void; + wait_for_id: () => Promise; + close_stream: () => void; +} + +export type PredictReturn = { + type: EventType; + time: Date; + data: T; + endpoint: string; + fn_index: number; +}; + +// Space Status Types + +export type SpaceStatus = SpaceStatusNormal | SpaceStatusError; + +export interface SpaceStatusNormal { + status: + | "sleeping" + | "running" + | "building" + | "error" + | "stopped" + | "starting"; + detail: + | "SLEEPING" + | "RUNNING" + | "RUNNING_BUILDING" + | "BUILDING" + | "APP_STARTING" + | "NOT_FOUND"; + load_status: "pending" | "error" | "complete" | "generating"; + message: string; +} + +export interface SpaceStatusError { + status: "space_error" | "paused"; + detail: + | "NO_APP_FILE" + | "CONFIG_ERROR" + | "BUILD_ERROR" + | "RUNTIME_ERROR" + | "PAUSED"; + load_status: "error"; + message: string; + discussions_enabled: boolean; +} + +export type SpaceStatusCallback = (a: SpaceStatus) => void; + +// Configuration and Response Types +// -------------------------------- +export interface Config { + deep_link_state?: "none" | "valid" | "invalid"; + auth_required?: true; + app_id?: string; + analytics_enabled: boolean; + connect_heartbeat: boolean; + dev_mode: boolean; + vibe_mode: boolean; + auth_message: string; + components: ComponentMeta[]; + css: string | null; + js: string | null; + head: string | null; + dependencies: Dependency[]; + enable_queue: boolean; + show_error: boolean; + layout: any; + mode: "blocks" | "interface" | "chat_interface"; + root: string; + root_url?: string; + theme: string; + title: string; + version: string; + space_id: string | null; + is_space: boolean; + is_colab: boolean; + footer_links: string[]; + stylesheets: string[]; + current_page: string; + page: Record< + string, + { + components: number[]; + dependencies: number[]; + layout: any; + } + >; + pages: [string, string, boolean][]; + protocol: "sse_v3" | "sse_v2.1" | "sse_v2" | "sse_v1" | "sse" | "ws"; + max_file_size?: number; + theme_hash?: number; + username: string | null; + api_prefix?: string; + fill_height?: boolean; + fill_width?: boolean; + pwa?: boolean; + i18n_translations?: Record> | null; + mcp_server?: boolean; +} + +// todo: DRY up types +export interface ComponentMeta { + type: string; + id: number; + has_modes: boolean; + props: SharedProps; + instance: SvelteComponent; + component: ComponentType; + documentation?: Documentation; + children?: ComponentMeta[]; + parent?: ComponentMeta; + value?: any; + component_class_id: string; + key: string | number | null; + rendered_in?: number; +} + +interface SharedProps { + elem_id?: string; + elem_classes?: string[]; + components?: string[]; + server_fns?: string[]; + interactive: boolean; + visible: boolean | "hidden"; + [key: string]: unknown; + root_url?: string; +} + +export interface Documentation { + type?: TypeDescription; + description?: TypeDescription; + example_data?: string; +} + +interface TypeDescription { + input_payload?: string; + response_object?: string; + payload?: string; +} + +export interface Dependency { + id: number; + targets: [number, string][]; + inputs: number[]; + outputs: number[]; + backend_fn: boolean; + js: string | null; + scroll_to_output: boolean; + trigger: "click" | "load" | string; + max_batch_size: number; + show_progress: "full" | "minimal" | "hidden"; + show_progress_on: number[] | null; + frontend_fn: ((...args: unknown[]) => Promise) | null; + status?: string; + queue: boolean | null; + every: number | null; + batch: boolean; + api_name: string | null; + cancels: number[]; + types: DependencyTypes; + collects_event_data: boolean; + pending_request?: boolean; + trigger_after?: number; + trigger_only_on_success?: boolean; + trigger_only_on_failure?: boolean; + trigger_mode: "once" | "multiple" | "always_last"; + final_event: Payload | null; + api_visibility: "public" | "private" | "undocumented"; + rendered_in: number | null; + render_id: number | null; + connection: "stream" | "sse"; + time_limit: number; + stream_every: number; + like_user_message: boolean; + event_specific_args: string[]; + component_prop_inputs: number[]; + js_implementation: string | null; +} + +export interface DependencyTypes { + generator: boolean; + cancel: boolean; +} + +export interface Payload { + fn_index: number; + data: unknown[]; + time?: Date; + event_data?: unknown; + trigger_id?: number | null; +} + +export interface PostResponse { + error?: string; + [x: string]: any; +} + +export interface UploadResponse { + error?: string; + files?: string[]; +} + +// Client and File Handling Types + +export interface DuplicateOptions extends ClientOptions { + private?: boolean; + hardware?: (typeof hardware_types)[number]; + timeout?: number; +} + +export interface ClientOptions { + token?: `hf_${string}`; + status_callback?: SpaceStatusCallback | null; + auth?: [string, string] | null; + with_null_state?: boolean; + events?: EventType[]; + headers?: Record | Headers; + query_params?: Record; + session_hash?: string; + cookies?: string; +} + +export interface FileData { + name: string; + orig_name?: string; + size?: number; + data: string; + blob?: File; + is_file?: boolean; + mime_type?: string; + alt_text?: string; +} + +// Event and Listener Types + +export type EventType = "data" | "status" | "log" | "render"; + +export interface EventMap { + data: PayloadMessage; + status: StatusMessage; + log: LogMessage; + render: RenderMessage; +} + +export type GradioEvent = { + [P in EventType]: EventMap[P]; +}[EventType]; + +export interface Log { + log: string; + title: string; + level: "warning" | "info" | "success" | "error"; +} +export interface Render { + data: { + components: any[]; + layout: any; + dependencies: Dependency[]; + render_id: number; + }; +} + +export interface ValidationError { + is_valid: boolean; + message: string; +} + +export interface Status { + queue: boolean; + code?: string; + success?: boolean; + stage: "pending" | "error" | "complete" | "generating" | "streaming"; + duration?: number; + visible?: boolean; + broken?: boolean; + size?: number; + position?: number; + eta?: number; + title?: string; + message?: string | ValidationError[]; + progress_data?: { + progress: number | null; + index: number | null; + length: number | null; + unit: string | null; + desc: string | null; + }[]; + time?: Date; + changed_state_ids?: number[]; + time_limit?: number; + session_not_found?: boolean; +} + +export interface StatusMessage extends Status { + type: "status"; + endpoint: string; + fn_index: number; + original_msg?: string; +} + +export interface PayloadMessage extends Payload { + type: "data"; + endpoint: string; + fn_index: number; +} + +export interface LogMessage extends Log { + type: "log"; + endpoint: string; + fn_index: number; + duration: number | null; + visible: boolean; +} + +export interface RenderMessage extends Render { + type: "render"; + endpoint: string; + fn_index: number; +} diff --git a/node_modules/@gradio/client/src/upload.ts b/node_modules/@gradio/client/src/upload.ts new file mode 100644 index 0000000000000000000000000000000000000000..ecbe277e818890091f67b0a098f650c21f03af7b --- /dev/null +++ b/node_modules/@gradio/client/src/upload.ts @@ -0,0 +1,109 @@ +import type { Client } from "./client"; +import { filesize } from "./utils/filesize"; +export async function upload( + this: Client, + file_data: FileData[], + root_url: string, + upload_id?: string, + max_file_size?: number +): Promise<(FileData | null)[] | null> { + let files = (Array.isArray(file_data) ? file_data : [file_data]).map( + (file_data) => file_data.blob! + ); + + const oversized_files = files.filter( + (f) => f.size > (max_file_size ?? Infinity) + ); + if (oversized_files.length) { + throw new Error( + `File(s) exceed the maximum allowed size of ${filesize(max_file_size || Infinity)}: ${oversized_files + .map((f) => `"${f.name}"`) + .join(", ")}` + ); + } + + return await Promise.all( + await this.upload_files(root_url, files, upload_id).then( + async (response: { files?: string[]; error?: string }) => { + if (response.error) { + throw new Error(response.error); + } else { + if (response.files) { + return response.files.map((f, i) => { + const file = new FileData({ + ...file_data[i], + path: f, + url: `${root_url}${this.api_prefix}/file=${f}` + }); + return file; + }); + } + + return []; + } + } + ) + ); +} + +export async function prepare_files( + files: File[], + is_stream?: boolean +): Promise { + return files.map( + (f) => + new FileData({ + path: f.name, + orig_name: f.name, + blob: f, + size: f.size, + mime_type: f.type, + is_stream + }) + ); +} + +export class FileData { + path: string; + url?: string; + orig_name?: string; + size?: number; + blob?: File; + is_stream?: boolean; + mime_type?: string; + alt_text?: string; + b64?: string; + readonly meta = { _type: "gradio.FileData" }; + + constructor({ + path, + url, + orig_name, + size, + blob, + is_stream, + mime_type, + alt_text, + b64 + }: { + path: string; + url?: string; + orig_name?: string; + size?: number; + blob?: File; + is_stream?: boolean; + mime_type?: string; + alt_text?: string; + b64?: string; + }) { + this.path = path; + this.url = url; + this.orig_name = orig_name; + this.size = size; + this.blob = url ? undefined : blob; + this.is_stream = is_stream; + this.mime_type = mime_type; + this.alt_text = alt_text; + this.b64 = b64; + } +} diff --git a/node_modules/@gradio/client/src/utils/duplicate.ts b/node_modules/@gradio/client/src/utils/duplicate.ts new file mode 100644 index 0000000000000000000000000000000000000000..e9142c3f731d666f481d6efa1c787dd110a50436 --- /dev/null +++ b/node_modules/@gradio/client/src/utils/duplicate.ts @@ -0,0 +1,126 @@ +import { + get_space_hardware, + hardware_types, + set_space_timeout +} from "../helpers/spaces"; +import type { DuplicateOptions } from "../types"; +import { Client } from "../client"; +import { SPACE_METADATA_ERROR_MSG } from "../constants"; +import { + get_cookie_header, + parse_and_set_cookies +} from "../helpers/init_helpers"; +import { process_endpoint } from "../helpers/api_info"; + +export async function duplicate( + app_reference: string, + options: DuplicateOptions +): Promise { + const { token, private: _private, hardware, timeout, auth } = options; + + if (hardware && !hardware_types.includes(hardware)) { + throw new Error( + `Invalid hardware type provided. Valid types are: ${hardware_types + .map((v) => `"${v}"`) + .join(",")}.` + ); + } + + const { http_protocol, host } = await process_endpoint(app_reference, token); + + let cookies: string[] | null = null; + + if (auth) { + const cookie_header = await get_cookie_header( + http_protocol, + host, + auth, + fetch + ); + + if (cookie_header) cookies = parse_and_set_cookies(cookie_header); + } + + const headers = { + Authorization: `Bearer ${token}`, + "Content-Type": "application/json", + ...(cookies ? { Cookie: cookies.join("; ") } : {}) + }; + + const user = ( + await ( + await fetch(`https://huggingface.co/api/whoami-v2`, { + headers + }) + ).json() + ).name; + + const space_name = app_reference.split("/")[1]; + const body: { + repository: string; + private?: boolean; + hardware?: string; + } = { + repository: `${user}/${space_name}` + }; + + if (_private) { + body.private = true; + } + + let original_hardware; + + try { + if (!hardware) { + original_hardware = await get_space_hardware(app_reference, token); + } + } catch (e) { + throw Error(SPACE_METADATA_ERROR_MSG + (e as Error).message); + } + + const requested_hardware = hardware || original_hardware || "cpu-basic"; + + body.hardware = requested_hardware; + + try { + const response = await fetch( + `https://huggingface.co/api/spaces/${app_reference}/duplicate`, + { + method: "POST", + headers, + body: JSON.stringify(body) + } + ); + + if (response.status === 409) { + try { + const client = await Client.connect(`${user}/${space_name}`, options); + return client; + } catch (error) { + console.error("Failed to connect Client instance:", error); + throw error; + } + } else if (response.status !== 200) { + throw new Error(response.statusText); + } + + const duplicated_space = await response.json(); + + await set_space_timeout(`${user}/${space_name}`, timeout || 300, token); + + return await Client.connect( + get_space_reference(duplicated_space.url), + options + ); + } catch (e: any) { + throw new Error(e); + } +} + +function get_space_reference(url: string): any { + const regex = /https:\/\/huggingface.co\/spaces\/([^/]+\/[^/]+)/; + const match = url.match(regex); + if (match) { + return match[1]; + } +} diff --git a/node_modules/@gradio/client/src/utils/filesize.ts b/node_modules/@gradio/client/src/utils/filesize.ts new file mode 100644 index 0000000000000000000000000000000000000000..3e28e69a1bc9d3a5680d4d645d423f6944de867c --- /dev/null +++ b/node_modules/@gradio/client/src/utils/filesize.ts @@ -0,0 +1,41 @@ +type SPEC = { + readonly radix: number; + readonly unit: string[]; +}; + +const si = { + radix: 1e3, + unit: ["b", "kb", "Mb", "Gb", "Tb", "Pb", "Eb", "Zb", "Yb"] +}; +const iec = { + radix: 1024, + unit: ["b", "Kib", "Mib", "Gib", "Tib", "Pib", "Eib", "Zib", "Yib"] +}; +const jedec = { + radix: 1024, + unit: ["b", "Kb", "Mb", "Gb", "Tb", "Pb", "Eb", "Zb", "Yb"] +}; + +export const SPECS: Record = { + si, + iec, + jedec +}; + +/** + * file size from https://github.com/hustcc/filesize.js + * @param bytes - The number of bytes to convert to human-readable format + * @param fixed - Number of decimal places to display (default: 1) + * @param spec - Size specification to use: "si", "iec", or "jedec" (default: "jedec") + * @returns Human-readable file size string + */ +export function filesize(bytes: number, fixed = 1, spec = "jedec"): string { + bytes = Math.abs(bytes); + const { radix, unit } = SPECS[spec] || SPECS.jedec; + let loop = 0; + while (bytes >= radix) { + bytes /= radix; + ++loop; + } + return `${bytes.toFixed(fixed)} ${unit[loop]}`; +} diff --git a/node_modules/@gradio/client/src/utils/handle_blob.ts b/node_modules/@gradio/client/src/utils/handle_blob.ts new file mode 100644 index 0000000000000000000000000000000000000000..815a965d30d7d9b44060a9be98a2192ea96e8646 --- /dev/null +++ b/node_modules/@gradio/client/src/utils/handle_blob.ts @@ -0,0 +1,142 @@ +import { update_object, walk_and_store_blobs } from "../helpers/data"; +import { + Command, + type ApiData, + type EndpointInfo, + type JsApiData +} from "../types"; +import { FileData } from "../upload"; +import type { Client } from ".."; +import { + FILE_PROCESSING_ERROR_MSG, + NODEJS_FS_ERROR_MSG, + ROOT_URL_ERROR_MSG +} from "../constants"; + +export async function handle_blob( + this: Client, + endpoint: string, + data: unknown[], + api_info: EndpointInfo +): Promise { + const self = this; + + await process_local_file_commands(self, data); + + const blobRefs = await walk_and_store_blobs( + data, + undefined, + [], + true, + api_info + ); + + const results = await Promise.all( + blobRefs.map(async ({ path, blob, type }) => { + if (!blob) return { path, type }; + + const response = await self.upload_files(endpoint, [blob]); + const file_url = response.files && response.files[0]; + return { + path, + file_url, + type, + name: + typeof File !== "undefined" && blob instanceof File + ? blob?.name + : undefined + }; + }) + ); + + results.forEach(({ path, file_url, type, name }) => { + if (type === "Gallery") { + update_object(data, file_url, path); + } else if (file_url) { + const file = new FileData({ path: file_url, orig_name: name }); + update_object(data, file, path); + } + }); + + return data; +} + +export async function process_local_file_commands( + client: Client, + data: unknown[] +): Promise { + const root = client.config?.root || client.config?.root_url; + + if (!root) { + throw new Error(ROOT_URL_ERROR_MSG); + } + + await recursively_process_commands(client, data); +} + +async function recursively_process_commands( + client: Client, + data: any, + path: string[] = [] +): Promise { + for (const key in data) { + if (data[key] instanceof Command) { + await process_single_command(client, data, key); + } else if (typeof data[key] === "object" && data[key] !== null) { + await recursively_process_commands(client, data[key], [...path, key]); + } + } +} + +async function process_single_command( + client: Client, + data: any, + key: string +): Promise { + let cmd_item = data[key] as Command; + const root = client.config?.root || client.config?.root_url; + + if (!root) { + throw new Error(ROOT_URL_ERROR_MSG); + } + + try { + let fileBuffer: Buffer; + let fullPath: string; + + // check if running in a Node.js environment + if ( + typeof process !== "undefined" && + process.versions && + process.versions.node + ) { + const fs = await import("fs/promises"); + const path = await import("path"); + + fullPath = path.resolve(process.cwd(), cmd_item.meta.path); + fileBuffer = await fs.readFile(fullPath); // Read file from disk + } else { + throw new Error(NODEJS_FS_ERROR_MSG); + } + + const file = new Blob([fileBuffer as any], { + type: "application/octet-stream" + }); + + const response = await client.upload_files(root, [file]); + + const file_url = response.files && response.files[0]; + + if (file_url) { + const fileData = new FileData({ + path: file_url, + orig_name: cmd_item.meta.name || "" + }); + + // replace the command object with the fileData object + data[key] = fileData; + } + } catch (error) { + console.error(FILE_PROCESSING_ERROR_MSG, error); + } +} diff --git a/node_modules/@gradio/client/src/utils/post_data.ts b/node_modules/@gradio/client/src/utils/post_data.ts new file mode 100644 index 0000000000000000000000000000000000000000..41be6d2778b28471a75a9b3e3b7a621df3d19757 --- /dev/null +++ b/node_modules/@gradio/client/src/utils/post_data.ts @@ -0,0 +1,38 @@ +import { BROKEN_CONNECTION_MSG } from "../constants"; +import type { PostResponse } from "../types"; +import { Client } from ".."; + +export async function post_data( + this: Client, + url: string, + body: unknown, + additional_headers?: any +): Promise<[PostResponse, number]> { + const headers: { + Authorization?: string; + "Content-Type": "application/json"; + } = { "Content-Type": "application/json" }; + if (this.options.token) { + headers.Authorization = `Bearer ${this.options.token}`; + } + try { + var response = await this.fetch(url, { + method: "POST", + body: JSON.stringify(body), + headers: { ...headers, ...additional_headers }, + credentials: "include" + }); + } catch (e) { + return [{ error: BROKEN_CONNECTION_MSG }, 500]; + } + let output: PostResponse; + let status: number; + try { + output = await response.json(); + status = response.status; + } catch (e) { + output = { error: `Could not parse server response: ${e}` }; + status = 500; + } + return [output, status]; +} diff --git a/node_modules/@gradio/client/src/utils/predict.ts b/node_modules/@gradio/client/src/utils/predict.ts new file mode 100644 index 0000000000000000000000000000000000000000..69013692be0300904374c7130566c16adb74150c --- /dev/null +++ b/node_modules/@gradio/client/src/utils/predict.ts @@ -0,0 +1,51 @@ +import { Client } from "../client"; +import type { Dependency, PredictReturn } from "../types"; + +export async function predict( + this: Client, + endpoint: string | number, + data: unknown[] | Record = {} +): Promise> { + let data_returned = false; + let status_complete = false; + let dependency: Dependency; + + if (!this.config) { + throw new Error("Could not resolve app config"); + } + + if (typeof endpoint === "number") { + dependency = this.config.dependencies.find((dep) => dep.id == endpoint)!; + } else { + const trimmed_endpoint = endpoint.replace(/^\//, ""); + dependency = this.config.dependencies.find( + (dep) => dep.id == this.api_map[trimmed_endpoint] + )!; + } + + return new Promise(async (resolve, reject) => { + const app = this.submit(endpoint, data, null, null, true); + let result: unknown; + + for await (const message of app) { + if (message.type === "data") { + if (status_complete) { + resolve(result as PredictReturn); + } + data_returned = true; + result = message; + } + + if (message.type === "status") { + if (message.stage === "error") reject(message); + if (message.stage === "complete") { + status_complete = true; + // if complete message comes after data, resolve here + if (data_returned) { + resolve(result as PredictReturn); + } + } + } + } + }); +} diff --git a/node_modules/@gradio/client/src/utils/stream.ts b/node_modules/@gradio/client/src/utils/stream.ts new file mode 100644 index 0000000000000000000000000000000000000000..d5f24466c729c0d45c38d41472785e64d9ffa720 --- /dev/null +++ b/node_modules/@gradio/client/src/utils/stream.ts @@ -0,0 +1,229 @@ +import { BROKEN_CONNECTION_MSG, SSE_URL } from "../constants"; +import type { Client } from "../client"; +import { stream } from "fetch-event-stream"; + +export async function open_stream(this: Client): Promise { + let { + event_callbacks, + unclosed_events, + pending_stream_messages, + stream_status, + config, + jwt + } = this; + + const that = this; + + if (!config) { + throw new Error("Could not resolve app config"); + } + + stream_status.open = true; + + let stream: EventSource | null = null; + let params = new URLSearchParams({ + session_hash: this.session_hash + }).toString(); + + let url = new URL(`${config.root}${this.api_prefix}/${SSE_URL}?${params}`); + + if (jwt) { + url.searchParams.set("__sign", jwt); + } + + stream = this.stream(url); + + if (!stream) { + console.warn("Cannot connect to SSE endpoint: " + url.toString()); + return; + } + + stream.onmessage = async function (event: MessageEvent) { + let _data = JSON.parse(event.data); + if (_data.msg === "close_stream") { + close_stream(stream_status, that.abort_controller); + return; + } + const event_id = _data.event_id; + if (!event_id) { + await Promise.all( + Object.keys(event_callbacks).map((event_id) => + event_callbacks[event_id](_data) + ) + ); + } else if (event_callbacks[event_id] && config) { + if ( + _data.msg === "process_completed" && + ["sse", "sse_v1", "sse_v2", "sse_v2.1", "sse_v3"].includes( + config.protocol + ) + ) { + unclosed_events.delete(event_id); + } + let fn: (data: any) => void = event_callbacks[event_id]; + + if (typeof window !== "undefined" && typeof document !== "undefined") { + // fn(_data); // need to do this to put the event on the end of the event loop, so the browser can refresh between callbacks and not freeze in case of quick generations. See + setTimeout(fn, 0, _data); // need to do this to put the event on the end of the event loop, so the browser can refresh between callbacks and not freeze in case of quick generations. See https://github.com/gradio-app/gradio/pull/7055 + } else { + fn(_data); + } + } else { + if (!pending_stream_messages[event_id]) { + pending_stream_messages[event_id] = []; + } + pending_stream_messages[event_id].push(_data); + } + }; + stream.onerror = async function (e) { + console.error(e); + await Promise.all( + Object.keys(event_callbacks).map((event_id) => + event_callbacks[event_id]({ + msg: "broken_connection", + message: BROKEN_CONNECTION_MSG + }) + ) + ); + }; +} + +export function close_stream( + stream_status: { open: boolean }, + abort_controller: AbortController | null +): void { + if (stream_status) { + stream_status.open = false; + abort_controller?.abort(); + } +} + +export function apply_diff_stream( + pending_diff_streams: Record, + event_id: string, + data: any +): void { + let is_first_generation = !pending_diff_streams[event_id]; + if (is_first_generation) { + pending_diff_streams[event_id] = []; + data.data.forEach((value: any, i: number) => { + pending_diff_streams[event_id][i] = value; + }); + } else { + data.data.forEach((value: any, i: number) => { + let new_data = apply_diff(pending_diff_streams[event_id][i], value); + pending_diff_streams[event_id][i] = new_data; + data.data[i] = new_data; + }); + } +} + +export function apply_diff( + obj: any, + diff: [string, (number | string)[], any][] +): any { + diff.forEach(([action, path, value]) => { + obj = apply_edit(obj, path, action, value); + }); + + return obj; +} + +function apply_edit( + target: any, + path: (number | string)[], + action: string, + value: any +): any { + if (path.length === 0) { + if (action === "replace") { + return value; + } else if (action === "append") { + return target + value; + } + throw new Error(`Unsupported action: ${action}`); + } + + let current = target; + for (let i = 0; i < path.length - 1; i++) { + current = current[path[i]]; + } + + const last_path = path[path.length - 1]; + switch (action) { + case "replace": + current[last_path] = value; + break; + case "append": + current[last_path] += value; + break; + case "add": + if (Array.isArray(current)) { + current.splice(Number(last_path), 0, value); + } else { + current[last_path] = value; + } + break; + case "delete": + if (Array.isArray(current)) { + current.splice(Number(last_path), 1); + } else { + delete current[last_path]; + } + break; + default: + throw new Error(`Unknown action: ${action}`); + } + return target; +} + +export function readable_stream( + input: RequestInfo | URL, + init: RequestInit = {} +): EventSource { + const instance: EventSource & { readyState: number } = { + close: () => { + console.warn("Method not implemented."); + }, + onerror: null, + onmessage: null, + onopen: null, + readyState: 0, + url: input.toString(), + withCredentials: false, + CONNECTING: 0, + OPEN: 1, + CLOSED: 2, + addEventListener: () => { + throw new Error("Method not implemented."); + }, + dispatchEvent: () => { + throw new Error("Method not implemented."); + }, + removeEventListener: () => { + throw new Error("Method not implemented."); + } + }; + + stream(input, init) + .then(async (res) => { + instance.readyState = instance.OPEN; + try { + for await (const chunk of res) { + //@ts-ignore + instance.onmessage && instance.onmessage(chunk); + } + instance.readyState = instance.CLOSED; + } catch (e) { + instance.onerror && instance.onerror(e as Event); + instance.readyState = instance.CLOSED; + } + }) + .catch((e) => { + console.error(e); + instance.onerror && instance.onerror(e as Event); + instance.readyState = instance.CLOSED; + }); + + return instance as EventSource; +} diff --git a/node_modules/@gradio/client/src/utils/submit.ts b/node_modules/@gradio/client/src/utils/submit.ts new file mode 100644 index 0000000000000000000000000000000000000000..7a95947c48b45808f84df394ea10691622c02807 --- /dev/null +++ b/node_modules/@gradio/client/src/utils/submit.ts @@ -0,0 +1,749 @@ +/* eslint-disable complexity */ +import type { + Status, + Payload, + GradioEvent, + JsApiData, + EndpointInfo, + ApiInfo, + Config, + Dependency, + SubmitIterable +} from "../types"; + +import { skip_queue, post_message, handle_payload } from "../helpers/data"; +import { + handle_message, + map_data_to_params, + process_endpoint +} from "../helpers/api_info"; +import { + BROKEN_CONNECTION_MSG, + QUEUE_FULL_MSG, + SSE_URL, + SSE_DATA_URL, + RESET_URL, + CANCEL_URL +} from "../constants"; +import { apply_diff_stream, close_stream } from "./stream"; +import { Client } from "../client"; + +export function submit( + this: Client, + endpoint: string | number, + data: unknown[] | Record = {}, + event_data?: unknown, + trigger_id?: number | null, + all_events?: boolean, + additional_headers?: Record +): SubmitIterable { + try { + const { token } = this.options; + const { + fetch, + app_reference, + config, + session_hash, + api_info, + api_map, + stream_status, + pending_stream_messages, + pending_diff_streams, + event_callbacks, + unclosed_events, + post_data, + options, + api_prefix + } = this; + + const addt_headers = additional_headers || { "x-gradio-user": "api" }; + + const that = this; + + if (!api_info) throw new Error("No API found"); + if (!config) throw new Error("Could not resolve app config"); + + let { fn_index, endpoint_info, dependency } = get_endpoint_info( + api_info, + endpoint, + api_map, + config + ); + + let resolved_data = map_data_to_params(data, endpoint_info); + + let stream: EventSource | null; + let protocol = config.protocol ?? "ws"; + if (protocol === "ws") { + throw new Error("WebSocket protocol is not supported in this version"); + } + let event_id_final = ""; + let event_id_cb: () => string = () => event_id_final; + + const _endpoint = typeof endpoint === "number" ? "/predict" : endpoint; + let payload: Payload; + let event_id: string | null = null; + let complete: Status | undefined | false = false; + let last_status: Record = {}; + let url_params = + typeof window !== "undefined" && typeof document !== "undefined" + ? new URLSearchParams(window.location.search).toString() + : ""; + + const events_to_publish = + options?.events?.reduce( + (acc, event) => { + acc[event] = true; + return acc; + }, + {} as Record + ) || {}; + + // event subscription methods + function fire_event(event: GradioEvent): void { + if (all_events || events_to_publish[event.type]) { + push_event(event); + } + } + + async function cancel(): Promise { + let reset_request = {}; + let cancel_request = {}; + reset_request = { event_id }; + cancel_request = { event_id, session_hash, fn_index }; + + try { + if (!config) { + throw new Error("Could not resolve app config"); + } + + if ("event_id" in cancel_request) { + await fetch(`${config.root}${api_prefix}/${CANCEL_URL}`, { + headers: { "Content-Type": "application/json" }, + method: "POST", + body: JSON.stringify(cancel_request) + }); + } + + await fetch(`${config.root}${api_prefix}/${RESET_URL}`, { + headers: { "Content-Type": "application/json" }, + method: "POST", + body: JSON.stringify(reset_request) + }); + } catch (e) { + console.warn( + "The `/reset` endpoint could not be called. Subsequent endpoint results may be unreliable." + ); + } + } + + const resolve_heartbeat = async (config: Config): Promise => { + await this._resolve_heartbeat(config); + }; + + async function handle_render_config(render_config: any): Promise { + if (!config) return; + let render_id: number = render_config.render_id; + config.components = [ + ...config.components.filter((c) => c.props.rendered_in !== render_id), + ...render_config.components + ]; + config.dependencies = [ + ...config.dependencies.filter((d) => d.rendered_in !== render_id), + ...render_config.dependencies + ]; + const any_state = config.components.some((c) => c.type === "state"); + const any_unload = config.dependencies.some((d) => + d.targets.some((t) => t[1] === "unload") + ); + config.connect_heartbeat = any_state || any_unload; + await resolve_heartbeat(config); + fire_event({ + type: "render", + data: render_config, + endpoint: _endpoint, + fn_index + }); + } + + const job = this.handle_blob( + config.root, + resolved_data, + endpoint_info + ).then(async (_payload) => { + let input_data = handle_payload( + _payload, + dependency, + config.components, + "input", + true + ); + payload = { + data: input_data || [], + event_data, + fn_index, + trigger_id + }; + if (skip_queue(fn_index, config)) { + fire_event({ + type: "status", + endpoint: _endpoint, + stage: "pending", + queue: false, + fn_index, + time: new Date() + }); + + post_data( + `${config.root}${api_prefix}/run${ + _endpoint.startsWith("/") ? _endpoint : `/${_endpoint}` + }${url_params ? "?" + url_params : ""}`, + { + ...payload, + session_hash + }, + addt_headers + ) + .then(async ([output, status_code]: any) => { + const data = output.data; + + if (status_code == 200) { + fire_event({ + type: "data", + endpoint: _endpoint, + fn_index, + data: handle_payload( + data, + dependency, + config.components, + "output", + options.with_null_state + ), + time: new Date(), + event_data, + trigger_id + }); + if (output.render_config) { + await handle_render_config(output.render_config); + } + + fire_event({ + type: "status", + endpoint: _endpoint, + fn_index, + stage: "complete", + eta: output.average_duration, + queue: false, + time: new Date() + }); + } else { + fire_event({ + type: "status", + stage: "error", + endpoint: _endpoint, + fn_index, + message: output.error, + queue: false, + time: new Date() + }); + } + }) + .catch((e) => { + fire_event({ + type: "status", + stage: "error", + message: e.message, + endpoint: _endpoint, + fn_index, + queue: false, + time: new Date() + }); + }); + } else if (protocol == "sse") { + fire_event({ + type: "status", + stage: "pending", + queue: true, + endpoint: _endpoint, + fn_index, + time: new Date() + }); + var params = new URLSearchParams({ + fn_index: fn_index.toString(), + session_hash: session_hash + }).toString(); + let url = new URL( + `${config.root}${api_prefix}/${SSE_URL}?${ + url_params ? url_params + "&" : "" + }${params}` + ); + + if (this.jwt) { + url.searchParams.set("__sign", this.jwt); + } + + stream = this.stream(url); + + if (!stream) { + return Promise.reject( + new Error("Cannot connect to SSE endpoint: " + url.toString()) + ); + } + + stream.onmessage = async function (event: MessageEvent) { + const _data = JSON.parse(event.data); + const { type, status, data } = handle_message( + _data, + last_status[fn_index] + ); + + if (type === "update" && status && !complete) { + // call 'status' listeners + fire_event({ + type: "status", + endpoint: _endpoint, + fn_index, + time: new Date(), + ...status + }); + if (status.stage === "error") { + stream?.close(); + close(); + } + } else if (type === "data") { + let [_, status] = await post_data( + `${config.root}${api_prefix}/queue/data`, + { + ...payload, + session_hash, + event_id + } + ); + if (status !== 200) { + fire_event({ + type: "status", + stage: "error", + message: BROKEN_CONNECTION_MSG, + queue: true, + endpoint: _endpoint, + fn_index, + time: new Date() + }); + stream?.close(); + close(); + } + } else if (type === "complete") { + complete = status; + } else if (type === "log") { + fire_event({ + type: "log", + title: data.title, + log: data.log, + level: data.level, + endpoint: _endpoint, + duration: data.duration, + visible: data.visible, + fn_index + }); + } else if (type === "generating" || type === "streaming") { + fire_event({ + type: "status", + time: new Date(), + ...status, + stage: status?.stage!, + queue: true, + endpoint: _endpoint, + fn_index + }); + } + if (data) { + fire_event({ + type: "data", + time: new Date(), + data: handle_payload( + data.data, + dependency, + config.components, + "output", + options.with_null_state + ), + endpoint: _endpoint, + fn_index, + event_data, + trigger_id + }); + + if (complete) { + fire_event({ + type: "status", + time: new Date(), + ...complete, + stage: status?.stage!, + queue: true, + endpoint: _endpoint, + fn_index + }); + stream?.close(); + close(); + } + } + }; + } else if ( + protocol == "sse_v1" || + protocol == "sse_v2" || + protocol == "sse_v2.1" || + protocol == "sse_v3" + ) { + // latest API format. v2 introduces sending diffs for intermediate outputs in generative functions, which makes payloads lighter. + // v3 only closes the stream when the backend sends the close stream message. + fire_event({ + type: "status", + stage: "pending", + queue: true, + endpoint: _endpoint, + fn_index, + time: new Date() + }); + let hostname = ""; + if (typeof window !== "undefined" && typeof document !== "undefined") { + hostname = window?.location?.hostname; + } + + let hfhubdev = "dev.spaces.huggingface.tech"; + const origin = hostname.includes(".dev.") + ? `https://moon-${hostname.split(".")[1]}.${hfhubdev}` + : `https://huggingface.co`; + + const is_zerogpu_iframe = + typeof window !== "undefined" && + typeof document !== "undefined" && + window.parent != window && + window.supports_zerogpu_headers; + const zerogpu_auth_promise = is_zerogpu_iframe + ? post_message>("zerogpu-headers", origin) + : Promise.resolve(null); + const post_data_promise = zerogpu_auth_promise.then((headers) => { + const combined_headers = { ...addt_headers, ...(headers || {}) }; + return post_data( + `${config.root}${api_prefix}/${SSE_DATA_URL}?${url_params}`, + { + ...payload, + session_hash + }, + combined_headers + ); + }); + + return post_data_promise.then(async ([response, status]: any) => { + if (response.event_id) { + event_id_final = response.event_id as string; + } + + if (status === 503) { + fire_event({ + type: "status", + stage: "error", + message: QUEUE_FULL_MSG, + queue: true, + endpoint: _endpoint, + fn_index, + time: new Date(), + visible: true + }); + } else if (status === 422) { + fire_event({ + type: "status", + stage: "error", + message: response.detail, + queue: true, + endpoint: _endpoint, + fn_index, + code: "validation_error", + time: new Date(), + visible: true + }); + close(); + } else if (status !== 200) { + fire_event({ + type: "status", + stage: "error", + broken: false, + message: response.detail, + queue: true, + endpoint: _endpoint, + fn_index, + time: new Date(), + visible: true + }); + } else { + event_id = response.event_id as string; + event_id_final = event_id; + let callback = async function (_data: object): Promise { + try { + const { type, status, data, original_msg } = handle_message( + _data, + last_status[fn_index] + ); + + if (type == "heartbeat") { + return; + } + + if (type === "update" && status && !complete) { + // call 'status' listeners + fire_event({ + type: "status", + endpoint: _endpoint, + fn_index, + time: new Date(), + original_msg: original_msg, + ...status + }); + } else if (type === "complete") { + complete = status; + } else if ( + type == "unexpected_error" || + type == "broken_connection" + ) { + console.error("Unexpected error", status?.message); + const broken = type === "broken_connection"; + fire_event({ + type: "status", + stage: "error", + message: status?.message || "An Unexpected Error Occurred!", + queue: true, + endpoint: _endpoint, + broken, + session_not_found: status?.session_not_found, + fn_index, + time: new Date() + }); + } else if (type === "log") { + fire_event({ + type: "log", + title: data.title, + log: data.log, + level: data.level, + endpoint: _endpoint, + duration: data.duration, + visible: data.visible, + fn_index + }); + return; + } else if (type === "generating" || type === "streaming") { + fire_event({ + type: "status", + time: new Date(), + ...status, + stage: status?.stage!, + queue: true, + endpoint: _endpoint, + fn_index + }); + if ( + data && + dependency.connection !== "stream" && + ["sse_v2", "sse_v2.1", "sse_v3"].includes(protocol) + ) { + apply_diff_stream(pending_diff_streams, event_id!, data); + } + } + if (data) { + fire_event({ + type: "data", + time: new Date(), + data: handle_payload( + data.data, + dependency, + config.components, + "output", + options.with_null_state + ), + endpoint: _endpoint, + fn_index + }); + if (data.render_config) { + await handle_render_config(data.render_config); + } + + if (complete) { + fire_event({ + type: "status", + time: new Date(), + ...complete, + stage: status?.stage!, + queue: true, + endpoint: _endpoint, + fn_index + }); + close(); + } + } + + if (status?.stage === "complete" || status?.stage === "error") { + if (event_callbacks[event_id!]) { + delete event_callbacks[event_id!]; + } + if (event_id! in pending_diff_streams) { + delete pending_diff_streams[event_id!]; + } + } + } catch (e) { + console.error("Unexpected client exception", e); + fire_event({ + type: "status", + stage: "error", + message: "An Unexpected Error Occurred!", + queue: true, + endpoint: _endpoint, + fn_index, + time: new Date() + }); + if (["sse_v2", "sse_v2.1", "sse_v3"].includes(protocol)) { + close_stream(stream_status, that.abort_controller); + stream_status.open = false; + close(); + } + } + }; + + if (event_id in pending_stream_messages) { + pending_stream_messages[event_id].forEach((msg) => callback(msg)); + delete pending_stream_messages[event_id]; + } + // @ts-ignore + event_callbacks[event_id] = callback; + unclosed_events.add(event_id); + if (!stream_status.open) { + await this.open_stream(); + } + } + }); + } + }); + + let done = false; + const values: (IteratorResult | PromiseLike)[] = []; + const resolvers: (( + value: IteratorResult | PromiseLike + ) => void)[] = []; + + function close(): void { + done = true; + while (resolvers.length > 0) + (resolvers.shift() as (typeof resolvers)[0])({ + value: undefined, + done: true + }); + } + + function push( + data: { value: GradioEvent; done: boolean } | PromiseLike + ): void { + if (resolvers.length > 0) { + (resolvers.shift() as (typeof resolvers)[0])(data); + } else { + values.push(data); + } + } + + function push_error(error: unknown): void { + push(thenable_reject(error)); + close(); + } + + function push_event(event: GradioEvent): void { + push({ value: event, done: false }); + } + + function next(): Promise> { + if (values.length > 0) { + return Promise.resolve(values.shift() as (typeof values)[0]); + } + return new Promise((resolve) => resolvers.push(resolve)); + } + + const iterator: SubmitIterable = { + [Symbol.asyncIterator]: () => iterator, + next, + throw: async (value: unknown) => { + push_error(value); + return next(); + }, + return: async () => { + close(); + return { value: undefined, done: true as const }; + }, + cancel, + send_chunk: (payload: Record) => { + this.post_data(`${config.root}${api_prefix}/stream/${event_id_final}`, { + ...payload, + session_hash: this.session_hash + }); + }, + close_stream: () => { + this.post_data( + `${config.root}${api_prefix}/stream/${event_id_final}/close`, + {} + ); + + close(); + }, + event_id: () => event_id_final, + wait_for_id: async () => { + await job; + return event_id; + } + }; + + return iterator; + } catch (error) { + console.error("Submit function encountered an error:", error); + throw error; + } +} + +function thenable_reject(error: T): PromiseLike { + return { + then: ( + resolve: (value: never) => PromiseLike, + reject: (error: T) => PromiseLike + ) => reject(error) + }; +} + +function get_endpoint_info( + api_info: ApiInfo, + endpoint: string | number, + api_map: Record, + config: Config +): { + fn_index: number; + endpoint_info: EndpointInfo; + dependency: Dependency; +} { + let fn_index: number; + let endpoint_info: EndpointInfo; + let dependency: Dependency; + + if (typeof endpoint === "number") { + fn_index = endpoint; + endpoint_info = api_info.unnamed_endpoints[fn_index]; + dependency = config.dependencies.find((dep) => dep.id == endpoint)!; + } else { + const trimmed_endpoint = endpoint.replace(/^\//, ""); + + fn_index = api_map[trimmed_endpoint]; + endpoint_info = api_info.named_endpoints[endpoint.trim()]; + dependency = config.dependencies.find( + (dep) => dep.id == api_map[trimmed_endpoint] + )!; + } + + if (typeof fn_index !== "number") { + throw new Error( + "There is no endpoint matching that name of fn_index matching that number." + ); + } + return { fn_index, endpoint_info, dependency }; +} diff --git a/node_modules/@gradio/client/src/utils/upload_files.ts b/node_modules/@gradio/client/src/utils/upload_files.ts new file mode 100644 index 0000000000000000000000000000000000000000..061f48d733c11a5a6c02f1a70abc55340bb9f716 --- /dev/null +++ b/node_modules/@gradio/client/src/utils/upload_files.ts @@ -0,0 +1,52 @@ +import type { Client } from ".."; +import { BROKEN_CONNECTION_MSG, UPLOAD_URL } from "../constants"; +import type { UploadResponse } from "../types"; + +export async function upload_files( + this: Client, + root_url: string, + files: (Blob | File)[], + upload_id?: string +): Promise { + const headers: { + Authorization?: string; + } = {}; + if (this?.options?.token) { + headers.Authorization = `Bearer ${this.options.token}`; + } + + const chunkSize = 1000; + const uploadResponses = []; + let response: Response; + + for (let i = 0; i < files.length; i += chunkSize) { + const chunk = files.slice(i, i + chunkSize); + const formData = new FormData(); + chunk.forEach((file) => { + formData.append("files", file); + }); + try { + const upload_url = upload_id + ? `${root_url}${this.api_prefix}/${UPLOAD_URL}?upload_id=${upload_id}` + : `${root_url}${this.api_prefix}/${UPLOAD_URL}`; + + response = await this.fetch(upload_url, { + method: "POST", + body: formData, + headers, + credentials: "include" + }); + } catch (e) { + throw new Error(BROKEN_CONNECTION_MSG + (e as Error).message); + } + if (!response.ok) { + const error_text = await response.text(); + return { error: `HTTP ${response.status}: ${error_text}` }; + } + const output: UploadResponse["files"] = await response.json(); + if (output) { + uploadResponses.push(...output); + } + } + return { files: uploadResponses }; +} diff --git a/node_modules/@gradio/client/src/utils/view_api.ts b/node_modules/@gradio/client/src/utils/view_api.ts new file mode 100644 index 0000000000000000000000000000000000000000..0240180c8e5f282e4f76b1023da64f055797643a --- /dev/null +++ b/node_modules/@gradio/client/src/utils/view_api.ts @@ -0,0 +1,57 @@ +import type { ApiInfo, ApiData } from "../types"; +import { API_INFO_URL, BROKEN_CONNECTION_MSG } from "../constants"; +import { Client } from "../client"; +import { SPACE_FETCHER_URL } from "../constants"; +import { join_urls, transform_api_info } from "../helpers/api_info"; + +export async function view_api(this: Client): Promise { + if (this.api_info) return this.api_info; + + const { token } = this.options; + const { config } = this; + + const headers: { + Authorization?: string; + "Content-Type": "application/json"; + } = { "Content-Type": "application/json" }; + + if (token) { + headers.Authorization = `Bearer ${token}`; + } + + if (!config) { + return; + } + + try { + let response: Response; + let api_info: ApiInfo | { api: ApiInfo }; + if (typeof window !== "undefined" && window.gradio_api_info) { + api_info = window.gradio_api_info; + } else { + const url = join_urls(config.root, this.api_prefix, API_INFO_URL); + response = await this.fetch(url, { + headers, + credentials: "include" + }); + if (!response.ok) { + throw new Error(BROKEN_CONNECTION_MSG); + } + api_info = await response.json(); + } + if ("api" in api_info) { + api_info = api_info.api; + } + + if ( + api_info.named_endpoints["/predict"] && + !api_info.unnamed_endpoints["0"] + ) { + api_info.unnamed_endpoints[0] = api_info.named_endpoints["/predict"]; + } + + return transform_api_info(api_info, config, this.api_map); + } catch (e) { + throw new Error("Could not get API info. " + (e as Error).message); + } +} diff --git a/node_modules/@gradio/client/src/vite-env.d.ts b/node_modules/@gradio/client/src/vite-env.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..d39b3129f6d0611e8ef2497a80590f9b133a5b9d --- /dev/null +++ b/node_modules/@gradio/client/src/vite-env.d.ts @@ -0,0 +1,3 @@ +/// + +declare const BROWSER_BUILD: boolean; diff --git a/node_modules/@gradio/client/tsconfig.json b/node_modules/@gradio/client/tsconfig.json new file mode 100644 index 0000000000000000000000000000000000000000..922e0fe746f6c1f34927a434f8c0214466f82d9c --- /dev/null +++ b/node_modules/@gradio/client/tsconfig.json @@ -0,0 +1,28 @@ +{ + "include": ["src/**/*"], + "exclude": ["src/**/*.test.ts", "src/**/*.node-test.ts", "src/test/**/*"], + "compilerOptions": { + "allowJs": true, + "declaration": true, + "emitDeclarationOnly": true, + "outDir": "dist", + "declarationMap": true, + "module": "ESNext", + "target": "ES2020", + "useDefineForClassFields": true, + "lib": ["ES2020", "DOM", "DOM.Iterable"], + "skipLibCheck": true, + "types": ["node"], + + /* Bundler */ + "moduleResolution": "Bundler", + "skipDefaultLibCheck": true, + "allowImportingTsExtensions": true, + "esModuleInterop": true, + "resolveJsonModule": true, + "isolatedModules": true, + + /* Linting */ + "strict": true + } +} diff --git a/node_modules/@gradio/client/vite.config.js b/node_modules/@gradio/client/vite.config.js new file mode 100644 index 0000000000000000000000000000000000000000..ef5a9d944b1971255540bea5b97a4036e59b85cf --- /dev/null +++ b/node_modules/@gradio/client/vite.config.js @@ -0,0 +1,52 @@ +import { defineConfig } from "vite"; +import { svelte } from "@sveltejs/vite-plugin-svelte"; + +const TEST_MODE = process.env.TEST_MODE || "happy-dom"; + +export default defineConfig(({ mode }) => { + const production = mode === "production"; + const isBrowserBuild = process.env.BROWSER_BUILD === "true"; + + if (mode === "preview") { + return { + entry: "index.html" + }; + } + + return { + build: { + emptyOutDir: false, + lib: { + entry: "src/index.ts", + formats: ["es"], + fileName: isBrowserBuild ? `browser` : `index` + }, + rollupOptions: { + input: "src/index.ts", + output: { + dir: "dist" + } + } + }, + plugins: [svelte()], + define: { + BROWSER_BUILD: JSON.stringify(isBrowserBuild) + }, + mode: process.env.MODE || "development", + test: { + include: ["./src/test/*.test.*"], + environment: TEST_MODE + }, + ssr: { + target: "node", + format: "esm", + noExternal: [ + "ws", + "semiver", + "bufferutil", + "@gradio/upload", + "fetch-event-stream" + ] + } + }; +}); diff --git a/node_modules/@huggingface/hub/LICENSE b/node_modules/@huggingface/hub/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..a3ce68eb3a1d6900bebd200d107c47769642a3c1 --- /dev/null +++ b/node_modules/@huggingface/hub/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2023 Hugging Face + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/@huggingface/hub/README.md b/node_modules/@huggingface/hub/README.md new file mode 100644 index 0000000000000000000000000000000000000000..ddfee3e33820f1fd80e2e5ef23938ea62b5f330b --- /dev/null +++ b/node_modules/@huggingface/hub/README.md @@ -0,0 +1,228 @@ +# 🤗 Hugging Face Hub API + +Official utilities to use the Hugging Face Hub API. + +## Install + +```console +pnpm add @huggingface/hub + +npm add @huggingface/hub + +yarn add @huggingface/hub +``` + +### Deno + +```ts +// esm.sh +import { uploadFiles, listModels } from "https://esm.sh/@huggingface/hub" +// or npm: +import { uploadFiles, listModels } from "npm:@huggingface/hub" +``` + +Check out the [full documentation](https://huggingface.co/docs/huggingface.js/hub/README). + +## Usage + +For some of the calls, you need to create an account and generate an [access token](https://huggingface.co/settings/tokens). + +Learn how to find free models using the hub package in this [interactive tutorial](https://scrimba.com/scrim/c7BbVPcd?pl=pkVnrP7uP). + +```ts +import * as hub from "@huggingface/hub"; +import type { RepoDesignation } from "@huggingface/hub"; + +const repo: RepoDesignation = { type: "model", name: "myname/some-model" }; + +const {name: username} = await hub.whoAmI({accessToken: "hf_..."}); + +for await (const model of hub.listModels({search: {owner: username}, accessToken: "hf_..."})) { + console.log("My model:", model); +} + +const specificModel = await hub.modelInfo({name: "openai-community/gpt2"}); +await hub.checkRepoAccess({repo, accessToken: "hf_..."}); + +await hub.createRepo({ repo, accessToken: "hf_...", license: "mit" }); + +await hub.uploadFiles({ + repo, + accessToken: "hf_...", + files: [ + // path + blob content + { + path: "file.txt", + content: new Blob(["Hello World"]), + }, + // Local file URL + pathToFileURL("./pytorch-model.bin"), + // Local folder URL + pathToFileURL("./models"), + // Web URL + new URL("https://huggingface.co/xlm-roberta-base/resolve/main/tokenizer.json"), + // Path + Web URL + { + path: "myfile.bin", + content: new URL("https://huggingface.co/bert-base-uncased/resolve/main/pytorch_model.bin") + } + // Can also work with native File in browsers + ], +}); + +// or + +for await (const progressEvent of await hub.uploadFilesWithProgress({ + repo, + accessToken: "hf_...", + files: [ + ... + ], +})) { + console.log(progressEvent); +} + +// Edit a file by adding prefix & suffix +await commit({ + repo, + accessToken: "hf_...", + operations: [{ + type: "edit", + originalContent: originalFile, + edits: [{ + start: 0, + end: 0, + content: new Blob(["prefix"]) + }, { + start: originalFile.length, + end: originalFile.length, + content: new Blob(["suffix"]) + }] + }] +}) + +await hub.deleteFile({repo, accessToken: "hf_...", path: "myfile.bin"}); + +await (await hub.downloadFile({ repo, path: "README.md" })).text(); + +for await (const fileInfo of hub.listFiles({repo})) { + console.log(fileInfo); +} + +await hub.deleteRepo({ repo, accessToken: "hf_..." }); +``` + +## CLI usage + +You can use `@huggingface/hub` in CLI mode to upload files and folders to your repo. + +```console +npx @huggingface/hub upload coyotte508/test-model . +npx @huggingface/hub upload datasets/coyotte508/test-dataset . +# Same thing +npx @huggingface/hub upload --repo-type dataset coyotte508/test-dataset . +# Upload new data with 0 history in a separate branch +npx @huggingface/hub branch create coyotte508/test-model release --empty +npx @huggingface/hub upload coyotte508/test-model . --revision release + +npx @huggingface/hub --help +npx @huggingface/hub upload --help +``` + +You can also install globally with `npm install -g @huggingface/hub`. Then you can do: + +```console +hfjs upload coyotte508/test-model . + +hfjs branch create --repo-type dataset coyotte508/test-dataset release --empty +hfjs upload --repo-type dataset coyotte508/test-dataset . --revision release + +hfjs --help +hfjs upload --help + +hfjs help jobs +``` + +## OAuth Login + +It's possible to login using OAuth (["Sign in with HF"](https://huggingface.co/docs/hub/oauth)). + +This will allow you get an access token to use some of the API, depending on the scopes set inside the Space or the OAuth App. + +```ts +import { oauthLoginUrl, oauthHandleRedirectIfPresent } from "@huggingface/hub"; + +const oauthResult = await oauthHandleRedirectIfPresent(); + +if (!oauthResult) { + // If the user is not logged in, redirect to the login page + window.location.href = await oauthLoginUrl(); +} + +// You can use oauthResult.accessToken, oauthResult.accessTokenExpiresAt and oauthResult.userInfo +console.log(oauthResult); +``` + +Checkout the demo: https://huggingface.co/spaces/huggingfacejs/client-side-oauth + +## Hugging face cache + +The `@huggingface/hub` package provide basic capabilities to scan the cache directory. Learn more about [Manage huggingface_hub cache-system](https://huggingface.co/docs/huggingface_hub/en/guides/manage-cache). + +### `scanCacheDir` + +You can get the list of cached repositories using the `scanCacheDir` function. + +```ts +import { scanCacheDir } from "@huggingface/hub"; + +const result = await scanCacheDir(); + +console.log(result); +``` +Note: this does not work in the browser + +### `downloadFileToCacheDir` + +You can cache a file of a repository using the `downloadFileToCacheDir` function. + +```ts +import { downloadFileToCacheDir } from "@huggingface/hub"; + +const file = await downloadFileToCacheDir({ + repo: 'foo/bar', + path: 'README.md' +}); + +console.log(file); +``` +Note: this does not work in the browser + +### `snapshotDownload` + +You can download an entire repository at a given revision in the cache directory using the `snapshotDownload` function. + +```ts +import { snapshotDownload } from "@huggingface/hub"; + +const directory = await snapshotDownload({ + repo: 'foo/bar', +}); + +console.log(directory); +``` +The code use internally the `downloadFileToCacheDir` function. + +Note: this does not work in the browser + +## Performance considerations + +When uploading large files, you may want to run the `commit` calls inside a worker, to offload the sha256 computations. + +Remote resources and local files should be passed as `URL` whenever it's possible so they can be lazy loaded in chunks to reduce RAM usage. Passing a `File` inside the browser's context is fine, because it natively behaves as a `Blob`. + +Under the hood, `@huggingface/hub` uses a lazy blob implementation to load the file. + +## Dependencies + +- `@huggingface/tasks` : Typings only diff --git a/node_modules/@huggingface/hub/dist/FileBlob-7KXBO7HQ.mjs b/node_modules/@huggingface/hub/dist/FileBlob-7KXBO7HQ.mjs new file mode 100644 index 0000000000000000000000000000000000000000..d0c87557b479602749b5a1d70aa6d1dec45d94c9 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/FileBlob-7KXBO7HQ.mjs @@ -0,0 +1,91 @@ +import "./chunk-GAR7ORU2.mjs"; + +// src/utils/FileBlob.ts +import { createReadStream } from "fs"; +import { open, stat } from "fs/promises"; +import { Readable } from "stream"; +import { fileURLToPath } from "url"; +var FileBlob = class extends Blob { + /** + * Creates a new FileBlob on the provided file. + * + * @param path Path to the file to be lazy readed + */ + static async create(path) { + path = path instanceof URL ? fileURLToPath(path) : path; + const { size } = await stat(path); + const fileBlob = new FileBlob(path, 0, size); + return fileBlob; + } + path; + start; + end; + constructor(path, start, end) { + super(); + this.path = path; + this.start = start; + this.end = end; + } + /** + * Returns the size of the blob. + */ + get size() { + return this.end - this.start; + } + /** + * Returns a new instance of FileBlob that is a slice of the current one. + * + * The slice is inclusive of the start and exclusive of the end. + * + * The slice method does not supports negative start/end. + * + * @param start beginning of the slice + * @param end end of the slice + */ + slice(start = 0, end = this.size) { + if (start < 0 || end < 0) { + new TypeError("Unsupported negative start/end on FileBlob.slice"); + } + const slice = new FileBlob(this.path, this.start + start, Math.min(this.start + end, this.end)); + return slice; + } + /** + * Read the part of the file delimited by the FileBlob and returns it as an ArrayBuffer. + */ + async arrayBuffer() { + const slice = await this.execute((file) => file.read(Buffer.alloc(this.size), 0, this.size, this.start)); + return slice.buffer; + } + /** + * Read the part of the file delimited by the FileBlob and returns it as a string. + */ + async text() { + const buffer = await this.arrayBuffer(); + return buffer.toString("utf8"); + } + /** + * Returns a stream around the part of the file delimited by the FileBlob. + */ + stream() { + if (this.start === this.end) { + return new Blob([]).stream(); + } + return Readable.toWeb(createReadStream(this.path, { start: this.start, end: this.end - 1 })); + } + /** + * We are opening and closing the file for each action to prevent file descriptor leaks. + * + * It is an intended choice of developer experience over performances. + */ + async execute(action) { + const file = await open(this.path, "r"); + try { + return await action(file); + } finally { + await file.close(); + } + } +}; +export { + FileBlob +}; diff --git a/node_modules/@huggingface/hub/dist/browser/FileBlob-7MRLQ6TG.mjs b/node_modules/@huggingface/hub/dist/browser/FileBlob-7MRLQ6TG.mjs new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/node_modules/@huggingface/hub/dist/browser/FileBlob-YC2EPDW4.js b/node_modules/@huggingface/hub/dist/browser/FileBlob-YC2EPDW4.js new file mode 100644 index 0000000000000000000000000000000000000000..9a390c31f71bc7eae1522a280a2dc8f6723185bf --- /dev/null +++ b/node_modules/@huggingface/hub/dist/browser/FileBlob-YC2EPDW4.js @@ -0,0 +1 @@ +"use strict"; \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/browser/chunk-QXAXOUZS.mjs b/node_modules/@huggingface/hub/dist/browser/chunk-QXAXOUZS.mjs new file mode 100644 index 0000000000000000000000000000000000000000..bf4ad0eb021eb734dbf62ff9278f78a00e7c8bf8 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/browser/chunk-QXAXOUZS.mjs @@ -0,0 +1,9 @@ +var __defProp = Object.defineProperty; +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; + +export { + __export +}; diff --git a/node_modules/@huggingface/hub/dist/browser/chunk-UICA3PK6.js b/node_modules/@huggingface/hub/dist/browser/chunk-UICA3PK6.js new file mode 100644 index 0000000000000000000000000000000000000000..608a0a94179e9b8919b697b5f83597abafd593e0 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/browser/chunk-UICA3PK6.js @@ -0,0 +1,9 @@ +"use strict";Object.defineProperty(exports, "__esModule", {value: true});var __defProp = Object.defineProperty; +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; + + + +exports.__export = __export; diff --git a/node_modules/@huggingface/hub/dist/browser/chunker_wasm-3YGRTTMN.mjs b/node_modules/@huggingface/hub/dist/browser/chunker_wasm-3YGRTTMN.mjs new file mode 100644 index 0000000000000000000000000000000000000000..af375f78b0004c554fa99323bf00801f99722b04 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/browser/chunker_wasm-3YGRTTMN.mjs @@ -0,0 +1,1943 @@ +import { + __export +} from "./chunk-QXAXOUZS.mjs"; + +// src/vendor/xet-chunk/chunker_wasm_bg.js +var chunker_wasm_bg_exports = {}; +__export(chunker_wasm_bg_exports, { + Chunker: () => Chunker, + __wbg_String_8f0eb39a4a4c2f66: () => __wbg_String_8f0eb39a4a4c2f66, + __wbg_buffer_609cc3eee51ed158: () => __wbg_buffer_609cc3eee51ed158, + __wbg_call_672a4d21634d4a24: () => __wbg_call_672a4d21634d4a24, + __wbg_done_769e5ede4b31c67b: () => __wbg_done_769e5ede4b31c67b, + __wbg_get_67b2ba62fc30de12: () => __wbg_get_67b2ba62fc30de12, + __wbg_get_b9b93047fe3cf45b: () => __wbg_get_b9b93047fe3cf45b, + __wbg_getwithrefkey_1dc361bd10053bfe: () => __wbg_getwithrefkey_1dc361bd10053bfe, + __wbg_instanceof_ArrayBuffer_e14585432e3737fc: () => __wbg_instanceof_ArrayBuffer_e14585432e3737fc, + __wbg_instanceof_Uint8Array_17156bcf118086a9: () => __wbg_instanceof_Uint8Array_17156bcf118086a9, + __wbg_isArray_a1eab7e0d067391b: () => __wbg_isArray_a1eab7e0d067391b, + __wbg_isSafeInteger_343e2beeeece1bb0: () => __wbg_isSafeInteger_343e2beeeece1bb0, + __wbg_iterator_9a24c88df860dc65: () => __wbg_iterator_9a24c88df860dc65, + __wbg_length_a446193dc22c12f8: () => __wbg_length_a446193dc22c12f8, + __wbg_length_e2d2a49132c1b256: () => __wbg_length_e2d2a49132c1b256, + __wbg_new_405e22f390576ce2: () => __wbg_new_405e22f390576ce2, + __wbg_new_78feb108b6472713: () => __wbg_new_78feb108b6472713, + __wbg_new_a12002a7f91c75be: () => __wbg_new_a12002a7f91c75be, + __wbg_next_25feadfc0913fea9: () => __wbg_next_25feadfc0913fea9, + __wbg_next_6574e1a8a62d1055: () => __wbg_next_6574e1a8a62d1055, + __wbg_set_37837023f3d740e8: () => __wbg_set_37837023f3d740e8, + __wbg_set_3f1d0b984ed272ed: () => __wbg_set_3f1d0b984ed272ed, + __wbg_set_65595bdd868b3009: () => __wbg_set_65595bdd868b3009, + __wbg_set_wasm: () => __wbg_set_wasm, + __wbg_value_cd1ffa7b1ab794f1: () => __wbg_value_cd1ffa7b1ab794f1, + __wbindgen_as_number: () => __wbindgen_as_number, + __wbindgen_boolean_get: () => __wbindgen_boolean_get, + __wbindgen_debug_string: () => __wbindgen_debug_string, + __wbindgen_error_new: () => __wbindgen_error_new, + __wbindgen_in: () => __wbindgen_in, + __wbindgen_init_externref_table: () => __wbindgen_init_externref_table, + __wbindgen_is_function: () => __wbindgen_is_function, + __wbindgen_is_object: () => __wbindgen_is_object, + __wbindgen_is_undefined: () => __wbindgen_is_undefined, + __wbindgen_jsval_loose_eq: () => __wbindgen_jsval_loose_eq, + __wbindgen_memory: () => __wbindgen_memory, + __wbindgen_number_get: () => __wbindgen_number_get, + __wbindgen_number_new: () => __wbindgen_number_new, + __wbindgen_string_get: () => __wbindgen_string_get, + __wbindgen_string_new: () => __wbindgen_string_new, + __wbindgen_throw: () => __wbindgen_throw, + compute_file_hash: () => compute_file_hash, + compute_hmac: () => compute_hmac, + compute_verification_hash: () => compute_verification_hash, + compute_xorb_hash: () => compute_xorb_hash +}); +var wasm; +function __wbg_set_wasm(val) { + wasm = val; +} +var WASM_VECTOR_LEN = 0; +var cachedUint8ArrayMemory0 = null; +function getUint8ArrayMemory0() { + if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) { + cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer); + } + return cachedUint8ArrayMemory0; +} +var lTextEncoder = typeof TextEncoder === "undefined" ? (0, module.require)("util").TextEncoder : TextEncoder; +var cachedTextEncoder = new lTextEncoder("utf-8"); +var encodeString = typeof cachedTextEncoder.encodeInto === "function" ? function(arg, view) { + return cachedTextEncoder.encodeInto(arg, view); +} : function(arg, view) { + const buf = cachedTextEncoder.encode(arg); + view.set(buf); + return { + read: arg.length, + written: buf.length + }; +}; +function passStringToWasm0(arg, malloc, realloc) { + if (realloc === void 0) { + const buf = cachedTextEncoder.encode(arg); + const ptr2 = malloc(buf.length, 1) >>> 0; + getUint8ArrayMemory0().subarray(ptr2, ptr2 + buf.length).set(buf); + WASM_VECTOR_LEN = buf.length; + return ptr2; + } + let len = arg.length; + let ptr = malloc(len, 1) >>> 0; + const mem = getUint8ArrayMemory0(); + let offset = 0; + for (; offset < len; offset++) { + const code = arg.charCodeAt(offset); + if (code > 127) + break; + mem[ptr + offset] = code; + } + if (offset !== len) { + if (offset !== 0) { + arg = arg.slice(offset); + } + ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0; + const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len); + const ret = encodeString(arg, view); + offset += ret.written; + ptr = realloc(ptr, len, offset, 1) >>> 0; + } + WASM_VECTOR_LEN = offset; + return ptr; +} +var cachedDataViewMemory0 = null; +function getDataViewMemory0() { + if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || cachedDataViewMemory0.buffer.detached === void 0 && cachedDataViewMemory0.buffer !== wasm.memory.buffer) { + cachedDataViewMemory0 = new DataView(wasm.memory.buffer); + } + return cachedDataViewMemory0; +} +function addToExternrefTable0(obj) { + const idx = wasm.__externref_table_alloc(); + wasm.__wbindgen_export_4.set(idx, obj); + return idx; +} +function handleError(f, args) { + try { + return f.apply(this, args); + } catch (e) { + const idx = addToExternrefTable0(e); + wasm.__wbindgen_exn_store(idx); + } +} +function debugString(val) { + const type = typeof val; + if (type == "number" || type == "boolean" || val == null) { + return `${val}`; + } + if (type == "string") { + return `"${val}"`; + } + if (type == "symbol") { + const description = val.description; + if (description == null) { + return "Symbol"; + } else { + return `Symbol(${description})`; + } + } + if (type == "function") { + const name = val.name; + if (typeof name == "string" && name.length > 0) { + return `Function(${name})`; + } else { + return "Function"; + } + } + if (Array.isArray(val)) { + const length = val.length; + let debug = "["; + if (length > 0) { + debug += debugString(val[0]); + } + for (let i = 1; i < length; i++) { + debug += ", " + debugString(val[i]); + } + debug += "]"; + return debug; + } + const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val)); + let className; + if (builtInMatches && builtInMatches.length > 1) { + className = builtInMatches[1]; + } else { + return toString.call(val); + } + if (className == "Object") { + try { + return "Object(" + JSON.stringify(val) + ")"; + } catch (_) { + return "Object"; + } + } + if (val instanceof Error) { + return `${val.name}: ${val.message} +${val.stack}`; + } + return className; +} +var lTextDecoder = typeof TextDecoder === "undefined" ? (0, module.require)("util").TextDecoder : TextDecoder; +var cachedTextDecoder = new lTextDecoder("utf-8", { ignoreBOM: true, fatal: true }); +cachedTextDecoder.decode(); +function getStringFromWasm0(ptr, len) { + ptr = ptr >>> 0; + return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len)); +} +function isLikeNone(x) { + return x === void 0 || x === null; +} +function passArray8ToWasm0(arg, malloc) { + const ptr = malloc(arg.length * 1, 1) >>> 0; + getUint8ArrayMemory0().set(arg, ptr / 1); + WASM_VECTOR_LEN = arg.length; + return ptr; +} +function takeFromExternrefTable0(idx) { + const value = wasm.__wbindgen_export_4.get(idx); + wasm.__externref_table_dealloc(idx); + return value; +} +function compute_xorb_hash(chunks_array) { + let deferred2_0; + let deferred2_1; + try { + const ret = wasm.compute_xorb_hash(chunks_array); + var ptr1 = ret[0]; + var len1 = ret[1]; + if (ret[3]) { + ptr1 = 0; + len1 = 0; + throw takeFromExternrefTable0(ret[2]); + } + deferred2_0 = ptr1; + deferred2_1 = len1; + return getStringFromWasm0(ptr1, len1); + } finally { + wasm.__wbindgen_free(deferred2_0, deferred2_1, 1); + } +} +function compute_file_hash(chunks_array) { + let deferred2_0; + let deferred2_1; + try { + const ret = wasm.compute_file_hash(chunks_array); + var ptr1 = ret[0]; + var len1 = ret[1]; + if (ret[3]) { + ptr1 = 0; + len1 = 0; + throw takeFromExternrefTable0(ret[2]); + } + deferred2_0 = ptr1; + deferred2_1 = len1; + return getStringFromWasm0(ptr1, len1); + } finally { + wasm.__wbindgen_free(deferred2_0, deferred2_1, 1); + } +} +function passArrayJsValueToWasm0(array, malloc) { + const ptr = malloc(array.length * 4, 4) >>> 0; + for (let i = 0; i < array.length; i++) { + const add = addToExternrefTable0(array[i]); + getDataViewMemory0().setUint32(ptr + 4 * i, add, true); + } + WASM_VECTOR_LEN = array.length; + return ptr; +} +function compute_verification_hash(chunk_hashes) { + let deferred3_0; + let deferred3_1; + try { + const ptr0 = passArrayJsValueToWasm0(chunk_hashes, wasm.__wbindgen_malloc); + const len0 = WASM_VECTOR_LEN; + const ret = wasm.compute_verification_hash(ptr0, len0); + var ptr2 = ret[0]; + var len2 = ret[1]; + if (ret[3]) { + ptr2 = 0; + len2 = 0; + throw takeFromExternrefTable0(ret[2]); + } + deferred3_0 = ptr2; + deferred3_1 = len2; + return getStringFromWasm0(ptr2, len2); + } finally { + wasm.__wbindgen_free(deferred3_0, deferred3_1, 1); + } +} +function compute_hmac(hash_hex, hmac_key_hex) { + let deferred4_0; + let deferred4_1; + try { + const ptr0 = passStringToWasm0(hash_hex, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len0 = WASM_VECTOR_LEN; + const ptr1 = passStringToWasm0(hmac_key_hex, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + const ret = wasm.compute_hmac(ptr0, len0, ptr1, len1); + var ptr3 = ret[0]; + var len3 = ret[1]; + if (ret[3]) { + ptr3 = 0; + len3 = 0; + throw takeFromExternrefTable0(ret[2]); + } + deferred4_0 = ptr3; + deferred4_1 = len3; + return getStringFromWasm0(ptr3, len3); + } finally { + wasm.__wbindgen_free(deferred4_0, deferred4_1, 1); + } +} +var ChunkerFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => { +}, unregister: () => { +} } : new FinalizationRegistry((ptr) => wasm.__wbg_chunker_free(ptr >>> 0, 1)); +var Chunker = class { + __destroy_into_raw() { + const ptr = this.__wbg_ptr; + this.__wbg_ptr = 0; + ChunkerFinalization.unregister(this); + return ptr; + } + free() { + const ptr = this.__destroy_into_raw(); + wasm.__wbg_chunker_free(ptr, 0); + } + /** + * @param {number} target_chunk_size + */ + constructor(target_chunk_size) { + const ret = wasm.chunker_new(target_chunk_size); + this.__wbg_ptr = ret >>> 0; + ChunkerFinalization.register(this, this.__wbg_ptr, this); + return this; + } + /** + * @param {Uint8Array} data + * @returns {any} + */ + add_data(data) { + const ptr0 = passArray8ToWasm0(data, wasm.__wbindgen_malloc); + const len0 = WASM_VECTOR_LEN; + const ret = wasm.chunker_add_data(this.__wbg_ptr, ptr0, len0); + if (ret[2]) { + throw takeFromExternrefTable0(ret[1]); + } + return takeFromExternrefTable0(ret[0]); + } + /** + * @returns {any} + */ + finish() { + const ret = wasm.chunker_finish(this.__wbg_ptr); + if (ret[2]) { + throw takeFromExternrefTable0(ret[1]); + } + return takeFromExternrefTable0(ret[0]); + } +}; +function __wbg_String_8f0eb39a4a4c2f66(arg0, arg1) { + const ret = String(arg1); + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); +} +function __wbg_buffer_609cc3eee51ed158(arg0) { + const ret = arg0.buffer; + return ret; +} +function __wbg_call_672a4d21634d4a24() { + return handleError(function(arg0, arg1) { + const ret = arg0.call(arg1); + return ret; + }, arguments); +} +function __wbg_done_769e5ede4b31c67b(arg0) { + const ret = arg0.done; + return ret; +} +function __wbg_get_67b2ba62fc30de12() { + return handleError(function(arg0, arg1) { + const ret = Reflect.get(arg0, arg1); + return ret; + }, arguments); +} +function __wbg_get_b9b93047fe3cf45b(arg0, arg1) { + const ret = arg0[arg1 >>> 0]; + return ret; +} +function __wbg_getwithrefkey_1dc361bd10053bfe(arg0, arg1) { + const ret = arg0[arg1]; + return ret; +} +function __wbg_instanceof_ArrayBuffer_e14585432e3737fc(arg0) { + let result; + try { + result = arg0 instanceof ArrayBuffer; + } catch (_) { + result = false; + } + const ret = result; + return ret; +} +function __wbg_instanceof_Uint8Array_17156bcf118086a9(arg0) { + let result; + try { + result = arg0 instanceof Uint8Array; + } catch (_) { + result = false; + } + const ret = result; + return ret; +} +function __wbg_isArray_a1eab7e0d067391b(arg0) { + const ret = Array.isArray(arg0); + return ret; +} +function __wbg_isSafeInteger_343e2beeeece1bb0(arg0) { + const ret = Number.isSafeInteger(arg0); + return ret; +} +function __wbg_iterator_9a24c88df860dc65() { + const ret = Symbol.iterator; + return ret; +} +function __wbg_length_a446193dc22c12f8(arg0) { + const ret = arg0.length; + return ret; +} +function __wbg_length_e2d2a49132c1b256(arg0) { + const ret = arg0.length; + return ret; +} +function __wbg_new_405e22f390576ce2() { + const ret = new Object(); + return ret; +} +function __wbg_new_78feb108b6472713() { + const ret = new Array(); + return ret; +} +function __wbg_new_a12002a7f91c75be(arg0) { + const ret = new Uint8Array(arg0); + return ret; +} +function __wbg_next_25feadfc0913fea9(arg0) { + const ret = arg0.next; + return ret; +} +function __wbg_next_6574e1a8a62d1055() { + return handleError(function(arg0) { + const ret = arg0.next(); + return ret; + }, arguments); +} +function __wbg_set_37837023f3d740e8(arg0, arg1, arg2) { + arg0[arg1 >>> 0] = arg2; +} +function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) { + arg0[arg1] = arg2; +} +function __wbg_set_65595bdd868b3009(arg0, arg1, arg2) { + arg0.set(arg1, arg2 >>> 0); +} +function __wbg_value_cd1ffa7b1ab794f1(arg0) { + const ret = arg0.value; + return ret; +} +function __wbindgen_as_number(arg0) { + const ret = +arg0; + return ret; +} +function __wbindgen_boolean_get(arg0) { + const v = arg0; + const ret = typeof v === "boolean" ? v ? 1 : 0 : 2; + return ret; +} +function __wbindgen_debug_string(arg0, arg1) { + const ret = debugString(arg1); + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); +} +function __wbindgen_error_new(arg0, arg1) { + const ret = new Error(getStringFromWasm0(arg0, arg1)); + return ret; +} +function __wbindgen_in(arg0, arg1) { + const ret = arg0 in arg1; + return ret; +} +function __wbindgen_init_externref_table() { + const table = wasm.__wbindgen_export_4; + const offset = table.grow(4); + table.set(0, void 0); + table.set(offset + 0, void 0); + table.set(offset + 1, null); + table.set(offset + 2, true); + table.set(offset + 3, false); + ; +} +function __wbindgen_is_function(arg0) { + const ret = typeof arg0 === "function"; + return ret; +} +function __wbindgen_is_object(arg0) { + const val = arg0; + const ret = typeof val === "object" && val !== null; + return ret; +} +function __wbindgen_is_undefined(arg0) { + const ret = arg0 === void 0; + return ret; +} +function __wbindgen_jsval_loose_eq(arg0, arg1) { + const ret = arg0 == arg1; + return ret; +} +function __wbindgen_memory() { + const ret = wasm.memory; + return ret; +} +function __wbindgen_number_get(arg0, arg1) { + const obj = arg1; + const ret = typeof obj === "number" ? obj : void 0; + getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true); +} +function __wbindgen_number_new(arg0) { + const ret = arg0; + return ret; +} +function __wbindgen_string_get(arg0, arg1) { + const obj = arg1; + const ret = typeof obj === "string" ? obj : void 0; + var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); +} +function __wbindgen_string_new(arg0, arg1) { + const ret = getStringFromWasm0(arg0, arg1); + return ret; +} +function __wbindgen_throw(arg0, arg1) { + throw new Error(getStringFromWasm0(arg0, arg1)); +} + +// src/vendor/xet-chunk/chunker_wasm_bg.wasm.base64.ts +var wasmBase64 = atob( + ` +AGFzbQEAAAABwAIuYAJ/fwF/YAN/f38Bf2ACf38AYAN/f38AYAR/f39/AGABfwBgAW8Bf2ABfwF/YAAEf39/f2AFf39/f38AYAFv +AW9gAABgAn9vAGAAAW9gBn9/f39/fwBgAAN/f39gAm9vAW9gBn9/f39/fwF/YAV/f39/fwF/YAR/f39/AX9gAn9/AW9gAm9vAX9g +AW8Ef39/f2ABbwF8YAF8AW9gA29vbwBgAm9/AW9gA29/bwBgA29vfwBgBX9/f35/A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oiCiACQRBqKQIANwMAIAdB6AFqIgggAkEYaikCADcDACAHQgA3A5ABIAcgBDoA+gEgB0EAOwH4ASAHIAIpAgA3 +A9ABIAcgC60gA3w3A/ABIAdBkAFqIAAgDmogCRBFIQAgB0HQAGogASkDADcDACAHQdgAaiAKKQMANwMAIAdB4ABqIAgpAwA3AwAg +B0EQaiAAQQhqKQMANwMAIAdBGGogAEEQaikDADcDACAHQSBqIABBGGopAwA3AwAgB0EoaiAAQSBqKQMANwMAIAdBMGogAEEoaikD +ADcDACAHQThqIABBMGopAwA3AwAgB0FAayAAQThqKQMANwMAIAcgBykD0AE3A0ggByAAKQMANwMIIActAPoBIQAgBy0A+QEhAiAH +IActAPgBIgQ6AHAgByAHKQPwASIDNwNoIAcgACACRXJBAnIiADoAcSAHQZgCaiICIAgpAwA3AwAgB0GQAmoiCCAKKQMANwMAIAdB +iAJqIgogASkDADcDACAHIAcpA9ABNwOAAiAHQYACaiAHQQhqIAQgAyAAECcgC0EFdCIAQSBqIgEgBksNAiACKAIAIQEgCCgCACEC +IAooAgAhBCAHKAKUAiEGIAcoAowCIQogBygChAIhCCAHKAKAAiEJIAAgBWoiACAHKAKcAjYAHCAAIAE2ABggACAGNgAUIAAgAjYA +ECAAIAo2AAwgACAENgAIIAAgCDYABCAAIAk2AAAgC0EBaiELDAELQn8gAa1CAXxCAYhCAX15iKciCiABTw0CIAdBCGoiCEEAQYAB +EEMaIAAgCkEBaiIKIAIgAyAEIAhBIEHAACAKQYAIRhsiCRAqIQsgACAKaiABIAprIAIgCkEKdq0gA3wgBCAIIAlqQYABIAlrECog +C0EBRgRAIAZBP00NBCAFIAcpAAg3AAAgBUE4aiAHQUBrKQAANwAAIAVBMGogB0E4aikAADcAACAFQShqIAdBMGopAAA3AAAgBUEg +aiAHQShqKQAANwAAIAVBGGogB0EgaikAADcAACAFQRBqIAdBGGopAAA3AAAgBUEIaiAHQRBqKQAANwAAQQIhCwwBCyALakEFdCIA +QYEBTw0EIAdBCGogACACIA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ADKAIAJQEQCSIORAAAAAAAAODDZiEDIARC////////////AAJ+IA6ZRAAAAAAAAOBDYwRAIA6wDAELQoCAgICAgICAgH8L +QoCAgICAgICAgH8gAxsgDkT////////fQ2QbQgAgDiAOYRs3AwhCAQVCAAs3AwACfwJAIAIoAihBAUYEQCACKQMwIg9CAFkNAQsg +AkEkaiACQc8AakHIkMAAED4hBEEBDAELIA9CgICAgBBaBEAgAkEBOgA4IAIgDzcDQCMAQTBrIgMkACADQciQwAA2AgQgAyACQc8A +ajYCACADQQI2AgwgA0HIjMAANgIIIANCAjcCFCADIAOtQoCAgICQAYQ3AyggAyACQThqrUKAgICAoAGENwMgIAMgA0EgajYCECAD +QQhqEGQhBCADQTBqJABBAQwBCyAPpyEEQQALIAIoAiQiBUGEAU8EQCAFEG8LQQEhCUUNAgwBC0HVksAAQQYQgQEhBAsgAEGAgICA +eDYCACAAIAQ2AgQgAUGAgICAeHJBgICAgHhGDQMgBiABEMoBDAMLCyACKAIYIgMgAigCHEcNAAsgAUGAgICAeEYEQEHRksAAQQQQ +gAEhASAAQYCAgIB4NgIAIAAgATYCBAwBCyAJRQRAQdWSwABBBhCAASEEIABBgICAgHg2AgAgACAENgIEIAFFDQEgBiABEMoBDAEL +IAAgBDYCDCAAIA02AgggACAGNgIEIAAgATYCACACKAIgIgBBhAFPBEAgABBvCyACKAIQRQ0DIAIoAhQiA0GDAU0NAwwCCyACKAIg +IgBBhAFPBEAgABBvCyACKAIQRQ0CIAIoAhQiA0GDAUsNAQwCCyACQQxqIAJBzwBqQfiQwAAQPiEEIABBgICAgHg2AgAgACAENgIE +IAFBhAFJDQEgARBvDAELIAMQbwsgAkHQAGokAA8LQaCSwABBMRDcAQALxgYBCH8CQAJAIAEgAEEDakF8cSIDIABrIghJDQAgASAI +ayIGQQRJDQAgBkEDcSEHQQAhAQJAIAAgA0YiCQ0AAkAgACADayIFQXxLBEBBACEDDAELQQAhAwNAIAEgACADaiICLAAAQb9/Smog +AkEBaiwAAEG/f0p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AggBigCEBEAAEUNAAtBAQ8LQQEhASAAIAYgCiACIAMQlQENACAAIAQg +BSAGKAIMEQEADQBBACEBA0AgASAHRgRAQQAPCyABQQFqIQEgACAIIAYoAhARAABFDQALIAFBAWsgB0kPCyABC64FAQd/AkAgACgC +ACIJIAAoAggiBHIEQAJAIARBAXFFDQAgASACaiEHAkAgACgCDCIGRQRAIAEhBAwBCyABIQQDQCAEIgMgB0YNAgJ/IANBAWogAywA +ACIIQQBODQAaIANBAmogCEFgSQ0AGiADQQNqIAhBcEkNABogA0EEagsiBCADayAFaiEFIAZBAWsiBg0ACwsgBCAHRg0AIAQsAAAa +IAUgAgJ/AkAgBUUNACACIAVNBEAgAiAFRg0BQQAMAgsgASAFaiwAAEFATg0AQQAMAQsgAQsiAxshAiADIAEgAxshAQsgCUUNASAA +KAIEIQcCQCACQRBPBEAgASACECwhAwwBCyACRQRAQQAhAwwBCyACQQNxIQYCQCACQQRJBEBBACEDQQAhBQwBCyACQQxxIQhBACED +QQAhBQNAIAMgASAFaiIELAAAQb9/SmogBEEBaiwAAEG/f0pqIARBAmosAABBv39KaiAEQQNqLAAAQb9/SmohAyAIIAVBBGoiBUcN +AAsLIAZFDQAgASAFaiEEA0AgAyAELAAAQb9/SmohAyAEQQFqIQQgBkEBayIGDQALCwJAIAMgB0kEQCAHIANrIQYCQAJAAkAgAC0A +GCIEQQAgBEEDRxsiA0EBaw4CAAECCyAGIQNBACEGDAELIAZBAXYhAyAGQQFqQQF2IQYLIANBAWohAyAAKAIQIQUgACgCICEEIAAo +AhwhAANAIANBAWsiA0UNAiAAIAUgBCgCEBEAAEUNAAtBAQ8LDAILIAAgASACIAQoAgwRAQAEQEEBDwtBACEDA0AgAyAGRgRAQQAP +CyADQQFqIQMgACAFIAQoAhARAABFDQALIANBAWsgBkkPCyAAKAIcIAEgAiAAKAIgKAIMEQEADwsgACgCHCABIAIgACgCICgCDBEB +AAveCAIKfwF+IwBBgAJrIgQkACAEIAEpABg3AhggBCABKQAQNwIQIAQgASkACDcCCCAEIAEpAAA3AgACfyADQYEITwRAIARBIGoh +BSMAQeAAayIBJAAgAUE4aiIGQgA3AwAgAUEwaiIHQgA3AwAgAUEoaiIIQgA3AwAgAUEgaiIJQgA3AwAgAUEYaiIKQgA3AwAgAUEQ +aiILQgA3AwAgAUEIaiIMQgA3AwAgAUIANwMAIAIgAyAEQgBBECABQcAAECohAiABQdgAakIANwMAIAFB0ABqQgA3AwAgAUHIAGpC +ADcDACABQgA3A0ACQAJAAkACQCACQQNPBEADQCACQQV0IgJBwQBPDQIgASACIARBECABQUBrIg1BIBA9IgJBBXQiA0HBAE8NAyAD +QSFPDQQgASANIAMQNRogAkECSw0ACwsgBSABKQMANwAAIAVBOGogBikDADcAACAFQTBqIAcpAwA3AAAgBUEoaiAIKQMANwAAIAVB +IGogCSkDADcAACAFQRhqIAopAwA3AAAgBUEQaiALKQMANwAAIAVBCGogDCkDADcAACABQeAAaiQADAMLIAJBwABBgL7AABDOAQAL +IANBwABBkL7AABDOAQALIANBIEGgvsAAEM4BAAsgBEH4AGogBEEYaikCADcDACAEQfAAaiAEQRBqKQIANwMAIARB6ABqIARBCGop +AgA3AwAgBCAEKQIANwNgQcAAIQNBFAwBCyAEQcgBakIANwMAIARBwAFqQgA3AwAgBEG4AWpCADcDACAEQbABakIANwMAIARBqAFq +QgA3AwAgBEGYAWpCADcDACAEQRA6APoBIARBoAFqQgA3AwAgBEHYAWoiBSAEQQhqKQIANwMAIARB6AFqIgYgBEEYaikCADcDACAE +QeABaiIHIARBEGopAgA3AwAgBEIANwOQASAEIAQpAgA3A9ABIARBADsB+AEgBEIANwPwASAEQZABaiACIAMQRSEBIARB6ABqIAUp +AwA3AwAgBEHwAGogBykDADcDACAEQfgAaiAGKQMANwMAIARBKGogAUEIaikDADcDACAEQTBqIAFBEGopAwA3AwAgBEE4aiABQRhq +KQMANwMAIARBQGsgAUEgaikDADcDACAEQcgAaiABQShqKQMANwMAIARB0ABqIAFBMGopAwA3AwAgBEH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IgcNAAsLIAZBAWtBB0kNAANAIAMgBC0AADoAACADQQFqIARBAWotAAA6 +AAAgA0ECaiAEQQJqLQAAOgAAIANBA2ogBEEDai0AADoAACADQQRqIARBBGotAAA6AAAgA0EFaiAEQQVqLQAAOgAAIANBBmogBEEG +ai0AADoAACADQQdqIARBB2otAAA6AAAgBEEIaiEEIANBCGoiAyAFRw0ACwsgBSACIAZrIgdBfHEiCGohAwJAIAEgBmoiBEEDcUUE +QCADIAVNDQEgBCEBA0AgBSABKAIANgIAIAFBBGohASAFQQRqIgUgA0kNAAsMAQsgAyAFTQ0AIARBA3QiAkEYcSEGIARBfHEiCUEE +aiEBQQAgAmtBGHEhCiAJKAIAIQIDQCAFIAIgBnYgASgCACICIAp0cjYCACABQQRqIQEgBUEEaiIFIANJDQALCyAHQQNxIQIgBCAI +aiEBCwJAIAMgAiADaiIGTw0AIAJBB3EiBARAA0AgAyABLQAAOgAAIAFBAWohASADQQFqIQMgBEEBayIEDQALCyACQQFrQQdJDQAD +QCADIAEtAAA6AAAgA0EBaiABQQFqLQAAOgAAIANBAmogAUECai0AADoAACADQQNqIAFBA2otAAA6AAAgA0EEaiABQQRqLQAAOgAA +IANBBWogAUEFai0AADoAACADQQZqIAFBBmotAAA6AAAgA0EHaiABQQdqLQAAOgAAIAFBCGohASADQQhqIgMgBkcNAAsLIAALhAYC +AX8BfCMAQTBrIgIkAAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAAtAABBAWsOEQECAwQFBgcICQoLDA0O +DxARAAsgAiAALQABOgAIIAJBAjYCFCACQdi/wAA2AhAgAkIBNwIcIAIgAkEIaq1CgICAgOAHhDcDKCACIAJBKGo2AhggASgCHCAB +KAIgIAJBEGoQOAwRCyACIAApAwg3AwggAkECNgIUIAJB9L/AADYCECACQgE3AhwgAiACQQhqrUKAgICA8AeENwMoIAIgAkEoajYC +GCABKAIcIAEoAiAgAkEQahA4DBALIAIgACkDCDcDCCACQQI2AhQgAkH0v8AANgIQIAJCATcCHCACIAJBCGqtQoCAgICACIQ3Aygg +AiACQShqNgIYIAEoAhwgASgCICACQRBqEDgMDwsgACsDCCEDIAJBAjYCFCACQZTAwAA2AhAgAkIBNwIcIAIgAkEoaq1CgICAgJAI +hDcDCCACIAM5AyggAiACQQhqNgIYIAEoAhwgASgCICACQRBqEDgMDgsgAiAAKAIENgIIIAJBAjYCFCACQbDAwAA2AhAgAkIBNwIc +IAIgAkEIaq1CgICAgKAIhDcDKCACIAJBKGo2AhggASgCHCABKAIgIAJBEGoQOAwNCyACIAApAgQ3AgggAkEBNgIUIAJByMDAADYC +ECACQgE3AhwgAiACQQhqrUKAgICAsAiENwMoIAIgAkEoajYCGCABKAIcIAEoAiAgAkEQahA4DAwLIAFBxL/AAEEKELoBDAsLIAFB +0MDAAEEKELoBDAoLIAFB2sDAAEEMELoBDAkLIAFB5sDAAEEOELoBDAgLIAFB9MDAAEEIELoBDAcLIAFB/MDAAEEDELoBDAYLIAFB +/8DAAEEEELoBDAULIAFBg8HAAEEMELoBDAQLIAFBj8HAAEEPELoBDAMLIAFBnsHAAEENELoBDAILIAFBq8HAAEEOELoBDAELIAEg +ACgCBCAAKAIIELoBCyACQTBqJAAL/gUBBX8gAEEIayIBIABBBGsoAgAiA0F4cSIAaiECAkACQCADQQFxDQAgA0ECcUUNASABKAIA +IgMgAGohACABIANrIgFBkIfBACgCAEYEQCACKAIEQQNxQQNHDQFBiIfBACAANgIAIAIgAigCBEF+cTYCBCABIABBAXI2AgQgAiAA +NgIADwsgASADEFALAkACQAJAAkACQCACKAIEIgNBAnFFBEAgAkGUh8EAKAIARg0CIAJBkIfBACgCAEYNAyACIANBeHEiAhBQIAEg +ACACaiIAQQFyNgIEIAAgAWogADYCACABQZCHwQAoAgBHDQFBiIfBACAANgIADwsgAiADQX5xNgIEIAEgAEEBcjYCBCAAIAFqIAA2 +AgALIABBgAJJDQIgASAAEFVBACEBQaiHwQBBqIfBACgCAEEBayIANgIAIAANBEHwhMEAKAIAIgAEQANAIAFBAWohASAAKAIIIgAN +AAsLQaiHwQBB/x8gASABQf8fTRs2AgAPC0GUh8EAIAE2AgBBjIfBAEGMh8EAKAIAIABqIgA2AgAgASAAQQFyNgIEQZCHwQAoAgAg +AUYEQEGIh8EAQQA2AgBBkIfBAEEANgIACyAAQaCHwQAoAgAiA00NA0GUh8EAKAIAIgJFDQNBACEAQYyHwQAoAgAiBEEpSQ0CQeiE +wQAhAQNAIAIgASgCACIFTwRAIAIgBSABKAIEakkNBAsgASgCCCEBDAALAAtBkIfBACABNgIAQYiHwQBBiIfBACgCACAAaiIANgIA +IAEgAEEBcjYCBCAAIAFqIAA2AgAPCyAAQfgBcUH4hMEAaiECAn9BgIfBACgCACIDQQEgAEEDdnQiAHFFBEBBgIfBACAAIANyNgIA +IAIMAQsgAigCCAshACACIAE2AgggACABNgIMIAEgAjYCDCABIAA2AggPC0HwhMEAKAIAIgEEQANAIABBAWohACABKAIIIgENAAsL +QaiHwQBB/x8gACAAQf8fTRs2AgAgAyAETw0AQaCHwQBBfzYCAAsL6gQBCn8jAEEwayIDJAAgAyABNgIsIAMgADYCKCADQQM6ACQg +A0IgNwIcIANBADYCFCADQQA2AgwCfwJAAkACQCACKAIQIgpFBEAgAigCDCIARQ0BIAIoAggiASAAQQN0aiEEIABBAWtB/////wFx +QQFqIQcgAigCACEAA0AgAEEEaigCACIFBEAgAygCKCAAKAIAIAUgAygCLCgCDBEBAA0ECyABKAIAIANBDGogAUEEaigCABEAAA0D +IABBCGohACABQQhqIgEgBEcNAAsMAQsgAigCFCIARQ0AIABBBXQhCyAAQQFrQf///z9xQQFqIQcgAigCCCEFIAIoAgAhAANAIABB +BGooAgAiAQRAIAMoAiggACgCACABIAMoAiwoAgwRAQANAwsgAyAIIApqIgFBEGooAgA2AhwgAyABQRxqLQAAOgAkIAMgAUEYaigC +ADYCICABQQxqKAIAIQRBACEJQQAhBgJAAkACQCABQQhqKAIAQQFrDgIAAgELIARBA3QgBWoiDCgCAA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gBEEBayIEDQALCyACQQFrQQdJDQADQCADIAE6AAAgA0EHaiABOgAAIANBBmogAToAACAD +QQVqIAE6AAAgA0EEaiABOgAAIANBA2ogAToAACADQQJqIAE6AAAgA0EBaiABOgAAIANBCGoiAyAFRw0ACwsgAAv+AgEEfwJAAkAC +QAJAAkACQAJ/AkAgByAIVgRAIAcgCH0gCFgNAwJAIAYgByAGfVQgByAGQgGGfSAIQgGGWnFFBEAgBiAIVg0BDAoLIAIgA0kNBQwI +CyAHIAYgCH0iBn0gBlYNCCACIANJDQUgASADaiEMIAEhCwJAA0AgAyAJRg0BIAlBAWohCSALQQFrIgsgA2oiCi0AAEE5Rg0ACyAK +IAotAABBAWo6AAAgAyAJa0EBaiADTw0HIApBAWpBMCAJQQFrEEMaDAcLQTEgA0UNAhogAUExOgAAIANBAUcNAUEwDAILIABBADYC +AA8LIAFBAWpBMCADQQFrEEMaQTALIQkgBEEBasEiBCAFwUwgAiADTXINAyAMIAk6AAAgA0EBaiEDDAMLIABBADYCAA8LIAMgAkGQ +4sAAEM4BAAsgAyACQfDhwAAQzgEACyACIANPDQAgAyACQYDiwAAQzgEACyAAIAQ7AQggACADNgIEIAAgATYCAA8LIABBADYCAAub +AwECfwJAAkACQAJAIAAtAGgiAwRAIANBwQBPDQMgACADaiABIAJBwAAgA2siAyACIANJGyIDEDUaIAAgAC0AaCADaiIEOgBoIAEg +A2ohASACIANrIgJFBEBBACECDAILIABBQGsgAEHAACAAKQNgIAAtAGogAC0AaUVyECcgAEIANwMAIABBADoAaCAAQQhqQgA3AwAg +AEEQakIANwMAIABBGGpCADcDACAAQSBqQgA3AwAgAEEoakIANwMAIABBMGpCADcDACAAQThqQgA3AwAgACAALQBpQQFqOgBpC0EA +IQMgAkHBAEkNASAAQUBrIQQgAC0AaSEDA0AgBCABQcAAIAApA2AgAC0AaiADQf8BcUVyECcgACAALQBpQQFqIgM6AGkgAUFAayEB +IAJBQGoiAkHAAEsNAAsgAC0AaCEECyAEQf8BcSIDQcEATw0CCyAAIANqIAEgAkHAACADayIBIAEgAksbIgEQNRogACAALQBoIAFq +OgBoIAAPCyADQcAAQfC8wAAQzQEACyADQcAAQfC8wAAQzQEAC+cCAQV/AkBBzf97QRAgACAAQRBNGyIAayABTQ0AIABBECABQQtq +QXhxIAFBC0kbIgRqQQxqECgiAkUNACACQQhrIQECQCAAQQFrIgMgAnFFBEAgASEADAELIAJBBGsiBSgCACIGQXhxIAIgA2pBACAA +a3FBCGsiAiAAQQAgAiABa0EQTRtqIgAgAWsiAmshAyAGQQNxBEAgACADIAAoAgRBAXFyQQJyNgIEIAAgA2oiAyADKAIEQQFyNgIE +IAUgAiAFKAIAQQFxckECcjYCACABIAJqIgMgAygCBEEBcjYCBCABIAIQQQwBCyABKAIAIQEgACADNgIEIAAgASACajYCAAsCQCAA +KAIEIgFBA3FFDQAgAUF4cSICIARBEGpNDQAgACAEIAFBAXFyQQJyNgIEIAAgBGoiASACIARrIgRBA3I2AgQgACACaiICIAIoAgRB +AXI2AgQgASAEEEELIABBCGohAwsgAwuCAwEHfyMAQRBrIgQkAAJAAkACQAJAAkAgASgCBCICRQ0AIAEoAgAhByACQQNxIQUCQCAC +QQRJBEBBACECDAELIAdBHGohAyACQXxxIQhBACECA0AgAygCACADQQhrKAIAIANBEGsoAgAgA0EYaygCACACampqaiECIANBIGoh +AyAIIAZBBGoiBkcNAAsLIAUEQCAGQQN0IAdqQQRqIQMDQCADKAIAIAJqIQIgA0EIaiEDIAVBAWsiBQ0ACwsgASgCDARAIAJBAEgN +ASAHKAIERSACQRBJcQ0BIAJBAXQhAgtBACEFIAJBAEgNAyACDQELQQEhA0EAIQIMAQtB+YLBAC0AABpBASEFIAJBARC+ASIDRQ0B +CyAEQQA2AgggBCADNgIEIAQgAjYCACAEQYDLwAAgARA4RQ0BQZzMwABB1gAgBEEPakGMzMAAQYzNwAAQeQALIAUgAkH8y8AAELEB +AAsgACAEKQIANwIAIABBCGogBEEIaigCADYCACAEQRBqJAALnQMBCH8jA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gghAQsgACgCBCABaiACQQxqIAMQNRogACABIANqNgIIDAELIAAoAggiAyAAKAIARgRAIABBnM3AABBsCyAAIANB +AWo2AgggACgCBCADaiABOgAACyACQRBqJABBAAvCAgECfyMAQRBrIgIkAAJAIAFBgAFPBEAgAkEANgIMAn8gAUGAEE8EQCABQYCA +BE8EQCACIAFBP3FBgAFyOgAPIAIgAUESdkHwAXI6AAwgAiABQQZ2QT9xQYABcjoADiACIAFBDHZBP3FBgAFyOgANQQQMAgsgAiAB +QT9xQYABcjoADiACIAFBDHZB4AFyOgAMIAIgAUEGdkE/cUGAAXI6AA1BAwwBCyACIAFBP3FBgAFyOgANIAIgAUEGdkHAAXI6AAxB +AgshASABIAAoAgAgACgCCCIDa0sEQCAAIAMgARBgIAAoAgghAwsgACgCBCADaiACQQxqIAEQNRogACABIANqNgIIDAELIAAoAggi +AyAAKAIARgRAIABBuMbAABBsCyAAKAIEIANqIAE6AAAgACADQQFqNgIICyACQRBqJABBAAvEAgEEfyAAQgA3AhAgAAJ/QQAgAUGA +AkkNABpBHyABQf///wdLDQAaIAFBBiABQQh2ZyIDa3ZBAXEgA0EBdGtBPmoLIgI2AhwgAkECdEHog8EAaiEEQQEgAnQiA0GEh8EA +KAIAcUUEQCAEIAA2AgAgACAENgIYIAAgADYCDCAAIAA2AghBhIfBAEGEh8EAKAIAIANyNgIADwsCQAJAIAEgBCgCACIDKAIEQXhx +RgRAIAMhAgwBCyABQRkgAkEBdmtBACACQR9HG3QhBQNAIAMgBUEddkEEcWpBEGoiBCgCACICRQ0CIAVBAXQhBSACIQMgAigCBEF4 +cSABRw0ACwsgAigCCCIBIAA2AgwgAiAANgIIIABBADYCGCAAIAI2AgwgACABNgIIDwsgBCAANgIAIAAgAzYCGCAAIAA2AgwgACAA +NgIIC/oCAgF/AX4jAEHgAWsiAiQAIAIgASkDADcDQCACIAEpAwg3A0ggAiABKQMQNwNQIAJCgICAgKAHIgMgAkHYAGqthDcDOCAC +IAMgAkHQAGqthDcDMC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pAwA3AgAgAUEIaiADKAIANgIAIABBwMnAADYCBCAAIAE2AgAgAkFAayQAC/wBAgF+An8jAEGAAWsiBCQA +IAAoAgApAwAhAgJ/AkAgASgCFCIAQRBxRQRAIABBIHENASACQQEgARBJDAILQQAhAANAIAAgBGpB/wBqIAKnQQ9xIgNBMHIgA0HX +AGogA0EKSRs6AAAgAEEBayEAIAJCD1YgAkIEiCECDQALIAFBAUHc5sAAQQIgACAEakGAAWpBACAAaxAwDAELQQAhAANAIAAgBGpB +/wBqIAKnQQ9xIgNBMHIgA0E3aiADQQpJGzoAACAAQQFrIQAgAkIPViACQgSIIQINAAsgAUEBQdzmwABBAiAAIARqQYABakEAIABr +EDALIARBgAFqJAALiAIBBX8CQAJAAkACQCABKAIAIgFBAXEEQEEdQYEBIAIgAUF+cSIFayIGIANqIgFBCnZnQQJ0ayABQf//B0sb +IQQgAiAFRgRAIAQhAiABIQMMBQsgBEEFdiIHIAZqIgJBgICAwABJDQJB+YLBAC0AABpBFEEEEL4BIgJFDQEgAkEBNgIQIAIgASAH +aiIINgIIIAIgBSAHazYCBCACIAg2AgAgAiAEQQJ2QQdxNgIMDAMLIAAgASACIAMQQA8LQQRBFBDjAQALIARBHXEgAkEFdHIhAgsg +ASAGayIEQQAgASAETxshASAFIAZqIQULIAAgAjYCDCAAIAM2AgggACABNgIEIAAgBTYCAAuJAgEDfyMAQRBrIgYkACABIAEoAggi +BUEAIAVBAUcbNgIIAkACQAJAIAVBAUYEQCABKAIEIQQgASgCACEFIAFBDBDKASAFIAIgAxDlARoMAQsgA0EASA0BQQEhBSADBEBB ++YLBAC0AABpBASEEIANBARC+ASIFRQ0CCyAFIAIgAxA1GiABIAEoAggiAkEBazYCCCADIQQgAkEBRw0AIAEoAgAgAUEEaigCACIE +QQEQogFFDQIgBBDKASABQQwQygEgAyEECyAAIAM2AgggACAFNgIEIAAgBDYCACAGQRBqJAAPCyAEIANBpLbAABCxAQALQfC3wABB +KyAGQQ9qQeC3wABBrLjAABB5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IQMgAiAE +BH8gAiAEQRRsNgIcIAIgACgCBDYCFEEEBSADCzYCGCACQQhqQQQgByACQRRqEHMgAigCCEEBRw0BIAIoAgwhBiACKAIQIQMLIAYg +AyABELEBAAsgAigCDCEBIAAgBTYCACAAIAE2AgQgAkEgaiQAC94BAQR/IwBBEGsiAyQAIAAoAgwhAQJAAn8CQAJAAkACQAJAIAAo +AgQOAgABAgsgAQ0BQQEhAUEAIQBBASECDAMLIAFFDQELIANBBGogABBHIAMoAgQhACADKAIIIQIgAygCDAwCCyAAKAIAIgEoAgQi +AEEASA0CIAEoAgAhASAARQRAQQEhAkEAIQAMAQtB+YLBAC0AABpBASEEIABBARC+ASICRQ0CCyACIAEgABA1GiAACyEBIAIgARC0 +ASAABEAgAiAAEMoBCyADQRBqJAAPCyAEIABBlIvAABCxAQAL0AEBBX8jAEEgayIBJAAgACgCACIDQQFqIgIgA0EBdCIEIAIgBEsb +IgJB/////wBLBEBBAEEAQbiQwAAQsQEACwJAQQQgAiACQQRNGyICQQR0IgRB/P///wdNBH8gASADBH8gASADQQR0NgIcIAEgACgC +BDYCFEEEBUEACzYCGCABQQhqQQQgBCABQRRqEHMgASgCCEEBRw0BIAEoAhAhBSABKAIMBUEACyAFQbiQwAAQsQEACyABKAIMIQMg +ACACNgIAIAAgAzYCBCABQSBqJAAL8gEBAn8jAEEwayICJAACQCAAKQMAQv///////////wCDQoCAgICAgID4/wBaBEAgAkEBNgIU +IAJBvMHAADYCECACQgE3AhwgAiAArUKAgICAwAiENwMoIAIgAkEoajYCGCABKAIcIAEoAiAgAkEQahA4IQMMAQsgAkEAOgAMIAIg +ATYCCEEBIQMgAkEBNgIUIAJBvMHAADYCECACQgE3AhwgAiAArUKAgICAwAiENwMoIAIgAkEoajYCGCACQQhqQaS/wAAgAkEQahA4 +DQAgAi0ADEUEQCABQcTBwABBAhC6AQ0BC0EAIQMLIAJBMGokACADC7sBAQJ/IwBBIGsiAyQAAkACf0EAIAEgASACaiICSw0AGkEA +QQgg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ABQQRqNgIIIAEgAUEIajYCDCAB +QQxqIQIjAEEgayIAJAACQAJAAkACQAJAAkACQEGwg8EALQAAQQFrDgMCBAEAC0Gwg8EAQQI6AAAgAigCACIDKAIAIQIgA0EANgIA +IAJFDQIgAigCAEKACDcDAEGwg8EAQQM6AAALIABBIGokAAwECyAAQQA2AhggAEEBNgIMIABBqLDAADYCCAwCC0HoscAAENEBAAsg +AEEANgIYIABBATYCDCAAQeiwwAA2AggLIABCBDcCECAAQQhqQeyvwAAQnQEACyABKAIEBUGog8EACykDABCuASABQRBqJABQC14B +AX8jAEEwayICJAAgAiABNgIMIAIgADYCCCACQQI2AhQgAkHojMAANgIQIAJCATcCHCACIAJBCGqtQoCAgICwAYQ3AyggAiACQShq +NgIYIAJBEGoQZCACQTBqJAALXgEBfyMAQTBrIgIkACACIAE2AgwgAiAANgIIIAJBAjYCFCACQYyNwAA2AhAgAkIBNwIcIAIgAkEI +aq1CgICAgLABhDcDKCACIAJBKGo2AhggAkEQahBkIAJBMGokAAtbAQF/IAEoAgAiBEEBcQRAIAAgASAEIARBfnEgAiADEG0PCyAE +IAQoAggiAUEBajYCCCABQQBOBEAgACAENgIMIAAgAzYCCCAAIAI2AgQgAEG8uMAANgIADwsAC2MBAX9BACEBAkAgA0EATgRAIANF +BEBBASEEDAILQfmCwQAtAAAaQQEhASADQQEQvgEiBA0BCyABIANBpLbAABCxAQALIAQgAiADEDUhASAAIAM2AgggACABNgIEIAAg +AzYCAAtYAQF/IAEoAgAiBEEBcQRAIAAgASAEIAQgAiADEG0PCyAEIAQoAggiAUEBajYCCCABQQBOBEAgACAENgIMIAAgAzYCCCAA +IAI2AgQgAEG8uMAANgIADwsAC1gBAX8jAEEgayIDJAAgA0EYaiACQRhqKQAANwMAIANBEGogAkEQaikAADcDACADQQhqIAJBCGop +AAA3AwAgAyACKQAANwMAIAAgAyABQSAQMiADQSBqJAALTgAjAEEgayIAJAAgAEEBNgIEIABB4L7AADYCACAAQgE3AgwgAELIvsCA +wAc3AxggACAAQRhqNgIIIAEoAhwgASgCICAAEDggAEEgaiQAC00BAX8jAEEwayIBJAAgAUEBNgIMIAFBsOTAADYCCCABQgE3AhQg +ASABQS9qrUKAgICAgAyENwMgIAEgAUEgajYCECABQQhqIAAQnQEAC0MAIAEoAgAiAUEBcQRAIAFBfnEgAiADEOUBIQEgACADNgII +IAAgATYCBCAAIAIgA2ogAWs2AgAPCyAAIAEgAiADEF4LOgEBfyMAQSBrIgAkACAAQQA2AhggAEEBNgIMIABBtMrAADYCCCAAQgQ3 +AhAgAEEIakHoysAAEJ0BAAtFAQF/IAIgACgCACAAKAIIIgNrSwRAIAAgAyACQQFBARBYIAAoAgghAwsgACgCBCADaiABIAIQNRog +ACACIANqNgIIQQALQQEBfyACIAAoAgAgACgCCCIDa0sEQCAAIAMgAhBgIAAoAgghAwsgACgCBCADaiABIAIQNRogACACIANqNgII +QQALQAAgASgCACIBQQFxBEAgASACIAMQ5QEhASAAIAM2AgggACABNgIEIAAgAiADaiABazYCAA8LIAAgASACIAMQXgtCAQF/IAAo +AgAiACgCMCIBBEAgACgCNCABEMoBCwJAIABBf0YNACAAIAAoAgRBAWsiATYCBCABDQAgAEHIABDKAQsLTwECf0H5gsEALQAAGiAB +KAIEIQIgASgCACEDQQhBBBC+ASIBRQRAQQRBCBDjAQALIAEgAjYCBCABIAM2AgAgAEHQycAANgIEIAAgATYCAAtBAQF/IAIgACgC +ACAAKAIIIgNrSwRAIAAgAyACEGcgACgCCCEDCyAAKAIEIANqIAEgAhA1GiAAIAIgA2o2AghBAAtCAQF/IwBBIGsiAyQAIANBADYC +ECADQQE2AgQgA0IENwIIIAMgATYCHCADIAA2AhggAyADQRhqNgIAIAMgAhCdAQALQAEBfyABKAIAIgEgASgCCCIEQQFqNgIIIARB +AEgEQAALIAAgATYCDCAAIAM2AgggACACNgIEIABBvLjAADYCAAs8ACAAIAEpAAA3AAAgAEEYaiABQRhqKQAANwAAIABBEGogAUEQ +aikAADcAACAAQQhqIAFBCGopAAA3AAALjgIBA38gACgCACECIAEoAhQiAEEQcUUEQCAAQSBxRQRAIAIgARDQAQ8LQQAhACMAQYAB +ayIEJAAgAigCACECA0AgACAEakH/AGogAkEPcSIDQTByIANBN2ogA0EKSRs6AAAgAEEBayEAIAJBD0sgAkEEdiECDQALIAFBAUHc +5sAAQQIgACAEakGAAWpBACAAaxAwIARBgAFqJAAPC0EAIQAjAEGAAWsiBCQAIAIoAgAhAgNAIAAgBGpB/wBqIAJBD3EiA0EwciAD +QdcAaiADQQpJGzoAACAAQQFrIQAgAkEPSyACQQR2IQINAAsgAUEBQdzmwABBAiAAIARqQYABakEAIABrEDAgBEGAAWokAAvgcwMj +fxp+AXwgASgCFEEBcSECIAArAwAhPwJAIAEoAghBAUYEQAJ/IAEhCCABKAIMIRNBACEAIwBB8AhrIgkkACA/vSEnAn9BAyA/mUQA +AAAAAADwf2ENABpBAiAnQoCAgICAgID4/wCDIiZCgICAgICAgPj/AFENABogJ0L/////////B4MiKUKAgICAgICACIQgJ0IBhkL+ +////////D4MgJ0I0iKdB/w9xIgEbIiVCAYMhKCAmUARAQQQgKVANARogAUGzCGshAEIBISYgKFAMAQtCgICAgICAgCAgJUIBhiAl +QoCAgICAgIAIUSIAGyElQgJCASAAGyEmQct3Qcx3IAAbIAFqIQAgKFALIQEgCSAAOwHoCCAJICY3A+AIIAlCATcD2AggCSAlNwPQ +CCAJIAE6AOoIAkACfwJAAkACQAJAIAFBAmsiAwRAQQEhAUG748AAQbzjwAAgJ0IAUyIGG0G748AAQQEgBhsgAhshGSAnQj+IpyAC +ciEcQQMgAyADQQNPG0ECaw4CAgMBCyAJQQM2ApgIIAlBvePAADYClAggCUECOwGQCEEBIRlBASEBIAlBkAhqDAQLIAlBAzYCmAgg +CUHA48AANgKUCCAJQQI7AZAIIAlBkAhqDAMLQQIhASAJQQI7AZAIIBNFDQEgCSATNgKgCCAJQQA7AZwIIAlBAjYCmAggCUG548AA +NgKUCCAJQZAIagwCC0F0QQUgAMEi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PjAABDOAQALQShBKEGU+MAAEH0ACyABQShB +lPjAABDOAQALQaT4wABBGkGU+MAAEJABAAsgCUHICGogCUGYCGooAgA2AgAgCSAJKQKQCDcDwAgLIBQgCS4ByAgiAEgEQCAJQQhq +IAkoAsAIIAkoAsQIIAAgEyAJQZAIahBRIAkoAgwhASAJKAIIDAMLQQIhASAJQQI7AZAIIBNFBEBBASEBIAlBATYCmAggCUHD48AA +NgKUCCAJQZAIagwDCyAJIBM2AqAIIAlBADsBnAggCUECNgKYCCAJQbnjwAA2ApQIIAlBkAhqDAILQcTjwABBJUHs48AAEJABAAtB +ASEBIAlBATYCmAggCUHD48AANgKUCCAJQZAIagshACAJIAE2AswIIAkgADYCyAggCSAcNgLECCAJIBk2AsAIIAggCUHACGoQOSAJ +QfAIaiQADAELIABBKEGU+MAAEM4BAAsPCwJ/IAEhEUEAIQBBACEBIwBBgAFrIgQkACA/vSEmAn9BAyA/mUQAAAAAAADwf2ENABpB +AiAmQoCAgICAgID4/wCDIidCgICAgICAgPj/AFENABogJkL/////////B4MiKUKAgICAgICACIQgJkIBhkL+////////D4MgJkI0 +iKdB/w9xIgAbIiVCAYMhKCAnUARAQQQgKVANARogAEGzCGshAEIBIScgKFAMAQtCgICAgICAgCAgJUIBhiAlQoCAgICAgIAIUSID +GyElQgJCASADGyEnQct3Qcx3IAMbIABqIQAgKFALIQMgBCAAOwF4IAQgJzcDcCAEQgE3A2ggBCAlNwNgIAQgAzoAegJAAn8CQAJA +AkAgA0ECayIDBEBBASEAQbvjwABBvOPAACAmQgBTIgYbQbvjwABBASAGGyACGyEYQQEgJkI/iKcgAhshGUEDIAMgA0EDTxtBAmsO +AgMCAQsgBEEDNgIoIARBvePAADYCJCAEQQI7ASBBASEYQQEhACAEQSBqDAMLIARBAzYCKCAEQcDjwAA2AiQgBEECOwEgIARBIGoM +AgsgBEEgaiEGIARBD2oiDiEIIwBBMGsiAyQAAkACQAJ/AkACQAJAAkACQAJAAkACQCAEQeAAaiIMIgApAwAiJVBFBEAgACkDCCIn +UA0BIAApAxAiJlANAiAlICZ8IiYgJVQNAyAlICdUDQQgJkKAgICAgICAgCBaDQUgAyAALwEYIgA7AQggAyAlICd9Iic3AwAgACAA +QSBrIAAgJkKAgICAEFQiAhsiC0EQayALICZCIIYgJiACGyImQoCAgICAgMAAVCICGyILQQhrIAsgJkIQhiAmIAIbIiZCgICAgICA +gIABVCICGyILQQRrIAsgJkIIhiAmIAIbIiZCgICAgICAgIAQVCICGyILQQJrIAsgJkIEhiAmIAIbIiZCgICAgICAgIDAAFQiAhsg +JkIChiAmIAIbIihCAFkiC2siAmvBIglBAEgNBiADQn8gCa0iKYgiJiAngzcDECAmICdUDQogAyAAOwEIIAMgJTcDACADICUgJoM3 +AxAgJSAmVg0KQaB/IAJrwUHQAGxBsKcFakHOEG0iAEHRAE8NByAAQQR0IgBBgNTAAGopAwAiKkL/////D4MiJiAlIClCP4MiJYYi +K0IgiCI1fiIsQiCIIjEgKkIgiCIpIDV+IjJ8ICkgK0L/////D4MiKn4iK0IgiCI2fCEzICxC/////w+DICYgKn5CIIh8ICtC//// +/w+DfCI3QoCAgIAIfEIgiCErQgFBACACIABBiNTAAGovAQBqa0E/ca0iLIYiKkIBfSEuICYgJyAlhiIlQiCIIid+Ii1C/////w+D +ICYgJUL/////D4MiJX5CIIh8ICUgKX4iJUL/////D4N8Ij5CgICAgAh8QiCIITQgJyApfiE4ICVCIIghOSAtQiCIITogAEGK1MAA +ai8BACEJICkgKCALrYYiJUIgiCI7fiI8ICYgO34iJ0IgiCIvfCApICVC/////w+DIiV+IihCIIgiMHwgJ0L/////D4MgJSAmfkIg +iHwgKEL/////D4N8Ij1CgICAgAh8QiCIfEIBfCItICyIpyIAQZDOAE8EQCAAQcCEPUkNCSAAQYDC1y9PBEBBCEEJIABBgJTr3ANJ +IgIbIQtBgMLXL0GAlOvcAyACGwwLC0EGQQcgAEGAreIESSICGyELQcCEPUGAreIEIAIbDAoLIABB5ABPBEBBAkEDIABB6AdJ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1CgICAgAh8 +QiCIfCA8fEIKfn0gKH58IS0gKUIKfiAmICp8fSEuICwgJn0hL0IAISkDQCAmICp8IiUgLFQgKSAvfCAmIC18WnJFBEBBACEADAUL +IAsgAkEBayICOgAAICkgLnwiMCAqVCEAICUgLFoNBSApICp9ISkgJSEmICogMFgNAAsMBAtBEUERQeDfwAAQfQALIAFBEUHw38AA +EH0ACwJAICUgKlogAnINACAqICUgKHwiJlggKiAlfSAmICp9VHENACAGQQA2AgAMBAsgJSA0QgN9WCAlQgJacUUEQCAGQQA2AgAM +BAsgBiAJOwEIIAYgAUEBajYCBAwCCyAmISULAkAgJSArWiAAcg0AICsgJSAqfCImWCArICV9ICYgK31UcQ0AIAZBADYCAAwCCyAl +IChCWH4gJ3xYICUgKEIUflpxRQRAIAZBADYCAAwCCyAGIAk7AQggBiABNgIECyAGIAg2AgALIANBMGokAAwBCyADQQA2AhgjAEEQ +ayIAJAAgACADNgIMIAAgA0EQajYCCCAAQQhqQajlwAAgAEEMakGo5cAAIANBGGpB/M3AABBLAAsCQCAEKAIgRQRAIARB0ABqIRAj +AEGgCmsiASQAAkACQAJAAkAgAQJ/AkACQAJAAkACQAJAIAwpAwAiJVBFBEAgDCkDCCInUA0BIAwpAxAiJlANAiAlICZ8IiggJVQN +AyAlICdUDQQgDCwAGiETIAwuARghACABICU+AgAgAUEBQQIgJUKAgICAEFQiAhs2AqABIAFBACAlQiCIpyACGzYCBCABQQhqQQBB +mAEQQxogASAnPgKkASABQQFBAiAnQoCAgIAQVCICGzYCxAIgAUEAICdCIIinIAIbNgKoASABQawBakEAQZgBEEMaIAEgJj4CyAIg +AUEBQQIgJkKAgICAEFQiAhs2AugDIAFBACAmQiCIpyACGzYCzAIgAUHQAmpBAEGYARBDGiABQfADakEAQZwBEEMaIAFBATYC7AMg +AUEBNgKMBSAArCAoQgF9eX1CwprB6AR+QoChzaC0AnxCIIinIgLBIQ0CQCAAQQBOBEAgASAAED8aIAFBpAFqIAAQPxogAUHIAmog +ABA/GgwBCyABQewDakEAIABrwRA/GgsCQCANQQBIBEAgAUEAIA1rQf//A3EiABApIAFBpAFqIAAQKSABQcgCaiAAECkMAQsgAUHs +A2ogAkH//wFxECkLIAEoAqABIQMgAUH8CGogAUGgARA1GiABIAM2ApwKIAEoAugDIgsgAyADIAtJGyICQShLDRIgAkUEQEEAIQIM +BwsgAkEBcSEJIAJBAUYNBSACQT5xIQogAUH8CGohACABQcgCaiEIA0AgACAFIAAoAgAiDyAIKAIAaiIGaiIFNgIAIABBBGoiDCAM +KAIAIhQgCEEEaigCAGoiDCAFIAZJIAYgD0lyaiIGNgIAIAYgDEkgDCAUSXIhBSAIQQhqIQggAEEIaiEAIAogB0ECaiIHRw0ACwwF +C0HXz8AAQRxB9M/AABCQAQALQYTQwABBHUGk0MAAEJABAAtBtNDAAEEcQdDQwAAQkAEAC0GY0sAAQTZB0NLAABCQAQALQdDRwABB +N0GI0sAAEJABAAsgCQR/IAdBAnQiACABQfwIamoiBiAGKAIAIgYgAUHIAmogAGooAgBqIgAgBWoiBzYCACAAIAZJIAAgB0tyBSAF +C0UNACACQShGDQMgAUH8CGogAkECdGpBATYCACACQQFqIQILIAEgAjYCnAogAiABKAKMBSIHIAIgB0sbIgBBKU8NAyAAQQJ0IQAC +QANAIAAEQEF/IABBBGsiACABQfwIamooAgAiAiAAIAFB7ANqaigCACIGRyACIAZLGyIIRQ0BDAILC0F/QQAgABshCAsgCCATSARA +IA1BAWohDQwCCwJAIANFBEBBACEDDAELIANBAWtB/////wNxIgBBAWoiAkEDcSEIAkAgAEEDSQRAIAEhAEIAISUMAQsgAkH8//// +B3EhBSABIQBCACElA0AgACAANQIAQgp+ICV8IiU+AgAgAEEEaiICIAI1AgBCCn4gJUIgiHwiJT4CACAAQQhqIgIgAjUCAEIKfiAl +QiCIfCIlPgIAIABBDGoiAiACNQIAQgp+ICVCIIh8Iic+AgAgJ0IgiCElIABBEGohACAFQQRrIgUNAAsLIAgEQANAIAAgADUCAEIK +fiAlfCInPgIAIABBBGohACAnQiCIISUgCEEBayIIDQALCyAnQoCAgIAQVA0AIANBKEYNAyABIANBAnRqICU+AgAgA0EBaiEDCyAB +IAM2AqABAkAgASgCxAIiBkEpSQRAQQAhAkEAIAZFDQIaIAZBAWtB/////wNxIgBBAWoiA0EDcSEIIABBA0kEQCABQaQBaiEAQgAh +JQwCCyADQfz///8HcSEFIAFBpAFqIQBCACElA0AgACAANQIAQgp+ICV8IiU+AgAgAEEEaiIDIAM1AgBCCn4gJUIgiHwiJT4CACAA +QQhqIgMgAzUCAEIKfiAlQiCIfCIlPgIAIABBDGoiAyADNQIAQgp+ICVCIIh8Iic+AgAgJ0IgiCElIABBEGohACAFQQRrIgUNAAsM +AQsMCgsgCARAA0AgACAANQIAQgp+ICV8Iic+AgAgAEEEaiEAICdCIIghJSAIQQFrIggNAAsLIAYgJ0KAgICAEFQNABogBkEoRg0C +IAFBpAFqIAZBAnRqICU+AgAgBkEBags2AsQCAkAgC0UNACALQQFrQf////8DcSIAQQFqIgJBA3EhCAJAIABBA0kEQCABQcgCaiEA +QgAhJQwBCyACQfz///8HcSEFIAFByAJqIQBCACElA0AgACAANQIAQgp+ICV8IiU+AgAgAEEEaiICIAI1AgBCCn4gJUIgiHwiJT4C +ACAAQQhqIgIgAjUCAEIKfiAlQiCIfCIlPgIAIABBDGoiAiACNQIAQgp+ICVCIIh8Iic+AgAgJ0IgiCElIABBEGohACAFQQRrIgUN +AAsLIAgEQANAIAAgADUCAEIKfiAlfCInPgIAIABBBGohACAnQiCIISUgCEEBayIIDQALCyAnQoCAgIAQVARAIAshAgwBCyALQShG +DQIgAUHIAmogC0ECdGogJT4CACALQQFqIQILIAEgAjYC6AMLIAFBkAVqIgIgAUHsA2oiAEGgARA1GiABIAc2ArAGIAJBARA/IRwg +ASgCjAUhAiABQbQGaiIDIABBoAEQNRogASACNgLUByADQQIQPyEdIAEoAowFIQIgAUHYB2oiAyAAQaABEDUaIAEgAjYC+AggA0ED +ED8hHgJAAkAgASg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iABQQJ0EMoBIAQoAhghAyAEKAIUIgAgBCgCHCIBSw0BIAMhAAwHCyADRQ0CIANBDGwh +AiAAIQMMAQsgAEEMbCECIAENAgtBBCEAIAMgAhDKAQtBACEBDAMLIAMgAkEEIAFBDGwiAxC2ASIADQJBBCADQczCwAAQsQEACyAD +IAVBvMLAABCxAQALQezCwABBKBDcAQALIAogATYCBCAKIAA2AgAgBEEgaiQAIAogCigCBCIANgIQIAogCigCADYCDCAKIAA2Aggg +CkEUaiEPIwBB0ABrIgMkACADIApBCGoiACgCADYCFCADIAAoAgQiATYCECADIAE2AgwgAyABIAAoAghBDGxqNgIYIwBB4AFrIgIk +ACADQQxqIgEoAgghBiABKAIAIQ4gASgCBCIEIQACQAJAAkACfwJAAkACQCAEIAEoAgwiB0YiBUUEQCAEKAIAIQAgAkG4AWogBCgC +BCIBIAQoAggQNCAABEAgASAAEMoBCyAEQQxqIQAgAigCuAFBAXFFDQELIAcgAGtBDG4hASAAIAdHBEADQCAAKAIAIggEQCAAQQRq +KAIAIAgQygELIABBDGohACABQQFrIgENAAsLIAZFDQEgDiAGQQxsEMoBIAUNAgwFCyACQTBqIgEgAkHYAWopAwA3AwAgAkEoaiIE +IAJB0AFqKQMANwMAIAJBIGoiCCACQcgBaikDADcDACACIAIpA8ABNwMYQfmCwQAtAAAaQYABQQgQvgEiBUUNAyAFIAIpAxg3AwAg +BUEYaiABKQMANwMAIAVBEGogBCkDADcDACAFQQhqIAgpAwA3AwBBASEEIAJBATYCFCACIAU2AhAgAkEENgIMAn8CQCAAIAdGBEAg +ACEBDAELIAJBwAFqIQlBICEIA0AgACgCACEBIAJBuAFqIAAoAgQiCyAAKAIIEDQgAQRAIAsgARDKAQsgAEEMaiEBQQEgAigCuAFB +AXENAhogAkHgAGogCUEIaikDACIdNwMAIAJB0ABqIgwgCUEYaikDADcDACACQcgAaiIQIAlBEGopAwA3AwAgAkFAayIRIB03AwAg +AiAJKQMAIh03A1ggAiAdNwM4IAIoAgwgBEYEQC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IbQfj///8HTQRAIAUgCgR/IAUgCkEwbDYCHCAFIAwoAgQ2AhRBCAVBAAs2Ahgg +BUEIakEIIBsgBUEUahBzIAUoAghBAUcNASAFKAIMIQ4gBSgCECEICyAOIAhBsJjAABCxAQALIAUoAgwhCiAMIBM2AgAgDCAKNgIE +IAVBIGokAAsgASgCECAQQTBsaiIFIAEpAxg3AgQgBSAaNgIAIAVBDGogESkDADcCACAFQRRqIBIpAwA3AgAgBUEcaiAWKQMANwIA +IAVBJGogFykDADcCACAFQSxqIBgoAgA2AgAgASAQQQFqNgIUCyACIBlqIgIgB0cNAAsLIA8gASkCDDcCACAPQQhqIAFBFGooAgA2 +AgAgAUGAAWokAAwBCyACIAdBwJjAABDNAQALAkACQAJAAkAgAygCGCICRQRAQQQhBAwBC0H5gsEALQAAGiACQRRsIgFBBBC+ASIE +RQ0BCyADQQA2AiQgAyAENgIgIAMgAjYCHCADKAIUIgUgAkEwbGohByADKAIQIQwgBSEBIAJFDQEgA0E0aiEOIANBOGohCiADQShq +QQRyIgRBKGohDyAEQSBqIRAgBEEYaiERIARBCGohEiABIQIDQCACKAIAIgFFBEAgAkEwaiEBDAMLIAJBDGopAgAhHCACQRRqKQIA +IR0gAkEcaikCACEeIAJBJGopAgAhHyACQSxqKAIAIQggBCACKQIENwIAIA8gCDYCACAQIB83AgAgESAeNwIAIARBEGogHTcCACAS +IBw3AgAgAyABNgIoIAoQfyEBIANB2ABqIAoQViADIAE6AGggAyADKAIwIgE2AmQgDiADKAIsIAEgAygCKCgCEBEDACADKAIkIgEg +AygCHEYEQCADQRxqQbSGwAAQYwsgAygCICABQRRsaiIIIAMpAlg3AgAgCEEIaiADQeAAaikCADcCACAIQRBqIANB6ABqKAIANgIA +IAlBAToAMCADIAFBAWo2AiQgAkEwaiICIAdHDQALDAILQQQgAUGkhsAAELEBAAsgASAHRg0AIAcgAWsiAkEwbiIJQQFxQQAhBCAC +QTBrQTBPBEAgCUH+//8/cSEJIAEhAgNAIAJBDGogAkE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aiEEIwBB4ABrIgEkACABQUBrIAMQQiABKAJEIQMCQCABKAJAIghBgICAgHhHBEACQCABKAJI +IgdFBEAgAUEYakIANwMAIAFBEGpCADcDACABQQhqQgA3AwAgAUIANwMADAELIAFBIGoiCSADIAcQLSABQUBrIgdB1IbAABCSASAB +IAkgBxCFAQsgBCABEFYgCEUNASADIAhBKGwQygEMAQsgBEGAgICAeDYCACAEIAM2AgQLIAFB4ABqJAACQAJAIAICfyAGKAIEIgNB +gICAgHhGBEAgBigCCCEBQQAhBEEBDAELIAYoAgghAQJAIAYoAgwiBCADTwRAIAEhBQwBCyAERQRAQQEhBSABIAMQygEMAQsgASAD +QQEgBBC2ASIFRQ0CC0EAIQFBAAs2AgwgAiABNgIIIAIgBDYCBCACIAU2AgAgBkEQaiQADAELQQEgBEGQgsAAELEBAAsgAigCACAC +KAIEIAIoAgggAigCDCACQRBqJAAL+gECAn8BfiMAQRBrIgIkACACQQE7AQwgAiABNgIIIAIgADYCBCMAQRBrIgEkACACQQRqIgAp +AgAhBCABIAA2AgwgASAENwIEIwBBEGsiACQAIAFBBGoiASgCACICKAIMIQMCQAJAAkACQCACKAIEDgIAAQILIAMNAUEBIQJBACED +DAILIAMNACACKAIAIgIoAgQhAyACKAIAIQIMAQsgAEGAgICAeDYCACAAIAE2AgwgAEH8ycAAIAEoAgQgASgCCCIALQAIIAAtAAkQ +agALIAAgAzYCBCAAIAI2AgAgAEHgycAAIAEoAgQgASgCCCIALQAIIAAtAAkQagALmwYBCn8jAEEQayIGJAAjAEEgayIFJAACQAJA +AkAgAARAIABBCGsiByAHKAIAQQFqIgM2AgAgA0UNASAAKAIADQIgAEF/NgIAIAUgBzYCHCAFIAA2AhggBSAAQQhqIgM2AhQgBUEI +aiEJIwBBkAFrIgEkACABQQA2AhQgAUKAgICAwAA3AgwjAEFAaiICJAAgAkEIaiADQQFBAEEBEC4gAUEYaiIEQShqIAJBMGopAwA3 +AwAgBEEgaiACQShqKQMANwMAIARBGGogAkEgaikDADcDACAEQRBqIAJBGGopAwA3AwAgBEEIaiACQRBqKQMANwMAIAQgAikDCDcD +ACACQUBrJAAgASgCGARAIAFB8ABqIAFBQGspAwA3AwAgAUHoAGogAUE4aikDADcDACABQeAAaiABQTBqKQMANwMAIAFB2ABqIgIg +AUEoaikDADcDACABQdAAaiIEIAFBIGopAwA3AwAgASABKQMYNwNIIAIQfyEIIAFB/ABqIAIQViABIAg6AIwBIAEgBCgCACICNgKI +ASABQdQAaiABKAJMIAIgASgCSCgCEBEDACABKAIUIgIgASgCDEYEQCABQQxqQcSGwAAQYwsgASgCECACQRRsaiIEIAEpAnw3AgAg +BEEIaiABQYQBaikCADcCACAEQRBqIAFBjAFqKAIANgIAIANBAToAMCABIAJBAWo2AhQLIAFBADYCGCABIAFBGGogAUEMahBhIAEo +AgQhBCABKAIAIQggASgCFCICBEAgASgCECEDA0AgAygCACIKBEAgA0EEaigCACAKEMoBCyADQRRqIQMgAkEBayICDQALCyABKAIM +IgMEQCABKAIQIANBFGwQygELIAkgBDYCBCAJIAg2AgAgAUGQAWokACAFKAIMIQMgBSgCCCEBIABBADYCACAHIAcoAgBBAWsiADYC +ACAARQRAIAVBHGoQjQELIAYgATYCCCAGIANBACABQQFxIgAbNgIEIAZBACADIAAbNgIAIAVBIGokAAwDCxDdAQsACxDeAQALIAYo +AgAgBigCBCAGKAIIIAZBEGokAAshAAJAIAEgAxCiAQRAIAAgASADIAIQtgEiAA0BCwALIAALJQAgAEUEQEGAtcAAQTIQ3AEACyAA +IAIgAyAEIAUgASgCEBESAAsgAQF/QQEhASAAKAIAIgBBAXEEfyABBSAAKAIIQQFGCwsZAQF/QYCAgIB4IAFrIABPIAIgAWlBAUYb +Cx8BAn4gACkDACICIAJCP4ciA4UgA30gAkIAWSABEEkLIwAgAEUEQEGAtcAAQTIQ3AEACyAAIAIgAyAEIAEoAhARKAALIwAgAEUE +QEGAtcAAQTIQ3AEACyAAIAIgAyAEIAEoAhAREwALIwAgAEUEQEGAtcAAQTIQ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oAmE +NwMoIAMgA61CgICAgKAJhDcDICADIANBIGo2AhAgA0EIaiACEJ0BAAtrAQF/IwBBMGsiAyQAIAMgATYCBCADIAA2AgAgA0ECNgIM +IANB5PrAADYCCCADQgI3AhQgAyADQQRqrUKAgICAoAmENwMoIAMgA61CgICAgKAJhDcDICADIANBIGo2AhAgA0EIaiACEJ0BAAsL +ACAAKAIAIAEQTAsPAEG45MAAQSsgABCQAQALDQAgACkDAEEBIAEQSQsOACABQYCFwABBBRC6AQsOACABQbyFwABBEBC6AQsOACAB +QaSLwABBBRC6AQsOACABQbiPwABBChC6AQsMACAAKAIAIAEQ0gEL8QMBAX8gACgCACECIwBBkAJrIgAkACAAIAIpAwA3A3AgACAC +KQMINwN4IAAgAikDEDcDgAEgACAAQYgBaq1CgICAgKAHhDcDaCAAIABBgAFqrUKAgICAoAeENwNgIAAgAEH4AGqtQoCAgICgB4Q3 +A1ggACAAQfAAaq1CgICAgKAHhDcDUCAAIAIpAxg3A4gBIABBAzoAjAIgAEEINgKIAiAAQqCAgIAwNwKAAiAAQoCAgICAAjcC+AEg +AEECNgLwASAAQQM6AOwBIABBCDYC6AEgAEKggICAIDcC4AEgAEKAgICAgAI3AtgBIABBAjYC0AEgAEEDOgDMASAAQQg2AsgBIABC +oICAgBA3AsABIABCgICAgIACNwK4ASAAQQI2ArABIABBAzoArAEgAEEINgKoASAAQiA3AqABIABCgICAgIACNwKYASAAQQI2ApAB +IABBBDYCTCAAQQQ2AjwgAEHkusAANgI4IABBBDYCRCAAIABBkAFqNgJIIAAgAEHQAGo2AkAgAEEsaiICIABBOGoQRyAAIAKtQoCA +gICwB4Q3AyAgAEEBNgIMIABB9LvAADYCCCAAQgE3AhQgACAAQSBqNgIQIAEoAhwgASgCICAAQQhqEDggACgCLCICBEAgACgCMCAC +EMoBCyAAQZACaiQACw0AIABBiJLAACABEDgLDgAgAUG0tsAAQQsQugELDQAgAEGkv8AAIAEQOAsJACAAIAEQJAALDQBBgMXAAEEb +ENwBAAsOAEGbxcAAQc8AENwBAAsNACAAQaTHwAAgARA4CwwAIAAgASkCADcDAAsNACAAQYDLwAAgARA4Cw4AIAFB+MrAAEEFELoB +CxoAIAAgAUHUg8EAKAIAIgBBywAgABsRAgAACwoAIAIgACABEDELxgkBCH8CQAJAIAIiBSAAIgcgAWtLBEAgASACaiEAIAIgB2oh +AiAFQRBJDQFBACACQQNxIgZrIQkCQCACQXxxIgMgAk8NACAGQQFrAkAgBkUEQCAAIQQMAQsgBiEIIAAhBANAIAJBAWsiAiAEQQFr +IgQtAAA6AAAgCEEBayIIDQALC0EDSQ0AIARBBGshBANAIAJBAWsgBEEDai0AADoAACACQQJrIARBAmotAAA6AAAgAkEDayAEQQFq +LQAAOgAAIAJBBGsiAiAELQAAOgAAIARBBGshBCACIANLDQALCyADIAUgBmsiBEF8cSIFayECQQAgBWshBgJAIAAgCWoiAEEDcUUE +QCACIANPDQEgASAEakEEayEBA0AgA0EEayIDIAEoAgA2AgAgAUEEayEBIAIgA0kNAAsMAQsgAiADTw0AIABBA3QiBUEYcSEIIABB +fHEiCUEEayEBQQAgBWtBGHEhCiAJKAIAIQUDQCADQQRrIgMgBSAKdCABKAIAIgUgCHZyNgIAIAFBBGshASACIANJDQALCyAEQQNx +IQUgACAGaiEADAELAkAgBUEQSQRAIAchAgwBCwJAIAdBACAHa0EDcSIGaiIEIAdNDQAgByECIAEhAyAGBEAgBiEAA0AgAiADLQAA +OgAAIANBAWohAyACQQFqIQIgAEEBayIADQALCyAGQQFrQQdJDQADQCACIAMtAAA6AAAgAkEBaiADQQFqLQAAOgAAIAJBAmogA0EC +ai0AADoAACACQQNqIANBA2otAAA6AAAgAkEEaiADQQRqLQAAOgAAIAJBBWogA0EFai0AADoAACACQQZqIANBBmotAAA6AAAgAkEH +aiADQQdqLQAAOgAAIANBCGohAyACQQhqIgIgBEcNAAsLIAQgBSAGayIDQXxxIghqIQICQCABIAZqIgBBA3FFBEAgAiAETQ0BIAAh +AQNAIAQgASgCADYCACABQ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mdldF9mZWF0dXJlcwQrD211dGFibGUtZ2xvYmFscysIc2lnbi1leHQrD3JlZmVyZW5jZS10eXBlcysK +bXVsdGl2YWx1ZQ== +`.trim().replaceAll("\n", "") +); +var wasmBinary = new Uint8Array(wasmBase64.length); +for (let i = 0; i < wasmBase64.length; i++) { + wasmBinary[i] = wasmBase64.charCodeAt(i); +} + +// src/vendor/xet-chunk/chunker_wasm.ts +var initPromise = null; +async function init() { + if (initPromise) { + return initPromise; + } + let resolve; + let reject; + initPromise = new Promise((_resolve, _reject) => { + resolve = _resolve; + reject = _reject; + }); + await Promise.resolve(); + try { + const wasmModule = await WebAssembly.compile(wasmBinary); + const imports = Object.entries( + WebAssembly.Module.imports(wasmModule).reduce( + (result, item) => ({ + ...result, + // @ts-expect-error ok for any type + [item.module]: [...result[item.module] || [], item.name] + }), + {} + ) + ).map(([from, names]) => ({ from, names })); + const wasm2 = await WebAssembly.instantiate(wasmModule, { + "./hf_xet_thin_wasm_bg.js": Object.fromEntries( + // @ts-expect-error ok for any type + imports[0].names.map((name) => [name, chunker_wasm_bg_exports[name]]) + ) + }); + __wbg_set_wasm(wasm2.exports); + wasm2.exports.__wbindgen_start(); + resolve(); + } catch (error) { + reject(error); + } +} +init(); +export { + Chunker, + compute_file_hash, + compute_hmac, + compute_verification_hash, + compute_xorb_hash, + init +}; diff --git a/node_modules/@huggingface/hub/dist/browser/chunker_wasm-FWDBRYQI.js b/node_modules/@huggingface/hub/dist/browser/chunker_wasm-FWDBRYQI.js new file mode 100644 index 0000000000000000000000000000000000000000..1990ae208e6c888f1d0e61257a0c24b11300bd18 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/browser/chunker_wasm-FWDBRYQI.js @@ -0,0 +1,1943 @@ +"use strict";Object.defineProperty(exports, "__esModule", {value: true}); + +var _chunkUICA3PK6js = require('./chunk-UICA3PK6.js'); + +// src/vendor/xet-chunk/chunker_wasm_bg.js +var chunker_wasm_bg_exports = {}; +_chunkUICA3PK6js.__export.call(void 0, chunker_wasm_bg_exports, { + Chunker: () => Chunker, + __wbg_String_8f0eb39a4a4c2f66: () => __wbg_String_8f0eb39a4a4c2f66, + __wbg_buffer_609cc3eee51ed158: () => __wbg_buffer_609cc3eee51ed158, + __wbg_call_672a4d21634d4a24: () => __wbg_call_672a4d21634d4a24, + __wbg_done_769e5ede4b31c67b: () => __wbg_done_769e5ede4b31c67b, + __wbg_get_67b2ba62fc30de12: () => __wbg_get_67b2ba62fc30de12, + __wbg_get_b9b93047fe3cf45b: () => __wbg_get_b9b93047fe3cf45b, + __wbg_getwithrefkey_1dc361bd10053bfe: () => __wbg_getwithrefkey_1dc361bd10053bfe, + __wbg_instanceof_ArrayBuffer_e14585432e3737fc: () => __wbg_instanceof_ArrayBuffer_e14585432e3737fc, + __wbg_instanceof_Uint8Array_17156bcf118086a9: () => __wbg_instanceof_Uint8Array_17156bcf118086a9, + __wbg_isArray_a1eab7e0d067391b: () => __wbg_isArray_a1eab7e0d067391b, + __wbg_isSafeInteger_343e2beeeece1bb0: () => __wbg_isSafeInteger_343e2beeeece1bb0, + __wbg_iterator_9a24c88df860dc65: () => __wbg_iterator_9a24c88df860dc65, + __wbg_length_a446193dc22c12f8: () => __wbg_length_a446193dc22c12f8, + __wbg_length_e2d2a49132c1b256: () => __wbg_length_e2d2a49132c1b256, + __wbg_new_405e22f390576ce2: () => __wbg_new_405e22f390576ce2, + __wbg_new_78feb108b6472713: () => __wbg_new_78feb108b6472713, + __wbg_new_a12002a7f91c75be: () => __wbg_new_a12002a7f91c75be, + __wbg_next_25feadfc0913fea9: () => __wbg_next_25feadfc0913fea9, + __wbg_next_6574e1a8a62d1055: () => __wbg_next_6574e1a8a62d1055, + __wbg_set_37837023f3d740e8: () => __wbg_set_37837023f3d740e8, + __wbg_set_3f1d0b984ed272ed: () => __wbg_set_3f1d0b984ed272ed, + __wbg_set_65595bdd868b3009: () => __wbg_set_65595bdd868b3009, + __wbg_set_wasm: () => __wbg_set_wasm, + __wbg_value_cd1ffa7b1ab794f1: () => __wbg_value_cd1ffa7b1ab794f1, + __wbindgen_as_number: () => __wbindgen_as_number, + __wbindgen_boolean_get: () => __wbindgen_boolean_get, + __wbindgen_debug_string: () => __wbindgen_debug_string, + __wbindgen_error_new: () => __wbindgen_error_new, + __wbindgen_in: () => __wbindgen_in, + __wbindgen_init_externref_table: () => __wbindgen_init_externref_table, + __wbindgen_is_function: () => __wbindgen_is_function, + __wbindgen_is_object: () => __wbindgen_is_object, + __wbindgen_is_undefined: () => __wbindgen_is_undefined, + __wbindgen_jsval_loose_eq: () => __wbindgen_jsval_loose_eq, + __wbindgen_memory: () => __wbindgen_memory, + __wbindgen_number_get: () => __wbindgen_number_get, + __wbindgen_number_new: () => __wbindgen_number_new, + __wbindgen_string_get: () => __wbindgen_string_get, + __wbindgen_string_new: () => __wbindgen_string_new, + __wbindgen_throw: () => __wbindgen_throw, + compute_file_hash: () => compute_file_hash, + compute_hmac: () => compute_hmac, + compute_verification_hash: () => compute_verification_hash, + compute_xorb_hash: () => compute_xorb_hash +}); +var wasm; +function __wbg_set_wasm(val) { + wasm = val; +} +var WASM_VECTOR_LEN = 0; +var cachedUint8ArrayMemory0 = null; +function getUint8ArrayMemory0() { + if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) { + cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer); + } + return cachedUint8ArrayMemory0; +} +var lTextEncoder = typeof TextEncoder === "undefined" ? (0, module.require)("util").TextEncoder : TextEncoder; +var cachedTextEncoder = new lTextEncoder("utf-8"); +var encodeString = typeof cachedTextEncoder.encodeInto === "function" ? function(arg, view) { + return cachedTextEncoder.encodeInto(arg, view); +} : function(arg, view) { + const buf = cachedTextEncoder.encode(arg); + view.set(buf); + return { + read: arg.length, + written: buf.length + }; +}; +function passStringToWasm0(arg, malloc, realloc) { + if (realloc === void 0) { + const buf = cachedTextEncoder.encode(arg); + const ptr2 = malloc(buf.length, 1) >>> 0; + getUint8ArrayMemory0().subarray(ptr2, ptr2 + buf.length).set(buf); + WASM_VECTOR_LEN = buf.length; + return ptr2; + } + let len = arg.length; + let ptr = malloc(len, 1) >>> 0; + const mem = getUint8ArrayMemory0(); + let offset = 0; + for (; offset < len; offset++) { + const code = arg.charCodeAt(offset); + if (code > 127) + break; + mem[ptr + offset] = code; + } + if (offset !== len) { + if (offset !== 0) { + arg = arg.slice(offset); + } + ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0; + const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len); + const ret = encodeString(arg, view); + offset += ret.written; + ptr = realloc(ptr, len, offset, 1) >>> 0; + } + WASM_VECTOR_LEN = offset; + return ptr; +} +var cachedDataViewMemory0 = null; +function getDataViewMemory0() { + if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || cachedDataViewMemory0.buffer.detached === void 0 && cachedDataViewMemory0.buffer !== wasm.memory.buffer) { + cachedDataViewMemory0 = new DataView(wasm.memory.buffer); + } + return cachedDataViewMemory0; +} +function addToExternrefTable0(obj) { + const idx = wasm.__externref_table_alloc(); + wasm.__wbindgen_export_4.set(idx, obj); + return idx; +} +function handleError(f, args) { + try { + return f.apply(this, args); + } catch (e) { + const idx = addToExternrefTable0(e); + wasm.__wbindgen_exn_store(idx); + } +} +function debugString(val) { + const type = typeof val; + if (type == "number" || type == "boolean" || val == null) { + return `${val}`; + } + if (type == "string") { + return `"${val}"`; + } + if (type == "symbol") { + const description = val.description; + if (description == null) { + return "Symbol"; + } else { + return `Symbol(${description})`; + } + } + if (type == "function") { + const name = val.name; + if (typeof name == "string" && name.length > 0) { + return `Function(${name})`; + } else { + return "Function"; + } + } + if (Array.isArray(val)) { + const length = val.length; + let debug = "["; + if (length > 0) { + debug += debugString(val[0]); + } + for (let i = 1; i < length; i++) { + debug += ", " + debugString(val[i]); + } + debug += "]"; + return debug; + } + const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val)); + let className; + if (builtInMatches && builtInMatches.length > 1) { + className = builtInMatches[1]; + } else { + return toString.call(val); + } + if (className == "Object") { + try { + return "Object(" + JSON.stringify(val) + ")"; + } catch (_) { + return "Object"; + } + } + if (val instanceof Error) { + return `${val.name}: ${val.message} +${val.stack}`; + } + return className; +} +var lTextDecoder = typeof TextDecoder === "undefined" ? (0, module.require)("util").TextDecoder : TextDecoder; +var cachedTextDecoder = new lTextDecoder("utf-8", { ignoreBOM: true, fatal: true }); +cachedTextDecoder.decode(); +function getStringFromWasm0(ptr, len) { + ptr = ptr >>> 0; + return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len)); +} +function isLikeNone(x) { + return x === void 0 || x === null; +} +function passArray8ToWasm0(arg, malloc) { + const ptr = malloc(arg.length * 1, 1) >>> 0; + getUint8ArrayMemory0().set(arg, ptr / 1); + WASM_VECTOR_LEN = arg.length; + return ptr; +} +function takeFromExternrefTable0(idx) { + const value = wasm.__wbindgen_export_4.get(idx); + wasm.__externref_table_dealloc(idx); + return value; +} +function compute_xorb_hash(chunks_array) { + let deferred2_0; + let deferred2_1; + try { + const ret = wasm.compute_xorb_hash(chunks_array); + var ptr1 = ret[0]; + var len1 = ret[1]; + if (ret[3]) { + ptr1 = 0; + len1 = 0; + throw takeFromExternrefTable0(ret[2]); + } + deferred2_0 = ptr1; + deferred2_1 = len1; + return getStringFromWasm0(ptr1, len1); + } finally { + wasm.__wbindgen_free(deferred2_0, deferred2_1, 1); + } +} +function compute_file_hash(chunks_array) { + let deferred2_0; + let deferred2_1; + try { + const ret = wasm.compute_file_hash(chunks_array); + var ptr1 = ret[0]; + var len1 = ret[1]; + if (ret[3]) { + ptr1 = 0; + len1 = 0; + throw takeFromExternrefTable0(ret[2]); + } + deferred2_0 = ptr1; + deferred2_1 = len1; + return getStringFromWasm0(ptr1, len1); + } finally { + wasm.__wbindgen_free(deferred2_0, deferred2_1, 1); + } +} +function passArrayJsValueToWasm0(array, malloc) { + const ptr = malloc(array.length * 4, 4) >>> 0; + for (let i = 0; i < array.length; i++) { + const add = addToExternrefTable0(array[i]); + getDataViewMemory0().setUint32(ptr + 4 * i, add, true); + } + WASM_VECTOR_LEN = array.length; + return ptr; +} +function compute_verification_hash(chunk_hashes) { + let deferred3_0; + let deferred3_1; + try { + const ptr0 = passArrayJsValueToWasm0(chunk_hashes, wasm.__wbindgen_malloc); + const len0 = WASM_VECTOR_LEN; + const ret = wasm.compute_verification_hash(ptr0, len0); + var ptr2 = ret[0]; + var len2 = ret[1]; + if (ret[3]) { + ptr2 = 0; + len2 = 0; + throw takeFromExternrefTable0(ret[2]); + } + deferred3_0 = ptr2; + deferred3_1 = len2; + return getStringFromWasm0(ptr2, len2); + } finally { + wasm.__wbindgen_free(deferred3_0, deferred3_1, 1); + } +} +function compute_hmac(hash_hex, hmac_key_hex) { + let deferred4_0; + let deferred4_1; + try { + const ptr0 = passStringToWasm0(hash_hex, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len0 = WASM_VECTOR_LEN; + const ptr1 = passStringToWasm0(hmac_key_hex, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + const ret = wasm.compute_hmac(ptr0, len0, ptr1, len1); + var ptr3 = ret[0]; + var len3 = ret[1]; + if (ret[3]) { + ptr3 = 0; + len3 = 0; + throw takeFromExternrefTable0(ret[2]); + } + deferred4_0 = ptr3; + deferred4_1 = len3; + return getStringFromWasm0(ptr3, len3); + } finally { + wasm.__wbindgen_free(deferred4_0, deferred4_1, 1); + } +} +var ChunkerFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => { +}, unregister: () => { +} } : new FinalizationRegistry((ptr) => wasm.__wbg_chunker_free(ptr >>> 0, 1)); +var Chunker = class { + __destroy_into_raw() { + const ptr = this.__wbg_ptr; + this.__wbg_ptr = 0; + ChunkerFinalization.unregister(this); + return ptr; + } + free() { + const ptr = this.__destroy_into_raw(); + wasm.__wbg_chunker_free(ptr, 0); + } + /** + * @param {number} target_chunk_size + */ + constructor(target_chunk_size) { + const ret = wasm.chunker_new(target_chunk_size); + this.__wbg_ptr = ret >>> 0; + ChunkerFinalization.register(this, this.__wbg_ptr, this); + return this; + } + /** + * @param {Uint8Array} data + * @returns {any} + */ + add_data(data) { + const ptr0 = passArray8ToWasm0(data, wasm.__wbindgen_malloc); + const len0 = WASM_VECTOR_LEN; + const ret = wasm.chunker_add_data(this.__wbg_ptr, ptr0, len0); + if (ret[2]) { + throw takeFromExternrefTable0(ret[1]); + } + return takeFromExternrefTable0(ret[0]); + } + /** + * @returns {any} + */ + finish() { + const ret = wasm.chunker_finish(this.__wbg_ptr); + if (ret[2]) { + throw takeFromExternrefTable0(ret[1]); + } + return takeFromExternrefTable0(ret[0]); + } +}; +function __wbg_String_8f0eb39a4a4c2f66(arg0, arg1) { + const ret = String(arg1); + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); +} +function __wbg_buffer_609cc3eee51ed158(arg0) { + const ret = arg0.buffer; + return ret; +} +function __wbg_call_672a4d21634d4a24() { + return handleError(function(arg0, arg1) { + const ret = arg0.call(arg1); + return ret; + }, arguments); +} +function __wbg_done_769e5ede4b31c67b(arg0) { + const ret = arg0.done; + return ret; +} +function __wbg_get_67b2ba62fc30de12() { + return handleError(function(arg0, arg1) { + const ret = Reflect.get(arg0, arg1); + return ret; + }, arguments); +} +function __wbg_get_b9b93047fe3cf45b(arg0, arg1) { + const ret = arg0[arg1 >>> 0]; + return ret; +} +function __wbg_getwithrefkey_1dc361bd10053bfe(arg0, arg1) { + const ret = arg0[arg1]; + return ret; +} +function __wbg_instanceof_ArrayBuffer_e14585432e3737fc(arg0) { + let result; + try { + result = arg0 instanceof ArrayBuffer; + } catch (_) { + result = false; + } + const ret = result; + return ret; +} +function __wbg_instanceof_Uint8Array_17156bcf118086a9(arg0) { + let result; + try { + result = arg0 instanceof Uint8Array; + } catch (_) { + result = false; + } + const ret = result; + return ret; +} +function __wbg_isArray_a1eab7e0d067391b(arg0) { + const ret = Array.isArray(arg0); + return ret; +} +function __wbg_isSafeInteger_343e2beeeece1bb0(arg0) { + const ret = Number.isSafeInteger(arg0); + return ret; +} +function __wbg_iterator_9a24c88df860dc65() { + const ret = Symbol.iterator; + return ret; +} +function __wbg_length_a446193dc22c12f8(arg0) { + const ret = arg0.length; + return ret; +} +function __wbg_length_e2d2a49132c1b256(arg0) { + const ret = arg0.length; + return ret; +} +function __wbg_new_405e22f390576ce2() { + const ret = new Object(); + return ret; +} +function __wbg_new_78feb108b6472713() { + const ret = new Array(); + return ret; +} +function __wbg_new_a12002a7f91c75be(arg0) { + const ret = new Uint8Array(arg0); + return ret; +} +function __wbg_next_25feadfc0913fea9(arg0) { + const ret = arg0.next; + return ret; +} +function __wbg_next_6574e1a8a62d1055() { + return handleError(function(arg0) { + const ret = arg0.next(); + return ret; + }, arguments); +} +function __wbg_set_37837023f3d740e8(arg0, arg1, arg2) { + arg0[arg1 >>> 0] = arg2; +} +function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) { + arg0[arg1] = arg2; +} +function __wbg_set_65595bdd868b3009(arg0, arg1, arg2) { + arg0.set(arg1, arg2 >>> 0); +} +function __wbg_value_cd1ffa7b1ab794f1(arg0) { + const ret = arg0.value; + return ret; +} +function __wbindgen_as_number(arg0) { + const ret = +arg0; + return ret; +} +function __wbindgen_boolean_get(arg0) { + const v = arg0; + const ret = typeof v === "boolean" ? v ? 1 : 0 : 2; + return ret; +} +function __wbindgen_debug_string(arg0, arg1) { + const ret = debugString(arg1); + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); +} +function __wbindgen_error_new(arg0, arg1) { + const ret = new Error(getStringFromWasm0(arg0, arg1)); + return ret; +} +function __wbindgen_in(arg0, arg1) { + const ret = arg0 in arg1; + return ret; +} +function __wbindgen_init_externref_table() { + const table = wasm.__wbindgen_export_4; + const offset = table.grow(4); + table.set(0, void 0); + table.set(offset + 0, void 0); + table.set(offset + 1, null); + table.set(offset + 2, true); + table.set(offset + 3, false); + ; +} +function __wbindgen_is_function(arg0) { + const ret = typeof arg0 === "function"; + return ret; +} +function __wbindgen_is_object(arg0) { + const val = arg0; + const ret = typeof val === "object" && val !== null; + return ret; +} +function __wbindgen_is_undefined(arg0) { + const ret = arg0 === void 0; + return ret; +} +function __wbindgen_jsval_loose_eq(arg0, arg1) { + const ret = arg0 == arg1; + return ret; +} +function __wbindgen_memory() { + const ret = wasm.memory; + return ret; +} +function __wbindgen_number_get(arg0, arg1) { + const obj = arg1; + const ret = typeof obj === "number" ? obj : void 0; + getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true); +} +function __wbindgen_number_new(arg0) { + const ret = arg0; + return ret; +} +function __wbindgen_string_get(arg0, arg1) { + const obj = arg1; + const ret = typeof obj === "string" ? obj : void 0; + var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); +} +function __wbindgen_string_new(arg0, arg1) { + const ret = getStringFromWasm0(arg0, arg1); + return ret; +} +function __wbindgen_throw(arg0, arg1) { + throw new Error(getStringFromWasm0(arg0, arg1)); +} + +// src/vendor/xet-chunk/chunker_wasm_bg.wasm.base64.ts +var wasmBase64 = atob( + ` +AGFzbQEAAAABwAIuYAJ/fwF/YAN/f38Bf2ACf38AYAN/f38AYAR/f39/AGABfwBgAW8Bf2ABfw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EQCACKAIEIgEhDQwBCyACQThqIAJBzwBqQdiQwAAQPiEGQYCAgIB4IQELIANBhAFPBEAgAxBvCyABQYCAgIB4 +Rw0CIABBgICAgHg2AgAgACAGNgIEDAULIAlFBEAgAigCECACQQA2AhBBAUcNCSACIAIoAhQ2AiQgAkEoaiIEIAJBJGoiAygCACUB +EB0EfiADKAIAJQEQCSIORAAAAAAAAODDZiEDIARC////////////AAJ+IA6ZRAAAAAAAAOBDYwRAIA6wDAELQoCAgICAgICAgH8L +QoCAgICAgICAgH8gAxsgDkT////////fQ2QbQgAgDiAOYRs3AwhCAQVCAAs3AwACfwJAIAIoAihBAUYEQCACKQMwIg9CAFkNAQsg +AkEkaiACQc8AakHIkMAAED4hBEEBDAELIA9CgICAgBBaBEAgAkEBOgA4IAIgDzcDQCMAQTBrIgMkACADQciQwAA2AgQgAyACQc8A +ajYCACADQQI2AgwgA0HIjMAANgIIIANCAjcCFCADIAOtQoCAgICQAYQ3AyggAyACQThqrUKAgICAoAGENwMgIAMgA0EgajYCECAD +QQhqEGQhBCADQTBqJABBAQwBCyAPpyEEQQALIAIoAiQiBUGEAU8EQCAFEG8LQQEhCUUNAgwBC0HVksAAQQYQgQEhBAsgAEGAgICA +eDYCACAAIAQ2AgQgAUGAgICAeHJBgICAgHhGDQMgBiABEMoBDAMLCyACKAIYIgMgAigCHEcNAAsgAUGAgICAeEYEQEHRksAAQQQQ +gAEhASAAQYCAgIB4NgIAIAAgATYCBAwBCyAJRQRAQdWSwABBBhCAASEEIABBgICAgHg2AgAgACAENgIEIAFFDQEgBiABEMoBDAEL +IAAgBDYCDCAAIA02AgggACAGNgIEIAAgATYCACACKAIgIgBBhAFPBEAgABBvCyACKAIQRQ0DIAIoAhQiA0GDAU0NAwwCCyACKAIg +IgBBhAFPBEAgABBvCyACKAIQRQ0CIAIoAhQiA0GDAUsNAQwCCyACQQxqIAJBzwBqQfiQwAAQPiEEIABBgICAgHg2AgAgACAENgIE +IAFBhAFJDQEgARBvDAELIA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AAgASACIAQoAgwRAQAEQEEBDwtBACEDA0AgAyAGRgRAQQAP +CyADQQFqIQMgACAFIAQoAhARAABFDQALIANBAWsgBkkPCyAAKAIcIAEgAiAAKAIgKAIMEQEADwsgACgCHCABIAIgACgCICgCDBEB +AAveCAIKfwF+IwBBgAJrIgQkACAEIAEpABg3AhggBCABKQAQNwIQIAQgASkACDcCCCAEIAEpAAA3AgACfyADQYEITwRAIARBIGoh +BSMAQeAAayIBJAAgAUE4aiIGQgA3AwAgAUEwaiIHQgA3AwAgAUEoaiIIQgA3AwAgAUEgaiIJQgA3AwAgAUEYaiIKQgA3AwAgAUEQ +aiILQgA3AwAgAUEIaiIMQgA3AwAgAUIANwMAIAIgAyAEQgBBECABQcAAECohAiABQdgAakIANwMAIAFB0ABqQgA3AwAgAUHIAGpC +ADcDACABQgA3A0ACQAJAAkACQCACQQNPBEADQCACQQV0IgJBwQBPDQIgASACIARBECABQUBrIg1BIBA9IgJBBXQiA0HBAE8NAyAD +QSFPDQQgASANIAMQNRogAkECSw0ACwsgBSABKQMANwAAIAVBOGogBikDADcAACAFQTBqIAcpAwA3AAAgBUEoaiAIKQMANwAAIAVB +IGogCSkDADcAACAFQRhqIAopAwA3AAAgBUEQaiALKQMANwAAIAVBCGogDCkDADcAACABQeAAaiQADAMLIAJBwABBgL7AABDOAQAL +IANBwABBkL7AABDOAQALIANBIEGgvsAAEM4BAAsgBEH4AGogBEEYaikCADcDACAEQfAAaiAEQRBqKQIANwMAIARB6ABqIARBCGop +AgA3AwAgBCAEKQIANwNgQcAAIQNBFAwBCyAEQcgBakIANwMAIARBwAFqQgA3AwAgBEG4AWpCADcDACAEQbABakIANwMAIARBqAFq +QgA3AwAgBEGYAWpCADcDACAEQRA6APoBIARBoAFqQgA3AwAgBEHYAWoiBSAEQQhqKQIANwMAIARB6AFqIgYgBEEYaikCADcDACAE +QeABaiIHIARBEGopAgA3AwAgBEIANwOQASAEIAQpAgA3A9ABIARBADsB+AEgBEIANwPwASAEQZABaiACIAMQRSEBIARB6ABqIAUp +AwA3AwAgBEHwAGogBykDADcDACAEQfgAaiAGKQMANwMAIARBKGogAUEIaikDADcDACAEQTBqIAFBEGopAwA3AwAgBEE4aiABQRhq +KQMANwMAIARBQGsgAUEgaikDADcDACAEQcgAaiABQShqKQMANwMAIARB0ABqIAFBMGopAwA3AwAgBEHYAGogAUE4aikDADcDACAE +IAQpA9ABNwNgIAQgASkDADcDICAEKQPwASEOIAQtAPgBIQMgBC0A+gEgBC0A+QFFckECcgshASAEIA43A4ABIAQgAzoAiAEgBCAB +OgCJASAEQagBaiICIARB+ABqKQMANwMAIARBoAFqIgUgBEHwAGopAwA3AwAgBEGYAWoiBiAEQegAaikDADcDACAEIAQpA2A3A5AB +IARBkAFqIARBIGogA0IAIAFBCHIQJyAAIAIpAwA3ABggACAFKQMANwAQIAAgBikDADcACCAAIAQpA5ABNwAAIARBgAJqJAALuAsB +BX8jAEEgayIEJAACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAQ4oBgEBAQEBAQEBAgQBAQMBAQEBAQEBAQEBAQEBAQEBAQEBAQgB +AQEBBwALIAFB3ABGDQQLIAJBAXFFIAFBgAZJcg0HAn8CQEERQQAgAUGvsARPGyICIAJBCHIiAyABQQt0IgIgA0ECdEHg+8AAaigC +AEELdEkbIgMgA0EEciIDIANBAnRB4PvAAGooAgBBC3QgAksbIgMgA0ECciIDIANBAnRB4PvAAGooAgBBC3QgAksbIgMgA0EBaiID +IANBAnRB4PvAAGooAgBBC3QgAksbIgMgA0EBaiIDIANBAnRB4PvAAGooAgBBC3QgAksbIgNBAnRB4PvAAGooAgBBC3QiBSACRiAC +IAVLaiADaiIDQSFNBEAgA0ECdEHg+8AAaiIGKAIAQRV2IQJB7wUhBQJ/AkAgA0EhRg0AIAYoAgRBFXYhBSADDQBBAAwBCyAGQQRr +KAIAQf///wBxCyEDAkAgBSACQX9zakUNACABIANrIQdB7wUgAiACQe8FTRshBiAFQQFrIQNBACEFA0AgAiAGRg0D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BwABBAEEQQYS7wAAQvAEACyABQcAAQRBBIEGUu8AAELwBAAsg +AUHAAEEgQTBBpLvAABC8AQALjAUBCH8CQCACQRBJBEAgACEDDAELAkAgAEEAIABrQQNxIgZqIgUgAE0NACAAIQMgASEEIAYEQCAG +IQcDQCADIAQtAAA6AAAgBEEBaiEEIANBAWohAyAHQQFrIgcNAAsLIAZBAWtBB0kNAANAIAMgBC0AADoAACADQQFqIARBAWotAAA6 +AAAgA0ECaiAEQQJqLQAAOgAAIANBA2ogBEEDai0AADoAACADQQRqIARBBGotAAA6AAAgA0EFaiAEQQVqLQAAOgAAIANBBmogBEEG +ai0AADoAACADQQdqIARBB2otAAA6AAAgBEEIaiEEIANBCGoiAyAFRw0ACwsgBSACIAZrIgdBfHEiCGohAwJAIAEgBmoiBEEDcUUE +QCADIAVNDQEgBCEBA0AgBSABKAIANgIAIAFBBGohASAFQQRqIgUgA0kNAAsMAQsgAyAFTQ0AIARBA3QiAkEYcSEGIARBfHEiCUEE +aiEBQQAgAmtBGHEhCiAJKAIAIQIDQCAFIAIgBnYgASgCACICIAp0cjYCACABQQRqIQEgBUEEaiIFIANJDQALCyAHQQNxIQIgBCAI +aiEBCwJAIAMgAiADaiIGTw0AIAJBB3EiBARAA0AgAyABLQAAOgAAIAFBAWohASADQQFqIQMgBEEBayIEDQALCyACQQFrQQdJDQAD +QCADIAEtAAA6AAAgA0EBaiABQQFqLQAAOgAAIANBAmogAUECai0AADoAACADQQNqIAFBA2otAAA6AAAgA0EEaiABQQRqLQAAOgAA +IANBBWogAUEFai0AADoAACADQQZqIAFBBmotAAA6AAAgA0EHaiABQQdqLQAAOgAAIAFBCGohASADQQhqIgMgBkcNAAsLIAALhAYC +AX8BfCMAQTBrIgIkAAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAAtAABBAWsOEQECAwQFBgcICQoLDA0O +DxARAAsgAiAALQABOgAIIAJBAjYCFCACQdi/wAA2AhAgAkIBNwIcIAIgAkEIaq1CgICAgOAHhDcDKCACIAJBKGo2AhggASgCHCAB +KAIgIAJBEGoQOAwRCyACIAApAwg3AwggAkECNgIUIAJB9L/AADYCECACQgE3AhwgAiACQQhqrUKAgICA8AeENwMoIAIgAkEoajYC +GCABKAIcIAEoAiAgAkEQahA4DBALIAIgACkDCDcDCCACQQI2AhQgAkH0v8AANgIQIAJCATcCHCACIAJBCGqtQoCAgICACIQ3Aygg +AiACQShqNgIYIAEoAhwgASgCICACQRBqEDgMDwsgACsDCCEDIAJBAjYCFCACQZTAwAA2AhAgAkIBNwIcIAIgAkEoaq1CgICAgJAI +hDcDCCACIAM5AyggAiACQQhqNgIYIAEoAhwgASgCICACQRBqEDgMDgsgAiAAKAIENgIIIAJBAjYCFCACQbDAwAA2AhAgAkIBNwIc +IAIgAkEIaq1CgICAgKAIhDcDKCACIAJBKGo2AhggASgCHCABKAIgIAJBEGoQOAwNCyACIAApAgQ3AgggAkEBNgIUIAJByMDAADYC +ECACQgE3AhwgAiACQQhqrUKAgICAsAiENwMoIAIgAkEoajYCGCABKAIcIAEoAiAgAkEQahA4DAwLIAFBxL/AAEEKELoBDAsLIAFB +0MDAAEEKELoBDAoLIAFB2sDAAEEMELoBDAkLIAFB5sDAAEEOELoBDAgLIAFB9MDAAEEIELoBDAcLIAFB/MDAAEEDELoBDAYLIAFB +/8DAAEEEELoBDAULIAFBg8HAAEEMELoBDAQLIAFBj8HAAEEPELoBDAMLIAFBnsHAAEENELoBDAILIAFBq8HAAEEOELoBDAELIAEg +ACgCBCAAKAIIELoBCyACQTBqJAAL/gUBBX8gAEEIayIBIABBBGsoAgAiA0F4cSIAaiECAkACQCADQQFxDQAgA0ECcUUNASABKAIA +IgMgAGohACABIANrIgFBkIfBACgCAEYEQCACKAIEQQNxQQNHDQFBiIfBACAANgIAIAIgAigCBEF+cTYCBCABIABBAXI2AgQgAiAA +NgIADwsgASADEFALAkACQAJAAkACQCACKAIEIgNBAnFFBEAgAkGUh8EAKAIARg0CIAJBkIfBACgCAEYNAyACIANBeHEiAhBQIAEg +ACACaiIAQQFyNgIEIAAgAWogADYCACABQZCHwQAoAgBHDQFBiIfBACAANgIADwsgAiADQX5xNgIEIAEgAEEBcjYCBCAAIAFqIAA2 +AgALIABBgAJJDQIgASAAEFVBACEBQaiHwQBBqIfBACgCAEEBayIANgIAIAANBEHwhMEAKAIAIgAEQANAIAFBAWohASAAKAIIIgAN +AAsLQaiHwQBB/x8gASABQf8fTRs2AgAPC0GUh8EAIAE2AgBBjIfBAEGMh8EAKAIAIABqIgA2AgAgASAAQQFyNgIEQZCHwQAoAgAg +AUYEQEGIh8EAQQA2AgBBkIfBAEEANgIACyAAQaCHwQAoAgAiA00NA0GUh8EAKAIAIgJFDQNBACEAQYyHwQAoAgAiBEEpSQ0CQeiE +wQAhAQNAIAIgASgCACIFTwRAIAIgBSABKAIEakkNBAsgASgCCCEBDAALAAtBkIfBACABNgIAQYiHwQBBiIfBACgCACAAaiIANgIA +IAEgAEEBcjYCBCAAIAFqIAA2AgAPCyAAQfgBcUH4hMEAaiECAn9BgIfBACgCACIDQQEgAEEDdnQiAHFFBEBBgIfBACAAIANyNgIA +IAIMAQsgAigCCAshACACIAE2AgggACABNgIMIAEgAjYCDCABIAA2AggPC0HwhMEAKAIAIgEEQANAIABBAWohACABKAIIIgENAAsL +QaiHwQBB/x8gACAAQf8fTRs2AgAgAyAETw0AQaCHwQBBfzYCAAsL6gQBCn8jAEEwayIDJAAgAyABNgIsIAMgADYCKCADQQM6ACQg +A0IgNwIcIANBADYCFCADQQA2AgwCfwJAAkACQCACKAIQIgpFBEAgAigCDCIARQ0BIAIoAggiASAAQQN0aiEEIABBAWtB/////wFx +QQFqIQcgAigCACEAA0AgAEEEaigCACIFBEAgAygCKCAAKAIAIAUgAygCLCgCDBEBAA0ECyABKAIAIANBDGogAUEEaigCABEAAA0D +IABBCGohACABQQhqIgEgBEcNAAsMAQsgAigCFCIARQ0AIABBBXQhCyAAQQFrQf///z9xQQFqIQcgAigCC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BEEYaiIDKAIIIQkgAygCACEOIAMoAgQiByEBAkACQAJAAn8CQAJA +AkAgByADKAIMIgVGIgZFBEAgBzUCDCESIAcoAgAhASACQdgBaiAHKAIEIgMgBygCCBA0IAIoAtgBIgpFBEAgAkHQAWogAkH4AWop +AwA3AwAgAkHIAWogAkHwAWopAwA3AwAgAkHAAWogAkHoAWopAwA3AwAgAiACKQPgATcDuAELIAEEQCADIAEQygELIAdBEGohASAK +QQFxRQ0BCyABIAVHBEAgBSABa0EEdiEDA0AgASgCACIKBEAgAUEEaigCACAKEMoBCyABQRBqIQEgA0EBayIDDQALCyAJRQ0BIA4g +CUEEdBDKASAGDQIMBQsgAkEwaiIDIAJB0AFqKQMANwMAIAJBKGoiBiACQcgBaikDADcDACACQSBqIgogAkHAAWopAwA3AwAgAiAC +KQO4ATcDGEH5gsEALQAAGkGgAUEIEL4BIgdFDQMgByACKQMYNwMAIAcgEjcDICAHQRhqIAMpAwA3AwAgB0EQaiAGKQMANwMAIAdB +CGogCikDADcDAEEBIQYgAkEBNgIUIAIgBzYCECACQQQ2AgwCfwJAIAEgBUYEQCABIQMMAQsgAkHgAWohCkHIACEMA0AgATUCDCES +IAEoAgAhAyACQdgBaiABKAIEIgsgASgCCBA0IAIoAtgBIg1FBEAgAkHQAWogCkEYaikDADcDACACQcgBaiAKQRBqKQMANwMAIAJB +wAFqIApBCGopAwA3AwAgAiAKKQMANwO4AQsgAwRAIAsgAxDKAQsgAUEQaiEDQQEgDUEBcQ0CGiACQeAAaiACQcABaikDACITNwMA +IAJB0ABqIg0gAkHQAWopAwA3AwAgAkHIAGoiDyACQcgBaikDADcDACACQUBrIhAgEzcDACACIAIpA7gBIhM3A1ggAiATNwM4IAIo +AgwgBkYEQCACQQxqIAZBAUEIQSgQWCACKAIQIQcLIAcgDGoiEUEgayILIAIpAzg3AwAgECkDACETIA8pAwAhFCANKQMAIRUgESAS +NwMAIAtBGGogFTcDACALQRBqIBQ3AwAgC0EIaiATNwMAIAIgBkEBa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QNqIAE6AAAgA0ECaiABOgAAIANBAWogAToAACADQQhqIgMgBEcNAAsLIAQgAiAF +ayICQXxxaiIDIARLBEAgAUH/AXFBgYKECGwhBQNAIAQgBTYCACAEQQRqIgQgA0kNAAsLIAJBA3EhAgsCQCADIAIgA2oiBU8NACAC +QQdxIgQEQANAIAMgAToAACADQQFqIQMgBEEBayIEDQALCyACQQFrQQdJDQADQCADIAE6AAAgA0EHaiABOgAAIANBBmogAToAACAD +QQVqIAE6AAAgA0EEaiABOgAAIANBA2ogAToAACADQQJqIAE6AAAgA0EBaiABOgAAIANBCGoiAyAFRw0ACwsgAAv+AgEEfwJAAkAC +QAJAAkACQAJ/AkAgByAIVgRAIAcgCH0gCFgNAwJAIAYgByAGfVQgByAGQgGGfSAIQgGGWnFFBEAgBiAIVg0BDAoLIAIgA0kNBQwI +CyAHIAYgCH0iBn0gBlYNCCACIANJDQUgASADaiEMIAEhCwJAA0AgAyAJRg0BIAlBAWohCSALQQFrIgsgA2oiCi0AAEE5Rg0ACyAK +IAotAABBAWo6AAAgAyAJa0EBaiADTw0HIApBAWpBMCAJQQFrEEMaDAcLQTEgA0UNAhogAUExOgAAIANBAUcNAUEwDAILIABBADYC +AA8LIAFBAWpBMCADQQFrEEMaQTALIQkgBEEBasEiBCAFwUwgAiADTXINAyAMIAk6AAAgA0EBaiEDDAMLIABBADYCAA8LIAMgAkGQ +4sAAEM4BAAsgAyACQfDhwAAQzgEACyACIANPDQAgAyACQYDiwAAQzgEACyAAIAQ7AQggACADNgIEIAAgATYCAA8LIABBADYCAAub +AwECfwJAAkACQAJAIAAtAGgiAwRAIANBwQBPDQMgACADaiABIAJBwAAgA2siAyACIANJGyIDEDUaIAAgAC0AaCADaiIEOgBoIAEg +A2ohASACIANrIgJFBEBBACECDAILIABBQGsgAEHAACAAKQNgIAAtAGogAC0AaUVyECcgAEIANwMAIABBADoAaCAAQQhqQgA3AwAg +AEEQakIANwMAIABBGGpCADcDACAAQSBqQgA3AwAgAEEoakIANwMAIABBMGpCADcDACAAQThqQgA3AwAgACAALQBpQQFqOgBpC0EA +IQMgAkHBAEkNASAAQUBrIQQgAC0AaSEDA0AgBCABQcAAIAApA2AgAC0AaiADQf8BcUVyECcgACAALQBpQQFqIgM6AGkgAUFAayEB +IAJBQGoiAkHAAEsNAAsgAC0AaCEECyAEQf8BcSIDQcEATw0CCyAAIANqIAEgAkHAACADayIBIAEgAksbIgEQNRogACAALQBoIAFq +OgBoIAAPCyADQcAAQfC8wAAQzQEACyADQcAAQfC8wAAQzQEAC+cCAQV/AkBBzf97QRAgACAAQRBNGyIAayABTQ0AIABBECABQQtq +QXhxIAFBC0kbIgRqQQxqECgiAkUNACACQQhrIQECQCAAQQFrIgMgAnFFBEAgASEADAELIAJBBGsiBSgCACIGQXhxIAIgA2pBACAA +a3FBCGsiAiAAQQAgAiABa0EQTRtqIgAgAWsiAmshAyAGQQNxBEAgACADIAAoAgRBAXFyQQJyNgIEIAAgA2oiAyADKAIEQQFyNgIE +IAUgAiAFKAIAQQFxckECcjYCACABIAJqIgMgAygCBEEBcjYCBCABIAIQQQwBCyABKAIAIQEgACADNgIEIAAgASACajYCAAsCQCAA +KAIEIgFBA3FFDQAgAUF4cSICIARBEGpNDQAgACAEIAFBAXFyQQJyNgIEIAAgBGoiASACIARrIgRBA3I2AgQgACACaiICIAIoAgRB +AXI2AgQgASAEEEELIABBCGohAwsgAwuCAwEHfyMAQRBrIgQkAAJAAkACQAJAAkAgASgCBCICRQ0AIAEoAgAhByACQQNxIQUCQCAC +QQRJBEBBACECDAELIAdBHGohAyACQXxxIQhBACECA0AgAygCACADQQhrKAIAIANBEGsoAgAgA0EYaygCACACampqaiECIANBIGoh +AyAIIAZBBGoiBkcNAAsLIAUEQCAGQQN0IAdqQQRqIQMDQCADKAIAIAJqIQIgA0EIaiEDIAVBAWsiBQ0ACwsgASgCDARAIAJBAEgN +ASAHKAIERSACQRBJcQ0BIAJBAXQhAgtBACEFIAJBAEgNAyACDQELQQEhA0EAIQ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ABcjoADiACIAFBDHZBP3FBgAFyOgANQQQMAgsgAkEMakECciEEIAIgAUEMdkHgAXI6AAwgAiABQQZ2QT9x +QYABcjoADUEDDAELIAJBDGpBAXIhBCACIAFBBnZBwAFyOgAMQQILIQMgBCABQT9xQYABcjoAACADIAAoAgAgACgCCCIBa0sEQCAA +IAEgAxBnIAAoAgghAQsgACgCBCABaiACQQxqIAMQNRogACABIANqNgIIDAELIAAoAggiAyAAKAIARgRAIABBnM3AABBsCyAAIANB +AWo2AgggACgCBCADaiABOgAACyACQRBqJABBAAvCAgECfyMAQRBrIgIkAAJAIAFBgAFPBEAgAkEANgIMAn8gAUGAEE8EQCABQYCA +BE8EQCACIAFBP3FBgAFyOgAPIAIgAUESdkHwAXI6AAwgAiABQQZ2QT9xQYABcjoADiACIAFBDHZBP3FBgAFyOgANQQQMAgsgAiAB +QT9xQYABcjoADiACIAFBDHZB4AFyOgAMIAIgAUEGdkE/cUGAAXI6AA1BAwwBCyACIAFBP3FBgAFyOgANIAIgAUEGdkHAAXI6AAxB +AgshASABIAAoAgAgACgCCCIDa0sEQCAAIAMgARBgIAAoAgghAwsgACgCBCADaiACQQxqIAEQNRogACABIANqNgIIDAELIAAoAggi +AyAAKAIARgRAIABBuMbAABBsCyAAKAIEIANqIAE6AAAgACADQQFqNgIICyACQRBqJABBAAvEAgEEfyAAQgA3AhAgAAJ/QQAgAUGA +AkkNABpBHyABQf///wdLDQAaIAFBBiABQQh2ZyIDa3ZBAXEgA0EBdGtBPmoLIgI2AhwgAkECdEHog8EAaiEEQQEgAnQiA0GEh8EA +KAIAcUUEQCAEIAA2AgAgACAENgIYIAAgADYCDCAAIAA2AghBhIfBAEGEh8EAKAIAIANyNgIADwsCQAJAIAEgBCgCACIDKAIEQXhx +RgRAIAMhAgwBCyABQRkgAkEBdmtBACACQR9HG3QhBQNAIAMgBUEddkEEcWpBEGoiBCgCACICRQ0CIAVBAXQhBSACIQMgAigCBEF4 +cSABRw0ACwsgAigCCCIBIAA2AgwgAiAANgIIIABBADYCGCAAIAI2AgwgACABNgIIDwsgBCAANgIAIAAgAzYCGCAAIAA2AgwgACAA +NgIIC/oCAgF/AX4jAEHgAWsiAiQAIAIgASkDADcDQCACIAEpAwg3A0ggAiABKQMQNwNQIAJCgICAgKAHIgMgAkHYAGqthDcDOCAC +IAMgAkHQAGqthDcDMCACIAMgAkHIAGqthDcDKCACIAMgAkFAa62ENwMgIAIgASkDGDcDWCACQQM6ANwBIAJBCDYC2AEgAkKggICA +MDcC0AEgAkKAgICAgAI3AsgBIAJBAjYCwAEgAkEDOgC8ASACQQg2ArgBIAJCoICAgCA3ArABIAJCgICAgIACNwKoASACQQI2AqAB +IAJBAzoAnAEgAkEINgKYASACQqCAgIAQNwKQASACQoCAgICAAjcCiAEgAkECNgKAASACQQM6AHwgAkEINgJ4IAJCIDcCcCACQoCA +gICAAjcCaCACQQI2AmAgAkEENgIcIAJBBDYCDCACQeS6wAA2AgggAkEENgIUIAIgAkHgAGo2AhggAiACQSBqNgIQIAAgAkEIahBH +IAJB4AFqJAALiwIBAX8jAEEQayICJAAgACgCACEAAn8gASgCACABKAIIcgRAIAJBADYCDCABIAJBDGoCfyAAQYABTwRAIABBgBBP +BEAgAEGAgARPBEAgAiAAQT9xQYABcjoADyACIABBEnZB8AFyOgAMIAIgAEEGdkE/cUGAAXI6AA4gAiAAQQx2QT9xQYABcjoADUEE +DAMLIAIgAEE/cUGAAXI6AA4gAiAAQQx2QeABcjoADCACIABBBnZBP3FBgAFyOgANQQMMAgsgAiAAQT9xQYABcjoADSACIABBBnZB +wAFyOgAMQQIMAQsgAiAAOgAMQQELEDEMAQsgASgCHCAAIAEoAiAoAhARAAALIAJBEGokAAv8AQIEfwF+IwBBIGsiBSQAAkACQCAE +RQ0AIAEgASACaiICSw0AIAMgBGpBAWtBACADa3GtIAIgACgCACIBQQF0IgYgAiAGSxsiAkEIQQRBASAEQYEISRsgBEEBRhsiBiAC +IAZLGyIGrX4iCUIgiFBFDQAgCaciCEG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+BkZyDQAgAS0ABkEuRiEDCyAAIAMgAC0ABHI6AAQgACgCACABIAIQugEgBkEQaiQAC9MBAgZ/AX4jAEEgayICJABBBCAAKAIAIgRB +AWoiAyAEQQF0IgUgAyAFSxsiAyADQQRNGyIFrUIUfiIIQiCIUEUEQEEAQQAgARCxAQALAkAgCKciB0H8////B00EQEEAIQMgAiAE +BH8gAiAEQRRsNgIcIAIgACgCBDYCFEEEBSADCzYCGCACQQhqQQQgByACQRRqEHMgAigCCEEBRw0BIAIoAgwhBiACKAIQIQMLIAYg +AyABELEBAAsgAigCDCEBIAAgBTYCACAAIAE2AgQgAkEgaiQAC94BAQR/IwBBEGsiAyQAIAAoAgwhAQJAAn8CQAJAAkACQAJAIAAo +AgQOAgABAgsgAQ0BQQEhAUEAIQBBASECDAMLIAFFDQELIANBBGogABBHIAMoAgQhACADKAIIIQIgAygCDAwCCyAAKAIAIgEoAgQi +AEEASA0CIAEoAgAhASAARQRAQQEhAkEAIQAMAQtB+YLBAC0AABpBASEEIABBARC+ASICRQ0CCyACIAEgABA1GiAACyEBIAIgARC0 +ASAABEAgAiAAEMoBCyADQRBqJAAPCyAEIABBlIvAABCxAQAL0AEBBX8jAEEgayIBJAAgACgCACIDQQFqIgIgA0EBdCIEIAIgBEsb +IgJB/////wBLBEBBAEEAQbiQwAAQsQEACwJAQQQgAiACQQRNGyICQQR0IgRB/P///wdNBH8gASADBH8gASADQQR0NgIcIAEgACgC +BDYCFEEEBUEACzYCGCABQQhqQQQgBCABQRRqEHMgASgCCEEBRw0BIAEoAhAhBSABKAIMBUEACyAFQbiQwAAQsQEACyABKAIMIQMg +ACACNgIAIAAgAzYCBCABQSBqJAAL8gEBAn8jAEEwayICJAACQCAAKQMAQv///////////wCDQoCAgICAgID4/wBaBEAgAkEBNgIU +IAJBvMHAADYCECACQgE3AhwgAiAArUKAgICAwAiENwMoIAIgAkEoajYCGCABKAIcIAEoAiAgAkEQahA4IQMMAQsgAkEAOgAMIAIg +ATYCCEEBIQ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AIwBBMGsiACQAQfiCwQAt +AAAEQCAAQQI2AgwgAEGIycAANgIIIABCATcCFCAAIAE2AiwgACAAQSxqrUKAgICAoAmENwMgIAAgAEEgajYCECAAQQhqQbDJwAAQ +nQEACyAAQTBqJAALnAICA38BfiMAQRBrIgEkACABQaiDwQA2AgQgAEGwg8EALQAAQQNHBH8gASABQQRqNgIIIAEgAUEIajYCDCAB +QQxqIQIjAEEgayIAJAACQAJAAkACQAJAAkACQEGwg8EALQAAQQFrDgMCBAEAC0Gwg8EAQQI6AAAgAigCACIDKAIAIQIgA0EANgIA +IAJFDQIgAigCAEKACDcDAEGwg8EAQQM6AAALIABBIGokAAwECyAAQQA2AhggAEEBNgIMIABBqLDAADYCCAwCC0HoscAAENEBAAsg +AEEANgIYIABBATYCDCAAQeiwwAA2AggLIABCBDcCECAAQQhqQeyvwAAQnQEACyABKAIEBUGog8EACykDABCuASABQRBqJABQC14B +AX8jAEEwayICJAAgAiABNgIMIAIgADYCCCACQQI2AhQgAkHojMAANgIQIAJCATcCHCACIAJBCGqtQoCAgICwAYQ3AyggAiACQShq +NgIYIAJBEGoQZCACQTBqJAALXgEBfyMAQTBrIgIkACACIAE2AgwgAiAANgIIIAJBAjYCFCACQYyNwAA2AhAgAkIBNwIcIAIgAkEI +aq1CgICAgLABhDcDKCACIAJBKGo2AhggAkEQahBkIAJBMGokAAtbAQF/IAEoAgAiBEEBcQRAIAAgASAEIARBfnEgAiADEG0PCyAE +IAQoAggiAUEBajYCCCABQQBOBEAgACAENgIMIAAgAzYCCCAAIAI2AgQgAEG8uMAANgIADwsAC2MBAX9BACEBAkAgA0EATgRAIANF +BEBBASEEDAILQfmCwQAtAAAaQQEhASADQQEQvgEiBA0BCyABIANBpLbAABCxAQALIAQgAiADEDUhASAAIAM2AgggACABNgIEIAAg +AzYCAAtYAQF/IAEoAgAiBEEBcQRAIAAgASAEIAQgAiADEG0PCyAEIAQoAggiAUEBajYCCCABQQBOBEAgACAENgIMIAAgAzYCCCAA +IAI2AgQgAEG8uMAANgIADwsAC1gBAX8jAEEgayIDJAAgA0EYaiACQRhqKQAANwMAIANBEGogAkEQaikAADcDACADQQhqIAJBCGop +AAA3AwAgAyACKQAANwMAIAAgAyABQSAQMiADQSBqJAALTgAjAEEgayIAJAAgAEEBNgIEIABB4L7AADYCACAAQgE3AgwgAELIvsCA +wAc3AxggACAAQRhqNgIIIAEoAhwgASgCICAAEDggAEEgaiQAC00BAX8jAEEwayIBJAAgAUEBNgIMIAFBsOTAADYCCCABQgE3AhQg +ASABQS9qrUKAgICAgAyENwMgIAEgAUEgajYCECABQQhqIAAQnQEAC0MAIAEoAgAiAUEBcQRAIAFBfnEgAiADEOUBIQEgACADNgII +IAAgATYCBCAAIAIgA2ogAWs2AgAPCyAAIAEgAiADEF4LOgEBfyMAQSBrIgAkACAAQQA2AhggAEEBNgIMIABBtMrAADYCCCAAQgQ3 +AhAgAEEIakHoysAAEJ0BAAtFAQF/IAIgACgCACAAKAIIIgNrSwRAIAAgAyACQQFBARBYIAAoAgghAwsgACgCBCADaiABIAIQNRog +ACACIANqNgIIQQALQQEBfyACIAAoAgAgACgCCCIDa0sEQCAAIAMgAhBgIAAoAgghAwsgACgCBCADaiABIAIQNRogACACIANqNgII +QQALQAAgASgCACIBQQFxBEAgASACIAMQ5QEhASAAIAM2AgggACABNgIEIAAgAiADaiABazYCAA8LIAAgASACIAMQXgtCAQF/IAAo +AgAiACgCMCIBBEAgACgCNCABEMoBCwJAIABBf0YNACAAIAAoAgRBAWsiATYCBCABDQAgAEHIABDKAQsLTwECf0H5gsEALQAAGiAB +KAIEIQIgASgCACEDQQhBBBC+ASIBRQRAQQRBCBDjAQALIAEgAjYCBCABIAM2AgAgAEHQycAANgIEIAAgATYCAAtBAQF/IAIgACgC +ACAAKAIIIgNrSwRAIAAgAyACEGcgACgCCCEDCyAAKAIEIANqIAEgAhA1GiAAIAIgA2o2AghBAAtCAQF/IwBBIGsiAyQAIANBADYC +ECADQQE2AgQgA0IENwIIIAMgATYCHCADIAA2AhggAyADQRhqNgIAIAMgAhCdAQALQAEBfyABKAIAIgEgASgCCCIEQQFqNgIIIARB +AEgEQAALIAAgATYCDCAAIAM2AgggACACNgIEIABBvLjAADYCAAs8ACAAIAEpAAA3AAAgAEEYaiABQRhqKQAANwAAIABBEGogAUEQ +aikAADcAACAAQQhqIAFBCGopAAA3AAALjgIBA38gACgCACECIAEoAhQiAEEQcUUEQCAAQSBxRQRAIAIgARDQAQ8LQQAhACMAQYAB +ayIEJAAgAigCACECA0AgACAEakH/AGogAkEPcSIDQTByIANBN2ogA0EKSRs6AAAgAEEBayEAIAJBD0sgAkEEdiECDQALIAFBAUHc +5sAAQQIgACAEakGAAWpBACAAaxAwIARBgAFqJAAPC0EAIQAjAEGAAWsiBCQAIAIoAgAhAgNAIAAgBGpB/wBqIAJBD3EiA0EwciAD +QdcAaiADQQpJGzoAACAAQQFrIQAgAkEPSyACQQR2IQINAAsgAUEBQdzmwABBAiAAIARqQYABakEAIABrEDAgBEGAAWokAAvgcwMj +fxp+AXwgASgCFEEBcSECIAArAwAhPwJAIAEoAghBAUYEQAJ/IAEhCCABKAIMIRNBACEAIwBB8AhrIgkkACA/vSEnAn9BAyA/mUQA +AAAAAADwf2ENABpBAiAnQoCAgICAgID4/wCDIiZCgICAgICAgPj/AFENABogJ0L/////////B4MiKUKAgICAgICACIQgJ0IBhkL+ +////////D4MgJ0I0iKdB/w9xIgEbIiVCAYMhKCAmUARAQQQgKVANARogAUGzCGshAEIBISYgKFAMAQtCgICAgICAgCAgJUIBhiAl +QoCAgICAgIAIUSIAGyElQgJCASAAGyEmQct3Qcx3IAAbIAFqIQAgKFALIQEgCSAAOwHoCCAJICY3A+AIIAlCATcD2AggCSAlNwPQ +CCAJIAE6AOoIAkACfwJAAkACQAJAIAFBAmsiAwRAQQEhAUG748AAQbzjwAAgJ0IAUyIGG0G748AAQQEgBhsgAhshGSAnQj+IpyAC +ciEcQQMgAyADQQNPG0ECaw4CAgMBCyAJQQM2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IAciBkEKTwRAIAVBlAVqIQEDQCAFKAK8BiIEQSlPDQoCQCAERQ0AIARBAnQhAAJ/IARB/////wNqIgJB/////wNx +IgNFBEBCACElIAVBnAVqIABqDAELIAAgAWohBCADQQFqQf7///8HcSEDQgAhJQNAIARBBGoiACAANQIAICVCIIaEIiVCgJTr3AOA +IiY+AgAgBCAENQIAICUgJkKAlOvcA359QiCGhCIlQoCU69wDgCImPgIAICUgJkKAlOvcA359ISUgBEEIayEEIANBAmsiAw0ACyAE +QQhqCyACQQFxDQBBBGsiACAANQIAICVCIIaEQoCU69wDgD4CAAsgBkEJayIGQQlLDQALCyAGQQJ0QZjhwABqKAIAQQF0IgFFDQUg +BSgCvAYiBEEpTw0IIAQEfyAEQQJ0IQAgAa0hJQJ/IARB/////wNqIgFB/////wNxIgJFBEBCACEmIAVBnAVqIABqDAELIAJBAWpB +/v///wdxIQMgACAFakGUBWohBEIAISYDQCAEQQRqIgAgADUCACAmQiCGhCImICWAIic+AgAgBCAENQIAICYgJSAnfn1CIIaEIiYg +JYAiJz4CACAmICUgJ359ISYgBEEIayEEIANBAmsiAw0ACyAEQQhqCyEAIAFBAXFFBEAgAEEEayIAIAA1AgAgJkIghoQgJYA+AgAL +IAUoArwGBUEACyEAIAUoAqwBIgEgACAAIAFJGyIAQShLDREgAEUEQEEAIQAMCAsgAEEBcSEMIABBAUYEQEEAIQYMBwsgAEE+cSER +QQAhBiAFQZwFaiEEIAVBDGohAwNAIAQgBCgCACINIAMoAgBqIgIgBkEBcWoiEDYCACAEQQRqIgYgBigCACIWIANBBGooAgBqIgYg +AiANSSACIBBLcmoiAjYCACAGIBZJIAIgBklyIQYgA0EIaiEDIARBCGohBCARIApBAmoiCkcNAAsMBgtB18/AAEEcQeDSwAAQkAEA +C0GE0MAAQR1B8NLAABCQAQALQbTQwABBHEGA08AAEJABAAtBmNLAAEE2QfDTwAAQkAEAC0HQ0cAAQTdB4NPAABCQAQALQdv4wABB +G0GU+MAAEJABAAsgDAR/IApB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EBRg0AGiALQQFqQTAgBkEB +axBDGkEwCyAPQQFqIQ8gHSAGIAdPcg0COgAAIAZBAWohBgwCCyAAIAdBkNPAABB9AAsgBiAHQaDTwAAQzgEACyAGIAdLDQELIBgg +DzsBCCAYIAY2AgQgGCALNgIAIAVBwAZqJAAMBgsgBiAHQbDTwAAQzgEACyAEQShBlPjAABDOAQALQShBKEGU+MAAEH0ACyABQShB +lPjAABDOAQALQaT4wABBGkGU+MAAEJABAAsgCUHICGogCUGYCGooAgA2AgAgCSAJKQKQCDcDwAgLIBQgCS4ByAgiAEgEQCAJQQhq +IAkoAsAIIAkoAsQIIAAgEyAJQZAIahBRIAkoAgwhASAJKAIIDAMLQQIhASAJQQI7AZAIIBNFBEBBASEBIAlBATYCmAggCUHD48AA +NgKUCCAJQZAIagwDCyAJIBM2AqAIIAlBADsBnAggCUECNgKYCCAJQbnjwAA2ApQIIAlBkAhqDAILQcTjwABBJUHs48AAEJABAAtB +ASEBIAlBATYCmAggCUHD48AANgKUCCAJQZAIagshACAJIAE2AswIIAkgADYCyAggCSAcNgLECCAJIBk2AsAIIAggCUHACGoQOSAJ +QfAIaiQADAELIABBKEGU+MAAEM4BAAsPCwJ/IAEhEUEAIQBBACEBIwBBgAFrIgQkACA/vSEmAn9BAyA/mUQAAAAAAADwf2ENABpB +AiAmQoCAgICAgID4/wCDIidCgICAgICAgPj/AFENABogJkL/////////B4MiKUKAgICAgICACIQgJkIBhkL+////////D4MgJkI0 +iKdB/w9xIgAbIiVCAYMhKCAnUARAQQQgKVANARogAEGzCGshAEIBIScgKFAMAQtCgICAgICAgCAgJUIBhiAlQoCAgICAgIAIUSID +GyElQgJCASADGyEnQct3Qcx3IAMbIABqIQAgKFALIQMgBCAAOwF4IAQgJzcDcCAEQgE3A2ggBCAlNwNgIAQgAzoAegJAAn8CQAJA +AkAgA0ECayIDBEBBASEAQbvjwABBvOPAACAmQgBTIgYbQbvjwABBASAGGyACGyEYQQEgJkI/iKcgAhshGUEDIAMgA0EDTxtBAmsO +AgMCAQsgBEEDNgIoIARBvePAADYCJCAEQQI7ASBBASEYQQEhACAEQSBqDAMLIARBAzYCKCAEQcDjwAA2AiQgBEECOwEgIARBIGoM +AgsgBEEgaiEGIARBD2oiDiEIIwBBMGsiAyQAAkACQAJ/AkACQAJAAkACQAJAAkACQCAEQeAAaiIMIgApAwAiJVBFBEAgACkDCCIn +UA0BIAApAxAiJlANAiAlICZ8IiYgJVQNAyAlICdUDQQgJkKAgICAgICAgCBaDQUgAyAALwEYIgA7AQggAyAlICd9Iic3AwAgACAA +QSBrIAAgJkKAgICAEFQiAhsiC0EQayALICZCIIYgJiACGyImQoCAgICAgMAAVCICGyILQQhrIAsgJkIQhiAmIAIbIiZCgICAgICA +gIABVCICGyILQQRrIAsgJkIIhiAmIAIbIiZCgICAgICAgIAQVCICGyILQQJrIAsgJkIEhiAmIAIbIiZCgICAgICAgIDAAFQiAhsg +JkIChiAmIAIbIihCAFkiC2siAmvBIglBAEgNBiADQn8gCa0iKYgiJiAngzcDECAmICdUDQogAyAAOwEIIAMgJTcDACADICUgJoM3 +AxAgJSAmVg0KQaB/IAJrwUHQAGxBsKcFakHOEG0iAEHRAE8NByAAQQR0IgBBgNTAAGopAwAiKkL/////D4MiJiAlIClCP4MiJYYi +K0IgiCI1fiIsQiCIIjEgKkIgiCIpIDV+IjJ8ICkgK0L/////D4MiKn4iK0IgiCI2fCEzICxC/////w+DICYgKn5CIIh8ICtC//// +/w+DfCI3QoCAgIAIfEIgiCErQgFBACACIABBiNTAAGovAQBqa0E/ca0iLIYiKkIBfSEuICYgJyAlhiIlQiCIIid+Ii1C/////w+D +ICYgJUL/////D4MiJX5CIIh8ICUgKX4iJUL/////D4N8Ij5CgICAgAh8QiCIITQgJyApfiE4ICVCIIghOSAtQiCIITogAEGK1MAA +ai8BACEJICkgKCALrYYiJUIgiCI7fiI8ICYgO34iJ0IgiCIvfCApICVC/////w+DIiV+IihCIIgiMHwgJ0L/////D4MgJSAmfkIg +iHwg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AAg +JiAofCEmICcgLnwhLSAsIC9WBEAgKCApfCEpICUgKHwhJSAnICh9IScgKCAtWA0BCwsgKCAtViECICYgK3whJQwFCyABQQFqIQEg +AkEKSSACQQpuIQJFDQALQdDfwAAQlwEACyABIAhqQQFrIQsgKiAxIDZ8IDdCgICAgAh8QiCIfCAyfEIKfiAvIDB8ID1CgICAgAh8 +QiCIfCA8fEIKfn0gKH58IS0gKUIKfiAmICp8fSEuICwgJn0hL0IAISkDQCAmICp8IiUgLFQgKSAvfCAmIC18WnJFBEBBACEADAUL +IAsgAkEBayICOgAAICkgLnwiMCAqVCEAICUgLFoNBSApICp9ISkgJSEmICogMFgNAAsMBAtBEUERQeDfwAAQfQALIAFBEUHw38AA +EH0ACwJAICUgKlogAnINACAqICUgKHwiJlggKiAlfSAmICp9VHENACAGQQA2AgAMBAsgJSA0QgN9WCAlQgJacUUEQCAGQQA2AgAM +BAsgBiAJOwEIIAYgAUEBajYCBAwCCyAmISULAkAgJSArWiAAcg0AICsgJSAqfCImWCArICV9ICYgK31UcQ0AIAZBADYCAAwCCyAl +IChCWH4gJ3xYICUgKEIUflpxRQRAIAZBADYCAAwCCyAGIAk7AQggBiABNgIECyAGIAg2AgALIANBMGokAAwBCyADQQA2AhgjAEEQ +ayIAJAAgACADNgIMIAAgA0EQajYCCCAAQQhqQajlwAAgAEEMakGo5cAAIANBGGpB/M3AABBLAAsCQCAEKAIgRQRAIARB0ABqIRAj +AEGgCmsiASQAAkACQAJAAkAgAQJ/AkACQAJAAkACQAJAIAwpAwAiJVBFBEAgDCkDCCInUA0BIAwpAxAiJlANAiAlICZ8IiggJVQN +AyAlICdUDQQgDCwAGiETIAwuARghACABICU+AgAgAUEBQQIgJUKAgICAEFQiAhs2AqABIAFBACAlQiCIpyACGzYCBCABQQhqQQBB +mAEQQxogASAnPgKkASABQQFBAiAnQoCAgIAQVCICGzYCxAIgAUEAICdCIIinIAIbNgKoASABQawBakEAQZgBEEMaIAEgJj4CyAIg +AUEBQQIgJkKAgICAEFQiAhs2AugDIAFBACAmQiCIpyACGzYCzAIgAUHQAmpBAEGYARBDGiABQfADakEAQZwBEEMaIAFBATYC7AMg +AUEBNgKMBSAArCAoQgF9eX1CwprB6AR+QoChzaC0AnxCIIinIgLBIQ0CQCAAQQBOBEAgASAAED8aIAFBpAFqIAAQPxogAUHIAmog +ABA/GgwBCyABQewDakEAIABrwRA/GgsCQCANQQBIBEAgAUEAIA1rQf//A3EiABApIAFBpAFqIAAQKSABQcgCaiAAECkMAQsgAUHs +A2ogAkH//wFxECkLIAEoAqABIQMgAUH8CGogAUGgARA1GiABIAM2ApwKIAEoAugDIgsgAyADIAtJGyICQShLDRIgAkUEQEEAIQIM +BwsgAkEBcSEJIAJBAUYNBSACQT5xIQogAUH8CGohACABQcgCaiEIA0AgACAFIAAoAgAiDyAIKAIAaiIGaiIFNgIAIABBBGoiDCAM +KAIAIhQgCEEEaigCAGoiDCAFIAZJIAYgD0lyaiIGNgIAIAYgDEkgDCAUSXIhBSAIQQhqIQggAEEIaiEAIAogB0ECaiIHRw0ACwwF +C0HXz8AAQRxB9M/AABCQAQALQYTQwABBHUGk0MAAEJABAAtBtNDAAEEcQdDQwAAQkAEAC0GY0sAAQTZB0NLAABCQAQALQdDRwABB +N0GI0sAAEJABAAsgCQR/IAdBAnQiACABQfwIamoiBiAGKAIAIgYgAUHIAmogAGooAgBqIgAgBWoiBzYCACAAIAZJIAAgB0tyBSAF +C0UNACACQShGDQMgAUH8CGogAkECdGpBATYCACACQQFqIQILIAEgAjYCnAogAiABKAKMBSIHIAIgB0sbIgBBKU8NAyAAQQJ0IQAC +QANAIAAEQEF/IABBBGsiACABQfwIamooAgAiAiAAIAFB7ANqaigCACIGRyACIAZLGyIIRQ0BDAILC0F/QQAgABshCAsgCCATSARA +IA1BAWohDQwCCwJAIANFBEBBACEDDAELIANBAWtB/////wNxIgBBAWoiAkEDcSEIAkAgAEEDSQRAIAEhAEIAISUMAQsgAkH8//// +B3EhBSABIQBCACElA0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MgDmohAiALIQBBfyEIAkADQCAAQX9GDQEgCEEBaiEI +IAAgDmogAEEBayEALQAAQTlGDQALIAAgDmoiAkEBaiIGIAYtAABBAWo6AAAgAEECaiALSw0BIAJBAmpBMCAIEEMaDAELIA5BMToA +ACALBEAgDkEBakEwIAsQQxoLIANBEUkEQCACQTA6AAAgDUEBaiENIAtBAmohAwwBCyADQRFBsNHAABB9AAsgA0ERTQRAIBAgDTsB +CCAQIAM2AgQgECAONgIAIAFBoApqJAAMBQsgA0ERQcDRwAAQzgEAC0EoQShBlPjAABB9AAsgAEEoQZT4wAAQzgEAC0Gk+MAAQRpB +lPjAABCQAQALIARB2ABqIARBKGooAgA2AgAgBCAEKQIgNwNQCyAEIAQoAlAgBCgCVCAELwFYQQAgBEEgahBRIAQoAgQhACAEKAIA +DAELIARBAjsBICAEQQE2AiggBEHD48AANgIkIARBIGoLIQEgBCAANgJcIAQgATYCWCAEIBk2AlQgBCAYNgJQIBEgBEHQAGoQOSAE +QYABaiQADAELIAZBKEGU+MAAEM4BAAsPCyACQShBlPjAABDOAQALOAACQCACQYCAxABGDQAgACACIAEoAhARAABFDQBBAQ8LIANF +BEBBAA8LIAAgAyAEIAEoAgwRAQALLQACQCAAIAEQogFFDQAgAARAQfmCwQAtAAAaIAAgARC+ASIBRQ0BCyABDwsACzcBAX8jAEEg +ayIBJAAgAUEANgIYIAFBATYCDCABQZD5wAA2AgggAUIENwIQIAFBCGogABCdAQALpgUBCH8jAEEQayIFJAAjAEEQayIGJAAgBkEE +aiEKIwBBoAFrIgQkACAEQSBqIgcgACABEDQCQAJAAkAgBCgCIEUEQCAEQRhqIARBQGsiCCkDADcDACAEQRBqIARBOGoiCSkDADcD +ACAEQQhqIARBMGoiCykDADcDACAEIAQpAyg3AwAgByACIAMQNCAEKAIgDQEgBEHgAGogCCkDADcDACAEQdgAaiAJKQMANwMAIARB +0ABqIAspAwA3AwAgBCAEKQMoNwNIIAcgBCAEQcgAahCFASAKIAcQVgwDCyAEQQE2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VBAAs2AhggA0EIakEEIA8gA0EUahBzIAMoAghBAUcNASADKAIQIQYgAygCDAVB +AAsgBkHcwsAAELEBAAsgAygCDCEHIAUgDDYCACAFIAc2AgQgA0EgaiQACyAEKAIYIAlBDGxqIgMgCDYCCCADIA42AgQgAyAINgIA +IAQgCUEBajYCHCALIABBBGoiAEcNAAsgAiABQQJ0EMoBIAQoAhghAyAEKAIUIgAgBCgCHCIBSw0BIAMhAAwHCyADRQ0CIANBDGwh +AiAAIQMMAQsgAEEMbCECIAENAgtBBCEAIAMgAhDKAQtBACEBDAMLIAMgAkEEIAFBDGwiAxC2ASIADQJBBCADQczCwAAQsQEACyAD +IAVBvMLAABCxAQALQezCwABBKBDcAQALIAogATYCBCAKIAA2AgAgBEEgaiQAIAogCigCBCIANgIQIAogCigCADYCDCAKIAA2Aggg +CkEUaiEPIwBB0ABrIgMkACADIApBCGoiACgCADYCFCADIAAoAgQiATYCECADIAE2AgwgAyABIAAoAghBDGxqNgIYIwBB4AFrIgIk +ACADQQxqIgEoAgghBiABKAIAIQ4gASgCBCIEIQACQAJAAkACfwJAAkACQCAEIAEoAgwiB0YiBUUEQCAEKAIAIQAgAkG4AWogBCgC +BCIBIAQoAggQNCAABEAgASAAEMoBCyAEQQxqIQAgAigCuAFBAXFFDQELIAcgAGtBDG4hASAAIAdHBEADQCAAKAIAIggEQCAAQQRq +KAIAIAgQygELIABBDGohACABQQFrIgENAAsLIAZFDQEgDiAGQQxsEMoBIAUNAgwFCyACQTBqIgEgAkHYAWopAwA3AwAgAkEoaiIE +IAJB0AFqKQMANwMAIAJBIGoiCCACQcgBaikDADcDACACIAIpA8ABNwMYQfmCwQAtAAAaQYABQQgQvgEiBUUNAyAFIAIpAxg3AwAg +BUEYaiABKQMANwMAIAVBEGogBCkDADcDACAFQQhqIAgpAwA3AwBBASEEIAJBATYCFCACIAU2AhAgAkEENgIMAn8CQCAAIAdGBEAg +ACEBDAELIAJBwAFqIQlBICEIA0AgACgCACEBIAJBuAFqI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ASIFRQ0CC0EAIQRBACECDAILQQEhAkEAIQUMAQtBASAGQZCCwAAQsQEACyAD +IAI2AgwgAyAENgIIIAMgBjYCBCADIAU2AgAgAUEwaiQAIAMoAgAgAygCBCADKAIIIAMoAgwgA0EQaiQAC5gDAQl/IwBBEGsiAiQA +EEgiAyAAJgEjAEEQayIGJAAgBkEEaiEEIwBB4ABrIgEkACABQUBrIAMQQiABKAJEIQMCQCABKAJAIghBgICAgHhHBEACQCABKAJI +IgdFBEAgAUEYakIANwMAIAFBEGpCADcDACABQQhqQgA3AwAgAUIANwMADAELIAFBIGoiCSADIAcQLSABQUBrIgdB1IbAABCSASAB +IAkgBxCFAQsgBCABEFYgCEUNASADIAhBKGwQygEMAQsgBEGAgICAeDYCACAEIAM2AgQLIAFB4ABqJAACQAJAIAICfyAGKAIEIgNB +gICAgHhGBEAgBigCCCEBQQAhBEEBDAELIAYoAgghAQJAIAYoAgwiBCADTwRAIAEhBQwBCyAERQRAQQEhBSABIAMQygEMAQsgASAD +QQEgBBC2ASIFRQ0CC0EAIQFBAAs2AgwgAiABNgIIIAIgBDYCBCACIAU2AgAgBkEQaiQADAELQQEgBEGQgsAAELEBAAsgAigCACAC +KAIEIAIoAgggAigCDCACQRBqJAAL+gECAn8BfiMAQRBrIgIkACACQQE7AQwgAiABNgIIIAIgADYCBCMAQRBrIgEkACACQQRqIgAp +AgAhBCABIAA2AgwgASAENwIEIwBBEGsiACQAIAFBBGoiASgCACICKAIMIQMCQAJAAkACQCACKAIEDgIAAQILIAMNAUEBIQJBACED +DAILIAMNACACKAIAIgIoAgQhAyACKAIAIQIMAQsgAEGAgICAeDYCACAAIAE2AgwgAEH8ycAAIAEoAgQgASgCCCIALQAIIAAtAAkQ +agALIAAgAzYCBCAAIAI2AgAgAEHgycAAIAEoAgQgASgCCCIALQAIIAAtAAkQagALmwYBCn8jAEEQayIGJAAjAEEgayIFJAACQAJA +AkAgAARAIABBCGsiByAHKAIAQQFqIgM2AgAgA0UNASAAKAIADQIgAEF/NgIAIAUgBzYCHCAFIAA2AhggBSAAQQhqIgM2AhQgBUEI +aiEJIwBBkAFrIgEkACABQQA2AhQgAUKAgICAwAA3AgwjAEFAaiICJAAgAkEIaiADQQFBAEEBEC4gAUEYaiIEQShqIAJBMGopAwA3 +AwAgBEEgaiACQShqKQMANwMAIARBGGogAkEgaikDADcDACAEQRBqIAJBGGopAwA3AwAgBEEIaiACQRBqKQMANwMAIAQgAikDCDcD +ACACQUBrJAAgASgCGARAIAFB8ABqIAFBQGspAwA3AwAgAUHoAGogAUE4aikDADcDACABQeAAaiABQTBqKQMANwMAIAFB2ABqIgIg +AUEoaikDADcDACABQdAAaiIEIAFBIGopAwA3AwAgASABKQMYNwNIIAIQfyEIIAFB/ABqIAIQViABIAg6AIwBIAEgBCgCACICNgKI +ASABQdQAaiABKAJMIAIgASgCSCgCEBEDACABKAIUIgIgASgCDEYEQCABQQxqQcSGwAAQYwsgASgCECACQRRsaiIEIAEpAnw3AgAg +BEEIaiABQYQBaikCADcCACAEQRBqIAFBjAFqKAIANgIAIANBAToAMCABIAJBAWo2AhQLIAFBADYCGCABIAFBGGogAUEMahBhIAEo +AgQhBCABKAIAIQggASgCFCICBEAgASgCECEDA0AgAygCACIKBEAgA0EEaigCACAKEMoBCyADQRRqIQMgAkEBayICDQALCyABKAIM +IgMEQCABKAIQIANBFGwQygELIAkgBDYCBCAJIAg2AgAgAUGQAWokACAFKAIMIQMgBSgCCCEBIABBADYCACAHIAcoAgBBAWsiADYC +ACAARQRAIAVBHGoQjQELIAYgATYCCCAGIANBACABQQFxIgAbNgIEIAZBACADIAAbNgIAIAVBIGokAAwDCxDdAQsACxDeAQALIAYo +AgAgBigCBCAGKAIIIAZBEGokAAshAAJAIAEgAxCiAQRAIAAgASADIAIQtgEiAA0BCwALIAALJQAgAEUEQEGAtcAAQTIQ3AEACyAA +IAIgAyAEIAUgASgCEBESAAsgAQF/QQEhASAAKAIAIgBBAXEEfyABBSAAKAIIQQFGCwsZAQF/Q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+AgAgA0ECNgIMIANBkPrAADYCCCADQgI3AhQgAyADQQRqrUKAgICAoAmENwMoIAMgA61CgICAgKAJhDcDICADIANBIGo2AhAgA0EI +aiACEJ0BAAtrAQF/IwBBMGsiAyQAIAMgATYCBCADIAA2AgAgA0ECNgIMIANBsPrAADYCCCADQgI3AhQgAyADQQRqrUKAgICAoAmE +NwMoIAMgA61CgICAgKAJhDcDICADIANBIGo2AhAgA0EIaiACEJ0BAAtrAQF/IwBBMGsiAyQAIAMgATYCBCADIAA2AgAgA0ECNgIM +IANB5PrAADYCCCADQgI3AhQgAyADQQRqrUKAgICAoAmENwMoIAMgA61CgICAgKAJhDcDICADIANBIGo2AhAgA0EIaiACEJ0BAAsL +ACAAKAIAIAEQTAsPAEG45MAAQSsgABCQAQALDQAgACkDAEEBIAEQSQsOACABQYCFwABBBRC6AQsOACABQbyFwABBEBC6AQsOACAB +QaSLwABBBRC6AQsOACABQbiPwABBChC6AQsMACAAKAIAIAEQ0gEL8QMBAX8gACgCACECIwBBkAJrIgAkACAAIAIpAwA3A3AgACAC +KQMINwN4IAAgAikDEDcDgAEgACAAQYgBaq1CgICAgKAHhDcDaCAAIABBgAFqrUKAgICAoAeENwNgIAAgAEH4AGqtQoCAgICgB4Q3 +A1ggACAAQfAAaq1CgICAgKAHhDcDUCAAIAIpAxg3A4gBIABBAzoAjAIgAEEINgKIAiAAQqCAgIAwNwKAAiAAQoCAgICAAjcC+AEg +AEECNgLwASAAQQM6AOwBIABBCDYC6AEgAEKggICAIDcC4AEgAEKAgICAgAI3AtgBIABBAjYC0AEgAEEDOgDMASAAQQg2AsgBIABC +oICAgBA3AsABIABCgICAgIACNwK4ASAAQQI2ArABIABBAzoArAEgAEEINgKoASAAQiA3AqABIABCgICAgIACNwKYASAAQQI2ApAB +IABBBDYCTCAAQQQ2AjwgAEHkusAANgI4IABBBDYCRCAAIABBkAFqNgJIIAAgAEHQAGo2AkAgAEEsaiICIABBOGoQRyAAIAKtQoCA +gICwB4Q3AyAgAEEBNgIMIABB9LvAADYCCCAAQgE3AhQgACAAQSBqNgIQIAEoAhwgASgCICAAQQhqEDggACgCLCICBEAgACgCMCAC +EMoBCyAAQZACaiQACw0AIABBiJLAACABEDgLDgAgAUG0tsAAQQsQugELDQAgAEGkv8AAIAEQOAsJACAAIAEQJAALDQBBgMXAAEEb +ENwBAAsOAEGbxcAAQc8AENwBAAsNACAAQaTHwAAgARA4CwwAIAAgASkCADcDAAsNACAAQYDLwAAgARA4Cw4AIAFB+MrAAEEFELoB +CxoAIAAgAUHUg8EAKAIAIgBBywAgABsRAgAACwoAIAIgACABEDELxgkBCH8CQAJAIAIiBSAAIgcgAWtLBEAgASACaiEAIAIgB2oh +AiAFQRBJDQFBACACQQNxIgZrIQkCQCACQXxxIgMgAk8NACAGQQFrAkAgBkUEQCAAIQQMAQsgBiEIIAAhBANAIAJBAWsiAiAEQQFr +IgQtAAA6AAAgCEEBayIIDQALC0EDSQ0AIARBBGshBANAIAJBAWsgBEEDai0AADoAACACQQJrIARBAmotAAA6AAAgAkEDayAEQQFq +LQAAOgAAIAJBBGsiAiAELQAAOgAAIARBBGshBCACIANLDQALCyADIAUgBmsiBEF8cSIFayECQQAgBWshBgJAIAAgCWoiAEEDcUUE +QCACIANPDQEgASAEakEEayEBA0AgA0EEayIDIAEoAgA2AgAgAUEEayEBIAIgA0kNAAsMAQsgAiADTw0AIABBA3QiBUEYcSEIIABB +fHEiCUEEayEBQQAgBWtBGHEhCiAJKAIAIQUDQCADQQRrIgMgBSAKdCABKAIAIgUgCHZyNgIAIAFBBGshASACIANJDQALCyAEQQNx +IQUgACAGaiEADAELAkAgBUEQSQRAIAchAgwBCwJAIAdBACAHa0EDcSIGaiIEIAdNDQAgByECIAEhAyAGBEAgBiEAA0AgAiADLQAA +OgAAIANBAWohAyACQQFqIQIgAEEBayIADQALCyAGQQFrQQdJDQADQCACIAMtAAA6AAAgAkEBaiADQQFqLQAAOgAAIAJBAmogA0EC +ai0AADoAACACQQNqIANBA2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AGCA8ABB8ILBAAsBSQBwCXByb2R1Y2VycwIIbGFuZ3VhZ2UBBFJ1c3QA +DHByb2Nlc3NlZC1ieQMFcnVzdGMdMS44Ni4wICgwNWY5ODQ2ZjggMjAyNS0wMy0zMSkGd2FscnVzBjAuMjMuMwx3YXNtLWJpbmRn +ZW4HMC4yLjEwMABJD3RhcmdldF9mZWF0dXJlcwQrD211dGFibGUtZ2xvYmFscysIc2lnbi1leHQrD3JlZmVyZW5jZS10eXBlcysK +bXVsdGl2YWx1ZQ== +`.trim().replaceAll("\n", "") +); +var wasmBinary = new Uint8Array(wasmBase64.length); +for (let i = 0; i < wasmBase64.length; i++) { + wasmBinary[i] = wasmBase64.charCodeAt(i); +} + +// src/vendor/xet-chunk/chunker_wasm.ts +var initPromise = null; +async function init() { + if (initPromise) { + return initPromise; + } + let resolve; + let reject; + initPromise = new Promise((_resolve, _reject) => { + resolve = _resolve; + reject = _reject; + }); + await Promise.resolve(); + try { + const wasmModule = await WebAssembly.compile(wasmBinary); + const imports = Object.entries( + WebAssembly.Module.imports(wasmModule).reduce( + (result, item) => ({ + ...result, + // @ts-expect-error ok for any type + [item.module]: [...result[item.module] || [], item.name] + }), + {} + ) + ).map(([from, names]) => ({ from, names })); + const wasm2 = await WebAssembly.instantiate(wasmModule, { + "./hf_xet_thin_wasm_bg.js": Object.fromEntries( + // @ts-expect-error ok for any type + imports[0].names.map((name) => [name, chunker_wasm_bg_exports[name]]) + ) + }); + __wbg_set_wasm(wasm2.exports); + wasm2.exports.__wbindgen_start(); + resolve(); + } catch (error) { + reject(error); + } +} +init(); + + + + + + + +exports.Chunker = Chunker; exports.compute_file_hash = compute_file_hash; exports.compute_hmac = compute_hmac; exports.compute_verification_hash = compute_verification_hash; exports.compute_xorb_hash = compute_xorb_hash; exports.init = init; diff --git a/node_modules/@huggingface/hub/dist/browser/index.js b/node_modules/@huggingface/hub/dist/browser/index.js new file mode 100644 index 0000000000000000000000000000000000000000..521c7b83065f77b4d92bb7874e5990142f462998 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/browser/index.js @@ -0,0 +1,5459 @@ +"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } async function _asyncNullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return await rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class; var _class2; var _class3;require('./chunk-UICA3PK6.js'); + +// src/consts.ts +var HUB_URL = "https://huggingface.co"; + +// src/error.ts +async function createApiError(response, opts) { + const error = new HubApiError(response.url, response.status, _nullishCoalesce(response.headers.get("X-Request-Id"), () => ( _optionalChain([opts, 'optionalAccess', _2 => _2.requestId])))); + error.message = `Api error with status ${error.statusCode}${_optionalChain([opts, 'optionalAccess', _3 => _3.message]) ? `. ${opts.message}` : ""}`; + const trailer = [`URL: ${error.url}`, error.requestId ? `Request ID: ${error.requestId}` : void 0].filter(Boolean).join(". "); + if (_optionalChain([response, 'access', _4 => _4.headers, 'access', _5 => _5.get, 'call', _6 => _6("Content-Type"), 'optionalAccess', _7 => _7.startsWith, 'call', _8 => _8("application/json")])) { + const json = await response.json(); + error.message = json.error || json.message || error.message; + if (json.error_description) { + error.message = error.message ? error.message + `: ${json.error_description}` : json.error_description; + } + error.data = json; + } else { + error.data = { message: await response.text() }; + } + error.message += `. ${trailer}`; + throw error; +} +var HubApiError = class extends Error { + + + + + constructor(url, statusCode, requestId, message) { + super(message); + this.statusCode = statusCode; + this.requestId = requestId; + this.url = url; + } +}; +var InvalidApiResponseFormatError = class extends Error { +}; + +// src/utils/checkCredentials.ts +function checkAccessToken(accessToken) { + if (!accessToken.startsWith("hf_")) { + throw new TypeError("Your access token must start with 'hf_'"); + } +} +function checkCredentials(params) { + if (params.accessToken) { + checkAccessToken(params.accessToken); + return params.accessToken; + } + if (_optionalChain([params, 'access', _9 => _9.credentials, 'optionalAccess', _10 => _10.accessToken])) { + checkAccessToken(params.credentials.accessToken); + return params.credentials.accessToken; + } +} + +// src/utils/toRepoId.ts +function toRepoId(repo) { + if (typeof repo !== "string") { + return repo; + } + if (repo.startsWith("model/") || repo.startsWith("models/")) { + throw new TypeError( + "A repo designation for a model should not start with 'models/', directly specify the model namespace / name" + ); + } + if (repo.startsWith("space/")) { + throw new TypeError("Spaces should start with 'spaces/', plural, not 'space/'"); + } + if (repo.startsWith("dataset/")) { + throw new TypeError("Datasets should start with 'datasets/', plural, not 'dataset/'"); + } + if (repo.startsWith("bucket/")) { + throw new TypeError("Buckets should start with 'buckets/', plural, not 'bucket/'"); + } + const slashes = repo.split("/").length - 1; + if (repo.startsWith("spaces/")) { + if (slashes !== 2) { + throw new TypeError("Space Id must include namespace and name of the space"); + } + return { + type: "space", + name: repo.slice("spaces/".length) + }; + } + if (repo.startsWith("datasets/")) { + if (slashes > 2) { + throw new TypeError("Too many slashes in repo designation: " + repo); + } + return { + type: "dataset", + name: repo.slice("datasets/".length) + }; + } + if (repo.startsWith("buckets/")) { + if (slashes !== 2) { + throw new TypeError("Bucket Id must include namespace and name of the bucket"); + } + return { + type: "bucket", + name: repo.slice("buckets/".length) + }; + } + if (slashes > 1) { + throw new TypeError("Too many slashes in repo designation: " + repo); + } + return { + type: "model", + name: repo + }; +} + +// src/lib/check-repo-access.ts +async function checkRepoAccess(params) { + const accessToken = params && checkCredentials(params); + const repoId = toRepoId(params.repo); + const response = await (params.fetch || fetch)(`${_optionalChain([params, 'optionalAccess', _11 => _11.hubUrl]) || HUB_URL}/api/${repoId.type}s/${repoId.name}`, { + headers: { + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + }); + if (!response.ok) { + throw await createApiError(response); + } +} + +// src/utils/range.ts +function range(n, b) { + return b ? Array(b - n).fill(0).map((_, i) => n + i) : Array(n).fill(0).map((_, i) => i); +} + +// src/utils/chunk.ts +function chunk(arr, chunkSize) { + if (isNaN(chunkSize) || chunkSize < 1) { + throw new RangeError("Invalid chunk size: " + chunkSize); + } + if (!arr.length) { + return []; + } + if (arr.length <= chunkSize) { + return [arr]; + } + return range(Math.ceil(arr.length / chunkSize)).map((i) => { + return arr.slice(i * chunkSize, (i + 1) * chunkSize); + }); +} + +// src/utils/promisesQueue.ts +async function promisesQueue(factories, concurrency) { + const results = []; + const executing = /* @__PURE__ */ new Set(); + let index = 0; + for (const factory of factories) { + const closureIndex = index++; + const e = factory().then((r) => { + results[closureIndex] = r; + executing.delete(e); + }); + executing.add(e); + if (executing.size >= concurrency) { + await Promise.race(executing); + } + } + await Promise.all(executing); + return results; +} + +// src/utils/promisesQueueStreaming.ts +async function promisesQueueStreaming(factories, concurrency) { + const executing = []; + for await (const factory of factories) { + const e = factory().then(() => { + executing.splice(executing.indexOf(e), 1); + }); + executing.push(e); + if (executing.length >= concurrency) { + await Promise.race(executing); + } + } + await Promise.all(executing); +} + +// src/utils/eventToGenerator.ts +async function* eventToGenerator(cb) { + const promises = []; + function addPromise() { + let resolve2; + let reject; + const p = new Promise((res, rej) => { + resolve2 = res; + reject = rej; + }); + promises.push({ p, resolve: resolve2, reject }); + } + addPromise(); + const callbackRes = Promise.resolve().then( + () => cb( + (y) => { + addPromise(); + _optionalChain([promises, 'access', _12 => _12.at, 'call', _13 => _13(-2), 'optionalAccess', _14 => _14.resolve, 'call', _15 => _15({ done: false, value: y })]); + }, + (r) => { + addPromise(); + _optionalChain([promises, 'access', _16 => _16.at, 'call', _17 => _17(-2), 'optionalAccess', _18 => _18.resolve, 'call', _19 => _19({ done: true, value: r })]); + }, + (err) => _optionalChain([promises, 'access', _20 => _20.shift, 'call', _21 => _21(), 'optionalAccess', _22 => _22.reject, 'call', _23 => _23(err)]) + ) + ).catch((err) => _optionalChain([promises, 'access', _24 => _24.shift, 'call', _25 => _25(), 'optionalAccess', _26 => _26.reject, 'call', _27 => _27(err)])); + while (1) { + const p = promises[0]; + if (!p) { + throw new Error("Logic error in eventGenerator, promises should never be empty"); + } + const result = await p.p; + promises.shift(); + if (result.done) { + await callbackRes; + return result.value; + } + yield result.value; + } + throw new Error("Unreachable"); +} + +// src/utils/hexFromBytes.ts +function hexFromBytes(arr) { + if (globalThis.Buffer) { + return globalThis.Buffer.from(arr).toString("hex"); + } else { + const bin = []; + arr.forEach((byte) => { + bin.push(byte.toString(16).padStart(2, "0")); + }); + return bin.join(""); + } +} + +// src/utils/isBackend.ts +var isBrowser = typeof window !== "undefined" && typeof window.document !== "undefined"; +var isWebWorker = typeof self === "object" && self.constructor && self.constructor.name === "DedicatedWorkerGlobalScope"; +var isBackend = !isBrowser && !isWebWorker; + +// src/utils/isFrontend.ts +var isFrontend = !isBackend; + +// src/utils/sha256.ts +async function getWebWorkerCode() { + const sha256Module = await Promise.resolve().then(() => _interopRequireWildcard(require("./sha256-wrapper-DHTT2DPH.js"))); + return URL.createObjectURL(new Blob([sha256Module.createSHA256WorkerCode()])); +} +var pendingWorkers = []; +var runningWorkers = /* @__PURE__ */ new Set(); +var resolve; +var waitPromise = new Promise((r) => { + resolve = r; +}); +async function getWorker(poolSize) { + { + const worker2 = pendingWorkers.pop(); + if (worker2) { + runningWorkers.add(worker2); + return worker2; + } + } + if (!poolSize) { + const worker2 = new Worker(await getWebWorkerCode()); + runningWorkers.add(worker2); + return worker2; + } + if (poolSize <= 0) { + throw new TypeError("Invalid webworker pool size: " + poolSize); + } + while (runningWorkers.size >= poolSize) { + await waitPromise; + } + const worker = new Worker(await getWebWorkerCode()); + runningWorkers.add(worker); + return worker; +} +async function freeWorker(worker, poolSize) { + if (!poolSize) { + return destroyWorker(worker); + } + runningWorkers.delete(worker); + pendingWorkers.push(worker); + const r = resolve; + waitPromise = new Promise((r2) => { + resolve = r2; + }); + r(); +} +function destroyWorker(worker) { + runningWorkers.delete(worker); + worker.terminate(); + const r = resolve; + waitPromise = new Promise((r2) => { + resolve = r2; + }); + r(); +} +async function* sha256(buffer, opts) { + yield 0; + const maxCryptoSize = typeof _optionalChain([opts, 'optionalAccess', _28 => _28.useWebWorker]) === "object" && _optionalChain([opts, 'optionalAccess', _29 => _29.useWebWorker, 'access', _30 => _30.minSize]) !== void 0 ? opts.useWebWorker.minSize : 1e7; + if (buffer.size < maxCryptoSize && _optionalChain([globalThis, 'access', _31 => _31.crypto, 'optionalAccess', _32 => _32.subtle])) { + const res = hexFromBytes( + new Uint8Array( + await globalThis.crypto.subtle.digest("SHA-256", buffer instanceof Blob ? await buffer.arrayBuffer() : buffer) + ) + ); + yield 1; + return res; + } + if (isFrontend) { + if (_optionalChain([opts, 'optionalAccess', _33 => _33.useWebWorker])) { + try { + const poolSize = typeof _optionalChain([opts, 'optionalAccess', _34 => _34.useWebWorker]) === "object" ? opts.useWebWorker.poolSize : void 0; + const worker = await getWorker(poolSize); + let messageHandler; + let errorHandler; + const cleanup = () => { + worker.removeEventListener("message", messageHandler); + worker.removeEventListener("error", errorHandler); + }; + return yield* eventToGenerator((yieldCallback, returnCallback, rejectCallback) => { + messageHandler = (event) => { + if (event.data.sha256) { + cleanup(); + freeWorker(worker, poolSize); + returnCallback(event.data.sha256); + } else if (event.data.progress) { + yieldCallback(event.data.progress); + try { + _optionalChain([opts, 'access', _35 => _35.abortSignal, 'optionalAccess', _36 => _36.throwIfAborted, 'call', _37 => _37()]); + } catch (err) { + cleanup(); + destroyWorker(worker); + rejectCallback(err); + } + } else { + cleanup(); + destroyWorker(worker); + rejectCallback(event); + } + }; + errorHandler = (event) => { + cleanup(); + destroyWorker(worker); + rejectCallback(event.error); + }; + if (_optionalChain([opts, 'optionalAccess', _38 => _38.abortSignal])) { + try { + _optionalChain([opts, 'access', _39 => _39.abortSignal, 'optionalAccess', _40 => _40.throwIfAborted, 'call', _41 => _41()]); + } catch (err) { + cleanup(); + destroyWorker(worker); + rejectCallback(_nullishCoalesce(opts.abortSignal.reason, () => ( new DOMException("Aborted", "AbortError")))); + return; + } + const abortListener = () => { + cleanup(); + destroyWorker(worker); + rejectCallback(_nullishCoalesce(_optionalChain([opts, 'access', _42 => _42.abortSignal, 'optionalAccess', _43 => _43.reason]), () => ( new DOMException("Aborted", "AbortError")))); + _optionalChain([opts, 'access', _44 => _44.abortSignal, 'optionalAccess', _45 => _45.removeEventListener, 'call', _46 => _46("abort", abortListener)]); + }; + opts.abortSignal.addEventListener("abort", abortListener); + } + worker.addEventListener("message", messageHandler); + worker.addEventListener("error", errorHandler); + worker.postMessage({ file: buffer }); + }); + } catch (err) { + console.warn("Failed to use web worker for sha256", err); + } + } + if (!wasmModule) { + wasmModule = await Promise.resolve().then(() => _interopRequireWildcard(require("./sha256-wrapper-DHTT2DPH.js"))); + } + const sha2562 = await wasmModule.createSHA256(); + sha2562.init(); + const reader = buffer.stream().getReader(); + const total = buffer.size; + let bytesDone = 0; + while (true) { + const { done, value } = await reader.read(); + if (done) { + break; + } + sha2562.update(value); + bytesDone += value.length; + yield bytesDone / total; + _optionalChain([opts, 'optionalAccess', _47 => _47.abortSignal, 'optionalAccess', _48 => _48.throwIfAborted, 'call', _49 => _49()]); + } + return sha2562.digest("hex"); + } + if (!cryptoModule) { + cryptoModule = await Promise.resolve().then(() => _interopRequireWildcard(require("./sha256-node-FT2Y3VXD.js"))); + } + return yield* cryptoModule.sha256Node(buffer, { abortSignal: _optionalChain([opts, 'optionalAccess', _50 => _50.abortSignal]) }); +} +var cryptoModule; +var wasmModule; + +// src/utils/WebBlob.ts +var WebBlob = class extends Blob { + static async create(url, opts) { + const customFetch = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _51 => _51.fetch]), () => ( fetch)); + const response = await customFetch(url, { + method: "HEAD", + ..._optionalChain([opts, 'optionalAccess', _52 => _52.accessToken]) && { + headers: { + Authorization: `Bearer ${opts.accessToken}` + } + } + }); + const size = Number(response.headers.get("content-length")); + const contentType = response.headers.get("content-type") || ""; + const supportRange = response.headers.get("accept-ranges") === "bytes"; + if (!supportRange || size < (_nullishCoalesce(_optionalChain([opts, 'optionalAccess', _53 => _53.cacheBelow]), () => ( 1e6)))) { + return await (await customFetch(url)).blob(); + } + return new WebBlob(url, 0, size, contentType, true, customFetch, _optionalChain([opts, 'optionalAccess', _54 => _54.accessToken])); + } + + + + + + + + constructor(url, start, end, contentType, full, customFetch, accessToken) { + super([]); + this.url = url; + this.start = start; + this.end = end; + this.contentType = contentType; + this.full = full; + this.fetch = customFetch; + this.accessToken = accessToken; + } + get size() { + return this.end - this.start; + } + get type() { + return this.contentType; + } + slice(start = 0, end = this.size) { + if (start < 0 || end < 0) { + new TypeError("Unsupported negative start/end on WebBlob.slice"); + } + const slice = new WebBlob( + this.url, + this.start + start, + Math.min(this.start + end, this.end), + this.contentType, + start === 0 && end === this.size ? this.full : false, + this.fetch, + this.accessToken + ); + return slice; + } + async arrayBuffer() { + const result = await this.fetchRange(); + return result.arrayBuffer(); + } + async text() { + const result = await this.fetchRange(); + return result.text(); + } + stream() { + const stream = new TransformStream(); + this.fetchRange().then((response) => _optionalChain([response, 'access', _55 => _55.body, 'optionalAccess', _56 => _56.pipeThrough, 'call', _57 => _57(stream)])).catch((error) => stream.writable.abort(error.message)); + return stream.readable; + } + fetchRange() { + const fetch2 = this.fetch; + if (this.full) { + return fetch2(this.url, { + ...this.accessToken && { + headers: { + Authorization: `Bearer ${this.accessToken}` + } + } + }).then((resp) => resp.ok ? resp : createApiError(resp)); + } + return fetch2(this.url, { + headers: { + Range: `bytes=${this.start}-${this.end - 1}`, + ...this.accessToken && { Authorization: `Bearer ${this.accessToken}` } + } + }).then((resp) => resp.ok ? resp : createApiError(resp)); + } +}; + +// src/utils/base64FromBytes.ts +function base64FromBytes(arr) { + if (globalThis.Buffer) { + return globalThis.Buffer.from(arr).toString("base64"); + } else { + const bin = []; + arr.forEach((byte) => { + bin.push(String.fromCharCode(byte)); + }); + return globalThis.btoa(bin.join("")); + } +} + +// src/utils/createBlobs.ts +async function createBlobs(url, destPath, opts) { + if (url.protocol === "http:" || url.protocol === "https:") { + const blob = await WebBlob.create(url, { fetch: _optionalChain([opts, 'optionalAccess', _58 => _58.fetch]), accessToken: _optionalChain([opts, 'optionalAccess', _59 => _59.accessToken]) }); + return [{ path: destPath, blob }]; + } + if (isFrontend) { + throw new TypeError(`Unsupported URL protocol "${url.protocol}"`); + } + if (url.protocol === "file:") { + const { FileBlob } = await Promise.resolve().then(() => _interopRequireWildcard(require("./FileBlob-YC2EPDW4.js"))); + const { subPaths } = await Promise.resolve().then(() => _interopRequireWildcard(require("./sub-paths-RH3O65LG.js"))); + const paths = await subPaths(url, _optionalChain([opts, 'optionalAccess', _60 => _60.maxFolderDepth])); + if (paths.length === 1 && paths[0].relativePath === ".") { + const blob = await FileBlob.create(url); + return [{ path: destPath, blob }]; + } + return Promise.all( + paths.map(async (path) => ({ + path: `${destPath}/${path.relativePath}`.replace(/\/[.]$/, "").replaceAll("//", "/").replace(/^[.]?\//, ""), + blob: await FileBlob.create(new URL(path.path)) + })) + ); + } + throw new TypeError(`Unsupported URL protocol "${url.protocol}"`); +} + +// src/utils/combineUint8Arrays.ts +function combineUint8Arrays(a, b) { + const aLength = a.length; + const combinedBytes = new Uint8Array(aLength + b.length); + combinedBytes.set(a); + combinedBytes.set(b, aLength); + return combinedBytes; +} + +// src/vendor/lz4js/util.ts +function hashU32(a) { + a = a | 0; + a = a + 2127912214 + (a << 12) | 0; + a = a ^ -949894596 ^ a >>> 19; + a = a + 374761393 + (a << 5) | 0; + a = a + -744332180 ^ a << 9; + a = a + -42973499 + (a << 3) | 0; + return a ^ -1252372727 ^ a >>> 16 | 0; +} +function readU64(b, n) { + let x = 0; + x |= b[n++] << 0; + x |= b[n++] << 8; + x |= b[n++] << 16; + x |= b[n++] << 24; + x |= b[n++] << 32; + x |= b[n++] << 40; + x |= b[n++] << 48; + x |= b[n++] << 56; + return x; +} +function readU32(b, n) { + let x = 0; + x |= b[n++] << 0; + x |= b[n++] << 8; + x |= b[n++] << 16; + x |= b[n++] << 24; + return x; +} +function writeU32(b, n, x) { + b[n++] = x >> 0 & 255; + b[n++] = x >> 8 & 255; + b[n++] = x >> 16 & 255; + b[n++] = x >> 24 & 255; +} +function imul(a, b) { + const ah = a >>> 16; + const al = a & 65535; + const bh = b >>> 16; + const bl = b & 65535; + return al * bl + (ah * bl + al * bh << 16) | 0; +} + +// src/vendor/lz4js/xxh32.ts +var prime1 = 2654435761; +var prime2 = 2246822519; +var prime3 = 3266489917; +var prime4 = 668265263; +var prime5 = 374761393; +function rotl32(x, r) { + x = x | 0; + r = r | 0; + return x >>> (32 - r | 0) | x << r | 0; +} +function rotmul32(h, r, m) { + h = h | 0; + r = r | 0; + m = m | 0; + return imul(h >>> (32 - r | 0) | h << r, m) | 0; +} +function shiftxor32(h, s) { + h = h | 0; + s = s | 0; + return h >>> s ^ h | 0; +} +function xxhapply(h, src, m0, s, m1) { + return rotmul32(imul(src, m0) + h, s, m1); +} +function xxh1(h, src, index) { + return rotmul32(h + imul(src[index], prime5), 11, prime1); +} +function xxh4(h, src, index) { + return xxhapply(h, readU32(src, index), prime3, 17, prime4); +} +function xxh16(h, src, index) { + return [ + xxhapply(h[0], readU32(src, index + 0), prime2, 13, prime1), + xxhapply(h[1], readU32(src, index + 4), prime2, 13, prime1), + xxhapply(h[2], readU32(src, index + 8), prime2, 13, prime1), + xxhapply(h[3], readU32(src, index + 12), prime2, 13, prime1) + ]; +} +function xxh32(seed, src, index, len) { + let h; + const l = len; + if (len >= 16) { + h = [seed + prime1 + prime2, seed + prime2, seed, seed - prime1]; + while (len >= 16) { + h = xxh16(h, src, index); + index += 16; + len -= 16; + } + h = rotl32(h[0], 1) + rotl32(h[1], 7) + rotl32(h[2], 12) + rotl32(h[3], 18) + l; + } else { + h = seed + prime5 + len >>> 0; + } + while (len >= 4) { + h = xxh4(h, src, index); + index += 4; + len -= 4; + } + while (len > 0) { + h = xxh1(h, src, index); + index++; + len--; + } + h = shiftxor32(imul(shiftxor32(imul(shiftxor32(h, 15), prime2), 13), prime3), 16); + return h >>> 0; +} +var hash = xxh32; + +// src/vendor/lz4js/index.ts +var minMatch = 4; +var matchSearchLimit = 12; +var minTrailingLitterals = 5; +var skipTrigger = 6; +var hashSize = 1 << 16; +var mlBits = 4; +var mlMask = (1 << mlBits) - 1; +var runBits = 4; +var runMask = (1 << runBits) - 1; +var blockBuf = makeBuffer(5 << 20); +var hashTable = makeHashTable(); +var magicNum = 407708164; +var fdContentChksum = 4; +var fdContentSize = 8; +var fdBlockChksum = 16; +var fdVersion = 64; +var fdVersionMask = 192; +var bsUncompressed = 2147483648; +var bsDefault = 7; +var bsShift = 4; +var bsMask = 7; +var bsMap = { + 4: 65536, + 5: 262144, + 6: 1048576, + 7: 4194304 +}; +function makeHashTable() { + try { + return new Uint32Array(hashSize); + } catch (error) { + const hashTable2 = new Array(hashSize); + for (let i = 0; i < hashSize; i++) { + hashTable2[i] = 0; + } + return hashTable2; + } +} +function clearHashTable(table) { + for (let i = 0; i < hashSize; i++) { + table[i] = 0; + } +} +function makeBuffer(size) { + return new Uint8Array(size); +} +function sliceArray(array, start, end) { + return array.slice(start, end); +} +function compressBound(n) { + return n + n / 255 + 16 | 0; +} +function decompressBound(src) { + let sIndex = 0; + if (readU32(src, sIndex) !== magicNum) { + throw new Error("invalid magic number"); + } + sIndex += 4; + const descriptor = src[sIndex++]; + if ((descriptor & fdVersionMask) !== fdVersion) { + throw new Error("incompatible descriptor version " + (descriptor & fdVersionMask)); + } + const useBlockSum = (descriptor & fdBlockChksum) !== 0; + const useContentSize = (descriptor & fdContentSize) !== 0; + const bsIdx = src[sIndex++] >> bsShift & bsMask; + if (bsMap[bsIdx] === void 0) { + throw new Error("invalid block size " + bsIdx); + } + const maxBlockSize = bsMap[bsIdx]; + if (useContentSize) { + return readU64(src, sIndex); + } + sIndex++; + let maxSize = 0; + while (true) { + let blockSize = readU32(src, sIndex); + sIndex += 4; + if (blockSize & bsUncompressed) { + blockSize &= ~bsUncompressed; + maxSize += blockSize; + } else if (blockSize > 0) { + maxSize += maxBlockSize; + } + if (blockSize === 0) { + return maxSize; + } + if (useBlockSum) { + sIndex += 4; + } + sIndex += blockSize; + } +} +function decompressBlock(src, dst, sIndex, sLength, dIndex) { + let mLength, mOffset, sEnd, n, i; + const hasCopyWithin = dst.copyWithin !== void 0 && dst.fill !== void 0; + sEnd = sIndex + sLength; + while (sIndex < sEnd) { + const token = src[sIndex++]; + let literalCount = token >> 4; + if (literalCount > 0) { + if (literalCount === 15) { + while (true) { + literalCount += src[sIndex]; + if (src[sIndex++] !== 255) { + break; + } + } + } + for (n = sIndex + literalCount; sIndex < n; ) { + dst[dIndex++] = src[sIndex++]; + } + } + if (sIndex >= sEnd) { + break; + } + mLength = token & 15; + mOffset = src[sIndex++] | src[sIndex++] << 8; + if (mLength === 15) { + while (true) { + mLength += src[sIndex]; + if (src[sIndex++] !== 255) { + break; + } + } + } + mLength += minMatch; + if (hasCopyWithin && mOffset === 1) { + dst.fill(dst[dIndex - 1] | 0, dIndex, dIndex + mLength); + dIndex += mLength; + } else if (hasCopyWithin && mOffset > mLength && mLength > 31) { + dst.copyWithin(dIndex, dIndex - mOffset, dIndex - mOffset + mLength); + dIndex += mLength; + } else { + for (i = dIndex - mOffset, n = i + mLength; i < n; ) { + dst[dIndex++] = dst[i++] | 0; + } + } + } + return dIndex; +} +function compressBlock(src, dst, sIndex, sLength, hashTable2) { + let mIndex, mAnchor, mLength, mOffset, mStep; + let literalCount, dIndex, sEnd, n; + dIndex = 0; + sEnd = sLength + sIndex; + mAnchor = sIndex; + let searchMatchCount = (1 << skipTrigger) + 3; + while (sIndex <= sEnd - matchSearchLimit) { + const seq = readU32(src, sIndex); + let hash2 = hashU32(seq) >>> 0; + hash2 = (hash2 >> 16 ^ hash2) >>> 0 & 65535; + mIndex = hashTable2[hash2] - 1; + hashTable2[hash2] = sIndex + 1; + if (mIndex < 0 || sIndex - mIndex >>> 16 > 0 || readU32(src, mIndex) !== seq) { + mStep = searchMatchCount++ >> skipTrigger; + sIndex += mStep; + continue; + } + searchMatchCount = (1 << skipTrigger) + 3; + literalCount = sIndex - mAnchor; + mOffset = sIndex - mIndex; + sIndex += minMatch; + mIndex += minMatch; + mLength = sIndex; + while (sIndex < sEnd - minTrailingLitterals && src[sIndex] === src[mIndex]) { + sIndex++; + mIndex++; + } + mLength = sIndex - mLength; + const token = mLength < mlMask ? mLength : mlMask; + if (literalCount >= runMask) { + dst[dIndex++] = (runMask << mlBits) + token; + for (n = literalCount - runMask; n >= 255; n -= 255) { + dst[dIndex++] = 255; + } + dst[dIndex++] = n; + } else { + dst[dIndex++] = (literalCount << mlBits) + token; + } + for (let i = 0; i < literalCount; i++) { + dst[dIndex++] = src[mAnchor + i]; + } + dst[dIndex++] = mOffset; + dst[dIndex++] = mOffset >> 8; + if (mLength >= mlMask) { + for (n = mLength - mlMask; n >= 255; n -= 255) { + dst[dIndex++] = 255; + } + dst[dIndex++] = n; + } + mAnchor = sIndex; + } + if (mAnchor === 0) { + return 0; + } + literalCount = sEnd - mAnchor; + if (literalCount >= runMask) { + dst[dIndex++] = runMask << mlBits; + for (n = literalCount - runMask; n >= 255; n -= 255) { + dst[dIndex++] = 255; + } + dst[dIndex++] = n; + } else { + dst[dIndex++] = literalCount << mlBits; + } + sIndex = mAnchor; + while (sIndex < sEnd) { + dst[dIndex++] = src[sIndex++]; + } + return dIndex; +} +function decompressFrame(src, dst) { + let useBlockSum, useContentSum, useContentSize, descriptor; + let sIndex = 0; + let dIndex = 0; + if (readU32(src, sIndex) !== magicNum) { + throw new Error("invalid magic number"); + } + sIndex += 4; + descriptor = src[sIndex++]; + if ((descriptor & fdVersionMask) !== fdVersion) { + throw new Error("incompatible descriptor version"); + } + useBlockSum = (descriptor & fdBlockChksum) !== 0; + useContentSum = (descriptor & fdContentChksum) !== 0; + useContentSize = (descriptor & fdContentSize) !== 0; + const bsIdx = src[sIndex++] >> bsShift & bsMask; + if (bsMap[bsIdx] === void 0) { + throw new Error("invalid block size"); + } + if (useContentSize) { + sIndex += 8; + } + sIndex++; + while (true) { + var compSize; + compSize = readU32(src, sIndex); + sIndex += 4; + if (compSize === 0) { + break; + } + if (useBlockSum) { + sIndex += 4; + } + if ((compSize & bsUncompressed) !== 0) { + compSize &= ~bsUncompressed; + for (let j = 0; j < compSize; j++) { + dst[dIndex++] = src[sIndex++]; + } + } else { + dIndex = decompressBlock(src, dst, sIndex, compSize, dIndex); + sIndex += compSize; + } + } + if (useContentSum) { + sIndex += 4; + } + return dIndex; +} +function compressFrame(src, dst) { + let dIndex = 0; + writeU32(dst, dIndex, magicNum); + dIndex += 4; + dst[dIndex++] = fdVersion; + dst[dIndex++] = bsDefault << bsShift; + dst[dIndex] = hash(0, dst, 4, dIndex - 4) >> 8; + dIndex++; + const maxBlockSize = bsMap[bsDefault]; + let remaining = src.length; + let sIndex = 0; + clearHashTable(hashTable); + while (remaining > 0) { + let compSize = 0; + const blockSize = remaining > maxBlockSize ? maxBlockSize : remaining; + compSize = compressBlock(src, blockBuf, sIndex, blockSize, hashTable); + if (compSize > blockSize || compSize === 0) { + writeU32(dst, dIndex, 2147483648 | blockSize); + dIndex += 4; + for (let z = sIndex + blockSize; sIndex < z; ) { + dst[dIndex++] = src[sIndex++]; + } + remaining -= blockSize; + } else { + writeU32(dst, dIndex, compSize); + dIndex += 4; + for (let j = 0; j < compSize; ) { + dst[dIndex++] = blockBuf[j++]; + } + sIndex += blockSize; + remaining -= blockSize; + } + } + writeU32(dst, dIndex, 0); + dIndex += 4; + return dIndex; +} +function decompress(src, maxSize) { + let dst, size; + if (maxSize === void 0) { + maxSize = decompressBound(src); + } + dst = makeBuffer(maxSize); + size = decompressFrame(src, dst); + if (size !== maxSize) { + dst = sliceArray(dst, 0, size); + } + return dst; +} +function compress(src, maxSize) { + let dst, size; + if (maxSize === void 0) { + maxSize = compressBound(src.length); + } + dst = makeBuffer(maxSize); + size = compressFrame(src, dst); + if (size !== maxSize) { + dst = sliceArray(dst, 0, size); + } + return dst; +} + +// src/utils/RangeList.ts +var RangeList = (_class = class {constructor() { _class.prototype.__init.call(this); } + __init() {this.ranges = []} + /** + * Add a range to the list. If it overlaps with existing ranges, + * it will split them and increment reference counts accordingly. + */ + add(start, end) { + if (end <= start) { + throw new TypeError("End must be greater than start"); + } + const overlappingRanges = []; + for (let i = 0; i < this.ranges.length; i++) { + const range2 = this.ranges[i]; + if (start < range2.end && end > range2.start) { + overlappingRanges.push({ index: i, range: range2 }); + } + if (range2.data !== null) { + throw new Error("Overlapping range already has data"); + } + } + if (overlappingRanges.length === 0) { + this.ranges.push({ start, end, refCount: 1, data: null }); + this.ranges.sort((a, b) => a.start - b.start); + return; + } + const newRanges = []; + let currentPos = start; + for (let i = 0; i < overlappingRanges.length; i++) { + const { range: range2 } = overlappingRanges[i]; + if (currentPos < range2.start) { + newRanges.push({ + start: currentPos, + end: range2.start, + refCount: 1, + data: null + }); + } else if (range2.start < currentPos) { + newRanges.push({ + start: range2.start, + end: currentPos, + refCount: range2.refCount, + data: null + }); + } + newRanges.push({ + start: Math.max(currentPos, range2.start), + end: Math.min(end, range2.end), + refCount: range2.refCount + 1, + data: null + }); + if (range2.end > end) { + newRanges.push({ + start: end, + end: range2.end, + refCount: range2.refCount, + data: null + }); + } + currentPos = Math.max(currentPos, range2.end); + } + if (currentPos < end) { + newRanges.push({ + start: currentPos, + end, + refCount: 1, + data: null + }); + } + const firstIndex = overlappingRanges[0].index; + const lastIndex = overlappingRanges[overlappingRanges.length - 1].index; + this.ranges.splice(firstIndex, lastIndex - firstIndex + 1, ...newRanges); + this.ranges.sort((a, b) => a.start - b.start); + } + /** + * Remove a range from the list. The range must start and end at existing boundaries. + */ + remove(start, end) { + if (end <= start) { + throw new TypeError("End must be greater than start"); + } + const affectedRanges = []; + for (let i = 0; i < this.ranges.length; i++) { + const range2 = this.ranges[i]; + if (start < range2.end && end > range2.start) { + affectedRanges.push({ index: i, range: range2 }); + } + } + if (affectedRanges.length === 0) { + throw new Error("No ranges found to remove"); + } + if (start !== affectedRanges[0].range.start || end !== affectedRanges[affectedRanges.length - 1].range.end) { + throw new Error("Range boundaries must match existing boundaries"); + } + for (let i = 0; i < affectedRanges.length; i++) { + const { range: range2 } = affectedRanges[i]; + range2.refCount--; + } + this.ranges = this.ranges.filter((range2) => range2.refCount > 0); + } + /** + * Get all ranges within the specified boundaries. + */ + getRanges(start, end) { + if (end <= start) { + throw new TypeError("End must be greater than start"); + } + return this.ranges.filter((range2) => start < range2.end && end > range2.start); + } + /** + * Get all ranges in the list + */ + getAllRanges() { + return [...this.ranges]; + } +}, _class); + +// src/utils/XetBlob.ts +var JWT_SAFETY_PERIOD = 6e4; +var JWT_CACHE_SIZE = 1e3; +var compressionSchemeLabels = { + [0 /* None */]: "None", + [1 /* LZ4 */]: "LZ4", + [2 /* ByteGroupingLZ4 */]: "ByteGroupingLZ4" +}; +var XET_CHUNK_HEADER_BYTES = 8; +var XetBlob = (_class2 = class extends Blob { + + + + + + __init2() {this.start = 0} + __init3() {this.end = 0} + __init4() {this.internalLogging = false} + + + constructor(params) { + super([]);_class2.prototype.__init2.call(this);_class2.prototype.__init3.call(this);_class2.prototype.__init4.call(this);; + this.fetch = _nullishCoalesce(params.fetch, () => ( fetch.bind(globalThis))); + this.accessToken = checkCredentials(params); + this.refreshUrl = params.refreshUrl; + this.end = params.size; + this.reconstructionUrl = params.reconstructionUrl; + this.hash = params.hash; + this.listener = params.listener; + this.internalLogging = _nullishCoalesce(params.internalLogging, () => ( false)); + if (params.readToken) { + const key = cacheKey({ refreshUrl: this.refreshUrl, initialAccessToken: this.accessToken }); + jwts.set(key, { + accessToken: params.readToken.accessToken, + expiresAt: new Date(params.readToken.exp * 1e3), + casUrl: params.readToken.casUrl + }); + } + } + get size() { + return this.end - this.start; + } + #clone() { + const blob = new XetBlob({ + fetch: this.fetch, + hash: this.hash, + refreshUrl: this.refreshUrl, + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + reconstructionUrl: this.reconstructionUrl, + size: this.size + }); + blob.accessToken = this.accessToken; + blob.start = this.start; + blob.end = this.end; + blob.reconstructionInfo = this.reconstructionInfo; + blob.listener = this.listener; + blob.internalLogging = this.internalLogging; + return blob; + } + slice(start = 0, end = this.size) { + if (start < 0 || end < 0) { + new TypeError("Unsupported negative start/end on XetBlob.slice"); + } + const slice = this.#clone(); + slice.start = this.start + start; + slice.end = Math.min(this.start + end, this.end); + if (slice.start !== this.start || slice.end !== this.end) { + slice.reconstructionInfo = void 0; + } + return slice; + } + #reconstructionInfoPromise; + #loadReconstructionInfo() { + if (this.#reconstructionInfoPromise) { + return this.#reconstructionInfoPromise; + } + this.#reconstructionInfoPromise = (async () => { + const connParams = await getAccessToken(this.accessToken, this.fetch, this.refreshUrl); + const resp = await this.fetch(_nullishCoalesce(this.reconstructionUrl, () => ( `${connParams.casUrl}/v1/reconstructions/${this.hash}`)), { + headers: { + Authorization: `Bearer ${connParams.accessToken}`, + Range: `bytes=${this.start}-${this.end - 1}` + } + }); + if (!resp.ok) { + throw await createApiError(resp); + } + this.reconstructionInfo = await resp.json(); + return this.reconstructionInfo; + })().finally(() => this.#reconstructionInfoPromise = void 0); + return this.#reconstructionInfoPromise; + } + async #fetch() { + if (!this.reconstructionInfo) { + await this.#loadReconstructionInfo(); + } + const rangeLists = /* @__PURE__ */ new Map(); + if (!this.reconstructionInfo) { + throw new Error("Failed to load reconstruction info"); + } + for (const term of this.reconstructionInfo.terms) { + let rangeList = rangeLists.get(term.hash); + if (!rangeList) { + rangeList = new RangeList(); + rangeLists.set(term.hash, rangeList); + } + rangeList.add(term.range.start, term.range.end); + } + const listener = this.listener; + const log = this.internalLogging ? (...args) => console.log(...args) : () => { + }; + async function* readData(reconstructionInfo, customFetch, maxBytes, reloadReconstructionInfo) { + let totalBytesRead = 0; + let readBytesToSkip = reconstructionInfo.offset_into_first_range; + for (const term of reconstructionInfo.terms) { + if (totalBytesRead >= maxBytes) { + break; + } + const rangeList = rangeLists.get(term.hash); + if (!rangeList) { + throw new Error(`Failed to find range list for term ${term.hash}`); + } + { + const termRanges = rangeList.getRanges(term.range.start, term.range.end); + if (termRanges.every((range2) => range2.data)) { + log("all data available for term", term.hash, readBytesToSkip); + rangeLoop: + for (const range2 of termRanges) { + for (let chunk2 of range2.data) { + if (readBytesToSkip) { + const skipped = Math.min(readBytesToSkip, chunk2.byteLength); + chunk2 = chunk2.slice(skipped); + readBytesToSkip -= skipped; + if (!chunk2.byteLength) { + continue; + } + } + if (chunk2.byteLength > maxBytes - totalBytesRead) { + chunk2 = chunk2.slice(0, maxBytes - totalBytesRead); + } + totalBytesRead += chunk2.byteLength; + yield range2.refCount > 1 ? chunk2.slice() : chunk2; + _optionalChain([listener, 'optionalCall', _61 => _61({ event: "progress", progress: { read: totalBytesRead, total: maxBytes } })]); + if (totalBytesRead >= maxBytes) { + break rangeLoop; + } + } + } + rangeList.remove(term.range.start, term.range.end); + continue; + } + } + const fetchInfo = reconstructionInfo.fetch_info[term.hash].find( + (info) => info.range.start <= term.range.start && info.range.end >= term.range.end + ); + if (!fetchInfo) { + throw new Error( + `Failed to find fetch info for term ${term.hash} and range ${term.range.start}-${term.range.end}` + ); + } + log("term", term); + log("fetchinfo", fetchInfo); + log("readBytesToSkip", readBytesToSkip); + let resp = await customFetch(fetchInfo.url, { + headers: { + Range: `bytes=${fetchInfo.url_range.start}-${fetchInfo.url_range.end}` + } + }); + if (resp.status === 403) { + reconstructionInfo = await reloadReconstructionInfo(); + resp = await customFetch(fetchInfo.url, { + headers: { + Range: `bytes=${fetchInfo.url_range.start}-${fetchInfo.url_range.end}` + } + }); + } + if (!resp.ok) { + throw await createApiError(resp); + } + log( + "expected content length", + resp.headers.get("content-length"), + "range", + fetchInfo.url_range, + resp.headers.get("content-range") + ); + const reader = _optionalChain([resp, 'access', _62 => _62.body, 'optionalAccess', _63 => _63.getReader, 'call', _64 => _64()]); + if (!reader) { + throw new Error("Failed to get reader from response body"); + } + let done = false; + let chunkIndex = fetchInfo.range.start; + const ranges = rangeList.getRanges(fetchInfo.range.start, fetchInfo.range.end); + let leftoverBytes = void 0; + let totalFetchBytes = 0; + fetchData: + while (!done && totalBytesRead < maxBytes) { + const result = await reader.read(); + _optionalChain([listener, 'optionalCall', _65 => _65({ event: "read" })]); + done = result.done; + log("read", _optionalChain([result, 'access', _66 => _66.value, 'optionalAccess', _67 => _67.byteLength]), "bytes", "total read", totalBytesRead, "toSkip", readBytesToSkip); + if (!result.value) { + log("no data in result, cancelled", result); + continue; + } + totalFetchBytes += result.value.byteLength; + if (leftoverBytes) { + result.value = combineUint8Arrays(leftoverBytes, result.value); + leftoverBytes = void 0; + } + while (totalBytesRead < maxBytes && _optionalChain([result, 'access', _68 => _68.value, 'optionalAccess', _69 => _69.byteLength])) { + if (result.value.byteLength < 8) { + leftoverBytes = result.value; + continue fetchData; + } + const header = new DataView(result.value.buffer, result.value.byteOffset, XET_CHUNK_HEADER_BYTES); + const chunkHeader = { + version: header.getUint8(0), + compressed_length: header.getUint8(1) | header.getUint8(2) << 8 | header.getUint8(3) << 16, + compression_scheme: header.getUint8(4), + uncompressed_length: header.getUint8(5) | header.getUint8(6) << 8 | header.getUint8(7) << 16 + }; + log("chunk header", chunkHeader, "to skip", readBytesToSkip); + if (chunkHeader.version !== 0) { + throw new Error(`Unsupported chunk version ${chunkHeader.version}`); + } + if (chunkHeader.compression_scheme !== 0 /* None */ && chunkHeader.compression_scheme !== 1 /* LZ4 */ && chunkHeader.compression_scheme !== 2 /* ByteGroupingLZ4 */) { + throw new Error( + `Unsupported compression scheme ${_nullishCoalesce(compressionSchemeLabels[chunkHeader.compression_scheme], () => ( chunkHeader.compression_scheme))}` + ); + } + if (result.value.byteLength < chunkHeader.compressed_length + XET_CHUNK_HEADER_BYTES) { + leftoverBytes = result.value; + continue fetchData; + } + result.value = result.value.slice(XET_CHUNK_HEADER_BYTES); + let uncompressed = chunkHeader.compression_scheme === 1 /* LZ4 */ ? decompress(result.value.slice(0, chunkHeader.compressed_length), chunkHeader.uncompressed_length) : chunkHeader.compression_scheme === 2 /* ByteGroupingLZ4 */ ? bg4_regroup_bytes( + decompress( + result.value.slice(0, chunkHeader.compressed_length), + chunkHeader.uncompressed_length + ) + ) : result.value.slice(0, chunkHeader.compressed_length); + const range2 = ranges.find((range3) => chunkIndex >= range3.start && chunkIndex < range3.end); + const shouldYield = chunkIndex >= term.range.start && chunkIndex < term.range.end; + const minRefCountToStore = shouldYield ? 2 : 1; + let stored = false; + if (range2 && range2.refCount >= minRefCountToStore) { + range2.data ??= []; + range2.data.push(uncompressed); + stored = true; + } + if (shouldYield) { + if (readBytesToSkip) { + const skipped = Math.min(readBytesToSkip, uncompressed.byteLength); + uncompressed = uncompressed.slice(readBytesToSkip); + readBytesToSkip -= skipped; + } + if (uncompressed.byteLength > maxBytes - totalBytesRead) { + uncompressed = uncompressed.slice(0, maxBytes - totalBytesRead); + } + if (uncompressed.byteLength) { + log( + "yield", + uncompressed.byteLength, + "bytes", + result.value.byteLength, + "total read", + totalBytesRead, + stored + ); + totalBytesRead += uncompressed.byteLength; + yield stored ? uncompressed.slice() : uncompressed; + _optionalChain([listener, 'optionalCall', _70 => _70({ event: "progress", progress: { read: totalBytesRead, total: maxBytes } })]); + } + } + chunkIndex++; + result.value = result.value.slice(chunkHeader.compressed_length); + } + } + if (done && totalBytesRead < maxBytes && totalFetchBytes < fetchInfo.url_range.end - fetchInfo.url_range.start + 1) { + log("done", done, "total read", totalBytesRead, maxBytes, totalFetchBytes); + log("failed to fetch all data for term", term.hash); + throw new Error( + `Failed to fetch all data for term ${term.hash}, fetched ${totalFetchBytes} bytes out of ${fetchInfo.url_range.end - fetchInfo.url_range.start + 1}` + ); + } + log("done", done, "total read", totalBytesRead, maxBytes, totalFetchBytes); + log("cancel reader"); + await reader.cancel(); + } + } + const iterator = readData( + this.reconstructionInfo, + this.fetch, + this.end - this.start, + this.#loadReconstructionInfo.bind(this) + ); + return new ReadableStream( + { + // todo: when Safari supports it, type controller as ReadableByteStreamController + async pull(controller) { + const result = await iterator.next(); + if (result.value) { + controller.enqueue(result.value); + } + if (result.done) { + controller.close(); + } + }, + type: "bytes" + // todo: when Safari supports it, add autoAllocateChunkSize param + }, + // todo : use ByteLengthQueuingStrategy when there's good support for it, currently in Node.js it fails due to size being a function + { + highWaterMark: 1e3 + // 1_000 chunks for ~1MB of RAM + } + ); + } + async arrayBuffer() { + const result = await this.#fetch(); + return new Response(result).arrayBuffer(); + } + async text() { + const result = await this.#fetch(); + return new Response(result).text(); + } + async response() { + const result = await this.#fetch(); + return new Response(result); + } + stream() { + const stream = new TransformStream(); + this.#fetch().then((response) => response.pipeThrough(stream)).catch((error) => stream.writable.abort(error.message)); + return stream.readable; + } +}, _class2); +var jwtPromises = /* @__PURE__ */ new Map(); +var jwts = /* @__PURE__ */ new Map(); +function cacheKey(params) { + return JSON.stringify([params.refreshUrl, params.initialAccessToken]); +} +function bg4_regroup_bytes(bytes) { + const split = Math.floor(bytes.byteLength / 4); + const rem = bytes.byteLength % 4; + const g1_pos = split + (rem >= 1 ? 1 : 0); + const g2_pos = g1_pos + split + (rem >= 2 ? 1 : 0); + const g3_pos = g2_pos + split + (rem == 3 ? 1 : 0); + const ret = new Uint8Array(bytes.byteLength); + for (let i = 0, j = 0; i < bytes.byteLength; i += 4, j++) { + ret[i] = bytes[j]; + } + for (let i = 1, j = g1_pos; i < bytes.byteLength; i += 4, j++) { + ret[i] = bytes[j]; + } + for (let i = 2, j = g2_pos; i < bytes.byteLength; i += 4, j++) { + ret[i] = bytes[j]; + } + for (let i = 3, j = g3_pos; i < bytes.byteLength; i += 4, j++) { + ret[i] = bytes[j]; + } + return ret; +} +function bg4_split_bytes(bytes) { + const ret = new Uint8Array(bytes.byteLength); + const split = Math.floor(bytes.byteLength / 4); + const rem = bytes.byteLength % 4; + const g1_pos = split + (rem >= 1 ? 1 : 0); + const g2_pos = g1_pos + split + (rem >= 2 ? 1 : 0); + const g3_pos = g2_pos + split + (rem == 3 ? 1 : 0); + for (let i = 0, j = 0; i < bytes.byteLength; i += 4, j++) { + ret[j] = bytes[i]; + } + for (let i = 1, j = g1_pos; i < bytes.byteLength; i += 4, j++) { + ret[j] = bytes[i]; + } + for (let i = 2, j = g2_pos; i < bytes.byteLength; i += 4, j++) { + ret[j] = bytes[i]; + } + for (let i = 3, j = g3_pos; i < bytes.byteLength; i += 4, j++) { + ret[j] = bytes[i]; + } + return ret; +} +async function getAccessToken(initialAccessToken, customFetch, refreshUrl) { + const key = cacheKey({ refreshUrl, initialAccessToken }); + const jwt = jwts.get(key); + if (jwt && jwt.expiresAt > new Date(Date.now() + JWT_SAFETY_PERIOD)) { + return { accessToken: jwt.accessToken, casUrl: jwt.casUrl }; + } + const existingPromise = jwtPromises.get(key); + if (existingPromise) { + return existingPromise; + } + const promise = (async () => { + const resp = await customFetch(refreshUrl, { + headers: { + ...initialAccessToken ? { + Authorization: `Bearer ${initialAccessToken}` + } : {} + } + }); + if (!resp.ok) { + throw new Error(`Failed to get JWT token: ${resp.status} ${await resp.text()}`); + } + const json = await resp.json(); + const jwt2 = { + accessToken: json.accessToken, + expiresAt: new Date(json.exp * 1e3), + casUrl: json.casUrl + }; + jwtPromises.delete(key); + for (const [key2, value] of jwts.entries()) { + if (value.expiresAt < new Date(Date.now() + JWT_SAFETY_PERIOD)) { + jwts.delete(key2); + } else { + break; + } + } + if (jwts.size >= JWT_CACHE_SIZE) { + const keyToDelete = jwts.keys().next().value; + if (keyToDelete) { + jwts.delete(keyToDelete); + } + } + jwts.set(key, jwt2); + return { + accessToken: json.accessToken, + casUrl: json.casUrl + }; + })(); + jwtPromises.set(key, promise); + return promise; +} + +// src/utils/ChunkCache.ts +var CHUNK_CACHE_INITIAL_SIZE = 1e4; +var CHUNK_CACHE_GROW_FACTOR = 1.5; +var CHUNK_CACHE_MAX_SIZE = 1e6; +var ChunkCache = (_class3 = class { + __init5() {this.index = 0} + // Index >= 0 means local xorb, < 0 means remote xorb + + // Max 8K chunks per xorb, less than 64K uint16_t + + __init6() {this.map = /* @__PURE__ */ new Map()} + // hash -> chunkCacheIndex. Less overhead that way, empty object is 60+B and empty array is 40+B + __init7() {this.hmacs = /* @__PURE__ */ new Set()} + // todo : remove old hmacs + + constructor(maxSize = CHUNK_CACHE_MAX_SIZE) {;_class3.prototype.__init5.call(this);_class3.prototype.__init6.call(this);_class3.prototype.__init7.call(this); + if (maxSize < 1) { + throw new Error("maxSize must be at least 1"); + } + this.maxSize = maxSize; + this.xorbIndices = new Int32Array(Math.min(CHUNK_CACHE_INITIAL_SIZE, maxSize)); + this.chunkIndices = new Uint16Array(Math.min(CHUNK_CACHE_INITIAL_SIZE, maxSize)); + } + addChunkToCache(hash2, xorbIndex, chunkIndex, hmac) { + if (this.map.has(hash2)) { + return; + } + if (this.map.values().next().value === this.index) { + this.map.delete(this.map.keys().next().value); + } + this.map.set(hash2, this.index); + if (hmac !== null) { + this.hmacs.add(hmac); + } + if (this.index >= this.xorbIndices.length) { + const oldXorbIndices = this.xorbIndices; + const oldChunkIndices = this.chunkIndices; + this.xorbIndices = new Int32Array(Math.min(this.xorbIndices.length * CHUNK_CACHE_GROW_FACTOR, this.maxSize)); + this.chunkIndices = new Uint16Array(Math.min(this.chunkIndices.length * CHUNK_CACHE_GROW_FACTOR, this.maxSize)); + this.xorbIndices.set(oldXorbIndices); + this.chunkIndices.set(oldChunkIndices); + } + this.xorbIndices[this.index] = xorbIndex; + this.chunkIndices[this.index] = chunkIndex; + this.index = (this.index + 1) % this.maxSize; + } + getChunk(hash2, hmacFunction) { + let index = this.map.get(hash2); + if (index === void 0 && hmacFunction !== null) { + for (const hmac of this.hmacs) { + index = this.map.get(hmacFunction(hash2, hmac)); + if (index !== void 0) { + break; + } + } + } + if (index === void 0) { + return void 0; + } + return { + xorbIndex: this.xorbIndices[index], + chunkIndex: this.chunkIndices[index] + }; + } + updateChunkIndex(hash2, chunkIndex) { + const index = this.map.get(hash2); + if (index === void 0) { + throw new Error(`Chunk not found in cache: ${hash2}`); + } + this.chunkIndices[index] = chunkIndex; + } + removeChunkFromCache(hash2) { + this.map.delete(hash2); + } +}, _class3); + +// src/utils/xetWriteToken.ts +var JWT_SAFETY_PERIOD2 = 6e4; +var JWT_CACHE_SIZE2 = 1e3; +var jwtPromises2 = /* @__PURE__ */ new Map(); +var jwts2 = /* @__PURE__ */ new Map(); +async function xetWriteToken(params) { + if (params.xetParams.expiresAt && params.xetParams.casUrl && params.xetParams.accessToken && params.xetParams.expiresAt > new Date(Date.now() + JWT_SAFETY_PERIOD2)) { + return { accessToken: params.xetParams.accessToken, casUrl: params.xetParams.casUrl }; + } + const key = params.xetParams.refreshWriteTokenUrl; + const jwt = jwts2.get(key); + if (jwt && jwt.expiresAt > new Date(Date.now() + JWT_SAFETY_PERIOD2)) { + return { accessToken: jwt.accessToken, casUrl: jwt.casUrl }; + } + const existingPromise = jwtPromises2.get(key); + if (existingPromise) { + return existingPromise; + } + const promise = (async () => { + const resp = await (_nullishCoalesce(params.fetch, () => ( fetch)))(params.xetParams.refreshWriteTokenUrl, { + headers: { + ...params.accessToken ? { + Authorization: `Bearer ${params.accessToken}` + } : {}, + ...params.xetParams.sessionId ? { "X-Xet-Session-Id": params.xetParams.sessionId } : {} + } + }); + if (!resp.ok) { + throw await createApiError(resp); + } + const json = await resp.json(); + const jwt2 = { + accessToken: json.accessToken, + expiresAt: new Date(json.exp * 1e3), + casUrl: json.casUrl + }; + jwtPromises2.delete(key); + for (const [key2, value] of jwts2.entries()) { + if (value.expiresAt < new Date(Date.now() + JWT_SAFETY_PERIOD2)) { + jwts2.delete(key2); + } else { + break; + } + } + if (jwts2.size >= JWT_CACHE_SIZE2) { + const keyToDelete = jwts2.keys().next().value; + if (keyToDelete) { + jwts2.delete(keyToDelete); + } + } + jwts2.set(key, jwt2); + return { + accessToken: json.accessToken, + casUrl: json.casUrl + }; + })(); + jwtPromises2.set(key, promise); + return promise; +} + +// src/utils/shardParser.ts +var HASH_LENGTH = 32; +var XORB_HASH_BOOKEND = "ff".repeat(HASH_LENGTH); +function readHashFromArray(array, offset) { + let hash2 = ""; + for (let i = 0; i < HASH_LENGTH; i += 8) { + hash2 += `${array[offset + i + 7].toString(16).padStart(2, "0")}${array[offset + i + 6].toString(16).padStart(2, "0")}${array[offset + i + 5].toString(16).padStart(2, "0")}${array[offset + i + 4].toString(16).padStart(2, "0")}${array[offset + i + 3].toString(16).padStart(2, "0")}${array[offset + i + 2].toString(16).padStart(2, "0")}${array[offset + i + 1].toString(16).padStart(2, "0")}${array[offset + i].toString(16).padStart(2, "0")}`; + } + return hash2; +} +async function parseShardData(shardBlob) { + const shard = new Uint8Array(await shardBlob.arrayBuffer()); + const shardView = new DataView(shard.buffer); + const magicTag = shard.slice(0, SHARD_MAGIC_TAG.length); + if (!magicTag.every((byte, i) => byte === SHARD_MAGIC_TAG[i])) { + throw new Error("Invalid shard magic tag"); + } + const version = shardView.getBigUint64(SHARD_MAGIC_TAG.length, true); + if (version !== SHARD_HEADER_VERSION) { + throw new Error(`Invalid shard version: ${version}`); + } + const footerSize = Number(shardView.getBigUint64(SHARD_MAGIC_TAG.length + 8, true)); + const footerStart = shard.length - footerSize; + const footerVersion = shardView.getBigUint64(footerStart, true); + if (footerVersion !== SHARD_FOOTER_VERSION) { + throw new Error(`Invalid shard footer version: ${footerVersion}`); + } + const xorbInfoStart = Number(shardView.getBigUint64(footerStart + 16, true)); + const fileLookupStart = Number(shardView.getBigUint64(footerStart + 24, true)); + const hmacKey = readHashFromArray(shard, footerStart + 72); + const xorbs = []; + let offset = xorbInfoStart; + while (offset < fileLookupStart) { + const xorbHash = readHashFromArray(shard, offset); + offset += HASH_LENGTH; + if (xorbHash === XORB_HASH_BOOKEND) { + break; + } + offset += 4; + const chunkCount = shardView.getUint32(offset, true); + offset += 4; + offset += 4; + offset += 4; + const chunks = []; + for (let i = 0; i < chunkCount; i++) { + const chunkHash = readHashFromArray(shard, offset); + offset += HASH_LENGTH; + const startOffset = shardView.getUint32(offset, true); + offset += 4; + const length = shardView.getUint32(offset, true); + offset += 4; + offset += 8; + chunks.push({ + hash: chunkHash, + startOffset, + unpackedLength: length + }); + } + xorbs.push({ + hash: xorbHash, + chunks + }); + } + return { + hmacKey, + xorbs + }; +} + +// src/utils/sum.ts +function sum(arr) { + return arr.reduce((a, b) => a + b, 0); +} + +// src/utils/SplicedBlob.ts +var SplicedBlob = class extends Blob { + + + constructor(originalBlob, spliceOperations) { + super(); + this.originalBlob = originalBlob; + this.spliceOperations = spliceOperations; + } + static create(originalBlob, operations) { + for (const op of operations) { + if (op.start < 0 || op.end < 0) { + throw new Error("Invalid start/end positions for SplicedBlob"); + } + if (op.start > originalBlob.size || op.end > originalBlob.size) { + throw new Error("Invalid start/end positions for SplicedBlob"); + } + if (op.start > op.end) { + throw new Error("Invalid start/end positions for SplicedBlob"); + } + } + const sortedOps = [...operations].sort((a, b) => a.start - b.start); + for (let i = 0; i < sortedOps.length - 1; i++) { + if (sortedOps[i].end > sortedOps[i + 1].start) { + throw new Error("Overlapping splice operations are not supported"); + } + } + return new SplicedBlob(originalBlob, sortedOps); + } + /** + * Returns the size of the spliced blob. + * Size = original size - total replaced size + total insert size + */ + get size() { + let totalReplacedSize = 0; + let totalInsertSize = 0; + for (const op of this.spliceOperations) { + totalReplacedSize += op.end - op.start; + totalInsertSize += op.insert.size; + } + return this.originalBlob.size - totalReplacedSize + totalInsertSize; + } + /** + * Returns the MIME type of the original blob. + */ + get type() { + return this.originalBlob.type; + } + /** + * Returns a new instance of SplicedBlob that is a slice of the current one. + * + * The slice is inclusive of the start and exclusive of the end. + * The slice method does not support negative start/end. + * + * @param start beginning of the slice + * @param end end of the slice + */ + slice(start = 0, end = this.size) { + if (start < 0 || end < 0) { + throw new TypeError("Unsupported negative start/end on SplicedBlob.slice"); + } + start = Math.min(start, this.size); + end = Math.min(end, this.size); + if (start >= end) { + return new Blob([]); + } + const segments = this.segments; + const segmentBoundaries = [0]; + let cumulativeSize = 0; + for (const segment of segments) { + cumulativeSize += segment.size; + segmentBoundaries.push(cumulativeSize); + } + const resultSegments = []; + for (let i = 0; i < segments.length; i++) { + const segmentStart = segmentBoundaries[i]; + const segmentEnd = segmentBoundaries[i + 1]; + if (segmentEnd <= start) { + continue; + } + if (segmentStart >= end) { + break; + } + const sliceStart = Math.max(0, start - segmentStart); + const sliceEnd = Math.min(segments[i].size, end - segmentStart); + if (sliceStart < sliceEnd) { + resultSegments.push(segments[i].slice(sliceStart, sliceEnd)); + } + } + return new Blob(resultSegments); + } + get firstSpliceIndex() { + return _nullishCoalesce(_optionalChain([this, 'access', _71 => _71.spliceOperations, 'access', _72 => _72[0], 'optionalAccess', _73 => _73.start]), () => ( Infinity)); + } + /** + * Read the spliced blob content and returns it as an ArrayBuffer. + */ + async arrayBuffer() { + const segments = this.segments; + const buffers = await Promise.all(segments.map((segment) => segment.arrayBuffer())); + const totalSize = sum(buffers.map((buffer) => buffer.byteLength)); + const result = new Uint8Array(totalSize); + let offset = 0; + for (const buffer of buffers) { + result.set(new Uint8Array(buffer), offset); + offset += buffer.byteLength; + } + return result.buffer; + } + /** + * Read the spliced blob content and returns it as a string. + */ + async text() { + const buffer = await this.arrayBuffer(); + return new TextDecoder().decode(buffer); + } + /** + * Returns a stream around the spliced blob content. + */ + stream() { + const readable = new ReadableStream({ + start: async (controller) => { + try { + const segments = this.segments; + for (const segment of segments) { + const reader = segment.stream().getReader(); + try { + while (true) { + const { done, value } = await reader.read(); + if (done) { + break; + } + controller.enqueue(value); + } + } finally { + reader.releaseLock(); + } + } + controller.close(); + } catch (error) { + controller.error(error); + } + } + }); + return readable; + } + /** + * Get all segments that make up the spliced blob. + * This includes original blob segments between splice operations and insert blobs. + */ + get segments() { + const segments = []; + let currentPosition = 0; + const sortedOps = [...this.spliceOperations].sort((a, b) => a.start - b.start); + for (const op of sortedOps) { + if (currentPosition < op.start) { + segments.push(this.originalBlob.slice(currentPosition, op.start)); + } + if (op.insert.size > 0) { + segments.push(op.insert); + } + currentPosition = op.end; + } + if (currentPosition < this.originalBlob.size) { + segments.push(this.originalBlob.slice(currentPosition)); + } + return segments; + } +}; + +// src/utils/createXorbs.ts +var TARGET_CHUNK_SIZE = 64 * 1024; +var MAX_CHUNK_SIZE = 2 * TARGET_CHUNK_SIZE; +var XORB_SIZE = 64 * 1024 * 1024; +var MAX_XORB_CHUNKS = 8 * 1024; +var INTERVAL_BETWEEN_REMOTE_DEDUP = 4e6; +var PROCESSING_PROGRESS_RATIO = 0.1; +var UPLOADING_PROGRESS_RATIO = 1 - PROCESSING_PROGRESS_RATIO; +var CurrentXorbInfo = class { + + + + + + + + + constructor() { + this.id = 0; + this.offset = 0; + this.chunks = []; + this.fileProcessedBytes = {}; + this.fileUploadedBytes = {}; + this.fileSize = {}; + this.data = new Uint8Array(XORB_SIZE); + this.immutableData = null; + } + event(computeXorbHash) { + const xorbChunksCleaned = this.chunks.map((chunk2) => ({ + hash: chunk2.hash, + length: chunk2.length + })); + return { + event: "xorb", + xorb: this.data.subarray(0, this.offset), + hash: computeXorbHash(xorbChunksCleaned), + chunks: xorbChunksCleaned, + id: this.id, + files: Object.entries(this.fileProcessedBytes).map(([path, processedBytes]) => ({ + path, + progress: processedBytes / this.fileSize[path], + lastSentProgress: ((_nullishCoalesce(this.fileUploadedBytes[path], () => ( 0))) + (processedBytes - (_nullishCoalesce(this.fileUploadedBytes[path], () => ( 0)))) * PROCESSING_PROGRESS_RATIO) / this.fileSize[path] + })) + }; + } +}; +async function* createXorbs(fileSources, params) { + const alreadyDoneFileSha256s = /* @__PURE__ */ new Set(); + const chunkModule = await Promise.resolve().then(() => _interopRequireWildcard(require("./chunker_wasm-FWDBRYQI.js"))); + let xorbId = 0; + await chunkModule.init(); + const chunkCache = new ChunkCache(); + let xorb = new CurrentXorbInfo(); + const nextXorb = (currentFile) => { + const event = xorb.event(chunkModule.compute_xorb_hash.bind(chunkModule)); + xorbId++; + xorb = new CurrentXorbInfo(); + xorb.id = xorbId; + xorb.fileUploadedBytes = { + [currentFile.path]: currentFile.uploadedBytes + }; + xorb.fileSize[currentFile.path] = currentFile.size; + return event; + }; + const pendingFileEvents = []; + const remoteXorbHashes = [""]; + for await (const fileSource of fileSources) { + _optionalChain([params, 'access', _74 => _74.yieldCallback, 'optionalCall', _75 => _75({ + event: "fileProgress", + path: fileSource.path, + progress: 0 + })]); + if (fileSource.sha256 && alreadyDoneFileSha256s.has(fileSource.sha256)) { + _optionalChain([params, 'access', _76 => _76.yieldCallback, 'optionalCall', _77 => _77({ + event: "fileProgress", + path: fileSource.path, + progress: 1 + })]); + continue; + } + if (fileSource.sha256) { + alreadyDoneFileSha256s.add(fileSource.sha256); + } + const chunker = new chunkModule.Chunker(TARGET_CHUNK_SIZE); + try { + xorb.fileSize[fileSource.path] = fileSource.content.size; + if (fileSource.content instanceof SplicedBlob && fileSource.content.firstSpliceIndex < MAX_CHUNK_SIZE) { + await loadDedupInfoToCache( + fileSource.content.originalBlob.slice(0, MAX_CHUNK_SIZE), + remoteXorbHashes, + params, + chunkCache, + chunkModule, + { + maxChunks: 1, + isAtBeginning: true + } + ); + } + let bytesSinceRemoteDedup = Infinity; + let bytesSinceLastProgressEvent = 0; + let isFirstFileChunk = true; + const sourceChunks = []; + const reader = fileSource.content.stream().getReader(); + let processedBytes = 0; + let dedupedBytes = 0; + const fileChunks = []; + const chunkMetadata = []; + const addChunks = async function* (chunks) { + for (const chunk2 of chunks) { + if (isFirstFileChunk) { + chunk2.dedup = true; + isFirstFileChunk = false; + } + let chunkIndex = xorb.chunks.length; + let chunkXorbId = xorbId; + const chunkToCopy = removeChunkFromSourceData(sourceChunks, chunk2.length); + let cacheData = chunkCache.getChunk(chunk2.hash, chunkModule.compute_hmac); + if (cacheData === void 0 && chunk2.dedup && bytesSinceRemoteDedup >= INTERVAL_BETWEEN_REMOTE_DEDUP) { + const token = await xetWriteToken(params); + bytesSinceRemoteDedup = 0; + const shardResp = await (_nullishCoalesce(params.fetch, () => ( fetch)))(token.casUrl + "/v1/chunks/default/" + chunk2.hash, { + headers: { + Authorization: `Bearer ${token.accessToken}` + } + }); + if (shardResp.ok) { + const shard = await shardResp.blob(); + const shardData = await parseShardData(shard); + for (const xorb2 of shardData.xorbs) { + const remoteXorbId = -remoteXorbHashes.length; + remoteXorbHashes.push(xorb2.hash); + let i = 0; + for (const chunk3 of xorb2.chunks) { + chunkCache.addChunkToCache(chunk3.hash, remoteXorbId, i++, shardData.hmacKey); + } + } + cacheData = chunkCache.getChunk(chunk2.hash, chunkModule.compute_hmac); + const oldDedupedBytes = dedupedBytes; + dedupedBytes = backtrackDedup( + xorb, + chunkModule.compute_hmac.bind(chunkModule), + shardData, + chunkCache, + chunkMetadata, + dedupedBytes + ); + if (dedupedBytes > oldDedupedBytes) { + xorb.fileUploadedBytes[fileSource.path] ??= 0; + xorb.fileUploadedBytes[fileSource.path] += dedupedBytes - oldDedupedBytes; + } + } + } + if (cacheData === void 0) { + if (!writeChunk(xorb, chunkToCopy, chunk2.hash)) { + yield nextXorb({ path: fileSource.path, uploadedBytes: processedBytes, size: fileSource.content.size }); + chunkIndex = 0; + chunkXorbId = xorbId; + for (const event of pendingFileEvents) { + event.representation = event.representation.map((rep) => ({ + ...rep, + xorbId: rep.xorbId >= 0 ? rep.xorbId : remoteXorbHashes[-rep.xorbId] + })); + yield event; + } + pendingFileEvents.length = 0; + if (!writeChunk(xorb, chunkToCopy, chunk2.hash)) { + throw new Error("Failed to write chunk into xorb"); + } + } + chunkCache.addChunkToCache(chunk2.hash, xorbId, chunkIndex, null); + } else { + chunkXorbId = cacheData.xorbIndex; + chunkIndex = cacheData.chunkIndex; + dedupedBytes += chunk2.length; + xorb.fileUploadedBytes[fileSource.path] ??= 0; + xorb.fileUploadedBytes[fileSource.path] += chunk2.length; + } + bytesSinceRemoteDedup += chunk2.length; + bytesSinceLastProgressEvent += chunk2.length; + fileChunks.push({ hash: chunk2.hash, length: chunk2.length }); + chunkMetadata.push({ + xorbId: chunkXorbId, + chunkIndex, + length: chunk2.length + }); + xorb.fileProcessedBytes[fileSource.path] = processedBytes; + if (bytesSinceLastProgressEvent >= 1e6) { + bytesSinceLastProgressEvent = 0; + _optionalChain([params, 'access', _78 => _78.yieldCallback, 'optionalCall', _79 => _79({ + event: "fileProgress", + path: fileSource.path, + progress: ((_nullishCoalesce(xorb.fileUploadedBytes[fileSource.path], () => ( 0))) + (xorb.fileProcessedBytes[fileSource.path] - (_nullishCoalesce(xorb.fileUploadedBytes[fileSource.path], () => ( 0)))) * PROCESSING_PROGRESS_RATIO) / fileSource.content.size + })]); + } + if (xorb.chunks.length >= MAX_XORB_CHUNKS) { + yield nextXorb({ path: fileSource.path, uploadedBytes: processedBytes, size: fileSource.content.size }); + for (const event of pendingFileEvents) { + event.representation = event.representation.map((rep) => ({ + ...rep, + xorbId: rep.xorbId >= 0 ? rep.xorbId : remoteXorbHashes[-rep.xorbId] + })); + yield event; + } + pendingFileEvents.length = 0; + } + } + }; + while (true) { + const { done, value } = await reader.read(); + if (done) { + yield* addChunks(chunker.finish()); + break; + } + processedBytes += value.length; + sourceChunks.push(value); + yield* addChunks(chunker.add_data(value)); + } + const fileRepresentation = buildFileRepresentation( + chunkMetadata, + fileChunks, + chunkModule.compute_verification_hash.bind(chunkModule) + ); + xorb.immutableData = { + chunkIndex: xorb.chunks.length, + offset: xorb.offset + }; + const dedupRatio = fileSource.content.size > 0 ? dedupedBytes / fileSource.content.size : 0; + pendingFileEvents.push({ + event: "file", + path: fileSource.path, + hash: chunkModule.compute_file_hash(fileChunks), + sha256: fileSource.sha256, + dedupRatio, + representation: fileRepresentation + }); + } finally { + chunker.free(); + } + } + if (xorb.offset > 0) { + yield xorb.event(chunkModule.compute_xorb_hash.bind(chunkModule)); + } + for (const event of pendingFileEvents) { + event.representation = event.representation.map((rep) => ({ + ...rep, + xorbId: rep.xorbId >= 0 ? rep.xorbId : remoteXorbHashes[-rep.xorbId] + })); + yield event; + } +} +function backtrackDedup(xorb, computeHmac, shardData, chunkCache, chunkMetadata, dedupedBytes) { + const chunkIndexesToBacktrackFor = /* @__PURE__ */ new Map(); + for (let chunkToRecheckIndex = _nullishCoalesce(_optionalChain([xorb, 'access', _80 => _80.immutableData, 'optionalAccess', _81 => _81.chunkIndex]), () => ( 0)); chunkToRecheckIndex < xorb.chunks.length; chunkToRecheckIndex++) { + const chunk2 = xorb.chunks[chunkToRecheckIndex]; + const hmacHash = computeHmac(chunk2.hash, shardData.hmacKey); + const cacheData = chunkCache.getChunk(hmacHash, null); + if (cacheData !== void 0) { + chunkIndexesToBacktrackFor.set(chunkToRecheckIndex, { + xorbId: cacheData.xorbIndex, + chunkIndex: cacheData.chunkIndex + }); + chunkCache.removeChunkFromCache(chunk2.hash); + } + } + for (const metadata of chunkMetadata) { + if (metadata.xorbId === xorb.id && chunkIndexesToBacktrackFor.has(metadata.chunkIndex)) { + const backtrackData = chunkIndexesToBacktrackFor.get(metadata.chunkIndex); + if (backtrackData !== void 0) { + metadata.xorbId = backtrackData.xorbId; + metadata.chunkIndex = backtrackData.chunkIndex; + dedupedBytes += metadata.length; + } + } + } + const xorbRangesToErase = []; + for (let i = 0; i < xorb.chunks.length; i++) { + const chunk2 = xorb.chunks[i]; + if (chunkIndexesToBacktrackFor.has(i)) { + xorbRangesToErase.push({ + start: chunk2.offset, + end: i < xorb.chunks.length - 1 ? xorb.chunks[i + 1].offset : xorb.offset + }); + } + } + const xorbRangesToKeep = []; + let currentStart = 0; + for (let i = 0; i < xorbRangesToErase.length; i++) { + const range2 = xorbRangesToErase[i]; + if (currentStart !== range2.start) { + xorbRangesToKeep.push({ start: currentStart, end: range2.start }); + } + currentStart = range2.end; + } + if (currentStart !== xorb.offset) { + xorbRangesToKeep.push({ start: currentStart, end: xorb.offset }); + } + let currentOffset = 0; + for (const range2 of xorbRangesToKeep) { + if (range2.start !== currentOffset) { + xorb.data.set(xorb.data.subarray(range2.start, range2.end), currentOffset); + } + currentOffset += range2.end - range2.start; + } + const newXorbChunks = []; + const oldIndexToNewIndex = /* @__PURE__ */ new Map(); + let erasedOffset = 0; + for (let i = 0; i < xorb.chunks.length; i++) { + const chunk2 = xorb.chunks[i]; + if (chunkIndexesToBacktrackFor.has(i)) { + if (i < xorb.chunks.length - 1) { + erasedOffset += xorb.chunks[i + 1].offset - chunk2.offset; + } + } else { + newXorbChunks.push({ + hash: chunk2.hash, + length: chunk2.length, + offset: chunk2.offset - erasedOffset + }); + if (erasedOffset > 0) { + oldIndexToNewIndex.set(i, newXorbChunks.length - 1); + } + } + } + xorb.chunks = newXorbChunks; + xorb.offset = currentOffset; + for (const chunk2 of chunkMetadata) { + if (chunk2.xorbId === xorb.id) { + const newIndex = oldIndexToNewIndex.get(chunk2.chunkIndex); + if (newIndex !== void 0) { + const cached = chunkCache.getChunk(xorb.chunks[newIndex].hash, null); + if (cached !== void 0 && cached.xorbIndex === chunk2.xorbId && cached.chunkIndex === chunk2.chunkIndex) { + chunkCache.updateChunkIndex(xorb.chunks[newIndex].hash, newIndex); + } + chunk2.chunkIndex = newIndex; + } + } + } + return dedupedBytes; +} +function removeChunkFromSourceData(sourceChunks, chunkLength) { + if (chunkLength === sourceChunks[0].length) { + const chunkToCopy = sourceChunks[0]; + sourceChunks.shift(); + return chunkToCopy; + } else if (chunkLength < sourceChunks[0].length) { + const chunkToCopy = sourceChunks[0].subarray(0, chunkLength); + sourceChunks[0] = sourceChunks[0].subarray(chunkLength); + return chunkToCopy; + } else { + const chunkToCopy = new Uint8Array(chunkLength); + let copyOffset = 0; + let index = 0; + let toSlice = -1; + while (copyOffset < chunkLength) { + const nToCopy = Math.min(sourceChunks[index].length, chunkLength - copyOffset); + chunkToCopy.set(sourceChunks[index].subarray(0, nToCopy), copyOffset); + copyOffset += nToCopy; + if (nToCopy === sourceChunks[index].length) { + index++; + } else { + toSlice = nToCopy; + } + } + sourceChunks.splice(0, index); + if (toSlice !== -1) { + sourceChunks[0] = sourceChunks[0].subarray(toSlice); + } + return chunkToCopy; + } +} +function writeChunk(xorb, chunk2, hash2) { + const regularCompressedChunk = compress(chunk2); + const bgCompressedChunk = compress(bg4_split_bytes(chunk2)); + const compressedChunk = bgCompressedChunk.length < regularCompressedChunk.length ? bgCompressedChunk : regularCompressedChunk; + const chunkToWrite = compressedChunk.length < chunk2.length ? compressedChunk : chunk2; + if (xorb.offset + XET_CHUNK_HEADER_BYTES + chunkToWrite.length > XORB_SIZE) { + return false; + } + xorb.data[xorb.offset] = 0; + xorb.data[xorb.offset + 1] = chunkToWrite.length & 255; + xorb.data[xorb.offset + 2] = chunkToWrite.length >> 8 & 255; + xorb.data[xorb.offset + 3] = chunkToWrite.length >> 16 & 255; + xorb.data[xorb.offset + 4] = chunkToWrite.length < chunk2.length ? bgCompressedChunk.length < regularCompressedChunk.length ? 2 /* ByteGroupingLZ4 */ : 1 /* LZ4 */ : 0 /* None */; + xorb.data[xorb.offset + 5] = chunk2.length & 255; + xorb.data[xorb.offset + 6] = chunk2.length >> 8 & 255; + xorb.data[xorb.offset + 7] = chunk2.length >> 16 & 255; + xorb.data.set(chunkToWrite, xorb.offset + XET_CHUNK_HEADER_BYTES); + xorb.chunks.push({ hash: hash2, length: chunk2.length, offset: xorb.offset }); + xorb.offset += XET_CHUNK_HEADER_BYTES + chunkToWrite.length; + return true; +} +var buildFileRepresentation = (metadata, chunks, computeVerificationHash) => { + if (metadata.length === 0) { + return []; + } + const representation = []; + let currentRange = { + xorbId: metadata[0].xorbId, + indexStart: metadata[0].chunkIndex, + indexEnd: metadata[0].chunkIndex + 1, + length: metadata[0].length, + chunkHashStart: 0 + }; + for (let i = 1; i < metadata.length; i++) { + const chunk2 = metadata[i]; + if (currentRange.xorbId === chunk2.xorbId && currentRange.indexEnd === chunk2.chunkIndex) { + currentRange.indexEnd = chunk2.chunkIndex + 1; + currentRange.length += chunk2.length; + } else { + const rangeHash2 = computeVerificationHash(chunks.slice(currentRange.chunkHashStart, i).map((x) => x.hash)); + representation.push({ + xorbId: currentRange.xorbId, + indexStart: currentRange.indexStart, + indexEnd: currentRange.indexEnd, + length: currentRange.length, + rangeHash: rangeHash2 + }); + currentRange = { + xorbId: chunk2.xorbId, + indexStart: chunk2.chunkIndex, + indexEnd: chunk2.chunkIndex + 1, + length: chunk2.length, + chunkHashStart: i + }; + } + } + const rangeHash = computeVerificationHash(chunks.slice(currentRange.chunkHashStart).map((x) => x.hash)); + representation.push({ + xorbId: currentRange.xorbId, + indexStart: currentRange.indexStart, + indexEnd: currentRange.indexEnd, + length: currentRange.length, + rangeHash + }); + return representation; +}; +async function loadDedupInfoToCache(content, remoteXorbHashes, params, chunkCache, chunkModule, opts) { + const chunker = new chunkModule.Chunker(TARGET_CHUNK_SIZE); + const cache = chunkCache; + let dedupedBytes = 0; + let chunksProcessed = 0; + let totalBytes = 0; + let bytesSinceRemoteDedup = Infinity; + const sourceChunks = []; + try { + const reader = content.stream().getReader(); + const processChunks = async (chunkData) => { + for (const chunk2 of chunkData) { + chunksProcessed++; + if (_optionalChain([opts, 'optionalAccess', _82 => _82.isAtBeginning]) && chunksProcessed === 1) { + chunk2.dedup = true; + } + totalBytes += chunk2.length; + removeChunkFromSourceData(sourceChunks, chunk2.length); + let cacheData = cache.getChunk(chunk2.hash, chunkModule.compute_hmac); + if (cacheData !== void 0) { + dedupedBytes += chunk2.length; + bytesSinceRemoteDedup += chunk2.length; + continue; + } + if (chunk2.dedup && bytesSinceRemoteDedup >= INTERVAL_BETWEEN_REMOTE_DEDUP) { + const token = await xetWriteToken(params); + bytesSinceRemoteDedup = 0; + const shardResp = await (_nullishCoalesce(params.fetch, () => ( fetch)))(token.casUrl + "/v1/chunks/default/" + chunk2.hash, { + headers: { + Authorization: `Bearer ${token.accessToken}` + } + }); + if (shardResp.ok) { + const shard = await shardResp.blob(); + const shardData = await parseShardData(shard); + for (const xorb of shardData.xorbs) { + const remoteXorbId = -remoteXorbHashes.length; + remoteXorbHashes.push(xorb.hash); + let i = 0; + for (const xorbChunk of xorb.chunks) { + cache.addChunkToCache(xorbChunk.hash, remoteXorbId, i++, shardData.hmacKey); + } + } + cacheData = cache.getChunk(chunk2.hash, chunkModule.compute_hmac); + } + } + if (cacheData !== void 0) { + dedupedBytes += chunk2.length; + } + bytesSinceRemoteDedup += chunk2.length; + } + }; + while (true) { + if (_optionalChain([opts, 'optionalAccess', _83 => _83.end]) !== void 0 && totalBytes >= opts.end) { + break; + } + if (_optionalChain([opts, 'optionalAccess', _84 => _84.maxChunks]) !== void 0 && chunksProcessed >= opts.maxChunks) { + break; + } + const { done, value } = await reader.read(); + if (done) { + await processChunks(chunker.finish()); + break; + } + sourceChunks.push(value); + await processChunks(chunker.add_data(value)); + } + } finally { + chunker.free(); + } +} + +// src/utils/uploadShards.ts +var SHARD_MAX_SIZE = 64 * 1024 * 1024; +var SHARD_HEADER_SIZE = 48; +var SHARD_FOOTER_SIZE = 200; +var HASH_LENGTH2 = 32; +var XORB_FOOTER_LENGTH = 48; +var FILE_FOOTER_LENGTH = 48; +var SHARD_HEADER_VERSION = 2n; +var SHARD_FOOTER_VERSION = 1n; +var MDB_FILE_FLAG_WITH_VERIFICATION = 2147483648; +var MDB_FILE_FLAG_WITH_METADATA_EXT = 1073741824; +var EMPTY_HEX_HASH = "0".repeat(HASH_LENGTH2 * 2); +var SHARD_MAGIC_TAG = new Uint8Array([ + "H".charCodeAt(0), + "F".charCodeAt(0), + "R".charCodeAt(0), + "e".charCodeAt(0), + "p".charCodeAt(0), + "o".charCodeAt(0), + "M".charCodeAt(0), + "e".charCodeAt(0), + "t".charCodeAt(0), + "a".charCodeAt(0), + "D".charCodeAt(0), + "a".charCodeAt(0), + "t".charCodeAt(0), + "a".charCodeAt(0), + 0, + 85, + 105, + 103, + 69, + 106, + 123, + 129, + 87, + 131, + 165, + 189, + 217, + 92, + 205, + 209, + 74, + 169 +]); +async function* uploadShards(source, params) { + const xorbHashes = []; + const fileInfoSection = new Uint8Array(Math.floor(SHARD_MAX_SIZE - SHARD_HEADER_SIZE - SHARD_FOOTER_SIZE) * 0.25); + const xorbInfoSection = new Uint8Array(Math.floor(SHARD_MAX_SIZE - SHARD_HEADER_SIZE - SHARD_FOOTER_SIZE) * 0.75); + const xorbView = new DataView(xorbInfoSection.buffer); + let xorbViewOffset = 0; + const fileInfoView = new DataView(fileInfoSection.buffer); + let fileViewOffset = 0; + let xorbTotalSize = 0n; + let fileTotalSize = 0n; + let xorbTotalUnpackedSize = 0n; + for await (const output of createXorbs(source, params)) { + switch (output.event) { + case "xorb": { + xorbHashes.push(output.hash); + const xorbEntrySize = HASH_LENGTH2 + 4 + 4 + 4 + 4; + const chunksSize = output.chunks.length * (HASH_LENGTH2 + 4 + 4 + 8); + const totalXorbSize = xorbEntrySize + chunksSize; + if (xorbViewOffset + totalXorbSize > xorbInfoSection.length) { + if (xorbViewOffset > 0 || fileViewOffset > 0) { + await uploadShard(createShard(), params); + } + } + writeHashToArray(output.hash, xorbInfoSection, xorbViewOffset); + xorbViewOffset += HASH_LENGTH2; + xorbView.setUint32(xorbViewOffset, 0, true); + xorbViewOffset += 4; + xorbView.setUint32(xorbViewOffset, output.chunks.length, true); + xorbViewOffset += 4; + const xorbUnpackedSize = sum(output.chunks.map((x) => x.length)); + xorbView.setUint32(xorbViewOffset, xorbUnpackedSize, true); + xorbTotalUnpackedSize += BigInt(xorbUnpackedSize); + xorbTotalSize += BigInt(output.xorb.byteLength); + xorbViewOffset += 4; + xorbView.setUint32(xorbViewOffset, output.xorb.byteLength, true); + xorbViewOffset += 4; + let chunkBytes = 0; + for (const chunk2 of output.chunks) { + writeHashToArray(chunk2.hash, xorbInfoSection, xorbViewOffset); + xorbViewOffset += HASH_LENGTH2; + xorbView.setUint32(xorbViewOffset, chunkBytes, true); + xorbViewOffset += 4; + xorbView.setUint32(xorbViewOffset, chunk2.length, true); + xorbViewOffset += 4; + xorbView.setBigUint64(xorbViewOffset, 0n, true); + xorbViewOffset += 8; + chunkBytes += chunk2.length; + } + for (const file of output.files) { + yield { + event: "fileProgress", + path: file.path, + progress: file.lastSentProgress + }; + } + await uploadXorb(output, params); + for (const file of output.files) { + yield { event: "fileProgress", path: file.path, progress: file.progress }; + } + break; + } + case "file": { + yield { + event: "file", + path: output.path, + xetHash: output.hash, + sha256: output.sha256, + dedupRatio: output.dedupRatio + }; + const fileHeaderSize = HASH_LENGTH2 + 4 + 4 + 8; + const representationSize = output.representation.length * (HASH_LENGTH2 + 4 + 4 + 4 + 4); + const verificationSize = output.representation.length * (HASH_LENGTH2 + 16); + const metadataSize = HASH_LENGTH2 + 16; + const totalFileSize = fileHeaderSize + representationSize + verificationSize + metadataSize; + if (fileViewOffset + totalFileSize > fileInfoSection.length) { + if (xorbViewOffset > 0 || fileViewOffset > 0) { + await uploadShard(createShard(), params); + } + } + writeHashToArray(output.hash, fileInfoSection, fileViewOffset); + fileViewOffset += HASH_LENGTH2; + fileInfoView.setUint32(fileViewOffset, MDB_FILE_FLAG_WITH_METADATA_EXT + MDB_FILE_FLAG_WITH_VERIFICATION, true); + fileViewOffset += 4; + fileInfoView.setUint32(fileViewOffset, output.representation.length, true); + fileViewOffset += 4; + fileInfoView.setBigUint64(fileViewOffset, 0n, true); + fileViewOffset += 8; + for (const repItem of output.representation) { + writeHashToArray( + typeof repItem.xorbId === "number" ? xorbHashes[repItem.xorbId] : repItem.xorbId, + fileInfoSection, + fileViewOffset + ); + fileViewOffset += HASH_LENGTH2; + fileInfoView.setUint32(fileViewOffset, 0, true); + fileViewOffset += 4; + fileInfoView.setUint32(fileViewOffset, repItem.length, true); + fileViewOffset += 4; + fileInfoView.setUint32(fileViewOffset, repItem.indexStart, true); + fileViewOffset += 4; + fileInfoView.setUint32(fileViewOffset, repItem.indexEnd, true); + fileViewOffset += 4; + } + for (const repItem of output.representation) { + writeHashToArray(repItem.rangeHash, fileInfoSection, fileViewOffset); + fileViewOffset += HASH_LENGTH2; + for (let i = 0; i < 16; i++) { + fileInfoSection[fileViewOffset + i] = 0; + } + fileViewOffset += 16; + } + writeHashToArray(_nullishCoalesce(output.sha256, () => ( EMPTY_HEX_HASH)), fileInfoSection, fileViewOffset); + fileViewOffset += HASH_LENGTH2; + for (let i = 0; i < 16; i++) { + fileInfoSection[fileViewOffset + i] = 0; + } + fileViewOffset += 16; + break; + } + } + } + function createShard() { + const shard = new Uint8Array( + SHARD_HEADER_SIZE + SHARD_FOOTER_SIZE + xorbViewOffset + XORB_FOOTER_LENGTH + fileViewOffset + FILE_FOOTER_LENGTH + ); + const shardView = new DataView(shard.buffer); + let shardOffset = 0; + shard.set(SHARD_MAGIC_TAG, shardOffset); + shardOffset += SHARD_MAGIC_TAG.length; + shardView.setBigUint64(shardOffset, SHARD_HEADER_VERSION, true); + shardOffset += 8; + shardView.setBigUint64(shardOffset, BigInt(SHARD_FOOTER_SIZE), true); + shardOffset += 8; + shard.set(fileInfoSection.slice(0, fileViewOffset), shardOffset); + shardOffset += fileViewOffset; + for (let i = 0; i < 32; i++) { + shard[shardOffset + i] = 255; + } + shardOffset += 32; + for (let i = 0; i < 16; i++) { + shard[shardOffset + i] = 0; + } + shardOffset += 16; + const xorbInfoOffset = shardOffset; + shard.set(xorbInfoSection.slice(0, xorbViewOffset), shardOffset); + shardOffset += xorbViewOffset; + for (let i = 0; i < 32; i++) { + shard[shardOffset + i] = 255; + } + shardOffset += 32; + for (let i = 0; i < 16; i++) { + shard[shardOffset + i] = 0; + } + shardOffset += 16; + const footerOffset = shardOffset; + shardView.setBigUint64(shardOffset, SHARD_FOOTER_VERSION, true); + shardOffset += 8; + shardView.setBigUint64(shardOffset, BigInt(SHARD_HEADER_SIZE), true); + shardOffset += 8; + shardView.setBigUint64(shardOffset, BigInt(xorbInfoOffset), true); + shardOffset += 8; + for (let i = 0; i < 48; i++) { + shardView.setUint8(shardOffset + i, 0); + } + shardOffset += 48; + for (let i = 0; i < 32; i++) { + shardView.setUint8(shardOffset + i, 0); + } + shardOffset += 32; + shardView.setBigUint64(shardOffset, BigInt(Math.floor(Date.now() / 1e3)), true); + shardOffset += 8; + shardView.setBigUint64(shardOffset, 0n, true); + shardOffset += 8; + for (let i = 0; i < 48; i++) { + shardView.setUint8(shardOffset + i, 0); + } + shardOffset += 48; + shardView.setBigUint64(shardOffset, xorbTotalSize, true); + shardOffset += 8; + shardView.setBigUint64(shardOffset, fileTotalSize, true); + shardOffset += 8; + shardView.setBigUint64(shardOffset, xorbTotalUnpackedSize, true); + shardOffset += 8; + shardView.setBigUint64(shardOffset, BigInt(footerOffset), true); + xorbViewOffset = 0; + fileViewOffset = 0; + xorbTotalSize = 0n; + xorbTotalUnpackedSize = 0n; + fileTotalSize = 0n; + return shard; + } + if (xorbViewOffset || fileViewOffset) { + await uploadShard(createShard(), params); + } +} +function writeHashToArray(hash2, array, offset) { + for (let i = 0; i < hash2.length; i += 16) { + array[offset + i / 2] = parseInt(hash2.substring(i + 2 * 7, i + 2 * 8), 16); + array[offset + i / 2 + 1] = parseInt(hash2.substring(i + 2 * 6, i + 2 * 7), 16); + array[offset + i / 2 + 2] = parseInt(hash2.substring(i + 2 * 5, i + 2 * 6), 16); + array[offset + i / 2 + 3] = parseInt(hash2.substring(i + 2 * 4, i + 2 * 5), 16); + array[offset + i / 2 + 4] = parseInt(hash2.substring(i + 2 * 3, i + 2 * 4), 16); + array[offset + i / 2 + 5] = parseInt(hash2.substring(i + 2 * 2, i + 2 * 3), 16); + array[offset + i / 2 + 6] = parseInt(hash2.substring(i + 2 * 1, i + 2 * 2), 16); + array[offset + i / 2 + 7] = parseInt(hash2.substring(i + 2 * 0, i + 2 * 1), 16); + } +} +async function uploadXorb(xorb, params) { + const token = await xetWriteToken(params); + const resp = await (_nullishCoalesce(params.fetch, () => ( fetch)))(`${token.casUrl}/v1/xorbs/default/${xorb.hash}`, { + method: "POST", + body: xorb.xorb, + headers: { + Authorization: `Bearer ${token.accessToken}`, + ...params.xetParams.sessionId ? { "X-Xet-Session-Id": params.xetParams.sessionId } : {} + }, + ...{ + progressHint: { + progressCallback: (progress) => { + for (const file of xorb.files) { + _optionalChain([params, 'access', _85 => _85.yieldCallback, 'optionalCall', _86 => _86({ + event: "fileProgress", + path: file.path, + progress: file.lastSentProgress + (file.progress - file.lastSentProgress) * progress + })]); + } + } + } + } + }); + if (!resp.ok) { + throw await createApiError(resp); + } +} +async function uploadShard(shard, params) { + const token = await xetWriteToken(params); + const resp = await (_nullishCoalesce(params.fetch, () => ( fetch)))(`${token.casUrl}/v1/shards`, { + method: "POST", + body: shard, + headers: { + Authorization: `Bearer ${token.accessToken}`, + ...params.xetParams.sessionId ? { "X-Xet-Session-Id": params.xetParams.sessionId } : {} + } + }); + if (!resp.ok) { + throw await createApiError(resp); + } +} + +// src/utils/splitAsyncGenerator.ts +function splitAsyncGenerator(source, n) { + if (n <= 0) { + return []; + } + const sleep = (ms) => new Promise((resolve2) => setTimeout(resolve2, ms)); + let takenIndex = null; + const generators = []; + let remaining = n; + for (let i = 0; i < n; i++) { + generators.push({ + next: async () => { + while (takenIndex !== null) { + await sleep(1); + } + takenIndex = i; + return source.next().then((r) => { + takenIndex = null; + return r; + }); + }, + return: async () => { + remaining--; + if (remaining === 0) { + return source.return(void 0); + } + return { + done: true, + value: void 0 + }; + }, + throw: async (error) => { + return source.throw(error); + }, + [Symbol.asyncIterator]: () => generators[i] + }); + } + return generators; +} + +// src/lib/commit.ts +var CONCURRENT_SHAS = 5; +var CONCURRENT_LFS_UPLOADS = 5; +var MULTIPART_PARALLEL_UPLOAD = 5; +function isFileOperation(op) { + const ret = op.operation === "addOrUpdate"; + if (ret && !(op.content instanceof Blob)) { + throw new TypeError("Precondition failed: op.content should be a Blob"); + } + return ret; +} +async function* commitIter(params) { + const accessToken = checkCredentials(params); + const repoId = toRepoId(params.repo); + if (repoId.type === "bucket") { + return yield* commitIterBucket(params); + } + yield { event: "phase", phase: "preuploading" }; + let useXet = _nullishCoalesce(params.useXet, () => ( true)); + const lfsShas = /* @__PURE__ */ new Map(); + const abortController = new AbortController(); + const abortSignal = abortController.signal; + if (!abortSignal.throwIfAborted) { + abortSignal.throwIfAborted = () => { + if (abortSignal.aborted) { + throw new DOMException("Aborted", "AbortError"); + } + }; + } + if (params.abortSignal) { + params.abortSignal.addEventListener("abort", () => abortController.abort()); + } + try { + const allOperations = (await Promise.all( + params.operations.map(async (operation) => { + if (operation.operation === "edit") { + const splicedBlob = SplicedBlob.create( + operation.originalContent, + operation.edits.map((splice) => ({ insert: splice.content, start: splice.start, end: splice.end })) + ); + return { + operation: "addOrUpdate", + path: operation.path, + content: splicedBlob + }; + } + if (operation.operation !== "addOrUpdate") { + return operation; + } + if (!(operation.content instanceof URL)) { + return { ...operation, content: operation.content }; + } + const lazyBlobs = await createBlobs(operation.content, operation.path, { + fetch: params.fetch, + maxFolderDepth: params.maxFolderDepth + }); + _optionalChain([abortSignal, 'optionalAccess', _87 => _87.throwIfAborted, 'call', _88 => _88()]); + return lazyBlobs.map((blob) => ({ + ...operation, + content: blob.blob, + path: blob.path + })); + }) + )).flat(1); + const gitAttributes = _optionalChain([allOperations, 'access', _89 => _89.filter, 'call', _90 => _90(isFileOperation), 'access', _91 => _91.find, 'call', _92 => _92((op) => op.path === ".gitattributes"), 'optionalAccess', _93 => _93.content]); + for (const operations of chunk(allOperations.filter(isFileOperation), 100)) { + const payload = { + gitAttributes: gitAttributes && await gitAttributes.text(), + files: await Promise.all( + operations.map(async (operation) => ({ + path: operation.path, + size: operation.content.size, + sample: base64FromBytes(new Uint8Array(await operation.content.slice(0, 512).arrayBuffer())) + })) + ) + }; + _optionalChain([abortSignal, 'optionalAccess', _94 => _94.throwIfAborted, 'call', _95 => _95()]); + const res = await (_nullishCoalesce(params.fetch, () => ( fetch)))( + `${_nullishCoalesce(params.hubUrl, () => ( HUB_URL))}/api/${repoId.type}s/${repoId.name}/preupload/${encodeURIComponent( + _nullishCoalesce(params.branch, () => ( "main")) + )}` + (params.isPullRequest ? "?create_pr=1" : ""), + { + method: "POST", + headers: { + ...accessToken && { Authorization: `Bearer ${accessToken}` }, + "Content-Type": "application/json" + }, + body: JSON.stringify(payload), + signal: abortSignal + } + ); + if (!res.ok) { + throw await createApiError(res); + } + const json = await res.json(); + for (const file of json.files) { + if (file.uploadMode === "lfs") { + lfsShas.set(file.path, null); + } + } + } + yield { event: "phase", phase: "uploadingLargeFiles" }; + for (const operations of chunk( + allOperations.filter(isFileOperation).filter((op) => lfsShas.has(op.path)), + 100 + )) { + const shas = yield* eventToGenerator((yieldCallback, returnCallback, rejectCallack) => { + return promisesQueue( + operations.map((op) => async () => { + const iterator = sha256(op.content, { useWebWorker: params.useWebWorkers, abortSignal }); + let res2; + do { + res2 = await iterator.next(); + if (!res2.done) { + yieldCallback({ event: "fileProgress", path: op.path, progress: res2.value, state: "hashing" }); + } + } while (!res2.done); + const sha = res2.value; + lfsShas.set(op.path, res2.value); + return sha; + }), + CONCURRENT_SHAS + ).then(returnCallback, rejectCallack); + }); + _optionalChain([abortSignal, 'optionalAccess', _96 => _96.throwIfAborted, 'call', _97 => _97()]); + const payload = { + operation: "upload", + // multipart is a custom protocol for HF + transfers: ["basic", "multipart", ...useXet ? ["xet"] : []], + hash_algo: "sha_256", + ...!params.isPullRequest && { + ref: { + name: _nullishCoalesce(params.branch, () => ( "main")) + } + }, + objects: operations.map((op, i) => ({ + oid: shas[i], + size: op.content.size + })) + }; + const res = await (_nullishCoalesce(params.fetch, () => ( fetch)))( + `${_nullishCoalesce(params.hubUrl, () => ( HUB_URL))}/${repoId.type === "model" ? "" : repoId.type + "s/"}${repoId.name}.git/info/lfs/objects/batch`, + { + method: "POST", + headers: { + ...accessToken && { Authorization: `Bearer ${accessToken}` }, + Accept: "application/vnd.git-lfs+json", + "Content-Type": "application/vnd.git-lfs+json" + }, + body: JSON.stringify(payload), + signal: abortSignal + } + ); + if (!res.ok) { + throw await createApiError(res); + } + const json = await res.json(); + const batchRequestId = res.headers.get("X-Request-Id") || void 0; + const shaToOperation = new Map(operations.map((op, i) => [shas[i], op])); + if (useXet && json.transfer !== "xet") { + useXet = false; + } + let xetParams = null; + if (useXet) { + for (const obj of json.objects) { + const op = shaToOperation.get(obj.oid); + if (!op) { + throw new InvalidApiResponseFormatError("Unrequested object ID in response"); + } + if (obj.error) { + const errorMessage = `Error while doing LFS batch call for ${operations[shas.indexOf(obj.oid)].path}: ${obj.error.message}${batchRequestId ? ` - Request ID: ${batchRequestId}` : ""}`; + throw new HubApiError(res.url, obj.error.code, batchRequestId, errorMessage); + } + if (!_optionalChain([obj, 'access', _98 => _98.actions, 'optionalAccess', _99 => _99.upload])) { + yield { + event: "fileProgress", + path: op.path, + progress: 1, + state: "uploading" + }; + } else { + const headers = new Headers(obj.actions.upload.header); + xetParams = { + sessionId: _nullishCoalesce(headers.get("X-Xet-Session-Id"), () => ( void 0)), + casUrl: _nullishCoalesce(headers.get("X-Xet-Cas-Url"), () => ( void 0)), + accessToken: _nullishCoalesce(headers.get("X-Xet-Access-Token"), () => ( void 0)), + expiresAt: headers.get("X-Xet-Token-Expiration") ? new Date(parseInt(_nullishCoalesce(headers.get("X-Xet-Token-Expiration"), () => ( "0"))) * 1e3) : void 0, + refreshWriteTokenUrl: obj.actions.upload.href + }; + } + } + const source = async function* () { + for (const obj of json.objects) { + const op = shaToOperation.get(obj.oid); + if (!op || !_optionalChain([obj, 'access', _100 => _100.actions, 'optionalAccess', _101 => _101.upload])) { + continue; + } + _optionalChain([abortSignal, 'optionalAccess', _102 => _102.throwIfAborted, 'call', _103 => _103()]); + yield { content: op.content, path: op.path, sha256: obj.oid }; + } + }(); + if (xetParams) { + const fixedXetParams = xetParams; + const sources = splitAsyncGenerator(source, 5); + yield* eventToGenerator( + (yieldCallback, returnCallback, rejectCallback) => Promise.all( + sources.map(async function(source2) { + for await (const event of uploadShards(source2, { + fetch: params.fetch, + accessToken, + hubUrl: _nullishCoalesce(params.hubUrl, () => ( HUB_URL)), + repo: repoId, + xetParams: fixedXetParams, + // todo: maybe leave empty if PR? + rev: _nullishCoalesce(params.branch, () => ( "main")), + isPullRequest: params.isPullRequest, + yieldCallback: (event2) => yieldCallback({ ...event2, state: "uploading" }) + })) { + if (event.event === "file") { + yieldCallback({ + event: "fileProgress", + path: event.path, + progress: 1, + state: "uploading" + }); + } else if (event.event === "fileProgress") { + yieldCallback({ + event: "fileProgress", + path: event.path, + progress: event.progress, + state: "uploading" + }); + } + } + }) + ).then(() => returnCallback(void 0), rejectCallback) + ); + } else { + } + } else { + yield* eventToGenerator((yieldCallback, returnCallback, rejectCallback) => { + return promisesQueueStreaming( + json.objects.map((obj) => async () => { + const op = shaToOperation.get(obj.oid); + if (!op) { + throw new InvalidApiResponseFormatError("Unrequested object ID in response"); + } + _optionalChain([abortSignal, 'optionalAccess', _104 => _104.throwIfAborted, 'call', _105 => _105()]); + if (obj.error) { + const errorMessage = `Error while doing LFS batch call for ${operations[shas.indexOf(obj.oid)].path}: ${obj.error.message}${batchRequestId ? ` - Request ID: ${batchRequestId}` : ""}`; + throw new HubApiError(res.url, obj.error.code, batchRequestId, errorMessage); + } + if (!_optionalChain([obj, 'access', _106 => _106.actions, 'optionalAccess', _107 => _107.upload])) { + yieldCallback({ + event: "fileProgress", + path: op.path, + progress: 1, + state: "uploading" + }); + return; + } + yieldCallback({ + event: "fileProgress", + path: op.path, + progress: 0, + state: "uploading" + }); + const content = op.content; + const header = obj.actions.upload.header; + if (_optionalChain([header, 'optionalAccess', _108 => _108.chunk_size])) { + const chunkSize = parseInt(header.chunk_size); + const completionUrl = obj.actions.upload.href; + const parts = Object.keys(header).filter((key) => /^[0-9]+$/.test(key)); + if (parts.length !== Math.ceil(content.size / chunkSize)) { + throw new Error("Invalid server response to upload large LFS file, wrong number of parts"); + } + const completeReq = { + oid: obj.oid, + parts: parts.map((part) => ({ + partNumber: +part, + etag: "" + })) + }; + const progressCallback = (progress) => yieldCallback({ event: "fileProgress", path: op.path, progress, state: "uploading" }); + await promisesQueueStreaming( + parts.map((part) => async () => { + _optionalChain([abortSignal, 'optionalAccess', _109 => _109.throwIfAborted, 'call', _110 => _110()]); + const index = parseInt(part) - 1; + const slice = content.slice(index * chunkSize, (index + 1) * chunkSize); + const res3 = await (_nullishCoalesce(params.fetch, () => ( fetch)))(header[part], { + method: "PUT", + /** Unfortunately, browsers don't support our inherited version of Blob in fetch calls */ + body: slice instanceof WebBlob && isFrontend ? await slice.arrayBuffer() : slice, + signal: abortSignal, + ...{ + progressHint: { + path: op.path, + part: index, + numParts: parts.length, + progressCallback + } + // eslint-disable-next-line @typescript-eslint/no-explicit-any + } + }); + if (!res3.ok) { + throw await createApiError(res3, { + requestId: batchRequestId, + message: `Error while uploading part ${part} of ${operations[shas.indexOf(obj.oid)].path} to LFS storage` + }); + } + const eTag = res3.headers.get("ETag"); + if (!eTag) { + throw new Error("Cannot get ETag of part during multipart upload"); + } + completeReq.parts[Number(part) - 1].etag = eTag; + }), + MULTIPART_PARALLEL_UPLOAD + ); + _optionalChain([abortSignal, 'optionalAccess', _111 => _111.throwIfAborted, 'call', _112 => _112()]); + const res2 = await (_nullishCoalesce(params.fetch, () => ( fetch)))(completionUrl, { + method: "POST", + body: JSON.stringify(completeReq), + headers: { + Accept: "application/vnd.git-lfs+json", + "Content-Type": "application/vnd.git-lfs+json" + }, + signal: abortSignal + }); + if (!res2.ok) { + throw await createApiError(res2, { + requestId: batchRequestId, + message: `Error completing multipart upload of ${operations[shas.indexOf(obj.oid)].path} to LFS storage` + }); + } + yieldCallback({ + event: "fileProgress", + path: op.path, + progress: 1, + state: "uploading" + }); + } else { + const res2 = await (_nullishCoalesce(params.fetch, () => ( fetch)))(obj.actions.upload.href, { + method: "PUT", + headers: { + ...batchRequestId ? { "X-Request-Id": batchRequestId } : void 0 + }, + /** Unfortunately, browsers don't support our inherited version of Blob in fetch calls */ + body: content instanceof WebBlob && isFrontend ? await content.arrayBuffer() : content, + signal: abortSignal, + ...{ + progressHint: { + path: op.path, + progressCallback: (progress) => yieldCallback({ + event: "fileProgress", + path: op.path, + progress, + state: "uploading" + }) + } + // eslint-disable-next-line @typescript-eslint/no-explicit-any + } + }); + if (!res2.ok) { + throw await createApiError(res2, { + requestId: batchRequestId, + message: `Error while uploading ${operations[shas.indexOf(obj.oid)].path} to LFS storage` + }); + } + yieldCallback({ + event: "fileProgress", + path: op.path, + progress: 1, + state: "uploading" + }); + } + }), + CONCURRENT_LFS_UPLOADS + ).then(returnCallback, rejectCallback); + }); + } + } + _optionalChain([abortSignal, 'optionalAccess', _113 => _113.throwIfAborted, 'call', _114 => _114()]); + yield { event: "phase", phase: "committing" }; + return yield* eventToGenerator( + async (yieldCallback, returnCallback, rejectCallback) => (_nullishCoalesce(params.fetch, () => ( fetch)))( + `${_nullishCoalesce(params.hubUrl, () => ( HUB_URL))}/api/${repoId.type}s/${repoId.name}/commit/${encodeURIComponent( + _nullishCoalesce(params.branch, () => ( "main")) + )}` + (params.isPullRequest ? "?create_pr=1" : ""), + { + method: "POST", + headers: { + ...accessToken && { Authorization: `Bearer ${accessToken}` }, + "Content-Type": "application/x-ndjson" + }, + body: [ + { + key: "header", + value: { + summary: params.title, + description: params.description, + parentCommit: params.parentCommit + } + }, + ...await Promise.all( + allOperations.map((operation) => { + if (isFileOperation(operation)) { + const sha = lfsShas.get(operation.path); + if (sha) { + return { + key: "lfsFile", + value: { + path: operation.path, + algo: "sha256", + size: operation.content.size, + oid: sha + } + }; + } + } + return convertOperationToNdJson(operation); + }) + ) + ].map((x) => JSON.stringify(x)).join("\n"), + signal: abortSignal, + ...{ + progressHint: { + progressCallback: (progress) => { + for (const op of allOperations) { + if (isFileOperation(op) && !lfsShas.has(op.path)) { + yieldCallback({ + event: "fileProgress", + path: op.path, + progress, + state: "uploading" + }); + } + } + } + } + // eslint-disable-next-line @typescript-eslint/no-explicit-any + } + } + ).then(async (res) => { + if (!res.ok) { + throw await createApiError(res); + } + const json = await res.json(); + returnCallback({ + pullRequestUrl: json.pullRequestUrl, + commit: { + oid: json.commitOid, + url: json.commitUrl + }, + hookOutput: json.hookOutput + }); + }).catch(rejectCallback) + ); + } catch (err) { + abortController.abort(); + throw err; + } +} +async function* commitIterBucket(params) { + const accessToken = checkCredentials(params); + const repoId = toRepoId(params.repo); + if (params.useXet === false) { + throw new Error("useXet must be true or undefined for buckets"); + } + const abortController = new AbortController(); + const abortSignal = abortController.signal; + if (!abortSignal.throwIfAborted) { + abortSignal.throwIfAborted = () => { + if (abortSignal.aborted) { + throw new DOMException("Aborted", "AbortError"); + } + }; + } + if (params.abortSignal) { + params.abortSignal.addEventListener("abort", () => abortController.abort()); + } + try { + const allOperations = (await Promise.all( + params.operations.map(async (operation) => { + if (operation.operation === "edit") { + const splicedBlob = SplicedBlob.create( + operation.originalContent, + operation.edits.map((splice) => ({ insert: splice.content, start: splice.start, end: splice.end })) + ); + return { + operation: "addOrUpdate", + path: operation.path, + content: splicedBlob + }; + } + if (operation.operation !== "addOrUpdate") { + return operation; + } + if (!(operation.content instanceof URL)) { + return { ...operation, content: operation.content }; + } + const lazyBlobs = await createBlobs(operation.content, operation.path, { + fetch: params.fetch, + maxFolderDepth: params.maxFolderDepth + }); + _optionalChain([abortSignal, 'optionalAccess', _115 => _115.throwIfAborted, 'call', _116 => _116()]); + return lazyBlobs.map((blob) => ({ + ...operation, + content: blob.blob, + path: blob.path + })); + }) + )).flat(1); + yield { event: "phase", phase: "uploadingLargeFiles" }; + for (const operations of chunk(allOperations.filter(isFileOperation), 100)) { + const xetHashes = /* @__PURE__ */ new Map(); + _optionalChain([abortSignal, 'optionalAccess', _117 => _117.throwIfAborted, 'call', _118 => _118()]); + const source = async function* () { + for (const operation of operations) { + _optionalChain([abortSignal, 'optionalAccess', _119 => _119.throwIfAborted, 'call', _120 => _120()]); + yield { content: operation.content, path: operation.path }; + } + }(); + const xetParams = { + sessionId: crypto.randomUUID(), + refreshWriteTokenUrl: `${_nullishCoalesce(params.hubUrl, () => ( HUB_URL))}/api/${repoId.type}s/${repoId.name}/xet-write-token` + }; + const sources = splitAsyncGenerator(source, 5); + yield* eventToGenerator( + (yieldCallback, returnCallback, rejectCallback) => Promise.all( + sources.map(async function(source2) { + for await (const event of uploadShards(source2, { + fetch: params.fetch, + accessToken, + hubUrl: _nullishCoalesce(params.hubUrl, () => ( HUB_URL)), + repo: repoId, + xetParams, + rev: _nullishCoalesce(params.branch, () => ( "main")), + yieldCallback: (event2) => yieldCallback({ ...event2, state: "uploading" }) + })) { + if (event.event === "file") { + yieldCallback({ + event: "fileProgress", + path: event.path, + progress: 1, + state: "uploading" + }); + xetHashes.set(event.path, event.xetHash); + } else if (event.event === "fileProgress") { + yieldCallback({ + event: "fileProgress", + path: event.path, + progress: event.progress, + state: "uploading" + }); + } + } + }) + ).then(() => returnCallback(void 0), rejectCallback) + ); + const resp = await (_nullishCoalesce(params.fetch, () => ( fetch)))( + `${_nullishCoalesce(params.hubUrl, () => ( HUB_URL))}/api/${repoId.type}s/${repoId.name}/batch`, + { + method: "POST", + headers: { + ...accessToken && { Authorization: `Bearer ${accessToken}` }, + "Content-Type": "application/x-ndjson" + }, + body: [...xetHashes.entries()].map( + ([path, xetHash]) => JSON.stringify({ + type: "addFile", + path, + xetHash + }) + ).join("\n"), + signal: abortSignal + } + ); + if (!resp.ok && resp.status !== 422) { + throw await createApiError(resp); + } + const json = await resp.json(); + for (const failed of json.failed) { + yield { + event: "fileProgress", + path: failed.path, + progress: 0, + state: "error" + }; + } + } + _optionalChain([abortSignal, 'optionalAccess', _121 => _121.throwIfAborted, 'call', _122 => _122()]); + const deletedOperations = allOperations.filter((operation) => operation.operation === "delete"); + if (deletedOperations.length > 0) { + const resp = await (_nullishCoalesce(params.fetch, () => ( fetch)))( + `${_nullishCoalesce(params.hubUrl, () => ( HUB_URL))}/api/${repoId.type}s/${repoId.name}/batch`, + { + method: "POST", + headers: { + ...accessToken && { Authorization: `Bearer ${accessToken}` }, + "Content-Type": "application/x-ndjson" + }, + body: deletedOperations.map( + (operation) => JSON.stringify({ + type: "deleteFile", + path: operation.path + }) + ).join("\n"), + signal: abortSignal + } + ); + if (!resp.ok) { + throw await createApiError(resp); + } + const json = await resp.json(); + if (json.failed.length > 0) { + const failedPaths = json.failed.slice(0, 5).map((f) => f.path); + throw new Error( + `Failed to delete ${json.failed.length} file(s): ${failedPaths.join(", ")}${json.failed.length > 5 ? "..." : ""}, request ID: ${resp.headers.get("X-Request-Id")}` + ); + } + } + _optionalChain([abortSignal, 'optionalAccess', _123 => _123.throwIfAborted, 'call', _124 => _124()]); + } catch (err) { + abortController.abort(); + throw err; + } +} +async function commit(params) { + const iterator = commitIter(params); + const failedPaths = []; + let failedCount = 0; + let res = await iterator.next(); + while (!res.done) { + if (res.value.event === "fileProgress" && res.value.state === "error") { + failedCount++; + if (failedPaths.length < 5) { + failedPaths.push(res.value.path); + } + } + res = await iterator.next(); + } + if (failedCount > 0) { + throw new Error( + `Failed to upload ${failedCount} file(s): ${failedPaths.join(", ")}${failedCount > 5 ? "..." : ""}` + ); + } + return res.value; +} +async function convertOperationToNdJson(operation) { + switch (operation.operation) { + case "addOrUpdate": { + return { + key: "file", + value: { + content: base64FromBytes(new Uint8Array(await operation.content.arrayBuffer())), + path: operation.path, + encoding: "base64" + } + }; + } + case "delete": { + return { + key: "deletedFile", + value: { + path: operation.path + } + }; + } + case "edit": { + throw new Error( + "Edit operations should be converted to addOrUpdate operations before reaching convertOperationToNdJson" + ); + } + default: + throw new TypeError("Unknown operation: " + operation.operation); + } +} + +// src/lib/count-commits.ts +async function countCommits(params) { + const accessToken = checkCredentials(params); + const repoId = toRepoId(params.repo); + const url = `${_nullishCoalesce(params.hubUrl, () => ( HUB_URL))}/api/${repoId.type}s/${repoId.name}/commits/${_nullishCoalesce(params.revision, () => ( "main"))}?limit=1`; + const res = await (_nullishCoalesce(params.fetch, () => ( fetch)))(url, { + headers: accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + }); + if (!res.ok) { + throw await createApiError(res); + } + return parseInt(_nullishCoalesce(res.headers.get("x-total-count"), () => ( "0")), 10); +} + +// src/lib/create-repo.ts +async function createRepo(params) { + const accessToken = checkCredentials(params); + const repoId = toRepoId(params.repo); + const [namespace, repoName] = repoId.name.split("/"); + if (!namespace || !repoName) { + throw new TypeError( + `"${repoId.name}" is not a fully qualified repo name. It should be of the form "{namespace}/{repoName}".` + ); + } + const res = repoId.type === "bucket" ? await (_nullishCoalesce(params.fetch, () => ( fetch)))(`${_nullishCoalesce(params.hubUrl, () => ( HUB_URL))}/api/buckets/${namespace}/${repoName}`, { + method: "POST", + body: JSON.stringify({ + private: params.private, + resourceGroupId: params.resourceGroupId + }), + headers: { + Authorization: `Bearer ${accessToken}`, + "Content-Type": "application/json" + } + }) : await (_nullishCoalesce(params.fetch, () => ( fetch)))(`${_nullishCoalesce(params.hubUrl, () => ( HUB_URL))}/api/repos/create`, { + method: "POST", + body: JSON.stringify({ + name: repoName, + private: params.private, + organization: namespace, + resourceGroupId: params.resourceGroupId, + license: params.license, + ...repoId.type === "space" ? { + type: "space", + sdk: _nullishCoalesce(params.sdk, () => ( "static")) + } : { + type: repoId.type + }, + files: params.files ? await Promise.all( + params.files.map(async (file) => ({ + encoding: "base64", + path: file.path, + content: base64FromBytes( + new Uint8Array(file.content instanceof Blob ? await file.content.arrayBuffer() : file.content) + ) + })) + ) : void 0 + }), + headers: { + Authorization: `Bearer ${accessToken}`, + "Content-Type": "application/json" + } + }); + if (!res.ok) { + throw await createApiError(res); + } + const output = await res.json(); + return { repoUrl: output.url, id: output.id }; +} + +// src/lib/create-branch.ts +async function createBranch(params) { + const repoId = toRepoId(params.repo); + const res = await (_nullishCoalesce(params.fetch, () => ( fetch)))( + `${_nullishCoalesce(params.hubUrl, () => ( HUB_URL))}/api/${repoId.type}s/${repoId.name}/branch/${encodeURIComponent(params.branch)}`, + { + method: "POST", + headers: { + "Content-Type": "application/json", + ...params.accessToken && { + Authorization: `Bearer ${params.accessToken}` + } + }, + body: JSON.stringify({ + startingPoint: params.revision, + ...params.empty && { emptyBranch: true }, + overwrite: params.overwrite + }) + } + ); + if (!res.ok) { + throw await createApiError(res); + } +} + +// src/lib/create-collection.ts +async function createCollection(params) { + const accessToken = checkCredentials(params); + const res = await (_nullishCoalesce(params.fetch, () => ( fetch)))(`${_nullishCoalesce(params.hubUrl, () => ( HUB_URL))}/api/collections`, { + method: "POST", + body: JSON.stringify(params.collection), + headers: { + Authorization: `Bearer ${accessToken}`, + "Content-Type": "application/json" + } + }); + if (!res.ok) { + throw await createApiError(res); + } + const output = await res.json(); + return { slug: output.slug }; +} + +// src/utils/pick.ts +function pick(o, props) { + return Object.assign( + {}, + ...props.map((prop) => { + if (o[prop] !== void 0) { + return { [prop]: o[prop] }; + } + }) + ); +} + +// src/utils/parseLinkHeader.ts +function parseLinkHeader(header) { + const regex = /<(https?:[/][/][^>]+)>;\s+rel="([^"]+)"/g; + return Object.fromEntries([...header.matchAll(regex)].map(([, url, rel]) => [rel, url])); +} + +// src/lib/list-datasets.ts +var DATASET_EXPAND_KEYS = [ + "private", + "downloads", + "gated", + "likes", + "lastModified" +]; +var DATASET_EXPANDABLE_KEYS = [ + "author", + "cardData", + "citation", + "createdAt", + "disabled", + "description", + "downloads", + "downloadsAllTime", + "gated", + "gitalyUid", + "lastModified", + "likes", + "paperswithcode_id", + "private", + // "siblings", + "sha", + "tags" +]; +async function* listDatasets(params) { + const accessToken = params && checkCredentials(params); + let totalToFetch = _nullishCoalesce(_optionalChain([params, 'optionalAccess', _125 => _125.limit]), () => ( Infinity)); + const search = new URLSearchParams([ + ...Object.entries({ + limit: String(Math.min(totalToFetch, 500)), + ..._optionalChain([params, 'optionalAccess', _126 => _126.search, 'optionalAccess', _127 => _127.owner]) ? { author: params.search.owner } : void 0, + ..._optionalChain([params, 'optionalAccess', _128 => _128.search, 'optionalAccess', _129 => _129.query]) ? { search: params.search.query } : void 0, + ..._optionalChain([params, 'optionalAccess', _130 => _130.sort]) ? { sort: params.sort } : void 0 + }), + ..._nullishCoalesce(_optionalChain([params, 'optionalAccess', _131 => _131.search, 'optionalAccess', _132 => _132.tags, 'optionalAccess', _133 => _133.map, 'call', _134 => _134((tag) => ["filter", tag])]), () => ( [])), + ...DATASET_EXPAND_KEYS.map((val) => ["expand", val]), + ..._nullishCoalesce(_optionalChain([params, 'optionalAccess', _135 => _135.additionalFields, 'optionalAccess', _136 => _136.map, 'call', _137 => _137((val) => ["expand", val])]), () => ( [])) + ]).toString(); + let url = `${_optionalChain([params, 'optionalAccess', _138 => _138.hubUrl]) || HUB_URL}/api/datasets` + (search ? "?" + search : ""); + while (url) { + const res = await (_nullishCoalesce(_optionalChain([params, 'optionalAccess', _139 => _139.fetch]), () => ( fetch)))(url, { + headers: { + accept: "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : void 0 + } + }); + if (!res.ok) { + throw await createApiError(res); + } + const items = await res.json(); + for (const item of items) { + yield { + ..._optionalChain([params, 'optionalAccess', _140 => _140.additionalFields]) && pick(item, params.additionalFields), + id: item._id, + name: item.id, + private: item.private, + downloads: item.downloads, + likes: item.likes, + gated: item.gated, + updatedAt: new Date(item.lastModified) + }; + totalToFetch--; + if (totalToFetch <= 0) { + return; + } + } + const linkHeader = res.headers.get("Link"); + url = linkHeader ? parseLinkHeader(linkHeader).next : void 0; + } +} + +// src/lib/dataset-info.ts +async function datasetInfo(params) { + const accessToken = params && checkCredentials(params); + const search = new URLSearchParams([ + ...DATASET_EXPAND_KEYS.map((val) => ["expand", val]), + ..._nullishCoalesce(_optionalChain([params, 'optionalAccess', _141 => _141.additionalFields, 'optionalAccess', _142 => _142.map, 'call', _143 => _143((val) => ["expand", val])]), () => ( [])) + ]).toString(); + const response = await (params.fetch || fetch)( + `${_optionalChain([params, 'optionalAccess', _144 => _144.hubUrl]) || HUB_URL}/api/datasets/${params.name}/revision/${encodeURIComponent( + _nullishCoalesce(params.revision, () => ( "HEAD")) + )}?${search.toString()}`, + { + headers: { + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } + const data = await response.json(); + return { + ..._optionalChain([params, 'optionalAccess', _145 => _145.additionalFields]) && pick(data, params.additionalFields), + id: data._id, + name: data.id, + private: data.private, + downloads: data.downloads, + likes: data.likes, + gated: data.gated, + updatedAt: new Date(data.lastModified) + }; +} + +// src/lib/delete-branch.ts +async function deleteBranch(params) { + const repoId = toRepoId(params.repo); + const res = await (_nullishCoalesce(params.fetch, () => ( fetch)))( + `${_nullishCoalesce(params.hubUrl, () => ( HUB_URL))}/api/${repoId.type}s/${repoId.name}/branch/${encodeURIComponent(params.branch)}`, + { + method: "DELETE", + headers: { + ...params.accessToken && { + Authorization: `Bearer ${params.accessToken}` + } + } + } + ); + if (!res.ok) { + throw await createApiError(res); + } +} + +// src/lib/delete-file.ts +function deleteFile(params) { + return commit({ + ...params.accessToken ? { accessToken: params.accessToken } : { credentials: params.credentials }, + repo: params.repo, + operations: [ + { + operation: "delete", + path: params.path + } + ], + title: _nullishCoalesce(params.commitTitle, () => ( `Delete ${params.path}`)), + description: params.commitDescription, + hubUrl: params.hubUrl, + branch: params.branch, + isPullRequest: params.isPullRequest, + parentCommit: params.parentCommit, + fetch: params.fetch + }); +} + +// src/lib/delete-files.ts +function deleteFiles(params) { + return commit({ + ...params.accessToken ? { accessToken: params.accessToken } : { credentials: params.credentials }, + repo: params.repo, + operations: params.paths.map((path) => ({ + operation: "delete", + path + })), + title: _nullishCoalesce(params.commitTitle, () => ( `Deletes ${params.paths.length} files`)), + description: params.commitDescription, + hubUrl: params.hubUrl, + branch: params.branch, + isPullRequest: params.isPullRequest, + parentCommit: params.parentCommit, + fetch: params.fetch + }); +} + +// src/lib/delete-repo.ts +async function deleteRepo(params) { + const accessToken = checkCredentials(params); + const repoId = toRepoId(params.repo); + const [namespace, repoName] = repoId.name.split("/"); + const res = repoId.type === "bucket" ? await (_nullishCoalesce(params.fetch, () => ( fetch)))(`${_nullishCoalesce(params.hubUrl, () => ( HUB_URL))}/api/buckets/${namespace}/${repoName}`, { + method: "DELETE", + headers: { + Authorization: `Bearer ${accessToken}`, + "Content-Type": "application/json" + } + }) : await (_nullishCoalesce(params.fetch, () => ( fetch)))(`${_nullishCoalesce(params.hubUrl, () => ( HUB_URL))}/api/repos/delete`, { + method: "DELETE", + body: JSON.stringify({ + name: repoName, + organization: namespace, + type: repoId.type + }), + headers: { + Authorization: `Bearer ${accessToken}`, + "Content-Type": "application/json" + } + }); + if (!res.ok) { + throw await createApiError(res); + } +} + +// src/lib/delete-collection.ts +async function deleteCollection(params) { + if (!params.slug) { + throw new TypeError("slug is required"); + } + const accessToken = checkCredentials(params); + const res = await (_nullishCoalesce(params.fetch, () => ( fetch)))(`${_nullishCoalesce(params.hubUrl, () => ( HUB_URL))}/api/collections/${params.slug}`, { + method: "DELETE", + headers: { + Authorization: `Bearer ${accessToken}`, + "Content-Type": "application/json" + } + }); + if (!res.ok) { + throw await createApiError(res); + } +} + +// src/lib/file-download-info.ts +async function fileDownloadInfo(params) { + const accessToken = checkCredentials(params); + const repoId = toRepoId(params.repo); + const hubUrl = _nullishCoalesce(params.hubUrl, () => ( HUB_URL)); + const url = `${hubUrl}/${repoId.type === "model" ? "" : `${repoId.type}s/`}${repoId.name}/${params.raw ? "raw" : "resolve"}/${encodeURIComponent(_nullishCoalesce(params.revision, () => ( "main")))}/${params.path}` + (params.noContentDisposition ? "?noContentDisposition=1" : ""); + const resp = await (_nullishCoalesce(params.fetch, () => ( fetch)))(url, { + method: "GET", + headers: { + ...accessToken && { + Authorization: `Bearer ${accessToken}` + }, + Range: "bytes=0-0", + Accept: "application/vnd.xet-fileinfo+json, */*" + } + }); + if (resp.status === 404 && resp.headers.get("X-Error-Code") === "EntryNotFound") { + return null; + } + if (!resp.ok) { + throw await createApiError(resp); + } + let size; + let xetInfo; + if (_optionalChain([resp, 'access', _146 => _146.headers, 'access', _147 => _147.get, 'call', _148 => _148("Content-Type"), 'optionalAccess', _149 => _149.includes, 'call', _150 => _150("application/vnd.xet-fileinfo+json")])) { + size = parseInt(_nullishCoalesce(resp.headers.get("X-Linked-Size"), () => ( "invalid"))); + if (isNaN(size)) { + throw new InvalidApiResponseFormatError("Invalid file size received in X-Linked-Size header"); + } + const hash2 = resp.headers.get("X-Xet-Hash"); + const links = parseLinkHeader(_nullishCoalesce(resp.headers.get("Link"), () => ( ""))); + const reconstructionUrl = (() => { + try { + return new URL(links["xet-reconstruction-info"]); + } catch (e2) { + return null; + } + })(); + const refreshUrl = (() => { + try { + return new URL(links["xet-auth"]); + } catch (e3) { + return null; + } + })(); + if (!hash2) { + throw new InvalidApiResponseFormatError("No hash received in X-Xet-Hash header"); + } + if (!reconstructionUrl || !refreshUrl) { + throw new InvalidApiResponseFormatError("No xet-reconstruction-info or xet-auth link header"); + } + xetInfo = { + hash: hash2, + refreshUrl, + reconstructionUrl + }; + } + if (size === void 0 || isNaN(size)) { + const contentRangeHeader = resp.headers.get("content-range"); + if (!contentRangeHeader) { + throw new InvalidApiResponseFormatError("Expected size information"); + } + const [, parsedSize] = contentRangeHeader.split("/"); + size = parseInt(parsedSize); + if (isNaN(size)) { + throw new InvalidApiResponseFormatError("Invalid file size received"); + } + } + const etag = _nullishCoalesce(_nullishCoalesce(resp.headers.get("X-Linked-ETag"), () => ( resp.headers.get("ETag"))), () => ( void 0)); + if (!etag) { + throw new InvalidApiResponseFormatError("Expected ETag"); + } + return { + etag, + size, + xet: xetInfo, + // Cannot use resp.url in case it's a S3 url and the user adds an Authorization header to it. + url: resp.url && (new URL(resp.url).origin === new URL(hubUrl).origin || _optionalChain([resp, 'access', _151 => _151.headers, 'access', _152 => _152.get, 'call', _153 => _153("X-Cache"), 'optionalAccess', _154 => _154.endsWith, 'call', _155 => _155(" cloudfront")])) ? resp.url : url + }; +} + +// src/lib/download-file.ts +async function downloadFile(params) { + const accessToken = checkCredentials(params); + const info = await _asyncNullishCoalesce(params.downloadInfo, async () => ( await fileDownloadInfo({ + accessToken, + repo: params.repo, + path: params.path, + revision: params.revision, + hubUrl: params.hubUrl, + fetch: params.fetch, + raw: params.raw + }))); + if (!info) { + return null; + } + if (info.xet && params.xet !== false) { + return new XetBlob({ + refreshUrl: info.xet.refreshUrl.href, + reconstructionUrl: info.xet.reconstructionUrl.href, + fetch: params.fetch, + accessToken, + size: info.size, + readToken: typeof params.xet === "object" ? params.xet.readToken : void 0 + }); + } + return new WebBlob(new URL(info.url), 0, info.size, "", true, _nullishCoalesce(params.fetch, () => ( fetch)), accessToken); +} + +// src/lib/file-exists.ts +async function fileExists(params) { + const accessToken = checkCredentials(params); + const repoId = toRepoId(params.repo); + const hubUrl = _nullishCoalesce(params.hubUrl, () => ( HUB_URL)); + const url = `${hubUrl}/${repoId.type === "model" ? "" : `${repoId.type}s/`}${repoId.name}/raw/${encodeURIComponent( + _nullishCoalesce(params.revision, () => ( "main")) + )}/${params.path}`; + const resp = await (_nullishCoalesce(params.fetch, () => ( fetch)))(url, { + method: "HEAD", + headers: accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + }); + if (resp.status === 404) { + return false; + } + if (!resp.ok) { + throw await createApiError(resp); + } + return true; +} + +// src/lib/jobs/cancel-job.ts +async function cancelJob(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/jobs/${params.namespace}/${params.jobId}/cancel`, + { + method: "POST", + headers: { + "Content-Type": "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } + return await response.json(); +} + +// src/lib/jobs/create-scheduled-job.ts +async function createScheduledJob(params) { + const accessToken = checkCredentials(params); + const { namespace, hubUrl, fetch: customFetch, ...rest } = params; + if (!rest.jobSpec.dockerImage && !rest.jobSpec.spaceId) { + throw new Error("Either dockerImage or spaceId must be provided in jobSpec"); + } + if (rest.jobSpec.dockerImage && rest.jobSpec.spaceId) { + throw new Error("Cannot provide both dockerImage and spaceId in jobSpec"); + } + const body = { + jobSpec: { + flavor: rest.jobSpec.flavor + }, + schedule: rest.schedule, + suspend: _nullishCoalesce(rest.suspend, () => ( false)), + concurrency: _nullishCoalesce(rest.concurrency, () => ( false)) + }; + if (rest.jobSpec.dockerImage) { + body.jobSpec.dockerImage = rest.jobSpec.dockerImage; + } + if (rest.jobSpec.spaceId) { + body.jobSpec.spaceId = rest.jobSpec.spaceId; + } + if (rest.jobSpec.command) { + body.jobSpec.command = rest.jobSpec.command; + } + body.jobSpec.environment = rest.jobSpec.environment || {}; + if (rest.jobSpec.secrets) { + body.jobSpec.secrets = rest.jobSpec.secrets; + } + if (rest.jobSpec.arch) { + body.jobSpec.arch = rest.jobSpec.arch; + } + if (rest.jobSpec.timeoutSeconds !== void 0) { + body.jobSpec.timeoutSeconds = rest.jobSpec.timeoutSeconds; + } + if (rest.jobSpec.attempts !== void 0) { + body.jobSpec.attempts = rest.jobSpec.attempts; + } + if (rest.jobSpec.labels) { + body.jobSpec.labels = rest.jobSpec.labels; + } + const response = await (customFetch || fetch)(`${hubUrl || HUB_URL}/api/scheduled-jobs/${namespace}`, { + method: "POST", + headers: { + "Content-Type": "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + }, + body: JSON.stringify(body) + }); + if (!response.ok) { + throw await createApiError(response); + } + return await response.json(); +} + +// src/lib/jobs/delete-scheduled-job.ts +async function deleteScheduledJob(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/scheduled-jobs/${params.namespace}/${params.jobId}`, + { + method: "DELETE", + headers: { + "Content-Type": "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } +} + +// src/lib/jobs/duplicate-job.ts +async function duplicateJob(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/jobs/${params.namespace}/${params.jobId}/duplicate`, + { + method: "POST", + headers: { + "Content-Type": "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } + return await response.json(); +} + +// src/lib/jobs/get-job.ts +async function getJob(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/jobs/${params.namespace}/${params.jobId}`, + { + headers: { + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } + return await response.json(); +} + +// src/lib/jobs/get-scheduled-job.ts +async function getScheduledJob(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/scheduled-jobs/${params.namespace}/${params.jobId}`, + { + headers: { + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } + return await response.json(); +} + +// src/lib/jobs/list-job-hardware.ts +async function listJobHardware(params) { + const accessToken = checkCredentials(_nullishCoalesce(params, () => ( {}))); + const headers = {}; + if (accessToken) { + headers.Authorization = `Bearer ${accessToken}`; + } + const response = await (_optionalChain([params, 'optionalAccess', _156 => _156.fetch]) || fetch)(`${_optionalChain([params, 'optionalAccess', _157 => _157.hubUrl]) || HUB_URL}/api/jobs/hardware`, { + headers + }); + if (!response.ok) { + throw await createApiError(response); + } + return await response.json(); +} + +// src/lib/jobs/list-jobs.ts +async function listJobs(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)(`${params.hubUrl || HUB_URL}/api/jobs/${params.namespace}`, { + headers: { + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + }); + if (!response.ok) { + throw await createApiError(response); + } + return await response.json(); +} + +// src/lib/jobs/list-scheduled-jobs.ts +async function listScheduledJobs(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)(`${params.hubUrl || HUB_URL}/api/scheduled-jobs/${params.namespace}`, { + headers: { + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + }); + if (!response.ok) { + throw await createApiError(response); + } + return await response.json(); +} + +// src/lib/jobs/resume-scheduled-job.ts +async function resumeScheduledJob(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/scheduled-jobs/${params.namespace}/${params.jobId}/resume`, + { + method: "POST", + headers: { + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } +} + +// src/lib/jobs/run-job.ts +async function runJob(params) { + const accessToken = checkCredentials(params); + if (!params.dockerImage && !params.spaceId) { + throw new Error("Either dockerImage or spaceId must be provided"); + } + if (params.dockerImage && params.spaceId) { + throw new Error("Cannot provide both dockerImage and spaceId"); + } + const body = { + flavor: params.flavor, + environment: params.environment || {} + }; + if (params.dockerImage) { + body.dockerImage = params.dockerImage; + } + if (params.spaceId) { + body.spaceId = params.spaceId; + } + if (params.command) { + body.command = params.command; + } + if (params.arguments) { + body.arguments = params.arguments; + } + if (params.secrets) { + body.secrets = params.secrets; + } + if (params.arch) { + body.arch = params.arch; + } + if (params.timeoutSeconds !== void 0) { + body.timeoutSeconds = params.timeoutSeconds; + } + if (params.attempts !== void 0) { + body.attempts = params.attempts; + } + if (params.labels) { + body.labels = params.labels; + } + const response = await (params.fetch || fetch)(`${params.hubUrl || HUB_URL}/api/jobs/${params.namespace}`, { + method: "POST", + headers: { + "Content-Type": "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + }, + body: JSON.stringify(body) + }); + if (!response.ok) { + throw await createApiError(response); + } + return await response.json(); +} + +// src/lib/jobs/run-scheduled-job.ts +async function runScheduledJob(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/scheduled-jobs/${params.namespace}/${params.jobId}/run`, + { + method: "POST", + headers: { + "Content-Type": "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + if (response.status === 409) { + return null; + } + throw await createApiError(response); + } + return await response.json(); +} + +// src/lib/jobs/stream-job-events.ts +async function* streamJobEvents(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/jobs/${params.namespace}/${params.jobId}/events`, + { + headers: { + Accept: "text/event-stream", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } + if (!response.body) { + return; + } + const reader = response.body.getReader(); + const decoder = new TextDecoder(); + let buffer = ""; + try { + while (true) { + const { done, value } = await reader.read(); + if (done) + break; + buffer += decoder.decode(value, { stream: true }); + const lines = buffer.split("\n"); + buffer = lines.pop() || ""; + for (const line of lines) { + if (line.startsWith("data: ")) { + yield line.slice(6); + } + } + } + if (buffer) { + const lines = buffer.split("\n"); + for (const line of lines) { + if (line.startsWith("data: ")) { + yield line.slice(6); + } + } + } + } finally { + reader.releaseLock(); + } +} + +// src/lib/jobs/stream-job-logs.ts +async function* streamJobLogs(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/jobs/${params.namespace}/${params.jobId}/logs`, + { + headers: { + Accept: "text/event-stream", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } + if (!response.body) { + return; + } + const reader = response.body.getReader(); + const decoder = new TextDecoder(); + let buffer = ""; + try { + while (true) { + const { done, value } = await reader.read(); + if (done) + break; + buffer += decoder.decode(value, { stream: true }); + const lines = buffer.split("\n"); + buffer = lines.pop() || ""; + for (const line of lines) { + if (line.startsWith("data: ")) { + try { + const data = JSON.parse(line.slice(6)); + yield { message: data.data, timestamp: new Date(data.timestamp) }; + } catch (e4) { + yield { message: line.slice(6), timestamp: /* @__PURE__ */ new Date() }; + } + } + } + } + if (buffer) { + const lines = buffer.split("\n"); + for (const line of lines) { + if (line.startsWith("data: ")) { + try { + const data = JSON.parse(line.slice(6)); + yield { message: data.data, timestamp: new Date(data.timestamp) }; + } catch (e5) { + yield { message: line.slice(6), timestamp: /* @__PURE__ */ new Date() }; + } + } + } + } + } finally { + reader.releaseLock(); + } +} + +// src/lib/jobs/stream-job-metrics.ts +async function* streamJobMetrics(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/jobs/${params.namespace}/${params.jobId}/metrics`, + { + headers: { + Accept: "text/event-stream", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } + if (!response.body) { + return; + } + const reader = response.body.getReader(); + const decoder = new TextDecoder(); + let buffer = ""; + try { + while (true) { + const { done, value } = await reader.read(); + if (done) + break; + buffer += decoder.decode(value, { stream: true }); + const lines = buffer.split("\n"); + buffer = lines.pop() || ""; + for (const line of lines) { + if (line.startsWith("data: ")) { + yield line.slice(6); + } + } + } + if (buffer) { + const lines = buffer.split("\n"); + for (const line of lines) { + if (line.startsWith("data: ")) { + yield line.slice(6); + } + } + } + } finally { + reader.releaseLock(); + } +} + +// src/lib/jobs/suspend-scheduled-job.ts +async function suspendScheduledJob(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/scheduled-jobs/${params.namespace}/${params.jobId}/suspend`, + { + method: "POST", + headers: { + "Content-Type": "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } +} + +// src/lib/list-commits.ts +async function* listCommits(params) { + const accessToken = checkCredentials(params); + const repoId = toRepoId(params.repo); + let url = `${_nullishCoalesce(params.hubUrl, () => ( HUB_URL))}/api/${repoId.type}s/${repoId.name}/commits/${_nullishCoalesce(params.revision, () => ( "main"))}?limit=${_nullishCoalesce(params.batchSize, () => ( 100))}`; + while (url) { + const res = await (_nullishCoalesce(params.fetch, () => ( fetch)))(url, { + headers: accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + }); + if (!res.ok) { + throw await createApiError(res); + } + const resJson = await res.json(); + for (const commit2 of resJson) { + yield { + oid: commit2.id, + title: commit2.title, + message: commit2.message, + authors: commit2.authors.map((author) => ({ + username: author.user, + avatarUrl: author.avatar + })), + date: new Date(commit2.date) + }; + } + const linkHeader = res.headers.get("Link"); + url = linkHeader ? parseLinkHeader(linkHeader).next : void 0; + } +} + +// src/lib/list-files.ts +async function* listFiles(params) { + const accessToken = checkCredentials(params); + const repoId = toRepoId(params.repo); + let url = `${params.hubUrl || HUB_URL}/api/${repoId.type}s/${repoId.name}/tree/${params.revision || "main"}${params.path ? "/" + params.path : ""}?recursive=${!!params.recursive}&expand=${!!params.expand}`; + while (url) { + const res = await (_nullishCoalesce(params.fetch, () => ( fetch)))(url, { + headers: { + accept: "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : void 0 + } + }); + if (!res.ok) { + throw await createApiError(res); + } + const items = await res.json(); + for (const item of items) { + yield item; + } + const linkHeader = res.headers.get("Link"); + url = linkHeader ? parseLinkHeader(linkHeader).next : void 0; + } +} + +// src/utils/normalizeInferenceProviderMapping.ts +function normalizeInferenceProviderMapping(hfModelId, inferenceProviderMapping) { + if (!inferenceProviderMapping) { + return []; + } + if (Array.isArray(inferenceProviderMapping)) { + return inferenceProviderMapping.map((entry) => ({ + ...entry, + hfModelId + })); + } + return Object.entries(inferenceProviderMapping).map(([provider, mapping]) => ({ + provider, + hfModelId, + providerId: mapping.providerId, + status: mapping.status, + task: mapping.task + })); +} + +// src/lib/list-models.ts +var MODEL_EXPAND_KEYS = [ + "pipeline_tag", + "private", + "gated", + "downloads", + "likes", + "lastModified" +]; +var MODEL_EXPANDABLE_KEYS = [ + "author", + "cardData", + "config", + "createdAt", + "disabled", + "downloads", + "downloadsAllTime", + "gated", + "gitalyUid", + "inferenceProviderMapping", + "lastModified", + "library_name", + "likes", + "model-index", + "pipeline_tag", + "private", + "safetensors", + "sha", + // "siblings", + "spaces", + "tags", + "transformersInfo" +]; +async function* listModels(params) { + const accessToken = params && checkCredentials(params); + let totalToFetch = _nullishCoalesce(_optionalChain([params, 'optionalAccess', _158 => _158.limit]), () => ( Infinity)); + const search = new URLSearchParams([ + ...Object.entries({ + limit: String(Math.min(totalToFetch, 500)), + ..._optionalChain([params, 'optionalAccess', _159 => _159.search, 'optionalAccess', _160 => _160.owner]) ? { author: params.search.owner } : void 0, + ..._optionalChain([params, 'optionalAccess', _161 => _161.search, 'optionalAccess', _162 => _162.task]) ? { pipeline_tag: params.search.task } : void 0, + ..._optionalChain([params, 'optionalAccess', _163 => _163.search, 'optionalAccess', _164 => _164.query]) ? { search: params.search.query } : void 0, + ..._optionalChain([params, 'optionalAccess', _165 => _165.search, 'optionalAccess', _166 => _166.inferenceProviders]) ? { inference_provider: params.search.inferenceProviders.join(",") } : void 0, + ..._optionalChain([params, 'optionalAccess', _167 => _167.search, 'optionalAccess', _168 => _168.apps]) ? { apps: params.search.apps.join(",") } : void 0, + ..._optionalChain([params, 'optionalAccess', _169 => _169.sort]) ? { sort: params.sort } : void 0 + }), + ..._nullishCoalesce(_optionalChain([params, 'optionalAccess', _170 => _170.search, 'optionalAccess', _171 => _171.tags, 'optionalAccess', _172 => _172.map, 'call', _173 => _173((tag) => ["filter", tag])]), () => ( [])), + ...MODEL_EXPAND_KEYS.map((val) => ["expand", val]), + ..._nullishCoalesce(_optionalChain([params, 'optionalAccess', _174 => _174.additionalFields, 'optionalAccess', _175 => _175.map, 'call', _176 => _176((val) => ["expand", val])]), () => ( [])) + ]).toString(); + let url = `${_optionalChain([params, 'optionalAccess', _177 => _177.hubUrl]) || HUB_URL}/api/models?${search}`; + while (url) { + const res = await (_nullishCoalesce(_optionalChain([params, 'optionalAccess', _178 => _178.fetch]), () => ( fetch)))(url, { + headers: { + accept: "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : void 0 + } + }); + if (!res.ok) { + throw await createApiError(res); + } + const items = await res.json(); + for (const item of items) { + const normalizedItem = { ...item }; + if (_optionalChain([params, 'optionalAccess', _179 => _179.additionalFields, 'optionalAccess', _180 => _180.includes, 'call', _181 => _181("inferenceProviderMapping")]) && item.inferenceProviderMapping) { + normalizedItem.inferenceProviderMapping = normalizeInferenceProviderMapping( + item.id, + item.inferenceProviderMapping + ); + } + yield { + ..._optionalChain([params, 'optionalAccess', _182 => _182.additionalFields]) && pick(normalizedItem, params.additionalFields), + id: item._id, + name: item.id, + private: item.private, + task: item.pipeline_tag, + downloads: item.downloads, + gated: item.gated, + likes: item.likes, + updatedAt: new Date(item.lastModified) + }; + totalToFetch--; + if (totalToFetch <= 0) { + return; + } + } + const linkHeader = res.headers.get("Link"); + url = linkHeader ? parseLinkHeader(linkHeader).next : void 0; + } +} + +// src/lib/list-spaces.ts +var SPACE_EXPAND_KEYS = [ + "sdk", + "likes", + "private", + "lastModified" +]; +var SPACE_EXPANDABLE_KEYS = [ + "author", + "cardData", + "datasets", + "disabled", + "gitalyUid", + "lastModified", + "createdAt", + "likes", + "private", + "runtime", + "sdk", + // "siblings", + "sha", + "subdomain", + "tags", + "models" +]; +async function* listSpaces(params) { + const accessToken = params && checkCredentials(params); + const search = new URLSearchParams([ + ...Object.entries({ + limit: "500", + ..._optionalChain([params, 'optionalAccess', _183 => _183.search, 'optionalAccess', _184 => _184.owner]) ? { author: params.search.owner } : void 0, + ..._optionalChain([params, 'optionalAccess', _185 => _185.search, 'optionalAccess', _186 => _186.query]) ? { search: params.search.query } : void 0, + ..._optionalChain([params, 'optionalAccess', _187 => _187.sort]) ? { sort: params.sort } : void 0 + }), + ..._nullishCoalesce(_optionalChain([params, 'optionalAccess', _188 => _188.search, 'optionalAccess', _189 => _189.tags, 'optionalAccess', _190 => _190.map, 'call', _191 => _191((tag) => ["filter", tag])]), () => ( [])), + ...[...SPACE_EXPAND_KEYS, ..._nullishCoalesce(_optionalChain([params, 'optionalAccess', _192 => _192.additionalFields]), () => ( []))].map( + (val) => ["expand", val] + ) + ]).toString(); + let url = `${_optionalChain([params, 'optionalAccess', _193 => _193.hubUrl]) || HUB_URL}/api/spaces?${search}`; + while (url) { + const res = await (_nullishCoalesce(_optionalChain([params, 'optionalAccess', _194 => _194.fetch]), () => ( fetch)))(url, { + headers: { + accept: "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : void 0 + } + }); + if (!res.ok) { + throw await createApiError(res); + } + const items = await res.json(); + for (const item of items) { + yield { + ..._optionalChain([params, 'optionalAccess', _195 => _195.additionalFields]) && pick(item, params.additionalFields), + id: item._id, + name: item.id, + sdk: item.sdk, + likes: item.likes, + private: item.private, + updatedAt: new Date(item.lastModified) + }; + } + const linkHeader = res.headers.get("Link"); + url = linkHeader ? parseLinkHeader(linkHeader).next : void 0; + } +} + +// src/lib/list-collections.ts +async function* listCollections(params) { + const accessToken = params && checkCredentials(params); + const searchParams = new URLSearchParams(); + let totalToFetch = _nullishCoalesce(_optionalChain([params, 'optionalAccess', _196 => _196.limit]), () => ( Infinity)); + searchParams.append("limit", String(Math.min(totalToFetch, 100))); + if (_optionalChain([params, 'optionalAccess', _197 => _197.sort])) { + searchParams.append("sort", params.sort); + } + if (_optionalChain([params, 'optionalAccess', _198 => _198.search, 'optionalAccess', _199 => _199.owner])) { + for (const owner of params.search.owner) { + searchParams.append("owner", owner); + } + } + if (_optionalChain([params, 'optionalAccess', _200 => _200.search, 'optionalAccess', _201 => _201.item])) { + for (const item of params.search.item) { + searchParams.append("item", item); + } + } + if (_optionalChain([params, 'optionalAccess', _202 => _202.search, 'optionalAccess', _203 => _203.q])) { + searchParams.append("q", params.search.q); + } + let url = `${_optionalChain([params, 'optionalAccess', _204 => _204.hubUrl]) || HUB_URL}/api/collections?${searchParams}`; + while (url) { + const res = await (_nullishCoalesce(_optionalChain([params, 'optionalAccess', _205 => _205.fetch]), () => ( fetch)))(url, { + headers: { + accept: "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : void 0 + } + }); + if (!res.ok) { + throw await createApiError(res); + } + const collections = await res.json(); + for (const collection of collections) { + yield collection; + totalToFetch--; + if (totalToFetch <= 0) { + return; + } + } + const linkHeader = res.headers.get("Link"); + url = linkHeader ? parseLinkHeader(linkHeader).next : void 0; + } +} + +// src/lib/model-info.ts +async function modelInfo(params) { + const accessToken = params && checkCredentials(params); + const search = new URLSearchParams([ + ...MODEL_EXPAND_KEYS.map((val) => ["expand", val]), + ..._nullishCoalesce(_optionalChain([params, 'optionalAccess', _206 => _206.additionalFields, 'optionalAccess', _207 => _207.map, 'call', _208 => _208((val) => ["expand", val])]), () => ( [])) + ]).toString(); + const response = await (params.fetch || fetch)( + `${_optionalChain([params, 'optionalAccess', _209 => _209.hubUrl]) || HUB_URL}/api/models/${params.name}/revision/${encodeURIComponent( + _nullishCoalesce(params.revision, () => ( "HEAD")) + )}?${search.toString()}`, + { + headers: { + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } + const data = await response.json(); + const normalizedData = { ...data }; + if (_optionalChain([params, 'optionalAccess', _210 => _210.additionalFields, 'optionalAccess', _211 => _211.includes, 'call', _212 => _212("inferenceProviderMapping")]) && data.inferenceProviderMapping) { + normalizedData.inferenceProviderMapping = normalizeInferenceProviderMapping(data.id, data.inferenceProviderMapping); + } + return { + ..._optionalChain([params, 'optionalAccess', _213 => _213.additionalFields]) && pick(normalizedData, params.additionalFields), + id: data._id, + name: data.id, + private: data.private, + task: data.pipeline_tag, + downloads: data.downloads, + gated: data.gated, + likes: data.likes, + updatedAt: new Date(data.lastModified) + }; +} + +// src/lib/oauth-handle-redirect.ts +async function oauthHandleRedirect(opts) { + if (typeof window === "undefined" && !_optionalChain([opts, 'optionalAccess', _214 => _214.redirectedUrl])) { + throw new Error("oauthHandleRedirect is only available in the browser, unless you provide redirectedUrl"); + } + if (typeof localStorage === "undefined" && (!_optionalChain([opts, 'optionalAccess', _215 => _215.nonce]) || !_optionalChain([opts, 'optionalAccess', _216 => _216.codeVerifier]))) { + throw new Error( + "oauthHandleRedirect requires localStorage to be available, unless you provide nonce and codeVerifier" + ); + } + const redirectedUrl = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _217 => _217.redirectedUrl]), () => ( window.location.href)); + const searchParams = (() => { + try { + return new URL(redirectedUrl).searchParams; + } catch (err) { + throw new Error("Failed to parse redirected URL: " + redirectedUrl); + } + })(); + const [error, errorDescription] = [searchParams.get("error"), searchParams.get("error_description")]; + if (error) { + throw new Error(`${error}: ${errorDescription}`); + } + const code = searchParams.get("code"); + const nonce = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _218 => _218.nonce]), () => ( localStorage.getItem("huggingface.co:oauth:nonce"))); + if (!code) { + throw new Error("Missing oauth code from query parameters in redirected URL: " + redirectedUrl); + } + if (!nonce) { + throw new Error("Missing oauth nonce from localStorage"); + } + const codeVerifier = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _219 => _219.codeVerifier]), () => ( localStorage.getItem("huggingface.co:oauth:code_verifier"))); + if (!codeVerifier) { + throw new Error("Missing oauth code_verifier from localStorage"); + } + const state = searchParams.get("state"); + if (!state) { + throw new Error("Missing oauth state from query parameters in redirected URL"); + } + let parsedState; + try { + parsedState = JSON.parse(state); + } catch (e6) { + throw new Error("Invalid oauth state in redirected URL, unable to parse JSON: " + state); + } + if (parsedState.nonce !== nonce) { + throw new Error("Invalid oauth state in redirected URL"); + } + const hubUrl = _optionalChain([opts, 'optionalAccess', _220 => _220.hubUrl]) || HUB_URL; + const openidConfigUrl = `${new URL(hubUrl).origin}/.well-known/openid-configuration`; + const openidConfigRes = await fetch(openidConfigUrl, { + headers: { + Accept: "application/json" + } + }); + if (!openidConfigRes.ok) { + throw await createApiError(openidConfigRes); + } + const openidConfig = await openidConfigRes.json(); + const tokenRes = await fetch(openidConfig.token_endpoint, { + method: "POST", + headers: { + "Content-Type": "application/x-www-form-urlencoded" + }, + body: new URLSearchParams({ + grant_type: "authorization_code", + code, + redirect_uri: parsedState.redirectUri, + code_verifier: codeVerifier + }).toString() + }); + if (!_optionalChain([opts, 'optionalAccess', _221 => _221.codeVerifier])) { + localStorage.removeItem("huggingface.co:oauth:code_verifier"); + } + if (!_optionalChain([opts, 'optionalAccess', _222 => _222.nonce])) { + localStorage.removeItem("huggingface.co:oauth:nonce"); + } + if (!tokenRes.ok) { + throw await createApiError(tokenRes); + } + const token = await tokenRes.json(); + const accessTokenExpiresAt = new Date(Date.now() + token.expires_in * 1e3); + const userInfoRes = await fetch(openidConfig.userinfo_endpoint, { + headers: { + Authorization: `Bearer ${token.access_token}` + } + }); + if (!userInfoRes.ok) { + throw await createApiError(userInfoRes); + } + const userInfo = await userInfoRes.json(); + return { + accessToken: token.access_token, + accessTokenExpiresAt, + userInfo, + state: parsedState.state, + scope: token.scope + }; +} +async function oauthHandleRedirectIfPresent(opts) { + if (typeof window === "undefined" && !_optionalChain([opts, 'optionalAccess', _223 => _223.redirectedUrl])) { + throw new Error("oauthHandleRedirect is only available in the browser, unless you provide redirectedUrl"); + } + if (typeof localStorage === "undefined" && (!_optionalChain([opts, 'optionalAccess', _224 => _224.nonce]) || !_optionalChain([opts, 'optionalAccess', _225 => _225.codeVerifier]))) { + throw new Error( + "oauthHandleRedirect requires localStorage to be available, unless you provide nonce and codeVerifier" + ); + } + const searchParams = new URLSearchParams(_nullishCoalesce(_optionalChain([opts, 'optionalAccess', _226 => _226.redirectedUrl]), () => ( window.location.search))); + if (searchParams.has("error")) { + return oauthHandleRedirect(opts); + } + if (searchParams.has("code")) { + if (!localStorage.getItem("huggingface.co:oauth:nonce")) { + console.warn( + "Missing oauth nonce from localStorage. This can happen when the user refreshes the page after logging in, without changing the URL." + ); + return false; + } + return oauthHandleRedirect(opts); + } + return false; +} + +// src/lib/oauth-login-url.ts +async function oauthLoginUrl(opts) { + if (typeof window === "undefined" && (!_optionalChain([opts, 'optionalAccess', _227 => _227.redirectUrl]) || !_optionalChain([opts, 'optionalAccess', _228 => _228.clientId]))) { + throw new Error("oauthLogin is only available in the browser, unless you provide clientId and redirectUrl"); + } + if (typeof localStorage === "undefined" && !_optionalChain([opts, 'optionalAccess', _229 => _229.localStorage])) { + throw new Error( + "oauthLogin requires localStorage to be available in the context, unless you provide a localStorage empty object as argument" + ); + } + const hubUrl = _optionalChain([opts, 'optionalAccess', _230 => _230.hubUrl]) || HUB_URL; + const openidConfigUrl = `${new URL(hubUrl).origin}/.well-known/openid-configuration`; + const openidConfigRes = await fetch(openidConfigUrl, { + headers: { + Accept: "application/json" + } + }); + if (!openidConfigRes.ok) { + throw await createApiError(openidConfigRes); + } + const opendidConfig = await openidConfigRes.json(); + const newNonce = globalThis.crypto.randomUUID(); + const newCodeVerifier = globalThis.crypto.randomUUID() + globalThis.crypto.randomUUID(); + if (_optionalChain([opts, 'optionalAccess', _231 => _231.localStorage])) { + if (opts.localStorage.codeVerifier !== void 0 && opts.localStorage.codeVerifier !== null) { + throw new Error( + "localStorage.codeVerifier must be initially set to null or undefined, and will be filled by oauthLoginUrl" + ); + } + if (opts.localStorage.nonce !== void 0 && opts.localStorage.nonce !== null) { + throw new Error( + "localStorage.nonce must be initially set to null or undefined, and will be filled by oauthLoginUrl" + ); + } + opts.localStorage.codeVerifier = newCodeVerifier; + opts.localStorage.nonce = newNonce; + } else { + localStorage.setItem("huggingface.co:oauth:nonce", newNonce); + localStorage.setItem("huggingface.co:oauth:code_verifier", newCodeVerifier); + } + const redirectUri = _optionalChain([opts, 'optionalAccess', _232 => _232.redirectUrl]) || (typeof window !== "undefined" ? window.location.href : void 0); + if (!redirectUri) { + throw new Error("Missing redirectUrl"); + } + const state = JSON.stringify({ + nonce: newNonce, + redirectUri, + state: _optionalChain([opts, 'optionalAccess', _233 => _233.state]) + }); + const variables = ( + // @ts-expect-error window.huggingface is defined inside static Spaces. + typeof window !== "undefined" ? _nullishCoalesce(_optionalChain([window, 'access', _234 => _234.huggingface, 'optionalAccess', _235 => _235.variables]), () => ( null)) : null + ); + const clientId = _optionalChain([opts, 'optionalAccess', _236 => _236.clientId]) || _optionalChain([variables, 'optionalAccess', _237 => _237.OAUTH_CLIENT_ID]); + if (!clientId) { + if (variables) { + throw new Error("Missing clientId, please add hf_oauth: true to the README.md's metadata in your static Space"); + } + throw new Error("Missing clientId"); + } + const challenge = base64FromBytes( + new Uint8Array(await globalThis.crypto.subtle.digest("SHA-256", new TextEncoder().encode(newCodeVerifier))) + ).replace(/[+]/g, "-").replace(/[/]/g, "_").replace(/=/g, ""); + return `${opendidConfig.authorization_endpoint}?${new URLSearchParams({ + client_id: clientId, + scope: _optionalChain([opts, 'optionalAccess', _238 => _238.scopes]) || _optionalChain([variables, 'optionalAccess', _239 => _239.OAUTH_SCOPES]) || "openid profile", + response_type: "code", + redirect_uri: redirectUri, + state, + code_challenge: challenge, + code_challenge_method: "S256" + }).toString()}`; +} + +// src/utils/typedInclude.ts +function typedInclude(arr, v) { + return arr.includes(v); +} + +// src/utils/omit.ts +function omit(o, props) { + const propsArr = Array.isArray(props) ? props : [props]; + const letsKeep = Object.keys(o).filter((prop) => !typedInclude(propsArr, prop)); + return pick(o, letsKeep); +} + +// src/utils/typedEntries.ts +function typedEntries(obj) { + return Object.entries(obj); +} + +// src/lib/parse-safetensors-metadata.ts +var SAFETENSORS_FILE = "model.safetensors"; +var SAFETENSORS_INDEX_FILE = "model.safetensors.index.json"; +var RE_SAFETENSORS_FILE = /\.safetensors$/; +var RE_SAFETENSORS_INDEX_FILE = /\.safetensors\.index\.json$/; +var RE_SAFETENSORS_SHARD_FILE = /^(?(?.*?)[_-])(?\d{5,6})-of-(?\d{5,6})\.safetensors$/; +function parseSafetensorsShardFilename(filename) { + const match = RE_SAFETENSORS_SHARD_FILE.exec(filename); + if (match && match.groups) { + return { + prefix: match.groups["prefix"], + basePrefix: match.groups["basePrefix"], + shard: match.groups["shard"], + total: match.groups["total"] + }; + } + return null; +} +var PARALLEL_DOWNLOADS = 20; +var MAX_HEADER_LENGTH = 25e6; +var GPTQ_QWEIGHT_SUFFIX = "qweight"; +var SafetensorParseError = class extends Error { +}; +async function fetchModelConfig(params) { + try { + const configBlob = await downloadFile({ + ...params, + path: "config.json" + }); + if (!configBlob) { + return null; + } + const config = JSON.parse(await configBlob.text()); + return config; + } catch (error) { + return null; + } +} +async function parseSingleFile(path, params) { + const blob = await downloadFile({ ...params, path }); + if (!blob) { + throw new SafetensorParseError(`Failed to parse file ${path}: failed to fetch safetensors header length.`); + } + const bufLengthOfHeaderLE = await blob.slice(0, 8).arrayBuffer(); + const lengthOfHeader = new DataView(bufLengthOfHeaderLE).getBigUint64(0, true); + if (lengthOfHeader <= 0) { + throw new SafetensorParseError(`Failed to parse file ${path}: safetensors header is malformed.`); + } + if (lengthOfHeader > MAX_HEADER_LENGTH) { + throw new SafetensorParseError( + `Failed to parse file ${path}: safetensor header is too big. Maximum supported size is ${MAX_HEADER_LENGTH} bytes.` + ); + } + try { + const header = JSON.parse(await blob.slice(8, 8 + Number(lengthOfHeader)).text()); + return header; + } catch (err) { + throw new SafetensorParseError(`Failed to parse file ${path}: safetensors header is not valid JSON.`); + } +} +async function parseShardedIndex(path, params) { + const indexBlob = await downloadFile({ + ...params, + path + }); + if (!indexBlob) { + throw new SafetensorParseError(`Failed to parse file ${path}: failed to fetch safetensors index.`); + } + try { + const index = JSON.parse(await indexBlob.slice(0, MAX_HEADER_LENGTH).text()); + return index; + } catch (error) { + throw new SafetensorParseError(`Failed to parse file ${path}: not a valid JSON.`); + } +} +async function fetchAllHeaders(path, index, params) { + const pathPrefix = path.slice(0, path.lastIndexOf("/") + 1); + const filenames = [...new Set(Object.values(index.weight_map))]; + const shardedMap = Object.fromEntries( + await promisesQueue( + filenames.map( + (filename) => async () => [filename, await parseSingleFile(pathPrefix + filename, params)] + ), + PARALLEL_DOWNLOADS + ) + ); + return shardedMap; +} +async function parseSafetensorsMetadata(params) { + const repoId = toRepoId(params.repo); + if (repoId.type !== "model") { + throw new TypeError("Only model repos should contain safetensors files."); + } + const modelConfig = params.computeParametersCount ? await fetchModelConfig(params) : null; + const quantConfig = _optionalChain([modelConfig, 'optionalAccess', _240 => _240.quantization_config]); + if (params.path && RE_SAFETENSORS_FILE.test(params.path) || await fileExists({ ...params, path: SAFETENSORS_FILE })) { + const header = await parseSingleFile(_nullishCoalesce(params.path, () => ( SAFETENSORS_FILE)), params); + return { + sharded: false, + header, + ...params.computeParametersCount ? { + parameterCount: computeNumOfParamsByDtypeSingleFile(header, quantConfig), + parameterTotal: ( + /// shortcut: get param count directly from metadata + header.__metadata__.total_parameters ? typeof header.__metadata__.total_parameters === "number" ? header.__metadata__.total_parameters : typeof header.__metadata__.total_parameters === "string" ? parseInt(header.__metadata__.total_parameters) : void 0 : void 0 + ) + } : void 0 + }; + } else if (params.path && RE_SAFETENSORS_INDEX_FILE.test(params.path) || await fileExists({ ...params, path: SAFETENSORS_INDEX_FILE })) { + const path = _nullishCoalesce(params.path, () => ( SAFETENSORS_INDEX_FILE)); + const index = await parseShardedIndex(path, params); + const shardedMap = await fetchAllHeaders(path, index, params); + return { + sharded: true, + index, + headers: shardedMap, + ...params.computeParametersCount ? { + parameterCount: computeNumOfParamsByDtypeSharded(shardedMap, quantConfig), + parameterTotal: ( + /// shortcut: get param count directly from metadata + _optionalChain([index, 'access', _241 => _241.metadata, 'optionalAccess', _242 => _242.total_parameters]) ? typeof index.metadata.total_parameters === "number" ? index.metadata.total_parameters : typeof index.metadata.total_parameters === "string" ? parseInt(index.metadata.total_parameters) : void 0 : void 0 + ) + } : void 0 + }; + } else { + throw new Error("model id does not seem to contain safetensors weights"); + } +} +function isQuantizedTensor(tensorName, quantConfig) { + if (!quantConfig) { + return false; + } + if (!quantConfig.modules_to_not_convert || quantConfig.modules_to_not_convert.length === 0) { + return true; + } + for (const pattern of quantConfig.modules_to_not_convert) { + const regexPattern = pattern.replace(/\*/g, ".*"); + const regex = new RegExp(regexPattern); + if (regex.test(tensorName)) { + return false; + } + } + return true; +} +function getQuantizationMultiplier(tensorName, dtype, quantConfig) { + if (!quantConfig || !isQuantizedTensor(tensorName, quantConfig)) { + return 1; + } + const quantMethod = _optionalChain([quantConfig, 'access', _243 => _243.quant_method, 'optionalAccess', _244 => _244.toLowerCase, 'call', _245 => _245()]); + switch (quantMethod) { + case "mxfp4": + if (dtype === "U8" && tensorName.includes("_blocks")) { + return 2; + } + return 1; + case "gptq": + case "awq": + if (getTensorSuffix(tensorName) === GPTQ_QWEIGHT_SUFFIX) { + const bits = quantConfig.bits && quantConfig.bits > 0 ? quantConfig.bits : 4; + return Math.max(1, Math.floor(32 / bits)); + } + if (quantConfig.bits === 4 && dtype === "U8") { + return 2; + } + if (quantConfig.bits === 2 && dtype === "U8") { + return 4; + } + return 1; + case "bitsandbytes": + if (quantConfig.load_in_4bit && dtype === "U8") { + return 2; + } + if (quantConfig.load_in_8bit) { + return 1; + } + return 1; + default: + if (quantConfig.load_in_4bit && dtype === "U8") { + return 2; + } + if (quantConfig.bits === 4 && dtype === "U8") { + return 2; + } + return 1; + } +} +function computeNumOfParamsByDtypeSingleFile(header, quantConfig) { + const counter = {}; + const tensors = omit(header, "__metadata__"); + for (const [tensorName, v] of typedEntries(tensors)) { + if (shouldSkipTensor(tensorName, quantConfig)) { + continue; + } + if (v.shape.length === 0) { + continue; + } + const elements = v.shape.reduce((a, b) => a * b); + const multiplier = quantConfig ? getQuantizationMultiplier(tensorName, v.dtype, quantConfig) : 1; + if (multiplier === 0) { + continue; + } + counter[v.dtype] = (_nullishCoalesce(counter[v.dtype], () => ( 0))) + elements * multiplier; + } + return counter; +} +function computeNumOfParamsByDtypeSharded(shardedMap, quantConfig) { + const counter = {}; + for (const header of Object.values(shardedMap)) { + for (const [k, v] of typedEntries(computeNumOfParamsByDtypeSingleFile(header, quantConfig))) { + counter[k] = (_nullishCoalesce(counter[k], () => ( 0))) + (_nullishCoalesce(v, () => ( 0))); + } + } + return counter; +} +function getTensorSuffix(tensorName) { + const lastDotIndex = tensorName.lastIndexOf("."); + return lastDotIndex === -1 ? tensorName : tensorName.slice(lastDotIndex + 1); +} +function shouldSkipTensor(tensorName, quantConfig) { + const GPTQ_AWQ_AUXILIARY_SUFFIXES = ["qzeros", "g_idx", "scales"]; + if (!quantConfig) { + return false; + } + const quantMethod = _optionalChain([quantConfig, 'access', _246 => _246.quant_method, 'optionalAccess', _247 => _247.toLowerCase, 'call', _248 => _248()]); + if (!quantMethod || quantMethod !== "gptq" && quantMethod !== "awq") { + return false; + } + if (!isQuantizedTensor(tensorName, quantConfig)) { + return false; + } + const suffix = getTensorSuffix(tensorName); + if (suffix === GPTQ_QWEIGHT_SUFFIX) { + return false; + } + return GPTQ_AWQ_AUXILIARY_SUFFIXES.includes(suffix); +} + +// src/lib/paths-info.ts +async function pathsInfo(params) { + const accessToken = checkCredentials(params); + const repoId = toRepoId(params.repo); + const hubUrl = _nullishCoalesce(params.hubUrl, () => ( HUB_URL)); + const url = `${hubUrl}/api/${repoId.type}s/${repoId.name}/paths-info/${encodeURIComponent( + _nullishCoalesce(params.revision, () => ( "main")) + )}`; + const resp = await (_nullishCoalesce(params.fetch, () => ( fetch)))(url, { + method: "POST", + headers: { + ...accessToken && { + Authorization: `Bearer ${accessToken}` + }, + Accept: "application/json", + "Content-Type": "application/json" + }, + body: JSON.stringify({ + paths: params.paths, + expand: params.expand + }) + }); + if (!resp.ok) { + throw await createApiError(resp); + } + const json = await resp.json(); + if (!Array.isArray(json)) + throw new Error("malformed response: expected array"); + return json.map((item) => ({ + path: item.path, + lfs: item.lfs, + type: item.type, + oid: item.oid, + size: item.size, + // expand fields + securityFileStatus: item.securityFileStatus, + lastCommit: item.lastCommit ? { + date: new Date(item.lastCommit.date), + title: item.lastCommit.title, + id: item.lastCommit.id + } : void 0 + })); +} + +// src/lib/repo-exists.ts +async function repoExists(params) { + const repoId = toRepoId(params.repo); + const res = await (_nullishCoalesce(params.fetch, () => ( fetch)))( + `${_nullishCoalesce(params.hubUrl, () => ( HUB_URL))}/api/${repoId.type}s/${repoId.name}?expand[]=likes`, + { + method: "GET", + headers: { + ...params.accessToken && { + Authorization: `Bearer ${params.accessToken}` + } + } + } + ); + if (res.status === 404 || res.status === 401) { + return false; + } + if (!res.ok) { + throw await createApiError(res); + } + return true; +} + +// src/lib/space-info.ts +async function spaceInfo(params) { + const accessToken = params && checkCredentials(params); + const search = new URLSearchParams([ + ...SPACE_EXPAND_KEYS.map((val) => ["expand", val]), + ..._nullishCoalesce(_optionalChain([params, 'optionalAccess', _249 => _249.additionalFields, 'optionalAccess', _250 => _250.map, 'call', _251 => _251((val) => ["expand", val])]), () => ( [])) + ]).toString(); + const response = await (params.fetch || fetch)( + `${_optionalChain([params, 'optionalAccess', _252 => _252.hubUrl]) || HUB_URL}/api/spaces/${params.name}/revision/${encodeURIComponent( + _nullishCoalesce(params.revision, () => ( "HEAD")) + )}?${search.toString()}`, + { + headers: { + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } + const data = await response.json(); + return { + ..._optionalChain([params, 'optionalAccess', _253 => _253.additionalFields]) && pick(data, params.additionalFields), + id: data._id, + name: data.id, + sdk: data.sdk, + likes: data.likes, + private: data.private, + updatedAt: new Date(data.lastModified) + }; +} + +// src/lib/upload-file.ts +function uploadFile(params) { + const path = params.file instanceof URL ? _nullishCoalesce(params.file.pathname.split("/").at(-1), () => ( "file")) : "path" in params.file ? params.file.path : params.file.name; + return commit({ + ...params.accessToken ? { accessToken: params.accessToken } : { credentials: params.credentials }, + repo: params.repo, + operations: [ + { + operation: "addOrUpdate", + path, + content: "content" in params.file ? params.file.content : params.file + } + ], + title: _nullishCoalesce(params.commitTitle, () => ( `Add ${path}`)), + description: params.commitDescription, + hubUrl: params.hubUrl, + branch: params.branch, + isPullRequest: params.isPullRequest, + parentCommit: params.parentCommit, + fetch: params.fetch, + useWebWorkers: params.useWebWorkers, + abortSignal: params.abortSignal, + useXet: params.useXet + }); +} + +// src/lib/upload-files.ts +function uploadFiles(params) { + return commit({ + ...params.accessToken ? { accessToken: params.accessToken } : { credentials: params.credentials }, + repo: params.repo, + operations: params.files.map((file) => ({ + operation: "addOrUpdate", + path: file instanceof URL ? _nullishCoalesce(file.pathname.split("/").at(-1), () => ( "file")) : "path" in file ? file.path : file.name, + content: "content" in file ? file.content : file + })), + title: _nullishCoalesce(params.commitTitle, () => ( `Add ${params.files.length} files`)), + description: params.commitDescription, + hubUrl: params.hubUrl, + branch: params.branch, + isPullRequest: params.isPullRequest, + parentCommit: params.parentCommit, + fetch: params.fetch, + useWebWorkers: params.useWebWorkers, + abortSignal: params.abortSignal, + useXet: params.useXet + }); +} + +// src/lib/upload-files-with-progress.ts +var multipartUploadTracking = /* @__PURE__ */ new WeakMap(); +async function* uploadFilesWithProgress(params) { + return yield* commitIter({ + ...params.accessToken ? { accessToken: params.accessToken } : { credentials: params.credentials }, + repo: params.repo, + operations: params.files.map((file) => ({ + operation: "addOrUpdate", + path: file instanceof URL ? _nullishCoalesce(file.pathname.split("/").at(-1), () => ( "file")) : "path" in file ? file.path : file.name, + content: "content" in file ? file.content : file + })), + title: _nullishCoalesce(params.commitTitle, () => ( `Add ${params.files.length} files`)), + description: params.commitDescription, + hubUrl: params.hubUrl, + branch: params.branch, + isPullRequest: params.isPullRequest, + parentCommit: params.parentCommit, + useWebWorkers: params.useWebWorkers, + abortSignal: params.abortSignal, + useXet: params.useXet, + fetch: async (input, init) => { + if (!init) { + return fetch(input); + } + if (!typedInclude(["PUT", "POST"], init.method) || !("progressHint" in init) || !init.progressHint || typeof XMLHttpRequest === "undefined" || typeof input !== "string" || !(init.body instanceof ArrayBuffer) && !(init.body instanceof Blob) && !(init.body instanceof File) && typeof init.body !== "string") { + return fetch(input, init); + } + const progressHint = init.progressHint; + const progressCallback = progressHint.progressCallback; + const xhr = new XMLHttpRequest(); + xhr.upload.addEventListener("progress", (event) => { + if (event.lengthComputable) { + if (progressHint.part !== void 0) { + let tracking = multipartUploadTracking.get(progressCallback); + if (!tracking) { + tracking = { numParts: progressHint.numParts, partsProgress: {} }; + multipartUploadTracking.set(progressCallback, tracking); + } + tracking.partsProgress[progressHint.part] = event.loaded / event.total; + let totalProgress = 0; + for (const partProgress of Object.values(tracking.partsProgress)) { + totalProgress += partProgress; + } + if (totalProgress === tracking.numParts) { + progressCallback(0.9999999999); + } else { + progressCallback(totalProgress / tracking.numParts); + } + } else { + if (event.loaded === event.total) { + progressCallback(0.9999999999); + } else { + progressCallback(event.loaded / event.total); + } + } + } + }); + xhr.open(init.method, input, true); + if (init.headers) { + const headers = new Headers(init.headers); + headers.forEach((value, key) => { + xhr.setRequestHeader(key, value); + }); + } + _optionalChain([init, 'access', _254 => _254.signal, 'optionalAccess', _255 => _255.throwIfAborted, 'call', _256 => _256()]); + xhr.send(init.body); + return new Promise((resolve2, reject) => { + xhr.addEventListener("load", () => { + resolve2( + new Response(xhr.responseText, { + status: xhr.status, + statusText: xhr.statusText, + headers: Object.fromEntries( + xhr.getAllResponseHeaders().trim().split("\n").map((header) => [ + header.slice(0, header.indexOf(":")), + header.slice(header.indexOf(":") + 1).trim() + ]) + ) + }) + ); + }); + xhr.addEventListener("error", () => { + reject(new Error(xhr.statusText)); + }); + if (init.signal) { + init.signal.addEventListener("abort", () => { + xhr.abort(); + try { + _optionalChain([init, 'access', _257 => _257.signal, 'optionalAccess', _258 => _258.throwIfAborted, 'call', _259 => _259()]); + } catch (err) { + reject(err); + } + }); + } + }); + } + }); +} + +// src/lib/who-am-i.ts +async function whoAmI(params) { + const accessToken = checkCredentials(params); + const res = await (_nullishCoalesce(params.fetch, () => ( fetch)))(`${_nullishCoalesce(params.hubUrl, () => ( HUB_URL))}/api/whoami-v2`, { + headers: { + Authorization: `Bearer ${accessToken}` + } + }); + if (!res.ok) { + throw await createApiError(res); + } + const response = await res.json(); + if (typeof _optionalChain([response, 'access', _260 => _260.auth, 'access', _261 => _261.accessToken, 'optionalAccess', _262 => _262.createdAt]) === "string") { + response.auth.accessToken.createdAt = new Date(response.auth.accessToken.createdAt); + } + return response; +} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +exports.DATASET_EXPANDABLE_KEYS = DATASET_EXPANDABLE_KEYS; exports.DATASET_EXPAND_KEYS = DATASET_EXPAND_KEYS; exports.HUB_URL = HUB_URL; exports.HubApiError = HubApiError; exports.InvalidApiResponseFormatError = InvalidApiResponseFormatError; exports.MODEL_EXPANDABLE_KEYS = MODEL_EXPANDABLE_KEYS; exports.MODEL_EXPAND_KEYS = MODEL_EXPAND_KEYS; exports.RE_SAFETENSORS_FILE = RE_SAFETENSORS_FILE; exports.RE_SAFETENSORS_INDEX_FILE = RE_SAFETENSORS_INDEX_FILE; exports.RE_SAFETENSORS_SHARD_FILE = RE_SAFETENSORS_SHARD_FILE; exports.SAFETENSORS_FILE = SAFETENSORS_FILE; exports.SAFETENSORS_INDEX_FILE = SAFETENSORS_INDEX_FILE; exports.SPACE_EXPANDABLE_KEYS = SPACE_EXPANDABLE_KEYS; exports.SPACE_EXPAND_KEYS = SPACE_EXPAND_KEYS; exports.__internal_XetBlob = XetBlob; exports.__internal_sha256 = sha256; exports.cancelJob = cancelJob; exports.checkRepoAccess = checkRepoAccess; exports.commit = commit; exports.commitIter = commitIter; exports.commitIterBucket = commitIterBucket; exports.countCommits = countCommits; exports.createBranch = createBranch; exports.createCollection = createCollection; exports.createRepo = createRepo; exports.createScheduledJob = createScheduledJob; exports.datasetInfo = datasetInfo; exports.deleteBranch = deleteBranch; exports.deleteCollection = deleteCollection; exports.deleteFile = deleteFile; exports.deleteFiles = deleteFiles; exports.deleteRepo = deleteRepo; exports.deleteScheduledJob = deleteScheduledJob; exports.downloadFile = downloadFile; exports.duplicateJob = duplicateJob; exports.fileDownloadInfo = fileDownloadInfo; exports.fileExists = fileExists; exports.getJob = getJob; exports.getScheduledJob = getScheduledJob; exports.listCollections = listCollections; exports.listCommits = listCommits; exports.listDatasets = listDatasets; exports.listFiles = listFiles; exports.listJobHardware = listJobHardware; exports.listJobs = listJobs; exports.listModels = listModels; exports.listScheduledJobs = listScheduledJobs; exports.listSpaces = listSpaces; exports.modelInfo = modelInfo; exports.oauthHandleRedirect = oauthHandleRedirect; exports.oauthHandleRedirectIfPresent = oauthHandleRedirectIfPresent; exports.oauthLoginUrl = oauthLoginUrl; exports.parseSafetensorsMetadata = parseSafetensorsMetadata; exports.parseSafetensorsShardFilename = parseSafetensorsShardFilename; exports.pathsInfo = pathsInfo; exports.repoExists = repoExists; exports.resumeScheduledJob = resumeScheduledJob; exports.runJob = runJob; exports.runScheduledJob = runScheduledJob; exports.spaceInfo = spaceInfo; exports.streamJobEvents = streamJobEvents; exports.streamJobLogs = streamJobLogs; exports.streamJobMetrics = streamJobMetrics; exports.suspendScheduledJob = suspendScheduledJob; exports.uploadFile = uploadFile; exports.uploadFiles = uploadFiles; exports.uploadFilesWithProgress = uploadFilesWithProgress; exports.whoAmI = whoAmI; diff --git a/node_modules/@huggingface/hub/dist/browser/index.mjs b/node_modules/@huggingface/hub/dist/browser/index.mjs new file mode 100644 index 0000000000000000000000000000000000000000..d3153dc64fa103037167ea38712a6e7dfcc18600 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/browser/index.mjs @@ -0,0 +1,5459 @@ +import "./chunk-QXAXOUZS.mjs"; + +// src/consts.ts +var HUB_URL = "https://huggingface.co"; + +// src/error.ts +async function createApiError(response, opts) { + const error = new HubApiError(response.url, response.status, response.headers.get("X-Request-Id") ?? opts?.requestId); + error.message = `Api error with status ${error.statusCode}${opts?.message ? `. ${opts.message}` : ""}`; + const trailer = [`URL: ${error.url}`, error.requestId ? `Request ID: ${error.requestId}` : void 0].filter(Boolean).join(". "); + if (response.headers.get("Content-Type")?.startsWith("application/json")) { + const json = await response.json(); + error.message = json.error || json.message || error.message; + if (json.error_description) { + error.message = error.message ? error.message + `: ${json.error_description}` : json.error_description; + } + error.data = json; + } else { + error.data = { message: await response.text() }; + } + error.message += `. ${trailer}`; + throw error; +} +var HubApiError = class extends Error { + statusCode; + url; + requestId; + data; + constructor(url, statusCode, requestId, message) { + super(message); + this.statusCode = statusCode; + this.requestId = requestId; + this.url = url; + } +}; +var InvalidApiResponseFormatError = class extends Error { +}; + +// src/utils/checkCredentials.ts +function checkAccessToken(accessToken) { + if (!accessToken.startsWith("hf_")) { + throw new TypeError("Your access token must start with 'hf_'"); + } +} +function checkCredentials(params) { + if (params.accessToken) { + checkAccessToken(params.accessToken); + return params.accessToken; + } + if (params.credentials?.accessToken) { + checkAccessToken(params.credentials.accessToken); + return params.credentials.accessToken; + } +} + +// src/utils/toRepoId.ts +function toRepoId(repo) { + if (typeof repo !== "string") { + return repo; + } + if (repo.startsWith("model/") || repo.startsWith("models/")) { + throw new TypeError( + "A repo designation for a model should not start with 'models/', directly specify the model namespace / name" + ); + } + if (repo.startsWith("space/")) { + throw new TypeError("Spaces should start with 'spaces/', plural, not 'space/'"); + } + if (repo.startsWith("dataset/")) { + throw new TypeError("Datasets should start with 'datasets/', plural, not 'dataset/'"); + } + if (repo.startsWith("bucket/")) { + throw new TypeError("Buckets should start with 'buckets/', plural, not 'bucket/'"); + } + const slashes = repo.split("/").length - 1; + if (repo.startsWith("spaces/")) { + if (slashes !== 2) { + throw new TypeError("Space Id must include namespace and name of the space"); + } + return { + type: "space", + name: repo.slice("spaces/".length) + }; + } + if (repo.startsWith("datasets/")) { + if (slashes > 2) { + throw new TypeError("Too many slashes in repo designation: " + repo); + } + return { + type: "dataset", + name: repo.slice("datasets/".length) + }; + } + if (repo.startsWith("buckets/")) { + if (slashes !== 2) { + throw new TypeError("Bucket Id must include namespace and name of the bucket"); + } + return { + type: "bucket", + name: repo.slice("buckets/".length) + }; + } + if (slashes > 1) { + throw new TypeError("Too many slashes in repo designation: " + repo); + } + return { + type: "model", + name: repo + }; +} + +// src/lib/check-repo-access.ts +async function checkRepoAccess(params) { + const accessToken = params && checkCredentials(params); + const repoId = toRepoId(params.repo); + const response = await (params.fetch || fetch)(`${params?.hubUrl || HUB_URL}/api/${repoId.type}s/${repoId.name}`, { + headers: { + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + }); + if (!response.ok) { + throw await createApiError(response); + } +} + +// src/utils/range.ts +function range(n, b) { + return b ? Array(b - n).fill(0).map((_, i) => n + i) : Array(n).fill(0).map((_, i) => i); +} + +// src/utils/chunk.ts +function chunk(arr, chunkSize) { + if (isNaN(chunkSize) || chunkSize < 1) { + throw new RangeError("Invalid chunk size: " + chunkSize); + } + if (!arr.length) { + return []; + } + if (arr.length <= chunkSize) { + return [arr]; + } + return range(Math.ceil(arr.length / chunkSize)).map((i) => { + return arr.slice(i * chunkSize, (i + 1) * chunkSize); + }); +} + +// src/utils/promisesQueue.ts +async function promisesQueue(factories, concurrency) { + const results = []; + const executing = /* @__PURE__ */ new Set(); + let index = 0; + for (const factory of factories) { + const closureIndex = index++; + const e = factory().then((r) => { + results[closureIndex] = r; + executing.delete(e); + }); + executing.add(e); + if (executing.size >= concurrency) { + await Promise.race(executing); + } + } + await Promise.all(executing); + return results; +} + +// src/utils/promisesQueueStreaming.ts +async function promisesQueueStreaming(factories, concurrency) { + const executing = []; + for await (const factory of factories) { + const e = factory().then(() => { + executing.splice(executing.indexOf(e), 1); + }); + executing.push(e); + if (executing.length >= concurrency) { + await Promise.race(executing); + } + } + await Promise.all(executing); +} + +// src/utils/eventToGenerator.ts +async function* eventToGenerator(cb) { + const promises = []; + function addPromise() { + let resolve2; + let reject; + const p = new Promise((res, rej) => { + resolve2 = res; + reject = rej; + }); + promises.push({ p, resolve: resolve2, reject }); + } + addPromise(); + const callbackRes = Promise.resolve().then( + () => cb( + (y) => { + addPromise(); + promises.at(-2)?.resolve({ done: false, value: y }); + }, + (r) => { + addPromise(); + promises.at(-2)?.resolve({ done: true, value: r }); + }, + (err) => promises.shift()?.reject(err) + ) + ).catch((err) => promises.shift()?.reject(err)); + while (1) { + const p = promises[0]; + if (!p) { + throw new Error("Logic error in eventGenerator, promises should never be empty"); + } + const result = await p.p; + promises.shift(); + if (result.done) { + await callbackRes; + return result.value; + } + yield result.value; + } + throw new Error("Unreachable"); +} + +// src/utils/hexFromBytes.ts +function hexFromBytes(arr) { + if (globalThis.Buffer) { + return globalThis.Buffer.from(arr).toString("hex"); + } else { + const bin = []; + arr.forEach((byte) => { + bin.push(byte.toString(16).padStart(2, "0")); + }); + return bin.join(""); + } +} + +// src/utils/isBackend.ts +var isBrowser = typeof window !== "undefined" && typeof window.document !== "undefined"; +var isWebWorker = typeof self === "object" && self.constructor && self.constructor.name === "DedicatedWorkerGlobalScope"; +var isBackend = !isBrowser && !isWebWorker; + +// src/utils/isFrontend.ts +var isFrontend = !isBackend; + +// src/utils/sha256.ts +async function getWebWorkerCode() { + const sha256Module = await import("./sha256-wrapper-RIVMC2TM.mjs"); + return URL.createObjectURL(new Blob([sha256Module.createSHA256WorkerCode()])); +} +var pendingWorkers = []; +var runningWorkers = /* @__PURE__ */ new Set(); +var resolve; +var waitPromise = new Promise((r) => { + resolve = r; +}); +async function getWorker(poolSize) { + { + const worker2 = pendingWorkers.pop(); + if (worker2) { + runningWorkers.add(worker2); + return worker2; + } + } + if (!poolSize) { + const worker2 = new Worker(await getWebWorkerCode()); + runningWorkers.add(worker2); + return worker2; + } + if (poolSize <= 0) { + throw new TypeError("Invalid webworker pool size: " + poolSize); + } + while (runningWorkers.size >= poolSize) { + await waitPromise; + } + const worker = new Worker(await getWebWorkerCode()); + runningWorkers.add(worker); + return worker; +} +async function freeWorker(worker, poolSize) { + if (!poolSize) { + return destroyWorker(worker); + } + runningWorkers.delete(worker); + pendingWorkers.push(worker); + const r = resolve; + waitPromise = new Promise((r2) => { + resolve = r2; + }); + r(); +} +function destroyWorker(worker) { + runningWorkers.delete(worker); + worker.terminate(); + const r = resolve; + waitPromise = new Promise((r2) => { + resolve = r2; + }); + r(); +} +async function* sha256(buffer, opts) { + yield 0; + const maxCryptoSize = typeof opts?.useWebWorker === "object" && opts?.useWebWorker.minSize !== void 0 ? opts.useWebWorker.minSize : 1e7; + if (buffer.size < maxCryptoSize && globalThis.crypto?.subtle) { + const res = hexFromBytes( + new Uint8Array( + await globalThis.crypto.subtle.digest("SHA-256", buffer instanceof Blob ? await buffer.arrayBuffer() : buffer) + ) + ); + yield 1; + return res; + } + if (isFrontend) { + if (opts?.useWebWorker) { + try { + const poolSize = typeof opts?.useWebWorker === "object" ? opts.useWebWorker.poolSize : void 0; + const worker = await getWorker(poolSize); + let messageHandler; + let errorHandler; + const cleanup = () => { + worker.removeEventListener("message", messageHandler); + worker.removeEventListener("error", errorHandler); + }; + return yield* eventToGenerator((yieldCallback, returnCallback, rejectCallback) => { + messageHandler = (event) => { + if (event.data.sha256) { + cleanup(); + freeWorker(worker, poolSize); + returnCallback(event.data.sha256); + } else if (event.data.progress) { + yieldCallback(event.data.progress); + try { + opts.abortSignal?.throwIfAborted(); + } catch (err) { + cleanup(); + destroyWorker(worker); + rejectCallback(err); + } + } else { + cleanup(); + destroyWorker(worker); + rejectCallback(event); + } + }; + errorHandler = (event) => { + cleanup(); + destroyWorker(worker); + rejectCallback(event.error); + }; + if (opts?.abortSignal) { + try { + opts.abortSignal?.throwIfAborted(); + } catch (err) { + cleanup(); + destroyWorker(worker); + rejectCallback(opts.abortSignal.reason ?? new DOMException("Aborted", "AbortError")); + return; + } + const abortListener = () => { + cleanup(); + destroyWorker(worker); + rejectCallback(opts.abortSignal?.reason ?? new DOMException("Aborted", "AbortError")); + opts.abortSignal?.removeEventListener("abort", abortListener); + }; + opts.abortSignal.addEventListener("abort", abortListener); + } + worker.addEventListener("message", messageHandler); + worker.addEventListener("error", errorHandler); + worker.postMessage({ file: buffer }); + }); + } catch (err) { + console.warn("Failed to use web worker for sha256", err); + } + } + if (!wasmModule) { + wasmModule = await import("./sha256-wrapper-RIVMC2TM.mjs"); + } + const sha2562 = await wasmModule.createSHA256(); + sha2562.init(); + const reader = buffer.stream().getReader(); + const total = buffer.size; + let bytesDone = 0; + while (true) { + const { done, value } = await reader.read(); + if (done) { + break; + } + sha2562.update(value); + bytesDone += value.length; + yield bytesDone / total; + opts?.abortSignal?.throwIfAborted(); + } + return sha2562.digest("hex"); + } + if (!cryptoModule) { + cryptoModule = await import("./sha256-node-TNZ2WHTI.mjs"); + } + return yield* cryptoModule.sha256Node(buffer, { abortSignal: opts?.abortSignal }); +} +var cryptoModule; +var wasmModule; + +// src/utils/WebBlob.ts +var WebBlob = class extends Blob { + static async create(url, opts) { + const customFetch = opts?.fetch ?? fetch; + const response = await customFetch(url, { + method: "HEAD", + ...opts?.accessToken && { + headers: { + Authorization: `Bearer ${opts.accessToken}` + } + } + }); + const size = Number(response.headers.get("content-length")); + const contentType = response.headers.get("content-type") || ""; + const supportRange = response.headers.get("accept-ranges") === "bytes"; + if (!supportRange || size < (opts?.cacheBelow ?? 1e6)) { + return await (await customFetch(url)).blob(); + } + return new WebBlob(url, 0, size, contentType, true, customFetch, opts?.accessToken); + } + url; + start; + end; + contentType; + full; + fetch; + accessToken; + constructor(url, start, end, contentType, full, customFetch, accessToken) { + super([]); + this.url = url; + this.start = start; + this.end = end; + this.contentType = contentType; + this.full = full; + this.fetch = customFetch; + this.accessToken = accessToken; + } + get size() { + return this.end - this.start; + } + get type() { + return this.contentType; + } + slice(start = 0, end = this.size) { + if (start < 0 || end < 0) { + new TypeError("Unsupported negative start/end on WebBlob.slice"); + } + const slice = new WebBlob( + this.url, + this.start + start, + Math.min(this.start + end, this.end), + this.contentType, + start === 0 && end === this.size ? this.full : false, + this.fetch, + this.accessToken + ); + return slice; + } + async arrayBuffer() { + const result = await this.fetchRange(); + return result.arrayBuffer(); + } + async text() { + const result = await this.fetchRange(); + return result.text(); + } + stream() { + const stream = new TransformStream(); + this.fetchRange().then((response) => response.body?.pipeThrough(stream)).catch((error) => stream.writable.abort(error.message)); + return stream.readable; + } + fetchRange() { + const fetch2 = this.fetch; + if (this.full) { + return fetch2(this.url, { + ...this.accessToken && { + headers: { + Authorization: `Bearer ${this.accessToken}` + } + } + }).then((resp) => resp.ok ? resp : createApiError(resp)); + } + return fetch2(this.url, { + headers: { + Range: `bytes=${this.start}-${this.end - 1}`, + ...this.accessToken && { Authorization: `Bearer ${this.accessToken}` } + } + }).then((resp) => resp.ok ? resp : createApiError(resp)); + } +}; + +// src/utils/base64FromBytes.ts +function base64FromBytes(arr) { + if (globalThis.Buffer) { + return globalThis.Buffer.from(arr).toString("base64"); + } else { + const bin = []; + arr.forEach((byte) => { + bin.push(String.fromCharCode(byte)); + }); + return globalThis.btoa(bin.join("")); + } +} + +// src/utils/createBlobs.ts +async function createBlobs(url, destPath, opts) { + if (url.protocol === "http:" || url.protocol === "https:") { + const blob = await WebBlob.create(url, { fetch: opts?.fetch, accessToken: opts?.accessToken }); + return [{ path: destPath, blob }]; + } + if (isFrontend) { + throw new TypeError(`Unsupported URL protocol "${url.protocol}"`); + } + if (url.protocol === "file:") { + const { FileBlob } = await import("./FileBlob-7MRLQ6TG.mjs"); + const { subPaths } = await import("./sub-paths-F6TP7MGR.mjs"); + const paths = await subPaths(url, opts?.maxFolderDepth); + if (paths.length === 1 && paths[0].relativePath === ".") { + const blob = await FileBlob.create(url); + return [{ path: destPath, blob }]; + } + return Promise.all( + paths.map(async (path) => ({ + path: `${destPath}/${path.relativePath}`.replace(/\/[.]$/, "").replaceAll("//", "/").replace(/^[.]?\//, ""), + blob: await FileBlob.create(new URL(path.path)) + })) + ); + } + throw new TypeError(`Unsupported URL protocol "${url.protocol}"`); +} + +// src/utils/combineUint8Arrays.ts +function combineUint8Arrays(a, b) { + const aLength = a.length; + const combinedBytes = new Uint8Array(aLength + b.length); + combinedBytes.set(a); + combinedBytes.set(b, aLength); + return combinedBytes; +} + +// src/vendor/lz4js/util.ts +function hashU32(a) { + a = a | 0; + a = a + 2127912214 + (a << 12) | 0; + a = a ^ -949894596 ^ a >>> 19; + a = a + 374761393 + (a << 5) | 0; + a = a + -744332180 ^ a << 9; + a = a + -42973499 + (a << 3) | 0; + return a ^ -1252372727 ^ a >>> 16 | 0; +} +function readU64(b, n) { + let x = 0; + x |= b[n++] << 0; + x |= b[n++] << 8; + x |= b[n++] << 16; + x |= b[n++] << 24; + x |= b[n++] << 32; + x |= b[n++] << 40; + x |= b[n++] << 48; + x |= b[n++] << 56; + return x; +} +function readU32(b, n) { + let x = 0; + x |= b[n++] << 0; + x |= b[n++] << 8; + x |= b[n++] << 16; + x |= b[n++] << 24; + return x; +} +function writeU32(b, n, x) { + b[n++] = x >> 0 & 255; + b[n++] = x >> 8 & 255; + b[n++] = x >> 16 & 255; + b[n++] = x >> 24 & 255; +} +function imul(a, b) { + const ah = a >>> 16; + const al = a & 65535; + const bh = b >>> 16; + const bl = b & 65535; + return al * bl + (ah * bl + al * bh << 16) | 0; +} + +// src/vendor/lz4js/xxh32.ts +var prime1 = 2654435761; +var prime2 = 2246822519; +var prime3 = 3266489917; +var prime4 = 668265263; +var prime5 = 374761393; +function rotl32(x, r) { + x = x | 0; + r = r | 0; + return x >>> (32 - r | 0) | x << r | 0; +} +function rotmul32(h, r, m) { + h = h | 0; + r = r | 0; + m = m | 0; + return imul(h >>> (32 - r | 0) | h << r, m) | 0; +} +function shiftxor32(h, s) { + h = h | 0; + s = s | 0; + return h >>> s ^ h | 0; +} +function xxhapply(h, src, m0, s, m1) { + return rotmul32(imul(src, m0) + h, s, m1); +} +function xxh1(h, src, index) { + return rotmul32(h + imul(src[index], prime5), 11, prime1); +} +function xxh4(h, src, index) { + return xxhapply(h, readU32(src, index), prime3, 17, prime4); +} +function xxh16(h, src, index) { + return [ + xxhapply(h[0], readU32(src, index + 0), prime2, 13, prime1), + xxhapply(h[1], readU32(src, index + 4), prime2, 13, prime1), + xxhapply(h[2], readU32(src, index + 8), prime2, 13, prime1), + xxhapply(h[3], readU32(src, index + 12), prime2, 13, prime1) + ]; +} +function xxh32(seed, src, index, len) { + let h; + const l = len; + if (len >= 16) { + h = [seed + prime1 + prime2, seed + prime2, seed, seed - prime1]; + while (len >= 16) { + h = xxh16(h, src, index); + index += 16; + len -= 16; + } + h = rotl32(h[0], 1) + rotl32(h[1], 7) + rotl32(h[2], 12) + rotl32(h[3], 18) + l; + } else { + h = seed + prime5 + len >>> 0; + } + while (len >= 4) { + h = xxh4(h, src, index); + index += 4; + len -= 4; + } + while (len > 0) { + h = xxh1(h, src, index); + index++; + len--; + } + h = shiftxor32(imul(shiftxor32(imul(shiftxor32(h, 15), prime2), 13), prime3), 16); + return h >>> 0; +} +var hash = xxh32; + +// src/vendor/lz4js/index.ts +var minMatch = 4; +var matchSearchLimit = 12; +var minTrailingLitterals = 5; +var skipTrigger = 6; +var hashSize = 1 << 16; +var mlBits = 4; +var mlMask = (1 << mlBits) - 1; +var runBits = 4; +var runMask = (1 << runBits) - 1; +var blockBuf = makeBuffer(5 << 20); +var hashTable = makeHashTable(); +var magicNum = 407708164; +var fdContentChksum = 4; +var fdContentSize = 8; +var fdBlockChksum = 16; +var fdVersion = 64; +var fdVersionMask = 192; +var bsUncompressed = 2147483648; +var bsDefault = 7; +var bsShift = 4; +var bsMask = 7; +var bsMap = { + 4: 65536, + 5: 262144, + 6: 1048576, + 7: 4194304 +}; +function makeHashTable() { + try { + return new Uint32Array(hashSize); + } catch (error) { + const hashTable2 = new Array(hashSize); + for (let i = 0; i < hashSize; i++) { + hashTable2[i] = 0; + } + return hashTable2; + } +} +function clearHashTable(table) { + for (let i = 0; i < hashSize; i++) { + table[i] = 0; + } +} +function makeBuffer(size) { + return new Uint8Array(size); +} +function sliceArray(array, start, end) { + return array.slice(start, end); +} +function compressBound(n) { + return n + n / 255 + 16 | 0; +} +function decompressBound(src) { + let sIndex = 0; + if (readU32(src, sIndex) !== magicNum) { + throw new Error("invalid magic number"); + } + sIndex += 4; + const descriptor = src[sIndex++]; + if ((descriptor & fdVersionMask) !== fdVersion) { + throw new Error("incompatible descriptor version " + (descriptor & fdVersionMask)); + } + const useBlockSum = (descriptor & fdBlockChksum) !== 0; + const useContentSize = (descriptor & fdContentSize) !== 0; + const bsIdx = src[sIndex++] >> bsShift & bsMask; + if (bsMap[bsIdx] === void 0) { + throw new Error("invalid block size " + bsIdx); + } + const maxBlockSize = bsMap[bsIdx]; + if (useContentSize) { + return readU64(src, sIndex); + } + sIndex++; + let maxSize = 0; + while (true) { + let blockSize = readU32(src, sIndex); + sIndex += 4; + if (blockSize & bsUncompressed) { + blockSize &= ~bsUncompressed; + maxSize += blockSize; + } else if (blockSize > 0) { + maxSize += maxBlockSize; + } + if (blockSize === 0) { + return maxSize; + } + if (useBlockSum) { + sIndex += 4; + } + sIndex += blockSize; + } +} +function decompressBlock(src, dst, sIndex, sLength, dIndex) { + let mLength, mOffset, sEnd, n, i; + const hasCopyWithin = dst.copyWithin !== void 0 && dst.fill !== void 0; + sEnd = sIndex + sLength; + while (sIndex < sEnd) { + const token = src[sIndex++]; + let literalCount = token >> 4; + if (literalCount > 0) { + if (literalCount === 15) { + while (true) { + literalCount += src[sIndex]; + if (src[sIndex++] !== 255) { + break; + } + } + } + for (n = sIndex + literalCount; sIndex < n; ) { + dst[dIndex++] = src[sIndex++]; + } + } + if (sIndex >= sEnd) { + break; + } + mLength = token & 15; + mOffset = src[sIndex++] | src[sIndex++] << 8; + if (mLength === 15) { + while (true) { + mLength += src[sIndex]; + if (src[sIndex++] !== 255) { + break; + } + } + } + mLength += minMatch; + if (hasCopyWithin && mOffset === 1) { + dst.fill(dst[dIndex - 1] | 0, dIndex, dIndex + mLength); + dIndex += mLength; + } else if (hasCopyWithin && mOffset > mLength && mLength > 31) { + dst.copyWithin(dIndex, dIndex - mOffset, dIndex - mOffset + mLength); + dIndex += mLength; + } else { + for (i = dIndex - mOffset, n = i + mLength; i < n; ) { + dst[dIndex++] = dst[i++] | 0; + } + } + } + return dIndex; +} +function compressBlock(src, dst, sIndex, sLength, hashTable2) { + let mIndex, mAnchor, mLength, mOffset, mStep; + let literalCount, dIndex, sEnd, n; + dIndex = 0; + sEnd = sLength + sIndex; + mAnchor = sIndex; + let searchMatchCount = (1 << skipTrigger) + 3; + while (sIndex <= sEnd - matchSearchLimit) { + const seq = readU32(src, sIndex); + let hash2 = hashU32(seq) >>> 0; + hash2 = (hash2 >> 16 ^ hash2) >>> 0 & 65535; + mIndex = hashTable2[hash2] - 1; + hashTable2[hash2] = sIndex + 1; + if (mIndex < 0 || sIndex - mIndex >>> 16 > 0 || readU32(src, mIndex) !== seq) { + mStep = searchMatchCount++ >> skipTrigger; + sIndex += mStep; + continue; + } + searchMatchCount = (1 << skipTrigger) + 3; + literalCount = sIndex - mAnchor; + mOffset = sIndex - mIndex; + sIndex += minMatch; + mIndex += minMatch; + mLength = sIndex; + while (sIndex < sEnd - minTrailingLitterals && src[sIndex] === src[mIndex]) { + sIndex++; + mIndex++; + } + mLength = sIndex - mLength; + const token = mLength < mlMask ? mLength : mlMask; + if (literalCount >= runMask) { + dst[dIndex++] = (runMask << mlBits) + token; + for (n = literalCount - runMask; n >= 255; n -= 255) { + dst[dIndex++] = 255; + } + dst[dIndex++] = n; + } else { + dst[dIndex++] = (literalCount << mlBits) + token; + } + for (let i = 0; i < literalCount; i++) { + dst[dIndex++] = src[mAnchor + i]; + } + dst[dIndex++] = mOffset; + dst[dIndex++] = mOffset >> 8; + if (mLength >= mlMask) { + for (n = mLength - mlMask; n >= 255; n -= 255) { + dst[dIndex++] = 255; + } + dst[dIndex++] = n; + } + mAnchor = sIndex; + } + if (mAnchor === 0) { + return 0; + } + literalCount = sEnd - mAnchor; + if (literalCount >= runMask) { + dst[dIndex++] = runMask << mlBits; + for (n = literalCount - runMask; n >= 255; n -= 255) { + dst[dIndex++] = 255; + } + dst[dIndex++] = n; + } else { + dst[dIndex++] = literalCount << mlBits; + } + sIndex = mAnchor; + while (sIndex < sEnd) { + dst[dIndex++] = src[sIndex++]; + } + return dIndex; +} +function decompressFrame(src, dst) { + let useBlockSum, useContentSum, useContentSize, descriptor; + let sIndex = 0; + let dIndex = 0; + if (readU32(src, sIndex) !== magicNum) { + throw new Error("invalid magic number"); + } + sIndex += 4; + descriptor = src[sIndex++]; + if ((descriptor & fdVersionMask) !== fdVersion) { + throw new Error("incompatible descriptor version"); + } + useBlockSum = (descriptor & fdBlockChksum) !== 0; + useContentSum = (descriptor & fdContentChksum) !== 0; + useContentSize = (descriptor & fdContentSize) !== 0; + const bsIdx = src[sIndex++] >> bsShift & bsMask; + if (bsMap[bsIdx] === void 0) { + throw new Error("invalid block size"); + } + if (useContentSize) { + sIndex += 8; + } + sIndex++; + while (true) { + var compSize; + compSize = readU32(src, sIndex); + sIndex += 4; + if (compSize === 0) { + break; + } + if (useBlockSum) { + sIndex += 4; + } + if ((compSize & bsUncompressed) !== 0) { + compSize &= ~bsUncompressed; + for (let j = 0; j < compSize; j++) { + dst[dIndex++] = src[sIndex++]; + } + } else { + dIndex = decompressBlock(src, dst, sIndex, compSize, dIndex); + sIndex += compSize; + } + } + if (useContentSum) { + sIndex += 4; + } + return dIndex; +} +function compressFrame(src, dst) { + let dIndex = 0; + writeU32(dst, dIndex, magicNum); + dIndex += 4; + dst[dIndex++] = fdVersion; + dst[dIndex++] = bsDefault << bsShift; + dst[dIndex] = hash(0, dst, 4, dIndex - 4) >> 8; + dIndex++; + const maxBlockSize = bsMap[bsDefault]; + let remaining = src.length; + let sIndex = 0; + clearHashTable(hashTable); + while (remaining > 0) { + let compSize = 0; + const blockSize = remaining > maxBlockSize ? maxBlockSize : remaining; + compSize = compressBlock(src, blockBuf, sIndex, blockSize, hashTable); + if (compSize > blockSize || compSize === 0) { + writeU32(dst, dIndex, 2147483648 | blockSize); + dIndex += 4; + for (let z = sIndex + blockSize; sIndex < z; ) { + dst[dIndex++] = src[sIndex++]; + } + remaining -= blockSize; + } else { + writeU32(dst, dIndex, compSize); + dIndex += 4; + for (let j = 0; j < compSize; ) { + dst[dIndex++] = blockBuf[j++]; + } + sIndex += blockSize; + remaining -= blockSize; + } + } + writeU32(dst, dIndex, 0); + dIndex += 4; + return dIndex; +} +function decompress(src, maxSize) { + let dst, size; + if (maxSize === void 0) { + maxSize = decompressBound(src); + } + dst = makeBuffer(maxSize); + size = decompressFrame(src, dst); + if (size !== maxSize) { + dst = sliceArray(dst, 0, size); + } + return dst; +} +function compress(src, maxSize) { + let dst, size; + if (maxSize === void 0) { + maxSize = compressBound(src.length); + } + dst = makeBuffer(maxSize); + size = compressFrame(src, dst); + if (size !== maxSize) { + dst = sliceArray(dst, 0, size); + } + return dst; +} + +// src/utils/RangeList.ts +var RangeList = class { + ranges = []; + /** + * Add a range to the list. If it overlaps with existing ranges, + * it will split them and increment reference counts accordingly. + */ + add(start, end) { + if (end <= start) { + throw new TypeError("End must be greater than start"); + } + const overlappingRanges = []; + for (let i = 0; i < this.ranges.length; i++) { + const range2 = this.ranges[i]; + if (start < range2.end && end > range2.start) { + overlappingRanges.push({ index: i, range: range2 }); + } + if (range2.data !== null) { + throw new Error("Overlapping range already has data"); + } + } + if (overlappingRanges.length === 0) { + this.ranges.push({ start, end, refCount: 1, data: null }); + this.ranges.sort((a, b) => a.start - b.start); + return; + } + const newRanges = []; + let currentPos = start; + for (let i = 0; i < overlappingRanges.length; i++) { + const { range: range2 } = overlappingRanges[i]; + if (currentPos < range2.start) { + newRanges.push({ + start: currentPos, + end: range2.start, + refCount: 1, + data: null + }); + } else if (range2.start < currentPos) { + newRanges.push({ + start: range2.start, + end: currentPos, + refCount: range2.refCount, + data: null + }); + } + newRanges.push({ + start: Math.max(currentPos, range2.start), + end: Math.min(end, range2.end), + refCount: range2.refCount + 1, + data: null + }); + if (range2.end > end) { + newRanges.push({ + start: end, + end: range2.end, + refCount: range2.refCount, + data: null + }); + } + currentPos = Math.max(currentPos, range2.end); + } + if (currentPos < end) { + newRanges.push({ + start: currentPos, + end, + refCount: 1, + data: null + }); + } + const firstIndex = overlappingRanges[0].index; + const lastIndex = overlappingRanges[overlappingRanges.length - 1].index; + this.ranges.splice(firstIndex, lastIndex - firstIndex + 1, ...newRanges); + this.ranges.sort((a, b) => a.start - b.start); + } + /** + * Remove a range from the list. The range must start and end at existing boundaries. + */ + remove(start, end) { + if (end <= start) { + throw new TypeError("End must be greater than start"); + } + const affectedRanges = []; + for (let i = 0; i < this.ranges.length; i++) { + const range2 = this.ranges[i]; + if (start < range2.end && end > range2.start) { + affectedRanges.push({ index: i, range: range2 }); + } + } + if (affectedRanges.length === 0) { + throw new Error("No ranges found to remove"); + } + if (start !== affectedRanges[0].range.start || end !== affectedRanges[affectedRanges.length - 1].range.end) { + throw new Error("Range boundaries must match existing boundaries"); + } + for (let i = 0; i < affectedRanges.length; i++) { + const { range: range2 } = affectedRanges[i]; + range2.refCount--; + } + this.ranges = this.ranges.filter((range2) => range2.refCount > 0); + } + /** + * Get all ranges within the specified boundaries. + */ + getRanges(start, end) { + if (end <= start) { + throw new TypeError("End must be greater than start"); + } + return this.ranges.filter((range2) => start < range2.end && end > range2.start); + } + /** + * Get all ranges in the list + */ + getAllRanges() { + return [...this.ranges]; + } +}; + +// src/utils/XetBlob.ts +var JWT_SAFETY_PERIOD = 6e4; +var JWT_CACHE_SIZE = 1e3; +var compressionSchemeLabels = { + [0 /* None */]: "None", + [1 /* LZ4 */]: "LZ4", + [2 /* ByteGroupingLZ4 */]: "ByteGroupingLZ4" +}; +var XET_CHUNK_HEADER_BYTES = 8; +var XetBlob = class extends Blob { + fetch; + accessToken; + refreshUrl; + reconstructionUrl; + hash; + start = 0; + end = 0; + internalLogging = false; + reconstructionInfo; + listener; + constructor(params) { + super([]); + this.fetch = params.fetch ?? fetch.bind(globalThis); + this.accessToken = checkCredentials(params); + this.refreshUrl = params.refreshUrl; + this.end = params.size; + this.reconstructionUrl = params.reconstructionUrl; + this.hash = params.hash; + this.listener = params.listener; + this.internalLogging = params.internalLogging ?? false; + if (params.readToken) { + const key = cacheKey({ refreshUrl: this.refreshUrl, initialAccessToken: this.accessToken }); + jwts.set(key, { + accessToken: params.readToken.accessToken, + expiresAt: new Date(params.readToken.exp * 1e3), + casUrl: params.readToken.casUrl + }); + } + } + get size() { + return this.end - this.start; + } + #clone() { + const blob = new XetBlob({ + fetch: this.fetch, + hash: this.hash, + refreshUrl: this.refreshUrl, + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + reconstructionUrl: this.reconstructionUrl, + size: this.size + }); + blob.accessToken = this.accessToken; + blob.start = this.start; + blob.end = this.end; + blob.reconstructionInfo = this.reconstructionInfo; + blob.listener = this.listener; + blob.internalLogging = this.internalLogging; + return blob; + } + slice(start = 0, end = this.size) { + if (start < 0 || end < 0) { + new TypeError("Unsupported negative start/end on XetBlob.slice"); + } + const slice = this.#clone(); + slice.start = this.start + start; + slice.end = Math.min(this.start + end, this.end); + if (slice.start !== this.start || slice.end !== this.end) { + slice.reconstructionInfo = void 0; + } + return slice; + } + #reconstructionInfoPromise; + #loadReconstructionInfo() { + if (this.#reconstructionInfoPromise) { + return this.#reconstructionInfoPromise; + } + this.#reconstructionInfoPromise = (async () => { + const connParams = await getAccessToken(this.accessToken, this.fetch, this.refreshUrl); + const resp = await this.fetch(this.reconstructionUrl ?? `${connParams.casUrl}/v1/reconstructions/${this.hash}`, { + headers: { + Authorization: `Bearer ${connParams.accessToken}`, + Range: `bytes=${this.start}-${this.end - 1}` + } + }); + if (!resp.ok) { + throw await createApiError(resp); + } + this.reconstructionInfo = await resp.json(); + return this.reconstructionInfo; + })().finally(() => this.#reconstructionInfoPromise = void 0); + return this.#reconstructionInfoPromise; + } + async #fetch() { + if (!this.reconstructionInfo) { + await this.#loadReconstructionInfo(); + } + const rangeLists = /* @__PURE__ */ new Map(); + if (!this.reconstructionInfo) { + throw new Error("Failed to load reconstruction info"); + } + for (const term of this.reconstructionInfo.terms) { + let rangeList = rangeLists.get(term.hash); + if (!rangeList) { + rangeList = new RangeList(); + rangeLists.set(term.hash, rangeList); + } + rangeList.add(term.range.start, term.range.end); + } + const listener = this.listener; + const log = this.internalLogging ? (...args) => console.log(...args) : () => { + }; + async function* readData(reconstructionInfo, customFetch, maxBytes, reloadReconstructionInfo) { + let totalBytesRead = 0; + let readBytesToSkip = reconstructionInfo.offset_into_first_range; + for (const term of reconstructionInfo.terms) { + if (totalBytesRead >= maxBytes) { + break; + } + const rangeList = rangeLists.get(term.hash); + if (!rangeList) { + throw new Error(`Failed to find range list for term ${term.hash}`); + } + { + const termRanges = rangeList.getRanges(term.range.start, term.range.end); + if (termRanges.every((range2) => range2.data)) { + log("all data available for term", term.hash, readBytesToSkip); + rangeLoop: + for (const range2 of termRanges) { + for (let chunk2 of range2.data) { + if (readBytesToSkip) { + const skipped = Math.min(readBytesToSkip, chunk2.byteLength); + chunk2 = chunk2.slice(skipped); + readBytesToSkip -= skipped; + if (!chunk2.byteLength) { + continue; + } + } + if (chunk2.byteLength > maxBytes - totalBytesRead) { + chunk2 = chunk2.slice(0, maxBytes - totalBytesRead); + } + totalBytesRead += chunk2.byteLength; + yield range2.refCount > 1 ? chunk2.slice() : chunk2; + listener?.({ event: "progress", progress: { read: totalBytesRead, total: maxBytes } }); + if (totalBytesRead >= maxBytes) { + break rangeLoop; + } + } + } + rangeList.remove(term.range.start, term.range.end); + continue; + } + } + const fetchInfo = reconstructionInfo.fetch_info[term.hash].find( + (info) => info.range.start <= term.range.start && info.range.end >= term.range.end + ); + if (!fetchInfo) { + throw new Error( + `Failed to find fetch info for term ${term.hash} and range ${term.range.start}-${term.range.end}` + ); + } + log("term", term); + log("fetchinfo", fetchInfo); + log("readBytesToSkip", readBytesToSkip); + let resp = await customFetch(fetchInfo.url, { + headers: { + Range: `bytes=${fetchInfo.url_range.start}-${fetchInfo.url_range.end}` + } + }); + if (resp.status === 403) { + reconstructionInfo = await reloadReconstructionInfo(); + resp = await customFetch(fetchInfo.url, { + headers: { + Range: `bytes=${fetchInfo.url_range.start}-${fetchInfo.url_range.end}` + } + }); + } + if (!resp.ok) { + throw await createApiError(resp); + } + log( + "expected content length", + resp.headers.get("content-length"), + "range", + fetchInfo.url_range, + resp.headers.get("content-range") + ); + const reader = resp.body?.getReader(); + if (!reader) { + throw new Error("Failed to get reader from response body"); + } + let done = false; + let chunkIndex = fetchInfo.range.start; + const ranges = rangeList.getRanges(fetchInfo.range.start, fetchInfo.range.end); + let leftoverBytes = void 0; + let totalFetchBytes = 0; + fetchData: + while (!done && totalBytesRead < maxBytes) { + const result = await reader.read(); + listener?.({ event: "read" }); + done = result.done; + log("read", result.value?.byteLength, "bytes", "total read", totalBytesRead, "toSkip", readBytesToSkip); + if (!result.value) { + log("no data in result, cancelled", result); + continue; + } + totalFetchBytes += result.value.byteLength; + if (leftoverBytes) { + result.value = combineUint8Arrays(leftoverBytes, result.value); + leftoverBytes = void 0; + } + while (totalBytesRead < maxBytes && result.value?.byteLength) { + if (result.value.byteLength < 8) { + leftoverBytes = result.value; + continue fetchData; + } + const header = new DataView(result.value.buffer, result.value.byteOffset, XET_CHUNK_HEADER_BYTES); + const chunkHeader = { + version: header.getUint8(0), + compressed_length: header.getUint8(1) | header.getUint8(2) << 8 | header.getUint8(3) << 16, + compression_scheme: header.getUint8(4), + uncompressed_length: header.getUint8(5) | header.getUint8(6) << 8 | header.getUint8(7) << 16 + }; + log("chunk header", chunkHeader, "to skip", readBytesToSkip); + if (chunkHeader.version !== 0) { + throw new Error(`Unsupported chunk version ${chunkHeader.version}`); + } + if (chunkHeader.compression_scheme !== 0 /* None */ && chunkHeader.compression_scheme !== 1 /* LZ4 */ && chunkHeader.compression_scheme !== 2 /* ByteGroupingLZ4 */) { + throw new Error( + `Unsupported compression scheme ${compressionSchemeLabels[chunkHeader.compression_scheme] ?? chunkHeader.compression_scheme}` + ); + } + if (result.value.byteLength < chunkHeader.compressed_length + XET_CHUNK_HEADER_BYTES) { + leftoverBytes = result.value; + continue fetchData; + } + result.value = result.value.slice(XET_CHUNK_HEADER_BYTES); + let uncompressed = chunkHeader.compression_scheme === 1 /* LZ4 */ ? decompress(result.value.slice(0, chunkHeader.compressed_length), chunkHeader.uncompressed_length) : chunkHeader.compression_scheme === 2 /* ByteGroupingLZ4 */ ? bg4_regroup_bytes( + decompress( + result.value.slice(0, chunkHeader.compressed_length), + chunkHeader.uncompressed_length + ) + ) : result.value.slice(0, chunkHeader.compressed_length); + const range2 = ranges.find((range3) => chunkIndex >= range3.start && chunkIndex < range3.end); + const shouldYield = chunkIndex >= term.range.start && chunkIndex < term.range.end; + const minRefCountToStore = shouldYield ? 2 : 1; + let stored = false; + if (range2 && range2.refCount >= minRefCountToStore) { + range2.data ??= []; + range2.data.push(uncompressed); + stored = true; + } + if (shouldYield) { + if (readBytesToSkip) { + const skipped = Math.min(readBytesToSkip, uncompressed.byteLength); + uncompressed = uncompressed.slice(readBytesToSkip); + readBytesToSkip -= skipped; + } + if (uncompressed.byteLength > maxBytes - totalBytesRead) { + uncompressed = uncompressed.slice(0, maxBytes - totalBytesRead); + } + if (uncompressed.byteLength) { + log( + "yield", + uncompressed.byteLength, + "bytes", + result.value.byteLength, + "total read", + totalBytesRead, + stored + ); + totalBytesRead += uncompressed.byteLength; + yield stored ? uncompressed.slice() : uncompressed; + listener?.({ event: "progress", progress: { read: totalBytesRead, total: maxBytes } }); + } + } + chunkIndex++; + result.value = result.value.slice(chunkHeader.compressed_length); + } + } + if (done && totalBytesRead < maxBytes && totalFetchBytes < fetchInfo.url_range.end - fetchInfo.url_range.start + 1) { + log("done", done, "total read", totalBytesRead, maxBytes, totalFetchBytes); + log("failed to fetch all data for term", term.hash); + throw new Error( + `Failed to fetch all data for term ${term.hash}, fetched ${totalFetchBytes} bytes out of ${fetchInfo.url_range.end - fetchInfo.url_range.start + 1}` + ); + } + log("done", done, "total read", totalBytesRead, maxBytes, totalFetchBytes); + log("cancel reader"); + await reader.cancel(); + } + } + const iterator = readData( + this.reconstructionInfo, + this.fetch, + this.end - this.start, + this.#loadReconstructionInfo.bind(this) + ); + return new ReadableStream( + { + // todo: when Safari supports it, type controller as ReadableByteStreamController + async pull(controller) { + const result = await iterator.next(); + if (result.value) { + controller.enqueue(result.value); + } + if (result.done) { + controller.close(); + } + }, + type: "bytes" + // todo: when Safari supports it, add autoAllocateChunkSize param + }, + // todo : use ByteLengthQueuingStrategy when there's good support for it, currently in Node.js it fails due to size being a function + { + highWaterMark: 1e3 + // 1_000 chunks for ~1MB of RAM + } + ); + } + async arrayBuffer() { + const result = await this.#fetch(); + return new Response(result).arrayBuffer(); + } + async text() { + const result = await this.#fetch(); + return new Response(result).text(); + } + async response() { + const result = await this.#fetch(); + return new Response(result); + } + stream() { + const stream = new TransformStream(); + this.#fetch().then((response) => response.pipeThrough(stream)).catch((error) => stream.writable.abort(error.message)); + return stream.readable; + } +}; +var jwtPromises = /* @__PURE__ */ new Map(); +var jwts = /* @__PURE__ */ new Map(); +function cacheKey(params) { + return JSON.stringify([params.refreshUrl, params.initialAccessToken]); +} +function bg4_regroup_bytes(bytes) { + const split = Math.floor(bytes.byteLength / 4); + const rem = bytes.byteLength % 4; + const g1_pos = split + (rem >= 1 ? 1 : 0); + const g2_pos = g1_pos + split + (rem >= 2 ? 1 : 0); + const g3_pos = g2_pos + split + (rem == 3 ? 1 : 0); + const ret = new Uint8Array(bytes.byteLength); + for (let i = 0, j = 0; i < bytes.byteLength; i += 4, j++) { + ret[i] = bytes[j]; + } + for (let i = 1, j = g1_pos; i < bytes.byteLength; i += 4, j++) { + ret[i] = bytes[j]; + } + for (let i = 2, j = g2_pos; i < bytes.byteLength; i += 4, j++) { + ret[i] = bytes[j]; + } + for (let i = 3, j = g3_pos; i < bytes.byteLength; i += 4, j++) { + ret[i] = bytes[j]; + } + return ret; +} +function bg4_split_bytes(bytes) { + const ret = new Uint8Array(bytes.byteLength); + const split = Math.floor(bytes.byteLength / 4); + const rem = bytes.byteLength % 4; + const g1_pos = split + (rem >= 1 ? 1 : 0); + const g2_pos = g1_pos + split + (rem >= 2 ? 1 : 0); + const g3_pos = g2_pos + split + (rem == 3 ? 1 : 0); + for (let i = 0, j = 0; i < bytes.byteLength; i += 4, j++) { + ret[j] = bytes[i]; + } + for (let i = 1, j = g1_pos; i < bytes.byteLength; i += 4, j++) { + ret[j] = bytes[i]; + } + for (let i = 2, j = g2_pos; i < bytes.byteLength; i += 4, j++) { + ret[j] = bytes[i]; + } + for (let i = 3, j = g3_pos; i < bytes.byteLength; i += 4, j++) { + ret[j] = bytes[i]; + } + return ret; +} +async function getAccessToken(initialAccessToken, customFetch, refreshUrl) { + const key = cacheKey({ refreshUrl, initialAccessToken }); + const jwt = jwts.get(key); + if (jwt && jwt.expiresAt > new Date(Date.now() + JWT_SAFETY_PERIOD)) { + return { accessToken: jwt.accessToken, casUrl: jwt.casUrl }; + } + const existingPromise = jwtPromises.get(key); + if (existingPromise) { + return existingPromise; + } + const promise = (async () => { + const resp = await customFetch(refreshUrl, { + headers: { + ...initialAccessToken ? { + Authorization: `Bearer ${initialAccessToken}` + } : {} + } + }); + if (!resp.ok) { + throw new Error(`Failed to get JWT token: ${resp.status} ${await resp.text()}`); + } + const json = await resp.json(); + const jwt2 = { + accessToken: json.accessToken, + expiresAt: new Date(json.exp * 1e3), + casUrl: json.casUrl + }; + jwtPromises.delete(key); + for (const [key2, value] of jwts.entries()) { + if (value.expiresAt < new Date(Date.now() + JWT_SAFETY_PERIOD)) { + jwts.delete(key2); + } else { + break; + } + } + if (jwts.size >= JWT_CACHE_SIZE) { + const keyToDelete = jwts.keys().next().value; + if (keyToDelete) { + jwts.delete(keyToDelete); + } + } + jwts.set(key, jwt2); + return { + accessToken: json.accessToken, + casUrl: json.casUrl + }; + })(); + jwtPromises.set(key, promise); + return promise; +} + +// src/utils/ChunkCache.ts +var CHUNK_CACHE_INITIAL_SIZE = 1e4; +var CHUNK_CACHE_GROW_FACTOR = 1.5; +var CHUNK_CACHE_MAX_SIZE = 1e6; +var ChunkCache = class { + index = 0; + // Index >= 0 means local xorb, < 0 means remote xorb + xorbIndices; + // Max 8K chunks per xorb, less than 64K uint16_t + chunkIndices; + map = /* @__PURE__ */ new Map(); + // hash -> chunkCacheIndex. Less overhead that way, empty object is 60+B and empty array is 40+B + hmacs = /* @__PURE__ */ new Set(); + // todo : remove old hmacs + maxSize; + constructor(maxSize = CHUNK_CACHE_MAX_SIZE) { + if (maxSize < 1) { + throw new Error("maxSize must be at least 1"); + } + this.maxSize = maxSize; + this.xorbIndices = new Int32Array(Math.min(CHUNK_CACHE_INITIAL_SIZE, maxSize)); + this.chunkIndices = new Uint16Array(Math.min(CHUNK_CACHE_INITIAL_SIZE, maxSize)); + } + addChunkToCache(hash2, xorbIndex, chunkIndex, hmac) { + if (this.map.has(hash2)) { + return; + } + if (this.map.values().next().value === this.index) { + this.map.delete(this.map.keys().next().value); + } + this.map.set(hash2, this.index); + if (hmac !== null) { + this.hmacs.add(hmac); + } + if (this.index >= this.xorbIndices.length) { + const oldXorbIndices = this.xorbIndices; + const oldChunkIndices = this.chunkIndices; + this.xorbIndices = new Int32Array(Math.min(this.xorbIndices.length * CHUNK_CACHE_GROW_FACTOR, this.maxSize)); + this.chunkIndices = new Uint16Array(Math.min(this.chunkIndices.length * CHUNK_CACHE_GROW_FACTOR, this.maxSize)); + this.xorbIndices.set(oldXorbIndices); + this.chunkIndices.set(oldChunkIndices); + } + this.xorbIndices[this.index] = xorbIndex; + this.chunkIndices[this.index] = chunkIndex; + this.index = (this.index + 1) % this.maxSize; + } + getChunk(hash2, hmacFunction) { + let index = this.map.get(hash2); + if (index === void 0 && hmacFunction !== null) { + for (const hmac of this.hmacs) { + index = this.map.get(hmacFunction(hash2, hmac)); + if (index !== void 0) { + break; + } + } + } + if (index === void 0) { + return void 0; + } + return { + xorbIndex: this.xorbIndices[index], + chunkIndex: this.chunkIndices[index] + }; + } + updateChunkIndex(hash2, chunkIndex) { + const index = this.map.get(hash2); + if (index === void 0) { + throw new Error(`Chunk not found in cache: ${hash2}`); + } + this.chunkIndices[index] = chunkIndex; + } + removeChunkFromCache(hash2) { + this.map.delete(hash2); + } +}; + +// src/utils/xetWriteToken.ts +var JWT_SAFETY_PERIOD2 = 6e4; +var JWT_CACHE_SIZE2 = 1e3; +var jwtPromises2 = /* @__PURE__ */ new Map(); +var jwts2 = /* @__PURE__ */ new Map(); +async function xetWriteToken(params) { + if (params.xetParams.expiresAt && params.xetParams.casUrl && params.xetParams.accessToken && params.xetParams.expiresAt > new Date(Date.now() + JWT_SAFETY_PERIOD2)) { + return { accessToken: params.xetParams.accessToken, casUrl: params.xetParams.casUrl }; + } + const key = params.xetParams.refreshWriteTokenUrl; + const jwt = jwts2.get(key); + if (jwt && jwt.expiresAt > new Date(Date.now() + JWT_SAFETY_PERIOD2)) { + return { accessToken: jwt.accessToken, casUrl: jwt.casUrl }; + } + const existingPromise = jwtPromises2.get(key); + if (existingPromise) { + return existingPromise; + } + const promise = (async () => { + const resp = await (params.fetch ?? fetch)(params.xetParams.refreshWriteTokenUrl, { + headers: { + ...params.accessToken ? { + Authorization: `Bearer ${params.accessToken}` + } : {}, + ...params.xetParams.sessionId ? { "X-Xet-Session-Id": params.xetParams.sessionId } : {} + } + }); + if (!resp.ok) { + throw await createApiError(resp); + } + const json = await resp.json(); + const jwt2 = { + accessToken: json.accessToken, + expiresAt: new Date(json.exp * 1e3), + casUrl: json.casUrl + }; + jwtPromises2.delete(key); + for (const [key2, value] of jwts2.entries()) { + if (value.expiresAt < new Date(Date.now() + JWT_SAFETY_PERIOD2)) { + jwts2.delete(key2); + } else { + break; + } + } + if (jwts2.size >= JWT_CACHE_SIZE2) { + const keyToDelete = jwts2.keys().next().value; + if (keyToDelete) { + jwts2.delete(keyToDelete); + } + } + jwts2.set(key, jwt2); + return { + accessToken: json.accessToken, + casUrl: json.casUrl + }; + })(); + jwtPromises2.set(key, promise); + return promise; +} + +// src/utils/shardParser.ts +var HASH_LENGTH = 32; +var XORB_HASH_BOOKEND = "ff".repeat(HASH_LENGTH); +function readHashFromArray(array, offset) { + let hash2 = ""; + for (let i = 0; i < HASH_LENGTH; i += 8) { + hash2 += `${array[offset + i + 7].toString(16).padStart(2, "0")}${array[offset + i + 6].toString(16).padStart(2, "0")}${array[offset + i + 5].toString(16).padStart(2, "0")}${array[offset + i + 4].toString(16).padStart(2, "0")}${array[offset + i + 3].toString(16).padStart(2, "0")}${array[offset + i + 2].toString(16).padStart(2, "0")}${array[offset + i + 1].toString(16).padStart(2, "0")}${array[offset + i].toString(16).padStart(2, "0")}`; + } + return hash2; +} +async function parseShardData(shardBlob) { + const shard = new Uint8Array(await shardBlob.arrayBuffer()); + const shardView = new DataView(shard.buffer); + const magicTag = shard.slice(0, SHARD_MAGIC_TAG.length); + if (!magicTag.every((byte, i) => byte === SHARD_MAGIC_TAG[i])) { + throw new Error("Invalid shard magic tag"); + } + const version = shardView.getBigUint64(SHARD_MAGIC_TAG.length, true); + if (version !== SHARD_HEADER_VERSION) { + throw new Error(`Invalid shard version: ${version}`); + } + const footerSize = Number(shardView.getBigUint64(SHARD_MAGIC_TAG.length + 8, true)); + const footerStart = shard.length - footerSize; + const footerVersion = shardView.getBigUint64(footerStart, true); + if (footerVersion !== SHARD_FOOTER_VERSION) { + throw new Error(`Invalid shard footer version: ${footerVersion}`); + } + const xorbInfoStart = Number(shardView.getBigUint64(footerStart + 16, true)); + const fileLookupStart = Number(shardView.getBigUint64(footerStart + 24, true)); + const hmacKey = readHashFromArray(shard, footerStart + 72); + const xorbs = []; + let offset = xorbInfoStart; + while (offset < fileLookupStart) { + const xorbHash = readHashFromArray(shard, offset); + offset += HASH_LENGTH; + if (xorbHash === XORB_HASH_BOOKEND) { + break; + } + offset += 4; + const chunkCount = shardView.getUint32(offset, true); + offset += 4; + offset += 4; + offset += 4; + const chunks = []; + for (let i = 0; i < chunkCount; i++) { + const chunkHash = readHashFromArray(shard, offset); + offset += HASH_LENGTH; + const startOffset = shardView.getUint32(offset, true); + offset += 4; + const length = shardView.getUint32(offset, true); + offset += 4; + offset += 8; + chunks.push({ + hash: chunkHash, + startOffset, + unpackedLength: length + }); + } + xorbs.push({ + hash: xorbHash, + chunks + }); + } + return { + hmacKey, + xorbs + }; +} + +// src/utils/sum.ts +function sum(arr) { + return arr.reduce((a, b) => a + b, 0); +} + +// src/utils/SplicedBlob.ts +var SplicedBlob = class extends Blob { + originalBlob; + spliceOperations; + constructor(originalBlob, spliceOperations) { + super(); + this.originalBlob = originalBlob; + this.spliceOperations = spliceOperations; + } + static create(originalBlob, operations) { + for (const op of operations) { + if (op.start < 0 || op.end < 0) { + throw new Error("Invalid start/end positions for SplicedBlob"); + } + if (op.start > originalBlob.size || op.end > originalBlob.size) { + throw new Error("Invalid start/end positions for SplicedBlob"); + } + if (op.start > op.end) { + throw new Error("Invalid start/end positions for SplicedBlob"); + } + } + const sortedOps = [...operations].sort((a, b) => a.start - b.start); + for (let i = 0; i < sortedOps.length - 1; i++) { + if (sortedOps[i].end > sortedOps[i + 1].start) { + throw new Error("Overlapping splice operations are not supported"); + } + } + return new SplicedBlob(originalBlob, sortedOps); + } + /** + * Returns the size of the spliced blob. + * Size = original size - total replaced size + total insert size + */ + get size() { + let totalReplacedSize = 0; + let totalInsertSize = 0; + for (const op of this.spliceOperations) { + totalReplacedSize += op.end - op.start; + totalInsertSize += op.insert.size; + } + return this.originalBlob.size - totalReplacedSize + totalInsertSize; + } + /** + * Returns the MIME type of the original blob. + */ + get type() { + return this.originalBlob.type; + } + /** + * Returns a new instance of SplicedBlob that is a slice of the current one. + * + * The slice is inclusive of the start and exclusive of the end. + * The slice method does not support negative start/end. + * + * @param start beginning of the slice + * @param end end of the slice + */ + slice(start = 0, end = this.size) { + if (start < 0 || end < 0) { + throw new TypeError("Unsupported negative start/end on SplicedBlob.slice"); + } + start = Math.min(start, this.size); + end = Math.min(end, this.size); + if (start >= end) { + return new Blob([]); + } + const segments = this.segments; + const segmentBoundaries = [0]; + let cumulativeSize = 0; + for (const segment of segments) { + cumulativeSize += segment.size; + segmentBoundaries.push(cumulativeSize); + } + const resultSegments = []; + for (let i = 0; i < segments.length; i++) { + const segmentStart = segmentBoundaries[i]; + const segmentEnd = segmentBoundaries[i + 1]; + if (segmentEnd <= start) { + continue; + } + if (segmentStart >= end) { + break; + } + const sliceStart = Math.max(0, start - segmentStart); + const sliceEnd = Math.min(segments[i].size, end - segmentStart); + if (sliceStart < sliceEnd) { + resultSegments.push(segments[i].slice(sliceStart, sliceEnd)); + } + } + return new Blob(resultSegments); + } + get firstSpliceIndex() { + return this.spliceOperations[0]?.start ?? Infinity; + } + /** + * Read the spliced blob content and returns it as an ArrayBuffer. + */ + async arrayBuffer() { + const segments = this.segments; + const buffers = await Promise.all(segments.map((segment) => segment.arrayBuffer())); + const totalSize = sum(buffers.map((buffer) => buffer.byteLength)); + const result = new Uint8Array(totalSize); + let offset = 0; + for (const buffer of buffers) { + result.set(new Uint8Array(buffer), offset); + offset += buffer.byteLength; + } + return result.buffer; + } + /** + * Read the spliced blob content and returns it as a string. + */ + async text() { + const buffer = await this.arrayBuffer(); + return new TextDecoder().decode(buffer); + } + /** + * Returns a stream around the spliced blob content. + */ + stream() { + const readable = new ReadableStream({ + start: async (controller) => { + try { + const segments = this.segments; + for (const segment of segments) { + const reader = segment.stream().getReader(); + try { + while (true) { + const { done, value } = await reader.read(); + if (done) { + break; + } + controller.enqueue(value); + } + } finally { + reader.releaseLock(); + } + } + controller.close(); + } catch (error) { + controller.error(error); + } + } + }); + return readable; + } + /** + * Get all segments that make up the spliced blob. + * This includes original blob segments between splice operations and insert blobs. + */ + get segments() { + const segments = []; + let currentPosition = 0; + const sortedOps = [...this.spliceOperations].sort((a, b) => a.start - b.start); + for (const op of sortedOps) { + if (currentPosition < op.start) { + segments.push(this.originalBlob.slice(currentPosition, op.start)); + } + if (op.insert.size > 0) { + segments.push(op.insert); + } + currentPosition = op.end; + } + if (currentPosition < this.originalBlob.size) { + segments.push(this.originalBlob.slice(currentPosition)); + } + return segments; + } +}; + +// src/utils/createXorbs.ts +var TARGET_CHUNK_SIZE = 64 * 1024; +var MAX_CHUNK_SIZE = 2 * TARGET_CHUNK_SIZE; +var XORB_SIZE = 64 * 1024 * 1024; +var MAX_XORB_CHUNKS = 8 * 1024; +var INTERVAL_BETWEEN_REMOTE_DEDUP = 4e6; +var PROCESSING_PROGRESS_RATIO = 0.1; +var UPLOADING_PROGRESS_RATIO = 1 - PROCESSING_PROGRESS_RATIO; +var CurrentXorbInfo = class { + id; + offset; + chunks; + fileProcessedBytes; + fileUploadedBytes; + fileSize; + data; + immutableData; + constructor() { + this.id = 0; + this.offset = 0; + this.chunks = []; + this.fileProcessedBytes = {}; + this.fileUploadedBytes = {}; + this.fileSize = {}; + this.data = new Uint8Array(XORB_SIZE); + this.immutableData = null; + } + event(computeXorbHash) { + const xorbChunksCleaned = this.chunks.map((chunk2) => ({ + hash: chunk2.hash, + length: chunk2.length + })); + return { + event: "xorb", + xorb: this.data.subarray(0, this.offset), + hash: computeXorbHash(xorbChunksCleaned), + chunks: xorbChunksCleaned, + id: this.id, + files: Object.entries(this.fileProcessedBytes).map(([path, processedBytes]) => ({ + path, + progress: processedBytes / this.fileSize[path], + lastSentProgress: ((this.fileUploadedBytes[path] ?? 0) + (processedBytes - (this.fileUploadedBytes[path] ?? 0)) * PROCESSING_PROGRESS_RATIO) / this.fileSize[path] + })) + }; + } +}; +async function* createXorbs(fileSources, params) { + const alreadyDoneFileSha256s = /* @__PURE__ */ new Set(); + const chunkModule = await import("./chunker_wasm-3YGRTTMN.mjs"); + let xorbId = 0; + await chunkModule.init(); + const chunkCache = new ChunkCache(); + let xorb = new CurrentXorbInfo(); + const nextXorb = (currentFile) => { + const event = xorb.event(chunkModule.compute_xorb_hash.bind(chunkModule)); + xorbId++; + xorb = new CurrentXorbInfo(); + xorb.id = xorbId; + xorb.fileUploadedBytes = { + [currentFile.path]: currentFile.uploadedBytes + }; + xorb.fileSize[currentFile.path] = currentFile.size; + return event; + }; + const pendingFileEvents = []; + const remoteXorbHashes = [""]; + for await (const fileSource of fileSources) { + params.yieldCallback?.({ + event: "fileProgress", + path: fileSource.path, + progress: 0 + }); + if (fileSource.sha256 && alreadyDoneFileSha256s.has(fileSource.sha256)) { + params.yieldCallback?.({ + event: "fileProgress", + path: fileSource.path, + progress: 1 + }); + continue; + } + if (fileSource.sha256) { + alreadyDoneFileSha256s.add(fileSource.sha256); + } + const chunker = new chunkModule.Chunker(TARGET_CHUNK_SIZE); + try { + xorb.fileSize[fileSource.path] = fileSource.content.size; + if (fileSource.content instanceof SplicedBlob && fileSource.content.firstSpliceIndex < MAX_CHUNK_SIZE) { + await loadDedupInfoToCache( + fileSource.content.originalBlob.slice(0, MAX_CHUNK_SIZE), + remoteXorbHashes, + params, + chunkCache, + chunkModule, + { + maxChunks: 1, + isAtBeginning: true + } + ); + } + let bytesSinceRemoteDedup = Infinity; + let bytesSinceLastProgressEvent = 0; + let isFirstFileChunk = true; + const sourceChunks = []; + const reader = fileSource.content.stream().getReader(); + let processedBytes = 0; + let dedupedBytes = 0; + const fileChunks = []; + const chunkMetadata = []; + const addChunks = async function* (chunks) { + for (const chunk2 of chunks) { + if (isFirstFileChunk) { + chunk2.dedup = true; + isFirstFileChunk = false; + } + let chunkIndex = xorb.chunks.length; + let chunkXorbId = xorbId; + const chunkToCopy = removeChunkFromSourceData(sourceChunks, chunk2.length); + let cacheData = chunkCache.getChunk(chunk2.hash, chunkModule.compute_hmac); + if (cacheData === void 0 && chunk2.dedup && bytesSinceRemoteDedup >= INTERVAL_BETWEEN_REMOTE_DEDUP) { + const token = await xetWriteToken(params); + bytesSinceRemoteDedup = 0; + const shardResp = await (params.fetch ?? fetch)(token.casUrl + "/v1/chunks/default/" + chunk2.hash, { + headers: { + Authorization: `Bearer ${token.accessToken}` + } + }); + if (shardResp.ok) { + const shard = await shardResp.blob(); + const shardData = await parseShardData(shard); + for (const xorb2 of shardData.xorbs) { + const remoteXorbId = -remoteXorbHashes.length; + remoteXorbHashes.push(xorb2.hash); + let i = 0; + for (const chunk3 of xorb2.chunks) { + chunkCache.addChunkToCache(chunk3.hash, remoteXorbId, i++, shardData.hmacKey); + } + } + cacheData = chunkCache.getChunk(chunk2.hash, chunkModule.compute_hmac); + const oldDedupedBytes = dedupedBytes; + dedupedBytes = backtrackDedup( + xorb, + chunkModule.compute_hmac.bind(chunkModule), + shardData, + chunkCache, + chunkMetadata, + dedupedBytes + ); + if (dedupedBytes > oldDedupedBytes) { + xorb.fileUploadedBytes[fileSource.path] ??= 0; + xorb.fileUploadedBytes[fileSource.path] += dedupedBytes - oldDedupedBytes; + } + } + } + if (cacheData === void 0) { + if (!writeChunk(xorb, chunkToCopy, chunk2.hash)) { + yield nextXorb({ path: fileSource.path, uploadedBytes: processedBytes, size: fileSource.content.size }); + chunkIndex = 0; + chunkXorbId = xorbId; + for (const event of pendingFileEvents) { + event.representation = event.representation.map((rep) => ({ + ...rep, + xorbId: rep.xorbId >= 0 ? rep.xorbId : remoteXorbHashes[-rep.xorbId] + })); + yield event; + } + pendingFileEvents.length = 0; + if (!writeChunk(xorb, chunkToCopy, chunk2.hash)) { + throw new Error("Failed to write chunk into xorb"); + } + } + chunkCache.addChunkToCache(chunk2.hash, xorbId, chunkIndex, null); + } else { + chunkXorbId = cacheData.xorbIndex; + chunkIndex = cacheData.chunkIndex; + dedupedBytes += chunk2.length; + xorb.fileUploadedBytes[fileSource.path] ??= 0; + xorb.fileUploadedBytes[fileSource.path] += chunk2.length; + } + bytesSinceRemoteDedup += chunk2.length; + bytesSinceLastProgressEvent += chunk2.length; + fileChunks.push({ hash: chunk2.hash, length: chunk2.length }); + chunkMetadata.push({ + xorbId: chunkXorbId, + chunkIndex, + length: chunk2.length + }); + xorb.fileProcessedBytes[fileSource.path] = processedBytes; + if (bytesSinceLastProgressEvent >= 1e6) { + bytesSinceLastProgressEvent = 0; + params.yieldCallback?.({ + event: "fileProgress", + path: fileSource.path, + progress: ((xorb.fileUploadedBytes[fileSource.path] ?? 0) + (xorb.fileProcessedBytes[fileSource.path] - (xorb.fileUploadedBytes[fileSource.path] ?? 0)) * PROCESSING_PROGRESS_RATIO) / fileSource.content.size + }); + } + if (xorb.chunks.length >= MAX_XORB_CHUNKS) { + yield nextXorb({ path: fileSource.path, uploadedBytes: processedBytes, size: fileSource.content.size }); + for (const event of pendingFileEvents) { + event.representation = event.representation.map((rep) => ({ + ...rep, + xorbId: rep.xorbId >= 0 ? rep.xorbId : remoteXorbHashes[-rep.xorbId] + })); + yield event; + } + pendingFileEvents.length = 0; + } + } + }; + while (true) { + const { done, value } = await reader.read(); + if (done) { + yield* addChunks(chunker.finish()); + break; + } + processedBytes += value.length; + sourceChunks.push(value); + yield* addChunks(chunker.add_data(value)); + } + const fileRepresentation = buildFileRepresentation( + chunkMetadata, + fileChunks, + chunkModule.compute_verification_hash.bind(chunkModule) + ); + xorb.immutableData = { + chunkIndex: xorb.chunks.length, + offset: xorb.offset + }; + const dedupRatio = fileSource.content.size > 0 ? dedupedBytes / fileSource.content.size : 0; + pendingFileEvents.push({ + event: "file", + path: fileSource.path, + hash: chunkModule.compute_file_hash(fileChunks), + sha256: fileSource.sha256, + dedupRatio, + representation: fileRepresentation + }); + } finally { + chunker.free(); + } + } + if (xorb.offset > 0) { + yield xorb.event(chunkModule.compute_xorb_hash.bind(chunkModule)); + } + for (const event of pendingFileEvents) { + event.representation = event.representation.map((rep) => ({ + ...rep, + xorbId: rep.xorbId >= 0 ? rep.xorbId : remoteXorbHashes[-rep.xorbId] + })); + yield event; + } +} +function backtrackDedup(xorb, computeHmac, shardData, chunkCache, chunkMetadata, dedupedBytes) { + const chunkIndexesToBacktrackFor = /* @__PURE__ */ new Map(); + for (let chunkToRecheckIndex = xorb.immutableData?.chunkIndex ?? 0; chunkToRecheckIndex < xorb.chunks.length; chunkToRecheckIndex++) { + const chunk2 = xorb.chunks[chunkToRecheckIndex]; + const hmacHash = computeHmac(chunk2.hash, shardData.hmacKey); + const cacheData = chunkCache.getChunk(hmacHash, null); + if (cacheData !== void 0) { + chunkIndexesToBacktrackFor.set(chunkToRecheckIndex, { + xorbId: cacheData.xorbIndex, + chunkIndex: cacheData.chunkIndex + }); + chunkCache.removeChunkFromCache(chunk2.hash); + } + } + for (const metadata of chunkMetadata) { + if (metadata.xorbId === xorb.id && chunkIndexesToBacktrackFor.has(metadata.chunkIndex)) { + const backtrackData = chunkIndexesToBacktrackFor.get(metadata.chunkIndex); + if (backtrackData !== void 0) { + metadata.xorbId = backtrackData.xorbId; + metadata.chunkIndex = backtrackData.chunkIndex; + dedupedBytes += metadata.length; + } + } + } + const xorbRangesToErase = []; + for (let i = 0; i < xorb.chunks.length; i++) { + const chunk2 = xorb.chunks[i]; + if (chunkIndexesToBacktrackFor.has(i)) { + xorbRangesToErase.push({ + start: chunk2.offset, + end: i < xorb.chunks.length - 1 ? xorb.chunks[i + 1].offset : xorb.offset + }); + } + } + const xorbRangesToKeep = []; + let currentStart = 0; + for (let i = 0; i < xorbRangesToErase.length; i++) { + const range2 = xorbRangesToErase[i]; + if (currentStart !== range2.start) { + xorbRangesToKeep.push({ start: currentStart, end: range2.start }); + } + currentStart = range2.end; + } + if (currentStart !== xorb.offset) { + xorbRangesToKeep.push({ start: currentStart, end: xorb.offset }); + } + let currentOffset = 0; + for (const range2 of xorbRangesToKeep) { + if (range2.start !== currentOffset) { + xorb.data.set(xorb.data.subarray(range2.start, range2.end), currentOffset); + } + currentOffset += range2.end - range2.start; + } + const newXorbChunks = []; + const oldIndexToNewIndex = /* @__PURE__ */ new Map(); + let erasedOffset = 0; + for (let i = 0; i < xorb.chunks.length; i++) { + const chunk2 = xorb.chunks[i]; + if (chunkIndexesToBacktrackFor.has(i)) { + if (i < xorb.chunks.length - 1) { + erasedOffset += xorb.chunks[i + 1].offset - chunk2.offset; + } + } else { + newXorbChunks.push({ + hash: chunk2.hash, + length: chunk2.length, + offset: chunk2.offset - erasedOffset + }); + if (erasedOffset > 0) { + oldIndexToNewIndex.set(i, newXorbChunks.length - 1); + } + } + } + xorb.chunks = newXorbChunks; + xorb.offset = currentOffset; + for (const chunk2 of chunkMetadata) { + if (chunk2.xorbId === xorb.id) { + const newIndex = oldIndexToNewIndex.get(chunk2.chunkIndex); + if (newIndex !== void 0) { + const cached = chunkCache.getChunk(xorb.chunks[newIndex].hash, null); + if (cached !== void 0 && cached.xorbIndex === chunk2.xorbId && cached.chunkIndex === chunk2.chunkIndex) { + chunkCache.updateChunkIndex(xorb.chunks[newIndex].hash, newIndex); + } + chunk2.chunkIndex = newIndex; + } + } + } + return dedupedBytes; +} +function removeChunkFromSourceData(sourceChunks, chunkLength) { + if (chunkLength === sourceChunks[0].length) { + const chunkToCopy = sourceChunks[0]; + sourceChunks.shift(); + return chunkToCopy; + } else if (chunkLength < sourceChunks[0].length) { + const chunkToCopy = sourceChunks[0].subarray(0, chunkLength); + sourceChunks[0] = sourceChunks[0].subarray(chunkLength); + return chunkToCopy; + } else { + const chunkToCopy = new Uint8Array(chunkLength); + let copyOffset = 0; + let index = 0; + let toSlice = -1; + while (copyOffset < chunkLength) { + const nToCopy = Math.min(sourceChunks[index].length, chunkLength - copyOffset); + chunkToCopy.set(sourceChunks[index].subarray(0, nToCopy), copyOffset); + copyOffset += nToCopy; + if (nToCopy === sourceChunks[index].length) { + index++; + } else { + toSlice = nToCopy; + } + } + sourceChunks.splice(0, index); + if (toSlice !== -1) { + sourceChunks[0] = sourceChunks[0].subarray(toSlice); + } + return chunkToCopy; + } +} +function writeChunk(xorb, chunk2, hash2) { + const regularCompressedChunk = compress(chunk2); + const bgCompressedChunk = compress(bg4_split_bytes(chunk2)); + const compressedChunk = bgCompressedChunk.length < regularCompressedChunk.length ? bgCompressedChunk : regularCompressedChunk; + const chunkToWrite = compressedChunk.length < chunk2.length ? compressedChunk : chunk2; + if (xorb.offset + XET_CHUNK_HEADER_BYTES + chunkToWrite.length > XORB_SIZE) { + return false; + } + xorb.data[xorb.offset] = 0; + xorb.data[xorb.offset + 1] = chunkToWrite.length & 255; + xorb.data[xorb.offset + 2] = chunkToWrite.length >> 8 & 255; + xorb.data[xorb.offset + 3] = chunkToWrite.length >> 16 & 255; + xorb.data[xorb.offset + 4] = chunkToWrite.length < chunk2.length ? bgCompressedChunk.length < regularCompressedChunk.length ? 2 /* ByteGroupingLZ4 */ : 1 /* LZ4 */ : 0 /* None */; + xorb.data[xorb.offset + 5] = chunk2.length & 255; + xorb.data[xorb.offset + 6] = chunk2.length >> 8 & 255; + xorb.data[xorb.offset + 7] = chunk2.length >> 16 & 255; + xorb.data.set(chunkToWrite, xorb.offset + XET_CHUNK_HEADER_BYTES); + xorb.chunks.push({ hash: hash2, length: chunk2.length, offset: xorb.offset }); + xorb.offset += XET_CHUNK_HEADER_BYTES + chunkToWrite.length; + return true; +} +var buildFileRepresentation = (metadata, chunks, computeVerificationHash) => { + if (metadata.length === 0) { + return []; + } + const representation = []; + let currentRange = { + xorbId: metadata[0].xorbId, + indexStart: metadata[0].chunkIndex, + indexEnd: metadata[0].chunkIndex + 1, + length: metadata[0].length, + chunkHashStart: 0 + }; + for (let i = 1; i < metadata.length; i++) { + const chunk2 = metadata[i]; + if (currentRange.xorbId === chunk2.xorbId && currentRange.indexEnd === chunk2.chunkIndex) { + currentRange.indexEnd = chunk2.chunkIndex + 1; + currentRange.length += chunk2.length; + } else { + const rangeHash2 = computeVerificationHash(chunks.slice(currentRange.chunkHashStart, i).map((x) => x.hash)); + representation.push({ + xorbId: currentRange.xorbId, + indexStart: currentRange.indexStart, + indexEnd: currentRange.indexEnd, + length: currentRange.length, + rangeHash: rangeHash2 + }); + currentRange = { + xorbId: chunk2.xorbId, + indexStart: chunk2.chunkIndex, + indexEnd: chunk2.chunkIndex + 1, + length: chunk2.length, + chunkHashStart: i + }; + } + } + const rangeHash = computeVerificationHash(chunks.slice(currentRange.chunkHashStart).map((x) => x.hash)); + representation.push({ + xorbId: currentRange.xorbId, + indexStart: currentRange.indexStart, + indexEnd: currentRange.indexEnd, + length: currentRange.length, + rangeHash + }); + return representation; +}; +async function loadDedupInfoToCache(content, remoteXorbHashes, params, chunkCache, chunkModule, opts) { + const chunker = new chunkModule.Chunker(TARGET_CHUNK_SIZE); + const cache = chunkCache; + let dedupedBytes = 0; + let chunksProcessed = 0; + let totalBytes = 0; + let bytesSinceRemoteDedup = Infinity; + const sourceChunks = []; + try { + const reader = content.stream().getReader(); + const processChunks = async (chunkData) => { + for (const chunk2 of chunkData) { + chunksProcessed++; + if (opts?.isAtBeginning && chunksProcessed === 1) { + chunk2.dedup = true; + } + totalBytes += chunk2.length; + removeChunkFromSourceData(sourceChunks, chunk2.length); + let cacheData = cache.getChunk(chunk2.hash, chunkModule.compute_hmac); + if (cacheData !== void 0) { + dedupedBytes += chunk2.length; + bytesSinceRemoteDedup += chunk2.length; + continue; + } + if (chunk2.dedup && bytesSinceRemoteDedup >= INTERVAL_BETWEEN_REMOTE_DEDUP) { + const token = await xetWriteToken(params); + bytesSinceRemoteDedup = 0; + const shardResp = await (params.fetch ?? fetch)(token.casUrl + "/v1/chunks/default/" + chunk2.hash, { + headers: { + Authorization: `Bearer ${token.accessToken}` + } + }); + if (shardResp.ok) { + const shard = await shardResp.blob(); + const shardData = await parseShardData(shard); + for (const xorb of shardData.xorbs) { + const remoteXorbId = -remoteXorbHashes.length; + remoteXorbHashes.push(xorb.hash); + let i = 0; + for (const xorbChunk of xorb.chunks) { + cache.addChunkToCache(xorbChunk.hash, remoteXorbId, i++, shardData.hmacKey); + } + } + cacheData = cache.getChunk(chunk2.hash, chunkModule.compute_hmac); + } + } + if (cacheData !== void 0) { + dedupedBytes += chunk2.length; + } + bytesSinceRemoteDedup += chunk2.length; + } + }; + while (true) { + if (opts?.end !== void 0 && totalBytes >= opts.end) { + break; + } + if (opts?.maxChunks !== void 0 && chunksProcessed >= opts.maxChunks) { + break; + } + const { done, value } = await reader.read(); + if (done) { + await processChunks(chunker.finish()); + break; + } + sourceChunks.push(value); + await processChunks(chunker.add_data(value)); + } + } finally { + chunker.free(); + } +} + +// src/utils/uploadShards.ts +var SHARD_MAX_SIZE = 64 * 1024 * 1024; +var SHARD_HEADER_SIZE = 48; +var SHARD_FOOTER_SIZE = 200; +var HASH_LENGTH2 = 32; +var XORB_FOOTER_LENGTH = 48; +var FILE_FOOTER_LENGTH = 48; +var SHARD_HEADER_VERSION = 2n; +var SHARD_FOOTER_VERSION = 1n; +var MDB_FILE_FLAG_WITH_VERIFICATION = 2147483648; +var MDB_FILE_FLAG_WITH_METADATA_EXT = 1073741824; +var EMPTY_HEX_HASH = "0".repeat(HASH_LENGTH2 * 2); +var SHARD_MAGIC_TAG = new Uint8Array([ + "H".charCodeAt(0), + "F".charCodeAt(0), + "R".charCodeAt(0), + "e".charCodeAt(0), + "p".charCodeAt(0), + "o".charCodeAt(0), + "M".charCodeAt(0), + "e".charCodeAt(0), + "t".charCodeAt(0), + "a".charCodeAt(0), + "D".charCodeAt(0), + "a".charCodeAt(0), + "t".charCodeAt(0), + "a".charCodeAt(0), + 0, + 85, + 105, + 103, + 69, + 106, + 123, + 129, + 87, + 131, + 165, + 189, + 217, + 92, + 205, + 209, + 74, + 169 +]); +async function* uploadShards(source, params) { + const xorbHashes = []; + const fileInfoSection = new Uint8Array(Math.floor(SHARD_MAX_SIZE - SHARD_HEADER_SIZE - SHARD_FOOTER_SIZE) * 0.25); + const xorbInfoSection = new Uint8Array(Math.floor(SHARD_MAX_SIZE - SHARD_HEADER_SIZE - SHARD_FOOTER_SIZE) * 0.75); + const xorbView = new DataView(xorbInfoSection.buffer); + let xorbViewOffset = 0; + const fileInfoView = new DataView(fileInfoSection.buffer); + let fileViewOffset = 0; + let xorbTotalSize = 0n; + let fileTotalSize = 0n; + let xorbTotalUnpackedSize = 0n; + for await (const output of createXorbs(source, params)) { + switch (output.event) { + case "xorb": { + xorbHashes.push(output.hash); + const xorbEntrySize = HASH_LENGTH2 + 4 + 4 + 4 + 4; + const chunksSize = output.chunks.length * (HASH_LENGTH2 + 4 + 4 + 8); + const totalXorbSize = xorbEntrySize + chunksSize; + if (xorbViewOffset + totalXorbSize > xorbInfoSection.length) { + if (xorbViewOffset > 0 || fileViewOffset > 0) { + await uploadShard(createShard(), params); + } + } + writeHashToArray(output.hash, xorbInfoSection, xorbViewOffset); + xorbViewOffset += HASH_LENGTH2; + xorbView.setUint32(xorbViewOffset, 0, true); + xorbViewOffset += 4; + xorbView.setUint32(xorbViewOffset, output.chunks.length, true); + xorbViewOffset += 4; + const xorbUnpackedSize = sum(output.chunks.map((x) => x.length)); + xorbView.setUint32(xorbViewOffset, xorbUnpackedSize, true); + xorbTotalUnpackedSize += BigInt(xorbUnpackedSize); + xorbTotalSize += BigInt(output.xorb.byteLength); + xorbViewOffset += 4; + xorbView.setUint32(xorbViewOffset, output.xorb.byteLength, true); + xorbViewOffset += 4; + let chunkBytes = 0; + for (const chunk2 of output.chunks) { + writeHashToArray(chunk2.hash, xorbInfoSection, xorbViewOffset); + xorbViewOffset += HASH_LENGTH2; + xorbView.setUint32(xorbViewOffset, chunkBytes, true); + xorbViewOffset += 4; + xorbView.setUint32(xorbViewOffset, chunk2.length, true); + xorbViewOffset += 4; + xorbView.setBigUint64(xorbViewOffset, 0n, true); + xorbViewOffset += 8; + chunkBytes += chunk2.length; + } + for (const file of output.files) { + yield { + event: "fileProgress", + path: file.path, + progress: file.lastSentProgress + }; + } + await uploadXorb(output, params); + for (const file of output.files) { + yield { event: "fileProgress", path: file.path, progress: file.progress }; + } + break; + } + case "file": { + yield { + event: "file", + path: output.path, + xetHash: output.hash, + sha256: output.sha256, + dedupRatio: output.dedupRatio + }; + const fileHeaderSize = HASH_LENGTH2 + 4 + 4 + 8; + const representationSize = output.representation.length * (HASH_LENGTH2 + 4 + 4 + 4 + 4); + const verificationSize = output.representation.length * (HASH_LENGTH2 + 16); + const metadataSize = HASH_LENGTH2 + 16; + const totalFileSize = fileHeaderSize + representationSize + verificationSize + metadataSize; + if (fileViewOffset + totalFileSize > fileInfoSection.length) { + if (xorbViewOffset > 0 || fileViewOffset > 0) { + await uploadShard(createShard(), params); + } + } + writeHashToArray(output.hash, fileInfoSection, fileViewOffset); + fileViewOffset += HASH_LENGTH2; + fileInfoView.setUint32(fileViewOffset, MDB_FILE_FLAG_WITH_METADATA_EXT + MDB_FILE_FLAG_WITH_VERIFICATION, true); + fileViewOffset += 4; + fileInfoView.setUint32(fileViewOffset, output.representation.length, true); + fileViewOffset += 4; + fileInfoView.setBigUint64(fileViewOffset, 0n, true); + fileViewOffset += 8; + for (const repItem of output.representation) { + writeHashToArray( + typeof repItem.xorbId === "number" ? xorbHashes[repItem.xorbId] : repItem.xorbId, + fileInfoSection, + fileViewOffset + ); + fileViewOffset += HASH_LENGTH2; + fileInfoView.setUint32(fileViewOffset, 0, true); + fileViewOffset += 4; + fileInfoView.setUint32(fileViewOffset, repItem.length, true); + fileViewOffset += 4; + fileInfoView.setUint32(fileViewOffset, repItem.indexStart, true); + fileViewOffset += 4; + fileInfoView.setUint32(fileViewOffset, repItem.indexEnd, true); + fileViewOffset += 4; + } + for (const repItem of output.representation) { + writeHashToArray(repItem.rangeHash, fileInfoSection, fileViewOffset); + fileViewOffset += HASH_LENGTH2; + for (let i = 0; i < 16; i++) { + fileInfoSection[fileViewOffset + i] = 0; + } + fileViewOffset += 16; + } + writeHashToArray(output.sha256 ?? EMPTY_HEX_HASH, fileInfoSection, fileViewOffset); + fileViewOffset += HASH_LENGTH2; + for (let i = 0; i < 16; i++) { + fileInfoSection[fileViewOffset + i] = 0; + } + fileViewOffset += 16; + break; + } + } + } + function createShard() { + const shard = new Uint8Array( + SHARD_HEADER_SIZE + SHARD_FOOTER_SIZE + xorbViewOffset + XORB_FOOTER_LENGTH + fileViewOffset + FILE_FOOTER_LENGTH + ); + const shardView = new DataView(shard.buffer); + let shardOffset = 0; + shard.set(SHARD_MAGIC_TAG, shardOffset); + shardOffset += SHARD_MAGIC_TAG.length; + shardView.setBigUint64(shardOffset, SHARD_HEADER_VERSION, true); + shardOffset += 8; + shardView.setBigUint64(shardOffset, BigInt(SHARD_FOOTER_SIZE), true); + shardOffset += 8; + shard.set(fileInfoSection.slice(0, fileViewOffset), shardOffset); + shardOffset += fileViewOffset; + for (let i = 0; i < 32; i++) { + shard[shardOffset + i] = 255; + } + shardOffset += 32; + for (let i = 0; i < 16; i++) { + shard[shardOffset + i] = 0; + } + shardOffset += 16; + const xorbInfoOffset = shardOffset; + shard.set(xorbInfoSection.slice(0, xorbViewOffset), shardOffset); + shardOffset += xorbViewOffset; + for (let i = 0; i < 32; i++) { + shard[shardOffset + i] = 255; + } + shardOffset += 32; + for (let i = 0; i < 16; i++) { + shard[shardOffset + i] = 0; + } + shardOffset += 16; + const footerOffset = shardOffset; + shardView.setBigUint64(shardOffset, SHARD_FOOTER_VERSION, true); + shardOffset += 8; + shardView.setBigUint64(shardOffset, BigInt(SHARD_HEADER_SIZE), true); + shardOffset += 8; + shardView.setBigUint64(shardOffset, BigInt(xorbInfoOffset), true); + shardOffset += 8; + for (let i = 0; i < 48; i++) { + shardView.setUint8(shardOffset + i, 0); + } + shardOffset += 48; + for (let i = 0; i < 32; i++) { + shardView.setUint8(shardOffset + i, 0); + } + shardOffset += 32; + shardView.setBigUint64(shardOffset, BigInt(Math.floor(Date.now() / 1e3)), true); + shardOffset += 8; + shardView.setBigUint64(shardOffset, 0n, true); + shardOffset += 8; + for (let i = 0; i < 48; i++) { + shardView.setUint8(shardOffset + i, 0); + } + shardOffset += 48; + shardView.setBigUint64(shardOffset, xorbTotalSize, true); + shardOffset += 8; + shardView.setBigUint64(shardOffset, fileTotalSize, true); + shardOffset += 8; + shardView.setBigUint64(shardOffset, xorbTotalUnpackedSize, true); + shardOffset += 8; + shardView.setBigUint64(shardOffset, BigInt(footerOffset), true); + xorbViewOffset = 0; + fileViewOffset = 0; + xorbTotalSize = 0n; + xorbTotalUnpackedSize = 0n; + fileTotalSize = 0n; + return shard; + } + if (xorbViewOffset || fileViewOffset) { + await uploadShard(createShard(), params); + } +} +function writeHashToArray(hash2, array, offset) { + for (let i = 0; i < hash2.length; i += 16) { + array[offset + i / 2] = parseInt(hash2.substring(i + 2 * 7, i + 2 * 8), 16); + array[offset + i / 2 + 1] = parseInt(hash2.substring(i + 2 * 6, i + 2 * 7), 16); + array[offset + i / 2 + 2] = parseInt(hash2.substring(i + 2 * 5, i + 2 * 6), 16); + array[offset + i / 2 + 3] = parseInt(hash2.substring(i + 2 * 4, i + 2 * 5), 16); + array[offset + i / 2 + 4] = parseInt(hash2.substring(i + 2 * 3, i + 2 * 4), 16); + array[offset + i / 2 + 5] = parseInt(hash2.substring(i + 2 * 2, i + 2 * 3), 16); + array[offset + i / 2 + 6] = parseInt(hash2.substring(i + 2 * 1, i + 2 * 2), 16); + array[offset + i / 2 + 7] = parseInt(hash2.substring(i + 2 * 0, i + 2 * 1), 16); + } +} +async function uploadXorb(xorb, params) { + const token = await xetWriteToken(params); + const resp = await (params.fetch ?? fetch)(`${token.casUrl}/v1/xorbs/default/${xorb.hash}`, { + method: "POST", + body: xorb.xorb, + headers: { + Authorization: `Bearer ${token.accessToken}`, + ...params.xetParams.sessionId ? { "X-Xet-Session-Id": params.xetParams.sessionId } : {} + }, + ...{ + progressHint: { + progressCallback: (progress) => { + for (const file of xorb.files) { + params.yieldCallback?.({ + event: "fileProgress", + path: file.path, + progress: file.lastSentProgress + (file.progress - file.lastSentProgress) * progress + }); + } + } + } + } + }); + if (!resp.ok) { + throw await createApiError(resp); + } +} +async function uploadShard(shard, params) { + const token = await xetWriteToken(params); + const resp = await (params.fetch ?? fetch)(`${token.casUrl}/v1/shards`, { + method: "POST", + body: shard, + headers: { + Authorization: `Bearer ${token.accessToken}`, + ...params.xetParams.sessionId ? { "X-Xet-Session-Id": params.xetParams.sessionId } : {} + } + }); + if (!resp.ok) { + throw await createApiError(resp); + } +} + +// src/utils/splitAsyncGenerator.ts +function splitAsyncGenerator(source, n) { + if (n <= 0) { + return []; + } + const sleep = (ms) => new Promise((resolve2) => setTimeout(resolve2, ms)); + let takenIndex = null; + const generators = []; + let remaining = n; + for (let i = 0; i < n; i++) { + generators.push({ + next: async () => { + while (takenIndex !== null) { + await sleep(1); + } + takenIndex = i; + return source.next().then((r) => { + takenIndex = null; + return r; + }); + }, + return: async () => { + remaining--; + if (remaining === 0) { + return source.return(void 0); + } + return { + done: true, + value: void 0 + }; + }, + throw: async (error) => { + return source.throw(error); + }, + [Symbol.asyncIterator]: () => generators[i] + }); + } + return generators; +} + +// src/lib/commit.ts +var CONCURRENT_SHAS = 5; +var CONCURRENT_LFS_UPLOADS = 5; +var MULTIPART_PARALLEL_UPLOAD = 5; +function isFileOperation(op) { + const ret = op.operation === "addOrUpdate"; + if (ret && !(op.content instanceof Blob)) { + throw new TypeError("Precondition failed: op.content should be a Blob"); + } + return ret; +} +async function* commitIter(params) { + const accessToken = checkCredentials(params); + const repoId = toRepoId(params.repo); + if (repoId.type === "bucket") { + return yield* commitIterBucket(params); + } + yield { event: "phase", phase: "preuploading" }; + let useXet = params.useXet ?? true; + const lfsShas = /* @__PURE__ */ new Map(); + const abortController = new AbortController(); + const abortSignal = abortController.signal; + if (!abortSignal.throwIfAborted) { + abortSignal.throwIfAborted = () => { + if (abortSignal.aborted) { + throw new DOMException("Aborted", "AbortError"); + } + }; + } + if (params.abortSignal) { + params.abortSignal.addEventListener("abort", () => abortController.abort()); + } + try { + const allOperations = (await Promise.all( + params.operations.map(async (operation) => { + if (operation.operation === "edit") { + const splicedBlob = SplicedBlob.create( + operation.originalContent, + operation.edits.map((splice) => ({ insert: splice.content, start: splice.start, end: splice.end })) + ); + return { + operation: "addOrUpdate", + path: operation.path, + content: splicedBlob + }; + } + if (operation.operation !== "addOrUpdate") { + return operation; + } + if (!(operation.content instanceof URL)) { + return { ...operation, content: operation.content }; + } + const lazyBlobs = await createBlobs(operation.content, operation.path, { + fetch: params.fetch, + maxFolderDepth: params.maxFolderDepth + }); + abortSignal?.throwIfAborted(); + return lazyBlobs.map((blob) => ({ + ...operation, + content: blob.blob, + path: blob.path + })); + }) + )).flat(1); + const gitAttributes = allOperations.filter(isFileOperation).find((op) => op.path === ".gitattributes")?.content; + for (const operations of chunk(allOperations.filter(isFileOperation), 100)) { + const payload = { + gitAttributes: gitAttributes && await gitAttributes.text(), + files: await Promise.all( + operations.map(async (operation) => ({ + path: operation.path, + size: operation.content.size, + sample: base64FromBytes(new Uint8Array(await operation.content.slice(0, 512).arrayBuffer())) + })) + ) + }; + abortSignal?.throwIfAborted(); + const res = await (params.fetch ?? fetch)( + `${params.hubUrl ?? HUB_URL}/api/${repoId.type}s/${repoId.name}/preupload/${encodeURIComponent( + params.branch ?? "main" + )}` + (params.isPullRequest ? "?create_pr=1" : ""), + { + method: "POST", + headers: { + ...accessToken && { Authorization: `Bearer ${accessToken}` }, + "Content-Type": "application/json" + }, + body: JSON.stringify(payload), + signal: abortSignal + } + ); + if (!res.ok) { + throw await createApiError(res); + } + const json = await res.json(); + for (const file of json.files) { + if (file.uploadMode === "lfs") { + lfsShas.set(file.path, null); + } + } + } + yield { event: "phase", phase: "uploadingLargeFiles" }; + for (const operations of chunk( + allOperations.filter(isFileOperation).filter((op) => lfsShas.has(op.path)), + 100 + )) { + const shas = yield* eventToGenerator((yieldCallback, returnCallback, rejectCallack) => { + return promisesQueue( + operations.map((op) => async () => { + const iterator = sha256(op.content, { useWebWorker: params.useWebWorkers, abortSignal }); + let res2; + do { + res2 = await iterator.next(); + if (!res2.done) { + yieldCallback({ event: "fileProgress", path: op.path, progress: res2.value, state: "hashing" }); + } + } while (!res2.done); + const sha = res2.value; + lfsShas.set(op.path, res2.value); + return sha; + }), + CONCURRENT_SHAS + ).then(returnCallback, rejectCallack); + }); + abortSignal?.throwIfAborted(); + const payload = { + operation: "upload", + // multipart is a custom protocol for HF + transfers: ["basic", "multipart", ...useXet ? ["xet"] : []], + hash_algo: "sha_256", + ...!params.isPullRequest && { + ref: { + name: params.branch ?? "main" + } + }, + objects: operations.map((op, i) => ({ + oid: shas[i], + size: op.content.size + })) + }; + const res = await (params.fetch ?? fetch)( + `${params.hubUrl ?? HUB_URL}/${repoId.type === "model" ? "" : repoId.type + "s/"}${repoId.name}.git/info/lfs/objects/batch`, + { + method: "POST", + headers: { + ...accessToken && { Authorization: `Bearer ${accessToken}` }, + Accept: "application/vnd.git-lfs+json", + "Content-Type": "application/vnd.git-lfs+json" + }, + body: JSON.stringify(payload), + signal: abortSignal + } + ); + if (!res.ok) { + throw await createApiError(res); + } + const json = await res.json(); + const batchRequestId = res.headers.get("X-Request-Id") || void 0; + const shaToOperation = new Map(operations.map((op, i) => [shas[i], op])); + if (useXet && json.transfer !== "xet") { + useXet = false; + } + let xetParams = null; + if (useXet) { + for (const obj of json.objects) { + const op = shaToOperation.get(obj.oid); + if (!op) { + throw new InvalidApiResponseFormatError("Unrequested object ID in response"); + } + if (obj.error) { + const errorMessage = `Error while doing LFS batch call for ${operations[shas.indexOf(obj.oid)].path}: ${obj.error.message}${batchRequestId ? ` - Request ID: ${batchRequestId}` : ""}`; + throw new HubApiError(res.url, obj.error.code, batchRequestId, errorMessage); + } + if (!obj.actions?.upload) { + yield { + event: "fileProgress", + path: op.path, + progress: 1, + state: "uploading" + }; + } else { + const headers = new Headers(obj.actions.upload.header); + xetParams = { + sessionId: headers.get("X-Xet-Session-Id") ?? void 0, + casUrl: headers.get("X-Xet-Cas-Url") ?? void 0, + accessToken: headers.get("X-Xet-Access-Token") ?? void 0, + expiresAt: headers.get("X-Xet-Token-Expiration") ? new Date(parseInt(headers.get("X-Xet-Token-Expiration") ?? "0") * 1e3) : void 0, + refreshWriteTokenUrl: obj.actions.upload.href + }; + } + } + const source = async function* () { + for (const obj of json.objects) { + const op = shaToOperation.get(obj.oid); + if (!op || !obj.actions?.upload) { + continue; + } + abortSignal?.throwIfAborted(); + yield { content: op.content, path: op.path, sha256: obj.oid }; + } + }(); + if (xetParams) { + const fixedXetParams = xetParams; + const sources = splitAsyncGenerator(source, 5); + yield* eventToGenerator( + (yieldCallback, returnCallback, rejectCallback) => Promise.all( + sources.map(async function(source2) { + for await (const event of uploadShards(source2, { + fetch: params.fetch, + accessToken, + hubUrl: params.hubUrl ?? HUB_URL, + repo: repoId, + xetParams: fixedXetParams, + // todo: maybe leave empty if PR? + rev: params.branch ?? "main", + isPullRequest: params.isPullRequest, + yieldCallback: (event2) => yieldCallback({ ...event2, state: "uploading" }) + })) { + if (event.event === "file") { + yieldCallback({ + event: "fileProgress", + path: event.path, + progress: 1, + state: "uploading" + }); + } else if (event.event === "fileProgress") { + yieldCallback({ + event: "fileProgress", + path: event.path, + progress: event.progress, + state: "uploading" + }); + } + } + }) + ).then(() => returnCallback(void 0), rejectCallback) + ); + } else { + } + } else { + yield* eventToGenerator((yieldCallback, returnCallback, rejectCallback) => { + return promisesQueueStreaming( + json.objects.map((obj) => async () => { + const op = shaToOperation.get(obj.oid); + if (!op) { + throw new InvalidApiResponseFormatError("Unrequested object ID in response"); + } + abortSignal?.throwIfAborted(); + if (obj.error) { + const errorMessage = `Error while doing LFS batch call for ${operations[shas.indexOf(obj.oid)].path}: ${obj.error.message}${batchRequestId ? ` - Request ID: ${batchRequestId}` : ""}`; + throw new HubApiError(res.url, obj.error.code, batchRequestId, errorMessage); + } + if (!obj.actions?.upload) { + yieldCallback({ + event: "fileProgress", + path: op.path, + progress: 1, + state: "uploading" + }); + return; + } + yieldCallback({ + event: "fileProgress", + path: op.path, + progress: 0, + state: "uploading" + }); + const content = op.content; + const header = obj.actions.upload.header; + if (header?.chunk_size) { + const chunkSize = parseInt(header.chunk_size); + const completionUrl = obj.actions.upload.href; + const parts = Object.keys(header).filter((key) => /^[0-9]+$/.test(key)); + if (parts.length !== Math.ceil(content.size / chunkSize)) { + throw new Error("Invalid server response to upload large LFS file, wrong number of parts"); + } + const completeReq = { + oid: obj.oid, + parts: parts.map((part) => ({ + partNumber: +part, + etag: "" + })) + }; + const progressCallback = (progress) => yieldCallback({ event: "fileProgress", path: op.path, progress, state: "uploading" }); + await promisesQueueStreaming( + parts.map((part) => async () => { + abortSignal?.throwIfAborted(); + const index = parseInt(part) - 1; + const slice = content.slice(index * chunkSize, (index + 1) * chunkSize); + const res3 = await (params.fetch ?? fetch)(header[part], { + method: "PUT", + /** Unfortunately, browsers don't support our inherited version of Blob in fetch calls */ + body: slice instanceof WebBlob && isFrontend ? await slice.arrayBuffer() : slice, + signal: abortSignal, + ...{ + progressHint: { + path: op.path, + part: index, + numParts: parts.length, + progressCallback + } + // eslint-disable-next-line @typescript-eslint/no-explicit-any + } + }); + if (!res3.ok) { + throw await createApiError(res3, { + requestId: batchRequestId, + message: `Error while uploading part ${part} of ${operations[shas.indexOf(obj.oid)].path} to LFS storage` + }); + } + const eTag = res3.headers.get("ETag"); + if (!eTag) { + throw new Error("Cannot get ETag of part during multipart upload"); + } + completeReq.parts[Number(part) - 1].etag = eTag; + }), + MULTIPART_PARALLEL_UPLOAD + ); + abortSignal?.throwIfAborted(); + const res2 = await (params.fetch ?? fetch)(completionUrl, { + method: "POST", + body: JSON.stringify(completeReq), + headers: { + Accept: "application/vnd.git-lfs+json", + "Content-Type": "application/vnd.git-lfs+json" + }, + signal: abortSignal + }); + if (!res2.ok) { + throw await createApiError(res2, { + requestId: batchRequestId, + message: `Error completing multipart upload of ${operations[shas.indexOf(obj.oid)].path} to LFS storage` + }); + } + yieldCallback({ + event: "fileProgress", + path: op.path, + progress: 1, + state: "uploading" + }); + } else { + const res2 = await (params.fetch ?? fetch)(obj.actions.upload.href, { + method: "PUT", + headers: { + ...batchRequestId ? { "X-Request-Id": batchRequestId } : void 0 + }, + /** Unfortunately, browsers don't support our inherited version of Blob in fetch calls */ + body: content instanceof WebBlob && isFrontend ? await content.arrayBuffer() : content, + signal: abortSignal, + ...{ + progressHint: { + path: op.path, + progressCallback: (progress) => yieldCallback({ + event: "fileProgress", + path: op.path, + progress, + state: "uploading" + }) + } + // eslint-disable-next-line @typescript-eslint/no-explicit-any + } + }); + if (!res2.ok) { + throw await createApiError(res2, { + requestId: batchRequestId, + message: `Error while uploading ${operations[shas.indexOf(obj.oid)].path} to LFS storage` + }); + } + yieldCallback({ + event: "fileProgress", + path: op.path, + progress: 1, + state: "uploading" + }); + } + }), + CONCURRENT_LFS_UPLOADS + ).then(returnCallback, rejectCallback); + }); + } + } + abortSignal?.throwIfAborted(); + yield { event: "phase", phase: "committing" }; + return yield* eventToGenerator( + async (yieldCallback, returnCallback, rejectCallback) => (params.fetch ?? fetch)( + `${params.hubUrl ?? HUB_URL}/api/${repoId.type}s/${repoId.name}/commit/${encodeURIComponent( + params.branch ?? "main" + )}` + (params.isPullRequest ? "?create_pr=1" : ""), + { + method: "POST", + headers: { + ...accessToken && { Authorization: `Bearer ${accessToken}` }, + "Content-Type": "application/x-ndjson" + }, + body: [ + { + key: "header", + value: { + summary: params.title, + description: params.description, + parentCommit: params.parentCommit + } + }, + ...await Promise.all( + allOperations.map((operation) => { + if (isFileOperation(operation)) { + const sha = lfsShas.get(operation.path); + if (sha) { + return { + key: "lfsFile", + value: { + path: operation.path, + algo: "sha256", + size: operation.content.size, + oid: sha + } + }; + } + } + return convertOperationToNdJson(operation); + }) + ) + ].map((x) => JSON.stringify(x)).join("\n"), + signal: abortSignal, + ...{ + progressHint: { + progressCallback: (progress) => { + for (const op of allOperations) { + if (isFileOperation(op) && !lfsShas.has(op.path)) { + yieldCallback({ + event: "fileProgress", + path: op.path, + progress, + state: "uploading" + }); + } + } + } + } + // eslint-disable-next-line @typescript-eslint/no-explicit-any + } + } + ).then(async (res) => { + if (!res.ok) { + throw await createApiError(res); + } + const json = await res.json(); + returnCallback({ + pullRequestUrl: json.pullRequestUrl, + commit: { + oid: json.commitOid, + url: json.commitUrl + }, + hookOutput: json.hookOutput + }); + }).catch(rejectCallback) + ); + } catch (err) { + abortController.abort(); + throw err; + } +} +async function* commitIterBucket(params) { + const accessToken = checkCredentials(params); + const repoId = toRepoId(params.repo); + if (params.useXet === false) { + throw new Error("useXet must be true or undefined for buckets"); + } + const abortController = new AbortController(); + const abortSignal = abortController.signal; + if (!abortSignal.throwIfAborted) { + abortSignal.throwIfAborted = () => { + if (abortSignal.aborted) { + throw new DOMException("Aborted", "AbortError"); + } + }; + } + if (params.abortSignal) { + params.abortSignal.addEventListener("abort", () => abortController.abort()); + } + try { + const allOperations = (await Promise.all( + params.operations.map(async (operation) => { + if (operation.operation === "edit") { + const splicedBlob = SplicedBlob.create( + operation.originalContent, + operation.edits.map((splice) => ({ insert: splice.content, start: splice.start, end: splice.end })) + ); + return { + operation: "addOrUpdate", + path: operation.path, + content: splicedBlob + }; + } + if (operation.operation !== "addOrUpdate") { + return operation; + } + if (!(operation.content instanceof URL)) { + return { ...operation, content: operation.content }; + } + const lazyBlobs = await createBlobs(operation.content, operation.path, { + fetch: params.fetch, + maxFolderDepth: params.maxFolderDepth + }); + abortSignal?.throwIfAborted(); + return lazyBlobs.map((blob) => ({ + ...operation, + content: blob.blob, + path: blob.path + })); + }) + )).flat(1); + yield { event: "phase", phase: "uploadingLargeFiles" }; + for (const operations of chunk(allOperations.filter(isFileOperation), 100)) { + const xetHashes = /* @__PURE__ */ new Map(); + abortSignal?.throwIfAborted(); + const source = async function* () { + for (const operation of operations) { + abortSignal?.throwIfAborted(); + yield { content: operation.content, path: operation.path }; + } + }(); + const xetParams = { + sessionId: crypto.randomUUID(), + refreshWriteTokenUrl: `${params.hubUrl ?? HUB_URL}/api/${repoId.type}s/${repoId.name}/xet-write-token` + }; + const sources = splitAsyncGenerator(source, 5); + yield* eventToGenerator( + (yieldCallback, returnCallback, rejectCallback) => Promise.all( + sources.map(async function(source2) { + for await (const event of uploadShards(source2, { + fetch: params.fetch, + accessToken, + hubUrl: params.hubUrl ?? HUB_URL, + repo: repoId, + xetParams, + rev: params.branch ?? "main", + yieldCallback: (event2) => yieldCallback({ ...event2, state: "uploading" }) + })) { + if (event.event === "file") { + yieldCallback({ + event: "fileProgress", + path: event.path, + progress: 1, + state: "uploading" + }); + xetHashes.set(event.path, event.xetHash); + } else if (event.event === "fileProgress") { + yieldCallback({ + event: "fileProgress", + path: event.path, + progress: event.progress, + state: "uploading" + }); + } + } + }) + ).then(() => returnCallback(void 0), rejectCallback) + ); + const resp = await (params.fetch ?? fetch)( + `${params.hubUrl ?? HUB_URL}/api/${repoId.type}s/${repoId.name}/batch`, + { + method: "POST", + headers: { + ...accessToken && { Authorization: `Bearer ${accessToken}` }, + "Content-Type": "application/x-ndjson" + }, + body: [...xetHashes.entries()].map( + ([path, xetHash]) => JSON.stringify({ + type: "addFile", + path, + xetHash + }) + ).join("\n"), + signal: abortSignal + } + ); + if (!resp.ok && resp.status !== 422) { + throw await createApiError(resp); + } + const json = await resp.json(); + for (const failed of json.failed) { + yield { + event: "fileProgress", + path: failed.path, + progress: 0, + state: "error" + }; + } + } + abortSignal?.throwIfAborted(); + const deletedOperations = allOperations.filter((operation) => operation.operation === "delete"); + if (deletedOperations.length > 0) { + const resp = await (params.fetch ?? fetch)( + `${params.hubUrl ?? HUB_URL}/api/${repoId.type}s/${repoId.name}/batch`, + { + method: "POST", + headers: { + ...accessToken && { Authorization: `Bearer ${accessToken}` }, + "Content-Type": "application/x-ndjson" + }, + body: deletedOperations.map( + (operation) => JSON.stringify({ + type: "deleteFile", + path: operation.path + }) + ).join("\n"), + signal: abortSignal + } + ); + if (!resp.ok) { + throw await createApiError(resp); + } + const json = await resp.json(); + if (json.failed.length > 0) { + const failedPaths = json.failed.slice(0, 5).map((f) => f.path); + throw new Error( + `Failed to delete ${json.failed.length} file(s): ${failedPaths.join(", ")}${json.failed.length > 5 ? "..." : ""}, request ID: ${resp.headers.get("X-Request-Id")}` + ); + } + } + abortSignal?.throwIfAborted(); + } catch (err) { + abortController.abort(); + throw err; + } +} +async function commit(params) { + const iterator = commitIter(params); + const failedPaths = []; + let failedCount = 0; + let res = await iterator.next(); + while (!res.done) { + if (res.value.event === "fileProgress" && res.value.state === "error") { + failedCount++; + if (failedPaths.length < 5) { + failedPaths.push(res.value.path); + } + } + res = await iterator.next(); + } + if (failedCount > 0) { + throw new Error( + `Failed to upload ${failedCount} file(s): ${failedPaths.join(", ")}${failedCount > 5 ? "..." : ""}` + ); + } + return res.value; +} +async function convertOperationToNdJson(operation) { + switch (operation.operation) { + case "addOrUpdate": { + return { + key: "file", + value: { + content: base64FromBytes(new Uint8Array(await operation.content.arrayBuffer())), + path: operation.path, + encoding: "base64" + } + }; + } + case "delete": { + return { + key: "deletedFile", + value: { + path: operation.path + } + }; + } + case "edit": { + throw new Error( + "Edit operations should be converted to addOrUpdate operations before reaching convertOperationToNdJson" + ); + } + default: + throw new TypeError("Unknown operation: " + operation.operation); + } +} + +// src/lib/count-commits.ts +async function countCommits(params) { + const accessToken = checkCredentials(params); + const repoId = toRepoId(params.repo); + const url = `${params.hubUrl ?? HUB_URL}/api/${repoId.type}s/${repoId.name}/commits/${params.revision ?? "main"}?limit=1`; + const res = await (params.fetch ?? fetch)(url, { + headers: accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + }); + if (!res.ok) { + throw await createApiError(res); + } + return parseInt(res.headers.get("x-total-count") ?? "0", 10); +} + +// src/lib/create-repo.ts +async function createRepo(params) { + const accessToken = checkCredentials(params); + const repoId = toRepoId(params.repo); + const [namespace, repoName] = repoId.name.split("/"); + if (!namespace || !repoName) { + throw new TypeError( + `"${repoId.name}" is not a fully qualified repo name. It should be of the form "{namespace}/{repoName}".` + ); + } + const res = repoId.type === "bucket" ? await (params.fetch ?? fetch)(`${params.hubUrl ?? HUB_URL}/api/buckets/${namespace}/${repoName}`, { + method: "POST", + body: JSON.stringify({ + private: params.private, + resourceGroupId: params.resourceGroupId + }), + headers: { + Authorization: `Bearer ${accessToken}`, + "Content-Type": "application/json" + } + }) : await (params.fetch ?? fetch)(`${params.hubUrl ?? HUB_URL}/api/repos/create`, { + method: "POST", + body: JSON.stringify({ + name: repoName, + private: params.private, + organization: namespace, + resourceGroupId: params.resourceGroupId, + license: params.license, + ...repoId.type === "space" ? { + type: "space", + sdk: params.sdk ?? "static" + } : { + type: repoId.type + }, + files: params.files ? await Promise.all( + params.files.map(async (file) => ({ + encoding: "base64", + path: file.path, + content: base64FromBytes( + new Uint8Array(file.content instanceof Blob ? await file.content.arrayBuffer() : file.content) + ) + })) + ) : void 0 + }), + headers: { + Authorization: `Bearer ${accessToken}`, + "Content-Type": "application/json" + } + }); + if (!res.ok) { + throw await createApiError(res); + } + const output = await res.json(); + return { repoUrl: output.url, id: output.id }; +} + +// src/lib/create-branch.ts +async function createBranch(params) { + const repoId = toRepoId(params.repo); + const res = await (params.fetch ?? fetch)( + `${params.hubUrl ?? HUB_URL}/api/${repoId.type}s/${repoId.name}/branch/${encodeURIComponent(params.branch)}`, + { + method: "POST", + headers: { + "Content-Type": "application/json", + ...params.accessToken && { + Authorization: `Bearer ${params.accessToken}` + } + }, + body: JSON.stringify({ + startingPoint: params.revision, + ...params.empty && { emptyBranch: true }, + overwrite: params.overwrite + }) + } + ); + if (!res.ok) { + throw await createApiError(res); + } +} + +// src/lib/create-collection.ts +async function createCollection(params) { + const accessToken = checkCredentials(params); + const res = await (params.fetch ?? fetch)(`${params.hubUrl ?? HUB_URL}/api/collections`, { + method: "POST", + body: JSON.stringify(params.collection), + headers: { + Authorization: `Bearer ${accessToken}`, + "Content-Type": "application/json" + } + }); + if (!res.ok) { + throw await createApiError(res); + } + const output = await res.json(); + return { slug: output.slug }; +} + +// src/utils/pick.ts +function pick(o, props) { + return Object.assign( + {}, + ...props.map((prop) => { + if (o[prop] !== void 0) { + return { [prop]: o[prop] }; + } + }) + ); +} + +// src/utils/parseLinkHeader.ts +function parseLinkHeader(header) { + const regex = /<(https?:[/][/][^>]+)>;\s+rel="([^"]+)"/g; + return Object.fromEntries([...header.matchAll(regex)].map(([, url, rel]) => [rel, url])); +} + +// src/lib/list-datasets.ts +var DATASET_EXPAND_KEYS = [ + "private", + "downloads", + "gated", + "likes", + "lastModified" +]; +var DATASET_EXPANDABLE_KEYS = [ + "author", + "cardData", + "citation", + "createdAt", + "disabled", + "description", + "downloads", + "downloadsAllTime", + "gated", + "gitalyUid", + "lastModified", + "likes", + "paperswithcode_id", + "private", + // "siblings", + "sha", + "tags" +]; +async function* listDatasets(params) { + const accessToken = params && checkCredentials(params); + let totalToFetch = params?.limit ?? Infinity; + const search = new URLSearchParams([ + ...Object.entries({ + limit: String(Math.min(totalToFetch, 500)), + ...params?.search?.owner ? { author: params.search.owner } : void 0, + ...params?.search?.query ? { search: params.search.query } : void 0, + ...params?.sort ? { sort: params.sort } : void 0 + }), + ...params?.search?.tags?.map((tag) => ["filter", tag]) ?? [], + ...DATASET_EXPAND_KEYS.map((val) => ["expand", val]), + ...params?.additionalFields?.map((val) => ["expand", val]) ?? [] + ]).toString(); + let url = `${params?.hubUrl || HUB_URL}/api/datasets` + (search ? "?" + search : ""); + while (url) { + const res = await (params?.fetch ?? fetch)(url, { + headers: { + accept: "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : void 0 + } + }); + if (!res.ok) { + throw await createApiError(res); + } + const items = await res.json(); + for (const item of items) { + yield { + ...params?.additionalFields && pick(item, params.additionalFields), + id: item._id, + name: item.id, + private: item.private, + downloads: item.downloads, + likes: item.likes, + gated: item.gated, + updatedAt: new Date(item.lastModified) + }; + totalToFetch--; + if (totalToFetch <= 0) { + return; + } + } + const linkHeader = res.headers.get("Link"); + url = linkHeader ? parseLinkHeader(linkHeader).next : void 0; + } +} + +// src/lib/dataset-info.ts +async function datasetInfo(params) { + const accessToken = params && checkCredentials(params); + const search = new URLSearchParams([ + ...DATASET_EXPAND_KEYS.map((val) => ["expand", val]), + ...params?.additionalFields?.map((val) => ["expand", val]) ?? [] + ]).toString(); + const response = await (params.fetch || fetch)( + `${params?.hubUrl || HUB_URL}/api/datasets/${params.name}/revision/${encodeURIComponent( + params.revision ?? "HEAD" + )}?${search.toString()}`, + { + headers: { + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } + const data = await response.json(); + return { + ...params?.additionalFields && pick(data, params.additionalFields), + id: data._id, + name: data.id, + private: data.private, + downloads: data.downloads, + likes: data.likes, + gated: data.gated, + updatedAt: new Date(data.lastModified) + }; +} + +// src/lib/delete-branch.ts +async function deleteBranch(params) { + const repoId = toRepoId(params.repo); + const res = await (params.fetch ?? fetch)( + `${params.hubUrl ?? HUB_URL}/api/${repoId.type}s/${repoId.name}/branch/${encodeURIComponent(params.branch)}`, + { + method: "DELETE", + headers: { + ...params.accessToken && { + Authorization: `Bearer ${params.accessToken}` + } + } + } + ); + if (!res.ok) { + throw await createApiError(res); + } +} + +// src/lib/delete-file.ts +function deleteFile(params) { + return commit({ + ...params.accessToken ? { accessToken: params.accessToken } : { credentials: params.credentials }, + repo: params.repo, + operations: [ + { + operation: "delete", + path: params.path + } + ], + title: params.commitTitle ?? `Delete ${params.path}`, + description: params.commitDescription, + hubUrl: params.hubUrl, + branch: params.branch, + isPullRequest: params.isPullRequest, + parentCommit: params.parentCommit, + fetch: params.fetch + }); +} + +// src/lib/delete-files.ts +function deleteFiles(params) { + return commit({ + ...params.accessToken ? { accessToken: params.accessToken } : { credentials: params.credentials }, + repo: params.repo, + operations: params.paths.map((path) => ({ + operation: "delete", + path + })), + title: params.commitTitle ?? `Deletes ${params.paths.length} files`, + description: params.commitDescription, + hubUrl: params.hubUrl, + branch: params.branch, + isPullRequest: params.isPullRequest, + parentCommit: params.parentCommit, + fetch: params.fetch + }); +} + +// src/lib/delete-repo.ts +async function deleteRepo(params) { + const accessToken = checkCredentials(params); + const repoId = toRepoId(params.repo); + const [namespace, repoName] = repoId.name.split("/"); + const res = repoId.type === "bucket" ? await (params.fetch ?? fetch)(`${params.hubUrl ?? HUB_URL}/api/buckets/${namespace}/${repoName}`, { + method: "DELETE", + headers: { + Authorization: `Bearer ${accessToken}`, + "Content-Type": "application/json" + } + }) : await (params.fetch ?? fetch)(`${params.hubUrl ?? HUB_URL}/api/repos/delete`, { + method: "DELETE", + body: JSON.stringify({ + name: repoName, + organization: namespace, + type: repoId.type + }), + headers: { + Authorization: `Bearer ${accessToken}`, + "Content-Type": "application/json" + } + }); + if (!res.ok) { + throw await createApiError(res); + } +} + +// src/lib/delete-collection.ts +async function deleteCollection(params) { + if (!params.slug) { + throw new TypeError("slug is required"); + } + const accessToken = checkCredentials(params); + const res = await (params.fetch ?? fetch)(`${params.hubUrl ?? HUB_URL}/api/collections/${params.slug}`, { + method: "DELETE", + headers: { + Authorization: `Bearer ${accessToken}`, + "Content-Type": "application/json" + } + }); + if (!res.ok) { + throw await createApiError(res); + } +} + +// src/lib/file-download-info.ts +async function fileDownloadInfo(params) { + const accessToken = checkCredentials(params); + const repoId = toRepoId(params.repo); + const hubUrl = params.hubUrl ?? HUB_URL; + const url = `${hubUrl}/${repoId.type === "model" ? "" : `${repoId.type}s/`}${repoId.name}/${params.raw ? "raw" : "resolve"}/${encodeURIComponent(params.revision ?? "main")}/${params.path}` + (params.noContentDisposition ? "?noContentDisposition=1" : ""); + const resp = await (params.fetch ?? fetch)(url, { + method: "GET", + headers: { + ...accessToken && { + Authorization: `Bearer ${accessToken}` + }, + Range: "bytes=0-0", + Accept: "application/vnd.xet-fileinfo+json, */*" + } + }); + if (resp.status === 404 && resp.headers.get("X-Error-Code") === "EntryNotFound") { + return null; + } + if (!resp.ok) { + throw await createApiError(resp); + } + let size; + let xetInfo; + if (resp.headers.get("Content-Type")?.includes("application/vnd.xet-fileinfo+json")) { + size = parseInt(resp.headers.get("X-Linked-Size") ?? "invalid"); + if (isNaN(size)) { + throw new InvalidApiResponseFormatError("Invalid file size received in X-Linked-Size header"); + } + const hash2 = resp.headers.get("X-Xet-Hash"); + const links = parseLinkHeader(resp.headers.get("Link") ?? ""); + const reconstructionUrl = (() => { + try { + return new URL(links["xet-reconstruction-info"]); + } catch { + return null; + } + })(); + const refreshUrl = (() => { + try { + return new URL(links["xet-auth"]); + } catch { + return null; + } + })(); + if (!hash2) { + throw new InvalidApiResponseFormatError("No hash received in X-Xet-Hash header"); + } + if (!reconstructionUrl || !refreshUrl) { + throw new InvalidApiResponseFormatError("No xet-reconstruction-info or xet-auth link header"); + } + xetInfo = { + hash: hash2, + refreshUrl, + reconstructionUrl + }; + } + if (size === void 0 || isNaN(size)) { + const contentRangeHeader = resp.headers.get("content-range"); + if (!contentRangeHeader) { + throw new InvalidApiResponseFormatError("Expected size information"); + } + const [, parsedSize] = contentRangeHeader.split("/"); + size = parseInt(parsedSize); + if (isNaN(size)) { + throw new InvalidApiResponseFormatError("Invalid file size received"); + } + } + const etag = resp.headers.get("X-Linked-ETag") ?? resp.headers.get("ETag") ?? void 0; + if (!etag) { + throw new InvalidApiResponseFormatError("Expected ETag"); + } + return { + etag, + size, + xet: xetInfo, + // Cannot use resp.url in case it's a S3 url and the user adds an Authorization header to it. + url: resp.url && (new URL(resp.url).origin === new URL(hubUrl).origin || resp.headers.get("X-Cache")?.endsWith(" cloudfront")) ? resp.url : url + }; +} + +// src/lib/download-file.ts +async function downloadFile(params) { + const accessToken = checkCredentials(params); + const info = params.downloadInfo ?? await fileDownloadInfo({ + accessToken, + repo: params.repo, + path: params.path, + revision: params.revision, + hubUrl: params.hubUrl, + fetch: params.fetch, + raw: params.raw + }); + if (!info) { + return null; + } + if (info.xet && params.xet !== false) { + return new XetBlob({ + refreshUrl: info.xet.refreshUrl.href, + reconstructionUrl: info.xet.reconstructionUrl.href, + fetch: params.fetch, + accessToken, + size: info.size, + readToken: typeof params.xet === "object" ? params.xet.readToken : void 0 + }); + } + return new WebBlob(new URL(info.url), 0, info.size, "", true, params.fetch ?? fetch, accessToken); +} + +// src/lib/file-exists.ts +async function fileExists(params) { + const accessToken = checkCredentials(params); + const repoId = toRepoId(params.repo); + const hubUrl = params.hubUrl ?? HUB_URL; + const url = `${hubUrl}/${repoId.type === "model" ? "" : `${repoId.type}s/`}${repoId.name}/raw/${encodeURIComponent( + params.revision ?? "main" + )}/${params.path}`; + const resp = await (params.fetch ?? fetch)(url, { + method: "HEAD", + headers: accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + }); + if (resp.status === 404) { + return false; + } + if (!resp.ok) { + throw await createApiError(resp); + } + return true; +} + +// src/lib/jobs/cancel-job.ts +async function cancelJob(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/jobs/${params.namespace}/${params.jobId}/cancel`, + { + method: "POST", + headers: { + "Content-Type": "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } + return await response.json(); +} + +// src/lib/jobs/create-scheduled-job.ts +async function createScheduledJob(params) { + const accessToken = checkCredentials(params); + const { namespace, hubUrl, fetch: customFetch, ...rest } = params; + if (!rest.jobSpec.dockerImage && !rest.jobSpec.spaceId) { + throw new Error("Either dockerImage or spaceId must be provided in jobSpec"); + } + if (rest.jobSpec.dockerImage && rest.jobSpec.spaceId) { + throw new Error("Cannot provide both dockerImage and spaceId in jobSpec"); + } + const body = { + jobSpec: { + flavor: rest.jobSpec.flavor + }, + schedule: rest.schedule, + suspend: rest.suspend ?? false, + concurrency: rest.concurrency ?? false + }; + if (rest.jobSpec.dockerImage) { + body.jobSpec.dockerImage = rest.jobSpec.dockerImage; + } + if (rest.jobSpec.spaceId) { + body.jobSpec.spaceId = rest.jobSpec.spaceId; + } + if (rest.jobSpec.command) { + body.jobSpec.command = rest.jobSpec.command; + } + body.jobSpec.environment = rest.jobSpec.environment || {}; + if (rest.jobSpec.secrets) { + body.jobSpec.secrets = rest.jobSpec.secrets; + } + if (rest.jobSpec.arch) { + body.jobSpec.arch = rest.jobSpec.arch; + } + if (rest.jobSpec.timeoutSeconds !== void 0) { + body.jobSpec.timeoutSeconds = rest.jobSpec.timeoutSeconds; + } + if (rest.jobSpec.attempts !== void 0) { + body.jobSpec.attempts = rest.jobSpec.attempts; + } + if (rest.jobSpec.labels) { + body.jobSpec.labels = rest.jobSpec.labels; + } + const response = await (customFetch || fetch)(`${hubUrl || HUB_URL}/api/scheduled-jobs/${namespace}`, { + method: "POST", + headers: { + "Content-Type": "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + }, + body: JSON.stringify(body) + }); + if (!response.ok) { + throw await createApiError(response); + } + return await response.json(); +} + +// src/lib/jobs/delete-scheduled-job.ts +async function deleteScheduledJob(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/scheduled-jobs/${params.namespace}/${params.jobId}`, + { + method: "DELETE", + headers: { + "Content-Type": "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } +} + +// src/lib/jobs/duplicate-job.ts +async function duplicateJob(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/jobs/${params.namespace}/${params.jobId}/duplicate`, + { + method: "POST", + headers: { + "Content-Type": "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } + return await response.json(); +} + +// src/lib/jobs/get-job.ts +async function getJob(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/jobs/${params.namespace}/${params.jobId}`, + { + headers: { + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } + return await response.json(); +} + +// src/lib/jobs/get-scheduled-job.ts +async function getScheduledJob(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/scheduled-jobs/${params.namespace}/${params.jobId}`, + { + headers: { + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } + return await response.json(); +} + +// src/lib/jobs/list-job-hardware.ts +async function listJobHardware(params) { + const accessToken = checkCredentials(params ?? {}); + const headers = {}; + if (accessToken) { + headers.Authorization = `Bearer ${accessToken}`; + } + const response = await (params?.fetch || fetch)(`${params?.hubUrl || HUB_URL}/api/jobs/hardware`, { + headers + }); + if (!response.ok) { + throw await createApiError(response); + } + return await response.json(); +} + +// src/lib/jobs/list-jobs.ts +async function listJobs(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)(`${params.hubUrl || HUB_URL}/api/jobs/${params.namespace}`, { + headers: { + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + }); + if (!response.ok) { + throw await createApiError(response); + } + return await response.json(); +} + +// src/lib/jobs/list-scheduled-jobs.ts +async function listScheduledJobs(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)(`${params.hubUrl || HUB_URL}/api/scheduled-jobs/${params.namespace}`, { + headers: { + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + }); + if (!response.ok) { + throw await createApiError(response); + } + return await response.json(); +} + +// src/lib/jobs/resume-scheduled-job.ts +async function resumeScheduledJob(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/scheduled-jobs/${params.namespace}/${params.jobId}/resume`, + { + method: "POST", + headers: { + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } +} + +// src/lib/jobs/run-job.ts +async function runJob(params) { + const accessToken = checkCredentials(params); + if (!params.dockerImage && !params.spaceId) { + throw new Error("Either dockerImage or spaceId must be provided"); + } + if (params.dockerImage && params.spaceId) { + throw new Error("Cannot provide both dockerImage and spaceId"); + } + const body = { + flavor: params.flavor, + environment: params.environment || {} + }; + if (params.dockerImage) { + body.dockerImage = params.dockerImage; + } + if (params.spaceId) { + body.spaceId = params.spaceId; + } + if (params.command) { + body.command = params.command; + } + if (params.arguments) { + body.arguments = params.arguments; + } + if (params.secrets) { + body.secrets = params.secrets; + } + if (params.arch) { + body.arch = params.arch; + } + if (params.timeoutSeconds !== void 0) { + body.timeoutSeconds = params.timeoutSeconds; + } + if (params.attempts !== void 0) { + body.attempts = params.attempts; + } + if (params.labels) { + body.labels = params.labels; + } + const response = await (params.fetch || fetch)(`${params.hubUrl || HUB_URL}/api/jobs/${params.namespace}`, { + method: "POST", + headers: { + "Content-Type": "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + }, + body: JSON.stringify(body) + }); + if (!response.ok) { + throw await createApiError(response); + } + return await response.json(); +} + +// src/lib/jobs/run-scheduled-job.ts +async function runScheduledJob(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/scheduled-jobs/${params.namespace}/${params.jobId}/run`, + { + method: "POST", + headers: { + "Content-Type": "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + if (response.status === 409) { + return null; + } + throw await createApiError(response); + } + return await response.json(); +} + +// src/lib/jobs/stream-job-events.ts +async function* streamJobEvents(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/jobs/${params.namespace}/${params.jobId}/events`, + { + headers: { + Accept: "text/event-stream", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } + if (!response.body) { + return; + } + const reader = response.body.getReader(); + const decoder = new TextDecoder(); + let buffer = ""; + try { + while (true) { + const { done, value } = await reader.read(); + if (done) + break; + buffer += decoder.decode(value, { stream: true }); + const lines = buffer.split("\n"); + buffer = lines.pop() || ""; + for (const line of lines) { + if (line.startsWith("data: ")) { + yield line.slice(6); + } + } + } + if (buffer) { + const lines = buffer.split("\n"); + for (const line of lines) { + if (line.startsWith("data: ")) { + yield line.slice(6); + } + } + } + } finally { + reader.releaseLock(); + } +} + +// src/lib/jobs/stream-job-logs.ts +async function* streamJobLogs(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/jobs/${params.namespace}/${params.jobId}/logs`, + { + headers: { + Accept: "text/event-stream", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } + if (!response.body) { + return; + } + const reader = response.body.getReader(); + const decoder = new TextDecoder(); + let buffer = ""; + try { + while (true) { + const { done, value } = await reader.read(); + if (done) + break; + buffer += decoder.decode(value, { stream: true }); + const lines = buffer.split("\n"); + buffer = lines.pop() || ""; + for (const line of lines) { + if (line.startsWith("data: ")) { + try { + const data = JSON.parse(line.slice(6)); + yield { message: data.data, timestamp: new Date(data.timestamp) }; + } catch { + yield { message: line.slice(6), timestamp: /* @__PURE__ */ new Date() }; + } + } + } + } + if (buffer) { + const lines = buffer.split("\n"); + for (const line of lines) { + if (line.startsWith("data: ")) { + try { + const data = JSON.parse(line.slice(6)); + yield { message: data.data, timestamp: new Date(data.timestamp) }; + } catch { + yield { message: line.slice(6), timestamp: /* @__PURE__ */ new Date() }; + } + } + } + } + } finally { + reader.releaseLock(); + } +} + +// src/lib/jobs/stream-job-metrics.ts +async function* streamJobMetrics(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/jobs/${params.namespace}/${params.jobId}/metrics`, + { + headers: { + Accept: "text/event-stream", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } + if (!response.body) { + return; + } + const reader = response.body.getReader(); + const decoder = new TextDecoder(); + let buffer = ""; + try { + while (true) { + const { done, value } = await reader.read(); + if (done) + break; + buffer += decoder.decode(value, { stream: true }); + const lines = buffer.split("\n"); + buffer = lines.pop() || ""; + for (const line of lines) { + if (line.startsWith("data: ")) { + yield line.slice(6); + } + } + } + if (buffer) { + const lines = buffer.split("\n"); + for (const line of lines) { + if (line.startsWith("data: ")) { + yield line.slice(6); + } + } + } + } finally { + reader.releaseLock(); + } +} + +// src/lib/jobs/suspend-scheduled-job.ts +async function suspendScheduledJob(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/scheduled-jobs/${params.namespace}/${params.jobId}/suspend`, + { + method: "POST", + headers: { + "Content-Type": "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } +} + +// src/lib/list-commits.ts +async function* listCommits(params) { + const accessToken = checkCredentials(params); + const repoId = toRepoId(params.repo); + let url = `${params.hubUrl ?? HUB_URL}/api/${repoId.type}s/${repoId.name}/commits/${params.revision ?? "main"}?limit=${params.batchSize ?? 100}`; + while (url) { + const res = await (params.fetch ?? fetch)(url, { + headers: accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + }); + if (!res.ok) { + throw await createApiError(res); + } + const resJson = await res.json(); + for (const commit2 of resJson) { + yield { + oid: commit2.id, + title: commit2.title, + message: commit2.message, + authors: commit2.authors.map((author) => ({ + username: author.user, + avatarUrl: author.avatar + })), + date: new Date(commit2.date) + }; + } + const linkHeader = res.headers.get("Link"); + url = linkHeader ? parseLinkHeader(linkHeader).next : void 0; + } +} + +// src/lib/list-files.ts +async function* listFiles(params) { + const accessToken = checkCredentials(params); + const repoId = toRepoId(params.repo); + let url = `${params.hubUrl || HUB_URL}/api/${repoId.type}s/${repoId.name}/tree/${params.revision || "main"}${params.path ? "/" + params.path : ""}?recursive=${!!params.recursive}&expand=${!!params.expand}`; + while (url) { + const res = await (params.fetch ?? fetch)(url, { + headers: { + accept: "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : void 0 + } + }); + if (!res.ok) { + throw await createApiError(res); + } + const items = await res.json(); + for (const item of items) { + yield item; + } + const linkHeader = res.headers.get("Link"); + url = linkHeader ? parseLinkHeader(linkHeader).next : void 0; + } +} + +// src/utils/normalizeInferenceProviderMapping.ts +function normalizeInferenceProviderMapping(hfModelId, inferenceProviderMapping) { + if (!inferenceProviderMapping) { + return []; + } + if (Array.isArray(inferenceProviderMapping)) { + return inferenceProviderMapping.map((entry) => ({ + ...entry, + hfModelId + })); + } + return Object.entries(inferenceProviderMapping).map(([provider, mapping]) => ({ + provider, + hfModelId, + providerId: mapping.providerId, + status: mapping.status, + task: mapping.task + })); +} + +// src/lib/list-models.ts +var MODEL_EXPAND_KEYS = [ + "pipeline_tag", + "private", + "gated", + "downloads", + "likes", + "lastModified" +]; +var MODEL_EXPANDABLE_KEYS = [ + "author", + "cardData", + "config", + "createdAt", + "disabled", + "downloads", + "downloadsAllTime", + "gated", + "gitalyUid", + "inferenceProviderMapping", + "lastModified", + "library_name", + "likes", + "model-index", + "pipeline_tag", + "private", + "safetensors", + "sha", + // "siblings", + "spaces", + "tags", + "transformersInfo" +]; +async function* listModels(params) { + const accessToken = params && checkCredentials(params); + let totalToFetch = params?.limit ?? Infinity; + const search = new URLSearchParams([ + ...Object.entries({ + limit: String(Math.min(totalToFetch, 500)), + ...params?.search?.owner ? { author: params.search.owner } : void 0, + ...params?.search?.task ? { pipeline_tag: params.search.task } : void 0, + ...params?.search?.query ? { search: params.search.query } : void 0, + ...params?.search?.inferenceProviders ? { inference_provider: params.search.inferenceProviders.join(",") } : void 0, + ...params?.search?.apps ? { apps: params.search.apps.join(",") } : void 0, + ...params?.sort ? { sort: params.sort } : void 0 + }), + ...params?.search?.tags?.map((tag) => ["filter", tag]) ?? [], + ...MODEL_EXPAND_KEYS.map((val) => ["expand", val]), + ...params?.additionalFields?.map((val) => ["expand", val]) ?? [] + ]).toString(); + let url = `${params?.hubUrl || HUB_URL}/api/models?${search}`; + while (url) { + const res = await (params?.fetch ?? fetch)(url, { + headers: { + accept: "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : void 0 + } + }); + if (!res.ok) { + throw await createApiError(res); + } + const items = await res.json(); + for (const item of items) { + const normalizedItem = { ...item }; + if (params?.additionalFields?.includes("inferenceProviderMapping") && item.inferenceProviderMapping) { + normalizedItem.inferenceProviderMapping = normalizeInferenceProviderMapping( + item.id, + item.inferenceProviderMapping + ); + } + yield { + ...params?.additionalFields && pick(normalizedItem, params.additionalFields), + id: item._id, + name: item.id, + private: item.private, + task: item.pipeline_tag, + downloads: item.downloads, + gated: item.gated, + likes: item.likes, + updatedAt: new Date(item.lastModified) + }; + totalToFetch--; + if (totalToFetch <= 0) { + return; + } + } + const linkHeader = res.headers.get("Link"); + url = linkHeader ? parseLinkHeader(linkHeader).next : void 0; + } +} + +// src/lib/list-spaces.ts +var SPACE_EXPAND_KEYS = [ + "sdk", + "likes", + "private", + "lastModified" +]; +var SPACE_EXPANDABLE_KEYS = [ + "author", + "cardData", + "datasets", + "disabled", + "gitalyUid", + "lastModified", + "createdAt", + "likes", + "private", + "runtime", + "sdk", + // "siblings", + "sha", + "subdomain", + "tags", + "models" +]; +async function* listSpaces(params) { + const accessToken = params && checkCredentials(params); + const search = new URLSearchParams([ + ...Object.entries({ + limit: "500", + ...params?.search?.owner ? { author: params.search.owner } : void 0, + ...params?.search?.query ? { search: params.search.query } : void 0, + ...params?.sort ? { sort: params.sort } : void 0 + }), + ...params?.search?.tags?.map((tag) => ["filter", tag]) ?? [], + ...[...SPACE_EXPAND_KEYS, ...params?.additionalFields ?? []].map( + (val) => ["expand", val] + ) + ]).toString(); + let url = `${params?.hubUrl || HUB_URL}/api/spaces?${search}`; + while (url) { + const res = await (params?.fetch ?? fetch)(url, { + headers: { + accept: "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : void 0 + } + }); + if (!res.ok) { + throw await createApiError(res); + } + const items = await res.json(); + for (const item of items) { + yield { + ...params?.additionalFields && pick(item, params.additionalFields), + id: item._id, + name: item.id, + sdk: item.sdk, + likes: item.likes, + private: item.private, + updatedAt: new Date(item.lastModified) + }; + } + const linkHeader = res.headers.get("Link"); + url = linkHeader ? parseLinkHeader(linkHeader).next : void 0; + } +} + +// src/lib/list-collections.ts +async function* listCollections(params) { + const accessToken = params && checkCredentials(params); + const searchParams = new URLSearchParams(); + let totalToFetch = params?.limit ?? Infinity; + searchParams.append("limit", String(Math.min(totalToFetch, 100))); + if (params?.sort) { + searchParams.append("sort", params.sort); + } + if (params?.search?.owner) { + for (const owner of params.search.owner) { + searchParams.append("owner", owner); + } + } + if (params?.search?.item) { + for (const item of params.search.item) { + searchParams.append("item", item); + } + } + if (params?.search?.q) { + searchParams.append("q", params.search.q); + } + let url = `${params?.hubUrl || HUB_URL}/api/collections?${searchParams}`; + while (url) { + const res = await (params?.fetch ?? fetch)(url, { + headers: { + accept: "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : void 0 + } + }); + if (!res.ok) { + throw await createApiError(res); + } + const collections = await res.json(); + for (const collection of collections) { + yield collection; + totalToFetch--; + if (totalToFetch <= 0) { + return; + } + } + const linkHeader = res.headers.get("Link"); + url = linkHeader ? parseLinkHeader(linkHeader).next : void 0; + } +} + +// src/lib/model-info.ts +async function modelInfo(params) { + const accessToken = params && checkCredentials(params); + const search = new URLSearchParams([ + ...MODEL_EXPAND_KEYS.map((val) => ["expand", val]), + ...params?.additionalFields?.map((val) => ["expand", val]) ?? [] + ]).toString(); + const response = await (params.fetch || fetch)( + `${params?.hubUrl || HUB_URL}/api/models/${params.name}/revision/${encodeURIComponent( + params.revision ?? "HEAD" + )}?${search.toString()}`, + { + headers: { + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } + const data = await response.json(); + const normalizedData = { ...data }; + if (params?.additionalFields?.includes("inferenceProviderMapping") && data.inferenceProviderMapping) { + normalizedData.inferenceProviderMapping = normalizeInferenceProviderMapping(data.id, data.inferenceProviderMapping); + } + return { + ...params?.additionalFields && pick(normalizedData, params.additionalFields), + id: data._id, + name: data.id, + private: data.private, + task: data.pipeline_tag, + downloads: data.downloads, + gated: data.gated, + likes: data.likes, + updatedAt: new Date(data.lastModified) + }; +} + +// src/lib/oauth-handle-redirect.ts +async function oauthHandleRedirect(opts) { + if (typeof window === "undefined" && !opts?.redirectedUrl) { + throw new Error("oauthHandleRedirect is only available in the browser, unless you provide redirectedUrl"); + } + if (typeof localStorage === "undefined" && (!opts?.nonce || !opts?.codeVerifier)) { + throw new Error( + "oauthHandleRedirect requires localStorage to be available, unless you provide nonce and codeVerifier" + ); + } + const redirectedUrl = opts?.redirectedUrl ?? window.location.href; + const searchParams = (() => { + try { + return new URL(redirectedUrl).searchParams; + } catch (err) { + throw new Error("Failed to parse redirected URL: " + redirectedUrl); + } + })(); + const [error, errorDescription] = [searchParams.get("error"), searchParams.get("error_description")]; + if (error) { + throw new Error(`${error}: ${errorDescription}`); + } + const code = searchParams.get("code"); + const nonce = opts?.nonce ?? localStorage.getItem("huggingface.co:oauth:nonce"); + if (!code) { + throw new Error("Missing oauth code from query parameters in redirected URL: " + redirectedUrl); + } + if (!nonce) { + throw new Error("Missing oauth nonce from localStorage"); + } + const codeVerifier = opts?.codeVerifier ?? localStorage.getItem("huggingface.co:oauth:code_verifier"); + if (!codeVerifier) { + throw new Error("Missing oauth code_verifier from localStorage"); + } + const state = searchParams.get("state"); + if (!state) { + throw new Error("Missing oauth state from query parameters in redirected URL"); + } + let parsedState; + try { + parsedState = JSON.parse(state); + } catch { + throw new Error("Invalid oauth state in redirected URL, unable to parse JSON: " + state); + } + if (parsedState.nonce !== nonce) { + throw new Error("Invalid oauth state in redirected URL"); + } + const hubUrl = opts?.hubUrl || HUB_URL; + const openidConfigUrl = `${new URL(hubUrl).origin}/.well-known/openid-configuration`; + const openidConfigRes = await fetch(openidConfigUrl, { + headers: { + Accept: "application/json" + } + }); + if (!openidConfigRes.ok) { + throw await createApiError(openidConfigRes); + } + const openidConfig = await openidConfigRes.json(); + const tokenRes = await fetch(openidConfig.token_endpoint, { + method: "POST", + headers: { + "Content-Type": "application/x-www-form-urlencoded" + }, + body: new URLSearchParams({ + grant_type: "authorization_code", + code, + redirect_uri: parsedState.redirectUri, + code_verifier: codeVerifier + }).toString() + }); + if (!opts?.codeVerifier) { + localStorage.removeItem("huggingface.co:oauth:code_verifier"); + } + if (!opts?.nonce) { + localStorage.removeItem("huggingface.co:oauth:nonce"); + } + if (!tokenRes.ok) { + throw await createApiError(tokenRes); + } + const token = await tokenRes.json(); + const accessTokenExpiresAt = new Date(Date.now() + token.expires_in * 1e3); + const userInfoRes = await fetch(openidConfig.userinfo_endpoint, { + headers: { + Authorization: `Bearer ${token.access_token}` + } + }); + if (!userInfoRes.ok) { + throw await createApiError(userInfoRes); + } + const userInfo = await userInfoRes.json(); + return { + accessToken: token.access_token, + accessTokenExpiresAt, + userInfo, + state: parsedState.state, + scope: token.scope + }; +} +async function oauthHandleRedirectIfPresent(opts) { + if (typeof window === "undefined" && !opts?.redirectedUrl) { + throw new Error("oauthHandleRedirect is only available in the browser, unless you provide redirectedUrl"); + } + if (typeof localStorage === "undefined" && (!opts?.nonce || !opts?.codeVerifier)) { + throw new Error( + "oauthHandleRedirect requires localStorage to be available, unless you provide nonce and codeVerifier" + ); + } + const searchParams = new URLSearchParams(opts?.redirectedUrl ?? window.location.search); + if (searchParams.has("error")) { + return oauthHandleRedirect(opts); + } + if (searchParams.has("code")) { + if (!localStorage.getItem("huggingface.co:oauth:nonce")) { + console.warn( + "Missing oauth nonce from localStorage. This can happen when the user refreshes the page after logging in, without changing the URL." + ); + return false; + } + return oauthHandleRedirect(opts); + } + return false; +} + +// src/lib/oauth-login-url.ts +async function oauthLoginUrl(opts) { + if (typeof window === "undefined" && (!opts?.redirectUrl || !opts?.clientId)) { + throw new Error("oauthLogin is only available in the browser, unless you provide clientId and redirectUrl"); + } + if (typeof localStorage === "undefined" && !opts?.localStorage) { + throw new Error( + "oauthLogin requires localStorage to be available in the context, unless you provide a localStorage empty object as argument" + ); + } + const hubUrl = opts?.hubUrl || HUB_URL; + const openidConfigUrl = `${new URL(hubUrl).origin}/.well-known/openid-configuration`; + const openidConfigRes = await fetch(openidConfigUrl, { + headers: { + Accept: "application/json" + } + }); + if (!openidConfigRes.ok) { + throw await createApiError(openidConfigRes); + } + const opendidConfig = await openidConfigRes.json(); + const newNonce = globalThis.crypto.randomUUID(); + const newCodeVerifier = globalThis.crypto.randomUUID() + globalThis.crypto.randomUUID(); + if (opts?.localStorage) { + if (opts.localStorage.codeVerifier !== void 0 && opts.localStorage.codeVerifier !== null) { + throw new Error( + "localStorage.codeVerifier must be initially set to null or undefined, and will be filled by oauthLoginUrl" + ); + } + if (opts.localStorage.nonce !== void 0 && opts.localStorage.nonce !== null) { + throw new Error( + "localStorage.nonce must be initially set to null or undefined, and will be filled by oauthLoginUrl" + ); + } + opts.localStorage.codeVerifier = newCodeVerifier; + opts.localStorage.nonce = newNonce; + } else { + localStorage.setItem("huggingface.co:oauth:nonce", newNonce); + localStorage.setItem("huggingface.co:oauth:code_verifier", newCodeVerifier); + } + const redirectUri = opts?.redirectUrl || (typeof window !== "undefined" ? window.location.href : void 0); + if (!redirectUri) { + throw new Error("Missing redirectUrl"); + } + const state = JSON.stringify({ + nonce: newNonce, + redirectUri, + state: opts?.state + }); + const variables = ( + // @ts-expect-error window.huggingface is defined inside static Spaces. + typeof window !== "undefined" ? window.huggingface?.variables ?? null : null + ); + const clientId = opts?.clientId || variables?.OAUTH_CLIENT_ID; + if (!clientId) { + if (variables) { + throw new Error("Missing clientId, please add hf_oauth: true to the README.md's metadata in your static Space"); + } + throw new Error("Missing clientId"); + } + const challenge = base64FromBytes( + new Uint8Array(await globalThis.crypto.subtle.digest("SHA-256", new TextEncoder().encode(newCodeVerifier))) + ).replace(/[+]/g, "-").replace(/[/]/g, "_").replace(/=/g, ""); + return `${opendidConfig.authorization_endpoint}?${new URLSearchParams({ + client_id: clientId, + scope: opts?.scopes || variables?.OAUTH_SCOPES || "openid profile", + response_type: "code", + redirect_uri: redirectUri, + state, + code_challenge: challenge, + code_challenge_method: "S256" + }).toString()}`; +} + +// src/utils/typedInclude.ts +function typedInclude(arr, v) { + return arr.includes(v); +} + +// src/utils/omit.ts +function omit(o, props) { + const propsArr = Array.isArray(props) ? props : [props]; + const letsKeep = Object.keys(o).filter((prop) => !typedInclude(propsArr, prop)); + return pick(o, letsKeep); +} + +// src/utils/typedEntries.ts +function typedEntries(obj) { + return Object.entries(obj); +} + +// src/lib/parse-safetensors-metadata.ts +var SAFETENSORS_FILE = "model.safetensors"; +var SAFETENSORS_INDEX_FILE = "model.safetensors.index.json"; +var RE_SAFETENSORS_FILE = /\.safetensors$/; +var RE_SAFETENSORS_INDEX_FILE = /\.safetensors\.index\.json$/; +var RE_SAFETENSORS_SHARD_FILE = /^(?(?.*?)[_-])(?\d{5,6})-of-(?\d{5,6})\.safetensors$/; +function parseSafetensorsShardFilename(filename) { + const match = RE_SAFETENSORS_SHARD_FILE.exec(filename); + if (match && match.groups) { + return { + prefix: match.groups["prefix"], + basePrefix: match.groups["basePrefix"], + shard: match.groups["shard"], + total: match.groups["total"] + }; + } + return null; +} +var PARALLEL_DOWNLOADS = 20; +var MAX_HEADER_LENGTH = 25e6; +var GPTQ_QWEIGHT_SUFFIX = "qweight"; +var SafetensorParseError = class extends Error { +}; +async function fetchModelConfig(params) { + try { + const configBlob = await downloadFile({ + ...params, + path: "config.json" + }); + if (!configBlob) { + return null; + } + const config = JSON.parse(await configBlob.text()); + return config; + } catch (error) { + return null; + } +} +async function parseSingleFile(path, params) { + const blob = await downloadFile({ ...params, path }); + if (!blob) { + throw new SafetensorParseError(`Failed to parse file ${path}: failed to fetch safetensors header length.`); + } + const bufLengthOfHeaderLE = await blob.slice(0, 8).arrayBuffer(); + const lengthOfHeader = new DataView(bufLengthOfHeaderLE).getBigUint64(0, true); + if (lengthOfHeader <= 0) { + throw new SafetensorParseError(`Failed to parse file ${path}: safetensors header is malformed.`); + } + if (lengthOfHeader > MAX_HEADER_LENGTH) { + throw new SafetensorParseError( + `Failed to parse file ${path}: safetensor header is too big. Maximum supported size is ${MAX_HEADER_LENGTH} bytes.` + ); + } + try { + const header = JSON.parse(await blob.slice(8, 8 + Number(lengthOfHeader)).text()); + return header; + } catch (err) { + throw new SafetensorParseError(`Failed to parse file ${path}: safetensors header is not valid JSON.`); + } +} +async function parseShardedIndex(path, params) { + const indexBlob = await downloadFile({ + ...params, + path + }); + if (!indexBlob) { + throw new SafetensorParseError(`Failed to parse file ${path}: failed to fetch safetensors index.`); + } + try { + const index = JSON.parse(await indexBlob.slice(0, MAX_HEADER_LENGTH).text()); + return index; + } catch (error) { + throw new SafetensorParseError(`Failed to parse file ${path}: not a valid JSON.`); + } +} +async function fetchAllHeaders(path, index, params) { + const pathPrefix = path.slice(0, path.lastIndexOf("/") + 1); + const filenames = [...new Set(Object.values(index.weight_map))]; + const shardedMap = Object.fromEntries( + await promisesQueue( + filenames.map( + (filename) => async () => [filename, await parseSingleFile(pathPrefix + filename, params)] + ), + PARALLEL_DOWNLOADS + ) + ); + return shardedMap; +} +async function parseSafetensorsMetadata(params) { + const repoId = toRepoId(params.repo); + if (repoId.type !== "model") { + throw new TypeError("Only model repos should contain safetensors files."); + } + const modelConfig = params.computeParametersCount ? await fetchModelConfig(params) : null; + const quantConfig = modelConfig?.quantization_config; + if (params.path && RE_SAFETENSORS_FILE.test(params.path) || await fileExists({ ...params, path: SAFETENSORS_FILE })) { + const header = await parseSingleFile(params.path ?? SAFETENSORS_FILE, params); + return { + sharded: false, + header, + ...params.computeParametersCount ? { + parameterCount: computeNumOfParamsByDtypeSingleFile(header, quantConfig), + parameterTotal: ( + /// shortcut: get param count directly from metadata + header.__metadata__.total_parameters ? typeof header.__metadata__.total_parameters === "number" ? header.__metadata__.total_parameters : typeof header.__metadata__.total_parameters === "string" ? parseInt(header.__metadata__.total_parameters) : void 0 : void 0 + ) + } : void 0 + }; + } else if (params.path && RE_SAFETENSORS_INDEX_FILE.test(params.path) || await fileExists({ ...params, path: SAFETENSORS_INDEX_FILE })) { + const path = params.path ?? SAFETENSORS_INDEX_FILE; + const index = await parseShardedIndex(path, params); + const shardedMap = await fetchAllHeaders(path, index, params); + return { + sharded: true, + index, + headers: shardedMap, + ...params.computeParametersCount ? { + parameterCount: computeNumOfParamsByDtypeSharded(shardedMap, quantConfig), + parameterTotal: ( + /// shortcut: get param count directly from metadata + index.metadata?.total_parameters ? typeof index.metadata.total_parameters === "number" ? index.metadata.total_parameters : typeof index.metadata.total_parameters === "string" ? parseInt(index.metadata.total_parameters) : void 0 : void 0 + ) + } : void 0 + }; + } else { + throw new Error("model id does not seem to contain safetensors weights"); + } +} +function isQuantizedTensor(tensorName, quantConfig) { + if (!quantConfig) { + return false; + } + if (!quantConfig.modules_to_not_convert || quantConfig.modules_to_not_convert.length === 0) { + return true; + } + for (const pattern of quantConfig.modules_to_not_convert) { + const regexPattern = pattern.replace(/\*/g, ".*"); + const regex = new RegExp(regexPattern); + if (regex.test(tensorName)) { + return false; + } + } + return true; +} +function getQuantizationMultiplier(tensorName, dtype, quantConfig) { + if (!quantConfig || !isQuantizedTensor(tensorName, quantConfig)) { + return 1; + } + const quantMethod = quantConfig.quant_method?.toLowerCase(); + switch (quantMethod) { + case "mxfp4": + if (dtype === "U8" && tensorName.includes("_blocks")) { + return 2; + } + return 1; + case "gptq": + case "awq": + if (getTensorSuffix(tensorName) === GPTQ_QWEIGHT_SUFFIX) { + const bits = quantConfig.bits && quantConfig.bits > 0 ? quantConfig.bits : 4; + return Math.max(1, Math.floor(32 / bits)); + } + if (quantConfig.bits === 4 && dtype === "U8") { + return 2; + } + if (quantConfig.bits === 2 && dtype === "U8") { + return 4; + } + return 1; + case "bitsandbytes": + if (quantConfig.load_in_4bit && dtype === "U8") { + return 2; + } + if (quantConfig.load_in_8bit) { + return 1; + } + return 1; + default: + if (quantConfig.load_in_4bit && dtype === "U8") { + return 2; + } + if (quantConfig.bits === 4 && dtype === "U8") { + return 2; + } + return 1; + } +} +function computeNumOfParamsByDtypeSingleFile(header, quantConfig) { + const counter = {}; + const tensors = omit(header, "__metadata__"); + for (const [tensorName, v] of typedEntries(tensors)) { + if (shouldSkipTensor(tensorName, quantConfig)) { + continue; + } + if (v.shape.length === 0) { + continue; + } + const elements = v.shape.reduce((a, b) => a * b); + const multiplier = quantConfig ? getQuantizationMultiplier(tensorName, v.dtype, quantConfig) : 1; + if (multiplier === 0) { + continue; + } + counter[v.dtype] = (counter[v.dtype] ?? 0) + elements * multiplier; + } + return counter; +} +function computeNumOfParamsByDtypeSharded(shardedMap, quantConfig) { + const counter = {}; + for (const header of Object.values(shardedMap)) { + for (const [k, v] of typedEntries(computeNumOfParamsByDtypeSingleFile(header, quantConfig))) { + counter[k] = (counter[k] ?? 0) + (v ?? 0); + } + } + return counter; +} +function getTensorSuffix(tensorName) { + const lastDotIndex = tensorName.lastIndexOf("."); + return lastDotIndex === -1 ? tensorName : tensorName.slice(lastDotIndex + 1); +} +function shouldSkipTensor(tensorName, quantConfig) { + const GPTQ_AWQ_AUXILIARY_SUFFIXES = ["qzeros", "g_idx", "scales"]; + if (!quantConfig) { + return false; + } + const quantMethod = quantConfig.quant_method?.toLowerCase(); + if (!quantMethod || quantMethod !== "gptq" && quantMethod !== "awq") { + return false; + } + if (!isQuantizedTensor(tensorName, quantConfig)) { + return false; + } + const suffix = getTensorSuffix(tensorName); + if (suffix === GPTQ_QWEIGHT_SUFFIX) { + return false; + } + return GPTQ_AWQ_AUXILIARY_SUFFIXES.includes(suffix); +} + +// src/lib/paths-info.ts +async function pathsInfo(params) { + const accessToken = checkCredentials(params); + const repoId = toRepoId(params.repo); + const hubUrl = params.hubUrl ?? HUB_URL; + const url = `${hubUrl}/api/${repoId.type}s/${repoId.name}/paths-info/${encodeURIComponent( + params.revision ?? "main" + )}`; + const resp = await (params.fetch ?? fetch)(url, { + method: "POST", + headers: { + ...accessToken && { + Authorization: `Bearer ${accessToken}` + }, + Accept: "application/json", + "Content-Type": "application/json" + }, + body: JSON.stringify({ + paths: params.paths, + expand: params.expand + }) + }); + if (!resp.ok) { + throw await createApiError(resp); + } + const json = await resp.json(); + if (!Array.isArray(json)) + throw new Error("malformed response: expected array"); + return json.map((item) => ({ + path: item.path, + lfs: item.lfs, + type: item.type, + oid: item.oid, + size: item.size, + // expand fields + securityFileStatus: item.securityFileStatus, + lastCommit: item.lastCommit ? { + date: new Date(item.lastCommit.date), + title: item.lastCommit.title, + id: item.lastCommit.id + } : void 0 + })); +} + +// src/lib/repo-exists.ts +async function repoExists(params) { + const repoId = toRepoId(params.repo); + const res = await (params.fetch ?? fetch)( + `${params.hubUrl ?? HUB_URL}/api/${repoId.type}s/${repoId.name}?expand[]=likes`, + { + method: "GET", + headers: { + ...params.accessToken && { + Authorization: `Bearer ${params.accessToken}` + } + } + } + ); + if (res.status === 404 || res.status === 401) { + return false; + } + if (!res.ok) { + throw await createApiError(res); + } + return true; +} + +// src/lib/space-info.ts +async function spaceInfo(params) { + const accessToken = params && checkCredentials(params); + const search = new URLSearchParams([ + ...SPACE_EXPAND_KEYS.map((val) => ["expand", val]), + ...params?.additionalFields?.map((val) => ["expand", val]) ?? [] + ]).toString(); + const response = await (params.fetch || fetch)( + `${params?.hubUrl || HUB_URL}/api/spaces/${params.name}/revision/${encodeURIComponent( + params.revision ?? "HEAD" + )}?${search.toString()}`, + { + headers: { + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } + const data = await response.json(); + return { + ...params?.additionalFields && pick(data, params.additionalFields), + id: data._id, + name: data.id, + sdk: data.sdk, + likes: data.likes, + private: data.private, + updatedAt: new Date(data.lastModified) + }; +} + +// src/lib/upload-file.ts +function uploadFile(params) { + const path = params.file instanceof URL ? params.file.pathname.split("/").at(-1) ?? "file" : "path" in params.file ? params.file.path : params.file.name; + return commit({ + ...params.accessToken ? { accessToken: params.accessToken } : { credentials: params.credentials }, + repo: params.repo, + operations: [ + { + operation: "addOrUpdate", + path, + content: "content" in params.file ? params.file.content : params.file + } + ], + title: params.commitTitle ?? `Add ${path}`, + description: params.commitDescription, + hubUrl: params.hubUrl, + branch: params.branch, + isPullRequest: params.isPullRequest, + parentCommit: params.parentCommit, + fetch: params.fetch, + useWebWorkers: params.useWebWorkers, + abortSignal: params.abortSignal, + useXet: params.useXet + }); +} + +// src/lib/upload-files.ts +function uploadFiles(params) { + return commit({ + ...params.accessToken ? { accessToken: params.accessToken } : { credentials: params.credentials }, + repo: params.repo, + operations: params.files.map((file) => ({ + operation: "addOrUpdate", + path: file instanceof URL ? file.pathname.split("/").at(-1) ?? "file" : "path" in file ? file.path : file.name, + content: "content" in file ? file.content : file + })), + title: params.commitTitle ?? `Add ${params.files.length} files`, + description: params.commitDescription, + hubUrl: params.hubUrl, + branch: params.branch, + isPullRequest: params.isPullRequest, + parentCommit: params.parentCommit, + fetch: params.fetch, + useWebWorkers: params.useWebWorkers, + abortSignal: params.abortSignal, + useXet: params.useXet + }); +} + +// src/lib/upload-files-with-progress.ts +var multipartUploadTracking = /* @__PURE__ */ new WeakMap(); +async function* uploadFilesWithProgress(params) { + return yield* commitIter({ + ...params.accessToken ? { accessToken: params.accessToken } : { credentials: params.credentials }, + repo: params.repo, + operations: params.files.map((file) => ({ + operation: "addOrUpdate", + path: file instanceof URL ? file.pathname.split("/").at(-1) ?? "file" : "path" in file ? file.path : file.name, + content: "content" in file ? file.content : file + })), + title: params.commitTitle ?? `Add ${params.files.length} files`, + description: params.commitDescription, + hubUrl: params.hubUrl, + branch: params.branch, + isPullRequest: params.isPullRequest, + parentCommit: params.parentCommit, + useWebWorkers: params.useWebWorkers, + abortSignal: params.abortSignal, + useXet: params.useXet, + fetch: async (input, init) => { + if (!init) { + return fetch(input); + } + if (!typedInclude(["PUT", "POST"], init.method) || !("progressHint" in init) || !init.progressHint || typeof XMLHttpRequest === "undefined" || typeof input !== "string" || !(init.body instanceof ArrayBuffer) && !(init.body instanceof Blob) && !(init.body instanceof File) && typeof init.body !== "string") { + return fetch(input, init); + } + const progressHint = init.progressHint; + const progressCallback = progressHint.progressCallback; + const xhr = new XMLHttpRequest(); + xhr.upload.addEventListener("progress", (event) => { + if (event.lengthComputable) { + if (progressHint.part !== void 0) { + let tracking = multipartUploadTracking.get(progressCallback); + if (!tracking) { + tracking = { numParts: progressHint.numParts, partsProgress: {} }; + multipartUploadTracking.set(progressCallback, tracking); + } + tracking.partsProgress[progressHint.part] = event.loaded / event.total; + let totalProgress = 0; + for (const partProgress of Object.values(tracking.partsProgress)) { + totalProgress += partProgress; + } + if (totalProgress === tracking.numParts) { + progressCallback(0.9999999999); + } else { + progressCallback(totalProgress / tracking.numParts); + } + } else { + if (event.loaded === event.total) { + progressCallback(0.9999999999); + } else { + progressCallback(event.loaded / event.total); + } + } + } + }); + xhr.open(init.method, input, true); + if (init.headers) { + const headers = new Headers(init.headers); + headers.forEach((value, key) => { + xhr.setRequestHeader(key, value); + }); + } + init.signal?.throwIfAborted(); + xhr.send(init.body); + return new Promise((resolve2, reject) => { + xhr.addEventListener("load", () => { + resolve2( + new Response(xhr.responseText, { + status: xhr.status, + statusText: xhr.statusText, + headers: Object.fromEntries( + xhr.getAllResponseHeaders().trim().split("\n").map((header) => [ + header.slice(0, header.indexOf(":")), + header.slice(header.indexOf(":") + 1).trim() + ]) + ) + }) + ); + }); + xhr.addEventListener("error", () => { + reject(new Error(xhr.statusText)); + }); + if (init.signal) { + init.signal.addEventListener("abort", () => { + xhr.abort(); + try { + init.signal?.throwIfAborted(); + } catch (err) { + reject(err); + } + }); + } + }); + } + }); +} + +// src/lib/who-am-i.ts +async function whoAmI(params) { + const accessToken = checkCredentials(params); + const res = await (params.fetch ?? fetch)(`${params.hubUrl ?? HUB_URL}/api/whoami-v2`, { + headers: { + Authorization: `Bearer ${accessToken}` + } + }); + if (!res.ok) { + throw await createApiError(res); + } + const response = await res.json(); + if (typeof response.auth.accessToken?.createdAt === "string") { + response.auth.accessToken.createdAt = new Date(response.auth.accessToken.createdAt); + } + return response; +} +export { + DATASET_EXPANDABLE_KEYS, + DATASET_EXPAND_KEYS, + HUB_URL, + HubApiError, + InvalidApiResponseFormatError, + MODEL_EXPANDABLE_KEYS, + MODEL_EXPAND_KEYS, + RE_SAFETENSORS_FILE, + RE_SAFETENSORS_INDEX_FILE, + RE_SAFETENSORS_SHARD_FILE, + SAFETENSORS_FILE, + SAFETENSORS_INDEX_FILE, + SPACE_EXPANDABLE_KEYS, + SPACE_EXPAND_KEYS, + XetBlob as __internal_XetBlob, + sha256 as __internal_sha256, + cancelJob, + checkRepoAccess, + commit, + commitIter, + commitIterBucket, + countCommits, + createBranch, + createCollection, + createRepo, + createScheduledJob, + datasetInfo, + deleteBranch, + deleteCollection, + deleteFile, + deleteFiles, + deleteRepo, + deleteScheduledJob, + downloadFile, + duplicateJob, + fileDownloadInfo, + fileExists, + getJob, + getScheduledJob, + listCollections, + listCommits, + listDatasets, + listFiles, + listJobHardware, + listJobs, + listModels, + listScheduledJobs, + listSpaces, + modelInfo, + oauthHandleRedirect, + oauthHandleRedirectIfPresent, + oauthLoginUrl, + parseSafetensorsMetadata, + parseSafetensorsShardFilename, + pathsInfo, + repoExists, + resumeScheduledJob, + runJob, + runScheduledJob, + spaceInfo, + streamJobEvents, + streamJobLogs, + streamJobMetrics, + suspendScheduledJob, + uploadFile, + uploadFiles, + uploadFilesWithProgress, + whoAmI +}; diff --git a/node_modules/@huggingface/hub/dist/browser/sha256-node-FT2Y3VXD.js b/node_modules/@huggingface/hub/dist/browser/sha256-node-FT2Y3VXD.js new file mode 100644 index 0000000000000000000000000000000000000000..9a390c31f71bc7eae1522a280a2dc8f6723185bf --- /dev/null +++ b/node_modules/@huggingface/hub/dist/browser/sha256-node-FT2Y3VXD.js @@ -0,0 +1 @@ +"use strict"; \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/browser/sha256-node-TNZ2WHTI.mjs b/node_modules/@huggingface/hub/dist/browser/sha256-node-TNZ2WHTI.mjs new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/node_modules/@huggingface/hub/dist/browser/sha256-wrapper-DHTT2DPH.js b/node_modules/@huggingface/hub/dist/browser/sha256-wrapper-DHTT2DPH.js new file mode 100644 index 0000000000000000000000000000000000000000..32adfcc7bba99760a71fd7de986789d1804501f6 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/browser/sha256-wrapper-DHTT2DPH.js @@ -0,0 +1,460 @@ +"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }require('./chunk-UICA3PK6.js'); + +// src/vendor/hash-wasm/sha256.js +var Module = (() => { + var _unused = import.meta.url; + return function(moduleArg = {}) { + var Module2 = moduleArg; + var readyPromiseResolve, readyPromiseReject; + Module2["ready"] = new Promise((resolve, reject) => { + readyPromiseResolve = resolve; + readyPromiseReject = reject; + }); + var moduleOverrides = Object.assign({}, Module2); + var arguments_ = []; + var thisProgram = "./this.program"; + var quit_ = (status, toThrow) => { + throw toThrow; + }; + var ENVIRONMENT_IS_WEB = typeof window == "object"; + var ENVIRONMENT_IS_WORKER = typeof importScripts == "function"; + var ENVIRONMENT_IS_NODE = typeof process == "object" && typeof process.versions == "object" && typeof process.versions.node == "string"; + var ENVIRONMENT_IS_SHELL = !ENVIRONMENT_IS_WEB && !ENVIRONMENT_IS_NODE && !ENVIRONMENT_IS_WORKER; + var scriptDirectory = ""; + function locateFile(path) { + if (Module2["locateFile"]) { + return Module2["locateFile"](path, scriptDirectory); + } + return scriptDirectory + path; + } + var read_, readAsync, readBinary; + if (ENVIRONMENT_IS_WEB || ENVIRONMENT_IS_WORKER) { + if (ENVIRONMENT_IS_WORKER) { + scriptDirectory = self.location.href; + } else if (typeof document != "undefined" && document.currentScript) { + scriptDirectory = document.currentScript.src; + } + if (false) { + scriptDirectory = false; + } + if (scriptDirectory.startsWith("blob:")) { + scriptDirectory = ""; + } else { + scriptDirectory = scriptDirectory.substr(0, scriptDirectory.replace(/[?#].*/, "").lastIndexOf("/") + 1); + } + { + read_ = (url) => { + var xhr = new XMLHttpRequest(); + xhr.open("GET", url, false); + xhr.send(null); + return xhr.responseText; + }; + if (ENVIRONMENT_IS_WORKER) { + readBinary = (url) => { + var xhr = new XMLHttpRequest(); + xhr.open("GET", url, false); + xhr.responseType = "arraybuffer"; + xhr.send(null); + return new Uint8Array( + /** @type{!ArrayBuffer} */ + xhr.response + ); + }; + } + readAsync = (url, onload, onerror) => { + var xhr = new XMLHttpRequest(); + xhr.open("GET", url, true); + xhr.responseType = "arraybuffer"; + xhr.onload = () => { + if (xhr.status == 200 || xhr.status == 0 && xhr.response) { + onload(xhr.response); + return; + } + onerror(); + }; + xhr.onerror = onerror; + xhr.send(null); + }; + } + } else { + } + var out = Module2["print"] || console.log.bind(console); + var err = Module2["printErr"] || console.error.bind(console); + Object.assign(Module2, moduleOverrides); + moduleOverrides = null; + if (Module2["arguments"]) + arguments_ = Module2["arguments"]; + if (Module2["thisProgram"]) + thisProgram = Module2["thisProgram"]; + if (Module2["quit"]) + quit_ = Module2["quit"]; + var wasmBinary; + if (Module2["wasmBinary"]) + wasmBinary = Module2["wasmBinary"]; + if (typeof WebAssembly != "object") { + abort("no native wasm support detected"); + } + function intArrayFromBase64(s) { + var decoded = atob(s); + var bytes = new Uint8Array(decoded.length); + for (var i = 0; i < decoded.length; ++i) { + bytes[i] = decoded.charCodeAt(i); + } + return bytes; + } + function tryParseAsDataURI(filename) { + if (!isDataURI(filename)) { + return; + } + return intArrayFromBase64(filename.slice(dataURIPrefix.length)); + } + var wasmMemory; + var ABORT = false; + var EXITSTATUS; + function assert(condition, text) { + if (!condition) { + abort(text); + } + } + var HEAP, HEAP8, HEAPU8, HEAP16, HEAPU16, HEAP32, HEAPU32, HEAPF32, HEAPF64; + function updateMemoryViews() { + var b = wasmMemory.buffer; + Module2["HEAP8"] = HEAP8 = new Int8Array(b); + Module2["HEAP16"] = HEAP16 = new Int16Array(b); + Module2["HEAPU8"] = HEAPU8 = new Uint8Array(b); + Module2["HEAPU16"] = HEAPU16 = new Uint16Array(b); + Module2["HEAP32"] = HEAP32 = new Int32Array(b); + Module2["HEAPU32"] = HEAPU32 = new Uint32Array(b); + Module2["HEAPF32"] = HEAPF32 = new Float32Array(b); + Module2["HEAPF64"] = HEAPF64 = new Float64Array(b); + } + var __ATPRERUN__ = []; + var __ATINIT__ = []; + var __ATEXIT__ = []; + var __ATPOSTRUN__ = []; + var runtimeInitialized = false; + function preRun() { + if (Module2["preRun"]) { + if (typeof Module2["preRun"] == "function") + Module2["preRun"] = [Module2["preRun"]]; + while (Module2["preRun"].length) { + addOnPreRun(Module2["preRun"].shift()); + } + } + callRuntimeCallbacks(__ATPRERUN__); + } + function initRuntime() { + runtimeInitialized = true; + callRuntimeCallbacks(__ATINIT__); + } + function postRun() { + if (Module2["postRun"]) { + if (typeof Module2["postRun"] == "function") + Module2["postRun"] = [Module2["postRun"]]; + while (Module2["postRun"].length) { + addOnPostRun(Module2["postRun"].shift()); + } + } + callRuntimeCallbacks(__ATPOSTRUN__); + } + function addOnPreRun(cb) { + __ATPRERUN__.unshift(cb); + } + function addOnInit(cb) { + __ATINIT__.unshift(cb); + } + function addOnExit(cb) { + } + function addOnPostRun(cb) { + __ATPOSTRUN__.unshift(cb); + } + var runDependencies = 0; + var runDependencyWatcher = null; + var dependenciesFulfilled = null; + function getUniqueRunDependency(id) { + return id; + } + function addRunDependency(id) { + runDependencies++; + _optionalChain([Module2, 'access', _ => _["monitorRunDependencies"], 'optionalCall', _2 => _2(runDependencies)]); + } + function removeRunDependency(id) { + runDependencies--; + _optionalChain([Module2, 'access', _3 => _3["monitorRunDependencies"], 'optionalCall', _4 => _4(runDependencies)]); + if (runDependencies == 0) { + if (runDependencyWatcher !== null) { + clearInterval(runDependencyWatcher); + runDependencyWatcher = null; + } + if (dependenciesFulfilled) { + var callback = dependenciesFulfilled; + dependenciesFulfilled = null; + callback(); + } + } + } + function abort(what) { + _optionalChain([Module2, 'access', _5 => _5["onAbort"], 'optionalCall', _6 => _6(what)]); + what = "Aborted(" + what + ")"; + err(what); + ABORT = true; + EXITSTATUS = 1; + what += ". Build with -sASSERTIONS for more info."; + var e = new WebAssembly.RuntimeError(what); + readyPromiseReject(e); + throw e; + } + var dataURIPrefix = "data:application/octet-stream;base64,"; + var isDataURI = (filename) => filename.startsWith(dataURIPrefix); + var isFileURI = (filename) => filename.startsWith("file://"); + var wasmBinaryFile; + wasmBinaryFile = "data:application/octet-stream;base64,AGFzbQEAAAABHQZgAX8AYAABf2AAAGABfwF/YAJ/fwBgA39/fwF/Aw0MAgAEAgMBBQABAQADBAUBcAEBAQUGAQGAAoACBg4CfwFB8IuEBAt/AUEACweYAQoGbWVtb3J5AgARX193YXNtX2NhbGxfY3RvcnMAAAtIYXNoX1VwZGF0ZQABCkhhc2hfRmluYWwAAwlIYXNoX0luaXQABAxHZXRCdWZmZXJQdHIABRlfX2luZGly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glqha5nu3Lzbjw69U+lf1IOUYxoBZur2YMfGc3gW9ieBcEH1Xw2F91wMDlZDvcxC8D/ERVYaKeP+WSkT/q+mC+KQpFEN3HP+8C1pdu16VvCVjnxEfFZpII/ktVeHKuYqgfYAVuDEr6FMSTDfQxVdF2+cv6x3oCnBtybdPGbwcFpm+SGR77vxp3BD8yhDCRvLOktqoR0StypsFzaiPl2UlE+mG3GMajIJwOwx39Zv/ML4MZHkafVUWPKBmcpKRSFCrcnOCEbLvxtLE0TDThTVHMKZbsKanYuycKBhSxykqHov6JLZhqocItLwqNRbMcZ6JLRJAaZ1oU1DvRwoGoQFsGkGQhsNx5Md0gntbywNLMMHDlKqthOT8qcW/NvLmjugo90b2OleBR4yIQIAseM+v++kOtsUKT3o/m+8nhxxgBBwAoLBIAFgAA="; + if (!isDataURI(wasmBinaryFile)) { + wasmBinaryFile = locateFile(wasmBinaryFile); + } + function getBinarySync(file) { + if (file == wasmBinaryFile && wasmBinary) { + return new Uint8Array(wasmBinary); + } + var binary = tryParseAsDataURI(file); + if (binary) { + return binary; + } + if (readBinary) { + return readBinary(file); + } + throw "both async and sync fetching of the wasm failed"; + } + function getBinaryPromise(binaryFile) { + return Promise.resolve().then(() => getBinarySync(binaryFile)); + } + function instantiateArrayBuffer(binaryFile, imports, receiver) { + return getBinaryPromise(binaryFile).then((binary) => { + return WebAssembly.instantiate(binary, imports); + }).then(receiver, (reason) => { + err(`failed to asynchronously prepare wasm: ${reason}`); + abort(reason); + }); + } + function instantiateAsync(binary, binaryFile, imports, callback) { + return instantiateArrayBuffer(binaryFile, imports, callback); + } + function createWasm() { + var info = { + "env": wasmImports, + "wasi_snapshot_preview1": wasmImports + }; + function receiveInstance(instance, module) { + wasmExports = instance.exports; + wasmMemory = wasmExports["memory"]; + updateMemoryViews(); + addOnInit(wasmExports["__wasm_call_ctors"]); + removeRunDependency("wasm-instantiate"); + return wasmExports; + } + addRunDependency("wasm-instantiate"); + function receiveInstantiationResult(result) { + receiveInstance(result["instance"]); + } + if (Module2["instantiateWasm"]) { + try { + return Module2["instantiateWasm"](info, receiveInstance); + } catch (e) { + err(`Module.instantiateWasm callback failed with error: ${e}`); + readyPromiseReject(e); + } + } + instantiateAsync(wasmBinary, wasmBinaryFile, info, receiveInstantiationResult).catch(readyPromiseReject); + return {}; + } + var tempDouble; + var tempI64; + function ExitStatus(status) { + this.name = "ExitStatus"; + this.message = `Program terminated with exit(${status})`; + this.status = status; + } + var callRuntimeCallbacks = (callbacks) => { + while (callbacks.length > 0) { + callbacks.shift()(Module2); + } + }; + function getValue(ptr, type = "i8") { + if (type.endsWith("*")) + type = "*"; + switch (type) { + case "i1": + return HEAP8[ptr]; + case "i8": + return HEAP8[ptr]; + case "i16": + return HEAP16[ptr >> 1]; + case "i32": + return HEAP32[ptr >> 2]; + case "i64": + abort("to do getValue(i64) use WASM_BIGINT"); + case "float": + return HEAPF32[ptr >> 2]; + case "double": + return HEAPF64[ptr >> 3]; + case "*": + return HEAPU32[ptr >> 2]; + default: + abort(`invalid type for getValue: ${type}`); + } + } + var noExitRuntime = Module2["noExitRuntime"] || true; + function setValue(ptr, value, type = "i8") { + if (type.endsWith("*")) + type = "*"; + switch (type) { + case "i1": + HEAP8[ptr] = value; + break; + case "i8": + HEAP8[ptr] = value; + break; + case "i16": + HEAP16[ptr >> 1] = value; + break; + case "i32": + HEAP32[ptr >> 2] = value; + break; + case "i64": + abort("to do setValue(i64) use WASM_BIGINT"); + case "float": + HEAPF32[ptr >> 2] = value; + break; + case "double": + HEAPF64[ptr >> 3] = value; + break; + case "*": + HEAPU32[ptr >> 2] = value; + break; + default: + abort(`invalid type for setValue: ${type}`); + } + } + var wasmImports = {}; + var wasmExports = createWasm(); + var ___wasm_call_ctors = () => (___wasm_call_ctors = wasmExports["__wasm_call_ctors"])(); + var _Hash_Update = Module2["_Hash_Update"] = (a0) => (_Hash_Update = Module2["_Hash_Update"] = wasmExports["Hash_Update"])(a0); + var _Hash_Final = Module2["_Hash_Final"] = () => (_Hash_Final = Module2["_Hash_Final"] = wasmExports["Hash_Final"])(); + var _Hash_Init = Module2["_Hash_Init"] = (a0) => (_Hash_Init = Module2["_Hash_Init"] = wasmExports["Hash_Init"])(a0); + var _GetBufferPtr = Module2["_GetBufferPtr"] = () => (_GetBufferPtr = Module2["_GetBufferPtr"] = wasmExports["GetBufferPtr"])(); + var stackSave = () => (stackSave = wasmExports["stackSave"])(); + var stackRestore = (a0) => (stackRestore = wasmExports["stackRestore"])(a0); + var stackAlloc = (a0) => (stackAlloc = wasmExports["stackAlloc"])(a0); + var calledRun; + dependenciesFulfilled = function runCaller() { + if (!calledRun) + run(); + if (!calledRun) + dependenciesFulfilled = runCaller; + }; + function run() { + if (runDependencies > 0) { + return; + } + preRun(); + if (runDependencies > 0) { + return; + } + function doRun() { + if (calledRun) + return; + calledRun = true; + Module2["calledRun"] = true; + if (ABORT) + return; + initRuntime(); + readyPromiseResolve(Module2); + if (Module2["onRuntimeInitialized"]) + Module2["onRuntimeInitialized"](); + postRun(); + } + if (Module2["setStatus"]) { + Module2["setStatus"]("Running..."); + setTimeout(function() { + setTimeout(function() { + Module2["setStatus"](""); + }, 1); + doRun(); + }, 1); + } else { + doRun(); + } + } + if (Module2["preInit"]) { + if (typeof Module2["preInit"] == "function") + Module2["preInit"] = [Module2["preInit"]]; + while (Module2["preInit"].length > 0) { + Module2["preInit"].pop()(); + } + } + run(); + return moduleArg.ready; + }; +})(); +var sha256_default = Module; + +// src/vendor/hash-wasm/sha256-wrapper.ts +async function createSHA256(isInsideWorker = false) { + const BUFFER_MAX_SIZE = 8 * 1024 * 1024; + const wasm = isInsideWorker ? ( + // @ts-expect-error WasmModule will be populated inside self object + await self["SHA256WasmModule"]() + ) : await sha256_default(); + const heap = wasm.HEAPU8.subarray(wasm._GetBufferPtr()); + return { + init() { + wasm._Hash_Init(256); + }, + update(data) { + let byteUsed = 0; + while (byteUsed < data.byteLength) { + const bytesLeft = data.byteLength - byteUsed; + const length = Math.min(bytesLeft, BUFFER_MAX_SIZE); + heap.set(data.subarray(byteUsed, byteUsed + length)); + wasm._Hash_Update(length); + byteUsed += length; + } + }, + digest(method) { + if (method !== "hex") { + throw new Error("Only digest hex is supported"); + } + wasm._Hash_Final(); + const result = Array.from(heap.slice(0, 32)); + return result.map((b) => b.toString(16).padStart(2, "0")).join(""); + } + }; +} +function createSHA256WorkerCode() { + return ` + self.addEventListener('message', async (event) => { + const { file } = event.data; + const sha256 = await self.createSHA256(true); + sha256.init(); + const reader = file.stream().getReader(); + const total = file.size; + let bytesDone = 0; + while (true) { + const { done, value } = await reader.read(); + if (done) { + break; + } + sha256.update(value); + bytesDone += value.length; + postMessage({ progress: bytesDone / total }); + } + postMessage({ sha256: sha256.digest('hex') }); + }); + self.SHA256WasmModule = ${sha256_default.toString()}; + self.createSHA256 = ${createSHA256.toString()}; + `; +} + + + +exports.createSHA256 = createSHA256; exports.createSHA256WorkerCode = createSHA256WorkerCode; diff --git a/node_modules/@huggingface/hub/dist/browser/sha256-wrapper-RIVMC2TM.mjs b/node_modules/@huggingface/hub/dist/browser/sha256-wrapper-RIVMC2TM.mjs new file mode 100644 index 0000000000000000000000000000000000000000..0d9512b3031afc6a2ba6e0e077ddc0af7ef19751 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/browser/sha256-wrapper-RIVMC2TM.mjs @@ -0,0 +1,460 @@ +import "./chunk-QXAXOUZS.mjs"; + +// src/vendor/hash-wasm/sha256.js +var Module = (() => { + var _unused = import.meta.url; + return function(moduleArg = {}) { + var Module2 = moduleArg; + var readyPromiseResolve, readyPromiseReject; + Module2["ready"] = new Promise((resolve, reject) => { + readyPromiseResolve = resolve; + readyPromiseReject = reject; + }); + var moduleOverrides = Object.assign({}, Module2); + var arguments_ = []; + var thisProgram = "./this.program"; + var quit_ = (status, toThrow) => { + throw toThrow; + }; + var ENVIRONMENT_IS_WEB = typeof window == "object"; + var ENVIRONMENT_IS_WORKER = typeof importScripts == "function"; + var ENVIRONMENT_IS_NODE = typeof process == "object" && typeof process.versions == "object" && typeof process.versions.node == "string"; + var ENVIRONMENT_IS_SHELL = !ENVIRONMENT_IS_WEB && !ENVIRONMENT_IS_NODE && !ENVIRONMENT_IS_WORKER; + var scriptDirectory = ""; + function locateFile(path) { + if (Module2["locateFile"]) { + return Module2["locateFile"](path, scriptDirectory); + } + return scriptDirectory + path; + } + var read_, readAsync, readBinary; + if (ENVIRONMENT_IS_WEB || ENVIRONMENT_IS_WORKER) { + if (ENVIRONMENT_IS_WORKER) { + scriptDirectory = self.location.href; + } else if (typeof document != "undefined" && document.currentScript) { + scriptDirectory = document.currentScript.src; + } + if (false) { + scriptDirectory = false; + } + if (scriptDirectory.startsWith("blob:")) { + scriptDirectory = ""; + } else { + scriptDirectory = scriptDirectory.substr(0, scriptDirectory.replace(/[?#].*/, "").lastIndexOf("/") + 1); + } + { + read_ = (url) => { + var xhr = new XMLHttpRequest(); + xhr.open("GET", url, false); + xhr.send(null); + return xhr.responseText; + }; + if (ENVIRONMENT_IS_WORKER) { + readBinary = (url) => { + var xhr = new XMLHttpRequest(); + xhr.open("GET", url, false); + xhr.responseType = "arraybuffer"; + xhr.send(null); + return new Uint8Array( + /** @type{!ArrayBuffer} */ + xhr.response + ); + }; + } + readAsync = (url, onload, onerror) => { + var xhr = new XMLHttpRequest(); + xhr.open("GET", url, true); + xhr.responseType = "arraybuffer"; + xhr.onload = () => { + if (xhr.status == 200 || xhr.status == 0 && xhr.response) { + onload(xhr.response); + return; + } + onerror(); + }; + xhr.onerror = onerror; + xhr.send(null); + }; + } + } else { + } + var out = Module2["print"] || console.log.bind(console); + var err = Module2["printErr"] || console.error.bind(console); + Object.assign(Module2, moduleOverrides); + moduleOverrides = null; + if (Module2["arguments"]) + arguments_ = Module2["arguments"]; + if (Module2["thisProgram"]) + thisProgram = Module2["thisProgram"]; + if (Module2["quit"]) + quit_ = Module2["quit"]; + var wasmBinary; + if (Module2["wasmBinary"]) + wasmBinary = Module2["wasmBinary"]; + if (typeof WebAssembly != "object") { + abort("no native wasm support detected"); + } + function intArrayFromBase64(s) { + var decoded = atob(s); + var bytes = new Uint8Array(decoded.length); + for (var i = 0; i < decoded.length; ++i) { + bytes[i] = decoded.charCodeAt(i); + } + return bytes; + } + function tryParseAsDataURI(filename) { + if (!isDataURI(filename)) { + return; + } + return intArrayFromBase64(filename.slice(dataURIPrefix.length)); + } + var wasmMemory; + var ABORT = false; + var EXITSTATUS; + function assert(condition, text) { + if (!condition) { + abort(text); + } + } + var HEAP, HEAP8, HEAPU8, HEAP16, HEAPU16, HEAP32, HEAPU32, HEAPF32, HEAPF64; + function updateMemoryViews() { + var b = wasmMemory.buffer; + Module2["HEAP8"] = HEAP8 = new Int8Array(b); + Module2["HEAP16"] = HEAP16 = new Int16Array(b); + Module2["HEAPU8"] = HEAPU8 = new Uint8Array(b); + Module2["HEAPU16"] = HEAPU16 = new Uint16Array(b); + Module2["HEAP32"] = HEAP32 = new Int32Array(b); + Module2["HEAPU32"] = HEAPU32 = new Uint32Array(b); + Module2["HEAPF32"] = HEAPF32 = new Float32Array(b); + Module2["HEAPF64"] = HEAPF64 = new Float64Array(b); + } + var __ATPRERUN__ = []; + var __ATINIT__ = []; + var __ATEXIT__ = []; + var __ATPOSTRUN__ = []; + var runtimeInitialized = false; + function preRun() { + if (Module2["preRun"]) { + if (typeof Module2["preRun"] == "function") + Module2["preRun"] = [Module2["preRun"]]; + while (Module2["preRun"].length) { + addOnPreRun(Module2["preRun"].shift()); + } + } + callRuntimeCallbacks(__ATPRERUN__); + } + function initRuntime() { + runtimeInitialized = true; + callRuntimeCallbacks(__ATINIT__); + } + function postRun() { + if (Module2["postRun"]) { + if (typeof Module2["postRun"] == "function") + Module2["postRun"] = [Module2["postRun"]]; + while (Module2["postRun"].length) { + addOnPostRun(Module2["postRun"].shift()); + } + } + callRuntimeCallbacks(__ATPOSTRUN__); + } + function addOnPreRun(cb) { + __ATPRERUN__.unshift(cb); + } + function addOnInit(cb) { + __ATINIT__.unshift(cb); + } + function addOnExit(cb) { + } + function addOnPostRun(cb) { + __ATPOSTRUN__.unshift(cb); + } + var runDependencies = 0; + var runDependencyWatcher = null; + var dependenciesFulfilled = null; + function getUniqueRunDependency(id) { + return id; + } + function addRunDependency(id) { + runDependencies++; + Module2["monitorRunDependencies"]?.(runDependencies); + } + function removeRunDependency(id) { + runDependencies--; + Module2["monitorRunDependencies"]?.(runDependencies); + if (runDependencies == 0) { + if (runDependencyWatcher !== null) { + clearInterval(runDependencyWatcher); + runDependencyWatcher = null; + } + if (dependenciesFulfilled) { + var callback = dependenciesFulfilled; + dependenciesFulfilled = null; + callback(); + } + } + } + function abort(what) { + Module2["onAbort"]?.(what); + what = "Aborted(" + what + ")"; + err(what); + ABORT = true; + EXITSTATUS = 1; + what += ". Build with -sASSERTIONS for more info."; + var e = new WebAssembly.RuntimeError(what); + readyPromiseReject(e); + throw e; + } + var dataURIPrefix = "data:application/octet-stream;base64,"; + var isDataURI = (filename) => filename.startsWith(dataURIPrefix); + var isFileURI = (filename) => filename.startsWith("file://"); + var wasmBinaryFile; + wasmBinaryFile = "data:application/octet-stream;base64,AGFzbQEAAAABHQZgAX8AYAABf2AAAGABfwF/YAJ/fwBgA39/fwF/Aw0MAgAEAgMBBQABAQADBAUBcAEBAQUGAQGAAoACBg4CfwFB8IuEBAt/AUEACweYAQoGbWVtb3J5AgARX193YXNtX2NhbGxfY3RvcnMAAAtIYXNoX1VwZGF0ZQABCkhhc2hfRmluYWwAAwlIYXNoX0luaXQABAxHZXRCdWZmZXJQdHIABRlfX2luZGlyZWN0X2Z1bmN0aW9uX3RhYmxlAQAJc3RhY2tTYXZlAAkMc3RhY2tSZXN0b3JlAAoKc3RhY2tBbGxvYwALCossDAIAC+4CAgV/AX5BACgCwAoiASABKQNAIgYgAK18NwNAAkACQAJAIAanQT9xIgINAEGACyEBIAAhAgwBC0HAACACayEDAkAgAEUNACADIAAgAyAASRshBCABIAJqIQVBACEBA0AgBSABIgFqQYALIAFqLQAAOgAAIAFBAWoiAiEBI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mcpKRSFCrcnOCEbLvxtLE0TDThTVHMKZbsKanYuycKBhSxykqHov6JLZhqocItLwqNRbMcZ6JLRJAaZ1oU1DvRwoGoQFsGkGQhsNx5Md0gntbywNLMMHDlKqthOT8qcW/NvLmjugo90b2OleBR4yIQIAseM+v++kOtsUKT3o/m+8nhxxgBBwAoLBIAFgAA="; + if (!isDataURI(wasmBinaryFile)) { + wasmBinaryFile = locateFile(wasmBinaryFile); + } + function getBinarySync(file) { + if (file == wasmBinaryFile && wasmBinary) { + return new Uint8Array(wasmBinary); + } + var binary = tryParseAsDataURI(file); + if (binary) { + return binary; + } + if (readBinary) { + return readBinary(file); + } + throw "both async and sync fetching of the wasm failed"; + } + function getBinaryPromise(binaryFile) { + return Promise.resolve().then(() => getBinarySync(binaryFile)); + } + function instantiateArrayBuffer(binaryFile, imports, receiver) { + return getBinaryPromise(binaryFile).then((binary) => { + return WebAssembly.instantiate(binary, imports); + }).then(receiver, (reason) => { + err(`failed to asynchronously prepare wasm: ${reason}`); + abort(reason); + }); + } + function instantiateAsync(binary, binaryFile, imports, callback) { + return instantiateArrayBuffer(binaryFile, imports, callback); + } + function createWasm() { + var info = { + "env": wasmImports, + "wasi_snapshot_preview1": wasmImports + }; + function receiveInstance(instance, module) { + wasmExports = instance.exports; + wasmMemory = wasmExports["memory"]; + updateMemoryViews(); + addOnInit(wasmExports["__wasm_call_ctors"]); + removeRunDependency("wasm-instantiate"); + return wasmExports; + } + addRunDependency("wasm-instantiate"); + function receiveInstantiationResult(result) { + receiveInstance(result["instance"]); + } + if (Module2["instantiateWasm"]) { + try { + return Module2["instantiateWasm"](info, receiveInstance); + } catch (e) { + err(`Module.instantiateWasm callback failed with error: ${e}`); + readyPromiseReject(e); + } + } + instantiateAsync(wasmBinary, wasmBinaryFile, info, receiveInstantiationResult).catch(readyPromiseReject); + return {}; + } + var tempDouble; + var tempI64; + function ExitStatus(status) { + this.name = "ExitStatus"; + this.message = `Program terminated with exit(${status})`; + this.status = status; + } + var callRuntimeCallbacks = (callbacks) => { + while (callbacks.length > 0) { + callbacks.shift()(Module2); + } + }; + function getValue(ptr, type = "i8") { + if (type.endsWith("*")) + type = "*"; + switch (type) { + case "i1": + return HEAP8[ptr]; + case "i8": + return HEAP8[ptr]; + case "i16": + return HEAP16[ptr >> 1]; + case "i32": + return HEAP32[ptr >> 2]; + case "i64": + abort("to do getValue(i64) use WASM_BIGINT"); + case "float": + return HEAPF32[ptr >> 2]; + case "double": + return HEAPF64[ptr >> 3]; + case "*": + return HEAPU32[ptr >> 2]; + default: + abort(`invalid type for getValue: ${type}`); + } + } + var noExitRuntime = Module2["noExitRuntime"] || true; + function setValue(ptr, value, type = "i8") { + if (type.endsWith("*")) + type = "*"; + switch (type) { + case "i1": + HEAP8[ptr] = value; + break; + case "i8": + HEAP8[ptr] = value; + break; + case "i16": + HEAP16[ptr >> 1] = value; + break; + case "i32": + HEAP32[ptr >> 2] = value; + break; + case "i64": + abort("to do setValue(i64) use WASM_BIGINT"); + case "float": + HEAPF32[ptr >> 2] = value; + break; + case "double": + HEAPF64[ptr >> 3] = value; + break; + case "*": + HEAPU32[ptr >> 2] = value; + break; + default: + abort(`invalid type for setValue: ${type}`); + } + } + var wasmImports = {}; + var wasmExports = createWasm(); + var ___wasm_call_ctors = () => (___wasm_call_ctors = wasmExports["__wasm_call_ctors"])(); + var _Hash_Update = Module2["_Hash_Update"] = (a0) => (_Hash_Update = Module2["_Hash_Update"] = wasmExports["Hash_Update"])(a0); + var _Hash_Final = Module2["_Hash_Final"] = () => (_Hash_Final = Module2["_Hash_Final"] = wasmExports["Hash_Final"])(); + var _Hash_Init = Module2["_Hash_Init"] = (a0) => (_Hash_Init = Module2["_Hash_Init"] = wasmExports["Hash_Init"])(a0); + var _GetBufferPtr = Module2["_GetBufferPtr"] = () => (_GetBufferPtr = Module2["_GetBufferPtr"] = wasmExports["GetBufferPtr"])(); + var stackSave = () => (stackSave = wasmExports["stackSave"])(); + var stackRestore = (a0) => (stackRestore = wasmExports["stackRestore"])(a0); + var stackAlloc = (a0) => (stackAlloc = wasmExports["stackAlloc"])(a0); + var calledRun; + dependenciesFulfilled = function runCaller() { + if (!calledRun) + run(); + if (!calledRun) + dependenciesFulfilled = runCaller; + }; + function run() { + if (runDependencies > 0) { + return; + } + preRun(); + if (runDependencies > 0) { + return; + } + function doRun() { + if (calledRun) + return; + calledRun = true; + Module2["calledRun"] = true; + if (ABORT) + return; + initRuntime(); + readyPromiseResolve(Module2); + if (Module2["onRuntimeInitialized"]) + Module2["onRuntimeInitialized"](); + postRun(); + } + if (Module2["setStatus"]) { + Module2["setStatus"]("Running..."); + setTimeout(function() { + setTimeout(function() { + Module2["setStatus"](""); + }, 1); + doRun(); + }, 1); + } else { + doRun(); + } + } + if (Module2["preInit"]) { + if (typeof Module2["preInit"] == "function") + Module2["preInit"] = [Module2["preInit"]]; + while (Module2["preInit"].length > 0) { + Module2["preInit"].pop()(); + } + } + run(); + return moduleArg.ready; + }; +})(); +var sha256_default = Module; + +// src/vendor/hash-wasm/sha256-wrapper.ts +async function createSHA256(isInsideWorker = false) { + const BUFFER_MAX_SIZE = 8 * 1024 * 1024; + const wasm = isInsideWorker ? ( + // @ts-expect-error WasmModule will be populated inside self object + await self["SHA256WasmModule"]() + ) : await sha256_default(); + const heap = wasm.HEAPU8.subarray(wasm._GetBufferPtr()); + return { + init() { + wasm._Hash_Init(256); + }, + update(data) { + let byteUsed = 0; + while (byteUsed < data.byteLength) { + const bytesLeft = data.byteLength - byteUsed; + const length = Math.min(bytesLeft, BUFFER_MAX_SIZE); + heap.set(data.subarray(byteUsed, byteUsed + length)); + wasm._Hash_Update(length); + byteUsed += length; + } + }, + digest(method) { + if (method !== "hex") { + throw new Error("Only digest hex is supported"); + } + wasm._Hash_Final(); + const result = Array.from(heap.slice(0, 32)); + return result.map((b) => b.toString(16).padStart(2, "0")).join(""); + } + }; +} +function createSHA256WorkerCode() { + return ` + self.addEventListener('message', async (event) => { + const { file } = event.data; + const sha256 = await self.createSHA256(true); + sha256.init(); + const reader = file.stream().getReader(); + const total = file.size; + let bytesDone = 0; + while (true) { + const { done, value } = await reader.read(); + if (done) { + break; + } + sha256.update(value); + bytesDone += value.length; + postMessage({ progress: bytesDone / total }); + } + postMessage({ sha256: sha256.digest('hex') }); + }); + self.SHA256WasmModule = ${sha256_default.toString()}; + self.createSHA256 = ${createSHA256.toString()}; + `; +} +export { + createSHA256, + createSHA256WorkerCode +}; diff --git a/node_modules/@huggingface/hub/dist/browser/sub-paths-F6TP7MGR.mjs b/node_modules/@huggingface/hub/dist/browser/sub-paths-F6TP7MGR.mjs new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/node_modules/@huggingface/hub/dist/browser/sub-paths-RH3O65LG.js b/node_modules/@huggingface/hub/dist/browser/sub-paths-RH3O65LG.js new file mode 100644 index 0000000000000000000000000000000000000000..9a390c31f71bc7eae1522a280a2dc8f6723185bf --- /dev/null +++ b/node_modules/@huggingface/hub/dist/browser/sub-paths-RH3O65LG.js @@ -0,0 +1 @@ +"use strict"; \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/chunk-GAR7ORU2.mjs b/node_modules/@huggingface/hub/dist/chunk-GAR7ORU2.mjs new file mode 100644 index 0000000000000000000000000000000000000000..7c6f9587491e2b922ac5934c7a9ac6c7f2611764 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/chunk-GAR7ORU2.mjs @@ -0,0 +1,22 @@ +var __defProp = Object.defineProperty; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, { + get: (a, b) => (typeof require !== "undefined" ? require : a)[b] +}) : x)(function(x) { + if (typeof require !== "undefined") + return require.apply(this, arguments); + throw new Error('Dynamic require of "' + x + '" is not supported'); +}); +var __commonJS = (cb, mod) => function __require2() { + return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; +}; +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; + +export { + __require, + __commonJS, + __export +}; diff --git a/node_modules/@huggingface/hub/dist/chunk-SI5XUM7G.mjs b/node_modules/@huggingface/hub/dist/chunk-SI5XUM7G.mjs new file mode 100644 index 0000000000000000000000000000000000000000..468943b1a99e1283f68b00c7c52a5cb846bc0653 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/chunk-SI5XUM7G.mjs @@ -0,0 +1,5828 @@ +// src/lib/cache-management.ts +import { homedir } from "os"; +import { join, basename } from "path"; +import { stat, readdir, readFile, realpath, lstat } from "fs/promises"; +function getDefaultHome() { + return join(homedir(), ".cache"); +} +function getDefaultCachePath() { + return join(process.env["HF_HOME"] ?? join(process.env["XDG_CACHE_HOME"] ?? getDefaultHome(), "huggingface"), "hub"); +} +function getHuggingFaceHubCache() { + return process.env["HUGGINGFACE_HUB_CACHE"] ?? getDefaultCachePath(); +} +function getHFHubCachePath() { + return process.env["HF_HUB_CACHE"] ?? getHuggingFaceHubCache(); +} +var FILES_TO_IGNORE = [".DS_Store"]; +var REPO_ID_SEPARATOR = "--"; +function getRepoFolderName({ name, type }) { + const parts = [`${type}s`, ...name.split("/")]; + return parts.join(REPO_ID_SEPARATOR); +} +async function scanCacheDir(cacheDir = void 0) { + if (!cacheDir) + cacheDir = getHFHubCachePath(); + const s = await stat(cacheDir); + if (!s.isDirectory()) { + throw new Error( + `Scan cache expects a directory but found a file: ${cacheDir}. Please use \`cacheDir\` argument or set \`HF_HUB_CACHE\` environment variable.` + ); + } + const repos = []; + const warnings = []; + const directories = await readdir(cacheDir); + for (const repo of directories) { + if (repo === ".locks") + continue; + const absolute = join(cacheDir, repo); + const s2 = await stat(absolute); + if (!s2.isDirectory()) { + continue; + } + try { + const cached = await scanCachedRepo(absolute); + repos.push(cached); + } catch (err) { + warnings.push(err); + } + } + return { + repos, + size: [...repos.values()].reduce((sum2, repo) => sum2 + repo.size, 0), + warnings + }; +} +async function scanCachedRepo(repoPath) { + const name = basename(repoPath); + if (!name.includes(REPO_ID_SEPARATOR)) { + throw new Error(`Repo path is not a valid HuggingFace cache directory: ${name}`); + } + const [type, ...remaining] = name.split(REPO_ID_SEPARATOR); + const repoType = parseRepoType(type); + const repoId = remaining.join("/"); + const snapshotsPath = join(repoPath, "snapshots"); + const refsPath = join(repoPath, "refs"); + const snapshotStat = await stat(snapshotsPath); + if (!snapshotStat.isDirectory()) { + throw new Error(`Snapshots dir doesn't exist in cached repo ${snapshotsPath}`); + } + const refsByHash = /* @__PURE__ */ new Map(); + const refsStat = await stat(refsPath); + if (refsStat.isDirectory()) { + await scanRefsDir(refsPath, refsByHash); + } + const cachedRevisions = []; + const blobStats = /* @__PURE__ */ new Map(); + const snapshotDirs = await readdir(snapshotsPath); + for (const dir of snapshotDirs) { + if (FILES_TO_IGNORE.includes(dir)) + continue; + const revisionPath = join(snapshotsPath, dir); + const revisionStat = await stat(revisionPath); + if (!revisionStat.isDirectory()) { + throw new Error(`Snapshots folder corrupted. Found a file: ${revisionPath}`); + } + const cachedFiles = []; + await scanSnapshotDir(revisionPath, cachedFiles, blobStats); + const revisionLastModified = cachedFiles.length > 0 ? Math.max(...[...cachedFiles].map((file) => file.blob.lastModifiedAt.getTime())) : revisionStat.mtimeMs; + cachedRevisions.push({ + commitOid: dir, + files: cachedFiles, + refs: refsByHash.get(dir) || [], + size: [...cachedFiles].reduce((sum2, file) => sum2 + file.blob.size, 0), + path: revisionPath, + lastModifiedAt: new Date(revisionLastModified) + }); + refsByHash.delete(dir); + } + if (refsByHash.size > 0) { + throw new Error( + `Reference(s) refer to missing commit hashes: ${JSON.stringify(Object.fromEntries(refsByHash))} (${repoPath})` + ); + } + const repoStats = await stat(repoPath); + const repoLastAccessed = blobStats.size > 0 ? Math.max(...[...blobStats.values()].map((stat3) => stat3.atimeMs)) : repoStats.atimeMs; + const repoLastModified = blobStats.size > 0 ? Math.max(...[...blobStats.values()].map((stat3) => stat3.mtimeMs)) : repoStats.mtimeMs; + return { + id: { + name: repoId, + type: repoType + }, + path: repoPath, + filesCount: blobStats.size, + revisions: cachedRevisions, + size: [...blobStats.values()].reduce((sum2, stat3) => sum2 + stat3.size, 0), + lastAccessedAt: new Date(repoLastAccessed), + lastModifiedAt: new Date(repoLastModified) + }; +} +async function scanRefsDir(refsPath, refsByHash) { + const refFiles = await readdir(refsPath, { withFileTypes: true }); + for (const refFile of refFiles) { + const refFilePath = join(refsPath, refFile.name); + if (refFile.isDirectory()) + continue; + const commitHash = await readFile(refFilePath, "utf-8"); + const refName = refFile.name; + if (!refsByHash.has(commitHash)) { + refsByHash.set(commitHash, []); + } + refsByHash.get(commitHash)?.push(refName); + } +} +async function scanSnapshotDir(revisionPath, cachedFiles, blobStats) { + const files = await readdir(revisionPath, { withFileTypes: true }); + for (const file of files) { + if (file.isDirectory()) + continue; + const filePath = join(revisionPath, file.name); + const blobPath = await realpath(filePath); + const blobStat = await getBlobStat(blobPath, blobStats); + cachedFiles.push({ + path: filePath, + blob: { + path: blobPath, + size: blobStat.size, + lastAccessedAt: new Date(blobStat.atimeMs), + lastModifiedAt: new Date(blobStat.mtimeMs) + } + }); + } +} +async function getBlobStat(blobPath, blobStats) { + const blob = blobStats.get(blobPath); + if (!blob) { + const statResult = await lstat(blobPath); + blobStats.set(blobPath, statResult); + return statResult; + } + return blob; +} +function parseRepoType(type) { + switch (type) { + case "models": + return "model"; + case "datasets": + return "dataset"; + case "spaces": + return "space"; + default: + throw new TypeError(`Invalid repo type: ${type}`); + } +} + +// src/consts.ts +var HUB_URL = "https://huggingface.co"; + +// src/error.ts +async function createApiError(response, opts) { + const error = new HubApiError(response.url, response.status, response.headers.get("X-Request-Id") ?? opts?.requestId); + error.message = `Api error with status ${error.statusCode}${opts?.message ? `. ${opts.message}` : ""}`; + const trailer = [`URL: ${error.url}`, error.requestId ? `Request ID: ${error.requestId}` : void 0].filter(Boolean).join(". "); + if (response.headers.get("Content-Type")?.startsWith("application/json")) { + const json = await response.json(); + error.message = json.error || json.message || error.message; + if (json.error_description) { + error.message = error.message ? error.message + `: ${json.error_description}` : json.error_description; + } + error.data = json; + } else { + error.data = { message: await response.text() }; + } + error.message += `. ${trailer}`; + throw error; +} +var HubApiError = class extends Error { + statusCode; + url; + requestId; + data; + constructor(url, statusCode, requestId, message) { + super(message); + this.statusCode = statusCode; + this.requestId = requestId; + this.url = url; + } +}; +var InvalidApiResponseFormatError = class extends Error { +}; + +// src/utils/checkCredentials.ts +function checkAccessToken(accessToken) { + if (!accessToken.startsWith("hf_")) { + throw new TypeError("Your access token must start with 'hf_'"); + } +} +function checkCredentials(params) { + if (params.accessToken) { + checkAccessToken(params.accessToken); + return params.accessToken; + } + if (params.credentials?.accessToken) { + checkAccessToken(params.credentials.accessToken); + return params.credentials.accessToken; + } +} + +// src/utils/toRepoId.ts +function toRepoId(repo) { + if (typeof repo !== "string") { + return repo; + } + if (repo.startsWith("model/") || repo.startsWith("models/")) { + throw new TypeError( + "A repo designation for a model should not start with 'models/', directly specify the model namespace / name" + ); + } + if (repo.startsWith("space/")) { + throw new TypeError("Spaces should start with 'spaces/', plural, not 'space/'"); + } + if (repo.startsWith("dataset/")) { + throw new TypeError("Datasets should start with 'datasets/', plural, not 'dataset/'"); + } + if (repo.startsWith("bucket/")) { + throw new TypeError("Buckets should start with 'buckets/', plural, not 'bucket/'"); + } + const slashes = repo.split("/").length - 1; + if (repo.startsWith("spaces/")) { + if (slashes !== 2) { + throw new TypeError("Space Id must include namespace and name of the space"); + } + return { + type: "space", + name: repo.slice("spaces/".length) + }; + } + if (repo.startsWith("datasets/")) { + if (slashes > 2) { + throw new TypeError("Too many slashes in repo designation: " + repo); + } + return { + type: "dataset", + name: repo.slice("datasets/".length) + }; + } + if (repo.startsWith("buckets/")) { + if (slashes !== 2) { + throw new TypeError("Bucket Id must include namespace and name of the bucket"); + } + return { + type: "bucket", + name: repo.slice("buckets/".length) + }; + } + if (slashes > 1) { + throw new TypeError("Too many slashes in repo designation: " + repo); + } + return { + type: "model", + name: repo + }; +} + +// src/lib/check-repo-access.ts +async function checkRepoAccess(params) { + const accessToken = params && checkCredentials(params); + const repoId = toRepoId(params.repo); + const response = await (params.fetch || fetch)(`${params?.hubUrl || HUB_URL}/api/${repoId.type}s/${repoId.name}`, { + headers: { + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + }); + if (!response.ok) { + throw await createApiError(response); + } +} + +// src/utils/eventToGenerator.ts +async function* eventToGenerator(cb) { + const promises = []; + function addPromise() { + let resolve3; + let reject; + const p = new Promise((res, rej) => { + resolve3 = res; + reject = rej; + }); + promises.push({ p, resolve: resolve3, reject }); + } + addPromise(); + const callbackRes = Promise.resolve().then( + () => cb( + (y) => { + addPromise(); + promises.at(-2)?.resolve({ done: false, value: y }); + }, + (r) => { + addPromise(); + promises.at(-2)?.resolve({ done: true, value: r }); + }, + (err) => promises.shift()?.reject(err) + ) + ).catch((err) => promises.shift()?.reject(err)); + while (1) { + const p = promises[0]; + if (!p) { + throw new Error("Logic error in eventGenerator, promises should never be empty"); + } + const result = await p.p; + promises.shift(); + if (result.done) { + await callbackRes; + return result.value; + } + yield result.value; + } + throw new Error("Unreachable"); +} + +// src/utils/hexFromBytes.ts +function hexFromBytes(arr) { + if (globalThis.Buffer) { + return globalThis.Buffer.from(arr).toString("hex"); + } else { + const bin = []; + arr.forEach((byte) => { + bin.push(byte.toString(16).padStart(2, "0")); + }); + return bin.join(""); + } +} + +// src/utils/isBackend.ts +var isBrowser = typeof window !== "undefined" && typeof window.document !== "undefined"; +var isWebWorker = typeof self === "object" && self.constructor && self.constructor.name === "DedicatedWorkerGlobalScope"; +var isBackend = !isBrowser && !isWebWorker; + +// src/utils/isFrontend.ts +var isFrontend = !isBackend; + +// src/utils/sha256.ts +async function getWebWorkerCode() { + const sha256Module = await import("./sha256-wrapper-6SHY2YLK.mjs"); + return URL.createObjectURL(new Blob([sha256Module.createSHA256WorkerCode()])); +} +var pendingWorkers = []; +var runningWorkers = /* @__PURE__ */ new Set(); +var resolve; +var waitPromise = new Promise((r) => { + resolve = r; +}); +async function getWorker(poolSize) { + { + const worker2 = pendingWorkers.pop(); + if (worker2) { + runningWorkers.add(worker2); + return worker2; + } + } + if (!poolSize) { + const worker2 = new Worker(await getWebWorkerCode()); + runningWorkers.add(worker2); + return worker2; + } + if (poolSize <= 0) { + throw new TypeError("Invalid webworker pool size: " + poolSize); + } + while (runningWorkers.size >= poolSize) { + await waitPromise; + } + const worker = new Worker(await getWebWorkerCode()); + runningWorkers.add(worker); + return worker; +} +async function freeWorker(worker, poolSize) { + if (!poolSize) { + return destroyWorker(worker); + } + runningWorkers.delete(worker); + pendingWorkers.push(worker); + const r = resolve; + waitPromise = new Promise((r2) => { + resolve = r2; + }); + r(); +} +function destroyWorker(worker) { + runningWorkers.delete(worker); + worker.terminate(); + const r = resolve; + waitPromise = new Promise((r2) => { + resolve = r2; + }); + r(); +} +async function* sha256(buffer, opts) { + yield 0; + const maxCryptoSize = typeof opts?.useWebWorker === "object" && opts?.useWebWorker.minSize !== void 0 ? opts.useWebWorker.minSize : 1e7; + if (buffer.size < maxCryptoSize && globalThis.crypto?.subtle) { + const res = hexFromBytes( + new Uint8Array( + await globalThis.crypto.subtle.digest("SHA-256", buffer instanceof Blob ? await buffer.arrayBuffer() : buffer) + ) + ); + yield 1; + return res; + } + if (isFrontend) { + if (opts?.useWebWorker) { + try { + const poolSize = typeof opts?.useWebWorker === "object" ? opts.useWebWorker.poolSize : void 0; + const worker = await getWorker(poolSize); + let messageHandler; + let errorHandler; + const cleanup = () => { + worker.removeEventListener("message", messageHandler); + worker.removeEventListener("error", errorHandler); + }; + return yield* eventToGenerator((yieldCallback, returnCallback, rejectCallback) => { + messageHandler = (event) => { + if (event.data.sha256) { + cleanup(); + freeWorker(worker, poolSize); + returnCallback(event.data.sha256); + } else if (event.data.progress) { + yieldCallback(event.data.progress); + try { + opts.abortSignal?.throwIfAborted(); + } catch (err) { + cleanup(); + destroyWorker(worker); + rejectCallback(err); + } + } else { + cleanup(); + destroyWorker(worker); + rejectCallback(event); + } + }; + errorHandler = (event) => { + cleanup(); + destroyWorker(worker); + rejectCallback(event.error); + }; + if (opts?.abortSignal) { + try { + opts.abortSignal?.throwIfAborted(); + } catch (err) { + cleanup(); + destroyWorker(worker); + rejectCallback(opts.abortSignal.reason ?? new DOMException("Aborted", "AbortError")); + return; + } + const abortListener = () => { + cleanup(); + destroyWorker(worker); + rejectCallback(opts.abortSignal?.reason ?? new DOMException("Aborted", "AbortError")); + opts.abortSignal?.removeEventListener("abort", abortListener); + }; + opts.abortSignal.addEventListener("abort", abortListener); + } + worker.addEventListener("message", messageHandler); + worker.addEventListener("error", errorHandler); + worker.postMessage({ file: buffer }); + }); + } catch (err) { + console.warn("Failed to use web worker for sha256", err); + } + } + if (!wasmModule) { + wasmModule = await import("./sha256-wrapper-6SHY2YLK.mjs"); + } + const sha2562 = await wasmModule.createSHA256(); + sha2562.init(); + const reader = buffer.stream().getReader(); + const total = buffer.size; + let bytesDone = 0; + while (true) { + const { done, value } = await reader.read(); + if (done) { + break; + } + sha2562.update(value); + bytesDone += value.length; + yield bytesDone / total; + opts?.abortSignal?.throwIfAborted(); + } + return sha2562.digest("hex"); + } + if (!cryptoModule) { + cryptoModule = await import("./sha256-node-KI7ZLGUH.mjs"); + } + return yield* cryptoModule.sha256Node(buffer, { abortSignal: opts?.abortSignal }); +} +var cryptoModule; +var wasmModule; + +// src/utils/combineUint8Arrays.ts +function combineUint8Arrays(a, b) { + const aLength = a.length; + const combinedBytes = new Uint8Array(aLength + b.length); + combinedBytes.set(a); + combinedBytes.set(b, aLength); + return combinedBytes; +} + +// src/vendor/lz4js/util.ts +function hashU32(a) { + a = a | 0; + a = a + 2127912214 + (a << 12) | 0; + a = a ^ -949894596 ^ a >>> 19; + a = a + 374761393 + (a << 5) | 0; + a = a + -744332180 ^ a << 9; + a = a + -42973499 + (a << 3) | 0; + return a ^ -1252372727 ^ a >>> 16 | 0; +} +function readU64(b, n) { + let x = 0; + x |= b[n++] << 0; + x |= b[n++] << 8; + x |= b[n++] << 16; + x |= b[n++] << 24; + x |= b[n++] << 32; + x |= b[n++] << 40; + x |= b[n++] << 48; + x |= b[n++] << 56; + return x; +} +function readU32(b, n) { + let x = 0; + x |= b[n++] << 0; + x |= b[n++] << 8; + x |= b[n++] << 16; + x |= b[n++] << 24; + return x; +} +function writeU32(b, n, x) { + b[n++] = x >> 0 & 255; + b[n++] = x >> 8 & 255; + b[n++] = x >> 16 & 255; + b[n++] = x >> 24 & 255; +} +function imul(a, b) { + const ah = a >>> 16; + const al = a & 65535; + const bh = b >>> 16; + const bl = b & 65535; + return al * bl + (ah * bl + al * bh << 16) | 0; +} + +// src/vendor/lz4js/xxh32.ts +var prime1 = 2654435761; +var prime2 = 2246822519; +var prime3 = 3266489917; +var prime4 = 668265263; +var prime5 = 374761393; +function rotl32(x, r) { + x = x | 0; + r = r | 0; + return x >>> (32 - r | 0) | x << r | 0; +} +function rotmul32(h, r, m) { + h = h | 0; + r = r | 0; + m = m | 0; + return imul(h >>> (32 - r | 0) | h << r, m) | 0; +} +function shiftxor32(h, s) { + h = h | 0; + s = s | 0; + return h >>> s ^ h | 0; +} +function xxhapply(h, src, m0, s, m1) { + return rotmul32(imul(src, m0) + h, s, m1); +} +function xxh1(h, src, index) { + return rotmul32(h + imul(src[index], prime5), 11, prime1); +} +function xxh4(h, src, index) { + return xxhapply(h, readU32(src, index), prime3, 17, prime4); +} +function xxh16(h, src, index) { + return [ + xxhapply(h[0], readU32(src, index + 0), prime2, 13, prime1), + xxhapply(h[1], readU32(src, index + 4), prime2, 13, prime1), + xxhapply(h[2], readU32(src, index + 8), prime2, 13, prime1), + xxhapply(h[3], readU32(src, index + 12), prime2, 13, prime1) + ]; +} +function xxh32(seed, src, index, len) { + let h; + const l = len; + if (len >= 16) { + h = [seed + prime1 + prime2, seed + prime2, seed, seed - prime1]; + while (len >= 16) { + h = xxh16(h, src, index); + index += 16; + len -= 16; + } + h = rotl32(h[0], 1) + rotl32(h[1], 7) + rotl32(h[2], 12) + rotl32(h[3], 18) + l; + } else { + h = seed + prime5 + len >>> 0; + } + while (len >= 4) { + h = xxh4(h, src, index); + index += 4; + len -= 4; + } + while (len > 0) { + h = xxh1(h, src, index); + index++; + len--; + } + h = shiftxor32(imul(shiftxor32(imul(shiftxor32(h, 15), prime2), 13), prime3), 16); + return h >>> 0; +} +var hash = xxh32; + +// src/vendor/lz4js/index.ts +var minMatch = 4; +var matchSearchLimit = 12; +var minTrailingLitterals = 5; +var skipTrigger = 6; +var hashSize = 1 << 16; +var mlBits = 4; +var mlMask = (1 << mlBits) - 1; +var runBits = 4; +var runMask = (1 << runBits) - 1; +var blockBuf = makeBuffer(5 << 20); +var hashTable = makeHashTable(); +var magicNum = 407708164; +var fdContentChksum = 4; +var fdContentSize = 8; +var fdBlockChksum = 16; +var fdVersion = 64; +var fdVersionMask = 192; +var bsUncompressed = 2147483648; +var bsDefault = 7; +var bsShift = 4; +var bsMask = 7; +var bsMap = { + 4: 65536, + 5: 262144, + 6: 1048576, + 7: 4194304 +}; +function makeHashTable() { + try { + return new Uint32Array(hashSize); + } catch (error) { + const hashTable2 = new Array(hashSize); + for (let i = 0; i < hashSize; i++) { + hashTable2[i] = 0; + } + return hashTable2; + } +} +function clearHashTable(table) { + for (let i = 0; i < hashSize; i++) { + table[i] = 0; + } +} +function makeBuffer(size) { + return new Uint8Array(size); +} +function sliceArray(array, start, end) { + return array.slice(start, end); +} +function compressBound(n) { + return n + n / 255 + 16 | 0; +} +function decompressBound(src) { + let sIndex = 0; + if (readU32(src, sIndex) !== magicNum) { + throw new Error("invalid magic number"); + } + sIndex += 4; + const descriptor = src[sIndex++]; + if ((descriptor & fdVersionMask) !== fdVersion) { + throw new Error("incompatible descriptor version " + (descriptor & fdVersionMask)); + } + const useBlockSum = (descriptor & fdBlockChksum) !== 0; + const useContentSize = (descriptor & fdContentSize) !== 0; + const bsIdx = src[sIndex++] >> bsShift & bsMask; + if (bsMap[bsIdx] === void 0) { + throw new Error("invalid block size " + bsIdx); + } + const maxBlockSize = bsMap[bsIdx]; + if (useContentSize) { + return readU64(src, sIndex); + } + sIndex++; + let maxSize = 0; + while (true) { + let blockSize = readU32(src, sIndex); + sIndex += 4; + if (blockSize & bsUncompressed) { + blockSize &= ~bsUncompressed; + maxSize += blockSize; + } else if (blockSize > 0) { + maxSize += maxBlockSize; + } + if (blockSize === 0) { + return maxSize; + } + if (useBlockSum) { + sIndex += 4; + } + sIndex += blockSize; + } +} +function decompressBlock(src, dst, sIndex, sLength, dIndex) { + let mLength, mOffset, sEnd, n, i; + const hasCopyWithin = dst.copyWithin !== void 0 && dst.fill !== void 0; + sEnd = sIndex + sLength; + while (sIndex < sEnd) { + const token = src[sIndex++]; + let literalCount = token >> 4; + if (literalCount > 0) { + if (literalCount === 15) { + while (true) { + literalCount += src[sIndex]; + if (src[sIndex++] !== 255) { + break; + } + } + } + for (n = sIndex + literalCount; sIndex < n; ) { + dst[dIndex++] = src[sIndex++]; + } + } + if (sIndex >= sEnd) { + break; + } + mLength = token & 15; + mOffset = src[sIndex++] | src[sIndex++] << 8; + if (mLength === 15) { + while (true) { + mLength += src[sIndex]; + if (src[sIndex++] !== 255) { + break; + } + } + } + mLength += minMatch; + if (hasCopyWithin && mOffset === 1) { + dst.fill(dst[dIndex - 1] | 0, dIndex, dIndex + mLength); + dIndex += mLength; + } else if (hasCopyWithin && mOffset > mLength && mLength > 31) { + dst.copyWithin(dIndex, dIndex - mOffset, dIndex - mOffset + mLength); + dIndex += mLength; + } else { + for (i = dIndex - mOffset, n = i + mLength; i < n; ) { + dst[dIndex++] = dst[i++] | 0; + } + } + } + return dIndex; +} +function compressBlock(src, dst, sIndex, sLength, hashTable2) { + let mIndex, mAnchor, mLength, mOffset, mStep; + let literalCount, dIndex, sEnd, n; + dIndex = 0; + sEnd = sLength + sIndex; + mAnchor = sIndex; + let searchMatchCount = (1 << skipTrigger) + 3; + while (sIndex <= sEnd - matchSearchLimit) { + const seq = readU32(src, sIndex); + let hash2 = hashU32(seq) >>> 0; + hash2 = (hash2 >> 16 ^ hash2) >>> 0 & 65535; + mIndex = hashTable2[hash2] - 1; + hashTable2[hash2] = sIndex + 1; + if (mIndex < 0 || sIndex - mIndex >>> 16 > 0 || readU32(src, mIndex) !== seq) { + mStep = searchMatchCount++ >> skipTrigger; + sIndex += mStep; + continue; + } + searchMatchCount = (1 << skipTrigger) + 3; + literalCount = sIndex - mAnchor; + mOffset = sIndex - mIndex; + sIndex += minMatch; + mIndex += minMatch; + mLength = sIndex; + while (sIndex < sEnd - minTrailingLitterals && src[sIndex] === src[mIndex]) { + sIndex++; + mIndex++; + } + mLength = sIndex - mLength; + const token = mLength < mlMask ? mLength : mlMask; + if (literalCount >= runMask) { + dst[dIndex++] = (runMask << mlBits) + token; + for (n = literalCount - runMask; n >= 255; n -= 255) { + dst[dIndex++] = 255; + } + dst[dIndex++] = n; + } else { + dst[dIndex++] = (literalCount << mlBits) + token; + } + for (let i = 0; i < literalCount; i++) { + dst[dIndex++] = src[mAnchor + i]; + } + dst[dIndex++] = mOffset; + dst[dIndex++] = mOffset >> 8; + if (mLength >= mlMask) { + for (n = mLength - mlMask; n >= 255; n -= 255) { + dst[dIndex++] = 255; + } + dst[dIndex++] = n; + } + mAnchor = sIndex; + } + if (mAnchor === 0) { + return 0; + } + literalCount = sEnd - mAnchor; + if (literalCount >= runMask) { + dst[dIndex++] = runMask << mlBits; + for (n = literalCount - runMask; n >= 255; n -= 255) { + dst[dIndex++] = 255; + } + dst[dIndex++] = n; + } else { + dst[dIndex++] = literalCount << mlBits; + } + sIndex = mAnchor; + while (sIndex < sEnd) { + dst[dIndex++] = src[sIndex++]; + } + return dIndex; +} +function decompressFrame(src, dst) { + let useBlockSum, useContentSum, useContentSize, descriptor; + let sIndex = 0; + let dIndex = 0; + if (readU32(src, sIndex) !== magicNum) { + throw new Error("invalid magic number"); + } + sIndex += 4; + descriptor = src[sIndex++]; + if ((descriptor & fdVersionMask) !== fdVersion) { + throw new Error("incompatible descriptor version"); + } + useBlockSum = (descriptor & fdBlockChksum) !== 0; + useContentSum = (descriptor & fdContentChksum) !== 0; + useContentSize = (descriptor & fdContentSize) !== 0; + const bsIdx = src[sIndex++] >> bsShift & bsMask; + if (bsMap[bsIdx] === void 0) { + throw new Error("invalid block size"); + } + if (useContentSize) { + sIndex += 8; + } + sIndex++; + while (true) { + var compSize; + compSize = readU32(src, sIndex); + sIndex += 4; + if (compSize === 0) { + break; + } + if (useBlockSum) { + sIndex += 4; + } + if ((compSize & bsUncompressed) !== 0) { + compSize &= ~bsUncompressed; + for (let j = 0; j < compSize; j++) { + dst[dIndex++] = src[sIndex++]; + } + } else { + dIndex = decompressBlock(src, dst, sIndex, compSize, dIndex); + sIndex += compSize; + } + } + if (useContentSum) { + sIndex += 4; + } + return dIndex; +} +function compressFrame(src, dst) { + let dIndex = 0; + writeU32(dst, dIndex, magicNum); + dIndex += 4; + dst[dIndex++] = fdVersion; + dst[dIndex++] = bsDefault << bsShift; + dst[dIndex] = hash(0, dst, 4, dIndex - 4) >> 8; + dIndex++; + const maxBlockSize = bsMap[bsDefault]; + let remaining = src.length; + let sIndex = 0; + clearHashTable(hashTable); + while (remaining > 0) { + let compSize = 0; + const blockSize = remaining > maxBlockSize ? maxBlockSize : remaining; + compSize = compressBlock(src, blockBuf, sIndex, blockSize, hashTable); + if (compSize > blockSize || compSize === 0) { + writeU32(dst, dIndex, 2147483648 | blockSize); + dIndex += 4; + for (let z = sIndex + blockSize; sIndex < z; ) { + dst[dIndex++] = src[sIndex++]; + } + remaining -= blockSize; + } else { + writeU32(dst, dIndex, compSize); + dIndex += 4; + for (let j = 0; j < compSize; ) { + dst[dIndex++] = blockBuf[j++]; + } + sIndex += blockSize; + remaining -= blockSize; + } + } + writeU32(dst, dIndex, 0); + dIndex += 4; + return dIndex; +} +function decompress(src, maxSize) { + let dst, size; + if (maxSize === void 0) { + maxSize = decompressBound(src); + } + dst = makeBuffer(maxSize); + size = decompressFrame(src, dst); + if (size !== maxSize) { + dst = sliceArray(dst, 0, size); + } + return dst; +} +function compress(src, maxSize) { + let dst, size; + if (maxSize === void 0) { + maxSize = compressBound(src.length); + } + dst = makeBuffer(maxSize); + size = compressFrame(src, dst); + if (size !== maxSize) { + dst = sliceArray(dst, 0, size); + } + return dst; +} + +// src/utils/RangeList.ts +var RangeList = class { + ranges = []; + /** + * Add a range to the list. If it overlaps with existing ranges, + * it will split them and increment reference counts accordingly. + */ + add(start, end) { + if (end <= start) { + throw new TypeError("End must be greater than start"); + } + const overlappingRanges = []; + for (let i = 0; i < this.ranges.length; i++) { + const range2 = this.ranges[i]; + if (start < range2.end && end > range2.start) { + overlappingRanges.push({ index: i, range: range2 }); + } + if (range2.data !== null) { + throw new Error("Overlapping range already has data"); + } + } + if (overlappingRanges.length === 0) { + this.ranges.push({ start, end, refCount: 1, data: null }); + this.ranges.sort((a, b) => a.start - b.start); + return; + } + const newRanges = []; + let currentPos = start; + for (let i = 0; i < overlappingRanges.length; i++) { + const { range: range2 } = overlappingRanges[i]; + if (currentPos < range2.start) { + newRanges.push({ + start: currentPos, + end: range2.start, + refCount: 1, + data: null + }); + } else if (range2.start < currentPos) { + newRanges.push({ + start: range2.start, + end: currentPos, + refCount: range2.refCount, + data: null + }); + } + newRanges.push({ + start: Math.max(currentPos, range2.start), + end: Math.min(end, range2.end), + refCount: range2.refCount + 1, + data: null + }); + if (range2.end > end) { + newRanges.push({ + start: end, + end: range2.end, + refCount: range2.refCount, + data: null + }); + } + currentPos = Math.max(currentPos, range2.end); + } + if (currentPos < end) { + newRanges.push({ + start: currentPos, + end, + refCount: 1, + data: null + }); + } + const firstIndex = overlappingRanges[0].index; + const lastIndex = overlappingRanges[overlappingRanges.length - 1].index; + this.ranges.splice(firstIndex, lastIndex - firstIndex + 1, ...newRanges); + this.ranges.sort((a, b) => a.start - b.start); + } + /** + * Remove a range from the list. The range must start and end at existing boundaries. + */ + remove(start, end) { + if (end <= start) { + throw new TypeError("End must be greater than start"); + } + const affectedRanges = []; + for (let i = 0; i < this.ranges.length; i++) { + const range2 = this.ranges[i]; + if (start < range2.end && end > range2.start) { + affectedRanges.push({ index: i, range: range2 }); + } + } + if (affectedRanges.length === 0) { + throw new Error("No ranges found to remove"); + } + if (start !== affectedRanges[0].range.start || end !== affectedRanges[affectedRanges.length - 1].range.end) { + throw new Error("Range boundaries must match existing boundaries"); + } + for (let i = 0; i < affectedRanges.length; i++) { + const { range: range2 } = affectedRanges[i]; + range2.refCount--; + } + this.ranges = this.ranges.filter((range2) => range2.refCount > 0); + } + /** + * Get all ranges within the specified boundaries. + */ + getRanges(start, end) { + if (end <= start) { + throw new TypeError("End must be greater than start"); + } + return this.ranges.filter((range2) => start < range2.end && end > range2.start); + } + /** + * Get all ranges in the list + */ + getAllRanges() { + return [...this.ranges]; + } +}; + +// src/utils/XetBlob.ts +var JWT_SAFETY_PERIOD = 6e4; +var JWT_CACHE_SIZE = 1e3; +var compressionSchemeLabels = { + [0 /* None */]: "None", + [1 /* LZ4 */]: "LZ4", + [2 /* ByteGroupingLZ4 */]: "ByteGroupingLZ4" +}; +var XET_CHUNK_HEADER_BYTES = 8; +var XetBlob = class extends Blob { + fetch; + accessToken; + refreshUrl; + reconstructionUrl; + hash; + start = 0; + end = 0; + internalLogging = false; + reconstructionInfo; + listener; + constructor(params) { + super([]); + this.fetch = params.fetch ?? fetch.bind(globalThis); + this.accessToken = checkCredentials(params); + this.refreshUrl = params.refreshUrl; + this.end = params.size; + this.reconstructionUrl = params.reconstructionUrl; + this.hash = params.hash; + this.listener = params.listener; + this.internalLogging = params.internalLogging ?? false; + if (params.readToken) { + const key = cacheKey({ refreshUrl: this.refreshUrl, initialAccessToken: this.accessToken }); + jwts.set(key, { + accessToken: params.readToken.accessToken, + expiresAt: new Date(params.readToken.exp * 1e3), + casUrl: params.readToken.casUrl + }); + } + } + get size() { + return this.end - this.start; + } + #clone() { + const blob = new XetBlob({ + fetch: this.fetch, + hash: this.hash, + refreshUrl: this.refreshUrl, + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + reconstructionUrl: this.reconstructionUrl, + size: this.size + }); + blob.accessToken = this.accessToken; + blob.start = this.start; + blob.end = this.end; + blob.reconstructionInfo = this.reconstructionInfo; + blob.listener = this.listener; + blob.internalLogging = this.internalLogging; + return blob; + } + slice(start = 0, end = this.size) { + if (start < 0 || end < 0) { + new TypeError("Unsupported negative start/end on XetBlob.slice"); + } + const slice = this.#clone(); + slice.start = this.start + start; + slice.end = Math.min(this.start + end, this.end); + if (slice.start !== this.start || slice.end !== this.end) { + slice.reconstructionInfo = void 0; + } + return slice; + } + #reconstructionInfoPromise; + #loadReconstructionInfo() { + if (this.#reconstructionInfoPromise) { + return this.#reconstructionInfoPromise; + } + this.#reconstructionInfoPromise = (async () => { + const connParams = await getAccessToken(this.accessToken, this.fetch, this.refreshUrl); + const resp = await this.fetch(this.reconstructionUrl ?? `${connParams.casUrl}/v1/reconstructions/${this.hash}`, { + headers: { + Authorization: `Bearer ${connParams.accessToken}`, + Range: `bytes=${this.start}-${this.end - 1}` + } + }); + if (!resp.ok) { + throw await createApiError(resp); + } + this.reconstructionInfo = await resp.json(); + return this.reconstructionInfo; + })().finally(() => this.#reconstructionInfoPromise = void 0); + return this.#reconstructionInfoPromise; + } + async #fetch() { + if (!this.reconstructionInfo) { + await this.#loadReconstructionInfo(); + } + const rangeLists = /* @__PURE__ */ new Map(); + if (!this.reconstructionInfo) { + throw new Error("Failed to load reconstruction info"); + } + for (const term of this.reconstructionInfo.terms) { + let rangeList = rangeLists.get(term.hash); + if (!rangeList) { + rangeList = new RangeList(); + rangeLists.set(term.hash, rangeList); + } + rangeList.add(term.range.start, term.range.end); + } + const listener = this.listener; + const log = this.internalLogging ? (...args) => console.log(...args) : () => { + }; + async function* readData(reconstructionInfo, customFetch, maxBytes, reloadReconstructionInfo) { + let totalBytesRead = 0; + let readBytesToSkip = reconstructionInfo.offset_into_first_range; + for (const term of reconstructionInfo.terms) { + if (totalBytesRead >= maxBytes) { + break; + } + const rangeList = rangeLists.get(term.hash); + if (!rangeList) { + throw new Error(`Failed to find range list for term ${term.hash}`); + } + { + const termRanges = rangeList.getRanges(term.range.start, term.range.end); + if (termRanges.every((range2) => range2.data)) { + log("all data available for term", term.hash, readBytesToSkip); + rangeLoop: + for (const range2 of termRanges) { + for (let chunk2 of range2.data) { + if (readBytesToSkip) { + const skipped = Math.min(readBytesToSkip, chunk2.byteLength); + chunk2 = chunk2.slice(skipped); + readBytesToSkip -= skipped; + if (!chunk2.byteLength) { + continue; + } + } + if (chunk2.byteLength > maxBytes - totalBytesRead) { + chunk2 = chunk2.slice(0, maxBytes - totalBytesRead); + } + totalBytesRead += chunk2.byteLength; + yield range2.refCount > 1 ? chunk2.slice() : chunk2; + listener?.({ event: "progress", progress: { read: totalBytesRead, total: maxBytes } }); + if (totalBytesRead >= maxBytes) { + break rangeLoop; + } + } + } + rangeList.remove(term.range.start, term.range.end); + continue; + } + } + const fetchInfo = reconstructionInfo.fetch_info[term.hash].find( + (info) => info.range.start <= term.range.start && info.range.end >= term.range.end + ); + if (!fetchInfo) { + throw new Error( + `Failed to find fetch info for term ${term.hash} and range ${term.range.start}-${term.range.end}` + ); + } + log("term", term); + log("fetchinfo", fetchInfo); + log("readBytesToSkip", readBytesToSkip); + let resp = await customFetch(fetchInfo.url, { + headers: { + Range: `bytes=${fetchInfo.url_range.start}-${fetchInfo.url_range.end}` + } + }); + if (resp.status === 403) { + reconstructionInfo = await reloadReconstructionInfo(); + resp = await customFetch(fetchInfo.url, { + headers: { + Range: `bytes=${fetchInfo.url_range.start}-${fetchInfo.url_range.end}` + } + }); + } + if (!resp.ok) { + throw await createApiError(resp); + } + log( + "expected content length", + resp.headers.get("content-length"), + "range", + fetchInfo.url_range, + resp.headers.get("content-range") + ); + const reader = resp.body?.getReader(); + if (!reader) { + throw new Error("Failed to get reader from response body"); + } + let done = false; + let chunkIndex = fetchInfo.range.start; + const ranges = rangeList.getRanges(fetchInfo.range.start, fetchInfo.range.end); + let leftoverBytes = void 0; + let totalFetchBytes = 0; + fetchData: + while (!done && totalBytesRead < maxBytes) { + const result = await reader.read(); + listener?.({ event: "read" }); + done = result.done; + log("read", result.value?.byteLength, "bytes", "total read", totalBytesRead, "toSkip", readBytesToSkip); + if (!result.value) { + log("no data in result, cancelled", result); + continue; + } + totalFetchBytes += result.value.byteLength; + if (leftoverBytes) { + result.value = combineUint8Arrays(leftoverBytes, result.value); + leftoverBytes = void 0; + } + while (totalBytesRead < maxBytes && result.value?.byteLength) { + if (result.value.byteLength < 8) { + leftoverBytes = result.value; + continue fetchData; + } + const header = new DataView(result.value.buffer, result.value.byteOffset, XET_CHUNK_HEADER_BYTES); + const chunkHeader = { + version: header.getUint8(0), + compressed_length: header.getUint8(1) | header.getUint8(2) << 8 | header.getUint8(3) << 16, + compression_scheme: header.getUint8(4), + uncompressed_length: header.getUint8(5) | header.getUint8(6) << 8 | header.getUint8(7) << 16 + }; + log("chunk header", chunkHeader, "to skip", readBytesToSkip); + if (chunkHeader.version !== 0) { + throw new Error(`Unsupported chunk version ${chunkHeader.version}`); + } + if (chunkHeader.compression_scheme !== 0 /* None */ && chunkHeader.compression_scheme !== 1 /* LZ4 */ && chunkHeader.compression_scheme !== 2 /* ByteGroupingLZ4 */) { + throw new Error( + `Unsupported compression scheme ${compressionSchemeLabels[chunkHeader.compression_scheme] ?? chunkHeader.compression_scheme}` + ); + } + if (result.value.byteLength < chunkHeader.compressed_length + XET_CHUNK_HEADER_BYTES) { + leftoverBytes = result.value; + continue fetchData; + } + result.value = result.value.slice(XET_CHUNK_HEADER_BYTES); + let uncompressed = chunkHeader.compression_scheme === 1 /* LZ4 */ ? decompress(result.value.slice(0, chunkHeader.compressed_length), chunkHeader.uncompressed_length) : chunkHeader.compression_scheme === 2 /* ByteGroupingLZ4 */ ? bg4_regroup_bytes( + decompress( + result.value.slice(0, chunkHeader.compressed_length), + chunkHeader.uncompressed_length + ) + ) : result.value.slice(0, chunkHeader.compressed_length); + const range2 = ranges.find((range3) => chunkIndex >= range3.start && chunkIndex < range3.end); + const shouldYield = chunkIndex >= term.range.start && chunkIndex < term.range.end; + const minRefCountToStore = shouldYield ? 2 : 1; + let stored = false; + if (range2 && range2.refCount >= minRefCountToStore) { + range2.data ??= []; + range2.data.push(uncompressed); + stored = true; + } + if (shouldYield) { + if (readBytesToSkip) { + const skipped = Math.min(readBytesToSkip, uncompressed.byteLength); + uncompressed = uncompressed.slice(readBytesToSkip); + readBytesToSkip -= skipped; + } + if (uncompressed.byteLength > maxBytes - totalBytesRead) { + uncompressed = uncompressed.slice(0, maxBytes - totalBytesRead); + } + if (uncompressed.byteLength) { + log( + "yield", + uncompressed.byteLength, + "bytes", + result.value.byteLength, + "total read", + totalBytesRead, + stored + ); + totalBytesRead += uncompressed.byteLength; + yield stored ? uncompressed.slice() : uncompressed; + listener?.({ event: "progress", progress: { read: totalBytesRead, total: maxBytes } }); + } + } + chunkIndex++; + result.value = result.value.slice(chunkHeader.compressed_length); + } + } + if (done && totalBytesRead < maxBytes && totalFetchBytes < fetchInfo.url_range.end - fetchInfo.url_range.start + 1) { + log("done", done, "total read", totalBytesRead, maxBytes, totalFetchBytes); + log("failed to fetch all data for term", term.hash); + throw new Error( + `Failed to fetch all data for term ${term.hash}, fetched ${totalFetchBytes} bytes out of ${fetchInfo.url_range.end - fetchInfo.url_range.start + 1}` + ); + } + log("done", done, "total read", totalBytesRead, maxBytes, totalFetchBytes); + log("cancel reader"); + await reader.cancel(); + } + } + const iterator = readData( + this.reconstructionInfo, + this.fetch, + this.end - this.start, + this.#loadReconstructionInfo.bind(this) + ); + return new ReadableStream( + { + // todo: when Safari supports it, type controller as ReadableByteStreamController + async pull(controller) { + const result = await iterator.next(); + if (result.value) { + controller.enqueue(result.value); + } + if (result.done) { + controller.close(); + } + }, + type: "bytes" + // todo: when Safari supports it, add autoAllocateChunkSize param + }, + // todo : use ByteLengthQueuingStrategy when there's good support for it, currently in Node.js it fails due to size being a function + { + highWaterMark: 1e3 + // 1_000 chunks for ~1MB of RAM + } + ); + } + async arrayBuffer() { + const result = await this.#fetch(); + return new Response(result).arrayBuffer(); + } + async text() { + const result = await this.#fetch(); + return new Response(result).text(); + } + async response() { + const result = await this.#fetch(); + return new Response(result); + } + stream() { + const stream = new TransformStream(); + this.#fetch().then((response) => response.pipeThrough(stream)).catch((error) => stream.writable.abort(error.message)); + return stream.readable; + } +}; +var jwtPromises = /* @__PURE__ */ new Map(); +var jwts = /* @__PURE__ */ new Map(); +function cacheKey(params) { + return JSON.stringify([params.refreshUrl, params.initialAccessToken]); +} +function bg4_regroup_bytes(bytes) { + const split = Math.floor(bytes.byteLength / 4); + const rem = bytes.byteLength % 4; + const g1_pos = split + (rem >= 1 ? 1 : 0); + const g2_pos = g1_pos + split + (rem >= 2 ? 1 : 0); + const g3_pos = g2_pos + split + (rem == 3 ? 1 : 0); + const ret = new Uint8Array(bytes.byteLength); + for (let i = 0, j = 0; i < bytes.byteLength; i += 4, j++) { + ret[i] = bytes[j]; + } + for (let i = 1, j = g1_pos; i < bytes.byteLength; i += 4, j++) { + ret[i] = bytes[j]; + } + for (let i = 2, j = g2_pos; i < bytes.byteLength; i += 4, j++) { + ret[i] = bytes[j]; + } + for (let i = 3, j = g3_pos; i < bytes.byteLength; i += 4, j++) { + ret[i] = bytes[j]; + } + return ret; +} +function bg4_split_bytes(bytes) { + const ret = new Uint8Array(bytes.byteLength); + const split = Math.floor(bytes.byteLength / 4); + const rem = bytes.byteLength % 4; + const g1_pos = split + (rem >= 1 ? 1 : 0); + const g2_pos = g1_pos + split + (rem >= 2 ? 1 : 0); + const g3_pos = g2_pos + split + (rem == 3 ? 1 : 0); + for (let i = 0, j = 0; i < bytes.byteLength; i += 4, j++) { + ret[j] = bytes[i]; + } + for (let i = 1, j = g1_pos; i < bytes.byteLength; i += 4, j++) { + ret[j] = bytes[i]; + } + for (let i = 2, j = g2_pos; i < bytes.byteLength; i += 4, j++) { + ret[j] = bytes[i]; + } + for (let i = 3, j = g3_pos; i < bytes.byteLength; i += 4, j++) { + ret[j] = bytes[i]; + } + return ret; +} +async function getAccessToken(initialAccessToken, customFetch, refreshUrl) { + const key = cacheKey({ refreshUrl, initialAccessToken }); + const jwt = jwts.get(key); + if (jwt && jwt.expiresAt > new Date(Date.now() + JWT_SAFETY_PERIOD)) { + return { accessToken: jwt.accessToken, casUrl: jwt.casUrl }; + } + const existingPromise = jwtPromises.get(key); + if (existingPromise) { + return existingPromise; + } + const promise = (async () => { + const resp = await customFetch(refreshUrl, { + headers: { + ...initialAccessToken ? { + Authorization: `Bearer ${initialAccessToken}` + } : {} + } + }); + if (!resp.ok) { + throw new Error(`Failed to get JWT token: ${resp.status} ${await resp.text()}`); + } + const json = await resp.json(); + const jwt2 = { + accessToken: json.accessToken, + expiresAt: new Date(json.exp * 1e3), + casUrl: json.casUrl + }; + jwtPromises.delete(key); + for (const [key2, value] of jwts.entries()) { + if (value.expiresAt < new Date(Date.now() + JWT_SAFETY_PERIOD)) { + jwts.delete(key2); + } else { + break; + } + } + if (jwts.size >= JWT_CACHE_SIZE) { + const keyToDelete = jwts.keys().next().value; + if (keyToDelete) { + jwts.delete(keyToDelete); + } + } + jwts.set(key, jwt2); + return { + accessToken: json.accessToken, + casUrl: json.casUrl + }; + })(); + jwtPromises.set(key, promise); + return promise; +} + +// src/utils/range.ts +function range(n, b) { + return b ? Array(b - n).fill(0).map((_, i) => n + i) : Array(n).fill(0).map((_, i) => i); +} + +// src/utils/chunk.ts +function chunk(arr, chunkSize) { + if (isNaN(chunkSize) || chunkSize < 1) { + throw new RangeError("Invalid chunk size: " + chunkSize); + } + if (!arr.length) { + return []; + } + if (arr.length <= chunkSize) { + return [arr]; + } + return range(Math.ceil(arr.length / chunkSize)).map((i) => { + return arr.slice(i * chunkSize, (i + 1) * chunkSize); + }); +} + +// src/utils/promisesQueue.ts +async function promisesQueue(factories, concurrency) { + const results = []; + const executing = /* @__PURE__ */ new Set(); + let index = 0; + for (const factory of factories) { + const closureIndex = index++; + const e = factory().then((r) => { + results[closureIndex] = r; + executing.delete(e); + }); + executing.add(e); + if (executing.size >= concurrency) { + await Promise.race(executing); + } + } + await Promise.all(executing); + return results; +} + +// src/utils/promisesQueueStreaming.ts +async function promisesQueueStreaming(factories, concurrency) { + const executing = []; + for await (const factory of factories) { + const e = factory().then(() => { + executing.splice(executing.indexOf(e), 1); + }); + executing.push(e); + if (executing.length >= concurrency) { + await Promise.race(executing); + } + } + await Promise.all(executing); +} + +// src/utils/WebBlob.ts +var WebBlob = class extends Blob { + static async create(url, opts) { + const customFetch = opts?.fetch ?? fetch; + const response = await customFetch(url, { + method: "HEAD", + ...opts?.accessToken && { + headers: { + Authorization: `Bearer ${opts.accessToken}` + } + } + }); + const size = Number(response.headers.get("content-length")); + const contentType = response.headers.get("content-type") || ""; + const supportRange = response.headers.get("accept-ranges") === "bytes"; + if (!supportRange || size < (opts?.cacheBelow ?? 1e6)) { + return await (await customFetch(url)).blob(); + } + return new WebBlob(url, 0, size, contentType, true, customFetch, opts?.accessToken); + } + url; + start; + end; + contentType; + full; + fetch; + accessToken; + constructor(url, start, end, contentType, full, customFetch, accessToken) { + super([]); + this.url = url; + this.start = start; + this.end = end; + this.contentType = contentType; + this.full = full; + this.fetch = customFetch; + this.accessToken = accessToken; + } + get size() { + return this.end - this.start; + } + get type() { + return this.contentType; + } + slice(start = 0, end = this.size) { + if (start < 0 || end < 0) { + new TypeError("Unsupported negative start/end on WebBlob.slice"); + } + const slice = new WebBlob( + this.url, + this.start + start, + Math.min(this.start + end, this.end), + this.contentType, + start === 0 && end === this.size ? this.full : false, + this.fetch, + this.accessToken + ); + return slice; + } + async arrayBuffer() { + const result = await this.fetchRange(); + return result.arrayBuffer(); + } + async text() { + const result = await this.fetchRange(); + return result.text(); + } + stream() { + const stream = new TransformStream(); + this.fetchRange().then((response) => response.body?.pipeThrough(stream)).catch((error) => stream.writable.abort(error.message)); + return stream.readable; + } + fetchRange() { + const fetch2 = this.fetch; + if (this.full) { + return fetch2(this.url, { + ...this.accessToken && { + headers: { + Authorization: `Bearer ${this.accessToken}` + } + } + }).then((resp) => resp.ok ? resp : createApiError(resp)); + } + return fetch2(this.url, { + headers: { + Range: `bytes=${this.start}-${this.end - 1}`, + ...this.accessToken && { Authorization: `Bearer ${this.accessToken}` } + } + }).then((resp) => resp.ok ? resp : createApiError(resp)); + } +}; + +// src/utils/base64FromBytes.ts +function base64FromBytes(arr) { + if (globalThis.Buffer) { + return globalThis.Buffer.from(arr).toString("base64"); + } else { + const bin = []; + arr.forEach((byte) => { + bin.push(String.fromCharCode(byte)); + }); + return globalThis.btoa(bin.join("")); + } +} + +// src/utils/createBlobs.ts +async function createBlobs(url, destPath, opts) { + if (url.protocol === "http:" || url.protocol === "https:") { + const blob = await WebBlob.create(url, { fetch: opts?.fetch, accessToken: opts?.accessToken }); + return [{ path: destPath, blob }]; + } + if (isFrontend) { + throw new TypeError(`Unsupported URL protocol "${url.protocol}"`); + } + if (url.protocol === "file:") { + const { FileBlob } = await import("./FileBlob-7KXBO7HQ.mjs"); + const { subPaths } = await import("./sub-paths-JTJURQDM.mjs"); + const paths = await subPaths(url, opts?.maxFolderDepth); + if (paths.length === 1 && paths[0].relativePath === ".") { + const blob = await FileBlob.create(url); + return [{ path: destPath, blob }]; + } + return Promise.all( + paths.map(async (path2) => ({ + path: `${destPath}/${path2.relativePath}`.replace(/\/[.]$/, "").replaceAll("//", "/").replace(/^[.]?\//, ""), + blob: await FileBlob.create(new URL(path2.path)) + })) + ); + } + throw new TypeError(`Unsupported URL protocol "${url.protocol}"`); +} + +// src/utils/ChunkCache.ts +var CHUNK_CACHE_INITIAL_SIZE = 1e4; +var CHUNK_CACHE_GROW_FACTOR = 1.5; +var CHUNK_CACHE_MAX_SIZE = 1e6; +var ChunkCache = class { + index = 0; + // Index >= 0 means local xorb, < 0 means remote xorb + xorbIndices; + // Max 8K chunks per xorb, less than 64K uint16_t + chunkIndices; + map = /* @__PURE__ */ new Map(); + // hash -> chunkCacheIndex. Less overhead that way, empty object is 60+B and empty array is 40+B + hmacs = /* @__PURE__ */ new Set(); + // todo : remove old hmacs + maxSize; + constructor(maxSize = CHUNK_CACHE_MAX_SIZE) { + if (maxSize < 1) { + throw new Error("maxSize must be at least 1"); + } + this.maxSize = maxSize; + this.xorbIndices = new Int32Array(Math.min(CHUNK_CACHE_INITIAL_SIZE, maxSize)); + this.chunkIndices = new Uint16Array(Math.min(CHUNK_CACHE_INITIAL_SIZE, maxSize)); + } + addChunkToCache(hash2, xorbIndex, chunkIndex, hmac) { + if (this.map.has(hash2)) { + return; + } + if (this.map.values().next().value === this.index) { + this.map.delete(this.map.keys().next().value); + } + this.map.set(hash2, this.index); + if (hmac !== null) { + this.hmacs.add(hmac); + } + if (this.index >= this.xorbIndices.length) { + const oldXorbIndices = this.xorbIndices; + const oldChunkIndices = this.chunkIndices; + this.xorbIndices = new Int32Array(Math.min(this.xorbIndices.length * CHUNK_CACHE_GROW_FACTOR, this.maxSize)); + this.chunkIndices = new Uint16Array(Math.min(this.chunkIndices.length * CHUNK_CACHE_GROW_FACTOR, this.maxSize)); + this.xorbIndices.set(oldXorbIndices); + this.chunkIndices.set(oldChunkIndices); + } + this.xorbIndices[this.index] = xorbIndex; + this.chunkIndices[this.index] = chunkIndex; + this.index = (this.index + 1) % this.maxSize; + } + getChunk(hash2, hmacFunction) { + let index = this.map.get(hash2); + if (index === void 0 && hmacFunction !== null) { + for (const hmac of this.hmacs) { + index = this.map.get(hmacFunction(hash2, hmac)); + if (index !== void 0) { + break; + } + } + } + if (index === void 0) { + return void 0; + } + return { + xorbIndex: this.xorbIndices[index], + chunkIndex: this.chunkIndices[index] + }; + } + updateChunkIndex(hash2, chunkIndex) { + const index = this.map.get(hash2); + if (index === void 0) { + throw new Error(`Chunk not found in cache: ${hash2}`); + } + this.chunkIndices[index] = chunkIndex; + } + removeChunkFromCache(hash2) { + this.map.delete(hash2); + } +}; + +// src/utils/xetWriteToken.ts +var JWT_SAFETY_PERIOD2 = 6e4; +var JWT_CACHE_SIZE2 = 1e3; +var jwtPromises2 = /* @__PURE__ */ new Map(); +var jwts2 = /* @__PURE__ */ new Map(); +async function xetWriteToken(params) { + if (params.xetParams.expiresAt && params.xetParams.casUrl && params.xetParams.accessToken && params.xetParams.expiresAt > new Date(Date.now() + JWT_SAFETY_PERIOD2)) { + return { accessToken: params.xetParams.accessToken, casUrl: params.xetParams.casUrl }; + } + const key = params.xetParams.refreshWriteTokenUrl; + const jwt = jwts2.get(key); + if (jwt && jwt.expiresAt > new Date(Date.now() + JWT_SAFETY_PERIOD2)) { + return { accessToken: jwt.accessToken, casUrl: jwt.casUrl }; + } + const existingPromise = jwtPromises2.get(key); + if (existingPromise) { + return existingPromise; + } + const promise = (async () => { + const resp = await (params.fetch ?? fetch)(params.xetParams.refreshWriteTokenUrl, { + headers: { + ...params.accessToken ? { + Authorization: `Bearer ${params.accessToken}` + } : {}, + ...params.xetParams.sessionId ? { "X-Xet-Session-Id": params.xetParams.sessionId } : {} + } + }); + if (!resp.ok) { + throw await createApiError(resp); + } + const json = await resp.json(); + const jwt2 = { + accessToken: json.accessToken, + expiresAt: new Date(json.exp * 1e3), + casUrl: json.casUrl + }; + jwtPromises2.delete(key); + for (const [key2, value] of jwts2.entries()) { + if (value.expiresAt < new Date(Date.now() + JWT_SAFETY_PERIOD2)) { + jwts2.delete(key2); + } else { + break; + } + } + if (jwts2.size >= JWT_CACHE_SIZE2) { + const keyToDelete = jwts2.keys().next().value; + if (keyToDelete) { + jwts2.delete(keyToDelete); + } + } + jwts2.set(key, jwt2); + return { + accessToken: json.accessToken, + casUrl: json.casUrl + }; + })(); + jwtPromises2.set(key, promise); + return promise; +} + +// src/utils/shardParser.ts +var HASH_LENGTH = 32; +var XORB_HASH_BOOKEND = "ff".repeat(HASH_LENGTH); +function readHashFromArray(array, offset) { + let hash2 = ""; + for (let i = 0; i < HASH_LENGTH; i += 8) { + hash2 += `${array[offset + i + 7].toString(16).padStart(2, "0")}${array[offset + i + 6].toString(16).padStart(2, "0")}${array[offset + i + 5].toString(16).padStart(2, "0")}${array[offset + i + 4].toString(16).padStart(2, "0")}${array[offset + i + 3].toString(16).padStart(2, "0")}${array[offset + i + 2].toString(16).padStart(2, "0")}${array[offset + i + 1].toString(16).padStart(2, "0")}${array[offset + i].toString(16).padStart(2, "0")}`; + } + return hash2; +} +async function parseShardData(shardBlob) { + const shard = new Uint8Array(await shardBlob.arrayBuffer()); + const shardView = new DataView(shard.buffer); + const magicTag = shard.slice(0, SHARD_MAGIC_TAG.length); + if (!magicTag.every((byte, i) => byte === SHARD_MAGIC_TAG[i])) { + throw new Error("Invalid shard magic tag"); + } + const version = shardView.getBigUint64(SHARD_MAGIC_TAG.length, true); + if (version !== SHARD_HEADER_VERSION) { + throw new Error(`Invalid shard version: ${version}`); + } + const footerSize = Number(shardView.getBigUint64(SHARD_MAGIC_TAG.length + 8, true)); + const footerStart = shard.length - footerSize; + const footerVersion = shardView.getBigUint64(footerStart, true); + if (footerVersion !== SHARD_FOOTER_VERSION) { + throw new Error(`Invalid shard footer version: ${footerVersion}`); + } + const xorbInfoStart = Number(shardView.getBigUint64(footerStart + 16, true)); + const fileLookupStart = Number(shardView.getBigUint64(footerStart + 24, true)); + const hmacKey = readHashFromArray(shard, footerStart + 72); + const xorbs = []; + let offset = xorbInfoStart; + while (offset < fileLookupStart) { + const xorbHash = readHashFromArray(shard, offset); + offset += HASH_LENGTH; + if (xorbHash === XORB_HASH_BOOKEND) { + break; + } + offset += 4; + const chunkCount = shardView.getUint32(offset, true); + offset += 4; + offset += 4; + offset += 4; + const chunks = []; + for (let i = 0; i < chunkCount; i++) { + const chunkHash = readHashFromArray(shard, offset); + offset += HASH_LENGTH; + const startOffset = shardView.getUint32(offset, true); + offset += 4; + const length = shardView.getUint32(offset, true); + offset += 4; + offset += 8; + chunks.push({ + hash: chunkHash, + startOffset, + unpackedLength: length + }); + } + xorbs.push({ + hash: xorbHash, + chunks + }); + } + return { + hmacKey, + xorbs + }; +} + +// src/utils/sum.ts +function sum(arr) { + return arr.reduce((a, b) => a + b, 0); +} + +// src/utils/SplicedBlob.ts +var SplicedBlob = class extends Blob { + originalBlob; + spliceOperations; + constructor(originalBlob, spliceOperations) { + super(); + this.originalBlob = originalBlob; + this.spliceOperations = spliceOperations; + } + static create(originalBlob, operations) { + for (const op of operations) { + if (op.start < 0 || op.end < 0) { + throw new Error("Invalid start/end positions for SplicedBlob"); + } + if (op.start > originalBlob.size || op.end > originalBlob.size) { + throw new Error("Invalid start/end positions for SplicedBlob"); + } + if (op.start > op.end) { + throw new Error("Invalid start/end positions for SplicedBlob"); + } + } + const sortedOps = [...operations].sort((a, b) => a.start - b.start); + for (let i = 0; i < sortedOps.length - 1; i++) { + if (sortedOps[i].end > sortedOps[i + 1].start) { + throw new Error("Overlapping splice operations are not supported"); + } + } + return new SplicedBlob(originalBlob, sortedOps); + } + /** + * Returns the size of the spliced blob. + * Size = original size - total replaced size + total insert size + */ + get size() { + let totalReplacedSize = 0; + let totalInsertSize = 0; + for (const op of this.spliceOperations) { + totalReplacedSize += op.end - op.start; + totalInsertSize += op.insert.size; + } + return this.originalBlob.size - totalReplacedSize + totalInsertSize; + } + /** + * Returns the MIME type of the original blob. + */ + get type() { + return this.originalBlob.type; + } + /** + * Returns a new instance of SplicedBlob that is a slice of the current one. + * + * The slice is inclusive of the start and exclusive of the end. + * The slice method does not support negative start/end. + * + * @param start beginning of the slice + * @param end end of the slice + */ + slice(start = 0, end = this.size) { + if (start < 0 || end < 0) { + throw new TypeError("Unsupported negative start/end on SplicedBlob.slice"); + } + start = Math.min(start, this.size); + end = Math.min(end, this.size); + if (start >= end) { + return new Blob([]); + } + const segments = this.segments; + const segmentBoundaries = [0]; + let cumulativeSize = 0; + for (const segment of segments) { + cumulativeSize += segment.size; + segmentBoundaries.push(cumulativeSize); + } + const resultSegments = []; + for (let i = 0; i < segments.length; i++) { + const segmentStart = segmentBoundaries[i]; + const segmentEnd = segmentBoundaries[i + 1]; + if (segmentEnd <= start) { + continue; + } + if (segmentStart >= end) { + break; + } + const sliceStart = Math.max(0, start - segmentStart); + const sliceEnd = Math.min(segments[i].size, end - segmentStart); + if (sliceStart < sliceEnd) { + resultSegments.push(segments[i].slice(sliceStart, sliceEnd)); + } + } + return new Blob(resultSegments); + } + get firstSpliceIndex() { + return this.spliceOperations[0]?.start ?? Infinity; + } + /** + * Read the spliced blob content and returns it as an ArrayBuffer. + */ + async arrayBuffer() { + const segments = this.segments; + const buffers = await Promise.all(segments.map((segment) => segment.arrayBuffer())); + const totalSize = sum(buffers.map((buffer) => buffer.byteLength)); + const result = new Uint8Array(totalSize); + let offset = 0; + for (const buffer of buffers) { + result.set(new Uint8Array(buffer), offset); + offset += buffer.byteLength; + } + return result.buffer; + } + /** + * Read the spliced blob content and returns it as a string. + */ + async text() { + const buffer = await this.arrayBuffer(); + return new TextDecoder().decode(buffer); + } + /** + * Returns a stream around the spliced blob content. + */ + stream() { + const readable = new ReadableStream({ + start: async (controller) => { + try { + const segments = this.segments; + for (const segment of segments) { + const reader = segment.stream().getReader(); + try { + while (true) { + const { done, value } = await reader.read(); + if (done) { + break; + } + controller.enqueue(value); + } + } finally { + reader.releaseLock(); + } + } + controller.close(); + } catch (error) { + controller.error(error); + } + } + }); + return readable; + } + /** + * Get all segments that make up the spliced blob. + * This includes original blob segments between splice operations and insert blobs. + */ + get segments() { + const segments = []; + let currentPosition = 0; + const sortedOps = [...this.spliceOperations].sort((a, b) => a.start - b.start); + for (const op of sortedOps) { + if (currentPosition < op.start) { + segments.push(this.originalBlob.slice(currentPosition, op.start)); + } + if (op.insert.size > 0) { + segments.push(op.insert); + } + currentPosition = op.end; + } + if (currentPosition < this.originalBlob.size) { + segments.push(this.originalBlob.slice(currentPosition)); + } + return segments; + } +}; + +// src/utils/createXorbs.ts +var TARGET_CHUNK_SIZE = 64 * 1024; +var MAX_CHUNK_SIZE = 2 * TARGET_CHUNK_SIZE; +var XORB_SIZE = 64 * 1024 * 1024; +var MAX_XORB_CHUNKS = 8 * 1024; +var INTERVAL_BETWEEN_REMOTE_DEDUP = 4e6; +var PROCESSING_PROGRESS_RATIO = 0.1; +var UPLOADING_PROGRESS_RATIO = 1 - PROCESSING_PROGRESS_RATIO; +var CurrentXorbInfo = class { + id; + offset; + chunks; + fileProcessedBytes; + fileUploadedBytes; + fileSize; + data; + immutableData; + constructor() { + this.id = 0; + this.offset = 0; + this.chunks = []; + this.fileProcessedBytes = {}; + this.fileUploadedBytes = {}; + this.fileSize = {}; + this.data = new Uint8Array(XORB_SIZE); + this.immutableData = null; + } + event(computeXorbHash) { + const xorbChunksCleaned = this.chunks.map((chunk2) => ({ + hash: chunk2.hash, + length: chunk2.length + })); + return { + event: "xorb", + xorb: this.data.subarray(0, this.offset), + hash: computeXorbHash(xorbChunksCleaned), + chunks: xorbChunksCleaned, + id: this.id, + files: Object.entries(this.fileProcessedBytes).map(([path2, processedBytes]) => ({ + path: path2, + progress: processedBytes / this.fileSize[path2], + lastSentProgress: ((this.fileUploadedBytes[path2] ?? 0) + (processedBytes - (this.fileUploadedBytes[path2] ?? 0)) * PROCESSING_PROGRESS_RATIO) / this.fileSize[path2] + })) + }; + } +}; +async function* createXorbs(fileSources, params) { + const alreadyDoneFileSha256s = /* @__PURE__ */ new Set(); + const chunkModule = await import("./chunker_wasm-77LEM2OQ.mjs"); + let xorbId = 0; + await chunkModule.init(); + const chunkCache = new ChunkCache(); + let xorb = new CurrentXorbInfo(); + const nextXorb = (currentFile) => { + const event = xorb.event(chunkModule.compute_xorb_hash.bind(chunkModule)); + xorbId++; + xorb = new CurrentXorbInfo(); + xorb.id = xorbId; + xorb.fileUploadedBytes = { + [currentFile.path]: currentFile.uploadedBytes + }; + xorb.fileSize[currentFile.path] = currentFile.size; + return event; + }; + const pendingFileEvents = []; + const remoteXorbHashes = [""]; + for await (const fileSource of fileSources) { + params.yieldCallback?.({ + event: "fileProgress", + path: fileSource.path, + progress: 0 + }); + if (fileSource.sha256 && alreadyDoneFileSha256s.has(fileSource.sha256)) { + params.yieldCallback?.({ + event: "fileProgress", + path: fileSource.path, + progress: 1 + }); + continue; + } + if (fileSource.sha256) { + alreadyDoneFileSha256s.add(fileSource.sha256); + } + const chunker = new chunkModule.Chunker(TARGET_CHUNK_SIZE); + try { + xorb.fileSize[fileSource.path] = fileSource.content.size; + if (fileSource.content instanceof SplicedBlob && fileSource.content.firstSpliceIndex < MAX_CHUNK_SIZE) { + await loadDedupInfoToCache( + fileSource.content.originalBlob.slice(0, MAX_CHUNK_SIZE), + remoteXorbHashes, + params, + chunkCache, + chunkModule, + { + maxChunks: 1, + isAtBeginning: true + } + ); + } + let bytesSinceRemoteDedup = Infinity; + let bytesSinceLastProgressEvent = 0; + let isFirstFileChunk = true; + const sourceChunks = []; + const reader = fileSource.content.stream().getReader(); + let processedBytes = 0; + let dedupedBytes = 0; + const fileChunks = []; + const chunkMetadata = []; + const addChunks = async function* (chunks) { + for (const chunk2 of chunks) { + if (isFirstFileChunk) { + chunk2.dedup = true; + isFirstFileChunk = false; + } + let chunkIndex = xorb.chunks.length; + let chunkXorbId = xorbId; + const chunkToCopy = removeChunkFromSourceData(sourceChunks, chunk2.length); + let cacheData = chunkCache.getChunk(chunk2.hash, chunkModule.compute_hmac); + if (cacheData === void 0 && chunk2.dedup && bytesSinceRemoteDedup >= INTERVAL_BETWEEN_REMOTE_DEDUP) { + const token = await xetWriteToken(params); + bytesSinceRemoteDedup = 0; + const shardResp = await (params.fetch ?? fetch)(token.casUrl + "/v1/chunks/default/" + chunk2.hash, { + headers: { + Authorization: `Bearer ${token.accessToken}` + } + }); + if (shardResp.ok) { + const shard = await shardResp.blob(); + const shardData = await parseShardData(shard); + for (const xorb2 of shardData.xorbs) { + const remoteXorbId = -remoteXorbHashes.length; + remoteXorbHashes.push(xorb2.hash); + let i = 0; + for (const chunk3 of xorb2.chunks) { + chunkCache.addChunkToCache(chunk3.hash, remoteXorbId, i++, shardData.hmacKey); + } + } + cacheData = chunkCache.getChunk(chunk2.hash, chunkModule.compute_hmac); + const oldDedupedBytes = dedupedBytes; + dedupedBytes = backtrackDedup( + xorb, + chunkModule.compute_hmac.bind(chunkModule), + shardData, + chunkCache, + chunkMetadata, + dedupedBytes + ); + if (dedupedBytes > oldDedupedBytes) { + xorb.fileUploadedBytes[fileSource.path] ??= 0; + xorb.fileUploadedBytes[fileSource.path] += dedupedBytes - oldDedupedBytes; + } + } + } + if (cacheData === void 0) { + if (!writeChunk(xorb, chunkToCopy, chunk2.hash)) { + yield nextXorb({ path: fileSource.path, uploadedBytes: processedBytes, size: fileSource.content.size }); + chunkIndex = 0; + chunkXorbId = xorbId; + for (const event of pendingFileEvents) { + event.representation = event.representation.map((rep) => ({ + ...rep, + xorbId: rep.xorbId >= 0 ? rep.xorbId : remoteXorbHashes[-rep.xorbId] + })); + yield event; + } + pendingFileEvents.length = 0; + if (!writeChunk(xorb, chunkToCopy, chunk2.hash)) { + throw new Error("Failed to write chunk into xorb"); + } + } + chunkCache.addChunkToCache(chunk2.hash, xorbId, chunkIndex, null); + } else { + chunkXorbId = cacheData.xorbIndex; + chunkIndex = cacheData.chunkIndex; + dedupedBytes += chunk2.length; + xorb.fileUploadedBytes[fileSource.path] ??= 0; + xorb.fileUploadedBytes[fileSource.path] += chunk2.length; + } + bytesSinceRemoteDedup += chunk2.length; + bytesSinceLastProgressEvent += chunk2.length; + fileChunks.push({ hash: chunk2.hash, length: chunk2.length }); + chunkMetadata.push({ + xorbId: chunkXorbId, + chunkIndex, + length: chunk2.length + }); + xorb.fileProcessedBytes[fileSource.path] = processedBytes; + if (bytesSinceLastProgressEvent >= 1e6) { + bytesSinceLastProgressEvent = 0; + params.yieldCallback?.({ + event: "fileProgress", + path: fileSource.path, + progress: ((xorb.fileUploadedBytes[fileSource.path] ?? 0) + (xorb.fileProcessedBytes[fileSource.path] - (xorb.fileUploadedBytes[fileSource.path] ?? 0)) * PROCESSING_PROGRESS_RATIO) / fileSource.content.size + }); + } + if (xorb.chunks.length >= MAX_XORB_CHUNKS) { + yield nextXorb({ path: fileSource.path, uploadedBytes: processedBytes, size: fileSource.content.size }); + for (const event of pendingFileEvents) { + event.representation = event.representation.map((rep) => ({ + ...rep, + xorbId: rep.xorbId >= 0 ? rep.xorbId : remoteXorbHashes[-rep.xorbId] + })); + yield event; + } + pendingFileEvents.length = 0; + } + } + }; + while (true) { + const { done, value } = await reader.read(); + if (done) { + yield* addChunks(chunker.finish()); + break; + } + processedBytes += value.length; + sourceChunks.push(value); + yield* addChunks(chunker.add_data(value)); + } + const fileRepresentation = buildFileRepresentation( + chunkMetadata, + fileChunks, + chunkModule.compute_verification_hash.bind(chunkModule) + ); + xorb.immutableData = { + chunkIndex: xorb.chunks.length, + offset: xorb.offset + }; + const dedupRatio = fileSource.content.size > 0 ? dedupedBytes / fileSource.content.size : 0; + pendingFileEvents.push({ + event: "file", + path: fileSource.path, + hash: chunkModule.compute_file_hash(fileChunks), + sha256: fileSource.sha256, + dedupRatio, + representation: fileRepresentation + }); + } finally { + chunker.free(); + } + } + if (xorb.offset > 0) { + yield xorb.event(chunkModule.compute_xorb_hash.bind(chunkModule)); + } + for (const event of pendingFileEvents) { + event.representation = event.representation.map((rep) => ({ + ...rep, + xorbId: rep.xorbId >= 0 ? rep.xorbId : remoteXorbHashes[-rep.xorbId] + })); + yield event; + } +} +function backtrackDedup(xorb, computeHmac, shardData, chunkCache, chunkMetadata, dedupedBytes) { + const chunkIndexesToBacktrackFor = /* @__PURE__ */ new Map(); + for (let chunkToRecheckIndex = xorb.immutableData?.chunkIndex ?? 0; chunkToRecheckIndex < xorb.chunks.length; chunkToRecheckIndex++) { + const chunk2 = xorb.chunks[chunkToRecheckIndex]; + const hmacHash = computeHmac(chunk2.hash, shardData.hmacKey); + const cacheData = chunkCache.getChunk(hmacHash, null); + if (cacheData !== void 0) { + chunkIndexesToBacktrackFor.set(chunkToRecheckIndex, { + xorbId: cacheData.xorbIndex, + chunkIndex: cacheData.chunkIndex + }); + chunkCache.removeChunkFromCache(chunk2.hash); + } + } + for (const metadata of chunkMetadata) { + if (metadata.xorbId === xorb.id && chunkIndexesToBacktrackFor.has(metadata.chunkIndex)) { + const backtrackData = chunkIndexesToBacktrackFor.get(metadata.chunkIndex); + if (backtrackData !== void 0) { + metadata.xorbId = backtrackData.xorbId; + metadata.chunkIndex = backtrackData.chunkIndex; + dedupedBytes += metadata.length; + } + } + } + const xorbRangesToErase = []; + for (let i = 0; i < xorb.chunks.length; i++) { + const chunk2 = xorb.chunks[i]; + if (chunkIndexesToBacktrackFor.has(i)) { + xorbRangesToErase.push({ + start: chunk2.offset, + end: i < xorb.chunks.length - 1 ? xorb.chunks[i + 1].offset : xorb.offset + }); + } + } + const xorbRangesToKeep = []; + let currentStart = 0; + for (let i = 0; i < xorbRangesToErase.length; i++) { + const range2 = xorbRangesToErase[i]; + if (currentStart !== range2.start) { + xorbRangesToKeep.push({ start: currentStart, end: range2.start }); + } + currentStart = range2.end; + } + if (currentStart !== xorb.offset) { + xorbRangesToKeep.push({ start: currentStart, end: xorb.offset }); + } + let currentOffset = 0; + for (const range2 of xorbRangesToKeep) { + if (range2.start !== currentOffset) { + xorb.data.set(xorb.data.subarray(range2.start, range2.end), currentOffset); + } + currentOffset += range2.end - range2.start; + } + const newXorbChunks = []; + const oldIndexToNewIndex = /* @__PURE__ */ new Map(); + let erasedOffset = 0; + for (let i = 0; i < xorb.chunks.length; i++) { + const chunk2 = xorb.chunks[i]; + if (chunkIndexesToBacktrackFor.has(i)) { + if (i < xorb.chunks.length - 1) { + erasedOffset += xorb.chunks[i + 1].offset - chunk2.offset; + } + } else { + newXorbChunks.push({ + hash: chunk2.hash, + length: chunk2.length, + offset: chunk2.offset - erasedOffset + }); + if (erasedOffset > 0) { + oldIndexToNewIndex.set(i, newXorbChunks.length - 1); + } + } + } + xorb.chunks = newXorbChunks; + xorb.offset = currentOffset; + for (const chunk2 of chunkMetadata) { + if (chunk2.xorbId === xorb.id) { + const newIndex = oldIndexToNewIndex.get(chunk2.chunkIndex); + if (newIndex !== void 0) { + const cached = chunkCache.getChunk(xorb.chunks[newIndex].hash, null); + if (cached !== void 0 && cached.xorbIndex === chunk2.xorbId && cached.chunkIndex === chunk2.chunkIndex) { + chunkCache.updateChunkIndex(xorb.chunks[newIndex].hash, newIndex); + } + chunk2.chunkIndex = newIndex; + } + } + } + return dedupedBytes; +} +function removeChunkFromSourceData(sourceChunks, chunkLength) { + if (chunkLength === sourceChunks[0].length) { + const chunkToCopy = sourceChunks[0]; + sourceChunks.shift(); + return chunkToCopy; + } else if (chunkLength < sourceChunks[0].length) { + const chunkToCopy = sourceChunks[0].subarray(0, chunkLength); + sourceChunks[0] = sourceChunks[0].subarray(chunkLength); + return chunkToCopy; + } else { + const chunkToCopy = new Uint8Array(chunkLength); + let copyOffset = 0; + let index = 0; + let toSlice = -1; + while (copyOffset < chunkLength) { + const nToCopy = Math.min(sourceChunks[index].length, chunkLength - copyOffset); + chunkToCopy.set(sourceChunks[index].subarray(0, nToCopy), copyOffset); + copyOffset += nToCopy; + if (nToCopy === sourceChunks[index].length) { + index++; + } else { + toSlice = nToCopy; + } + } + sourceChunks.splice(0, index); + if (toSlice !== -1) { + sourceChunks[0] = sourceChunks[0].subarray(toSlice); + } + return chunkToCopy; + } +} +function writeChunk(xorb, chunk2, hash2) { + const regularCompressedChunk = compress(chunk2); + const bgCompressedChunk = compress(bg4_split_bytes(chunk2)); + const compressedChunk = bgCompressedChunk.length < regularCompressedChunk.length ? bgCompressedChunk : regularCompressedChunk; + const chunkToWrite = compressedChunk.length < chunk2.length ? compressedChunk : chunk2; + if (xorb.offset + XET_CHUNK_HEADER_BYTES + chunkToWrite.length > XORB_SIZE) { + return false; + } + xorb.data[xorb.offset] = 0; + xorb.data[xorb.offset + 1] = chunkToWrite.length & 255; + xorb.data[xorb.offset + 2] = chunkToWrite.length >> 8 & 255; + xorb.data[xorb.offset + 3] = chunkToWrite.length >> 16 & 255; + xorb.data[xorb.offset + 4] = chunkToWrite.length < chunk2.length ? bgCompressedChunk.length < regularCompressedChunk.length ? 2 /* ByteGroupingLZ4 */ : 1 /* LZ4 */ : 0 /* None */; + xorb.data[xorb.offset + 5] = chunk2.length & 255; + xorb.data[xorb.offset + 6] = chunk2.length >> 8 & 255; + xorb.data[xorb.offset + 7] = chunk2.length >> 16 & 255; + xorb.data.set(chunkToWrite, xorb.offset + XET_CHUNK_HEADER_BYTES); + xorb.chunks.push({ hash: hash2, length: chunk2.length, offset: xorb.offset }); + xorb.offset += XET_CHUNK_HEADER_BYTES + chunkToWrite.length; + return true; +} +var buildFileRepresentation = (metadata, chunks, computeVerificationHash) => { + if (metadata.length === 0) { + return []; + } + const representation = []; + let currentRange = { + xorbId: metadata[0].xorbId, + indexStart: metadata[0].chunkIndex, + indexEnd: metadata[0].chunkIndex + 1, + length: metadata[0].length, + chunkHashStart: 0 + }; + for (let i = 1; i < metadata.length; i++) { + const chunk2 = metadata[i]; + if (currentRange.xorbId === chunk2.xorbId && currentRange.indexEnd === chunk2.chunkIndex) { + currentRange.indexEnd = chunk2.chunkIndex + 1; + currentRange.length += chunk2.length; + } else { + const rangeHash2 = computeVerificationHash(chunks.slice(currentRange.chunkHashStart, i).map((x) => x.hash)); + representation.push({ + xorbId: currentRange.xorbId, + indexStart: currentRange.indexStart, + indexEnd: currentRange.indexEnd, + length: currentRange.length, + rangeHash: rangeHash2 + }); + currentRange = { + xorbId: chunk2.xorbId, + indexStart: chunk2.chunkIndex, + indexEnd: chunk2.chunkIndex + 1, + length: chunk2.length, + chunkHashStart: i + }; + } + } + const rangeHash = computeVerificationHash(chunks.slice(currentRange.chunkHashStart).map((x) => x.hash)); + representation.push({ + xorbId: currentRange.xorbId, + indexStart: currentRange.indexStart, + indexEnd: currentRange.indexEnd, + length: currentRange.length, + rangeHash + }); + return representation; +}; +async function loadDedupInfoToCache(content, remoteXorbHashes, params, chunkCache, chunkModule, opts) { + const chunker = new chunkModule.Chunker(TARGET_CHUNK_SIZE); + const cache = chunkCache; + let dedupedBytes = 0; + let chunksProcessed = 0; + let totalBytes = 0; + let bytesSinceRemoteDedup = Infinity; + const sourceChunks = []; + try { + const reader = content.stream().getReader(); + const processChunks = async (chunkData) => { + for (const chunk2 of chunkData) { + chunksProcessed++; + if (opts?.isAtBeginning && chunksProcessed === 1) { + chunk2.dedup = true; + } + totalBytes += chunk2.length; + removeChunkFromSourceData(sourceChunks, chunk2.length); + let cacheData = cache.getChunk(chunk2.hash, chunkModule.compute_hmac); + if (cacheData !== void 0) { + dedupedBytes += chunk2.length; + bytesSinceRemoteDedup += chunk2.length; + continue; + } + if (chunk2.dedup && bytesSinceRemoteDedup >= INTERVAL_BETWEEN_REMOTE_DEDUP) { + const token = await xetWriteToken(params); + bytesSinceRemoteDedup = 0; + const shardResp = await (params.fetch ?? fetch)(token.casUrl + "/v1/chunks/default/" + chunk2.hash, { + headers: { + Authorization: `Bearer ${token.accessToken}` + } + }); + if (shardResp.ok) { + const shard = await shardResp.blob(); + const shardData = await parseShardData(shard); + for (const xorb of shardData.xorbs) { + const remoteXorbId = -remoteXorbHashes.length; + remoteXorbHashes.push(xorb.hash); + let i = 0; + for (const xorbChunk of xorb.chunks) { + cache.addChunkToCache(xorbChunk.hash, remoteXorbId, i++, shardData.hmacKey); + } + } + cacheData = cache.getChunk(chunk2.hash, chunkModule.compute_hmac); + } + } + if (cacheData !== void 0) { + dedupedBytes += chunk2.length; + } + bytesSinceRemoteDedup += chunk2.length; + } + }; + while (true) { + if (opts?.end !== void 0 && totalBytes >= opts.end) { + break; + } + if (opts?.maxChunks !== void 0 && chunksProcessed >= opts.maxChunks) { + break; + } + const { done, value } = await reader.read(); + if (done) { + await processChunks(chunker.finish()); + break; + } + sourceChunks.push(value); + await processChunks(chunker.add_data(value)); + } + } finally { + chunker.free(); + } +} + +// src/utils/uploadShards.ts +var SHARD_MAX_SIZE = 64 * 1024 * 1024; +var SHARD_HEADER_SIZE = 48; +var SHARD_FOOTER_SIZE = 200; +var HASH_LENGTH2 = 32; +var XORB_FOOTER_LENGTH = 48; +var FILE_FOOTER_LENGTH = 48; +var SHARD_HEADER_VERSION = 2n; +var SHARD_FOOTER_VERSION = 1n; +var MDB_FILE_FLAG_WITH_VERIFICATION = 2147483648; +var MDB_FILE_FLAG_WITH_METADATA_EXT = 1073741824; +var EMPTY_HEX_HASH = "0".repeat(HASH_LENGTH2 * 2); +var SHARD_MAGIC_TAG = new Uint8Array([ + "H".charCodeAt(0), + "F".charCodeAt(0), + "R".charCodeAt(0), + "e".charCodeAt(0), + "p".charCodeAt(0), + "o".charCodeAt(0), + "M".charCodeAt(0), + "e".charCodeAt(0), + "t".charCodeAt(0), + "a".charCodeAt(0), + "D".charCodeAt(0), + "a".charCodeAt(0), + "t".charCodeAt(0), + "a".charCodeAt(0), + 0, + 85, + 105, + 103, + 69, + 106, + 123, + 129, + 87, + 131, + 165, + 189, + 217, + 92, + 205, + 209, + 74, + 169 +]); +async function* uploadShards(source, params) { + const xorbHashes = []; + const fileInfoSection = new Uint8Array(Math.floor(SHARD_MAX_SIZE - SHARD_HEADER_SIZE - SHARD_FOOTER_SIZE) * 0.25); + const xorbInfoSection = new Uint8Array(Math.floor(SHARD_MAX_SIZE - SHARD_HEADER_SIZE - SHARD_FOOTER_SIZE) * 0.75); + const xorbView = new DataView(xorbInfoSection.buffer); + let xorbViewOffset = 0; + const fileInfoView = new DataView(fileInfoSection.buffer); + let fileViewOffset = 0; + let xorbTotalSize = 0n; + let fileTotalSize = 0n; + let xorbTotalUnpackedSize = 0n; + for await (const output of createXorbs(source, params)) { + switch (output.event) { + case "xorb": { + xorbHashes.push(output.hash); + const xorbEntrySize = HASH_LENGTH2 + 4 + 4 + 4 + 4; + const chunksSize = output.chunks.length * (HASH_LENGTH2 + 4 + 4 + 8); + const totalXorbSize = xorbEntrySize + chunksSize; + if (xorbViewOffset + totalXorbSize > xorbInfoSection.length) { + if (xorbViewOffset > 0 || fileViewOffset > 0) { + await uploadShard(createShard(), params); + } + } + writeHashToArray(output.hash, xorbInfoSection, xorbViewOffset); + xorbViewOffset += HASH_LENGTH2; + xorbView.setUint32(xorbViewOffset, 0, true); + xorbViewOffset += 4; + xorbView.setUint32(xorbViewOffset, output.chunks.length, true); + xorbViewOffset += 4; + const xorbUnpackedSize = sum(output.chunks.map((x) => x.length)); + xorbView.setUint32(xorbViewOffset, xorbUnpackedSize, true); + xorbTotalUnpackedSize += BigInt(xorbUnpackedSize); + xorbTotalSize += BigInt(output.xorb.byteLength); + xorbViewOffset += 4; + xorbView.setUint32(xorbViewOffset, output.xorb.byteLength, true); + xorbViewOffset += 4; + let chunkBytes = 0; + for (const chunk2 of output.chunks) { + writeHashToArray(chunk2.hash, xorbInfoSection, xorbViewOffset); + xorbViewOffset += HASH_LENGTH2; + xorbView.setUint32(xorbViewOffset, chunkBytes, true); + xorbViewOffset += 4; + xorbView.setUint32(xorbViewOffset, chunk2.length, true); + xorbViewOffset += 4; + xorbView.setBigUint64(xorbViewOffset, 0n, true); + xorbViewOffset += 8; + chunkBytes += chunk2.length; + } + for (const file of output.files) { + yield { + event: "fileProgress", + path: file.path, + progress: file.lastSentProgress + }; + } + await uploadXorb(output, params); + for (const file of output.files) { + yield { event: "fileProgress", path: file.path, progress: file.progress }; + } + break; + } + case "file": { + yield { + event: "file", + path: output.path, + xetHash: output.hash, + sha256: output.sha256, + dedupRatio: output.dedupRatio + }; + const fileHeaderSize = HASH_LENGTH2 + 4 + 4 + 8; + const representationSize = output.representation.length * (HASH_LENGTH2 + 4 + 4 + 4 + 4); + const verificationSize = output.representation.length * (HASH_LENGTH2 + 16); + const metadataSize = HASH_LENGTH2 + 16; + const totalFileSize = fileHeaderSize + representationSize + verificationSize + metadataSize; + if (fileViewOffset + totalFileSize > fileInfoSection.length) { + if (xorbViewOffset > 0 || fileViewOffset > 0) { + await uploadShard(createShard(), params); + } + } + writeHashToArray(output.hash, fileInfoSection, fileViewOffset); + fileViewOffset += HASH_LENGTH2; + fileInfoView.setUint32(fileViewOffset, MDB_FILE_FLAG_WITH_METADATA_EXT + MDB_FILE_FLAG_WITH_VERIFICATION, true); + fileViewOffset += 4; + fileInfoView.setUint32(fileViewOffset, output.representation.length, true); + fileViewOffset += 4; + fileInfoView.setBigUint64(fileViewOffset, 0n, true); + fileViewOffset += 8; + for (const repItem of output.representation) { + writeHashToArray( + typeof repItem.xorbId === "number" ? xorbHashes[repItem.xorbId] : repItem.xorbId, + fileInfoSection, + fileViewOffset + ); + fileViewOffset += HASH_LENGTH2; + fileInfoView.setUint32(fileViewOffset, 0, true); + fileViewOffset += 4; + fileInfoView.setUint32(fileViewOffset, repItem.length, true); + fileViewOffset += 4; + fileInfoView.setUint32(fileViewOffset, repItem.indexStart, true); + fileViewOffset += 4; + fileInfoView.setUint32(fileViewOffset, repItem.indexEnd, true); + fileViewOffset += 4; + } + for (const repItem of output.representation) { + writeHashToArray(repItem.rangeHash, fileInfoSection, fileViewOffset); + fileViewOffset += HASH_LENGTH2; + for (let i = 0; i < 16; i++) { + fileInfoSection[fileViewOffset + i] = 0; + } + fileViewOffset += 16; + } + writeHashToArray(output.sha256 ?? EMPTY_HEX_HASH, fileInfoSection, fileViewOffset); + fileViewOffset += HASH_LENGTH2; + for (let i = 0; i < 16; i++) { + fileInfoSection[fileViewOffset + i] = 0; + } + fileViewOffset += 16; + break; + } + } + } + function createShard() { + const shard = new Uint8Array( + SHARD_HEADER_SIZE + SHARD_FOOTER_SIZE + xorbViewOffset + XORB_FOOTER_LENGTH + fileViewOffset + FILE_FOOTER_LENGTH + ); + const shardView = new DataView(shard.buffer); + let shardOffset = 0; + shard.set(SHARD_MAGIC_TAG, shardOffset); + shardOffset += SHARD_MAGIC_TAG.length; + shardView.setBigUint64(shardOffset, SHARD_HEADER_VERSION, true); + shardOffset += 8; + shardView.setBigUint64(shardOffset, BigInt(SHARD_FOOTER_SIZE), true); + shardOffset += 8; + shard.set(fileInfoSection.slice(0, fileViewOffset), shardOffset); + shardOffset += fileViewOffset; + for (let i = 0; i < 32; i++) { + shard[shardOffset + i] = 255; + } + shardOffset += 32; + for (let i = 0; i < 16; i++) { + shard[shardOffset + i] = 0; + } + shardOffset += 16; + const xorbInfoOffset = shardOffset; + shard.set(xorbInfoSection.slice(0, xorbViewOffset), shardOffset); + shardOffset += xorbViewOffset; + for (let i = 0; i < 32; i++) { + shard[shardOffset + i] = 255; + } + shardOffset += 32; + for (let i = 0; i < 16; i++) { + shard[shardOffset + i] = 0; + } + shardOffset += 16; + const footerOffset = shardOffset; + shardView.setBigUint64(shardOffset, SHARD_FOOTER_VERSION, true); + shardOffset += 8; + shardView.setBigUint64(shardOffset, BigInt(SHARD_HEADER_SIZE), true); + shardOffset += 8; + shardView.setBigUint64(shardOffset, BigInt(xorbInfoOffset), true); + shardOffset += 8; + for (let i = 0; i < 48; i++) { + shardView.setUint8(shardOffset + i, 0); + } + shardOffset += 48; + for (let i = 0; i < 32; i++) { + shardView.setUint8(shardOffset + i, 0); + } + shardOffset += 32; + shardView.setBigUint64(shardOffset, BigInt(Math.floor(Date.now() / 1e3)), true); + shardOffset += 8; + shardView.setBigUint64(shardOffset, 0n, true); + shardOffset += 8; + for (let i = 0; i < 48; i++) { + shardView.setUint8(shardOffset + i, 0); + } + shardOffset += 48; + shardView.setBigUint64(shardOffset, xorbTotalSize, true); + shardOffset += 8; + shardView.setBigUint64(shardOffset, fileTotalSize, true); + shardOffset += 8; + shardView.setBigUint64(shardOffset, xorbTotalUnpackedSize, true); + shardOffset += 8; + shardView.setBigUint64(shardOffset, BigInt(footerOffset), true); + xorbViewOffset = 0; + fileViewOffset = 0; + xorbTotalSize = 0n; + xorbTotalUnpackedSize = 0n; + fileTotalSize = 0n; + return shard; + } + if (xorbViewOffset || fileViewOffset) { + await uploadShard(createShard(), params); + } +} +function writeHashToArray(hash2, array, offset) { + for (let i = 0; i < hash2.length; i += 16) { + array[offset + i / 2] = parseInt(hash2.substring(i + 2 * 7, i + 2 * 8), 16); + array[offset + i / 2 + 1] = parseInt(hash2.substring(i + 2 * 6, i + 2 * 7), 16); + array[offset + i / 2 + 2] = parseInt(hash2.substring(i + 2 * 5, i + 2 * 6), 16); + array[offset + i / 2 + 3] = parseInt(hash2.substring(i + 2 * 4, i + 2 * 5), 16); + array[offset + i / 2 + 4] = parseInt(hash2.substring(i + 2 * 3, i + 2 * 4), 16); + array[offset + i / 2 + 5] = parseInt(hash2.substring(i + 2 * 2, i + 2 * 3), 16); + array[offset + i / 2 + 6] = parseInt(hash2.substring(i + 2 * 1, i + 2 * 2), 16); + array[offset + i / 2 + 7] = parseInt(hash2.substring(i + 2 * 0, i + 2 * 1), 16); + } +} +async function uploadXorb(xorb, params) { + const token = await xetWriteToken(params); + const resp = await (params.fetch ?? fetch)(`${token.casUrl}/v1/xorbs/default/${xorb.hash}`, { + method: "POST", + body: xorb.xorb, + headers: { + Authorization: `Bearer ${token.accessToken}`, + ...params.xetParams.sessionId ? { "X-Xet-Session-Id": params.xetParams.sessionId } : {} + }, + ...{ + progressHint: { + progressCallback: (progress) => { + for (const file of xorb.files) { + params.yieldCallback?.({ + event: "fileProgress", + path: file.path, + progress: file.lastSentProgress + (file.progress - file.lastSentProgress) * progress + }); + } + } + } + } + }); + if (!resp.ok) { + throw await createApiError(resp); + } +} +async function uploadShard(shard, params) { + const token = await xetWriteToken(params); + const resp = await (params.fetch ?? fetch)(`${token.casUrl}/v1/shards`, { + method: "POST", + body: shard, + headers: { + Authorization: `Bearer ${token.accessToken}`, + ...params.xetParams.sessionId ? { "X-Xet-Session-Id": params.xetParams.sessionId } : {} + } + }); + if (!resp.ok) { + throw await createApiError(resp); + } +} + +// src/utils/splitAsyncGenerator.ts +function splitAsyncGenerator(source, n) { + if (n <= 0) { + return []; + } + const sleep = (ms) => new Promise((resolve3) => setTimeout(resolve3, ms)); + let takenIndex = null; + const generators = []; + let remaining = n; + for (let i = 0; i < n; i++) { + generators.push({ + next: async () => { + while (takenIndex !== null) { + await sleep(1); + } + takenIndex = i; + return source.next().then((r) => { + takenIndex = null; + return r; + }); + }, + return: async () => { + remaining--; + if (remaining === 0) { + return source.return(void 0); + } + return { + done: true, + value: void 0 + }; + }, + throw: async (error) => { + return source.throw(error); + }, + [Symbol.asyncIterator]: () => generators[i] + }); + } + return generators; +} + +// src/lib/commit.ts +var CONCURRENT_SHAS = 5; +var CONCURRENT_LFS_UPLOADS = 5; +var MULTIPART_PARALLEL_UPLOAD = 5; +function isFileOperation(op) { + const ret = op.operation === "addOrUpdate"; + if (ret && !(op.content instanceof Blob)) { + throw new TypeError("Precondition failed: op.content should be a Blob"); + } + return ret; +} +async function* commitIter(params) { + const accessToken = checkCredentials(params); + const repoId = toRepoId(params.repo); + if (repoId.type === "bucket") { + return yield* commitIterBucket(params); + } + yield { event: "phase", phase: "preuploading" }; + let useXet = params.useXet ?? true; + const lfsShas = /* @__PURE__ */ new Map(); + const abortController = new AbortController(); + const abortSignal = abortController.signal; + if (!abortSignal.throwIfAborted) { + abortSignal.throwIfAborted = () => { + if (abortSignal.aborted) { + throw new DOMException("Aborted", "AbortError"); + } + }; + } + if (params.abortSignal) { + params.abortSignal.addEventListener("abort", () => abortController.abort()); + } + try { + const allOperations = (await Promise.all( + params.operations.map(async (operation) => { + if (operation.operation === "edit") { + const splicedBlob = SplicedBlob.create( + operation.originalContent, + operation.edits.map((splice) => ({ insert: splice.content, start: splice.start, end: splice.end })) + ); + return { + operation: "addOrUpdate", + path: operation.path, + content: splicedBlob + }; + } + if (operation.operation !== "addOrUpdate") { + return operation; + } + if (!(operation.content instanceof URL)) { + return { ...operation, content: operation.content }; + } + const lazyBlobs = await createBlobs(operation.content, operation.path, { + fetch: params.fetch, + maxFolderDepth: params.maxFolderDepth + }); + abortSignal?.throwIfAborted(); + return lazyBlobs.map((blob) => ({ + ...operation, + content: blob.blob, + path: blob.path + })); + }) + )).flat(1); + const gitAttributes = allOperations.filter(isFileOperation).find((op) => op.path === ".gitattributes")?.content; + for (const operations of chunk(allOperations.filter(isFileOperation), 100)) { + const payload = { + gitAttributes: gitAttributes && await gitAttributes.text(), + files: await Promise.all( + operations.map(async (operation) => ({ + path: operation.path, + size: operation.content.size, + sample: base64FromBytes(new Uint8Array(await operation.content.slice(0, 512).arrayBuffer())) + })) + ) + }; + abortSignal?.throwIfAborted(); + const res = await (params.fetch ?? fetch)( + `${params.hubUrl ?? HUB_URL}/api/${repoId.type}s/${repoId.name}/preupload/${encodeURIComponent( + params.branch ?? "main" + )}` + (params.isPullRequest ? "?create_pr=1" : ""), + { + method: "POST", + headers: { + ...accessToken && { Authorization: `Bearer ${accessToken}` }, + "Content-Type": "application/json" + }, + body: JSON.stringify(payload), + signal: abortSignal + } + ); + if (!res.ok) { + throw await createApiError(res); + } + const json = await res.json(); + for (const file of json.files) { + if (file.uploadMode === "lfs") { + lfsShas.set(file.path, null); + } + } + } + yield { event: "phase", phase: "uploadingLargeFiles" }; + for (const operations of chunk( + allOperations.filter(isFileOperation).filter((op) => lfsShas.has(op.path)), + 100 + )) { + const shas = yield* eventToGenerator((yieldCallback, returnCallback, rejectCallack) => { + return promisesQueue( + operations.map((op) => async () => { + const iterator = sha256(op.content, { useWebWorker: params.useWebWorkers, abortSignal }); + let res2; + do { + res2 = await iterator.next(); + if (!res2.done) { + yieldCallback({ event: "fileProgress", path: op.path, progress: res2.value, state: "hashing" }); + } + } while (!res2.done); + const sha = res2.value; + lfsShas.set(op.path, res2.value); + return sha; + }), + CONCURRENT_SHAS + ).then(returnCallback, rejectCallack); + }); + abortSignal?.throwIfAborted(); + const payload = { + operation: "upload", + // multipart is a custom protocol for HF + transfers: ["basic", "multipart", ...useXet ? ["xet"] : []], + hash_algo: "sha_256", + ...!params.isPullRequest && { + ref: { + name: params.branch ?? "main" + } + }, + objects: operations.map((op, i) => ({ + oid: shas[i], + size: op.content.size + })) + }; + const res = await (params.fetch ?? fetch)( + `${params.hubUrl ?? HUB_URL}/${repoId.type === "model" ? "" : repoId.type + "s/"}${repoId.name}.git/info/lfs/objects/batch`, + { + method: "POST", + headers: { + ...accessToken && { Authorization: `Bearer ${accessToken}` }, + Accept: "application/vnd.git-lfs+json", + "Content-Type": "application/vnd.git-lfs+json" + }, + body: JSON.stringify(payload), + signal: abortSignal + } + ); + if (!res.ok) { + throw await createApiError(res); + } + const json = await res.json(); + const batchRequestId = res.headers.get("X-Request-Id") || void 0; + const shaToOperation = new Map(operations.map((op, i) => [shas[i], op])); + if (useXet && json.transfer !== "xet") { + useXet = false; + } + let xetParams = null; + if (useXet) { + for (const obj of json.objects) { + const op = shaToOperation.get(obj.oid); + if (!op) { + throw new InvalidApiResponseFormatError("Unrequested object ID in response"); + } + if (obj.error) { + const errorMessage = `Error while doing LFS batch call for ${operations[shas.indexOf(obj.oid)].path}: ${obj.error.message}${batchRequestId ? ` - Request ID: ${batchRequestId}` : ""}`; + throw new HubApiError(res.url, obj.error.code, batchRequestId, errorMessage); + } + if (!obj.actions?.upload) { + yield { + event: "fileProgress", + path: op.path, + progress: 1, + state: "uploading" + }; + } else { + const headers = new Headers(obj.actions.upload.header); + xetParams = { + sessionId: headers.get("X-Xet-Session-Id") ?? void 0, + casUrl: headers.get("X-Xet-Cas-Url") ?? void 0, + accessToken: headers.get("X-Xet-Access-Token") ?? void 0, + expiresAt: headers.get("X-Xet-Token-Expiration") ? new Date(parseInt(headers.get("X-Xet-Token-Expiration") ?? "0") * 1e3) : void 0, + refreshWriteTokenUrl: obj.actions.upload.href + }; + } + } + const source = async function* () { + for (const obj of json.objects) { + const op = shaToOperation.get(obj.oid); + if (!op || !obj.actions?.upload) { + continue; + } + abortSignal?.throwIfAborted(); + yield { content: op.content, path: op.path, sha256: obj.oid }; + } + }(); + if (xetParams) { + const fixedXetParams = xetParams; + const sources = splitAsyncGenerator(source, 5); + yield* eventToGenerator( + (yieldCallback, returnCallback, rejectCallback) => Promise.all( + sources.map(async function(source2) { + for await (const event of uploadShards(source2, { + fetch: params.fetch, + accessToken, + hubUrl: params.hubUrl ?? HUB_URL, + repo: repoId, + xetParams: fixedXetParams, + // todo: maybe leave empty if PR? + rev: params.branch ?? "main", + isPullRequest: params.isPullRequest, + yieldCallback: (event2) => yieldCallback({ ...event2, state: "uploading" }) + })) { + if (event.event === "file") { + yieldCallback({ + event: "fileProgress", + path: event.path, + progress: 1, + state: "uploading" + }); + } else if (event.event === "fileProgress") { + yieldCallback({ + event: "fileProgress", + path: event.path, + progress: event.progress, + state: "uploading" + }); + } + } + }) + ).then(() => returnCallback(void 0), rejectCallback) + ); + } else { + } + } else { + yield* eventToGenerator((yieldCallback, returnCallback, rejectCallback) => { + return promisesQueueStreaming( + json.objects.map((obj) => async () => { + const op = shaToOperation.get(obj.oid); + if (!op) { + throw new InvalidApiResponseFormatError("Unrequested object ID in response"); + } + abortSignal?.throwIfAborted(); + if (obj.error) { + const errorMessage = `Error while doing LFS batch call for ${operations[shas.indexOf(obj.oid)].path}: ${obj.error.message}${batchRequestId ? ` - Request ID: ${batchRequestId}` : ""}`; + throw new HubApiError(res.url, obj.error.code, batchRequestId, errorMessage); + } + if (!obj.actions?.upload) { + yieldCallback({ + event: "fileProgress", + path: op.path, + progress: 1, + state: "uploading" + }); + return; + } + yieldCallback({ + event: "fileProgress", + path: op.path, + progress: 0, + state: "uploading" + }); + const content = op.content; + const header = obj.actions.upload.header; + if (header?.chunk_size) { + const chunkSize = parseInt(header.chunk_size); + const completionUrl = obj.actions.upload.href; + const parts = Object.keys(header).filter((key) => /^[0-9]+$/.test(key)); + if (parts.length !== Math.ceil(content.size / chunkSize)) { + throw new Error("Invalid server response to upload large LFS file, wrong number of parts"); + } + const completeReq = { + oid: obj.oid, + parts: parts.map((part) => ({ + partNumber: +part, + etag: "" + })) + }; + const progressCallback = (progress) => yieldCallback({ event: "fileProgress", path: op.path, progress, state: "uploading" }); + await promisesQueueStreaming( + parts.map((part) => async () => { + abortSignal?.throwIfAborted(); + const index = parseInt(part) - 1; + const slice = content.slice(index * chunkSize, (index + 1) * chunkSize); + const res3 = await (params.fetch ?? fetch)(header[part], { + method: "PUT", + /** Unfortunately, browsers don't support our inherited version of Blob in fetch calls */ + body: slice instanceof WebBlob && isFrontend ? await slice.arrayBuffer() : slice, + signal: abortSignal, + ...{ + progressHint: { + path: op.path, + part: index, + numParts: parts.length, + progressCallback + } + // eslint-disable-next-line @typescript-eslint/no-explicit-any + } + }); + if (!res3.ok) { + throw await createApiError(res3, { + requestId: batchRequestId, + message: `Error while uploading part ${part} of ${operations[shas.indexOf(obj.oid)].path} to LFS storage` + }); + } + const eTag = res3.headers.get("ETag"); + if (!eTag) { + throw new Error("Cannot get ETag of part during multipart upload"); + } + completeReq.parts[Number(part) - 1].etag = eTag; + }), + MULTIPART_PARALLEL_UPLOAD + ); + abortSignal?.throwIfAborted(); + const res2 = await (params.fetch ?? fetch)(completionUrl, { + method: "POST", + body: JSON.stringify(completeReq), + headers: { + Accept: "application/vnd.git-lfs+json", + "Content-Type": "application/vnd.git-lfs+json" + }, + signal: abortSignal + }); + if (!res2.ok) { + throw await createApiError(res2, { + requestId: batchRequestId, + message: `Error completing multipart upload of ${operations[shas.indexOf(obj.oid)].path} to LFS storage` + }); + } + yieldCallback({ + event: "fileProgress", + path: op.path, + progress: 1, + state: "uploading" + }); + } else { + const res2 = await (params.fetch ?? fetch)(obj.actions.upload.href, { + method: "PUT", + headers: { + ...batchRequestId ? { "X-Request-Id": batchRequestId } : void 0 + }, + /** Unfortunately, browsers don't support our inherited version of Blob in fetch calls */ + body: content instanceof WebBlob && isFrontend ? await content.arrayBuffer() : content, + signal: abortSignal, + ...{ + progressHint: { + path: op.path, + progressCallback: (progress) => yieldCallback({ + event: "fileProgress", + path: op.path, + progress, + state: "uploading" + }) + } + // eslint-disable-next-line @typescript-eslint/no-explicit-any + } + }); + if (!res2.ok) { + throw await createApiError(res2, { + requestId: batchRequestId, + message: `Error while uploading ${operations[shas.indexOf(obj.oid)].path} to LFS storage` + }); + } + yieldCallback({ + event: "fileProgress", + path: op.path, + progress: 1, + state: "uploading" + }); + } + }), + CONCURRENT_LFS_UPLOADS + ).then(returnCallback, rejectCallback); + }); + } + } + abortSignal?.throwIfAborted(); + yield { event: "phase", phase: "committing" }; + return yield* eventToGenerator( + async (yieldCallback, returnCallback, rejectCallback) => (params.fetch ?? fetch)( + `${params.hubUrl ?? HUB_URL}/api/${repoId.type}s/${repoId.name}/commit/${encodeURIComponent( + params.branch ?? "main" + )}` + (params.isPullRequest ? "?create_pr=1" : ""), + { + method: "POST", + headers: { + ...accessToken && { Authorization: `Bearer ${accessToken}` }, + "Content-Type": "application/x-ndjson" + }, + body: [ + { + key: "header", + value: { + summary: params.title, + description: params.description, + parentCommit: params.parentCommit + } + }, + ...await Promise.all( + allOperations.map((operation) => { + if (isFileOperation(operation)) { + const sha = lfsShas.get(operation.path); + if (sha) { + return { + key: "lfsFile", + value: { + path: operation.path, + algo: "sha256", + size: operation.content.size, + oid: sha + } + }; + } + } + return convertOperationToNdJson(operation); + }) + ) + ].map((x) => JSON.stringify(x)).join("\n"), + signal: abortSignal, + ...{ + progressHint: { + progressCallback: (progress) => { + for (const op of allOperations) { + if (isFileOperation(op) && !lfsShas.has(op.path)) { + yieldCallback({ + event: "fileProgress", + path: op.path, + progress, + state: "uploading" + }); + } + } + } + } + // eslint-disable-next-line @typescript-eslint/no-explicit-any + } + } + ).then(async (res) => { + if (!res.ok) { + throw await createApiError(res); + } + const json = await res.json(); + returnCallback({ + pullRequestUrl: json.pullRequestUrl, + commit: { + oid: json.commitOid, + url: json.commitUrl + }, + hookOutput: json.hookOutput + }); + }).catch(rejectCallback) + ); + } catch (err) { + abortController.abort(); + throw err; + } +} +async function* commitIterBucket(params) { + const accessToken = checkCredentials(params); + const repoId = toRepoId(params.repo); + if (params.useXet === false) { + throw new Error("useXet must be true or undefined for buckets"); + } + const abortController = new AbortController(); + const abortSignal = abortController.signal; + if (!abortSignal.throwIfAborted) { + abortSignal.throwIfAborted = () => { + if (abortSignal.aborted) { + throw new DOMException("Aborted", "AbortError"); + } + }; + } + if (params.abortSignal) { + params.abortSignal.addEventListener("abort", () => abortController.abort()); + } + try { + const allOperations = (await Promise.all( + params.operations.map(async (operation) => { + if (operation.operation === "edit") { + const splicedBlob = SplicedBlob.create( + operation.originalContent, + operation.edits.map((splice) => ({ insert: splice.content, start: splice.start, end: splice.end })) + ); + return { + operation: "addOrUpdate", + path: operation.path, + content: splicedBlob + }; + } + if (operation.operation !== "addOrUpdate") { + return operation; + } + if (!(operation.content instanceof URL)) { + return { ...operation, content: operation.content }; + } + const lazyBlobs = await createBlobs(operation.content, operation.path, { + fetch: params.fetch, + maxFolderDepth: params.maxFolderDepth + }); + abortSignal?.throwIfAborted(); + return lazyBlobs.map((blob) => ({ + ...operation, + content: blob.blob, + path: blob.path + })); + }) + )).flat(1); + yield { event: "phase", phase: "uploadingLargeFiles" }; + for (const operations of chunk(allOperations.filter(isFileOperation), 100)) { + const xetHashes = /* @__PURE__ */ new Map(); + abortSignal?.throwIfAborted(); + const source = async function* () { + for (const operation of operations) { + abortSignal?.throwIfAborted(); + yield { content: operation.content, path: operation.path }; + } + }(); + const xetParams = { + sessionId: crypto.randomUUID(), + refreshWriteTokenUrl: `${params.hubUrl ?? HUB_URL}/api/${repoId.type}s/${repoId.name}/xet-write-token` + }; + const sources = splitAsyncGenerator(source, 5); + yield* eventToGenerator( + (yieldCallback, returnCallback, rejectCallback) => Promise.all( + sources.map(async function(source2) { + for await (const event of uploadShards(source2, { + fetch: params.fetch, + accessToken, + hubUrl: params.hubUrl ?? HUB_URL, + repo: repoId, + xetParams, + rev: params.branch ?? "main", + yieldCallback: (event2) => yieldCallback({ ...event2, state: "uploading" }) + })) { + if (event.event === "file") { + yieldCallback({ + event: "fileProgress", + path: event.path, + progress: 1, + state: "uploading" + }); + xetHashes.set(event.path, event.xetHash); + } else if (event.event === "fileProgress") { + yieldCallback({ + event: "fileProgress", + path: event.path, + progress: event.progress, + state: "uploading" + }); + } + } + }) + ).then(() => returnCallback(void 0), rejectCallback) + ); + const resp = await (params.fetch ?? fetch)( + `${params.hubUrl ?? HUB_URL}/api/${repoId.type}s/${repoId.name}/batch`, + { + method: "POST", + headers: { + ...accessToken && { Authorization: `Bearer ${accessToken}` }, + "Content-Type": "application/x-ndjson" + }, + body: [...xetHashes.entries()].map( + ([path2, xetHash]) => JSON.stringify({ + type: "addFile", + path: path2, + xetHash + }) + ).join("\n"), + signal: abortSignal + } + ); + if (!resp.ok && resp.status !== 422) { + throw await createApiError(resp); + } + const json = await resp.json(); + for (const failed of json.failed) { + yield { + event: "fileProgress", + path: failed.path, + progress: 0, + state: "error" + }; + } + } + abortSignal?.throwIfAborted(); + const deletedOperations = allOperations.filter((operation) => operation.operation === "delete"); + if (deletedOperations.length > 0) { + const resp = await (params.fetch ?? fetch)( + `${params.hubUrl ?? HUB_URL}/api/${repoId.type}s/${repoId.name}/batch`, + { + method: "POST", + headers: { + ...accessToken && { Authorization: `Bearer ${accessToken}` }, + "Content-Type": "application/x-ndjson" + }, + body: deletedOperations.map( + (operation) => JSON.stringify({ + type: "deleteFile", + path: operation.path + }) + ).join("\n"), + signal: abortSignal + } + ); + if (!resp.ok) { + throw await createApiError(resp); + } + const json = await resp.json(); + if (json.failed.length > 0) { + const failedPaths = json.failed.slice(0, 5).map((f) => f.path); + throw new Error( + `Failed to delete ${json.failed.length} file(s): ${failedPaths.join(", ")}${json.failed.length > 5 ? "..." : ""}, request ID: ${resp.headers.get("X-Request-Id")}` + ); + } + } + abortSignal?.throwIfAborted(); + } catch (err) { + abortController.abort(); + throw err; + } +} +async function commit(params) { + const iterator = commitIter(params); + const failedPaths = []; + let failedCount = 0; + let res = await iterator.next(); + while (!res.done) { + if (res.value.event === "fileProgress" && res.value.state === "error") { + failedCount++; + if (failedPaths.length < 5) { + failedPaths.push(res.value.path); + } + } + res = await iterator.next(); + } + if (failedCount > 0) { + throw new Error( + `Failed to upload ${failedCount} file(s): ${failedPaths.join(", ")}${failedCount > 5 ? "..." : ""}` + ); + } + return res.value; +} +async function convertOperationToNdJson(operation) { + switch (operation.operation) { + case "addOrUpdate": { + return { + key: "file", + value: { + content: base64FromBytes(new Uint8Array(await operation.content.arrayBuffer())), + path: operation.path, + encoding: "base64" + } + }; + } + case "delete": { + return { + key: "deletedFile", + value: { + path: operation.path + } + }; + } + case "edit": { + throw new Error( + "Edit operations should be converted to addOrUpdate operations before reaching convertOperationToNdJson" + ); + } + default: + throw new TypeError("Unknown operation: " + operation.operation); + } +} + +// src/lib/count-commits.ts +async function countCommits(params) { + const accessToken = checkCredentials(params); + const repoId = toRepoId(params.repo); + const url = `${params.hubUrl ?? HUB_URL}/api/${repoId.type}s/${repoId.name}/commits/${params.revision ?? "main"}?limit=1`; + const res = await (params.fetch ?? fetch)(url, { + headers: accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + }); + if (!res.ok) { + throw await createApiError(res); + } + return parseInt(res.headers.get("x-total-count") ?? "0", 10); +} + +// src/lib/create-repo.ts +async function createRepo(params) { + const accessToken = checkCredentials(params); + const repoId = toRepoId(params.repo); + const [namespace, repoName] = repoId.name.split("/"); + if (!namespace || !repoName) { + throw new TypeError( + `"${repoId.name}" is not a fully qualified repo name. It should be of the form "{namespace}/{repoName}".` + ); + } + const res = repoId.type === "bucket" ? await (params.fetch ?? fetch)(`${params.hubUrl ?? HUB_URL}/api/buckets/${namespace}/${repoName}`, { + method: "POST", + body: JSON.stringify({ + private: params.private, + resourceGroupId: params.resourceGroupId + }), + headers: { + Authorization: `Bearer ${accessToken}`, + "Content-Type": "application/json" + } + }) : await (params.fetch ?? fetch)(`${params.hubUrl ?? HUB_URL}/api/repos/create`, { + method: "POST", + body: JSON.stringify({ + name: repoName, + private: params.private, + organization: namespace, + resourceGroupId: params.resourceGroupId, + license: params.license, + ...repoId.type === "space" ? { + type: "space", + sdk: params.sdk ?? "static" + } : { + type: repoId.type + }, + files: params.files ? await Promise.all( + params.files.map(async (file) => ({ + encoding: "base64", + path: file.path, + content: base64FromBytes( + new Uint8Array(file.content instanceof Blob ? await file.content.arrayBuffer() : file.content) + ) + })) + ) : void 0 + }), + headers: { + Authorization: `Bearer ${accessToken}`, + "Content-Type": "application/json" + } + }); + if (!res.ok) { + throw await createApiError(res); + } + const output = await res.json(); + return { repoUrl: output.url, id: output.id }; +} + +// src/lib/create-branch.ts +async function createBranch(params) { + const repoId = toRepoId(params.repo); + const res = await (params.fetch ?? fetch)( + `${params.hubUrl ?? HUB_URL}/api/${repoId.type}s/${repoId.name}/branch/${encodeURIComponent(params.branch)}`, + { + method: "POST", + headers: { + "Content-Type": "application/json", + ...params.accessToken && { + Authorization: `Bearer ${params.accessToken}` + } + }, + body: JSON.stringify({ + startingPoint: params.revision, + ...params.empty && { emptyBranch: true }, + overwrite: params.overwrite + }) + } + ); + if (!res.ok) { + throw await createApiError(res); + } +} + +// src/lib/create-collection.ts +async function createCollection(params) { + const accessToken = checkCredentials(params); + const res = await (params.fetch ?? fetch)(`${params.hubUrl ?? HUB_URL}/api/collections`, { + method: "POST", + body: JSON.stringify(params.collection), + headers: { + Authorization: `Bearer ${accessToken}`, + "Content-Type": "application/json" + } + }); + if (!res.ok) { + throw await createApiError(res); + } + const output = await res.json(); + return { slug: output.slug }; +} + +// src/utils/parseLinkHeader.ts +function parseLinkHeader(header) { + const regex = /<(https?:[/][/][^>]+)>;\s+rel="([^"]+)"/g; + return Object.fromEntries([...header.matchAll(regex)].map(([, url, rel]) => [rel, url])); +} + +// src/utils/pick.ts +function pick(o, props) { + return Object.assign( + {}, + ...props.map((prop) => { + if (o[prop] !== void 0) { + return { [prop]: o[prop] }; + } + }) + ); +} + +// src/lib/list-datasets.ts +var DATASET_EXPAND_KEYS = [ + "private", + "downloads", + "gated", + "likes", + "lastModified" +]; +var DATASET_EXPANDABLE_KEYS = [ + "author", + "cardData", + "citation", + "createdAt", + "disabled", + "description", + "downloads", + "downloadsAllTime", + "gated", + "gitalyUid", + "lastModified", + "likes", + "paperswithcode_id", + "private", + // "siblings", + "sha", + "tags" +]; +async function* listDatasets(params) { + const accessToken = params && checkCredentials(params); + let totalToFetch = params?.limit ?? Infinity; + const search = new URLSearchParams([ + ...Object.entries({ + limit: String(Math.min(totalToFetch, 500)), + ...params?.search?.owner ? { author: params.search.owner } : void 0, + ...params?.search?.query ? { search: params.search.query } : void 0, + ...params?.sort ? { sort: params.sort } : void 0 + }), + ...params?.search?.tags?.map((tag) => ["filter", tag]) ?? [], + ...DATASET_EXPAND_KEYS.map((val) => ["expand", val]), + ...params?.additionalFields?.map((val) => ["expand", val]) ?? [] + ]).toString(); + let url = `${params?.hubUrl || HUB_URL}/api/datasets` + (search ? "?" + search : ""); + while (url) { + const res = await (params?.fetch ?? fetch)(url, { + headers: { + accept: "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : void 0 + } + }); + if (!res.ok) { + throw await createApiError(res); + } + const items = await res.json(); + for (const item of items) { + yield { + ...params?.additionalFields && pick(item, params.additionalFields), + id: item._id, + name: item.id, + private: item.private, + downloads: item.downloads, + likes: item.likes, + gated: item.gated, + updatedAt: new Date(item.lastModified) + }; + totalToFetch--; + if (totalToFetch <= 0) { + return; + } + } + const linkHeader = res.headers.get("Link"); + url = linkHeader ? parseLinkHeader(linkHeader).next : void 0; + } +} + +// src/lib/dataset-info.ts +async function datasetInfo(params) { + const accessToken = params && checkCredentials(params); + const search = new URLSearchParams([ + ...DATASET_EXPAND_KEYS.map((val) => ["expand", val]), + ...params?.additionalFields?.map((val) => ["expand", val]) ?? [] + ]).toString(); + const response = await (params.fetch || fetch)( + `${params?.hubUrl || HUB_URL}/api/datasets/${params.name}/revision/${encodeURIComponent( + params.revision ?? "HEAD" + )}?${search.toString()}`, + { + headers: { + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } + const data = await response.json(); + return { + ...params?.additionalFields && pick(data, params.additionalFields), + id: data._id, + name: data.id, + private: data.private, + downloads: data.downloads, + likes: data.likes, + gated: data.gated, + updatedAt: new Date(data.lastModified) + }; +} + +// src/lib/delete-branch.ts +async function deleteBranch(params) { + const repoId = toRepoId(params.repo); + const res = await (params.fetch ?? fetch)( + `${params.hubUrl ?? HUB_URL}/api/${repoId.type}s/${repoId.name}/branch/${encodeURIComponent(params.branch)}`, + { + method: "DELETE", + headers: { + ...params.accessToken && { + Authorization: `Bearer ${params.accessToken}` + } + } + } + ); + if (!res.ok) { + throw await createApiError(res); + } +} + +// src/lib/delete-file.ts +function deleteFile(params) { + return commit({ + ...params.accessToken ? { accessToken: params.accessToken } : { credentials: params.credentials }, + repo: params.repo, + operations: [ + { + operation: "delete", + path: params.path + } + ], + title: params.commitTitle ?? `Delete ${params.path}`, + description: params.commitDescription, + hubUrl: params.hubUrl, + branch: params.branch, + isPullRequest: params.isPullRequest, + parentCommit: params.parentCommit, + fetch: params.fetch + }); +} + +// src/lib/delete-files.ts +function deleteFiles(params) { + return commit({ + ...params.accessToken ? { accessToken: params.accessToken } : { credentials: params.credentials }, + repo: params.repo, + operations: params.paths.map((path2) => ({ + operation: "delete", + path: path2 + })), + title: params.commitTitle ?? `Deletes ${params.paths.length} files`, + description: params.commitDescription, + hubUrl: params.hubUrl, + branch: params.branch, + isPullRequest: params.isPullRequest, + parentCommit: params.parentCommit, + fetch: params.fetch + }); +} + +// src/lib/delete-repo.ts +async function deleteRepo(params) { + const accessToken = checkCredentials(params); + const repoId = toRepoId(params.repo); + const [namespace, repoName] = repoId.name.split("/"); + const res = repoId.type === "bucket" ? await (params.fetch ?? fetch)(`${params.hubUrl ?? HUB_URL}/api/buckets/${namespace}/${repoName}`, { + method: "DELETE", + headers: { + Authorization: `Bearer ${accessToken}`, + "Content-Type": "application/json" + } + }) : await (params.fetch ?? fetch)(`${params.hubUrl ?? HUB_URL}/api/repos/delete`, { + method: "DELETE", + body: JSON.stringify({ + name: repoName, + organization: namespace, + type: repoId.type + }), + headers: { + Authorization: `Bearer ${accessToken}`, + "Content-Type": "application/json" + } + }); + if (!res.ok) { + throw await createApiError(res); + } +} + +// src/lib/delete-collection.ts +async function deleteCollection(params) { + if (!params.slug) { + throw new TypeError("slug is required"); + } + const accessToken = checkCredentials(params); + const res = await (params.fetch ?? fetch)(`${params.hubUrl ?? HUB_URL}/api/collections/${params.slug}`, { + method: "DELETE", + headers: { + Authorization: `Bearer ${accessToken}`, + "Content-Type": "application/json" + } + }); + if (!res.ok) { + throw await createApiError(res); + } +} + +// src/lib/file-download-info.ts +async function fileDownloadInfo(params) { + const accessToken = checkCredentials(params); + const repoId = toRepoId(params.repo); + const hubUrl = params.hubUrl ?? HUB_URL; + const url = `${hubUrl}/${repoId.type === "model" ? "" : `${repoId.type}s/`}${repoId.name}/${params.raw ? "raw" : "resolve"}/${encodeURIComponent(params.revision ?? "main")}/${params.path}` + (params.noContentDisposition ? "?noContentDisposition=1" : ""); + const resp = await (params.fetch ?? fetch)(url, { + method: "GET", + headers: { + ...accessToken && { + Authorization: `Bearer ${accessToken}` + }, + Range: "bytes=0-0", + Accept: "application/vnd.xet-fileinfo+json, */*" + } + }); + if (resp.status === 404 && resp.headers.get("X-Error-Code") === "EntryNotFound") { + return null; + } + if (!resp.ok) { + throw await createApiError(resp); + } + let size; + let xetInfo; + if (resp.headers.get("Content-Type")?.includes("application/vnd.xet-fileinfo+json")) { + size = parseInt(resp.headers.get("X-Linked-Size") ?? "invalid"); + if (isNaN(size)) { + throw new InvalidApiResponseFormatError("Invalid file size received in X-Linked-Size header"); + } + const hash2 = resp.headers.get("X-Xet-Hash"); + const links = parseLinkHeader(resp.headers.get("Link") ?? ""); + const reconstructionUrl = (() => { + try { + return new URL(links["xet-reconstruction-info"]); + } catch { + return null; + } + })(); + const refreshUrl = (() => { + try { + return new URL(links["xet-auth"]); + } catch { + return null; + } + })(); + if (!hash2) { + throw new InvalidApiResponseFormatError("No hash received in X-Xet-Hash header"); + } + if (!reconstructionUrl || !refreshUrl) { + throw new InvalidApiResponseFormatError("No xet-reconstruction-info or xet-auth link header"); + } + xetInfo = { + hash: hash2, + refreshUrl, + reconstructionUrl + }; + } + if (size === void 0 || isNaN(size)) { + const contentRangeHeader = resp.headers.get("content-range"); + if (!contentRangeHeader) { + throw new InvalidApiResponseFormatError("Expected size information"); + } + const [, parsedSize] = contentRangeHeader.split("/"); + size = parseInt(parsedSize); + if (isNaN(size)) { + throw new InvalidApiResponseFormatError("Invalid file size received"); + } + } + const etag = resp.headers.get("X-Linked-ETag") ?? resp.headers.get("ETag") ?? void 0; + if (!etag) { + throw new InvalidApiResponseFormatError("Expected ETag"); + } + return { + etag, + size, + xet: xetInfo, + // Cannot use resp.url in case it's a S3 url and the user adds an Authorization header to it. + url: resp.url && (new URL(resp.url).origin === new URL(hubUrl).origin || resp.headers.get("X-Cache")?.endsWith(" cloudfront")) ? resp.url : url + }; +} + +// src/lib/download-file.ts +async function downloadFile(params) { + const accessToken = checkCredentials(params); + const info = params.downloadInfo ?? await fileDownloadInfo({ + accessToken, + repo: params.repo, + path: params.path, + revision: params.revision, + hubUrl: params.hubUrl, + fetch: params.fetch, + raw: params.raw + }); + if (!info) { + return null; + } + if (info.xet && params.xet !== false) { + return new XetBlob({ + refreshUrl: info.xet.refreshUrl.href, + reconstructionUrl: info.xet.reconstructionUrl.href, + fetch: params.fetch, + accessToken, + size: info.size, + readToken: typeof params.xet === "object" ? params.xet.readToken : void 0 + }); + } + return new WebBlob(new URL(info.url), 0, info.size, "", true, params.fetch ?? fetch, accessToken); +} + +// src/lib/paths-info.ts +async function pathsInfo(params) { + const accessToken = checkCredentials(params); + const repoId = toRepoId(params.repo); + const hubUrl = params.hubUrl ?? HUB_URL; + const url = `${hubUrl}/api/${repoId.type}s/${repoId.name}/paths-info/${encodeURIComponent( + params.revision ?? "main" + )}`; + const resp = await (params.fetch ?? fetch)(url, { + method: "POST", + headers: { + ...accessToken && { + Authorization: `Bearer ${accessToken}` + }, + Accept: "application/json", + "Content-Type": "application/json" + }, + body: JSON.stringify({ + paths: params.paths, + expand: params.expand + }) + }); + if (!resp.ok) { + throw await createApiError(resp); + } + const json = await resp.json(); + if (!Array.isArray(json)) + throw new Error("malformed response: expected array"); + return json.map((item) => ({ + path: item.path, + lfs: item.lfs, + type: item.type, + oid: item.oid, + size: item.size, + // expand fields + securityFileStatus: item.securityFileStatus, + lastCommit: item.lastCommit ? { + date: new Date(item.lastCommit.date), + title: item.lastCommit.title, + id: item.lastCommit.id + } : void 0 + })); +} + +// src/lib/download-file-to-cache-dir.ts +import { dirname as dirname2, join as join2 } from "path"; +import { rename, lstat as lstat2, mkdir, stat as stat2 } from "fs/promises"; + +// src/utils/symlink.ts +import * as fs from "fs/promises"; +import * as path from "path"; +import * as os from "os"; +function expandUser(path2) { + if (path2.startsWith("~")) { + return path2.replace("~", os.homedir()); + } + return path2; +} +async function createSymlink(params) { + const abs_src = path.resolve(expandUser(params.sourcePath)); + const abs_dst = path.resolve(expandUser(params.finalPath)); + try { + await fs.rm(abs_dst); + } catch { + } + try { + await fs.symlink(path.relative(path.dirname(abs_dst), abs_src), abs_dst); + } catch { + console.info(`Symlink not supported. Copying file from ${abs_src} to ${abs_dst}`); + await fs.copyFile(abs_src, abs_dst); + } +} + +// src/lib/download-file-to-cache-dir.ts +import { Readable } from "stream"; +import { pipeline } from "stream/promises"; +import { createWriteStream } from "fs"; +var REGEX_COMMIT_HASH = new RegExp("^[0-9a-f]{40}$"); +function getFilePointer(storageFolder, revision, relativeFilename) { + const snapshotPath = join2(storageFolder, "snapshots"); + return join2(snapshotPath, revision, relativeFilename); +} +async function exists(path2, followSymlinks) { + try { + if (followSymlinks) { + await stat2(path2); + } else { + await lstat2(path2); + } + return true; + } catch (err) { + return false; + } +} +async function downloadFileToCacheDir(params) { + const revision = params.revision ?? "main"; + const cacheDir = params.cacheDir ?? getHFHubCachePath(); + const repoId = toRepoId(params.repo); + const storageFolder = join2(cacheDir, getRepoFolderName(repoId)); + let commitHash; + if (REGEX_COMMIT_HASH.test(revision)) { + commitHash = revision; + const pointerPath2 = getFilePointer(storageFolder, revision, params.path); + if (await exists(pointerPath2, true)) + return pointerPath2; + } + const pathsInformation = await pathsInfo({ + ...params, + paths: [params.path], + revision, + expand: true + }); + if (!pathsInformation || pathsInformation.length !== 1) + throw new Error(`cannot get path info for ${params.path}`); + let etag; + if (pathsInformation[0].lfs) { + etag = pathsInformation[0].lfs.oid; + } else { + etag = pathsInformation[0].oid; + } + const pointerPath = getFilePointer(storageFolder, commitHash ?? pathsInformation[0].lastCommit.id, params.path); + const blobPath = join2(storageFolder, "blobs", etag); + if (await exists(pointerPath, true)) + return pointerPath; + await mkdir(dirname2(blobPath), { recursive: true }); + await mkdir(dirname2(pointerPath), { recursive: true }); + if (await exists(blobPath)) { + await createSymlink({ sourcePath: blobPath, finalPath: pointerPath }); + return pointerPath; + } + const incomplete = `${blobPath}.incomplete`; + console.debug(`Downloading ${params.path} to ${incomplete}`); + const blob = await downloadFile({ + ...params, + revision: commitHash + }); + if (!blob) { + throw new Error(`invalid response for file ${params.path}`); + } + await pipeline(Readable.fromWeb(blob.stream()), createWriteStream(incomplete)); + await rename(incomplete, blobPath); + await createSymlink({ sourcePath: blobPath, finalPath: pointerPath }); + return pointerPath; +} + +// src/lib/file-exists.ts +async function fileExists(params) { + const accessToken = checkCredentials(params); + const repoId = toRepoId(params.repo); + const hubUrl = params.hubUrl ?? HUB_URL; + const url = `${hubUrl}/${repoId.type === "model" ? "" : `${repoId.type}s/`}${repoId.name}/raw/${encodeURIComponent( + params.revision ?? "main" + )}/${params.path}`; + const resp = await (params.fetch ?? fetch)(url, { + method: "HEAD", + headers: accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + }); + if (resp.status === 404) { + return false; + } + if (!resp.ok) { + throw await createApiError(resp); + } + return true; +} + +// src/lib/jobs/cancel-job.ts +async function cancelJob(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/jobs/${params.namespace}/${params.jobId}/cancel`, + { + method: "POST", + headers: { + "Content-Type": "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } + return await response.json(); +} + +// src/lib/jobs/create-scheduled-job.ts +async function createScheduledJob(params) { + const accessToken = checkCredentials(params); + const { namespace, hubUrl, fetch: customFetch, ...rest } = params; + if (!rest.jobSpec.dockerImage && !rest.jobSpec.spaceId) { + throw new Error("Either dockerImage or spaceId must be provided in jobSpec"); + } + if (rest.jobSpec.dockerImage && rest.jobSpec.spaceId) { + throw new Error("Cannot provide both dockerImage and spaceId in jobSpec"); + } + const body = { + jobSpec: { + flavor: rest.jobSpec.flavor + }, + schedule: rest.schedule, + suspend: rest.suspend ?? false, + concurrency: rest.concurrency ?? false + }; + if (rest.jobSpec.dockerImage) { + body.jobSpec.dockerImage = rest.jobSpec.dockerImage; + } + if (rest.jobSpec.spaceId) { + body.jobSpec.spaceId = rest.jobSpec.spaceId; + } + if (rest.jobSpec.command) { + body.jobSpec.command = rest.jobSpec.command; + } + body.jobSpec.environment = rest.jobSpec.environment || {}; + if (rest.jobSpec.secrets) { + body.jobSpec.secrets = rest.jobSpec.secrets; + } + if (rest.jobSpec.arch) { + body.jobSpec.arch = rest.jobSpec.arch; + } + if (rest.jobSpec.timeoutSeconds !== void 0) { + body.jobSpec.timeoutSeconds = rest.jobSpec.timeoutSeconds; + } + if (rest.jobSpec.attempts !== void 0) { + body.jobSpec.attempts = rest.jobSpec.attempts; + } + if (rest.jobSpec.labels) { + body.jobSpec.labels = rest.jobSpec.labels; + } + const response = await (customFetch || fetch)(`${hubUrl || HUB_URL}/api/scheduled-jobs/${namespace}`, { + method: "POST", + headers: { + "Content-Type": "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + }, + body: JSON.stringify(body) + }); + if (!response.ok) { + throw await createApiError(response); + } + return await response.json(); +} + +// src/lib/jobs/delete-scheduled-job.ts +async function deleteScheduledJob(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/scheduled-jobs/${params.namespace}/${params.jobId}`, + { + method: "DELETE", + headers: { + "Content-Type": "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } +} + +// src/lib/jobs/duplicate-job.ts +async function duplicateJob(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/jobs/${params.namespace}/${params.jobId}/duplicate`, + { + method: "POST", + headers: { + "Content-Type": "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } + return await response.json(); +} + +// src/lib/jobs/get-job.ts +async function getJob(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/jobs/${params.namespace}/${params.jobId}`, + { + headers: { + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } + return await response.json(); +} + +// src/lib/jobs/get-scheduled-job.ts +async function getScheduledJob(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/scheduled-jobs/${params.namespace}/${params.jobId}`, + { + headers: { + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } + return await response.json(); +} + +// src/lib/jobs/list-job-hardware.ts +async function listJobHardware(params) { + const accessToken = checkCredentials(params ?? {}); + const headers = {}; + if (accessToken) { + headers.Authorization = `Bearer ${accessToken}`; + } + const response = await (params?.fetch || fetch)(`${params?.hubUrl || HUB_URL}/api/jobs/hardware`, { + headers + }); + if (!response.ok) { + throw await createApiError(response); + } + return await response.json(); +} + +// src/lib/jobs/list-jobs.ts +async function listJobs(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)(`${params.hubUrl || HUB_URL}/api/jobs/${params.namespace}`, { + headers: { + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + }); + if (!response.ok) { + throw await createApiError(response); + } + return await response.json(); +} + +// src/lib/jobs/list-scheduled-jobs.ts +async function listScheduledJobs(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)(`${params.hubUrl || HUB_URL}/api/scheduled-jobs/${params.namespace}`, { + headers: { + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + }); + if (!response.ok) { + throw await createApiError(response); + } + return await response.json(); +} + +// src/lib/jobs/resume-scheduled-job.ts +async function resumeScheduledJob(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/scheduled-jobs/${params.namespace}/${params.jobId}/resume`, + { + method: "POST", + headers: { + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } +} + +// src/lib/jobs/run-job.ts +async function runJob(params) { + const accessToken = checkCredentials(params); + if (!params.dockerImage && !params.spaceId) { + throw new Error("Either dockerImage or spaceId must be provided"); + } + if (params.dockerImage && params.spaceId) { + throw new Error("Cannot provide both dockerImage and spaceId"); + } + const body = { + flavor: params.flavor, + environment: params.environment || {} + }; + if (params.dockerImage) { + body.dockerImage = params.dockerImage; + } + if (params.spaceId) { + body.spaceId = params.spaceId; + } + if (params.command) { + body.command = params.command; + } + if (params.arguments) { + body.arguments = params.arguments; + } + if (params.secrets) { + body.secrets = params.secrets; + } + if (params.arch) { + body.arch = params.arch; + } + if (params.timeoutSeconds !== void 0) { + body.timeoutSeconds = params.timeoutSeconds; + } + if (params.attempts !== void 0) { + body.attempts = params.attempts; + } + if (params.labels) { + body.labels = params.labels; + } + const response = await (params.fetch || fetch)(`${params.hubUrl || HUB_URL}/api/jobs/${params.namespace}`, { + method: "POST", + headers: { + "Content-Type": "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + }, + body: JSON.stringify(body) + }); + if (!response.ok) { + throw await createApiError(response); + } + return await response.json(); +} + +// src/lib/jobs/run-scheduled-job.ts +async function runScheduledJob(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/scheduled-jobs/${params.namespace}/${params.jobId}/run`, + { + method: "POST", + headers: { + "Content-Type": "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + if (response.status === 409) { + return null; + } + throw await createApiError(response); + } + return await response.json(); +} + +// src/lib/jobs/stream-job-events.ts +async function* streamJobEvents(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/jobs/${params.namespace}/${params.jobId}/events`, + { + headers: { + Accept: "text/event-stream", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } + if (!response.body) { + return; + } + const reader = response.body.getReader(); + const decoder = new TextDecoder(); + let buffer = ""; + try { + while (true) { + const { done, value } = await reader.read(); + if (done) + break; + buffer += decoder.decode(value, { stream: true }); + const lines = buffer.split("\n"); + buffer = lines.pop() || ""; + for (const line of lines) { + if (line.startsWith("data: ")) { + yield line.slice(6); + } + } + } + if (buffer) { + const lines = buffer.split("\n"); + for (const line of lines) { + if (line.startsWith("data: ")) { + yield line.slice(6); + } + } + } + } finally { + reader.releaseLock(); + } +} + +// src/lib/jobs/stream-job-logs.ts +async function* streamJobLogs(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/jobs/${params.namespace}/${params.jobId}/logs`, + { + headers: { + Accept: "text/event-stream", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } + if (!response.body) { + return; + } + const reader = response.body.getReader(); + const decoder = new TextDecoder(); + let buffer = ""; + try { + while (true) { + const { done, value } = await reader.read(); + if (done) + break; + buffer += decoder.decode(value, { stream: true }); + const lines = buffer.split("\n"); + buffer = lines.pop() || ""; + for (const line of lines) { + if (line.startsWith("data: ")) { + try { + const data = JSON.parse(line.slice(6)); + yield { message: data.data, timestamp: new Date(data.timestamp) }; + } catch { + yield { message: line.slice(6), timestamp: /* @__PURE__ */ new Date() }; + } + } + } + } + if (buffer) { + const lines = buffer.split("\n"); + for (const line of lines) { + if (line.startsWith("data: ")) { + try { + const data = JSON.parse(line.slice(6)); + yield { message: data.data, timestamp: new Date(data.timestamp) }; + } catch { + yield { message: line.slice(6), timestamp: /* @__PURE__ */ new Date() }; + } + } + } + } + } finally { + reader.releaseLock(); + } +} + +// src/lib/jobs/stream-job-metrics.ts +async function* streamJobMetrics(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/jobs/${params.namespace}/${params.jobId}/metrics`, + { + headers: { + Accept: "text/event-stream", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } + if (!response.body) { + return; + } + const reader = response.body.getReader(); + const decoder = new TextDecoder(); + let buffer = ""; + try { + while (true) { + const { done, value } = await reader.read(); + if (done) + break; + buffer += decoder.decode(value, { stream: true }); + const lines = buffer.split("\n"); + buffer = lines.pop() || ""; + for (const line of lines) { + if (line.startsWith("data: ")) { + yield line.slice(6); + } + } + } + if (buffer) { + const lines = buffer.split("\n"); + for (const line of lines) { + if (line.startsWith("data: ")) { + yield line.slice(6); + } + } + } + } finally { + reader.releaseLock(); + } +} + +// src/lib/jobs/suspend-scheduled-job.ts +async function suspendScheduledJob(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/scheduled-jobs/${params.namespace}/${params.jobId}/suspend`, + { + method: "POST", + headers: { + "Content-Type": "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } +} + +// src/lib/list-commits.ts +async function* listCommits(params) { + const accessToken = checkCredentials(params); + const repoId = toRepoId(params.repo); + let url = `${params.hubUrl ?? HUB_URL}/api/${repoId.type}s/${repoId.name}/commits/${params.revision ?? "main"}?limit=${params.batchSize ?? 100}`; + while (url) { + const res = await (params.fetch ?? fetch)(url, { + headers: accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + }); + if (!res.ok) { + throw await createApiError(res); + } + const resJson = await res.json(); + for (const commit2 of resJson) { + yield { + oid: commit2.id, + title: commit2.title, + message: commit2.message, + authors: commit2.authors.map((author) => ({ + username: author.user, + avatarUrl: author.avatar + })), + date: new Date(commit2.date) + }; + } + const linkHeader = res.headers.get("Link"); + url = linkHeader ? parseLinkHeader(linkHeader).next : void 0; + } +} + +// src/lib/list-files.ts +async function* listFiles(params) { + const accessToken = checkCredentials(params); + const repoId = toRepoId(params.repo); + let url = `${params.hubUrl || HUB_URL}/api/${repoId.type}s/${repoId.name}/tree/${params.revision || "main"}${params.path ? "/" + params.path : ""}?recursive=${!!params.recursive}&expand=${!!params.expand}`; + while (url) { + const res = await (params.fetch ?? fetch)(url, { + headers: { + accept: "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : void 0 + } + }); + if (!res.ok) { + throw await createApiError(res); + } + const items = await res.json(); + for (const item of items) { + yield item; + } + const linkHeader = res.headers.get("Link"); + url = linkHeader ? parseLinkHeader(linkHeader).next : void 0; + } +} + +// src/utils/normalizeInferenceProviderMapping.ts +function normalizeInferenceProviderMapping(hfModelId, inferenceProviderMapping) { + if (!inferenceProviderMapping) { + return []; + } + if (Array.isArray(inferenceProviderMapping)) { + return inferenceProviderMapping.map((entry) => ({ + ...entry, + hfModelId + })); + } + return Object.entries(inferenceProviderMapping).map(([provider, mapping]) => ({ + provider, + hfModelId, + providerId: mapping.providerId, + status: mapping.status, + task: mapping.task + })); +} + +// src/lib/list-models.ts +var MODEL_EXPAND_KEYS = [ + "pipeline_tag", + "private", + "gated", + "downloads", + "likes", + "lastModified" +]; +var MODEL_EXPANDABLE_KEYS = [ + "author", + "cardData", + "config", + "createdAt", + "disabled", + "downloads", + "downloadsAllTime", + "gated", + "gitalyUid", + "inferenceProviderMapping", + "lastModified", + "library_name", + "likes", + "model-index", + "pipeline_tag", + "private", + "safetensors", + "sha", + // "siblings", + "spaces", + "tags", + "transformersInfo" +]; +async function* listModels(params) { + const accessToken = params && checkCredentials(params); + let totalToFetch = params?.limit ?? Infinity; + const search = new URLSearchParams([ + ...Object.entries({ + limit: String(Math.min(totalToFetch, 500)), + ...params?.search?.owner ? { author: params.search.owner } : void 0, + ...params?.search?.task ? { pipeline_tag: params.search.task } : void 0, + ...params?.search?.query ? { search: params.search.query } : void 0, + ...params?.search?.inferenceProviders ? { inference_provider: params.search.inferenceProviders.join(",") } : void 0, + ...params?.search?.apps ? { apps: params.search.apps.join(",") } : void 0, + ...params?.sort ? { sort: params.sort } : void 0 + }), + ...params?.search?.tags?.map((tag) => ["filter", tag]) ?? [], + ...MODEL_EXPAND_KEYS.map((val) => ["expand", val]), + ...params?.additionalFields?.map((val) => ["expand", val]) ?? [] + ]).toString(); + let url = `${params?.hubUrl || HUB_URL}/api/models?${search}`; + while (url) { + const res = await (params?.fetch ?? fetch)(url, { + headers: { + accept: "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : void 0 + } + }); + if (!res.ok) { + throw await createApiError(res); + } + const items = await res.json(); + for (const item of items) { + const normalizedItem = { ...item }; + if (params?.additionalFields?.includes("inferenceProviderMapping") && item.inferenceProviderMapping) { + normalizedItem.inferenceProviderMapping = normalizeInferenceProviderMapping( + item.id, + item.inferenceProviderMapping + ); + } + yield { + ...params?.additionalFields && pick(normalizedItem, params.additionalFields), + id: item._id, + name: item.id, + private: item.private, + task: item.pipeline_tag, + downloads: item.downloads, + gated: item.gated, + likes: item.likes, + updatedAt: new Date(item.lastModified) + }; + totalToFetch--; + if (totalToFetch <= 0) { + return; + } + } + const linkHeader = res.headers.get("Link"); + url = linkHeader ? parseLinkHeader(linkHeader).next : void 0; + } +} + +// src/lib/list-spaces.ts +var SPACE_EXPAND_KEYS = [ + "sdk", + "likes", + "private", + "lastModified" +]; +var SPACE_EXPANDABLE_KEYS = [ + "author", + "cardData", + "datasets", + "disabled", + "gitalyUid", + "lastModified", + "createdAt", + "likes", + "private", + "runtime", + "sdk", + // "siblings", + "sha", + "subdomain", + "tags", + "models" +]; +async function* listSpaces(params) { + const accessToken = params && checkCredentials(params); + const search = new URLSearchParams([ + ...Object.entries({ + limit: "500", + ...params?.search?.owner ? { author: params.search.owner } : void 0, + ...params?.search?.query ? { search: params.search.query } : void 0, + ...params?.sort ? { sort: params.sort } : void 0 + }), + ...params?.search?.tags?.map((tag) => ["filter", tag]) ?? [], + ...[...SPACE_EXPAND_KEYS, ...params?.additionalFields ?? []].map( + (val) => ["expand", val] + ) + ]).toString(); + let url = `${params?.hubUrl || HUB_URL}/api/spaces?${search}`; + while (url) { + const res = await (params?.fetch ?? fetch)(url, { + headers: { + accept: "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : void 0 + } + }); + if (!res.ok) { + throw await createApiError(res); + } + const items = await res.json(); + for (const item of items) { + yield { + ...params?.additionalFields && pick(item, params.additionalFields), + id: item._id, + name: item.id, + sdk: item.sdk, + likes: item.likes, + private: item.private, + updatedAt: new Date(item.lastModified) + }; + } + const linkHeader = res.headers.get("Link"); + url = linkHeader ? parseLinkHeader(linkHeader).next : void 0; + } +} + +// src/lib/list-collections.ts +async function* listCollections(params) { + const accessToken = params && checkCredentials(params); + const searchParams = new URLSearchParams(); + let totalToFetch = params?.limit ?? Infinity; + searchParams.append("limit", String(Math.min(totalToFetch, 100))); + if (params?.sort) { + searchParams.append("sort", params.sort); + } + if (params?.search?.owner) { + for (const owner of params.search.owner) { + searchParams.append("owner", owner); + } + } + if (params?.search?.item) { + for (const item of params.search.item) { + searchParams.append("item", item); + } + } + if (params?.search?.q) { + searchParams.append("q", params.search.q); + } + let url = `${params?.hubUrl || HUB_URL}/api/collections?${searchParams}`; + while (url) { + const res = await (params?.fetch ?? fetch)(url, { + headers: { + accept: "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : void 0 + } + }); + if (!res.ok) { + throw await createApiError(res); + } + const collections = await res.json(); + for (const collection of collections) { + yield collection; + totalToFetch--; + if (totalToFetch <= 0) { + return; + } + } + const linkHeader = res.headers.get("Link"); + url = linkHeader ? parseLinkHeader(linkHeader).next : void 0; + } +} + +// src/lib/model-info.ts +async function modelInfo(params) { + const accessToken = params && checkCredentials(params); + const search = new URLSearchParams([ + ...MODEL_EXPAND_KEYS.map((val) => ["expand", val]), + ...params?.additionalFields?.map((val) => ["expand", val]) ?? [] + ]).toString(); + const response = await (params.fetch || fetch)( + `${params?.hubUrl || HUB_URL}/api/models/${params.name}/revision/${encodeURIComponent( + params.revision ?? "HEAD" + )}?${search.toString()}`, + { + headers: { + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } + const data = await response.json(); + const normalizedData = { ...data }; + if (params?.additionalFields?.includes("inferenceProviderMapping") && data.inferenceProviderMapping) { + normalizedData.inferenceProviderMapping = normalizeInferenceProviderMapping(data.id, data.inferenceProviderMapping); + } + return { + ...params?.additionalFields && pick(normalizedData, params.additionalFields), + id: data._id, + name: data.id, + private: data.private, + task: data.pipeline_tag, + downloads: data.downloads, + gated: data.gated, + likes: data.likes, + updatedAt: new Date(data.lastModified) + }; +} + +// src/lib/oauth-handle-redirect.ts +async function oauthHandleRedirect(opts) { + if (typeof window === "undefined" && !opts?.redirectedUrl) { + throw new Error("oauthHandleRedirect is only available in the browser, unless you provide redirectedUrl"); + } + if (typeof localStorage === "undefined" && (!opts?.nonce || !opts?.codeVerifier)) { + throw new Error( + "oauthHandleRedirect requires localStorage to be available, unless you provide nonce and codeVerifier" + ); + } + const redirectedUrl = opts?.redirectedUrl ?? window.location.href; + const searchParams = (() => { + try { + return new URL(redirectedUrl).searchParams; + } catch (err) { + throw new Error("Failed to parse redirected URL: " + redirectedUrl); + } + })(); + const [error, errorDescription] = [searchParams.get("error"), searchParams.get("error_description")]; + if (error) { + throw new Error(`${error}: ${errorDescription}`); + } + const code = searchParams.get("code"); + const nonce = opts?.nonce ?? localStorage.getItem("huggingface.co:oauth:nonce"); + if (!code) { + throw new Error("Missing oauth code from query parameters in redirected URL: " + redirectedUrl); + } + if (!nonce) { + throw new Error("Missing oauth nonce from localStorage"); + } + const codeVerifier = opts?.codeVerifier ?? localStorage.getItem("huggingface.co:oauth:code_verifier"); + if (!codeVerifier) { + throw new Error("Missing oauth code_verifier from localStorage"); + } + const state = searchParams.get("state"); + if (!state) { + throw new Error("Missing oauth state from query parameters in redirected URL"); + } + let parsedState; + try { + parsedState = JSON.parse(state); + } catch { + throw new Error("Invalid oauth state in redirected URL, unable to parse JSON: " + state); + } + if (parsedState.nonce !== nonce) { + throw new Error("Invalid oauth state in redirected URL"); + } + const hubUrl = opts?.hubUrl || HUB_URL; + const openidConfigUrl = `${new URL(hubUrl).origin}/.well-known/openid-configuration`; + const openidConfigRes = await fetch(openidConfigUrl, { + headers: { + Accept: "application/json" + } + }); + if (!openidConfigRes.ok) { + throw await createApiError(openidConfigRes); + } + const openidConfig = await openidConfigRes.json(); + const tokenRes = await fetch(openidConfig.token_endpoint, { + method: "POST", + headers: { + "Content-Type": "application/x-www-form-urlencoded" + }, + body: new URLSearchParams({ + grant_type: "authorization_code", + code, + redirect_uri: parsedState.redirectUri, + code_verifier: codeVerifier + }).toString() + }); + if (!opts?.codeVerifier) { + localStorage.removeItem("huggingface.co:oauth:code_verifier"); + } + if (!opts?.nonce) { + localStorage.removeItem("huggingface.co:oauth:nonce"); + } + if (!tokenRes.ok) { + throw await createApiError(tokenRes); + } + const token = await tokenRes.json(); + const accessTokenExpiresAt = new Date(Date.now() + token.expires_in * 1e3); + const userInfoRes = await fetch(openidConfig.userinfo_endpoint, { + headers: { + Authorization: `Bearer ${token.access_token}` + } + }); + if (!userInfoRes.ok) { + throw await createApiError(userInfoRes); + } + const userInfo = await userInfoRes.json(); + return { + accessToken: token.access_token, + accessTokenExpiresAt, + userInfo, + state: parsedState.state, + scope: token.scope + }; +} +async function oauthHandleRedirectIfPresent(opts) { + if (typeof window === "undefined" && !opts?.redirectedUrl) { + throw new Error("oauthHandleRedirect is only available in the browser, unless you provide redirectedUrl"); + } + if (typeof localStorage === "undefined" && (!opts?.nonce || !opts?.codeVerifier)) { + throw new Error( + "oauthHandleRedirect requires localStorage to be available, unless you provide nonce and codeVerifier" + ); + } + const searchParams = new URLSearchParams(opts?.redirectedUrl ?? window.location.search); + if (searchParams.has("error")) { + return oauthHandleRedirect(opts); + } + if (searchParams.has("code")) { + if (!localStorage.getItem("huggingface.co:oauth:nonce")) { + console.warn( + "Missing oauth nonce from localStorage. This can happen when the user refreshes the page after logging in, without changing the URL." + ); + return false; + } + return oauthHandleRedirect(opts); + } + return false; +} + +// src/lib/oauth-login-url.ts +async function oauthLoginUrl(opts) { + if (typeof window === "undefined" && (!opts?.redirectUrl || !opts?.clientId)) { + throw new Error("oauthLogin is only available in the browser, unless you provide clientId and redirectUrl"); + } + if (typeof localStorage === "undefined" && !opts?.localStorage) { + throw new Error( + "oauthLogin requires localStorage to be available in the context, unless you provide a localStorage empty object as argument" + ); + } + const hubUrl = opts?.hubUrl || HUB_URL; + const openidConfigUrl = `${new URL(hubUrl).origin}/.well-known/openid-configuration`; + const openidConfigRes = await fetch(openidConfigUrl, { + headers: { + Accept: "application/json" + } + }); + if (!openidConfigRes.ok) { + throw await createApiError(openidConfigRes); + } + const opendidConfig = await openidConfigRes.json(); + const newNonce = globalThis.crypto.randomUUID(); + const newCodeVerifier = globalThis.crypto.randomUUID() + globalThis.crypto.randomUUID(); + if (opts?.localStorage) { + if (opts.localStorage.codeVerifier !== void 0 && opts.localStorage.codeVerifier !== null) { + throw new Error( + "localStorage.codeVerifier must be initially set to null or undefined, and will be filled by oauthLoginUrl" + ); + } + if (opts.localStorage.nonce !== void 0 && opts.localStorage.nonce !== null) { + throw new Error( + "localStorage.nonce must be initially set to null or undefined, and will be filled by oauthLoginUrl" + ); + } + opts.localStorage.codeVerifier = newCodeVerifier; + opts.localStorage.nonce = newNonce; + } else { + localStorage.setItem("huggingface.co:oauth:nonce", newNonce); + localStorage.setItem("huggingface.co:oauth:code_verifier", newCodeVerifier); + } + const redirectUri = opts?.redirectUrl || (typeof window !== "undefined" ? window.location.href : void 0); + if (!redirectUri) { + throw new Error("Missing redirectUrl"); + } + const state = JSON.stringify({ + nonce: newNonce, + redirectUri, + state: opts?.state + }); + const variables = ( + // @ts-expect-error window.huggingface is defined inside static Spaces. + typeof window !== "undefined" ? window.huggingface?.variables ?? null : null + ); + const clientId = opts?.clientId || variables?.OAUTH_CLIENT_ID; + if (!clientId) { + if (variables) { + throw new Error("Missing clientId, please add hf_oauth: true to the README.md's metadata in your static Space"); + } + throw new Error("Missing clientId"); + } + const challenge = base64FromBytes( + new Uint8Array(await globalThis.crypto.subtle.digest("SHA-256", new TextEncoder().encode(newCodeVerifier))) + ).replace(/[+]/g, "-").replace(/[/]/g, "_").replace(/=/g, ""); + return `${opendidConfig.authorization_endpoint}?${new URLSearchParams({ + client_id: clientId, + scope: opts?.scopes || variables?.OAUTH_SCOPES || "openid profile", + response_type: "code", + redirect_uri: redirectUri, + state, + code_challenge: challenge, + code_challenge_method: "S256" + }).toString()}`; +} + +// src/utils/typedEntries.ts +function typedEntries(obj) { + return Object.entries(obj); +} + +// src/utils/typedInclude.ts +function typedInclude(arr, v) { + return arr.includes(v); +} + +// src/utils/omit.ts +function omit(o, props) { + const propsArr = Array.isArray(props) ? props : [props]; + const letsKeep = Object.keys(o).filter((prop) => !typedInclude(propsArr, prop)); + return pick(o, letsKeep); +} + +// src/lib/parse-safetensors-metadata.ts +var SAFETENSORS_FILE = "model.safetensors"; +var SAFETENSORS_INDEX_FILE = "model.safetensors.index.json"; +var RE_SAFETENSORS_FILE = /\.safetensors$/; +var RE_SAFETENSORS_INDEX_FILE = /\.safetensors\.index\.json$/; +var RE_SAFETENSORS_SHARD_FILE = /^(?(?.*?)[_-])(?\d{5,6})-of-(?\d{5,6})\.safetensors$/; +function parseSafetensorsShardFilename(filename) { + const match = RE_SAFETENSORS_SHARD_FILE.exec(filename); + if (match && match.groups) { + return { + prefix: match.groups["prefix"], + basePrefix: match.groups["basePrefix"], + shard: match.groups["shard"], + total: match.groups["total"] + }; + } + return null; +} +var PARALLEL_DOWNLOADS = 20; +var MAX_HEADER_LENGTH = 25e6; +var GPTQ_QWEIGHT_SUFFIX = "qweight"; +var SafetensorParseError = class extends Error { +}; +async function fetchModelConfig(params) { + try { + const configBlob = await downloadFile({ + ...params, + path: "config.json" + }); + if (!configBlob) { + return null; + } + const config = JSON.parse(await configBlob.text()); + return config; + } catch (error) { + return null; + } +} +async function parseSingleFile(path2, params) { + const blob = await downloadFile({ ...params, path: path2 }); + if (!blob) { + throw new SafetensorParseError(`Failed to parse file ${path2}: failed to fetch safetensors header length.`); + } + const bufLengthOfHeaderLE = await blob.slice(0, 8).arrayBuffer(); + const lengthOfHeader = new DataView(bufLengthOfHeaderLE).getBigUint64(0, true); + if (lengthOfHeader <= 0) { + throw new SafetensorParseError(`Failed to parse file ${path2}: safetensors header is malformed.`); + } + if (lengthOfHeader > MAX_HEADER_LENGTH) { + throw new SafetensorParseError( + `Failed to parse file ${path2}: safetensor header is too big. Maximum supported size is ${MAX_HEADER_LENGTH} bytes.` + ); + } + try { + const header = JSON.parse(await blob.slice(8, 8 + Number(lengthOfHeader)).text()); + return header; + } catch (err) { + throw new SafetensorParseError(`Failed to parse file ${path2}: safetensors header is not valid JSON.`); + } +} +async function parseShardedIndex(path2, params) { + const indexBlob = await downloadFile({ + ...params, + path: path2 + }); + if (!indexBlob) { + throw new SafetensorParseError(`Failed to parse file ${path2}: failed to fetch safetensors index.`); + } + try { + const index = JSON.parse(await indexBlob.slice(0, MAX_HEADER_LENGTH).text()); + return index; + } catch (error) { + throw new SafetensorParseError(`Failed to parse file ${path2}: not a valid JSON.`); + } +} +async function fetchAllHeaders(path2, index, params) { + const pathPrefix = path2.slice(0, path2.lastIndexOf("/") + 1); + const filenames = [...new Set(Object.values(index.weight_map))]; + const shardedMap = Object.fromEntries( + await promisesQueue( + filenames.map( + (filename) => async () => [filename, await parseSingleFile(pathPrefix + filename, params)] + ), + PARALLEL_DOWNLOADS + ) + ); + return shardedMap; +} +async function parseSafetensorsMetadata(params) { + const repoId = toRepoId(params.repo); + if (repoId.type !== "model") { + throw new TypeError("Only model repos should contain safetensors files."); + } + const modelConfig = params.computeParametersCount ? await fetchModelConfig(params) : null; + const quantConfig = modelConfig?.quantization_config; + if (params.path && RE_SAFETENSORS_FILE.test(params.path) || await fileExists({ ...params, path: SAFETENSORS_FILE })) { + const header = await parseSingleFile(params.path ?? SAFETENSORS_FILE, params); + return { + sharded: false, + header, + ...params.computeParametersCount ? { + parameterCount: computeNumOfParamsByDtypeSingleFile(header, quantConfig), + parameterTotal: ( + /// shortcut: get param count directly from metadata + header.__metadata__.total_parameters ? typeof header.__metadata__.total_parameters === "number" ? header.__metadata__.total_parameters : typeof header.__metadata__.total_parameters === "string" ? parseInt(header.__metadata__.total_parameters) : void 0 : void 0 + ) + } : void 0 + }; + } else if (params.path && RE_SAFETENSORS_INDEX_FILE.test(params.path) || await fileExists({ ...params, path: SAFETENSORS_INDEX_FILE })) { + const path2 = params.path ?? SAFETENSORS_INDEX_FILE; + const index = await parseShardedIndex(path2, params); + const shardedMap = await fetchAllHeaders(path2, index, params); + return { + sharded: true, + index, + headers: shardedMap, + ...params.computeParametersCount ? { + parameterCount: computeNumOfParamsByDtypeSharded(shardedMap, quantConfig), + parameterTotal: ( + /// shortcut: get param count directly from metadata + index.metadata?.total_parameters ? typeof index.metadata.total_parameters === "number" ? index.metadata.total_parameters : typeof index.metadata.total_parameters === "string" ? parseInt(index.metadata.total_parameters) : void 0 : void 0 + ) + } : void 0 + }; + } else { + throw new Error("model id does not seem to contain safetensors weights"); + } +} +function isQuantizedTensor(tensorName, quantConfig) { + if (!quantConfig) { + return false; + } + if (!quantConfig.modules_to_not_convert || quantConfig.modules_to_not_convert.length === 0) { + return true; + } + for (const pattern of quantConfig.modules_to_not_convert) { + const regexPattern = pattern.replace(/\*/g, ".*"); + const regex = new RegExp(regexPattern); + if (regex.test(tensorName)) { + return false; + } + } + return true; +} +function getQuantizationMultiplier(tensorName, dtype, quantConfig) { + if (!quantConfig || !isQuantizedTensor(tensorName, quantConfig)) { + return 1; + } + const quantMethod = quantConfig.quant_method?.toLowerCase(); + switch (quantMethod) { + case "mxfp4": + if (dtype === "U8" && tensorName.includes("_blocks")) { + return 2; + } + return 1; + case "gptq": + case "awq": + if (getTensorSuffix(tensorName) === GPTQ_QWEIGHT_SUFFIX) { + const bits = quantConfig.bits && quantConfig.bits > 0 ? quantConfig.bits : 4; + return Math.max(1, Math.floor(32 / bits)); + } + if (quantConfig.bits === 4 && dtype === "U8") { + return 2; + } + if (quantConfig.bits === 2 && dtype === "U8") { + return 4; + } + return 1; + case "bitsandbytes": + if (quantConfig.load_in_4bit && dtype === "U8") { + return 2; + } + if (quantConfig.load_in_8bit) { + return 1; + } + return 1; + default: + if (quantConfig.load_in_4bit && dtype === "U8") { + return 2; + } + if (quantConfig.bits === 4 && dtype === "U8") { + return 2; + } + return 1; + } +} +function computeNumOfParamsByDtypeSingleFile(header, quantConfig) { + const counter = {}; + const tensors = omit(header, "__metadata__"); + for (const [tensorName, v] of typedEntries(tensors)) { + if (shouldSkipTensor(tensorName, quantConfig)) { + continue; + } + if (v.shape.length === 0) { + continue; + } + const elements = v.shape.reduce((a, b) => a * b); + const multiplier = quantConfig ? getQuantizationMultiplier(tensorName, v.dtype, quantConfig) : 1; + if (multiplier === 0) { + continue; + } + counter[v.dtype] = (counter[v.dtype] ?? 0) + elements * multiplier; + } + return counter; +} +function computeNumOfParamsByDtypeSharded(shardedMap, quantConfig) { + const counter = {}; + for (const header of Object.values(shardedMap)) { + for (const [k, v] of typedEntries(computeNumOfParamsByDtypeSingleFile(header, quantConfig))) { + counter[k] = (counter[k] ?? 0) + (v ?? 0); + } + } + return counter; +} +function getTensorSuffix(tensorName) { + const lastDotIndex = tensorName.lastIndexOf("."); + return lastDotIndex === -1 ? tensorName : tensorName.slice(lastDotIndex + 1); +} +function shouldSkipTensor(tensorName, quantConfig) { + const GPTQ_AWQ_AUXILIARY_SUFFIXES = ["qzeros", "g_idx", "scales"]; + if (!quantConfig) { + return false; + } + const quantMethod = quantConfig.quant_method?.toLowerCase(); + if (!quantMethod || quantMethod !== "gptq" && quantMethod !== "awq") { + return false; + } + if (!isQuantizedTensor(tensorName, quantConfig)) { + return false; + } + const suffix = getTensorSuffix(tensorName); + if (suffix === GPTQ_QWEIGHT_SUFFIX) { + return false; + } + return GPTQ_AWQ_AUXILIARY_SUFFIXES.includes(suffix); +} + +// src/lib/repo-exists.ts +async function repoExists(params) { + const repoId = toRepoId(params.repo); + const res = await (params.fetch ?? fetch)( + `${params.hubUrl ?? HUB_URL}/api/${repoId.type}s/${repoId.name}?expand[]=likes`, + { + method: "GET", + headers: { + ...params.accessToken && { + Authorization: `Bearer ${params.accessToken}` + } + } + } + ); + if (res.status === 404 || res.status === 401) { + return false; + } + if (!res.ok) { + throw await createApiError(res); + } + return true; +} + +// src/lib/space-info.ts +async function spaceInfo(params) { + const accessToken = params && checkCredentials(params); + const search = new URLSearchParams([ + ...SPACE_EXPAND_KEYS.map((val) => ["expand", val]), + ...params?.additionalFields?.map((val) => ["expand", val]) ?? [] + ]).toString(); + const response = await (params.fetch || fetch)( + `${params?.hubUrl || HUB_URL}/api/spaces/${params.name}/revision/${encodeURIComponent( + params.revision ?? "HEAD" + )}?${search.toString()}`, + { + headers: { + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } + const data = await response.json(); + return { + ...params?.additionalFields && pick(data, params.additionalFields), + id: data._id, + name: data.id, + sdk: data.sdk, + likes: data.likes, + private: data.private, + updatedAt: new Date(data.lastModified) + }; +} + +// src/lib/snapshot-download.ts +import { join as join3, dirname as dirname3 } from "path"; +import { mkdir as mkdir2, writeFile } from "fs/promises"; +var DEFAULT_REVISION = "main"; +async function snapshotDownload(params) { + let cacheDir; + if (params.cacheDir) { + cacheDir = params.cacheDir; + } else { + cacheDir = getHFHubCachePath(); + } + let revision; + if (params.revision) { + revision = params.revision; + } else { + revision = DEFAULT_REVISION; + } + const repoId = toRepoId(params.repo); + let repoInfo; + switch (repoId.type) { + case "space": + repoInfo = await spaceInfo({ + ...params, + name: repoId.name, + additionalFields: ["sha"], + revision + }); + break; + case "dataset": + repoInfo = await datasetInfo({ + ...params, + name: repoId.name, + additionalFields: ["sha"], + revision + }); + break; + case "model": + repoInfo = await modelInfo({ + ...params, + name: repoId.name, + additionalFields: ["sha"], + revision + }); + break; + default: + throw new Error(`invalid repository type ${repoId.type}`); + } + const commitHash = repoInfo.sha; + const storageFolder = join3(cacheDir, getRepoFolderName(repoId)); + const snapshotFolder = join3(storageFolder, "snapshots", commitHash); + if (revision !== commitHash) { + const refPath = join3(storageFolder, "refs", revision); + await mkdir2(dirname3(refPath), { recursive: true }); + await writeFile(refPath, commitHash); + } + const cursor = listFiles({ + ...params, + repo: params.repo, + recursive: true, + revision: repoInfo.sha + }); + for await (const entry of cursor) { + switch (entry.type) { + case "file": + await downloadFileToCacheDir({ + ...params, + path: entry.path, + revision: commitHash, + cacheDir + }); + break; + case "directory": + await mkdir2(join3(snapshotFolder, entry.path), { recursive: true }); + break; + default: + throw new Error(`unknown entry type: ${entry.type}`); + } + } + return snapshotFolder; +} + +// src/lib/upload-file.ts +function uploadFile(params) { + const path2 = params.file instanceof URL ? params.file.pathname.split("/").at(-1) ?? "file" : "path" in params.file ? params.file.path : params.file.name; + return commit({ + ...params.accessToken ? { accessToken: params.accessToken } : { credentials: params.credentials }, + repo: params.repo, + operations: [ + { + operation: "addOrUpdate", + path: path2, + content: "content" in params.file ? params.file.content : params.file + } + ], + title: params.commitTitle ?? `Add ${path2}`, + description: params.commitDescription, + hubUrl: params.hubUrl, + branch: params.branch, + isPullRequest: params.isPullRequest, + parentCommit: params.parentCommit, + fetch: params.fetch, + useWebWorkers: params.useWebWorkers, + abortSignal: params.abortSignal, + useXet: params.useXet + }); +} + +// src/lib/upload-files.ts +function uploadFiles(params) { + return commit({ + ...params.accessToken ? { accessToken: params.accessToken } : { credentials: params.credentials }, + repo: params.repo, + operations: params.files.map((file) => ({ + operation: "addOrUpdate", + path: file instanceof URL ? file.pathname.split("/").at(-1) ?? "file" : "path" in file ? file.path : file.name, + content: "content" in file ? file.content : file + })), + title: params.commitTitle ?? `Add ${params.files.length} files`, + description: params.commitDescription, + hubUrl: params.hubUrl, + branch: params.branch, + isPullRequest: params.isPullRequest, + parentCommit: params.parentCommit, + fetch: params.fetch, + useWebWorkers: params.useWebWorkers, + abortSignal: params.abortSignal, + useXet: params.useXet + }); +} + +// src/lib/upload-files-with-progress.ts +var multipartUploadTracking = /* @__PURE__ */ new WeakMap(); +async function* uploadFilesWithProgress(params) { + return yield* commitIter({ + ...params.accessToken ? { accessToken: params.accessToken } : { credentials: params.credentials }, + repo: params.repo, + operations: params.files.map((file) => ({ + operation: "addOrUpdate", + path: file instanceof URL ? file.pathname.split("/").at(-1) ?? "file" : "path" in file ? file.path : file.name, + content: "content" in file ? file.content : file + })), + title: params.commitTitle ?? `Add ${params.files.length} files`, + description: params.commitDescription, + hubUrl: params.hubUrl, + branch: params.branch, + isPullRequest: params.isPullRequest, + parentCommit: params.parentCommit, + useWebWorkers: params.useWebWorkers, + abortSignal: params.abortSignal, + useXet: params.useXet, + fetch: async (input, init) => { + if (!init) { + return fetch(input); + } + if (!typedInclude(["PUT", "POST"], init.method) || !("progressHint" in init) || !init.progressHint || typeof XMLHttpRequest === "undefined" || typeof input !== "string" || !(init.body instanceof ArrayBuffer) && !(init.body instanceof Blob) && !(init.body instanceof File) && typeof init.body !== "string") { + return fetch(input, init); + } + const progressHint = init.progressHint; + const progressCallback = progressHint.progressCallback; + const xhr = new XMLHttpRequest(); + xhr.upload.addEventListener("progress", (event) => { + if (event.lengthComputable) { + if (progressHint.part !== void 0) { + let tracking = multipartUploadTracking.get(progressCallback); + if (!tracking) { + tracking = { numParts: progressHint.numParts, partsProgress: {} }; + multipartUploadTracking.set(progressCallback, tracking); + } + tracking.partsProgress[progressHint.part] = event.loaded / event.total; + let totalProgress = 0; + for (const partProgress of Object.values(tracking.partsProgress)) { + totalProgress += partProgress; + } + if (totalProgress === tracking.numParts) { + progressCallback(0.9999999999); + } else { + progressCallback(totalProgress / tracking.numParts); + } + } else { + if (event.loaded === event.total) { + progressCallback(0.9999999999); + } else { + progressCallback(event.loaded / event.total); + } + } + } + }); + xhr.open(init.method, input, true); + if (init.headers) { + const headers = new Headers(init.headers); + headers.forEach((value, key) => { + xhr.setRequestHeader(key, value); + }); + } + init.signal?.throwIfAborted(); + xhr.send(init.body); + return new Promise((resolve3, reject) => { + xhr.addEventListener("load", () => { + resolve3( + new Response(xhr.responseText, { + status: xhr.status, + statusText: xhr.statusText, + headers: Object.fromEntries( + xhr.getAllResponseHeaders().trim().split("\n").map((header) => [ + header.slice(0, header.indexOf(":")), + header.slice(header.indexOf(":") + 1).trim() + ]) + ) + }) + ); + }); + xhr.addEventListener("error", () => { + reject(new Error(xhr.statusText)); + }); + if (init.signal) { + init.signal.addEventListener("abort", () => { + xhr.abort(); + try { + init.signal?.throwIfAborted(); + } catch (err) { + reject(err); + } + }); + } + }); + } + }); +} + +// src/lib/who-am-i.ts +async function whoAmI(params) { + const accessToken = checkCredentials(params); + const res = await (params.fetch ?? fetch)(`${params.hubUrl ?? HUB_URL}/api/whoami-v2`, { + headers: { + Authorization: `Bearer ${accessToken}` + } + }); + if (!res.ok) { + throw await createApiError(res); + } + const response = await res.json(); + if (typeof response.auth.accessToken?.createdAt === "string") { + response.auth.accessToken.createdAt = new Date(response.auth.accessToken.createdAt); + } + return response; +} + +export { + getHFHubCachePath, + REPO_ID_SEPARATOR, + getRepoFolderName, + scanCacheDir, + scanCachedRepo, + scanRefsDir, + scanSnapshotDir, + getBlobStat, + parseRepoType, + HUB_URL, + HubApiError, + InvalidApiResponseFormatError, + checkRepoAccess, + sha256, + XetBlob, + commitIter, + commitIterBucket, + commit, + countCommits, + createRepo, + createBranch, + createCollection, + DATASET_EXPAND_KEYS, + DATASET_EXPANDABLE_KEYS, + listDatasets, + datasetInfo, + deleteBranch, + deleteFile, + deleteFiles, + deleteRepo, + deleteCollection, + fileDownloadInfo, + downloadFile, + pathsInfo, + REGEX_COMMIT_HASH, + downloadFileToCacheDir, + fileExists, + cancelJob, + createScheduledJob, + deleteScheduledJob, + duplicateJob, + getJob, + getScheduledJob, + listJobHardware, + listJobs, + listScheduledJobs, + resumeScheduledJob, + runJob, + runScheduledJob, + streamJobEvents, + streamJobLogs, + streamJobMetrics, + suspendScheduledJob, + listCommits, + listFiles, + MODEL_EXPAND_KEYS, + MODEL_EXPANDABLE_KEYS, + listModels, + SPACE_EXPAND_KEYS, + SPACE_EXPANDABLE_KEYS, + listSpaces, + listCollections, + modelInfo, + oauthHandleRedirect, + oauthHandleRedirectIfPresent, + oauthLoginUrl, + typedEntries, + SAFETENSORS_FILE, + SAFETENSORS_INDEX_FILE, + RE_SAFETENSORS_FILE, + RE_SAFETENSORS_INDEX_FILE, + RE_SAFETENSORS_SHARD_FILE, + parseSafetensorsShardFilename, + parseSafetensorsMetadata, + repoExists, + spaceInfo, + DEFAULT_REVISION, + snapshotDownload, + uploadFile, + uploadFiles, + uploadFilesWithProgress, + whoAmI +}; diff --git a/node_modules/@huggingface/hub/dist/chunker_wasm-77LEM2OQ.mjs b/node_modules/@huggingface/hub/dist/chunker_wasm-77LEM2OQ.mjs new file mode 100644 index 0000000000000000000000000000000000000000..91d22345903a649ccda92c16ee70b61d6d9ea210 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/chunker_wasm-77LEM2OQ.mjs @@ -0,0 +1,1943 @@ +import { + __export +} from "./chunk-GAR7ORU2.mjs"; + +// src/vendor/xet-chunk/chunker_wasm_bg.js +var chunker_wasm_bg_exports = {}; +__export(chunker_wasm_bg_exports, { + Chunker: () => Chunker, + __wbg_String_8f0eb39a4a4c2f66: () => __wbg_String_8f0eb39a4a4c2f66, + __wbg_buffer_609cc3eee51ed158: () => __wbg_buffer_609cc3eee51ed158, + __wbg_call_672a4d21634d4a24: () => __wbg_call_672a4d21634d4a24, + __wbg_done_769e5ede4b31c67b: () => __wbg_done_769e5ede4b31c67b, + __wbg_get_67b2ba62fc30de12: () => __wbg_get_67b2ba62fc30de12, + __wbg_get_b9b93047fe3cf45b: () => __wbg_get_b9b93047fe3cf45b, + __wbg_getwithrefkey_1dc361bd10053bfe: () => __wbg_getwithrefkey_1dc361bd10053bfe, + __wbg_instanceof_ArrayBuffer_e14585432e3737fc: () => __wbg_instanceof_ArrayBuffer_e14585432e3737fc, + __wbg_instanceof_Uint8Array_17156bcf118086a9: () => __wbg_instanceof_Uint8Array_17156bcf118086a9, + __wbg_isArray_a1eab7e0d067391b: () => __wbg_isArray_a1eab7e0d067391b, + __wbg_isSafeInteger_343e2beeeece1bb0: () => __wbg_isSafeInteger_343e2beeeece1bb0, + __wbg_iterator_9a24c88df860dc65: () => __wbg_iterator_9a24c88df860dc65, + __wbg_length_a446193dc22c12f8: () => __wbg_length_a446193dc22c12f8, + __wbg_length_e2d2a49132c1b256: () => __wbg_length_e2d2a49132c1b256, + __wbg_new_405e22f390576ce2: () => __wbg_new_405e22f390576ce2, + __wbg_new_78feb108b6472713: () => __wbg_new_78feb108b6472713, + __wbg_new_a12002a7f91c75be: () => __wbg_new_a12002a7f91c75be, + __wbg_next_25feadfc0913fea9: () => __wbg_next_25feadfc0913fea9, + __wbg_next_6574e1a8a62d1055: () => __wbg_next_6574e1a8a62d1055, + __wbg_set_37837023f3d740e8: () => __wbg_set_37837023f3d740e8, + __wbg_set_3f1d0b984ed272ed: () => __wbg_set_3f1d0b984ed272ed, + __wbg_set_65595bdd868b3009: () => __wbg_set_65595bdd868b3009, + __wbg_set_wasm: () => __wbg_set_wasm, + __wbg_value_cd1ffa7b1ab794f1: () => __wbg_value_cd1ffa7b1ab794f1, + __wbindgen_as_number: () => __wbindgen_as_number, + __wbindgen_boolean_get: () => __wbindgen_boolean_get, + __wbindgen_debug_string: () => __wbindgen_debug_string, + __wbindgen_error_new: () => __wbindgen_error_new, + __wbindgen_in: () => __wbindgen_in, + __wbindgen_init_externref_table: () => __wbindgen_init_externref_table, + __wbindgen_is_function: () => __wbindgen_is_function, + __wbindgen_is_object: () => __wbindgen_is_object, + __wbindgen_is_undefined: () => __wbindgen_is_undefined, + __wbindgen_jsval_loose_eq: () => __wbindgen_jsval_loose_eq, + __wbindgen_memory: () => __wbindgen_memory, + __wbindgen_number_get: () => __wbindgen_number_get, + __wbindgen_number_new: () => __wbindgen_number_new, + __wbindgen_string_get: () => __wbindgen_string_get, + __wbindgen_string_new: () => __wbindgen_string_new, + __wbindgen_throw: () => __wbindgen_throw, + compute_file_hash: () => compute_file_hash, + compute_hmac: () => compute_hmac, + compute_verification_hash: () => compute_verification_hash, + compute_xorb_hash: () => compute_xorb_hash +}); +var wasm; +function __wbg_set_wasm(val) { + wasm = val; +} +var WASM_VECTOR_LEN = 0; +var cachedUint8ArrayMemory0 = null; +function getUint8ArrayMemory0() { + if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) { + cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer); + } + return cachedUint8ArrayMemory0; +} +var lTextEncoder = typeof TextEncoder === "undefined" ? (0, module.require)("util").TextEncoder : TextEncoder; +var cachedTextEncoder = new lTextEncoder("utf-8"); +var encodeString = typeof cachedTextEncoder.encodeInto === "function" ? function(arg, view) { + return cachedTextEncoder.encodeInto(arg, view); +} : function(arg, view) { + const buf = cachedTextEncoder.encode(arg); + view.set(buf); + return { + read: arg.length, + written: buf.length + }; +}; +function passStringToWasm0(arg, malloc, realloc) { + if (realloc === void 0) { + const buf = cachedTextEncoder.encode(arg); + const ptr2 = malloc(buf.length, 1) >>> 0; + getUint8ArrayMemory0().subarray(ptr2, ptr2 + buf.length).set(buf); + WASM_VECTOR_LEN = buf.length; + return ptr2; + } + let len = arg.length; + let ptr = malloc(len, 1) >>> 0; + const mem = getUint8ArrayMemory0(); + let offset = 0; + for (; offset < len; offset++) { + const code = arg.charCodeAt(offset); + if (code > 127) + break; + mem[ptr + offset] = code; + } + if (offset !== len) { + if (offset !== 0) { + arg = arg.slice(offset); + } + ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0; + const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len); + const ret = encodeString(arg, view); + offset += ret.written; + ptr = realloc(ptr, len, offset, 1) >>> 0; + } + WASM_VECTOR_LEN = offset; + return ptr; +} +var cachedDataViewMemory0 = null; +function getDataViewMemory0() { + if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || cachedDataViewMemory0.buffer.detached === void 0 && cachedDataViewMemory0.buffer !== wasm.memory.buffer) { + cachedDataViewMemory0 = new DataView(wasm.memory.buffer); + } + return cachedDataViewMemory0; +} +function addToExternrefTable0(obj) { + const idx = wasm.__externref_table_alloc(); + wasm.__wbindgen_export_4.set(idx, obj); + return idx; +} +function handleError(f, args) { + try { + return f.apply(this, args); + } catch (e) { + const idx = addToExternrefTable0(e); + wasm.__wbindgen_exn_store(idx); + } +} +function debugString(val) { + const type = typeof val; + if (type == "number" || type == "boolean" || val == null) { + return `${val}`; + } + if (type == "string") { + return `"${val}"`; + } + if (type == "symbol") { + const description = val.description; + if (description == null) { + return "Symbol"; + } else { + return `Symbol(${description})`; + } + } + if (type == "function") { + const name = val.name; + if (typeof name == "string" && name.length > 0) { + return `Function(${name})`; + } else { + return "Function"; + } + } + if (Array.isArray(val)) { + const length = val.length; + let debug = "["; + if (length > 0) { + debug += debugString(val[0]); + } + for (let i = 1; i < length; i++) { + debug += ", " + debugString(val[i]); + } + debug += "]"; + return debug; + } + const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val)); + let className; + if (builtInMatches && builtInMatches.length > 1) { + className = builtInMatches[1]; + } else { + return toString.call(val); + } + if (className == "Object") { + try { + return "Object(" + JSON.stringify(val) + ")"; + } catch (_) { + return "Object"; + } + } + if (val instanceof Error) { + return `${val.name}: ${val.message} +${val.stack}`; + } + return className; +} +var lTextDecoder = typeof TextDecoder === "undefined" ? (0, module.require)("util").TextDecoder : TextDecoder; +var cachedTextDecoder = new lTextDecoder("utf-8", { ignoreBOM: true, fatal: true }); +cachedTextDecoder.decode(); +function getStringFromWasm0(ptr, len) { + ptr = ptr >>> 0; + return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len)); +} +function isLikeNone(x) { + return x === void 0 || x === null; +} +function passArray8ToWasm0(arg, malloc) { + const ptr = malloc(arg.length * 1, 1) >>> 0; + getUint8ArrayMemory0().set(arg, ptr / 1); + WASM_VECTOR_LEN = arg.length; + return ptr; +} +function takeFromExternrefTable0(idx) { + const value = wasm.__wbindgen_export_4.get(idx); + wasm.__externref_table_dealloc(idx); + return value; +} +function compute_xorb_hash(chunks_array) { + let deferred2_0; + let deferred2_1; + try { + const ret = wasm.compute_xorb_hash(chunks_array); + var ptr1 = ret[0]; + var len1 = ret[1]; + if (ret[3]) { + ptr1 = 0; + len1 = 0; + throw takeFromExternrefTable0(ret[2]); + } + deferred2_0 = ptr1; + deferred2_1 = len1; + return getStringFromWasm0(ptr1, len1); + } finally { + wasm.__wbindgen_free(deferred2_0, deferred2_1, 1); + } +} +function compute_file_hash(chunks_array) { + let deferred2_0; + let deferred2_1; + try { + const ret = wasm.compute_file_hash(chunks_array); + var ptr1 = ret[0]; + var len1 = ret[1]; + if (ret[3]) { + ptr1 = 0; + len1 = 0; + throw takeFromExternrefTable0(ret[2]); + } + deferred2_0 = ptr1; + deferred2_1 = len1; + return getStringFromWasm0(ptr1, len1); + } finally { + wasm.__wbindgen_free(deferred2_0, deferred2_1, 1); + } +} +function passArrayJsValueToWasm0(array, malloc) { + const ptr = malloc(array.length * 4, 4) >>> 0; + for (let i = 0; i < array.length; i++) { + const add = addToExternrefTable0(array[i]); + getDataViewMemory0().setUint32(ptr + 4 * i, add, true); + } + WASM_VECTOR_LEN = array.length; + return ptr; +} +function compute_verification_hash(chunk_hashes) { + let deferred3_0; + let deferred3_1; + try { + const ptr0 = passArrayJsValueToWasm0(chunk_hashes, wasm.__wbindgen_malloc); + const len0 = WASM_VECTOR_LEN; + const ret = wasm.compute_verification_hash(ptr0, len0); + var ptr2 = ret[0]; + var len2 = ret[1]; + if (ret[3]) { + ptr2 = 0; + len2 = 0; + throw takeFromExternrefTable0(ret[2]); + } + deferred3_0 = ptr2; + deferred3_1 = len2; + return getStringFromWasm0(ptr2, len2); + } finally { + wasm.__wbindgen_free(deferred3_0, deferred3_1, 1); + } +} +function compute_hmac(hash_hex, hmac_key_hex) { + let deferred4_0; + let deferred4_1; + try { + const ptr0 = passStringToWasm0(hash_hex, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len0 = WASM_VECTOR_LEN; + const ptr1 = passStringToWasm0(hmac_key_hex, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + const ret = wasm.compute_hmac(ptr0, len0, ptr1, len1); + var ptr3 = ret[0]; + var len3 = ret[1]; + if (ret[3]) { + ptr3 = 0; + len3 = 0; + throw takeFromExternrefTable0(ret[2]); + } + deferred4_0 = ptr3; + deferred4_1 = len3; + return getStringFromWasm0(ptr3, len3); + } finally { + wasm.__wbindgen_free(deferred4_0, deferred4_1, 1); + } +} +var ChunkerFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => { +}, unregister: () => { +} } : new FinalizationRegistry((ptr) => wasm.__wbg_chunker_free(ptr >>> 0, 1)); +var Chunker = class { + __destroy_into_raw() { + const ptr = this.__wbg_ptr; + this.__wbg_ptr = 0; + ChunkerFinalization.unregister(this); + return ptr; + } + free() { + const ptr = this.__destroy_into_raw(); + wasm.__wbg_chunker_free(ptr, 0); + } + /** + * @param {number} target_chunk_size + */ + constructor(target_chunk_size) { + const ret = wasm.chunker_new(target_chunk_size); + this.__wbg_ptr = ret >>> 0; + ChunkerFinalization.register(this, this.__wbg_ptr, this); + return this; + } + /** + * @param {Uint8Array} data + * @returns {any} + */ + add_data(data) { + const ptr0 = passArray8ToWasm0(data, wasm.__wbindgen_malloc); + const len0 = WASM_VECTOR_LEN; + const ret = wasm.chunker_add_data(this.__wbg_ptr, ptr0, len0); + if (ret[2]) { + throw takeFromExternrefTable0(ret[1]); + } + return takeFromExternrefTable0(ret[0]); + } + /** + * @returns {any} + */ + finish() { + const ret = wasm.chunker_finish(this.__wbg_ptr); + if (ret[2]) { + throw takeFromExternrefTable0(ret[1]); + } + return takeFromExternrefTable0(ret[0]); + } +}; +function __wbg_String_8f0eb39a4a4c2f66(arg0, arg1) { + const ret = String(arg1); + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); +} +function __wbg_buffer_609cc3eee51ed158(arg0) { + const ret = arg0.buffer; + return ret; +} +function __wbg_call_672a4d21634d4a24() { + return handleError(function(arg0, arg1) { + const ret = arg0.call(arg1); + return ret; + }, arguments); +} +function __wbg_done_769e5ede4b31c67b(arg0) { + const ret = arg0.done; + return ret; +} +function __wbg_get_67b2ba62fc30de12() { + return handleError(function(arg0, arg1) { + const ret = Reflect.get(arg0, arg1); + return ret; + }, arguments); +} +function __wbg_get_b9b93047fe3cf45b(arg0, arg1) { + const ret = arg0[arg1 >>> 0]; + return ret; +} +function __wbg_getwithrefkey_1dc361bd10053bfe(arg0, arg1) { + const ret = arg0[arg1]; + return ret; +} +function __wbg_instanceof_ArrayBuffer_e14585432e3737fc(arg0) { + let result; + try { + result = arg0 instanceof ArrayBuffer; + } catch (_) { + result = false; + } + const ret = result; + return ret; +} +function __wbg_instanceof_Uint8Array_17156bcf118086a9(arg0) { + let result; + try { + result = arg0 instanceof Uint8Array; + } catch (_) { + result = false; + } + const ret = result; + return ret; +} +function __wbg_isArray_a1eab7e0d067391b(arg0) { + const ret = Array.isArray(arg0); + return ret; +} +function __wbg_isSafeInteger_343e2beeeece1bb0(arg0) { + const ret = Number.isSafeInteger(arg0); + return ret; +} +function __wbg_iterator_9a24c88df860dc65() { + const ret = Symbol.iterator; + return ret; +} +function __wbg_length_a446193dc22c12f8(arg0) { + const ret = arg0.length; + return ret; +} +function __wbg_length_e2d2a49132c1b256(arg0) { + const ret = arg0.length; + return ret; +} +function __wbg_new_405e22f390576ce2() { + const ret = new Object(); + return ret; +} +function __wbg_new_78feb108b6472713() { + const ret = new Array(); + return ret; +} +function __wbg_new_a12002a7f91c75be(arg0) { + const ret = new Uint8Array(arg0); + return ret; +} +function __wbg_next_25feadfc0913fea9(arg0) { + const ret = arg0.next; + return ret; +} +function __wbg_next_6574e1a8a62d1055() { + return handleError(function(arg0) { + const ret = arg0.next(); + return ret; + }, arguments); +} +function __wbg_set_37837023f3d740e8(arg0, arg1, arg2) { + arg0[arg1 >>> 0] = arg2; +} +function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) { + arg0[arg1] = arg2; +} +function __wbg_set_65595bdd868b3009(arg0, arg1, arg2) { + arg0.set(arg1, arg2 >>> 0); +} +function __wbg_value_cd1ffa7b1ab794f1(arg0) { + const ret = arg0.value; + return ret; +} +function __wbindgen_as_number(arg0) { + const ret = +arg0; + return ret; +} +function __wbindgen_boolean_get(arg0) { + const v = arg0; + const ret = typeof v === "boolean" ? v ? 1 : 0 : 2; + return ret; +} +function __wbindgen_debug_string(arg0, arg1) { + const ret = debugString(arg1); + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); +} +function __wbindgen_error_new(arg0, arg1) { + const ret = new Error(getStringFromWasm0(arg0, arg1)); + return ret; +} +function __wbindgen_in(arg0, arg1) { + const ret = arg0 in arg1; + return ret; +} +function __wbindgen_init_externref_table() { + const table = wasm.__wbindgen_export_4; + const offset = table.grow(4); + table.set(0, void 0); + table.set(offset + 0, void 0); + table.set(offset + 1, null); + table.set(offset + 2, true); + table.set(offset + 3, false); + ; +} +function __wbindgen_is_function(arg0) { + const ret = typeof arg0 === "function"; + return ret; +} +function __wbindgen_is_object(arg0) { + const val = arg0; + const ret = typeof val === "object" && val !== null; + return ret; +} +function __wbindgen_is_undefined(arg0) { + const ret = arg0 === void 0; + return ret; +} +function __wbindgen_jsval_loose_eq(arg0, arg1) { + const ret = arg0 == arg1; + return ret; +} +function __wbindgen_memory() { + const ret = wasm.memory; + return ret; +} +function __wbindgen_number_get(arg0, arg1) { + const obj = arg1; + const ret = typeof obj === "number" ? obj : void 0; + getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true); +} +function __wbindgen_number_new(arg0) { + const ret = arg0; + return ret; +} +function __wbindgen_string_get(arg0, arg1) { + const obj = arg1; + const ret = typeof obj === "string" ? obj : void 0; + var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); +} +function __wbindgen_string_new(arg0, arg1) { + const ret = getStringFromWasm0(arg0, arg1); + return ret; +} +function __wbindgen_throw(arg0, arg1) { + throw new Error(getStringFromWasm0(arg0, arg1)); +} + +// src/vendor/xet-chunk/chunker_wasm_bg.wasm.base64.ts +var wasmBase64 = atob( + ` +AGFzbQEAAAABwAIuYAJ/fwF/YAN/f38Bf2ACf38AYAN/f38AYAR/f39/AGABfwBgAW8Bf2ABfwF/YAAEf39/f2AFf39/f38AYAFv +AW9gAABgAn9vAGAAAW9gBn9/f39/fwBgAAN/f39gAm9vAW9gBn9/f39/fwF/YAV/f39/fwF/YAR/f39/AX9gAn9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ADcDACAHQagBakIANwMAIAdBoAFqQgA3AwAgB0GYAWpCADcDACAHQdgBaiIBIAJBCGop +AgA3AwAgB0HgAWoiCiACQRBqKQIANwMAIAdB6AFqIgggAkEYaikCADcDACAHQgA3A5ABIAcgBDoA+gEgB0EAOwH4ASAHIAIpAgA3 +A9ABIAcgC60gA3w3A/ABIAdBkAFqIAAgDmogCRBFIQAgB0HQAGogASkDADcDACAHQdgAaiAKKQMANwMAIAdB4ABqIAgpAwA3AwAg +B0EQaiAAQQhqKQMANwMAIAdBGGogAEEQaikDADcDACAHQSBqIABBGGopAwA3AwAgB0EoaiAAQSBqKQMANwMAIAdBMGogAEEoaikD +ADcDACAHQThqIABBMGopAwA3AwAgB0FAayAAQThqKQMANwMAIAcgBykD0AE3A0ggByAAKQMANwMIIActAPoBIQAgBy0A+QEhAiAH +IActAPgBIgQ6AHAgByAHKQPwASIDNwNoIAcgACACRXJBAnIiADoAcSAHQZgCaiICIAgpAwA3AwAgB0GQAmoiCCAKKQMANwMAIAdB +iAJqIgogASkDADcDACAHIAcpA9ABNwOAAiAHQYACaiAHQQhqIAQgAyAAECcgC0EFdCIAQSBqIgEgBksNAiACKAIAIQEgCCgCACEC +IAooAgAhBCAHKAKUAiEGIAcoAowCIQogBygChAIhCCAHKAKAAiEJIAAgBWoiACAHKAKcAjYAHCAAIAE2ABggACAGNgAUIAAgAjYA +ECAAIAo2AAwgACAENgAIIAAgCDYABCAAIAk2AAAgC0EBaiELDAELQn8gAa1CAXxCAYhCAX15iKciCiABTw0CIAdBCGoiCEEAQYAB +EEMaIAAgCkEBaiIKIAIgAyAEIAhBIEHAACAKQYAIRhsiCRAqIQsgACAKaiABIAprIAIgCkEKdq0gA3wgBCAIIAlqQYABIAlrECog +C0EBRgRAIAZBP00NBCAFIAcpAAg3AAAgBUE4aiAHQUBrKQAANwAAIAVBMGogB0E4aikAADcAACAFQShqIAdBMGopAAA3AAAgBUEg +aiAHQShqKQAANwAAIAVBGGogB0EgaikAADcAACAFQ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IEDAULIAlFBEAgAigCECACQQA2AhBBAUcNCSACIAIoAhQ2AiQgAkEoaiIEIAJBJGoiAygCACUB +EB0EfiADKAIAJQEQCSIORAAAAAAAAODDZiEDIARC////////////AAJ+IA6ZRAAAAAAAAOBDYwRAIA6wDAELQoCAgICAgICAgH8L +QoCAgICAgICAgH8gAxsgDkT////////fQ2QbQgAgDiAOYRs3AwhCAQVCAAs3AwACfwJAIAIoAihBAUYEQCACKQMwIg9CAFkNAQsg +AkEkaiACQc8AakHIkMAAED4hBEEBDAELIA9CgICAgBBaBEAgAkEBOgA4IAIgDzcDQCMAQTBrIgMkACADQciQwAA2AgQgAyACQc8A +ajYCACADQQI2AgwgA0HIjMAANgIIIANCAjcCFCADIAOtQoCAgICQAYQ3AyggAyACQThqrUKAgICAoAGENwMgIAMgA0EgajYCECAD +QQhqEGQhBCADQTBqJABBAQwBCyAPpyEEQQALIAIoAiQiBUGEAU8EQCAFEG8LQQEhCUUNAgwBC0HVksAAQQYQgQEhBAsgAEGAgICA +eDYCACAAIAQ2AgQgAUGAgICAeHJBgICAgHhGDQMgBiABEMoBDAMLCyACKAIYIgMgAigCHEcNAAsgAUGAgICAeEYEQEHRksAAQQQQ +gAEhASAAQYCAgIB4NgIAIAAgATYCBAwBCyAJRQRAQdWSwABBBhCAASEEIABBgICAgHg2AgAgACAENgIEIAFFDQEgBiABEMoBDAEL +IAAgBDYCDCAAIA02AgggACAGNgIEIAAgATYCACACKAIgIgBBhAFPBEAgABBvCyACKAIQRQ0DIAIoAhQiA0GDAU0NAwwCCyACKAIg +IgBBhAFPBEAgABBvCyACKAIQRQ0CIAIoAhQiA0GDAUsNAQwCCyACQQxqIAJBzwBqQfiQwAAQPiEEIABBgICAgHg2AgAgACAENgIE +IAFBhAFJDQEgARBvDAELIAMQbwsgAkHQAGokAA8LQaCSwABBMRDcAQALxgYBCH8CQAJAIAEgAEEDakF8cSIDIABrIghJDQAgASAI +ayIGQQRJDQAgBkEDcSEHQQAhAQJAIAAgA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IMEQEADwsgACgCHCABIAIgACgCICgCDBEB +AAveCAIKfwF+IwBBgAJrIgQkACAEIAEpABg3AhggBCABKQAQNwIQIAQgASkACDcCCCAEIAEpAAA3AgACfyADQYEITwRAIARBIGoh +BSMAQeAAayIBJAAgAUE4aiIGQgA3AwAgAUEwaiIHQgA3AwAgAUEoaiIIQgA3AwAgAUEgaiIJQgA3AwAgAUEYaiIKQgA3AwAgAUEQ +aiILQgA3AwAgAUEIaiIMQgA3AwAgAUIANwMAIAIgAyAEQgBBECABQcAAECohAiABQdgAakIANwMAIAFB0ABqQgA3AwAgAUHIAGpC +ADcDACABQgA3A0ACQAJAAkACQCACQQNPBEADQCACQQV0IgJBwQBPDQIgASACIARBECABQUBrIg1BIBA9IgJBBXQiA0HBAE8NAyAD +QSFPDQQgASANIAMQNRogAkECSw0ACwsgBSABKQMANwAAIAVBOGogBikDADcAACAFQTBqIAcpAwA3AAAgBUEoaiAIKQMANwAAIAVB +IGogCSkDADcAACAFQRhqIAopAwA3AAAgBUEQaiALKQMANwAAIAVBCGogDCkDADcAACABQeAAaiQADAMLIAJBwABBgL7AABDOAQAL +IANBwABBkL7AABDOAQALIANBIEGgvsAAEM4BAAsgBEH4AGogBEEYaikCADcDACAEQfAAaiAEQRBqKQIANwMAIARB6ABqIARBCGop +AgA3AwAgBCAEKQIANwNgQcAAIQNBFAwBCyAEQcgBakIANwMAIARBwAFqQgA3AwAgBEG4AWpCADcDACAEQbABakIANwMAIARBqAFq +QgA3AwAgBEGYAWpCADcDACAEQRA6APoBIARBoAFqQgA3AwAgBEHYAWoiBSAEQQhqKQIANwMAIARB6AFqIgYgBEEYaikCADcDACAE +QeABaiIHIARBEGopAgA3AwAgBEIANwOQASAEIAQpAgA3A9ABIARBADsB+AEgBEIANwPwASAEQZABaiACIAMQRSEBIARB6ABqIAUp +AwA3AwAgBEHwAGogBykDADcDACAEQfgAaiAGKQMANwMAIARBKGogAUEIaikDADcDACAEQTBqIAFBEGopAwA3AwAgBEE4ai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QNxIgZqIgUgAE0NACAAIQMgASEEIAYEQCAG +IQcDQCADIAQtAAA6AAAgBEEBaiEEIANBAWohAyAHQQFrIgcNAAsLIAZBAWtBB0kNAANAIAMgBC0AADoAACADQQFqIARBAWotAAA6 +AAAgA0ECaiAEQQJqLQAAOgAAIANBA2ogBEEDai0AADoAACADQQRqIARBBGotAAA6AAAgA0EFaiAEQQVqLQAAOgAAIANBBmogBEEG +ai0AADoAACADQQdqIARBB2otAAA6AAAgBEEIaiEEIANBCGoiAyAFRw0ACwsgBSACIAZrIgdBfHEiCGohAwJAIAEgBmoiBEEDcUUE +QCADIAVNDQEgBCEBA0AgBSABKAIANgIAIAFBBGohASAFQQRqIgUgA0kNAAsMAQsgAyAFTQ0AIARBA3QiAkEYcSEGIARBfHEiCUEE +aiEBQQAgAmtBGHEhCiAJKAIAIQIDQCAFIAIgBnYgASgCACICIAp0cjYCACABQQRqIQEgBUEEaiIFIANJDQALCyAHQQNxIQIgBCAI +aiEBCwJAIAMgAiADaiIGTw0AIAJBB3EiBARAA0AgAyABLQAAOgAAIAFBAWohASADQQFqIQMgBEEBayIEDQALCyACQQFrQQdJDQAD +QCADIAEtAAA6AAAgA0EBaiABQQFqLQAAOgAAIANBAmogAUECai0AADoAACADQQNqIAFBA2otAAA6AAAgA0EEaiABQQRqLQAAOgAA +IANBBWogAUEFai0AADoAACADQQZqIAFBBmotAAA6AAAgA0EHaiABQQdqLQAAOgAAIAFBCGohASADQQhqIgMgBkcNAAsLIAALhAYC +AX8BfCMAQTBrIgIkAAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAAtAABBAWsOEQECAwQFBgcICQoLDA0O +DxARAAsgAiAALQABOgAIIAJBAjYCFCACQdi/wAA2AhAgAkIBNwIcIAIgAkEIaq1CgICAgOAHhDcDKCACIAJBKGo2AhggASgCHCAB +KAIgIAJBEGoQOAwRCyACIAApAwg3AwggAkECNgIUIAJB9L/AADYCECACQgE3AhwgAiACQQhqrUKAgICA8AeENwMoIAIgAkEoajYC +GCABKAIcIAEoAiAgAkEQahA4DBALIAIgACkDCDcDCCACQQI2AhQgAkH0v8AANgIQIAJCATcCHCACIAJBCGqtQoCAgICACIQ3Aygg +AiACQShqNgIYIAEoAhwgASgCICACQRBqEDgMDwsgACsDCCEDIAJBAjYCFCACQZTAwAA2AhAgAkIBNwIcIAIgAkEoaq1CgICAgJAI +hDcDCCACIAM5AyggAiACQQhqNgIYIAEoAhwgASgCICACQRBqEDgMDgsgAiAAKAIENgIIIAJBAjYCFCACQbDAwAA2AhAgAkIBNwIc +IAIgAkEIaq1CgICAgKAIhDcDKCACIAJBKGo2AhggASgCHCABKAIgIAJBEGoQOAwNCyACIAApAgQ3AgggAkEBNgIUIAJByMDAADYC +ECACQgE3AhwgAiACQQhqrUKAgICAsAiENwMoIAIgAkEoajYCGCABKAIcIAEoAiAgAkEQahA4DAwLIAFBxL/AAEEKELoBDAsLIAFB +0MDAAEEKELoBDAoLIAFB2sDAAEEMELoBDAkLIAFB5sDAAEEOELoBDAgLIAFB9MDAAEEIELoBDAcLIAFB/MDAAEEDELoBDAYLIAFB +/8DAAEEEELoBDAULIAFBg8HAAEEMELoBDAQLIAFBj8HAAEEPELoBDAMLIAFBnsHAAEENELoBDAILIAFBq8HAAEEOELoBDAELIAEg +ACgCBCAAKAIIELoBCyACQTBqJAAL/gUBBX8gAEEIayIBIABBBGsoAgAiA0F4cSIAaiECAkACQCADQQFxDQAgA0ECcUUNASABKAIA +IgMgAGohACABIANrIgFBkIfBACgCAEYEQCACKAIEQQNxQQNHDQFBiIfBACAANgIAIAIgAigCBEF+cTYCBCABIABBAXI2AgQgAiAA +NgIADwsgASADEFALAkACQAJAAkACQCACKAIEIgNBAnFFBEAgAkGUh8EAKAIARg0CIAJBkIfBACgCAEYNAyACIANBeHEiAhBQIAEg +ACACaiIAQQFyNgIEIAAgAWogADYCACABQZCHwQAoAgBHDQFBiIfBACAANgIADwsgAiADQX5xNgIEIAEgAEEBcjYCBCAAIAFqIAA2 +AgALIABBgAJJDQIgASAAEFVBACEBQaiHwQBBqIfBACgCAEEBayIANgIAIAANBEHwhMEAKAIAIgAEQANAIAFBAWohASAAKAIIIgAN +AAsLQaiHwQBB/x8gASABQf8fTRs2AgAPC0GUh8EAIAE2AgBBjIfBAEGMh8EAKAIAIABqIgA2AgAgASAAQQFyNgIEQZCHwQAoAgAg +AUYEQEGIh8EAQQA2AgBBkIfBAEEANgIACyAAQaCHwQAoAgAiA00NA0GUh8EAKAIAIgJFDQNBACEAQYyHwQAoAgAiBEEpSQ0CQeiE +wQAhAQNAIAIgASgCACIFTwRAIAIgBSABKAIEakkNBAsgASgCCCEBDAALAAtBkIfBACABNgIAQYiHwQBBiIfBACgCACAAaiIANgIA +IAEgAEEBcjYCBCAAIAFqIAA2AgAPCyAAQfgBcUH4hMEAaiECAn9BgIfBACgCACIDQQEgAEEDdnQiAHFFBEBBgIfBACAAIANyNgIA +IAIMAQsgAigCCAshACACIAE2AgggACABNgIMIAEgAjYCDCABIAA2AggPC0HwhMEAKAIAIgEEQANAIABBAWohACABKAIIIgENAAsL +QaiHwQBB/x8gACAAQf8fTRs2AgAgAyAETw0AQaCHwQBBfzYCAAsL6gQBCn8jAEEwayIDJAAgAyABNgIsIAMgADYCKCADQQM6ACQg +A0IgNwIcIANBADYCFCADQQA2AgwCfwJAAkACQCACKAIQIgpFBEAgAigCDCIARQ0BIAIoAggiASAAQQN0aiEEIABBAWtB/////wFx +QQFqIQcgAigCACEAA0AgAEEEaigCACIFBEAgAygCKCAAKAIAIAUgAygCLCgCDBEBAA0ECyABKAIAIANBDGogAUEEaigCABEAAA0D +IABBCGohACABQQhqIgEgBEcNAAsMAQsgAigCFCIARQ0AIABBBXQhCyAAQQFrQf///z9xQQFqIQcgAigCCCEFIAIoAgAhAANAIABB +BGooAgAiAQRAIAMoAiggACgCACABIAMoAiwoAgwRAQANAwsgAyAIIApqIgFBEGooAgA2AhwgAyABQRxqLQAAOgAkIAMgAUEY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EQQRqIgQgA0kNAAsLIAJBA3EhAgsCQCADIAIgA2oiBU8NACAC +QQdxIgQEQANAIAMgAToAACADQQFqIQMgBEEBayIEDQALCyACQQFrQQdJDQADQCADIAE6AAAgA0EHaiABOgAAIANBBmogAToAACAD +QQVqIAE6AAAgA0EEaiABOgAAIANBA2ogAToAACADQQJqIAE6AAAgA0EBaiABOgAAIANBCGoiAyAFRw0ACwsgAAv+AgEEfwJAAkAC +QAJAAkACQAJ/AkAgByAIVgRAIAcgCH0gCFgNAwJAIAYgByAGfVQgByAGQgGGfSAIQgGGWnFFBEAgBiAIVg0BDAoLIAIgA0kNBQwI +CyAHIAYgCH0iBn0gBlYNCCACIANJDQUgASADaiEMIAEhCwJAA0AgAyAJRg0BIAlBAWohCSALQQFrIgsgA2oiCi0AAEE5Rg0ACyAK +IAotAABBAWo6AAAgAyAJa0EBaiADTw0HIApBAWpBMCAJQQFrEEMaDAcLQTEgA0UNAhogAUExOgAAIANBAUcNAUEwDAILIABBADYC +AA8LIAFBAWpBMCADQQFrEEMaQTALIQkgBEEBasEiBCAFwUwgAiADTXINAyAMIAk6AAAgA0EBaiEDDAMLIABBADYCAA8LIAMgAkGQ +4sAAEM4BAAsgAyACQfDhwAAQzgEACyACIANPDQAgAyACQYDiwAAQzgEACyAAIAQ7AQggACADNgIEIAAgATYCAA8LIABBADYCAAub +AwECfwJAAkACQAJAIAAtAGgiAwRAIANBwQBPDQMgACADaiABIAJBwAAgA2siAyACIANJGyIDEDUaIAAgAC0AaCADaiIEOgBoIAEg +A2ohASACIANrIgJFBEBBACECDAILIABBQGsgAEHAACAAKQNgIAAtAGogAC0AaUVyECcgAEIANwMAIABBADoAaCAAQQhqQgA3AwAg +AEEQakIANwMAIABBGGpCADcDACAAQSBqQgA3AwAgAEEoakIANwMAIABBMGpCADcDACAAQThqQgA3AwAgACAALQBpQQFqOgBpC0EA +IQMgAkHBAEkNASAAQUBrIQQgAC0AaSEDA0AgBCABQcAAIAApA2AgAC0AaiADQf8BcUVyECcgACAALQBpQQFqIgM6AGkgAUFAayEB +IAJBQGoiAkHAAEsNAAsgAC0AaCEECyAEQf8BcSIDQcEATw0CCyAAIANqIAEgAkHAACADayIBIAEgAksbIgEQNRogACAALQBoIAFq +OgBoIAAPCyADQcAAQfC8wAAQzQEACyADQcAAQfC8wAAQzQEAC+cCAQV/AkBBzf97QRAgACAAQRBNGyIAayABTQ0AIABBECABQQtq +QXhxIAFBC0kbIgRqQQxqECgiAkUNACACQQhrIQECQCAAQQFrIgMgAnFFBEAgASEADAELIAJBBGsiBSgCACIGQXhxIAIgA2pBACAA +a3FBCGsiAiAAQQAgAiABa0EQTRtqIgAgAWsiAmshAyAGQQNxBEAgACADIAAoAgRBAXFyQQJyNgIEIAAgA2oiAyADKAIEQQFyNgIE +IAUgAiAFKAIAQQFxckECcjYCACABIAJqIgMgAygCBEEBcjYCBCABIAIQQQwBCyABKAIAIQEgACADNgIEIAAgASACajYCAAsCQCAA +KAIEIgFBA3FFDQAgAUF4cSICIARBEGpNDQAgACAEIAFBAXFyQQJyNgIEIAAgBGoiASACIARrIgRBA3I2AgQgACACaiICIAIoAgRB +AXI2AgQgASAEEEELIABBCGohAwsgAwuCAwEHfyMAQRBrIgQkAAJAAkACQAJAAkAgASgCBCICRQ0AIAEoAgAhByACQQNxIQUCQCAC +QQRJBEBBACECDAELIAdBHGohAyACQXxxIQhBACECA0AgAygCACADQQhrKAIAIANBEGsoAgAgA0EYaygCACACampqaiECIANBIGoh +AyAIIAZBBGoiBkcNAAsLIAUEQCAGQQN0IAdqQQRqIQMDQCADKAIAIAJqIQIgA0EIaiEDIAVBAWsiBQ0ACwsgASgCDARAIAJBAEgN +ASAHKAIERSACQRBJcQ0BIAJBAXQhAgtBACEFIAJBAEgNAyACDQELQQEhA0EAIQIMAQtB+YLBAC0AABpBASEFIAJBARC+ASIDRQ0B +CyAEQQA2AgggBCADNgIEIAQgAjYCACAEQYDLwAAgARA4RQ0BQZzMwABB1gAgBEEPakGMzMAAQ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AFBBnZBwAFyOgAMQQILIQMgBCABQT9xQYABcjoAACADIAAoAgAgACgCCCIBa0sEQCAA +IAEgAxBnIAAoAgghAQsgACgCBCABaiACQQxqIAMQNRogACABIANqNgIIDAELIAAoAggiAyAAKAIARgRAIABBnM3AABBsCyAAIANB +AWo2AgggACgCBCADaiABOgAACyACQRBqJABBAAvCAgECfyMAQRBrIgIkAAJAIAFBgAFPBEAgAkEANgIMAn8gAUGAEE8EQCABQYCA +BE8EQCACIAFBP3FBgAFyOgAPIAIgAUESdkHwAXI6AAwgAiABQQZ2QT9xQYABcjoADiACIAFBDHZBP3FBgAFyOgANQQQMAgsgAiAB +QT9xQYABcjoADiACIAFBDHZB4AFyOgAMIAIgAUEGdkE/cUGAAXI6AA1BAwwBCyACIAFBP3FBgAFyOgANIAIgAUEGdkHAAXI6AAxB +AgshASABIAAoAgAgACgCCCIDa0sEQCAAIAMgARBgIAAoAgghAwsgACgCBCADaiACQQxqIAEQNRogACABIANqNgIIDAELIAAoAggi +AyAAKAIARgRAIABBuMbAABBsCyAAKAIEIANqIAE6AAAgACADQQFqNgIICyACQRBqJABBAAvEAgEEfyAAQgA3AhAgAAJ/QQAgAUGA +AkkNABpBHyABQf///wdLDQAaIAFBBiABQQh2ZyIDa3ZBAXEgA0EBdGtBPmoLIgI2AhwgAkECdEHog8EAaiEEQQEgAnQiA0GEh8EA +KAIAcUUEQCAEIAA2AgAgACAENgIYIAAgADYCDCAAIAA2AghBhIfBAEGEh8EAKAIAIANyNgIADwsCQAJAIAEgBCgCACIDKAIEQXhx +RgRAIAMhAgwBCyABQRkgAkEBdmtBACACQR9HG3QhBQNAIAMgBUEddkEEcWpBEGoiBCgCACICRQ0CIAVBAXQhBSACIQMgAigCBEF4 +cSABRw0ACwsgAigCCCIBIAA2AgwgAiAANgIIIABBADYCGCAAIAI2AgwgACABNgIIDwsgBCAANgIAIAAgAzYCGCAAIAA2AgwgACAA +NgIIC/oCAgF/AX4jAEHgAWsiAiQAIAIgASkDADc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QF0IgUgAyAFSxsiAyADQQRNGyIFrUIUfiIIQiCIUEUEQEEAQQAgARCxAQALAkAgCKciB0H8////B00EQEEAIQMgAiAE +BH8gAiAEQRRsNgIcIAIgACgCBDYCFEEEBSADCzYCGCACQQhqQQQgByACQRRqEHMgAigCCEEBRw0BIAIoAgwhBiACKAIQIQMLIAYg +AyABELEBAAsgAigCDCEBIAAgBTYCACAAIAE2AgQgAkEgaiQAC94BAQR/IwBBEGsiAyQAIAAoAgwhAQJAAn8CQAJAAkACQAJAIAAo +AgQOAgABAgsgAQ0BQQEhAUEAIQBBASECDAMLIAFFDQELIANBBGogABBHIAMoAgQhACADKAIIIQIgAygCDAwCCyAAKAIAIgEoAgQi +AEEASA0CIAEoAgAhASAARQRAQQEhAkEAIQAMAQtB+YLBAC0AABpBASEEIABBARC+ASICRQ0CCyACIAEgABA1GiAACyEBIAIgARC0 +ASAABEAgAiAAEMoBCyADQRBqJAAPCyAEIABBlIvAABCxAQAL0AEBBX8jAEEgayIBJAAgACgCACIDQQFqIgIgA0EBdCIEIAIgBEsb +IgJB/////wBLBEBBAEEAQbiQwAAQsQEACwJAQQQgAiACQQRNGyICQQR0IgRB/P///wdNBH8gASADBH8gASADQQR0NgIcIAEgACgC +BDYCFEEEBUEACzYCGCABQQhqQQQgBCABQRRqEHMgASgCCEEBRw0BIAEoAhAhBSABKAIMBUEACyAFQbiQwAAQsQEACyABKAIMIQMg +ACACNgIAIAAgAzYCBCABQSBqJAAL8gEBAn8jAEEwayICJAACQCAAKQMAQv///////////wCDQoCAgICAgID4/wBaBEAgAkEBNgIU +IAJBvMHAADYCECACQgE3AhwgAiAArUKAgICAwAiENwMoIAIgAkEoajYCGCABKAIcIAEoAiAgAkEQahA4IQMMAQsgAkEAOgAMIAIg +ATYCCEEBIQMgAkEBNgIUIAJBvMHAADYCECACQgE3AhwgAiAArUKAgICAwAiENwMoIAIgAkEoajYCGCACQQhqQaS/wAAgAkEQahA4 +DQAgAi0ADEUEQCABQcTBwABB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bDJwAAQ +nQEACyAAQTBqJAALnAICA38BfiMAQRBrIgEkACABQaiDwQA2AgQgAEGwg8EALQAAQQNHBH8gASABQQRqNgIIIAEgAUEIajYCDCAB +QQxqIQIjAEEgayIAJAACQAJAAkACQAJAAkACQEGwg8EALQAAQQFrDgMCBAEAC0Gwg8EAQQI6AAAgAigCACIDKAIAIQIgA0EANgIA +IAJFDQIgAigCAEKACDcDAEGwg8EAQQM6AAALIABBIGokAAwECyAAQQA2AhggAEEBNgIMIABBqLDAADYCCAwCC0HoscAAENEBAAsg +AEEANgIYIABBATYCDCAAQeiwwAA2AggLIABCBDcCECAAQQhqQeyvwAAQnQEACyABKAIEBUGog8EACykDABCuASABQRBqJABQC14B +AX8jAEEwayICJAAgAiABNgIMIAIgADYCCCACQQI2AhQgAkHojMAANgIQIAJCATcCHCACIAJBCGqtQoCAgICwAYQ3AyggAiACQShq +NgIYIAJBEGoQZCACQTBqJAALXgEBfyMAQTBrIgIkACACIAE2AgwgAiAANgIIIAJBAjYCFCACQYyNwAA2AhAgAkIBNwIcIAIgAkEI +aq1CgICAgLABhDcDKCACIAJBKGo2AhggAkEQahBkIAJBMGokAAtbAQF/IAEoAgAiBEEBcQRAIAAgASAEIARBfnEgAiADEG0PCyAE +IAQoAggiAUEBajYCCCABQQBOBEAgACAENgIMIAAgAzYCCCAAIAI2AgQgAEG8uMAANgIADwsAC2MBAX9BACEBAkAgA0EATgRAIANF +BEBBASEEDAILQfmCwQAtAAAaQQEhASADQQEQvgEiBA0BCyABIANBpLbAABCxAQALIAQgAiADEDUhASAAIAM2AgggACABNgIEIAAg +AzYCAAtYAQF/IAEoAgAiBEEBcQRAIAAgASAEIAQgAiADEG0PCyAEIAQoAggiAUEBajYCCCABQQBOBEAgACAENgIMIAAgAzYCCCAA +IAI2AgQgAEG8uMAANgIADwsAC1gBAX8jAEEgayIDJAAgA0EYaiACQRhqKQAANwMAIANBEGogAkEQaikAADcDACADQQhqIAJBCGop +AAA3AwAgAyACKQAANwMAIAAgAyABQSAQMiADQSBqJAALTgAjAEEgayIAJAAgAEEBNgIEIABB4L7AADYCACAAQgE3AgwgAELIvsCA +wAc3AxggACAAQRhqNgIIIAEoAhwgASgCICAAEDggAEEgaiQAC00BAX8jAEEwayIBJAAgAUEBNgIMIAFBsOTAADYCCCABQgE3AhQg +ASABQS9qrUKAgICAgAyENwMgIAEgAUEgajYCECABQQhqIAAQnQEAC0MAIAEoAgAiAUEBcQRAIAFBfnEgAiADEOUBIQEgACADNgII +IAAgATYCBCAAIAIgA2ogAWs2AgAPCyAAIAEgAiADEF4LOgEBfyMAQSBrIgAkACAAQQA2AhggAEEBNgIMIABBtMrAADYCCCAAQgQ3 +AhAgAEEIakHoysAAEJ0BAAtFAQF/IAIgACgCACAAKAIIIgNrSwRAIAAgAyACQQFBARBYIAAoAgghAwsgACgCBCADaiABIAIQNRog +ACACIANqNgIIQQALQQEBfyACIAAoAgAgACgCCCIDa0sEQCAAIAMgAhBgIAAoAgghAwsgACgCBCADaiABIAIQNRogACACIANqNgII +QQALQAAgASgCACIBQQFxBEAgASACIAMQ5QEhASAAIAM2AgggACABNgIEIAAgAiADaiABazYCAA8LIAAgASACIAMQXgtCAQF/IAAo +AgAiACgCMCIBBEAgACgCNCABEMoBCwJAIABBf0YNACAAIAAoAgRBAWsiATYCBCABDQAgAEHIABDKAQsLTwECf0H5gsEALQAAGiAB +KAIEIQIgASgCACEDQQhBBBC+ASIBRQRAQQRBCBDjAQALIAEgAjYCBCABIAM2AgAgAEHQycAANgIEIAAgATYCAAtBAQF/IAIgACgC +ACAAKAIIIgNrSwRAIAAgAyACEGcgACgCCCEDCyAAKAIEIANqIAEgAhA1GiAAIAIgA2o2AghBAAtCAQF/IwBBIGsiAyQAIANBADYC +ECADQQE2AgQgA0IENwIIIAMgATYCHCADIAA2AhggAyADQRhqNgIAIAMgAhCdAQALQAEBfyABKAIAIgEgASgCCCIEQQFqNgIIIARB +AEgEQAALIAAgATYCDCAAIAM2AgggACACNgIEIABBvLjAADYCAAs8ACAAIAEpAAA3AAAgAEEYaiABQRhqKQAANwAAIABBEGogAUEQ +aikAADcAACAAQQhqIAFBCGopAAA3AAALjgIBA38gACgCACECIAEoAhQiAEEQcUUEQCAAQSBxRQRAIAIgARDQAQ8LQQAhACMAQYAB +ayIEJAAgAigCACECA0AgACAEakH/AGogAkEPcSIDQTByIANBN2ogA0EKSRs6AAAgAEEBayEAIAJBD0sgAkEEdiECDQALIAFBAUHc +5sAAQQIgACAEakGAAWpBACAAaxAwIARBgAFqJAAPC0EAIQAjAEGAAWsiBCQAIAIoAgAhAgNAIAAgBGpB/wBqIAJBD3EiA0EwciAD +QdcAaiADQQpJGzoAACAAQQFrIQAgAkEPSyACQQR2IQINAAsgAUEBQdzmwABBAiAAIARqQYABakEAIABrEDAgBEGAAWokAAvgcwMj +fxp+AXwgASgCFEEBcSECIAArAwAhPwJAIAEoAghBAUYEQAJ/IAEhCCABKAIMIRNBACEAIwBB8AhrIgkkACA/vSEnAn9BAyA/mUQA +AAAAAADwf2ENABpBAiAnQoCAgICAgID4/wCDIiZCgICAgICAgPj/AFENABogJ0L/////////B4MiKUKAgICAgICACIQgJ0IBhkL+ +////////D4MgJ0I0iKdB/w9xIgEbIiVCAYMhKCAmUARAQQQgKVANARogAUGzCGshAEIBISYgKFAMAQtCgICAgICAgCAgJUIBhiAl +QoCAgICAgIAIUSIAGyElQgJCASAAGyEmQct3Qcx3IAAbIAFqIQAgKFALIQEgCSAAOwHoCCAJICY3A+AIIAlCATcD2AggCSAlNwPQ +CCAJIAE6AOoIAkACfwJAAkACQAJAIAFBAmsiAwRAQQEhAUG748AAQbzjwAAgJ0IAUyIGG0G748AAQQEgBhsgAhshGSAnQj+IpyAC +ciEcQQMgAyADQQNPG0ECaw4CAgMBCyAJQQM2ApgIIAlBvePAADYClAggCUECOwGQCEEBIRlBASEBIAlBkAhqDAQLIAlBAzYCmAgg +CUHA48AANgKUCCAJQQI7AZAIIAlBkAhqDAMLQQIhASAJQQI7A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GIAdLDQELIBgg +DzsBCCAYIAY2AgQgGCALNgIAIAVBwAZqJAAMBgsgBiAHQbDTwAAQzgEACyAEQShBlPjAABDOAQALQShBKEGU+MAAEH0ACyABQShB +lPjAABDOAQALQaT4wABBGkGU+MAAEJABAAsgCUHICGogCUGYCGooAgA2AgAgCSAJKQKQCDcDwAgLIBQgCS4ByAgiAEgEQCAJQQhq +IAkoAsAIIAkoAsQIIAAgEyAJQZAIahBRIAkoAgwhASAJKAIIDAMLQQIhASAJQQI7AZAIIBNFBEBBASEBIAlBATYCmAggCUHD48AA +NgKUCCAJQZAIagwDCyAJIBM2AqAIIAlBADsBnAggCUECNgKYCCAJQbnjwAA2ApQIIAlBkAhqDAILQcTjwABBJUHs48AAEJABAAtB +ASEBIAlBATYCmAggCUHD48AANgKUCCAJQZAIagshACAJIAE2AswIIAkgADYCyAggCSAcNgLECCAJIBk2AsAIIAggCUHACGoQOSAJ +QfAIaiQADAELIABBKEGU+MAAEM4BAAsPCwJ/IAEhEUEAIQBBACEBIwBBgAFrIgQkACA/vSEmAn9BAyA/mUQAAAAAAADwf2ENABpB +AiAmQoCAgICAgID4/wCDIidCgICAgICAgPj/AFENABogJkL/////////B4MiKUKAgICAgICACIQgJkIBhkL+////////D4MgJkI0 +iKdB/w9xIgAbIiVCAYMhKCAnUARAQQQgKVANARogAEGzCGshAEIBIScgKFAMAQtCgICAgICAgCAgJUIBhiAlQoCAgICAgIAIUSID +GyElQgJCASADGyEnQct3Qcx3IAMbIABqIQAgKFALIQMgBCAAOwF4IAQgJzcDcCAEQgE3A2ggBCAlNwNgIAQgAzoAegJAAn8CQAJA +AkAgA0ECayIDBEBBASEAQbvjwABBvOPAACAmQgBTIgYbQbvjwABBASAGGyACGyEYQQEgJkI/iKcgAhshGUEDIAMgA0EDTxtBAmsO +AgMCAQsgBEEDNgIoIARBvePAADYCJCAEQQI7ASBBASEYQQEhACAEQSBqDAMLIARBAzYCKCAEQcDjwAA2AiQgBEECOwEgIARBIGoM +AgsgBEEgaiEGIARBD2oiDiEIIwBBMGsiAyQAAkACQAJ/AkACQAJAAkACQAJAAkACQCAEQeAAaiIMIgApAwAiJVBFBEAgACkDCCIn +UA0BIAApAxAiJlANAiAlICZ8IiYgJVQNAyAlICdUDQQgJkKAgICAgICAgCBaDQUgAyAALwEYIgA7AQggAyAlICd9Iic3AwAgACAA +QSBrIAAgJkKAgICAEFQiAhsiC0EQayALICZCIIYgJiACGyImQoCAgICAgMAAVCICGyILQQhrIAsgJkIQhiAmIAIbIiZCgICAgICA +gIABVCICGyILQQRrIAsgJkIIhiAmIAIbIiZCgICAgICAgIAQVCICGyILQQJrIAsgJkIEhiAmIAIbIiZCgICAgICAgIDAAFQiAhsg +JkIChiAmIAIbIihCAFkiC2siAmvBIglBAEgNBiADQn8gCa0iKYgiJiAngzcDECAmICdUDQogAyAAOwEIIAMgJTcDACADICUgJoM3 +AxAgJSAmVg0KQaB/IAJrwUHQAGxBsKcFakHOEG0iAEHRAE8NByAAQQR0IgBBgNTAAGopAwAiKkL/////D4MiJiAlIClCP4MiJYYi +K0IgiCI1fiIsQiCIIjEgKkIgiCIpIDV+IjJ8ICkgK0L/////D4MiKn4iK0IgiCI2fCEzICxC/////w+DICYgKn5CIIh8ICtC//// +/w+DfCI3QoCAgIAIfEIgiCErQgFBACACIABBiNTAAGovAQBqa0E/ca0iLIYiKkIBfSEuICYgJyAlhiIlQiCIIid+Ii1C/////w+D +ICYgJUL/////D4MiJX5CIIh8ICUgKX4iJUL/////D4N8Ij5CgICAgAh8QiCIITQgJyApfiE4ICVCIIghOSAtQiCIITogAEGK1MAA +ai8BACEJICkgKCALrYYiJUIgiCI7fiI8ICYgO34iJ0IgiCIvfCApICVC/////w+DIiV+IihCIIgiMHwgJ0L/////D4MgJSAmfkIg +iHwgKEL/////D4N8Ij1CgICAgAh8QiCIfEIBfCItICyIpyIAQZDOAE8EQCAAQcCEPUkNCSAAQYDC1y9PBEBBCEEJIABBgJTr3ANJ +IgIbIQtBgMLXL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IQJFDQALQdDfwAAQlwEACyABIAhqQQFrIQsgKiAxIDZ8IDdCgICAgAh8QiCIfCAyfEIKfiAvIDB8ID1CgICAgAh8 +QiCIfCA8fEIKfn0gKH58IS0gKUIKfiAmICp8fSEuICwgJn0hL0IAISkDQCAmICp8IiUgLFQgKSAvfCAmIC18WnJFBEBBACEADAUL +IAsgAkEBayICOgAAICkgLnwiMCAqVCEAICUgLFoNBSApICp9ISkgJSEmICogMFgNAAsMBAtBEUERQeDfwAAQfQALIAFBEUHw38AA +EH0ACwJAICUgKlogAnINACAqICUgKHwiJlggKiAlfSAmICp9VHENACAGQQA2AgAMBAsgJSA0QgN9WCAlQgJacUUEQCAGQQA2AgAM +BAsgBiAJOwEIIAYgAUEBajYCBAwCCyAmISULAkAgJSArWiAAcg0AICsgJSAqfCImWCArICV9ICYgK31UcQ0AIAZBADYCAAwCCyAl +IChCWH4gJ3xYICUgKEIUflpxRQRAIAZBADYCAAwCCyAGIAk7AQggBiABNgIECyAGIAg2AgALIANBMGokAAwBCyADQQA2AhgjAEEQ +ayIAJAAgACADNgIMIAAgA0EQajYCCCAAQQhqQajlwAAgAEEMakGo5cAAIANBGGpB/M3AABBLAAsCQCAEKAIgRQRAIARB0ABqIRAj +AEGgCmsiASQAAkACQAJAAkAgAQJ/AkACQAJAAkACQAJAIAwpAwAiJVBFBEAgDCkDCCInUA0BIAwpAxAiJlANAiAlICZ8IiggJVQN +AyAlICdUDQQgDCwAGiETIAwuARghACABICU+AgAgAUEBQQIgJUKAgICAEFQiAhs2AqABIAFBACAlQiCIpyACGzYCBCABQQhqQQBB +mAEQQxogASAnPgKkASABQQFBAiAnQoCAgIAQVCICGzYCxAIgAUEAICdCIIinIAIbNgKoASABQawBakEAQZgBEEMaIAEgJj4CyAIg +AUEBQQIgJkKAgICAEFQiAhs2AugDIAFBACAmQiCIpyACGzYCzAIgAUHQAmpBAEGYARBDGiABQfADakEAQZwBEEMaIAFBATYC7AMg +AUEBNgKMBSAArCAoQgF9eX1CwprB6AR+QoChzaC0AnxCIIinIgLBIQ0CQCAAQQBOBEAgASAAED8aIAFBpAFqIAAQPxogAUHIAmog +ABA/GgwBCyABQewDakEAIABrwRA/GgsCQCANQQBIBEAgAUEAIA1rQf//A3EiABApIAFBpAFqIAAQKSABQcgCaiAAECkMAQsgAUHs +A2ogAkH//wFxECkLIAEoAqABIQMgAUH8CGogAUGgARA1GiABIAM2ApwKIAEoAugDIgsgAyADIAtJGyICQShLDRIgAkUEQEEAIQIM +BwsgAkEBcSEJIAJBAUYNBSACQT5xIQogAUH8CGohACABQcgCaiEIA0AgACAFIAAoAgAiDyAIKAIAaiIGaiIFNgIAIABBBGoiDCAM +KAIAIhQgCEEEaigCAGoiDCAFIAZJIAYgD0lyaiIGNgIAIAYgDEkgDCAUSXIhBSAIQQhqIQggAEEIaiEAIAogB0ECaiIHRw0ACwwF +C0HXz8AAQRxB9M/AABCQAQALQYTQwABBHUGk0MAAEJABAAtBtNDAAEEcQdDQwAAQkAEAC0GY0sAAQTZB0NLAABCQAQALQdDRwABB +N0GI0sAAEJABAAsgCQR/IAdBAnQiACABQfwIamoiBiAGKAIAIgYgAUHIAmogAGooAgBqIgAgBWoiBzYCACAAIAZJIAAgB0tyBSAF +C0UNACACQShGDQMgAUH8CGogAkECdGpBATYCACACQQFqIQILIAEgAjYCnAogAiABKAKMBSIHIAIgB0sbIgBBKU8NAyAAQQJ0IQAC +QANAIAAEQEF/IABBBGsiACABQfwIamooAgAiAiAAIAFB7ANqaigCACIGRyACIAZLGyIIRQ0BDAILC0F/QQAgABshCAsgCCATSARA +IA1BAWohDQwCCwJAIANFBEBBACEDDAELIANBAWtB/////wNxIgBBAWoiAkEDcSEIAkAgAEEDSQRAIAEhAEIAISUMAQsgAkH8//// +B3EhBSABIQBCACElA0AgACAANQIAQgp+ICV8IiU+AgAgAEEEaiICIAI1AgBCCn4gJUIgiHwiJT4CACAAQQhqIgIgAjUCAEIKfiAl +QiCIfCIlPgIAIABBDGoiAiACNQIAQgp+ICVCIIh8Iic+AgAgJ0IgiCElIABBEGohACAFQQRrIgUNAAsLIAgEQANAIAAgADUCAEIK +fiAlfCInPgIAIABBBGohACAnQiCIISUgCEEBayIIDQALCyAnQoCAgIAQVA0AIANBKEYNAyABIANBAnRqICU+AgAgA0EBaiEDCyAB +IAM2AqABAkAgASgCxAIiBkEpSQRAQQAhAkEAIAZFDQIaIAZBAWtB/////wNxIgBBAWoiA0EDcSEIIABBA0kEQCABQaQBaiEAQgAh +JQwCCyADQfz///8HcSEFIAFBpAFqIQBCACElA0AgACAANQIAQgp+ICV8IiU+AgAgAEEEaiIDIAM1AgBCCn4gJUIgiHwiJT4CACAA +QQhqIgMgAzUCAEIKfiAlQiCIfCIlPgIAIABBDGoiAyADNQIAQgp+ICVCIIh8Iic+AgAgJ0IgiCElIABBEGohACAFQQRrIgUNAAsM +AQsMCgsgCARAA0AgACAANQIAQgp+ICV8Iic+AgAgAEEEaiEAICdCIIghJSAIQQFrIggNAAsLIAYgJ0KAgICAEFQNABogBkEoRg0C +IAFBpAFqIAZBAnRqICU+AgAgBkEBags2AsQCAkAgC0UNACALQQFrQf////8DcSIAQQFqIgJBA3EhCAJAIABBA0kEQCABQcgCaiEA +QgAhJQwBCyACQfz///8HcSEFIAFByAJqIQBCACElA0AgACAANQIAQgp+ICV8IiU+AgAgAEEEaiICIAI1AgBCCn4gJUIgiHwiJT4C +ACAAQQhqIgIgAjUCAEIKfiAlQiCIfCIlPgIAIABBDGoiAiACNQIAQgp+ICVCIIh8Iic+AgAgJ0IgiCElIABBEGohACAFQQRrIgUN +AAsLIAgEQANAIAAgADUCAEIKfiAlfCInPgIAIABBBGohACAnQiCIISUgCEEBayIIDQALCyAnQoCAgIAQVARAIAshAgwBCyALQShG +DQIgAUHIAmogC0ECdGogJT4CACALQQFqIQILIAEgAjYC6AMLIAFBkAVqIgIgAUHsA2oiAEGgARA1GiABIAc2ArAGIAJBARA/IRwg +ASgCjAUhAiABQbQGaiIDIABBoAEQNRogAS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aiQACyAEKAIYIAlBDGxqIgMgCDYCCCADIA42AgQgAyAINgIA +IAQgCUEBajYCHCALIABBBGoiAEcNAAsgAiABQQJ0EMoBIAQoAhghAyAEKAIUIgAgBCgCHCIBSw0BIAMhAAwHCyADRQ0CIANBDGwh +AiAAIQMMAQsgAEEMbCECIAENAgtBBCEAIAMgAhDKAQtBACEBDAMLIAMgAkEEIAFBDGwiAxC2ASIADQJBBCADQczCwAAQsQEACyAD +IAVBvMLAABCxAQALQezCwABBKBDcAQALIAogATYCBCAKIAA2AgAgBEEgaiQAIAogCigCBCIANgIQIAogCigCADYCDCAKIAA2Aggg +CkEUaiEPIwBB0ABrIgMkACADIApBCGoiACgCADYCFCADIAAoAgQiATYCECADIAE2AgwgAyABIAAoAghBDGxqNgIYIwBB4AFrIgIk +ACADQQxqIgEoAgghBiABKAIAIQ4gASgCBCIEIQACQAJAAkACfwJAAkACQCAEIAEoAgwiB0YiBUUEQCAEKAIAIQAgAkG4AWogBCgC +BCIBIAQoAggQNCAABEAgASAAEMoBCyAEQQxqIQAgAigCuAFBAXFFDQELIAcgAGtBDG4hASAAIAdHBEADQCAAKAIAIggEQCAAQQRq +KAIAIAgQygELIABBDGohACABQQFrIgENAAsLIAZFDQEgDiAGQQxsEMoBIAUNAgwFCyACQTBqIgEgAkHYAWopAwA3AwAgAkEoaiIE +IAJB0AFqKQMANwMAIAJBIGoiCCACQcgBaikDADcDACACIAIpA8ABNwMYQfmCwQAtAAAaQYABQQgQvgEiBUUNAyAFIAIpAxg3AwAg +BUEYaiABKQMANwMAIAVBEGogBCkDADcDACAFQQhqIAgpAwA3AwBBASEEIAJBATYCFCACIAU2AhAgAkEENgIMAn8CQCAAIAdGBEAg +ACEBDAELIAJBwAFqIQlBICEIA0AgACgCACEBIAJBuAFqIAAoAgQiCyAAKAIIEDQgAQRAIAsgARDKAQsgAEEMaiEBQQEgAigCuAFB +AXENAhogAkHgAGogCUEIaikDACIdNwMAIAJB0ABqIgwgCUEYaikDADcDACAC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gAygCBCADKAIIIAMoAgwgA0EQaiQAC5gDAQl/IwBBEGsiAiQA +EEgiAyAAJgEjAEEQayIGJAAgBkEEaiEEIwBB4ABrIgEkACABQUBrIAMQQiABKAJEIQMCQCABKAJAIghBgICAgHhHBEACQCABKAJI +IgdFBEAgAUEYakIANwMAIAFBEGpCADcDACABQQhqQgA3AwAgAUIANwMADAELIAFBIGoiCSADIAcQLSABQUBrIgdB1IbAABCSASAB +IAkgBxCFAQsgBCABEFYgCEUNASADIAhBKGwQygEMAQsgBEGAgICAeDYCACAEIAM2AgQLIAFB4ABqJAACQAJAIAICfyAGKAIEIgNB +gICAgHhGBEAgBigCCCEBQQAhBEEBDAELIAYoAgghAQJAIAYoAgwiBCADTwRAIAEhBQwBCyAERQRAQQEhBSABIAMQygEMAQsgASAD +QQEgBBC2ASIFRQ0CC0EAIQFBAAs2AgwgAiABNgIIIAIgBDYCBCACIAU2AgAgBkEQaiQADAELQQEgBEGQgsAAELEBAAsgAigCACAC +KAIEIAIoAgggAigCDCACQRBqJAAL+gECAn8BfiMAQRBrIgIkACACQQE7AQwgAiABNgIIIAIgADYCBCMAQRBrIgEkACACQQRqIgAp +AgAhBCABIAA2AgwgASAENwIEIwBBEGsiACQAIAFBBGoiASgCACICKAIMIQMCQAJAAkACQCACKAIEDgIAAQILIAMNAUEBIQJBACED +DAILIAMNACACKAIAIgIoAgQhAyACKAIAIQIMAQsgAEGAgICAeDYCACAAIAE2AgwgAEH8ycAAIAEoAgQgASgCCCIALQAIIAAtAAkQ +agALIAAgAzYCBCAAIAI2AgAgAEHgycAAIAEoAgQgASgCCCIALQAIIAAtAAkQagALmwYBCn8jAEEQayIGJAAjAEEgayIFJAACQAJA +AkAgAARAIABBCGsiByAHKAIAQQFqIgM2AgAgA0UNASAAKAIADQIgAEF/NgIAIAUgBzYCHCAFIAA2AhggBSAAQQhqIgM2AhQgBUEI +aiEJIwBBkAFrIgEkACABQQA2AhQgAUKAgICAwAA3AgwjAEFAaiICJAAgAkEIaiADQQFBAEEBEC4gAUEYaiIEQShqIAJBMGopAwA3 +AwAgBEEgaiACQShqKQMANwMAIARBGGogAkEgaikDADcDACAEQRBqIAJBGGopAwA3AwAgBEEIaiACQRBqKQMANwMAIAQgAikDCDcD +ACACQUBrJAAgASgCGARAIAFB8ABqIAFBQGspAwA3AwAgAUHoAGogAUE4aikDADcDACABQeAAaiABQTBqKQMANwMAIAFB2ABqIgIg +AUEoaikDADcDACABQdAAaiIEIAFBIGopAwA3AwAgASABKQMYNwNIIAIQfyEIIAFB/ABqIAIQViABIAg6AIwBIAEgBCgCACICNgKI +ASABQdQAaiABKAJMIAIgASgCSCgCEBEDACABKAIUIgIgASgCDEYEQCABQQxqQcSGwAAQYwsgASgCECACQRRsaiIEIAEpAnw3AgAg +BEEIaiABQYQBaikCADcCACAEQRBqIAFBjAFqKAIANgIAIANBAToAMCABIAJBAWo2AhQLIAFBADYCGCABIAFBGGogAUEMahBhIAEo +AgQhBCABKAIAIQggASgCFCICBEAgASgCECEDA0AgAygCACIKBEAgA0EEaigCACAKEMoBCyADQRRqIQMgAkEBayICDQALCyABKAIM +IgMEQCABKAIQIANBFGwQygELIAkgBDYCBCAJIAg2AgAgAUGQAWokACAFKAIMIQMgBSgCCCEBIABBADYCACAHIAcoAgBBAWsiADYC +ACAARQRAIAVBHGoQjQELIAYgATYCCCAGIANBACABQQFxIgAbNgIEIAZBACADIAAbNgIAIAVBIGokAAwDCxDdAQsACxDeAQALIAYo +AgAgBigCBCAGKAIIIAZBEGokAAshAAJAIAEgAxCiAQRAIAAgASADIAIQtgEiAA0BCwALIAALJQAgAEUEQEGAtcAAQTIQ3AEACyAA +IAIgAyAEIAUgASgCEBESAAsgAQF/QQEhASAAKAIAIgBBAXEEfyABBSAAKAIIQQFGCwsZAQF/QYCAgIB4IAFrIABPIAIgAWlBAUYb +Cx8BAn4gACkDACICIAJCP4ciA4UgA30gAkIAWSABEEkLIwAgAEUEQEGAtcAAQTIQ3AEACyAAIAIgAyAEIA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F/IwBBMGsiAyQAIAMgATYCBCADIAA2AgAgA0ECNgIMIANBsPrAADYCCCADQgI3AhQgAyADQQRqrUKAgICAoAmE +NwMoIAMgA61CgICAgKAJhDcDICADIANBIGo2AhAgA0EIaiACEJ0BAAtrAQF/IwBBMGsiAyQAIAMgATYCBCADIAA2AgAgA0ECNgIM +IANB5PrAADYCCCADQgI3AhQgAyADQQRqrUKAgICAoAmENwMoIAMgA61CgICAgKAJhDcDICADIANBIGo2AhAgA0EIaiACEJ0BAAsL +ACAAKAIAIAEQTAsPAEG45MAAQSsgABCQAQALDQAgACkDAEEBIAEQSQsOACABQYCFwABBBRC6AQsOACABQbyFwABBEBC6AQsOACAB +QaSLwABBBRC6AQsOACABQbiPwABBChC6AQsMACAAKAIAIAEQ0gEL8QMBAX8gACgCACECIwBBkAJrIgAkACAAIAIpAwA3A3AgACAC +KQMINwN4IAAgAikDEDcDgAEgACAAQYgBaq1CgICAgKAHhDcDaCAAIABBgAFqrUKAgICAoAeENwNgIAAgAEH4AGqtQoCAgICgB4Q3 +A1ggACAAQfAAaq1CgICAgKAHhDcDUCAAIAIpAxg3A4gBIABBAzoAjAIgAEEINgKIAiAAQqCAgIAwNwKAAiAAQoCAgICAAjcC+AEg +AEECNgLwASAAQQM6AOwBIABBCDYC6AEgAEKggICAIDcC4AEgAEKAgICAgAI3AtgBIABBAjYC0AEgAEEDOgDMASAAQQg2AsgBIABC +oICAgBA3AsABIABCgICAgIACNwK4ASAAQQI2ArABIABBAzoArAEgAEEINgKoASAAQiA3AqABIABCgICAgIACNwKYASAAQQI2ApAB +IABBBDYCTCAAQQQ2AjwgAEHkusAANgI4IABBBDYCRCAAIABBkAFqNgJIIAAgAEHQAGo2AkAgAEEsaiICIABBOGoQRyAAIAKtQoCA +gICwB4Q3AyAgAEEBNgIMIABB9LvAADYCCCAAQgE3AhQgACAAQSBqNgIQIAEoAhwgASgCICAAQQhqEDggACgCLCICBEAgACgCMCAC +EMoBCyAAQZACaiQACw0AIABBiJLAACABEDgLDgAgAUG0tsAAQQsQugELDQAgAEGkv8AAIAEQOAsJACAAIAEQJAALDQBBgMXAAEEb +ENwBAAsOAEGbxcAAQc8AENwBAAsNACAAQaTHwAAgARA4CwwAIAAgASkCADcDAAsNACAAQYDLwAAgARA4Cw4AIAFB+MrAAEEFELoB +CxoAIAAgAUHUg8EAKAIAIgBBywAgABsRAgAACwoAIAIgACABEDELxgkBCH8CQAJAIAIiBSAAIgcgAWtLBEAgASACaiEAIAIgB2oh +AiAFQRBJDQFBACACQQNxIgZrIQkCQCACQXxxIgMgAk8NACAGQQFrAkAgBkUEQCAAIQQMAQsgBiEIIAAhBANAIAJBAWsiAiAEQQFr +IgQtAAA6AAAgCEEBayIIDQALC0EDSQ0AIARBBGshBANAIAJBAWsgBEEDai0AADoAACACQQJrIARBAmotAAA6AAAgAkEDayAEQQFq +LQAAOgAAIAJBBGsiAiAELQAAOgAAIARBBGshBCACIANLDQALCyADIAUgBmsiBEF8cSIFayECQQAgBWshBgJAIAAgCWoiAEEDcUUE +QCACIANPDQEgASAEakEEayEBA0AgA0EEayIDIAEoAgA2AgAgAUEEayEBIAIgA0kNAAsMAQsgAiADTw0AIABBA3QiBUEYcSEIIABB +fHEiCUEEayEBQQAgBWtBGHEhCiAJKAIAIQUDQCADQQRrIgMgBSAKdCABKAIAIgUgCHZyNgIAIAFBBGshASACIANJDQALCyAEQQNx +IQUgACAGaiEADAELAkAgBUEQSQRAIAchAgwBCwJAIAdBACAHa0EDcSIGaiIEIAdNDQAgByECIAEhAyAGBEAgBiEAA0AgAiADLQAA +OgAAIANBAWohAyACQQFqIQIgAEEBayIADQALCyAGQQFrQQdJDQADQCACIAMtAAA6AAAgAkEBaiADQQFqLQAAOgAAIAJBAmogA0EC +ai0AADoAACACQQNqIANBA2otAAA6AAAgAkEEaiADQQRqLQAAOgAAIAJBBWogA0EFai0AADoAACACQQZqIANBBmotAAA6AAAgAkEH +aiADQQdqLQAAOgAAIANBCGohAyACQQhqIgIgBEc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2ZjggMjAyNS0wMy0zMSkGd2FscnVzBjAuMjMuMwx3YXNtLWJpbmRn +ZW4HMC4yLjEwMABJD3RhcmdldF9mZWF0dXJlcwQrD211dGFibGUtZ2xvYmFscysIc2lnbi1leHQrD3JlZmVyZW5jZS10eXBlcysK +bXVsdGl2YWx1ZQ== +`.trim().replaceAll("\n", "") +); +var wasmBinary = new Uint8Array(wasmBase64.length); +for (let i = 0; i < wasmBase64.length; i++) { + wasmBinary[i] = wasmBase64.charCodeAt(i); +} + +// src/vendor/xet-chunk/chunker_wasm.ts +var initPromise = null; +async function init() { + if (initPromise) { + return initPromise; + } + let resolve; + let reject; + initPromise = new Promise((_resolve, _reject) => { + resolve = _resolve; + reject = _reject; + }); + await Promise.resolve(); + try { + const wasmModule = await WebAssembly.compile(wasmBinary); + const imports = Object.entries( + WebAssembly.Module.imports(wasmModule).reduce( + (result, item) => ({ + ...result, + // @ts-expect-error ok for any type + [item.module]: [...result[item.module] || [], item.name] + }), + {} + ) + ).map(([from, names]) => ({ from, names })); + const wasm2 = await WebAssembly.instantiate(wasmModule, { + "./hf_xet_thin_wasm_bg.js": Object.fromEntries( + // @ts-expect-error ok for any type + imports[0].names.map((name) => [name, chunker_wasm_bg_exports[name]]) + ) + }); + __wbg_set_wasm(wasm2.exports); + wasm2.exports.__wbindgen_start(); + resolve(); + } catch (error) { + reject(error); + } +} +init(); +export { + Chunker, + compute_file_hash, + compute_hmac, + compute_verification_hash, + compute_xorb_hash, + init +}; diff --git a/node_modules/@huggingface/hub/dist/cli-progress-A335VRBC.mjs b/node_modules/@huggingface/hub/dist/cli-progress-A335VRBC.mjs new file mode 100644 index 0000000000000000000000000000000000000000..788ffb11a75508eb49933a9228fcba74e907e74d --- /dev/null +++ b/node_modules/@huggingface/hub/dist/cli-progress-A335VRBC.mjs @@ -0,0 +1,873 @@ +import { + __commonJS, + __require +} from "./chunk-GAR7ORU2.mjs"; + +// node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/lib/eta.js +var require_eta = __commonJS({ + "node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/lib/eta.js"(exports, module) { + var ETA = class { + constructor(length, initTime, initValue) { + this.etaBufferLength = length || 100; + this.valueBuffer = [initValue]; + this.timeBuffer = [initTime]; + this.eta = "0"; + } + // add new values to calculation buffer + update(time, value, total) { + this.valueBuffer.push(value); + this.timeBuffer.push(time); + this.calculate(total - value); + } + // fetch estimated time + getTime() { + return this.eta; + } + // eta calculation - request number of remaining events + calculate(remaining) { + const currentBufferSize = this.valueBuffer.length; + const buffer = Math.min(this.etaBufferLength, currentBufferSize); + const v_diff = this.valueBuffer[currentBufferSize - 1] - this.valueBuffer[currentBufferSize - buffer]; + const t_diff = this.timeBuffer[currentBufferSize - 1] - this.timeBuffer[currentBufferSize - buffer]; + const vt_rate = v_diff / t_diff; + this.valueBuffer = this.valueBuffer.slice(-this.etaBufferLength); + this.timeBuffer = this.timeBuffer.slice(-this.etaBufferLength); + const eta = Math.ceil(remaining / vt_rate / 1e3); + if (isNaN(eta)) { + this.eta = "NULL"; + } else if (!isFinite(eta)) { + this.eta = "INF"; + } else if (eta > 1e7) { + this.eta = "INF"; + } else if (eta < 0) { + this.eta = 0; + } else { + this.eta = eta; + } + } + }; + module.exports = ETA; + } +}); + +// node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/lib/terminal.js +var require_terminal = __commonJS({ + "node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/lib/terminal.js"(exports, module) { + var _readline = __require("readline"); + var Terminal = class { + constructor(outputStream) { + this.stream = outputStream; + this.linewrap = true; + this.dy = 0; + } + // save cursor position + settings + cursorSave() { + if (!this.stream.isTTY) { + return; + } + this.stream.write("\x1B7"); + } + // restore last cursor position + settings + cursorRestore() { + if (!this.stream.isTTY) { + return; + } + this.stream.write("\x1B8"); + } + // show/hide cursor + cursor(enabled) { + if (!this.stream.isTTY) { + return; + } + if (enabled) { + this.stream.write("\x1B[?25h"); + } else { + this.stream.write("\x1B[?25l"); + } + } + // change cursor positionn + cursorTo(x = null, y = null) { + if (!this.stream.isTTY) { + return; + } + _readline.cursorTo(this.stream, x, y); + } + // change relative cursor position + cursorRelative(dx = null, dy = null) { + if (!this.stream.isTTY) { + return; + } + this.dy = this.dy + dy; + _readline.moveCursor(this.stream, dx, dy); + } + // relative reset + cursorRelativeReset() { + if (!this.stream.isTTY) { + return; + } + _readline.moveCursor(this.stream, 0, -this.dy); + _readline.cursorTo(this.stream, 0, null); + this.dy = 0; + } + // clear to the right from cursor + clearRight() { + if (!this.stream.isTTY) { + return; + } + _readline.clearLine(this.stream, 1); + } + // clear the full line + clearLine() { + if (!this.stream.isTTY) { + return; + } + _readline.clearLine(this.stream, 0); + } + // clear everyting beyond the current line + clearBottom() { + if (!this.stream.isTTY) { + return; + } + _readline.clearScreenDown(this.stream); + } + // add new line; increment counter + newline() { + this.stream.write("\n"); + this.dy++; + } + // write content to output stream + // @TODO use string-width to strip length + write(s, rawWrite = false) { + if (this.linewrap === true && rawWrite === false) { + this.stream.write(s.substr(0, this.getWidth())); + } else { + this.stream.write(s); + } + } + // control line wrapping + lineWrapping(enabled) { + if (!this.stream.isTTY) { + return; + } + this.linewrap = enabled; + if (enabled) { + this.stream.write("\x1B[?7h"); + } else { + this.stream.write("\x1B[?7l"); + } + } + // tty environment ? + isTTY() { + return this.stream.isTTY === true; + } + // get terminal width + getWidth() { + return this.stream.columns || (this.stream.isTTY ? 80 : 200); + } + }; + module.exports = Terminal; + } +}); + +// node_modules/.pnpm/ansi-regex@5.0.1/node_modules/ansi-regex/index.js +var require_ansi_regex = __commonJS({ + "node_modules/.pnpm/ansi-regex@5.0.1/node_modules/ansi-regex/index.js"(exports, module) { + "use strict"; + module.exports = ({ onlyFirst = false } = {}) => { + const pattern = [ + "[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)", + "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))" + ].join("|"); + return new RegExp(pattern, onlyFirst ? void 0 : "g"); + }; + } +}); + +// node_modules/.pnpm/strip-ansi@6.0.1/node_modules/strip-ansi/index.js +var require_strip_ansi = __commonJS({ + "node_modules/.pnpm/strip-ansi@6.0.1/node_modules/strip-ansi/index.js"(exports, module) { + "use strict"; + var ansiRegex = require_ansi_regex(); + module.exports = (string) => typeof string === "string" ? string.replace(ansiRegex(), "") : string; + } +}); + +// node_modules/.pnpm/is-fullwidth-code-point@3.0.0/node_modules/is-fullwidth-code-point/index.js +var require_is_fullwidth_code_point = __commonJS({ + "node_modules/.pnpm/is-fullwidth-code-point@3.0.0/node_modules/is-fullwidth-code-point/index.js"(exports, module) { + "use strict"; + var isFullwidthCodePoint = (codePoint) => { + if (Number.isNaN(codePoint)) { + return false; + } + if (codePoint >= 4352 && (codePoint <= 4447 || // Hangul Jamo + codePoint === 9001 || // LEFT-POINTING ANGLE BRACKET + codePoint === 9002 || // RIGHT-POINTING ANGLE BRACKET + // CJK Radicals Supplement .. Enclosed CJK Letters and Months + 11904 <= codePoint && codePoint <= 12871 && codePoint !== 12351 || // Enclosed CJK Letters and Months .. CJK Unified Ideographs Extension A + 12880 <= codePoint && codePoint <= 19903 || // CJK Unified Ideographs .. Yi Radicals + 19968 <= codePoint && codePoint <= 42182 || // Hangul Jamo Extended-A + 43360 <= codePoint && codePoint <= 43388 || // Hangul Syllables + 44032 <= codePoint && codePoint <= 55203 || // CJK Compatibility Ideographs + 63744 <= codePoint && codePoint <= 64255 || // Vertical Forms + 65040 <= codePoint && codePoint <= 65049 || // CJK Compatibility Forms .. Small Form Variants + 65072 <= codePoint && codePoint <= 65131 || // Halfwidth and Fullwidth Forms + 65281 <= codePoint && codePoint <= 65376 || 65504 <= codePoint && codePoint <= 65510 || // Kana Supplement + 110592 <= codePoint && codePoint <= 110593 || // Enclosed Ideographic Supplement + 127488 <= codePoint && codePoint <= 127569 || // CJK Unified Ideographs Extension B .. Tertiary Ideographic Plane + 131072 <= codePoint && codePoint <= 262141)) { + return true; + } + return false; + }; + module.exports = isFullwidthCodePoint; + module.exports.default = isFullwidthCodePoint; + } +}); + +// node_modules/.pnpm/emoji-regex@8.0.0/node_modules/emoji-regex/index.js +var require_emoji_regex = __commonJS({ + "node_modules/.pnpm/emoji-regex@8.0.0/node_modules/emoji-regex/index.js"(exports, module) { + "use strict"; + module.exports = function() { + return /\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\u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C])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B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DD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g; + }; + } +}); + +// node_modules/.pnpm/string-width@4.2.3/node_modules/string-width/index.js +var require_string_width = __commonJS({ + "node_modules/.pnpm/string-width@4.2.3/node_modules/string-width/index.js"(exports, module) { + "use strict"; + var stripAnsi = require_strip_ansi(); + var isFullwidthCodePoint = require_is_fullwidth_code_point(); + var emojiRegex = require_emoji_regex(); + var stringWidth = (string) => { + if (typeof string !== "string" || string.length === 0) { + return 0; + } + string = stripAnsi(string); + if (string.length === 0) { + return 0; + } + string = string.replace(emojiRegex(), " "); + let width = 0; + for (let i = 0; i < string.length; i++) { + const code = string.codePointAt(i); + if (code <= 31 || code >= 127 && code <= 159) { + continue; + } + if (code >= 768 && code <= 879) { + continue; + } + if (code > 65535) { + i++; + } + width += isFullwidthCodePoint(code) ? 2 : 1; + } + return width; + }; + module.exports = stringWidth; + module.exports.default = stringWidth; + } +}); + +// node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/lib/format-value.js +var require_format_value = __commonJS({ + "node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/lib/format-value.js"(exports, module) { + module.exports = function formatValue(v, options, type) { + if (options.autopadding !== true) { + return v; + } + function autopadding(value, length) { + return (options.autopaddingChar + value).slice(-length); + } + switch (type) { + case "percentage": + return autopadding(v, 3); + default: + return v; + } + }; + } +}); + +// node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/lib/format-bar.js +var require_format_bar = __commonJS({ + "node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/lib/format-bar.js"(exports, module) { + module.exports = function formatBar(progress, options) { + const completeSize = Math.round(progress * options.barsize); + const incompleteSize = options.barsize - completeSize; + return options.barCompleteString.substr(0, completeSize) + options.barGlue + options.barIncompleteString.substr(0, incompleteSize); + }; + } +}); + +// node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/lib/format-time.js +var require_format_time = __commonJS({ + "node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/lib/format-time.js"(exports, module) { + module.exports = function formatTime(t, options, roundToMultipleOf) { + function round(input) { + if (roundToMultipleOf) { + return roundToMultipleOf * Math.round(input / roundToMultipleOf); + } else { + return input; + } + } + function autopadding(v) { + return (options.autopaddingChar + v).slice(-2); + } + if (t > 3600) { + return autopadding(Math.floor(t / 3600)) + "h" + autopadding(round(t % 3600 / 60)) + "m"; + } else if (t > 60) { + return autopadding(Math.floor(t / 60)) + "m" + autopadding(round(t % 60)) + "s"; + } else if (t > 10) { + return autopadding(round(t)) + "s"; + } else { + return autopadding(t) + "s"; + } + }; + } +}); + +// node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/lib/formatter.js +var require_formatter = __commonJS({ + "node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/lib/formatter.js"(exports, module) { + var _stringWidth = require_string_width(); + var _defaultFormatValue = require_format_value(); + var _defaultFormatBar = require_format_bar(); + var _defaultFormatTime = require_format_time(); + module.exports = function defaultFormatter(options, params, payload) { + let s = options.format; + const formatTime = options.formatTime || _defaultFormatTime; + const formatValue = options.formatValue || _defaultFormatValue; + const formatBar = options.formatBar || _defaultFormatBar; + const percentage = Math.floor(params.progress * 100) + ""; + const stopTime = params.stopTime || Date.now(); + const elapsedTime = Math.round((stopTime - params.startTime) / 1e3); + const context = Object.assign({}, payload, { + bar: formatBar(params.progress, options), + percentage: formatValue(percentage, options, "percentage"), + total: formatValue(params.total, options, "total"), + value: formatValue(params.value, options, "value"), + eta: formatValue(params.eta, options, "eta"), + eta_formatted: formatTime(params.eta, options, 5), + duration: formatValue(elapsedTime, options, "duration"), + duration_formatted: formatTime(elapsedTime, options, 1) + }); + s = s.replace(/\{(\w+)\}/g, function(match, key) { + if (typeof context[key] !== "undefined") { + return context[key]; + } + return match; + }); + const fullMargin = Math.max(0, params.maxWidth - _stringWidth(s) - 2); + const halfMargin = Math.floor(fullMargin / 2); + switch (options.align) { + case "right": + s = fullMargin > 0 ? " ".repeat(fullMargin) + s : s; + break; + case "center": + s = halfMargin > 0 ? " ".repeat(halfMargin) + s : s; + break; + case "left": + default: + break; + } + return s; + }; + } +}); + +// node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/lib/options.js +var require_options = __commonJS({ + "node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/lib/options.js"(exports, module) { + function mergeOption(v, defaultValue) { + if (typeof v === "undefined" || v === null) { + return defaultValue; + } else { + return v; + } + } + module.exports = { + // set global options + parse: function parse(rawOptions, preset) { + const options = {}; + const opt = Object.assign({}, preset, rawOptions); + options.throttleTime = 1e3 / mergeOption(opt.fps, 10); + options.stream = mergeOption(opt.stream, process.stderr); + options.terminal = mergeOption(opt.terminal, null); + options.clearOnComplete = mergeOption(opt.clearOnComplete, false); + options.stopOnComplete = mergeOption(opt.stopOnComplete, false); + options.barsize = mergeOption(opt.barsize, 40); + options.align = mergeOption(opt.align, "left"); + options.hideCursor = mergeOption(opt.hideCursor, false); + options.linewrap = mergeOption(opt.linewrap, false); + options.barGlue = mergeOption(opt.barGlue, ""); + options.barCompleteChar = mergeOption(opt.barCompleteChar, "="); + options.barIncompleteChar = mergeOption(opt.barIncompleteChar, "-"); + options.format = mergeOption(opt.format, "progress [{bar}] {percentage}% | ETA: {eta}s | {value}/{total}"); + options.formatTime = mergeOption(opt.formatTime, null); + options.formatValue = mergeOption(opt.formatValue, null); + options.formatBar = mergeOption(opt.formatBar, null); + options.etaBufferLength = mergeOption(opt.etaBuffer, 10); + options.etaAsynchronousUpdate = mergeOption(opt.etaAsynchronousUpdate, false); + options.progressCalculationRelative = mergeOption(opt.progressCalculationRelative, false); + options.synchronousUpdate = mergeOption(opt.synchronousUpdate, true); + options.noTTYOutput = mergeOption(opt.noTTYOutput, false); + options.notTTYSchedule = mergeOption(opt.notTTYSchedule, 2e3); + options.emptyOnZero = mergeOption(opt.emptyOnZero, false); + options.forceRedraw = mergeOption(opt.forceRedraw, false); + options.autopadding = mergeOption(opt.autopadding, false); + options.gracefulExit = mergeOption(opt.gracefulExit, false); + return options; + }, + // derived options: instance specific, has to be created for every bar element + assignDerivedOptions: function assignDerivedOptions(options) { + options.barCompleteString = options.barCompleteChar.repeat(options.barsize + 1); + options.barIncompleteString = options.barIncompleteChar.repeat(options.barsize + 1); + options.autopaddingChar = options.autopadding ? mergeOption(options.autopaddingChar, " ") : ""; + return options; + } + }; + } +}); + +// node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/lib/generic-bar.js +var require_generic_bar = __commonJS({ + "node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/lib/generic-bar.js"(exports, module) { + var _ETA = require_eta(); + var _Terminal = require_terminal(); + var _formatter = require_formatter(); + var _options = require_options(); + var _EventEmitter = __require("events"); + module.exports = class GenericBar extends _EventEmitter { + constructor(options) { + super(); + this.options = _options.assignDerivedOptions(options); + this.terminal = this.options.terminal ? this.options.terminal : new _Terminal(this.options.stream); + this.value = 0; + this.startValue = 0; + this.total = 100; + this.lastDrawnString = null; + this.startTime = null; + this.stopTime = null; + this.lastRedraw = Date.now(); + this.eta = new _ETA(this.options.etaBufferLength, 0, 0); + this.payload = {}; + this.isActive = false; + this.formatter = typeof this.options.format === "function" ? this.options.format : _formatter; + } + // internal render function + render(forceRendering = false) { + const params = { + progress: this.getProgress(), + eta: this.eta.getTime(), + startTime: this.startTime, + stopTime: this.stopTime, + total: this.total, + value: this.value, + maxWidth: this.terminal.getWidth() + }; + if (this.options.etaAsynchronousUpdate) { + this.updateETA(); + } + const s = this.formatter(this.options, params, this.payload); + const forceRedraw = forceRendering || this.options.forceRedraw || this.options.noTTYOutput && !this.terminal.isTTY(); + if (forceRedraw || this.lastDrawnString != s) { + this.emit("redraw-pre"); + this.terminal.cursorTo(0, null); + this.terminal.write(s); + this.terminal.clearRight(); + this.lastDrawnString = s; + this.lastRedraw = Date.now(); + this.emit("redraw-post"); + } + } + // start the progress bar + start(total, startValue, payload) { + this.value = startValue || 0; + this.total = typeof total !== "undefined" && total >= 0 ? total : 100; + this.startValue = startValue || 0; + this.payload = payload || {}; + this.startTime = Date.now(); + this.stopTime = null; + this.lastDrawnString = ""; + this.eta = new _ETA(this.options.etaBufferLength, this.startTime, this.value); + this.isActive = true; + this.emit("start", total, startValue); + } + // stop the bar + stop() { + this.isActive = false; + this.stopTime = Date.now(); + this.emit("stop", this.total, this.value); + } + // update the bar value + // update(value, payload) + // update(payload) + update(arg0, arg1 = {}) { + if (typeof arg0 === "number") { + this.value = arg0; + this.eta.update(Date.now(), arg0, this.total); + } + const payloadData = (typeof arg0 === "object" ? arg0 : arg1) || {}; + this.emit("update", this.total, this.value); + for (const key in payloadData) { + this.payload[key] = payloadData[key]; + } + if (this.value >= this.getTotal() && this.options.stopOnComplete) { + this.stop(); + } + } + // calculate the actual progress value + getProgress() { + let progress = this.value / this.total; + if (this.options.progressCalculationRelative) { + progress = (this.value - this.startValue) / (this.total - this.startValue); + } + if (isNaN(progress)) { + progress = this.options && this.options.emptyOnZero ? 0 : 1; + } + progress = Math.min(Math.max(progress, 0), 1); + return progress; + } + // update the bar value + // increment(delta, payload) + // increment(payload) + increment(arg0 = 1, arg1 = {}) { + if (typeof arg0 === "object") { + this.update(this.value + 1, arg0); + } else { + this.update(this.value + arg0, arg1); + } + } + // get the total (limit) value + getTotal() { + return this.total; + } + // set the total (limit) value + setTotal(total) { + if (typeof total !== "undefined" && total >= 0) { + this.total = total; + } + } + // force eta calculation update (long running processes) + updateETA() { + this.eta.update(Date.now(), this.value, this.total); + } + }; + } +}); + +// node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/lib/single-bar.js +var require_single_bar = __commonJS({ + "node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/lib/single-bar.js"(exports, module) { + var _GenericBar = require_generic_bar(); + var _options = require_options(); + module.exports = class SingleBar extends _GenericBar { + constructor(options, preset) { + super(_options.parse(options, preset)); + this.timer = null; + if (this.options.noTTYOutput && this.terminal.isTTY() === false) { + this.options.synchronousUpdate = false; + } + this.schedulingRate = this.terminal.isTTY() ? this.options.throttleTime : this.options.notTTYSchedule; + this.sigintCallback = null; + } + // internal render function + render() { + if (this.timer) { + clearTimeout(this.timer); + this.timer = null; + } + super.render(); + if (this.options.noTTYOutput && this.terminal.isTTY() === false) { + this.terminal.newline(); + } + this.timer = setTimeout(this.render.bind(this), this.schedulingRate); + } + update(current, payload) { + if (!this.timer) { + return; + } + super.update(current, payload); + if (this.options.synchronousUpdate && this.lastRedraw + this.options.throttleTime * 2 < Date.now()) { + this.render(); + } + } + // start the progress bar + start(total, startValue, payload) { + if (this.options.noTTYOutput === false && this.terminal.isTTY() === false) { + return; + } + if (this.sigintCallback === null && this.options.gracefulExit) { + this.sigintCallback = this.stop.bind(this); + process.once("SIGINT", this.sigintCallback); + process.once("SIGTERM", this.sigintCallback); + } + this.terminal.cursorSave(); + if (this.options.hideCursor === true) { + this.terminal.cursor(false); + } + if (this.options.linewrap === false) { + this.terminal.lineWrapping(false); + } + super.start(total, startValue, payload); + this.render(); + } + // stop the bar + stop() { + if (!this.timer) { + return; + } + if (this.sigintCallback) { + process.removeListener("SIGINT", this.sigintCallback); + process.removeListener("SIGTERM", this.sigintCallback); + this.sigintCallback = null; + } + this.render(); + super.stop(); + clearTimeout(this.timer); + this.timer = null; + if (this.options.hideCursor === true) { + this.terminal.cursor(true); + } + if (this.options.linewrap === false) { + this.terminal.lineWrapping(true); + } + this.terminal.cursorRestore(); + if (this.options.clearOnComplete) { + this.terminal.cursorTo(0, null); + this.terminal.clearLine(); + } else { + this.terminal.newline(); + } + } + }; + } +}); + +// node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/lib/multi-bar.js +var require_multi_bar = __commonJS({ + "node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/lib/multi-bar.js"(exports, module) { + var _Terminal = require_terminal(); + var _BarElement = require_generic_bar(); + var _options = require_options(); + var _EventEmitter = __require("events"); + module.exports = class MultiBar extends _EventEmitter { + constructor(options, preset) { + super(); + this.bars = []; + this.options = _options.parse(options, preset); + this.options.synchronousUpdate = false; + this.terminal = this.options.terminal ? this.options.terminal : new _Terminal(this.options.stream); + this.timer = null; + this.isActive = false; + this.schedulingRate = this.terminal.isTTY() ? this.options.throttleTime : this.options.notTTYSchedule; + this.loggingBuffer = []; + this.sigintCallback = null; + } + // add a new bar to the stack + create(total, startValue, payload, barOptions = {}) { + const bar = new _BarElement(Object.assign( + {}, + // global options + this.options, + // terminal instance + { + terminal: this.terminal + }, + // overrides + barOptions + )); + this.bars.push(bar); + if (this.options.noTTYOutput === false && this.terminal.isTTY() === false) { + return bar; + } + if (this.sigintCallback === null && this.options.gracefulExit) { + this.sigintCallback = this.stop.bind(this); + process.once("SIGINT", this.sigintCallback); + process.once("SIGTERM", this.sigintCallback); + } + if (!this.isActive) { + if (this.options.hideCursor === true) { + this.terminal.cursor(false); + } + if (this.options.linewrap === false) { + this.terminal.lineWrapping(false); + } + this.timer = setTimeout(this.update.bind(this), this.schedulingRate); + } + this.isActive = true; + bar.start(total, startValue, payload); + this.emit("start"); + return bar; + } + // remove a bar from the stack + remove(bar) { + const index = this.bars.indexOf(bar); + if (index < 0) { + return false; + } + this.bars.splice(index, 1); + this.update(); + this.terminal.newline(); + this.terminal.clearBottom(); + return true; + } + // internal update routine + update() { + if (this.timer) { + clearTimeout(this.timer); + this.timer = null; + } + this.emit("update-pre"); + this.terminal.cursorRelativeReset(); + this.emit("redraw-pre"); + if (this.loggingBuffer.length > 0) { + this.terminal.clearLine(); + while (this.loggingBuffer.length > 0) { + this.terminal.write(this.loggingBuffer.shift(), true); + } + } + for (let i = 0; i < this.bars.length; i++) { + if (i > 0) { + this.terminal.newline(); + } + this.bars[i].render(); + } + this.emit("redraw-post"); + if (this.options.noTTYOutput && this.terminal.isTTY() === false) { + this.terminal.newline(); + this.terminal.newline(); + } + this.timer = setTimeout(this.update.bind(this), this.schedulingRate); + this.emit("update-post"); + if (this.options.stopOnComplete && !this.bars.find((bar) => bar.isActive)) { + this.stop(); + } + } + stop() { + clearTimeout(this.timer); + this.timer = null; + if (this.sigintCallback) { + process.removeListener("SIGINT", this.sigintCallback); + process.removeListener("SIGTERM", this.sigintCallback); + this.sigintCallback = null; + } + this.isActive = false; + if (this.options.hideCursor === true) { + this.terminal.cursor(true); + } + if (this.options.linewrap === false) { + this.terminal.lineWrapping(true); + } + this.terminal.cursorRelativeReset(); + this.emit("stop-pre-clear"); + if (this.options.clearOnComplete) { + this.terminal.clearBottom(); + } else { + for (let i = 0; i < this.bars.length; i++) { + if (i > 0) { + this.terminal.newline(); + } + this.bars[i].render(); + this.bars[i].stop(); + } + this.terminal.newline(); + } + this.emit("stop"); + } + log(s) { + this.loggingBuffer.push(s); + } + }; + } +}); + +// node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/presets/legacy.js +var require_legacy = __commonJS({ + "node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/presets/legacy.js"(exports, module) { + module.exports = { + format: "progress [{bar}] {percentage}% | ETA: {eta}s | {value}/{total}", + barCompleteChar: "=", + barIncompleteChar: "-" + }; + } +}); + +// node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/presets/shades-classic.js +var require_shades_classic = __commonJS({ + "node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/presets/shades-classic.js"(exports, module) { + module.exports = { + format: " {bar} {percentage}% | ETA: {eta}s | {value}/{total}", + barCompleteChar: "\u2588", + barIncompleteChar: "\u2591" + }; + } +}); + +// node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/presets/shades-grey.js +var require_shades_grey = __commonJS({ + "node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/presets/shades-grey.js"(exports, module) { + module.exports = { + format: " \x1B[90m{bar}\x1B[0m {percentage}% | ETA: {eta}s | {value}/{total}", + barCompleteChar: "\u2588", + barIncompleteChar: "\u2591" + }; + } +}); + +// node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/presets/rect.js +var require_rect = __commonJS({ + "node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/presets/rect.js"(exports, module) { + module.exports = { + format: " {bar}\u25A0 {percentage}% | ETA: {eta}s | {value}/{total}", + barCompleteChar: "\u25A0", + barIncompleteChar: " " + }; + } +}); + +// node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/presets/index.js +var require_presets = __commonJS({ + "node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/presets/index.js"(exports, module) { + var _legacy = require_legacy(); + var _shades_classic = require_shades_classic(); + var _shades_grey = require_shades_grey(); + var _rect = require_rect(); + module.exports = { + legacy: _legacy, + shades_classic: _shades_classic, + shades_grey: _shades_grey, + rect: _rect + }; + } +}); + +// node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/cli-progress.js +var require_cli_progress = __commonJS({ + "node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/cli-progress.js"(exports, module) { + var _SingleBar = require_single_bar(); + var _MultiBar = require_multi_bar(); + var _Presets = require_presets(); + var _Formatter = require_formatter(); + var _defaultFormatValue = require_format_value(); + var _defaultFormatBar = require_format_bar(); + var _defaultFormatTime = require_format_time(); + module.exports = { + Bar: _SingleBar, + SingleBar: _SingleBar, + MultiBar: _MultiBar, + Presets: _Presets, + Format: { + Formatter: _Formatter, + BarFormat: _defaultFormatBar, + ValueFormat: _defaultFormatValue, + TimeFormat: _defaultFormatTime + } + }; + } +}); +export default require_cli_progress(); diff --git a/node_modules/@huggingface/hub/dist/cli.d.ts b/node_modules/@huggingface/hub/dist/cli.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..7f0c963fd8778db09b8b443e4024f8d3524c4387 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/cli.d.ts @@ -0,0 +1,3 @@ +#! /usr/bin/env node +export {}; +//# sourceMappingURL=cli.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/cli.d.ts.map b/node_modules/@huggingface/hub/dist/cli.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..99ff4773a76bee649ee7cf9618578a0809ed8ee8 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/cli.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../cli.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/cli.js b/node_modules/@huggingface/hub/dist/cli.js new file mode 100644 index 0000000000000000000000000000000000000000..bf47678aae17abf96ed7a5dff36d5c8f65ead844 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/cli.js @@ -0,0 +1,7914 @@ +#! /usr/bin/env node +"use strict"; +var __create = Object.create; +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __getProtoOf = Object.getPrototypeOf; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __esm = (fn, res) => function __init() { + return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res; +}; +var __commonJS = (cb, mod) => function __require() { + return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; +}; +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( + // If the importer is in node compatibility mode or this is not an ESM + // file that has been converted to a CommonJS file using a Babel- + // compatible transform (i.e. "__esModule" has not been set), then set + // "default" to the CommonJS "module.exports" for node compatibility. + isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, + mod +)); + +// src/vendor/hash-wasm/sha256.js +var import_meta, Module, sha256_default; +var init_sha256 = __esm({ + "src/vendor/hash-wasm/sha256.js"() { + "use strict"; + import_meta = {}; + Module = (() => { + var _unused = import_meta.url; + return function(moduleArg = {}) { + var Module2 = moduleArg; + var readyPromiseResolve, readyPromiseReject; + Module2["ready"] = new Promise((resolve3, reject) => { + readyPromiseResolve = resolve3; + readyPromiseReject = reject; + }); + var moduleOverrides = Object.assign({}, Module2); + var arguments_ = []; + var thisProgram = "./this.program"; + var quit_ = (status, toThrow) => { + throw toThrow; + }; + var ENVIRONMENT_IS_WEB = typeof window == "object"; + var ENVIRONMENT_IS_WORKER = typeof importScripts == "function"; + var ENVIRONMENT_IS_NODE = typeof process == "object" && typeof process.versions == "object" && typeof process.versions.node == "string"; + var ENVIRONMENT_IS_SHELL = !ENVIRONMENT_IS_WEB && !ENVIRONMENT_IS_NODE && !ENVIRONMENT_IS_WORKER; + var scriptDirectory = ""; + function locateFile(path2) { + if (Module2["locateFile"]) { + return Module2["locateFile"](path2, scriptDirectory); + } + return scriptDirectory + path2; + } + var read_, readAsync, readBinary; + if (ENVIRONMENT_IS_WEB || ENVIRONMENT_IS_WORKER) { + if (ENVIRONMENT_IS_WORKER) { + scriptDirectory = self.location.href; + } else if (typeof document != "undefined" && document.currentScript) { + scriptDirectory = document.currentScript.src; + } + if (false) { + scriptDirectory = false; + } + if (scriptDirectory.startsWith("blob:")) { + scriptDirectory = ""; + } else { + scriptDirectory = scriptDirectory.substr(0, scriptDirectory.replace(/[?#].*/, "").lastIndexOf("/") + 1); + } + { + read_ = (url) => { + var xhr = new XMLHttpRequest(); + xhr.open("GET", url, false); + xhr.send(null); + return xhr.responseText; + }; + if (ENVIRONMENT_IS_WORKER) { + readBinary = (url) => { + var xhr = new XMLHttpRequest(); + xhr.open("GET", url, false); + xhr.responseType = "arraybuffer"; + xhr.send(null); + return new Uint8Array( + /** @type{!ArrayBuffer} */ + xhr.response + ); + }; + } + readAsync = (url, onload, onerror) => { + var xhr = new XMLHttpRequest(); + xhr.open("GET", url, true); + xhr.responseType = "arraybuffer"; + xhr.onload = () => { + if (xhr.status == 200 || xhr.status == 0 && xhr.response) { + onload(xhr.response); + return; + } + onerror(); + }; + xhr.onerror = onerror; + xhr.send(null); + }; + } + } else { + } + var out = Module2["print"] || console.log.bind(console); + var err = Module2["printErr"] || console.error.bind(console); + Object.assign(Module2, moduleOverrides); + moduleOverrides = null; + if (Module2["arguments"]) + arguments_ = Module2["arguments"]; + if (Module2["thisProgram"]) + thisProgram = Module2["thisProgram"]; + if (Module2["quit"]) + quit_ = Module2["quit"]; + var wasmBinary2; + if (Module2["wasmBinary"]) + wasmBinary2 = Module2["wasmBinary"]; + if (typeof WebAssembly != "object") { + abort("no native wasm support detected"); + } + function intArrayFromBase64(s) { + var decoded = atob(s); + var bytes = new Uint8Array(decoded.length); + for (var i = 0; i < decoded.length; ++i) { + bytes[i] = decoded.charCodeAt(i); + } + return bytes; + } + function tryParseAsDataURI(filename) { + if (!isDataURI(filename)) { + return; + } + return intArrayFromBase64(filename.slice(dataURIPrefix.length)); + } + var wasmMemory; + var ABORT = false; + var EXITSTATUS; + function assert(condition, text) { + if (!condition) { + abort(text); + } + } + var HEAP, HEAP8, HEAPU8, HEAP16, HEAPU16, HEAP32, HEAPU32, HEAPF32, HEAPF64; + function updateMemoryViews() { + var b = wasmMemory.buffer; + Module2["HEAP8"] = HEAP8 = new Int8Array(b); + Module2["HEAP16"] = HEAP16 = new Int16Array(b); + Module2["HEAPU8"] = HEAPU8 = new Uint8Array(b); + Module2["HEAPU16"] = HEAPU16 = new Uint16Array(b); + Module2["HEAP32"] = HEAP32 = new Int32Array(b); + Module2["HEAPU32"] = HEAPU32 = new Uint32Array(b); + Module2["HEAPF32"] = HEAPF32 = new Float32Array(b); + Module2["HEAPF64"] = HEAPF64 = new Float64Array(b); + } + var __ATPRERUN__ = []; + var __ATINIT__ = []; + var __ATEXIT__ = []; + var __ATPOSTRUN__ = []; + var runtimeInitialized = false; + function preRun() { + if (Module2["preRun"]) { + if (typeof Module2["preRun"] == "function") + Module2["preRun"] = [Module2["preRun"]]; + while (Module2["preRun"].length) { + addOnPreRun(Module2["preRun"].shift()); + } + } + callRuntimeCallbacks(__ATPRERUN__); + } + function initRuntime() { + runtimeInitialized = true; + callRuntimeCallbacks(__ATINIT__); + } + function postRun() { + if (Module2["postRun"]) { + if (typeof Module2["postRun"] == "function") + Module2["postRun"] = [Module2["postRun"]]; + while (Module2["postRun"].length) { + addOnPostRun(Module2["postRun"].shift()); + } + } + callRuntimeCallbacks(__ATPOSTRUN__); + } + function addOnPreRun(cb) { + __ATPRERUN__.unshift(cb); + } + function addOnInit(cb) { + __ATINIT__.unshift(cb); + } + function addOnExit(cb) { + } + function addOnPostRun(cb) { + __ATPOSTRUN__.unshift(cb); + } + var runDependencies = 0; + var runDependencyWatcher = null; + var dependenciesFulfilled = null; + function getUniqueRunDependency(id) { + return id; + } + function addRunDependency(id) { + runDependencies++; + Module2["monitorRunDependencies"]?.(runDependencies); + } + function removeRunDependency(id) { + runDependencies--; + Module2["monitorRunDependencies"]?.(runDependencies); + if (runDependencies == 0) { + if (runDependencyWatcher !== null) { + clearInterval(runDependencyWatcher); + runDependencyWatcher = null; + } + if (dependenciesFulfilled) { + var callback = dependenciesFulfilled; + dependenciesFulfilled = null; + callback(); + } + } + } + function abort(what) { + Module2["onAbort"]?.(what); + what = "Aborted(" + what + ")"; + err(what); + ABORT = true; + EXITSTATUS = 1; + what += ". Build with -sASSERTIONS for more info."; + var e = new WebAssembly.RuntimeError(what); + readyPromiseReject(e); + throw e; + } + var dataURIPrefix = "data:application/octet-stream;base64,"; + var isDataURI = (filename) => filename.startsWith(dataURIPrefix); + var isFileURI = (filename) => filename.startsWith("file://"); + var wasmBinaryFile; + wasmBinaryFile = "data:application/octet-stream;base64,AGFzbQEAAAABHQZgAX8AYAABf2AAAGABfwF/YAJ/fwBgA39/fwF/Aw0MAgAEAgMBBQABA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ABrUKBgICAEH4hBiADIAVqIQEDQCABIAY3AxggASAGNwMQIAEgBjcDCCABIAY3AwAgAUEgaiEBIAJBYGoiAkEfSw0ACwsgAAsGACAAJAELBAAjAQsEACMACwYAIAAkAAsSAQJ/IwAgAGtBcHEiASQAIAELC9ICAgBBgAgLwAJn5glqha5nu3Lzbjw69U+lf1IOUYxoBZur2YMfGc3gW9ieBcEH1Xw2F91wMDlZDvcxC8D/ERVYaKeP+WSkT/q+mC+KQpFEN3HP+8C1pdu16VvCVjnxEfFZpII/ktVeHKuYqgfYAVuDEr6FMSTDfQxVdF2+cv6x3oCnBtybdPGbwcFpm+SGR77vxp3BD8yhDCRvLOktqoR0StypsFzaiPl2UlE+mG3GMajIJwOwx39Zv/ML4MZHkafVUWPKBmcpKRSFCrcnOCEbLvxtLE0TDThTVHMKZbsKanYuycKBhSxykqHov6JLZhqocItLwqNRbMcZ6JLRJAaZ1oU1DvRwoGoQFsGkGQhsNx5Md0gntbywNLMMHDlKqthOT8qcW/NvLmjugo90b2OleBR4yIQIAseM+v++kOtsUKT3o/m+8nhxxgBBwAoLBIAFgAA="; + if (!isDataURI(wasmBinaryFile)) { + wasmBinaryFile = locateFile(wasmBinaryFile); + } + function getBinarySync(file) { + if (file == wasmBinaryFile && wasmBinary2) { + return new Uint8Array(wasmBinary2); + } + var binary = tryParseAsDataURI(file); + if (binary) { + return binary; + } + if (readBinary) { + return readBinary(file); + } + throw "both async and sync fetching of the wasm failed"; + } + function getBinaryPromise(binaryFile) { + return Promise.resolve().then(() => getBinarySync(binaryFile)); + } + function instantiateArrayBuffer(binaryFile, imports, receiver) { + return getBinaryPromise(binaryFile).then((binary) => { + return WebAssembly.instantiate(binary, imports); + }).then(receiver, (reason) => { + err(`failed to asynchronously prepare wasm: ${reason}`); + abort(reason); + }); + } + function instantiateAsync(binary, binaryFile, imports, callback) { + return instantiateArrayBuffer(binaryFile, imports, callback); + } + function createWasm() { + var info = { + "env": wasmImports, + "wasi_snapshot_preview1": wasmImports + }; + function receiveInstance(instance, module2) { + wasmExports = instance.exports; + wasmMemory = wasmExports["memory"]; + updateMemoryViews(); + addOnInit(wasmExports["__wasm_call_ctors"]); + removeRunDependency("wasm-instantiate"); + return wasmExports; + } + addRunDependency("wasm-instantiate"); + function receiveInstantiationResult(result) { + receiveInstance(result["instance"]); + } + if (Module2["instantiateWasm"]) { + try { + return Module2["instantiateWasm"](info, receiveInstance); + } catch (e) { + err(`Module.instantiateWasm callback failed with error: ${e}`); + readyPromiseReject(e); + } + } + instantiateAsync(wasmBinary2, wasmBinaryFile, info, receiveInstantiationResult).catch(readyPromiseReject); + return {}; + } + var tempDouble; + var tempI64; + function ExitStatus(status) { + this.name = "ExitStatus"; + this.message = `Program terminated with exit(${status})`; + this.status = status; + } + var callRuntimeCallbacks = (callbacks) => { + while (callbacks.length > 0) { + callbacks.shift()(Module2); + } + }; + function getValue(ptr, type = "i8") { + if (type.endsWith("*")) + type = "*"; + switch (type) { + case "i1": + return HEAP8[ptr]; + case "i8": + return HEAP8[ptr]; + case "i16": + return HEAP16[ptr >> 1]; + case "i32": + return HEAP32[ptr >> 2]; + case "i64": + abort("to do getValue(i64) use WASM_BIGINT"); + case "float": + return HEAPF32[ptr >> 2]; + case "double": + return HEAPF64[ptr >> 3]; + case "*": + return HEAPU32[ptr >> 2]; + default: + abort(`invalid type for getValue: ${type}`); + } + } + var noExitRuntime = Module2["noExitRuntime"] || true; + function setValue(ptr, value, type = "i8") { + if (type.endsWith("*")) + type = "*"; + switch (type) { + case "i1": + HEAP8[ptr] = value; + break; + case "i8": + HEAP8[ptr] = value; + break; + case "i16": + HEAP16[ptr >> 1] = value; + break; + case "i32": + HEAP32[ptr >> 2] = value; + break; + case "i64": + abort("to do setValue(i64) use WASM_BIGINT"); + case "float": + HEAPF32[ptr >> 2] = value; + break; + case "double": + HEAPF64[ptr >> 3] = value; + break; + case "*": + HEAPU32[ptr >> 2] = value; + break; + default: + abort(`invalid type for setValue: ${type}`); + } + } + var wasmImports = {}; + var wasmExports = createWasm(); + var ___wasm_call_ctors = () => (___wasm_call_ctors = wasmExports["__wasm_call_ctors"])(); + var _Hash_Update = Module2["_Hash_Update"] = (a0) => (_Hash_Update = Module2["_Hash_Update"] = wasmExports["Hash_Update"])(a0); + var _Hash_Final = Module2["_Hash_Final"] = () => (_Hash_Final = Module2["_Hash_Final"] = wasmExports["Hash_Final"])(); + var _Hash_Init = Module2["_Hash_Init"] = (a0) => (_Hash_Init = Module2["_Hash_Init"] = wasmExports["Hash_Init"])(a0); + var _GetBufferPtr = Module2["_GetBufferPtr"] = () => (_GetBufferPtr = Module2["_GetBufferPtr"] = wasmExports["GetBufferPtr"])(); + var stackSave = () => (stackSave = wasmExports["stackSave"])(); + var stackRestore = (a0) => (stackRestore = wasmExports["stackRestore"])(a0); + var stackAlloc = (a0) => (stackAlloc = wasmExports["stackAlloc"])(a0); + var calledRun; + dependenciesFulfilled = function runCaller() { + if (!calledRun) + run2(); + if (!calledRun) + dependenciesFulfilled = runCaller; + }; + function run2() { + if (runDependencies > 0) { + return; + } + preRun(); + if (runDependencies > 0) { + return; + } + function doRun() { + if (calledRun) + return; + calledRun = true; + Module2["calledRun"] = true; + if (ABORT) + return; + initRuntime(); + readyPromiseResolve(Module2); + if (Module2["onRuntimeInitialized"]) + Module2["onRuntimeInitialized"](); + postRun(); + } + if (Module2["setStatus"]) { + Module2["setStatus"]("Running..."); + setTimeout(function() { + setTimeout(function() { + Module2["setStatus"](""); + }, 1); + doRun(); + }, 1); + } else { + doRun(); + } + } + if (Module2["preInit"]) { + if (typeof Module2["preInit"] == "function") + Module2["preInit"] = [Module2["preInit"]]; + while (Module2["preInit"].length > 0) { + Module2["preInit"].pop()(); + } + } + run2(); + return moduleArg.ready; + }; + })(); + sha256_default = Module; + } +}); + +// src/vendor/hash-wasm/sha256-wrapper.ts +var sha256_wrapper_exports = {}; +__export(sha256_wrapper_exports, { + createSHA256: () => createSHA256, + createSHA256WorkerCode: () => createSHA256WorkerCode +}); +async function createSHA256(isInsideWorker = false) { + const BUFFER_MAX_SIZE = 8 * 1024 * 1024; + const wasm2 = isInsideWorker ? ( + // @ts-expect-error WasmModule will be populated inside self object + await self["SHA256WasmModule"]() + ) : await sha256_default(); + const heap = wasm2.HEAPU8.subarray(wasm2._GetBufferPtr()); + return { + init() { + wasm2._Hash_Init(256); + }, + update(data) { + let byteUsed = 0; + while (byteUsed < data.byteLength) { + const bytesLeft = data.byteLength - byteUsed; + const length = Math.min(bytesLeft, BUFFER_MAX_SIZE); + heap.set(data.subarray(byteUsed, byteUsed + length)); + wasm2._Hash_Update(length); + byteUsed += length; + } + }, + digest(method) { + if (method !== "hex") { + throw new Error("Only digest hex is supported"); + } + wasm2._Hash_Final(); + const result = Array.from(heap.slice(0, 32)); + return result.map((b) => b.toString(16).padStart(2, "0")).join(""); + } + }; +} +function createSHA256WorkerCode() { + return ` + self.addEventListener('message', async (event) => { + const { file } = event.data; + const sha256 = await self.createSHA256(true); + sha256.init(); + const reader = file.stream().getReader(); + const total = file.size; + let bytesDone = 0; + while (true) { + const { done, value } = await reader.read(); + if (done) { + break; + } + sha256.update(value); + bytesDone += value.length; + postMessage({ progress: bytesDone / total }); + } + postMessage({ sha256: sha256.digest('hex') }); + }); + self.SHA256WasmModule = ${sha256_default.toString()}; + self.createSHA256 = ${createSHA256.toString()}; + `; +} +var init_sha256_wrapper = __esm({ + "src/vendor/hash-wasm/sha256-wrapper.ts"() { + "use strict"; + init_sha256(); + } +}); + +// src/utils/sha256-node.ts +var sha256_node_exports = {}; +__export(sha256_node_exports, { + sha256Node: () => sha256Node +}); +async function* sha256Node(buffer, opts) { + const sha256Stream = (0, import_node_crypto.createHash)("sha256"); + const size = buffer instanceof Blob ? buffer.size : buffer.byteLength; + let done = 0; + const readable = buffer instanceof Blob ? import_node_stream.Readable.fromWeb(buffer.stream()) : import_node_stream.Readable.from(Buffer.from(buffer)); + for await (const buffer2 of readable) { + sha256Stream.update(buffer2); + done += buffer2.length; + yield done / size; + opts?.abortSignal?.throwIfAborted(); + } + return sha256Stream.digest("hex"); +} +var import_node_stream, import_node_crypto; +var init_sha256_node = __esm({ + "src/utils/sha256-node.ts"() { + "use strict"; + import_node_stream = require("stream"); + import_node_crypto = require("crypto"); + } +}); + +// src/utils/FileBlob.ts +var FileBlob_exports = {}; +__export(FileBlob_exports, { + FileBlob: () => FileBlob +}); +var import_node_fs, import_promises2, import_node_stream2, import_node_url, FileBlob; +var init_FileBlob = __esm({ + "src/utils/FileBlob.ts"() { + "use strict"; + import_node_fs = require("fs"); + import_promises2 = require("fs/promises"); + import_node_stream2 = require("stream"); + import_node_url = require("url"); + FileBlob = class extends Blob { + /** + * Creates a new FileBlob on the provided file. + * + * @param path Path to the file to be lazy readed + */ + static async create(path2) { + path2 = path2 instanceof URL ? (0, import_node_url.fileURLToPath)(path2) : path2; + const { size } = await (0, import_promises2.stat)(path2); + const fileBlob = new FileBlob(path2, 0, size); + return fileBlob; + } + path; + start; + end; + constructor(path2, start, end) { + super(); + this.path = path2; + this.start = start; + this.end = end; + } + /** + * Returns the size of the blob. + */ + get size() { + return this.end - this.start; + } + /** + * Returns a new instance of FileBlob that is a slice of the current one. + * + * The slice is inclusive of the start and exclusive of the end. + * + * The slice method does not supports negative start/end. + * + * @param start beginning of the slice + * @param end end of the slice + */ + slice(start = 0, end = this.size) { + if (start < 0 || end < 0) { + new TypeError("Unsupported negative start/end on FileBlob.slice"); + } + const slice = new FileBlob(this.path, this.start + start, Math.min(this.start + end, this.end)); + return slice; + } + /** + * Read the part of the file delimited by the FileBlob and returns it as an ArrayBuffer. + */ + async arrayBuffer() { + const slice = await this.execute((file) => file.read(Buffer.alloc(this.size), 0, this.size, this.start)); + return slice.buffer; + } + /** + * Read the part of the file delimited by the FileBlob and returns it as a string. + */ + async text() { + const buffer = await this.arrayBuffer(); + return buffer.toString("utf8"); + } + /** + * Returns a stream around the part of the file delimited by the FileBlob. + */ + stream() { + if (this.start === this.end) { + return new Blob([]).stream(); + } + return import_node_stream2.Readable.toWeb((0, import_node_fs.createReadStream)(this.path, { start: this.start, end: this.end - 1 })); + } + /** + * We are opening and closing the file for each action to prevent file descriptor leaks. + * + * It is an intended choice of developer experience over performances. + */ + async execute(action) { + const file = await (0, import_promises2.open)(this.path, "r"); + try { + return await action(file); + } finally { + await file.close(); + } + } + }; + } +}); + +// src/utils/sub-paths.ts +var sub_paths_exports = {}; +__export(sub_paths_exports, { + subPaths: () => subPaths +}); +async function subPaths(path2, maxDepth = 10) { + const state = await (0, import_promises3.stat)(path2); + if (!state.isDirectory()) { + return [{ path: path2, relativePath: "." }]; + } + const files = await (0, import_promises3.readdir)(path2, { withFileTypes: true }); + const ret = []; + for (const file of files) { + const filePath = (0, import_node_url2.pathToFileURL)((0, import_node_url2.fileURLToPath)(path2) + "/" + file.name); + if (file.isDirectory()) { + ret.push( + ...(await subPaths(filePath, maxDepth - 1)).map((subPath) => ({ + ...subPath, + relativePath: `${file.name}/${subPath.relativePath}` + })) + ); + } else { + ret.push({ path: filePath, relativePath: file.name }); + } + } + return ret; +} +var import_promises3, import_node_url2; +var init_sub_paths = __esm({ + "src/utils/sub-paths.ts"() { + "use strict"; + import_promises3 = require("fs/promises"); + import_node_url2 = require("url"); + } +}); + +// src/vendor/xet-chunk/chunker_wasm_bg.js +var chunker_wasm_bg_exports = {}; +__export(chunker_wasm_bg_exports, { + Chunker: () => Chunker, + __wbg_String_8f0eb39a4a4c2f66: () => __wbg_String_8f0eb39a4a4c2f66, + __wbg_buffer_609cc3eee51ed158: () => __wbg_buffer_609cc3eee51ed158, + __wbg_call_672a4d21634d4a24: () => __wbg_call_672a4d21634d4a24, + __wbg_done_769e5ede4b31c67b: () => __wbg_done_769e5ede4b31c67b, + __wbg_get_67b2ba62fc30de12: () => __wbg_get_67b2ba62fc30de12, + __wbg_get_b9b93047fe3cf45b: () => __wbg_get_b9b93047fe3cf45b, + __wbg_getwithrefkey_1dc361bd10053bfe: () => __wbg_getwithrefkey_1dc361bd10053bfe, + __wbg_instanceof_ArrayBuffer_e14585432e3737fc: () => __wbg_instanceof_ArrayBuffer_e14585432e3737fc, + __wbg_instanceof_Uint8Array_17156bcf118086a9: () => __wbg_instanceof_Uint8Array_17156bcf118086a9, + __wbg_isArray_a1eab7e0d067391b: () => __wbg_isArray_a1eab7e0d067391b, + __wbg_isSafeInteger_343e2beeeece1bb0: () => __wbg_isSafeInteger_343e2beeeece1bb0, + __wbg_iterator_9a24c88df860dc65: () => __wbg_iterator_9a24c88df860dc65, + __wbg_length_a446193dc22c12f8: () => __wbg_length_a446193dc22c12f8, + __wbg_length_e2d2a49132c1b256: () => __wbg_length_e2d2a49132c1b256, + __wbg_new_405e22f390576ce2: () => __wbg_new_405e22f390576ce2, + __wbg_new_78feb108b6472713: () => __wbg_new_78feb108b6472713, + __wbg_new_a12002a7f91c75be: () => __wbg_new_a12002a7f91c75be, + __wbg_next_25feadfc0913fea9: () => __wbg_next_25feadfc0913fea9, + __wbg_next_6574e1a8a62d1055: () => __wbg_next_6574e1a8a62d1055, + __wbg_set_37837023f3d740e8: () => __wbg_set_37837023f3d740e8, + __wbg_set_3f1d0b984ed272ed: () => __wbg_set_3f1d0b984ed272ed, + __wbg_set_65595bdd868b3009: () => __wbg_set_65595bdd868b3009, + __wbg_set_wasm: () => __wbg_set_wasm, + __wbg_value_cd1ffa7b1ab794f1: () => __wbg_value_cd1ffa7b1ab794f1, + __wbindgen_as_number: () => __wbindgen_as_number, + __wbindgen_boolean_get: () => __wbindgen_boolean_get, + __wbindgen_debug_string: () => __wbindgen_debug_string, + __wbindgen_error_new: () => __wbindgen_error_new, + __wbindgen_in: () => __wbindgen_in, + __wbindgen_init_externref_table: () => __wbindgen_init_externref_table, + __wbindgen_is_function: () => __wbindgen_is_function, + __wbindgen_is_object: () => __wbindgen_is_object, + __wbindgen_is_undefined: () => __wbindgen_is_undefined, + __wbindgen_jsval_loose_eq: () => __wbindgen_jsval_loose_eq, + __wbindgen_memory: () => __wbindgen_memory, + __wbindgen_number_get: () => __wbindgen_number_get, + __wbindgen_number_new: () => __wbindgen_number_new, + __wbindgen_string_get: () => __wbindgen_string_get, + __wbindgen_string_new: () => __wbindgen_string_new, + __wbindgen_throw: () => __wbindgen_throw, + compute_file_hash: () => compute_file_hash, + compute_hmac: () => compute_hmac, + compute_verification_hash: () => compute_verification_hash, + compute_xorb_hash: () => compute_xorb_hash +}); +function __wbg_set_wasm(val) { + wasm = val; +} +function getUint8ArrayMemory0() { + if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) { + cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer); + } + return cachedUint8ArrayMemory0; +} +function passStringToWasm0(arg, malloc, realloc) { + if (realloc === void 0) { + const buf = cachedTextEncoder.encode(arg); + const ptr2 = malloc(buf.length, 1) >>> 0; + getUint8ArrayMemory0().subarray(ptr2, ptr2 + buf.length).set(buf); + WASM_VECTOR_LEN = buf.length; + return ptr2; + } + let len = arg.length; + let ptr = malloc(len, 1) >>> 0; + const mem = getUint8ArrayMemory0(); + let offset = 0; + for (; offset < len; offset++) { + const code = arg.charCodeAt(offset); + if (code > 127) + break; + mem[ptr + offset] = code; + } + if (offset !== len) { + if (offset !== 0) { + arg = arg.slice(offset); + } + ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0; + const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len); + const ret = encodeString(arg, view); + offset += ret.written; + ptr = realloc(ptr, len, offset, 1) >>> 0; + } + WASM_VECTOR_LEN = offset; + return ptr; +} +function getDataViewMemory0() { + if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || cachedDataViewMemory0.buffer.detached === void 0 && cachedDataViewMemory0.buffer !== wasm.memory.buffer) { + cachedDataViewMemory0 = new DataView(wasm.memory.buffer); + } + return cachedDataViewMemory0; +} +function addToExternrefTable0(obj) { + const idx = wasm.__externref_table_alloc(); + wasm.__wbindgen_export_4.set(idx, obj); + return idx; +} +function handleError(f, args) { + try { + return f.apply(this, args); + } catch (e) { + const idx = addToExternrefTable0(e); + wasm.__wbindgen_exn_store(idx); + } +} +function debugString(val) { + const type = typeof val; + if (type == "number" || type == "boolean" || val == null) { + return `${val}`; + } + if (type == "string") { + return `"${val}"`; + } + if (type == "symbol") { + const description = val.description; + if (description == null) { + return "Symbol"; + } else { + return `Symbol(${description})`; + } + } + if (type == "function") { + const name = val.name; + if (typeof name == "string" && name.length > 0) { + return `Function(${name})`; + } else { + return "Function"; + } + } + if (Array.isArray(val)) { + const length = val.length; + let debug = "["; + if (length > 0) { + debug += debugString(val[0]); + } + for (let i = 1; i < length; i++) { + debug += ", " + debugString(val[i]); + } + debug += "]"; + return debug; + } + const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val)); + let className; + if (builtInMatches && builtInMatches.length > 1) { + className = builtInMatches[1]; + } else { + return toString.call(val); + } + if (className == "Object") { + try { + return "Object(" + JSON.stringify(val) + ")"; + } catch (_) { + return "Object"; + } + } + if (val instanceof Error) { + return `${val.name}: ${val.message} +${val.stack}`; + } + return className; +} +function getStringFromWasm0(ptr, len) { + ptr = ptr >>> 0; + return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len)); +} +function isLikeNone(x) { + return x === void 0 || x === null; +} +function passArray8ToWasm0(arg, malloc) { + const ptr = malloc(arg.length * 1, 1) >>> 0; + getUint8ArrayMemory0().set(arg, ptr / 1); + WASM_VECTOR_LEN = arg.length; + return ptr; +} +function takeFromExternrefTable0(idx) { + const value = wasm.__wbindgen_export_4.get(idx); + wasm.__externref_table_dealloc(idx); + return value; +} +function compute_xorb_hash(chunks_array) { + let deferred2_0; + let deferred2_1; + try { + const ret = wasm.compute_xorb_hash(chunks_array); + var ptr1 = ret[0]; + var len1 = ret[1]; + if (ret[3]) { + ptr1 = 0; + len1 = 0; + throw takeFromExternrefTable0(ret[2]); + } + deferred2_0 = ptr1; + deferred2_1 = len1; + return getStringFromWasm0(ptr1, len1); + } finally { + wasm.__wbindgen_free(deferred2_0, deferred2_1, 1); + } +} +function compute_file_hash(chunks_array) { + let deferred2_0; + let deferred2_1; + try { + const ret = wasm.compute_file_hash(chunks_array); + var ptr1 = ret[0]; + var len1 = ret[1]; + if (ret[3]) { + ptr1 = 0; + len1 = 0; + throw takeFromExternrefTable0(ret[2]); + } + deferred2_0 = ptr1; + deferred2_1 = len1; + return getStringFromWasm0(ptr1, len1); + } finally { + wasm.__wbindgen_free(deferred2_0, deferred2_1, 1); + } +} +function passArrayJsValueToWasm0(array, malloc) { + const ptr = malloc(array.length * 4, 4) >>> 0; + for (let i = 0; i < array.length; i++) { + const add = addToExternrefTable0(array[i]); + getDataViewMemory0().setUint32(ptr + 4 * i, add, true); + } + WASM_VECTOR_LEN = array.length; + return ptr; +} +function compute_verification_hash(chunk_hashes) { + let deferred3_0; + let deferred3_1; + try { + const ptr0 = passArrayJsValueToWasm0(chunk_hashes, wasm.__wbindgen_malloc); + const len0 = WASM_VECTOR_LEN; + const ret = wasm.compute_verification_hash(ptr0, len0); + var ptr2 = ret[0]; + var len2 = ret[1]; + if (ret[3]) { + ptr2 = 0; + len2 = 0; + throw takeFromExternrefTable0(ret[2]); + } + deferred3_0 = ptr2; + deferred3_1 = len2; + return getStringFromWasm0(ptr2, len2); + } finally { + wasm.__wbindgen_free(deferred3_0, deferred3_1, 1); + } +} +function compute_hmac(hash_hex, hmac_key_hex) { + let deferred4_0; + let deferred4_1; + try { + const ptr0 = passStringToWasm0(hash_hex, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len0 = WASM_VECTOR_LEN; + const ptr1 = passStringToWasm0(hmac_key_hex, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + const ret = wasm.compute_hmac(ptr0, len0, ptr1, len1); + var ptr3 = ret[0]; + var len3 = ret[1]; + if (ret[3]) { + ptr3 = 0; + len3 = 0; + throw takeFromExternrefTable0(ret[2]); + } + deferred4_0 = ptr3; + deferred4_1 = len3; + return getStringFromWasm0(ptr3, len3); + } finally { + wasm.__wbindgen_free(deferred4_0, deferred4_1, 1); + } +} +function __wbg_String_8f0eb39a4a4c2f66(arg0, arg1) { + const ret = String(arg1); + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); +} +function __wbg_buffer_609cc3eee51ed158(arg0) { + const ret = arg0.buffer; + return ret; +} +function __wbg_call_672a4d21634d4a24() { + return handleError(function(arg0, arg1) { + const ret = arg0.call(arg1); + return ret; + }, arguments); +} +function __wbg_done_769e5ede4b31c67b(arg0) { + const ret = arg0.done; + return ret; +} +function __wbg_get_67b2ba62fc30de12() { + return handleError(function(arg0, arg1) { + const ret = Reflect.get(arg0, arg1); + return ret; + }, arguments); +} +function __wbg_get_b9b93047fe3cf45b(arg0, arg1) { + const ret = arg0[arg1 >>> 0]; + return ret; +} +function __wbg_getwithrefkey_1dc361bd10053bfe(arg0, arg1) { + const ret = arg0[arg1]; + return ret; +} +function __wbg_instanceof_ArrayBuffer_e14585432e3737fc(arg0) { + let result; + try { + result = arg0 instanceof ArrayBuffer; + } catch (_) { + result = false; + } + const ret = result; + return ret; +} +function __wbg_instanceof_Uint8Array_17156bcf118086a9(arg0) { + let result; + try { + result = arg0 instanceof Uint8Array; + } catch (_) { + result = false; + } + const ret = result; + return ret; +} +function __wbg_isArray_a1eab7e0d067391b(arg0) { + const ret = Array.isArray(arg0); + return ret; +} +function __wbg_isSafeInteger_343e2beeeece1bb0(arg0) { + const ret = Number.isSafeInteger(arg0); + return ret; +} +function __wbg_iterator_9a24c88df860dc65() { + const ret = Symbol.iterator; + return ret; +} +function __wbg_length_a446193dc22c12f8(arg0) { + const ret = arg0.length; + return ret; +} +function __wbg_length_e2d2a49132c1b256(arg0) { + const ret = arg0.length; + return ret; +} +function __wbg_new_405e22f390576ce2() { + const ret = new Object(); + return ret; +} +function __wbg_new_78feb108b6472713() { + const ret = new Array(); + return ret; +} +function __wbg_new_a12002a7f91c75be(arg0) { + const ret = new Uint8Array(arg0); + return ret; +} +function __wbg_next_25feadfc0913fea9(arg0) { + const ret = arg0.next; + return ret; +} +function __wbg_next_6574e1a8a62d1055() { + return handleError(function(arg0) { + const ret = arg0.next(); + return ret; + }, arguments); +} +function __wbg_set_37837023f3d740e8(arg0, arg1, arg2) { + arg0[arg1 >>> 0] = arg2; +} +function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) { + arg0[arg1] = arg2; +} +function __wbg_set_65595bdd868b3009(arg0, arg1, arg2) { + arg0.set(arg1, arg2 >>> 0); +} +function __wbg_value_cd1ffa7b1ab794f1(arg0) { + const ret = arg0.value; + return ret; +} +function __wbindgen_as_number(arg0) { + const ret = +arg0; + return ret; +} +function __wbindgen_boolean_get(arg0) { + const v = arg0; + const ret = typeof v === "boolean" ? v ? 1 : 0 : 2; + return ret; +} +function __wbindgen_debug_string(arg0, arg1) { + const ret = debugString(arg1); + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); +} +function __wbindgen_error_new(arg0, arg1) { + const ret = new Error(getStringFromWasm0(arg0, arg1)); + return ret; +} +function __wbindgen_in(arg0, arg1) { + const ret = arg0 in arg1; + return ret; +} +function __wbindgen_init_externref_table() { + const table = wasm.__wbindgen_export_4; + const offset = table.grow(4); + table.set(0, void 0); + table.set(offset + 0, void 0); + table.set(offset + 1, null); + table.set(offset + 2, true); + table.set(offset + 3, false); + ; +} +function __wbindgen_is_function(arg0) { + const ret = typeof arg0 === "function"; + return ret; +} +function __wbindgen_is_object(arg0) { + const val = arg0; + const ret = typeof val === "object" && val !== null; + return ret; +} +function __wbindgen_is_undefined(arg0) { + const ret = arg0 === void 0; + return ret; +} +function __wbindgen_jsval_loose_eq(arg0, arg1) { + const ret = arg0 == arg1; + return ret; +} +function __wbindgen_memory() { + const ret = wasm.memory; + return ret; +} +function __wbindgen_number_get(arg0, arg1) { + const obj = arg1; + const ret = typeof obj === "number" ? obj : void 0; + getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true); +} +function __wbindgen_number_new(arg0) { + const ret = arg0; + return ret; +} +function __wbindgen_string_get(arg0, arg1) { + const obj = arg1; + const ret = typeof obj === "string" ? obj : void 0; + var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); +} +function __wbindgen_string_new(arg0, arg1) { + const ret = getStringFromWasm0(arg0, arg1); + return ret; +} +function __wbindgen_throw(arg0, arg1) { + throw new Error(getStringFromWasm0(arg0, arg1)); +} +var wasm, WASM_VECTOR_LEN, cachedUint8ArrayMemory0, lTextEncoder, cachedTextEncoder, encodeString, cachedDataViewMemory0, lTextDecoder, cachedTextDecoder, ChunkerFinalization, Chunker; +var init_chunker_wasm_bg = __esm({ + "src/vendor/xet-chunk/chunker_wasm_bg.js"() { + "use strict"; + WASM_VECTOR_LEN = 0; + cachedUint8ArrayMemory0 = null; + lTextEncoder = typeof TextEncoder === "undefined" ? (0, module.require)("util").TextEncoder : TextEncoder; + cachedTextEncoder = new lTextEncoder("utf-8"); + encodeString = typeof cachedTextEncoder.encodeInto === "function" ? function(arg, view) { + return cachedTextEncoder.encodeInto(arg, view); + } : function(arg, view) { + const buf = cachedTextEncoder.encode(arg); + view.set(buf); + return { + read: arg.length, + written: buf.length + }; + }; + cachedDataViewMemory0 = null; + lTextDecoder = typeof TextDecoder === "undefined" ? (0, module.require)("util").TextDecoder : TextDecoder; + cachedTextDecoder = new lTextDecoder("utf-8", { ignoreBOM: true, fatal: true }); + cachedTextDecoder.decode(); + ChunkerFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => { + }, unregister: () => { + } } : new FinalizationRegistry((ptr) => wasm.__wbg_chunker_free(ptr >>> 0, 1)); + Chunker = class { + __destroy_into_raw() { + const ptr = this.__wbg_ptr; + this.__wbg_ptr = 0; + ChunkerFinalization.unregister(this); + return ptr; + } + free() { + const ptr = this.__destroy_into_raw(); + wasm.__wbg_chunker_free(ptr, 0); + } + /** + * @param {number} target_chunk_size + */ + constructor(target_chunk_size) { + const ret = wasm.chunker_new(target_chunk_size); + this.__wbg_ptr = ret >>> 0; + ChunkerFinalization.register(this, this.__wbg_ptr, this); + return this; + } + /** + * @param {Uint8Array} data + * @returns {any} + */ + add_data(data) { + const ptr0 = passArray8ToWasm0(data, wasm.__wbindgen_malloc); + const len0 = WASM_VECTOR_LEN; + const ret = wasm.chunker_add_data(this.__wbg_ptr, ptr0, len0); + if (ret[2]) { + throw takeFromExternrefTable0(ret[1]); + } + return takeFromExternrefTable0(ret[0]); + } + /** + * @returns {any} + */ + finish() { + const ret = wasm.chunker_finish(this.__wbg_ptr); + if (ret[2]) { + throw takeFromExternrefTable0(ret[1]); + } + return takeFromExternrefTable0(ret[0]); + } + }; + } +}); + +// src/vendor/xet-chunk/chunker_wasm_bg.wasm.base64.ts +var wasmBase64, wasmBinary; +var init_chunker_wasm_bg_wasm_base64 = __esm({ + "src/vendor/xet-chunk/chunker_wasm_bg.wasm.base64.ts"() { + "use strict"; + wasmBase64 = atob( + ` +AGFzbQEAAAABwAIuYAJ/fwF/YAN/f38Bf2ACf38AYAN/f38AYAR/f39/AGABfwBgAW8Bf2ABfwF/YAAEf39/f2AFf39/f38AYAFv +AW9gAABgAn9vAGAAAW9gBn9/f39/fwBgAAN/f39gAm9vAW9gBn9/f39/fwF/YAV/f39/fwF/YAR/f39/AX9gAn9/AW9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AHQagBakIANwMAIAdBoAFqQgA3AwAgB0GYAWpCADcDACAHQdgBaiIBIAJBCGop +AgA3AwAgB0HgAWoiCiACQRBqKQIANwMAIAdB6AFqIgggAkEYaikCADcDACAHQgA3A5ABIAcgBDoA+gEgB0EAOwH4ASAHIAIpAgA3 +A9ABIAcgC60gA3w3A/ABIAdBkAFqIAAgDmogCRBFIQAgB0HQAGogASkDADcDACAHQdgAaiAKKQMANwMAIAdB4ABqIAgpAwA3AwAg +B0EQaiAAQQhqKQMANwMAIAdBGGogAEEQaikDADcDACAHQSBqIABBGGopAwA3AwAgB0EoaiAAQSBqKQMANwMAIAdBMGogAEEoaikD +ADcDACAHQThqIABBMGopAwA3AwAgB0FAayAAQThqKQMANwMAIAcgBykD0AE3A0ggByAAKQMANwMIIActAPoBIQAgBy0A+QEhAiAH +IActAPgBIgQ6AHAgByAHKQPwASIDNwNoIAcgACACRXJBAnIiADoAcSAHQZgCaiICIAgpAwA3AwAgB0GQAmoiCCAKKQMANwMAIAdB +iAJqIgogASkDADcDACAHIAcpA9ABNwOAAiAHQYACaiAHQQhqIAQgAyAAECcgC0EFdCIAQSBqIgEgBksNAiACKAIAIQEgCCgCACEC +IAooAgAhBCAHKAKUAiEGIAcoAowCIQogBygChAIhCCAHKAKAAiEJIAAgBWoiACAHKAKcAjYAHCAAIAE2ABggACAGNgAUIAAgAjYA +ECAAIAo2AAwgACAENgAIIAAgCDYABCAAIAk2AAAgC0EBaiELDAELQn8gAa1CAXxCAYhCAX15iKciCiABTw0CIAdBCGoiCEEAQYAB +EEMaIAAgCkEBaiIKIAIgAyAEIAhBIEHAACAKQYAIRhsiCRAqIQsgACAKaiABIAprIAIgCkEKdq0gA3wgBCAIIAlqQYABIAlrECog +C0EBRgRAIAZBP00NBCAFIAcpAAg3AAAgBUE4aiAHQUBrKQAANwAAIAVBMGogB0E4aikAADcAACAFQShqIAdBMGopAAA3AAAgBUEg +aiAHQShqKQAANwAAIAVBGGogB0EgaikAADcAACAFQRBqI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ULIAlFBEAgAigCECACQQA2AhBBAUcNCSACIAIoAhQ2AiQgAkEoaiIEIAJBJGoiAygCACUB +EB0EfiADKAIAJQEQCSIORAAAAAAAAODDZiEDIARC////////////AAJ+IA6ZRAAAAAAAAOBDYwRAIA6wDAELQoCAgICAgICAgH8L +QoCAgICAgICAgH8gAxsgDkT////////fQ2QbQgAgDiAOYRs3AwhCAQVCAAs3AwACfwJAIAIoAihBAUYEQCACKQMwIg9CAFkNAQsg +AkEkaiACQc8AakHIkMAAED4hBEEBDAELIA9CgICAgBBaBEAgAkEBOgA4IAIgDzcDQCMAQTBrIgMkACADQciQwAA2AgQgAyACQc8A +ajYCACADQQI2AgwgA0HIjMAANgIIIANCAjcCFCADIAOtQoCAgICQAYQ3AyggAyACQThqrUKAgICAoAGENwMgIAMgA0EgajYCECAD +QQhqEGQhBCADQTBqJABBAQwBCyAPpyEEQQALIAIoAiQiBUGEAU8EQCAFEG8LQQEhCUUNAgwBC0HVksAAQQYQgQEhBAsgAEGAgICA +eDYCACAAIAQ2AgQgAUGAgICAeHJBgICAgHhGDQMgBiABEMoBDAMLCyACKAIYIgMgAigCHEcNAAsgAUGAgICAeEYEQEHRksAAQQQQ +gAEhASAAQYCAgIB4NgIAIAAgATYCBAwBCyAJRQRAQdWSwABBBhCAASEEIABBgICAgHg2AgAgACAENgIEIAFFDQEgBiABEMoBDAEL +IAAgBDYCDCAAIA02AgggACAGNgIEIAAgATYCACACKAIgIgBBhAFPBEAgABBvCyACKAIQRQ0DIAIoAhQiA0GDAU0NAwwCCyACKAIg +IgBBhAFPBEAgABBvCyACKAIQRQ0CIAIoAhQiA0GDAUsNAQwCCyACQQxqIAJBzwBqQfiQwAAQPiEEIABBgICAgHg2AgAgACAENgIE +IAFBhAFJDQEgARBvDAELIAMQbwsgAkHQAGokAA8LQaCSwABBMRDcAQALxgYBCH8CQAJAIAEgAEEDakF8cSIDIABrIghJDQAgASAI +ayIGQQRJDQAgBkEDcSEHQQAhAQJAIAAgA0YiC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EADwsgACgCHCABIAIgACgCICgCDBEB +AAveCAIKfwF+IwBBgAJrIgQkACAEIAEpABg3AhggBCABKQAQNwIQIAQgASkACDcCCCAEIAEpAAA3AgACfyADQYEITwRAIARBIGoh +BSMAQeAAayIBJAAgAUE4aiIGQgA3AwAgAUEwaiIHQgA3AwAgAUEoaiIIQgA3AwAgAUEgaiIJQgA3AwAgAUEYaiIKQgA3AwAgAUEQ +aiILQgA3AwAgAUEIaiIMQgA3AwAgAUIANwMAIAIgAyAEQgBBECABQcAAECohAiABQdgAakIANwMAIAFB0ABqQgA3AwAgAUHIAGpC +ADcDACABQgA3A0ACQAJAAkACQCACQQNPBEADQCACQQV0IgJBwQBPDQIgASACIARBECABQUBrIg1BIBA9IgJBBXQiA0HBAE8NAyAD +QSFPDQQgASANIAMQNRogAkECSw0ACwsgBSABKQMANwAAIAVBOGogBikDADcAACAFQTBqIAcpAwA3AAAgBUEoaiAIKQMANwAAIAVB +IGogCSkDADcAACAFQRhqIAopAwA3AAAgBUEQaiALKQMANwAAIAVBCGogDCkDADcAACABQeAAaiQADAMLIAJBwABBgL7AABDOAQAL +IANBwABBkL7AABDOAQALIANBIEGgvsAAEM4BAAsgBEH4AGogBEEYaikCADcDACAEQfAAaiAEQRBqKQIANwMAIARB6ABqIARBCGop +AgA3AwAgBCAEKQIANwNgQcAAIQNBFAwBCyAEQcgBakIANwMAIARBwAFqQgA3AwAgBEG4AWpCADcDACAEQbABakIANwMAIARBqAFq +QgA3AwAgBEGYAWpCADcDACAEQRA6APoBIARBoAFqQgA3AwAgBEHYAWoiBSAEQQhqKQIANwMAIARB6AFqIgYgBEEYaikCADcDACAE +QeABaiIHIARBEGopAgA3AwAgBEIANwOQASAEIAQpAgA3A9ABIARBADsB+AEgBEIANwPwASAEQZABaiACIAMQRSEBIARB6ABqIAUp +AwA3AwAgBEHwAGogBykDADcDACAEQfgAaiAGKQMANwMAIARBKGogAUEIaikDADcDACAEQTBqIAFBEGopAwA3AwAgBEE4aiABQRh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gZqIgUgAE0NACAAIQMgASEEIAYEQCAG +IQcDQCADIAQtAAA6AAAgBEEBaiEEIANBAWohAyAHQQFrIgcNAAsLIAZBAWtBB0kNAANAIAMgBC0AADoAACADQQFqIARBAWotAAA6 +AAAgA0ECaiAEQQJqLQAAOgAAIANBA2ogBEEDai0AADoAACADQQRqIARBBGotAAA6AAAgA0EFaiAEQQVqLQAAOgAAIANBBmogBEEG +ai0AADoAACADQQdqIARBB2otAAA6AAAgBEEIaiEEIANBCGoiAyAFRw0ACwsgBSACIAZrIgdBfHEiCGohAwJAIAEgBmoiBEEDcUUE +QCADIAVNDQEgBCEBA0AgBSABKAIANgIAIAFBBGohASAFQQRqIgUgA0kNAAsMAQsgAyAFTQ0AIARBA3QiAkEYcSEGIARBfHEiCUEE +aiEBQQAgAmtBGHEhCiAJKAIAIQIDQCAFIAIgBnYgASgCACICIAp0cjYCACABQQRqIQEgBUEEaiIFIANJDQALCyAHQQNxIQIgBCAI +aiEBCwJAIAMgAiADaiIGTw0AIAJBB3EiBARAA0AgAyABLQAAOgAAIAFBAWohASADQQFqIQMgBEEBayIEDQALCyACQQFrQQdJDQAD +QCADIAEtAAA6AAAgA0EBaiABQQFqLQAAOgAAIANBAmogAUECai0AADoAACADQQNqIAFBA2otAAA6AAAgA0EEaiABQQRqLQAAOgAA +IANBBWogAUEFai0AADoAACADQQZqIAFBBmotAAA6AAAgA0EHaiABQQdqLQAAOgAAIAFBCGohASADQQhqIgMgBkcNAAsLIAALhAYC +AX8BfCMAQTBrIgIkAAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAAtAABBAWsOEQECAwQFBgcICQoLDA0O +DxARAAsgAiAALQABOgAIIAJBAjYCFCACQdi/wAA2AhAgAkIBNwIcIAIgAkEIaq1CgICAgOAHhDcDKCACIAJBKGo2AhggASgCHCAB +KAIgIAJBEGoQOAwRCyACIAApAwg3AwggAkECNgIUIAJB9L/AADYCECACQgE3AhwgAiACQQhqrUKAgICA8AeENwMoIAIgAkEoajYC +GCABKAIcIAEoAiAgAkEQahA4DBALIAIgACkDCDcDCCACQQI2AhQgAkH0v8AANgIQIAJCATcCHCACIAJBCGqtQoCAgICACIQ3Aygg +AiACQShqNgIYIAEoAhwgASgCICACQRBqEDgMDwsgACsDCCEDIAJBAjYCFCACQZTAwAA2AhAgAkIBNwIcIAIgAkEoaq1CgICAgJAI +hDcDCCACIAM5AyggAiACQQhqNgIYIAEoAhwgASgCICACQRBqEDgMDgsgAiAAKAIENgIIIAJBAjYCFCACQbDAwAA2AhAgAkIBNwIc +IAIgAkEIaq1CgICAgKAIhDcDKCACIAJBKGo2AhggASgCHCABKAIgIAJBEGoQOAwNCyACIAApAgQ3AgggAkEBNgIUIAJByMDAADYC +ECACQgE3AhwgAiACQQhqrUKAgICAsAiENwMoIAIgAkEoajYCGCABKAIcIAEoAiAgAkEQahA4DAwLIAFBxL/AAEEKELoBDAsLIAFB +0MDAAEEKELoBDAoLIAFB2sDAAEEMELoBDAkLIAFB5sDAAEEOELoBDAgLIAFB9MDAAEEIELoBDAcLIAFB/MDAAEEDELoBDAYLIAFB +/8DAAEEEELoBDAULIAFBg8HAAEEMELoBDAQLIAFBj8HAAEEPELoBDAMLIAFBnsHAAEENELoBDAILIAFBq8HAAEEOELoBDAELIAEg +ACgCBCAAKAIIELoBCyACQTBqJAAL/gUBBX8gAEEIayIBIABBBGsoAgAiA0F4cSIAaiECAkACQCADQQFxDQAgA0ECcUUNASABKAIA +IgMgAGohACABIANrIgFBkIfBACgCAEYEQCACKAIEQQNxQQNHDQFBiIfBACAANgIAIAIgAigCBEF+cTYCBCABIABBAXI2AgQgAiAA +NgIADwsgASADEFALAkACQAJAAkACQCACKAIEIgNBAnFFBEAgAkGUh8EAKAIARg0CIAJBkIfBACgCAEYNAyACIANBeHEiAhBQIAEg +ACACaiIAQQFyNgIEIAAgAWogADYCACABQZCHwQAoAgBHDQFBiIfBACAANgIADwsgAiADQX5xNgIEIAEgAEEBcjYCBCAAIAFqIAA2 +AgALIABBgAJJDQIgASAAEFVBACEBQaiHwQBBqIfBACgCAEEBayIANgIAIAANBEHwhMEAKAIAIgAEQANAIAFBAWohASAAKAIIIgAN +AAsLQaiHwQBB/x8gASABQf8fTRs2AgAPC0GUh8EAIAE2AgBBjIfBAEGMh8EAKAIAIABqIgA2AgAgASAAQQFyNgIEQZCHwQAoAgAg +AUYEQEGIh8EAQQA2AgBBkIfBAEEANgIACyAAQaCHwQAoAgAiA00NA0GUh8EAKAIAIgJFDQNBACEAQYyHwQAoAgAiBEEpSQ0CQeiE +wQAhAQNAIAIgASgCACIFTwRAIAIgBSABKAIEakkNBAsgASgCCCEBDAALAAtBkIfBACABNgIAQYiHwQBBiIfBACgCACAAaiIANgIA +IAEgAEEBcjYCBCAAIAFqIAA2AgAPCyAAQfgBcUH4hMEAaiECAn9BgIfBACgCACIDQQEgAEEDdnQiAHFFBEBBgIfBACAAIANyNgIA +IAIMAQsgAigCCAshACACIAE2AgggACABNgIMIAEgAjYCDCABIAA2AggPC0HwhMEAKAIAIgEEQANAIABBAWohACABKAIIIgENAAsL +QaiHwQBB/x8gACAAQf8fTRs2AgAgAyAETw0AQaCHwQBBfzYCAAsL6gQBCn8jAEEwayIDJAAgAyABNgIsIAMgADYCKCADQQM6ACQg +A0IgNwIcIANBADYCFCADQQA2AgwCfwJAAkACQCACKAIQIgpFBEAgAigCDCIARQ0BIAIoAggiASAAQQN0aiEEIABBAWtB/////wFx +QQFqIQcgAigCACEAA0AgAEEEaigCACIFBEAgAygCKCAAKAIAIAUgAygCLCgCDBEBAA0ECyABKAIAIANBDGogAUEEaigCABEAAA0D +IABBCGohACABQQhqIgEgBEcNAAsMAQsgAigCFCIARQ0AIABBBXQhCyAAQQFrQf///z9xQQFqIQcgAigCCCEFIAIoAgAhAANAIABB +BGooAgAiAQRAIAMoAiggACgCACABIAMoAiwoAgwRAQANAwsgAyAIIApqIgFBEGooAgA2AhwgAyABQRxqLQAAOgAkIAMgAUEYaigC +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qIgQgA0kNAAsLIAJBA3EhAgsCQCADIAIgA2oiBU8NACAC +QQdxIgQEQANAIAMgAToAACADQQFqIQMgBEEBayIEDQALCyACQQFrQQdJDQADQCADIAE6AAAgA0EHaiABOgAAIANBBmogAToAACAD +QQVqIAE6AAAgA0EEaiABOgAAIANBA2ogAToAACADQQJqIAE6AAAgA0EBaiABOgAAIANBCGoiAyAFRw0ACwsgAAv+AgEEfwJAAkAC +QAJAAkACQAJ/AkAgByAIVgRAIAcgCH0gCFgNAwJAIAYgByAGfVQgByAGQgGGfSAIQgGGWnFFBEAgBiAIVg0BDAoLIAIgA0kNBQwI +CyAHIAYgCH0iBn0gBlYNCCACIANJDQUgASADaiEMIAEhCwJAA0AgAyAJRg0BIAlBAWohCSALQQFrIgsgA2oiCi0AAEE5Rg0ACyAK +IAotAABBAWo6AAAgAyAJa0EBaiADTw0HIApBAWpBMCAJQQFrEEMaDAcLQTEgA0UNAhogAUExOgAAIANBAUcNAUEwDAILIABBADYC +AA8LIAFBAWpBMCADQQFrEEMaQTALIQkgBEEBasEiBCAFwUwgAiADTXINAyAMIAk6AAAgA0EBaiEDDAMLIABBADYCAA8LIAMgAkGQ +4sAAEM4BAAsgAyACQfDhwAAQzgEACyACIANPDQAgAyACQYDiwAAQzgEACyAAIAQ7AQggACADNgIEIAAgATYCAA8LIABBADYCAAub +AwECfwJAAkACQAJAIAAtAGgiAwRAIANBwQBPDQMgACADaiABIAJBwAAgA2siAyACIANJGyIDEDUaIAAgAC0AaCADaiIEOgBoIAEg +A2ohASACIANrIgJFBEBBACECDAILIABBQGsgAEHAACAAKQNgIAAtAGogAC0AaUVyECcgAEIANwMAIABBADoAaCAAQQhqQgA3AwAg +AEEQakIANwMAIABBGGpCADcDACAAQSBqQgA3AwAgAEEoakIANwMAIABBMGpCADcDACAAQThqQgA3AwAgACAALQBpQQFqOgBpC0EA +IQMgAkHBAEkNASAAQUBrIQQgAC0AaSEDA0AgBCABQcAAIAApA2AgAC0AaiADQf8BcUVyECcgACAALQBpQQFqIgM6AGkgAUFAayEB +IAJBQGoiAkHAAEsNAAsgAC0AaCEECyAEQf8BcSIDQcEATw0CCyAAIANqIAEgAkHAACADayIBIAEgAksbIgEQNRogACAALQBoIAFq +OgBoIAAPCyADQcAAQfC8wAAQzQEACyADQcAAQfC8wAAQzQEAC+cCAQV/AkBBzf97QRAgACAAQRBNGyIAayABTQ0AIABBECABQQtq +QXhxIAFBC0kbIgRqQQxqECgiAkUNACACQQhrIQECQCAAQQFrIgMgAnFFBEAgASEADAELIAJBBGsiBSgCACIGQXhxIAIgA2pBACAA +a3FBCGsiAiAAQQAgAiABa0EQTRtqIgAgAWsiAmshAyAGQQNxBEAgACADIAAoAgRBAXFyQQJyNgIEIAAgA2oiAyADKAIEQQFyNgIE +IAUgAiAFKAIAQQFxckECcjYCACABIAJqIgMgAygCBEEBcjYCBCABIAIQQQwBCyABKAIAIQEgACADNgIEIAAgASACajYCAAsCQCAA +KAIEIgFBA3FFDQAgAUF4cSICIARBEGpNDQAgACAEIAFBAXFyQQJyNgIEIAAgBGoiASACIARrIgRBA3I2AgQgACACaiICIAIoAgRB +AXI2AgQgASAEEEELIABBCGohAwsgAwuCAwEHfyMAQRBrIgQkAAJAAkACQAJAAkAgASgCBCICRQ0AIAEoAgAhByACQQNxIQUCQCAC +QQRJBEBBACECDAELIAdBHGohAyACQXxxIQhBACECA0AgAygCACADQQhrKAIAIANBEGsoAgAgA0EYaygCACACampqaiECIANBIGoh +AyAIIAZBBGoiBkcNAAsLIAUEQCAGQQN0IAdqQQRqIQMDQCADKAIAIAJqIQIgA0EIaiEDIAVBAWsiBQ0ACwsgASgCDARAIAJBAEgN +ASAHKAIERSACQRBJcQ0BIAJBAXQhAgtBACEFIAJBAEgNAyACDQELQQEhA0EAIQIMAQtB+YLBAC0AABpBASEFIAJBARC+ASIDRQ0B +CyAEQQA2AgggBCADNgIEIAQgAjYCACAEQYDLwAAgARA4RQ0BQZzMwABB1gAgBEEPakGMzMAAQYzNw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nZBwAFyOgAMQQILIQMgBCABQT9xQYABcjoAACADIAAoAgAgACgCCCIBa0sEQCAA +IAEgAxBnIAAoAgghAQsgACgCBCABaiACQQxqIAMQNRogACABIANqNgIIDAELIAAoAggiAyAAKAIARgRAIABBnM3AABBsCyAAIANB +AWo2AgggACgCBCADaiABOgAACyACQRBqJABBAAvCAgECfyMAQRBrIgIkAAJAIAFBgAFPBEAgAkEANgIMAn8gAUGAEE8EQCABQYCA +BE8EQCACIAFBP3FBgAFyOgAPIAIgAUESdkHwAXI6AAwgAiABQQZ2QT9xQYABcjoADiACIAFBDHZBP3FBgAFyOgANQQQMAgsgAiAB +QT9xQYABcjoADiACIAFBDHZB4AFyOgAMIAIgAUEGdkE/cUGAAXI6AA1BAwwBCyACIAFBP3FBgAFyOgANIAIgAUEGdkHAAXI6AAxB +AgshASABIAAoAgAgACgCCCIDa0sEQCAAIAMgARBgIAAoAgghAwsgACgCBCADaiACQQxqIAEQNRogACABIANqNgIIDAELIAAoAggi +AyAAKAIARgRAIABBuMbAABBsCyAAKAIEIANqIAE6AAAgACADQQFqNgIICyACQRBqJABBAAvEAgEEfyAAQgA3AhAgAAJ/QQAgAUGA +AkkNABpBHyABQf///wdLDQAaIAFBBiABQQh2ZyIDa3ZBAXEgA0EBdGtBPmoLIgI2AhwgAkECdEHog8EAaiEEQQEgAnQiA0GEh8EA +KAIAcUUEQCAEIAA2AgAgACAENgIYIAAgADYCDCAAIAA2AghBhIfBAEGEh8EAKAIAIANyNgIADwsCQAJAIAEgBCgCACIDKAIEQXhx +RgRAIAMhAgwBCyABQRkgAkEBdmtBACACQR9HG3QhBQNAIAMgBUEddkEEcWpBEGoiBCgCACICRQ0CIAVBAXQhBSACIQMgAigCBEF4 +cSABRw0ACwsgAigCCCIBIAA2AgwgAiAANgIIIABBADYCGCAAIAI2AgwgACABNgIIDwsgBCAANgIAIAAgAzYCGCAAIAA2AgwgACAA +NgIIC/oCAgF/AX4jAEHgAWsiAiQAIAIgASkDADcDQCAC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gUgAyAFSxsiAyADQQRNGyIFrUIUfiIIQiCIUEUEQEEAQQAgARCxAQALAkAgCKciB0H8////B00EQEEAIQMgAiAE +BH8gAiAEQRRsNgIcIAIgACgCBDYCFEEEBSADCzYCGCACQQhqQQQgByACQRRqEHMgAigCCEEBRw0BIAIoAgwhBiACKAIQIQMLIAYg +AyABELEBAAsgAigCDCEBIAAgBTYCACAAIAE2AgQgAkEgaiQAC94BAQR/IwBBEGsiAyQAIAAoAgwhAQJAAn8CQAJAAkACQAJAIAAo +AgQOAgABAgsgAQ0BQQEhAUEAIQBBASECDAMLIAFFDQELIANBBGogABBHIAMoAgQhACADKAIIIQIgAygCDAwCCyAAKAIAIgEoAgQi +AEEASA0CIAEoAgAhASAARQRAQQEhAkEAIQAMAQtB+YLBAC0AABpBASEEIABBARC+ASICRQ0CCyACIAEgABA1GiAACyEBIAIgARC0 +ASAABEAgAiAAEMoBCyADQRBqJAAPCyAEIABBlIvAABCxAQAL0AEBBX8jAEEgayIBJAAgACgCACIDQQFqIgIgA0EBdCIEIAIgBEsb +IgJB/////wBLBEBBAEEAQbiQwAAQsQEACwJAQQQgAiACQQRNGyICQQR0IgRB/P///wdNBH8gASADBH8gASADQQR0NgIcIAEgACgC +BDYCFEEEBUEACzYCGCABQQhqQQQgBCABQRRqEHMgASgCCEEBRw0BIAEoAhAhBSABKAIMBUEACyAFQbiQwAAQsQEACyABKAIMIQMg +ACACNgIAIAAgAzYCBCABQSBqJAAL8gEBAn8jAEEwayICJAACQCAAKQMAQv///////////wCDQoCAgICAgID4/wBaBEAgAkEBNgIU +IAJBvMHAADYCECACQgE3AhwgAiAArUKAgICAwAiENwMoIAIgAkEoajYCGCABKAIcIAEoAiAgAkEQahA4IQMMAQsgAkEAOgAMIAIg +ATYCCEEBIQMgAkEBNgIUIAJBvMHAADYCECACQgE3AhwgAiAArUKAgICAwAiENwMoIAIgAkEoajYCGCACQQhqQaS/wAAgAkEQahA4 +DQAgAi0ADEUEQCABQcTBwABBAhC6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AAQ +nQEACyAAQTBqJAALnAICA38BfiMAQRBrIgEkACABQaiDwQA2AgQgAEGwg8EALQAAQQNHBH8gASABQQRqNgIIIAEgAUEIajYCDCAB +QQxqIQIjAEEgayIAJAACQAJAAkACQAJAAkACQEGwg8EALQAAQQFrDgMCBAEAC0Gwg8EAQQI6AAAgAigCACIDKAIAIQIgA0EANgIA +IAJFDQIgAigCAEKACDcDAEGwg8EAQQM6AAALIABBIGokAAwECyAAQQA2AhggAEEBNgIMIABBqLDAADYCCAwCC0HoscAAENEBAAsg +AEEANgIYIABBATYCDCAAQeiwwAA2AggLIABCBDcCECAAQQhqQeyvwAAQnQEACyABKAIEBUGog8EACykDABCuASABQRBqJABQC14B +AX8jAEEwayICJAAgAiABNgIMIAIgADYCCCACQQI2AhQgAkHojMAANgIQIAJCATcCHCACIAJBCGqtQoCAgICwAYQ3AyggAiACQShq +NgIYIAJBEGoQZCACQTBqJAALXgEBfyMAQTBrIgIkACACIAE2AgwgAiAANgIIIAJBAjYCFCACQYyNwAA2AhAgAkIBNwIcIAIgAkEI +aq1CgICAgLABhDcDKCACIAJBKGo2AhggAkEQahBkIAJBMGokAAtbAQF/IAEoAgAiBEEBcQRAIAAgASAEIARBfnEgAiADEG0PCyAE +IAQoAggiAUEBajYCCCABQQBOBEAgACAENgIMIAAgAzYCCCAAIAI2AgQgAEG8uMAANgIADwsAC2MBAX9BACEBAkAgA0EATgRAIANF +BEBBASEEDAILQfmCwQAtAAAaQQEhASADQQEQvgEiBA0BCyABIANBpLbAABCxAQALIAQgAiADEDUhASAAIAM2AgggACABNgIEIAAg +AzYCAAtYAQF/IAEoAgAiBEEBcQRAIAAgASAEIAQgAiADEG0PCyAEIAQoAggiAUEBajYCCCABQQBOBEAgACAENgIMIAAgAzYCCCAA +IAI2AgQgAEG8uMAANgIADwsAC1gBAX8jAEEgayIDJAAgA0EYaiACQRhqKQAANwMAIANBEGogAkEQaikAADcDACADQQhqIAJBCGop +AAA3AwAgAyACKQAANwMAIAAgAyABQSAQMiADQSBqJAALTgAjAEEgayIAJAAgAEEBNgIEIABB4L7AADYCACAAQgE3AgwgAELIvsCA +wAc3AxggACAAQRhqNgIIIAEoAhwgASgCICAAEDggAEEgaiQAC00BAX8jAEEwayIBJAAgAUEBNgIMIAFBsOTAADYCCCABQgE3AhQg +ASABQS9qrUKAgICAgAyENwMgIAEgAUEgajYCECABQQhqIAAQnQEAC0MAIAEoAgAiAUEBcQRAIAFBfnEgAiADEOUBIQEgACADNgII +IAAgATYCBCAAIAIgA2ogAWs2AgAPCyAAIAEgAiADEF4LOgEBfyMAQSBrIgAkACAAQQA2AhggAEEBNgIMIABBtMrAADYCCCAAQgQ3 +AhAgAEEIakHoysAAEJ0BAAtFAQF/IAIgACgCACAAKAIIIgNrSwRAIAAgAyACQQFBARBYIAAoAgghAwsgACgCBCADaiABIAIQNRog +ACACIANqNgIIQQALQQEBfyACIAAoAgAgACgCCCIDa0sEQCAAIAMgAhBgIAAoAgghAwsgACgCBCADaiABIAIQNRogACACIANqNgII +QQALQAAgASgCACIBQQFxBEAgASACIAMQ5QEhASAAIAM2AgggACABNgIEIAAgAiADaiABazYCAA8LIAAgASACIAMQXgtCAQF/IAAo +AgAiACgCMCIBBEAgACgCNCABEMoBCwJAIABBf0YNACAAIAAoAgRBAWsiATYCBCABDQAgAEHIABDKAQsLTwECf0H5gsEALQAAGiAB +KAIEIQIgASgCACEDQQhBBBC+ASIBRQRAQQRBCBDjAQALIAEgAjYCBCABIAM2AgAgAEHQycAANgIEIAAgATYCAAtBAQF/IAIgACgC +ACAAKAIIIgNrSwRAIAAgAyACEGcgACgCCCEDCyAAKAIEIANqIAEgAhA1GiAAIAIgA2o2AghBAAtCAQF/IwBBIGsiAyQAIANBADYC +ECADQQE2AgQgA0IENwIIIAMgATYCHCADIAA2AhggAyADQRhqNgIAIAMgAhCdAQALQAEBfyABKAIAIgEgASgCCCIEQQFqNgIIIARB +AEgEQAALIAAgATYCDCAAIAM2AgggACACNgIEIABBvLjAADYCAAs8ACAAIAEpAAA3AAAgAEEYaiABQRhqKQAANwAAIABBEGogAUEQ +aikAADcAACAAQQhqIAFBCGopAAA3AAALjgIBA38gACgCACECIAEoAhQiAEEQcUUEQCAAQSBxRQRAIAIgARDQAQ8LQQAhACMAQYAB +ayIEJAAgAigCACECA0AgACAEakH/AGogAkEPcSIDQTByIANBN2ogA0EKSRs6AAAgAEEBayEAIAJBD0sgAkEEdiECDQALIAFBAUHc +5sAAQQIgACAEakGAAWpBACAAaxAwIARBgAFqJAAPC0EAIQAjAEGAAWsiBCQAIAIoAgAhAgNAIAAgBGpB/wBqIAJBD3EiA0EwciAD +QdcAaiADQQpJGzoAACAAQQFrIQAgAkEPSyACQQR2IQINAAsgAUEBQdzmwABBAiAAIARqQYABakEAIABrEDAgBEGAAWokAAvgcwMj +fxp+AXwgASgCFEEBcSECIAArAwAhPwJAIAEoAghBAUYEQAJ/IAEhCCABKAIMIRNBACEAIwBB8AhrIgkkACA/vSEnAn9BAyA/mUQA +AAAAAADwf2ENABpBAiAnQoCAgICAgID4/wCDIiZCgICAgICAgPj/AFENABogJ0L/////////B4MiKUKAgICAgICACIQgJ0IBhkL+ +////////D4MgJ0I0iKdB/w9xIgEbIiVCAYMhKCAmUARAQQQgKVANARogAUGzCGshAEIBISYgKFAMAQtCgICAgICAgCAgJUIBhiAl +QoCAgICAgIAIUSIAGyElQgJCASAAGyEmQct3Qcx3IAAbIAFqIQAgKFALIQEgCSAAOwHoCCAJICY3A+AIIAlCATcD2AggCSAlNwPQ +CCAJIAE6AOoIAkACfwJAAkACQAJAIAFBAmsiAwRAQQEhAUG748AAQbzjwAAgJ0IAUyIGG0G748AAQQEgBhsgAhshGSAnQj+IpyAC +ciEcQQMgAyADQQNPG0ECaw4CAgMBCyAJQQM2ApgIIAlBvePAADYClAggCUECOwGQCEEBIRlBASEBIAlBkAhqDAQLIAlBAzYCmAgg +CUHA48AANgKUCCAJQQI7AZAIIAlBkAhqDAMLQQIhASAJQQI7AZAII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LDQELIBgg +DzsBCCAYIAY2AgQgGCALNgIAIAVBwAZqJAAMBgsgBiAHQbDTwAAQzgEACyAEQShBlPjAABDOAQALQShBKEGU+MAAEH0ACyABQShB +lPjAABDOAQALQaT4wABBGkGU+MAAEJABAAsgCUHICGogCUGYCGooAgA2AgAgCSAJKQKQCDcDwAgLIBQgCS4ByAgiAEgEQCAJQQhq +IAkoAsAIIAkoAsQIIAAgEyAJQZAIahBRIAkoAgwhASAJKAIIDAMLQQIhASAJQQI7AZAIIBNFBEBBASEBIAlBATYCmAggCUHD48AA +NgKUCCAJQZAIagwDCyAJIBM2AqAIIAlBADsBnAggCUECNgKYCCAJQbnjwAA2ApQIIAlBkAhqDAILQcTjwABBJUHs48AAEJABAAtB +ASEBIAlBATYCmAggCUHD48AANgKUCCAJQZAIagshACAJIAE2AswIIAkgADYCyAggCSAcNgLECCAJIBk2AsAIIAggCUHACGoQOSAJ +QfAIaiQADAELIABBKEGU+MAAEM4BAAsPCwJ/IAEhEUEAIQBBACEBIwBBgAFrIgQkACA/vSEmAn9BAyA/mUQAAAAAAADwf2ENABpB +AiAmQoCAgICAgID4/wCDIidCgICAgICAgPj/AFENABogJkL/////////B4MiKUKAgICAgICACIQgJkIBhkL+////////D4MgJkI0 +iKdB/w9xIgAbIiVCAYMhKCAnUARAQQQgKVANARogAEGzCGshAEIBIScgKFAMAQtCgICAgICAgCAgJUIBhiAlQoCAgICAgIAIUSID +GyElQgJCASADGyEnQct3Qcx3IAMbIABqIQAgKFALIQMgBCAAOwF4IAQgJzcDcCAEQgE3A2ggBCAlNwNgIAQgAzoAegJAAn8CQAJA +AkAgA0ECayIDBEBBASEAQbvjwABBvOPAACAmQgBTIgYbQbvjwABBASAGGyACGyEYQQEgJkI/iKcgAhshGUEDIAMgA0EDTxtBAmsO +AgMCAQsgBEEDNgIoIARBvePAADYCJCAEQQI7ASBBASEYQQEhACAEQSBqDAMLIARBAzYCKCAEQcDjwAA2AiQgBEECOwEgIARBIGoM +AgsgBEEgaiEGIARBD2oiDiEIIwBBMGsiAyQAAkACQAJ/AkACQAJAAkACQAJAAkACQCAEQeAAaiIMIgApAwAiJVBFBEAgACkDCCIn +UA0BIAApAxAiJlANAiAlICZ8IiYgJVQNAyAlICdUDQQgJkKAgICAgICAgCBaDQUgAyAALwEYIgA7AQggAyAlICd9Iic3AwAgACAA +QSBrIAAgJkKAgICAEFQiAhsiC0EQayALICZCIIYgJiACGyImQoCAgICAgMAAVCICGyILQQhrIAsgJkIQhiAmIAIbIiZCgICAgICA +gIABVCICGyILQQRrIAsgJkIIhiAmIAIbIiZCgICAgICAgIAQVCICGyILQQJrIAsgJkIEhiAmIAIbIiZCgICAgICAgIDAAFQiAhsg +JkIChiAmIAIbIihCAFkiC2siAmvBIglBAEgNBiADQn8gCa0iKYgiJiAngzcDECAmICdUDQogAyAAOwEIIAMgJTcDACADICUgJoM3 +AxAgJSAmVg0KQaB/IAJrwUHQAGxBsKcFakHOEG0iAEHRAE8NByAAQQR0IgBBgNTAAGopAwAiKkL/////D4MiJiAlIClCP4MiJYYi +K0IgiCI1fiIsQiCIIjEgKkIgiCIpIDV+IjJ8ICkgK0L/////D4MiKn4iK0IgiCI2fCEzICxC/////w+DICYgKn5CIIh8ICtC//// +/w+DfCI3QoCAgIAIfEIgiCErQgFBACACIABBiNTAAGovAQBqa0E/ca0iLIYiKkIBfSEuICYgJyAlhiIlQiCIIid+Ii1C/////w+D +ICYgJUL/////D4MiJX5CIIh8ICUgKX4iJUL/////D4N8Ij5CgICAgAh8QiCIITQgJyApfiE4ICVCIIghOSAtQiCIITogAEGK1MAA +ai8BACEJICkgKCALrYYiJUIgiCI7fiI8ICYgO34iJ0IgiCIvfCApICVC/////w+DIiV+IihCIIgiMHwgJ0L/////D4MgJSAmfkIg +iHwgKEL/////D4N8Ij1CgICAgAh8QiCIfEIBfCItICyIpyIAQZDOAE8EQCAAQcCEPUkNCSAAQYDC1y9PBEBBCEEJIABBgJTr3ANJ +IgIbIQtBgMLXL0GAl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DQALQdDfwAAQlwEACyABIAhqQQFrIQsgKiAxIDZ8IDdCgICAgAh8QiCIfCAyfEIKfiAvIDB8ID1CgICAgAh8 +QiCIfCA8fEIKfn0gKH58IS0gKUIKfiAmICp8fSEuICwgJn0hL0IAISkDQCAmICp8IiUgLFQgKSAvfCAmIC18WnJFBEBBACEADAUL +IAsgAkEBayICOgAAICkgLnwiMCAqVCEAICUgLFoNBSApICp9ISkgJSEmICogMFgNAAsMBAtBEUERQeDfwAAQfQALIAFBEUHw38AA +EH0ACwJAICUgKlogAnINACAqICUgKHwiJlggKiAlfSAmICp9VHENACAGQQA2AgAMBAsgJSA0QgN9WCAlQgJacUUEQCAGQQA2AgAM +BAsgBiAJOwEIIAYgAUEBajYCBAwCCyAmISULAkAgJSArWiAAcg0AICsgJSAqfCImWCArICV9ICYgK31UcQ0AIAZBADYCAAwCCyAl +IChCWH4gJ3xYICUgKEIUflpxRQRAIAZBADYCAAwCCyAGIAk7AQggBiABNgIECyAGIAg2AgALIANBMGokAAwBCyADQQA2AhgjAEEQ +ayIAJAAgACADNgIMIAAgA0EQajYCCCAAQQhqQajlwAAgAEEMakGo5cAAIANBGGpB/M3AABBLAAsCQCAEKAIgRQRAIARB0ABqIRAj +AEGgCmsiASQAAkACQAJAAkAgAQJ/AkACQAJAAkACQAJAIAwpAwAiJVBFBEAgDCkDCCInUA0BIAwpAxAiJlANAiAlICZ8IiggJVQN +AyAlICdUDQQgDCwAGiETIAwuARghACABICU+AgAgAUEBQQIgJUKAgICAEFQiAhs2AqABIAFBACAlQiCIpyACGzYCBCABQQhqQQBB +mAEQQxogASAnPgKkASABQQFBAiAnQoCAgIAQVCICGzYCxAIgAUEAICdCIIinIAIbNgKoASABQawBakEAQZgBEEMaIAEgJj4CyAIg +AUEBQQIgJkKAgICAEFQiAhs2AugDIAFBACAmQiCIpyACGzYCzAIgAUHQAmpBAEGYARBDGiABQfADakEAQZwBEEMaIAFBATYC7AMg +AUEBNgKMBSAArCAoQgF9eX1CwprB6AR+QoChzaC0AnxCIIinIgLBIQ0CQCAAQQBOBEAgASAAED8aIAFBpAFqIAAQPxogAUHIAmog +ABA/GgwBCyABQewDakEAIABrwRA/GgsCQCANQQBIBEAgAUEAIA1rQf//A3EiABApIAFBpAFqIAAQKSABQcgCaiAAECkMAQsgAUHs +A2ogAkH//wFxECkLIAEoAqABIQMgAUH8CGogAUGgARA1GiABIAM2ApwKIAEoAugDIgsgAyADIAtJGyICQShLDRIgAkUEQEEAIQIM +BwsgAkEBcSEJIAJBAUYNBSACQT5xIQogAUH8CGohACABQcgCaiEIA0AgACAFIAAoAgAiDyAIKAIAaiIGaiIFNgIAIABBBGoiDCAM +KAIAIhQgCEEEaigCAGoiDCAFIAZJIAYgD0lyaiIGNgIAIAYgDEkgDCAUSXIhBSAIQQhqIQggAEEIaiEAIAogB0ECaiIHRw0ACwwF +C0HXz8AAQRxB9M/AABCQAQALQYTQwABBHUGk0MAAEJABAAtBtNDAAEEcQdDQwAAQkAEAC0GY0sAAQTZB0NLAABCQAQALQdDRwABB +N0GI0sAAEJABAAsgCQR/IAdBAnQiACABQfwIamoiBiAGKAIAIgYgAUHIAmogAGooAgBqIgAgBWoiBzYCACAAIAZJIAAgB0tyBSAF +C0UNACACQShGDQMgAUH8CGogAkECdGpBATYCACACQQFqIQILIAEgAjYCnAogAiABKAKMBSIHIAIgB0sbIgBBKU8NAyAAQQJ0IQAC +QANAIAAEQEF/IABBBGsiACABQfwIamooAgAiAiAAIAFB7ANqaigCACIGRyACIAZLGyIIRQ0BDAILC0F/QQAgABshCAsgCCATSARA +IA1BAWohDQwCCwJAIANFBEBBACEDDAELIANBAWtB/////wNxIgBBAWoiAkEDcSEIAkAgAEEDSQRAIAEhAEIAISUMAQsgAkH8//// +B3EhBSABIQBCACElA0AgACAANQIAQgp+ICV8IiU+AgAgAEEEaiICIAI1AgBCCn4gJUIgiHwiJT4CACAAQQhqIgIgAjUCAEIKfiAl +QiCIfCIlPgIAIABBDGoiAiACNQIAQgp+ICVCIIh8Iic+AgAgJ0IgiCElIABBEGohACAFQQRrIgUNAAsLIAgEQANAIAAgADUCAEIK +fiAlfCInPgIAIABBBGohACAnQiCIISUgCEEBayIIDQALCyAnQoCAgIAQVA0AIANBKEYNAyABIANBAnRqICU+AgAgA0EBaiEDCyAB +IAM2AqABAkAgASgCxAIiBkEpSQRAQQAhAkEAIAZFDQIaIAZBAWtB/////wNxIgBBAWoiA0EDcSEIIABBA0kEQCABQaQBaiEAQgAh +JQwCCyADQfz///8HcSEFIAFBpAFqIQBCACElA0AgACAANQIAQgp+ICV8IiU+AgAgAEEEaiIDIAM1AgBCCn4gJUIgiHwiJT4CACAA +QQhqIgMgAzUCAEIKfiAlQiCIfCIlPgIAIABBDGoiAyADNQIAQgp+ICVCIIh8Iic+AgAgJ0IgiCElIABBEGohACAFQQRrIgUNAAsM +AQsMCgsgCARAA0AgACAANQIAQgp+ICV8Iic+AgAgAEEEaiEAICdCIIghJSAIQQFrIggNAAsLIAYgJ0KAgICAEFQNABogBkEoRg0C +IAFBpAFqIAZBAnRqICU+AgAgBkEBags2AsQCAkAgC0UNACALQQFrQf////8DcSIAQQFqIgJBA3EhCAJAIABBA0kEQCABQcgCaiEA +QgAhJQwBCyACQfz///8HcSEFIAFByAJqIQBCACElA0AgACAANQIAQgp+ICV8IiU+AgAgAEEEaiICIAI1AgBCCn4gJUIgiHwiJT4C +ACAAQQhqIgIgAjUCAEIKfiAlQiCIfCIlPgIAIABBDGoiAiACNQIAQgp+ICVCIIh8Iic+AgAgJ0IgiCElIABBEGohACAFQQRrIgUN +AAsLIAgEQANAIAAgADUCAEIKfiAlfCInPgIAIABBBGohACAnQiCIISUgCEEBayIIDQALCyAnQoCAgIAQVARAIAshAgwBCyALQShG +DQIgAUHIAmogC0ECdGogJT4CACALQQFqIQILIAEgAjYC6AMLIAFBkAVqIgIgAUHsA2oiAEGgARA1GiABIAc2ArAGIAJBARA/IRwg +ASgCjAUhAiABQbQGaiIDIABBoAEQNRogASACNgL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yAEKAIYIAlBDGxqIgMgCDYCCCADIA42AgQgAyAINgIA +IAQgCUEBajYCHCALIABBBGoiAEcNAAsgAiABQQJ0EMoBIAQoAhghAyAEKAIUIgAgBCgCHCIBSw0BIAMhAAwHCyADRQ0CIANBDGwh +AiAAIQMMAQsgAEEMbCECIAENAgtBBCEAIAMgAhDKAQtBACEBDAMLIAMgAkEEIAFBDGwiAxC2ASIADQJBBCADQczCwAAQsQEACyAD +IAVBvMLAABCxAQALQezCwABBKBDcAQALIAogATYCBCAKIAA2AgAgBEEgaiQAIAogCigCBCIANgIQIAogCigCADYCDCAKIAA2Aggg +CkEUaiEPIwBB0ABrIgMkACADIApBCGoiACgCADYCFCADIAAoAgQiATYCECADIAE2AgwgAyABIAAoAghBDGxqNgIYIwBB4AFrIgIk +ACADQQxqIgEoAgghBiABKAIAIQ4gASgCBCIEIQACQAJAAkACfwJAAkACQCAEIAEoAgwiB0YiBUUEQCAEKAIAIQAgAkG4AWogBCgC +BCIBIAQoAggQNCAABEAgASAAEMoBCyAEQQxqIQAgAigCuAFBAXFFDQELIAcgAGtBDG4hASAAIAdHBEADQCAAKAIAIggEQCAAQQRq +KAIAIAgQygELIABBDGohACABQQFrIgENAAsLIAZFDQEgDiAGQQxsEMoBIAUNAgwFCyACQTBqIgEgAkHYAWopAwA3AwAgAkEoaiIE +IAJB0AFqKQMANwMAIAJBIGoiCCACQcgBaikDADcDACACIAIpA8ABNwMYQfmCwQAtAAAaQYABQQgQvgEiBUUNAyAFIAIpAxg3AwAg +BUEYaiABKQMANwMAIAVBEGogBCkDADcDACAFQQhqIAgpAwA3AwBBASEEIAJBATYCFCACIAU2AhAgAkEENgIMAn8CQCAAIAdGBEAg +ACEBDAELIAJBwAFqIQlBICEIA0AgACgCACEBIAJBuAFqIAAoAgQiCyAAKAIIEDQgAQRAIAsgARDKAQsgAEEMaiEBQQEgAigCuAFB +AXENAhogAkHgAGogCUEIaikDACIdNwMAIAJB0ABqIgwgCUEYaikDADcDACACQcgA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BCADKAIIIAMoAgwgA0EQaiQAC5gDAQl/IwBBEGsiAiQA +EEgiAyAAJgEjAEEQayIGJAAgBkEEaiEEIwBB4ABrIgEkACABQUBrIAMQQiABKAJEIQMCQCABKAJAIghBgICAgHhHBEACQCABKAJI +IgdFBEAgAUEYakIANwMAIAFBEGpCADcDACABQQhqQgA3AwAgAUIANwMADAELIAFBIGoiCSADIAcQLSABQUBrIgdB1IbAABCSASAB +IAkgBxCFAQsgBCABEFYgCEUNASADIAhBKGwQygEMAQsgBEGAgICAeDYCACAEIAM2AgQLIAFB4ABqJAACQAJAIAICfyAGKAIEIgNB +gICAgHhGBEAgBigCCCEBQQAhBEEBDAELIAYoAgghAQJAIAYoAgwiBCADTwRAIAEhBQwBCyAERQRAQQEhBSABIAMQygEMAQsgASAD +QQEgBBC2ASIFRQ0CC0EAIQFBAAs2AgwgAiABNgIIIAIgBDYCBCACIAU2AgAgBkEQaiQADAELQQEgBEGQgsAAELEBAAsgAigCACAC +KAIEIAIoAgggAigCDCACQRBqJAAL+gECAn8BfiMAQRBrIgIkACACQQE7AQwgAiABNgIIIAIgADYCBCMAQRBrIgEkACACQQRqIgAp +AgAhBCABIAA2AgwgASAENwIEIwBBEGsiACQAIAFBBGoiASgCACICKAIMIQMCQAJAAkACQCACKAIEDgIAAQILIAMNAUEBIQJBACED +DAILIAMNACACKAIAIgIoAgQhAyACKAIAIQIMAQsgAEGAgICAeDYCACAAIAE2AgwgAEH8ycAAIAEoAgQgASgCCCIALQAIIAAtAAkQ +agALIAAgAzYCBCAAIAI2AgAgAEHgycAAIAEoAgQgASgCCCIALQAIIAAtAAkQagALmwYBCn8jAEEQayIGJAAjAEEgayIFJAACQAJA +AkAgAARAIABBCGsiByAHKAIAQQFqIgM2AgAgA0UNASAAKAIADQIgAEF/NgIAIAUgBzYCHCAFIAA2AhggBSAAQQhqIgM2AhQgBUEI +aiEJIwBBkAFrIgEkACABQQA2AhQgAUKAgICAwAA3AgwjAEFAaiICJAAgAkEIaiADQQFBAEEBEC4gAUEYaiIEQShqIAJBMGopAwA3 +AwAgBEEgaiACQShqKQMANwMAIARBGGogAkEgaikDADcDACAEQRBqIAJBGGopAwA3AwAgBEEIaiACQRBqKQMANwMAIAQgAikDCDcD +ACACQUBrJAAgASgCGARAIAFB8ABqIAFBQGspAwA3AwAgAUHoAGogAUE4aikDADcDACABQeAAaiABQTBqKQMANwMAIAFB2ABqIgIg +AUEoaikDADcDACABQdAAaiIEIAFBIGopAwA3AwAgASABKQMYNwNIIAIQfyEIIAFB/ABqIAIQViABIAg6AIwBIAEgBCgCACICNgKI +ASABQdQAaiABKAJMIAIgASgCSCgCEBEDACABKAIUIgIgASgCDEYEQCABQQxqQcSGwAAQYwsgASgCECACQRRsaiIEIAEpAnw3AgAg +BEEIaiABQYQBaikCADcCACAEQRBqIAFBjAFqKAIANgIAIANBAToAMCABIAJBAWo2AhQLIAFBADYCGCABIAFBGGogAUEMahBhIAEo +AgQhBCABKAIAIQggASgCFCICBEAgASgCECEDA0AgAygCACIKBEAgA0EEaigCACAKEMoBCyADQRRqIQMgAkEBayICDQALCyABKAIM +IgMEQCABKAIQIANBFGwQygELIAkgBDYCBCAJIAg2AgAgAUGQAWokACAFKAIMIQMgBSgCCCEBIABBADYCACAHIAcoAgBBAWsiADYC +ACAARQRAIAVBHGoQjQELIAYgATYCCCAGIANBACABQQFxIgAbNgIEIAZBACADIAAbNgIAIAVBIGokAAwDCxDdAQsACxDeAQALIAYo +AgAgBigCBCAGKAIIIAZBEGokAAshAAJAIAEgAxCiAQRAIAAgASADIAIQtgEiAA0BCwALIAALJQAgAEUEQEGAtcAAQTIQ3AEACyAA +IAIgAyAEIAUgASgCEBESAAsgAQF/QQEhASAAKAIAIgBBAXEEfyABBSAAKAIIQQFGCwsZAQF/QYCAgIB4IAFrIABPIAIgAWlBAUYb +Cx8BAn4gACkDACICIAJCP4ciA4UgA30gAkIAWSABEEkLIwAgAEUEQEGAtcAAQTIQ3AEACyAAIAIgAyAEIAEoAh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BBMGsiAyQAIAMgATYCBCADIAA2AgAgA0ECNgIMIANBsPrAADYCCCADQgI3AhQgAyADQQRqrUKAgICAoAmE +NwMoIAMgA61CgICAgKAJhDcDICADIANBIGo2AhAgA0EIaiACEJ0BAAtrAQF/IwBBMGsiAyQAIAMgATYCBCADIAA2AgAgA0ECNgIM +IANB5PrAADYCCCADQgI3AhQgAyADQQRqrUKAgICAoAmENwMoIAMgA61CgICAgKAJhDcDICADIANBIGo2AhAgA0EIaiACEJ0BAAsL +ACAAKAIAIAEQTAsPAEG45MAAQSsgABCQAQALDQAgACkDAEEBIAEQSQsOACABQYCFwABBBRC6AQsOACABQbyFwABBEBC6AQsOACAB +QaSLwABBBRC6AQsOACABQbiPwABBChC6AQsMACAAKAIAIAEQ0gEL8QMBAX8gACgCACECIwBBkAJrIgAkACAAIAIpAwA3A3AgACAC +KQMINwN4IAAgAikDEDcDgAEgACAAQYgBaq1CgICAgKAHhDcDaCAAIABBgAFqrUKAgICAoAeENwNgIAAgAEH4AGqtQoCAgICgB4Q3 +A1ggACAAQfAAaq1CgICAgKAHhDcDUCAAIAIpAxg3A4gBIABBAzoAjAIgAEEINgKIAiAAQqCAgIAwNwKAAiAAQoCAgICAAjcC+AEg +AEECNgLwASAAQQM6AOwBIABBCDYC6AEgAEKggICAIDcC4AEgAEKAgICAgAI3AtgBIABBAjYC0AEgAEEDOgDMASAAQQg2AsgBIABC +oICAgBA3AsABIABCgICAgIACNwK4ASAAQQI2ArABIABBAzoArAEgAEEINgKoASAAQiA3AqABIABCgICAgIACNwKYASAAQQI2ApAB +IABBBDYCTCAAQQQ2AjwgAEHkusAANgI4IABBBDYCRCAAIABBkAFqNgJIIAAgAEHQAGo2AkAgAEEsaiICIABBOGoQRyAAIAKtQoCA +gICwB4Q3AyAgAEEBNgIMIABB9LvAADYCCCAAQgE3AhQgACAAQSBqNgIQIAEoAhwgASgCICAAQQhqEDggACgCLCICBEAgACgCMCAC +EMoBCyAAQZACaiQACw0AIABBiJLAACABEDgLDgAgAUG0tsAAQQsQugELDQAgAEGkv8AAIAEQOAsJACAAIAEQJAALDQBBgMXAAEEb +ENwBAAsOAEGbxcAAQc8AENwBAAsNACAAQaTHwAAgARA4CwwAIAAgASkCADcDAAsNACAAQYDLwAAgARA4Cw4AIAFB+MrAAEEFELoB +CxoAIAAgAUHUg8EAKAIAIgBBywAgABsRAgAACwoAIAIgACABEDELxgkBCH8CQAJAIAIiBSAAIgcgAWtLBEAgASACaiEAIAIgB2oh +AiAFQRBJDQFBACACQQNxIgZrIQkCQCACQXxxIgMgAk8NACAGQQFrAkAgBkUEQCAAIQQMAQsgBiEIIAAhBANAIAJBAWsiAiAEQQFr +IgQtAAA6AAAgCEEBayIIDQALC0EDSQ0AIARBBGshBANAIAJBAWsgBEEDai0AADoAACACQQJrIARBAmotAAA6AAAgAkEDayAEQQFq +LQAAOgAAIAJBBGsiAiAELQAAOgAAIARBBGshBCACIANLDQALCyADIAUgBmsiBEF8cSIFayECQQAgBWshBgJAIAAgCWoiAEEDcUUE +QCACIANPDQEgASAEakEEayEBA0AgA0EEayIDIAEoAgA2AgAgAUEEayEBIAIgA0kNAAsMAQsgAiADTw0AIABBA3QiBUEYcSEIIABB +fHEiCUEEayEBQQAgBWtBGHEhCiAJKAIAIQUDQCADQQRrIgMgBSAKdCABKAIAIgUgCHZyNgIAIAFBBGshASACIANJDQALCyAEQQNx +IQUgACAGaiEADAELAkAgBUEQSQRAIAchAgwBCwJAIAdBACAHa0EDcSIGaiIEIAdNDQAgByECIAEhAyAGBEAgBiEAA0AgAiADLQAA +OgAAIANBAWohAyACQQFqIQIgAEEBayIADQALCyAGQQFrQQdJDQADQCACIAMtAAA6AAAgAkEBaiADQQFqLQAAOgAAIAJBAmogA0EC +ai0AADoAACACQQNqIANBA2otAAA6AAAgAkEEaiADQQRqLQAAOgAAIAJBBWogA0EFai0AADoAACACQQZqIANBBmotAAA6AAAgAkEH +aiADQQdqLQAAOgAAIANBCGohAyACQQhqIgIgBEcNAAs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jggMjAyNS0wMy0zMSkGd2FscnVzBjAuMjMuMwx3YXNtLWJpbmRn +ZW4HMC4yLjEwMABJD3RhcmdldF9mZWF0dXJlcwQrD211dGFibGUtZ2xvYmFscysIc2lnbi1leHQrD3JlZmVyZW5jZS10eXBlcysK +bXVsdGl2YWx1ZQ== +`.trim().replaceAll("\n", "") + ); + wasmBinary = new Uint8Array(wasmBase64.length); + for (let i = 0; i < wasmBase64.length; i++) { + wasmBinary[i] = wasmBase64.charCodeAt(i); + } + } +}); + +// src/vendor/xet-chunk/chunker_wasm.ts +var chunker_wasm_exports = {}; +__export(chunker_wasm_exports, { + Chunker: () => Chunker, + compute_file_hash: () => compute_file_hash, + compute_hmac: () => compute_hmac, + compute_verification_hash: () => compute_verification_hash, + compute_xorb_hash: () => compute_xorb_hash, + init: () => init +}); +async function init() { + if (initPromise) { + return initPromise; + } + let resolve3; + let reject; + initPromise = new Promise((_resolve, _reject) => { + resolve3 = _resolve; + reject = _reject; + }); + await Promise.resolve(); + try { + const wasmModule2 = await WebAssembly.compile(wasmBinary); + const imports = Object.entries( + WebAssembly.Module.imports(wasmModule2).reduce( + (result, item) => ({ + ...result, + // @ts-expect-error ok for any type + [item.module]: [...result[item.module] || [], item.name] + }), + {} + ) + ).map(([from, names]) => ({ from, names })); + const wasm2 = await WebAssembly.instantiate(wasmModule2, { + "./hf_xet_thin_wasm_bg.js": Object.fromEntries( + // @ts-expect-error ok for any type + imports[0].names.map((name) => [name, chunker_wasm_bg_exports[name]]) + ) + }); + __wbg_set_wasm(wasm2.exports); + wasm2.exports.__wbindgen_start(); + resolve3(); + } catch (error) { + reject(error); + } +} +var initPromise; +var init_chunker_wasm = __esm({ + "src/vendor/xet-chunk/chunker_wasm.ts"() { + "use strict"; + init_chunker_wasm_bg(); + init_chunker_wasm_bg(); + init_chunker_wasm_bg_wasm_base64(); + init_chunker_wasm_bg(); + initPromise = null; + init(); + } +}); + +// node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/lib/eta.js +var require_eta = __commonJS({ + "node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/lib/eta.js"(exports, module2) { + var ETA = class { + constructor(length, initTime, initValue) { + this.etaBufferLength = length || 100; + this.valueBuffer = [initValue]; + this.timeBuffer = [initTime]; + this.eta = "0"; + } + // add new values to calculation buffer + update(time, value, total) { + this.valueBuffer.push(value); + this.timeBuffer.push(time); + this.calculate(total - value); + } + // fetch estimated time + getTime() { + return this.eta; + } + // eta calculation - request number of remaining events + calculate(remaining) { + const currentBufferSize = this.valueBuffer.length; + const buffer = Math.min(this.etaBufferLength, currentBufferSize); + const v_diff = this.valueBuffer[currentBufferSize - 1] - this.valueBuffer[currentBufferSize - buffer]; + const t_diff = this.timeBuffer[currentBufferSize - 1] - this.timeBuffer[currentBufferSize - buffer]; + const vt_rate = v_diff / t_diff; + this.valueBuffer = this.valueBuffer.slice(-this.etaBufferLength); + this.timeBuffer = this.timeBuffer.slice(-this.etaBufferLength); + const eta = Math.ceil(remaining / vt_rate / 1e3); + if (isNaN(eta)) { + this.eta = "NULL"; + } else if (!isFinite(eta)) { + this.eta = "INF"; + } else if (eta > 1e7) { + this.eta = "INF"; + } else if (eta < 0) { + this.eta = 0; + } else { + this.eta = eta; + } + } + }; + module2.exports = ETA; + } +}); + +// node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/lib/terminal.js +var require_terminal = __commonJS({ + "node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/lib/terminal.js"(exports, module2) { + var _readline = require("readline"); + var Terminal = class { + constructor(outputStream) { + this.stream = outputStream; + this.linewrap = true; + this.dy = 0; + } + // save cursor position + settings + cursorSave() { + if (!this.stream.isTTY) { + return; + } + this.stream.write("\x1B7"); + } + // restore last cursor position + settings + cursorRestore() { + if (!this.stream.isTTY) { + return; + } + this.stream.write("\x1B8"); + } + // show/hide cursor + cursor(enabled) { + if (!this.stream.isTTY) { + return; + } + if (enabled) { + this.stream.write("\x1B[?25h"); + } else { + this.stream.write("\x1B[?25l"); + } + } + // change cursor positionn + cursorTo(x = null, y = null) { + if (!this.stream.isTTY) { + return; + } + _readline.cursorTo(this.stream, x, y); + } + // change relative cursor position + cursorRelative(dx = null, dy = null) { + if (!this.stream.isTTY) { + return; + } + this.dy = this.dy + dy; + _readline.moveCursor(this.stream, dx, dy); + } + // relative reset + cursorRelativeReset() { + if (!this.stream.isTTY) { + return; + } + _readline.moveCursor(this.stream, 0, -this.dy); + _readline.cursorTo(this.stream, 0, null); + this.dy = 0; + } + // clear to the right from cursor + clearRight() { + if (!this.stream.isTTY) { + return; + } + _readline.clearLine(this.stream, 1); + } + // clear the full line + clearLine() { + if (!this.stream.isTTY) { + return; + } + _readline.clearLine(this.stream, 0); + } + // clear everyting beyond the current line + clearBottom() { + if (!this.stream.isTTY) { + return; + } + _readline.clearScreenDown(this.stream); + } + // add new line; increment counter + newline() { + this.stream.write("\n"); + this.dy++; + } + // write content to output stream + // @TODO use string-width to strip length + write(s, rawWrite = false) { + if (this.linewrap === true && rawWrite === false) { + this.stream.write(s.substr(0, this.getWidth())); + } else { + this.stream.write(s); + } + } + // control line wrapping + lineWrapping(enabled) { + if (!this.stream.isTTY) { + return; + } + this.linewrap = enabled; + if (enabled) { + this.stream.write("\x1B[?7h"); + } else { + this.stream.write("\x1B[?7l"); + } + } + // tty environment ? + isTTY() { + return this.stream.isTTY === true; + } + // get terminal width + getWidth() { + return this.stream.columns || (this.stream.isTTY ? 80 : 200); + } + }; + module2.exports = Terminal; + } +}); + +// node_modules/.pnpm/ansi-regex@5.0.1/node_modules/ansi-regex/index.js +var require_ansi_regex = __commonJS({ + "node_modules/.pnpm/ansi-regex@5.0.1/node_modules/ansi-regex/index.js"(exports, module2) { + "use strict"; + module2.exports = ({ onlyFirst = false } = {}) => { + const pattern = [ + "[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)", + "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))" + ].join("|"); + return new RegExp(pattern, onlyFirst ? void 0 : "g"); + }; + } +}); + +// node_modules/.pnpm/strip-ansi@6.0.1/node_modules/strip-ansi/index.js +var require_strip_ansi = __commonJS({ + "node_modules/.pnpm/strip-ansi@6.0.1/node_modules/strip-ansi/index.js"(exports, module2) { + "use strict"; + var ansiRegex = require_ansi_regex(); + module2.exports = (string) => typeof string === "string" ? string.replace(ansiRegex(), "") : string; + } +}); + +// node_modules/.pnpm/is-fullwidth-code-point@3.0.0/node_modules/is-fullwidth-code-point/index.js +var require_is_fullwidth_code_point = __commonJS({ + "node_modules/.pnpm/is-fullwidth-code-point@3.0.0/node_modules/is-fullwidth-code-point/index.js"(exports, module2) { + "use strict"; + var isFullwidthCodePoint = (codePoint) => { + if (Number.isNaN(codePoint)) { + return false; + } + if (codePoint >= 4352 && (codePoint <= 4447 || // Hangul Jamo + codePoint === 9001 || // LEFT-POINTING ANGLE BRACKET + codePoint === 9002 || // RIGHT-POINTING ANGLE BRACKET + // CJK Radicals Supplement .. Enclosed CJK Letters and Months + 11904 <= codePoint && codePoint <= 12871 && codePoint !== 12351 || // Enclosed CJK Letters and Months .. CJK Unified Ideographs Extension A + 12880 <= codePoint && codePoint <= 19903 || // CJK Unified Ideographs .. Yi Radicals + 19968 <= codePoint && codePoint <= 42182 || // Hangul Jamo Extended-A + 43360 <= codePoint && codePoint <= 43388 || // Hangul Syllables + 44032 <= codePoint && codePoint <= 55203 || // CJK Compatibility Ideographs + 63744 <= codePoint && codePoint <= 64255 || // Vertical Forms + 65040 <= codePoint && codePoint <= 65049 || // CJK Compatibility Forms .. Small Form Variants + 65072 <= codePoint && codePoint <= 65131 || // Halfwidth and Fullwidth Forms + 65281 <= codePoint && codePoint <= 65376 || 65504 <= codePoint && codePoint <= 65510 || // Kana Supplement + 110592 <= codePoint && codePoint <= 110593 || // Enclosed Ideographic Supplement + 127488 <= codePoint && codePoint <= 127569 || // CJK Unified Ideographs Extension B .. Tertiary Ideographic Plane + 131072 <= codePoint && codePoint <= 262141)) { + return true; + } + return false; + }; + module2.exports = isFullwidthCodePoint; + module2.exports.default = isFullwidthCodePoint; + } +}); + +// node_modules/.pnpm/emoji-regex@8.0.0/node_modules/emoji-regex/index.js +var require_emoji_regex = __commonJS({ + "node_modules/.pnpm/emoji-regex@8.0.0/node_modules/emoji-regex/index.js"(exports, module2) { + "use strict"; + module2.exports = function() { + return /\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\u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E6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-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\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g; + }; + } +}); + +// node_modules/.pnpm/string-width@4.2.3/node_modules/string-width/index.js +var require_string_width = __commonJS({ + "node_modules/.pnpm/string-width@4.2.3/node_modules/string-width/index.js"(exports, module2) { + "use strict"; + var stripAnsi = require_strip_ansi(); + var isFullwidthCodePoint = require_is_fullwidth_code_point(); + var emojiRegex = require_emoji_regex(); + var stringWidth = (string) => { + if (typeof string !== "string" || string.length === 0) { + return 0; + } + string = stripAnsi(string); + if (string.length === 0) { + return 0; + } + string = string.replace(emojiRegex(), " "); + let width = 0; + for (let i = 0; i < string.length; i++) { + const code = string.codePointAt(i); + if (code <= 31 || code >= 127 && code <= 159) { + continue; + } + if (code >= 768 && code <= 879) { + continue; + } + if (code > 65535) { + i++; + } + width += isFullwidthCodePoint(code) ? 2 : 1; + } + return width; + }; + module2.exports = stringWidth; + module2.exports.default = stringWidth; + } +}); + +// node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/lib/format-value.js +var require_format_value = __commonJS({ + "node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/lib/format-value.js"(exports, module2) { + module2.exports = function formatValue(v, options, type) { + if (options.autopadding !== true) { + return v; + } + function autopadding(value, length) { + return (options.autopaddingChar + value).slice(-length); + } + switch (type) { + case "percentage": + return autopadding(v, 3); + default: + return v; + } + }; + } +}); + +// node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/lib/format-bar.js +var require_format_bar = __commonJS({ + "node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/lib/format-bar.js"(exports, module2) { + module2.exports = function formatBar(progress, options) { + const completeSize = Math.round(progress * options.barsize); + const incompleteSize = options.barsize - completeSize; + return options.barCompleteString.substr(0, completeSize) + options.barGlue + options.barIncompleteString.substr(0, incompleteSize); + }; + } +}); + +// node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/lib/format-time.js +var require_format_time = __commonJS({ + "node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/lib/format-time.js"(exports, module2) { + module2.exports = function formatTime(t, options, roundToMultipleOf) { + function round(input) { + if (roundToMultipleOf) { + return roundToMultipleOf * Math.round(input / roundToMultipleOf); + } else { + return input; + } + } + function autopadding(v) { + return (options.autopaddingChar + v).slice(-2); + } + if (t > 3600) { + return autopadding(Math.floor(t / 3600)) + "h" + autopadding(round(t % 3600 / 60)) + "m"; + } else if (t > 60) { + return autopadding(Math.floor(t / 60)) + "m" + autopadding(round(t % 60)) + "s"; + } else if (t > 10) { + return autopadding(round(t)) + "s"; + } else { + return autopadding(t) + "s"; + } + }; + } +}); + +// node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/lib/formatter.js +var require_formatter = __commonJS({ + "node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/lib/formatter.js"(exports, module2) { + var _stringWidth = require_string_width(); + var _defaultFormatValue = require_format_value(); + var _defaultFormatBar = require_format_bar(); + var _defaultFormatTime = require_format_time(); + module2.exports = function defaultFormatter(options, params, payload) { + let s = options.format; + const formatTime = options.formatTime || _defaultFormatTime; + const formatValue = options.formatValue || _defaultFormatValue; + const formatBar = options.formatBar || _defaultFormatBar; + const percentage = Math.floor(params.progress * 100) + ""; + const stopTime = params.stopTime || Date.now(); + const elapsedTime = Math.round((stopTime - params.startTime) / 1e3); + const context = Object.assign({}, payload, { + bar: formatBar(params.progress, options), + percentage: formatValue(percentage, options, "percentage"), + total: formatValue(params.total, options, "total"), + value: formatValue(params.value, options, "value"), + eta: formatValue(params.eta, options, "eta"), + eta_formatted: formatTime(params.eta, options, 5), + duration: formatValue(elapsedTime, options, "duration"), + duration_formatted: formatTime(elapsedTime, options, 1) + }); + s = s.replace(/\{(\w+)\}/g, function(match, key) { + if (typeof context[key] !== "undefined") { + return context[key]; + } + return match; + }); + const fullMargin = Math.max(0, params.maxWidth - _stringWidth(s) - 2); + const halfMargin = Math.floor(fullMargin / 2); + switch (options.align) { + case "right": + s = fullMargin > 0 ? " ".repeat(fullMargin) + s : s; + break; + case "center": + s = halfMargin > 0 ? " ".repeat(halfMargin) + s : s; + break; + case "left": + default: + break; + } + return s; + }; + } +}); + +// node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/lib/options.js +var require_options = __commonJS({ + "node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/lib/options.js"(exports, module2) { + function mergeOption(v, defaultValue) { + if (typeof v === "undefined" || v === null) { + return defaultValue; + } else { + return v; + } + } + module2.exports = { + // set global options + parse: function parse(rawOptions, preset) { + const options = {}; + const opt = Object.assign({}, preset, rawOptions); + options.throttleTime = 1e3 / mergeOption(opt.fps, 10); + options.stream = mergeOption(opt.stream, process.stderr); + options.terminal = mergeOption(opt.terminal, null); + options.clearOnComplete = mergeOption(opt.clearOnComplete, false); + options.stopOnComplete = mergeOption(opt.stopOnComplete, false); + options.barsize = mergeOption(opt.barsize, 40); + options.align = mergeOption(opt.align, "left"); + options.hideCursor = mergeOption(opt.hideCursor, false); + options.linewrap = mergeOption(opt.linewrap, false); + options.barGlue = mergeOption(opt.barGlue, ""); + options.barCompleteChar = mergeOption(opt.barCompleteChar, "="); + options.barIncompleteChar = mergeOption(opt.barIncompleteChar, "-"); + options.format = mergeOption(opt.format, "progress [{bar}] {percentage}% | ETA: {eta}s | {value}/{total}"); + options.formatTime = mergeOption(opt.formatTime, null); + options.formatValue = mergeOption(opt.formatValue, null); + options.formatBar = mergeOption(opt.formatBar, null); + options.etaBufferLength = mergeOption(opt.etaBuffer, 10); + options.etaAsynchronousUpdate = mergeOption(opt.etaAsynchronousUpdate, false); + options.progressCalculationRelative = mergeOption(opt.progressCalculationRelative, false); + options.synchronousUpdate = mergeOption(opt.synchronousUpdate, true); + options.noTTYOutput = mergeOption(opt.noTTYOutput, false); + options.notTTYSchedule = mergeOption(opt.notTTYSchedule, 2e3); + options.emptyOnZero = mergeOption(opt.emptyOnZero, false); + options.forceRedraw = mergeOption(opt.forceRedraw, false); + options.autopadding = mergeOption(opt.autopadding, false); + options.gracefulExit = mergeOption(opt.gracefulExit, false); + return options; + }, + // derived options: instance specific, has to be created for every bar element + assignDerivedOptions: function assignDerivedOptions(options) { + options.barCompleteString = options.barCompleteChar.repeat(options.barsize + 1); + options.barIncompleteString = options.barIncompleteChar.repeat(options.barsize + 1); + options.autopaddingChar = options.autopadding ? mergeOption(options.autopaddingChar, " ") : ""; + return options; + } + }; + } +}); + +// node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/lib/generic-bar.js +var require_generic_bar = __commonJS({ + "node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/lib/generic-bar.js"(exports, module2) { + var _ETA = require_eta(); + var _Terminal = require_terminal(); + var _formatter = require_formatter(); + var _options = require_options(); + var _EventEmitter = require("events"); + module2.exports = class GenericBar extends _EventEmitter { + constructor(options) { + super(); + this.options = _options.assignDerivedOptions(options); + this.terminal = this.options.terminal ? this.options.terminal : new _Terminal(this.options.stream); + this.value = 0; + this.startValue = 0; + this.total = 100; + this.lastDrawnString = null; + this.startTime = null; + this.stopTime = null; + this.lastRedraw = Date.now(); + this.eta = new _ETA(this.options.etaBufferLength, 0, 0); + this.payload = {}; + this.isActive = false; + this.formatter = typeof this.options.format === "function" ? this.options.format : _formatter; + } + // internal render function + render(forceRendering = false) { + const params = { + progress: this.getProgress(), + eta: this.eta.getTime(), + startTime: this.startTime, + stopTime: this.stopTime, + total: this.total, + value: this.value, + maxWidth: this.terminal.getWidth() + }; + if (this.options.etaAsynchronousUpdate) { + this.updateETA(); + } + const s = this.formatter(this.options, params, this.payload); + const forceRedraw = forceRendering || this.options.forceRedraw || this.options.noTTYOutput && !this.terminal.isTTY(); + if (forceRedraw || this.lastDrawnString != s) { + this.emit("redraw-pre"); + this.terminal.cursorTo(0, null); + this.terminal.write(s); + this.terminal.clearRight(); + this.lastDrawnString = s; + this.lastRedraw = Date.now(); + this.emit("redraw-post"); + } + } + // start the progress bar + start(total, startValue, payload) { + this.value = startValue || 0; + this.total = typeof total !== "undefined" && total >= 0 ? total : 100; + this.startValue = startValue || 0; + this.payload = payload || {}; + this.startTime = Date.now(); + this.stopTime = null; + this.lastDrawnString = ""; + this.eta = new _ETA(this.options.etaBufferLength, this.startTime, this.value); + this.isActive = true; + this.emit("start", total, startValue); + } + // stop the bar + stop() { + this.isActive = false; + this.stopTime = Date.now(); + this.emit("stop", this.total, this.value); + } + // update the bar value + // update(value, payload) + // update(payload) + update(arg0, arg1 = {}) { + if (typeof arg0 === "number") { + this.value = arg0; + this.eta.update(Date.now(), arg0, this.total); + } + const payloadData = (typeof arg0 === "object" ? arg0 : arg1) || {}; + this.emit("update", this.total, this.value); + for (const key in payloadData) { + this.payload[key] = payloadData[key]; + } + if (this.value >= this.getTotal() && this.options.stopOnComplete) { + this.stop(); + } + } + // calculate the actual progress value + getProgress() { + let progress = this.value / this.total; + if (this.options.progressCalculationRelative) { + progress = (this.value - this.startValue) / (this.total - this.startValue); + } + if (isNaN(progress)) { + progress = this.options && this.options.emptyOnZero ? 0 : 1; + } + progress = Math.min(Math.max(progress, 0), 1); + return progress; + } + // update the bar value + // increment(delta, payload) + // increment(payload) + increment(arg0 = 1, arg1 = {}) { + if (typeof arg0 === "object") { + this.update(this.value + 1, arg0); + } else { + this.update(this.value + arg0, arg1); + } + } + // get the total (limit) value + getTotal() { + return this.total; + } + // set the total (limit) value + setTotal(total) { + if (typeof total !== "undefined" && total >= 0) { + this.total = total; + } + } + // force eta calculation update (long running processes) + updateETA() { + this.eta.update(Date.now(), this.value, this.total); + } + }; + } +}); + +// node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/lib/single-bar.js +var require_single_bar = __commonJS({ + "node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/lib/single-bar.js"(exports, module2) { + var _GenericBar = require_generic_bar(); + var _options = require_options(); + module2.exports = class SingleBar extends _GenericBar { + constructor(options, preset) { + super(_options.parse(options, preset)); + this.timer = null; + if (this.options.noTTYOutput && this.terminal.isTTY() === false) { + this.options.synchronousUpdate = false; + } + this.schedulingRate = this.terminal.isTTY() ? this.options.throttleTime : this.options.notTTYSchedule; + this.sigintCallback = null; + } + // internal render function + render() { + if (this.timer) { + clearTimeout(this.timer); + this.timer = null; + } + super.render(); + if (this.options.noTTYOutput && this.terminal.isTTY() === false) { + this.terminal.newline(); + } + this.timer = setTimeout(this.render.bind(this), this.schedulingRate); + } + update(current, payload) { + if (!this.timer) { + return; + } + super.update(current, payload); + if (this.options.synchronousUpdate && this.lastRedraw + this.options.throttleTime * 2 < Date.now()) { + this.render(); + } + } + // start the progress bar + start(total, startValue, payload) { + if (this.options.noTTYOutput === false && this.terminal.isTTY() === false) { + return; + } + if (this.sigintCallback === null && this.options.gracefulExit) { + this.sigintCallback = this.stop.bind(this); + process.once("SIGINT", this.sigintCallback); + process.once("SIGTERM", this.sigintCallback); + } + this.terminal.cursorSave(); + if (this.options.hideCursor === true) { + this.terminal.cursor(false); + } + if (this.options.linewrap === false) { + this.terminal.lineWrapping(false); + } + super.start(total, startValue, payload); + this.render(); + } + // stop the bar + stop() { + if (!this.timer) { + return; + } + if (this.sigintCallback) { + process.removeListener("SIGINT", this.sigintCallback); + process.removeListener("SIGTERM", this.sigintCallback); + this.sigintCallback = null; + } + this.render(); + super.stop(); + clearTimeout(this.timer); + this.timer = null; + if (this.options.hideCursor === true) { + this.terminal.cursor(true); + } + if (this.options.linewrap === false) { + this.terminal.lineWrapping(true); + } + this.terminal.cursorRestore(); + if (this.options.clearOnComplete) { + this.terminal.cursorTo(0, null); + this.terminal.clearLine(); + } else { + this.terminal.newline(); + } + } + }; + } +}); + +// node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/lib/multi-bar.js +var require_multi_bar = __commonJS({ + "node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/lib/multi-bar.js"(exports, module2) { + var _Terminal = require_terminal(); + var _BarElement = require_generic_bar(); + var _options = require_options(); + var _EventEmitter = require("events"); + module2.exports = class MultiBar extends _EventEmitter { + constructor(options, preset) { + super(); + this.bars = []; + this.options = _options.parse(options, preset); + this.options.synchronousUpdate = false; + this.terminal = this.options.terminal ? this.options.terminal : new _Terminal(this.options.stream); + this.timer = null; + this.isActive = false; + this.schedulingRate = this.terminal.isTTY() ? this.options.throttleTime : this.options.notTTYSchedule; + this.loggingBuffer = []; + this.sigintCallback = null; + } + // add a new bar to the stack + create(total, startValue, payload, barOptions = {}) { + const bar = new _BarElement(Object.assign( + {}, + // global options + this.options, + // terminal instance + { + terminal: this.terminal + }, + // overrides + barOptions + )); + this.bars.push(bar); + if (this.options.noTTYOutput === false && this.terminal.isTTY() === false) { + return bar; + } + if (this.sigintCallback === null && this.options.gracefulExit) { + this.sigintCallback = this.stop.bind(this); + process.once("SIGINT", this.sigintCallback); + process.once("SIGTERM", this.sigintCallback); + } + if (!this.isActive) { + if (this.options.hideCursor === true) { + this.terminal.cursor(false); + } + if (this.options.linewrap === false) { + this.terminal.lineWrapping(false); + } + this.timer = setTimeout(this.update.bind(this), this.schedulingRate); + } + this.isActive = true; + bar.start(total, startValue, payload); + this.emit("start"); + return bar; + } + // remove a bar from the stack + remove(bar) { + const index = this.bars.indexOf(bar); + if (index < 0) { + return false; + } + this.bars.splice(index, 1); + this.update(); + this.terminal.newline(); + this.terminal.clearBottom(); + return true; + } + // internal update routine + update() { + if (this.timer) { + clearTimeout(this.timer); + this.timer = null; + } + this.emit("update-pre"); + this.terminal.cursorRelativeReset(); + this.emit("redraw-pre"); + if (this.loggingBuffer.length > 0) { + this.terminal.clearLine(); + while (this.loggingBuffer.length > 0) { + this.terminal.write(this.loggingBuffer.shift(), true); + } + } + for (let i = 0; i < this.bars.length; i++) { + if (i > 0) { + this.terminal.newline(); + } + this.bars[i].render(); + } + this.emit("redraw-post"); + if (this.options.noTTYOutput && this.terminal.isTTY() === false) { + this.terminal.newline(); + this.terminal.newline(); + } + this.timer = setTimeout(this.update.bind(this), this.schedulingRate); + this.emit("update-post"); + if (this.options.stopOnComplete && !this.bars.find((bar) => bar.isActive)) { + this.stop(); + } + } + stop() { + clearTimeout(this.timer); + this.timer = null; + if (this.sigintCallback) { + process.removeListener("SIGINT", this.sigintCallback); + process.removeListener("SIGTERM", this.sigintCallback); + this.sigintCallback = null; + } + this.isActive = false; + if (this.options.hideCursor === true) { + this.terminal.cursor(true); + } + if (this.options.linewrap === false) { + this.terminal.lineWrapping(true); + } + this.terminal.cursorRelativeReset(); + this.emit("stop-pre-clear"); + if (this.options.clearOnComplete) { + this.terminal.clearBottom(); + } else { + for (let i = 0; i < this.bars.length; i++) { + if (i > 0) { + this.terminal.newline(); + } + this.bars[i].render(); + this.bars[i].stop(); + } + this.terminal.newline(); + } + this.emit("stop"); + } + log(s) { + this.loggingBuffer.push(s); + } + }; + } +}); + +// node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/presets/legacy.js +var require_legacy = __commonJS({ + "node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/presets/legacy.js"(exports, module2) { + module2.exports = { + format: "progress [{bar}] {percentage}% | ETA: {eta}s | {value}/{total}", + barCompleteChar: "=", + barIncompleteChar: "-" + }; + } +}); + +// node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/presets/shades-classic.js +var require_shades_classic = __commonJS({ + "node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/presets/shades-classic.js"(exports, module2) { + module2.exports = { + format: " {bar} {percentage}% | ETA: {eta}s | {value}/{total}", + barCompleteChar: "\u2588", + barIncompleteChar: "\u2591" + }; + } +}); + +// node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/presets/shades-grey.js +var require_shades_grey = __commonJS({ + "node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/presets/shades-grey.js"(exports, module2) { + module2.exports = { + format: " \x1B[90m{bar}\x1B[0m {percentage}% | ETA: {eta}s | {value}/{total}", + barCompleteChar: "\u2588", + barIncompleteChar: "\u2591" + }; + } +}); + +// node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/presets/rect.js +var require_rect = __commonJS({ + "node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/presets/rect.js"(exports, module2) { + module2.exports = { + format: " {bar}\u25A0 {percentage}% | ETA: {eta}s | {value}/{total}", + barCompleteChar: "\u25A0", + barIncompleteChar: " " + }; + } +}); + +// node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/presets/index.js +var require_presets = __commonJS({ + "node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/presets/index.js"(exports, module2) { + var _legacy = require_legacy(); + var _shades_classic = require_shades_classic(); + var _shades_grey = require_shades_grey(); + var _rect = require_rect(); + module2.exports = { + legacy: _legacy, + shades_classic: _shades_classic, + shades_grey: _shades_grey, + rect: _rect + }; + } +}); + +// node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/cli-progress.js +var require_cli_progress = __commonJS({ + "node_modules/.pnpm/cli-progress@3.12.0/node_modules/cli-progress/cli-progress.js"(exports, module2) { + var _SingleBar = require_single_bar(); + var _MultiBar = require_multi_bar(); + var _Presets = require_presets(); + var _Formatter = require_formatter(); + var _defaultFormatValue = require_format_value(); + var _defaultFormatBar = require_format_bar(); + var _defaultFormatTime = require_format_time(); + module2.exports = { + Bar: _SingleBar, + SingleBar: _SingleBar, + MultiBar: _MultiBar, + Presets: _Presets, + Format: { + Formatter: _Formatter, + BarFormat: _defaultFormatBar, + ValueFormat: _defaultFormatValue, + TimeFormat: _defaultFormatTime + } + }; + } +}); + +// cli.ts +var import_node_util = require("util"); + +// src/utils/typedEntries.ts +function typedEntries(obj) { + return Object.entries(obj); +} + +// src/lib/cache-management.ts +var import_node_os = require("os"); +var import_node_path = require("path"); +var import_promises = require("fs/promises"); + +// src/consts.ts +var HUB_URL = "https://huggingface.co"; + +// src/error.ts +async function createApiError(response, opts) { + const error = new HubApiError(response.url, response.status, response.headers.get("X-Request-Id") ?? opts?.requestId); + error.message = `Api error with status ${error.statusCode}${opts?.message ? `. ${opts.message}` : ""}`; + const trailer = [`URL: ${error.url}`, error.requestId ? `Request ID: ${error.requestId}` : void 0].filter(Boolean).join(". "); + if (response.headers.get("Content-Type")?.startsWith("application/json")) { + const json = await response.json(); + error.message = json.error || json.message || error.message; + if (json.error_description) { + error.message = error.message ? error.message + `: ${json.error_description}` : json.error_description; + } + error.data = json; + } else { + error.data = { message: await response.text() }; + } + error.message += `. ${trailer}`; + throw error; +} +var HubApiError = class extends Error { + statusCode; + url; + requestId; + data; + constructor(url, statusCode, requestId, message) { + super(message); + this.statusCode = statusCode; + this.requestId = requestId; + this.url = url; + } +}; +var InvalidApiResponseFormatError = class extends Error { +}; + +// src/utils/checkCredentials.ts +function checkAccessToken(accessToken) { + if (!accessToken.startsWith("hf_")) { + throw new TypeError("Your access token must start with 'hf_'"); + } +} +function checkCredentials(params) { + if (params.accessToken) { + checkAccessToken(params.accessToken); + return params.accessToken; + } + if (params.credentials?.accessToken) { + checkAccessToken(params.credentials.accessToken); + return params.credentials.accessToken; + } +} + +// src/utils/toRepoId.ts +function toRepoId(repo) { + if (typeof repo !== "string") { + return repo; + } + if (repo.startsWith("model/") || repo.startsWith("models/")) { + throw new TypeError( + "A repo designation for a model should not start with 'models/', directly specify the model namespace / name" + ); + } + if (repo.startsWith("space/")) { + throw new TypeError("Spaces should start with 'spaces/', plural, not 'space/'"); + } + if (repo.startsWith("dataset/")) { + throw new TypeError("Datasets should start with 'datasets/', plural, not 'dataset/'"); + } + if (repo.startsWith("bucket/")) { + throw new TypeError("Buckets should start with 'buckets/', plural, not 'bucket/'"); + } + const slashes = repo.split("/").length - 1; + if (repo.startsWith("spaces/")) { + if (slashes !== 2) { + throw new TypeError("Space Id must include namespace and name of the space"); + } + return { + type: "space", + name: repo.slice("spaces/".length) + }; + } + if (repo.startsWith("datasets/")) { + if (slashes > 2) { + throw new TypeError("Too many slashes in repo designation: " + repo); + } + return { + type: "dataset", + name: repo.slice("datasets/".length) + }; + } + if (repo.startsWith("buckets/")) { + if (slashes !== 2) { + throw new TypeError("Bucket Id must include namespace and name of the bucket"); + } + return { + type: "bucket", + name: repo.slice("buckets/".length) + }; + } + if (slashes > 1) { + throw new TypeError("Too many slashes in repo designation: " + repo); + } + return { + type: "model", + name: repo + }; +} + +// src/utils/range.ts +function range(n, b) { + return b ? Array(b - n).fill(0).map((_, i) => n + i) : Array(n).fill(0).map((_, i) => i); +} + +// src/utils/chunk.ts +function chunk(arr, chunkSize) { + if (isNaN(chunkSize) || chunkSize < 1) { + throw new RangeError("Invalid chunk size: " + chunkSize); + } + if (!arr.length) { + return []; + } + if (arr.length <= chunkSize) { + return [arr]; + } + return range(Math.ceil(arr.length / chunkSize)).map((i) => { + return arr.slice(i * chunkSize, (i + 1) * chunkSize); + }); +} + +// src/utils/promisesQueue.ts +async function promisesQueue(factories, concurrency) { + const results = []; + const executing = /* @__PURE__ */ new Set(); + let index = 0; + for (const factory of factories) { + const closureIndex = index++; + const e = factory().then((r) => { + results[closureIndex] = r; + executing.delete(e); + }); + executing.add(e); + if (executing.size >= concurrency) { + await Promise.race(executing); + } + } + await Promise.all(executing); + return results; +} + +// src/utils/promisesQueueStreaming.ts +async function promisesQueueStreaming(factories, concurrency) { + const executing = []; + for await (const factory of factories) { + const e = factory().then(() => { + executing.splice(executing.indexOf(e), 1); + }); + executing.push(e); + if (executing.length >= concurrency) { + await Promise.race(executing); + } + } + await Promise.all(executing); +} + +// src/utils/eventToGenerator.ts +async function* eventToGenerator(cb) { + const promises = []; + function addPromise() { + let resolve3; + let reject; + const p = new Promise((res, rej) => { + resolve3 = res; + reject = rej; + }); + promises.push({ p, resolve: resolve3, reject }); + } + addPromise(); + const callbackRes = Promise.resolve().then( + () => cb( + (y) => { + addPromise(); + promises.at(-2)?.resolve({ done: false, value: y }); + }, + (r) => { + addPromise(); + promises.at(-2)?.resolve({ done: true, value: r }); + }, + (err) => promises.shift()?.reject(err) + ) + ).catch((err) => promises.shift()?.reject(err)); + while (1) { + const p = promises[0]; + if (!p) { + throw new Error("Logic error in eventGenerator, promises should never be empty"); + } + const result = await p.p; + promises.shift(); + if (result.done) { + await callbackRes; + return result.value; + } + yield result.value; + } + throw new Error("Unreachable"); +} + +// src/utils/hexFromBytes.ts +function hexFromBytes(arr) { + if (globalThis.Buffer) { + return globalThis.Buffer.from(arr).toString("hex"); + } else { + const bin = []; + arr.forEach((byte) => { + bin.push(byte.toString(16).padStart(2, "0")); + }); + return bin.join(""); + } +} + +// src/utils/isBackend.ts +var isBrowser = typeof window !== "undefined" && typeof window.document !== "undefined"; +var isWebWorker = typeof self === "object" && self.constructor && self.constructor.name === "DedicatedWorkerGlobalScope"; +var isBackend = !isBrowser && !isWebWorker; + +// src/utils/isFrontend.ts +var isFrontend = !isBackend; + +// src/utils/sha256.ts +async function getWebWorkerCode() { + const sha256Module = await Promise.resolve().then(() => (init_sha256_wrapper(), sha256_wrapper_exports)); + return URL.createObjectURL(new Blob([sha256Module.createSHA256WorkerCode()])); +} +var pendingWorkers = []; +var runningWorkers = /* @__PURE__ */ new Set(); +var resolve; +var waitPromise = new Promise((r) => { + resolve = r; +}); +async function getWorker(poolSize) { + { + const worker2 = pendingWorkers.pop(); + if (worker2) { + runningWorkers.add(worker2); + return worker2; + } + } + if (!poolSize) { + const worker2 = new Worker(await getWebWorkerCode()); + runningWorkers.add(worker2); + return worker2; + } + if (poolSize <= 0) { + throw new TypeError("Invalid webworker pool size: " + poolSize); + } + while (runningWorkers.size >= poolSize) { + await waitPromise; + } + const worker = new Worker(await getWebWorkerCode()); + runningWorkers.add(worker); + return worker; +} +async function freeWorker(worker, poolSize) { + if (!poolSize) { + return destroyWorker(worker); + } + runningWorkers.delete(worker); + pendingWorkers.push(worker); + const r = resolve; + waitPromise = new Promise((r2) => { + resolve = r2; + }); + r(); +} +function destroyWorker(worker) { + runningWorkers.delete(worker); + worker.terminate(); + const r = resolve; + waitPromise = new Promise((r2) => { + resolve = r2; + }); + r(); +} +async function* sha256(buffer, opts) { + yield 0; + const maxCryptoSize = typeof opts?.useWebWorker === "object" && opts?.useWebWorker.minSize !== void 0 ? opts.useWebWorker.minSize : 1e7; + if (buffer.size < maxCryptoSize && globalThis.crypto?.subtle) { + const res = hexFromBytes( + new Uint8Array( + await globalThis.crypto.subtle.digest("SHA-256", buffer instanceof Blob ? await buffer.arrayBuffer() : buffer) + ) + ); + yield 1; + return res; + } + if (isFrontend) { + if (opts?.useWebWorker) { + try { + const poolSize = typeof opts?.useWebWorker === "object" ? opts.useWebWorker.poolSize : void 0; + const worker = await getWorker(poolSize); + let messageHandler; + let errorHandler; + const cleanup = () => { + worker.removeEventListener("message", messageHandler); + worker.removeEventListener("error", errorHandler); + }; + return yield* eventToGenerator((yieldCallback, returnCallback, rejectCallback) => { + messageHandler = (event) => { + if (event.data.sha256) { + cleanup(); + freeWorker(worker, poolSize); + returnCallback(event.data.sha256); + } else if (event.data.progress) { + yieldCallback(event.data.progress); + try { + opts.abortSignal?.throwIfAborted(); + } catch (err) { + cleanup(); + destroyWorker(worker); + rejectCallback(err); + } + } else { + cleanup(); + destroyWorker(worker); + rejectCallback(event); + } + }; + errorHandler = (event) => { + cleanup(); + destroyWorker(worker); + rejectCallback(event.error); + }; + if (opts?.abortSignal) { + try { + opts.abortSignal?.throwIfAborted(); + } catch (err) { + cleanup(); + destroyWorker(worker); + rejectCallback(opts.abortSignal.reason ?? new DOMException("Aborted", "AbortError")); + return; + } + const abortListener = () => { + cleanup(); + destroyWorker(worker); + rejectCallback(opts.abortSignal?.reason ?? new DOMException("Aborted", "AbortError")); + opts.abortSignal?.removeEventListener("abort", abortListener); + }; + opts.abortSignal.addEventListener("abort", abortListener); + } + worker.addEventListener("message", messageHandler); + worker.addEventListener("error", errorHandler); + worker.postMessage({ file: buffer }); + }); + } catch (err) { + console.warn("Failed to use web worker for sha256", err); + } + } + if (!wasmModule) { + wasmModule = await Promise.resolve().then(() => (init_sha256_wrapper(), sha256_wrapper_exports)); + } + const sha2562 = await wasmModule.createSHA256(); + sha2562.init(); + const reader = buffer.stream().getReader(); + const total = buffer.size; + let bytesDone = 0; + while (true) { + const { done, value } = await reader.read(); + if (done) { + break; + } + sha2562.update(value); + bytesDone += value.length; + yield bytesDone / total; + opts?.abortSignal?.throwIfAborted(); + } + return sha2562.digest("hex"); + } + if (!cryptoModule) { + cryptoModule = await Promise.resolve().then(() => (init_sha256_node(), sha256_node_exports)); + } + return yield* cryptoModule.sha256Node(buffer, { abortSignal: opts?.abortSignal }); +} +var cryptoModule; +var wasmModule; + +// src/utils/WebBlob.ts +var WebBlob = class extends Blob { + static async create(url, opts) { + const customFetch = opts?.fetch ?? fetch; + const response = await customFetch(url, { + method: "HEAD", + ...opts?.accessToken && { + headers: { + Authorization: `Bearer ${opts.accessToken}` + } + } + }); + const size = Number(response.headers.get("content-length")); + const contentType = response.headers.get("content-type") || ""; + const supportRange = response.headers.get("accept-ranges") === "bytes"; + if (!supportRange || size < (opts?.cacheBelow ?? 1e6)) { + return await (await customFetch(url)).blob(); + } + return new WebBlob(url, 0, size, contentType, true, customFetch, opts?.accessToken); + } + url; + start; + end; + contentType; + full; + fetch; + accessToken; + constructor(url, start, end, contentType, full, customFetch, accessToken) { + super([]); + this.url = url; + this.start = start; + this.end = end; + this.contentType = contentType; + this.full = full; + this.fetch = customFetch; + this.accessToken = accessToken; + } + get size() { + return this.end - this.start; + } + get type() { + return this.contentType; + } + slice(start = 0, end = this.size) { + if (start < 0 || end < 0) { + new TypeError("Unsupported negative start/end on WebBlob.slice"); + } + const slice = new WebBlob( + this.url, + this.start + start, + Math.min(this.start + end, this.end), + this.contentType, + start === 0 && end === this.size ? this.full : false, + this.fetch, + this.accessToken + ); + return slice; + } + async arrayBuffer() { + const result = await this.fetchRange(); + return result.arrayBuffer(); + } + async text() { + const result = await this.fetchRange(); + return result.text(); + } + stream() { + const stream = new TransformStream(); + this.fetchRange().then((response) => response.body?.pipeThrough(stream)).catch((error) => stream.writable.abort(error.message)); + return stream.readable; + } + fetchRange() { + const fetch2 = this.fetch; + if (this.full) { + return fetch2(this.url, { + ...this.accessToken && { + headers: { + Authorization: `Bearer ${this.accessToken}` + } + } + }).then((resp) => resp.ok ? resp : createApiError(resp)); + } + return fetch2(this.url, { + headers: { + Range: `bytes=${this.start}-${this.end - 1}`, + ...this.accessToken && { Authorization: `Bearer ${this.accessToken}` } + } + }).then((resp) => resp.ok ? resp : createApiError(resp)); + } +}; + +// src/utils/base64FromBytes.ts +function base64FromBytes(arr) { + if (globalThis.Buffer) { + return globalThis.Buffer.from(arr).toString("base64"); + } else { + const bin = []; + arr.forEach((byte) => { + bin.push(String.fromCharCode(byte)); + }); + return globalThis.btoa(bin.join("")); + } +} + +// src/utils/createBlobs.ts +async function createBlobs(url, destPath, opts) { + if (url.protocol === "http:" || url.protocol === "https:") { + const blob = await WebBlob.create(url, { fetch: opts?.fetch, accessToken: opts?.accessToken }); + return [{ path: destPath, blob }]; + } + if (isFrontend) { + throw new TypeError(`Unsupported URL protocol "${url.protocol}"`); + } + if (url.protocol === "file:") { + const { FileBlob: FileBlob2 } = await Promise.resolve().then(() => (init_FileBlob(), FileBlob_exports)); + const { subPaths: subPaths2 } = await Promise.resolve().then(() => (init_sub_paths(), sub_paths_exports)); + const paths = await subPaths2(url, opts?.maxFolderDepth); + if (paths.length === 1 && paths[0].relativePath === ".") { + const blob = await FileBlob2.create(url); + return [{ path: destPath, blob }]; + } + return Promise.all( + paths.map(async (path2) => ({ + path: `${destPath}/${path2.relativePath}`.replace(/\/[.]$/, "").replaceAll("//", "/").replace(/^[.]?\//, ""), + blob: await FileBlob2.create(new URL(path2.path)) + })) + ); + } + throw new TypeError(`Unsupported URL protocol "${url.protocol}"`); +} + +// src/vendor/lz4js/util.ts +function hashU32(a) { + a = a | 0; + a = a + 2127912214 + (a << 12) | 0; + a = a ^ -949894596 ^ a >>> 19; + a = a + 374761393 + (a << 5) | 0; + a = a + -744332180 ^ a << 9; + a = a + -42973499 + (a << 3) | 0; + return a ^ -1252372727 ^ a >>> 16 | 0; +} +function readU32(b, n) { + let x = 0; + x |= b[n++] << 0; + x |= b[n++] << 8; + x |= b[n++] << 16; + x |= b[n++] << 24; + return x; +} +function writeU32(b, n, x) { + b[n++] = x >> 0 & 255; + b[n++] = x >> 8 & 255; + b[n++] = x >> 16 & 255; + b[n++] = x >> 24 & 255; +} +function imul(a, b) { + const ah = a >>> 16; + const al = a & 65535; + const bh = b >>> 16; + const bl = b & 65535; + return al * bl + (ah * bl + al * bh << 16) | 0; +} + +// src/vendor/lz4js/xxh32.ts +var prime1 = 2654435761; +var prime2 = 2246822519; +var prime3 = 3266489917; +var prime4 = 668265263; +var prime5 = 374761393; +function rotl32(x, r) { + x = x | 0; + r = r | 0; + return x >>> (32 - r | 0) | x << r | 0; +} +function rotmul32(h, r, m) { + h = h | 0; + r = r | 0; + m = m | 0; + return imul(h >>> (32 - r | 0) | h << r, m) | 0; +} +function shiftxor32(h, s) { + h = h | 0; + s = s | 0; + return h >>> s ^ h | 0; +} +function xxhapply(h, src, m0, s, m1) { + return rotmul32(imul(src, m0) + h, s, m1); +} +function xxh1(h, src, index) { + return rotmul32(h + imul(src[index], prime5), 11, prime1); +} +function xxh4(h, src, index) { + return xxhapply(h, readU32(src, index), prime3, 17, prime4); +} +function xxh16(h, src, index) { + return [ + xxhapply(h[0], readU32(src, index + 0), prime2, 13, prime1), + xxhapply(h[1], readU32(src, index + 4), prime2, 13, prime1), + xxhapply(h[2], readU32(src, index + 8), prime2, 13, prime1), + xxhapply(h[3], readU32(src, index + 12), prime2, 13, prime1) + ]; +} +function xxh32(seed, src, index, len) { + let h; + const l = len; + if (len >= 16) { + h = [seed + prime1 + prime2, seed + prime2, seed, seed - prime1]; + while (len >= 16) { + h = xxh16(h, src, index); + index += 16; + len -= 16; + } + h = rotl32(h[0], 1) + rotl32(h[1], 7) + rotl32(h[2], 12) + rotl32(h[3], 18) + l; + } else { + h = seed + prime5 + len >>> 0; + } + while (len >= 4) { + h = xxh4(h, src, index); + index += 4; + len -= 4; + } + while (len > 0) { + h = xxh1(h, src, index); + index++; + len--; + } + h = shiftxor32(imul(shiftxor32(imul(shiftxor32(h, 15), prime2), 13), prime3), 16); + return h >>> 0; +} +var hash = xxh32; + +// src/vendor/lz4js/index.ts +var minMatch = 4; +var matchSearchLimit = 12; +var minTrailingLitterals = 5; +var skipTrigger = 6; +var hashSize = 1 << 16; +var mlBits = 4; +var mlMask = (1 << mlBits) - 1; +var runBits = 4; +var runMask = (1 << runBits) - 1; +var blockBuf = makeBuffer(5 << 20); +var hashTable = makeHashTable(); +var magicNum = 407708164; +var fdVersion = 64; +var bsDefault = 7; +var bsShift = 4; +var bsMap = { + 4: 65536, + 5: 262144, + 6: 1048576, + 7: 4194304 +}; +function makeHashTable() { + try { + return new Uint32Array(hashSize); + } catch (error) { + const hashTable2 = new Array(hashSize); + for (let i = 0; i < hashSize; i++) { + hashTable2[i] = 0; + } + return hashTable2; + } +} +function clearHashTable(table) { + for (let i = 0; i < hashSize; i++) { + table[i] = 0; + } +} +function makeBuffer(size) { + return new Uint8Array(size); +} +function sliceArray(array, start, end) { + return array.slice(start, end); +} +function compressBound(n) { + return n + n / 255 + 16 | 0; +} +function compressBlock(src, dst, sIndex, sLength, hashTable2) { + let mIndex, mAnchor, mLength, mOffset, mStep; + let literalCount, dIndex, sEnd, n; + dIndex = 0; + sEnd = sLength + sIndex; + mAnchor = sIndex; + let searchMatchCount = (1 << skipTrigger) + 3; + while (sIndex <= sEnd - matchSearchLimit) { + const seq = readU32(src, sIndex); + let hash2 = hashU32(seq) >>> 0; + hash2 = (hash2 >> 16 ^ hash2) >>> 0 & 65535; + mIndex = hashTable2[hash2] - 1; + hashTable2[hash2] = sIndex + 1; + if (mIndex < 0 || sIndex - mIndex >>> 16 > 0 || readU32(src, mIndex) !== seq) { + mStep = searchMatchCount++ >> skipTrigger; + sIndex += mStep; + continue; + } + searchMatchCount = (1 << skipTrigger) + 3; + literalCount = sIndex - mAnchor; + mOffset = sIndex - mIndex; + sIndex += minMatch; + mIndex += minMatch; + mLength = sIndex; + while (sIndex < sEnd - minTrailingLitterals && src[sIndex] === src[mIndex]) { + sIndex++; + mIndex++; + } + mLength = sIndex - mLength; + const token = mLength < mlMask ? mLength : mlMask; + if (literalCount >= runMask) { + dst[dIndex++] = (runMask << mlBits) + token; + for (n = literalCount - runMask; n >= 255; n -= 255) { + dst[dIndex++] = 255; + } + dst[dIndex++] = n; + } else { + dst[dIndex++] = (literalCount << mlBits) + token; + } + for (let i = 0; i < literalCount; i++) { + dst[dIndex++] = src[mAnchor + i]; + } + dst[dIndex++] = mOffset; + dst[dIndex++] = mOffset >> 8; + if (mLength >= mlMask) { + for (n = mLength - mlMask; n >= 255; n -= 255) { + dst[dIndex++] = 255; + } + dst[dIndex++] = n; + } + mAnchor = sIndex; + } + if (mAnchor === 0) { + return 0; + } + literalCount = sEnd - mAnchor; + if (literalCount >= runMask) { + dst[dIndex++] = runMask << mlBits; + for (n = literalCount - runMask; n >= 255; n -= 255) { + dst[dIndex++] = 255; + } + dst[dIndex++] = n; + } else { + dst[dIndex++] = literalCount << mlBits; + } + sIndex = mAnchor; + while (sIndex < sEnd) { + dst[dIndex++] = src[sIndex++]; + } + return dIndex; +} +function compressFrame(src, dst) { + let dIndex = 0; + writeU32(dst, dIndex, magicNum); + dIndex += 4; + dst[dIndex++] = fdVersion; + dst[dIndex++] = bsDefault << bsShift; + dst[dIndex] = hash(0, dst, 4, dIndex - 4) >> 8; + dIndex++; + const maxBlockSize = bsMap[bsDefault]; + let remaining = src.length; + let sIndex = 0; + clearHashTable(hashTable); + while (remaining > 0) { + let compSize = 0; + const blockSize = remaining > maxBlockSize ? maxBlockSize : remaining; + compSize = compressBlock(src, blockBuf, sIndex, blockSize, hashTable); + if (compSize > blockSize || compSize === 0) { + writeU32(dst, dIndex, 2147483648 | blockSize); + dIndex += 4; + for (let z = sIndex + blockSize; sIndex < z; ) { + dst[dIndex++] = src[sIndex++]; + } + remaining -= blockSize; + } else { + writeU32(dst, dIndex, compSize); + dIndex += 4; + for (let j = 0; j < compSize; ) { + dst[dIndex++] = blockBuf[j++]; + } + sIndex += blockSize; + remaining -= blockSize; + } + } + writeU32(dst, dIndex, 0); + dIndex += 4; + return dIndex; +} +function compress(src, maxSize) { + let dst, size; + if (maxSize === void 0) { + maxSize = compressBound(src.length); + } + dst = makeBuffer(maxSize); + size = compressFrame(src, dst); + if (size !== maxSize) { + dst = sliceArray(dst, 0, size); + } + return dst; +} + +// src/utils/XetBlob.ts +var XET_CHUNK_HEADER_BYTES = 8; +function bg4_split_bytes(bytes) { + const ret = new Uint8Array(bytes.byteLength); + const split = Math.floor(bytes.byteLength / 4); + const rem = bytes.byteLength % 4; + const g1_pos = split + (rem >= 1 ? 1 : 0); + const g2_pos = g1_pos + split + (rem >= 2 ? 1 : 0); + const g3_pos = g2_pos + split + (rem == 3 ? 1 : 0); + for (let i = 0, j = 0; i < bytes.byteLength; i += 4, j++) { + ret[j] = bytes[i]; + } + for (let i = 1, j = g1_pos; i < bytes.byteLength; i += 4, j++) { + ret[j] = bytes[i]; + } + for (let i = 2, j = g2_pos; i < bytes.byteLength; i += 4, j++) { + ret[j] = bytes[i]; + } + for (let i = 3, j = g3_pos; i < bytes.byteLength; i += 4, j++) { + ret[j] = bytes[i]; + } + return ret; +} + +// src/utils/ChunkCache.ts +var CHUNK_CACHE_INITIAL_SIZE = 1e4; +var CHUNK_CACHE_GROW_FACTOR = 1.5; +var CHUNK_CACHE_MAX_SIZE = 1e6; +var ChunkCache = class { + index = 0; + // Index >= 0 means local xorb, < 0 means remote xorb + xorbIndices; + // Max 8K chunks per xorb, less than 64K uint16_t + chunkIndices; + map = /* @__PURE__ */ new Map(); + // hash -> chunkCacheIndex. Less overhead that way, empty object is 60+B and empty array is 40+B + hmacs = /* @__PURE__ */ new Set(); + // todo : remove old hmacs + maxSize; + constructor(maxSize = CHUNK_CACHE_MAX_SIZE) { + if (maxSize < 1) { + throw new Error("maxSize must be at least 1"); + } + this.maxSize = maxSize; + this.xorbIndices = new Int32Array(Math.min(CHUNK_CACHE_INITIAL_SIZE, maxSize)); + this.chunkIndices = new Uint16Array(Math.min(CHUNK_CACHE_INITIAL_SIZE, maxSize)); + } + addChunkToCache(hash2, xorbIndex, chunkIndex, hmac) { + if (this.map.has(hash2)) { + return; + } + if (this.map.values().next().value === this.index) { + this.map.delete(this.map.keys().next().value); + } + this.map.set(hash2, this.index); + if (hmac !== null) { + this.hmacs.add(hmac); + } + if (this.index >= this.xorbIndices.length) { + const oldXorbIndices = this.xorbIndices; + const oldChunkIndices = this.chunkIndices; + this.xorbIndices = new Int32Array(Math.min(this.xorbIndices.length * CHUNK_CACHE_GROW_FACTOR, this.maxSize)); + this.chunkIndices = new Uint16Array(Math.min(this.chunkIndices.length * CHUNK_CACHE_GROW_FACTOR, this.maxSize)); + this.xorbIndices.set(oldXorbIndices); + this.chunkIndices.set(oldChunkIndices); + } + this.xorbIndices[this.index] = xorbIndex; + this.chunkIndices[this.index] = chunkIndex; + this.index = (this.index + 1) % this.maxSize; + } + getChunk(hash2, hmacFunction) { + let index = this.map.get(hash2); + if (index === void 0 && hmacFunction !== null) { + for (const hmac of this.hmacs) { + index = this.map.get(hmacFunction(hash2, hmac)); + if (index !== void 0) { + break; + } + } + } + if (index === void 0) { + return void 0; + } + return { + xorbIndex: this.xorbIndices[index], + chunkIndex: this.chunkIndices[index] + }; + } + updateChunkIndex(hash2, chunkIndex) { + const index = this.map.get(hash2); + if (index === void 0) { + throw new Error(`Chunk not found in cache: ${hash2}`); + } + this.chunkIndices[index] = chunkIndex; + } + removeChunkFromCache(hash2) { + this.map.delete(hash2); + } +}; + +// src/utils/xetWriteToken.ts +var JWT_SAFETY_PERIOD = 6e4; +var JWT_CACHE_SIZE = 1e3; +var jwtPromises = /* @__PURE__ */ new Map(); +var jwts = /* @__PURE__ */ new Map(); +async function xetWriteToken(params) { + if (params.xetParams.expiresAt && params.xetParams.casUrl && params.xetParams.accessToken && params.xetParams.expiresAt > new Date(Date.now() + JWT_SAFETY_PERIOD)) { + return { accessToken: params.xetParams.accessToken, casUrl: params.xetParams.casUrl }; + } + const key = params.xetParams.refreshWriteTokenUrl; + const jwt = jwts.get(key); + if (jwt && jwt.expiresAt > new Date(Date.now() + JWT_SAFETY_PERIOD)) { + return { accessToken: jwt.accessToken, casUrl: jwt.casUrl }; + } + const existingPromise = jwtPromises.get(key); + if (existingPromise) { + return existingPromise; + } + const promise = (async () => { + const resp = await (params.fetch ?? fetch)(params.xetParams.refreshWriteTokenUrl, { + headers: { + ...params.accessToken ? { + Authorization: `Bearer ${params.accessToken}` + } : {}, + ...params.xetParams.sessionId ? { "X-Xet-Session-Id": params.xetParams.sessionId } : {} + } + }); + if (!resp.ok) { + throw await createApiError(resp); + } + const json = await resp.json(); + const jwt2 = { + accessToken: json.accessToken, + expiresAt: new Date(json.exp * 1e3), + casUrl: json.casUrl + }; + jwtPromises.delete(key); + for (const [key2, value] of jwts.entries()) { + if (value.expiresAt < new Date(Date.now() + JWT_SAFETY_PERIOD)) { + jwts.delete(key2); + } else { + break; + } + } + if (jwts.size >= JWT_CACHE_SIZE) { + const keyToDelete = jwts.keys().next().value; + if (keyToDelete) { + jwts.delete(keyToDelete); + } + } + jwts.set(key, jwt2); + return { + accessToken: json.accessToken, + casUrl: json.casUrl + }; + })(); + jwtPromises.set(key, promise); + return promise; +} + +// src/utils/shardParser.ts +var HASH_LENGTH = 32; +var XORB_HASH_BOOKEND = "ff".repeat(HASH_LENGTH); +function readHashFromArray(array, offset) { + let hash2 = ""; + for (let i = 0; i < HASH_LENGTH; i += 8) { + hash2 += `${array[offset + i + 7].toString(16).padStart(2, "0")}${array[offset + i + 6].toString(16).padStart(2, "0")}${array[offset + i + 5].toString(16).padStart(2, "0")}${array[offset + i + 4].toString(16).padStart(2, "0")}${array[offset + i + 3].toString(16).padStart(2, "0")}${array[offset + i + 2].toString(16).padStart(2, "0")}${array[offset + i + 1].toString(16).padStart(2, "0")}${array[offset + i].toString(16).padStart(2, "0")}`; + } + return hash2; +} +async function parseShardData(shardBlob) { + const shard = new Uint8Array(await shardBlob.arrayBuffer()); + const shardView = new DataView(shard.buffer); + const magicTag = shard.slice(0, SHARD_MAGIC_TAG.length); + if (!magicTag.every((byte, i) => byte === SHARD_MAGIC_TAG[i])) { + throw new Error("Invalid shard magic tag"); + } + const version2 = shardView.getBigUint64(SHARD_MAGIC_TAG.length, true); + if (version2 !== SHARD_HEADER_VERSION) { + throw new Error(`Invalid shard version: ${version2}`); + } + const footerSize = Number(shardView.getBigUint64(SHARD_MAGIC_TAG.length + 8, true)); + const footerStart = shard.length - footerSize; + const footerVersion = shardView.getBigUint64(footerStart, true); + if (footerVersion !== SHARD_FOOTER_VERSION) { + throw new Error(`Invalid shard footer version: ${footerVersion}`); + } + const xorbInfoStart = Number(shardView.getBigUint64(footerStart + 16, true)); + const fileLookupStart = Number(shardView.getBigUint64(footerStart + 24, true)); + const hmacKey = readHashFromArray(shard, footerStart + 72); + const xorbs = []; + let offset = xorbInfoStart; + while (offset < fileLookupStart) { + const xorbHash = readHashFromArray(shard, offset); + offset += HASH_LENGTH; + if (xorbHash === XORB_HASH_BOOKEND) { + break; + } + offset += 4; + const chunkCount = shardView.getUint32(offset, true); + offset += 4; + offset += 4; + offset += 4; + const chunks = []; + for (let i = 0; i < chunkCount; i++) { + const chunkHash = readHashFromArray(shard, offset); + offset += HASH_LENGTH; + const startOffset = shardView.getUint32(offset, true); + offset += 4; + const length = shardView.getUint32(offset, true); + offset += 4; + offset += 8; + chunks.push({ + hash: chunkHash, + startOffset, + unpackedLength: length + }); + } + xorbs.push({ + hash: xorbHash, + chunks + }); + } + return { + hmacKey, + xorbs + }; +} + +// src/utils/sum.ts +function sum(arr) { + return arr.reduce((a, b) => a + b, 0); +} + +// src/utils/SplicedBlob.ts +var SplicedBlob = class extends Blob { + originalBlob; + spliceOperations; + constructor(originalBlob, spliceOperations) { + super(); + this.originalBlob = originalBlob; + this.spliceOperations = spliceOperations; + } + static create(originalBlob, operations) { + for (const op of operations) { + if (op.start < 0 || op.end < 0) { + throw new Error("Invalid start/end positions for SplicedBlob"); + } + if (op.start > originalBlob.size || op.end > originalBlob.size) { + throw new Error("Invalid start/end positions for SplicedBlob"); + } + if (op.start > op.end) { + throw new Error("Invalid start/end positions for SplicedBlob"); + } + } + const sortedOps = [...operations].sort((a, b) => a.start - b.start); + for (let i = 0; i < sortedOps.length - 1; i++) { + if (sortedOps[i].end > sortedOps[i + 1].start) { + throw new Error("Overlapping splice operations are not supported"); + } + } + return new SplicedBlob(originalBlob, sortedOps); + } + /** + * Returns the size of the spliced blob. + * Size = original size - total replaced size + total insert size + */ + get size() { + let totalReplacedSize = 0; + let totalInsertSize = 0; + for (const op of this.spliceOperations) { + totalReplacedSize += op.end - op.start; + totalInsertSize += op.insert.size; + } + return this.originalBlob.size - totalReplacedSize + totalInsertSize; + } + /** + * Returns the MIME type of the original blob. + */ + get type() { + return this.originalBlob.type; + } + /** + * Returns a new instance of SplicedBlob that is a slice of the current one. + * + * The slice is inclusive of the start and exclusive of the end. + * The slice method does not support negative start/end. + * + * @param start beginning of the slice + * @param end end of the slice + */ + slice(start = 0, end = this.size) { + if (start < 0 || end < 0) { + throw new TypeError("Unsupported negative start/end on SplicedBlob.slice"); + } + start = Math.min(start, this.size); + end = Math.min(end, this.size); + if (start >= end) { + return new Blob([]); + } + const segments = this.segments; + const segmentBoundaries = [0]; + let cumulativeSize = 0; + for (const segment of segments) { + cumulativeSize += segment.size; + segmentBoundaries.push(cumulativeSize); + } + const resultSegments = []; + for (let i = 0; i < segments.length; i++) { + const segmentStart = segmentBoundaries[i]; + const segmentEnd = segmentBoundaries[i + 1]; + if (segmentEnd <= start) { + continue; + } + if (segmentStart >= end) { + break; + } + const sliceStart = Math.max(0, start - segmentStart); + const sliceEnd = Math.min(segments[i].size, end - segmentStart); + if (sliceStart < sliceEnd) { + resultSegments.push(segments[i].slice(sliceStart, sliceEnd)); + } + } + return new Blob(resultSegments); + } + get firstSpliceIndex() { + return this.spliceOperations[0]?.start ?? Infinity; + } + /** + * Read the spliced blob content and returns it as an ArrayBuffer. + */ + async arrayBuffer() { + const segments = this.segments; + const buffers = await Promise.all(segments.map((segment) => segment.arrayBuffer())); + const totalSize = sum(buffers.map((buffer) => buffer.byteLength)); + const result = new Uint8Array(totalSize); + let offset = 0; + for (const buffer of buffers) { + result.set(new Uint8Array(buffer), offset); + offset += buffer.byteLength; + } + return result.buffer; + } + /** + * Read the spliced blob content and returns it as a string. + */ + async text() { + const buffer = await this.arrayBuffer(); + return new TextDecoder().decode(buffer); + } + /** + * Returns a stream around the spliced blob content. + */ + stream() { + const readable = new ReadableStream({ + start: async (controller) => { + try { + const segments = this.segments; + for (const segment of segments) { + const reader = segment.stream().getReader(); + try { + while (true) { + const { done, value } = await reader.read(); + if (done) { + break; + } + controller.enqueue(value); + } + } finally { + reader.releaseLock(); + } + } + controller.close(); + } catch (error) { + controller.error(error); + } + } + }); + return readable; + } + /** + * Get all segments that make up the spliced blob. + * This includes original blob segments between splice operations and insert blobs. + */ + get segments() { + const segments = []; + let currentPosition = 0; + const sortedOps = [...this.spliceOperations].sort((a, b) => a.start - b.start); + for (const op of sortedOps) { + if (currentPosition < op.start) { + segments.push(this.originalBlob.slice(currentPosition, op.start)); + } + if (op.insert.size > 0) { + segments.push(op.insert); + } + currentPosition = op.end; + } + if (currentPosition < this.originalBlob.size) { + segments.push(this.originalBlob.slice(currentPosition)); + } + return segments; + } +}; + +// src/utils/createXorbs.ts +var TARGET_CHUNK_SIZE = 64 * 1024; +var MAX_CHUNK_SIZE = 2 * TARGET_CHUNK_SIZE; +var XORB_SIZE = 64 * 1024 * 1024; +var MAX_XORB_CHUNKS = 8 * 1024; +var INTERVAL_BETWEEN_REMOTE_DEDUP = 4e6; +var PROCESSING_PROGRESS_RATIO = 0.1; +var UPLOADING_PROGRESS_RATIO = 1 - PROCESSING_PROGRESS_RATIO; +var CurrentXorbInfo = class { + id; + offset; + chunks; + fileProcessedBytes; + fileUploadedBytes; + fileSize; + data; + immutableData; + constructor() { + this.id = 0; + this.offset = 0; + this.chunks = []; + this.fileProcessedBytes = {}; + this.fileUploadedBytes = {}; + this.fileSize = {}; + this.data = new Uint8Array(XORB_SIZE); + this.immutableData = null; + } + event(computeXorbHash) { + const xorbChunksCleaned = this.chunks.map((chunk2) => ({ + hash: chunk2.hash, + length: chunk2.length + })); + return { + event: "xorb", + xorb: this.data.subarray(0, this.offset), + hash: computeXorbHash(xorbChunksCleaned), + chunks: xorbChunksCleaned, + id: this.id, + files: Object.entries(this.fileProcessedBytes).map(([path2, processedBytes]) => ({ + path: path2, + progress: processedBytes / this.fileSize[path2], + lastSentProgress: ((this.fileUploadedBytes[path2] ?? 0) + (processedBytes - (this.fileUploadedBytes[path2] ?? 0)) * PROCESSING_PROGRESS_RATIO) / this.fileSize[path2] + })) + }; + } +}; +async function* createXorbs(fileSources, params) { + const alreadyDoneFileSha256s = /* @__PURE__ */ new Set(); + const chunkModule = await Promise.resolve().then(() => (init_chunker_wasm(), chunker_wasm_exports)); + let xorbId = 0; + await chunkModule.init(); + const chunkCache = new ChunkCache(); + let xorb = new CurrentXorbInfo(); + const nextXorb = (currentFile) => { + const event = xorb.event(chunkModule.compute_xorb_hash.bind(chunkModule)); + xorbId++; + xorb = new CurrentXorbInfo(); + xorb.id = xorbId; + xorb.fileUploadedBytes = { + [currentFile.path]: currentFile.uploadedBytes + }; + xorb.fileSize[currentFile.path] = currentFile.size; + return event; + }; + const pendingFileEvents = []; + const remoteXorbHashes = [""]; + for await (const fileSource of fileSources) { + params.yieldCallback?.({ + event: "fileProgress", + path: fileSource.path, + progress: 0 + }); + if (fileSource.sha256 && alreadyDoneFileSha256s.has(fileSource.sha256)) { + params.yieldCallback?.({ + event: "fileProgress", + path: fileSource.path, + progress: 1 + }); + continue; + } + if (fileSource.sha256) { + alreadyDoneFileSha256s.add(fileSource.sha256); + } + const chunker = new chunkModule.Chunker(TARGET_CHUNK_SIZE); + try { + xorb.fileSize[fileSource.path] = fileSource.content.size; + if (fileSource.content instanceof SplicedBlob && fileSource.content.firstSpliceIndex < MAX_CHUNK_SIZE) { + await loadDedupInfoToCache( + fileSource.content.originalBlob.slice(0, MAX_CHUNK_SIZE), + remoteXorbHashes, + params, + chunkCache, + chunkModule, + { + maxChunks: 1, + isAtBeginning: true + } + ); + } + let bytesSinceRemoteDedup = Infinity; + let bytesSinceLastProgressEvent = 0; + let isFirstFileChunk = true; + const sourceChunks = []; + const reader = fileSource.content.stream().getReader(); + let processedBytes = 0; + let dedupedBytes = 0; + const fileChunks = []; + const chunkMetadata = []; + const addChunks = async function* (chunks) { + for (const chunk2 of chunks) { + if (isFirstFileChunk) { + chunk2.dedup = true; + isFirstFileChunk = false; + } + let chunkIndex = xorb.chunks.length; + let chunkXorbId = xorbId; + const chunkToCopy = removeChunkFromSourceData(sourceChunks, chunk2.length); + let cacheData = chunkCache.getChunk(chunk2.hash, chunkModule.compute_hmac); + if (cacheData === void 0 && chunk2.dedup && bytesSinceRemoteDedup >= INTERVAL_BETWEEN_REMOTE_DEDUP) { + const token = await xetWriteToken(params); + bytesSinceRemoteDedup = 0; + const shardResp = await (params.fetch ?? fetch)(token.casUrl + "/v1/chunks/default/" + chunk2.hash, { + headers: { + Authorization: `Bearer ${token.accessToken}` + } + }); + if (shardResp.ok) { + const shard = await shardResp.blob(); + const shardData = await parseShardData(shard); + for (const xorb2 of shardData.xorbs) { + const remoteXorbId = -remoteXorbHashes.length; + remoteXorbHashes.push(xorb2.hash); + let i = 0; + for (const chunk3 of xorb2.chunks) { + chunkCache.addChunkToCache(chunk3.hash, remoteXorbId, i++, shardData.hmacKey); + } + } + cacheData = chunkCache.getChunk(chunk2.hash, chunkModule.compute_hmac); + const oldDedupedBytes = dedupedBytes; + dedupedBytes = backtrackDedup( + xorb, + chunkModule.compute_hmac.bind(chunkModule), + shardData, + chunkCache, + chunkMetadata, + dedupedBytes + ); + if (dedupedBytes > oldDedupedBytes) { + xorb.fileUploadedBytes[fileSource.path] ??= 0; + xorb.fileUploadedBytes[fileSource.path] += dedupedBytes - oldDedupedBytes; + } + } + } + if (cacheData === void 0) { + if (!writeChunk(xorb, chunkToCopy, chunk2.hash)) { + yield nextXorb({ path: fileSource.path, uploadedBytes: processedBytes, size: fileSource.content.size }); + chunkIndex = 0; + chunkXorbId = xorbId; + for (const event of pendingFileEvents) { + event.representation = event.representation.map((rep) => ({ + ...rep, + xorbId: rep.xorbId >= 0 ? rep.xorbId : remoteXorbHashes[-rep.xorbId] + })); + yield event; + } + pendingFileEvents.length = 0; + if (!writeChunk(xorb, chunkToCopy, chunk2.hash)) { + throw new Error("Failed to write chunk into xorb"); + } + } + chunkCache.addChunkToCache(chunk2.hash, xorbId, chunkIndex, null); + } else { + chunkXorbId = cacheData.xorbIndex; + chunkIndex = cacheData.chunkIndex; + dedupedBytes += chunk2.length; + xorb.fileUploadedBytes[fileSource.path] ??= 0; + xorb.fileUploadedBytes[fileSource.path] += chunk2.length; + } + bytesSinceRemoteDedup += chunk2.length; + bytesSinceLastProgressEvent += chunk2.length; + fileChunks.push({ hash: chunk2.hash, length: chunk2.length }); + chunkMetadata.push({ + xorbId: chunkXorbId, + chunkIndex, + length: chunk2.length + }); + xorb.fileProcessedBytes[fileSource.path] = processedBytes; + if (bytesSinceLastProgressEvent >= 1e6) { + bytesSinceLastProgressEvent = 0; + params.yieldCallback?.({ + event: "fileProgress", + path: fileSource.path, + progress: ((xorb.fileUploadedBytes[fileSource.path] ?? 0) + (xorb.fileProcessedBytes[fileSource.path] - (xorb.fileUploadedBytes[fileSource.path] ?? 0)) * PROCESSING_PROGRESS_RATIO) / fileSource.content.size + }); + } + if (xorb.chunks.length >= MAX_XORB_CHUNKS) { + yield nextXorb({ path: fileSource.path, uploadedBytes: processedBytes, size: fileSource.content.size }); + for (const event of pendingFileEvents) { + event.representation = event.representation.map((rep) => ({ + ...rep, + xorbId: rep.xorbId >= 0 ? rep.xorbId : remoteXorbHashes[-rep.xorbId] + })); + yield event; + } + pendingFileEvents.length = 0; + } + } + }; + while (true) { + const { done, value } = await reader.read(); + if (done) { + yield* addChunks(chunker.finish()); + break; + } + processedBytes += value.length; + sourceChunks.push(value); + yield* addChunks(chunker.add_data(value)); + } + const fileRepresentation = buildFileRepresentation( + chunkMetadata, + fileChunks, + chunkModule.compute_verification_hash.bind(chunkModule) + ); + xorb.immutableData = { + chunkIndex: xorb.chunks.length, + offset: xorb.offset + }; + const dedupRatio = fileSource.content.size > 0 ? dedupedBytes / fileSource.content.size : 0; + pendingFileEvents.push({ + event: "file", + path: fileSource.path, + hash: chunkModule.compute_file_hash(fileChunks), + sha256: fileSource.sha256, + dedupRatio, + representation: fileRepresentation + }); + } finally { + chunker.free(); + } + } + if (xorb.offset > 0) { + yield xorb.event(chunkModule.compute_xorb_hash.bind(chunkModule)); + } + for (const event of pendingFileEvents) { + event.representation = event.representation.map((rep) => ({ + ...rep, + xorbId: rep.xorbId >= 0 ? rep.xorbId : remoteXorbHashes[-rep.xorbId] + })); + yield event; + } +} +function backtrackDedup(xorb, computeHmac, shardData, chunkCache, chunkMetadata, dedupedBytes) { + const chunkIndexesToBacktrackFor = /* @__PURE__ */ new Map(); + for (let chunkToRecheckIndex = xorb.immutableData?.chunkIndex ?? 0; chunkToRecheckIndex < xorb.chunks.length; chunkToRecheckIndex++) { + const chunk2 = xorb.chunks[chunkToRecheckIndex]; + const hmacHash = computeHmac(chunk2.hash, shardData.hmacKey); + const cacheData = chunkCache.getChunk(hmacHash, null); + if (cacheData !== void 0) { + chunkIndexesToBacktrackFor.set(chunkToRecheckIndex, { + xorbId: cacheData.xorbIndex, + chunkIndex: cacheData.chunkIndex + }); + chunkCache.removeChunkFromCache(chunk2.hash); + } + } + for (const metadata of chunkMetadata) { + if (metadata.xorbId === xorb.id && chunkIndexesToBacktrackFor.has(metadata.chunkIndex)) { + const backtrackData = chunkIndexesToBacktrackFor.get(metadata.chunkIndex); + if (backtrackData !== void 0) { + metadata.xorbId = backtrackData.xorbId; + metadata.chunkIndex = backtrackData.chunkIndex; + dedupedBytes += metadata.length; + } + } + } + const xorbRangesToErase = []; + for (let i = 0; i < xorb.chunks.length; i++) { + const chunk2 = xorb.chunks[i]; + if (chunkIndexesToBacktrackFor.has(i)) { + xorbRangesToErase.push({ + start: chunk2.offset, + end: i < xorb.chunks.length - 1 ? xorb.chunks[i + 1].offset : xorb.offset + }); + } + } + const xorbRangesToKeep = []; + let currentStart = 0; + for (let i = 0; i < xorbRangesToErase.length; i++) { + const range2 = xorbRangesToErase[i]; + if (currentStart !== range2.start) { + xorbRangesToKeep.push({ start: currentStart, end: range2.start }); + } + currentStart = range2.end; + } + if (currentStart !== xorb.offset) { + xorbRangesToKeep.push({ start: currentStart, end: xorb.offset }); + } + let currentOffset = 0; + for (const range2 of xorbRangesToKeep) { + if (range2.start !== currentOffset) { + xorb.data.set(xorb.data.subarray(range2.start, range2.end), currentOffset); + } + currentOffset += range2.end - range2.start; + } + const newXorbChunks = []; + const oldIndexToNewIndex = /* @__PURE__ */ new Map(); + let erasedOffset = 0; + for (let i = 0; i < xorb.chunks.length; i++) { + const chunk2 = xorb.chunks[i]; + if (chunkIndexesToBacktrackFor.has(i)) { + if (i < xorb.chunks.length - 1) { + erasedOffset += xorb.chunks[i + 1].offset - chunk2.offset; + } + } else { + newXorbChunks.push({ + hash: chunk2.hash, + length: chunk2.length, + offset: chunk2.offset - erasedOffset + }); + if (erasedOffset > 0) { + oldIndexToNewIndex.set(i, newXorbChunks.length - 1); + } + } + } + xorb.chunks = newXorbChunks; + xorb.offset = currentOffset; + for (const chunk2 of chunkMetadata) { + if (chunk2.xorbId === xorb.id) { + const newIndex = oldIndexToNewIndex.get(chunk2.chunkIndex); + if (newIndex !== void 0) { + const cached = chunkCache.getChunk(xorb.chunks[newIndex].hash, null); + if (cached !== void 0 && cached.xorbIndex === chunk2.xorbId && cached.chunkIndex === chunk2.chunkIndex) { + chunkCache.updateChunkIndex(xorb.chunks[newIndex].hash, newIndex); + } + chunk2.chunkIndex = newIndex; + } + } + } + return dedupedBytes; +} +function removeChunkFromSourceData(sourceChunks, chunkLength) { + if (chunkLength === sourceChunks[0].length) { + const chunkToCopy = sourceChunks[0]; + sourceChunks.shift(); + return chunkToCopy; + } else if (chunkLength < sourceChunks[0].length) { + const chunkToCopy = sourceChunks[0].subarray(0, chunkLength); + sourceChunks[0] = sourceChunks[0].subarray(chunkLength); + return chunkToCopy; + } else { + const chunkToCopy = new Uint8Array(chunkLength); + let copyOffset = 0; + let index = 0; + let toSlice = -1; + while (copyOffset < chunkLength) { + const nToCopy = Math.min(sourceChunks[index].length, chunkLength - copyOffset); + chunkToCopy.set(sourceChunks[index].subarray(0, nToCopy), copyOffset); + copyOffset += nToCopy; + if (nToCopy === sourceChunks[index].length) { + index++; + } else { + toSlice = nToCopy; + } + } + sourceChunks.splice(0, index); + if (toSlice !== -1) { + sourceChunks[0] = sourceChunks[0].subarray(toSlice); + } + return chunkToCopy; + } +} +function writeChunk(xorb, chunk2, hash2) { + const regularCompressedChunk = compress(chunk2); + const bgCompressedChunk = compress(bg4_split_bytes(chunk2)); + const compressedChunk = bgCompressedChunk.length < regularCompressedChunk.length ? bgCompressedChunk : regularCompressedChunk; + const chunkToWrite = compressedChunk.length < chunk2.length ? compressedChunk : chunk2; + if (xorb.offset + XET_CHUNK_HEADER_BYTES + chunkToWrite.length > XORB_SIZE) { + return false; + } + xorb.data[xorb.offset] = 0; + xorb.data[xorb.offset + 1] = chunkToWrite.length & 255; + xorb.data[xorb.offset + 2] = chunkToWrite.length >> 8 & 255; + xorb.data[xorb.offset + 3] = chunkToWrite.length >> 16 & 255; + xorb.data[xorb.offset + 4] = chunkToWrite.length < chunk2.length ? bgCompressedChunk.length < regularCompressedChunk.length ? 2 /* ByteGroupingLZ4 */ : 1 /* LZ4 */ : 0 /* None */; + xorb.data[xorb.offset + 5] = chunk2.length & 255; + xorb.data[xorb.offset + 6] = chunk2.length >> 8 & 255; + xorb.data[xorb.offset + 7] = chunk2.length >> 16 & 255; + xorb.data.set(chunkToWrite, xorb.offset + XET_CHUNK_HEADER_BYTES); + xorb.chunks.push({ hash: hash2, length: chunk2.length, offset: xorb.offset }); + xorb.offset += XET_CHUNK_HEADER_BYTES + chunkToWrite.length; + return true; +} +var buildFileRepresentation = (metadata, chunks, computeVerificationHash) => { + if (metadata.length === 0) { + return []; + } + const representation = []; + let currentRange = { + xorbId: metadata[0].xorbId, + indexStart: metadata[0].chunkIndex, + indexEnd: metadata[0].chunkIndex + 1, + length: metadata[0].length, + chunkHashStart: 0 + }; + for (let i = 1; i < metadata.length; i++) { + const chunk2 = metadata[i]; + if (currentRange.xorbId === chunk2.xorbId && currentRange.indexEnd === chunk2.chunkIndex) { + currentRange.indexEnd = chunk2.chunkIndex + 1; + currentRange.length += chunk2.length; + } else { + const rangeHash2 = computeVerificationHash(chunks.slice(currentRange.chunkHashStart, i).map((x) => x.hash)); + representation.push({ + xorbId: currentRange.xorbId, + indexStart: currentRange.indexStart, + indexEnd: currentRange.indexEnd, + length: currentRange.length, + rangeHash: rangeHash2 + }); + currentRange = { + xorbId: chunk2.xorbId, + indexStart: chunk2.chunkIndex, + indexEnd: chunk2.chunkIndex + 1, + length: chunk2.length, + chunkHashStart: i + }; + } + } + const rangeHash = computeVerificationHash(chunks.slice(currentRange.chunkHashStart).map((x) => x.hash)); + representation.push({ + xorbId: currentRange.xorbId, + indexStart: currentRange.indexStart, + indexEnd: currentRange.indexEnd, + length: currentRange.length, + rangeHash + }); + return representation; +}; +async function loadDedupInfoToCache(content, remoteXorbHashes, params, chunkCache, chunkModule, opts) { + const chunker = new chunkModule.Chunker(TARGET_CHUNK_SIZE); + const cache = chunkCache; + let dedupedBytes = 0; + let chunksProcessed = 0; + let totalBytes = 0; + let bytesSinceRemoteDedup = Infinity; + const sourceChunks = []; + try { + const reader = content.stream().getReader(); + const processChunks = async (chunkData) => { + for (const chunk2 of chunkData) { + chunksProcessed++; + if (opts?.isAtBeginning && chunksProcessed === 1) { + chunk2.dedup = true; + } + totalBytes += chunk2.length; + removeChunkFromSourceData(sourceChunks, chunk2.length); + let cacheData = cache.getChunk(chunk2.hash, chunkModule.compute_hmac); + if (cacheData !== void 0) { + dedupedBytes += chunk2.length; + bytesSinceRemoteDedup += chunk2.length; + continue; + } + if (chunk2.dedup && bytesSinceRemoteDedup >= INTERVAL_BETWEEN_REMOTE_DEDUP) { + const token = await xetWriteToken(params); + bytesSinceRemoteDedup = 0; + const shardResp = await (params.fetch ?? fetch)(token.casUrl + "/v1/chunks/default/" + chunk2.hash, { + headers: { + Authorization: `Bearer ${token.accessToken}` + } + }); + if (shardResp.ok) { + const shard = await shardResp.blob(); + const shardData = await parseShardData(shard); + for (const xorb of shardData.xorbs) { + const remoteXorbId = -remoteXorbHashes.length; + remoteXorbHashes.push(xorb.hash); + let i = 0; + for (const xorbChunk of xorb.chunks) { + cache.addChunkToCache(xorbChunk.hash, remoteXorbId, i++, shardData.hmacKey); + } + } + cacheData = cache.getChunk(chunk2.hash, chunkModule.compute_hmac); + } + } + if (cacheData !== void 0) { + dedupedBytes += chunk2.length; + } + bytesSinceRemoteDedup += chunk2.length; + } + }; + while (true) { + if (opts?.end !== void 0 && totalBytes >= opts.end) { + break; + } + if (opts?.maxChunks !== void 0 && chunksProcessed >= opts.maxChunks) { + break; + } + const { done, value } = await reader.read(); + if (done) { + await processChunks(chunker.finish()); + break; + } + sourceChunks.push(value); + await processChunks(chunker.add_data(value)); + } + } finally { + chunker.free(); + } +} + +// src/utils/uploadShards.ts +var SHARD_MAX_SIZE = 64 * 1024 * 1024; +var SHARD_HEADER_SIZE = 48; +var SHARD_FOOTER_SIZE = 200; +var HASH_LENGTH2 = 32; +var XORB_FOOTER_LENGTH = 48; +var FILE_FOOTER_LENGTH = 48; +var SHARD_HEADER_VERSION = 2n; +var SHARD_FOOTER_VERSION = 1n; +var MDB_FILE_FLAG_WITH_VERIFICATION = 2147483648; +var MDB_FILE_FLAG_WITH_METADATA_EXT = 1073741824; +var EMPTY_HEX_HASH = "0".repeat(HASH_LENGTH2 * 2); +var SHARD_MAGIC_TAG = new Uint8Array([ + "H".charCodeAt(0), + "F".charCodeAt(0), + "R".charCodeAt(0), + "e".charCodeAt(0), + "p".charCodeAt(0), + "o".charCodeAt(0), + "M".charCodeAt(0), + "e".charCodeAt(0), + "t".charCodeAt(0), + "a".charCodeAt(0), + "D".charCodeAt(0), + "a".charCodeAt(0), + "t".charCodeAt(0), + "a".charCodeAt(0), + 0, + 85, + 105, + 103, + 69, + 106, + 123, + 129, + 87, + 131, + 165, + 189, + 217, + 92, + 205, + 209, + 74, + 169 +]); +async function* uploadShards(source, params) { + const xorbHashes = []; + const fileInfoSection = new Uint8Array(Math.floor(SHARD_MAX_SIZE - SHARD_HEADER_SIZE - SHARD_FOOTER_SIZE) * 0.25); + const xorbInfoSection = new Uint8Array(Math.floor(SHARD_MAX_SIZE - SHARD_HEADER_SIZE - SHARD_FOOTER_SIZE) * 0.75); + const xorbView = new DataView(xorbInfoSection.buffer); + let xorbViewOffset = 0; + const fileInfoView = new DataView(fileInfoSection.buffer); + let fileViewOffset = 0; + let xorbTotalSize = 0n; + let fileTotalSize = 0n; + let xorbTotalUnpackedSize = 0n; + for await (const output of createXorbs(source, params)) { + switch (output.event) { + case "xorb": { + xorbHashes.push(output.hash); + const xorbEntrySize = HASH_LENGTH2 + 4 + 4 + 4 + 4; + const chunksSize = output.chunks.length * (HASH_LENGTH2 + 4 + 4 + 8); + const totalXorbSize = xorbEntrySize + chunksSize; + if (xorbViewOffset + totalXorbSize > xorbInfoSection.length) { + if (xorbViewOffset > 0 || fileViewOffset > 0) { + await uploadShard(createShard(), params); + } + } + writeHashToArray(output.hash, xorbInfoSection, xorbViewOffset); + xorbViewOffset += HASH_LENGTH2; + xorbView.setUint32(xorbViewOffset, 0, true); + xorbViewOffset += 4; + xorbView.setUint32(xorbViewOffset, output.chunks.length, true); + xorbViewOffset += 4; + const xorbUnpackedSize = sum(output.chunks.map((x) => x.length)); + xorbView.setUint32(xorbViewOffset, xorbUnpackedSize, true); + xorbTotalUnpackedSize += BigInt(xorbUnpackedSize); + xorbTotalSize += BigInt(output.xorb.byteLength); + xorbViewOffset += 4; + xorbView.setUint32(xorbViewOffset, output.xorb.byteLength, true); + xorbViewOffset += 4; + let chunkBytes = 0; + for (const chunk2 of output.chunks) { + writeHashToArray(chunk2.hash, xorbInfoSection, xorbViewOffset); + xorbViewOffset += HASH_LENGTH2; + xorbView.setUint32(xorbViewOffset, chunkBytes, true); + xorbViewOffset += 4; + xorbView.setUint32(xorbViewOffset, chunk2.length, true); + xorbViewOffset += 4; + xorbView.setBigUint64(xorbViewOffset, 0n, true); + xorbViewOffset += 8; + chunkBytes += chunk2.length; + } + for (const file of output.files) { + yield { + event: "fileProgress", + path: file.path, + progress: file.lastSentProgress + }; + } + await uploadXorb(output, params); + for (const file of output.files) { + yield { event: "fileProgress", path: file.path, progress: file.progress }; + } + break; + } + case "file": { + yield { + event: "file", + path: output.path, + xetHash: output.hash, + sha256: output.sha256, + dedupRatio: output.dedupRatio + }; + const fileHeaderSize = HASH_LENGTH2 + 4 + 4 + 8; + const representationSize = output.representation.length * (HASH_LENGTH2 + 4 + 4 + 4 + 4); + const verificationSize = output.representation.length * (HASH_LENGTH2 + 16); + const metadataSize = HASH_LENGTH2 + 16; + const totalFileSize = fileHeaderSize + representationSize + verificationSize + metadataSize; + if (fileViewOffset + totalFileSize > fileInfoSection.length) { + if (xorbViewOffset > 0 || fileViewOffset > 0) { + await uploadShard(createShard(), params); + } + } + writeHashToArray(output.hash, fileInfoSection, fileViewOffset); + fileViewOffset += HASH_LENGTH2; + fileInfoView.setUint32(fileViewOffset, MDB_FILE_FLAG_WITH_METADATA_EXT + MDB_FILE_FLAG_WITH_VERIFICATION, true); + fileViewOffset += 4; + fileInfoView.setUint32(fileViewOffset, output.representation.length, true); + fileViewOffset += 4; + fileInfoView.setBigUint64(fileViewOffset, 0n, true); + fileViewOffset += 8; + for (const repItem of output.representation) { + writeHashToArray( + typeof repItem.xorbId === "number" ? xorbHashes[repItem.xorbId] : repItem.xorbId, + fileInfoSection, + fileViewOffset + ); + fileViewOffset += HASH_LENGTH2; + fileInfoView.setUint32(fileViewOffset, 0, true); + fileViewOffset += 4; + fileInfoView.setUint32(fileViewOffset, repItem.length, true); + fileViewOffset += 4; + fileInfoView.setUint32(fileViewOffset, repItem.indexStart, true); + fileViewOffset += 4; + fileInfoView.setUint32(fileViewOffset, repItem.indexEnd, true); + fileViewOffset += 4; + } + for (const repItem of output.representation) { + writeHashToArray(repItem.rangeHash, fileInfoSection, fileViewOffset); + fileViewOffset += HASH_LENGTH2; + for (let i = 0; i < 16; i++) { + fileInfoSection[fileViewOffset + i] = 0; + } + fileViewOffset += 16; + } + writeHashToArray(output.sha256 ?? EMPTY_HEX_HASH, fileInfoSection, fileViewOffset); + fileViewOffset += HASH_LENGTH2; + for (let i = 0; i < 16; i++) { + fileInfoSection[fileViewOffset + i] = 0; + } + fileViewOffset += 16; + break; + } + } + } + function createShard() { + const shard = new Uint8Array( + SHARD_HEADER_SIZE + SHARD_FOOTER_SIZE + xorbViewOffset + XORB_FOOTER_LENGTH + fileViewOffset + FILE_FOOTER_LENGTH + ); + const shardView = new DataView(shard.buffer); + let shardOffset = 0; + shard.set(SHARD_MAGIC_TAG, shardOffset); + shardOffset += SHARD_MAGIC_TAG.length; + shardView.setBigUint64(shardOffset, SHARD_HEADER_VERSION, true); + shardOffset += 8; + shardView.setBigUint64(shardOffset, BigInt(SHARD_FOOTER_SIZE), true); + shardOffset += 8; + shard.set(fileInfoSection.slice(0, fileViewOffset), shardOffset); + shardOffset += fileViewOffset; + for (let i = 0; i < 32; i++) { + shard[shardOffset + i] = 255; + } + shardOffset += 32; + for (let i = 0; i < 16; i++) { + shard[shardOffset + i] = 0; + } + shardOffset += 16; + const xorbInfoOffset = shardOffset; + shard.set(xorbInfoSection.slice(0, xorbViewOffset), shardOffset); + shardOffset += xorbViewOffset; + for (let i = 0; i < 32; i++) { + shard[shardOffset + i] = 255; + } + shardOffset += 32; + for (let i = 0; i < 16; i++) { + shard[shardOffset + i] = 0; + } + shardOffset += 16; + const footerOffset = shardOffset; + shardView.setBigUint64(shardOffset, SHARD_FOOTER_VERSION, true); + shardOffset += 8; + shardView.setBigUint64(shardOffset, BigInt(SHARD_HEADER_SIZE), true); + shardOffset += 8; + shardView.setBigUint64(shardOffset, BigInt(xorbInfoOffset), true); + shardOffset += 8; + for (let i = 0; i < 48; i++) { + shardView.setUint8(shardOffset + i, 0); + } + shardOffset += 48; + for (let i = 0; i < 32; i++) { + shardView.setUint8(shardOffset + i, 0); + } + shardOffset += 32; + shardView.setBigUint64(shardOffset, BigInt(Math.floor(Date.now() / 1e3)), true); + shardOffset += 8; + shardView.setBigUint64(shardOffset, 0n, true); + shardOffset += 8; + for (let i = 0; i < 48; i++) { + shardView.setUint8(shardOffset + i, 0); + } + shardOffset += 48; + shardView.setBigUint64(shardOffset, xorbTotalSize, true); + shardOffset += 8; + shardView.setBigUint64(shardOffset, fileTotalSize, true); + shardOffset += 8; + shardView.setBigUint64(shardOffset, xorbTotalUnpackedSize, true); + shardOffset += 8; + shardView.setBigUint64(shardOffset, BigInt(footerOffset), true); + xorbViewOffset = 0; + fileViewOffset = 0; + xorbTotalSize = 0n; + xorbTotalUnpackedSize = 0n; + fileTotalSize = 0n; + return shard; + } + if (xorbViewOffset || fileViewOffset) { + await uploadShard(createShard(), params); + } +} +function writeHashToArray(hash2, array, offset) { + for (let i = 0; i < hash2.length; i += 16) { + array[offset + i / 2] = parseInt(hash2.substring(i + 2 * 7, i + 2 * 8), 16); + array[offset + i / 2 + 1] = parseInt(hash2.substring(i + 2 * 6, i + 2 * 7), 16); + array[offset + i / 2 + 2] = parseInt(hash2.substring(i + 2 * 5, i + 2 * 6), 16); + array[offset + i / 2 + 3] = parseInt(hash2.substring(i + 2 * 4, i + 2 * 5), 16); + array[offset + i / 2 + 4] = parseInt(hash2.substring(i + 2 * 3, i + 2 * 4), 16); + array[offset + i / 2 + 5] = parseInt(hash2.substring(i + 2 * 2, i + 2 * 3), 16); + array[offset + i / 2 + 6] = parseInt(hash2.substring(i + 2 * 1, i + 2 * 2), 16); + array[offset + i / 2 + 7] = parseInt(hash2.substring(i + 2 * 0, i + 2 * 1), 16); + } +} +async function uploadXorb(xorb, params) { + const token = await xetWriteToken(params); + const resp = await (params.fetch ?? fetch)(`${token.casUrl}/v1/xorbs/default/${xorb.hash}`, { + method: "POST", + body: xorb.xorb, + headers: { + Authorization: `Bearer ${token.accessToken}`, + ...params.xetParams.sessionId ? { "X-Xet-Session-Id": params.xetParams.sessionId } : {} + }, + ...{ + progressHint: { + progressCallback: (progress) => { + for (const file of xorb.files) { + params.yieldCallback?.({ + event: "fileProgress", + path: file.path, + progress: file.lastSentProgress + (file.progress - file.lastSentProgress) * progress + }); + } + } + } + } + }); + if (!resp.ok) { + throw await createApiError(resp); + } +} +async function uploadShard(shard, params) { + const token = await xetWriteToken(params); + const resp = await (params.fetch ?? fetch)(`${token.casUrl}/v1/shards`, { + method: "POST", + body: shard, + headers: { + Authorization: `Bearer ${token.accessToken}`, + ...params.xetParams.sessionId ? { "X-Xet-Session-Id": params.xetParams.sessionId } : {} + } + }); + if (!resp.ok) { + throw await createApiError(resp); + } +} + +// src/utils/splitAsyncGenerator.ts +function splitAsyncGenerator(source, n) { + if (n <= 0) { + return []; + } + const sleep = (ms) => new Promise((resolve3) => setTimeout(resolve3, ms)); + let takenIndex = null; + const generators = []; + let remaining = n; + for (let i = 0; i < n; i++) { + generators.push({ + next: async () => { + while (takenIndex !== null) { + await sleep(1); + } + takenIndex = i; + return source.next().then((r) => { + takenIndex = null; + return r; + }); + }, + return: async () => { + remaining--; + if (remaining === 0) { + return source.return(void 0); + } + return { + done: true, + value: void 0 + }; + }, + throw: async (error) => { + return source.throw(error); + }, + [Symbol.asyncIterator]: () => generators[i] + }); + } + return generators; +} + +// src/lib/commit.ts +var CONCURRENT_SHAS = 5; +var CONCURRENT_LFS_UPLOADS = 5; +var MULTIPART_PARALLEL_UPLOAD = 5; +function isFileOperation(op) { + const ret = op.operation === "addOrUpdate"; + if (ret && !(op.content instanceof Blob)) { + throw new TypeError("Precondition failed: op.content should be a Blob"); + } + return ret; +} +async function* commitIter(params) { + const accessToken = checkCredentials(params); + const repoId = toRepoId(params.repo); + if (repoId.type === "bucket") { + return yield* commitIterBucket(params); + } + yield { event: "phase", phase: "preuploading" }; + let useXet = params.useXet ?? true; + const lfsShas = /* @__PURE__ */ new Map(); + const abortController = new AbortController(); + const abortSignal = abortController.signal; + if (!abortSignal.throwIfAborted) { + abortSignal.throwIfAborted = () => { + if (abortSignal.aborted) { + throw new DOMException("Aborted", "AbortError"); + } + }; + } + if (params.abortSignal) { + params.abortSignal.addEventListener("abort", () => abortController.abort()); + } + try { + const allOperations = (await Promise.all( + params.operations.map(async (operation) => { + if (operation.operation === "edit") { + const splicedBlob = SplicedBlob.create( + operation.originalContent, + operation.edits.map((splice) => ({ insert: splice.content, start: splice.start, end: splice.end })) + ); + return { + operation: "addOrUpdate", + path: operation.path, + content: splicedBlob + }; + } + if (operation.operation !== "addOrUpdate") { + return operation; + } + if (!(operation.content instanceof URL)) { + return { ...operation, content: operation.content }; + } + const lazyBlobs = await createBlobs(operation.content, operation.path, { + fetch: params.fetch, + maxFolderDepth: params.maxFolderDepth + }); + abortSignal?.throwIfAborted(); + return lazyBlobs.map((blob) => ({ + ...operation, + content: blob.blob, + path: blob.path + })); + }) + )).flat(1); + const gitAttributes = allOperations.filter(isFileOperation).find((op) => op.path === ".gitattributes")?.content; + for (const operations of chunk(allOperations.filter(isFileOperation), 100)) { + const payload = { + gitAttributes: gitAttributes && await gitAttributes.text(), + files: await Promise.all( + operations.map(async (operation) => ({ + path: operation.path, + size: operation.content.size, + sample: base64FromBytes(new Uint8Array(await operation.content.slice(0, 512).arrayBuffer())) + })) + ) + }; + abortSignal?.throwIfAborted(); + const res = await (params.fetch ?? fetch)( + `${params.hubUrl ?? HUB_URL}/api/${repoId.type}s/${repoId.name}/preupload/${encodeURIComponent( + params.branch ?? "main" + )}` + (params.isPullRequest ? "?create_pr=1" : ""), + { + method: "POST", + headers: { + ...accessToken && { Authorization: `Bearer ${accessToken}` }, + "Content-Type": "application/json" + }, + body: JSON.stringify(payload), + signal: abortSignal + } + ); + if (!res.ok) { + throw await createApiError(res); + } + const json = await res.json(); + for (const file of json.files) { + if (file.uploadMode === "lfs") { + lfsShas.set(file.path, null); + } + } + } + yield { event: "phase", phase: "uploadingLargeFiles" }; + for (const operations of chunk( + allOperations.filter(isFileOperation).filter((op) => lfsShas.has(op.path)), + 100 + )) { + const shas = yield* eventToGenerator((yieldCallback, returnCallback, rejectCallack) => { + return promisesQueue( + operations.map((op) => async () => { + const iterator = sha256(op.content, { useWebWorker: params.useWebWorkers, abortSignal }); + let res2; + do { + res2 = await iterator.next(); + if (!res2.done) { + yieldCallback({ event: "fileProgress", path: op.path, progress: res2.value, state: "hashing" }); + } + } while (!res2.done); + const sha = res2.value; + lfsShas.set(op.path, res2.value); + return sha; + }), + CONCURRENT_SHAS + ).then(returnCallback, rejectCallack); + }); + abortSignal?.throwIfAborted(); + const payload = { + operation: "upload", + // multipart is a custom protocol for HF + transfers: ["basic", "multipart", ...useXet ? ["xet"] : []], + hash_algo: "sha_256", + ...!params.isPullRequest && { + ref: { + name: params.branch ?? "main" + } + }, + objects: operations.map((op, i) => ({ + oid: shas[i], + size: op.content.size + })) + }; + const res = await (params.fetch ?? fetch)( + `${params.hubUrl ?? HUB_URL}/${repoId.type === "model" ? "" : repoId.type + "s/"}${repoId.name}.git/info/lfs/objects/batch`, + { + method: "POST", + headers: { + ...accessToken && { Authorization: `Bearer ${accessToken}` }, + Accept: "application/vnd.git-lfs+json", + "Content-Type": "application/vnd.git-lfs+json" + }, + body: JSON.stringify(payload), + signal: abortSignal + } + ); + if (!res.ok) { + throw await createApiError(res); + } + const json = await res.json(); + const batchRequestId = res.headers.get("X-Request-Id") || void 0; + const shaToOperation = new Map(operations.map((op, i) => [shas[i], op])); + if (useXet && json.transfer !== "xet") { + useXet = false; + } + let xetParams = null; + if (useXet) { + for (const obj of json.objects) { + const op = shaToOperation.get(obj.oid); + if (!op) { + throw new InvalidApiResponseFormatError("Unrequested object ID in response"); + } + if (obj.error) { + const errorMessage = `Error while doing LFS batch call for ${operations[shas.indexOf(obj.oid)].path}: ${obj.error.message}${batchRequestId ? ` - Request ID: ${batchRequestId}` : ""}`; + throw new HubApiError(res.url, obj.error.code, batchRequestId, errorMessage); + } + if (!obj.actions?.upload) { + yield { + event: "fileProgress", + path: op.path, + progress: 1, + state: "uploading" + }; + } else { + const headers = new Headers(obj.actions.upload.header); + xetParams = { + sessionId: headers.get("X-Xet-Session-Id") ?? void 0, + casUrl: headers.get("X-Xet-Cas-Url") ?? void 0, + accessToken: headers.get("X-Xet-Access-Token") ?? void 0, + expiresAt: headers.get("X-Xet-Token-Expiration") ? new Date(parseInt(headers.get("X-Xet-Token-Expiration") ?? "0") * 1e3) : void 0, + refreshWriteTokenUrl: obj.actions.upload.href + }; + } + } + const source = async function* () { + for (const obj of json.objects) { + const op = shaToOperation.get(obj.oid); + if (!op || !obj.actions?.upload) { + continue; + } + abortSignal?.throwIfAborted(); + yield { content: op.content, path: op.path, sha256: obj.oid }; + } + }(); + if (xetParams) { + const fixedXetParams = xetParams; + const sources = splitAsyncGenerator(source, 5); + yield* eventToGenerator( + (yieldCallback, returnCallback, rejectCallback) => Promise.all( + sources.map(async function(source2) { + for await (const event of uploadShards(source2, { + fetch: params.fetch, + accessToken, + hubUrl: params.hubUrl ?? HUB_URL, + repo: repoId, + xetParams: fixedXetParams, + // todo: maybe leave empty if PR? + rev: params.branch ?? "main", + isPullRequest: params.isPullRequest, + yieldCallback: (event2) => yieldCallback({ ...event2, state: "uploading" }) + })) { + if (event.event === "file") { + yieldCallback({ + event: "fileProgress", + path: event.path, + progress: 1, + state: "uploading" + }); + } else if (event.event === "fileProgress") { + yieldCallback({ + event: "fileProgress", + path: event.path, + progress: event.progress, + state: "uploading" + }); + } + } + }) + ).then(() => returnCallback(void 0), rejectCallback) + ); + } else { + } + } else { + yield* eventToGenerator((yieldCallback, returnCallback, rejectCallback) => { + return promisesQueueStreaming( + json.objects.map((obj) => async () => { + const op = shaToOperation.get(obj.oid); + if (!op) { + throw new InvalidApiResponseFormatError("Unrequested object ID in response"); + } + abortSignal?.throwIfAborted(); + if (obj.error) { + const errorMessage = `Error while doing LFS batch call for ${operations[shas.indexOf(obj.oid)].path}: ${obj.error.message}${batchRequestId ? ` - Request ID: ${batchRequestId}` : ""}`; + throw new HubApiError(res.url, obj.error.code, batchRequestId, errorMessage); + } + if (!obj.actions?.upload) { + yieldCallback({ + event: "fileProgress", + path: op.path, + progress: 1, + state: "uploading" + }); + return; + } + yieldCallback({ + event: "fileProgress", + path: op.path, + progress: 0, + state: "uploading" + }); + const content = op.content; + const header = obj.actions.upload.header; + if (header?.chunk_size) { + const chunkSize = parseInt(header.chunk_size); + const completionUrl = obj.actions.upload.href; + const parts = Object.keys(header).filter((key) => /^[0-9]+$/.test(key)); + if (parts.length !== Math.ceil(content.size / chunkSize)) { + throw new Error("Invalid server response to upload large LFS file, wrong number of parts"); + } + const completeReq = { + oid: obj.oid, + parts: parts.map((part) => ({ + partNumber: +part, + etag: "" + })) + }; + const progressCallback = (progress) => yieldCallback({ event: "fileProgress", path: op.path, progress, state: "uploading" }); + await promisesQueueStreaming( + parts.map((part) => async () => { + abortSignal?.throwIfAborted(); + const index = parseInt(part) - 1; + const slice = content.slice(index * chunkSize, (index + 1) * chunkSize); + const res3 = await (params.fetch ?? fetch)(header[part], { + method: "PUT", + /** Unfortunately, browsers don't support our inherited version of Blob in fetch calls */ + body: slice instanceof WebBlob && isFrontend ? await slice.arrayBuffer() : slice, + signal: abortSignal, + ...{ + progressHint: { + path: op.path, + part: index, + numParts: parts.length, + progressCallback + } + // eslint-disable-next-line @typescript-eslint/no-explicit-any + } + }); + if (!res3.ok) { + throw await createApiError(res3, { + requestId: batchRequestId, + message: `Error while uploading part ${part} of ${operations[shas.indexOf(obj.oid)].path} to LFS storage` + }); + } + const eTag = res3.headers.get("ETag"); + if (!eTag) { + throw new Error("Cannot get ETag of part during multipart upload"); + } + completeReq.parts[Number(part) - 1].etag = eTag; + }), + MULTIPART_PARALLEL_UPLOAD + ); + abortSignal?.throwIfAborted(); + const res2 = await (params.fetch ?? fetch)(completionUrl, { + method: "POST", + body: JSON.stringify(completeReq), + headers: { + Accept: "application/vnd.git-lfs+json", + "Content-Type": "application/vnd.git-lfs+json" + }, + signal: abortSignal + }); + if (!res2.ok) { + throw await createApiError(res2, { + requestId: batchRequestId, + message: `Error completing multipart upload of ${operations[shas.indexOf(obj.oid)].path} to LFS storage` + }); + } + yieldCallback({ + event: "fileProgress", + path: op.path, + progress: 1, + state: "uploading" + }); + } else { + const res2 = await (params.fetch ?? fetch)(obj.actions.upload.href, { + method: "PUT", + headers: { + ...batchRequestId ? { "X-Request-Id": batchRequestId } : void 0 + }, + /** Unfortunately, browsers don't support our inherited version of Blob in fetch calls */ + body: content instanceof WebBlob && isFrontend ? await content.arrayBuffer() : content, + signal: abortSignal, + ...{ + progressHint: { + path: op.path, + progressCallback: (progress) => yieldCallback({ + event: "fileProgress", + path: op.path, + progress, + state: "uploading" + }) + } + // eslint-disable-next-line @typescript-eslint/no-explicit-any + } + }); + if (!res2.ok) { + throw await createApiError(res2, { + requestId: batchRequestId, + message: `Error while uploading ${operations[shas.indexOf(obj.oid)].path} to LFS storage` + }); + } + yieldCallback({ + event: "fileProgress", + path: op.path, + progress: 1, + state: "uploading" + }); + } + }), + CONCURRENT_LFS_UPLOADS + ).then(returnCallback, rejectCallback); + }); + } + } + abortSignal?.throwIfAborted(); + yield { event: "phase", phase: "committing" }; + return yield* eventToGenerator( + async (yieldCallback, returnCallback, rejectCallback) => (params.fetch ?? fetch)( + `${params.hubUrl ?? HUB_URL}/api/${repoId.type}s/${repoId.name}/commit/${encodeURIComponent( + params.branch ?? "main" + )}` + (params.isPullRequest ? "?create_pr=1" : ""), + { + method: "POST", + headers: { + ...accessToken && { Authorization: `Bearer ${accessToken}` }, + "Content-Type": "application/x-ndjson" + }, + body: [ + { + key: "header", + value: { + summary: params.title, + description: params.description, + parentCommit: params.parentCommit + } + }, + ...await Promise.all( + allOperations.map((operation) => { + if (isFileOperation(operation)) { + const sha = lfsShas.get(operation.path); + if (sha) { + return { + key: "lfsFile", + value: { + path: operation.path, + algo: "sha256", + size: operation.content.size, + oid: sha + } + }; + } + } + return convertOperationToNdJson(operation); + }) + ) + ].map((x) => JSON.stringify(x)).join("\n"), + signal: abortSignal, + ...{ + progressHint: { + progressCallback: (progress) => { + for (const op of allOperations) { + if (isFileOperation(op) && !lfsShas.has(op.path)) { + yieldCallback({ + event: "fileProgress", + path: op.path, + progress, + state: "uploading" + }); + } + } + } + } + // eslint-disable-next-line @typescript-eslint/no-explicit-any + } + } + ).then(async (res) => { + if (!res.ok) { + throw await createApiError(res); + } + const json = await res.json(); + returnCallback({ + pullRequestUrl: json.pullRequestUrl, + commit: { + oid: json.commitOid, + url: json.commitUrl + }, + hookOutput: json.hookOutput + }); + }).catch(rejectCallback) + ); + } catch (err) { + abortController.abort(); + throw err; + } +} +async function* commitIterBucket(params) { + const accessToken = checkCredentials(params); + const repoId = toRepoId(params.repo); + if (params.useXet === false) { + throw new Error("useXet must be true or undefined for buckets"); + } + const abortController = new AbortController(); + const abortSignal = abortController.signal; + if (!abortSignal.throwIfAborted) { + abortSignal.throwIfAborted = () => { + if (abortSignal.aborted) { + throw new DOMException("Aborted", "AbortError"); + } + }; + } + if (params.abortSignal) { + params.abortSignal.addEventListener("abort", () => abortController.abort()); + } + try { + const allOperations = (await Promise.all( + params.operations.map(async (operation) => { + if (operation.operation === "edit") { + const splicedBlob = SplicedBlob.create( + operation.originalContent, + operation.edits.map((splice) => ({ insert: splice.content, start: splice.start, end: splice.end })) + ); + return { + operation: "addOrUpdate", + path: operation.path, + content: splicedBlob + }; + } + if (operation.operation !== "addOrUpdate") { + return operation; + } + if (!(operation.content instanceof URL)) { + return { ...operation, content: operation.content }; + } + const lazyBlobs = await createBlobs(operation.content, operation.path, { + fetch: params.fetch, + maxFolderDepth: params.maxFolderDepth + }); + abortSignal?.throwIfAborted(); + return lazyBlobs.map((blob) => ({ + ...operation, + content: blob.blob, + path: blob.path + })); + }) + )).flat(1); + yield { event: "phase", phase: "uploadingLargeFiles" }; + for (const operations of chunk(allOperations.filter(isFileOperation), 100)) { + const xetHashes = /* @__PURE__ */ new Map(); + abortSignal?.throwIfAborted(); + const source = async function* () { + for (const operation of operations) { + abortSignal?.throwIfAborted(); + yield { content: operation.content, path: operation.path }; + } + }(); + const xetParams = { + sessionId: crypto.randomUUID(), + refreshWriteTokenUrl: `${params.hubUrl ?? HUB_URL}/api/${repoId.type}s/${repoId.name}/xet-write-token` + }; + const sources = splitAsyncGenerator(source, 5); + yield* eventToGenerator( + (yieldCallback, returnCallback, rejectCallback) => Promise.all( + sources.map(async function(source2) { + for await (const event of uploadShards(source2, { + fetch: params.fetch, + accessToken, + hubUrl: params.hubUrl ?? HUB_URL, + repo: repoId, + xetParams, + rev: params.branch ?? "main", + yieldCallback: (event2) => yieldCallback({ ...event2, state: "uploading" }) + })) { + if (event.event === "file") { + yieldCallback({ + event: "fileProgress", + path: event.path, + progress: 1, + state: "uploading" + }); + xetHashes.set(event.path, event.xetHash); + } else if (event.event === "fileProgress") { + yieldCallback({ + event: "fileProgress", + path: event.path, + progress: event.progress, + state: "uploading" + }); + } + } + }) + ).then(() => returnCallback(void 0), rejectCallback) + ); + const resp = await (params.fetch ?? fetch)( + `${params.hubUrl ?? HUB_URL}/api/${repoId.type}s/${repoId.name}/batch`, + { + method: "POST", + headers: { + ...accessToken && { Authorization: `Bearer ${accessToken}` }, + "Content-Type": "application/x-ndjson" + }, + body: [...xetHashes.entries()].map( + ([path2, xetHash]) => JSON.stringify({ + type: "addFile", + path: path2, + xetHash + }) + ).join("\n"), + signal: abortSignal + } + ); + if (!resp.ok && resp.status !== 422) { + throw await createApiError(resp); + } + const json = await resp.json(); + for (const failed of json.failed) { + yield { + event: "fileProgress", + path: failed.path, + progress: 0, + state: "error" + }; + } + } + abortSignal?.throwIfAborted(); + const deletedOperations = allOperations.filter((operation) => operation.operation === "delete"); + if (deletedOperations.length > 0) { + const resp = await (params.fetch ?? fetch)( + `${params.hubUrl ?? HUB_URL}/api/${repoId.type}s/${repoId.name}/batch`, + { + method: "POST", + headers: { + ...accessToken && { Authorization: `Bearer ${accessToken}` }, + "Content-Type": "application/x-ndjson" + }, + body: deletedOperations.map( + (operation) => JSON.stringify({ + type: "deleteFile", + path: operation.path + }) + ).join("\n"), + signal: abortSignal + } + ); + if (!resp.ok) { + throw await createApiError(resp); + } + const json = await resp.json(); + if (json.failed.length > 0) { + const failedPaths = json.failed.slice(0, 5).map((f) => f.path); + throw new Error( + `Failed to delete ${json.failed.length} file(s): ${failedPaths.join(", ")}${json.failed.length > 5 ? "..." : ""}, request ID: ${resp.headers.get("X-Request-Id")}` + ); + } + } + abortSignal?.throwIfAborted(); + } catch (err) { + abortController.abort(); + throw err; + } +} +async function convertOperationToNdJson(operation) { + switch (operation.operation) { + case "addOrUpdate": { + return { + key: "file", + value: { + content: base64FromBytes(new Uint8Array(await operation.content.arrayBuffer())), + path: operation.path, + encoding: "base64" + } + }; + } + case "delete": { + return { + key: "deletedFile", + value: { + path: operation.path + } + }; + } + case "edit": { + throw new Error( + "Edit operations should be converted to addOrUpdate operations before reaching convertOperationToNdJson" + ); + } + default: + throw new TypeError("Unknown operation: " + operation.operation); + } +} + +// src/lib/create-repo.ts +async function createRepo(params) { + const accessToken = checkCredentials(params); + const repoId = toRepoId(params.repo); + const [namespace, repoName] = repoId.name.split("/"); + if (!namespace || !repoName) { + throw new TypeError( + `"${repoId.name}" is not a fully qualified repo name. It should be of the form "{namespace}/{repoName}".` + ); + } + const res = repoId.type === "bucket" ? await (params.fetch ?? fetch)(`${params.hubUrl ?? HUB_URL}/api/buckets/${namespace}/${repoName}`, { + method: "POST", + body: JSON.stringify({ + private: params.private, + resourceGroupId: params.resourceGroupId + }), + headers: { + Authorization: `Bearer ${accessToken}`, + "Content-Type": "application/json" + } + }) : await (params.fetch ?? fetch)(`${params.hubUrl ?? HUB_URL}/api/repos/create`, { + method: "POST", + body: JSON.stringify({ + name: repoName, + private: params.private, + organization: namespace, + resourceGroupId: params.resourceGroupId, + license: params.license, + ...repoId.type === "space" ? { + type: "space", + sdk: params.sdk ?? "static" + } : { + type: repoId.type + }, + files: params.files ? await Promise.all( + params.files.map(async (file) => ({ + encoding: "base64", + path: file.path, + content: base64FromBytes( + new Uint8Array(file.content instanceof Blob ? await file.content.arrayBuffer() : file.content) + ) + })) + ) : void 0 + }), + headers: { + Authorization: `Bearer ${accessToken}`, + "Content-Type": "application/json" + } + }); + if (!res.ok) { + throw await createApiError(res); + } + const output = await res.json(); + return { repoUrl: output.url, id: output.id }; +} + +// src/lib/create-branch.ts +async function createBranch(params) { + const repoId = toRepoId(params.repo); + const res = await (params.fetch ?? fetch)( + `${params.hubUrl ?? HUB_URL}/api/${repoId.type}s/${repoId.name}/branch/${encodeURIComponent(params.branch)}`, + { + method: "POST", + headers: { + "Content-Type": "application/json", + ...params.accessToken && { + Authorization: `Bearer ${params.accessToken}` + } + }, + body: JSON.stringify({ + startingPoint: params.revision, + ...params.empty && { emptyBranch: true }, + overwrite: params.overwrite + }) + } + ); + if (!res.ok) { + throw await createApiError(res); + } +} + +// src/utils/pick.ts +function pick(o, props) { + return Object.assign( + {}, + ...props.map((prop) => { + if (o[prop] !== void 0) { + return { [prop]: o[prop] }; + } + }) + ); +} + +// src/utils/parseLinkHeader.ts +function parseLinkHeader(header) { + const regex = /<(https?:[/][/][^>]+)>;\s+rel="([^"]+)"/g; + return Object.fromEntries([...header.matchAll(regex)].map(([, url, rel]) => [rel, url])); +} + +// src/lib/delete-branch.ts +async function deleteBranch(params) { + const repoId = toRepoId(params.repo); + const res = await (params.fetch ?? fetch)( + `${params.hubUrl ?? HUB_URL}/api/${repoId.type}s/${repoId.name}/branch/${encodeURIComponent(params.branch)}`, + { + method: "DELETE", + headers: { + ...params.accessToken && { + Authorization: `Bearer ${params.accessToken}` + } + } + } + ); + if (!res.ok) { + throw await createApiError(res); + } +} + +// src/lib/delete-repo.ts +async function deleteRepo(params) { + const accessToken = checkCredentials(params); + const repoId = toRepoId(params.repo); + const [namespace, repoName] = repoId.name.split("/"); + const res = repoId.type === "bucket" ? await (params.fetch ?? fetch)(`${params.hubUrl ?? HUB_URL}/api/buckets/${namespace}/${repoName}`, { + method: "DELETE", + headers: { + Authorization: `Bearer ${accessToken}`, + "Content-Type": "application/json" + } + }) : await (params.fetch ?? fetch)(`${params.hubUrl ?? HUB_URL}/api/repos/delete`, { + method: "DELETE", + body: JSON.stringify({ + name: repoName, + organization: namespace, + type: repoId.type + }), + headers: { + Authorization: `Bearer ${accessToken}`, + "Content-Type": "application/json" + } + }); + if (!res.ok) { + throw await createApiError(res); + } +} + +// src/lib/download-file-to-cache-dir.ts +var import_node_path2 = require("path"); +var import_promises4 = require("fs/promises"); + +// src/utils/symlink.ts +var fs = __toESM(require("fs/promises")); +var path = __toESM(require("path")); +var os = __toESM(require("os")); + +// src/lib/download-file-to-cache-dir.ts +var import_node_stream3 = require("stream"); +var import_promises5 = require("stream/promises"); +var import_node_fs2 = require("fs"); +var REGEX_COMMIT_HASH = new RegExp("^[0-9a-f]{40}$"); + +// src/lib/jobs/get-job.ts +async function getJob(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/jobs/${params.namespace}/${params.jobId}`, + { + headers: { + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } + return await response.json(); +} + +// src/lib/jobs/list-job-hardware.ts +async function listJobHardware(params) { + const accessToken = checkCredentials(params ?? {}); + const headers = {}; + if (accessToken) { + headers.Authorization = `Bearer ${accessToken}`; + } + const response = await (params?.fetch || fetch)(`${params?.hubUrl || HUB_URL}/api/jobs/hardware`, { + headers + }); + if (!response.ok) { + throw await createApiError(response); + } + return await response.json(); +} + +// src/lib/jobs/list-jobs.ts +async function listJobs(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)(`${params.hubUrl || HUB_URL}/api/jobs/${params.namespace}`, { + headers: { + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + }); + if (!response.ok) { + throw await createApiError(response); + } + return await response.json(); +} + +// src/lib/jobs/run-job.ts +async function runJob(params) { + const accessToken = checkCredentials(params); + if (!params.dockerImage && !params.spaceId) { + throw new Error("Either dockerImage or spaceId must be provided"); + } + if (params.dockerImage && params.spaceId) { + throw new Error("Cannot provide both dockerImage and spaceId"); + } + const body = { + flavor: params.flavor, + environment: params.environment || {} + }; + if (params.dockerImage) { + body.dockerImage = params.dockerImage; + } + if (params.spaceId) { + body.spaceId = params.spaceId; + } + if (params.command) { + body.command = params.command; + } + if (params.arguments) { + body.arguments = params.arguments; + } + if (params.secrets) { + body.secrets = params.secrets; + } + if (params.arch) { + body.arch = params.arch; + } + if (params.timeoutSeconds !== void 0) { + body.timeoutSeconds = params.timeoutSeconds; + } + if (params.attempts !== void 0) { + body.attempts = params.attempts; + } + if (params.labels) { + body.labels = params.labels; + } + const response = await (params.fetch || fetch)(`${params.hubUrl || HUB_URL}/api/jobs/${params.namespace}`, { + method: "POST", + headers: { + "Content-Type": "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + }, + body: JSON.stringify(body) + }); + if (!response.ok) { + throw await createApiError(response); + } + return await response.json(); +} + +// src/lib/jobs/stream-job-logs.ts +async function* streamJobLogs(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/jobs/${params.namespace}/${params.jobId}/logs`, + { + headers: { + Accept: "text/event-stream", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } + if (!response.body) { + return; + } + const reader = response.body.getReader(); + const decoder = new TextDecoder(); + let buffer = ""; + try { + while (true) { + const { done, value } = await reader.read(); + if (done) + break; + buffer += decoder.decode(value, { stream: true }); + const lines = buffer.split("\n"); + buffer = lines.pop() || ""; + for (const line of lines) { + if (line.startsWith("data: ")) { + try { + const data = JSON.parse(line.slice(6)); + yield { message: data.data, timestamp: new Date(data.timestamp) }; + } catch { + yield { message: line.slice(6), timestamp: /* @__PURE__ */ new Date() }; + } + } + } + } + if (buffer) { + const lines = buffer.split("\n"); + for (const line of lines) { + if (line.startsWith("data: ")) { + try { + const data = JSON.parse(line.slice(6)); + yield { message: data.data, timestamp: new Date(data.timestamp) }; + } catch { + yield { message: line.slice(6), timestamp: /* @__PURE__ */ new Date() }; + } + } + } + } + } finally { + reader.releaseLock(); + } +} + +// src/utils/normalizeInferenceProviderMapping.ts +function normalizeInferenceProviderMapping(hfModelId, inferenceProviderMapping) { + if (!inferenceProviderMapping) { + return []; + } + if (Array.isArray(inferenceProviderMapping)) { + return inferenceProviderMapping.map((entry) => ({ + ...entry, + hfModelId + })); + } + return Object.entries(inferenceProviderMapping).map(([provider, mapping]) => ({ + provider, + hfModelId, + providerId: mapping.providerId, + status: mapping.status, + task: mapping.task + })); +} + +// src/lib/list-models.ts +var MODEL_EXPAND_KEYS = [ + "pipeline_tag", + "private", + "gated", + "downloads", + "likes", + "lastModified" +]; +async function* listModels(params) { + const accessToken = params && checkCredentials(params); + let totalToFetch = params?.limit ?? Infinity; + const search = new URLSearchParams([ + ...Object.entries({ + limit: String(Math.min(totalToFetch, 500)), + ...params?.search?.owner ? { author: params.search.owner } : void 0, + ...params?.search?.task ? { pipeline_tag: params.search.task } : void 0, + ...params?.search?.query ? { search: params.search.query } : void 0, + ...params?.search?.inferenceProviders ? { inference_provider: params.search.inferenceProviders.join(",") } : void 0, + ...params?.search?.apps ? { apps: params.search.apps.join(",") } : void 0, + ...params?.sort ? { sort: params.sort } : void 0 + }), + ...params?.search?.tags?.map((tag) => ["filter", tag]) ?? [], + ...MODEL_EXPAND_KEYS.map((val) => ["expand", val]), + ...params?.additionalFields?.map((val) => ["expand", val]) ?? [] + ]).toString(); + let url = `${params?.hubUrl || HUB_URL}/api/models?${search}`; + while (url) { + const res = await (params?.fetch ?? fetch)(url, { + headers: { + accept: "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : void 0 + } + }); + if (!res.ok) { + throw await createApiError(res); + } + const items = await res.json(); + for (const item of items) { + const normalizedItem = { ...item }; + if (params?.additionalFields?.includes("inferenceProviderMapping") && item.inferenceProviderMapping) { + normalizedItem.inferenceProviderMapping = normalizeInferenceProviderMapping( + item.id, + item.inferenceProviderMapping + ); + } + yield { + ...params?.additionalFields && pick(normalizedItem, params.additionalFields), + id: item._id, + name: item.id, + private: item.private, + task: item.pipeline_tag, + downloads: item.downloads, + gated: item.gated, + likes: item.likes, + updatedAt: new Date(item.lastModified) + }; + totalToFetch--; + if (totalToFetch <= 0) { + return; + } + } + const linkHeader = res.headers.get("Link"); + url = linkHeader ? parseLinkHeader(linkHeader).next : void 0; + } +} + +// src/utils/typedInclude.ts +function typedInclude(arr, v) { + return arr.includes(v); +} + +// src/lib/repo-exists.ts +async function repoExists(params) { + const repoId = toRepoId(params.repo); + const res = await (params.fetch ?? fetch)( + `${params.hubUrl ?? HUB_URL}/api/${repoId.type}s/${repoId.name}?expand[]=likes`, + { + method: "GET", + headers: { + ...params.accessToken && { + Authorization: `Bearer ${params.accessToken}` + } + } + } + ); + if (res.status === 404 || res.status === 401) { + return false; + } + if (!res.ok) { + throw await createApiError(res); + } + return true; +} + +// src/lib/snapshot-download.ts +var import_node_path3 = require("path"); +var import_promises6 = require("fs/promises"); + +// src/lib/upload-files-with-progress.ts +var multipartUploadTracking = /* @__PURE__ */ new WeakMap(); +async function* uploadFilesWithProgress(params) { + return yield* commitIter({ + ...params.accessToken ? { accessToken: params.accessToken } : { credentials: params.credentials }, + repo: params.repo, + operations: params.files.map((file) => ({ + operation: "addOrUpdate", + path: file instanceof URL ? file.pathname.split("/").at(-1) ?? "file" : "path" in file ? file.path : file.name, + content: "content" in file ? file.content : file + })), + title: params.commitTitle ?? `Add ${params.files.length} files`, + description: params.commitDescription, + hubUrl: params.hubUrl, + branch: params.branch, + isPullRequest: params.isPullRequest, + parentCommit: params.parentCommit, + useWebWorkers: params.useWebWorkers, + abortSignal: params.abortSignal, + useXet: params.useXet, + fetch: async (input, init2) => { + if (!init2) { + return fetch(input); + } + if (!typedInclude(["PUT", "POST"], init2.method) || !("progressHint" in init2) || !init2.progressHint || typeof XMLHttpRequest === "undefined" || typeof input !== "string" || !(init2.body instanceof ArrayBuffer) && !(init2.body instanceof Blob) && !(init2.body instanceof File) && typeof init2.body !== "string") { + return fetch(input, init2); + } + const progressHint = init2.progressHint; + const progressCallback = progressHint.progressCallback; + const xhr = new XMLHttpRequest(); + xhr.upload.addEventListener("progress", (event) => { + if (event.lengthComputable) { + if (progressHint.part !== void 0) { + let tracking = multipartUploadTracking.get(progressCallback); + if (!tracking) { + tracking = { numParts: progressHint.numParts, partsProgress: {} }; + multipartUploadTracking.set(progressCallback, tracking); + } + tracking.partsProgress[progressHint.part] = event.loaded / event.total; + let totalProgress = 0; + for (const partProgress of Object.values(tracking.partsProgress)) { + totalProgress += partProgress; + } + if (totalProgress === tracking.numParts) { + progressCallback(0.9999999999); + } else { + progressCallback(totalProgress / tracking.numParts); + } + } else { + if (event.loaded === event.total) { + progressCallback(0.9999999999); + } else { + progressCallback(event.loaded / event.total); + } + } + } + }); + xhr.open(init2.method, input, true); + if (init2.headers) { + const headers = new Headers(init2.headers); + headers.forEach((value, key) => { + xhr.setRequestHeader(key, value); + }); + } + init2.signal?.throwIfAborted(); + xhr.send(init2.body); + return new Promise((resolve3, reject) => { + xhr.addEventListener("load", () => { + resolve3( + new Response(xhr.responseText, { + status: xhr.status, + statusText: xhr.statusText, + headers: Object.fromEntries( + xhr.getAllResponseHeaders().trim().split("\n").map((header) => [ + header.slice(0, header.indexOf(":")), + header.slice(header.indexOf(":") + 1).trim() + ]) + ) + }) + ); + }); + xhr.addEventListener("error", () => { + reject(new Error(xhr.statusText)); + }); + if (init2.signal) { + init2.signal.addEventListener("abort", () => { + xhr.abort(); + try { + init2.signal?.throwIfAborted(); + } catch (err) { + reject(err); + } + }); + } + }); + } + }); +} + +// src/lib/who-am-i.ts +async function whoAmI(params) { + const accessToken = checkCredentials(params); + const res = await (params.fetch ?? fetch)(`${params.hubUrl ?? HUB_URL}/api/whoami-v2`, { + headers: { + Authorization: `Bearer ${accessToken}` + } + }); + if (!res.ok) { + throw await createApiError(res); + } + const response = await res.json(); + if (typeof response.auth.accessToken?.createdAt === "string") { + response.auth.accessToken.createdAt = new Date(response.auth.accessToken.createdAt); + } + return response; +} + +// cli.ts +var import_node_url3 = require("url"); +var import_promises7 = require("fs/promises"); +var import_node_path4 = require("path"); + +// package.json +var version = "2.10.1"; + +// cli.ts +var UploadProgressManager = class { + multibar = null; + fileBars = /* @__PURE__ */ new Map(); + isQuiet; + cliProgressAvailable = false; + constructor(isQuiet = false) { + this.isQuiet = isQuiet; + } + async initialize() { + if (this.isQuiet) + return; + try { + const cliProgress = await Promise.resolve().then(() => __toESM(require_cli_progress())); + this.cliProgressAvailable = true; + this.multibar = new cliProgress.MultiBar( + { + clearOnComplete: false, + hideCursor: true, + format: " {bar} | {filename} | {percentage}% | {state}", + barCompleteChar: "\u2588", + barIncompleteChar: "\u2591" + }, + cliProgress.Presets.shades_grey + ); + } catch (error) { + this.cliProgressAvailable = false; + } + } + handleEvent(event) { + if (this.isQuiet) + return; + if (event.event === "phase") { + this.logPhase(event.phase); + } else if (event.event === "fileProgress") { + this.updateFileProgress(event.path, event.progress, event.state); + } + } + logPhase(phase) { + if (this.isQuiet) + return; + const phaseMessages = { + preuploading: "\u{1F4CB} Preparing files for upload...", + uploadingLargeFiles: "\u2B06\uFE0F Uploading files...", + committing: "\u2728 Finalizing commit..." + }; + console.log(` +${phaseMessages[phase] || phase}`); + } + updateFileProgress(path2, progress, state) { + if (this.isQuiet) + return; + if (this.cliProgressAvailable && this.multibar) { + let bar = this.fileBars.get(path2); + if (!bar) { + bar = this.multibar.create(100, 0, { + filename: this.truncateFilename(path2, 100), + state + }); + this.fileBars.set(path2, bar); + } + if (state === "error") { + bar.update(0, { state: "\u2717 error" }); + } else if (progress >= 1) { + bar.update(100, { state: state === "hashing" ? "\u2713 hashed" : "\u2713 uploaded" }); + } else { + const percentage = Math.round(progress * 100); + bar.update(percentage, { state }); + } + } else { + const percentage = Math.round(progress * 100); + const truncatedPath = this.truncateFilename(path2, 100); + if (state === "error") { + console.error(`\u2717 error: ${truncatedPath}`); + } else if (progress >= 1) { + const statusIcon = state === "hashing" ? "\u2713 hashed" : "\u2713 uploaded"; + console.log(`${statusIcon}: ${truncatedPath}`); + } else if (percentage % 25 === 0) { + console.log(`${state}: ${truncatedPath} (${percentage}%)`); + } + } + } + truncateFilename(filename, maxLength) { + if (filename.length <= maxLength) + return filename; + return "..." + filename.slice(-(maxLength - 3)); + } + stop() { + if (!this.isQuiet && this.cliProgressAvailable && this.multibar) { + this.multibar.stop(); + } + } +}; +var commands = { + upload: { + description: "Upload a folder to a repo on the Hub", + args: [ + { + name: "repo-name", + description: "The name of the repo to upload to", + positional: true, + required: true + }, + { + name: "local-folder", + description: "The local folder to upload. Defaults to the current working directory", + positional: true, + default: () => process.cwd() + }, + { + name: "path-in-repo", + description: "The path in the repo to upload the folder to. Defaults to the root of the repo", + positional: true, + default: "." + }, + { + name: "quiet", + short: "q", + description: "Suppress all output", + boolean: true + }, + { + name: "repo-type", + enum: ["dataset", "model", "space", "bucket"], + description: "The type of repo to upload to. Defaults to model. You can also prefix the repo name with the type, e.g. datasets/username/repo-name or buckets/username/repo-name" + }, + { + name: "revision", + description: "The revision to upload to. Defaults to the main branch", + default: "main" + }, + { + name: "commit-message", + description: "The commit message to use. Defaults to 'Upload files using @huggingface/hub'", + default: "Upload files using @huggingface/hub" + }, + { + name: "private", + description: "If creating a new repo, make it private", + boolean: true + }, + { + name: "token", + description: "The access token to use for authentication. If not provided, the HF_TOKEN environment variable will be used.", + default: process.env.HF_TOKEN + } + ] + }, + branch: { + description: "Manage repository branches", + subcommands: { + create: { + description: "Create a new branch in a repo, or update an existing one", + args: [ + { + name: "repo-name", + description: "The name of the repo to create the branch in", + positional: true, + required: true + }, + { + name: "branch", + description: "The name of the branch to create", + positional: true, + required: true + }, + { + name: "repo-type", + enum: ["dataset", "model", "space"], + description: "The type of the repo to create the branch into. Defaults to model. You can also prefix the repo name with the type, e.g. datasets/username/repo-name" + }, + { + name: "revision", + description: "The revision to create the branch from. Defaults to the main branch, or existing branch if it exists." + }, + { + name: "empty", + boolean: true, + description: "Create an empty branch. This will erase all previous commits on the branch if it exists." + }, + { + name: "force", + short: "f", + boolean: true, + description: "Overwrite the branch if it already exists. Otherwise, throws an error if the branch already exists. No-ops if no revision is provided and the branch exists." + }, + { + name: "token", + description: "The access token to use for authentication. If not provided, the HF_TOKEN environment variable will be used.", + default: process.env.HF_TOKEN + } + ] + }, + delete: { + description: "Delete a branch in a repo", + args: [ + { + name: "repo-name", + description: "The name of the repo to delete the branch from", + positional: true, + required: true + }, + { + name: "branch", + description: "The name of the branch to delete", + positional: true, + required: true + }, + { + name: "repo-type", + enum: ["dataset", "model", "space"], + description: "The type of repo to delete the branch from. Defaults to model. You can also prefix the repo name with the type, e.g. datasets/username/repo-name" + }, + { + name: "token", + description: "The access token to use for authentication. If not provided, the HF_TOKEN environment variable will be used.", + default: process.env.HF_TOKEN + } + ] + } + } + }, + repo: { + description: "Manage repositories on the Hub", + subcommands: { + delete: { + description: "Delete a repository from the Hub", + args: [ + { + name: "repo-name", + description: "The name of the repo to delete. You can also prefix the repo name with the type, e.g. datasets/username/repo-name", + positional: true, + required: true + }, + { + name: "repo-type", + enum: ["dataset", "model", "space"], + description: "The type of the repo to delete. Defaults to model. You can also prefix the repo name with the type, e.g. datasets/username/repo-name" + }, + { + name: "token", + description: "The access token to use for authentication. If not provided, the HF_TOKEN environment variable will be used.", + default: process.env.HF_TOKEN + } + ] + } + } + }, + models: { + description: "Manage models on the Hub", + subcommands: { + list: { + description: "List models on the Hub (first page)", + args: [ + { + name: "search", + description: "Search query to filter models by name", + positional: true + }, + { + name: "sort", + enum: [ + "createdAt", + "downloads", + "likes", + "lastModified", + "likes30d", + "trendingScore", + "num_parameters" + // "mainSize", + // "id", + ], + description: "Sort models by a specific field" + }, + { + name: "token", + description: "The access token to use for authentication. If not provided, the HF_TOKEN environment variable will be used.", + default: process.env.HF_TOKEN + } + ] + } + } + }, + version: { + description: "Print the version of the CLI", + args: [] + }, + jobs: { + description: "Manage jobs on the Hub", + subcommands: { + run: { + description: "Run a new job", + args: [ + { + name: "docker-image-or-space", + description: "The Docker image to run (e.g., python:3.12) or Space ID (e.g., hf.co/spaces/username/space-name or username/space-name)", + positional: true, + required: true + }, + { + name: "command", + description: `The command to run (can be multiple arguments preceded by --, e.g., -- python -c 'import os; print(os.environ["FOO"])')`, + positional: true, + multiple: true + }, + { + name: "env", + short: "e", + multiple: true, + description: "Environment variable in the format KEY=VALUE (can be specified multiple times)" + }, + { + name: "secret", + short: "s", + multiple: true, + description: "Secret in the format KEY=VALUE (will be encrypted server-side, can be specified multiple times)" + }, + { + name: "label", + short: "l", + multiple: true, + description: "Label in the format KEY=VALUE or KEY alone (in this case VALUE defaults to empty string). Can be specified multiple times." + }, + { + name: "flavor", + description: "Hardware flavor to use (defaults to cpu-basic)", + default: "cpu-basic" + }, + { + name: "attempts", + description: "Maximum number of attempts (defaults to 1)" + }, + { + name: "namespace", + description: "The namespace (username or organization name). Defaults to the current user's username." + }, + { + name: "token", + description: "The access token to use for authentication. If not provided, the HF_TOKEN environment variable will be used.", + default: process.env.HF_TOKEN + }, + { + name: "detach", + short: "d", + description: "Don't stream logs after creating the job", + boolean: true + } + ] + }, + ps: { + description: "List jobs", + args: [ + { + name: "all", + short: "a", + description: "List all jobs (not just running ones)", + boolean: true + }, + { + name: "namespace", + description: "The namespace (username or organization name). Defaults to the current user's username." + }, + { + name: "token", + description: "The access token to use for authentication. If not provided, the HF_TOKEN environment variable will be used.", + default: process.env.HF_TOKEN + } + ] + }, + hardware: { + description: "List available hardware options for jobs", + args: [ + { + name: "token", + description: "The access token to use for authentication. If not provided, the HF_TOKEN environment variable will be used.", + default: process.env.HF_TOKEN + } + ] + }, + logs: { + description: "Show logs for a job", + args: [ + { + name: "job-id", + description: "The job ID", + positional: true, + required: true + }, + { + name: "namespace", + description: "The namespace (username or organization name). Defaults to the current user's username." + }, + { + name: "token", + description: "The access token to use for authentication. If not provided, the HF_TOKEN environment variable will be used.", + default: process.env.HF_TOKEN + } + ] + } + } + } +}; +var mainCommandName = process.argv[2]; +var subCommandName; +var cliArgs; +if (mainCommandName && mainCommandName in commands && commands[mainCommandName] && "subcommands" in commands[mainCommandName]) { + subCommandName = process.argv[3]; + cliArgs = process.argv.slice(4); +} else { + cliArgs = process.argv.slice(3); +} +async function run() { + switch (mainCommandName) { + case void 0: + case "--help": + case "help": { + const helpArgs = mainCommandName === "help" ? process.argv.slice(3) : []; + if (helpArgs.length > 0) { + const cmdName = helpArgs[0]; + if (cmdName && commands[cmdName]) { + const cmdDef = commands[cmdName]; + if ("subcommands" in cmdDef) { + if (helpArgs.length > 1) { + const subCmdName = helpArgs[1]; + if (subCmdName in cmdDef.subcommands && cmdDef.subcommands[subCmdName]) { + console.log(detailedUsageForSubcommand(cmdName, subCmdName)); + break; + } else { + console.error(`Error: Unknown subcommand '${subCmdName}' for command '${cmdName}'.`); + console.log(listSubcommands(cmdName, cmdDef)); + process.exitCode = 1; + break; + } + } else { + console.log(listSubcommands(cmdName, cmdDef)); + break; + } + } else { + console.log(detailedUsageForCommand(cmdName)); + break; + } + } else { + console.error(`Error: Unknown command '${cmdName}' for help.`); + process.exitCode = 1; + } + } else { + console.log( + `Hugging Face CLI Tools (hfjs) + +Available commands: + +` + typedEntries(commands).map(([name, def]) => ` ${usage(name)}: ${def.description}`).join("\n") + ); + console.log("\nTo get help on a specific command, run `hfjs help ` or `hfjs --help`"); + console.log( + "For commands with subcommands (like 'branch'), run `hfjs help ` or `hfjs --help`" + ); + if (mainCommandName === void 0) { + process.exitCode = 1; + } + } + break; + } + case "upload": { + const cmdDef = commands.upload; + if (cliArgs[0] === "--help" || cliArgs[0] === "-h") { + console.log(detailedUsageForCommand("upload")); + break; + } + const parsedArgs = advParseArgs(cliArgs, cmdDef.args, "upload"); + const { + repoName, + localFolder, + repoType, + revision, + token, + quiet, + commitMessage, + pathInRepo, + private: isPrivate + } = parsedArgs; + const repoId = repoType ? { type: repoType, name: repoName } : repoName; + if (!await repoExists({ repo: repoId, revision, accessToken: token, hubUrl: process.env.HF_ENDPOINT ?? HUB_URL })) { + if (!quiet) { + console.log(`Repo ${repoName} does not exist. Creating it...`); + } + await createRepo({ + repo: repoId, + accessToken: token, + private: !!isPrivate, + hubUrl: process.env.HF_ENDPOINT ?? HUB_URL + }); + } + const isFile = (await (0, import_promises7.stat)(localFolder)).isFile(); + const files = isFile ? [ + { + content: (0, import_node_url3.pathToFileURL)(localFolder), + path: (0, import_node_path4.join)(pathInRepo, `${(0, import_node_path4.basename)(localFolder)}`).replace(/^[.]?\//, "") + } + ] : [{ content: (0, import_node_url3.pathToFileURL)(localFolder), path: pathInRepo.replace(/^[.]?\//, "") }]; + const progressManager = new UploadProgressManager(!!quiet); + await progressManager.initialize(); + try { + for await (const event of uploadFilesWithProgress({ + repo: repoId, + files, + branch: revision, + accessToken: token, + commitTitle: commitMessage?.trim().split("\n")[0], + commitDescription: commitMessage?.trim().split("\n").slice(1).join("\n").trim(), + hubUrl: process.env.HF_ENDPOINT ?? HUB_URL, + useXet: true + })) { + progressManager.handleEvent(event); + } + if (!quiet) { + console.log("\n\u2705 Upload completed successfully!"); + } + } catch (error) { + progressManager.stop(); + throw error; + } finally { + progressManager.stop(); + } + break; + } + case "branch": { + const branchCommandGroup = commands.branch; + const currentSubCommandName = subCommandName; + if (subCommandName === "--help" || subCommandName === "-h") { + console.log(listSubcommands("branch", branchCommandGroup)); + break; + } + if (cliArgs[0] === "--help" || cliArgs[0] === "-h") { + if (currentSubCommandName && branchCommandGroup.subcommands[currentSubCommandName]) { + console.log(detailedUsageForSubcommand("branch", currentSubCommandName)); + } else { + console.log(listSubcommands("branch", branchCommandGroup)); + } + break; + } + if (!currentSubCommandName || !branchCommandGroup.subcommands[currentSubCommandName]) { + console.error(`Error: Missing or invalid subcommand for 'branch'.`); + console.log(listSubcommands("branch", branchCommandGroup)); + process.exitCode = 1; + break; + } + const subCmdDef = branchCommandGroup.subcommands[currentSubCommandName]; + switch (currentSubCommandName) { + case "create": { + const parsedArgs = advParseArgs(cliArgs, subCmdDef.args, "branch create"); + const { repoName, branch, revision, empty, repoType, token, force } = parsedArgs; + await createBranch({ + repo: repoType ? { type: repoType, name: repoName } : repoName, + branch, + accessToken: token, + revision, + empty: empty ?? void 0, + overwrite: force ?? void 0, + hubUrl: process.env.HF_ENDPOINT ?? HUB_URL + }); + console.log(`Branch '${branch}' created successfully in repo '${repoName}'.`); + break; + } + case "delete": { + const parsedArgs = advParseArgs(cliArgs, subCmdDef.args, "branch delete"); + const { repoName, branch, repoType, token } = parsedArgs; + await deleteBranch({ + repo: repoType ? { type: repoType, name: repoName } : repoName, + branch, + accessToken: token, + hubUrl: process.env.HF_ENDPOINT ?? HUB_URL + }); + console.log(`Branch '${branch}' deleted successfully from repo '${repoName}'.`); + break; + } + default: + console.error(`Error: Unknown subcommand '${currentSubCommandName}' for 'branch'.`); + console.log(listSubcommands("branch", branchCommandGroup)); + process.exitCode = 1; + break; + } + break; + } + case "repo": { + const repoCommandGroup = commands.repo; + const currentSubCommandName = subCommandName; + if (subCommandName === "--help" || subCommandName === "-h") { + console.log(listSubcommands("repo", repoCommandGroup)); + break; + } + if (cliArgs[0] === "--help" || cliArgs[0] === "-h") { + if (currentSubCommandName && repoCommandGroup.subcommands[currentSubCommandName]) { + console.log(detailedUsageForSubcommand("repo", currentSubCommandName)); + } else { + console.log(listSubcommands("repo", repoCommandGroup)); + } + break; + } + if (!currentSubCommandName || !repoCommandGroup.subcommands[currentSubCommandName]) { + console.error(`Error: Missing or invalid subcommand for 'repo'.`); + console.log(listSubcommands("repo", repoCommandGroup)); + process.exitCode = 1; + break; + } + const subCmdDef = repoCommandGroup.subcommands[currentSubCommandName]; + switch (currentSubCommandName) { + case "delete": { + const parsedArgs = advParseArgs(cliArgs, subCmdDef.args, `repo ${currentSubCommandName}`); + const { repoName, repoType, token } = parsedArgs; + const repoDesignation = repoType ? { type: repoType, name: repoName } : repoName; + await deleteRepo({ + repo: repoDesignation, + accessToken: token, + hubUrl: process.env.HF_ENDPOINT ?? HUB_URL + }); + console.log(`Repository '${repoName}' deleted successfully.`); + break; + } + default: + console.error(`Error: Unknown subcommand '${currentSubCommandName}' for 'repo'.`); + console.log(listSubcommands("repo", repoCommandGroup)); + process.exitCode = 1; + break; + } + break; + } + case "models": { + const modelCommandGroup = commands.models; + const currentSubCommandName = subCommandName; + if (subCommandName === "--help" || subCommandName === "-h") { + console.log(listSubcommands("models", modelCommandGroup)); + break; + } + if (cliArgs[0] === "--help" || cliArgs[0] === "-h") { + if (currentSubCommandName && modelCommandGroup.subcommands[currentSubCommandName]) { + console.log(detailedUsageForSubcommand("models", currentSubCommandName)); + } else { + console.log(listSubcommands("models", modelCommandGroup)); + } + break; + } + if (!currentSubCommandName || !modelCommandGroup.subcommands[currentSubCommandName]) { + console.error(`Error: Missing or invalid subcommand for 'models'.`); + console.log(listSubcommands("models", modelCommandGroup)); + process.exitCode = 1; + break; + } + const subCmdDef = modelCommandGroup.subcommands[currentSubCommandName]; + switch (currentSubCommandName) { + case "list": { + const parsedArgs = advParseArgs(cliArgs, subCmdDef.args, "models list"); + const { search, sort, token } = parsedArgs; + const models = []; + for await (const model of listModels({ + search: search ? { query: search } : void 0, + sort, + limit: 20, + accessToken: token, + hubUrl: process.env.HF_ENDPOINT ?? HUB_URL + })) { + models.push(model); + } + if (models.length === 0) { + console.log("No models found."); + break; + } + console.log( + `${"MODEL".padEnd(45)} ${"TASK".padEnd(25)} ${"DOWNLOADS".padStart(10)} ${"LIKES".padStart(7)} ${"UPDATED"}` + ); + console.log("-".repeat(110)); + for (const model of models) { + const task = model.task || "N/A"; + const updatedAt = model.updatedAt.toLocaleDateString(); + console.log( + `${model.name.padEnd(45)} ${task.padEnd(25)} ${String(model.downloads).padStart(10)} ${String(model.likes).padStart(7)} ${updatedAt}` + ); + } + break; + } + default: + console.error(`Error: Unknown subcommand '${currentSubCommandName}' for 'models'.`); + console.log(listSubcommands("models", modelCommandGroup)); + process.exitCode = 1; + break; + } + break; + } + case "version": { + if (cliArgs[0] === "--help" || cliArgs[0] === "-h") { + console.log(detailedUsageForCommand("version")); + break; + } + console.log(`hfjs version: ${version}`); + break; + } + case "jobs": { + const jobsCommandGroup = commands.jobs; + const currentSubCommandName = subCommandName; + if (subCommandName === "--help" || subCommandName === "-h") { + console.log(listSubcommands("jobs", jobsCommandGroup)); + break; + } + if (cliArgs[0] === "--help" || cliArgs[0] === "-h") { + if (currentSubCommandName && jobsCommandGroup.subcommands[currentSubCommandName]) { + console.log(detailedUsageForSubcommand("jobs", currentSubCommandName)); + } else { + console.log(listSubcommands("jobs", jobsCommandGroup)); + } + break; + } + if (!currentSubCommandName || !jobsCommandGroup.subcommands[currentSubCommandName]) { + console.error(`Error: Missing or invalid subcommand for 'jobs'.`); + console.log(listSubcommands("jobs", jobsCommandGroup)); + process.exitCode = 1; + break; + } + const subCmdDef = jobsCommandGroup.subcommands[currentSubCommandName]; + switch (currentSubCommandName) { + case "run": { + const parsedArgs = advParseArgs(cliArgs, subCmdDef.args, "jobs run"); + const { + dockerImageOrSpace: firstArg, + command: commandArray, + env, + secret, + label, + flavor, + attempts: attemptsStr, + namespace, + token, + detach + } = parsedArgs; + const envVars = env; + const secretVars = secret; + const labelVars = label; + let attempts; + if (attemptsStr) { + const parsed = parseInt(attemptsStr, 10); + if (isNaN(parsed) || parsed < 1) { + throw new Error("Attempts must be a positive integer"); + } + attempts = parsed; + } + let dockerImage; + let spaceId; + const hfCoSpacesMatch = firstArg.match(/^hf\.co\/spaces\/(.+)$/); + if (hfCoSpacesMatch) { + spaceId = hfCoSpacesMatch[1]; + } else { + dockerImage = firstArg; + } + let finalNamespace = namespace; + if (!finalNamespace) { + if (!token) { + throw new Error( + "Cannot determine namespace without authentication. Please provide --namespace or --token." + ); + } + const userInfo = await whoAmI({ + accessToken: token, + hubUrl: process.env.HF_ENDPOINT ?? HUB_URL + }); + if (userInfo.type !== "user") { + throw new Error("Cannot determine namespace. Please provide --namespace explicitly."); + } + finalNamespace = userInfo.name; + } + const environment = {}; + if (envVars) { + for (const envVar of envVars) { + const equalIndex = envVar.indexOf("="); + if (equalIndex === -1) { + throw new Error(`Invalid environment variable format: ${envVar}. Expected KEY=VALUE`); + } + const key = envVar.slice(0, equalIndex); + const value = envVar.slice(equalIndex + 1); + environment[key] = value; + } + } + const secrets = {}; + if (secretVars) { + for (const secretVar of secretVars) { + const equalIndex = secretVar.indexOf("="); + if (equalIndex === -1) { + throw new Error(`Invalid secret format: ${secretVar}. Expected KEY=VALUE`); + } + const key = secretVar.slice(0, equalIndex); + const value = secretVar.slice(equalIndex + 1); + secrets[key] = value; + } + } + const labels = {}; + if (labelVars) { + for (const labelVar of labelVars) { + const equalIndex = labelVar.indexOf("="); + const [key, value] = equalIndex > -1 ? [labelVar.slice(0, equalIndex), labelVar.slice(equalIndex + 1)] : [labelVar, ""]; + labels[key] = value; + } + } + const jobParams = { + namespace: finalNamespace, + ...dockerImage ? { dockerImage } : {}, + ...spaceId ? { spaceId } : {}, + flavor, + command: commandArray.length > 0 ? commandArray : void 0, + environment, + secrets, + ...attempts !== void 0 ? { attempts } : {}, + ...Object.keys(labels).length > 0 ? { labels } : {}, + hubUrl: process.env.HF_ENDPOINT ?? HUB_URL, + ...token ? { accessToken: token } : {} + }; + const job = await runJob(jobParams); + console.log(`Job created: ${job.id}`); + console.log(`Status: ${job.status.stage}`); + if (!detach) { + const logsParams = { + namespace: finalNamespace, + jobId: job.id, + hubUrl: process.env.HF_ENDPOINT ?? HUB_URL, + ...token ? { accessToken: token } : {} + }; + for await (const logChunk of streamJobLogs(logsParams)) { + console.log(logChunk.message); + } + } + break; + } + case "ps": { + const parsedArgs = advParseArgs(cliArgs, subCmdDef.args, "jobs ps"); + const { all, namespace, token } = parsedArgs; + let finalNamespace = namespace; + if (!finalNamespace) { + if (!token) { + throw new Error( + "Cannot determine namespace without authentication. Please provide --namespace or --token." + ); + } + const userInfo = await whoAmI({ + accessToken: token, + hubUrl: process.env.HF_ENDPOINT ?? HUB_URL + }); + if (userInfo.type !== "user") { + throw new Error("Cannot determine namespace. Please provide --namespace explicitly."); + } + finalNamespace = userInfo.name; + } + const jobs = await listJobs({ + namespace: finalNamespace, + accessToken: token, + hubUrl: process.env.HF_ENDPOINT ?? HUB_URL + }); + const filteredJobs = all ? jobs : jobs.filter((job) => job.status.stage === "RUNNING"); + if (filteredJobs.length === 0) { + console.log(all ? "No jobs found." : "No running jobs found."); + break; + } + console.log(`${"ID".padEnd(40)} ${"STATUS".padEnd(12)} ${"CREATED".padEnd(20)} ${"DOCKER IMAGE"}`); + console.log("-".repeat(100)); + for (const job of filteredJobs) { + const createdAt = new Date(job.createdAt).toLocaleString(); + const dockerImage = job.dockerImage || job.spaceId || "N/A"; + const status = job.status.stage; + console.log(`${job.id.padEnd(40)} ${status.padEnd(12)} ${createdAt.padEnd(20)} ${dockerImage}`); + } + break; + } + case "hardware": { + const parsedArgs = advParseArgs(cliArgs, subCmdDef.args, "jobs hardware"); + const { token } = parsedArgs; + const hardwareParams = { + hubUrl: process.env.HF_ENDPOINT ?? HUB_URL + }; + if (token) { + hardwareParams.accessToken = token; + } + const hardware = await listJobHardware(hardwareParams); + console.log( + `${"NAME".padEnd(15)} ${"PRETTY NAME".padEnd(22)} ${"CPU".padEnd(8)} ${"RAM".padEnd(7)} ${"ACCELERATOR".padEnd(16)} ${"COST/MIN".padEnd(9)} ${"COST/HOUR"}` + ); + console.log("-".repeat(100)); + for (const hw of hardware) { + let accelerator = "N/A"; + if (hw.accelerator) { + accelerator = `${hw.accelerator.quantity}x ${hw.accelerator.model} (${hw.accelerator.vram})`; + } + const costPerMin = (hw.unitCostMicroUSD / 1e6).toFixed(4); + const costPerHour = (hw.unitCostMicroUSD / 1e6 * 60).toFixed(2); + console.log( + `${hw.name.padEnd(15)} ${hw.prettyName.padEnd(22)} ${hw.cpu.padEnd(8)} ${hw.ram.padEnd(7)} ${accelerator.padEnd(16)} $${costPerMin.padStart(8)} $${costPerHour.padStart(9)}` + ); + } + break; + } + case "logs": { + const parsedArgs = advParseArgs(cliArgs, subCmdDef.args, "jobs logs"); + const { jobId, namespace, token } = parsedArgs; + let finalNamespace = namespace; + if (!finalNamespace) { + if (!token) { + throw new Error( + "Cannot determine namespace without authentication. Please provide --namespace or --token." + ); + } + const userInfo = await whoAmI({ + accessToken: token, + hubUrl: process.env.HF_ENDPOINT ?? HUB_URL + }); + if (userInfo.type !== "user") { + throw new Error("Cannot determine namespace. Please provide --namespace explicitly."); + } + finalNamespace = userInfo.name; + } + const logsParams = { + namespace: finalNamespace, + jobId, + hubUrl: process.env.HF_ENDPOINT ?? HUB_URL, + ...token ? { accessToken: token } : {} + }; + const jobInfoParams = { + namespace: finalNamespace, + jobId, + hubUrl: process.env.HF_ENDPOINT ?? HUB_URL, + ...token ? { accessToken: token } : {} + }; + const jobInfo = await getJob(jobInfoParams); + if (jobInfo.status.stage === "ERROR" && jobInfo.status.message) { + console.error(` +\u274C Job failed: ${jobInfo.status.message} +`); + } + for await (const logChunk of streamJobLogs(logsParams)) { + console.log(logChunk.message); + } + break; + } + default: + console.error(`Error: Unknown subcommand '${currentSubCommandName}' for 'jobs'.`); + console.log(listSubcommands("jobs", jobsCommandGroup)); + process.exitCode = 1; + break; + } + break; + } + default: + console.error("Command not found: " + mainCommandName); + console.log( + ` +Available commands: + +` + typedEntries(commands).map(([name, def]) => ` ${usage(name)}: ${def.description}`).join("\n") + ); + console.log("\nTo get help on a specific command, run `hfjs help ` or `hfjs --help`"); + process.exitCode = 1; + break; + } +} +run().catch((err) => { + console.error("\x1B[31mError:\x1B[0m", err.message); + console.error(err); + process.exitCode = 1; +}); +function usage(commandName, subCommandName2) { + const commandEntry = commands[commandName]; + let cmdArgs; + let fullCommandName = commandName; + if ("subcommands" in commandEntry) { + if (subCommandName2 && subCommandName2 in commandEntry.subcommands) { + const subCmd = commandEntry.subcommands[subCommandName2]; + cmdArgs = subCmd.args; + fullCommandName = `${commandName} ${subCommandName2}`; + } else { + return `${commandName} `; + } + } else { + cmdArgs = commandEntry.args; + } + return `${fullCommandName} ${(cmdArgs || []).map((arg) => { + if (arg.positional) { + return arg.required ? `<${arg.name}>` : `[${arg.name}]`; + } + return `[--${arg.name}${arg.short ? `|-${arg.short}` : ""}${arg.enum ? ` {${arg.enum.join("|")}}` : arg.boolean ? "" : ` <${arg.name.toUpperCase().replace(/-/g, "_")}>`}]`; + }).join(" ")}`.trim(); +} +function _detailedUsage(args, usageLine, commandDescription) { + let ret = `usage: hfjs ${usageLine} +`; + if (commandDescription) { + ret += ` +${commandDescription} +`; + } + const positionals = args.filter((p) => p.positional); + const options = args.filter((p) => !p.positional); + if (positionals.length > 0) { + ret += ` +Positional arguments: +`; + for (const arg of positionals) { + ret += ` ${arg.name} ${arg.description}${arg.default ? ` (default: ${typeof arg.default === "function" ? arg.default() : arg.default})` : ""} +`; + } + } + if (options.length > 0) { + ret += ` +Options: +`; + for (const arg of options) { + const nameAndAlias = `--${arg.name}${arg.short ? `, -${arg.short}` : ""}`; + const valueHint = arg.enum ? `{${arg.enum.join("|")}}` : arg.boolean ? "" : `<${arg.name.toUpperCase().replace(/-/g, "_")}>`; + ret += ` ${nameAndAlias}${valueHint ? " " + valueHint : ""} ${arg.description}${arg.default !== void 0 ? ` (default: ${typeof arg.default === "function" ? arg.default() : arg.default})` : ""} +`; + } + } + ret += ` +`; + return ret; +} +function detailedUsageForCommand(commandName) { + const commandDef = commands[commandName]; + if ("subcommands" in commandDef) { + return listSubcommands(commandName, commandDef); + } + return _detailedUsage(commandDef.args, usage(commandName), commandDef.description); +} +function detailedUsageForSubcommand(commandName, subCommandName2) { + const commandGroup = commands[commandName]; + if (!("subcommands" in commandGroup)) { + throw new Error(`Command ${commandName} does not have subcommands`); + } + if (!(subCommandName2 in commandGroup.subcommands)) { + throw new Error(`Subcommand ${subCommandName2} not found for ${commandName}`); + } + const subCommandDef = commandGroup.subcommands[subCommandName2]; + return _detailedUsage(subCommandDef.args, usage(commandName, subCommandName2), subCommandDef.description); +} +function listSubcommands(commandName, commandGroup) { + let ret = `usage: hfjs ${commandName} [options] + +`; + ret += `${commandGroup.description} + +`; + ret += `Available subcommands for '${commandName}': +`; + ret += typedEntries(commandGroup.subcommands).map(([subName, subDef]) => ` ${subName} ${subDef.description}`).join("\n"); + if (commandName === "jobs") { + ret += ` + +Example: + hfjs jobs run -e FOO=foo -e BAR=bar python:3.12 -- python -c 'import os; print(os.environ["FOO"], os.environ["BAR"])'`; + } + ret += ` + +Run \`hfjs help ${commandName} \` for more information on a specific subcommand.`; + return ret; +} +function advParseArgs(args, argDefs, commandNameForError) { + const hasMultiplePositional = argDefs.some((arg) => arg.multiple && arg.positional); + const { tokens } = (0, import_node_util.parseArgs)({ + options: Object.fromEntries( + argDefs.filter((arg) => !arg.positional).map((arg) => { + const optionConfig = { + type: arg.boolean ? "boolean" : "string", + ...arg.short && { short: arg.short }, + ...arg.multiple && { multiple: true }, + ...arg.default !== void 0 && { + default: typeof arg.default === "function" ? arg.default() : arg.default + } + }; + return [arg.name, optionConfig]; + }) + ), + args, + allowPositionals: true, + strict: false, + // We do custom validation based on tokens and argDefs + tokens: true + }); + const expectedPositionals = argDefs.filter((arg) => arg.positional); + const providedPositionalTokens = tokens.filter((token) => token.kind === "positional"); + if (providedPositionalTokens.length < expectedPositionals.filter((arg) => arg.required).length) { + throw new Error( + `Command '${commandNameForError}': Missing required positional arguments. Usage: hfjs ${usage( + commandNameForError.split(" ")[0], + commandNameForError.split(" ")[1] + )}` + ); + } + if (providedPositionalTokens.length > expectedPositionals.length && !hasMultiplePositional) { + throw new Error( + `Command '${commandNameForError}': Too many positional arguments. Usage: hfjs ${usage( + commandNameForError.split(" ")[0], + commandNameForError.split(" ")[1] + )}` + ); + } + const result = {}; + for (const argDef of argDefs) { + if (argDef.default !== void 0) { + result[argDef.name] = typeof argDef.default === "function" ? argDef.default() : argDef.default; + } else if (argDef.boolean) { + result[argDef.name] = false; + } + } + expectedPositionals.forEach((argDef, i) => { + if (argDef.multiple) { + result[argDef.name] = providedPositionalTokens.slice(i).map((token) => token.value); + } else if (providedPositionalTokens[i]) { + result[argDef.name] = providedPositionalTokens[i].value; + } + }); + tokens.filter((token) => token.kind === "option").forEach((token) => { + const argDef = argDefs.find((def) => def.name === token.name || def.short === token.name); + if (!argDef) { + throw new Error(`Command '${commandNameForError}': Unknown option: ${token.rawName}`); + } + if (argDef.boolean) { + result[argDef.name] = true; + } else { + if (token.value === void 0) { + throw new Error(`Command '${commandNameForError}': Missing value for option: ${token.rawName}`); + } + if (argDef.enum && !argDef.enum.includes(token.value)) { + throw new Error( + `Command '${commandNameForError}': Invalid value '${token.value}' for option ${token.rawName}. Expected one of: ${argDef.enum.join(", ")}` + ); + } + if (argDef.multiple) { + const existing = result[argDef.name] || []; + existing.push(token.value); + result[argDef.name] = existing; + } else { + result[argDef.name] = token.value; + } + } + }); + for (const argDef of argDefs) { + if (argDef.required && result[argDef.name] === void 0) { + throw new Error(`Command '${commandNameForError}': Missing required argument: ${argDef.name}`); + } + } + return Object.fromEntries( + Object.entries(result).map(([name, val]) => [kebabToCamelCase(name), val]) + ); +} +function kebabToCamelCase(str) { + return str.replace(/-./g, (match) => match[1].toUpperCase()); +} diff --git a/node_modules/@huggingface/hub/dist/cli.mjs b/node_modules/@huggingface/hub/dist/cli.mjs new file mode 100644 index 0000000000000000000000000000000000000000..035ba2bb66598b0f7a551564b43fadedc2158d8a --- /dev/null +++ b/node_modules/@huggingface/hub/dist/cli.mjs @@ -0,0 +1,1179 @@ +#! /usr/bin/env node +import { + HUB_URL, + createBranch, + createRepo, + deleteBranch, + deleteRepo, + getJob, + listJobHardware, + listJobs, + listModels, + repoExists, + runJob, + streamJobLogs, + typedEntries, + uploadFilesWithProgress, + whoAmI +} from "./chunk-SI5XUM7G.mjs"; +import "./chunk-GAR7ORU2.mjs"; + +// cli.ts +import { parseArgs } from "util"; +import { pathToFileURL } from "url"; +import { stat } from "fs/promises"; +import { basename, join } from "path"; + +// package.json +var version = "2.10.1"; + +// cli.ts +var UploadProgressManager = class { + multibar = null; + fileBars = /* @__PURE__ */ new Map(); + isQuiet; + cliProgressAvailable = false; + constructor(isQuiet = false) { + this.isQuiet = isQuiet; + } + async initialize() { + if (this.isQuiet) + return; + try { + const cliProgress = await import("./cli-progress-A335VRBC.mjs"); + this.cliProgressAvailable = true; + this.multibar = new cliProgress.MultiBar( + { + clearOnComplete: false, + hideCursor: true, + format: " {bar} | {filename} | {percentage}% | {state}", + barCompleteChar: "\u2588", + barIncompleteChar: "\u2591" + }, + cliProgress.Presets.shades_grey + ); + } catch (error) { + this.cliProgressAvailable = false; + } + } + handleEvent(event) { + if (this.isQuiet) + return; + if (event.event === "phase") { + this.logPhase(event.phase); + } else if (event.event === "fileProgress") { + this.updateFileProgress(event.path, event.progress, event.state); + } + } + logPhase(phase) { + if (this.isQuiet) + return; + const phaseMessages = { + preuploading: "\u{1F4CB} Preparing files for upload...", + uploadingLargeFiles: "\u2B06\uFE0F Uploading files...", + committing: "\u2728 Finalizing commit..." + }; + console.log(` +${phaseMessages[phase] || phase}`); + } + updateFileProgress(path, progress, state) { + if (this.isQuiet) + return; + if (this.cliProgressAvailable && this.multibar) { + let bar = this.fileBars.get(path); + if (!bar) { + bar = this.multibar.create(100, 0, { + filename: this.truncateFilename(path, 100), + state + }); + this.fileBars.set(path, bar); + } + if (state === "error") { + bar.update(0, { state: "\u2717 error" }); + } else if (progress >= 1) { + bar.update(100, { state: state === "hashing" ? "\u2713 hashed" : "\u2713 uploaded" }); + } else { + const percentage = Math.round(progress * 100); + bar.update(percentage, { state }); + } + } else { + const percentage = Math.round(progress * 100); + const truncatedPath = this.truncateFilename(path, 100); + if (state === "error") { + console.error(`\u2717 error: ${truncatedPath}`); + } else if (progress >= 1) { + const statusIcon = state === "hashing" ? "\u2713 hashed" : "\u2713 uploaded"; + console.log(`${statusIcon}: ${truncatedPath}`); + } else if (percentage % 25 === 0) { + console.log(`${state}: ${truncatedPath} (${percentage}%)`); + } + } + } + truncateFilename(filename, maxLength) { + if (filename.length <= maxLength) + return filename; + return "..." + filename.slice(-(maxLength - 3)); + } + stop() { + if (!this.isQuiet && this.cliProgressAvailable && this.multibar) { + this.multibar.stop(); + } + } +}; +var commands = { + upload: { + description: "Upload a folder to a repo on the Hub", + args: [ + { + name: "repo-name", + description: "The name of the repo to upload to", + positional: true, + required: true + }, + { + name: "local-folder", + description: "The local folder to upload. Defaults to the current working directory", + positional: true, + default: () => process.cwd() + }, + { + name: "path-in-repo", + description: "The path in the repo to upload the folder to. Defaults to the root of the repo", + positional: true, + default: "." + }, + { + name: "quiet", + short: "q", + description: "Suppress all output", + boolean: true + }, + { + name: "repo-type", + enum: ["dataset", "model", "space", "bucket"], + description: "The type of repo to upload to. Defaults to model. You can also prefix the repo name with the type, e.g. datasets/username/repo-name or buckets/username/repo-name" + }, + { + name: "revision", + description: "The revision to upload to. Defaults to the main branch", + default: "main" + }, + { + name: "commit-message", + description: "The commit message to use. Defaults to 'Upload files using @huggingface/hub'", + default: "Upload files using @huggingface/hub" + }, + { + name: "private", + description: "If creating a new repo, make it private", + boolean: true + }, + { + name: "token", + description: "The access token to use for authentication. If not provided, the HF_TOKEN environment variable will be used.", + default: process.env.HF_TOKEN + } + ] + }, + branch: { + description: "Manage repository branches", + subcommands: { + create: { + description: "Create a new branch in a repo, or update an existing one", + args: [ + { + name: "repo-name", + description: "The name of the repo to create the branch in", + positional: true, + required: true + }, + { + name: "branch", + description: "The name of the branch to create", + positional: true, + required: true + }, + { + name: "repo-type", + enum: ["dataset", "model", "space"], + description: "The type of the repo to create the branch into. Defaults to model. You can also prefix the repo name with the type, e.g. datasets/username/repo-name" + }, + { + name: "revision", + description: "The revision to create the branch from. Defaults to the main branch, or existing branch if it exists." + }, + { + name: "empty", + boolean: true, + description: "Create an empty branch. This will erase all previous commits on the branch if it exists." + }, + { + name: "force", + short: "f", + boolean: true, + description: "Overwrite the branch if it already exists. Otherwise, throws an error if the branch already exists. No-ops if no revision is provided and the branch exists." + }, + { + name: "token", + description: "The access token to use for authentication. If not provided, the HF_TOKEN environment variable will be used.", + default: process.env.HF_TOKEN + } + ] + }, + delete: { + description: "Delete a branch in a repo", + args: [ + { + name: "repo-name", + description: "The name of the repo to delete the branch from", + positional: true, + required: true + }, + { + name: "branch", + description: "The name of the branch to delete", + positional: true, + required: true + }, + { + name: "repo-type", + enum: ["dataset", "model", "space"], + description: "The type of repo to delete the branch from. Defaults to model. You can also prefix the repo name with the type, e.g. datasets/username/repo-name" + }, + { + name: "token", + description: "The access token to use for authentication. If not provided, the HF_TOKEN environment variable will be used.", + default: process.env.HF_TOKEN + } + ] + } + } + }, + repo: { + description: "Manage repositories on the Hub", + subcommands: { + delete: { + description: "Delete a repository from the Hub", + args: [ + { + name: "repo-name", + description: "The name of the repo to delete. You can also prefix the repo name with the type, e.g. datasets/username/repo-name", + positional: true, + required: true + }, + { + name: "repo-type", + enum: ["dataset", "model", "space"], + description: "The type of the repo to delete. Defaults to model. You can also prefix the repo name with the type, e.g. datasets/username/repo-name" + }, + { + name: "token", + description: "The access token to use for authentication. If not provided, the HF_TOKEN environment variable will be used.", + default: process.env.HF_TOKEN + } + ] + } + } + }, + models: { + description: "Manage models on the Hub", + subcommands: { + list: { + description: "List models on the Hub (first page)", + args: [ + { + name: "search", + description: "Search query to filter models by name", + positional: true + }, + { + name: "sort", + enum: [ + "createdAt", + "downloads", + "likes", + "lastModified", + "likes30d", + "trendingScore", + "num_parameters" + // "mainSize", + // "id", + ], + description: "Sort models by a specific field" + }, + { + name: "token", + description: "The access token to use for authentication. If not provided, the HF_TOKEN environment variable will be used.", + default: process.env.HF_TOKEN + } + ] + } + } + }, + version: { + description: "Print the version of the CLI", + args: [] + }, + jobs: { + description: "Manage jobs on the Hub", + subcommands: { + run: { + description: "Run a new job", + args: [ + { + name: "docker-image-or-space", + description: "The Docker image to run (e.g., python:3.12) or Space ID (e.g., hf.co/spaces/username/space-name or username/space-name)", + positional: true, + required: true + }, + { + name: "command", + description: `The command to run (can be multiple arguments preceded by --, e.g., -- python -c 'import os; print(os.environ["FOO"])')`, + positional: true, + multiple: true + }, + { + name: "env", + short: "e", + multiple: true, + description: "Environment variable in the format KEY=VALUE (can be specified multiple times)" + }, + { + name: "secret", + short: "s", + multiple: true, + description: "Secret in the format KEY=VALUE (will be encrypted server-side, can be specified multiple times)" + }, + { + name: "label", + short: "l", + multiple: true, + description: "Label in the format KEY=VALUE or KEY alone (in this case VALUE defaults to empty string). Can be specified multiple times." + }, + { + name: "flavor", + description: "Hardware flavor to use (defaults to cpu-basic)", + default: "cpu-basic" + }, + { + name: "attempts", + description: "Maximum number of attempts (defaults to 1)" + }, + { + name: "namespace", + description: "The namespace (username or organization name). Defaults to the current user's username." + }, + { + name: "token", + description: "The access token to use for authentication. If not provided, the HF_TOKEN environment variable will be used.", + default: process.env.HF_TOKEN + }, + { + name: "detach", + short: "d", + description: "Don't stream logs after creating the job", + boolean: true + } + ] + }, + ps: { + description: "List jobs", + args: [ + { + name: "all", + short: "a", + description: "List all jobs (not just running ones)", + boolean: true + }, + { + name: "namespace", + description: "The namespace (username or organization name). Defaults to the current user's username." + }, + { + name: "token", + description: "The access token to use for authentication. If not provided, the HF_TOKEN environment variable will be used.", + default: process.env.HF_TOKEN + } + ] + }, + hardware: { + description: "List available hardware options for jobs", + args: [ + { + name: "token", + description: "The access token to use for authentication. If not provided, the HF_TOKEN environment variable will be used.", + default: process.env.HF_TOKEN + } + ] + }, + logs: { + description: "Show logs for a job", + args: [ + { + name: "job-id", + description: "The job ID", + positional: true, + required: true + }, + { + name: "namespace", + description: "The namespace (username or organization name). Defaults to the current user's username." + }, + { + name: "token", + description: "The access token to use for authentication. If not provided, the HF_TOKEN environment variable will be used.", + default: process.env.HF_TOKEN + } + ] + } + } + } +}; +var mainCommandName = process.argv[2]; +var subCommandName; +var cliArgs; +if (mainCommandName && mainCommandName in commands && commands[mainCommandName] && "subcommands" in commands[mainCommandName]) { + subCommandName = process.argv[3]; + cliArgs = process.argv.slice(4); +} else { + cliArgs = process.argv.slice(3); +} +async function run() { + switch (mainCommandName) { + case void 0: + case "--help": + case "help": { + const helpArgs = mainCommandName === "help" ? process.argv.slice(3) : []; + if (helpArgs.length > 0) { + const cmdName = helpArgs[0]; + if (cmdName && commands[cmdName]) { + const cmdDef = commands[cmdName]; + if ("subcommands" in cmdDef) { + if (helpArgs.length > 1) { + const subCmdName = helpArgs[1]; + if (subCmdName in cmdDef.subcommands && cmdDef.subcommands[subCmdName]) { + console.log(detailedUsageForSubcommand(cmdName, subCmdName)); + break; + } else { + console.error(`Error: Unknown subcommand '${subCmdName}' for command '${cmdName}'.`); + console.log(listSubcommands(cmdName, cmdDef)); + process.exitCode = 1; + break; + } + } else { + console.log(listSubcommands(cmdName, cmdDef)); + break; + } + } else { + console.log(detailedUsageForCommand(cmdName)); + break; + } + } else { + console.error(`Error: Unknown command '${cmdName}' for help.`); + process.exitCode = 1; + } + } else { + console.log( + `Hugging Face CLI Tools (hfjs) + +Available commands: + +` + typedEntries(commands).map(([name, def]) => ` ${usage(name)}: ${def.description}`).join("\n") + ); + console.log("\nTo get help on a specific command, run `hfjs help ` or `hfjs --help`"); + console.log( + "For commands with subcommands (like 'branch'), run `hfjs help ` or `hfjs --help`" + ); + if (mainCommandName === void 0) { + process.exitCode = 1; + } + } + break; + } + case "upload": { + const cmdDef = commands.upload; + if (cliArgs[0] === "--help" || cliArgs[0] === "-h") { + console.log(detailedUsageForCommand("upload")); + break; + } + const parsedArgs = advParseArgs(cliArgs, cmdDef.args, "upload"); + const { + repoName, + localFolder, + repoType, + revision, + token, + quiet, + commitMessage, + pathInRepo, + private: isPrivate + } = parsedArgs; + const repoId = repoType ? { type: repoType, name: repoName } : repoName; + if (!await repoExists({ repo: repoId, revision, accessToken: token, hubUrl: process.env.HF_ENDPOINT ?? HUB_URL })) { + if (!quiet) { + console.log(`Repo ${repoName} does not exist. Creating it...`); + } + await createRepo({ + repo: repoId, + accessToken: token, + private: !!isPrivate, + hubUrl: process.env.HF_ENDPOINT ?? HUB_URL + }); + } + const isFile = (await stat(localFolder)).isFile(); + const files = isFile ? [ + { + content: pathToFileURL(localFolder), + path: join(pathInRepo, `${basename(localFolder)}`).replace(/^[.]?\//, "") + } + ] : [{ content: pathToFileURL(localFolder), path: pathInRepo.replace(/^[.]?\//, "") }]; + const progressManager = new UploadProgressManager(!!quiet); + await progressManager.initialize(); + try { + for await (const event of uploadFilesWithProgress({ + repo: repoId, + files, + branch: revision, + accessToken: token, + commitTitle: commitMessage?.trim().split("\n")[0], + commitDescription: commitMessage?.trim().split("\n").slice(1).join("\n").trim(), + hubUrl: process.env.HF_ENDPOINT ?? HUB_URL, + useXet: true + })) { + progressManager.handleEvent(event); + } + if (!quiet) { + console.log("\n\u2705 Upload completed successfully!"); + } + } catch (error) { + progressManager.stop(); + throw error; + } finally { + progressManager.stop(); + } + break; + } + case "branch": { + const branchCommandGroup = commands.branch; + const currentSubCommandName = subCommandName; + if (subCommandName === "--help" || subCommandName === "-h") { + console.log(listSubcommands("branch", branchCommandGroup)); + break; + } + if (cliArgs[0] === "--help" || cliArgs[0] === "-h") { + if (currentSubCommandName && branchCommandGroup.subcommands[currentSubCommandName]) { + console.log(detailedUsageForSubcommand("branch", currentSubCommandName)); + } else { + console.log(listSubcommands("branch", branchCommandGroup)); + } + break; + } + if (!currentSubCommandName || !branchCommandGroup.subcommands[currentSubCommandName]) { + console.error(`Error: Missing or invalid subcommand for 'branch'.`); + console.log(listSubcommands("branch", branchCommandGroup)); + process.exitCode = 1; + break; + } + const subCmdDef = branchCommandGroup.subcommands[currentSubCommandName]; + switch (currentSubCommandName) { + case "create": { + const parsedArgs = advParseArgs(cliArgs, subCmdDef.args, "branch create"); + const { repoName, branch, revision, empty, repoType, token, force } = parsedArgs; + await createBranch({ + repo: repoType ? { type: repoType, name: repoName } : repoName, + branch, + accessToken: token, + revision, + empty: empty ?? void 0, + overwrite: force ?? void 0, + hubUrl: process.env.HF_ENDPOINT ?? HUB_URL + }); + console.log(`Branch '${branch}' created successfully in repo '${repoName}'.`); + break; + } + case "delete": { + const parsedArgs = advParseArgs(cliArgs, subCmdDef.args, "branch delete"); + const { repoName, branch, repoType, token } = parsedArgs; + await deleteBranch({ + repo: repoType ? { type: repoType, name: repoName } : repoName, + branch, + accessToken: token, + hubUrl: process.env.HF_ENDPOINT ?? HUB_URL + }); + console.log(`Branch '${branch}' deleted successfully from repo '${repoName}'.`); + break; + } + default: + console.error(`Error: Unknown subcommand '${currentSubCommandName}' for 'branch'.`); + console.log(listSubcommands("branch", branchCommandGroup)); + process.exitCode = 1; + break; + } + break; + } + case "repo": { + const repoCommandGroup = commands.repo; + const currentSubCommandName = subCommandName; + if (subCommandName === "--help" || subCommandName === "-h") { + console.log(listSubcommands("repo", repoCommandGroup)); + break; + } + if (cliArgs[0] === "--help" || cliArgs[0] === "-h") { + if (currentSubCommandName && repoCommandGroup.subcommands[currentSubCommandName]) { + console.log(detailedUsageForSubcommand("repo", currentSubCommandName)); + } else { + console.log(listSubcommands("repo", repoCommandGroup)); + } + break; + } + if (!currentSubCommandName || !repoCommandGroup.subcommands[currentSubCommandName]) { + console.error(`Error: Missing or invalid subcommand for 'repo'.`); + console.log(listSubcommands("repo", repoCommandGroup)); + process.exitCode = 1; + break; + } + const subCmdDef = repoCommandGroup.subcommands[currentSubCommandName]; + switch (currentSubCommandName) { + case "delete": { + const parsedArgs = advParseArgs(cliArgs, subCmdDef.args, `repo ${currentSubCommandName}`); + const { repoName, repoType, token } = parsedArgs; + const repoDesignation = repoType ? { type: repoType, name: repoName } : repoName; + await deleteRepo({ + repo: repoDesignation, + accessToken: token, + hubUrl: process.env.HF_ENDPOINT ?? HUB_URL + }); + console.log(`Repository '${repoName}' deleted successfully.`); + break; + } + default: + console.error(`Error: Unknown subcommand '${currentSubCommandName}' for 'repo'.`); + console.log(listSubcommands("repo", repoCommandGroup)); + process.exitCode = 1; + break; + } + break; + } + case "models": { + const modelCommandGroup = commands.models; + const currentSubCommandName = subCommandName; + if (subCommandName === "--help" || subCommandName === "-h") { + console.log(listSubcommands("models", modelCommandGroup)); + break; + } + if (cliArgs[0] === "--help" || cliArgs[0] === "-h") { + if (currentSubCommandName && modelCommandGroup.subcommands[currentSubCommandName]) { + console.log(detailedUsageForSubcommand("models", currentSubCommandName)); + } else { + console.log(listSubcommands("models", modelCommandGroup)); + } + break; + } + if (!currentSubCommandName || !modelCommandGroup.subcommands[currentSubCommandName]) { + console.error(`Error: Missing or invalid subcommand for 'models'.`); + console.log(listSubcommands("models", modelCommandGroup)); + process.exitCode = 1; + break; + } + const subCmdDef = modelCommandGroup.subcommands[currentSubCommandName]; + switch (currentSubCommandName) { + case "list": { + const parsedArgs = advParseArgs(cliArgs, subCmdDef.args, "models list"); + const { search, sort, token } = parsedArgs; + const models = []; + for await (const model of listModels({ + search: search ? { query: search } : void 0, + sort, + limit: 20, + accessToken: token, + hubUrl: process.env.HF_ENDPOINT ?? HUB_URL + })) { + models.push(model); + } + if (models.length === 0) { + console.log("No models found."); + break; + } + console.log( + `${"MODEL".padEnd(45)} ${"TASK".padEnd(25)} ${"DOWNLOADS".padStart(10)} ${"LIKES".padStart(7)} ${"UPDATED"}` + ); + console.log("-".repeat(110)); + for (const model of models) { + const task = model.task || "N/A"; + const updatedAt = model.updatedAt.toLocaleDateString(); + console.log( + `${model.name.padEnd(45)} ${task.padEnd(25)} ${String(model.downloads).padStart(10)} ${String(model.likes).padStart(7)} ${updatedAt}` + ); + } + break; + } + default: + console.error(`Error: Unknown subcommand '${currentSubCommandName}' for 'models'.`); + console.log(listSubcommands("models", modelCommandGroup)); + process.exitCode = 1; + break; + } + break; + } + case "version": { + if (cliArgs[0] === "--help" || cliArgs[0] === "-h") { + console.log(detailedUsageForCommand("version")); + break; + } + console.log(`hfjs version: ${version}`); + break; + } + case "jobs": { + const jobsCommandGroup = commands.jobs; + const currentSubCommandName = subCommandName; + if (subCommandName === "--help" || subCommandName === "-h") { + console.log(listSubcommands("jobs", jobsCommandGroup)); + break; + } + if (cliArgs[0] === "--help" || cliArgs[0] === "-h") { + if (currentSubCommandName && jobsCommandGroup.subcommands[currentSubCommandName]) { + console.log(detailedUsageForSubcommand("jobs", currentSubCommandName)); + } else { + console.log(listSubcommands("jobs", jobsCommandGroup)); + } + break; + } + if (!currentSubCommandName || !jobsCommandGroup.subcommands[currentSubCommandName]) { + console.error(`Error: Missing or invalid subcommand for 'jobs'.`); + console.log(listSubcommands("jobs", jobsCommandGroup)); + process.exitCode = 1; + break; + } + const subCmdDef = jobsCommandGroup.subcommands[currentSubCommandName]; + switch (currentSubCommandName) { + case "run": { + const parsedArgs = advParseArgs(cliArgs, subCmdDef.args, "jobs run"); + const { + dockerImageOrSpace: firstArg, + command: commandArray, + env, + secret, + label, + flavor, + attempts: attemptsStr, + namespace, + token, + detach + } = parsedArgs; + const envVars = env; + const secretVars = secret; + const labelVars = label; + let attempts; + if (attemptsStr) { + const parsed = parseInt(attemptsStr, 10); + if (isNaN(parsed) || parsed < 1) { + throw new Error("Attempts must be a positive integer"); + } + attempts = parsed; + } + let dockerImage; + let spaceId; + const hfCoSpacesMatch = firstArg.match(/^hf\.co\/spaces\/(.+)$/); + if (hfCoSpacesMatch) { + spaceId = hfCoSpacesMatch[1]; + } else { + dockerImage = firstArg; + } + let finalNamespace = namespace; + if (!finalNamespace) { + if (!token) { + throw new Error( + "Cannot determine namespace without authentication. Please provide --namespace or --token." + ); + } + const userInfo = await whoAmI({ + accessToken: token, + hubUrl: process.env.HF_ENDPOINT ?? HUB_URL + }); + if (userInfo.type !== "user") { + throw new Error("Cannot determine namespace. Please provide --namespace explicitly."); + } + finalNamespace = userInfo.name; + } + const environment = {}; + if (envVars) { + for (const envVar of envVars) { + const equalIndex = envVar.indexOf("="); + if (equalIndex === -1) { + throw new Error(`Invalid environment variable format: ${envVar}. Expected KEY=VALUE`); + } + const key = envVar.slice(0, equalIndex); + const value = envVar.slice(equalIndex + 1); + environment[key] = value; + } + } + const secrets = {}; + if (secretVars) { + for (const secretVar of secretVars) { + const equalIndex = secretVar.indexOf("="); + if (equalIndex === -1) { + throw new Error(`Invalid secret format: ${secretVar}. Expected KEY=VALUE`); + } + const key = secretVar.slice(0, equalIndex); + const value = secretVar.slice(equalIndex + 1); + secrets[key] = value; + } + } + const labels = {}; + if (labelVars) { + for (const labelVar of labelVars) { + const equalIndex = labelVar.indexOf("="); + const [key, value] = equalIndex > -1 ? [labelVar.slice(0, equalIndex), labelVar.slice(equalIndex + 1)] : [labelVar, ""]; + labels[key] = value; + } + } + const jobParams = { + namespace: finalNamespace, + ...dockerImage ? { dockerImage } : {}, + ...spaceId ? { spaceId } : {}, + flavor, + command: commandArray.length > 0 ? commandArray : void 0, + environment, + secrets, + ...attempts !== void 0 ? { attempts } : {}, + ...Object.keys(labels).length > 0 ? { labels } : {}, + hubUrl: process.env.HF_ENDPOINT ?? HUB_URL, + ...token ? { accessToken: token } : {} + }; + const job = await runJob(jobParams); + console.log(`Job created: ${job.id}`); + console.log(`Status: ${job.status.stage}`); + if (!detach) { + const logsParams = { + namespace: finalNamespace, + jobId: job.id, + hubUrl: process.env.HF_ENDPOINT ?? HUB_URL, + ...token ? { accessToken: token } : {} + }; + for await (const logChunk of streamJobLogs(logsParams)) { + console.log(logChunk.message); + } + } + break; + } + case "ps": { + const parsedArgs = advParseArgs(cliArgs, subCmdDef.args, "jobs ps"); + const { all, namespace, token } = parsedArgs; + let finalNamespace = namespace; + if (!finalNamespace) { + if (!token) { + throw new Error( + "Cannot determine namespace without authentication. Please provide --namespace or --token." + ); + } + const userInfo = await whoAmI({ + accessToken: token, + hubUrl: process.env.HF_ENDPOINT ?? HUB_URL + }); + if (userInfo.type !== "user") { + throw new Error("Cannot determine namespace. Please provide --namespace explicitly."); + } + finalNamespace = userInfo.name; + } + const jobs = await listJobs({ + namespace: finalNamespace, + accessToken: token, + hubUrl: process.env.HF_ENDPOINT ?? HUB_URL + }); + const filteredJobs = all ? jobs : jobs.filter((job) => job.status.stage === "RUNNING"); + if (filteredJobs.length === 0) { + console.log(all ? "No jobs found." : "No running jobs found."); + break; + } + console.log(`${"ID".padEnd(40)} ${"STATUS".padEnd(12)} ${"CREATED".padEnd(20)} ${"DOCKER IMAGE"}`); + console.log("-".repeat(100)); + for (const job of filteredJobs) { + const createdAt = new Date(job.createdAt).toLocaleString(); + const dockerImage = job.dockerImage || job.spaceId || "N/A"; + const status = job.status.stage; + console.log(`${job.id.padEnd(40)} ${status.padEnd(12)} ${createdAt.padEnd(20)} ${dockerImage}`); + } + break; + } + case "hardware": { + const parsedArgs = advParseArgs(cliArgs, subCmdDef.args, "jobs hardware"); + const { token } = parsedArgs; + const hardwareParams = { + hubUrl: process.env.HF_ENDPOINT ?? HUB_URL + }; + if (token) { + hardwareParams.accessToken = token; + } + const hardware = await listJobHardware(hardwareParams); + console.log( + `${"NAME".padEnd(15)} ${"PRETTY NAME".padEnd(22)} ${"CPU".padEnd(8)} ${"RAM".padEnd(7)} ${"ACCELERATOR".padEnd(16)} ${"COST/MIN".padEnd(9)} ${"COST/HOUR"}` + ); + console.log("-".repeat(100)); + for (const hw of hardware) { + let accelerator = "N/A"; + if (hw.accelerator) { + accelerator = `${hw.accelerator.quantity}x ${hw.accelerator.model} (${hw.accelerator.vram})`; + } + const costPerMin = (hw.unitCostMicroUSD / 1e6).toFixed(4); + const costPerHour = (hw.unitCostMicroUSD / 1e6 * 60).toFixed(2); + console.log( + `${hw.name.padEnd(15)} ${hw.prettyName.padEnd(22)} ${hw.cpu.padEnd(8)} ${hw.ram.padEnd(7)} ${accelerator.padEnd(16)} $${costPerMin.padStart(8)} $${costPerHour.padStart(9)}` + ); + } + break; + } + case "logs": { + const parsedArgs = advParseArgs(cliArgs, subCmdDef.args, "jobs logs"); + const { jobId, namespace, token } = parsedArgs; + let finalNamespace = namespace; + if (!finalNamespace) { + if (!token) { + throw new Error( + "Cannot determine namespace without authentication. Please provide --namespace or --token." + ); + } + const userInfo = await whoAmI({ + accessToken: token, + hubUrl: process.env.HF_ENDPOINT ?? HUB_URL + }); + if (userInfo.type !== "user") { + throw new Error("Cannot determine namespace. Please provide --namespace explicitly."); + } + finalNamespace = userInfo.name; + } + const logsParams = { + namespace: finalNamespace, + jobId, + hubUrl: process.env.HF_ENDPOINT ?? HUB_URL, + ...token ? { accessToken: token } : {} + }; + const jobInfoParams = { + namespace: finalNamespace, + jobId, + hubUrl: process.env.HF_ENDPOINT ?? HUB_URL, + ...token ? { accessToken: token } : {} + }; + const jobInfo = await getJob(jobInfoParams); + if (jobInfo.status.stage === "ERROR" && jobInfo.status.message) { + console.error(` +\u274C Job failed: ${jobInfo.status.message} +`); + } + for await (const logChunk of streamJobLogs(logsParams)) { + console.log(logChunk.message); + } + break; + } + default: + console.error(`Error: Unknown subcommand '${currentSubCommandName}' for 'jobs'.`); + console.log(listSubcommands("jobs", jobsCommandGroup)); + process.exitCode = 1; + break; + } + break; + } + default: + console.error("Command not found: " + mainCommandName); + console.log( + ` +Available commands: + +` + typedEntries(commands).map(([name, def]) => ` ${usage(name)}: ${def.description}`).join("\n") + ); + console.log("\nTo get help on a specific command, run `hfjs help ` or `hfjs --help`"); + process.exitCode = 1; + break; + } +} +run().catch((err) => { + console.error("\x1B[31mError:\x1B[0m", err.message); + console.error(err); + process.exitCode = 1; +}); +function usage(commandName, subCommandName2) { + const commandEntry = commands[commandName]; + let cmdArgs; + let fullCommandName = commandName; + if ("subcommands" in commandEntry) { + if (subCommandName2 && subCommandName2 in commandEntry.subcommands) { + const subCmd = commandEntry.subcommands[subCommandName2]; + cmdArgs = subCmd.args; + fullCommandName = `${commandName} ${subCommandName2}`; + } else { + return `${commandName} `; + } + } else { + cmdArgs = commandEntry.args; + } + return `${fullCommandName} ${(cmdArgs || []).map((arg) => { + if (arg.positional) { + return arg.required ? `<${arg.name}>` : `[${arg.name}]`; + } + return `[--${arg.name}${arg.short ? `|-${arg.short}` : ""}${arg.enum ? ` {${arg.enum.join("|")}}` : arg.boolean ? "" : ` <${arg.name.toUpperCase().replace(/-/g, "_")}>`}]`; + }).join(" ")}`.trim(); +} +function _detailedUsage(args, usageLine, commandDescription) { + let ret = `usage: hfjs ${usageLine} +`; + if (commandDescription) { + ret += ` +${commandDescription} +`; + } + const positionals = args.filter((p) => p.positional); + const options = args.filter((p) => !p.positional); + if (positionals.length > 0) { + ret += ` +Positional arguments: +`; + for (const arg of positionals) { + ret += ` ${arg.name} ${arg.description}${arg.default ? ` (default: ${typeof arg.default === "function" ? arg.default() : arg.default})` : ""} +`; + } + } + if (options.length > 0) { + ret += ` +Options: +`; + for (const arg of options) { + const nameAndAlias = `--${arg.name}${arg.short ? `, -${arg.short}` : ""}`; + const valueHint = arg.enum ? `{${arg.enum.join("|")}}` : arg.boolean ? "" : `<${arg.name.toUpperCase().replace(/-/g, "_")}>`; + ret += ` ${nameAndAlias}${valueHint ? " " + valueHint : ""} ${arg.description}${arg.default !== void 0 ? ` (default: ${typeof arg.default === "function" ? arg.default() : arg.default})` : ""} +`; + } + } + ret += ` +`; + return ret; +} +function detailedUsageForCommand(commandName) { + const commandDef = commands[commandName]; + if ("subcommands" in commandDef) { + return listSubcommands(commandName, commandDef); + } + return _detailedUsage(commandDef.args, usage(commandName), commandDef.description); +} +function detailedUsageForSubcommand(commandName, subCommandName2) { + const commandGroup = commands[commandName]; + if (!("subcommands" in commandGroup)) { + throw new Error(`Command ${commandName} does not have subcommands`); + } + if (!(subCommandName2 in commandGroup.subcommands)) { + throw new Error(`Subcommand ${subCommandName2} not found for ${commandName}`); + } + const subCommandDef = commandGroup.subcommands[subCommandName2]; + return _detailedUsage(subCommandDef.args, usage(commandName, subCommandName2), subCommandDef.description); +} +function listSubcommands(commandName, commandGroup) { + let ret = `usage: hfjs ${commandName} [options] + +`; + ret += `${commandGroup.description} + +`; + ret += `Available subcommands for '${commandName}': +`; + ret += typedEntries(commandGroup.subcommands).map(([subName, subDef]) => ` ${subName} ${subDef.description}`).join("\n"); + if (commandName === "jobs") { + ret += ` + +Example: + hfjs jobs run -e FOO=foo -e BAR=bar python:3.12 -- python -c 'import os; print(os.environ["FOO"], os.environ["BAR"])'`; + } + ret += ` + +Run \`hfjs help ${commandName} \` for more information on a specific subcommand.`; + return ret; +} +function advParseArgs(args, argDefs, commandNameForError) { + const hasMultiplePositional = argDefs.some((arg) => arg.multiple && arg.positional); + const { tokens } = parseArgs({ + options: Object.fromEntries( + argDefs.filter((arg) => !arg.positional).map((arg) => { + const optionConfig = { + type: arg.boolean ? "boolean" : "string", + ...arg.short && { short: arg.short }, + ...arg.multiple && { multiple: true }, + ...arg.default !== void 0 && { + default: typeof arg.default === "function" ? arg.default() : arg.default + } + }; + return [arg.name, optionConfig]; + }) + ), + args, + allowPositionals: true, + strict: false, + // We do custom validation based on tokens and argDefs + tokens: true + }); + const expectedPositionals = argDefs.filter((arg) => arg.positional); + const providedPositionalTokens = tokens.filter((token) => token.kind === "positional"); + if (providedPositionalTokens.length < expectedPositionals.filter((arg) => arg.required).length) { + throw new Error( + `Command '${commandNameForError}': Missing required positional arguments. Usage: hfjs ${usage( + commandNameForError.split(" ")[0], + commandNameForError.split(" ")[1] + )}` + ); + } + if (providedPositionalTokens.length > expectedPositionals.length && !hasMultiplePositional) { + throw new Error( + `Command '${commandNameForError}': Too many positional arguments. Usage: hfjs ${usage( + commandNameForError.split(" ")[0], + commandNameForError.split(" ")[1] + )}` + ); + } + const result = {}; + for (const argDef of argDefs) { + if (argDef.default !== void 0) { + result[argDef.name] = typeof argDef.default === "function" ? argDef.default() : argDef.default; + } else if (argDef.boolean) { + result[argDef.name] = false; + } + } + expectedPositionals.forEach((argDef, i) => { + if (argDef.multiple) { + result[argDef.name] = providedPositionalTokens.slice(i).map((token) => token.value); + } else if (providedPositionalTokens[i]) { + result[argDef.name] = providedPositionalTokens[i].value; + } + }); + tokens.filter((token) => token.kind === "option").forEach((token) => { + const argDef = argDefs.find((def) => def.name === token.name || def.short === token.name); + if (!argDef) { + throw new Error(`Command '${commandNameForError}': Unknown option: ${token.rawName}`); + } + if (argDef.boolean) { + result[argDef.name] = true; + } else { + if (token.value === void 0) { + throw new Error(`Command '${commandNameForError}': Missing value for option: ${token.rawName}`); + } + if (argDef.enum && !argDef.enum.includes(token.value)) { + throw new Error( + `Command '${commandNameForError}': Invalid value '${token.value}' for option ${token.rawName}. Expected one of: ${argDef.enum.join(", ")}` + ); + } + if (argDef.multiple) { + const existing = result[argDef.name] || []; + existing.push(token.value); + result[argDef.name] = existing; + } else { + result[argDef.name] = token.value; + } + } + }); + for (const argDef of argDefs) { + if (argDef.required && result[argDef.name] === void 0) { + throw new Error(`Command '${commandNameForError}': Missing required argument: ${argDef.name}`); + } + } + return Object.fromEntries( + Object.entries(result).map(([name, val]) => [kebabToCamelCase(name), val]) + ); +} +function kebabToCamelCase(str) { + return str.replace(/-./g, (match) => match[1].toUpperCase()); +} diff --git a/node_modules/@huggingface/hub/dist/index.d.ts b/node_modules/@huggingface/hub/dist/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..a92fbe1ee551ee13def8f72bd7f062db8c15a64e --- /dev/null +++ b/node_modules/@huggingface/hub/dist/index.d.ts @@ -0,0 +1,2 @@ +export * from "./src"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/index.d.ts.map b/node_modules/@huggingface/hub/dist/index.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..01832f343733ac628ff0f5ae57d4d3efdc4773b9 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/index.js b/node_modules/@huggingface/hub/dist/index.js new file mode 100644 index 0000000000000000000000000000000000000000..f8ccb017ab254beb1d15caf8369256f69f77d339 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/index.js @@ -0,0 +1,8541 @@ +"use strict"; +var __create = Object.create; +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __getProtoOf = Object.getPrototypeOf; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __esm = (fn, res) => function __init() { + return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res; +}; +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( + // If the importer is in node compatibility mode or this is not an ESM + // file that has been converted to a CommonJS file using a Babel- + // compatible transform (i.e. "__esModule" has not been set), then set + // "default" to the CommonJS "module.exports" for node compatibility. + isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, + mod +)); +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/vendor/hash-wasm/sha256.js +var import_meta, Module, sha256_default; +var init_sha256 = __esm({ + "src/vendor/hash-wasm/sha256.js"() { + "use strict"; + import_meta = {}; + Module = (() => { + var _unused = import_meta.url; + return function(moduleArg = {}) { + var Module2 = moduleArg; + var readyPromiseResolve, readyPromiseReject; + Module2["ready"] = new Promise((resolve3, reject) => { + readyPromiseResolve = resolve3; + readyPromiseReject = reject; + }); + var moduleOverrides = Object.assign({}, Module2); + var arguments_ = []; + var thisProgram = "./this.program"; + var quit_ = (status, toThrow) => { + throw toThrow; + }; + var ENVIRONMENT_IS_WEB = typeof window == "object"; + var ENVIRONMENT_IS_WORKER = typeof importScripts == "function"; + var ENVIRONMENT_IS_NODE = typeof process == "object" && typeof process.versions == "object" && typeof process.versions.node == "string"; + var ENVIRONMENT_IS_SHELL = !ENVIRONMENT_IS_WEB && !ENVIRONMENT_IS_NODE && !ENVIRONMENT_IS_WORKER; + var scriptDirectory = ""; + function locateFile(path2) { + if (Module2["locateFile"]) { + return Module2["locateFile"](path2, scriptDirectory); + } + return scriptDirectory + path2; + } + var read_, readAsync, readBinary; + if (ENVIRONMENT_IS_WEB || ENVIRONMENT_IS_WORKER) { + if (ENVIRONMENT_IS_WORKER) { + scriptDirectory = self.location.href; + } else if (typeof document != "undefined" && document.currentScript) { + scriptDirectory = document.currentScript.src; + } + if (false) { + scriptDirectory = false; + } + if (scriptDirectory.startsWith("blob:")) { + scriptDirectory = ""; + } else { + scriptDirectory = scriptDirectory.substr(0, scriptDirectory.replace(/[?#].*/, "").lastIndexOf("/") + 1); + } + { + read_ = (url) => { + var xhr = new XMLHttpRequest(); + xhr.open("GET", url, false); + xhr.send(null); + return xhr.responseText; + }; + if (ENVIRONMENT_IS_WORKER) { + readBinary = (url) => { + var xhr = new XMLHttpRequest(); + xhr.open("GET", url, false); + xhr.responseType = "arraybuffer"; + xhr.send(null); + return new Uint8Array( + /** @type{!ArrayBuffer} */ + xhr.response + ); + }; + } + readAsync = (url, onload, onerror) => { + var xhr = new XMLHttpRequest(); + xhr.open("GET", url, true); + xhr.responseType = "arraybuffer"; + xhr.onload = () => { + if (xhr.status == 200 || xhr.status == 0 && xhr.response) { + onload(xhr.response); + return; + } + onerror(); + }; + xhr.onerror = onerror; + xhr.send(null); + }; + } + } else { + } + var out = Module2["print"] || console.log.bind(console); + var err = Module2["printErr"] || console.error.bind(console); + Object.assign(Module2, moduleOverrides); + moduleOverrides = null; + if (Module2["arguments"]) + arguments_ = Module2["arguments"]; + if (Module2["thisProgram"]) + thisProgram = Module2["thisProgram"]; + if (Module2["quit"]) + quit_ = Module2["quit"]; + var wasmBinary2; + if (Module2["wasmBinary"]) + wasmBinary2 = Module2["wasmBinary"]; + if (typeof WebAssembly != "object") { + abort("no native wasm support detected"); + } + function intArrayFromBase64(s) { + var decoded = atob(s); + var bytes = new Uint8Array(decoded.length); + for (var i = 0; i < decoded.length; ++i) { + bytes[i] = decoded.charCodeAt(i); + } + return bytes; + } + function tryParseAsDataURI(filename) { + if (!isDataURI(filename)) { + return; + } + return intArrayFromBase64(filename.slice(dataURIPrefix.length)); + } + var wasmMemory; + var ABORT = false; + var EXITSTATUS; + function assert(condition, text) { + if (!condition) { + abort(text); + } + } + var HEAP, HEAP8, HEAPU8, HEAP16, HEAPU16, HEAP32, HEAPU32, HEAPF32, HEAPF64; + function updateMemoryViews() { + var b = wasmMemory.buffer; + Module2["HEAP8"] = HEAP8 = new Int8Array(b); + Module2["HEAP16"] = HEAP16 = new Int16Array(b); + Module2["HEAPU8"] = HEAPU8 = new Uint8Array(b); + Module2["HEAPU16"] = HEAPU16 = new Uint16Array(b); + Module2["HEAP32"] = HEAP32 = new Int32Array(b); + Module2["HEAPU32"] = HEAPU32 = new Uint32Array(b); + Module2["HEAPF32"] = HEAPF32 = new Float32Array(b); + Module2["HEAPF64"] = HEAPF64 = new Float64Array(b); + } + var __ATPRERUN__ = []; + var __ATINIT__ = []; + var __ATEXIT__ = []; + var __ATPOSTRUN__ = []; + var runtimeInitialized = false; + function preRun() { + if (Module2["preRun"]) { + if (typeof Module2["preRun"] == "function") + Module2["preRun"] = [Module2["preRun"]]; + while (Module2["preRun"].length) { + addOnPreRun(Module2["preRun"].shift()); + } + } + callRuntimeCallbacks(__ATPRERUN__); + } + function initRuntime() { + runtimeInitialized = true; + callRuntimeCallbacks(__ATINIT__); + } + function postRun() { + if (Module2["postRun"]) { + if (typeof Module2["postRun"] == "function") + Module2["postRun"] = [Module2["postRun"]]; + while (Module2["postRun"].length) { + addOnPostRun(Module2["postRun"].shift()); + } + } + callRuntimeCallbacks(__ATPOSTRUN__); + } + function addOnPreRun(cb) { + __ATPRERUN__.unshift(cb); + } + function addOnInit(cb) { + __ATINIT__.unshift(cb); + } + function addOnExit(cb) { + } + function addOnPostRun(cb) { + __ATPOSTRUN__.unshift(cb); + } + var runDependencies = 0; + var runDependencyWatcher = null; + var dependenciesFulfilled = null; + function getUniqueRunDependency(id) { + return id; + } + function addRunDependency(id) { + runDependencies++; + Module2["monitorRunDependencies"]?.(runDependencies); + } + function removeRunDependency(id) { + runDependencies--; + Module2["monitorRunDependencies"]?.(runDependencies); + if (runDependencies == 0) { + if (runDependencyWatcher !== null) { + clearInterval(runDependencyWatcher); + runDependencyWatcher = null; + } + if (dependenciesFulfilled) { + var callback = dependenciesFulfilled; + dependenciesFulfilled = null; + callback(); + } + } + } + function abort(what) { + Module2["onAbort"]?.(what); + what = "Aborted(" + what + ")"; + err(what); + ABORT = true; + EXITSTATUS = 1; + what += ". Build with -sASSERTIONS for more info."; + var e = new WebAssembly.RuntimeError(what); + readyPromiseReject(e); + throw e; + } + var dataURIPrefix = "data:application/octet-stream;base64,"; + var isDataURI = (filename) => filename.startsWith(dataURIPrefix); + var isFileURI = (filename) => filename.startsWith("file://"); + var wasmBinaryFile; + wasmBinaryFile = "data:application/octet-stream;base64,AGFzbQEAAAABHQZgAX8AYAABf2AAAGABfwF/YAJ/fwBgA39/fwF/Aw0MAgAEAgMBBQABAQADBAUBcAEBAQUGAQGAAoACBg4CfwFB8IuEBAt/AUEACweYAQoGbWVtb3J5AgARX193YXNtX2NhbGxfY3RvcnMAAAtIYXNoX1VwZGF0ZQABCkhhc2hfRmluYWwAAwlIY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QJ/IwAgAGtBcHEiASQAIAELC9ICAgBBgAgLwAJn5glqha5nu3Lzbjw69U+lf1IOUYxoBZur2YMfGc3gW9ieBcEH1Xw2F91wMDlZDvcxC8D/ERVYaKeP+WSkT/q+mC+KQpFEN3HP+8C1pdu16VvCVjnxEfFZpII/ktVeHKuYqgfYAVuDEr6FMSTDfQxVdF2+cv6x3oCnBtybdPGbwcFpm+SGR77vxp3BD8yhDCRvLOktqoR0StypsFzaiPl2UlE+mG3GMajIJwOwx39Zv/ML4MZHkafVUWPKBmcpKRSFCrcnOCEbLvxtLE0TDThTVHMKZbsKanYuycKBhSxykqHov6JLZhqocItLwqNRbMcZ6JLRJAaZ1oU1DvRwoGoQFsGkGQhsNx5Md0gntbywNLMMHDlKqthOT8qcW/NvLmjugo90b2OleBR4yIQIAseM+v++kOtsUKT3o/m+8nhxxgBBwAoLBIAFgAA="; + if (!isDataURI(wasmBinaryFile)) { + wasmBinaryFile = locateFile(wasmBinaryFile); + } + function getBinarySync(file) { + if (file == wasmBinaryFile && wasmBinary2) { + return new Uint8Array(wasmBinary2); + } + var binary = tryParseAsDataURI(file); + if (binary) { + return binary; + } + if (readBinary) { + return readBinary(file); + } + throw "both async and sync fetching of the wasm failed"; + } + function getBinaryPromise(binaryFile) { + return Promise.resolve().then(() => getBinarySync(binaryFile)); + } + function instantiateArrayBuffer(binaryFile, imports, receiver) { + return getBinaryPromise(binaryFile).then((binary) => { + return WebAssembly.instantiate(binary, imports); + }).then(receiver, (reason) => { + err(`failed to asynchronously prepare wasm: ${reason}`); + abort(reason); + }); + } + function instantiateAsync(binary, binaryFile, imports, callback) { + return instantiateArrayBuffer(binaryFile, imports, callback); + } + function createWasm() { + var info = { + "env": wasmImports, + "wasi_snapshot_preview1": wasmImports + }; + function receiveInstance(instance, module2) { + wasmExports = instance.exports; + wasmMemory = wasmExports["memory"]; + updateMemoryViews(); + addOnInit(wasmExports["__wasm_call_ctors"]); + removeRunDependency("wasm-instantiate"); + return wasmExports; + } + addRunDependency("wasm-instantiate"); + function receiveInstantiationResult(result) { + receiveInstance(result["instance"]); + } + if (Module2["instantiateWasm"]) { + try { + return Module2["instantiateWasm"](info, receiveInstance); + } catch (e) { + err(`Module.instantiateWasm callback failed with error: ${e}`); + readyPromiseReject(e); + } + } + instantiateAsync(wasmBinary2, wasmBinaryFile, info, receiveInstantiationResult).catch(readyPromiseReject); + return {}; + } + var tempDouble; + var tempI64; + function ExitStatus(status) { + this.name = "ExitStatus"; + this.message = `Program terminated with exit(${status})`; + this.status = status; + } + var callRuntimeCallbacks = (callbacks) => { + while (callbacks.length > 0) { + callbacks.shift()(Module2); + } + }; + function getValue(ptr, type = "i8") { + if (type.endsWith("*")) + type = "*"; + switch (type) { + case "i1": + return HEAP8[ptr]; + case "i8": + return HEAP8[ptr]; + case "i16": + return HEAP16[ptr >> 1]; + case "i32": + return HEAP32[ptr >> 2]; + case "i64": + abort("to do getValue(i64) use WASM_BIGINT"); + case "float": + return HEAPF32[ptr >> 2]; + case "double": + return HEAPF64[ptr >> 3]; + case "*": + return HEAPU32[ptr >> 2]; + default: + abort(`invalid type for getValue: ${type}`); + } + } + var noExitRuntime = Module2["noExitRuntime"] || true; + function setValue(ptr, value, type = "i8") { + if (type.endsWith("*")) + type = "*"; + switch (type) { + case "i1": + HEAP8[ptr] = value; + break; + case "i8": + HEAP8[ptr] = value; + break; + case "i16": + HEAP16[ptr >> 1] = value; + break; + case "i32": + HEAP32[ptr >> 2] = value; + break; + case "i64": + abort("to do setValue(i64) use WASM_BIGINT"); + case "float": + HEAPF32[ptr >> 2] = value; + break; + case "double": + HEAPF64[ptr >> 3] = value; + break; + case "*": + HEAPU32[ptr >> 2] = value; + break; + default: + abort(`invalid type for setValue: ${type}`); + } + } + var wasmImports = {}; + var wasmExports = createWasm(); + var ___wasm_call_ctors = () => (___wasm_call_ctors = wasmExports["__wasm_call_ctors"])(); + var _Hash_Update = Module2["_Hash_Update"] = (a0) => (_Hash_Update = Module2["_Hash_Update"] = wasmExports["Hash_Update"])(a0); + var _Hash_Final = Module2["_Hash_Final"] = () => (_Hash_Final = Module2["_Hash_Final"] = wasmExports["Hash_Final"])(); + var _Hash_Init = Module2["_Hash_Init"] = (a0) => (_Hash_Init = Module2["_Hash_Init"] = wasmExports["Hash_Init"])(a0); + var _GetBufferPtr = Module2["_GetBufferPtr"] = () => (_GetBufferPtr = Module2["_GetBufferPtr"] = wasmExports["GetBufferPtr"])(); + var stackSave = () => (stackSave = wasmExports["stackSave"])(); + var stackRestore = (a0) => (stackRestore = wasmExports["stackRestore"])(a0); + var stackAlloc = (a0) => (stackAlloc = wasmExports["stackAlloc"])(a0); + var calledRun; + dependenciesFulfilled = function runCaller() { + if (!calledRun) + run(); + if (!calledRun) + dependenciesFulfilled = runCaller; + }; + function run() { + if (runDependencies > 0) { + return; + } + preRun(); + if (runDependencies > 0) { + return; + } + function doRun() { + if (calledRun) + return; + calledRun = true; + Module2["calledRun"] = true; + if (ABORT) + return; + initRuntime(); + readyPromiseResolve(Module2); + if (Module2["onRuntimeInitialized"]) + Module2["onRuntimeInitialized"](); + postRun(); + } + if (Module2["setStatus"]) { + Module2["setStatus"]("Running..."); + setTimeout(function() { + setTimeout(function() { + Module2["setStatus"](""); + }, 1); + doRun(); + }, 1); + } else { + doRun(); + } + } + if (Module2["preInit"]) { + if (typeof Module2["preInit"] == "function") + Module2["preInit"] = [Module2["preInit"]]; + while (Module2["preInit"].length > 0) { + Module2["preInit"].pop()(); + } + } + run(); + return moduleArg.ready; + }; + })(); + sha256_default = Module; + } +}); + +// src/vendor/hash-wasm/sha256-wrapper.ts +var sha256_wrapper_exports = {}; +__export(sha256_wrapper_exports, { + createSHA256: () => createSHA256, + createSHA256WorkerCode: () => createSHA256WorkerCode +}); +async function createSHA256(isInsideWorker = false) { + const BUFFER_MAX_SIZE = 8 * 1024 * 1024; + const wasm2 = isInsideWorker ? ( + // @ts-expect-error WasmModule will be populated inside self object + await self["SHA256WasmModule"]() + ) : await sha256_default(); + const heap = wasm2.HEAPU8.subarray(wasm2._GetBufferPtr()); + return { + init() { + wasm2._Hash_Init(256); + }, + update(data) { + let byteUsed = 0; + while (byteUsed < data.byteLength) { + const bytesLeft = data.byteLength - byteUsed; + const length = Math.min(bytesLeft, BUFFER_MAX_SIZE); + heap.set(data.subarray(byteUsed, byteUsed + length)); + wasm2._Hash_Update(length); + byteUsed += length; + } + }, + digest(method) { + if (method !== "hex") { + throw new Error("Only digest hex is supported"); + } + wasm2._Hash_Final(); + const result = Array.from(heap.slice(0, 32)); + return result.map((b) => b.toString(16).padStart(2, "0")).join(""); + } + }; +} +function createSHA256WorkerCode() { + return ` + self.addEventListener('message', async (event) => { + const { file } = event.data; + const sha256 = await self.createSHA256(true); + sha256.init(); + const reader = file.stream().getReader(); + const total = file.size; + let bytesDone = 0; + while (true) { + const { done, value } = await reader.read(); + if (done) { + break; + } + sha256.update(value); + bytesDone += value.length; + postMessage({ progress: bytesDone / total }); + } + postMessage({ sha256: sha256.digest('hex') }); + }); + self.SHA256WasmModule = ${sha256_default.toString()}; + self.createSHA256 = ${createSHA256.toString()}; + `; +} +var init_sha256_wrapper = __esm({ + "src/vendor/hash-wasm/sha256-wrapper.ts"() { + "use strict"; + init_sha256(); + } +}); + +// src/utils/sha256-node.ts +var sha256_node_exports = {}; +__export(sha256_node_exports, { + sha256Node: () => sha256Node +}); +async function* sha256Node(buffer, opts) { + const sha256Stream = (0, import_node_crypto.createHash)("sha256"); + const size = buffer instanceof Blob ? buffer.size : buffer.byteLength; + let done = 0; + const readable = buffer instanceof Blob ? import_node_stream.Readable.fromWeb(buffer.stream()) : import_node_stream.Readable.from(Buffer.from(buffer)); + for await (const buffer2 of readable) { + sha256Stream.update(buffer2); + done += buffer2.length; + yield done / size; + opts?.abortSignal?.throwIfAborted(); + } + return sha256Stream.digest("hex"); +} +var import_node_stream, import_node_crypto; +var init_sha256_node = __esm({ + "src/utils/sha256-node.ts"() { + "use strict"; + import_node_stream = require("stream"); + import_node_crypto = require("crypto"); + } +}); + +// src/utils/FileBlob.ts +var FileBlob_exports = {}; +__export(FileBlob_exports, { + FileBlob: () => FileBlob +}); +var import_node_fs, import_promises2, import_node_stream2, import_node_url, FileBlob; +var init_FileBlob = __esm({ + "src/utils/FileBlob.ts"() { + "use strict"; + import_node_fs = require("fs"); + import_promises2 = require("fs/promises"); + import_node_stream2 = require("stream"); + import_node_url = require("url"); + FileBlob = class extends Blob { + /** + * Creates a new FileBlob on the provided file. + * + * @param path Path to the file to be lazy readed + */ + static async create(path2) { + path2 = path2 instanceof URL ? (0, import_node_url.fileURLToPath)(path2) : path2; + const { size } = await (0, import_promises2.stat)(path2); + const fileBlob = new FileBlob(path2, 0, size); + return fileBlob; + } + path; + start; + end; + constructor(path2, start, end) { + super(); + this.path = path2; + this.start = start; + this.end = end; + } + /** + * Returns the size of the blob. + */ + get size() { + return this.end - this.start; + } + /** + * Returns a new instance of FileBlob that is a slice of the current one. + * + * The slice is inclusive of the start and exclusive of the end. + * + * The slice method does not supports negative start/end. + * + * @param start beginning of the slice + * @param end end of the slice + */ + slice(start = 0, end = this.size) { + if (start < 0 || end < 0) { + new TypeError("Unsupported negative start/end on FileBlob.slice"); + } + const slice = new FileBlob(this.path, this.start + start, Math.min(this.start + end, this.end)); + return slice; + } + /** + * Read the part of the file delimited by the FileBlob and returns it as an ArrayBuffer. + */ + async arrayBuffer() { + const slice = await this.execute((file) => file.read(Buffer.alloc(this.size), 0, this.size, this.start)); + return slice.buffer; + } + /** + * Read the part of the file delimited by the FileBlob and returns it as a string. + */ + async text() { + const buffer = await this.arrayBuffer(); + return buffer.toString("utf8"); + } + /** + * Returns a stream around the part of the file delimited by the FileBlob. + */ + stream() { + if (this.start === this.end) { + return new Blob([]).stream(); + } + return import_node_stream2.Readable.toWeb((0, import_node_fs.createReadStream)(this.path, { start: this.start, end: this.end - 1 })); + } + /** + * We are opening and closing the file for each action to prevent file descriptor leaks. + * + * It is an intended choice of developer experience over performances. + */ + async execute(action) { + const file = await (0, import_promises2.open)(this.path, "r"); + try { + return await action(file); + } finally { + await file.close(); + } + } + }; + } +}); + +// src/utils/sub-paths.ts +var sub_paths_exports = {}; +__export(sub_paths_exports, { + subPaths: () => subPaths +}); +async function subPaths(path2, maxDepth = 10) { + const state = await (0, import_promises3.stat)(path2); + if (!state.isDirectory()) { + return [{ path: path2, relativePath: "." }]; + } + const files = await (0, import_promises3.readdir)(path2, { withFileTypes: true }); + const ret = []; + for (const file of files) { + const filePath = (0, import_node_url2.pathToFileURL)((0, import_node_url2.fileURLToPath)(path2) + "/" + file.name); + if (file.isDirectory()) { + ret.push( + ...(await subPaths(filePath, maxDepth - 1)).map((subPath) => ({ + ...subPath, + relativePath: `${file.name}/${subPath.relativePath}` + })) + ); + } else { + ret.push({ path: filePath, relativePath: file.name }); + } + } + return ret; +} +var import_promises3, import_node_url2; +var init_sub_paths = __esm({ + "src/utils/sub-paths.ts"() { + "use strict"; + import_promises3 = require("fs/promises"); + import_node_url2 = require("url"); + } +}); + +// src/vendor/xet-chunk/chunker_wasm_bg.js +var chunker_wasm_bg_exports = {}; +__export(chunker_wasm_bg_exports, { + Chunker: () => Chunker, + __wbg_String_8f0eb39a4a4c2f66: () => __wbg_String_8f0eb39a4a4c2f66, + __wbg_buffer_609cc3eee51ed158: () => __wbg_buffer_609cc3eee51ed158, + __wbg_call_672a4d21634d4a24: () => __wbg_call_672a4d21634d4a24, + __wbg_done_769e5ede4b31c67b: () => __wbg_done_769e5ede4b31c67b, + __wbg_get_67b2ba62fc30de12: () => __wbg_get_67b2ba62fc30de12, + __wbg_get_b9b93047fe3cf45b: () => __wbg_get_b9b93047fe3cf45b, + __wbg_getwithrefkey_1dc361bd10053bfe: () => __wbg_getwithrefkey_1dc361bd10053bfe, + __wbg_instanceof_ArrayBuffer_e14585432e3737fc: () => __wbg_instanceof_ArrayBuffer_e14585432e3737fc, + __wbg_instanceof_Uint8Array_17156bcf118086a9: () => __wbg_instanceof_Uint8Array_17156bcf118086a9, + __wbg_isArray_a1eab7e0d067391b: () => __wbg_isArray_a1eab7e0d067391b, + __wbg_isSafeInteger_343e2beeeece1bb0: () => __wbg_isSafeInteger_343e2beeeece1bb0, + __wbg_iterator_9a24c88df860dc65: () => __wbg_iterator_9a24c88df860dc65, + __wbg_length_a446193dc22c12f8: () => __wbg_length_a446193dc22c12f8, + __wbg_length_e2d2a49132c1b256: () => __wbg_length_e2d2a49132c1b256, + __wbg_new_405e22f390576ce2: () => __wbg_new_405e22f390576ce2, + __wbg_new_78feb108b6472713: () => __wbg_new_78feb108b6472713, + __wbg_new_a12002a7f91c75be: () => __wbg_new_a12002a7f91c75be, + __wbg_next_25feadfc0913fea9: () => __wbg_next_25feadfc0913fea9, + __wbg_next_6574e1a8a62d1055: () => __wbg_next_6574e1a8a62d1055, + __wbg_set_37837023f3d740e8: () => __wbg_set_37837023f3d740e8, + __wbg_set_3f1d0b984ed272ed: () => __wbg_set_3f1d0b984ed272ed, + __wbg_set_65595bdd868b3009: () => __wbg_set_65595bdd868b3009, + __wbg_set_wasm: () => __wbg_set_wasm, + __wbg_value_cd1ffa7b1ab794f1: () => __wbg_value_cd1ffa7b1ab794f1, + __wbindgen_as_number: () => __wbindgen_as_number, + __wbindgen_boolean_get: () => __wbindgen_boolean_get, + __wbindgen_debug_string: () => __wbindgen_debug_string, + __wbindgen_error_new: () => __wbindgen_error_new, + __wbindgen_in: () => __wbindgen_in, + __wbindgen_init_externref_table: () => __wbindgen_init_externref_table, + __wbindgen_is_function: () => __wbindgen_is_function, + __wbindgen_is_object: () => __wbindgen_is_object, + __wbindgen_is_undefined: () => __wbindgen_is_undefined, + __wbindgen_jsval_loose_eq: () => __wbindgen_jsval_loose_eq, + __wbindgen_memory: () => __wbindgen_memory, + __wbindgen_number_get: () => __wbindgen_number_get, + __wbindgen_number_new: () => __wbindgen_number_new, + __wbindgen_string_get: () => __wbindgen_string_get, + __wbindgen_string_new: () => __wbindgen_string_new, + __wbindgen_throw: () => __wbindgen_throw, + compute_file_hash: () => compute_file_hash, + compute_hmac: () => compute_hmac, + compute_verification_hash: () => compute_verification_hash, + compute_xorb_hash: () => compute_xorb_hash +}); +function __wbg_set_wasm(val) { + wasm = val; +} +function getUint8ArrayMemory0() { + if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) { + cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer); + } + return cachedUint8ArrayMemory0; +} +function passStringToWasm0(arg, malloc, realloc) { + if (realloc === void 0) { + const buf = cachedTextEncoder.encode(arg); + const ptr2 = malloc(buf.length, 1) >>> 0; + getUint8ArrayMemory0().subarray(ptr2, ptr2 + buf.length).set(buf); + WASM_VECTOR_LEN = buf.length; + return ptr2; + } + let len = arg.length; + let ptr = malloc(len, 1) >>> 0; + const mem = getUint8ArrayMemory0(); + let offset = 0; + for (; offset < len; offset++) { + const code = arg.charCodeAt(offset); + if (code > 127) + break; + mem[ptr + offset] = code; + } + if (offset !== len) { + if (offset !== 0) { + arg = arg.slice(offset); + } + ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0; + const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len); + const ret = encodeString(arg, view); + offset += ret.written; + ptr = realloc(ptr, len, offset, 1) >>> 0; + } + WASM_VECTOR_LEN = offset; + return ptr; +} +function getDataViewMemory0() { + if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || cachedDataViewMemory0.buffer.detached === void 0 && cachedDataViewMemory0.buffer !== wasm.memory.buffer) { + cachedDataViewMemory0 = new DataView(wasm.memory.buffer); + } + return cachedDataViewMemory0; +} +function addToExternrefTable0(obj) { + const idx = wasm.__externref_table_alloc(); + wasm.__wbindgen_export_4.set(idx, obj); + return idx; +} +function handleError(f, args) { + try { + return f.apply(this, args); + } catch (e) { + const idx = addToExternrefTable0(e); + wasm.__wbindgen_exn_store(idx); + } +} +function debugString(val) { + const type = typeof val; + if (type == "number" || type == "boolean" || val == null) { + return `${val}`; + } + if (type == "string") { + return `"${val}"`; + } + if (type == "symbol") { + const description = val.description; + if (description == null) { + return "Symbol"; + } else { + return `Symbol(${description})`; + } + } + if (type == "function") { + const name = val.name; + if (typeof name == "string" && name.length > 0) { + return `Function(${name})`; + } else { + return "Function"; + } + } + if (Array.isArray(val)) { + const length = val.length; + let debug = "["; + if (length > 0) { + debug += debugString(val[0]); + } + for (let i = 1; i < length; i++) { + debug += ", " + debugString(val[i]); + } + debug += "]"; + return debug; + } + const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val)); + let className; + if (builtInMatches && builtInMatches.length > 1) { + className = builtInMatches[1]; + } else { + return toString.call(val); + } + if (className == "Object") { + try { + return "Object(" + JSON.stringify(val) + ")"; + } catch (_) { + return "Object"; + } + } + if (val instanceof Error) { + return `${val.name}: ${val.message} +${val.stack}`; + } + return className; +} +function getStringFromWasm0(ptr, len) { + ptr = ptr >>> 0; + return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len)); +} +function isLikeNone(x) { + return x === void 0 || x === null; +} +function passArray8ToWasm0(arg, malloc) { + const ptr = malloc(arg.length * 1, 1) >>> 0; + getUint8ArrayMemory0().set(arg, ptr / 1); + WASM_VECTOR_LEN = arg.length; + return ptr; +} +function takeFromExternrefTable0(idx) { + const value = wasm.__wbindgen_export_4.get(idx); + wasm.__externref_table_dealloc(idx); + return value; +} +function compute_xorb_hash(chunks_array) { + let deferred2_0; + let deferred2_1; + try { + const ret = wasm.compute_xorb_hash(chunks_array); + var ptr1 = ret[0]; + var len1 = ret[1]; + if (ret[3]) { + ptr1 = 0; + len1 = 0; + throw takeFromExternrefTable0(ret[2]); + } + deferred2_0 = ptr1; + deferred2_1 = len1; + return getStringFromWasm0(ptr1, len1); + } finally { + wasm.__wbindgen_free(deferred2_0, deferred2_1, 1); + } +} +function compute_file_hash(chunks_array) { + let deferred2_0; + let deferred2_1; + try { + const ret = wasm.compute_file_hash(chunks_array); + var ptr1 = ret[0]; + var len1 = ret[1]; + if (ret[3]) { + ptr1 = 0; + len1 = 0; + throw takeFromExternrefTable0(ret[2]); + } + deferred2_0 = ptr1; + deferred2_1 = len1; + return getStringFromWasm0(ptr1, len1); + } finally { + wasm.__wbindgen_free(deferred2_0, deferred2_1, 1); + } +} +function passArrayJsValueToWasm0(array, malloc) { + const ptr = malloc(array.length * 4, 4) >>> 0; + for (let i = 0; i < array.length; i++) { + const add = addToExternrefTable0(array[i]); + getDataViewMemory0().setUint32(ptr + 4 * i, add, true); + } + WASM_VECTOR_LEN = array.length; + return ptr; +} +function compute_verification_hash(chunk_hashes) { + let deferred3_0; + let deferred3_1; + try { + const ptr0 = passArrayJsValueToWasm0(chunk_hashes, wasm.__wbindgen_malloc); + const len0 = WASM_VECTOR_LEN; + const ret = wasm.compute_verification_hash(ptr0, len0); + var ptr2 = ret[0]; + var len2 = ret[1]; + if (ret[3]) { + ptr2 = 0; + len2 = 0; + throw takeFromExternrefTable0(ret[2]); + } + deferred3_0 = ptr2; + deferred3_1 = len2; + return getStringFromWasm0(ptr2, len2); + } finally { + wasm.__wbindgen_free(deferred3_0, deferred3_1, 1); + } +} +function compute_hmac(hash_hex, hmac_key_hex) { + let deferred4_0; + let deferred4_1; + try { + const ptr0 = passStringToWasm0(hash_hex, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len0 = WASM_VECTOR_LEN; + const ptr1 = passStringToWasm0(hmac_key_hex, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + const ret = wasm.compute_hmac(ptr0, len0, ptr1, len1); + var ptr3 = ret[0]; + var len3 = ret[1]; + if (ret[3]) { + ptr3 = 0; + len3 = 0; + throw takeFromExternrefTable0(ret[2]); + } + deferred4_0 = ptr3; + deferred4_1 = len3; + return getStringFromWasm0(ptr3, len3); + } finally { + wasm.__wbindgen_free(deferred4_0, deferred4_1, 1); + } +} +function __wbg_String_8f0eb39a4a4c2f66(arg0, arg1) { + const ret = String(arg1); + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); +} +function __wbg_buffer_609cc3eee51ed158(arg0) { + const ret = arg0.buffer; + return ret; +} +function __wbg_call_672a4d21634d4a24() { + return handleError(function(arg0, arg1) { + const ret = arg0.call(arg1); + return ret; + }, arguments); +} +function __wbg_done_769e5ede4b31c67b(arg0) { + const ret = arg0.done; + return ret; +} +function __wbg_get_67b2ba62fc30de12() { + return handleError(function(arg0, arg1) { + const ret = Reflect.get(arg0, arg1); + return ret; + }, arguments); +} +function __wbg_get_b9b93047fe3cf45b(arg0, arg1) { + const ret = arg0[arg1 >>> 0]; + return ret; +} +function __wbg_getwithrefkey_1dc361bd10053bfe(arg0, arg1) { + const ret = arg0[arg1]; + return ret; +} +function __wbg_instanceof_ArrayBuffer_e14585432e3737fc(arg0) { + let result; + try { + result = arg0 instanceof ArrayBuffer; + } catch (_) { + result = false; + } + const ret = result; + return ret; +} +function __wbg_instanceof_Uint8Array_17156bcf118086a9(arg0) { + let result; + try { + result = arg0 instanceof Uint8Array; + } catch (_) { + result = false; + } + const ret = result; + return ret; +} +function __wbg_isArray_a1eab7e0d067391b(arg0) { + const ret = Array.isArray(arg0); + return ret; +} +function __wbg_isSafeInteger_343e2beeeece1bb0(arg0) { + const ret = Number.isSafeInteger(arg0); + return ret; +} +function __wbg_iterator_9a24c88df860dc65() { + const ret = Symbol.iterator; + return ret; +} +function __wbg_length_a446193dc22c12f8(arg0) { + const ret = arg0.length; + return ret; +} +function __wbg_length_e2d2a49132c1b256(arg0) { + const ret = arg0.length; + return ret; +} +function __wbg_new_405e22f390576ce2() { + const ret = new Object(); + return ret; +} +function __wbg_new_78feb108b6472713() { + const ret = new Array(); + return ret; +} +function __wbg_new_a12002a7f91c75be(arg0) { + const ret = new Uint8Array(arg0); + return ret; +} +function __wbg_next_25feadfc0913fea9(arg0) { + const ret = arg0.next; + return ret; +} +function __wbg_next_6574e1a8a62d1055() { + return handleError(function(arg0) { + const ret = arg0.next(); + return ret; + }, arguments); +} +function __wbg_set_37837023f3d740e8(arg0, arg1, arg2) { + arg0[arg1 >>> 0] = arg2; +} +function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) { + arg0[arg1] = arg2; +} +function __wbg_set_65595bdd868b3009(arg0, arg1, arg2) { + arg0.set(arg1, arg2 >>> 0); +} +function __wbg_value_cd1ffa7b1ab794f1(arg0) { + const ret = arg0.value; + return ret; +} +function __wbindgen_as_number(arg0) { + const ret = +arg0; + return ret; +} +function __wbindgen_boolean_get(arg0) { + const v = arg0; + const ret = typeof v === "boolean" ? v ? 1 : 0 : 2; + return ret; +} +function __wbindgen_debug_string(arg0, arg1) { + const ret = debugString(arg1); + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); +} +function __wbindgen_error_new(arg0, arg1) { + const ret = new Error(getStringFromWasm0(arg0, arg1)); + return ret; +} +function __wbindgen_in(arg0, arg1) { + const ret = arg0 in arg1; + return ret; +} +function __wbindgen_init_externref_table() { + const table = wasm.__wbindgen_export_4; + const offset = table.grow(4); + table.set(0, void 0); + table.set(offset + 0, void 0); + table.set(offset + 1, null); + table.set(offset + 2, true); + table.set(offset + 3, false); + ; +} +function __wbindgen_is_function(arg0) { + const ret = typeof arg0 === "function"; + return ret; +} +function __wbindgen_is_object(arg0) { + const val = arg0; + const ret = typeof val === "object" && val !== null; + return ret; +} +function __wbindgen_is_undefined(arg0) { + const ret = arg0 === void 0; + return ret; +} +function __wbindgen_jsval_loose_eq(arg0, arg1) { + const ret = arg0 == arg1; + return ret; +} +function __wbindgen_memory() { + const ret = wasm.memory; + return ret; +} +function __wbindgen_number_get(arg0, arg1) { + const obj = arg1; + const ret = typeof obj === "number" ? obj : void 0; + getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true); +} +function __wbindgen_number_new(arg0) { + const ret = arg0; + return ret; +} +function __wbindgen_string_get(arg0, arg1) { + const obj = arg1; + const ret = typeof obj === "string" ? obj : void 0; + var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); +} +function __wbindgen_string_new(arg0, arg1) { + const ret = getStringFromWasm0(arg0, arg1); + return ret; +} +function __wbindgen_throw(arg0, arg1) { + throw new Error(getStringFromWasm0(arg0, arg1)); +} +var wasm, WASM_VECTOR_LEN, cachedUint8ArrayMemory0, lTextEncoder, cachedTextEncoder, encodeString, cachedDataViewMemory0, lTextDecoder, cachedTextDecoder, ChunkerFinalization, Chunker; +var init_chunker_wasm_bg = __esm({ + "src/vendor/xet-chunk/chunker_wasm_bg.js"() { + "use strict"; + WASM_VECTOR_LEN = 0; + cachedUint8ArrayMemory0 = null; + lTextEncoder = typeof TextEncoder === "undefined" ? (0, module.require)("util").TextEncoder : TextEncoder; + cachedTextEncoder = new lTextEncoder("utf-8"); + encodeString = typeof cachedTextEncoder.encodeInto === "function" ? function(arg, view) { + return cachedTextEncoder.encodeInto(arg, view); + } : function(arg, view) { + const buf = cachedTextEncoder.encode(arg); + view.set(buf); + return { + read: arg.length, + written: buf.length + }; + }; + cachedDataViewMemory0 = null; + lTextDecoder = typeof TextDecoder === "undefined" ? (0, module.require)("util").TextDecoder : TextDecoder; + cachedTextDecoder = new lTextDecoder("utf-8", { ignoreBOM: true, fatal: true }); + cachedTextDecoder.decode(); + ChunkerFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => { + }, unregister: () => { + } } : new FinalizationRegistry((ptr) => wasm.__wbg_chunker_free(ptr >>> 0, 1)); + Chunker = class { + __destroy_into_raw() { + const ptr = this.__wbg_ptr; + this.__wbg_ptr = 0; + ChunkerFinalization.unregister(this); + return ptr; + } + free() { + const ptr = this.__destroy_into_raw(); + wasm.__wbg_chunker_free(ptr, 0); + } + /** + * @param {number} target_chunk_size + */ + constructor(target_chunk_size) { + const ret = wasm.chunker_new(target_chunk_size); + this.__wbg_ptr = ret >>> 0; + ChunkerFinalization.register(this, this.__wbg_ptr, this); + return this; + } + /** + * @param {Uint8Array} data + * @returns {any} + */ + add_data(data) { + const ptr0 = passArray8ToWasm0(data, wasm.__wbindgen_malloc); + const len0 = WASM_VECTOR_LEN; + const ret = wasm.chunker_add_data(this.__wbg_ptr, ptr0, len0); + if (ret[2]) { + throw takeFromExternrefTable0(ret[1]); + } + return takeFromExternrefTable0(ret[0]); + } + /** + * @returns {any} + */ + finish() { + const ret = wasm.chunker_finish(this.__wbg_ptr); + if (ret[2]) { + throw takeFromExternrefTable0(ret[1]); + } + return takeFromExternrefTable0(ret[0]); + } + }; + } +}); + +// src/vendor/xet-chunk/chunker_wasm_bg.wasm.base64.ts +var wasmBase64, wasmBinary; +var init_chunker_wasm_bg_wasm_base64 = __esm({ + "src/vendor/xet-chunk/chunker_wasm_bg.wasm.base64.ts"() { + "use strict"; + wasmBase64 = atob( + ` +AGFzbQEAAAABwAIuYAJ/fwF/YAN/f38Bf2ACf38AYAN/f38AYAR/f39/AGABfwBgAW8Bf2ABfwF/YAAEf39/f2AFf39/f38AYAFv +AW9gAABgAn9vAGAAAW9gBn9/f39/fwBgAAN/f39gAm9vAW9gBn9/f39/fwF/YAV/f39/fwF/YAR/f39/AX9gAn9/AW9gAm9vAX9g +AW8Ef39/f2ABbwF8YAF8AW9gA29vbwBgAm9/AW9gA29/bwBgA29vfwBgBX9/f35/AGAHf39/fn9/fwF/YAl/f39/f39+fn4AYAAB +f2ADfn9/AX9gB39/f39/f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BDoA+gEgB0EAOwH4ASAHIAIpAgA3 +A9ABIAcgC60gA3w3A/ABIAdBkAFqIAAgDmogCRBFIQAgB0HQAGogASkDADcDACAHQdgAaiAKKQMANwMAIAdB4ABqIAgpAwA3AwAg +B0EQaiAAQQhqKQMANwMAIAdBGGogAEEQaikDADcDACAHQSBqIABBGGopAwA3AwAgB0EoaiAAQSBqKQMANwMAIAdBMGogAEEoaikD +ADcDACAHQThqIABBMGopAwA3AwAgB0FAayAAQThqKQMANwMAIAcgBykD0AE3A0ggByAAKQMANwMIIActAPoBIQAgBy0A+QEhAiAH +IActAPgBIgQ6AHAgByAHKQPwASIDNwNoIAcgACACRXJBAnIiADoAcSAHQZgCaiICIAgpAwA3AwAgB0GQAmoiCCAKKQMANwMAIAdB +iAJqIgogASkDADcDACAHIAcpA9ABNwOAAiAHQYACaiAHQQhqIAQgAyAAECcgC0EFdCIAQSBqIgEgBksNAiACKAIAIQEgCCgCACEC +IAooAgAhBCAHKAKUAiEGIAcoAowCIQogBygChAIhCCAHKAKAAiEJIAAgBWoiACAHKAKcAjYAHCAAIAE2ABggACAGNgAUIAAgAjYA +ECAAIAo2AAwgACAENgAIIAAgCDYABCAAIAk2AAAgC0EBaiELDAELQn8gAa1CAXxCAYhCAX15iKciCiABTw0CIAdBCGoiCEEAQYAB +EEMaIAAgCkEBaiIKIAIgAyAEIAhBIEHAACAKQYAIRhsiCRAqIQsgACAKaiABIAprIAIgCkEKdq0gA3wgBCAIIAlqQYABIAlrECog +C0EBRgRAIAZBP00NBCAFIAcpAAg3AAAgBUE4aiAHQUBrKQAANwAAIAVBMGogB0E4aikAADcAACAFQShqIAdBMGopAAA3AAAgBUEg +aiAHQShqKQAANwAAIAVBGGogB0EgaikAADcAACAFQRBqIAdBGGopAAA3AAAgBUEIaiAHQRBqKQAANwAAQQIhCwwBCyALakEFdCIA +QYEBTw0EIAdBCGogACACIAQgBSAGED0hCwsgB0GgAmokACALDwsgASAGQYC9wAAQzgEACyAHQQA2AhggB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OBDYwRAIA6wDAELQoCAgICAgICAgH8L +QoCAgICAgICAgH8gAxsgDkT////////fQ2QbQgAgDiAOYRs3AwhCAQVCAAs3AwACfwJAIAIoAihBAUYEQCACKQMwIg9CAFkNAQsg +AkEkaiACQc8AakHIkMAAED4hBEEBDAELIA9CgICAgBBaBEAgAkEBOgA4IAIgDzcDQCMAQTBrIgMkACADQciQwAA2AgQgAyACQc8A +ajYCACADQQI2AgwgA0HIjMAANgIIIANCAjcCFCADIAOtQoCAgICQAYQ3AyggAyACQThqrUKAgICAoAGENwMgIAMgA0EgajYCECAD +QQhqEGQhBCADQTBqJABBAQwBCyAPpyEEQQALIAIoAiQiBUGEAU8EQCAFEG8LQQEhCUUNAgwBC0HVksAAQQYQgQEhBAsgAEGAgICA +eDYCACAAIAQ2AgQgAUGAgICAeHJBgICAgHhGDQMgBiABEMoBDAMLCyACKAIYIgMgAigCHEcNAAsgAUGAgICAeEYEQEHRksAAQQQQ +gAEhASAAQYCAgIB4NgIAIAAgATYCBAwBCyAJRQRAQdWSwABBBhCAASEEIABBgICAgHg2AgAgACAENgIEIAFFDQEgBiABEMoBDAEL +IAAgBDYCDCAAIA02AgggACAGNgIEIAAgATYCACACKAIgIgBBhAFPBEAgABBvCyACKAIQRQ0DIAIoAhQiA0GDAU0NAwwCCyACKAIg +IgBBhAFPBEAgABBvCyACKAIQRQ0CIAIoAhQiA0GDAUsNAQwCCyACQQxqIAJBzwBqQfiQwAAQPiEEIABBgICAgHg2AgAgACAENgIE +IAFBhAFJDQEgARBvDAELIAMQbwsgAkHQAGokAA8LQaCSwABBMRDcAQALxgYBCH8CQAJAIAEgAEEDakF8cSIDIABrIghJDQAgASAI +ayIGQQRJDQAgBkEDcSEHQQAhAQJAIAAgA0YiCQ0AAkAgACADayIFQXxLBEBBACEDDAELQQAhAwNAIAEgACADaiICLAAAQb9/Smog +AkEBaiwAAEG/f0pqIAJBAmosAABBv39KaiACQQNqLAAAQb9/SmohASADQQRqIgMNAAsLIAkNACA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SAGKAIMEQEADQBBACEBA0AgASAHRgRAQQAPCyABQQFqIQEgACAIIAYoAhARAABFDQALIAFBAWsgB0kPCyABC64FAQd/AkAgACgC +ACIJIAAoAggiBHIEQAJAIARBAXFFDQAgASACaiEHAkAgACgCDCIGRQRAIAEhBAwBCyABIQQDQCAEIgMgB0YNAgJ/IANBAWogAywA +ACIIQQBODQAaIANBAmogCEFgSQ0AGiADQQNqIAhBcEkNABogA0EEagsiBCADayAFaiEFIAZBAWsiBg0ACwsgBCAHRg0AIAQsAAAa +IAUgAgJ/AkAgBUUNACACIAVNBEAgAiAFRg0BQQAMAgsgASAFaiwAAEFATg0AQQAMAQsgAQsiAxshAiADIAEgAxshAQsgCUUNASAA +KAIEIQcCQCACQRBPBEAgASACECwhAwwBCyACRQRAQQAhAwwBCyACQQNxIQYCQCACQQRJBEBBACEDQQAhBQwBCyACQQxxIQhBACED +QQAhBQNAIAMgASAFaiIELAAAQb9/SmogBEEBaiwAAEG/f0pqIARBAmosAABBv39KaiAEQQNqLAAAQb9/SmohAyAIIAVBBGoiBUcN +AAsLIAZFDQAgASAFaiEEA0AgAyAELAAAQb9/SmohAyAEQQFqIQQgBkEBayIGDQALCwJAIAMgB0kEQCAHIANrIQYCQAJAAkAgAC0A +GCIEQQAgBEEDRxsiA0EBaw4CAAECCyAGIQNBACEGDAELIAZBAXYhAyAGQQFqQQF2IQYLIANBAWohAyAAKAIQIQUgACgCICEEIAAo +AhwhAANAIANBAWsiA0UNAiAAIAUgBCgCEBEAAEUNAAtBAQ8LDAILIAAgASACIAQoAgwRAQAEQEEBDwtBACEDA0AgAyAGRgRAQQAP +CyADQQFqIQMgACAFIAQoAhARAABFDQALIANBAWsgBkkPCyAAKAIcIAEgAiAAKAIgKAIMEQEADwsgACgCHCABIAIgACgCICgCDBEB +AAveCAIKfwF+IwBBgAJrIgQkACAEIAEpABg3AhggBCABKQAQNwIQIAQgASkACDcCCCAEIAEpAAA3AgACfyADQYEITwRAIARBIGoh +BSMAQeAAayIBJAAgAUE4aiIGQgA3AwAgAUEwaiIHQgA3AwAgAUEoaiIIQgA3AwAgAUEgaiIJQgA3AwAgAUEYaiIKQgA3AwAgAUEQ +aiILQgA3AwAgAUEIaiIMQgA3AwAgAUIANwMAIAIgAyAEQgBBECABQcAAECohAiABQdgAakIANwMAIAFB0ABqQgA3AwAgAUHIAGpC +ADcDACABQgA3A0ACQAJAAkACQCACQQNPBEADQCACQQV0IgJBwQBPDQIgASACIARBECABQUBrIg1BIBA9IgJBBXQiA0HBAE8NAyAD +QSFPDQQgASANIAMQNRogAkECSw0ACwsgBSABKQMANwAAIAVBOGogBikDADcAACAFQTBqIAcpAwA3AAAgBUEoaiAIKQMANwAAIAVB +IGogCSkDADcAACAFQRhqIAopAwA3AAAgBUEQaiALKQMANwAAIAVBCGogDCkDADcAACABQeAAaiQADAMLIAJBwABBgL7AABDOAQAL +IANBwABBkL7AABDOAQALIANBIEGgvsAAEM4BAAsgBEH4AGogBEEYaikCADcDACAEQfAAaiAEQRBqKQIANwMAIARB6ABqIARBCGop +AgA3AwAgBCAEKQIANwNgQcAAIQNBFAwBCyAEQcgBakIANwMAIARBwAFqQgA3AwAgBEG4AWpCADcDACAEQbABakIANwMAIARBqAFq +QgA3AwAgBEGYAWpCADcDACAEQRA6APoBIARBoAFqQgA3AwAgBEHYAWoiBSAEQQhqKQIANwMAIARB6AFqIgYgBEEYaikCADcDACAE +QeABaiIHIARBEGopAgA3AwAgBEIANwOQASAEIAQpAgA3A9ABIARBADsB+AEgBEIANwPwASAEQZABaiACIAMQRSEBIARB6ABqIAUp +AwA3AwAgBEHwAGogBykDADcDACAEQfgAaiAGKQMANwMAIARBKGogAUEIaikDADcDACAEQTBqIAFBEGopAwA3AwAgBEE4aiABQRhq +KQMANwMAIARBQGsgAUEgaikDADcDACAEQcgAaiABQShqKQMANwMAIARB0ABqIAFBMGopAwA3AwAgBEHYAGogAUE4aikDADcDACAE +IAQpA9ABNwNgIAQgASkDADcDICAEKQPwASEOIA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AAAgA0ECaiAEQQJqLQAAOgAAIANBA2ogBEEDai0AADoAACADQQRqIARBBGotAAA6AAAgA0EFaiAEQQVqLQAAOgAAIANBBmogBEEG +ai0AADoAACADQQdqIARBB2otAAA6AAAgBEEIaiEEIANBCGoiAyAFRw0ACwsgBSACIAZrIgdBfHEiCGohAwJAIAEgBmoiBEEDcUUE +QCADIAVNDQEgBCEBA0AgBSABKAIANgIAIAFBBGohASAFQQRqIgUgA0kNAAsMAQsgAyAFTQ0AIARBA3QiAkEYcSEGIARBfHEiCUEE +aiEBQQAgAmtBGHEhCiAJKAIAIQIDQCAFIAIgBnYgASgCACICIAp0cjYCACABQQRqIQEgBUEEaiIFIANJDQALCyAHQQNxIQIgBCAI +aiEBCwJAIAMgAiADaiIGTw0AIAJBB3EiBARAA0AgAyABLQAAOgAAIAFBAWohASADQQFqIQMgBEEBayIEDQALCyACQQFrQQdJDQAD +QCADIAEtAAA6AAAgA0EBaiABQQFqLQAAOgAAIANBAmogAUECai0AADoAACADQQNqIAFBA2otAAA6AAAgA0EEaiABQQRqLQAAOgAA +IANBBWogAUEFai0AADoAACADQQZqIAFBBmotAAA6AAAgA0EHaiABQQdqLQAAOgAAIAFBCGohASADQQhqIgMgBkcNAAsLIAALhAYC +AX8BfCMAQTBrIgIkAAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAAtAABBAWsOEQECAwQFBgcICQoLDA0O +DxARAAsgAiAALQABOgAIIAJBAjYCFCACQdi/wAA2AhAgAkIBNwIcIAIgAkEIaq1CgICAgOAHhDcDKCACIAJBKGo2AhggASgCHCAB +KAIgIAJBEGoQOAwRCyACIAApAwg3AwggAkECNgIUIAJB9L/AADYCECACQgE3AhwgAiACQQhqrUKAgICA8AeENwMoIAIgAkEoajYC +GCABKAIcIAEoAiAgAkEQahA4DBALIAIgACkDCDcDCCACQQI2AhQgAkH0v8AANgIQIAJCATcCHCACIAJBCGqtQoCAgICACIQ3Aygg +AiACQShqNgIYIAEoAhwgASgCICACQRBqEDgMDwsgACsDCCEDIAJBAjYCFCACQZTAwAA2AhAgAkIBNwIcIAIgAkEoaq1CgICAgJAI +hDcDCCACIAM5AyggAiACQQhqNgIYIAEoAhwgASgCICACQRBqEDgMDgsgAiAAKAIENgIIIAJBAjYCFCACQbDAwAA2AhAgAkIBNwIc +IAIgAkEIaq1CgICAgKAIhDcDKCACIAJBKGo2AhggASgCHCABKAIgIAJBEGoQOAwNCyACIAApAgQ3AgggAkEBNgIUIAJByMDAADYC +ECACQgE3AhwgAiACQQhqrUKAgICAsAiENwMoIAIgAkEoajYCGCABKAIcIAEoAiAgAkEQahA4DAwLIAFBxL/AAEEKELoBDAsLIAFB +0MDAAEEKELoBDAoLIAFB2sDAAEEMELoBDAkLIAFB5sDAAEEOELoBDAgLIAFB9MDAAEEIELoBDAcLIAFB/MDAAEEDELoBDAYLIAFB +/8DAAEEEELoBDAULIAFBg8HAAEEMELoBDAQLIAFBj8HAAEEPELoBDAMLIAFBnsHAAEENELoBDAILIAFBq8HAAEEOELoBDAELIAEg +ACgCBCAAKAIIELoBCyACQTBqJAAL/gUBBX8gAEEIayIBIABBBGsoAgAiA0F4cSIAaiECAkACQCADQQFxDQAgA0ECcUUNASABKAIA +IgMgAGohACABIANrIgFBkIfBACgCAEYEQCACKAIEQQNxQQNHDQFBiIfBACAANgIAIAIgAigCBEF+cTYCBCABIABBAXI2AgQgAiAA +NgIADwsgASADEFALAkACQAJAAkACQCACKAIEIgNBAnFFBEAgAkGUh8EAKAIARg0CIAJBkIfBACgCAEYNAyACIANBeHEiAhBQIAEg +ACACaiIAQQFyNgIEIAAgAWogADYCACABQZCHwQAoAgBHDQFBiIfBACAANgIADwsgAiADQX5xNgIEIAEgAEEBcjYCBCAAIAFqIAA2 +AgALIABBgAJJDQIgASAAEFVBACEBQaiHwQBBqIfBACgCAEEBayIANgIAIAANBEHwhMEAKAIAIgAEQANAIAFBAWohASAAKAIIIgAN +AAsLQaiHwQBB/x8gASABQf8fTRs2AgAPC0GUh8EAIAE2AgBBjIfBAEGMh8EAKAIAIABqIgA2AgAgASAAQQFyNgIEQZCHwQAoAgAg +AUYEQEGIh8EAQQA2AgBBkIfBAEEANgIACyAAQaCHwQAoAgAiA00NA0GUh8EAKAIAIgJFDQNBACEAQYyHwQAoAgAiBEEpSQ0CQeiE +wQAhAQNAIAIgASgCACIFTwRAIAIgBSABKAIEakkNBAsgASgCCCEBDAALAAtBkIfBACABNgIAQYiHwQBBiIfBACgCACAAaiIANgIA +IAEgAEEBcjYCBCAAIAFqIAA2AgAPCyAAQfgBcUH4hMEAaiECAn9BgIfBACgCACIDQQEgAEEDdnQiAHFFBEBBgIfBACAAIANyNgIA +IAIMAQsgAigCCAshACACIAE2AgggACABNgIMIAEgAjYCDCABIAA2AggPC0HwhMEAKAIAIgEEQANAIABBAWohACABKAIIIgENAAsL +QaiHwQBB/x8gACAAQf8fTRs2AgAgAyAETw0AQaCHwQBBfzYCAAsL6gQBCn8jAEEwayIDJAAgAyABNgIsIAMgADYCKCADQQM6ACQg +A0IgNwIcIANBADYCFCADQQA2AgwCfwJAAkACQCACKAIQIgpFBEAgAigCDCIARQ0BIAIoAggiASAAQQN0aiEEIABBAWtB/////wFx +QQFqIQcgAigCACEAA0AgAEEEaigCACIFBEAgAygCKCAAKAIAIAUgAygCLCgCDBEBAA0ECyABKAIAIANBDGogAUEEaigCABEAAA0D +IABBCGohACABQQhqIgEgBEcNAAsMAQsgAigCFCIARQ0AIABBBXQhCyAAQQFrQf///z9xQQFqIQcgAigCCCEFIAIoAgAhAANAIABB +BGooAgAiAQRAIAMoAiggACgCACABIAMoAiwoAgwRAQANAwsgAyAIIApqIgFBEGooAgA2AhwgAyABQRxqLQAAOgAkIAMgAUEYaigC +ADYCICABQQxqKAIAIQRBACEJQQAhBgJAAkACQCABQQhqKAIAQQFrDgIAAgELIARBA3QgBWoiDCgCAA0BIAwoAgQhBAtBASEGCyAD +IAQ2AhAgAyAGNgIMIAFBBGooAgAhBA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ABayIDQR9NDQEgAkEgRw0CIAEgBGoiASAAIApqIgApAAA3AAAgAUEYaiAA +QRhqKQAANwAAIAFBEGogAEEQaikAADcAACABQQhqIABBCGopAAA3AAAgB0EBaiEHCyAGQTBqJAAgBw8LQSAgA0GQvcAAEM4BAAsj +AEEwayIAJAAgAEEgNgIEIAAgAjYCACAAQQM2AgwgAEHI+8AANgIIIABCAjcCFCAAIABBBGqtQoCAgICgCYQ3AyggACAArUKAgICA +oAmENwMgIAAgAEEgajYCECAAQQhqQaC9wAAQnQEAC4wEAgh/AXwjAEHQAGsiAyQAAkACQAJAAkACQCAAKAIAIgQlAUGBASUBEAZF +BEAgBCUBEAcOAgIBAwsgA0EHOgAwIANBMGogASACEHwhBQwEC0EBIQULQQEhBgwBCyADQRBqIAQlARAIIAMoAhAEQCADKwMYIQtB +AyEIQQEhBgwBCyADQQhqIAQQ5gECfyADKAIIIgQEQEEFIQggAygCDCIAIQVBAAwBCwJAAkAgACgCACUBECIEQCADQTBqIAAQdCAD +KAI4IQUgAygCNCEJIAMoAjAhBwwBCyAAKAIAJQEQHEUNASADIAAoAgAQtQEiBDYCSCADQTBqIANByABqEHQgAygCOCEFIAMoAjQh +CSADKAIwIQcgBEGEAUkNACAEEG8LIAdBgICAgHhGDQBBBiEIIAkhBEEBDAELIANBATYCNCADQYiUwAA2AjAgA0IBNwI8IAMgAK1C +gICAgIADhDcDSCADIANByABqNgI4IANBJGogA0EwahBHQREhCEGAgICAeCEHIAMoAiwhBSADKAIoIQQgAygCJCEAQQALIQYgBa2/ +IQsgBiEKCyADIAs5AzggAyAENgI0IAMgBToAMSADIAg6ADAgA0EwaiABIAIQfCEFAkAgCkUEQCAGIABFckUNAQwCCyAHBEAgCSAH +EMoBCyAARSAGcg0BCyAEIAAQygELIANB0ABqJAAgBQvVAwEHfwJAAkAgAUGACkkEQCABQQV2IQUCQAJAIAAoAqABIgQEQCAEQQFr +IQMgBEECdCAAakEEayECIAQgBWpBAnQgAGpBBGshBiAEQSl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ogAToAACAD +QQVqIAE6AAAgA0EEaiABOgAAIANBA2ogAToAACADQQJqIAE6AAAgA0EBaiABOgAAIANBCGoiAyAFRw0ACwsgAAv+AgEEfwJAAkAC +QAJAAkACQAJ/AkAgByAIVgRAIAcgCH0gCFgNAwJAIAYgByAGfVQgByAGQgGGfSAIQgGGWnFFBEAgBiAIVg0BDAoLIAIgA0kNBQwI +CyAHIAYgCH0iBn0gBlYNCCACIANJDQUgASADaiEMIAEhCwJAA0AgAyAJRg0BIAlBAWohCSALQQFrIgsgA2oiCi0AAEE5Rg0ACyAK +IAotAABBAWo6AAAgAyAJa0EBaiADTw0HIApBAWpBMCAJQQFrEEMaDAcLQTEgA0UNAhogAUExOgAAIANBAUcNAUEwDAILIABBADYC +AA8LIAFBAWpBMCADQQFrEEMaQTALIQkgBEEBasEiBCAFwUwgAiADTXINAyAMIAk6AAAgA0EBaiEDDAMLIABBADYCAA8LIAMgAkGQ +4sAAEM4BAAsgAyACQfDhwAAQzgEACyACIANPDQAgAyACQYDiwAAQzgEACyAAIAQ7AQggACADNgIEIAAgATYCAA8LIABBADYCAAub +AwECfwJAAkACQAJAIAAtAGgiAwRAIANBwQBPDQMgACADaiABIAJBwAAgA2siAyACIANJGyIDEDUaIAAgAC0AaCADaiIEOgBoIAEg +A2ohASACIANrIgJFBEBBACECDAILIABBQGsgAEHAACAAKQNgIAAtAGogAC0AaUVyECcgAEIANwMAIABBADoAaCAAQQhqQgA3AwAg +AEEQakIANwMAIABBGGpCADcDACAAQSBqQgA3AwAgAEEoakIANwMAIABBMGpCADcDACAAQThqQgA3AwAgACAALQBpQQFqOgBpC0EA +IQMgAkHBAEkNASAAQUBrIQQgAC0AaSEDA0AgBCABQcAAIAApA2AgAC0AaiADQf8BcUVyECcgACAALQBpQQFqIgM6AGkgAUFAayEB +IAJBQGoiAkHAAEsNAAsgAC0AaCEECyAEQf8BcSIDQcEATw0CCyAAIANqIAEgAkHAACADayIBIAEgAksbIgEQNRogACAALQBoIAFq +OgBoIAAPCyADQcAAQfC8wAAQzQEACyADQcAAQfC8wAAQzQEAC+cCAQV/AkBBzf97QRAgACAAQRBNGyIAayABTQ0AIABBECABQQtq +QXhxIAFBC0kbIgRqQQxqECgiAkUNACACQQhrIQECQCAAQQFrIgMgAnFFBEAgASEADAELIAJBBGsiBSgCACIGQXhxIAIgA2pBACAA +a3FBCGsiAiAAQQAgAiABa0EQTRtqIgAgAWsiAmshAyAGQQNxBEAgACADIAAoAgRBAXFyQQJyNgIEIAAgA2oiAyADKAIEQQFyNgIE +IAUgAiAFKAIAQQFxckECcjYCACABIAJqIgMgAygCBEEBcjYCBCABIAIQQQwBCyABKAIAIQEgACADNgIEIAAgASACajYCAAsCQCAA +KAIEIgFBA3FFDQAgAUF4cSICIARBEGpNDQAgACAEIAFBAXFyQQJyNgIEIAAgBGoiASACIARrIgRBA3I2AgQgACACaiICIAIoAgRB +AXI2AgQgASAEEEELIABBCGohAwsgAwuCAwEHfyMAQRBrIgQkAAJAAkACQAJAAkAgASgCBCICRQ0AIAEoAgAhByACQQNxIQUCQCAC +QQRJBEBBACECDAELIAdBHGohAyACQXxxIQhBACECA0AgAygCACADQQhrKAIAIANBEGsoAgAgA0EYaygCACACampqaiECIANBIGoh +AyAIIAZBBGoiBkcNAAsLIAUEQCAGQQN0IAdqQQRqIQMDQCADKAIAIAJqIQIgA0EIaiEDIAVBAWsiBQ0ACwsgASgCDARAIAJBAEgN +ASAHKAIERSACQRBJcQ0BIAJBAXQhAgtBACEFIAJBAEgNAyACDQELQQEhA0EAIQIMAQtB+YLBAC0AABpBASEFIAJBARC+ASIDRQ0B +CyAEQQA2AgggBCADNgIEIAQgAjYCACAEQYDLwAAgARA4RQ0BQZzMwABB1gAgBEEPakGMzMAAQYzNwAAQeQALIAUgAkH8y8AAELEB +AAsgACAEKQIANwIAIABBCGogBEEIaigCADYCACAEQRBqJAALnQMBCH8jAEEgayICJAAQWkHsgsEAKAIAIQVB6ILBACgCACEHQeiC +wQBCADcCAEHggs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BoIPBAC0AAEEDRwR/IAMgA0EYajYCHCADIANBHGo2AgAjAEEgayIBJAACQAJAAkACQAJAAkBBoIPBAC0AAEEBaw4DAgQBAAtB +oIPBAEECOgAAIAMoAgAiBigCACEFIAZBADYCACAFRQ0CIAUoAgBBCDYCAEGgg8EAQQM6AAALIAFBIGokAAwDCyABQQA2AhggAUEB +NgIMIAFB/JrAADYCCAwKC0G8nMAAENEBAAsgAUEANgIYIAFBATYCDCABQbybwAA2AggMCAsgAygCGAVBnIPBAAsoAgAiAUUNAyAD +QZSDwQA2AhggACABbiIGQZiDwQAtAABBA0cEfyADIANBGGo2AhwgAyADQRxqNgIAIwBBIGsiASQAAkACQAJAAkACQAJAQZiDwQAt +AABBAWsOAwIEAQALQZiDwQBBAjoAACADKAIAIggoAgAhBSAIQQA2AgAgBUUNAiAFKAIAQQI2AgBBmIPBAEEDOgAACyABQSBqJAAM +AwsgAUEANgIYIAFBATYCDCABQfyawAA2AggMCgtBvJzAABDRAQALIAFBADYCGCABQQE2AgwgAUG8m8AANgIIDAgLIAMoAhgFQZSD +wQALKAIAIABsIgFPDQQgAUEASA0FQfmCwQAtAAAaQQEhByABQQEQvgEiBUUNBSAEIAE2AhwgBCAGNgIYIARB0JzAADYCCCAEQgA3 +AwAgBEEANgIoIAQgBTYCJCAEIAE2AiAgBCAAQQFrIgCtIABnQSBzrYY3AxAgA0EgaiQADAcLIANBADYCACMAQRBrIgAkACAAQaiV +wAA2AgwgACADQRxqNgIIIABBCGpB/LLAACAAQQxqQfyywAAgA0GQlsAAEEsAC0GglsAAQShByJbAABCQAQALQdiWwABBN0GQl8AA +EJABAAtBoJfAABCXAQALQbCXwABBL0Hgl8AAEJABAAsgByABQfCXwAAQsQEACyABQgQ3AhAgAUEIakHAmsAAEJ0BAAsgAkE4aiIA +QQA6AAAgAkH4AGogACkDADcCACACQfAAaiACQTBqKQMANwIAIAJB6ABqIAJBKGopAwA3AgAgAkHgAGogAkEgaikDADcCACACQdgA +aiACQRhqKQ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hqQQQgByACQRRqEHMgAigCCEEBRw0BIAIoAgwhBiACKAIQIQMLIAYg +AyABELEBAAsgAigCDCEBIAAgBTYCACAAIAE2AgQgAkEgaiQAC94BAQR/IwBBEGsiAyQAIAAoAgwhAQJAAn8CQAJAAkACQAJAIAAo +AgQOAgABAgsgAQ0BQQEhAUEAIQBBASECDAMLIAFFDQELIANBBGogABBHIAMoAgQhACADKAIIIQIgAygCDAwCCyAAKAIAIgEoAgQi +AEEASA0CIAEoAgAhASAARQRAQQEhAkEAIQAMAQtB+YLBAC0AABpBASEEIABBARC+ASICRQ0CCyACIAEgABA1GiAACyEBIAIgARC0 +ASAABEAgAiAAEMoBCyADQRBqJAAPCyAEIABBlIvAABCxAQAL0AEBBX8jAEEgayIBJAAgACgCACIDQQFqIgIgA0EBdCIEIAIgBEsb +IgJB/////wBLBEBBAEEAQbiQwAAQsQEACwJAQQQgAiACQQRNGyICQQR0IgRB/P///wdNBH8gASADBH8gASADQQR0NgIcIAEgACgC +BDYCFEEEBUEACzYCGCABQQhqQQQgBCABQRRqEHMgASgCCEEBRw0BIAEoAhAhBSABKAIMBUEACyAFQbiQwAAQsQEACyABKAIMIQMg +ACACNgIAIAAgAzYCBCABQSBqJAAL8gEBAn8jAEEwayICJAACQCAAKQMAQv///////////wCDQoCAgICAgID4/wBaBEAgAkEBNgIU +IAJBvMHAADYCECACQgE3AhwgAiAArUKAgICAwAiENwMoIAIgAkEoajYCGCABKAIcIAEoAiAgAkEQahA4IQMMAQsgAkEAOgAMIAIg +ATYCCEEBIQMgAkEBNgIUIAJBvMHAADYCECACQgE3AhwgAiAArUKAgICAwAiENwMoIAIgAkEoajYCGCACQQhqQaS/wAAgAkEQahA4 +DQAgAi0ADEUEQCABQcTBwABBAhC6AQ0BC0EAIQMLIAJBMGokACADC7sBAQJ/IwBBIGsiAyQAAkACf0EAIAEgASACaiICSw0AGkEA +QQggAiAAKAIAIgFBAXQiBCACIARLGyICIAJBCE0bIgRBAEgNABpBACECIAMgAQ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GkEBIQEgA0EBEL4BIgQNAQsgASADQcC5wAAQsQEACyAEIAIgAxA1IQEgACADNgIIIAAgAzYCBCAA +IAE2AgAgAEEdQYEBIANBCnZnQQJ0ayADQf//B0sbNgIMC3ABAX8jAEEQayIBJAAgACgCACIAIAAoAggiAkEBazYCCAJAIAJBAUYE +QCAAKAIAIABBBGooAgAiA0EBEKIBRQ0BIAMQygEgAEEMEMoBCyABQRBqJAAPC0Hwt8AAQSsgAUEPakHgt8AAQay4wAAQeQALxwIB +A38jAEEwayIDJAAgAyACNgIEIAMgATYCACADQQI2AgwgA0H4k8AANgIIIANCAjcCFCADIAOtQoCAgIDwAoQ3AyggAyAArUKAgICA +oAGENwMgIAMgA0EgajYCEAJ/QQAhACMAQRBrIgIkACADQQhqIgEoAgwhBQJAAn8CQAJAAkACQAJAIAEoAgQOAgABAgsgBQ0BQQEh +BUEBIQEMAwsgBUUNAQsgAkEEaiABEEcgAigCDCEAIAIoAgghASACKAIEDAILIAEoAgAiASgCBCIAQQBIDQIgASgCACEFIABFBEBB +ASEBQQAhAAwBC0H5gsEALQAAGkEBIQQgAEEBEL4BIgFFDQILIAEgBSAAEDUaIAALIQQgASAAELQBIAQEQCABIAQQygELIAJBEGok +AAwBCyAEIABBzJPAABCxAQALIANBMGokAAtqAgF/AX4jAEEwayIDJAAgAyABNgIEIAMgADYCACADQQI2AgwgA0GY5cAANgIIIANC +AjcCFCADQoCAgICgCSIEIAOthDcDKCADIAQgA0EEaq2ENwMgIAMgA0EgajYCECADQQhqIAIQnQEAC2cAIwBBMGsiACQAQfiCwQAt +AAAEQCAAQQI2AgwgAEGIycAANgIIIABCATcCFCAAIAE2AiwgACAAQSxqrUKAgICAoAmENwMgIAAgAEEgajYCECAAQQhqQbDJwAAQ +nQEACyAAQTBqJAALnAICA38BfiMAQRBrIgEkACABQaiDwQA2AgQgAEGwg8EALQAAQQNHBH8gASABQQRqNgIIIAEgAUEIajYCDCAB +QQxqIQIjAEEgayIAJAACQAJAAkACQAJAAkACQEGwg8EALQAAQQFrDgMCBAEAC0Gwg8EAQQI6AAAgAigCACIDKAIAIQIgA0EANgIA +IAJFDQIgAigCAEKACDcDAEGwg8EAQQM6AAALIABBIGokAAwECyAAQQA2AhggAEEBNgIMIABBqLDAADYCCAwCC0HoscAAENEBAAsg +AEEANgIYIABBATYCDCAAQeiwwAA2AggLIABCBDcCECAAQQhqQeyvwAAQnQEACyABKAIEBUGog8EACykDABCuASABQRBqJABQC14B +AX8jAEEwayICJAAgAiABNgIMIAIgADYCCCACQQI2AhQgAkHojMAANgIQIAJCATcCHCACIAJBCGqtQoCAgICwAYQ3AyggAiACQShq +NgIYIAJBEGoQZCACQTBqJAALXgEBfyMAQTBrIgIkACACIAE2AgwgAiAANgIIIAJBAjYCFCACQYyNwAA2AhAgAkIBNwIcIAIgAkEI +aq1CgICAgLABhDcDKCACIAJBKGo2AhggAkEQahBkIAJBMGokAAtbAQF/IAEoAgAiBEEBcQRAIAAgASAEIARBfnEgAiADEG0PCyAE +IAQoAggiAUEBajYCCCABQQBOBEAgACAENgIMIAAgAzYCCCAAIAI2AgQgAEG8uMAANgIADwsAC2MBAX9BACEBAkAgA0EATgRAIANF +BEBBASEEDAILQfmCwQAtAAAaQQEhASADQQEQvgEiBA0BCyABIANBpLbAABCxAQALIAQgAiADEDUhASAAIAM2AgggACABNgIEIAAg +AzYCAAtYAQF/IAEoAgAiBEEBcQRAIAAgASAEIAQgAiADEG0PCyAEIAQoAggiAUEBajYCCCABQQBOBEAgACAENgIMIAAgAzYCCCAA +IAI2AgQgAEG8uMAANgIADwsAC1gBAX8jAEEgayIDJAAgA0EYaiACQRhqKQAANwMAIANBEGogAkEQaikAADcDACADQQhqIAJBCGop +AAA3AwAgAyACKQAANwMAIAAgAyABQSAQMiADQSBqJAALTgAjAEEgayIAJAAgAEEBNgIEIABB4L7AADYCACAAQgE3AgwgAELIvsCA +wAc3AxggACAAQRhqNgIIIAEoAhwgASgCICAAEDggAEEgaiQAC00BAX8jAEEwayIBJAAgAUEBNgIMIAFBsOTAADYCCCABQgE3AhQg +ASABQS9qrUKAgICAgAyENwMgIAEgAUEgajYCECABQQhqIAAQnQEAC0MAIAEoAgAiAUEBcQRAIAFBfnEgAiADEOUBIQEgACADNgII +IAAgATYCBCAAIAIgA2ogAWs2AgAPCyAAIAEgAiADEF4LOgEBfyMAQSBrIgAkACAAQQA2AhggAEEBNgIMIABBtMrAADYCCCAAQgQ3 +AhAgAEEIakHoysAAEJ0BAAtFAQF/IAIgACgCACAAKAIIIgNrSwRAIAAgAyACQQFBARBYIAAoAgghAwsgACgCBCADaiABIAIQNRog +ACACIANqNgIIQQALQQEBfyACIAAoAgAgACgCCCIDa0sEQCAAIAMgAhBgIAAoAgghAwsgACgCBCADaiABIAIQNRogACACIANqNgII +QQALQAAgASgCACIBQQFxBEAgASACIAMQ5QEhASAAIAM2AgggACABNgIEIAAgAiADaiABazYCAA8LIAAgASACIAMQXgtCAQF/IAAo +AgAiACgCMCIBBEAgACgCNCABEMoBCwJAIABBf0YNACAAIAAoAgRBAWsiATYCBCABDQAgAEHIABDKAQsLTwECf0H5gsEALQAAGiAB +KAIEIQIgASgCACEDQQhBBBC+ASIBRQRAQQRBCBDjAQALIAEgAjYCBCABIAM2AgAgAEHQycAANgIEIAAgATYCAAtBAQF/IAIgACgC +ACAAKAIIIgNrSwRAIAAgAyACEGcgACgCCCEDCyAAKAIEIANqIAEgAhA1GiAAIAIgA2o2AghBAAtCAQF/IwBBIGsiAyQAIANBADYC +ECADQQE2AgQgA0IENwIIIAMgATYCHCADIAA2AhggAyADQRhqNgIAIAMgAhCdAQALQAEBfyABKAIAIgEgASgCCCIEQQFqNgIIIARB +AEgEQAALIAAgATYCDCAAIAM2AgggACACNgIEIABBvLjAADYCAAs8ACAAIAEpAAA3AAAgAEEYaiABQRhqKQAANwAAIABBEGogAUEQ +aikAADcAACAAQQhqIAFBCGopAAA3AAALjgIBA38gACgCACECIAEoAhQiAEEQcUUEQCAAQSBxRQRAIAI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+MAAEJABAAsgCUHICGogCUGYCGooAgA2AgAgCSAJKQKQCDcDwAgLIBQgCS4ByAgiAEgEQCAJQQhq +IAkoAsAIIAkoAsQIIAAgEyAJQZAIahBRIAkoAgwhASAJKAIIDAMLQQIhASAJQQI7AZAIIBNFBEBBASEBIAlBATYCmAggCUHD48AA +NgKUCCAJQZAIagwDCyAJIBM2AqAIIAlBADsBnAggCUECNgKYCCAJQbnjwAA2ApQIIAlBkAhqDAILQcTjwABBJUHs48AAEJABAAtB +ASEBIAlBATYCmAggCUHD48AANgKUCCAJQZAIagshACAJIAE2AswIIAkgADYCyAggCSAcNgLECCAJIBk2AsAIIAggCUHACGoQOSAJ +QfAIaiQADAELIABBKEGU+MAAEM4BAAsPCwJ/IAEhEUEAIQBBACEBIwBBgAFrIgQkACA/vSEmAn9BAyA/mUQAAAAAAADwf2ENABpB +AiAmQoCAgICAgID4/wCDIidCgICAgICAgPj/AFENABogJkL/////////B4MiKUKAgICAgICACIQgJkIBhkL+////////D4MgJkI0 +iKdB/w9xIgAbIiVCAYMhKCAnUARAQQQgKVANARogAEGzCGshAEIBIScgKFAMAQtCgICAgICAgCAgJUIBhiAlQoCAgICAgIAIUSID +GyElQgJCASADGyEnQct3Qcx3IAMbIABqIQAgKFALIQMgBCAAOwF4IAQgJzcDcCAEQgE3A2ggBCAlNwNgIAQgAzoAegJAAn8CQAJA +AkAgA0ECayIDBEBBASEAQbvjwABBvOPAACAmQgBTIgYbQbvjwABBASAGGyACGyEYQQEgJkI/iKcgAhshGUEDIAMgA0EDTxtBAmsO +AgMCAQsgBEEDNgIoIARBvePAADYCJCAEQQI7ASBBASEYQQEhACAEQSBqDAMLIARBAzYCKCAEQcDjwAA2AiQgBEECOwEgIARBIGoM +AgsgBEEgaiEGIARBD2oiDiEIIwBBMGsiAyQAAkACQAJ/AkACQAJAAkACQAJAAkACQCAEQeAAaiIMIgApAwAiJVBFBEAgACkDCCIn +UA0BIAApAxAiJlANAiAlICZ8IiYgJVQNAyAlICdUDQQgJkKAgICAgICAgCBaDQUgAyAALwEYIgA7AQggAyAlICd9Iic3AwAgACAA +QSBrIAAgJkKAgICAEFQiAhsiC0EQayALICZCIIYgJiACGyImQoCAgICAgMAAVCICGyILQQhrIAsgJkIQhiAmIAIbIiZCgICAgICA +gIABVCICGyILQQRrIAsgJkIIhiAmIAIbIiZCgICAgICAgIAQVCICGyILQQJrIAsgJkIEhiAmIAIbIiZCgICAgICAgIDAAFQiAhsg +JkIChiAmIAIbIihCAFkiC2siAmvBIglBAEgNBiADQn8gCa0iKYgiJiAngzcDECAmICdUDQogAyAAOwEIIAMgJTcDACADICUgJoM3 +AxAgJSAmVg0KQaB/IAJrwUHQAGxBsKcFakHOEG0iAEHRAE8NByAAQQR0IgBBgNTAAGopAwAiKkL/////D4MiJiAlIClCP4MiJYYi +K0IgiCI1fiIsQiCIIjEgKkIgiCIpIDV+IjJ8ICkgK0L/////D4MiKn4iK0IgiCI2fCEzICxC/////w+DICYgKn5CIIh8ICtC//// +/w+DfCI3QoCAgIAIfEIgiCErQgFBACACIABBiNTAAGovAQBqa0E/ca0iLIYiKkIBfSEuICYgJyAlhiIlQiCIIid+Ii1C/////w+D +ICYgJUL/////D4MiJX5CIIh8ICUgKX4iJUL/////D4N8Ij5CgICAgAh8QiCIITQgJyApfiE4ICVCIIghOSAtQiCIITogAEGK1MAA +ai8BACEJICkgKCALrYYiJUIgiCI7fiI8ICYgO34iJ0IgiCIvfCApICVC/////w+DIiV+IihCIIgiMHwgJ0L/////D4MgJSAmfkIg +iHwgKEL/////D4N8Ij1CgICAgAh8QiCIfEIBfCItICyIpyIAQZDOAE8EQCAAQcCEPUkNCSAAQYDC1y9PBEBBCEEJIABBgJTr3ANJ +IgIbIQtBgMLXL0GAlOvcAyACGwwLC0EGQQcgAEGAreIESSICGyELQcCEPUGAreIEIAIbDAoLIABB5ABPBEBBAkEDIABB6AdJIgIb +IQtB5ABB6AcgAhsMCgtBCkEBIABBCUsiCxsMCQtB18/AAEEcQ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Jn0hL0IAISkDQCAmICp8IiUgLFQgKSAvfCAmIC18WnJFBEBBACEADAUL +IAsgAkEBayICOgAAICkgLnwiMCAqVCEAICUgLFoNBSApICp9ISkgJSEmICogMFgNAAsMBAtBEUERQeDfwAAQfQALIAFBEUHw38AA +EH0ACwJAICUgKlogAnINACAqICUgKHwiJlggKiAlfSAmICp9VHENACAGQQA2AgAMBAsgJSA0QgN9WCAlQgJacUUEQCAGQQA2AgAM +BAsgBiAJOwEIIAYgAUEBajYCBAwCCyAmISULAkAgJSArWiAAcg0AICsgJSAqfCImWCArICV9ICYgK31UcQ0AIAZBADYCAAwCCyAl +IChCWH4gJ3xYICUgKEIUflpxRQRAIAZBADYCAAwCCyAGIAk7AQggBiABNgIECyAGIAg2AgALIANBMGokAAwBCyADQQA2AhgjAEEQ +ayIAJAAgACADNgIMIAAgA0EQajYCCCAAQQhqQajlwAAgAEEMakGo5cAAIANBGGpB/M3AABBLAAsCQCAEKAIgRQRAIARB0ABqIRAj +AEGgCmsiASQAAkACQAJAAkAgAQJ/AkACQAJAAkACQAJAIAwpAwAiJVBFBEAgDCkDCCInUA0BIAwpAxAiJlANAiAlICZ8IiggJVQN +AyAlICdUDQQgDCwAGiETIAwuARghACABICU+AgAgAUEBQQIgJUKAgICAEFQiAhs2AqABIAFBACAlQiCIpyACGzYCBCABQQhqQQBB +mAEQQxogASAnPgKkASABQQFBAiAnQoCAgIAQVCICGzYCxAIgAUEAICdCIIinIAIbNgKoASABQawBakEAQZgBEEMaIAEgJj4CyAIg +AUEBQQIgJkKAgICAEFQiAhs2AugDIAFBACAmQiCIpyACGzYCzAIgAUHQAmpBAEGYARBDGiABQfADakEAQZwBEEMaIAFBATYC7AMg +AUEBNgKMBSAArCAoQgF9eX1CwprB6AR+QoChzaC0AnxCIIinIgLBIQ0CQCAAQQBOBEAgASAAED8aIAFBpAFqIAAQPxogAUHIAmog +ABA/GgwBCyABQewDakEAIABrwRA/GgsCQCANQQBIBEAgAUEAIA1rQf//A3EiABApIAFBpAFqIAAQKSABQcgCaiAAECkMAQsgAUHs +A2ogAkH//wFxECkLIAEoAqABIQMgAUH8CGogAUGgARA1GiABIAM2ApwKIAEoAugDIgsgAyADIAtJGyICQShLDRIgAkUEQEEAIQIM +BwsgAkEBcSEJIAJBAUYNBSACQT5xIQogAUH8CGohACABQcgCaiEIA0AgACAFIAAoAgAiDyAIKAIAaiIGaiIFNgIAIABBBGoiDCAM +KAIAIhQgCEEEaigCAGoiDCAFIAZJIAYgD0lyaiIGNgIAIAYgDEkgDCAUSXIhBSAIQQhqIQggAEEIaiEAIAogB0ECaiIHRw0ACwwF +C0HXz8AAQRxB9M/AABCQAQALQYTQwABBHUGk0MAAEJABAAtBtNDAAEEcQdDQwAAQkAEAC0GY0sAAQTZB0NLAABCQAQALQdDRwABB +N0GI0sAAEJABAAsgCQR/IAdBAnQiACABQfwIamoiBiAGKAIAIgYgAUHIAmogAGooAgBqIgAgBWoiBzYCACAAIAZJIAAgB0tyBSAF +C0UNACACQShGDQMgAUH8CGogAkECdGpBATYCACACQQFqIQILIAEgAjYCnAogAiABKAKMBSIHIAIgB0sbIgBBKU8NAyAAQQJ0IQAC +QANAIAAEQEF/IABBBGsiACABQfwIamooAgAiAiAAIAFB7ANqaigCACIGRyACIAZLGyIIRQ0BDAILC0F/QQAgABshCAsgCCATSARA +IA1BAWohDQwCCwJAIANFBEBBACEDDAELIANBAWtB/////wNxIgBBAWoiAkEDcSEIAkAgAEEDSQRAIAEhAEIAISUMAQsgAkH8//// +B3EhBSABIQBCACElA0AgACAANQIAQgp+ICV8IiU+AgAgAEEEaiICIAI1AgBCCn4gJUIgiHwiJT4CACAAQQhqIgIgAjUCAEIKfiAl +QiCIfCIlPgIAIABBDGoiAiACNQIAQgp+ICVCIIh8Iic+AgAgJ0IgiCElIABBEGohACAFQQRrIgUNAAsLIAgEQANAIAAgADUCAEIK +fiAlfCInPgIAIABBBGohACAnQiCIISUgCEEBayIIDQALCyAnQoCAgIAQVA0AIANBKEY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ADRQ0CIANBDGwh +AiAAIQMMAQsgAEEMbCECIAENAgtBBCEAIAMgAhDKAQtBACEBDAMLIAMgAkEEIAFBDGwiAxC2ASIADQJBBCADQczCwAAQsQEACyAD +IAVBvMLAABCxAQALQezCwABBKBDcAQALIAogATYCBCAKIAA2AgAgBEEgaiQAIAogCigCBCIANgIQIAogCigCADYCDCAKIAA2Aggg +CkEUaiEPIwBB0ABrIgMkACADIApBCGoiACgCADYCFCADIAAoAgQiATYCECADIAE2AgwgAyABIAAoAghBDGxqNgIYIwBB4AFrIgIk +ACADQQxqIgEoAgghBiABKAIAIQ4gASgCBCIEIQACQAJAAkACfwJAAkACQCAEIAEoAgwiB0YiBUUEQCAEKAIAIQAgAkG4AWogBCgC +BCIBIAQoAggQNCAABEAgASAAEMoBCyAEQQxqIQAgAigCuAFBAXFFDQELIAcgAGtBDG4hASAAIAdHBEADQCAAKAIAIggEQCAAQQRq +KAIAIAgQygELIABBDGohACABQQFrIgENAAsLIAZFDQEgDiAGQQxsEMoBIAUNAgwFCyACQTBqIgEgAkHYAWopAwA3AwAgAkEoaiIE +IAJB0AFqKQMANwMAIAJBIGoiCCACQcgBaikDADcDACACIAIpA8ABNwMYQfmCwQAtAAAaQYABQQgQvgEiBUUNAyAFIAIpAxg3AwAg +BUEYaiABKQMANwMAIAVBEGogBCkDADcDACAFQQhqIAgpAwA3AwBBASEEIAJBATYCFCACIAU2AhAgAkEENgIMAn8CQCAAIAdGBEAg +ACEBDAELIAJBwAFqIQlBICEIA0AgACgCACEBIAJBuAFqIAAoAgQiCyAAKAIIEDQgAQRAIAsgARDKAQsgAEEMaiEBQQEgAigCuAFB +AXENAhogAkHgAGogCUEIaikDACIdNwMAIAJB0ABqIgwgCUEYaikDADcDACACQcgAaiIQIAlBEGopAwA3AwAgAkFAayIRIB03AwAg +AiAJKQMAIh03A1ggAiAdNwM4IAIoAgwgBEYEQCACQQxqIARBAUEIQSAQWCACKAIQIQULIAUgCGoiCyACKQM4NwMAIAtBGGog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BAAs2Ahgg +BUEIakEIIBsgBUEUahBzIAUoAghBAUcNASAFKAIMIQ4gBSgCECEICyAOIAhBsJjAABCxAQALIAUoAgwhCiAMIBM2AgAgDCAKNgIE +IAVBIGokAAsgASgCECAQQTBsaiIFIAEpAxg3AgQgBSAaNgIAIAVBDGogESkDADcCACAFQRRqIBIpAwA3AgAgBUEcaiAWKQMANwIA +IAVBJGogFykDADcCACAFQSxqIBgoAgA2AgAgASAQQQFqNgIUCyACIBlqIgIgB0cNAAsLIA8gASkCDDcCACAPQQhqIAFBFGooAgA2 +AgAgAUGAAWokAAwBCyACIAdBwJjAABDNAQALAkACQAJAAkAgAygCGCICRQRAQQQhBAwBC0H5gsEALQAAGiACQRRsIgFBBBC+ASIE +RQ0BCyADQQA2AiQgAyAENgIgIAMgAjYCHCADKAIUIgUgAkEwbGohByADKAIQIQwgBSEBIAJFDQEgA0E0aiEOIANBOGohCiADQShq +QQRyIgRBKGohDyAEQSBqIRAgBEEYaiERIARBCGohEiABIQIDQCACKAIAIgFFBEAgAkEwaiEBDAMLIAJBDGopAgAhHCACQRRqKQIA +IR0gAkEcaikCACEeIAJBJGopAgAhHyACQSxqKAIAIQggBCACKQIENwIAIA8gCDYCACAQIB83AgAgESAeNwIAIARBEGogHTcCACAS +IBw3AgAgAyABNgIoIAoQfyEBIANB2ABqIAoQViADIAE6AGggAyADKAIwIgE2AmQgDiADKAIsIAEgAygCKCgCEBEDACADKAIkIgEg +AygCHEYEQCADQRxqQbSGwAAQYwsgAygCICABQRRsaiIIIAMpAlg3AgAgCEEIaiADQeAAaikCADcCACAIQRBqIANB6ABqKAIANgIA +IAlBAToAMCADIAFBAWo2AiQgAkEwaiICIAdHDQALDAILQQQgAUGkhsAAELEBAAsgASAHRg0AIAcgAWsiAkEwbiIJQQFxQQAhBCAC +QTBrQTBPBEAgCUH+//8/cSEJIAEhAgNAIAJBDGogAkEEaigCACACQQhqKAIAIAIoAgAoAhARAwAgAkE8aiACQTRqKAIAIAJBOGoo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hHBEACQCABKAJI +IgdFBEAgAUEYakIANwMAIAFBEGpCADcDACABQQhqQgA3AwAgAUIANwMADAELIAFBIGoiCSADIAcQLSABQUBrIgdB1IbAABCSASAB +IAkgBxCFAQsgBCABEFYgCEUNASADIAhBKGwQygEMAQsgBEGAgICAeDYCACAEIAM2AgQLIAFB4ABqJAACQAJAIAICfyAGKAIEIgNB +gICAgHhGBEAgBigCCCEBQQAhBEEBDAELIAYoAgghAQJAIAYoAgwiBCADTwRAIAEhBQwBCyAERQRAQQEhBSABIAMQygEMAQsgASAD +QQEgBBC2ASIFRQ0CC0EAIQFBAAs2AgwgAiABNgIIIAIgBDYCBCACIAU2AgAgBkEQaiQADAELQQEgBEGQgsAAELEBAAsgAigCACAC +KAIEIAIoAgggAigCDCACQRBqJAAL+gECAn8BfiMAQRBrIgIkACACQQE7AQwgAiABNgIIIAIgADYCBCMAQRBrIgEkACACQQRqIgAp +AgAhBCABIAA2AgwgASAENwIEIwBBEGsiACQAIAFBBGoiASgCACICKAIMIQMCQAJAAkACQCACKAIEDgIAAQILIAMNAUEBIQJBACED +DAILIAMNACACKAIAIgIoAgQhAyACKAIAIQIMAQsgAEGAgICAeDYCACAAIAE2AgwgAEH8ycAAIAEoAgQgASgCCCIALQAIIAAtAAkQ +agALIAAgAzYCBCAAIAI2AgAgAEHgycAAIAEoAgQgASgCCCIALQAIIAAtAAkQagALmwYBCn8jAEEQayIGJAAjAEEgayIFJAACQAJA +AkAgAARAIABBCGsiByAHKAIAQQFqIgM2AgAgA0UNASAAKAIADQIgAEF/NgIAIAUgBzYCHCAFIAA2AhggBSAAQQhqIgM2AhQgBUEI +aiEJIwBBkAFrIgEkACABQQA2AhQgAUKAgICAwAA3AgwjAEFAaiICJAAgAkEIaiADQQFBAEEBEC4gAUEYaiIEQShqIAJBMGopAwA3 +AwAgBEEgaiACQShqKQMANwMAIARBGGogAkEgaikDADcDACAEQRBqIAJBGGopAwA3AwAgBEEIaiACQRBqKQMANwMAIAQgAikDCDcD +ACACQUBrJAAgASgCGARAIAFB8ABqIAFBQGspAwA3AwAgAUHoAGogAUE4aikDADcDACABQeAAaiABQTBqKQMANwMAIAFB2ABqIgIg +AUEoaikDADcDACABQdAAaiIEIAFBIGopAwA3AwAgASABKQMYNwNIIAIQfyEIIAFB/ABqIAIQViABIAg6AIwBIAEgBCgCACICNgKI +ASABQdQAaiABKAJMIAIgASgCSCgCEBEDACABKAIUIgIgASgCDEYEQCABQQxqQcSGwAAQYwsgASgCECACQRRsaiIEIAEpAnw3AgAg +BEEIaiABQYQBaikCADcCACAEQRBqIAFBjAFqKAIANgIAIANBAToAMCABIAJBAWo2AhQLIAFBADYCGCABIAFBGGogAUEMahBhIAEo +AgQhBCABKAIAIQggASgCFCICBEAgASgCECEDA0AgAygCACIKBEAgA0EEaigCACAKEMoBCyADQRRqIQMgAkEBayICDQALCyABKAIM +IgMEQCABKAIQIANBFGwQygELIAkgBDYCBCAJIAg2AgAgAUGQAWokACAFKAIMIQMgBSgCCCEBIABBADYCACAHIAcoAgBBAWsiADYC +ACAARQRAIAVBHGoQjQELIAYgATYCCCAGIANBACABQQFxIgAbNgIEIAZBACADIAAbNgIAIAVBIGokAAwDCxDdAQsACxDeAQALIAYo +AgAgBigCBCAGKAIIIAZBEGokAAshAAJAIAEgAxCiAQRAIAAgASADIAIQtgEiAA0BCwALIAALJQAgAEUEQEGAtcAAQTIQ3AEACyAA +IAIgAyAEIAUgASgCEBESAAsgAQF/QQEhASAAKAIAIgBBAXEEfyABBSAAKAIIQQFGCwsZAQF/QYCAgIB4IAFrIABPIAIgAWlBAUYb +Cx8BAn4gACkDACICIAJCP4ciA4UgA30gAkIAWSABEEkLIwAgAEUEQEGAtcAAQTIQ3AEACyAAIAIgAyAEIAEoAhARKAALIwAgAEUE +QEGAtcAAQTIQ3AEACyAAIAIgAyAEIAEoAhAREwALIwAgAEUEQEGAtcAAQTIQ3AEACyAAIAIgAyAEIAEoAhARBAALIwAgAEUEQEGA +tcAAQTIQ3AEAC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hlx8AAQS5BlMjAABCQAQALQaTIwABBLkHUyMAA +EJABAAsLHQEBbyAAKAIAJQEgASUBIAEQbyACJQEgAhBvEA0LDQAgACgCACgCCEEBRgtrAQF/IwBBMGsiAyQAIAMgATYCBCADIAA2 +AgAgA0ECNgIMIANBkPrAADYCCCADQgI3AhQgAyADQQRqrUKAgICAoAmENwMoIAMgA61CgICAgKAJhDcDICADIANBIGo2AhAgA0EI +aiACEJ0BAAtrAQF/IwBBMGsiAyQAIAMgATYCBCADIAA2AgAgA0ECNgIMIANBsPrAADYCCCADQgI3AhQgAyADQQRqrUKAgICAoAmE +NwMoIAMgA61CgICAgKAJhDcDICADIANBIGo2AhAgA0EIaiACEJ0BAAtrAQF/IwBBMGsiAyQAIAMgATYCBCADIAA2AgAgA0ECNgIM +IANB5PrAADYCCCADQgI3AhQgAyADQQRqrUKAgICAoAmENwMoIAMgA61CgICAgKAJhDcDICADIANBIGo2AhAgA0EIaiACEJ0BAAsL +ACAAKAIAIAEQTAsPAEG45MAAQSsgABCQAQALDQAgACkDAEEBIAEQSQsOACABQYCFwABBBRC6AQsOACABQbyFwABBEBC6AQsOACAB +QaSLwABBBRC6AQsOACABQbiPwABBChC6AQsMACAAKAIAIAEQ0gEL8QMBAX8gACgCACECIwBBkAJrIgAkACAAIAIpAwA3A3AgACAC +KQMINwN4IAAgAikDEDcDgAEgACAAQYgBaq1CgICAgKAHhDcDaCAAIABBgAFqrUKAgICAoAeENwNgIAAgAEH4AGqtQoCAgICgB4Q3 +A1ggACAAQfAAaq1CgICAgKAHhDcDUCAAIAIpAxg3A4gBIABBAzoAjAIgAEEINgKIAiAAQqCAgIAwNwKAAiAAQoCAgICAAjcC+AEg +AEECNgLwASAAQQM6AOwBIABBCDYC6AEgAEKggICAIDcC4AEgAEKAgICAgAI3AtgBIABBAjYC0AEgAEEDOgDMASAAQQg2AsgBIABC +oICAgBA3AsABIABCgICAgIACNwK4ASAAQQI2ArABIABBAzoArAEgAEEINgKoASAAQiA3AqABIABCgICAgIACNwKYASAAQQI2ApAB +IABBBDYCTCAAQQQ2AjwgAEHkusAANgI4IABBBDYCRCAAIABBkAFqNgJIIAAgAEHQAGo2AkAgAEEsaiICIABBOGoQRyAAIAKtQoCA +gICwB4Q3AyAgAEEBNgIMIABB9LvAADYCCCAAQgE3AhQgACAAQSBqNgIQIAEoAhwgASgCICAAQQhqEDggACgCLCICBEAgACgCMCAC +EMoBCyAAQZACaiQACw0AIABBiJLAACABEDgLDgAgAUG0tsAAQQsQugELDQAgAEGkv8AAIAEQOAsJACAAIAEQJAALDQBBgMXAAEEb +ENwBAAsOAEGbxcAAQc8AENwBAAsNACAAQaTHwAAgARA4CwwAIAAgASkCADcDAAsNACAAQYDLwAAgARA4Cw4AIAFB+MrAAEEFELoB +CxoAIAAgAUHUg8EAKAIAIgBBywAgABsRAgAACwoAIAIgACABEDELxgkBCH8CQAJAIAIiBSAAIgcgAWtLBEAgASACaiEAIAIgB2oh +AiAFQRBJDQFBACACQQNxIgZrIQkCQCACQXxxIgMgAk8NACAGQQFrAkAgBkUEQCAAIQQMAQsgBiEIIAAhBANAIAJBAWsiAiAEQQFr +IgQtAAA6AAAgCEEBayIIDQALC0EDSQ0AIARBBGshBANAIAJBAWsgBEEDai0AADoAACACQQJrIARBAmotAAA6AAAgAkEDayAEQQFq +LQAAOgAAIAJBBGsiAiAELQAAOgAAIARBBGshBCACIANLDQALCyADIAUgBmsiBEF8cSIFayECQQAgBWshBgJAIAAgCWoiAEEDcUUE +QCACIANPDQEgASAEakEEayEBA0AgA0EEayIDIAEoAgA2AgAgAUEEayEBIAIgA0kNAAsMAQsgAiADTw0AIABBA3QiBUEYcSEIIABB +fHEiCUEEayEBQQAgBWtBGHEhCiAJKAIAIQUDQCADQQRrIgMgBSAKdCABKAIAIgUgCHZyNgIAIAFBBGshASACIANJDQALCyAEQQNx +IQUgACAGaiEADAELAkAgBUEQSQRAIAchAgwBCwJAIAdBACAHa0EDcSIGaiIEIAdNDQAgByECIAEhAyAGBEAgBiEAA0AgAiADLQAA +OgAAIANBAWohAyACQQFqIQIgAEEBayIADQALCyAGQQFrQQdJDQADQCACIAMtAAA6AAAgAkEBaiADQQFqLQAAOgAAIAJBAmogA0EC +ai0AADoAACACQQNqIANBA2otAAA6AAAgAkEEaiADQQRqLQAAOgAAIAJBBWogA0EFai0AADoAACACQQZqIANBBmotAAA6AAAgAkEH +aiADQQdqLQAAOgAAIANBCGohAyACQQhqIgIgBEcNAAsLIAQgBSAGayIDQXxxIghqIQICQCABIAZqIgBBA3FFBEAgAiAETQ0BIAAh +AQNAIAQgASgCADYCACABQQRqIQEgBEEEaiIEIAJJDQALDAELIAIgBE0NACAAQQN0IgVBGHEhBiAAQXxxIglBBGohAUEAIAVrQRhx +IQogCSgCACEFA0AgBCAFIAZ2IAEoAgAiBSAKdHI2AgAgAUEEaiEBIARBBGoiBCACSQ0ACwsgA0EDcSEFIAAgCGohAQsgAiACIAVq +IgBPDQEgBUEHcSIDBEADQCACIAEtAAA6AAAgAUEBaiEBIAJBAWohAiADQQFrIgMNAAsLIAVBAWtBB0kNAQNAIAIgAS0AADoAACAC +QQFqIAFBAWotAAA6AAAgAkECaiABQQJqLQAAOgAAIAJBA2ogAUEDai0AADoAACACQQRqIAFBBGotAAA6AAAgAkEFaiABQQVqLQAA +OgAAIAJBBmogAUEGai0AADoAACACQQdqIAFBB2otAAA6AAAgAUEIaiEBIAJBCGoiAiAARw0ACwwBCyACIAVrIgQgAk8NACAFQQNx +IgEEQANAIAJBAWsiAiAAQQFrIgAtAAA6AAAgAUEBayIBDQALCyAFQQFrQQNJDQAgAEEEayEBA0AgAkEBayABQQNqLQAAOgAAIAJB +AmsgAUECai0AADoAACACQQNrIAFBAWotAAA6AAAgAkEEayICIAEtAAA6AAAgAUEEayEBIAIgBEsNAAsLIAcLCgAgACABJQEQBQsO +ACABQcbBwABBAxC6AQsOACABQby/wABBCBC6AQsJACAAQQA2AgALCAAgACUBEAILCAAgACUBEBELCAAgACUBECELBABBAA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AgECegYDAQECAQcBAUgCAwEBAQACCwI0BQUDFwEAAQYPAAwDAwAFOwcAAT8EUQELAgACAC4CFwAFAwYICAIHHgSUAwA3BDII +AQ4BFgUBDwAHARECBwECAQVkAaAHAAE9BAAE/gIAB20HAGCA8ABB8ILBAAsBSQBwCXByb2R1Y2VycwIIbGFuZ3VhZ2UBBFJ1c3QA +DHByb2Nlc3NlZC1ieQMFcnVzdGMdMS44Ni4wICgwNWY5ODQ2ZjggMjAyNS0wMy0zMSkGd2FscnVzBjAuMjMuMwx3YXNtLWJpbmRn +ZW4HMC4yLjEwMABJD3RhcmdldF9mZWF0dXJlcwQrD211dGFibGUtZ2xvYmFscysIc2lnbi1leHQrD3JlZmVyZW5jZS10eXBlcysK +bXVsdGl2YWx1ZQ== +`.trim().replaceAll("\n", "") + ); + wasmBinary = new Uint8Array(wasmBase64.length); + for (let i = 0; i < wasmBase64.length; i++) { + wasmBinary[i] = wasmBase64.charCodeAt(i); + } + } +}); + +// src/vendor/xet-chunk/chunker_wasm.ts +var chunker_wasm_exports = {}; +__export(chunker_wasm_exports, { + Chunker: () => Chunker, + compute_file_hash: () => compute_file_hash, + compute_hmac: () => compute_hmac, + compute_verification_hash: () => compute_verification_hash, + compute_xorb_hash: () => compute_xorb_hash, + init: () => init +}); +async function init() { + if (initPromise) { + return initPromise; + } + let resolve3; + let reject; + initPromise = new Promise((_resolve, _reject) => { + resolve3 = _resolve; + reject = _reject; + }); + await Promise.resolve(); + try { + const wasmModule2 = await WebAssembly.compile(wasmBinary); + const imports = Object.entries( + WebAssembly.Module.imports(wasmModule2).reduce( + (result, item) => ({ + ...result, + // @ts-expect-error ok for any type + [item.module]: [...result[item.module] || [], item.name] + }), + {} + ) + ).map(([from, names]) => ({ from, names })); + const wasm2 = await WebAssembly.instantiate(wasmModule2, { + "./hf_xet_thin_wasm_bg.js": Object.fromEntries( + // @ts-expect-error ok for any type + imports[0].names.map((name) => [name, chunker_wasm_bg_exports[name]]) + ) + }); + __wbg_set_wasm(wasm2.exports); + wasm2.exports.__wbindgen_start(); + resolve3(); + } catch (error) { + reject(error); + } +} +var initPromise; +var init_chunker_wasm = __esm({ + "src/vendor/xet-chunk/chunker_wasm.ts"() { + "use strict"; + init_chunker_wasm_bg(); + init_chunker_wasm_bg(); + init_chunker_wasm_bg_wasm_base64(); + init_chunker_wasm_bg(); + initPromise = null; + init(); + } +}); + +// index.ts +var hub_exports = {}; +__export(hub_exports, { + DATASET_EXPANDABLE_KEYS: () => DATASET_EXPANDABLE_KEYS, + DATASET_EXPAND_KEYS: () => DATASET_EXPAND_KEYS, + DEFAULT_REVISION: () => DEFAULT_REVISION, + HUB_URL: () => HUB_URL, + HubApiError: () => HubApiError, + InvalidApiResponseFormatError: () => InvalidApiResponseFormatError, + MODEL_EXPANDABLE_KEYS: () => MODEL_EXPANDABLE_KEYS, + MODEL_EXPAND_KEYS: () => MODEL_EXPAND_KEYS, + REGEX_COMMIT_HASH: () => REGEX_COMMIT_HASH, + REPO_ID_SEPARATOR: () => REPO_ID_SEPARATOR, + RE_SAFETENSORS_FILE: () => RE_SAFETENSORS_FILE, + RE_SAFETENSORS_INDEX_FILE: () => RE_SAFETENSORS_INDEX_FILE, + RE_SAFETENSORS_SHARD_FILE: () => RE_SAFETENSORS_SHARD_FILE, + SAFETENSORS_FILE: () => SAFETENSORS_FILE, + SAFETENSORS_INDEX_FILE: () => SAFETENSORS_INDEX_FILE, + SPACE_EXPANDABLE_KEYS: () => SPACE_EXPANDABLE_KEYS, + SPACE_EXPAND_KEYS: () => SPACE_EXPAND_KEYS, + __internal_XetBlob: () => XetBlob, + __internal_sha256: () => sha256, + cancelJob: () => cancelJob, + checkRepoAccess: () => checkRepoAccess, + commit: () => commit, + commitIter: () => commitIter, + commitIterBucket: () => commitIterBucket, + countCommits: () => countCommits, + createBranch: () => createBranch, + createCollection: () => createCollection, + createRepo: () => createRepo, + createScheduledJob: () => createScheduledJob, + datasetInfo: () => datasetInfo, + deleteBranch: () => deleteBranch, + deleteCollection: () => deleteCollection, + deleteFile: () => deleteFile, + deleteFiles: () => deleteFiles, + deleteRepo: () => deleteRepo, + deleteScheduledJob: () => deleteScheduledJob, + downloadFile: () => downloadFile, + downloadFileToCacheDir: () => downloadFileToCacheDir, + duplicateJob: () => duplicateJob, + fileDownloadInfo: () => fileDownloadInfo, + fileExists: () => fileExists, + getBlobStat: () => getBlobStat, + getHFHubCachePath: () => getHFHubCachePath, + getJob: () => getJob, + getRepoFolderName: () => getRepoFolderName, + getScheduledJob: () => getScheduledJob, + listCollections: () => listCollections, + listCommits: () => listCommits, + listDatasets: () => listDatasets, + listFiles: () => listFiles, + listJobHardware: () => listJobHardware, + listJobs: () => listJobs, + listModels: () => listModels, + listScheduledJobs: () => listScheduledJobs, + listSpaces: () => listSpaces, + modelInfo: () => modelInfo, + oauthHandleRedirect: () => oauthHandleRedirect, + oauthHandleRedirectIfPresent: () => oauthHandleRedirectIfPresent, + oauthLoginUrl: () => oauthLoginUrl, + parseRepoType: () => parseRepoType, + parseSafetensorsMetadata: () => parseSafetensorsMetadata, + parseSafetensorsShardFilename: () => parseSafetensorsShardFilename, + pathsInfo: () => pathsInfo, + repoExists: () => repoExists, + resumeScheduledJob: () => resumeScheduledJob, + runJob: () => runJob, + runScheduledJob: () => runScheduledJob, + scanCacheDir: () => scanCacheDir, + scanCachedRepo: () => scanCachedRepo, + scanRefsDir: () => scanRefsDir, + scanSnapshotDir: () => scanSnapshotDir, + snapshotDownload: () => snapshotDownload, + spaceInfo: () => spaceInfo, + streamJobEvents: () => streamJobEvents, + streamJobLogs: () => streamJobLogs, + streamJobMetrics: () => streamJobMetrics, + suspendScheduledJob: () => suspendScheduledJob, + uploadFile: () => uploadFile, + uploadFiles: () => uploadFiles, + uploadFilesWithProgress: () => uploadFilesWithProgress, + whoAmI: () => whoAmI +}); +module.exports = __toCommonJS(hub_exports); + +// src/lib/cache-management.ts +var import_node_os = require("os"); +var import_node_path = require("path"); +var import_promises = require("fs/promises"); +function getDefaultHome() { + return (0, import_node_path.join)((0, import_node_os.homedir)(), ".cache"); +} +function getDefaultCachePath() { + return (0, import_node_path.join)(process.env["HF_HOME"] ?? (0, import_node_path.join)(process.env["XDG_CACHE_HOME"] ?? getDefaultHome(), "huggingface"), "hub"); +} +function getHuggingFaceHubCache() { + return process.env["HUGGINGFACE_HUB_CACHE"] ?? getDefaultCachePath(); +} +function getHFHubCachePath() { + return process.env["HF_HUB_CACHE"] ?? getHuggingFaceHubCache(); +} +var FILES_TO_IGNORE = [".DS_Store"]; +var REPO_ID_SEPARATOR = "--"; +function getRepoFolderName({ name, type }) { + const parts = [`${type}s`, ...name.split("/")]; + return parts.join(REPO_ID_SEPARATOR); +} +async function scanCacheDir(cacheDir = void 0) { + if (!cacheDir) + cacheDir = getHFHubCachePath(); + const s = await (0, import_promises.stat)(cacheDir); + if (!s.isDirectory()) { + throw new Error( + `Scan cache expects a directory but found a file: ${cacheDir}. Please use \`cacheDir\` argument or set \`HF_HUB_CACHE\` environment variable.` + ); + } + const repos = []; + const warnings = []; + const directories = await (0, import_promises.readdir)(cacheDir); + for (const repo of directories) { + if (repo === ".locks") + continue; + const absolute = (0, import_node_path.join)(cacheDir, repo); + const s2 = await (0, import_promises.stat)(absolute); + if (!s2.isDirectory()) { + continue; + } + try { + const cached = await scanCachedRepo(absolute); + repos.push(cached); + } catch (err) { + warnings.push(err); + } + } + return { + repos, + size: [...repos.values()].reduce((sum2, repo) => sum2 + repo.size, 0), + warnings + }; +} +async function scanCachedRepo(repoPath) { + const name = (0, import_node_path.basename)(repoPath); + if (!name.includes(REPO_ID_SEPARATOR)) { + throw new Error(`Repo path is not a valid HuggingFace cache directory: ${name}`); + } + const [type, ...remaining] = name.split(REPO_ID_SEPARATOR); + const repoType = parseRepoType(type); + const repoId = remaining.join("/"); + const snapshotsPath = (0, import_node_path.join)(repoPath, "snapshots"); + const refsPath = (0, import_node_path.join)(repoPath, "refs"); + const snapshotStat = await (0, import_promises.stat)(snapshotsPath); + if (!snapshotStat.isDirectory()) { + throw new Error(`Snapshots dir doesn't exist in cached repo ${snapshotsPath}`); + } + const refsByHash = /* @__PURE__ */ new Map(); + const refsStat = await (0, import_promises.stat)(refsPath); + if (refsStat.isDirectory()) { + await scanRefsDir(refsPath, refsByHash); + } + const cachedRevisions = []; + const blobStats = /* @__PURE__ */ new Map(); + const snapshotDirs = await (0, import_promises.readdir)(snapshotsPath); + for (const dir of snapshotDirs) { + if (FILES_TO_IGNORE.includes(dir)) + continue; + const revisionPath = (0, import_node_path.join)(snapshotsPath, dir); + const revisionStat = await (0, import_promises.stat)(revisionPath); + if (!revisionStat.isDirectory()) { + throw new Error(`Snapshots folder corrupted. Found a file: ${revisionPath}`); + } + const cachedFiles = []; + await scanSnapshotDir(revisionPath, cachedFiles, blobStats); + const revisionLastModified = cachedFiles.length > 0 ? Math.max(...[...cachedFiles].map((file) => file.blob.lastModifiedAt.getTime())) : revisionStat.mtimeMs; + cachedRevisions.push({ + commitOid: dir, + files: cachedFiles, + refs: refsByHash.get(dir) || [], + size: [...cachedFiles].reduce((sum2, file) => sum2 + file.blob.size, 0), + path: revisionPath, + lastModifiedAt: new Date(revisionLastModified) + }); + refsByHash.delete(dir); + } + if (refsByHash.size > 0) { + throw new Error( + `Reference(s) refer to missing commit hashes: ${JSON.stringify(Object.fromEntries(refsByHash))} (${repoPath})` + ); + } + const repoStats = await (0, import_promises.stat)(repoPath); + const repoLastAccessed = blobStats.size > 0 ? Math.max(...[...blobStats.values()].map((stat5) => stat5.atimeMs)) : repoStats.atimeMs; + const repoLastModified = blobStats.size > 0 ? Math.max(...[...blobStats.values()].map((stat5) => stat5.mtimeMs)) : repoStats.mtimeMs; + return { + id: { + name: repoId, + type: repoType + }, + path: repoPath, + filesCount: blobStats.size, + revisions: cachedRevisions, + size: [...blobStats.values()].reduce((sum2, stat5) => sum2 + stat5.size, 0), + lastAccessedAt: new Date(repoLastAccessed), + lastModifiedAt: new Date(repoLastModified) + }; +} +async function scanRefsDir(refsPath, refsByHash) { + const refFiles = await (0, import_promises.readdir)(refsPath, { withFileTypes: true }); + for (const refFile of refFiles) { + const refFilePath = (0, import_node_path.join)(refsPath, refFile.name); + if (refFile.isDirectory()) + continue; + const commitHash = await (0, import_promises.readFile)(refFilePath, "utf-8"); + const refName = refFile.name; + if (!refsByHash.has(commitHash)) { + refsByHash.set(commitHash, []); + } + refsByHash.get(commitHash)?.push(refName); + } +} +async function scanSnapshotDir(revisionPath, cachedFiles, blobStats) { + const files = await (0, import_promises.readdir)(revisionPath, { withFileTypes: true }); + for (const file of files) { + if (file.isDirectory()) + continue; + const filePath = (0, import_node_path.join)(revisionPath, file.name); + const blobPath = await (0, import_promises.realpath)(filePath); + const blobStat = await getBlobStat(blobPath, blobStats); + cachedFiles.push({ + path: filePath, + blob: { + path: blobPath, + size: blobStat.size, + lastAccessedAt: new Date(blobStat.atimeMs), + lastModifiedAt: new Date(blobStat.mtimeMs) + } + }); + } +} +async function getBlobStat(blobPath, blobStats) { + const blob = blobStats.get(blobPath); + if (!blob) { + const statResult = await (0, import_promises.lstat)(blobPath); + blobStats.set(blobPath, statResult); + return statResult; + } + return blob; +} +function parseRepoType(type) { + switch (type) { + case "models": + return "model"; + case "datasets": + return "dataset"; + case "spaces": + return "space"; + default: + throw new TypeError(`Invalid repo type: ${type}`); + } +} + +// src/consts.ts +var HUB_URL = "https://huggingface.co"; + +// src/error.ts +async function createApiError(response, opts) { + const error = new HubApiError(response.url, response.status, response.headers.get("X-Request-Id") ?? opts?.requestId); + error.message = `Api error with status ${error.statusCode}${opts?.message ? `. ${opts.message}` : ""}`; + const trailer = [`URL: ${error.url}`, error.requestId ? `Request ID: ${error.requestId}` : void 0].filter(Boolean).join(". "); + if (response.headers.get("Content-Type")?.startsWith("application/json")) { + const json = await response.json(); + error.message = json.error || json.message || error.message; + if (json.error_description) { + error.message = error.message ? error.message + `: ${json.error_description}` : json.error_description; + } + error.data = json; + } else { + error.data = { message: await response.text() }; + } + error.message += `. ${trailer}`; + throw error; +} +var HubApiError = class extends Error { + statusCode; + url; + requestId; + data; + constructor(url, statusCode, requestId, message) { + super(message); + this.statusCode = statusCode; + this.requestId = requestId; + this.url = url; + } +}; +var InvalidApiResponseFormatError = class extends Error { +}; + +// src/utils/checkCredentials.ts +function checkAccessToken(accessToken) { + if (!accessToken.startsWith("hf_")) { + throw new TypeError("Your access token must start with 'hf_'"); + } +} +function checkCredentials(params) { + if (params.accessToken) { + checkAccessToken(params.accessToken); + return params.accessToken; + } + if (params.credentials?.accessToken) { + checkAccessToken(params.credentials.accessToken); + return params.credentials.accessToken; + } +} + +// src/utils/toRepoId.ts +function toRepoId(repo) { + if (typeof repo !== "string") { + return repo; + } + if (repo.startsWith("model/") || repo.startsWith("models/")) { + throw new TypeError( + "A repo designation for a model should not start with 'models/', directly specify the model namespace / name" + ); + } + if (repo.startsWith("space/")) { + throw new TypeError("Spaces should start with 'spaces/', plural, not 'space/'"); + } + if (repo.startsWith("dataset/")) { + throw new TypeError("Datasets should start with 'datasets/', plural, not 'dataset/'"); + } + if (repo.startsWith("bucket/")) { + throw new TypeError("Buckets should start with 'buckets/', plural, not 'bucket/'"); + } + const slashes = repo.split("/").length - 1; + if (repo.startsWith("spaces/")) { + if (slashes !== 2) { + throw new TypeError("Space Id must include namespace and name of the space"); + } + return { + type: "space", + name: repo.slice("spaces/".length) + }; + } + if (repo.startsWith("datasets/")) { + if (slashes > 2) { + throw new TypeError("Too many slashes in repo designation: " + repo); + } + return { + type: "dataset", + name: repo.slice("datasets/".length) + }; + } + if (repo.startsWith("buckets/")) { + if (slashes !== 2) { + throw new TypeError("Bucket Id must include namespace and name of the bucket"); + } + return { + type: "bucket", + name: repo.slice("buckets/".length) + }; + } + if (slashes > 1) { + throw new TypeError("Too many slashes in repo designation: " + repo); + } + return { + type: "model", + name: repo + }; +} + +// src/lib/check-repo-access.ts +async function checkRepoAccess(params) { + const accessToken = params && checkCredentials(params); + const repoId = toRepoId(params.repo); + const response = await (params.fetch || fetch)(`${params?.hubUrl || HUB_URL}/api/${repoId.type}s/${repoId.name}`, { + headers: { + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + }); + if (!response.ok) { + throw await createApiError(response); + } +} + +// src/utils/range.ts +function range(n, b) { + return b ? Array(b - n).fill(0).map((_, i) => n + i) : Array(n).fill(0).map((_, i) => i); +} + +// src/utils/chunk.ts +function chunk(arr, chunkSize) { + if (isNaN(chunkSize) || chunkSize < 1) { + throw new RangeError("Invalid chunk size: " + chunkSize); + } + if (!arr.length) { + return []; + } + if (arr.length <= chunkSize) { + return [arr]; + } + return range(Math.ceil(arr.length / chunkSize)).map((i) => { + return arr.slice(i * chunkSize, (i + 1) * chunkSize); + }); +} + +// src/utils/promisesQueue.ts +async function promisesQueue(factories, concurrency) { + const results = []; + const executing = /* @__PURE__ */ new Set(); + let index = 0; + for (const factory of factories) { + const closureIndex = index++; + const e = factory().then((r) => { + results[closureIndex] = r; + executing.delete(e); + }); + executing.add(e); + if (executing.size >= concurrency) { + await Promise.race(executing); + } + } + await Promise.all(executing); + return results; +} + +// src/utils/promisesQueueStreaming.ts +async function promisesQueueStreaming(factories, concurrency) { + const executing = []; + for await (const factory of factories) { + const e = factory().then(() => { + executing.splice(executing.indexOf(e), 1); + }); + executing.push(e); + if (executing.length >= concurrency) { + await Promise.race(executing); + } + } + await Promise.all(executing); +} + +// src/utils/eventToGenerator.ts +async function* eventToGenerator(cb) { + const promises = []; + function addPromise() { + let resolve3; + let reject; + const p = new Promise((res, rej) => { + resolve3 = res; + reject = rej; + }); + promises.push({ p, resolve: resolve3, reject }); + } + addPromise(); + const callbackRes = Promise.resolve().then( + () => cb( + (y) => { + addPromise(); + promises.at(-2)?.resolve({ done: false, value: y }); + }, + (r) => { + addPromise(); + promises.at(-2)?.resolve({ done: true, value: r }); + }, + (err) => promises.shift()?.reject(err) + ) + ).catch((err) => promises.shift()?.reject(err)); + while (1) { + const p = promises[0]; + if (!p) { + throw new Error("Logic error in eventGenerator, promises should never be empty"); + } + const result = await p.p; + promises.shift(); + if (result.done) { + await callbackRes; + return result.value; + } + yield result.value; + } + throw new Error("Unreachable"); +} + +// src/utils/hexFromBytes.ts +function hexFromBytes(arr) { + if (globalThis.Buffer) { + return globalThis.Buffer.from(arr).toString("hex"); + } else { + const bin = []; + arr.forEach((byte) => { + bin.push(byte.toString(16).padStart(2, "0")); + }); + return bin.join(""); + } +} + +// src/utils/isBackend.ts +var isBrowser = typeof window !== "undefined" && typeof window.document !== "undefined"; +var isWebWorker = typeof self === "object" && self.constructor && self.constructor.name === "DedicatedWorkerGlobalScope"; +var isBackend = !isBrowser && !isWebWorker; + +// src/utils/isFrontend.ts +var isFrontend = !isBackend; + +// src/utils/sha256.ts +async function getWebWorkerCode() { + const sha256Module = await Promise.resolve().then(() => (init_sha256_wrapper(), sha256_wrapper_exports)); + return URL.createObjectURL(new Blob([sha256Module.createSHA256WorkerCode()])); +} +var pendingWorkers = []; +var runningWorkers = /* @__PURE__ */ new Set(); +var resolve; +var waitPromise = new Promise((r) => { + resolve = r; +}); +async function getWorker(poolSize) { + { + const worker2 = pendingWorkers.pop(); + if (worker2) { + runningWorkers.add(worker2); + return worker2; + } + } + if (!poolSize) { + const worker2 = new Worker(await getWebWorkerCode()); + runningWorkers.add(worker2); + return worker2; + } + if (poolSize <= 0) { + throw new TypeError("Invalid webworker pool size: " + poolSize); + } + while (runningWorkers.size >= poolSize) { + await waitPromise; + } + const worker = new Worker(await getWebWorkerCode()); + runningWorkers.add(worker); + return worker; +} +async function freeWorker(worker, poolSize) { + if (!poolSize) { + return destroyWorker(worker); + } + runningWorkers.delete(worker); + pendingWorkers.push(worker); + const r = resolve; + waitPromise = new Promise((r2) => { + resolve = r2; + }); + r(); +} +function destroyWorker(worker) { + runningWorkers.delete(worker); + worker.terminate(); + const r = resolve; + waitPromise = new Promise((r2) => { + resolve = r2; + }); + r(); +} +async function* sha256(buffer, opts) { + yield 0; + const maxCryptoSize = typeof opts?.useWebWorker === "object" && opts?.useWebWorker.minSize !== void 0 ? opts.useWebWorker.minSize : 1e7; + if (buffer.size < maxCryptoSize && globalThis.crypto?.subtle) { + const res = hexFromBytes( + new Uint8Array( + await globalThis.crypto.subtle.digest("SHA-256", buffer instanceof Blob ? await buffer.arrayBuffer() : buffer) + ) + ); + yield 1; + return res; + } + if (isFrontend) { + if (opts?.useWebWorker) { + try { + const poolSize = typeof opts?.useWebWorker === "object" ? opts.useWebWorker.poolSize : void 0; + const worker = await getWorker(poolSize); + let messageHandler; + let errorHandler; + const cleanup = () => { + worker.removeEventListener("message", messageHandler); + worker.removeEventListener("error", errorHandler); + }; + return yield* eventToGenerator((yieldCallback, returnCallback, rejectCallback) => { + messageHandler = (event) => { + if (event.data.sha256) { + cleanup(); + freeWorker(worker, poolSize); + returnCallback(event.data.sha256); + } else if (event.data.progress) { + yieldCallback(event.data.progress); + try { + opts.abortSignal?.throwIfAborted(); + } catch (err) { + cleanup(); + destroyWorker(worker); + rejectCallback(err); + } + } else { + cleanup(); + destroyWorker(worker); + rejectCallback(event); + } + }; + errorHandler = (event) => { + cleanup(); + destroyWorker(worker); + rejectCallback(event.error); + }; + if (opts?.abortSignal) { + try { + opts.abortSignal?.throwIfAborted(); + } catch (err) { + cleanup(); + destroyWorker(worker); + rejectCallback(opts.abortSignal.reason ?? new DOMException("Aborted", "AbortError")); + return; + } + const abortListener = () => { + cleanup(); + destroyWorker(worker); + rejectCallback(opts.abortSignal?.reason ?? new DOMException("Aborted", "AbortError")); + opts.abortSignal?.removeEventListener("abort", abortListener); + }; + opts.abortSignal.addEventListener("abort", abortListener); + } + worker.addEventListener("message", messageHandler); + worker.addEventListener("error", errorHandler); + worker.postMessage({ file: buffer }); + }); + } catch (err) { + console.warn("Failed to use web worker for sha256", err); + } + } + if (!wasmModule) { + wasmModule = await Promise.resolve().then(() => (init_sha256_wrapper(), sha256_wrapper_exports)); + } + const sha2562 = await wasmModule.createSHA256(); + sha2562.init(); + const reader = buffer.stream().getReader(); + const total = buffer.size; + let bytesDone = 0; + while (true) { + const { done, value } = await reader.read(); + if (done) { + break; + } + sha2562.update(value); + bytesDone += value.length; + yield bytesDone / total; + opts?.abortSignal?.throwIfAborted(); + } + return sha2562.digest("hex"); + } + if (!cryptoModule) { + cryptoModule = await Promise.resolve().then(() => (init_sha256_node(), sha256_node_exports)); + } + return yield* cryptoModule.sha256Node(buffer, { abortSignal: opts?.abortSignal }); +} +var cryptoModule; +var wasmModule; + +// src/utils/WebBlob.ts +var WebBlob = class extends Blob { + static async create(url, opts) { + const customFetch = opts?.fetch ?? fetch; + const response = await customFetch(url, { + method: "HEAD", + ...opts?.accessToken && { + headers: { + Authorization: `Bearer ${opts.accessToken}` + } + } + }); + const size = Number(response.headers.get("content-length")); + const contentType = response.headers.get("content-type") || ""; + const supportRange = response.headers.get("accept-ranges") === "bytes"; + if (!supportRange || size < (opts?.cacheBelow ?? 1e6)) { + return await (await customFetch(url)).blob(); + } + return new WebBlob(url, 0, size, contentType, true, customFetch, opts?.accessToken); + } + url; + start; + end; + contentType; + full; + fetch; + accessToken; + constructor(url, start, end, contentType, full, customFetch, accessToken) { + super([]); + this.url = url; + this.start = start; + this.end = end; + this.contentType = contentType; + this.full = full; + this.fetch = customFetch; + this.accessToken = accessToken; + } + get size() { + return this.end - this.start; + } + get type() { + return this.contentType; + } + slice(start = 0, end = this.size) { + if (start < 0 || end < 0) { + new TypeError("Unsupported negative start/end on WebBlob.slice"); + } + const slice = new WebBlob( + this.url, + this.start + start, + Math.min(this.start + end, this.end), + this.contentType, + start === 0 && end === this.size ? this.full : false, + this.fetch, + this.accessToken + ); + return slice; + } + async arrayBuffer() { + const result = await this.fetchRange(); + return result.arrayBuffer(); + } + async text() { + const result = await this.fetchRange(); + return result.text(); + } + stream() { + const stream = new TransformStream(); + this.fetchRange().then((response) => response.body?.pipeThrough(stream)).catch((error) => stream.writable.abort(error.message)); + return stream.readable; + } + fetchRange() { + const fetch2 = this.fetch; + if (this.full) { + return fetch2(this.url, { + ...this.accessToken && { + headers: { + Authorization: `Bearer ${this.accessToken}` + } + } + }).then((resp) => resp.ok ? resp : createApiError(resp)); + } + return fetch2(this.url, { + headers: { + Range: `bytes=${this.start}-${this.end - 1}`, + ...this.accessToken && { Authorization: `Bearer ${this.accessToken}` } + } + }).then((resp) => resp.ok ? resp : createApiError(resp)); + } +}; + +// src/utils/base64FromBytes.ts +function base64FromBytes(arr) { + if (globalThis.Buffer) { + return globalThis.Buffer.from(arr).toString("base64"); + } else { + const bin = []; + arr.forEach((byte) => { + bin.push(String.fromCharCode(byte)); + }); + return globalThis.btoa(bin.join("")); + } +} + +// src/utils/createBlobs.ts +async function createBlobs(url, destPath, opts) { + if (url.protocol === "http:" || url.protocol === "https:") { + const blob = await WebBlob.create(url, { fetch: opts?.fetch, accessToken: opts?.accessToken }); + return [{ path: destPath, blob }]; + } + if (isFrontend) { + throw new TypeError(`Unsupported URL protocol "${url.protocol}"`); + } + if (url.protocol === "file:") { + const { FileBlob: FileBlob2 } = await Promise.resolve().then(() => (init_FileBlob(), FileBlob_exports)); + const { subPaths: subPaths2 } = await Promise.resolve().then(() => (init_sub_paths(), sub_paths_exports)); + const paths = await subPaths2(url, opts?.maxFolderDepth); + if (paths.length === 1 && paths[0].relativePath === ".") { + const blob = await FileBlob2.create(url); + return [{ path: destPath, blob }]; + } + return Promise.all( + paths.map(async (path2) => ({ + path: `${destPath}/${path2.relativePath}`.replace(/\/[.]$/, "").replaceAll("//", "/").replace(/^[.]?\//, ""), + blob: await FileBlob2.create(new URL(path2.path)) + })) + ); + } + throw new TypeError(`Unsupported URL protocol "${url.protocol}"`); +} + +// src/utils/combineUint8Arrays.ts +function combineUint8Arrays(a, b) { + const aLength = a.length; + const combinedBytes = new Uint8Array(aLength + b.length); + combinedBytes.set(a); + combinedBytes.set(b, aLength); + return combinedBytes; +} + +// src/vendor/lz4js/util.ts +function hashU32(a) { + a = a | 0; + a = a + 2127912214 + (a << 12) | 0; + a = a ^ -949894596 ^ a >>> 19; + a = a + 374761393 + (a << 5) | 0; + a = a + -744332180 ^ a << 9; + a = a + -42973499 + (a << 3) | 0; + return a ^ -1252372727 ^ a >>> 16 | 0; +} +function readU64(b, n) { + let x = 0; + x |= b[n++] << 0; + x |= b[n++] << 8; + x |= b[n++] << 16; + x |= b[n++] << 24; + x |= b[n++] << 32; + x |= b[n++] << 40; + x |= b[n++] << 48; + x |= b[n++] << 56; + return x; +} +function readU32(b, n) { + let x = 0; + x |= b[n++] << 0; + x |= b[n++] << 8; + x |= b[n++] << 16; + x |= b[n++] << 24; + return x; +} +function writeU32(b, n, x) { + b[n++] = x >> 0 & 255; + b[n++] = x >> 8 & 255; + b[n++] = x >> 16 & 255; + b[n++] = x >> 24 & 255; +} +function imul(a, b) { + const ah = a >>> 16; + const al = a & 65535; + const bh = b >>> 16; + const bl = b & 65535; + return al * bl + (ah * bl + al * bh << 16) | 0; +} + +// src/vendor/lz4js/xxh32.ts +var prime1 = 2654435761; +var prime2 = 2246822519; +var prime3 = 3266489917; +var prime4 = 668265263; +var prime5 = 374761393; +function rotl32(x, r) { + x = x | 0; + r = r | 0; + return x >>> (32 - r | 0) | x << r | 0; +} +function rotmul32(h, r, m) { + h = h | 0; + r = r | 0; + m = m | 0; + return imul(h >>> (32 - r | 0) | h << r, m) | 0; +} +function shiftxor32(h, s) { + h = h | 0; + s = s | 0; + return h >>> s ^ h | 0; +} +function xxhapply(h, src, m0, s, m1) { + return rotmul32(imul(src, m0) + h, s, m1); +} +function xxh1(h, src, index) { + return rotmul32(h + imul(src[index], prime5), 11, prime1); +} +function xxh4(h, src, index) { + return xxhapply(h, readU32(src, index), prime3, 17, prime4); +} +function xxh16(h, src, index) { + return [ + xxhapply(h[0], readU32(src, index + 0), prime2, 13, prime1), + xxhapply(h[1], readU32(src, index + 4), prime2, 13, prime1), + xxhapply(h[2], readU32(src, index + 8), prime2, 13, prime1), + xxhapply(h[3], readU32(src, index + 12), prime2, 13, prime1) + ]; +} +function xxh32(seed, src, index, len) { + let h; + const l = len; + if (len >= 16) { + h = [seed + prime1 + prime2, seed + prime2, seed, seed - prime1]; + while (len >= 16) { + h = xxh16(h, src, index); + index += 16; + len -= 16; + } + h = rotl32(h[0], 1) + rotl32(h[1], 7) + rotl32(h[2], 12) + rotl32(h[3], 18) + l; + } else { + h = seed + prime5 + len >>> 0; + } + while (len >= 4) { + h = xxh4(h, src, index); + index += 4; + len -= 4; + } + while (len > 0) { + h = xxh1(h, src, index); + index++; + len--; + } + h = shiftxor32(imul(shiftxor32(imul(shiftxor32(h, 15), prime2), 13), prime3), 16); + return h >>> 0; +} +var hash = xxh32; + +// src/vendor/lz4js/index.ts +var minMatch = 4; +var matchSearchLimit = 12; +var minTrailingLitterals = 5; +var skipTrigger = 6; +var hashSize = 1 << 16; +var mlBits = 4; +var mlMask = (1 << mlBits) - 1; +var runBits = 4; +var runMask = (1 << runBits) - 1; +var blockBuf = makeBuffer(5 << 20); +var hashTable = makeHashTable(); +var magicNum = 407708164; +var fdContentChksum = 4; +var fdContentSize = 8; +var fdBlockChksum = 16; +var fdVersion = 64; +var fdVersionMask = 192; +var bsUncompressed = 2147483648; +var bsDefault = 7; +var bsShift = 4; +var bsMask = 7; +var bsMap = { + 4: 65536, + 5: 262144, + 6: 1048576, + 7: 4194304 +}; +function makeHashTable() { + try { + return new Uint32Array(hashSize); + } catch (error) { + const hashTable2 = new Array(hashSize); + for (let i = 0; i < hashSize; i++) { + hashTable2[i] = 0; + } + return hashTable2; + } +} +function clearHashTable(table) { + for (let i = 0; i < hashSize; i++) { + table[i] = 0; + } +} +function makeBuffer(size) { + return new Uint8Array(size); +} +function sliceArray(array, start, end) { + return array.slice(start, end); +} +function compressBound(n) { + return n + n / 255 + 16 | 0; +} +function decompressBound(src) { + let sIndex = 0; + if (readU32(src, sIndex) !== magicNum) { + throw new Error("invalid magic number"); + } + sIndex += 4; + const descriptor = src[sIndex++]; + if ((descriptor & fdVersionMask) !== fdVersion) { + throw new Error("incompatible descriptor version " + (descriptor & fdVersionMask)); + } + const useBlockSum = (descriptor & fdBlockChksum) !== 0; + const useContentSize = (descriptor & fdContentSize) !== 0; + const bsIdx = src[sIndex++] >> bsShift & bsMask; + if (bsMap[bsIdx] === void 0) { + throw new Error("invalid block size " + bsIdx); + } + const maxBlockSize = bsMap[bsIdx]; + if (useContentSize) { + return readU64(src, sIndex); + } + sIndex++; + let maxSize = 0; + while (true) { + let blockSize = readU32(src, sIndex); + sIndex += 4; + if (blockSize & bsUncompressed) { + blockSize &= ~bsUncompressed; + maxSize += blockSize; + } else if (blockSize > 0) { + maxSize += maxBlockSize; + } + if (blockSize === 0) { + return maxSize; + } + if (useBlockSum) { + sIndex += 4; + } + sIndex += blockSize; + } +} +function decompressBlock(src, dst, sIndex, sLength, dIndex) { + let mLength, mOffset, sEnd, n, i; + const hasCopyWithin = dst.copyWithin !== void 0 && dst.fill !== void 0; + sEnd = sIndex + sLength; + while (sIndex < sEnd) { + const token = src[sIndex++]; + let literalCount = token >> 4; + if (literalCount > 0) { + if (literalCount === 15) { + while (true) { + literalCount += src[sIndex]; + if (src[sIndex++] !== 255) { + break; + } + } + } + for (n = sIndex + literalCount; sIndex < n; ) { + dst[dIndex++] = src[sIndex++]; + } + } + if (sIndex >= sEnd) { + break; + } + mLength = token & 15; + mOffset = src[sIndex++] | src[sIndex++] << 8; + if (mLength === 15) { + while (true) { + mLength += src[sIndex]; + if (src[sIndex++] !== 255) { + break; + } + } + } + mLength += minMatch; + if (hasCopyWithin && mOffset === 1) { + dst.fill(dst[dIndex - 1] | 0, dIndex, dIndex + mLength); + dIndex += mLength; + } else if (hasCopyWithin && mOffset > mLength && mLength > 31) { + dst.copyWithin(dIndex, dIndex - mOffset, dIndex - mOffset + mLength); + dIndex += mLength; + } else { + for (i = dIndex - mOffset, n = i + mLength; i < n; ) { + dst[dIndex++] = dst[i++] | 0; + } + } + } + return dIndex; +} +function compressBlock(src, dst, sIndex, sLength, hashTable2) { + let mIndex, mAnchor, mLength, mOffset, mStep; + let literalCount, dIndex, sEnd, n; + dIndex = 0; + sEnd = sLength + sIndex; + mAnchor = sIndex; + let searchMatchCount = (1 << skipTrigger) + 3; + while (sIndex <= sEnd - matchSearchLimit) { + const seq = readU32(src, sIndex); + let hash2 = hashU32(seq) >>> 0; + hash2 = (hash2 >> 16 ^ hash2) >>> 0 & 65535; + mIndex = hashTable2[hash2] - 1; + hashTable2[hash2] = sIndex + 1; + if (mIndex < 0 || sIndex - mIndex >>> 16 > 0 || readU32(src, mIndex) !== seq) { + mStep = searchMatchCount++ >> skipTrigger; + sIndex += mStep; + continue; + } + searchMatchCount = (1 << skipTrigger) + 3; + literalCount = sIndex - mAnchor; + mOffset = sIndex - mIndex; + sIndex += minMatch; + mIndex += minMatch; + mLength = sIndex; + while (sIndex < sEnd - minTrailingLitterals && src[sIndex] === src[mIndex]) { + sIndex++; + mIndex++; + } + mLength = sIndex - mLength; + const token = mLength < mlMask ? mLength : mlMask; + if (literalCount >= runMask) { + dst[dIndex++] = (runMask << mlBits) + token; + for (n = literalCount - runMask; n >= 255; n -= 255) { + dst[dIndex++] = 255; + } + dst[dIndex++] = n; + } else { + dst[dIndex++] = (literalCount << mlBits) + token; + } + for (let i = 0; i < literalCount; i++) { + dst[dIndex++] = src[mAnchor + i]; + } + dst[dIndex++] = mOffset; + dst[dIndex++] = mOffset >> 8; + if (mLength >= mlMask) { + for (n = mLength - mlMask; n >= 255; n -= 255) { + dst[dIndex++] = 255; + } + dst[dIndex++] = n; + } + mAnchor = sIndex; + } + if (mAnchor === 0) { + return 0; + } + literalCount = sEnd - mAnchor; + if (literalCount >= runMask) { + dst[dIndex++] = runMask << mlBits; + for (n = literalCount - runMask; n >= 255; n -= 255) { + dst[dIndex++] = 255; + } + dst[dIndex++] = n; + } else { + dst[dIndex++] = literalCount << mlBits; + } + sIndex = mAnchor; + while (sIndex < sEnd) { + dst[dIndex++] = src[sIndex++]; + } + return dIndex; +} +function decompressFrame(src, dst) { + let useBlockSum, useContentSum, useContentSize, descriptor; + let sIndex = 0; + let dIndex = 0; + if (readU32(src, sIndex) !== magicNum) { + throw new Error("invalid magic number"); + } + sIndex += 4; + descriptor = src[sIndex++]; + if ((descriptor & fdVersionMask) !== fdVersion) { + throw new Error("incompatible descriptor version"); + } + useBlockSum = (descriptor & fdBlockChksum) !== 0; + useContentSum = (descriptor & fdContentChksum) !== 0; + useContentSize = (descriptor & fdContentSize) !== 0; + const bsIdx = src[sIndex++] >> bsShift & bsMask; + if (bsMap[bsIdx] === void 0) { + throw new Error("invalid block size"); + } + if (useContentSize) { + sIndex += 8; + } + sIndex++; + while (true) { + var compSize; + compSize = readU32(src, sIndex); + sIndex += 4; + if (compSize === 0) { + break; + } + if (useBlockSum) { + sIndex += 4; + } + if ((compSize & bsUncompressed) !== 0) { + compSize &= ~bsUncompressed; + for (let j = 0; j < compSize; j++) { + dst[dIndex++] = src[sIndex++]; + } + } else { + dIndex = decompressBlock(src, dst, sIndex, compSize, dIndex); + sIndex += compSize; + } + } + if (useContentSum) { + sIndex += 4; + } + return dIndex; +} +function compressFrame(src, dst) { + let dIndex = 0; + writeU32(dst, dIndex, magicNum); + dIndex += 4; + dst[dIndex++] = fdVersion; + dst[dIndex++] = bsDefault << bsShift; + dst[dIndex] = hash(0, dst, 4, dIndex - 4) >> 8; + dIndex++; + const maxBlockSize = bsMap[bsDefault]; + let remaining = src.length; + let sIndex = 0; + clearHashTable(hashTable); + while (remaining > 0) { + let compSize = 0; + const blockSize = remaining > maxBlockSize ? maxBlockSize : remaining; + compSize = compressBlock(src, blockBuf, sIndex, blockSize, hashTable); + if (compSize > blockSize || compSize === 0) { + writeU32(dst, dIndex, 2147483648 | blockSize); + dIndex += 4; + for (let z = sIndex + blockSize; sIndex < z; ) { + dst[dIndex++] = src[sIndex++]; + } + remaining -= blockSize; + } else { + writeU32(dst, dIndex, compSize); + dIndex += 4; + for (let j = 0; j < compSize; ) { + dst[dIndex++] = blockBuf[j++]; + } + sIndex += blockSize; + remaining -= blockSize; + } + } + writeU32(dst, dIndex, 0); + dIndex += 4; + return dIndex; +} +function decompress(src, maxSize) { + let dst, size; + if (maxSize === void 0) { + maxSize = decompressBound(src); + } + dst = makeBuffer(maxSize); + size = decompressFrame(src, dst); + if (size !== maxSize) { + dst = sliceArray(dst, 0, size); + } + return dst; +} +function compress(src, maxSize) { + let dst, size; + if (maxSize === void 0) { + maxSize = compressBound(src.length); + } + dst = makeBuffer(maxSize); + size = compressFrame(src, dst); + if (size !== maxSize) { + dst = sliceArray(dst, 0, size); + } + return dst; +} + +// src/utils/RangeList.ts +var RangeList = class { + ranges = []; + /** + * Add a range to the list. If it overlaps with existing ranges, + * it will split them and increment reference counts accordingly. + */ + add(start, end) { + if (end <= start) { + throw new TypeError("End must be greater than start"); + } + const overlappingRanges = []; + for (let i = 0; i < this.ranges.length; i++) { + const range2 = this.ranges[i]; + if (start < range2.end && end > range2.start) { + overlappingRanges.push({ index: i, range: range2 }); + } + if (range2.data !== null) { + throw new Error("Overlapping range already has data"); + } + } + if (overlappingRanges.length === 0) { + this.ranges.push({ start, end, refCount: 1, data: null }); + this.ranges.sort((a, b) => a.start - b.start); + return; + } + const newRanges = []; + let currentPos = start; + for (let i = 0; i < overlappingRanges.length; i++) { + const { range: range2 } = overlappingRanges[i]; + if (currentPos < range2.start) { + newRanges.push({ + start: currentPos, + end: range2.start, + refCount: 1, + data: null + }); + } else if (range2.start < currentPos) { + newRanges.push({ + start: range2.start, + end: currentPos, + refCount: range2.refCount, + data: null + }); + } + newRanges.push({ + start: Math.max(currentPos, range2.start), + end: Math.min(end, range2.end), + refCount: range2.refCount + 1, + data: null + }); + if (range2.end > end) { + newRanges.push({ + start: end, + end: range2.end, + refCount: range2.refCount, + data: null + }); + } + currentPos = Math.max(currentPos, range2.end); + } + if (currentPos < end) { + newRanges.push({ + start: currentPos, + end, + refCount: 1, + data: null + }); + } + const firstIndex = overlappingRanges[0].index; + const lastIndex = overlappingRanges[overlappingRanges.length - 1].index; + this.ranges.splice(firstIndex, lastIndex - firstIndex + 1, ...newRanges); + this.ranges.sort((a, b) => a.start - b.start); + } + /** + * Remove a range from the list. The range must start and end at existing boundaries. + */ + remove(start, end) { + if (end <= start) { + throw new TypeError("End must be greater than start"); + } + const affectedRanges = []; + for (let i = 0; i < this.ranges.length; i++) { + const range2 = this.ranges[i]; + if (start < range2.end && end > range2.start) { + affectedRanges.push({ index: i, range: range2 }); + } + } + if (affectedRanges.length === 0) { + throw new Error("No ranges found to remove"); + } + if (start !== affectedRanges[0].range.start || end !== affectedRanges[affectedRanges.length - 1].range.end) { + throw new Error("Range boundaries must match existing boundaries"); + } + for (let i = 0; i < affectedRanges.length; i++) { + const { range: range2 } = affectedRanges[i]; + range2.refCount--; + } + this.ranges = this.ranges.filter((range2) => range2.refCount > 0); + } + /** + * Get all ranges within the specified boundaries. + */ + getRanges(start, end) { + if (end <= start) { + throw new TypeError("End must be greater than start"); + } + return this.ranges.filter((range2) => start < range2.end && end > range2.start); + } + /** + * Get all ranges in the list + */ + getAllRanges() { + return [...this.ranges]; + } +}; + +// src/utils/XetBlob.ts +var JWT_SAFETY_PERIOD = 6e4; +var JWT_CACHE_SIZE = 1e3; +var compressionSchemeLabels = { + [0 /* None */]: "None", + [1 /* LZ4 */]: "LZ4", + [2 /* ByteGroupingLZ4 */]: "ByteGroupingLZ4" +}; +var XET_CHUNK_HEADER_BYTES = 8; +var XetBlob = class extends Blob { + fetch; + accessToken; + refreshUrl; + reconstructionUrl; + hash; + start = 0; + end = 0; + internalLogging = false; + reconstructionInfo; + listener; + constructor(params) { + super([]); + this.fetch = params.fetch ?? fetch.bind(globalThis); + this.accessToken = checkCredentials(params); + this.refreshUrl = params.refreshUrl; + this.end = params.size; + this.reconstructionUrl = params.reconstructionUrl; + this.hash = params.hash; + this.listener = params.listener; + this.internalLogging = params.internalLogging ?? false; + if (params.readToken) { + const key = cacheKey({ refreshUrl: this.refreshUrl, initialAccessToken: this.accessToken }); + jwts.set(key, { + accessToken: params.readToken.accessToken, + expiresAt: new Date(params.readToken.exp * 1e3), + casUrl: params.readToken.casUrl + }); + } + } + get size() { + return this.end - this.start; + } + #clone() { + const blob = new XetBlob({ + fetch: this.fetch, + hash: this.hash, + refreshUrl: this.refreshUrl, + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + reconstructionUrl: this.reconstructionUrl, + size: this.size + }); + blob.accessToken = this.accessToken; + blob.start = this.start; + blob.end = this.end; + blob.reconstructionInfo = this.reconstructionInfo; + blob.listener = this.listener; + blob.internalLogging = this.internalLogging; + return blob; + } + slice(start = 0, end = this.size) { + if (start < 0 || end < 0) { + new TypeError("Unsupported negative start/end on XetBlob.slice"); + } + const slice = this.#clone(); + slice.start = this.start + start; + slice.end = Math.min(this.start + end, this.end); + if (slice.start !== this.start || slice.end !== this.end) { + slice.reconstructionInfo = void 0; + } + return slice; + } + #reconstructionInfoPromise; + #loadReconstructionInfo() { + if (this.#reconstructionInfoPromise) { + return this.#reconstructionInfoPromise; + } + this.#reconstructionInfoPromise = (async () => { + const connParams = await getAccessToken(this.accessToken, this.fetch, this.refreshUrl); + const resp = await this.fetch(this.reconstructionUrl ?? `${connParams.casUrl}/v1/reconstructions/${this.hash}`, { + headers: { + Authorization: `Bearer ${connParams.accessToken}`, + Range: `bytes=${this.start}-${this.end - 1}` + } + }); + if (!resp.ok) { + throw await createApiError(resp); + } + this.reconstructionInfo = await resp.json(); + return this.reconstructionInfo; + })().finally(() => this.#reconstructionInfoPromise = void 0); + return this.#reconstructionInfoPromise; + } + async #fetch() { + if (!this.reconstructionInfo) { + await this.#loadReconstructionInfo(); + } + const rangeLists = /* @__PURE__ */ new Map(); + if (!this.reconstructionInfo) { + throw new Error("Failed to load reconstruction info"); + } + for (const term of this.reconstructionInfo.terms) { + let rangeList = rangeLists.get(term.hash); + if (!rangeList) { + rangeList = new RangeList(); + rangeLists.set(term.hash, rangeList); + } + rangeList.add(term.range.start, term.range.end); + } + const listener = this.listener; + const log = this.internalLogging ? (...args) => console.log(...args) : () => { + }; + async function* readData(reconstructionInfo, customFetch, maxBytes, reloadReconstructionInfo) { + let totalBytesRead = 0; + let readBytesToSkip = reconstructionInfo.offset_into_first_range; + for (const term of reconstructionInfo.terms) { + if (totalBytesRead >= maxBytes) { + break; + } + const rangeList = rangeLists.get(term.hash); + if (!rangeList) { + throw new Error(`Failed to find range list for term ${term.hash}`); + } + { + const termRanges = rangeList.getRanges(term.range.start, term.range.end); + if (termRanges.every((range2) => range2.data)) { + log("all data available for term", term.hash, readBytesToSkip); + rangeLoop: + for (const range2 of termRanges) { + for (let chunk2 of range2.data) { + if (readBytesToSkip) { + const skipped = Math.min(readBytesToSkip, chunk2.byteLength); + chunk2 = chunk2.slice(skipped); + readBytesToSkip -= skipped; + if (!chunk2.byteLength) { + continue; + } + } + if (chunk2.byteLength > maxBytes - totalBytesRead) { + chunk2 = chunk2.slice(0, maxBytes - totalBytesRead); + } + totalBytesRead += chunk2.byteLength; + yield range2.refCount > 1 ? chunk2.slice() : chunk2; + listener?.({ event: "progress", progress: { read: totalBytesRead, total: maxBytes } }); + if (totalBytesRead >= maxBytes) { + break rangeLoop; + } + } + } + rangeList.remove(term.range.start, term.range.end); + continue; + } + } + const fetchInfo = reconstructionInfo.fetch_info[term.hash].find( + (info) => info.range.start <= term.range.start && info.range.end >= term.range.end + ); + if (!fetchInfo) { + throw new Error( + `Failed to find fetch info for term ${term.hash} and range ${term.range.start}-${term.range.end}` + ); + } + log("term", term); + log("fetchinfo", fetchInfo); + log("readBytesToSkip", readBytesToSkip); + let resp = await customFetch(fetchInfo.url, { + headers: { + Range: `bytes=${fetchInfo.url_range.start}-${fetchInfo.url_range.end}` + } + }); + if (resp.status === 403) { + reconstructionInfo = await reloadReconstructionInfo(); + resp = await customFetch(fetchInfo.url, { + headers: { + Range: `bytes=${fetchInfo.url_range.start}-${fetchInfo.url_range.end}` + } + }); + } + if (!resp.ok) { + throw await createApiError(resp); + } + log( + "expected content length", + resp.headers.get("content-length"), + "range", + fetchInfo.url_range, + resp.headers.get("content-range") + ); + const reader = resp.body?.getReader(); + if (!reader) { + throw new Error("Failed to get reader from response body"); + } + let done = false; + let chunkIndex = fetchInfo.range.start; + const ranges = rangeList.getRanges(fetchInfo.range.start, fetchInfo.range.end); + let leftoverBytes = void 0; + let totalFetchBytes = 0; + fetchData: + while (!done && totalBytesRead < maxBytes) { + const result = await reader.read(); + listener?.({ event: "read" }); + done = result.done; + log("read", result.value?.byteLength, "bytes", "total read", totalBytesRead, "toSkip", readBytesToSkip); + if (!result.value) { + log("no data in result, cancelled", result); + continue; + } + totalFetchBytes += result.value.byteLength; + if (leftoverBytes) { + result.value = combineUint8Arrays(leftoverBytes, result.value); + leftoverBytes = void 0; + } + while (totalBytesRead < maxBytes && result.value?.byteLength) { + if (result.value.byteLength < 8) { + leftoverBytes = result.value; + continue fetchData; + } + const header = new DataView(result.value.buffer, result.value.byteOffset, XET_CHUNK_HEADER_BYTES); + const chunkHeader = { + version: header.getUint8(0), + compressed_length: header.getUint8(1) | header.getUint8(2) << 8 | header.getUint8(3) << 16, + compression_scheme: header.getUint8(4), + uncompressed_length: header.getUint8(5) | header.getUint8(6) << 8 | header.getUint8(7) << 16 + }; + log("chunk header", chunkHeader, "to skip", readBytesToSkip); + if (chunkHeader.version !== 0) { + throw new Error(`Unsupported chunk version ${chunkHeader.version}`); + } + if (chunkHeader.compression_scheme !== 0 /* None */ && chunkHeader.compression_scheme !== 1 /* LZ4 */ && chunkHeader.compression_scheme !== 2 /* ByteGroupingLZ4 */) { + throw new Error( + `Unsupported compression scheme ${compressionSchemeLabels[chunkHeader.compression_scheme] ?? chunkHeader.compression_scheme}` + ); + } + if (result.value.byteLength < chunkHeader.compressed_length + XET_CHUNK_HEADER_BYTES) { + leftoverBytes = result.value; + continue fetchData; + } + result.value = result.value.slice(XET_CHUNK_HEADER_BYTES); + let uncompressed = chunkHeader.compression_scheme === 1 /* LZ4 */ ? decompress(result.value.slice(0, chunkHeader.compressed_length), chunkHeader.uncompressed_length) : chunkHeader.compression_scheme === 2 /* ByteGroupingLZ4 */ ? bg4_regroup_bytes( + decompress( + result.value.slice(0, chunkHeader.compressed_length), + chunkHeader.uncompressed_length + ) + ) : result.value.slice(0, chunkHeader.compressed_length); + const range2 = ranges.find((range3) => chunkIndex >= range3.start && chunkIndex < range3.end); + const shouldYield = chunkIndex >= term.range.start && chunkIndex < term.range.end; + const minRefCountToStore = shouldYield ? 2 : 1; + let stored = false; + if (range2 && range2.refCount >= minRefCountToStore) { + range2.data ??= []; + range2.data.push(uncompressed); + stored = true; + } + if (shouldYield) { + if (readBytesToSkip) { + const skipped = Math.min(readBytesToSkip, uncompressed.byteLength); + uncompressed = uncompressed.slice(readBytesToSkip); + readBytesToSkip -= skipped; + } + if (uncompressed.byteLength > maxBytes - totalBytesRead) { + uncompressed = uncompressed.slice(0, maxBytes - totalBytesRead); + } + if (uncompressed.byteLength) { + log( + "yield", + uncompressed.byteLength, + "bytes", + result.value.byteLength, + "total read", + totalBytesRead, + stored + ); + totalBytesRead += uncompressed.byteLength; + yield stored ? uncompressed.slice() : uncompressed; + listener?.({ event: "progress", progress: { read: totalBytesRead, total: maxBytes } }); + } + } + chunkIndex++; + result.value = result.value.slice(chunkHeader.compressed_length); + } + } + if (done && totalBytesRead < maxBytes && totalFetchBytes < fetchInfo.url_range.end - fetchInfo.url_range.start + 1) { + log("done", done, "total read", totalBytesRead, maxBytes, totalFetchBytes); + log("failed to fetch all data for term", term.hash); + throw new Error( + `Failed to fetch all data for term ${term.hash}, fetched ${totalFetchBytes} bytes out of ${fetchInfo.url_range.end - fetchInfo.url_range.start + 1}` + ); + } + log("done", done, "total read", totalBytesRead, maxBytes, totalFetchBytes); + log("cancel reader"); + await reader.cancel(); + } + } + const iterator = readData( + this.reconstructionInfo, + this.fetch, + this.end - this.start, + this.#loadReconstructionInfo.bind(this) + ); + return new ReadableStream( + { + // todo: when Safari supports it, type controller as ReadableByteStreamController + async pull(controller) { + const result = await iterator.next(); + if (result.value) { + controller.enqueue(result.value); + } + if (result.done) { + controller.close(); + } + }, + type: "bytes" + // todo: when Safari supports it, add autoAllocateChunkSize param + }, + // todo : use ByteLengthQueuingStrategy when there's good support for it, currently in Node.js it fails due to size being a function + { + highWaterMark: 1e3 + // 1_000 chunks for ~1MB of RAM + } + ); + } + async arrayBuffer() { + const result = await this.#fetch(); + return new Response(result).arrayBuffer(); + } + async text() { + const result = await this.#fetch(); + return new Response(result).text(); + } + async response() { + const result = await this.#fetch(); + return new Response(result); + } + stream() { + const stream = new TransformStream(); + this.#fetch().then((response) => response.pipeThrough(stream)).catch((error) => stream.writable.abort(error.message)); + return stream.readable; + } +}; +var jwtPromises = /* @__PURE__ */ new Map(); +var jwts = /* @__PURE__ */ new Map(); +function cacheKey(params) { + return JSON.stringify([params.refreshUrl, params.initialAccessToken]); +} +function bg4_regroup_bytes(bytes) { + const split = Math.floor(bytes.byteLength / 4); + const rem = bytes.byteLength % 4; + const g1_pos = split + (rem >= 1 ? 1 : 0); + const g2_pos = g1_pos + split + (rem >= 2 ? 1 : 0); + const g3_pos = g2_pos + split + (rem == 3 ? 1 : 0); + const ret = new Uint8Array(bytes.byteLength); + for (let i = 0, j = 0; i < bytes.byteLength; i += 4, j++) { + ret[i] = bytes[j]; + } + for (let i = 1, j = g1_pos; i < bytes.byteLength; i += 4, j++) { + ret[i] = bytes[j]; + } + for (let i = 2, j = g2_pos; i < bytes.byteLength; i += 4, j++) { + ret[i] = bytes[j]; + } + for (let i = 3, j = g3_pos; i < bytes.byteLength; i += 4, j++) { + ret[i] = bytes[j]; + } + return ret; +} +function bg4_split_bytes(bytes) { + const ret = new Uint8Array(bytes.byteLength); + const split = Math.floor(bytes.byteLength / 4); + const rem = bytes.byteLength % 4; + const g1_pos = split + (rem >= 1 ? 1 : 0); + const g2_pos = g1_pos + split + (rem >= 2 ? 1 : 0); + const g3_pos = g2_pos + split + (rem == 3 ? 1 : 0); + for (let i = 0, j = 0; i < bytes.byteLength; i += 4, j++) { + ret[j] = bytes[i]; + } + for (let i = 1, j = g1_pos; i < bytes.byteLength; i += 4, j++) { + ret[j] = bytes[i]; + } + for (let i = 2, j = g2_pos; i < bytes.byteLength; i += 4, j++) { + ret[j] = bytes[i]; + } + for (let i = 3, j = g3_pos; i < bytes.byteLength; i += 4, j++) { + ret[j] = bytes[i]; + } + return ret; +} +async function getAccessToken(initialAccessToken, customFetch, refreshUrl) { + const key = cacheKey({ refreshUrl, initialAccessToken }); + const jwt = jwts.get(key); + if (jwt && jwt.expiresAt > new Date(Date.now() + JWT_SAFETY_PERIOD)) { + return { accessToken: jwt.accessToken, casUrl: jwt.casUrl }; + } + const existingPromise = jwtPromises.get(key); + if (existingPromise) { + return existingPromise; + } + const promise = (async () => { + const resp = await customFetch(refreshUrl, { + headers: { + ...initialAccessToken ? { + Authorization: `Bearer ${initialAccessToken}` + } : {} + } + }); + if (!resp.ok) { + throw new Error(`Failed to get JWT token: ${resp.status} ${await resp.text()}`); + } + const json = await resp.json(); + const jwt2 = { + accessToken: json.accessToken, + expiresAt: new Date(json.exp * 1e3), + casUrl: json.casUrl + }; + jwtPromises.delete(key); + for (const [key2, value] of jwts.entries()) { + if (value.expiresAt < new Date(Date.now() + JWT_SAFETY_PERIOD)) { + jwts.delete(key2); + } else { + break; + } + } + if (jwts.size >= JWT_CACHE_SIZE) { + const keyToDelete = jwts.keys().next().value; + if (keyToDelete) { + jwts.delete(keyToDelete); + } + } + jwts.set(key, jwt2); + return { + accessToken: json.accessToken, + casUrl: json.casUrl + }; + })(); + jwtPromises.set(key, promise); + return promise; +} + +// src/utils/ChunkCache.ts +var CHUNK_CACHE_INITIAL_SIZE = 1e4; +var CHUNK_CACHE_GROW_FACTOR = 1.5; +var CHUNK_CACHE_MAX_SIZE = 1e6; +var ChunkCache = class { + index = 0; + // Index >= 0 means local xorb, < 0 means remote xorb + xorbIndices; + // Max 8K chunks per xorb, less than 64K uint16_t + chunkIndices; + map = /* @__PURE__ */ new Map(); + // hash -> chunkCacheIndex. Less overhead that way, empty object is 60+B and empty array is 40+B + hmacs = /* @__PURE__ */ new Set(); + // todo : remove old hmacs + maxSize; + constructor(maxSize = CHUNK_CACHE_MAX_SIZE) { + if (maxSize < 1) { + throw new Error("maxSize must be at least 1"); + } + this.maxSize = maxSize; + this.xorbIndices = new Int32Array(Math.min(CHUNK_CACHE_INITIAL_SIZE, maxSize)); + this.chunkIndices = new Uint16Array(Math.min(CHUNK_CACHE_INITIAL_SIZE, maxSize)); + } + addChunkToCache(hash2, xorbIndex, chunkIndex, hmac) { + if (this.map.has(hash2)) { + return; + } + if (this.map.values().next().value === this.index) { + this.map.delete(this.map.keys().next().value); + } + this.map.set(hash2, this.index); + if (hmac !== null) { + this.hmacs.add(hmac); + } + if (this.index >= this.xorbIndices.length) { + const oldXorbIndices = this.xorbIndices; + const oldChunkIndices = this.chunkIndices; + this.xorbIndices = new Int32Array(Math.min(this.xorbIndices.length * CHUNK_CACHE_GROW_FACTOR, this.maxSize)); + this.chunkIndices = new Uint16Array(Math.min(this.chunkIndices.length * CHUNK_CACHE_GROW_FACTOR, this.maxSize)); + this.xorbIndices.set(oldXorbIndices); + this.chunkIndices.set(oldChunkIndices); + } + this.xorbIndices[this.index] = xorbIndex; + this.chunkIndices[this.index] = chunkIndex; + this.index = (this.index + 1) % this.maxSize; + } + getChunk(hash2, hmacFunction) { + let index = this.map.get(hash2); + if (index === void 0 && hmacFunction !== null) { + for (const hmac of this.hmacs) { + index = this.map.get(hmacFunction(hash2, hmac)); + if (index !== void 0) { + break; + } + } + } + if (index === void 0) { + return void 0; + } + return { + xorbIndex: this.xorbIndices[index], + chunkIndex: this.chunkIndices[index] + }; + } + updateChunkIndex(hash2, chunkIndex) { + const index = this.map.get(hash2); + if (index === void 0) { + throw new Error(`Chunk not found in cache: ${hash2}`); + } + this.chunkIndices[index] = chunkIndex; + } + removeChunkFromCache(hash2) { + this.map.delete(hash2); + } +}; + +// src/utils/xetWriteToken.ts +var JWT_SAFETY_PERIOD2 = 6e4; +var JWT_CACHE_SIZE2 = 1e3; +var jwtPromises2 = /* @__PURE__ */ new Map(); +var jwts2 = /* @__PURE__ */ new Map(); +async function xetWriteToken(params) { + if (params.xetParams.expiresAt && params.xetParams.casUrl && params.xetParams.accessToken && params.xetParams.expiresAt > new Date(Date.now() + JWT_SAFETY_PERIOD2)) { + return { accessToken: params.xetParams.accessToken, casUrl: params.xetParams.casUrl }; + } + const key = params.xetParams.refreshWriteTokenUrl; + const jwt = jwts2.get(key); + if (jwt && jwt.expiresAt > new Date(Date.now() + JWT_SAFETY_PERIOD2)) { + return { accessToken: jwt.accessToken, casUrl: jwt.casUrl }; + } + const existingPromise = jwtPromises2.get(key); + if (existingPromise) { + return existingPromise; + } + const promise = (async () => { + const resp = await (params.fetch ?? fetch)(params.xetParams.refreshWriteTokenUrl, { + headers: { + ...params.accessToken ? { + Authorization: `Bearer ${params.accessToken}` + } : {}, + ...params.xetParams.sessionId ? { "X-Xet-Session-Id": params.xetParams.sessionId } : {} + } + }); + if (!resp.ok) { + throw await createApiError(resp); + } + const json = await resp.json(); + const jwt2 = { + accessToken: json.accessToken, + expiresAt: new Date(json.exp * 1e3), + casUrl: json.casUrl + }; + jwtPromises2.delete(key); + for (const [key2, value] of jwts2.entries()) { + if (value.expiresAt < new Date(Date.now() + JWT_SAFETY_PERIOD2)) { + jwts2.delete(key2); + } else { + break; + } + } + if (jwts2.size >= JWT_CACHE_SIZE2) { + const keyToDelete = jwts2.keys().next().value; + if (keyToDelete) { + jwts2.delete(keyToDelete); + } + } + jwts2.set(key, jwt2); + return { + accessToken: json.accessToken, + casUrl: json.casUrl + }; + })(); + jwtPromises2.set(key, promise); + return promise; +} + +// src/utils/shardParser.ts +var HASH_LENGTH = 32; +var XORB_HASH_BOOKEND = "ff".repeat(HASH_LENGTH); +function readHashFromArray(array, offset) { + let hash2 = ""; + for (let i = 0; i < HASH_LENGTH; i += 8) { + hash2 += `${array[offset + i + 7].toString(16).padStart(2, "0")}${array[offset + i + 6].toString(16).padStart(2, "0")}${array[offset + i + 5].toString(16).padStart(2, "0")}${array[offset + i + 4].toString(16).padStart(2, "0")}${array[offset + i + 3].toString(16).padStart(2, "0")}${array[offset + i + 2].toString(16).padStart(2, "0")}${array[offset + i + 1].toString(16).padStart(2, "0")}${array[offset + i].toString(16).padStart(2, "0")}`; + } + return hash2; +} +async function parseShardData(shardBlob) { + const shard = new Uint8Array(await shardBlob.arrayBuffer()); + const shardView = new DataView(shard.buffer); + const magicTag = shard.slice(0, SHARD_MAGIC_TAG.length); + if (!magicTag.every((byte, i) => byte === SHARD_MAGIC_TAG[i])) { + throw new Error("Invalid shard magic tag"); + } + const version = shardView.getBigUint64(SHARD_MAGIC_TAG.length, true); + if (version !== SHARD_HEADER_VERSION) { + throw new Error(`Invalid shard version: ${version}`); + } + const footerSize = Number(shardView.getBigUint64(SHARD_MAGIC_TAG.length + 8, true)); + const footerStart = shard.length - footerSize; + const footerVersion = shardView.getBigUint64(footerStart, true); + if (footerVersion !== SHARD_FOOTER_VERSION) { + throw new Error(`Invalid shard footer version: ${footerVersion}`); + } + const xorbInfoStart = Number(shardView.getBigUint64(footerStart + 16, true)); + const fileLookupStart = Number(shardView.getBigUint64(footerStart + 24, true)); + const hmacKey = readHashFromArray(shard, footerStart + 72); + const xorbs = []; + let offset = xorbInfoStart; + while (offset < fileLookupStart) { + const xorbHash = readHashFromArray(shard, offset); + offset += HASH_LENGTH; + if (xorbHash === XORB_HASH_BOOKEND) { + break; + } + offset += 4; + const chunkCount = shardView.getUint32(offset, true); + offset += 4; + offset += 4; + offset += 4; + const chunks = []; + for (let i = 0; i < chunkCount; i++) { + const chunkHash = readHashFromArray(shard, offset); + offset += HASH_LENGTH; + const startOffset = shardView.getUint32(offset, true); + offset += 4; + const length = shardView.getUint32(offset, true); + offset += 4; + offset += 8; + chunks.push({ + hash: chunkHash, + startOffset, + unpackedLength: length + }); + } + xorbs.push({ + hash: xorbHash, + chunks + }); + } + return { + hmacKey, + xorbs + }; +} + +// src/utils/sum.ts +function sum(arr) { + return arr.reduce((a, b) => a + b, 0); +} + +// src/utils/SplicedBlob.ts +var SplicedBlob = class extends Blob { + originalBlob; + spliceOperations; + constructor(originalBlob, spliceOperations) { + super(); + this.originalBlob = originalBlob; + this.spliceOperations = spliceOperations; + } + static create(originalBlob, operations) { + for (const op of operations) { + if (op.start < 0 || op.end < 0) { + throw new Error("Invalid start/end positions for SplicedBlob"); + } + if (op.start > originalBlob.size || op.end > originalBlob.size) { + throw new Error("Invalid start/end positions for SplicedBlob"); + } + if (op.start > op.end) { + throw new Error("Invalid start/end positions for SplicedBlob"); + } + } + const sortedOps = [...operations].sort((a, b) => a.start - b.start); + for (let i = 0; i < sortedOps.length - 1; i++) { + if (sortedOps[i].end > sortedOps[i + 1].start) { + throw new Error("Overlapping splice operations are not supported"); + } + } + return new SplicedBlob(originalBlob, sortedOps); + } + /** + * Returns the size of the spliced blob. + * Size = original size - total replaced size + total insert size + */ + get size() { + let totalReplacedSize = 0; + let totalInsertSize = 0; + for (const op of this.spliceOperations) { + totalReplacedSize += op.end - op.start; + totalInsertSize += op.insert.size; + } + return this.originalBlob.size - totalReplacedSize + totalInsertSize; + } + /** + * Returns the MIME type of the original blob. + */ + get type() { + return this.originalBlob.type; + } + /** + * Returns a new instance of SplicedBlob that is a slice of the current one. + * + * The slice is inclusive of the start and exclusive of the end. + * The slice method does not support negative start/end. + * + * @param start beginning of the slice + * @param end end of the slice + */ + slice(start = 0, end = this.size) { + if (start < 0 || end < 0) { + throw new TypeError("Unsupported negative start/end on SplicedBlob.slice"); + } + start = Math.min(start, this.size); + end = Math.min(end, this.size); + if (start >= end) { + return new Blob([]); + } + const segments = this.segments; + const segmentBoundaries = [0]; + let cumulativeSize = 0; + for (const segment of segments) { + cumulativeSize += segment.size; + segmentBoundaries.push(cumulativeSize); + } + const resultSegments = []; + for (let i = 0; i < segments.length; i++) { + const segmentStart = segmentBoundaries[i]; + const segmentEnd = segmentBoundaries[i + 1]; + if (segmentEnd <= start) { + continue; + } + if (segmentStart >= end) { + break; + } + const sliceStart = Math.max(0, start - segmentStart); + const sliceEnd = Math.min(segments[i].size, end - segmentStart); + if (sliceStart < sliceEnd) { + resultSegments.push(segments[i].slice(sliceStart, sliceEnd)); + } + } + return new Blob(resultSegments); + } + get firstSpliceIndex() { + return this.spliceOperations[0]?.start ?? Infinity; + } + /** + * Read the spliced blob content and returns it as an ArrayBuffer. + */ + async arrayBuffer() { + const segments = this.segments; + const buffers = await Promise.all(segments.map((segment) => segment.arrayBuffer())); + const totalSize = sum(buffers.map((buffer) => buffer.byteLength)); + const result = new Uint8Array(totalSize); + let offset = 0; + for (const buffer of buffers) { + result.set(new Uint8Array(buffer), offset); + offset += buffer.byteLength; + } + return result.buffer; + } + /** + * Read the spliced blob content and returns it as a string. + */ + async text() { + const buffer = await this.arrayBuffer(); + return new TextDecoder().decode(buffer); + } + /** + * Returns a stream around the spliced blob content. + */ + stream() { + const readable = new ReadableStream({ + start: async (controller) => { + try { + const segments = this.segments; + for (const segment of segments) { + const reader = segment.stream().getReader(); + try { + while (true) { + const { done, value } = await reader.read(); + if (done) { + break; + } + controller.enqueue(value); + } + } finally { + reader.releaseLock(); + } + } + controller.close(); + } catch (error) { + controller.error(error); + } + } + }); + return readable; + } + /** + * Get all segments that make up the spliced blob. + * This includes original blob segments between splice operations and insert blobs. + */ + get segments() { + const segments = []; + let currentPosition = 0; + const sortedOps = [...this.spliceOperations].sort((a, b) => a.start - b.start); + for (const op of sortedOps) { + if (currentPosition < op.start) { + segments.push(this.originalBlob.slice(currentPosition, op.start)); + } + if (op.insert.size > 0) { + segments.push(op.insert); + } + currentPosition = op.end; + } + if (currentPosition < this.originalBlob.size) { + segments.push(this.originalBlob.slice(currentPosition)); + } + return segments; + } +}; + +// src/utils/createXorbs.ts +var TARGET_CHUNK_SIZE = 64 * 1024; +var MAX_CHUNK_SIZE = 2 * TARGET_CHUNK_SIZE; +var XORB_SIZE = 64 * 1024 * 1024; +var MAX_XORB_CHUNKS = 8 * 1024; +var INTERVAL_BETWEEN_REMOTE_DEDUP = 4e6; +var PROCESSING_PROGRESS_RATIO = 0.1; +var UPLOADING_PROGRESS_RATIO = 1 - PROCESSING_PROGRESS_RATIO; +var CurrentXorbInfo = class { + id; + offset; + chunks; + fileProcessedBytes; + fileUploadedBytes; + fileSize; + data; + immutableData; + constructor() { + this.id = 0; + this.offset = 0; + this.chunks = []; + this.fileProcessedBytes = {}; + this.fileUploadedBytes = {}; + this.fileSize = {}; + this.data = new Uint8Array(XORB_SIZE); + this.immutableData = null; + } + event(computeXorbHash) { + const xorbChunksCleaned = this.chunks.map((chunk2) => ({ + hash: chunk2.hash, + length: chunk2.length + })); + return { + event: "xorb", + xorb: this.data.subarray(0, this.offset), + hash: computeXorbHash(xorbChunksCleaned), + chunks: xorbChunksCleaned, + id: this.id, + files: Object.entries(this.fileProcessedBytes).map(([path2, processedBytes]) => ({ + path: path2, + progress: processedBytes / this.fileSize[path2], + lastSentProgress: ((this.fileUploadedBytes[path2] ?? 0) + (processedBytes - (this.fileUploadedBytes[path2] ?? 0)) * PROCESSING_PROGRESS_RATIO) / this.fileSize[path2] + })) + }; + } +}; +async function* createXorbs(fileSources, params) { + const alreadyDoneFileSha256s = /* @__PURE__ */ new Set(); + const chunkModule = await Promise.resolve().then(() => (init_chunker_wasm(), chunker_wasm_exports)); + let xorbId = 0; + await chunkModule.init(); + const chunkCache = new ChunkCache(); + let xorb = new CurrentXorbInfo(); + const nextXorb = (currentFile) => { + const event = xorb.event(chunkModule.compute_xorb_hash.bind(chunkModule)); + xorbId++; + xorb = new CurrentXorbInfo(); + xorb.id = xorbId; + xorb.fileUploadedBytes = { + [currentFile.path]: currentFile.uploadedBytes + }; + xorb.fileSize[currentFile.path] = currentFile.size; + return event; + }; + const pendingFileEvents = []; + const remoteXorbHashes = [""]; + for await (const fileSource of fileSources) { + params.yieldCallback?.({ + event: "fileProgress", + path: fileSource.path, + progress: 0 + }); + if (fileSource.sha256 && alreadyDoneFileSha256s.has(fileSource.sha256)) { + params.yieldCallback?.({ + event: "fileProgress", + path: fileSource.path, + progress: 1 + }); + continue; + } + if (fileSource.sha256) { + alreadyDoneFileSha256s.add(fileSource.sha256); + } + const chunker = new chunkModule.Chunker(TARGET_CHUNK_SIZE); + try { + xorb.fileSize[fileSource.path] = fileSource.content.size; + if (fileSource.content instanceof SplicedBlob && fileSource.content.firstSpliceIndex < MAX_CHUNK_SIZE) { + await loadDedupInfoToCache( + fileSource.content.originalBlob.slice(0, MAX_CHUNK_SIZE), + remoteXorbHashes, + params, + chunkCache, + chunkModule, + { + maxChunks: 1, + isAtBeginning: true + } + ); + } + let bytesSinceRemoteDedup = Infinity; + let bytesSinceLastProgressEvent = 0; + let isFirstFileChunk = true; + const sourceChunks = []; + const reader = fileSource.content.stream().getReader(); + let processedBytes = 0; + let dedupedBytes = 0; + const fileChunks = []; + const chunkMetadata = []; + const addChunks = async function* (chunks) { + for (const chunk2 of chunks) { + if (isFirstFileChunk) { + chunk2.dedup = true; + isFirstFileChunk = false; + } + let chunkIndex = xorb.chunks.length; + let chunkXorbId = xorbId; + const chunkToCopy = removeChunkFromSourceData(sourceChunks, chunk2.length); + let cacheData = chunkCache.getChunk(chunk2.hash, chunkModule.compute_hmac); + if (cacheData === void 0 && chunk2.dedup && bytesSinceRemoteDedup >= INTERVAL_BETWEEN_REMOTE_DEDUP) { + const token = await xetWriteToken(params); + bytesSinceRemoteDedup = 0; + const shardResp = await (params.fetch ?? fetch)(token.casUrl + "/v1/chunks/default/" + chunk2.hash, { + headers: { + Authorization: `Bearer ${token.accessToken}` + } + }); + if (shardResp.ok) { + const shard = await shardResp.blob(); + const shardData = await parseShardData(shard); + for (const xorb2 of shardData.xorbs) { + const remoteXorbId = -remoteXorbHashes.length; + remoteXorbHashes.push(xorb2.hash); + let i = 0; + for (const chunk3 of xorb2.chunks) { + chunkCache.addChunkToCache(chunk3.hash, remoteXorbId, i++, shardData.hmacKey); + } + } + cacheData = chunkCache.getChunk(chunk2.hash, chunkModule.compute_hmac); + const oldDedupedBytes = dedupedBytes; + dedupedBytes = backtrackDedup( + xorb, + chunkModule.compute_hmac.bind(chunkModule), + shardData, + chunkCache, + chunkMetadata, + dedupedBytes + ); + if (dedupedBytes > oldDedupedBytes) { + xorb.fileUploadedBytes[fileSource.path] ??= 0; + xorb.fileUploadedBytes[fileSource.path] += dedupedBytes - oldDedupedBytes; + } + } + } + if (cacheData === void 0) { + if (!writeChunk(xorb, chunkToCopy, chunk2.hash)) { + yield nextXorb({ path: fileSource.path, uploadedBytes: processedBytes, size: fileSource.content.size }); + chunkIndex = 0; + chunkXorbId = xorbId; + for (const event of pendingFileEvents) { + event.representation = event.representation.map((rep) => ({ + ...rep, + xorbId: rep.xorbId >= 0 ? rep.xorbId : remoteXorbHashes[-rep.xorbId] + })); + yield event; + } + pendingFileEvents.length = 0; + if (!writeChunk(xorb, chunkToCopy, chunk2.hash)) { + throw new Error("Failed to write chunk into xorb"); + } + } + chunkCache.addChunkToCache(chunk2.hash, xorbId, chunkIndex, null); + } else { + chunkXorbId = cacheData.xorbIndex; + chunkIndex = cacheData.chunkIndex; + dedupedBytes += chunk2.length; + xorb.fileUploadedBytes[fileSource.path] ??= 0; + xorb.fileUploadedBytes[fileSource.path] += chunk2.length; + } + bytesSinceRemoteDedup += chunk2.length; + bytesSinceLastProgressEvent += chunk2.length; + fileChunks.push({ hash: chunk2.hash, length: chunk2.length }); + chunkMetadata.push({ + xorbId: chunkXorbId, + chunkIndex, + length: chunk2.length + }); + xorb.fileProcessedBytes[fileSource.path] = processedBytes; + if (bytesSinceLastProgressEvent >= 1e6) { + bytesSinceLastProgressEvent = 0; + params.yieldCallback?.({ + event: "fileProgress", + path: fileSource.path, + progress: ((xorb.fileUploadedBytes[fileSource.path] ?? 0) + (xorb.fileProcessedBytes[fileSource.path] - (xorb.fileUploadedBytes[fileSource.path] ?? 0)) * PROCESSING_PROGRESS_RATIO) / fileSource.content.size + }); + } + if (xorb.chunks.length >= MAX_XORB_CHUNKS) { + yield nextXorb({ path: fileSource.path, uploadedBytes: processedBytes, size: fileSource.content.size }); + for (const event of pendingFileEvents) { + event.representation = event.representation.map((rep) => ({ + ...rep, + xorbId: rep.xorbId >= 0 ? rep.xorbId : remoteXorbHashes[-rep.xorbId] + })); + yield event; + } + pendingFileEvents.length = 0; + } + } + }; + while (true) { + const { done, value } = await reader.read(); + if (done) { + yield* addChunks(chunker.finish()); + break; + } + processedBytes += value.length; + sourceChunks.push(value); + yield* addChunks(chunker.add_data(value)); + } + const fileRepresentation = buildFileRepresentation( + chunkMetadata, + fileChunks, + chunkModule.compute_verification_hash.bind(chunkModule) + ); + xorb.immutableData = { + chunkIndex: xorb.chunks.length, + offset: xorb.offset + }; + const dedupRatio = fileSource.content.size > 0 ? dedupedBytes / fileSource.content.size : 0; + pendingFileEvents.push({ + event: "file", + path: fileSource.path, + hash: chunkModule.compute_file_hash(fileChunks), + sha256: fileSource.sha256, + dedupRatio, + representation: fileRepresentation + }); + } finally { + chunker.free(); + } + } + if (xorb.offset > 0) { + yield xorb.event(chunkModule.compute_xorb_hash.bind(chunkModule)); + } + for (const event of pendingFileEvents) { + event.representation = event.representation.map((rep) => ({ + ...rep, + xorbId: rep.xorbId >= 0 ? rep.xorbId : remoteXorbHashes[-rep.xorbId] + })); + yield event; + } +} +function backtrackDedup(xorb, computeHmac, shardData, chunkCache, chunkMetadata, dedupedBytes) { + const chunkIndexesToBacktrackFor = /* @__PURE__ */ new Map(); + for (let chunkToRecheckIndex = xorb.immutableData?.chunkIndex ?? 0; chunkToRecheckIndex < xorb.chunks.length; chunkToRecheckIndex++) { + const chunk2 = xorb.chunks[chunkToRecheckIndex]; + const hmacHash = computeHmac(chunk2.hash, shardData.hmacKey); + const cacheData = chunkCache.getChunk(hmacHash, null); + if (cacheData !== void 0) { + chunkIndexesToBacktrackFor.set(chunkToRecheckIndex, { + xorbId: cacheData.xorbIndex, + chunkIndex: cacheData.chunkIndex + }); + chunkCache.removeChunkFromCache(chunk2.hash); + } + } + for (const metadata of chunkMetadata) { + if (metadata.xorbId === xorb.id && chunkIndexesToBacktrackFor.has(metadata.chunkIndex)) { + const backtrackData = chunkIndexesToBacktrackFor.get(metadata.chunkIndex); + if (backtrackData !== void 0) { + metadata.xorbId = backtrackData.xorbId; + metadata.chunkIndex = backtrackData.chunkIndex; + dedupedBytes += metadata.length; + } + } + } + const xorbRangesToErase = []; + for (let i = 0; i < xorb.chunks.length; i++) { + const chunk2 = xorb.chunks[i]; + if (chunkIndexesToBacktrackFor.has(i)) { + xorbRangesToErase.push({ + start: chunk2.offset, + end: i < xorb.chunks.length - 1 ? xorb.chunks[i + 1].offset : xorb.offset + }); + } + } + const xorbRangesToKeep = []; + let currentStart = 0; + for (let i = 0; i < xorbRangesToErase.length; i++) { + const range2 = xorbRangesToErase[i]; + if (currentStart !== range2.start) { + xorbRangesToKeep.push({ start: currentStart, end: range2.start }); + } + currentStart = range2.end; + } + if (currentStart !== xorb.offset) { + xorbRangesToKeep.push({ start: currentStart, end: xorb.offset }); + } + let currentOffset = 0; + for (const range2 of xorbRangesToKeep) { + if (range2.start !== currentOffset) { + xorb.data.set(xorb.data.subarray(range2.start, range2.end), currentOffset); + } + currentOffset += range2.end - range2.start; + } + const newXorbChunks = []; + const oldIndexToNewIndex = /* @__PURE__ */ new Map(); + let erasedOffset = 0; + for (let i = 0; i < xorb.chunks.length; i++) { + const chunk2 = xorb.chunks[i]; + if (chunkIndexesToBacktrackFor.has(i)) { + if (i < xorb.chunks.length - 1) { + erasedOffset += xorb.chunks[i + 1].offset - chunk2.offset; + } + } else { + newXorbChunks.push({ + hash: chunk2.hash, + length: chunk2.length, + offset: chunk2.offset - erasedOffset + }); + if (erasedOffset > 0) { + oldIndexToNewIndex.set(i, newXorbChunks.length - 1); + } + } + } + xorb.chunks = newXorbChunks; + xorb.offset = currentOffset; + for (const chunk2 of chunkMetadata) { + if (chunk2.xorbId === xorb.id) { + const newIndex = oldIndexToNewIndex.get(chunk2.chunkIndex); + if (newIndex !== void 0) { + const cached = chunkCache.getChunk(xorb.chunks[newIndex].hash, null); + if (cached !== void 0 && cached.xorbIndex === chunk2.xorbId && cached.chunkIndex === chunk2.chunkIndex) { + chunkCache.updateChunkIndex(xorb.chunks[newIndex].hash, newIndex); + } + chunk2.chunkIndex = newIndex; + } + } + } + return dedupedBytes; +} +function removeChunkFromSourceData(sourceChunks, chunkLength) { + if (chunkLength === sourceChunks[0].length) { + const chunkToCopy = sourceChunks[0]; + sourceChunks.shift(); + return chunkToCopy; + } else if (chunkLength < sourceChunks[0].length) { + const chunkToCopy = sourceChunks[0].subarray(0, chunkLength); + sourceChunks[0] = sourceChunks[0].subarray(chunkLength); + return chunkToCopy; + } else { + const chunkToCopy = new Uint8Array(chunkLength); + let copyOffset = 0; + let index = 0; + let toSlice = -1; + while (copyOffset < chunkLength) { + const nToCopy = Math.min(sourceChunks[index].length, chunkLength - copyOffset); + chunkToCopy.set(sourceChunks[index].subarray(0, nToCopy), copyOffset); + copyOffset += nToCopy; + if (nToCopy === sourceChunks[index].length) { + index++; + } else { + toSlice = nToCopy; + } + } + sourceChunks.splice(0, index); + if (toSlice !== -1) { + sourceChunks[0] = sourceChunks[0].subarray(toSlice); + } + return chunkToCopy; + } +} +function writeChunk(xorb, chunk2, hash2) { + const regularCompressedChunk = compress(chunk2); + const bgCompressedChunk = compress(bg4_split_bytes(chunk2)); + const compressedChunk = bgCompressedChunk.length < regularCompressedChunk.length ? bgCompressedChunk : regularCompressedChunk; + const chunkToWrite = compressedChunk.length < chunk2.length ? compressedChunk : chunk2; + if (xorb.offset + XET_CHUNK_HEADER_BYTES + chunkToWrite.length > XORB_SIZE) { + return false; + } + xorb.data[xorb.offset] = 0; + xorb.data[xorb.offset + 1] = chunkToWrite.length & 255; + xorb.data[xorb.offset + 2] = chunkToWrite.length >> 8 & 255; + xorb.data[xorb.offset + 3] = chunkToWrite.length >> 16 & 255; + xorb.data[xorb.offset + 4] = chunkToWrite.length < chunk2.length ? bgCompressedChunk.length < regularCompressedChunk.length ? 2 /* ByteGroupingLZ4 */ : 1 /* LZ4 */ : 0 /* None */; + xorb.data[xorb.offset + 5] = chunk2.length & 255; + xorb.data[xorb.offset + 6] = chunk2.length >> 8 & 255; + xorb.data[xorb.offset + 7] = chunk2.length >> 16 & 255; + xorb.data.set(chunkToWrite, xorb.offset + XET_CHUNK_HEADER_BYTES); + xorb.chunks.push({ hash: hash2, length: chunk2.length, offset: xorb.offset }); + xorb.offset += XET_CHUNK_HEADER_BYTES + chunkToWrite.length; + return true; +} +var buildFileRepresentation = (metadata, chunks, computeVerificationHash) => { + if (metadata.length === 0) { + return []; + } + const representation = []; + let currentRange = { + xorbId: metadata[0].xorbId, + indexStart: metadata[0].chunkIndex, + indexEnd: metadata[0].chunkIndex + 1, + length: metadata[0].length, + chunkHashStart: 0 + }; + for (let i = 1; i < metadata.length; i++) { + const chunk2 = metadata[i]; + if (currentRange.xorbId === chunk2.xorbId && currentRange.indexEnd === chunk2.chunkIndex) { + currentRange.indexEnd = chunk2.chunkIndex + 1; + currentRange.length += chunk2.length; + } else { + const rangeHash2 = computeVerificationHash(chunks.slice(currentRange.chunkHashStart, i).map((x) => x.hash)); + representation.push({ + xorbId: currentRange.xorbId, + indexStart: currentRange.indexStart, + indexEnd: currentRange.indexEnd, + length: currentRange.length, + rangeHash: rangeHash2 + }); + currentRange = { + xorbId: chunk2.xorbId, + indexStart: chunk2.chunkIndex, + indexEnd: chunk2.chunkIndex + 1, + length: chunk2.length, + chunkHashStart: i + }; + } + } + const rangeHash = computeVerificationHash(chunks.slice(currentRange.chunkHashStart).map((x) => x.hash)); + representation.push({ + xorbId: currentRange.xorbId, + indexStart: currentRange.indexStart, + indexEnd: currentRange.indexEnd, + length: currentRange.length, + rangeHash + }); + return representation; +}; +async function loadDedupInfoToCache(content, remoteXorbHashes, params, chunkCache, chunkModule, opts) { + const chunker = new chunkModule.Chunker(TARGET_CHUNK_SIZE); + const cache = chunkCache; + let dedupedBytes = 0; + let chunksProcessed = 0; + let totalBytes = 0; + let bytesSinceRemoteDedup = Infinity; + const sourceChunks = []; + try { + const reader = content.stream().getReader(); + const processChunks = async (chunkData) => { + for (const chunk2 of chunkData) { + chunksProcessed++; + if (opts?.isAtBeginning && chunksProcessed === 1) { + chunk2.dedup = true; + } + totalBytes += chunk2.length; + removeChunkFromSourceData(sourceChunks, chunk2.length); + let cacheData = cache.getChunk(chunk2.hash, chunkModule.compute_hmac); + if (cacheData !== void 0) { + dedupedBytes += chunk2.length; + bytesSinceRemoteDedup += chunk2.length; + continue; + } + if (chunk2.dedup && bytesSinceRemoteDedup >= INTERVAL_BETWEEN_REMOTE_DEDUP) { + const token = await xetWriteToken(params); + bytesSinceRemoteDedup = 0; + const shardResp = await (params.fetch ?? fetch)(token.casUrl + "/v1/chunks/default/" + chunk2.hash, { + headers: { + Authorization: `Bearer ${token.accessToken}` + } + }); + if (shardResp.ok) { + const shard = await shardResp.blob(); + const shardData = await parseShardData(shard); + for (const xorb of shardData.xorbs) { + const remoteXorbId = -remoteXorbHashes.length; + remoteXorbHashes.push(xorb.hash); + let i = 0; + for (const xorbChunk of xorb.chunks) { + cache.addChunkToCache(xorbChunk.hash, remoteXorbId, i++, shardData.hmacKey); + } + } + cacheData = cache.getChunk(chunk2.hash, chunkModule.compute_hmac); + } + } + if (cacheData !== void 0) { + dedupedBytes += chunk2.length; + } + bytesSinceRemoteDedup += chunk2.length; + } + }; + while (true) { + if (opts?.end !== void 0 && totalBytes >= opts.end) { + break; + } + if (opts?.maxChunks !== void 0 && chunksProcessed >= opts.maxChunks) { + break; + } + const { done, value } = await reader.read(); + if (done) { + await processChunks(chunker.finish()); + break; + } + sourceChunks.push(value); + await processChunks(chunker.add_data(value)); + } + } finally { + chunker.free(); + } +} + +// src/utils/uploadShards.ts +var SHARD_MAX_SIZE = 64 * 1024 * 1024; +var SHARD_HEADER_SIZE = 48; +var SHARD_FOOTER_SIZE = 200; +var HASH_LENGTH2 = 32; +var XORB_FOOTER_LENGTH = 48; +var FILE_FOOTER_LENGTH = 48; +var SHARD_HEADER_VERSION = 2n; +var SHARD_FOOTER_VERSION = 1n; +var MDB_FILE_FLAG_WITH_VERIFICATION = 2147483648; +var MDB_FILE_FLAG_WITH_METADATA_EXT = 1073741824; +var EMPTY_HEX_HASH = "0".repeat(HASH_LENGTH2 * 2); +var SHARD_MAGIC_TAG = new Uint8Array([ + "H".charCodeAt(0), + "F".charCodeAt(0), + "R".charCodeAt(0), + "e".charCodeAt(0), + "p".charCodeAt(0), + "o".charCodeAt(0), + "M".charCodeAt(0), + "e".charCodeAt(0), + "t".charCodeAt(0), + "a".charCodeAt(0), + "D".charCodeAt(0), + "a".charCodeAt(0), + "t".charCodeAt(0), + "a".charCodeAt(0), + 0, + 85, + 105, + 103, + 69, + 106, + 123, + 129, + 87, + 131, + 165, + 189, + 217, + 92, + 205, + 209, + 74, + 169 +]); +async function* uploadShards(source, params) { + const xorbHashes = []; + const fileInfoSection = new Uint8Array(Math.floor(SHARD_MAX_SIZE - SHARD_HEADER_SIZE - SHARD_FOOTER_SIZE) * 0.25); + const xorbInfoSection = new Uint8Array(Math.floor(SHARD_MAX_SIZE - SHARD_HEADER_SIZE - SHARD_FOOTER_SIZE) * 0.75); + const xorbView = new DataView(xorbInfoSection.buffer); + let xorbViewOffset = 0; + const fileInfoView = new DataView(fileInfoSection.buffer); + let fileViewOffset = 0; + let xorbTotalSize = 0n; + let fileTotalSize = 0n; + let xorbTotalUnpackedSize = 0n; + for await (const output of createXorbs(source, params)) { + switch (output.event) { + case "xorb": { + xorbHashes.push(output.hash); + const xorbEntrySize = HASH_LENGTH2 + 4 + 4 + 4 + 4; + const chunksSize = output.chunks.length * (HASH_LENGTH2 + 4 + 4 + 8); + const totalXorbSize = xorbEntrySize + chunksSize; + if (xorbViewOffset + totalXorbSize > xorbInfoSection.length) { + if (xorbViewOffset > 0 || fileViewOffset > 0) { + await uploadShard(createShard(), params); + } + } + writeHashToArray(output.hash, xorbInfoSection, xorbViewOffset); + xorbViewOffset += HASH_LENGTH2; + xorbView.setUint32(xorbViewOffset, 0, true); + xorbViewOffset += 4; + xorbView.setUint32(xorbViewOffset, output.chunks.length, true); + xorbViewOffset += 4; + const xorbUnpackedSize = sum(output.chunks.map((x) => x.length)); + xorbView.setUint32(xorbViewOffset, xorbUnpackedSize, true); + xorbTotalUnpackedSize += BigInt(xorbUnpackedSize); + xorbTotalSize += BigInt(output.xorb.byteLength); + xorbViewOffset += 4; + xorbView.setUint32(xorbViewOffset, output.xorb.byteLength, true); + xorbViewOffset += 4; + let chunkBytes = 0; + for (const chunk2 of output.chunks) { + writeHashToArray(chunk2.hash, xorbInfoSection, xorbViewOffset); + xorbViewOffset += HASH_LENGTH2; + xorbView.setUint32(xorbViewOffset, chunkBytes, true); + xorbViewOffset += 4; + xorbView.setUint32(xorbViewOffset, chunk2.length, true); + xorbViewOffset += 4; + xorbView.setBigUint64(xorbViewOffset, 0n, true); + xorbViewOffset += 8; + chunkBytes += chunk2.length; + } + for (const file of output.files) { + yield { + event: "fileProgress", + path: file.path, + progress: file.lastSentProgress + }; + } + await uploadXorb(output, params); + for (const file of output.files) { + yield { event: "fileProgress", path: file.path, progress: file.progress }; + } + break; + } + case "file": { + yield { + event: "file", + path: output.path, + xetHash: output.hash, + sha256: output.sha256, + dedupRatio: output.dedupRatio + }; + const fileHeaderSize = HASH_LENGTH2 + 4 + 4 + 8; + const representationSize = output.representation.length * (HASH_LENGTH2 + 4 + 4 + 4 + 4); + const verificationSize = output.representation.length * (HASH_LENGTH2 + 16); + const metadataSize = HASH_LENGTH2 + 16; + const totalFileSize = fileHeaderSize + representationSize + verificationSize + metadataSize; + if (fileViewOffset + totalFileSize > fileInfoSection.length) { + if (xorbViewOffset > 0 || fileViewOffset > 0) { + await uploadShard(createShard(), params); + } + } + writeHashToArray(output.hash, fileInfoSection, fileViewOffset); + fileViewOffset += HASH_LENGTH2; + fileInfoView.setUint32(fileViewOffset, MDB_FILE_FLAG_WITH_METADATA_EXT + MDB_FILE_FLAG_WITH_VERIFICATION, true); + fileViewOffset += 4; + fileInfoView.setUint32(fileViewOffset, output.representation.length, true); + fileViewOffset += 4; + fileInfoView.setBigUint64(fileViewOffset, 0n, true); + fileViewOffset += 8; + for (const repItem of output.representation) { + writeHashToArray( + typeof repItem.xorbId === "number" ? xorbHashes[repItem.xorbId] : repItem.xorbId, + fileInfoSection, + fileViewOffset + ); + fileViewOffset += HASH_LENGTH2; + fileInfoView.setUint32(fileViewOffset, 0, true); + fileViewOffset += 4; + fileInfoView.setUint32(fileViewOffset, repItem.length, true); + fileViewOffset += 4; + fileInfoView.setUint32(fileViewOffset, repItem.indexStart, true); + fileViewOffset += 4; + fileInfoView.setUint32(fileViewOffset, repItem.indexEnd, true); + fileViewOffset += 4; + } + for (const repItem of output.representation) { + writeHashToArray(repItem.rangeHash, fileInfoSection, fileViewOffset); + fileViewOffset += HASH_LENGTH2; + for (let i = 0; i < 16; i++) { + fileInfoSection[fileViewOffset + i] = 0; + } + fileViewOffset += 16; + } + writeHashToArray(output.sha256 ?? EMPTY_HEX_HASH, fileInfoSection, fileViewOffset); + fileViewOffset += HASH_LENGTH2; + for (let i = 0; i < 16; i++) { + fileInfoSection[fileViewOffset + i] = 0; + } + fileViewOffset += 16; + break; + } + } + } + function createShard() { + const shard = new Uint8Array( + SHARD_HEADER_SIZE + SHARD_FOOTER_SIZE + xorbViewOffset + XORB_FOOTER_LENGTH + fileViewOffset + FILE_FOOTER_LENGTH + ); + const shardView = new DataView(shard.buffer); + let shardOffset = 0; + shard.set(SHARD_MAGIC_TAG, shardOffset); + shardOffset += SHARD_MAGIC_TAG.length; + shardView.setBigUint64(shardOffset, SHARD_HEADER_VERSION, true); + shardOffset += 8; + shardView.setBigUint64(shardOffset, BigInt(SHARD_FOOTER_SIZE), true); + shardOffset += 8; + shard.set(fileInfoSection.slice(0, fileViewOffset), shardOffset); + shardOffset += fileViewOffset; + for (let i = 0; i < 32; i++) { + shard[shardOffset + i] = 255; + } + shardOffset += 32; + for (let i = 0; i < 16; i++) { + shard[shardOffset + i] = 0; + } + shardOffset += 16; + const xorbInfoOffset = shardOffset; + shard.set(xorbInfoSection.slice(0, xorbViewOffset), shardOffset); + shardOffset += xorbViewOffset; + for (let i = 0; i < 32; i++) { + shard[shardOffset + i] = 255; + } + shardOffset += 32; + for (let i = 0; i < 16; i++) { + shard[shardOffset + i] = 0; + } + shardOffset += 16; + const footerOffset = shardOffset; + shardView.setBigUint64(shardOffset, SHARD_FOOTER_VERSION, true); + shardOffset += 8; + shardView.setBigUint64(shardOffset, BigInt(SHARD_HEADER_SIZE), true); + shardOffset += 8; + shardView.setBigUint64(shardOffset, BigInt(xorbInfoOffset), true); + shardOffset += 8; + for (let i = 0; i < 48; i++) { + shardView.setUint8(shardOffset + i, 0); + } + shardOffset += 48; + for (let i = 0; i < 32; i++) { + shardView.setUint8(shardOffset + i, 0); + } + shardOffset += 32; + shardView.setBigUint64(shardOffset, BigInt(Math.floor(Date.now() / 1e3)), true); + shardOffset += 8; + shardView.setBigUint64(shardOffset, 0n, true); + shardOffset += 8; + for (let i = 0; i < 48; i++) { + shardView.setUint8(shardOffset + i, 0); + } + shardOffset += 48; + shardView.setBigUint64(shardOffset, xorbTotalSize, true); + shardOffset += 8; + shardView.setBigUint64(shardOffset, fileTotalSize, true); + shardOffset += 8; + shardView.setBigUint64(shardOffset, xorbTotalUnpackedSize, true); + shardOffset += 8; + shardView.setBigUint64(shardOffset, BigInt(footerOffset), true); + xorbViewOffset = 0; + fileViewOffset = 0; + xorbTotalSize = 0n; + xorbTotalUnpackedSize = 0n; + fileTotalSize = 0n; + return shard; + } + if (xorbViewOffset || fileViewOffset) { + await uploadShard(createShard(), params); + } +} +function writeHashToArray(hash2, array, offset) { + for (let i = 0; i < hash2.length; i += 16) { + array[offset + i / 2] = parseInt(hash2.substring(i + 2 * 7, i + 2 * 8), 16); + array[offset + i / 2 + 1] = parseInt(hash2.substring(i + 2 * 6, i + 2 * 7), 16); + array[offset + i / 2 + 2] = parseInt(hash2.substring(i + 2 * 5, i + 2 * 6), 16); + array[offset + i / 2 + 3] = parseInt(hash2.substring(i + 2 * 4, i + 2 * 5), 16); + array[offset + i / 2 + 4] = parseInt(hash2.substring(i + 2 * 3, i + 2 * 4), 16); + array[offset + i / 2 + 5] = parseInt(hash2.substring(i + 2 * 2, i + 2 * 3), 16); + array[offset + i / 2 + 6] = parseInt(hash2.substring(i + 2 * 1, i + 2 * 2), 16); + array[offset + i / 2 + 7] = parseInt(hash2.substring(i + 2 * 0, i + 2 * 1), 16); + } +} +async function uploadXorb(xorb, params) { + const token = await xetWriteToken(params); + const resp = await (params.fetch ?? fetch)(`${token.casUrl}/v1/xorbs/default/${xorb.hash}`, { + method: "POST", + body: xorb.xorb, + headers: { + Authorization: `Bearer ${token.accessToken}`, + ...params.xetParams.sessionId ? { "X-Xet-Session-Id": params.xetParams.sessionId } : {} + }, + ...{ + progressHint: { + progressCallback: (progress) => { + for (const file of xorb.files) { + params.yieldCallback?.({ + event: "fileProgress", + path: file.path, + progress: file.lastSentProgress + (file.progress - file.lastSentProgress) * progress + }); + } + } + } + } + }); + if (!resp.ok) { + throw await createApiError(resp); + } +} +async function uploadShard(shard, params) { + const token = await xetWriteToken(params); + const resp = await (params.fetch ?? fetch)(`${token.casUrl}/v1/shards`, { + method: "POST", + body: shard, + headers: { + Authorization: `Bearer ${token.accessToken}`, + ...params.xetParams.sessionId ? { "X-Xet-Session-Id": params.xetParams.sessionId } : {} + } + }); + if (!resp.ok) { + throw await createApiError(resp); + } +} + +// src/utils/splitAsyncGenerator.ts +function splitAsyncGenerator(source, n) { + if (n <= 0) { + return []; + } + const sleep = (ms) => new Promise((resolve3) => setTimeout(resolve3, ms)); + let takenIndex = null; + const generators = []; + let remaining = n; + for (let i = 0; i < n; i++) { + generators.push({ + next: async () => { + while (takenIndex !== null) { + await sleep(1); + } + takenIndex = i; + return source.next().then((r) => { + takenIndex = null; + return r; + }); + }, + return: async () => { + remaining--; + if (remaining === 0) { + return source.return(void 0); + } + return { + done: true, + value: void 0 + }; + }, + throw: async (error) => { + return source.throw(error); + }, + [Symbol.asyncIterator]: () => generators[i] + }); + } + return generators; +} + +// src/lib/commit.ts +var CONCURRENT_SHAS = 5; +var CONCURRENT_LFS_UPLOADS = 5; +var MULTIPART_PARALLEL_UPLOAD = 5; +function isFileOperation(op) { + const ret = op.operation === "addOrUpdate"; + if (ret && !(op.content instanceof Blob)) { + throw new TypeError("Precondition failed: op.content should be a Blob"); + } + return ret; +} +async function* commitIter(params) { + const accessToken = checkCredentials(params); + const repoId = toRepoId(params.repo); + if (repoId.type === "bucket") { + return yield* commitIterBucket(params); + } + yield { event: "phase", phase: "preuploading" }; + let useXet = params.useXet ?? true; + const lfsShas = /* @__PURE__ */ new Map(); + const abortController = new AbortController(); + const abortSignal = abortController.signal; + if (!abortSignal.throwIfAborted) { + abortSignal.throwIfAborted = () => { + if (abortSignal.aborted) { + throw new DOMException("Aborted", "AbortError"); + } + }; + } + if (params.abortSignal) { + params.abortSignal.addEventListener("abort", () => abortController.abort()); + } + try { + const allOperations = (await Promise.all( + params.operations.map(async (operation) => { + if (operation.operation === "edit") { + const splicedBlob = SplicedBlob.create( + operation.originalContent, + operation.edits.map((splice) => ({ insert: splice.content, start: splice.start, end: splice.end })) + ); + return { + operation: "addOrUpdate", + path: operation.path, + content: splicedBlob + }; + } + if (operation.operation !== "addOrUpdate") { + return operation; + } + if (!(operation.content instanceof URL)) { + return { ...operation, content: operation.content }; + } + const lazyBlobs = await createBlobs(operation.content, operation.path, { + fetch: params.fetch, + maxFolderDepth: params.maxFolderDepth + }); + abortSignal?.throwIfAborted(); + return lazyBlobs.map((blob) => ({ + ...operation, + content: blob.blob, + path: blob.path + })); + }) + )).flat(1); + const gitAttributes = allOperations.filter(isFileOperation).find((op) => op.path === ".gitattributes")?.content; + for (const operations of chunk(allOperations.filter(isFileOperation), 100)) { + const payload = { + gitAttributes: gitAttributes && await gitAttributes.text(), + files: await Promise.all( + operations.map(async (operation) => ({ + path: operation.path, + size: operation.content.size, + sample: base64FromBytes(new Uint8Array(await operation.content.slice(0, 512).arrayBuffer())) + })) + ) + }; + abortSignal?.throwIfAborted(); + const res = await (params.fetch ?? fetch)( + `${params.hubUrl ?? HUB_URL}/api/${repoId.type}s/${repoId.name}/preupload/${encodeURIComponent( + params.branch ?? "main" + )}` + (params.isPullRequest ? "?create_pr=1" : ""), + { + method: "POST", + headers: { + ...accessToken && { Authorization: `Bearer ${accessToken}` }, + "Content-Type": "application/json" + }, + body: JSON.stringify(payload), + signal: abortSignal + } + ); + if (!res.ok) { + throw await createApiError(res); + } + const json = await res.json(); + for (const file of json.files) { + if (file.uploadMode === "lfs") { + lfsShas.set(file.path, null); + } + } + } + yield { event: "phase", phase: "uploadingLargeFiles" }; + for (const operations of chunk( + allOperations.filter(isFileOperation).filter((op) => lfsShas.has(op.path)), + 100 + )) { + const shas = yield* eventToGenerator((yieldCallback, returnCallback, rejectCallack) => { + return promisesQueue( + operations.map((op) => async () => { + const iterator = sha256(op.content, { useWebWorker: params.useWebWorkers, abortSignal }); + let res2; + do { + res2 = await iterator.next(); + if (!res2.done) { + yieldCallback({ event: "fileProgress", path: op.path, progress: res2.value, state: "hashing" }); + } + } while (!res2.done); + const sha = res2.value; + lfsShas.set(op.path, res2.value); + return sha; + }), + CONCURRENT_SHAS + ).then(returnCallback, rejectCallack); + }); + abortSignal?.throwIfAborted(); + const payload = { + operation: "upload", + // multipart is a custom protocol for HF + transfers: ["basic", "multipart", ...useXet ? ["xet"] : []], + hash_algo: "sha_256", + ...!params.isPullRequest && { + ref: { + name: params.branch ?? "main" + } + }, + objects: operations.map((op, i) => ({ + oid: shas[i], + size: op.content.size + })) + }; + const res = await (params.fetch ?? fetch)( + `${params.hubUrl ?? HUB_URL}/${repoId.type === "model" ? "" : repoId.type + "s/"}${repoId.name}.git/info/lfs/objects/batch`, + { + method: "POST", + headers: { + ...accessToken && { Authorization: `Bearer ${accessToken}` }, + Accept: "application/vnd.git-lfs+json", + "Content-Type": "application/vnd.git-lfs+json" + }, + body: JSON.stringify(payload), + signal: abortSignal + } + ); + if (!res.ok) { + throw await createApiError(res); + } + const json = await res.json(); + const batchRequestId = res.headers.get("X-Request-Id") || void 0; + const shaToOperation = new Map(operations.map((op, i) => [shas[i], op])); + if (useXet && json.transfer !== "xet") { + useXet = false; + } + let xetParams = null; + if (useXet) { + for (const obj of json.objects) { + const op = shaToOperation.get(obj.oid); + if (!op) { + throw new InvalidApiResponseFormatError("Unrequested object ID in response"); + } + if (obj.error) { + const errorMessage = `Error while doing LFS batch call for ${operations[shas.indexOf(obj.oid)].path}: ${obj.error.message}${batchRequestId ? ` - Request ID: ${batchRequestId}` : ""}`; + throw new HubApiError(res.url, obj.error.code, batchRequestId, errorMessage); + } + if (!obj.actions?.upload) { + yield { + event: "fileProgress", + path: op.path, + progress: 1, + state: "uploading" + }; + } else { + const headers = new Headers(obj.actions.upload.header); + xetParams = { + sessionId: headers.get("X-Xet-Session-Id") ?? void 0, + casUrl: headers.get("X-Xet-Cas-Url") ?? void 0, + accessToken: headers.get("X-Xet-Access-Token") ?? void 0, + expiresAt: headers.get("X-Xet-Token-Expiration") ? new Date(parseInt(headers.get("X-Xet-Token-Expiration") ?? "0") * 1e3) : void 0, + refreshWriteTokenUrl: obj.actions.upload.href + }; + } + } + const source = async function* () { + for (const obj of json.objects) { + const op = shaToOperation.get(obj.oid); + if (!op || !obj.actions?.upload) { + continue; + } + abortSignal?.throwIfAborted(); + yield { content: op.content, path: op.path, sha256: obj.oid }; + } + }(); + if (xetParams) { + const fixedXetParams = xetParams; + const sources = splitAsyncGenerator(source, 5); + yield* eventToGenerator( + (yieldCallback, returnCallback, rejectCallback) => Promise.all( + sources.map(async function(source2) { + for await (const event of uploadShards(source2, { + fetch: params.fetch, + accessToken, + hubUrl: params.hubUrl ?? HUB_URL, + repo: repoId, + xetParams: fixedXetParams, + // todo: maybe leave empty if PR? + rev: params.branch ?? "main", + isPullRequest: params.isPullRequest, + yieldCallback: (event2) => yieldCallback({ ...event2, state: "uploading" }) + })) { + if (event.event === "file") { + yieldCallback({ + event: "fileProgress", + path: event.path, + progress: 1, + state: "uploading" + }); + } else if (event.event === "fileProgress") { + yieldCallback({ + event: "fileProgress", + path: event.path, + progress: event.progress, + state: "uploading" + }); + } + } + }) + ).then(() => returnCallback(void 0), rejectCallback) + ); + } else { + } + } else { + yield* eventToGenerator((yieldCallback, returnCallback, rejectCallback) => { + return promisesQueueStreaming( + json.objects.map((obj) => async () => { + const op = shaToOperation.get(obj.oid); + if (!op) { + throw new InvalidApiResponseFormatError("Unrequested object ID in response"); + } + abortSignal?.throwIfAborted(); + if (obj.error) { + const errorMessage = `Error while doing LFS batch call for ${operations[shas.indexOf(obj.oid)].path}: ${obj.error.message}${batchRequestId ? ` - Request ID: ${batchRequestId}` : ""}`; + throw new HubApiError(res.url, obj.error.code, batchRequestId, errorMessage); + } + if (!obj.actions?.upload) { + yieldCallback({ + event: "fileProgress", + path: op.path, + progress: 1, + state: "uploading" + }); + return; + } + yieldCallback({ + event: "fileProgress", + path: op.path, + progress: 0, + state: "uploading" + }); + const content = op.content; + const header = obj.actions.upload.header; + if (header?.chunk_size) { + const chunkSize = parseInt(header.chunk_size); + const completionUrl = obj.actions.upload.href; + const parts = Object.keys(header).filter((key) => /^[0-9]+$/.test(key)); + if (parts.length !== Math.ceil(content.size / chunkSize)) { + throw new Error("Invalid server response to upload large LFS file, wrong number of parts"); + } + const completeReq = { + oid: obj.oid, + parts: parts.map((part) => ({ + partNumber: +part, + etag: "" + })) + }; + const progressCallback = (progress) => yieldCallback({ event: "fileProgress", path: op.path, progress, state: "uploading" }); + await promisesQueueStreaming( + parts.map((part) => async () => { + abortSignal?.throwIfAborted(); + const index = parseInt(part) - 1; + const slice = content.slice(index * chunkSize, (index + 1) * chunkSize); + const res3 = await (params.fetch ?? fetch)(header[part], { + method: "PUT", + /** Unfortunately, browsers don't support our inherited version of Blob in fetch calls */ + body: slice instanceof WebBlob && isFrontend ? await slice.arrayBuffer() : slice, + signal: abortSignal, + ...{ + progressHint: { + path: op.path, + part: index, + numParts: parts.length, + progressCallback + } + // eslint-disable-next-line @typescript-eslint/no-explicit-any + } + }); + if (!res3.ok) { + throw await createApiError(res3, { + requestId: batchRequestId, + message: `Error while uploading part ${part} of ${operations[shas.indexOf(obj.oid)].path} to LFS storage` + }); + } + const eTag = res3.headers.get("ETag"); + if (!eTag) { + throw new Error("Cannot get ETag of part during multipart upload"); + } + completeReq.parts[Number(part) - 1].etag = eTag; + }), + MULTIPART_PARALLEL_UPLOAD + ); + abortSignal?.throwIfAborted(); + const res2 = await (params.fetch ?? fetch)(completionUrl, { + method: "POST", + body: JSON.stringify(completeReq), + headers: { + Accept: "application/vnd.git-lfs+json", + "Content-Type": "application/vnd.git-lfs+json" + }, + signal: abortSignal + }); + if (!res2.ok) { + throw await createApiError(res2, { + requestId: batchRequestId, + message: `Error completing multipart upload of ${operations[shas.indexOf(obj.oid)].path} to LFS storage` + }); + } + yieldCallback({ + event: "fileProgress", + path: op.path, + progress: 1, + state: "uploading" + }); + } else { + const res2 = await (params.fetch ?? fetch)(obj.actions.upload.href, { + method: "PUT", + headers: { + ...batchRequestId ? { "X-Request-Id": batchRequestId } : void 0 + }, + /** Unfortunately, browsers don't support our inherited version of Blob in fetch calls */ + body: content instanceof WebBlob && isFrontend ? await content.arrayBuffer() : content, + signal: abortSignal, + ...{ + progressHint: { + path: op.path, + progressCallback: (progress) => yieldCallback({ + event: "fileProgress", + path: op.path, + progress, + state: "uploading" + }) + } + // eslint-disable-next-line @typescript-eslint/no-explicit-any + } + }); + if (!res2.ok) { + throw await createApiError(res2, { + requestId: batchRequestId, + message: `Error while uploading ${operations[shas.indexOf(obj.oid)].path} to LFS storage` + }); + } + yieldCallback({ + event: "fileProgress", + path: op.path, + progress: 1, + state: "uploading" + }); + } + }), + CONCURRENT_LFS_UPLOADS + ).then(returnCallback, rejectCallback); + }); + } + } + abortSignal?.throwIfAborted(); + yield { event: "phase", phase: "committing" }; + return yield* eventToGenerator( + async (yieldCallback, returnCallback, rejectCallback) => (params.fetch ?? fetch)( + `${params.hubUrl ?? HUB_URL}/api/${repoId.type}s/${repoId.name}/commit/${encodeURIComponent( + params.branch ?? "main" + )}` + (params.isPullRequest ? "?create_pr=1" : ""), + { + method: "POST", + headers: { + ...accessToken && { Authorization: `Bearer ${accessToken}` }, + "Content-Type": "application/x-ndjson" + }, + body: [ + { + key: "header", + value: { + summary: params.title, + description: params.description, + parentCommit: params.parentCommit + } + }, + ...await Promise.all( + allOperations.map((operation) => { + if (isFileOperation(operation)) { + const sha = lfsShas.get(operation.path); + if (sha) { + return { + key: "lfsFile", + value: { + path: operation.path, + algo: "sha256", + size: operation.content.size, + oid: sha + } + }; + } + } + return convertOperationToNdJson(operation); + }) + ) + ].map((x) => JSON.stringify(x)).join("\n"), + signal: abortSignal, + ...{ + progressHint: { + progressCallback: (progress) => { + for (const op of allOperations) { + if (isFileOperation(op) && !lfsShas.has(op.path)) { + yieldCallback({ + event: "fileProgress", + path: op.path, + progress, + state: "uploading" + }); + } + } + } + } + // eslint-disable-next-line @typescript-eslint/no-explicit-any + } + } + ).then(async (res) => { + if (!res.ok) { + throw await createApiError(res); + } + const json = await res.json(); + returnCallback({ + pullRequestUrl: json.pullRequestUrl, + commit: { + oid: json.commitOid, + url: json.commitUrl + }, + hookOutput: json.hookOutput + }); + }).catch(rejectCallback) + ); + } catch (err) { + abortController.abort(); + throw err; + } +} +async function* commitIterBucket(params) { + const accessToken = checkCredentials(params); + const repoId = toRepoId(params.repo); + if (params.useXet === false) { + throw new Error("useXet must be true or undefined for buckets"); + } + const abortController = new AbortController(); + const abortSignal = abortController.signal; + if (!abortSignal.throwIfAborted) { + abortSignal.throwIfAborted = () => { + if (abortSignal.aborted) { + throw new DOMException("Aborted", "AbortError"); + } + }; + } + if (params.abortSignal) { + params.abortSignal.addEventListener("abort", () => abortController.abort()); + } + try { + const allOperations = (await Promise.all( + params.operations.map(async (operation) => { + if (operation.operation === "edit") { + const splicedBlob = SplicedBlob.create( + operation.originalContent, + operation.edits.map((splice) => ({ insert: splice.content, start: splice.start, end: splice.end })) + ); + return { + operation: "addOrUpdate", + path: operation.path, + content: splicedBlob + }; + } + if (operation.operation !== "addOrUpdate") { + return operation; + } + if (!(operation.content instanceof URL)) { + return { ...operation, content: operation.content }; + } + const lazyBlobs = await createBlobs(operation.content, operation.path, { + fetch: params.fetch, + maxFolderDepth: params.maxFolderDepth + }); + abortSignal?.throwIfAborted(); + return lazyBlobs.map((blob) => ({ + ...operation, + content: blob.blob, + path: blob.path + })); + }) + )).flat(1); + yield { event: "phase", phase: "uploadingLargeFiles" }; + for (const operations of chunk(allOperations.filter(isFileOperation), 100)) { + const xetHashes = /* @__PURE__ */ new Map(); + abortSignal?.throwIfAborted(); + const source = async function* () { + for (const operation of operations) { + abortSignal?.throwIfAborted(); + yield { content: operation.content, path: operation.path }; + } + }(); + const xetParams = { + sessionId: crypto.randomUUID(), + refreshWriteTokenUrl: `${params.hubUrl ?? HUB_URL}/api/${repoId.type}s/${repoId.name}/xet-write-token` + }; + const sources = splitAsyncGenerator(source, 5); + yield* eventToGenerator( + (yieldCallback, returnCallback, rejectCallback) => Promise.all( + sources.map(async function(source2) { + for await (const event of uploadShards(source2, { + fetch: params.fetch, + accessToken, + hubUrl: params.hubUrl ?? HUB_URL, + repo: repoId, + xetParams, + rev: params.branch ?? "main", + yieldCallback: (event2) => yieldCallback({ ...event2, state: "uploading" }) + })) { + if (event.event === "file") { + yieldCallback({ + event: "fileProgress", + path: event.path, + progress: 1, + state: "uploading" + }); + xetHashes.set(event.path, event.xetHash); + } else if (event.event === "fileProgress") { + yieldCallback({ + event: "fileProgress", + path: event.path, + progress: event.progress, + state: "uploading" + }); + } + } + }) + ).then(() => returnCallback(void 0), rejectCallback) + ); + const resp = await (params.fetch ?? fetch)( + `${params.hubUrl ?? HUB_URL}/api/${repoId.type}s/${repoId.name}/batch`, + { + method: "POST", + headers: { + ...accessToken && { Authorization: `Bearer ${accessToken}` }, + "Content-Type": "application/x-ndjson" + }, + body: [...xetHashes.entries()].map( + ([path2, xetHash]) => JSON.stringify({ + type: "addFile", + path: path2, + xetHash + }) + ).join("\n"), + signal: abortSignal + } + ); + if (!resp.ok && resp.status !== 422) { + throw await createApiError(resp); + } + const json = await resp.json(); + for (const failed of json.failed) { + yield { + event: "fileProgress", + path: failed.path, + progress: 0, + state: "error" + }; + } + } + abortSignal?.throwIfAborted(); + const deletedOperations = allOperations.filter((operation) => operation.operation === "delete"); + if (deletedOperations.length > 0) { + const resp = await (params.fetch ?? fetch)( + `${params.hubUrl ?? HUB_URL}/api/${repoId.type}s/${repoId.name}/batch`, + { + method: "POST", + headers: { + ...accessToken && { Authorization: `Bearer ${accessToken}` }, + "Content-Type": "application/x-ndjson" + }, + body: deletedOperations.map( + (operation) => JSON.stringify({ + type: "deleteFile", + path: operation.path + }) + ).join("\n"), + signal: abortSignal + } + ); + if (!resp.ok) { + throw await createApiError(resp); + } + const json = await resp.json(); + if (json.failed.length > 0) { + const failedPaths = json.failed.slice(0, 5).map((f) => f.path); + throw new Error( + `Failed to delete ${json.failed.length} file(s): ${failedPaths.join(", ")}${json.failed.length > 5 ? "..." : ""}, request ID: ${resp.headers.get("X-Request-Id")}` + ); + } + } + abortSignal?.throwIfAborted(); + } catch (err) { + abortController.abort(); + throw err; + } +} +async function commit(params) { + const iterator = commitIter(params); + const failedPaths = []; + let failedCount = 0; + let res = await iterator.next(); + while (!res.done) { + if (res.value.event === "fileProgress" && res.value.state === "error") { + failedCount++; + if (failedPaths.length < 5) { + failedPaths.push(res.value.path); + } + } + res = await iterator.next(); + } + if (failedCount > 0) { + throw new Error( + `Failed to upload ${failedCount} file(s): ${failedPaths.join(", ")}${failedCount > 5 ? "..." : ""}` + ); + } + return res.value; +} +async function convertOperationToNdJson(operation) { + switch (operation.operation) { + case "addOrUpdate": { + return { + key: "file", + value: { + content: base64FromBytes(new Uint8Array(await operation.content.arrayBuffer())), + path: operation.path, + encoding: "base64" + } + }; + } + case "delete": { + return { + key: "deletedFile", + value: { + path: operation.path + } + }; + } + case "edit": { + throw new Error( + "Edit operations should be converted to addOrUpdate operations before reaching convertOperationToNdJson" + ); + } + default: + throw new TypeError("Unknown operation: " + operation.operation); + } +} + +// src/lib/count-commits.ts +async function countCommits(params) { + const accessToken = checkCredentials(params); + const repoId = toRepoId(params.repo); + const url = `${params.hubUrl ?? HUB_URL}/api/${repoId.type}s/${repoId.name}/commits/${params.revision ?? "main"}?limit=1`; + const res = await (params.fetch ?? fetch)(url, { + headers: accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + }); + if (!res.ok) { + throw await createApiError(res); + } + return parseInt(res.headers.get("x-total-count") ?? "0", 10); +} + +// src/lib/create-repo.ts +async function createRepo(params) { + const accessToken = checkCredentials(params); + const repoId = toRepoId(params.repo); + const [namespace, repoName] = repoId.name.split("/"); + if (!namespace || !repoName) { + throw new TypeError( + `"${repoId.name}" is not a fully qualified repo name. It should be of the form "{namespace}/{repoName}".` + ); + } + const res = repoId.type === "bucket" ? await (params.fetch ?? fetch)(`${params.hubUrl ?? HUB_URL}/api/buckets/${namespace}/${repoName}`, { + method: "POST", + body: JSON.stringify({ + private: params.private, + resourceGroupId: params.resourceGroupId + }), + headers: { + Authorization: `Bearer ${accessToken}`, + "Content-Type": "application/json" + } + }) : await (params.fetch ?? fetch)(`${params.hubUrl ?? HUB_URL}/api/repos/create`, { + method: "POST", + body: JSON.stringify({ + name: repoName, + private: params.private, + organization: namespace, + resourceGroupId: params.resourceGroupId, + license: params.license, + ...repoId.type === "space" ? { + type: "space", + sdk: params.sdk ?? "static" + } : { + type: repoId.type + }, + files: params.files ? await Promise.all( + params.files.map(async (file) => ({ + encoding: "base64", + path: file.path, + content: base64FromBytes( + new Uint8Array(file.content instanceof Blob ? await file.content.arrayBuffer() : file.content) + ) + })) + ) : void 0 + }), + headers: { + Authorization: `Bearer ${accessToken}`, + "Content-Type": "application/json" + } + }); + if (!res.ok) { + throw await createApiError(res); + } + const output = await res.json(); + return { repoUrl: output.url, id: output.id }; +} + +// src/lib/create-branch.ts +async function createBranch(params) { + const repoId = toRepoId(params.repo); + const res = await (params.fetch ?? fetch)( + `${params.hubUrl ?? HUB_URL}/api/${repoId.type}s/${repoId.name}/branch/${encodeURIComponent(params.branch)}`, + { + method: "POST", + headers: { + "Content-Type": "application/json", + ...params.accessToken && { + Authorization: `Bearer ${params.accessToken}` + } + }, + body: JSON.stringify({ + startingPoint: params.revision, + ...params.empty && { emptyBranch: true }, + overwrite: params.overwrite + }) + } + ); + if (!res.ok) { + throw await createApiError(res); + } +} + +// src/lib/create-collection.ts +async function createCollection(params) { + const accessToken = checkCredentials(params); + const res = await (params.fetch ?? fetch)(`${params.hubUrl ?? HUB_URL}/api/collections`, { + method: "POST", + body: JSON.stringify(params.collection), + headers: { + Authorization: `Bearer ${accessToken}`, + "Content-Type": "application/json" + } + }); + if (!res.ok) { + throw await createApiError(res); + } + const output = await res.json(); + return { slug: output.slug }; +} + +// src/utils/pick.ts +function pick(o, props) { + return Object.assign( + {}, + ...props.map((prop) => { + if (o[prop] !== void 0) { + return { [prop]: o[prop] }; + } + }) + ); +} + +// src/utils/parseLinkHeader.ts +function parseLinkHeader(header) { + const regex = /<(https?:[/][/][^>]+)>;\s+rel="([^"]+)"/g; + return Object.fromEntries([...header.matchAll(regex)].map(([, url, rel]) => [rel, url])); +} + +// src/lib/list-datasets.ts +var DATASET_EXPAND_KEYS = [ + "private", + "downloads", + "gated", + "likes", + "lastModified" +]; +var DATASET_EXPANDABLE_KEYS = [ + "author", + "cardData", + "citation", + "createdAt", + "disabled", + "description", + "downloads", + "downloadsAllTime", + "gated", + "gitalyUid", + "lastModified", + "likes", + "paperswithcode_id", + "private", + // "siblings", + "sha", + "tags" +]; +async function* listDatasets(params) { + const accessToken = params && checkCredentials(params); + let totalToFetch = params?.limit ?? Infinity; + const search = new URLSearchParams([ + ...Object.entries({ + limit: String(Math.min(totalToFetch, 500)), + ...params?.search?.owner ? { author: params.search.owner } : void 0, + ...params?.search?.query ? { search: params.search.query } : void 0, + ...params?.sort ? { sort: params.sort } : void 0 + }), + ...params?.search?.tags?.map((tag) => ["filter", tag]) ?? [], + ...DATASET_EXPAND_KEYS.map((val) => ["expand", val]), + ...params?.additionalFields?.map((val) => ["expand", val]) ?? [] + ]).toString(); + let url = `${params?.hubUrl || HUB_URL}/api/datasets` + (search ? "?" + search : ""); + while (url) { + const res = await (params?.fetch ?? fetch)(url, { + headers: { + accept: "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : void 0 + } + }); + if (!res.ok) { + throw await createApiError(res); + } + const items = await res.json(); + for (const item of items) { + yield { + ...params?.additionalFields && pick(item, params.additionalFields), + id: item._id, + name: item.id, + private: item.private, + downloads: item.downloads, + likes: item.likes, + gated: item.gated, + updatedAt: new Date(item.lastModified) + }; + totalToFetch--; + if (totalToFetch <= 0) { + return; + } + } + const linkHeader = res.headers.get("Link"); + url = linkHeader ? parseLinkHeader(linkHeader).next : void 0; + } +} + +// src/lib/dataset-info.ts +async function datasetInfo(params) { + const accessToken = params && checkCredentials(params); + const search = new URLSearchParams([ + ...DATASET_EXPAND_KEYS.map((val) => ["expand", val]), + ...params?.additionalFields?.map((val) => ["expand", val]) ?? [] + ]).toString(); + const response = await (params.fetch || fetch)( + `${params?.hubUrl || HUB_URL}/api/datasets/${params.name}/revision/${encodeURIComponent( + params.revision ?? "HEAD" + )}?${search.toString()}`, + { + headers: { + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } + const data = await response.json(); + return { + ...params?.additionalFields && pick(data, params.additionalFields), + id: data._id, + name: data.id, + private: data.private, + downloads: data.downloads, + likes: data.likes, + gated: data.gated, + updatedAt: new Date(data.lastModified) + }; +} + +// src/lib/delete-branch.ts +async function deleteBranch(params) { + const repoId = toRepoId(params.repo); + const res = await (params.fetch ?? fetch)( + `${params.hubUrl ?? HUB_URL}/api/${repoId.type}s/${repoId.name}/branch/${encodeURIComponent(params.branch)}`, + { + method: "DELETE", + headers: { + ...params.accessToken && { + Authorization: `Bearer ${params.accessToken}` + } + } + } + ); + if (!res.ok) { + throw await createApiError(res); + } +} + +// src/lib/delete-file.ts +function deleteFile(params) { + return commit({ + ...params.accessToken ? { accessToken: params.accessToken } : { credentials: params.credentials }, + repo: params.repo, + operations: [ + { + operation: "delete", + path: params.path + } + ], + title: params.commitTitle ?? `Delete ${params.path}`, + description: params.commitDescription, + hubUrl: params.hubUrl, + branch: params.branch, + isPullRequest: params.isPullRequest, + parentCommit: params.parentCommit, + fetch: params.fetch + }); +} + +// src/lib/delete-files.ts +function deleteFiles(params) { + return commit({ + ...params.accessToken ? { accessToken: params.accessToken } : { credentials: params.credentials }, + repo: params.repo, + operations: params.paths.map((path2) => ({ + operation: "delete", + path: path2 + })), + title: params.commitTitle ?? `Deletes ${params.paths.length} files`, + description: params.commitDescription, + hubUrl: params.hubUrl, + branch: params.branch, + isPullRequest: params.isPullRequest, + parentCommit: params.parentCommit, + fetch: params.fetch + }); +} + +// src/lib/delete-repo.ts +async function deleteRepo(params) { + const accessToken = checkCredentials(params); + const repoId = toRepoId(params.repo); + const [namespace, repoName] = repoId.name.split("/"); + const res = repoId.type === "bucket" ? await (params.fetch ?? fetch)(`${params.hubUrl ?? HUB_URL}/api/buckets/${namespace}/${repoName}`, { + method: "DELETE", + headers: { + Authorization: `Bearer ${accessToken}`, + "Content-Type": "application/json" + } + }) : await (params.fetch ?? fetch)(`${params.hubUrl ?? HUB_URL}/api/repos/delete`, { + method: "DELETE", + body: JSON.stringify({ + name: repoName, + organization: namespace, + type: repoId.type + }), + headers: { + Authorization: `Bearer ${accessToken}`, + "Content-Type": "application/json" + } + }); + if (!res.ok) { + throw await createApiError(res); + } +} + +// src/lib/delete-collection.ts +async function deleteCollection(params) { + if (!params.slug) { + throw new TypeError("slug is required"); + } + const accessToken = checkCredentials(params); + const res = await (params.fetch ?? fetch)(`${params.hubUrl ?? HUB_URL}/api/collections/${params.slug}`, { + method: "DELETE", + headers: { + Authorization: `Bearer ${accessToken}`, + "Content-Type": "application/json" + } + }); + if (!res.ok) { + throw await createApiError(res); + } +} + +// src/lib/file-download-info.ts +async function fileDownloadInfo(params) { + const accessToken = checkCredentials(params); + const repoId = toRepoId(params.repo); + const hubUrl = params.hubUrl ?? HUB_URL; + const url = `${hubUrl}/${repoId.type === "model" ? "" : `${repoId.type}s/`}${repoId.name}/${params.raw ? "raw" : "resolve"}/${encodeURIComponent(params.revision ?? "main")}/${params.path}` + (params.noContentDisposition ? "?noContentDisposition=1" : ""); + const resp = await (params.fetch ?? fetch)(url, { + method: "GET", + headers: { + ...accessToken && { + Authorization: `Bearer ${accessToken}` + }, + Range: "bytes=0-0", + Accept: "application/vnd.xet-fileinfo+json, */*" + } + }); + if (resp.status === 404 && resp.headers.get("X-Error-Code") === "EntryNotFound") { + return null; + } + if (!resp.ok) { + throw await createApiError(resp); + } + let size; + let xetInfo; + if (resp.headers.get("Content-Type")?.includes("application/vnd.xet-fileinfo+json")) { + size = parseInt(resp.headers.get("X-Linked-Size") ?? "invalid"); + if (isNaN(size)) { + throw new InvalidApiResponseFormatError("Invalid file size received in X-Linked-Size header"); + } + const hash2 = resp.headers.get("X-Xet-Hash"); + const links = parseLinkHeader(resp.headers.get("Link") ?? ""); + const reconstructionUrl = (() => { + try { + return new URL(links["xet-reconstruction-info"]); + } catch { + return null; + } + })(); + const refreshUrl = (() => { + try { + return new URL(links["xet-auth"]); + } catch { + return null; + } + })(); + if (!hash2) { + throw new InvalidApiResponseFormatError("No hash received in X-Xet-Hash header"); + } + if (!reconstructionUrl || !refreshUrl) { + throw new InvalidApiResponseFormatError("No xet-reconstruction-info or xet-auth link header"); + } + xetInfo = { + hash: hash2, + refreshUrl, + reconstructionUrl + }; + } + if (size === void 0 || isNaN(size)) { + const contentRangeHeader = resp.headers.get("content-range"); + if (!contentRangeHeader) { + throw new InvalidApiResponseFormatError("Expected size information"); + } + const [, parsedSize] = contentRangeHeader.split("/"); + size = parseInt(parsedSize); + if (isNaN(size)) { + throw new InvalidApiResponseFormatError("Invalid file size received"); + } + } + const etag = resp.headers.get("X-Linked-ETag") ?? resp.headers.get("ETag") ?? void 0; + if (!etag) { + throw new InvalidApiResponseFormatError("Expected ETag"); + } + return { + etag, + size, + xet: xetInfo, + // Cannot use resp.url in case it's a S3 url and the user adds an Authorization header to it. + url: resp.url && (new URL(resp.url).origin === new URL(hubUrl).origin || resp.headers.get("X-Cache")?.endsWith(" cloudfront")) ? resp.url : url + }; +} + +// src/lib/download-file.ts +async function downloadFile(params) { + const accessToken = checkCredentials(params); + const info = params.downloadInfo ?? await fileDownloadInfo({ + accessToken, + repo: params.repo, + path: params.path, + revision: params.revision, + hubUrl: params.hubUrl, + fetch: params.fetch, + raw: params.raw + }); + if (!info) { + return null; + } + if (info.xet && params.xet !== false) { + return new XetBlob({ + refreshUrl: info.xet.refreshUrl.href, + reconstructionUrl: info.xet.reconstructionUrl.href, + fetch: params.fetch, + accessToken, + size: info.size, + readToken: typeof params.xet === "object" ? params.xet.readToken : void 0 + }); + } + return new WebBlob(new URL(info.url), 0, info.size, "", true, params.fetch ?? fetch, accessToken); +} + +// src/lib/download-file-to-cache-dir.ts +var import_node_path2 = require("path"); +var import_promises4 = require("fs/promises"); + +// src/lib/paths-info.ts +async function pathsInfo(params) { + const accessToken = checkCredentials(params); + const repoId = toRepoId(params.repo); + const hubUrl = params.hubUrl ?? HUB_URL; + const url = `${hubUrl}/api/${repoId.type}s/${repoId.name}/paths-info/${encodeURIComponent( + params.revision ?? "main" + )}`; + const resp = await (params.fetch ?? fetch)(url, { + method: "POST", + headers: { + ...accessToken && { + Authorization: `Bearer ${accessToken}` + }, + Accept: "application/json", + "Content-Type": "application/json" + }, + body: JSON.stringify({ + paths: params.paths, + expand: params.expand + }) + }); + if (!resp.ok) { + throw await createApiError(resp); + } + const json = await resp.json(); + if (!Array.isArray(json)) + throw new Error("malformed response: expected array"); + return json.map((item) => ({ + path: item.path, + lfs: item.lfs, + type: item.type, + oid: item.oid, + size: item.size, + // expand fields + securityFileStatus: item.securityFileStatus, + lastCommit: item.lastCommit ? { + date: new Date(item.lastCommit.date), + title: item.lastCommit.title, + id: item.lastCommit.id + } : void 0 + })); +} + +// src/utils/symlink.ts +var fs = __toESM(require("fs/promises")); +var path = __toESM(require("path")); +var os = __toESM(require("os")); +function expandUser(path2) { + if (path2.startsWith("~")) { + return path2.replace("~", os.homedir()); + } + return path2; +} +async function createSymlink(params) { + const abs_src = path.resolve(expandUser(params.sourcePath)); + const abs_dst = path.resolve(expandUser(params.finalPath)); + try { + await fs.rm(abs_dst); + } catch { + } + try { + await fs.symlink(path.relative(path.dirname(abs_dst), abs_src), abs_dst); + } catch { + console.info(`Symlink not supported. Copying file from ${abs_src} to ${abs_dst}`); + await fs.copyFile(abs_src, abs_dst); + } +} + +// src/lib/download-file-to-cache-dir.ts +var import_node_stream3 = require("stream"); +var import_promises5 = require("stream/promises"); +var import_node_fs2 = require("fs"); +var REGEX_COMMIT_HASH = new RegExp("^[0-9a-f]{40}$"); +function getFilePointer(storageFolder, revision, relativeFilename) { + const snapshotPath = (0, import_node_path2.join)(storageFolder, "snapshots"); + return (0, import_node_path2.join)(snapshotPath, revision, relativeFilename); +} +async function exists(path2, followSymlinks) { + try { + if (followSymlinks) { + await (0, import_promises4.stat)(path2); + } else { + await (0, import_promises4.lstat)(path2); + } + return true; + } catch (err) { + return false; + } +} +async function downloadFileToCacheDir(params) { + const revision = params.revision ?? "main"; + const cacheDir = params.cacheDir ?? getHFHubCachePath(); + const repoId = toRepoId(params.repo); + const storageFolder = (0, import_node_path2.join)(cacheDir, getRepoFolderName(repoId)); + let commitHash; + if (REGEX_COMMIT_HASH.test(revision)) { + commitHash = revision; + const pointerPath2 = getFilePointer(storageFolder, revision, params.path); + if (await exists(pointerPath2, true)) + return pointerPath2; + } + const pathsInformation = await pathsInfo({ + ...params, + paths: [params.path], + revision, + expand: true + }); + if (!pathsInformation || pathsInformation.length !== 1) + throw new Error(`cannot get path info for ${params.path}`); + let etag; + if (pathsInformation[0].lfs) { + etag = pathsInformation[0].lfs.oid; + } else { + etag = pathsInformation[0].oid; + } + const pointerPath = getFilePointer(storageFolder, commitHash ?? pathsInformation[0].lastCommit.id, params.path); + const blobPath = (0, import_node_path2.join)(storageFolder, "blobs", etag); + if (await exists(pointerPath, true)) + return pointerPath; + await (0, import_promises4.mkdir)((0, import_node_path2.dirname)(blobPath), { recursive: true }); + await (0, import_promises4.mkdir)((0, import_node_path2.dirname)(pointerPath), { recursive: true }); + if (await exists(blobPath)) { + await createSymlink({ sourcePath: blobPath, finalPath: pointerPath }); + return pointerPath; + } + const incomplete = `${blobPath}.incomplete`; + console.debug(`Downloading ${params.path} to ${incomplete}`); + const blob = await downloadFile({ + ...params, + revision: commitHash + }); + if (!blob) { + throw new Error(`invalid response for file ${params.path}`); + } + await (0, import_promises5.pipeline)(import_node_stream3.Readable.fromWeb(blob.stream()), (0, import_node_fs2.createWriteStream)(incomplete)); + await (0, import_promises4.rename)(incomplete, blobPath); + await createSymlink({ sourcePath: blobPath, finalPath: pointerPath }); + return pointerPath; +} + +// src/lib/file-exists.ts +async function fileExists(params) { + const accessToken = checkCredentials(params); + const repoId = toRepoId(params.repo); + const hubUrl = params.hubUrl ?? HUB_URL; + const url = `${hubUrl}/${repoId.type === "model" ? "" : `${repoId.type}s/`}${repoId.name}/raw/${encodeURIComponent( + params.revision ?? "main" + )}/${params.path}`; + const resp = await (params.fetch ?? fetch)(url, { + method: "HEAD", + headers: accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + }); + if (resp.status === 404) { + return false; + } + if (!resp.ok) { + throw await createApiError(resp); + } + return true; +} + +// src/lib/jobs/cancel-job.ts +async function cancelJob(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/jobs/${params.namespace}/${params.jobId}/cancel`, + { + method: "POST", + headers: { + "Content-Type": "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } + return await response.json(); +} + +// src/lib/jobs/create-scheduled-job.ts +async function createScheduledJob(params) { + const accessToken = checkCredentials(params); + const { namespace, hubUrl, fetch: customFetch, ...rest } = params; + if (!rest.jobSpec.dockerImage && !rest.jobSpec.spaceId) { + throw new Error("Either dockerImage or spaceId must be provided in jobSpec"); + } + if (rest.jobSpec.dockerImage && rest.jobSpec.spaceId) { + throw new Error("Cannot provide both dockerImage and spaceId in jobSpec"); + } + const body = { + jobSpec: { + flavor: rest.jobSpec.flavor + }, + schedule: rest.schedule, + suspend: rest.suspend ?? false, + concurrency: rest.concurrency ?? false + }; + if (rest.jobSpec.dockerImage) { + body.jobSpec.dockerImage = rest.jobSpec.dockerImage; + } + if (rest.jobSpec.spaceId) { + body.jobSpec.spaceId = rest.jobSpec.spaceId; + } + if (rest.jobSpec.command) { + body.jobSpec.command = rest.jobSpec.command; + } + body.jobSpec.environment = rest.jobSpec.environment || {}; + if (rest.jobSpec.secrets) { + body.jobSpec.secrets = rest.jobSpec.secrets; + } + if (rest.jobSpec.arch) { + body.jobSpec.arch = rest.jobSpec.arch; + } + if (rest.jobSpec.timeoutSeconds !== void 0) { + body.jobSpec.timeoutSeconds = rest.jobSpec.timeoutSeconds; + } + if (rest.jobSpec.attempts !== void 0) { + body.jobSpec.attempts = rest.jobSpec.attempts; + } + if (rest.jobSpec.labels) { + body.jobSpec.labels = rest.jobSpec.labels; + } + const response = await (customFetch || fetch)(`${hubUrl || HUB_URL}/api/scheduled-jobs/${namespace}`, { + method: "POST", + headers: { + "Content-Type": "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + }, + body: JSON.stringify(body) + }); + if (!response.ok) { + throw await createApiError(response); + } + return await response.json(); +} + +// src/lib/jobs/delete-scheduled-job.ts +async function deleteScheduledJob(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/scheduled-jobs/${params.namespace}/${params.jobId}`, + { + method: "DELETE", + headers: { + "Content-Type": "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } +} + +// src/lib/jobs/duplicate-job.ts +async function duplicateJob(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/jobs/${params.namespace}/${params.jobId}/duplicate`, + { + method: "POST", + headers: { + "Content-Type": "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } + return await response.json(); +} + +// src/lib/jobs/get-job.ts +async function getJob(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/jobs/${params.namespace}/${params.jobId}`, + { + headers: { + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } + return await response.json(); +} + +// src/lib/jobs/get-scheduled-job.ts +async function getScheduledJob(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/scheduled-jobs/${params.namespace}/${params.jobId}`, + { + headers: { + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } + return await response.json(); +} + +// src/lib/jobs/list-job-hardware.ts +async function listJobHardware(params) { + const accessToken = checkCredentials(params ?? {}); + const headers = {}; + if (accessToken) { + headers.Authorization = `Bearer ${accessToken}`; + } + const response = await (params?.fetch || fetch)(`${params?.hubUrl || HUB_URL}/api/jobs/hardware`, { + headers + }); + if (!response.ok) { + throw await createApiError(response); + } + return await response.json(); +} + +// src/lib/jobs/list-jobs.ts +async function listJobs(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)(`${params.hubUrl || HUB_URL}/api/jobs/${params.namespace}`, { + headers: { + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + }); + if (!response.ok) { + throw await createApiError(response); + } + return await response.json(); +} + +// src/lib/jobs/list-scheduled-jobs.ts +async function listScheduledJobs(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)(`${params.hubUrl || HUB_URL}/api/scheduled-jobs/${params.namespace}`, { + headers: { + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + }); + if (!response.ok) { + throw await createApiError(response); + } + return await response.json(); +} + +// src/lib/jobs/resume-scheduled-job.ts +async function resumeScheduledJob(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/scheduled-jobs/${params.namespace}/${params.jobId}/resume`, + { + method: "POST", + headers: { + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } +} + +// src/lib/jobs/run-job.ts +async function runJob(params) { + const accessToken = checkCredentials(params); + if (!params.dockerImage && !params.spaceId) { + throw new Error("Either dockerImage or spaceId must be provided"); + } + if (params.dockerImage && params.spaceId) { + throw new Error("Cannot provide both dockerImage and spaceId"); + } + const body = { + flavor: params.flavor, + environment: params.environment || {} + }; + if (params.dockerImage) { + body.dockerImage = params.dockerImage; + } + if (params.spaceId) { + body.spaceId = params.spaceId; + } + if (params.command) { + body.command = params.command; + } + if (params.arguments) { + body.arguments = params.arguments; + } + if (params.secrets) { + body.secrets = params.secrets; + } + if (params.arch) { + body.arch = params.arch; + } + if (params.timeoutSeconds !== void 0) { + body.timeoutSeconds = params.timeoutSeconds; + } + if (params.attempts !== void 0) { + body.attempts = params.attempts; + } + if (params.labels) { + body.labels = params.labels; + } + const response = await (params.fetch || fetch)(`${params.hubUrl || HUB_URL}/api/jobs/${params.namespace}`, { + method: "POST", + headers: { + "Content-Type": "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + }, + body: JSON.stringify(body) + }); + if (!response.ok) { + throw await createApiError(response); + } + return await response.json(); +} + +// src/lib/jobs/run-scheduled-job.ts +async function runScheduledJob(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/scheduled-jobs/${params.namespace}/${params.jobId}/run`, + { + method: "POST", + headers: { + "Content-Type": "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + if (response.status === 409) { + return null; + } + throw await createApiError(response); + } + return await response.json(); +} + +// src/lib/jobs/stream-job-events.ts +async function* streamJobEvents(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/jobs/${params.namespace}/${params.jobId}/events`, + { + headers: { + Accept: "text/event-stream", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } + if (!response.body) { + return; + } + const reader = response.body.getReader(); + const decoder = new TextDecoder(); + let buffer = ""; + try { + while (true) { + const { done, value } = await reader.read(); + if (done) + break; + buffer += decoder.decode(value, { stream: true }); + const lines = buffer.split("\n"); + buffer = lines.pop() || ""; + for (const line of lines) { + if (line.startsWith("data: ")) { + yield line.slice(6); + } + } + } + if (buffer) { + const lines = buffer.split("\n"); + for (const line of lines) { + if (line.startsWith("data: ")) { + yield line.slice(6); + } + } + } + } finally { + reader.releaseLock(); + } +} + +// src/lib/jobs/stream-job-logs.ts +async function* streamJobLogs(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/jobs/${params.namespace}/${params.jobId}/logs`, + { + headers: { + Accept: "text/event-stream", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } + if (!response.body) { + return; + } + const reader = response.body.getReader(); + const decoder = new TextDecoder(); + let buffer = ""; + try { + while (true) { + const { done, value } = await reader.read(); + if (done) + break; + buffer += decoder.decode(value, { stream: true }); + const lines = buffer.split("\n"); + buffer = lines.pop() || ""; + for (const line of lines) { + if (line.startsWith("data: ")) { + try { + const data = JSON.parse(line.slice(6)); + yield { message: data.data, timestamp: new Date(data.timestamp) }; + } catch { + yield { message: line.slice(6), timestamp: /* @__PURE__ */ new Date() }; + } + } + } + } + if (buffer) { + const lines = buffer.split("\n"); + for (const line of lines) { + if (line.startsWith("data: ")) { + try { + const data = JSON.parse(line.slice(6)); + yield { message: data.data, timestamp: new Date(data.timestamp) }; + } catch { + yield { message: line.slice(6), timestamp: /* @__PURE__ */ new Date() }; + } + } + } + } + } finally { + reader.releaseLock(); + } +} + +// src/lib/jobs/stream-job-metrics.ts +async function* streamJobMetrics(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/jobs/${params.namespace}/${params.jobId}/metrics`, + { + headers: { + Accept: "text/event-stream", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } + if (!response.body) { + return; + } + const reader = response.body.getReader(); + const decoder = new TextDecoder(); + let buffer = ""; + try { + while (true) { + const { done, value } = await reader.read(); + if (done) + break; + buffer += decoder.decode(value, { stream: true }); + const lines = buffer.split("\n"); + buffer = lines.pop() || ""; + for (const line of lines) { + if (line.startsWith("data: ")) { + yield line.slice(6); + } + } + } + if (buffer) { + const lines = buffer.split("\n"); + for (const line of lines) { + if (line.startsWith("data: ")) { + yield line.slice(6); + } + } + } + } finally { + reader.releaseLock(); + } +} + +// src/lib/jobs/suspend-scheduled-job.ts +async function suspendScheduledJob(params) { + const accessToken = checkCredentials(params); + const response = await (params.fetch || fetch)( + `${params.hubUrl || HUB_URL}/api/scheduled-jobs/${params.namespace}/${params.jobId}/suspend`, + { + method: "POST", + headers: { + "Content-Type": "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } +} + +// src/lib/list-commits.ts +async function* listCommits(params) { + const accessToken = checkCredentials(params); + const repoId = toRepoId(params.repo); + let url = `${params.hubUrl ?? HUB_URL}/api/${repoId.type}s/${repoId.name}/commits/${params.revision ?? "main"}?limit=${params.batchSize ?? 100}`; + while (url) { + const res = await (params.fetch ?? fetch)(url, { + headers: accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + }); + if (!res.ok) { + throw await createApiError(res); + } + const resJson = await res.json(); + for (const commit2 of resJson) { + yield { + oid: commit2.id, + title: commit2.title, + message: commit2.message, + authors: commit2.authors.map((author) => ({ + username: author.user, + avatarUrl: author.avatar + })), + date: new Date(commit2.date) + }; + } + const linkHeader = res.headers.get("Link"); + url = linkHeader ? parseLinkHeader(linkHeader).next : void 0; + } +} + +// src/lib/list-files.ts +async function* listFiles(params) { + const accessToken = checkCredentials(params); + const repoId = toRepoId(params.repo); + let url = `${params.hubUrl || HUB_URL}/api/${repoId.type}s/${repoId.name}/tree/${params.revision || "main"}${params.path ? "/" + params.path : ""}?recursive=${!!params.recursive}&expand=${!!params.expand}`; + while (url) { + const res = await (params.fetch ?? fetch)(url, { + headers: { + accept: "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : void 0 + } + }); + if (!res.ok) { + throw await createApiError(res); + } + const items = await res.json(); + for (const item of items) { + yield item; + } + const linkHeader = res.headers.get("Link"); + url = linkHeader ? parseLinkHeader(linkHeader).next : void 0; + } +} + +// src/utils/normalizeInferenceProviderMapping.ts +function normalizeInferenceProviderMapping(hfModelId, inferenceProviderMapping) { + if (!inferenceProviderMapping) { + return []; + } + if (Array.isArray(inferenceProviderMapping)) { + return inferenceProviderMapping.map((entry) => ({ + ...entry, + hfModelId + })); + } + return Object.entries(inferenceProviderMapping).map(([provider, mapping]) => ({ + provider, + hfModelId, + providerId: mapping.providerId, + status: mapping.status, + task: mapping.task + })); +} + +// src/lib/list-models.ts +var MODEL_EXPAND_KEYS = [ + "pipeline_tag", + "private", + "gated", + "downloads", + "likes", + "lastModified" +]; +var MODEL_EXPANDABLE_KEYS = [ + "author", + "cardData", + "config", + "createdAt", + "disabled", + "downloads", + "downloadsAllTime", + "gated", + "gitalyUid", + "inferenceProviderMapping", + "lastModified", + "library_name", + "likes", + "model-index", + "pipeline_tag", + "private", + "safetensors", + "sha", + // "siblings", + "spaces", + "tags", + "transformersInfo" +]; +async function* listModels(params) { + const accessToken = params && checkCredentials(params); + let totalToFetch = params?.limit ?? Infinity; + const search = new URLSearchParams([ + ...Object.entries({ + limit: String(Math.min(totalToFetch, 500)), + ...params?.search?.owner ? { author: params.search.owner } : void 0, + ...params?.search?.task ? { pipeline_tag: params.search.task } : void 0, + ...params?.search?.query ? { search: params.search.query } : void 0, + ...params?.search?.inferenceProviders ? { inference_provider: params.search.inferenceProviders.join(",") } : void 0, + ...params?.search?.apps ? { apps: params.search.apps.join(",") } : void 0, + ...params?.sort ? { sort: params.sort } : void 0 + }), + ...params?.search?.tags?.map((tag) => ["filter", tag]) ?? [], + ...MODEL_EXPAND_KEYS.map((val) => ["expand", val]), + ...params?.additionalFields?.map((val) => ["expand", val]) ?? [] + ]).toString(); + let url = `${params?.hubUrl || HUB_URL}/api/models?${search}`; + while (url) { + const res = await (params?.fetch ?? fetch)(url, { + headers: { + accept: "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : void 0 + } + }); + if (!res.ok) { + throw await createApiError(res); + } + const items = await res.json(); + for (const item of items) { + const normalizedItem = { ...item }; + if (params?.additionalFields?.includes("inferenceProviderMapping") && item.inferenceProviderMapping) { + normalizedItem.inferenceProviderMapping = normalizeInferenceProviderMapping( + item.id, + item.inferenceProviderMapping + ); + } + yield { + ...params?.additionalFields && pick(normalizedItem, params.additionalFields), + id: item._id, + name: item.id, + private: item.private, + task: item.pipeline_tag, + downloads: item.downloads, + gated: item.gated, + likes: item.likes, + updatedAt: new Date(item.lastModified) + }; + totalToFetch--; + if (totalToFetch <= 0) { + return; + } + } + const linkHeader = res.headers.get("Link"); + url = linkHeader ? parseLinkHeader(linkHeader).next : void 0; + } +} + +// src/lib/list-spaces.ts +var SPACE_EXPAND_KEYS = [ + "sdk", + "likes", + "private", + "lastModified" +]; +var SPACE_EXPANDABLE_KEYS = [ + "author", + "cardData", + "datasets", + "disabled", + "gitalyUid", + "lastModified", + "createdAt", + "likes", + "private", + "runtime", + "sdk", + // "siblings", + "sha", + "subdomain", + "tags", + "models" +]; +async function* listSpaces(params) { + const accessToken = params && checkCredentials(params); + const search = new URLSearchParams([ + ...Object.entries({ + limit: "500", + ...params?.search?.owner ? { author: params.search.owner } : void 0, + ...params?.search?.query ? { search: params.search.query } : void 0, + ...params?.sort ? { sort: params.sort } : void 0 + }), + ...params?.search?.tags?.map((tag) => ["filter", tag]) ?? [], + ...[...SPACE_EXPAND_KEYS, ...params?.additionalFields ?? []].map( + (val) => ["expand", val] + ) + ]).toString(); + let url = `${params?.hubUrl || HUB_URL}/api/spaces?${search}`; + while (url) { + const res = await (params?.fetch ?? fetch)(url, { + headers: { + accept: "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : void 0 + } + }); + if (!res.ok) { + throw await createApiError(res); + } + const items = await res.json(); + for (const item of items) { + yield { + ...params?.additionalFields && pick(item, params.additionalFields), + id: item._id, + name: item.id, + sdk: item.sdk, + likes: item.likes, + private: item.private, + updatedAt: new Date(item.lastModified) + }; + } + const linkHeader = res.headers.get("Link"); + url = linkHeader ? parseLinkHeader(linkHeader).next : void 0; + } +} + +// src/lib/list-collections.ts +async function* listCollections(params) { + const accessToken = params && checkCredentials(params); + const searchParams = new URLSearchParams(); + let totalToFetch = params?.limit ?? Infinity; + searchParams.append("limit", String(Math.min(totalToFetch, 100))); + if (params?.sort) { + searchParams.append("sort", params.sort); + } + if (params?.search?.owner) { + for (const owner of params.search.owner) { + searchParams.append("owner", owner); + } + } + if (params?.search?.item) { + for (const item of params.search.item) { + searchParams.append("item", item); + } + } + if (params?.search?.q) { + searchParams.append("q", params.search.q); + } + let url = `${params?.hubUrl || HUB_URL}/api/collections?${searchParams}`; + while (url) { + const res = await (params?.fetch ?? fetch)(url, { + headers: { + accept: "application/json", + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : void 0 + } + }); + if (!res.ok) { + throw await createApiError(res); + } + const collections = await res.json(); + for (const collection of collections) { + yield collection; + totalToFetch--; + if (totalToFetch <= 0) { + return; + } + } + const linkHeader = res.headers.get("Link"); + url = linkHeader ? parseLinkHeader(linkHeader).next : void 0; + } +} + +// src/lib/model-info.ts +async function modelInfo(params) { + const accessToken = params && checkCredentials(params); + const search = new URLSearchParams([ + ...MODEL_EXPAND_KEYS.map((val) => ["expand", val]), + ...params?.additionalFields?.map((val) => ["expand", val]) ?? [] + ]).toString(); + const response = await (params.fetch || fetch)( + `${params?.hubUrl || HUB_URL}/api/models/${params.name}/revision/${encodeURIComponent( + params.revision ?? "HEAD" + )}?${search.toString()}`, + { + headers: { + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } + const data = await response.json(); + const normalizedData = { ...data }; + if (params?.additionalFields?.includes("inferenceProviderMapping") && data.inferenceProviderMapping) { + normalizedData.inferenceProviderMapping = normalizeInferenceProviderMapping(data.id, data.inferenceProviderMapping); + } + return { + ...params?.additionalFields && pick(normalizedData, params.additionalFields), + id: data._id, + name: data.id, + private: data.private, + task: data.pipeline_tag, + downloads: data.downloads, + gated: data.gated, + likes: data.likes, + updatedAt: new Date(data.lastModified) + }; +} + +// src/lib/oauth-handle-redirect.ts +async function oauthHandleRedirect(opts) { + if (typeof window === "undefined" && !opts?.redirectedUrl) { + throw new Error("oauthHandleRedirect is only available in the browser, unless you provide redirectedUrl"); + } + if (typeof localStorage === "undefined" && (!opts?.nonce || !opts?.codeVerifier)) { + throw new Error( + "oauthHandleRedirect requires localStorage to be available, unless you provide nonce and codeVerifier" + ); + } + const redirectedUrl = opts?.redirectedUrl ?? window.location.href; + const searchParams = (() => { + try { + return new URL(redirectedUrl).searchParams; + } catch (err) { + throw new Error("Failed to parse redirected URL: " + redirectedUrl); + } + })(); + const [error, errorDescription] = [searchParams.get("error"), searchParams.get("error_description")]; + if (error) { + throw new Error(`${error}: ${errorDescription}`); + } + const code = searchParams.get("code"); + const nonce = opts?.nonce ?? localStorage.getItem("huggingface.co:oauth:nonce"); + if (!code) { + throw new Error("Missing oauth code from query parameters in redirected URL: " + redirectedUrl); + } + if (!nonce) { + throw new Error("Missing oauth nonce from localStorage"); + } + const codeVerifier = opts?.codeVerifier ?? localStorage.getItem("huggingface.co:oauth:code_verifier"); + if (!codeVerifier) { + throw new Error("Missing oauth code_verifier from localStorage"); + } + const state = searchParams.get("state"); + if (!state) { + throw new Error("Missing oauth state from query parameters in redirected URL"); + } + let parsedState; + try { + parsedState = JSON.parse(state); + } catch { + throw new Error("Invalid oauth state in redirected URL, unable to parse JSON: " + state); + } + if (parsedState.nonce !== nonce) { + throw new Error("Invalid oauth state in redirected URL"); + } + const hubUrl = opts?.hubUrl || HUB_URL; + const openidConfigUrl = `${new URL(hubUrl).origin}/.well-known/openid-configuration`; + const openidConfigRes = await fetch(openidConfigUrl, { + headers: { + Accept: "application/json" + } + }); + if (!openidConfigRes.ok) { + throw await createApiError(openidConfigRes); + } + const openidConfig = await openidConfigRes.json(); + const tokenRes = await fetch(openidConfig.token_endpoint, { + method: "POST", + headers: { + "Content-Type": "application/x-www-form-urlencoded" + }, + body: new URLSearchParams({ + grant_type: "authorization_code", + code, + redirect_uri: parsedState.redirectUri, + code_verifier: codeVerifier + }).toString() + }); + if (!opts?.codeVerifier) { + localStorage.removeItem("huggingface.co:oauth:code_verifier"); + } + if (!opts?.nonce) { + localStorage.removeItem("huggingface.co:oauth:nonce"); + } + if (!tokenRes.ok) { + throw await createApiError(tokenRes); + } + const token = await tokenRes.json(); + const accessTokenExpiresAt = new Date(Date.now() + token.expires_in * 1e3); + const userInfoRes = await fetch(openidConfig.userinfo_endpoint, { + headers: { + Authorization: `Bearer ${token.access_token}` + } + }); + if (!userInfoRes.ok) { + throw await createApiError(userInfoRes); + } + const userInfo = await userInfoRes.json(); + return { + accessToken: token.access_token, + accessTokenExpiresAt, + userInfo, + state: parsedState.state, + scope: token.scope + }; +} +async function oauthHandleRedirectIfPresent(opts) { + if (typeof window === "undefined" && !opts?.redirectedUrl) { + throw new Error("oauthHandleRedirect is only available in the browser, unless you provide redirectedUrl"); + } + if (typeof localStorage === "undefined" && (!opts?.nonce || !opts?.codeVerifier)) { + throw new Error( + "oauthHandleRedirect requires localStorage to be available, unless you provide nonce and codeVerifier" + ); + } + const searchParams = new URLSearchParams(opts?.redirectedUrl ?? window.location.search); + if (searchParams.has("error")) { + return oauthHandleRedirect(opts); + } + if (searchParams.has("code")) { + if (!localStorage.getItem("huggingface.co:oauth:nonce")) { + console.warn( + "Missing oauth nonce from localStorage. This can happen when the user refreshes the page after logging in, without changing the URL." + ); + return false; + } + return oauthHandleRedirect(opts); + } + return false; +} + +// src/lib/oauth-login-url.ts +async function oauthLoginUrl(opts) { + if (typeof window === "undefined" && (!opts?.redirectUrl || !opts?.clientId)) { + throw new Error("oauthLogin is only available in the browser, unless you provide clientId and redirectUrl"); + } + if (typeof localStorage === "undefined" && !opts?.localStorage) { + throw new Error( + "oauthLogin requires localStorage to be available in the context, unless you provide a localStorage empty object as argument" + ); + } + const hubUrl = opts?.hubUrl || HUB_URL; + const openidConfigUrl = `${new URL(hubUrl).origin}/.well-known/openid-configuration`; + const openidConfigRes = await fetch(openidConfigUrl, { + headers: { + Accept: "application/json" + } + }); + if (!openidConfigRes.ok) { + throw await createApiError(openidConfigRes); + } + const opendidConfig = await openidConfigRes.json(); + const newNonce = globalThis.crypto.randomUUID(); + const newCodeVerifier = globalThis.crypto.randomUUID() + globalThis.crypto.randomUUID(); + if (opts?.localStorage) { + if (opts.localStorage.codeVerifier !== void 0 && opts.localStorage.codeVerifier !== null) { + throw new Error( + "localStorage.codeVerifier must be initially set to null or undefined, and will be filled by oauthLoginUrl" + ); + } + if (opts.localStorage.nonce !== void 0 && opts.localStorage.nonce !== null) { + throw new Error( + "localStorage.nonce must be initially set to null or undefined, and will be filled by oauthLoginUrl" + ); + } + opts.localStorage.codeVerifier = newCodeVerifier; + opts.localStorage.nonce = newNonce; + } else { + localStorage.setItem("huggingface.co:oauth:nonce", newNonce); + localStorage.setItem("huggingface.co:oauth:code_verifier", newCodeVerifier); + } + const redirectUri = opts?.redirectUrl || (typeof window !== "undefined" ? window.location.href : void 0); + if (!redirectUri) { + throw new Error("Missing redirectUrl"); + } + const state = JSON.stringify({ + nonce: newNonce, + redirectUri, + state: opts?.state + }); + const variables = ( + // @ts-expect-error window.huggingface is defined inside static Spaces. + typeof window !== "undefined" ? window.huggingface?.variables ?? null : null + ); + const clientId = opts?.clientId || variables?.OAUTH_CLIENT_ID; + if (!clientId) { + if (variables) { + throw new Error("Missing clientId, please add hf_oauth: true to the README.md's metadata in your static Space"); + } + throw new Error("Missing clientId"); + } + const challenge = base64FromBytes( + new Uint8Array(await globalThis.crypto.subtle.digest("SHA-256", new TextEncoder().encode(newCodeVerifier))) + ).replace(/[+]/g, "-").replace(/[/]/g, "_").replace(/=/g, ""); + return `${opendidConfig.authorization_endpoint}?${new URLSearchParams({ + client_id: clientId, + scope: opts?.scopes || variables?.OAUTH_SCOPES || "openid profile", + response_type: "code", + redirect_uri: redirectUri, + state, + code_challenge: challenge, + code_challenge_method: "S256" + }).toString()}`; +} + +// src/utils/typedInclude.ts +function typedInclude(arr, v) { + return arr.includes(v); +} + +// src/utils/omit.ts +function omit(o, props) { + const propsArr = Array.isArray(props) ? props : [props]; + const letsKeep = Object.keys(o).filter((prop) => !typedInclude(propsArr, prop)); + return pick(o, letsKeep); +} + +// src/utils/typedEntries.ts +function typedEntries(obj) { + return Object.entries(obj); +} + +// src/lib/parse-safetensors-metadata.ts +var SAFETENSORS_FILE = "model.safetensors"; +var SAFETENSORS_INDEX_FILE = "model.safetensors.index.json"; +var RE_SAFETENSORS_FILE = /\.safetensors$/; +var RE_SAFETENSORS_INDEX_FILE = /\.safetensors\.index\.json$/; +var RE_SAFETENSORS_SHARD_FILE = /^(?(?.*?)[_-])(?\d{5,6})-of-(?\d{5,6})\.safetensors$/; +function parseSafetensorsShardFilename(filename) { + const match = RE_SAFETENSORS_SHARD_FILE.exec(filename); + if (match && match.groups) { + return { + prefix: match.groups["prefix"], + basePrefix: match.groups["basePrefix"], + shard: match.groups["shard"], + total: match.groups["total"] + }; + } + return null; +} +var PARALLEL_DOWNLOADS = 20; +var MAX_HEADER_LENGTH = 25e6; +var GPTQ_QWEIGHT_SUFFIX = "qweight"; +var SafetensorParseError = class extends Error { +}; +async function fetchModelConfig(params) { + try { + const configBlob = await downloadFile({ + ...params, + path: "config.json" + }); + if (!configBlob) { + return null; + } + const config = JSON.parse(await configBlob.text()); + return config; + } catch (error) { + return null; + } +} +async function parseSingleFile(path2, params) { + const blob = await downloadFile({ ...params, path: path2 }); + if (!blob) { + throw new SafetensorParseError(`Failed to parse file ${path2}: failed to fetch safetensors header length.`); + } + const bufLengthOfHeaderLE = await blob.slice(0, 8).arrayBuffer(); + const lengthOfHeader = new DataView(bufLengthOfHeaderLE).getBigUint64(0, true); + if (lengthOfHeader <= 0) { + throw new SafetensorParseError(`Failed to parse file ${path2}: safetensors header is malformed.`); + } + if (lengthOfHeader > MAX_HEADER_LENGTH) { + throw new SafetensorParseError( + `Failed to parse file ${path2}: safetensor header is too big. Maximum supported size is ${MAX_HEADER_LENGTH} bytes.` + ); + } + try { + const header = JSON.parse(await blob.slice(8, 8 + Number(lengthOfHeader)).text()); + return header; + } catch (err) { + throw new SafetensorParseError(`Failed to parse file ${path2}: safetensors header is not valid JSON.`); + } +} +async function parseShardedIndex(path2, params) { + const indexBlob = await downloadFile({ + ...params, + path: path2 + }); + if (!indexBlob) { + throw new SafetensorParseError(`Failed to parse file ${path2}: failed to fetch safetensors index.`); + } + try { + const index = JSON.parse(await indexBlob.slice(0, MAX_HEADER_LENGTH).text()); + return index; + } catch (error) { + throw new SafetensorParseError(`Failed to parse file ${path2}: not a valid JSON.`); + } +} +async function fetchAllHeaders(path2, index, params) { + const pathPrefix = path2.slice(0, path2.lastIndexOf("/") + 1); + const filenames = [...new Set(Object.values(index.weight_map))]; + const shardedMap = Object.fromEntries( + await promisesQueue( + filenames.map( + (filename) => async () => [filename, await parseSingleFile(pathPrefix + filename, params)] + ), + PARALLEL_DOWNLOADS + ) + ); + return shardedMap; +} +async function parseSafetensorsMetadata(params) { + const repoId = toRepoId(params.repo); + if (repoId.type !== "model") { + throw new TypeError("Only model repos should contain safetensors files."); + } + const modelConfig = params.computeParametersCount ? await fetchModelConfig(params) : null; + const quantConfig = modelConfig?.quantization_config; + if (params.path && RE_SAFETENSORS_FILE.test(params.path) || await fileExists({ ...params, path: SAFETENSORS_FILE })) { + const header = await parseSingleFile(params.path ?? SAFETENSORS_FILE, params); + return { + sharded: false, + header, + ...params.computeParametersCount ? { + parameterCount: computeNumOfParamsByDtypeSingleFile(header, quantConfig), + parameterTotal: ( + /// shortcut: get param count directly from metadata + header.__metadata__.total_parameters ? typeof header.__metadata__.total_parameters === "number" ? header.__metadata__.total_parameters : typeof header.__metadata__.total_parameters === "string" ? parseInt(header.__metadata__.total_parameters) : void 0 : void 0 + ) + } : void 0 + }; + } else if (params.path && RE_SAFETENSORS_INDEX_FILE.test(params.path) || await fileExists({ ...params, path: SAFETENSORS_INDEX_FILE })) { + const path2 = params.path ?? SAFETENSORS_INDEX_FILE; + const index = await parseShardedIndex(path2, params); + const shardedMap = await fetchAllHeaders(path2, index, params); + return { + sharded: true, + index, + headers: shardedMap, + ...params.computeParametersCount ? { + parameterCount: computeNumOfParamsByDtypeSharded(shardedMap, quantConfig), + parameterTotal: ( + /// shortcut: get param count directly from metadata + index.metadata?.total_parameters ? typeof index.metadata.total_parameters === "number" ? index.metadata.total_parameters : typeof index.metadata.total_parameters === "string" ? parseInt(index.metadata.total_parameters) : void 0 : void 0 + ) + } : void 0 + }; + } else { + throw new Error("model id does not seem to contain safetensors weights"); + } +} +function isQuantizedTensor(tensorName, quantConfig) { + if (!quantConfig) { + return false; + } + if (!quantConfig.modules_to_not_convert || quantConfig.modules_to_not_convert.length === 0) { + return true; + } + for (const pattern of quantConfig.modules_to_not_convert) { + const regexPattern = pattern.replace(/\*/g, ".*"); + const regex = new RegExp(regexPattern); + if (regex.test(tensorName)) { + return false; + } + } + return true; +} +function getQuantizationMultiplier(tensorName, dtype, quantConfig) { + if (!quantConfig || !isQuantizedTensor(tensorName, quantConfig)) { + return 1; + } + const quantMethod = quantConfig.quant_method?.toLowerCase(); + switch (quantMethod) { + case "mxfp4": + if (dtype === "U8" && tensorName.includes("_blocks")) { + return 2; + } + return 1; + case "gptq": + case "awq": + if (getTensorSuffix(tensorName) === GPTQ_QWEIGHT_SUFFIX) { + const bits = quantConfig.bits && quantConfig.bits > 0 ? quantConfig.bits : 4; + return Math.max(1, Math.floor(32 / bits)); + } + if (quantConfig.bits === 4 && dtype === "U8") { + return 2; + } + if (quantConfig.bits === 2 && dtype === "U8") { + return 4; + } + return 1; + case "bitsandbytes": + if (quantConfig.load_in_4bit && dtype === "U8") { + return 2; + } + if (quantConfig.load_in_8bit) { + return 1; + } + return 1; + default: + if (quantConfig.load_in_4bit && dtype === "U8") { + return 2; + } + if (quantConfig.bits === 4 && dtype === "U8") { + return 2; + } + return 1; + } +} +function computeNumOfParamsByDtypeSingleFile(header, quantConfig) { + const counter = {}; + const tensors = omit(header, "__metadata__"); + for (const [tensorName, v] of typedEntries(tensors)) { + if (shouldSkipTensor(tensorName, quantConfig)) { + continue; + } + if (v.shape.length === 0) { + continue; + } + const elements = v.shape.reduce((a, b) => a * b); + const multiplier = quantConfig ? getQuantizationMultiplier(tensorName, v.dtype, quantConfig) : 1; + if (multiplier === 0) { + continue; + } + counter[v.dtype] = (counter[v.dtype] ?? 0) + elements * multiplier; + } + return counter; +} +function computeNumOfParamsByDtypeSharded(shardedMap, quantConfig) { + const counter = {}; + for (const header of Object.values(shardedMap)) { + for (const [k, v] of typedEntries(computeNumOfParamsByDtypeSingleFile(header, quantConfig))) { + counter[k] = (counter[k] ?? 0) + (v ?? 0); + } + } + return counter; +} +function getTensorSuffix(tensorName) { + const lastDotIndex = tensorName.lastIndexOf("."); + return lastDotIndex === -1 ? tensorName : tensorName.slice(lastDotIndex + 1); +} +function shouldSkipTensor(tensorName, quantConfig) { + const GPTQ_AWQ_AUXILIARY_SUFFIXES = ["qzeros", "g_idx", "scales"]; + if (!quantConfig) { + return false; + } + const quantMethod = quantConfig.quant_method?.toLowerCase(); + if (!quantMethod || quantMethod !== "gptq" && quantMethod !== "awq") { + return false; + } + if (!isQuantizedTensor(tensorName, quantConfig)) { + return false; + } + const suffix = getTensorSuffix(tensorName); + if (suffix === GPTQ_QWEIGHT_SUFFIX) { + return false; + } + return GPTQ_AWQ_AUXILIARY_SUFFIXES.includes(suffix); +} + +// src/lib/repo-exists.ts +async function repoExists(params) { + const repoId = toRepoId(params.repo); + const res = await (params.fetch ?? fetch)( + `${params.hubUrl ?? HUB_URL}/api/${repoId.type}s/${repoId.name}?expand[]=likes`, + { + method: "GET", + headers: { + ...params.accessToken && { + Authorization: `Bearer ${params.accessToken}` + } + } + } + ); + if (res.status === 404 || res.status === 401) { + return false; + } + if (!res.ok) { + throw await createApiError(res); + } + return true; +} + +// src/lib/space-info.ts +async function spaceInfo(params) { + const accessToken = params && checkCredentials(params); + const search = new URLSearchParams([ + ...SPACE_EXPAND_KEYS.map((val) => ["expand", val]), + ...params?.additionalFields?.map((val) => ["expand", val]) ?? [] + ]).toString(); + const response = await (params.fetch || fetch)( + `${params?.hubUrl || HUB_URL}/api/spaces/${params.name}/revision/${encodeURIComponent( + params.revision ?? "HEAD" + )}?${search.toString()}`, + { + headers: { + ...accessToken ? { Authorization: `Bearer ${accessToken}` } : {} + } + } + ); + if (!response.ok) { + throw await createApiError(response); + } + const data = await response.json(); + return { + ...params?.additionalFields && pick(data, params.additionalFields), + id: data._id, + name: data.id, + sdk: data.sdk, + likes: data.likes, + private: data.private, + updatedAt: new Date(data.lastModified) + }; +} + +// src/lib/snapshot-download.ts +var import_node_path3 = require("path"); +var import_promises6 = require("fs/promises"); +var DEFAULT_REVISION = "main"; +async function snapshotDownload(params) { + let cacheDir; + if (params.cacheDir) { + cacheDir = params.cacheDir; + } else { + cacheDir = getHFHubCachePath(); + } + let revision; + if (params.revision) { + revision = params.revision; + } else { + revision = DEFAULT_REVISION; + } + const repoId = toRepoId(params.repo); + let repoInfo; + switch (repoId.type) { + case "space": + repoInfo = await spaceInfo({ + ...params, + name: repoId.name, + additionalFields: ["sha"], + revision + }); + break; + case "dataset": + repoInfo = await datasetInfo({ + ...params, + name: repoId.name, + additionalFields: ["sha"], + revision + }); + break; + case "model": + repoInfo = await modelInfo({ + ...params, + name: repoId.name, + additionalFields: ["sha"], + revision + }); + break; + default: + throw new Error(`invalid repository type ${repoId.type}`); + } + const commitHash = repoInfo.sha; + const storageFolder = (0, import_node_path3.join)(cacheDir, getRepoFolderName(repoId)); + const snapshotFolder = (0, import_node_path3.join)(storageFolder, "snapshots", commitHash); + if (revision !== commitHash) { + const refPath = (0, import_node_path3.join)(storageFolder, "refs", revision); + await (0, import_promises6.mkdir)((0, import_node_path3.dirname)(refPath), { recursive: true }); + await (0, import_promises6.writeFile)(refPath, commitHash); + } + const cursor = listFiles({ + ...params, + repo: params.repo, + recursive: true, + revision: repoInfo.sha + }); + for await (const entry of cursor) { + switch (entry.type) { + case "file": + await downloadFileToCacheDir({ + ...params, + path: entry.path, + revision: commitHash, + cacheDir + }); + break; + case "directory": + await (0, import_promises6.mkdir)((0, import_node_path3.join)(snapshotFolder, entry.path), { recursive: true }); + break; + default: + throw new Error(`unknown entry type: ${entry.type}`); + } + } + return snapshotFolder; +} + +// src/lib/upload-file.ts +function uploadFile(params) { + const path2 = params.file instanceof URL ? params.file.pathname.split("/").at(-1) ?? "file" : "path" in params.file ? params.file.path : params.file.name; + return commit({ + ...params.accessToken ? { accessToken: params.accessToken } : { credentials: params.credentials }, + repo: params.repo, + operations: [ + { + operation: "addOrUpdate", + path: path2, + content: "content" in params.file ? params.file.content : params.file + } + ], + title: params.commitTitle ?? `Add ${path2}`, + description: params.commitDescription, + hubUrl: params.hubUrl, + branch: params.branch, + isPullRequest: params.isPullRequest, + parentCommit: params.parentCommit, + fetch: params.fetch, + useWebWorkers: params.useWebWorkers, + abortSignal: params.abortSignal, + useXet: params.useXet + }); +} + +// src/lib/upload-files.ts +function uploadFiles(params) { + return commit({ + ...params.accessToken ? { accessToken: params.accessToken } : { credentials: params.credentials }, + repo: params.repo, + operations: params.files.map((file) => ({ + operation: "addOrUpdate", + path: file instanceof URL ? file.pathname.split("/").at(-1) ?? "file" : "path" in file ? file.path : file.name, + content: "content" in file ? file.content : file + })), + title: params.commitTitle ?? `Add ${params.files.length} files`, + description: params.commitDescription, + hubUrl: params.hubUrl, + branch: params.branch, + isPullRequest: params.isPullRequest, + parentCommit: params.parentCommit, + fetch: params.fetch, + useWebWorkers: params.useWebWorkers, + abortSignal: params.abortSignal, + useXet: params.useXet + }); +} + +// src/lib/upload-files-with-progress.ts +var multipartUploadTracking = /* @__PURE__ */ new WeakMap(); +async function* uploadFilesWithProgress(params) { + return yield* commitIter({ + ...params.accessToken ? { accessToken: params.accessToken } : { credentials: params.credentials }, + repo: params.repo, + operations: params.files.map((file) => ({ + operation: "addOrUpdate", + path: file instanceof URL ? file.pathname.split("/").at(-1) ?? "file" : "path" in file ? file.path : file.name, + content: "content" in file ? file.content : file + })), + title: params.commitTitle ?? `Add ${params.files.length} files`, + description: params.commitDescription, + hubUrl: params.hubUrl, + branch: params.branch, + isPullRequest: params.isPullRequest, + parentCommit: params.parentCommit, + useWebWorkers: params.useWebWorkers, + abortSignal: params.abortSignal, + useXet: params.useXet, + fetch: async (input, init2) => { + if (!init2) { + return fetch(input); + } + if (!typedInclude(["PUT", "POST"], init2.method) || !("progressHint" in init2) || !init2.progressHint || typeof XMLHttpRequest === "undefined" || typeof input !== "string" || !(init2.body instanceof ArrayBuffer) && !(init2.body instanceof Blob) && !(init2.body instanceof File) && typeof init2.body !== "string") { + return fetch(input, init2); + } + const progressHint = init2.progressHint; + const progressCallback = progressHint.progressCallback; + const xhr = new XMLHttpRequest(); + xhr.upload.addEventListener("progress", (event) => { + if (event.lengthComputable) { + if (progressHint.part !== void 0) { + let tracking = multipartUploadTracking.get(progressCallback); + if (!tracking) { + tracking = { numParts: progressHint.numParts, partsProgress: {} }; + multipartUploadTracking.set(progressCallback, tracking); + } + tracking.partsProgress[progressHint.part] = event.loaded / event.total; + let totalProgress = 0; + for (const partProgress of Object.values(tracking.partsProgress)) { + totalProgress += partProgress; + } + if (totalProgress === tracking.numParts) { + progressCallback(0.9999999999); + } else { + progressCallback(totalProgress / tracking.numParts); + } + } else { + if (event.loaded === event.total) { + progressCallback(0.9999999999); + } else { + progressCallback(event.loaded / event.total); + } + } + } + }); + xhr.open(init2.method, input, true); + if (init2.headers) { + const headers = new Headers(init2.headers); + headers.forEach((value, key) => { + xhr.setRequestHeader(key, value); + }); + } + init2.signal?.throwIfAborted(); + xhr.send(init2.body); + return new Promise((resolve3, reject) => { + xhr.addEventListener("load", () => { + resolve3( + new Response(xhr.responseText, { + status: xhr.status, + statusText: xhr.statusText, + headers: Object.fromEntries( + xhr.getAllResponseHeaders().trim().split("\n").map((header) => [ + header.slice(0, header.indexOf(":")), + header.slice(header.indexOf(":") + 1).trim() + ]) + ) + }) + ); + }); + xhr.addEventListener("error", () => { + reject(new Error(xhr.statusText)); + }); + if (init2.signal) { + init2.signal.addEventListener("abort", () => { + xhr.abort(); + try { + init2.signal?.throwIfAborted(); + } catch (err) { + reject(err); + } + }); + } + }); + } + }); +} + +// src/lib/who-am-i.ts +async function whoAmI(params) { + const accessToken = checkCredentials(params); + const res = await (params.fetch ?? fetch)(`${params.hubUrl ?? HUB_URL}/api/whoami-v2`, { + headers: { + Authorization: `Bearer ${accessToken}` + } + }); + if (!res.ok) { + throw await createApiError(res); + } + const response = await res.json(); + if (typeof response.auth.accessToken?.createdAt === "string") { + response.auth.accessToken.createdAt = new Date(response.auth.accessToken.createdAt); + } + return response; +} +// Annotate the CommonJS export names for ESM import in node: +0 && (module.exports = { + DATASET_EXPANDABLE_KEYS, + DATASET_EXPAND_KEYS, + DEFAULT_REVISION, + HUB_URL, + HubApiError, + InvalidApiResponseFormatError, + MODEL_EXPANDABLE_KEYS, + MODEL_EXPAND_KEYS, + REGEX_COMMIT_HASH, + REPO_ID_SEPARATOR, + RE_SAFETENSORS_FILE, + RE_SAFETENSORS_INDEX_FILE, + RE_SAFETENSORS_SHARD_FILE, + SAFETENSORS_FILE, + SAFETENSORS_INDEX_FILE, + SPACE_EXPANDABLE_KEYS, + SPACE_EXPAND_KEYS, + __internal_XetBlob, + __internal_sha256, + cancelJob, + checkRepoAccess, + commit, + commitIter, + commitIterBucket, + countCommits, + createBranch, + createCollection, + createRepo, + createScheduledJob, + datasetInfo, + deleteBranch, + deleteCollection, + deleteFile, + deleteFiles, + deleteRepo, + deleteScheduledJob, + downloadFile, + downloadFileToCacheDir, + duplicateJob, + fileDownloadInfo, + fileExists, + getBlobStat, + getHFHubCachePath, + getJob, + getRepoFolderName, + getScheduledJob, + listCollections, + listCommits, + listDatasets, + listFiles, + listJobHardware, + listJobs, + listModels, + listScheduledJobs, + listSpaces, + modelInfo, + oauthHandleRedirect, + oauthHandleRedirectIfPresent, + oauthLoginUrl, + parseRepoType, + parseSafetensorsMetadata, + parseSafetensorsShardFilename, + pathsInfo, + repoExists, + resumeScheduledJob, + runJob, + runScheduledJob, + scanCacheDir, + scanCachedRepo, + scanRefsDir, + scanSnapshotDir, + snapshotDownload, + spaceInfo, + streamJobEvents, + streamJobLogs, + streamJobMetrics, + suspendScheduledJob, + uploadFile, + uploadFiles, + uploadFilesWithProgress, + whoAmI +}); diff --git a/node_modules/@huggingface/hub/dist/index.mjs b/node_modules/@huggingface/hub/dist/index.mjs new file mode 100644 index 0000000000000000000000000000000000000000..1e704bd042c8556e92e3f4a7b09fa28c9e7643de --- /dev/null +++ b/node_modules/@huggingface/hub/dist/index.mjs @@ -0,0 +1,167 @@ +import { + DATASET_EXPANDABLE_KEYS, + DATASET_EXPAND_KEYS, + DEFAULT_REVISION, + HUB_URL, + HubApiError, + InvalidApiResponseFormatError, + MODEL_EXPANDABLE_KEYS, + MODEL_EXPAND_KEYS, + REGEX_COMMIT_HASH, + REPO_ID_SEPARATOR, + RE_SAFETENSORS_FILE, + RE_SAFETENSORS_INDEX_FILE, + RE_SAFETENSORS_SHARD_FILE, + SAFETENSORS_FILE, + SAFETENSORS_INDEX_FILE, + SPACE_EXPANDABLE_KEYS, + SPACE_EXPAND_KEYS, + XetBlob, + cancelJob, + checkRepoAccess, + commit, + commitIter, + commitIterBucket, + countCommits, + createBranch, + createCollection, + createRepo, + createScheduledJob, + datasetInfo, + deleteBranch, + deleteCollection, + deleteFile, + deleteFiles, + deleteRepo, + deleteScheduledJob, + downloadFile, + downloadFileToCacheDir, + duplicateJob, + fileDownloadInfo, + fileExists, + getBlobStat, + getHFHubCachePath, + getJob, + getRepoFolderName, + getScheduledJob, + listCollections, + listCommits, + listDatasets, + listFiles, + listJobHardware, + listJobs, + listModels, + listScheduledJobs, + listSpaces, + modelInfo, + oauthHandleRedirect, + oauthHandleRedirectIfPresent, + oauthLoginUrl, + parseRepoType, + parseSafetensorsMetadata, + parseSafetensorsShardFilename, + pathsInfo, + repoExists, + resumeScheduledJob, + runJob, + runScheduledJob, + scanCacheDir, + scanCachedRepo, + scanRefsDir, + scanSnapshotDir, + sha256, + snapshotDownload, + spaceInfo, + streamJobEvents, + streamJobLogs, + streamJobMetrics, + suspendScheduledJob, + uploadFile, + uploadFiles, + uploadFilesWithProgress, + whoAmI +} from "./chunk-SI5XUM7G.mjs"; +import "./chunk-GAR7ORU2.mjs"; +export { + DATASET_EXPANDABLE_KEYS, + DATASET_EXPAND_KEYS, + DEFAULT_REVISION, + HUB_URL, + HubApiError, + InvalidApiResponseFormatError, + MODEL_EXPANDABLE_KEYS, + MODEL_EXPAND_KEYS, + REGEX_COMMIT_HASH, + REPO_ID_SEPARATOR, + RE_SAFETENSORS_FILE, + RE_SAFETENSORS_INDEX_FILE, + RE_SAFETENSORS_SHARD_FILE, + SAFETENSORS_FILE, + SAFETENSORS_INDEX_FILE, + SPACE_EXPANDABLE_KEYS, + SPACE_EXPAND_KEYS, + XetBlob as __internal_XetBlob, + sha256 as __internal_sha256, + cancelJob, + checkRepoAccess, + commit, + commitIter, + commitIterBucket, + countCommits, + createBranch, + createCollection, + createRepo, + createScheduledJob, + datasetInfo, + deleteBranch, + deleteCollection, + deleteFile, + deleteFiles, + deleteRepo, + deleteScheduledJob, + downloadFile, + downloadFileToCacheDir, + duplicateJob, + fileDownloadInfo, + fileExists, + getBlobStat, + getHFHubCachePath, + getJob, + getRepoFolderName, + getScheduledJob, + listCollections, + listCommits, + listDatasets, + listFiles, + listJobHardware, + listJobs, + listModels, + listScheduledJobs, + listSpaces, + modelInfo, + oauthHandleRedirect, + oauthHandleRedirectIfPresent, + oauthLoginUrl, + parseRepoType, + parseSafetensorsMetadata, + parseSafetensorsShardFilename, + pathsInfo, + repoExists, + resumeScheduledJob, + runJob, + runScheduledJob, + scanCacheDir, + scanCachedRepo, + scanRefsDir, + scanSnapshotDir, + snapshotDownload, + spaceInfo, + streamJobEvents, + streamJobLogs, + streamJobMetrics, + suspendScheduledJob, + uploadFile, + uploadFiles, + uploadFilesWithProgress, + whoAmI +}; diff --git a/node_modules/@huggingface/hub/dist/sha256-node-KI7ZLGUH.mjs b/node_modules/@huggingface/hub/dist/sha256-node-KI7ZLGUH.mjs new file mode 100644 index 0000000000000000000000000000000000000000..fed9ae26c80497c7d8091bc8cb6bcb7839351f87 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/sha256-node-KI7ZLGUH.mjs @@ -0,0 +1,21 @@ +import "./chunk-GAR7ORU2.mjs"; + +// src/utils/sha256-node.ts +import { Readable } from "stream"; +import { createHash } from "crypto"; +async function* sha256Node(buffer, opts) { + const sha256Stream = createHash("sha256"); + const size = buffer instanceof Blob ? buffer.size : buffer.byteLength; + let done = 0; + const readable = buffer instanceof Blob ? Readable.fromWeb(buffer.stream()) : Readable.from(Buffer.from(buffer)); + for await (const buffer2 of readable) { + sha256Stream.update(buffer2); + done += buffer2.length; + yield done / size; + opts?.abortSignal?.throwIfAborted(); + } + return sha256Stream.digest("hex"); +} +export { + sha256Node +}; diff --git a/node_modules/@huggingface/hub/dist/sha256-wrapper-6SHY2YLK.mjs b/node_modules/@huggingface/hub/dist/sha256-wrapper-6SHY2YLK.mjs new file mode 100644 index 0000000000000000000000000000000000000000..f8890ab6dd5e6f92820cec4229ff44838598dc2c --- /dev/null +++ b/node_modules/@huggingface/hub/dist/sha256-wrapper-6SHY2YLK.mjs @@ -0,0 +1,460 @@ +import "./chunk-GAR7ORU2.mjs"; + +// src/vendor/hash-wasm/sha256.js +var Module = (() => { + var _unused = import.meta.url; + return function(moduleArg = {}) { + var Module2 = moduleArg; + var readyPromiseResolve, readyPromiseReject; + Module2["ready"] = new Promise((resolve, reject) => { + readyPromiseResolve = resolve; + readyPromiseReject = reject; + }); + var moduleOverrides = Object.assign({}, Module2); + var arguments_ = []; + var thisProgram = "./this.program"; + var quit_ = (status, toThrow) => { + throw toThrow; + }; + var ENVIRONMENT_IS_WEB = typeof window == "object"; + var ENVIRONMENT_IS_WORKER = typeof importScripts == "function"; + var ENVIRONMENT_IS_NODE = typeof process == "object" && typeof process.versions == "object" && typeof process.versions.node == "string"; + var ENVIRONMENT_IS_SHELL = !ENVIRONMENT_IS_WEB && !ENVIRONMENT_IS_NODE && !ENVIRONMENT_IS_WORKER; + var scriptDirectory = ""; + function locateFile(path) { + if (Module2["locateFile"]) { + return Module2["locateFile"](path, scriptDirectory); + } + return scriptDirectory + path; + } + var read_, readAsync, readBinary; + if (ENVIRONMENT_IS_WEB || ENVIRONMENT_IS_WORKER) { + if (ENVIRONMENT_IS_WORKER) { + scriptDirectory = self.location.href; + } else if (typeof document != "undefined" && document.currentScript) { + scriptDirectory = document.currentScript.src; + } + if (false) { + scriptDirectory = false; + } + if (scriptDirectory.startsWith("blob:")) { + scriptDirectory = ""; + } else { + scriptDirectory = scriptDirectory.substr(0, scriptDirectory.replace(/[?#].*/, "").lastIndexOf("/") + 1); + } + { + read_ = (url) => { + var xhr = new XMLHttpRequest(); + xhr.open("GET", url, false); + xhr.send(null); + return xhr.responseText; + }; + if (ENVIRONMENT_IS_WORKER) { + readBinary = (url) => { + var xhr = new XMLHttpRequest(); + xhr.open("GET", url, false); + xhr.responseType = "arraybuffer"; + xhr.send(null); + return new Uint8Array( + /** @type{!ArrayBuffer} */ + xhr.response + ); + }; + } + readAsync = (url, onload, onerror) => { + var xhr = new XMLHttpRequest(); + xhr.open("GET", url, true); + xhr.responseType = "arraybuffer"; + xhr.onload = () => { + if (xhr.status == 200 || xhr.status == 0 && xhr.response) { + onload(xhr.response); + return; + } + onerror(); + }; + xhr.onerror = onerror; + xhr.send(null); + }; + } + } else { + } + var out = Module2["print"] || console.log.bind(console); + var err = Module2["printErr"] || console.error.bind(console); + Object.assign(Module2, moduleOverrides); + moduleOverrides = null; + if (Module2["arguments"]) + arguments_ = Module2["arguments"]; + if (Module2["thisProgram"]) + thisProgram = Module2["thisProgram"]; + if (Module2["quit"]) + quit_ = Module2["quit"]; + var wasmBinary; + if (Module2["wasmBinary"]) + wasmBinary = Module2["wasmBinary"]; + if (typeof WebAssembly != "object") { + abort("no native wasm support detected"); + } + function intArrayFromBase64(s) { + var decoded = atob(s); + var bytes = new Uint8Array(decoded.length); + for (var i = 0; i < decoded.length; ++i) { + bytes[i] = decoded.charCodeAt(i); + } + return bytes; + } + function tryParseAsDataURI(filename) { + if (!isDataURI(filename)) { + return; + } + return intArrayFromBase64(filename.slice(dataURIPrefix.length)); + } + var wasmMemory; + var ABORT = false; + var EXITSTATUS; + function assert(condition, text) { + if (!condition) { + abort(text); + } + } + var HEAP, HEAP8, HEAPU8, HEAP16, HEAPU16, HEAP32, HEAPU32, HEAPF32, HEAPF64; + function updateMemoryViews() { + var b = wasmMemory.buffer; + Module2["HEAP8"] = HEAP8 = new Int8Array(b); + Module2["HEAP16"] = HEAP16 = new Int16Array(b); + Module2["HEAPU8"] = HEAPU8 = new Uint8Array(b); + Module2["HEAPU16"] = HEAPU16 = new Uint16Array(b); + Module2["HEAP32"] = HEAP32 = new Int32Array(b); + Module2["HEAPU32"] = HEAPU32 = new Uint32Array(b); + Module2["HEAPF32"] = HEAPF32 = new Float32Array(b); + Module2["HEAPF64"] = HEAPF64 = new Float64Array(b); + } + var __ATPRERUN__ = []; + var __ATINIT__ = []; + var __ATEXIT__ = []; + var __ATPOSTRUN__ = []; + var runtimeInitialized = false; + function preRun() { + if (Module2["preRun"]) { + if (typeof Module2["preRun"] == "function") + Module2["preRun"] = [Module2["preRun"]]; + while (Module2["preRun"].length) { + addOnPreRun(Module2["preRun"].shift()); + } + } + callRuntimeCallbacks(__ATPRERUN__); + } + function initRuntime() { + runtimeInitialized = true; + callRuntimeCallbacks(__ATINIT__); + } + function postRun() { + if (Module2["postRun"]) { + if (typeof Module2["postRun"] == "function") + Module2["postRun"] = [Module2["postRun"]]; + while (Module2["postRun"].length) { + addOnPostRun(Module2["postRun"].shift()); + } + } + callRuntimeCallbacks(__ATPOSTRUN__); + } + function addOnPreRun(cb) { + __ATPRERUN__.unshift(cb); + } + function addOnInit(cb) { + __ATINIT__.unshift(cb); + } + function addOnExit(cb) { + } + function addOnPostRun(cb) { + __ATPOSTRUN__.unshift(cb); + } + var runDependencies = 0; + var runDependencyWatcher = null; + var dependenciesFulfilled = null; + function getUniqueRunDependency(id) { + return id; + } + function addRunDependency(id) { + runDependencies++; + Module2["monitorRunDependencies"]?.(runDependencies); + } + function removeRunDependency(id) { + runDependencies--; + Module2["monitorRunDependencies"]?.(runDependencies); + if (runDependencies == 0) { + if (runDependencyWatcher !== null) { + clearInterval(runDependencyWatcher); + runDependencyWatcher = null; + } + if (dependenciesFulfilled) { + var callback = dependenciesFulfilled; + dependenciesFulfilled = null; + callback(); + } + } + } + function abort(what) { + Module2["onAbort"]?.(what); + what = "Aborted(" + what + ")"; + err(what); + ABORT = true; + EXITSTATUS = 1; + what += ". Build with -sASSERTIONS for more info."; + var e = new WebAssembly.RuntimeError(what); + readyPromiseReject(e); + throw e; + } + var dataURIPrefix = "data:application/octet-stream;base64,"; + var isDataURI = (filename) => filename.startsWith(dataURIPrefix); + var isFileURI = (filename) => filename.startsWith("file://"); + var wasmBinaryFile; + wasmBinaryFile = "data:application/octet-stream;base64,AGFzbQEAAAABHQZgAX8AYAABf2AAAGABfwF/YAJ/fwBgA39/fwF/Aw0MAgAEAgMBBQABAQADBAUBcAEBAQUGAQGAAoACBg4CfwFB8IuEBAt/AUEACweYAQoGbWVtb3J5AgARX193YXNtX2NhbGxfY3RvcnMAAAtIYXNoX1VwZGF0ZQABCkhhc2hfRmluYWwAAwlIYXNoX0luaXQABAxHZXRCdWZmZXJQdHIABRlfX2luZGlyZWN0X2Z1bmN0aW9uX3RhYmxlAQAJc3RhY2tTYXZlAAkMc3RhY2tSZXN0b3JlAAoKc3RhY2tBbGxvYwALCossDAIAC+4CAgV/AX5BACgCwAoiASABKQNAIgYgAK18NwNAAkACQAJAIAanQT9xIgINAEGACyEBIAAhAgwBC0HAACACayEDAkAgAEUNACADIAAgAyAASRshBCABIAJqIQVBACEBA0AgBSABIgFqQYALIAFqLQAAOgAAIAFBAWoiAiEBIAIgBEcNAAsLAkACQCAAIANJIgRFDQBBgAshASAAIQIMAQtBACgCwAoiAUHIAGogARACQYALIANqIQEgACADayECCyABIQEgAiECIAQNAQsgASEBAkACQCACIgJBwABPDQAgASEFIAIhAAwBCyACIQIgASEEA0BBACgCwApByABqIAQiBBACIAJBQGoiASECIARBwABqIgUhBCAFIQUgASEAIAFBP0sNAAsLIAUhBSAAIgBFDQBBACEBQQAhAgNAQQAoAsAKIAEiAWogBSABai0AADoAACACQQFqIgJB/wFxIgQhASACIQIgACAESw0ACwsLqCEBK38gACgCCCICIAAoAgQiAyAAKAIAIgRzcSADIARxcyAEQR53IARBE3dzIARBCndzaiAAKAIQIgVBGncgBUEVd3MgBUEHd3MgACgCHCIG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gACABOgADIANBfGogAToAACACQQlJDQAgAEEAIABrQQNxIgRqIgMgAUH/AXFBgYKECGwiATYCACADIAIgBGtBfHEiBGoiAkF8aiABNgIAIARBCUkNACADIAE2AgggAyABNgIEIAJBeGogATYCACACQXRqIAE2AgAgBEEZSQ0AIAMgATYCGCADIAE2AhQgAyABNgIQIAMgATYCDCACQXBqIAE2AgAgAkFsaiABNgIAIAJBaGogATYCACACQWRqIAE2AgAgBCADQQRxQRhyIgVrIgJBIEkNACABrUKBgICAEH4hBiADIAVqIQEDQCABIAY3AxggASAGNwMQIAEgBjcDCCABIAY3AwAgAUEgaiEBIAJBYGoiAkEfSw0ACwsgAAsGACAAJAELBAAjAQsEACMACwYAIAAkAAsSAQJ/IwAgAGtBcHEiASQAIAELC9ICAgBBgAgLwAJn5glqha5nu3Lzbjw69U+lf1IOUYxoBZur2YMfGc3gW9ieBcEH1Xw2F91wMDlZDvcxC8D/ERVYaKeP+WSkT/q+mC+KQpFEN3HP+8C1pdu16VvCVjnxEfFZpII/ktVeHKuYqgfYAVuDEr6FMSTDfQxVdF2+cv6x3oCnBtybdPGbwcFpm+SGR77vxp3BD8yhDCRvLOktqoR0StypsFzaiPl2UlE+mG3GMajIJwOwx39Zv/ML4MZHkafVUWPKBmcpKRSFCrcnOCEbLvxtLE0TDThTVHMKZbsKanYuycKBhSxykqHov6JLZhqocItLwqNRbMcZ6JLRJAaZ1oU1DvRwoGoQFsGkGQhsNx5Md0gntbywNLMMHDlKqthOT8qcW/NvLmjugo90b2OleBR4yIQIAseM+v++kOtsUKT3o/m+8nhxxgBBwAoLBIAFgAA="; + if (!isDataURI(wasmBinaryFile)) { + wasmBinaryFile = locateFile(wasmBinaryFile); + } + function getBinarySync(file) { + if (file == wasmBinaryFile && wasmBinary) { + return new Uint8Array(wasmBinary); + } + var binary = tryParseAsDataURI(file); + if (binary) { + return binary; + } + if (readBinary) { + return readBinary(file); + } + throw "both async and sync fetching of the wasm failed"; + } + function getBinaryPromise(binaryFile) { + return Promise.resolve().then(() => getBinarySync(binaryFile)); + } + function instantiateArrayBuffer(binaryFile, imports, receiver) { + return getBinaryPromise(binaryFile).then((binary) => { + return WebAssembly.instantiate(binary, imports); + }).then(receiver, (reason) => { + err(`failed to asynchronously prepare wasm: ${reason}`); + abort(reason); + }); + } + function instantiateAsync(binary, binaryFile, imports, callback) { + return instantiateArrayBuffer(binaryFile, imports, callback); + } + function createWasm() { + var info = { + "env": wasmImports, + "wasi_snapshot_preview1": wasmImports + }; + function receiveInstance(instance, module) { + wasmExports = instance.exports; + wasmMemory = wasmExports["memory"]; + updateMemoryViews(); + addOnInit(wasmExports["__wasm_call_ctors"]); + removeRunDependency("wasm-instantiate"); + return wasmExports; + } + addRunDependency("wasm-instantiate"); + function receiveInstantiationResult(result) { + receiveInstance(result["instance"]); + } + if (Module2["instantiateWasm"]) { + try { + return Module2["instantiateWasm"](info, receiveInstance); + } catch (e) { + err(`Module.instantiateWasm callback failed with error: ${e}`); + readyPromiseReject(e); + } + } + instantiateAsync(wasmBinary, wasmBinaryFile, info, receiveInstantiationResult).catch(readyPromiseReject); + return {}; + } + var tempDouble; + var tempI64; + function ExitStatus(status) { + this.name = "ExitStatus"; + this.message = `Program terminated with exit(${status})`; + this.status = status; + } + var callRuntimeCallbacks = (callbacks) => { + while (callbacks.length > 0) { + callbacks.shift()(Module2); + } + }; + function getValue(ptr, type = "i8") { + if (type.endsWith("*")) + type = "*"; + switch (type) { + case "i1": + return HEAP8[ptr]; + case "i8": + return HEAP8[ptr]; + case "i16": + return HEAP16[ptr >> 1]; + case "i32": + return HEAP32[ptr >> 2]; + case "i64": + abort("to do getValue(i64) use WASM_BIGINT"); + case "float": + return HEAPF32[ptr >> 2]; + case "double": + return HEAPF64[ptr >> 3]; + case "*": + return HEAPU32[ptr >> 2]; + default: + abort(`invalid type for getValue: ${type}`); + } + } + var noExitRuntime = Module2["noExitRuntime"] || true; + function setValue(ptr, value, type = "i8") { + if (type.endsWith("*")) + type = "*"; + switch (type) { + case "i1": + HEAP8[ptr] = value; + break; + case "i8": + HEAP8[ptr] = value; + break; + case "i16": + HEAP16[ptr >> 1] = value; + break; + case "i32": + HEAP32[ptr >> 2] = value; + break; + case "i64": + abort("to do setValue(i64) use WASM_BIGINT"); + case "float": + HEAPF32[ptr >> 2] = value; + break; + case "double": + HEAPF64[ptr >> 3] = value; + break; + case "*": + HEAPU32[ptr >> 2] = value; + break; + default: + abort(`invalid type for setValue: ${type}`); + } + } + var wasmImports = {}; + var wasmExports = createWasm(); + var ___wasm_call_ctors = () => (___wasm_call_ctors = wasmExports["__wasm_call_ctors"])(); + var _Hash_Update = Module2["_Hash_Update"] = (a0) => (_Hash_Update = Module2["_Hash_Update"] = wasmExports["Hash_Update"])(a0); + var _Hash_Final = Module2["_Hash_Final"] = () => (_Hash_Final = Module2["_Hash_Final"] = wasmExports["Hash_Final"])(); + var _Hash_Init = Module2["_Hash_Init"] = (a0) => (_Hash_Init = Module2["_Hash_Init"] = wasmExports["Hash_Init"])(a0); + var _GetBufferPtr = Module2["_GetBufferPtr"] = () => (_GetBufferPtr = Module2["_GetBufferPtr"] = wasmExports["GetBufferPtr"])(); + var stackSave = () => (stackSave = wasmExports["stackSave"])(); + var stackRestore = (a0) => (stackRestore = wasmExports["stackRestore"])(a0); + var stackAlloc = (a0) => (stackAlloc = wasmExports["stackAlloc"])(a0); + var calledRun; + dependenciesFulfilled = function runCaller() { + if (!calledRun) + run(); + if (!calledRun) + dependenciesFulfilled = runCaller; + }; + function run() { + if (runDependencies > 0) { + return; + } + preRun(); + if (runDependencies > 0) { + return; + } + function doRun() { + if (calledRun) + return; + calledRun = true; + Module2["calledRun"] = true; + if (ABORT) + return; + initRuntime(); + readyPromiseResolve(Module2); + if (Module2["onRuntimeInitialized"]) + Module2["onRuntimeInitialized"](); + postRun(); + } + if (Module2["setStatus"]) { + Module2["setStatus"]("Running..."); + setTimeout(function() { + setTimeout(function() { + Module2["setStatus"](""); + }, 1); + doRun(); + }, 1); + } else { + doRun(); + } + } + if (Module2["preInit"]) { + if (typeof Module2["preInit"] == "function") + Module2["preInit"] = [Module2["preInit"]]; + while (Module2["preInit"].length > 0) { + Module2["preInit"].pop()(); + } + } + run(); + return moduleArg.ready; + }; +})(); +var sha256_default = Module; + +// src/vendor/hash-wasm/sha256-wrapper.ts +async function createSHA256(isInsideWorker = false) { + const BUFFER_MAX_SIZE = 8 * 1024 * 1024; + const wasm = isInsideWorker ? ( + // @ts-expect-error WasmModule will be populated inside self object + await self["SHA256WasmModule"]() + ) : await sha256_default(); + const heap = wasm.HEAPU8.subarray(wasm._GetBufferPtr()); + return { + init() { + wasm._Hash_Init(256); + }, + update(data) { + let byteUsed = 0; + while (byteUsed < data.byteLength) { + const bytesLeft = data.byteLength - byteUsed; + const length = Math.min(bytesLeft, BUFFER_MAX_SIZE); + heap.set(data.subarray(byteUsed, byteUsed + length)); + wasm._Hash_Update(length); + byteUsed += length; + } + }, + digest(method) { + if (method !== "hex") { + throw new Error("Only digest hex is supported"); + } + wasm._Hash_Final(); + const result = Array.from(heap.slice(0, 32)); + return result.map((b) => b.toString(16).padStart(2, "0")).join(""); + } + }; +} +function createSHA256WorkerCode() { + return ` + self.addEventListener('message', async (event) => { + const { file } = event.data; + const sha256 = await self.createSHA256(true); + sha256.init(); + const reader = file.stream().getReader(); + const total = file.size; + let bytesDone = 0; + while (true) { + const { done, value } = await reader.read(); + if (done) { + break; + } + sha256.update(value); + bytesDone += value.length; + postMessage({ progress: bytesDone / total }); + } + postMessage({ sha256: sha256.digest('hex') }); + }); + self.SHA256WasmModule = ${sha256_default.toString()}; + self.createSHA256 = ${createSHA256.toString()}; + `; +} +export { + createSHA256, + createSHA256WorkerCode +}; diff --git a/node_modules/@huggingface/hub/dist/src/consts.d.ts b/node_modules/@huggingface/hub/dist/src/consts.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..eb6738efab2fb480c708b5d2a86ae84e3d8f6722 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/consts.d.ts @@ -0,0 +1,2 @@ +export declare const HUB_URL = "https://huggingface.co"; +//# sourceMappingURL=consts.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/consts.d.ts.map b/node_modules/@huggingface/hub/dist/src/consts.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..8533b83498b905f30ebd0a0f2ba4abaf239158f5 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/consts.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../../src/consts.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,2BAA2B,CAAC"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/error.d.ts b/node_modules/@huggingface/hub/dist/src/error.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..ca693abdd9d17e254b26d665401e275c831c8089 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/error.d.ts @@ -0,0 +1,18 @@ +import type { JsonObject } from "./vendor/type-fest/basic"; +export declare function createApiError(response: Response, opts?: { + requestId?: string; + message?: string; +}): Promise; +/** + * Error thrown when an API call to the Hugging Face Hub fails. + */ +export declare class HubApiError extends Error { + statusCode: number; + url: string; + requestId?: string; + data?: JsonObject; + constructor(url: string, statusCode: number, requestId?: string, message?: string); +} +export declare class InvalidApiResponseFormatError extends Error { +} +//# sourceMappingURL=error.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/error.d.ts.map b/node_modules/@huggingface/hub/dist/src/error.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..ec6c608476abf048706f07371abefe7f0d5f028c --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/error.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../src/error.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAE3D,wBAAsB,cAAc,CACnC,QAAQ,EAAE,QAAQ,EAClB,IAAI,CAAC,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,GAC7C,OAAO,CAAC,KAAK,CAAC,CAuBhB;AAED;;GAEG;AACH,qBAAa,WAAY,SAAQ,KAAK;IACrC,UAAU,EAAE,MAAM,CAAC;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,UAAU,CAAC;gBAEN,GAAG,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM;CAOjF;AAED,qBAAa,6BAA8B,SAAQ,KAAK;CAAG"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/index.d.ts b/node_modules/@huggingface/hub/dist/src/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..def842a815dbb31f1ef051f9cae5693975466fc2 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/index.d.ts @@ -0,0 +1,11 @@ +export * from "./lib"; +export type { AccessToken, AccessTokenRole, AuthType, Credentials, PipelineType, RepoDesignation, RepoFullName, RepoId, RepoType, SpaceHardwareFlavor, SpaceResourceConfig, SpaceResourceRequirement, SpaceRuntime, SpaceSdk, SpaceStage, } from "./types/public"; +export { HubApiError, InvalidApiResponseFormatError } from "./error"; +export { HUB_URL } from "./consts"; +/** + * Only exported for E2Es convenience + */ +export { sha256 as __internal_sha256 } from "./utils/sha256"; +export { XetBlob as __internal_XetBlob } from "./utils/XetBlob"; +export type { XetReadToken } from "./utils/XetBlob"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/index.d.ts.map b/node_modules/@huggingface/hub/dist/src/index.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..9c534cdcd688d677eb3c49bdfdcaebac62038dfb --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AAEtB,YAAY,EACX,WAAW,EACX,eAAe,EACf,QAAQ,EACR,WAAW,EACX,YAAY,EACZ,eAAe,EACf,YAAY,EACZ,MAAM,EACN,QAAQ,EACR,mBAAmB,EACnB,mBAAmB,EACnB,wBAAwB,EACxB,YAAY,EACZ,QAAQ,EACR,UAAU,GACV,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,WAAW,EAAE,6BAA6B,EAAE,MAAM,SAAS,CAAC;AACrE,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AACnC;;GAEG;AACH,OAAO,EAAE,MAAM,IAAI,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAChE,YAAY,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/add-collection-item.d.ts b/node_modules/@huggingface/hub/dist/src/lib/add-collection-item.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..941576a00135d9537655b260fc3259bf85a45e17 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/add-collection-item.d.ts @@ -0,0 +1,24 @@ +import type { CredentialsParams } from "../types/public"; +export declare function addCollectionItem(params: { + /** + * The slug of the collection to add the item to. + */ + slug: string; + /** + * The item to add to the collection. + */ + item: { + type: "paper" | "collection" | "space" | "model" | "dataset"; + id: string; + }; + /** + * A note to attach to the item in the collection. The maximum size for a note is 500 characters. + */ + note?: string; + hubUrl?: string; + /** + * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. + */ + fetch?: typeof fetch; +} & Partial): Promise; +//# sourceMappingURL=add-collection-item.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/add-collection-item.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/add-collection-item.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..057031dde233d9f6bed5d00d2bdc213a78710a5a --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/add-collection-item.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"add-collection-item.d.ts","sourceRoot":"","sources":["../../../src/lib/add-collection-item.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAGzD,wBAAsB,iBAAiB,CACtC,MAAM,EAAE;IACP;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,EAAE;QACL,IAAI,EAAE,OAAO,GAAG,YAAY,GAAG,OAAO,GAAG,OAAO,GAAG,SAAS,CAAC;QAC7D,EAAE,EAAE,MAAM,CAAC;KACX,CAAC;IACF;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;CACrB,GAAG,OAAO,CAAC,iBAAiB,CAAC,GAC5B,OAAO,CAAC,IAAI,CAAC,CAsBf"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/add-collection-item.spec.d.ts b/node_modules/@huggingface/hub/dist/src/lib/add-collection-item.spec.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..b087f52d09a11b782a3ea8446e48b90e2495d60c --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/add-collection-item.spec.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=add-collection-item.spec.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/add-collection-item.spec.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/add-collection-item.spec.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..d151aa218acb12542c66125dca851fb1b0e7e711 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/add-collection-item.spec.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"add-collection-item.spec.d.ts","sourceRoot":"","sources":["../../../src/lib/add-collection-item.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/cache-management.d.ts b/node_modules/@huggingface/hub/dist/src/lib/cache-management.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..8112147debe5857120441ed3e4967c3358632d7e --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/cache-management.d.ts @@ -0,0 +1,46 @@ +import type { Stats } from "node:fs"; +import type { RepoType, RepoId } from "../types/public"; +export declare function getHFHubCachePath(): string; +export declare const REPO_ID_SEPARATOR: string; +export declare function getRepoFolderName({ name, type }: RepoId): string; +export interface CachedFileInfo { + path: string; + /** + * Underlying file - which `path` is symlinked to + */ + blob: { + size: number; + path: string; + lastModifiedAt: Date; + lastAccessedAt: Date; + }; +} +export interface CachedRevisionInfo { + commitOid: string; + path: string; + size: number; + files: CachedFileInfo[]; + refs: string[]; + lastModifiedAt: Date; +} +export interface CachedRepoInfo { + id: RepoId; + path: string; + size: number; + filesCount: number; + revisions: CachedRevisionInfo[]; + lastAccessedAt: Date; + lastModifiedAt: Date; +} +export interface HFCacheInfo { + size: number; + repos: CachedRepoInfo[]; + warnings: Error[]; +} +export declare function scanCacheDir(cacheDir?: string | undefined): Promise; +export declare function scanCachedRepo(repoPath: string): Promise; +export declare function scanRefsDir(refsPath: string, refsByHash: Map): Promise; +export declare function scanSnapshotDir(revisionPath: string, cachedFiles: CachedFileInfo[], blobStats: Map): Promise; +export declare function getBlobStat(blobPath: string, blobStats: Map): Promise; +export declare function parseRepoType(type: string): RepoType; +//# sourceMappingURL=cache-management.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/cache-management.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/cache-management.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..039ff9d79da3eac832ed3e6055645339c28cfc83 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/cache-management.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"cache-management.d.ts","sourceRoot":"","sources":["../../../src/lib/cache-management.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAcxD,wBAAgB,iBAAiB,IAAI,MAAM,CAE1C;AAID,eAAO,MAAM,iBAAiB,EAAE,MAAa,CAAC;AAE9C,wBAAgB,iBAAiB,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,MAAM,GAAG,MAAM,CAGhE;AAED,MAAM,WAAW,cAAc;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,EAAE;QACL,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,cAAc,EAAE,IAAI,CAAC;QACrB,cAAc,EAAE,IAAI,CAAC;KACrB,CAAC;CACF;AAED,MAAM,WAAW,kBAAkB;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,IAAI,EAAE,MAAM,EAAE,CAAC;IAEf,cAAc,EAAE,IAAI,CAAC;CACrB;AAED,MAAM,WAAW,cAAc;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,kBAAkB,EAAE,CAAC;IAEhC,cAAc,EAAE,IAAI,CAAC;IACrB,cAAc,EAAE,IAAI,CAAC;CACrB;AAED,MAAM,WAAW,WAAW;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,QAAQ,EAAE,KAAK,EAAE,CAAC;CAClB;AAED,wBAAsB,YAAY,CAAC,QAAQ,GAAE,MAAM,GAAG,SAAqB,GAAG,OAAO,CAAC,WAAW,CAAC,CAwCjG;AAED,wBAAsB,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC,CAwF9E;AAED,wBAAsB,WAAW,CAAC,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAapG;AAED,wBAAsB,eAAe,CACpC,YAAY,EAAE,MAAM,EACpB,WAAW,EAAE,cAAc,EAAE,EAC7B,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE,KAAK,CAAC,GAC3B,OAAO,CAAC,IAAI,CAAC,CAmBf;AAED,wBAAsB,WAAW,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE,KAAK,CAAC,GAAG,OAAO,CAAC,KAAK,CAAC,CAQjG;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,QAAQ,CAWpD"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/cache-management.spec.d.ts b/node_modules/@huggingface/hub/dist/src/lib/cache-management.spec.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..0373b1959aacd93e9de1690903ef3493a839051c --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/cache-management.spec.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=cache-management.spec.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/cache-management.spec.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/cache-management.spec.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..697ad504d66506002f0899cb5e27c7a815e24526 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/cache-management.spec.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"cache-management.spec.d.ts","sourceRoot":"","sources":["../../../src/lib/cache-management.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/check-repo-access.d.ts b/node_modules/@huggingface/hub/dist/src/lib/check-repo-access.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..2d15375d1d1c197a7b3e2e51d95837bcae3c90fe --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/check-repo-access.d.ts @@ -0,0 +1,12 @@ +import type { CredentialsParams, RepoDesignation } from "../types/public"; +/** + * Check if we have read access to a repository. + * + * Throw a {@link HubApiError} error if we don't have access. HubApiError.statusCode will be 401, 403 or 404. + */ +export declare function checkRepoAccess(params: { + repo: RepoDesignation; + hubUrl?: string; + fetch?: typeof fetch; +} & Partial): Promise; +//# sourceMappingURL=check-repo-access.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/check-repo-access.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/check-repo-access.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..3a470c4c75088592242ebf5067f6267badd2f1ef --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/check-repo-access.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"check-repo-access.d.ts","sourceRoot":"","sources":["../../../src/lib/check-repo-access.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAI1E;;;;GAIG;AACH,wBAAsB,eAAe,CACpC,MAAM,EAAE;IACP,IAAI,EAAE,eAAe,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;CACrB,GAAG,OAAO,CAAC,iBAAiB,CAAC,GAC5B,OAAO,CAAC,IAAI,CAAC,CAaf"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/check-repo-access.spec.d.ts b/node_modules/@huggingface/hub/dist/src/lib/check-repo-access.spec.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..0e9067a51472b2defbda225ccee9af890e47b336 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/check-repo-access.spec.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=check-repo-access.spec.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/check-repo-access.spec.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/check-repo-access.spec.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..b92cd17f8306ca5f9559c749dc44ce07655998f3 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/check-repo-access.spec.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"check-repo-access.spec.d.ts","sourceRoot":"","sources":["../../../src/lib/check-repo-access.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/collection-info.d.ts b/node_modules/@huggingface/hub/dist/src/lib/collection-info.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..3ba10e00637508eb6d0c8fa85c4e567387eb8726 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/collection-info.d.ts @@ -0,0 +1,17 @@ +import type { ApiCollectionInfo } from "../types/api/api-collection"; +import type { CredentialsParams } from "../types/public"; +export declare function collectionInfo(params: { + /** + * The slug of the collection. + */ + slug: string; + hubUrl?: string; + /** + * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. + */ + fetch?: typeof fetch; +} & Partial): Promise; +//# sourceMappingURL=collection-info.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/collection-info.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/collection-info.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..ae80cdad1918833b58432da0fb9186a02577c3f3 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/collection-info.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"collection-info.d.ts","sourceRoot":"","sources":["../../../src/lib/collection-info.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAGzD,wBAAsB,cAAc,CACnC,MAAM,EAAE;IACP;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;CACrB,GAAG,OAAO,CAAC,iBAAiB,CAAC,GAC5B,OAAO,CAAC,iBAAiB,GAAG;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CAAC,CAerE"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/collection-info.spec.d.ts b/node_modules/@huggingface/hub/dist/src/lib/collection-info.spec.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..62c27db438f160af07f39c5cc319c320608e09d9 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/collection-info.spec.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=collection-info.spec.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/collection-info.spec.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/collection-info.spec.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..fc80b51de15a77b4e3c259784b0f47c945f9fb06 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/collection-info.spec.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"collection-info.spec.d.ts","sourceRoot":"","sources":["../../../src/lib/collection-info.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/commit.d.ts b/node_modules/@huggingface/hub/dist/src/lib/commit.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..a186098526959c30382a8f07246053c85d367572 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/commit.d.ts @@ -0,0 +1,115 @@ +import type { CredentialsParams, RepoDesignation } from "../types/public"; +export interface CommitDeletedEntry { + operation: "delete"; + path: string; +} +export type ContentSource = Blob | URL; +export interface CommitFile { + operation: "addOrUpdate"; + path: string; + content: ContentSource; +} +/** + * Opitmized when only the beginning or the end of the file is replaced + * + * todo: handle other cases + */ +export interface CommitEditFile { + operation: "edit"; + path: string; + /** Later, will be ContentSource. For now simpler to just handle blobs */ + originalContent: Blob; + edits: Array<{ + /** + * Later, will be ContentSource. For now simpler to just handle blobs + * + * originalContent from [start, end) will be replaced by this + */ + content: Blob; + /** + * The start position of the edit in the original content + */ + start: number; + /** + * The end position of the edit in the original content + * + * originalContent from [start, end) will be replaced by the edit + */ + end: number; + }>; +} +export type CommitOperation = CommitDeletedEntry | CommitFile | CommitEditFile; +export type CommitParams = { + title: string; + description?: string; + repo: RepoDesignation; + operations: CommitOperation[]; + /** @default "main" */ + branch?: string; + /** + * Parent commit. Optional + * + * - When opening a PR: will use parentCommit as the parent commit + * - When committing on a branch: Will make sure that there were no intermediate commits + */ + parentCommit?: string; + isPullRequest?: boolean; + hubUrl?: string; + /** + * Whether to use web workers to compute SHA256 hashes. + * + * @default false + */ + useWebWorkers?: boolean | { + minSize?: number; + poolSize?: number; + }; + /** + * Maximum depth of folders to upload. Files deeper than this will be ignored + * + * @default 5 + */ + maxFolderDepth?: number; + /** + * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. + */ + fetch?: typeof fetch; + abortSignal?: AbortSignal; + /** + * @default true + * + * Use xet protocol: https://huggingface.co/blog/xet-on-the-hub to upload, rather than a basic S3 PUT + */ + useXet?: boolean; +} & Partial; +export interface CommitOutput { + pullRequestUrl?: string; + commit: { + oid: string; + url: string; + }; + hookOutput: string; +} +export type CommitProgressEvent = { + event: "phase"; + phase: "preuploading" | "uploadingLargeFiles" | "committing"; +} | { + event: "fileProgress"; + path: string; + progress: number; + state: "hashing" | "uploading" | "error"; +}; +/** + * Internal function for now, used by commit. + * + * Can be exposed later to offer fine-tuned progress info + * + * CommitOutput is not present for bucket commits + */ +export declare function commitIter(params: CommitParams): AsyncGenerator; +export declare function commitIterBucket(params: CommitParams): AsyncGenerator; +/** + * @returns undefined for bucket uploads, CommitOutput otherwise + */ +export declare function commit(params: CommitParams): Promise; +//# sourceMappingURL=commit.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/commit.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/commit.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..d16623ccf92bb48ca54b370254e79a7428d17b3f --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/commit.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"commit.d.ts","sourceRoot":"","sources":["../../../src/lib/commit.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAqB1E,MAAM,WAAW,kBAAkB;IAClC,SAAS,EAAE,QAAQ,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;CACb;AAED,MAAM,MAAM,aAAa,GAAG,IAAI,GAAG,GAAG,CAAC;AAEvC,MAAM,WAAW,UAAU;IAC1B,SAAS,EAAE,aAAa,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,aAAa,CAAC;CAEvB;AAED;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,yEAAyE;IACzE,eAAe,EAAE,IAAI,CAAC;IACtB,KAAK,EAAE,KAAK,CAAC;QACZ;;;;WAIG;QACH,OAAO,EAAE,IAAI,CAAC;QACd;;WAEG;QACH,KAAK,EAAE,MAAM,C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b,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,SAAS,GAAG,WAAW,GAAG,OAAO,CAAC;CACxC,CAAC;AAEL;;;;;;GAMG;AACH,wBAAuB,UAAU,CAAC,MAAM,EAAE,YAAY,GAAG,cAAc,CAAC,mBAAmB,EAAE,YAAY,GAAG,SAAS,CAAC,CAqiBrH;AAED,wBAAuB,gBAAgB,CAAC,MAAM,EAAE,YAAY,GAAG,cAAc,CAAC,mBAAmB,CAAC,CAyMjG;AAED;;GAEG;AACH,wBAAsB,MAAM,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAAC,YAAY,GAAG,SAAS,CAAC,CAoBpF"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/commit.spec.d.ts b/node_modules/@huggingface/hub/dist/src/lib/commit.spec.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..fb66fc5a53dcf9f2ec7d34ffb5aed8ae2bbe7d7c --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/commit.spec.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=commit.spec.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/commit.spec.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/commit.spec.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..f5b06e5691c53eb723cec2cbe573b5a48bba6989 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/commit.spec.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"commit.spec.d.ts","sourceRoot":"","sources":["../../../src/lib/commit.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/count-commits.d.ts b/node_modules/@huggingface/hub/dist/src/lib/count-commits.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..e3418916f35b778acfb2d8d436bcc669a9f80f23 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/count-commits.d.ts @@ -0,0 +1,11 @@ +import type { CredentialsParams, RepoDesignation } from "../types/public"; +export declare function countCommits(params: { + repo: RepoDesignation; + /** + * Revision to list commits from. Defaults to the default branch. + */ + revision?: string; + hubUrl?: string; + fetch?: typeof fetch; +} & Partial): Promise; +//# sourceMappingURL=count-commits.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/count-commits.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/count-commits.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..159002e1f44df1d8e551f2fb06bcd2152215b1bb --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/count-commits.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"count-commits.d.ts","sourceRoot":"","sources":["../../../src/lib/count-commits.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAI1E,wBAAsB,YAAY,CACjC,MAAM,EAAE;IACP,IAAI,EAAE,eAAe,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;CACrB,GAAG,OAAO,CAAC,iBAAiB,CAAC,GAC5B,OAAO,CAAC,MAAM,CAAC,CAkBjB"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/count-commits.spec.d.ts b/node_modules/@huggingface/hub/dist/src/lib/count-commits.spec.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..0a2672397b44dafd9085dd324362e025f69b8156 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/count-commits.spec.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=count-commits.spec.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/count-commits.spec.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/count-commits.spec.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..3c5c244c038c12851531bac47c3f05a9a4a630ba --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/count-commits.spec.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"count-commits.spec.d.ts","sourceRoot":"","sources":["../../../src/lib/count-commits.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/create-branch.d.ts b/node_modules/@huggingface/hub/dist/src/lib/create-branch.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..6b30a187a6690d6348f218555f7b74949d1cd127 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/create-branch.d.ts @@ -0,0 +1,28 @@ +import type { AccessToken, RepoDesignation } from "../types/public"; +export declare function createBranch(params: { + repo: RepoDesignation; + /** + * Revision to create the branch from. Defaults to the default branch. + * + * Use empty: true to create an empty branch. + */ + revision?: string; + hubUrl?: string; + accessToken?: AccessToken; + fetch?: typeof fetch; + /** + * The name of the branch to create + */ + branch: string; + /** + * Use this to create an empty branch, with no commits. + */ + empty?: boolean; + /** + * Use this to overwrite the branch if it already exists. + * + * If you only specify `overwrite` and no `revision`/`empty`, and the branch already exists, it will be a no-op. + */ + overwrite?: boolean; +}): Promise; +//# sourceMappingURL=create-branch.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/create-branch.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/create-branch.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..d58e407814418eb6663d5375d5d7750280683a03 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/create-branch.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"create-branch.d.ts","sourceRoot":"","sources":["../../../src/lib/create-branch.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAGpE,wBAAsB,YAAY,CAAC,MAAM,EAAE;IAC1C,IAAI,EAAE,eAAe,CAAC;IACtB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;IACrB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,OAAO,CAAC,IAAI,CAAC,CAuBhB"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/create-branch.spec.d.ts b/node_modules/@huggingface/hub/dist/src/lib/create-branch.spec.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..b99f6b76f298288324555588ff1dff86c067f334 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/create-branch.spec.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=create-branch.spec.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/create-branch.spec.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/create-branch.spec.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..e8f81a4ce52abfa6142e4627f76c66c941a0c37b --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/create-branch.spec.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"create-branch.spec.d.ts","sourceRoot":"","sources":["../../../src/lib/create-branch.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/create-collection.d.ts b/node_modules/@huggingface/hub/dist/src/lib/create-collection.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..0ece694bb2b107f060b84bb2920ce004b6e09cbc --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/create-collection.d.ts @@ -0,0 +1,13 @@ +import type { ApiCreateCollectionPayload } from "../types/api/api-create-collection"; +import type { CredentialsParams } from "../types/public"; +export declare function createCollection(params: { + collection: ApiCreateCollectionPayload; + hubUrl?: string; + /** + * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. + */ + fetch?: typeof fetch; +} & Partial): Promise<{ + slug: string; +}>; +//# sourceMappingURL=create-collection.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/create-collection.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/create-collection.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..3a50e67dded85691dbd1aa8c1d434d7b37ce51c2 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/create-collection.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"create-collection.d.ts","sourceRoot":"","sources":["../../../src/lib/create-collection.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AACrF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAGzD,wBAAsB,gBAAgB,CACrC,MAAM,EAAE;IACP,UAAU,EAAE,0BAA0B,CAAC;IACvC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;CACrB,GAAG,OAAO,CAAC,iBAAiB,CAAC,GAC5B,OAAO,CAAC;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC,CAmB3B"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/create-collection.spec.d.ts b/node_modules/@huggingface/hub/dist/src/lib/create-collection.spec.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..6ab3fcced4e0caed608efad803ea292e12460ae2 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/create-collection.spec.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=create-collection.spec.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/create-collection.spec.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/create-collection.spec.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..3c5a4027bdeeba2aa856a7cf0c8039c76959d44c --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/create-collection.spec.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"create-collection.spec.d.ts","sourceRoot":"","sources":["../../../src/lib/create-collection.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/create-repo.d.ts b/node_modules/@huggingface/hub/dist/src/lib/create-repo.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..367e6ff3763909bf1b92e2513cd1f8cf45ac3579 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/create-repo.d.ts @@ -0,0 +1,31 @@ +import type { CredentialsParams, RepoDesignation, SpaceSdk } from "../types/public"; +export declare function createRepo(params: { + repo: RepoDesignation; + /** + * If unset, will follow the organization's default setting. (typically public, except for some Enterprise organizations) + */ + private?: boolean; + resourceGroupId?: string; + /** + * Does not work for buckets + */ + license?: string; + /** + * Only a few lightweight files are supported at repo creation - and not for buckets + */ + files?: Array<{ + content: ArrayBuffer | Blob; + path: string; + }>; + /** @required for when {@link repo.type} === "space" */ + sdk?: SpaceSdk; + hubUrl?: string; + /** + * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. + */ + fetch?: typeof fetch; +} & CredentialsParams): Promise<{ + repoUrl: string; + id: string; +}>; +//# sourceMappingURL=create-repo.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/create-repo.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/create-repo.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..ac5716f2e55dce3321d1eb31f70bbb61903cfaae --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/create-repo.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"create-repo.d.ts","sourceRoot":"","sources":["../../../src/lib/create-repo.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAKpF,wBAAsB,UAAU,CAC/B,MAAM,EAAE;IACP,IAAI,EAAE,eAAe,CAAC;IACtB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;QAAE,OAAO,EAAE,WAAW,GAAG,IAAI,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC7D,uDAAuD;IACvD,GAAG,CAAC,EAAE,QAAQ,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;CACrB,GAAG,iBAAiB,GACnB,OAAO,CAAC;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC,CA+D1C"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/create-repo.spec.d.ts b/node_modules/@huggingface/hub/dist/src/lib/create-repo.spec.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..270ba5d1fa0472bccb38f73d4382cf58355ec243 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/create-repo.spec.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=create-repo.spec.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/create-repo.spec.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/create-repo.spec.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..a7c90fdf162621b4df82e2c275bfa6c03a65192a --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/create-repo.spec.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"create-repo.spec.d.ts","sourceRoot":"","sources":["../../../src/lib/create-repo.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/dataset-info.d.ts b/node_modules/@huggingface/hub/dist/src/lib/dataset-info.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..491a5db3066f6d2937156c6dc19b9aa129bbfc64 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/dataset-info.d.ts @@ -0,0 +1,17 @@ +import type { ApiDatasetInfo } from "../types/api/api-dataset"; +import type { CredentialsParams } from "../types/public"; +import { type DATASET_EXPANDABLE_KEYS, DATASET_EXPAND_KEYS, type DatasetEntry } from "./list-datasets"; +export declare function datasetInfo = never>(params: { + name: string; + hubUrl?: string; + additionalFields?: T[]; + /** + * An optional Git revision id which can be a branch name, a tag, or a commit hash. + */ + revision?: string; + /** + * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. + */ + fetch?: typeof fetch; +} & Partial): Promise>; +//# sourceMappingURL=dataset-info.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/dataset-info.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/dataset-info.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..fcc0f07cc9086f0f64d2690cf2a1c3d9ef737d78 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/dataset-info.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"dataset-info.d.ts","sourceRoot":"","sources":["../../../src/lib/dataset-info.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAGzD,OAAO,EAAE,KAAK,uBAAuB,EAAE,mBAAmB,EAAE,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEvG,wBAAsB,WAAW,CAChC,KAAK,CAAC,CAAC,SAAS,OAAO,CAAC,CAAC,OAAO,uBAAuB,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,KAAK,EAE/G,MAAM,EAAE;IACP,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,gBAAgB,CAAC,EAAE,CAAC,EAAE,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;CACrB,GAAG,OAAO,CAAC,iBAAiB,CAAC,GAC5B,OAAO,CAAC,YAAY,GAAG,IAAI,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC,CAmCjD"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/dataset-info.spec.d.ts b/node_modules/@huggingface/hub/dist/src/lib/dataset-info.spec.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..77b2e5264179c0963a1a5390b306ae4b438b029e --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/dataset-info.spec.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=dataset-info.spec.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/dataset-info.spec.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/dataset-info.spec.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..4d4065e192dfa1b446e01f2118d65c66d363138f --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/dataset-info.spec.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"dataset-info.spec.d.ts","sourceRoot":"","sources":["../../../src/lib/dataset-info.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/delete-branch.d.ts b/node_modules/@huggingface/hub/dist/src/lib/delete-branch.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..05c3ea4b8c22549c9c3fec1263f104e79d79781c --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/delete-branch.d.ts @@ -0,0 +1,12 @@ +import type { AccessToken, RepoDesignation } from "../types/public"; +export declare function deleteBranch(params: { + repo: RepoDesignation; + /** + * The name of the branch to delete + */ + branch: string; + hubUrl?: string; + accessToken?: AccessToken; + fetch?: typeof fetch; +}): Promise; +//# sourceMappingURL=delete-branch.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/delete-branch.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/delete-branch.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..0f892bf0613efd665aa95a675841133dcaf59cc2 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/delete-branch.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"delete-branch.d.ts","sourceRoot":"","sources":["../../../src/lib/delete-branch.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAGpE,wBAAsB,YAAY,CAAC,MAAM,EAAE;IAC1C,IAAI,EAAE,eAAe,CAAC;IACtB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;CACrB,GAAG,OAAO,CAAC,IAAI,CAAC,CAiBhB"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/delete-branch.spec.d.ts b/node_modules/@huggingface/hub/dist/src/lib/delete-branch.spec.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..cde6a23ddb883aea225dbd8aaa31f41de3b6e651 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/delete-branch.spec.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=delete-branch.spec.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/delete-branch.spec.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/delete-branch.spec.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..95303a80b82dcb2584a8fbd0e2f8dfe985f73ee8 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/delete-branch.spec.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"delete-branch.spec.d.ts","sourceRoot":"","sources":["../../../src/lib/delete-branch.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/delete-collection-item.d.ts b/node_modules/@huggingface/hub/dist/src/lib/delete-collection-item.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..c484ea53adabcb94f0cedfe4f688f8597a1824d5 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/delete-collection-item.d.ts @@ -0,0 +1,18 @@ +import type { CredentialsParams } from "../types/public"; +export declare function deleteCollectionItem(params: { + /** + * The slug of the collection to delete the item from. + */ + slug: string; + /** + * The item object id which is different from the repo_id/paper_id provided when adding the item to the collection. + * This should be the _id property of the item. + */ + itemId: string; + hubUrl?: string; + /** + * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. + */ + fetch?: typeof fetch; +} & Partial): Promise; +//# sourceMappingURL=delete-collection-item.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/delete-collection-item.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/delete-collection-item.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..6b7d1d81d22c7d92f4e4f17bf727b5689c462a08 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/delete-collection-item.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"delete-collection-item.d.ts","sourceRoot":"","sources":["../../../src/lib/delete-collection-item.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAGzD,wBAAsB,oBAAoB,CACzC,MAAM,EAAE;IACP;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;CACrB,GAAG,OAAO,CAAC,iBAAiB,CAAC,GAC5B,OAAO,CAAC,IAAI,CAAC,CAiBf"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/delete-collection.d.ts b/node_modules/@huggingface/hub/dist/src/lib/delete-collection.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..5185848c35d0849e07a6779a02c6d308453b9707 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/delete-collection.d.ts @@ -0,0 +1,13 @@ +import type { CredentialsParams } from "../types/public"; +export declare function deleteCollection(params: { + /** + * The slug of the collection to delete. + */ + slug: string; + hubUrl?: string; + /** + * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. + */ + fetch?: typeof fetch; +} & Partial): Promise; +//# sourceMappingURL=delete-collection.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/delete-collection.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/delete-collection.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..c4eab52ce13111c2d10aa561d90e3d50df59189d --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/delete-collection.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"delete-collection.d.ts","sourceRoot":"","sources":["../../../src/lib/delete-collection.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAGzD,wBAAsB,gBAAgB,CACrC,MAAM,EAAE;IACP;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;CACrB,GAAG,OAAO,CAAC,iBAAiB,CAAC,GAC5B,OAAO,CAAC,IAAI,CAAC,CAkBf"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/delete-file.d.ts b/node_modules/@huggingface/hub/dist/src/lib/delete-file.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..f392e5c9736169deb1e339cc32ace3865bab8212 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/delete-file.d.ts @@ -0,0 +1,14 @@ +import type { CredentialsParams } from "../types/public"; +import type { CommitOutput, CommitParams } from "./commit"; +export declare function deleteFile(params: { + repo: CommitParams["repo"]; + path: string; + commitTitle?: CommitParams["title"]; + commitDescription?: CommitParams["description"]; + hubUrl?: CommitParams["hubUrl"]; + fetch?: CommitParams["fetch"]; + branch?: CommitParams["branch"]; + isPullRequest?: CommitParams["isPullRequest"]; + parentCommit?: CommitParams["parentCommit"]; +} & CredentialsParams): Promise; +//# sourceMappingURL=delete-file.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/delete-file.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/delete-file.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..6725759323e93a3d747349a34827915249d7d9e7 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/delete-file.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"delete-file.d.ts","sourceRoot":"","sources":["../../../src/lib/delete-file.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAG3D,wBAAgB,UAAU,CACzB,MAAM,EAAE;IACP,IAAI,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,YAAY,CAAC,OAAO,CAAC,CAAC;IACpC,iBAAiB,CAAC,EAAE,YAAY,CAAC,aAAa,CAAC,CAAC;IAChD,MAAM,CAAC,EAAE,YAAY,CAAC,QAAQ,CAAC,CAAC;IAChC,KAAK,CAAC,EAAE,YAAY,CAAC,OAAO,CAAC,CAAC;IAC9B,MAAM,CAAC,EAAE,YAAY,CAAC,QAAQ,CAAC,CAAC;IAChC,aAAa,CAAC,EAAE,YAAY,CAAC,eAAe,CAAC,CAAC;IAC9C,YAAY,CAAC,EAAE,YAAY,CAAC,cAAc,CAAC,CAAC;CAC5C,GAAG,iBAAiB,GACnB,OAAO,CAAC,YAAY,GAAG,SAAS,CAAC,CAkBnC"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/delete-file.spec.d.ts b/node_modules/@huggingface/hub/dist/src/lib/delete-file.spec.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..de56d5e1937527ceaf00929900d0e63eae538847 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/delete-file.spec.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=delete-file.spec.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/delete-file.spec.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/delete-file.spec.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..76730de16109dc557c82460b6fa2ffffc4dd0333 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/delete-file.spec.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"delete-file.spec.d.ts","sourceRoot":"","sources":["../../../src/lib/delete-file.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/delete-files.d.ts b/node_modules/@huggingface/hub/dist/src/lib/delete-files.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..d2e1b65049ecc4e75a6154dcb3b63bed72c215bc --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/delete-files.d.ts @@ -0,0 +1,14 @@ +import type { CredentialsParams } from "../types/public"; +import type { CommitOutput, CommitParams } from "./commit"; +export declare function deleteFiles(params: { + repo: CommitParams["repo"]; + paths: string[]; + commitTitle?: CommitParams["title"]; + commitDescription?: CommitParams["description"]; + hubUrl?: CommitParams["hubUrl"]; + branch?: CommitParams["branch"]; + isPullRequest?: CommitParams["isPullRequest"]; + parentCommit?: CommitParams["parentCommit"]; + fetch?: CommitParams["fetch"]; +} & CredentialsParams): Promise; +//# sourceMappingURL=delete-files.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/delete-files.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/delete-files.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..a5fedf1663814906320c1cb024082893aa8e435f --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/delete-files.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"delete-files.d.ts","sourceRoot":"","sources":["../../../src/lib/delete-files.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAG3D,wBAAgB,WAAW,CAC1B,MAAM,EAAE;IACP,IAAI,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAC3B,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,WAAW,CAAC,EAAE,YAAY,CAAC,OAAO,CAAC,CAAC;IACpC,iBAAiB,CAAC,EAAE,YAAY,CAAC,aAAa,CAAC,CAAC;IAChD,MAAM,CAAC,EAAE,YAAY,CAAC,QAAQ,CAAC,CAAC;IAChC,MAAM,CAAC,EAAE,YAAY,CAAC,QAAQ,CAAC,CAAC;IAChC,aAAa,CAAC,EAAE,YAAY,CAAC,eAAe,CAAC,CAAC;IAC9C,YAAY,CAAC,EAAE,YAAY,CAAC,cAAc,CAAC,CAAC;IAC5C,KAAK,CAAC,EAAE,YAAY,CAAC,OAAO,CAAC,CAAC;CAC9B,GAAG,iBAAiB,GACnB,OAAO,CAAC,YAAY,GAAG,SAAS,CAAC,CAgBnC"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/delete-files.spec.d.ts b/node_modules/@huggingface/hub/dist/src/lib/delete-files.spec.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..37e127b0a03951796d2632f2dabc42ad830f6bfc --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/delete-files.spec.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=delete-files.spec.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/delete-files.spec.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/delete-files.spec.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..ddfacd00b9a937d6137521d7e6eacce2bd70b8dc --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/delete-files.spec.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"delete-files.spec.d.ts","sourceRoot":"","sources":["../../../src/lib/delete-files.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/delete-repo.d.ts b/node_modules/@huggingface/hub/dist/src/lib/delete-repo.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..8065e73476d6c31b9ee9826967a83fb2fe96dc4e --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/delete-repo.d.ts @@ -0,0 +1,10 @@ +import type { CredentialsParams, RepoDesignation } from "../types/public"; +export declare function deleteRepo(params: { + repo: RepoDesignation; + hubUrl?: string; + /** + * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. + */ + fetch?: typeof fetch; +} & CredentialsParams): Promise; +//# sourceMappingURL=delete-repo.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/delete-repo.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/delete-repo.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..c9188a8b02e215341be8918469ff7bacfd243dcc --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/delete-repo.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"delete-repo.d.ts","sourceRoot":"","sources":["../../../src/lib/delete-repo.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAI1E,wBAAsB,UAAU,CAC/B,MAAM,EAAE;IACP,IAAI,EAAE,eAAe,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;CACrB,GAAG,iBAAiB,GACnB,OAAO,CAAC,IAAI,CAAC,CA8Bf"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/download-file-to-cache-dir.d.ts b/node_modules/@huggingface/hub/dist/src/lib/download-file-to-cache-dir.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..0d296592fd8bd4a60b45c8223f1b3ee8a939eba7 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/download-file-to-cache-dir.d.ts @@ -0,0 +1,30 @@ +import type { CredentialsParams, RepoDesignation } from "../types/public"; +export declare const REGEX_COMMIT_HASH: RegExp; +/** + * Download a given file if it's not already present in the local cache. + * @param params + * @return the symlink to the blob object + */ +export declare function downloadFileToCacheDir(params: { + repo: RepoDesignation; + path: string; + /** + * If true, will download the raw git file. + * + * For example, when calling on a file stored with Git LFS, the pointer file will be downloaded instead. + */ + raw?: boolean; + /** + * An optional Git revision id which can be a branch name, a tag, or a commit hash. + * + * @default "main" + */ + revision?: string; + hubUrl?: string; + cacheDir?: string; + /** + * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. + */ + fetch?: typeof fetch; +} & Partial): Promise; +//# sourceMappingURL=download-file-to-cache-dir.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/download-file-to-cache-dir.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/download-file-to-cache-dir.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..681a9976256f9dcf9d9df690f7ebecf2a9a9e47e --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/download-file-to-cache-dir.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"download-file-to-cache-dir.d.ts","sourceRoot":"","sources":["../../../src/lib/download-file-to-cache-dir.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAS1E,eAAO,MAAM,iBAAiB,EAAE,MAAqC,CAAC;AAyBtE;;;;GAIG;AACH,wBAAsB,sBAAsB,CAC3C,MAAM,EAAE;IACP,IAAI,EAAE,eAAe,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,GAAG,CAAC,EAAE,OAAO,CAAC;IACd;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;CACrB,GAAG,OAAO,CAAC,iBAAiB,CAAC,GAC5B,OAAO,CAAC,MAAM,CAAC,CAsEjB"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/download-file-to-cache-dir.spec.d.ts b/node_modules/@huggingface/hub/dist/src/lib/download-file-to-cache-dir.spec.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..877fde63e081bf510b9659e3f2c17210d9370779 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/download-file-to-cache-dir.spec.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=download-file-to-cache-dir.spec.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/download-file-to-cache-dir.spec.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/download-file-to-cache-dir.spec.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..a4a149600740909d75e4350a6210ad004cf9f249 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/download-file-to-cache-dir.spec.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"download-file-to-cache-dir.spec.d.ts","sourceRoot":"","sources":["../../../src/lib/download-file-to-cache-dir.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/download-file.d.ts b/node_modules/@huggingface/hub/dist/src/lib/download-file.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..be551a0d89f55287283d679ecd20a3f012942abe --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/download-file.d.ts @@ -0,0 +1,43 @@ +import type { CredentialsParams, RepoDesignation } from "../types/public"; +import type { XetReadToken } from "../utils/XetBlob"; +import type { FileDownloadInfoOutput } from "./file-download-info"; +/** + * @returns null when the file doesn't exist + */ +export declare function downloadFile(params: { + repo: RepoDesignation; + path: string; + /** + * If true, will download the raw git file. + * + * For example, when calling on a file stored with Git LFS, the pointer file will be downloaded instead. + */ + raw?: boolean; + /** + * An optional Git revision id which can be a branch name, a tag, or a commit hash. + * + * @default "main" + */ + revision?: string; + hubUrl?: string; + /** + * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. + */ + fetch?: typeof fetch; + /** + * Whether to use the xet protocol to download the file (if applicable). + * + * When an object with `readToken` is provided along with `downloadInfo`, + * the xet download can skip the token refresh roundtrip. + * + * @default true + */ + xet?: boolean | { + readToken: XetReadToken; + }; + /** + * Can save an http request if provided + */ + downloadInfo?: FileDownloadInfoOutput; +} & Partial): Promise; +//# sourceMappingURL=download-file.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/download-file.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/download-file.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..5c4c3048d3422c8494f3f1dbb7ea75934e536f22 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/download-file.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"download-file.d.ts","sourceRoot":"","sources":["../../../src/lib/download-file.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAI1E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAGnE;;GAEG;AACH,wBAAsB,YAAY,CACjC,MAAM,EAAE;IACP,IAAI,EAAE,eAAe,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,GAAG,CAAC,EAAE,OAAO,CAAC;IACd;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;IACrB;;;;;;;OAOG;IACH,GAAG,CAAC,EAAE,OAAO,GAAG;QAAE,SAAS,EAAE,YAAY,CAAA;KAAE,CAAC;IAC5C;;OAEG;IACH,YAAY,CAAC,EAAE,sBAAsB,CAAC;CACtC,GAAG,OAAO,CAAC,iBAAiB,CAAC,GAC5B,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC,CA+BtB"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/download-file.spec.d.ts b/node_modules/@huggingface/hub/dist/src/lib/download-file.spec.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..4a3b1c59ec7e6cf069d6bcdcd0a780c972be1cda --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/download-file.spec.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=download-file.spec.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/download-file.spec.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/download-file.spec.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..6b111e57f0768fd6d4c07656fd8f0bfe296f1f98 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/download-file.spec.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"download-file.spec.d.ts","sourceRoot":"","sources":["../../../src/lib/download-file.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/file-download-info.d.ts b/node_modules/@huggingface/hub/dist/src/lib/file-download-info.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..8fc52c1a1d3ef04dd4dbf57e274791acb2f401fd --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/file-download-info.d.ts @@ -0,0 +1,39 @@ +import type { CredentialsParams, RepoDesignation } from "../types/public"; +export interface XetFileInfo { + hash: string; + refreshUrl: URL; + /** + * Can be directly used instead of the hash. + */ + reconstructionUrl: URL; +} +export interface FileDownloadInfoOutput { + size: number; + etag: string; + xet?: XetFileInfo; + url: string; +} +/** + * @returns null when the file doesn't exist + */ +export declare function fileDownloadInfo(params: { + repo: RepoDesignation; + path: string; + revision?: string; + hubUrl?: string; + /** + * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. + */ + fetch?: typeof fetch; + /** + * To get the raw pointer file behind a LFS file + */ + raw?: boolean; + /** + * To avoid the content-disposition header in the `downloadLink` for LFS files + * + * So that on browsers you can use the URL in an iframe for example + */ + noContentDisposition?: boolean; +} & Partial): Promise; +//# sourceMappingURL=file-download-info.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/file-download-info.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/file-download-info.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..db6c7aa4d493593aa0d7cb8cb19e57069d459480 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/file-download-info.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"file-download-info.d.ts","sourceRoot":"","sources":["../../../src/lib/file-download-info.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAK1E,MAAM,WAAW,WAAW;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,GAAG,CAAC;IAChB;;OAEG;IACH,iBAAiB,EAAE,GAAG,CAAC;CACvB;AAED,MAAM,WAAW,sBAAsB;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,WAAW,CAAC;IAElB,GAAG,EAAE,MAAM,CAAC;CACZ;AACD;;GAEG;AACH,wBAAsB,gBAAgB,CACrC,MAAM,EAAE;IACP,IAAI,EAAE,eAAe,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;IACrB;;OAEG;IACH,GAAG,CAAC,EAAE,OAAO,CAAC;IACd;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAC/B,GAAG,OAAO,CAAC,iBAAiB,CAAC,GAC5B,OAAO,CAAC,sBAAsB,GAAG,IAAI,CAAC,CAuGxC"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/file-download-info.spec.d.ts b/node_modules/@huggingface/hub/dist/src/lib/file-download-info.spec.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..2fca4384f7e94c8c0cfb38fb2ceddbb949459aa5 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/file-download-info.spec.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=file-download-info.spec.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/file-download-info.spec.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/file-download-info.spec.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..bca08215540bb7a16469114e160a3e99bc9f2365 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/file-download-info.spec.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"file-download-info.spec.d.ts","sourceRoot":"","sources":["../../../src/lib/file-download-info.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/file-exists.d.ts b/node_modules/@huggingface/hub/dist/src/lib/file-exists.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..1e546f37098ba44544c5c6dae0c95c2fd571fd5d --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/file-exists.d.ts @@ -0,0 +1,12 @@ +import type { CredentialsParams, RepoDesignation } from "../types/public"; +export declare function fileExists(params: { + repo: RepoDesignation; + path: string; + revision?: string; + hubUrl?: string; + /** + * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. + */ + fetch?: typeof fetch; +} & Partial): Promise; +//# sourceMappingURL=file-exists.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/file-exists.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/file-exists.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..147ab626a8ebf91cc7de60a27a55d2868cd04ef6 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/file-exists.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"file-exists.d.ts","sourceRoot":"","sources":["../../../src/lib/file-exists.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAI1E,wBAAsB,UAAU,CAC/B,MAAM,EAAE;IACP,IAAI,EAAE,eAAe,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;CACrB,GAAG,OAAO,CAAC,iBAAiB,CAAC,GAC5B,OAAO,CAAC,OAAO,CAAC,CAuBlB"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/file-exists.spec.d.ts b/node_modules/@huggingface/hub/dist/src/lib/file-exists.spec.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..c153d9c7630e5ca4510a7664a551fe0fa77614a8 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/file-exists.spec.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=file-exists.spec.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/file-exists.spec.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/file-exists.spec.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..6560306e2c341b5262a9a193d86cc8b917f2f4c5 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/file-exists.spec.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"file-exists.spec.d.ts","sourceRoot":"","sources":["../../../src/lib/file-exists.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/index.d.ts b/node_modules/@huggingface/hub/dist/src/lib/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..4c16bb8e342f47705af7e7f1685fb4abeea45331 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/index.d.ts @@ -0,0 +1,37 @@ +export * from "./cache-management"; +export * from "./check-repo-access"; +export * from "./commit"; +export * from "./count-commits"; +export * from "./create-repo"; +export * from "./create-branch"; +export * from "./create-collection"; +export * from "./dataset-info"; +export * from "./delete-branch"; +export * from "./delete-file"; +export * from "./delete-files"; +export * from "./delete-repo"; +export * from "./delete-collection"; +export * from "./download-file"; +export * from "./download-file-to-cache-dir"; +export * from "./file-download-info"; +export * from "./file-exists"; +export * from "./jobs"; +export * from "./list-commits"; +export * from "./list-datasets"; +export * from "./list-files"; +export * from "./list-models"; +export * from "./list-spaces"; +export * from "./list-collections"; +export * from "./model-info"; +export * from "./oauth-handle-redirect"; +export * from "./oauth-login-url"; +export * from "./parse-safetensors-metadata"; +export * from "./paths-info"; +export * from "./repo-exists"; +export * from "./snapshot-download"; +export * from "./space-info"; +export * from "./upload-file"; +export * from "./upload-files"; +export * from "./upload-files-with-progress"; +export * from "./who-am-i"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/index.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/index.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..38d18984131eb1680ac2a888d01cbe5487c908b7 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,QAAQ,CAAC;AACvB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,YAAY,CAAC"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/jobs/cancel-job.d.ts b/node_modules/@huggingface/hub/dist/src/lib/jobs/cancel-job.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..64ed7fac07f6314e967304b1592d02a9900f7767 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/jobs/cancel-job.d.ts @@ -0,0 +1,21 @@ +import type { CredentialsParams } from "../../types/public"; +import type { ApiJob } from "../../types/api/api-jobs"; +/** + * Cancel a job. + */ +export declare function cancelJob(params: { + /** + * The namespace (username or organization name) + */ + namespace: string; + /** + * The job ID + */ + jobId: string; + hubUrl?: string; + /** + * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. + */ + fetch?: typeof fetch; +} & CredentialsParams): Promise; +//# sourceMappingURL=cancel-job.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/jobs/cancel-job.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/jobs/cancel-job.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..042c4d7a907865b590f47d168242e86c74dab5bc --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/jobs/cancel-job.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"cancel-job.d.ts","sourceRoot":"","sources":["../../../../src/lib/jobs/cancel-job.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAE5D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAEvD;;GAEG;AACH,wBAAsB,SAAS,CAC9B,MAAM,EAAE;IACP;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;CACrB,GAAG,iBAAiB,GACnB,OAAO,CAAC,MAAM,CAAC,CAmBjB"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/jobs/create-scheduled-job.d.ts b/node_modules/@huggingface/hub/dist/src/lib/jobs/create-scheduled-job.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..9d6ccb2212d167dd4e6147d385d31d8a29c8732d --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/jobs/create-scheduled-job.d.ts @@ -0,0 +1,17 @@ +import type { CredentialsParams } from "../../types/public"; +import type { ApiScheduledJob, CreateScheduledJobOptions } from "../../types/api/api-jobs"; +/** + * Create a scheduled job. + */ +export declare function createScheduledJob(params: { + /** + * The namespace (username or organization name) + */ + namespace: string; + hubUrl?: string; + /** + * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. + */ + fetch?: typeof fetch; +} & CreateScheduledJobOptions & CredentialsParams): Promise; +//# sourceMappingURL=create-scheduled-job.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/jobs/create-scheduled-job.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/jobs/create-scheduled-job.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..457b99239f333bcb2bcafa6aff3d638462227c62 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/jobs/create-scheduled-job.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"create-scheduled-job.d.ts","sourceRoot":"","sources":["../../../../src/lib/jobs/create-scheduled-job.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAE5D,OAAO,KAAK,EAAE,eAAe,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAE3F;;GAEG;AACH,wBAAsB,kBAAkB,CACvC,MAAM,EAAE;IACP;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;CACrB,GAAG,yBAAyB,GAC5B,iBAAiB,GAChB,OAAO,CAAC,eAAe,CAAC,CA8D1B"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/jobs/delete-scheduled-job.d.ts b/node_modules/@huggingface/hub/dist/src/lib/jobs/delete-scheduled-job.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..5509893ed3adb64006ed1b92735dcdcd7c142687 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/jobs/delete-scheduled-job.d.ts @@ -0,0 +1,20 @@ +import type { CredentialsParams } from "../../types/public"; +/** + * Delete a scheduled job. + */ +export declare function deleteScheduledJob(params: { + /** + * The namespace (username or organization name) + */ + namespace: string; + /** + * The scheduled job ID + */ + jobId: string; + hubUrl?: string; + /** + * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. + */ + fetch?: typeof fetch; +} & CredentialsParams): Promise; +//# sourceMappingURL=delete-scheduled-job.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/jobs/delete-scheduled-job.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/jobs/delete-scheduled-job.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..6fcff09479eb30134f6cf967305c3a705468bb46 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/jobs/delete-scheduled-job.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"delete-scheduled-job.d.ts","sourceRoot":"","sources":["../../../../src/lib/jobs/delete-scheduled-job.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAG5D;;GAEG;AACH,wBAAsB,kBAAkB,CACvC,MAAM,EAAE;IACP;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;CACrB,GAAG,iBAAiB,GACnB,OAAO,CAAC,IAAI,CAAC,CAiBf"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/jobs/duplicate-job.d.ts b/node_modules/@huggingface/hub/dist/src/lib/jobs/duplicate-job.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..931cc533c4d1989e7d0c73440ccc0929ca19107a --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/jobs/duplicate-job.d.ts @@ -0,0 +1,21 @@ +import type { CredentialsParams } from "../../types/public"; +import type { ApiJob } from "../../types/api/api-jobs"; +/** + * Duplicate a job (re-run with the same spec). + */ +export declare function duplicateJob(params: { + /** + * The namespace (username or organization name) + */ + namespace: string; + /** + * The job ID to duplicate + */ + jobId: string; + hubUrl?: string; + /** + * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. + */ + fetch?: typeof fetch; +} & CredentialsParams): Promise; +//# sourceMappingURL=duplicate-job.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/jobs/duplicate-job.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/jobs/duplicate-job.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..01b0a15c2eed2bdcf2d8292687c9443bd44587ec --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/jobs/duplicate-job.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"duplicate-job.d.ts","sourceRoot":"","sources":["../../../../src/lib/jobs/duplicate-job.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAE5D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAEvD;;GAEG;AACH,wBAAsB,YAAY,CACjC,MAAM,EAAE;IACP;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;CACrB,GAAG,iBAAiB,GACnB,OAAO,CAAC,MAAM,CAAC,CAmBjB"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/jobs/get-job.d.ts b/node_modules/@huggingface/hub/dist/src/lib/jobs/get-job.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..4a578f0faa6d365c2d9f2ff4a5287496945a8751 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/jobs/get-job.d.ts @@ -0,0 +1,21 @@ +import type { CredentialsParams } from "../../types/public"; +import type { ApiJob } from "../../types/api/api-jobs"; +/** + * Get a specific job by ID. + */ +export declare function getJob(params: { + /** + * The namespace (username or organization name) + */ + namespace: string; + /** + * The job ID + */ + jobId: string; + hubUrl?: string; + /** + * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. + */ + fetch?: typeof fetch; +} & CredentialsParams): Promise; +//# sourceMappingURL=get-job.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/jobs/get-job.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/jobs/get-job.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..0c5d39cb76fc6165180ad50e6b6131c3a1413dac --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/jobs/get-job.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"get-job.d.ts","sourceRoot":"","sources":["../../../../src/lib/jobs/get-job.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAE5D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAEvD;;GAEG;AACH,wBAAsB,MAAM,CAC3B,MAAM,EAAE;IACP;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;CACrB,GAAG,iBAAiB,GACnB,OAAO,CAAC,MAAM,CAAC,CAiBjB"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/jobs/get-scheduled-job.d.ts b/node_modules/@huggingface/hub/dist/src/lib/jobs/get-scheduled-job.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..ad727f023622f2a5fa8f142aece75492c0f44435 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/jobs/get-scheduled-job.d.ts @@ -0,0 +1,21 @@ +import type { CredentialsParams } from "../../types/public"; +import type { ApiScheduledJob } from "../../types/api/api-jobs"; +/** + * Get a specific scheduled job by ID. + */ +export declare function getScheduledJob(params: { + /** + * The namespace (username or organization name) + */ + namespace: string; + /** + * The scheduled job ID + */ + jobId: string; + hubUrl?: string; + /** + * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. + */ + fetch?: typeof fetch; +} & CredentialsParams): Promise; +//# sourceMappingURL=get-scheduled-job.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/jobs/get-scheduled-job.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/jobs/get-scheduled-job.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..818cf5e1a6d97d7d9f77c929079400392c7a48b4 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/jobs/get-scheduled-job.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"get-scheduled-job.d.ts","sourceRoot":"","sources":["../../../../src/lib/jobs/get-scheduled-job.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAE5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAEhE;;GAEG;AACH,wBAAsB,eAAe,CACpC,MAAM,EAAE;IACP;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;CACrB,GAAG,iBAAiB,GACnB,OAAO,CAAC,eAAe,CAAC,CAiB1B"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/jobs/index.d.ts b/node_modules/@huggingface/hub/dist/src/lib/jobs/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..6d691cfce8791153c8c7d5062103cb130c26e460 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/jobs/index.d.ts @@ -0,0 +1,17 @@ +export * from "./cancel-job"; +export * from "./create-scheduled-job"; +export * from "./delete-scheduled-job"; +export * from "./duplicate-job"; +export * from "./get-job"; +export * from "./get-scheduled-job"; +export * from "./list-job-hardware"; +export * from "./list-jobs"; +export * from "./list-scheduled-jobs"; +export * from "./resume-scheduled-job"; +export * from "./run-job"; +export * from "./run-scheduled-job"; +export * from "./stream-job-events"; +export * from "./stream-job-logs"; +export * from "./stream-job-metrics"; +export * from "./suspend-scheduled-job"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/jobs/index.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/jobs/index.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..71acf13901c3eff1057490a57660cdc07467180e --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/jobs/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/jobs/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC;AAC5B,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,WAAW,CAAC;AAC1B,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/jobs/list-job-hardware.d.ts b/node_modules/@huggingface/hub/dist/src/lib/jobs/list-job-hardware.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..4b92d8233f0b3c07c1e72c179bb67d5f4a12bbe2 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/jobs/list-job-hardware.d.ts @@ -0,0 +1,14 @@ +import type { CredentialsParams } from "../../types/public"; +import type { ApiJobHardware } from "../../types/api/api-jobs"; +/** + * Get the list of available hardware for jobs. + * This endpoint is public and does not require authentication, but authentication is optional. + */ +export declare function listJobHardware(params?: { + hubUrl?: string; + /** + * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. + */ + fetch?: typeof fetch; +} & Partial): Promise; +//# sourceMappingURL=list-job-hardware.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/jobs/list-job-hardware.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/jobs/list-job-hardware.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..67466a3e6f109ede95c942318236ee52c3b97202 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/jobs/list-job-hardware.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"list-job-hardware.d.ts","sourceRoot":"","sources":["../../../../src/lib/jobs/list-job-hardware.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAE5D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE/D;;;GAGG;AACH,wBAAsB,eAAe,CACpC,MAAM,CAAC,EAAE;IACR,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;CACrB,GAAG,OAAO,CAAC,iBAAiB,CAAC,GAC5B,OAAO,CAAC,cAAc,EAAE,CAAC,CAkB3B"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/jobs/list-jobs.d.ts b/node_modules/@huggingface/hub/dist/src/lib/jobs/list-jobs.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..566252ea02c15eaece5baa781d6834094aec2ffa --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/jobs/list-jobs.d.ts @@ -0,0 +1,17 @@ +import type { CredentialsParams } from "../../types/public"; +import type { ApiJob } from "../../types/api/api-jobs"; +/** + * List jobs for a namespace (user or organization). + */ +export declare function listJobs(params: { + /** + * The namespace (username or organization name) + */ + namespace: string; + hubUrl?: string; + /** + * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. + */ + fetch?: typeof fetch; +} & CredentialsParams): Promise; +//# sourceMappingURL=list-jobs.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/jobs/list-jobs.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/jobs/list-jobs.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..d797154c2d0283b3f3e9bbb13838e81eaec36519 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/jobs/list-jobs.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"list-jobs.d.ts","sourceRoot":"","sources":["../../../../src/lib/jobs/list-jobs.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAE5D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAEvD;;GAEG;AACH,wBAAsB,QAAQ,CAC7B,MAAM,EAAE;IACP;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;CACrB,GAAG,iBAAiB,GACnB,OAAO,CAAC,MAAM,EAAE,CAAC,CAcnB"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/jobs/list-scheduled-jobs.d.ts b/node_modules/@huggingface/hub/dist/src/lib/jobs/list-scheduled-jobs.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..10721343d81fee600c979d3b1a304406d28aa128 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/jobs/list-scheduled-jobs.d.ts @@ -0,0 +1,17 @@ +import type { CredentialsParams } from "../../types/public"; +import type { ApiScheduledJob } from "../../types/api/api-jobs"; +/** + * List scheduled jobs for a namespace. + */ +export declare function listScheduledJobs(params: { + /** + * The namespace (username or organization name) + */ + namespace: string; + hubUrl?: string; + /** + * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. + */ + fetch?: typeof fetch; +} & CredentialsParams): Promise; +//# sourceMappingURL=list-scheduled-jobs.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/jobs/list-scheduled-jobs.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/jobs/list-scheduled-jobs.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..18eb7e7b865f0cf78ebcd19129c704da241a7a57 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/jobs/list-scheduled-jobs.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"list-scheduled-jobs.d.ts","sourceRoot":"","sources":["../../../../src/lib/jobs/list-scheduled-jobs.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAE5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAEhE;;GAEG;AACH,wBAAsB,iBAAiB,CACtC,MAAM,EAAE;IACP;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;CACrB,GAAG,iBAAiB,GACnB,OAAO,CAAC,eAAe,EAAE,CAAC,CAc5B"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/jobs/resume-scheduled-job.d.ts b/node_modules/@huggingface/hub/dist/src/lib/jobs/resume-scheduled-job.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..ed90c4a2d6f77835f7b774dc42f24954b50147b8 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/jobs/resume-scheduled-job.d.ts @@ -0,0 +1,20 @@ +import type { CredentialsParams } from "../../types/public"; +/** + * Resume a scheduled job. + */ +export declare function resumeScheduledJob(params: { + /** + * The namespace (username or organization name) + */ + namespace: string; + /** + * The scheduled job ID + */ + jobId: string; + hubUrl?: string; + /** + * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. + */ + fetch?: typeof fetch; +} & CredentialsParams): Promise; +//# sourceMappingURL=resume-scheduled-job.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/jobs/resume-scheduled-job.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/jobs/resume-scheduled-job.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..f4399de8175267ef432a6b2d58338ee207df29aa --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/jobs/resume-scheduled-job.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"resume-scheduled-job.d.ts","sourceRoot":"","sources":["../../../../src/lib/jobs/resume-scheduled-job.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAG5D;;GAEG;AACH,wBAAsB,kBAAkB,CACvC,MAAM,EAAE;IACP;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;CACrB,GAAG,iBAAiB,GACnB,OAAO,CAAC,IAAI,CAAC,CAgBf"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/jobs/run-job.d.ts b/node_modules/@huggingface/hub/dist/src/lib/jobs/run-job.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..4e21e39e72b5e9bbce649ba4a57bad17b3d4d88a --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/jobs/run-job.d.ts @@ -0,0 +1,17 @@ +import type { CredentialsParams } from "../../types/public"; +import type { ApiJob, CreateJobOptions } from "../../types/api/api-jobs"; +/** + * Run a new job. + */ +export declare function runJob(params: { + /** + * The namespace (username or organization name) + */ + namespace: string; + hubUrl?: string; + /** + * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. + */ + fetch?: typeof fetch; +} & CreateJobOptions & CredentialsParams): Promise; +//# sourceMappingURL=run-job.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/jobs/run-job.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/jobs/run-job.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..5a26623a7ace65995f7b7bf987a06bf66b14eb76 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/jobs/run-job.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"run-job.d.ts","sourceRoot":"","sources":["../../../../src/lib/jobs/run-job.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAE5D,OAAO,KAAK,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAEzE;;GAEG;AACH,wBAAsB,MAAM,CAC3B,MAAM,EAAE;IACP;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;CACrB,GAAG,gBAAgB,GACnB,iBAAiB,GAChB,OAAO,CAAC,MAAM,CAAC,CA0DjB"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/jobs/run-scheduled-job.d.ts b/node_modules/@huggingface/hub/dist/src/lib/jobs/run-scheduled-job.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..cf92a7a09d1f144a51c8d1263f080a2f71864e4f --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/jobs/run-scheduled-job.d.ts @@ -0,0 +1,22 @@ +import type { CredentialsParams } from "../../types/public"; +import type { ApiJob } from "../../types/api/api-jobs"; +/** + * Trigger a scheduled job to run immediately. + * Returns the job that was triggered, or null if another instance is already running. + */ +export declare function runScheduledJob(params: { + /** + * The namespace (username or organization name) + */ + namespace: string; + /** + * The scheduled job ID + */ + jobId: string; + hubUrl?: string; + /** + * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. + */ + fetch?: typeof fetch; +} & CredentialsParams): Promise; +//# sourceMappingURL=run-scheduled-job.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/jobs/run-scheduled-job.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/jobs/run-scheduled-job.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..f3d23dd6a751b2d8e846c492764308edb5f5c945 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/jobs/run-scheduled-job.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"run-scheduled-job.d.ts","sourceRoot":"","sources":["../../../../src/lib/jobs/run-scheduled-job.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAE5D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAEvD;;;GAGG;AACH,wBAAsB,eAAe,CACpC,MAAM,EAAE;IACP;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;CACrB,GAAG,iBAAiB,GACnB,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAuBxB"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/jobs/stream-job-events.d.ts b/node_modules/@huggingface/hub/dist/src/lib/jobs/stream-job-events.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..ec45c1c86652c8a2374bb92efdc3420e0b0ae4ce --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/jobs/stream-job-events.d.ts @@ -0,0 +1,21 @@ +import type { CredentialsParams } from "../../types/public"; +/** + * Stream job events using Server-Sent Events (SSE). + * Returns an async iterable of event chunks. + */ +export declare function streamJobEvents(params: { + /** + * The namespace (username or organization name) + */ + namespace: string; + /** + * The job ID + */ + jobId: string; + hubUrl?: string; + /** + * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. + */ + fetch?: typeof fetch; +} & CredentialsParams): AsyncGenerator; +//# sourceMappingURL=stream-job-events.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/jobs/stream-job-events.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/jobs/stream-job-events.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..75b7894be5ce5a70e7027c6066117166983c5c96 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/jobs/stream-job-events.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"stream-job-events.d.ts","sourceRoot":"","sources":["../../../../src/lib/jobs/stream-job-events.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAG5D;;;GAGG;AACH,wBAAuB,eAAe,CACrC,MAAM,EAAE;IACP;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;CACrB,GAAG,iBAAiB,GACnB,cAAc,CAAC,MAAM,EAAE,IAAI,EAAE,OAAO,CAAC,CAqDvC"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/jobs/stream-job-logs.d.ts b/node_modules/@huggingface/hub/dist/src/lib/jobs/stream-job-logs.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..debe63c185db000d71c8d9fa8136216224893143 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/jobs/stream-job-logs.d.ts @@ -0,0 +1,24 @@ +import type { CredentialsParams } from "../../types/public"; +/** + * Stream job logs using Server-Sent Events (SSE). + * Returns an async iterable of log chunks. + */ +export declare function streamJobLogs(params: { + /** + * The namespace (username or organization name) + */ + namespace: string; + /** + * The job ID + */ + jobId: string; + hubUrl?: string; + /** + * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. + */ + fetch?: typeof fetch; +} & CredentialsParams): AsyncGenerator<{ + message: string; + timestamp: Date; +}, void, unknown>; +//# sourceMappingURL=stream-job-logs.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/jobs/stream-job-logs.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/jobs/stream-job-logs.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..1d61aa1495b9d64fa28f9265a4d22ed0c99ab70b --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/jobs/stream-job-logs.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"stream-job-logs.d.ts","sourceRoot":"","sources":["../../../../src/lib/jobs/stream-job-logs.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAG5D;;;GAGG;AACH,wBAAuB,aAAa,CACnC,MAAM,EAAE;IACP;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;CACrB,GAAG,iBAAiB,GACnB,cAAc,CAAC;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,IAAI,CAAA;CAAE,EAAE,IAAI,EAAE,OAAO,CAAC,CA+DrE"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/jobs/stream-job-metrics.d.ts b/node_modules/@huggingface/hub/dist/src/lib/jobs/stream-job-metrics.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..92b10fdfdfa7d3a9b85f3a68783fa759c46d0068 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/jobs/stream-job-metrics.d.ts @@ -0,0 +1,21 @@ +import type { CredentialsParams } from "../../types/public"; +/** + * Stream job metrics using Server-Sent Events (SSE). + * Returns an async iterable of metric chunks. + */ +export declare function streamJobMetrics(params: { + /** + * The namespace (username or organization name) + */ + namespace: string; + /** + * The job ID + */ + jobId: string; + hubUrl?: string; + /** + * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. + */ + fetch?: typeof fetch; +} & CredentialsParams): AsyncGenerator; +//# sourceMappingURL=stream-job-metrics.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/jobs/stream-job-metrics.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/jobs/stream-job-metrics.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..763b99118d8da40b893a1d0347de8167b394e64e --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/jobs/stream-job-metrics.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"stream-job-metrics.d.ts","sourceRoot":"","sources":["../../../../src/lib/jobs/stream-job-metrics.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAG5D;;;GAGG;AACH,wBAAuB,gBAAgB,CACtC,MAAM,EAAE;IACP;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;CACrB,GAAG,iBAAiB,GACnB,cAAc,CAAC,MAAM,EAAE,IAAI,EAAE,OAAO,CAAC,CAqDvC"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/jobs/suspend-scheduled-job.d.ts b/node_modules/@huggingface/hub/dist/src/lib/jobs/suspend-scheduled-job.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..97b1cc4c15da1bbd0c169678b390cee4ee0a3179 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/jobs/suspend-scheduled-job.d.ts @@ -0,0 +1,20 @@ +import type { CredentialsParams } from "../../types/public"; +/** + * Suspend (pause) a scheduled job. + */ +export declare function suspendScheduledJob(params: { + /** + * The namespace (username or organization name) + */ + namespace: string; + /** + * The scheduled job ID + */ + jobId: string; + hubUrl?: string; + /** + * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. + */ + fetch?: typeof fetch; +} & CredentialsParams): Promise; +//# sourceMappingURL=suspend-scheduled-job.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/jobs/suspend-scheduled-job.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/jobs/suspend-scheduled-job.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..73354a1af2e1bdafaa1614c39a52804fe4ea753d --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/jobs/suspend-scheduled-job.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"suspend-scheduled-job.d.ts","sourceRoot":"","sources":["../../../../src/lib/jobs/suspend-scheduled-job.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAG5D;;GAEG;AACH,wBAAsB,mBAAmB,CACxC,MAAM,EAAE;IACP;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;CACrB,GAAG,iBAAiB,GACnB,OAAO,CAAC,IAAI,CAAC,CAiBf"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/list-collections.d.ts b/node_modules/@huggingface/hub/dist/src/lib/list-collections.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..89d4c269adb1207f6e01f7057fbaa4773537216b --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/list-collections.d.ts @@ -0,0 +1,34 @@ +import type { CredentialsParams } from "../types/public"; +import type { ApiCollectionInfo } from "../types/api/api-collection"; +export declare function listCollections(params?: { + search?: { + /** + * Filter collections created by specific owners (users or organizations). + */ + owner?: string[]; + /** + * Filter collections containing specific items. + * Value must be the item_type and item_id concatenated. + * Example: "models/teknium/OpenHermes-2.5-Mistral-7B", "datasets/rajpurkar/squad" or "papers/2311.12983". + */ + item?: string[]; + /** + * Filter based on substrings for titles & descriptions. + */ + q?: string; + }; + /** + * Sort the returned collections. Supported values are "lastModified", "trending" (default) and "upvotes". + */ + sort?: "lastModified" | "trending" | "upvotes"; + /** + * Set to limit the number of collections returned. + */ + limit?: number; + hubUrl?: string; + /** + * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. + */ + fetch?: typeof fetch; +} & Partial): AsyncGenerator; +//# sourceMappingURL=list-collections.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/list-collections.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/list-collections.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..67ec7d14cdc09cc09399fa25d6816cfae068d60c --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/list-collections.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"list-collections.d.ts","sourceRoot":"","sources":["../../../src/lib/list-collections.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAGzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAMrE,wBAAuB,eAAe,CACrC,MAAM,CAAC,EAAE;IACR,MAAM,CAAC,EAAE;QACR;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;QACjB;;;;WAIG;QACH,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;QAChB;;WAEG;QACH,CAAC,CAAC,EAAE,MAAM,CAAC;KACX,CAAC;IACF;;OAEG;IACH,IAAI,CAAC,EAAE,cAAc,GAAG,UAAU,GAAG,SAAS,CAAC;IAC/C;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;CACrB,GAAG,OAAO,CAAC,iBAAiB,CAAC,GAC5B,cAAc,CAAC,iBAAiB,CAAC,CA0DnC"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/list-collections.spec.d.ts b/node_modules/@huggingface/hub/dist/src/lib/list-collections.spec.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..345b6da35996bd241fa7c68ae0abf7f5ccb20455 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/list-collections.spec.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=list-collections.spec.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/list-collections.spec.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/list-collections.spec.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..18b2dda0371e61dcaa2952fb48eff8728516ce8b --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/list-collections.spec.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"list-collections.spec.d.ts","sourceRoot":"","sources":["../../../src/lib/list-collections.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/list-commits.d.ts b/node_modules/@huggingface/hub/dist/src/lib/list-commits.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..9a4986670dcf07c9c9805573f42245244853bcfb --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/list-commits.d.ts @@ -0,0 +1,28 @@ +import type { CredentialsParams, RepoDesignation } from "../types/public"; +export interface CommitData { + oid: string; + title: string; + message: string; + authors: Array<{ + username: string; + avatarUrl: string; + }>; + date: Date; +} +export declare function listCommits(params: { + repo: RepoDesignation; + /** + * Revision to list commits from. Defaults to the default branch. + */ + revision?: string; + hubUrl?: string; + /** + * Number of commits to fetch from the hub each http call. Defaults to 100. Can be set to 1000. + */ + batchSize?: number; + /** + * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. + */ + fetch?: typeof fetch; +} & Partial): AsyncGenerator; +//# sourceMappingURL=list-commits.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/list-commits.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/list-commits.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..f0ed8143ac9ba451d3e337498b73791de1396cfe --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/list-commits.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"list-commits.d.ts","sourceRoot":"","sources":["../../../src/lib/list-commits.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAK1E,MAAM,WAAW,UAAU;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,KAAK,CAAC;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACxD,IAAI,EAAE,IAAI,CAAC;CACX;AAED,wBAAuB,WAAW,CACjC,MAAM,EAAE;IACP,IAAI,EAAE,eAAe,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;CACrB,GAAG,OAAO,CAAC,iBAAiB,CAAC,GAC5B,cAAc,CAAC,UAAU,CAAC,CAoC5B"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/list-commits.spec.d.ts b/node_modules/@huggingface/hub/dist/src/lib/list-commits.spec.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..145da942cfd67dbfcaf233a0d9c72c03ca48f7f7 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/list-commits.spec.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=list-commits.spec.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/list-commits.spec.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/list-commits.spec.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..a2800c70818e14a5f25f8682ec4ae9e34022c273 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/list-commits.spec.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"list-commits.spec.d.ts","sourceRoot":"","sources":["../../../src/lib/list-commits.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/list-datasets.d.ts b/node_modules/@huggingface/hub/dist/src/lib/list-datasets.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..cc5a43dfa3ecba52e2a16a2e0daebcd9effa1cb1 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/list-datasets.d.ts @@ -0,0 +1,38 @@ +import type { ApiDatasetInfo } from "../types/api/api-dataset"; +import type { CredentialsParams } from "../types/public"; +export declare const DATASET_EXPAND_KEYS: readonly ["private", "downloads", "gated", "likes", "lastModified"]; +export declare const DATASET_EXPANDABLE_KEYS: readonly ["author", "cardData", "citation", "createdAt", "disabled", "description", "downloads", "downloadsAllTime", "gated", "gitalyUid", "lastModified", "likes", "paperswithcode_id", "private", "sha", "tags"]; +export interface DatasetEntry { + id: string; + name: string; + private: boolean; + downloads: number; + gated: false | "auto" | "manual"; + likes: number; + updatedAt: Date; +} +export declare function listDatasets = never>(params?: { + search?: { + /** + * Will search in the dataset name for matches + */ + query?: string; + owner?: string; + tags?: string[]; + }; + hubUrl?: string; + additionalFields?: T[]; + /** + * Set to limit the number of datasets returned. + */ + limit?: number; + /** + * Sort datasets by a specific field. + */ + sort?: "createdAt" | "downloads" | "likes" | "lastModified" | "likes30d" | "trendingScore" | "datasetsServerInfo.numRows" | "mainSize" | "id"; + /** + * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. + */ + fetch?: typeof fetch; +} & Partial): AsyncGenerator>; +//# sourceMappingURL=list-datasets.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/list-datasets.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/list-datasets.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..89fd6dcda3b296bd6c0aae23112a90a43eb38437 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/list-datasets.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"list-datasets.d.ts","sourceRoot":"","sources":["../../../src/lib/list-datasets.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAKzD,eAAO,MAAM,mBAAmB,qEAMsB,CAAC;AAEvD,eAAO,MAAM,uBAAuB,oNAkBkB,CAAC;AAEvD,MAAM,WAAW,YAAY;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,KAAK,GAAG,MAAM,GAAG,QAAQ,CAAC;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,IAAI,CAAC;CAChB;AAED,wBAAuB,YAAY,CAClC,KAAK,CAAC,CAAC,SAAS,OAAO,CAAC,CAAC,OAAO,uBAAuB,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,KAAK,EAE/G,MAAM,CAAC,EAAE;IACR,MAAM,CAAC,EAAE;QACR;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;KAChB,CAAC;IACF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,gBAAgB,CAAC,EAAE,CAAC,EAAE,CAAC;IACvB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,IAAI,CAAC,EACF,WAAW,GACX,WAAW,GACX,OAAO,GACP,cAAc,GACd,UAAU,GACV,eAAe,GACf,4BAA4B,GAC5B,UAAU,GACV,IAAI,CAAC;IACR;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;CACrB,GAAG,OAAO,CAAC,iBAAiB,CAAC,GAC5B,cAAc,CAAC,YAAY,GAAG,IAAI,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC,CAoDxD"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/list-datasets.spec.d.ts b/node_modules/@huggingface/hub/dist/src/lib/list-datasets.spec.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..519940c354cd662287e9f5367f13af6ec5b2ce1a --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/list-datasets.spec.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=list-datasets.spec.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/list-datasets.spec.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/list-datasets.spec.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..fed961e2907d53002f954edbc08ecbfc9b23dff4 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/list-datasets.spec.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"list-datasets.spec.d.ts","sourceRoot":"","sources":["../../../src/lib/list-datasets.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/list-files.d.ts b/node_modules/@huggingface/hub/dist/src/lib/list-files.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..7bb45a895f9324d39718649a8a5d3d8f00280588 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/list-files.d.ts @@ -0,0 +1,56 @@ +import type { CredentialsParams, RepoDesignation } from "../types/public"; +export interface ListFileEntry { + type: "file" | "directory" | "unknown"; + size: number; + path: string; + oid: string; + lfs?: { + oid: string; + size: number; + /** Size of the raw pointer file, 100~200 bytes */ + pointerSize: number; + }; + /** + * Xet-backed hash, a new protocol replacing LFS for big files. + */ + xetHash?: string; + /** + * Only fetched if `expand` is set to `true` in the `listFiles` call. + */ + lastCommit?: { + date: string; + id: string; + title: string; + }; + /** + * Only fetched if `expand` is set to `true` in the `listFiles` call. + */ + securityFileStatus?: unknown; +} +/** + * List files in a folder. To list ALL files in the directory, call it + * with {@link params.recursive} set to `true`. + */ +export declare function listFiles(params: { + repo: RepoDesignation; + /** + * Do we want to list files in subdirectories? + */ + recursive?: boolean; + /** + * Eg 'data' for listing all files in the 'data' folder. Leave it empty to list all + * files in the repo. + */ + path?: string; + /** + * Fetch `lastCommit` and `securityFileStatus` for each file. + */ + expand?: boolean; + revision?: string; + hubUrl?: string; + /** + * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. + */ + fetch?: typeof fetch; +} & Partial): AsyncGenerator; +//# sourceMappingURL=list-files.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/list-files.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/list-files.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..0fc938236be261d156a5504668b54c10575996c0 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/list-files.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"list-files.d.ts","sourceRoot":"","sources":["../../../src/lib/list-files.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAK1E,MAAM,WAAW,aAAa;IAC7B,IAAI,EAAE,MAAM,GAAG,WAAW,GAAG,SAAS,CAAC;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE;QACL,GAAG,EAAE,MAAM,CAAC;QACZ,IAAI,EAAE,MAAM,CAAC;QACb,kDAAkD;QAClD,WAAW,EAAE,MAAM,CAAC;KACpB,CAAC;IACF;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,UAAU,CAAC,EAAE;QACZ,IAAI,EAAE,MAAM,CAAC;QACb,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;KACd,CAAC;IACF;;OAEG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED;;;GAGG;AACH,wBAAuB,SAAS,CAC/B,MAAM,EAAE;IACP,IAAI,EAAE,eAAe,CAAC;IACtB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;CACrB,GAAG,OAAO,CAAC,iBAAiB,CAAC,GAC5B,cAAc,CAAC,aAAa,CAAC,CA6B/B"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/list-files.spec.d.ts b/node_modules/@huggingface/hub/dist/src/lib/list-files.spec.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..ad583c6ddbb16d54cbfbf4bdd81967667d92ec9d --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/list-files.spec.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=list-files.spec.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/list-files.spec.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/list-files.spec.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..b1bccb466b1eb437c23214480376d87e4664d5f0 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/list-files.spec.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"list-files.spec.d.ts","sourceRoot":"","sources":["../../../src/lib/list-files.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/list-models.d.ts b/node_modules/@huggingface/hub/dist/src/lib/list-models.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..8d4254e67a29d57c0c810c0ab4ad05d19ab7d864 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/list-models.d.ts @@ -0,0 +1,48 @@ +import type { ApiModelInfo } from "../types/api/api-model"; +import type { CredentialsParams, PipelineType } from "../types/public"; +export declare const MODEL_EXPAND_KEYS: readonly ["pipeline_tag", "private", "gated", "downloads", "likes", "lastModified"]; +export declare const MODEL_EXPANDABLE_KEYS: readonly ["author", "cardData", "config", "createdAt", "disabled", "downloads", "downloadsAllTime", "gated", "gitalyUid", "inferenceProviderMapping", "lastModified", "library_name", "likes", "model-index", "pipeline_tag", "private", "safetensors", "sha", "spaces", "tags", "transformersInfo"]; +export interface ModelEntry { + id: string; + name: string; + private: boolean; + gated: false | "auto" | "manual"; + task?: PipelineType; + likes: number; + downloads: number; + updatedAt: Date; +} +export declare function listModels = never>(params?: { + search?: { + /** + * Will search in the model name for matches + */ + query?: string; + owner?: string; + task?: PipelineType; + tags?: string[]; + /** + * Will search for models that have one of the inference providers in the list. + */ + inferenceProviders?: string[]; + /** + * Will search for models that support at least one of those local apps (eg "lmstudio", "mlx-lm", ...) + */ + apps?: string[]; + }; + hubUrl?: string; + additionalFields?: T[]; + /** + * Set to limit the number of models returned. + */ + limit?: number; + /** + * Sort models by a specific field. + */ + sort?: "createdAt" | "downloads" | "likes" | "lastModified" | "likes30d" | "trendingScore" | "num_parameters" | "mainSize" | "id"; + /** + * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. + */ + fetch?: typeof fetch; +} & Partial): AsyncGenerator>; +//# sourceMappingURL=list-models.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/list-models.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/list-models.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..b97d9349b8f9f21b1d1179aa0b62de2ff012805b --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/list-models.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"list-models.d.ts","sourceRoot":"","sources":["../../../src/lib/list-models.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAMvE,eAAO,MAAM,iBAAiB,qFAOsB,CAAC;AAErD,eAAO,MAAM,qBAAqB,sSAuBkB,CAAC;AAErD,MAAM,WAAW,UAAU;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,KAAK,GAAG,MAAM,GAAG,QAAQ,CAAC;IACjC,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,IAAI,CAAC;CAChB;AAED,wBAAuB,UAAU,CAChC,KAAK,CAAC,CAAC,SAAS,OAAO,CAAC,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,KAAK,EAE3G,MAAM,CAAC,EAAE;IACR,MAAM,CAAC,EAAE;QACR;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,CAAC,EAAE,YAAY,CAAC;QACpB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;QAChB;;WAEG;QACH,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAC;QAC9B;;WAEG;QACH,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;KAChB,CAAC;IACF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,gBAAgB,CAAC,EAAE,CAAC,EAAE,CAAC;IACvB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,IAAI,CAAC,EACF,WAAW,GACX,WAAW,GACX,OAAO,GACP,cAAc,GACd,UAAU,GACV,eAAe,GACf,gBAAgB,GAChB,UAAU,GACV,IAAI,CAAC;IACR;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;CACrB,GAAG,OAAO,CAAC,iBAAiB,CAAC,GAC5B,cAAc,CAAC,UAAU,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC,CAAC,CAAC,CAuEpD"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/list-models.spec.d.ts b/node_modules/@huggingface/hub/dist/src/lib/list-models.spec.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..5485cfb68c947b882c2fabb975f2559e4d311c6a --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/list-models.spec.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=list-models.spec.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/list-models.spec.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/list-models.spec.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..9c79d0f1f444fa47f349016a9d542c05a530624d --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/list-models.spec.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"list-models.spec.d.ts","sourceRoot":"","sources":["../../../src/lib/list-models.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/list-spaces.d.ts b/node_modules/@huggingface/hub/dist/src/lib/list-spaces.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..9dc53fd06ef6a4b9a92c13b82801ec4d15e2567d --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/list-spaces.d.ts @@ -0,0 +1,36 @@ +import type { ApiSpaceInfo } from "../types/api/api-space"; +import type { CredentialsParams, SpaceSdk } from "../types/public"; +export declare const SPACE_EXPAND_KEYS: readonly ["sdk", "likes", "private", "lastModified"]; +export declare const SPACE_EXPANDABLE_KEYS: readonly ["author", "cardData", "datasets", "disabled", "gitalyUid", "lastModified", "createdAt", "likes", "private", "runtime", "sdk", "sha", "subdomain", "tags", "models"]; +export interface SpaceEntry { + id: string; + name: string; + sdk?: SpaceSdk; + likes: number; + private: boolean; + updatedAt: Date; +} +export declare function listSpaces = never>(params?: { + search?: { + /** + * Will search in the space name for matches + */ + query?: string; + owner?: string; + tags?: string[]; + }; + hubUrl?: string; + /** + * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. + */ + fetch?: typeof fetch; + /** + * Additional fields to fetch from huggingface.co. + */ + additionalFields?: T[]; + /** + * Sort spaces by a specific field. + */ + sort?: "createdAt" | "downloads" | "likes" | "lastModified" | "likes30d" | "trendingScore" | "mainSize" | "id"; +} & Partial): AsyncGenerator>; +//# sourceMappingURL=list-spaces.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/list-spaces.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/list-spaces.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..4b612437ff76e6b8d7bb1bf77a5d47dd0326ba56 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/list-spaces.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"list-spaces.d.ts","sourceRoot":"","sources":["../../../src/lib/list-spaces.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAKnE,eAAO,MAAM,iBAAiB,sDAKsB,CAAC;AACrD,eAAO,MAAM,qBAAqB,+KAiBkB,CAAC;AAErD,MAAM,WAAW,UAAU;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,QAAQ,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,IAAI,CAAC;CAEhB;AAED,wBAAuB,UAAU,CAChC,KAAK,CAAC,CAAC,SAAS,OAAO,CAAC,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,KAAK,EAE3G,MAAM,CAAC,EAAE;IACR,MAAM,CAAC,EAAE;QACR;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;KAChB,CAAC;IACF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;IACrB;;OAEG;IACH,gBAAgB,CAAC,EAAE,CAAC,EAAE,CAAC;IACvB;;OAEG;IACH,IAAI,CAAC,EAAE,WAAW,GAAG,WAAW,GAAG,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,eAAe,GAAG,UAAU,GAAG,IAAI,CAAC;CAC/G,GAAG,OAAO,CAAC,iBAAiB,CAAC,GAC5B,cAAc,CAAC,UAAU,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC,CAAC,CAAC,CA8CpD"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/list-spaces.spec.d.ts b/node_modules/@huggingface/hub/dist/src/lib/list-spaces.spec.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..d6849257e8c610df7d7c6f0f141ef435528a2976 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/list-spaces.spec.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=list-spaces.spec.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/list-spaces.spec.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/list-spaces.spec.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..7c994733a15bf93f15abd61fd15ec1c67df14442 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/list-spaces.spec.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"list-spaces.spec.d.ts","sourceRoot":"","sources":["../../../src/lib/list-spaces.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/model-info.d.ts b/node_modules/@huggingface/hub/dist/src/lib/model-info.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..5042384fa1f1a3adf561a63292f55aea63b23024 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/model-info.d.ts @@ -0,0 +1,17 @@ +import type { ApiModelInfo } from "../types/api/api-model"; +import type { CredentialsParams } from "../types/public"; +import { MODEL_EXPAND_KEYS, type MODEL_EXPANDABLE_KEYS, type ModelEntry } from "./list-models"; +export declare function modelInfo = never>(params: { + name: string; + hubUrl?: string; + additionalFields?: T[]; + /** + * An optional Git revision id which can be a branch name, a tag, or a commit hash. + */ + revision?: string; + /** + * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. + */ + fetch?: typeof fetch; +} & Partial): Promise>; +//# sourceMappingURL=model-info.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/model-info.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/model-info.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..7cf7e9ea82783d06097b1386abb4bd9aa61cf871 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/model-info.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"model-info.d.ts","sourceRoot":"","sources":["../../../src/lib/model-info.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAIzD,OAAO,EAAE,iBAAiB,EAAE,KAAK,qBAAqB,EAAE,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AAE/F,wBAAsB,SAAS,CAC9B,KAAK,CAAC,CAAC,SAAS,OAAO,CAAC,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,KAAK,EAE3G,MAAM,EAAE;IACP,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,gBAAgB,CAAC,EAAE,CAAC,EAAE,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;CACrB,GAAG,OAAO,CAAC,iBAAiB,CAAC,GAC5B,OAAO,CAAC,UAAU,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC,CAAC,CAAC,CA0C7C"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/model-info.spec.d.ts b/node_modules/@huggingface/hub/dist/src/lib/model-info.spec.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..2d95a6a1246ab6ffdbcc80d34080189d6db30f15 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/model-info.spec.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=model-info.spec.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/model-info.spec.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/model-info.spec.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..d718c2cb9ddb44cb9cef95d4757b0e19ff9c4bfd --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/model-info.spec.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"model-info.spec.d.ts","sourceRoot":"","sources":["../../../src/lib/model-info.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/oauth-handle-redirect.d.ts b/node_modules/@huggingface/hub/dist/src/lib/oauth-handle-redirect.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..d22d6cfce447e26ac8feb2cb5376465d87d19a0e --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/oauth-handle-redirect.d.ts @@ -0,0 +1,172 @@ +export interface UserInfo { + /** + * OpenID Connect field. Unique identifier for the user, even in case of rename. + */ + sub: string; + /** + * OpenID Connect field. The user's full name. + */ + name: string; + /** + * OpenID Connect field. The user's username. + */ + preferred_username: string; + /** + * OpenID Connect field, available if scope "email" was granted. + */ + email_verified?: boolean; + /** + * OpenID Connect field, available if scope "email" was granted. + */ + email?: string; + /** + * OpenID Connect field. The user's profile picture URL. + */ + picture: string; + /** + * OpenID Connect field. The user's profile URL. + */ + profile: string; + /** + * OpenID Connect field. The user's website URL. + */ + website?: string; + /** + * Hugging Face field. Whether the user is a pro user. + */ + isPro: boolean; + /** + * Hugging Face field. Whether the user has a payment method set up. Needs "read-billing" scope. + */ + canPay?: boolean; + /** + * Hugging Face field. The user's orgs + */ + orgs?: Array<{ + /** + * OpenID Connect field. Unique identifier for the org. + */ + sub: string; + /** + * OpenID Connect field. The org's full name. + */ + name: string; + /** + * OpenID Connect field. The org's username. + */ + preferred_username: string; + /** + * OpenID Connect field. The org's profile picture URL. + */ + picture: string; + /** + * Hugging Face field. The org's plan (e.g., "enterprise", "team"). + */ + plan?: string; + /** + * Hugging Face field. Whether the org has a payment method set up. Needs "read-billing" scope, and the user needs to approve access to the org in the OAuth page. + */ + canPay?: boolean; + /** + * Hugging Face field. The user's role in the org. The user needs to approve access to the org in the OAuth page. + */ + roleInOrg?: string; + /** + * @deprecated Use securityRestrictions instead with "sso" + * HuggingFace field. When the user granted the oauth app access to the org, but didn't complete SSO. + * + * Should never happen directly after the oauth flow. + */ + pendingSSO?: boolean; + /** + * @deprecated Use securityRestrictions instead with "mfa" + * + * HuggingFace field. When the user granted the oauth app access to the org, but didn't complete MFA. + * + * Should never happen directly after the oauth flow. + */ + missingMFA?: boolean; + /** + * HuggingFace field. When the user granted the oauth app access to the org, but didn't complete following security restrictions. + * + * Should never happen directly after the oauth flow. + */ + securityRestrictions?: ("mfa" | "sso" | "ip" | "token-policy")[]; + }>; +} +export interface OAuthResult { + accessToken: string; + accessTokenExpiresAt: Date; + userInfo: UserInfo; + /** + * State passed to the OAuth provider in the original request to the OAuth provider. + */ + state?: string; + /** + * Granted scope + */ + scope: string; +} +/** + * To call after the OAuth provider redirects back to the app. + * + * There is also a helper function {@link oauthHandleRedirectIfPresent}, which will call `oauthHandleRedirect` if the URL contains an oauth code + * in the query parameters and return `false` otherwise. + */ +export declare function oauthHandleRedirect(opts?: { + /** + * The URL of the hub. Defaults to {@link HUB_URL}. + */ + hubUrl?: string; + /** + * The URL to analyze. + * + * @default window.location.href + */ + redirectedUrl?: string; + /** + * nonce generated by oauthLoginUrl + * + * @default localStorage.getItem("huggingface.co:oauth:nonce") + */ + nonce?: string; + /** + * codeVerifier generated by oauthLoginUrl + * + * @default localStorage.getItem("huggingface.co:oauth:code_verifier") + */ + codeVerifier?: string; +}): Promise; +/** + * To call after the OAuth provider redirects back to the app. + * + * It returns false if the URL does not contain an oauth code in the query parameters, otherwise + * it calls {@link oauthHandleRedirect}. + * + * Depending on your app, you may want to call {@link oauthHandleRedirect} directly instead. + */ +export declare function oauthHandleRedirectIfPresent(opts?: { + /** + * The URL of the hub. Defaults to {@link HUB_URL}. + */ + hubUrl?: string; + /** + * The URL to analyze. + * + * @default window.location.href + */ + redirectedUrl?: string; + /** + * nonce generated by oauthLoginUrl + * + * @default localStorage.getItem("huggingface.co:oauth:nonce") + */ + nonce?: string; + /** + * codeVerifier generated by oauthLoginUrl + * + * @default localStorage.getItem("huggingface.co:oauth:code_verifier") + */ + codeVerifier?: string; +}): Promise; +//# sourceMappingURL=oauth-handle-redirect.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/oauth-handle-redirect.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/oauth-handle-redirect.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..11bc9aa34815e34894d3037aac67bc01031d73d2 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/oauth-handle-redirect.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"oauth-handle-redirect.d.ts","sourceRoot":"","sources":["../../../src/lib/oauth-handle-redirect.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,QAAQ;IACxB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,KAAK,EAAE,OAAO,CAAC;IACf;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC;QACZ;;WAEG;QACH,GAAG,EAAE,MAAM,CAAC;QACZ;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;QACb;;WAEG;QACH,kBAAkB,EAAE,MAAM,CAAC;QAC3B;;WAEG;QACH,OAAO,EAAE,MAAM,CAAC;QAEhB;;WAEG;QACH,IAAI,CAAC,EAAE,MAAM,CAAC;QACd;;WAEG;QACH,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB;;WAEG;QACH,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB;;;;;WAKG;QACH,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB;;;;;;WAMG;QACH,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB;;;;WAIG;QACH,oBAAoB,CAAC,EAAE,CAAC,KAAK,GAAG,KAAK,GAAG,IAAI,GAAG,cAAc,CAAC,EAAE,CAAC;KACjE,CAAC,CAAC;CACH;AAED,MAAM,WAAW,WAAW;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,oBAAoB,EAAE,IAAI,CAAC;IAC3B,QAAQ,EAAE,QAAQ,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACd;AAED;;;;;GAKG;AACH,wBAAsB,mBAAmB,CAAC,IAAI,CAAC,EAAE;IAChD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACtB,GAAG,OAAO,CAAC,WAAW,CAAC,CAqIvB;AAMD;;;;;;;GAOG;AACH,wBAAsB,4BAA4B,CAAC,IAAI,CAAC,EAAE;IACzD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACtB,GAAG,OAAO,CAAC,WAAW,GAAG,KAAK,CAAC,CA2B/B"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/oauth-handle-redirect.spec.d.ts b/node_modules/@huggingface/hub/dist/src/lib/oauth-handle-redirect.spec.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..ea62996fe81b500ec61c6b5552c9491a81f92902 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/oauth-handle-redirect.spec.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=oauth-handle-redirect.spec.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/oauth-handle-redirect.spec.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/oauth-handle-redirect.spec.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..cad458c55b25add3ebf75bdf3967074621d93945 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/oauth-handle-redirect.spec.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"oauth-handle-redirect.spec.d.ts","sourceRoot":"","sources":["../../../src/lib/oauth-handle-redirect.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/oauth-login-url.d.ts b/node_modules/@huggingface/hub/dist/src/lib/oauth-login-url.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..50e5f403b9f633055964009cbe952487ace2879d --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/oauth-login-url.d.ts @@ -0,0 +1,74 @@ +/** + * Use "Sign in with Hub" to authenticate a user, and get oauth user info / access token. + * + * Returns an url to redirect to. After the user is redirected back to your app, call `oauthHandleRedirect` to get the oauth user info / access token. + * + * When called from inside a static Space with OAuth enabled, it will load the config from the space, otherwise you need to at least specify + * the client ID of your OAuth App. + * + * @example + * ```ts + * import { oauthLoginUrl, oauthHandleRedirectIfPresent } from "@huggingface/hub"; + * + * const oauthResult = await oauthHandleRedirectIfPresent(); + * + * if (!oauthResult) { + * // If the user is not logged in, redirect to the login page + * window.location.href = await oauthLoginUrl(); + * } + * + * // You can use oauthResult.accessToken, oauthResult.accessTokenExpiresAt and oauthResult.userInfo + * console.log(oauthResult); + * ``` + * + * (Theoretically, this function could be used to authenticate a user for any OAuth provider supporting PKCE and OpenID Connect by changing `hubUrl`, + * but it is currently only tested with the Hugging Face Hub.) + */ +export declare function oauthLoginUrl(opts?: { + /** + * OAuth client ID. + * + * For static Spaces, you can omit this and it will be loaded from the Space config, as long as `hf_oauth: true` is present in the README.md's metadata. + * For other Spaces, it is available to the backend in the OAUTH_CLIENT_ID environment variable, as long as `hf_oauth: true` is present in the README.md's metadata. + * + * You can also create a Developer Application at https://huggingface.co/settings/connected-applications and use its client ID. + */ + clientId?: string; + hubUrl?: string; + /** + * OAuth scope, a list of space-separated scopes. + * + * For static Spaces, you can omit this and it will be loaded from the Space config, as long as `hf_oauth: true` is present in the README.md's metadata. + * For other Spaces, it is available to the backend in the OAUTH_SCOPES environment variable, as long as `hf_oauth: true` is present in the README.md's metadata. + * + * Defaults to "openid profile". + * + * You can also create a Developer Application at https://huggingface.co/settings/connected-applications and use its scopes. + * + * See https://huggingface.co/docs/hub/oauth for a list of available scopes. + */ + scopes?: string; + /** + * Redirect URI, defaults to the current URL. + * + * For Spaces, any URL within the Space is allowed. + * + * For Developer Applications, you can add any URL you want to the list of allowed redirect URIs at https://huggingface.co/settings/connected-applications. + */ + redirectUrl?: string; + /** + * State to pass to the OAuth provider, which will be returned in the call to `oauthLogin` after the redirect. + */ + state?: string; + /** + * If provided, will be filled with the code verifier and nonce used for the OAuth flow, + * instead of using localStorage. + * + * When calling {@link `oauthHandleRedirectIfPresent`} or {@link `oauthHandleRedirect`} you will need to provide the same values. + */ + localStorage?: { + codeVerifier?: string; + nonce?: string; + }; +}): Promise; +//# sourceMappingURL=oauth-login-url.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/oauth-login-url.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/oauth-login-url.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..bb92a164d0d2e2610aba3a0a2fbf4492581a4d75 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/oauth-login-url.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"oauth-login-url.d.ts","sourceRoot":"","sources":["../../../src/lib/oauth-login-url.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAsB,aAAa,CAAC,IAAI,CAAC,EAAE;IAC1C;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;;OAKG;IACH,YAAY,CAAC,EAAE;QACd,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,KAAK,CAAC,EAAE,MAAM,CAAC;KACf,CAAC;CACF,GAAG,OAAO,CAAC,MAAM,CAAC,CAyFlB"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/parse-safetensors-metadata.d.ts b/node_modules/@huggingface/hub/dist/src/lib/parse-safetensors-metadata.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..ba3c757a64cacb7bf2a61fd95fe8dcfc213c389f --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/parse-safetensors-metadata.d.ts @@ -0,0 +1,100 @@ +import type { CredentialsParams, RepoDesignation } from "../types/public"; +import type { SetRequired } from "../vendor/type-fest/set-required"; +export declare const SAFETENSORS_FILE = "model.safetensors"; +export declare const SAFETENSORS_INDEX_FILE = "model.safetensors.index.json"; +export declare const RE_SAFETENSORS_FILE: RegExp; +export declare const RE_SAFETENSORS_INDEX_FILE: RegExp; +export declare const RE_SAFETENSORS_SHARD_FILE: RegExp; +export interface SafetensorsShardFileInfo { + prefix: string; + basePrefix: string; + shard: string; + total: string; +} +export declare function parseSafetensorsShardFilename(filename: string): SafetensorsShardFileInfo | null; +type FileName = string; +export type TensorName = string; +export type Dtype = "F64" | "F32" | "F16" | "F8_E4M3" | "F8_E5M2" | "E8M0" | "F6_E3M2" | "F6_E2M3" | "F4" | "FP4" | "BF16" | "I64" | "I32" | "I16" | "I8" | "U16" | "U8" | "UE8" | "BOOL"; +export interface TensorInfo { + dtype: Dtype; + shape: number[]; + data_offsets: [number, number]; +} +export type SafetensorsFileHeader = Record & { + __metadata__: { + total_parameters?: string | number; + } & Record; +}; +export interface SafetensorsIndexJson { + dtype?: string; + metadata?: { + total_parameters?: string | number; + } & Record; + weight_map: Record; +} +export type SafetensorsShardedHeaders = Record; +export type SafetensorsParseFromRepo = { + sharded: false; + header: SafetensorsFileHeader; + parameterCount?: Partial>; + parameterTotal?: number; +} | { + sharded: true; + index: SafetensorsIndexJson; + headers: SafetensorsShardedHeaders; + parameterCount?: Partial>; + parameterTotal?: number; +}; +/** + * Analyze model.safetensors.index.json or model.safetensors from a model hosted + * on Hugging Face using smart range requests to extract its metadata. + */ +export declare function parseSafetensorsMetadata(params: { + /** Only models are supported */ + repo: RepoDesignation; + /** + * Relative file path to safetensors file inside `repo`. Defaults to `SAFETENSORS_FILE` or `SAFETENSORS_INDEX_FILE` (whichever one exists). + */ + path?: string; + /** + * Will include SafetensorsParseFromRepo["parameterCount"], an object containing the number of parameters for each DType + * + * @default false + */ + computeParametersCount: true; + hubUrl?: string; + revision?: string; + /** + * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. + */ + fetch?: typeof fetch; +} & Partial): Promise>; +export declare function parseSafetensorsMetadata(params: { + /** Only models are supported */ + repo: RepoDesignation; + path?: string; + /** + * Will include SafetensorsParseFromRepo["parameterCount"], an object containing the number of parameters for each DType + * + * @default false + */ + computeParametersCount?: boolean; + hubUrl?: string; + revision?: string; + /** + * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. + */ + fetch?: typeof fetch; +} & Partial): Promise; +export interface QuantizationConfig { + quant_method?: string; + modules_to_not_convert?: string[]; + bits?: number; + load_in_4bit?: boolean; + load_in_8bit?: boolean; +} +export interface ModelConfig { + quantization_config?: QuantizationConfig; +} +export {}; +//# sourceMappingURL=parse-safetensors-metadata.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/parse-safetensors-metadata.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/parse-safetensors-metadata.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..cf1a11a3ad90c740d47cde254b54b1ca46feef9c --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/parse-safetensors-metadata.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"parse-safetensors-metadata.d.ts","sourceRoot":"","sources":["../../../src/lib/parse-safetensors-metadata.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAO1E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAEpE,eAAO,MAAM,gBAAgB,sBAAsB,CAAC;AACpD,eAAO,MAAM,sBAAsB,iCAAiC,CAAC;AAGrE,eAAO,MAAM,mBAAmB,QAAmB,CAAC;AACpD,eAAO,MAAM,yBAAyB,QAAgC,CAAC;AACvE,eAAO,MAAM,yBAAyB,QACmD,CAAC;AAC1F,MAAM,WAAW,wBAAwB;IACxC,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACd;AACD,wBAAgB,6BAA6B,CAAC,QAAQ,EAAE,MAAM,GAAG,wBAAwB,GAAG,IAAI,CAW/F;AAQD,KAAK,QAAQ,GAAG,MAAM,CAAC;AAEvB,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC;AAChC,MAAM,MAAM,KAAK,GACd,KAAK,GACL,KAAK,GACL,KAAK,GACL,SAAS,GACT,SAAS,GACT,MAAM,GACN,SAAS,GACT,SAAS,GACT,IAAI,GACJ,KAAK,GACL,MAAM,GACN,KAAK,GACL,KAAK,GACL,KAAK,GACL,IAAI,GACJ,KAAK,GACL,IAAI,GACJ,KAAK,GACL,MAAM,CAAC;AAEV,MAAM,WA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AAC;IACtB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,sBAAsB,EAAE,IAAI,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;CACrB,GAAG,OAAO,CAAC,iBAAiB,CAAC,GAC5B,OAAO,CAAC,WAAW,CAAC,wBAAwB,EAAE,gBAAgB,CAAC,CAAC,CAAC;AACpE,wBAAsB,wBAAwB,CAC7C,MAAM,EAAE;IACP,gCAAgC;IAChC,IAAI,EAAE,eAAe,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;CACrB,GAAG,OAAO,CAAC,iBAAiB,CAAC,GAC5B,OAAO,CAAC,wBAAwB,CAAC,CAAC;AA+ErC,MAAM,WAAW,kBAAkB;IAClC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,sBAAsB,CAAC,EAAE,MAAM,EAAE,CAAC;IAClC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,YAAY,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,WAAW,WAAW;IAC3B,mBAAmB,CAAC,EAAE,kBAAkB,CAAC;CACzC"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/parse-safetensors-metadata.spec.d.ts b/node_modules/@huggingface/hub/dist/src/lib/parse-safetensors-metadata.spec.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..c781076e3abe952949abdabe873f645b2b014406 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/parse-safetensors-metadata.spec.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=parse-safetensors-metadata.spec.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/parse-safetensors-metadata.spec.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/parse-safetensors-metadata.spec.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..48e6b84cbf71fab528aa031cc04330eaf886b1c5 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/parse-safetensors-metadata.spec.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"parse-safetensors-metadata.spec.d.ts","sourceRoot":"","sources":["../../../src/lib/parse-safetensors-metadata.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/paths-info.d.ts b/node_modules/@huggingface/hub/dist/src/lib/paths-info.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..59c1582799ac2c34c8a0ea84854deb6406e05d4f --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/paths-info.d.ts @@ -0,0 +1,52 @@ +import type { CredentialsParams, RepoDesignation } from "../types/public"; +export interface LfsPathInfo { + oid: string; + size: number; + pointerSize: number; +} +export interface CommitInfo { + id: string; + title: string; + date: Date; +} +export interface SecurityFileStatus { + status: string; +} +export interface PathInfo { + path: string; + type: string; + oid: string; + size: number; + /** + * Only defined when path is LFS pointer + */ + lfs?: LfsPathInfo; + lastCommit?: CommitInfo; + securityFileStatus?: SecurityFileStatus; +} +export declare function pathsInfo(params: { + repo: RepoDesignation; + paths: string[]; + expand: true; + revision?: string; + hubUrl?: string; + /** + * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. + */ + fetch?: typeof fetch; +} & Partial): Promise<(PathInfo & { + lastCommit: CommitInfo; + securityFileStatus: SecurityFileStatus; +})[]>; +export declare function pathsInfo(params: { + repo: RepoDesignation; + paths: string[]; + expand?: boolean; + revision?: string; + hubUrl?: string; + /** + * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. + */ + fetch?: typeof fetch; +} & Partial): Promise; +//# sourceMappingURL=paths-info.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/paths-info.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/paths-info.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..330db340c4d7a3f1bed18c32d0b8466fd6d3a36d --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/paths-info.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"paths-info.d.ts","sourceRoot":"","sources":["../../../src/lib/paths-info.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAM1E,MAAM,WAAW,WAAW;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,UAAU;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,IAAI,CAAC;CACX;AAED,MAAM,WAAW,kBAAkB;IAClC,MAAM,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,QAAQ;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,GAAG,CAAC,EAAE,WAAW,CAAC;IAClB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;CACxC;AAGD,wBAAgB,SAAS,CACxB,MAAM,EAAE;IACP,IAAI,EAAE,eAAe,CAAC;IACtB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,MAAM,EAAE,IAAI,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;CACrB,GAAG,OAAO,CAAC,iBAAiB,CAAC,GAC5B,OAAO,CAAC,CAAC,QAAQ,GAAG;IAAE,UAAU,EAAE,UAAU,CAAC;IAAC,kBAAkB,EAAE,kBAAkB,CAAA;CAAE,CAAC,EAAE,CAAC,CAAC;AAC9F,wBAAgB,SAAS,CACxB,MAAM,EAAE;IACP,IAAI,EAAE,eAAe,CAAC;IACtB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;CACrB,GAAG,OAAO,CAAC,iBAAiB,CAAC,GAC5B,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/paths-info.spec.d.ts b/node_modules/@huggingface/hub/dist/src/lib/paths-info.spec.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..9c94e1d347a5971f3b51de846929d205fe90d091 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/paths-info.spec.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=paths-info.spec.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/paths-info.spec.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/paths-info.spec.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..0f444672581f4abaaa495a8f6735cf129bb8b391 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/paths-info.spec.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"paths-info.spec.d.ts","sourceRoot":"","sources":["../../../src/lib/paths-info.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/repo-exists.d.ts b/node_modules/@huggingface/hub/dist/src/lib/repo-exists.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..6f48cd5ae8a49f5e539ec2abf2077b7f58009c65 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/repo-exists.d.ts @@ -0,0 +1,15 @@ +import type { RepoDesignation } from "../types/public"; +export declare function repoExists(params: { + repo: RepoDesignation; + hubUrl?: string; + /** + * An optional Git revision id which can be a branch name, a tag, or a commit hash. + */ + revision?: string; + /** + * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. + */ + fetch?: typeof fetch; + accessToken?: string; +}): Promise; +//# sourceMappingURL=repo-exists.d.ts.map \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/repo-exists.d.ts.map b/node_modules/@huggingface/hub/dist/src/lib/repo-exists.d.ts.map new file mode 100644 index 0000000000000000000000000000000000000000..66eb6fa7ed688e3cfbb975679a72caac9e8d09c5 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/repo-exists.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"repo-exists.d.ts","sourceRoot":"","sources":["../../../src/lib/repo-exists.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAGvD,wBAAsB,UAAU,CAAC,MAAM,EAAE;IACxC,IAAI,EAAE,eAAe,CAAC;IAEtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;CACrB,GAAG,OAAO,CAAC,OAAO,CAAC,CAwBnB"} \ No newline at end of file diff --git a/node_modules/@huggingface/hub/dist/src/lib/repo-exists.spec.d.ts b/node_modules/@huggingface/hub/dist/src/lib/repo-exists.spec.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..d863da4915c8018fe13da8229bff74d3e9fd5f12 --- /dev/null +++ b/node_modules/@huggingface/hub/dist/src/lib/repo-exists.spec.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=repo-exists.spec.d.ts.map \ No newline at end of file