@coderwyd/eslint-config
Version:
Donny's ESLint config
999 lines (994 loc) • 87.4 kB
JavaScript
import { createRequire } from "node:module";
//#region rolldown:runtime
var __create$1 = Object.create;
var __defProp$1 = Object.defineProperty;
var __getOwnPropDesc$1 = Object.getOwnPropertyDescriptor;
var __getOwnPropNames$1 = Object.getOwnPropertyNames;
var __getProtoOf$1 = Object.getPrototypeOf;
var __hasOwnProp$1 = Object.prototype.hasOwnProperty;
var __commonJS$1 = (cb, mod) => function() {
return mod || (0, cb[__getOwnPropNames$1(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
};
var __copyProps$1 = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames$1(from), i = 0, n = keys.length, key; i < n; i++) {
key = keys[i];
if (!__hasOwnProp$1.call(to, key) && key !== except) __defProp$1(to, key, {
get: ((k) => from[k]).bind(null, key),
enumerable: !(desc = __getOwnPropDesc$1(from, key)) || desc.enumerable
});
}
return to;
};
var __toESM$1 = (mod, isNodeMode, target) => (target = mod != null ? __create$1(__getProtoOf$1(mod)) : {}, __copyProps$1(isNodeMode || !mod || !mod.__esModule ? __defProp$1(target, "default", {
value: mod,
enumerable: true
}) : target, mod));
//#endregion
//#region node_modules/.pnpm/eslint-plugin-import-lite@0_c838f1a32201d76532b4c7682b426a35/node_modules/eslint-plugin-import-lite/dist/rolldown-runtime.js
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() {
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
};
var __commonJS = (cb, mod) => function() {
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 (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
key = keys[i];
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
get: ((k) => from[k]).bind(null, key),
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
});
}
return to;
};
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
value: mod,
enumerable: true
}) : target, mod));
var __require = /* @__PURE__ */ createRequire(import.meta.url);
//#endregion
//#region node_modules/.pnpm/eslint-plugin-import-lite@0_c838f1a32201d76532b4c7682b426a35/node_modules/eslint-plugin-import-lite/dist/vender.js
var require_deepMerge = __commonJS({ "node_modules/.pnpm/@typescript-eslint+utils@8.34.0_eslint@9.28.0_jiti@2.4.2__typescript@5.8.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.js"(exports$1) {
Object.defineProperty(exports$1, "__esModule", { value: true });
exports$1.isObjectNotArray = isObjectNotArray;
exports$1.deepMerge = deepMerge;
/**
* Check if the variable contains an object strictly rejecting arrays
* @returns `true` if obj is an object
*/
function isObjectNotArray(obj) {
return typeof obj === "object" && obj != null && !Array.isArray(obj);
}
/**
* Pure function - doesn't mutate either parameter!
* Merges two objects together deeply, overwriting the properties in first with the properties in second
* @param first The first object
* @param second The second object
* @returns a new object
*/
function deepMerge(first = {}, second = {}) {
const keys = new Set([...Object.keys(first), ...Object.keys(second)]);
return Object.fromEntries([...keys].map((key) => {
const firstHasKey = key in first;
const secondHasKey = key in second;
const firstValue = first[key];
const secondValue = second[key];
let value;
if (firstHasKey && secondHasKey) if (isObjectNotArray(firstValue) && isObjectNotArray(secondValue)) value = deepMerge(firstValue, secondValue);
else value = secondValue;
else if (firstHasKey) value = firstValue;
else value = secondValue;
return [key, value];
}));
}
} });
var require_applyDefault = __commonJS({ "node_modules/.pnpm/@typescript-eslint+utils@8.34.0_eslint@9.28.0_jiti@2.4.2__typescript@5.8.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js"(exports$1) {
Object.defineProperty(exports$1, "__esModule", { value: true });
exports$1.applyDefault = applyDefault;
const deepMerge_1 = require_deepMerge();
/**
* Pure function - doesn't mutate either parameter!
* Uses the default options and overrides with the options provided by the user
* @param defaultOptions the defaults
* @param userOptions the user opts
* @returns the options with defaults
*/
function applyDefault(defaultOptions, userOptions) {
const options = structuredClone(defaultOptions);
if (userOptions == null) return options;
options.forEach((opt, i) => {
if (userOptions[i] !== void 0) {
const userOpt = userOptions[i];
if ((0, deepMerge_1.isObjectNotArray)(userOpt) && (0, deepMerge_1.isObjectNotArray)(opt)) options[i] = (0, deepMerge_1.deepMerge)(opt, userOpt);
else options[i] = userOpt;
}
});
return options;
}
} });
var require_parserSeemsToBeTSESLint = __commonJS({ "node_modules/.pnpm/@typescript-eslint+utils@8.34.0_eslint@9.28.0_jiti@2.4.2__typescript@5.8.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/parserSeemsToBeTSESLint.js"(exports$1) {
Object.defineProperty(exports$1, "__esModule", { value: true });
exports$1.parserSeemsToBeTSESLint = parserSeemsToBeTSESLint;
function parserSeemsToBeTSESLint(parser) {
return !!parser && /(?:typescript-eslint|\.\.)[\w/\\]*parser/.test(parser);
}
} });
var require_getParserServices = __commonJS({ "node_modules/.pnpm/@typescript-eslint+utils@8.34.0_eslint@9.28.0_jiti@2.4.2__typescript@5.8.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.js"(exports$1) {
Object.defineProperty(exports$1, "__esModule", { value: true });
exports$1.getParserServices = getParserServices;
const parserSeemsToBeTSESLint_1 = require_parserSeemsToBeTSESLint();
const ERROR_MESSAGE_REQUIRES_PARSER_SERVICES = "You have used a rule which requires type information, but don't have parserOptions set to generate type information for this file. See https://typescript-eslint.io/getting-started/typed-linting for enabling linting with type information.";
const ERROR_MESSAGE_UNKNOWN_PARSER = "Note: detected a parser other than @typescript-eslint/parser. Make sure the parser is configured to forward \"parserOptions.project\" to @typescript-eslint/parser.";
function getParserServices(context, allowWithoutFullTypeInformation = false) {
const parser = context.parserPath || context.languageOptions.parser?.meta?.name;
if (context.sourceCode.parserServices?.esTreeNodeToTSNodeMap == null || context.sourceCode.parserServices.tsNodeToESTreeNodeMap == null) throwError(parser);
if (context.sourceCode.parserServices.program == null && !allowWithoutFullTypeInformation) throwError(parser);
return context.sourceCode.parserServices;
}
function throwError(parser) {
const messages = [
ERROR_MESSAGE_REQUIRES_PARSER_SERVICES,
`Parser: ${parser || "(unknown)"}`,
!(0, parserSeemsToBeTSESLint_1.parserSeemsToBeTSESLint)(parser) && ERROR_MESSAGE_UNKNOWN_PARSER
].filter(Boolean);
throw new Error(messages.join("\n"));
}
} });
var require_InferTypesFromRule = __commonJS({ "node_modules/.pnpm/@typescript-eslint+utils@8.34.0_eslint@9.28.0_jiti@2.4.2__typescript@5.8.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.js"(exports$1) {
Object.defineProperty(exports$1, "__esModule", { value: true });
} });
var require_nullThrows = __commonJS({ "node_modules/.pnpm/@typescript-eslint+utils@8.34.0_eslint@9.28.0_jiti@2.4.2__typescript@5.8.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js"(exports$1) {
Object.defineProperty(exports$1, "__esModule", { value: true });
exports$1.NullThrowsReasons = void 0;
exports$1.nullThrows = nullThrows;
/**
* A set of common reasons for calling nullThrows
*/
exports$1.NullThrowsReasons = {
MissingParent: "Expected node to have a parent.",
MissingToken: (token, thing) => `Expected to find a ${token} for the ${thing}.`
};
/**
* Assert that a value must not be null or undefined.
* This is a nice explicit alternative to the non-null assertion operator.
*/
function nullThrows(value, message) {
if (value == null) throw new Error(`Non-null Assertion Failed: ${message}`);
return value;
}
} });
var require_RuleCreator = __commonJS({ "node_modules/.pnpm/@typescript-eslint+utils@8.34.0_eslint@9.28.0_jiti@2.4.2__typescript@5.8.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.js"(exports$1) {
Object.defineProperty(exports$1, "__esModule", { value: true });
exports$1.RuleCreator = RuleCreator;
const applyDefault_1 = require_applyDefault();
/**
* Creates reusable function to create rules with default options and docs URLs.
*
* @param urlCreator Creates a documentation URL for a given rule name.
* @returns Function to create a rule with the docs URL format.
*/
function RuleCreator(urlCreator) {
return function createNamedRule({ meta, name,...rule }) {
return createRule$1({
meta: {
...meta,
docs: {
...meta.docs,
url: urlCreator(name)
}
},
...rule
});
};
}
function createRule$1({ create, defaultOptions, meta }) {
return {
create(context) {
const optionsWithDefault = (0, applyDefault_1.applyDefault)(defaultOptions, context.options);
return create(context, optionsWithDefault);
},
defaultOptions,
meta
};
}
/**
* Creates a well-typed TSESLint custom ESLint rule without a docs URL.
*
* @returns Well-typed TSESLint custom ESLint rule.
* @remarks It is generally better to provide a docs URL function to RuleCreator.
*/
RuleCreator.withoutDocs = function withoutDocs(args) {
return createRule$1(args);
};
} });
var require_eslint_utils$1 = __commonJS({ "node_modules/.pnpm/@typescript-eslint+utils@8.34.0_eslint@9.28.0_jiti@2.4.2__typescript@5.8.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.js"(exports$1) {
var __createBinding$7 = Object.create ? function(o, m, k, k2) {
if (k2 === void 0) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) desc = {
enumerable: true,
get: function() {
return m[k];
}
};
Object.defineProperty(o, k2, desc);
} : function(o, m, k, k2) {
if (k2 === void 0) k2 = k;
o[k2] = m[k];
};
var __exportStar$2 = function(m, exports$1$1) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports$1$1, p)) __createBinding$7(exports$1$1, m, p);
};
Object.defineProperty(exports$1, "__esModule", { value: true });
__exportStar$2(require_applyDefault(), exports$1);
__exportStar$2(require_deepMerge(), exports$1);
__exportStar$2(require_getParserServices(), exports$1);
__exportStar$2(require_InferTypesFromRule(), exports$1);
__exportStar$2(require_nullThrows(), exports$1);
__exportStar$2(require_RuleCreator(), exports$1);
} });
var require_astUtilities = __commonJS({ "node_modules/.pnpm/@typescript-eslint+utils@8.34.0_eslint@9.28.0_jiti@2.4.2__typescript@5.8.3/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js"(exports$1) {
var __createBinding$6 = Object.create ? function(o, m, k, k2) {
if (k2 === void 0) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) desc = {
enumerable: true,
get: function() {
return m[k];
}
};
Object.defineProperty(o, k2, desc);
} : function(o, m, k, k2) {
if (k2 === void 0) k2 = k;
o[k2] = m[k];
};
var __setModuleDefault$4 = Object.create ? function(o, v) {
Object.defineProperty(o, "default", {
enumerable: true,
value: v
});
} : function(o, v) {
o["default"] = v;
};
var __importStar$4 = function() {
var ownKeys = function(o) {
ownKeys = Object.getOwnPropertyNames || function(o$1) {
var ar = [];
for (var k in o$1) if (Object.prototype.hasOwnProperty.call(o$1, k)) ar[ar.length] = k;
return ar;
};
return ownKeys(o);
};
return function(mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) {
for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding$6(result, mod, k[i]);
}
__setModuleDefault$4(result, mod);
return result;
};
}();
Object.defineProperty(exports$1, "__esModule", { value: true });
exports$1.isParenthesized = exports$1.hasSideEffect = exports$1.getStringIfConstant = exports$1.getStaticValue = exports$1.getPropertyName = exports$1.getFunctionNameWithKind = exports$1.getFunctionHeadLocation = void 0;
const eslintUtils$4 = __importStar$4(__require("@eslint-community/eslint-utils"));
/**
* Get the proper location of a given function node to report.
*
* @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getfunctionheadlocation}
*/
exports$1.getFunctionHeadLocation = eslintUtils$4.getFunctionHeadLocation;
/**
* Get the name and kind of a given function node.
*
* @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getfunctionnamewithkind}
*/
exports$1.getFunctionNameWithKind = eslintUtils$4.getFunctionNameWithKind;
/**
* Get the property name of a given property node.
* If the node is a computed property, this tries to compute the property name by the getStringIfConstant function.
*
* @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getpropertyname}
* @returns The property name of the node. If the property name is not constant then it returns `null`.
*/
exports$1.getPropertyName = eslintUtils$4.getPropertyName;
/**
* Get the value of a given node if it can decide the value statically.
* If the 2nd parameter `initialScope` was given, this function tries to resolve identifier references which are in the
* given node as much as possible. In the resolving way, it does on the assumption that built-in global objects have
* not been modified.
* For example, it considers `Symbol.iterator`, `Symbol.for('k')`, ` String.raw``hello`` `, and `Object.freeze({a: 1}).a` as static, but `Symbol('k')` is not static.
*
* @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getstaticvalue}
* @returns The `{ value: any }` shaped object. The `value` property is the static value. If it couldn't compute the
* static value of the node, it returns `null`.
*/
exports$1.getStaticValue = eslintUtils$4.getStaticValue;
/**
* Get the string value of a given node.
* This function is a tiny wrapper of the getStaticValue function.
*
* @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getstringifconstant}
*/
exports$1.getStringIfConstant = eslintUtils$4.getStringIfConstant;
/**
* Check whether a given node has any side effect or not.
* The side effect means that it may modify a certain variable or object member. This function considers the node which
* contains the following types as the node which has side effects:
* - `AssignmentExpression`
* - `AwaitExpression`
* - `CallExpression`
* - `ImportExpression`
* - `NewExpression`
* - `UnaryExpression([operator = "delete"])`
* - `UpdateExpression`
* - `YieldExpression`
* - When `options.considerGetters` is `true`:
* - `MemberExpression`
* - When `options.considerImplicitTypeConversion` is `true`:
* - `BinaryExpression([operator = "==" | "!=" | "<" | "<=" | ">" | ">=" | "<<" | ">>" | ">>>" | "+" | "-" | "*" | "/" | "%" | "|" | "^" | "&" | "in"])`
* - `MemberExpression([computed = true])`
* - `MethodDefinition([computed = true])`
* - `Property([computed = true])`
* - `UnaryExpression([operator = "-" | "+" | "!" | "~"])`
*
* @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#hassideeffect}
*/
exports$1.hasSideEffect = eslintUtils$4.hasSideEffect;
exports$1.isParenthesized = eslintUtils$4.isParenthesized;
} });
var require_PatternMatcher = __commonJS({ "node_modules/.pnpm/@typescript-eslint+utils@8.34.0_eslint@9.28.0_jiti@2.4.2__typescript@5.8.3/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js"(exports$1) {
var __createBinding$5 = Object.create ? function(o, m, k, k2) {
if (k2 === void 0) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) desc = {
enumerable: true,
get: function() {
return m[k];
}
};
Object.defineProperty(o, k2, desc);
} : function(o, m, k, k2) {
if (k2 === void 0) k2 = k;
o[k2] = m[k];
};
var __setModuleDefault$3 = Object.create ? function(o, v) {
Object.defineProperty(o, "default", {
enumerable: true,
value: v
});
} : function(o, v) {
o["default"] = v;
};
var __importStar$3 = function() {
var ownKeys = function(o) {
ownKeys = Object.getOwnPropertyNames || function(o$1) {
var ar = [];
for (var k in o$1) if (Object.prototype.hasOwnProperty.call(o$1, k)) ar[ar.length] = k;
return ar;
};
return ownKeys(o);
};
return function(mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) {
for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding$5(result, mod, k[i]);
}
__setModuleDefault$3(result, mod);
return result;
};
}();
Object.defineProperty(exports$1, "__esModule", { value: true });
exports$1.PatternMatcher = void 0;
const eslintUtils$3 = __importStar$3(__require("@eslint-community/eslint-utils"));
/**
* The class to find a pattern in strings as handling escape sequences.
* It ignores the found pattern if it's escaped with `\`.
*
* @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#patternmatcher-class}
*/
exports$1.PatternMatcher = eslintUtils$3.PatternMatcher;
} });
var require_predicates$1 = __commonJS({ "node_modules/.pnpm/@typescript-eslint+utils@8.34.0_eslint@9.28.0_jiti@2.4.2__typescript@5.8.3/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js"(exports$1) {
var __createBinding$4 = Object.create ? function(o, m, k, k2) {
if (k2 === void 0) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) desc = {
enumerable: true,
get: function() {
return m[k];
}
};
Object.defineProperty(o, k2, desc);
} : function(o, m, k, k2) {
if (k2 === void 0) k2 = k;
o[k2] = m[k];
};
var __setModuleDefault$2 = Object.create ? function(o, v) {
Object.defineProperty(o, "default", {
enumerable: true,
value: v
});
} : function(o, v) {
o["default"] = v;
};
var __importStar$2 = function() {
var ownKeys = function(o) {
ownKeys = Object.getOwnPropertyNames || function(o$1) {
var ar = [];
for (var k in o$1) if (Object.prototype.hasOwnProperty.call(o$1, k)) ar[ar.length] = k;
return ar;
};
return ownKeys(o);
};
return function(mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) {
for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding$4(result, mod, k[i]);
}
__setModuleDefault$2(result, mod);
return result;
};
}();
Object.defineProperty(exports$1, "__esModule", { value: true });
exports$1.isNotSemicolonToken = exports$1.isSemicolonToken = exports$1.isNotOpeningParenToken = exports$1.isOpeningParenToken = exports$1.isNotOpeningBracketToken = exports$1.isOpeningBracketToken = exports$1.isNotOpeningBraceToken = exports$1.isOpeningBraceToken = exports$1.isNotCommentToken = exports$1.isCommentToken = exports$1.isNotCommaToken = exports$1.isCommaToken = exports$1.isNotColonToken = exports$1.isColonToken = exports$1.isNotClosingParenToken = exports$1.isClosingParenToken = exports$1.isNotClosingBracketToken = exports$1.isClosingBracketToken = exports$1.isNotClosingBraceToken = exports$1.isClosingBraceToken = exports$1.isNotArrowToken = exports$1.isArrowToken = void 0;
const eslintUtils$2 = __importStar$2(__require("@eslint-community/eslint-utils"));
exports$1.isArrowToken = eslintUtils$2.isArrowToken;
exports$1.isNotArrowToken = eslintUtils$2.isNotArrowToken;
exports$1.isClosingBraceToken = eslintUtils$2.isClosingBraceToken;
exports$1.isNotClosingBraceToken = eslintUtils$2.isNotClosingBraceToken;
exports$1.isClosingBracketToken = eslintUtils$2.isClosingBracketToken;
exports$1.isNotClosingBracketToken = eslintUtils$2.isNotClosingBracketToken;
exports$1.isClosingParenToken = eslintUtils$2.isClosingParenToken;
exports$1.isNotClosingParenToken = eslintUtils$2.isNotClosingParenToken;
exports$1.isColonToken = eslintUtils$2.isColonToken;
exports$1.isNotColonToken = eslintUtils$2.isNotColonToken;
exports$1.isCommaToken = eslintUtils$2.isCommaToken;
exports$1.isNotCommaToken = eslintUtils$2.isNotCommaToken;
exports$1.isCommentToken = eslintUtils$2.isCommentToken;
exports$1.isNotCommentToken = eslintUtils$2.isNotCommentToken;
exports$1.isOpeningBraceToken = eslintUtils$2.isOpeningBraceToken;
exports$1.isNotOpeningBraceToken = eslintUtils$2.isNotOpeningBraceToken;
exports$1.isOpeningBracketToken = eslintUtils$2.isOpeningBracketToken;
exports$1.isNotOpeningBracketToken = eslintUtils$2.isNotOpeningBracketToken;
exports$1.isOpeningParenToken = eslintUtils$2.isOpeningParenToken;
exports$1.isNotOpeningParenToken = eslintUtils$2.isNotOpeningParenToken;
exports$1.isSemicolonToken = eslintUtils$2.isSemicolonToken;
exports$1.isNotSemicolonToken = eslintUtils$2.isNotSemicolonToken;
} });
var require_ReferenceTracker = __commonJS({ "node_modules/.pnpm/@typescript-eslint+utils@8.34.0_eslint@9.28.0_jiti@2.4.2__typescript@5.8.3/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js"(exports$1) {
var __createBinding$3 = Object.create ? function(o, m, k, k2) {
if (k2 === void 0) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) desc = {
enumerable: true,
get: function() {
return m[k];
}
};
Object.defineProperty(o, k2, desc);
} : function(o, m, k, k2) {
if (k2 === void 0) k2 = k;
o[k2] = m[k];
};
var __setModuleDefault$1 = Object.create ? function(o, v) {
Object.defineProperty(o, "default", {
enumerable: true,
value: v
});
} : function(o, v) {
o["default"] = v;
};
var __importStar$1 = function() {
var ownKeys = function(o) {
ownKeys = Object.getOwnPropertyNames || function(o$1) {
var ar = [];
for (var k in o$1) if (Object.prototype.hasOwnProperty.call(o$1, k)) ar[ar.length] = k;
return ar;
};
return ownKeys(o);
};
return function(mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) {
for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding$3(result, mod, k[i]);
}
__setModuleDefault$1(result, mod);
return result;
};
}();
Object.defineProperty(exports$1, "__esModule", { value: true });
exports$1.ReferenceTracker = void 0;
const eslintUtils$1 = __importStar$1(__require("@eslint-community/eslint-utils"));
const ReferenceTrackerREAD = eslintUtils$1.ReferenceTracker.READ;
const ReferenceTrackerCALL = eslintUtils$1.ReferenceTracker.CALL;
const ReferenceTrackerCONSTRUCT = eslintUtils$1.ReferenceTracker.CONSTRUCT;
const ReferenceTrackerESM = eslintUtils$1.ReferenceTracker.ESM;
/**
* The tracker for references. This provides reference tracking for global variables, CommonJS modules, and ES modules.
*
* @see {@link https://eslint-community.github.io/eslint-utils/api/scope-utils.html#referencetracker-class}
*/
exports$1.ReferenceTracker = eslintUtils$1.ReferenceTracker;
} });
var require_scopeAnalysis = __commonJS({ "node_modules/.pnpm/@typescript-eslint+utils@8.34.0_eslint@9.28.0_jiti@2.4.2__typescript@5.8.3/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js"(exports$1) {
var __createBinding$2 = Object.create ? function(o, m, k, k2) {
if (k2 === void 0) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) desc = {
enumerable: true,
get: function() {
return m[k];
}
};
Object.defineProperty(o, k2, desc);
} : function(o, m, k, k2) {
if (k2 === void 0) k2 = k;
o[k2] = m[k];
};
var __setModuleDefault$1 = Object.create ? function(o, v) {
Object.defineProperty(o, "default", {
enumerable: true,
value: v
});
} : function(o, v) {
o["default"] = v;
};
var __importStar$1 = function() {
var ownKeys = function(o) {
ownKeys = Object.getOwnPropertyNames || function(o$1) {
var ar = [];
for (var k in o$1) if (Object.prototype.hasOwnProperty.call(o$1, k)) ar[ar.length] = k;
return ar;
};
return ownKeys(o);
};
return function(mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) {
for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding$2(result, mod, k[i]);
}
__setModuleDefault$1(result, mod);
return result;
};
}();
Object.defineProperty(exports$1, "__esModule", { value: true });
exports$1.getInnermostScope = exports$1.findVariable = void 0;
const eslintUtils = __importStar$1(__require("@eslint-community/eslint-utils"));
/**
* Get the variable of a given name.
*
* @see {@link https://eslint-community.github.io/eslint-utils/api/scope-utils.html#findvariable}
*/
exports$1.findVariable = eslintUtils.findVariable;
/**
* Get the innermost scope which contains a given node.
*
* @see {@link https://eslint-community.github.io/eslint-utils/api/scope-utils.html#getinnermostscope}
* @returns The innermost scope which contains the given node.
* If such scope doesn't exist then it returns the 1st argument `initialScope`.
*/
exports$1.getInnermostScope = eslintUtils.getInnermostScope;
} });
var require_eslint_utils = __commonJS({ "node_modules/.pnpm/@typescript-eslint+utils@8.34.0_eslint@9.28.0_jiti@2.4.2__typescript@5.8.3/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/index.js"(exports$1) {
var __createBinding$1$1 = Object.create ? function(o, m, k, k2) {
if (k2 === void 0) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) desc = {
enumerable: true,
get: function() {
return m[k];
}
};
Object.defineProperty(o, k2, desc);
} : function(o, m, k, k2) {
if (k2 === void 0) k2 = k;
o[k2] = m[k];
};
var __exportStar$1 = function(m, exports$1$1) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports$1$1, p)) __createBinding$1$1(exports$1$1, m, p);
};
Object.defineProperty(exports$1, "__esModule", { value: true });
__exportStar$1(require_astUtilities(), exports$1);
__exportStar$1(require_PatternMatcher(), exports$1);
__exportStar$1(require_predicates$1(), exports$1);
__exportStar$1(require_ReferenceTracker(), exports$1);
__exportStar$1(require_scopeAnalysis(), exports$1);
} });
var require_helpers = __commonJS({ "node_modules/.pnpm/@typescript-eslint+utils@8.34.0_eslint@9.28.0_jiti@2.4.2__typescript@5.8.3/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.js"(exports$1) {
Object.defineProperty(exports$1, "__esModule", { value: true });
exports$1.isNotTokenOfTypeWithConditions = exports$1.isTokenOfTypeWithConditions = exports$1.isNodeOfTypeWithConditions = exports$1.isNodeOfTypes = exports$1.isNodeOfType = void 0;
const isNodeOfType = (nodeType) => (node) => node?.type === nodeType;
exports$1.isNodeOfType = isNodeOfType;
const isNodeOfTypes = (nodeTypes) => (node) => !!node && nodeTypes.includes(node.type);
exports$1.isNodeOfTypes = isNodeOfTypes;
const isNodeOfTypeWithConditions = (nodeType, conditions) => {
const entries = Object.entries(conditions);
return (node) => node?.type === nodeType && entries.every(([key, value]) => node[key] === value);
};
exports$1.isNodeOfTypeWithConditions = isNodeOfTypeWithConditions;
const isTokenOfTypeWithConditions = (tokenType, conditions) => {
const entries = Object.entries(conditions);
return (token) => token?.type === tokenType && entries.every(([key, value]) => token[key] === value);
};
exports$1.isTokenOfTypeWithConditions = isTokenOfTypeWithConditions;
const isNotTokenOfTypeWithConditions = (tokenType, conditions) => (token) => !(0, exports$1.isTokenOfTypeWithConditions)(tokenType, conditions)(token);
exports$1.isNotTokenOfTypeWithConditions = isNotTokenOfTypeWithConditions;
} });
var require_misc = __commonJS({ "node_modules/.pnpm/@typescript-eslint+utils@8.34.0_eslint@9.28.0_jiti@2.4.2__typescript@5.8.3/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.js"(exports$1) {
Object.defineProperty(exports$1, "__esModule", { value: true });
exports$1.LINEBREAK_MATCHER = void 0;
exports$1.isTokenOnSameLine = isTokenOnSameLine;
exports$1.LINEBREAK_MATCHER = /\r\n|[\r\n\u2028\u2029]/;
/**
* Determines whether two adjacent tokens are on the same line
*/
function isTokenOnSameLine(left, right) {
return left.loc.end.line === right.loc.start.line;
}
} });
var require_ts_estree$1 = __commonJS({ "node_modules/.pnpm/@typescript-eslint+utils@8.34.0_eslint@9.28.0_jiti@2.4.2__typescript@5.8.3/node_modules/@typescript-eslint/utils/dist/ts-estree.js"(exports$1) {
Object.defineProperty(exports$1, "__esModule", { value: true });
exports$1.TSESTree = exports$1.AST_TOKEN_TYPES = exports$1.AST_NODE_TYPES = void 0;
var types_1 = __require("@typescript-eslint/types");
Object.defineProperty(exports$1, "AST_NODE_TYPES", {
enumerable: true,
get: function() {
return types_1.AST_NODE_TYPES;
}
});
Object.defineProperty(exports$1, "AST_TOKEN_TYPES", {
enumerable: true,
get: function() {
return types_1.AST_TOKEN_TYPES;
}
});
Object.defineProperty(exports$1, "TSESTree", {
enumerable: true,
get: function() {
return types_1.TSESTree;
}
});
} });
var require_predicates = __commonJS({ "node_modules/.pnpm/@typescript-eslint+utils@8.34.0_eslint@9.28.0_jiti@2.4.2__typescript@5.8.3/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js"(exports$1) {
Object.defineProperty(exports$1, "__esModule", { value: true });
exports$1.isLoop = exports$1.isImportKeyword = exports$1.isTypeKeyword = exports$1.isAwaitKeyword = exports$1.isAwaitExpression = exports$1.isIdentifier = exports$1.isConstructor = exports$1.isClassOrTypeElement = exports$1.isTSConstructorType = exports$1.isTSFunctionType = exports$1.isFunctionOrFunctionType = exports$1.isFunctionType = exports$1.isFunction = exports$1.isVariableDeclarator = exports$1.isTypeAssertion = exports$1.isLogicalOrOperator = exports$1.isOptionalCallExpression = exports$1.isNotNonNullAssertionPunctuator = exports$1.isNonNullAssertionPunctuator = exports$1.isNotOptionalChainPunctuator = exports$1.isOptionalChainPunctuator = void 0;
exports$1.isSetter = isSetter;
const ts_estree_1 = require_ts_estree$1();
const helpers_1 = require_helpers();
exports$1.isOptionalChainPunctuator = (0, helpers_1.isTokenOfTypeWithConditions)(ts_estree_1.AST_TOKEN_TYPES.Punctuator, { value: "?." });
exports$1.isNotOptionalChainPunctuator = (0, helpers_1.isNotTokenOfTypeWithConditions)(ts_estree_1.AST_TOKEN_TYPES.Punctuator, { value: "?." });
exports$1.isNonNullAssertionPunctuator = (0, helpers_1.isTokenOfTypeWithConditions)(ts_estree_1.AST_TOKEN_TYPES.Punctuator, { value: "!" });
exports$1.isNotNonNullAssertionPunctuator = (0, helpers_1.isNotTokenOfTypeWithConditions)(ts_estree_1.AST_TOKEN_TYPES.Punctuator, { value: "!" });
/**
* Returns true if and only if the node represents: foo?.() or foo.bar?.()
*/
exports$1.isOptionalCallExpression = (0, helpers_1.isNodeOfTypeWithConditions)(ts_estree_1.AST_NODE_TYPES.CallExpression, { optional: true });
/**
* Returns true if and only if the node represents logical OR
*/
exports$1.isLogicalOrOperator = (0, helpers_1.isNodeOfTypeWithConditions)(ts_estree_1.AST_NODE_TYPES.LogicalExpression, { operator: "||" });
/**
* Checks if a node is a type assertion:
* ```
* x as foo
* <foo>x
* ```
*/
exports$1.isTypeAssertion = (0, helpers_1.isNodeOfTypes)([ts_estree_1.AST_NODE_TYPES.TSAsExpression, ts_estree_1.AST_NODE_TYPES.TSTypeAssertion]);
exports$1.isVariableDeclarator = (0, helpers_1.isNodeOfType)(ts_estree_1.AST_NODE_TYPES.VariableDeclarator);
const functionTypes = [
ts_estree_1.AST_NODE_TYPES.ArrowFunctionExpression,
ts_estree_1.AST_NODE_TYPES.FunctionDeclaration,
ts_estree_1.AST_NODE_TYPES.FunctionExpression
];
exports$1.isFunction = (0, helpers_1.isNodeOfTypes)(functionTypes);
const functionTypeTypes = [
ts_estree_1.AST_NODE_TYPES.TSCallSignatureDeclaration,
ts_estree_1.AST_NODE_TYPES.TSConstructorType,
ts_estree_1.AST_NODE_TYPES.TSConstructSignatureDeclaration,
ts_estree_1.AST_NODE_TYPES.TSDeclareFunction,
ts_estree_1.AST_NODE_TYPES.TSEmptyBodyFunctionExpression,
ts_estree_1.AST_NODE_TYPES.TSFunctionType,
ts_estree_1.AST_NODE_TYPES.TSMethodSignature
];
exports$1.isFunctionType = (0, helpers_1.isNodeOfTypes)(functionTypeTypes);
exports$1.isFunctionOrFunctionType = (0, helpers_1.isNodeOfTypes)([...functionTypes, ...functionTypeTypes]);
exports$1.isTSFunctionType = (0, helpers_1.isNodeOfType)(ts_estree_1.AST_NODE_TYPES.TSFunctionType);
exports$1.isTSConstructorType = (0, helpers_1.isNodeOfType)(ts_estree_1.AST_NODE_TYPES.TSConstructorType);
exports$1.isClassOrTypeElement = (0, helpers_1.isNodeOfTypes)([
ts_estree_1.AST_NODE_TYPES.PropertyDefinition,
ts_estree_1.AST_NODE_TYPES.FunctionExpression,
ts_estree_1.AST_NODE_TYPES.MethodDefinition,
ts_estree_1.AST_NODE_TYPES.TSAbstractPropertyDefinition,
ts_estree_1.AST_NODE_TYPES.TSAbstractMethodDefinition,
ts_estree_1.AST_NODE_TYPES.TSEmptyBodyFunctionExpression,
ts_estree_1.AST_NODE_TYPES.TSIndexSignature,
ts_estree_1.AST_NODE_TYPES.TSCallSignatureDeclaration,
ts_estree_1.AST_NODE_TYPES.TSConstructSignatureDeclaration,
ts_estree_1.AST_NODE_TYPES.TSMethodSignature,
ts_estree_1.AST_NODE_TYPES.TSPropertySignature
]);
/**
* Checks if a node is a constructor method.
*/
exports$1.isConstructor = (0, helpers_1.isNodeOfTypeWithConditions)(ts_estree_1.AST_NODE_TYPES.MethodDefinition, { kind: "constructor" });
/**
* Checks if a node is a setter method.
*/
function isSetter(node) {
return !!node && (node.type === ts_estree_1.AST_NODE_TYPES.MethodDefinition || node.type === ts_estree_1.AST_NODE_TYPES.Property) && node.kind === "set";
}
exports$1.isIdentifier = (0, helpers_1.isNodeOfType)(ts_estree_1.AST_NODE_TYPES.Identifier);
/**
* Checks if a node represents an `await …` expression.
*/
exports$1.isAwaitExpression = (0, helpers_1.isNodeOfType)(ts_estree_1.AST_NODE_TYPES.AwaitExpression);
/**
* Checks if a possible token is the `await` keyword.
*/
exports$1.isAwaitKeyword = (0, helpers_1.isTokenOfTypeWithConditions)(ts_estree_1.AST_TOKEN_TYPES.Identifier, { value: "await" });
/**
* Checks if a possible token is the `type` keyword.
*/
exports$1.isTypeKeyword = (0, helpers_1.isTokenOfTypeWithConditions)(ts_estree_1.AST_TOKEN_TYPES.Identifier, { value: "type" });
/**
* Checks if a possible token is the `import` keyword.
*/
exports$1.isImportKeyword = (0, helpers_1.isTokenOfTypeWithConditions)(ts_estree_1.AST_TOKEN_TYPES.Keyword, { value: "import" });
exports$1.isLoop = (0, helpers_1.isNodeOfTypes)([
ts_estree_1.AST_NODE_TYPES.DoWhileStatement,
ts_estree_1.AST_NODE_TYPES.ForStatement,
ts_estree_1.AST_NODE_TYPES.ForInStatement,
ts_estree_1.AST_NODE_TYPES.ForOfStatement,
ts_estree_1.AST_NODE_TYPES.WhileStatement
]);
} });
var require_ast_utils = __commonJS({ "node_modules/.pnpm/@typescript-eslint+utils@8.34.0_eslint@9.28.0_jiti@2.4.2__typescript@5.8.3/node_modules/@typescript-eslint/utils/dist/ast-utils/index.js"(exports$1) {
var __createBinding$2 = Object.create ? function(o, m, k, k2) {
if (k2 === void 0) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) desc = {
enumerable: true,
get: function() {
return m[k];
}
};
Object.defineProperty(o, k2, desc);
} : function(o, m, k, k2) {
if (k2 === void 0) k2 = k;
o[k2] = m[k];
};
var __exportStar$1 = function(m, exports$1$1) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports$1$1, p)) __createBinding$2(exports$1$1, m, p);
};
Object.defineProperty(exports$1, "__esModule", { value: true });
__exportStar$1(require_eslint_utils(), exports$1);
__exportStar$1(require_helpers(), exports$1);
__exportStar$1(require_misc(), exports$1);
__exportStar$1(require_predicates(), exports$1);
} });
//#endregion
//#region node_modules/.pnpm/@typescript-eslint+types@8.34.0/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js
var require_ast_spec = __commonJS$1({ "node_modules/.pnpm/@typescript-eslint+types@8.34.0/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js"(exports) {
/**********************************************
* DO NOT MODIFY THIS FILE MANUALLY *
* *
* THIS FILE HAS BEEN COPIED FROM ast-spec. *
* ANY CHANGES WILL BE LOST ON THE NEXT BUILD *
* *
* MAKE CHANGES TO ast-spec AND THEN RUN *
* yarn build *
**********************************************/
Object.defineProperty(exports, "__esModule", { value: true });
exports.AST_TOKEN_TYPES = exports.AST_NODE_TYPES = void 0;
var AST_NODE_TYPES$2;
(function(AST_NODE_TYPES$3) {
AST_NODE_TYPES$3["AccessorProperty"] = "AccessorProperty";
AST_NODE_TYPES$3["ArrayExpression"] = "ArrayExpression";
AST_NODE_TYPES$3["ArrayPattern"] = "ArrayPattern";
AST_NODE_TYPES$3["ArrowFunctionExpression"] = "ArrowFunctionExpression";
AST_NODE_TYPES$3["AssignmentExpression"] = "AssignmentExpression";
AST_NODE_TYPES$3["AssignmentPattern"] = "AssignmentPattern";
AST_NODE_TYPES$3["AwaitExpression"] = "AwaitExpression";
AST_NODE_TYPES$3["BinaryExpression"] = "BinaryExpression";
AST_NODE_TYPES$3["BlockStatement"] = "BlockStatement";
AST_NODE_TYPES$3["BreakStatement"] = "BreakStatement";
AST_NODE_TYPES$3["CallExpression"] = "CallExpression";
AST_NODE_TYPES$3["CatchClause"] = "CatchClause";
AST_NODE_TYPES$3["ChainExpression"] = "ChainExpression";
AST_NODE_TYPES$3["ClassBody"] = "ClassBody";
AST_NODE_TYPES$3["ClassDeclaration"] = "ClassDeclaration";
AST_NODE_TYPES$3["ClassExpression"] = "ClassExpression";
AST_NODE_TYPES$3["ConditionalExpression"] = "ConditionalExpression";
AST_NODE_TYPES$3["ContinueStatement"] = "ContinueStatement";
AST_NODE_TYPES$3["DebuggerStatement"] = "DebuggerStatement";
AST_NODE_TYPES$3["Decorator"] = "Decorator";
AST_NODE_TYPES$3["DoWhileStatement"] = "DoWhileStatement";
AST_NODE_TYPES$3["EmptyStatement"] = "EmptyStatement";
AST_NODE_TYPES$3["ExportAllDeclaration"] = "ExportAllDeclaration";
AST_NODE_TYPES$3["ExportDefaultDeclaration"] = "ExportDefaultDeclaration";
AST_NODE_TYPES$3["ExportNamedDeclaration"] = "ExportNamedDeclaration";
AST_NODE_TYPES$3["ExportSpecifier"] = "ExportSpecifier";
AST_NODE_TYPES$3["ExpressionStatement"] = "ExpressionStatement";
AST_NODE_TYPES$3["ForInStatement"] = "ForInStatement";
AST_NODE_TYPES$3["ForOfStatement"] = "ForOfStatement";
AST_NODE_TYPES$3["ForStatement"] = "ForStatement";
AST_NODE_TYPES$3["FunctionDeclaration"] = "FunctionDeclaration";
AST_NODE_TYPES$3["FunctionExpression"] = "FunctionExpression";
AST_NODE_TYPES$3["Identifier"] = "Identifier";
AST_NODE_TYPES$3["IfStatement"] = "IfStatement";
AST_NODE_TYPES$3["ImportAttribute"] = "ImportAttribute";
AST_NODE_TYPES$3["ImportDeclaration"] = "ImportDeclaration";
AST_NODE_TYPES$3["ImportDefaultSpecifier"] = "ImportDefaultSpecifier";
AST_NODE_TYPES$3["ImportExpression"] = "ImportExpression";
AST_NODE_TYPES$3["ImportNamespaceSpecifier"] = "ImportNamespaceSpecifier";
AST_NODE_TYPES$3["ImportSpecifier"] = "ImportSpecifier";
AST_NODE_TYPES$3["JSXAttribute"] = "JSXAttribute";
AST_NODE_TYPES$3["JSXClosingElement"] = "JSXClosingElement";
AST_NODE_TYPES$3["JSXClosingFragment"] = "JSXClosingFragment";
AST_NODE_TYPES$3["JSXElement"] = "JSXElement";
AST_NODE_TYPES$3["JSXEmptyExpression"] = "JSXEmptyExpression";
AST_NODE_TYPES$3["JSXExpressionContainer"] = "JSXExpressionContainer";
AST_NODE_TYPES$3["JSXFragment"] = "JSXFragment";
AST_NODE_TYPES$3["JSXIdentifier"] = "JSXIdentifier";
AST_NODE_TYPES$3["JSXMemberExpression"] = "JSXMemberExpression";
AST_NODE_TYPES$3["JSXNamespacedName"] = "JSXNamespacedName";
AST_NODE_TYPES$3["JSXOpeningElement"] = "JSXOpeningElement";
AST_NODE_TYPES$3["JSXOpeningFragment"] = "JSXOpeningFragment";
AST_NODE_TYPES$3["JSXSpreadAttribute"] = "JSXSpreadAttribute";
AST_NODE_TYPES$3["JSXSpreadChild"] = "JSXSpreadChild";
AST_NODE_TYPES$3["JSXText"] = "JSXText";
AST_NODE_TYPES$3["LabeledStatement"] = "LabeledStatement";
AST_NODE_TYPES$3["Literal"] = "Literal";
AST_NODE_TYPES$3["LogicalExpression"] = "LogicalExpression";
AST_NODE_TYPES$3["MemberExpression"] = "MemberExpression";
AST_NODE_TYPES$3["MetaProperty"] = "MetaProperty";
AST_NODE_TYPES$3["MethodDefinition"] = "MethodDefinition";
AST_NODE_TYPES$3["NewExpression"] = "NewExpression";
AST_NODE_TYPES$3["ObjectExpression"] = "ObjectExpression";
AST_NODE_TYPES$3["ObjectPattern"] = "ObjectPattern";
AST_NODE_TYPES$3["PrivateIdentifier"] = "PrivateIdentifier";
AST_NODE_TYPES$3["Program"] = "Program";
AST_NODE_TYPES$3["Property"] = "Property";
AST_NODE_TYPES$3["PropertyDefinition"] = "PropertyDefinition";
AST_NODE_TYPES$3["RestElement"] = "RestElement";
AST_NODE_TYPES$3["ReturnStatement"] = "ReturnStatement";
AST_NODE_TYPES$3["SequenceExpression"] = "SequenceExpression";
AST_NODE_TYPES$3["SpreadElement"] = "SpreadElement";
AST_NODE_TYPES$3["StaticBlock"] = "StaticBlock";
AST_NODE_TYPES$3["Super"] = "Super";
AST_NODE_TYPES$3["SwitchCase"] = "SwitchCase";
AST_NODE_TYPES$3["SwitchStatement"] = "SwitchStatement";
AST_NODE_TYPES$3["TaggedTemplateExpression"] = "TaggedTemplateExpression";
AST_NODE_TYPES$3["TemplateElement"] = "TemplateElement";
AST_NODE_TYPES$3["TemplateLiteral"] = "TemplateLiteral";
AST_NODE_TYPES$3["ThisExpression"] = "ThisExpression";
AST_NODE_TYPES$3["ThrowStatement"] = "ThrowStatement";
AST_NODE_TYPES$3["TryStatement"] = "TryStatement";
AST_NODE_TYPES$3["UnaryExpression"] = "UnaryExpression";
AST_NODE_TYPES$3["UpdateExpression"] = "UpdateExpression";
AST_NODE_TYPES$3["VariableDeclaration"] = "VariableDeclaration";
AST_NODE_TYPES$3["VariableDeclarator"] = "VariableDeclarator";
AST_NODE_TYPES$3["WhileStatement"] = "WhileStatement";
AST_NODE_TYPES$3["WithStatement"] = "WithStatement";
AST_NODE_TYPES$3["YieldExpression"] = "YieldExpression";
AST_NODE_TYPES$3["TSAbstractAccessorProperty"] = "TSAbstractAccessorProperty";
AST_NODE_TYPES$3["TSAbstractKeyword"] = "TSAbstractKeyword";
AST_NODE_TYPES$3["TSAbstractMethodDefinition"] = "TSAbstractMethodDefinition";
AST_NODE_TYPES$3["TSAbstractPropertyDefinition"] = "TSAbstractPropertyDefinition";
AST_NODE_TYPES$3["TSAnyKeyword"] = "TSAnyKeyword";
AST_NODE_TYPES$3["TSArrayType"] = "TSArrayType";
AST_NODE_TYPES$3["TSAsExpression"] = "TSAsExpression";
AST_NODE_TYPES$3["TSAsyncKeyword"] = "TSAsyncKeyword";
AST_NODE_TYPES$3["TSBigIntKeyword"] = "TSBigIntKeyword";
AST_NODE_TYPES$3["TSBooleanKeyword"] = "TSBooleanKeyword";
AST_NODE_TYPES$3["TSCallSignatureDeclaration"] = "TSCallSignatureDeclaration";
AST_NODE_TYPES$3["TSClassImplements"] = "TSClassImplements";
AST_NODE_TYPES$3["TSConditionalType"] = "TSConditionalType";
AST_NODE_TYPES$3["TSConstructorType"] = "TSConstructorType";
AST_NODE_TYPES$3["TSConstructSignatureDeclaration"] = "TSConstructSignatureDeclaration";
AST_NODE_TYPES$3["TSDeclareFunction"] = "TSDeclareFunction";
AST_NODE_TYPES$3["TSDeclareKeyword"] = "TSDeclareKeyword";
AST_NODE_TYPES$3["TSEmptyBodyFunctionExpression"] = "TSEmptyBodyFunctionExpression";
AST_NODE_TYPES$3["TSEnumBody"] = "TSEnumBody";
AST_NODE_TYPES$3["TSEnumDeclaration"] = "TSEnumDeclaration";
AST_NODE_TYPES$3["TSEnumMember"] = "TSEnumMember";
AST_NODE_TYPES$3["TSExportAssignment"] = "TSExportAssignment";
AST_NODE_TYPES$3["TSExportKeyword"] = "TSExportKeyword";
AST_NODE_TYPES$3["TSExternalModuleReference"] = "TSExternalModuleReference";
AST_NODE_TYPES$3["TSFunctionType"] = "TSFunctionType";
AST_NODE_TYPES$3["TSImportEqualsDeclaration"] = "TSImportEqualsDeclaration";
AST_NODE_TYPES$3["TSImportType"] = "TSImportType";
AST_NODE_TYPES$3["TSIndexedAccessType"] = "TSIndexedAccessType";
AST_NODE_TYPES$3["TSIndexSignature"] = "TSIndexSignature";
AST_NODE_TYPES$3["TSInferType"] = "TSInferType";
AST_NODE_TYPES$3["TSInstantiationExpression"] = "TSInstantiationExpression";
AST_NODE_TYPES$3["TSInterfaceBody"] = "TSInterfaceBody";
AST_NODE_TYPES$3["TSInterfaceDeclaration"] = "TSInterfaceDeclaration";
AST_NODE_TYPES$3["TSInterfaceHeritage"] = "TSInterfaceHeritage";
AST_NODE_TYPES$3["TSIntersectionType"] = "TSIntersectionType";
AST_NODE_TYPES$3["TSIntrinsicKeyword"] = "TSIntrinsicKeyword";
AST_NODE_TYPES$3["TSLiteralType"] = "TSLiteralType";
AST_NODE_TYPES$3["TSMappedType"] = "TSMappedType";
AST_NODE_TYPES$3["TSMethodSignature"] = "TSMethodSignature";
AST_NODE_TYPES$3["TSModuleBlock"] = "TSModuleBlock";
AST_NODE_TYPES$3["TSModuleDeclaration"] = "TSModuleDeclaration";
AST_NODE_TYPES$3["TSNamedTupleMember"] = "TSNamedTupleMember";
AST_NODE_TYPES$3["TSNamespaceExportDeclaration"] = "TSNamespaceExportDeclaration";
AST_NODE_TYPES$3["TSNeverKeyword"] = "TSNeverKeyword";
AST_NODE_TYPES$3["TSNonNullExpression"] = "TSNonNullExpression";
AST_NODE_TYPES$3["TSNullKeyword"] = "TSNullKeyword";
AST_NODE_TYPES$3["TSNumberKeyword"] = "TSNumberKeyword";
AST_NODE_TYPES$3["TSObjectKeyword"] = "TSObjectKeyword";
AST_NODE_TYPES$3["TSOptionalType"] = "TSOptionalType";
AST_NODE_TYPES$3["TSParameterProperty"] = "TSParameterProperty";
AST_NODE_TYPES$3["TSPrivateKeyword"] = "TSPrivateKeyword";
AST_NODE_TYPES$3["TSPropertySignature"] = "TSPropertySignature";
AST_NODE_TYPES$3["TSProtectedKeyword"] = "TSProtectedKeyword";
AST_NODE_TYPES$3["TSPublicKeyword"] = "TSPublicKeyword";
AST_NODE_TYPES$3["TSQualifiedName"] = "TSQualifiedName";
AST_NODE_TYPES$3["TSReadonlyKeyword"] = "TSReadonlyKeyword";
AST_NODE_TYPES$3["TSRestType"] = "TSRestType";
AST_NODE_TYPES$3["TSSatisfiesExpression"] = "TSSatisfiesExpression";
AST_NODE_TYPES$3["TSStaticKeyword"] = "TSStaticKeyword";
AST_NODE_TYPES$3["TSStringKeyword"] = "TSStringKeyword";
AST_NODE_TYPES$3["TSSymbolKeyword"] = "TSSymbolKeyword";
AST_NODE_TYPES$3["TSTemplateLiteralType"] = "TSTemplateLiteralType";
AST_NODE_TYPES$3["TSThisType"] = "TSThisType";
AST_NODE_TYPES$3["TSTupleType"] = "TSTupleType";
AST_NODE_TYPES$3["TSTypeAliasDeclaration"] = "TSTypeAliasDeclaration";
AST_NODE_TYPES$3["TSTypeAnnotation"] = "TSTypeAnnotation";
AST_NODE_TYPES$3["TSTypeAssertion"] = "TSTypeAssertion";
AST_NODE_TYPES$3["TSTypeLiteral"] = "TSTypeLiteral";
AST_NODE_TYPES$3["TSTypeOperator"] = "TSTypeOperator";
AST_NODE_TYPES$3["TSTypeParameter"] = "TSTypeParameter";
AST_NODE_TYPES$3["TSTypeParameterDeclaration"] = "TSTypeParameterDeclaration";
AST_NODE_TYPES$3["TSTypeParameterInstantiation"] = "TSTypeParameterInstantiation";
AST_NODE_TYPES$3["TSTypePredicate"] = "TSTypePredicate";
AST_NODE_TYPES$3["TSTypeQuery"] = "TSTypeQuery";
AST_NODE_TYPES$3["TSTypeReference"] = "TSTypeReference";
AST_NODE_TYPES$3["TSUndefinedKeyword"] = "TSUndefinedKeyword";
AST_NODE_TYPES$3["TSUnionType"] = "TSUnionType";
AST_NODE_TYPES$3["TSUnknownKeyword"] = "TSUnknownKeyword";
AST_NODE_TYPES$3["TSVoidKeyword"] = "TSVoidKeyword";
})(AST_NODE_TYPES$2 || (exports.AST_NODE_TYPES = AST_NODE_TYPES$2 = {}));
var AST_TOKEN_TYPES$1;
(function(AST_TOKEN_TYPES$2) {
AST_TOKEN_TYPES$2["Boolean"] = "Boolean";
AST_TOKEN_TYPES$2["Identifier"] = "Identifier";
AST_TOKEN_TYPES$2["JSXIdentifier"] = "JSXIdentifier";
AST_TOKEN_TYPES$2["PrivateIdentifier"] = "PrivateIdentifier";
AST_TOKEN_TYPES$2["JSXText"] = "JSXText";
AST_TOKEN_TYPES$2["Keyword"] = "Keyword";
AST_TOKEN_TYPES$2["Null"] = "Null";
AST_TOKEN_TYPES$2["Numeric"] = "Numeric";
AST_TOKEN_TYPES$2["Punctuator"] = "Punctuator";
AST_TOKEN_TYPES$2["RegularExpression"] = "RegularExpression";
AST_TOKEN_TYPES$2["String"] = "String";
AST_TOKEN_TYPES$2["Template"] = "Template";
AST_TOKEN_TYPES$2["Block"] = "Block";
AST_TOKEN_TYPES$2["Line"] = "Line";
})(AST_TOKEN_TYPES$1 || (exports.AST_TOKEN_TYPES = AST_TOKEN_TYPES$1 = {}));
} });
//#endregion
//#region node_modules/.pnpm/@typescript-eslint+types@8.34.0/node_modules/@typescript-eslint/types/dist/lib.js
var require_lib = __commonJS$1({ "node_modules/.pnpm/@typescript-eslint+types@8.34.0/node_modules/@typescript-eslint/types/dist/lib.js"(exports) {
Object.defineProperty(exports, "