From ca619db77694c62cb14946ba5988e1f750209507 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 29 Apr 2026 09:29:30 +0000 Subject: [PATCH 1/4] Initial plan From 8021b21fa0cd853ac36747f1d3de19581d890ccb Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 29 Apr 2026 09:34:55 +0000 Subject: [PATCH 2/4] fix: bundle prettier into dist by removing it from esbuild external list Agent-Logs-Url: https://github.com/bitflight-devops/github-action-readme-generator/sessions/de0b6202-b340-40b1-8fb5-36c1673786a8 Co-authored-by: Jamie-BitFlight <25075504+Jamie-BitFlight@users.noreply.github.com> --- dist/bin/index.js | 139136 +++++++++++++++++++++++++++++++++++------ scripts/esbuild.mjs | 2 +- 2 files changed, 120125 insertions(+), 19013 deletions(-) diff --git a/dist/bin/index.js b/dist/bin/index.js index f4fa9978..90010d4c 100755 --- a/dist/bin/index.js +++ b/dist/bin/index.js @@ -8,26 +8,29 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __getProtoOf = Object.getPrototypeOf; var __hasOwnProp = Object.prototype.hasOwnProperty; -var __require = /* @__PURE__ */ ((x5) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x5, { - get: (a, b) => (typeof require !== "undefined" ? require : a)[b] -}) : x5)(function(x5) { +var __require = /* @__PURE__ */ ((x12) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x12, { + get: (a5, b7) => (typeof require !== "undefined" ? require : a5)[b7] +}) : x12)(function(x12) { if (typeof require !== "undefined") return require.apply(this, arguments); - throw Error('Dynamic require of "' + x5 + '" is not supported'); + throw Error('Dynamic require of "' + x12 + '" is not supported'); }); -var __commonJS = (cb, mod) => function __require2() { - return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; +var __esm = (fn9, res) => function __init() { + return fn9 && (res = (0, fn9[__getOwnPropNames(fn9)[0]])(fn9 = 0)), res; +}; +var __commonJS = (cb2, mod) => function __require3() { + return mod || (0, cb2[__getOwnPropNames(cb2)[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 = (to2, from2, except, desc) => { +var __copyProps = (to6, from2, except, desc) => { if (from2 && typeof from2 === "object" || typeof from2 === "function") { - for (let key of __getOwnPropNames(from2)) - if (!__hasOwnProp.call(to2, key) && key !== except) - __defProp(to2, key, { get: () => from2[key], enumerable: !(desc = __getOwnPropDesc(from2, key)) || desc.enumerable }); + for (let key2 of __getOwnPropNames(from2)) + if (!__hasOwnProp.call(to6, key2) && key2 !== except) + __defProp(to6, key2, { get: () => from2[key2], enumerable: !(desc = __getOwnPropDesc(from2, key2)) || desc.enumerable }); } - return to2; + return to6; }; 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 @@ -47,49 +50,49 @@ var require_tunnel = __commonJS({ var http = __require("http"); var https = __require("https"); var events = __require("events"); - var assert = __require("assert"); - var util = __require("util"); + var assert4 = __require("assert"); + var util2 = __require("util"); exports.httpOverHttp = httpOverHttp2; exports.httpsOverHttp = httpsOverHttp2; exports.httpOverHttps = httpOverHttps2; exports.httpsOverHttps = httpsOverHttps2; - function httpOverHttp2(options) { - var agent = new TunnelingAgent(options); + function httpOverHttp2(options8) { + var agent = new TunnelingAgent(options8); agent.request = http.request; return agent; } - function httpsOverHttp2(options) { - var agent = new TunnelingAgent(options); + function httpsOverHttp2(options8) { + var agent = new TunnelingAgent(options8); agent.request = http.request; agent.createSocket = createSecureSocket; agent.defaultPort = 443; return agent; } - function httpOverHttps2(options) { - var agent = new TunnelingAgent(options); + function httpOverHttps2(options8) { + var agent = new TunnelingAgent(options8); agent.request = https.request; return agent; } - function httpsOverHttps2(options) { - var agent = new TunnelingAgent(options); + function httpsOverHttps2(options8) { + var agent = new TunnelingAgent(options8); agent.request = https.request; agent.createSocket = createSecureSocket; agent.defaultPort = 443; return agent; } - function TunnelingAgent(options) { + function TunnelingAgent(options8) { var self2 = this; - self2.options = options || {}; + self2.options = options8 || {}; self2.proxyOptions = self2.options.proxy || {}; self2.maxSockets = self2.options.maxSockets || http.Agent.defaultMaxSockets; self2.requests = []; self2.sockets = []; self2.on("free", function onFree(socket, host, port, localAddress) { - var options2 = toOptions(host, port, localAddress); - for (var i2 = 0, len = self2.requests.length; i2 < len; ++i2) { - var pending = self2.requests[i2]; - if (pending.host === options2.host && pending.port === options2.port) { - self2.requests.splice(i2, 1); + var options9 = toOptions(host, port, localAddress); + for (var i5 = 0, len = self2.requests.length; i5 < len; ++i5) { + var pending = self2.requests[i5]; + if (pending.host === options9.host && pending.port === options9.port) { + self2.requests.splice(i5, 1); pending.request.onSocket(socket); return; } @@ -98,21 +101,21 @@ var require_tunnel = __commonJS({ self2.removeSocket(socket); }); } - util.inherits(TunnelingAgent, events.EventEmitter); + util2.inherits(TunnelingAgent, events.EventEmitter); TunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) { var self2 = this; - var options = mergeOptions({ request: req }, self2.options, toOptions(host, port, localAddress)); + var options8 = mergeOptions({ request: req }, self2.options, toOptions(host, port, localAddress)); if (self2.sockets.length >= this.maxSockets) { - self2.requests.push(options); + self2.requests.push(options8); return; } - self2.createSocket(options, function(socket) { + self2.createSocket(options8, function(socket) { socket.on("free", onFree); socket.on("close", onCloseOrRemove); socket.on("agentRemove", onCloseOrRemove); req.onSocket(socket); function onFree() { - self2.emit("free", socket, options); + self2.emit("free", socket, options8); } function onCloseOrRemove(err) { self2.removeSocket(socket); @@ -122,20 +125,20 @@ var require_tunnel = __commonJS({ } }); }; - TunnelingAgent.prototype.createSocket = function createSocket(options, cb) { + TunnelingAgent.prototype.createSocket = function createSocket(options8, cb2) { var self2 = this; var placeholder = {}; self2.sockets.push(placeholder); var connectOptions = mergeOptions({}, self2.proxyOptions, { method: "CONNECT", - path: options.host + ":" + options.port, + path: options8.host + ":" + options8.port, agent: false, headers: { - host: options.host + ":" + options.port + host: options8.host + ":" + options8.port } }); - if (options.localAddress) { - connectOptions.localAddress = options.localAddress; + if (options8.localAddress) { + connectOptions.localAddress = options8.localAddress; } if (connectOptions.proxyAuth) { connectOptions.headers = connectOptions.headers || {}; @@ -168,7 +171,7 @@ var require_tunnel = __commonJS({ socket.destroy(); var error2 = new Error("tunneling socket could not be established, statusCode=" + res.statusCode); error2.code = "ECONNRESET"; - options.request.emit("error", error2); + options8.request.emit("error", error2); self2.removeSocket(placeholder); return; } @@ -177,13 +180,13 @@ var require_tunnel = __commonJS({ socket.destroy(); var error2 = new Error("got illegal response body from proxy"); error2.code = "ECONNRESET"; - options.request.emit("error", error2); + options8.request.emit("error", error2); self2.removeSocket(placeholder); return; } debug2("tunneling connection has established"); self2.sockets[self2.sockets.indexOf(placeholder)] = socket; - return cb(socket); + return cb2(socket); } function onError(cause) { connectReq.removeAllListeners(); @@ -194,16 +197,16 @@ var require_tunnel = __commonJS({ ); var error2 = new Error("tunneling socket could not be established, cause=" + cause.message); error2.code = "ECONNRESET"; - options.request.emit("error", error2); + options8.request.emit("error", error2); self2.removeSocket(placeholder); } }; TunnelingAgent.prototype.removeSocket = function removeSocket(socket) { - var pos = this.sockets.indexOf(socket); - if (pos === -1) { + var pos2 = this.sockets.indexOf(socket); + if (pos2 === -1) { return; } - this.sockets.splice(pos, 1); + this.sockets.splice(pos2, 1); var pending = this.requests.shift(); if (pending) { this.createSocket(pending, function(socket2) { @@ -211,17 +214,17 @@ var require_tunnel = __commonJS({ }); } }; - function createSecureSocket(options, cb) { + function createSecureSocket(options8, cb2) { var self2 = this; - TunnelingAgent.prototype.createSocket.call(self2, options, function(socket) { - var hostHeader = options.request.getHeader("host"); + TunnelingAgent.prototype.createSocket.call(self2, options8, function(socket) { + var hostHeader = options8.request.getHeader("host"); var tlsOptions = mergeOptions({}, self2.options, { socket, - servername: hostHeader ? hostHeader.replace(/:.*$/, "") : options.host + servername: hostHeader ? hostHeader.replace(/:.*$/, "") : options8.host }); var secureSocket = tls.connect(0, tlsOptions); self2.sockets[self2.sockets.indexOf(socket)] = secureSocket; - cb(secureSocket); + cb2(secureSocket); }); } function toOptions(host, port, localAddress) { @@ -235,14 +238,14 @@ var require_tunnel = __commonJS({ return host; } function mergeOptions(target) { - for (var i2 = 1, len = arguments.length; i2 < len; ++i2) { - var overrides = arguments[i2]; + for (var i5 = 1, len = arguments.length; i5 < len; ++i5) { + var overrides = arguments[i5]; if (typeof overrides === "object") { var keys = Object.keys(overrides); - for (var j = 0, keyLen = keys.length; j < keyLen; ++j) { - var k = keys[j]; - if (overrides[k] !== void 0) { - target[k] = overrides[k]; + for (var j9 = 0, keyLen = keys.length; j9 < keyLen; ++j9) { + var k8 = keys[j9]; + if (overrides[k8] !== void 0) { + target[k8] = overrides[k8]; } } } @@ -650,8 +653,8 @@ var require_errors = __commonJS({ }; var kSecureProxyConnectionError = /* @__PURE__ */ Symbol.for("undici.error.UND_ERR_PRX_TLS"); var SecureProxyConnectionError = class extends UndiciError { - constructor(cause, message, options) { - super(message, { cause, ...options ?? {} }); + constructor(cause, message, options8) { + super(message, { cause, ...options8 ?? {} }); this.name = "SecureProxyConnectionError"; this.message = message || "Secure Proxy Connection failed"; this.code = "UND_ERR_PRX_TLS"; @@ -808,10 +811,10 @@ var require_constants = __commonJS({ "X-Requested-With", "X-XSS-Protection" ]; - for (let i2 = 0; i2 < wellknownHeaderNames.length; ++i2) { - const key = wellknownHeaderNames[i2]; - const lowerCasedKey = key.toLowerCase(); - headerNameLowerCasedRecord[key] = headerNameLowerCasedRecord[lowerCasedKey] = lowerCasedKey; + for (let i5 = 0; i5 < wellknownHeaderNames.length; ++i5) { + const key2 = wellknownHeaderNames[i5]; + const lowerCasedKey = key2.toLowerCase(); + headerNameLowerCasedRecord[key2] = headerNameLowerCasedRecord[lowerCasedKey] = lowerCasedKey; } Object.setPrototypeOf(headerNameLowerCasedRecord, null); module.exports = { @@ -845,16 +848,16 @@ var require_tree = __commonJS({ * @param {any} value * @param {number} index */ - constructor(key, value, index) { - if (index === void 0 || index >= key.length) { + constructor(key2, value, index) { + if (index === void 0 || index >= key2.length) { throw new TypeError("Unreachable"); } - const code = this.code = key.charCodeAt(index); + const code = this.code = key2.charCodeAt(index); if (code > 127) { throw new TypeError("key must be ascii string"); } - if (key.length !== ++index) { - this.middle = new _TstNode(key, value, index); + if (key2.length !== ++index) { + this.middle = new _TstNode(key2, value, index); } else { this.value = value; } @@ -863,15 +866,15 @@ var require_tree = __commonJS({ * @param {string} key * @param {any} value */ - add(key, value) { - const length3 = key.length; + add(key2, value) { + const length3 = key2.length; if (length3 === 0) { throw new TypeError("Unreachable"); } let index = 0; let node2 = this; while (true) { - const code = key.charCodeAt(index); + const code = key2.charCodeAt(index); if (code > 127) { throw new TypeError("key must be ascii string"); } @@ -882,20 +885,20 @@ var require_tree = __commonJS({ } else if (node2.middle !== null) { node2 = node2.middle; } else { - node2.middle = new _TstNode(key, value, index); + node2.middle = new _TstNode(key2, value, index); break; } } else if (node2.code < code) { if (node2.left !== null) { node2 = node2.left; } else { - node2.left = new _TstNode(key, value, index); + node2.left = new _TstNode(key2, value, index); break; } } else if (node2.right !== null) { node2 = node2.right; } else { - node2.right = new _TstNode(key, value, index); + node2.right = new _TstNode(key2, value, index); break; } } @@ -904,12 +907,12 @@ var require_tree = __commonJS({ * @param {Uint8Array} key * @return {TstNode | null} */ - search(key) { - const keylength = key.length; + search(key2) { + const keylength = key2.length; let index = 0; let node2 = this; while (node2 !== null && index < keylength) { - let code = key[index]; + let code = key2[index]; if (code <= 90 && code >= 65) { code |= 32; } @@ -934,25 +937,25 @@ var require_tree = __commonJS({ * @param {string} key * @param {any} value * */ - insert(key, value) { + insert(key2, value) { if (this.node === null) { - this.node = new TstNode(key, value, 0); + this.node = new TstNode(key2, value, 0); } else { - this.node.add(key, value); + this.node.add(key2, value); } } /** * @param {Uint8Array} key * @return {any} */ - lookup(key) { - return this.node?.search(key)?.value ?? null; + lookup(key2) { + return this.node?.search(key2)?.value ?? null; } }; var tree = new TernarySearchTree(); - for (let i2 = 0; i2 < wellknownHeaderNames.length; ++i2) { - const key = headerNameLowerCasedRecord[wellknownHeaderNames[i2]]; - tree.insert(key, key); + for (let i5 = 0; i5 < wellknownHeaderNames.length; ++i5) { + const key2 = headerNameLowerCasedRecord[wellknownHeaderNames[i5]]; + tree.insert(key2, key2); } module.exports = { TernarySearchTree, @@ -965,7 +968,7 @@ var require_tree = __commonJS({ var require_util = __commonJS({ "node_modules/undici/lib/core/util.js"(exports, module) { "use strict"; - var assert = __require("node:assert"); + var assert4 = __require("node:assert"); var { kDestroyed, kBodyUsed, kListeners, kBody } = require_symbols(); var { IncomingMessage } = __require("node:http"); var stream = __require("node:stream"); @@ -977,14 +980,14 @@ var require_util = __commonJS({ var { InvalidArgumentError } = require_errors(); var { headerNameLowerCasedRecord } = require_constants(); var { tree } = require_tree(); - var [nodeMajor, nodeMinor] = process.versions.node.split(".").map((v) => Number(v)); + var [nodeMajor, nodeMinor] = process.versions.node.split(".").map((v9) => Number(v9)); var BodyAsyncIterable = class { constructor(body) { this[kBody] = body; this[kBodyUsed] = false; } async *[Symbol.asyncIterator]() { - assert(!this[kBodyUsed], "disturbed"); + assert4(!this[kBodyUsed], "disturbed"); this[kBodyUsed] = true; yield* this[kBody]; } @@ -993,7 +996,7 @@ var require_util = __commonJS({ if (isStream(body)) { if (bodyLength(body) === 0) { body.on("data", function() { - assert(false); + assert4(false); }); } if (typeof body.readableDidRead !== "boolean") { @@ -1028,15 +1031,15 @@ var require_util = __commonJS({ return (sTag === "Blob" || sTag === "File") && ("stream" in object && typeof object.stream === "function" || "arrayBuffer" in object && typeof object.arrayBuffer === "function"); } } - function buildURL(url, queryParams) { - if (url.includes("?") || url.includes("#")) { + function buildURL(url3, queryParams) { + if (url3.includes("?") || url3.includes("#")) { throw new Error('Query params cannot be passed when url already contains "?" or "#".'); } const stringified = stringify(queryParams); if (stringified) { - url += "?" + stringified; + url3 += "?" + stringified; } - return url; + return url3; } function isValidPort(port) { const value = parseInt(port, 10); @@ -1045,63 +1048,63 @@ var require_util = __commonJS({ function isHttpOrHttpsPrefixed(value) { return value != null && value[0] === "h" && value[1] === "t" && value[2] === "t" && value[3] === "p" && (value[4] === ":" || value[4] === "s" && value[5] === ":"); } - function parseURL(url) { - if (typeof url === "string") { - url = new URL(url); - if (!isHttpOrHttpsPrefixed(url.origin || url.protocol)) { + function parseURL(url3) { + if (typeof url3 === "string") { + url3 = new URL(url3); + if (!isHttpOrHttpsPrefixed(url3.origin || url3.protocol)) { throw new InvalidArgumentError("Invalid URL protocol: the URL must start with `http:` or `https:`."); } - return url; + return url3; } - if (!url || typeof url !== "object") { + if (!url3 || typeof url3 !== "object") { throw new InvalidArgumentError("Invalid URL: The URL argument must be a non-null object."); } - if (!(url instanceof URL)) { - if (url.port != null && url.port !== "" && isValidPort(url.port) === false) { + if (!(url3 instanceof URL)) { + if (url3.port != null && url3.port !== "" && isValidPort(url3.port) === false) { throw new InvalidArgumentError("Invalid URL: port must be a valid integer or a string representation of an integer."); } - if (url.path != null && typeof url.path !== "string") { + if (url3.path != null && typeof url3.path !== "string") { throw new InvalidArgumentError("Invalid URL path: the path must be a string or null/undefined."); } - if (url.pathname != null && typeof url.pathname !== "string") { + if (url3.pathname != null && typeof url3.pathname !== "string") { throw new InvalidArgumentError("Invalid URL pathname: the pathname must be a string or null/undefined."); } - if (url.hostname != null && typeof url.hostname !== "string") { + if (url3.hostname != null && typeof url3.hostname !== "string") { throw new InvalidArgumentError("Invalid URL hostname: the hostname must be a string or null/undefined."); } - if (url.origin != null && typeof url.origin !== "string") { + if (url3.origin != null && typeof url3.origin !== "string") { throw new InvalidArgumentError("Invalid URL origin: the origin must be a string or null/undefined."); } - if (!isHttpOrHttpsPrefixed(url.origin || url.protocol)) { + if (!isHttpOrHttpsPrefixed(url3.origin || url3.protocol)) { throw new InvalidArgumentError("Invalid URL protocol: the URL must start with `http:` or `https:`."); } - const port = url.port != null ? url.port : url.protocol === "https:" ? 443 : 80; - let origin = url.origin != null ? url.origin : `${url.protocol || ""}//${url.hostname || ""}:${port}`; - let path7 = url.path != null ? url.path : `${url.pathname || ""}${url.search || ""}`; + const port = url3.port != null ? url3.port : url3.protocol === "https:" ? 443 : 80; + let origin = url3.origin != null ? url3.origin : `${url3.protocol || ""}//${url3.hostname || ""}:${port}`; + let path19 = url3.path != null ? url3.path : `${url3.pathname || ""}${url3.search || ""}`; if (origin[origin.length - 1] === "/") { origin = origin.slice(0, origin.length - 1); } - if (path7 && path7[0] !== "/") { - path7 = `/${path7}`; + if (path19 && path19[0] !== "/") { + path19 = `/${path19}`; } - return new URL(`${origin}${path7}`); + return new URL(`${origin}${path19}`); } - if (!isHttpOrHttpsPrefixed(url.origin || url.protocol)) { + if (!isHttpOrHttpsPrefixed(url3.origin || url3.protocol)) { throw new InvalidArgumentError("Invalid URL protocol: the URL must start with `http:` or `https:`."); } - return url; + return url3; } - function parseOrigin(url) { - url = parseURL(url); - if (url.pathname !== "/" || url.search || url.hash) { + function parseOrigin(url3) { + url3 = parseURL(url3); + if (url3.pathname !== "/" || url3.search || url3.hash) { throw new InvalidArgumentError("invalid url"); } - return url; + return url3; } function getHostname(host) { if (host[0] === "[") { const idx2 = host.indexOf("]"); - assert(idx2 !== -1); + assert4(idx2 !== -1); return host.substring(1, idx2); } const idx = host.indexOf(":"); @@ -1112,7 +1115,7 @@ var require_util = __commonJS({ if (!host) { return null; } - assert(typeof host === "string"); + assert4(typeof host === "string"); const servername = getHostname(host); if (net.isIP(servername)) { return ""; @@ -1164,8 +1167,8 @@ var require_util = __commonJS({ } var KEEPALIVE_TIMEOUT_EXPR = /timeout=(\d+)/; function parseKeepAliveTimeout(val) { - const m = val.toString().match(KEEPALIVE_TIMEOUT_EXPR); - return m ? parseInt(m[1], 10) * 1e3 : null; + const m7 = val.toString().match(KEEPALIVE_TIMEOUT_EXPR); + return m7 ? parseInt(m7[1], 10) * 1e3 : null; } function headerNameToString(value) { return typeof value === "string" ? headerNameLowerCasedRecord[value] ?? value.toLowerCase() : tree.lookup(value) ?? value.toString("latin1").toLowerCase(); @@ -1175,21 +1178,21 @@ var require_util = __commonJS({ } function parseHeaders(headers, obj) { if (obj === void 0) obj = {}; - for (let i2 = 0; i2 < headers.length; i2 += 2) { - const key = headerNameToString(headers[i2]); - let val = obj[key]; + for (let i5 = 0; i5 < headers.length; i5 += 2) { + const key2 = headerNameToString(headers[i5]); + let val = obj[key2]; if (val) { if (typeof val === "string") { val = [val]; - obj[key] = val; + obj[key2] = val; } - val.push(headers[i2 + 1].toString("utf8")); + val.push(headers[i5 + 1].toString("utf8")); } else { - const headersValue = headers[i2 + 1]; + const headersValue = headers[i5 + 1]; if (typeof headersValue === "string") { - obj[key] = headersValue; + obj[key2] = headersValue; } else { - obj[key] = Array.isArray(headersValue) ? headersValue.map((x5) => x5.toString("utf8")) : headersValue.toString("utf8"); + obj[key2] = Array.isArray(headersValue) ? headersValue.map((x12) => x12.toString("utf8")) : headersValue.toString("utf8"); } } } @@ -1203,30 +1206,30 @@ var require_util = __commonJS({ const ret = new Array(len); let hasContentLength = false; let contentDispositionIdx = -1; - let key; + let key2; let val; let kLen = 0; - for (let n2 = 0; n2 < headers.length; n2 += 2) { - key = headers[n2]; - val = headers[n2 + 1]; - typeof key !== "string" && (key = key.toString()); + for (let n5 = 0; n5 < headers.length; n5 += 2) { + key2 = headers[n5]; + val = headers[n5 + 1]; + typeof key2 !== "string" && (key2 = key2.toString()); typeof val !== "string" && (val = val.toString("utf8")); - kLen = key.length; - if (kLen === 14 && key[7] === "-" && (key === "content-length" || key.toLowerCase() === "content-length")) { + kLen = key2.length; + if (kLen === 14 && key2[7] === "-" && (key2 === "content-length" || key2.toLowerCase() === "content-length")) { hasContentLength = true; - } else if (kLen === 19 && key[7] === "-" && (key === "content-disposition" || key.toLowerCase() === "content-disposition")) { - contentDispositionIdx = n2 + 1; + } else if (kLen === 19 && key2[7] === "-" && (key2 === "content-disposition" || key2.toLowerCase() === "content-disposition")) { + contentDispositionIdx = n5 + 1; } - ret[n2] = key; - ret[n2 + 1] = val; + ret[n5] = key2; + ret[n5 + 1] = val; } if (hasContentLength && contentDispositionIdx !== -1) { ret[contentDispositionIdx] = Buffer.from(ret[contentDispositionIdx]).toString("latin1"); } return ret; } - function isBuffer(buffer) { - return buffer instanceof Uint8Array || Buffer.isBuffer(buffer); + function isBuffer(buffer2) { + return buffer2 instanceof Uint8Array || Buffer.isBuffer(buffer2); } function validateHandler(handler2, method, upgrade) { if (!handler2 || typeof handler2 !== "object") { @@ -1326,8 +1329,8 @@ var require_util = __commonJS({ function isUSVString(val) { return hasIsWellFormed ? `${val}`.isWellFormed() : toUSVString(val) === `${val}`; } - function isTokenCharCode(c) { - switch (c) { + function isTokenCharCode(c7) { + switch (c7) { case 34: case 40: case 41: @@ -1347,15 +1350,15 @@ var require_util = __commonJS({ case 125: return false; default: - return c >= 33 && c <= 126; + return c7 >= 33 && c7 <= 126; } } function isValidHTTPToken(characters) { if (characters.length === 0) { return false; } - for (let i2 = 0; i2 < characters.length; ++i2) { - if (!isTokenCharCode(characters.charCodeAt(i2))) { + for (let i5 = 0; i5 < characters.length; ++i5) { + if (!isTokenCharCode(characters.charCodeAt(i5))) { return false; } } @@ -1367,11 +1370,11 @@ var require_util = __commonJS({ } function parseRangeHeader(range) { if (range == null || range === "") return { start: 0, end: null, size: null }; - const m = range ? range.match(/^bytes (\d+)-(\d+)\/(\d+)?$/) : null; - return m ? { - start: parseInt(m[1]), - end: m[2] ? parseInt(m[2]) : null, - size: m[3] ? parseInt(m[3]) : null + const m7 = range ? range.match(/^bytes (\d+)-(\d+)\/(\d+)?$/) : null; + return m7 ? { + start: parseInt(m7[1]), + end: m7[2] ? parseInt(m7[2]) : null, + size: m7[3] ? parseInt(m7[3]) : null } : null; } function addListener(obj, name, listener) { @@ -1389,7 +1392,7 @@ var require_util = __commonJS({ function errorRequest(client, request2, err) { try { request2.onError(err); - assert(request2.aborted); + assert4(request2.aborted); } catch (err2) { client.emit("error", err2); } @@ -1472,10 +1475,10 @@ var require_diagnostics = __commonJS({ "node_modules/undici/lib/core/diagnostics.js"(exports, module) { "use strict"; var diagnosticsChannel = __require("node:diagnostics_channel"); - var util = __require("node:util"); - var undiciDebugLog = util.debuglog("undici"); - var fetchDebuglog = util.debuglog("fetch"); - var websocketDebuglog = util.debuglog("websocket"); + var util2 = __require("node:util"); + var undiciDebugLog = util2.debuglog("undici"); + var fetchDebuglog = util2.debuglog("fetch"); + var websocketDebuglog = util2.debuglog("websocket"); var isClientSet = false; var channels = { // Client @@ -1535,39 +1538,39 @@ var require_diagnostics = __commonJS({ }); diagnosticsChannel.channel("undici:client:sendHeaders").subscribe((evt) => { const { - request: { method, path: path7, origin } + request: { method, path: path19, origin } } = evt; - debuglog("sending request to %s %s/%s", method, origin, path7); + debuglog("sending request to %s %s/%s", method, origin, path19); }); diagnosticsChannel.channel("undici:request:headers").subscribe((evt) => { const { - request: { method, path: path7, origin }, + request: { method, path: path19, origin }, response: { statusCode } } = evt; debuglog( "received response to %s %s/%s - HTTP %d", method, origin, - path7, + path19, statusCode ); }); diagnosticsChannel.channel("undici:request:trailers").subscribe((evt) => { const { - request: { method, path: path7, origin } + request: { method, path: path19, origin } } = evt; - debuglog("trailers received from %s %s/%s", method, origin, path7); + debuglog("trailers received from %s %s/%s", method, origin, path19); }); diagnosticsChannel.channel("undici:request:error").subscribe((evt) => { const { - request: { method, path: path7, origin }, + request: { method, path: path19, origin }, error: error2 } = evt; debuglog( "request to %s %s/%s errored - %s", method, origin, - path7, + path19, error2.message ); }); @@ -1616,9 +1619,9 @@ var require_diagnostics = __commonJS({ }); diagnosticsChannel.channel("undici:client:sendHeaders").subscribe((evt) => { const { - request: { method, path: path7, origin } + request: { method, path: path19, origin } } = evt; - debuglog("sending request to %s %s/%s", method, origin, path7); + debuglog("sending request to %s %s/%s", method, origin, path19); }); } diagnosticsChannel.channel("undici:websocket:open").subscribe((evt) => { @@ -1660,7 +1663,7 @@ var require_request = __commonJS({ InvalidArgumentError, NotSupportedError } = require_errors(); - var assert = __require("node:assert"); + var assert4 = __require("node:assert"); var { isValidHTTPToken, isValidHeaderValue, @@ -1681,7 +1684,7 @@ var require_request = __commonJS({ var kHandler = /* @__PURE__ */ Symbol("handler"); var Request = class { constructor(origin, { - path: path7, + path: path19, method, body, headers, @@ -1696,11 +1699,11 @@ var require_request = __commonJS({ expectContinue, servername }, handler2) { - if (typeof path7 !== "string") { + if (typeof path19 !== "string") { throw new InvalidArgumentError("path must be a string"); - } else if (path7[0] !== "/" && !(path7.startsWith("http://") || path7.startsWith("https://")) && method !== "CONNECT") { + } else if (path19[0] !== "/" && !(path19.startsWith("http://") || path19.startsWith("https://")) && method !== "CONNECT") { throw new InvalidArgumentError("path must be an absolute URL or start with a slash"); - } else if (invalidPathRegex.test(path7)) { + } else if (invalidPathRegex.test(path19)) { throw new InvalidArgumentError("invalid request path"); } if (typeof method !== "string") { @@ -1766,7 +1769,7 @@ var require_request = __commonJS({ this.completed = false; this.aborted = false; this.upgrade = upgrade || null; - this.path = query ? buildURL(path7, query) : path7; + this.path = query ? buildURL(path19, query) : path19; this.origin = origin; this.idempotent = idempotent == null ? method === "HEAD" || method === "GET" : idempotent; this.blocking = blocking == null ? false : blocking; @@ -1780,8 +1783,8 @@ var require_request = __commonJS({ if (headers.length % 2 !== 0) { throw new InvalidArgumentError("headers array must be even"); } - for (let i2 = 0; i2 < headers.length; i2 += 2) { - processHeader(this, headers[i2], headers[i2 + 1]); + for (let i5 = 0; i5 < headers.length; i5 += 2) { + processHeader(this, headers[i5], headers[i5 + 1]); } } else if (headers && typeof headers === "object") { if (headers[Symbol.iterator]) { @@ -1793,8 +1796,8 @@ var require_request = __commonJS({ } } else { const keys = Object.keys(headers); - for (let i2 = 0; i2 < keys.length; ++i2) { - processHeader(this, keys[i2], headers[keys[i2]]); + for (let i5 = 0; i5 < keys.length; ++i5) { + processHeader(this, keys[i5], headers[keys[i5]]); } } } else if (headers != null) { @@ -1829,8 +1832,8 @@ var require_request = __commonJS({ } } onConnect(abort) { - assert(!this.aborted); - assert(!this.completed); + assert4(!this.aborted); + assert4(!this.completed); if (this.error) { abort(this.error); } else { @@ -1842,8 +1845,8 @@ var require_request = __commonJS({ return this[kHandler].onResponseStarted?.(); } onHeaders(statusCode, headers, resume, statusText) { - assert(!this.aborted); - assert(!this.completed); + assert4(!this.aborted); + assert4(!this.completed); if (channels.headers.hasSubscribers) { channels.headers.publish({ request: this, response: { statusCode, headers, statusText } }); } @@ -1854,8 +1857,8 @@ var require_request = __commonJS({ } } onData(chunk) { - assert(!this.aborted); - assert(!this.completed); + assert4(!this.aborted); + assert4(!this.completed); try { return this[kHandler].onData(chunk); } catch (err) { @@ -1864,13 +1867,13 @@ var require_request = __commonJS({ } } onUpgrade(statusCode, headers, socket) { - assert(!this.aborted); - assert(!this.completed); + assert4(!this.aborted); + assert4(!this.completed); return this[kHandler].onUpgrade(statusCode, headers, socket); } onComplete(trailers) { this.onFinally(); - assert(!this.aborted); + assert4(!this.aborted); this.completed = true; if (channels.trailers.hasSubscribers) { channels.trailers.publish({ request: this, trailers }); @@ -1902,44 +1905,44 @@ var require_request = __commonJS({ this.endHandler = null; } } - addHeader(key, value) { - processHeader(this, key, value); + addHeader(key2, value) { + processHeader(this, key2, value); return this; } }; - function processHeader(request2, key, val) { + function processHeader(request2, key2, val) { if (val && (typeof val === "object" && !Array.isArray(val))) { - throw new InvalidArgumentError(`invalid ${key} header`); + throw new InvalidArgumentError(`invalid ${key2} header`); } else if (val === void 0) { return; } - let headerName = headerNameLowerCasedRecord[key]; + let headerName = headerNameLowerCasedRecord[key2]; if (headerName === void 0) { - headerName = key.toLowerCase(); + headerName = key2.toLowerCase(); if (headerNameLowerCasedRecord[headerName] === void 0 && !isValidHTTPToken(headerName)) { throw new InvalidArgumentError("invalid header key"); } } if (Array.isArray(val)) { const arr2 = []; - for (let i2 = 0; i2 < val.length; i2++) { - if (typeof val[i2] === "string") { - if (!isValidHeaderValue(val[i2])) { - throw new InvalidArgumentError(`invalid ${key} header`); + for (let i5 = 0; i5 < val.length; i5++) { + if (typeof val[i5] === "string") { + if (!isValidHeaderValue(val[i5])) { + throw new InvalidArgumentError(`invalid ${key2} header`); } - arr2.push(val[i2]); - } else if (val[i2] === null) { + arr2.push(val[i5]); + } else if (val[i5] === null) { arr2.push(""); - } else if (typeof val[i2] === "object") { - throw new InvalidArgumentError(`invalid ${key} header`); + } else if (typeof val[i5] === "object") { + throw new InvalidArgumentError(`invalid ${key2} header`); } else { - arr2.push(`${val[i2]}`); + arr2.push(`${val[i5]}`); } } val = arr2; } else if (typeof val === "string") { if (!isValidHeaderValue(val)) { - throw new InvalidArgumentError(`invalid ${key} header`); + throw new InvalidArgumentError(`invalid ${key2} header`); } } else if (val === null) { val = ""; @@ -1964,7 +1967,7 @@ var require_request = __commonJS({ } } else if (request2.contentType === null && headerName === "content-type") { request2.contentType = val; - request2.headers.push(key, val); + request2.headers.push(key2, val); } else if (headerName === "transfer-encoding" || headerName === "keep-alive" || headerName === "upgrade") { throw new InvalidArgumentError(`invalid ${headerName} header`); } else if (headerName === "connection") { @@ -1978,7 +1981,7 @@ var require_request = __commonJS({ } else if (headerName === "expect") { throw new NotSupportedError("expect header not supported"); } else { - request2.headers.push(key, val); + request2.headers.push(key2, val); } } module.exports = Request; @@ -2073,8 +2076,8 @@ var require_dispatcher_base = __commonJS({ } set interceptors(newInterceptors) { if (newInterceptors) { - for (let i2 = newInterceptors.length - 1; i2 >= 0; i2--) { - const interceptor = this[kInterceptors][i2]; + for (let i5 = newInterceptors.length - 1; i5 >= 0; i5--) { + const interceptor = this[kInterceptors][i5]; if (typeof interceptor !== "function") { throw new InvalidArgumentError("interceptor must be an function"); } @@ -2084,9 +2087,9 @@ var require_dispatcher_base = __commonJS({ } close(callback) { if (callback === void 0) { - return new Promise((resolve3, reject) => { + return new Promise((resolve4, reject) => { this.close((err, data2) => { - return err ? reject(err) : resolve3(data2); + return err ? reject(err) : resolve4(data2); }); }); } @@ -2110,8 +2113,8 @@ var require_dispatcher_base = __commonJS({ const onClosed = () => { const callbacks = this[kOnClosed]; this[kOnClosed] = null; - for (let i2 = 0; i2 < callbacks.length; i2++) { - callbacks[i2](null, null); + for (let i5 = 0; i5 < callbacks.length; i5++) { + callbacks[i5](null, null); } }; this[kClose]().then(() => this.destroy()).then(() => { @@ -2124,12 +2127,12 @@ var require_dispatcher_base = __commonJS({ err = null; } if (callback === void 0) { - return new Promise((resolve3, reject) => { + return new Promise((resolve4, reject) => { this.destroy(err, (err2, data2) => { return err2 ? ( /* istanbul ignore next: should never error */ reject(err2) - ) : resolve3(data2); + ) : resolve4(data2); }); }); } @@ -2153,8 +2156,8 @@ var require_dispatcher_base = __commonJS({ const onDestroyed = () => { const callbacks = this[kOnDestroyed]; this[kOnDestroyed] = null; - for (let i2 = 0; i2 < callbacks.length; i2++) { - callbacks[i2](null, null); + for (let i5 = 0; i5 < callbacks.length; i5++) { + callbacks[i5](null, null); } }; this[kDestroy](err).then(() => { @@ -2167,8 +2170,8 @@ var require_dispatcher_base = __commonJS({ return this[kDispatch](opts, handler2); } let dispatch2 = this[kDispatch].bind(this); - for (let i2 = this[kInterceptors].length - 1; i2 >= 0; i2--) { - dispatch2 = this[kInterceptors][i2](dispatch2); + for (let i5 = this[kInterceptors].length - 1; i5 >= 0; i5--) { + dispatch2 = this[kInterceptors][i5](dispatch2); } this[kInterceptedDispatch] = dispatch2; return dispatch2(opts, handler2); @@ -2437,11 +2440,11 @@ var require_connect = __commonJS({ "node_modules/undici/lib/core/connect.js"(exports, module) { "use strict"; var net = __require("node:net"); - var assert = __require("node:assert"); - var util = require_util(); + var assert4 = __require("node:assert"); + var util2 = require_util(); var { InvalidArgumentError, ConnectTimeoutError } = require_errors(); var timers = require_timers(); - function noop4() { + function noop6() { } var tls; var SessionCache; @@ -2450,13 +2453,13 @@ var require_connect = __commonJS({ constructor(maxCachedSessions) { this._maxCachedSessions = maxCachedSessions; this._sessionCache = /* @__PURE__ */ new Map(); - this._sessionRegistry = new global.FinalizationRegistry((key) => { + this._sessionRegistry = new global.FinalizationRegistry((key2) => { if (this._sessionCache.size < this._maxCachedSessions) { return; } - const ref = this._sessionCache.get(key); + const ref = this._sessionCache.get(key2); if (ref !== void 0 && ref.deref() === void 0) { - this._sessionCache.delete(key); + this._sessionCache.delete(key2); } }); } @@ -2497,7 +2500,7 @@ var require_connect = __commonJS({ if (maxCachedSessions != null && (!Number.isInteger(maxCachedSessions) || maxCachedSessions < 0)) { throw new InvalidArgumentError("maxCachedSessions must be a positive integer or zero"); } - const options = { path: socketPath, ...opts }; + const options8 = { path: socketPath, ...opts }; const sessionCache = new SessionCache(maxCachedSessions == null ? 100 : maxCachedSessions); timeout = timeout == null ? 1e4 : timeout; allowH2 = allowH2 != null ? allowH2 : false; @@ -2507,15 +2510,15 @@ var require_connect = __commonJS({ if (!tls) { tls = __require("node:tls"); } - servername = servername || options.servername || util.getServerName(host) || null; + servername = servername || options8.servername || util2.getServerName(host) || null; const sessionKey = servername || hostname; - assert(sessionKey); + assert4(sessionKey); const session = customSession || sessionCache.get(sessionKey) || null; port = port || 443; socket = tls.connect({ highWaterMark: 16384, // TLS in node can't have bigger HWM anyway... - ...options, + ...options8, servername, session, localAddress, @@ -2530,35 +2533,35 @@ var require_connect = __commonJS({ sessionCache.set(sessionKey, session2); }); } else { - assert(!httpSocket, "httpSocket can only be sent on TLS update"); + assert4(!httpSocket, "httpSocket can only be sent on TLS update"); port = port || 80; socket = net.connect({ highWaterMark: 64 * 1024, // Same as nodejs fs streams. - ...options, + ...options8, localAddress, port, host: hostname }); } - if (options.keepAlive == null || options.keepAlive) { - const keepAliveInitialDelay = options.keepAliveInitialDelay === void 0 ? 6e4 : options.keepAliveInitialDelay; + if (options8.keepAlive == null || options8.keepAlive) { + const keepAliveInitialDelay = options8.keepAliveInitialDelay === void 0 ? 6e4 : options8.keepAliveInitialDelay; socket.setKeepAlive(true, keepAliveInitialDelay); } const clearConnectTimeout = setupConnectTimeout(new WeakRef(socket), { timeout, hostname, port }); socket.setNoDelay(true).once(protocol === "https:" ? "secureConnect" : "connect", function() { queueMicrotask(clearConnectTimeout); if (callback) { - const cb = callback; + const cb2 = callback; callback = null; - cb(null, this); + cb2(null, this); } }).on("error", function(err) { queueMicrotask(clearConnectTimeout); if (callback) { - const cb = callback; + const cb2 = callback; callback = null; - cb(err); + cb2(err); } }); return socket; @@ -2566,33 +2569,33 @@ var require_connect = __commonJS({ } var setupConnectTimeout = process.platform === "win32" ? (socketWeakRef, opts) => { if (!opts.timeout) { - return noop4; + return noop6; } - let s1 = null; - let s2 = null; + let s12 = null; + let s23 = null; const fastTimer = timers.setFastTimeout(() => { - s1 = setImmediate(() => { - s2 = setImmediate(() => onConnectTimeout(socketWeakRef.deref(), opts)); + s12 = setImmediate(() => { + s23 = setImmediate(() => onConnectTimeout(socketWeakRef.deref(), opts)); }); }, opts.timeout); return () => { timers.clearFastTimeout(fastTimer); - clearImmediate(s1); - clearImmediate(s2); + clearImmediate(s12); + clearImmediate(s23); }; } : (socketWeakRef, opts) => { if (!opts.timeout) { - return noop4; + return noop6; } - let s1 = null; + let s12 = null; const fastTimer = timers.setFastTimeout(() => { - s1 = setImmediate(() => { + s12 = setImmediate(() => { onConnectTimeout(socketWeakRef.deref(), opts); }); }, opts.timeout); return () => { timers.clearFastTimeout(fastTimer); - clearImmediate(s1); + clearImmediate(s12); }; }; function onConnectTimeout(socket, opts) { @@ -2606,7 +2609,7 @@ var require_connect = __commonJS({ message += ` (attempted address: ${opts.hostname}:${opts.port},`; } message += ` timeout: ${opts.timeout}ms)`; - util.destroy(socket, new ConnectTimeoutError(message)); + util2.destroy(socket, new ConnectTimeoutError(message)); } module.exports = buildConnector; } @@ -2620,10 +2623,10 @@ var require_utils = __commonJS({ exports.enumToMap = void 0; function enumToMap(obj) { const res = {}; - Object.keys(obj).forEach((key) => { - const value = obj[key]; + Object.keys(obj).forEach((key2) => { + const value = obj[key2]; if (typeof value === "number") { - res[key] = value; + res[key2] = value; } }); return res; @@ -2800,9 +2803,9 @@ var require_constants2 = __commonJS({ ]; exports.METHOD_MAP = utils_1.enumToMap(METHODS); exports.H_METHOD_MAP = {}; - Object.keys(exports.METHOD_MAP).forEach((key) => { - if (/^H/.test(key)) { - exports.H_METHOD_MAP[key] = exports.METHOD_MAP[key]; + Object.keys(exports.METHOD_MAP).forEach((key2) => { + if (/^H/.test(key2)) { + exports.H_METHOD_MAP[key2] = exports.METHOD_MAP[key2]; } }); var FINISH; @@ -2812,9 +2815,9 @@ var require_constants2 = __commonJS({ FINISH2[FINISH2["UNSAFE"] = 2] = "UNSAFE"; })(FINISH = exports.FINISH || (exports.FINISH = {})); exports.ALPHA = []; - for (let i2 = "A".charCodeAt(0); i2 <= "Z".charCodeAt(0); i2++) { - exports.ALPHA.push(String.fromCharCode(i2)); - exports.ALPHA.push(String.fromCharCode(i2 + 32)); + for (let i5 = "A".charCodeAt(0); i5 <= "Z".charCodeAt(0); i5++) { + exports.ALPHA.push(String.fromCharCode(i5)); + exports.ALPHA.push(String.fromCharCode(i5 + 32)); } exports.NUM_MAP = { 0: 0, @@ -2900,8 +2903,8 @@ var require_constants2 = __commonJS({ "~" ].concat(exports.ALPHANUM); exports.URL_CHAR = exports.STRICT_URL_CHAR.concat([" ", "\f"]); - for (let i2 = 128; i2 <= 255; i2++) { - exports.URL_CHAR.push(i2); + for (let i5 = 128; i5 <= 255; i5++) { + exports.URL_CHAR.push(i5); } exports.HEX = exports.NUM.concat(["a", "b", "c", "d", "e", "f", "A", "B", "C", "D", "E", "F"]); exports.STRICT_TOKEN = [ @@ -2923,12 +2926,12 @@ var require_constants2 = __commonJS({ ].concat(exports.ALPHANUM); exports.TOKEN = exports.STRICT_TOKEN.concat([" "]); exports.HEADER_CHARS = [" "]; - for (let i2 = 32; i2 <= 255; i2++) { - if (i2 !== 127) { - exports.HEADER_CHARS.push(i2); + for (let i5 = 32; i5 <= 255; i5++) { + if (i5 !== 127) { + exports.HEADER_CHARS.push(i5); } } - exports.CONNECTION_TOKEN_CHARS = exports.HEADER_CHARS.filter((c) => c !== 44); + exports.CONNECTION_TOKEN_CHARS = exports.HEADER_CHARS.filter((c7) => c7 !== 44); exports.MAJOR = exports.NUM_MAP; exports.MINOR = exports.MAJOR; var HEADER_STATE; @@ -3229,14 +3232,14 @@ var require_global = __commonJS({ var require_data_url = __commonJS({ "node_modules/undici/lib/web/fetch/data-url.js"(exports, module) { "use strict"; - var assert = __require("node:assert"); + var assert4 = __require("node:assert"); var encoder = new TextEncoder(); var HTTP_TOKEN_CODEPOINTS = /^[!#$%&'*+\-.^_|~A-Za-z0-9]+$/; var HTTP_WHITESPACE_REGEX = /[\u000A\u000D\u0009\u0020]/; var ASCII_WHITESPACE_REPLACE_REGEX = /[\u0009\u000A\u000C\u000D\u0020]/g; var HTTP_QUOTED_STRING_TOKENS = /^[\u0009\u0020-\u007E\u0080-\u00FF]+$/; function dataURLProcessor(dataURL) { - assert(dataURL.protocol === "data:"); + assert4(dataURL.protocol === "data:"); let input = URLSerializer(dataURL, true); input = input.slice(5); const position2 = { position: 0 }; @@ -3272,12 +3275,12 @@ var require_data_url = __commonJS({ } return { mimeType: mimeTypeRecord, body }; } - function URLSerializer(url, excludeFragment = false) { + function URLSerializer(url3, excludeFragment = false) { if (!excludeFragment) { - return url.href; + return url3.href; } - const href = url.href; - const hashLength = url.hash.length; + const href = url3.href; + const hashLength = url3.hash.length; const serialized = hashLength === 0 ? href : href.substring(0, href.length - hashLength); if (!hashLength && href.endsWith("#")) { return serialized.slice(0, -1); @@ -3318,19 +3321,19 @@ var require_data_url = __commonJS({ function percentDecode(input) { const length3 = input.length; const output = new Uint8Array(length3); - let j = 0; - for (let i2 = 0; i2 < length3; ++i2) { - const byte = input[i2]; + let j9 = 0; + for (let i5 = 0; i5 < length3; ++i5) { + const byte = input[i5]; if (byte !== 37) { - output[j++] = byte; - } else if (byte === 37 && !(isHexCharByte(input[i2 + 1]) && isHexCharByte(input[i2 + 2]))) { - output[j++] = 37; + output[j9++] = byte; + } else if (byte === 37 && !(isHexCharByte(input[i5 + 1]) && isHexCharByte(input[i5 + 2]))) { + output[j9++] = 37; } else { - output[j++] = hexByteToNumber(input[i2 + 1]) << 4 | hexByteToNumber(input[i2 + 2]); - i2 += 2; + output[j9++] = hexByteToNumber(input[i5 + 1]) << 4 | hexByteToNumber(input[i5 + 2]); + i5 += 2; } } - return length3 === j ? output : output.subarray(0, j); + return length3 === j9 ? output : output.subarray(0, j9); } function parseMIMEType(input) { input = removeHTTPWhitespace(input, true, true); @@ -3431,13 +3434,13 @@ var require_data_url = __commonJS({ if (/[^+/0-9A-Za-z]/.test(data2.length === dataLength ? data2 : data2.substring(0, dataLength))) { return "failure"; } - const buffer = Buffer.from(data2, "base64"); - return new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength); + const buffer2 = Buffer.from(data2, "base64"); + return new Uint8Array(buffer2.buffer, buffer2.byteOffset, buffer2.byteLength); } - function collectAnHTTPQuotedString(input, position2, extractValue) { + function collectAnHTTPQuotedString(input, position2, extractValue2) { const positionStart = position2.position; let value = ""; - assert(input[position2.position] === '"'); + assert4(input[position2.position] === '"'); position2.position++; while (true) { value += collectASequenceOfCodePoints( @@ -3458,17 +3461,17 @@ var require_data_url = __commonJS({ value += input[position2.position]; position2.position++; } else { - assert(quoteOrBackslash === '"'); + assert4(quoteOrBackslash === '"'); break; } } - if (extractValue) { + if (extractValue2) { return value; } return input.slice(positionStart, position2.position); } function serializeAMimeType(mimeType) { - assert(mimeType !== "failure"); + assert4(mimeType !== "failure"); const { parameters, essence } = mimeType; let serialization = essence; for (let [name, value] of parameters.entries()) { @@ -3513,13 +3516,13 @@ var require_data_url = __commonJS({ return String.fromCharCode.apply(null, input); } let result = ""; - let i2 = 0; + let i5 = 0; let addition = (2 << 15) - 1; - while (i2 < length3) { - if (i2 + addition > length3) { - addition = length3 - i2; + while (i5 < length3) { + if (i5 + addition > length3) { + addition = length3 - i5; } - result += String.fromCharCode.apply(null, input.subarray(i2, i2 += addition)); + result += String.fromCharCode.apply(null, input.subarray(i5, i5 += addition)); } return result; } @@ -3581,7 +3584,7 @@ var require_data_url = __commonJS({ var require_webidl = __commonJS({ "node_modules/undici/lib/web/fetch/webidl.js"(exports, module) { "use strict"; - var { types, inspect } = __require("node:util"); + var { types, inspect: inspect2 } = __require("node:util"); var { markAsUncloneable } = __require("node:worker_threads"); var { toUSVString } = require_util(); var webidl = {}; @@ -3605,15 +3608,15 @@ var require_webidl = __commonJS({ message: `"${context3.value}" is an invalid ${context3.type}.` }); }; - webidl.brandCheck = function(V, I, opts) { + webidl.brandCheck = function(V11, I8, opts) { if (opts?.strict !== false) { - if (!(V instanceof I)) { + if (!(V11 instanceof I8)) { const err = new TypeError("Illegal invocation"); err.code = "ERR_INVALID_THIS"; throw err; } } else { - if (V?.[Symbol.toStringTag] !== I.prototype[Symbol.toStringTag]) { + if (V11?.[Symbol.toStringTag] !== I8.prototype[Symbol.toStringTag]) { const err = new TypeError("Illegal invocation"); err.code = "ERR_INVALID_THIS"; throw err; @@ -3634,8 +3637,8 @@ var require_webidl = __commonJS({ message: "Illegal constructor" }); }; - webidl.util.Type = function(V) { - switch (typeof V) { + webidl.util.Type = function(V11) { + switch (typeof V11) { case "undefined": return "Undefined"; case "boolean": @@ -3650,7 +3653,7 @@ var require_webidl = __commonJS({ return "BigInt"; case "function": case "object": { - if (V === null) { + if (V11 === null) { return "Null"; } return "Object"; @@ -3659,7 +3662,7 @@ var require_webidl = __commonJS({ }; webidl.util.markAsUncloneable = markAsUncloneable || (() => { }); - webidl.util.ConvertToInt = function(V, bitLength, signedness, opts) { + webidl.util.ConvertToInt = function(V11, bitLength, signedness, opts) { let upperBound; let lowerBound; if (bitLength === 64) { @@ -3676,74 +3679,74 @@ var require_webidl = __commonJS({ lowerBound = Math.pow(-2, bitLength) - 1; upperBound = Math.pow(2, bitLength - 1) - 1; } - let x5 = Number(V); - if (x5 === 0) { - x5 = 0; + let x12 = Number(V11); + if (x12 === 0) { + x12 = 0; } if (opts?.enforceRange === true) { - if (Number.isNaN(x5) || x5 === Number.POSITIVE_INFINITY || x5 === Number.NEGATIVE_INFINITY) { + if (Number.isNaN(x12) || x12 === Number.POSITIVE_INFINITY || x12 === Number.NEGATIVE_INFINITY) { throw webidl.errors.exception({ header: "Integer conversion", - message: `Could not convert ${webidl.util.Stringify(V)} to an integer.` + message: `Could not convert ${webidl.util.Stringify(V11)} to an integer.` }); } - x5 = webidl.util.IntegerPart(x5); - if (x5 < lowerBound || x5 > upperBound) { + x12 = webidl.util.IntegerPart(x12); + if (x12 < lowerBound || x12 > upperBound) { throw webidl.errors.exception({ header: "Integer conversion", - message: `Value must be between ${lowerBound}-${upperBound}, got ${x5}.` + message: `Value must be between ${lowerBound}-${upperBound}, got ${x12}.` }); } - return x5; + return x12; } - if (!Number.isNaN(x5) && opts?.clamp === true) { - x5 = Math.min(Math.max(x5, lowerBound), upperBound); - if (Math.floor(x5) % 2 === 0) { - x5 = Math.floor(x5); + if (!Number.isNaN(x12) && opts?.clamp === true) { + x12 = Math.min(Math.max(x12, lowerBound), upperBound); + if (Math.floor(x12) % 2 === 0) { + x12 = Math.floor(x12); } else { - x5 = Math.ceil(x5); + x12 = Math.ceil(x12); } - return x5; + return x12; } - if (Number.isNaN(x5) || x5 === 0 && Object.is(0, x5) || x5 === Number.POSITIVE_INFINITY || x5 === Number.NEGATIVE_INFINITY) { + if (Number.isNaN(x12) || x12 === 0 && Object.is(0, x12) || x12 === Number.POSITIVE_INFINITY || x12 === Number.NEGATIVE_INFINITY) { return 0; } - x5 = webidl.util.IntegerPart(x5); - x5 = x5 % Math.pow(2, bitLength); - if (signedness === "signed" && x5 >= Math.pow(2, bitLength) - 1) { - return x5 - Math.pow(2, bitLength); + x12 = webidl.util.IntegerPart(x12); + x12 = x12 % Math.pow(2, bitLength); + if (signedness === "signed" && x12 >= Math.pow(2, bitLength) - 1) { + return x12 - Math.pow(2, bitLength); } - return x5; + return x12; }; - webidl.util.IntegerPart = function(n2) { - const r = Math.floor(Math.abs(n2)); - if (n2 < 0) { - return -1 * r; + webidl.util.IntegerPart = function(n5) { + const r5 = Math.floor(Math.abs(n5)); + if (n5 < 0) { + return -1 * r5; } - return r; + return r5; }; - webidl.util.Stringify = function(V) { - const type = webidl.util.Type(V); + webidl.util.Stringify = function(V11) { + const type = webidl.util.Type(V11); switch (type) { case "Symbol": - return `Symbol(${V.description})`; + return `Symbol(${V11.description})`; case "Object": - return inspect(V); + return inspect2(V11); case "String": - return `"${V}"`; + return `"${V11}"`; default: - return `${V}`; + return `${V11}`; } }; webidl.sequenceConverter = function(converter) { - return (V, prefix, argument, Iterable) => { - if (webidl.util.Type(V) !== "Object") { + return (V11, prefix, argument, Iterable) => { + if (webidl.util.Type(V11) !== "Object") { throw webidl.errors.exception({ header: prefix, - message: `${argument} (${webidl.util.Stringify(V)}) is not iterable.` + message: `${argument} (${webidl.util.Stringify(V11)}) is not iterable.` }); } - const method = typeof Iterable === "function" ? Iterable() : V?.[Symbol.iterator]?.(); + const method = typeof Iterable === "function" ? Iterable() : V11?.[Symbol.iterator]?.(); const seq = []; let index = 0; if (method === void 0 || typeof method.next !== "function") { @@ -3763,44 +3766,44 @@ var require_webidl = __commonJS({ }; }; webidl.recordConverter = function(keyConverter, valueConverter) { - return (O, prefix, argument) => { - if (webidl.util.Type(O) !== "Object") { + return (O7, prefix, argument) => { + if (webidl.util.Type(O7) !== "Object") { throw webidl.errors.exception({ header: prefix, - message: `${argument} ("${webidl.util.Type(O)}") is not an Object.` + message: `${argument} ("${webidl.util.Type(O7)}") is not an Object.` }); } const result = {}; - if (!types.isProxy(O)) { - const keys2 = [...Object.getOwnPropertyNames(O), ...Object.getOwnPropertySymbols(O)]; - for (const key of keys2) { - const typedKey = keyConverter(key, prefix, argument); - const typedValue = valueConverter(O[key], prefix, argument); + if (!types.isProxy(O7)) { + const keys2 = [...Object.getOwnPropertyNames(O7), ...Object.getOwnPropertySymbols(O7)]; + for (const key2 of keys2) { + const typedKey = keyConverter(key2, prefix, argument); + const typedValue = valueConverter(O7[key2], prefix, argument); result[typedKey] = typedValue; } return result; } - const keys = Reflect.ownKeys(O); - for (const key of keys) { - const desc = Reflect.getOwnPropertyDescriptor(O, key); + const keys = Reflect.ownKeys(O7); + for (const key2 of keys) { + const desc = Reflect.getOwnPropertyDescriptor(O7, key2); if (desc?.enumerable) { - const typedKey = keyConverter(key, prefix, argument); - const typedValue = valueConverter(O[key], prefix, argument); + const typedKey = keyConverter(key2, prefix, argument); + const typedValue = valueConverter(O7[key2], prefix, argument); result[typedKey] = typedValue; } } return result; }; }; - webidl.interfaceConverter = function(i2) { - return (V, prefix, argument, opts) => { - if (opts?.strict !== false && !(V instanceof i2)) { + webidl.interfaceConverter = function(i5) { + return (V11, prefix, argument, opts) => { + if (opts?.strict !== false && !(V11 instanceof i5)) { throw webidl.errors.exception({ header: prefix, - message: `Expected ${argument} ("${webidl.util.Stringify(V)}") to be an instance of ${i2.name}.` + message: `Expected ${argument} ("${webidl.util.Stringify(V11)}") to be an instance of ${i5.name}.` }); } - return V; + return V11; }; }; webidl.dictionaryConverter = function(converters) { @@ -3815,168 +3818,168 @@ var require_webidl = __commonJS({ message: `Expected ${dictionary} to be one of: Null, Undefined, Object.` }); } - for (const options of converters) { - const { key, defaultValue, required, converter } = options; + for (const options8 of converters) { + const { key: key2, defaultValue, required, converter } = options8; if (required === true) { - if (!Object.hasOwn(dictionary, key)) { + if (!Object.hasOwn(dictionary, key2)) { throw webidl.errors.exception({ header: prefix, - message: `Missing required key "${key}".` + message: `Missing required key "${key2}".` }); } } - let value = dictionary[key]; - const hasDefault = Object.hasOwn(options, "defaultValue"); + let value = dictionary[key2]; + const hasDefault = Object.hasOwn(options8, "defaultValue"); if (hasDefault && value !== null) { value ??= defaultValue(); } if (required || hasDefault || value !== void 0) { - value = converter(value, prefix, `${argument}.${key}`); - if (options.allowedValues && !options.allowedValues.includes(value)) { + value = converter(value, prefix, `${argument}.${key2}`); + if (options8.allowedValues && !options8.allowedValues.includes(value)) { throw webidl.errors.exception({ header: prefix, - message: `${value} is not an accepted type. Expected one of ${options.allowedValues.join(", ")}.` + message: `${value} is not an accepted type. Expected one of ${options8.allowedValues.join(", ")}.` }); } - dict[key] = value; + dict[key2] = value; } } return dict; }; }; webidl.nullableConverter = function(converter) { - return (V, prefix, argument) => { - if (V === null) { - return V; + return (V11, prefix, argument) => { + if (V11 === null) { + return V11; } - return converter(V, prefix, argument); + return converter(V11, prefix, argument); }; }; - webidl.converters.DOMString = function(V, prefix, argument, opts) { - if (V === null && opts?.legacyNullToEmptyString) { + webidl.converters.DOMString = function(V11, prefix, argument, opts) { + if (V11 === null && opts?.legacyNullToEmptyString) { return ""; } - if (typeof V === "symbol") { + if (typeof V11 === "symbol") { throw webidl.errors.exception({ header: prefix, message: `${argument} is a symbol, which cannot be converted to a DOMString.` }); } - return String(V); + return String(V11); }; - webidl.converters.ByteString = function(V, prefix, argument) { - const x5 = webidl.converters.DOMString(V, prefix, argument); - for (let index = 0; index < x5.length; index++) { - if (x5.charCodeAt(index) > 255) { + webidl.converters.ByteString = function(V11, prefix, argument) { + const x12 = webidl.converters.DOMString(V11, prefix, argument); + for (let index = 0; index < x12.length; index++) { + if (x12.charCodeAt(index) > 255) { throw new TypeError( - `Cannot convert argument to a ByteString because the character at index ${index} has a value of ${x5.charCodeAt(index)} which is greater than 255.` + `Cannot convert argument to a ByteString because the character at index ${index} has a value of ${x12.charCodeAt(index)} which is greater than 255.` ); } } - return x5; + return x12; }; webidl.converters.USVString = toUSVString; - webidl.converters.boolean = function(V) { - const x5 = Boolean(V); - return x5; + webidl.converters.boolean = function(V11) { + const x12 = Boolean(V11); + return x12; }; - webidl.converters.any = function(V) { - return V; + webidl.converters.any = function(V11) { + return V11; }; - webidl.converters["long long"] = function(V, prefix, argument) { - const x5 = webidl.util.ConvertToInt(V, 64, "signed", void 0, prefix, argument); - return x5; + webidl.converters["long long"] = function(V11, prefix, argument) { + const x12 = webidl.util.ConvertToInt(V11, 64, "signed", void 0, prefix, argument); + return x12; }; - webidl.converters["unsigned long long"] = function(V, prefix, argument) { - const x5 = webidl.util.ConvertToInt(V, 64, "unsigned", void 0, prefix, argument); - return x5; + webidl.converters["unsigned long long"] = function(V11, prefix, argument) { + const x12 = webidl.util.ConvertToInt(V11, 64, "unsigned", void 0, prefix, argument); + return x12; }; - webidl.converters["unsigned long"] = function(V, prefix, argument) { - const x5 = webidl.util.ConvertToInt(V, 32, "unsigned", void 0, prefix, argument); - return x5; + webidl.converters["unsigned long"] = function(V11, prefix, argument) { + const x12 = webidl.util.ConvertToInt(V11, 32, "unsigned", void 0, prefix, argument); + return x12; }; - webidl.converters["unsigned short"] = function(V, prefix, argument, opts) { - const x5 = webidl.util.ConvertToInt(V, 16, "unsigned", opts, prefix, argument); - return x5; + webidl.converters["unsigned short"] = function(V11, prefix, argument, opts) { + const x12 = webidl.util.ConvertToInt(V11, 16, "unsigned", opts, prefix, argument); + return x12; }; - webidl.converters.ArrayBuffer = function(V, prefix, argument, opts) { - if (webidl.util.Type(V) !== "Object" || !types.isAnyArrayBuffer(V)) { + webidl.converters.ArrayBuffer = function(V11, prefix, argument, opts) { + if (webidl.util.Type(V11) !== "Object" || !types.isAnyArrayBuffer(V11)) { throw webidl.errors.conversionFailed({ prefix, - argument: `${argument} ("${webidl.util.Stringify(V)}")`, + argument: `${argument} ("${webidl.util.Stringify(V11)}")`, types: ["ArrayBuffer"] }); } - if (opts?.allowShared === false && types.isSharedArrayBuffer(V)) { + if (opts?.allowShared === false && types.isSharedArrayBuffer(V11)) { throw webidl.errors.exception({ header: "ArrayBuffer", message: "SharedArrayBuffer is not allowed." }); } - if (V.resizable || V.growable) { + if (V11.resizable || V11.growable) { throw webidl.errors.exception({ header: "ArrayBuffer", message: "Received a resizable ArrayBuffer." }); } - return V; + return V11; }; - webidl.converters.TypedArray = function(V, T, prefix, name, opts) { - if (webidl.util.Type(V) !== "Object" || !types.isTypedArray(V) || V.constructor.name !== T.name) { + webidl.converters.TypedArray = function(V11, T7, prefix, name, opts) { + if (webidl.util.Type(V11) !== "Object" || !types.isTypedArray(V11) || V11.constructor.name !== T7.name) { throw webidl.errors.conversionFailed({ prefix, - argument: `${name} ("${webidl.util.Stringify(V)}")`, - types: [T.name] + argument: `${name} ("${webidl.util.Stringify(V11)}")`, + types: [T7.name] }); } - if (opts?.allowShared === false && types.isSharedArrayBuffer(V.buffer)) { + if (opts?.allowShared === false && types.isSharedArrayBuffer(V11.buffer)) { throw webidl.errors.exception({ header: "ArrayBuffer", message: "SharedArrayBuffer is not allowed." }); } - if (V.buffer.resizable || V.buffer.growable) { + if (V11.buffer.resizable || V11.buffer.growable) { throw webidl.errors.exception({ header: "ArrayBuffer", message: "Received a resizable ArrayBuffer." }); } - return V; + return V11; }; - webidl.converters.DataView = function(V, prefix, name, opts) { - if (webidl.util.Type(V) !== "Object" || !types.isDataView(V)) { + webidl.converters.DataView = function(V11, prefix, name, opts) { + if (webidl.util.Type(V11) !== "Object" || !types.isDataView(V11)) { throw webidl.errors.exception({ header: prefix, message: `${name} is not a DataView.` }); } - if (opts?.allowShared === false && types.isSharedArrayBuffer(V.buffer)) { + if (opts?.allowShared === false && types.isSharedArrayBuffer(V11.buffer)) { throw webidl.errors.exception({ header: "ArrayBuffer", message: "SharedArrayBuffer is not allowed." }); } - if (V.buffer.resizable || V.buffer.growable) { + if (V11.buffer.resizable || V11.buffer.growable) { throw webidl.errors.exception({ header: "ArrayBuffer", message: "Received a resizable ArrayBuffer." }); } - return V; + return V11; }; - webidl.converters.BufferSource = function(V, prefix, name, opts) { - if (types.isAnyArrayBuffer(V)) { - return webidl.converters.ArrayBuffer(V, prefix, name, { ...opts, allowShared: false }); + webidl.converters.BufferSource = function(V11, prefix, name, opts) { + if (types.isAnyArrayBuffer(V11)) { + return webidl.converters.ArrayBuffer(V11, prefix, name, { ...opts, allowShared: false }); } - if (types.isTypedArray(V)) { - return webidl.converters.TypedArray(V, V.constructor, prefix, name, { ...opts, allowShared: false }); + if (types.isTypedArray(V11)) { + return webidl.converters.TypedArray(V11, V11.constructor, prefix, name, { ...opts, allowShared: false }); } - if (types.isDataView(V)) { - return webidl.converters.DataView(V, prefix, name, { ...opts, allowShared: false }); + if (types.isDataView(V11)) { + return webidl.converters.DataView(V11, prefix, name, { ...opts, allowShared: false }); } throw webidl.errors.conversionFailed({ prefix, - argument: `${name} ("${webidl.util.Stringify(V)}")`, + argument: `${name} ("${webidl.util.Stringify(V11)}")`, types: ["BufferSource"] }); }; @@ -4007,7 +4010,7 @@ var require_util2 = __commonJS({ var { collectASequenceOfCodePoints, collectAnHTTPQuotedString, removeChars, parseMIMEType } = require_data_url(); var { performance: performance3 } = __require("node:perf_hooks"); var { isBlobLike, ReadableStreamFrom, isValidHTTPToken, normalizedMethodRecordsBase } = require_util(); - var assert = __require("node:assert"); + var assert4 = __require("node:assert"); var { isUint8Array } = __require("node:util/types"); var { webidl } = require_webidl(); var supportedHashes = []; @@ -4039,9 +4042,9 @@ var require_util2 = __commonJS({ } return location; } - function isValidEncodedURL(url) { - for (let i2 = 0; i2 < url.length; ++i2) { - const code = url.charCodeAt(i2); + function isValidEncodedURL(url3) { + for (let i5 = 0; i5 < url3.length; ++i5) { + const code = url3.charCodeAt(i5); if (code > 126 || // Non-US-ASCII + DEL code < 32) { return false; @@ -4056,8 +4059,8 @@ var require_util2 = __commonJS({ return request2.urlList[request2.urlList.length - 1]; } function requestBadPort(request2) { - const url = requestCurrentURL(request2); - if (urlIsHttpHttpsScheme(url) && badPortsSet.has(url.port)) { + const url3 = requestCurrentURL(request2); + if (urlIsHttpHttpsScheme(url3) && badPortsSet.has(url3.port)) { return "blocked"; } return "allowed"; @@ -4066,11 +4069,11 @@ var require_util2 = __commonJS({ return object instanceof Error || (object?.constructor?.name === "Error" || object?.constructor?.name === "DOMException"); } function isValidReasonPhrase(statusText) { - for (let i2 = 0; i2 < statusText.length; ++i2) { - const c = statusText.charCodeAt(i2); - if (!(c === 9 || // HTAB - c >= 32 && c <= 126 || // SP / VCHAR - c >= 128 && c <= 255)) { + for (let i5 = 0; i5 < statusText.length; ++i5) { + const c7 = statusText.charCodeAt(i5); + if (!(c7 === 9 || // HTAB + c7 >= 32 && c7 <= 126 || // SP / VCHAR + c7 >= 128 && c7 <= 255)) { return false; } } @@ -4085,10 +4088,10 @@ var require_util2 = __commonJS({ const policyHeader = (headersList.get("referrer-policy", true) ?? "").split(","); let policy = ""; if (policyHeader.length > 0) { - for (let i2 = policyHeader.length; i2 !== 0; i2--) { - const token = policyHeader[i2 - 1].trim(); - if (referrerPolicyTokens.has(token)) { - policy = token; + for (let i5 = policyHeader.length; i5 !== 0; i5--) { + const token2 = policyHeader[i5 - 1].trim(); + if (referrerPolicyTokens.has(token2)) { + policy = token2; break; } } @@ -4193,7 +4196,7 @@ var require_util2 = __commonJS({ } function determineRequestsReferrer(request2) { const policy = request2.referrerPolicy; - assert(policy); + assert4(policy); let referrerSource = null; if (request2.referrer === "client") { const globalOrigin = getGlobalOrigin(); @@ -4250,31 +4253,31 @@ var require_util2 = __commonJS({ return isNonPotentiallyTrustWorthy ? "no-referrer" : referrerOrigin; } } - function stripURLForReferrer(url, originOnly) { - assert(url instanceof URL); - url = new URL(url); - if (url.protocol === "file:" || url.protocol === "about:" || url.protocol === "blank:") { + function stripURLForReferrer(url3, originOnly) { + assert4(url3 instanceof URL); + url3 = new URL(url3); + if (url3.protocol === "file:" || url3.protocol === "about:" || url3.protocol === "blank:") { return "no-referrer"; } - url.username = ""; - url.password = ""; - url.hash = ""; + url3.username = ""; + url3.password = ""; + url3.hash = ""; if (originOnly) { - url.pathname = ""; - url.search = ""; + url3.pathname = ""; + url3.search = ""; } - return url; + return url3; } - function isURLPotentiallyTrustworthy(url) { - if (!(url instanceof URL)) { + function isURLPotentiallyTrustworthy(url3) { + if (!(url3 instanceof URL)) { return false; } - if (url.href === "about:blank" || url.href === "about:srcdoc") { + if (url3.href === "about:blank" || url3.href === "about:srcdoc") { return true; } - if (url.protocol === "data:") return true; - if (url.protocol === "file:") return true; - return isOriginPotentiallyTrustworthy(url.origin); + if (url3.protocol === "data:") return true; + if (url3.protocol === "file:") return true; + return isOriginPotentiallyTrustworthy(url3.origin); function isOriginPotentiallyTrustworthy(origin) { if (origin == null || origin === "null") return false; const originAsURL = new URL(origin); @@ -4321,9 +4324,9 @@ var require_util2 = __commonJS({ function parseMetadata(metadata) { const result = []; let empty = true; - for (const token of metadata.split(" ")) { + for (const token2 of metadata.split(" ")) { empty = false; - const parsedToken = parseHashWithOptions.exec(token); + const parsedToken = parseHashWithOptions.exec(token2); if (parsedToken === null || parsedToken.groups === void 0 || parsedToken.groups.algo === void 0) { continue; } @@ -4342,8 +4345,8 @@ var require_util2 = __commonJS({ if (algorithm[3] === "5") { return algorithm; } - for (let i2 = 1; i2 < metadataList.length; ++i2) { - const metadata = metadataList[i2]; + for (let i5 = 1; i5 < metadataList.length; ++i5) { + const metadata = metadataList[i5]; if (metadata.algo[3] === "5") { algorithm = "sha512"; break; @@ -4359,22 +4362,22 @@ var require_util2 = __commonJS({ if (metadataList.length === 1) { return metadataList; } - let pos = 0; - for (let i2 = 0; i2 < metadataList.length; ++i2) { - if (metadataList[i2].algo === algorithm) { - metadataList[pos++] = metadataList[i2]; + let pos2 = 0; + for (let i5 = 0; i5 < metadataList.length; ++i5) { + if (metadataList[i5].algo === algorithm) { + metadataList[pos2++] = metadataList[i5]; } } - metadataList.length = pos; + metadataList.length = pos2; return metadataList; } function compareBase64Mixed(actualValue, expectedValue) { if (actualValue.length !== expectedValue.length) { return false; } - for (let i2 = 0; i2 < actualValue.length; ++i2) { - if (actualValue[i2] !== expectedValue[i2]) { - if (actualValue[i2] === "+" && expectedValue[i2] === "-" || actualValue[i2] === "/" && expectedValue[i2] === "_") { + for (let i5 = 0; i5 < actualValue.length; ++i5) { + if (actualValue[i5] !== expectedValue[i5]) { + if (actualValue[i5] === "+" && expectedValue[i5] === "-" || actualValue[i5] === "/" && expectedValue[i5] === "_") { continue; } return false; @@ -4384,11 +4387,11 @@ var require_util2 = __commonJS({ } function tryUpgradeRequestToAPotentiallyTrustworthyURL(request2) { } - function sameOrigin(A2, B) { - if (A2.origin === B.origin && A2.origin === "null") { + function sameOrigin(A9, B7) { + if (A9.origin === B7.origin && A9.origin === "null") { return true; } - if (A2.protocol === B.protocol && A2.hostname === B.hostname && A2.port === B.port) { + if (A9.protocol === B7.protocol && A9.hostname === B7.hostname && A9.port === B7.port) { return true; } return false; @@ -4396,8 +4399,8 @@ var require_util2 = __commonJS({ function createDeferredPromise() { let res; let rej; - const promise = new Promise((resolve3, reject) => { - res = resolve3; + const promise = new Promise((resolve4, reject) => { + res = resolve4; rej = reject; }); return { promise, resolve: res, reject: rej }; @@ -4416,7 +4419,7 @@ var require_util2 = __commonJS({ if (result === void 0) { throw new TypeError("Value is not JSON serializable"); } - assert(typeof result === "string"); + assert4(typeof result === "string"); return result; } var esIteratorPrototype = Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())); @@ -4453,18 +4456,18 @@ var require_util2 = __commonJS({ done: true }; } - const { [keyIndex]: key, [valueIndex]: value } = values[index]; + const { [keyIndex]: key2, [valueIndex]: value } = values[index]; this.#index = index + 1; let result; switch (this.#kind) { case "key": - result = key; + result = key2; break; case "value": result = value; break; case "key+value": - result = [key, value]; + result = [key2, value]; break; } return { @@ -4530,8 +4533,8 @@ var require_util2 = __commonJS({ `Failed to execute 'forEach' on '${name}': parameter 1 is not of type 'Function'.` ); } - for (const { 0: key, 1: value } of makeIterator(this, "key+value")) { - callbackfn.call(thisArg, value, key, this); + for (const { 0: key2, 1: value } of makeIterator(this, "key+value")) { + callbackfn.call(thisArg, value, key2, this); } } } @@ -4552,14 +4555,14 @@ var require_util2 = __commonJS({ let reader; try { reader = body.stream.getReader(); - } catch (e) { - errorSteps(e); + } catch (e7) { + errorSteps(e7); return; } try { successSteps(await readAllBytes(reader)); - } catch (e) { - errorSteps(e); + } catch (e7) { + errorSteps(e7); } } function isReadableStreamLike(stream) { @@ -4577,7 +4580,7 @@ var require_util2 = __commonJS({ } var invalidIsomorphicEncodeValueRegex = /[^\x00-\xFF]/; function isomorphicEncode(input) { - assert(!invalidIsomorphicEncodeValueRegex.test(input)); + assert4(!invalidIsomorphicEncodeValueRegex.test(input)); return input; } async function readAllBytes(reader) { @@ -4595,17 +4598,17 @@ var require_util2 = __commonJS({ byteLength2 += chunk.length; } } - function urlIsLocal(url) { - assert("protocol" in url); - const protocol = url.protocol; + function urlIsLocal(url3) { + assert4("protocol" in url3); + const protocol = url3.protocol; return protocol === "about:" || protocol === "blob:" || protocol === "data:"; } - function urlHasHttpsScheme(url) { - return typeof url === "string" && url[5] === ":" && url[0] === "h" && url[1] === "t" && url[2] === "t" && url[3] === "p" && url[4] === "s" || url.protocol === "https:"; + function urlHasHttpsScheme(url3) { + return typeof url3 === "string" && url3[5] === ":" && url3[0] === "h" && url3[1] === "t" && url3[2] === "t" && url3[3] === "p" && url3[4] === "s" || url3.protocol === "https:"; } - function urlIsHttpHttpsScheme(url) { - assert("protocol" in url); - const protocol = url.protocol; + function urlIsHttpHttpsScheme(url3) { + assert4("protocol" in url3); + const protocol = url3.protocol; return protocol === "http:" || protocol === "https:"; } function simpleRangeHeaderValue(value, allowWhitespace) { @@ -4769,7 +4772,7 @@ var require_util2 = __commonJS({ continue; } } else { - assert(input.charCodeAt(position2.position) === 44); + assert4(input.charCodeAt(position2.position) === 44); position2.position++; } } @@ -4787,14 +4790,14 @@ var require_util2 = __commonJS({ return gettingDecodingSplitting(value); } var textDecoder = new TextDecoder(); - function utf8DecodeBytes(buffer) { - if (buffer.length === 0) { + function utf8DecodeBytes(buffer2) { + if (buffer2.length === 0) { return ""; } - if (buffer[0] === 239 && buffer[1] === 187 && buffer[2] === 191) { - buffer = buffer.subarray(3); + if (buffer2[0] === 239 && buffer2[1] === 187 && buffer2[2] === 191) { + buffer2 = buffer2.subarray(3); } - const output = textDecoder.decode(buffer); + const output = textDecoder.decode(buffer2); return output; } var EnvironmentSettingsObjectBase = class { @@ -4888,15 +4891,15 @@ var require_file = __commonJS({ var { kState } = require_symbols2(); var { webidl } = require_webidl(); var FileLike = class _FileLike { - constructor(blobLike, fileName, options = {}) { - const n2 = fileName; - const t = options.type; - const d = options.lastModified ?? Date.now(); + constructor(blobLike, fileName, options8 = {}) { + const n5 = fileName; + const t26 = options8.type; + const d5 = options8.lastModified ?? Date.now(); this[kState] = { blobLike, - name: n2, - type: t, - lastModified: d + name: n5, + type: t26, + lastModified: d5 }; } stream(...args) { @@ -5038,22 +5041,22 @@ var require_formdata = __commonJS({ this[kState].push(entry); } } - [nodeUtil.inspect.custom](depth, options) { - const state = this[kState].reduce((a, b) => { - if (a[b.name]) { - if (Array.isArray(a[b.name])) { - a[b.name].push(b.value); + [nodeUtil.inspect.custom](depth, options8) { + const state = this[kState].reduce((a5, b7) => { + if (a5[b7.name]) { + if (Array.isArray(a5[b7.name])) { + a5[b7.name].push(b7.value); } else { - a[b.name] = [a[b.name], b.value]; + a5[b7.name] = [a5[b7.name], b7.value]; } } else { - a[b.name] = b.value; + a5[b7.name] = b7.value; } - return a; + return a5; }, { __proto__: null }); - options.depth ??= depth; - options.colors ??= true; - const output = nodeUtil.formatWithOptions(options, state); + options8.depth ??= depth; + options8.colors ??= true; + const output = nodeUtil.formatWithOptions(options8, state); return `FormData ${output.slice(output.indexOf("]") + 2)}`; } }; @@ -5077,11 +5080,11 @@ var require_formdata = __commonJS({ value = value instanceof Blob ? new File([value], "blob", { type: value.type }) : new FileLike(value, "blob", { type: value.type }); } if (filename !== void 0) { - const options = { + const options8 = { type: value.type, lastModified: value.lastModified }; - value = value instanceof NativeFile ? new File([value], filename, options) : new FileLike(value, filename, options); + value = value instanceof NativeFile ? new File([value], filename, options8) : new FileLike(value, filename, options8); } } return { name, value }; @@ -5099,7 +5102,7 @@ var require_formdata_parser = __commonJS({ var { HTTP_TOKEN_CODEPOINTS, isomorphicDecode } = require_data_url(); var { isFileLike } = require_file(); var { makeEntry } = require_formdata(); - var assert = __require("node:assert"); + var assert4 = __require("node:assert"); var { File: NodeFile } = __require("node:buffer"); var File = globalThis.File ?? NodeFile; var formDataNameBuffer = Buffer.from('form-data; name="'); @@ -5107,8 +5110,8 @@ var require_formdata_parser = __commonJS({ var dd = Buffer.from("--"); var ddcrlf = Buffer.from("--\r\n"); function isAsciiString(chars) { - for (let i2 = 0; i2 < chars.length; ++i2) { - if ((chars.charCodeAt(i2) & ~127) !== 0) { + for (let i5 = 0; i5 < chars.length; ++i5) { + if ((chars.charCodeAt(i5) & ~127) !== 0) { return false; } } @@ -5119,16 +5122,16 @@ var require_formdata_parser = __commonJS({ if (length3 < 27 || length3 > 70) { return false; } - for (let i2 = 0; i2 < length3; ++i2) { - const cp = boundary.charCodeAt(i2); - if (!(cp >= 48 && cp <= 57 || cp >= 65 && cp <= 90 || cp >= 97 && cp <= 122 || cp === 39 || cp === 45 || cp === 95)) { + for (let i5 = 0; i5 < length3; ++i5) { + const cp2 = boundary.charCodeAt(i5); + if (!(cp2 >= 48 && cp2 <= 57 || cp2 >= 65 && cp2 <= 90 || cp2 >= 97 && cp2 <= 122 || cp2 === 39 || cp2 === 45 || cp2 === 95)) { return false; } } return true; } function multipartFormDataParser(input, mimeType) { - assert(mimeType !== "failure" && mimeType.essence === "multipart/form-data"); + assert4(mimeType !== "failure" && mimeType.essence === "multipart/form-data"); const boundaryString = mimeType.parameters.get("boundary"); if (boundaryString === void 0) { return "failure"; @@ -5192,8 +5195,8 @@ var require_formdata_parser = __commonJS({ } else { value = utf8DecodeBytes(Buffer.from(body)); } - assert(isUSVString(name)); - assert(typeof value === "string" && isUSVString(value) || isFileLike(value)); + assert4(isUSVString(name)); + assert4(typeof value === "string" && isUSVString(value) || isFileLike(value)); entryList.push(makeEntry(name, value, filename)); } } @@ -5239,12 +5242,12 @@ var require_formdata_parser = __commonJS({ return "failure"; } if (bufferStartsWith(input, filenameBuffer, position2)) { - let check = position2.position + filenameBuffer.length; - if (input[check] === 42) { + let check2 = position2.position + filenameBuffer.length; + if (input[check2] === 42) { position2.position += 1; - check += 1; + check2 += 1; } - if (input[check] !== 61 || input[check + 1] !== 34) { + if (input[check2] !== 61 || input[check2 + 1] !== 34) { return "failure"; } position2.position += 12; @@ -5291,7 +5294,7 @@ var require_formdata_parser = __commonJS({ } } function parseMultipartFormDataName(input, position2) { - assert(input[position2.position - 1] === 34); + assert4(input[position2.position - 1] === 34); let name = collectASequenceOfBytes( (char) => char !== 10 && char !== 13 && char !== 34, input, @@ -5323,12 +5326,12 @@ var require_formdata_parser = __commonJS({ } return lead === 0 && trail === buf.length - 1 ? buf : buf.subarray(lead, trail + 1); } - function bufferStartsWith(buffer, start, position2) { - if (buffer.length < start.length) { + function bufferStartsWith(buffer2, start, position2) { + if (buffer2.length < start.length) { return false; } - for (let i2 = 0; i2 < start.length; i2++) { - if (start[i2] !== buffer[position2.position + i2]) { + for (let i5 = 0; i5 < start.length; i5++) { + if (start[i5] !== buffer2[position2.position + i5]) { return false; } } @@ -5345,7 +5348,7 @@ var require_formdata_parser = __commonJS({ var require_body = __commonJS({ "node_modules/undici/lib/web/fetch/body.js"(exports, module) { "use strict"; - var util = require_util(); + var util2 = require_util(); var { ReadableStreamFrom, isBlobLike, @@ -5360,7 +5363,7 @@ var require_body = __commonJS({ var { kState } = require_symbols2(); var { webidl } = require_webidl(); var { Blob: Blob2 } = __require("node:buffer"); - var assert = __require("node:assert"); + var assert4 = __require("node:assert"); var { isErrored, isDisturbed } = __require("node:stream"); var { isArrayBuffer } = __require("node:util/types"); var { serializeAMimeType } = require_data_url(); @@ -5373,7 +5376,7 @@ var require_body = __commonJS({ random = (max) => Math.floor(Math.random(max)); } var textEncoder2 = new TextEncoder(); - function noop4() { + function noop6() { } var hasFinalizationRegistry = globalThis.FinalizationRegistry && process.version.indexOf("v18") !== 0; var streamRegistry; @@ -5381,7 +5384,7 @@ var require_body = __commonJS({ streamRegistry = new FinalizationRegistry((weakRef) => { const stream = weakRef.deref(); if (stream && !stream.locked && !isDisturbed(stream) && !isErrored(stream)) { - stream.cancel("Response object has been garbage collected").catch(noop4); + stream.cancel("Response object has been garbage collected").catch(noop6); } }); } @@ -5394,9 +5397,9 @@ var require_body = __commonJS({ } else { stream = new ReadableStream({ async pull(controller) { - const buffer = typeof source === "string" ? textEncoder2.encode(source) : source; - if (buffer.byteLength) { - controller.enqueue(buffer); + const buffer2 = typeof source2 === "string" ? textEncoder2.encode(source2) : source2; + if (buffer2.byteLength) { + controller.enqueue(buffer2); } queueMicrotask(() => readableStreamClose(controller)); }, @@ -5405,47 +5408,47 @@ var require_body = __commonJS({ type: "bytes" }); } - assert(isReadableStreamLike(stream)); + assert4(isReadableStreamLike(stream)); let action = null; - let source = null; + let source2 = null; let length3 = null; let type = null; if (typeof object === "string") { - source = object; + source2 = object; type = "text/plain;charset=UTF-8"; } else if (object instanceof URLSearchParams) { - source = object.toString(); + source2 = object.toString(); type = "application/x-www-form-urlencoded;charset=UTF-8"; } else if (isArrayBuffer(object)) { - source = new Uint8Array(object.slice()); + source2 = new Uint8Array(object.slice()); } else if (ArrayBuffer.isView(object)) { - source = new Uint8Array(object.buffer.slice(object.byteOffset, object.byteOffset + object.byteLength)); - } else if (util.isFormDataLike(object)) { + source2 = new Uint8Array(object.buffer.slice(object.byteOffset, object.byteOffset + object.byteLength)); + } else if (util2.isFormDataLike(object)) { const boundary = `----formdata-undici-0${`${random(1e11)}`.padStart(11, "0")}`; const prefix = `--${boundary}\r Content-Disposition: form-data`; - const escape = (str) => str.replace(/\n/g, "%0A").replace(/\r/g, "%0D").replace(/"/g, "%22"); + const escape2 = (str) => str.replace(/\n/g, "%0A").replace(/\r/g, "%0D").replace(/"/g, "%22"); const normalizeLinefeeds = (value) => value.replace(/\r?\n|\r/g, "\r\n"); const blobParts = []; - const rn = new Uint8Array([13, 10]); + const rn6 = new Uint8Array([13, 10]); length3 = 0; let hasUnknownSizeValue = false; for (const [name, value] of object) { if (typeof value === "string") { - const chunk2 = textEncoder2.encode(prefix + `; name="${escape(normalizeLinefeeds(name))}"\r + const chunk2 = textEncoder2.encode(prefix + `; name="${escape2(normalizeLinefeeds(name))}"\r \r ${normalizeLinefeeds(value)}\r `); blobParts.push(chunk2); length3 += chunk2.byteLength; } else { - const chunk2 = textEncoder2.encode(`${prefix}; name="${escape(normalizeLinefeeds(name))}"` + (value.name ? `; filename="${escape(value.name)}"` : "") + `\r + const chunk2 = textEncoder2.encode(`${prefix}; name="${escape2(normalizeLinefeeds(name))}"` + (value.name ? `; filename="${escape2(value.name)}"` : "") + `\r Content-Type: ${value.type || "application/octet-stream"}\r \r `); - blobParts.push(chunk2, value, rn); + blobParts.push(chunk2, value, rn6); if (typeof value.size === "number") { - length3 += chunk2.byteLength + value.size + rn.byteLength; + length3 += chunk2.byteLength + value.size + rn6.byteLength; } else { hasUnknownSizeValue = true; } @@ -5458,7 +5461,7 @@ Content-Type: ${value.type || "application/octet-stream"}\r if (hasUnknownSizeValue) { length3 = null; } - source = object; + source2 = object; action = async function* () { for (const part of blobParts) { if (part.stream) { @@ -5470,7 +5473,7 @@ Content-Type: ${value.type || "application/octet-stream"}\r }; type = `multipart/form-data; boundary=${boundary}`; } else if (isBlobLike(object)) { - source = object; + source2 = object; length3 = object.size; if (object.type) { type = object.type; @@ -5479,15 +5482,15 @@ Content-Type: ${value.type || "application/octet-stream"}\r if (keepalive) { throw new TypeError("keepalive"); } - if (util.isDisturbed(object) || object.locked) { + if (util2.isDisturbed(object) || object.locked) { throw new TypeError( "Response body object should not be disturbed or locked" ); } stream = object instanceof ReadableStream ? object : ReadableStreamFrom(object); } - if (typeof source === "string" || util.isBuffer(source)) { - length3 = Buffer.byteLength(source); + if (typeof source2 === "string" || util2.isBuffer(source2)) { + length3 = Buffer.byteLength(source2); } if (action != null) { let iterator2; @@ -5504,9 +5507,9 @@ Content-Type: ${value.type || "application/octet-stream"}\r }); } else { if (!isErrored(stream)) { - const buffer = new Uint8Array(value); - if (buffer.byteLength) { - controller.enqueue(buffer); + const buffer2 = new Uint8Array(value); + if (buffer2.byteLength) { + controller.enqueue(buffer2); } } } @@ -5518,13 +5521,13 @@ Content-Type: ${value.type || "application/octet-stream"}\r type: "bytes" }); } - const body = { stream, source, length: length3 }; + const body = { stream, source: source2, length: length3 }; return [body, type]; } function safelyExtractBody(object, keepalive = false) { if (object instanceof ReadableStream) { - assert(!util.isDisturbed(object), "The body has already been consumed."); - assert(!object.locked, "The stream is locked."); + assert4(!util2.isDisturbed(object), "The body has already been consumed."); + assert4(!object.locked, "The stream is locked."); } return extractBody(object, keepalive); } @@ -5617,8 +5620,8 @@ Content-Type: ${value.type || "application/octet-stream"}\r const successSteps = (data2) => { try { promise.resolve(convertBytesToJSValue(data2)); - } catch (e) { - errorSteps(e); + } catch (e7) { + errorSteps(e7); } }; if (object[kState].body == null) { @@ -5630,7 +5633,7 @@ Content-Type: ${value.type || "application/octet-stream"}\r } function bodyUnusable(object) { const body = object[kState].body; - return body != null && (body.stream.locked || util.isDisturbed(body.stream)); + return body != null && (body.stream.locked || util2.isDisturbed(body.stream)); } function parseJSONFromBytes(bytes) { return JSON.parse(utf8DecodeBytes(bytes)); @@ -5659,8 +5662,8 @@ Content-Type: ${value.type || "application/octet-stream"}\r var require_client_h1 = __commonJS({ "node_modules/undici/lib/dispatcher/client-h1.js"(exports, module) { "use strict"; - var assert = __require("node:assert"); - var util = require_util(); + var assert4 = __require("node:assert"); + var util2 = require_util(); var { channels } = require_diagnostics(); var timers = require_timers(); var { @@ -5711,53 +5714,53 @@ var require_client_h1 = __commonJS({ var constants3 = require_constants2(); var EMPTY_BUF = Buffer.alloc(0); var FastBuffer = Buffer[Symbol.species]; - var addListener = util.addListener; - var removeAllListeners = util.removeAllListeners; + var addListener = util2.addListener; + var removeAllListeners = util2.removeAllListeners; var extractBody; async function lazyllhttp() { const llhttpWasmData = process.env.JEST_WORKER_ID ? require_llhttp_wasm() : void 0; let mod; try { mod = await WebAssembly.compile(require_llhttp_simd_wasm()); - } catch (e) { + } catch (e7) { mod = await WebAssembly.compile(llhttpWasmData || require_llhttp_wasm()); } return await WebAssembly.instantiate(mod, { env: { /* eslint-disable camelcase */ - wasm_on_url: (p, at, len) => { + wasm_on_url: (p4, at11, len) => { return 0; }, - wasm_on_status: (p, at, len) => { - assert(currentParser.ptr === p); - const start = at - currentBufferPtr + currentBufferRef.byteOffset; + wasm_on_status: (p4, at11, len) => { + assert4(currentParser.ptr === p4); + const start = at11 - currentBufferPtr + currentBufferRef.byteOffset; return currentParser.onStatus(new FastBuffer(currentBufferRef.buffer, start, len)) || 0; }, - wasm_on_message_begin: (p) => { - assert(currentParser.ptr === p); + wasm_on_message_begin: (p4) => { + assert4(currentParser.ptr === p4); return currentParser.onMessageBegin() || 0; }, - wasm_on_header_field: (p, at, len) => { - assert(currentParser.ptr === p); - const start = at - currentBufferPtr + currentBufferRef.byteOffset; + wasm_on_header_field: (p4, at11, len) => { + assert4(currentParser.ptr === p4); + const start = at11 - currentBufferPtr + currentBufferRef.byteOffset; return currentParser.onHeaderField(new FastBuffer(currentBufferRef.buffer, start, len)) || 0; }, - wasm_on_header_value: (p, at, len) => { - assert(currentParser.ptr === p); - const start = at - currentBufferPtr + currentBufferRef.byteOffset; + wasm_on_header_value: (p4, at11, len) => { + assert4(currentParser.ptr === p4); + const start = at11 - currentBufferPtr + currentBufferRef.byteOffset; return currentParser.onHeaderValue(new FastBuffer(currentBufferRef.buffer, start, len)) || 0; }, - wasm_on_headers_complete: (p, statusCode, upgrade, shouldKeepAlive) => { - assert(currentParser.ptr === p); + wasm_on_headers_complete: (p4, statusCode, upgrade, shouldKeepAlive) => { + assert4(currentParser.ptr === p4); return currentParser.onHeadersComplete(statusCode, Boolean(upgrade), Boolean(shouldKeepAlive)) || 0; }, - wasm_on_body: (p, at, len) => { - assert(currentParser.ptr === p); - const start = at - currentBufferPtr + currentBufferRef.byteOffset; + wasm_on_body: (p4, at11, len) => { + assert4(currentParser.ptr === p4); + const start = at11 - currentBufferPtr + currentBufferRef.byteOffset; return currentParser.onBody(new FastBuffer(currentBufferRef.buffer, start, len)) || 0; }, - wasm_on_message_complete: (p) => { - assert(currentParser.ptr === p); + wasm_on_message_complete: (p4) => { + assert4(currentParser.ptr === p4); return currentParser.onMessageComplete() || 0; } /* eslint-enable camelcase */ @@ -5778,7 +5781,7 @@ var require_client_h1 = __commonJS({ var TIMEOUT_KEEP_ALIVE = 8 | USE_NATIVE_TIMER; var Parser = class { constructor(client, socket, { exports: exports2 }) { - assert(Number.isFinite(client[kMaxHeadersSize]) && client[kMaxHeadersSize] > 0); + assert4(Number.isFinite(client[kMaxHeadersSize]) && client[kMaxHeadersSize] > 0); this.llhttp = exports2; this.ptr = this.llhttp.llhttp_alloc(constants3.TYPE.RESPONSE); this.client = client; @@ -5827,10 +5830,10 @@ var require_client_h1 = __commonJS({ if (this.socket.destroyed || !this.paused) { return; } - assert(this.ptr != null); - assert(currentParser == null); + assert4(this.ptr != null); + assert4(currentParser == null); this.llhttp.llhttp_resume(this.ptr); - assert(this.timeoutType === TIMEOUT_BODY); + assert4(this.timeoutType === TIMEOUT_BODY); if (this.timeout) { if (this.timeout.refresh) { this.timeout.refresh(); @@ -5850,9 +5853,9 @@ var require_client_h1 = __commonJS({ } } execute(data2) { - assert(this.ptr != null); - assert(currentParser == null); - assert(!this.paused); + assert4(this.ptr != null); + assert4(currentParser == null); + assert4(!this.paused); const { socket, llhttp } = this; if (data2.length > currentBufferSize) { if (currentBufferPtr) { @@ -5890,12 +5893,12 @@ var require_client_h1 = __commonJS({ throw new HTTPParserError(message, constants3.ERROR[ret], data2.slice(offset)); } } catch (err) { - util.destroy(socket, err); + util2.destroy(socket, err); } } destroy() { - assert(this.ptr != null); - assert(currentParser == null); + assert4(this.ptr != null); + assert4(currentParser == null); this.llhttp.llhttp_free(this.ptr); this.ptr = null; this.timeout && timers.clearTimeout(this.timeout); @@ -5935,15 +5938,15 @@ var require_client_h1 = __commonJS({ } else { this.headers[len - 1] = Buffer.concat([this.headers[len - 1], buf]); } - const key = this.headers[len - 2]; - if (key.length === 10) { - const headerName = util.bufferToLowerCasedHeaderName(key); + const key2 = this.headers[len - 2]; + if (key2.length === 10) { + const headerName = util2.bufferToLowerCasedHeaderName(key2); if (headerName === "keep-alive") { this.keepAlive += buf.toString(); } else if (headerName === "connection") { this.connection += buf.toString(); } - } else if (key.length === 14 && util.bufferToLowerCasedHeaderName(key) === "content-length") { + } else if (key2.length === 14 && util2.bufferToLowerCasedHeaderName(key2) === "content-length") { this.contentLength += buf.toString(); } this.trackHeader(buf.length); @@ -5951,19 +5954,19 @@ var require_client_h1 = __commonJS({ trackHeader(len) { this.headersSize += len; if (this.headersSize >= this.headersMaxSize) { - util.destroy(this.socket, new HeadersOverflowError()); + util2.destroy(this.socket, new HeadersOverflowError()); } } onUpgrade(head) { const { upgrade, client, socket, headers, statusCode } = this; - assert(upgrade); - assert(client[kSocket] === socket); - assert(!socket.destroyed); - assert(!this.paused); - assert((headers.length & 1) === 0); + assert4(upgrade); + assert4(client[kSocket] === socket); + assert4(!socket.destroyed); + assert4(!this.paused); + assert4((headers.length & 1) === 0); const request2 = client[kQueue][client[kRunningIdx]]; - assert(request2); - assert(request2.upgrade || request2.method === "CONNECT"); + assert4(request2); + assert4(request2.upgrade || request2.method === "CONNECT"); this.statusCode = null; this.statusText = ""; this.shouldKeepAlive = null; @@ -5982,7 +5985,7 @@ var require_client_h1 = __commonJS({ try { request2.onUpgrade(statusCode, headers, socket); } catch (err) { - util.destroy(socket, err); + util2.destroy(socket, err); } client[kResume](); } @@ -5995,17 +5998,17 @@ var require_client_h1 = __commonJS({ if (!request2) { return -1; } - assert(!this.upgrade); - assert(this.statusCode < 200); + assert4(!this.upgrade); + assert4(this.statusCode < 200); if (statusCode === 100) { - util.destroy(socket, new SocketError("bad response", util.getSocketInfo(socket))); + util2.destroy(socket, new SocketError("bad response", util2.getSocketInfo(socket))); return -1; } if (upgrade && !request2.upgrade) { - util.destroy(socket, new SocketError("bad upgrade", util.getSocketInfo(socket))); + util2.destroy(socket, new SocketError("bad upgrade", util2.getSocketInfo(socket))); return -1; } - assert(this.timeoutType === TIMEOUT_HEADERS); + assert4(this.timeoutType === TIMEOUT_HEADERS); this.statusCode = statusCode; this.shouldKeepAlive = shouldKeepAlive || // Override llhttp value which does not allow keepAlive for HEAD. request2.method === "HEAD" && !socket[kReset] && this.connection.toLowerCase() === "keep-alive"; @@ -6018,20 +6021,20 @@ var require_client_h1 = __commonJS({ } } if (request2.method === "CONNECT") { - assert(client[kRunning] === 1); + assert4(client[kRunning] === 1); this.upgrade = true; return 2; } if (upgrade) { - assert(client[kRunning] === 1); + assert4(client[kRunning] === 1); this.upgrade = true; return 2; } - assert((this.headers.length & 1) === 0); + assert4((this.headers.length & 1) === 0); this.headers = []; this.headersSize = 0; if (this.shouldKeepAlive && client[kPipelining]) { - const keepAliveTimeout = this.keepAlive ? util.parseKeepAliveTimeout(this.keepAlive) : null; + const keepAliveTimeout = this.keepAlive ? util2.parseKeepAliveTimeout(this.keepAlive) : null; if (keepAliveTimeout != null) { const timeout = Math.min( keepAliveTimeout - client[kKeepAliveTimeoutThreshold], @@ -6070,16 +6073,16 @@ var require_client_h1 = __commonJS({ return -1; } const request2 = client[kQueue][client[kRunningIdx]]; - assert(request2); - assert(this.timeoutType === TIMEOUT_BODY); + assert4(request2); + assert4(this.timeoutType === TIMEOUT_BODY); if (this.timeout) { if (this.timeout.refresh) { this.timeout.refresh(); } } - assert(statusCode >= 200); + assert4(statusCode >= 200); if (maxResponseSize > -1 && this.bytesRead + buf.length > maxResponseSize) { - util.destroy(socket, new ResponseExceededMaxSizeError()); + util2.destroy(socket, new ResponseExceededMaxSizeError()); return -1; } this.bytesRead += buf.length; @@ -6095,10 +6098,10 @@ var require_client_h1 = __commonJS({ if (upgrade) { return; } - assert(statusCode >= 100); - assert((this.headers.length & 1) === 0); + assert4(statusCode >= 100); + assert4((this.headers.length & 1) === 0); const request2 = client[kQueue][client[kRunningIdx]]; - assert(request2); + assert4(request2); this.statusCode = null; this.statusText = ""; this.bytesRead = 0; @@ -6111,20 +6114,20 @@ var require_client_h1 = __commonJS({ return; } if (request2.method !== "HEAD" && contentLength && bytesRead !== parseInt(contentLength, 10)) { - util.destroy(socket, new ResponseContentLengthMismatchError()); + util2.destroy(socket, new ResponseContentLengthMismatchError()); return -1; } request2.onComplete(headers); client[kQueue][client[kRunningIdx]++] = null; if (socket[kWriting]) { - assert(client[kRunning] === 0); - util.destroy(socket, new InformationalError("reset")); + assert4(client[kRunning] === 0); + util2.destroy(socket, new InformationalError("reset")); return constants3.ERROR.PAUSED; } else if (!shouldKeepAlive) { - util.destroy(socket, new InformationalError("reset")); + util2.destroy(socket, new InformationalError("reset")); return constants3.ERROR.PAUSED; } else if (socket[kReset] && client[kRunning] === 0) { - util.destroy(socket, new InformationalError("reset")); + util2.destroy(socket, new InformationalError("reset")); return constants3.ERROR.PAUSED; } else if (client[kPipelining] == null || client[kPipelining] === 1) { setImmediate(() => client[kResume]()); @@ -6137,16 +6140,16 @@ var require_client_h1 = __commonJS({ const { socket, timeoutType, client, paused } = parser2.deref(); if (timeoutType === TIMEOUT_HEADERS) { if (!socket[kWriting] || socket.writableNeedDrain || client[kRunning] > 1) { - assert(!paused, "cannot be paused while waiting for headers"); - util.destroy(socket, new HeadersTimeoutError()); + assert4(!paused, "cannot be paused while waiting for headers"); + util2.destroy(socket, new HeadersTimeoutError()); } } else if (timeoutType === TIMEOUT_BODY) { if (!paused) { - util.destroy(socket, new BodyTimeoutError()); + util2.destroy(socket, new BodyTimeoutError()); } } else if (timeoutType === TIMEOUT_KEEP_ALIVE) { - assert(client[kRunning] === 0 && client[kKeepAliveTimeoutValue]); - util.destroy(socket, new InformationalError("socket idle timeout")); + assert4(client[kRunning] === 0 && client[kKeepAliveTimeoutValue]); + util2.destroy(socket, new InformationalError("socket idle timeout")); } } async function connectH1(client, socket) { @@ -6161,7 +6164,7 @@ var require_client_h1 = __commonJS({ socket[kBlocking] = false; socket[kParser] = new Parser(client, socket, llhttpInstance); addListener(socket, "error", function(err) { - assert(err.code !== "ERR_TLS_CERT_ALTNAME_INVALID"); + assert4(err.code !== "ERR_TLS_CERT_ALTNAME_INVALID"); const parser2 = this[kParser]; if (err.code === "ECONNRESET" && parser2.statusCode && !parser2.shouldKeepAlive) { parser2.onMessageComplete(); @@ -6182,7 +6185,7 @@ var require_client_h1 = __commonJS({ parser2.onMessageComplete(); return; } - util.destroy(this, new SocketError("other side closed", util.getSocketInfo(this))); + util2.destroy(this, new SocketError("other side closed", util2.getSocketInfo(this))); }); addListener(socket, "close", function() { const client2 = this[kClient]; @@ -6194,23 +6197,23 @@ var require_client_h1 = __commonJS({ this[kParser].destroy(); this[kParser] = null; } - const err = this[kError] || new SocketError("closed", util.getSocketInfo(this)); + const err = this[kError] || new SocketError("closed", util2.getSocketInfo(this)); client2[kSocket] = null; client2[kHTTPContext] = null; if (client2.destroyed) { - assert(client2[kPending] === 0); + assert4(client2[kPending] === 0); const requests = client2[kQueue].splice(client2[kRunningIdx]); - for (let i2 = 0; i2 < requests.length; i2++) { - const request2 = requests[i2]; - util.errorRequest(client2, request2, err); + for (let i5 = 0; i5 < requests.length; i5++) { + const request2 = requests[i5]; + util2.errorRequest(client2, request2, err); } } else if (client2[kRunning] > 0 && err.code !== "UND_ERR_INFO") { const request2 = client2[kQueue][client2[kRunningIdx]]; client2[kQueue][client2[kRunningIdx]++] = null; - util.errorRequest(client2, request2, err); + util2.errorRequest(client2, request2, err); } client2[kPendingIdx] = client2[kRunningIdx]; - assert(client2[kRunning] === 0); + assert4(client2[kRunning] === 0); client2.emit("disconnect", client2[kUrl], [client2], err); client2[kResume](); }); @@ -6248,7 +6251,7 @@ var require_client_h1 = __commonJS({ if (client[kRunning] > 0 && (request2.upgrade || request2.method === "CONNECT")) { return true; } - if (client[kRunning] > 0 && util.bodyLength(request2.body) !== 0 && (util.isStream(request2.body) || util.isAsyncIterable(request2.body) || util.isFormDataLike(request2.body))) { + if (client[kRunning] > 0 && util2.bodyLength(request2.body) !== 0 && (util2.isStream(request2.body) || util2.isAsyncIterable(request2.body) || util2.isFormDataLike(request2.body))) { return true; } } @@ -6285,10 +6288,10 @@ var require_client_h1 = __commonJS({ return method !== "GET" && method !== "HEAD" && method !== "OPTIONS" && method !== "TRACE" && method !== "CONNECT"; } function writeH1(client, request2) { - const { method, path: path7, host, upgrade, blocking, reset } = request2; + const { method, path: path19, host, upgrade, blocking, reset } = request2; let { body, headers, contentLength } = request2; const expectsPayload = method === "PUT" || method === "POST" || method === "PATCH" || method === "QUERY" || method === "PROPFIND" || method === "PROPPATCH"; - if (util.isFormDataLike(body)) { + if (util2.isFormDataLike(body)) { if (!extractBody) { extractBody = require_body().extractBody; } @@ -6298,13 +6301,13 @@ var require_client_h1 = __commonJS({ } body = bodyStream.stream; contentLength = bodyStream.length; - } else if (util.isBlobLike(body) && request2.contentType == null && body.type) { + } else if (util2.isBlobLike(body) && request2.contentType == null && body.type) { headers.push("content-type", body.type); } if (body && typeof body.read === "function") { body.read(0); } - const bodyLength = util.bodyLength(body); + const bodyLength = util2.bodyLength(body); contentLength = bodyLength ?? contentLength; if (contentLength === null) { contentLength = request2.contentLength; @@ -6314,7 +6317,7 @@ var require_client_h1 = __commonJS({ } if (shouldSendContentLength(method) && contentLength > 0 && request2.contentLength !== null && request2.contentLength !== contentLength) { if (client[kStrictContentLength]) { - util.errorRequest(client, request2, new RequestContentLengthMismatchError()); + util2.errorRequest(client, request2, new RequestContentLengthMismatchError()); return false; } process.emitWarning(new RequestContentLengthMismatchError()); @@ -6324,14 +6327,14 @@ var require_client_h1 = __commonJS({ if (request2.aborted || request2.completed) { return; } - util.errorRequest(client, request2, err || new RequestAbortedError()); - util.destroy(body); - util.destroy(socket, new InformationalError("aborted")); + util2.errorRequest(client, request2, err || new RequestAbortedError()); + util2.destroy(body); + util2.destroy(socket, new InformationalError("aborted")); }; try { request2.onConnect(abort); } catch (err) { - util.errorRequest(client, request2, err); + util2.errorRequest(client, request2, err); } if (request2.aborted) { return false; @@ -6351,7 +6354,7 @@ var require_client_h1 = __commonJS({ if (blocking) { socket[kBlocking] = true; } - let header = `${method} ${path7} HTTP/1.1\r + let header = `${method} ${path19} HTTP/1.1\r `; if (typeof host === "string") { header += `host: ${host}\r @@ -6369,16 +6372,16 @@ upgrade: ${upgrade}\r header += "connection: close\r\n"; } if (Array.isArray(headers)) { - for (let n2 = 0; n2 < headers.length; n2 += 2) { - const key = headers[n2 + 0]; - const val = headers[n2 + 1]; + for (let n5 = 0; n5 < headers.length; n5 += 2) { + const key2 = headers[n5 + 0]; + const val = headers[n5 + 1]; if (Array.isArray(val)) { - for (let i2 = 0; i2 < val.length; i2++) { - header += `${key}: ${val[i2]}\r + for (let i5 = 0; i5 < val.length; i5++) { + header += `${key2}: ${val[i5]}\r `; } } else { - header += `${key}: ${val}\r + header += `${key2}: ${val}\r `; } } @@ -6388,25 +6391,25 @@ upgrade: ${upgrade}\r } if (!body || bodyLength === 0) { writeBuffer(abort, null, client, request2, socket, contentLength, header, expectsPayload); - } else if (util.isBuffer(body)) { + } else if (util2.isBuffer(body)) { writeBuffer(abort, body, client, request2, socket, contentLength, header, expectsPayload); - } else if (util.isBlobLike(body)) { + } else if (util2.isBlobLike(body)) { if (typeof body.stream === "function") { writeIterable(abort, body.stream(), client, request2, socket, contentLength, header, expectsPayload); } else { writeBlob(abort, body, client, request2, socket, contentLength, header, expectsPayload); } - } else if (util.isStream(body)) { + } else if (util2.isStream(body)) { writeStream(abort, body, client, request2, socket, contentLength, header, expectsPayload); - } else if (util.isIterable(body)) { + } else if (util2.isIterable(body)) { writeIterable(abort, body, client, request2, socket, contentLength, header, expectsPayload); } else { - assert(false); + assert4(false); } return true; } function writeStream(abort, body, client, request2, socket, contentLength, header, expectsPayload) { - assert(contentLength !== 0 || client[kRunning] === 0, "stream body cannot be pipelined"); + assert4(contentLength !== 0 || client[kRunning] === 0, "stream body cannot be pipelined"); let finished = false; const writer = new AsyncWriter({ abort, socket, request: request2, contentLength, client, expectsPayload, header }); const onData = function(chunk) { @@ -6418,7 +6421,7 @@ upgrade: ${upgrade}\r this.pause(); } } catch (err) { - util.destroy(this, err); + util2.destroy(this, err); } }; const onDrain = function() { @@ -6443,21 +6446,21 @@ upgrade: ${upgrade}\r return; } finished = true; - assert(socket.destroyed || socket[kWriting] && client[kRunning] <= 1); + assert4(socket.destroyed || socket[kWriting] && client[kRunning] <= 1); socket.off("drain", onDrain).off("error", onFinished); body.removeListener("data", onData).removeListener("end", onFinished).removeListener("close", onClose); if (!err) { try { writer.end(); - } catch (er) { - err = er; + } catch (er10) { + err = er10; } } writer.destroy(err); if (err && (err.code !== "UND_ERR_INFO" || err.message !== "reset")) { - util.destroy(body, err); + util2.destroy(body, err); } else { - util.destroy(body); + util2.destroy(body); } }; body.on("data", onData).on("end", onFinished).on("error", onFinished).on("close", onClose); @@ -6482,12 +6485,12 @@ upgrade: ${upgrade}\r \r `, "latin1"); } else { - assert(contentLength === null, "no body must not have content length"); + assert4(contentLength === null, "no body must not have content length"); socket.write(`${header}\r `, "latin1"); } - } else if (util.isBuffer(body)) { - assert(contentLength === body.byteLength, "buffer body must have content length"); + } else if (util2.isBuffer(body)) { + assert4(contentLength === body.byteLength, "buffer body must have content length"); socket.cork(); socket.write(`${header}content-length: ${contentLength}\r \r @@ -6506,19 +6509,19 @@ upgrade: ${upgrade}\r } } async function writeBlob(abort, body, client, request2, socket, contentLength, header, expectsPayload) { - assert(contentLength === body.size, "blob body must have content length"); + assert4(contentLength === body.size, "blob body must have content length"); try { if (contentLength != null && contentLength !== body.size) { throw new RequestContentLengthMismatchError(); } - const buffer = Buffer.from(await body.arrayBuffer()); + const buffer2 = Buffer.from(await body.arrayBuffer()); socket.cork(); socket.write(`${header}content-length: ${contentLength}\r \r `, "latin1"); - socket.write(buffer); + socket.write(buffer2); socket.uncork(); - request2.onBodySent(buffer); + request2.onBodySent(buffer2); request2.onRequestSent(); if (!expectsPayload && request2.reset !== false) { socket[kReset] = true; @@ -6529,21 +6532,21 @@ upgrade: ${upgrade}\r } } async function writeIterable(abort, body, client, request2, socket, contentLength, header, expectsPayload) { - assert(contentLength !== 0 || client[kRunning] === 0, "iterator body cannot be pipelined"); + assert4(contentLength !== 0 || client[kRunning] === 0, "iterator body cannot be pipelined"); let callback = null; function onDrain() { if (callback) { - const cb = callback; + const cb2 = callback; callback = null; - cb(); + cb2(); } } - const waitForDrain = () => new Promise((resolve3, reject) => { - assert(callback === null); + const waitForDrain = () => new Promise((resolve4, reject) => { + assert4(callback === null); if (socket[kError]) { reject(socket[kError]); } else { - callback = resolve3; + callback = resolve4; } }); socket.on("close", onDrain).on("drain", onDrain); @@ -6666,7 +6669,7 @@ ${len.toString(16)}\r const { socket, client, abort } = this; socket[kWriting] = false; if (err) { - assert(client[kRunning] <= 1, "pipeline should only contain this request"); + assert4(client[kRunning] <= 1, "pipeline should only contain this request"); abort(err); } } @@ -6679,9 +6682,9 @@ ${len.toString(16)}\r var require_client_h2 = __commonJS({ "node_modules/undici/lib/dispatcher/client-h2.js"(exports, module) { "use strict"; - var assert = __require("node:assert"); + var assert4 = __require("node:assert"); var { pipeline } = __require("node:stream"); - var util = require_util(); + var util2 = require_util(); var { RequestContentLengthMismatchError, RequestAbortedError, @@ -6755,43 +6758,43 @@ var require_client_h2 = __commonJS({ session[kOpenStreams] = 0; session[kClient] = client; session[kSocket] = socket; - util.addListener(session, "error", onHttp2SessionError); - util.addListener(session, "frameError", onHttp2FrameError); - util.addListener(session, "end", onHttp2SessionEnd); - util.addListener(session, "goaway", onHTTP2GoAway); - util.addListener(session, "close", function() { + util2.addListener(session, "error", onHttp2SessionError); + util2.addListener(session, "frameError", onHttp2FrameError); + util2.addListener(session, "end", onHttp2SessionEnd); + util2.addListener(session, "goaway", onHTTP2GoAway); + util2.addListener(session, "close", function() { const { [kClient]: client2 } = this; const { [kSocket]: socket2 } = client2; - const err = this[kSocket][kError] || this[kError] || new SocketError("closed", util.getSocketInfo(socket2)); + const err = this[kSocket][kError] || this[kError] || new SocketError("closed", util2.getSocketInfo(socket2)); client2[kHTTP2Session] = null; if (client2.destroyed) { - assert(client2[kPending] === 0); + assert4(client2[kPending] === 0); const requests = client2[kQueue].splice(client2[kRunningIdx]); - for (let i2 = 0; i2 < requests.length; i2++) { - const request2 = requests[i2]; - util.errorRequest(client2, request2, err); + for (let i5 = 0; i5 < requests.length; i5++) { + const request2 = requests[i5]; + util2.errorRequest(client2, request2, err); } } }); session.unref(); client[kHTTP2Session] = session; socket[kHTTP2Session] = session; - util.addListener(socket, "error", function(err) { - assert(err.code !== "ERR_TLS_CERT_ALTNAME_INVALID"); + util2.addListener(socket, "error", function(err) { + assert4(err.code !== "ERR_TLS_CERT_ALTNAME_INVALID"); this[kError] = err; this[kClient][kOnError](err); }); - util.addListener(socket, "end", function() { - util.destroy(this, new SocketError("other side closed", util.getSocketInfo(this))); + util2.addListener(socket, "end", function() { + util2.destroy(this, new SocketError("other side closed", util2.getSocketInfo(this))); }); - util.addListener(socket, "close", function() { - const err = this[kError] || new SocketError("closed", util.getSocketInfo(this)); + util2.addListener(socket, "close", function() { + const err = this[kError] || new SocketError("closed", util2.getSocketInfo(this)); client[kSocket] = null; if (this[kHTTP2Session] != null) { this[kHTTP2Session].destroy(err); } client[kPendingIdx] = client[kRunningIdx]; - assert(client[kRunning] === 0); + assert4(client[kRunning] === 0); client.emit("disconnect", client[kUrl], [client], err); client[kResume](); }); @@ -6836,24 +6839,24 @@ var require_client_h2 = __commonJS({ } } function onHttp2SessionError(err) { - assert(err.code !== "ERR_TLS_CERT_ALTNAME_INVALID"); + assert4(err.code !== "ERR_TLS_CERT_ALTNAME_INVALID"); this[kSocket][kError] = err; this[kClient][kOnError](err); } - function onHttp2FrameError(type, code, id) { - if (id === 0) { + function onHttp2FrameError(type, code, id2) { + if (id2 === 0) { const err = new InformationalError(`HTTP/2: "frameError" received - type ${type}, code ${code}`); this[kSocket][kError] = err; this[kClient][kOnError](err); } } function onHttp2SessionEnd() { - const err = new SocketError("other side closed", util.getSocketInfo(this[kSocket])); + const err = new SocketError("other side closed", util2.getSocketInfo(this[kSocket])); this.destroy(err); - util.destroy(this[kSocket], err); + util2.destroy(this[kSocket], err); } function onHTTP2GoAway(code) { - const err = this[kError] || new SocketError(`HTTP/2: "GOAWAY" frame received with code ${code}`, util.getSocketInfo(this)); + const err = this[kError] || new SocketError(`HTTP/2: "GOAWAY" frame received with code ${code}`, util2.getSocketInfo(this)); const client = this[kClient]; client[kSocket] = null; client[kHTTPContext] = null; @@ -6861,14 +6864,14 @@ var require_client_h2 = __commonJS({ this[kHTTP2Session].destroy(err); this[kHTTP2Session] = null; } - util.destroy(this[kSocket], err); + util2.destroy(this[kSocket], err); if (client[kRunningIdx] < client[kQueue].length) { const request2 = client[kQueue][client[kRunningIdx]]; client[kQueue][client[kRunningIdx]++] = null; - util.errorRequest(client, request2, err); + util2.errorRequest(client, request2, err); client[kPendingIdx] = client[kRunningIdx]; } - assert(client[kRunning] === 0); + assert4(client[kRunning] === 0); client.emit("disconnect", client[kUrl], [client], err); client[kResume](); } @@ -6877,26 +6880,26 @@ var require_client_h2 = __commonJS({ } function writeH2(client, request2) { const session = client[kHTTP2Session]; - const { method, path: path7, host, upgrade, expectContinue, signal, headers: reqHeaders } = request2; + const { method, path: path19, host, upgrade, expectContinue, signal, headers: reqHeaders } = request2; let { body } = request2; if (upgrade) { - util.errorRequest(client, request2, new Error("Upgrade not supported for H2")); + util2.errorRequest(client, request2, new Error("Upgrade not supported for H2")); return false; } const headers = {}; - for (let n2 = 0; n2 < reqHeaders.length; n2 += 2) { - const key = reqHeaders[n2 + 0]; - const val = reqHeaders[n2 + 1]; + for (let n5 = 0; n5 < reqHeaders.length; n5 += 2) { + const key2 = reqHeaders[n5 + 0]; + const val = reqHeaders[n5 + 1]; if (Array.isArray(val)) { - for (let i2 = 0; i2 < val.length; i2++) { - if (headers[key]) { - headers[key] += `,${val[i2]}`; + for (let i5 = 0; i5 < val.length; i5++) { + if (headers[key2]) { + headers[key2] += `,${val[i5]}`; } else { - headers[key] = val[i2]; + headers[key2] = val[i5]; } } } else { - headers[key] = val; + headers[key2] = val; } } let stream; @@ -6908,18 +6911,18 @@ var require_client_h2 = __commonJS({ return; } err = err || new RequestAbortedError(); - util.errorRequest(client, request2, err); + util2.errorRequest(client, request2, err); if (stream != null) { - util.destroy(stream, err); + util2.destroy(stream, err); } - util.destroy(body, err); + util2.destroy(body, err); client[kQueue][client[kRunningIdx]++] = null; client[kResume](); }; try { request2.onConnect(abort); } catch (err) { - util.errorRequest(client, request2, err); + util2.errorRequest(client, request2, err); } if (request2.aborted) { return false; @@ -6944,14 +6947,14 @@ var require_client_h2 = __commonJS({ }); return true; } - headers[HTTP2_HEADER_PATH] = path7; + headers[HTTP2_HEADER_PATH] = path19; headers[HTTP2_HEADER_SCHEME] = "https"; const expectsPayload = method === "PUT" || method === "POST" || method === "PATCH"; if (body && typeof body.read === "function") { body.read(0); } - let contentLength = util.bodyLength(body); - if (util.isFormDataLike(body)) { + let contentLength = util2.bodyLength(body); + if (util2.isFormDataLike(body)) { extractBody ??= require_body().extractBody; const [bodyStream, contentType] = extractBody(body); headers["content-type"] = contentType; @@ -6966,13 +6969,13 @@ var require_client_h2 = __commonJS({ } if (shouldSendContentLength(method) && contentLength > 0 && request2.contentLength != null && request2.contentLength !== contentLength) { if (client[kStrictContentLength]) { - util.errorRequest(client, request2, new RequestContentLengthMismatchError()); + util2.errorRequest(client, request2, new RequestContentLengthMismatchError()); return false; } process.emitWarning(new RequestContentLengthMismatchError()); } if (contentLength != null) { - assert(body, "no body must not have content length"); + assert4(body, "no body must not have content length"); headers[HTTP2_HEADER_CONTENT_LENGTH] = `${contentLength}`; } session.ref(); @@ -6994,8 +6997,8 @@ var require_client_h2 = __commonJS({ request2.onResponseStarted(); if (request2.aborted) { const err = new RequestAbortedError(); - util.errorRequest(client, request2, err); - util.destroy(stream, err); + util2.errorRequest(client, request2, err); + util2.destroy(stream, err); return; } if (request2.onHeaders(Number(statusCode), parseH2Headers(realHeaders), stream.resume.bind(stream), "") === false) { @@ -7044,7 +7047,7 @@ var require_client_h2 = __commonJS({ contentLength, expectsPayload ); - } else if (util.isBuffer(body)) { + } else if (util2.isBuffer(body)) { writeBuffer( abort, stream, @@ -7055,7 +7058,7 @@ var require_client_h2 = __commonJS({ contentLength, expectsPayload ); - } else if (util.isBlobLike(body)) { + } else if (util2.isBlobLike(body)) { if (typeof body.stream === "function") { writeIterable( abort, @@ -7079,7 +7082,7 @@ var require_client_h2 = __commonJS({ expectsPayload ); } - } else if (util.isStream(body)) { + } else if (util2.isStream(body)) { writeStream( abort, client[kSocket], @@ -7090,7 +7093,7 @@ var require_client_h2 = __commonJS({ request2, contentLength ); - } else if (util.isIterable(body)) { + } else if (util2.isIterable(body)) { writeIterable( abort, stream, @@ -7102,14 +7105,14 @@ var require_client_h2 = __commonJS({ expectsPayload ); } else { - assert(false); + assert4(false); } } } function writeBuffer(abort, h2stream, body, client, request2, socket, contentLength, expectsPayload) { try { - if (body != null && util.isBuffer(body)) { - assert(contentLength === body.byteLength, "buffer body must have content length"); + if (body != null && util2.isBuffer(body)) { + assert4(contentLength === body.byteLength, "buffer body must have content length"); h2stream.cork(); h2stream.write(body); h2stream.uncork(); @@ -7126,16 +7129,16 @@ var require_client_h2 = __commonJS({ } } function writeStream(abort, socket, expectsPayload, h2stream, body, client, request2, contentLength) { - assert(contentLength !== 0 || client[kRunning] === 0, "stream body cannot be pipelined"); + assert4(contentLength !== 0 || client[kRunning] === 0, "stream body cannot be pipelined"); const pipe = pipeline( body, h2stream, (err) => { if (err) { - util.destroy(pipe, err); + util2.destroy(pipe, err); abort(err); } else { - util.removeAllListeners(pipe); + util2.removeAllListeners(pipe); request2.onRequestSent(); if (!expectsPayload) { socket[kReset] = true; @@ -7144,23 +7147,23 @@ var require_client_h2 = __commonJS({ } } ); - util.addListener(pipe, "data", onPipeData); + util2.addListener(pipe, "data", onPipeData); function onPipeData(chunk) { request2.onBodySent(chunk); } } async function writeBlob(abort, h2stream, body, client, request2, socket, contentLength, expectsPayload) { - assert(contentLength === body.size, "blob body must have content length"); + assert4(contentLength === body.size, "blob body must have content length"); try { if (contentLength != null && contentLength !== body.size) { throw new RequestContentLengthMismatchError(); } - const buffer = Buffer.from(await body.arrayBuffer()); + const buffer2 = Buffer.from(await body.arrayBuffer()); h2stream.cork(); - h2stream.write(buffer); + h2stream.write(buffer2); h2stream.uncork(); h2stream.end(); - request2.onBodySent(buffer); + request2.onBodySent(buffer2); request2.onRequestSent(); if (!expectsPayload) { socket[kReset] = true; @@ -7171,21 +7174,21 @@ var require_client_h2 = __commonJS({ } } async function writeIterable(abort, h2stream, body, client, request2, socket, contentLength, expectsPayload) { - assert(contentLength !== 0 || client[kRunning] === 0, "iterator body cannot be pipelined"); + assert4(contentLength !== 0 || client[kRunning] === 0, "iterator body cannot be pipelined"); let callback = null; function onDrain() { if (callback) { - const cb = callback; + const cb2 = callback; callback = null; - cb(); + cb2(); } } - const waitForDrain = () => new Promise((resolve3, reject) => { - assert(callback === null); + const waitForDrain = () => new Promise((resolve4, reject) => { + assert4(callback === null); if (socket[kError]) { reject(socket[kError]); } else { - callback = resolve3; + callback = resolve4; } }); h2stream.on("close", onDrain).on("drain", onDrain); @@ -7220,9 +7223,9 @@ var require_client_h2 = __commonJS({ var require_redirect_handler = __commonJS({ "node_modules/undici/lib/handler/redirect-handler.js"(exports, module) { "use strict"; - var util = require_util(); + var util2 = require_util(); var { kBodyUsed } = require_symbols(); - var assert = __require("node:assert"); + var assert4 = __require("node:assert"); var { InvalidArgumentError } = require_errors(); var EE = __require("node:events"); var redirectableStatusCodes = [300, 301, 302, 303, 307, 308]; @@ -7233,7 +7236,7 @@ var require_redirect_handler = __commonJS({ this[kBodyUsed] = false; } async *[Symbol.asyncIterator]() { - assert(!this[kBodyUsed], "disturbed"); + assert4(!this[kBodyUsed], "disturbed"); this[kBodyUsed] = true; yield* this[kBody]; } @@ -7243,7 +7246,7 @@ var require_redirect_handler = __commonJS({ if (maxRedirections != null && (!Number.isInteger(maxRedirections) || maxRedirections < 0)) { throw new InvalidArgumentError("maxRedirections must be a positive number"); } - util.validateHandler(handler2, opts.method, opts.upgrade); + util2.validateHandler(handler2, opts.method, opts.upgrade); this.dispatch = dispatch2; this.location = null; this.abort = null; @@ -7252,10 +7255,10 @@ var require_redirect_handler = __commonJS({ this.handler = handler2; this.history = []; this.redirectionLimitReached = false; - if (util.isStream(this.opts.body)) { - if (util.bodyLength(this.opts.body) === 0) { + if (util2.isStream(this.opts.body)) { + if (util2.bodyLength(this.opts.body) === 0) { this.opts.body.on("data", function() { - assert(false); + assert4(false); }); } if (typeof this.opts.body.readableDidRead !== "boolean") { @@ -7266,7 +7269,7 @@ var require_redirect_handler = __commonJS({ } } else if (this.opts.body && typeof this.opts.body.pipeTo === "function") { this.opts.body = new BodyAsyncIterable(this.opts.body); - } else if (this.opts.body && typeof this.opts.body !== "string" && !ArrayBuffer.isView(this.opts.body) && util.isIterable(this.opts.body)) { + } else if (this.opts.body && typeof this.opts.body !== "string" && !ArrayBuffer.isView(this.opts.body) && util2.isIterable(this.opts.body)) { this.opts.body = new BodyAsyncIterable(this.opts.body); } } @@ -7281,7 +7284,7 @@ var require_redirect_handler = __commonJS({ this.handler.onError(error2); } onHeaders(statusCode, headers, resume, statusText) { - this.location = this.history.length >= this.maxRedirections || util.isDisturbed(this.opts.body) ? null : parseLocation(statusCode, headers); + this.location = this.history.length >= this.maxRedirections || util2.isDisturbed(this.opts.body) ? null : parseLocation(statusCode, headers); if (this.opts.throwOnMaxRedirect && this.history.length >= this.maxRedirections) { if (this.request) { this.request.abort(new Error("max redirects")); @@ -7296,10 +7299,10 @@ var require_redirect_handler = __commonJS({ if (!this.location) { return this.handler.onHeaders(statusCode, headers, resume, statusText); } - const { origin, pathname, search } = util.parseURL(new URL(this.location, this.opts.origin && new URL(this.opts.path, this.opts.origin))); - const path7 = search ? `${pathname}${search}` : pathname; + const { origin, pathname, search } = util2.parseURL(new URL(this.location, this.opts.origin && new URL(this.opts.path, this.opts.origin))); + const path19 = search ? `${pathname}${search}` : pathname; this.opts.headers = cleanRequestHeaders(this.opts.headers, statusCode === 303, this.opts.origin !== origin); - this.opts.path = path7; + this.opts.path = path19; this.opts.origin = origin; this.opts.maxRedirections = 0; this.opts.query = null; @@ -7333,21 +7336,21 @@ var require_redirect_handler = __commonJS({ if (redirectableStatusCodes.indexOf(statusCode) === -1) { return null; } - for (let i2 = 0; i2 < headers.length; i2 += 2) { - if (headers[i2].length === 8 && util.headerNameToString(headers[i2]) === "location") { - return headers[i2 + 1]; + for (let i5 = 0; i5 < headers.length; i5 += 2) { + if (headers[i5].length === 8 && util2.headerNameToString(headers[i5]) === "location") { + return headers[i5 + 1]; } } } function shouldRemoveHeader(header, removeContent, unknownOrigin) { if (header.length === 4) { - return util.headerNameToString(header) === "host"; + return util2.headerNameToString(header) === "host"; } - if (removeContent && util.headerNameToString(header).startsWith("content-")) { + if (removeContent && util2.headerNameToString(header).startsWith("content-")) { return true; } if (unknownOrigin && (header.length === 13 || header.length === 6 || header.length === 19)) { - const name = util.headerNameToString(header); + const name = util2.headerNameToString(header); return name === "authorization" || name === "cookie" || name === "proxy-authorization"; } return false; @@ -7355,19 +7358,19 @@ var require_redirect_handler = __commonJS({ function cleanRequestHeaders(headers, removeContent, unknownOrigin) { const ret = []; if (Array.isArray(headers)) { - for (let i2 = 0; i2 < headers.length; i2 += 2) { - if (!shouldRemoveHeader(headers[i2], removeContent, unknownOrigin)) { - ret.push(headers[i2], headers[i2 + 1]); + for (let i5 = 0; i5 < headers.length; i5 += 2) { + if (!shouldRemoveHeader(headers[i5], removeContent, unknownOrigin)) { + ret.push(headers[i5], headers[i5 + 1]); } } } else if (headers && typeof headers === "object") { - for (const key of Object.keys(headers)) { - if (!shouldRemoveHeader(key, removeContent, unknownOrigin)) { - ret.push(key, headers[key]); + for (const key2 of Object.keys(headers)) { + if (!shouldRemoveHeader(key2, removeContent, unknownOrigin)) { + ret.push(key2, headers[key2]); } } } else { - assert(headers == null, "headers must be an object or an array"); + assert4(headers == null, "headers must be an object or an array"); } return ret; } @@ -7401,10 +7404,10 @@ var require_redirect_interceptor = __commonJS({ var require_client = __commonJS({ "node_modules/undici/lib/dispatcher/client.js"(exports, module) { "use strict"; - var assert = __require("node:assert"); + var assert4 = __require("node:assert"); var net = __require("node:net"); var http = __require("node:http"); - var util = require_util(); + var util2 = require_util(); var { channels } = require_diagnostics(); var Request = require_request(); var DispatcherBase = require_dispatcher_base(); @@ -7460,7 +7463,7 @@ var require_client = __commonJS({ var connectH2 = require_client_h2(); var deprecatedInterceptorWarned = false; var kClosedResolve = /* @__PURE__ */ Symbol("kClosedResolve"); - var noop4 = () => { + var noop6 = () => { }; function getPipelining(client) { return client[kPipelining] ?? client[kHTTPContext]?.defaultPipelining ?? 1; @@ -7471,7 +7474,7 @@ var require_client = __commonJS({ * @param {string|URL} url * @param {import('../../types/client.js').Client.Options} options */ - constructor(url, { + constructor(url3, { interceptors, maxHeaderSize, headersTimeout, @@ -7587,7 +7590,7 @@ var require_client = __commonJS({ } else { this[kInterceptors] = [createRedirectInterceptor({ maxRedirections })]; } - this[kUrl] = util.parseOrigin(url); + this[kUrl] = util2.parseOrigin(url3); this[kConnector] = connect2; this[kPipelining] = pipelining != null ? pipelining : 1; this[kMaxHeadersSize] = maxHeaderSize || http.maxHeaderSize; @@ -7641,16 +7644,16 @@ var require_client = __commonJS({ ); } /* istanbul ignore: only used for test */ - [kConnect](cb) { + [kConnect](cb2) { connect(this); - this.once("connect", cb); + this.once("connect", cb2); } [kDispatch](opts, handler2) { const origin = opts.origin || this[kUrl].origin; const request2 = new Request(origin, opts, handler2); this[kQueue].push(request2); if (this[kResuming]) { - } else if (util.bodyLength(request2.body) == null && util.isIterable(request2.body)) { + } else if (util2.bodyLength(request2.body) == null && util2.isIterable(request2.body)) { this[kResuming] = 1; queueMicrotask(() => resume(this)); } else { @@ -7662,27 +7665,27 @@ var require_client = __commonJS({ return this[kNeedDrain] < 2; } async [kClose]() { - return new Promise((resolve3) => { + return new Promise((resolve4) => { if (this[kSize]) { - this[kClosedResolve] = resolve3; + this[kClosedResolve] = resolve4; } else { - resolve3(null); + resolve4(null); } }); } async [kDestroy](err) { - return new Promise((resolve3) => { + return new Promise((resolve4) => { const requests = this[kQueue].splice(this[kPendingIdx]); - for (let i2 = 0; i2 < requests.length; i2++) { - const request2 = requests[i2]; - util.errorRequest(this, request2, err); + for (let i5 = 0; i5 < requests.length; i5++) { + const request2 = requests[i5]; + util2.errorRequest(this, request2, err); } const callback = () => { if (this[kClosedResolve]) { this[kClosedResolve](); this[kClosedResolve] = null; } - resolve3(null); + resolve4(null); }; if (this[kHTTPContext]) { this[kHTTPContext].destroy(err, callback); @@ -7697,25 +7700,25 @@ var require_client = __commonJS({ var createRedirectInterceptor = require_redirect_interceptor(); function onError(client, err) { if (client[kRunning] === 0 && err.code !== "UND_ERR_INFO" && err.code !== "UND_ERR_SOCKET") { - assert(client[kPendingIdx] === client[kRunningIdx]); + assert4(client[kPendingIdx] === client[kRunningIdx]); const requests = client[kQueue].splice(client[kRunningIdx]); - for (let i2 = 0; i2 < requests.length; i2++) { - const request2 = requests[i2]; - util.errorRequest(client, request2, err); + for (let i5 = 0; i5 < requests.length; i5++) { + const request2 = requests[i5]; + util2.errorRequest(client, request2, err); } - assert(client[kSize] === 0); + assert4(client[kSize] === 0); } } async function connect(client) { - assert(!client[kConnecting]); - assert(!client[kHTTPContext]); + assert4(!client[kConnecting]); + assert4(!client[kHTTPContext]); let { host, hostname, protocol, port } = client[kUrl]; if (hostname[0] === "[") { const idx = hostname.indexOf("]"); - assert(idx !== -1); - const ip = hostname.substring(1, idx); - assert(net.isIP(ip)); - hostname = ip; + assert4(idx !== -1); + const ip2 = hostname.substring(1, idx); + assert4(net.isIP(ip2)); + hostname = ip2; } client[kConnecting] = true; if (channels.beforeConnect.hasSubscribers) { @@ -7733,7 +7736,7 @@ var require_client = __commonJS({ }); } try { - const socket = await new Promise((resolve3, reject) => { + const socket = await new Promise((resolve4, reject) => { client[kConnector]({ host, hostname, @@ -7745,19 +7748,19 @@ var require_client = __commonJS({ if (err) { reject(err); } else { - resolve3(socket2); + resolve4(socket2); } }); }); if (client.destroyed) { - util.destroy(socket.on("error", noop4), new ClientDestroyedError()); + util2.destroy(socket.on("error", noop6), new ClientDestroyedError()); return; } - assert(socket); + assert4(socket); try { client[kHTTPContext] = socket.alpnProtocol === "h2" ? await connectH2(client, socket) : await connectH1(client, socket); } catch (err) { - socket.destroy().on("error", noop4); + socket.destroy().on("error", noop6); throw err; } client[kConnecting] = false; @@ -7802,10 +7805,10 @@ var require_client = __commonJS({ }); } if (err.code === "ERR_TLS_CERT_ALTNAME_INVALID") { - assert(client[kRunning] === 0); + assert4(client[kRunning] === 0); while (client[kPending] > 0 && client[kQueue][client[kPendingIdx]].servername === client[kServerName]) { const request2 = client[kQueue][client[kPendingIdx]++]; - util.errorRequest(client, request2, err); + util2.errorRequest(client, request2, err); } } else { onError(client, err); @@ -7834,7 +7837,7 @@ var require_client = __commonJS({ function _resume(client, sync) { while (true) { if (client.destroyed) { - assert(client[kPending] === 0); + assert4(client[kPending] === 0); return; } if (client[kClosedResolve] && !client[kSize]) { @@ -8030,7 +8033,7 @@ var require_pool_base = __commonJS({ pool.emit("drain", origin, [pool, ...targets]); } if (pool[kClosedResolve] && queue.isEmpty()) { - Promise.all(pool[kClients].map((c) => c.close())).then(pool[kClosedResolve]); + Promise.all(pool[kClients].map((c7) => c7.close())).then(pool[kClosedResolve]); } }; this[kOnConnect] = (origin, targets) => { @@ -8079,10 +8082,10 @@ var require_pool_base = __commonJS({ } async [kClose]() { if (this[kQueue].isEmpty()) { - await Promise.all(this[kClients].map((c) => c.close())); + await Promise.all(this[kClients].map((c7) => c7.close())); } else { - await new Promise((resolve3) => { - this[kClosedResolve] = resolve3; + await new Promise((resolve4) => { + this[kClosedResolve] = resolve4; }); } } @@ -8094,7 +8097,7 @@ var require_pool_base = __commonJS({ } item.handler.onError(err); } - await Promise.all(this[kClients].map((c) => c.destroy(err))); + await Promise.all(this[kClients].map((c7) => c7.destroy(err))); } [kDispatch](opts, handler2) { const dispatcher = this[kGetDispatcher](); @@ -8156,7 +8159,7 @@ var require_pool = __commonJS({ var { InvalidArgumentError } = require_errors(); - var util = require_util(); + var util2 = require_util(); var { kUrl, kInterceptors } = require_symbols(); var buildConnector = require_connect(); var kOptions = /* @__PURE__ */ Symbol("options"); @@ -8177,7 +8180,7 @@ var require_pool = __commonJS({ autoSelectFamily, autoSelectFamilyAttemptTimeout, allowH2, - ...options + ...options8 } = {}) { super(); if (connections != null && (!Number.isFinite(connections) || connections < 0)) { @@ -8200,11 +8203,11 @@ var require_pool = __commonJS({ ...connect }); } - this[kInterceptors] = options.interceptors?.Pool && Array.isArray(options.interceptors.Pool) ? options.interceptors.Pool : []; + this[kInterceptors] = options8.interceptors?.Pool && Array.isArray(options8.interceptors.Pool) ? options8.interceptors.Pool : []; this[kConnections] = connections || null; - this[kUrl] = util.parseOrigin(origin); - this[kOptions] = { ...util.deepClone(options), connect, allowH2 }; - this[kOptions].interceptors = options.interceptors ? { ...options.interceptors } : void 0; + this[kUrl] = util2.parseOrigin(origin); + this[kOptions] = { ...util2.deepClone(options8), connect, allowH2 }; + this[kOptions].interceptors = options8.interceptors ? { ...options8.interceptors } : void 0; this[kFactory] = factory; this.on("connectionError", (origin2, targets, error2) => { for (const target of targets) { @@ -8259,14 +8262,14 @@ var require_balanced_pool = __commonJS({ var kWeight = /* @__PURE__ */ Symbol("kWeight"); var kMaxWeightPerServer = /* @__PURE__ */ Symbol("kMaxWeightPerServer"); var kErrorPenalty = /* @__PURE__ */ Symbol("kErrorPenalty"); - function getGreatestCommonDivisor(a, b) { - if (a === 0) return b; - while (b !== 0) { - const t = b; - b = a % b; - a = t; + function getGreatestCommonDivisor(a5, b7) { + if (a5 === 0) return b7; + while (b7 !== 0) { + const t26 = b7; + b7 = a5 % b7; + a5 = t26; } - return a; + return a5; } function defaultFactory(origin, opts) { return new Pool(origin, opts); @@ -8321,8 +8324,8 @@ var require_balanced_pool = __commonJS({ } _updateBalancedPoolStats() { let result = 0; - for (let i2 = 0; i2 < this[kClients].length; i2++) { - result = getGreatestCommonDivisor(this[kClients][i2][kWeight], result); + for (let i5 = 0; i5 < this[kClients].length; i5++) { + result = getGreatestCommonDivisor(this[kClients][i5][kWeight], result); } this[kGreatestCommonDivisor] = result; } @@ -8335,7 +8338,7 @@ var require_balanced_pool = __commonJS({ return this; } get upstreams() { - return this[kClients].filter((dispatcher) => dispatcher.closed !== true && dispatcher.destroyed !== true).map((p) => p[kUrl].origin); + return this[kClients].filter((dispatcher) => dispatcher.closed !== true && dispatcher.destroyed !== true).map((p4) => p4[kUrl].origin); } [kGetDispatcher]() { if (this[kClients].length === 0) { @@ -8345,7 +8348,7 @@ var require_balanced_pool = __commonJS({ if (!dispatcher) { return; } - const allClientsBusy = this[kClients].map((pool) => pool[kNeedDrain]).reduce((a, b) => a && b, true); + const allClientsBusy = this[kClients].map((pool) => pool[kNeedDrain]).reduce((a5, b7) => a5 && b7, true); if (allClientsBusy) { return; } @@ -8385,7 +8388,7 @@ var require_agent = __commonJS({ var DispatcherBase = require_dispatcher_base(); var Pool = require_pool(); var Client = require_client(); - var util = require_util(); + var util2 = require_util(); var createRedirectInterceptor = require_redirect_interceptor(); var kOnConnect = /* @__PURE__ */ Symbol("onConnect"); var kOnDisconnect = /* @__PURE__ */ Symbol("onDisconnect"); @@ -8398,7 +8401,7 @@ var require_agent = __commonJS({ return opts && opts.connections === 1 ? new Client(origin, opts) : new Pool(origin, opts); } var Agent = class extends DispatcherBase { - constructor({ factory = defaultFactory, maxRedirections = 0, connect, ...options } = {}) { + constructor({ factory = defaultFactory, maxRedirections = 0, connect, ...options8 } = {}) { super(); if (typeof factory !== "function") { throw new InvalidArgumentError("factory must be a function."); @@ -8412,9 +8415,9 @@ var require_agent = __commonJS({ if (connect && typeof connect !== "function") { connect = { ...connect }; } - this[kInterceptors] = options.interceptors?.Agent && Array.isArray(options.interceptors.Agent) ? options.interceptors.Agent : [createRedirectInterceptor({ maxRedirections })]; - this[kOptions] = { ...util.deepClone(options), connect }; - this[kOptions].interceptors = options.interceptors ? { ...options.interceptors } : void 0; + this[kInterceptors] = options8.interceptors?.Agent && Array.isArray(options8.interceptors.Agent) ? options8.interceptors.Agent : [createRedirectInterceptor({ maxRedirections })]; + this[kOptions] = { ...util2.deepClone(options8), connect }; + this[kOptions].interceptors = options8.interceptors ? { ...options8.interceptors } : void 0; this[kMaxRedirections] = maxRedirections; this[kFactory] = factory; this[kClients] = /* @__PURE__ */ new Map(); @@ -8439,16 +8442,16 @@ var require_agent = __commonJS({ return ret; } [kDispatch](opts, handler2) { - let key; + let key2; if (opts.origin && (typeof opts.origin === "string" || opts.origin instanceof URL)) { - key = String(opts.origin); + key2 = String(opts.origin); } else { throw new InvalidArgumentError("opts.origin must be a non-empty string or URL."); } - let dispatcher = this[kClients].get(key); + let dispatcher = this[kClients].get(key2); if (!dispatcher) { dispatcher = this[kFactory](opts.origin, this[kOptions]).on("drain", this[kOnDrain]).on("connect", this[kOnConnect]).on("disconnect", this[kOnDisconnect]).on("connectionError", this[kOnConnectionError]); - this[kClients].set(key, dispatcher); + this[kClients].set(key2, dispatcher); } return dispatcher.dispatch(opts, handler2); } @@ -8498,7 +8501,7 @@ var require_proxy_agent = __commonJS({ function defaultFactory(origin, opts) { return new Pool(origin, opts); } - var noop4 = () => { + var noop6 = () => { }; function defaultAgentFactory(origin, opts) { if (opts.connections === 1) { @@ -8533,10 +8536,10 @@ var require_proxy_agent = __commonJS({ }; const { origin, - path: path7 = "/", + path: path19 = "/", headers = {} } = opts; - opts.path = origin + path7; + opts.path = origin + path19; if (!("host" in headers) && !("Host" in headers)) { const { host } = new URL2(origin); headers.host = host; @@ -8562,8 +8565,8 @@ var require_proxy_agent = __commonJS({ throw new InvalidArgumentError("Proxy opts.clientFactory must be a function."); } const { proxyTunnel = true } = opts; - const url = this.#getUrl(opts); - const { href, origin, port, protocol, username, password, hostname: proxyHostname } = url; + const url3 = this.#getUrl(opts); + const { href, origin, port, protocol, username, password, hostname: proxyHostname } = url3; this[kProxy] = { uri: href, protocol }; this[kInterceptors] = opts.interceptors?.ProxyAgent && Array.isArray(opts.interceptors.ProxyAgent) ? opts.interceptors.ProxyAgent : []; this[kRequestTls] = opts.requestTls; @@ -8582,7 +8585,7 @@ var require_proxy_agent = __commonJS({ const connect = buildConnector({ ...opts.proxyTls }); this[kConnectEndpoint] = buildConnector({ ...opts.requestTls }); const agentFactory = opts.factory || defaultAgentFactory; - const factory = (origin2, options) => { + const factory = (origin2, options8) => { const { protocol: protocol2 } = new URL2(origin2); if (!this[kTunnelProxy] && protocol2 === "http:" && this[kProxy].protocol === "http:") { return new Http1ProxyWrapper(this[kProxy].uri, { @@ -8591,9 +8594,9 @@ var require_proxy_agent = __commonJS({ factory: agentFactory }); } - return agentFactory(origin2, options); + return agentFactory(origin2, options8); }; - this[kClient] = clientFactory(url, { connect }); + this[kClient] = clientFactory(url3, { connect }); this[kAgent] = new Agent({ ...opts, factory, @@ -8615,7 +8618,7 @@ var require_proxy_agent = __commonJS({ servername: this[kProxyTls]?.servername || proxyHostname }); if (statusCode !== 200) { - socket.on("error", noop4).destroy(); + socket.on("error", noop6).destroy(); callback(new RequestAbortedError(`Proxy response (${statusCode}) !== 200 when HTTP Tunneling`)); } if (opts2.protocol !== "https:") { @@ -8679,15 +8682,15 @@ var require_proxy_agent = __commonJS({ function buildHeaders(headers) { if (Array.isArray(headers)) { const headersPair = {}; - for (let i2 = 0; i2 < headers.length; i2 += 2) { - headersPair[headers[i2]] = headers[i2 + 1]; + for (let i5 = 0; i5 < headers.length; i5 += 2) { + headersPair[headers[i5]] = headers[i5 + 1]; } return headersPair; } return headers; } function throwIfProxyAuthIsSent(headers) { - const existProxyAuth = headers && Object.keys(headers).find((key) => key.toLowerCase() === "proxy-authorization"); + const existProxyAuth = headers && Object.keys(headers).find((key2) => key2.toLowerCase() === "proxy-authorization"); if (existProxyAuth) { throw new InvalidArgumentError("Proxy-Authorization should be sent in ProxyAgent constructor"); } @@ -8739,8 +8742,8 @@ var require_env_http_proxy_agent = __commonJS({ this.#parseNoProxy(); } [kDispatch](opts, handler2) { - const url = new URL(opts.origin); - const agent = this.#getProxyAgentForUrl(url); + const url3 = new URL(opts.origin); + const agent = this.#getProxyAgentForUrl(url3); return agent.dispatch(opts, handler2); } async [kClose]() { @@ -8761,8 +8764,8 @@ var require_env_http_proxy_agent = __commonJS({ await this[kHttpsProxyAgent].destroy(err); } } - #getProxyAgentForUrl(url) { - let { protocol, host: hostname, port } = url; + #getProxyAgentForUrl(url3) { + let { protocol, host: hostname, port } = url3; hostname = hostname.replace(/:\d*$/, "").toLowerCase(); port = Number.parseInt(port, 10) || DEFAULT_PORTS[protocol] || 0; if (!this.#shouldProxy(hostname, port)) { @@ -8783,8 +8786,8 @@ var require_env_http_proxy_agent = __commonJS({ if (this.#noProxyValue === "*") { return false; } - for (let i2 = 0; i2 < this.#noProxyEntries.length; i2++) { - const entry = this.#noProxyEntries[i2]; + for (let i5 = 0; i5 < this.#noProxyEntries.length; i5++) { + const entry = this.#noProxyEntries[i5]; if (entry.port && entry.port !== port) { continue; } @@ -8804,8 +8807,8 @@ var require_env_http_proxy_agent = __commonJS({ const noProxyValue = this.#opts.noProxy ?? this.#noProxyEnv; const noProxySplit = noProxyValue.split(/[,\s]/); const noProxyEntries = []; - for (let i2 = 0; i2 < noProxySplit.length; i2++) { - const entry = noProxySplit[i2]; + for (let i5 = 0; i5 < noProxySplit.length; i5++) { + const entry = noProxySplit[i5]; if (!entry) { continue; } @@ -8836,7 +8839,7 @@ var require_env_http_proxy_agent = __commonJS({ var require_retry_handler = __commonJS({ "node_modules/undici/lib/handler/retry-handler.js"(exports, module) { "use strict"; - var assert = __require("node:assert"); + var assert4 = __require("node:assert"); var { kRetryHandlerDefaultRetry } = require_symbols(); var { RequestRetryError } = require_errors(); var { @@ -8931,7 +8934,7 @@ var require_retry_handler = __commonJS({ onBodySent(chunk) { if (this.handler.onBodySent) return this.handler.onBodySent(chunk); } - static [kRetryHandlerDefaultRetry](err, { state, opts }, cb) { + static [kRetryHandlerDefaultRetry](err, { state, opts }, cb2) { const { statusCode, code, headers } = err; const { method, retryOptions } = opts; const { @@ -8945,19 +8948,19 @@ var require_retry_handler = __commonJS({ } = retryOptions; const { counter } = state; if (code && code !== "UND_ERR_REQ_RETRY" && !errorCodes.includes(code)) { - cb(err); + cb2(err); return; } if (Array.isArray(methods3) && !methods3.includes(method)) { - cb(err); + cb2(err); return; } if (statusCode != null && Array.isArray(statusCodes) && !statusCodes.includes(statusCode)) { - cb(err); + cb2(err); return; } if (counter > maxRetries) { - cb(err); + cb2(err); return; } let retryAfterHeader = headers?.["retry-after"]; @@ -8966,7 +8969,7 @@ var require_retry_handler = __commonJS({ retryAfterHeader = Number.isNaN(retryAfterHeader) ? calculateRetryAfterHeader(retryAfterHeader) : retryAfterHeader * 1e3; } const retryTimeout = retryAfterHeader > 0 ? Math.min(retryAfterHeader, maxTimeout) : Math.min(minTimeout * timeoutFactor ** (counter - 1), maxTimeout); - setTimeout(() => cb(null), retryTimeout); + setTimeout(() => cb2(null), retryTimeout); } onHeaders(statusCode, rawHeaders, resume, statusMessage) { const headers = parseHeaders(rawHeaders); @@ -9022,8 +9025,8 @@ var require_retry_handler = __commonJS({ return false; } const { start, size: size3, end = size3 - 1 } = contentRange; - assert(this.start === start, "content-range mismatch"); - assert(this.end == null || this.end === end, "content-range mismatch"); + assert4(this.start === start, "content-range mismatch"); + assert4(this.end == null || this.end === end, "content-range mismatch"); this.resume = resume; return true; } @@ -9039,11 +9042,11 @@ var require_retry_handler = __commonJS({ ); } const { start, size: size3, end = size3 - 1 } = range; - assert( + assert4( start != null && Number.isFinite(start), "content-range mismatch" ); - assert(end != null && Number.isFinite(end), "invalid content-length"); + assert4(end != null && Number.isFinite(end), "invalid content-length"); this.start = start; this.end = end; } @@ -9051,8 +9054,8 @@ var require_retry_handler = __commonJS({ const contentLength = headers["content-length"]; this.end = contentLength != null ? Number(contentLength) - 1 : null; } - assert(Number.isFinite(this.start)); - assert( + assert4(Number.isFinite(this.start)); + assert4( this.end == null || Number.isFinite(this.end), "invalid content-length" ); @@ -9139,10 +9142,10 @@ var require_retry_agent = __commonJS({ var RetryAgent = class extends Dispatcher { #agent = null; #options = null; - constructor(agent, options = {}) { - super(options); + constructor(agent, options8 = {}) { + super(options8); this.#agent = agent; - this.#options = options; + this.#options = options8; } dispatch(opts, handler2) { const retry = new RetryHandler({ @@ -9169,10 +9172,10 @@ var require_retry_agent = __commonJS({ var require_readable = __commonJS({ "node_modules/undici/lib/api/readable.js"(exports, module) { "use strict"; - var assert = __require("node:assert"); + var assert4 = __require("node:assert"); var { Readable } = __require("node:stream"); var { RequestAbortedError, NotSupportedError, InvalidArgumentError, AbortError } = require_errors(); - var util = require_util(); + var util2 = require_util(); var { ReadableStreamFrom } = require_util(); var kConsume = /* @__PURE__ */ Symbol("kConsume"); var kReading = /* @__PURE__ */ Symbol("kReading"); @@ -9180,7 +9183,7 @@ var require_readable = __commonJS({ var kAbort = /* @__PURE__ */ Symbol("kAbort"); var kContentType = /* @__PURE__ */ Symbol("kContentType"); var kContentLength = /* @__PURE__ */ Symbol("kContentLength"); - var noop4 = () => { + var noop6 = () => { }; var BodyReadable = class extends Readable { constructor({ @@ -9222,24 +9225,24 @@ var require_readable = __commonJS({ callback(err); } } - on(ev, ...args) { - if (ev === "data" || ev === "readable") { + on(ev2, ...args) { + if (ev2 === "data" || ev2 === "readable") { this[kReading] = true; } - return super.on(ev, ...args); + return super.on(ev2, ...args); } - addListener(ev, ...args) { - return this.on(ev, ...args); + addListener(ev2, ...args) { + return this.on(ev2, ...args); } - off(ev, ...args) { - const ret = super.off(ev, ...args); - if (ev === "data" || ev === "readable") { + off(ev2, ...args) { + const ret = super.off(ev2, ...args); + if (ev2 === "data" || ev2 === "readable") { this[kReading] = this.listenerCount("data") > 0 || this.listenerCount("readable") > 0; } return ret; } - removeListener(ev, ...args) { - return this.off(ev, ...args); + removeListener(ev2, ...args) { + return this.off(ev2, ...args); } push(chunk) { if (this[kConsume] && chunk !== null) { @@ -9274,7 +9277,7 @@ var require_readable = __commonJS({ } // https://fetch.spec.whatwg.org/#dom-body-bodyused get bodyUsed() { - return util.isDisturbed(this); + return util2.isDisturbed(this); } // https://fetch.spec.whatwg.org/#dom-body-body get body() { @@ -9282,7 +9285,7 @@ var require_readable = __commonJS({ this[kBody] = ReadableStreamFrom(this); if (this[kConsume]) { this[kBody].getReader(); - assert(this[kBody].locked); + assert4(this[kBody].locked); } } return this[kBody]; @@ -9297,7 +9300,7 @@ var require_readable = __commonJS({ if (this._readableState.closeEmitted) { return null; } - return await new Promise((resolve3, reject) => { + return await new Promise((resolve4, reject) => { if (this[kContentLength] > limit) { this.destroy(new AbortError()); } @@ -9310,9 +9313,9 @@ var require_readable = __commonJS({ if (signal?.aborted) { reject(signal.reason ?? new AbortError()); } else { - resolve3(null); + resolve4(null); } - }).on("error", noop4).on("data", function(chunk) { + }).on("error", noop6).on("data", function(chunk) { limit -= chunk.length; if (limit <= 0) { this.destroy(); @@ -9325,11 +9328,11 @@ var require_readable = __commonJS({ return self2[kBody] && self2[kBody].locked === true || self2[kConsume]; } function isUnusable(self2) { - return util.isDisturbed(self2) || isLocked(self2); + return util2.isDisturbed(self2) || isLocked(self2); } async function consume(stream, type) { - assert(!stream[kConsume]); - return new Promise((resolve3, reject) => { + assert4(!stream[kConsume]); + return new Promise((resolve4, reject) => { if (isUnusable(stream)) { const rState = stream._readableState; if (rState.destroyed && rState.closeEmitted === false) { @@ -9346,7 +9349,7 @@ var require_readable = __commonJS({ stream[kConsume] = { type, stream, - resolve: resolve3, + resolve: resolve4, reject, length: 0, body: [] @@ -9371,8 +9374,8 @@ var require_readable = __commonJS({ if (state.bufferIndex) { const start = state.bufferIndex; const end = state.buffer.length; - for (let n2 = start; n2 < end; n2++) { - consumePush(consume2, state.buffer[n2]); + for (let n5 = start; n5 < end; n5++) { + consumePush(consume2, state.buffer[n5]); } } else { for (const chunk of state.buffer) { @@ -9394,10 +9397,10 @@ var require_readable = __commonJS({ if (chunks.length === 0 || length3 === 0) { return ""; } - const buffer = chunks.length === 1 ? chunks[0] : Buffer.concat(chunks, length3); - const bufferLength = buffer.length; - const start = bufferLength > 2 && buffer[0] === 239 && buffer[1] === 187 && buffer[2] === 191 ? 3 : 0; - return buffer.utf8Slice(start, bufferLength); + const buffer2 = chunks.length === 1 ? chunks[0] : Buffer.concat(chunks, length3); + const bufferLength = buffer2.length; + const start = bufferLength > 2 && buffer2[0] === 239 && buffer2[1] === 187 && buffer2[2] === 191 ? 3 : 0; + return buffer2.utf8Slice(start, bufferLength); } function chunksConcat(chunks, length3) { if (chunks.length === 0 || length3 === 0) { @@ -9406,28 +9409,28 @@ var require_readable = __commonJS({ if (chunks.length === 1) { return new Uint8Array(chunks[0]); } - const buffer = new Uint8Array(Buffer.allocUnsafeSlow(length3).buffer); + const buffer2 = new Uint8Array(Buffer.allocUnsafeSlow(length3).buffer); let offset = 0; - for (let i2 = 0; i2 < chunks.length; ++i2) { - const chunk = chunks[i2]; - buffer.set(chunk, offset); + for (let i5 = 0; i5 < chunks.length; ++i5) { + const chunk = chunks[i5]; + buffer2.set(chunk, offset); offset += chunk.length; } - return buffer; + return buffer2; } function consumeEnd(consume2) { - const { type, body, resolve: resolve3, stream, length: length3 } = consume2; + const { type, body, resolve: resolve4, stream, length: length3 } = consume2; try { if (type === "text") { - resolve3(chunksDecode(body, length3)); + resolve4(chunksDecode(body, length3)); } else if (type === "json") { - resolve3(JSON.parse(chunksDecode(body, length3))); + resolve4(JSON.parse(chunksDecode(body, length3))); } else if (type === "arrayBuffer") { - resolve3(chunksConcat(body, length3).buffer); + resolve4(chunksConcat(body, length3).buffer); } else if (type === "blob") { - resolve3(new Blob(body, { type: stream[kContentType] })); + resolve4(new Blob(body, { type: stream[kContentType] })); } else if (type === "bytes") { - resolve3(chunksConcat(body, length3)); + resolve4(chunksConcat(body, length3)); } consumeFinish(consume2); } catch (err) { @@ -9461,14 +9464,14 @@ var require_readable = __commonJS({ // node_modules/undici/lib/api/util.js var require_util3 = __commonJS({ "node_modules/undici/lib/api/util.js"(exports, module) { - var assert = __require("node:assert"); + var assert4 = __require("node:assert"); var { ResponseStatusCodeError } = require_errors(); var { chunksDecode } = require_readable(); var CHUNK_LIMIT = 128 * 1024; async function getResolveErrorBodyCallback({ callback, body, contentType, statusCode, statusMessage, headers }) { - assert(body); + assert4(body); let chunks = []; let length3 = 0; try { @@ -9523,10 +9526,10 @@ var require_util3 = __commonJS({ var require_api_request = __commonJS({ "node_modules/undici/lib/api/api-request.js"(exports, module) { "use strict"; - var assert = __require("node:assert"); + var assert4 = __require("node:assert"); var { Readable } = require_readable(); var { InvalidArgumentError, RequestAbortedError } = require_errors(); - var util = require_util(); + var util2 = require_util(); var { getResolveErrorBodyCallback } = require_util3(); var { AsyncResource } = __require("node:async_hooks"); var RequestHandler = class extends AsyncResource { @@ -9553,8 +9556,8 @@ var require_api_request = __commonJS({ } super("UNDICI_REQUEST"); } catch (err) { - if (util.isStream(body)) { - util.destroy(body.on("error", util.nop), err); + if (util2.isStream(body)) { + util2.destroy(body.on("error", util2.nop), err); } throw err; } @@ -9573,7 +9576,7 @@ var require_api_request = __commonJS({ this.signal = signal; this.reason = null; this.removeAbortListener = null; - if (util.isStream(body)) { + if (util2.isStream(body)) { body.on("error", (err) => { this.onError(err); }); @@ -9582,10 +9585,10 @@ var require_api_request = __commonJS({ if (this.signal.aborted) { this.reason = this.signal.reason ?? new RequestAbortedError(); } else { - this.removeAbortListener = util.addAbortListener(this.signal, () => { + this.removeAbortListener = util2.addAbortListener(this.signal, () => { this.reason = this.signal.reason ?? new RequestAbortedError(); if (this.res) { - util.destroy(this.res.on("error", util.nop), this.reason); + util2.destroy(this.res.on("error", util2.nop), this.reason); } else if (this.abort) { this.abort(this.reason); } @@ -9603,20 +9606,20 @@ var require_api_request = __commonJS({ abort(this.reason); return; } - assert(this.callback); + assert4(this.callback); this.abort = abort; this.context = context3; } onHeaders(statusCode, rawHeaders, resume, statusMessage) { const { callback, opaque, abort, context: context3, responseHeaders, highWaterMark } = this; - const headers = responseHeaders === "raw" ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders); + const headers = responseHeaders === "raw" ? util2.parseRawHeaders(rawHeaders) : util2.parseHeaders(rawHeaders); if (statusCode < 200) { if (this.onInfo) { this.onInfo({ statusCode, headers }); } return; } - const parsedHeaders = responseHeaders === "raw" ? util.parseHeaders(rawHeaders) : headers; + const parsedHeaders = responseHeaders === "raw" ? util2.parseHeaders(rawHeaders) : headers; const contentType = parsedHeaders["content-type"]; const contentLength = parsedHeaders["content-length"]; const res = new Readable({ @@ -9654,7 +9657,7 @@ var require_api_request = __commonJS({ return this.res.push(chunk); } onComplete(trailers) { - util.parseHeaders(trailers, this.trailers); + util2.parseHeaders(trailers, this.trailers); this.res.push(null); } onError(err) { @@ -9668,12 +9671,12 @@ var require_api_request = __commonJS({ if (res) { this.res = null; queueMicrotask(() => { - util.destroy(res, err); + util2.destroy(res, err); }); } if (body) { this.body = null; - util.destroy(body, err); + util2.destroy(body, err); } if (this.removeAbortListener) { res?.off("close", this.removeAbortListener); @@ -9684,9 +9687,9 @@ var require_api_request = __commonJS({ }; function request2(opts, callback) { if (callback === void 0) { - return new Promise((resolve3, reject) => { + return new Promise((resolve4, reject) => { request2.call(this, opts, (err, data2) => { - return err ? reject(err) : resolve3(data2); + return err ? reject(err) : resolve4(data2); }); }); } @@ -9760,10 +9763,10 @@ var require_abort_signal = __commonJS({ var require_api_stream = __commonJS({ "node_modules/undici/lib/api/api-stream.js"(exports, module) { "use strict"; - var assert = __require("node:assert"); + var assert4 = __require("node:assert"); var { finished, PassThrough } = __require("node:stream"); var { InvalidArgumentError, InvalidReturnValueError } = require_errors(); - var util = require_util(); + var util2 = require_util(); var { getResolveErrorBodyCallback } = require_util3(); var { AsyncResource } = __require("node:async_hooks"); var { addSignal, removeSignal } = require_abort_signal(); @@ -9791,8 +9794,8 @@ var require_api_stream = __commonJS({ } super("UNDICI_STREAM"); } catch (err) { - if (util.isStream(body)) { - util.destroy(body.on("error", util.nop), err); + if (util2.isStream(body)) { + util2.destroy(body.on("error", util2.nop), err); } throw err; } @@ -9807,7 +9810,7 @@ var require_api_stream = __commonJS({ this.body = body; this.onInfo = onInfo || null; this.throwOnError = throwOnError || false; - if (util.isStream(body)) { + if (util2.isStream(body)) { body.on("error", (err) => { this.onError(err); }); @@ -9819,13 +9822,13 @@ var require_api_stream = __commonJS({ abort(this.reason); return; } - assert(this.callback); + assert4(this.callback); this.abort = abort; this.context = context3; } onHeaders(statusCode, rawHeaders, resume, statusMessage) { const { factory, opaque, context: context3, callback, responseHeaders } = this; - const headers = responseHeaders === "raw" ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders); + const headers = responseHeaders === "raw" ? util2.parseRawHeaders(rawHeaders) : util2.parseHeaders(rawHeaders); if (statusCode < 200) { if (this.onInfo) { this.onInfo({ statusCode, headers }); @@ -9835,7 +9838,7 @@ var require_api_stream = __commonJS({ this.factory = null; let res; if (this.throwOnError && statusCode >= 400) { - const parsedHeaders = responseHeaders === "raw" ? util.parseHeaders(rawHeaders) : headers; + const parsedHeaders = responseHeaders === "raw" ? util2.parseHeaders(rawHeaders) : headers; const contentType = parsedHeaders["content-type"]; res = new PassThrough(); this.callback = null; @@ -9861,7 +9864,7 @@ var require_api_stream = __commonJS({ const { callback: callback2, res: res2, opaque: opaque2, trailers, abort } = this; this.res = null; if (err || !res2.readable) { - util.destroy(res2, err); + util2.destroy(res2, err); } this.callback = null; this.runInAsyncScope(callback2, null, err || null, { opaque: opaque2, trailers }); @@ -9885,7 +9888,7 @@ var require_api_stream = __commonJS({ if (!res) { return; } - this.trailers = util.parseHeaders(trailers); + this.trailers = util2.parseHeaders(trailers); res.end(); } onError(err) { @@ -9894,7 +9897,7 @@ var require_api_stream = __commonJS({ this.factory = null; if (res) { this.res = null; - util.destroy(res, err); + util2.destroy(res, err); } else if (callback) { this.callback = null; queueMicrotask(() => { @@ -9903,15 +9906,15 @@ var require_api_stream = __commonJS({ } if (body) { this.body = null; - util.destroy(body, err); + util2.destroy(body, err); } } }; function stream(opts, factory, callback) { if (callback === void 0) { - return new Promise((resolve3, reject) => { + return new Promise((resolve4, reject) => { stream.call(this, opts, factory, (err, data2) => { - return err ? reject(err) : resolve3(data2); + return err ? reject(err) : resolve4(data2); }); }); } @@ -9943,10 +9946,10 @@ var require_api_pipeline = __commonJS({ InvalidReturnValueError, RequestAbortedError } = require_errors(); - var util = require_util(); + var util2 = require_util(); var { AsyncResource } = __require("node:async_hooks"); var { addSignal, removeSignal } = require_abort_signal(); - var assert = __require("node:assert"); + var assert4 = __require("node:assert"); var kResume = /* @__PURE__ */ Symbol("resume"); var PipelineRequest = class extends Readable { constructor() { @@ -10005,7 +10008,7 @@ var require_api_pipeline = __commonJS({ this.abort = null; this.context = null; this.onInfo = onInfo || null; - this.req = new PipelineRequest().on("error", util.nop); + this.req = new PipelineRequest().on("error", util2.nop); this.ret = new Duplex({ readableObjectMode: opts.objectMode, autoDestroy: true, @@ -10031,9 +10034,9 @@ var require_api_pipeline = __commonJS({ if (abort && err) { abort(); } - util.destroy(body, err); - util.destroy(req, err); - util.destroy(res, err); + util2.destroy(body, err); + util2.destroy(req, err); + util2.destroy(res, err); removeSignal(this); callback(err); } @@ -10050,8 +10053,8 @@ var require_api_pipeline = __commonJS({ abort(this.reason); return; } - assert(!res, "pipeline cannot be retried"); - assert(!ret.destroyed); + assert4(!res, "pipeline cannot be retried"); + assert4(!ret.destroyed); this.abort = abort; this.context = context3; } @@ -10059,7 +10062,7 @@ var require_api_pipeline = __commonJS({ const { opaque, handler: handler2, context: context3 } = this; if (statusCode < 200) { if (this.onInfo) { - const headers = this.responseHeaders === "raw" ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders); + const headers = this.responseHeaders === "raw" ? util2.parseRawHeaders(rawHeaders) : util2.parseHeaders(rawHeaders); this.onInfo({ statusCode, headers }); } return; @@ -10068,7 +10071,7 @@ var require_api_pipeline = __commonJS({ let body; try { this.handler = null; - const headers = this.responseHeaders === "raw" ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders); + const headers = this.responseHeaders === "raw" ? util2.parseRawHeaders(rawHeaders) : util2.parseHeaders(rawHeaders); body = this.runInAsyncScope(handler2, null, { statusCode, headers, @@ -10077,7 +10080,7 @@ var require_api_pipeline = __commonJS({ context: context3 }); } catch (err) { - this.res.on("error", util.nop); + this.res.on("error", util2.nop); throw err; } if (!body || typeof body.on !== "function") { @@ -10090,14 +10093,14 @@ var require_api_pipeline = __commonJS({ } }).on("error", (err) => { const { ret } = this; - util.destroy(ret, err); + util2.destroy(ret, err); }).on("end", () => { const { ret } = this; ret.push(null); }).on("close", () => { const { ret } = this; if (!ret._readableState.ended) { - util.destroy(ret, new RequestAbortedError()); + util2.destroy(ret, new RequestAbortedError()); } }); this.body = body; @@ -10113,7 +10116,7 @@ var require_api_pipeline = __commonJS({ onError(err) { const { ret } = this; this.handler = null; - util.destroy(ret, err); + util2.destroy(ret, err); } }; function pipeline(opts, handler2) { @@ -10135,9 +10138,9 @@ var require_api_upgrade = __commonJS({ "use strict"; var { InvalidArgumentError, SocketError } = require_errors(); var { AsyncResource } = __require("node:async_hooks"); - var util = require_util(); + var util2 = require_util(); var { addSignal, removeSignal } = require_abort_signal(); - var assert = __require("node:assert"); + var assert4 = __require("node:assert"); var UpgradeHandler = class extends AsyncResource { constructor(opts, callback) { if (!opts || typeof opts !== "object") { @@ -10163,7 +10166,7 @@ var require_api_upgrade = __commonJS({ abort(this.reason); return; } - assert(this.callback); + assert4(this.callback); this.abort = abort; this.context = null; } @@ -10171,11 +10174,11 @@ var require_api_upgrade = __commonJS({ throw new SocketError("bad upgrade", null); } onUpgrade(statusCode, rawHeaders, socket) { - assert(statusCode === 101); + assert4(statusCode === 101); const { callback, opaque, context: context3 } = this; removeSignal(this); this.callback = null; - const headers = this.responseHeaders === "raw" ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders); + const headers = this.responseHeaders === "raw" ? util2.parseRawHeaders(rawHeaders) : util2.parseHeaders(rawHeaders); this.runInAsyncScope(callback, null, null, { headers, socket, @@ -10196,9 +10199,9 @@ var require_api_upgrade = __commonJS({ }; function upgrade(opts, callback) { if (callback === void 0) { - return new Promise((resolve3, reject) => { + return new Promise((resolve4, reject) => { upgrade.call(this, opts, (err, data2) => { - return err ? reject(err) : resolve3(data2); + return err ? reject(err) : resolve4(data2); }); }); } @@ -10225,10 +10228,10 @@ var require_api_upgrade = __commonJS({ var require_api_connect = __commonJS({ "node_modules/undici/lib/api/api-connect.js"(exports, module) { "use strict"; - var assert = __require("node:assert"); + var assert4 = __require("node:assert"); var { AsyncResource } = __require("node:async_hooks"); var { InvalidArgumentError, SocketError } = require_errors(); - var util = require_util(); + var util2 = require_util(); var { addSignal, removeSignal } = require_abort_signal(); var ConnectHandler = class extends AsyncResource { constructor(opts, callback) { @@ -10254,7 +10257,7 @@ var require_api_connect = __commonJS({ abort(this.reason); return; } - assert(this.callback); + assert4(this.callback); this.abort = abort; this.context = context3; } @@ -10267,7 +10270,7 @@ var require_api_connect = __commonJS({ this.callback = null; let headers = rawHeaders; if (headers != null) { - headers = this.responseHeaders === "raw" ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders); + headers = this.responseHeaders === "raw" ? util2.parseRawHeaders(rawHeaders) : util2.parseHeaders(rawHeaders); } this.runInAsyncScope(callback, null, null, { statusCode, @@ -10290,9 +10293,9 @@ var require_api_connect = __commonJS({ }; function connect(opts, callback) { if (callback === void 0) { - return new Promise((resolve3, reject) => { + return new Promise((resolve4, reject) => { connect.call(this, opts, (err, data2) => { - return err ? reject(err) : resolve3(data2); + return err ? reject(err) : resolve4(data2); }); }); } @@ -10414,18 +10417,18 @@ var require_mock_utils = __commonJS({ }) ); } - function getHeaderByName(headers, key) { + function getHeaderByName(headers, key2) { if (Array.isArray(headers)) { - for (let i2 = 0; i2 < headers.length; i2 += 2) { - if (headers[i2].toLocaleLowerCase() === key.toLocaleLowerCase()) { - return headers[i2 + 1]; + for (let i5 = 0; i5 < headers.length; i5 += 2) { + if (headers[i5].toLocaleLowerCase() === key2.toLocaleLowerCase()) { + return headers[i5 + 1]; } } return void 0; } else if (typeof headers.get === "function") { - return headers.get(key); + return headers.get(key2); } else { - return lowerCaseEntries(headers)[key.toLocaleLowerCase()]; + return lowerCaseEntries(headers)[key2.toLocaleLowerCase()]; } } function buildHeadersFromArray(headers) { @@ -10457,20 +10460,20 @@ var require_mock_utils = __commonJS({ } return true; } - function safeUrl(path7) { - if (typeof path7 !== "string") { - return path7; + function safeUrl(path19) { + if (typeof path19 !== "string") { + return path19; } - const pathSegments = path7.split("?"); + const pathSegments = path19.split("?"); if (pathSegments.length !== 2) { - return path7; + return path19; } - const qp = new URLSearchParams(pathSegments.pop()); - qp.sort(); - return [...pathSegments, qp.toString()].join("?"); + const qp3 = new URLSearchParams(pathSegments.pop()); + qp3.sort(); + return [...pathSegments, qp3.toString()].join("?"); } - function matchKey(mockDispatch2, { path: path7, method, body, headers }) { - const pathMatch = matchValue(mockDispatch2.path, path7); + function matchKey(mockDispatch2, { path: path19, method, body, headers }) { + const pathMatch = matchValue(mockDispatch2.path, path19); const methodMatch = matchValue(mockDispatch2.method, method); const bodyMatch = typeof mockDispatch2.body !== "undefined" ? matchValue(mockDispatch2.body, body) : true; const headersMatch = matchHeaders(mockDispatch2, headers); @@ -10489,50 +10492,50 @@ var require_mock_utils = __commonJS({ return data2.toString(); } } - function getMockDispatch(mockDispatches, key) { - const basePath = key.query ? buildURL(key.path, key.query) : key.path; + function getMockDispatch(mockDispatches, key2) { + const basePath = key2.query ? buildURL(key2.path, key2.query) : key2.path; const resolvedPath = typeof basePath === "string" ? safeUrl(basePath) : basePath; - let matchedMockDispatches = mockDispatches.filter(({ consumed }) => !consumed).filter(({ path: path7 }) => matchValue(safeUrl(path7), resolvedPath)); + let matchedMockDispatches = mockDispatches.filter(({ consumed }) => !consumed).filter(({ path: path19 }) => matchValue(safeUrl(path19), resolvedPath)); if (matchedMockDispatches.length === 0) { throw new MockNotMatchedError(`Mock dispatch not matched for path '${resolvedPath}'`); } - matchedMockDispatches = matchedMockDispatches.filter(({ method }) => matchValue(method, key.method)); + matchedMockDispatches = matchedMockDispatches.filter(({ method }) => matchValue(method, key2.method)); if (matchedMockDispatches.length === 0) { - throw new MockNotMatchedError(`Mock dispatch not matched for method '${key.method}' on path '${resolvedPath}'`); + throw new MockNotMatchedError(`Mock dispatch not matched for method '${key2.method}' on path '${resolvedPath}'`); } - matchedMockDispatches = matchedMockDispatches.filter(({ body }) => typeof body !== "undefined" ? matchValue(body, key.body) : true); + matchedMockDispatches = matchedMockDispatches.filter(({ body }) => typeof body !== "undefined" ? matchValue(body, key2.body) : true); if (matchedMockDispatches.length === 0) { - throw new MockNotMatchedError(`Mock dispatch not matched for body '${key.body}' on path '${resolvedPath}'`); + throw new MockNotMatchedError(`Mock dispatch not matched for body '${key2.body}' on path '${resolvedPath}'`); } - matchedMockDispatches = matchedMockDispatches.filter((mockDispatch2) => matchHeaders(mockDispatch2, key.headers)); + matchedMockDispatches = matchedMockDispatches.filter((mockDispatch2) => matchHeaders(mockDispatch2, key2.headers)); if (matchedMockDispatches.length === 0) { - const headers = typeof key.headers === "object" ? JSON.stringify(key.headers) : key.headers; + const headers = typeof key2.headers === "object" ? JSON.stringify(key2.headers) : key2.headers; throw new MockNotMatchedError(`Mock dispatch not matched for headers '${headers}' on path '${resolvedPath}'`); } return matchedMockDispatches[0]; } - function addMockDispatch(mockDispatches, key, data2) { + function addMockDispatch(mockDispatches, key2, data2) { const baseData = { timesInvoked: 0, times: 1, persist: false, consumed: false }; const replyData = typeof data2 === "function" ? { callback: data2 } : { ...data2 }; - const newMockDispatch = { ...baseData, ...key, pending: true, data: { error: null, ...replyData } }; + const newMockDispatch = { ...baseData, ...key2, pending: true, data: { error: null, ...replyData } }; mockDispatches.push(newMockDispatch); return newMockDispatch; } - function deleteMockDispatch(mockDispatches, key) { + function deleteMockDispatch(mockDispatches, key2) { const index = mockDispatches.findIndex((dispatch2) => { if (!dispatch2.consumed) { return false; } - return matchKey(dispatch2, key); + return matchKey(dispatch2, key2); }); if (index !== -1) { mockDispatches.splice(index, 1); } } function buildKey(opts) { - const { path: path7, method, body, headers, query } = opts; + const { path: path19, method, body, headers, query } = opts; return { - path: path7, + path: path19, method, body, headers, @@ -10542,13 +10545,13 @@ var require_mock_utils = __commonJS({ function generateKeyValues(data2) { const keys = Object.keys(data2); const result = []; - for (let i2 = 0; i2 < keys.length; ++i2) { - const key = keys[i2]; - const value = data2[key]; - const name = Buffer.from(`${key}`); + for (let i5 = 0; i5 < keys.length; ++i5) { + const key2 = keys[i5]; + const value = data2[key2]; + const name = Buffer.from(`${key2}`); if (Array.isArray(value)) { - for (let j = 0; j < value.length; ++j) { - result.push(name, Buffer.from(`${value[j]}`)); + for (let j9 = 0; j9 < value.length; ++j9) { + result.push(name, Buffer.from(`${value[j9]}`)); } } else { result.push(name, Buffer.from(`${value}`)); @@ -10567,8 +10570,8 @@ var require_mock_utils = __commonJS({ return Buffer.concat(buffers).toString("utf8"); } function mockDispatch(opts, handler2) { - const key = buildKey(opts); - const mockDispatch2 = getMockDispatch(this[kDispatches], key); + const key2 = buildKey(opts); + const mockDispatch2 = getMockDispatch(this[kDispatches], key2); mockDispatch2.timesInvoked++; if (mockDispatch2.data.callback) { mockDispatch2.data = { ...mockDispatch2.data, ...mockDispatch2.data.callback(opts) }; @@ -10578,7 +10581,7 @@ var require_mock_utils = __commonJS({ mockDispatch2.consumed = !persist && timesInvoked >= times; mockDispatch2.pending = timesInvoked < times; if (error2 !== null) { - deleteMockDispatch(this[kDispatches], key); + deleteMockDispatch(this[kDispatches], key2); handler2.onError(error2); return true; } @@ -10603,7 +10606,7 @@ var require_mock_utils = __commonJS({ handler2.onHeaders?.(statusCode, responseHeaders, resume, getStatusText(statusCode)); handler2.onData?.(Buffer.from(responseData)); handler2.onComplete?.(responseTrailers); - deleteMockDispatch(mockDispatches, key); + deleteMockDispatch(mockDispatches, key2); } function resume() { } @@ -10638,10 +10641,10 @@ var require_mock_utils = __commonJS({ }; } function checkNetConnect(netConnect, origin) { - const url = new URL(origin); + const url3 = new URL(origin); if (netConnect === true) { return true; - } else if (Array.isArray(netConnect) && netConnect.some((matcher) => matchValue(matcher, url.host))) { + } else if (Array.isArray(netConnect) && netConnect.some((matcher) => matchValue(matcher, url3.host))) { return true; } return false; @@ -10982,8 +10985,8 @@ var require_pending_interceptors_formatter = __commonJS({ module.exports = class PendingInterceptorsFormatter { constructor({ disableColors } = {}) { this.transform = new Transform({ - transform(chunk, _enc, cb) { - cb(null, chunk); + transform(chunk, _enc, cb2) { + cb2(null, chunk); } }); this.logger = new Console({ @@ -10995,10 +10998,10 @@ var require_pending_interceptors_formatter = __commonJS({ } format(pendingInterceptors) { const withPrettyHeaders = pendingInterceptors.map( - ({ method, path: path7, data: { statusCode }, persist, times, timesInvoked, origin }) => ({ + ({ method, path: path19, data: { statusCode }, persist, times, timesInvoked, origin }) => ({ Method: method, Origin: origin, - Path: path7, + Path: path19, "Status code": statusCode, Persistent: persist ? PERSISTENT : NOT_PERSISTENT, Invocations: timesInvoked, @@ -11267,7 +11270,7 @@ var require_retry = __commonJS({ var require_dump = __commonJS({ "node_modules/undici/lib/interceptor/dump.js"(exports, module) { "use strict"; - var util = require_util(); + var util2 = require_util(); var { InvalidArgumentError, RequestAbortedError } = require_errors(); var DecoratorHandler = require_decorator_handler(); var DumpHandler = class extends DecoratorHandler { @@ -11296,7 +11299,7 @@ var require_dump = __commonJS({ } // TODO: will require adjustment after new hooks are out onHeaders(statusCode, rawHeaders, resume, statusMessage) { - const headers = util.parseHeaders(rawHeaders); + const headers = util2.parseHeaders(rawHeaders); const contentLength = headers["content-length"]; if (contentLength != null && contentLength > this.#maxSize) { throw new RequestAbortedError( @@ -11389,10 +11392,10 @@ var require_dns = __commonJS({ get full() { return this.#records.size === this.#maxItems; } - runLookup(origin, opts, cb) { + runLookup(origin, opts, cb2) { const ips = this.#records.get(origin.hostname); if (ips == null && this.full) { - cb(null, origin.origin); + cb2(null, origin.origin); return; } const newOpts = { @@ -11407,55 +11410,55 @@ var require_dns = __commonJS({ if (ips == null) { this.lookup(origin, newOpts, (err, addresses) => { if (err || addresses == null || addresses.length === 0) { - cb(err ?? new InformationalError("No DNS entries found")); + cb2(err ?? new InformationalError("No DNS entries found")); return; } this.setRecords(origin, addresses); const records = this.#records.get(origin.hostname); - const ip = this.pick( + const ip2 = this.pick( origin, records, newOpts.affinity ); let port; - if (typeof ip.port === "number") { - port = `:${ip.port}`; + if (typeof ip2.port === "number") { + port = `:${ip2.port}`; } else if (origin.port !== "") { port = `:${origin.port}`; } else { port = ""; } - cb( + cb2( null, - `${origin.protocol}//${ip.family === 6 ? `[${ip.address}]` : ip.address}${port}` + `${origin.protocol}//${ip2.family === 6 ? `[${ip2.address}]` : ip2.address}${port}` ); }); } else { - const ip = this.pick( + const ip2 = this.pick( origin, ips, newOpts.affinity ); - if (ip == null) { + if (ip2 == null) { this.#records.delete(origin.hostname); - this.runLookup(origin, opts, cb); + this.runLookup(origin, opts, cb2); return; } let port; - if (typeof ip.port === "number") { - port = `:${ip.port}`; + if (typeof ip2.port === "number") { + port = `:${ip2.port}`; } else if (origin.port !== "") { port = `:${origin.port}`; } else { port = ""; } - cb( + cb2( null, - `${origin.protocol}//${ip.family === 6 ? `[${ip.address}]` : ip.address}${port}` + `${origin.protocol}//${ip2.family === 6 ? `[${ip2.address}]` : ip2.address}${port}` ); } } - #defaultLookup(origin, opts, cb) { + #defaultLookup(origin, opts, cb2) { lookup( origin.hostname, { @@ -11465,18 +11468,18 @@ var require_dns = __commonJS({ }, (err, addresses) => { if (err) { - return cb(err); + return cb2(err); } const results = /* @__PURE__ */ new Map(); for (const addr of addresses) { results.set(`${addr.address}:${addr.family}`, addr); } - cb(null, results.values()); + cb2(null, results.values()); } ); } #defaultPick(origin, hostnameRecords, affinity) { - let ip = null; + let ip2 = null; const { records, offset } = hostnameRecords; let family; if (this.dualStack) { @@ -11498,7 +11501,7 @@ var require_dns = __commonJS({ family = records[affinity]; } if (family == null || family.ips.length === 0) { - return ip; + return ip2; } if (family.offset == null || family.offset === maxInt) { family.offset = 0; @@ -11506,15 +11509,15 @@ var require_dns = __commonJS({ family.offset++; } const position2 = family.offset % family.ips.length; - ip = family.ips[position2] ?? null; - if (ip == null) { - return ip; + ip2 = family.ips[position2] ?? null; + if (ip2 == null) { + return ip2; } - if (Date.now() - ip.timestamp > ip.ttl) { + if (Date.now() - ip2.timestamp > ip2.ttl) { family.ips.splice(position2, 1); return this.pick(origin, hostnameRecords, affinity); } - return ip; + return ip2; } setRecords(origin, addresses) { const timestamp = Date.now(); @@ -11662,24 +11665,24 @@ var require_headers = __commonJS({ isValidHeaderValue } = require_util2(); var { webidl } = require_webidl(); - var assert = __require("node:assert"); - var util = __require("node:util"); + var assert4 = __require("node:assert"); + var util2 = __require("node:util"); var kHeadersMap = /* @__PURE__ */ Symbol("headers map"); var kHeadersSortedMap = /* @__PURE__ */ Symbol("headers map sorted"); function isHTTPWhiteSpaceCharCode(code) { return code === 10 || code === 13 || code === 9 || code === 32; } function headerValueNormalize(potentialValue) { - let i2 = 0; - let j = potentialValue.length; - while (j > i2 && isHTTPWhiteSpaceCharCode(potentialValue.charCodeAt(j - 1))) --j; - while (j > i2 && isHTTPWhiteSpaceCharCode(potentialValue.charCodeAt(i2))) ++i2; - return i2 === 0 && j === potentialValue.length ? potentialValue : potentialValue.substring(i2, j); + let i5 = 0; + let j9 = potentialValue.length; + while (j9 > i5 && isHTTPWhiteSpaceCharCode(potentialValue.charCodeAt(j9 - 1))) --j9; + while (j9 > i5 && isHTTPWhiteSpaceCharCode(potentialValue.charCodeAt(i5))) ++i5; + return i5 === 0 && j9 === potentialValue.length ? potentialValue : potentialValue.substring(i5, j9); } - function fill(headers, object) { + function fill2(headers, object) { if (Array.isArray(object)) { - for (let i2 = 0; i2 < object.length; ++i2) { - const header = object[i2]; + for (let i5 = 0; i5 < object.length; ++i5) { + const header = object[i5]; if (header.length !== 2) { throw webidl.errors.exception({ header: "Headers constructor", @@ -11690,8 +11693,8 @@ var require_headers = __commonJS({ } } else if (typeof object === "object" && object !== null) { const keys = Object.keys(object); - for (let i2 = 0; i2 < keys.length; ++i2) { - appendHeader(headers, keys[i2], object[keys[i2]]); + for (let i5 = 0; i5 < keys.length; ++i5) { + appendHeader(headers, keys[i5], object[keys[i5]]); } } else { throw webidl.errors.conversionFailed({ @@ -11721,8 +11724,8 @@ var require_headers = __commonJS({ } return getHeadersList(headers).append(name, value, false); } - function compareHeaderName(a, b) { - return a[0] < b[0] ? -1 : 1; + function compareHeaderName(a5, b7) { + return a5[0] < b7[0] ? -1 : 1; } var HeadersList = class _HeadersList { /** @type {[string, string][]|null} */ @@ -11844,48 +11847,48 @@ var require_headers = __commonJS({ // https://fetch.spec.whatwg.org/#convert-header-names-to-a-sorted-lowercase-set toSortedArray() { const size3 = this[kHeadersMap].size; - const array2 = new Array(size3); + const array3 = new Array(size3); if (size3 <= 32) { if (size3 === 0) { - return array2; + return array3; } const iterator2 = this[kHeadersMap][Symbol.iterator](); const firstValue = iterator2.next().value; - array2[0] = [firstValue[0], firstValue[1].value]; - assert(firstValue[1].value !== null); - for (let i2 = 1, j = 0, right = 0, left = 0, pivot = 0, x5, value; i2 < size3; ++i2) { + array3[0] = [firstValue[0], firstValue[1].value]; + assert4(firstValue[1].value !== null); + for (let i5 = 1, j9 = 0, right = 0, left = 0, pivot = 0, x12, value; i5 < size3; ++i5) { value = iterator2.next().value; - x5 = array2[i2] = [value[0], value[1].value]; - assert(x5[1] !== null); + x12 = array3[i5] = [value[0], value[1].value]; + assert4(x12[1] !== null); left = 0; - right = i2; + right = i5; while (left < right) { pivot = left + (right - left >> 1); - if (array2[pivot][0] <= x5[0]) { + if (array3[pivot][0] <= x12[0]) { left = pivot + 1; } else { right = pivot; } } - if (i2 !== pivot) { - j = i2; - while (j > left) { - array2[j] = array2[--j]; + if (i5 !== pivot) { + j9 = i5; + while (j9 > left) { + array3[j9] = array3[--j9]; } - array2[left] = x5; + array3[left] = x12; } } if (!iterator2.next().done) { throw new TypeError("Unreachable"); } - return array2; + return array3; } else { - let i2 = 0; + let i5 = 0; for (const { 0: name, 1: { value } } of this[kHeadersMap]) { - array2[i2++] = [name, value]; - assert(value !== null); + array3[i5++] = [name, value]; + assert4(value !== null); } - return array2.sort(compareHeaderName); + return array3.sort(compareHeaderName); } } }; @@ -11901,7 +11904,7 @@ var require_headers = __commonJS({ this.#guard = "none"; if (init !== void 0) { init = webidl.converters.HeadersInit(init, "Headers contructor", "init"); - fill(this, init); + fill2(this, init); } } // https://fetch.spec.whatwg.org/#dom-headers-append @@ -12010,11 +12013,11 @@ var require_headers = __commonJS({ if (cookies === null || cookies.length === 1) { return this.#headersList[kHeadersSortedMap] = names2; } - for (let i2 = 0; i2 < names2.length; ++i2) { - const { 0: name, 1: value } = names2[i2]; + for (let i5 = 0; i5 < names2.length; ++i5) { + const { 0: name, 1: value } = names2[i5]; if (name === "set-cookie") { - for (let j = 0; j < cookies.length; ++j) { - headers.push([name, cookies[j]]); + for (let j9 = 0; j9 < cookies.length; ++j9) { + headers.push([name, cookies[j9]]); } } else { headers.push([name, value]); @@ -12022,21 +12025,21 @@ var require_headers = __commonJS({ } return this.#headersList[kHeadersSortedMap] = headers; } - [util.inspect.custom](depth, options) { - options.depth ??= depth; - return `Headers ${util.formatWithOptions(options, this.#headersList.entries)}`; + [util2.inspect.custom](depth, options8) { + options8.depth ??= depth; + return `Headers ${util2.formatWithOptions(options8, this.#headersList.entries)}`; } - static getHeadersGuard(o) { - return o.#guard; + static getHeadersGuard(o5) { + return o5.#guard; } - static setHeadersGuard(o, guard) { - o.#guard = guard; + static setHeadersGuard(o5, guard) { + o5.#guard = guard; } - static getHeadersList(o) { - return o.#headersList; + static getHeadersList(o5) { + return o5.#headersList; } - static setHeadersList(o, list) { - o.#headersList = list; + static setHeadersList(o5, list) { + o5.#headersList = list; } }; var { getHeadersGuard, setHeadersGuard, getHeadersList, setHeadersList } = Headers2; @@ -12056,23 +12059,23 @@ var require_headers = __commonJS({ value: "Headers", configurable: true }, - [util.inspect.custom]: { + [util2.inspect.custom]: { enumerable: false } }); - webidl.converters.HeadersInit = function(V, prefix, argument) { - if (webidl.util.Type(V) === "Object") { - const iterator2 = Reflect.get(V, Symbol.iterator); - if (!util.types.isProxy(V) && iterator2 === Headers2.prototype.entries) { + webidl.converters.HeadersInit = function(V11, prefix, argument) { + if (webidl.util.Type(V11) === "Object") { + const iterator2 = Reflect.get(V11, Symbol.iterator); + if (!util2.types.isProxy(V11) && iterator2 === Headers2.prototype.entries) { try { - return getHeadersList(V).entriesList; + return getHeadersList(V11).entriesList; } catch { } } if (typeof iterator2 === "function") { - return webidl.converters["sequence>"](V, prefix, argument, iterator2.bind(V)); + return webidl.converters["sequence>"](V11, prefix, argument, iterator2.bind(V11)); } - return webidl.converters["record"](V, prefix, argument); + return webidl.converters["record"](V11, prefix, argument); } throw webidl.errors.conversionFailed({ prefix: "Headers constructor", @@ -12081,7 +12084,7 @@ var require_headers = __commonJS({ }); }; module.exports = { - fill, + fill: fill2, // for test. compareHeaderName, Headers: Headers2, @@ -12098,11 +12101,11 @@ var require_headers = __commonJS({ var require_response = __commonJS({ "node_modules/undici/lib/web/fetch/response.js"(exports, module) { "use strict"; - var { Headers: Headers2, HeadersList, fill, getHeadersGuard, setHeadersGuard, setHeadersList } = require_headers(); + var { Headers: Headers2, HeadersList, fill: fill2, getHeadersGuard, setHeadersGuard, setHeadersList } = require_headers(); var { extractBody, cloneBody, mixinBody, hasFinalizationRegistry, streamRegistry, bodyUnusable } = require_body(); - var util = require_util(); + var util2 = require_util(); var nodeUtil = __require("node:util"); - var { kEnumerableProperty } = util; + var { kEnumerableProperty } = util2; var { isValidReasonPhrase, isCancelled, @@ -12122,7 +12125,7 @@ var require_response = __commonJS({ var { FormData } = require_formdata(); var { URLSerializer } = require_data_url(); var { kConstruct } = require_symbols(); - var assert = __require("node:assert"); + var assert4 = __require("node:assert"); var { types } = __require("node:util"); var textEncoder2 = new TextEncoder("utf-8"); var Response = class _Response { @@ -12146,15 +12149,15 @@ var require_response = __commonJS({ return responseObject; } // Creates a redirect Response that redirects to url with status status. - static redirect(url, status = 302) { + static redirect(url3, status = 302) { webidl.argumentLengthCheck(arguments, 1, "Response.redirect"); - url = webidl.converters.USVString(url); + url3 = webidl.converters.USVString(url3); status = webidl.converters["unsigned short"](status); let parsedURL; try { - parsedURL = new URL(url, relevantRealm.settingsObject.baseUrl); + parsedURL = new URL(url3, relevantRealm.settingsObject.baseUrl); } catch (err) { - throw new TypeError(`Failed to parse URL from ${url}`, { cause: err }); + throw new TypeError(`Failed to parse URL from ${url3}`, { cause: err }); } if (!redirectStatusSet.has(status)) { throw new RangeError(`Invalid status code ${status}`); @@ -12195,11 +12198,11 @@ var require_response = __commonJS({ get url() { webidl.brandCheck(this, _Response); const urlList = this[kState].urlList; - const url = urlList[urlList.length - 1] ?? null; - if (url === null) { + const url3 = urlList[urlList.length - 1] ?? null; + if (url3 === null) { return ""; } - return URLSerializer(url, true); + return URLSerializer(url3, true); } // Returns whether response was obtained through a redirect. get redirected() { @@ -12232,7 +12235,7 @@ var require_response = __commonJS({ } get bodyUsed() { webidl.brandCheck(this, _Response); - return !!this[kState].body && util.isDisturbed(this[kState].body.stream); + return !!this[kState].body && util2.isDisturbed(this[kState].body.stream); } // Returns a clone of response. clone() { @@ -12249,11 +12252,11 @@ var require_response = __commonJS({ } return fromInnerResponse(clonedResponse, getHeadersGuard(this[kHeaders])); } - [nodeUtil.inspect.custom](depth, options) { - if (options.depth === null) { - options.depth = 2; + [nodeUtil.inspect.custom](depth, options8) { + if (options8.depth === null) { + options8.depth = 2; } - options.colors ??= true; + options8.colors ??= true; const properties = { status: this.status, statusText: this.statusText, @@ -12265,7 +12268,7 @@ var require_response = __commonJS({ type: this.type, url: this.url }; - return `Response ${nodeUtil.formatWithOptions(options, properties)}`; + return `Response ${nodeUtil.formatWithOptions(options8, properties)}`; } }; mixinBody(Response); @@ -12341,12 +12344,12 @@ var require_response = __commonJS({ ...state }; return new Proxy(response, { - get(target, p) { - return p in state ? state[p] : target[p]; + get(target, p4) { + return p4 in state ? state[p4] : target[p4]; }, - set(target, p, value) { - assert(!(p in state)); - target[p] = value; + set(target, p4, value) { + assert4(!(p4 in state)); + target[p4] = value; return true; } }); @@ -12379,11 +12382,11 @@ var require_response = __commonJS({ body: null }); } else { - assert(false); + assert4(false); } } function makeAppropriateNetworkError(fetchParams, err = null) { - assert(isCancelled(fetchParams)); + assert4(isCancelled(fetchParams)); return isAborted(fetchParams) ? makeNetworkError(Object.assign(new DOMException("The operation was aborted.", "AbortError"), { cause: err })) : makeNetworkError(Object.assign(new DOMException("Request was cancelled."), { cause: err })); } function initializeResponse(response, init, body) { @@ -12402,7 +12405,7 @@ var require_response = __commonJS({ response[kState].statusText = init.statusText; } if ("headers" in init && init.headers != null) { - fill(response[kHeaders], init.headers); + fill2(response[kHeaders], init.headers); } if (body) { if (nullBodyStatus.includes(response.status)) { @@ -12437,32 +12440,32 @@ var require_response = __commonJS({ webidl.converters.URLSearchParams = webidl.interfaceConverter( URLSearchParams ); - webidl.converters.XMLHttpRequestBodyInit = function(V, prefix, name) { - if (typeof V === "string") { - return webidl.converters.USVString(V, prefix, name); + webidl.converters.XMLHttpRequestBodyInit = function(V11, prefix, name) { + if (typeof V11 === "string") { + return webidl.converters.USVString(V11, prefix, name); } - if (isBlobLike(V)) { - return webidl.converters.Blob(V, prefix, name, { strict: false }); + if (isBlobLike(V11)) { + return webidl.converters.Blob(V11, prefix, name, { strict: false }); } - if (ArrayBuffer.isView(V) || types.isArrayBuffer(V)) { - return webidl.converters.BufferSource(V, prefix, name); + if (ArrayBuffer.isView(V11) || types.isArrayBuffer(V11)) { + return webidl.converters.BufferSource(V11, prefix, name); } - if (util.isFormDataLike(V)) { - return webidl.converters.FormData(V, prefix, name, { strict: false }); + if (util2.isFormDataLike(V11)) { + return webidl.converters.FormData(V11, prefix, name, { strict: false }); } - if (V instanceof URLSearchParams) { - return webidl.converters.URLSearchParams(V, prefix, name); + if (V11 instanceof URLSearchParams) { + return webidl.converters.URLSearchParams(V11, prefix, name); } - return webidl.converters.DOMString(V, prefix, name); + return webidl.converters.DOMString(V11, prefix, name); }; - webidl.converters.BodyInit = function(V, prefix, argument) { - if (V instanceof ReadableStream) { - return webidl.converters.ReadableStream(V, prefix, argument); + webidl.converters.BodyInit = function(V11, prefix, argument) { + if (V11 instanceof ReadableStream) { + return webidl.converters.ReadableStream(V11, prefix, argument); } - if (V?.[Symbol.asyncIterator]) { - return V; + if (V11?.[Symbol.asyncIterator]) { + return V11; } - return webidl.converters.XMLHttpRequestBodyInit(V, prefix, argument); + return webidl.converters.XMLHttpRequestBodyInit(V11, prefix, argument); }; webidl.converters.ResponseInit = webidl.dictionaryConverter([ { @@ -12510,16 +12513,16 @@ var require_dispatcher_weakref = __commonJS({ constructor(finalizer) { this.finalizer = finalizer; } - register(dispatcher, key) { + register(dispatcher, key2) { if (dispatcher.on) { dispatcher.on("disconnect", () => { if (dispatcher[kConnected] === 0 && dispatcher[kSize] === 0) { - this.finalizer(key); + this.finalizer(key2); } }); } } - unregister(key) { + unregister(key2) { } }; module.exports = function() { @@ -12542,7 +12545,7 @@ var require_request2 = __commonJS({ var { extractBody, mixinBody, cloneBody, bodyUnusable } = require_body(); var { Headers: Headers2, fill: fillHeaders, HeadersList, setHeadersGuard, getHeadersGuard, setHeadersList, getHeadersList } = require_headers(); var { FinalizationRegistry: FinalizationRegistry2 } = require_dispatcher_weakref()(); - var util = require_util(); + var util2 = require_util(); var nodeUtil = __require("node:util"); var { isValidHTTPToken, @@ -12559,12 +12562,12 @@ var require_request2 = __commonJS({ requestCache, requestDuplex } = require_constants3(); - var { kEnumerableProperty, normalizedMethodRecordsBase, normalizedMethodRecords } = util; + var { kEnumerableProperty, normalizedMethodRecordsBase, normalizedMethodRecords } = util2; var { kHeaders, kSignal, kState, kDispatcher } = require_symbols2(); var { webidl } = require_webidl(); var { URLSerializer } = require_data_url(); var { kConstruct } = require_symbols(); - var assert = __require("node:assert"); + var assert4 = __require("node:assert"); var { getMaxListeners, setMaxListeners, getEventListeners, defaultMaxListeners } = __require("node:events"); var kAbortController = /* @__PURE__ */ Symbol("abortController"); var requestFinalizer = new FinalizationRegistry2(({ signal, abort }) => { @@ -12574,12 +12577,12 @@ var require_request2 = __commonJS({ function buildAbort(acRef) { return abort; function abort() { - const ac = acRef.deref(); - if (ac !== void 0) { + const ac3 = acRef.deref(); + if (ac3 !== void 0) { requestFinalizer.unregister(abort); this.removeEventListener("abort", abort); - ac.abort(this.reason); - const controllerList = dependentControllerMap.get(ac.signal); + ac3.abort(this.reason); + const controllerList = dependentControllerMap.get(ac3.signal); if (controllerList !== void 0) { if (controllerList.size !== 0) { for (const ref of controllerList) { @@ -12590,7 +12593,7 @@ var require_request2 = __commonJS({ } controllerList.clear(); } - dependentControllerMap.delete(ac.signal); + dependentControllerMap.delete(ac3.signal); } } } @@ -12628,7 +12631,7 @@ var require_request2 = __commonJS({ fallbackMode = "cors"; } else { this[kDispatcher] = init.dispatcher || input[kDispatcher]; - assert(input instanceof _Request); + assert4(input instanceof _Request); request2 = input[kState]; signal = input[kSignal]; } @@ -12782,8 +12785,8 @@ var require_request2 = __commonJS({ signal = init.signal; } this[kState] = request2; - const ac = new AbortController(); - this[kSignal] = ac.signal; + const ac3 = new AbortController(); + this[kSignal] = ac3.signal; if (signal != null) { if (!signal || typeof signal.aborted !== "boolean" || typeof signal.addEventListener !== "function") { throw new TypeError( @@ -12791,10 +12794,10 @@ var require_request2 = __commonJS({ ); } if (signal.aborted) { - ac.abort(signal.reason); + ac3.abort(signal.reason); } else { - this[kAbortController] = ac; - const acRef = new WeakRef(ac); + this[kAbortController] = ac3; + const acRef = new WeakRef(ac3); const abort = buildAbort(acRef); try { if (typeof getMaxListeners === "function" && getMaxListeners(signal) === defaultMaxListeners) { @@ -12804,8 +12807,8 @@ var require_request2 = __commonJS({ } } catch { } - util.addAbortListener(signal, abort); - requestFinalizer.register(ac, { signal, abort }, abort); + util2.addAbortListener(signal, abort); + requestFinalizer.register(ac3, { signal, abort }, abort); } } this[kHeaders] = new Headers2(kConstruct); @@ -12987,7 +12990,7 @@ var require_request2 = __commonJS({ } get bodyUsed() { webidl.brandCheck(this, _Request); - return !!this[kState].body && util.isDisturbed(this[kState].body.stream); + return !!this[kState].body && util2.isDisturbed(this[kState].body.stream); } get duplex() { webidl.brandCheck(this, _Request); @@ -13000,29 +13003,29 @@ var require_request2 = __commonJS({ throw new TypeError("unusable"); } const clonedRequest = cloneRequest(this[kState]); - const ac = new AbortController(); + const ac3 = new AbortController(); if (this.signal.aborted) { - ac.abort(this.signal.reason); + ac3.abort(this.signal.reason); } else { let list = dependentControllerMap.get(this.signal); if (list === void 0) { list = /* @__PURE__ */ new Set(); dependentControllerMap.set(this.signal, list); } - const acRef = new WeakRef(ac); + const acRef = new WeakRef(ac3); list.add(acRef); - util.addAbortListener( - ac.signal, + util2.addAbortListener( + ac3.signal, buildAbort(acRef) ); } - return fromInnerRequest(clonedRequest, ac.signal, getHeadersGuard(this[kHeaders])); + return fromInnerRequest(clonedRequest, ac3.signal, getHeadersGuard(this[kHeaders])); } - [nodeUtil.inspect.custom](depth, options) { - if (options.depth === null) { - options.depth = 2; + [nodeUtil.inspect.custom](depth, options8) { + if (options8.depth === null) { + options8.depth = 2; } - options.colors ??= true; + options8.colors ??= true; const properties = { method: this.method, url: this.url, @@ -13040,7 +13043,7 @@ var require_request2 = __commonJS({ isHistoryNavigation: this.isHistoryNavigation, signal: this.signal }; - return `Request ${nodeUtil.formatWithOptions(options, properties)}`; + return `Request ${nodeUtil.formatWithOptions(options8, properties)}`; } }; mixinBody(Request); @@ -13131,14 +13134,14 @@ var require_request2 = __commonJS({ webidl.converters.Request = webidl.interfaceConverter( Request ); - webidl.converters.RequestInfo = function(V, prefix, argument) { - if (typeof V === "string") { - return webidl.converters.USVString(V, prefix, argument); + webidl.converters.RequestInfo = function(V11, prefix, argument) { + if (typeof V11 === "string") { + return webidl.converters.USVString(V11, prefix, argument); } - if (V instanceof Request) { - return webidl.converters.Request(V, prefix, argument); + if (V11 instanceof Request) { + return webidl.converters.Request(V11, prefix, argument); } - return webidl.converters.USVString(V, prefix, argument); + return webidl.converters.USVString(V11, prefix, argument); }; webidl.converters.AbortSignal = webidl.interfaceConverter( AbortSignal @@ -13280,7 +13283,7 @@ var require_fetch = __commonJS({ extractMimeType } = require_util2(); var { kState, kDispatcher } = require_symbols2(); - var assert = __require("node:assert"); + var assert4 = __require("node:assert"); var { safelyExtractBody, extractBody } = require_body(); var { redirectStatusSet, @@ -13334,18 +13337,18 @@ var require_fetch = __commonJS({ } function fetch2(input, init = void 0) { webidl.argumentLengthCheck(arguments, 1, "globalThis.fetch"); - let p = createDeferredPromise(); + let p4 = createDeferredPromise(); let requestObject; try { requestObject = new Request(input, init); - } catch (e) { - p.reject(e); - return p.promise; + } catch (e7) { + p4.reject(e7); + return p4.promise; } const request2 = requestObject[kState]; if (requestObject.signal.aborted) { - abortFetch(p, request2, null, requestObject.signal.reason); - return p.promise; + abortFetch(p4, request2, null, requestObject.signal.reason); + return p4.promise; } const globalObject = request2.client.globalObject; if (globalObject?.constructor?.name === "ServiceWorkerGlobalScope") { @@ -13358,10 +13361,10 @@ var require_fetch = __commonJS({ requestObject.signal, () => { locallyAborted = true; - assert(controller != null); + assert4(controller != null); controller.abort(requestObject.signal.reason); const realResponse = responseObject?.deref(); - abortFetch(p, request2, realResponse, requestObject.signal.reason); + abortFetch(p4, request2, realResponse, requestObject.signal.reason); } ); const processResponse = (response) => { @@ -13369,16 +13372,16 @@ var require_fetch = __commonJS({ return; } if (response.aborted) { - abortFetch(p, request2, responseObject, controller.serializedAbortReason); + abortFetch(p4, request2, responseObject, controller.serializedAbortReason); return; } if (response.type === "error") { - p.reject(new TypeError("fetch failed", { cause: response.error })); + p4.reject(new TypeError("fetch failed", { cause: response.error })); return; } responseObject = new WeakRef(fromInnerResponse(response, "immutable")); - p.resolve(responseObject.deref()); - p = null; + p4.resolve(responseObject.deref()); + p4 = null; }; controller = fetching({ request: request2, @@ -13387,7 +13390,7 @@ var require_fetch = __commonJS({ dispatcher: requestObject[kDispatcher] // undici }); - return p.promise; + return p4.promise; } function finalizeAndReportTiming(response, initiatorType = "other") { if (response.type === "error" && response.aborted) { @@ -13422,9 +13425,9 @@ var require_fetch = __commonJS({ ); } var markResourceTiming = performance.markResourceTiming; - function abortFetch(p, request2, responseObject, error2) { - if (p) { - p.reject(error2); + function abortFetch(p4, request2, responseObject, error2) { + if (p4) { + p4.reject(error2); } if (request2.body != null && isReadable(request2.body?.stream)) { request2.body.stream.cancel(error2).catch((err) => { @@ -13458,7 +13461,7 @@ var require_fetch = __commonJS({ dispatcher = getGlobalDispatcher() // undici }) { - assert(dispatcher); + assert4(dispatcher); let taskDestination = null; let crossOriginIsolatedCapability = false; if (request2.client != null) { @@ -13481,7 +13484,7 @@ var require_fetch = __commonJS({ taskDestination, crossOriginIsolatedCapability }; - assert(!request2.body || request2.body.stream); + assert4(!request2.body || request2.body.stream); if (request2.window === "client") { request2.window = request2.client?.globalObject?.constructor?.name === "Window" ? request2.client : "no-window"; } @@ -13574,7 +13577,7 @@ var require_fetch = __commonJS({ } else if (request2.responseTainting === "opaque") { response = filterResponse(response, "opaque"); } else { - assert(false); + assert4(false); } } let internalResponse = response.status === 0 ? response : response.internalResponse; @@ -13801,7 +13804,7 @@ var require_fetch = __commonJS({ } else if (request2.redirect === "follow") { response = await httpRedirectFetch(fetchParams, response); } else { - assert(false); + assert4(false); } } response.timingInfo = timingInfo; @@ -13854,7 +13857,7 @@ var require_fetch = __commonJS({ request2.headersList.delete("host", true); } if (request2.body != null) { - assert(request2.body.source != null); + assert4(request2.body.source != null); request2.body = safelyExtractBody(request2.body.source)[0]; } const timingInfo = fetchParams.timingInfo; @@ -13987,7 +13990,7 @@ var require_fetch = __commonJS({ return response; } async function httpNetworkFetch(fetchParams, includeCredentials = false, forceNewConnection = false) { - assert(!fetchParams.controller.connection || fetchParams.controller.connection.destroyed); + assert4(!fetchParams.controller.connection || fetchParams.controller.connection.destroyed); fetchParams.controller.connection = { abort: null, destroyed: false, @@ -14030,14 +14033,14 @@ var require_fetch = __commonJS({ fetchParams.processRequestEndOfBody(); } }; - const processBodyError = (e) => { + const processBodyError = (e7) => { if (isCancelled(fetchParams)) { return; } - if (e.name === "AbortError") { + if (e7.name === "AbortError") { fetchParams.controller.abort(); } else { - fetchParams.controller.terminate(e); + fetchParams.controller.terminate(e7); } }; requestBody = (async function* () { @@ -14120,9 +14123,9 @@ var require_fetch = __commonJS({ fetchParams.controller.terminate(bytes); return; } - const buffer = new Uint8Array(bytes); - if (buffer.byteLength) { - fetchParams.controller.controller.enqueue(buffer); + const buffer2 = new Uint8Array(bytes); + if (buffer2.byteLength) { + fetchParams.controller.controller.enqueue(buffer2); } if (isErrored(stream)) { fetchParams.controller.terminate(); @@ -14152,12 +14155,12 @@ var require_fetch = __commonJS({ } return response; function dispatch2({ body }) { - const url = requestCurrentURL(request2); + const url3 = requestCurrentURL(request2); const agent = fetchParams.controller.dispatcher; - return new Promise((resolve3, reject) => agent.dispatch( + return new Promise((resolve4, reject) => agent.dispatch( { - path: url.pathname + url.search, - origin: url.origin, + path: url3.pathname + url3.search, + origin: url3.origin, method: request2.method, body: agent.isMockActive ? request2.body && (request2.body.source || request2.body.stream) : body, headers: request2.headersList.entries, @@ -14187,8 +14190,8 @@ var require_fetch = __commonJS({ } let location = ""; const headersList = new HeadersList(); - for (let i2 = 0; i2 < rawHeaders.length; i2 += 2) { - headersList.append(bufferToLowerCasedHeaderName(rawHeaders[i2]), rawHeaders[i2 + 1].toString("latin1"), true); + for (let i5 = 0; i5 < rawHeaders.length; i5 += 2) { + headersList.append(bufferToLowerCasedHeaderName(rawHeaders[i5]), rawHeaders[i5 + 1].toString("latin1"), true); } location = headersList.get("location", true); this.body = new Readable({ read: resume }); @@ -14202,8 +14205,8 @@ var require_fetch = __commonJS({ reject(new Error(`too many content-encodings in response: ${codings.length}, maximum allowed is ${maxContentEncodings}`)); return true; } - for (let i2 = codings.length - 1; i2 >= 0; --i2) { - const coding = codings[i2].trim(); + for (let i5 = codings.length - 1; i5 >= 0; --i5) { + const coding = codings[i5].trim(); if (coding === "x-gzip" || coding === "gzip") { decoders.push(zlib.createGunzip({ // Be less strict when decoding compressed responses, since sometimes @@ -14230,7 +14233,7 @@ var require_fetch = __commonJS({ } } const onError = this.onError.bind(this); - resolve3({ + resolve4({ status, statusText, headersList, @@ -14273,10 +14276,10 @@ var require_fetch = __commonJS({ return; } const headersList = new HeadersList(); - for (let i2 = 0; i2 < rawHeaders.length; i2 += 2) { - headersList.append(bufferToLowerCasedHeaderName(rawHeaders[i2]), rawHeaders[i2 + 1].toString("latin1"), true); + for (let i5 = 0; i5 < rawHeaders.length; i5 += 2) { + headersList.append(bufferToLowerCasedHeaderName(rawHeaders[i5]), rawHeaders[i5 + 1].toString("latin1"), true); } - resolve3({ + resolve4({ status, statusText: STATUS_CODES[status], headersList, @@ -14384,11 +14387,11 @@ var require_progressevent = __commonJS({ var require_encoding = __commonJS({ "node_modules/undici/lib/web/fileapi/encoding.js"(exports, module) { "use strict"; - function getEncoding(label) { - if (!label) { + function getEncoding(label2) { + if (!label2) { return "failure"; } - switch (label.trim().toLowerCase()) { + switch (label2.trim().toLowerCase()) { case "unicode-1-1-utf-8": case "unicode11utf8": case "unicode20utf8": @@ -14688,67 +14691,67 @@ var require_util4 = __commonJS({ writable: false, configurable: false }; - function readOperation(fr, blob, type, encodingName) { - if (fr[kState] === "loading") { + function readOperation(fr10, blob, type, encodingName) { + if (fr10[kState] === "loading") { throw new DOMException("Invalid state", "InvalidStateError"); } - fr[kState] = "loading"; - fr[kResult] = null; - fr[kError] = null; + fr10[kState] = "loading"; + fr10[kResult] = null; + fr10[kError] = null; const stream = blob.stream(); const reader = stream.getReader(); const bytes = []; let chunkPromise = reader.read(); let isFirstChunk = true; (async () => { - while (!fr[kAborted]) { + while (!fr10[kAborted]) { try { const { done, value } = await chunkPromise; - if (isFirstChunk && !fr[kAborted]) { + if (isFirstChunk && !fr10[kAborted]) { queueMicrotask(() => { - fireAProgressEvent("loadstart", fr); + fireAProgressEvent("loadstart", fr10); }); } isFirstChunk = false; if (!done && types.isUint8Array(value)) { bytes.push(value); - if ((fr[kLastProgressEventFired] === void 0 || Date.now() - fr[kLastProgressEventFired] >= 50) && !fr[kAborted]) { - fr[kLastProgressEventFired] = Date.now(); + if ((fr10[kLastProgressEventFired] === void 0 || Date.now() - fr10[kLastProgressEventFired] >= 50) && !fr10[kAborted]) { + fr10[kLastProgressEventFired] = Date.now(); queueMicrotask(() => { - fireAProgressEvent("progress", fr); + fireAProgressEvent("progress", fr10); }); } chunkPromise = reader.read(); } else if (done) { queueMicrotask(() => { - fr[kState] = "done"; + fr10[kState] = "done"; try { const result = packageData(bytes, type, blob.type, encodingName); - if (fr[kAborted]) { + if (fr10[kAborted]) { return; } - fr[kResult] = result; - fireAProgressEvent("load", fr); + fr10[kResult] = result; + fireAProgressEvent("load", fr10); } catch (error2) { - fr[kError] = error2; - fireAProgressEvent("error", fr); + fr10[kError] = error2; + fireAProgressEvent("error", fr10); } - if (fr[kState] !== "loading") { - fireAProgressEvent("loadend", fr); + if (fr10[kState] !== "loading") { + fireAProgressEvent("loadend", fr10); } }); break; } } catch (error2) { - if (fr[kAborted]) { + if (fr10[kAborted]) { return; } queueMicrotask(() => { - fr[kState] = "done"; - fr[kError] = error2; - fireAProgressEvent("error", fr); - if (fr[kState] !== "loading") { - fireAProgressEvent("loadend", fr); + fr10[kState] = "done"; + fr10[kError] = error2; + fireAProgressEvent("error", fr10); + if (fr10[kState] !== "loading") { + fireAProgressEvent("loadend", fr10); } }); break; @@ -14756,8 +14759,8 @@ var require_util4 = __commonJS({ } })(); } - function fireAProgressEvent(e, reader) { - const event = new ProgressEvent(e, { + function fireAProgressEvent(e7, reader) { + const event = new ProgressEvent(e7, { bubbles: false, cancelable: false }); @@ -14822,25 +14825,25 @@ var require_util4 = __commonJS({ return new TextDecoder(encoding).decode(sliced); } function BOMSniffing(ioQueue) { - const [a, b, c] = ioQueue; - if (a === 239 && b === 187 && c === 191) { + const [a5, b7, c7] = ioQueue; + if (a5 === 239 && b7 === 187 && c7 === 191) { return "UTF-8"; - } else if (a === 254 && b === 255) { + } else if (a5 === 254 && b7 === 255) { return "UTF-16BE"; - } else if (a === 255 && b === 254) { + } else if (a5 === 255 && b7 === 254) { return "UTF-16LE"; } return null; } function combineByteSequences(sequences) { - const size3 = sequences.reduce((a, b) => { - return a + b.byteLength; + const size3 = sequences.reduce((a5, b7) => { + return a5 + b7.byteLength; }, 0); let offset = 0; - return sequences.reduce((a, b) => { - a.set(b, offset); - offset += b.byteLength; - return a; + return sequences.reduce((a5, b7) => { + a5.set(b7, offset); + offset += b7.byteLength; + return a5; }, new Uint8Array(size3)); } module.exports = { @@ -14978,14 +14981,14 @@ var require_filereader = __commonJS({ webidl.brandCheck(this, _FileReader); return this[kEvents].loadend; } - set onloadend(fn) { + set onloadend(fn9) { webidl.brandCheck(this, _FileReader); if (this[kEvents].loadend) { this.removeEventListener("loadend", this[kEvents].loadend); } - if (typeof fn === "function") { - this[kEvents].loadend = fn; - this.addEventListener("loadend", fn); + if (typeof fn9 === "function") { + this[kEvents].loadend = fn9; + this.addEventListener("loadend", fn9); } else { this[kEvents].loadend = null; } @@ -14994,14 +14997,14 @@ var require_filereader = __commonJS({ webidl.brandCheck(this, _FileReader); return this[kEvents].error; } - set onerror(fn) { + set onerror(fn9) { webidl.brandCheck(this, _FileReader); if (this[kEvents].error) { this.removeEventListener("error", this[kEvents].error); } - if (typeof fn === "function") { - this[kEvents].error = fn; - this.addEventListener("error", fn); + if (typeof fn9 === "function") { + this[kEvents].error = fn9; + this.addEventListener("error", fn9); } else { this[kEvents].error = null; } @@ -15010,14 +15013,14 @@ var require_filereader = __commonJS({ webidl.brandCheck(this, _FileReader); return this[kEvents].loadstart; } - set onloadstart(fn) { + set onloadstart(fn9) { webidl.brandCheck(this, _FileReader); if (this[kEvents].loadstart) { this.removeEventListener("loadstart", this[kEvents].loadstart); } - if (typeof fn === "function") { - this[kEvents].loadstart = fn; - this.addEventListener("loadstart", fn); + if (typeof fn9 === "function") { + this[kEvents].loadstart = fn9; + this.addEventListener("loadstart", fn9); } else { this[kEvents].loadstart = null; } @@ -15026,14 +15029,14 @@ var require_filereader = __commonJS({ webidl.brandCheck(this, _FileReader); return this[kEvents].progress; } - set onprogress(fn) { + set onprogress(fn9) { webidl.brandCheck(this, _FileReader); if (this[kEvents].progress) { this.removeEventListener("progress", this[kEvents].progress); } - if (typeof fn === "function") { - this[kEvents].progress = fn; - this.addEventListener("progress", fn); + if (typeof fn9 === "function") { + this[kEvents].progress = fn9; + this.addEventListener("progress", fn9); } else { this[kEvents].progress = null; } @@ -15042,14 +15045,14 @@ var require_filereader = __commonJS({ webidl.brandCheck(this, _FileReader); return this[kEvents].load; } - set onload(fn) { + set onload(fn9) { webidl.brandCheck(this, _FileReader); if (this[kEvents].load) { this.removeEventListener("load", this[kEvents].load); } - if (typeof fn === "function") { - this[kEvents].load = fn; - this.addEventListener("load", fn); + if (typeof fn9 === "function") { + this[kEvents].load = fn9; + this.addEventListener("load", fn9); } else { this[kEvents].load = null; } @@ -15058,14 +15061,14 @@ var require_filereader = __commonJS({ webidl.brandCheck(this, _FileReader); return this[kEvents].abort; } - set onabort(fn) { + set onabort(fn9) { webidl.brandCheck(this, _FileReader); if (this[kEvents].abort) { this.removeEventListener("abort", this[kEvents].abort); } - if (typeof fn === "function") { - this[kEvents].abort = fn; - this.addEventListener("abort", fn); + if (typeof fn9 === "function") { + this[kEvents].abort = fn9; + this.addEventListener("abort", fn9); } else { this[kEvents].abort = null; } @@ -15124,16 +15127,16 @@ var require_symbols4 = __commonJS({ var require_util5 = __commonJS({ "node_modules/undici/lib/web/cache/util.js"(exports, module) { "use strict"; - var assert = __require("node:assert"); + var assert4 = __require("node:assert"); var { URLSerializer } = require_data_url(); var { isValidHeaderName } = require_util2(); - function urlEquals(A2, B, excludeFragment = false) { - const serializedA = URLSerializer(A2, excludeFragment); - const serializedB = URLSerializer(B, excludeFragment); + function urlEquals(A9, B7, excludeFragment = false) { + const serializedA = URLSerializer(A9, excludeFragment); + const serializedB = URLSerializer(B7, excludeFragment); return serializedA === serializedB; } function getFieldValues(header) { - assert(header !== null); + assert4(header !== null); const values = []; for (let value of header.split(",")) { value = value.trim(); @@ -15163,7 +15166,7 @@ var require_cache = __commonJS({ var { kState } = require_symbols2(); var { fetching } = require_fetch(); var { urlIsHttpHttpsScheme, createDeferredPromise, readAllBytes } = require_util2(); - var assert = __require("node:assert"); + var assert4 = __require("node:assert"); var Cache = class _Cache { /** * @see https://w3c.github.io/ServiceWorker/#dfn-relevant-request-response-list @@ -15177,24 +15180,24 @@ var require_cache = __commonJS({ webidl.util.markAsUncloneable(this); this.#relevantRequestResponseList = arguments[1]; } - async match(request2, options = {}) { + async match(request2, options8 = {}) { webidl.brandCheck(this, _Cache); const prefix = "Cache.match"; webidl.argumentLengthCheck(arguments, 1, prefix); request2 = webidl.converters.RequestInfo(request2, prefix, "request"); - options = webidl.converters.CacheQueryOptions(options, prefix, "options"); - const p = this.#internalMatchAll(request2, options, 1); - if (p.length === 0) { + options8 = webidl.converters.CacheQueryOptions(options8, prefix, "options"); + const p4 = this.#internalMatchAll(request2, options8, 1); + if (p4.length === 0) { return; } - return p[0]; + return p4[0]; } - async matchAll(request2 = void 0, options = {}) { + async matchAll(request2 = void 0, options8 = {}) { webidl.brandCheck(this, _Cache); const prefix = "Cache.matchAll"; if (request2 !== void 0) request2 = webidl.converters.RequestInfo(request2, prefix, "request"); - options = webidl.converters.CacheQueryOptions(options, prefix, "options"); - return this.#internalMatchAll(request2, options); + options8 = webidl.converters.CacheQueryOptions(options8, prefix, "options"); + return this.#internalMatchAll(request2, options8); } async add(request2) { webidl.brandCheck(this, _Cache); @@ -15223,8 +15226,8 @@ var require_cache = __commonJS({ if (typeof request2 === "string") { continue; } - const r = request2[kState]; - if (!urlIsHttpHttpsScheme(r.url) || r.method !== "GET") { + const r5 = request2[kState]; + if (!urlIsHttpHttpsScheme(r5.url) || r5.method !== "GET") { throw webidl.errors.exception({ header: prefix, message: "Expected http/s scheme when method is not GET." @@ -15233,19 +15236,19 @@ var require_cache = __commonJS({ } const fetchControllers = []; for (const request2 of requests) { - const r = new Request(request2)[kState]; - if (!urlIsHttpHttpsScheme(r.url)) { + const r5 = new Request(request2)[kState]; + if (!urlIsHttpHttpsScheme(r5.url)) { throw webidl.errors.exception({ header: prefix, message: "Expected http/s scheme." }); } - r.initiator = "fetch"; - r.destination = "subresource"; - requestList.push(r); + r5.initiator = "fetch"; + r5.destination = "subresource"; + requestList.push(r5); const responsePromise = createDeferredPromise(); fetchControllers.push(fetching({ - request: r, + request: r5, processResponse(response) { if (response.type === "error" || response.status === 206 || response.status < 200 || response.status > 299) { responsePromise.reject(webidl.errors.exception({ @@ -15278,8 +15281,8 @@ var require_cache = __commonJS({ })); responsePromises.push(responsePromise.promise); } - const p = Promise.all(responsePromises); - const responses = await p; + const p4 = Promise.all(responsePromises); + const responses = await p4; const operations = []; let index = 0; for (const response of responses) { @@ -15298,8 +15301,8 @@ var require_cache = __commonJS({ let errorData = null; try { this.#batchCacheOperations(operations); - } catch (e) { - errorData = e; + } catch (e7) { + errorData = e7; } queueMicrotask(() => { if (errorData === null) { @@ -15379,8 +15382,8 @@ var require_cache = __commonJS({ let errorData = null; try { this.#batchCacheOperations(operations); - } catch (e) { - errorData = e; + } catch (e7) { + errorData = e7; } queueMicrotask(() => { if (errorData === null) { @@ -15391,27 +15394,27 @@ var require_cache = __commonJS({ }); return cacheJobPromise.promise; } - async delete(request2, options = {}) { + async delete(request2, options8 = {}) { webidl.brandCheck(this, _Cache); const prefix = "Cache.delete"; webidl.argumentLengthCheck(arguments, 1, prefix); request2 = webidl.converters.RequestInfo(request2, prefix, "request"); - options = webidl.converters.CacheQueryOptions(options, prefix, "options"); - let r = null; + options8 = webidl.converters.CacheQueryOptions(options8, prefix, "options"); + let r5 = null; if (request2 instanceof Request) { - r = request2[kState]; - if (r.method !== "GET" && !options.ignoreMethod) { + r5 = request2[kState]; + if (r5.method !== "GET" && !options8.ignoreMethod) { return false; } } else { - assert(typeof request2 === "string"); - r = new Request(request2)[kState]; + assert4(typeof request2 === "string"); + r5 = new Request(request2)[kState]; } const operations = []; const operation = { type: "delete", - request: r, - options + request: r5, + options: options8 }; operations.push(operation); const cacheJobPromise = createDeferredPromise(); @@ -15419,8 +15422,8 @@ var require_cache = __commonJS({ let requestResponses; try { requestResponses = this.#batchCacheOperations(operations); - } catch (e) { - errorData = e; + } catch (e7) { + errorData = e7; } queueMicrotask(() => { if (errorData === null) { @@ -15437,20 +15440,20 @@ var require_cache = __commonJS({ * @param {import('../../types/cache').CacheQueryOptions} options * @returns {Promise} */ - async keys(request2 = void 0, options = {}) { + async keys(request2 = void 0, options8 = {}) { webidl.brandCheck(this, _Cache); const prefix = "Cache.keys"; if (request2 !== void 0) request2 = webidl.converters.RequestInfo(request2, prefix, "request"); - options = webidl.converters.CacheQueryOptions(options, prefix, "options"); - let r = null; + options8 = webidl.converters.CacheQueryOptions(options8, prefix, "options"); + let r5 = null; if (request2 !== void 0) { if (request2 instanceof Request) { - r = request2[kState]; - if (r.method !== "GET" && !options.ignoreMethod) { + r5 = request2[kState]; + if (r5.method !== "GET" && !options8.ignoreMethod) { return []; } } else if (typeof request2 === "string") { - r = new Request(request2)[kState]; + r5 = new Request(request2)[kState]; } } const promise = createDeferredPromise(); @@ -15460,7 +15463,7 @@ var require_cache = __commonJS({ requests.push(requestResponse[0]); } } else { - const requestResponses = this.#queryCache(r, options); + const requestResponses = this.#queryCache(r5, options8); for (const requestResponse of requestResponses) { requests.push(requestResponse[0]); } @@ -15485,8 +15488,8 @@ var require_cache = __commonJS({ * @returns {requestResponseList} */ #batchCacheOperations(operations) { - const cache = this.#relevantRequestResponseList; - const backupCache = [...cache]; + const cache3 = this.#relevantRequestResponseList; + const backupCache = [...cache3]; const addedItems = []; const resultList = []; try { @@ -15513,9 +15516,9 @@ var require_cache = __commonJS({ return []; } for (const requestResponse of requestResponses) { - const idx = cache.indexOf(requestResponse); - assert(idx !== -1); - cache.splice(idx, 1); + const idx = cache3.indexOf(requestResponse); + assert4(idx !== -1); + cache3.splice(idx, 1); } } else if (operation.type === "put") { if (operation.response == null) { @@ -15524,14 +15527,14 @@ var require_cache = __commonJS({ message: "put operation should have an associated response" }); } - const r = operation.request; - if (!urlIsHttpHttpsScheme(r.url)) { + const r5 = operation.request; + if (!urlIsHttpHttpsScheme(r5.url)) { throw webidl.errors.exception({ header: "Cache.#batchCacheOperations", message: "expected http or https scheme" }); } - if (r.method !== "GET") { + if (r5.method !== "GET") { throw webidl.errors.exception({ header: "Cache.#batchCacheOperations", message: "not get method" @@ -15545,20 +15548,20 @@ var require_cache = __commonJS({ } requestResponses = this.#queryCache(operation.request); for (const requestResponse of requestResponses) { - const idx = cache.indexOf(requestResponse); - assert(idx !== -1); - cache.splice(idx, 1); + const idx = cache3.indexOf(requestResponse); + assert4(idx !== -1); + cache3.splice(idx, 1); } - cache.push([operation.request, operation.response]); + cache3.push([operation.request, operation.response]); addedItems.push([operation.request, operation.response]); } resultList.push([operation.request, operation.response]); } return resultList; - } catch (e) { + } catch (e7) { this.#relevantRequestResponseList.length = 0; this.#relevantRequestResponseList = backupCache; - throw e; + throw e7; } } /** @@ -15568,12 +15571,12 @@ var require_cache = __commonJS({ * @param {requestResponseList} targetStorage * @returns {requestResponseList} */ - #queryCache(requestQuery, options, targetStorage) { + #queryCache(requestQuery, options8, targetStorage) { const resultList = []; const storage = targetStorage ?? this.#relevantRequestResponseList; for (const requestResponse of storage) { const [cachedRequest, cachedResponse] = requestResponse; - if (this.#requestMatchesCachedItem(requestQuery, cachedRequest, cachedResponse, options)) { + if (this.#requestMatchesCachedItem(requestQuery, cachedRequest, cachedResponse, options8)) { resultList.push(requestResponse); } } @@ -15587,17 +15590,17 @@ var require_cache = __commonJS({ * @param {import('../../types/cache').CacheQueryOptions | undefined} options * @returns {boolean} */ - #requestMatchesCachedItem(requestQuery, request2, response = null, options) { + #requestMatchesCachedItem(requestQuery, request2, response = null, options8) { const queryURL = new URL(requestQuery.url); const cachedURL = new URL(request2.url); - if (options?.ignoreSearch) { + if (options8?.ignoreSearch) { cachedURL.search = ""; queryURL.search = ""; } if (!urlEquals(queryURL, cachedURL, true)) { return false; } - if (response == null || options?.ignoreVary || !response.headersList.contains("vary")) { + if (response == null || options8?.ignoreVary || !response.headersList.contains("vary")) { return true; } const fieldValues = getFieldValues(response.headersList.get("vary")); @@ -15613,16 +15616,16 @@ var require_cache = __commonJS({ } return true; } - #internalMatchAll(request2, options, maxResponses = Infinity) { - let r = null; + #internalMatchAll(request2, options8, maxResponses = Infinity) { + let r5 = null; if (request2 !== void 0) { if (request2 instanceof Request) { - r = request2[kState]; - if (r.method !== "GET" && !options.ignoreMethod) { + r5 = request2[kState]; + if (r5.method !== "GET" && !options8.ignoreMethod) { return []; } } else if (typeof request2 === "string") { - r = new Request(request2)[kState]; + r5 = new Request(request2)[kState]; } } const responses = []; @@ -15631,7 +15634,7 @@ var require_cache = __commonJS({ responses.push(requestResponse[1]); } } else { - const requestResponses = this.#queryCache(r, options); + const requestResponses = this.#queryCache(r5, options8); for (const requestResponse of requestResponses) { responses.push(requestResponse[1]); } @@ -15715,21 +15718,21 @@ var require_cachestorage = __commonJS({ } webidl.util.markAsUncloneable(this); } - async match(request2, options = {}) { + async match(request2, options8 = {}) { webidl.brandCheck(this, _CacheStorage); webidl.argumentLengthCheck(arguments, 1, "CacheStorage.match"); request2 = webidl.converters.RequestInfo(request2); - options = webidl.converters.MultiCacheQueryOptions(options); - if (options.cacheName != null) { - if (this.#caches.has(options.cacheName)) { - const cacheList = this.#caches.get(options.cacheName); - const cache = new Cache(kConstruct, cacheList); - return await cache.match(request2, options); + options8 = webidl.converters.MultiCacheQueryOptions(options8); + if (options8.cacheName != null) { + if (this.#caches.has(options8.cacheName)) { + const cacheList = this.#caches.get(options8.cacheName); + const cache3 = new Cache(kConstruct, cacheList); + return await cache3.match(request2, options8); } } else { for (const cacheList of this.#caches.values()) { - const cache = new Cache(kConstruct, cacheList); - const response = await cache.match(request2, options); + const cache3 = new Cache(kConstruct, cacheList); + const response = await cache3.match(request2, options8); if (response !== void 0) { return response; } @@ -15759,12 +15762,12 @@ var require_cachestorage = __commonJS({ webidl.argumentLengthCheck(arguments, 1, prefix); cacheName = webidl.converters.DOMString(cacheName, prefix, "cacheName"); if (this.#caches.has(cacheName)) { - const cache2 = this.#caches.get(cacheName); - return new Cache(kConstruct, cache2); + const cache4 = this.#caches.get(cacheName); + return new Cache(kConstruct, cache4); } - const cache = []; - this.#caches.set(cacheName, cache); - return new Cache(kConstruct, cache); + const cache3 = []; + this.#caches.set(cacheName, cache3); + return new Cache(kConstruct, cache3); } /** * @see https://w3c.github.io/ServiceWorker/#cache-storage-delete @@ -15823,8 +15826,8 @@ var require_util6 = __commonJS({ "node_modules/undici/lib/web/cookies/util.js"(exports, module) { "use strict"; function isCTLExcludingHtab(value) { - for (let i2 = 0; i2 < value.length; ++i2) { - const code = value.charCodeAt(i2); + for (let i5 = 0; i5 < value.length; ++i5) { + const code = value.charCodeAt(i5); if (code >= 0 && code <= 8 || code >= 10 && code <= 31 || code === 127) { return true; } @@ -15832,8 +15835,8 @@ var require_util6 = __commonJS({ return false; } function validateCookieName(name) { - for (let i2 = 0; i2 < name.length; ++i2) { - const code = name.charCodeAt(i2); + for (let i5 = 0; i5 < name.length; ++i5) { + const code = name.charCodeAt(i5); if (code < 33 || // exclude CTLs (0-31), SP and HT code > 126 || // exclude non-ascii and DEL code === 34 || // " @@ -15859,16 +15862,16 @@ var require_util6 = __commonJS({ } function validateCookieValue(value) { let len = value.length; - let i2 = 0; + let i5 = 0; if (value[0] === '"') { if (len === 1 || value[len - 1] !== '"') { throw new Error("Invalid cookie value"); } --len; - ++i2; + ++i5; } - while (i2 < len) { - const code = value.charCodeAt(i2++); + while (i5 < len) { + const code = value.charCodeAt(i5++); if (code < 33 || // exclude CTLs (0-31) code > 126 || // non-ascii and DEL (127) code === 34 || // " @@ -15879,9 +15882,9 @@ var require_util6 = __commonJS({ } } } - function validateCookiePath(path7) { - for (let i2 = 0; i2 < path7.length; ++i2) { - const code = path7.charCodeAt(i2); + function validateCookiePath(path19) { + for (let i5 = 0; i5 < path19.length; ++i5) { + const code = path19.charCodeAt(i5); if (code < 32 || // exclude CTLs (0-31) code === 127 || // DEL code === 59) { @@ -15917,7 +15920,7 @@ var require_util6 = __commonJS({ "Nov", "Dec" ]; - var IMFPaddedNumbers = Array(61).fill(0).map((_, i2) => i2.toString().padStart(2, "0")); + var IMFPaddedNumbers = Array(61).fill(0).map((_9, i5) => i5.toString().padStart(2, "0")); function toIMFDate(date) { if (typeof date === "number") { date = new Date(date); @@ -15972,8 +15975,8 @@ var require_util6 = __commonJS({ if (!part.includes("=")) { throw new Error("Invalid unparsed"); } - const [key, ...value] = part.split("="); - out.push(`${key.trim()}=${value.join("=")}`); + const [key2, ...value] = part.split("="); + out.push(`${key2.trim()}=${value.join("=")}`); } return out.join("; "); } @@ -15995,7 +15998,7 @@ var require_parse = __commonJS({ var { maxNameValuePairSize, maxAttributeValueSize } = require_constants4(); var { isCTLExcludingHtab } = require_util6(); var { collectASequenceOfCodePointsFast } = require_data_url(); - var assert = __require("node:assert"); + var assert4 = __require("node:assert"); function parseSetCookie(header) { if (isCTLExcludingHtab(header)) { return null; @@ -16037,7 +16040,7 @@ var require_parse = __commonJS({ if (unparsedAttributes.length === 0) { return cookieAttributeList; } - assert(unparsedAttributes[0] === ";"); + assert4(unparsedAttributes[0] === ";"); unparsedAttributes = unparsedAttributes.slice(1); let cookieAv = ""; if (unparsedAttributes.includes(";")) { @@ -16304,7 +16307,7 @@ var require_events = __commonJS({ } return this.#eventInit.ports; } - initMessageEvent(type, bubbles = false, cancelable = false, data2 = null, origin = "", lastEventId = "", source = null, ports = []) { + initMessageEvent(type, bubbles = false, cancelable = false, data2 = null, origin = "", lastEventId = "", source2 = null, ports = []) { webidl.brandCheck(this, _MessageEvent); webidl.argumentLengthCheck(arguments, 1, "MessageEvent.initMessageEvent"); return new _MessageEvent(type, { @@ -16313,7 +16316,7 @@ var require_events = __commonJS({ data: data2, origin, lastEventId, - source, + source: source2, ports }); } @@ -16606,24 +16609,24 @@ var require_util7 = __commonJS({ var { ErrorEvent, createFastMessageEvent } = require_events(); var { isUtf8 } = __require("node:buffer"); var { collectASequenceOfCodePointsFast, removeHTTPWhitespace } = require_data_url(); - function isConnecting(ws) { - return ws[kReadyState] === states.CONNECTING; + function isConnecting(ws8) { + return ws8[kReadyState] === states.CONNECTING; } - function isEstablished(ws) { - return ws[kReadyState] === states.OPEN; + function isEstablished(ws8) { + return ws8[kReadyState] === states.OPEN; } - function isClosing(ws) { - return ws[kReadyState] === states.CLOSING; + function isClosing(ws8) { + return ws8[kReadyState] === states.CLOSING; } - function isClosed(ws) { - return ws[kReadyState] === states.CLOSED; + function isClosed(ws8) { + return ws8[kReadyState] === states.CLOSED; } - function fireEvent(e, target, eventFactory = (type, init) => new Event(type, init), eventInitDict = {}) { - const event = eventFactory(e, eventInitDict); + function fireEvent(e7, target, eventFactory = (type, init) => new Event(type, init), eventInitDict = {}) { + const event = eventFactory(e7, eventInitDict); target.dispatchEvent(event); } - function websocketMessageReceived(ws, type, data2) { - if (ws[kReadyState] !== states.OPEN) { + function websocketMessageReceived(ws8, type, data2) { + if (ws8[kReadyState] !== states.OPEN) { return; } let dataForEvent; @@ -16631,33 +16634,33 @@ var require_util7 = __commonJS({ try { dataForEvent = utf8Decode(data2); } catch { - failWebsocketConnection(ws, "Received invalid UTF-8 in text frame."); + failWebsocketConnection(ws8, "Received invalid UTF-8 in text frame."); return; } } else if (type === opcodes.BINARY) { - if (ws[kBinaryType] === "blob") { + if (ws8[kBinaryType] === "blob") { dataForEvent = new Blob([data2]); } else { dataForEvent = toArrayBuffer(data2); } } - fireEvent("message", ws, createFastMessageEvent, { - origin: ws[kWebSocketURL].origin, + fireEvent("message", ws8, createFastMessageEvent, { + origin: ws8[kWebSocketURL].origin, data: dataForEvent }); } - function toArrayBuffer(buffer) { - if (buffer.byteLength === buffer.buffer.byteLength) { - return buffer.buffer; + function toArrayBuffer(buffer2) { + if (buffer2.byteLength === buffer2.buffer.byteLength) { + return buffer2.buffer; } - return buffer.buffer.slice(buffer.byteOffset, buffer.byteOffset + buffer.byteLength); + return buffer2.buffer.slice(buffer2.byteOffset, buffer2.byteOffset + buffer2.byteLength); } function isValidSubprotocol(protocol) { if (protocol.length === 0) { return false; } - for (let i2 = 0; i2 < protocol.length; ++i2) { - const code = protocol.charCodeAt(i2); + for (let i5 = 0; i5 < protocol.length; ++i5) { + const code = protocol.charCodeAt(i5); if (code < 33 || // CTL, contains SP (0x20) and HT (0x09) code > 126 || code === 34 || // " code === 40 || // ( @@ -16689,14 +16692,14 @@ var require_util7 = __commonJS({ } return code >= 3e3 && code <= 4999; } - function failWebsocketConnection(ws, reason) { - const { [kController]: controller, [kResponse]: response } = ws; + function failWebsocketConnection(ws8, reason) { + const { [kController]: controller, [kResponse]: response } = ws8; controller.abort(); if (response?.socket && !response.socket.destroyed) { response.socket.destroy(); } if (reason) { - fireEvent("error", ws, (type, init) => new ErrorEvent(type, init), { + fireEvent("error", ws8, (type, init) => new ErrorEvent(type, init), { error: new Error(reason), message: reason }); @@ -16732,8 +16735,8 @@ var require_util7 = __commonJS({ if (value.length === 0) { return false; } - for (let i2 = 0; i2 < value.length; i2++) { - const byte = value.charCodeAt(i2); + for (let i5 = 0; i5 < value.length; i5++) { + const byte = value.charCodeAt(i5); if (byte < 48 || byte > 57) { return false; } @@ -16743,9 +16746,9 @@ var require_util7 = __commonJS({ } var hasIntl = typeof process.versions.icu === "string"; var fatalDecoder = hasIntl ? new TextDecoder("utf-8", { fatal: true }) : void 0; - var utf8Decode = hasIntl ? fatalDecoder.decode.bind(fatalDecoder) : function(buffer) { - if (isUtf8(buffer)) { - return buffer.toString("utf-8"); + var utf8Decode = hasIntl ? fatalDecoder.decode.bind(fatalDecoder) : function(buffer2) { + if (isUtf8(buffer2)) { + return buffer2.toString("utf-8"); } throw new TypeError("Invalid utf-8 received."); }; @@ -16777,27 +16780,27 @@ var require_frame = __commonJS({ var { maxUnsigned16Bit } = require_constants5(); var BUFFER_SIZE = 16386; var crypto2; - var buffer = null; + var buffer2 = null; var bufIdx = BUFFER_SIZE; try { crypto2 = __require("node:crypto"); } catch { crypto2 = { // not full compatibility, but minimum. - randomFillSync: function randomFillSync(buffer2, _offset, _size) { - for (let i2 = 0; i2 < buffer2.length; ++i2) { - buffer2[i2] = Math.random() * 255 | 0; + randomFillSync: function randomFillSync(buffer3, _offset, _size) { + for (let i5 = 0; i5 < buffer3.length; ++i5) { + buffer3[i5] = Math.random() * 255 | 0; } - return buffer2; + return buffer3; } }; } function generateMask() { if (bufIdx === BUFFER_SIZE) { bufIdx = 0; - crypto2.randomFillSync(buffer ??= Buffer.allocUnsafe(BUFFER_SIZE), 0, BUFFER_SIZE); + crypto2.randomFillSync(buffer2 ??= Buffer.allocUnsafe(BUFFER_SIZE), 0, BUFFER_SIZE); } - return [buffer[bufIdx++], buffer[bufIdx++], buffer[bufIdx++], buffer[bufIdx++]]; + return [buffer2[bufIdx++], buffer2[bufIdx++], buffer2[bufIdx++], buffer2[bufIdx++]]; } var WebsocketFrameSend = class { /** @@ -16819,26 +16822,26 @@ var require_frame = __commonJS({ offset += 2; payloadLength = 126; } - const buffer2 = Buffer.allocUnsafe(bodyLength + offset); - buffer2[0] = buffer2[1] = 0; - buffer2[0] |= 128; - buffer2[0] = (buffer2[0] & 240) + opcode; - buffer2[offset - 4] = maskKey[0]; - buffer2[offset - 3] = maskKey[1]; - buffer2[offset - 2] = maskKey[2]; - buffer2[offset - 1] = maskKey[3]; - buffer2[1] = payloadLength; + const buffer3 = Buffer.allocUnsafe(bodyLength + offset); + buffer3[0] = buffer3[1] = 0; + buffer3[0] |= 128; + buffer3[0] = (buffer3[0] & 240) + opcode; + buffer3[offset - 4] = maskKey[0]; + buffer3[offset - 3] = maskKey[1]; + buffer3[offset - 2] = maskKey[2]; + buffer3[offset - 1] = maskKey[3]; + buffer3[1] = payloadLength; if (payloadLength === 126) { - buffer2.writeUInt16BE(bodyLength, 2); + buffer3.writeUInt16BE(bodyLength, 2); } else if (payloadLength === 127) { - buffer2[2] = buffer2[3] = 0; - buffer2.writeUIntBE(bodyLength, 4, 6); + buffer3[2] = buffer3[3] = 0; + buffer3.writeUIntBE(bodyLength, 4, 6); } - buffer2[1] |= 128; - for (let i2 = 0; i2 < bodyLength; ++i2) { - buffer2[offset + i2] = frameData[i2] ^ maskKey[i2 & 3]; + buffer3[1] |= 128; + for (let i5 = 0; i5 < bodyLength; ++i5) { + buffer3[offset + i5] = frameData[i5] ^ maskKey[i5 & 3]; } - return buffer2; + return buffer3; } }; module.exports = { @@ -16872,9 +16875,9 @@ var require_connection = __commonJS({ crypto2 = __require("node:crypto"); } catch { } - function establishWebSocketConnection(url, protocols, client, ws, onEstablish, options) { - const requestURL = url; - requestURL.protocol = url.protocol === "ws:" ? "http:" : "https:"; + function establishWebSocketConnection(url3, protocols, client, ws8, onEstablish, options8) { + const requestURL = url3; + requestURL.protocol = url3.protocol === "ws:" ? "http:" : "https:"; const request2 = makeRequest({ urlList: [requestURL], client, @@ -16885,8 +16888,8 @@ var require_connection = __commonJS({ cache: "no-store", redirect: "error" }); - if (options.headers) { - const headersList = getHeadersList(new Headers2(options.headers)); + if (options8.headers) { + const headersList = getHeadersList(new Headers2(options8.headers)); request2.headersList = headersList; } const keyValue = crypto2.randomBytes(16).toString("base64"); @@ -16900,28 +16903,28 @@ var require_connection = __commonJS({ const controller = fetching({ request: request2, useParallelQueue: true, - dispatcher: options.dispatcher, + dispatcher: options8.dispatcher, processResponse(response) { if (response.type === "error" || response.status !== 101) { - failWebsocketConnection(ws, "Received network error or non-101 status code."); + failWebsocketConnection(ws8, "Received network error or non-101 status code."); return; } if (protocols.length !== 0 && !response.headersList.get("Sec-WebSocket-Protocol")) { - failWebsocketConnection(ws, "Server did not respond with sent protocols."); + failWebsocketConnection(ws8, "Server did not respond with sent protocols."); return; } if (response.headersList.get("Upgrade")?.toLowerCase() !== "websocket") { - failWebsocketConnection(ws, 'Server did not set Upgrade header to "websocket".'); + failWebsocketConnection(ws8, 'Server did not set Upgrade header to "websocket".'); return; } if (response.headersList.get("Connection")?.toLowerCase() !== "upgrade") { - failWebsocketConnection(ws, 'Server did not set Connection header to "upgrade".'); + failWebsocketConnection(ws8, 'Server did not set Connection header to "upgrade".'); return; } const secWSAccept = response.headersList.get("Sec-WebSocket-Accept"); const digest = crypto2.createHash("sha1").update(keyValue + uid).digest("base64"); if (secWSAccept !== digest) { - failWebsocketConnection(ws, "Incorrect hash received in Sec-WebSocket-Accept header."); + failWebsocketConnection(ws8, "Incorrect hash received in Sec-WebSocket-Accept header."); return; } const secExtension = response.headersList.get("Sec-WebSocket-Extensions"); @@ -16929,7 +16932,7 @@ var require_connection = __commonJS({ if (secExtension !== null) { extensions = parseExtensions(secExtension); if (!extensions.has("permessage-deflate")) { - failWebsocketConnection(ws, "Sec-WebSocket-Extensions header does not match."); + failWebsocketConnection(ws8, "Sec-WebSocket-Extensions header does not match."); return; } } @@ -16937,7 +16940,7 @@ var require_connection = __commonJS({ if (secProtocol !== null) { const requestProtocols = getDecodeSplit("sec-websocket-protocol", request2.headersList); if (!requestProtocols.includes(secProtocol)) { - failWebsocketConnection(ws, "Protocol was not set in the opening handshake."); + failWebsocketConnection(ws8, "Protocol was not set in the opening handshake."); return; } } @@ -16956,13 +16959,13 @@ var require_connection = __commonJS({ }); return controller; } - function closeWebSocketConnection(ws, code, reason, reasonByteLength) { - if (isClosing(ws) || isClosed(ws)) { - } else if (!isEstablished(ws)) { - failWebsocketConnection(ws, "Connection was closed before it was established."); - ws[kReadyState] = states.CLOSING; - } else if (ws[kSentClose] === sentCloseFrameState.NOT_SENT) { - ws[kSentClose] = sentCloseFrameState.PROCESSING; + function closeWebSocketConnection(ws8, code, reason, reasonByteLength) { + if (isClosing(ws8) || isClosed(ws8)) { + } else if (!isEstablished(ws8)) { + failWebsocketConnection(ws8, "Connection was closed before it was established."); + ws8[kReadyState] = states.CLOSING; + } else if (ws8[kSentClose] === sentCloseFrameState.NOT_SENT) { + ws8[kSentClose] = sentCloseFrameState.PROCESSING; const frame = new WebsocketFrameSend(); if (code !== void 0 && reason === void 0) { frame.frameData = Buffer.allocUnsafe(2); @@ -16974,12 +16977,12 @@ var require_connection = __commonJS({ } else { frame.frameData = emptyBuffer; } - const socket = ws[kResponse].socket; + const socket = ws8[kResponse].socket; socket.write(frame.createFrame(opcodes.CLOSE)); - ws[kSentClose] = sentCloseFrameState.SENT; - ws[kReadyState] = states.CLOSING; + ws8[kSentClose] = sentCloseFrameState.SENT; + ws8[kReadyState] = states.CLOSING; } else { - ws[kReadyState] = states.CLOSING; + ws8[kReadyState] = states.CLOSING; } } function onSocketData(chunk) { @@ -16988,38 +16991,38 @@ var require_connection = __commonJS({ } } function onSocketClose() { - const { ws } = this; - const { [kResponse]: response } = ws; + const { ws: ws8 } = this; + const { [kResponse]: response } = ws8; response.socket.off("data", onSocketData); response.socket.off("close", onSocketClose); response.socket.off("error", onSocketError); - const wasClean = ws[kSentClose] === sentCloseFrameState.SENT && ws[kReceivedClose]; + const wasClean = ws8[kSentClose] === sentCloseFrameState.SENT && ws8[kReceivedClose]; let code = 1005; let reason = ""; - const result = ws[kByteParser].closingInfo; + const result = ws8[kByteParser].closingInfo; if (result && !result.error) { code = result.code ?? 1005; reason = result.reason; - } else if (!ws[kReceivedClose]) { + } else if (!ws8[kReceivedClose]) { code = 1006; } - ws[kReadyState] = states.CLOSED; - fireEvent("close", ws, (type, init) => new CloseEvent(type, init), { + ws8[kReadyState] = states.CLOSED; + fireEvent("close", ws8, (type, init) => new CloseEvent(type, init), { wasClean, code, reason }); if (channels.close.hasSubscribers) { channels.close.publish({ - websocket: ws, + websocket: ws8, code, reason }); } } function onSocketError(error2) { - const { ws } = this; - ws[kReadyState] = states.CLOSING; + const { ws: ws8 } = this; + ws8[kReadyState] = states.CLOSING; if (channels.socketError.hasSubscribers) { channels.socketError.publish(error2); } @@ -17057,10 +17060,10 @@ var require_permessage_deflate = __commonJS({ * @param {Map} extensions * @param {{ maxDecompressedMessageSize?: number }} [options] */ - constructor(extensions, options = {}) { + constructor(extensions, options8 = {}) { this.#options.serverNoContextTakeover = extensions.has("server_no_context_takeover"); this.#options.serverMaxWindowBits = extensions.get("server_max_window_bits"); - this.#maxDecompressedSize = options.maxDecompressedMessageSize ?? kDefaultMaxDecompressedSize; + this.#maxDecompressedSize = options8.maxDecompressedMessageSize ?? kDefaultMaxDecompressedSize; } decompress(chunk, fin, callback) { if (this.#aborted) { @@ -17095,9 +17098,9 @@ var require_permessage_deflate = __commonJS({ this.#inflate.destroy(); this.#inflate = null; if (this.#currentCallback) { - const cb = this.#currentCallback; + const cb2 = this.#currentCallback; this.#currentCallback = null; - cb(new MessageSizeExceededError()); + cb2(new MessageSizeExceededError()); } return; } @@ -17134,7 +17137,7 @@ var require_receiver = __commonJS({ "node_modules/undici/lib/web/websocket/receiver.js"(exports, module) { "use strict"; var { Writable } = __require("node:stream"); - var assert = __require("node:assert"); + var assert4 = __require("node:assert"); var { parserStates, opcodes, states, emptyBuffer, sentCloseFrameState } = require_constants5(); var { kReadyState, kSentClose, kResponse, kReceivedClose } = require_symbols5(); var { channels } = require_diagnostics(); @@ -17167,20 +17170,20 @@ var require_receiver = __commonJS({ * @param {Map|null} extensions * @param {{ maxDecompressedMessageSize?: number }} [options] */ - constructor(ws, extensions, options = {}) { + constructor(ws8, extensions, options8 = {}) { super(); - this.ws = ws; + this.ws = ws8; this.#extensions = extensions == null ? /* @__PURE__ */ new Map() : extensions; - this.#options = options; + this.#options = options8; if (this.#extensions.has("permessage-deflate")) { - this.#extensions.set("permessage-deflate", new PerMessageDeflate(extensions, options)); + this.#extensions.set("permessage-deflate", new PerMessageDeflate(extensions, options8)); } } /** * @param {Buffer} chunk * @param {() => void} callback */ - _write(chunk, _, callback) { + _write(chunk, _9, callback) { this.#buffers.push(chunk); this.#byteOffset += chunk.length; this.#loop = true; @@ -17197,15 +17200,15 @@ var require_receiver = __commonJS({ if (this.#byteOffset < 2) { return callback(); } - const buffer = this.consume(2); - const fin = (buffer[0] & 128) !== 0; - const opcode = buffer[0] & 15; - const masked = (buffer[1] & 128) === 128; + const buffer2 = this.consume(2); + const fin = (buffer2[0] & 128) !== 0; + const opcode = buffer2[0] & 15; + const masked = (buffer2[1] & 128) === 128; const fragmented = !fin && opcode !== opcodes.CONTINUATION; - const payloadLength = buffer[1] & 127; - const rsv1 = buffer[0] & 64; - const rsv2 = buffer[0] & 32; - const rsv3 = buffer[0] & 16; + const payloadLength = buffer2[1] & 127; + const rsv1 = buffer2[0] & 64; + const rsv2 = buffer2[0] & 32; + const rsv3 = buffer2[0] & 16; if (!isValidOpcode(opcode)) { failWebsocketConnection(this.ws, "Invalid opcode received"); return callback(); @@ -17262,16 +17265,16 @@ var require_receiver = __commonJS({ if (this.#byteOffset < 2) { return callback(); } - const buffer = this.consume(2); - this.#info.payloadLength = buffer.readUInt16BE(0); + const buffer2 = this.consume(2); + this.#info.payloadLength = buffer2.readUInt16BE(0); this.#state = parserStates.READ_DATA; } else if (this.#state === parserStates.PAYLOADLENGTH_64) { if (this.#byteOffset < 8) { return callback(); } - const buffer = this.consume(8); - const upper = buffer.readUInt32BE(0); - const lower2 = buffer.readUInt32BE(4); + const buffer2 = this.consume(8); + const upper = buffer2.readUInt32BE(0); + const lower2 = buffer2.readUInt32BE(4); if (upper !== 0 || lower2 > 2 ** 31 - 1) { failWebsocketConnection(this.ws, "Received payload length > 2^31 bytes."); return; @@ -17326,38 +17329,38 @@ var require_receiver = __commonJS({ * @param {number} n * @returns {Buffer} */ - consume(n2) { - if (n2 > this.#byteOffset) { + consume(n5) { + if (n5 > this.#byteOffset) { throw new Error("Called consume() before buffers satiated."); - } else if (n2 === 0) { + } else if (n5 === 0) { return emptyBuffer; } - if (this.#buffers[0].length === n2) { + if (this.#buffers[0].length === n5) { this.#byteOffset -= this.#buffers[0].length; return this.#buffers.shift(); } - const buffer = Buffer.allocUnsafe(n2); + const buffer2 = Buffer.allocUnsafe(n5); let offset = 0; - while (offset !== n2) { + while (offset !== n5) { const next2 = this.#buffers[0]; const { length: length3 } = next2; - if (length3 + offset === n2) { - buffer.set(this.#buffers.shift(), offset); + if (length3 + offset === n5) { + buffer2.set(this.#buffers.shift(), offset); break; - } else if (length3 + offset > n2) { - buffer.set(next2.subarray(0, n2 - offset), offset); - this.#buffers[0] = next2.subarray(n2 - offset); + } else if (length3 + offset > n5) { + buffer2.set(next2.subarray(0, n5 - offset), offset); + this.#buffers[0] = next2.subarray(n5 - offset); break; } else { - buffer.set(this.#buffers.shift(), offset); + buffer2.set(this.#buffers.shift(), offset); offset += next2.length; } } - this.#byteOffset -= n2; - return buffer; + this.#byteOffset -= n5; + return buffer2; } parseCloseBody(data2) { - assert(data2.length !== 1); + assert4(data2.length !== 1); let code; if (data2.length >= 2) { code = data2.readUInt16BE(0); @@ -17464,15 +17467,15 @@ var require_sender = __commonJS({ constructor(socket) { this.#socket = socket; } - add(item, cb, hint) { + add(item, cb2, hint) { if (hint !== sendHints.blob) { const frame = createFrame(item, hint); if (!this.#running) { - this.#socket.write(frame, cb); + this.#socket.write(frame, cb2); } else { const node3 = { promise: null, - callback: cb, + callback: cb2, frame }; this.#queue.push(node3); @@ -17480,11 +17483,11 @@ var require_sender = __commonJS({ return; } const node2 = { - promise: item.arrayBuffer().then((ab) => { + promise: item.arrayBuffer().then((ab2) => { node2.promise = null; - node2.frame = createFrame(ab, hint); + node2.frame = createFrame(ab2, hint); }), - callback: cb, + callback: cb2, frame: null }; this.#queue.push(node2); @@ -17573,20 +17576,20 @@ var require_websocket = __commonJS({ * @param {string} url * @param {string|string[]} protocols */ - constructor(url, protocols = []) { + constructor(url3, protocols = []) { super(); webidl.util.markAsUncloneable(this); const prefix = "WebSocket constructor"; webidl.argumentLengthCheck(arguments, 1, prefix); - const options = webidl.converters["DOMString or sequence or WebSocketInit"](protocols, prefix, "options"); - url = webidl.converters.USVString(url, prefix, "url"); - protocols = options.protocols; + const options8 = webidl.converters["DOMString or sequence or WebSocketInit"](protocols, prefix, "options"); + url3 = webidl.converters.USVString(url3, prefix, "url"); + protocols = options8.protocols; const baseURL = environmentSettingsObject.settingsObject.baseUrl; let urlRecord; try { - urlRecord = new URL(url, baseURL); - } catch (e) { - throw new DOMException(e, "SyntaxError"); + urlRecord = new URL(url3, baseURL); + } catch (e7) { + throw new DOMException(e7, "SyntaxError"); } if (urlRecord.protocol === "http:") { urlRecord.protocol = "ws:"; @@ -17605,15 +17608,15 @@ var require_websocket = __commonJS({ if (typeof protocols === "string") { protocols = [protocols]; } - if (protocols.length !== new Set(protocols.map((p) => p.toLowerCase())).size) { + if (protocols.length !== new Set(protocols.map((p4) => p4.toLowerCase())).size) { throw new DOMException("Invalid Sec-WebSocket-Protocol value", "SyntaxError"); } - if (protocols.length > 0 && !protocols.every((p) => isValidSubprotocol(p))) { + if (protocols.length > 0 && !protocols.every((p4) => isValidSubprotocol(p4))) { throw new DOMException("Invalid Sec-WebSocket-Protocol value", "SyntaxError"); } this[kWebSocketURL] = new URL(urlRecord.href); this.#options = { - maxDecompressedMessageSize: options.maxDecompressedMessageSize + maxDecompressedMessageSize: options8.maxDecompressedMessageSize }; const client = environmentSettingsObject.settingsObject; this[kController] = establishWebSocketConnection( @@ -17622,7 +17625,7 @@ var require_websocket = __commonJS({ client, this, (response, extensions) => this.#onConnectionEstablished(response, extensions), - options + options8 ); this[kReadyState] = _WebSocket.CONNECTING; this[kSentClose] = sentCloseFrameState.NOT_SENT; @@ -17721,14 +17724,14 @@ var require_websocket = __commonJS({ webidl.brandCheck(this, _WebSocket); return this.#events.open; } - set onopen(fn) { + set onopen(fn9) { webidl.brandCheck(this, _WebSocket); if (this.#events.open) { this.removeEventListener("open", this.#events.open); } - if (typeof fn === "function") { - this.#events.open = fn; - this.addEventListener("open", fn); + if (typeof fn9 === "function") { + this.#events.open = fn9; + this.addEventListener("open", fn9); } else { this.#events.open = null; } @@ -17737,14 +17740,14 @@ var require_websocket = __commonJS({ webidl.brandCheck(this, _WebSocket); return this.#events.error; } - set onerror(fn) { + set onerror(fn9) { webidl.brandCheck(this, _WebSocket); if (this.#events.error) { this.removeEventListener("error", this.#events.error); } - if (typeof fn === "function") { - this.#events.error = fn; - this.addEventListener("error", fn); + if (typeof fn9 === "function") { + this.#events.error = fn9; + this.addEventListener("error", fn9); } else { this.#events.error = null; } @@ -17753,14 +17756,14 @@ var require_websocket = __commonJS({ webidl.brandCheck(this, _WebSocket); return this.#events.close; } - set onclose(fn) { + set onclose(fn9) { webidl.brandCheck(this, _WebSocket); if (this.#events.close) { this.removeEventListener("close", this.#events.close); } - if (typeof fn === "function") { - this.#events.close = fn; - this.addEventListener("close", fn); + if (typeof fn9 === "function") { + this.#events.close = fn9; + this.addEventListener("close", fn9); } else { this.#events.close = null; } @@ -17769,14 +17772,14 @@ var require_websocket = __commonJS({ webidl.brandCheck(this, _WebSocket); return this.#events.message; } - set onmessage(fn) { + set onmessage(fn9) { webidl.brandCheck(this, _WebSocket); if (this.#events.message) { this.removeEventListener("message", this.#events.message); } - if (typeof fn === "function") { - this.#events.message = fn; - this.addEventListener("message", fn); + if (typeof fn9 === "function") { + this.#events.message = fn9; + this.addEventListener("message", fn9); } else { this.#events.message = null; } @@ -17853,11 +17856,11 @@ var require_websocket = __commonJS({ webidl.converters["sequence"] = webidl.sequenceConverter( webidl.converters.DOMString ); - webidl.converters["DOMString or sequence"] = function(V, prefix, argument) { - if (webidl.util.Type(V) === "Object" && Symbol.iterator in V) { - return webidl.converters["sequence"](V); + webidl.converters["DOMString or sequence"] = function(V11, prefix, argument) { + if (webidl.util.Type(V11) === "Object" && Symbol.iterator in V11) { + return webidl.converters["sequence"](V11); } - return webidl.converters.DOMString(V, prefix, argument); + return webidl.converters.DOMString(V11, prefix, argument); }; webidl.converters.WebSocketInit = webidl.dictionaryConverter([ { @@ -17876,34 +17879,34 @@ var require_websocket = __commonJS({ }, { key: "maxDecompressedMessageSize", - converter: webidl.nullableConverter((V) => { - V = webidl.converters["unsigned long long"](V); - if (V <= 0) { + converter: webidl.nullableConverter((V11) => { + V11 = webidl.converters["unsigned long long"](V11); + if (V11 <= 0) { throw webidl.errors.exception({ header: "WebSocket constructor", message: "maxDecompressedMessageSize must be greater than 0" }); } - return V; + return V11; }) } ]); - webidl.converters["DOMString or sequence or WebSocketInit"] = function(V) { - if (webidl.util.Type(V) === "Object" && !(Symbol.iterator in V)) { - return webidl.converters.WebSocketInit(V); + webidl.converters["DOMString or sequence or WebSocketInit"] = function(V11) { + if (webidl.util.Type(V11) === "Object" && !(Symbol.iterator in V11)) { + return webidl.converters.WebSocketInit(V11); } - return { protocols: webidl.converters["DOMString or sequence"](V) }; + return { protocols: webidl.converters["DOMString or sequence"](V11) }; }; - webidl.converters.WebSocketSendData = function(V) { - if (webidl.util.Type(V) === "Object") { - if (isBlobLike(V)) { - return webidl.converters.Blob(V, { strict: false }); + webidl.converters.WebSocketSendData = function(V11) { + if (webidl.util.Type(V11) === "Object") { + if (isBlobLike(V11)) { + return webidl.converters.Blob(V11, { strict: false }); } - if (ArrayBuffer.isView(V) || types.isArrayBuffer(V)) { - return webidl.converters.BufferSource(V); + if (ArrayBuffer.isView(V11) || types.isArrayBuffer(V11)) { + return webidl.converters.BufferSource(V11); } } - return webidl.converters.USVString(V); + return webidl.converters.USVString(V11); }; function onParserDrain() { this.ws[kResponse].socket.resume(); @@ -17935,14 +17938,14 @@ var require_util8 = __commonJS({ } function isASCIINumber(value) { if (value.length === 0) return false; - for (let i2 = 0; i2 < value.length; i2++) { - if (value.charCodeAt(i2) < 48 || value.charCodeAt(i2) > 57) return false; + for (let i5 = 0; i5 < value.length; i5++) { + if (value.charCodeAt(i5) < 48 || value.charCodeAt(i5) > 57) return false; } return true; } - function delay(ms) { - return new Promise((resolve3) => { - setTimeout(resolve3, ms).unref(); + function delay(ms8) { + return new Promise((resolve4) => { + setTimeout(resolve4, ms8).unref(); }); } module.exports = { @@ -17959,7 +17962,7 @@ var require_eventsource_stream = __commonJS({ "use strict"; var { Transform } = __require("node:stream"); var { isASCIINumber, isValidLastEventId } = require_util8(); - var BOM = [239, 187, 191]; + var BOM2 = [239, 187, 191]; var LF = 10; var CR = 13; var COLON = 58; @@ -17998,12 +18001,12 @@ var require_eventsource_stream = __commonJS({ * @param {eventSourceSettings} options.eventSourceSettings * @param {Function} [options.push] */ - constructor(options = {}) { - options.readableObjectMode = true; - super(options); - this.state = options.eventSourceSettings || {}; - if (options.push) { - this.push = options.push; + constructor(options8 = {}) { + options8.readableObjectMode = true; + super(options8); + this.state = options8.eventSourceSettings || {}; + if (options8.push) { + this.push = options8.push; } } /** @@ -18025,7 +18028,7 @@ var require_eventsource_stream = __commonJS({ if (this.checkBOM) { switch (this.buffer.length) { case 1: - if (this.buffer[0] === BOM[0]) { + if (this.buffer[0] === BOM2[0]) { callback(); return; } @@ -18033,14 +18036,14 @@ var require_eventsource_stream = __commonJS({ callback(); return; case 2: - if (this.buffer[0] === BOM[0] && this.buffer[1] === BOM[1]) { + if (this.buffer[0] === BOM2[0] && this.buffer[1] === BOM2[1]) { callback(); return; } this.checkBOM = false; break; case 3: - if (this.buffer[0] === BOM[0] && this.buffer[1] === BOM[1] && this.buffer[2] === BOM[2]) { + if (this.buffer[0] === BOM2[0] && this.buffer[1] === BOM2[1] && this.buffer[2] === BOM2[2]) { this.buffer = Buffer.alloc(0); this.checkBOM = false; callback(); @@ -18049,7 +18052,7 @@ var require_eventsource_stream = __commonJS({ this.checkBOM = false; break; default: - if (this.buffer[0] === BOM[0] && this.buffer[1] === BOM[1] && this.buffer[2] === BOM[2]) { + if (this.buffer[0] === BOM2[0] && this.buffer[1] === BOM2[1] && this.buffer[2] === BOM2[2]) { this.buffer = this.buffer.subarray(3); } this.checkBOM = false; @@ -18100,25 +18103,25 @@ var require_eventsource_stream = __commonJS({ * @param {Buffer} line * @param {EventStreamEvent} event */ - parseLine(line, event) { - if (line.length === 0) { + parseLine(line3, event) { + if (line3.length === 0) { return; } - const colonPosition = line.indexOf(COLON); + const colonPosition = line3.indexOf(COLON); if (colonPosition === 0) { return; } let field = ""; let value = ""; if (colonPosition !== -1) { - field = line.subarray(0, colonPosition).toString("utf8"); + field = line3.subarray(0, colonPosition).toString("utf8"); let valueStart = colonPosition + 1; - if (line[valueStart] === SPACE) { + if (line3[valueStart] === SPACE) { ++valueStart; } - value = line.subarray(valueStart).toString("utf8"); + value = line3.subarray(valueStart).toString("utf8"); } else { - field = line.toString("utf8"); + field = line3.toString("utf8"); value = ""; } switch (field) { @@ -18227,7 +18230,7 @@ var require_eventsource = __commonJS({ * @param {EventSourceInit} [eventSourceInitDict] * @see https://html.spec.whatwg.org/multipage/server-sent-events.html#the-eventsource-interface */ - constructor(url, eventSourceInitDict = {}) { + constructor(url3, eventSourceInitDict = {}) { super(); webidl.util.markAsUncloneable(this); const prefix = "EventSource constructor"; @@ -18238,7 +18241,7 @@ var require_eventsource = __commonJS({ code: "UNDICI-ES" }); } - url = webidl.converters.USVString(url, prefix, "url"); + url3 = webidl.converters.USVString(url3, prefix, "url"); eventSourceInitDict = webidl.converters.EventSourceInitDict(eventSourceInitDict, prefix, "eventSourceInitDict"); this.#dispatcher = eventSourceInitDict.dispatcher; this.#state = { @@ -18248,10 +18251,10 @@ var require_eventsource = __commonJS({ const settings = environmentSettingsObject; let urlRecord; try { - urlRecord = new URL(url, settings.settingsObject.baseUrl); + urlRecord = new URL(url3, settings.settingsObject.baseUrl); this.#state.origin = urlRecord.origin; - } catch (e) { - throw new DOMException(e, "SyntaxError"); + } catch (e7) { + throw new DOMException(e7, "SyntaxError"); } this.#url = urlRecord.href; let corsAttributeState = ANONYMOUS; @@ -18387,13 +18390,13 @@ var require_eventsource = __commonJS({ get onopen() { return this.#events.open; } - set onopen(fn) { + set onopen(fn9) { if (this.#events.open) { this.removeEventListener("open", this.#events.open); } - if (typeof fn === "function") { - this.#events.open = fn; - this.addEventListener("open", fn); + if (typeof fn9 === "function") { + this.#events.open = fn9; + this.addEventListener("open", fn9); } else { this.#events.open = null; } @@ -18401,13 +18404,13 @@ var require_eventsource = __commonJS({ get onmessage() { return this.#events.message; } - set onmessage(fn) { + set onmessage(fn9) { if (this.#events.message) { this.removeEventListener("message", this.#events.message); } - if (typeof fn === "function") { - this.#events.message = fn; - this.addEventListener("message", fn); + if (typeof fn9 === "function") { + this.#events.message = fn9; + this.addEventListener("message", fn9); } else { this.#events.message = null; } @@ -18415,13 +18418,13 @@ var require_eventsource = __commonJS({ get onerror() { return this.#events.error; } - set onerror(fn) { + set onerror(fn9) { if (this.#events.error) { this.removeEventListener("error", this.#events.error); } - if (typeof fn === "function") { - this.#events.error = fn; - this.addEventListener("error", fn); + if (typeof fn9 === "function") { + this.#events.error = fn9; + this.addEventListener("error", fn9); } else { this.#events.error = null; } @@ -18493,7 +18496,7 @@ var require_undici = __commonJS({ var EnvHttpProxyAgent = require_env_http_proxy_agent(); var RetryAgent = require_retry_agent(); var errors = require_errors(); - var util = require_util(); + var util2 = require_util(); var { InvalidArgumentError } = errors; var api = require_api(); var buildConnector = require_connect(); @@ -18528,16 +18531,16 @@ var require_undici = __commonJS({ module.exports.buildConnector = buildConnector; module.exports.errors = errors; module.exports.util = { - parseHeaders: util.parseHeaders, - headerNameToString: util.headerNameToString + parseHeaders: util2.parseHeaders, + headerNameToString: util2.headerNameToString }; - function makeDispatcher(fn) { - return (url, opts, handler2) => { + function makeDispatcher(fn9) { + return (url3, opts, handler2) => { if (typeof opts === "function") { handler2 = opts; opts = null; } - if (!url || typeof url !== "string" && typeof url !== "object" && !(url instanceof URL)) { + if (!url3 || typeof url3 !== "string" && typeof url3 !== "object" && !(url3 instanceof URL)) { throw new InvalidArgumentError("invalid url"); } if (opts != null && typeof opts !== "object") { @@ -18547,25 +18550,25 @@ var require_undici = __commonJS({ if (typeof opts.path !== "string") { throw new InvalidArgumentError("invalid opts.path"); } - let path7 = opts.path; + let path19 = opts.path; if (!opts.path.startsWith("/")) { - path7 = `/${path7}`; + path19 = `/${path19}`; } - url = new URL(util.parseOrigin(url).origin + path7); + url3 = new URL(util2.parseOrigin(url3).origin + path19); } else { if (!opts) { - opts = typeof url === "object" ? url : {}; + opts = typeof url3 === "object" ? url3 : {}; } - url = util.parseURL(url); + url3 = util2.parseURL(url3); } const { agent, dispatcher = getGlobalDispatcher() } = opts; if (agent) { throw new InvalidArgumentError("unsupported opts.agent. Did you mean opts.client?"); } - return fn.call(dispatcher, { + return fn9.call(dispatcher, { ...opts, - origin: url.origin, - path: url.search ? `${url.pathname}${url.search}` : url.pathname, + origin: url3.origin, + path: url3.search ? `${url3.pathname}${url3.search}` : url3.pathname, method: opts.method || (opts.body ? "PUT" : "GET") }, handler2); }; @@ -18573,9 +18576,9 @@ var require_undici = __commonJS({ module.exports.setGlobalDispatcher = setGlobalDispatcher; module.exports.getGlobalDispatcher = getGlobalDispatcher; var fetchImpl = require_fetch().fetch; - module.exports.fetch = async function fetch2(init, options = void 0) { + module.exports.fetch = async function fetch2(init, options8 = void 0) { try { - return await fetchImpl(init, options); + return await fetchImpl(init, options8); } catch (err) { if (err && typeof err === "object") { Error.captureStackTrace(err); @@ -18644,7 +18647,7 @@ var require_proxy = __commonJS({ if (proxyVar) { try { return new DecodedURL(proxyVar); - } catch (_a) { + } catch (_a6) { if (!proxyVar.startsWith("http://") && !proxyVar.startsWith("https://")) return new DecodedURL(`http://${proxyVar}`); } @@ -18676,8 +18679,8 @@ var require_proxy = __commonJS({ if (typeof reqPort === "number") { upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`); } - for (const upperNoProxyItem of noProxy.split(",").map((x5) => x5.trim().toUpperCase()).filter((x5) => x5)) { - if (upperNoProxyItem === "*" || upperReqHosts.some((x5) => x5 === upperNoProxyItem || x5.endsWith(`.${upperNoProxyItem}`) || upperNoProxyItem.startsWith(".") && x5.endsWith(`${upperNoProxyItem}`))) { + for (const upperNoProxyItem of noProxy.split(",").map((x12) => x12.trim().toUpperCase()).filter((x12) => x12)) { + if (upperNoProxyItem === "*" || upperReqHosts.some((x12) => x12 === upperNoProxyItem || x12.endsWith(`.${upperNoProxyItem}`) || upperNoProxyItem.startsWith(".") && x12.endsWith(`${upperNoProxyItem}`))) { return true; } } @@ -18688,8 +18691,8 @@ var require_proxy = __commonJS({ return hostLower === "localhost" || hostLower.startsWith("127.") || hostLower.startsWith("[::1]") || hostLower.startsWith("[0:0:0:0:0:0:0:1]"); } var DecodedURL = class extends URL { - constructor(url, base) { - super(url, base); + constructor(url3, base) { + super(url3, base); this._decodedUsername = decodeURIComponent(super.username); this._decodedPassword = decodeURIComponent(super.password); } @@ -18707,66 +18710,66 @@ var require_proxy = __commonJS({ var require_lib = __commonJS({ "node_modules/@actions/http-client/lib/index.js"(exports) { "use strict"; - var __createBinding = exports && exports.__createBinding || (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)) { + var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o5, m7, k8, k24) { + if (k24 === void 0) k24 = k8; + var desc = Object.getOwnPropertyDescriptor(m7, k8); + if (!desc || ("get" in desc ? !m7.__esModule : desc.writable || desc.configurable)) { desc = { enumerable: true, get: function() { - return m[k]; + return m7[k8]; } }; } - Object.defineProperty(o, k2, desc); - }) : (function(o, m, k, k2) { - if (k2 === void 0) k2 = k; - o[k2] = m[k]; + Object.defineProperty(o5, k24, desc); + }) : (function(o5, m7, k8, k24) { + if (k24 === void 0) k24 = k8; + o5[k24] = m7[k8]; })); - var __setModuleDefault = exports && exports.__setModuleDefault || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); - }) : function(o, v) { - o["default"] = v; + var __setModuleDefault = exports && exports.__setModuleDefault || (Object.create ? (function(o5, v9) { + Object.defineProperty(o5, "default", { enumerable: true, value: v9 }); + }) : function(o5, v9) { + o5["default"] = v9; }); var __importStar = exports && exports.__importStar || /* @__PURE__ */ (function() { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function(o2) { - var ar = []; - for (var k in o2) if (Object.prototype.hasOwnProperty.call(o2, k)) ar[ar.length] = k; - return ar; + var ownKeys = function(o5) { + ownKeys = Object.getOwnPropertyNames || function(o7) { + var ar9 = []; + for (var k8 in o7) if (Object.prototype.hasOwnProperty.call(o7, k8)) ar9[ar9.length] = k8; + return ar9; }; - return ownKeys(o); + return ownKeys(o5); }; return function(mod) { if (mod && mod.__esModule) return mod; var result = {}; if (mod != null) { - for (var k = ownKeys(mod), i2 = 0; i2 < k.length; i2++) if (k[i2] !== "default") __createBinding(result, mod, k[i2]); + for (var k8 = ownKeys(mod), i5 = 0; i5 < k8.length; i5++) if (k8[i5] !== "default") __createBinding(result, mod, k8[i5]); } __setModuleDefault(result, mod); return result; }; })(); - var __awaiter3 = exports && exports.__awaiter || function(thisArg, _arguments, P, generator) { + var __awaiter3 = exports && exports.__awaiter || function(thisArg, _arguments, P8, generator) { function adopt2(value) { - return value instanceof P ? value : new P(function(resolve3) { - resolve3(value); + return value instanceof P8 ? value : new P8(function(resolve4) { + resolve4(value); }); } - return new (P || (P = Promise))(function(resolve3, reject) { + return new (P8 || (P8 = Promise))(function(resolve4, reject) { function fulfilled(value) { try { step(generator.next(value)); - } catch (e) { - reject(e); + } catch (e7) { + reject(e7); } } function rejected(value) { try { step(generator["throw"](value)); - } catch (e) { - reject(e); + } catch (e7) { + reject(e7); } } function step(result) { - result.done ? resolve3(result.value) : adopt2(result.value).then(fulfilled, rejected); + result.done ? resolve4(result.value) : adopt2(result.value).then(fulfilled, rejected); } step((generator = generator.apply(thisArg, _arguments || [])).next()); }); @@ -18777,7 +18780,7 @@ var require_lib = __commonJS({ exports.isHttps = isHttps; var http = __importStar(__require("http")); var https = __importStar(__require("https")); - var pm = __importStar(require_proxy()); + var pm3 = __importStar(require_proxy()); var tunnel2 = __importStar(require_tunnel2()); var undici_1 = require_undici(); var HttpCodes2; @@ -18820,7 +18823,7 @@ var require_lib = __commonJS({ MediaTypes3["ApplicationJson"] = "application/json"; })(MediaTypes2 || (exports.MediaTypes = MediaTypes2 = {})); function getProxyUrl2(serverUrl) { - const proxyUrl = pm.getProxyUrl(new URL(serverUrl)); + const proxyUrl = pm3.getProxyUrl(new URL(serverUrl)); return proxyUrl ? proxyUrl.href : ""; } var HttpRedirectCodes2 = [ @@ -18853,26 +18856,26 @@ var require_lib = __commonJS({ } readBody() { return __awaiter3(this, void 0, void 0, function* () { - return new Promise((resolve3) => __awaiter3(this, void 0, void 0, function* () { + return new Promise((resolve4) => __awaiter3(this, void 0, void 0, function* () { let output = Buffer.alloc(0); this.message.on("data", (chunk) => { output = Buffer.concat([output, chunk]); }); this.message.on("end", () => { - resolve3(output.toString()); + resolve4(output.toString()); }); })); }); } readBodyBuffer() { return __awaiter3(this, void 0, void 0, function* () { - return new Promise((resolve3) => __awaiter3(this, void 0, void 0, function* () { + return new Promise((resolve4) => __awaiter3(this, void 0, void 0, function* () { const chunks = []; this.message.on("data", (chunk) => { chunks.push(chunk); }); this.message.on("end", () => { - resolve3(Buffer.concat(chunks)); + resolve4(Buffer.concat(chunks)); }); })); }); @@ -19080,14 +19083,14 @@ var require_lib = __commonJS({ */ requestRaw(info2, data2) { return __awaiter3(this, void 0, void 0, function* () { - return new Promise((resolve3, reject) => { + return new Promise((resolve4, reject) => { function callbackForResult(err, res) { if (err) { reject(err); } else if (!res) { reject(new Error("Unknown error")); } else { - resolve3(res); + resolve4(res); } } this.requestRawWithCallback(info2, data2, callbackForResult); @@ -19154,7 +19157,7 @@ var require_lib = __commonJS({ } getAgentDispatcher(serverUrl) { const parsedUrl = new URL(serverUrl); - const proxyUrl = pm.getProxyUrl(parsedUrl); + const proxyUrl = pm3.getProxyUrl(parsedUrl); const useProxy = proxyUrl && proxyUrl.hostname; if (!useProxy) { return; @@ -19252,7 +19255,7 @@ var require_lib = __commonJS({ } _getAgent(parsedUrl) { let agent; - const proxyUrl = pm.getProxyUrl(parsedUrl); + const proxyUrl = pm3.getProxyUrl(parsedUrl); const useProxy = proxyUrl && proxyUrl.hostname; if (this._keepAlive && useProxy) { agent = this._proxyAgent; @@ -19287,8 +19290,8 @@ var require_lib = __commonJS({ this._proxyAgent = agent; } if (!agent) { - const options = { keepAlive: this._keepAlive, maxSockets }; - agent = usingSsl ? new https.Agent(options) : new http.Agent(options); + const options8 = { keepAlive: this._keepAlive, maxSockets }; + agent = usingSsl ? new https.Agent(options8) : new http.Agent(options8); this._agent = agent; } if (usingSsl && this._ignoreSslError) { @@ -19330,13 +19333,13 @@ var require_lib = __commonJS({ _performExponentialBackoff(retryNumber) { return __awaiter3(this, void 0, void 0, function* () { retryNumber = Math.min(ExponentialBackoffCeiling, retryNumber); - const ms = ExponentialBackoffTimeSlice * Math.pow(2, retryNumber); - return new Promise((resolve3) => setTimeout(() => resolve3(), ms)); + const ms8 = ExponentialBackoffTimeSlice * Math.pow(2, retryNumber); + return new Promise((resolve4) => setTimeout(() => resolve4(), ms8)); }); } - _processResponse(res, options) { + _processResponse(res, options8) { return __awaiter3(this, void 0, void 0, function* () { - return new Promise((resolve3, reject) => __awaiter3(this, void 0, void 0, function* () { + return new Promise((resolve4, reject) => __awaiter3(this, void 0, void 0, function* () { const statusCode = res.message.statusCode || 0; const response = { statusCode, @@ -19344,13 +19347,13 @@ var require_lib = __commonJS({ headers: {} }; if (statusCode === HttpCodes2.NotFound) { - resolve3(response); + resolve4(response); } - function dateTimeDeserializer(key, value) { + function dateTimeDeserializer(key2, value) { if (typeof value === "string") { - const a = new Date(value); - if (!isNaN(a.valueOf())) { - return a; + const a5 = new Date(value); + if (!isNaN(a5.valueOf())) { + return a5; } } return value; @@ -19360,7 +19363,7 @@ var require_lib = __commonJS({ try { contents = yield res.readBody(); if (contents && contents.length > 0) { - if (options && options.deserializeDates) { + if (options8 && options8.deserializeDates) { obj = JSON.parse(contents, dateTimeDeserializer); } else { obj = JSON.parse(contents); @@ -19383,14 +19386,14 @@ var require_lib = __commonJS({ err.result = response.result; reject(err); } else { - resolve3(response); + resolve4(response); } })); }); } }; exports.HttpClient = HttpClient3; - var lowercaseKeys2 = (obj) => Object.keys(obj).reduce((c, k) => (c[k.toLowerCase()] = obj[k], c), {}); + var lowercaseKeys2 = (obj) => Object.keys(obj).reduce((c7, k8) => (c7[k8.toLowerCase()] = obj[k8], c7), {}); } }); @@ -19407,7 +19410,7 @@ var require_fast_content_type_parse = __commonJS({ var defaultContentType = { type: "", parameters: new NullObject() }; Object.freeze(defaultContentType.parameters); Object.freeze(defaultContentType); - function parse2(header) { + function parse7(header) { if (typeof header !== "string") { throw new TypeError("argument header is required and must be a string"); } @@ -19423,7 +19426,7 @@ var require_fast_content_type_parse = __commonJS({ if (index === -1) { return result; } - let key; + let key2; let match; let value; paramRE.lastIndex = index; @@ -19432,13 +19435,13 @@ var require_fast_content_type_parse = __commonJS({ throw new TypeError("invalid parameter format"); } index += match[0].length; - key = match[1].toLowerCase(); + key2 = match[1].toLowerCase(); value = match[2]; if (value[0] === '"') { value = value.slice(1, value.length - 1); quotedPairRE.test(value) && (value = value.replace(quotedPairRE, "$1")); } - result.parameters[key] = value; + result.parameters[key2] = value; } if (index !== header.length) { throw new TypeError("invalid parameter format"); @@ -19461,7 +19464,7 @@ var require_fast_content_type_parse = __commonJS({ if (index === -1) { return result; } - let key; + let key2; let match; let value; paramRE.lastIndex = index; @@ -19470,21 +19473,21 @@ var require_fast_content_type_parse = __commonJS({ return defaultContentType; } index += match[0].length; - key = match[1].toLowerCase(); + key2 = match[1].toLowerCase(); value = match[2]; if (value[0] === '"') { value = value.slice(1, value.length - 1); quotedPairRE.test(value) && (value = value.replace(quotedPairRE, "$1")); } - result.parameters[key] = value; + result.parameters[key2] = value; } if (index !== header.length) { return defaultContentType; } return result; } - module.exports.default = { parse: parse2, safeParse: safeParse2 }; - module.exports.parse = parse2; + module.exports.default = { parse: parse7, safeParse: safeParse2 }; + module.exports.parse = parse7; module.exports.safeParse = safeParse2; module.exports.defaultContentType = defaultContentType; } @@ -19497,23 +19500,23 @@ var require_async = __commonJS({ typeof exports === "object" && typeof module !== "undefined" ? factory(exports) : typeof define === "function" && define.amd ? define(["exports"], factory) : (global2 = typeof globalThis !== "undefined" ? globalThis : global2 || self, factory(global2.async = {})); })(exports, (function(exports2) { "use strict"; - function apply(fn, ...args) { - return (...callArgs) => fn(...args, ...callArgs); + function apply(fn9, ...args) { + return (...callArgs) => fn9(...args, ...callArgs); } - function initialParams(fn) { + function initialParams(fn9) { return function(...args) { var callback = args.pop(); - return fn.call(this, args, callback); + return fn9.call(this, args, callback); }; } var hasQueueMicrotask = typeof queueMicrotask === "function" && queueMicrotask; var hasSetImmediate = typeof setImmediate === "function" && setImmediate; var hasNextTick = typeof process === "object" && typeof process.nextTick === "function"; - function fallback(fn) { - setTimeout(fn, 0); + function fallback(fn9) { + setTimeout(fn9, 0); } function wrap(defer) { - return (fn, ...args) => defer(() => fn(...args)); + return (fn9, ...args) => defer(() => fn9(...args)); } var _defer$1; if (hasQueueMicrotask) { @@ -19538,8 +19541,8 @@ var require_async = __commonJS({ var result; try { result = func.apply(this, args); - } catch (e) { - return callback(e); + } catch (e7) { + return callback(e7); } if (result && typeof result.then === "function") { return handlePromise(result, callback); @@ -19559,16 +19562,16 @@ var require_async = __commonJS({ try { callback(error2, value); } catch (err) { - setImmediate$1((e) => { - throw e; + setImmediate$1((e7) => { + throw e7; }, err); } } - function isAsync(fn) { - return fn[Symbol.toStringTag] === "AsyncFunction"; + function isAsync(fn9) { + return fn9[Symbol.toStringTag] === "AsyncFunction"; } - function isAsyncGenerator(fn) { - return fn[Symbol.toStringTag] === "AsyncGenerator"; + function isAsyncGenerator(fn9) { + return fn9[Symbol.toStringTag] === "AsyncGenerator"; } function isAsyncIterable(obj) { return typeof obj[Symbol.asyncIterator] === "function"; @@ -19584,10 +19587,10 @@ var require_async = __commonJS({ if (typeof args[arity - 1] === "function") { return asyncFn.apply(this, args); } - return new Promise((resolve3, reject2) => { + return new Promise((resolve4, reject2) => { args[arity - 1] = (err, ...cbArgs) => { if (err) return reject2(err); - resolve3(cbArgs.length > 1 ? cbArgs : cbArgs[0]); + resolve4(cbArgs.length > 1 ? cbArgs : cbArgs[0]); }; asyncFn.apply(this, args); }); @@ -19596,13 +19599,13 @@ var require_async = __commonJS({ } function applyEach$1(eachfn) { return function applyEach2(fns, ...callArgs) { - const go = awaitify(function(callback) { + const go3 = awaitify(function(callback) { var that = this; - return eachfn(fns, (fn, cb) => { - wrapAsync(fn).apply(that, callArgs.concat(cb)); + return eachfn(fns, (fn9, cb2) => { + wrapAsync(fn9).apply(that, callArgs.concat(cb2)); }, callback); }); - return go; + return go3; }; } function _asyncMap(eachfn, arr2, iteratee, callback) { @@ -19610,10 +19613,10 @@ var require_async = __commonJS({ var results = []; var counter = 0; var _iteratee = wrapAsync(iteratee); - return eachfn(arr2, (value, _, iterCb) => { + return eachfn(arr2, (value, _9, iterCb) => { var index2 = counter++; - _iteratee(value, (err, v) => { - results[index2] = v; + _iteratee(value, (err, v9) => { + results[index2] = v9; iterCb(err); }); }, (err) => { @@ -19624,46 +19627,46 @@ var require_async = __commonJS({ return value && typeof value.length === "number" && value.length >= 0 && value.length % 1 === 0; } const breakLoop = {}; - function once(fn) { + function once(fn9) { function wrapper(...args) { - if (fn === null) return; - var callFn = fn; - fn = null; + if (fn9 === null) return; + var callFn = fn9; + fn9 = null; callFn.apply(this, args); } - Object.assign(wrapper, fn); + Object.assign(wrapper, fn9); return wrapper; } function getIterator(coll) { return coll[Symbol.iterator] && coll[Symbol.iterator](); } function createArrayIterator(coll) { - var i2 = -1; + var i5 = -1; var len = coll.length; return function next2() { - return ++i2 < len ? { value: coll[i2], key: i2 } : null; + return ++i5 < len ? { value: coll[i5], key: i5 } : null; }; } function createES2015Iterator(iterator2) { - var i2 = -1; + var i5 = -1; return function next2() { var item = iterator2.next(); if (item.done) return null; - i2++; - return { value: item.value, key: i2 }; + i5++; + return { value: item.value, key: i5 }; }; } function createObjectIterator(obj) { var okeys = obj ? Object.keys(obj) : []; - var i2 = -1; + var i5 = -1; var len = okeys.length; return function next2() { - var key = okeys[++i2]; - if (key === "__proto__") { + var key2 = okeys[++i5]; + if (key2 === "__proto__") { return next2(); } - return i2 < len ? { value: obj[key], key } : null; + return i5 < len ? { value: obj[key2], key: key2 } : null; }; } function createIterator(coll) { @@ -19673,11 +19676,11 @@ var require_async = __commonJS({ var iterator2 = getIterator(coll); return iterator2 ? createES2015Iterator(iterator2) : createObjectIterator(coll); } - function onlyOnce(fn) { + function onlyOnce(fn9) { return function(...args) { - if (fn === null) throw new Error("Callback was already called."); - var callFn = fn; - fn = null; + if (fn9 === null) throw new Error("Callback was already called."); + var callFn = fn9; + fn9 = null; callFn.apply(this, args); }; } @@ -19833,13 +19836,13 @@ var require_async = __commonJS({ var applyEachSeries = applyEach$1(mapSeries$1); const PROMISE_SYMBOL = /* @__PURE__ */ Symbol("promiseCallback"); function promiseCallback() { - let resolve3, reject2; + let resolve4, reject2; function callback(err, ...args) { if (err) return reject2(err); - resolve3(args.length > 1 ? args : args[0]); + resolve4(args.length > 1 ? args : args[0]); } callback[PROMISE_SYMBOL] = new Promise((res, rej) => { - resolve3 = res, reject2 = rej; + resolve4 = res, reject2 = rej; }); return callback; } @@ -19864,37 +19867,37 @@ var require_async = __commonJS({ var readyTasks = []; var readyToCheck = []; var uncheckedDependencies = {}; - Object.keys(tasks).forEach((key) => { - var task = tasks[key]; + Object.keys(tasks).forEach((key2) => { + var task = tasks[key2]; if (!Array.isArray(task)) { - enqueueTask(key, [task]); - readyToCheck.push(key); + enqueueTask(key2, [task]); + readyToCheck.push(key2); return; } var dependencies = task.slice(0, task.length - 1); var remainingDependencies = dependencies.length; if (remainingDependencies === 0) { - enqueueTask(key, task); - readyToCheck.push(key); + enqueueTask(key2, task); + readyToCheck.push(key2); return; } - uncheckedDependencies[key] = remainingDependencies; + uncheckedDependencies[key2] = remainingDependencies; dependencies.forEach((dependencyName) => { if (!tasks[dependencyName]) { - throw new Error("async.auto task `" + key + "` has a non-existent dependency `" + dependencyName + "` in " + dependencies.join(", ")); + throw new Error("async.auto task `" + key2 + "` has a non-existent dependency `" + dependencyName + "` in " + dependencies.join(", ")); } addListener(dependencyName, () => { remainingDependencies--; if (remainingDependencies === 0) { - enqueueTask(key, task); + enqueueTask(key2, task); } }); }); }); checkForDeadlocks(); processQueue(); - function enqueueTask(key, task) { - readyTasks.push(() => runTask(key, task)); + function enqueueTask(key2, task) { + readyTasks.push(() => runTask(key2, task)); } function processQueue() { if (canceled) return; @@ -19906,19 +19909,19 @@ var require_async = __commonJS({ run(); } } - function addListener(taskName, fn) { + function addListener(taskName, fn9) { var taskListeners = listeners[taskName]; if (!taskListeners) { taskListeners = listeners[taskName] = []; } - taskListeners.push(fn); + taskListeners.push(fn9); } function taskComplete(taskName) { var taskListeners = listeners[taskName] || []; - taskListeners.forEach((fn) => fn()); + taskListeners.forEach((fn9) => fn9()); processQueue(); } - function runTask(key, task) { + function runTask(key2, task) { if (hasError) return; var taskCallback = onlyOnce((err, ...result) => { runningTasks--; @@ -19934,14 +19937,14 @@ var require_async = __commonJS({ Object.keys(results).forEach((rkey) => { safeResults[rkey] = results[rkey]; }); - safeResults[key] = result; + safeResults[key2] = result; hasError = true; listeners = /* @__PURE__ */ Object.create(null); if (canceled) return; callback(err, safeResults); } else { - results[key] = result; - taskComplete(key); + results[key2] = result; + taskComplete(key2); } }); runningTasks++; @@ -19972,10 +19975,10 @@ var require_async = __commonJS({ } function getDependents(taskName) { var result = []; - Object.keys(tasks).forEach((key) => { - const task = tasks[key]; + Object.keys(tasks).forEach((key2) => { + const task = tasks[key2]; if (Array.isArray(task) && task.indexOf(taskName) >= 0) { - result.push(key); + result.push(key2); } }); return result; @@ -20022,24 +20025,24 @@ var require_async = __commonJS({ } function autoInject(tasks, callback) { var newTasks = {}; - Object.keys(tasks).forEach((key) => { - var taskFn = tasks[key]; + Object.keys(tasks).forEach((key2) => { + var taskFn = tasks[key2]; var params; var fnIsAsync = isAsync(taskFn); var hasNoDeps = !fnIsAsync && taskFn.length === 1 || fnIsAsync && taskFn.length === 0; if (Array.isArray(taskFn)) { params = [...taskFn]; taskFn = params.pop(); - newTasks[key] = params.concat(params.length > 0 ? newTask : taskFn); + newTasks[key2] = params.concat(params.length > 0 ? newTask : taskFn); } else if (hasNoDeps) { - newTasks[key] = taskFn; + newTasks[key2] = taskFn; } else { params = parseParams(taskFn); if (taskFn.length === 0 && !fnIsAsync && params.length === 0) { throw new Error("autoInject task functions require explicit parameters."); } if (!fnIsAsync) params.pop(); - newTasks[key] = params.concat(newTask); + newTasks[key2] = params.concat(newTask); } function newTask(results, taskCb) { var newArgs = params.map((name) => results[name]); @@ -20139,7 +20142,7 @@ var require_async = __commonJS({ unsaturated: [], empty: [] }; - function on2(event, handler2) { + function on8(event, handler2) { events[event].push(handler2); } function once2(event, handler2) { @@ -20150,9 +20153,9 @@ var require_async = __commonJS({ events[event].push(handleAndRemove); } function off2(event, handler2) { - if (!event) return Object.keys(events).forEach((ev) => events[ev] = []); + if (!event) return Object.keys(events).forEach((ev2) => events[ev2] = []); if (!handler2) return events[event] = []; - events[event] = events[event].filter((ev) => ev !== handler2); + events[event] = events[event].filter((ev2) => ev2 !== handler2); } function trigger(event, ...args) { events[event].forEach((handler2) => handler2(...args)); @@ -20162,32 +20165,32 @@ var require_async = __commonJS({ if (callback != null && typeof callback !== "function") { throw new Error("task callback must be a function"); } - q.started = true; + q11.started = true; var res, rej; function promiseCallback2(err, ...args) { if (err) return rejectOnError ? rej(err) : res(); if (args.length <= 1) return res(args[0]); res(args); } - var item = q._createTaskItem( + var item = q11._createTaskItem( data2, rejectOnError ? promiseCallback2 : callback || promiseCallback2 ); if (insertAtFront) { - q._tasks.unshift(item); + q11._tasks.unshift(item); } else { - q._tasks.push(item); + q11._tasks.push(item); } if (!processingScheduled) { processingScheduled = true; setImmediate$1(() => { processingScheduled = false; - q.process(); + q11.process(); }); } if (rejectOnError || !callback) { - return new Promise((resolve3, reject2) => { - res = resolve3; + return new Promise((resolve4, reject2) => { + res = resolve4; rej = reject2; }); } @@ -20195,8 +20198,8 @@ var require_async = __commonJS({ function _createCB(tasks) { return function(err, ...args) { numRunning -= 1; - for (var i2 = 0, l = tasks.length; i2 < l; i2++) { - var task = tasks[i2]; + for (var i5 = 0, l5 = tasks.length; i5 < l5; i5++) { + var task = tasks[i5]; var index2 = workersList.indexOf(task); if (index2 === 0) { workersList.shift(); @@ -20208,17 +20211,17 @@ var require_async = __commonJS({ trigger("error", err, task.data); } } - if (numRunning <= q.concurrency - q.buffer) { + if (numRunning <= q11.concurrency - q11.buffer) { trigger("unsaturated"); } - if (q.idle()) { + if (q11.idle()) { trigger("drain"); } - q.process(); + q11.process(); }; } function _maybeDrain(data2) { - if (data2.length === 0 && q.idle()) { + if (data2.length === 0 && q11.idle()) { setImmediate$1(() => trigger("drain")); return true; } @@ -20226,18 +20229,18 @@ var require_async = __commonJS({ } const eventMethod = (name) => (handler2) => { if (!handler2) { - return new Promise((resolve3, reject2) => { + return new Promise((resolve4, reject2) => { once2(name, (err, data2) => { if (err) return reject2(err); - resolve3(data2); + resolve4(data2); }); }); } off2(name); - on2(name, handler2); + on8(name, handler2); }; var isProcessing = false; - var q = { + var q11 = { _tasks: new DLL(), _createTaskItem(data2, callback) { return { @@ -20246,7 +20249,7 @@ var require_async = __commonJS({ }; }, *[Symbol.iterator]() { - yield* q._tasks[Symbol.iterator](); + yield* q11._tasks[Symbol.iterator](); }, concurrency, payload, @@ -20269,7 +20272,7 @@ var require_async = __commonJS({ }, kill() { off2(); - q._tasks.empty(); + q11._tasks.empty(); }, unshift(data2, callback) { if (Array.isArray(data2)) { @@ -20286,37 +20289,37 @@ var require_async = __commonJS({ return _insert(data2, true, true, callback); }, remove(testFn) { - q._tasks.remove(testFn); + q11._tasks.remove(testFn); }, process() { if (isProcessing) { return; } isProcessing = true; - while (!q.paused && numRunning < q.concurrency && q._tasks.length) { + while (!q11.paused && numRunning < q11.concurrency && q11._tasks.length) { var tasks = [], data2 = []; - var l = q._tasks.length; - if (q.payload) l = Math.min(l, q.payload); - for (var i2 = 0; i2 < l; i2++) { - var node2 = q._tasks.shift(); + var l5 = q11._tasks.length; + if (q11.payload) l5 = Math.min(l5, q11.payload); + for (var i5 = 0; i5 < l5; i5++) { + var node2 = q11._tasks.shift(); tasks.push(node2); workersList.push(node2); data2.push(node2.data); } numRunning += 1; - if (q._tasks.length === 0) { + if (q11._tasks.length === 0) { trigger("empty"); } - if (numRunning === q.concurrency) { + if (numRunning === q11.concurrency) { trigger("saturated"); } - var cb = onlyOnce(_createCB(tasks)); - _worker(data2, cb); + var cb2 = onlyOnce(_createCB(tasks)); + _worker(data2, cb2); } isProcessing = false; }, length() { - return q._tasks.length; + return q11._tasks.length; }, running() { return numRunning; @@ -20325,20 +20328,20 @@ var require_async = __commonJS({ return workersList; }, idle() { - return q._tasks.length + numRunning === 0; + return q11._tasks.length + numRunning === 0; }, pause() { - q.paused = true; + q11.paused = true; }, resume() { - if (q.paused === false) { + if (q11.paused === false) { return; } - q.paused = false; - setImmediate$1(q.process); + q11.paused = false; + setImmediate$1(q11.process); } }; - Object.defineProperties(q, { + Object.defineProperties(q11, { saturated: { writable: false, value: eventMethod("saturated") @@ -20360,7 +20363,7 @@ var require_async = __commonJS({ value: eventMethod("error") } }); - return q; + return q11; } function cargo$1(worker, payload) { return queue$1(worker, 1, payload); @@ -20371,9 +20374,9 @@ var require_async = __commonJS({ function reduce(coll, memo, iteratee, callback) { callback = once(callback); var _iteratee = wrapAsync(iteratee); - return eachOfSeries$1(coll, (x5, i2, iterCb) => { - _iteratee(memo, x5, (err, v) => { - memo = v; + return eachOfSeries$1(coll, (x12, i5, iterCb) => { + _iteratee(memo, x12, (err, v9) => { + memo = v9; iterCb(err); }); }, (err) => callback(err, memo)); @@ -20383,26 +20386,26 @@ var require_async = __commonJS({ var _functions = functions.map(wrapAsync); return function(...args) { var that = this; - var cb = args[args.length - 1]; - if (typeof cb == "function") { + var cb2 = args[args.length - 1]; + if (typeof cb2 == "function") { args.pop(); } else { - cb = promiseCallback(); + cb2 = promiseCallback(); } reduce$1( _functions, args, - (newargs, fn, iterCb) => { - fn.apply(that, newargs.concat((err, ...nextargs) => { + (newargs, fn9, iterCb) => { + fn9.apply(that, newargs.concat((err, ...nextargs) => { iterCb(err, nextargs); })); }, - (err, results) => cb(err, ...results) + (err, results) => cb2(err, ...results) ); - return cb[PROMISE_SYMBOL]; + return cb2[PROMISE_SYMBOL]; }; } - function compose(...args) { + function compose2(...args) { return seq(...args.reverse()); } function mapLimit(coll, limit, iteratee, callback) { @@ -20418,9 +20421,9 @@ var require_async = __commonJS({ }); }, (err, mapResults) => { var result = []; - for (var i2 = 0; i2 < mapResults.length; i2++) { - if (mapResults[i2]) { - result = result.concat(...mapResults[i2]); + for (var i5 = 0; i5 < mapResults.length; i5++) { + if (mapResults[i5]) { + result = result.concat(...mapResults[i5]); } } return callback(err, result); @@ -20441,15 +20444,15 @@ var require_async = __commonJS({ return callback(null, ...args); }; } - function _createTester(check, getResult) { - return (eachfn, arr2, _iteratee, cb) => { + function _createTester(check2, getResult) { + return (eachfn, arr2, _iteratee, cb2) => { var testPassed = false; var testResult; const iteratee = wrapAsync(_iteratee); - eachfn(arr2, (value, _, callback) => { + eachfn(arr2, (value, _9, callback) => { iteratee(value, (err, result) => { if (err || err === false) return callback(err); - if (check(result) && !testResult) { + if (check2(result) && !testResult) { testPassed = true; testResult = getResult(true, value); return callback(null, breakLoop); @@ -20457,8 +20460,8 @@ var require_async = __commonJS({ callback(); }); }, (err) => { - if (err) return cb(err); - cb(null, testPassed ? testResult : getResult(false)); + if (err) return cb2(err); + cb2(null, testPassed ? testResult : getResult(false)); }); }; } @@ -20475,14 +20478,14 @@ var require_async = __commonJS({ } var detectSeries$1 = awaitify(detectSeries, 3); function consoleFunc(name) { - return (fn, ...args) => wrapAsync(fn)(...args, (err, ...resultArgs) => { + return (fn9, ...args) => wrapAsync(fn9)(...args, (err, ...resultArgs) => { if (typeof console === "object") { if (err) { if (console.error) { console.error(err); } } else if (console[name]) { - resultArgs.forEach((x5) => console[name](x5)); + resultArgs.forEach((x12) => console[name](x12)); } } }); @@ -20497,22 +20500,22 @@ var require_async = __commonJS({ if (err) return callback(err); if (err === false) return; results = args; - _test(...args, check); + _test(...args, check2); } - function check(err, truth) { + function check2(err, truth) { if (err) return callback(err); if (err === false) return; if (!truth) return callback(null, ...results); _fn(next2); } - return check(null, true); + return check2(null, true); } var doWhilst$1 = awaitify(doWhilst, 3); function doUntil(iteratee, test, callback) { const _test = wrapAsync(test); return doWhilst$1(iteratee, (...args) => { - const cb = args.pop(); - _test(...args, (err, truth) => cb(err, !truth)); + const cb2 = args.pop(); + _test(...args, (err, truth) => cb2(err, !truth)); }, callback); } function _withoutIndex(iteratee) { @@ -20530,8 +20533,8 @@ var require_async = __commonJS({ return eachLimit$1(coll, 1, iteratee, callback); } var eachSeries$1 = awaitify(eachSeries, 3); - function ensureAsync(fn) { - if (isAsync(fn)) return fn; + function ensureAsync(fn9) { + if (isAsync(fn9)) return fn9; return function(...args) { var callback = args.pop(); var sync = true; @@ -20542,7 +20545,7 @@ var require_async = __commonJS({ callback(...innerArgs); } }); - fn.apply(this, args); + fn9.apply(this, args); sync = false; }; } @@ -20560,43 +20563,43 @@ var require_async = __commonJS({ var everySeries$1 = awaitify(everySeries, 3); function filterArray(eachfn, arr2, iteratee, callback) { var truthValues = new Array(arr2.length); - eachfn(arr2, (x5, index2, iterCb) => { - iteratee(x5, (err, v) => { - truthValues[index2] = !!v; + eachfn(arr2, (x12, index2, iterCb) => { + iteratee(x12, (err, v9) => { + truthValues[index2] = !!v9; iterCb(err); }); }, (err) => { if (err) return callback(err); var results = []; - for (var i2 = 0; i2 < arr2.length; i2++) { - if (truthValues[i2]) results.push(arr2[i2]); + for (var i5 = 0; i5 < arr2.length; i5++) { + if (truthValues[i5]) results.push(arr2[i5]); } callback(null, results); }); } function filterGeneric(eachfn, coll, iteratee, callback) { var results = []; - eachfn(coll, (x5, index2, iterCb) => { - iteratee(x5, (err, v) => { + eachfn(coll, (x12, index2, iterCb) => { + iteratee(x12, (err, v9) => { if (err) return iterCb(err); - if (v) { - results.push({ index: index2, value: x5 }); + if (v9) { + results.push({ index: index2, value: x12 }); } iterCb(err); }); }, (err) => { if (err) return callback(err); - callback(null, results.sort((a, b) => a.index - b.index).map((v) => v.value)); + callback(null, results.sort((a5, b7) => a5.index - b7.index).map((v9) => v9.value)); }); } function _filter(eachfn, coll, iteratee, callback) { - var filter3 = isArrayLike(coll) ? filterArray : filterGeneric; - return filter3(eachfn, coll, wrapAsync(iteratee), callback); + var filter4 = isArrayLike(coll) ? filterArray : filterGeneric; + return filter4(eachfn, coll, wrapAsync(iteratee), callback); } - function filter2(coll, iteratee, callback) { + function filter3(coll, iteratee, callback) { return _filter(eachOf$1, coll, iteratee, callback); } - var filter$1 = awaitify(filter2, 3); + var filter$1 = awaitify(filter3, 3); function filterLimit(coll, limit, iteratee, callback) { return _filter(eachOfLimit$2(limit), coll, iteratee, callback); } @@ -20605,9 +20608,9 @@ var require_async = __commonJS({ return _filter(eachOfSeries$1, coll, iteratee, callback); } var filterSeries$1 = awaitify(filterSeries, 3); - function forever(fn, errback) { + function forever(fn9, errback) { var done = onlyOnce(errback); - var task = wrapAsync(ensureAsync(fn)); + var task = wrapAsync(ensureAsync(fn9)); function next2(err) { if (err) return done(err); if (err === false) return; @@ -20619,21 +20622,21 @@ var require_async = __commonJS({ function groupByLimit(coll, limit, iteratee, callback) { var _iteratee = wrapAsync(iteratee); return mapLimit$1(coll, limit, (val, iterCb) => { - _iteratee(val, (err, key) => { + _iteratee(val, (err, key2) => { if (err) return iterCb(err); - return iterCb(err, { key, val }); + return iterCb(err, { key: key2, val }); }); }, (err, mapResults) => { var result = {}; - var { hasOwnProperty } = Object.prototype; - for (var i2 = 0; i2 < mapResults.length; i2++) { - if (mapResults[i2]) { - var { key } = mapResults[i2]; - var { val } = mapResults[i2]; - if (hasOwnProperty.call(result, key)) { - result[key].push(val); + var { hasOwnProperty: hasOwnProperty3 } = Object.prototype; + for (var i5 = 0; i5 < mapResults.length; i5++) { + if (mapResults[i5]) { + var { key: key2 } = mapResults[i5]; + var { val } = mapResults[i5]; + if (hasOwnProperty3.call(result, key2)) { + result[key2].push(val); } else { - result[key] = [val]; + result[key2] = [val]; } } } @@ -20652,10 +20655,10 @@ var require_async = __commonJS({ callback = once(callback); var newObj = {}; var _iteratee = wrapAsync(iteratee); - return eachOfLimit$2(limit)(obj, (val, key, next2) => { - _iteratee(val, key, (err, result) => { + return eachOfLimit$2(limit)(obj, (val, key2, next2) => { + _iteratee(val, key2, (err, result) => { if (err) return next2(err); - newObj[key] = result; + newObj[key2] = result; next2(err); }); }, (err) => callback(err, newObj)); @@ -20667,32 +20670,32 @@ var require_async = __commonJS({ function mapValuesSeries(obj, iteratee, callback) { return mapValuesLimit$1(obj, 1, iteratee, callback); } - function memoize(fn, hasher = (v) => v) { + function memoize(fn9, hasher = (v9) => v9) { var memo = /* @__PURE__ */ Object.create(null); var queues = /* @__PURE__ */ Object.create(null); - var _fn = wrapAsync(fn); + var _fn = wrapAsync(fn9); var memoized = initialParams((args, callback) => { - var key = hasher(...args); - if (key in memo) { - setImmediate$1(() => callback(null, ...memo[key])); - } else if (key in queues) { - queues[key].push(callback); + var key2 = hasher(...args); + if (key2 in memo) { + setImmediate$1(() => callback(null, ...memo[key2])); + } else if (key2 in queues) { + queues[key2].push(callback); } else { - queues[key] = [callback]; + queues[key2] = [callback]; _fn(...args, (err, ...resultArgs) => { if (!err) { - memo[key] = resultArgs; + memo[key2] = resultArgs; } - var q = queues[key]; - delete queues[key]; - for (var i2 = 0, l = q.length; i2 < l; i2++) { - q[i2](err, ...resultArgs); + var q11 = queues[key2]; + delete queues[key2]; + for (var i5 = 0, l5 = q11.length; i5 < l5; i5++) { + q11[i5](err, ...resultArgs); } }); } }); memoized.memo = memo; - memoized.unmemoized = fn; + memoized.unmemoized = fn9; return memoized; } var _defer; @@ -20706,12 +20709,12 @@ var require_async = __commonJS({ var nextTick = wrap(_defer); var _parallel = awaitify((eachfn, tasks, callback) => { var results = isArrayLike(tasks) ? [] : {}; - eachfn(tasks, (task, key, taskCb) => { + eachfn(tasks, (task, key2, taskCb) => { wrapAsync(task)((err, ...result) => { if (result.length < 2) { [result] = result; } - results[key] = result; + results[key2] = result; taskCb(err); }); }, (err) => callback(err, results)); @@ -20724,8 +20727,8 @@ var require_async = __commonJS({ } function queue(worker, concurrency) { var _worker = wrapAsync(worker); - return queue$1((items, cb) => { - _worker(items[0], cb); + return queue$1((items, cb2) => { + _worker(items[0], cb2); }, concurrency, 1); } class Heap { @@ -20741,27 +20744,27 @@ var require_async = __commonJS({ return this; } percUp(index2) { - let p; - while (index2 > 0 && smaller(this.heap[index2], this.heap[p = parent(index2)])) { - let t = this.heap[index2]; - this.heap[index2] = this.heap[p]; - this.heap[p] = t; - index2 = p; + let p4; + while (index2 > 0 && smaller(this.heap[index2], this.heap[p4 = parent(index2)])) { + let t26 = this.heap[index2]; + this.heap[index2] = this.heap[p4]; + this.heap[p4] = t26; + index2 = p4; } } percDown(index2) { - let l; - while ((l = leftChi(index2)) < this.heap.length) { - if (l + 1 < this.heap.length && smaller(this.heap[l + 1], this.heap[l])) { - l = l + 1; + let l5; + while ((l5 = leftChi(index2)) < this.heap.length) { + if (l5 + 1 < this.heap.length && smaller(this.heap[l5 + 1], this.heap[l5])) { + l5 = l5 + 1; } - if (smaller(this.heap[index2], this.heap[l])) { + if (smaller(this.heap[index2], this.heap[l5])) { break; } - let t = this.heap[index2]; - this.heap[index2] = this.heap[l]; - this.heap[l] = t; - index2 = l; + let t26 = this.heap[index2]; + this.heap[index2] = this.heap[l5]; + this.heap[l5] = t26; + index2 = l5; } } push(node2) { @@ -20783,46 +20786,46 @@ var require_async = __commonJS({ return [...this]; } *[Symbol.iterator]() { - for (let i2 = 0; i2 < this.heap.length; i2++) { - yield this.heap[i2].data; + for (let i5 = 0; i5 < this.heap.length; i5++) { + yield this.heap[i5].data; } } remove(testFn) { - let j = 0; - for (let i2 = 0; i2 < this.heap.length; i2++) { - if (!testFn(this.heap[i2])) { - this.heap[j] = this.heap[i2]; - j++; + let j9 = 0; + for (let i5 = 0; i5 < this.heap.length; i5++) { + if (!testFn(this.heap[i5])) { + this.heap[j9] = this.heap[i5]; + j9++; } } - this.heap.splice(j); - for (let i2 = parent(this.heap.length - 1); i2 >= 0; i2--) { - this.percDown(i2); + this.heap.splice(j9); + for (let i5 = parent(this.heap.length - 1); i5 >= 0; i5--) { + this.percDown(i5); } return this; } } - function leftChi(i2) { - return (i2 << 1) + 1; + function leftChi(i5) { + return (i5 << 1) + 1; } - function parent(i2) { - return (i2 + 1 >> 1) - 1; + function parent(i5) { + return (i5 + 1 >> 1) - 1; } - function smaller(x5, y5) { - if (x5.priority !== y5.priority) { - return x5.priority < y5.priority; + function smaller(x12, y10) { + if (x12.priority !== y10.priority) { + return x12.priority < y10.priority; } else { - return x5.pushCount < y5.pushCount; + return x12.pushCount < y10.pushCount; } } function priorityQueue(worker, concurrency) { - var q = queue(worker, concurrency); + var q11 = queue(worker, concurrency); var { - push, + push: push2, pushAsync - } = q; - q._tasks = new Heap(); - q._createTaskItem = ({ data: data2, priority }, callback) => { + } = q11; + q11._tasks = new Heap(); + q11._createTaskItem = ({ data: data2, priority }, callback) => { return { data: data2, priority, @@ -20837,31 +20840,31 @@ var require_async = __commonJS({ return { data: data2, priority }; }); } - q.push = function(data2, priority = 0, callback) { - return push(createDataItems(data2, priority), callback); + q11.push = function(data2, priority = 0, callback) { + return push2(createDataItems(data2, priority), callback); }; - q.pushAsync = function(data2, priority = 0, callback) { + q11.pushAsync = function(data2, priority = 0, callback) { return pushAsync(createDataItems(data2, priority), callback); }; - delete q.unshift; - delete q.unshiftAsync; - return q; + delete q11.unshift; + delete q11.unshiftAsync; + return q11; } function race(tasks, callback) { callback = once(callback); if (!Array.isArray(tasks)) return callback(new TypeError("First argument to race must be an array of functions")); if (!tasks.length) return callback(); - for (var i2 = 0, l = tasks.length; i2 < l; i2++) { - wrapAsync(tasks[i2])(callback); + for (var i5 = 0, l5 = tasks.length; i5 < l5; i5++) { + wrapAsync(tasks[i5])(callback); } } var race$1 = awaitify(race, 2); - function reduceRight(array2, memo, iteratee, callback) { - var reversed = [...array2].reverse(); + function reduceRight(array3, memo, iteratee, callback) { + var reversed = [...array3].reverse(); return reduce$1(reversed, memo, iteratee, callback); } - function reflect(fn) { - var _fn = wrapAsync(fn); + function reflect(fn9) { + var _fn = wrapAsync(fn9); return initialParams(function reflectOn(args, reflectCallback) { args.push((error2, ...cbArgs) => { let retVal = {}; @@ -20886,17 +20889,17 @@ var require_async = __commonJS({ results = tasks.map(reflect); } else { results = {}; - Object.keys(tasks).forEach((key) => { - results[key] = reflect.call(this, tasks[key]); + Object.keys(tasks).forEach((key2) => { + results[key2] = reflect.call(this, tasks[key2]); }); } return results; } function reject$2(eachfn, arr2, _iteratee, callback) { const iteratee = wrapAsync(_iteratee); - return _filter(eachfn, arr2, (value, cb) => { - iteratee(value, (err, v) => { - cb(err, !v); + return _filter(eachfn, arr2, (value, cb2) => { + iteratee(value, (err, v9) => { + cb2(err, !v9); }); }, callback); } @@ -20920,7 +20923,7 @@ var require_async = __commonJS({ const DEFAULT_TIMES = 5; const DEFAULT_INTERVAL = 0; function retry(opts, task, callback) { - var options = { + var options8 = { times: DEFAULT_TIMES, intervalFunc: constant(DEFAULT_INTERVAL) }; @@ -20928,7 +20931,7 @@ var require_async = __commonJS({ callback = task || promiseCallback(); task = opts; } else { - parseTimes(options, opts); + parseTimes(options8, opts); callback = callback || promiseCallback(); } if (typeof task !== "function") { @@ -20939,8 +20942,8 @@ var require_async = __commonJS({ function retryAttempt() { _task((err, ...args) => { if (err === false) return; - if (err && attempt++ < options.times && (typeof options.errorFilter != "function" || options.errorFilter(err))) { - setTimeout(retryAttempt, options.intervalFunc(attempt - 1)); + if (err && attempt++ < options8.times && (typeof options8.errorFilter != "function" || options8.errorFilter(err))) { + setTimeout(retryAttempt, options8.intervalFunc(attempt - 1)); } else { callback(err, ...args); } @@ -20949,13 +20952,13 @@ var require_async = __commonJS({ retryAttempt(); return callback[PROMISE_SYMBOL]; } - function parseTimes(acc, t) { - if (typeof t === "object") { - acc.times = +t.times || DEFAULT_TIMES; - acc.intervalFunc = typeof t.interval === "function" ? t.interval : constant(+t.interval || DEFAULT_INTERVAL); - acc.errorFilter = t.errorFilter; - } else if (typeof t === "number" || typeof t === "string") { - acc.times = +t || DEFAULT_TIMES; + function parseTimes(acc, t26) { + if (typeof t26 === "object") { + acc.times = +t26.times || DEFAULT_TIMES; + acc.intervalFunc = typeof t26.interval === "function" ? t26.interval : constant(+t26.interval || DEFAULT_INTERVAL); + acc.errorFilter = t26.errorFilter; + } else if (typeof t26 === "number" || typeof t26 === "string") { + acc.times = +t26 || DEFAULT_TIMES; } else { throw new Error("Invalid arguments for async.retry"); } @@ -20975,8 +20978,8 @@ var require_async = __commonJS({ args.push(callback); callback = promiseCallback(); } - function taskFn(cb) { - _task(...args, cb); + function taskFn(cb2) { + _task(...args, cb2); } if (opts) retry(opts, taskFn, callback); else retry(taskFn, callback); @@ -21000,23 +21003,23 @@ var require_async = __commonJS({ var someSeries$1 = awaitify(someSeries, 3); function sortBy(coll, iteratee, callback) { var _iteratee = wrapAsync(iteratee); - return map$1(coll, (x5, iterCb) => { - _iteratee(x5, (err, criteria) => { + return map$1(coll, (x12, iterCb) => { + _iteratee(x12, (err, criteria) => { if (err) return iterCb(err); - iterCb(err, { value: x5, criteria }); + iterCb(err, { value: x12, criteria }); }); }, (err, results) => { if (err) return callback(err); - callback(null, results.sort(comparator).map((v) => v.value)); + callback(null, results.sort(comparator).map((v9) => v9.value)); }); function comparator(left, right) { - var a = left.criteria, b = right.criteria; - return a < b ? -1 : a > b ? 1 : 0; + var a5 = left.criteria, b7 = right.criteria; + return a5 < b7 ? -1 : a5 > b7 ? 1 : 0; } } var sortBy$1 = awaitify(sortBy, 3); function timeout(asyncFn, milliseconds, info2) { - var fn = wrapAsync(asyncFn); + var fn9 = wrapAsync(asyncFn); return initialParams((args, callback) => { var timedOut = false; var timer; @@ -21037,7 +21040,7 @@ var require_async = __commonJS({ } }); timer = setTimeout(timeoutCallback, milliseconds); - fn(...args); + fn9(...args); }); } function range(size3) { @@ -21051,11 +21054,11 @@ var require_async = __commonJS({ var _iteratee = wrapAsync(iteratee); return mapLimit$1(range(count), limit, _iteratee, callback); } - function times(n2, iteratee, callback) { - return timesLimit(n2, Infinity, iteratee, callback); + function times(n5, iteratee, callback) { + return timesLimit(n5, Infinity, iteratee, callback); } - function timesSeries(n2, iteratee, callback) { - return timesLimit(n2, 1, iteratee, callback); + function timesSeries(n5, iteratee, callback) { + return timesLimit(n5, 1, iteratee, callback); } function transform2(coll, accumulator, iteratee, callback) { if (arguments.length <= 3 && typeof accumulator === "function") { @@ -21065,8 +21068,8 @@ var require_async = __commonJS({ } callback = once(callback || promiseCallback()); var _iteratee = wrapAsync(iteratee); - eachOf$1(coll, (v, k, cb) => { - _iteratee(accumulator, v, k, cb); + eachOf$1(coll, (v9, k8, cb2) => { + _iteratee(accumulator, v9, k8, cb2); }, (err) => callback(err, accumulator)); return callback[PROMISE_SYMBOL]; } @@ -21087,9 +21090,9 @@ var require_async = __commonJS({ }, () => callback(error2, result)); } var tryEach$1 = awaitify(tryEach); - function unmemoize(fn) { + function unmemoize(fn9) { return (...args) => { - return (fn.unmemoized || fn)(...args); + return (fn9.unmemoized || fn9)(...args); }; } function whilst(test, iteratee, callback) { @@ -21101,20 +21104,20 @@ var require_async = __commonJS({ if (err) return callback(err); results = rest; if (err === false) return; - _test(check); + _test(check2); } - function check(err, truth) { + function check2(err, truth) { if (err) return callback(err); if (err === false) return; if (!truth) return callback(null, ...results); _fn(next2); } - return _test(check); + return _test(check2); } var whilst$1 = awaitify(whilst, 3); function until(test, iteratee, callback) { const _test = wrapAsync(test); - return whilst$1((cb) => _test((err, truth) => cb(err, !truth)), iteratee, callback); + return whilst$1((cb2) => _test((err, truth) => cb2(err, !truth)), iteratee, callback); } function waterfall(tasks, callback) { callback = once(callback); @@ -21144,7 +21147,7 @@ var require_async = __commonJS({ autoInject, cargo: cargo$1, cargoQueue: cargo, - compose, + compose: compose2, concat: concat$1, concatLimit: concatLimit$1, concatSeries: concatSeries$1, @@ -21255,7 +21258,7 @@ var require_async = __commonJS({ exports2.autoInject = autoInject; exports2.cargo = cargo$1; exports2.cargoQueue = cargo; - exports2.compose = compose; + exports2.compose = compose2; exports2.concat = concat$1; exports2.concatLimit = concatLimit$1; exports2.concatSeries = concatSeries$1; @@ -21353,7 +21356,7 @@ var require_async = __commonJS({ // node_modules/nconf/node_modules/ini/ini.js var require_ini = __commonJS({ "node_modules/nconf/node_modules/ini/ini.js"(exports, module) { - var { hasOwnProperty } = Object.prototype; + var { hasOwnProperty: hasOwnProperty3 } = Object.prototype; var eol = typeof process !== "undefined" && process.platform === "win32" ? "\r\n" : "\n"; var encode = (obj, opt) => { const children = []; @@ -21368,23 +21371,23 @@ var require_ini = __commonJS({ opt.whitespace = opt.whitespace === true; } const separator = opt.whitespace ? " = " : "="; - for (const k of Object.keys(obj)) { - const val = obj[k]; + for (const k8 of Object.keys(obj)) { + const val = obj[k8]; if (val && Array.isArray(val)) { for (const item of val) - out += safe(k + "[]") + separator + safe(item) + "\n"; + out += safe(k8 + "[]") + separator + safe(item) + "\n"; } else if (val && typeof val === "object") - children.push(k); + children.push(k8); else - out += safe(k) + separator + safe(val) + eol; + out += safe(k8) + separator + safe(val) + eol; } if (opt.section && out.length) out = "[" + safe(opt.section) + "]" + eol + out; - for (const k of children) { - const nk = dotSplit(k).join("\\."); + for (const k8 of children) { + const nk = dotSplit(k8).join("\\."); const section = (opt.section ? opt.section + "." : "") + nk; const { whitespace: whitespace2 } = opt; - const child = encode(obj[k], { + const child = encode(obj[k8], { section, whitespace: whitespace2 }); @@ -21397,62 +21400,62 @@ var require_ini = __commonJS({ var dotSplit = (str) => str.replace(/\1/g, "LITERAL\\1LITERAL").replace(/\\\./g, "").split(/\./).map((part) => part.replace(/\1/g, "\\.").replace(/\2LITERAL\\1LITERAL\2/g, "")); var decode = (str) => { const out = /* @__PURE__ */ Object.create(null); - let p = out; + let p4 = out; let section = null; - const re = /^\[([^\]]*)\]$|^([^=]+)(=(.*))?$/i; + const re9 = /^\[([^\]]*)\]$|^([^=]+)(=(.*))?$/i; const lines = str.split(/[\r\n]+/g); - for (const line of lines) { - if (!line || line.match(/^\s*[;#]/)) + for (const line3 of lines) { + if (!line3 || line3.match(/^\s*[;#]/)) continue; - const match = line.match(re); + const match = line3.match(re9); if (!match) continue; if (match[1] !== void 0) { section = unsafe(match[1]); if (section === "__proto__") { - p = /* @__PURE__ */ Object.create(null); + p4 = /* @__PURE__ */ Object.create(null); continue; } - p = out[section] = out[section] || /* @__PURE__ */ Object.create(null); + p4 = out[section] = out[section] || /* @__PURE__ */ Object.create(null); continue; } const keyRaw = unsafe(match[2]); const isArray = keyRaw.length > 2 && keyRaw.slice(-2) === "[]"; - const key = isArray ? keyRaw.slice(0, -2) : keyRaw; - if (key === "__proto__") + const key2 = isArray ? keyRaw.slice(0, -2) : keyRaw; + if (key2 === "__proto__") continue; const valueRaw = match[3] ? unsafe(match[4]) : true; const value = valueRaw === "true" || valueRaw === "false" || valueRaw === "null" ? JSON.parse(valueRaw) : valueRaw; if (isArray) { - if (!hasOwnProperty.call(p, key)) - p[key] = []; - else if (!Array.isArray(p[key])) - p[key] = [p[key]]; + if (!hasOwnProperty3.call(p4, key2)) + p4[key2] = []; + else if (!Array.isArray(p4[key2])) + p4[key2] = [p4[key2]]; } - if (Array.isArray(p[key])) - p[key].push(value); + if (Array.isArray(p4[key2])) + p4[key2].push(value); else - p[key] = value; + p4[key2] = value; } const remove = []; - for (const k of Object.keys(out)) { - if (!hasOwnProperty.call(out, k) || typeof out[k] !== "object" || Array.isArray(out[k])) + for (const k8 of Object.keys(out)) { + if (!hasOwnProperty3.call(out, k8) || typeof out[k8] !== "object" || Array.isArray(out[k8])) continue; - const parts = dotSplit(k); - let p2 = out; - const l = parts.pop(); - const nl2 = l.replace(/\\\./g, "."); + const parts = dotSplit(k8); + let p5 = out; + const l5 = parts.pop(); + const nl6 = l5.replace(/\\\./g, "."); for (const part of parts) { if (part === "__proto__") continue; - if (!hasOwnProperty.call(p2, part) || typeof p2[part] !== "object") - p2[part] = /* @__PURE__ */ Object.create(null); - p2 = p2[part]; + if (!hasOwnProperty3.call(p5, part) || typeof p5[part] !== "object") + p5[part] = /* @__PURE__ */ Object.create(null); + p5 = p5[part]; } - if (p2 === out && nl2 === l) + if (p5 === out && nl6 === l5) continue; - p2[nl2] = out[k]; - remove.push(k); + p5[nl6] = out[k8]; + remove.push(k8); } for (const del of remove) delete out[del]; @@ -21467,25 +21470,25 @@ var require_ini = __commonJS({ val = val.substr(1, val.length - 2); try { val = JSON.parse(val); - } catch (_) { + } catch (_9) { } } else { let esc = false; let unesc = ""; - for (let i2 = 0, l = val.length; i2 < l; i2++) { - const c = val.charAt(i2); + for (let i5 = 0, l5 = val.length; i5 < l5; i5++) { + const c7 = val.charAt(i5); if (esc) { - if ("\\;#".indexOf(c) !== -1) - unesc += c; + if ("\\;#".indexOf(c7) !== -1) + unesc += c7; else - unesc += "\\" + c; + unesc += "\\" + c7; esc = false; - } else if (";#".indexOf(c) !== -1) + } else if (";#".indexOf(c7) !== -1) break; - else if (c === "\\") + else if (c7 === "\\") esc = true; else - unesc += c; + unesc += c7; } if (esc) unesc += "\\"; @@ -21523,37 +21526,37 @@ var require_formats = __commonJS({ var require_memory = __commonJS({ "node_modules/nconf/lib/nconf/stores/memory.js"(exports) { var common = require_common(); - var Memory = exports.Memory = function(options) { - options = options || {}; + var Memory = exports.Memory = function(options8) { + options8 = options8 || {}; this.type = "memory"; this.store = {}; this.mtimes = {}; this.readOnly = false; - this.loadFrom = options.loadFrom || null; - this.logicalSeparator = options.logicalSeparator || ":"; - this.parseValues = options.parseValues || false; + this.loadFrom = options8.loadFrom || null; + this.logicalSeparator = options8.logicalSeparator || ":"; + this.parseValues = options8.parseValues || false; if (this.loadFrom) { this.store = common.loadFilesSync(this.loadFrom); } }; - Memory.prototype.get = function(key) { - var target = this.store, path7 = common.path(key, this.logicalSeparator); - while (path7.length > 0) { - key = path7.shift(); - if (target && typeof target !== "string" && Object.hasOwnProperty.call(target, key)) { - target = target[key]; + Memory.prototype.get = function(key2) { + var target = this.store, path19 = common.path(key2, this.logicalSeparator); + while (path19.length > 0) { + key2 = path19.shift(); + if (target && typeof target !== "string" && Object.hasOwnProperty.call(target, key2)) { + target = target[key2]; continue; } return void 0; } return target; }; - Memory.prototype.set = function(key, value) { + Memory.prototype.set = function(key2, value) { if (this.readOnly) { return false; } - var target = this.store, path7 = common.path(key, this.logicalSeparator); - if (path7.length === 0) { + var target = this.store, path19 = common.path(key2, this.logicalSeparator); + if (path19.length === 0) { if (!value || typeof value !== "object") { return false; } else { @@ -21562,58 +21565,58 @@ var require_memory = __commonJS({ return true; } } - this.mtimes[key] = Date.now(); - while (path7.length > 1) { - key = path7.shift(); - if (!target[key] || typeof target[key] !== "object" || !Object.hasOwnProperty.call(target, key)) { - target[key] = {}; + this.mtimes[key2] = Date.now(); + while (path19.length > 1) { + key2 = path19.shift(); + if (!target[key2] || typeof target[key2] !== "object" || !Object.hasOwnProperty.call(target, key2)) { + target[key2] = {}; } - target = target[key]; + target = target[key2]; } - key = path7.shift(); + key2 = path19.shift(); if (this.parseValues) { value = common.parseValues.call(common, value); } - target[key] = value; + target[key2] = value; return true; }; - Memory.prototype.clear = function(key) { + Memory.prototype.clear = function(key2) { if (this.readOnly) { return false; } - var target = this.store, value = target, path7 = common.path(key, this.logicalSeparator); - delete this.mtimes[key]; - for (var i2 = 0; i2 < path7.length - 1; i2++) { - key = path7[i2]; - value = target[key]; + var target = this.store, value = target, path19 = common.path(key2, this.logicalSeparator); + delete this.mtimes[key2]; + for (var i5 = 0; i5 < path19.length - 1; i5++) { + key2 = path19[i5]; + value = target[key2]; if (typeof value !== "function" && typeof value !== "object") { return false; } target = value; } - key = path7[i2]; - delete target[key]; + key2 = path19[i5]; + delete target[key2]; return true; }; - Memory.prototype.merge = function(key, value) { + Memory.prototype.merge = function(key2, value) { if (this.readOnly) { return false; } if (typeof value !== "object" || Array.isArray(value) || value === null) { - return this.set(key, value); + return this.set(key2, value); } - var self2 = this, target = this.store, path7 = common.path(key, this.logicalSeparator), fullKey = key; - this.mtimes[key] = Date.now(); - while (path7.length > 1) { - key = path7.shift(); - if (!target[key]) { - target[key] = {}; + var self2 = this, target = this.store, path19 = common.path(key2, this.logicalSeparator), fullKey = key2; + this.mtimes[key2] = Date.now(); + while (path19.length > 1) { + key2 = path19.shift(); + if (!target[key2]) { + target[key2] = {}; } - target = target[key]; + target = target[key2]; } - key = path7.shift(); - if (typeof target[key] !== "object" || Array.isArray(target[key])) { - target[key] = value; + key2 = path19.shift(); + if (typeof target[key2] !== "object" || Array.isArray(target[key2])) { + target[key2] = value; return true; } return Object.keys(value).every(function(nested) { @@ -21637,14 +21640,14 @@ var require_memory = __commonJS({ // node_modules/nconf/lib/nconf/common.js var require_common = __commonJS({ "node_modules/nconf/lib/nconf/common.js"(exports) { - var fs7 = __require("fs"); + var fs14 = __require("fs"); var async = require_async(); var formats = require_formats(); var Memory = require_memory().Memory; var common = exports; - common.path = function(key, separator) { + common.path = function(key2, separator) { separator = separator || ":"; - return key == null ? [] : key.split(separator); + return key2 == null ? [] : key2.split(separator); }; common.key = function() { return Array.prototype.slice.call(arguments).join(":"); @@ -21656,14 +21659,14 @@ var require_common = __commonJS({ if (!files) { return callback(null, {}); } - var options = Array.isArray(files) ? { files } : files; - options.format = options.format || formats.json; + var options8 = Array.isArray(files) ? { files } : files; + options8.format = options8.format || formats.json; function parseFile(file, next2) { - fs7.readFile(file, function(err, data2) { - return !err ? next2(null, options.format.parse(data2.toString())) : next2(err); + fs14.readFile(file, function(err, data2) { + return !err ? next2(null, options8.format.parse(data2.toString())) : next2(err); }); } - async.map(options.files, parseFile, function(err, objs) { + async.map(options8.files, parseFile, function(err, objs) { return err ? callback(err) : callback(null, common.merge(objs)); }); }; @@ -21671,17 +21674,17 @@ var require_common = __commonJS({ if (!files) { return; } - var options = Array.isArray(files) ? { files } : files; - options.format = options.format || formats.json; - return common.merge(options.files.map(function(file) { - return options.format.parse(fs7.readFileSync(file, "utf8")); + var options8 = Array.isArray(files) ? { files } : files; + options8.format = options8.format || formats.json; + return common.merge(options8.files.map(function(file) { + return options8.format.parse(fs14.readFileSync(file, "utf8")); })); }; common.merge = function(objs) { var store = new Memory(); objs.forEach(function(obj) { - Object.keys(obj).forEach(function(key) { - store.merge(key, obj[key]); + Object.keys(obj).forEach(function(key2) { + store.merge(key2, obj[key2]); }); }); return store.store; @@ -21700,10 +21703,10 @@ var require_common = __commonJS({ } return val; }; - common.transform = function(map2, fn) { - var pairs = Object.keys(map2).map(function(key) { - var obj = { key, value: map2[key] }; - var result = fn.call(null, obj); + common.transform = function(map2, fn9) { + var pairs = Object.keys(map2).map(function(key2) { + var obj = { key: key2, value: map2[key2] }; + var result = fn9.call(null, obj); if (!result) { return null; } else if (result.key) { @@ -21728,11 +21731,11 @@ var require_provider = __commonJS({ "node_modules/nconf/lib/nconf/provider.js"(exports) { var async = require_async(); var common = require_common(); - var Provider2 = exports.Provider = function(options) { - options = options || {}; + var Provider2 = exports.Provider = function(options8) { + options8 = options8 || {}; this.stores = {}; this.sources = []; - this.init(options); + this.init(options8); }; ["argv", "env"].forEach(function(type) { Provider2.prototype[type] = function() { @@ -21740,30 +21743,30 @@ var require_provider = __commonJS({ return this.add.apply(this, args); }; }); - Provider2.prototype.file = function(key, options) { + Provider2.prototype.file = function(key2, options8) { if (arguments.length == 1) { - options = typeof key === "string" ? { file: key } : key; - key = "file"; + options8 = typeof key2 === "string" ? { file: key2 } : key2; + key2 = "file"; } else { - options = typeof options === "string" ? { file: options } : options; + options8 = typeof options8 === "string" ? { file: options8 } : options8; } - options.type = "file"; - return this.add(key, options); + options8.type = "file"; + return this.add(key2, options8); }; ["defaults", "overrides"].forEach(function(type) { - Provider2.prototype[type] = function(options) { - options = options || {}; - if (!options.type) { - options.type = "literal"; + Provider2.prototype[type] = function(options8) { + options8 = options8 || {}; + if (!options8.type) { + options8.type = "literal"; } - return this.add(type, options); + return this.add(type, options8); }; }); - Provider2.prototype.use = function(name, options) { - options = options || {}; + Provider2.prototype.use = function(name, options8) { + options8 = options8 || {}; function sameOptions(store2) { - return Object.keys(options).every(function(key) { - return options[key] === store2[key]; + return Object.keys(options8).every(function(key2) { + return options8[key2] === store2[key2]; }); } var store = this.stores[name], update = store && !sameOptions(store); @@ -21771,17 +21774,17 @@ var require_provider = __commonJS({ if (update) { this.remove(name); } - this.add(name, options); + this.add(name, options8); } return this; }; - Provider2.prototype.add = function(name, options, usage) { - options = options || {}; - var type = options.type || name; + Provider2.prototype.add = function(name, options8, usage) { + options8 = options8 || {}; + var type = options8.type || name; if (!require_nconf()[common.capitalize(type)]) { throw new Error("Cannot add store with unknown type: " + type); } - this.stores[name] = this.create(type, options, usage); + this.stores[name] = this.create(type, options8, usage); if (this.stores[name].loadSync) { this.stores[name].loadSync(); } @@ -21791,46 +21794,46 @@ var require_provider = __commonJS({ delete this.stores[name]; return this; }; - Provider2.prototype.create = function(type, options, usage) { - return new (require_nconf())[common.capitalize(type.toLowerCase())](options, usage); + Provider2.prototype.create = function(type, options8, usage) { + return new (require_nconf())[common.capitalize(type.toLowerCase())](options8, usage); }; - Provider2.prototype.init = function(options) { + Provider2.prototype.init = function(options8) { var self2 = this; - if (options.type) { - this.add(options.type, options); - } else if (options.store) { - this.add(options.store.name || options.store.type, options.store); - } else if (options.stores) { - Object.keys(options.stores).forEach(function(name) { - var store = options.stores[name]; + if (options8.type) { + this.add(options8.type, options8); + } else if (options8.store) { + this.add(options8.store.name || options8.store.type, options8.store); + } else if (options8.stores) { + Object.keys(options8.stores).forEach(function(name) { + var store = options8.stores[name]; self2.add(store.name || name || store.type, store); }); } - if (options.source) { - this.sources.push(this.create(options.source.type || options.source.name, options.source)); - } else if (options.sources) { - Object.keys(options.sources).forEach(function(name) { - var source = options.sources[name]; - self2.sources.push(self2.create(source.type || source.name || name, source)); + if (options8.source) { + this.sources.push(this.create(options8.source.type || options8.source.name, options8.source)); + } else if (options8.sources) { + Object.keys(options8.sources).forEach(function(name) { + var source2 = options8.sources[name]; + self2.sources.push(self2.create(source2.type || source2.name || name, source2)); }); } }; - Provider2.prototype.get = function(key, callback) { - if (typeof key === "function") { - callback = key; - key = null; + Provider2.prototype.get = function(key2, callback) { + if (typeof key2 === "function") { + callback = key2; + key2 = null; } if (!callback) { - return this._execute("get", 1, key, callback); + return this._execute("get", 1, key2, callback); } var current = 0, names2 = Object.keys(this.stores), self2 = this, response, mergeObjs = []; - async.whilst(function(cb) { - cb(null, typeof response === "undefined" && current < names2.length); + async.whilst(function(cb2) { + cb2(null, typeof response === "undefined" && current < names2.length); }, function(next2) { var store = self2.stores[names2[current]]; current++; if (store.get.length >= 2) { - return store.get(key, function(err, value) { + return store.get(key2, function(err, value) { if (err) { return next2(err); } @@ -21842,7 +21845,7 @@ var require_provider = __commonJS({ next2(); }); } - response = store.get(key); + response = store.get(key2); if (response && typeof response === "object" && !Array.isArray(response)) { mergeObjs.push(response); response = void 0; @@ -21866,8 +21869,8 @@ var require_provider = __commonJS({ } if (!callback) { var val; - for (var i2 = 0; i2 < keys.length; ++i2) { - val = this._execute("get", 1, keys[i2], callback); + for (var i5 = 0; i5 < keys.length; ++i5) { + val = this._execute("get", 1, keys[i5], callback); if (val) { return val; } @@ -21875,16 +21878,16 @@ var require_provider = __commonJS({ return null; } var keyIndex = 0, result, self2 = this; - async.whilst(function(cb) { - cb(null, !result && keyIndex < keys.length); + async.whilst(function(cb2) { + cb2(null, !result && keyIndex < keys.length); }, function(next2) { - var key = keys[keyIndex]; + var key2 = keys[keyIndex]; keyIndex++; - self2.get(key, function(err, v) { + self2.get(key2, function(err, v9) { if (err) { next2(err); } else { - result = v; + result = v9; next2(); } }); @@ -21892,17 +21895,17 @@ var require_provider = __commonJS({ return err ? callback(err) : callback(null, result); }); }; - Provider2.prototype.set = function(key, value, callback) { - return this._execute("set", 2, key, value, callback); + Provider2.prototype.set = function(key2, value, callback) { + return this._execute("set", 2, key2, value, callback); }; Provider2.prototype.required = function(keys) { if (!Array.isArray(keys)) { throw new Error("Incorrect parameter, array expected"); } var missing = []; - keys.forEach(function(key) { - if (typeof this.get(key) === "undefined") { - missing.push(key); + keys.forEach(function(key2) { + if (typeof this.get(key2) === "undefined") { + missing.push(key2); } }, this); if (missing.length) { @@ -21914,22 +21917,22 @@ var require_provider = __commonJS({ Provider2.prototype.reset = function(callback) { return this._execute("reset", 0, callback); }; - Provider2.prototype.clear = function(key, callback) { - return this._execute("clear", 1, key, callback); + Provider2.prototype.clear = function(key2, callback) { + return this._execute("clear", 1, key2, callback); }; Provider2.prototype.merge = function() { - var self2 = this, args = Array.prototype.slice.call(arguments), callback = typeof args[args.length - 1] === "function" && args.pop(), value = args.pop(), key = args.pop(); + var self2 = this, args = Array.prototype.slice.call(arguments), callback = typeof args[args.length - 1] === "function" && args.pop(), value = args.pop(), key2 = args.pop(); function mergeProperty(prop, next2) { return self2._execute("merge", 2, prop, value[prop], next2); } - if (!key) { + if (!key2) { if (Array.isArray(value) || typeof value !== "object") { return onError(new Error("Cannot merge non-Object into top-level."), callback); } return async.forEach(Object.keys(value), mergeProperty, callback || function() { }); } - return this._execute("merge", 2, key, value, callback); + return this._execute("merge", 2, key2, value, callback); }; Provider2.prototype.load = function(callback) { var self2 = this; @@ -22124,9 +22127,9 @@ var require_package = __commonJS({ var require_build = __commonJS({ "node_modules/y18n/build/index.cjs"(exports, module) { "use strict"; - var fs7 = __require("fs"); - var util = __require("util"); - var path7 = __require("path"); + var fs14 = __require("fs"); + var util2 = __require("util"); + var path19 = __require("path"); var shim; var Y18N = class { constructor(opts) { @@ -22143,11 +22146,11 @@ var require_build = __commonJS({ return this._taggedLiteral(arguments[0], ...arguments); } const str = args.shift(); - let cb = function() { + let cb2 = function() { }; if (typeof args[args.length - 1] === "function") - cb = args.pop(); - cb = cb || function() { + cb2 = args.pop(); + cb2 = cb2 || function() { }; if (!this.cache[this.locale]) this._readLocaleFile(); @@ -22156,10 +22159,10 @@ var require_build = __commonJS({ this._enqueueWrite({ directory: this.directory, locale: this.locale, - cb + cb: cb2 }); } else { - cb(); + cb2(); } return shim.format.apply(shim.format, [this.cache[this.locale][str] || str].concat(args)); } @@ -22168,10 +22171,10 @@ var require_build = __commonJS({ const singular = args.shift(); const plural = args.shift(); const quantity = args.shift(); - let cb = function() { + let cb2 = function() { }; if (typeof args[args.length - 1] === "function") - cb = args.pop(); + cb2 = args.pop(); if (!this.cache[this.locale]) this._readLocaleFile(); let str = quantity === 1 ? singular : plural; @@ -22187,10 +22190,10 @@ var require_build = __commonJS({ this._enqueueWrite({ directory: this.directory, locale: this.locale, - cb + cb: cb2 }); } else { - cb(); + cb2(); } const values = [str]; if (~str.indexOf("%d")) @@ -22206,16 +22209,16 @@ var require_build = __commonJS({ updateLocale(obj) { if (!this.cache[this.locale]) this._readLocaleFile(); - for (const key in obj) { - if (Object.prototype.hasOwnProperty.call(obj, key)) { - this.cache[this.locale][key] = obj[key]; + for (const key2 in obj) { + if (Object.prototype.hasOwnProperty.call(obj, key2)) { + this.cache[this.locale][key2] = obj[key2]; } } } _taggedLiteral(parts, ...args) { let str = ""; - parts.forEach(function(part, i2) { - const arg = args[i2 + 1]; + parts.forEach(function(part, i5) { + const arg = args[i5 + 1]; str += part; if (typeof arg !== "undefined") { str += "%s"; @@ -22233,14 +22236,14 @@ var require_build = __commonJS({ const work = this.writeQueue[0]; const directory = work.directory; const locale = work.locale; - const cb = work.cb; + const cb2 = work.cb; const languageFile = this._resolveLocaleFile(directory, locale); const serializedLocale = JSON.stringify(this.cache[locale], null, 2); shim.fs.writeFile(languageFile, serializedLocale, "utf-8", function(err) { _this.writeQueue.shift(); if (_this.writeQueue.length > 0) _this._processWriteQueue(); - cb(err); + cb2(err); }); } _readLocaleFile() { @@ -22288,14 +22291,14 @@ var require_build = __commonJS({ } var nodePlatformShim = { fs: { - readFileSync: fs7.readFileSync, - writeFile: fs7.writeFile + readFileSync: fs14.readFileSync, + writeFile: fs14.writeFile }, - format: util.format, - resolve: path7.resolve, + format: util2.format, + resolve: path19.resolve, exists: (file) => { try { - return fs7.statSync(file).isFile(); + return fs14.statSync(file).isFile(); } catch (err) { return false; } @@ -22312,9 +22315,9 @@ var require_build = __commonJS({ var require_build2 = __commonJS({ "node_modules/nconf/node_modules/yargs-parser/build/index.cjs"(exports, module) { "use strict"; - var util = __require("util"); - var fs7 = __require("fs"); - var path7 = __require("path"); + var util2 = __require("util"); + var fs14 = __require("fs"); + var path19 = __require("path"); function camelCase2(str) { const isCamelCase = str !== str.toLowerCase() && str !== str.toUpperCase(); if (!isCamelCase) { @@ -22326,13 +22329,13 @@ var require_build2 = __commonJS({ let camelcase = ""; let nextChrUpper = false; const leadingHyphens = str.match(/^-+/); - for (let i2 = leadingHyphens ? leadingHyphens[0].length : 0; i2 < str.length; i2++) { - let chr = str.charAt(i2); + for (let i5 = leadingHyphens ? leadingHyphens[0].length : 0; i5 < str.length; i5++) { + let chr = str.charAt(i5); if (nextChrUpper) { nextChrUpper = false; chr = chr.toUpperCase(); } - if (i2 !== 0 && (chr === "-" || chr === "_")) { + if (i5 !== 0 && (chr === "-" || chr === "_")) { nextChrUpper = true; } else if (chr !== "-" && chr !== "_") { camelcase += chr; @@ -22345,55 +22348,55 @@ var require_build2 = __commonJS({ const lowercase = str.toLowerCase(); joinString = joinString || "-"; let notCamelcase = ""; - for (let i2 = 0; i2 < str.length; i2++) { - const chrLower = lowercase.charAt(i2); - const chrString = str.charAt(i2); - if (chrLower !== chrString && i2 > 0) { - notCamelcase += `${joinString}${lowercase.charAt(i2)}`; + for (let i5 = 0; i5 < str.length; i5++) { + const chrLower = lowercase.charAt(i5); + const chrString = str.charAt(i5); + if (chrLower !== chrString && i5 > 0) { + notCamelcase += `${joinString}${lowercase.charAt(i5)}`; } else { notCamelcase += chrString; } } return notCamelcase; } - function looksLikeNumber(x5) { - if (x5 === null || x5 === void 0) + function looksLikeNumber(x12) { + if (x12 === null || x12 === void 0) return false; - if (typeof x5 === "number") + if (typeof x12 === "number") return true; - if (/^0x[0-9a-f]+$/i.test(x5)) + if (/^0x[0-9a-f]+$/i.test(x12)) return true; - if (/^0[^.]/.test(x5)) + if (/^0[^.]/.test(x12)) return false; - return /^[-]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(x5); + return /^[-]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(x12); } function tokenizeArgString(argString) { if (Array.isArray(argString)) { - return argString.map((e) => typeof e !== "string" ? e + "" : e); + return argString.map((e7) => typeof e7 !== "string" ? e7 + "" : e7); } argString = argString.trim(); - let i2 = 0; + let i5 = 0; let prevC = null; - let c = null; + let c7 = null; let opening = null; const args = []; - for (let ii = 0; ii < argString.length; ii++) { - prevC = c; - c = argString.charAt(ii); - if (c === " " && !opening) { + for (let ii10 = 0; ii10 < argString.length; ii10++) { + prevC = c7; + c7 = argString.charAt(ii10); + if (c7 === " " && !opening) { if (!(prevC === " ")) { - i2++; + i5++; } continue; } - if (c === opening) { + if (c7 === opening) { opening = null; - } else if ((c === "'" || c === '"') && !opening) { - opening = c; + } else if ((c7 === "'" || c7 === '"') && !opening) { + opening = c7; } - if (!args[i2]) - args[i2] = ""; - args[i2] += c; + if (!args[i5]) + args[i5] = ""; + args[i5] += c7; } return args; } @@ -22409,7 +22412,7 @@ var require_build2 = __commonJS({ constructor(_mixin) { mixin2 = _mixin; } - parse(argsInput, options) { + parse(argsInput, options8) { const opts = Object.assign({ alias: void 0, array: void 0, @@ -22427,7 +22430,7 @@ var require_build2 = __commonJS({ number: void 0, __: void 0, key: void 0 - }, options); + }, options8); const args = tokenizeArgString(argsInput); const aliases = combineAliases(Object.assign(/* @__PURE__ */ Object.create(null), opts.alias)); const configuration = Object.assign({ @@ -22457,7 +22460,7 @@ var require_build2 = __commonJS({ const notFlagsArgv = notFlagsOption ? "--" : "_"; const newAliases = /* @__PURE__ */ Object.create(null); const defaulted = /* @__PURE__ */ Object.create(null); - const __ = opts.__ || mixin2.format; + const __2 = opts.__ || mixin2.format; const flags = { aliases: /* @__PURE__ */ Object.create(null), arrays: /* @__PURE__ */ Object.create(null), @@ -22474,74 +22477,74 @@ var require_build2 = __commonJS({ const negative = /^-([0-9]+(\.[0-9]+)?|\.[0-9]+)$/; const negatedBoolean = new RegExp("^--" + configuration["negation-prefix"] + "(.+)"); [].concat(opts.array || []).filter(Boolean).forEach(function(opt) { - const key = typeof opt === "object" ? opt.key : opt; - const assignment = Object.keys(opt).map(function(key2) { + const key2 = typeof opt === "object" ? opt.key : opt; + const assignment = Object.keys(opt).map(function(key3) { const arrayFlagKeys = { boolean: "bools", string: "strings", number: "numbers" }; - return arrayFlagKeys[key2]; + return arrayFlagKeys[key3]; }).filter(Boolean).pop(); if (assignment) { - flags[assignment][key] = true; + flags[assignment][key2] = true; } - flags.arrays[key] = true; - flags.keys.push(key); + flags.arrays[key2] = true; + flags.keys.push(key2); }); - [].concat(opts.boolean || []).filter(Boolean).forEach(function(key) { - flags.bools[key] = true; - flags.keys.push(key); + [].concat(opts.boolean || []).filter(Boolean).forEach(function(key2) { + flags.bools[key2] = true; + flags.keys.push(key2); }); - [].concat(opts.string || []).filter(Boolean).forEach(function(key) { - flags.strings[key] = true; - flags.keys.push(key); + [].concat(opts.string || []).filter(Boolean).forEach(function(key2) { + flags.strings[key2] = true; + flags.keys.push(key2); }); - [].concat(opts.number || []).filter(Boolean).forEach(function(key) { - flags.numbers[key] = true; - flags.keys.push(key); + [].concat(opts.number || []).filter(Boolean).forEach(function(key2) { + flags.numbers[key2] = true; + flags.keys.push(key2); }); - [].concat(opts.count || []).filter(Boolean).forEach(function(key) { - flags.counts[key] = true; - flags.keys.push(key); + [].concat(opts.count || []).filter(Boolean).forEach(function(key2) { + flags.counts[key2] = true; + flags.keys.push(key2); }); - [].concat(opts.normalize || []).filter(Boolean).forEach(function(key) { - flags.normalize[key] = true; - flags.keys.push(key); + [].concat(opts.normalize || []).filter(Boolean).forEach(function(key2) { + flags.normalize[key2] = true; + flags.keys.push(key2); }); if (typeof opts.narg === "object") { - Object.entries(opts.narg).forEach(([key, value]) => { + Object.entries(opts.narg).forEach(([key2, value]) => { if (typeof value === "number") { - flags.nargs[key] = value; - flags.keys.push(key); + flags.nargs[key2] = value; + flags.keys.push(key2); } }); } if (typeof opts.coerce === "object") { - Object.entries(opts.coerce).forEach(([key, value]) => { + Object.entries(opts.coerce).forEach(([key2, value]) => { if (typeof value === "function") { - flags.coercions[key] = value; - flags.keys.push(key); + flags.coercions[key2] = value; + flags.keys.push(key2); } }); } if (typeof opts.config !== "undefined") { if (Array.isArray(opts.config) || typeof opts.config === "string") { - [].concat(opts.config).filter(Boolean).forEach(function(key) { - flags.configs[key] = true; + [].concat(opts.config).filter(Boolean).forEach(function(key2) { + flags.configs[key2] = true; }); } else if (typeof opts.config === "object") { - Object.entries(opts.config).forEach(([key, value]) => { + Object.entries(opts.config).forEach(([key2, value]) => { if (typeof value === "boolean" || typeof value === "function") { - flags.configs[key] = value; + flags.configs[key2] = value; } }); } } extendAliases(opts.key, aliases, opts.default, flags.arrays); - Object.keys(defaults2).forEach(function(key) { - (flags.aliases[key] || []).forEach(function(alias) { - defaults2[alias] = defaults2[key]; + Object.keys(defaults2).forEach(function(key2) { + (flags.aliases[key2] || []).forEach(function(alias) { + defaults2[alias] = defaults2[key2]; }); }); let error2 = null; @@ -22549,13 +22552,13 @@ var require_build2 = __commonJS({ let notFlags = []; const argv = Object.assign(/* @__PURE__ */ Object.create(null), { _: [] }); const argvReturn = {}; - for (let i2 = 0; i2 < args.length; i2++) { - const arg = args[i2]; + for (let i5 = 0; i5 < args.length; i5++) { + const arg = args[i5]; const truncatedArg = arg.replace(/^-{3,}/, "---"); let broken; - let key; + let key2; let letters; - let m; + let m7; let next2; let value; if (arg !== "--" && isUnknownOptionAsArg(arg)) { @@ -22564,122 +22567,122 @@ var require_build2 = __commonJS({ pushPositional(arg); continue; } else if (arg.match(/^--.+=/) || !configuration["short-option-groups"] && arg.match(/^-.+=/)) { - m = arg.match(/^--?([^=]+)=([\s\S]*)$/); - if (m !== null && Array.isArray(m) && m.length >= 3) { - if (checkAllAliases(m[1], flags.arrays)) { - i2 = eatArray(i2, m[1], args, m[2]); - } else if (checkAllAliases(m[1], flags.nargs) !== false) { - i2 = eatNargs(i2, m[1], args, m[2]); + m7 = arg.match(/^--?([^=]+)=([\s\S]*)$/); + if (m7 !== null && Array.isArray(m7) && m7.length >= 3) { + if (checkAllAliases(m7[1], flags.arrays)) { + i5 = eatArray(i5, m7[1], args, m7[2]); + } else if (checkAllAliases(m7[1], flags.nargs) !== false) { + i5 = eatNargs(i5, m7[1], args, m7[2]); } else { - setArg(m[1], m[2]); + setArg(m7[1], m7[2]); } } } else if (arg.match(negatedBoolean) && configuration["boolean-negation"]) { - m = arg.match(negatedBoolean); - if (m !== null && Array.isArray(m) && m.length >= 2) { - key = m[1]; - setArg(key, checkAllAliases(key, flags.arrays) ? [false] : false); + m7 = arg.match(negatedBoolean); + if (m7 !== null && Array.isArray(m7) && m7.length >= 2) { + key2 = m7[1]; + setArg(key2, checkAllAliases(key2, flags.arrays) ? [false] : false); } } else if (arg.match(/^--.+/) || !configuration["short-option-groups"] && arg.match(/^-[^-]+/)) { - m = arg.match(/^--?(.+)/); - if (m !== null && Array.isArray(m) && m.length >= 2) { - key = m[1]; - if (checkAllAliases(key, flags.arrays)) { - i2 = eatArray(i2, key, args); - } else if (checkAllAliases(key, flags.nargs) !== false) { - i2 = eatNargs(i2, key, args); + m7 = arg.match(/^--?(.+)/); + if (m7 !== null && Array.isArray(m7) && m7.length >= 2) { + key2 = m7[1]; + if (checkAllAliases(key2, flags.arrays)) { + i5 = eatArray(i5, key2, args); + } else if (checkAllAliases(key2, flags.nargs) !== false) { + i5 = eatNargs(i5, key2, args); } else { - next2 = args[i2 + 1]; - if (next2 !== void 0 && (!next2.match(/^-/) || next2.match(negative)) && !checkAllAliases(key, flags.bools) && !checkAllAliases(key, flags.counts)) { - setArg(key, next2); - i2++; + next2 = args[i5 + 1]; + if (next2 !== void 0 && (!next2.match(/^-/) || next2.match(negative)) && !checkAllAliases(key2, flags.bools) && !checkAllAliases(key2, flags.counts)) { + setArg(key2, next2); + i5++; } else if (/^(true|false)$/.test(next2)) { - setArg(key, next2); - i2++; + setArg(key2, next2); + i5++; } else { - setArg(key, defaultValue(key)); + setArg(key2, defaultValue(key2)); } } } } else if (arg.match(/^-.\..+=/)) { - m = arg.match(/^-([^=]+)=([\s\S]*)$/); - if (m !== null && Array.isArray(m) && m.length >= 3) { - setArg(m[1], m[2]); + m7 = arg.match(/^-([^=]+)=([\s\S]*)$/); + if (m7 !== null && Array.isArray(m7) && m7.length >= 3) { + setArg(m7[1], m7[2]); } } else if (arg.match(/^-.\..+/) && !arg.match(negative)) { - next2 = args[i2 + 1]; - m = arg.match(/^-(.\..+)/); - if (m !== null && Array.isArray(m) && m.length >= 2) { - key = m[1]; - if (next2 !== void 0 && !next2.match(/^-/) && !checkAllAliases(key, flags.bools) && !checkAllAliases(key, flags.counts)) { - setArg(key, next2); - i2++; + next2 = args[i5 + 1]; + m7 = arg.match(/^-(.\..+)/); + if (m7 !== null && Array.isArray(m7) && m7.length >= 2) { + key2 = m7[1]; + if (next2 !== void 0 && !next2.match(/^-/) && !checkAllAliases(key2, flags.bools) && !checkAllAliases(key2, flags.counts)) { + setArg(key2, next2); + i5++; } else { - setArg(key, defaultValue(key)); + setArg(key2, defaultValue(key2)); } } } else if (arg.match(/^-[^-]+/) && !arg.match(negative)) { letters = arg.slice(1, -1).split(""); broken = false; - for (let j = 0; j < letters.length; j++) { - next2 = arg.slice(j + 2); - if (letters[j + 1] && letters[j + 1] === "=") { - value = arg.slice(j + 3); - key = letters[j]; - if (checkAllAliases(key, flags.arrays)) { - i2 = eatArray(i2, key, args, value); - } else if (checkAllAliases(key, flags.nargs) !== false) { - i2 = eatNargs(i2, key, args, value); + for (let j9 = 0; j9 < letters.length; j9++) { + next2 = arg.slice(j9 + 2); + if (letters[j9 + 1] && letters[j9 + 1] === "=") { + value = arg.slice(j9 + 3); + key2 = letters[j9]; + if (checkAllAliases(key2, flags.arrays)) { + i5 = eatArray(i5, key2, args, value); + } else if (checkAllAliases(key2, flags.nargs) !== false) { + i5 = eatNargs(i5, key2, args, value); } else { - setArg(key, value); + setArg(key2, value); } broken = true; break; } if (next2 === "-") { - setArg(letters[j], next2); + setArg(letters[j9], next2); continue; } - if (/[A-Za-z]/.test(letters[j]) && /^-?\d+(\.\d*)?(e-?\d+)?$/.test(next2) && checkAllAliases(next2, flags.bools) === false) { - setArg(letters[j], next2); + if (/[A-Za-z]/.test(letters[j9]) && /^-?\d+(\.\d*)?(e-?\d+)?$/.test(next2) && checkAllAliases(next2, flags.bools) === false) { + setArg(letters[j9], next2); broken = true; break; } - if (letters[j + 1] && letters[j + 1].match(/\W/)) { - setArg(letters[j], next2); + if (letters[j9 + 1] && letters[j9 + 1].match(/\W/)) { + setArg(letters[j9], next2); broken = true; break; } else { - setArg(letters[j], defaultValue(letters[j])); + setArg(letters[j9], defaultValue(letters[j9])); } } - key = arg.slice(-1)[0]; - if (!broken && key !== "-") { - if (checkAllAliases(key, flags.arrays)) { - i2 = eatArray(i2, key, args); - } else if (checkAllAliases(key, flags.nargs) !== false) { - i2 = eatNargs(i2, key, args); + key2 = arg.slice(-1)[0]; + if (!broken && key2 !== "-") { + if (checkAllAliases(key2, flags.arrays)) { + i5 = eatArray(i5, key2, args); + } else if (checkAllAliases(key2, flags.nargs) !== false) { + i5 = eatNargs(i5, key2, args); } else { - next2 = args[i2 + 1]; - if (next2 !== void 0 && (!/^(-|--)[^-]/.test(next2) || next2.match(negative)) && !checkAllAliases(key, flags.bools) && !checkAllAliases(key, flags.counts)) { - setArg(key, next2); - i2++; + next2 = args[i5 + 1]; + if (next2 !== void 0 && (!/^(-|--)[^-]/.test(next2) || next2.match(negative)) && !checkAllAliases(key2, flags.bools) && !checkAllAliases(key2, flags.counts)) { + setArg(key2, next2); + i5++; } else if (/^(true|false)$/.test(next2)) { - setArg(key, next2); - i2++; + setArg(key2, next2); + i5++; } else { - setArg(key, defaultValue(key)); + setArg(key2, defaultValue(key2)); } } } } else if (arg.match(/^-[0-9]$/) && arg.match(negative) && checkAllAliases(arg.slice(1), flags.bools)) { - key = arg.slice(1); - setArg(key, defaultValue(key)); + key2 = arg.slice(1); + setArg(key2, defaultValue(key2)); } else if (arg === "--") { - notFlags = args.slice(i2 + 1); + notFlags = args.slice(i5 + 1); break; } else if (configuration["halt-at-non-option"]) { - notFlags = args.slice(i2); + notFlags = args.slice(i5); break; } else { pushPositional(arg); @@ -22693,22 +22696,22 @@ var require_build2 = __commonJS({ applyCoercions(argv); if (configuration["set-placeholder-key"]) setPlaceholderKeys(argv); - Object.keys(flags.counts).forEach(function(key) { - if (!hasKey(argv, key.split("."))) - setArg(key, 0); + Object.keys(flags.counts).forEach(function(key2) { + if (!hasKey(argv, key2.split("."))) + setArg(key2, 0); }); if (notFlagsOption && notFlags.length) argv[notFlagsArgv] = []; - notFlags.forEach(function(key) { - argv[notFlagsArgv].push(key); + notFlags.forEach(function(key2) { + argv[notFlagsArgv].push(key2); }); if (configuration["camel-case-expansion"] && configuration["strip-dashed"]) { - Object.keys(argv).filter((key) => key !== "--" && key.includes("-")).forEach((key) => { - delete argv[key]; + Object.keys(argv).filter((key2) => key2 !== "--" && key2.includes("-")).forEach((key2) => { + delete argv[key2]; }); } if (configuration["strip-aliased"]) { - [].concat(...Object.keys(aliases).map((k) => aliases[k])).forEach((alias) => { + [].concat(...Object.keys(aliases).map((k8) => aliases[k8])).forEach((alias) => { if (configuration["camel-case-expansion"] && alias.includes("-")) { delete argv[alias.split(".").map((prop) => camelCase2(prop)).join(".")]; } @@ -22721,105 +22724,105 @@ var require_build2 = __commonJS({ argv._.push(maybeCoercedNumber); } } - function eatNargs(i2, key, args2, argAfterEqualSign) { - let ii; - let toEat = checkAllAliases(key, flags.nargs); + function eatNargs(i5, key2, args2, argAfterEqualSign) { + let ii10; + let toEat = checkAllAliases(key2, flags.nargs); toEat = typeof toEat !== "number" || isNaN(toEat) ? 1 : toEat; if (toEat === 0) { if (!isUndefined(argAfterEqualSign)) { - error2 = Error(__("Argument unexpected for: %s", key)); + error2 = Error(__2("Argument unexpected for: %s", key2)); } - setArg(key, defaultValue(key)); - return i2; + setArg(key2, defaultValue(key2)); + return i5; } let available = isUndefined(argAfterEqualSign) ? 0 : 1; if (configuration["nargs-eats-options"]) { - if (args2.length - (i2 + 1) + available < toEat) { - error2 = Error(__("Not enough arguments following: %s", key)); + if (args2.length - (i5 + 1) + available < toEat) { + error2 = Error(__2("Not enough arguments following: %s", key2)); } available = toEat; } else { - for (ii = i2 + 1; ii < args2.length; ii++) { - if (!args2[ii].match(/^-[^0-9]/) || args2[ii].match(negative) || isUnknownOptionAsArg(args2[ii])) + for (ii10 = i5 + 1; ii10 < args2.length; ii10++) { + if (!args2[ii10].match(/^-[^0-9]/) || args2[ii10].match(negative) || isUnknownOptionAsArg(args2[ii10])) available++; else break; } if (available < toEat) - error2 = Error(__("Not enough arguments following: %s", key)); + error2 = Error(__2("Not enough arguments following: %s", key2)); } let consumed = Math.min(available, toEat); if (!isUndefined(argAfterEqualSign) && consumed > 0) { - setArg(key, argAfterEqualSign); + setArg(key2, argAfterEqualSign); consumed--; } - for (ii = i2 + 1; ii < consumed + i2 + 1; ii++) { - setArg(key, args2[ii]); + for (ii10 = i5 + 1; ii10 < consumed + i5 + 1; ii10++) { + setArg(key2, args2[ii10]); } - return i2 + consumed; + return i5 + consumed; } - function eatArray(i2, key, args2, argAfterEqualSign) { + function eatArray(i5, key2, args2, argAfterEqualSign) { let argsToSet = []; - let next2 = argAfterEqualSign || args2[i2 + 1]; - const nargsCount = checkAllAliases(key, flags.nargs); - if (checkAllAliases(key, flags.bools) && !/^(true|false)$/.test(next2)) { + let next2 = argAfterEqualSign || args2[i5 + 1]; + const nargsCount = checkAllAliases(key2, flags.nargs); + if (checkAllAliases(key2, flags.bools) && !/^(true|false)$/.test(next2)) { argsToSet.push(true); } else if (isUndefined(next2) || isUndefined(argAfterEqualSign) && /^-/.test(next2) && !negative.test(next2) && !isUnknownOptionAsArg(next2)) { - if (defaults2[key] !== void 0) { - const defVal = defaults2[key]; + if (defaults2[key2] !== void 0) { + const defVal = defaults2[key2]; argsToSet = Array.isArray(defVal) ? defVal : [defVal]; } } else { if (!isUndefined(argAfterEqualSign)) { - argsToSet.push(processValue(key, argAfterEqualSign)); + argsToSet.push(processValue(key2, argAfterEqualSign)); } - for (let ii = i2 + 1; ii < args2.length; ii++) { + for (let ii10 = i5 + 1; ii10 < args2.length; ii10++) { if (!configuration["greedy-arrays"] && argsToSet.length > 0 || nargsCount && typeof nargsCount === "number" && argsToSet.length >= nargsCount) break; - next2 = args2[ii]; + next2 = args2[ii10]; if (/^-/.test(next2) && !negative.test(next2) && !isUnknownOptionAsArg(next2)) break; - i2 = ii; - argsToSet.push(processValue(key, next2)); + i5 = ii10; + argsToSet.push(processValue(key2, next2)); } } if (typeof nargsCount === "number" && (nargsCount && argsToSet.length < nargsCount || isNaN(nargsCount) && argsToSet.length === 0)) { - error2 = Error(__("Not enough arguments following: %s", key)); + error2 = Error(__2("Not enough arguments following: %s", key2)); } - setArg(key, argsToSet); - return i2; + setArg(key2, argsToSet); + return i5; } - function setArg(key, val) { - if (/-/.test(key) && configuration["camel-case-expansion"]) { - const alias = key.split(".").map(function(prop) { + function setArg(key2, val) { + if (/-/.test(key2) && configuration["camel-case-expansion"]) { + const alias = key2.split(".").map(function(prop) { return camelCase2(prop); }).join("."); - addNewAlias(key, alias); + addNewAlias(key2, alias); } - const value = processValue(key, val); - const splitKey = key.split("."); + const value = processValue(key2, val); + const splitKey = key2.split("."); setKey(argv, splitKey, value); - if (flags.aliases[key]) { - flags.aliases[key].forEach(function(x5) { - const keyProperties = x5.split("."); + if (flags.aliases[key2]) { + flags.aliases[key2].forEach(function(x12) { + const keyProperties = x12.split("."); setKey(argv, keyProperties, value); }); } if (splitKey.length > 1 && configuration["dot-notation"]) { - (flags.aliases[splitKey[0]] || []).forEach(function(x5) { - let keyProperties = x5.split("."); - const a = [].concat(splitKey); - a.shift(); - keyProperties = keyProperties.concat(a); - if (!(flags.aliases[key] || []).includes(keyProperties.join("."))) { + (flags.aliases[splitKey[0]] || []).forEach(function(x12) { + let keyProperties = x12.split("."); + const a5 = [].concat(splitKey); + a5.shift(); + keyProperties = keyProperties.concat(a5); + if (!(flags.aliases[key2] || []).includes(keyProperties.join("."))) { setKey(argv, keyProperties, value); } }); } - if (checkAllAliases(key, flags.normalize) && !checkAllAliases(key, flags.arrays)) { - const keys = [key].concat(flags.aliases[key] || []); - keys.forEach(function(key2) { - Object.defineProperty(argvReturn, key2, { + if (checkAllAliases(key2, flags.normalize) && !checkAllAliases(key2, flags.arrays)) { + const keys = [key2].concat(flags.aliases[key2] || []); + keys.forEach(function(key3) { + Object.defineProperty(argvReturn, key3, { enumerable: true, get() { return val; @@ -22831,30 +22834,30 @@ var require_build2 = __commonJS({ }); } } - function addNewAlias(key, alias) { - if (!(flags.aliases[key] && flags.aliases[key].length)) { - flags.aliases[key] = [alias]; + function addNewAlias(key2, alias) { + if (!(flags.aliases[key2] && flags.aliases[key2].length)) { + flags.aliases[key2] = [alias]; newAliases[alias] = true; } if (!(flags.aliases[alias] && flags.aliases[alias].length)) { - addNewAlias(alias, key); + addNewAlias(alias, key2); } } - function processValue(key, val) { + function processValue(key2, val) { if (typeof val === "string" && (val[0] === "'" || val[0] === '"') && val[val.length - 1] === val[0]) { val = val.substring(1, val.length - 1); } - if (checkAllAliases(key, flags.bools) || checkAllAliases(key, flags.counts)) { + if (checkAllAliases(key2, flags.bools) || checkAllAliases(key2, flags.counts)) { if (typeof val === "string") val = val === "true"; } - let value = Array.isArray(val) ? val.map(function(v) { - return maybeCoerceNumber(key, v); - }) : maybeCoerceNumber(key, val); - if (checkAllAliases(key, flags.counts) && (isUndefined(value) || typeof value === "boolean")) { + let value = Array.isArray(val) ? val.map(function(v9) { + return maybeCoerceNumber(key2, v9); + }) : maybeCoerceNumber(key2, val); + if (checkAllAliases(key2, flags.counts) && (isUndefined(value) || typeof value === "boolean")) { value = increment(); } - if (checkAllAliases(key, flags.normalize) && checkAllAliases(key, flags.arrays)) { + if (checkAllAliases(key2, flags.normalize) && checkAllAliases(key2, flags.arrays)) { if (Array.isArray(val)) value = val.map((val2) => { return mixin2.normalize(val2); @@ -22864,12 +22867,12 @@ var require_build2 = __commonJS({ } return value; } - function maybeCoerceNumber(key, value) { - if (!configuration["parse-positional-numbers"] && key === "_") + function maybeCoerceNumber(key2, value) { + if (!configuration["parse-positional-numbers"] && key2 === "_") return value; - if (!checkAllAliases(key, flags.strings) && !checkAllAliases(key, flags.bools) && !Array.isArray(value)) { + if (!checkAllAliases(key2, flags.strings) && !checkAllAliases(key2, flags.bools) && !Array.isArray(value)) { const shouldCoerceNumber = looksLikeNumber(value) && configuration["parse-numbers"] && Number.isSafeInteger(Math.floor(parseFloat(`${value}`))); - if (shouldCoerceNumber || !isUndefined(value) && checkAllAliases(key, flags.numbers)) { + if (shouldCoerceNumber || !isUndefined(value) && checkAllAliases(key2, flags.numbers)) { value = Number(value); } } @@ -22884,12 +22887,12 @@ var require_build2 = __commonJS({ try { let config = null; const resolvedConfigPath = mixin2.resolve(mixin2.cwd(), configPath); - const resolveConfig = flags.configs[configKey]; - if (typeof resolveConfig === "function") { + const resolveConfig2 = flags.configs[configKey]; + if (typeof resolveConfig2 === "function") { try { - config = resolveConfig(resolvedConfigPath); - } catch (e) { - config = e; + config = resolveConfig2(resolvedConfigPath); + } catch (e7) { + config = e7; } if (config instanceof Error) { error2 = config; @@ -22903,15 +22906,15 @@ var require_build2 = __commonJS({ if (ex.name === "PermissionDenied") error2 = ex; else if (argv2[configKey]) - error2 = Error(__("Invalid JSON config file: %s", configPath)); + error2 = Error(__2("Invalid JSON config file: %s", configPath)); } } }); } function setConfigObject(config, prev2) { - Object.keys(config).forEach(function(key) { - const value = config[key]; - const fullKey = prev2 ? prev2 + "." + key : key; + Object.keys(config).forEach(function(key2) { + const value = config[key2]; + const fullKey = prev2 ? prev2 + "." + key2 : key2; if (typeof value === "object" && value !== null && !Array.isArray(value) && configuration["dot-notation"]) { setConfigObject(value, fullKey); } else { @@ -22935,11 +22938,11 @@ var require_build2 = __commonJS({ const env3 = mixin2.env(); Object.keys(env3).forEach(function(envVar) { if (prefix === "" || envVar.lastIndexOf(prefix, 0) === 0) { - const keys = envVar.split("__").map(function(key, i2) { - if (i2 === 0) { - key = key.substring(prefix.length); + const keys = envVar.split("__").map(function(key2, i5) { + if (i5 === 0) { + key2 = key2.substring(prefix.length); } - return camelCase2(key); + return camelCase2(key2); }); if ((configOnly && flags.configs[keys.join(".")] || !configOnly) && !hasKey(argv2, keys)) { setArg(keys.join("."), env3[envVar]); @@ -22950,13 +22953,13 @@ var require_build2 = __commonJS({ function applyCoercions(argv2) { let coerce; const applied = /* @__PURE__ */ new Set(); - Object.keys(argv2).forEach(function(key) { - if (!applied.has(key)) { - coerce = checkAllAliases(key, flags.coercions); + Object.keys(argv2).forEach(function(key2) { + if (!applied.has(key2)) { + coerce = checkAllAliases(key2, flags.coercions); if (typeof coerce === "function") { try { - const value = maybeCoerceNumber(key, coerce(argv2[key])); - [].concat(flags.aliases[key] || [], key).forEach((ali) => { + const value = maybeCoerceNumber(key2, coerce(argv2[key2])); + [].concat(flags.aliases[key2] || [], key2).forEach((ali) => { applied.add(ali); argv2[ali] = value; }); @@ -22968,132 +22971,132 @@ var require_build2 = __commonJS({ }); } function setPlaceholderKeys(argv2) { - flags.keys.forEach((key) => { - if (~key.indexOf(".")) + flags.keys.forEach((key2) => { + if (~key2.indexOf(".")) return; - if (typeof argv2[key] === "undefined") - argv2[key] = void 0; + if (typeof argv2[key2] === "undefined") + argv2[key2] = void 0; }); return argv2; } function applyDefaultsAndAliases(obj, aliases2, defaults3, canLog = false) { - Object.keys(defaults3).forEach(function(key) { - if (!hasKey(obj, key.split("."))) { - setKey(obj, key.split("."), defaults3[key]); + Object.keys(defaults3).forEach(function(key2) { + if (!hasKey(obj, key2.split("."))) { + setKey(obj, key2.split("."), defaults3[key2]); if (canLog) - defaulted[key] = true; - (aliases2[key] || []).forEach(function(x5) { - if (hasKey(obj, x5.split("."))) + defaulted[key2] = true; + (aliases2[key2] || []).forEach(function(x12) { + if (hasKey(obj, x12.split("."))) return; - setKey(obj, x5.split("."), defaults3[key]); + setKey(obj, x12.split("."), defaults3[key2]); }); } }); } function hasKey(obj, keys) { - let o = obj; + let o5 = obj; if (!configuration["dot-notation"]) keys = [keys.join(".")]; - keys.slice(0, -1).forEach(function(key2) { - o = o[key2] || {}; + keys.slice(0, -1).forEach(function(key3) { + o5 = o5[key3] || {}; }); - const key = keys[keys.length - 1]; - if (typeof o !== "object") + const key2 = keys[keys.length - 1]; + if (typeof o5 !== "object") return false; else - return key in o; + return key2 in o5; } function setKey(obj, keys, value) { - let o = obj; + let o5 = obj; if (!configuration["dot-notation"]) keys = [keys.join(".")]; - keys.slice(0, -1).forEach(function(key2) { - key2 = sanitizeKey(key2); - if (typeof o === "object" && o[key2] === void 0) { - o[key2] = {}; - } - if (typeof o[key2] !== "object" || Array.isArray(o[key2])) { - if (Array.isArray(o[key2])) { - o[key2].push({}); + keys.slice(0, -1).forEach(function(key3) { + key3 = sanitizeKey(key3); + if (typeof o5 === "object" && o5[key3] === void 0) { + o5[key3] = {}; + } + if (typeof o5[key3] !== "object" || Array.isArray(o5[key3])) { + if (Array.isArray(o5[key3])) { + o5[key3].push({}); } else { - o[key2] = [o[key2], {}]; + o5[key3] = [o5[key3], {}]; } - o = o[key2][o[key2].length - 1]; + o5 = o5[key3][o5[key3].length - 1]; } else { - o = o[key2]; + o5 = o5[key3]; } }); - const key = sanitizeKey(keys[keys.length - 1]); + const key2 = sanitizeKey(keys[keys.length - 1]); const isTypeArray = checkAllAliases(keys.join("."), flags.arrays); const isValueArray = Array.isArray(value); let duplicate = configuration["duplicate-arguments-array"]; - if (!duplicate && checkAllAliases(key, flags.nargs)) { + if (!duplicate && checkAllAliases(key2, flags.nargs)) { duplicate = true; - if (!isUndefined(o[key]) && flags.nargs[key] === 1 || Array.isArray(o[key]) && o[key].length === flags.nargs[key]) { - o[key] = void 0; + if (!isUndefined(o5[key2]) && flags.nargs[key2] === 1 || Array.isArray(o5[key2]) && o5[key2].length === flags.nargs[key2]) { + o5[key2] = void 0; } } if (value === increment()) { - o[key] = increment(o[key]); - } else if (Array.isArray(o[key])) { + o5[key2] = increment(o5[key2]); + } else if (Array.isArray(o5[key2])) { if (duplicate && isTypeArray && isValueArray) { - o[key] = configuration["flatten-duplicate-arrays"] ? o[key].concat(value) : (Array.isArray(o[key][0]) ? o[key] : [o[key]]).concat([value]); + o5[key2] = configuration["flatten-duplicate-arrays"] ? o5[key2].concat(value) : (Array.isArray(o5[key2][0]) ? o5[key2] : [o5[key2]]).concat([value]); } else if (!duplicate && Boolean(isTypeArray) === Boolean(isValueArray)) { - o[key] = value; + o5[key2] = value; } else { - o[key] = o[key].concat([value]); + o5[key2] = o5[key2].concat([value]); } - } else if (o[key] === void 0 && isTypeArray) { - o[key] = isValueArray ? value : [value]; - } else if (duplicate && !(o[key] === void 0 || checkAllAliases(key, flags.counts) || checkAllAliases(key, flags.bools))) { - o[key] = [o[key], value]; + } else if (o5[key2] === void 0 && isTypeArray) { + o5[key2] = isValueArray ? value : [value]; + } else if (duplicate && !(o5[key2] === void 0 || checkAllAliases(key2, flags.counts) || checkAllAliases(key2, flags.bools))) { + o5[key2] = [o5[key2], value]; } else { - o[key] = value; + o5[key2] = value; } } function extendAliases(...args2) { args2.forEach(function(obj) { - Object.keys(obj || {}).forEach(function(key) { - if (flags.aliases[key]) + Object.keys(obj || {}).forEach(function(key2) { + if (flags.aliases[key2]) return; - flags.aliases[key] = [].concat(aliases[key] || []); - flags.aliases[key].concat(key).forEach(function(x5) { - if (/-/.test(x5) && configuration["camel-case-expansion"]) { - const c = camelCase2(x5); - if (c !== key && flags.aliases[key].indexOf(c) === -1) { - flags.aliases[key].push(c); - newAliases[c] = true; + flags.aliases[key2] = [].concat(aliases[key2] || []); + flags.aliases[key2].concat(key2).forEach(function(x12) { + if (/-/.test(x12) && configuration["camel-case-expansion"]) { + const c7 = camelCase2(x12); + if (c7 !== key2 && flags.aliases[key2].indexOf(c7) === -1) { + flags.aliases[key2].push(c7); + newAliases[c7] = true; } } }); - flags.aliases[key].concat(key).forEach(function(x5) { - if (x5.length > 1 && /[A-Z]/.test(x5) && configuration["camel-case-expansion"]) { - const c = decamelize2(x5, "-"); - if (c !== key && flags.aliases[key].indexOf(c) === -1) { - flags.aliases[key].push(c); - newAliases[c] = true; + flags.aliases[key2].concat(key2).forEach(function(x12) { + if (x12.length > 1 && /[A-Z]/.test(x12) && configuration["camel-case-expansion"]) { + const c7 = decamelize2(x12, "-"); + if (c7 !== key2 && flags.aliases[key2].indexOf(c7) === -1) { + flags.aliases[key2].push(c7); + newAliases[c7] = true; } } }); - flags.aliases[key].forEach(function(x5) { - flags.aliases[x5] = [key].concat(flags.aliases[key].filter(function(y5) { - return x5 !== y5; + flags.aliases[key2].forEach(function(x12) { + flags.aliases[x12] = [key2].concat(flags.aliases[key2].filter(function(y10) { + return x12 !== y10; })); }); }); }); } - function checkAllAliases(key, flag) { - const toCheck = [].concat(flags.aliases[key] || [], key); + function checkAllAliases(key2, flag) { + const toCheck = [].concat(flags.aliases[key2] || [], key2); const keys = Object.keys(flag); - const setAlias = toCheck.find((key2) => keys.includes(key2)); + const setAlias = toCheck.find((key3) => keys.includes(key3)); return setAlias ? flag[setAlias] : false; } - function hasAnyFlag(key) { + function hasAnyFlag(key2) { const flagsKeys = Object.keys(flags); - const toCheck = [].concat(flagsKeys.map((k) => flags[k])); + const toCheck = [].concat(flagsKeys.map((k8) => flags[k8])); return toCheck.some(function(flag) { - return Array.isArray(flag) ? flag.includes(key) : flag[key]; + return Array.isArray(flag) ? flag.includes(key2) : flag[key2]; }); } function hasFlagsMatching(arg, ...patterns) { @@ -23110,13 +23113,13 @@ var require_build2 = __commonJS({ let hasAllFlags = true; let next2; const letters = arg.slice(1).split(""); - for (let j = 0; j < letters.length; j++) { - next2 = arg.slice(j + 2); - if (!hasAnyFlag(letters[j])) { + for (let j9 = 0; j9 < letters.length; j9++) { + next2 = arg.slice(j9 + 2); + if (!hasAnyFlag(letters[j9])) { hasAllFlags = false; break; } - if (letters[j + 1] && letters[j + 1] === "=" || next2 === "-" || /[A-Za-z]/.test(letters[j]) && /^-?\d+(\.\d*)?(e-?\d+)?$/.test(next2) || letters[j + 1] && letters[j + 1].match(/\W/)) { + if (letters[j9 + 1] && letters[j9 + 1] === "=" || next2 === "-" || /[A-Za-z]/.test(letters[j9]) && /^-?\d+(\.\d*)?(e-?\d+)?$/.test(next2) || letters[j9 + 1] && letters[j9 + 1].match(/\W/)) { break; } } @@ -23140,11 +23143,11 @@ var require_build2 = __commonJS({ const flagEndingInNonWordCharacters = /^-+([^=]+?)\W+.*$/; return !hasFlagsMatching(arg, flagWithEquals, negatedBoolean, normalFlag, flagEndingInHyphen, flagEndingInDigits, flagEndingInNonWordCharacters); } - function defaultValue(key) { - if (!checkAllAliases(key, flags.bools) && !checkAllAliases(key, flags.counts) && `${key}` in defaults2) { - return defaults2[key]; + function defaultValue(key2) { + if (!checkAllAliases(key2, flags.bools) && !checkAllAliases(key2, flags.counts) && `${key2}` in defaults2) { + return defaults2[key2]; } else { - return defaultForType(guessType(key)); + return defaultForType(guessType(key2)); } } function defaultForType(type) { @@ -23156,15 +23159,15 @@ var require_build2 = __commonJS({ }; return def[type]; } - function guessType(key) { + function guessType(key2) { let type = DefaultValuesForTypeKey.BOOLEAN; - if (checkAllAliases(key, flags.strings)) + if (checkAllAliases(key2, flags.strings)) type = DefaultValuesForTypeKey.STRING; - else if (checkAllAliases(key, flags.numbers)) + else if (checkAllAliases(key2, flags.numbers)) type = DefaultValuesForTypeKey.NUMBER; - else if (checkAllAliases(key, flags.bools)) + else if (checkAllAliases(key2, flags.bools)) type = DefaultValuesForTypeKey.BOOLEAN; - else if (checkAllAliases(key, flags.arrays)) + else if (checkAllAliases(key2, flags.arrays)) type = DefaultValuesForTypeKey.ARRAY; return type; } @@ -23172,12 +23175,12 @@ var require_build2 = __commonJS({ return num === void 0; } function checkConfiguration() { - Object.keys(flags.counts).find((key) => { - if (checkAllAliases(key, flags.arrays)) { - error2 = Error(__("Invalid configuration: %s, opts.count excludes opts.array.", key)); + Object.keys(flags.counts).find((key2) => { + if (checkAllAliases(key2, flags.arrays)) { + error2 = Error(__2("Invalid configuration: %s, opts.count excludes opts.array.", key2)); return true; - } else if (checkAllAliases(key, flags.nargs)) { - error2 = Error(__("Invalid configuration: %s, opts.count excludes opts.narg.", key)); + } else if (checkAllAliases(key2, flags.nargs)) { + error2 = Error(__2("Invalid configuration: %s, opts.count excludes opts.narg.", key2)); return true; } return false; @@ -23197,19 +23200,19 @@ var require_build2 = __commonJS({ const aliasArrays = []; const combined = /* @__PURE__ */ Object.create(null); let change = true; - Object.keys(aliases).forEach(function(key) { - aliasArrays.push([].concat(aliases[key], key)); + Object.keys(aliases).forEach(function(key2) { + aliasArrays.push([].concat(aliases[key2], key2)); }); while (change) { change = false; - for (let i2 = 0; i2 < aliasArrays.length; i2++) { - for (let ii = i2 + 1; ii < aliasArrays.length; ii++) { - const intersect = aliasArrays[i2].filter(function(v) { - return aliasArrays[ii].indexOf(v) !== -1; + for (let i5 = 0; i5 < aliasArrays.length; i5++) { + for (let ii10 = i5 + 1; ii10 < aliasArrays.length; ii10++) { + const intersect = aliasArrays[i5].filter(function(v9) { + return aliasArrays[ii10].indexOf(v9) !== -1; }); if (intersect.length) { - aliasArrays[i2] = aliasArrays[i2].concat(aliasArrays[ii]); - aliasArrays.splice(ii, 1); + aliasArrays[i5] = aliasArrays[i5].concat(aliasArrays[ii10]); + aliasArrays.splice(ii10, 1); change = true; break; } @@ -23217,8 +23220,8 @@ var require_build2 = __commonJS({ } } aliasArrays.forEach(function(aliasArray) { - aliasArray = aliasArray.filter(function(v, i2, self2) { - return self2.indexOf(v) === i2; + aliasArray = aliasArray.filter(function(v9, i5, self2) { + return self2.indexOf(v9) === i5; }); const lastAlias = aliasArray.pop(); if (lastAlias !== void 0 && typeof lastAlias === "string") { @@ -23230,10 +23233,10 @@ var require_build2 = __commonJS({ function increment(orig) { return orig !== void 0 ? orig + 1 : 1; } - function sanitizeKey(key) { - if (key === "__proto__") + function sanitizeKey(key2) { + if (key2 === "__proto__") return "___proto___"; - return key; + return key2; } var minNodeVersion = process && process.env && process.env.YARGS_MIN_NODE_VERSION ? Number(process.env.YARGS_MIN_NODE_VERSION) : 10; if (process && process.version) { @@ -23248,14 +23251,14 @@ var require_build2 = __commonJS({ env: () => { return env2; }, - format: util.format, - normalize: path7.normalize, - resolve: path7.resolve, - require: (path8) => { + format: util2.format, + normalize: path19.normalize, + resolve: path19.resolve, + require: (path20) => { if (typeof __require !== "undefined") { - return __require(path8); - } else if (path8.match(/\.json$/)) { - return fs7.readFileSync(path8, "utf8"); + return __require(path20); + } else if (path20.match(/\.json$/)) { + return fs14.readFileSync(path20, "utf8"); } else { throw Error("only .json config files are supported in ESM"); } @@ -23358,8 +23361,8 @@ var require_string_width = __commonJS({ } string = string.replace(emojiRegex(), " "); let width4 = 0; - for (let i2 = 0; i2 < string.length; i2++) { - const code = string.codePointAt(i2); + for (let i5 = 0; i5 < string.length; i5++) { + const code = string.codePointAt(i5); if (code <= 31 || code >= 127 && code <= 159) { continue; } @@ -23367,7 +23370,7 @@ var require_string_width = __commonJS({ continue; } if (code > 65535) { - i2++; + i5++; } width4 += isFullwidthCodePoint(code) ? 2 : 1; } @@ -23540,8 +23543,8 @@ var require_conversions = __commonJS({ "node_modules/color-convert/conversions.js"(exports, module) { var cssKeywords = require_color_name(); var reverseKeywords = {}; - for (const key of Object.keys(cssKeywords)) { - reverseKeywords[cssKeywords[key]] = key; + for (const key2 of Object.keys(cssKeywords)) { + reverseKeywords[cssKeywords[key2]] = key2; } var convert = { rgb: { channels: 3, labels: "rgb" }, @@ -23578,99 +23581,99 @@ var require_conversions = __commonJS({ Object.defineProperty(convert[model], "labels", { value: labels }); } convert.rgb.hsl = function(rgb2) { - const r = rgb2[0] / 255; - const g = rgb2[1] / 255; - const b = rgb2[2] / 255; - const min = Math.min(r, g, b); - const max = Math.max(r, g, b); + const r5 = rgb2[0] / 255; + const g5 = rgb2[1] / 255; + const b7 = rgb2[2] / 255; + const min = Math.min(r5, g5, b7); + const max = Math.max(r5, g5, b7); const delta = max - min; - let h; - let s; + let h5; + let s5; if (max === min) { - h = 0; - } else if (r === max) { - h = (g - b) / delta; - } else if (g === max) { - h = 2 + (b - r) / delta; - } else if (b === max) { - h = 4 + (r - g) / delta; - } - h = Math.min(h * 60, 360); - if (h < 0) { - h += 360; - } - const l = (min + max) / 2; + h5 = 0; + } else if (r5 === max) { + h5 = (g5 - b7) / delta; + } else if (g5 === max) { + h5 = 2 + (b7 - r5) / delta; + } else if (b7 === max) { + h5 = 4 + (r5 - g5) / delta; + } + h5 = Math.min(h5 * 60, 360); + if (h5 < 0) { + h5 += 360; + } + const l5 = (min + max) / 2; if (max === min) { - s = 0; - } else if (l <= 0.5) { - s = delta / (max + min); + s5 = 0; + } else if (l5 <= 0.5) { + s5 = delta / (max + min); } else { - s = delta / (2 - max - min); + s5 = delta / (2 - max - min); } - return [h, s * 100, l * 100]; + return [h5, s5 * 100, l5 * 100]; }; convert.rgb.hsv = function(rgb2) { let rdif; let gdif; let bdif; - let h; - let s; - const r = rgb2[0] / 255; - const g = rgb2[1] / 255; - const b = rgb2[2] / 255; - const v = Math.max(r, g, b); - const diff = v - Math.min(r, g, b); - const diffc = function(c) { - return (v - c) / 6 / diff + 1 / 2; + let h5; + let s5; + const r5 = rgb2[0] / 255; + const g5 = rgb2[1] / 255; + const b7 = rgb2[2] / 255; + const v9 = Math.max(r5, g5, b7); + const diff = v9 - Math.min(r5, g5, b7); + const diffc = function(c7) { + return (v9 - c7) / 6 / diff + 1 / 2; }; if (diff === 0) { - h = 0; - s = 0; + h5 = 0; + s5 = 0; } else { - s = diff / v; - rdif = diffc(r); - gdif = diffc(g); - bdif = diffc(b); - if (r === v) { - h = bdif - gdif; - } else if (g === v) { - h = 1 / 3 + rdif - bdif; - } else if (b === v) { - h = 2 / 3 + gdif - rdif; - } - if (h < 0) { - h += 1; - } else if (h > 1) { - h -= 1; + s5 = diff / v9; + rdif = diffc(r5); + gdif = diffc(g5); + bdif = diffc(b7); + if (r5 === v9) { + h5 = bdif - gdif; + } else if (g5 === v9) { + h5 = 1 / 3 + rdif - bdif; + } else if (b7 === v9) { + h5 = 2 / 3 + gdif - rdif; + } + if (h5 < 0) { + h5 += 1; + } else if (h5 > 1) { + h5 -= 1; } } return [ - h * 360, - s * 100, - v * 100 + h5 * 360, + s5 * 100, + v9 * 100 ]; }; convert.rgb.hwb = function(rgb2) { - const r = rgb2[0]; - const g = rgb2[1]; - let b = rgb2[2]; - const h = convert.rgb.hsl(rgb2)[0]; - const w = 1 / 255 * Math.min(r, Math.min(g, b)); - b = 1 - 1 / 255 * Math.max(r, Math.max(g, b)); - return [h, w * 100, b * 100]; + const r5 = rgb2[0]; + const g5 = rgb2[1]; + let b7 = rgb2[2]; + const h5 = convert.rgb.hsl(rgb2)[0]; + const w8 = 1 / 255 * Math.min(r5, Math.min(g5, b7)); + b7 = 1 - 1 / 255 * Math.max(r5, Math.max(g5, b7)); + return [h5, w8 * 100, b7 * 100]; }; convert.rgb.cmyk = function(rgb2) { - const r = rgb2[0] / 255; - const g = rgb2[1] / 255; - const b = rgb2[2] / 255; - const k = Math.min(1 - r, 1 - g, 1 - b); - const c = (1 - r - k) / (1 - k) || 0; - const m = (1 - g - k) / (1 - k) || 0; - const y5 = (1 - b - k) / (1 - k) || 0; - return [c * 100, m * 100, y5 * 100, k * 100]; - }; - function comparativeDistance(x5, y5) { - return (x5[0] - y5[0]) ** 2 + (x5[1] - y5[1]) ** 2 + (x5[2] - y5[2]) ** 2; + const r5 = rgb2[0] / 255; + const g5 = rgb2[1] / 255; + const b7 = rgb2[2] / 255; + const k8 = Math.min(1 - r5, 1 - g5, 1 - b7); + const c7 = (1 - r5 - k8) / (1 - k8) || 0; + const m7 = (1 - g5 - k8) / (1 - k8) || 0; + const y10 = (1 - b7 - k8) / (1 - k8) || 0; + return [c7 * 100, m7 * 100, y10 * 100, k8 * 100]; + }; + function comparativeDistance(x12, y10) { + return (x12[0] - y10[0]) ** 2 + (x12[1] - y10[1]) ** 2 + (x12[2] - y10[2]) ** 2; } convert.rgb.keyword = function(rgb2) { const reversed = reverseKeywords[rgb2]; @@ -23693,275 +23696,275 @@ var require_conversions = __commonJS({ return cssKeywords[keyword]; }; convert.rgb.xyz = function(rgb2) { - let r = rgb2[0] / 255; - let g = rgb2[1] / 255; - let b = rgb2[2] / 255; - r = r > 0.04045 ? ((r + 0.055) / 1.055) ** 2.4 : r / 12.92; - g = g > 0.04045 ? ((g + 0.055) / 1.055) ** 2.4 : g / 12.92; - b = b > 0.04045 ? ((b + 0.055) / 1.055) ** 2.4 : b / 12.92; - const x5 = r * 0.4124 + g * 0.3576 + b * 0.1805; - const y5 = r * 0.2126 + g * 0.7152 + b * 0.0722; - const z = r * 0.0193 + g * 0.1192 + b * 0.9505; - return [x5 * 100, y5 * 100, z * 100]; + let r5 = rgb2[0] / 255; + let g5 = rgb2[1] / 255; + let b7 = rgb2[2] / 255; + r5 = r5 > 0.04045 ? ((r5 + 0.055) / 1.055) ** 2.4 : r5 / 12.92; + g5 = g5 > 0.04045 ? ((g5 + 0.055) / 1.055) ** 2.4 : g5 / 12.92; + b7 = b7 > 0.04045 ? ((b7 + 0.055) / 1.055) ** 2.4 : b7 / 12.92; + const x12 = r5 * 0.4124 + g5 * 0.3576 + b7 * 0.1805; + const y10 = r5 * 0.2126 + g5 * 0.7152 + b7 * 0.0722; + const z9 = r5 * 0.0193 + g5 * 0.1192 + b7 * 0.9505; + return [x12 * 100, y10 * 100, z9 * 100]; }; convert.rgb.lab = function(rgb2) { const xyz = convert.rgb.xyz(rgb2); - let x5 = xyz[0]; - let y5 = xyz[1]; - let z = xyz[2]; - x5 /= 95.047; - y5 /= 100; - z /= 108.883; - x5 = x5 > 8856e-6 ? x5 ** (1 / 3) : 7.787 * x5 + 16 / 116; - y5 = y5 > 8856e-6 ? y5 ** (1 / 3) : 7.787 * y5 + 16 / 116; - z = z > 8856e-6 ? z ** (1 / 3) : 7.787 * z + 16 / 116; - const l = 116 * y5 - 16; - const a = 500 * (x5 - y5); - const b = 200 * (y5 - z); - return [l, a, b]; + let x12 = xyz[0]; + let y10 = xyz[1]; + let z9 = xyz[2]; + x12 /= 95.047; + y10 /= 100; + z9 /= 108.883; + x12 = x12 > 8856e-6 ? x12 ** (1 / 3) : 7.787 * x12 + 16 / 116; + y10 = y10 > 8856e-6 ? y10 ** (1 / 3) : 7.787 * y10 + 16 / 116; + z9 = z9 > 8856e-6 ? z9 ** (1 / 3) : 7.787 * z9 + 16 / 116; + const l5 = 116 * y10 - 16; + const a5 = 500 * (x12 - y10); + const b7 = 200 * (y10 - z9); + return [l5, a5, b7]; }; convert.hsl.rgb = function(hsl) { - const h = hsl[0] / 360; - const s = hsl[1] / 100; - const l = hsl[2] / 100; - let t2; - let t3; + const h5 = hsl[0] / 360; + const s5 = hsl[1] / 100; + const l5 = hsl[2] / 100; + let t26; + let t33; let val; - if (s === 0) { - val = l * 255; + if (s5 === 0) { + val = l5 * 255; return [val, val, val]; } - if (l < 0.5) { - t2 = l * (1 + s); + if (l5 < 0.5) { + t26 = l5 * (1 + s5); } else { - t2 = l + s - l * s; + t26 = l5 + s5 - l5 * s5; } - const t1 = 2 * l - t2; + const t110 = 2 * l5 - t26; const rgb2 = [0, 0, 0]; - for (let i2 = 0; i2 < 3; i2++) { - t3 = h + 1 / 3 * -(i2 - 1); - if (t3 < 0) { - t3++; - } - if (t3 > 1) { - t3--; - } - if (6 * t3 < 1) { - val = t1 + (t2 - t1) * 6 * t3; - } else if (2 * t3 < 1) { - val = t2; - } else if (3 * t3 < 2) { - val = t1 + (t2 - t1) * (2 / 3 - t3) * 6; + for (let i5 = 0; i5 < 3; i5++) { + t33 = h5 + 1 / 3 * -(i5 - 1); + if (t33 < 0) { + t33++; + } + if (t33 > 1) { + t33--; + } + if (6 * t33 < 1) { + val = t110 + (t26 - t110) * 6 * t33; + } else if (2 * t33 < 1) { + val = t26; + } else if (3 * t33 < 2) { + val = t110 + (t26 - t110) * (2 / 3 - t33) * 6; } else { - val = t1; + val = t110; } - rgb2[i2] = val * 255; + rgb2[i5] = val * 255; } return rgb2; }; convert.hsl.hsv = function(hsl) { - const h = hsl[0]; - let s = hsl[1] / 100; - let l = hsl[2] / 100; - let smin = s; - const lmin = Math.max(l, 0.01); - l *= 2; - s *= l <= 1 ? l : 2 - l; + const h5 = hsl[0]; + let s5 = hsl[1] / 100; + let l5 = hsl[2] / 100; + let smin = s5; + const lmin = Math.max(l5, 0.01); + l5 *= 2; + s5 *= l5 <= 1 ? l5 : 2 - l5; smin *= lmin <= 1 ? lmin : 2 - lmin; - const v = (l + s) / 2; - const sv = l === 0 ? 2 * smin / (lmin + smin) : 2 * s / (l + s); - return [h, sv * 100, v * 100]; + const v9 = (l5 + s5) / 2; + const sv2 = l5 === 0 ? 2 * smin / (lmin + smin) : 2 * s5 / (l5 + s5); + return [h5, sv2 * 100, v9 * 100]; }; convert.hsv.rgb = function(hsv) { - const h = hsv[0] / 60; - const s = hsv[1] / 100; - let v = hsv[2] / 100; - const hi = Math.floor(h) % 6; - const f = h - Math.floor(h); - const p = 255 * v * (1 - s); - const q = 255 * v * (1 - s * f); - const t = 255 * v * (1 - s * (1 - f)); - v *= 255; - switch (hi) { + const h5 = hsv[0] / 60; + const s5 = hsv[1] / 100; + let v9 = hsv[2] / 100; + const hi11 = Math.floor(h5) % 6; + const f7 = h5 - Math.floor(h5); + const p4 = 255 * v9 * (1 - s5); + const q11 = 255 * v9 * (1 - s5 * f7); + const t26 = 255 * v9 * (1 - s5 * (1 - f7)); + v9 *= 255; + switch (hi11) { case 0: - return [v, t, p]; + return [v9, t26, p4]; case 1: - return [q, v, p]; + return [q11, v9, p4]; case 2: - return [p, v, t]; + return [p4, v9, t26]; case 3: - return [p, q, v]; + return [p4, q11, v9]; case 4: - return [t, p, v]; + return [t26, p4, v9]; case 5: - return [v, p, q]; + return [v9, p4, q11]; } }; convert.hsv.hsl = function(hsv) { - const h = hsv[0]; - const s = hsv[1] / 100; - const v = hsv[2] / 100; - const vmin = Math.max(v, 0.01); - let sl; - let l; - l = (2 - s) * v; - const lmin = (2 - s) * vmin; - sl = s * vmin; - sl /= lmin <= 1 ? lmin : 2 - lmin; - sl = sl || 0; - l /= 2; - return [h, sl * 100, l * 100]; + const h5 = hsv[0]; + const s5 = hsv[1] / 100; + const v9 = hsv[2] / 100; + const vmin = Math.max(v9, 0.01); + let sl6; + let l5; + l5 = (2 - s5) * v9; + const lmin = (2 - s5) * vmin; + sl6 = s5 * vmin; + sl6 /= lmin <= 1 ? lmin : 2 - lmin; + sl6 = sl6 || 0; + l5 /= 2; + return [h5, sl6 * 100, l5 * 100]; }; convert.hwb.rgb = function(hwb) { - const h = hwb[0] / 360; - let wh = hwb[1] / 100; - let bl = hwb[2] / 100; - const ratio = wh + bl; - let f; + const h5 = hwb[0] / 360; + let wh2 = hwb[1] / 100; + let bl6 = hwb[2] / 100; + const ratio = wh2 + bl6; + let f7; if (ratio > 1) { - wh /= ratio; - bl /= ratio; - } - const i2 = Math.floor(6 * h); - const v = 1 - bl; - f = 6 * h - i2; - if ((i2 & 1) !== 0) { - f = 1 - f; - } - const n2 = wh + f * (v - wh); - let r; - let g; - let b; - switch (i2) { + wh2 /= ratio; + bl6 /= ratio; + } + const i5 = Math.floor(6 * h5); + const v9 = 1 - bl6; + f7 = 6 * h5 - i5; + if ((i5 & 1) !== 0) { + f7 = 1 - f7; + } + const n5 = wh2 + f7 * (v9 - wh2); + let r5; + let g5; + let b7; + switch (i5) { default: case 6: case 0: - r = v; - g = n2; - b = wh; + r5 = v9; + g5 = n5; + b7 = wh2; break; case 1: - r = n2; - g = v; - b = wh; + r5 = n5; + g5 = v9; + b7 = wh2; break; case 2: - r = wh; - g = v; - b = n2; + r5 = wh2; + g5 = v9; + b7 = n5; break; case 3: - r = wh; - g = n2; - b = v; + r5 = wh2; + g5 = n5; + b7 = v9; break; case 4: - r = n2; - g = wh; - b = v; + r5 = n5; + g5 = wh2; + b7 = v9; break; case 5: - r = v; - g = wh; - b = n2; + r5 = v9; + g5 = wh2; + b7 = n5; break; } - return [r * 255, g * 255, b * 255]; + return [r5 * 255, g5 * 255, b7 * 255]; }; convert.cmyk.rgb = function(cmyk) { - const c = cmyk[0] / 100; - const m = cmyk[1] / 100; - const y5 = cmyk[2] / 100; - const k = cmyk[3] / 100; - const r = 1 - Math.min(1, c * (1 - k) + k); - const g = 1 - Math.min(1, m * (1 - k) + k); - const b = 1 - Math.min(1, y5 * (1 - k) + k); - return [r * 255, g * 255, b * 255]; + const c7 = cmyk[0] / 100; + const m7 = cmyk[1] / 100; + const y10 = cmyk[2] / 100; + const k8 = cmyk[3] / 100; + const r5 = 1 - Math.min(1, c7 * (1 - k8) + k8); + const g5 = 1 - Math.min(1, m7 * (1 - k8) + k8); + const b7 = 1 - Math.min(1, y10 * (1 - k8) + k8); + return [r5 * 255, g5 * 255, b7 * 255]; }; convert.xyz.rgb = function(xyz) { - const x5 = xyz[0] / 100; - const y5 = xyz[1] / 100; - const z = xyz[2] / 100; - let r; - let g; - let b; - r = x5 * 3.2406 + y5 * -1.5372 + z * -0.4986; - g = x5 * -0.9689 + y5 * 1.8758 + z * 0.0415; - b = x5 * 0.0557 + y5 * -0.204 + z * 1.057; - r = r > 31308e-7 ? 1.055 * r ** (1 / 2.4) - 0.055 : r * 12.92; - g = g > 31308e-7 ? 1.055 * g ** (1 / 2.4) - 0.055 : g * 12.92; - b = b > 31308e-7 ? 1.055 * b ** (1 / 2.4) - 0.055 : b * 12.92; - r = Math.min(Math.max(0, r), 1); - g = Math.min(Math.max(0, g), 1); - b = Math.min(Math.max(0, b), 1); - return [r * 255, g * 255, b * 255]; + const x12 = xyz[0] / 100; + const y10 = xyz[1] / 100; + const z9 = xyz[2] / 100; + let r5; + let g5; + let b7; + r5 = x12 * 3.2406 + y10 * -1.5372 + z9 * -0.4986; + g5 = x12 * -0.9689 + y10 * 1.8758 + z9 * 0.0415; + b7 = x12 * 0.0557 + y10 * -0.204 + z9 * 1.057; + r5 = r5 > 31308e-7 ? 1.055 * r5 ** (1 / 2.4) - 0.055 : r5 * 12.92; + g5 = g5 > 31308e-7 ? 1.055 * g5 ** (1 / 2.4) - 0.055 : g5 * 12.92; + b7 = b7 > 31308e-7 ? 1.055 * b7 ** (1 / 2.4) - 0.055 : b7 * 12.92; + r5 = Math.min(Math.max(0, r5), 1); + g5 = Math.min(Math.max(0, g5), 1); + b7 = Math.min(Math.max(0, b7), 1); + return [r5 * 255, g5 * 255, b7 * 255]; }; convert.xyz.lab = function(xyz) { - let x5 = xyz[0]; - let y5 = xyz[1]; - let z = xyz[2]; - x5 /= 95.047; - y5 /= 100; - z /= 108.883; - x5 = x5 > 8856e-6 ? x5 ** (1 / 3) : 7.787 * x5 + 16 / 116; - y5 = y5 > 8856e-6 ? y5 ** (1 / 3) : 7.787 * y5 + 16 / 116; - z = z > 8856e-6 ? z ** (1 / 3) : 7.787 * z + 16 / 116; - const l = 116 * y5 - 16; - const a = 500 * (x5 - y5); - const b = 200 * (y5 - z); - return [l, a, b]; + let x12 = xyz[0]; + let y10 = xyz[1]; + let z9 = xyz[2]; + x12 /= 95.047; + y10 /= 100; + z9 /= 108.883; + x12 = x12 > 8856e-6 ? x12 ** (1 / 3) : 7.787 * x12 + 16 / 116; + y10 = y10 > 8856e-6 ? y10 ** (1 / 3) : 7.787 * y10 + 16 / 116; + z9 = z9 > 8856e-6 ? z9 ** (1 / 3) : 7.787 * z9 + 16 / 116; + const l5 = 116 * y10 - 16; + const a5 = 500 * (x12 - y10); + const b7 = 200 * (y10 - z9); + return [l5, a5, b7]; }; convert.lab.xyz = function(lab) { - const l = lab[0]; - const a = lab[1]; - const b = lab[2]; - let x5; - let y5; - let z; - y5 = (l + 16) / 116; - x5 = a / 500 + y5; - z = y5 - b / 200; - const y22 = y5 ** 3; - const x22 = x5 ** 3; - const z2 = z ** 3; - y5 = y22 > 8856e-6 ? y22 : (y5 - 16 / 116) / 7.787; - x5 = x22 > 8856e-6 ? x22 : (x5 - 16 / 116) / 7.787; - z = z2 > 8856e-6 ? z2 : (z - 16 / 116) / 7.787; - x5 *= 95.047; - y5 *= 100; - z *= 108.883; - return [x5, y5, z]; + const l5 = lab[0]; + const a5 = lab[1]; + const b7 = lab[2]; + let x12; + let y10; + let z9; + y10 = (l5 + 16) / 116; + x12 = a5 / 500 + y10; + z9 = y10 - b7 / 200; + const y24 = y10 ** 3; + const x24 = x12 ** 3; + const z24 = z9 ** 3; + y10 = y24 > 8856e-6 ? y24 : (y10 - 16 / 116) / 7.787; + x12 = x24 > 8856e-6 ? x24 : (x12 - 16 / 116) / 7.787; + z9 = z24 > 8856e-6 ? z24 : (z9 - 16 / 116) / 7.787; + x12 *= 95.047; + y10 *= 100; + z9 *= 108.883; + return [x12, y10, z9]; }; convert.lab.lch = function(lab) { - const l = lab[0]; - const a = lab[1]; - const b = lab[2]; - let h; - const hr = Math.atan2(b, a); - h = hr * 360 / 2 / Math.PI; - if (h < 0) { - h += 360; - } - const c = Math.sqrt(a * a + b * b); - return [l, c, h]; + const l5 = lab[0]; + const a5 = lab[1]; + const b7 = lab[2]; + let h5; + const hr8 = Math.atan2(b7, a5); + h5 = hr8 * 360 / 2 / Math.PI; + if (h5 < 0) { + h5 += 360; + } + const c7 = Math.sqrt(a5 * a5 + b7 * b7); + return [l5, c7, h5]; }; convert.lch.lab = function(lch) { - const l = lch[0]; - const c = lch[1]; - const h = lch[2]; - const hr = h / 360 * 2 * Math.PI; - const a = c * Math.cos(hr); - const b = c * Math.sin(hr); - return [l, a, b]; + const l5 = lch[0]; + const c7 = lch[1]; + const h5 = lch[2]; + const hr8 = h5 / 360 * 2 * Math.PI; + const a5 = c7 * Math.cos(hr8); + const b7 = c7 * Math.sin(hr8); + return [l5, a5, b7]; }; convert.rgb.ansi16 = function(args, saturation = null) { - const [r, g, b] = args; + const [r5, g5, b7] = args; let value = saturation === null ? convert.rgb.hsv(args)[2] : saturation; value = Math.round(value / 50); if (value === 0) { return 30; } - let ansi = 30 + (Math.round(b / 255) << 2 | Math.round(g / 255) << 1 | Math.round(r / 255)); + let ansi = 30 + (Math.round(b7 / 255) << 2 | Math.round(g5 / 255) << 1 | Math.round(r5 / 255)); if (value === 2) { ansi += 60; } @@ -23971,19 +23974,19 @@ var require_conversions = __commonJS({ return convert.rgb.ansi16(convert.hsv.rgb(args), args[2]); }; convert.rgb.ansi256 = function(args) { - const r = args[0]; - const g = args[1]; - const b = args[2]; - if (r === g && g === b) { - if (r < 8) { + const r5 = args[0]; + const g5 = args[1]; + const b7 = args[2]; + if (r5 === g5 && g5 === b7) { + if (r5 < 8) { return 16; } - if (r > 248) { + if (r5 > 248) { return 231; } - return Math.round((r - 8) / 247 * 24) + 232; + return Math.round((r5 - 8) / 247 * 24) + 232; } - const ansi = 16 + 36 * Math.round(r / 255 * 5) + 6 * Math.round(g / 255 * 5) + Math.round(b / 255 * 5); + const ansi = 16 + 36 * Math.round(r5 / 255 * 5) + 6 * Math.round(g5 / 255 * 5) + Math.round(b7 / 255 * 5); return ansi; }; convert.ansi16.rgb = function(args) { @@ -23996,22 +23999,22 @@ var require_conversions = __commonJS({ return [color, color, color]; } const mult = (~~(args > 50) + 1) * 0.5; - const r = (color & 1) * mult * 255; - const g = (color >> 1 & 1) * mult * 255; - const b = (color >> 2 & 1) * mult * 255; - return [r, g, b]; + const r5 = (color & 1) * mult * 255; + const g5 = (color >> 1 & 1) * mult * 255; + const b7 = (color >> 2 & 1) * mult * 255; + return [r5, g5, b7]; }; convert.ansi256.rgb = function(args) { if (args >= 232) { - const c = (args - 232) * 10 + 8; - return [c, c, c]; + const c7 = (args - 232) * 10 + 8; + return [c7, c7, c7]; } args -= 16; let rem; - const r = Math.floor(args / 36) / 5 * 255; - const g = Math.floor((rem = args % 36) / 6) / 5 * 255; - const b = rem % 6 / 5 * 255; - return [r, g, b]; + const r5 = Math.floor(args / 36) / 5 * 255; + const g5 = Math.floor((rem = args % 36) / 6) / 5 * 255; + const b7 = rem % 6 / 5 * 255; + return [r5, g5, b7]; }; convert.rgb.hex = function(args) { const integer = ((Math.round(args[0]) & 255) << 16) + ((Math.round(args[1]) & 255) << 8) + (Math.round(args[2]) & 255); @@ -24030,17 +24033,17 @@ var require_conversions = __commonJS({ }).join(""); } const integer = parseInt(colorString, 16); - const r = integer >> 16 & 255; - const g = integer >> 8 & 255; - const b = integer & 255; - return [r, g, b]; + const r5 = integer >> 16 & 255; + const g5 = integer >> 8 & 255; + const b7 = integer & 255; + return [r5, g5, b7]; }; convert.rgb.hcg = function(rgb2) { - const r = rgb2[0] / 255; - const g = rgb2[1] / 255; - const b = rgb2[2] / 255; - const max = Math.max(Math.max(r, g), b); - const min = Math.min(Math.min(r, g), b); + const r5 = rgb2[0] / 255; + const g5 = rgb2[1] / 255; + const b7 = rgb2[2] / 255; + const max = Math.max(Math.max(r5, g5), b7); + const min = Math.min(Math.min(r5, g5), b7); const chroma = max - min; let grayscale; let hue; @@ -24051,125 +24054,125 @@ var require_conversions = __commonJS({ } if (chroma <= 0) { hue = 0; - } else if (max === r) { - hue = (g - b) / chroma % 6; - } else if (max === g) { - hue = 2 + (b - r) / chroma; + } else if (max === r5) { + hue = (g5 - b7) / chroma % 6; + } else if (max === g5) { + hue = 2 + (b7 - r5) / chroma; } else { - hue = 4 + (r - g) / chroma; + hue = 4 + (r5 - g5) / chroma; } hue /= 6; hue %= 1; return [hue * 360, chroma * 100, grayscale * 100]; }; convert.hsl.hcg = function(hsl) { - const s = hsl[1] / 100; - const l = hsl[2] / 100; - const c = l < 0.5 ? 2 * s * l : 2 * s * (1 - l); - let f = 0; - if (c < 1) { - f = (l - 0.5 * c) / (1 - c); - } - return [hsl[0], c * 100, f * 100]; + const s5 = hsl[1] / 100; + const l5 = hsl[2] / 100; + const c7 = l5 < 0.5 ? 2 * s5 * l5 : 2 * s5 * (1 - l5); + let f7 = 0; + if (c7 < 1) { + f7 = (l5 - 0.5 * c7) / (1 - c7); + } + return [hsl[0], c7 * 100, f7 * 100]; }; convert.hsv.hcg = function(hsv) { - const s = hsv[1] / 100; - const v = hsv[2] / 100; - const c = s * v; - let f = 0; - if (c < 1) { - f = (v - c) / (1 - c); - } - return [hsv[0], c * 100, f * 100]; + const s5 = hsv[1] / 100; + const v9 = hsv[2] / 100; + const c7 = s5 * v9; + let f7 = 0; + if (c7 < 1) { + f7 = (v9 - c7) / (1 - c7); + } + return [hsv[0], c7 * 100, f7 * 100]; }; convert.hcg.rgb = function(hcg) { - const h = hcg[0] / 360; - const c = hcg[1] / 100; - const g = hcg[2] / 100; - if (c === 0) { - return [g * 255, g * 255, g * 255]; + const h5 = hcg[0] / 360; + const c7 = hcg[1] / 100; + const g5 = hcg[2] / 100; + if (c7 === 0) { + return [g5 * 255, g5 * 255, g5 * 255]; } const pure = [0, 0, 0]; - const hi = h % 1 * 6; - const v = hi % 1; - const w = 1 - v; - let mg = 0; - switch (Math.floor(hi)) { + const hi11 = h5 % 1 * 6; + const v9 = hi11 % 1; + const w8 = 1 - v9; + let mg2 = 0; + switch (Math.floor(hi11)) { case 0: pure[0] = 1; - pure[1] = v; + pure[1] = v9; pure[2] = 0; break; case 1: - pure[0] = w; + pure[0] = w8; pure[1] = 1; pure[2] = 0; break; case 2: pure[0] = 0; pure[1] = 1; - pure[2] = v; + pure[2] = v9; break; case 3: pure[0] = 0; - pure[1] = w; + pure[1] = w8; pure[2] = 1; break; case 4: - pure[0] = v; + pure[0] = v9; pure[1] = 0; pure[2] = 1; break; default: pure[0] = 1; pure[1] = 0; - pure[2] = w; + pure[2] = w8; } - mg = (1 - c) * g; + mg2 = (1 - c7) * g5; return [ - (c * pure[0] + mg) * 255, - (c * pure[1] + mg) * 255, - (c * pure[2] + mg) * 255 + (c7 * pure[0] + mg2) * 255, + (c7 * pure[1] + mg2) * 255, + (c7 * pure[2] + mg2) * 255 ]; }; convert.hcg.hsv = function(hcg) { - const c = hcg[1] / 100; - const g = hcg[2] / 100; - const v = c + g * (1 - c); - let f = 0; - if (v > 0) { - f = c / v; - } - return [hcg[0], f * 100, v * 100]; + const c7 = hcg[1] / 100; + const g5 = hcg[2] / 100; + const v9 = c7 + g5 * (1 - c7); + let f7 = 0; + if (v9 > 0) { + f7 = c7 / v9; + } + return [hcg[0], f7 * 100, v9 * 100]; }; convert.hcg.hsl = function(hcg) { - const c = hcg[1] / 100; - const g = hcg[2] / 100; - const l = g * (1 - c) + 0.5 * c; - let s = 0; - if (l > 0 && l < 0.5) { - s = c / (2 * l); - } else if (l >= 0.5 && l < 1) { - s = c / (2 * (1 - l)); - } - return [hcg[0], s * 100, l * 100]; + const c7 = hcg[1] / 100; + const g5 = hcg[2] / 100; + const l5 = g5 * (1 - c7) + 0.5 * c7; + let s5 = 0; + if (l5 > 0 && l5 < 0.5) { + s5 = c7 / (2 * l5); + } else if (l5 >= 0.5 && l5 < 1) { + s5 = c7 / (2 * (1 - l5)); + } + return [hcg[0], s5 * 100, l5 * 100]; }; convert.hcg.hwb = function(hcg) { - const c = hcg[1] / 100; - const g = hcg[2] / 100; - const v = c + g * (1 - c); - return [hcg[0], (v - c) * 100, (1 - v) * 100]; + const c7 = hcg[1] / 100; + const g5 = hcg[2] / 100; + const v9 = c7 + g5 * (1 - c7); + return [hcg[0], (v9 - c7) * 100, (1 - v9) * 100]; }; convert.hwb.hcg = function(hwb) { - const w = hwb[1] / 100; - const b = hwb[2] / 100; - const v = 1 - b; - const c = v - w; - let g = 0; - if (c < 1) { - g = (v - c) / (1 - c); - } - return [hwb[0], c * 100, g * 100]; + const w8 = hwb[1] / 100; + const b7 = hwb[2] / 100; + const v9 = 1 - b7; + const c7 = v9 - w8; + let g5 = 0; + if (c7 < 1) { + g5 = (v9 - c7) / (1 - c7); + } + return [hwb[0], c7 * 100, g5 * 100]; }; convert.apple.rgb = function(apple) { return [apple[0] / 65535 * 255, apple[1] / 65535 * 255, apple[2] / 65535 * 255]; @@ -24213,8 +24216,8 @@ var require_route = __commonJS({ function buildGraph() { const graph = {}; const models = Object.keys(conversions); - for (let len = models.length, i2 = 0; i2 < len; i2++) { - graph[models[i2]] = { + for (let len = models.length, i5 = 0; i5 < len; i5++) { + graph[models[i5]] = { // http://jsperf.com/1-vs-infinity // micro-opt, but this is simple. distance: -1, @@ -24230,8 +24233,8 @@ var require_route = __commonJS({ while (queue.length) { const current = queue.pop(); const adjacents = Object.keys(conversions[current]); - for (let len = adjacents.length, i2 = 0; i2 < len; i2++) { - const adjacent = adjacents[i2]; + for (let len = adjacents.length, i5 = 0; i5 < len; i5++) { + const adjacent = adjacents[i5]; const node2 = graph[adjacent]; if (node2.distance === -1) { node2.distance = graph[current].distance + 1; @@ -24242,29 +24245,29 @@ var require_route = __commonJS({ } return graph; } - function link(from2, to2) { + function link(from2, to6) { return function(args) { - return to2(from2(args)); + return to6(from2(args)); }; } function wrapConversion(toModel, graph) { - const path7 = [graph[toModel].parent, toModel]; - let fn = conversions[graph[toModel].parent][toModel]; + const path19 = [graph[toModel].parent, toModel]; + let fn9 = conversions[graph[toModel].parent][toModel]; let cur = graph[toModel].parent; while (graph[cur].parent) { - path7.unshift(graph[cur].parent); - fn = link(conversions[graph[cur].parent][cur], fn); + path19.unshift(graph[cur].parent); + fn9 = link(conversions[graph[cur].parent][cur], fn9); cur = graph[cur].parent; } - fn.conversion = path7; - return fn; + fn9.conversion = path19; + return fn9; } module.exports = function(fromModel) { const graph = deriveBFS(fromModel); const conversion = {}; const models = Object.keys(graph); - for (let len = models.length, i2 = 0; i2 < len; i2++) { - const toModel = models[i2]; + for (let len = models.length, i5 = 0; i5 < len; i5++) { + const toModel = models[i5]; const node2 = graph[toModel]; if (node2.parent === null) { continue; @@ -24283,7 +24286,7 @@ var require_color_convert = __commonJS({ var route = require_route(); var convert = {}; var models = Object.keys(conversions); - function wrapRaw(fn) { + function wrapRaw(fn9) { const wrappedFn = function(...args) { const arg0 = args[0]; if (arg0 === void 0 || arg0 === null) { @@ -24292,14 +24295,14 @@ var require_color_convert = __commonJS({ if (arg0.length > 1) { args = arg0; } - return fn(args); + return fn9(args); }; - if ("conversion" in fn) { - wrappedFn.conversion = fn.conversion; + if ("conversion" in fn9) { + wrappedFn.conversion = fn9.conversion; } return wrappedFn; } - function wrapRounded(fn) { + function wrapRounded(fn9) { const wrappedFn = function(...args) { const arg0 = args[0]; if (arg0 === void 0 || arg0 === null) { @@ -24308,16 +24311,16 @@ var require_color_convert = __commonJS({ if (arg0.length > 1) { args = arg0; } - const result = fn(args); + const result = fn9(args); if (typeof result === "object") { - for (let len = result.length, i2 = 0; i2 < len; i2++) { - result[i2] = Math.round(result[i2]); + for (let len = result.length, i5 = 0; i5 < len; i5++) { + result[i5] = Math.round(result[i5]); } } return result; }; - if ("conversion" in fn) { - wrappedFn.conversion = fn.conversion; + if ("conversion" in fn9) { + wrappedFn.conversion = fn9.conversion; } return wrappedFn; } @@ -24328,9 +24331,9 @@ var require_color_convert = __commonJS({ const routes = route(fromModel); const routeModels = Object.keys(routes); routeModels.forEach((toModel) => { - const fn = routes[toModel]; - convert[fromModel][toModel] = wrapRounded(fn); - convert[fromModel][toModel].raw = wrapRaw(fn); + const fn9 = routes[toModel]; + convert[fromModel][toModel] = wrapRounded(fn9); + convert[fromModel][toModel].raw = wrapRaw(fn9); }); }); module.exports = convert; @@ -24341,20 +24344,20 @@ var require_color_convert = __commonJS({ var require_ansi_styles = __commonJS({ "node_modules/nconf/node_modules/ansi-styles/index.js"(exports, module) { "use strict"; - var wrapAnsi162 = (fn, offset) => (...args) => { - const code = fn(...args); + var wrapAnsi162 = (fn9, offset) => (...args) => { + const code = fn9(...args); return `\x1B[${code + offset}m`; }; - var wrapAnsi2562 = (fn, offset) => (...args) => { - const code = fn(...args); + var wrapAnsi2562 = (fn9, offset) => (...args) => { + const code = fn9(...args); return `\x1B[${38 + offset};5;${code}m`; }; - var wrapAnsi16m2 = (fn, offset) => (...args) => { - const rgb2 = fn(...args); + var wrapAnsi16m2 = (fn9, offset) => (...args) => { + const rgb2 = fn9(...args); return `\x1B[${38 + offset};2;${rgb2[0]};${rgb2[1]};${rgb2[2]}m`; }; - var ansi2ansi = (n2) => n2; - var rgb2rgb = (r, g, b) => [r, g, b]; + var ansi2ansi = (n5) => n5; + var rgb2rgb = (r5, g5, b7) => [r5, g5, b7]; var setLazyProperty = (object, property, get) => { Object.defineProperty(object, property, { get: () => { @@ -24388,7 +24391,7 @@ var require_ansi_styles = __commonJS({ return styles3; }; function assembleStyles2() { - const codes = /* @__PURE__ */ new Map(); + const codes2 = /* @__PURE__ */ new Map(); const styles3 = { modifier: { reset: [0, 0], @@ -24444,22 +24447,22 @@ var require_ansi_styles = __commonJS({ styles3.bgColor.bgGray = styles3.bgColor.bgBlackBright; styles3.color.grey = styles3.color.blackBright; styles3.bgColor.bgGrey = styles3.bgColor.bgBlackBright; - for (const [groupName, group] of Object.entries(styles3)) { - for (const [styleName, style] of Object.entries(group)) { + for (const [groupName, group2] of Object.entries(styles3)) { + for (const [styleName, style] of Object.entries(group2)) { styles3[styleName] = { open: `\x1B[${style[0]}m`, close: `\x1B[${style[1]}m` }; - group[styleName] = styles3[styleName]; - codes.set(style[0], style[1]); + group2[styleName] = styles3[styleName]; + codes2.set(style[0], style[1]); } Object.defineProperty(styles3, groupName, { - value: group, + value: group2, enumerable: false }); } Object.defineProperty(styles3, "codes", { - value: codes, + value: codes2, enumerable: false }); styles3.color.close = "\x1B[39m"; @@ -24551,8 +24554,8 @@ var require_wrap_ansi = __commonJS({ } return words.slice(0, last).join(" ") + words.slice(last).join(""); }; - var exec = (string, columns, options = {}) => { - if (options.trim !== false && string.trim() === "") { + var exec = (string, columns, options8 = {}) => { + if (options8.trim !== false && string.trim() === "") { return ""; } let returnValue = ""; @@ -24561,21 +24564,21 @@ var require_wrap_ansi = __commonJS({ const lengths = wordLengths(string); let rows = [""]; for (const [index, word] of string.split(" ").entries()) { - if (options.trim !== false) { + if (options8.trim !== false) { rows[rows.length - 1] = rows[rows.length - 1].trimStart(); } let rowLength = stringWidth(rows[rows.length - 1]); if (index !== 0) { - if (rowLength >= columns && (options.wordWrap === false || options.trim === false)) { + if (rowLength >= columns && (options8.wordWrap === false || options8.trim === false)) { rows.push(""); rowLength = 0; } - if (rowLength > 0 || options.trim === false) { + if (rowLength > 0 || options8.trim === false) { rows[rows.length - 1] += " "; rowLength++; } } - if (options.hard && lengths[index] > columns) { + if (options8.hard && lengths[index] > columns) { const remainingColumns = columns - rowLength; const breaksStartingThisLine = 1 + Math.floor((lengths[index] - remainingColumns - 1) / columns); const breaksStartingNextLine = Math.floor((lengths[index] - 1) / columns); @@ -24586,19 +24589,19 @@ var require_wrap_ansi = __commonJS({ continue; } if (rowLength + lengths[index] > columns && rowLength > 0 && lengths[index] > 0) { - if (options.wordWrap === false && rowLength < columns) { + if (options8.wordWrap === false && rowLength < columns) { wrapWord(rows, word, columns); continue; } rows.push(""); } - if (rowLength + lengths[index] > columns && options.wordWrap === false) { + if (rowLength + lengths[index] > columns && options8.wordWrap === false) { wrapWord(rows, word, columns); continue; } rows[rows.length - 1] += word; } - if (options.trim !== false) { + if (options8.trim !== false) { rows = rows.map(stringVisibleTrimSpacesRight); } const pre = [...rows.join("\n")]; @@ -24632,8 +24635,8 @@ var require_wrap_ansi = __commonJS({ } return returnValue; }; - module.exports = (string, columns, options) => { - return String(string).normalize().replace(/\r\n/g, "\n").split("\n").map((line) => exec(line, columns, options)).join("\n"); + module.exports = (string, columns, options8) => { + return String(string).normalize().replace(/\r\n/g, "\n").split("\n").map((line3) => exec(line3, columns, options8)).join("\n"); }; } }); @@ -24642,7 +24645,7 @@ var require_wrap_ansi = __commonJS({ var require_build3 = __commonJS({ "node_modules/nconf/node_modules/cliui/build/index.cjs"(exports, module) { "use strict"; - var align = { + var align2 = { right: alignRight, center: alignCenter }; @@ -24652,9 +24655,9 @@ var require_build3 = __commonJS({ var left = 3; var UI = class { constructor(opts) { - var _a; + var _a6; this.width = opts.width; - this.wrap = (_a = opts.wrap) !== null && _a !== void 0 ? _a : true; + this.wrap = (_a6 = opts.wrap) !== null && _a6 !== void 0 ? _a6 : true; this.rows = []; } span(...args) { @@ -24692,11 +24695,11 @@ var require_build3 = __commonJS({ } }); rows.forEach((columns) => { - this.div(...columns.map((r, i2) => { + this.div(...columns.map((r5, i5) => { return { - text: r.trim(), - padding: this.measurePadding(r), - width: i2 === 0 && columns.length > 1 ? leftColumnWidth : void 0 + text: r5.trim(), + padding: this.measurePadding(r5), + width: i5 === 0 && columns.length > 1 ? leftColumnWidth : void 0 }; })); }); @@ -24717,36 +24720,36 @@ var require_build3 = __commonJS({ this.rows.forEach((row) => { this.rowToString(row, lines); }); - return lines.filter((line) => !line.hidden).map((line) => line.text).join("\n"); + return lines.filter((line3) => !line3.hidden).map((line3) => line3.text).join("\n"); } rowToString(row, lines) { - this.rasterize(row).forEach((rrow, r) => { + this.rasterize(row).forEach((rrow, r5) => { let str = ""; - rrow.forEach((col, c) => { - const { width: width4 } = row[c]; - const wrapWidth = this.negatePadding(row[c]); - let ts = col; + rrow.forEach((col, c7) => { + const { width: width4 } = row[c7]; + const wrapWidth = this.negatePadding(row[c7]); + let ts8 = col; if (wrapWidth > mixin2.stringWidth(col)) { - ts += " ".repeat(wrapWidth - mixin2.stringWidth(col)); + ts8 += " ".repeat(wrapWidth - mixin2.stringWidth(col)); } - if (row[c].align && row[c].align !== "left" && this.wrap) { - const fn = align[row[c].align]; - ts = fn(ts, wrapWidth); - if (mixin2.stringWidth(ts) < wrapWidth) { - ts += " ".repeat((width4 || 0) - mixin2.stringWidth(ts) - 1); + if (row[c7].align && row[c7].align !== "left" && this.wrap) { + const fn9 = align2[row[c7].align]; + ts8 = fn9(ts8, wrapWidth); + if (mixin2.stringWidth(ts8) < wrapWidth) { + ts8 += " ".repeat((width4 || 0) - mixin2.stringWidth(ts8) - 1); } } - const padding = row[c].padding || [0, 0, 0, 0]; + const padding = row[c7].padding || [0, 0, 0, 0]; if (padding[left]) { str += " ".repeat(padding[left]); } - str += addBorder(row[c], ts, "| "); - str += ts; - str += addBorder(row[c], ts, " |"); + str += addBorder(row[c7], ts8, "| "); + str += ts8; + str += addBorder(row[c7], ts8, " |"); if (padding[right]) { str += " ".repeat(padding[right]); } - if (r === 0 && lines.length > 0) { + if (r5 === 0 && lines.length > 0) { str = this.renderInline(str, lines[lines.length - 1]); } }); @@ -24759,30 +24762,30 @@ var require_build3 = __commonJS({ } // if the full 'source' can render in // the target line, do so. - renderInline(source, previousLine) { - const match = source.match(/^ */); + renderInline(source2, previousLine) { + const match = source2.match(/^ */); const leadingWhitespace = match ? match[0].length : 0; const target = previousLine.text; const targetTextWidth = mixin2.stringWidth(target.trimRight()); if (!previousLine.span) { - return source; + return source2; } if (!this.wrap) { previousLine.hidden = true; - return target + source; + return target + source2; } if (leadingWhitespace < targetTextWidth) { - return source; + return source2; } previousLine.hidden = true; - return target.trimRight() + " ".repeat(leadingWhitespace - targetTextWidth) + source.trimLeft(); + return target.trimRight() + " ".repeat(leadingWhitespace - targetTextWidth) + source2.trimLeft(); } rasterize(row) { const rrows = []; const widths = this.columnWidths(row); let wrapped; - row.forEach((col, c) => { - col.width = widths[c]; + row.forEach((col, c7) => { + col.width = widths[c7]; if (this.wrap) { wrapped = mixin2.wrap(col.text, this.negatePadding(col), { hard: true }).split("\n"); } else { @@ -24796,13 +24799,13 @@ var require_build3 = __commonJS({ wrapped.unshift(...new Array(col.padding[top] || 0).fill("")); wrapped.push(...new Array(col.padding[bottom] || 0).fill("")); } - wrapped.forEach((str, r) => { - if (!rrows[r]) { + wrapped.forEach((str, r5) => { + if (!rrows[r5]) { rrows.push([]); } - const rrow = rrows[r]; - for (let i2 = 0; i2 < c; i2++) { - if (rrow[i2] === void 0) { + const rrow = rrows[r5]; + for (let i5 = 0; i5 < c7; i5++) { + if (rrow[i5] === void 0) { rrow.push(""); } } @@ -24838,20 +24841,20 @@ var require_build3 = __commonJS({ return void 0; }); const unsetWidth = unset ? Math.floor(remainingWidth / unset) : 0; - return widths.map((w, i2) => { - if (w === void 0) { - return Math.max(unsetWidth, _minWidth(row[i2])); + return widths.map((w8, i5) => { + if (w8 === void 0) { + return Math.max(unsetWidth, _minWidth(row[i5])); } - return w; + return w8; }); } }; - function addBorder(col, ts, style) { + function addBorder(col, ts8, style) { if (col.border) { - if (/[.']-+[.']/.test(ts)) { + if (/[.']-+[.']/.test(ts8)) { return ""; } - if (ts.trim().length !== 0) { + if (ts8.trim().length !== 0) { return style; } return " "; @@ -24899,32 +24902,32 @@ var require_build3 = __commonJS({ var stringWidth = require_string_width(); var stripAnsi = require_strip_ansi(); var wrap = require_wrap_ansi(); - function ui(opts) { + function ui11(opts) { return cliui(opts, { stringWidth, stripAnsi, wrap }); } - module.exports = ui; + module.exports = ui11; } }); // node_modules/escalade/sync/index.js var require_sync = __commonJS({ "node_modules/escalade/sync/index.js"(exports, module) { - var { dirname: dirname6, resolve: resolve3 } = __require("path"); - var { readdirSync, statSync: statSync2 } = __require("fs"); + var { dirname: dirname8, resolve: resolve4 } = __require("path"); + var { readdirSync, statSync: statSync3 } = __require("fs"); module.exports = function(start, callback) { - let dir = resolve3(".", start); - let tmp, stats = statSync2(dir); + let dir = resolve4(".", start); + let tmp, stats = statSync3(dir); if (!stats.isDirectory()) { - dir = dirname6(dir); + dir = dirname8(dir); } while (true) { tmp = callback(dir, readdirSync(dir)); - if (tmp) return resolve3(dir, tmp); - dir = dirname6(tmp = dir); + if (tmp) return resolve4(dir, tmp); + dir = dirname8(tmp = dir); if (tmp === dir) break; } }; @@ -24943,13 +24946,13 @@ var require_get_caller_file = __commonJS({ throw new TypeError("getCallerFile(position) requires position be less then Error.stackTraceLimit but position was: `" + position2 + "` and Error.stackTraceLimit was: `" + Error.stackTraceLimit + "`"); } var oldPrepareStackTrace = Error.prepareStackTrace; - Error.prepareStackTrace = function(_, stack2) { - return stack2; + Error.prepareStackTrace = function(_9, stack3) { + return stack3; }; - var stack = new Error().stack; + var stack2 = new Error().stack; Error.prepareStackTrace = oldPrepareStackTrace; - if (stack !== null && typeof stack === "object") { - return stack[position2] ? stack[position2].getFileName() : void 0; + if (stack2 !== null && typeof stack2 === "object") { + return stack2[position2] ? stack2[position2].getFileName() : void 0; } }; } @@ -24959,10 +24962,10 @@ var require_get_caller_file = __commonJS({ var require_require_directory = __commonJS({ "node_modules/require-directory/index.js"(exports, module) { "use strict"; - var fs7 = __require("fs"); - var join4 = __require("path").join; - var resolve3 = __require("path").resolve; - var dirname6 = __require("path").dirname; + var fs14 = __require("fs"); + var join6 = __require("path").join; + var resolve4 = __require("path").resolve; + var dirname8 = __require("path").dirname; var defaultOptions = { extensions: ["js", "json", "coffee"], recurse: true, @@ -24973,41 +24976,41 @@ var require_require_directory = __commonJS({ return obj; } }; - function checkFileInclusion(path7, filename, options) { + function checkFileInclusion(path19, filename, options8) { return ( // verify file has valid extension - new RegExp("\\.(" + options.extensions.join("|") + ")$", "i").test(filename) && // if options.include is a RegExp, evaluate it and make sure the path passes - !(options.include && options.include instanceof RegExp && !options.include.test(path7)) && // if options.include is a function, evaluate it and make sure the path passes - !(options.include && typeof options.include === "function" && !options.include(path7, filename)) && // if options.exclude is a RegExp, evaluate it and make sure the path doesn't pass - !(options.exclude && options.exclude instanceof RegExp && options.exclude.test(path7)) && // if options.exclude is a function, evaluate it and make sure the path doesn't pass - !(options.exclude && typeof options.exclude === "function" && options.exclude(path7, filename)) + new RegExp("\\.(" + options8.extensions.join("|") + ")$", "i").test(filename) && // if options.include is a RegExp, evaluate it and make sure the path passes + !(options8.include && options8.include instanceof RegExp && !options8.include.test(path19)) && // if options.include is a function, evaluate it and make sure the path passes + !(options8.include && typeof options8.include === "function" && !options8.include(path19, filename)) && // if options.exclude is a RegExp, evaluate it and make sure the path doesn't pass + !(options8.exclude && options8.exclude instanceof RegExp && options8.exclude.test(path19)) && // if options.exclude is a function, evaluate it and make sure the path doesn't pass + !(options8.exclude && typeof options8.exclude === "function" && options8.exclude(path19, filename)) ); } - function requireDirectory(m, path7, options) { + function requireDirectory(m7, path19, options8) { var retval = {}; - if (path7 && !options && typeof path7 !== "string") { - options = path7; - path7 = null; + if (path19 && !options8 && typeof path19 !== "string") { + options8 = path19; + path19 = null; } - options = options || {}; + options8 = options8 || {}; for (var prop in defaultOptions) { - if (typeof options[prop] === "undefined") { - options[prop] = defaultOptions[prop]; + if (typeof options8[prop] === "undefined") { + options8[prop] = defaultOptions[prop]; } } - path7 = !path7 ? dirname6(m.filename) : resolve3(dirname6(m.filename), path7); - fs7.readdirSync(path7).forEach(function(filename) { - var joined = join4(path7, filename), files, key, obj; - if (fs7.statSync(joined).isDirectory() && options.recurse) { - files = requireDirectory(m, joined, options); + path19 = !path19 ? dirname8(m7.filename) : resolve4(dirname8(m7.filename), path19); + fs14.readdirSync(path19).forEach(function(filename) { + var joined = join6(path19, filename), files, key2, obj; + if (fs14.statSync(joined).isDirectory() && options8.recurse) { + files = requireDirectory(m7, joined, options8); if (Object.keys(files).length) { - retval[options.rename(filename, joined, filename)] = files; + retval[options8.rename(filename, joined, filename)] = files; } } else { - if (joined !== m.filename && checkFileInclusion(joined, filename, options)) { - key = filename.substring(0, filename.lastIndexOf(".")); - obj = m.require(joined); - retval[options.rename(key, joined, filename)] = options.visit(obj, joined, filename) || obj; + if (joined !== m7.filename && checkFileInclusion(joined, filename, options8)) { + key2 = filename.substring(0, filename.lastIndexOf(".")); + obj = m7.require(joined); + retval[options8.rename(key2, joined, filename)] = options8.visit(obj, joined, filename) || obj; } } }); @@ -25022,7 +25025,7 @@ var require_require_directory = __commonJS({ var require_build4 = __commonJS({ "node_modules/nconf/node_modules/yargs/build/index.cjs"(exports, module) { "use strict"; - var assert = __require("assert"); + var assert4 = __require("assert"); var YError = class _YError extends Error { constructor(msg) { super(msg || "yargs error"); @@ -25068,15 +25071,15 @@ var require_build4 = __commonJS({ } function mergeDeep2(config1, config2) { const target = {}; - function isObject(obj) { + function isObject2(obj) { return obj && typeof obj === "object" && !Array.isArray(obj); } Object.assign(target, config1); - for (const key of Object.keys(config2)) { - if (isObject(config2[key]) && isObject(target[key])) { - target[key] = mergeDeep2(config1[key], config2[key]); + for (const key2 of Object.keys(config2)) { + if (isObject2(config2[key2]) && isObject2(target[key2])) { + target[key2] = mergeDeep2(config1[key2], config2[key2]); } else { - target[key] = config2[key]; + target[key2] = config2[key2]; } } return target; @@ -25093,10 +25096,10 @@ var require_build4 = __commonJS({ demanded: [], optional: [] }; - splitCommand.forEach((cmd2, i2) => { + splitCommand.forEach((cmd2, i5) => { let variadic = false; cmd2 = cmd2.replace(/\s/g, ""); - if (/\.+[\]>]/.test(cmd2) && i2 === splitCommand.length - 1) + if (/\.+[\]>]/.test(cmd2) && i5 === splitCommand.length - 1) variadic = true; if (/^\[/.test(cmd2)) { parsedCommand.optional.push({ @@ -25180,11 +25183,11 @@ var require_build4 = __commonJS({ function objectKeys(object) { return Object.keys(object); } - function objFilter(original = {}, filter2 = () => true) { + function objFilter(original = {}, filter3 = () => true) { const obj = {}; - objectKeys(original).forEach((key) => { - if (filter2(key, original[key])) { - obj[key] = original[key]; + objectKeys(original).forEach((key2) => { + if (filter3(key2, original[key2])) { + obj[key2] = original[key2]; } }); return obj; @@ -25193,11 +25196,11 @@ var require_build4 = __commonJS({ return function(callback, applyBeforeValidation = false) { argsert(" [boolean]", [callback, applyBeforeValidation], arguments.length); if (Array.isArray(callback)) { - for (let i2 = 0; i2 < callback.length; i2++) { - if (typeof callback[i2] !== "function") { + for (let i5 = 0; i5 < callback.length; i5++) { + if (typeof callback[i5] !== "function") { throw Error("middleware must be a function"); } - callback[i2].applyBeforeValidation = applyBeforeValidation; + callback[i5].applyBeforeValidation = applyBeforeValidation; } Array.prototype.push.apply(globalMiddleware, callback); } else if (typeof callback === "function") { @@ -25259,8 +25262,8 @@ var require_build4 = __commonJS({ function whichModule(exported) { if (typeof __require === "undefined") return null; - for (let i2 = 0, files = Object.keys(__require.cache), mod; i2 < files.length; i2++) { - mod = __require.cache[files[i2]]; + for (let i5 = 0, files = Object.keys(__require.cache), mod; i5 < files.length; i5++) { + mod = __require.cache[files[i5]]; if (mod.exports === exported) return mod; } @@ -25299,8 +25302,8 @@ var require_build4 = __commonJS({ const parsedCommand = parseCommand(cmd); aliases = aliases.map((alias) => parseCommand(alias).cmd); let isDefault = false; - const parsedAliases = [parsedCommand.cmd].concat(aliases).filter((c) => { - if (DEFAULT_MARKER.test(c)) { + const parsedAliases = [parsedCommand.cmd].concat(aliases).filter((c7) => { + if (DEFAULT_MARKER.test(c7)) { isDefault = true; return false; } @@ -25339,7 +25342,7 @@ var require_build4 = __commonJS({ opts.recurse = false; if (!Array.isArray(opts.extensions)) opts.extensions = ["js"]; - const parentVisit = typeof opts.visit === "function" ? opts.visit : (o) => o; + const parentVisit = typeof opts.visit === "function" ? opts.visit : (o5) => o5; opts.visit = function visit(obj, joined, filename) { const visited = parentVisit(obj, joined, filename); if (visited) { @@ -25398,8 +25401,8 @@ var require_build4 = __commonJS({ if (shouldUpdateUsage(innerYargs)) { innerYargs.getUsageInstance().usage(usageFromParentCommandsCommandHandler(parentCommands, commandHandler), commandHandler.description); } - Object.keys(commandHandler.builder).forEach((key) => { - innerYargs.option(key, builder[key]); + Object.keys(commandHandler.builder).forEach((key2) => { + innerYargs.option(key2, builder[key2]); }); innerArgv = innerYargs._parseArgs(null, null, true, commandIndex); aliases = innerYargs.parsed.aliases; @@ -25457,12 +25460,12 @@ var require_build4 = __commonJS({ return !yargs2.getUsageInstance().getUsageDisabled() && yargs2.getUsageInstance().getUsage().length === 0; } function usageFromParentCommandsCommandHandler(parentCommands, commandHandler) { - const c = DEFAULT_MARKER.test(commandHandler.original) ? commandHandler.original.replace(DEFAULT_MARKER, "").trim() : commandHandler.original; - const pc = parentCommands.filter((c2) => { - return !DEFAULT_MARKER.test(c2); + const c7 = DEFAULT_MARKER.test(commandHandler.original) ? commandHandler.original.replace(DEFAULT_MARKER, "").trim() : commandHandler.original; + const pc3 = parentCommands.filter((c8) => { + return !DEFAULT_MARKER.test(c8); }); - pc.push(c); - return `$0 ${pc.join(" ")}`; + pc3.push(c7); + return `$0 ${pc3.join(" ")}`; } self2.runDefaultBuilderOn = function(yargs2) { assertNotStrictEqual(defaultCommand, void 0, shim2); @@ -25474,8 +25477,8 @@ var require_build4 = __commonJS({ if (isCommandBuilderCallback(builder)) { builder(yargs2); } else if (!isCommandBuilderDefinition(builder)) { - Object.keys(builder).forEach((key) => { - yargs2.option(key, builder[key]); + Object.keys(builder).forEach((key2) => { + yargs2.option(key2, builder[key2]); }); } }; @@ -25493,7 +25496,7 @@ var require_build4 = __commonJS({ const maybe = optional.shift(); populatePositional(maybe, argv, positionalMap); } - argv._ = context3.commands.concat(argv._.map((a) => "" + a)); + argv._ = context3.commands.concat(argv._.map((a5) => "" + a5)); postProcessPositionals(argv, positionalMap, self2.cmdToParseOptions(commandHandler.original)); return positionalMap; } @@ -25507,42 +25510,42 @@ var require_build4 = __commonJS({ } } function postProcessPositionals(argv, positionalMap, parseOptions) { - const options = Object.assign({}, yargs.getOptions()); - options.default = Object.assign(parseOptions.default, options.default); - for (const key of Object.keys(parseOptions.alias)) { - options.alias[key] = (options.alias[key] || []).concat(parseOptions.alias[key]); + const options8 = Object.assign({}, yargs.getOptions()); + options8.default = Object.assign(parseOptions.default, options8.default); + for (const key2 of Object.keys(parseOptions.alias)) { + options8.alias[key2] = (options8.alias[key2] || []).concat(parseOptions.alias[key2]); } - options.array = options.array.concat(parseOptions.array); - options.config = {}; + options8.array = options8.array.concat(parseOptions.array); + options8.config = {}; const unparsed = []; - Object.keys(positionalMap).forEach((key) => { - positionalMap[key].map((value) => { - if (options.configuration["unknown-options-as-args"]) - options.key[key] = true; - unparsed.push(`--${key}`); + Object.keys(positionalMap).forEach((key2) => { + positionalMap[key2].map((value) => { + if (options8.configuration["unknown-options-as-args"]) + options8.key[key2] = true; + unparsed.push(`--${key2}`); unparsed.push(value); }); }); if (!unparsed.length) return; - const config = Object.assign({}, options.configuration, { + const config = Object.assign({}, options8.configuration, { "populate--": true }); - const parsed = shim2.Parser.detailed(unparsed, Object.assign({}, options, { + const parsed = shim2.Parser.detailed(unparsed, Object.assign({}, options8, { configuration: config })); if (parsed.error) { yargs.getUsageInstance().fail(parsed.error.message, parsed.error); } else { const positionalKeys = Object.keys(positionalMap); - Object.keys(positionalMap).forEach((key) => { - positionalKeys.push(...parsed.aliases[key]); + Object.keys(positionalMap).forEach((key2) => { + positionalKeys.push(...parsed.aliases[key2]); }); - Object.keys(parsed.argv).forEach((key) => { - if (positionalKeys.indexOf(key) !== -1) { - if (!positionalMap[key]) - positionalMap[key] = parsed.argv[key]; - argv[key] = parsed.argv[key]; + Object.keys(parsed.argv).forEach((key2) => { + if (positionalKeys.indexOf(key2) !== -1) { + if (!positionalMap[key2]) + positionalMap[key2] = parsed.argv[key2]; + argv[key2] = parsed.argv[key2]; } }); } @@ -25555,18 +25558,18 @@ var require_build4 = __commonJS({ demand: {} }; const parsed = parseCommand(cmdString); - parsed.demanded.forEach((d) => { - const [cmd, ...aliases] = d.cmd; - if (d.variadic) { + parsed.demanded.forEach((d5) => { + const [cmd, ...aliases] = d5.cmd; + if (d5.variadic) { parseOptions.array.push(cmd); parseOptions.default[cmd] = []; } parseOptions.alias[cmd] = aliases; parseOptions.demand[cmd] = true; }); - parsed.optional.forEach((o) => { - const [cmd, ...aliases] = o.cmd; - if (o.variadic) { + parsed.optional.forEach((o5) => { + const [cmd, ...aliases] = o5.cmd; + if (o5.variadic) { parseOptions.array.push(cmd); parseOptions.default[cmd] = []; } @@ -25599,7 +25602,7 @@ var require_build4 = __commonJS({ return typeof builder === "object" && !!builder.builder && typeof builder.handler === "function"; } function isCommandAndAliases(cmd) { - if (cmd.every((c) => typeof c === "string")) { + if (cmd.every((c7) => typeof c7 === "string")) { return true; } else { return false; @@ -25625,11 +25628,11 @@ var require_build4 = __commonJS({ }); } function usage(yargs, y18n2, shim2) { - const __ = y18n2.__; + const __2 = y18n2.__; const self2 = {}; const fails = []; - self2.failFn = function failFn(f) { - fails.push(f); + self2.failFn = function failFn(f7) { + fails.push(f7); }; let failMessage = null; let showHelpOnFail = true; @@ -25646,8 +25649,8 @@ var require_build4 = __commonJS({ self2.fail = function fail(msg, err) { const logger = yargs._getLoggerInstance(); if (fails.length) { - for (let i2 = fails.length - 1; i2 >= 0; --i2) { - fails[i2](msg, err, self2); + for (let i5 = fails.length - 1; i5 >= 0; --i5) { + fails[i5](msg, err, self2); } } else { if (yargs.getExitProcess()) @@ -25695,7 +25698,7 @@ var require_build4 = __commonJS({ return usageDisabled; }; self2.getPositionalGroupName = () => { - return __("Positionals:"); + return __2("Positionals:"); }; let examples = []; self2.example = (cmd, description) => { @@ -25715,12 +25718,12 @@ var require_build4 = __commonJS({ let descriptions = {}; self2.describe = function describe(keyOrKeys, desc) { if (Array.isArray(keyOrKeys)) { - keyOrKeys.forEach((k) => { - self2.describe(k, desc); + keyOrKeys.forEach((k8) => { + self2.describe(k8, desc); }); } else if (typeof keyOrKeys === "object") { - Object.keys(keyOrKeys).forEach((k) => { - self2.describe(k, keyOrKeys[k]); + Object.keys(keyOrKeys).forEach((k8) => { + self2.describe(k8, keyOrKeys[k8]); }); } else { descriptions[keyOrKeys] = desc; @@ -25755,177 +25758,177 @@ var require_build4 = __commonJS({ const demandedCommands = yargs.getDemandedCommands(); const deprecatedOptions = yargs.getDeprecatedOptions(); const groups = yargs.getGroups(); - const options = yargs.getOptions(); + const options8 = yargs.getOptions(); let keys = []; keys = keys.concat(Object.keys(descriptions)); keys = keys.concat(Object.keys(demandedOptions)); keys = keys.concat(Object.keys(demandedCommands)); - keys = keys.concat(Object.keys(options.default)); + keys = keys.concat(Object.keys(options8.default)); keys = keys.filter(filterHiddenOptions); - keys = Object.keys(keys.reduce((acc, key) => { - if (key !== "_") - acc[key] = true; + keys = Object.keys(keys.reduce((acc, key2) => { + if (key2 !== "_") + acc[key2] = true; return acc; }, {})); const theWrap = getWrap(); - const ui = shim2.cliui({ + const ui11 = shim2.cliui({ width: theWrap, wrap: !!theWrap }); if (!usageDisabled) { if (usages.length) { usages.forEach((usage2) => { - ui.div(`${usage2[0].replace(/\$0/g, base$0)}`); + ui11.div(`${usage2[0].replace(/\$0/g, base$0)}`); if (usage2[1]) { - ui.div({ text: `${usage2[1]}`, padding: [1, 0, 0, 0] }); + ui11.div({ text: `${usage2[1]}`, padding: [1, 0, 0, 0] }); } }); - ui.div(); + ui11.div(); } else if (commands.length) { let u = null; if (demandedCommands._) { - u = `${base$0} <${__("command")}> + u = `${base$0} <${__2("command")}> `; } else { - u = `${base$0} [${__("command")}] + u = `${base$0} [${__2("command")}] `; } - ui.div(`${u}`); + ui11.div(`${u}`); } } if (commands.length) { - ui.div(__("Commands:")); + ui11.div(__2("Commands:")); const context3 = yargs.getContext(); const parentCommands = context3.commands.length ? `${context3.commands.join(" ")} ` : ""; if (yargs.getParserConfiguration()["sort-commands"] === true) { - commands = commands.sort((a, b) => a[0].localeCompare(b[0])); + commands = commands.sort((a5, b7) => a5[0].localeCompare(b7[0])); } commands.forEach((command2) => { const commandString = `${base$0} ${parentCommands}${command2[0].replace(/^\$0 ?/, "")}`; - ui.span({ + ui11.span({ text: commandString, padding: [0, 2, 0, 2], width: maxWidth(commands, theWrap, `${base$0}${parentCommands}`) + 4 }, { text: command2[1] }); const hints = []; if (command2[2]) - hints.push(`[${__("default")}]`); + hints.push(`[${__2("default")}]`); if (command2[3] && command2[3].length) { - hints.push(`[${__("aliases:")} ${command2[3].join(", ")}]`); + hints.push(`[${__2("aliases:")} ${command2[3].join(", ")}]`); } if (command2[4]) { if (typeof command2[4] === "string") { - hints.push(`[${__("deprecated: %s", command2[4])}]`); + hints.push(`[${__2("deprecated: %s", command2[4])}]`); } else { - hints.push(`[${__("deprecated")}]`); + hints.push(`[${__2("deprecated")}]`); } } if (hints.length) { - ui.div({ + ui11.div({ text: hints.join(" "), padding: [0, 0, 0, 2], align: "right" }); } else { - ui.div(); + ui11.div(); } }); - ui.div(); + ui11.div(); } - const aliasKeys = (Object.keys(options.alias) || []).concat(Object.keys(yargs.parsed.newAliases) || []); - keys = keys.filter((key) => !yargs.parsed.newAliases[key] && aliasKeys.every((alias) => (options.alias[alias] || []).indexOf(key) === -1)); - const defaultGroup = __("Options:"); + const aliasKeys = (Object.keys(options8.alias) || []).concat(Object.keys(yargs.parsed.newAliases) || []); + keys = keys.filter((key2) => !yargs.parsed.newAliases[key2] && aliasKeys.every((alias) => (options8.alias[alias] || []).indexOf(key2) === -1)); + const defaultGroup = __2("Options:"); if (!groups[defaultGroup]) groups[defaultGroup] = []; - addUngroupedKeys(keys, options.alias, groups, defaultGroup); + addUngroupedKeys(keys, options8.alias, groups, defaultGroup); const isLongSwitch = (sw) => /^--/.test(getText(sw)); const displayedGroups = Object.keys(groups).filter((groupName) => groups[groupName].length > 0).map((groupName) => { - const normalizedKeys = groups[groupName].filter(filterHiddenOptions).map((key) => { - if (~aliasKeys.indexOf(key)) - return key; - for (let i2 = 0, aliasKey; (aliasKey = aliasKeys[i2]) !== void 0; i2++) { - if (~(options.alias[aliasKey] || []).indexOf(key)) + const normalizedKeys = groups[groupName].filter(filterHiddenOptions).map((key2) => { + if (~aliasKeys.indexOf(key2)) + return key2; + for (let i5 = 0, aliasKey; (aliasKey = aliasKeys[i5]) !== void 0; i5++) { + if (~(options8.alias[aliasKey] || []).indexOf(key2)) return aliasKey; } - return key; + return key2; }); return { groupName, normalizedKeys }; }).filter(({ normalizedKeys }) => normalizedKeys.length > 0).map(({ groupName, normalizedKeys }) => { - const switches = normalizedKeys.reduce((acc, key) => { - acc[key] = [key].concat(options.alias[key] || []).map((sw) => { + const switches = normalizedKeys.reduce((acc, key2) => { + acc[key2] = [key2].concat(options8.alias[key2] || []).map((sw) => { if (groupName === self2.getPositionalGroupName()) return sw; else { - return (/^[0-9]$/.test(sw) ? ~options.boolean.indexOf(key) ? "-" : "--" : sw.length > 1 ? "--" : "-") + sw; + return (/^[0-9]$/.test(sw) ? ~options8.boolean.indexOf(key2) ? "-" : "--" : sw.length > 1 ? "--" : "-") + sw; } }).sort((sw1, sw2) => isLongSwitch(sw1) === isLongSwitch(sw2) ? 0 : isLongSwitch(sw1) ? 1 : -1).join(", "); return acc; }, {}); return { groupName, normalizedKeys, switches }; }); - const shortSwitchesUsed = displayedGroups.filter(({ groupName }) => groupName !== self2.getPositionalGroupName()).some(({ normalizedKeys, switches }) => !normalizedKeys.every((key) => isLongSwitch(switches[key]))); + const shortSwitchesUsed = displayedGroups.filter(({ groupName }) => groupName !== self2.getPositionalGroupName()).some(({ normalizedKeys, switches }) => !normalizedKeys.every((key2) => isLongSwitch(switches[key2]))); if (shortSwitchesUsed) { displayedGroups.filter(({ groupName }) => groupName !== self2.getPositionalGroupName()).forEach(({ normalizedKeys, switches }) => { - normalizedKeys.forEach((key) => { - if (isLongSwitch(switches[key])) { - switches[key] = addIndentation(switches[key], "-x, ".length); + normalizedKeys.forEach((key2) => { + if (isLongSwitch(switches[key2])) { + switches[key2] = addIndentation(switches[key2], "-x, ".length); } }); }); } displayedGroups.forEach(({ groupName, normalizedKeys, switches }) => { - ui.div(groupName); - normalizedKeys.forEach((key) => { - const kswitch = switches[key]; - let desc = descriptions[key] || ""; + ui11.div(groupName); + normalizedKeys.forEach((key2) => { + const kswitch = switches[key2]; + let desc = descriptions[key2] || ""; let type = null; if (~desc.lastIndexOf(deferY18nLookupPrefix)) - desc = __(desc.substring(deferY18nLookupPrefix.length)); - if (~options.boolean.indexOf(key)) - type = `[${__("boolean")}]`; - if (~options.count.indexOf(key)) - type = `[${__("count")}]`; - if (~options.string.indexOf(key)) - type = `[${__("string")}]`; - if (~options.normalize.indexOf(key)) - type = `[${__("string")}]`; - if (~options.array.indexOf(key)) - type = `[${__("array")}]`; - if (~options.number.indexOf(key)) - type = `[${__("number")}]`; - const deprecatedExtra = (deprecated) => typeof deprecated === "string" ? `[${__("deprecated: %s", deprecated)}]` : `[${__("deprecated")}]`; + desc = __2(desc.substring(deferY18nLookupPrefix.length)); + if (~options8.boolean.indexOf(key2)) + type = `[${__2("boolean")}]`; + if (~options8.count.indexOf(key2)) + type = `[${__2("count")}]`; + if (~options8.string.indexOf(key2)) + type = `[${__2("string")}]`; + if (~options8.normalize.indexOf(key2)) + type = `[${__2("string")}]`; + if (~options8.array.indexOf(key2)) + type = `[${__2("array")}]`; + if (~options8.number.indexOf(key2)) + type = `[${__2("number")}]`; + const deprecatedExtra = (deprecated) => typeof deprecated === "string" ? `[${__2("deprecated: %s", deprecated)}]` : `[${__2("deprecated")}]`; const extra = [ - key in deprecatedOptions ? deprecatedExtra(deprecatedOptions[key]) : null, + key2 in deprecatedOptions ? deprecatedExtra(deprecatedOptions[key2]) : null, type, - key in demandedOptions ? `[${__("required")}]` : null, - options.choices && options.choices[key] ? `[${__("choices:")} ${self2.stringifiedValues(options.choices[key])}]` : null, - defaultString(options.default[key], options.defaultDescription[key]) + key2 in demandedOptions ? `[${__2("required")}]` : null, + options8.choices && options8.choices[key2] ? `[${__2("choices:")} ${self2.stringifiedValues(options8.choices[key2])}]` : null, + defaultString(options8.default[key2], options8.defaultDescription[key2]) ].filter(Boolean).join(" "); - ui.span({ + ui11.span({ text: getText(kswitch), padding: [0, 2, 0, 2 + getIndentation(kswitch)], width: maxWidth(switches, theWrap) + 4 }, desc); if (extra) - ui.div({ text: extra, padding: [0, 0, 0, 2], align: "right" }); + ui11.div({ text: extra, padding: [0, 0, 0, 2], align: "right" }); else - ui.div(); + ui11.div(); }); - ui.div(); + ui11.div(); }); if (examples.length) { - ui.div(__("Examples:")); + ui11.div(__2("Examples:")); examples.forEach((example) => { example[0] = example[0].replace(/\$0/g, base$0); }); examples.forEach((example) => { if (example[1] === "") { - ui.div({ + ui11.div({ text: example[0], padding: [0, 2, 0, 2] }); } else { - ui.div({ + ui11.div({ text: example[0], padding: [0, 2, 0, 2], width: maxWidth(examples, theWrap) + 4 @@ -25934,22 +25937,22 @@ var require_build4 = __commonJS({ }); } }); - ui.div(); + ui11.div(); } if (epilogs.length > 0) { - const e = epilogs.map((epilog) => epilog.replace(/\$0/g, base$0)).join("\n"); - ui.div(`${e} + const e7 = epilogs.map((epilog) => epilog.replace(/\$0/g, base$0)).join("\n"); + ui11.div(`${e7} `); } - return ui.toString().replace(/\s*$/, ""); + return ui11.toString().replace(/\s*$/, ""); }; function maxWidth(table, theWrap, modifier) { let width4 = 0; if (!Array.isArray(table)) { - table = Object.values(table).map((v) => [v]); + table = Object.values(table).map((v9) => [v9]); } - table.forEach((v) => { - width4 = Math.max(shim2.stringWidth(modifier ? `${modifier} ${getText(v[0])}` : getText(v[0])) + getIndentation(v[0]), width4); + table.forEach((v9) => { + width4 = Math.max(shim2.stringWidth(modifier ? `${modifier} ${getText(v9[0])}` : getText(v9[0])) + getIndentation(v9[0]), width4); }); if (theWrap) width4 = Math.min(width4, parseInt((theWrap * 0.5).toString(), 10)); @@ -25957,25 +25960,25 @@ var require_build4 = __commonJS({ } function normalizeAliases() { const demandedOptions = yargs.getDemandedOptions(); - const options = yargs.getOptions(); - (Object.keys(options.alias) || []).forEach((key) => { - options.alias[key].forEach((alias) => { + const options8 = yargs.getOptions(); + (Object.keys(options8.alias) || []).forEach((key2) => { + options8.alias[key2].forEach((alias) => { if (descriptions[alias]) - self2.describe(key, descriptions[alias]); + self2.describe(key2, descriptions[alias]); if (alias in demandedOptions) - yargs.demandOption(key, demandedOptions[alias]); - if (~options.boolean.indexOf(alias)) - yargs.boolean(key); - if (~options.count.indexOf(alias)) - yargs.count(key); - if (~options.string.indexOf(alias)) - yargs.string(key); - if (~options.normalize.indexOf(alias)) - yargs.normalize(key); - if (~options.array.indexOf(alias)) - yargs.array(key); - if (~options.number.indexOf(alias)) - yargs.number(key); + yargs.demandOption(key2, demandedOptions[alias]); + if (~options8.boolean.indexOf(alias)) + yargs.boolean(key2); + if (~options8.count.indexOf(alias)) + yargs.count(key2); + if (~options8.string.indexOf(alias)) + yargs.string(key2); + if (~options8.normalize.indexOf(alias)) + yargs.normalize(key2); + if (~options8.array.indexOf(alias)) + yargs.array(key2); + if (~options8.number.indexOf(alias)) + yargs.number(key2); }); }); } @@ -25989,19 +25992,19 @@ var require_build4 = __commonJS({ function addUngroupedKeys(keys, aliases, groups, defaultGroup) { let groupedKeys = []; let toCheck = null; - Object.keys(groups).forEach((group) => { - groupedKeys = groupedKeys.concat(groups[group]); + Object.keys(groups).forEach((group2) => { + groupedKeys = groupedKeys.concat(groups[group2]); }); - keys.forEach((key) => { - toCheck = [key].concat(aliases[key]); - if (!toCheck.some((k) => groupedKeys.indexOf(k) !== -1)) { - groups[defaultGroup].push(key); + keys.forEach((key2) => { + toCheck = [key2].concat(aliases[key2]); + if (!toCheck.some((k8) => groupedKeys.indexOf(k8) !== -1)) { + groups[defaultGroup].push(key2); } }); return groupedKeys; } - function filterHiddenOptions(key) { - return yargs.getOptions().hiddenOptions.indexOf(key) < 0 || yargs.parsed.argv[yargs.getOptions().showHiddenOpt]; + function filterHiddenOptions(key2) { + return yargs.getOptions().hiddenOptions.indexOf(key2) < 0 || yargs.parsed.argv[yargs.getOptions().showHiddenOpt]; } self2.showHelp = (level) => { const logger = yargs._getLoggerInstance(); @@ -26010,17 +26013,17 @@ var require_build4 = __commonJS({ const emit = typeof level === "function" ? level : logger[level]; emit(self2.help()); }; - self2.functionDescription = (fn) => { - const description = fn.name ? shim2.Parser.decamelize(fn.name, "-") : __("generated-value"); + self2.functionDescription = (fn9) => { + const description = fn9.name ? shim2.Parser.decamelize(fn9.name, "-") : __2("generated-value"); return ["(", description, ")"].join(""); }; self2.stringifiedValues = function stringifiedValues(values, separator) { let string = ""; const sep2 = separator || ", "; - const array2 = [].concat(values); - if (!values || !array2.length) + const array3 = [].concat(values); + if (!values || !array3.length) return string; - array2.forEach((value) => { + array3.forEach((value) => { if (string.length) string += sep2; string += JSON.stringify(value); @@ -26028,7 +26031,7 @@ var require_build4 = __commonJS({ return string; }; function defaultString(value, defaultDescription) { - let string = `[${__("default:")} `; + let string = `[${__2("default:")} `; if (value === void 0 && !defaultDescription) return null; if (defaultDescription) { @@ -26071,7 +26074,7 @@ var require_build4 = __commonJS({ epilogs = []; examples = []; commands = []; - descriptions = objFilter(descriptions, (k) => !localLookup[k]); + descriptions = objFilter(descriptions, (k8) => !localLookup[k8]); return self2; }; const frozens = []; @@ -26106,8 +26109,8 @@ var require_build4 = __commonJS({ function isIndentedText(text) { return typeof text === "object"; } - function addIndentation(text, indent) { - return isIndentedText(text) ? { text: text.text, indentation: text.indentation + indent } : { text, indentation: indent }; + function addIndentation(text, indent3) { + return isIndentedText(text) ? { text: text.text, indentation: text.indentation + indent3 } : { text, indentation: indent3 }; } function getIndentation(text) { return isIndentedText(text) ? text.indentation : 0; @@ -26203,13 +26206,13 @@ compdef _{{app_name}}_yargs_completions {{app_name}} return isPromise(argv) ? argv.then(runCompletionFunction) : runCompletionFunction(argv); } const handlers = command2.getCommandHandlers(); - for (let i2 = 0, ii = args.length; i2 < ii; ++i2) { - if (handlers[args[i2]] && handlers[args[i2]].builder) { - const builder = handlers[args[i2]].builder; + for (let i5 = 0, ii10 = args.length; i5 < ii10; ++i5) { + if (handlers[args[i5]] && handlers[args[i5]].builder) { + const builder = handlers[args[i5]].builder; if (isCommandBuilderCallback(builder)) { - const y5 = yargs.reset(); - builder(y5); - return y5.argv; + const y10 = yargs.reset(); + builder(y10); + return y10.argv; } } } @@ -26228,29 +26231,29 @@ compdef _{{app_name}}_yargs_completions {{app_name}} } if (current.match(/^-/) || current === "" && completions.length === 0) { const descs = usage2.getDescriptions(); - const options = yargs.getOptions(); - Object.keys(options.key).forEach((key) => { - const negable = !!options.configuration["boolean-negation"] && options.boolean.includes(key); - let keyAndAliases = [key].concat(aliases[key] || []); + const options8 = yargs.getOptions(); + Object.keys(options8.key).forEach((key2) => { + const negable = !!options8.configuration["boolean-negation"] && options8.boolean.includes(key2); + let keyAndAliases = [key2].concat(aliases[key2] || []); if (negable) - keyAndAliases = keyAndAliases.concat(keyAndAliases.map((key2) => `no-${key2}`)); - function completeOptionKey(key2) { + keyAndAliases = keyAndAliases.concat(keyAndAliases.map((key3) => `no-${key3}`)); + function completeOptionKey(key3) { const notInArgs = keyAndAliases.every((val) => args.indexOf(`--${val}`) === -1); if (notInArgs) { - const startsByTwoDashes = (s) => /^--/.test(s); - const isShortOption = (s) => /^[^0-9]$/.test(s); - const dashes = !startsByTwoDashes(current) && isShortOption(key2) ? "-" : "--"; + const startsByTwoDashes = (s5) => /^--/.test(s5); + const isShortOption = (s5) => /^[^0-9]$/.test(s5); + const dashes = !startsByTwoDashes(current) && isShortOption(key3) ? "-" : "--"; if (!zshShell) { - completions.push(dashes + key2); + completions.push(dashes + key3); } else { - const desc = descs[key2] || ""; - completions.push(dashes + `${key2.replace(/:/g, "\\:")}:${desc.replace("__yargsString__:", "")}`); + const desc = descs[key3] || ""; + completions.push(dashes + `${key3.replace(/:/g, "\\:")}:${desc.replace("__yargsString__:", "")}`); } } } - completeOptionKey(key); - if (negable && !!options.default[key]) - completeOptionKey(`no-${key}`); + completeOptionKey(key2); + if (negable && !!options8.default[key2]) + completeOptionKey(`no-${key2}`); }); } done(completions); @@ -26265,60 +26268,60 @@ compdef _{{app_name}}_yargs_completions {{app_name}} return script.replace(/{{app_path}}/g, $0); }; let completionFunction = null; - self2.registerFunction = (fn) => { - completionFunction = fn; + self2.registerFunction = (fn9) => { + completionFunction = fn9; }; return self2; } function isSyncCompletionFunction(completionFunction) { return completionFunction.length < 3; } - function levenshtein(a, b) { - if (a.length === 0) - return b.length; - if (b.length === 0) - return a.length; + function levenshtein(a5, b7) { + if (a5.length === 0) + return b7.length; + if (b7.length === 0) + return a5.length; const matrix = []; - let i2; - for (i2 = 0; i2 <= b.length; i2++) { - matrix[i2] = [i2]; - } - let j; - for (j = 0; j <= a.length; j++) { - matrix[0][j] = j; - } - for (i2 = 1; i2 <= b.length; i2++) { - for (j = 1; j <= a.length; j++) { - if (b.charAt(i2 - 1) === a.charAt(j - 1)) { - matrix[i2][j] = matrix[i2 - 1][j - 1]; + let i5; + for (i5 = 0; i5 <= b7.length; i5++) { + matrix[i5] = [i5]; + } + let j9; + for (j9 = 0; j9 <= a5.length; j9++) { + matrix[0][j9] = j9; + } + for (i5 = 1; i5 <= b7.length; i5++) { + for (j9 = 1; j9 <= a5.length; j9++) { + if (b7.charAt(i5 - 1) === a5.charAt(j9 - 1)) { + matrix[i5][j9] = matrix[i5 - 1][j9 - 1]; } else { - matrix[i2][j] = Math.min(matrix[i2 - 1][j - 1] + 1, Math.min(matrix[i2][j - 1] + 1, matrix[i2 - 1][j] + 1)); + matrix[i5][j9] = Math.min(matrix[i5 - 1][j9 - 1] + 1, Math.min(matrix[i5][j9 - 1] + 1, matrix[i5 - 1][j9] + 1)); } } } - return matrix[b.length][a.length]; + return matrix[b7.length][a5.length]; } var specialKeys = ["$0", "--", "_"]; function validation(yargs, usage2, y18n2, shim2) { - const __ = y18n2.__; + const __2 = y18n2.__; const __n = y18n2.__n; const self2 = {}; self2.nonOptionCount = function nonOptionCount(argv) { const demandedCommands = yargs.getDemandedCommands(); const positionalCount = argv._.length + (argv["--"] ? argv["--"].length : 0); - const _s = positionalCount - yargs.getContext().commands.length; - if (demandedCommands._ && (_s < demandedCommands._.min || _s > demandedCommands._.max)) { - if (_s < demandedCommands._.min) { + const _s7 = positionalCount - yargs.getContext().commands.length; + if (demandedCommands._ && (_s7 < demandedCommands._.min || _s7 > demandedCommands._.max)) { + if (_s7 < demandedCommands._.min) { if (demandedCommands._.minMsg !== void 0) { - usage2.fail(demandedCommands._.minMsg ? demandedCommands._.minMsg.replace(/\$0/g, _s.toString()).replace(/\$1/, demandedCommands._.min.toString()) : null); + usage2.fail(demandedCommands._.minMsg ? demandedCommands._.minMsg.replace(/\$0/g, _s7.toString()).replace(/\$1/, demandedCommands._.min.toString()) : null); } else { - usage2.fail(__n("Not enough non-option arguments: got %s, need at least %s", "Not enough non-option arguments: got %s, need at least %s", _s, _s.toString(), demandedCommands._.min.toString())); + usage2.fail(__n("Not enough non-option arguments: got %s, need at least %s", "Not enough non-option arguments: got %s, need at least %s", _s7, _s7.toString(), demandedCommands._.min.toString())); } - } else if (_s > demandedCommands._.max) { + } else if (_s7 > demandedCommands._.max) { if (demandedCommands._.maxMsg !== void 0) { - usage2.fail(demandedCommands._.maxMsg ? demandedCommands._.maxMsg.replace(/\$0/g, _s.toString()).replace(/\$1/, demandedCommands._.max.toString()) : null); + usage2.fail(demandedCommands._.maxMsg ? demandedCommands._.maxMsg.replace(/\$0/g, _s7.toString()).replace(/\$1/, demandedCommands._.max.toString()) : null); } else { - usage2.fail(__n("Too many non-option arguments: got %s, maximum of %s", "Too many non-option arguments: got %s, maximum of %s", _s, _s.toString(), demandedCommands._.max.toString())); + usage2.fail(__n("Too many non-option arguments: got %s, maximum of %s", "Too many non-option arguments: got %s, maximum of %s", _s7, _s7.toString(), demandedCommands._.max.toString())); } } } @@ -26331,16 +26334,16 @@ compdef _{{app_name}}_yargs_completions {{app_name}} self2.requiredArguments = function requiredArguments(argv) { const demandedOptions = yargs.getDemandedOptions(); let missing = null; - for (const key of Object.keys(demandedOptions)) { - if (!Object.prototype.hasOwnProperty.call(argv, key) || typeof argv[key] === "undefined") { + for (const key2 of Object.keys(demandedOptions)) { + if (!Object.prototype.hasOwnProperty.call(argv, key2) || typeof argv[key2] === "undefined") { missing = missing || {}; - missing[key] = demandedOptions[key]; + missing[key2] = demandedOptions[key2]; } } if (missing) { const customMsgs = []; - for (const key of Object.keys(missing)) { - const msg = missing[key]; + for (const key2 of Object.keys(missing)) { + const msg = missing[key2]; if (msg && customMsgs.indexOf(msg) < 0) { customMsgs.push(msg); } @@ -26354,15 +26357,15 @@ ${customMsgs.join("\n")}` : ""; const commandKeys = yargs.getCommandInstance().getCommands(); const unknown = []; const currentContext = yargs.getContext(); - Object.keys(argv).forEach((key) => { - if (specialKeys.indexOf(key) === -1 && !Object.prototype.hasOwnProperty.call(positionalMap, key) && !Object.prototype.hasOwnProperty.call(yargs._getParseContext(), key) && !self2.isValidAndSomeAliasIsNotNew(key, aliases)) { - unknown.push(key); + Object.keys(argv).forEach((key2) => { + if (specialKeys.indexOf(key2) === -1 && !Object.prototype.hasOwnProperty.call(positionalMap, key2) && !Object.prototype.hasOwnProperty.call(yargs._getParseContext(), key2) && !self2.isValidAndSomeAliasIsNotNew(key2, aliases)) { + unknown.push(key2); } }); if (checkPositionals && (currentContext.commands.length > 0 || commandKeys.length > 0 || isDefaultCommand)) { - argv._.slice(currentContext.commands.length).forEach((key) => { - if (commandKeys.indexOf("" + key) === -1) { - unknown.push("" + key); + argv._.slice(currentContext.commands.length).forEach((key2) => { + if (commandKeys.indexOf("" + key2) === -1) { + unknown.push("" + key2); } }); } @@ -26375,9 +26378,9 @@ ${customMsgs.join("\n")}` : ""; const unknown = []; const currentContext = yargs.getContext(); if (currentContext.commands.length > 0 || commandKeys.length > 0) { - argv._.slice(currentContext.commands.length).forEach((key) => { - if (commandKeys.indexOf("" + key) === -1) { - unknown.push("" + key); + argv._.slice(currentContext.commands.length).forEach((key2) => { + if (commandKeys.indexOf("" + key2) === -1) { + unknown.push("" + key2); } }); } @@ -26388,28 +26391,28 @@ ${customMsgs.join("\n")}` : ""; return false; } }; - self2.isValidAndSomeAliasIsNotNew = function isValidAndSomeAliasIsNotNew(key, aliases) { - if (!Object.prototype.hasOwnProperty.call(aliases, key)) { + self2.isValidAndSomeAliasIsNotNew = function isValidAndSomeAliasIsNotNew(key2, aliases) { + if (!Object.prototype.hasOwnProperty.call(aliases, key2)) { return false; } const newAliases = yargs.parsed.newAliases; - for (const a of [key, ...aliases[key]]) { - if (!Object.prototype.hasOwnProperty.call(newAliases, a) || !newAliases[key]) { + for (const a5 of [key2, ...aliases[key2]]) { + if (!Object.prototype.hasOwnProperty.call(newAliases, a5) || !newAliases[key2]) { return true; } } return false; }; self2.limitedChoices = function limitedChoices(argv) { - const options = yargs.getOptions(); + const options8 = yargs.getOptions(); const invalid = {}; - if (!Object.keys(options.choices).length) + if (!Object.keys(options8.choices).length) return; - Object.keys(argv).forEach((key) => { - if (specialKeys.indexOf(key) === -1 && Object.prototype.hasOwnProperty.call(options.choices, key)) { - [].concat(argv[key]).forEach((value) => { - if (options.choices[key].indexOf(value) === -1 && value !== void 0) { - invalid[key] = (invalid[key] || []).concat(value); + Object.keys(argv).forEach((key2) => { + if (specialKeys.indexOf(key2) === -1 && Object.prototype.hasOwnProperty.call(options8.choices, key2)) { + [].concat(argv[key2]).forEach((value) => { + if (options8.choices[key2].indexOf(value) === -1 && value !== void 0) { + invalid[key2] = (invalid[key2] || []).concat(value); } }); } @@ -26417,23 +26420,23 @@ ${customMsgs.join("\n")}` : ""; const invalidKeys = Object.keys(invalid); if (!invalidKeys.length) return; - let msg = __("Invalid values:"); - invalidKeys.forEach((key) => { + let msg = __2("Invalid values:"); + invalidKeys.forEach((key2) => { msg += ` - ${__("Argument: %s, Given: %s, Choices: %s", key, usage2.stringifiedValues(invalid[key]), usage2.stringifiedValues(options.choices[key]))}`; + ${__2("Argument: %s, Given: %s, Choices: %s", key2, usage2.stringifiedValues(invalid[key2]), usage2.stringifiedValues(options8.choices[key2]))}`; }); usage2.fail(msg); }; let checks = []; - self2.check = function check(f, global2) { + self2.check = function check2(f7, global2) { checks.push({ - func: f, + func: f7, global: global2 }); }; self2.customChecks = function customChecks(argv, aliases) { - for (let i2 = 0, f; (f = checks[i2]) !== void 0; i2++) { - const func = f.func; + for (let i5 = 0, f7; (f7 = checks[i5]) !== void 0; i5++) { + const func = f7.func; let result = null; try { result = func(argv, aliases); @@ -26442,29 +26445,29 @@ ${customMsgs.join("\n")}` : ""; continue; } if (!result) { - usage2.fail(__("Argument check failed: %s", func.toString())); + usage2.fail(__2("Argument check failed: %s", func.toString())); } else if (typeof result === "string" || result instanceof Error) { usage2.fail(result.toString(), result); } } }; let implied = {}; - self2.implies = function implies(key, value) { - argsert(" [array|number|string]", [key, value], arguments.length); - if (typeof key === "object") { - Object.keys(key).forEach((k) => { - self2.implies(k, key[k]); + self2.implies = function implies(key2, value) { + argsert(" [array|number|string]", [key2, value], arguments.length); + if (typeof key2 === "object") { + Object.keys(key2).forEach((k8) => { + self2.implies(k8, key2[k8]); }); } else { - yargs.global(key); - if (!implied[key]) { - implied[key] = []; + yargs.global(key2); + if (!implied[key2]) { + implied[key2] = []; } if (Array.isArray(value)) { - value.forEach((i2) => self2.implies(key, i2)); + value.forEach((i5) => self2.implies(key2, i5)); } else { assertNotStrictEqual(value, void 0, shim2); - implied[key].push(value); + implied[key2].push(value); } } }; @@ -26486,20 +26489,20 @@ ${customMsgs.join("\n")}` : ""; } self2.implications = function implications(argv) { const implyFail = []; - Object.keys(implied).forEach((key) => { - const origKey = key; - (implied[key] || []).forEach((value) => { - let key2 = origKey; + Object.keys(implied).forEach((key2) => { + const origKey = key2; + (implied[key2] || []).forEach((value) => { + let key3 = origKey; const origValue = value; - key2 = keyExists(argv, key2); + key3 = keyExists(argv, key3); value = keyExists(argv, value); - if (key2 && !value) { + if (key3 && !value) { implyFail.push(` ${origKey} -> ${origValue}`); } }); }); if (implyFail.length) { - let msg = `${__("Implications failed:")} + let msg = `${__2("Implications failed:")} `; implyFail.forEach((value) => { msg += value; @@ -26508,31 +26511,31 @@ ${customMsgs.join("\n")}` : ""; } }; let conflicting = {}; - self2.conflicts = function conflicts(key, value) { - argsert(" [array|string]", [key, value], arguments.length); - if (typeof key === "object") { - Object.keys(key).forEach((k) => { - self2.conflicts(k, key[k]); + self2.conflicts = function conflicts(key2, value) { + argsert(" [array|string]", [key2, value], arguments.length); + if (typeof key2 === "object") { + Object.keys(key2).forEach((k8) => { + self2.conflicts(k8, key2[k8]); }); } else { - yargs.global(key); - if (!conflicting[key]) { - conflicting[key] = []; + yargs.global(key2); + if (!conflicting[key2]) { + conflicting[key2] = []; } if (Array.isArray(value)) { - value.forEach((i2) => self2.conflicts(key, i2)); + value.forEach((i5) => self2.conflicts(key2, i5)); } else { - conflicting[key].push(value); + conflicting[key2].push(value); } } }; self2.getConflicting = () => conflicting; self2.conflicting = function conflictingFn(argv) { - Object.keys(argv).forEach((key) => { - if (conflicting[key]) { - conflicting[key].forEach((value) => { - if (value && argv[key] !== void 0 && argv[value] !== void 0) { - usage2.fail(__("Arguments %s and %s are mutually exclusive", key, value)); + Object.keys(argv).forEach((key2) => { + if (conflicting[key2]) { + conflicting[key2].forEach((value) => { + if (value && argv[key2] !== void 0 && argv[value] !== void 0) { + usage2.fail(__2("Arguments %s and %s are mutually exclusive", key2, value)); } }); } @@ -26540,23 +26543,23 @@ ${customMsgs.join("\n")}` : ""; }; self2.recommendCommands = function recommendCommands(cmd, potentialCommands) { const threshold = 3; - potentialCommands = potentialCommands.sort((a, b) => b.length - a.length); + potentialCommands = potentialCommands.sort((a5, b7) => b7.length - a5.length); let recommended = null; let bestDistance = Infinity; - for (let i2 = 0, candidate; (candidate = potentialCommands[i2]) !== void 0; i2++) { - const d = levenshtein(cmd, candidate); - if (d <= threshold && d < bestDistance) { - bestDistance = d; + for (let i5 = 0, candidate; (candidate = potentialCommands[i5]) !== void 0; i5++) { + const d5 = levenshtein(cmd, candidate); + if (d5 <= threshold && d5 < bestDistance) { + bestDistance = d5; recommended = candidate; } } if (recommended) - usage2.fail(__("Did you mean %s?", recommended)); + usage2.fail(__2("Did you mean %s?", recommended)); }; self2.reset = function reset(localLookup) { - implied = objFilter(implied, (k) => !localLookup[k]); - conflicting = objFilter(conflicting, (k) => !localLookup[k]); - checks = checks.filter((c) => c.global); + implied = objFilter(implied, (k8) => !localLookup[k8]); + conflicting = objFilter(conflicting, (k8) => !localLookup[k8]); + checks = checks.filter((c7) => c7.global); return self2; }; const frozens = []; @@ -26603,9 +26606,9 @@ ${customMsgs.join("\n")}` : ""; } else { default$0 = shim$1.process.argv().slice(0, 1); } - self2.$0 = default$0.map((x5) => { - const b = rebase(cwd, x5); - return x5.match(/^(\/|([a-zA-Z]:)?\\)/) && b.length < x5.length ? b : x5; + self2.$0 = default$0.map((x12) => { + const b7 = rebase(cwd, x12); + return x12.match(/^(\/|([a-zA-Z]:)?\\)/) && b7.length < x12.length ? b7 : x12; }).join(" ").trim(); if (shim$1.getEnv("_") && shim$1.getProcessArgvBin() === shim$1.getEnv("_")) { self2.$0 = shim$1.getEnv("_").replace(`${shim$1.path.dirname(shim$1.process.execPath())}/`, ""); @@ -26621,10 +26624,10 @@ ${customMsgs.join("\n")}` : ""; shim$1.process.exit(code); }; let completionCommand = null; - self2.completion = function(cmd, desc, fn) { - argsert("[string] [string|boolean|function] [function]", [cmd, desc, fn], arguments.length); + self2.completion = function(cmd, desc, fn9) { + argsert("[string] [string|boolean|function] [function]", [cmd, desc, fn9], arguments.length); if (typeof desc === "function") { - fn = desc; + fn9 = desc; desc = void 0; } completionCommand = cmd || completionCommand || "completion"; @@ -26632,26 +26635,26 @@ ${customMsgs.join("\n")}` : ""; desc = "generate completion script"; } self2.command(completionCommand, desc); - if (fn) - completion$1.registerFunction(fn); + if (fn9) + completion$1.registerFunction(fn9); return self2; }; - let options; + let options8; self2.resetOptions = self2.reset = function resetOptions(aliases = {}) { context3.resets++; - options = options || {}; + options8 = options8 || {}; const tmpOptions = {}; - tmpOptions.local = options.local ? options.local : []; - tmpOptions.configObjects = options.configObjects ? options.configObjects : []; + tmpOptions.local = options8.local ? options8.local : []; + tmpOptions.configObjects = options8.configObjects ? options8.configObjects : []; const localLookup = {}; - tmpOptions.local.forEach((l) => { - localLookup[l] = true; - (aliases[l] || []).forEach((a) => { - localLookup[a] = true; + tmpOptions.local.forEach((l5) => { + localLookup[l5] = true; + (aliases[l5] || []).forEach((a5) => { + localLookup[a5] = true; }); }); Object.assign(preservedGroups, Object.keys(groups).reduce((acc, groupName) => { - const keys = groups[groupName].filter((key) => !(key in localLookup)); + const keys = groups[groupName].filter((key2) => !(key2 in localLookup)); if (keys.length > 0) { acc[groupName] = keys; } @@ -26681,14 +26684,14 @@ ${customMsgs.join("\n")}` : ""; "coerce", "deprecatedOptions" ]; - arrayOptions.forEach((k) => { - tmpOptions[k] = (options[k] || []).filter((k2) => !localLookup[k2]); + arrayOptions.forEach((k8) => { + tmpOptions[k8] = (options8[k8] || []).filter((k9) => !localLookup[k9]); }); - objectOptions.forEach((k) => { - tmpOptions[k] = objFilter(options[k], (k2) => !localLookup[k2]); + objectOptions.forEach((k8) => { + tmpOptions[k8] = objFilter(options8[k8], (k9) => !localLookup[k9]); }); - tmpOptions.envPrefix = options.envPrefix; - options = tmpOptions; + tmpOptions.envPrefix = options8.envPrefix; + options8 = tmpOptions; usage$1 = usage$1 ? usage$1.reset(localLookup) : usage(self2, y18n2, shim$1); validation$1 = validation$1 ? validation$1.reset(localLookup) : validation(self2, usage$1, y18n2, shim$1); command$1 = command$1 ? command$1.reset() : command(self2, usage$1, validation$1, globalMiddleware, shim$1); @@ -26705,8 +26708,8 @@ ${customMsgs.join("\n")}` : ""; const frozens = []; function freeze() { frozens.push({ - options, - configObjects: options.configObjects.slice(0), + options: options8, + configObjects: options8.configObjects.slice(0), exitProcess, groups, strict, @@ -26730,7 +26733,7 @@ ${customMsgs.join("\n")}` : ""; assertNotStrictEqual(frozen, void 0, shim$1); let configObjects; ({ - options, + options: options8, configObjects, exitProcess, groups, @@ -26746,7 +26749,7 @@ ${customMsgs.join("\n")}` : ""; parseContext, handlerFinishCommand } = frozen); - options.configObjects = configObjects; + options8.configObjects = configObjects; usage$1.unfreeze(); validation$1.unfreeze(); command$1.unfreeze(); @@ -26783,7 +26786,7 @@ ${customMsgs.join("\n")}` : ""; }; self2.requiresArg = function(keys) { argsert(" [number]", [keys], arguments.length); - if (typeof keys === "string" && options.narg[keys]) { + if (typeof keys === "string" && options8.narg[keys]) { return self2; } else { populateParserHintSingleValueDictionary(self2.requiresArg, "narg", keys, NaN); @@ -26797,49 +26800,49 @@ ${customMsgs.join("\n")}` : ""; }; function populateParserHintArray(type, keys) { keys = [].concat(keys); - keys.forEach((key) => { - key = sanitizeKey(key); - options[type].push(key); + keys.forEach((key2) => { + key2 = sanitizeKey(key2); + options8[type].push(key2); }); } - self2.nargs = function(key, value) { - argsert(" [number]", [key, value], arguments.length); - populateParserHintSingleValueDictionary(self2.nargs, "narg", key, value); + self2.nargs = function(key2, value) { + argsert(" [number]", [key2, value], arguments.length); + populateParserHintSingleValueDictionary(self2.nargs, "narg", key2, value); return self2; }; - self2.choices = function(key, value) { - argsert(" [string|array]", [key, value], arguments.length); - populateParserHintArrayDictionary(self2.choices, "choices", key, value); + self2.choices = function(key2, value) { + argsert(" [string|array]", [key2, value], arguments.length); + populateParserHintArrayDictionary(self2.choices, "choices", key2, value); return self2; }; - self2.alias = function(key, value) { - argsert(" [string|array]", [key, value], arguments.length); - populateParserHintArrayDictionary(self2.alias, "alias", key, value); + self2.alias = function(key2, value) { + argsert(" [string|array]", [key2, value], arguments.length); + populateParserHintArrayDictionary(self2.alias, "alias", key2, value); return self2; }; - self2.default = self2.defaults = function(key, value, defaultDescription) { - argsert(" [*] [string]", [key, value, defaultDescription], arguments.length); + self2.default = self2.defaults = function(key2, value, defaultDescription) { + argsert(" [*] [string]", [key2, value, defaultDescription], arguments.length); if (defaultDescription) { - assertSingleKey(key, shim$1); - options.defaultDescription[key] = defaultDescription; + assertSingleKey(key2, shim$1); + options8.defaultDescription[key2] = defaultDescription; } if (typeof value === "function") { - assertSingleKey(key, shim$1); - if (!options.defaultDescription[key]) - options.defaultDescription[key] = usage$1.functionDescription(value); + assertSingleKey(key2, shim$1); + if (!options8.defaultDescription[key2]) + options8.defaultDescription[key2] = usage$1.functionDescription(value); value = value.call(); } - populateParserHintSingleValueDictionary(self2.default, "default", key, value); + populateParserHintSingleValueDictionary(self2.default, "default", key2, value); return self2; }; - self2.describe = function(key, desc) { - argsert(" [string]", [key, desc], arguments.length); - setKey(key, true); - usage$1.describe(key, desc); + self2.describe = function(key2, desc) { + argsert(" [string]", [key2, desc], arguments.length); + setKey(key2, true); + usage$1.describe(key2, desc); return self2; }; - function setKey(key, set) { - populateParserHintSingleValueDictionary(setKey, "key", key, set); + function setKey(key2, set) { + populateParserHintSingleValueDictionary(setKey, "key", key2, set); return self2; } function demandOption(keys, msg) { @@ -26853,39 +26856,39 @@ ${customMsgs.join("\n")}` : ""; populateParserHintSingleValueDictionary(self2.coerce, "coerce", keys, value); return self2; }; - function populateParserHintSingleValueDictionary(builder, type, key, value) { - populateParserHintDictionary(builder, type, key, value, (type2, key2, value2) => { - options[type2][key2] = value2; + function populateParserHintSingleValueDictionary(builder, type, key2, value) { + populateParserHintDictionary(builder, type, key2, value, (type2, key3, value2) => { + options8[type2][key3] = value2; }); } - function populateParserHintArrayDictionary(builder, type, key, value) { - populateParserHintDictionary(builder, type, key, value, (type2, key2, value2) => { - options[type2][key2] = (options[type2][key2] || []).concat(value2); + function populateParserHintArrayDictionary(builder, type, key2, value) { + populateParserHintDictionary(builder, type, key2, value, (type2, key3, value2) => { + options8[type2][key3] = (options8[type2][key3] || []).concat(value2); }); } - function populateParserHintDictionary(builder, type, key, value, singleKeyHandler) { - if (Array.isArray(key)) { - key.forEach((k) => { - builder(k, value); + function populateParserHintDictionary(builder, type, key2, value, singleKeyHandler) { + if (Array.isArray(key2)) { + key2.forEach((k8) => { + builder(k8, value); }); - } else if (/* @__PURE__ */ ((key2) => typeof key2 === "object")(key)) { - for (const k of objectKeys(key)) { - builder(k, key[k]); + } else if (/* @__PURE__ */ ((key3) => typeof key3 === "object")(key2)) { + for (const k8 of objectKeys(key2)) { + builder(k8, key2[k8]); } } else { - singleKeyHandler(type, sanitizeKey(key), value); + singleKeyHandler(type, sanitizeKey(key2), value); } } - function sanitizeKey(key) { - if (key === "__proto__") + function sanitizeKey(key2) { + if (key2 === "__proto__") return "___proto___"; - return key; + return key2; } function deleteFromParserHintObject(optionKey) { - objectKeys(options).forEach((hintKey) => { - if (/* @__PURE__ */ ((key) => key === "configObjects")(hintKey)) + objectKeys(options8).forEach((hintKey) => { + if (/* @__PURE__ */ ((key2) => key2 === "configObjects")(hintKey)) return; - const hint = options[hintKey]; + const hint = options8[hintKey]; if (Array.isArray(hint)) { if (~hint.indexOf(optionKey)) hint.splice(hint.indexOf(optionKey), 1); @@ -26895,20 +26898,20 @@ ${customMsgs.join("\n")}` : ""; }); delete usage$1.getDescriptions()[optionKey]; } - self2.config = function config(key = "config", msg, parseFn2) { - argsert("[object|string] [string|function] [function]", [key, msg, parseFn2], arguments.length); - if (typeof key === "object" && !Array.isArray(key)) { - key = applyExtends(key, cwd, self2.getParserConfiguration()["deep-merge-config"] || false, shim$1); - options.configObjects = (options.configObjects || []).concat(key); + self2.config = function config(key2 = "config", msg, parseFn2) { + argsert("[object|string] [string|function] [function]", [key2, msg, parseFn2], arguments.length); + if (typeof key2 === "object" && !Array.isArray(key2)) { + key2 = applyExtends(key2, cwd, self2.getParserConfiguration()["deep-merge-config"] || false, shim$1); + options8.configObjects = (options8.configObjects || []).concat(key2); return self2; } if (typeof msg === "function") { parseFn2 = msg; msg = void 0; } - self2.describe(key, msg || usage$1.deferY18nLookup("Path to JSON config file")); - (Array.isArray(key) ? key : [key]).forEach((k) => { - options.config[k] = parseFn2 || true; + self2.describe(key2, msg || usage$1.deferY18nLookup("Path to JSON config file")); + (Array.isArray(key2) ? key2 : [key2]).forEach((k8) => { + options8.config[k8] = parseFn2 || true; }); return self2; }; @@ -26934,9 +26937,9 @@ ${customMsgs.join("\n")}` : ""; }; self2.demand = self2.required = self2.require = function demand(keys, max, msg) { if (Array.isArray(max)) { - max.forEach((key) => { + max.forEach((key2) => { assertNotStrictEqual(msg, true, shim$1); - demandOption(key, msg); + demandOption(key2, msg); }); max = Infinity; } else if (typeof max !== "number") { @@ -26947,9 +26950,9 @@ ${customMsgs.join("\n")}` : ""; assertNotStrictEqual(msg, true, shim$1); self2.demandCommand(keys, max, msg, msg); } else if (Array.isArray(keys)) { - keys.forEach((key) => { + keys.forEach((key2) => { assertNotStrictEqual(msg, true, shim$1); - demandOption(key, msg); + demandOption(key2, msg); }); } else { if (typeof msg === "string") { @@ -26967,7 +26970,7 @@ ${customMsgs.join("\n")}` : ""; max = Infinity; } self2.global("_", false); - options.demandedCommands._ = { + options8.demandedCommands._ = { min, max, minMsg, @@ -26977,24 +26980,24 @@ ${customMsgs.join("\n")}` : ""; }; self2.getDemandedOptions = () => { argsert([], 0); - return options.demandedOptions; + return options8.demandedOptions; }; self2.getDemandedCommands = () => { argsert([], 0); - return options.demandedCommands; + return options8.demandedCommands; }; self2.deprecateOption = function deprecateOption(option, message) { argsert(" [string|boolean]", [option, message], arguments.length); - options.deprecatedOptions[option] = message; + options8.deprecatedOptions[option] = message; return self2; }; self2.getDeprecatedOptions = () => { argsert([], 0); - return options.deprecatedOptions; + return options8.deprecatedOptions; }; - self2.implies = function(key, value) { - argsert(" [number|string|array]", [key, value], arguments.length); - validation$1.implies(key, value); + self2.implies = function(key2, value) { + argsert(" [number|string|array]", [key2, value], arguments.length); + validation$1.implies(key2, value); return self2; }; self2.conflicts = function(key1, key2) { @@ -27021,42 +27024,42 @@ ${customMsgs.join("\n")}` : ""; usage$1.epilog(msg); return self2; }; - self2.fail = function(f) { - argsert("", [f], arguments.length); - usage$1.failFn(f); + self2.fail = function(f7) { + argsert("", [f7], arguments.length); + usage$1.failFn(f7); return self2; }; - self2.onFinishCommand = function(f) { - argsert("", [f], arguments.length); - handlerFinishCommand = f; + self2.onFinishCommand = function(f7) { + argsert("", [f7], arguments.length); + handlerFinishCommand = f7; return self2; }; self2.getHandlerFinishCommand = () => handlerFinishCommand; - self2.check = function(f, _global) { - argsert(" [boolean]", [f, _global], arguments.length); - validation$1.check(f, _global !== false); + self2.check = function(f7, _global) { + argsert(" [boolean]", [f7, _global], arguments.length); + validation$1.check(f7, _global !== false); return self2; }; self2.global = function global2(globals2, global2) { argsert(" [boolean]", [globals2, global2], arguments.length); globals2 = [].concat(globals2); if (global2 !== false) { - options.local = options.local.filter((l) => globals2.indexOf(l) === -1); + options8.local = options8.local.filter((l5) => globals2.indexOf(l5) === -1); } else { - globals2.forEach((g) => { - if (options.local.indexOf(g) === -1) - options.local.push(g); + globals2.forEach((g5) => { + if (options8.local.indexOf(g5) === -1) + options8.local.push(g5); }); } return self2; }; - self2.pkgConf = function pkgConf(key, rootPath) { - argsert(" [string]", [key, rootPath], arguments.length); + self2.pkgConf = function pkgConf(key2, rootPath) { + argsert(" [string]", [key2, rootPath], arguments.length); let conf = null; const obj = pkgUp(rootPath || cwd); - if (obj[key] && typeof obj[key] === "object") { - conf = applyExtends(obj[key], rootPath || cwd, self2.getParserConfiguration()["deep-merge-config"] || false, shim$1); - options.configObjects = (options.configObjects || []).concat(conf); + if (obj[key2] && typeof obj[key2] === "object") { + conf = applyExtends(obj[key2], rootPath || cwd, self2.getParserConfiguration()["deep-merge-config"] || false, shim$1); + options8.configObjects = (options8.configObjects || []).concat(conf); } return self2; }; @@ -27087,7 +27090,7 @@ ${customMsgs.join("\n")}` : ""; } let parseFn = null; let parseContext = null; - self2.parse = function parse2(args, shortCircuit, _parseFn) { + self2.parse = function parse7(args, shortCircuit, _parseFn) { argsert("[string|array] [function|boolean|object] [function]", [args, shortCircuit, _parseFn], arguments.length); freeze(); if (typeof args === "undefined") { @@ -27118,103 +27121,103 @@ ${customMsgs.join("\n")}` : ""; }; self2._getParseContext = () => parseContext || {}; self2._hasParseCallback = () => !!parseFn; - self2.option = self2.options = function option(key, opt) { - argsert(" [object]", [key, opt], arguments.length); - if (typeof key === "object") { - Object.keys(key).forEach((k) => { - self2.options(k, key[k]); + self2.option = self2.options = function option(key2, opt) { + argsert(" [object]", [key2, opt], arguments.length); + if (typeof key2 === "object") { + Object.keys(key2).forEach((k8) => { + self2.options(k8, key2[k8]); }); } else { if (typeof opt !== "object") { opt = {}; } - options.key[key] = true; + options8.key[key2] = true; if (opt.alias) - self2.alias(key, opt.alias); + self2.alias(key2, opt.alias); const deprecate = opt.deprecate || opt.deprecated; if (deprecate) { - self2.deprecateOption(key, deprecate); + self2.deprecateOption(key2, deprecate); } const demand = opt.demand || opt.required || opt.require; if (demand) { - self2.demand(key, demand); + self2.demand(key2, demand); } if (opt.demandOption) { - self2.demandOption(key, typeof opt.demandOption === "string" ? opt.demandOption : void 0); + self2.demandOption(key2, typeof opt.demandOption === "string" ? opt.demandOption : void 0); } if (opt.conflicts) { - self2.conflicts(key, opt.conflicts); + self2.conflicts(key2, opt.conflicts); } if ("default" in opt) { - self2.default(key, opt.default); + self2.default(key2, opt.default); } if (opt.implies !== void 0) { - self2.implies(key, opt.implies); + self2.implies(key2, opt.implies); } if (opt.nargs !== void 0) { - self2.nargs(key, opt.nargs); + self2.nargs(key2, opt.nargs); } if (opt.config) { - self2.config(key, opt.configParser); + self2.config(key2, opt.configParser); } if (opt.normalize) { - self2.normalize(key); + self2.normalize(key2); } if (opt.choices) { - self2.choices(key, opt.choices); + self2.choices(key2, opt.choices); } if (opt.coerce) { - self2.coerce(key, opt.coerce); + self2.coerce(key2, opt.coerce); } if (opt.group) { - self2.group(key, opt.group); + self2.group(key2, opt.group); } if (opt.boolean || opt.type === "boolean") { - self2.boolean(key); + self2.boolean(key2); if (opt.alias) self2.boolean(opt.alias); } if (opt.array || opt.type === "array") { - self2.array(key); + self2.array(key2); if (opt.alias) self2.array(opt.alias); } if (opt.number || opt.type === "number") { - self2.number(key); + self2.number(key2); if (opt.alias) self2.number(opt.alias); } if (opt.string || opt.type === "string") { - self2.string(key); + self2.string(key2); if (opt.alias) self2.string(opt.alias); } if (opt.count || opt.type === "count") { - self2.count(key); + self2.count(key2); } if (typeof opt.global === "boolean") { - self2.global(key, opt.global); + self2.global(key2, opt.global); } if (opt.defaultDescription) { - options.defaultDescription[key] = opt.defaultDescription; + options8.defaultDescription[key2] = opt.defaultDescription; } if (opt.skipValidation) { - self2.skipValidation(key); + self2.skipValidation(key2); } const desc = opt.describe || opt.description || opt.desc; - self2.describe(key, desc); + self2.describe(key2, desc); if (opt.hidden) { - self2.hide(key); + self2.hide(key2); } if (opt.requiresArg) { - self2.requiresArg(key); + self2.requiresArg(key2); } } return self2; }; - self2.getOptions = () => options; - self2.positional = function(key, opts) { - argsert(" ", [key, opts], arguments.length); + self2.getOptions = () => options8; + self2.positional = function(key2, opts) { + argsert(" ", [key2, opts], arguments.length); if (context3.resets === 0) { throw new YError(".positional() can only be called in a command's builder function"); } @@ -27232,9 +27235,9 @@ ${customMsgs.join("\n")}` : ""; "description", "alias" ]; - opts = objFilter(opts, (k, v) => { - let accept = supportedOpts.indexOf(k) !== -1; - if (k === "type" && ["string", "number", "boolean"].indexOf(v) === -1) + opts = objFilter(opts, (k8, v9) => { + let accept = supportedOpts.indexOf(k8) !== -1; + if (k8 === "type" && ["string", "number", "boolean"].indexOf(v9) === -1) accept = false; return accept; }); @@ -27248,27 +27251,27 @@ ${customMsgs.join("\n")}` : ""; objectKeys(parseOptions).forEach((pk) => { const parseOption = parseOptions[pk]; if (Array.isArray(parseOption)) { - if (parseOption.indexOf(key) !== -1) + if (parseOption.indexOf(key2) !== -1) opts[pk] = true; } else { - if (parseOption[key] && !(pk in opts)) - opts[pk] = parseOption[key]; + if (parseOption[key2] && !(pk in opts)) + opts[pk] = parseOption[key2]; } }); - self2.group(key, usage$1.getPositionalGroupName()); - return self2.option(key, opts); + self2.group(key2, usage$1.getPositionalGroupName()); + return self2.option(key2, opts); }; - self2.group = function group(opts, groupName) { + self2.group = function group2(opts, groupName) { argsert(" ", [opts, groupName], arguments.length); const existing = preservedGroups[groupName] || groups[groupName]; if (preservedGroups[groupName]) { delete preservedGroups[groupName]; } const seen = {}; - groups[groupName] = (existing || []).concat(opts).filter((key) => { - if (seen[key]) + groups[groupName] = (existing || []).concat(opts).filter((key2) => { + if (seen[key2]) return false; - return seen[key] = true; + return seen[key2] = true; }); return self2; }; @@ -27276,9 +27279,9 @@ ${customMsgs.join("\n")}` : ""; self2.env = function(prefix) { argsert("[string|boolean]", [prefix], arguments.length); if (prefix === false) - delete options.envPrefix; + delete options8.envPrefix; else - options.envPrefix = prefix || ""; + options8.envPrefix = prefix || ""; return self2; }; self2.wrap = function(cols) { @@ -27376,7 +27379,7 @@ ${customMsgs.join("\n")}` : ""; return self2; }; const defaultShowHiddenOpt = "show-hidden"; - options.showHiddenOpt = defaultShowHiddenOpt; + options8.showHiddenOpt = defaultShowHiddenOpt; self2.addShowHiddenOpt = self2.showHidden = function addShowHiddenOpt(opt, msg) { argsert("[string|boolean] [string]", [opt, msg], arguments.length); if (arguments.length === 1) { @@ -27386,12 +27389,12 @@ ${customMsgs.join("\n")}` : ""; const showHiddenOpt = typeof opt === "string" ? opt : defaultShowHiddenOpt; self2.boolean(showHiddenOpt); self2.describe(showHiddenOpt, msg || usage$1.deferY18nLookup("Show hidden options")); - options.showHiddenOpt = showHiddenOpt; + options8.showHiddenOpt = showHiddenOpt; return self2; }; - self2.hide = function hide2(key) { - argsert("", [key], arguments.length); - options.hiddenOptions.push(key); + self2.hide = function hide2(key2) { + argsert("", [key2], arguments.length); + options8.hiddenOptions.push(key2); return self2; }; self2.showHelpOnFail = function showHelpOnFail(enabled, message) { @@ -27482,13 +27485,13 @@ ${customMsgs.join("\n")}` : ""; self2._parseArgs = function parseArgs(args, shortCircuit, _calledFromCommand, commandIndex) { let skipValidation = !!_calledFromCommand; args = args || processArgs; - options.__ = y18n2.__; - options.configuration = self2.getParserConfiguration(); - const populateDoubleDash = !!options.configuration["populate--"]; - const config = Object.assign({}, options.configuration, { + options8.__ = y18n2.__; + options8.configuration = self2.getParserConfiguration(); + const populateDoubleDash = !!options8.configuration["populate--"]; + const config = Object.assign({}, options8.configuration, { "populate--": true }); - const parsed = shim$1.Parser.detailed(args, Object.assign({}, options, { + const parsed = shim$1.Parser.detailed(args, Object.assign({}, options8, { configuration: Object.assign({ "parse-positional-numbers": false }, config) })); let argv = parsed.argv; @@ -27503,7 +27506,7 @@ ${customMsgs.join("\n")}` : ""; return self2._postProcess(argv, populateDoubleDash, _calledFromCommand); } if (helpOpt) { - const helpCmds = [helpOpt].concat(aliases[helpOpt] || []).filter((k) => k.length > 1); + const helpCmds = [helpOpt].concat(aliases[helpOpt] || []).filter((k8) => k8.length > 1); if (~helpCmds.indexOf("" + argv._[argv._.length - 1])) { argv._.pop(); argv[helpOpt] = true; @@ -27516,10 +27519,10 @@ ${customMsgs.join("\n")}` : ""; if (argv._.length) { if (handlerKeys.length) { let firstUnknownCommand; - for (let i2 = commandIndex || 0, cmd; argv._[i2] !== void 0; i2++) { - cmd = String(argv._[i2]); + for (let i5 = commandIndex || 0, cmd; argv._[i5] !== void 0; i5++) { + cmd = String(argv._[i5]); if (~handlerKeys.indexOf(cmd) && cmd !== completionCommand) { - const innerArgv = command$1.runCommand(cmd, self2, parsed, i2 + 1); + const innerArgv = command$1.runCommand(cmd, self2, parsed, i5 + 1); return self2._postProcess(innerArgv, populateDoubleDash); } else if (!firstUnknownCommand && cmd !== completionCommand) { firstUnknownCommand = cmd; @@ -27558,14 +27561,14 @@ ${customMsgs.join("\n")}` : ""; return self2._postProcess(argv, !populateDoubleDash, _calledFromCommand); } if (!hasOutput) { - Object.keys(argv).forEach((key) => { - if (key === helpOpt && argv[key]) { + Object.keys(argv).forEach((key2) => { + if (key2 === helpOpt && argv[key2]) { if (exitProcess) setBlocking(true); skipValidation = true; self2.showHelp("log"); self2.exit(0); - } else if (key === versionOpt && argv[key]) { + } else if (key2 === versionOpt && argv[key2]) { if (exitProcess) setBlocking(true); skipValidation = true; @@ -27574,8 +27577,8 @@ ${customMsgs.join("\n")}` : ""; } }); } - if (!skipValidation && options.skipValidation.length > 0) { - skipValidation = Object.keys(argv).some((key) => options.skipValidation.indexOf(key) >= 0 && argv[key] === true); + if (!skipValidation && options8.skipValidation.length > 0) { + skipValidation = Object.keys(argv).some((key2) => options8.skipValidation.indexOf(key2) >= 0 && argv[key2] === true); } if (!skipValidation) { if (parsed.error) @@ -27618,9 +27621,9 @@ ${customMsgs.join("\n")}` : ""; }; self2._parsePositionalNumbers = function(argv) { const args = argv["--"] ? argv["--"] : argv._; - for (let i2 = 0, arg; (arg = args[i2]) !== void 0; i2++) { + for (let i5 = 0, arg; (arg = args[i5]) !== void 0; i5++) { if (shim$1.Parser.looksLikeNumber(arg) && Number.isSafeInteger(Math.floor(parseFloat(`${arg}`)))) { - args[i2] = Number(arg); + args[i5] = Number(arg); } } return argv; @@ -27655,30 +27658,30 @@ ${customMsgs.join("\n")}` : ""; return self2; } var rebase = (base, dir) => shim$1.path.relative(base, dir); - function isYargsInstance(y5) { - return !!y5 && typeof y5._parseArgs === "function"; + function isYargsInstance(y10) { + return !!y10 && typeof y10._parseArgs === "function"; } - var _a; - var _b; + var _a6; + var _b2; var { readFileSync: readFileSync5 } = __require("fs"); - var { inspect } = __require("util"); - var { resolve: resolve3 } = __require("path"); + var { inspect: inspect2 } = __require("util"); + var { resolve: resolve4 } = __require("path"); var y18n = require_build(); var Parser = require_build2(); var cjsPlatformShim = { assert: { - notStrictEqual: assert.notStrictEqual, - strictEqual: assert.strictEqual + notStrictEqual: assert4.notStrictEqual, + strictEqual: assert4.strictEqual }, cliui: require_build3(), findUp: require_sync(), - getEnv: (key) => { - return process.env[key]; + getEnv: (key2) => { + return process.env[key2]; }, getCallerFile: require_get_caller_file(), getProcessArgvBin, - inspect, - mainFilename: (_b = (_a = __require === null || __require === void 0 ? void 0 : __require.main) === null || _a === void 0 ? void 0 : _a.filename) !== null && _b !== void 0 ? _b : process.cwd(), + inspect: inspect2, + mainFilename: (_b2 = (_a6 = __require === null || __require === void 0 ? void 0 : __require.main) === null || _a6 === void 0 ? void 0 : _a6.filename) !== null && _b2 !== void 0 ? _b2 : process.cwd(), Parser, path: __require("path"), process: { @@ -27696,7 +27699,7 @@ ${customMsgs.join("\n")}` : ""; requireDirectory: require_require_directory(), stringWidth: require_string_width(), y18n: y18n({ - directory: resolve3(__dirname, "../locales"), + directory: resolve4(__dirname, "../locales"), updateFiles: false }) }; @@ -27740,11 +27743,11 @@ var require_yargs = __commonJS({ return argv; } function singletonify(inst) { - Object.keys(inst).forEach((key) => { - if (key === "argv") { - Argv.__defineGetter__(key, inst.__lookupGetter__(key)); - } else if (typeof inst[key] === "function") { - Argv[key] = inst[key].bind(inst); + Object.keys(inst).forEach((key2) => { + if (key2 === "argv") { + Argv.__defineGetter__(key2, inst.__lookupGetter__(key2)); + } else if (typeof inst[key2] === "function") { + Argv[key2] = inst[key2].bind(inst); } else { Argv.__defineGetter__("$0", () => { return inst.$0; @@ -27761,36 +27764,36 @@ var require_yargs = __commonJS({ // node_modules/nconf/lib/nconf/stores/argv.js var require_argv = __commonJS({ "node_modules/nconf/lib/nconf/stores/argv.js"(exports) { - var util = __require("util"); + var util2 = __require("util"); var common = require_common(); var Memory = require_memory().Memory; - var Argv = exports.Argv = function(options, usage) { - Memory.call(this, options); - options = options || {}; + var Argv = exports.Argv = function(options8, usage) { + Memory.call(this, options8); + options8 = options8 || {}; this.type = "argv"; this.readOnly = true; - this.options = options; + this.options = options8; this.usage = usage; - if (typeof options.parseValues === "boolean") { - this.parseValues = options.parseValues; - delete options.parseValues; + if (typeof options8.parseValues === "boolean") { + this.parseValues = options8.parseValues; + delete options8.parseValues; } else { this.parseValues = false; } - if (typeof options.transform === "function") { - this.transform = options.transform; - delete options.transform; + if (typeof options8.transform === "function") { + this.transform = options8.transform; + delete options8.transform; } else { this.transform = false; } - if (typeof options.separator === "string" || options.separator instanceof RegExp) { - this.separator = options.separator; - delete options.separator; + if (typeof options8.separator === "string" || options8.separator instanceof RegExp) { + this.separator = options8.separator; + delete options8.separator; } else { this.separator = ""; } }; - util.inherits(Argv, Memory); + util2.inherits(Argv, Memory); Argv.prototype.loadSync = function() { this.loadArgv(); return this.store; @@ -27809,16 +27812,16 @@ var require_argv = __commonJS({ argv = common.transform(argv, this.transform); } this.readOnly = false; - Object.keys(argv).forEach(function(key) { - var val = argv[key]; + Object.keys(argv).forEach(function(key2) { + var val = argv[key2]; if (typeof val !== "undefined") { if (self2.parseValues) { val = common.parseValues(val); } if (self2.separator) { - self2.set(common.key.apply(common, key.split(self2.separator)), val); + self2.set(common.key.apply(common, key2.split(self2.separator)), val); } else { - self2.set(key, val); + self2.set(key2, val); } } }); @@ -27836,30 +27839,30 @@ var require_argv = __commonJS({ // node_modules/nconf/lib/nconf/stores/env.js var require_env = __commonJS({ "node_modules/nconf/lib/nconf/stores/env.js"(exports) { - var util = __require("util"); + var util2 = __require("util"); var common = require_common(); var Memory = require_memory().Memory; - var Env = exports.Env = function(options) { - Memory.call(this, options); - options = options || {}; + var Env = exports.Env = function(options8) { + Memory.call(this, options8); + options8 = options8 || {}; this.type = "env"; - this.readOnly = options.readOnly !== void 0 ? options.readOnly : true; - this.whitelist = options.whitelist || []; - this.separator = options.separator || ""; - this.lowerCase = options.lowerCase || false; - this.parseValues = options.parseValues || false; - this.transform = options.transform || false; - if ({}.toString.call(options.match) === "[object RegExp]" && typeof options !== "string") { - this.match = options.match; + this.readOnly = options8.readOnly !== void 0 ? options8.readOnly : true; + this.whitelist = options8.whitelist || []; + this.separator = options8.separator || ""; + this.lowerCase = options8.lowerCase || false; + this.parseValues = options8.parseValues || false; + this.transform = options8.transform || false; + if ({}.toString.call(options8.match) === "[object RegExp]" && typeof options8 !== "string") { + this.match = options8.match; } - if (options instanceof Array) { - this.whitelist = options; + if (options8 instanceof Array) { + this.whitelist = options8; } - if (typeof options === "string" || options instanceof RegExp) { - this.separator = options; + if (typeof options8 === "string" || options8 instanceof RegExp) { + this.separator = options8; } }; - util.inherits(Env, Memory); + util2.inherits(Env, Memory); Env.prototype.loadSync = function() { this.loadEnv(); return this.store; @@ -27869,39 +27872,39 @@ var require_env = __commonJS({ var env2 = process.env; if (this.prefix) { env2 = {}; - Object.keys(process.env).forEach(function(key) { - if (key.indexOf(self2.prefix) === 0) { - env2[key.replace(self2.prefix, "")] = process.env[key]; + Object.keys(process.env).forEach(function(key2) { + if (key2.indexOf(self2.prefix) === 0) { + env2[key2.replace(self2.prefix, "")] = process.env[key2]; } }); } if (this.lowerCase) { env2 = {}; - Object.keys(process.env).forEach(function(key) { - env2[key.toLowerCase()] = process.env[key]; + Object.keys(process.env).forEach(function(key2) { + env2[key2.toLowerCase()] = process.env[key2]; }); } if (this.transform) { env2 = common.transform(env2, this.transform); } this.readOnly = false; - Object.keys(env2).filter(function(key) { + Object.keys(env2).filter(function(key2) { if (self2.match && self2.whitelist.length) { - return key.match(self2.match) || self2.whitelist.indexOf(key) !== -1; + return key2.match(self2.match) || self2.whitelist.indexOf(key2) !== -1; } else if (self2.match) { - return key.match(self2.match); + return key2.match(self2.match); } else { - return !self2.whitelist.length || self2.whitelist.indexOf(key) !== -1; + return !self2.whitelist.length || self2.whitelist.indexOf(key2) !== -1; } - }).forEach(function(key) { - var val = env2[key]; + }).forEach(function(key2) { + var val = env2[key2]; if (self2.parseValues) { val = common.parseValues(val); } if (self2.separator) { - self2.set(common.key.apply(common, key.split(self2.separator)), val); + self2.set(common.key.apply(common, key2.split(self2.separator)), val); } else { - self2.set(key, val); + self2.set(key2, val); } }); this.readOnly = true; @@ -27931,9 +27934,9 @@ var require_secure_keys = __commonJS({ } Secure.prototype.encrypt = function encrypt(data2, callback) { var self2 = this; - return Object.keys(data2).reduce(function(acc, key) { - var value = self2.format.stringify(data2[key]); - acc[key] = { + return Object.keys(data2).reduce(function(acc, key2) { + var value = self2.format.stringify(data2[key2]); + acc[key2] = { alg: self2.alg, value: cipherConvert(value, { alg: self2.alg, @@ -27946,13 +27949,13 @@ var require_secure_keys = __commonJS({ }; Secure.prototype.decrypt = function decrypt(data2, callback) { var self2 = this; - return Object.keys(data2).reduce(function(acc, key) { - var decrypted = cipherConvert(data2[key].value, { - alg: data2[key].alg || self2.alg, + return Object.keys(data2).reduce(function(acc, key2) { + var decrypted = cipherConvert(data2[key2].value, { + alg: data2[key2].alg || self2.alg, secret: self2.secret, encs: { input: "hex", output: "utf8" } }); - acc[key] = self2.format.parse(decrypted); + acc[key2] = self2.format.parse(decrypted); return acc; }, {}); }; @@ -27967,30 +27970,30 @@ var require_secure_keys = __commonJS({ // node_modules/nconf/lib/nconf/stores/file.js var require_file2 = __commonJS({ "node_modules/nconf/lib/nconf/stores/file.js"(exports) { - var fs7 = __require("fs"); - var path7 = __require("path"); - var util = __require("util"); + var fs14 = __require("fs"); + var path19 = __require("path"); + var util2 = __require("util"); var Secure = require_secure_keys(); var formats = require_formats(); var Memory = require_memory().Memory; - var exists2 = fs7.exists || path7.exists; - var existsSync5 = fs7.existsSync || path7.existsSync; - var File = exports.File = function(options) { - if (!options || !options.file) { + var exists2 = fs14.exists || path19.exists; + var existsSync5 = fs14.existsSync || path19.existsSync; + var File = exports.File = function(options8) { + if (!options8 || !options8.file) { throw new Error("Missing required option `file`"); } - Memory.call(this, options); + Memory.call(this, options8); this.type = "file"; - this.file = options.file; - this.dir = options.dir || process.cwd(); - this.format = options.format || formats.json; - this.secure = options.secure; - this.spacing = options.json_spacing || options.spacing || 2; + this.file = options8.file; + this.dir = options8.dir || process.cwd(); + this.format = options8.format || formats.json; + this.secure = options8.secure; + this.spacing = options8.json_spacing || options8.spacing || 2; if (this.secure) { this.secure = Buffer.isBuffer(this.secure) || typeof this.secure === "string" ? { secret: this.secure.toString() } : this.secure; this.secure.alg = this.secure.alg || "aes-256-ctr"; if (this.secure.secretPath) { - this.secure.secret = fs7.readFileSync(this.secure.secretPath, "utf8"); + this.secure.secret = fs14.readFileSync(this.secure.secretPath, "utf8"); } if (!this.secure.secret) { throw new Error("secure.secret option is required"); @@ -28001,23 +28004,23 @@ var require_file2 = __commonJS({ format: this.format }); } - if (options.search) { + if (options8.search) { this.search(this.dir); } }; - util.inherits(File, Memory); + util2.inherits(File, Memory); File.prototype.save = function(value, callback) { this.saveToFile(this.file, value, callback); }; - File.prototype.saveToFile = function(path8, format2, callback) { + File.prototype.saveToFile = function(path20, format3, callback) { if (!callback) { - callback = format2; - format2 = this.format; + callback = format3; + format3 = this.format; } - fs7.writeFile(path8, this.stringify(format2), callback); + fs14.writeFile(path20, this.stringify(format3), callback); }; File.prototype.saveSync = function() { - fs7.writeFileSync(this.file, this.stringify()); + fs14.writeFileSync(this.file, this.stringify()); return this.store; }; File.prototype.load = function(callback) { @@ -28026,7 +28029,7 @@ var require_file2 = __commonJS({ if (!exists3) { return callback(null, {}); } - fs7.readFile(self2.file, function(err, data2) { + fs14.readFile(self2.file, function(err, data2) { if (err) { return callback(err); } @@ -28049,7 +28052,7 @@ var require_file2 = __commonJS({ return this.store; } try { - var fileData = fs7.readFileSync(this.file, "utf8"); + var fileData = fs14.readFileSync(this.file, "utf8"); if (fileData.charAt(0) === "\uFEFF") { fileData = fileData.substr(1); } @@ -28059,15 +28062,15 @@ var require_file2 = __commonJS({ } return this.store; }; - File.prototype.stringify = function(format2) { + File.prototype.stringify = function(format3) { var data2 = this.store; - if (!format2) { - format2 = this.format; + if (!format3) { + format3 = this.format; } if (this.secure) { data2 = this.keys.encrypt(data2); } - return format2.stringify(data2, null, this.spacing); + return format3.stringify(data2, null, this.spacing); }; File.prototype.parse = function(contents) { var parsed = this.format.parse(contents); @@ -28081,7 +28084,7 @@ var require_file2 = __commonJS({ base = base || process.cwd(); if (this.file[0] === "/") { try { - stats = fs7.statSync(fs7.realpathSync(this.file)); + stats = fs14.statSync(fs14.realpathSync(this.file)); if (stats.isFile()) { fullpath = this.file; looking = false; @@ -28091,22 +28094,22 @@ var require_file2 = __commonJS({ } if (looking && base) { try { - var stat2 = fs7.statSync(fs7.realpathSync(base)); - looking = stat2.isDirectory(); + var stat3 = fs14.statSync(fs14.realpathSync(base)); + looking = stat3.isDirectory(); } catch (ex) { return false; } } while (looking) { try { - stats = fs7.statSync(fs7.realpathSync(fullpath = path7.join(base, this.file))); + stats = fs14.statSync(fs14.realpathSync(fullpath = path19.join(base, this.file))); looking = stats.isDirectory(); } catch (ex) { previous = base; - base = path7.dirname(base); + base = path19.dirname(base); if (previous === base) { try { - stats = fs7.statSync(fs7.realpathSync(fullpath = path7.join(this.dir, this.file))); + stats = fs14.statSync(fs14.realpathSync(fullpath = path19.join(this.dir, this.file))); if (stats.isDirectory()) { fullpath = void 0; } @@ -28125,16 +28128,16 @@ var require_file2 = __commonJS({ // node_modules/nconf/lib/nconf/stores/literal.js var require_literal = __commonJS({ "node_modules/nconf/lib/nconf/stores/literal.js"(exports) { - var util = __require("util"); + var util2 = __require("util"); var Memory = require_memory().Memory; - var Literal = exports.Literal = function Literal2(options) { - Memory.call(this, options); - options = options || {}; + var Literal = exports.Literal = function Literal2(options8) { + Memory.call(this, options8); + options8 = options8 || {}; this.type = "literal"; this.readOnly = true; - this.store = options.store || options; + this.store = options8.store || options8; }; - util.inherits(Literal, Memory); + util2.inherits(Literal, Memory); Literal.prototype.loadSync = function() { return this.store; }; @@ -28240,8 +28243,8 @@ var require_visit = __commonJS({ function visit(node2, visitor) { const visitor_ = initVisitor(visitor); if (identity.isDocument(node2)) { - const cd = visit_(null, node2.contents, visitor_, Object.freeze([node2])); - if (cd === REMOVE) + const cd2 = visit_(null, node2.contents, visitor_, Object.freeze([node2])); + if (cd2 === REMOVE) node2.contents = null; } else visit_(null, node2, visitor_, Object.freeze([])); @@ -28249,37 +28252,37 @@ var require_visit = __commonJS({ visit.BREAK = BREAK; visit.SKIP = SKIP; visit.REMOVE = REMOVE; - function visit_(key, node2, visitor, path7) { - const ctrl = callVisitor(key, node2, visitor, path7); + function visit_(key2, node2, visitor, path19) { + const ctrl = callVisitor(key2, node2, visitor, path19); if (identity.isNode(ctrl) || identity.isPair(ctrl)) { - replaceNode(key, path7, ctrl); - return visit_(key, ctrl, visitor, path7); + replaceNode(key2, path19, ctrl); + return visit_(key2, ctrl, visitor, path19); } if (typeof ctrl !== "symbol") { if (identity.isCollection(node2)) { - path7 = Object.freeze(path7.concat(node2)); - for (let i2 = 0; i2 < node2.items.length; ++i2) { - const ci = visit_(i2, node2.items[i2], visitor, path7); - if (typeof ci === "number") - i2 = ci - 1; - else if (ci === BREAK) + path19 = Object.freeze(path19.concat(node2)); + for (let i5 = 0; i5 < node2.items.length; ++i5) { + const ci10 = visit_(i5, node2.items[i5], visitor, path19); + if (typeof ci10 === "number") + i5 = ci10 - 1; + else if (ci10 === BREAK) return BREAK; - else if (ci === REMOVE) { - node2.items.splice(i2, 1); - i2 -= 1; + else if (ci10 === REMOVE) { + node2.items.splice(i5, 1); + i5 -= 1; } } } else if (identity.isPair(node2)) { - path7 = Object.freeze(path7.concat(node2)); - const ck = visit_("key", node2.key, visitor, path7); + path19 = Object.freeze(path19.concat(node2)); + const ck = visit_("key", node2.key, visitor, path19); if (ck === BREAK) return BREAK; else if (ck === REMOVE) node2.key = null; - const cv = visit_("value", node2.value, visitor, path7); - if (cv === BREAK) + const cv2 = visit_("value", node2.value, visitor, path19); + if (cv2 === BREAK) return BREAK; - else if (cv === REMOVE) + else if (cv2 === REMOVE) node2.value = null; } } @@ -28288,8 +28291,8 @@ var require_visit = __commonJS({ async function visitAsync(node2, visitor) { const visitor_ = initVisitor(visitor); if (identity.isDocument(node2)) { - const cd = await visitAsync_(null, node2.contents, visitor_, Object.freeze([node2])); - if (cd === REMOVE) + const cd2 = await visitAsync_(null, node2.contents, visitor_, Object.freeze([node2])); + if (cd2 === REMOVE) node2.contents = null; } else await visitAsync_(null, node2, visitor_, Object.freeze([])); @@ -28297,37 +28300,37 @@ var require_visit = __commonJS({ visitAsync.BREAK = BREAK; visitAsync.SKIP = SKIP; visitAsync.REMOVE = REMOVE; - async function visitAsync_(key, node2, visitor, path7) { - const ctrl = await callVisitor(key, node2, visitor, path7); + async function visitAsync_(key2, node2, visitor, path19) { + const ctrl = await callVisitor(key2, node2, visitor, path19); if (identity.isNode(ctrl) || identity.isPair(ctrl)) { - replaceNode(key, path7, ctrl); - return visitAsync_(key, ctrl, visitor, path7); + replaceNode(key2, path19, ctrl); + return visitAsync_(key2, ctrl, visitor, path19); } if (typeof ctrl !== "symbol") { if (identity.isCollection(node2)) { - path7 = Object.freeze(path7.concat(node2)); - for (let i2 = 0; i2 < node2.items.length; ++i2) { - const ci = await visitAsync_(i2, node2.items[i2], visitor, path7); - if (typeof ci === "number") - i2 = ci - 1; - else if (ci === BREAK) + path19 = Object.freeze(path19.concat(node2)); + for (let i5 = 0; i5 < node2.items.length; ++i5) { + const ci10 = await visitAsync_(i5, node2.items[i5], visitor, path19); + if (typeof ci10 === "number") + i5 = ci10 - 1; + else if (ci10 === BREAK) return BREAK; - else if (ci === REMOVE) { - node2.items.splice(i2, 1); - i2 -= 1; + else if (ci10 === REMOVE) { + node2.items.splice(i5, 1); + i5 -= 1; } } } else if (identity.isPair(node2)) { - path7 = Object.freeze(path7.concat(node2)); - const ck = await visitAsync_("key", node2.key, visitor, path7); + path19 = Object.freeze(path19.concat(node2)); + const ck = await visitAsync_("key", node2.key, visitor, path19); if (ck === BREAK) return BREAK; else if (ck === REMOVE) node2.key = null; - const cv = await visitAsync_("value", node2.value, visitor, path7); - if (cv === BREAK) + const cv2 = await visitAsync_("value", node2.value, visitor, path19); + if (cv2 === BREAK) return BREAK; - else if (cv === REMOVE) + else if (cv2 === REMOVE) node2.value = null; } } @@ -28351,35 +28354,35 @@ var require_visit = __commonJS({ } return visitor; } - function callVisitor(key, node2, visitor, path7) { + function callVisitor(key2, node2, visitor, path19) { if (typeof visitor === "function") - return visitor(key, node2, path7); + return visitor(key2, node2, path19); if (identity.isMap(node2)) - return visitor.Map?.(key, node2, path7); + return visitor.Map?.(key2, node2, path19); if (identity.isSeq(node2)) - return visitor.Seq?.(key, node2, path7); + return visitor.Seq?.(key2, node2, path19); if (identity.isPair(node2)) - return visitor.Pair?.(key, node2, path7); + return visitor.Pair?.(key2, node2, path19); if (identity.isScalar(node2)) - return visitor.Scalar?.(key, node2, path7); + return visitor.Scalar?.(key2, node2, path19); if (identity.isAlias(node2)) - return visitor.Alias?.(key, node2, path7); + return visitor.Alias?.(key2, node2, path19); return void 0; } - function replaceNode(key, path7, node2) { - const parent = path7[path7.length - 1]; + function replaceNode(key2, path19, node2) { + const parent = path19[path19.length - 1]; if (identity.isCollection(parent)) { - parent.items[key] = node2; + parent.items[key2] = node2; } else if (identity.isPair(parent)) { - if (key === "key") + if (key2 === "key") parent.key = node2; else parent.value = node2; } else if (identity.isDocument(parent)) { parent.contents = node2; } else { - const pt = identity.isAlias(parent) ? "alias" : "scalar"; - throw new Error(`Cannot replace node with ${pt} parent`); + const pt10 = identity.isAlias(parent) ? "alias" : "scalar"; + throw new Error(`Cannot replace node with ${pt10} parent`); } } exports.visit = visit; @@ -28401,7 +28404,7 @@ var require_directives = __commonJS({ "{": "%7B", "}": "%7D" }; - var escapeTagName = (tn) => tn.replace(/[!,[\]{}]/g, (ch) => escapeChars[ch]); + var escapeTagName = (tn8) => tn8.replace(/[!,[\]{}]/g, (ch2) => escapeChars[ch2]); var Directives = class _Directives { constructor(yaml, tags) { this.docStart = null; @@ -28439,13 +28442,13 @@ var require_directives = __commonJS({ * @param onError - May be called even if the action was successful * @returns `true` on success */ - add(line, onError) { + add(line3, onError) { if (this.atNextDocument) { this.yaml = { explicit: _Directives.defaultYaml.explicit, version: "1.1" }; this.tags = Object.assign({}, _Directives.defaultTags); this.atNextDocument = false; } - const parts = line.trim().split(/[ \t]+/); + const parts = line3.trim().split(/[ \t]+/); const name = parts.shift(); switch (name) { case "%TAG": { @@ -28485,26 +28488,26 @@ var require_directives = __commonJS({ * @returns Resolved tag, which may also be the non-specific tag `'!'` or a * `'!local'` tag, or `null` if unresolvable. */ - tagName(source, onError) { - if (source === "!") + tagName(source2, onError) { + if (source2 === "!") return "!"; - if (source[0] !== "!") { - onError(`Not a valid tag: ${source}`); + if (source2[0] !== "!") { + onError(`Not a valid tag: ${source2}`); return null; } - if (source[1] === "<") { - const verbatim = source.slice(2, -1); + if (source2[1] === "<") { + const verbatim = source2.slice(2, -1); if (verbatim === "!" || verbatim === "!!") { - onError(`Verbatim tags aren't resolved, so ${source} is invalid.`); + onError(`Verbatim tags aren't resolved, so ${source2} is invalid.`); return null; } - if (source[source.length - 1] !== ">") + if (source2[source2.length - 1] !== ">") onError("Verbatim tags must end with a >"); return verbatim; } - const [, handle, suffix] = source.match(/^(.*!)([^!]*)$/s); + const [, handle, suffix] = source2.match(/^(.*!)([^!]*)$/s); if (!suffix) - onError(`The ${source} tag has no suffix`); + onError(`The ${source2} tag has no suffix`); const prefix = this.tags[handle]; if (prefix) { try { @@ -28515,8 +28518,8 @@ var require_directives = __commonJS({ } } if (handle === "!") - return source; - onError(`Could not resolve tag: ${source}`); + return source2; + onError(`Could not resolve tag: ${source2}`); return null; } /** @@ -28546,7 +28549,7 @@ var require_directives = __commonJS({ for (const [handle, prefix] of tagEntries) { if (handle === "!!" && prefix === "tag:yaml.org,2002:") continue; - if (!doc || tagNames.some((tn) => tn.startsWith(prefix))) + if (!doc || tagNames.some((tn8) => tn8.startsWith(prefix))) lines.push(`%TAG ${handle} ${prefix}`); } return lines.join("\n"); @@ -28566,15 +28569,15 @@ var require_anchors = __commonJS({ var visit = require_visit(); function anchorIsValid(anchor) { if (/[\x00-\x19\s,[\]{}]/.test(anchor)) { - const sa = JSON.stringify(anchor); - const msg = `Anchor must not contain whitespace or control characters: ${sa}`; + const sa6 = JSON.stringify(anchor); + const msg = `Anchor must not contain whitespace or control characters: ${sa6}`; throw new Error(msg); } return true; } - function anchorNames(root2) { + function anchorNames(root3) { const anchors = /* @__PURE__ */ new Set(); - visit.visit(root2, { + visit.visit(root3, { Value(_key, node2) { if (node2.anchor) anchors.add(node2.anchor); @@ -28583,8 +28586,8 @@ var require_anchors = __commonJS({ return anchors; } function findNewAnchor(prefix, exclude) { - for (let i2 = 1; true; ++i2) { - const name = `${prefix}${i2}`; + for (let i5 = 1; true; ++i5) { + const name = `${prefix}${i5}`; if (!exclude.has(name)) return name; } @@ -28594,8 +28597,8 @@ var require_anchors = __commonJS({ const sourceObjects = /* @__PURE__ */ new Map(); let prevAnchors = null; return { - onAnchor: (source) => { - aliasObjects.push(source); + onAnchor: (source2) => { + aliasObjects.push(source2); prevAnchors ?? (prevAnchors = anchorNames(doc)); const anchor = findNewAnchor(prefix, prevAnchors); prevAnchors.add(anchor); @@ -28607,13 +28610,13 @@ var require_anchors = __commonJS({ * the nodes have been created. */ setAnchors: () => { - for (const source of aliasObjects) { - const ref = sourceObjects.get(source); + for (const source2 of aliasObjects) { + const ref = sourceObjects.get(source2); if (typeof ref === "object" && ref.anchor && (identity.isScalar(ref.node) || identity.isCollection(ref.node))) { ref.node.anchor = ref.anchor; } else { const error2 = new Error("Failed to resolve repeated object (this should not happen)"); - error2.source = source; + error2.source = source2; throw error2; } } @@ -28632,47 +28635,47 @@ var require_anchors = __commonJS({ var require_applyReviver = __commonJS({ "node_modules/yaml/dist/doc/applyReviver.js"(exports) { "use strict"; - function applyReviver(reviver, obj, key, val) { + function applyReviver(reviver, obj, key2, val) { if (val && typeof val === "object") { if (Array.isArray(val)) { - for (let i2 = 0, len = val.length; i2 < len; ++i2) { - const v0 = val[i2]; - const v1 = applyReviver(reviver, val, String(i2), v0); - if (v1 === void 0) - delete val[i2]; - else if (v1 !== v0) - val[i2] = v1; + for (let i5 = 0, len = val.length; i5 < len; ++i5) { + const v02 = val[i5]; + const v12 = applyReviver(reviver, val, String(i5), v02); + if (v12 === void 0) + delete val[i5]; + else if (v12 !== v02) + val[i5] = v12; } } else if (val instanceof Map) { - for (const k of Array.from(val.keys())) { - const v0 = val.get(k); - const v1 = applyReviver(reviver, val, k, v0); - if (v1 === void 0) - val.delete(k); - else if (v1 !== v0) - val.set(k, v1); + for (const k8 of Array.from(val.keys())) { + const v02 = val.get(k8); + const v12 = applyReviver(reviver, val, k8, v02); + if (v12 === void 0) + val.delete(k8); + else if (v12 !== v02) + val.set(k8, v12); } } else if (val instanceof Set) { - for (const v0 of Array.from(val)) { - const v1 = applyReviver(reviver, val, v0, v0); - if (v1 === void 0) - val.delete(v0); - else if (v1 !== v0) { - val.delete(v0); - val.add(v1); + for (const v02 of Array.from(val)) { + const v12 = applyReviver(reviver, val, v02, v02); + if (v12 === void 0) + val.delete(v02); + else if (v12 !== v02) { + val.delete(v02); + val.add(v12); } } } else { - for (const [k, v0] of Object.entries(val)) { - const v1 = applyReviver(reviver, val, k, v0); - if (v1 === void 0) - delete val[k]; - else if (v1 !== v0) - val[k] = v1; + for (const [k8, v02] of Object.entries(val)) { + const v12 = applyReviver(reviver, val, k8, v02); + if (v12 === void 0) + delete val[k8]; + else if (v12 !== v02) + val[k8] = v12; } } } - return reviver.call(obj, key, val); + return reviver.call(obj, key2, val); } exports.applyReviver = applyReviver; } @@ -28685,7 +28688,7 @@ var require_toJS = __commonJS({ var identity = require_identity(); function toJS(value, arg, ctx) { if (Array.isArray(value)) - return value.map((v, i2) => toJS(v, String(i2), ctx)); + return value.map((v9, i5) => toJS(v9, String(i5), ctx)); if (value && typeof value.toJSON === "function") { if (!ctx || !identity.hasAnchor(value)) return value.toJSON(arg, ctx); @@ -28759,9 +28762,9 @@ var require_Alias = __commonJS({ var Node2 = require_Node(); var toJS = require_toJS(); var Alias = class extends Node2.NodeBase { - constructor(source) { + constructor(source2) { super(identity.ALIAS); - this.source = source; + this.source = source2; Object.defineProperty(this, "tag", { set() { throw new Error("Alias nodes cannot have tags"); @@ -28800,15 +28803,15 @@ var require_Alias = __commonJS({ if (!ctx) return { source: this.source }; const { anchors: anchors2, doc, maxAliasCount } = ctx; - const source = this.resolve(doc, ctx); - if (!source) { + const source2 = this.resolve(doc, ctx); + if (!source2) { const msg = `Unresolved alias (the anchor must be set before the alias): ${this.source}`; throw new ReferenceError(msg); } - let data2 = anchors2.get(source); + let data2 = anchors2.get(source2); if (!data2) { - toJS.toJS(source, null, ctx); - data2 = anchors2.get(source); + toJS.toJS(source2, null, ctx); + data2 = anchors2.get(source2); } if (data2?.res === void 0) { const msg = "This should not happen: Alias anchor was not resolved?"; @@ -28817,7 +28820,7 @@ var require_Alias = __commonJS({ if (maxAliasCount >= 0) { data2.count += 1; if (data2.aliasCount === 0) - data2.aliasCount = getAliasCount(doc, source, anchors2); + data2.aliasCount = getAliasCount(doc, source2, anchors2); if (data2.count * data2.aliasCount > maxAliasCount) { const msg = "Excessive alias count indicates a resource exhaustion attack"; throw new ReferenceError(msg); @@ -28841,21 +28844,21 @@ var require_Alias = __commonJS({ }; function getAliasCount(doc, node2, anchors2) { if (identity.isAlias(node2)) { - const source = node2.resolve(doc); - const anchor = anchors2 && source && anchors2.get(source); + const source2 = node2.resolve(doc); + const anchor = anchors2 && source2 && anchors2.get(source2); return anchor ? anchor.count * anchor.aliasCount : 0; } else if (identity.isCollection(node2)) { let count = 0; for (const item of node2.items) { - const c = getAliasCount(doc, item, anchors2); - if (c > count) - count = c; + const c7 = getAliasCount(doc, item, anchors2); + if (c7 > count) + count = c7; } return count; } else if (identity.isPair(node2)) { - const kc = getAliasCount(doc, node2.key, anchors2); - const vc = getAliasCount(doc, node2.value, anchors2); - return Math.max(kc, vc); + const kc3 = getAliasCount(doc, node2.key, anchors2); + const vc4 = getAliasCount(doc, node2.value, anchors2); + return Math.max(kc3, vc4); } return 1; } @@ -28903,13 +28906,13 @@ var require_createNode = __commonJS({ var defaultTagPrefix = "tag:yaml.org,2002:"; function findTagObject(value, tagName, tags) { if (tagName) { - const match = tags.filter((t) => t.tag === tagName); - const tagObj = match.find((t) => !t.format) ?? match[0]; + const match = tags.filter((t26) => t26.tag === tagName); + const tagObj = match.find((t26) => !t26.format) ?? match[0]; if (!tagObj) throw new Error(`Tag ${tagName} not found`); return tagObj; } - return tags.find((t) => t.identify?.(value) && !t.format); + return tags.find((t26) => t26.identify?.(value) && !t26.format); } function createNode(value, tagName, ctx) { if (identity.isDocument(value)) @@ -28975,19 +28978,19 @@ var require_Collection = __commonJS({ var createNode = require_createNode(); var identity = require_identity(); var Node2 = require_Node(); - function collectionFromPath(schema, path7, value) { - let v = value; - for (let i2 = path7.length - 1; i2 >= 0; --i2) { - const k = path7[i2]; - if (typeof k === "number" && Number.isInteger(k) && k >= 0) { - const a = []; - a[k] = v; - v = a; + function collectionFromPath(schema, path19, value) { + let v9 = value; + for (let i5 = path19.length - 1; i5 >= 0; --i5) { + const k8 = path19[i5]; + if (typeof k8 === "number" && Number.isInteger(k8) && k8 >= 0) { + const a5 = []; + a5[k8] = v9; + v9 = a5; } else { - v = /* @__PURE__ */ new Map([[k, v]]); + v9 = /* @__PURE__ */ new Map([[k8, v9]]); } } - return createNode.createNode(v, void 0, { + return createNode.createNode(v9, void 0, { aliasDuplicateObjects: false, keepUndefined: false, onAnchor: () => { @@ -28997,7 +29000,7 @@ var require_Collection = __commonJS({ sourceObjects: /* @__PURE__ */ new Map() }); } - var isEmptyPath = (path7) => path7 == null || typeof path7 === "object" && !!path7[Symbol.iterator]().next().done; + var isEmptyPath = (path19) => path19 == null || typeof path19 === "object" && !!path19[Symbol.iterator]().next().done; var Collection2 = class extends Node2.NodeBase { constructor(type, schema) { super(type); @@ -29017,7 +29020,7 @@ var require_Collection = __commonJS({ const copy = Object.create(Object.getPrototypeOf(this), Object.getOwnPropertyDescriptors(this)); if (schema) copy.schema = schema; - copy.items = copy.items.map((it) => identity.isNode(it) || identity.isPair(it) ? it.clone(schema) : it); + copy.items = copy.items.map((it10) => identity.isNode(it10) || identity.isPair(it10) ? it10.clone(schema) : it10); if (this.range) copy.range = this.range.slice(); return copy; @@ -29027,42 +29030,42 @@ var require_Collection = __commonJS({ * be a Pair instance or a `{ key, value }` object, which may not have a key * that already exists in the map. */ - addIn(path7, value) { - if (isEmptyPath(path7)) + addIn(path19, value) { + if (isEmptyPath(path19)) this.add(value); else { - const [key, ...rest] = path7; - const node2 = this.get(key, true); + const [key2, ...rest] = path19; + const node2 = this.get(key2, true); if (identity.isCollection(node2)) node2.addIn(rest, value); else if (node2 === void 0 && this.schema) - this.set(key, collectionFromPath(this.schema, rest, value)); + this.set(key2, collectionFromPath(this.schema, rest, value)); else - throw new Error(`Expected YAML collection at ${key}. Remaining path: ${rest}`); + throw new Error(`Expected YAML collection at ${key2}. Remaining path: ${rest}`); } } /** * Removes a value from the collection. * @returns `true` if the item was found and removed. */ - deleteIn(path7) { - const [key, ...rest] = path7; + deleteIn(path19) { + const [key2, ...rest] = path19; if (rest.length === 0) - return this.delete(key); - const node2 = this.get(key, true); + return this.delete(key2); + const node2 = this.get(key2, true); if (identity.isCollection(node2)) return node2.deleteIn(rest); else - throw new Error(`Expected YAML collection at ${key}. Remaining path: ${rest}`); + throw new Error(`Expected YAML collection at ${key2}. Remaining path: ${rest}`); } /** * Returns item at `key`, or `undefined` if not found. By default unwraps * scalar values from their surrounding node; to disable set `keepScalar` to * `true` (collections are always returned intact). */ - getIn(path7, keepScalar) { - const [key, ...rest] = path7; - const node2 = this.get(key, true); + getIn(path19, keepScalar) { + const [key2, ...rest] = path19; + const node2 = this.get(key2, true); if (rest.length === 0) return !keepScalar && identity.isScalar(node2) ? node2.value : node2; else @@ -29072,36 +29075,36 @@ var require_Collection = __commonJS({ return this.items.every((node2) => { if (!identity.isPair(node2)) return false; - const n2 = node2.value; - return n2 == null || allowScalar && identity.isScalar(n2) && n2.value == null && !n2.commentBefore && !n2.comment && !n2.tag; + const n5 = node2.value; + return n5 == null || allowScalar && identity.isScalar(n5) && n5.value == null && !n5.commentBefore && !n5.comment && !n5.tag; }); } /** * Checks if the collection includes a value with the key `key`. */ - hasIn(path7) { - const [key, ...rest] = path7; + hasIn(path19) { + const [key2, ...rest] = path19; if (rest.length === 0) - return this.has(key); - const node2 = this.get(key, true); + return this.has(key2); + const node2 = this.get(key2, true); return identity.isCollection(node2) ? node2.hasIn(rest) : false; } /** * Sets a value in this collection. For `!!set`, `value` needs to be a * boolean to add/remove the item from the set. */ - setIn(path7, value) { - const [key, ...rest] = path7; + setIn(path19, value) { + const [key2, ...rest] = path19; if (rest.length === 0) { - this.set(key, value); + this.set(key2, value); } else { - const node2 = this.get(key, true); + const node2 = this.get(key2, true); if (identity.isCollection(node2)) node2.setIn(rest, value); else if (node2 === void 0 && this.schema) - this.set(key, collectionFromPath(this.schema, rest, value)); + this.set(key2, collectionFromPath(this.schema, rest, value)); else - throw new Error(`Expected YAML collection at ${key}. Remaining path: ${rest}`); + throw new Error(`Expected YAML collection at ${key2}. Remaining path: ${rest}`); } } }; @@ -29116,12 +29119,12 @@ var require_stringifyComment = __commonJS({ "node_modules/yaml/dist/stringify/stringifyComment.js"(exports) { "use strict"; var stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, "#"); - function indentComment(comment2, indent) { + function indentComment(comment2, indent3) { if (/^\n+$/.test(comment2)) return comment2.substring(1); - return indent ? comment2.replace(/^(?! *$)/gm, indent) : comment2; + return indent3 ? comment2.replace(/^(?! *$)/gm, indent3) : comment2; } - var lineComment = (str, indent, comment2) => str.endsWith("\n") ? indentComment(comment2, indent) : comment2.includes("\n") ? "\n" + indentComment(comment2, indent) : (str.endsWith(" ") ? "" : " ") + comment2; + var lineComment = (str, indent3, comment2) => str.endsWith("\n") ? indentComment(comment2, indent3) : comment2.includes("\n") ? "\n" + indentComment(comment2, indent3) : (str.endsWith(" ") ? "" : " ") + comment2; exports.indentComment = indentComment; exports.lineComment = lineComment; exports.stringifyComment = stringifyComment; @@ -29135,17 +29138,17 @@ var require_foldFlowLines = __commonJS({ var FOLD_FLOW = "flow"; var FOLD_BLOCK = "block"; var FOLD_QUOTED = "quoted"; - function foldFlowLines(text, indent, mode = "flow", { indentAtStart, lineWidth = 80, minContentWidth = 20, onFold, onOverflow } = {}) { + function foldFlowLines(text, indent3, mode = "flow", { indentAtStart, lineWidth = 80, minContentWidth = 20, onFold, onOverflow } = {}) { if (!lineWidth || lineWidth < 0) return text; if (lineWidth < minContentWidth) minContentWidth = 0; - const endStep = Math.max(1 + minContentWidth, 1 + lineWidth - indent.length); + const endStep = Math.max(1 + minContentWidth, 1 + lineWidth - indent3.length); if (text.length <= endStep) return text; const folds = []; const escapedFolds = {}; - let end = lineWidth - indent.length; + let end = lineWidth - indent3.length; if (typeof indentAtStart === "number") { if (indentAtStart > lineWidth - Math.max(2, minContentWidth)) folds.push(0); @@ -29155,67 +29158,67 @@ var require_foldFlowLines = __commonJS({ let split = void 0; let prev2 = void 0; let overflow = false; - let i2 = -1; + let i5 = -1; let escStart = -1; let escEnd = -1; if (mode === FOLD_BLOCK) { - i2 = consumeMoreIndentedLines(text, i2, indent.length); - if (i2 !== -1) - end = i2 + endStep; - } - for (let ch; ch = text[i2 += 1]; ) { - if (mode === FOLD_QUOTED && ch === "\\") { - escStart = i2; - switch (text[i2 + 1]) { + i5 = consumeMoreIndentedLines(text, i5, indent3.length); + if (i5 !== -1) + end = i5 + endStep; + } + for (let ch2; ch2 = text[i5 += 1]; ) { + if (mode === FOLD_QUOTED && ch2 === "\\") { + escStart = i5; + switch (text[i5 + 1]) { case "x": - i2 += 3; + i5 += 3; break; case "u": - i2 += 5; + i5 += 5; break; case "U": - i2 += 9; + i5 += 9; break; default: - i2 += 1; + i5 += 1; } - escEnd = i2; + escEnd = i5; } - if (ch === "\n") { + if (ch2 === "\n") { if (mode === FOLD_BLOCK) - i2 = consumeMoreIndentedLines(text, i2, indent.length); - end = i2 + indent.length + endStep; + i5 = consumeMoreIndentedLines(text, i5, indent3.length); + end = i5 + indent3.length + endStep; split = void 0; } else { - if (ch === " " && prev2 && prev2 !== " " && prev2 !== "\n" && prev2 !== " ") { - const next2 = text[i2 + 1]; + if (ch2 === " " && prev2 && prev2 !== " " && prev2 !== "\n" && prev2 !== " ") { + const next2 = text[i5 + 1]; if (next2 && next2 !== " " && next2 !== "\n" && next2 !== " ") - split = i2; + split = i5; } - if (i2 >= end) { + if (i5 >= end) { if (split) { folds.push(split); end = split + endStep; split = void 0; } else if (mode === FOLD_QUOTED) { while (prev2 === " " || prev2 === " ") { - prev2 = ch; - ch = text[i2 += 1]; + prev2 = ch2; + ch2 = text[i5 += 1]; overflow = true; } - const j = i2 > escEnd + 1 ? i2 - 2 : escStart - 1; - if (escapedFolds[j]) + const j9 = i5 > escEnd + 1 ? i5 - 2 : escStart - 1; + if (escapedFolds[j9]) return text; - folds.push(j); - escapedFolds[j] = true; - end = j + endStep; + folds.push(j9); + escapedFolds[j9] = true; + end = j9 + endStep; split = void 0; } else { overflow = true; } } } - prev2 = ch; + prev2 = ch2; } if (overflow && onOverflow) onOverflow(); @@ -29224,35 +29227,35 @@ var require_foldFlowLines = __commonJS({ if (onFold) onFold(); let res = text.slice(0, folds[0]); - for (let i3 = 0; i3 < folds.length; ++i3) { - const fold = folds[i3]; - const end2 = folds[i3 + 1] || text.length; + for (let i7 = 0; i7 < folds.length; ++i7) { + const fold = folds[i7]; + const end2 = folds[i7 + 1] || text.length; if (fold === 0) res = ` -${indent}${text.slice(0, end2)}`; +${indent3}${text.slice(0, end2)}`; else { if (mode === FOLD_QUOTED && escapedFolds[fold]) res += `${text[fold]}\\`; res += ` -${indent}${text.slice(fold + 1, end2)}`; +${indent3}${text.slice(fold + 1, end2)}`; } } return res; } - function consumeMoreIndentedLines(text, i2, indent) { - let end = i2; - let start = i2 + 1; - let ch = text[start]; - while (ch === " " || ch === " ") { - if (i2 < start + indent) { - ch = text[++i2]; + function consumeMoreIndentedLines(text, i5, indent3) { + let end = i5; + let start = i5 + 1; + let ch2 = text[start]; + while (ch2 === " " || ch2 === " ") { + if (i5 < start + indent3) { + ch2 = text[++i5]; } else { do { - ch = text[++i2]; - } while (ch && ch !== "\n"); - end = i2; - start = i2 + 1; - ch = text[start]; + ch2 = text[++i5]; + } while (ch2 && ch2 !== "\n"); + end = i5; + start = i5 + 1; + ch2 = text[start]; } } return end; @@ -29283,11 +29286,11 @@ var require_stringifyString = __commonJS({ const strLen = str.length; if (strLen <= limit) return false; - for (let i2 = 0, start = 0; i2 < strLen; ++i2) { - if (str[i2] === "\n") { - if (i2 - start > limit) + for (let i5 = 0, start = 0; i5 < strLen; ++i5) { + if (str[i5] === "\n") { + if (i5 - start > limit) return true; - start = i2 + 1; + start = i5 + 1; if (strLen - start <= limit) return false; } @@ -29300,22 +29303,22 @@ var require_stringifyString = __commonJS({ return json; const { implicitKey } = ctx; const minMultiLineLength = ctx.options.doubleQuotedMinMultiLineLength; - const indent = ctx.indent || (containsDocumentMarker(value) ? " " : ""); + const indent3 = ctx.indent || (containsDocumentMarker(value) ? " " : ""); let str = ""; let start = 0; - for (let i2 = 0, ch = json[i2]; ch; ch = json[++i2]) { - if (ch === " " && json[i2 + 1] === "\\" && json[i2 + 2] === "n") { - str += json.slice(start, i2) + "\\ "; - i2 += 1; - start = i2; - ch = "\\"; - } - if (ch === "\\") - switch (json[i2 + 1]) { + for (let i5 = 0, ch2 = json[i5]; ch2; ch2 = json[++i5]) { + if (ch2 === " " && json[i5 + 1] === "\\" && json[i5 + 2] === "n") { + str += json.slice(start, i5) + "\\ "; + i5 += 1; + start = i5; + ch2 = "\\"; + } + if (ch2 === "\\") + switch (json[i5 + 1]) { case "u": { - str += json.slice(start, i2); - const code = json.substr(i2 + 2, 4); + str += json.slice(start, i5); + const code = json.substr(i5 + 2, 4); switch (code) { case "0000": str += "\\0"; @@ -29345,59 +29348,59 @@ var require_stringifyString = __commonJS({ if (code.substr(0, 2) === "00") str += "\\x" + code.substr(2); else - str += json.substr(i2, 6); + str += json.substr(i5, 6); } - i2 += 5; - start = i2 + 1; + i5 += 5; + start = i5 + 1; } break; case "n": - if (implicitKey || json[i2 + 2] === '"' || json.length < minMultiLineLength) { - i2 += 1; + if (implicitKey || json[i5 + 2] === '"' || json.length < minMultiLineLength) { + i5 += 1; } else { - str += json.slice(start, i2) + "\n\n"; - while (json[i2 + 2] === "\\" && json[i2 + 3] === "n" && json[i2 + 4] !== '"') { + str += json.slice(start, i5) + "\n\n"; + while (json[i5 + 2] === "\\" && json[i5 + 3] === "n" && json[i5 + 4] !== '"') { str += "\n"; - i2 += 2; + i5 += 2; } - str += indent; - if (json[i2 + 2] === " ") + str += indent3; + if (json[i5 + 2] === " ") str += "\\"; - i2 += 1; - start = i2 + 1; + i5 += 1; + start = i5 + 1; } break; default: - i2 += 1; + i5 += 1; } } str = start ? str + json.slice(start) : json; - return implicitKey ? str : foldFlowLines.foldFlowLines(str, indent, foldFlowLines.FOLD_QUOTED, getFoldOptions(ctx, false)); + return implicitKey ? str : foldFlowLines.foldFlowLines(str, indent3, foldFlowLines.FOLD_QUOTED, getFoldOptions(ctx, false)); } function singleQuotedString(value, ctx) { if (ctx.options.singleQuote === false || ctx.implicitKey && value.includes("\n") || /[ \t]\n|\n[ \t]/.test(value)) return doubleQuotedString(value, ctx); - const indent = ctx.indent || (containsDocumentMarker(value) ? " " : ""); + const indent3 = ctx.indent || (containsDocumentMarker(value) ? " " : ""); const res = "'" + value.replace(/'/g, "''").replace(/\n+/g, `$& -${indent}`) + "'"; - return ctx.implicitKey ? res : foldFlowLines.foldFlowLines(res, indent, foldFlowLines.FOLD_FLOW, getFoldOptions(ctx, false)); +${indent3}`) + "'"; + return ctx.implicitKey ? res : foldFlowLines.foldFlowLines(res, indent3, foldFlowLines.FOLD_FLOW, getFoldOptions(ctx, false)); } function quotedString(value, ctx) { const { singleQuote } = ctx.options; - let qs; + let qs9; if (singleQuote === false) - qs = doubleQuotedString; + qs9 = doubleQuotedString; else { const hasDouble = value.includes('"'); const hasSingle = value.includes("'"); if (hasDouble && !hasSingle) - qs = singleQuotedString; + qs9 = singleQuotedString; else if (hasSingle && !hasDouble) - qs = doubleQuotedString; + qs9 = doubleQuotedString; else - qs = singleQuote ? singleQuotedString : doubleQuotedString; + qs9 = singleQuote ? singleQuotedString : doubleQuotedString; } - return qs(value, ctx); + return qs9(value, ctx); } var blockEndNewlines; try { @@ -29410,15 +29413,15 @@ ${indent}`) + "'"; if (!blockQuote || /\n[\t ]+$/.test(value)) { return quotedString(value, ctx); } - const indent = ctx.indent || (ctx.forceBlockIndent || containsDocumentMarker(value) ? " " : ""); - const literal = blockQuote === "literal" ? true : blockQuote === "folded" || type === Scalar.Scalar.BLOCK_FOLDED ? false : type === Scalar.Scalar.BLOCK_LITERAL ? true : !lineLengthOverLimit(value, lineWidth, indent.length); + const indent3 = ctx.indent || (ctx.forceBlockIndent || containsDocumentMarker(value) ? " " : ""); + const literal2 = blockQuote === "literal" ? true : blockQuote === "folded" || type === Scalar.Scalar.BLOCK_FOLDED ? false : type === Scalar.Scalar.BLOCK_LITERAL ? true : !lineLengthOverLimit(value, lineWidth, indent3.length); if (!value) - return literal ? "|\n" : ">\n"; + return literal2 ? "|\n" : ">\n"; let chomp; let endStart; for (endStart = value.length; endStart > 0; --endStart) { - const ch = value[endStart - 1]; - if (ch !== "\n" && ch !== " " && ch !== " ") + const ch2 = value[endStart - 1]; + if (ch2 !== "\n" && ch2 !== " " && ch2 !== " ") break; } let end = value.substring(endStart); @@ -29436,16 +29439,16 @@ ${indent}`) + "'"; value = value.slice(0, -end.length); if (end[end.length - 1] === "\n") end = end.slice(0, -1); - end = end.replace(blockEndNewlines, `$&${indent}`); + end = end.replace(blockEndNewlines, `$&${indent3}`); } let startWithSpace = false; let startEnd; let startNlPos = -1; for (startEnd = 0; startEnd < value.length; ++startEnd) { - const ch = value[startEnd]; - if (ch === " ") + const ch2 = value[startEnd]; + if (ch2 === " ") startWithSpace = true; - else if (ch === "\n") + else if (ch2 === "\n") startNlPos = startEnd; else break; @@ -29453,17 +29456,17 @@ ${indent}`) + "'"; let start = value.substring(0, startNlPos < startEnd ? startNlPos + 1 : startEnd); if (start) { value = value.substring(start.length); - start = start.replace(/\n+/g, `$&${indent}`); + start = start.replace(/\n+/g, `$&${indent3}`); } - const indentSize = indent ? "2" : "1"; + const indentSize = indent3 ? "2" : "1"; let header = (startWithSpace ? indentSize : "") + chomp; if (comment2) { header += " " + commentString(comment2.replace(/ ?[\r\n]+/g, " ")); if (onComment) onComment(); } - if (!literal) { - const foldedValue = value.replace(/\n+/g, "\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g, "$1$2").replace(/\n+/g, `$&${indent}`); + if (!literal2) { + const foldedValue = value.replace(/\n+/g, "\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g, "$1$2").replace(/\n+/g, `$&${indent3}`); let literalFallback = false; const foldOptions = getFoldOptions(ctx, true); if (blockQuote !== "folded" && type !== Scalar.Scalar.BLOCK_FOLDED) { @@ -29471,18 +29474,18 @@ ${indent}`) + "'"; literalFallback = true; }; } - const body = foldFlowLines.foldFlowLines(`${start}${foldedValue}${end}`, indent, foldFlowLines.FOLD_BLOCK, foldOptions); + const body = foldFlowLines.foldFlowLines(`${start}${foldedValue}${end}`, indent3, foldFlowLines.FOLD_BLOCK, foldOptions); if (!literalFallback) return `>${header} -${indent}${body}`; +${indent3}${body}`; } - value = value.replace(/\n+/g, `$&${indent}`); + value = value.replace(/\n+/g, `$&${indent3}`); return `|${header} -${indent}${start}${value}${end}`; +${indent3}${start}${value}${end}`; } function plainString(item, ctx, onComment, onChompKeep) { const { type, value } = item; - const { actualString, implicitKey, indent, indentStep, inFlow } = ctx; + const { actualString, implicitKey, indent: indent3, indentStep, inFlow } = ctx; if (implicitKey && value.includes("\n") || inFlow && /[[\]{},]/.test(value)) { return quotedString(value, ctx); } @@ -29493,42 +29496,42 @@ ${indent}${start}${value}${end}`; return blockString(item, ctx, onComment, onChompKeep); } if (containsDocumentMarker(value)) { - if (indent === "") { + if (indent3 === "") { ctx.forceBlockIndent = true; return blockString(item, ctx, onComment, onChompKeep); - } else if (implicitKey && indent === indentStep) { + } else if (implicitKey && indent3 === indentStep) { return quotedString(value, ctx); } } const str = value.replace(/\n+/g, `$& -${indent}`); +${indent3}`); if (actualString) { const test = (tag2) => tag2.default && tag2.tag !== "tag:yaml.org,2002:str" && tag2.test?.test(str); const { compat, tags } = ctx.doc.schema; if (tags.some(test) || compat?.some(test)) return quotedString(value, ctx); } - return implicitKey ? str : foldFlowLines.foldFlowLines(str, indent, foldFlowLines.FOLD_FLOW, getFoldOptions(ctx, false)); + return implicitKey ? str : foldFlowLines.foldFlowLines(str, indent3, foldFlowLines.FOLD_FLOW, getFoldOptions(ctx, false)); } function stringifyString(item, ctx, onComment, onChompKeep) { const { implicitKey, inFlow } = ctx; - const ss = typeof item.value === "string" ? item : Object.assign({}, item, { value: String(item.value) }); + const ss9 = typeof item.value === "string" ? item : Object.assign({}, item, { value: String(item.value) }); let { type } = item; if (type !== Scalar.Scalar.QUOTE_DOUBLE) { - if (/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(ss.value)) + if (/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(ss9.value)) type = Scalar.Scalar.QUOTE_DOUBLE; } const _stringify = (_type) => { switch (_type) { case Scalar.Scalar.BLOCK_FOLDED: case Scalar.Scalar.BLOCK_LITERAL: - return implicitKey || inFlow ? quotedString(ss.value, ctx) : blockString(ss, ctx, onComment, onChompKeep); + return implicitKey || inFlow ? quotedString(ss9.value, ctx) : blockString(ss9, ctx, onComment, onChompKeep); case Scalar.Scalar.QUOTE_DOUBLE: - return doubleQuotedString(ss.value, ctx); + return doubleQuotedString(ss9.value, ctx); case Scalar.Scalar.QUOTE_SINGLE: - return singleQuotedString(ss.value, ctx); + return singleQuotedString(ss9.value, ctx); case Scalar.Scalar.PLAIN: - return plainString(ss, ctx, onComment, onChompKeep); + return plainString(ss9, ctx, onComment, onChompKeep); default: return null; } @@ -29536,10 +29539,10 @@ ${indent}`); let res = _stringify(type); if (res === null) { const { defaultKeyType, defaultStringType } = ctx.options; - const t = implicitKey && defaultKeyType || defaultStringType; - res = _stringify(t); + const t26 = implicitKey && defaultKeyType || defaultStringType; + res = _stringify(t26); if (res === null) - throw new Error(`Unsupported default string type ${t}`); + throw new Error(`Unsupported default string type ${t26}`); } return res; } @@ -29555,7 +29558,7 @@ var require_stringify = __commonJS({ var identity = require_identity(); var stringifyComment = require_stringifyComment(); var stringifyString = require_stringifyString(); - function createStringifyContext(doc, options) { + function createStringifyContext(doc, options8) { const opt = Object.assign({ blockQuote: true, commentString: stringifyComment.stringifyComment, @@ -29575,7 +29578,7 @@ var require_stringify = __commonJS({ trailingComma: false, trueStr: "true", verifyAliasOrder: true - }, doc.schema.toStringOptions, options); + }, doc.schema.toStringOptions, options8); let inFlow; switch (opt.collectionStyle) { case "block": @@ -29599,24 +29602,24 @@ var require_stringify = __commonJS({ } function getTagObject(tags, item) { if (item.tag) { - const match = tags.filter((t) => t.tag === item.tag); + const match = tags.filter((t26) => t26.tag === item.tag); if (match.length > 0) - return match.find((t) => t.format === item.format) ?? match[0]; + return match.find((t26) => t26.format === item.format) ?? match[0]; } let tagObj = void 0; let obj; if (identity.isScalar(item)) { obj = item.value; - let match = tags.filter((t) => t.identify?.(obj)); + let match = tags.filter((t26) => t26.identify?.(obj)); if (match.length > 1) { - const testMatch = match.filter((t) => t.test); + const testMatch = match.filter((t26) => t26.test); if (testMatch.length > 0) match = testMatch; } - tagObj = match.find((t) => t.format === item.format) ?? match.find((t) => !t.format); + tagObj = match.find((t26) => t26.format === item.format) ?? match.find((t26) => !t26.format); } else { obj = item; - tagObj = tags.find((t) => t.nodeClass && obj instanceof t.nodeClass); + tagObj = tags.find((t26) => t26.nodeClass && obj instanceof t26.nodeClass); } if (!tagObj) { const name = obj?.constructor?.name ?? (obj === null ? "null" : typeof obj); @@ -29655,7 +29658,7 @@ var require_stringify = __commonJS({ } } let tagObj = void 0; - const node2 = identity.isNode(item) ? item : ctx.doc.createNode(item, { onTagObj: (o) => tagObj = o }); + const node2 = identity.isNode(item) ? item : ctx.doc.createNode(item, { onTagObj: (o5) => tagObj = o5 }); tagObj ?? (tagObj = getTagObject(ctx.doc.schema.tags, node2)); const props = stringifyProps(node2, tagObj, ctx); if (props.length > 0) @@ -29679,27 +29682,27 @@ var require_stringifyPair = __commonJS({ var Scalar = require_Scalar(); var stringify = require_stringify(); var stringifyComment = require_stringifyComment(); - function stringifyPair({ key, value }, ctx, onComment, onChompKeep) { - const { allNullValues, doc, indent, indentStep, options: { commentString, indentSeq, simpleKeys } } = ctx; - let keyComment = identity.isNode(key) && key.comment || null; + function stringifyPair({ key: key2, value }, ctx, onComment, onChompKeep) { + const { allNullValues, doc, indent: indent3, indentStep, options: { commentString, indentSeq, simpleKeys } } = ctx; + let keyComment = identity.isNode(key2) && key2.comment || null; if (simpleKeys) { if (keyComment) { throw new Error("With simple keys, key nodes cannot have comments"); } - if (identity.isCollection(key) || !identity.isNode(key) && typeof key === "object") { + if (identity.isCollection(key2) || !identity.isNode(key2) && typeof key2 === "object") { const msg = "With simple keys, collection cannot be used as a key value"; throw new Error(msg); } } - let explicitKey = !simpleKeys && (!key || keyComment && value == null && !ctx.inFlow || identity.isCollection(key) || (identity.isScalar(key) ? key.type === Scalar.Scalar.BLOCK_FOLDED || key.type === Scalar.Scalar.BLOCK_LITERAL : typeof key === "object")); + let explicitKey = !simpleKeys && (!key2 || keyComment && value == null && !ctx.inFlow || identity.isCollection(key2) || (identity.isScalar(key2) ? key2.type === Scalar.Scalar.BLOCK_FOLDED || key2.type === Scalar.Scalar.BLOCK_LITERAL : typeof key2 === "object")); ctx = Object.assign({}, ctx, { allNullValues: false, implicitKey: !explicitKey && (simpleKeys || !allNullValues), - indent: indent + indentStep + indent: indent3 + indentStep }); let keyCommentDone = false; let chompKeep = false; - let str = stringify.stringify(key, ctx, () => keyCommentDone = true, () => chompKeep = true); + let str = stringify.stringify(key2, ctx, () => keyCommentDone = true, () => chompKeep = true); if (!explicitKey && !ctx.inFlow && str.length > 1024) { if (simpleKeys) throw new Error("With simple keys, single line scalar must not span more than 1024 characters"); @@ -29725,7 +29728,7 @@ var require_stringifyPair = __commonJS({ if (keyComment) str += stringifyComment.lineComment(str, ctx.indent, commentString(keyComment)); str = `? ${str} -${indent}:`; +${indent3}:`; } else { str = `${str}:`; if (keyComment) @@ -29752,29 +29755,29 @@ ${indent}:`; } let valueCommentDone = false; const valueStr = stringify.stringify(value, ctx, () => valueCommentDone = true, () => chompKeep = true); - let ws = " "; + let ws8 = " "; if (keyComment || vsb || vcb) { - ws = vsb ? "\n" : ""; + ws8 = vsb ? "\n" : ""; if (vcb) { - const cs = commentString(vcb); - ws += ` -${stringifyComment.indentComment(cs, ctx.indent)}`; + const cs7 = commentString(vcb); + ws8 += ` +${stringifyComment.indentComment(cs7, ctx.indent)}`; } if (valueStr === "" && !ctx.inFlow) { - if (ws === "\n" && valueComment) - ws = "\n\n"; + if (ws8 === "\n" && valueComment) + ws8 = "\n\n"; } else { - ws += ` + ws8 += ` ${ctx.indent}`; } } else if (!explicitKey && identity.isCollection(value)) { const vs0 = valueStr[0]; const nl0 = valueStr.indexOf("\n"); - const hasNewline = nl0 !== -1; + const hasNewline2 = nl0 !== -1; const flow = ctx.inFlow ?? value.flow ?? value.items.length === 0; - if (hasNewline || !flow) { + if (hasNewline2 || !flow) { let hasPropsLine = false; - if (hasNewline && (vs0 === "&" || vs0 === "!")) { + if (hasNewline2 && (vs0 === "&" || vs0 === "!")) { let sp0 = valueStr.indexOf(" "); if (vs0 === "&" && sp0 !== -1 && sp0 < nl0 && valueStr[sp0 + 1] === "!") { sp0 = valueStr.indexOf(" ", sp0 + 1); @@ -29783,13 +29786,13 @@ ${ctx.indent}`; hasPropsLine = true; } if (!hasPropsLine) - ws = ` + ws8 = ` ${ctx.indent}`; } } else if (valueStr === "" || valueStr[0] === "\n") { - ws = ""; + ws8 = ""; } - str += ws + valueStr; + str += ws8 + valueStr; if (ctx.inFlow) { if (valueCommentDone && onComment) onComment(); @@ -29809,9 +29812,9 @@ var require_log = __commonJS({ "node_modules/yaml/dist/log.js"(exports) { "use strict"; var node_process = __require("process"); - function debug2(logLevel, ...messages) { + function debug2(logLevel, ...messages2) { if (logLevel === "debug") - console.log(...messages); + console.log(...messages2); } function warn(logLevel, warning) { if (logLevel === "debug" || logLevel === "warn") { @@ -29843,31 +29846,31 @@ var require_merge = __commonJS({ }), stringify: () => MERGE_KEY }; - var isMergeKey = (ctx, key) => (merge2.identify(key) || identity.isScalar(key) && (!key.type || key.type === Scalar.Scalar.PLAIN) && merge2.identify(key.value)) && ctx?.doc.schema.tags.some((tag2) => tag2.tag === merge2.tag && tag2.default); + var isMergeKey = (ctx, key2) => (merge2.identify(key2) || identity.isScalar(key2) && (!key2.type || key2.type === Scalar.Scalar.PLAIN) && merge2.identify(key2.value)) && ctx?.doc.schema.tags.some((tag2) => tag2.tag === merge2.tag && tag2.default); function addMergeToJSMap(ctx, map2, value) { value = ctx && identity.isAlias(value) ? value.resolve(ctx.doc) : value; if (identity.isSeq(value)) - for (const it of value.items) - mergeValue(ctx, map2, it); + for (const it10 of value.items) + mergeValue(ctx, map2, it10); else if (Array.isArray(value)) - for (const it of value) - mergeValue(ctx, map2, it); + for (const it10 of value) + mergeValue(ctx, map2, it10); else mergeValue(ctx, map2, value); } function mergeValue(ctx, map2, value) { - const source = ctx && identity.isAlias(value) ? value.resolve(ctx.doc) : value; - if (!identity.isMap(source)) + const source2 = ctx && identity.isAlias(value) ? value.resolve(ctx.doc) : value; + if (!identity.isMap(source2)) throw new Error("Merge sources must be maps or map aliases"); - const srcMap = source.toJSON(null, ctx, Map); - for (const [key, value2] of srcMap) { + const srcMap = source2.toJSON(null, ctx, Map); + for (const [key2, value2] of srcMap) { if (map2 instanceof Map) { - if (!map2.has(key)) - map2.set(key, value2); + if (!map2.has(key2)) + map2.set(key2, value2); } else if (map2 instanceof Set) { - map2.add(key); - } else if (!Object.prototype.hasOwnProperty.call(map2, key)) { - Object.defineProperty(map2, key, { + map2.add(key2); + } else if (!Object.prototype.hasOwnProperty.call(map2, key2)) { + Object.defineProperty(map2, key2, { value: value2, writable: true, enumerable: true, @@ -29892,19 +29895,19 @@ var require_addPairToJSMap = __commonJS({ var stringify = require_stringify(); var identity = require_identity(); var toJS = require_toJS(); - function addPairToJSMap(ctx, map2, { key, value }) { - if (identity.isNode(key) && key.addToJSMap) - key.addToJSMap(ctx, map2, value); - else if (merge2.isMergeKey(ctx, key)) + function addPairToJSMap(ctx, map2, { key: key2, value }) { + if (identity.isNode(key2) && key2.addToJSMap) + key2.addToJSMap(ctx, map2, value); + else if (merge2.isMergeKey(ctx, key2)) merge2.addMergeToJSMap(ctx, map2, value); else { - const jsKey = toJS.toJS(key, "", ctx); + const jsKey = toJS.toJS(key2, "", ctx); if (map2 instanceof Map) { map2.set(jsKey, toJS.toJS(value, jsKey, ctx)); } else if (map2 instanceof Set) { map2.add(jsKey); } else { - const stringKey = stringifyKey(key, jsKey, ctx); + const stringKey = stringifyKey(key2, jsKey, ctx); const jsValue = toJS.toJS(value, stringKey, ctx); if (stringKey in map2) Object.defineProperty(map2, stringKey, { @@ -29919,19 +29922,19 @@ var require_addPairToJSMap = __commonJS({ } return map2; } - function stringifyKey(key, jsKey, ctx) { + function stringifyKey(key2, jsKey, ctx) { if (jsKey === null) return ""; if (typeof jsKey !== "object") return String(jsKey); - if (identity.isNode(key) && ctx?.doc) { + if (identity.isNode(key2) && ctx?.doc) { const strCtx = stringify.createStringifyContext(ctx.doc, {}); strCtx.anchors = /* @__PURE__ */ new Set(); for (const node2 of ctx.anchors.keys()) strCtx.anchors.add(node2.anchor); strCtx.inFlow = true; strCtx.inStringifyKey = true; - const strKey = key.toString(strCtx); + const strKey = key2.toString(strCtx); if (!ctx.mapKeyWarned) { let jsonStr = JSON.stringify(strKey); if (jsonStr.length > 40) @@ -29955,26 +29958,26 @@ var require_Pair = __commonJS({ var stringifyPair = require_stringifyPair(); var addPairToJSMap = require_addPairToJSMap(); var identity = require_identity(); - function createPair(key, value, ctx) { - const k = createNode.createNode(key, void 0, ctx); - const v = createNode.createNode(value, void 0, ctx); - return new Pair(k, v); + function createPair(key2, value, ctx) { + const k8 = createNode.createNode(key2, void 0, ctx); + const v9 = createNode.createNode(value, void 0, ctx); + return new Pair(k8, v9); } var Pair = class _Pair { - constructor(key, value = null) { + constructor(key2, value = null) { Object.defineProperty(this, identity.NODE_TYPE, { value: identity.PAIR }); - this.key = key; + this.key = key2; this.value = value; } clone(schema) { - let { key, value } = this; - if (identity.isNode(key)) - key = key.clone(schema); + let { key: key2, value } = this; + if (identity.isNode(key2)) + key2 = key2.clone(schema); if (identity.isNode(value)) value = value.clone(schema); - return new _Pair(key, value); + return new _Pair(key2, value); } - toJSON(_, ctx) { + toJSON(_9, ctx) { const pair = ctx?.mapAsMap ? /* @__PURE__ */ new Map() : {}; return addPairToJSMap.addPairToJSMap(ctx, pair, this); } @@ -29994,18 +29997,18 @@ var require_stringifyCollection = __commonJS({ var identity = require_identity(); var stringify = require_stringify(); var stringifyComment = require_stringifyComment(); - function stringifyCollection(collection, ctx, options) { + function stringifyCollection(collection, ctx, options8) { const flow = ctx.inFlow ?? collection.flow; const stringify2 = flow ? stringifyFlowCollection : stringifyBlockCollection; - return stringify2(collection, ctx, options); + return stringify2(collection, ctx, options8); } function stringifyBlockCollection({ comment: comment2, items }, ctx, { blockItemPrefix, flowChars, itemIndent, onChompKeep, onComment }) { - const { indent, options: { commentString } } = ctx; + const { indent: indent3, options: { commentString } } = ctx; const itemCtx = Object.assign({}, ctx, { indent: itemIndent, type: null }); let chompKeep = false; const lines = []; - for (let i2 = 0; i2 < items.length; ++i2) { - const item = items[i2]; + for (let i5 = 0; i5 < items.length; ++i5) { + const item = items[i5]; let comment3 = null; if (identity.isNode(item)) { if (!chompKeep && item.spaceBefore) @@ -30034,14 +30037,14 @@ var require_stringifyCollection = __commonJS({ str = flowChars.start + flowChars.end; } else { str = lines[0]; - for (let i2 = 1; i2 < lines.length; ++i2) { - const line = lines[i2]; - str += line ? ` -${indent}${line}` : "\n"; + for (let i5 = 1; i5 < lines.length; ++i5) { + const line3 = lines[i5]; + str += line3 ? ` +${indent3}${line3}` : "\n"; } } if (comment2) { - str += "\n" + stringifyComment.indentComment(commentString(comment2), indent); + str += "\n" + stringifyComment.indentComment(commentString(comment2), indent3); if (onComment) onComment(); } else if (chompKeep && onChompKeep) @@ -30049,7 +30052,7 @@ ${indent}${line}` : "\n"; return str; } function stringifyFlowCollection({ items }, ctx, { flowChars, itemIndent }) { - const { indent, indentStep, flowCollectionPadding: fcPadding, options: { commentString } } = ctx; + const { indent: indent3, indentStep, flowCollectionPadding: fcPadding, options: { commentString } } = ctx; itemIndent += indentStep; const itemCtx = Object.assign({}, ctx, { indent: itemIndent, @@ -30059,8 +30062,8 @@ ${indent}${line}` : "\n"; let reqNewline = false; let linesAtValue = 0; const lines = []; - for (let i2 = 0; i2 < items.length; ++i2) { - const item = items[i2]; + for (let i5 = 0; i5 < items.length; ++i5) { + const item = items[i5]; let comment2 = null; if (identity.isNode(item)) { if (item.spaceBefore) @@ -30091,11 +30094,11 @@ ${indent}${line}` : "\n"; reqNewline = true; let str = stringify.stringify(item, itemCtx, () => comment2 = null); reqNewline || (reqNewline = lines.length > linesAtValue || str.includes("\n")); - if (i2 < items.length - 1) { + if (i5 < items.length - 1) { str += ","; } else if (ctx.options.trailingComma) { if (ctx.options.lineWidth > 0) { - reqNewline || (reqNewline = lines.reduce((sum, line) => sum + line.length + 2, 2) + (str.length + 2) > ctx.options.lineWidth); + reqNewline || (reqNewline = lines.reduce((sum, line3) => sum + line3.length + 2, 2) + (str.length + 2) > ctx.options.lineWidth); } if (reqNewline) { str += ","; @@ -30111,27 +30114,27 @@ ${indent}${line}` : "\n"; return start + end; } else { if (!reqNewline) { - const len = lines.reduce((sum, line) => sum + line.length + 2, 2); + const len = lines.reduce((sum, line3) => sum + line3.length + 2, 2); reqNewline = ctx.options.lineWidth > 0 && len > ctx.options.lineWidth; } if (reqNewline) { let str = start; - for (const line of lines) - str += line ? ` -${indentStep}${indent}${line}` : "\n"; + for (const line3 of lines) + str += line3 ? ` +${indentStep}${indent3}${line3}` : "\n"; return `${str} -${indent}${end}`; +${indent3}${end}`; } else { return `${start}${fcPadding}${lines.join(" ")}${fcPadding}${end}`; } } } - function addCommentBefore({ indent, options: { commentString } }, lines, comment2, chompKeep) { + function addCommentBefore({ indent: indent3, options: { commentString } }, lines, comment2, chompKeep) { if (comment2 && chompKeep) comment2 = comment2.replace(/^\n+/, ""); if (comment2) { - const ic = stringifyComment.indentComment(commentString(comment2), indent); - lines.push(ic.trimStart()); + const ic3 = stringifyComment.indentComment(commentString(comment2), indent3); + lines.push(ic3.trimStart()); } } exports.stringifyCollection = stringifyCollection; @@ -30148,14 +30151,14 @@ var require_YAMLMap = __commonJS({ var identity = require_identity(); var Pair = require_Pair(); var Scalar = require_Scalar(); - function findPair(items, key) { - const k = identity.isScalar(key) ? key.value : key; - for (const it of items) { - if (identity.isPair(it)) { - if (it.key === key || it.key === k) - return it; - if (identity.isScalar(it.key) && it.key.value === k) - return it; + function findPair(items, key2) { + const k8 = identity.isScalar(key2) ? key2.value : key2; + for (const it10 of items) { + if (identity.isPair(it10)) { + if (it10.key === key2 || it10.key === k8) + return it10; + if (identity.isScalar(it10.key) && it10.key.value === k8) + return it10; } } return void 0; @@ -30175,20 +30178,20 @@ var require_YAMLMap = __commonJS({ static from(schema, obj, ctx) { const { keepUndefined, replacer } = ctx; const map2 = new this(schema); - const add = (key, value) => { + const add = (key2, value) => { if (typeof replacer === "function") - value = replacer.call(obj, key, value); - else if (Array.isArray(replacer) && !replacer.includes(key)) + value = replacer.call(obj, key2, value); + else if (Array.isArray(replacer) && !replacer.includes(key2)) return; if (value !== void 0 || keepUndefined) - map2.items.push(Pair.createPair(key, value, ctx)); + map2.items.push(Pair.createPair(key2, value, ctx)); }; if (obj instanceof Map) { - for (const [key, value] of obj) - add(key, value); + for (const [key2, value] of obj) + add(key2, value); } else if (obj && typeof obj === "object") { - for (const key of Object.keys(obj)) - add(key, obj[key]); + for (const key2 of Object.keys(obj)) + add(key2, obj[key2]); } if (typeof schema.sortMapEntries === "function") { map2.items.sort(schema.sortMapEntries); @@ -30219,39 +30222,39 @@ var require_YAMLMap = __commonJS({ else prev2.value = _pair.value; } else if (sortEntries) { - const i2 = this.items.findIndex((item) => sortEntries(_pair, item) < 0); - if (i2 === -1) + const i5 = this.items.findIndex((item) => sortEntries(_pair, item) < 0); + if (i5 === -1) this.items.push(_pair); else - this.items.splice(i2, 0, _pair); + this.items.splice(i5, 0, _pair); } else { this.items.push(_pair); } } - delete(key) { - const it = findPair(this.items, key); - if (!it) + delete(key2) { + const it10 = findPair(this.items, key2); + if (!it10) return false; - const del = this.items.splice(this.items.indexOf(it), 1); + const del = this.items.splice(this.items.indexOf(it10), 1); return del.length > 0; } - get(key, keepScalar) { - const it = findPair(this.items, key); - const node2 = it?.value; + get(key2, keepScalar) { + const it10 = findPair(this.items, key2); + const node2 = it10?.value; return (!keepScalar && identity.isScalar(node2) ? node2.value : node2) ?? void 0; } - has(key) { - return !!findPair(this.items, key); + has(key2) { + return !!findPair(this.items, key2); } - set(key, value) { - this.add(new Pair.Pair(key, value), true); + set(key2, value) { + this.add(new Pair.Pair(key2, value), true); } /** * @param ctx - Conversion context, originally set in Document#toJS() * @param {Class} Type - If set, forces the returned collection type * @returns Instance of Type, Map, or Object */ - toJSON(_, ctx, Type) { + toJSON(_9, ctx, Type) { const map2 = Type ? new Type() : ctx?.mapAsMap ? /* @__PURE__ */ new Map() : {}; if (ctx?.onCreate) ctx.onCreate(map2); @@ -30333,19 +30336,19 @@ var require_YAMLSeq = __commonJS({ * * @returns `true` if the item was found and removed. */ - delete(key) { - const idx = asItemIndex(key); + delete(key2) { + const idx = asItemIndex(key2); if (typeof idx !== "number") return false; const del = this.items.splice(idx, 1); return del.length > 0; } - get(key, keepScalar) { - const idx = asItemIndex(key); + get(key2, keepScalar) { + const idx = asItemIndex(key2); if (typeof idx !== "number") return void 0; - const it = this.items[idx]; - return !keepScalar && identity.isScalar(it) ? it.value : it; + const it10 = this.items[idx]; + return !keepScalar && identity.isScalar(it10) ? it10.value : it10; } /** * Checks if the collection includes a value with the key `key`. @@ -30353,8 +30356,8 @@ var require_YAMLSeq = __commonJS({ * `key` must contain a representation of an integer for this to succeed. * It may be wrapped in a `Scalar`. */ - has(key) { - const idx = asItemIndex(key); + has(key2) { + const idx = asItemIndex(key2); return typeof idx === "number" && idx < this.items.length; } /** @@ -30364,23 +30367,23 @@ var require_YAMLSeq = __commonJS({ * If `key` does not contain a representation of an integer, this will throw. * It may be wrapped in a `Scalar`. */ - set(key, value) { - const idx = asItemIndex(key); + set(key2, value) { + const idx = asItemIndex(key2); if (typeof idx !== "number") - throw new Error(`Expected a valid index, not ${key}.`); + throw new Error(`Expected a valid index, not ${key2}.`); const prev2 = this.items[idx]; if (identity.isScalar(prev2) && Scalar.isScalarValue(value)) prev2.value = value; else this.items[idx] = value; } - toJSON(_, ctx) { + toJSON(_9, ctx) { const seq = []; if (ctx?.onCreate) ctx.onCreate(seq); - let i2 = 0; + let i5 = 0; for (const item of this.items) - seq.push(toJS.toJS(item, String(i2++), ctx)); + seq.push(toJS.toJS(item, String(i5++), ctx)); return seq; } toString(ctx, onComment, onChompKeep) { @@ -30398,20 +30401,20 @@ var require_YAMLSeq = __commonJS({ const { replacer } = ctx; const seq = new this(schema); if (obj && Symbol.iterator in Object(obj)) { - let i2 = 0; - for (let it of obj) { + let i5 = 0; + for (let it10 of obj) { if (typeof replacer === "function") { - const key = obj instanceof Set ? it : String(i2++); - it = replacer.call(obj, key, it); + const key2 = obj instanceof Set ? it10 : String(i5++); + it10 = replacer.call(obj, key2, it10); } - seq.items.push(createNode.createNode(it, void 0, ctx)); + seq.items.push(createNode.createNode(it10, void 0, ctx)); } } return seq; } }; - function asItemIndex(key) { - let idx = identity.isScalar(key) ? key.value : key; + function asItemIndex(key2) { + let idx = identity.isScalar(key2) ? key2.value : key2; if (idx && typeof idx === "string") idx = Number(idx); return typeof idx === "number" && Number.isInteger(idx) && idx >= 0 ? idx : null; @@ -30473,7 +30476,7 @@ var require_null = __commonJS({ tag: "tag:yaml.org,2002:null", test: /^(?:~|[Nn]ull|NULL)?$/, resolve: () => new Scalar.Scalar(null), - stringify: ({ source }, ctx) => typeof source === "string" && nullTag.test.test(source) ? source : ctx.options.nullStr + stringify: ({ source: source2 }, ctx) => typeof source2 === "string" && nullTag.test.test(source2) ? source2 : ctx.options.nullStr }; exports.nullTag = nullTag; } @@ -30490,11 +30493,11 @@ var require_bool = __commonJS({ tag: "tag:yaml.org,2002:bool", test: /^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/, resolve: (str) => new Scalar.Scalar(str[0] === "t" || str[0] === "T"), - stringify({ source, value }, ctx) { - if (source && boolTag.test.test(source)) { - const sv = source[0] === "t" || source[0] === "T"; - if (value === sv) - return source; + stringify({ source: source2, value }, ctx) { + if (source2 && boolTag.test.test(source2)) { + const sv2 = source2[0] === "t" || source2[0] === "T"; + if (value === sv2) + return source2; } return value ? ctx.options.trueStr : ctx.options.falseStr; } @@ -30507,24 +30510,24 @@ var require_bool = __commonJS({ var require_stringifyNumber = __commonJS({ "node_modules/yaml/dist/stringify/stringifyNumber.js"(exports) { "use strict"; - function stringifyNumber({ format: format2, minFractionDigits, tag: tag2, value }) { + function stringifyNumber({ format: format3, minFractionDigits, tag: tag2, value }) { if (typeof value === "bigint") return String(value); const num = typeof value === "number" ? value : Number(value); if (!isFinite(num)) return isNaN(num) ? ".nan" : num < 0 ? "-.inf" : ".inf"; - let n2 = Object.is(value, -0) ? "-0" : JSON.stringify(value); - if (!format2 && minFractionDigits && (!tag2 || tag2 === "tag:yaml.org,2002:float") && /^\d/.test(n2)) { - let i2 = n2.indexOf("."); - if (i2 < 0) { - i2 = n2.length; - n2 += "."; + let n5 = Object.is(value, -0) ? "-0" : JSON.stringify(value); + if (!format3 && minFractionDigits && (!tag2 || tag2 === "tag:yaml.org,2002:float") && /^\d/.test(n5)) { + let i5 = n5.indexOf("."); + if (i5 < 0) { + i5 = n5.length; + n5 += "."; } - let d = minFractionDigits - (n2.length - i2 - 1); - while (d-- > 0) - n2 += "0"; + let d5 = minFractionDigits - (n5.length - i5 - 1); + while (d5-- > 0) + n5 += "0"; } - return n2; + return n5; } exports.stringifyNumber = stringifyNumber; } @@ -30741,10 +30744,10 @@ var require_binary = __commonJS({ return node_buffer.Buffer.from(src, "base64"); } else if (typeof atob === "function") { const str = atob(src.replace(/[\n\r]/g, "")); - const buffer = new Uint8Array(str.length); - for (let i2 = 0; i2 < str.length; ++i2) - buffer[i2] = str.charCodeAt(i2); - return buffer; + const buffer2 = new Uint8Array(str.length); + for (let i5 = 0; i5 < str.length; ++i5) + buffer2[i5] = str.charCodeAt(i5); + return buffer2; } else { onError("This environment does not support reading binary tags; either Buffer or atob is required"); return src; @@ -30758,20 +30761,20 @@ var require_binary = __commonJS({ if (typeof node_buffer.Buffer === "function") { str = buf instanceof node_buffer.Buffer ? buf.toString("base64") : node_buffer.Buffer.from(buf.buffer).toString("base64"); } else if (typeof btoa === "function") { - let s = ""; - for (let i2 = 0; i2 < buf.length; ++i2) - s += String.fromCharCode(buf[i2]); - str = btoa(s); + let s5 = ""; + for (let i5 = 0; i5 < buf.length; ++i5) + s5 += String.fromCharCode(buf[i5]); + str = btoa(s5); } else { throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required"); } type ?? (type = Scalar.Scalar.BLOCK_LITERAL); if (type !== Scalar.Scalar.QUOTE_DOUBLE) { const lineWidth = Math.max(ctx.options.lineWidth - ctx.indent.length, ctx.options.minContentWidth); - const n2 = Math.ceil(str.length / lineWidth); - const lines = new Array(n2); - for (let i2 = 0, o = 0; i2 < n2; ++i2, o += lineWidth) { - lines[i2] = str.substr(o, lineWidth); + const n5 = Math.ceil(str.length / lineWidth); + const lines = new Array(n5); + for (let i5 = 0, o5 = 0; i5 < n5; ++i5, o5 += lineWidth) { + lines[i5] = str.substr(o5, lineWidth); } str = lines.join(type === Scalar.Scalar.BLOCK_LITERAL ? "\n" : " "); } @@ -30792,8 +30795,8 @@ var require_pairs = __commonJS({ var YAMLSeq = require_YAMLSeq(); function resolvePairs(seq, onError) { if (identity.isSeq(seq)) { - for (let i2 = 0; i2 < seq.items.length; ++i2) { - let item = seq.items[i2]; + for (let i5 = 0; i5 < seq.items.length; ++i5) { + let item = seq.items[i5]; if (identity.isPair(item)) continue; else if (identity.isMap(item)) { @@ -30804,13 +30807,13 @@ var require_pairs = __commonJS({ pair.key.commentBefore = pair.key.commentBefore ? `${item.commentBefore} ${pair.key.commentBefore}` : item.commentBefore; if (item.comment) { - const cn = pair.value ?? pair.key; - cn.comment = cn.comment ? `${item.comment} -${cn.comment}` : item.comment; + const cn9 = pair.value ?? pair.key; + cn9.comment = cn9.comment ? `${item.comment} +${cn9.comment}` : item.comment; } item = pair; } - seq.items[i2] = identity.isPair(item) ? item : new Pair.Pair(item); + seq.items[i5] = identity.isPair(item) ? item : new Pair.Pair(item); } } else onError("Expected a sequence for this tag"); @@ -30820,30 +30823,30 @@ ${cn.comment}` : item.comment; const { replacer } = ctx; const pairs2 = new YAMLSeq.YAMLSeq(schema); pairs2.tag = "tag:yaml.org,2002:pairs"; - let i2 = 0; + let i5 = 0; if (iterable && Symbol.iterator in Object(iterable)) - for (let it of iterable) { + for (let it10 of iterable) { if (typeof replacer === "function") - it = replacer.call(iterable, String(i2++), it); - let key, value; - if (Array.isArray(it)) { - if (it.length === 2) { - key = it[0]; - value = it[1]; + it10 = replacer.call(iterable, String(i5++), it10); + let key2, value; + if (Array.isArray(it10)) { + if (it10.length === 2) { + key2 = it10[0]; + value = it10[1]; } else - throw new TypeError(`Expected [key, value] tuple: ${it}`); - } else if (it && it instanceof Object) { - const keys = Object.keys(it); + throw new TypeError(`Expected [key, value] tuple: ${it10}`); + } else if (it10 && it10 instanceof Object) { + const keys = Object.keys(it10); if (keys.length === 1) { - key = keys[0]; - value = it[key]; + key2 = keys[0]; + value = it10[key2]; } else { throw new TypeError(`Expected tuple with one key, not ${keys.length} keys`); } } else { - key = it; + key2 = it10; } - pairs2.items.push(Pair.createPair(key, value, ctx)); + pairs2.items.push(Pair.createPair(key2, value, ctx)); } return pairs2; } @@ -30883,23 +30886,23 @@ var require_omap = __commonJS({ * If `ctx` is given, the return type is actually `Map`, * but TypeScript won't allow widening the signature of a child method. */ - toJSON(_, ctx) { + toJSON(_9, ctx) { if (!ctx) - return super.toJSON(_); + return super.toJSON(_9); const map2 = /* @__PURE__ */ new Map(); if (ctx?.onCreate) ctx.onCreate(map2); for (const pair of this.items) { - let key, value; + let key2, value; if (identity.isPair(pair)) { - key = toJS.toJS(pair.key, "", ctx); - value = toJS.toJS(pair.value, key, ctx); + key2 = toJS.toJS(pair.key, "", ctx); + value = toJS.toJS(pair.value, key2, ctx); } else { - key = toJS.toJS(pair, "", ctx); + key2 = toJS.toJS(pair, "", ctx); } - if (map2.has(key)) + if (map2.has(key2)) throw new Error("Ordered maps must not include duplicate keys"); - map2.set(key, value); + map2.set(key2, value); } return map2; } @@ -30920,12 +30923,12 @@ var require_omap = __commonJS({ resolve(seq, onError) { const pairs$1 = pairs.resolvePairs(seq, onError); const seenKeys = []; - for (const { key } of pairs$1.items) { - if (identity.isScalar(key)) { - if (seenKeys.includes(key.value)) { - onError(`Ordered maps must not include duplicate keys: ${key.value}`); + for (const { key: key2 } of pairs$1.items) { + if (identity.isScalar(key2)) { + if (seenKeys.includes(key2.value)) { + onError(`Ordered maps must not include duplicate keys: ${key2.value}`); } else { - seenKeys.push(key.value); + seenKeys.push(key2.value); } } } @@ -30943,10 +30946,10 @@ var require_bool2 = __commonJS({ "node_modules/yaml/dist/schema/yaml-1.1/bool.js"(exports) { "use strict"; var Scalar = require_Scalar(); - function boolStringify({ value, source }, ctx) { + function boolStringify({ value, source: source2 }, ctx) { const boolObj = value ? trueTag : falseTag; - if (source && boolObj.test.test(source)) - return source; + if (source2 && boolObj.test.test(source2)) + return source2; return value ? ctx.options.trueStr : ctx.options.falseStr; } var trueTag = { @@ -31005,9 +31008,9 @@ var require_float2 = __commonJS({ const node2 = new Scalar.Scalar(parseFloat(str.replace(/_/g, ""))); const dot = str.indexOf("."); if (dot !== -1) { - const f = str.substring(dot + 1).replace(/_/g, ""); - if (f[f.length - 1] === "0") - node2.minFractionDigits = f.length; + const f7 = str.substring(dot + 1).replace(/_/g, ""); + if (f7[f7.length - 1] === "0") + node2.minFractionDigits = f7.length; } return node2; }, @@ -31026,8 +31029,8 @@ var require_int2 = __commonJS({ var stringifyNumber = require_stringifyNumber(); var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value); function intResolve(str, offset, radix, { intAsBigInt }) { - const sign = str[0]; - if (sign === "-" || sign === "+") + const sign2 = str[0]; + if (sign2 === "-" || sign2 === "+") offset += 1; str = str.substring(offset).replace(/_/g, ""); if (intAsBigInt) { @@ -31042,11 +31045,11 @@ var require_int2 = __commonJS({ str = `0x${str}`; break; } - const n3 = BigInt(str); - return sign === "-" ? BigInt(-1) * n3 : n3; + const n7 = BigInt(str); + return sign2 === "-" ? BigInt(-1) * n7 : n7; } - const n2 = parseInt(str, radix); - return sign === "-" ? -1 * n2 : n2; + const n5 = parseInt(str, radix); + return sign2 === "-" ? -1 * n5 : n5; } function intStringify(node2, radix, prefix) { const { value } = node2; @@ -31110,14 +31113,14 @@ var require_set = __commonJS({ super(schema); this.tag = _YAMLSet.tag; } - add(key) { + add(key2) { let pair; - if (identity.isPair(key)) - pair = key; - else if (key && typeof key === "object" && "key" in key && "value" in key && key.value === null) - pair = new Pair.Pair(key.key, null); + if (identity.isPair(key2)) + pair = key2; + else if (key2 && typeof key2 === "object" && "key" in key2 && "value" in key2 && key2.value === null) + pair = new Pair.Pair(key2.key, null); else - pair = new Pair.Pair(key, null); + pair = new Pair.Pair(key2, null); const prev2 = YAMLMap.findPair(this.items, pair.key); if (!prev2) this.items.push(pair); @@ -31126,22 +31129,22 @@ var require_set = __commonJS({ * If `keepPair` is `true`, returns the Pair matching `key`. * Otherwise, returns the value of that Pair's key. */ - get(key, keepPair) { - const pair = YAMLMap.findPair(this.items, key); + get(key2, keepPair) { + const pair = YAMLMap.findPair(this.items, key2); return !keepPair && identity.isPair(pair) ? identity.isScalar(pair.key) ? pair.key.value : pair.key : pair; } - set(key, value) { + set(key2, value) { if (typeof value !== "boolean") throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof value}`); - const prev2 = YAMLMap.findPair(this.items, key); + const prev2 = YAMLMap.findPair(this.items, key2); if (prev2 && !value) { this.items.splice(this.items.indexOf(prev2), 1); } else if (!prev2 && value) { - this.items.push(new Pair.Pair(key)); + this.items.push(new Pair.Pair(key2)); } } - toJSON(_, ctx) { - return super.toJSON(_, ctx, Set); + toJSON(_9, ctx) { + return super.toJSON(_9, ctx, Set); } toString(ctx, onComment, onChompKeep) { if (!ctx) @@ -31193,22 +31196,22 @@ var require_timestamp = __commonJS({ "use strict"; var stringifyNumber = require_stringifyNumber(); function parseSexagesimal(str, asBigInt) { - const sign = str[0]; - const parts = sign === "-" || sign === "+" ? str.substring(1) : str; - const num = (n2) => asBigInt ? BigInt(n2) : Number(n2); - const res = parts.replace(/_/g, "").split(":").reduce((res2, p) => res2 * num(60) + num(p), num(0)); - return sign === "-" ? num(-1) * res : res; + const sign2 = str[0]; + const parts = sign2 === "-" || sign2 === "+" ? str.substring(1) : str; + const num = (n5) => asBigInt ? BigInt(n5) : Number(n5); + const res = parts.replace(/_/g, "").split(":").reduce((res2, p4) => res2 * num(60) + num(p4), num(0)); + return sign2 === "-" ? num(-1) * res : res; } function stringifySexagesimal(node2) { let { value } = node2; - let num = (n2) => n2; + let num = (n5) => n5; if (typeof value === "bigint") - num = (n2) => BigInt(n2); + num = (n5) => BigInt(n5); else if (isNaN(value) || !isFinite(value)) return stringifyNumber.stringifyNumber(node2); - let sign = ""; + let sign2 = ""; if (value < 0) { - sign = "-"; + sign2 = "-"; value *= num(-1); } const _60 = num(60); @@ -31223,7 +31226,7 @@ var require_timestamp = __commonJS({ parts.unshift(value); } } - return sign + parts.map((n2) => String(n2).padStart(2, "0")).join(":").replace(/000000\d*$/, ""); + return sign2 + parts.map((n5) => String(n5).padStart(2, "0")).join(":").replace(/000000\d*$/, ""); } var intTime = { identify: (value) => typeof value === "bigint" || Number.isInteger(value), @@ -31258,12 +31261,12 @@ var require_timestamp = __commonJS({ const [, year, month, day, hour, minute, second] = match.map(Number); const millisec = match[7] ? Number((match[7] + "00").substr(1, 3)) : 0; let date = Date.UTC(year, month - 1, day, hour || 0, minute || 0, second || 0, millisec); - const tz = match[8]; - if (tz && tz !== "Z") { - let d = parseSexagesimal(tz, false); - if (Math.abs(d) < 30) - d *= 60; - date -= 6e4 * d; + const tz2 = match[8]; + if (tz2 && tz2 !== "Z") { + let d5 = parseSexagesimal(tz2, false); + if (Math.abs(d5) < 30) + d5 *= 60; + date -= 6e4 * d5; } return new Date(date); }, @@ -31384,7 +31387,7 @@ var require_tags = __commonJS({ if (Array.isArray(customTags)) tags = []; else { - const keys = Array.from(schemas.keys()).filter((key) => key !== "yaml11").map((key) => JSON.stringify(key)).join(", "); + const keys = Array.from(schemas.keys()).filter((key2) => key2 !== "yaml11").map((key2) => JSON.stringify(key2)).join(", "); throw new Error(`Unknown schema "${schemaName}"; use one of ${keys} or define customTags array`); } } @@ -31400,7 +31403,7 @@ var require_tags = __commonJS({ const tagObj = typeof tag2 === "string" ? tagsByName[tag2] : tag2; if (!tagObj) { const tagName = JSON.stringify(tag2); - const keys = Object.keys(tagsByName).map((key) => JSON.stringify(key)).join(", "); + const keys = Object.keys(tagsByName).map((key2) => JSON.stringify(key2)).join(", "); throw new Error(`Unknown custom tag ${tagName}; use one of ${keys}`); } if (!tags2.includes(tagObj)) @@ -31422,8 +31425,8 @@ var require_Schema = __commonJS({ var seq = require_seq(); var string = require_string(); var tags = require_tags(); - var sortMapEntriesByKey = (a, b) => a.key < b.key ? -1 : a.key > b.key ? 1 : 0; - var Schema = class _Schema { + var sortMapEntriesByKey = (a5, b7) => a5.key < b7.key ? -1 : a5.key > b7.key ? 1 : 0; + var Schema2 = class _Schema { constructor({ compat, customTags, merge: merge2, resolveKnownTags, schema, sortMapEntries, toStringDefaults }) { this.compat = Array.isArray(compat) ? tags.getTags(compat, "compat") : compat ? tags.getTags(null, compat) : null; this.name = typeof schema === "string" && schema || "core"; @@ -31441,7 +31444,7 @@ var require_Schema = __commonJS({ return copy; } }; - exports.Schema = Schema; + exports.Schema = Schema2; } }); @@ -31452,10 +31455,10 @@ var require_stringifyDocument = __commonJS({ var identity = require_identity(); var stringify = require_stringify(); var stringifyComment = require_stringifyComment(); - function stringifyDocument(doc, options) { + function stringifyDocument(doc, options8) { const lines = []; - let hasDirectives = options.directives === true; - if (options.directives !== false && doc.directives) { + let hasDirectives = options8.directives === true; + if (options8.directives !== false && doc.directives) { const dir = doc.directives.toString(doc); if (dir) { lines.push(dir); @@ -31465,13 +31468,13 @@ var require_stringifyDocument = __commonJS({ } if (hasDirectives) lines.push("---"); - const ctx = stringify.createStringifyContext(doc, options); + const ctx = stringify.createStringifyContext(doc, options8); const { commentString } = ctx.options; if (doc.commentBefore) { if (lines.length !== 1) lines.unshift(""); - const cs = commentString(doc.commentBefore); - lines.unshift(stringifyComment.indentComment(cs, "")); + const cs7 = commentString(doc.commentBefore); + lines.unshift(stringifyComment.indentComment(cs7, "")); } let chompKeep = false; let contentComment = null; @@ -31480,8 +31483,8 @@ var require_stringifyDocument = __commonJS({ if (doc.contents.spaceBefore && hasDirectives) lines.push(""); if (doc.contents.commentBefore) { - const cs = commentString(doc.contents.commentBefore); - lines.push(stringifyComment.indentComment(cs, "")); + const cs7 = commentString(doc.contents.commentBefore); + lines.push(stringifyComment.indentComment(cs7, "")); } ctx.forceBlockIndent = !!doc.comment; contentComment = doc.contents.comment; @@ -31499,24 +31502,24 @@ var require_stringifyDocument = __commonJS({ } if (doc.directives?.docEnd) { if (doc.comment) { - const cs = commentString(doc.comment); - if (cs.includes("\n")) { + const cs7 = commentString(doc.comment); + if (cs7.includes("\n")) { lines.push("..."); - lines.push(stringifyComment.indentComment(cs, "")); + lines.push(stringifyComment.indentComment(cs7, "")); } else { - lines.push(`... ${cs}`); + lines.push(`... ${cs7}`); } } else { lines.push("..."); } } else { - let dc = doc.comment; - if (dc && chompKeep) - dc = dc.replace(/^\n+/, ""); - if (dc) { + let dc3 = doc.comment; + if (dc3 && chompKeep) + dc3 = dc3.replace(/^\n+/, ""); + if (dc3) { if ((!chompKeep || contentComment) && lines[lines.length - 1] !== "") lines.push(""); - lines.push(stringifyComment.indentComment(commentString(dc), "")); + lines.push(stringifyComment.indentComment(commentString(dc3), "")); } } return lines.join("\n") + "\n"; @@ -31534,14 +31537,14 @@ var require_Document = __commonJS({ var identity = require_identity(); var Pair = require_Pair(); var toJS = require_toJS(); - var Schema = require_Schema(); + var Schema2 = require_Schema(); var stringifyDocument = require_stringifyDocument(); var anchors = require_anchors(); var applyReviver = require_applyReviver(); var createNode = require_createNode(); var directives = require_directives(); var Document2 = class _Document { - constructor(value, replacer, options) { + constructor(value, replacer, options8) { this.commentBefore = null; this.comment = null; this.errors = []; @@ -31550,8 +31553,8 @@ var require_Document = __commonJS({ let _replacer = null; if (typeof replacer === "function" || Array.isArray(replacer)) { _replacer = replacer; - } else if (options === void 0 && replacer) { - options = replacer; + } else if (options8 === void 0 && replacer) { + options8 = replacer; replacer = void 0; } const opt = Object.assign({ @@ -31563,17 +31566,17 @@ var require_Document = __commonJS({ stringKeys: false, uniqueKeys: true, version: "1.2" - }, options); + }, options8); this.options = opt; let { version } = opt; - if (options?._directives) { - this.directives = options._directives.atDocument(); + if (options8?._directives) { + this.directives = options8._directives.atDocument(); if (this.directives.yaml.explicit) version = this.directives.yaml.version; } else this.directives = new directives.Directives({ version }); - this.setSchema(version, options); - this.contents = value === void 0 ? null : this.createNode(value, _replacer, options); + this.setSchema(version, options8); + this.contents = value === void 0 ? null : this.createNode(value, _replacer, options8); } /** * Create a deep copy of this Document and its contents. @@ -31603,9 +31606,9 @@ var require_Document = __commonJS({ this.contents.add(value); } /** Adds a value to the document. */ - addIn(path7, value) { + addIn(path19, value) { if (assertCollection(this.contents)) - this.contents.addIn(path7, value); + this.contents.addIn(path19, value); } /** * Create a new `Alias` node, ensuring that the target `node` has the required anchor. @@ -31624,22 +31627,22 @@ var require_Document = __commonJS({ } return new Alias.Alias(node2.anchor); } - createNode(value, replacer, options) { + createNode(value, replacer, options8) { let _replacer = void 0; if (typeof replacer === "function") { value = replacer.call({ "": value }, "", value); _replacer = replacer; } else if (Array.isArray(replacer)) { - const keyToStr = (v) => typeof v === "number" || v instanceof String || v instanceof Number; + const keyToStr = (v9) => typeof v9 === "number" || v9 instanceof String || v9 instanceof Number; const asStr = replacer.filter(keyToStr).map(String); if (asStr.length > 0) replacer = replacer.concat(asStr); _replacer = replacer; - } else if (options === void 0 && replacer) { - options = replacer; + } else if (options8 === void 0 && replacer) { + options8 = replacer; replacer = void 0; } - const { aliasDuplicateObjects, anchorPrefix, flow, keepUndefined, onTagObj, tag: tag2 } = options ?? {}; + const { aliasDuplicateObjects, anchorPrefix, flow, keepUndefined, onTagObj, tag: tag2 } = options8 ?? {}; const { onAnchor, setAnchors, sourceObjects } = anchors.createNodeAnchors( this, // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing @@ -31664,85 +31667,85 @@ var require_Document = __commonJS({ * Convert a key and a value into a `Pair` using the current schema, * recursively wrapping all values as `Scalar` or `Collection` nodes. */ - createPair(key, value, options = {}) { - const k = this.createNode(key, null, options); - const v = this.createNode(value, null, options); - return new Pair.Pair(k, v); + createPair(key2, value, options8 = {}) { + const k8 = this.createNode(key2, null, options8); + const v9 = this.createNode(value, null, options8); + return new Pair.Pair(k8, v9); } /** * Removes a value from the document. * @returns `true` if the item was found and removed. */ - delete(key) { - return assertCollection(this.contents) ? this.contents.delete(key) : false; + delete(key2) { + return assertCollection(this.contents) ? this.contents.delete(key2) : false; } /** * Removes a value from the document. * @returns `true` if the item was found and removed. */ - deleteIn(path7) { - if (Collection2.isEmptyPath(path7)) { + deleteIn(path19) { + if (Collection2.isEmptyPath(path19)) { if (this.contents == null) return false; this.contents = null; return true; } - return assertCollection(this.contents) ? this.contents.deleteIn(path7) : false; + return assertCollection(this.contents) ? this.contents.deleteIn(path19) : false; } /** * Returns item at `key`, or `undefined` if not found. By default unwraps * scalar values from their surrounding node; to disable set `keepScalar` to * `true` (collections are always returned intact). */ - get(key, keepScalar) { - return identity.isCollection(this.contents) ? this.contents.get(key, keepScalar) : void 0; + get(key2, keepScalar) { + return identity.isCollection(this.contents) ? this.contents.get(key2, keepScalar) : void 0; } /** * Returns item at `path`, or `undefined` if not found. By default unwraps * scalar values from their surrounding node; to disable set `keepScalar` to * `true` (collections are always returned intact). */ - getIn(path7, keepScalar) { - if (Collection2.isEmptyPath(path7)) + getIn(path19, keepScalar) { + if (Collection2.isEmptyPath(path19)) return !keepScalar && identity.isScalar(this.contents) ? this.contents.value : this.contents; - return identity.isCollection(this.contents) ? this.contents.getIn(path7, keepScalar) : void 0; + return identity.isCollection(this.contents) ? this.contents.getIn(path19, keepScalar) : void 0; } /** * Checks if the document includes a value with the key `key`. */ - has(key) { - return identity.isCollection(this.contents) ? this.contents.has(key) : false; + has(key2) { + return identity.isCollection(this.contents) ? this.contents.has(key2) : false; } /** * Checks if the document includes a value at `path`. */ - hasIn(path7) { - if (Collection2.isEmptyPath(path7)) + hasIn(path19) { + if (Collection2.isEmptyPath(path19)) return this.contents !== void 0; - return identity.isCollection(this.contents) ? this.contents.hasIn(path7) : false; + return identity.isCollection(this.contents) ? this.contents.hasIn(path19) : false; } /** * Sets a value in this document. For `!!set`, `value` needs to be a * boolean to add/remove the item from the set. */ - set(key, value) { + set(key2, value) { if (this.contents == null) { - this.contents = Collection2.collectionFromPath(this.schema, [key], value); + this.contents = Collection2.collectionFromPath(this.schema, [key2], value); } else if (assertCollection(this.contents)) { - this.contents.set(key, value); + this.contents.set(key2, value); } } /** * Sets a value in this document. For `!!set`, `value` needs to be a * boolean to add/remove the item from the set. */ - setIn(path7, value) { - if (Collection2.isEmptyPath(path7)) { + setIn(path19, value) { + if (Collection2.isEmptyPath(path19)) { this.contents = value; } else if (this.contents == null) { - this.contents = Collection2.collectionFromPath(this.schema, Array.from(path7), value); + this.contents = Collection2.collectionFromPath(this.schema, Array.from(path19), value); } else if (assertCollection(this.contents)) { - this.contents.setIn(path7, value); + this.contents.setIn(path19, value); } } /** @@ -31752,7 +31755,7 @@ var require_Document = __commonJS({ * * Overrides all previously set schema options. */ - setSchema(version, options = {}) { + setSchema(version, options8 = {}) { if (typeof version === "number") version = String(version); let opt; @@ -31778,14 +31781,14 @@ var require_Document = __commonJS({ opt = null; break; default: { - const sv = JSON.stringify(version); - throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${sv}`); + const sv2 = JSON.stringify(version); + throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${sv2}`); } } - if (options.schema instanceof Object) - this.schema = options.schema; + if (options8.schema instanceof Object) + this.schema = options8.schema; else if (opt) - this.schema = new Schema.Schema(Object.assign(opt, options)); + this.schema = new Schema2.Schema(Object.assign(opt, options8)); else throw new Error(`With a null YAML version, the { schema: Schema } option is required`); } @@ -31815,14 +31818,14 @@ var require_Document = __commonJS({ return this.toJS({ json: true, jsonArg, mapAsMap: false, onAnchor }); } /** A YAML representation of the document. */ - toString(options = {}) { + toString(options8 = {}) { if (this.errors.length > 0) throw new Error("Document with errors cannot be stringified"); - if ("indent" in options && (!Number.isInteger(options.indent) || Number(options.indent) <= 0)) { - const s = JSON.stringify(options.indent); - throw new Error(`"indent" option must be a positive integer, not ${s}`); + if ("indent" in options8 && (!Number.isInteger(options8.indent) || Number(options8.indent) <= 0)) { + const s5 = JSON.stringify(options8.indent); + throw new Error(`"indent" option must be a positive integer, not ${s5}`); } - return stringifyDocument.stringifyDocument(this, options); + return stringifyDocument.stringifyDocument(this, options8); } }; function assertCollection(contents) { @@ -31839,41 +31842,41 @@ var require_errors2 = __commonJS({ "node_modules/yaml/dist/errors.js"(exports) { "use strict"; var YAMLError = class extends Error { - constructor(name, pos, code, message) { + constructor(name, pos2, code, message) { super(); this.name = name; this.code = code; this.message = message; - this.pos = pos; + this.pos = pos2; } }; var YAMLParseError = class extends YAMLError { - constructor(pos, code, message) { - super("YAMLParseError", pos, code, message); + constructor(pos2, code, message) { + super("YAMLParseError", pos2, code, message); } }; var YAMLWarning = class extends YAMLError { - constructor(pos, code, message) { - super("YAMLWarning", pos, code, message); + constructor(pos2, code, message) { + super("YAMLWarning", pos2, code, message); } }; - var prettifyError = (src, lc) => (error2) => { + var prettifyError = (src, lc3) => (error2) => { if (error2.pos[0] === -1) return; - error2.linePos = error2.pos.map((pos) => lc.linePos(pos)); - const { line, col } = error2.linePos[0]; - error2.message += ` at line ${line}, column ${col}`; - let ci = col - 1; - let lineStr = src.substring(lc.lineStarts[line - 1], lc.lineStarts[line]).replace(/[\n\r]+$/, ""); - if (ci >= 60 && lineStr.length > 80) { - const trimStart = Math.min(ci - 39, lineStr.length - 79); + error2.linePos = error2.pos.map((pos2) => lc3.linePos(pos2)); + const { line: line3, col } = error2.linePos[0]; + error2.message += ` at line ${line3}, column ${col}`; + let ci10 = col - 1; + let lineStr = src.substring(lc3.lineStarts[line3 - 1], lc3.lineStarts[line3]).replace(/[\n\r]+$/, ""); + if (ci10 >= 60 && lineStr.length > 80) { + const trimStart = Math.min(ci10 - 39, lineStr.length - 79); lineStr = "\u2026" + lineStr.substring(trimStart); - ci -= trimStart - 1; + ci10 -= trimStart - 1; } if (lineStr.length > 80) lineStr = lineStr.substring(0, 79) + "\u2026"; - if (line > 1 && /^ *$/.test(lineStr.substring(0, ci))) { - let prev2 = src.substring(lc.lineStarts[line - 2], lc.lineStarts[line - 1]); + if (line3 > 1 && /^ *$/.test(lineStr.substring(0, ci10))) { + let prev2 = src.substring(lc3.lineStarts[line3 - 2], lc3.lineStarts[line3 - 1]); if (prev2.length > 80) prev2 = prev2.substring(0, 79) + "\u2026\n"; lineStr = prev2 + lineStr; @@ -31881,10 +31884,10 @@ var require_errors2 = __commonJS({ if (/[^ ]/.test(lineStr)) { let count = 1; const end = error2.linePos[1]; - if (end?.line === line && end.col > col) { - count = Math.max(1, Math.min(end.col - col, 80 - ci)); + if (end?.line === line3 && end.col > col) { + count = Math.max(1, Math.min(end.col - col, 80 - ci10)); } - const pointer = " ".repeat(ci) + "^".repeat(count); + const pointer = " ".repeat(ci10) + "^".repeat(count); error2.message += `: ${lineStr} @@ -31909,7 +31912,7 @@ var require_resolve_props = __commonJS({ let hasSpace = startOnNewline; let comment2 = ""; let commentSep = ""; - let hasNewline = false; + let hasNewline2 = false; let reqSpace = false; let tab = null; let anchor = null; @@ -31918,33 +31921,33 @@ var require_resolve_props = __commonJS({ let comma = null; let found = null; let start = null; - for (const token of tokens) { + for (const token2 of tokens) { if (reqSpace) { - if (token.type !== "space" && token.type !== "newline" && token.type !== "comma") - onError(token.offset, "MISSING_CHAR", "Tags and anchors must be separated from the next token by white space"); + if (token2.type !== "space" && token2.type !== "newline" && token2.type !== "comma") + onError(token2.offset, "MISSING_CHAR", "Tags and anchors must be separated from the next token by white space"); reqSpace = false; } if (tab) { - if (atNewline && token.type !== "comment" && token.type !== "newline") { + if (atNewline && token2.type !== "comment" && token2.type !== "newline") { onError(tab, "TAB_AS_INDENT", "Tabs are not allowed as indentation"); } tab = null; } - switch (token.type) { + switch (token2.type) { case "space": - if (!flow && (indicator !== "doc-start" || next2?.type !== "flow-collection") && token.source.includes(" ")) { - tab = token; + if (!flow && (indicator !== "doc-start" || next2?.type !== "flow-collection") && token2.source.includes(" ")) { + tab = token2; } hasSpace = true; break; case "comment": { if (!hasSpace) - onError(token, "MISSING_CHAR", "Comments must be separated from other tokens by white space characters"); - const cb = token.source.substring(1) || " "; + onError(token2, "MISSING_CHAR", "Comments must be separated from other tokens by white space characters"); + const cb2 = token2.source.substring(1) || " "; if (!comment2) - comment2 = cb; + comment2 = cb2; else - comment2 += commentSep + cb; + comment2 += commentSep + cb2; commentSep = ""; atNewline = false; break; @@ -31952,33 +31955,33 @@ var require_resolve_props = __commonJS({ case "newline": if (atNewline) { if (comment2) - comment2 += token.source; + comment2 += token2.source; else if (!found || indicator !== "seq-item-ind") spaceBefore = true; } else - commentSep += token.source; + commentSep += token2.source; atNewline = true; - hasNewline = true; + hasNewline2 = true; if (anchor || tag2) - newlineAfterProp = token; + newlineAfterProp = token2; hasSpace = true; break; case "anchor": if (anchor) - onError(token, "MULTIPLE_ANCHORS", "A node can have at most one anchor"); - if (token.source.endsWith(":")) - onError(token.offset + token.source.length - 1, "BAD_ALIAS", "Anchor ending in : is ambiguous", true); - anchor = token; - start ?? (start = token.offset); + onError(token2, "MULTIPLE_ANCHORS", "A node can have at most one anchor"); + if (token2.source.endsWith(":")) + onError(token2.offset + token2.source.length - 1, "BAD_ALIAS", "Anchor ending in : is ambiguous", true); + anchor = token2; + start ?? (start = token2.offset); atNewline = false; hasSpace = false; reqSpace = true; break; case "tag": { if (tag2) - onError(token, "MULTIPLE_TAGS", "A node can have at most one tag"); - tag2 = token; - start ?? (start = token.offset); + onError(token2, "MULTIPLE_TAGS", "A node can have at most one tag"); + tag2 = token2; + start ?? (start = token2.offset); atNewline = false; hasSpace = false; reqSpace = true; @@ -31986,25 +31989,25 @@ var require_resolve_props = __commonJS({ } case indicator: if (anchor || tag2) - onError(token, "BAD_PROP_ORDER", `Anchors and tags must be after the ${token.source} indicator`); + onError(token2, "BAD_PROP_ORDER", `Anchors and tags must be after the ${token2.source} indicator`); if (found) - onError(token, "UNEXPECTED_TOKEN", `Unexpected ${token.source} in ${flow ?? "collection"}`); - found = token; + onError(token2, "UNEXPECTED_TOKEN", `Unexpected ${token2.source} in ${flow ?? "collection"}`); + found = token2; atNewline = indicator === "seq-item-ind" || indicator === "explicit-key-ind"; hasSpace = false; break; case "comma": if (flow) { if (comma) - onError(token, "UNEXPECTED_TOKEN", `Unexpected , in ${flow}`); - comma = token; + onError(token2, "UNEXPECTED_TOKEN", `Unexpected , in ${flow}`); + comma = token2; atNewline = false; hasSpace = false; break; } // else fallthrough default: - onError(token, "UNEXPECTED_TOKEN", `Unexpected ${token.type} token`); + onError(token2, "UNEXPECTED_TOKEN", `Unexpected ${token2.type} token`); atNewline = false; hasSpace = false; } @@ -32021,7 +32024,7 @@ var require_resolve_props = __commonJS({ found, spaceBefore, comment: comment2, - hasNewline, + hasNewline: hasNewline2, anchor, tag: tag2, newlineAfterProp, @@ -32037,33 +32040,33 @@ var require_resolve_props = __commonJS({ var require_util_contains_newline = __commonJS({ "node_modules/yaml/dist/compose/util-contains-newline.js"(exports) { "use strict"; - function containsNewline(key) { - if (!key) + function containsNewline(key2) { + if (!key2) return null; - switch (key.type) { + switch (key2.type) { case "alias": case "scalar": case "double-quoted-scalar": case "single-quoted-scalar": - if (key.source.includes("\n")) + if (key2.source.includes("\n")) return true; - if (key.end) { - for (const st of key.end) - if (st.type === "newline") + if (key2.end) { + for (const st8 of key2.end) + if (st8.type === "newline") return true; } return false; case "flow-collection": - for (const it of key.items) { - for (const st of it.start) - if (st.type === "newline") + for (const it10 of key2.items) { + for (const st8 of it10.start) + if (st8.type === "newline") return true; - if (it.sep) { - for (const st of it.sep) - if (st.type === "newline") + if (it10.sep) { + for (const st8 of it10.sep) + if (st8.type === "newline") return true; } - if (containsNewline(it.key) || containsNewline(it.value)) + if (containsNewline(it10.key) || containsNewline(it10.value)) return true; } return false; @@ -32080,10 +32083,10 @@ var require_util_flow_indent_check = __commonJS({ "node_modules/yaml/dist/compose/util-flow-indent-check.js"(exports) { "use strict"; var utilContainsNewline = require_util_contains_newline(); - function flowIndentCheck(indent, fc, onError) { - if (fc?.type === "flow-collection") { - const end = fc.end[0]; - if (end.indent === indent && (end.source === "]" || end.source === "}") && utilContainsNewline.containsNewline(fc)) { + function flowIndentCheck(indent3, fc3, onError) { + if (fc3?.type === "flow-collection") { + const end = fc3.end[0]; + if (end.indent === indent3 && (end.source === "]" || end.source === "}") && utilContainsNewline.containsNewline(fc3)) { const msg = "Flow end indicator should be more indented than parent"; onError(end, "BAD_INDENT", msg, true); } @@ -32102,7 +32105,7 @@ var require_util_map_includes = __commonJS({ const { uniqueKeys } = ctx.options; if (uniqueKeys === false) return false; - const isEqual = typeof uniqueKeys === "function" ? uniqueKeys : (a, b) => a === b || identity.isScalar(a) && identity.isScalar(b) && a.value === b.value; + const isEqual = typeof uniqueKeys === "function" ? uniqueKeys : (a5, b7) => a5 === b7 || identity.isScalar(a5) && identity.isScalar(b7) && a5.value === b7.value; return items.some((pair) => isEqual(pair.key, search)); } exports.mapIncludes = mapIncludes; @@ -32120,29 +32123,29 @@ var require_resolve_block_map = __commonJS({ var utilFlowIndentCheck = require_util_flow_indent_check(); var utilMapIncludes = require_util_map_includes(); var startColMsg = "All mapping items must start at the same column"; - function resolveBlockMap({ composeNode, composeEmptyNode }, ctx, bm, onError, tag2) { + function resolveBlockMap({ composeNode, composeEmptyNode }, ctx, bm3, onError, tag2) { const NodeClass = tag2?.nodeClass ?? YAMLMap.YAMLMap; const map2 = new NodeClass(ctx.schema); if (ctx.atRoot) ctx.atRoot = false; - let offset = bm.offset; + let offset = bm3.offset; let commentEnd = null; - for (const collItem of bm.items) { - const { start, key, sep: sep2, value } = collItem; + for (const collItem of bm3.items) { + const { start, key: key2, sep: sep2, value } = collItem; const keyProps = resolveProps.resolveProps(start, { indicator: "explicit-key-ind", - next: key ?? sep2?.[0], + next: key2 ?? sep2?.[0], offset, onError, - parentIndent: bm.indent, + parentIndent: bm3.indent, startOnNewline: true }); const implicitKey = !keyProps.found; if (implicitKey) { - if (key) { - if (key.type === "block-seq") + if (key2) { + if (key2.type === "block-seq") onError(offset, "BLOCK_AS_IMPLICIT_KEY", "A block sequence may not be used as an implicit map key"); - else if ("indent" in key && key.indent !== bm.indent) + else if ("indent" in key2 && key2.indent !== bm3.indent) onError(offset, "BAD_INDENT", startColMsg); } if (!keyProps.anchor && !keyProps.tag && !sep2) { @@ -32155,17 +32158,17 @@ var require_resolve_block_map = __commonJS({ } continue; } - if (keyProps.newlineAfterProp || utilContainsNewline.containsNewline(key)) { - onError(key ?? start[start.length - 1], "MULTILINE_IMPLICIT_KEY", "Implicit keys need to be on a single line"); + if (keyProps.newlineAfterProp || utilContainsNewline.containsNewline(key2)) { + onError(key2 ?? start[start.length - 1], "MULTILINE_IMPLICIT_KEY", "Implicit keys need to be on a single line"); } - } else if (keyProps.found?.indent !== bm.indent) { + } else if (keyProps.found?.indent !== bm3.indent) { onError(offset, "BAD_INDENT", startColMsg); } ctx.atKey = true; const keyStart = keyProps.end; - const keyNode = key ? composeNode(ctx, key, keyProps, onError) : composeEmptyNode(ctx, keyStart, start, null, keyProps, onError); + const keyNode = key2 ? composeNode(ctx, key2, keyProps, onError) : composeEmptyNode(ctx, keyStart, start, null, keyProps, onError); if (ctx.schema.compat) - utilFlowIndentCheck.flowIndentCheck(bm.indent, key, onError); + utilFlowIndentCheck.flowIndentCheck(bm3.indent, key2, onError); ctx.atKey = false; if (utilMapIncludes.mapIncludes(ctx, map2.items, keyNode)) onError(keyStart, "DUPLICATE_KEY", "Map keys must be unique"); @@ -32174,8 +32177,8 @@ var require_resolve_block_map = __commonJS({ next: value, offset: keyNode.range[2], onError, - parentIndent: bm.indent, - startOnNewline: !key || key.type === "block-scalar" + parentIndent: bm3.indent, + startOnNewline: !key2 || key2.type === "block-scalar" }); offset = valueProps.end; if (valueProps.found) { @@ -32187,7 +32190,7 @@ var require_resolve_block_map = __commonJS({ } const valueNode = value ? composeNode(ctx, value, valueProps, onError) : composeEmptyNode(ctx, offset, sep2, null, valueProps, onError); if (ctx.schema.compat) - utilFlowIndentCheck.flowIndentCheck(bm.indent, value, onError); + utilFlowIndentCheck.flowIndentCheck(bm3.indent, value, onError); offset = valueNode.range[2]; const pair = new Pair.Pair(keyNode, valueNode); if (ctx.options.keepSourceTokens) @@ -32210,7 +32213,7 @@ var require_resolve_block_map = __commonJS({ } if (commentEnd && commentEnd < offset) onError(commentEnd, "IMPOSSIBLE", "Map comment with trailing content"); - map2.range = [bm.offset, offset, commentEnd ?? offset]; + map2.range = [bm3.offset, offset, commentEnd ?? offset]; return map2; } exports.resolveBlockMap = resolveBlockMap; @@ -32224,22 +32227,22 @@ var require_resolve_block_seq = __commonJS({ var YAMLSeq = require_YAMLSeq(); var resolveProps = require_resolve_props(); var utilFlowIndentCheck = require_util_flow_indent_check(); - function resolveBlockSeq({ composeNode, composeEmptyNode }, ctx, bs, onError, tag2) { + function resolveBlockSeq({ composeNode, composeEmptyNode }, ctx, bs8, onError, tag2) { const NodeClass = tag2?.nodeClass ?? YAMLSeq.YAMLSeq; const seq = new NodeClass(ctx.schema); if (ctx.atRoot) ctx.atRoot = false; if (ctx.atKey) ctx.atKey = false; - let offset = bs.offset; + let offset = bs8.offset; let commentEnd = null; - for (const { start, value } of bs.items) { + for (const { start, value } of bs8.items) { const props = resolveProps.resolveProps(start, { indicator: "seq-item-ind", next: value, offset, onError, - parentIndent: bs.indent, + parentIndent: bs8.indent, startOnNewline: true }); if (!props.found) { @@ -32257,11 +32260,11 @@ var require_resolve_block_seq = __commonJS({ } const node2 = value ? composeNode(ctx, value, props, onError) : composeEmptyNode(ctx, props.end, start, null, props, onError); if (ctx.schema.compat) - utilFlowIndentCheck.flowIndentCheck(bs.indent, value, onError); + utilFlowIndentCheck.flowIndentCheck(bs8.indent, value, onError); offset = node2.range[2]; seq.items.push(node2); } - seq.range = [bs.offset, offset, commentEnd ?? offset]; + seq.range = [bs8.offset, offset, commentEnd ?? offset]; return seq; } exports.resolveBlockSeq = resolveBlockSeq; @@ -32277,32 +32280,32 @@ var require_resolve_end = __commonJS({ if (end) { let hasSpace = false; let sep2 = ""; - for (const token of end) { - const { source, type } = token; + for (const token2 of end) { + const { source: source2, type } = token2; switch (type) { case "space": hasSpace = true; break; case "comment": { if (reqSpace && !hasSpace) - onError(token, "MISSING_CHAR", "Comments must be separated from other tokens by white space characters"); - const cb = source.substring(1) || " "; + onError(token2, "MISSING_CHAR", "Comments must be separated from other tokens by white space characters"); + const cb2 = source2.substring(1) || " "; if (!comment2) - comment2 = cb; + comment2 = cb2; else - comment2 += sep2 + cb; + comment2 += sep2 + cb2; sep2 = ""; break; } case "newline": if (comment2) - sep2 += source; + sep2 += source2; hasSpace = true; break; default: - onError(token, "UNEXPECTED_TOKEN", `Unexpected ${type} at node end`); + onError(token2, "UNEXPECTED_TOKEN", `Unexpected ${type} at node end`); } - offset += source.length; + offset += source2.length; } } return { comment: comment2, offset }; @@ -32324,9 +32327,9 @@ var require_resolve_flow_collection = __commonJS({ var utilContainsNewline = require_util_contains_newline(); var utilMapIncludes = require_util_map_includes(); var blockMsg = "Block collections are not allowed within flow collections"; - var isBlock = (token) => token && (token.type === "block-map" || token.type === "block-seq"); - function resolveFlowCollection({ composeNode, composeEmptyNode }, ctx, fc, onError, tag2) { - const isMap = fc.start.source === "{"; + var isBlock = (token2) => token2 && (token2.type === "block-map" || token2.type === "block-seq"); + function resolveFlowCollection({ composeNode, composeEmptyNode }, ctx, fc3, onError, tag2) { + const isMap = fc3.start.source === "{"; const fcName = isMap ? "flow map" : "flow sequence"; const NodeClass = tag2?.nodeClass ?? (isMap ? YAMLMap.YAMLMap : YAMLSeq.YAMLSeq); const coll = new NodeClass(ctx.schema); @@ -32336,24 +32339,24 @@ var require_resolve_flow_collection = __commonJS({ ctx.atRoot = false; if (ctx.atKey) ctx.atKey = false; - let offset = fc.offset + fc.start.source.length; - for (let i2 = 0; i2 < fc.items.length; ++i2) { - const collItem = fc.items[i2]; - const { start, key, sep: sep2, value } = collItem; + let offset = fc3.offset + fc3.start.source.length; + for (let i5 = 0; i5 < fc3.items.length; ++i5) { + const collItem = fc3.items[i5]; + const { start, key: key2, sep: sep2, value } = collItem; const props = resolveProps.resolveProps(start, { flow: fcName, indicator: "explicit-key-ind", - next: key ?? sep2?.[0], + next: key2 ?? sep2?.[0], offset, onError, - parentIndent: fc.indent, + parentIndent: fc3.indent, startOnNewline: false }); if (!props.found) { if (!props.anchor && !props.tag && !sep2 && !value) { - if (i2 === 0 && props.comma) + if (i5 === 0 && props.comma) onError(props.comma, "UNEXPECTED_TOKEN", `Unexpected , in ${fcName}`); - else if (i2 < fc.items.length - 1) + else if (i5 < fc3.items.length - 1) onError(props.start, "UNEXPECTED_TOKEN", `Unexpected empty item in ${fcName}`); if (props.comment) { if (coll.comment) @@ -32364,15 +32367,15 @@ var require_resolve_flow_collection = __commonJS({ offset = props.end; continue; } - if (!isMap && ctx.options.strict && utilContainsNewline.containsNewline(key)) + if (!isMap && ctx.options.strict && utilContainsNewline.containsNewline(key2)) onError( - key, + key2, // checked by containsNewline() "MULTILINE_IMPLICIT_KEY", "Implicit keys of flow sequence pairs need to be on a single line" ); } - if (i2 === 0) { + if (i5 === 0) { if (props.comma) onError(props.comma, "UNEXPECTED_TOKEN", `Unexpected , in ${fcName}`); } else { @@ -32380,13 +32383,13 @@ var require_resolve_flow_collection = __commonJS({ onError(props.start, "MISSING_CHAR", `Missing , between ${fcName} items`); if (props.comment) { let prevItemComment = ""; - loop: for (const st of start) { - switch (st.type) { + loop: for (const st8 of start) { + switch (st8.type) { case "comma": case "space": break; case "comment": - prevItemComment = st.source.substring(1); + prevItemComment = st8.source.substring(1); break loop; default: break loop; @@ -32413,8 +32416,8 @@ var require_resolve_flow_collection = __commonJS({ } else { ctx.atKey = true; const keyStart = props.end; - const keyNode = key ? composeNode(ctx, key, props, onError) : composeEmptyNode(ctx, keyStart, start, null, props, onError); - if (isBlock(key)) + const keyNode = key2 ? composeNode(ctx, key2, props, onError) : composeEmptyNode(ctx, keyStart, start, null, props, onError); + if (isBlock(key2)) onError(keyNode.range, "BLOCK_IN_FLOW", blockMsg); ctx.atKey = false; const valueProps = resolveProps.resolveProps(sep2 ?? [], { @@ -32423,17 +32426,17 @@ var require_resolve_flow_collection = __commonJS({ next: value, offset: keyNode.range[2], onError, - parentIndent: fc.indent, + parentIndent: fc3.indent, startOnNewline: false }); if (valueProps.found) { if (!isMap && !props.found && ctx.options.strict) { if (sep2) - for (const st of sep2) { - if (st === valueProps.found) + for (const st8 of sep2) { + if (st8 === valueProps.found) break; - if (st.type === "newline") { - onError(st, "MULTILINE_IMPLICIT_KEY", "Implicit keys of flow sequence pairs need to be on a single line"); + if (st8.type === "newline") { + onError(st8, "MULTILINE_IMPLICIT_KEY", "Implicit keys of flow sequence pairs need to be on a single line"); break; } } @@ -32476,28 +32479,28 @@ var require_resolve_flow_collection = __commonJS({ } } const expectedEnd = isMap ? "}" : "]"; - const [ce, ...ee] = fc.end; + const [ce9, ...ee8] = fc3.end; let cePos = offset; - if (ce?.source === expectedEnd) - cePos = ce.offset + ce.source.length; + if (ce9?.source === expectedEnd) + cePos = ce9.offset + ce9.source.length; else { const name = fcName[0].toUpperCase() + fcName.substring(1); const msg = atRoot ? `${name} must end with a ${expectedEnd}` : `${name} in block collection must be sufficiently indented and end with a ${expectedEnd}`; onError(offset, atRoot ? "MISSING_CHAR" : "BAD_INDENT", msg); - if (ce && ce.source.length !== 1) - ee.unshift(ce); + if (ce9 && ce9.source.length !== 1) + ee8.unshift(ce9); } - if (ee.length > 0) { - const end = resolveEnd.resolveEnd(ee, cePos, ctx.options.strict, onError); + if (ee8.length > 0) { + const end = resolveEnd.resolveEnd(ee8, cePos, ctx.options.strict, onError); if (end.comment) { if (coll.comment) coll.comment += "\n" + end.comment; else coll.comment = end.comment; } - coll.range = [fc.offset, cePos, end.offset]; + coll.range = [fc3.offset, cePos, end.offset]; } else { - coll.range = [fc.offset, cePos, cePos]; + coll.range = [fc3.offset, cePos, cePos]; } return coll; } @@ -32516,8 +32519,8 @@ var require_compose_collection = __commonJS({ var resolveBlockMap = require_resolve_block_map(); var resolveBlockSeq = require_resolve_block_seq(); var resolveFlowCollection = require_resolve_flow_collection(); - function resolveCollection(CN, ctx, token, onError, tagName, tag2) { - const coll = token.type === "block-map" ? resolveBlockMap.resolveBlockMap(CN, ctx, token, onError, tag2) : token.type === "block-seq" ? resolveBlockSeq.resolveBlockSeq(CN, ctx, token, onError, tag2) : resolveFlowCollection.resolveFlowCollection(CN, ctx, token, onError, tag2); + function resolveCollection(CN, ctx, token2, onError, tagName, tag2) { + const coll = token2.type === "block-map" ? resolveBlockMap.resolveBlockMap(CN, ctx, token2, onError, tag2) : token2.type === "block-seq" ? resolveBlockSeq.resolveBlockSeq(CN, ctx, token2, onError, tag2) : resolveFlowCollection.resolveFlowCollection(CN, ctx, token2, onError, tag2); const Coll = coll.constructor; if (tagName === "!" || tagName === Coll.tagName) { coll.tag = Coll.tagName; @@ -32527,37 +32530,37 @@ var require_compose_collection = __commonJS({ coll.tag = tagName; return coll; } - function composeCollection(CN, ctx, token, props, onError) { + function composeCollection(CN, ctx, token2, props, onError) { const tagToken = props.tag; const tagName = !tagToken ? null : ctx.directives.tagName(tagToken.source, (msg) => onError(tagToken, "TAG_RESOLVE_FAILED", msg)); - if (token.type === "block-seq") { - const { anchor, newlineAfterProp: nl2 } = props; + if (token2.type === "block-seq") { + const { anchor, newlineAfterProp: nl6 } = props; const lastProp = anchor && tagToken ? anchor.offset > tagToken.offset ? anchor : tagToken : anchor ?? tagToken; - if (lastProp && (!nl2 || nl2.offset < lastProp.offset)) { + if (lastProp && (!nl6 || nl6.offset < lastProp.offset)) { const message = "Missing newline after block sequence props"; onError(lastProp, "MISSING_CHAR", message); } } - const expType = token.type === "block-map" ? "map" : token.type === "block-seq" ? "seq" : token.start.source === "{" ? "map" : "seq"; + const expType = token2.type === "block-map" ? "map" : token2.type === "block-seq" ? "seq" : token2.start.source === "{" ? "map" : "seq"; if (!tagToken || !tagName || tagName === "!" || tagName === YAMLMap.YAMLMap.tagName && expType === "map" || tagName === YAMLSeq.YAMLSeq.tagName && expType === "seq") { - return resolveCollection(CN, ctx, token, onError, tagName); + return resolveCollection(CN, ctx, token2, onError, tagName); } - let tag2 = ctx.schema.tags.find((t) => t.tag === tagName && t.collection === expType); + let tag2 = ctx.schema.tags.find((t26) => t26.tag === tagName && t26.collection === expType); if (!tag2) { - const kt = ctx.schema.knownTags[tagName]; - if (kt?.collection === expType) { - ctx.schema.tags.push(Object.assign({}, kt, { default: false })); - tag2 = kt; + const kt12 = ctx.schema.knownTags[tagName]; + if (kt12?.collection === expType) { + ctx.schema.tags.push(Object.assign({}, kt12, { default: false })); + tag2 = kt12; } else { - if (kt) { - onError(tagToken, "BAD_COLLECTION_TYPE", `${kt.tag} used for ${expType} collection, but expects ${kt.collection ?? "scalar"}`, true); + if (kt12) { + onError(tagToken, "BAD_COLLECTION_TYPE", `${kt12.tag} used for ${expType} collection, but expects ${kt12.collection ?? "scalar"}`, true); } else { onError(tagToken, "TAG_RESOLVE_FAILED", `Unresolved tag: ${tagName}`, true); } - return resolveCollection(CN, ctx, token, onError, tagName); + return resolveCollection(CN, ctx, token2, onError, tagName); } } - const coll = resolveCollection(CN, ctx, token, onError, tagName, tag2); + const coll = resolveCollection(CN, ctx, token2, onError, tagName, tag2); const res = tag2.resolve?.(coll, (msg) => onError(tagToken, "TAG_RESOLVE_FAILED", msg), ctx.options) ?? coll; const node2 = identity.isNode(res) ? res : new Scalar.Scalar(res); node2.range = coll.range; @@ -32581,12 +32584,12 @@ var require_resolve_block_scalar = __commonJS({ if (!header) return { value: "", type: null, comment: "", range: [start, start, start] }; const type = header.mode === ">" ? Scalar.Scalar.BLOCK_FOLDED : Scalar.Scalar.BLOCK_LITERAL; - const lines = scalar.source ? splitLines(scalar.source) : []; + const lines = scalar.source ? splitLines2(scalar.source) : []; let chompStart = lines.length; - for (let i2 = lines.length - 1; i2 >= 0; --i2) { - const content = lines[i2][1]; + for (let i5 = lines.length - 1; i5 >= 0; --i5) { + const content = lines[i5][1]; if (content === "" || content === "\r") - chompStart = i2; + chompStart = i5; else break; } @@ -32600,57 +32603,57 @@ var require_resolve_block_scalar = __commonJS({ let trimIndent = scalar.indent + header.indent; let offset = scalar.offset + header.length; let contentStart = 0; - for (let i2 = 0; i2 < chompStart; ++i2) { - const [indent, content] = lines[i2]; + for (let i5 = 0; i5 < chompStart; ++i5) { + const [indent3, content] = lines[i5]; if (content === "" || content === "\r") { - if (header.indent === 0 && indent.length > trimIndent) - trimIndent = indent.length; + if (header.indent === 0 && indent3.length > trimIndent) + trimIndent = indent3.length; } else { - if (indent.length < trimIndent) { + if (indent3.length < trimIndent) { const message = "Block scalars with more-indented leading empty lines must use an explicit indentation indicator"; - onError(offset + indent.length, "MISSING_CHAR", message); + onError(offset + indent3.length, "MISSING_CHAR", message); } if (header.indent === 0) - trimIndent = indent.length; - contentStart = i2; + trimIndent = indent3.length; + contentStart = i5; if (trimIndent === 0 && !ctx.atRoot) { const message = "Block scalar values in collections must be indented"; onError(offset, "BAD_INDENT", message); } break; } - offset += indent.length + content.length + 1; + offset += indent3.length + content.length + 1; } - for (let i2 = lines.length - 1; i2 >= chompStart; --i2) { - if (lines[i2][0].length > trimIndent) - chompStart = i2 + 1; + for (let i5 = lines.length - 1; i5 >= chompStart; --i5) { + if (lines[i5][0].length > trimIndent) + chompStart = i5 + 1; } let value = ""; let sep2 = ""; let prevMoreIndented = false; - for (let i2 = 0; i2 < contentStart; ++i2) - value += lines[i2][0].slice(trimIndent) + "\n"; - for (let i2 = contentStart; i2 < chompStart; ++i2) { - let [indent, content] = lines[i2]; - offset += indent.length + content.length + 1; + for (let i5 = 0; i5 < contentStart; ++i5) + value += lines[i5][0].slice(trimIndent) + "\n"; + for (let i5 = contentStart; i5 < chompStart; ++i5) { + let [indent3, content] = lines[i5]; + offset += indent3.length + content.length + 1; const crlf = content[content.length - 1] === "\r"; if (crlf) content = content.slice(0, -1); - if (content && indent.length < trimIndent) { + if (content && indent3.length < trimIndent) { const src = header.indent ? "explicit indentation indicator" : "first line"; const message = `Block scalar lines must not be less indented than their ${src}`; onError(offset - content.length - (crlf ? 2 : 1), "BAD_INDENT", message); - indent = ""; + indent3 = ""; } if (type === Scalar.Scalar.BLOCK_LITERAL) { - value += sep2 + indent.slice(trimIndent) + content; + value += sep2 + indent3.slice(trimIndent) + content; sep2 = "\n"; - } else if (indent.length > trimIndent || content[0] === " ") { + } else if (indent3.length > trimIndent || content[0] === " ") { if (sep2 === " ") sep2 = "\n"; else if (!prevMoreIndented && sep2 === "\n") sep2 = "\n\n"; - value += sep2 + indent.slice(trimIndent) + content; + value += sep2 + indent3.slice(trimIndent) + content; sep2 = "\n"; prevMoreIndented = true; } else if (content === "") { @@ -32668,8 +32671,8 @@ var require_resolve_block_scalar = __commonJS({ case "-": break; case "+": - for (let i2 = chompStart; i2 < lines.length; ++i2) - value += "\n" + lines[i2][0].slice(trimIndent); + for (let i5 = chompStart; i5 < lines.length; ++i5) + value += "\n" + lines[i5][0].slice(trimIndent); if (value[value.length - 1] !== "\n") value += "\n"; break; @@ -32684,69 +32687,69 @@ var require_resolve_block_scalar = __commonJS({ onError(props[0], "IMPOSSIBLE", "Block scalar header not found"); return null; } - const { source } = props[0]; - const mode = source[0]; - let indent = 0; + const { source: source2 } = props[0]; + const mode = source2[0]; + let indent3 = 0; let chomp = ""; let error2 = -1; - for (let i2 = 1; i2 < source.length; ++i2) { - const ch = source[i2]; - if (!chomp && (ch === "-" || ch === "+")) - chomp = ch; + for (let i5 = 1; i5 < source2.length; ++i5) { + const ch2 = source2[i5]; + if (!chomp && (ch2 === "-" || ch2 === "+")) + chomp = ch2; else { - const n2 = Number(ch); - if (!indent && n2) - indent = n2; + const n5 = Number(ch2); + if (!indent3 && n5) + indent3 = n5; else if (error2 === -1) - error2 = offset + i2; + error2 = offset + i5; } } if (error2 !== -1) - onError(error2, "UNEXPECTED_TOKEN", `Block scalar header includes extra characters: ${source}`); + onError(error2, "UNEXPECTED_TOKEN", `Block scalar header includes extra characters: ${source2}`); let hasSpace = false; let comment2 = ""; - let length3 = source.length; - for (let i2 = 1; i2 < props.length; ++i2) { - const token = props[i2]; - switch (token.type) { + let length3 = source2.length; + for (let i5 = 1; i5 < props.length; ++i5) { + const token2 = props[i5]; + switch (token2.type) { case "space": hasSpace = true; // fallthrough case "newline": - length3 += token.source.length; + length3 += token2.source.length; break; case "comment": if (strict && !hasSpace) { const message = "Comments must be separated from other tokens by white space characters"; - onError(token, "MISSING_CHAR", message); + onError(token2, "MISSING_CHAR", message); } - length3 += token.source.length; - comment2 = token.source.substring(1); + length3 += token2.source.length; + comment2 = token2.source.substring(1); break; case "error": - onError(token, "UNEXPECTED_TOKEN", token.message); - length3 += token.source.length; + onError(token2, "UNEXPECTED_TOKEN", token2.message); + length3 += token2.source.length; break; /* istanbul ignore next should not happen */ default: { - const message = `Unexpected token in block scalar header: ${token.type}`; - onError(token, "UNEXPECTED_TOKEN", message); - const ts = token.source; - if (ts && typeof ts === "string") - length3 += ts.length; + const message = `Unexpected token in block scalar header: ${token2.type}`; + onError(token2, "UNEXPECTED_TOKEN", message); + const ts8 = token2.source; + if (ts8 && typeof ts8 === "string") + length3 += ts8.length; } } } - return { mode, indent, chomp, comment: comment2, length: length3 }; + return { mode, indent: indent3, chomp, comment: comment2, length: length3 }; } - function splitLines(source) { - const split = source.split(/\n( *)/); + function splitLines2(source2) { + const split = source2.split(/\n( *)/); const first = split[0]; - const m = first.match(/^( *)/); - const line0 = m?.[1] ? [m[1], first.slice(m[1].length)] : ["", first]; + const m7 = first.match(/^( *)/); + const line0 = m7?.[1] ? [m7[1], first.slice(m7[1].length)] : ["", first]; const lines = [line0]; - for (let i2 = 1; i2 < split.length; i2 += 2) - lines.push([split[i2], split[i2 + 1]]); + for (let i5 = 1; i5 < split.length; i5 += 2) + lines.push([split[i5], split[i5 + 1]]); return lines; } exports.resolveBlockScalar = resolveBlockScalar; @@ -32760,22 +32763,22 @@ var require_resolve_flow_scalar = __commonJS({ var Scalar = require_Scalar(); var resolveEnd = require_resolve_end(); function resolveFlowScalar(scalar, strict, onError) { - const { offset, type, source, end } = scalar; + const { offset, type, source: source2, end } = scalar; let _type; let value; const _onError = (rel, code, msg) => onError(offset + rel, code, msg); switch (type) { case "scalar": _type = Scalar.Scalar.PLAIN; - value = plainValue(source, _onError); + value = plainValue(source2, _onError); break; case "single-quoted-scalar": _type = Scalar.Scalar.QUOTE_SINGLE; - value = singleQuotedValue(source, _onError); + value = singleQuotedValue(source2, _onError); break; case "double-quoted-scalar": _type = Scalar.Scalar.QUOTE_DOUBLE; - value = doubleQuotedValue(source, _onError); + value = doubleQuotedValue(source2, _onError); break; /* istanbul ignore next should not happen */ default: @@ -32784,21 +32787,21 @@ var require_resolve_flow_scalar = __commonJS({ value: "", type: null, comment: "", - range: [offset, offset + source.length, offset + source.length] + range: [offset, offset + source2.length, offset + source2.length] }; } - const valueEnd = offset + source.length; - const re = resolveEnd.resolveEnd(end, valueEnd, strict, onError); + const valueEnd = offset + source2.length; + const re9 = resolveEnd.resolveEnd(end, valueEnd, strict, onError); return { value, type: _type, - comment: re.comment, - range: [offset, valueEnd, re.offset] + comment: re9.comment, + range: [offset, valueEnd, re9.offset] }; } - function plainValue(source, onError) { + function plainValue(source2, onError) { let badChar = ""; - switch (source[0]) { + switch (source2[0]) { /* istanbul ignore next should not happen */ case " ": badChar = "a tab character"; @@ -32811,41 +32814,41 @@ var require_resolve_flow_scalar = __commonJS({ break; case "|": case ">": { - badChar = `block scalar indicator ${source[0]}`; + badChar = `block scalar indicator ${source2[0]}`; break; } case "@": case "`": { - badChar = `reserved character ${source[0]}`; + badChar = `reserved character ${source2[0]}`; break; } } if (badChar) onError(0, "BAD_SCALAR_START", `Plain value cannot start with ${badChar}`); - return foldLines(source); + return foldLines(source2); } - function singleQuotedValue(source, onError) { - if (source[source.length - 1] !== "'" || source.length === 1) - onError(source.length, "MISSING_CHAR", "Missing closing 'quote"); - return foldLines(source.slice(1, -1)).replace(/''/g, "'"); + function singleQuotedValue(source2, onError) { + if (source2[source2.length - 1] !== "'" || source2.length === 1) + onError(source2.length, "MISSING_CHAR", "Missing closing 'quote"); + return foldLines(source2.slice(1, -1)).replace(/''/g, "'"); } - function foldLines(source) { - let first, line; + function foldLines(source2) { + let first, line3; try { first = new RegExp("(.*?)(? wsStart ? source.slice(wsStart, i2 + 1) : ch; + next2 = source2[++i5 + 1]; + if (next2 !== "\n" && !(next2 === "\r" && source2[i5 + 2] === "\n")) + res += i5 > wsStart ? source2.slice(wsStart, i5 + 1) : ch2; } else { - res += ch; + res += ch2; } } - if (source[source.length - 1] !== '"' || source.length === 1) - onError(source.length, "MISSING_CHAR", 'Missing closing "quote'); + if (source2[source2.length - 1] !== '"' || source2.length === 1) + onError(source2.length, "MISSING_CHAR", 'Missing closing "quote'); return res; } - function foldNewline(source, offset) { + function foldNewline(source2, offset) { let fold = ""; - let ch = source[offset + 1]; - while (ch === " " || ch === " " || ch === "\n" || ch === "\r") { - if (ch === "\r" && source[offset + 2] !== "\n") + let ch2 = source2[offset + 1]; + while (ch2 === " " || ch2 === " " || ch2 === "\n" || ch2 === "\r") { + if (ch2 === "\r" && source2[offset + 2] !== "\n") break; - if (ch === "\n") + if (ch2 === "\n") fold += "\n"; offset += 1; - ch = source[offset + 1]; + ch2 = source2[offset + 1]; } if (!fold) fold = " "; @@ -32957,12 +32960,12 @@ var require_resolve_flow_scalar = __commonJS({ "\\": "\\", " ": " " }; - function parseCharCode(source, offset, length3, onError) { - const cc = source.substr(offset, length3); - const ok = cc.length === length3 && /^[0-9a-fA-F]+$/.test(cc); - const code = ok ? parseInt(cc, 16) : NaN; + function parseCharCode(source2, offset, length3, onError) { + const cc4 = source2.substr(offset, length3); + const ok2 = cc4.length === length3 && /^[0-9a-fA-F]+$/.test(cc4); + const code = ok2 ? parseInt(cc4, 16) : NaN; if (isNaN(code)) { - const raw = source.substr(offset - 2, length3 + 2); + const raw = source2.substr(offset - 2, length3 + 2); onError(offset - 2, "BAD_DQ_ESCAPE", `Invalid escape sequence ${raw}`); return raw; } @@ -32980,25 +32983,25 @@ var require_compose_scalar = __commonJS({ var Scalar = require_Scalar(); var resolveBlockScalar = require_resolve_block_scalar(); var resolveFlowScalar = require_resolve_flow_scalar(); - function composeScalar(ctx, token, tagToken, onError) { - const { value, type, comment: comment2, range } = token.type === "block-scalar" ? resolveBlockScalar.resolveBlockScalar(ctx, token, onError) : resolveFlowScalar.resolveFlowScalar(token, ctx.options.strict, onError); + function composeScalar(ctx, token2, tagToken, onError) { + const { value, type, comment: comment2, range } = token2.type === "block-scalar" ? resolveBlockScalar.resolveBlockScalar(ctx, token2, onError) : resolveFlowScalar.resolveFlowScalar(token2, ctx.options.strict, onError); const tagName = tagToken ? ctx.directives.tagName(tagToken.source, (msg) => onError(tagToken, "TAG_RESOLVE_FAILED", msg)) : null; let tag2; if (ctx.options.stringKeys && ctx.atKey) { tag2 = ctx.schema[identity.SCALAR]; } else if (tagName) tag2 = findScalarTagByName(ctx.schema, value, tagName, tagToken, onError); - else if (token.type === "scalar") - tag2 = findScalarTagByTest(ctx, value, token, onError); + else if (token2.type === "scalar") + tag2 = findScalarTagByTest(ctx, value, token2, onError); else tag2 = ctx.schema[identity.SCALAR]; let scalar; try { - const res = tag2.resolve(value, (msg) => onError(tagToken ?? token, "TAG_RESOLVE_FAILED", msg), ctx.options); + const res = tag2.resolve(value, (msg) => onError(tagToken ?? token2, "TAG_RESOLVE_FAILED", msg), ctx.options); scalar = identity.isScalar(res) ? res : new Scalar.Scalar(res); } catch (error2) { const msg = error2 instanceof Error ? error2.message : String(error2); - onError(tagToken ?? token, "TAG_RESOLVE_FAILED", msg); + onError(tagToken ?? token2, "TAG_RESOLVE_FAILED", msg); scalar = new Scalar.Scalar(value); } scalar.range = range; @@ -33028,23 +33031,23 @@ var require_compose_scalar = __commonJS({ for (const tag2 of matchWithTest) if (tag2.test?.test(value)) return tag2; - const kt = schema.knownTags[tagName]; - if (kt && !kt.collection) { - schema.tags.push(Object.assign({}, kt, { default: false, test: void 0 })); - return kt; + const kt12 = schema.knownTags[tagName]; + if (kt12 && !kt12.collection) { + schema.tags.push(Object.assign({}, kt12, { default: false, test: void 0 })); + return kt12; } onError(tagToken, "TAG_RESOLVE_FAILED", `Unresolved tag: ${tagName}`, tagName !== "tag:yaml.org,2002:str"); return schema[identity.SCALAR]; } - function findScalarTagByTest({ atKey, directives, schema }, value, token, onError) { + function findScalarTagByTest({ atKey, directives, schema }, value, token2, onError) { const tag2 = schema.tags.find((tag3) => (tag3.default === true || atKey && tag3.default === "key") && tag3.test?.test(value)) || schema[identity.SCALAR]; if (schema.compat) { const compat = schema.compat.find((tag3) => tag3.default && tag3.test?.test(value)) ?? schema[identity.SCALAR]; if (tag2.tag !== compat.tag) { - const ts = directives.tagString(tag2.tag); - const cs = directives.tagString(compat.tag); - const msg = `Value may be parsed as either ${ts} or ${cs}`; - onError(token, "TAG_RESOLVE_FAILED", msg, true); + const ts8 = directives.tagString(tag2.tag); + const cs7 = directives.tagString(compat.tag); + const msg = `Value may be parsed as either ${ts8} or ${cs7}`; + onError(token2, "TAG_RESOLVE_FAILED", msg, true); } } return tag2; @@ -33057,22 +33060,22 @@ var require_compose_scalar = __commonJS({ var require_util_empty_scalar_position = __commonJS({ "node_modules/yaml/dist/compose/util-empty-scalar-position.js"(exports) { "use strict"; - function emptyScalarPosition(offset, before2, pos) { + function emptyScalarPosition(offset, before2, pos2) { if (before2) { - pos ?? (pos = before2.length); - for (let i2 = pos - 1; i2 >= 0; --i2) { - let st = before2[i2]; - switch (st.type) { + pos2 ?? (pos2 = before2.length); + for (let i5 = pos2 - 1; i5 >= 0; --i5) { + let st8 = before2[i5]; + switch (st8.type) { case "space": case "comment": case "newline": - offset -= st.source.length; + offset -= st8.source.length; continue; } - st = before2[++i2]; - while (st?.type === "space") { - offset += st.source.length; - st = before2[++i2]; + st8 = before2[++i5]; + while (st8?.type === "space") { + offset += st8.source.length; + st8 = before2[++i5]; } break; } @@ -33094,22 +33097,22 @@ var require_compose_node = __commonJS({ var resolveEnd = require_resolve_end(); var utilEmptyScalarPosition = require_util_empty_scalar_position(); var CN = { composeNode, composeEmptyNode }; - function composeNode(ctx, token, props, onError) { + function composeNode(ctx, token2, props, onError) { const atKey = ctx.atKey; const { spaceBefore, comment: comment2, anchor, tag: tag2 } = props; let node2; let isSrcToken = true; - switch (token.type) { + switch (token2.type) { case "alias": - node2 = composeAlias(ctx, token, onError); + node2 = composeAlias(ctx, token2, onError); if (anchor || tag2) - onError(token, "ALIAS_PROPS", "An alias node must not specify any properties"); + onError(token2, "ALIAS_PROPS", "An alias node must not specify any properties"); break; case "scalar": case "single-quoted-scalar": case "double-quoted-scalar": case "block-scalar": - node2 = composeScalar.composeScalar(ctx, token, tag2, onError); + node2 = composeScalar.composeScalar(ctx, token2, tag2, onError); if (anchor) node2.anchor = anchor.source.substring(1); break; @@ -33117,47 +33120,47 @@ var require_compose_node = __commonJS({ case "block-seq": case "flow-collection": try { - node2 = composeCollection.composeCollection(CN, ctx, token, props, onError); + node2 = composeCollection.composeCollection(CN, ctx, token2, props, onError); if (anchor) node2.anchor = anchor.source.substring(1); } catch (error2) { const message = error2 instanceof Error ? error2.message : String(error2); - onError(token, "RESOURCE_EXHAUSTION", message); + onError(token2, "RESOURCE_EXHAUSTION", message); } break; default: { - const message = token.type === "error" ? token.message : `Unsupported token (type: ${token.type})`; - onError(token, "UNEXPECTED_TOKEN", message); + const message = token2.type === "error" ? token2.message : `Unsupported token (type: ${token2.type})`; + onError(token2, "UNEXPECTED_TOKEN", message); isSrcToken = false; } } - node2 ?? (node2 = composeEmptyNode(ctx, token.offset, void 0, null, props, onError)); + node2 ?? (node2 = composeEmptyNode(ctx, token2.offset, void 0, null, props, onError)); if (anchor && node2.anchor === "") onError(anchor, "BAD_ALIAS", "Anchor cannot be an empty string"); if (atKey && ctx.options.stringKeys && (!identity.isScalar(node2) || typeof node2.value !== "string" || node2.tag && node2.tag !== "tag:yaml.org,2002:str")) { const msg = "With stringKeys, all keys must be strings"; - onError(tag2 ?? token, "NON_STRING_KEY", msg); + onError(tag2 ?? token2, "NON_STRING_KEY", msg); } if (spaceBefore) node2.spaceBefore = true; if (comment2) { - if (token.type === "scalar" && token.source === "") + if (token2.type === "scalar" && token2.source === "") node2.comment = comment2; else node2.commentBefore = comment2; } if (ctx.options.keepSourceTokens && isSrcToken) - node2.srcToken = token; + node2.srcToken = token2; return node2; } - function composeEmptyNode(ctx, offset, before2, pos, { spaceBefore, comment: comment2, anchor, tag: tag2, end }, onError) { - const token = { + function composeEmptyNode(ctx, offset, before2, pos2, { spaceBefore, comment: comment2, anchor, tag: tag2, end }, onError) { + const token2 = { type: "scalar", - offset: utilEmptyScalarPosition.emptyScalarPosition(offset, before2, pos), + offset: utilEmptyScalarPosition.emptyScalarPosition(offset, before2, pos2), indent: -1, source: "" }; - const node2 = composeScalar.composeScalar(ctx, token, tag2, onError); + const node2 = composeScalar.composeScalar(ctx, token2, tag2, onError); if (anchor) { node2.anchor = anchor.source.substring(1); if (node2.anchor === "") @@ -33171,17 +33174,17 @@ var require_compose_node = __commonJS({ } return node2; } - function composeAlias({ options }, { offset, source, end }, onError) { - const alias = new Alias.Alias(source.substring(1)); + function composeAlias({ options: options8 }, { offset, source: source2, end }, onError) { + const alias = new Alias.Alias(source2.substring(1)); if (alias.source === "") onError(offset, "BAD_ALIAS", "Alias cannot be an empty string"); if (alias.source.endsWith(":")) - onError(offset + source.length - 1, "BAD_ALIAS", "Alias ending in : is ambiguous", true); - const valueEnd = offset + source.length; - const re = resolveEnd.resolveEnd(end, valueEnd, options.strict, onError); - alias.range = [offset, valueEnd, re.offset]; - if (re.comment) - alias.comment = re.comment; + onError(offset + source2.length - 1, "BAD_ALIAS", "Alias ending in : is ambiguous", true); + const valueEnd = offset + source2.length; + const re9 = resolveEnd.resolveEnd(end, valueEnd, options8.strict, onError); + alias.range = [offset, valueEnd, re9.offset]; + if (re9.comment) + alias.comment = re9.comment; return alias; } exports.composeEmptyNode = composeEmptyNode; @@ -33197,8 +33200,8 @@ var require_compose_doc = __commonJS({ var composeNode = require_compose_node(); var resolveEnd = require_resolve_end(); var resolveProps = require_resolve_props(); - function composeDoc(options, directives, { offset, start, value, end }, onError) { - const opts = Object.assign({ _directives: directives }, options); + function composeDoc(options8, directives, { offset, start, value, end }, onError) { + const opts = Object.assign({ _directives: directives }, options8); const doc = new Document2.Document(void 0, opts); const ctx = { atKey: false, @@ -33222,10 +33225,10 @@ var require_compose_doc = __commonJS({ } doc.contents = value ? composeNode.composeNode(ctx, value, props, onError) : composeNode.composeEmptyNode(ctx, props.end, start, null, props, onError); const contentEnd = doc.contents.range[2]; - const re = resolveEnd.resolveEnd(end, contentEnd, false, onError); - if (re.comment) - doc.comment = re.comment; - doc.range = [offset, contentEnd, re.offset]; + const re9 = resolveEnd.resolveEnd(end, contentEnd, false, onError); + if (re9.comment) + doc.comment = re9.comment; + doc.range = [offset, contentEnd, re9.offset]; return doc; } exports.composeDoc = composeDoc; @@ -33248,24 +33251,24 @@ var require_composer = __commonJS({ return [src, src + 1]; if (Array.isArray(src)) return src.length === 2 ? src : [src[0], src[1]]; - const { offset, source } = src; - return [offset, offset + (typeof source === "string" ? source.length : 1)]; + const { offset, source: source2 } = src; + return [offset, offset + (typeof source2 === "string" ? source2.length : 1)]; } function parsePrelude(prelude) { let comment2 = ""; let atComment = false; let afterEmptyLine = false; - for (let i2 = 0; i2 < prelude.length; ++i2) { - const source = prelude[i2]; - switch (source[0]) { + for (let i5 = 0; i5 < prelude.length; ++i5) { + const source2 = prelude[i5]; + switch (source2[0]) { case "#": - comment2 += (comment2 === "" ? "" : afterEmptyLine ? "\n\n" : "\n") + (source.substring(1) || " "); + comment2 += (comment2 === "" ? "" : afterEmptyLine ? "\n\n" : "\n") + (source2.substring(1) || " "); atComment = true; afterEmptyLine = false; break; case "%": - if (prelude[i2 + 1]?.[0] !== "#") - i2 += 1; + if (prelude[i5 + 1]?.[0] !== "#") + i5 += 1; atComment = false; break; default: @@ -33277,42 +33280,42 @@ var require_composer = __commonJS({ return { comment: comment2, afterEmptyLine }; } var Composer = class { - constructor(options = {}) { + constructor(options8 = {}) { this.doc = null; this.atDirectives = false; this.prelude = []; this.errors = []; this.warnings = []; - this.onError = (source, code, message, warning) => { - const pos = getErrorPos(source); + this.onError = (source2, code, message, warning) => { + const pos2 = getErrorPos(source2); if (warning) - this.warnings.push(new errors.YAMLWarning(pos, code, message)); + this.warnings.push(new errors.YAMLWarning(pos2, code, message)); else - this.errors.push(new errors.YAMLParseError(pos, code, message)); + this.errors.push(new errors.YAMLParseError(pos2, code, message)); }; - this.directives = new directives.Directives({ version: options.version || "1.2" }); - this.options = options; + this.directives = new directives.Directives({ version: options8.version || "1.2" }); + this.options = options8; } decorate(doc, afterDoc) { const { comment: comment2, afterEmptyLine } = parsePrelude(this.prelude); if (comment2) { - const dc = doc.contents; + const dc3 = doc.contents; if (afterDoc) { doc.comment = doc.comment ? `${doc.comment} ${comment2}` : comment2; - } else if (afterEmptyLine || doc.directives.docStart || !dc) { + } else if (afterEmptyLine || doc.directives.docStart || !dc3) { doc.commentBefore = comment2; - } else if (identity.isCollection(dc) && !dc.flow && dc.items.length > 0) { - let it = dc.items[0]; - if (identity.isPair(it)) - it = it.key; - const cb = it.commentBefore; - it.commentBefore = cb ? `${comment2} -${cb}` : comment2; + } else if (identity.isCollection(dc3) && !dc3.flow && dc3.items.length > 0) { + let it10 = dc3.items[0]; + if (identity.isPair(it10)) + it10 = it10.key; + const cb2 = it10.commentBefore; + it10.commentBefore = cb2 ? `${comment2} +${cb2}` : comment2; } else { - const cb = dc.commentBefore; - dc.commentBefore = cb ? `${comment2} -${cb}` : comment2; + const cb2 = dc3.commentBefore; + dc3.commentBefore = cb2 ? `${comment2} +${cb2}` : comment2; } } if (afterDoc) { @@ -33346,28 +33349,28 @@ ${cb}` : comment2; * @param endOffset - Should be set if `forceDoc` is also set, to set the document range end and to indicate errors correctly. */ *compose(tokens, forceDoc = false, endOffset = -1) { - for (const token of tokens) - yield* this.next(token); + for (const token2 of tokens) + yield* this.next(token2); yield* this.end(forceDoc, endOffset); } /** Advance the composer by one CST token. */ - *next(token) { + *next(token2) { if (node_process.env.LOG_STREAM) - console.dir(token, { depth: null }); - switch (token.type) { + console.dir(token2, { depth: null }); + switch (token2.type) { case "directive": - this.directives.add(token.source, (offset, message, warning) => { - const pos = getErrorPos(token); - pos[0] += offset; - this.onError(pos, "BAD_DIRECTIVE", message, warning); + this.directives.add(token2.source, (offset, message, warning) => { + const pos2 = getErrorPos(token2); + pos2[0] += offset; + this.onError(pos2, "BAD_DIRECTIVE", message, warning); }); - this.prelude.push(token.source); + this.prelude.push(token2.source); this.atDirectives = true; break; case "document": { - const doc = composeDoc.composeDoc(this.options, this.directives, token, this.onError); + const doc = composeDoc.composeDoc(this.options, this.directives, token2, this.onError); if (this.atDirectives && !doc.directives.docStart) - this.onError(token, "MISSING_CHAR", "Missing directives-end/doc-start indicator line"); + this.onError(token2, "MISSING_CHAR", "Missing directives-end/doc-start indicator line"); this.decorate(doc, false); if (this.doc) yield this.doc; @@ -33380,11 +33383,11 @@ ${cb}` : comment2; break; case "comment": case "newline": - this.prelude.push(token.source); + this.prelude.push(token2.source); break; case "error": { - const msg = token.source ? `${token.message}: ${JSON.stringify(token.source)}` : token.message; - const error2 = new errors.YAMLParseError(getErrorPos(token), "UNEXPECTED_TOKEN", msg); + const msg = token2.source ? `${token2.message}: ${JSON.stringify(token2.source)}` : token2.message; + const error2 = new errors.YAMLParseError(getErrorPos(token2), "UNEXPECTED_TOKEN", msg); if (this.atDirectives || !this.doc) this.errors.push(error2); else @@ -33394,22 +33397,22 @@ ${cb}` : comment2; case "doc-end": { if (!this.doc) { const msg = "Unexpected doc-end without preceding document"; - this.errors.push(new errors.YAMLParseError(getErrorPos(token), "UNEXPECTED_TOKEN", msg)); + this.errors.push(new errors.YAMLParseError(getErrorPos(token2), "UNEXPECTED_TOKEN", msg)); break; } this.doc.directives.docEnd = true; - const end = resolveEnd.resolveEnd(token.end, token.offset + token.source.length, this.doc.options.strict, this.onError); + const end = resolveEnd.resolveEnd(token2.end, token2.offset + token2.source.length, this.doc.options.strict, this.onError); this.decorate(this.doc, true); if (end.comment) { - const dc = this.doc.comment; - this.doc.comment = dc ? `${dc} + const dc3 = this.doc.comment; + this.doc.comment = dc3 ? `${dc3} ${end.comment}` : end.comment; } this.doc.range[2] = end.offset; break; } default: - this.errors.push(new errors.YAMLParseError(getErrorPos(token), "UNEXPECTED_TOKEN", `Unsupported token ${token.type}`)); + this.errors.push(new errors.YAMLParseError(getErrorPos(token2), "UNEXPECTED_TOKEN", `Unsupported token ${token2.type}`)); } } /** @@ -33446,65 +33449,65 @@ var require_cst_scalar = __commonJS({ var resolveFlowScalar = require_resolve_flow_scalar(); var errors = require_errors2(); var stringifyString = require_stringifyString(); - function resolveAsScalar(token, strict = true, onError) { - if (token) { - const _onError = (pos, code, message) => { - const offset = typeof pos === "number" ? pos : Array.isArray(pos) ? pos[0] : pos.offset; + function resolveAsScalar(token2, strict = true, onError) { + if (token2) { + const _onError = (pos2, code, message) => { + const offset = typeof pos2 === "number" ? pos2 : Array.isArray(pos2) ? pos2[0] : pos2.offset; if (onError) onError(offset, code, message); else throw new errors.YAMLParseError([offset, offset + 1], code, message); }; - switch (token.type) { + switch (token2.type) { case "scalar": case "single-quoted-scalar": case "double-quoted-scalar": - return resolveFlowScalar.resolveFlowScalar(token, strict, _onError); + return resolveFlowScalar.resolveFlowScalar(token2, strict, _onError); case "block-scalar": - return resolveBlockScalar.resolveBlockScalar({ options: { strict } }, token, _onError); + return resolveBlockScalar.resolveBlockScalar({ options: { strict } }, token2, _onError); } } return null; } function createScalarToken(value, context3) { - const { implicitKey = false, indent, inFlow = false, offset = -1, type = "PLAIN" } = context3; - const source = stringifyString.stringifyString({ type, value }, { + const { implicitKey = false, indent: indent3, inFlow = false, offset = -1, type = "PLAIN" } = context3; + const source2 = stringifyString.stringifyString({ type, value }, { implicitKey, - indent: indent > 0 ? " ".repeat(indent) : "", + indent: indent3 > 0 ? " ".repeat(indent3) : "", inFlow, options: { blockQuote: true, lineWidth: -1 } }); const end = context3.end ?? [ - { type: "newline", offset: -1, indent, source: "\n" } + { type: "newline", offset: -1, indent: indent3, source: "\n" } ]; - switch (source[0]) { + switch (source2[0]) { case "|": case ">": { - const he = source.indexOf("\n"); - const head = source.substring(0, he); - const body = source.substring(he + 1) + "\n"; + const he11 = source2.indexOf("\n"); + const head = source2.substring(0, he11); + const body = source2.substring(he11 + 1) + "\n"; const props = [ - { type: "block-scalar-header", offset, indent, source: head } + { type: "block-scalar-header", offset, indent: indent3, source: head } ]; if (!addEndtoBlockProps(props, end)) - props.push({ type: "newline", offset: -1, indent, source: "\n" }); - return { type: "block-scalar", offset, indent, props, source: body }; + props.push({ type: "newline", offset: -1, indent: indent3, source: "\n" }); + return { type: "block-scalar", offset, indent: indent3, props, source: body }; } case '"': - return { type: "double-quoted-scalar", offset, indent, source, end }; + return { type: "double-quoted-scalar", offset, indent: indent3, source: source2, end }; case "'": - return { type: "single-quoted-scalar", offset, indent, source, end }; + return { type: "single-quoted-scalar", offset, indent: indent3, source: source2, end }; default: - return { type: "scalar", offset, indent, source, end }; + return { type: "scalar", offset, indent: indent3, source: source2, end }; } } - function setScalarValue(token, value, context3 = {}) { + function setScalarValue(token2, value, context3 = {}) { let { afterKey = false, implicitKey = false, inFlow = false, type } = context3; - let indent = "indent" in token ? token.indent : null; - if (afterKey && typeof indent === "number") - indent += 2; + let indent3 = "indent" in token2 ? token2.indent : null; + if (afterKey && typeof indent3 === "number") + indent3 += 2; if (!type) - switch (token.type) { + switch (token2.type) { case "single-quoted-scalar": type = "QUOTE_SINGLE"; break; @@ -33512,7 +33515,7 @@ var require_cst_scalar = __commonJS({ type = "QUOTE_DOUBLE"; break; case "block-scalar": { - const header = token.props[0]; + const header = token2.props[0]; if (header.type !== "block-scalar-header") throw new Error("Invalid block scalar header"); type = header.source[0] === ">" ? "BLOCK_FOLDED" : "BLOCK_LITERAL"; @@ -33521,99 +33524,99 @@ var require_cst_scalar = __commonJS({ default: type = "PLAIN"; } - const source = stringifyString.stringifyString({ type, value }, { - implicitKey: implicitKey || indent === null, - indent: indent !== null && indent > 0 ? " ".repeat(indent) : "", + const source2 = stringifyString.stringifyString({ type, value }, { + implicitKey: implicitKey || indent3 === null, + indent: indent3 !== null && indent3 > 0 ? " ".repeat(indent3) : "", inFlow, options: { blockQuote: true, lineWidth: -1 } }); - switch (source[0]) { + switch (source2[0]) { case "|": case ">": - setBlockScalarValue(token, source); + setBlockScalarValue(token2, source2); break; case '"': - setFlowScalarValue(token, source, "double-quoted-scalar"); + setFlowScalarValue(token2, source2, "double-quoted-scalar"); break; case "'": - setFlowScalarValue(token, source, "single-quoted-scalar"); + setFlowScalarValue(token2, source2, "single-quoted-scalar"); break; default: - setFlowScalarValue(token, source, "scalar"); + setFlowScalarValue(token2, source2, "scalar"); } } - function setBlockScalarValue(token, source) { - const he = source.indexOf("\n"); - const head = source.substring(0, he); - const body = source.substring(he + 1) + "\n"; - if (token.type === "block-scalar") { - const header = token.props[0]; + function setBlockScalarValue(token2, source2) { + const he11 = source2.indexOf("\n"); + const head = source2.substring(0, he11); + const body = source2.substring(he11 + 1) + "\n"; + if (token2.type === "block-scalar") { + const header = token2.props[0]; if (header.type !== "block-scalar-header") throw new Error("Invalid block scalar header"); header.source = head; - token.source = body; + token2.source = body; } else { - const { offset } = token; - const indent = "indent" in token ? token.indent : -1; + const { offset } = token2; + const indent3 = "indent" in token2 ? token2.indent : -1; const props = [ - { type: "block-scalar-header", offset, indent, source: head } + { type: "block-scalar-header", offset, indent: indent3, source: head } ]; - if (!addEndtoBlockProps(props, "end" in token ? token.end : void 0)) - props.push({ type: "newline", offset: -1, indent, source: "\n" }); - for (const key of Object.keys(token)) - if (key !== "type" && key !== "offset") - delete token[key]; - Object.assign(token, { type: "block-scalar", indent, props, source: body }); + if (!addEndtoBlockProps(props, "end" in token2 ? token2.end : void 0)) + props.push({ type: "newline", offset: -1, indent: indent3, source: "\n" }); + for (const key2 of Object.keys(token2)) + if (key2 !== "type" && key2 !== "offset") + delete token2[key2]; + Object.assign(token2, { type: "block-scalar", indent: indent3, props, source: body }); } } function addEndtoBlockProps(props, end) { if (end) - for (const st of end) - switch (st.type) { + for (const st8 of end) + switch (st8.type) { case "space": case "comment": - props.push(st); + props.push(st8); break; case "newline": - props.push(st); + props.push(st8); return true; } return false; } - function setFlowScalarValue(token, source, type) { - switch (token.type) { + function setFlowScalarValue(token2, source2, type) { + switch (token2.type) { case "scalar": case "double-quoted-scalar": case "single-quoted-scalar": - token.type = type; - token.source = source; + token2.type = type; + token2.source = source2; break; case "block-scalar": { - const end = token.props.slice(1); - let oa = source.length; - if (token.props[0].type === "block-scalar-header") - oa -= token.props[0].source.length; + const end = token2.props.slice(1); + let oa3 = source2.length; + if (token2.props[0].type === "block-scalar-header") + oa3 -= token2.props[0].source.length; for (const tok of end) - tok.offset += oa; - delete token.props; - Object.assign(token, { type, source, end }); + tok.offset += oa3; + delete token2.props; + Object.assign(token2, { type, source: source2, end }); break; } case "block-map": case "block-seq": { - const offset = token.offset + source.length; - const nl2 = { type: "newline", offset, indent: token.indent, source: "\n" }; - delete token.items; - Object.assign(token, { type, source, end: [nl2] }); + const offset = token2.offset + source2.length; + const nl6 = { type: "newline", offset, indent: token2.indent, source: "\n" }; + delete token2.items; + Object.assign(token2, { type, source: source2, end: [nl6] }); break; } default: { - const indent = "indent" in token ? token.indent : -1; - const end = "end" in token && Array.isArray(token.end) ? token.end.filter((st) => st.type === "space" || st.type === "comment" || st.type === "newline") : []; - for (const key of Object.keys(token)) - if (key !== "type" && key !== "offset") - delete token[key]; - Object.assign(token, { type, indent, source, end }); + const indent3 = "indent" in token2 ? token2.indent : -1; + const end = "end" in token2 && Array.isArray(token2.end) ? token2.end.filter((st8) => st8.type === "space" || st8.type === "comment" || st8.type === "newline") : []; + for (const key2 of Object.keys(token2)) + if (key2 !== "type" && key2 !== "offset") + delete token2[key2]; + Object.assign(token2, { type, indent: indent3, source: source2, end }); } } } @@ -33628,54 +33631,54 @@ var require_cst_stringify = __commonJS({ "node_modules/yaml/dist/parse/cst-stringify.js"(exports) { "use strict"; var stringify = (cst) => "type" in cst ? stringifyToken(cst) : stringifyItem(cst); - function stringifyToken(token) { - switch (token.type) { + function stringifyToken(token2) { + switch (token2.type) { case "block-scalar": { let res = ""; - for (const tok of token.props) + for (const tok of token2.props) res += stringifyToken(tok); - return res + token.source; + return res + token2.source; } case "block-map": case "block-seq": { let res = ""; - for (const item of token.items) + for (const item of token2.items) res += stringifyItem(item); return res; } case "flow-collection": { - let res = token.start.source; - for (const item of token.items) + let res = token2.start.source; + for (const item of token2.items) res += stringifyItem(item); - for (const st of token.end) - res += st.source; + for (const st8 of token2.end) + res += st8.source; return res; } case "document": { - let res = stringifyItem(token); - if (token.end) - for (const st of token.end) - res += st.source; + let res = stringifyItem(token2); + if (token2.end) + for (const st8 of token2.end) + res += st8.source; return res; } default: { - let res = token.source; - if ("end" in token && token.end) - for (const st of token.end) - res += st.source; + let res = token2.source; + if ("end" in token2 && token2.end) + for (const st8 of token2.end) + res += st8.source; return res; } } } - function stringifyItem({ start, key, sep: sep2, value }) { + function stringifyItem({ start, key: key2, sep: sep2, value }) { let res = ""; - for (const st of start) - res += st.source; - if (key) - res += stringifyToken(key); + for (const st8 of start) + res += st8.source; + if (key2) + res += stringifyToken(key2); if (sep2) - for (const st of sep2) - res += st.source; + for (const st8 of sep2) + res += st8.source; if (value) res += stringifyToken(value); return res; @@ -33699,9 +33702,9 @@ var require_cst_visit = __commonJS({ visit.BREAK = BREAK; visit.SKIP = SKIP; visit.REMOVE = REMOVE; - visit.itemAtPath = (cst, path7) => { + visit.itemAtPath = (cst, path19) => { let item = cst; - for (const [field, index] of path7) { + for (const [field, index] of path19) { const tok = item?.[field]; if (tok && "items" in tok) { item = tok.items[index]; @@ -33710,37 +33713,37 @@ var require_cst_visit = __commonJS({ } return item; }; - visit.parentCollection = (cst, path7) => { - const parent = visit.itemAtPath(cst, path7.slice(0, -1)); - const field = path7[path7.length - 1][0]; + visit.parentCollection = (cst, path19) => { + const parent = visit.itemAtPath(cst, path19.slice(0, -1)); + const field = path19[path19.length - 1][0]; const coll = parent?.[field]; if (coll && "items" in coll) return coll; throw new Error("Parent collection not found"); }; - function _visit(path7, item, visitor) { - let ctrl = visitor(item, path7); + function _visit(path19, item, visitor) { + let ctrl = visitor(item, path19); if (typeof ctrl === "symbol") return ctrl; for (const field of ["key", "value"]) { - const token = item[field]; - if (token && "items" in token) { - for (let i2 = 0; i2 < token.items.length; ++i2) { - const ci = _visit(Object.freeze(path7.concat([[field, i2]])), token.items[i2], visitor); - if (typeof ci === "number") - i2 = ci - 1; - else if (ci === BREAK) + const token2 = item[field]; + if (token2 && "items" in token2) { + for (let i5 = 0; i5 < token2.items.length; ++i5) { + const ci10 = _visit(Object.freeze(path19.concat([[field, i5]])), token2.items[i5], visitor); + if (typeof ci10 === "number") + i5 = ci10 - 1; + else if (ci10 === BREAK) return BREAK; - else if (ci === REMOVE) { - token.items.splice(i2, 1); - i2 -= 1; + else if (ci10 === REMOVE) { + token2.items.splice(i5, 1); + i5 -= 1; } } if (typeof ctrl === "function" && field === "key") - ctrl = ctrl(item, path7); + ctrl = ctrl(item, path19); } } - return typeof ctrl === "function" ? ctrl(item, path7) : ctrl; + return typeof ctrl === "function" ? ctrl(item, path19) : ctrl; } exports.visit = visit; } @@ -33753,15 +33756,15 @@ var require_cst = __commonJS({ var cstScalar = require_cst_scalar(); var cstStringify = require_cst_stringify(); var cstVisit = require_cst_visit(); - var BOM = "\uFEFF"; + var BOM2 = "\uFEFF"; var DOCUMENT = ""; var FLOW_END = ""; var SCALAR = ""; - var isCollection = (token) => !!token && "items" in token; - var isScalar = (token) => !!token && (token.type === "scalar" || token.type === "single-quoted-scalar" || token.type === "double-quoted-scalar" || token.type === "block-scalar"); - function prettyToken(token) { - switch (token) { - case BOM: + var isCollection = (token2) => !!token2 && "items" in token2; + var isScalar = (token2) => !!token2 && (token2.type === "scalar" || token2.type === "single-quoted-scalar" || token2.type === "double-quoted-scalar" || token2.type === "block-scalar"); + function prettyToken(token2) { + switch (token2) { + case BOM2: return ""; case DOCUMENT: return ""; @@ -33770,12 +33773,12 @@ var require_cst = __commonJS({ case SCALAR: return ""; default: - return JSON.stringify(token); + return JSON.stringify(token2); } } - function tokenType(source) { - switch (source) { - case BOM: + function tokenType(source2) { + switch (source2) { + case BOM2: return "byte-order-mark"; case DOCUMENT: return "doc-mode"; @@ -33808,7 +33811,7 @@ var require_cst = __commonJS({ case ",": return "comma"; } - switch (source[0]) { + switch (source2[0]) { case " ": case " ": return "space"; @@ -33837,7 +33840,7 @@ var require_cst = __commonJS({ exports.setScalarValue = cstScalar.setScalarValue; exports.stringify = cstStringify.stringify; exports.visit = cstVisit.visit; - exports.BOM = BOM; + exports.BOM = BOM2; exports.DOCUMENT = DOCUMENT; exports.FLOW_END = FLOW_END; exports.SCALAR = SCALAR; @@ -33853,8 +33856,8 @@ var require_lexer = __commonJS({ "node_modules/yaml/dist/parse/lexer.js"(exports) { "use strict"; var cst = require_cst(); - function isEmpty(ch) { - switch (ch) { + function isEmpty(ch2) { + switch (ch2) { case void 0: case " ": case "\n": @@ -33869,7 +33872,7 @@ var require_lexer = __commonJS({ var tagChars = new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"); var flowIndicatorChars = new Set(",[]{}"); var invalidAnchorChars = new Set(" ,[]{}\n\r "); - var isNotAnchorChar = (ch) => !ch || invalidAnchorChars.has(ch); + var isNotAnchorChar = (ch2) => !ch2 || invalidAnchorChars.has(ch2); var Lexer = class { constructor() { this.atEnd = false; @@ -33890,11 +33893,11 @@ var require_lexer = __commonJS({ * * @returns A generator of lexical tokens */ - *lex(source, incomplete = false) { - if (source) { - if (typeof source !== "string") + *lex(source2, incomplete = false) { + if (source2) { + if (typeof source2 !== "string") throw TypeError("source is not a string"); - this.buffer = this.buffer ? this.buffer + source : source; + this.buffer = this.buffer ? this.buffer + source2 : source2; this.lineEndPos = null; } this.atEnd = !incomplete; @@ -33903,35 +33906,35 @@ var require_lexer = __commonJS({ next2 = yield* this.parseNext(next2); } atLineEnd() { - let i2 = this.pos; - let ch = this.buffer[i2]; - while (ch === " " || ch === " ") - ch = this.buffer[++i2]; - if (!ch || ch === "#" || ch === "\n") + let i5 = this.pos; + let ch2 = this.buffer[i5]; + while (ch2 === " " || ch2 === " ") + ch2 = this.buffer[++i5]; + if (!ch2 || ch2 === "#" || ch2 === "\n") return true; - if (ch === "\r") - return this.buffer[i2 + 1] === "\n"; + if (ch2 === "\r") + return this.buffer[i5 + 1] === "\n"; return false; } - charAt(n2) { - return this.buffer[this.pos + n2]; + charAt(n5) { + return this.buffer[this.pos + n5]; } continueScalar(offset) { - let ch = this.buffer[offset]; + let ch2 = this.buffer[offset]; if (this.indentNext > 0) { - let indent = 0; - while (ch === " ") - ch = this.buffer[++indent + offset]; - if (ch === "\r") { - const next2 = this.buffer[indent + offset + 1]; + let indent3 = 0; + while (ch2 === " ") + ch2 = this.buffer[++indent3 + offset]; + if (ch2 === "\r") { + const next2 = this.buffer[indent3 + offset + 1]; if (next2 === "\n" || !next2 && !this.atEnd) - return offset + indent + 1; + return offset + indent3 + 1; } - return ch === "\n" || indent >= this.indentNext || !ch && !this.atEnd ? offset + indent : -1; + return ch2 === "\n" || indent3 >= this.indentNext || !ch2 && !this.atEnd ? offset + indent3 : -1; } - if (ch === "-" || ch === ".") { - const dt = this.buffer.substr(offset, 3); - if ((dt === "---" || dt === "...") && isEmpty(this.buffer[offset + 3])) + if (ch2 === "-" || ch2 === ".") { + const dt8 = this.buffer.substr(offset, 3); + if ((dt8 === "---" || dt8 === "...") && isEmpty(this.buffer[offset + 3])) return -1; } return offset; @@ -33948,8 +33951,8 @@ var require_lexer = __commonJS({ end -= 1; return this.buffer.substring(this.pos, end); } - hasChars(n2) { - return this.pos + n2 <= this.buffer.length; + hasChars(n5) { + return this.pos + n5 <= this.buffer.length; } setNext(state) { this.buffer = this.buffer.substring(this.pos); @@ -33958,8 +33961,8 @@ var require_lexer = __commonJS({ this.next = state; return null; } - peek(n2) { - return this.buffer.substr(this.pos, n2); + peek(n5) { + return this.buffer.substr(this.pos, n5); } *parseNext(next2) { switch (next2) { @@ -33982,40 +33985,40 @@ var require_lexer = __commonJS({ } } *parseStream() { - let line = this.getLine(); - if (line === null) + let line3 = this.getLine(); + if (line3 === null) return this.setNext("stream"); - if (line[0] === cst.BOM) { + if (line3[0] === cst.BOM) { yield* this.pushCount(1); - line = line.substring(1); - } - if (line[0] === "%") { - let dirEnd = line.length; - let cs = line.indexOf("#"); - while (cs !== -1) { - const ch = line[cs - 1]; - if (ch === " " || ch === " ") { - dirEnd = cs - 1; + line3 = line3.substring(1); + } + if (line3[0] === "%") { + let dirEnd = line3.length; + let cs7 = line3.indexOf("#"); + while (cs7 !== -1) { + const ch2 = line3[cs7 - 1]; + if (ch2 === " " || ch2 === " ") { + dirEnd = cs7 - 1; break; } else { - cs = line.indexOf("#", cs + 1); + cs7 = line3.indexOf("#", cs7 + 1); } } while (true) { - const ch = line[dirEnd - 1]; - if (ch === " " || ch === " ") + const ch2 = line3[dirEnd - 1]; + if (ch2 === " " || ch2 === " ") dirEnd -= 1; else break; } - const n2 = (yield* this.pushCount(dirEnd)) + (yield* this.pushSpaces(true)); - yield* this.pushCount(line.length - n2); + const n5 = (yield* this.pushCount(dirEnd)) + (yield* this.pushSpaces(true)); + yield* this.pushCount(line3.length - n5); this.pushNewline(); return "stream"; } if (this.atLineEnd()) { - const sp = yield* this.pushSpaces(true); - yield* this.pushCount(line.length - sp); + const sp2 = yield* this.pushSpaces(true); + yield* this.pushCount(line3.length - sp2); yield* this.pushNewline(); return "stream"; } @@ -34023,18 +34026,18 @@ var require_lexer = __commonJS({ return yield* this.parseLineStart(); } *parseLineStart() { - const ch = this.charAt(0); - if (!ch && !this.atEnd) + const ch2 = this.charAt(0); + if (!ch2 && !this.atEnd) return this.setNext("line-start"); - if (ch === "-" || ch === ".") { + if (ch2 === "-" || ch2 === ".") { if (!this.atEnd && !this.hasChars(4)) return this.setNext("line-start"); - const s = this.peek(3); - if ((s === "---" || s === "...") && isEmpty(this.charAt(3))) { + const s5 = this.peek(3); + if ((s5 === "---" || s5 === "...") && isEmpty(this.charAt(3))) { yield* this.pushCount(3); this.indentValue = 0; this.indentNext = 0; - return s === "---" ? "doc" : "stream"; + return s5 === "---" ? "doc" : "stream"; } } this.indentValue = yield* this.pushSpaces(false); @@ -34047,22 +34050,22 @@ var require_lexer = __commonJS({ if (!ch1 && !this.atEnd) return this.setNext("block-start"); if ((ch0 === "-" || ch0 === "?" || ch0 === ":") && isEmpty(ch1)) { - const n2 = (yield* this.pushCount(1)) + (yield* this.pushSpaces(true)); + const n5 = (yield* this.pushCount(1)) + (yield* this.pushSpaces(true)); this.indentNext = this.indentValue + 1; - this.indentValue += n2; + this.indentValue += n5; return yield* this.parseBlockStart(); } return "doc"; } *parseDocument() { yield* this.pushSpaces(true); - const line = this.getLine(); - if (line === null) + const line3 = this.getLine(); + if (line3 === null) return this.setNext("doc"); - let n2 = yield* this.pushIndicators(); - switch (line[n2]) { + let n5 = yield* this.pushIndicators(); + switch (line3[n5]) { case "#": - yield* this.pushCount(line.length - n2); + yield* this.pushCount(line3.length - n5); // fallthrough case void 0: yield* this.pushNewline(); @@ -34085,9 +34088,9 @@ var require_lexer = __commonJS({ return yield* this.parseQuotedScalar(); case "|": case ">": - n2 += yield* this.parseBlockScalarHeader(); - n2 += yield* this.pushSpaces(true); - yield* this.pushCount(line.length - n2); + n5 += yield* this.parseBlockScalarHeader(); + n5 += yield* this.pushSpaces(true); + yield* this.pushCount(line3.length - n5); yield* this.pushNewline(); return yield* this.parseBlockScalar(); default: @@ -34095,41 +34098,41 @@ var require_lexer = __commonJS({ } } *parseFlowCollection() { - let nl2, sp; - let indent = -1; + let nl6, sp2; + let indent3 = -1; do { - nl2 = yield* this.pushNewline(); - if (nl2 > 0) { - sp = yield* this.pushSpaces(false); - this.indentValue = indent = sp; + nl6 = yield* this.pushNewline(); + if (nl6 > 0) { + sp2 = yield* this.pushSpaces(false); + this.indentValue = indent3 = sp2; } else { - sp = 0; + sp2 = 0; } - sp += yield* this.pushSpaces(true); - } while (nl2 + sp > 0); - const line = this.getLine(); - if (line === null) + sp2 += yield* this.pushSpaces(true); + } while (nl6 + sp2 > 0); + const line3 = this.getLine(); + if (line3 === null) return this.setNext("flow"); - if (indent !== -1 && indent < this.indentNext && line[0] !== "#" || indent === 0 && (line.startsWith("---") || line.startsWith("...")) && isEmpty(line[3])) { - const atFlowEndMarker = indent === this.indentNext - 1 && this.flowLevel === 1 && (line[0] === "]" || line[0] === "}"); + if (indent3 !== -1 && indent3 < this.indentNext && line3[0] !== "#" || indent3 === 0 && (line3.startsWith("---") || line3.startsWith("...")) && isEmpty(line3[3])) { + const atFlowEndMarker = indent3 === this.indentNext - 1 && this.flowLevel === 1 && (line3[0] === "]" || line3[0] === "}"); if (!atFlowEndMarker) { this.flowLevel = 0; yield cst.FLOW_END; return yield* this.parseLineStart(); } } - let n2 = 0; - while (line[n2] === ",") { - n2 += yield* this.pushCount(1); - n2 += yield* this.pushSpaces(true); + let n5 = 0; + while (line3[n5] === ",") { + n5 += yield* this.pushCount(1); + n5 += yield* this.pushSpaces(true); this.flowKey = false; } - n2 += yield* this.pushIndicators(); - switch (line[n2]) { + n5 += yield* this.pushIndicators(); + switch (line3[n5]) { case void 0: return "flow"; case "#": - yield* this.pushCount(line.length - n2); + yield* this.pushCount(line3.length - n5); return "flow"; case "{": case "[": @@ -34173,25 +34176,25 @@ var require_lexer = __commonJS({ end = this.buffer.indexOf("'", end + 2); } else { while (end !== -1) { - let n2 = 0; - while (this.buffer[end - 1 - n2] === "\\") - n2 += 1; - if (n2 % 2 === 0) + let n5 = 0; + while (this.buffer[end - 1 - n5] === "\\") + n5 += 1; + if (n5 % 2 === 0) break; end = this.buffer.indexOf('"', end + 1); } } - const qb = this.buffer.substring(0, end); - let nl2 = qb.indexOf("\n", this.pos); - if (nl2 !== -1) { - while (nl2 !== -1) { - const cs = this.continueScalar(nl2 + 1); - if (cs === -1) + const qb2 = this.buffer.substring(0, end); + let nl6 = qb2.indexOf("\n", this.pos); + if (nl6 !== -1) { + while (nl6 !== -1) { + const cs7 = this.continueScalar(nl6 + 1); + if (cs7 === -1) break; - nl2 = qb.indexOf("\n", cs); + nl6 = qb2.indexOf("\n", cs7); } - if (nl2 !== -1) { - end = nl2 - (qb[nl2 - 1] === "\r" ? 2 : 1); + if (nl6 !== -1) { + end = nl6 - (qb2[nl6 - 1] === "\r" ? 2 : 1); } } if (end === -1) { @@ -34205,33 +34208,33 @@ var require_lexer = __commonJS({ *parseBlockScalarHeader() { this.blockScalarIndent = -1; this.blockScalarKeep = false; - let i2 = this.pos; + let i5 = this.pos; while (true) { - const ch = this.buffer[++i2]; - if (ch === "+") + const ch2 = this.buffer[++i5]; + if (ch2 === "+") this.blockScalarKeep = true; - else if (ch > "0" && ch <= "9") - this.blockScalarIndent = Number(ch) - 1; - else if (ch !== "-") + else if (ch2 > "0" && ch2 <= "9") + this.blockScalarIndent = Number(ch2) - 1; + else if (ch2 !== "-") break; } - return yield* this.pushUntil((ch) => isEmpty(ch) || ch === "#"); + return yield* this.pushUntil((ch2) => isEmpty(ch2) || ch2 === "#"); } *parseBlockScalar() { - let nl2 = this.pos - 1; - let indent = 0; - let ch; - loop: for (let i3 = this.pos; ch = this.buffer[i3]; ++i3) { - switch (ch) { + let nl6 = this.pos - 1; + let indent3 = 0; + let ch2; + loop: for (let i7 = this.pos; ch2 = this.buffer[i7]; ++i7) { + switch (ch2) { case " ": - indent += 1; + indent3 += 1; break; case "\n": - nl2 = i3; - indent = 0; + nl6 = i7; + indent3 = 0; break; case "\r": { - const next2 = this.buffer[i3 + 1]; + const next2 = this.buffer[i7 + 1]; if (!next2 && !this.atEnd) return this.setNext("block-scalar"); if (next2 === "\n") @@ -34242,108 +34245,108 @@ var require_lexer = __commonJS({ break loop; } } - if (!ch && !this.atEnd) + if (!ch2 && !this.atEnd) return this.setNext("block-scalar"); - if (indent >= this.indentNext) { + if (indent3 >= this.indentNext) { if (this.blockScalarIndent === -1) - this.indentNext = indent; + this.indentNext = indent3; else { this.indentNext = this.blockScalarIndent + (this.indentNext === 0 ? 1 : this.indentNext); } do { - const cs = this.continueScalar(nl2 + 1); - if (cs === -1) + const cs7 = this.continueScalar(nl6 + 1); + if (cs7 === -1) break; - nl2 = this.buffer.indexOf("\n", cs); - } while (nl2 !== -1); - if (nl2 === -1) { + nl6 = this.buffer.indexOf("\n", cs7); + } while (nl6 !== -1); + if (nl6 === -1) { if (!this.atEnd) return this.setNext("block-scalar"); - nl2 = this.buffer.length; + nl6 = this.buffer.length; } } - let i2 = nl2 + 1; - ch = this.buffer[i2]; - while (ch === " ") - ch = this.buffer[++i2]; - if (ch === " ") { - while (ch === " " || ch === " " || ch === "\r" || ch === "\n") - ch = this.buffer[++i2]; - nl2 = i2 - 1; + let i5 = nl6 + 1; + ch2 = this.buffer[i5]; + while (ch2 === " ") + ch2 = this.buffer[++i5]; + if (ch2 === " ") { + while (ch2 === " " || ch2 === " " || ch2 === "\r" || ch2 === "\n") + ch2 = this.buffer[++i5]; + nl6 = i5 - 1; } else if (!this.blockScalarKeep) { do { - let i3 = nl2 - 1; - let ch2 = this.buffer[i3]; - if (ch2 === "\r") - ch2 = this.buffer[--i3]; - const lastChar = i3; - while (ch2 === " ") - ch2 = this.buffer[--i3]; - if (ch2 === "\n" && i3 >= this.pos && i3 + 1 + indent > lastChar) - nl2 = i3; + let i7 = nl6 - 1; + let ch3 = this.buffer[i7]; + if (ch3 === "\r") + ch3 = this.buffer[--i7]; + const lastChar = i7; + while (ch3 === " ") + ch3 = this.buffer[--i7]; + if (ch3 === "\n" && i7 >= this.pos && i7 + 1 + indent3 > lastChar) + nl6 = i7; else break; } while (true); } yield cst.SCALAR; - yield* this.pushToIndex(nl2 + 1, true); + yield* this.pushToIndex(nl6 + 1, true); return yield* this.parseLineStart(); } *parsePlainScalar() { const inFlow = this.flowLevel > 0; let end = this.pos - 1; - let i2 = this.pos - 1; - let ch; - while (ch = this.buffer[++i2]) { - if (ch === ":") { - const next2 = this.buffer[i2 + 1]; + let i5 = this.pos - 1; + let ch2; + while (ch2 = this.buffer[++i5]) { + if (ch2 === ":") { + const next2 = this.buffer[i5 + 1]; if (isEmpty(next2) || inFlow && flowIndicatorChars.has(next2)) break; - end = i2; - } else if (isEmpty(ch)) { - let next2 = this.buffer[i2 + 1]; - if (ch === "\r") { + end = i5; + } else if (isEmpty(ch2)) { + let next2 = this.buffer[i5 + 1]; + if (ch2 === "\r") { if (next2 === "\n") { - i2 += 1; - ch = "\n"; - next2 = this.buffer[i2 + 1]; + i5 += 1; + ch2 = "\n"; + next2 = this.buffer[i5 + 1]; } else - end = i2; + end = i5; } if (next2 === "#" || inFlow && flowIndicatorChars.has(next2)) break; - if (ch === "\n") { - const cs = this.continueScalar(i2 + 1); - if (cs === -1) + if (ch2 === "\n") { + const cs7 = this.continueScalar(i5 + 1); + if (cs7 === -1) break; - i2 = Math.max(i2, cs - 2); + i5 = Math.max(i5, cs7 - 2); } } else { - if (inFlow && flowIndicatorChars.has(ch)) + if (inFlow && flowIndicatorChars.has(ch2)) break; - end = i2; + end = i5; } } - if (!ch && !this.atEnd) + if (!ch2 && !this.atEnd) return this.setNext("plain-scalar"); yield cst.SCALAR; yield* this.pushToIndex(end + 1, true); return inFlow ? "flow" : "doc"; } - *pushCount(n2) { - if (n2 > 0) { - yield this.buffer.substr(this.pos, n2); - this.pos += n2; - return n2; + *pushCount(n5) { + if (n5 > 0) { + yield this.buffer.substr(this.pos, n5); + this.pos += n5; + return n5; } return 0; } - *pushToIndex(i2, allowEmpty) { - const s = this.buffer.slice(this.pos, i2); - if (s) { - yield s; - this.pos += s.length; - return s.length; + *pushToIndex(i5, allowEmpty) { + const s5 = this.buffer.slice(this.pos, i5); + if (s5) { + yield s5; + this.pos += s5.length; + return s5.length; } else if (allowEmpty) yield ""; return 0; @@ -34374,53 +34377,53 @@ var require_lexer = __commonJS({ } *pushTag() { if (this.charAt(1) === "<") { - let i2 = this.pos + 2; - let ch = this.buffer[i2]; - while (!isEmpty(ch) && ch !== ">") - ch = this.buffer[++i2]; - return yield* this.pushToIndex(ch === ">" ? i2 + 1 : i2, false); + let i5 = this.pos + 2; + let ch2 = this.buffer[i5]; + while (!isEmpty(ch2) && ch2 !== ">") + ch2 = this.buffer[++i5]; + return yield* this.pushToIndex(ch2 === ">" ? i5 + 1 : i5, false); } else { - let i2 = this.pos + 1; - let ch = this.buffer[i2]; - while (ch) { - if (tagChars.has(ch)) - ch = this.buffer[++i2]; - else if (ch === "%" && hexDigits.has(this.buffer[i2 + 1]) && hexDigits.has(this.buffer[i2 + 2])) { - ch = this.buffer[i2 += 3]; + let i5 = this.pos + 1; + let ch2 = this.buffer[i5]; + while (ch2) { + if (tagChars.has(ch2)) + ch2 = this.buffer[++i5]; + else if (ch2 === "%" && hexDigits.has(this.buffer[i5 + 1]) && hexDigits.has(this.buffer[i5 + 2])) { + ch2 = this.buffer[i5 += 3]; } else break; } - return yield* this.pushToIndex(i2, false); + return yield* this.pushToIndex(i5, false); } } *pushNewline() { - const ch = this.buffer[this.pos]; - if (ch === "\n") + const ch2 = this.buffer[this.pos]; + if (ch2 === "\n") return yield* this.pushCount(1); - else if (ch === "\r" && this.charAt(1) === "\n") + else if (ch2 === "\r" && this.charAt(1) === "\n") return yield* this.pushCount(2); else return 0; } *pushSpaces(allowTabs) { - let i2 = this.pos - 1; - let ch; + let i5 = this.pos - 1; + let ch2; do { - ch = this.buffer[++i2]; - } while (ch === " " || allowTabs && ch === " "); - const n2 = i2 - this.pos; - if (n2 > 0) { - yield this.buffer.substr(this.pos, n2); - this.pos = i2; + ch2 = this.buffer[++i5]; + } while (ch2 === " " || allowTabs && ch2 === " "); + const n5 = i5 - this.pos; + if (n5 > 0) { + yield this.buffer.substr(this.pos, n5); + this.pos = i5; } - return n2; + return n5; } *pushUntil(test) { - let i2 = this.pos; - let ch = this.buffer[i2]; - while (!test(ch)) - ch = this.buffer[++i2]; - return yield* this.pushToIndex(i2, false); + let i5 = this.pos; + let ch2 = this.buffer[i5]; + while (!test(ch2)) + ch2 = this.buffer[++i5]; + return yield* this.pushToIndex(i5, false); } }; exports.Lexer = Lexer; @@ -34466,26 +34469,26 @@ var require_parser = __commonJS({ var cst = require_cst(); var lexer = require_lexer(); function includesToken(list, type) { - for (let i2 = 0; i2 < list.length; ++i2) - if (list[i2].type === type) + for (let i5 = 0; i5 < list.length; ++i5) + if (list[i5].type === type) return true; return false; } function findNonEmptyIndex(list) { - for (let i2 = 0; i2 < list.length; ++i2) { - switch (list[i2].type) { + for (let i5 = 0; i5 < list.length; ++i5) { + switch (list[i5].type) { case "space": case "comment": case "newline": break; default: - return i2; + return i5; } } return -1; } - function isFlowToken(token) { - switch (token?.type) { + function isFlowToken(token2) { + switch (token2?.type) { case "alias": case "scalar": case "single-quoted-scalar": @@ -34501,8 +34504,8 @@ var require_parser = __commonJS({ case "document": return parent.start; case "block-map": { - const it = parent.items[parent.items.length - 1]; - return it.sep ?? it.start; + const it10 = parent.items[parent.items.length - 1]; + return it10.sep ?? it10.start; } case "block-seq": return parent.items[parent.items.length - 1].start; @@ -34514,9 +34517,9 @@ var require_parser = __commonJS({ function getFirstKeyStartProps(prev2) { if (prev2.length === 0) return []; - let i2 = prev2.length; - loop: while (--i2 >= 0) { - switch (prev2[i2].type) { + let i5 = prev2.length; + loop: while (--i5 >= 0) { + switch (prev2[i5].type) { case "doc-start": case "explicit-key-ind": case "map-value-ind": @@ -34525,25 +34528,25 @@ var require_parser = __commonJS({ break loop; } } - while (prev2[++i2]?.type === "space") { + while (prev2[++i5]?.type === "space") { } - return prev2.splice(i2, prev2.length); + return prev2.splice(i5, prev2.length); } - function fixFlowSeqItems(fc) { - if (fc.start.type === "flow-seq-start") { - for (const it of fc.items) { - if (it.sep && !it.value && !includesToken(it.start, "explicit-key-ind") && !includesToken(it.sep, "map-value-ind")) { - if (it.key) - it.value = it.key; - delete it.key; - if (isFlowToken(it.value)) { - if (it.value.end) - Array.prototype.push.apply(it.value.end, it.sep); + function fixFlowSeqItems(fc3) { + if (fc3.start.type === "flow-seq-start") { + for (const it10 of fc3.items) { + if (it10.sep && !it10.value && !includesToken(it10.start, "explicit-key-ind") && !includesToken(it10.sep, "map-value-ind")) { + if (it10.key) + it10.value = it10.key; + delete it10.key; + if (isFlowToken(it10.value)) { + if (it10.value.end) + Array.prototype.push.apply(it10.value.end, it10.sep); else - it.value.end = it.sep; + it10.value.end = it10.sep; } else - Array.prototype.push.apply(it.start, it.sep); - delete it.sep; + Array.prototype.push.apply(it10.start, it10.sep); + delete it10.sep; } } } @@ -34573,10 +34576,10 @@ var require_parser = __commonJS({ * * @returns A generator of tokens representing each directive, document, and other structure. */ - *parse(source, incomplete = false) { + *parse(source2, incomplete = false) { if (this.onNewLine && this.offset === 0) this.onNewLine(0); - for (const lexeme of this.lexer.lex(source, incomplete)) + for (const lexeme of this.lexer.lex(source2, incomplete)) yield* this.next(lexeme); if (!incomplete) yield* this.end(); @@ -34584,21 +34587,21 @@ var require_parser = __commonJS({ /** * Advance the parser by the `source` of one lexical token. */ - *next(source) { - this.source = source; + *next(source2) { + this.source = source2; if (node_process.env.LOG_TOKENS) - console.log("|", cst.prettyToken(source)); + console.log("|", cst.prettyToken(source2)); if (this.atScalar) { this.atScalar = false; yield* this.step(); - this.offset += source.length; + this.offset += source2.length; return; } - const type = cst.tokenType(source); + const type = cst.tokenType(source2); if (!type) { - const message = `Not a YAML token: ${source}`; - yield* this.pop({ type: "error", offset: this.offset, message, source }); - this.offset += source.length; + const message = `Not a YAML token: ${source2}`; + yield* this.pop({ type: "error", offset: this.offset, message, source: source2 }); + this.offset += source2.length; } else if (type === "scalar") { this.atNewLine = false; this.atScalar = true; @@ -34611,17 +34614,17 @@ var require_parser = __commonJS({ this.atNewLine = true; this.indent = 0; if (this.onNewLine) - this.onNewLine(this.offset + source.length); + this.onNewLine(this.offset + source2.length); break; case "space": - if (this.atNewLine && source[0] === " ") - this.indent += source.length; + if (this.atNewLine && source2[0] === " ") + this.indent += source2.length; break; case "explicit-key-ind": case "map-value-ind": case "seq-item-ind": if (this.atNewLine) - this.indent += source.length; + this.indent += source2.length; break; case "doc-mode": case "flow-error-end": @@ -34629,7 +34632,7 @@ var require_parser = __commonJS({ default: this.atNewLine = false; } - this.offset += source.length; + this.offset += source2.length; } } /** Call at end of input to push out any remaining constructions */ @@ -34638,13 +34641,13 @@ var require_parser = __commonJS({ yield* this.pop(); } get sourceToken() { - const st = { + const st8 = { type: this.type, offset: this.offset, indent: this.indent, source: this.source }; - return st; + return st8; } *step() { const top = this.peek(1); @@ -34681,78 +34684,78 @@ var require_parser = __commonJS({ } yield* this.pop(); } - peek(n2) { - return this.stack[this.stack.length - n2]; + peek(n5) { + return this.stack[this.stack.length - n5]; } *pop(error2) { - const token = error2 ?? this.stack.pop(); - if (!token) { + const token2 = error2 ?? this.stack.pop(); + if (!token2) { const message = "Tried to pop an empty stack"; yield { type: "error", offset: this.offset, source: "", message }; } else if (this.stack.length === 0) { - yield token; + yield token2; } else { const top = this.peek(1); - if (token.type === "block-scalar") { - token.indent = "indent" in top ? top.indent : 0; - } else if (token.type === "flow-collection" && top.type === "document") { - token.indent = 0; + if (token2.type === "block-scalar") { + token2.indent = "indent" in top ? top.indent : 0; + } else if (token2.type === "flow-collection" && top.type === "document") { + token2.indent = 0; } - if (token.type === "flow-collection") - fixFlowSeqItems(token); + if (token2.type === "flow-collection") + fixFlowSeqItems(token2); switch (top.type) { case "document": - top.value = token; + top.value = token2; break; case "block-scalar": - top.props.push(token); + top.props.push(token2); break; case "block-map": { - const it = top.items[top.items.length - 1]; - if (it.value) { - top.items.push({ start: [], key: token, sep: [] }); + const it10 = top.items[top.items.length - 1]; + if (it10.value) { + top.items.push({ start: [], key: token2, sep: [] }); this.onKeyLine = true; return; - } else if (it.sep) { - it.value = token; + } else if (it10.sep) { + it10.value = token2; } else { - Object.assign(it, { key: token, sep: [] }); - this.onKeyLine = !it.explicitKey; + Object.assign(it10, { key: token2, sep: [] }); + this.onKeyLine = !it10.explicitKey; return; } break; } case "block-seq": { - const it = top.items[top.items.length - 1]; - if (it.value) - top.items.push({ start: [], value: token }); + const it10 = top.items[top.items.length - 1]; + if (it10.value) + top.items.push({ start: [], value: token2 }); else - it.value = token; + it10.value = token2; break; } case "flow-collection": { - const it = top.items[top.items.length - 1]; - if (!it || it.value) - top.items.push({ start: [], key: token, sep: [] }); - else if (it.sep) - it.value = token; + const it10 = top.items[top.items.length - 1]; + if (!it10 || it10.value) + top.items.push({ start: [], key: token2, sep: [] }); + else if (it10.sep) + it10.value = token2; else - Object.assign(it, { key: token, sep: [] }); + Object.assign(it10, { key: token2, sep: [] }); return; } /* istanbul ignore next should not happen */ default: yield* this.pop(); - yield* this.pop(token); + yield* this.pop(token2); } - if ((top.type === "document" || top.type === "block-map" || top.type === "block-seq") && (token.type === "block-map" || token.type === "block-seq")) { - const last = token.items[token.items.length - 1]; - if (last && !last.sep && !last.value && last.start.length > 0 && findNonEmptyIndex(last.start) === -1 && (token.indent === 0 || last.start.every((st) => st.type !== "comment" || st.indent < token.indent))) { + if ((top.type === "document" || top.type === "block-map" || top.type === "block-seq") && (token2.type === "block-map" || token2.type === "block-seq")) { + const last = token2.items[token2.items.length - 1]; + if (last && !last.sep && !last.value && last.start.length > 0 && findNonEmptyIndex(last.start) === -1 && (token2.indent === 0 || last.start.every((st8) => st8.type !== "comment" || st8.indent < token2.indent))) { if (top.type === "document") top.end = last.start; else top.items.push({ start: last.start }); - token.items.splice(-1, 1); + token2.items.splice(-1, 1); } } } @@ -34808,9 +34811,9 @@ var require_parser = __commonJS({ doc.start.push(this.sourceToken); return; } - const bv = this.startBlockValue(doc); - if (bv) - this.stack.push(bv); + const bv2 = this.startBlockValue(doc); + if (bv2) + this.stack.push(bv2); else { yield { type: "error", @@ -34854,10 +34857,10 @@ var require_parser = __commonJS({ this.atNewLine = true; this.indent = 0; if (this.onNewLine) { - let nl2 = this.source.indexOf("\n") + 1; - while (nl2 !== 0) { - this.onNewLine(this.offset + nl2); - nl2 = this.source.indexOf("\n", nl2) + 1; + let nl6 = this.source.indexOf("\n") + 1; + while (nl6 !== 0) { + this.onNewLine(this.offset + nl6); + nl6 = this.source.indexOf("\n", nl6) + 1; } } yield* this.pop(); @@ -34869,87 +34872,87 @@ var require_parser = __commonJS({ } } *blockMap(map2) { - const it = map2.items[map2.items.length - 1]; + const it10 = map2.items[map2.items.length - 1]; switch (this.type) { case "newline": this.onKeyLine = false; - if (it.value) { - const end = "end" in it.value ? it.value.end : void 0; + if (it10.value) { + const end = "end" in it10.value ? it10.value.end : void 0; const last = Array.isArray(end) ? end[end.length - 1] : void 0; if (last?.type === "comment") end?.push(this.sourceToken); else map2.items.push({ start: [this.sourceToken] }); - } else if (it.sep) { - it.sep.push(this.sourceToken); + } else if (it10.sep) { + it10.sep.push(this.sourceToken); } else { - it.start.push(this.sourceToken); + it10.start.push(this.sourceToken); } return; case "space": case "comment": - if (it.value) { + if (it10.value) { map2.items.push({ start: [this.sourceToken] }); - } else if (it.sep) { - it.sep.push(this.sourceToken); + } else if (it10.sep) { + it10.sep.push(this.sourceToken); } else { - if (this.atIndentedComment(it.start, map2.indent)) { + if (this.atIndentedComment(it10.start, map2.indent)) { const prev2 = map2.items[map2.items.length - 2]; const end = prev2?.value?.end; if (Array.isArray(end)) { - Array.prototype.push.apply(end, it.start); + Array.prototype.push.apply(end, it10.start); end.push(this.sourceToken); map2.items.pop(); return; } } - it.start.push(this.sourceToken); + it10.start.push(this.sourceToken); } return; } if (this.indent >= map2.indent) { const atMapIndent = !this.onKeyLine && this.indent === map2.indent; - const atNextItem = atMapIndent && (it.sep || it.explicitKey) && this.type !== "seq-item-ind"; + const atNextItem = atMapIndent && (it10.sep || it10.explicitKey) && this.type !== "seq-item-ind"; let start = []; - if (atNextItem && it.sep && !it.value) { - const nl2 = []; - for (let i2 = 0; i2 < it.sep.length; ++i2) { - const st = it.sep[i2]; - switch (st.type) { + if (atNextItem && it10.sep && !it10.value) { + const nl6 = []; + for (let i5 = 0; i5 < it10.sep.length; ++i5) { + const st8 = it10.sep[i5]; + switch (st8.type) { case "newline": - nl2.push(i2); + nl6.push(i5); break; case "space": break; case "comment": - if (st.indent > map2.indent) - nl2.length = 0; + if (st8.indent > map2.indent) + nl6.length = 0; break; default: - nl2.length = 0; + nl6.length = 0; } } - if (nl2.length >= 2) - start = it.sep.splice(nl2[1]); + if (nl6.length >= 2) + start = it10.sep.splice(nl6[1]); } switch (this.type) { case "anchor": case "tag": - if (atNextItem || it.value) { + if (atNextItem || it10.value) { start.push(this.sourceToken); map2.items.push({ start }); this.onKeyLine = true; - } else if (it.sep) { - it.sep.push(this.sourceToken); + } else if (it10.sep) { + it10.sep.push(this.sourceToken); } else { - it.start.push(this.sourceToken); + it10.start.push(this.sourceToken); } return; case "explicit-key-ind": - if (!it.sep && !it.explicitKey) { - it.start.push(this.sourceToken); - it.explicitKey = true; - } else if (atNextItem || it.value) { + if (!it10.sep && !it10.explicitKey) { + it10.start.push(this.sourceToken); + it10.explicitKey = true; + } else if (atNextItem || it10.value) { start.push(this.sourceToken); map2.items.push({ start, explicitKey: true }); } else { @@ -34963,12 +34966,12 @@ var require_parser = __commonJS({ this.onKeyLine = true; return; case "map-value-ind": - if (it.explicitKey) { - if (!it.sep) { - if (includesToken(it.start, "newline")) { - Object.assign(it, { key: null, sep: [this.sourceToken] }); + if (it10.explicitKey) { + if (!it10.sep) { + if (includesToken(it10.start, "newline")) { + Object.assign(it10, { key: null, sep: [this.sourceToken] }); } else { - const start2 = getFirstKeyStartProps(it.start); + const start2 = getFirstKeyStartProps(it10.start); this.stack.push({ type: "block-map", offset: this.offset, @@ -34976,39 +34979,39 @@ var require_parser = __commonJS({ items: [{ start: start2, key: null, sep: [this.sourceToken] }] }); } - } else if (it.value) { + } else if (it10.value) { map2.items.push({ start: [], key: null, sep: [this.sourceToken] }); - } else if (includesToken(it.sep, "map-value-ind")) { + } else if (includesToken(it10.sep, "map-value-ind")) { this.stack.push({ type: "block-map", offset: this.offset, indent: this.indent, items: [{ start, key: null, sep: [this.sourceToken] }] }); - } else if (isFlowToken(it.key) && !includesToken(it.sep, "newline")) { - const start2 = getFirstKeyStartProps(it.start); - const key = it.key; - const sep2 = it.sep; + } else if (isFlowToken(it10.key) && !includesToken(it10.sep, "newline")) { + const start2 = getFirstKeyStartProps(it10.start); + const key2 = it10.key; + const sep2 = it10.sep; sep2.push(this.sourceToken); - delete it.key; - delete it.sep; + delete it10.key; + delete it10.sep; this.stack.push({ type: "block-map", offset: this.offset, indent: this.indent, - items: [{ start: start2, key, sep: sep2 }] + items: [{ start: start2, key: key2, sep: sep2 }] }); } else if (start.length > 0) { - it.sep = it.sep.concat(start, this.sourceToken); + it10.sep = it10.sep.concat(start, this.sourceToken); } else { - it.sep.push(this.sourceToken); + it10.sep.push(this.sourceToken); } } else { - if (!it.sep) { - Object.assign(it, { key: null, sep: [this.sourceToken] }); - } else if (it.value || atNextItem) { + if (!it10.sep) { + Object.assign(it10, { key: null, sep: [this.sourceToken] }); + } else if (it10.value || atNextItem) { map2.items.push({ start, key: null, sep: [this.sourceToken] }); - } else if (includesToken(it.sep, "map-value-ind")) { + } else if (includesToken(it10.sep, "map-value-ind")) { this.stack.push({ type: "block-map", offset: this.offset, @@ -35016,7 +35019,7 @@ var require_parser = __commonJS({ items: [{ start: [], key: null, sep: [this.sourceToken] }] }); } else { - it.sep.push(this.sourceToken); + it10.sep.push(this.sourceToken); } } this.onKeyLine = true; @@ -35025,23 +35028,23 @@ var require_parser = __commonJS({ case "scalar": case "single-quoted-scalar": case "double-quoted-scalar": { - const fs7 = this.flowScalar(this.type); - if (atNextItem || it.value) { - map2.items.push({ start, key: fs7, sep: [] }); + const fs14 = this.flowScalar(this.type); + if (atNextItem || it10.value) { + map2.items.push({ start, key: fs14, sep: [] }); this.onKeyLine = true; - } else if (it.sep) { - this.stack.push(fs7); + } else if (it10.sep) { + this.stack.push(fs14); } else { - Object.assign(it, { key: fs7, sep: [] }); + Object.assign(it10, { key: fs14, sep: [] }); this.onKeyLine = true; } return; } default: { - const bv = this.startBlockValue(map2); - if (bv) { - if (bv.type === "block-seq") { - if (!it.explicitKey && it.sep && !includesToken(it.sep, "newline")) { + const bv2 = this.startBlockValue(map2); + if (bv2) { + if (bv2.type === "block-seq") { + if (!it10.explicitKey && it10.sep && !includesToken(it10.sep, "newline")) { yield* this.pop({ type: "error", offset: this.offset, @@ -35053,7 +35056,7 @@ var require_parser = __commonJS({ } else if (atMapIndent) { map2.items.push({ start }); } - this.stack.push(bv); + this.stack.push(bv2); return; } } @@ -35063,154 +35066,154 @@ var require_parser = __commonJS({ yield* this.step(); } *blockSequence(seq) { - const it = seq.items[seq.items.length - 1]; + const it10 = seq.items[seq.items.length - 1]; switch (this.type) { case "newline": - if (it.value) { - const end = "end" in it.value ? it.value.end : void 0; + if (it10.value) { + const end = "end" in it10.value ? it10.value.end : void 0; const last = Array.isArray(end) ? end[end.length - 1] : void 0; if (last?.type === "comment") end?.push(this.sourceToken); else seq.items.push({ start: [this.sourceToken] }); } else - it.start.push(this.sourceToken); + it10.start.push(this.sourceToken); return; case "space": case "comment": - if (it.value) + if (it10.value) seq.items.push({ start: [this.sourceToken] }); else { - if (this.atIndentedComment(it.start, seq.indent)) { + if (this.atIndentedComment(it10.start, seq.indent)) { const prev2 = seq.items[seq.items.length - 2]; const end = prev2?.value?.end; if (Array.isArray(end)) { - Array.prototype.push.apply(end, it.start); + Array.prototype.push.apply(end, it10.start); end.push(this.sourceToken); seq.items.pop(); return; } } - it.start.push(this.sourceToken); + it10.start.push(this.sourceToken); } return; case "anchor": case "tag": - if (it.value || this.indent <= seq.indent) + if (it10.value || this.indent <= seq.indent) break; - it.start.push(this.sourceToken); + it10.start.push(this.sourceToken); return; case "seq-item-ind": if (this.indent !== seq.indent) break; - if (it.value || includesToken(it.start, "seq-item-ind")) + if (it10.value || includesToken(it10.start, "seq-item-ind")) seq.items.push({ start: [this.sourceToken] }); else - it.start.push(this.sourceToken); + it10.start.push(this.sourceToken); return; } if (this.indent > seq.indent) { - const bv = this.startBlockValue(seq); - if (bv) { - this.stack.push(bv); + const bv2 = this.startBlockValue(seq); + if (bv2) { + this.stack.push(bv2); return; } } yield* this.pop(); yield* this.step(); } - *flowCollection(fc) { - const it = fc.items[fc.items.length - 1]; + *flowCollection(fc3) { + const it10 = fc3.items[fc3.items.length - 1]; if (this.type === "flow-error-end") { let top; do { yield* this.pop(); top = this.peek(1); } while (top?.type === "flow-collection"); - } else if (fc.end.length === 0) { + } else if (fc3.end.length === 0) { switch (this.type) { case "comma": case "explicit-key-ind": - if (!it || it.sep) - fc.items.push({ start: [this.sourceToken] }); + if (!it10 || it10.sep) + fc3.items.push({ start: [this.sourceToken] }); else - it.start.push(this.sourceToken); + it10.start.push(this.sourceToken); return; case "map-value-ind": - if (!it || it.value) - fc.items.push({ start: [], key: null, sep: [this.sourceToken] }); - else if (it.sep) - it.sep.push(this.sourceToken); + if (!it10 || it10.value) + fc3.items.push({ start: [], key: null, sep: [this.sourceToken] }); + else if (it10.sep) + it10.sep.push(this.sourceToken); else - Object.assign(it, { key: null, sep: [this.sourceToken] }); + Object.assign(it10, { key: null, sep: [this.sourceToken] }); return; case "space": case "comment": case "newline": case "anchor": case "tag": - if (!it || it.value) - fc.items.push({ start: [this.sourceToken] }); - else if (it.sep) - it.sep.push(this.sourceToken); + if (!it10 || it10.value) + fc3.items.push({ start: [this.sourceToken] }); + else if (it10.sep) + it10.sep.push(this.sourceToken); else - it.start.push(this.sourceToken); + it10.start.push(this.sourceToken); return; case "alias": case "scalar": case "single-quoted-scalar": case "double-quoted-scalar": { - const fs7 = this.flowScalar(this.type); - if (!it || it.value) - fc.items.push({ start: [], key: fs7, sep: [] }); - else if (it.sep) - this.stack.push(fs7); + const fs14 = this.flowScalar(this.type); + if (!it10 || it10.value) + fc3.items.push({ start: [], key: fs14, sep: [] }); + else if (it10.sep) + this.stack.push(fs14); else - Object.assign(it, { key: fs7, sep: [] }); + Object.assign(it10, { key: fs14, sep: [] }); return; } case "flow-map-end": case "flow-seq-end": - fc.end.push(this.sourceToken); + fc3.end.push(this.sourceToken); return; } - const bv = this.startBlockValue(fc); - if (bv) - this.stack.push(bv); + const bv2 = this.startBlockValue(fc3); + if (bv2) + this.stack.push(bv2); else { yield* this.pop(); yield* this.step(); } } else { const parent = this.peek(2); - if (parent.type === "block-map" && (this.type === "map-value-ind" && parent.indent === fc.indent || this.type === "newline" && !parent.items[parent.items.length - 1].sep)) { + if (parent.type === "block-map" && (this.type === "map-value-ind" && parent.indent === fc3.indent || this.type === "newline" && !parent.items[parent.items.length - 1].sep)) { yield* this.pop(); yield* this.step(); } else if (this.type === "map-value-ind" && parent.type !== "flow-collection") { const prev2 = getPrevProps(parent); const start = getFirstKeyStartProps(prev2); - fixFlowSeqItems(fc); - const sep2 = fc.end.splice(1, fc.end.length); + fixFlowSeqItems(fc3); + const sep2 = fc3.end.splice(1, fc3.end.length); sep2.push(this.sourceToken); const map2 = { type: "block-map", - offset: fc.offset, - indent: fc.indent, - items: [{ start, key: fc, sep: sep2 }] + offset: fc3.offset, + indent: fc3.indent, + items: [{ start, key: fc3, sep: sep2 }] }; this.onKeyLine = true; this.stack[this.stack.length - 1] = map2; } else { - yield* this.lineEnd(fc); + yield* this.lineEnd(fc3); } } } flowScalar(type) { if (this.onNewLine) { - let nl2 = this.source.indexOf("\n") + 1; - while (nl2 !== 0) { - this.onNewLine(this.offset + nl2); - nl2 = this.source.indexOf("\n", nl2) + 1; + let nl6 = this.source.indexOf("\n") + 1; + while (nl6 !== 0) { + this.onNewLine(this.offset + nl6); + nl6 = this.source.indexOf("\n", nl6) + 1; } } return { @@ -35278,12 +35281,12 @@ var require_parser = __commonJS({ } return null; } - atIndentedComment(start, indent) { + atIndentedComment(start, indent3) { if (this.type !== "comment") return false; - if (this.indent <= indent) + if (this.indent <= indent3) return false; - return start.every((st) => st.type === "newline" || st.type === "space"); + return start.every((st8) => st8.type === "newline" || st8.type === "space"); } *documentEnd(docEnd) { if (this.type !== "doc-mode") { @@ -35295,7 +35298,7 @@ var require_parser = __commonJS({ yield* this.pop(); } } - *lineEnd(token) { + *lineEnd(token2) { switch (this.type) { case "comma": case "doc-start": @@ -35312,10 +35315,10 @@ var require_parser = __commonJS({ case "space": case "comment": default: - if (token.end) - token.end.push(this.sourceToken); + if (token2.end) + token2.end.push(this.sourceToken); else - token.end = [this.sourceToken]; + token2.end = [this.sourceToken]; if (this.type === "newline") yield* this.pop(); } @@ -35336,31 +35339,31 @@ var require_public_api = __commonJS({ var identity = require_identity(); var lineCounter = require_line_counter(); var parser2 = require_parser(); - function parseOptions(options) { - const prettyErrors = options.prettyErrors !== false; - const lineCounter$1 = options.lineCounter || prettyErrors && new lineCounter.LineCounter() || null; + function parseOptions(options8) { + const prettyErrors = options8.prettyErrors !== false; + const lineCounter$1 = options8.lineCounter || prettyErrors && new lineCounter.LineCounter() || null; return { lineCounter: lineCounter$1, prettyErrors }; } - function parseAllDocuments(source, options = {}) { - const { lineCounter: lineCounter2, prettyErrors } = parseOptions(options); + function parseAllDocuments(source2, options8 = {}) { + const { lineCounter: lineCounter2, prettyErrors } = parseOptions(options8); const parser$1 = new parser2.Parser(lineCounter2?.addNewLine); - const composer$1 = new composer.Composer(options); - const docs = Array.from(composer$1.compose(parser$1.parse(source))); + const composer$1 = new composer.Composer(options8); + const docs = Array.from(composer$1.compose(parser$1.parse(source2))); if (prettyErrors && lineCounter2) for (const doc of docs) { - doc.errors.forEach(errors.prettifyError(source, lineCounter2)); - doc.warnings.forEach(errors.prettifyError(source, lineCounter2)); + doc.errors.forEach(errors.prettifyError(source2, lineCounter2)); + doc.warnings.forEach(errors.prettifyError(source2, lineCounter2)); } if (docs.length > 0) return docs; return Object.assign([], { empty: true }, composer$1.streamInfo()); } - function parseDocument(source, options = {}) { - const { lineCounter: lineCounter2, prettyErrors } = parseOptions(options); + function parseDocument(source2, options8 = {}) { + const { lineCounter: lineCounter2, prettyErrors } = parseOptions(options8); const parser$1 = new parser2.Parser(lineCounter2?.addNewLine); - const composer$1 = new composer.Composer(options); + const composer$1 = new composer.Composer(options8); let doc = null; - for (const _doc of composer$1.compose(parser$1.parse(source), true, source.length)) { + for (const _doc of composer$1.compose(parser$1.parse(source2), true, source2.length)) { if (!doc) doc = _doc; else if (doc.options.logLevel !== "silent") { @@ -35369,19 +35372,19 @@ var require_public_api = __commonJS({ } } if (prettyErrors && lineCounter2) { - doc.errors.forEach(errors.prettifyError(source, lineCounter2)); - doc.warnings.forEach(errors.prettifyError(source, lineCounter2)); + doc.errors.forEach(errors.prettifyError(source2, lineCounter2)); + doc.warnings.forEach(errors.prettifyError(source2, lineCounter2)); } return doc; } - function parse2(src, reviver, options) { + function parse7(src, reviver, options8) { let _reviver = void 0; if (typeof reviver === "function") { _reviver = reviver; - } else if (options === void 0 && reviver && typeof reviver === "object") { - options = reviver; + } else if (options8 === void 0 && reviver && typeof reviver === "object") { + options8 = reviver; } - const doc = parseDocument(src, options); + const doc = parseDocument(src, options8); if (!doc) return null; doc.warnings.forEach((warning) => log3.warn(doc.options.logLevel, warning)); @@ -35391,31 +35394,31 @@ var require_public_api = __commonJS({ else doc.errors = []; } - return doc.toJS(Object.assign({ reviver: _reviver }, options)); + return doc.toJS(Object.assign({ reviver: _reviver }, options8)); } - function stringify(value, replacer, options) { + function stringify(value, replacer, options8) { let _replacer = null; if (typeof replacer === "function" || Array.isArray(replacer)) { _replacer = replacer; - } else if (options === void 0 && replacer) { - options = replacer; + } else if (options8 === void 0 && replacer) { + options8 = replacer; } - if (typeof options === "string") - options = options.length; - if (typeof options === "number") { - const indent = Math.round(options); - options = indent < 1 ? void 0 : indent > 8 ? { indent: 8 } : { indent }; + if (typeof options8 === "string") + options8 = options8.length; + if (typeof options8 === "number") { + const indent3 = Math.round(options8); + options8 = indent3 < 1 ? void 0 : indent3 > 8 ? { indent: 8 } : { indent: indent3 }; } if (value === void 0) { - const { keepUndefined } = options ?? replacer ?? {}; + const { keepUndefined } = options8 ?? replacer ?? {}; if (!keepUndefined) return void 0; } if (identity.isDocument(value) && !_replacer) - return value.toString(options); - return new Document2.Document(value, _replacer, options).toString(options); + return value.toString(options8); + return new Document2.Document(value, _replacer, options8).toString(options8); } - exports.parse = parse2; + exports.parse = parse7; exports.parseAllDocuments = parseAllDocuments; exports.parseDocument = parseDocument; exports.stringify = stringify; @@ -35428,7 +35431,7 @@ var require_dist = __commonJS({ "use strict"; var composer = require_composer(); var Document2 = require_Document(); - var Schema = require_Schema(); + var Schema2 = require_Schema(); var errors = require_errors2(); var Alias = require_Alias(); var identity = require_identity(); @@ -35444,7 +35447,7 @@ var require_dist = __commonJS({ var visit = require_visit(); exports.Composer = composer.Composer; exports.Document = Document2.Document; - exports.Schema = Schema.Schema; + exports.Schema = Schema2.Schema; exports.YAMLError = errors.YAMLError; exports.YAMLParseError = errors.YAMLParseError; exports.YAMLWarning = errors.YAMLWarning; @@ -35477,7 +35480,7 @@ var require_dist = __commonJS({ // node_modules/feather-icons/dist/feather.js var require_feather = __commonJS({ "node_modules/feather-icons/dist/feather.js"(exports, module) { - (function webpackUniversalModuleDefinition(root2, factory) { + (function webpackUniversalModuleDefinition(root3, factory) { if (typeof exports === "object" && typeof module === "object") module.exports = factory(); else if (typeof define === "function" && define.amd) @@ -35485,7 +35488,7 @@ var require_feather = __commonJS({ else if (typeof exports === "object") exports["feather"] = factory(); else - root2["feather"] = factory(); + root3["feather"] = factory(); })(typeof self !== "undefined" ? self : exports, function() { return ( /******/ @@ -35573,10 +35576,10 @@ var require_feather = __commonJS({ function StorageObject() { } StorageObject.prototype = /* @__PURE__ */ Object.create(null); - function _parseArray(resultSet, array2) { - var length3 = array2.length; - for (var i2 = 0; i2 < length3; ++i2) { - _parse(resultSet, array2[i2]); + function _parseArray(resultSet, array3) { + var length3 = array3.length; + for (var i5 = 0; i5 < length3; ++i5) { + _parse(resultSet, array3[i5]); } } var hasOwn = {}.hasOwnProperty; @@ -35584,18 +35587,18 @@ var require_feather = __commonJS({ resultSet[num] = true; } function _parseObject(resultSet, object) { - for (var k in object) { - if (hasOwn.call(object, k)) { - resultSet[k] = !!object[k]; + for (var k8 in object) { + if (hasOwn.call(object, k8)) { + resultSet[k8] = !!object[k8]; } } } var SPACE = /\s+/; function _parseString(resultSet, str) { - var array2 = str.split(SPACE); - var length3 = array2.length; - for (var i2 = 0; i2 < length3; ++i2) { - resultSet[array2[i2]] = true; + var array3 = str.split(SPACE); + var length3 = array3.length; + for (var i5 = 0; i5 < length3; ++i5) { + resultSet[array3[i5]] = true; } } function _parse(resultSet, arg) { @@ -35614,15 +35617,15 @@ var require_feather = __commonJS({ function _classNames() { var len = arguments.length; var args = Array(len); - for (var i2 = 0; i2 < len; i2++) { - args[i2] = arguments[i2]; + for (var i5 = 0; i5 < len; i5++) { + args[i5] = arguments[i5]; } var classSet = new StorageObject(); _parseArray(classSet, args); var list = []; - for (var k in classSet) { - if (classSet[k]) { - list.push(k); + for (var k8 in classSet) { + if (classSet[k8]) { + list.push(k8); } } return list.join(" "); @@ -35656,11 +35659,11 @@ var require_feather = __commonJS({ /*! ../../modules/es.array.from */ "./node_modules/core-js/modules/es.array.from.js" ); - var path7 = __webpack_require__( + var path19 = __webpack_require__( /*! ../../internals/path */ "./node_modules/core-js/internals/path.js" ); - module2.exports = path7.Array.from; + module2.exports = path19.Array.from; }) ), /***/ @@ -35671,11 +35674,11 @@ var require_feather = __commonJS({ /*! no static exports found */ /***/ (function(module2, exports2) { - module2.exports = function(it) { - if (typeof it != "function") { - throw TypeError(String(it) + " is not a function"); + module2.exports = function(it10) { + if (typeof it10 != "function") { + throw TypeError(String(it10) + " is not a function"); } - return it; + return it10; }; }) ), @@ -35687,15 +35690,15 @@ var require_feather = __commonJS({ /*! no static exports found */ /***/ (function(module2, exports2, __webpack_require__) { - var isObject = __webpack_require__( + var isObject2 = __webpack_require__( /*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js" ); - module2.exports = function(it) { - if (!isObject(it)) { - throw TypeError(String(it) + " is not an object"); + module2.exports = function(it10) { + if (!isObject2(it10)) { + throw TypeError(String(it10) + " is not an object"); } - return it; + return it10; }; }) ), @@ -35737,18 +35740,18 @@ var require_feather = __commonJS({ "./node_modules/core-js/internals/get-iterator-method.js" ); module2.exports = function from2(arrayLike) { - var O = toObject(arrayLike); - var C = typeof this == "function" ? this : Array; + var O7 = toObject(arrayLike); + var C8 = typeof this == "function" ? this : Array; var argumentsLength = arguments.length; var mapfn = argumentsLength > 1 ? arguments[1] : void 0; var mapping = mapfn !== void 0; var index = 0; - var iteratorMethod = getIteratorMethod(O); + var iteratorMethod = getIteratorMethod(O7); var length3, result, step, iterator2; if (mapping) mapfn = bind2(mapfn, argumentsLength > 2 ? arguments[2] : void 0, 2); - if (iteratorMethod != void 0 && !(C == Array && isArrayIteratorMethod(iteratorMethod))) { - iterator2 = iteratorMethod.call(O); - result = new C(); + if (iteratorMethod != void 0 && !(C8 == Array && isArrayIteratorMethod(iteratorMethod))) { + iterator2 = iteratorMethod.call(O7); + result = new C8(); for (; !(step = iterator2.next()).done; index++) { createProperty( result, @@ -35757,10 +35760,10 @@ var require_feather = __commonJS({ ); } } else { - length3 = toLength(O.length); - result = new C(length3); + length3 = toLength(O7.length); + result = new C8(length3); for (; length3 > index; index++) { - createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]); + createProperty(result, index, mapping ? mapfn(O7[index], index) : O7[index]); } } result.length = index; @@ -35789,17 +35792,17 @@ var require_feather = __commonJS({ "./node_modules/core-js/internals/to-absolute-index.js" ); module2.exports = function(IS_INCLUDES) { - return function($this, el, fromIndex) { - var O = toIndexedObject($this); - var length3 = toLength(O.length); + return function($this, el5, fromIndex) { + var O7 = toIndexedObject($this); + var length3 = toLength(O7.length); var index = toAbsoluteIndex(fromIndex, length3); var value; - if (IS_INCLUDES && el != el) while (length3 > index) { - value = O[index++]; + if (IS_INCLUDES && el5 != el5) while (length3 > index) { + value = O7[index++]; if (value != value) return true; } - else for (; length3 > index; index++) if (IS_INCLUDES || index in O) { - if (O[index] === el) return IS_INCLUDES || index || 0; + else for (; length3 > index; index++) if (IS_INCLUDES || index in O7) { + if (O7[index] === el5) return IS_INCLUDES || index || 0; } return !IS_INCLUDES && -1; }; @@ -35818,29 +35821,29 @@ var require_feather = __commonJS({ /*! ../internals/a-function */ "./node_modules/core-js/internals/a-function.js" ); - module2.exports = function(fn, that, length3) { - aFunction(fn); - if (that === void 0) return fn; + module2.exports = function(fn9, that, length3) { + aFunction(fn9); + if (that === void 0) return fn9; switch (length3) { case 0: return function() { - return fn.call(that); + return fn9.call(that); }; case 1: - return function(a) { - return fn.call(that, a); + return function(a5) { + return fn9.call(that, a5); }; case 2: - return function(a, b) { - return fn.call(that, a, b); + return function(a5, b7) { + return fn9.call(that, a5, b7); }; case 3: - return function(a, b, c) { - return fn.call(that, a, b, c); + return function(a5, b7, c7) { + return fn9.call(that, a5, b7, c7); }; } return function() { - return fn.apply(that, arguments); + return fn9.apply(that, arguments); }; }; }) @@ -35857,9 +35860,9 @@ var require_feather = __commonJS({ /*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js" ); - module2.exports = function(iterator2, fn, value, ENTRIES) { + module2.exports = function(iterator2, fn9, value, ENTRIES) { try { - return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value); + return ENTRIES ? fn9(anObject(value)[0], value[1]) : fn9(value); } catch (error2) { var returnMethod = iterator2["return"]; if (returnMethod !== void 0) anObject(returnMethod.call(iterator2)); @@ -35928,8 +35931,8 @@ var require_feather = __commonJS({ /***/ (function(module2, exports2) { var toString = {}.toString; - module2.exports = function(it) { - return toString.call(it).slice(8, -1); + module2.exports = function(it10) { + return toString.call(it10).slice(8, -1); }; }) ), @@ -35953,15 +35956,15 @@ var require_feather = __commonJS({ var CORRECT_ARGUMENTS = classofRaw(/* @__PURE__ */ (function() { return arguments; })()) == "Arguments"; - var tryGet = function(it, key) { + var tryGet = function(it10, key2) { try { - return it[key]; + return it10[key2]; } catch (error2) { } }; - module2.exports = function(it) { - var O, tag2, result; - return it === void 0 ? "Undefined" : it === null ? "Null" : typeof (tag2 = tryGet(O = Object(it), TO_STRING_TAG)) == "string" ? tag2 : CORRECT_ARGUMENTS ? classofRaw(O) : (result = classofRaw(O)) == "Object" && typeof O.callee == "function" ? "Arguments" : result; + module2.exports = function(it10) { + var O7, tag2, result; + return it10 === void 0 ? "Undefined" : it10 === null ? "Null" : typeof (tag2 = tryGet(O7 = Object(it10), TO_STRING_TAG)) == "string" ? tag2 : CORRECT_ARGUMENTS ? classofRaw(O7) : (result = classofRaw(O7)) == "Object" && typeof O7.callee == "function" ? "Arguments" : result; }; }) ), @@ -35989,13 +35992,13 @@ var require_feather = __commonJS({ /*! ../internals/object-define-property */ "./node_modules/core-js/internals/object-define-property.js" ); - module2.exports = function(target, source) { - var keys = ownKeys(source); + module2.exports = function(target, source2) { + var keys = ownKeys(source2); var defineProperty = definePropertyModule.f; var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; - for (var i2 = 0; i2 < keys.length; i2++) { - var key = keys[i2]; - if (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key)); + for (var i5 = 0; i5 < keys.length; i5++) { + var key2 = keys[i5]; + if (!has(target, key2)) defineProperty(target, key2, getOwnPropertyDescriptor(source2, key2)); } }; }) @@ -36013,10 +36016,10 @@ var require_feather = __commonJS({ "./node_modules/core-js/internals/fails.js" ); module2.exports = !fails(function() { - function F() { + function F10() { } - F.prototype.constructor = null; - return Object.getPrototypeOf(new F()) !== F.prototype; + F10.prototype.constructor = null; + return Object.getPrototypeOf(new F10()) !== F10.prototype; }); }) ), @@ -36100,8 +36103,8 @@ var require_feather = __commonJS({ /*! ../internals/create-property-descriptor */ "./node_modules/core-js/internals/create-property-descriptor.js" ); - module2.exports = function(object, key, value) { - var propertyKey = toPrimitive(key); + module2.exports = function(object, key2, value) { + var propertyKey = toPrimitive(key2); if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value)); else object[propertyKey] = value; }; @@ -36116,7 +36119,7 @@ var require_feather = __commonJS({ /***/ (function(module2, exports2, __webpack_require__) { "use strict"; - var $2 = __webpack_require__( + var $11 = __webpack_require__( /*! ../internals/export */ "./node_modules/core-js/internals/export.js" ); @@ -36234,7 +36237,7 @@ var require_feather = __commonJS({ redefine(IterablePrototype, KEY, methods3[KEY]); } } - else $2({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods3); + else $11({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods3); } return methods3; }; @@ -36271,14 +36274,14 @@ var require_feather = __commonJS({ /*! ../internals/global */ "./node_modules/core-js/internals/global.js" ); - var isObject = __webpack_require__( + var isObject2 = __webpack_require__( /*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js" ); var document2 = global2.document; - var exist = isObject(document2) && isObject(document2.createElement); - module2.exports = function(it) { - return exist ? document2.createElement(it) : {}; + var exist = isObject2(document2) && isObject2(document2.createElement); + module2.exports = function(it10) { + return exist ? document2.createElement(it10) : {}; }; }) ), @@ -36337,11 +36340,11 @@ var require_feather = __commonJS({ /*! ../internals/is-forced */ "./node_modules/core-js/internals/is-forced.js" ); - module2.exports = function(options, source) { - var TARGET = options.target; - var GLOBAL = options.global; - var STATIC = options.stat; - var FORCED, target, key, targetProperty, sourceProperty, descriptor; + module2.exports = function(options8, source2) { + var TARGET = options8.target; + var GLOBAL = options8.global; + var STATIC = options8.stat; + var FORCED, target, key2, targetProperty, sourceProperty, descriptor; if (GLOBAL) { target = global2; } else if (STATIC) { @@ -36349,21 +36352,21 @@ var require_feather = __commonJS({ } else { target = (global2[TARGET] || {}).prototype; } - if (target) for (key in source) { - sourceProperty = source[key]; - if (options.noTargetGet) { - descriptor = getOwnPropertyDescriptor(target, key); + if (target) for (key2 in source2) { + sourceProperty = source2[key2]; + if (options8.noTargetGet) { + descriptor = getOwnPropertyDescriptor(target, key2); targetProperty = descriptor && descriptor.value; - } else targetProperty = target[key]; - FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? "." : "#") + key, options.forced); + } else targetProperty = target[key2]; + FORCED = isForced(GLOBAL ? key2 : TARGET + (STATIC ? "." : "#") + key2, options8.forced); if (!FORCED && targetProperty !== void 0) { if (typeof sourceProperty === typeof targetProperty) continue; copyConstructorProperties(sourceProperty, targetProperty); } - if (options.sham || targetProperty && targetProperty.sham) { + if (options8.sham || targetProperty && targetProperty.sham) { hide2(sourceProperty, "sham", true); } - redefine(target, key, sourceProperty, options); + redefine(target, key2, sourceProperty, options8); } }; }) @@ -36421,8 +36424,8 @@ var require_feather = __commonJS({ "./node_modules/core-js/internals/well-known-symbol.js" ); var ITERATOR = wellKnownSymbol("iterator"); - module2.exports = function(it) { - if (it != void 0) return it[ITERATOR] || it["@@iterator"] || Iterators[classof(it)]; + module2.exports = function(it10) { + if (it10 != void 0) return it10[ITERATOR] || it10["@@iterator"] || Iterators[classof(it10)]; }; }) ), @@ -36435,12 +36438,12 @@ var require_feather = __commonJS({ /***/ (function(module2, exports2, __webpack_require__) { (function(global2) { - var O = "object"; - var check = function(it) { - return it && it.Math == Math && it; + var O7 = "object"; + var check2 = function(it10) { + return it10 && it10.Math == Math && it10; }; module2.exports = // eslint-disable-next-line no-undef - check(typeof globalThis == O && globalThis) || check(typeof window == O && window) || check(typeof self == O && self) || check(typeof global2 == O && global2) || // eslint-disable-next-line no-new-func + check2(typeof globalThis == O7 && globalThis) || check2(typeof window == O7 && window) || check2(typeof self == O7 && self) || check2(typeof global2 == O7 && global2) || // eslint-disable-next-line no-new-func Function("return this")(); }).call(this, __webpack_require__( /*! ./../../webpack/buildin/global.js */ @@ -36456,9 +36459,9 @@ var require_feather = __commonJS({ /*! no static exports found */ /***/ (function(module2, exports2) { - var hasOwnProperty = {}.hasOwnProperty; - module2.exports = function(it, key) { - return hasOwnProperty.call(it, key); + var hasOwnProperty3 = {}.hasOwnProperty; + module2.exports = function(it10, key2) { + return hasOwnProperty3.call(it10, key2); }; }) ), @@ -36493,10 +36496,10 @@ var require_feather = __commonJS({ /*! ../internals/create-property-descriptor */ "./node_modules/core-js/internals/create-property-descriptor.js" ); - module2.exports = DESCRIPTORS ? function(object, key, value) { - return definePropertyModule.f(object, key, createPropertyDescriptor(1, value)); - } : function(object, key, value) { - object[key] = value; + module2.exports = DESCRIPTORS ? function(object, key2, value) { + return definePropertyModule.f(object, key2, createPropertyDescriptor(1, value)); + } : function(object, key2, value) { + object[key2] = value; return object; }; }) @@ -36565,8 +36568,8 @@ var require_feather = __commonJS({ var split = "".split; module2.exports = fails(function() { return !Object("z").propertyIsEnumerable(0); - }) ? function(it) { - return classof(it) == "String" ? split.call(it, "") : Object(it); + }) ? function(it10) { + return classof(it10) == "String" ? split.call(it10, "") : Object(it10); } : Object; }) ), @@ -36586,7 +36589,7 @@ var require_feather = __commonJS({ /*! ../internals/global */ "./node_modules/core-js/internals/global.js" ); - var isObject = __webpack_require__( + var isObject2 = __webpack_require__( /*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js" ); @@ -36608,13 +36611,13 @@ var require_feather = __commonJS({ ); var WeakMap2 = global2.WeakMap; var set, get, has; - var enforce = function(it) { - return has(it) ? get(it) : set(it, {}); + var enforce = function(it10) { + return has(it10) ? get(it10) : set(it10, {}); }; var getterFor = function(TYPE) { - return function(it) { + return function(it10) { var state; - if (!isObject(it) || (state = get(it)).type !== TYPE) { + if (!isObject2(it10) || (state = get(it10)).type !== TYPE) { throw TypeError("Incompatible receiver, " + TYPE + " required"); } return state; @@ -36625,28 +36628,28 @@ var require_feather = __commonJS({ var wmget = store.get; var wmhas = store.has; var wmset = store.set; - set = function(it, metadata) { - wmset.call(store, it, metadata); + set = function(it10, metadata) { + wmset.call(store, it10, metadata); return metadata; }; - get = function(it) { - return wmget.call(store, it) || {}; + get = function(it10) { + return wmget.call(store, it10) || {}; }; - has = function(it) { - return wmhas.call(store, it); + has = function(it10) { + return wmhas.call(store, it10); }; } else { var STATE = sharedKey("state"); hiddenKeys[STATE] = true; - set = function(it, metadata) { - hide2(it, STATE, metadata); + set = function(it10, metadata) { + hide2(it10, STATE, metadata); return metadata; }; - get = function(it) { - return objectHas(it, STATE) ? it[STATE] : {}; + get = function(it10) { + return objectHas(it10, STATE) ? it10[STATE] : {}; }; - has = function(it) { - return objectHas(it, STATE); + has = function(it10) { + return objectHas(it10, STATE); }; } module2.exports = { @@ -36676,8 +36679,8 @@ var require_feather = __commonJS({ ); var ITERATOR = wellKnownSymbol("iterator"); var ArrayPrototype = Array.prototype; - module2.exports = function(it) { - return it !== void 0 && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it); + module2.exports = function(it10) { + return it10 !== void 0 && (Iterators.Array === it10 || ArrayPrototype[ITERATOR] === it10); }; }) ), @@ -36715,8 +36718,8 @@ var require_feather = __commonJS({ /*! no static exports found */ /***/ (function(module2, exports2) { - module2.exports = function(it) { - return typeof it === "object" ? it !== null : typeof it === "function"; + module2.exports = function(it10) { + return typeof it10 === "object" ? it10 !== null : typeof it10 === "function"; }; }) ), @@ -36873,29 +36876,29 @@ var require_feather = __commonJS({ var createDict = function() { var iframe = documentCreateElement("iframe"); var length3 = enumBugKeys.length; - var lt = "<"; + var lt8 = "<"; var script = "script"; - var gt = ">"; - var js = "java" + script + ":"; + var gt10 = ">"; + var js9 = "java" + script + ":"; var iframeDocument; iframe.style.display = "none"; html3.appendChild(iframe); - iframe.src = String(js); + iframe.src = String(js9); iframeDocument = iframe.contentWindow.document; iframeDocument.open(); - iframeDocument.write(lt + script + gt + "document.F=Object" + lt + "/" + script + gt); + iframeDocument.write(lt8 + script + gt10 + "document.F=Object" + lt8 + "/" + script + gt10); iframeDocument.close(); createDict = iframeDocument.F; while (length3--) delete createDict[PROTOTYPE][enumBugKeys[length3]]; return createDict(); }; - module2.exports = Object.create || function create2(O, Properties) { + module2.exports = Object.create || function create2(O7, Properties) { var result; - if (O !== null) { - Empty[PROTOTYPE] = anObject(O); + if (O7 !== null) { + Empty[PROTOTYPE] = anObject(O7); result = new Empty(); Empty[PROTOTYPE] = null; - result[IE_PROTO] = O; + result[IE_PROTO] = O7; } else result = createDict(); return Properties === void 0 ? result : defineProperties(result, Properties); }; @@ -36926,14 +36929,14 @@ var require_feather = __commonJS({ /*! ../internals/object-keys */ "./node_modules/core-js/internals/object-keys.js" ); - module2.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) { - anObject(O); + module2.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O7, Properties) { + anObject(O7); var keys = objectKeys(Properties); var length3 = keys.length; - var i2 = 0; - var key; - while (length3 > i2) definePropertyModule.f(O, key = keys[i2++], Properties[key]); - return O; + var i5 = 0; + var key2; + while (length3 > i5) definePropertyModule.f(O7, key2 = keys[i5++], Properties[key2]); + return O7; }; }) ), @@ -36962,17 +36965,17 @@ var require_feather = __commonJS({ "./node_modules/core-js/internals/to-primitive.js" ); var nativeDefineProperty = Object.defineProperty; - exports2.f = DESCRIPTORS ? nativeDefineProperty : function defineProperty(O, P, Attributes) { - anObject(O); - P = toPrimitive(P, true); + exports2.f = DESCRIPTORS ? nativeDefineProperty : function defineProperty(O7, P8, Attributes) { + anObject(O7); + P8 = toPrimitive(P8, true); anObject(Attributes); if (IE8_DOM_DEFINE) try { - return nativeDefineProperty(O, P, Attributes); + return nativeDefineProperty(O7, P8, Attributes); } catch (error2) { } if ("get" in Attributes || "set" in Attributes) throw TypeError("Accessors not supported"); - if ("value" in Attributes) O[P] = Attributes.value; - return O; + if ("value" in Attributes) O7[P8] = Attributes.value; + return O7; }; }) ), @@ -37013,14 +37016,14 @@ var require_feather = __commonJS({ "./node_modules/core-js/internals/ie8-dom-define.js" ); var nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; - exports2.f = DESCRIPTORS ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) { - O = toIndexedObject(O); - P = toPrimitive(P, true); + exports2.f = DESCRIPTORS ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O7, P8) { + O7 = toIndexedObject(O7); + P8 = toPrimitive(P8, true); if (IE8_DOM_DEFINE) try { - return nativeGetOwnPropertyDescriptor(O, P); + return nativeGetOwnPropertyDescriptor(O7, P8); } catch (error2) { } - if (has(O, P)) return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O, P), O[P]); + if (has(O7, P8)) return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O7, P8), O7[P8]); }; }) ), @@ -37041,8 +37044,8 @@ var require_feather = __commonJS({ "./node_modules/core-js/internals/enum-bug-keys.js" ); var hiddenKeys = enumBugKeys.concat("length", "prototype"); - exports2.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { - return internalObjectKeys(O, hiddenKeys); + exports2.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O7) { + return internalObjectKeys(O7, hiddenKeys); }; }) ), @@ -37083,13 +37086,13 @@ var require_feather = __commonJS({ ); var IE_PROTO = sharedKey("IE_PROTO"); var ObjectPrototype = Object.prototype; - module2.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function(O) { - O = toObject(O); - if (has(O, IE_PROTO)) return O[IE_PROTO]; - if (typeof O.constructor == "function" && O instanceof O.constructor) { - return O.constructor.prototype; + module2.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function(O7) { + O7 = toObject(O7); + if (has(O7, IE_PROTO)) return O7[IE_PROTO]; + if (typeof O7.constructor == "function" && O7 instanceof O7.constructor) { + return O7.constructor.prototype; } - return O instanceof Object ? ObjectPrototype : null; + return O7 instanceof Object ? ObjectPrototype : null; }; }) ), @@ -37119,13 +37122,13 @@ var require_feather = __commonJS({ ); var arrayIndexOf = arrayIncludes(false); module2.exports = function(object, names2) { - var O = toIndexedObject(object); - var i2 = 0; + var O7 = toIndexedObject(object); + var i5 = 0; var result = []; - var key; - for (key in O) !has(hiddenKeys, key) && has(O, key) && result.push(key); - while (names2.length > i2) if (has(O, key = names2[i2++])) { - ~arrayIndexOf(result, key) || result.push(key); + var key2; + for (key2 in O7) !has(hiddenKeys, key2) && has(O7, key2) && result.push(key2); + while (names2.length > i5) if (has(O7, key2 = names2[i5++])) { + ~arrayIndexOf(result, key2) || result.push(key2); } return result; }; @@ -37147,8 +37150,8 @@ var require_feather = __commonJS({ /*! ../internals/enum-bug-keys */ "./node_modules/core-js/internals/enum-bug-keys.js" ); - module2.exports = Object.keys || function keys(O) { - return internalObjectKeys(O, enumBugKeys); + module2.exports = Object.keys || function keys(O7) { + return internalObjectKeys(O7, enumBugKeys); }; }) ), @@ -37164,8 +37167,8 @@ var require_feather = __commonJS({ var nativePropertyIsEnumerable = {}.propertyIsEnumerable; var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; var NASHORN_BUG = getOwnPropertyDescriptor && !nativePropertyIsEnumerable.call({ 1: 2 }, 1); - exports2.f = NASHORN_BUG ? function propertyIsEnumerable(V) { - var descriptor = getOwnPropertyDescriptor(this, V); + exports2.f = NASHORN_BUG ? function propertyIsEnumerable(V11) { + var descriptor = getOwnPropertyDescriptor(this, V11); return !!descriptor && descriptor.enumerable; } : nativePropertyIsEnumerable; }) @@ -37192,11 +37195,11 @@ var require_feather = __commonJS({ correctSetter = test instanceof Array; } catch (error2) { } - return function setPrototypeOf(O, proto2) { - validateSetPrototypeOfArguments(O, proto2); - if (correctSetter) setter.call(O, proto2); - else O.__proto__ = proto2; - return O; + return function setPrototypeOf(O7, proto2) { + validateSetPrototypeOfArguments(O7, proto2); + if (correctSetter) setter.call(O7, proto2); + else O7.__proto__ = proto2; + return O7; }; })() : void 0); }) @@ -37226,10 +37229,10 @@ var require_feather = __commonJS({ "./node_modules/core-js/internals/an-object.js" ); var Reflect2 = global2.Reflect; - module2.exports = Reflect2 && Reflect2.ownKeys || function ownKeys(it) { - var keys = getOwnPropertyNamesModule.f(anObject(it)); + module2.exports = Reflect2 && Reflect2.ownKeys || function ownKeys(it10) { + var keys = getOwnPropertyNamesModule.f(anObject(it10)); var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; - return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys; + return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it10)) : keys; }; }) ), @@ -37286,28 +37289,28 @@ var require_feather = __commonJS({ var getInternalState = InternalStateModule.get; var enforceInternalState = InternalStateModule.enforce; var TEMPLATE = String(nativeFunctionToString).split("toString"); - shared("inspectSource", function(it) { - return nativeFunctionToString.call(it); + shared("inspectSource", function(it10) { + return nativeFunctionToString.call(it10); }); - (module2.exports = function(O, key, value, options) { - var unsafe = options ? !!options.unsafe : false; - var simple = options ? !!options.enumerable : false; - var noTargetGet = options ? !!options.noTargetGet : false; + (module2.exports = function(O7, key2, value, options8) { + var unsafe = options8 ? !!options8.unsafe : false; + var simple = options8 ? !!options8.enumerable : false; + var noTargetGet = options8 ? !!options8.noTargetGet : false; if (typeof value == "function") { - if (typeof key == "string" && !has(value, "name")) hide2(value, "name", key); - enforceInternalState(value).source = TEMPLATE.join(typeof key == "string" ? key : ""); + if (typeof key2 == "string" && !has(value, "name")) hide2(value, "name", key2); + enforceInternalState(value).source = TEMPLATE.join(typeof key2 == "string" ? key2 : ""); } - if (O === global2) { - if (simple) O[key] = value; - else setGlobal(key, value); + if (O7 === global2) { + if (simple) O7[key2] = value; + else setGlobal(key2, value); return; } else if (!unsafe) { - delete O[key]; - } else if (!noTargetGet && O[key]) { + delete O7[key2]; + } else if (!noTargetGet && O7[key2]) { simple = true; } - if (simple) O[key] = value; - else hide2(O, key, value); + if (simple) O7[key2] = value; + else hide2(O7, key2, value); })(Function.prototype, "toString", function toString() { return typeof this == "function" && getInternalState(this).source || nativeFunctionToString.call(this); }); @@ -37321,9 +37324,9 @@ var require_feather = __commonJS({ /*! no static exports found */ /***/ (function(module2, exports2) { - module2.exports = function(it) { - if (it == void 0) throw TypeError("Can't call method on " + it); - return it; + module2.exports = function(it10) { + if (it10 == void 0) throw TypeError("Can't call method on " + it10); + return it10; }; }) ), @@ -37343,11 +37346,11 @@ var require_feather = __commonJS({ /*! ../internals/hide */ "./node_modules/core-js/internals/hide.js" ); - module2.exports = function(key, value) { + module2.exports = function(key2, value) { try { - hide2(global2, key, value); + hide2(global2, key2, value); } catch (error2) { - global2[key] = value; + global2[key2] = value; } return value; }; @@ -37374,9 +37377,9 @@ var require_feather = __commonJS({ "./node_modules/core-js/internals/well-known-symbol.js" ); var TO_STRING_TAG = wellKnownSymbol("toStringTag"); - module2.exports = function(it, TAG, STATIC) { - if (it && !has(it = STATIC ? it : it.prototype, TO_STRING_TAG)) { - defineProperty(it, TO_STRING_TAG, { configurable: true, value: TAG }); + module2.exports = function(it10, TAG, STATIC) { + if (it10 && !has(it10 = STATIC ? it10 : it10.prototype, TO_STRING_TAG)) { + defineProperty(it10, TO_STRING_TAG, { configurable: true, value: TAG }); } }; }) @@ -37398,8 +37401,8 @@ var require_feather = __commonJS({ "./node_modules/core-js/internals/uid.js" ); var keys = shared("keys"); - module2.exports = function(key) { - return keys[key] || (keys[key] = uid(key)); + module2.exports = function(key2) { + return keys[key2] || (keys[key2] = uid(key2)); }; }) ), @@ -37425,8 +37428,8 @@ var require_feather = __commonJS({ ); var SHARED = "__core-js_shared__"; var store = global2[SHARED] || setGlobal(SHARED, {}); - (module2.exports = function(key, value) { - return store[key] || (store[key] = value !== void 0 ? value : {}); + (module2.exports = function(key2, value) { + return store[key2] || (store[key2] = value !== void 0 ? value : {}); })("versions", []).push({ version: "3.1.3", mode: IS_PURE ? "pure" : "global", @@ -37450,14 +37453,14 @@ var require_feather = __commonJS({ /*! ../internals/require-object-coercible */ "./node_modules/core-js/internals/require-object-coercible.js" ); - module2.exports = function(that, pos, CONVERT_TO_STRING) { - var S = String(requireObjectCoercible(that)); - var position2 = toInteger(pos); - var size3 = S.length; + module2.exports = function(that, pos2, CONVERT_TO_STRING) { + var S7 = String(requireObjectCoercible(that)); + var position2 = toInteger(pos2); + var size3 = S7.length; var first, second; if (position2 < 0 || position2 >= size3) return CONVERT_TO_STRING ? "" : void 0; - first = S.charCodeAt(position2); - return first < 55296 || first > 56319 || position2 + 1 === size3 || (second = S.charCodeAt(position2 + 1)) < 56320 || second > 57343 ? CONVERT_TO_STRING ? S.charAt(position2) : first : CONVERT_TO_STRING ? S.slice(position2, position2 + 2) : (first - 55296 << 10) + (second - 56320) + 65536; + first = S7.charCodeAt(position2); + return first < 55296 || first > 56319 || position2 + 1 === size3 || (second = S7.charCodeAt(position2 + 1)) < 56320 || second > 57343 ? CONVERT_TO_STRING ? S7.charAt(position2) : first : CONVERT_TO_STRING ? S7.slice(position2, position2 + 2) : (first - 55296 << 10) + (second - 56320) + 65536; }; }) ), @@ -37497,8 +37500,8 @@ var require_feather = __commonJS({ /*! ../internals/require-object-coercible */ "./node_modules/core-js/internals/require-object-coercible.js" ); - module2.exports = function(it) { - return IndexedObject(requireObjectCoercible(it)); + module2.exports = function(it10) { + return IndexedObject(requireObjectCoercible(it10)); }; }) ), @@ -37560,16 +37563,16 @@ var require_feather = __commonJS({ /*! no static exports found */ /***/ (function(module2, exports2, __webpack_require__) { - var isObject = __webpack_require__( + var isObject2 = __webpack_require__( /*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js" ); - module2.exports = function(it, S) { - if (!isObject(it)) return it; - var fn, val; - if (S && typeof (fn = it.toString) == "function" && !isObject(val = fn.call(it))) return val; - if (typeof (fn = it.valueOf) == "function" && !isObject(val = fn.call(it))) return val; - if (!S && typeof (fn = it.toString) == "function" && !isObject(val = fn.call(it))) return val; + module2.exports = function(it10, S7) { + if (!isObject2(it10)) return it10; + var fn9, val; + if (S7 && typeof (fn9 = it10.toString) == "function" && !isObject2(val = fn9.call(it10))) return val; + if (typeof (fn9 = it10.valueOf) == "function" && !isObject2(val = fn9.call(it10))) return val; + if (!S7 && typeof (fn9 = it10.toString) == "function" && !isObject2(val = fn9.call(it10))) return val; throw TypeError("Can't convert object to primitive value"); }; }) @@ -37582,10 +37585,10 @@ var require_feather = __commonJS({ /*! no static exports found */ /***/ (function(module2, exports2) { - var id = 0; + var id2 = 0; var postfix = Math.random(); - module2.exports = function(key) { - return "Symbol(".concat(key === void 0 ? "" : key, ")_", (++id + postfix).toString(36)); + module2.exports = function(key2) { + return "Symbol(".concat(key2 === void 0 ? "" : key2, ")_", (++id2 + postfix).toString(36)); }; }) ), @@ -37597,7 +37600,7 @@ var require_feather = __commonJS({ /*! no static exports found */ /***/ (function(module2, exports2, __webpack_require__) { - var isObject = __webpack_require__( + var isObject2 = __webpack_require__( /*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js" ); @@ -37605,9 +37608,9 @@ var require_feather = __commonJS({ /*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js" ); - module2.exports = function(O, proto2) { - anObject(O); - if (!isObject(proto2) && proto2 !== null) { + module2.exports = function(O7, proto2) { + anObject(O7); + if (!isObject2(proto2) && proto2 !== null) { throw TypeError("Can't set " + String(proto2) + " as a prototype"); } }; @@ -37652,7 +37655,7 @@ var require_feather = __commonJS({ /*! no static exports found */ /***/ (function(module2, exports2, __webpack_require__) { - var $2 = __webpack_require__( + var $11 = __webpack_require__( /*! ../internals/export */ "./node_modules/core-js/internals/export.js" ); @@ -37667,7 +37670,7 @@ var require_feather = __commonJS({ var INCORRECT_ITERATION = !checkCorrectnessOfIteration(function(iterable) { Array.from(iterable); }); - $2({ target: "Array", stat: true, forced: INCORRECT_ITERATION }, { + $11({ target: "Array", stat: true, forced: INCORRECT_ITERATION }, { from: from2 }); }) @@ -37722,16 +37725,16 @@ var require_feather = __commonJS({ /*! no static exports found */ /***/ (function(module2, exports2) { - var g; - g = /* @__PURE__ */ (function() { + var g5; + g5 = /* @__PURE__ */ (function() { return this; })(); try { - g = g || Function("return this")() || (1, eval)("this"); - } catch (e) { - if (typeof window === "object") g = window; + g5 = g5 || Function("return this")() || (1, eval)("this"); + } catch (e7) { + if (typeof window === "object") g5 = window; } - module2.exports = g; + module2.exports = g5; }) ), /***/ @@ -37758,11 +37761,11 @@ var require_feather = __commonJS({ value: true }); var _extends = Object.assign || function(target) { - for (var i2 = 1; i2 < arguments.length; i2++) { - var source = arguments[i2]; - for (var key in source) { - if (Object.prototype.hasOwnProperty.call(source, key)) { - target[key] = source[key]; + for (var i5 = 1; i5 < arguments.length; i5++) { + var source2 = arguments[i5]; + for (var key2 in source2) { + if (Object.prototype.hasOwnProperty.call(source2, key2)) { + target[key2] = source2[key2]; } } } @@ -37770,8 +37773,8 @@ var require_feather = __commonJS({ }; var _createClass = /* @__PURE__ */ (function() { function defineProperties(target, props) { - for (var i2 = 0; i2 < props.length; i2++) { - var descriptor = props[i2]; + for (var i5 = 0; i5 < props.length; i5++) { + var descriptor = props[i5]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; @@ -37835,8 +37838,8 @@ var require_feather = __commonJS({ return Icon2; })(); function attrsToString(attrs2) { - return Object.keys(attrs2).map(function(key) { - return key + '="' + attrs2[key] + '"'; + return Object.keys(attrs2).map(function(key2) { + return key2 + '="' + attrs2[key2] + '"'; }).join(" "); } exports2.default = Icon; @@ -37872,8 +37875,8 @@ var require_feather = __commonJS({ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - exports2.default = Object.keys(_icons2.default).map(function(key) { - return new _icon2.default(key, _icons2.default[key], _tags2.default[key]); + exports2.default = Object.keys(_icons2.default).map(function(key2) { + return new _icon2.default(key2, _icons2.default[key2], _tags2.default[key2]); }).reduce(function(object, icon) { object[icon.name] = icon; return object; @@ -37923,11 +37926,11 @@ var require_feather = __commonJS({ value: true }); var _extends = Object.assign || function(target) { - for (var i2 = 1; i2 < arguments.length; i2++) { - var source = arguments[i2]; - for (var key in source) { - if (Object.prototype.hasOwnProperty.call(source, key)) { - target[key] = source[key]; + for (var i5 = 1; i5 < arguments.length; i5++) { + var source2 = arguments[i5]; + for (var key2 in source2) { + if (Object.prototype.hasOwnProperty.call(source2, key2)) { + target[key2] = source2[key2]; } } } @@ -38049,4481 +38052,85941 @@ var require_feather = __commonJS({ } }); -// node_modules/sax/lib/sax.js -var require_sax = __commonJS({ - "node_modules/sax/lib/sax.js"(exports) { - (function(sax2) { - sax2.parser = function(strict, opt) { - return new SAXParser(strict, opt); +// node_modules/prettier/plugins/yaml.mjs +var yaml_exports = {}; +__export(yaml_exports, { + __parsePrettierYamlConfig: () => Xa, + default: () => Ci, + languages: () => Ur, + options: () => Vr, + parsers: () => ir, + printers: () => Ja +}); +function Ri(t26) { + return this[t26 < 0 ? this.length + t26 : t26]; +} +function Fi(t26) { + if (typeof t26 == "string") return Qe; + if (Array.isArray(t26)) return Ge; + if (!t26) return; + let { type: e7 } = t26; + if (bt.has(e7)) return e7; +} +function Ui(t26) { + let e7 = t26 === null ? "null" : typeof t26; + if (e7 !== "string" && e7 !== "object") return `Unexpected doc '${e7}', +Expected it to be 'string' or 'object'.`; + if (Nt(t26)) throw new Error("doc is valid."); + let n5 = Object.prototype.toString.call(t26); + if (n5 !== "[object Object]") return `Unexpected doc '${n5}'.`; + let r5 = qi([...bt].map((s5) => `'${s5}'`)); + return `Unexpected doc.type '${t26.type}'. +Expected it to be ${r5}.`; +} +function Vi(t26, e7) { + if (typeof t26 == "string") return e7(t26); + let n5 = /* @__PURE__ */ new Map(); + return r5(t26); + function r5(i5) { + if (n5.has(i5)) return n5.get(i5); + let o5 = s5(i5); + return n5.set(i5, o5), o5; + } + function s5(i5) { + switch (Nt(i5)) { + case Ge: + return e7(i5.map(r5)); + case Te: + return e7({ ...i5, parts: i5.parts.map(r5) }); + case Ce: + return e7({ ...i5, breakContents: r5(i5.breakContents), flatContents: r5(i5.flatContents) }); + case Le: { + let { expandedStates: o5, contents: a5 } = i5; + return o5 ? (o5 = o5.map(r5), a5 = o5[0]) : a5 = r5(a5), e7({ ...i5, contents: a5, expandedStates: o5 }); + } + case Ae: + case gt: + case Et: + case wt: + case Me: + return e7({ ...i5, contents: r5(i5.contents) }); + case Qe: + case dt: + case yt: + case St: + case re: + case ke: + return e7(i5); + default: + throw new ar(i5); + } + } +} +function cr(t26, e7 = He) { + return Vi(t26, (n5) => typeof n5 == "string" ? v(e7, n5.split(` +`)) : n5); +} +function Je(t26, e7) { + return fr(t26), Z(e7), { type: Ae, contents: e7, n: t26 }; +} +function cn(t26) { + return Je(Number.NEGATIVE_INFINITY, t26); +} +function ur(t26) { + return Je({ type: "root" }, t26); +} +function pr(t26) { + return Je(-1, t26); +} +function At(t26) { + return lr(t26), { type: Te, parts: t26 }; +} +function Pe(t26, e7 = {}) { + return Z(t26), Ot(e7.expandedStates, true), { type: Le, id: e7.id, contents: t26, break: !!e7.shouldBreak, expandedStates: e7.expandedStates }; +} +function ln(t26, e7) { + return Pe(t26[0], { ...e7, expandedStates: t26 }); +} +function ze(t26, e7 = "", n5 = {}) { + return Z(t26), e7 !== "" && Z(e7), { type: Ce, breakContents: t26, flatContents: e7, groupId: n5.groupId }; +} +function v(t26, e7) { + Z(t26), Ot(e7); + let n5 = []; + for (let r5 = 0; r5 < e7.length; r5++) r5 !== 0 && n5.push(t26), n5.push(e7[r5]); + return n5; +} +function mr(t26) { + return Z(t26), { type: Me, contents: t26 }; +} +function Tt(t26) { + return (e7, n5, r5) => { + let s5 = !!r5?.backwards; + if (n5 === false) return false; + let { length: i5 } = e7, o5 = n5; + for (; o5 >= 0 && o5 < i5; ) { + let a5 = e7.charAt(o5); + if (t26 instanceof RegExp) { + if (!t26.test(a5)) return o5; + } else if (!t26.includes(a5)) return o5; + s5 ? o5-- : o5++; + } + return o5 === -1 || o5 === i5 ? o5 : false; + }; +} +function ji(t26, e7, n5) { + let r5 = !!n5?.backwards; + if (e7 === false) return false; + let s5 = t26.charAt(e7); + if (r5) { + if (t26.charAt(e7 - 1) === "\r" && s5 === ` +`) return e7 - 2; + if (hr(s5)) return e7 - 1; + } else { + if (s5 === "\r" && t26.charAt(e7 + 1) === ` +`) return e7 + 2; + if (hr(s5)) return e7 + 1; + } + return e7; +} +function Qi(t26, e7) { + let n5 = e7 - 1; + n5 = fn(t26, n5, { backwards: true }), n5 = un(t26, n5, { backwards: true }), n5 = fn(t26, n5, { backwards: true }); + let r5 = un(t26, n5, { backwards: true }); + return n5 !== r5; +} +function Ar(t26, e7) { + switch (t26.type) { + case "comment": + if (wr(t26.value)) return null; + break; + case "quoteDouble": + case "quoteSingle": + e7.type = "quote"; + break; + case "document": + e7.directivesEndMarker || delete e7.directivesEndMarker, e7.documentEndMarker || delete e7.documentEndMarker; + break; + } +} +function Tr(t26, e7) { + let { node: n5 } = t26; + if (n5.type === "root" && e7.filepath && /(?:[/\\]|^)\.(?:prettier|stylelint|lintstaged)rc$/u.test(e7.filepath)) return async (r5) => { + let s5 = await r5(e7.originalText, { parser: "json" }); + return s5 ? [s5, N] : void 0; + }; +} +function et(t26) { + if (Ze !== null && typeof Ze.property) { + let e7 = Ze; + return Ze = et.prototype = null, e7; + } + return Ze = et.prototype = t26 ?? /* @__PURE__ */ Object.create(null), new et(); +} +function hn(t26) { + return et(t26); +} +function Hi(t26, e7 = "type") { + hn(t26); + function n5(r5) { + let s5 = r5[e7], i5 = t26[s5]; + if (!Array.isArray(i5)) throw Object.assign(new Error(`Missing visitor keys for '${s5}'.`), { node: r5 }); + return i5; + } + return n5; +} +function Xi(t26) { + return Array.isArray(t26) && t26.length > 0; +} +function W(t26, e7) { + return typeof t26?.type == "string" && e7.includes(t26.type); +} +function dn(t26, e7, n5) { + return e7("children" in t26 ? { ...t26, children: t26.children.map((r5) => dn(r5, e7, t26)) } : t26, n5); +} +function Ie(t26, e7, n5) { + Object.defineProperty(t26, e7, { get: n5, enumerable: false }); +} +function _r(t26, e7) { + let n5 = 0, r5 = e7.length; + for (let s5 = t26.position.end.offset - 1; s5 < r5; s5++) { + let i5 = e7[s5]; + if (i5 === ` +` && n5++, n5 === 1 && /\S/u.test(i5)) return false; + if (n5 === 2) return true; + } + return false; +} +function Ct(t26) { + let { node: e7 } = t26; + switch (e7.type) { + case "tag": + case "anchor": + case "comment": + return false; + } + let n5 = t26.stack.length; + for (let r5 = 1; r5 < n5; r5++) { + let s5 = t26.stack[r5], i5 = t26.stack[r5 - 1]; + if (Array.isArray(i5) && typeof s5 == "number" && s5 !== i5.length - 1) return false; + } + return true; +} +function Mt(t26) { + return ve(t26.children) ? Mt(D(0, t26.children, -1)) : t26; +} +function Ir(t26) { + return t26.value.trim() === "prettier-ignore"; +} +function xr(t26) { + let { node: e7 } = t26; + if (e7.type === "documentBody") { + let n5 = t26.parent.head; + return I(n5) && Ir(D(0, n5.endComments, -1)); + } + return te(e7) && Ir(D(0, e7.leadingComments, -1)); +} +function _e(t26) { + return !ve(t26.children) && !zi(t26); +} +function zi(t26) { + return te(t26) || ae(t26) || gn(t26) || K(t26) || I(t26); +} +function te(t26) { + return ve(t26?.leadingComments); +} +function ae(t26) { + return ve(t26?.middleComments); +} +function gn(t26) { + return t26?.indicatorComment; +} +function K(t26) { + return t26?.trailingComment; +} +function I(t26) { + return ve(t26?.endComments); +} +function Rr(t26) { + return t26 ? t26.split(/(? o5 === 0 && o5 === a5.length - 1 ? i5 : o5 !== 0 && o5 !== a5.length - 1 ? i5.trim() : o5 === 0 ? i5.trimEnd() : i5.trimStart()); + if (n5.proseWrap === "preserve") return r5.map((i5) => i5 ? [i5] : []); + let s5 = []; + for (let [i5, o5] of r5.entries()) { + let a5 = Rr(o5); + i5 > 0 && r5[i5 - 1].length > 0 && a5.length > 0 && !(t26 === "quoteDouble" && D(0, D(0, s5, -1), -1).endsWith("\\")) ? s5[s5.length - 1] = [...D(0, s5, -1), ...a5] : s5.push(a5); + } + return n5.proseWrap === "never" ? s5.map((i5) => [i5.join(" ")]) : s5; +} +function $r(t26, { parentIndent: e7, isLastDescendant: n5, options: r5 }) { + let s5 = t26.position.start.line === t26.position.end.line ? "" : r5.originalText.slice(t26.position.start.offset, t26.position.end.offset).match(/^[^\n]*\n(.*)$/su)[1], i5; + if (t26.indent === null) { + let l5 = s5.match(/^(? *)[^\n\r ]/mu); + i5 = l5 ? l5.groups.leadingSpace.length : Number.POSITIVE_INFINITY; + } else i5 = t26.indent - 1 + e7; + let o5 = s5.split(` +`).map((l5) => l5.slice(i5)); + if (r5.proseWrap === "preserve" || t26.type === "blockLiteral") return c7(o5.map((l5) => l5 ? [l5] : [])); + let a5 = []; + for (let [l5, f7] of o5.entries()) { + let m7 = Rr(f7); + l5 > 0 && m7.length > 0 && o5[l5 - 1].length > 0 && !/^\s/u.test(m7[0]) && !/^\s|\s$/u.test(D(0, a5, -1)) ? a5[a5.length - 1] = [...D(0, a5, -1), ...m7] : a5.push(m7); + } + return a5 = a5.map((l5) => { + let f7 = []; + for (let m7 of l5) f7.length > 0 && /\s$/u.test(D(0, f7, -1)) ? f7[f7.length - 1] += " " + m7 : f7.push(m7); + return f7; + }), r5.proseWrap === "never" && (a5 = a5.map((l5) => [l5.join(" ")])), c7(a5); + function c7(l5) { + if (t26.chomping === "keep") return D(0, l5, -1).length === 0 ? l5.slice(0, -1) : l5; + let f7 = 0; + for (let m7 = l5.length - 1; m7 >= 0 && l5[m7].length === 0; m7--) f7++; + return f7 === 0 ? l5 : f7 >= 2 && !n5 ? l5.slice(0, -(f7 - 1)) : l5.slice(0, -f7); + } +} +function nt(t26) { + if (!t26) return true; + switch (t26.type) { + case "plain": + case "quoteDouble": + case "quoteSingle": + case "alias": + case "flowMapping": + case "flowSequence": + return true; + default: + return false; + } +} +function kt(t26, e7) { + let { node: n5, root: r5 } = t26, s5; + return yn.has(r5) ? s5 = yn.get(r5) : (s5 = /* @__PURE__ */ new Set(), yn.set(r5, s5)), !s5.has(n5.position.end.line) && (s5.add(n5.position.end.line), _r(n5, e7) && !En(t26.parent)) ? Lt : ""; +} +function En(t26) { + return I(t26) && !W(t26, ["documentHead", "documentBody", "flowMapping", "flowSequence"]); +} +function _(t26, e7) { + return Je(" ".repeat(t26), e7); +} +function Zi(t26, e7, n5) { + let { node: r5 } = t26, s5 = t26.ancestors.filter((l5) => l5.type === "sequence" || l5.type === "mapping").length, i5 = Ct(t26), o5 = [r5.type === "blockFolded" ? ">" : "|"]; + r5.indent !== null && o5.push(r5.indent.toString()), r5.chomping !== "clip" && o5.push(r5.chomping === "keep" ? "+" : "-"), gn(r5) && o5.push(" ", n5("indicatorComment")); + let a5 = $r(r5, { parentIndent: s5, isLastDescendant: i5, options: e7 }), c7 = []; + for (let [l5, f7] of a5.entries()) l5 === 0 && c7.push(N), c7.push(At(v(se, f7))), l5 !== a5.length - 1 ? c7.push(f7.length === 0 ? N : ur(He)) : r5.chomping === "keep" && i5 && c7.push(cn(f7.length === 0 ? N : He)); + return r5.indent === null ? o5.push(pr(_(e7.tabWidth, c7))) : o5.push(cn(_(r5.indent - 1 + s5, c7))), o5; +} +function Pt(t26, e7, n5) { + let { node: r5 } = t26, s5 = r5.type === "flowMapping", i5 = s5 ? "{" : "[", o5 = s5 ? "}" : "]", a5 = Lt; + s5 && r5.children.length > 0 && e7.bracketSpacing && (a5 = se); + let c7 = D(0, r5.children, -1), l5 = c7?.type === "flowMappingItem" && _e(c7.key) && _e(c7.value); + return [i5, _(e7.tabWidth, [a5, eo(t26, e7, n5), e7.trailingComma === "none" ? "" : ze(","), I(r5) ? [N, v(N, t26.map(n5, "endComments"))] : ""]), l5 ? "" : a5, o5]; +} +function eo(t26, e7, n5) { + return t26.map(({ isLast: r5, node: s5, next: i5 }) => [n5(), r5 ? "" : [",", se, s5.position.start.line !== i5.position.start.line ? kt(t26, e7.originalText) : ""]], "children"); +} +function to(t26, e7, n5) { + let { node: r5, parent: s5 } = t26, { key: i5, value: o5 } = r5, a5 = _e(i5), c7 = _e(o5); + if (a5 && c7) return ": "; + let l5 = n5("key"), f7 = no(r5) ? " " : ""; + if (c7) return r5.type === "flowMappingItem" && s5.type === "flowMapping" ? l5 : r5.type === "mappingItem" && Sn(i5.content, e7) && !K(i5.content) && s5.tag?.value !== "tag:yaml.org,2002:set" ? [l5, f7, ":"] : ["? ", _(2, l5)]; + let m7 = n5("value"); + if (a5) return [": ", _(2, m7)]; + if (te(o5) || !nt(i5.content)) return ["? ", _(2, l5), N, ...t26.map(() => [n5(), N], "value", "leadingComments"), ": ", _(2, m7)]; + if (ro(i5.content) && !te(i5.content) && !ae(i5.content) && !K(i5.content) && !I(i5) && !te(o5.content) && !ae(o5.content) && !I(o5) && Sn(o5.content, e7)) return [l5, f7, ": ", m7]; + let g5 = /* @__PURE__ */ Symbol("mappingKey"), y10 = Pe([ze("? "), Pe(_(2, l5), { id: g5 })]), h5 = [N, ": ", _(2, m7)], d5 = [f7, ":"]; + I(o5) && o5.content && W(o5.content, ["flowMapping", "flowSequence"]) && o5.content.children.length === 0 ? d5.push(" ") : te(o5.content) || I(o5) && o5.content && !W(o5.content, ["mapping", "sequence"]) || s5.type === "mapping" && K(i5.content) && nt(o5.content) || W(o5.content, ["mapping", "sequence"]) && o5.content.tag === null && o5.content.anchor === null ? d5.push(N) : o5.content ? d5.push(se) : K(o5) && d5.push(" "), d5.push(m7); + let w8 = _(e7.tabWidth, d5); + return Sn(i5.content, e7) && !te(i5.content) && !ae(i5.content) && !K(i5.content) && !I(i5) ? ln([[l5, w8]]) : ln([[y10, ze(h5, w8, { groupId: g5 })]]); +} +function Sn(t26, e7) { + if (!t26) return true; + switch (t26.type) { + case "plain": + case "quoteSingle": + case "quoteDouble": + break; + case "alias": + return true; + default: + return false; + } + if (e7.proseWrap === "preserve") return t26.position.start.line === t26.position.end.line; + if (/\\$/mu.test(e7.originalText.slice(t26.position.start.offset, t26.position.end.offset))) return false; + switch (e7.proseWrap) { + case "never": + return !t26.value.includes(` +`); + case "always": + return !/[\n ]/u.test(t26.value); + default: + return false; + } +} +function no(t26) { + return t26.key.content?.type === "alias"; +} +function ro(t26) { + if (!t26) return true; + switch (t26.type) { + case "plain": + case "quoteDouble": + case "quoteSingle": + return t26.position.start.line === t26.position.end.line; + case "alias": + return true; + default: + return false; + } +} +function so(t26) { + return dn(t26, io); +} +function io(t26) { + switch (t26.type) { + case "document": + Ie(t26, "head", () => t26.children[0]), Ie(t26, "body", () => t26.children[1]); + break; + case "documentBody": + case "sequenceItem": + case "flowSequenceItem": + case "mappingKey": + case "mappingValue": + Ie(t26, "content", () => t26.children[0]); + break; + case "mappingItem": + case "flowMappingItem": + Ie(t26, "key", () => t26.children[0]), Ie(t26, "value", () => t26.children[1]); + break; + } + return t26; +} +function oo(t26, e7, n5) { + let { node: r5 } = t26, s5 = []; + r5.type !== "mappingValue" && te(r5) && s5.push([v(N, t26.map(n5, "leadingComments")), N]); + let { tag: i5, anchor: o5 } = r5; + i5 && s5.push(n5("tag")), i5 && o5 && s5.push(" "), o5 && s5.push(n5("anchor")); + let a5 = ""; + return W(r5, ["mapping", "sequence", "comment", "directive", "mappingItem", "sequenceItem"]) && !Ct(t26) && (a5 = kt(t26, e7.originalText)), (i5 || o5) && (W(r5, ["sequence", "mapping"]) && !ae(r5) ? s5.push(N) : s5.push(" ")), ae(r5) && s5.push([r5.middleComments.length === 1 ? "" : N, v(N, t26.map(n5, "middleComments")), N]), xr(t26) ? s5.push(cr(e7.originalText.slice(r5.position.start.offset, r5.position.end.offset).trimEnd())) : s5.push(Pe(ao(t26, e7, n5))), K(r5) && !W(r5, ["document", "documentHead"]) && s5.push(mr([r5.type === "mappingValue" && !r5.content ? "" : " ", t26.parent.type === "mappingKey" && t26.getParentNode(2).type === "mapping" && nt(r5) ? "" : Xe, n5("trailingComment")])), En(r5) && s5.push(_(r5.type === "sequenceItem" ? 2 : 0, [N, v(N, t26.map(({ node: c7 }) => [pn(e7.originalText, tt(c7)) ? N : "", n5()], "endComments"))])), s5.push(a5), s5; +} +function ao(t26, e7, n5) { + let { node: r5 } = t26; + switch (r5.type) { + case "root": { + let s5 = Mt(r5), i5 = !(W(s5, ["blockLiteral", "blockFolded"]) && s5.chomping === "keep"), o5 = []; + return t26.each(({ node: a5, isFirst: c7 }) => { + c7 || o5.push(N), o5.push(n5()), lo(t26) && (i5 && o5.push(N), o5.push("..."), K(a5) && o5.push(" ", n5("trailingComment"))); + }, "children"), i5 && o5.push(N), o5; + } + case "document": { + let s5 = []; + return fo(t26) && ((r5.head.children.length > 0 || r5.head.endComments.length > 0) && s5.push(n5("head")), K(r5.head) ? s5.push(["---", " ", n5(["head", "trailingComment"])]) : s5.push("---")), co(r5) && s5.push(n5("body")), v(N, s5); + } + case "documentHead": + return v(N, [...t26.map(n5, "children"), ...t26.map(n5, "endComments")]); + case "documentBody": { + let { children: s5, endComments: i5 } = r5, o5 = ""; + if (s5.length > 0 && i5.length > 0) { + let a5 = Mt(r5); + if (W(a5, ["blockFolded", "blockLiteral"])) a5.chomping !== "keep" && (o5 = [N, N]); + else { + let c7 = D(0, s5, -1); + o5 = W(c7, ["mapping"]) && pn(e7.originalText, tt(i5[0])) ? [N, N] : N; + } + } + return [v(N, t26.map(n5, "children")), o5, v(N, t26.map(n5, "endComments"))]; + } + case "directive": + return ["%", v(" ", [r5.name, ...r5.parameters])]; + case "comment": + return ["#", r5.value]; + case "alias": + return ["*", r5.value]; + case "tag": + return e7.originalText.slice(r5.position.start.offset, r5.position.end.offset); + case "anchor": + return ["&", r5.value]; + case "plain": + return rt(r5.type, e7.originalText.slice(r5.position.start.offset, r5.position.end.offset), e7); + case "quoteDouble": + case "quoteSingle": { + let o5 = e7.originalText.slice(r5.position.start.offset + 1, r5.position.end.offset - 1); + if (r5.type === "quoteSingle" && o5.includes("\\") || r5.type === "quoteDouble" && /\\[^"]/u.test(o5)) { + let c7 = r5.type === "quoteDouble" ? '"' : "'"; + return [c7, rt(r5.type, o5, e7), c7]; + } + if (o5.includes('"')) return ["'", rt(r5.type, r5.type === "quoteDouble" ? ht(0, ht(0, o5, '\\"', '"'), "'", "'".repeat(2)) : o5, e7), "'"]; + if (o5.includes("'")) return ['"', rt(r5.type, r5.type === "quoteSingle" ? ht(0, o5, "''", "'") : o5, e7), '"']; + let a5 = e7.singleQuote ? "'" : '"'; + return [a5, rt(r5.type, o5, e7), a5]; + } + case "blockFolded": + case "blockLiteral": + return Yr(t26, e7, n5); + case "mapping": + case "sequence": + return v(N, t26.map(n5, "children")); + case "sequenceItem": + return ["- ", _(2, r5.content ? n5("content") : "")]; + case "mappingKey": + case "mappingValue": + return r5.content ? n5("content") : ""; + case "mappingItem": + case "flowMappingItem": + return Br(t26, e7, n5); + case "flowMapping": + return Pt(t26, e7, n5); + case "flowSequence": + return Pt(t26, e7, n5); + case "flowSequenceItem": + return n5("content"); + default: + throw new dr(r5, "YAML"); + } +} +function co(t26) { + return t26.body.children.length > 0 || I(t26.body); +} +function lo(t26) { + let e7 = t26.node; + if (e7.documentEndMarker || K(e7)) return true; + if (t26.isLast) return false; + let n5 = t26.next; + return n5.head.children.length > 0 || I(n5.head); +} +function fo(t26) { + let e7 = t26.node; + return e7.directivesEndMarker || e7.head.children.length > 0 || I(e7.head) || K(e7.head); +} +function rt(t26, e7, n5) { + let r5 = Dr(t26, e7, n5); + return v(N, r5.map((s5) => At(v(se, s5)))); +} +function F(t26, e7 = null) { + "children" in t26 && t26.children.forEach((n5) => F(n5, t26)), "anchor" in t26 && t26.anchor && F(t26.anchor, t26), "tag" in t26 && t26.tag && F(t26.tag, t26), "leadingComments" in t26 && t26.leadingComments.forEach((n5) => F(n5, t26)), "middleComments" in t26 && t26.middleComments.forEach((n5) => F(n5, t26)), "indicatorComment" in t26 && t26.indicatorComment && F(t26.indicatorComment, t26), "trailingComment" in t26 && t26.trailingComment && F(t26.trailingComment, t26), "endComments" in t26 && t26.endComments.forEach((n5) => F(n5, t26)), Object.defineProperty(t26, "_parent", { value: e7, enumerable: false }); +} +function Oe(t26) { + return `${t26.line}:${t26.column}`; +} +function Is(t26) { + F(t26); + let e7 = _a(t26), n5 = t26.children.slice(); + t26.comments.sort((r5, s5) => r5.position.start.offset - s5.position.end.offset).filter((r5) => !r5._parent).forEach((r5) => { + for (; n5.length > 1 && r5.position.start.line > n5[0].position.end.line; ) n5.shift(); + xa(r5, e7, n5[0]); + }); +} +function _a(t26) { + let e7 = Array.from(new Array(t26.position.end.line), () => ({})); + for (let n5 of t26.comments) e7[n5.position.start.line - 1].comment = n5; + return _s(e7, t26), e7; +} +function _s(t26, e7) { + if (e7.position.start.offset !== e7.position.end.offset) { + if ("leadingComments" in e7) { + let { start: n5 } = e7.position, { leadingAttachableNode: r5 } = t26[n5.line - 1]; + (!r5 || n5.column < r5.position.start.column) && (t26[n5.line - 1].leadingAttachableNode = e7); + } + if ("trailingComment" in e7 && e7.position.end.column > 1 && e7.type !== "document" && e7.type !== "documentHead") { + let { end: n5 } = e7.position, { trailingAttachableNode: r5 } = t26[n5.line - 1]; + (!r5 || n5.column >= r5.position.end.column) && (t26[n5.line - 1].trailingAttachableNode = e7); + } + if (e7.type !== "root" && e7.type !== "document" && e7.type !== "documentHead" && e7.type !== "documentBody") { + let { start: n5, end: r5 } = e7.position, s5 = [r5.line].concat(n5.line === r5.line ? [] : n5.line); + for (let i5 of s5) { + let o5 = t26[i5 - 1].trailingNode; + (!o5 || r5.column >= o5.position.end.column) && (t26[i5 - 1].trailingNode = e7); + } + } + "children" in e7 && e7.children.forEach((n5) => { + _s(t26, n5); + }); + } +} +function xa(t26, e7, n5) { + let r5 = t26.position.start.line, { trailingAttachableNode: s5 } = e7[r5 - 1]; + if (s5) { + if (s5.trailingComment) throw new Error(`Unexpected multiple trailing comment at ${Oe(t26.position.start)}`); + F(t26, s5), s5.trailingComment = t26; + return; + } + for (let o5 = r5; o5 >= n5.position.start.line; o5--) { + let { trailingNode: a5 } = e7[o5 - 1], c7; + if (a5) c7 = a5; + else if (o5 !== r5 && e7[o5 - 1].comment) c7 = e7[o5 - 1].comment._parent; + else continue; + if ((c7.type === "sequence" || c7.type === "mapping") && (c7 = c7.children[0]), c7.type === "mappingItem") { + let [l5, f7] = c7.children; + c7 = xs(l5) ? l5 : f7; + } + for (; ; ) { + if (Ra(c7, t26)) { + F(t26, c7), c7.endComments.push(t26); + return; + } + if (!c7._parent) break; + c7 = c7._parent; + } + break; + } + for (let o5 = r5 + 1; o5 <= n5.position.end.line; o5++) { + let { leadingAttachableNode: a5 } = e7[o5 - 1]; + if (a5) { + F(t26, a5), a5.leadingComments.push(t26); + return; + } + } + let i5 = n5.children[1]; + F(t26, i5), i5.endComments.push(t26); +} +function Ra(t26, e7) { + if (t26.position.start.offset < e7.position.start.offset && t26.position.end.offset > e7.position.end.offset) switch (t26.type) { + case "flowMapping": + case "flowSequence": + return t26.children.length === 0 || e7.position.start.line > t26.children[t26.children.length - 1].position.end.line; + } + if (e7.position.end.offset < t26.position.end.offset) return false; + switch (t26.type) { + case "sequenceItem": + return e7.position.start.column > t26.position.start.column; + case "mappingKey": + case "mappingValue": + return e7.position.start.column > t26._parent.position.start.column && (t26.children.length === 0 || t26.children.length === 1 && t26.children[0].type !== "blockFolded" && t26.children[0].type !== "blockLiteral") && (t26.type === "mappingValue" || xs(t26)); + default: + return false; + } +} +function xs(t26) { + return t26.position.start !== t26.position.end && (t26.children.length === 0 || t26.position.start.offset !== t26.children[0].position.start.offset); +} +function b(t26, e7) { + return { type: t26, position: e7 }; +} +function Rs(t26, e7, n5) { + return { ...b("root", t26), children: e7, comments: n5 }; +} +function pt(t26) { + switch (t26.type) { + case "DOCUMENT": + for (let e7 = t26.contents.length - 1; e7 >= 0; e7--) t26.contents[e7].type === "BLANK_LINE" ? t26.contents.splice(e7, 1) : pt(t26.contents[e7]); + for (let e7 = t26.directives.length - 1; e7 >= 0; e7--) t26.directives[e7].type === "BLANK_LINE" && t26.directives.splice(e7, 1); + break; + case "FLOW_MAP": + case "FLOW_SEQ": + case "MAP": + case "SEQ": + for (let e7 = t26.items.length - 1; e7 >= 0; e7--) { + let n5 = t26.items[e7]; + "char" in n5 || (n5.type === "BLANK_LINE" ? t26.items.splice(e7, 1) : pt(n5)); + } + break; + case "MAP_KEY": + case "MAP_VALUE": + case "SEQ_ITEM": + t26.node && pt(t26.node); + break; + case "ALIAS": + case "BLANK_LINE": + case "BLOCK_FOLDED": + case "BLOCK_LITERAL": + case "COMMENT": + case "DIRECTIVE": + case "PLAIN": + case "QUOTE_DOUBLE": + case "QUOTE_SINGLE": + break; + default: + throw new Error(`Unexpected node type ${JSON.stringify(t26.type)}`); + } +} +function X(t26, e7) { + return { start: t26, end: e7 }; +} +function Hn(t26) { + return { start: t26, end: t26 }; +} +function Ds(t26, e7) { + return { ...b("anchor", t26), value: e7 }; +} +function Ve(t26, e7) { + return { ...b("comment", t26), value: e7 }; +} +function $s(t26, e7, n5) { + return { anchor: e7, tag: t26, middleComments: n5 }; +} +function Ys(t26, e7) { + return { ...b("tag", t26), value: e7 }; +} +function Ht(t26, e7, n5 = () => false) { + let r5 = t26.cstNode, s5 = [], i5 = null, o5 = null, a5 = null; + for (let c7 of r5.props) { + let l5 = e7.text[c7.origStart]; + switch (l5) { + case me.Tag: + i5 = i5 || c7, o5 = Ys(e7.transformRange(c7), t26.tag); + break; + case me.Anchor: + i5 = i5 || c7, a5 = Ds(e7.transformRange(c7), r5.anchor); + break; + case me.Comment: { + let f7 = Ve(e7.transformRange(c7), e7.text.slice(c7.origStart + 1, c7.origEnd)); + e7.comments.push(f7), !n5(f7) && i5 && i5.origEnd <= c7.origStart && c7.origEnd <= r5.valueRange.origStart && s5.push(f7); + break; + } + default: + throw new Error(`Unexpected leading character ${JSON.stringify(l5)}`); + } + } + return $s(o5, a5, s5); +} +function z() { + return { leadingComments: [] }; +} +function he(t26 = null) { + return { trailingComment: t26 }; +} +function q() { + return { ...z(), ...he() }; +} +function Bs(t26, e7, n5) { + return { ...b("alias", t26), ...q(), ...e7, value: n5 }; +} +function Fs(t26, e7) { + let n5 = t26.cstNode; + return Bs(e7.transformRange({ origStart: n5.valueRange.origStart - 1, origEnd: n5.valueRange.origEnd }), e7.transformContent(t26), n5.rawValue); +} +function qs(t26) { + return { ...t26, type: "blockFolded" }; +} +function Us(t26, e7, n5, r5, s5, i5) { + return { ...b("blockValue", t26), ...z(), ...e7, chomping: n5, indent: r5, value: s5, indicatorComment: i5 }; +} +function Jt(t26, e7) { + let n5 = t26.cstNode, r5 = 1, s5 = n5.chomping === "CLIP" ? 0 : 1, o5 = n5.header.origEnd - n5.header.origStart - r5 - s5 !== 0, a5 = e7.transformRange({ origStart: n5.header.origStart, origEnd: n5.valueRange.origEnd }), c7 = null, l5 = Ht(t26, e7, (f7) => { + if (!(a5.start.offset < f7.position.start.offset && f7.position.end.offset < a5.end.offset)) return false; + if (c7) throw new Error(`Unexpected multiple indicator comments at ${Oe(f7.position.start)}`); + return c7 = f7, true; + }); + return Us(a5, l5, Jn[n5.chomping], o5 ? n5.blockIndent : null, n5.strValue, c7); +} +function Vs(t26, e7) { + return qs(Jt(t26, e7)); +} +function Ws(t26) { + return { ...t26, type: "blockLiteral" }; +} +function Ks(t26, e7) { + return Ws(Jt(t26, e7)); +} +function js(t26, e7) { + return Ve(e7.transformRange(t26.range), t26.comment); +} +function Qs(t26, e7, n5) { + return { ...b("directive", t26), ...q(), name: e7, parameters: n5 }; +} +function We(t26, e7) { + for (let n5 of t26.props) { + let r5 = e7.text[n5.origStart]; + switch (r5) { + case me.Comment: + e7.comments.push(Ve(e7.transformRange(n5), e7.text.slice(n5.origStart + 1, n5.origEnd))); + break; + default: + throw new Error(`Unexpected leading character ${JSON.stringify(r5)}`); + } + } +} +function Gs(t26, e7) { + return We(t26, e7), Qs(e7.transformRange(t26.range), t26.name, t26.parameters); +} +function Hs(t26, e7, n5, r5, s5, i5) { + return { ...b("document", t26), ...he(i5), directivesEndMarker: e7, documentEndMarker: n5, children: [r5, s5] }; +} +function U(t26 = []) { + return { endComments: t26 }; +} +function Js(t26, e7, n5) { + return { ...b("documentBody", t26), ...U(n5), children: e7 ? [e7] : [] }; +} +function V(t26) { + return t26[t26.length - 1]; +} +function Xt(t26, e7) { + let n5 = t26.match(e7); + return n5 ? n5.index : -1; +} +function Xs(t26, e7, n5) { + let r5 = t26.cstNode, { comments: s5, endComments: i5, documentTrailingComment: o5, documentHeadTrailingComment: a5 } = Da(r5, e7, n5), c7 = e7.transformNode(t26.contents), { position: l5, documentEndPoint: f7 } = $a(r5, c7, e7); + return e7.comments.push(...s5, ...i5), { documentBody: Js(l5, c7, i5), documentEndPoint: f7, documentTrailingComment: o5, documentHeadTrailingComment: a5 }; +} +function Da(t26, e7, n5) { + let r5 = [], s5 = [], i5 = [], o5 = [], a5 = false; + for (let c7 = t26.contents.length - 1; c7 >= 0; c7--) { + let l5 = t26.contents[c7]; + if (l5.type === "COMMENT") { + let f7 = e7.transformNode(l5); + n5 && n5.line === f7.position.start.line ? o5.unshift(f7) : a5 ? r5.unshift(f7) : f7.position.start.offset >= t26.valueRange.origEnd ? i5.unshift(f7) : r5.unshift(f7); + } else a5 = true; + } + if (i5.length > 1) throw new Error(`Unexpected multiple document trailing comments at ${Oe(i5[1].position.start)}`); + if (o5.length > 1) throw new Error(`Unexpected multiple documentHead trailing comments at ${Oe(o5[1].position.start)}`); + return { comments: r5, endComments: s5, documentTrailingComment: V(i5) || null, documentHeadTrailingComment: V(o5) || null }; +} +function $a(t26, e7, n5) { + let r5 = Xt(n5.text.slice(t26.valueRange.origEnd), /^\.\.\./), s5 = r5 === -1 ? t26.valueRange.origEnd : Math.max(0, t26.valueRange.origEnd - 1); + n5.text[s5 - 1] === "\r" && s5--; + let i5 = n5.transformRange({ origStart: e7 !== null ? e7.position.start.offset : s5, origEnd: s5 }), o5 = r5 === -1 ? i5.end : n5.transformOffset(t26.valueRange.origEnd + 3); + return { position: i5, documentEndPoint: o5 }; +} +function zs(t26, e7, n5, r5) { + return { ...b("documentHead", t26), ...U(n5), ...he(r5), children: e7 }; +} +function Zs(t26, e7) { + let n5 = t26.cstNode, { directives: r5, comments: s5, endComments: i5 } = Ya(n5, e7), { position: o5, documentEndMarkererPoint: a5 } = Ba(n5, r5, e7); + return e7.comments.push(...s5, ...i5), { createDocumentHeadWithTrailingComment: (l5) => (l5 && e7.comments.push(l5), zs(o5, r5, i5, l5)), documentHeadEndMarkerPoint: a5 }; +} +function Ya(t26, e7) { + let n5 = [], r5 = [], s5 = [], i5 = false; + for (let o5 = t26.directives.length - 1; o5 >= 0; o5--) { + let a5 = e7.transformNode(t26.directives[o5]); + a5.type === "comment" ? i5 ? r5.unshift(a5) : s5.unshift(a5) : (i5 = true, n5.unshift(a5)); + } + return { directives: n5, comments: r5, endComments: s5 }; +} +function Ba(t26, e7, n5) { + let r5 = Xt(n5.text.slice(0, t26.valueRange.origStart), /---\s*$/); + r5 > 0 && !/[\r\n]/.test(n5.text[r5 - 1]) && (r5 = -1); + let s5 = r5 === -1 ? { origStart: t26.valueRange.origStart, origEnd: t26.valueRange.origStart } : { origStart: r5, origEnd: r5 + 3 }; + return e7.length !== 0 && (s5.origStart = e7[0].position.start.offset), { position: n5.transformRange(s5), documentEndMarkererPoint: r5 === -1 ? null : n5.transformOffset(r5) }; +} +function ei(t26, e7) { + let { createDocumentHeadWithTrailingComment: n5, documentHeadEndMarkerPoint: r5 } = Zs(t26, e7), { documentBody: s5, documentEndPoint: i5, documentTrailingComment: o5, documentHeadTrailingComment: a5 } = Xs(t26, e7, r5), c7 = n5(a5); + o5 && e7.comments.push(o5); + let l5 = t26.cstNode; + return Hs(X(c7.position.start, i5), !!l5.directivesEndMarker, !!l5.documentEndMarker, c7, s5, o5); +} +function zt(t26, e7, n5) { + return { ...b("flowCollection", t26), ...q(), ...U(), ...e7, children: n5 }; +} +function ti(t26, e7, n5) { + return { ...zt(t26, e7, n5), type: "flowMapping" }; +} +function Zt(t26, e7, n5) { + return { ...b("flowMappingItem", t26), ...z(), children: [e7, n5] }; +} +function de(t26, e7) { + let n5 = []; + for (let r5 of t26) r5 && "type" in r5 && r5.type === "COMMENT" ? e7.comments.push(e7.transformNode(r5)) : n5.push(r5); + return n5; +} +function en(t26) { + let [e7, n5] = ["?", ":"].map((r5) => { + let s5 = t26.find((i5) => "char" in i5 && i5.char === r5); + return s5 ? { origStart: s5.origOffset, origEnd: s5.origOffset + 1 } : null; + }); + return { additionalKeyRange: e7, additionalValueRange: n5 }; +} +function tn(t26, e7) { + let n5 = e7; + return (r5) => t26.slice(n5, n5 = r5); +} +function nn(t26) { + let e7 = [], n5 = tn(t26, 1), r5 = false; + for (let s5 = 1; s5 < t26.length - 1; s5++) { + let i5 = t26[s5]; + if ("char" in i5 && i5.char === ",") { + e7.push(n5(s5)), n5(s5 + 1), r5 = false; + continue; + } + r5 = true; + } + return r5 && e7.push(n5(t26.length - 1)), e7; +} +function Xn(t26, e7) { + return { ...b("mappingKey", t26), ...he(), ...U(), children: e7 ? [e7] : [] }; +} +function zn(t26, e7) { + return { ...b("mappingValue", t26), ...q(), ...U(), children: e7 ? [e7] : [] }; +} +function Ke(t26, e7, n5, r5, s5) { + let i5 = e7.transformNode(t26.key), o5 = e7.transformNode(t26.value), a5 = i5 || r5 ? Xn(e7.transformRange({ origStart: r5 ? r5.origStart : i5.position.start.offset, origEnd: i5 ? i5.position.end.offset : r5.origStart + 1 }), i5) : null, c7 = o5 || s5 ? zn(e7.transformRange({ origStart: s5 ? s5.origStart : o5.position.start.offset, origEnd: o5 ? o5.position.end.offset : s5.origStart + 1 }), o5) : null; + return n5(X(a5 ? a5.position.start : c7.position.start, c7 ? c7.position.end : a5.position.end), a5 || Xn(Hn(c7.position.start), null), c7 || zn(Hn(a5.position.end), null)); +} +function ni(t26, e7) { + let n5 = de(t26.cstNode.items, e7), r5 = nn(n5), s5 = t26.items.map((a5, c7) => { + let l5 = r5[c7], { additionalKeyRange: f7, additionalValueRange: m7 } = en(l5); + return Ke(a5, e7, Zt, f7, m7); + }), i5 = n5[0], o5 = V(n5); + return ti(e7.transformRange({ origStart: i5.origOffset, origEnd: o5.origOffset + 1 }), e7.transformContent(t26), s5); +} +function ri(t26, e7, n5) { + return { ...zt(t26, e7, n5), type: "flowSequence" }; +} +function si(t26, e7) { + return { ...b("flowSequenceItem", t26), children: [e7] }; +} +function ii(t26, e7) { + let n5 = de(t26.cstNode.items, e7), r5 = nn(n5), s5 = t26.items.map((a5, c7) => { + if (a5.type !== "PAIR") { + let l5 = e7.transformNode(a5); + return si(X(l5.position.start, l5.position.end), l5); + } else { + let l5 = r5[c7], { additionalKeyRange: f7, additionalValueRange: m7 } = en(l5); + return Ke(a5, e7, Zt, f7, m7); + } + }), i5 = n5[0], o5 = V(n5); + return ri(e7.transformRange({ origStart: i5.origOffset, origEnd: o5.origOffset + 1 }), e7.transformContent(t26), s5); +} +function oi(t26, e7, n5) { + return { ...b("mapping", t26), ...z(), ...e7, children: n5 }; +} +function ai(t26, e7, n5) { + return { ...b("mappingItem", t26), ...z(), children: [e7, n5] }; +} +function ci(t26, e7) { + let n5 = t26.cstNode; + n5.items.filter((o5) => o5.type === "MAP_KEY" || o5.type === "MAP_VALUE").forEach((o5) => We(o5, e7)); + let r5 = de(n5.items, e7), s5 = Fa(r5), i5 = t26.items.map((o5, a5) => { + let c7 = s5[a5], [l5, f7] = c7[0].type === "MAP_VALUE" ? [null, c7[0].range] : [c7[0].range, c7.length === 1 ? null : c7[1].range]; + return Ke(o5, e7, ai, l5, f7); + }); + return oi(X(i5[0].position.start, V(i5).position.end), e7.transformContent(t26), i5); +} +function Fa(t26) { + let e7 = [], n5 = tn(t26, 0), r5 = false; + for (let s5 = 0; s5 < t26.length; s5++) { + if (t26[s5].type === "MAP_VALUE") { + e7.push(n5(s5 + 1)), r5 = false; + continue; + } + r5 && e7.push(n5(s5)), r5 = true; + } + return r5 && e7.push(n5(1 / 0)), e7; +} +function li(t26, e7, n5) { + return { ...b("plain", t26), ...q(), ...e7, value: n5 }; +} +function fi(t26, e7, n5) { + for (let r5 = e7; r5 >= 0; r5--) if (n5.test(t26[r5])) return r5; + return -1; +} +function ui(t26, e7) { + let n5 = t26.cstNode; + return li(e7.transformRange({ origStart: n5.valueRange.origStart, origEnd: fi(e7.text, n5.valueRange.origEnd - 1, /\S/) + 1 }), e7.transformContent(t26), n5.strValue); +} +function pi(t26) { + return { ...t26, type: "quoteDouble" }; +} +function mi(t26, e7, n5) { + return { ...b("quoteValue", t26), ...e7, ...q(), value: n5 }; +} +function rn(t26, e7) { + let n5 = t26.cstNode; + return mi(e7.transformRange(n5.valueRange), e7.transformContent(t26), n5.strValue); +} +function hi(t26, e7) { + return pi(rn(t26, e7)); +} +function di(t26) { + return { ...t26, type: "quoteSingle" }; +} +function gi(t26, e7) { + return di(rn(t26, e7)); +} +function yi(t26, e7, n5) { + return { ...b("sequence", t26), ...z(), ...U(), ...e7, children: n5 }; +} +function Ei(t26, e7) { + return { ...b("sequenceItem", t26), ...q(), ...U(), children: e7 ? [e7] : [] }; +} +function Si(t26, e7) { + let r5 = de(t26.cstNode.items, e7).map((s5, i5) => { + We(s5, e7); + let o5 = e7.transformNode(t26.items[i5]); + return Ei(X(e7.transformOffset(s5.valueRange.origStart), o5 === null ? e7.transformOffset(s5.valueRange.origStart + 1) : o5.position.end), o5); + }); + return yi(X(r5[0].position.start, V(r5).position.end), e7.transformContent(t26), r5); +} +function wi(t26, e7) { + if (t26 === null || t26.type === void 0 && t26.value === null) return null; + switch (t26.type) { + case "ALIAS": + return Fs(t26, e7); + case "BLOCK_FOLDED": + return Vs(t26, e7); + case "BLOCK_LITERAL": + return Ks(t26, e7); + case "COMMENT": + return js(t26, e7); + case "DIRECTIVE": + return Gs(t26, e7); + case "DOCUMENT": + return ei(t26, e7); + case "FLOW_MAP": + return ni(t26, e7); + case "FLOW_SEQ": + return ii(t26, e7); + case "MAP": + return ci(t26, e7); + case "PLAIN": + return ui(t26, e7); + case "QUOTE_DOUBLE": + return hi(t26, e7); + case "QUOTE_SINGLE": + return gi(t26, e7); + case "SEQ": + return Si(t26, e7); + default: + throw new Error(`Unexpected node type ${t26.type}`); + } +} +function Ni(t26, e7, n5) { + let r5 = new SyntaxError(t26); + return r5.name = "YAMLSyntaxError", r5.source = e7, r5.position = n5, r5; +} +function Oi(t26, e7) { + let n5 = t26.source.range || t26.source.valueRange; + return Ni(t26.message, e7.text, e7.transformRange(n5)); +} +function tr(t26) { + if ("children" in t26) { + if (t26.children.length === 1) { + let e7 = t26.children[0]; + if (e7.type === "plain" && e7.tag === null && e7.anchor === null && e7.value === "") return t26.children.splice(0, 1), t26; + } + t26.children.forEach(tr); + } + return t26; +} +function nr(t26, e7, n5, r5) { + let s5 = e7(t26); + return (i5) => { + r5(s5, i5) && n5(t26, s5 = i5); + }; +} +function rr(t26) { + if (t26 === null || !("children" in t26)) return; + let e7 = t26.children; + if (e7.forEach(rr), t26.type === "document") { + let [i5, o5] = t26.children; + i5.position.start.offset === i5.position.end.offset ? i5.position.start = i5.position.end = o5.position.start : o5.position.start.offset === o5.position.end.offset && (o5.position.start = o5.position.end = i5.position.end); + } + let n5 = nr(t26.position, qa, Ua, Ka), r5 = nr(t26.position, Va, Wa, ja); + "endComments" in t26 && t26.endComments.length !== 0 && (n5(t26.endComments[0].position.start), r5(V(t26.endComments).position.end)); + let s5 = e7.filter((i5) => i5 !== null); + if (s5.length !== 0) { + let i5 = s5[0], o5 = V(s5); + n5(i5.position.start), r5(o5.position.end), "leadingComments" in i5 && i5.leadingComments.length !== 0 && n5(i5.leadingComments[0].position.start), "tag" in i5 && i5.tag && n5(i5.tag.position.start), "anchor" in i5 && i5.anchor && n5(i5.anchor.position.start), "trailingComment" in o5 && o5.trailingComment && r5(o5.trailingComment.position.end); + } +} +function qa(t26) { + return t26.start; +} +function Ua(t26, e7) { + t26.start = e7; +} +function Va(t26) { + return t26.end; +} +function Wa(t26, e7) { + t26.end = e7; +} +function Ka(t26, e7) { + return e7.offset < t26.offset; +} +function ja(t26, e7) { + return e7.offset > t26.offset; +} +function Ai(t26) { + let e7 = sr.default.parseCST(t26), n5 = new bi(e7, t26); + n5.setOrigRanges(); + let r5 = e7.map((i5) => new sr.default.Document({ merge: false, keepCstNodes: true }).parse(i5)); + for (let i5 of r5) for (let o5 of i5.errors) if (!(o5 instanceof vs && o5.message === 'Map keys must be unique; "<<" is repeated')) throw Oi(o5, n5); + r5.forEach((i5) => pt(i5.cstNode)); + let s5 = Rs(n5.transformRange({ origStart: 0, origEnd: t26.length }), r5.map((i5) => n5.transformNode(i5)), n5.comments); + return Is(s5), rr(s5), tr(s5), s5; +} +function Qa(t26, e7) { + let n5 = new SyntaxError(t26 + " (" + e7.loc.start.line + ":" + e7.loc.start.column + ")"); + return Object.assign(n5, e7); +} +function Ga(t26) { + try { + let e7 = Ai(t26); + return delete e7.comments, e7; + } catch (e7) { + throw e7?.position ? Li(e7.message, { loc: e7.position, cause: e7 }) : e7; + } +} +var ki, sn, Pi, vi, Ii, _i, ne, or, xi, on, ce, Qr, De, qn, Kn, Ls, Ms, Gn, Ps, Ci, mt, Di, D, $i, Yi, ht, Bi, je, Qe, Ge, dt, gt, Ae, yt, Le, Te, Ce, Et, Me, St, re, wt, ke, bt, Nt, qi, an, ar, Z, Ot, lr, fr, Xe, se, Lt, Wi, N, Ki, He, sl, fn, il, ol, hr, un, pn, mn, dr, gr, yr, Er, Sr, wr, br, Nr, Or, Lr, Cr, Ze, Gi, Mr, k, kr, Ji, Pr, tt, vr, ve, yn, Yr, Br, Fr, uo, qr, Ur, vt, po, Vr, ir, sr, J, Cf, Mf, kf, Pf, vf, If, _f, xf, Rf, vs, Df, $f, me, Jn, Zn, er, bi, Li, Ha, Ja, Ti, Xa; +var init_yaml = __esm({ + "node_modules/prettier/plugins/yaml.mjs"() { + ki = Object.create; + sn = Object.defineProperty; + Pi = Object.getOwnPropertyDescriptor; + vi = Object.getOwnPropertyNames; + Ii = Object.getPrototypeOf; + _i = Object.prototype.hasOwnProperty; + ne = (t26, e7) => () => (e7 || t26((e7 = { exports: {} }).exports, e7), e7.exports); + or = (t26, e7) => { + for (var n5 in e7) sn(t26, n5, { get: e7[n5], enumerable: true }); + }; + xi = (t26, e7, n5, r5) => { + if (e7 && typeof e7 == "object" || typeof e7 == "function") for (let s5 of vi(e7)) !_i.call(t26, s5) && s5 !== n5 && sn(t26, s5, { get: () => e7[s5], enumerable: !(r5 = Pi(e7, s5)) || r5.enumerable }); + return t26; + }; + on = (t26, e7, n5) => (n5 = t26 != null ? ki(Ii(t26)) : {}, xi(e7 || !t26 || !t26.__esModule ? sn(n5, "default", { value: t26, enumerable: true }) : n5, t26)); + ce = ne((B7) => { + "use strict"; + var ie11 = { ANCHOR: "&", COMMENT: "#", TAG: "!", DIRECTIVES_END: "-", DOCUMENT_END: "." }, st8 = { ALIAS: "ALIAS", BLANK_LINE: "BLANK_LINE", BLOCK_FOLDED: "BLOCK_FOLDED", BLOCK_LITERAL: "BLOCK_LITERAL", COMMENT: "COMMENT", DIRECTIVE: "DIRECTIVE", DOCUMENT: "DOCUMENT", FLOW_MAP: "FLOW_MAP", FLOW_SEQ: "FLOW_SEQ", MAP: "MAP", MAP_KEY: "MAP_KEY", MAP_VALUE: "MAP_VALUE", PLAIN: "PLAIN", QUOTE_DOUBLE: "QUOTE_DOUBLE", QUOTE_SINGLE: "QUOTE_SINGLE", SEQ: "SEQ", SEQ_ITEM: "SEQ_ITEM" }, mo3 = "tag:yaml.org,2002:", ho3 = { MAP: "tag:yaml.org,2002:map", SEQ: "tag:yaml.org,2002:seq", STR: "tag:yaml.org,2002:str" }; + function Wr6(t26) { + let e7 = [0], n5 = t26.indexOf(` +`); + for (; n5 !== -1; ) n5 += 1, e7.push(n5), n5 = t26.indexOf(` +`, n5); + return e7; + } + function Kr8(t26) { + let e7, n5; + return typeof t26 == "string" ? (e7 = Wr6(t26), n5 = t26) : (Array.isArray(t26) && (t26 = t26[0]), t26 && t26.context && (t26.lineStarts || (t26.lineStarts = Wr6(t26.context.src)), e7 = t26.lineStarts, n5 = t26.context.src)), { lineStarts: e7, src: n5 }; + } + function wn8(t26, e7) { + if (typeof t26 != "number" || t26 < 0) return null; + let { lineStarts: n5, src: r5 } = Kr8(e7); + if (!n5 || !r5 || t26 > r5.length) return null; + for (let i5 = 0; i5 < n5.length; ++i5) { + let o5 = n5[i5]; + if (t26 < o5) return { line: i5, col: t26 - n5[i5 - 1] + 1 }; + if (t26 === o5) return { line: i5 + 1, col: 1 }; + } + let s5 = n5.length; + return { line: s5, col: t26 - n5[s5 - 1] + 1 }; + } + function go3(t26, e7) { + let { lineStarts: n5, src: r5 } = Kr8(e7); + if (!n5 || !(t26 >= 1) || t26 > n5.length) return null; + let s5 = n5[t26 - 1], i5 = n5[t26]; + for (; i5 && i5 > s5 && r5[i5 - 1] === ` +`; ) --i5; + return r5.slice(s5, i5); + } + function yo3({ start: t26, end: e7 }, n5, r5 = 80) { + let s5 = go3(t26.line, n5); + if (!s5) return null; + let { col: i5 } = t26; + if (s5.length > r5) if (i5 <= r5 - 10) s5 = s5.substr(0, r5 - 1) + "\u2026"; + else { + let f7 = Math.round(r5 / 2); + s5.length > i5 + f7 && (s5 = s5.substr(0, i5 + f7 - 1) + "\u2026"), i5 -= s5.length - r5, s5 = "\u2026" + s5.substr(1 - r5); + } + let o5 = 1, a5 = ""; + e7 && (e7.line === t26.line && i5 + (e7.col - t26.col) <= r5 + 1 ? o5 = e7.col - t26.col : (o5 = Math.min(s5.length + 1, r5) - i5, a5 = "\u2026")); + let c7 = i5 > 1 ? " ".repeat(i5 - 1) : "", l5 = "^".repeat(o5); + return `${s5} +${c7}${l5}${a5}`; + } + var xe10 = class t26 { + static copy(e7) { + return new t26(e7.start, e7.end); + } + constructor(e7, n5) { + this.start = e7, this.end = n5 || e7; + } + isEmpty() { + return typeof this.start != "number" || !this.end || this.end <= this.start; + } + setOrigRange(e7, n5) { + let { start: r5, end: s5 } = this; + if (e7.length === 0 || s5 <= e7[0]) return this.origStart = r5, this.origEnd = s5, n5; + let i5 = n5; + for (; i5 < e7.length && !(e7[i5] > r5); ) ++i5; + this.origStart = r5 + i5; + let o5 = i5; + for (; i5 < e7.length && !(e7[i5] >= s5); ) ++i5; + return this.origEnd = s5 + i5, o5; + } + }, oe10 = class t26 { + static addStringTerminator(e7, n5, r5) { + if (r5[r5.length - 1] === ` +`) return r5; + let s5 = t26.endOfWhiteSpace(e7, n5); + return s5 >= e7.length || e7[s5] === ` +` ? r5 + ` +` : r5; + } + static atDocumentBoundary(e7, n5, r5) { + let s5 = e7[n5]; + if (!s5) return true; + let i5 = e7[n5 - 1]; + if (i5 && i5 !== ` +`) return false; + if (r5) { + if (s5 !== r5) return false; + } else if (s5 !== ie11.DIRECTIVES_END && s5 !== ie11.DOCUMENT_END) return false; + let o5 = e7[n5 + 1], a5 = e7[n5 + 2]; + if (o5 !== s5 || a5 !== s5) return false; + let c7 = e7[n5 + 3]; + return !c7 || c7 === ` +` || c7 === " " || c7 === " "; + } + static endOfIdentifier(e7, n5) { + let r5 = e7[n5], s5 = r5 === "<", i5 = s5 ? [` +`, " ", " ", ">"] : [` +`, " ", " ", "[", "]", "{", "}", ","]; + for (; r5 && i5.indexOf(r5) === -1; ) r5 = e7[n5 += 1]; + return s5 && r5 === ">" && (n5 += 1), n5; + } + static endOfIndent(e7, n5) { + let r5 = e7[n5]; + for (; r5 === " "; ) r5 = e7[n5 += 1]; + return n5; + } + static endOfLine(e7, n5) { + let r5 = e7[n5]; + for (; r5 && r5 !== ` +`; ) r5 = e7[n5 += 1]; + return n5; + } + static endOfWhiteSpace(e7, n5) { + let r5 = e7[n5]; + for (; r5 === " " || r5 === " "; ) r5 = e7[n5 += 1]; + return n5; + } + static startOfLine(e7, n5) { + let r5 = e7[n5 - 1]; + if (r5 === ` +`) return n5; + for (; r5 && r5 !== ` +`; ) r5 = e7[n5 -= 1]; + return n5 + 1; + } + static endOfBlockIndent(e7, n5, r5) { + let s5 = t26.endOfIndent(e7, r5); + if (s5 > r5 + n5) return s5; + { + let i5 = t26.endOfWhiteSpace(e7, s5), o5 = e7[i5]; + if (!o5 || o5 === ` +`) return i5; + } + return null; + } + static atBlank(e7, n5, r5) { + let s5 = e7[n5]; + return s5 === ` +` || s5 === " " || s5 === " " || r5 && !s5; + } + static nextNodeIsIndented(e7, n5, r5) { + return !e7 || n5 < 0 ? false : n5 > 0 ? true : r5 && e7 === "-"; + } + static normalizeOffset(e7, n5) { + let r5 = e7[n5]; + return r5 ? r5 !== ` +` && e7[n5 - 1] === ` +` ? n5 - 1 : t26.endOfWhiteSpace(e7, n5) : n5; + } + static foldNewline(e7, n5, r5) { + let s5 = 0, i5 = false, o5 = "", a5 = e7[n5 + 1]; + for (; a5 === " " || a5 === " " || a5 === ` +`; ) { + switch (a5) { + case ` +`: + s5 = 0, n5 += 1, o5 += ` +`; + break; + case " ": + s5 <= r5 && (i5 = true), n5 = t26.endOfWhiteSpace(e7, n5 + 2) - 1; + break; + case " ": + s5 += 1, n5 += 1; + break; + } + a5 = e7[n5 + 1]; + } + return o5 || (o5 = " "), a5 && s5 <= r5 && (i5 = true), { fold: o5, offset: n5, error: i5 }; + } + constructor(e7, n5, r5) { + Object.defineProperty(this, "context", { value: r5 || null, writable: true }), this.error = null, this.range = null, this.valueRange = null, this.props = n5 || [], this.type = e7, this.value = null; + } + getPropValue(e7, n5, r5) { + if (!this.context) return null; + let { src: s5 } = this.context, i5 = this.props[e7]; + return i5 && s5[i5.start] === n5 ? s5.slice(i5.start + (r5 ? 1 : 0), i5.end) : null; + } + get anchor() { + for (let e7 = 0; e7 < this.props.length; ++e7) { + let n5 = this.getPropValue(e7, ie11.ANCHOR, true); + if (n5 != null) return n5; + } + return null; + } + get comment() { + let e7 = []; + for (let n5 = 0; n5 < this.props.length; ++n5) { + let r5 = this.getPropValue(n5, ie11.COMMENT, true); + r5 != null && e7.push(r5); + } + return e7.length > 0 ? e7.join(` +`) : null; + } + commentHasRequiredWhitespace(e7) { + let { src: n5 } = this.context; + if (this.header && e7 === this.header.end || !this.valueRange) return false; + let { end: r5 } = this.valueRange; + return e7 !== r5 || t26.atBlank(n5, r5 - 1); + } + get hasComment() { + if (this.context) { + let { src: e7 } = this.context; + for (let n5 = 0; n5 < this.props.length; ++n5) if (e7[this.props[n5].start] === ie11.COMMENT) return true; + } + return false; + } + get hasProps() { + if (this.context) { + let { src: e7 } = this.context; + for (let n5 = 0; n5 < this.props.length; ++n5) if (e7[this.props[n5].start] !== ie11.COMMENT) return true; + } + return false; + } + get includesTrailingLines() { + return false; + } + get jsonLike() { + return [st8.FLOW_MAP, st8.FLOW_SEQ, st8.QUOTE_DOUBLE, st8.QUOTE_SINGLE].indexOf(this.type) !== -1; + } + get rangeAsLinePos() { + if (!this.range || !this.context) return; + let e7 = wn8(this.range.start, this.context.root); + if (!e7) return; + let n5 = wn8(this.range.end, this.context.root); + return { start: e7, end: n5 }; + } + get rawValue() { + if (!this.valueRange || !this.context) return null; + let { start: e7, end: n5 } = this.valueRange; + return this.context.src.slice(e7, n5); + } + get tag() { + for (let e7 = 0; e7 < this.props.length; ++e7) { + let n5 = this.getPropValue(e7, ie11.TAG, false); + if (n5 != null) { + if (n5[1] === "<") return { verbatim: n5.slice(2, -1) }; + { + let [r5, s5, i5] = n5.match(/^(.*!)([^!]*)$/); + return { handle: s5, suffix: i5 }; + } + } + } + return null; + } + get valueRangeContainsNewline() { + if (!this.valueRange || !this.context) return false; + let { start: e7, end: n5 } = this.valueRange, { src: r5 } = this.context; + for (let s5 = e7; s5 < n5; ++s5) if (r5[s5] === ` +`) return true; + return false; + } + parseComment(e7) { + let { src: n5 } = this.context; + if (n5[e7] === ie11.COMMENT) { + let r5 = t26.endOfLine(n5, e7 + 1), s5 = new xe10(e7, r5); + return this.props.push(s5), r5; + } + return e7; + } + setOrigRanges(e7, n5) { + return this.range && (n5 = this.range.setOrigRange(e7, n5)), this.valueRange && this.valueRange.setOrigRange(e7, n5), this.props.forEach((r5) => r5.setOrigRange(e7, n5)), n5; + } + toString() { + let { context: { src: e7 }, range: n5, value: r5 } = this; + if (r5 != null) return r5; + let s5 = e7.slice(n5.start, n5.end); + return t26.addStringTerminator(e7, n5.end, s5); + } + }, ge11 = class extends Error { + constructor(e7, n5, r5) { + if (!r5 || !(n5 instanceof oe10)) throw new Error(`Invalid arguments for new ${e7}`); + super(), this.name = e7, this.message = r5, this.source = n5; + } + makePretty() { + if (!this.source) return; + this.nodeType = this.source.type; + let e7 = this.source.context && this.source.context.root; + if (typeof this.offset == "number") { + this.range = new xe10(this.offset, this.offset + 1); + let n5 = e7 && wn8(this.offset, e7); + if (n5) { + let r5 = { line: n5.line, col: n5.col + 1 }; + this.linePos = { start: n5, end: r5 }; + } + delete this.offset; + } else this.range = this.source.range, this.linePos = this.source.rangeAsLinePos; + if (this.linePos) { + let { line: n5, col: r5 } = this.linePos.start; + this.message += ` at line ${n5}, column ${r5}`; + let s5 = e7 && yo3(this.linePos, e7); + s5 && (this.message += `: + +${s5} +`); + } + delete this.source; + } + }, bn7 = class extends ge11 { + constructor(e7, n5) { + super("YAMLReferenceError", e7, n5); + } + }, it10 = class extends ge11 { + constructor(e7, n5) { + super("YAMLSemanticError", e7, n5); + } + }, Nn6 = class extends ge11 { + constructor(e7, n5) { + super("YAMLSyntaxError", e7, n5); + } + }, On7 = class extends ge11 { + constructor(e7, n5) { + super("YAMLWarning", e7, n5); + } }; - sax2.SAXParser = SAXParser; - sax2.SAXStream = SAXStream; - sax2.createStream = createStream; - sax2.MAX_BUFFER_LENGTH = 64 * 1024; - var buffers = [ - "comment", - "sgmlDecl", - "textNode", - "tagName", - "doctype", - "procInstName", - "procInstBody", - "entity", - "attribName", - "attribValue", - "cdata", - "script" - ]; - sax2.EVENTS = [ - "text", - "processinginstruction", - "sgmldeclaration", - "doctype", - "comment", - "opentagstart", - "attribute", - "opentag", - "closetag", - "opencdata", - "cdata", - "closecdata", - "error", - "end", - "ready", - "script", - "opennamespace", - "closenamespace" - ]; - function SAXParser(strict, opt) { - if (!(this instanceof SAXParser)) { - return new SAXParser(strict, opt); + function Eo3(t26, e7, n5) { + return e7 in t26 ? Object.defineProperty(t26, e7, { value: n5, enumerable: true, configurable: true, writable: true }) : t26[e7] = n5, t26; + } + var An8 = class t26 extends oe10 { + static endOfLine(e7, n5, r5) { + let s5 = e7[n5], i5 = n5; + for (; s5 && s5 !== ` +` && !(r5 && (s5 === "[" || s5 === "]" || s5 === "{" || s5 === "}" || s5 === ",")); ) { + let o5 = e7[i5 + 1]; + if (s5 === ":" && (!o5 || o5 === ` +` || o5 === " " || o5 === " " || r5 && o5 === ",") || (s5 === " " || s5 === " ") && o5 === "#") break; + i5 += 1, s5 = o5; + } + return i5; + } + get strValue() { + if (!this.valueRange || !this.context) return null; + let { start: e7, end: n5 } = this.valueRange, { src: r5 } = this.context, s5 = r5[n5 - 1]; + for (; e7 < n5 && (s5 === ` +` || s5 === " " || s5 === " "); ) s5 = r5[--n5 - 1]; + let i5 = ""; + for (let a5 = e7; a5 < n5; ++a5) { + let c7 = r5[a5]; + if (c7 === ` +`) { + let { fold: l5, offset: f7 } = oe10.foldNewline(r5, a5, -1); + i5 += l5, a5 = f7; + } else if (c7 === " " || c7 === " ") { + let l5 = a5, f7 = r5[a5 + 1]; + for (; a5 < n5 && (f7 === " " || f7 === " "); ) a5 += 1, f7 = r5[a5 + 1]; + f7 !== ` +` && (i5 += a5 > l5 ? r5.slice(l5, a5 + 1) : c7); + } else i5 += c7; + } + let o5 = r5[e7]; + switch (o5) { + case " ": { + let a5 = "Plain value cannot start with a tab character"; + return { errors: [new it10(this, a5)], str: i5 }; + } + case "@": + case "`": { + let a5 = `Plain value cannot start with reserved character ${o5}`; + return { errors: [new it10(this, a5)], str: i5 }; + } + default: + return i5; + } } - var parser2 = this; - clearBuffers(parser2); - parser2.q = parser2.c = ""; - parser2.bufferCheckPosition = sax2.MAX_BUFFER_LENGTH; - parser2.opt = opt || {}; - parser2.opt.lowercase = parser2.opt.lowercase || parser2.opt.lowercasetags; - parser2.looseCase = parser2.opt.lowercase ? "toLowerCase" : "toUpperCase"; - parser2.tags = []; - parser2.closed = parser2.closedRoot = parser2.sawRoot = false; - parser2.tag = parser2.error = null; - parser2.strict = !!strict; - parser2.noscript = !!(strict || parser2.opt.noscript); - parser2.state = S.BEGIN; - parser2.strictEntities = parser2.opt.strictEntities; - parser2.ENTITIES = parser2.strictEntities ? Object.create(sax2.XML_ENTITIES) : Object.create(sax2.ENTITIES); - parser2.attribList = []; - if (parser2.opt.xmlns) { - parser2.ns = Object.create(rootNS); + parseBlockValue(e7) { + let { indent: n5, inFlow: r5, src: s5 } = this.context, i5 = e7, o5 = e7; + for (let a5 = s5[i5]; a5 === ` +` && !oe10.atDocumentBoundary(s5, i5 + 1); a5 = s5[i5]) { + let c7 = oe10.endOfBlockIndent(s5, n5, i5 + 1); + if (c7 === null || s5[c7] === "#") break; + s5[c7] === ` +` ? i5 = c7 : (o5 = t26.endOfLine(s5, c7, r5), i5 = o5); + } + return this.valueRange.isEmpty() && (this.valueRange.start = e7), this.valueRange.end = o5, o5; } - if (parser2.opt.unquotedAttributeValues === void 0) { - parser2.opt.unquotedAttributeValues = !strict; + parse(e7, n5) { + this.context = e7; + let { inFlow: r5, src: s5 } = e7, i5 = n5, o5 = s5[i5]; + return o5 && o5 !== "#" && o5 !== ` +` && (i5 = t26.endOfLine(s5, n5, r5)), this.valueRange = new xe10(n5, i5), i5 = oe10.endOfWhiteSpace(s5, i5), i5 = this.parseComment(i5), (!this.hasComment || this.valueRange.isEmpty()) && (i5 = this.parseBlockValue(i5)), i5; } - parser2.trackPosition = parser2.opt.position !== false; - if (parser2.trackPosition) { - parser2.position = parser2.line = parser2.column = 0; + }; + B7.Char = ie11; + B7.Node = oe10; + B7.PlainValue = An8; + B7.Range = xe10; + B7.Type = st8; + B7.YAMLError = ge11; + B7.YAMLReferenceError = bn7; + B7.YAMLSemanticError = it10; + B7.YAMLSyntaxError = Nn6; + B7.YAMLWarning = On7; + B7._defineProperty = Eo3; + B7.defaultTagPrefix = mo3; + B7.defaultTags = ho3; + }); + Qr = ne((jr6) => { + "use strict"; + var u = ce(), Ee9 = class extends u.Node { + constructor() { + super(u.Type.BLANK_LINE); } - emit(parser2, "onready"); - } - if (!Object.create) { - Object.create = function(o) { - function F() { + get includesTrailingLines() { + return true; + } + parse(e7, n5) { + return this.context = e7, this.range = new u.Range(n5, n5 + 1), n5 + 1; + } + }, ot8 = class extends u.Node { + constructor(e7, n5) { + super(e7, n5), this.node = null; + } + get includesTrailingLines() { + return !!this.node && this.node.includesTrailingLines; + } + parse(e7, n5) { + this.context = e7; + let { parseNode: r5, src: s5 } = e7, { atLineStart: i5, lineStart: o5 } = e7; + !i5 && this.type === u.Type.SEQ_ITEM && (this.error = new u.YAMLSemanticError(this, "Sequence items must not have preceding content on the same line")); + let a5 = i5 ? n5 - o5 : e7.indent, c7 = u.Node.endOfWhiteSpace(s5, n5 + 1), l5 = s5[c7], f7 = l5 === "#", m7 = [], g5 = null; + for (; l5 === ` +` || l5 === "#"; ) { + if (l5 === "#") { + let h5 = u.Node.endOfLine(s5, c7 + 1); + m7.push(new u.Range(c7, h5)), c7 = h5; + } else { + i5 = true, o5 = c7 + 1; + let h5 = u.Node.endOfWhiteSpace(s5, o5); + s5[h5] === ` +` && m7.length === 0 && (g5 = new Ee9(), o5 = g5.parse({ src: s5 }, o5)), c7 = u.Node.endOfIndent(s5, o5); + } + l5 = s5[c7]; } - F.prototype = o; - var newf = new F(); - return newf; - }; - } - if (!Object.keys) { - Object.keys = function(o) { - var a = []; - for (var i2 in o) if (o.hasOwnProperty(i2)) a.push(i2); - return a; - }; - } - function checkBufferLength(parser2) { - var maxAllowed = Math.max(sax2.MAX_BUFFER_LENGTH, 10); - var maxActual = 0; - for (var i2 = 0, l = buffers.length; i2 < l; i2++) { - var len = parser2[buffers[i2]].length; - if (len > maxAllowed) { - switch (buffers[i2]) { - case "textNode": - closeText(parser2); + if (u.Node.nextNodeIsIndented(l5, c7 - (o5 + a5), this.type !== u.Type.SEQ_ITEM) ? this.node = r5({ atLineStart: i5, inCollection: false, indent: a5, lineStart: o5, parent: this }, c7) : l5 && o5 > n5 + 1 && (c7 = o5 - 1), this.node) { + if (g5) { + let h5 = e7.parent.items || e7.parent.contents; + h5 && h5.push(g5); + } + m7.length && Array.prototype.push.apply(this.props, m7), c7 = this.node.range.end; + } else if (f7) { + let h5 = m7[0]; + this.props.push(h5), c7 = h5.end; + } else c7 = u.Node.endOfLine(s5, n5 + 1); + let y10 = this.node ? this.node.valueRange.end : c7; + return this.valueRange = new u.Range(n5, y10), c7; + } + setOrigRanges(e7, n5) { + return n5 = super.setOrigRanges(e7, n5), this.node ? this.node.setOrigRanges(e7, n5) : n5; + } + toString() { + let { context: { src: e7 }, node: n5, range: r5, value: s5 } = this; + if (s5 != null) return s5; + let i5 = n5 ? e7.slice(r5.start, n5.range.start) + String(n5) : e7.slice(r5.start, r5.end); + return u.Node.addStringTerminator(e7, r5.end, i5); + } + }, ye12 = class extends u.Node { + constructor() { + super(u.Type.COMMENT); + } + parse(e7, n5) { + this.context = e7; + let r5 = this.parseComment(n5); + return this.range = new u.Range(n5, r5), r5; + } + }; + function Ln8(t26) { + let e7 = t26; + for (; e7 instanceof ot8; ) e7 = e7.node; + if (!(e7 instanceof It11)) return null; + let n5 = e7.items.length, r5 = -1; + for (let o5 = n5 - 1; o5 >= 0; --o5) { + let a5 = e7.items[o5]; + if (a5.type === u.Type.COMMENT) { + let { indent: c7, lineStart: l5 } = a5.context; + if (c7 > 0 && a5.range.start >= l5 + c7) break; + r5 = o5; + } else if (a5.type === u.Type.BLANK_LINE) r5 = o5; + else break; + } + if (r5 === -1) return null; + let s5 = e7.items.splice(r5, n5 - r5), i5 = s5[0].range.start; + for (; e7.range.end = i5, e7.valueRange && e7.valueRange.end > i5 && (e7.valueRange.end = i5), e7 !== t26; ) e7 = e7.context.parent; + return s5; + } + var It11 = class t26 extends u.Node { + static nextContentHasIndent(e7, n5, r5) { + let s5 = u.Node.endOfLine(e7, n5) + 1; + n5 = u.Node.endOfWhiteSpace(e7, s5); + let i5 = e7[n5]; + return i5 ? n5 >= s5 + r5 ? true : i5 !== "#" && i5 !== ` +` ? false : t26.nextContentHasIndent(e7, n5, r5) : false; + } + constructor(e7) { + super(e7.type === u.Type.SEQ_ITEM ? u.Type.SEQ : u.Type.MAP); + for (let r5 = e7.props.length - 1; r5 >= 0; --r5) if (e7.props[r5].start < e7.context.lineStart) { + this.props = e7.props.slice(0, r5 + 1), e7.props = e7.props.slice(r5 + 1); + let s5 = e7.props[0] || e7.valueRange; + e7.range.start = s5.start; + break; + } + this.items = [e7]; + let n5 = Ln8(e7); + n5 && Array.prototype.push.apply(this.items, n5); + } + get includesTrailingLines() { + return this.items.length > 0; + } + parse(e7, n5) { + this.context = e7; + let { parseNode: r5, src: s5 } = e7, i5 = u.Node.startOfLine(s5, n5), o5 = this.items[0]; + o5.context.parent = this, this.valueRange = u.Range.copy(o5.valueRange); + let a5 = o5.range.start - o5.context.lineStart, c7 = n5; + c7 = u.Node.normalizeOffset(s5, c7); + let l5 = s5[c7], f7 = u.Node.endOfWhiteSpace(s5, i5) === c7, m7 = false; + for (; l5; ) { + for (; l5 === ` +` || l5 === "#"; ) { + if (f7 && l5 === ` +` && !m7) { + let h5 = new Ee9(); + if (c7 = h5.parse({ src: s5 }, c7), this.valueRange.end = c7, c7 >= s5.length) { + l5 = null; + break; + } + this.items.push(h5), c7 -= 1; + } else if (l5 === "#") { + if (c7 < i5 + a5 && !t26.nextContentHasIndent(s5, c7, a5)) return c7; + let h5 = new ye12(); + if (c7 = h5.parse({ indent: a5, lineStart: i5, src: s5 }, c7), this.items.push(h5), this.valueRange.end = c7, c7 >= s5.length) { + l5 = null; + break; + } + } + if (i5 = c7 + 1, c7 = u.Node.endOfIndent(s5, i5), u.Node.atBlank(s5, c7)) { + let h5 = u.Node.endOfWhiteSpace(s5, c7), d5 = s5[h5]; + (!d5 || d5 === ` +` || d5 === "#") && (c7 = h5); + } + l5 = s5[c7], f7 = true; + } + if (!l5) break; + if (c7 !== i5 + a5 && (f7 || l5 !== ":")) { + if (c7 < i5 + a5) { + i5 > n5 && (c7 = i5); break; - case "cdata": - emitNode(parser2, "oncdata", parser2.cdata); - parser2.cdata = ""; + } else if (!this.error) { + let h5 = "All collection items must start at the same column"; + this.error = new u.YAMLSyntaxError(this, h5); + } + } + if (o5.type === u.Type.SEQ_ITEM) { + if (l5 !== "-") { + i5 > n5 && (c7 = i5); break; - case "script": - emitNode(parser2, "onscript", parser2.script); - parser2.script = ""; + } + } else if (l5 === "-" && !this.error) { + let h5 = s5[c7 + 1]; + if (!h5 || h5 === ` +` || h5 === " " || h5 === " ") { + let d5 = "A collection cannot be both a mapping and a sequence"; + this.error = new u.YAMLSyntaxError(this, d5); + } + } + let g5 = r5({ atLineStart: f7, inCollection: true, indent: a5, lineStart: i5, parent: this }, c7); + if (!g5) return c7; + if (this.items.push(g5), this.valueRange.end = g5.valueRange.end, c7 = u.Node.normalizeOffset(s5, g5.range.end), l5 = s5[c7], f7 = false, m7 = g5.includesTrailingLines, l5) { + let h5 = c7 - 1, d5 = s5[h5]; + for (; d5 === " " || d5 === " "; ) d5 = s5[--h5]; + d5 === ` +` && (i5 = h5 + 1, f7 = true); + } + let y10 = Ln8(g5); + y10 && Array.prototype.push.apply(this.items, y10); + } + return c7; + } + setOrigRanges(e7, n5) { + return n5 = super.setOrigRanges(e7, n5), this.items.forEach((r5) => { + n5 = r5.setOrigRanges(e7, n5); + }), n5; + } + toString() { + let { context: { src: e7 }, items: n5, range: r5, value: s5 } = this; + if (s5 != null) return s5; + let i5 = e7.slice(r5.start, n5[0].range.start) + String(n5[0]); + for (let o5 = 1; o5 < n5.length; ++o5) { + let a5 = n5[o5], { atLineStart: c7, indent: l5 } = a5.context; + if (c7) for (let f7 = 0; f7 < l5; ++f7) i5 += " "; + i5 += String(a5); + } + return u.Node.addStringTerminator(e7, r5.end, i5); + } + }, Tn7 = class extends u.Node { + constructor() { + super(u.Type.DIRECTIVE), this.name = null; + } + get parameters() { + let e7 = this.rawValue; + return e7 ? e7.trim().split(/[ \t]+/) : []; + } + parseName(e7) { + let { src: n5 } = this.context, r5 = e7, s5 = n5[r5]; + for (; s5 && s5 !== ` +` && s5 !== " " && s5 !== " "; ) s5 = n5[r5 += 1]; + return this.name = n5.slice(e7, r5), r5; + } + parseParameters(e7) { + let { src: n5 } = this.context, r5 = e7, s5 = n5[r5]; + for (; s5 && s5 !== ` +` && s5 !== "#"; ) s5 = n5[r5 += 1]; + return this.valueRange = new u.Range(e7, r5), r5; + } + parse(e7, n5) { + this.context = e7; + let r5 = this.parseName(n5 + 1); + return r5 = this.parseParameters(r5), r5 = this.parseComment(r5), this.range = new u.Range(n5, r5), r5; + } + }, Cn8 = class t26 extends u.Node { + static startCommentOrEndBlankLine(e7, n5) { + let r5 = u.Node.endOfWhiteSpace(e7, n5), s5 = e7[r5]; + return s5 === "#" || s5 === ` +` ? r5 : n5; + } + constructor() { + super(u.Type.DOCUMENT), this.directives = null, this.contents = null, this.directivesEndMarker = null, this.documentEndMarker = null; + } + parseDirectives(e7) { + let { src: n5 } = this.context; + this.directives = []; + let r5 = true, s5 = false, i5 = e7; + for (; !u.Node.atDocumentBoundary(n5, i5, u.Char.DIRECTIVES_END); ) switch (i5 = t26.startCommentOrEndBlankLine(n5, i5), n5[i5]) { + case ` +`: + if (r5) { + let o5 = new Ee9(); + i5 = o5.parse({ src: n5 }, i5), i5 < n5.length && this.directives.push(o5); + } else i5 += 1, r5 = true; + break; + case "#": + { + let o5 = new ye12(); + i5 = o5.parse({ src: n5 }, i5), this.directives.push(o5), r5 = false; + } + break; + case "%": + { + let o5 = new Tn7(); + i5 = o5.parse({ parent: this, src: n5 }, i5), this.directives.push(o5), s5 = true, r5 = false; + } + break; + default: + return s5 ? this.error = new u.YAMLSemanticError(this, "Missing directives-end indicator line") : this.directives.length > 0 && (this.contents = this.directives, this.directives = []), i5; + } + return n5[i5] ? (this.directivesEndMarker = new u.Range(i5, i5 + 3), i5 + 3) : (s5 ? this.error = new u.YAMLSemanticError(this, "Missing directives-end indicator line") : this.directives.length > 0 && (this.contents = this.directives, this.directives = []), i5); + } + parseContents(e7) { + let { parseNode: n5, src: r5 } = this.context; + this.contents || (this.contents = []); + let s5 = e7; + for (; r5[s5 - 1] === "-"; ) s5 -= 1; + let i5 = u.Node.endOfWhiteSpace(r5, e7), o5 = s5 === e7; + for (this.valueRange = new u.Range(i5); !u.Node.atDocumentBoundary(r5, i5, u.Char.DOCUMENT_END); ) { + switch (r5[i5]) { + case ` +`: + if (o5) { + let a5 = new Ee9(); + i5 = a5.parse({ src: r5 }, i5), i5 < r5.length && this.contents.push(a5); + } else i5 += 1, o5 = true; + s5 = i5; + break; + case "#": + { + let a5 = new ye12(); + i5 = a5.parse({ src: r5 }, i5), this.contents.push(a5), o5 = false; + } + break; + default: { + let a5 = u.Node.endOfIndent(r5, i5), l5 = n5({ atLineStart: o5, indent: -1, inFlow: false, inCollection: false, lineStart: s5, parent: this }, a5); + if (!l5) return this.valueRange.end = a5; + this.contents.push(l5), i5 = l5.range.end, o5 = false; + let f7 = Ln8(l5); + f7 && Array.prototype.push.apply(this.contents, f7); + } + } + i5 = t26.startCommentOrEndBlankLine(r5, i5); + } + if (this.valueRange.end = i5, r5[i5] && (this.documentEndMarker = new u.Range(i5, i5 + 3), i5 += 3, r5[i5])) { + if (i5 = u.Node.endOfWhiteSpace(r5, i5), r5[i5] === "#") { + let a5 = new ye12(); + i5 = a5.parse({ src: r5 }, i5), this.contents.push(a5); + } + switch (r5[i5]) { + case ` +`: + i5 += 1; + break; + case void 0: break; default: - error2(parser2, "Max buffer length exceeded: " + buffers[i2]); + this.error = new u.YAMLSyntaxError(this, "Document end marker line cannot have a non-comment suffix"); } } - maxActual = Math.max(maxActual, len); + return i5; + } + parse(e7, n5) { + e7.root = this, this.context = e7; + let { src: r5 } = e7, s5 = r5.charCodeAt(n5) === 65279 ? n5 + 1 : n5; + return s5 = this.parseDirectives(s5), s5 = this.parseContents(s5), s5; + } + setOrigRanges(e7, n5) { + return n5 = super.setOrigRanges(e7, n5), this.directives.forEach((r5) => { + n5 = r5.setOrigRanges(e7, n5); + }), this.directivesEndMarker && (n5 = this.directivesEndMarker.setOrigRange(e7, n5)), this.contents.forEach((r5) => { + n5 = r5.setOrigRanges(e7, n5); + }), this.documentEndMarker && (n5 = this.documentEndMarker.setOrigRange(e7, n5)), n5; + } + toString() { + let { contents: e7, directives: n5, value: r5 } = this; + if (r5 != null) return r5; + let s5 = n5.join(""); + return e7.length > 0 && ((n5.length > 0 || e7[0].type === u.Type.COMMENT) && (s5 += `--- +`), s5 += e7.join("")), s5[s5.length - 1] !== ` +` && (s5 += ` +`), s5; + } + }, Mn6 = class extends u.Node { + parse(e7, n5) { + this.context = e7; + let { src: r5 } = e7, s5 = u.Node.endOfIdentifier(r5, n5 + 1); + return this.valueRange = new u.Range(n5 + 1, s5), s5 = u.Node.endOfWhiteSpace(r5, s5), s5 = this.parseComment(s5), s5; + } + }, le9 = { CLIP: "CLIP", KEEP: "KEEP", STRIP: "STRIP" }, kn9 = class extends u.Node { + constructor(e7, n5) { + super(e7, n5), this.blockIndent = null, this.chomping = le9.CLIP, this.header = null; + } + get includesTrailingLines() { + return this.chomping === le9.KEEP; + } + get strValue() { + if (!this.valueRange || !this.context) return null; + let { start: e7, end: n5 } = this.valueRange, { indent: r5, src: s5 } = this.context; + if (this.valueRange.isEmpty()) return ""; + let i5 = null, o5 = s5[n5 - 1]; + for (; o5 === ` +` || o5 === " " || o5 === " "; ) { + if (n5 -= 1, n5 <= e7) { + if (this.chomping === le9.KEEP) break; + return ""; + } + o5 === ` +` && (i5 = n5), o5 = s5[n5 - 1]; + } + let a5 = n5 + 1; + i5 && (this.chomping === le9.KEEP ? (a5 = i5, n5 = this.valueRange.end) : n5 = i5); + let c7 = r5 + this.blockIndent, l5 = this.type === u.Type.BLOCK_FOLDED, f7 = true, m7 = "", g5 = "", y10 = false; + for (let h5 = e7; h5 < n5; ++h5) { + for (let w8 = 0; w8 < c7 && s5[h5] === " "; ++w8) h5 += 1; + let d5 = s5[h5]; + if (d5 === ` +`) g5 === ` +` ? m7 += ` +` : g5 = ` +`; + else { + let w8 = u.Node.endOfLine(s5, h5), P8 = s5.slice(h5, w8); + h5 = w8, l5 && (d5 === " " || d5 === " ") && h5 < a5 ? (g5 === " " ? g5 = ` +` : !y10 && !f7 && g5 === ` +` && (g5 = ` + +`), m7 += g5 + P8, g5 = w8 < n5 && s5[w8] || "", y10 = true) : (m7 += g5 + P8, g5 = l5 && h5 < a5 ? " " : ` +`, y10 = false), f7 && P8 !== "" && (f7 = false); + } + } + return this.chomping === le9.STRIP ? m7 : m7 + ` +`; + } + parseBlockHeader(e7) { + let { src: n5 } = this.context, r5 = e7 + 1, s5 = ""; + for (; ; ) { + let i5 = n5[r5]; + switch (i5) { + case "-": + this.chomping = le9.STRIP; + break; + case "+": + this.chomping = le9.KEEP; + break; + case "0": + case "1": + case "2": + case "3": + case "4": + case "5": + case "6": + case "7": + case "8": + case "9": + s5 += i5; + break; + default: + return this.blockIndent = Number(s5) || null, this.header = new u.Range(e7, r5), r5; + } + r5 += 1; + } + } + parseBlockValue(e7) { + let { indent: n5, src: r5 } = this.context, s5 = !!this.blockIndent, i5 = e7, o5 = e7, a5 = 1; + for (let c7 = r5[i5]; c7 === ` +` && (i5 += 1, !u.Node.atDocumentBoundary(r5, i5)); c7 = r5[i5]) { + let l5 = u.Node.endOfBlockIndent(r5, n5, i5); + if (l5 === null) break; + let f7 = r5[l5], m7 = l5 - (i5 + n5); + if (this.blockIndent) { + if (f7 && f7 !== ` +` && m7 < this.blockIndent) { + if (r5[l5] === "#") break; + if (!this.error) { + let y10 = `Block scalars must not be less indented than their ${s5 ? "explicit indentation indicator" : "first line"}`; + this.error = new u.YAMLSemanticError(this, y10); + } + } + } else if (r5[l5] !== ` +`) { + if (m7 < a5) { + let g5 = "Block scalars with more-indented leading empty lines must use an explicit indentation indicator"; + this.error = new u.YAMLSemanticError(this, g5); + } + this.blockIndent = m7; + } else m7 > a5 && (a5 = m7); + r5[l5] === ` +` ? i5 = l5 : i5 = o5 = u.Node.endOfLine(r5, l5); + } + return this.chomping !== le9.KEEP && (i5 = r5[o5] ? o5 + 1 : o5), this.valueRange = new u.Range(e7 + 1, i5), i5; + } + parse(e7, n5) { + this.context = e7; + let { src: r5 } = e7, s5 = this.parseBlockHeader(n5); + return s5 = u.Node.endOfWhiteSpace(r5, s5), s5 = this.parseComment(s5), s5 = this.parseBlockValue(s5), s5; + } + setOrigRanges(e7, n5) { + return n5 = super.setOrigRanges(e7, n5), this.header ? this.header.setOrigRange(e7, n5) : n5; + } + }, Pn8 = class extends u.Node { + constructor(e7, n5) { + super(e7, n5), this.items = null; + } + prevNodeIsJsonLike(e7 = this.items.length) { + let n5 = this.items[e7 - 1]; + return !!n5 && (n5.jsonLike || n5.type === u.Type.COMMENT && this.prevNodeIsJsonLike(e7 - 1)); + } + parse(e7, n5) { + this.context = e7; + let { parseNode: r5, src: s5 } = e7, { indent: i5, lineStart: o5 } = e7, a5 = s5[n5]; + this.items = [{ char: a5, offset: n5 }]; + let c7 = u.Node.endOfWhiteSpace(s5, n5 + 1); + for (a5 = s5[c7]; a5 && a5 !== "]" && a5 !== "}"; ) { + switch (a5) { + case ` +`: + { + o5 = c7 + 1; + let l5 = u.Node.endOfWhiteSpace(s5, o5); + if (s5[l5] === ` +`) { + let f7 = new Ee9(); + o5 = f7.parse({ src: s5 }, o5), this.items.push(f7); + } + if (c7 = u.Node.endOfIndent(s5, o5), c7 <= o5 + i5 && (a5 = s5[c7], c7 < o5 + i5 || a5 !== "]" && a5 !== "}")) { + let f7 = "Insufficient indentation in flow collection"; + this.error = new u.YAMLSemanticError(this, f7); + } + } + break; + case ",": + this.items.push({ char: a5, offset: c7 }), c7 += 1; + break; + case "#": + { + let l5 = new ye12(); + c7 = l5.parse({ src: s5 }, c7), this.items.push(l5); + } + break; + case "?": + case ":": { + let l5 = s5[c7 + 1]; + if (l5 === ` +` || l5 === " " || l5 === " " || l5 === "," || a5 === ":" && this.prevNodeIsJsonLike()) { + this.items.push({ char: a5, offset: c7 }), c7 += 1; + break; + } + } + default: { + let l5 = r5({ atLineStart: false, inCollection: false, inFlow: true, indent: -1, lineStart: o5, parent: this }, c7); + if (!l5) return this.valueRange = new u.Range(n5, c7), c7; + this.items.push(l5), c7 = u.Node.normalizeOffset(s5, l5.range.end); + } + } + c7 = u.Node.endOfWhiteSpace(s5, c7), a5 = s5[c7]; + } + return this.valueRange = new u.Range(n5, c7 + 1), a5 && (this.items.push({ char: a5, offset: c7 }), c7 = u.Node.endOfWhiteSpace(s5, c7 + 1), c7 = this.parseComment(c7)), c7; + } + setOrigRanges(e7, n5) { + return n5 = super.setOrigRanges(e7, n5), this.items.forEach((r5) => { + if (r5 instanceof u.Node) n5 = r5.setOrigRanges(e7, n5); + else if (e7.length === 0) r5.origOffset = r5.offset; + else { + let s5 = n5; + for (; s5 < e7.length && !(e7[s5] > r5.offset); ) ++s5; + r5.origOffset = r5.offset + s5, n5 = s5; + } + }), n5; + } + toString() { + let { context: { src: e7 }, items: n5, range: r5, value: s5 } = this; + if (s5 != null) return s5; + let i5 = n5.filter((c7) => c7 instanceof u.Node), o5 = "", a5 = r5.start; + return i5.forEach((c7) => { + let l5 = e7.slice(a5, c7.range.start); + a5 = c7.range.end, o5 += l5 + String(c7), o5[o5.length - 1] === ` +` && e7[a5 - 1] !== ` +` && e7[a5] === ` +` && (a5 += 1); + }), o5 += e7.slice(a5, r5.end), u.Node.addStringTerminator(e7, r5.end, o5); + } + }, vn7 = class t26 extends u.Node { + static endOfQuote(e7, n5) { + let r5 = e7[n5]; + for (; r5 && r5 !== '"'; ) n5 += r5 === "\\" ? 2 : 1, r5 = e7[n5]; + return n5 + 1; + } + get strValue() { + if (!this.valueRange || !this.context) return null; + let e7 = [], { start: n5, end: r5 } = this.valueRange, { indent: s5, src: i5 } = this.context; + i5[r5 - 1] !== '"' && e7.push(new u.YAMLSyntaxError(this, 'Missing closing "quote')); + let o5 = ""; + for (let a5 = n5 + 1; a5 < r5 - 1; ++a5) { + let c7 = i5[a5]; + if (c7 === ` +`) { + u.Node.atDocumentBoundary(i5, a5 + 1) && e7.push(new u.YAMLSemanticError(this, "Document boundary indicators are not allowed within string values")); + let { fold: l5, offset: f7, error: m7 } = u.Node.foldNewline(i5, a5, s5); + o5 += l5, a5 = f7, m7 && e7.push(new u.YAMLSemanticError(this, "Multi-line double-quoted string needs to be sufficiently indented")); + } else if (c7 === "\\") switch (a5 += 1, i5[a5]) { + case "0": + o5 += "\0"; + break; + case "a": + o5 += "\x07"; + break; + case "b": + o5 += "\b"; + break; + case "e": + o5 += "\x1B"; + break; + case "f": + o5 += "\f"; + break; + case "n": + o5 += ` +`; + break; + case "r": + o5 += "\r"; + break; + case "t": + o5 += " "; + break; + case "v": + o5 += "\v"; + break; + case "N": + o5 += "\x85"; + break; + case "_": + o5 += "\xA0"; + break; + case "L": + o5 += "\u2028"; + break; + case "P": + o5 += "\u2029"; + break; + case " ": + o5 += " "; + break; + case '"': + o5 += '"'; + break; + case "/": + o5 += "/"; + break; + case "\\": + o5 += "\\"; + break; + case " ": + o5 += " "; + break; + case "x": + o5 += this.parseCharCode(a5 + 1, 2, e7), a5 += 2; + break; + case "u": + o5 += this.parseCharCode(a5 + 1, 4, e7), a5 += 4; + break; + case "U": + o5 += this.parseCharCode(a5 + 1, 8, e7), a5 += 8; + break; + case ` +`: + for (; i5[a5 + 1] === " " || i5[a5 + 1] === " "; ) a5 += 1; + break; + default: + e7.push(new u.YAMLSyntaxError(this, `Invalid escape sequence ${i5.substr(a5 - 1, 2)}`)), o5 += "\\" + i5[a5]; + } + else if (c7 === " " || c7 === " ") { + let l5 = a5, f7 = i5[a5 + 1]; + for (; f7 === " " || f7 === " "; ) a5 += 1, f7 = i5[a5 + 1]; + f7 !== ` +` && (o5 += a5 > l5 ? i5.slice(l5, a5 + 1) : c7); + } else o5 += c7; + } + return e7.length > 0 ? { errors: e7, str: o5 } : o5; + } + parseCharCode(e7, n5, r5) { + let { src: s5 } = this.context, i5 = s5.substr(e7, n5), a5 = i5.length === n5 && /^[0-9a-fA-F]+$/.test(i5) ? parseInt(i5, 16) : NaN; + return isNaN(a5) ? (r5.push(new u.YAMLSyntaxError(this, `Invalid escape sequence ${s5.substr(e7 - 2, n5 + 2)}`)), s5.substr(e7 - 2, n5 + 2)) : String.fromCodePoint(a5); + } + parse(e7, n5) { + this.context = e7; + let { src: r5 } = e7, s5 = t26.endOfQuote(r5, n5 + 1); + return this.valueRange = new u.Range(n5, s5), s5 = u.Node.endOfWhiteSpace(r5, s5), s5 = this.parseComment(s5), s5; + } + }, In7 = class t26 extends u.Node { + static endOfQuote(e7, n5) { + let r5 = e7[n5]; + for (; r5; ) if (r5 === "'") { + if (e7[n5 + 1] !== "'") break; + r5 = e7[n5 += 2]; + } else r5 = e7[n5 += 1]; + return n5 + 1; + } + get strValue() { + if (!this.valueRange || !this.context) return null; + let e7 = [], { start: n5, end: r5 } = this.valueRange, { indent: s5, src: i5 } = this.context; + i5[r5 - 1] !== "'" && e7.push(new u.YAMLSyntaxError(this, "Missing closing 'quote")); + let o5 = ""; + for (let a5 = n5 + 1; a5 < r5 - 1; ++a5) { + let c7 = i5[a5]; + if (c7 === ` +`) { + u.Node.atDocumentBoundary(i5, a5 + 1) && e7.push(new u.YAMLSemanticError(this, "Document boundary indicators are not allowed within string values")); + let { fold: l5, offset: f7, error: m7 } = u.Node.foldNewline(i5, a5, s5); + o5 += l5, a5 = f7, m7 && e7.push(new u.YAMLSemanticError(this, "Multi-line single-quoted string needs to be sufficiently indented")); + } else if (c7 === "'") o5 += c7, a5 += 1, i5[a5] !== "'" && e7.push(new u.YAMLSyntaxError(this, "Unescaped single quote? This should not happen.")); + else if (c7 === " " || c7 === " ") { + let l5 = a5, f7 = i5[a5 + 1]; + for (; f7 === " " || f7 === " "; ) a5 += 1, f7 = i5[a5 + 1]; + f7 !== ` +` && (o5 += a5 > l5 ? i5.slice(l5, a5 + 1) : c7); + } else o5 += c7; + } + return e7.length > 0 ? { errors: e7, str: o5 } : o5; + } + parse(e7, n5) { + this.context = e7; + let { src: r5 } = e7, s5 = t26.endOfQuote(r5, n5 + 1); + return this.valueRange = new u.Range(n5, s5), s5 = u.Node.endOfWhiteSpace(r5, s5), s5 = this.parseComment(s5), s5; + } + }; + function So4(t26, e7) { + switch (t26) { + case u.Type.ALIAS: + return new Mn6(t26, e7); + case u.Type.BLOCK_FOLDED: + case u.Type.BLOCK_LITERAL: + return new kn9(t26, e7); + case u.Type.FLOW_MAP: + case u.Type.FLOW_SEQ: + return new Pn8(t26, e7); + case u.Type.MAP_KEY: + case u.Type.MAP_VALUE: + case u.Type.SEQ_ITEM: + return new ot8(t26, e7); + case u.Type.COMMENT: + case u.Type.PLAIN: + return new u.PlainValue(t26, e7); + case u.Type.QUOTE_DOUBLE: + return new vn7(t26, e7); + case u.Type.QUOTE_SINGLE: + return new In7(t26, e7); + default: + return null; } - var m = sax2.MAX_BUFFER_LENGTH - maxActual; - parser2.bufferCheckPosition = m + parser2.position; } - function clearBuffers(parser2) { - for (var i2 = 0, l = buffers.length; i2 < l; i2++) { - parser2[buffers[i2]] = ""; + var _n7 = class t26 { + static parseType(e7, n5, r5) { + switch (e7[n5]) { + case "*": + return u.Type.ALIAS; + case ">": + return u.Type.BLOCK_FOLDED; + case "|": + return u.Type.BLOCK_LITERAL; + case "{": + return u.Type.FLOW_MAP; + case "[": + return u.Type.FLOW_SEQ; + case "?": + return !r5 && u.Node.atBlank(e7, n5 + 1, true) ? u.Type.MAP_KEY : u.Type.PLAIN; + case ":": + return !r5 && u.Node.atBlank(e7, n5 + 1, true) ? u.Type.MAP_VALUE : u.Type.PLAIN; + case "-": + return !r5 && u.Node.atBlank(e7, n5 + 1, true) ? u.Type.SEQ_ITEM : u.Type.PLAIN; + case '"': + return u.Type.QUOTE_DOUBLE; + case "'": + return u.Type.QUOTE_SINGLE; + default: + return u.Type.PLAIN; + } + } + constructor(e7 = {}, { atLineStart: n5, inCollection: r5, inFlow: s5, indent: i5, lineStart: o5, parent: a5 } = {}) { + u._defineProperty(this, "parseNode", (c7, l5) => { + if (u.Node.atDocumentBoundary(this.src, l5)) return null; + let f7 = new t26(this, c7), { props: m7, type: g5, valueStart: y10 } = f7.parseProps(l5), h5 = So4(g5, m7), d5 = h5.parse(f7, y10); + if (h5.range = new u.Range(l5, d5), d5 <= l5 && (h5.error = new Error("Node#parse consumed no characters"), h5.error.parseEnd = d5, h5.error.source = h5, h5.range.end = l5 + 1), f7.nodeStartsCollection(h5)) { + !h5.error && !f7.atLineStart && f7.parent.type === u.Type.DOCUMENT && (h5.error = new u.YAMLSyntaxError(h5, "Block collection must not have preceding content here (e.g. directives-end indicator)")); + let w8 = new It11(h5); + return d5 = w8.parse(new t26(f7), d5), w8.range = new u.Range(l5, d5), w8; + } + return h5; + }), this.atLineStart = n5 ?? (e7.atLineStart || false), this.inCollection = r5 ?? (e7.inCollection || false), this.inFlow = s5 ?? (e7.inFlow || false), this.indent = i5 ?? e7.indent, this.lineStart = o5 ?? e7.lineStart, this.parent = a5 ?? (e7.parent || {}), this.root = e7.root, this.src = e7.src; + } + nodeStartsCollection(e7) { + let { inCollection: n5, inFlow: r5, src: s5 } = this; + if (n5 || r5) return false; + if (e7 instanceof ot8) return true; + let i5 = e7.range.end; + return s5[i5] === ` +` || s5[i5 - 1] === ` +` ? false : (i5 = u.Node.endOfWhiteSpace(s5, i5), s5[i5] === ":"); + } + parseProps(e7) { + let { inFlow: n5, parent: r5, src: s5 } = this, i5 = [], o5 = false; + e7 = this.atLineStart ? u.Node.endOfIndent(s5, e7) : u.Node.endOfWhiteSpace(s5, e7); + let a5 = s5[e7]; + for (; a5 === u.Char.ANCHOR || a5 === u.Char.COMMENT || a5 === u.Char.TAG || a5 === ` +`; ) { + if (a5 === ` +`) { + let l5 = e7, f7; + do + f7 = l5 + 1, l5 = u.Node.endOfIndent(s5, f7); + while (s5[l5] === ` +`); + let m7 = l5 - (f7 + this.indent), g5 = r5.type === u.Type.SEQ_ITEM && r5.context.atLineStart; + if (s5[l5] !== "#" && !u.Node.nextNodeIsIndented(s5[l5], m7, !g5)) break; + this.atLineStart = true, this.lineStart = f7, o5 = false, e7 = l5; + } else if (a5 === u.Char.COMMENT) { + let l5 = u.Node.endOfLine(s5, e7 + 1); + i5.push(new u.Range(e7, l5)), e7 = l5; + } else { + let l5 = u.Node.endOfIdentifier(s5, e7 + 1); + a5 === u.Char.TAG && s5[l5] === "," && /^[a-zA-Z0-9-]+\.[a-zA-Z0-9-]+,\d\d\d\d(-\d\d){0,2}\/\S/.test(s5.slice(e7 + 1, l5 + 13)) && (l5 = u.Node.endOfIdentifier(s5, l5 + 5)), i5.push(new u.Range(e7, l5)), o5 = true, e7 = u.Node.endOfWhiteSpace(s5, l5); + } + a5 = s5[e7]; + } + o5 && a5 === ":" && u.Node.atBlank(s5, e7 + 1, true) && (e7 -= 1); + let c7 = t26.parseType(s5, e7, n5); + return { props: i5, type: c7, valueStart: e7 }; } + }; + function wo6(t26) { + let e7 = []; + t26.indexOf("\r") !== -1 && (t26 = t26.replace(/\r\n?/g, (s5, i5) => (s5.length > 1 && e7.push(i5), ` +`))); + let n5 = [], r5 = 0; + do { + let s5 = new Cn8(), i5 = new _n7({ src: t26 }); + r5 = s5.parse(i5, r5), n5.push(s5); + } while (r5 < t26.length); + return n5.setOrigRanges = () => { + if (e7.length === 0) return false; + for (let i5 = 1; i5 < e7.length; ++i5) e7[i5] -= i5; + let s5 = 0; + for (let i5 = 0; i5 < n5.length; ++i5) s5 = n5[i5].setOrigRanges(e7, s5); + return e7.splice(0, e7.length), true; + }, n5.toString = () => n5.join(`... +`), n5; + } + jr6.parse = wo6; + }); + De = ne((M10) => { + "use strict"; + var p4 = ce(); + function bo5(t26, e7, n5) { + return n5 ? `#${n5.replace(/[\s\S]^/gm, `$&${e7}#`)} +${e7}${t26}` : t26; } - function flushBuffers(parser2) { - closeText(parser2); - if (parser2.cdata !== "") { - emitNode(parser2, "oncdata", parser2.cdata); - parser2.cdata = ""; + function Re11(t26, e7, n5) { + return n5 ? n5.indexOf(` +`) === -1 ? `${t26} #${n5}` : `${t26} +` + n5.replace(/^/gm, `${e7 || ""}#`) : t26; + } + var j9 = class { + }; + function fe10(t26, e7, n5) { + if (Array.isArray(t26)) return t26.map((r5, s5) => fe10(r5, String(s5), n5)); + if (t26 && typeof t26.toJSON == "function") { + let r5 = n5 && n5.anchors && n5.anchors.get(t26); + r5 && (n5.onCreate = (i5) => { + r5.res = i5, delete n5.onCreate; + }); + let s5 = t26.toJSON(e7, n5); + return r5 && n5.onCreate && n5.onCreate(s5), s5; } - if (parser2.script !== "") { - emitNode(parser2, "onscript", parser2.script); - parser2.script = ""; + return (!n5 || !n5.keep) && typeof t26 == "bigint" ? Number(t26) : t26; + } + var x12 = class extends j9 { + constructor(e7) { + super(), this.value = e7; } + toJSON(e7, n5) { + return n5 && n5.keep ? this.value : fe10(this.value, e7, n5); + } + toString() { + return String(this.value); + } + }; + function Gr9(t26, e7, n5) { + let r5 = n5; + for (let s5 = e7.length - 1; s5 >= 0; --s5) { + let i5 = e7[s5]; + if (Number.isInteger(i5) && i5 >= 0) { + let o5 = []; + o5[i5] = r5, r5 = o5; + } else { + let o5 = {}; + Object.defineProperty(o5, i5, { value: r5, writable: true, enumerable: true, configurable: true }), r5 = o5; + } + } + return t26.createNode(r5, false); } - SAXParser.prototype = { - end: function() { - end(this); - }, - write, - resume: function() { - this.error = null; - return this; - }, - close: function() { - return this.write(null); - }, - flush: function() { - flushBuffers(this); + var Xr7 = (t26) => t26 == null || typeof t26 == "object" && t26[Symbol.iterator]().next().done, Q10 = class t26 extends j9 { + constructor(e7) { + super(), p4._defineProperty(this, "items", []), this.schema = e7; + } + addIn(e7, n5) { + if (Xr7(e7)) this.add(n5); + else { + let [r5, ...s5] = e7, i5 = this.get(r5, true); + if (i5 instanceof t26) i5.addIn(s5, n5); + else if (i5 === void 0 && this.schema) this.set(r5, Gr9(this.schema, s5, n5)); + else throw new Error(`Expected YAML collection at ${r5}. Remaining path: ${s5}`); + } + } + deleteIn([e7, ...n5]) { + if (n5.length === 0) return this.delete(e7); + let r5 = this.get(e7, true); + if (r5 instanceof t26) return r5.deleteIn(n5); + throw new Error(`Expected YAML collection at ${e7}. Remaining path: ${n5}`); + } + getIn([e7, ...n5], r5) { + let s5 = this.get(e7, true); + return n5.length === 0 ? !r5 && s5 instanceof x12 ? s5.value : s5 : s5 instanceof t26 ? s5.getIn(n5, r5) : void 0; + } + hasAllNullValues() { + return this.items.every((e7) => { + if (!e7 || e7.type !== "PAIR") return false; + let n5 = e7.value; + return n5 == null || n5 instanceof x12 && n5.value == null && !n5.commentBefore && !n5.comment && !n5.tag; + }); + } + hasIn([e7, ...n5]) { + if (n5.length === 0) return this.has(e7); + let r5 = this.get(e7, true); + return r5 instanceof t26 ? r5.hasIn(n5) : false; + } + setIn([e7, ...n5], r5) { + if (n5.length === 0) this.set(e7, r5); + else { + let s5 = this.get(e7, true); + if (s5 instanceof t26) s5.setIn(n5, r5); + else if (s5 === void 0 && this.schema) this.set(e7, Gr9(this.schema, n5, r5)); + else throw new Error(`Expected YAML collection at ${e7}. Remaining path: ${n5}`); + } + } + toJSON() { + return null; + } + toString(e7, { blockItem: n5, flowChars: r5, isMap: s5, itemIndent: i5 }, o5, a5) { + let { indent: c7, indentStep: l5, stringify: f7 } = e7, m7 = this.type === p4.Type.FLOW_MAP || this.type === p4.Type.FLOW_SEQ || e7.inFlow; + m7 && (i5 += l5); + let g5 = s5 && this.hasAllNullValues(); + e7 = Object.assign({}, e7, { allNullValues: g5, indent: i5, inFlow: m7, type: null }); + let y10 = false, h5 = false, d5 = this.items.reduce((P8, A9, C8) => { + let L9; + A9 && (!y10 && A9.spaceBefore && P8.push({ type: "comment", str: "" }), A9.commentBefore && A9.commentBefore.match(/^.*$/gm).forEach((Mi7) => { + P8.push({ type: "comment", str: `#${Mi7}` }); + }), A9.comment && (L9 = A9.comment), m7 && (!y10 && A9.spaceBefore || A9.commentBefore || A9.comment || A9.key && (A9.key.commentBefore || A9.key.comment) || A9.value && (A9.value.commentBefore || A9.value.comment)) && (h5 = true)), y10 = false; + let R10 = f7(A9, e7, () => L9 = null, () => y10 = true); + return m7 && !h5 && R10.includes(` +`) && (h5 = true), m7 && C8 < this.items.length - 1 && (R10 += ","), R10 = Re11(R10, i5, L9), y10 && (L9 || m7) && (y10 = false), P8.push({ type: "item", str: R10 }), P8; + }, []), w8; + if (d5.length === 0) w8 = r5.start + r5.end; + else if (m7) { + let { start: P8, end: A9 } = r5, C8 = d5.map((L9) => L9.str); + if (h5 || C8.reduce((L9, R10) => L9 + R10.length + 2, 2) > t26.maxFlowStringSingleLineLength) { + w8 = P8; + for (let L9 of C8) w8 += L9 ? ` +${l5}${c7}${L9}` : ` +`; + w8 += ` +${c7}${A9}`; + } else w8 = `${P8} ${C8.join(" ")} ${A9}`; + } else { + let P8 = d5.map(n5); + w8 = P8.shift(); + for (let A9 of P8) w8 += A9 ? ` +${c7}${A9}` : ` +`; + } + return this.comment ? (w8 += ` +` + this.comment.replace(/^/gm, `${c7}#`), o5 && o5()) : y10 && a5 && a5(), w8; } }; - var Stream; - try { - Stream = __require("stream").Stream; - } catch (ex) { - Stream = function() { + p4._defineProperty(Q10, "maxFlowStringSingleLineLength", 60); + function _t9(t26) { + let e7 = t26 instanceof x12 ? t26.value : t26; + return e7 && typeof e7 == "string" && (e7 = Number(e7)), Number.isInteger(e7) && e7 >= 0 ? e7 : null; + } + var ue11 = class extends Q10 { + add(e7) { + this.items.push(e7); + } + delete(e7) { + let n5 = _t9(e7); + return typeof n5 != "number" ? false : this.items.splice(n5, 1).length > 0; + } + get(e7, n5) { + let r5 = _t9(e7); + if (typeof r5 != "number") return; + let s5 = this.items[r5]; + return !n5 && s5 instanceof x12 ? s5.value : s5; + } + has(e7) { + let n5 = _t9(e7); + return typeof n5 == "number" && n5 < this.items.length; + } + set(e7, n5) { + let r5 = _t9(e7); + if (typeof r5 != "number") throw new Error(`Expected a valid index, not ${e7}.`); + this.items[r5] = n5; + } + toJSON(e7, n5) { + let r5 = []; + n5 && n5.onCreate && n5.onCreate(r5); + let s5 = 0; + for (let i5 of this.items) r5.push(fe10(i5, String(s5++), n5)); + return r5; + } + toString(e7, n5, r5) { + return e7 ? super.toString(e7, { blockItem: (s5) => s5.type === "comment" ? s5.str : `- ${s5.str}`, flowChars: { start: "[", end: "]" }, isMap: false, itemIndent: (e7.indent || "") + " " }, n5, r5) : JSON.stringify(this); + } + }, No3 = (t26, e7, n5) => e7 === null ? "" : typeof e7 != "object" ? String(e7) : t26 instanceof j9 && n5 && n5.doc ? t26.toString({ anchors: /* @__PURE__ */ Object.create(null), doc: n5.doc, indent: "", indentStep: n5.indentStep, inFlow: true, inStringifyKey: true, stringify: n5.stringify }) : JSON.stringify(e7), T7 = class t26 extends j9 { + constructor(e7, n5 = null) { + super(), this.key = e7, this.value = n5, this.type = t26.Type.PAIR; + } + get commentBefore() { + return this.key instanceof j9 ? this.key.commentBefore : void 0; + } + set commentBefore(e7) { + if (this.key == null && (this.key = new x12(null)), this.key instanceof j9) this.key.commentBefore = e7; + else { + let n5 = "Pair.commentBefore is an alias for Pair.key.commentBefore. To set it, the key must be a Node."; + throw new Error(n5); + } + } + addToJSMap(e7, n5) { + let r5 = fe10(this.key, "", e7); + if (n5 instanceof Map) { + let s5 = fe10(this.value, r5, e7); + n5.set(r5, s5); + } else if (n5 instanceof Set) n5.add(r5); + else { + let s5 = No3(this.key, r5, e7), i5 = fe10(this.value, s5, e7); + s5 in n5 ? Object.defineProperty(n5, s5, { value: i5, writable: true, enumerable: true, configurable: true }) : n5[s5] = i5; + } + return n5; + } + toJSON(e7, n5) { + let r5 = n5 && n5.mapAsMap ? /* @__PURE__ */ new Map() : {}; + return this.addToJSMap(n5, r5); + } + toString(e7, n5, r5) { + if (!e7 || !e7.doc) return JSON.stringify(this); + let { indent: s5, indentSeq: i5, simpleKeys: o5 } = e7.doc.options, { key: a5, value: c7 } = this, l5 = a5 instanceof j9 && a5.comment; + if (o5) { + if (l5) throw new Error("With simple keys, key nodes cannot have comments"); + if (a5 instanceof Q10) { + let R10 = "With simple keys, collection cannot be used as a key value"; + throw new Error(R10); + } + } + let f7 = !o5 && (!a5 || l5 || (a5 instanceof j9 ? a5 instanceof Q10 || a5.type === p4.Type.BLOCK_FOLDED || a5.type === p4.Type.BLOCK_LITERAL : typeof a5 == "object")), { doc: m7, indent: g5, indentStep: y10, stringify: h5 } = e7; + e7 = Object.assign({}, e7, { implicitKey: !f7, indent: g5 + y10 }); + let d5 = false, w8 = h5(a5, e7, () => l5 = null, () => d5 = true); + if (w8 = Re11(w8, e7.indent, l5), !f7 && w8.length > 1024) { + if (o5) throw new Error("With simple keys, single line scalar must not span more than 1024 characters"); + f7 = true; + } + if (e7.allNullValues && !o5) return this.comment ? (w8 = Re11(w8, e7.indent, this.comment), n5 && n5()) : d5 && !l5 && r5 && r5(), e7.inFlow && !f7 ? w8 : `? ${w8}`; + w8 = f7 ? `? ${w8} +${g5}:` : `${w8}:`, this.comment && (w8 = Re11(w8, e7.indent, this.comment), n5 && n5()); + let P8 = "", A9 = null; + if (c7 instanceof j9) { + if (c7.spaceBefore && (P8 = ` +`), c7.commentBefore) { + let R10 = c7.commentBefore.replace(/^/gm, `${e7.indent}#`); + P8 += ` +${R10}`; + } + A9 = c7.comment; + } else c7 && typeof c7 == "object" && (c7 = m7.schema.createNode(c7, true)); + e7.implicitKey = false, !f7 && !this.comment && c7 instanceof x12 && (e7.indentAtStart = w8.length + 1), d5 = false, !i5 && s5 >= 2 && !e7.inFlow && !f7 && c7 instanceof ue11 && c7.type !== p4.Type.FLOW_SEQ && !c7.tag && !m7.anchors.getName(c7) && (e7.indent = e7.indent.substr(2)); + let C8 = h5(c7, e7, () => A9 = null, () => d5 = true), L9 = " "; + return P8 || this.comment ? L9 = `${P8} +${e7.indent}` : !f7 && c7 instanceof Q10 ? (!(C8[0] === "[" || C8[0] === "{") || C8.includes(` +`)) && (L9 = ` +${e7.indent}`) : C8[0] === ` +` && (L9 = ""), d5 && !A9 && r5 && r5(), Re11(w8 + L9 + C8, e7.indent, A9); + } + }; + p4._defineProperty(T7, "Type", { PAIR: "PAIR", MERGE_PAIR: "MERGE_PAIR" }); + var xt10 = (t26, e7) => { + if (t26 instanceof we9) { + let n5 = e7.get(t26.source); + return n5.count * n5.aliasCount; + } else if (t26 instanceof Q10) { + let n5 = 0; + for (let r5 of t26.items) { + let s5 = xt10(r5, e7); + s5 > n5 && (n5 = s5); + } + return n5; + } else if (t26 instanceof T7) { + let n5 = xt10(t26.key, e7), r5 = xt10(t26.value, e7); + return Math.max(n5, r5); + } + return 1; + }, we9 = class t26 extends j9 { + static stringify({ range: e7, source: n5 }, { anchors: r5, doc: s5, implicitKey: i5, inStringifyKey: o5 }) { + let a5 = Object.keys(r5).find((l5) => r5[l5] === n5); + if (!a5 && o5 && (a5 = s5.anchors.getName(n5) || s5.anchors.newName()), a5) return `*${a5}${i5 ? " " : ""}`; + let c7 = s5.anchors.getName(n5) ? "Alias node must be after source node" : "Source node not found for alias node"; + throw new Error(`${c7} [${e7}]`); + } + constructor(e7) { + super(), this.source = e7, this.type = p4.Type.ALIAS; + } + set tag(e7) { + throw new Error("Alias nodes cannot have tags"); + } + toJSON(e7, n5) { + if (!n5) return fe10(this.source, e7, n5); + let { anchors: r5, maxAliasCount: s5 } = n5, i5 = r5.get(this.source); + if (!i5 || i5.res === void 0) { + let o5 = "This should not happen: Alias anchor was not resolved?"; + throw this.cstNode ? new p4.YAMLReferenceError(this.cstNode, o5) : new ReferenceError(o5); + } + if (s5 >= 0 && (i5.count += 1, i5.aliasCount === 0 && (i5.aliasCount = xt10(this.source, r5)), i5.count * i5.aliasCount > s5)) { + let o5 = "Excessive alias count indicates a resource exhaustion attack"; + throw this.cstNode ? new p4.YAMLReferenceError(this.cstNode, o5) : new ReferenceError(o5); + } + return i5.res; + } + toString(e7) { + return t26.stringify(this, e7); + } + }; + p4._defineProperty(we9, "default", true); + function at11(t26, e7) { + let n5 = e7 instanceof x12 ? e7.value : e7; + for (let r5 of t26) if (r5 instanceof T7 && (r5.key === e7 || r5.key === n5 || r5.key && r5.key.value === n5)) return r5; + } + var ct9 = class extends Q10 { + add(e7, n5) { + e7 ? e7 instanceof T7 || (e7 = new T7(e7.key || e7, e7.value)) : e7 = new T7(e7); + let r5 = at11(this.items, e7.key), s5 = this.schema && this.schema.sortMapEntries; + if (r5) if (n5) r5.value = e7.value; + else throw new Error(`Key ${e7.key} already set`); + else if (s5) { + let i5 = this.items.findIndex((o5) => s5(e7, o5) < 0); + i5 === -1 ? this.items.push(e7) : this.items.splice(i5, 0, e7); + } else this.items.push(e7); + } + delete(e7) { + let n5 = at11(this.items, e7); + return n5 ? this.items.splice(this.items.indexOf(n5), 1).length > 0 : false; + } + get(e7, n5) { + let r5 = at11(this.items, e7), s5 = r5 && r5.value; + return !n5 && s5 instanceof x12 ? s5.value : s5; + } + has(e7) { + return !!at11(this.items, e7); + } + set(e7, n5) { + this.add(new T7(e7, n5), true); + } + toJSON(e7, n5, r5) { + let s5 = r5 ? new r5() : n5 && n5.mapAsMap ? /* @__PURE__ */ new Map() : {}; + n5 && n5.onCreate && n5.onCreate(s5); + for (let i5 of this.items) i5.addToJSMap(n5, s5); + return s5; + } + toString(e7, n5, r5) { + if (!e7) return JSON.stringify(this); + for (let s5 of this.items) if (!(s5 instanceof T7)) throw new Error(`Map items must all be pairs; found ${JSON.stringify(s5)} instead`); + return super.toString(e7, { blockItem: (s5) => s5.str, flowChars: { start: "{", end: "}" }, isMap: true, itemIndent: e7.indent || "" }, n5, r5); + } + }, zr8 = "<<", $t8 = class extends T7 { + constructor(e7) { + if (e7 instanceof T7) { + let n5 = e7.value; + n5 instanceof ue11 || (n5 = new ue11(), n5.items.push(e7.value), n5.range = e7.value.range), super(e7.key, n5), this.range = e7.range; + } else super(new x12(zr8), new ue11()); + this.type = T7.Type.MERGE_PAIR; + } + addToJSMap(e7, n5) { + for (let { source: r5 } of this.value.items) { + if (!(r5 instanceof ct9)) throw new Error("Merge sources must be maps"); + let s5 = r5.toJSON(null, e7, Map); + for (let [i5, o5] of s5) n5 instanceof Map ? n5.has(i5) || n5.set(i5, o5) : n5 instanceof Set ? n5.add(i5) : Object.prototype.hasOwnProperty.call(n5, i5) || Object.defineProperty(n5, i5, { value: o5, writable: true, enumerable: true, configurable: true }); + } + return n5; + } + toString(e7, n5) { + let r5 = this.value; + if (r5.items.length > 1) return super.toString(e7, n5); + this.value = r5.items[0]; + let s5 = super.toString(e7, n5); + return this.value = r5, s5; + } + }, Oo5 = { defaultType: p4.Type.BLOCK_LITERAL, lineWidth: 76 }, Ao3 = { trueStr: "true", falseStr: "false" }, Lo4 = { asBigInt: false }, To4 = { nullStr: "null" }, be10 = { defaultType: p4.Type.PLAIN, doubleQuoted: { jsonEncoding: false, minMultiLineLength: 40 }, fold: { lineWidth: 80, minContentWidth: 20 } }; + function Rn7(t26, e7, n5) { + for (let { format: r5, test: s5, resolve: i5 } of e7) if (s5) { + let o5 = t26.match(s5); + if (o5) { + let a5 = i5.apply(null, o5); + return a5 instanceof x12 || (a5 = new x12(a5)), r5 && (a5.format = r5), a5; + } + } + return n5 && (t26 = n5(t26)), new x12(t26); + } + var Zr8 = "flow", xn8 = "block", Rt11 = "quoted", Hr7 = (t26, e7) => { + let n5 = t26[e7 + 1]; + for (; n5 === " " || n5 === " "; ) { + do + n5 = t26[e7 += 1]; + while (n5 && n5 !== ` +`); + n5 = t26[e7 + 1]; + } + return e7; + }; + function Yt8(t26, e7, n5, { indentAtStart: r5, lineWidth: s5 = 80, minContentWidth: i5 = 20, onFold: o5, onOverflow: a5 }) { + if (!s5 || s5 < 0) return t26; + let c7 = Math.max(1 + i5, 1 + s5 - e7.length); + if (t26.length <= c7) return t26; + let l5 = [], f7 = {}, m7 = s5 - e7.length; + typeof r5 == "number" && (r5 > s5 - Math.max(2, i5) ? l5.push(0) : m7 = s5 - r5); + let g5, y10, h5 = false, d5 = -1, w8 = -1, P8 = -1; + n5 === xn8 && (d5 = Hr7(t26, d5), d5 !== -1 && (m7 = d5 + c7)); + for (let C8; C8 = t26[d5 += 1]; ) { + if (n5 === Rt11 && C8 === "\\") { + switch (w8 = d5, t26[d5 + 1]) { + case "x": + d5 += 3; + break; + case "u": + d5 += 5; + break; + case "U": + d5 += 9; + break; + default: + d5 += 1; + } + P8 = d5; + } + if (C8 === ` +`) n5 === xn8 && (d5 = Hr7(t26, d5)), m7 = d5 + c7, g5 = void 0; + else { + if (C8 === " " && y10 && y10 !== " " && y10 !== ` +` && y10 !== " ") { + let L9 = t26[d5 + 1]; + L9 && L9 !== " " && L9 !== ` +` && L9 !== " " && (g5 = d5); + } + if (d5 >= m7) if (g5) l5.push(g5), m7 = g5 + c7, g5 = void 0; + else if (n5 === Rt11) { + for (; y10 === " " || y10 === " "; ) y10 = C8, C8 = t26[d5 += 1], h5 = true; + let L9 = d5 > P8 + 1 ? d5 - 2 : w8 - 1; + if (f7[L9]) return t26; + l5.push(L9), f7[L9] = true, m7 = L9 + c7, g5 = void 0; + } else h5 = true; + } + y10 = C8; + } + if (h5 && a5 && a5(), l5.length === 0) return t26; + o5 && o5(); + let A9 = t26.slice(0, l5[0]); + for (let C8 = 0; C8 < l5.length; ++C8) { + let L9 = l5[C8], R10 = l5[C8 + 1] || t26.length; + L9 === 0 ? A9 = ` +${e7}${t26.slice(0, R10)}` : (n5 === Rt11 && f7[L9] && (A9 += `${t26[L9]}\\`), A9 += ` +${e7}${t26.slice(L9 + 1, R10)}`); + } + return A9; + } + var Dn7 = ({ indentAtStart: t26 }) => t26 ? Object.assign({ indentAtStart: t26 }, be10.fold) : be10.fold, Bt10 = (t26) => /^(%|---|\.\.\.)/m.test(t26); + function Co3(t26, e7, n5) { + if (!e7 || e7 < 0) return false; + let r5 = e7 - n5, s5 = t26.length; + if (s5 <= r5) return false; + for (let i5 = 0, o5 = 0; i5 < s5; ++i5) if (t26[i5] === ` +`) { + if (i5 - o5 > r5) return true; + if (o5 = i5 + 1, s5 - o5 <= r5) return false; + } + return true; + } + function Se11(t26, e7) { + let { implicitKey: n5 } = e7, { jsonEncoding: r5, minMultiLineLength: s5 } = be10.doubleQuoted, i5 = JSON.stringify(t26); + if (r5) return i5; + let o5 = e7.indent || (Bt10(t26) ? " " : ""), a5 = "", c7 = 0; + for (let l5 = 0, f7 = i5[l5]; f7; f7 = i5[++l5]) if (f7 === " " && i5[l5 + 1] === "\\" && i5[l5 + 2] === "n" && (a5 += i5.slice(c7, l5) + "\\ ", l5 += 1, c7 = l5, f7 = "\\"), f7 === "\\") switch (i5[l5 + 1]) { + case "u": + { + a5 += i5.slice(c7, l5); + let m7 = i5.substr(l5 + 2, 4); + switch (m7) { + case "0000": + a5 += "\\0"; + break; + case "0007": + a5 += "\\a"; + break; + case "000b": + a5 += "\\v"; + break; + case "001b": + a5 += "\\e"; + break; + case "0085": + a5 += "\\N"; + break; + case "00a0": + a5 += "\\_"; + break; + case "2028": + a5 += "\\L"; + break; + case "2029": + a5 += "\\P"; + break; + default: + m7.substr(0, 2) === "00" ? a5 += "\\x" + m7.substr(2) : a5 += i5.substr(l5, 6); + } + l5 += 5, c7 = l5 + 1; + } + break; + case "n": + if (n5 || i5[l5 + 2] === '"' || i5.length < s5) l5 += 1; + else { + for (a5 += i5.slice(c7, l5) + ` + +`; i5[l5 + 2] === "\\" && i5[l5 + 3] === "n" && i5[l5 + 4] !== '"'; ) a5 += ` +`, l5 += 2; + a5 += o5, i5[l5 + 2] === " " && (a5 += "\\"), l5 += 1, c7 = l5 + 1; + } + break; + default: + l5 += 1; + } + return a5 = c7 ? a5 + i5.slice(c7) : i5, n5 ? a5 : Yt8(a5, o5, Rt11, Dn7(e7)); + } + function es8(t26, e7) { + if (e7.implicitKey) { + if (/\n/.test(t26)) return Se11(t26, e7); + } else if (/[ \t]\n|\n[ \t]/.test(t26)) return Se11(t26, e7); + let n5 = e7.indent || (Bt10(t26) ? " " : ""), r5 = "'" + t26.replace(/'/g, "''").replace(/\n+/g, `$& +${n5}`) + "'"; + return e7.implicitKey ? r5 : Yt8(r5, n5, Zr8, Dn7(e7)); + } + function Dt10({ comment: t26, type: e7, value: n5 }, r5, s5, i5) { + if (/\n[\t ]+$/.test(n5) || /^\s*$/.test(n5)) return Se11(n5, r5); + let o5 = r5.indent || (r5.forceBlockIndent || Bt10(n5) ? " " : ""), a5 = o5 ? "2" : "1", c7 = e7 === p4.Type.BLOCK_FOLDED ? false : e7 === p4.Type.BLOCK_LITERAL ? true : !Co3(n5, be10.fold.lineWidth, o5.length), l5 = c7 ? "|" : ">"; + if (!n5) return l5 + ` +`; + let f7 = "", m7 = ""; + if (n5 = n5.replace(/[\n\t ]*$/, (y10) => { + let h5 = y10.indexOf(` +`); + return h5 === -1 ? l5 += "-" : (n5 === y10 || h5 !== y10.length - 1) && (l5 += "+", i5 && i5()), m7 = y10.replace(/\n$/, ""), ""; + }).replace(/^[\n ]*/, (y10) => { + y10.indexOf(" ") !== -1 && (l5 += a5); + let h5 = y10.match(/ +$/); + return h5 ? (f7 = y10.slice(0, -h5[0].length), h5[0]) : (f7 = y10, ""); + }), m7 && (m7 = m7.replace(/\n+(?!\n|$)/g, `$&${o5}`)), f7 && (f7 = f7.replace(/\n+/g, `$&${o5}`)), t26 && (l5 += " #" + t26.replace(/ ?[\r\n]+/g, " "), s5 && s5()), !n5) return `${l5}${a5} +${o5}${m7}`; + if (c7) return n5 = n5.replace(/\n+/g, `$&${o5}`), `${l5} +${o5}${f7}${n5}${m7}`; + n5 = n5.replace(/\n+/g, ` +$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g, "$1$2").replace(/\n+/g, `$&${o5}`); + let g5 = Yt8(`${f7}${n5}${m7}`, o5, xn8, be10.fold); + return `${l5} +${o5}${g5}`; + } + function Mo3(t26, e7, n5, r5) { + let { comment: s5, type: i5, value: o5 } = t26, { actualString: a5, implicitKey: c7, indent: l5, inFlow: f7 } = e7; + if (c7 && /[\n[\]{},]/.test(o5) || f7 && /[[\]{},]/.test(o5)) return Se11(o5, e7); + if (!o5 || /^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(o5)) return c7 || f7 || o5.indexOf(` +`) === -1 ? o5.indexOf('"') !== -1 && o5.indexOf("'") === -1 ? es8(o5, e7) : Se11(o5, e7) : Dt10(t26, e7, n5, r5); + if (!c7 && !f7 && i5 !== p4.Type.PLAIN && o5.indexOf(` +`) !== -1) return Dt10(t26, e7, n5, r5); + if (l5 === "" && Bt10(o5)) return e7.forceBlockIndent = true, Dt10(t26, e7, n5, r5); + let m7 = o5.replace(/\n+/g, `$& +${l5}`); + if (a5) { + let { tags: y10 } = e7.doc.schema; + if (typeof Rn7(m7, y10, y10.scalarFallback).value != "string") return Se11(o5, e7); + } + let g5 = c7 ? m7 : Yt8(m7, l5, Zr8, Dn7(e7)); + return s5 && !f7 && (g5.indexOf(` +`) !== -1 || s5.indexOf(` +`) !== -1) ? (n5 && n5(), bo5(g5, l5, s5)) : g5; + } + function ko3(t26, e7, n5, r5) { + let { defaultType: s5 } = be10, { implicitKey: i5, inFlow: o5 } = e7, { type: a5, value: c7 } = t26; + typeof c7 != "string" && (c7 = String(c7), t26 = Object.assign({}, t26, { value: c7 })); + let l5 = (m7) => { + switch (m7) { + case p4.Type.BLOCK_FOLDED: + case p4.Type.BLOCK_LITERAL: + return Dt10(t26, e7, n5, r5); + case p4.Type.QUOTE_DOUBLE: + return Se11(c7, e7); + case p4.Type.QUOTE_SINGLE: + return es8(c7, e7); + case p4.Type.PLAIN: + return Mo3(t26, e7, n5, r5); + default: + return null; + } }; + (a5 !== p4.Type.QUOTE_DOUBLE && /[\x00-\x08\x0b-\x1f\x7f-\x9f]/.test(c7) || (i5 || o5) && (a5 === p4.Type.BLOCK_FOLDED || a5 === p4.Type.BLOCK_LITERAL)) && (a5 = p4.Type.QUOTE_DOUBLE); + let f7 = l5(a5); + if (f7 === null && (f7 = l5(s5), f7 === null)) throw new Error(`Unsupported default string type ${s5}`); + return f7; + } + function Po5({ format: t26, minFractionDigits: e7, tag: n5, value: r5 }) { + if (typeof r5 == "bigint") return String(r5); + if (!isFinite(r5)) return isNaN(r5) ? ".nan" : r5 < 0 ? "-.inf" : ".inf"; + let s5 = JSON.stringify(r5); + if (!t26 && e7 && (!n5 || n5 === "tag:yaml.org,2002:float") && /^\d/.test(s5)) { + let i5 = s5.indexOf("."); + i5 < 0 && (i5 = s5.length, s5 += "."); + let o5 = e7 - (s5.length - i5 - 1); + for (; o5-- > 0; ) s5 += "0"; + } + return s5; + } + function ts8(t26, e7) { + let n5, r5; + switch (e7.type) { + case p4.Type.FLOW_MAP: + n5 = "}", r5 = "flow map"; + break; + case p4.Type.FLOW_SEQ: + n5 = "]", r5 = "flow sequence"; + break; + default: + t26.push(new p4.YAMLSemanticError(e7, "Not a flow collection!?")); + return; + } + let s5; + for (let i5 = e7.items.length - 1; i5 >= 0; --i5) { + let o5 = e7.items[i5]; + if (!o5 || o5.type !== p4.Type.COMMENT) { + s5 = o5; + break; + } + } + if (s5 && s5.char !== n5) { + let i5 = `Expected ${r5} to end with ${n5}`, o5; + typeof s5.offset == "number" ? (o5 = new p4.YAMLSemanticError(e7, i5), o5.offset = s5.offset + 1) : (o5 = new p4.YAMLSemanticError(s5, i5), s5.range && s5.range.end && (o5.offset = s5.range.end - s5.range.start)), t26.push(o5); + } + } + function ns8(t26, e7) { + let n5 = e7.context.src[e7.range.start - 1]; + if (n5 !== ` +` && n5 !== " " && n5 !== " ") { + let r5 = "Comments must be separated from other tokens by white space characters"; + t26.push(new p4.YAMLSemanticError(e7, r5)); + } + } + function rs8(t26, e7) { + let n5 = String(e7), r5 = n5.substr(0, 8) + "..." + n5.substr(-8); + return new p4.YAMLSemanticError(t26, `The "${r5}" key is too long`); + } + function ss9(t26, e7) { + for (let { afterKey: n5, before: r5, comment: s5 } of e7) { + let i5 = t26.items[r5]; + i5 ? (n5 && i5.value && (i5 = i5.value), s5 === void 0 ? (n5 || !i5.commentBefore) && (i5.spaceBefore = true) : i5.commentBefore ? i5.commentBefore += ` +` + s5 : i5.commentBefore = s5) : s5 !== void 0 && (t26.comment ? t26.comment += ` +` + s5 : t26.comment = s5); + } + } + function $n8(t26, e7) { + let n5 = e7.strValue; + return n5 ? typeof n5 == "string" ? n5 : (n5.errors.forEach((r5) => { + r5.source || (r5.source = e7), t26.errors.push(r5); + }), n5.str) : ""; + } + function vo4(t26, e7) { + let { handle: n5, suffix: r5 } = e7.tag, s5 = t26.tagPrefixes.find((i5) => i5.handle === n5); + if (!s5) { + let i5 = t26.getDefaults().tagPrefixes; + if (i5 && (s5 = i5.find((o5) => o5.handle === n5)), !s5) throw new p4.YAMLSemanticError(e7, `The ${n5} tag handle is non-default and was not declared.`); + } + if (!r5) throw new p4.YAMLSemanticError(e7, `The ${n5} tag has no suffix.`); + if (n5 === "!" && (t26.version || t26.options.version) === "1.0") { + if (r5[0] === "^") return t26.warnings.push(new p4.YAMLWarning(e7, "YAML 1.0 ^ tag expansion is not supported")), r5; + if (/[:/]/.test(r5)) { + let i5 = r5.match(/^([a-z0-9-]+)\/(.*)/i); + return i5 ? `tag:${i5[1]}.yaml.org,2002:${i5[2]}` : `tag:${r5}`; + } + } + return s5.prefix + decodeURIComponent(r5); + } + function Io5(t26, e7) { + let { tag: n5, type: r5 } = e7, s5 = false; + if (n5) { + let { handle: i5, suffix: o5, verbatim: a5 } = n5; + if (a5) { + if (a5 !== "!" && a5 !== "!!") return a5; + let c7 = `Verbatim tags aren't resolved, so ${a5} is invalid.`; + t26.errors.push(new p4.YAMLSemanticError(e7, c7)); + } else if (i5 === "!" && !o5) s5 = true; + else try { + return vo4(t26, e7); + } catch (c7) { + t26.errors.push(c7); + } + } + switch (r5) { + case p4.Type.BLOCK_FOLDED: + case p4.Type.BLOCK_LITERAL: + case p4.Type.QUOTE_DOUBLE: + case p4.Type.QUOTE_SINGLE: + return p4.defaultTags.STR; + case p4.Type.FLOW_MAP: + case p4.Type.MAP: + return p4.defaultTags.MAP; + case p4.Type.FLOW_SEQ: + case p4.Type.SEQ: + return p4.defaultTags.SEQ; + case p4.Type.PLAIN: + return s5 ? p4.defaultTags.STR : null; + default: + return null; + } } - if (!Stream) Stream = function() { + function Jr6(t26, e7, n5) { + let { tags: r5 } = t26.schema, s5 = []; + for (let o5 of r5) if (o5.tag === n5) if (o5.test) s5.push(o5); + else { + let a5 = o5.resolve(t26, e7); + return a5 instanceof Q10 ? a5 : new x12(a5); + } + let i5 = $n8(t26, e7); + return typeof i5 == "string" && s5.length > 0 ? Rn7(i5, s5, r5.scalarFallback) : null; + } + function _o3({ type: t26 }) { + switch (t26) { + case p4.Type.FLOW_MAP: + case p4.Type.MAP: + return p4.defaultTags.MAP; + case p4.Type.FLOW_SEQ: + case p4.Type.SEQ: + return p4.defaultTags.SEQ; + default: + return p4.defaultTags.STR; + } + } + function xo4(t26, e7, n5) { + try { + let r5 = Jr6(t26, e7, n5); + if (r5) return n5 && e7.tag && (r5.tag = n5), r5; + } catch (r5) { + return r5.source || (r5.source = e7), t26.errors.push(r5), null; + } + try { + let r5 = _o3(e7); + if (!r5) throw new Error(`The tag ${n5} is unavailable`); + let s5 = `The tag ${n5} is unavailable, falling back to ${r5}`; + t26.warnings.push(new p4.YAMLWarning(e7, s5)); + let i5 = Jr6(t26, e7, r5); + return i5.tag = n5, i5; + } catch (r5) { + let s5 = new p4.YAMLReferenceError(e7, r5.message); + return s5.stack = r5.stack, t26.errors.push(s5), null; + } + } + var Ro3 = (t26) => { + if (!t26) return false; + let { type: e7 } = t26; + return e7 === p4.Type.MAP_KEY || e7 === p4.Type.MAP_VALUE || e7 === p4.Type.SEQ_ITEM; }; - var streamWraps = sax2.EVENTS.filter(function(ev) { - return ev !== "error" && ev !== "end"; - }); - function createStream(strict, opt) { - return new SAXStream(strict, opt); + function Do3(t26, e7) { + let n5 = { before: [], after: [] }, r5 = false, s5 = false, i5 = Ro3(e7.context.parent) ? e7.context.parent.props.concat(e7.props) : e7.props; + for (let { start: o5, end: a5 } of i5) switch (e7.context.src[o5]) { + case p4.Char.COMMENT: { + if (!e7.commentHasRequiredWhitespace(o5)) { + let m7 = "Comments must be separated from other tokens by white space characters"; + t26.push(new p4.YAMLSemanticError(e7, m7)); + } + let { header: c7, valueRange: l5 } = e7; + (l5 && (o5 > l5.start || c7 && o5 > c7.start) ? n5.after : n5.before).push(e7.context.src.slice(o5 + 1, a5)); + break; + } + case p4.Char.ANCHOR: + if (r5) { + let c7 = "A node can have at most one anchor"; + t26.push(new p4.YAMLSemanticError(e7, c7)); + } + r5 = true; + break; + case p4.Char.TAG: + if (s5) { + let c7 = "A node can have at most one tag"; + t26.push(new p4.YAMLSemanticError(e7, c7)); + } + s5 = true; + break; + } + return { comments: n5, hasAnchor: r5, hasTag: s5 }; } - function SAXStream(strict, opt) { - if (!(this instanceof SAXStream)) { - return new SAXStream(strict, opt); + function $o3(t26, e7) { + let { anchors: n5, errors: r5, schema: s5 } = t26; + if (e7.type === p4.Type.ALIAS) { + let o5 = e7.rawValue, a5 = n5.getNode(o5); + if (!a5) { + let l5 = `Aliased anchor not found: ${o5}`; + return r5.push(new p4.YAMLReferenceError(e7, l5)), null; + } + let c7 = new we9(a5); + return n5._cstAliases.push(c7), c7; } - Stream.apply(this); - this._parser = new SAXParser(strict, opt); - this.writable = true; - this.readable = true; - var me = this; - this._parser.onend = function() { - me.emit("end"); - }; - this._parser.onerror = function(er) { - me.emit("error", er); - me._parser.error = null; - }; - this._decoder = null; - streamWraps.forEach(function(ev) { - Object.defineProperty(me, "on" + ev, { - get: function() { - return me._parser["on" + ev]; - }, - set: function(h) { - if (!h) { - me.removeAllListeners(ev); - me._parser["on" + ev] = h; - return h; + let i5 = Io5(t26, e7); + if (i5) return xo4(t26, e7, i5); + if (e7.type !== p4.Type.PLAIN) { + let o5 = `Failed to resolve ${e7.type} node here`; + return r5.push(new p4.YAMLSyntaxError(e7, o5)), null; + } + try { + let o5 = $n8(t26, e7); + return Rn7(o5, s5.tags, s5.tags.scalarFallback); + } catch (o5) { + return o5.source || (o5.source = e7), r5.push(o5), null; + } + } + function pe9(t26, e7) { + if (!e7) return null; + e7.error && t26.errors.push(e7.error); + let { comments: n5, hasAnchor: r5, hasTag: s5 } = Do3(t26.errors, e7); + if (r5) { + let { anchors: o5 } = t26, a5 = e7.anchor, c7 = o5.getNode(a5); + c7 && (o5.map[o5.newName(a5)] = c7), o5.map[a5] = e7; + } + if (e7.type === p4.Type.ALIAS && (r5 || s5)) { + let o5 = "An alias node must not specify any properties"; + t26.errors.push(new p4.YAMLSemanticError(e7, o5)); + } + let i5 = $o3(t26, e7); + if (i5) { + i5.range = [e7.range.start, e7.range.end], t26.options.keepCstNodes && (i5.cstNode = e7), t26.options.keepNodeTypes && (i5.type = e7.type); + let o5 = n5.before.join(` +`); + o5 && (i5.commentBefore = i5.commentBefore ? `${i5.commentBefore} +${o5}` : o5); + let a5 = n5.after.join(` +`); + a5 && (i5.comment = i5.comment ? `${i5.comment} +${a5}` : a5); + } + return e7.resolved = i5; + } + function Yo4(t26, e7) { + if (e7.type !== p4.Type.MAP && e7.type !== p4.Type.FLOW_MAP) { + let o5 = `A ${e7.type} node cannot be resolved as a mapping`; + return t26.errors.push(new p4.YAMLSyntaxError(e7, o5)), null; + } + let { comments: n5, items: r5 } = e7.type === p4.Type.FLOW_MAP ? Uo4(t26, e7) : qo4(t26, e7), s5 = new ct9(); + s5.items = r5, ss9(s5, n5); + let i5 = false; + for (let o5 = 0; o5 < r5.length; ++o5) { + let { key: a5 } = r5[o5]; + if (a5 instanceof Q10 && (i5 = true), t26.schema.merge && a5 && a5.value === zr8) { + r5[o5] = new $t8(r5[o5]); + let c7 = r5[o5].value.items, l5 = null; + c7.some((f7) => { + if (f7 instanceof we9) { + let { type: m7 } = f7.source; + return m7 === p4.Type.MAP || m7 === p4.Type.FLOW_MAP ? false : l5 = "Merge nodes aliases can only point to maps"; } - me.on(ev, h); - }, - enumerable: true, - configurable: false - }); - }); + return l5 = "Merge nodes can only have Alias nodes as values"; + }), l5 && t26.errors.push(new p4.YAMLSemanticError(e7, l5)); + } else for (let c7 = o5 + 1; c7 < r5.length; ++c7) { + let { key: l5 } = r5[c7]; + if (a5 === l5 || a5 && l5 && Object.prototype.hasOwnProperty.call(a5, "value") && a5.value === l5.value) { + let f7 = `Map keys must be unique; "${a5}" is repeated`; + t26.errors.push(new p4.YAMLSemanticError(e7, f7)); + break; + } + } + } + if (i5 && !t26.options.mapAsMap) { + let o5 = "Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this."; + t26.warnings.push(new p4.YAMLWarning(e7, o5)); + } + return e7.resolved = s5, s5; } - SAXStream.prototype = Object.create(Stream.prototype, { - constructor: { - value: SAXStream + var Bo4 = ({ context: { lineStart: t26, node: e7, src: n5 }, props: r5 }) => { + if (r5.length === 0) return false; + let { start: s5 } = r5[0]; + if (e7 && s5 > e7.valueRange.start || n5[s5] !== p4.Char.COMMENT) return false; + for (let i5 = t26; i5 < s5; ++i5) if (n5[i5] === ` +`) return false; + return true; + }; + function Fo3(t26, e7) { + if (!Bo4(t26)) return; + let n5 = t26.getPropValue(0, p4.Char.COMMENT, true), r5 = false, s5 = e7.value.commentBefore; + if (s5 && s5.startsWith(n5)) e7.value.commentBefore = s5.substr(n5.length + 1), r5 = true; + else { + let i5 = e7.value.comment; + !t26.node && i5 && i5.startsWith(n5) && (e7.value.comment = i5.substr(n5.length + 1), r5 = true); + } + r5 && (e7.comment = n5); + } + function qo4(t26, e7) { + let n5 = [], r5 = [], s5, i5 = null; + for (let o5 = 0; o5 < e7.items.length; ++o5) { + let a5 = e7.items[o5]; + switch (a5.type) { + case p4.Type.BLANK_LINE: + n5.push({ afterKey: !!s5, before: r5.length }); + break; + case p4.Type.COMMENT: + n5.push({ afterKey: !!s5, before: r5.length, comment: a5.comment }); + break; + case p4.Type.MAP_KEY: + s5 !== void 0 && r5.push(new T7(s5)), a5.error && t26.errors.push(a5.error), s5 = pe9(t26, a5.node), i5 = null; + break; + case p4.Type.MAP_VALUE: + { + if (s5 === void 0 && (s5 = null), a5.error && t26.errors.push(a5.error), !a5.context.atLineStart && a5.node && a5.node.type === p4.Type.MAP && !a5.node.context.atLineStart) { + let f7 = "Nested mappings are not allowed in compact mappings"; + t26.errors.push(new p4.YAMLSemanticError(a5.node, f7)); + } + let c7 = a5.node; + if (!c7 && a5.props.length > 0) { + c7 = new p4.PlainValue(p4.Type.PLAIN, []), c7.context = { parent: a5, src: a5.context.src }; + let f7 = a5.range.start + 1; + if (c7.range = { start: f7, end: f7 }, c7.valueRange = { start: f7, end: f7 }, typeof a5.range.origStart == "number") { + let m7 = a5.range.origStart + 1; + c7.range.origStart = c7.range.origEnd = m7, c7.valueRange.origStart = c7.valueRange.origEnd = m7; + } + } + let l5 = new T7(s5, pe9(t26, c7)); + Fo3(a5, l5), r5.push(l5), s5 && typeof i5 == "number" && a5.range.start > i5 + 1024 && t26.errors.push(rs8(e7, s5)), s5 = void 0, i5 = null; + } + break; + default: + s5 !== void 0 && r5.push(new T7(s5)), s5 = pe9(t26, a5), i5 = a5.range.start, a5.error && t26.errors.push(a5.error); + e: for (let c7 = o5 + 1; ; ++c7) { + let l5 = e7.items[c7]; + switch (l5 && l5.type) { + case p4.Type.BLANK_LINE: + case p4.Type.COMMENT: + continue e; + case p4.Type.MAP_VALUE: + break e; + default: { + let f7 = "Implicit map keys need to be followed by map values"; + t26.errors.push(new p4.YAMLSemanticError(a5, f7)); + break e; + } + } + } + if (a5.valueRangeContainsNewline) { + let c7 = "Implicit map keys need to be on a single line"; + t26.errors.push(new p4.YAMLSemanticError(a5, c7)); + } + } } - }); - SAXStream.prototype.write = function(data2) { - if (typeof Buffer === "function" && typeof Buffer.isBuffer === "function" && Buffer.isBuffer(data2)) { - if (!this._decoder) { - var SD = __require("string_decoder").StringDecoder; - this._decoder = new SD("utf8"); + return s5 !== void 0 && r5.push(new T7(s5)), { comments: n5, items: r5 }; + } + function Uo4(t26, e7) { + let n5 = [], r5 = [], s5, i5 = false, o5 = "{"; + for (let a5 = 0; a5 < e7.items.length; ++a5) { + let c7 = e7.items[a5]; + if (typeof c7.char == "string") { + let { char: l5, offset: f7 } = c7; + if (l5 === "?" && s5 === void 0 && !i5) { + i5 = true, o5 = ":"; + continue; + } + if (l5 === ":") { + if (s5 === void 0 && (s5 = null), o5 === ":") { + o5 = ","; + continue; + } + } else if (i5 && (s5 === void 0 && l5 !== "," && (s5 = null), i5 = false), s5 !== void 0 && (r5.push(new T7(s5)), s5 = void 0, l5 === ",")) { + o5 = ":"; + continue; + } + if (l5 === "}") { + if (a5 === e7.items.length - 1) continue; + } else if (l5 === o5) { + o5 = ":"; + continue; + } + let m7 = `Flow map contains an unexpected ${l5}`, g5 = new p4.YAMLSyntaxError(e7, m7); + g5.offset = f7, t26.errors.push(g5); + } else c7.type === p4.Type.BLANK_LINE ? n5.push({ afterKey: !!s5, before: r5.length }) : c7.type === p4.Type.COMMENT ? (ns8(t26.errors, c7), n5.push({ afterKey: !!s5, before: r5.length, comment: c7.comment })) : s5 === void 0 ? (o5 === "," && t26.errors.push(new p4.YAMLSemanticError(c7, "Separator , missing in flow map")), s5 = pe9(t26, c7)) : (o5 !== "," && t26.errors.push(new p4.YAMLSemanticError(c7, "Indicator : missing in flow map entry")), r5.push(new T7(s5, pe9(t26, c7))), s5 = void 0, i5 = false); + } + return ts8(t26.errors, e7), s5 !== void 0 && r5.push(new T7(s5)), { comments: n5, items: r5 }; + } + function Vo3(t26, e7) { + if (e7.type !== p4.Type.SEQ && e7.type !== p4.Type.FLOW_SEQ) { + let i5 = `A ${e7.type} node cannot be resolved as a sequence`; + return t26.errors.push(new p4.YAMLSyntaxError(e7, i5)), null; + } + let { comments: n5, items: r5 } = e7.type === p4.Type.FLOW_SEQ ? Ko3(t26, e7) : Wo3(t26, e7), s5 = new ue11(); + if (s5.items = r5, ss9(s5, n5), !t26.options.mapAsMap && r5.some((i5) => i5 instanceof T7 && i5.key instanceof Q10)) { + let i5 = "Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this."; + t26.warnings.push(new p4.YAMLWarning(e7, i5)); + } + return e7.resolved = s5, s5; + } + function Wo3(t26, e7) { + let n5 = [], r5 = []; + for (let s5 = 0; s5 < e7.items.length; ++s5) { + let i5 = e7.items[s5]; + switch (i5.type) { + case p4.Type.BLANK_LINE: + n5.push({ before: r5.length }); + break; + case p4.Type.COMMENT: + n5.push({ comment: i5.comment, before: r5.length }); + break; + case p4.Type.SEQ_ITEM: + if (i5.error && t26.errors.push(i5.error), r5.push(pe9(t26, i5.node)), i5.hasProps) { + let o5 = "Sequence items cannot have tags or anchors before the - indicator"; + t26.errors.push(new p4.YAMLSemanticError(i5, o5)); + } + break; + default: + i5.error && t26.errors.push(i5.error), t26.errors.push(new p4.YAMLSyntaxError(i5, `Unexpected ${i5.type} node in sequence`)); } - data2 = this._decoder.write(data2); } - this._parser.write(data2.toString()); - this.emit("data", data2); - return true; + return { comments: n5, items: r5 }; + } + function Ko3(t26, e7) { + let n5 = [], r5 = [], s5 = false, i5, o5 = null, a5 = "[", c7 = null; + for (let l5 = 0; l5 < e7.items.length; ++l5) { + let f7 = e7.items[l5]; + if (typeof f7.char == "string") { + let { char: m7, offset: g5 } = f7; + if (m7 !== ":" && (s5 || i5 !== void 0) && (s5 && i5 === void 0 && (i5 = a5 ? r5.pop() : null), r5.push(new T7(i5)), s5 = false, i5 = void 0, o5 = null), m7 === a5) a5 = null; + else if (!a5 && m7 === "?") s5 = true; + else if (a5 !== "[" && m7 === ":" && i5 === void 0) { + if (a5 === ",") { + if (i5 = r5.pop(), i5 instanceof T7) { + let y10 = "Chaining flow sequence pairs is invalid", h5 = new p4.YAMLSemanticError(e7, y10); + h5.offset = g5, t26.errors.push(h5); + } + if (!s5 && typeof o5 == "number") { + let y10 = f7.range ? f7.range.start : f7.offset; + y10 > o5 + 1024 && t26.errors.push(rs8(e7, i5)); + let { src: h5 } = c7.context; + for (let d5 = o5; d5 < y10; ++d5) if (h5[d5] === ` +`) { + let w8 = "Implicit keys of flow sequence pairs need to be on a single line"; + t26.errors.push(new p4.YAMLSemanticError(c7, w8)); + break; + } + } + } else i5 = null; + o5 = null, s5 = false, a5 = null; + } else if (a5 === "[" || m7 !== "]" || l5 < e7.items.length - 1) { + let y10 = `Flow sequence contains an unexpected ${m7}`, h5 = new p4.YAMLSyntaxError(e7, y10); + h5.offset = g5, t26.errors.push(h5); + } + } else if (f7.type === p4.Type.BLANK_LINE) n5.push({ before: r5.length }); + else if (f7.type === p4.Type.COMMENT) ns8(t26.errors, f7), n5.push({ comment: f7.comment, before: r5.length }); + else { + if (a5) { + let g5 = `Expected a ${a5} in flow sequence`; + t26.errors.push(new p4.YAMLSemanticError(f7, g5)); + } + let m7 = pe9(t26, f7); + i5 === void 0 ? (r5.push(m7), c7 = f7) : (r5.push(new T7(i5, m7)), i5 = void 0), o5 = f7.range.start, a5 = ","; + } + } + return ts8(t26.errors, e7), i5 !== void 0 && r5.push(new T7(i5)), { comments: n5, items: r5 }; + } + M10.Alias = we9; + M10.Collection = Q10; + M10.Merge = $t8; + M10.Node = j9; + M10.Pair = T7; + M10.Scalar = x12; + M10.YAMLMap = ct9; + M10.YAMLSeq = ue11; + M10.addComment = Re11; + M10.binaryOptions = Oo5; + M10.boolOptions = Ao3; + M10.findPair = at11; + M10.intOptions = Lo4; + M10.isEmptyPath = Xr7; + M10.nullOptions = To4; + M10.resolveMap = Yo4; + M10.resolveNode = pe9; + M10.resolveSeq = Vo3; + M10.resolveString = $n8; + M10.strOptions = be10; + M10.stringifyNumber = Po5; + M10.stringifyString = ko3; + M10.toJSON = fe10; + }); + qn = ne((ee8) => { + "use strict"; + var G11 = ce(), O7 = De(), jo4 = { identify: (t26) => t26 instanceof Uint8Array, default: false, tag: "tag:yaml.org,2002:binary", resolve: (t26, e7) => { + let n5 = O7.resolveString(t26, e7); + if (typeof Buffer == "function") return Buffer.from(n5, "base64"); + if (typeof atob == "function") { + let r5 = atob(n5.replace(/[\n\r]/g, "")), s5 = new Uint8Array(r5.length); + for (let i5 = 0; i5 < r5.length; ++i5) s5[i5] = r5.charCodeAt(i5); + return s5; + } else { + let r5 = "This environment does not support reading binary tags; either Buffer or atob is required"; + return t26.errors.push(new G11.YAMLReferenceError(e7, r5)), null; + } + }, options: O7.binaryOptions, stringify: ({ comment: t26, type: e7, value: n5 }, r5, s5, i5) => { + let o5; + if (typeof Buffer == "function") o5 = n5 instanceof Buffer ? n5.toString("base64") : Buffer.from(n5.buffer).toString("base64"); + else if (typeof btoa == "function") { + let a5 = ""; + for (let c7 = 0; c7 < n5.length; ++c7) a5 += String.fromCharCode(n5[c7]); + o5 = btoa(a5); + } else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required"); + if (e7 || (e7 = O7.binaryOptions.defaultType), e7 === G11.Type.QUOTE_DOUBLE) n5 = o5; + else { + let { lineWidth: a5 } = O7.binaryOptions, c7 = Math.ceil(o5.length / a5), l5 = new Array(c7); + for (let f7 = 0, m7 = 0; f7 < c7; ++f7, m7 += a5) l5[f7] = o5.substr(m7, a5); + n5 = l5.join(e7 === G11.Type.BLOCK_LITERAL ? ` +` : " "); + } + return O7.stringifyString({ comment: t26, type: e7, value: n5 }, r5, s5, i5); + } }; + function os12(t26, e7) { + let n5 = O7.resolveSeq(t26, e7); + for (let r5 = 0; r5 < n5.items.length; ++r5) { + let s5 = n5.items[r5]; + if (!(s5 instanceof O7.Pair)) { + if (s5 instanceof O7.YAMLMap) { + if (s5.items.length > 1) { + let o5 = "Each pair must have its own sequence indicator"; + throw new G11.YAMLSemanticError(e7, o5); + } + let i5 = s5.items[0] || new O7.Pair(); + s5.commentBefore && (i5.commentBefore = i5.commentBefore ? `${s5.commentBefore} +${i5.commentBefore}` : s5.commentBefore), s5.comment && (i5.comment = i5.comment ? `${s5.comment} +${i5.comment}` : s5.comment), s5 = i5; + } + n5.items[r5] = s5 instanceof O7.Pair ? s5 : new O7.Pair(s5); + } + } + return n5; + } + function as8(t26, e7, n5) { + let r5 = new O7.YAMLSeq(t26); + r5.tag = "tag:yaml.org,2002:pairs"; + for (let s5 of e7) { + let i5, o5; + if (Array.isArray(s5)) if (s5.length === 2) i5 = s5[0], o5 = s5[1]; + else throw new TypeError(`Expected [key, value] tuple: ${s5}`); + else if (s5 && s5 instanceof Object) { + let c7 = Object.keys(s5); + if (c7.length === 1) i5 = c7[0], o5 = s5[i5]; + else throw new TypeError(`Expected { key: value } tuple: ${s5}`); + } else i5 = s5; + let a5 = t26.createPair(i5, o5, n5); + r5.items.push(a5); + } + return r5; + } + var Qo4 = { default: false, tag: "tag:yaml.org,2002:pairs", resolve: os12, createNode: as8 }, $e11 = class t26 extends O7.YAMLSeq { + constructor() { + super(), G11._defineProperty(this, "add", O7.YAMLMap.prototype.add.bind(this)), G11._defineProperty(this, "delete", O7.YAMLMap.prototype.delete.bind(this)), G11._defineProperty(this, "get", O7.YAMLMap.prototype.get.bind(this)), G11._defineProperty(this, "has", O7.YAMLMap.prototype.has.bind(this)), G11._defineProperty(this, "set", O7.YAMLMap.prototype.set.bind(this)), this.tag = t26.tag; + } + toJSON(e7, n5) { + let r5 = /* @__PURE__ */ new Map(); + n5 && n5.onCreate && n5.onCreate(r5); + for (let s5 of this.items) { + let i5, o5; + if (s5 instanceof O7.Pair ? (i5 = O7.toJSON(s5.key, "", n5), o5 = O7.toJSON(s5.value, i5, n5)) : i5 = O7.toJSON(s5, "", n5), r5.has(i5)) throw new Error("Ordered maps must not include duplicate keys"); + r5.set(i5, o5); + } + return r5; + } }; - SAXStream.prototype.end = function(chunk) { - if (chunk && chunk.length) { - this.write(chunk); + G11._defineProperty($e11, "tag", "tag:yaml.org,2002:omap"); + function Go3(t26, e7) { + let n5 = os12(t26, e7), r5 = []; + for (let { key: s5 } of n5.items) if (s5 instanceof O7.Scalar) if (r5.includes(s5.value)) { + let i5 = "Ordered maps must not include duplicate keys"; + throw new G11.YAMLSemanticError(e7, i5); + } else r5.push(s5.value); + return Object.assign(new $e11(), n5); + } + function Ho3(t26, e7, n5) { + let r5 = as8(t26, e7, n5), s5 = new $e11(); + return s5.items = r5.items, s5; + } + var Jo5 = { identify: (t26) => t26 instanceof Map, nodeClass: $e11, default: false, tag: "tag:yaml.org,2002:omap", resolve: Go3, createNode: Ho3 }, Ye10 = class t26 extends O7.YAMLMap { + constructor() { + super(), this.tag = t26.tag; + } + add(e7) { + let n5 = e7 instanceof O7.Pair ? e7 : new O7.Pair(e7); + O7.findPair(this.items, n5.key) || this.items.push(n5); + } + get(e7, n5) { + let r5 = O7.findPair(this.items, e7); + return !n5 && r5 instanceof O7.Pair ? r5.key instanceof O7.Scalar ? r5.key.value : r5.key : r5; + } + set(e7, n5) { + if (typeof n5 != "boolean") throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof n5}`); + let r5 = O7.findPair(this.items, e7); + r5 && !n5 ? this.items.splice(this.items.indexOf(r5), 1) : !r5 && n5 && this.items.push(new O7.Pair(e7)); + } + toJSON(e7, n5) { + return super.toJSON(e7, n5, Set); + } + toString(e7, n5, r5) { + if (!e7) return JSON.stringify(this); + if (this.hasAllNullValues()) return super.toString(e7, n5, r5); + throw new Error("Set items must all have null values"); } - this._parser.end(); - return true; }; - SAXStream.prototype.on = function(ev, handler2) { - var me = this; - if (!me._parser["on" + ev] && streamWraps.indexOf(ev) !== -1) { - me._parser["on" + ev] = function() { - var args = arguments.length === 1 ? [arguments[0]] : Array.apply(null, arguments); - args.splice(0, 0, ev); - me.emit.apply(me, args); - }; + G11._defineProperty(Ye10, "tag", "tag:yaml.org,2002:set"); + function Xo3(t26, e7) { + let n5 = O7.resolveMap(t26, e7); + if (!n5.hasAllNullValues()) throw new G11.YAMLSemanticError(e7, "Set items must all have null values"); + return Object.assign(new Ye10(), n5); + } + function zo4(t26, e7, n5) { + let r5 = new Ye10(); + for (let s5 of e7) r5.items.push(t26.createPair(s5, null, n5)); + return r5; + } + var Zo3 = { identify: (t26) => t26 instanceof Set, nodeClass: Ye10, default: false, tag: "tag:yaml.org,2002:set", resolve: Xo3, createNode: zo4 }, Yn7 = (t26, e7) => { + let n5 = e7.split(":").reduce((r5, s5) => r5 * 60 + Number(s5), 0); + return t26 === "-" ? -n5 : n5; + }, cs7 = ({ value: t26 }) => { + if (isNaN(t26) || !isFinite(t26)) return O7.stringifyNumber(t26); + let e7 = ""; + t26 < 0 && (e7 = "-", t26 = Math.abs(t26)); + let n5 = [t26 % 60]; + return t26 < 60 ? n5.unshift(0) : (t26 = Math.round((t26 - n5[0]) / 60), n5.unshift(t26 % 60), t26 >= 60 && (t26 = Math.round((t26 - n5[0]) / 60), n5.unshift(t26))), e7 + n5.map((r5) => r5 < 10 ? "0" + String(r5) : String(r5)).join(":").replace(/000000\d*$/, ""); + }, ea6 = { identify: (t26) => typeof t26 == "number", default: true, tag: "tag:yaml.org,2002:int", format: "TIME", test: /^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+)$/, resolve: (t26, e7, n5) => Yn7(e7, n5.replace(/_/g, "")), stringify: cs7 }, ta5 = { identify: (t26) => typeof t26 == "number", default: true, tag: "tag:yaml.org,2002:float", format: "TIME", test: /^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*)$/, resolve: (t26, e7, n5) => Yn7(e7, n5.replace(/_/g, "")), stringify: cs7 }, na5 = { identify: (t26) => t26 instanceof Date, default: true, tag: "tag:yaml.org,2002:timestamp", test: RegExp("^(?:([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?)$"), resolve: (t26, e7, n5, r5, s5, i5, o5, a5, c7) => { + a5 && (a5 = (a5 + "00").substr(1, 3)); + let l5 = Date.UTC(e7, n5 - 1, r5, s5 || 0, i5 || 0, o5 || 0, a5 || 0); + if (c7 && c7 !== "Z") { + let f7 = Yn7(c7[0], c7.slice(1)); + Math.abs(f7) < 30 && (f7 *= 60), l5 -= 6e4 * f7; + } + return new Date(l5); + }, stringify: ({ value: t26 }) => t26.toISOString().replace(/((T00:00)?:00)?\.000Z$/, "") }; + function Bn7(t26) { + let e7 = {}; + return t26 ? typeof YAML_SILENCE_DEPRECATION_WARNINGS < "u" ? !YAML_SILENCE_DEPRECATION_WARNINGS : !e7.YAML_SILENCE_DEPRECATION_WARNINGS : typeof YAML_SILENCE_WARNINGS < "u" ? !YAML_SILENCE_WARNINGS : !e7.YAML_SILENCE_WARNINGS; + } + function Fn6(t26, e7) { + Bn7(false) && console.warn(e7 ? `${e7}: ${t26}` : t26); + } + function ra5(t26) { + if (Bn7(true)) { + let e7 = t26.replace(/.*yaml[/\\]/i, "").replace(/\.js$/, "").replace(/\\/g, "/"); + Fn6(`The endpoint 'yaml/${e7}' will be removed in a future release.`, "DeprecationWarning"); + } + } + var is9 = {}; + function sa6(t26, e7) { + if (!is9[t26] && Bn7(true)) { + is9[t26] = true; + let n5 = `The option '${t26}' will be removed in a future release`; + n5 += e7 ? `, use '${e7}' instead.` : ".", Fn6(n5, "DeprecationWarning"); + } + } + ee8.binary = jo4; + ee8.floatTime = ta5; + ee8.intTime = ea6; + ee8.omap = Jo5; + ee8.pairs = Qo4; + ee8.set = Zo3; + ee8.timestamp = na5; + ee8.warn = Fn6; + ee8.warnFileDeprecation = ra5; + ee8.warnOptionDeprecation = sa6; + }); + Kn = ne((bs8) => { + "use strict"; + var Ut11 = ce(), E7 = De(), $11 = qn(); + function ia5(t26, e7, n5) { + let r5 = new E7.YAMLMap(t26); + if (e7 instanceof Map) for (let [s5, i5] of e7) r5.items.push(t26.createPair(s5, i5, n5)); + else if (e7 && typeof e7 == "object") for (let s5 of Object.keys(e7)) r5.items.push(t26.createPair(s5, e7[s5], n5)); + return typeof t26.sortMapEntries == "function" && r5.items.sort(t26.sortMapEntries), r5; + } + var ft10 = { createNode: ia5, default: true, nodeClass: E7.YAMLMap, tag: "tag:yaml.org,2002:map", resolve: E7.resolveMap }; + function oa3(t26, e7, n5) { + let r5 = new E7.YAMLSeq(t26); + if (e7 && e7[Symbol.iterator]) for (let s5 of e7) { + let i5 = t26.createNode(s5, n5.wrapScalars, null, n5); + r5.items.push(i5); + } + return r5; + } + var Vt11 = { createNode: oa3, default: true, nodeClass: E7.YAMLSeq, tag: "tag:yaml.org,2002:seq", resolve: E7.resolveSeq }, aa6 = { identify: (t26) => typeof t26 == "string", default: true, tag: "tag:yaml.org,2002:str", resolve: E7.resolveString, stringify(t26, e7, n5, r5) { + return e7 = Object.assign({ actualString: true }, e7), E7.stringifyString(t26, e7, n5, r5); + }, options: E7.strOptions }, Vn7 = [ft10, Vt11, aa6], Wt10 = (t26) => typeof t26 == "bigint" || Number.isInteger(t26), Wn8 = (t26, e7, n5) => E7.intOptions.asBigInt ? BigInt(t26) : parseInt(e7, n5); + function us8(t26, e7, n5) { + let { value: r5 } = t26; + return Wt10(r5) && r5 >= 0 ? n5 + r5.toString(e7) : E7.stringifyNumber(t26); + } + var ps7 = { identify: (t26) => t26 == null, createNode: (t26, e7, n5) => n5.wrapScalars ? new E7.Scalar(null) : null, default: true, tag: "tag:yaml.org,2002:null", test: /^(?:~|[Nn]ull|NULL)?$/, resolve: () => null, options: E7.nullOptions, stringify: () => E7.nullOptions.nullStr }, ms8 = { identify: (t26) => typeof t26 == "boolean", default: true, tag: "tag:yaml.org,2002:bool", test: /^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/, resolve: (t26) => t26[0] === "t" || t26[0] === "T", options: E7.boolOptions, stringify: ({ value: t26 }) => t26 ? E7.boolOptions.trueStr : E7.boolOptions.falseStr }, hs8 = { identify: (t26) => Wt10(t26) && t26 >= 0, default: true, tag: "tag:yaml.org,2002:int", format: "OCT", test: /^0o([0-7]+)$/, resolve: (t26, e7) => Wn8(t26, e7, 8), options: E7.intOptions, stringify: (t26) => us8(t26, 8, "0o") }, ds7 = { identify: Wt10, default: true, tag: "tag:yaml.org,2002:int", test: /^[-+]?[0-9]+$/, resolve: (t26) => Wn8(t26, t26, 10), options: E7.intOptions, stringify: E7.stringifyNumber }, gs7 = { identify: (t26) => Wt10(t26) && t26 >= 0, default: true, tag: "tag:yaml.org,2002:int", format: "HEX", test: /^0x([0-9a-fA-F]+)$/, resolve: (t26, e7) => Wn8(t26, e7, 16), options: E7.intOptions, stringify: (t26) => us8(t26, 16, "0x") }, ys8 = { identify: (t26) => typeof t26 == "number", default: true, tag: "tag:yaml.org,2002:float", test: /^(?:[-+]?\.inf|(\.nan))$/i, resolve: (t26, e7) => e7 ? NaN : t26[0] === "-" ? Number.NEGATIVE_INFINITY : Number.POSITIVE_INFINITY, stringify: E7.stringifyNumber }, Es8 = { identify: (t26) => typeof t26 == "number", default: true, tag: "tag:yaml.org,2002:float", format: "EXP", test: /^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/, resolve: (t26) => parseFloat(t26), stringify: ({ value: t26 }) => Number(t26).toExponential() }, Ss8 = { identify: (t26) => typeof t26 == "number", default: true, tag: "tag:yaml.org,2002:float", test: /^[-+]?(?:\.([0-9]+)|[0-9]+\.([0-9]*))$/, resolve(t26, e7, n5) { + let r5 = e7 || n5, s5 = new E7.Scalar(parseFloat(t26)); + return r5 && r5[r5.length - 1] === "0" && (s5.minFractionDigits = r5.length), s5; + }, stringify: E7.stringifyNumber }, ca4 = Vn7.concat([ps7, ms8, hs8, ds7, gs7, ys8, Es8, Ss8]), ls7 = (t26) => typeof t26 == "bigint" || Number.isInteger(t26), Ft11 = ({ value: t26 }) => JSON.stringify(t26), ws8 = [ft10, Vt11, { identify: (t26) => typeof t26 == "string", default: true, tag: "tag:yaml.org,2002:str", resolve: E7.resolveString, stringify: Ft11 }, { identify: (t26) => t26 == null, createNode: (t26, e7, n5) => n5.wrapScalars ? new E7.Scalar(null) : null, default: true, tag: "tag:yaml.org,2002:null", test: /^null$/, resolve: () => null, stringify: Ft11 }, { identify: (t26) => typeof t26 == "boolean", default: true, tag: "tag:yaml.org,2002:bool", test: /^true|false$/, resolve: (t26) => t26 === "true", stringify: Ft11 }, { identify: ls7, default: true, tag: "tag:yaml.org,2002:int", test: /^-?(?:0|[1-9][0-9]*)$/, resolve: (t26) => E7.intOptions.asBigInt ? BigInt(t26) : parseInt(t26, 10), stringify: ({ value: t26 }) => ls7(t26) ? t26.toString() : JSON.stringify(t26) }, { identify: (t26) => typeof t26 == "number", default: true, tag: "tag:yaml.org,2002:float", test: /^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/, resolve: (t26) => parseFloat(t26), stringify: Ft11 }]; + ws8.scalarFallback = (t26) => { + throw new SyntaxError(`Unresolved plain scalar ${JSON.stringify(t26)}`); + }; + var fs14 = ({ value: t26 }) => t26 ? E7.boolOptions.trueStr : E7.boolOptions.falseStr, lt8 = (t26) => typeof t26 == "bigint" || Number.isInteger(t26); + function qt11(t26, e7, n5) { + let r5 = e7.replace(/_/g, ""); + if (E7.intOptions.asBigInt) { + switch (n5) { + case 2: + r5 = `0b${r5}`; + break; + case 8: + r5 = `0o${r5}`; + break; + case 16: + r5 = `0x${r5}`; + break; + } + let i5 = BigInt(r5); + return t26 === "-" ? BigInt(-1) * i5 : i5; + } + let s5 = parseInt(r5, n5); + return t26 === "-" ? -1 * s5 : s5; + } + function Un8(t26, e7, n5) { + let { value: r5 } = t26; + if (lt8(r5)) { + let s5 = r5.toString(e7); + return r5 < 0 ? "-" + n5 + s5.substr(1) : n5 + s5; + } + return E7.stringifyNumber(t26); + } + var la3 = Vn7.concat([{ identify: (t26) => t26 == null, createNode: (t26, e7, n5) => n5.wrapScalars ? new E7.Scalar(null) : null, default: true, tag: "tag:yaml.org,2002:null", test: /^(?:~|[Nn]ull|NULL)?$/, resolve: () => null, options: E7.nullOptions, stringify: () => E7.nullOptions.nullStr }, { identify: (t26) => typeof t26 == "boolean", default: true, tag: "tag:yaml.org,2002:bool", test: /^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/, resolve: () => true, options: E7.boolOptions, stringify: fs14 }, { identify: (t26) => typeof t26 == "boolean", default: true, tag: "tag:yaml.org,2002:bool", test: /^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i, resolve: () => false, options: E7.boolOptions, stringify: fs14 }, { identify: lt8, default: true, tag: "tag:yaml.org,2002:int", format: "BIN", test: /^([-+]?)0b([0-1_]+)$/, resolve: (t26, e7, n5) => qt11(e7, n5, 2), stringify: (t26) => Un8(t26, 2, "0b") }, { identify: lt8, default: true, tag: "tag:yaml.org,2002:int", format: "OCT", test: /^([-+]?)0([0-7_]+)$/, resolve: (t26, e7, n5) => qt11(e7, n5, 8), stringify: (t26) => Un8(t26, 8, "0") }, { identify: lt8, default: true, tag: "tag:yaml.org,2002:int", test: /^([-+]?)([0-9][0-9_]*)$/, resolve: (t26, e7, n5) => qt11(e7, n5, 10), stringify: E7.stringifyNumber }, { identify: lt8, default: true, tag: "tag:yaml.org,2002:int", format: "HEX", test: /^([-+]?)0x([0-9a-fA-F_]+)$/, resolve: (t26, e7, n5) => qt11(e7, n5, 16), stringify: (t26) => Un8(t26, 16, "0x") }, { identify: (t26) => typeof t26 == "number", default: true, tag: "tag:yaml.org,2002:float", test: /^(?:[-+]?\.inf|(\.nan))$/i, resolve: (t26, e7) => e7 ? NaN : t26[0] === "-" ? Number.NEGATIVE_INFINITY : Number.POSITIVE_INFINITY, stringify: E7.stringifyNumber }, { identify: (t26) => typeof t26 == "number", default: true, tag: "tag:yaml.org,2002:float", format: "EXP", test: /^[-+]?([0-9][0-9_]*)?(\.[0-9_]*)?[eE][-+]?[0-9]+$/, resolve: (t26) => parseFloat(t26.replace(/_/g, "")), stringify: ({ value: t26 }) => Number(t26).toExponential() }, { identify: (t26) => typeof t26 == "number", default: true, tag: "tag:yaml.org,2002:float", test: /^[-+]?(?:[0-9][0-9_]*)?\.([0-9_]*)$/, resolve(t26, e7) { + let n5 = new E7.Scalar(parseFloat(t26.replace(/_/g, ""))); + if (e7) { + let r5 = e7.replace(/_/g, ""); + r5[r5.length - 1] === "0" && (n5.minFractionDigits = r5.length); + } + return n5; + }, stringify: E7.stringifyNumber }], $11.binary, $11.omap, $11.pairs, $11.set, $11.intTime, $11.floatTime, $11.timestamp), fa4 = { core: ca4, failsafe: Vn7, json: ws8, yaml11: la3 }, ua5 = { binary: $11.binary, bool: ms8, float: Ss8, floatExp: Es8, floatNaN: ys8, floatTime: $11.floatTime, int: ds7, intHex: gs7, intOct: hs8, intTime: $11.intTime, map: ft10, null: ps7, omap: $11.omap, pairs: $11.pairs, seq: Vt11, set: $11.set, timestamp: $11.timestamp }; + function pa5(t26, e7, n5) { + if (e7) { + let r5 = n5.filter((i5) => i5.tag === e7), s5 = r5.find((i5) => !i5.format) || r5[0]; + if (!s5) throw new Error(`Tag ${e7} not found`); + return s5; + } + return n5.find((r5) => (r5.identify && r5.identify(t26) || r5.class && t26 instanceof r5.class) && !r5.format); + } + function ma5(t26, e7, n5) { + if (t26 instanceof E7.Node) return t26; + let { defaultPrefix: r5, onTagObj: s5, prevObjects: i5, schema: o5, wrapScalars: a5 } = n5; + e7 && e7.startsWith("!!") && (e7 = r5 + e7.slice(2)); + let c7 = pa5(t26, e7, o5.tags); + if (!c7) { + if (typeof t26.toJSON == "function" && (t26 = t26.toJSON()), !t26 || typeof t26 != "object") return a5 ? new E7.Scalar(t26) : t26; + c7 = t26 instanceof Map ? ft10 : t26[Symbol.iterator] ? Vt11 : ft10; + } + s5 && (s5(c7), delete n5.onTagObj); + let l5 = { value: void 0, node: void 0 }; + if (t26 && typeof t26 == "object" && i5) { + let f7 = i5.get(t26); + if (f7) { + let m7 = new E7.Alias(f7); + return n5.aliasNodes.push(m7), m7; + } + l5.value = t26, i5.set(t26, l5); + } + return l5.node = c7.createNode ? c7.createNode(n5.schema, t26, n5) : a5 ? new E7.Scalar(t26) : t26, e7 && l5.node instanceof E7.Node && (l5.node.tag = e7), l5.node; + } + function ha2(t26, e7, n5, r5) { + let s5 = t26[r5.replace(/\W/g, "")]; + if (!s5) { + let i5 = Object.keys(t26).map((o5) => JSON.stringify(o5)).join(", "); + throw new Error(`Unknown schema "${r5}"; use one of ${i5}`); + } + if (Array.isArray(n5)) for (let i5 of n5) s5 = s5.concat(i5); + else typeof n5 == "function" && (s5 = n5(s5.slice())); + for (let i5 = 0; i5 < s5.length; ++i5) { + let o5 = s5[i5]; + if (typeof o5 == "string") { + let a5 = e7[o5]; + if (!a5) { + let c7 = Object.keys(e7).map((l5) => JSON.stringify(l5)).join(", "); + throw new Error(`Unknown custom tag "${o5}"; use one of ${c7}`); + } + s5[i5] = a5; + } + } + return s5; + } + var da5 = (t26, e7) => t26.key < e7.key ? -1 : t26.key > e7.key ? 1 : 0, ut10 = class t26 { + constructor({ customTags: e7, merge: n5, schema: r5, sortMapEntries: s5, tags: i5 }) { + this.merge = !!n5, this.name = r5, this.sortMapEntries = s5 === true ? da5 : s5 || null, !e7 && i5 && $11.warnOptionDeprecation("tags", "customTags"), this.tags = ha2(fa4, ua5, e7 || i5, r5); + } + createNode(e7, n5, r5, s5) { + let i5 = { defaultPrefix: t26.defaultPrefix, schema: this, wrapScalars: n5 }, o5 = s5 ? Object.assign(s5, i5) : i5; + return ma5(e7, r5, o5); + } + createPair(e7, n5, r5) { + r5 || (r5 = { wrapScalars: true }); + let s5 = this.createNode(e7, r5.wrapScalars, null, r5), i5 = this.createNode(n5, r5.wrapScalars, null, r5); + return new E7.Pair(s5, i5); } - return Stream.prototype.on.call(me, ev, handler2); }; - var CDATA = "[CDATA["; - var DOCTYPE = "DOCTYPE"; - var XML_NAMESPACE = "http://www.w3.org/XML/1998/namespace"; - var XMLNS_NAMESPACE = "http://www.w3.org/2000/xmlns/"; - var rootNS = { xml: XML_NAMESPACE, xmlns: XMLNS_NAMESPACE }; - var nameStart = /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/; - var nameBody = /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/; - var entityStart = /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/; - var entityBody = /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/; - function isWhitespace(c) { - return c === " " || c === "\n" || c === "\r" || c === " "; + Ut11._defineProperty(ut10, "defaultPrefix", Ut11.defaultTagPrefix); + Ut11._defineProperty(ut10, "defaultTags", Ut11.defaultTags); + bs8.Schema = ut10; + }); + Ls = ne((Gt9) => { + "use strict"; + var Y7 = ce(), S7 = De(), Ns7 = Kn(), ga2 = { anchorPrefix: "a", customTags: null, indent: 2, indentSeq: true, keepCstNodes: false, keepNodeTypes: true, keepBlobsInJSON: true, mapAsMap: false, maxAliasCount: 100, prettyErrors: false, simpleKeys: false, version: "1.2" }, ya3 = { get binary() { + return S7.binaryOptions; + }, set binary(t26) { + Object.assign(S7.binaryOptions, t26); + }, get bool() { + return S7.boolOptions; + }, set bool(t26) { + Object.assign(S7.boolOptions, t26); + }, get int() { + return S7.intOptions; + }, set int(t26) { + Object.assign(S7.intOptions, t26); + }, get null() { + return S7.nullOptions; + }, set null(t26) { + Object.assign(S7.nullOptions, t26); + }, get str() { + return S7.strOptions; + }, set str(t26) { + Object.assign(S7.strOptions, t26); + } }, As8 = { "1.0": { schema: "yaml-1.1", merge: true, tagPrefixes: [{ handle: "!", prefix: Y7.defaultTagPrefix }, { handle: "!!", prefix: "tag:private.yaml.org,2002:" }] }, 1.1: { schema: "yaml-1.1", merge: true, tagPrefixes: [{ handle: "!", prefix: "!" }, { handle: "!!", prefix: Y7.defaultTagPrefix }] }, 1.2: { schema: "core", merge: false, tagPrefixes: [{ handle: "!", prefix: "!" }, { handle: "!!", prefix: Y7.defaultTagPrefix }] } }; + function Os7(t26, e7) { + if ((t26.version || t26.options.version) === "1.0") { + let s5 = e7.match(/^tag:private\.yaml\.org,2002:([^:/]+)$/); + if (s5) return "!" + s5[1]; + let i5 = e7.match(/^tag:([a-zA-Z0-9-]+)\.yaml\.org,2002:(.*)/); + return i5 ? `!${i5[1]}/${i5[2]}` : `!${e7.replace(/^tag:/, "")}`; + } + let n5 = t26.tagPrefixes.find((s5) => e7.indexOf(s5.prefix) === 0); + if (!n5) { + let s5 = t26.getDefaults().tagPrefixes; + n5 = s5 && s5.find((i5) => e7.indexOf(i5.prefix) === 0); + } + if (!n5) return e7[0] === "!" ? e7 : `!<${e7}>`; + let r5 = e7.substr(n5.prefix.length).replace(/[!,[\]{}]/g, (s5) => ({ "!": "%21", ",": "%2C", "[": "%5B", "]": "%5D", "{": "%7B", "}": "%7D" })[s5]); + return n5.handle + r5; + } + function Ea5(t26, e7) { + if (e7 instanceof S7.Alias) return S7.Alias; + if (e7.tag) { + let s5 = t26.filter((i5) => i5.tag === e7.tag); + if (s5.length > 0) return s5.find((i5) => i5.format === e7.format) || s5[0]; + } + let n5, r5; + if (e7 instanceof S7.Scalar) { + r5 = e7.value; + let s5 = t26.filter((i5) => i5.identify && i5.identify(r5) || i5.class && r5 instanceof i5.class); + n5 = s5.find((i5) => i5.format === e7.format) || s5.find((i5) => !i5.format); + } else r5 = e7, n5 = t26.find((s5) => s5.nodeClass && r5 instanceof s5.nodeClass); + if (!n5) { + let s5 = r5 && r5.constructor ? r5.constructor.name : typeof r5; + throw new Error(`Tag not resolved for ${s5} value`); + } + return n5; + } + function Sa2(t26, e7, { anchors: n5, doc: r5 }) { + let s5 = [], i5 = r5.anchors.getName(t26); + return i5 && (n5[i5] = t26, s5.push(`&${i5}`)), t26.tag ? s5.push(Os7(r5, t26.tag)) : e7.default || s5.push(Os7(r5, e7.tag)), s5.join(" "); + } + function Kt9(t26, e7, n5, r5) { + let { anchors: s5, schema: i5 } = e7.doc, o5; + if (!(t26 instanceof S7.Node)) { + let l5 = { aliasNodes: [], onTagObj: (f7) => o5 = f7, prevObjects: /* @__PURE__ */ new Map() }; + t26 = i5.createNode(t26, true, null, l5); + for (let f7 of l5.aliasNodes) { + f7.source = f7.source.node; + let m7 = s5.getName(f7.source); + m7 || (m7 = s5.newName(), s5.map[m7] = f7.source); + } + } + if (t26 instanceof S7.Pair) return t26.toString(e7, n5, r5); + o5 || (o5 = Ea5(i5.tags, t26)); + let a5 = Sa2(t26, o5, e7); + a5.length > 0 && (e7.indentAtStart = (e7.indentAtStart || 0) + a5.length + 1); + let c7 = typeof o5.stringify == "function" ? o5.stringify(t26, e7, n5, r5) : t26 instanceof S7.Scalar ? S7.stringifyString(t26, e7, n5, r5) : t26.toString(e7, n5, r5); + return a5 ? t26 instanceof S7.Scalar || c7[0] === "{" || c7[0] === "[" ? `${a5} ${c7}` : `${a5} +${e7.indent}${c7}` : c7; + } + var jn8 = class t26 { + static validAnchorNode(e7) { + return e7 instanceof S7.Scalar || e7 instanceof S7.YAMLSeq || e7 instanceof S7.YAMLMap; + } + constructor(e7) { + Y7._defineProperty(this, "map", /* @__PURE__ */ Object.create(null)), this.prefix = e7; + } + createAlias(e7, n5) { + return this.setAnchor(e7, n5), new S7.Alias(e7); + } + createMergePair(...e7) { + let n5 = new S7.Merge(); + return n5.value.items = e7.map((r5) => { + if (r5 instanceof S7.Alias) { + if (r5.source instanceof S7.YAMLMap) return r5; + } else if (r5 instanceof S7.YAMLMap) return this.createAlias(r5); + throw new Error("Merge sources must be Map nodes or their Aliases"); + }), n5; + } + getName(e7) { + let { map: n5 } = this; + return Object.keys(n5).find((r5) => n5[r5] === e7); + } + getNames() { + return Object.keys(this.map); + } + getNode(e7) { + return this.map[e7]; + } + newName(e7) { + e7 || (e7 = this.prefix); + let n5 = Object.keys(this.map); + for (let r5 = 1; ; ++r5) { + let s5 = `${e7}${r5}`; + if (!n5.includes(s5)) return s5; + } + } + resolveNodes() { + let { map: e7, _cstAliases: n5 } = this; + Object.keys(e7).forEach((r5) => { + e7[r5] = e7[r5].resolved; + }), n5.forEach((r5) => { + r5.source = r5.source.resolved; + }), delete this._cstAliases; + } + setAnchor(e7, n5) { + if (e7 != null && !t26.validAnchorNode(e7)) throw new Error("Anchors may only be set for Scalar, Seq and Map nodes"); + if (n5 && /[\x00-\x19\s,[\]{}]/.test(n5)) throw new Error("Anchor names must not contain whitespace or control characters"); + let { map: r5 } = this, s5 = e7 && Object.keys(r5).find((i5) => r5[i5] === e7); + if (s5) if (n5) s5 !== n5 && (delete r5[s5], r5[n5] = e7); + else return s5; + else { + if (!n5) { + if (!e7) return null; + n5 = this.newName(); + } + r5[n5] = e7; + } + return n5; + } + }, jt8 = (t26, e7) => { + if (t26 && typeof t26 == "object") { + let { tag: n5 } = t26; + t26 instanceof S7.Collection ? (n5 && (e7[n5] = true), t26.items.forEach((r5) => jt8(r5, e7))) : t26 instanceof S7.Pair ? (jt8(t26.key, e7), jt8(t26.value, e7)) : t26 instanceof S7.Scalar && n5 && (e7[n5] = true); + } + return e7; + }, wa4 = (t26) => Object.keys(jt8(t26, {})); + function ba3(t26, e7) { + let n5 = { before: [], after: [] }, r5, s5 = false; + for (let i5 of e7) if (i5.valueRange) { + if (r5 !== void 0) { + let a5 = "Document contains trailing content not separated by a ... or --- line"; + t26.errors.push(new Y7.YAMLSyntaxError(i5, a5)); + break; + } + let o5 = S7.resolveNode(t26, i5); + s5 && (o5.spaceBefore = true, s5 = false), r5 = o5; + } else i5.comment !== null ? (r5 === void 0 ? n5.before : n5.after).push(i5.comment) : i5.type === Y7.Type.BLANK_LINE && (s5 = true, r5 === void 0 && n5.before.length > 0 && !t26.commentBefore && (t26.commentBefore = n5.before.join(` +`), n5.before = [])); + if (t26.contents = r5 || null, !r5) t26.comment = n5.before.concat(n5.after).join(` +`) || null; + else { + let i5 = n5.before.join(` +`); + if (i5) { + let o5 = r5 instanceof S7.Collection && r5.items[0] ? r5.items[0] : r5; + o5.commentBefore = o5.commentBefore ? `${i5} +${o5.commentBefore}` : i5; + } + t26.comment = n5.after.join(` +`) || null; + } } - function isQuote(c) { - return c === '"' || c === "'"; + function Na4({ tagPrefixes: t26 }, e7) { + let [n5, r5] = e7.parameters; + if (!n5 || !r5) { + let s5 = "Insufficient parameters given for %TAG directive"; + throw new Y7.YAMLSemanticError(e7, s5); + } + if (t26.some((s5) => s5.handle === n5)) { + let s5 = "The %TAG directive must only be given at most once per handle in the same document."; + throw new Y7.YAMLSemanticError(e7, s5); + } + return { handle: n5, prefix: r5 }; } - function isAttribEnd(c) { - return c === ">" || isWhitespace(c); + function Oa5(t26, e7) { + let [n5] = e7.parameters; + if (e7.name === "YAML:1.0" && (n5 = "1.0"), !n5) { + let r5 = "Insufficient parameters given for %YAML directive"; + throw new Y7.YAMLSemanticError(e7, r5); + } + if (!As8[n5]) { + let s5 = `Document will be parsed as YAML ${t26.version || t26.options.version} rather than YAML ${n5}`; + t26.warnings.push(new Y7.YAMLWarning(e7, s5)); + } + return n5; } - function isMatch(regex, c) { - return regex.test(c); + function Aa3(t26, e7, n5) { + let r5 = [], s5 = false; + for (let i5 of e7) { + let { comment: o5, name: a5 } = i5; + switch (a5) { + case "TAG": + try { + t26.tagPrefixes.push(Na4(t26, i5)); + } catch (c7) { + t26.errors.push(c7); + } + s5 = true; + break; + case "YAML": + case "YAML:1.0": + if (t26.version) { + let c7 = "The %YAML directive must only be given at most once per document."; + t26.errors.push(new Y7.YAMLSemanticError(i5, c7)); + } + try { + t26.version = Oa5(t26, i5); + } catch (c7) { + t26.errors.push(c7); + } + s5 = true; + break; + default: + if (a5) { + let c7 = `YAML only supports %TAG and %YAML directives, and not %${a5}`; + t26.warnings.push(new Y7.YAMLWarning(i5, c7)); + } + } + o5 && r5.push(o5); + } + if (n5 && !s5 && (t26.version || n5.version || t26.options.version) === "1.1") { + let i5 = ({ handle: o5, prefix: a5 }) => ({ handle: o5, prefix: a5 }); + t26.tagPrefixes = n5.tagPrefixes.map(i5), t26.version = n5.version; + } + t26.commentBefore = r5.join(` +`) || null; } - function notMatch(regex, c) { - return !isMatch(regex, c); + function Be10(t26) { + if (t26 instanceof S7.Collection) return true; + throw new Error("Expected a YAML collection as document contents"); } - var S = 0; - sax2.STATE = { - BEGIN: S++, - // leading byte order mark or whitespace - BEGIN_WHITESPACE: S++, - // leading whitespace - TEXT: S++, - // general stuff - TEXT_ENTITY: S++, - // & and such. - OPEN_WAKA: S++, - // < - SGML_DECL: S++, - // - SCRIPT: S++, - // "; + }, e7; + })(); + uo4 = (function() { + function e7(t26, r5) { + r5 === void 0 && (r5 = {}), this.options = r5, this.token = null, this.startLine = 1, this.startColumn = 0, this.tokens = [], this.tokenizer = new Xe6(this, t26, r5.mode), this._currentAttribute = void 0; + } + return e7.prototype.tokenize = function(t26) { + return this.tokens = [], this.tokenizer.tokenize(t26), this.tokens; + }, e7.prototype.tokenizePart = function(t26) { + return this.tokens = [], this.tokenizer.tokenizePart(t26), this.tokens; + }, e7.prototype.tokenizeEOF = function() { + return this.tokens = [], this.tokenizer.tokenizeEOF(), this.tokens[0]; + }, e7.prototype.reset = function() { + this.token = null, this.startLine = 1, this.startColumn = 0; + }, e7.prototype.current = function() { + var t26 = this.token; + if (t26 === null) throw new Error("token was unexpectedly null"); + if (arguments.length === 0) return t26; + for (var r5 = 0; r5 < arguments.length; r5++) if (t26.type === arguments[r5]) return t26; + throw new Error("token type was unexpectedly " + t26.type); + }, e7.prototype.push = function(t26) { + this.token = t26, this.tokens.push(t26); + }, e7.prototype.currentAttribute = function() { + return this._currentAttribute; + }, e7.prototype.addLocInfo = function() { + this.options.loc && (this.current().loc = { start: { line: this.startLine, column: this.startColumn }, end: { line: this.tokenizer.line, column: this.tokenizer.column } }), this.startLine = this.tokenizer.line, this.startColumn = this.tokenizer.column; + }, e7.prototype.beginDoctype = function() { + this.push({ type: "Doctype", name: "" }); + }, e7.prototype.appendToDoctypeName = function(t26) { + this.current("Doctype").name += t26; + }, e7.prototype.appendToDoctypePublicIdentifier = function(t26) { + var r5 = this.current("Doctype"); + r5.publicIdentifier === void 0 ? r5.publicIdentifier = t26 : r5.publicIdentifier += t26; + }, e7.prototype.appendToDoctypeSystemIdentifier = function(t26) { + var r5 = this.current("Doctype"); + r5.systemIdentifier === void 0 ? r5.systemIdentifier = t26 : r5.systemIdentifier += t26; + }, e7.prototype.endDoctype = function() { + this.addLocInfo(); + }, e7.prototype.beginData = function() { + this.push({ type: "Chars", chars: "" }); + }, e7.prototype.appendToData = function(t26) { + this.current("Chars").chars += t26; + }, e7.prototype.finishData = function() { + this.addLocInfo(); + }, e7.prototype.beginComment = function() { + this.push({ type: "Comment", chars: "" }); + }, e7.prototype.appendToCommentData = function(t26) { + this.current("Comment").chars += t26; + }, e7.prototype.finishComment = function() { + this.addLocInfo(); + }, e7.prototype.tagOpen = function() { + }, e7.prototype.beginStartTag = function() { + this.push({ type: "StartTag", tagName: "", attributes: [], selfClosing: false }); + }, e7.prototype.beginEndTag = function() { + this.push({ type: "EndTag", tagName: "" }); + }, e7.prototype.finishTag = function() { + this.addLocInfo(); + }, e7.prototype.markTagAsSelfClosing = function() { + this.current("StartTag").selfClosing = true; + }, e7.prototype.appendToTagName = function(t26) { + this.current("StartTag", "EndTag").tagName += t26; + }, e7.prototype.beginAttribute = function() { + this._currentAttribute = ["", "", false]; + }, e7.prototype.appendToAttributeName = function(t26) { + this.currentAttribute()[0] += t26; + }, e7.prototype.beginAttributeValue = function(t26) { + this.currentAttribute()[2] = t26; + }, e7.prototype.appendToAttributeValue = function(t26) { + this.currentAttribute()[1] += t26; + }, e7.prototype.finishAttributeValue = function() { + this.current("StartTag").attributes.push(this._currentAttribute); + }, e7.prototype.reportSyntaxError = function(t26) { + this.current().syntaxError = t26; + }, e7; + })(); + pe4 = { Append: 1, TrustingAppend: 2, Comment: 3, Modifier: 4, StrictModifier: 5, Block: 6, StrictBlock: 7, Component: 8, OpenElement: 10, OpenElementWithSplat: 11, FlushElement: 12, CloseElement: 13, StaticAttr: 14, DynamicAttr: 15, ComponentAttr: 16, AttrSplat: 17, Yield: 18, DynamicArg: 20, StaticArg: 21, TrustingDynamicAttr: 22, TrustingComponentAttr: 23, StaticComponentAttr: 24, Debugger: 26, Undefined: 27, Call: 28, Concat: 29, GetSymbol: 30, GetLexicalSymbol: 32, GetStrictKeyword: 31, GetFreeAsComponentOrHelperHead: 35, GetFreeAsHelperHead: 37, GetFreeAsModifierHead: 38, GetFreeAsComponentHead: 39, InElement: 40, If: 41, Each: 42, Let: 44, WithDynamicVars: 45, InvokeComponent: 46, HasBlock: 48, HasBlockParams: 49, Curry: 50, Not: 51, IfInline: 52, GetDynamicVar: 53, Log: 54 }; + po4 = Xr3(pe4.FlushElement); + fo4 = Xr3(pe4.GetSymbol); + _s5 = false; + Ls6 = /["\x26\xa0]/u; + vo3 = new RegExp(Ls6.source, "gu"); + Ds6 = /[&<>\xa0]/u; + wo3 = new RegExp(Ds6.source, "gu"); + de5 = /* @__PURE__ */ new Set(["area", "base", "br", "col", "command", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]); + st4 = Object.freeze({ line: 1, column: 0 }); + Bs6 = Object.freeze({ source: "(synthetic)", start: st4, end: st4 }); + sr6 = Object.freeze({ source: "(nonexistent)", start: st4, end: st4 }); + nt6 = Object.freeze({ source: "(broken)", start: st4, end: st4 }); + ir6 = class { + constructor(t26) { + this._whens = t26; + } + first(t26) { + for (let r5 of this._whens) { + let s5 = r5.match(t26); + if (Yt4(s5)) return s5[0]; + } + return null; + } + }; + ge5 = class { + get(t26, r5) { + let s5 = this._map.get(t26); + return s5 || (s5 = r5(), this._map.set(t26, s5), s5); + } + add(t26, r5) { + this._map.set(t26, r5); + } + match(t26) { + let r5 = (function(a5) { + switch (a5) { + case "Broken": + case "InternalsSynthetic": + case "NonExistent": + return "IS_INVISIBLE"; + default: + return a5; + } + })(t26), s5 = [], n5 = this._map.get(r5), i5 = this._map.get("MATCH_ANY"); + return n5 && s5.push(n5), i5 && s5.push(i5), s5; + } + constructor() { + this._map = /* @__PURE__ */ new Map(); + } + }; + ar6 = class { + validate() { + return (t26, r5) => this.matchFor(t26.kind, r5.kind)(t26, r5); + } + matchFor(t26, r5) { + let s5 = this._whens.match(t26); + return Yt4(s5), new ir6(s5).first(r5); + } + when(t26, r5, s5) { + return this._whens.get(t26, (() => new ge5())).add(r5, s5), this; + } + constructor() { + this._whens = new ge5(); + } + }; + or6 = class e { + static synthetic(t26) { + let r5 = A4.synthetic(t26); + return new e({ loc: r5, chars: t26 }); + } + static load(t26, r5) { + return new e({ loc: A4.load(t26, r5[1]), chars: r5[0] }); + } + constructor(t26) { + this.loc = t26.loc, this.chars = t26.chars; + } + getString() { + return this.chars; + } + serialize() { + return [this.chars, this.loc.serialize()]; + } + }; + A4 = class e2 { + static get NON_EXISTENT() { + return new J6("NonExistent", sr6).wrap(); + } + static load(t26, r5) { + return typeof r5 == "number" ? e2.forCharPositions(t26, r5, r5) : typeof r5 == "string" ? e2.synthetic(r5) : Array.isArray(r5) ? e2.forCharPositions(t26, r5[0], r5[1]) : r5 === "NonExistent" ? e2.NON_EXISTENT : r5 === "Broken" ? e2.broken(nt6) : void Yr5(r5); + } + static forHbsLoc(t26, r5) { + let s5 = new at6(t26, r5.start), n5 = new at6(t26, r5.end); + return new Mt6(t26, { start: s5, end: n5 }, r5).wrap(); + } + static forCharPositions(t26, r5, s5) { + let n5 = new ft5(t26, r5), i5 = new ft5(t26, s5); + return new Ut5(t26, { start: n5, end: i5 }).wrap(); + } + static synthetic(t26) { + return new J6("InternalsSynthetic", sr6, t26).wrap(); + } + static broken(t26 = nt6) { + return new J6("Broken", t26).wrap(); + } + constructor(t26) { + var r5; + this.data = t26, this.isInvisible = (r5 = t26.kind) !== "CharPosition" && r5 !== "HbsPosition"; + } + getStart() { + return this.data.getStart().wrap(); + } + getEnd() { + return this.data.getEnd().wrap(); + } + get loc() { + let t26 = this.data.toHbsSpan(); + return t26 === null ? nt6 : t26.toHbsLoc(); + } + get module() { + return this.data.getModule(); + } + get startPosition() { + return this.loc.start; + } + get endPosition() { + return this.loc.end; + } + toJSON() { + return this.loc; + } + withStart(t26) { + return K6(t26.data, this.data.getEnd()); + } + withEnd(t26) { + return K6(this.data.getStart(), t26.data); + } + asString() { + return this.data.asString(); + } + toSlice(t26) { + let r5 = this.data.asString(); + return JSON.stringify(r5), JSON.stringify(t26), new or6({ loc: this, chars: t26 || r5 }); + } + get start() { + return this.loc.start; + } + set start(t26) { + this.data.locDidUpdate({ start: t26 }); + } + get end() { + return this.loc.end; + } + set end(t26) { + this.data.locDidUpdate({ end: t26 }); + } + get source() { + return this.module; + } + collapse(t26) { + switch (t26) { + case "start": + return this.getStart().collapsed(); + case "end": + return this.getEnd().collapsed(); + } + } + extend(t26) { + return K6(this.data.getStart(), t26.data.getEnd()); + } + serialize() { + return this.data.serialize(); + } + slice({ skipStart: t26 = 0, skipEnd: r5 = 0 }) { + return K6(this.getStart().move(t26).data, this.getEnd().move(-r5).data); + } + sliceStartChars({ skipStart: t26 = 0, chars: r5 }) { + return K6(this.getStart().move(t26).data, this.getStart().move(t26 + r5).data); + } + sliceEndChars({ skipEnd: t26 = 0, chars: r5 }) { + return K6(this.getEnd().move(t26 - r5).data, this.getStart().move(-t26).data); + } + }; + Ut5 = class { + #t; + constructor(t26, r5) { + this.source = t26, this.charPositions = r5, this.kind = "CharPosition", this.#t = null; + } + wrap() { + return new A4(this); + } + asString() { + return this.source.slice(this.charPositions.start.charPos, this.charPositions.end.charPos); + } + getModule() { + return this.source.module; + } + getStart() { + return this.charPositions.start; + } + getEnd() { + return this.charPositions.end; + } + locDidUpdate() { + } + toHbsSpan() { + let t26 = this.#t; + if (t26 === null) { + let r5 = this.charPositions.start.toHbsPos(), s5 = this.charPositions.end.toHbsPos(); + t26 = this.#t = r5 === null || s5 === null ? it4 : new Mt6(this.source, { start: r5, end: s5 }); + } + return t26 === it4 ? null : t26; + } + serialize() { + let { start: { charPos: t26 }, end: { charPos: r5 } } = this.charPositions; + return t26 === r5 ? t26 : [t26, r5]; + } + toCharPosSpan() { + return this; + } + }; + Mt6 = class { + #t; + #e; + constructor(t26, r5, s5 = null) { + this.source = t26, this.hbsPositions = r5, this.kind = "HbsPosition", this.#t = null, this.#e = s5; + } + serialize() { + let t26 = this.toCharPosSpan(); + return t26 === null ? "Broken" : t26.wrap().serialize(); + } + wrap() { + return new A4(this); + } + updateProvided(t26, r5) { + this.#e && (this.#e[r5] = t26), this.#t = null, this.#e = { start: t26, end: t26 }; + } + locDidUpdate({ start: t26, end: r5 }) { + t26 !== void 0 && (this.updateProvided(t26, "start"), this.hbsPositions.start = new at6(this.source, t26, null)), r5 !== void 0 && (this.updateProvided(r5, "end"), this.hbsPositions.end = new at6(this.source, r5, null)); + } + asString() { + let t26 = this.toCharPosSpan(); + return t26 === null ? "" : t26.asString(); + } + getModule() { + return this.source.module; + } + getStart() { + return this.hbsPositions.start; + } + getEnd() { + return this.hbsPositions.end; + } + toHbsLoc() { + return { start: this.hbsPositions.start.hbsPos, end: this.hbsPositions.end.hbsPos }; + } + toHbsSpan() { + return this; + } + toCharPosSpan() { + let t26 = this.#t; + if (t26 === null) { + let r5 = this.hbsPositions.start.toCharPos(), s5 = this.hbsPositions.end.toCharPos(); + if (!r5 || !s5) return t26 = this.#t = it4, null; + t26 = this.#t = new Ut5(this.source, { start: r5, end: s5 }); + } + return t26 === it4 ? null : t26; + } + }; + J6 = class { + constructor(t26, r5, s5 = null) { + this.kind = t26, this.loc = r5, this.string = s5; + } + serialize() { + switch (this.kind) { + case "Broken": + case "NonExistent": + return this.kind; + case "InternalsSynthetic": + return this.string || ""; + } + } + wrap() { + return new A4(this); + } + asString() { + return this.string || ""; + } + locDidUpdate({ start: t26, end: r5 }) { + t26 !== void 0 && (this.loc.start = t26), r5 !== void 0 && (this.loc.end = r5); + } + getModule() { + return "an unknown module"; + } + getStart() { + return new zt5(this.kind, this.loc.start); + } + getEnd() { + return new zt5(this.kind, this.loc.end); + } + toCharPosSpan() { + return this; + } + toHbsSpan() { + return null; + } + toHbsLoc() { + return nt6; + } + }; + K6 = ln4(((e7) => e7.when("HbsPosition", "HbsPosition", ((t26, r5) => new Mt6(t26.source, { start: t26, end: r5 }).wrap())).when("CharPosition", "CharPosition", ((t26, r5) => new Ut5(t26.source, { start: t26, end: r5 }).wrap())).when("CharPosition", "HbsPosition", ((t26, r5) => { + let s5 = r5.toCharPos(); + return s5 === null ? new J6("Broken", nt6).wrap() : K6(t26, s5); + })).when("HbsPosition", "CharPosition", ((t26, r5) => { + let s5 = t26.toCharPos(); + return s5 === null ? new J6("Broken", nt6).wrap() : K6(s5, r5); + })).when("IS_INVISIBLE", "MATCH_ANY", ((t26) => new J6(t26.kind, nt6).wrap())).when("MATCH_ANY", "IS_INVISIBLE", ((t26, r5) => new J6(r5.kind, nt6).wrap())))); + it4 = "BROKEN"; + Pt6 = class e3 { + static forHbsPos(t26, r5) { + return new at6(t26, r5, null).wrap(); + } + static broken(t26 = st4) { + return new zt5("Broken", t26).wrap(); + } + constructor(t26) { + this.data = t26; + } + get offset() { + let t26 = this.data.toCharPos(); + return t26 === null ? null : t26.offset; + } + eql(t26) { + return Rs6(this.data, t26.data); + } + until(t26) { + return K6(this.data, t26.data); + } + move(t26) { + let r5 = this.data.toCharPos(); + if (r5 === null) return e3.broken(); + { + let s5 = r5.offset + t26; + return r5.source.validate(s5) ? new ft5(r5.source, s5).wrap() : e3.broken(); + } + } + collapsed() { + return K6(this.data, this.data); + } + toJSON() { + return this.data.toJSON(); + } + }; + ft5 = class { + constructor(t26, r5) { + this.source = t26, this.charPos = r5, this.kind = "CharPosition", this._locPos = null; + } + toCharPos() { + return this; + } + toJSON() { + let t26 = this.toHbsPos(); + return t26 === null ? st4 : t26.toJSON(); + } + wrap() { + return new Pt6(this); + } + get offset() { + return this.charPos; + } + toHbsPos() { + let t26 = this._locPos; + if (t26 === null) { + let r5 = this.source.hbsPosFor(this.charPos); + this._locPos = t26 = r5 === null ? it4 : new at6(this.source, r5, this.charPos); + } + return t26 === it4 ? null : t26; + } + }; + at6 = class { + constructor(t26, r5, s5 = null) { + this.source = t26, this.hbsPos = r5, this.kind = "HbsPosition", this._charPos = s5 === null ? null : new ft5(t26, s5); + } + toCharPos() { + let t26 = this._charPos; + if (t26 === null) { + let r5 = this.source.charPosFor(this.hbsPos); + this._charPos = t26 = r5 === null ? it4 : new ft5(this.source, r5); + } + return t26 === it4 ? null : t26; + } + toJSON() { + return this.hbsPos; + } + wrap() { + return new Pt6(this); + } + toHbsPos() { + return this; + } + }; + zt5 = class { + constructor(t26, r5) { + this.kind = t26, this.pos = r5; + } + toCharPos() { + return null; + } + toJSON() { + return this.pos; + } + wrap() { + return new Pt6(this); + } + get offset() { + return null; + } + }; + Rs6 = ln4(((e7) => e7.when("HbsPosition", "HbsPosition", (({ hbsPos: t26 }, { hbsPos: r5 }) => t26.column === r5.column && t26.line === r5.line)).when("CharPosition", "CharPosition", (({ charPos: t26 }, { charPos: r5 }) => t26 === r5)).when("CharPosition", "HbsPosition", (({ offset: t26 }, r5) => t26 === r5.toCharPos()?.offset)).when("HbsPosition", "CharPosition", ((t26, { offset: r5 }) => t26.toCharPos()?.offset === r5)).when("MATCH_ANY", "MATCH_ANY", (() => false)))); + pt6 = class e4 { + static from(t26, r5 = {}) { + return new e4(t26, r5.meta?.moduleName); + } + constructor(t26, r5 = "an unknown module") { + this.source = t26, this.module = r5; + } + validate(t26) { + return t26 >= 0 && t26 <= this.source.length; + } + slice(t26, r5) { + return this.source.slice(t26, r5); + } + offsetFor(t26, r5) { + return Pt6.forHbsPos(this, { line: t26, column: r5 }); + } + spanFor({ start: t26, end: r5 }) { + return A4.forHbsLoc(this, { start: { line: t26.line, column: t26.column }, end: { line: r5.line, column: r5.column } }); + } + hbsPosFor(t26) { + let r5 = 0, s5 = 0; + if (t26 > this.source.length) return null; + for (; ; ) { + let n5 = this.source.indexOf(` +`, s5); + if (t26 <= n5 || n5 === -1) return { line: r5 + 1, column: t26 - s5 }; + r5 += 1, s5 = n5 + 1; + } + } + charPosFor(t26) { + let { line: r5, column: s5 } = t26, n5 = this.source.length, i5 = 0, a5 = 0; + for (; a5 < n5; ) { + let o5 = this.source.indexOf(` +`, a5); + if (o5 === -1 && (o5 = this.source.length), i5 === r5 - 1) { + if (a5 + s5 > o5) return o5; + if (_s5) { + let c7 = this.hbsPosFor(a5 + s5); + c7.line, c7.column; + } + return a5 + s5; + } + if (o5 === -1) return 0; + i5 += 1, a5 = o5 + 1; + } + return n5; + } + }; + be5 = { Template: ["body"], Block: ["body"], MustacheStatement: ["path", "params", "hash"], BlockStatement: ["path", "params", "hash", "program", "inverse"], ElementModifierStatement: ["path", "params", "hash"], CommentStatement: [], MustacheCommentStatement: [], ElementNode: ["attributes", "modifiers", "children", "comments"], AttrNode: ["value"], TextNode: [], ConcatStatement: ["parts"], SubExpression: ["path", "params", "hash"], PathExpression: [], StringLiteral: [], BooleanLiteral: [], NumberLiteral: [], NullLiteral: [], UndefinedLiteral: [], Hash: ["pairs"], HashPair: ["value"] }; + mr4 = (function() { + function e7(t26, r5, s5, n5) { + let i5 = Error.call(this, t26); + this.key = n5, this.message = t26, this.node = r5, this.parent = s5, i5.stack && (this.stack = i5.stack); + } + return e7.prototype = Object.create(Error.prototype), e7.prototype.constructor = e7, e7; + })(); + Ct6 = class { + constructor(t26, r5 = null, s5 = null) { + this.node = t26, this.parent = r5, this.parentKey = s5; + } + get parentNode() { + return this.parent ? this.parent.node : null; + } + parents() { + return { [Symbol.iterator]: () => new lr5(this) }; + } + }; + lr5 = class { + constructor(t26) { + this.path = t26; + } + next() { + return this.path.parent ? (this.path = this.path.parent, { done: false, value: this.path }) : { done: true, value: null }; + } + }; + Us6 = { mustache: function(e7, t26 = [], r5 = Ht6([]), s5 = false, n5, i5) { + return d2.mustache({ path: rt6(e7), params: t26, hash: r5, trusting: s5, strip: i5, loc: v5(n5 || null) }); + }, block: function(e7, t26, r5, s5, n5 = null, i5, a5, o5, c7) { + let h5, f7 = null; + return h5 = s5.type === "Template" ? d2.blockItself({ params: fn5(s5.blockParams), body: s5.body, loc: s5.loc }) : s5, n5?.type === "Template" ? (n5.blockParams.length, f7 = d2.blockItself({ params: [], body: n5.body, loc: n5.loc })) : f7 = n5, d2.block({ path: rt6(e7), params: t26 || [], hash: r5 || Ht6([]), defaultBlock: h5, elseBlock: f7, loc: v5(i5 || null), openStrip: a5, inverseStrip: o5, closeStrip: c7 }); + }, comment: function(e7, t26) { + return d2.comment({ value: e7, loc: v5(t26 || null) }); + }, mustacheComment: function(e7, t26) { + return d2.mustacheComment({ value: e7, loc: v5(t26 || null) }); + }, element: function(e7, t26 = {}) { + let r5, s5, { attrs: n5, blockParams: i5, modifiers: a5, comments: o5, children: c7, openTag: h5, closeTag: f7, loc: p4 } = t26; + typeof e7 == "string" ? e7.endsWith("/") ? (r5 = rt6(e7.slice(0, -1)), s5 = true) : r5 = rt6(e7) : "type" in e7 ? (e7.type, e7.type, r5 = e7) : "path" in e7 ? (e7.path.type, e7.path.type, r5 = e7.path, s5 = e7.selfClosing) : (r5 = rt6(e7.name), s5 = e7.selfClosing); + let g5 = i5?.map(((T7) => typeof T7 == "string" ? rn3(T7) : T7)), E7 = null; + return f7 ? E7 = v5(f7) : f7 === void 0 && (E7 = s5 || Os5(r5.original) ? null : v5(null)), d2.element({ path: r5, selfClosing: s5 || false, attributes: n5 || [], params: g5 || [], modifiers: a5 || [], comments: o5 || [], children: c7 || [], openTag: v5(h5 || null), closeTag: E7, loc: v5(p4 || null) }); + }, elementModifier: function(e7, t26, r5, s5) { + return d2.elementModifier({ path: rt6(e7), params: t26 || [], hash: r5 || Ht6([]), loc: v5(s5 || null) }); + }, attr: function(e7, t26, r5) { + return d2.attr({ name: e7, value: t26, loc: v5(r5 || null) }); + }, text: function(e7 = "", t26) { + return d2.text({ chars: e7, loc: v5(t26 || null) }); + }, sexpr: function(e7, t26 = [], r5 = Ht6([]), s5) { + return d2.sexpr({ path: rt6(e7), params: t26, hash: r5, loc: v5(s5 || null) }); + }, concat: function(e7, t26) { + if (!Yt4(e7)) throw new Error("b.concat requires at least one part"); + return d2.concat({ parts: e7, loc: v5(t26 || null) }); + }, hash: Ht6, pair: function(e7, t26, r5) { + return d2.pair({ key: e7, value: t26, loc: v5(r5 || null) }); + }, literal: me6, program: function(e7, t26, r5) { + return t26 && t26.length ? nn4(e7, t26, false, r5) : sn4(e7, [], r5); + }, blockItself: nn4, template: sn4, loc: v5, pos: function(e7, t26) { + return d2.pos({ line: e7, column: t26 }); + }, path: rt6, fullPath: function(e7, t26 = [], r5) { + return d2.path({ head: e7, tail: t26, loc: v5(r5 || null) }); + }, head: function(e7, t26) { + return d2.head({ original: e7, loc: v5(t26 || null) }); + }, at: function(e7, t26) { + return d2.atName({ name: e7, loc: v5(t26 || null) }); + }, var: rn3, this: function(e7) { + return d2.this({ loc: v5(e7 || null) }); + }, string: er6("StringLiteral"), boolean: er6("BooleanLiteral"), number: er6("NumberLiteral"), undefined: () => me6("UndefinedLiteral", void 0), null: () => me6("NullLiteral", null) }; + fe4 = { close: false, open: false }; + d2 = new class { + pos({ line: e7, column: t26 }) { + return { line: e7, column: t26 }; + } + blockItself({ body: e7, params: t26, chained: r5 = false, loc: s5 }) { + return { type: "Block", body: e7, params: t26, get blockParams() { + return this.params.map(((n5) => n5.name)); + }, set blockParams(n5) { + this.params = n5.map(((i5) => d2.var({ name: i5, loc: A4.synthetic(i5) }))); + }, chained: r5, loc: s5 }; + } + template({ body: e7, blockParams: t26, loc: r5 }) { + return { type: "Template", body: e7, blockParams: t26, loc: r5 }; + } + mustache({ path: e7, params: t26, hash: r5, trusting: s5, loc: n5, strip: i5 = fe4 }) { + return (function({ path: a5, params: o5, hash: c7, trusting: h5, strip: f7, loc: p4 }) { + let g5 = { type: "MustacheStatement", path: a5, params: o5, hash: c7, trusting: h5, strip: f7, loc: p4 }; + return Object.defineProperty(g5, "escaped", { enumerable: false, get() { + return !this.trusting; + }, set(E7) { + this.trusting = !E7; + } }), g5; + })({ path: e7, params: t26, hash: r5, trusting: s5, strip: i5, loc: n5 }); + } + block({ path: e7, params: t26, hash: r5, defaultBlock: s5, elseBlock: n5 = null, loc: i5, openStrip: a5 = fe4, inverseStrip: o5 = fe4, closeStrip: c7 = fe4 }) { + return { type: "BlockStatement", path: e7, params: t26, hash: r5, program: s5, inverse: n5, loc: i5, openStrip: a5, inverseStrip: o5, closeStrip: c7 }; + } + comment({ value: e7, loc: t26 }) { + return { type: "CommentStatement", value: e7, loc: t26 }; + } + mustacheComment({ value: e7, loc: t26 }) { + return { type: "MustacheCommentStatement", value: e7, loc: t26 }; + } + concat({ parts: e7, loc: t26 }) { + return { type: "ConcatStatement", parts: e7, loc: t26 }; + } + element({ path: e7, selfClosing: t26, attributes: r5, modifiers: s5, params: n5, comments: i5, children: a5, openTag: o5, closeTag: c7, loc: h5 }) { + let f7 = t26; + return { type: "ElementNode", path: e7, attributes: r5, modifiers: s5, params: n5, comments: i5, children: a5, openTag: o5, closeTag: c7, loc: h5, get tag() { + return this.path.original; + }, set tag(p4) { + this.path.original = p4; + }, get blockParams() { + return this.params.map(((p4) => p4.name)); + }, set blockParams(p4) { + this.params = p4.map(((g5) => d2.var({ name: g5, loc: A4.synthetic(g5) }))); + }, get selfClosing() { + return f7; + }, set selfClosing(p4) { + f7 = p4, this.closeTag = p4 ? null : A4.synthetic(``); + } }; + } + elementModifier({ path: e7, params: t26, hash: r5, loc: s5 }) { + return { type: "ElementModifierStatement", path: e7, params: t26, hash: r5, loc: s5 }; + } + attr({ name: e7, value: t26, loc: r5 }) { + return { type: "AttrNode", name: e7, value: t26, loc: r5 }; + } + text({ chars: e7, loc: t26 }) { + return { type: "TextNode", chars: e7, loc: t26 }; + } + sexpr({ path: e7, params: t26, hash: r5, loc: s5 }) { + return { type: "SubExpression", path: e7, params: t26, hash: r5, loc: s5 }; + } + path({ head: e7, tail: t26, loc: r5 }) { + return (function({ head: s5, tail: n5, loc: i5 }) { + let a5 = { type: "PathExpression", head: s5, tail: n5, get original() { + return [this.head.original, ...this.tail].join("."); + }, set original(o5) { + let [c7, ...h5] = o5.split("."); + this.head = Us6.head(c7, this.head.loc), this.tail = h5; + }, loc: i5 }; + return Object.defineProperty(a5, "parts", { enumerable: false, get() { + let o5 = this.original.split("."); + return o5[0] === "this" ? o5.shift() : o5[0].startsWith("@") && (o5[0] = o5[0].slice(1)), Object.freeze(o5); + }, set(o5) { + let c7 = [...o5]; + c7[0] === "this" || c7[0]?.startsWith("@") || (this.head.type === "ThisHead" ? c7.unshift("this") : this.head.type === "AtHead" && (c7[0] = `@${c7[0]}`)), this.original = c7.join("."); + } }), Object.defineProperty(a5, "this", { enumerable: false, get() { + return this.head.type === "ThisHead"; + } }), Object.defineProperty(a5, "data", { enumerable: false, get() { + return this.head.type === "AtHead"; + } }), a5; + })({ head: e7, tail: t26, loc: r5 }); + } + head({ original: e7, loc: t26 }) { + return e7 === "this" ? this.this({ loc: t26 }) : e7[0] === "@" ? this.atName({ name: e7, loc: t26 }) : this.var({ name: e7, loc: t26 }); + } + this({ loc: e7 }) { + return { type: "ThisHead", get original() { + return "this"; + }, loc: e7 }; + } + atName({ name: e7, loc: t26 }) { + let r5 = "", s5 = { type: "AtHead", get name() { + return r5; + }, set name(n5) { + n5[0], n5.indexOf("."), r5 = n5; + }, get original() { + return this.name; + }, set original(n5) { + this.name = n5; + }, loc: t26 }; + return s5.name = e7, s5; + } + var({ name: e7, loc: t26 }) { + let r5 = "", s5 = { type: "VarHead", get name() { + return r5; + }, set name(n5) { + n5[0], n5.indexOf("."), r5 = n5; + }, get original() { + return this.name; + }, set original(n5) { + this.name = n5; + }, loc: t26 }; + return s5.name = e7, s5; + } + hash({ pairs: e7, loc: t26 }) { + return { type: "Hash", pairs: e7, loc: t26 }; + } + pair({ key: e7, value: t26, loc: r5 }) { + return { type: "HashPair", key: e7, value: t26, loc: r5 }; + } + literal({ type: e7, value: t26, loc: r5 }) { + return (function({ type: s5, value: n5, loc: i5 }) { + let a5 = { type: s5, value: n5, loc: i5 }; + return Object.defineProperty(a5, "original", { enumerable: false, get() { + return this.value; + }, set(o5) { + this.value = o5; + } }), a5; + })({ type: e7, value: t26, loc: r5 }); + } + }(); + cr5 = class { + constructor(t26, r5 = new $e5($r5), s5 = "precompile") { + this.elementStack = [], this.currentAttribute = null, this.currentNode = null, this.source = t26, this.lines = t26.source.split(/\r\n?|\n/u), this.tokenizer = new Xe6(this, r5, s5); + } + offset() { + let { line: t26, column: r5 } = this.tokenizer; + return this.source.offsetFor(t26, r5); + } + pos({ line: t26, column: r5 }) { + return this.source.offsetFor(t26, r5); + } + finish(t26) { + return ze6({}, t26, { loc: t26.start.until(this.offset()) }); + } + get currentAttr() { + return this.currentAttribute; + } + get currentTag() { + let t26 = this.currentNode; + return t26 && (t26.type === "StartTag" || t26.type), t26; + } + get currentStartTag() { + let t26 = this.currentNode; + return t26 && t26.type, t26; + } + get currentEndTag() { + let t26 = this.currentNode; + return t26 && t26.type, t26; + } + get currentComment() { + let t26 = this.currentNode; + return t26 && t26.type, t26; + } + get currentData() { + let t26 = this.currentNode; + return t26 && t26.type, t26; + } + acceptNode(t26) { + return this[t26.type](t26); + } + currentElement() { + return fr6(this.elementStack); + } + sourceForNode(t26, r5) { + let s5, n5, i5, a5 = t26.loc.start.line - 1, o5 = a5 - 1, c7 = t26.loc.start.column, h5 = []; + for (r5 ? (n5 = r5.loc.end.line - 1, i5 = r5.loc.end.column) : (n5 = t26.loc.end.line - 1, i5 = t26.loc.end.column); o5 < n5; ) o5++, s5 = this.lines[o5], o5 === a5 ? a5 === n5 ? h5.push(s5.slice(c7, i5)) : h5.push(s5.slice(c7)) : o5 === n5 ? h5.push(s5.slice(0, i5)) : h5.push(s5); + return h5.join(` +`); + } + }; + ur6 = class extends cr5 { + parse(t26, r5) { + t26.loc; + let s5 = d2.template({ body: [], blockParams: r5, loc: this.source.spanFor(t26.loc) }), n5 = this.parseProgram(s5, t26); + return this.pendingError?.eof(n5.loc.getEnd()), n5; + } + Program(t26, r5) { + t26.loc; + let s5 = d2.blockItself({ body: [], params: r5, chained: t26.chained, loc: this.source.spanFor(t26.loc) }); + return this.parseProgram(s5, t26); + } + parseProgram(t26, r5) { + if (r5.body.length === 0) return t26; + let s5; + try { + this.elementStack.push(t26); + for (let n5 of r5.body) this.acceptNode(n5); + } finally { + s5 = this.elementStack.pop(); + } + if (t26 !== s5) { + if (s5?.type === "ElementNode") throw k5(`Unclosed element \`${s5.tag}\``, s5.loc); + t26.type; + } + return t26; + } + BlockStatement(t26) { + if (this.tokenizer.state === "comment") return t26.loc, void this.appendToCommentData(this.sourceForNode(t26)); + if (this.tokenizer.state !== "data" && this.tokenizer.state !== "beforeData") throw k5("A block may only be used inside an HTML element or another block.", this.source.spanFor(t26.loc)); + let { path: r5, params: s5, hash: n5 } = rr6(this, t26), i5 = this.source.spanFor(t26.loc), a5, o5 = []; + if (t26.program.blockParams?.length) { + let p4 = n5.loc.collapse("end"); + p4 = t26.program.loc ? p4.withEnd(this.source.spanFor(t26.program.loc).getStart()) : t26.program.body[0] ? p4.withEnd(this.source.spanFor(t26.program.body[0].loc).getStart()) : p4.withEnd(i5.getEnd()), a5 = an4(this.source, t26, p4); + let g5 = p4.asString(), E7 = g5.indexOf("|") + 1, T7 = g5.indexOf("|", E7); + for (let D7 of t26.program.blockParams) { + let B7, O7; + B7 = E7 >= T7 ? -1 : g5.indexOf(D7, E7), B7 === -1 || B7 + D7.length > T7 ? (E7 = T7, O7 = this.source.spanFor(sr6)) : (E7 = B7, O7 = p4.sliceStartChars({ skipStart: E7, chars: D7.length }), E7 += D7.length), o5.push(d2.var({ name: D7, loc: O7 })); + } + } else a5 = an4(this.source, t26, i5); + let c7 = this.Program(a5.program, o5), h5 = a5.inverse ? this.Program(a5.inverse, []) : null, f7 = d2.block({ path: r5, params: s5, hash: n5, defaultBlock: c7, elseBlock: h5, loc: this.source.spanFor(t26.loc), openStrip: t26.openStrip, inverseStrip: t26.inverseStrip, closeStrip: t26.closeStrip }); + At6(this.currentElement(), f7); + } + MustacheStatement(t26) { + this.pendingError?.mustache(this.source.spanFor(t26.loc)); + let { tokenizer: r5 } = this; + if (r5.state === "comment") return void this.appendToCommentData(this.sourceForNode(t26)); + let s5, { escaped: n5, loc: i5, strip: a5 } = t26; + if ("original" in t26.path && t26.path.original === "...attributes") throw k5("Illegal use of ...attributes", this.source.spanFor(t26.loc)); + if (pn4(t26.path)) s5 = d2.mustache({ path: this.acceptNode(t26.path), params: [], hash: d2.hash({ pairs: [], loc: this.source.spanFor(t26.path.loc).collapse("end") }), trusting: !n5, loc: this.source.spanFor(i5), strip: a5 }); + else { + let { path: o5, params: c7, hash: h5 } = rr6(this, t26); + s5 = d2.mustache({ path: o5, params: c7, hash: h5, trusting: !n5, loc: this.source.spanFor(i5), strip: a5 }); + } + switch (r5.state) { + case "tagOpen": + case "tagName": + throw k5("Cannot use mustaches in an elements tagname", s5.loc); + case "beforeAttributeName": + nr6(this.currentStartTag, s5); + break; + case "attributeName": + case "afterAttributeName": + this.beginAttributeValue(false), this.finishAttributeValue(), nr6(this.currentStartTag, s5), r5.transitionTo("beforeAttributeName"); + break; + case "afterAttributeValueQuoted": + nr6(this.currentStartTag, s5), r5.transitionTo("beforeAttributeName"); + break; + case "beforeAttributeValue": + this.beginAttributeValue(false), this.appendDynamicAttributeValuePart(s5), r5.transitionTo("attributeValueUnquoted"); + break; + case "attributeValueDoubleQuoted": + case "attributeValueSingleQuoted": + case "attributeValueUnquoted": + this.appendDynamicAttributeValuePart(s5); + break; + default: + At6(this.currentElement(), s5); + } + return s5; + } + appendDynamicAttributeValuePart(t26) { + this.finalizeTextPart(); + let r5 = this.currentAttr; + r5.isDynamic = true, r5.parts.push(t26); + } + finalizeTextPart() { + let t26 = this.currentAttr.currentPart; + t26 !== null && (this.currentAttr.parts.push(t26), this.startTextPart()); + } + startTextPart() { + this.currentAttr.currentPart = null; + } + ContentStatement(t26) { + (function(r5, s5) { + let n5 = s5.loc.start.line, i5 = s5.loc.start.column, a5 = (function(o5, c7) { + if (c7 === "") return { lines: o5.split(` +`).length - 1, columns: 0 }; + let [h5] = o5.split(c7), f7 = h5.split(/\n/u), p4 = f7.length - 1; + return { lines: p4, columns: f7[p4].length }; + })(s5.original, s5.value); + n5 += a5.lines, a5.lines ? i5 = a5.columns : i5 += a5.columns, r5.line = n5, r5.column = i5; + })(this.tokenizer, t26), this.tokenizer.tokenizePart(t26.value), this.tokenizer.flushData(); + } + CommentStatement(t26) { + let { tokenizer: r5 } = this; + if (r5.state === "comment") return this.appendToCommentData(this.sourceForNode(t26)), null; + let { value: s5, loc: n5 } = t26, i5 = d2.mustacheComment({ value: s5, loc: this.source.spanFor(n5) }); + switch (r5.state) { + case "beforeAttributeName": + case "afterAttributeName": + this.currentStartTag.comments.push(i5); + break; + case "beforeData": + case "data": + At6(this.currentElement(), i5); + break; + default: + throw k5(`Using a Handlebars comment when in the \`${r5.state}\` state is not supported`, this.source.spanFor(t26.loc)); + } + return i5; + } + PartialStatement(t26) { + throw k5("Handlebars partials are not supported", this.source.spanFor(t26.loc)); + } + PartialBlockStatement(t26) { + throw k5("Handlebars partial blocks are not supported", this.source.spanFor(t26.loc)); + } + Decorator(t26) { + throw k5("Handlebars decorators are not supported", this.source.spanFor(t26.loc)); + } + DecoratorBlock(t26) { + throw k5("Handlebars decorator blocks are not supported", this.source.spanFor(t26.loc)); + } + SubExpression(t26) { + let { path: r5, params: s5, hash: n5 } = rr6(this, t26); + return d2.sexpr({ path: r5, params: s5, hash: n5, loc: this.source.spanFor(t26.loc) }); + } + PathExpression(t26) { + let { original: r5 } = t26, s5; + if (r5.indexOf("/") !== -1) { + if (r5.slice(0, 2) === "./") throw k5('Using "./" is not supported in Glimmer and unnecessary', this.source.spanFor(t26.loc)); + if (r5.slice(0, 3) === "../") throw k5('Changing context using "../" is not supported in Glimmer', this.source.spanFor(t26.loc)); + if (r5.indexOf(".") !== -1) throw k5("Mixing '.' and '/' in paths is not supported in Glimmer; use only '.' to separate property paths", this.source.spanFor(t26.loc)); + s5 = [t26.parts.join("/")]; + } else { + if (r5 === ".") throw k5("'.' is not a supported path in Glimmer; check for a path with a trailing '.'", this.source.spanFor(t26.loc)); + s5 = t26.parts; + } + let n5, i5 = false; + if (/^this(?:\..+)?$/u.test(r5) && (i5 = true), i5) n5 = d2.this({ loc: this.source.spanFor({ start: t26.loc.start, end: { line: t26.loc.start.line, column: t26.loc.start.column + 4 } }) }); + else if (t26.data) { + let a5 = s5.shift(); + if (a5 === void 0) throw k5("Attempted to parse a path expression, but it was not valid. Paths beginning with @ must start with a-z.", this.source.spanFor(t26.loc)); + n5 = d2.atName({ name: `@${a5}`, loc: this.source.spanFor({ start: t26.loc.start, end: { line: t26.loc.start.line, column: t26.loc.start.column + a5.length + 1 } }) }); + } else { + let a5 = s5.shift(); + if (a5 === void 0) throw k5("Attempted to parse a path expression, but it was not valid. Paths must start with a-z or A-Z.", this.source.spanFor(t26.loc)); + n5 = d2.var({ name: a5, loc: this.source.spanFor({ start: t26.loc.start, end: { line: t26.loc.start.line, column: t26.loc.start.column + a5.length } }) }); + } + return d2.path({ head: n5, tail: s5, loc: this.source.spanFor(t26.loc) }); + } + Hash(t26) { + let r5 = t26.pairs.map(((s5) => d2.pair({ key: s5.key, value: this.acceptNode(s5.value), loc: this.source.spanFor(s5.loc) }))); + return d2.hash({ pairs: r5, loc: this.source.spanFor(t26.loc) }); + } + StringLiteral(t26) { + return d2.literal({ type: "StringLiteral", value: t26.value, loc: this.source.spanFor(t26.loc) }); + } + BooleanLiteral(t26) { + return d2.literal({ type: "BooleanLiteral", value: t26.value, loc: this.source.spanFor(t26.loc) }); + } + NumberLiteral(t26) { + return d2.literal({ type: "NumberLiteral", value: t26.value, loc: this.source.spanFor(t26.loc) }); + } + UndefinedLiteral(t26) { + return d2.literal({ type: "UndefinedLiteral", value: void 0, loc: this.source.spanFor(t26.loc) }); + } + NullLiteral(t26) { + return d2.literal({ type: "NullLiteral", value: null, loc: this.source.spanFor(t26.loc) }); + } + constructor(...t26) { + super(...t26), this.pendingError = null; + } + }; + hr6 = class extends ur6 { + reset() { + this.currentNode = null; + } + beginComment() { + this.currentNode = { type: "CommentStatement", value: "", start: this.source.offsetFor(this.tagOpenLine, this.tagOpenColumn) }; + } + appendToCommentData(t26) { + this.currentComment.value += t26; + } + finishComment() { + At6(this.currentElement(), d2.comment(this.finish(this.currentComment))); + } + beginData() { + this.currentNode = { type: "TextNode", chars: "", start: this.offset() }; + } + appendToData(t26) { + this.currentData.chars += t26; + } + finishData() { + At6(this.currentElement(), d2.text(this.finish(this.currentData))); + } + tagOpen() { + this.tagOpenLine = this.tokenizer.line, this.tagOpenColumn = this.tokenizer.column; + } + beginStartTag() { + this.currentNode = { type: "StartTag", name: "", nameStart: null, nameEnd: null, attributes: [], modifiers: [], comments: [], params: [], selfClosing: false, start: this.source.offsetFor(this.tagOpenLine, this.tagOpenColumn) }; + } + beginEndTag() { + this.currentNode = { type: "EndTag", name: "", start: this.source.offsetFor(this.tagOpenLine, this.tagOpenColumn) }; + } + finishTag() { + let t26 = this.finish(this.currentTag); + if (t26.type === "StartTag") { + if (this.finishStartTag(), t26.name === ":") throw k5("Invalid named block named detected, you may have created a named block without a name, or you may have began your name with a number. Named blocks must have names that are at least one character long, and begin with a lower case letter", this.source.spanFor({ start: this.currentTag.start.toJSON(), end: this.offset().toJSON() })); + (de5.has(t26.name) || t26.selfClosing) && this.finishEndTag(true); + } else t26.type, t26.type, this.finishEndTag(false); + } + finishStartTag() { + let { name: t26, nameStart: r5, nameEnd: s5 } = this.currentStartTag, n5 = r5.until(s5), [i5, ...a5] = t26.split("."), o5 = d2.path({ head: d2.head({ original: i5, loc: n5.sliceStartChars({ chars: i5.length }) }), tail: a5, loc: n5 }), { attributes: c7, modifiers: h5, comments: f7, params: p4, selfClosing: g5, loc: E7 } = this.finish(this.currentStartTag), T7 = d2.element({ path: o5, selfClosing: g5, attributes: c7, modifiers: h5, comments: f7, params: p4, children: [], openTag: E7, closeTag: g5 ? null : A4.broken(), loc: E7 }); + this.elementStack.push(T7); + } + finishEndTag(t26) { + let { start: r5 } = this.currentTag, s5 = this.finish(this.currentTag), n5 = this.elementStack.pop(); + this.validateEndTag(s5, n5, t26); + let i5 = this.currentElement(); + t26 ? n5.closeTag = null : n5.selfClosing ? n5.closeTag : n5.closeTag = r5.until(this.offset()), n5.loc = n5.loc.withEnd(this.offset()), At6(i5, d2.element(n5)); + } + markTagAsSelfClosing() { + let t26 = this.currentTag; + if (t26.type !== "StartTag") throw k5("Invalid end tag: closing tag must not be self-closing", this.source.spanFor({ start: t26.start.toJSON(), end: this.offset().toJSON() })); + t26.selfClosing = true; + } + appendToTagName(t26) { + let r5 = this.currentTag; + if (r5.name += t26, r5.type === "StartTag") { + let s5 = this.offset(); + r5.nameStart === null && (r5.nameEnd, r5.nameStart = s5.move(-1)), r5.nameEnd = s5; + } + } + beginAttribute() { + let t26 = this.offset(); + this.currentAttribute = { name: "", parts: [], currentPart: null, isQuoted: false, isDynamic: false, start: t26, valueSpan: t26.collapsed() }; + } + appendToAttributeName(t26) { + this.currentAttr.name += t26, this.currentAttr.name === "as" && this.parsePossibleBlockParams(); + } + beginAttributeValue(t26) { + this.currentAttr.isQuoted = t26, this.startTextPart(), this.currentAttr.valueSpan = this.offset().collapsed(); + } + appendToAttributeValue(t26) { + let r5 = this.currentAttr.parts, s5 = r5[r5.length - 1], n5 = this.currentAttr.currentPart; + if (n5) n5.chars += t26, n5.loc = n5.loc.withEnd(this.offset()); + else { + let i5 = this.offset(); + i5 = t26 === ` +` ? s5 ? s5.loc.getEnd() : this.currentAttr.valueSpan.getStart() : i5.move(-1), this.currentAttr.currentPart = d2.text({ chars: t26, loc: i5.collapsed() }); + } + } + finishAttributeValue() { + this.finalizeTextPart(); + let t26 = this.currentTag, r5 = this.offset(); + if (t26.type === "EndTag") throw k5("Invalid end tag: closing tag must not have attributes", this.source.spanFor({ start: t26.start.toJSON(), end: r5.toJSON() })); + let { name: s5, parts: n5, start: i5, isQuoted: a5, isDynamic: o5, valueSpan: c7 } = this.currentAttr; + if (s5.startsWith("|") && n5.length === 0 && !a5 && !o5) throw k5("Invalid block parameters syntax: block parameters must be preceded by the `as` keyword", i5.until(i5.move(s5.length))); + let h5 = this.assembleAttributeValue(n5, a5, o5, i5.until(r5)); + h5.loc = c7.withEnd(r5); + let f7 = d2.attr({ name: s5, value: h5, loc: i5.until(r5) }); + this.currentStartTag.attributes.push(f7); + } + parsePossibleBlockParams() { + let t26 = /[!"#%&'()*+./;<=>@[\\\]^`{|}~]/u; + this.tokenizer.state; + let r5 = this.currentStartTag, s5 = this.currentAttr, n5 = { state: "PossibleAs" }, i5 = { PossibleAs: (o5) => { + if (n5.state, Nt6(o5)) n5 = { state: "BeforeStartPipe" }, this.tokenizer.transitionTo("afterAttributeName"), this.tokenizer.consume(); + else { + if (o5 === "|") throw k5('Invalid block parameters syntax: expecting at least one space character between "as" and "|"', s5.start.until(this.offset().move(1))); + n5 = { state: "Done" }; + } + }, BeforeStartPipe: (o5) => { + n5.state, Nt6(o5) ? this.tokenizer.consume() : o5 === "|" ? (n5 = { state: "BeforeBlockParamName" }, this.tokenizer.transitionTo("beforeAttributeName"), this.tokenizer.consume()) : n5 = { state: "Done" }; + }, BeforeBlockParamName: (o5) => { + if (n5.state, Nt6(o5)) this.tokenizer.consume(); + else if (o5 === "") n5 = { state: "Done" }, this.pendingError = { mustache(c7) { + throw k5("Invalid block parameters syntax: mustaches cannot be used inside parameters list", c7); + }, eof(c7) { + throw k5('Invalid block parameters syntax: expecting the tag to be closed with ">" or "/>" after parameters list', s5.start.until(c7)); + } }; + else if (o5 === "|") { + if (r5.params.length === 0) throw k5("Invalid block parameters syntax: empty parameters list, expecting at least one identifier", s5.start.until(this.offset().move(1))); + n5 = { state: "AfterEndPipe" }, this.tokenizer.consume(); + } else { + if (o5 === ">" || o5 === "/") throw k5('Invalid block parameters syntax: incomplete parameters list, expecting "|" but the tag was closed prematurely', s5.start.until(this.offset().move(1))); + n5 = { state: "BlockParamName", name: o5, start: this.offset() }, this.tokenizer.consume(); + } + }, BlockParamName: (o5) => { + if (n5.state, o5 === "") n5 = { state: "Done" }, this.pendingError = { mustache(c7) { + throw k5("Invalid block parameters syntax: mustaches cannot be used inside parameters list", c7); + }, eof(c7) { + throw k5('Invalid block parameters syntax: expecting the tag to be closed with ">" or "/>" after parameters list', s5.start.until(c7)); + } }; + else if (o5 === "|" || Nt6(o5)) { + let c7 = n5.start.until(this.offset()); + if (n5.name === "this" || t26.test(n5.name)) throw k5(`Invalid block parameters syntax: invalid identifier name \`${n5.name}\``, c7); + r5.params.push(d2.var({ name: n5.name, loc: c7 })), n5 = o5 === "|" ? { state: "AfterEndPipe" } : { state: "BeforeBlockParamName" }, this.tokenizer.consume(); + } else { + if (o5 === ">" || o5 === "/") throw k5('Invalid block parameters syntax: expecting "|" but the tag was closed prematurely', s5.start.until(this.offset().move(1))); + n5.name += o5, this.tokenizer.consume(); + } + }, AfterEndPipe: (o5) => { + n5.state, Nt6(o5) ? this.tokenizer.consume() : o5 === "" ? (n5 = { state: "Done" }, this.pendingError = { mustache(c7) { + throw k5("Invalid block parameters syntax: modifiers cannot follow parameters list", c7); + }, eof(c7) { + throw k5('Invalid block parameters syntax: expecting the tag to be closed with ">" or "/>" after parameters list', s5.start.until(c7)); + } }) : o5 === ">" || o5 === "/" ? n5 = { state: "Done" } : (n5 = { state: "Error", message: 'Invalid block parameters syntax: expecting the tag to be closed with ">" or "/>" after parameters list', start: this.offset() }, this.tokenizer.consume()); + }, Error: (o5) => { + if (n5.state, o5 === "" || o5 === "/" || o5 === ">" || Nt6(o5)) throw k5(n5.message, n5.start.until(this.offset())); + this.tokenizer.consume(); + }, Done: () => { + } }, a5; + do + a5 = this.tokenizer.peek(), i5[n5.state](a5); + while (n5.state !== "Done" && a5 !== ""); + n5.state; + } + reportSyntaxError(t26) { + throw k5(t26, this.offset().collapsed()); + } + assembleConcatenatedValue(t26) { + let r5 = Is6(t26), s5 = fr6(t26); + return d2.concat({ parts: t26, loc: this.source.spanFor(r5.loc).extend(this.source.spanFor(s5.loc)) }); + } + validateEndTag(t26, r5, s5) { + if (de5.has(t26.name) && !s5) throw k5(`<${t26.name}> elements do not need end tags. You should remove it`, t26.loc); + if (r5.type !== "ElementNode") throw k5(`Closing tag without an open tag`, t26.loc); + if (r5.tag !== t26.name) throw k5(`Closing tag did not match last open tag <${r5.tag}> (on line ${r5.loc.startPosition.line})`, t26.loc); + } + assembleAttributeValue(t26, r5, s5, n5) { + if (s5) { + if (r5) return this.assembleConcatenatedValue(t26); + { + let [i5, a5] = t26; + if (a5 === void 0 || a5.type === "TextNode" && a5.chars === "/") return i5; + throw k5("An unquoted attribute value must be a string or a mustache, preceded by whitespace or a '=' character, and followed by whitespace, a '>' character, or '/>'", n5); + } + } + return Yt4(t26) ? t26[0] : d2.text({ chars: "", loc: n5 }); + } + constructor(...t26) { + super(...t26), this.tagOpenLine = 0, this.tagOpenColumn = 0; + } + }; + Ms6 = {}; + pr6 = class extends $e5 { + constructor() { + super({}); + } + parse() { + } + }; + zs6 = { resolution: () => pe4.GetStrictKeyword, serialize: () => "Strict", isAngleBracket: false }; + To3 = { ...zs6, isAngleBracket: true }; + Ys6 = Ur5(be5); + dn4 = Ys6; + mt6 = (e7) => e7.loc.start.offset; + Gt5 = (e7) => e7.loc.end.offset; + Gs6 = new Set(on3()); + xn4 = 2; + ri6 = ({ path: e7 }, { path: t26 }) => [e7, t26].every((r5) => r5.type === "PathExpression" && r5.head.type === "VarHead") && e7.head.name === t26.head.name; + hi6 = new Set("!\"#%&'()*+,./;<=>@[\\]^`{|}~"); + pi6 = /* @__PURE__ */ new Set(["true", "false", "null", "undefined"]); + fi6 = (e7, t26) => t26 === 0 && e7.startsWith("@") ? false : t26 !== 0 && pi6.has(e7) || /\s/u.test(e7) || /^\d/u.test(e7) || Array.prototype.some.call(e7, (r5) => hi6.has(r5)); + di6 = { features: { experimental_frontMatterSupport: { massageAstNode: true, embed: true, print: true } }, print: js6, massageAstNode: Fr5, hasPrettierIgnore: yn4, getVisitorKeys: dn4, embed: Hr4 }; + _n3 = di6; + Ln3 = [{ name: "Handlebars", type: "markup", aceMode: "handlebars", extensions: [".handlebars", ".hbs"], tmScope: "text.html.handlebars", aliases: ["hbs", "htmlbars"], parsers: ["glimmer"], vscodeLanguageIds: ["handlebars"], linguistLanguageId: 155 }]; + yr5 = {}; + Oe5(yr5, { glimmer: () => Ni6 }); + Dn3 = gi6; + On3 = /* @__PURE__ */ Symbol.for("PRETTIER_IS_FRONT_MATTER"); + Wt5 = 3; + In3 = yi5; + ki6 = (e7) => { + let { start: t26, end: r5 } = e7.loc; + t26.offset = e7.loc.getStart().offset, r5.offset = e7.loc.getEnd().offset; + }; + Ei6 = () => ({ name: "glimmerPrettierParsePlugin", visitor: { All(e7) { + ki6(e7), Si6(e7); + } } }); + vi6 = { mode: "codemod", plugins: { ast: [Ei6] } }; + Ni6 = { parse: wi6, astFormat: "glimmer", locStart: mt6, locEnd: Gt5 }; + Ai6 = { glimmer: _n3 }; + } +}); + +// node_modules/prettier/plugins/graphql.mjs +var graphql_exports = {}; +__export(graphql_exports, { + default: () => ut6, + languages: () => Ye5, + options: () => $e6, + parsers: () => he7, + printers: () => nn5 +}); +function x3(e7) { + return S3(e7), { type: Ee6, contents: e7 }; +} +function y2(e7, t26 = {}) { + return S3(e7), Y4(t26.expandedStates, true), { type: Te6, id: t26.id, contents: e7, break: !!t26.shouldBreak, expandedStates: t26.expandedStates }; +} +function I5(e7, t26 = "", n5 = {}) { + return S3(e7), t26 !== "" && S3(t26), { type: Ne5, breakContents: e7, flatContents: t26, groupId: n5.groupId }; +} +function E4(e7, t26) { + S3(e7), Y4(t26); + let n5 = []; + for (let i5 = 0; i5 < t26.length; i5++) i5 !== 0 && n5.push(e7), n5.push(t26[i5]); + return n5; +} +function j4(e7) { + return (t26, n5, i5) => { + let r5 = !!i5?.backwards; + if (n5 === false) return false; + let { length: s5 } = t26, a5 = n5; + for (; a5 >= 0 && a5 < s5; ) { + let u = t26.charAt(a5); + if (e7 instanceof RegExp) { + if (!e7.test(u)) return a5; + } else if (!e7.includes(u)) return a5; + r5 ? a5-- : a5++; + } + return a5 === -1 || a5 === s5 ? a5 : false; + }; +} +function mt7(e7, t26, n5) { + let i5 = !!n5?.backwards; + if (t26 === false) return false; + let r5 = e7.charAt(t26); + if (i5) { + if (e7.charAt(t26 - 1) === "\r" && r5 === ` +`) return t26 - 2; + if (Oe6(r5)) return t26 - 1; + } else { + if (r5 === "\r" && e7.charAt(t26 + 1) === ` +`) return t26 + 2; + if (Oe6(r5)) return t26 + 1; + } + return t26; +} +function Et7(e7, t26, n5 = {}) { + let i5 = $6(e7, n5.backwards ? t26 - 1 : t26, n5), r5 = X6(e7, i5, n5); + return i5 !== r5; +} +function Tt7(e7, t26) { + if (t26 === false) return false; + if (e7.charAt(t26) === "/" && e7.charAt(t26 + 1) === "*") { + for (let n5 = t26 + 2; n5 < e7.length; ++n5) if (e7.charAt(n5) === "*" && e7.charAt(n5 + 1) === "/") return n5 + 2; + } + return t26; +} +function Nt7(e7, t26) { + return t26 === false ? false : e7.charAt(t26) === "/" && e7.charAt(t26 + 1) === "/" ? Ae6(e7, t26) : t26; +} +function xt6(e7, t26) { + let n5 = null, i5 = t26; + for (; i5 !== n5; ) n5 = i5, i5 = ye6(e7, i5), i5 = De6(e7, i5), i5 = $6(e7, i5); + return i5 = ge6(e7, i5), i5 = X6(e7, i5), i5 !== false && Ie6(e7, i5); +} +function _t6(e7) { + return Array.isArray(e7) && e7.length > 0; +} +function w4(e7) { + if (P5 !== null && typeof P5.property) { + let t26 = P5; + return P5 = w4.prototype = null, t26; + } + return P5 = w4.prototype = e7 ?? /* @__PURE__ */ Object.create(null), new w4(); +} +function ae5(e7) { + return w4(e7); +} +function At7(e7, t26 = "type") { + ae5(e7); + function n5(i5) { + let r5 = i5[t26], s5 = e7[r5]; + if (!Array.isArray(s5)) throw Object.assign(new Error(`Missing visitor keys for '${r5}'.`), { node: i5 }); + return s5; + } + return n5; +} +function It6(e7, t26, n5) { + let { node: i5 } = e7; + if (!i5.description) return ""; + let r5 = [n5("description")]; + return i5.kind === "InputValueDefinition" && !i5.description.block ? r5.push(k6) : r5.push(f4), r5; +} +function Dt6(e7, t26, n5) { + let { node: i5 } = e7; + switch (i5.kind) { + case "Document": + return [...E4(f4, g4(e7, t26, n5, "definitions")), f4]; + case "OperationDefinition": { + let r5 = t26.originalText[J7(i5)] !== "{", s5 = !!i5.name; + return [A5(e7, t26, n5), r5 ? i5.operation : "", r5 && s5 ? [" ", n5("name")] : "", r5 && !s5 && se7(i5.variableDefinitions) ? " " : "", Be6(e7, n5), _5(e7, n5, i5), !r5 && !s5 ? "" : " ", n5("selectionSet")]; + } + case "FragmentDefinition": + return [A5(e7, t26, n5), "fragment ", n5("name"), Be6(e7, n5), " on ", n5("typeCondition"), _5(e7, n5, i5), " ", n5("selectionSet")]; + case "SelectionSet": + return ["{", x3([f4, E4(f4, g4(e7, t26, n5, "selections"))]), f4, "}"]; + case "Field": + return y2([i5.alias ? [n5("alias"), ": "] : "", n5("name"), i5.arguments.length > 0 ? y2(["(", x3([l3, E4([I5("", ", "), l3], g4(e7, t26, n5, "arguments"))]), l3, ")"]) : "", _5(e7, n5, i5), i5.selectionSet ? " " : "", n5("selectionSet")]); + case "Name": + return i5.value; + case "StringValue": + if (i5.block) { + let r5 = U5(0, i5.value, '"""', '\\"""').split(` +`); + return r5.length === 1 && (r5[0] = r5[0].trim()), r5.every((s5) => s5 === "") && (r5.length = 0), E4(f4, ['"""', ...r5, '"""']); + } + return ['"', U5(0, U5(0, i5.value, /["\\]/gu, "\\$&"), ` +`, "\\n"), '"']; + case "IntValue": + case "FloatValue": + case "EnumValue": + return i5.value; + case "BooleanValue": + return i5.value ? "true" : "false"; + case "NullValue": + return "null"; + case "Variable": + return ["$", n5("name")]; + case "ListValue": + return y2(["[", x3([l3, E4([I5("", ", "), l3], e7.map(n5, "values"))]), l3, "]"]); + case "ObjectValue": { + let r5 = t26.bracketSpacing && i5.fields.length > 0 ? " " : ""; + return y2(["{", r5, x3([l3, E4([I5("", ", "), l3], e7.map(n5, "fields"))]), l3, I5("", r5), "}"]); + } + case "ObjectField": + case "Argument": + return [n5("name"), ": ", n5("value")]; + case "Directive": + return ["@", n5("name"), i5.arguments.length > 0 ? y2(["(", x3([l3, E4([I5("", ", "), l3], g4(e7, t26, n5, "arguments"))]), l3, ")"]) : ""]; + case "NamedType": + return n5("name"); + case "VariableDefinition": + return [A5(e7, t26, n5), n5("variable"), ": ", n5("type"), i5.defaultValue ? [" = ", n5("defaultValue")] : "", _5(e7, n5, i5)]; + case "ObjectTypeExtension": + case "ObjectTypeDefinition": + case "InputObjectTypeExtension": + case "InputObjectTypeDefinition": + case "InterfaceTypeExtension": + case "InterfaceTypeDefinition": { + let { kind: r5 } = i5, s5 = []; + return r5.endsWith("TypeDefinition") ? s5.push(A5(e7, t26, n5)) : s5.push("extend "), r5.startsWith("ObjectType") ? s5.push("type") : r5.startsWith("InputObjectType") ? s5.push("input") : s5.push("interface"), s5.push(" ", n5("name")), !r5.startsWith("InputObjectType") && i5.interfaces.length > 0 && s5.push(" implements ", ...kt7(e7, t26, n5)), s5.push(_5(e7, n5, i5)), i5.fields.length > 0 && s5.push([" {", x3([f4, E4(f4, g4(e7, t26, n5, "fields"))]), f4, "}"]), s5; + } + case "FieldDefinition": + return [A5(e7, t26, n5), n5("name"), i5.arguments.length > 0 ? y2(["(", x3([l3, E4([I5("", ", "), l3], g4(e7, t26, n5, "arguments"))]), l3, ")"]) : "", ": ", n5("type"), _5(e7, n5, i5)]; + case "DirectiveDefinition": + return [A5(e7, t26, n5), "directive ", "@", n5("name"), i5.arguments.length > 0 ? y2(["(", x3([l3, E4([I5("", ", "), l3], g4(e7, t26, n5, "arguments"))]), l3, ")"]) : "", i5.repeatable ? " repeatable" : "", " on ", ...E4(" | ", e7.map(n5, "locations"))]; + case "EnumTypeExtension": + case "EnumTypeDefinition": + return [A5(e7, t26, n5), i5.kind === "EnumTypeExtension" ? "extend " : "", "enum ", n5("name"), _5(e7, n5, i5), i5.values.length > 0 ? [" {", x3([f4, E4(f4, g4(e7, t26, n5, "values"))]), f4, "}"] : ""]; + case "EnumValueDefinition": + return [A5(e7, t26, n5), n5("name"), _5(e7, n5, i5)]; + case "InputValueDefinition": + return [A5(e7, t26, n5), n5("name"), ": ", n5("type"), i5.defaultValue ? [" = ", n5("defaultValue")] : "", _5(e7, n5, i5)]; + case "SchemaExtension": + return ["extend schema", _5(e7, n5, i5), ...i5.operationTypes.length > 0 ? [" {", x3([f4, E4(f4, g4(e7, t26, n5, "operationTypes"))]), f4, "}"] : []]; + case "SchemaDefinition": + return [A5(e7, t26, n5), "schema", _5(e7, n5, i5), " {", i5.operationTypes.length > 0 ? x3([f4, E4(f4, g4(e7, t26, n5, "operationTypes"))]) : "", f4, "}"]; + case "OperationTypeDefinition": + return [i5.operation, ": ", n5("type")]; + case "FragmentSpread": + return ["...", n5("name"), _5(e7, n5, i5)]; + case "InlineFragment": + return ["...", i5.typeCondition ? [" on ", n5("typeCondition")] : "", _5(e7, n5, i5), " ", n5("selectionSet")]; + case "UnionTypeExtension": + case "UnionTypeDefinition": + return y2([A5(e7, t26, n5), y2([i5.kind === "UnionTypeExtension" ? "extend " : "", "union ", n5("name"), _5(e7, n5, i5), i5.types.length > 0 ? [" =", I5("", " "), x3([I5([k6, "| "]), E4([k6, "| "], e7.map(n5, "types"))])] : ""])]); + case "ScalarTypeExtension": + case "ScalarTypeDefinition": + return [A5(e7, t26, n5), i5.kind === "ScalarTypeExtension" ? "extend " : "", "scalar ", n5("name"), _5(e7, n5, i5)]; + case "NonNullType": + return [n5("type"), "!"]; + case "ListType": + return ["[", n5("type"), "]"]; + default: + throw new ke7(i5, "Graphql", "kind"); + } +} +function _5(e7, t26, n5) { + if (n5.directives.length === 0) return ""; + let i5 = E4(k6, e7.map(t26, "directives")); + return n5.kind === "FragmentDefinition" || n5.kind === "OperationDefinition" ? y2([k6, i5]) : [" ", y2(x3([l3, i5]))]; +} +function g4(e7, t26, n5, i5) { + return e7.map(({ isLast: r5, node: s5 }) => { + let a5 = n5(); + return !r5 && Se6(t26.originalText, q6(s5)) ? [a5, f4] : a5; + }, i5); +} +function gt6(e7) { + return e7.kind !== "Comment"; +} +function St7({ node: e7 }) { + if (e7.kind === "Comment") return "#" + e7.value.trimEnd(); + throw new Error("Not a comment: " + JSON.stringify(e7)); +} +function kt7(e7, t26, n5) { + let { node: i5 } = e7, r5 = [], { interfaces: s5 } = i5, a5 = e7.map(n5, "interfaces"); + for (let u = 0; u < s5.length; u++) { + let p4 = s5[u]; + r5.push(a5[u]); + let T7 = s5[u + 1]; + if (T7) { + let D7 = t26.originalText.slice(p4.loc.end, T7.loc.start).includes("#"); + r5.push(" &", D7 ? k6 : " "); + } + } + return r5; +} +function Be6(e7, t26) { + let { node: n5 } = e7; + return se7(n5.variableDefinitions) ? y2(["(", x3([l3, E4([I5("", ", "), l3], e7.map(t26, "variableDefinitions"))]), l3, ")"]) : ""; +} +function Ue6(e7, t26) { + e7.kind === "StringValue" && e7.block && !e7.value.includes(` +`) && (t26.value = e7.value.trim()); +} +function Ct7(e7) { + let { node: t26 } = e7; + return t26?.comments?.some((n5) => n5.value.trim() === "prettier-ignore"); +} +function Xe7(e7) { + return typeof e7 == "object" && e7 !== null; +} +function He7(e7, t26) { + if (!!!e7) throw new Error(t26 ?? "Unexpected invariant triggered."); +} +function M6(e7, t26) { + let n5 = 0, i5 = 1; + for (let r5 of e7.body.matchAll(bt7)) { + if (typeof r5.index == "number" || He7(false), r5.index >= t26) break; + n5 = r5.index + r5[0].length, i5 += 1; + } + return { line: i5, column: t26 + 1 - n5 }; +} +function qe6(e7) { + return ue6(e7.source, M6(e7.source, e7.start)); +} +function ue6(e7, t26) { + let n5 = e7.locationOffset.column - 1, i5 = "".padStart(n5) + e7.body, r5 = t26.line - 1, s5 = e7.locationOffset.line - 1, a5 = t26.line + s5, u = t26.line === 1 ? n5 : 0, p4 = t26.column + u, T7 = `${e7.name}:${a5}:${p4} +`, d5 = i5.split(/\r\n|[\n\r]/g), D7 = d5[r5]; + if (D7.length > 120) { + let O7 = Math.floor(p4 / 80), re9 = p4 % 80, N8 = []; + for (let v9 = 0; v9 < D7.length; v9 += 80) N8.push(D7.slice(v9, v9 + 80)); + return T7 + Je7([[`${a5} |`, N8[0]], ...N8.slice(1, O7 + 1).map((v9) => ["|", v9]), ["|", "^".padStart(re9)], ["|", N8[O7 + 1]]]); + } + return T7 + Je7([[`${a5 - 1} |`, d5[r5 - 1]], [`${a5} |`, D7], ["|", "^".padStart(p4)], [`${a5 + 1} |`, d5[r5 + 1]]]); +} +function Je7(e7) { + let t26 = e7.filter(([i5, r5]) => r5 !== void 0), n5 = Math.max(...t26.map(([i5]) => i5.length)); + return t26.map(([i5, r5]) => i5.padStart(n5) + (r5 ? " " + r5 : "")).join(` +`); +} +function Lt6(e7) { + let t26 = e7[0]; + return t26 == null || "kind" in t26 || "length" in t26 ? { nodes: t26, source: e7[1], positions: e7[2], path: e7[3], originalError: e7[4], extensions: e7[5] } : t26; +} +function Qe7(e7) { + return e7 === void 0 || e7.length === 0 ? void 0 : e7; +} +function h2(e7, t26, n5) { + return new Q6(`Syntax Error: ${n5}`, { source: e7, positions: [t26] }); +} +function We7(e7) { + return e7 === 9 || e7 === 32; +} +function b5(e7) { + return e7 >= 48 && e7 <= 57; +} +function ze7(e7) { + return e7 >= 97 && e7 <= 122 || e7 >= 65 && e7 <= 90; +} +function pe5(e7) { + return ze7(e7) || e7 === 95; +} +function Ke7(e7) { + return ze7(e7) || b5(e7) || e7 === 95; +} +function Ze7(e7) { + var t26; + let n5 = Number.MAX_SAFE_INTEGER, i5 = null, r5 = -1; + for (let a5 = 0; a5 < e7.length; ++a5) { + var s5; + let u = e7[a5], p4 = Pt7(u); + p4 !== u.length && (i5 = (s5 = i5) !== null && s5 !== void 0 ? s5 : a5, r5 = a5, a5 !== 0 && p4 < n5 && (n5 = p4)); + } + return e7.map((a5, u) => u === 0 ? a5 : a5.slice(n5)).slice((t26 = i5) !== null && t26 !== void 0 ? t26 : 0, r5 + 1); +} +function Pt7(e7) { + let t26 = 0; + for (; t26 < e7.length && We7(e7.charCodeAt(t26)); ) ++t26; + return t26; +} +function tt7(e7) { + return e7 === o2.BANG || e7 === o2.DOLLAR || e7 === o2.AMP || e7 === o2.PAREN_L || e7 === o2.PAREN_R || e7 === o2.DOT || e7 === o2.SPREAD || e7 === o2.COLON || e7 === o2.EQUALS || e7 === o2.AT || e7 === o2.BRACKET_L || e7 === o2.BRACKET_R || e7 === o2.BRACE_L || e7 === o2.PIPE || e7 === o2.BRACE_R; +} +function L5(e7) { + return e7 >= 0 && e7 <= 55295 || e7 >= 57344 && e7 <= 1114111; +} +function K7(e7, t26) { + return nt7(e7.charCodeAt(t26)) && rt7(e7.charCodeAt(t26 + 1)); +} +function nt7(e7) { + return e7 >= 55296 && e7 <= 56319; +} +function rt7(e7) { + return e7 >= 56320 && e7 <= 57343; +} +function R6(e7, t26) { + let n5 = e7.source.body.codePointAt(t26); + if (n5 === void 0) return o2.EOF; + if (n5 >= 32 && n5 <= 126) { + let i5 = String.fromCodePoint(n5); + return i5 === '"' ? `'"'` : `"${i5}"`; + } + return "U+" + n5.toString(16).toUpperCase().padStart(4, "0"); +} +function m4(e7, t26, n5, i5, r5) { + let s5 = e7.line, a5 = 1 + n5 - e7.lineStart; + return new F6(t26, n5, i5, s5, a5, r5); +} +function wt7(e7, t26) { + let n5 = e7.source.body, i5 = n5.length, r5 = t26; + for (; r5 < i5; ) { + let s5 = n5.charCodeAt(r5); + switch (s5) { + case 65279: + case 9: + case 32: + case 44: + ++r5; + continue; + case 10: + ++r5, ++e7.line, e7.lineStart = r5; + continue; + case 13: + n5.charCodeAt(r5 + 1) === 10 ? r5 += 2 : ++r5, ++e7.line, e7.lineStart = r5; + continue; + case 35: + return Ft6(e7, r5); + case 33: + return m4(e7, o2.BANG, r5, r5 + 1); + case 36: + return m4(e7, o2.DOLLAR, r5, r5 + 1); + case 38: + return m4(e7, o2.AMP, r5, r5 + 1); + case 40: + return m4(e7, o2.PAREN_L, r5, r5 + 1); + case 41: + return m4(e7, o2.PAREN_R, r5, r5 + 1); + case 46: + if (n5.charCodeAt(r5 + 1) === 46 && n5.charCodeAt(r5 + 2) === 46) return m4(e7, o2.SPREAD, r5, r5 + 3); + break; + case 58: + return m4(e7, o2.COLON, r5, r5 + 1); + case 61: + return m4(e7, o2.EQUALS, r5, r5 + 1); + case 64: + return m4(e7, o2.AT, r5, r5 + 1); + case 91: + return m4(e7, o2.BRACKET_L, r5, r5 + 1); + case 93: + return m4(e7, o2.BRACKET_R, r5, r5 + 1); + case 123: + return m4(e7, o2.BRACE_L, r5, r5 + 1); + case 124: + return m4(e7, o2.PIPE, r5, r5 + 1); + case 125: + return m4(e7, o2.BRACE_R, r5, r5 + 1); + case 34: + return n5.charCodeAt(r5 + 1) === 34 && n5.charCodeAt(r5 + 2) === 34 ? Yt5(e7, r5) : Vt6(e7, r5); + } + if (b5(s5) || s5 === 45) return Mt7(e7, r5, s5); + if (pe5(s5)) return jt5(e7, r5); + throw h2(e7.source, r5, s5 === 39 ? `Unexpected single quote character ('), did you mean to use a double quote (")?` : L5(s5) || K7(n5, r5) ? `Unexpected character: ${R6(e7, r5)}.` : `Invalid character: ${R6(e7, r5)}.`); + } + return m4(e7, o2.EOF, i5, i5); +} +function Ft6(e7, t26) { + let n5 = e7.source.body, i5 = n5.length, r5 = t26 + 1; + for (; r5 < i5; ) { + let s5 = n5.charCodeAt(r5); + if (s5 === 10 || s5 === 13) break; + if (L5(s5)) ++r5; + else if (K7(n5, r5)) r5 += 2; + else break; + } + return m4(e7, o2.COMMENT, t26, r5, n5.slice(t26 + 1, r5)); +} +function Mt7(e7, t26, n5) { + let i5 = e7.source.body, r5 = t26, s5 = n5, a5 = false; + if (s5 === 45 && (s5 = i5.charCodeAt(++r5)), s5 === 48) { + if (s5 = i5.charCodeAt(++r5), b5(s5)) throw h2(e7.source, r5, `Invalid number, unexpected digit after 0: ${R6(e7, r5)}.`); + } else r5 = le6(e7, r5, s5), s5 = i5.charCodeAt(r5); + if (s5 === 46 && (a5 = true, s5 = i5.charCodeAt(++r5), r5 = le6(e7, r5, s5), s5 = i5.charCodeAt(r5)), (s5 === 69 || s5 === 101) && (a5 = true, s5 = i5.charCodeAt(++r5), (s5 === 43 || s5 === 45) && (s5 = i5.charCodeAt(++r5)), r5 = le6(e7, r5, s5), s5 = i5.charCodeAt(r5)), s5 === 46 || pe5(s5)) throw h2(e7.source, r5, `Invalid number, expected digit but got: ${R6(e7, r5)}.`); + return m4(e7, a5 ? o2.FLOAT : o2.INT, t26, r5, i5.slice(t26, r5)); +} +function le6(e7, t26, n5) { + if (!b5(n5)) throw h2(e7.source, t26, `Invalid number, expected digit but got: ${R6(e7, t26)}.`); + let i5 = e7.source.body, r5 = t26 + 1; + for (; b5(i5.charCodeAt(r5)); ) ++r5; + return r5; +} +function Vt6(e7, t26) { + let n5 = e7.source.body, i5 = n5.length, r5 = t26 + 1, s5 = r5, a5 = ""; + for (; r5 < i5; ) { + let u = n5.charCodeAt(r5); + if (u === 34) return a5 += n5.slice(s5, r5), m4(e7, o2.STRING, t26, r5 + 1, a5); + if (u === 92) { + a5 += n5.slice(s5, r5); + let p4 = n5.charCodeAt(r5 + 1) === 117 ? n5.charCodeAt(r5 + 2) === 123 ? Bt5(e7, r5) : Ut6(e7, r5) : Gt6(e7, r5); + a5 += p4.value, r5 += p4.size, s5 = r5; + continue; + } + if (u === 10 || u === 13) break; + if (L5(u)) ++r5; + else if (K7(n5, r5)) r5 += 2; + else throw h2(e7.source, r5, `Invalid character within String: ${R6(e7, r5)}.`); + } + throw h2(e7.source, r5, "Unterminated string."); +} +function Bt5(e7, t26) { + let n5 = e7.source.body, i5 = 0, r5 = 3; + for (; r5 < 12; ) { + let s5 = n5.charCodeAt(t26 + r5++); + if (s5 === 125) { + if (r5 < 5 || !L5(i5)) break; + return { value: String.fromCodePoint(i5), size: r5 }; + } + if (i5 = i5 << 4 | V6(s5), i5 < 0) break; + } + throw h2(e7.source, t26, `Invalid Unicode escape sequence: "${n5.slice(t26, t26 + r5)}".`); +} +function Ut6(e7, t26) { + let n5 = e7.source.body, i5 = et7(n5, t26 + 2); + if (L5(i5)) return { value: String.fromCodePoint(i5), size: 6 }; + if (nt7(i5) && n5.charCodeAt(t26 + 6) === 92 && n5.charCodeAt(t26 + 7) === 117) { + let r5 = et7(n5, t26 + 8); + if (rt7(r5)) return { value: String.fromCodePoint(i5, r5), size: 12 }; + } + throw h2(e7.source, t26, `Invalid Unicode escape sequence: "${n5.slice(t26, t26 + 6)}".`); +} +function et7(e7, t26) { + return V6(e7.charCodeAt(t26)) << 12 | V6(e7.charCodeAt(t26 + 1)) << 8 | V6(e7.charCodeAt(t26 + 2)) << 4 | V6(e7.charCodeAt(t26 + 3)); +} +function V6(e7) { + return e7 >= 48 && e7 <= 57 ? e7 - 48 : e7 >= 65 && e7 <= 70 ? e7 - 55 : e7 >= 97 && e7 <= 102 ? e7 - 87 : -1; +} +function Gt6(e7, t26) { + let n5 = e7.source.body; + switch (n5.charCodeAt(t26 + 1)) { + case 34: + return { value: '"', size: 2 }; + case 92: + return { value: "\\", size: 2 }; + case 47: + return { value: "/", size: 2 }; + case 98: + return { value: "\b", size: 2 }; + case 102: + return { value: "\f", size: 2 }; + case 110: + return { value: ` +`, size: 2 }; + case 114: + return { value: "\r", size: 2 }; + case 116: + return { value: " ", size: 2 }; + } + throw h2(e7.source, t26, `Invalid character escape sequence: "${n5.slice(t26, t26 + 2)}".`); +} +function Yt5(e7, t26) { + let n5 = e7.source.body, i5 = n5.length, r5 = e7.lineStart, s5 = t26 + 3, a5 = s5, u = "", p4 = []; + for (; s5 < i5; ) { + let T7 = n5.charCodeAt(s5); + if (T7 === 34 && n5.charCodeAt(s5 + 1) === 34 && n5.charCodeAt(s5 + 2) === 34) { + u += n5.slice(a5, s5), p4.push(u); + let d5 = m4(e7, o2.BLOCK_STRING, t26, s5 + 3, Ze7(p4).join(` +`)); + return e7.line += p4.length - 1, e7.lineStart = r5, d5; + } + if (T7 === 92 && n5.charCodeAt(s5 + 1) === 34 && n5.charCodeAt(s5 + 2) === 34 && n5.charCodeAt(s5 + 3) === 34) { + u += n5.slice(a5, s5), a5 = s5 + 1, s5 += 4; + continue; + } + if (T7 === 10 || T7 === 13) { + u += n5.slice(a5, s5), p4.push(u), T7 === 13 && n5.charCodeAt(s5 + 1) === 10 ? s5 += 2 : ++s5, u = "", a5 = s5, r5 = s5; + continue; + } + if (L5(T7)) ++s5; + else if (K7(n5, s5)) s5 += 2; + else throw h2(e7.source, s5, `Invalid character within String: ${R6(e7, s5)}.`); + } + throw h2(e7.source, s5, "Unterminated string."); +} +function jt5(e7, t26) { + let n5 = e7.source.body, i5 = n5.length, r5 = t26 + 1; + for (; r5 < i5; ) { + let s5 = n5.charCodeAt(r5); + if (Ke7(s5)) ++r5; + else break; + } + return m4(e7, o2.NAME, t26, r5, n5.slice(t26, r5)); +} +function Z6(e7, t26) { + if (!!!e7) throw new Error(t26); +} +function ee5(e7) { + return te7(e7, []); +} +function te7(e7, t26) { + switch (typeof e7) { + case "string": + return JSON.stringify(e7); + case "function": + return e7.name ? `[function ${e7.name}]` : "[function]"; + case "object": + return $t5(e7, t26); + default: + return String(e7); + } +} +function $t5(e7, t26) { + if (e7 === null) return "null"; + if (t26.includes(e7)) return "[Circular]"; + let n5 = [...t26, e7]; + if (Xt7(e7)) { + let i5 = e7.toJSON(); + if (i5 !== e7) return typeof i5 == "string" ? i5 : te7(i5, n5); + } else if (Array.isArray(e7)) return Jt7(e7, n5); + return Ht7(e7, n5); +} +function Xt7(e7) { + return typeof e7.toJSON == "function"; +} +function Ht7(e7, t26) { + let n5 = Object.entries(e7); + return n5.length === 0 ? "{}" : t26.length > 2 ? "[" + qt6(e7) + "]" : "{ " + n5.map(([r5, s5]) => r5 + ": " + te7(s5, t26)).join(", ") + " }"; +} +function Jt7(e7, t26) { + if (e7.length === 0) return "[]"; + if (t26.length > 2) return "[Array]"; + let n5 = Math.min(10, e7.length), i5 = e7.length - n5, r5 = []; + for (let s5 = 0; s5 < n5; ++s5) r5.push(te7(e7[s5], t26)); + return i5 === 1 ? r5.push("... 1 more item") : i5 > 1 && r5.push(`... ${i5} more items`), "[" + r5.join(", ") + "]"; +} +function qt6(e7) { + let t26 = Object.prototype.toString.call(e7).replace(/^\[object /, "").replace(/]$/, ""); + if (t26 === "Object" && typeof e7.constructor == "function") { + let n5 = e7.constructor.name; + if (typeof n5 == "string" && n5 !== "") return n5; + } + return t26; +} +function st5(e7) { + return it5(e7, B4); +} +function ot5(e7, t26) { + let n5 = new fe5(e7, t26), i5 = n5.parseDocument(); + return Object.defineProperty(i5, "tokenCount", { enumerable: false, value: n5.tokenCount }), i5; +} +function ne7(e7) { + let t26 = e7.value; + return at7(e7.kind) + (t26 != null ? ` "${t26}"` : ""); +} +function at7(e7) { + return tt7(e7) ? `"${e7}"` : e7; +} +function Wt6(e7, t26) { + let n5 = new SyntaxError(e7 + " (" + t26.loc.start.line + ":" + t26.loc.start.column + ")"); + return Object.assign(n5, t26); +} +function zt6(e7) { + let t26 = [], { startToken: n5, endToken: i5 } = e7.loc; + for (let r5 = n5; r5 !== i5; r5 = r5.next) r5.kind === "Comment" && t26.push({ ...r5, loc: { start: r5.start, end: r5.end } }); + return t26; +} +function Zt7(e7) { + if (e7?.name === "GraphQLError") { + let { message: t26, locations: [n5] } = e7; + return ct6(t26, { loc: { start: n5 }, cause: e7 }); + } + return e7; +} +function en5(e7) { + let t26; + try { + t26 = ot5(e7, Kt6); + } catch (n5) { + throw Zt7(n5); + } + return t26.comments = zt6(t26), t26; +} +var pt7, de6, ut6, me7, lt5, ft6, U5, ht7, ie6, Ee6, Te6, Ne5, G6, xe5, S3, Y4, _e6, k6, l3, dt6, f4, kn4, $6, ye6, Ae6, Oe6, X6, Ie6, De6, ge6, Se6, se7, oe6, ke7, P5, yt6, Ce6, H7, F6, ce6, qn4, C3, Re6, ve7, Ot7, be6, J7, q6, Le6, Pe5, we5, Fe6, Me7, Ve7, A5, Rt6, Ge7, Ye5, je7, vt7, $e6, he7, bt7, Q6, W6, c3, o2, z5, Qt5, it5, B4, fe5, ct6, Kt6, tn5, nn5; +var init_graphql = __esm({ + "node_modules/prettier/plugins/graphql.mjs"() { + pt7 = Object.defineProperty; + de6 = (e7, t26) => { + for (var n5 in t26) pt7(e7, n5, { get: t26[n5], enumerable: true }); + }; + ut6 = {}; + de6(ut6, { languages: () => Ye5, options: () => $e6, parsers: () => he7, printers: () => nn5 }); + me7 = (e7, t26) => (n5, i5, ...r5) => n5 | 1 && i5 == null ? void 0 : (t26.call(i5) ?? i5[e7]).apply(i5, r5); + lt5 = String.prototype.replaceAll ?? function(e7, t26) { + return e7.global ? this.replace(e7, t26) : this.split(e7).join(t26); + }; + ft6 = me7("replaceAll", function() { + if (typeof this == "string") return lt5; + }); + U5 = ft6; + ht7 = () => { + }; + ie6 = ht7; + Ee6 = "indent"; + Te6 = "group"; + Ne5 = "if-break"; + G6 = "line"; + xe5 = "break-parent"; + S3 = ie6; + Y4 = ie6; + _e6 = { type: xe5 }; + k6 = { type: G6 }; + l3 = { type: G6, soft: true }; + dt6 = { type: G6, hard: true }; + f4 = [dt6, _e6]; + kn4 = j4(/\s/u); + $6 = j4(" "); + ye6 = j4(",; "); + Ae6 = j4(/[^\n\r]/u); + Oe6 = (e7) => e7 === ` +` || e7 === "\r" || e7 === "\u2028" || e7 === "\u2029"; + X6 = mt7; + Ie6 = Et7; + De6 = Tt7; + ge6 = Nt7; + Se6 = xt6; + se7 = _t6; + oe6 = class extends Error { + name = "UnexpectedNodeError"; + constructor(t26, n5, i5 = "type") { + super(`Unexpected ${n5} node ${i5}: ${JSON.stringify(t26[i5])}.`), this.node = t26; + } + }; + ke7 = oe6; + P5 = null; + yt6 = 10; + for (let e7 = 0; e7 <= yt6; e7++) w4(); + Ce6 = At7; + H7 = class { + constructor(t26, n5, i5) { + this.start = t26.start, this.end = n5.end, this.startToken = t26, this.endToken = n5, this.source = i5; + } + get [Symbol.toStringTag]() { + return "Location"; + } + toJSON() { + return { start: this.start, end: this.end }; + } + }; + F6 = class { + constructor(t26, n5, i5, r5, s5, a5) { + this.kind = t26, this.start = n5, this.end = i5, this.line = r5, this.column = s5, this.value = a5, this.prev = null, this.next = null; + } + get [Symbol.toStringTag]() { + return "Token"; + } + toJSON() { + return { kind: this.kind, value: this.value, line: this.line, column: this.column }; + } + }; + ce6 = { Name: [], Document: ["definitions"], OperationDefinition: ["description", "name", "variableDefinitions", "directives", "selectionSet"], VariableDefinition: ["description", "variable", "type", "defaultValue", "directives"], Variable: ["name"], SelectionSet: ["selections"], Field: ["alias", "name", "arguments", "directives", "selectionSet"], Argument: ["name", "value"], FragmentSpread: ["name", "directives"], InlineFragment: ["typeCondition", "directives", "selectionSet"], FragmentDefinition: ["description", "name", "variableDefinitions", "typeCondition", "directives", "selectionSet"], IntValue: [], FloatValue: [], StringValue: [], BooleanValue: [], NullValue: [], EnumValue: [], ListValue: ["values"], ObjectValue: ["fields"], ObjectField: ["name", "value"], Directive: ["name", "arguments"], NamedType: ["name"], ListType: ["type"], NonNullType: ["type"], SchemaDefinition: ["description", "directives", "operationTypes"], OperationTypeDefinition: ["type"], ScalarTypeDefinition: ["description", "name", "directives"], ObjectTypeDefinition: ["description", "name", "interfaces", "directives", "fields"], FieldDefinition: ["description", "name", "arguments", "type", "directives"], InputValueDefinition: ["description", "name", "type", "defaultValue", "directives"], InterfaceTypeDefinition: ["description", "name", "interfaces", "directives", "fields"], UnionTypeDefinition: ["description", "name", "directives", "types"], EnumTypeDefinition: ["description", "name", "directives", "values"], EnumValueDefinition: ["description", "name", "directives"], InputObjectTypeDefinition: ["description", "name", "directives", "fields"], DirectiveDefinition: ["description", "name", "arguments", "locations"], SchemaExtension: ["directives", "operationTypes"], ScalarTypeExtension: ["name", "directives"], ObjectTypeExtension: ["name", "interfaces", "directives", "fields"], InterfaceTypeExtension: ["name", "interfaces", "directives", "fields"], UnionTypeExtension: ["name", "directives", "types"], EnumTypeExtension: ["name", "directives", "values"], InputObjectTypeExtension: ["name", "directives", "fields"], TypeCoordinate: ["name"], MemberCoordinate: ["name", "memberName"], ArgumentCoordinate: ["name", "fieldName", "argumentName"], DirectiveCoordinate: ["name"], DirectiveArgumentCoordinate: ["name", "argumentName"] }; + qn4 = new Set(Object.keys(ce6)); + (function(e7) { + e7.QUERY = "query", e7.MUTATION = "mutation", e7.SUBSCRIPTION = "subscription"; + })(C3 || (C3 = {})); + Re6 = { ...ce6 }; + for (let e7 of ["ArgumentCoordinate", "DirectiveArgumentCoordinate", "DirectiveCoordinate", "MemberCoordinate", "TypeCoordinate"]) delete Re6[e7]; + ve7 = Re6; + Ot7 = Ce6(ve7, "kind"); + be6 = Ot7; + J7 = (e7) => e7.loc.start; + q6 = (e7) => e7.loc.end; + Le6 = "format"; + Pe5 = /^\s*#[^\S\n]*@(?:noformat|noprettier)\s*(?:\n|$)/u; + we5 = /^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/u; + Fe6 = (e7) => we5.test(e7); + Me7 = (e7) => Pe5.test(e7); + Ve7 = (e7) => `# @${Le6} + +${e7}`; + A5 = It6; + Ue6.ignoredProperties = /* @__PURE__ */ new Set(["loc", "comments"]); + Rt6 = { print: Dt6, massageAstNode: Ue6, hasPrettierIgnore: Ct7, insertPragma: Ve7, printComment: St7, canAttachComment: gt6, getVisitorKeys: be6 }; + Ge7 = Rt6; + Ye5 = [{ name: "GraphQL", type: "data", aceMode: "graphqlschema", extensions: [".graphql", ".gql", ".graphqls"], tmScope: "source.graphql", parsers: ["graphql"], vscodeLanguageIds: ["graphql"], linguistLanguageId: 139 }]; + je7 = { bracketSpacing: { category: "Common", type: "boolean", default: true, description: "Print spaces between brackets.", oppositeDescription: "Do not print spaces between brackets." }, objectWrap: { category: "Common", type: "choice", default: "preserve", description: "How to wrap object literals.", choices: [{ value: "preserve", description: "Keep as multi-line, if there is a newline between the opening brace and first property." }, { value: "collapse", description: "Fit to a single line when possible." }] }, singleQuote: { category: "Common", type: "boolean", default: false, description: "Use single quotes instead of double quotes." }, proseWrap: { category: "Common", type: "choice", default: "preserve", description: "How to wrap prose.", choices: [{ value: "always", description: "Wrap prose if it exceeds the print width." }, { value: "never", description: "Do not wrap prose." }, { value: "preserve", description: "Wrap prose as-is." }] }, bracketSameLine: { category: "Common", type: "boolean", default: false, description: "Put > of opening tags on the last line instead of on a new line." }, singleAttributePerLine: { category: "Common", type: "boolean", default: false, description: "Enforce single attribute per line in HTML, Vue and JSX." } }; + vt7 = { bracketSpacing: je7.bracketSpacing }; + $e6 = vt7; + he7 = {}; + de6(he7, { graphql: () => tn5 }); + bt7 = /\r\n|[\n\r]/g; + Q6 = class e5 extends Error { + constructor(t26, ...n5) { + var i5, r5, s5; + let { nodes: a5, source: u, positions: p4, path: T7, originalError: d5, extensions: D7 } = Lt6(n5); + super(t26), this.name = "GraphQLError", this.path = T7 ?? void 0, this.originalError = d5 ?? void 0, this.nodes = Qe7(Array.isArray(a5) ? a5 : a5 ? [a5] : void 0); + let O7 = Qe7((i5 = this.nodes) === null || i5 === void 0 ? void 0 : i5.map((N8) => N8.loc).filter((N8) => N8 != null)); + this.source = u ?? (O7 == null || (r5 = O7[0]) === null || r5 === void 0 ? void 0 : r5.source), this.positions = p4 ?? O7?.map((N8) => N8.start), this.locations = p4 && u ? p4.map((N8) => M6(u, N8)) : O7?.map((N8) => M6(N8.source, N8.start)); + let re9 = Xe7(d5?.extensions) ? d5?.extensions : void 0; + this.extensions = (s5 = D7 ?? re9) !== null && s5 !== void 0 ? s5 : /* @__PURE__ */ Object.create(null), Object.defineProperties(this, { message: { writable: true, enumerable: true }, name: { enumerable: false }, nodes: { enumerable: false }, source: { enumerable: false }, positions: { enumerable: false }, originalError: { enumerable: false } }), d5 != null && d5.stack ? Object.defineProperty(this, "stack", { value: d5.stack, writable: true, configurable: true }) : Error.captureStackTrace ? Error.captureStackTrace(this, e5) : Object.defineProperty(this, "stack", { value: Error().stack, writable: true, configurable: true }); + } + get [Symbol.toStringTag]() { + return "GraphQLError"; + } + toString() { + let t26 = this.message; + if (this.nodes) for (let n5 of this.nodes) n5.loc && (t26 += ` + +` + qe6(n5.loc)); + else if (this.source && this.locations) for (let n5 of this.locations) t26 += ` + +` + ue6(this.source, n5); + return t26; + } + toJSON() { + let t26 = { message: this.message }; + return this.locations != null && (t26.locations = this.locations), this.path != null && (t26.path = this.path), this.extensions != null && Object.keys(this.extensions).length > 0 && (t26.extensions = this.extensions), t26; + } + }; + (function(e7) { + e7.QUERY = "QUERY", e7.MUTATION = "MUTATION", e7.SUBSCRIPTION = "SUBSCRIPTION", e7.FIELD = "FIELD", e7.FRAGMENT_DEFINITION = "FRAGMENT_DEFINITION", e7.FRAGMENT_SPREAD = "FRAGMENT_SPREAD", e7.INLINE_FRAGMENT = "INLINE_FRAGMENT", e7.VARIABLE_DEFINITION = "VARIABLE_DEFINITION", e7.SCHEMA = "SCHEMA", e7.SCALAR = "SCALAR", e7.OBJECT = "OBJECT", e7.FIELD_DEFINITION = "FIELD_DEFINITION", e7.ARGUMENT_DEFINITION = "ARGUMENT_DEFINITION", e7.INTERFACE = "INTERFACE", e7.UNION = "UNION", e7.ENUM = "ENUM", e7.ENUM_VALUE = "ENUM_VALUE", e7.INPUT_OBJECT = "INPUT_OBJECT", e7.INPUT_FIELD_DEFINITION = "INPUT_FIELD_DEFINITION"; + })(W6 || (W6 = {})); + (function(e7) { + e7.NAME = "Name", e7.DOCUMENT = "Document", e7.OPERATION_DEFINITION = "OperationDefinition", e7.VARIABLE_DEFINITION = "VariableDefinition", e7.SELECTION_SET = "SelectionSet", e7.FIELD = "Field", e7.ARGUMENT = "Argument", e7.FRAGMENT_SPREAD = "FragmentSpread", e7.INLINE_FRAGMENT = "InlineFragment", e7.FRAGMENT_DEFINITION = "FragmentDefinition", e7.VARIABLE = "Variable", e7.INT = "IntValue", e7.FLOAT = "FloatValue", e7.STRING = "StringValue", e7.BOOLEAN = "BooleanValue", e7.NULL = "NullValue", e7.ENUM = "EnumValue", e7.LIST = "ListValue", e7.OBJECT = "ObjectValue", e7.OBJECT_FIELD = "ObjectField", e7.DIRECTIVE = "Directive", e7.NAMED_TYPE = "NamedType", e7.LIST_TYPE = "ListType", e7.NON_NULL_TYPE = "NonNullType", e7.SCHEMA_DEFINITION = "SchemaDefinition", e7.OPERATION_TYPE_DEFINITION = "OperationTypeDefinition", e7.SCALAR_TYPE_DEFINITION = "ScalarTypeDefinition", e7.OBJECT_TYPE_DEFINITION = "ObjectTypeDefinition", e7.FIELD_DEFINITION = "FieldDefinition", e7.INPUT_VALUE_DEFINITION = "InputValueDefinition", e7.INTERFACE_TYPE_DEFINITION = "InterfaceTypeDefinition", e7.UNION_TYPE_DEFINITION = "UnionTypeDefinition", e7.ENUM_TYPE_DEFINITION = "EnumTypeDefinition", e7.ENUM_VALUE_DEFINITION = "EnumValueDefinition", e7.INPUT_OBJECT_TYPE_DEFINITION = "InputObjectTypeDefinition", e7.DIRECTIVE_DEFINITION = "DirectiveDefinition", e7.SCHEMA_EXTENSION = "SchemaExtension", e7.SCALAR_TYPE_EXTENSION = "ScalarTypeExtension", e7.OBJECT_TYPE_EXTENSION = "ObjectTypeExtension", e7.INTERFACE_TYPE_EXTENSION = "InterfaceTypeExtension", e7.UNION_TYPE_EXTENSION = "UnionTypeExtension", e7.ENUM_TYPE_EXTENSION = "EnumTypeExtension", e7.INPUT_OBJECT_TYPE_EXTENSION = "InputObjectTypeExtension", e7.TYPE_COORDINATE = "TypeCoordinate", e7.MEMBER_COORDINATE = "MemberCoordinate", e7.ARGUMENT_COORDINATE = "ArgumentCoordinate", e7.DIRECTIVE_COORDINATE = "DirectiveCoordinate", e7.DIRECTIVE_ARGUMENT_COORDINATE = "DirectiveArgumentCoordinate"; + })(c3 || (c3 = {})); + (function(e7) { + e7.SOF = "", e7.EOF = "", e7.BANG = "!", e7.DOLLAR = "$", e7.AMP = "&", e7.PAREN_L = "(", e7.PAREN_R = ")", e7.DOT = ".", e7.SPREAD = "...", e7.COLON = ":", e7.EQUALS = "=", e7.AT = "@", e7.BRACKET_L = "[", e7.BRACKET_R = "]", e7.BRACE_L = "{", e7.PIPE = "|", e7.BRACE_R = "}", e7.NAME = "Name", e7.INT = "Int", e7.FLOAT = "Float", e7.STRING = "String", e7.BLOCK_STRING = "BlockString", e7.COMMENT = "Comment"; + })(o2 || (o2 = {})); + z5 = class { + constructor(t26) { + let n5 = new F6(o2.SOF, 0, 0, 0, 0); + this.source = t26, this.lastToken = n5, this.token = n5, this.line = 1, this.lineStart = 0; + } + get [Symbol.toStringTag]() { + return "Lexer"; + } + advance() { + return this.lastToken = this.token, this.token = this.lookahead(); + } + lookahead() { + let t26 = this.token; + if (t26.kind !== o2.EOF) do + if (t26.next) t26 = t26.next; + else { + let n5 = wt7(this, t26.end); + t26.next = n5, n5.prev = t26, t26 = n5; + } + while (t26.kind === o2.COMMENT); + return t26; + } + }; + Qt5 = globalThis.process && true; + it5 = Qt5 ? function(t26, n5) { + return t26 instanceof n5; + } : function(t26, n5) { + if (t26 instanceof n5) return true; + if (typeof t26 == "object" && t26 !== null) { + var i5; + let r5 = n5.prototype[Symbol.toStringTag], s5 = Symbol.toStringTag in t26 ? t26[Symbol.toStringTag] : (i5 = t26.constructor) === null || i5 === void 0 ? void 0 : i5.name; + if (r5 === s5) { + let a5 = ee5(t26); + throw new Error(`Cannot use ${r5} "${a5}" from another module or realm. + +Ensure that there is only one instance of "graphql" in the node_modules +directory. If different versions of "graphql" are the dependencies of other +relied on modules, use "resolutions" to ensure only one version is installed. + +https://yarnpkg.com/en/docs/selective-version-resolutions + +Duplicate "graphql" modules cannot be used at the same time since different +versions may have different capabilities and behavior. The data from one +version used in the function from another could produce confusing and +spurious results.`); + } + } + return false; + }; + B4 = class { + constructor(t26, n5 = "GraphQL request", i5 = { line: 1, column: 1 }) { + typeof t26 == "string" || Z6(false, `Body must be a string. Received: ${ee5(t26)}.`), this.body = t26, this.name = n5, this.locationOffset = i5, this.locationOffset.line > 0 || Z6(false, "line in locationOffset is 1-indexed and must be positive."), this.locationOffset.column > 0 || Z6(false, "column in locationOffset is 1-indexed and must be positive."); + } + get [Symbol.toStringTag]() { + return "Source"; + } + }; + fe5 = class { + constructor(t26, n5 = {}) { + let { lexer: i5, ...r5 } = n5; + if (i5) this._lexer = i5; + else { + let s5 = st5(t26) ? t26 : new B4(t26); + this._lexer = new z5(s5); + } + this._options = r5, this._tokenCounter = 0; + } + get tokenCount() { + return this._tokenCounter; + } + parseName() { + let t26 = this.expectToken(o2.NAME); + return this.node(t26, { kind: c3.NAME, value: t26.value }); + } + parseDocument() { + return this.node(this._lexer.token, { kind: c3.DOCUMENT, definitions: this.many(o2.SOF, this.parseDefinition, o2.EOF) }); + } + parseDefinition() { + if (this.peek(o2.BRACE_L)) return this.parseOperationDefinition(); + let t26 = this.peekDescription(), n5 = t26 ? this._lexer.lookahead() : this._lexer.token; + if (t26 && n5.kind === o2.BRACE_L) throw h2(this._lexer.source, this._lexer.token.start, "Unexpected description, descriptions are not supported on shorthand queries."); + if (n5.kind === o2.NAME) { + switch (n5.value) { + case "schema": + return this.parseSchemaDefinition(); + case "scalar": + return this.parseScalarTypeDefinition(); + case "type": + return this.parseObjectTypeDefinition(); + case "interface": + return this.parseInterfaceTypeDefinition(); + case "union": + return this.parseUnionTypeDefinition(); + case "enum": + return this.parseEnumTypeDefinition(); + case "input": + return this.parseInputObjectTypeDefinition(); + case "directive": + return this.parseDirectiveDefinition(); + } + switch (n5.value) { + case "query": + case "mutation": + case "subscription": + return this.parseOperationDefinition(); + case "fragment": + return this.parseFragmentDefinition(); + } + if (t26) throw h2(this._lexer.source, this._lexer.token.start, "Unexpected description, only GraphQL definitions support descriptions."); + switch (n5.value) { + case "extend": + return this.parseTypeSystemExtension(); + } + } + throw this.unexpected(n5); + } + parseOperationDefinition() { + let t26 = this._lexer.token; + if (this.peek(o2.BRACE_L)) return this.node(t26, { kind: c3.OPERATION_DEFINITION, operation: C3.QUERY, description: void 0, name: void 0, variableDefinitions: [], directives: [], selectionSet: this.parseSelectionSet() }); + let n5 = this.parseDescription(), i5 = this.parseOperationType(), r5; + return this.peek(o2.NAME) && (r5 = this.parseName()), this.node(t26, { kind: c3.OPERATION_DEFINITION, operation: i5, description: n5, name: r5, variableDefinitions: this.parseVariableDefinitions(), directives: this.parseDirectives(false), selectionSet: this.parseSelectionSet() }); + } + parseOperationType() { + let t26 = this.expectToken(o2.NAME); + switch (t26.value) { + case "query": + return C3.QUERY; + case "mutation": + return C3.MUTATION; + case "subscription": + return C3.SUBSCRIPTION; + } + throw this.unexpected(t26); + } + parseVariableDefinitions() { + return this.optionalMany(o2.PAREN_L, this.parseVariableDefinition, o2.PAREN_R); + } + parseVariableDefinition() { + return this.node(this._lexer.token, { kind: c3.VARIABLE_DEFINITION, description: this.parseDescription(), variable: this.parseVariable(), type: (this.expectToken(o2.COLON), this.parseTypeReference()), defaultValue: this.expectOptionalToken(o2.EQUALS) ? this.parseConstValueLiteral() : void 0, directives: this.parseConstDirectives() }); + } + parseVariable() { + let t26 = this._lexer.token; + return this.expectToken(o2.DOLLAR), this.node(t26, { kind: c3.VARIABLE, name: this.parseName() }); + } + parseSelectionSet() { + return this.node(this._lexer.token, { kind: c3.SELECTION_SET, selections: this.many(o2.BRACE_L, this.parseSelection, o2.BRACE_R) }); + } + parseSelection() { + return this.peek(o2.SPREAD) ? this.parseFragment() : this.parseField(); + } + parseField() { + let t26 = this._lexer.token, n5 = this.parseName(), i5, r5; + return this.expectOptionalToken(o2.COLON) ? (i5 = n5, r5 = this.parseName()) : r5 = n5, this.node(t26, { kind: c3.FIELD, alias: i5, name: r5, arguments: this.parseArguments(false), directives: this.parseDirectives(false), selectionSet: this.peek(o2.BRACE_L) ? this.parseSelectionSet() : void 0 }); + } + parseArguments(t26) { + let n5 = t26 ? this.parseConstArgument : this.parseArgument; + return this.optionalMany(o2.PAREN_L, n5, o2.PAREN_R); + } + parseArgument(t26 = false) { + let n5 = this._lexer.token, i5 = this.parseName(); + return this.expectToken(o2.COLON), this.node(n5, { kind: c3.ARGUMENT, name: i5, value: this.parseValueLiteral(t26) }); + } + parseConstArgument() { + return this.parseArgument(true); + } + parseFragment() { + let t26 = this._lexer.token; + this.expectToken(o2.SPREAD); + let n5 = this.expectOptionalKeyword("on"); + return !n5 && this.peek(o2.NAME) ? this.node(t26, { kind: c3.FRAGMENT_SPREAD, name: this.parseFragmentName(), directives: this.parseDirectives(false) }) : this.node(t26, { kind: c3.INLINE_FRAGMENT, typeCondition: n5 ? this.parseNamedType() : void 0, directives: this.parseDirectives(false), selectionSet: this.parseSelectionSet() }); + } + parseFragmentDefinition() { + let t26 = this._lexer.token, n5 = this.parseDescription(); + return this.expectKeyword("fragment"), this._options.allowLegacyFragmentVariables === true ? this.node(t26, { kind: c3.FRAGMENT_DEFINITION, description: n5, name: this.parseFragmentName(), variableDefinitions: this.parseVariableDefinitions(), typeCondition: (this.expectKeyword("on"), this.parseNamedType()), directives: this.parseDirectives(false), selectionSet: this.parseSelectionSet() }) : this.node(t26, { kind: c3.FRAGMENT_DEFINITION, description: n5, name: this.parseFragmentName(), typeCondition: (this.expectKeyword("on"), this.parseNamedType()), directives: this.parseDirectives(false), selectionSet: this.parseSelectionSet() }); + } + parseFragmentName() { + if (this._lexer.token.value === "on") throw this.unexpected(); + return this.parseName(); + } + parseValueLiteral(t26) { + let n5 = this._lexer.token; + switch (n5.kind) { + case o2.BRACKET_L: + return this.parseList(t26); + case o2.BRACE_L: + return this.parseObject(t26); + case o2.INT: + return this.advanceLexer(), this.node(n5, { kind: c3.INT, value: n5.value }); + case o2.FLOAT: + return this.advanceLexer(), this.node(n5, { kind: c3.FLOAT, value: n5.value }); + case o2.STRING: + case o2.BLOCK_STRING: + return this.parseStringLiteral(); + case o2.NAME: + switch (this.advanceLexer(), n5.value) { + case "true": + return this.node(n5, { kind: c3.BOOLEAN, value: true }); + case "false": + return this.node(n5, { kind: c3.BOOLEAN, value: false }); + case "null": + return this.node(n5, { kind: c3.NULL }); + default: + return this.node(n5, { kind: c3.ENUM, value: n5.value }); + } + case o2.DOLLAR: + if (t26) if (this.expectToken(o2.DOLLAR), this._lexer.token.kind === o2.NAME) { + let i5 = this._lexer.token.value; + throw h2(this._lexer.source, n5.start, `Unexpected variable "$${i5}" in constant value.`); + } else throw this.unexpected(n5); + return this.parseVariable(); + default: + throw this.unexpected(); + } + } + parseConstValueLiteral() { + return this.parseValueLiteral(true); + } + parseStringLiteral() { + let t26 = this._lexer.token; + return this.advanceLexer(), this.node(t26, { kind: c3.STRING, value: t26.value, block: t26.kind === o2.BLOCK_STRING }); + } + parseList(t26) { + let n5 = () => this.parseValueLiteral(t26); + return this.node(this._lexer.token, { kind: c3.LIST, values: this.any(o2.BRACKET_L, n5, o2.BRACKET_R) }); + } + parseObject(t26) { + let n5 = () => this.parseObjectField(t26); + return this.node(this._lexer.token, { kind: c3.OBJECT, fields: this.any(o2.BRACE_L, n5, o2.BRACE_R) }); + } + parseObjectField(t26) { + let n5 = this._lexer.token, i5 = this.parseName(); + return this.expectToken(o2.COLON), this.node(n5, { kind: c3.OBJECT_FIELD, name: i5, value: this.parseValueLiteral(t26) }); + } + parseDirectives(t26) { + let n5 = []; + for (; this.peek(o2.AT); ) n5.push(this.parseDirective(t26)); + return n5; + } + parseConstDirectives() { + return this.parseDirectives(true); + } + parseDirective(t26) { + let n5 = this._lexer.token; + return this.expectToken(o2.AT), this.node(n5, { kind: c3.DIRECTIVE, name: this.parseName(), arguments: this.parseArguments(t26) }); + } + parseTypeReference() { + let t26 = this._lexer.token, n5; + if (this.expectOptionalToken(o2.BRACKET_L)) { + let i5 = this.parseTypeReference(); + this.expectToken(o2.BRACKET_R), n5 = this.node(t26, { kind: c3.LIST_TYPE, type: i5 }); + } else n5 = this.parseNamedType(); + return this.expectOptionalToken(o2.BANG) ? this.node(t26, { kind: c3.NON_NULL_TYPE, type: n5 }) : n5; + } + parseNamedType() { + return this.node(this._lexer.token, { kind: c3.NAMED_TYPE, name: this.parseName() }); + } + peekDescription() { + return this.peek(o2.STRING) || this.peek(o2.BLOCK_STRING); + } + parseDescription() { + if (this.peekDescription()) return this.parseStringLiteral(); + } + parseSchemaDefinition() { + let t26 = this._lexer.token, n5 = this.parseDescription(); + this.expectKeyword("schema"); + let i5 = this.parseConstDirectives(), r5 = this.many(o2.BRACE_L, this.parseOperationTypeDefinition, o2.BRACE_R); + return this.node(t26, { kind: c3.SCHEMA_DEFINITION, description: n5, directives: i5, operationTypes: r5 }); + } + parseOperationTypeDefinition() { + let t26 = this._lexer.token, n5 = this.parseOperationType(); + this.expectToken(o2.COLON); + let i5 = this.parseNamedType(); + return this.node(t26, { kind: c3.OPERATION_TYPE_DEFINITION, operation: n5, type: i5 }); + } + parseScalarTypeDefinition() { + let t26 = this._lexer.token, n5 = this.parseDescription(); + this.expectKeyword("scalar"); + let i5 = this.parseName(), r5 = this.parseConstDirectives(); + return this.node(t26, { kind: c3.SCALAR_TYPE_DEFINITION, description: n5, name: i5, directives: r5 }); + } + parseObjectTypeDefinition() { + let t26 = this._lexer.token, n5 = this.parseDescription(); + this.expectKeyword("type"); + let i5 = this.parseName(), r5 = this.parseImplementsInterfaces(), s5 = this.parseConstDirectives(), a5 = this.parseFieldsDefinition(); + return this.node(t26, { kind: c3.OBJECT_TYPE_DEFINITION, description: n5, name: i5, interfaces: r5, directives: s5, fields: a5 }); + } + parseImplementsInterfaces() { + return this.expectOptionalKeyword("implements") ? this.delimitedMany(o2.AMP, this.parseNamedType) : []; + } + parseFieldsDefinition() { + return this.optionalMany(o2.BRACE_L, this.parseFieldDefinition, o2.BRACE_R); + } + parseFieldDefinition() { + let t26 = this._lexer.token, n5 = this.parseDescription(), i5 = this.parseName(), r5 = this.parseArgumentDefs(); + this.expectToken(o2.COLON); + let s5 = this.parseTypeReference(), a5 = this.parseConstDirectives(); + return this.node(t26, { kind: c3.FIELD_DEFINITION, description: n5, name: i5, arguments: r5, type: s5, directives: a5 }); + } + parseArgumentDefs() { + return this.optionalMany(o2.PAREN_L, this.parseInputValueDef, o2.PAREN_R); + } + parseInputValueDef() { + let t26 = this._lexer.token, n5 = this.parseDescription(), i5 = this.parseName(); + this.expectToken(o2.COLON); + let r5 = this.parseTypeReference(), s5; + this.expectOptionalToken(o2.EQUALS) && (s5 = this.parseConstValueLiteral()); + let a5 = this.parseConstDirectives(); + return this.node(t26, { kind: c3.INPUT_VALUE_DEFINITION, description: n5, name: i5, type: r5, defaultValue: s5, directives: a5 }); + } + parseInterfaceTypeDefinition() { + let t26 = this._lexer.token, n5 = this.parseDescription(); + this.expectKeyword("interface"); + let i5 = this.parseName(), r5 = this.parseImplementsInterfaces(), s5 = this.parseConstDirectives(), a5 = this.parseFieldsDefinition(); + return this.node(t26, { kind: c3.INTERFACE_TYPE_DEFINITION, description: n5, name: i5, interfaces: r5, directives: s5, fields: a5 }); + } + parseUnionTypeDefinition() { + let t26 = this._lexer.token, n5 = this.parseDescription(); + this.expectKeyword("union"); + let i5 = this.parseName(), r5 = this.parseConstDirectives(), s5 = this.parseUnionMemberTypes(); + return this.node(t26, { kind: c3.UNION_TYPE_DEFINITION, description: n5, name: i5, directives: r5, types: s5 }); + } + parseUnionMemberTypes() { + return this.expectOptionalToken(o2.EQUALS) ? this.delimitedMany(o2.PIPE, this.parseNamedType) : []; + } + parseEnumTypeDefinition() { + let t26 = this._lexer.token, n5 = this.parseDescription(); + this.expectKeyword("enum"); + let i5 = this.parseName(), r5 = this.parseConstDirectives(), s5 = this.parseEnumValuesDefinition(); + return this.node(t26, { kind: c3.ENUM_TYPE_DEFINITION, description: n5, name: i5, directives: r5, values: s5 }); + } + parseEnumValuesDefinition() { + return this.optionalMany(o2.BRACE_L, this.parseEnumValueDefinition, o2.BRACE_R); + } + parseEnumValueDefinition() { + let t26 = this._lexer.token, n5 = this.parseDescription(), i5 = this.parseEnumValueName(), r5 = this.parseConstDirectives(); + return this.node(t26, { kind: c3.ENUM_VALUE_DEFINITION, description: n5, name: i5, directives: r5 }); + } + parseEnumValueName() { + if (this._lexer.token.value === "true" || this._lexer.token.value === "false" || this._lexer.token.value === "null") throw h2(this._lexer.source, this._lexer.token.start, `${ne7(this._lexer.token)} is reserved and cannot be used for an enum value.`); + return this.parseName(); + } + parseInputObjectTypeDefinition() { + let t26 = this._lexer.token, n5 = this.parseDescription(); + this.expectKeyword("input"); + let i5 = this.parseName(), r5 = this.parseConstDirectives(), s5 = this.parseInputFieldsDefinition(); + return this.node(t26, { kind: c3.INPUT_OBJECT_TYPE_DEFINITION, description: n5, name: i5, directives: r5, fields: s5 }); + } + parseInputFieldsDefinition() { + return this.optionalMany(o2.BRACE_L, this.parseInputValueDef, o2.BRACE_R); + } + parseTypeSystemExtension() { + let t26 = this._lexer.lookahead(); + if (t26.kind === o2.NAME) switch (t26.value) { + case "schema": + return this.parseSchemaExtension(); + case "scalar": + return this.parseScalarTypeExtension(); + case "type": + return this.parseObjectTypeExtension(); + case "interface": + return this.parseInterfaceTypeExtension(); + case "union": + return this.parseUnionTypeExtension(); + case "enum": + return this.parseEnumTypeExtension(); + case "input": + return this.parseInputObjectTypeExtension(); + } + throw this.unexpected(t26); + } + parseSchemaExtension() { + let t26 = this._lexer.token; + this.expectKeyword("extend"), this.expectKeyword("schema"); + let n5 = this.parseConstDirectives(), i5 = this.optionalMany(o2.BRACE_L, this.parseOperationTypeDefinition, o2.BRACE_R); + if (n5.length === 0 && i5.length === 0) throw this.unexpected(); + return this.node(t26, { kind: c3.SCHEMA_EXTENSION, directives: n5, operationTypes: i5 }); + } + parseScalarTypeExtension() { + let t26 = this._lexer.token; + this.expectKeyword("extend"), this.expectKeyword("scalar"); + let n5 = this.parseName(), i5 = this.parseConstDirectives(); + if (i5.length === 0) throw this.unexpected(); + return this.node(t26, { kind: c3.SCALAR_TYPE_EXTENSION, name: n5, directives: i5 }); + } + parseObjectTypeExtension() { + let t26 = this._lexer.token; + this.expectKeyword("extend"), this.expectKeyword("type"); + let n5 = this.parseName(), i5 = this.parseImplementsInterfaces(), r5 = this.parseConstDirectives(), s5 = this.parseFieldsDefinition(); + if (i5.length === 0 && r5.length === 0 && s5.length === 0) throw this.unexpected(); + return this.node(t26, { kind: c3.OBJECT_TYPE_EXTENSION, name: n5, interfaces: i5, directives: r5, fields: s5 }); + } + parseInterfaceTypeExtension() { + let t26 = this._lexer.token; + this.expectKeyword("extend"), this.expectKeyword("interface"); + let n5 = this.parseName(), i5 = this.parseImplementsInterfaces(), r5 = this.parseConstDirectives(), s5 = this.parseFieldsDefinition(); + if (i5.length === 0 && r5.length === 0 && s5.length === 0) throw this.unexpected(); + return this.node(t26, { kind: c3.INTERFACE_TYPE_EXTENSION, name: n5, interfaces: i5, directives: r5, fields: s5 }); + } + parseUnionTypeExtension() { + let t26 = this._lexer.token; + this.expectKeyword("extend"), this.expectKeyword("union"); + let n5 = this.parseName(), i5 = this.parseConstDirectives(), r5 = this.parseUnionMemberTypes(); + if (i5.length === 0 && r5.length === 0) throw this.unexpected(); + return this.node(t26, { kind: c3.UNION_TYPE_EXTENSION, name: n5, directives: i5, types: r5 }); + } + parseEnumTypeExtension() { + let t26 = this._lexer.token; + this.expectKeyword("extend"), this.expectKeyword("enum"); + let n5 = this.parseName(), i5 = this.parseConstDirectives(), r5 = this.parseEnumValuesDefinition(); + if (i5.length === 0 && r5.length === 0) throw this.unexpected(); + return this.node(t26, { kind: c3.ENUM_TYPE_EXTENSION, name: n5, directives: i5, values: r5 }); + } + parseInputObjectTypeExtension() { + let t26 = this._lexer.token; + this.expectKeyword("extend"), this.expectKeyword("input"); + let n5 = this.parseName(), i5 = this.parseConstDirectives(), r5 = this.parseInputFieldsDefinition(); + if (i5.length === 0 && r5.length === 0) throw this.unexpected(); + return this.node(t26, { kind: c3.INPUT_OBJECT_TYPE_EXTENSION, name: n5, directives: i5, fields: r5 }); + } + parseDirectiveDefinition() { + let t26 = this._lexer.token, n5 = this.parseDescription(); + this.expectKeyword("directive"), this.expectToken(o2.AT); + let i5 = this.parseName(), r5 = this.parseArgumentDefs(), s5 = this.expectOptionalKeyword("repeatable"); + this.expectKeyword("on"); + let a5 = this.parseDirectiveLocations(); + return this.node(t26, { kind: c3.DIRECTIVE_DEFINITION, description: n5, name: i5, arguments: r5, repeatable: s5, locations: a5 }); + } + parseDirectiveLocations() { + return this.delimitedMany(o2.PIPE, this.parseDirectiveLocation); + } + parseDirectiveLocation() { + let t26 = this._lexer.token, n5 = this.parseName(); + if (Object.prototype.hasOwnProperty.call(W6, n5.value)) return n5; + throw this.unexpected(t26); + } + parseSchemaCoordinate() { + let t26 = this._lexer.token, n5 = this.expectOptionalToken(o2.AT), i5 = this.parseName(), r5; + !n5 && this.expectOptionalToken(o2.DOT) && (r5 = this.parseName()); + let s5; + return (n5 || r5) && this.expectOptionalToken(o2.PAREN_L) && (s5 = this.parseName(), this.expectToken(o2.COLON), this.expectToken(o2.PAREN_R)), n5 ? s5 ? this.node(t26, { kind: c3.DIRECTIVE_ARGUMENT_COORDINATE, name: i5, argumentName: s5 }) : this.node(t26, { kind: c3.DIRECTIVE_COORDINATE, name: i5 }) : r5 ? s5 ? this.node(t26, { kind: c3.ARGUMENT_COORDINATE, name: i5, fieldName: r5, argumentName: s5 }) : this.node(t26, { kind: c3.MEMBER_COORDINATE, name: i5, memberName: r5 }) : this.node(t26, { kind: c3.TYPE_COORDINATE, name: i5 }); + } + node(t26, n5) { + return this._options.noLocation !== true && (n5.loc = new H7(t26, this._lexer.lastToken, this._lexer.source)), n5; + } + peek(t26) { + return this._lexer.token.kind === t26; + } + expectToken(t26) { + let n5 = this._lexer.token; + if (n5.kind === t26) return this.advanceLexer(), n5; + throw h2(this._lexer.source, n5.start, `Expected ${at7(t26)}, found ${ne7(n5)}.`); + } + expectOptionalToken(t26) { + return this._lexer.token.kind === t26 ? (this.advanceLexer(), true) : false; + } + expectKeyword(t26) { + let n5 = this._lexer.token; + if (n5.kind === o2.NAME && n5.value === t26) this.advanceLexer(); + else throw h2(this._lexer.source, n5.start, `Expected "${t26}", found ${ne7(n5)}.`); + } + expectOptionalKeyword(t26) { + let n5 = this._lexer.token; + return n5.kind === o2.NAME && n5.value === t26 ? (this.advanceLexer(), true) : false; + } + unexpected(t26) { + let n5 = t26 ?? this._lexer.token; + return h2(this._lexer.source, n5.start, `Unexpected ${ne7(n5)}.`); + } + any(t26, n5, i5) { + this.expectToken(t26); + let r5 = []; + for (; !this.expectOptionalToken(i5); ) r5.push(n5.call(this)); + return r5; + } + optionalMany(t26, n5, i5) { + if (this.expectOptionalToken(t26)) { + let r5 = []; + do + r5.push(n5.call(this)); + while (!this.expectOptionalToken(i5)); + return r5; + } + return []; + } + many(t26, n5, i5) { + this.expectToken(t26); + let r5 = []; + do + r5.push(n5.call(this)); + while (!this.expectOptionalToken(i5)); + return r5; + } + delimitedMany(t26, n5) { + this.expectOptionalToken(t26); + let i5 = []; + do + i5.push(n5.call(this)); + while (this.expectOptionalToken(t26)); + return i5; + } + advanceLexer() { + let { maxTokens: t26 } = this._options, n5 = this._lexer.advance(); + if (n5.kind !== o2.EOF && (++this._tokenCounter, t26 !== void 0 && this._tokenCounter > t26)) throw h2(this._lexer.source, n5.start, `Document contains more that ${t26} tokens. Parsing aborted.`); + } + }; + ct6 = Wt6; + Kt6 = { allowLegacyFragmentVariables: true }; + tn5 = { parse: en5, astFormat: "graphql", hasPragma: Fe6, hasIgnorePragma: Me7, locStart: J7, locEnd: q6 }; + nn5 = { graphql: Ge7 }; + } +}); + +// node_modules/prettier/plugins/html.mjs +var html_exports = {}; +__export(html_exports, { + default: () => ws6, + languages: () => ms6, + options: () => ds6, + parsers: () => Qr6, + printers: () => Ll2 +}); +function Ns6(e7) { + return this[e7 < 0 ? this.length + e7 : e7]; +} +function Os6(e7) { + if (typeof e7 == "string") return Ye6; + if (Array.isArray(e7)) return je8; + if (!e7) return; + let { type: t26 } = e7; + if (bt8.has(t26)) return t26; +} +function Is7(e7) { + let t26 = e7 === null ? "null" : typeof e7; + if (t26 !== "string" && t26 !== "object") return `Unexpected doc '${t26}', +Expected it to be 'string' or 'object'.`; + if (wt8(e7)) throw new Error("doc is valid."); + let r5 = Object.prototype.toString.call(e7); + if (r5 !== "[object Object]") return `Unexpected doc '${r5}'.`; + let n5 = Ds7([...bt8].map((i5) => `'${i5}'`)); + return `Unexpected doc.type '${e7.type}'. +Expected it to be ${n5}.`; +} +function ar7(e7, t26) { + if (typeof e7 == "string") return t26(e7); + let r5 = /* @__PURE__ */ new Map(); + return n5(e7); + function n5(s5) { + if (r5.has(s5)) return r5.get(s5); + let a5 = i5(s5); + return r5.set(s5, a5), a5; + } + function i5(s5) { + switch (wt8(s5)) { + case je8: + return t26(s5.map(n5)); + case Le7: + return t26({ ...s5, parts: s5.parts.map(n5) }); + case Pe6: + return t26({ ...s5, breakContents: n5(s5.breakContents), flatContents: n5(s5.flatContents) }); + case Ne6: { + let { expandedStates: a5, contents: o5 } = s5; + return a5 ? (a5 = a5.map(n5), o5 = a5[0]) : o5 = n5(o5), t26({ ...s5, contents: o5, expandedStates: a5 }); + } + case ye7: + case Ae7: + case Oe7: + case Tt8: + case Ct8: + return t26({ ...s5, contents: n5(s5.contents) }); + case Ye6: + case St8: + case Et8: + case vt8: + case Y5: + case De7: + return t26(s5); + default: + throw new rn4(s5); + } + } +} +function L6(e7, t26 = nn6) { + return ar7(e7, (r5) => typeof r5 == "string" ? q7(t26, r5.split(` +`)) : r5); +} +function A6(e7) { + return D4(e7), { type: Ae7, contents: e7 }; +} +function Rs7(e7, t26) { + return an5(e7), D4(t26), { type: ye7, contents: t26, n: e7 }; +} +function on4(e7) { + return Rs7(Number.NEGATIVE_INFINITY, e7); +} +function xt7(e7) { + return sn5(e7), { type: Le7, parts: e7 }; +} +function C4(e7, t26 = {}) { + return D4(e7), kt8(t26.expandedStates, true), { type: Ne6, id: t26.id, contents: e7, break: !!t26.shouldBreak, expandedStates: t26.expandedStates }; +} +function X7(e7, t26 = "", r5 = {}) { + return D4(e7), t26 !== "" && D4(t26), { type: Pe6, breakContents: e7, flatContents: t26, groupId: r5.groupId }; +} +function ln5(e7, t26) { + return D4(e7), { type: Oe7, contents: e7, groupId: t26.groupId, negate: t26.negate }; +} +function q7(e7, t26) { + D4(e7), kt8(t26); + let r5 = []; + for (let n5 = 0; n5 < t26.length; n5++) n5 !== 0 && r5.push(e7), r5.push(t26[n5]); + return r5; +} +function Hs7(e7, t26) { + let { preferred: r5, alternate: n5 } = t26 === true || t26 === "'" ? Fs7 : qs7, { length: i5 } = e7, s5 = 0, a5 = 0; + for (let o5 = 0; o5 < i5; o5++) { + let c7 = e7.charCodeAt(o5); + c7 === r5.codePoint ? s5++ : c7 === n5.codePoint && a5++; + } + return (s5 > a5 ? n5 : r5).character; +} +function or7(e7) { + if (typeof e7 != "string") throw new TypeError("Expected a string"); + return e7.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d"); +} +function fn6(e7, t26, r5) { + if (e7.kind === "text" || e7.kind === "comment") return null; + if (e7.kind === "yaml" && delete t26.value, e7.kind === "attribute") { + let { fullName: n5, value: i5 } = e7; + n5 === "style" || n5 === "class" || n5 === "srcset" && (r5.fullName === "img" || r5.fullName === "source") || n5 === "allow" && r5.fullName === "iframe" || n5.startsWith("on") || n5.startsWith("@") || n5.startsWith(":") || n5.startsWith(".") || n5.startsWith("#") || n5.startsWith("v-") || n5 === "vars" && r5.fullName === "style" || (n5 === "setup" || n5 === "generic") && r5.fullName === "script" || n5 === "slot-scope" || n5.startsWith("(") || n5.startsWith("[") || n5.startsWith("*") || n5.startsWith("bind") || n5.startsWith("i18n") || n5.startsWith("on-") || n5.startsWith("ng-") || i5?.includes("{{") ? delete t26.value : i5 && (t26.value = w5(0, i5, /'|"|'/gu, '"')); + } + if (e7.kind === "docType" && (t26.value = w5(0, e7.value.toLowerCase(), /\s+/gu, " ")), e7.kind === "angularControlFlowBlock" && e7.parameters?.children) for (let n5 of t26.parameters.children) Gs7.has(e7.name) ? delete n5.expression : n5.expression = n5.expression.trim(); + e7.kind === "angularIcuExpression" && (t26.switchValue = e7.switchValue.trim()), e7.kind === "angularLetDeclarationInitializer" && delete t26.value, e7.kind === "element" && e7.isVoid && !e7.isSelfClosing && (t26.isSelfClosing = true); +} +function K8(e7, t26 = true) { + return [A6([k7, e7]), t26 ? k7 : ""]; +} +function W7(e7, t26) { + let r5 = e7.type === "NGRoot" ? e7.node.type === "NGMicrosyntax" && e7.node.body.length === 1 && e7.node.body[0].type === "NGMicrosyntaxExpression" ? e7.node.body[0].expression : e7.node : e7.type === "JsExpressionRoot" ? e7.node : e7; + return r5 && (r5.type === "ObjectExpression" || r5.type === "ArrayExpression" || (t26.parser === "__vue_expression" || t26.parser === "__vue_ts_expression" || t26.parser === "__ng_binding" || t26.parser === "__ng_directive") && (r5.type === "TemplateLiteral" || r5.type === "StringLiteral")); +} +async function x4(e7, t26, r5, n5) { + r5 = { __isInHtmlAttribute: true, __embeddedInHtml: true, ...r5 }; + let i5 = true; + n5 && (r5.__onHtmlBindingRoot = (a5, o5) => { + i5 = n5(a5, o5); + }); + let s5 = await t26(e7, r5, t26); + return i5 ? C4(s5) : K8(s5); +} +function $s6(e7, t26, r5, n5) { + let { node: i5 } = r5, s5 = n5.originalText.slice(i5.sourceSpan.start.offset, i5.sourceSpan.end.offset); + return /^\s*$/u.test(s5) ? "" : x4(s5, e7, { parser: "__ng_directive", __isInHtmlAttribute: false }, W7); +} +function js7() { + let e7 = globalThis, t26 = e7.Deno?.build?.os; + return typeof t26 == "string" ? t26 === "windows" : e7.navigator?.platform?.startsWith("Win") ?? e7.process?.platform?.startsWith("win") ?? false; +} +function Sn5(e7) { + if (e7 = e7 instanceof URL ? e7 : new URL(e7), e7.protocol !== "file:") throw new TypeError(`URL must be a file URL: received "${e7.protocol}"`); + return e7; +} +function Ks6(e7) { + return e7 = Sn5(e7), decodeURIComponent(e7.pathname.replace(/%(?![0-9A-Fa-f]{2})/g, "%25")); +} +function Qs7(e7) { + e7 = Sn5(e7); + let t26 = decodeURIComponent(e7.pathname.replace(/\//g, "\\").replace(/%(?![0-9A-Fa-f]{2})/g, "%25")).replace(/^\\*([A-Za-z]:)(\\|$)/, "$1\\"); + return e7.hostname !== "" && (t26 = `\\\\${e7.hostname}${t26}`), t26; +} +function ur7(e7) { + return Xs7 ? Qs7(e7) : Ks6(e7); +} +function Js7(e7) { + return Array.isArray(e7) && e7.length > 0; +} +function vn4(e7, t26) { + if (!t26) return; + let r5 = En5(t26).toLowerCase(); + return e7.find(({ filenames: n5 }) => n5?.some((i5) => i5.toLowerCase() === r5)) ?? e7.find(({ extensions: n5 }) => n5?.some((i5) => r5.endsWith(i5))); +} +function Zs7(e7, t26) { + if (t26) return e7.find(({ name: r5 }) => r5.toLowerCase() === t26) ?? e7.find(({ aliases: r5 }) => r5?.includes(t26)) ?? e7.find(({ extensions: r5 }) => r5?.includes(`.${t26}`)); +} +function Tn4(e7, t26) { + if (t26) { + if (Cn4(t26)) try { + t26 = ur7(t26); + } catch { + return; + } + if (typeof t26 == "string") return e7.find(({ isSupported: r5 }) => r5?.({ filepath: t26 })); + } +} +function ta3(e7, t26) { + let r5 = _n4(0, e7.plugins).flatMap((i5) => i5.languages ?? []); + return (Zs7(r5, t26.language) ?? vn4(r5, t26.physicalFile) ?? vn4(r5, t26.file) ?? Tn4(r5, t26.physicalFile) ?? Tn4(r5, t26.file) ?? ea3?.(r5, t26.physicalFile))?.parsers[0]; +} +function ra3(e7) { + return !!e7?.[yt7]; +} +function na2(e7) { + let t26 = e7.slice(0, Xe8); + if (t26 !== "---" && t26 !== "+++") return; + let r5 = e7.indexOf(` +`, Xe8); + if (r5 === -1) return; + let n5 = e7.slice(Xe8, r5).trim(), i5 = e7.indexOf(` +${t26}`, r5), s5 = n5; + if (s5 || (s5 = t26 === "+++" ? "toml" : "yaml"), i5 === -1 && t26 === "---" && s5 === "yaml" && (i5 = e7.indexOf(` +...`, r5)), i5 === -1) return; + let a5 = i5 + 1 + Xe8, o5 = e7.charAt(a5 + 1); + if (!/\s?/u.test(o5)) return; + let c7 = e7.slice(0, a5), u; + return { language: s5, explicitLanguage: n5 || null, value: e7.slice(r5 + 1, i5), startDelimiter: t26, endDelimiter: c7.slice(-Xe8), raw: c7, start: { line: 1, column: 0, index: 0 }, end: { index: c7.length, get line() { + return u ?? (u = c7.split(` +`)), u.length; + }, get column() { + return u ?? (u = c7.split(` +`)), F7(0, u, -1).length; + } }, [yt7]: true }; +} +function ia3(e7) { + let t26 = na2(e7); + return t26 ? { frontMatter: t26, get content() { + let { raw: r5 } = t26; + return w5(0, r5, /[^\n]/gu, " ") + e7.slice(r5.length); + } } : { content: e7 }; +} +function sa3(e7) { + return e7.kind === "element" && !e7.hasExplicitNamespace && !["html", "svg"].includes(e7.namespace); +} +function Nt8(e7, t26) { + return !!(e7.kind === "ieConditionalComment" && e7.lastChild && !e7.lastChild.isSelfClosing && !e7.lastChild.endSourceSpan || e7.kind === "ieConditionalComment" && !e7.complete || pe6(e7) && e7.children.some((r5) => r5.kind !== "text" && r5.kind !== "interpolation") || Ot8(e7, t26) && !H8(e7, t26) && e7.kind !== "interpolation"); +} +function he8(e7) { + return e7.kind === "attribute" || !e7.parent || !e7.prev ? false : oa2(e7.prev); +} +function oa2(e7) { + return e7.kind === "comment" && e7.value.trim() === "prettier-ignore"; +} +function O4(e7) { + return e7.kind === "text" || e7.kind === "comment"; +} +function H8(e7, t26) { + return e7.kind === "element" && (e7.fullName === "script" || e7.fullName === "style" || e7.fullName === "svg:style" || e7.fullName === "svg:script" || e7.fullName === "mj-style" && t26.parser === "mjml" || ue7(e7) && (e7.name === "script" || e7.name === "style")); +} +function xn5(e7, t26) { + return e7.children && !H8(e7, t26); +} +function An4(e7, t26) { + return H8(e7, t26) || e7.kind === "interpolation" || dr7(e7); +} +function dr7(e7) { + return Fn3(e7).startsWith("pre"); +} +function yn5(e7, t26) { + let r5 = n5(); + if (r5 && !e7.prev && e7.parent?.tagDefinition?.ignoreFirstLf) return e7.kind === "interpolation"; + return r5; + function n5() { + return ce7(e7) || e7.kind === "angularControlFlowBlock" ? false : (e7.kind === "text" || e7.kind === "interpolation") && e7.prev && (e7.prev.kind === "text" || e7.prev.kind === "interpolation") ? true : !e7.parent || e7.parent.cssDisplay === "none" ? false : pe6(e7.parent) ? true : !(!e7.prev && (e7.parent.kind === "root" || pe6(e7) && e7.parent || H8(e7.parent, t26) || Je8(e7.parent, t26) || !ma3(e7.parent.cssDisplay)) || e7.prev && !ga(e7.prev.cssDisplay)); + } +} +function Nn3(e7, t26) { + return ce7(e7) || e7.kind === "angularControlFlowBlock" ? false : (e7.kind === "text" || e7.kind === "interpolation") && e7.next && (e7.next.kind === "text" || e7.next.kind === "interpolation") ? true : !e7.parent || e7.parent.cssDisplay === "none" ? false : pe6(e7.parent) ? true : !(!e7.next && (e7.parent.kind === "root" || pe6(e7) && e7.parent || H8(e7.parent, t26) || Je8(e7.parent, t26) || !fa2(e7.parent.cssDisplay)) || e7.next && !da3(e7.next.cssDisplay)); +} +function Ln4(e7, t26) { + return _a3(e7.cssDisplay) && !H8(e7, t26); +} +function Ke8(e7) { + return ce7(e7) || e7.next && e7.sourceSpan.end && e7.sourceSpan.end.line + 1 < e7.next.sourceSpan.start.line; +} +function Pn4(e7) { + return gr6(e7) || e7.kind === "element" && e7.children.length > 0 && (["body", "script", "style"].includes(e7.name) || e7.children.some((t26) => ca2(t26))) || e7.firstChild && e7.firstChild === e7.lastChild && e7.firstChild.kind !== "text" && Dn4(e7.firstChild) && (!e7.lastChild.isTrailingSpaceSensitive || In4(e7.lastChild)); +} +function gr6(e7) { + return e7.kind === "element" && e7.children.length > 0 && (["html", "head", "ul", "ol", "select"].includes(e7.name) || e7.cssDisplay.startsWith("table") && e7.cssDisplay !== "table-cell"); +} +function Lt7(e7) { + return Rn3(e7) || e7.prev && la2(e7.prev) || On4(e7); +} +function la2(e7) { + return Rn3(e7) || e7.kind === "element" && e7.fullName === "br" || On4(e7); +} +function On4(e7) { + return Dn4(e7) && In4(e7); +} +function Dn4(e7) { + return e7.hasLeadingSpaces && (e7.prev ? e7.prev.sourceSpan.end.line < e7.sourceSpan.start.line : e7.parent.kind === "root" || e7.parent.startSourceSpan.end.line < e7.sourceSpan.start.line); +} +function In4(e7) { + return e7.hasTrailingSpaces && (e7.next ? e7.next.sourceSpan.start.line > e7.sourceSpan.end.line : e7.parent.kind === "root" || e7.parent.endSourceSpan && e7.parent.endSourceSpan.start.line > e7.sourceSpan.end.line); +} +function Rn3(e7) { + switch (e7.kind) { + case "ieConditionalComment": + case "comment": + case "directive": + return true; + case "element": + return ["script", "select"].includes(e7.name); + } + return false; +} +function Pt8(e7) { + return e7.lastChild ? Pt8(e7.lastChild) : e7; +} +function ca2(e7) { + return e7.children?.some((t26) => t26.kind !== "text"); +} +function Mn3(e7) { + if (e7) switch (e7) { + case "module": + case "text/javascript": + case "text/babel": + case "text/jsx": + case "application/javascript": + return "babel"; + case "application/x-typescript": + return "typescript"; + case "text/markdown": + return "markdown"; + case "text/html": + return "html"; + case "text/x-handlebars-template": + return "glimmer"; + default: + if (e7.endsWith("json") || e7.endsWith("importmap") || e7 === "speculationrules") return "json"; + } +} +function ua3(e7, t26) { + let { name: r5, attrMap: n5 } = e7; + if (r5 !== "script" || Object.prototype.hasOwnProperty.call(n5, "src")) return; + let { type: i5, lang: s5 } = e7.attrMap; + return !s5 && !i5 ? "babel" : At8(t26, { language: s5 }) ?? Mn3(i5); +} +function pa2(e7, t26) { + if (!Ot8(e7, t26)) return; + let { attrMap: r5 } = e7; + if (Object.prototype.hasOwnProperty.call(r5, "src")) return; + let { type: n5, lang: i5 } = r5; + return At8(t26, { language: i5 }) ?? Mn3(n5); +} +function ha(e7, t26) { + if (e7.name === "style") { + let { lang: r5 } = e7.attrMap; + return r5 ? At8(t26, { language: r5 }) : "css"; + } + if (e7.name === "mj-style" && t26.parser === "mjml") return "css"; +} +function _r6(e7, t26) { + return ua3(e7, t26) ?? ha(e7, t26) ?? pa2(e7, t26); +} +function Qe8(e7) { + return e7 === "block" || e7 === "list-item" || e7.startsWith("table"); +} +function ma3(e7) { + return !Qe8(e7) && e7 !== "inline-block"; +} +function fa2(e7) { + return !Qe8(e7) && e7 !== "inline-block"; +} +function da3(e7) { + return !Qe8(e7); +} +function ga(e7) { + return !Qe8(e7); +} +function _a3(e7) { + return !Qe8(e7) && e7 !== "inline-block"; +} +function pe6(e7) { + return Fn3(e7).startsWith("pre"); +} +function Sa(e7, t26) { + let r5 = e7; + for (; r5; ) { + if (t26(r5)) return true; + r5 = r5.parent; + } + return false; +} +function Bn4(e7, t26) { + if (me8(e7, t26)) return "block"; + if (e7.prev?.kind === "comment") { + let n5 = e7.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/u); + if (n5) return n5[1]; + } + let r5 = false; + if (e7.kind === "element" && e7.namespace === "svg") if (Sa(e7, (n5) => n5.fullName === "svg:foreignObject")) r5 = true; + else return e7.name === "svg" ? "inline-block" : "block"; + switch (t26.htmlWhitespaceSensitivity) { + case "strict": + return "inline"; + case "ignore": + return "block"; + default: + if (e7.kind === "element" && (!e7.namespace || r5 || ue7(e7)) && Object.prototype.hasOwnProperty.call(hr7, e7.name)) return hr7[e7.name]; + } + return bn4; +} +function Fn3(e7) { + return e7.kind === "element" && (!e7.namespace || ue7(e7)) && Object.prototype.hasOwnProperty.call(mr5, e7.name) ? mr5[e7.name] : wn4; +} +function Sr5(e7) { + return w5(0, w5(0, e7, "'", "'"), """, '"'); +} +function b6(e7) { + return Sr5(e7.value); +} +function Je8(e7, t26) { + return me8(e7, t26) && !Ea2.has(e7.fullName); +} +function me8(e7, t26) { + return t26.parser === "vue" && e7.kind === "element" && e7.parent.kind === "root" && e7.fullName.toLowerCase() !== "html"; +} +function Ot8(e7, t26) { + return me8(e7, t26) && (Je8(e7, t26) || e7.attrMap.lang && e7.attrMap.lang !== "html"); +} +function qn5(e7) { + let t26 = e7.fullName; + return t26.charAt(0) === "#" || t26 === "slot-scope" || t26 === "v-slot" || t26.startsWith("v-slot:"); +} +function Hn4(e7, t26) { + let r5 = e7.parent; + if (!me8(r5, t26)) return false; + let n5 = r5.fullName, i5 = e7.fullName; + return n5 === "script" && i5 === "setup" || n5 === "style" && i5 === "vars"; +} +function Dt7(e7, t26 = e7.value) { + return e7.parent.isWhitespaceSensitive ? e7.parent.isIndentationSensitive ? L6(t26) : L6(y3.dedentString(fr7(t26)), v7) : q7(_6, y3.split(t26)); +} +function It7(e7, t26) { + return me8(e7, t26) && e7.name === "script"; +} +function Ca2(e7) { + let { valueSpan: t26, value: r5 } = e7; + return t26.end.offset - t26.start.offset === r5.length + 2; +} +function Rt7(e7, t26) { + if (Ca2(e7)) return false; + let { value: r5 } = e7; + return /^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/u.test(r5) || t26.parser === "lwc" && r5.startsWith("{") && r5.endsWith("}"); +} +async function Wn4(e7, t26, r5) { + let n5 = b6(r5.node), i5 = []; + for (let [s5, a5] of n5.split(Vn3).entries()) if (s5 % 2 === 0) i5.push(L6(a5)); + else try { + i5.push(C4(["{{", A6([_6, await x4(a5, e7, { parser: "__ng_interpolation", __isInHtmlInterpolation: true })]), _6, "}}"])); + } catch { + i5.push("{{", L6(a5), "}}"); + } + return i5; +} +function Ta2(e7, t26, { node: r5 }) { + let n5 = b6(r5); + return K8(xt7(Dt7(r5, n5.trim())), !n5.includes("@@")); +} +function ka2(e7) { + let t26 = []; + for (let r5 of e7.split(";")) { + if (r5 = y3.trim(r5), !r5) continue; + let [n5, ...i5] = y3.split(r5); + t26.push({ name: n5, value: i5 }); + } + return t26; +} +function Qn4(e7, t26, r5) { + let { node: n5 } = r5, i5 = Xn5(b6(n5)); + return i5.length === 0 ? [""] : K8(i5.map(({ name: s5, value: a5 }, o5) => [[s5, ...a5].join(" "), o5 === i5.length - 1 ? X7(";") : [";", _6]])); +} +function Jn4(e7) { + return e7 === " " || e7 === ` +` || e7 === "\f" || e7 === "\r" || e7 === " "; +} +function Pa2(e7) { + let t26 = e7.length, r5, n5, i5, s5, a5, o5 = 0, c7; + function u(m7) { + let g5, E7 = m7.exec(e7.substring(o5)); + if (E7) return [g5] = E7, o5 += g5.length, g5; + } + let p4 = []; + for (; ; ) { + if (u(Aa2), o5 >= t26) { + if (p4.length === 0) throw new Error("Must contain one or more image candidate strings."); + return p4; + } + c7 = o5, r5 = u(ya2), n5 = [], r5.slice(-1) === "," ? (r5 = r5.replace(Na2, ""), S7()) : d5(); + } + function d5() { + for (u(xa2), i5 = "", s5 = "in descriptor"; ; ) { + if (a5 = e7.charAt(o5), s5 === "in descriptor") if (Jn4(a5)) i5 && (n5.push(i5), i5 = "", s5 = "after descriptor"); + else if (a5 === ",") { + o5 += 1, i5 && n5.push(i5), S7(); + return; + } else if (a5 === "(") i5 += a5, s5 = "in parens"; + else if (a5 === "") { + i5 && n5.push(i5), S7(); + return; + } else i5 += a5; + else if (s5 === "in parens") if (a5 === ")") i5 += a5, s5 = "in descriptor"; + else if (a5 === "") { + n5.push(i5), S7(); + return; + } else i5 += a5; + else if (s5 === "after descriptor" && !Jn4(a5)) if (a5 === "") { + S7(); + return; + } else s5 = "in descriptor", o5 -= 1; + o5 += 1; + } + } + function S7() { + let m7 = false, g5, E7, P8, z9, le9 = {}, ee8, _t9, ke11, Ge11, nr9; + for (z9 = 0; z9 < n5.length; z9++) ee8 = n5[z9], _t9 = ee8[ee8.length - 1], ke11 = ee8.substring(0, ee8.length - 1), Ge11 = parseInt(ke11, 10), nr9 = parseFloat(ke11), Zn5.test(ke11) && _t9 === "w" ? ((g5 || E7) && (m7 = true), Ge11 === 0 ? m7 = true : g5 = Ge11) : La2.test(ke11) && _t9 === "x" ? ((g5 || E7 || P8) && (m7 = true), nr9 < 0 ? m7 = true : E7 = nr9) : Zn5.test(ke11) && _t9 === "h" ? ((P8 || E7) && (m7 = true), Ge11 === 0 ? m7 = true : P8 = Ge11) : m7 = true; + if (!m7) le9.source = { value: r5, startOffset: c7 }, g5 && (le9.width = { value: g5 }), E7 && (le9.density = { value: E7 }), P8 && (le9.height = { value: P8 }), p4.push(le9); + else throw new Error(`Invalid srcset descriptor found in "${e7}" at "${ee8}".`); + } +} +function ni7(e7, t26, r5) { + let n5 = b6(r5.node), i5 = ei7(n5), s5 = Oa2.filter((m7) => i5.some((g5) => Object.prototype.hasOwnProperty.call(g5, m7))); + if (s5.length > 1) throw new Error("Mixed descriptor in srcset is not supported"); + let [a5] = s5, o5 = ri7[a5], c7 = i5.map((m7) => m7.source.value), u = Math.max(...c7.map((m7) => m7.length)), p4 = i5.map((m7) => m7[a5] ? String(m7[a5].value) : ""), d5 = p4.map((m7) => { + let g5 = m7.indexOf("."); + return g5 === -1 ? m7.length : g5; + }), S7 = Math.max(...d5); + return K8(q7([",", _6], c7.map((m7, g5) => { + let E7 = [m7], P8 = p4[g5]; + if (P8) { + let z9 = u - m7.length + 1, le9 = S7 - d5[g5], ee8 = " ".repeat(z9 + le9); + E7.push(X7(ee8, " "), P8 + o5); + } + return E7; + }))); +} +function Da3(e7, t26) { + let { root: r5 } = e7; + return vr5.has(r5) || vr5.set(r5, r5.children.some((n5) => It7(n5, t26) && ["ts", "typescript"].includes(n5.attrMap.lang))), vr5.get(r5); +} +function ai7(e7, t26, r5) { + let n5 = b6(r5.node); + return x4(`type T<${n5}> = any`, e7, { parser: "babel-ts", __isEmbeddedTypescriptGenericParameters: true }, W7); +} +function oi7(e7, t26, r5, n5) { + let i5 = b6(r5.node), s5 = G7(r5, n5) ? "babel-ts" : "babel"; + return x4(`function _(${i5}) {}`, e7, { parser: s5, __isVueBindings: true }); +} +async function li7(e7, t26, r5, n5) { + let i5 = b6(r5.node), { left: s5, operator: a5, right: o5 } = Ia2(i5), c7 = G7(r5, n5); + return [C4(await x4(`function _(${s5}) {}`, e7, { parser: c7 ? "babel-ts" : "babel", __isVueForBindingLeft: true })), " ", a5, " ", await x4(o5, e7, { parser: c7 ? "__ts_expression" : "__js_expression" })]; +} +function Ia2(e7) { + let t26 = /(.*?)\s+(in|of)\s+(.*)/su, r5 = /,([^,\]}]*)(?:,([^,\]}]*))?$/u, n5 = /^\(|\)$/gu, i5 = e7.match(t26); + if (!i5) return; + let s5 = { for: i5[3].trim() }; + if (!s5.for) return; + let a5 = w5(0, i5[1].trim(), n5, ""), o5 = a5.match(r5); + o5 ? (s5.alias = a5.replace(r5, ""), s5.iterator1 = o5[1].trim(), o5[2] && (s5.iterator2 = o5[2].trim())) : s5.alias = a5; + let c7 = [s5.alias, s5.iterator1, s5.iterator2]; + if (!c7.some((u, p4) => !u && (p4 === 0 || c7.slice(p4 + 1).some(Boolean)))) return { left: c7.filter(Boolean).join(","), operator: i5[2], right: s5.for }; +} +async function Ma2(e7, t26, r5, n5) { + try { + return await ci7(e7, t26, r5, n5); + } catch (a5) { + if (a5.cause?.code !== "BABEL_PARSER_SYNTAX_ERROR") throw a5; + } + let i5 = b6(r5.node), s5 = G7(r5, n5) ? "__vue_ts_event_binding" : "__vue_event_binding"; + return x4(i5, e7, { parser: s5 }, W7); +} +function Ba3(e7, t26, r5, n5) { + let i5 = b6(r5.node), s5 = G7(r5, n5) ? "__vue_ts_expression" : "__vue_expression"; + return x4(i5, e7, { parser: s5 }, W7); +} +function ci7(e7, t26, r5, n5) { + let i5 = b6(r5.node), s5 = G7(r5, n5) ? "__ts_expression" : "__js_expression"; + return x4(i5, e7, { parser: s5 }, W7); +} +function qa3(e7, t26) { + let { node: r5 } = e7, { value: n5 } = r5; + if (n5) return Rt7(r5, t26) ? [r5.rawName, "=", n5] : Fa3.find(({ test: i5 }) => i5(e7, t26))?.print; +} +function Ha3(e7) { + return async (t26, r5, n5, i5) => { + let s5 = await e7(t26, r5, n5, i5); + if (s5) return s5 = ar7(s5, (a5) => typeof a5 == "string" ? w5(0, a5, '"', """) : a5), [n5.node.rawName, '="', C4(s5), '"']; + }; +} +function Ze8(e7, t26) { + return [e7.isSelfClosing ? "" : Va3(e7, t26), fe6(e7, t26)]; +} +function Va3(e7, t26) { + return e7.lastChild && _e7(e7.lastChild) ? "" : [Ua3(e7, t26), Mt8(e7, t26)]; +} +function fe6(e7, t26) { + return (e7.next ? $7(e7.next) : ge7(e7.parent)) ? "" : [de7(e7, t26), V7(e7, t26)]; +} +function Ua3(e7, t26) { + return ge7(e7) ? de7(e7.lastChild, t26) : ""; +} +function V7(e7, t26) { + return _e7(e7) ? Mt8(e7.parent, t26) : et8(e7) ? Bt6(e7.next, t26) : ""; +} +function Mt8(e7, t26) { + if (mi7(e7, t26)) return ""; + switch (e7.kind) { + case "ieConditionalComment": + return ""; + case "ieConditionalStartComment": + return "]>"; + case "interpolation": + return "}}"; + case "angularIcuExpression": + return "}"; + case "element": + if (e7.isSelfClosing) return "/>"; + default: + return ">"; + } +} +function mi7(e7, t26) { + return !e7.isSelfClosing && !e7.endSourceSpan && (he8(e7) || Nt8(e7.parent, t26)); +} +function $7(e7) { + return e7.prev && e7.prev.kind !== "docType" && e7.kind !== "angularControlFlowBlock" && !O4(e7.prev) && e7.isLeadingSpaceSensitive && !e7.hasLeadingSpaces; +} +function ge7(e7) { + return e7.lastChild?.isTrailingSpaceSensitive && !e7.lastChild.hasTrailingSpaces && !O4(Pt8(e7.lastChild)) && !pe6(e7); +} +function _e7(e7) { + return !e7.next && !e7.hasTrailingSpaces && e7.isTrailingSpaceSensitive && O4(Pt8(e7)); +} +function et8(e7) { + return e7.next && !O4(e7.next) && O4(e7) && e7.isTrailingSpaceSensitive && !e7.hasTrailingSpaces; +} +function Wa3(e7) { + let t26 = e7.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/su); + return t26 ? t26[1] ? t26[1].split(/\s+/u) : true : false; +} +function tt8(e7) { + return !e7.prev && e7.isLeadingSpaceSensitive && !e7.hasLeadingSpaces; +} +function Ga3(e7, t26, r5) { + let { node: n5 } = e7; + if (!Ie7(n5.attrs)) return n5.isSelfClosing ? " " : ""; + let i5 = n5.prev?.kind === "comment" && Wa3(n5.prev.value), s5 = typeof i5 == "boolean" ? () => i5 : Array.isArray(i5) ? (d5) => i5.includes(d5.rawName) : () => false, a5 = e7.map(({ node: d5 }) => s5(d5) ? L6(t26.originalText.slice(Q7(d5), te8(d5))) : r5(), "attrs"), o5 = n5.kind === "element" && n5.fullName === "script" && n5.attrs.length === 1 && n5.attrs[0].fullName === "src" && n5.children.length === 0, u = t26.singleAttributePerLine && n5.attrs.length > 1 && !me8(n5, t26) ? v7 : _6, p4 = [A6([o5 ? " " : _6, q7(u, a5)])]; + return n5.firstChild && tt8(n5.firstChild) || n5.isSelfClosing && ge7(n5.parent) || o5 ? p4.push(n5.isSelfClosing ? " " : "") : p4.push(t26.bracketSameLine ? n5.isSelfClosing ? " " : "" : n5.isSelfClosing ? _6 : k7), p4; +} +function $a4(e7) { + return e7.firstChild && tt8(e7.firstChild) ? "" : Ft7(e7); +} +function rt8(e7, t26, r5) { + let { node: n5 } = e7; + return [Se7(n5, t26), Ga3(e7, t26, r5), n5.isSelfClosing ? "" : $a4(n5)]; +} +function Se7(e7, t26) { + return e7.prev && et8(e7.prev) ? "" : [U6(e7, t26), Bt6(e7, t26)]; +} +function U6(e7, t26) { + return tt8(e7) ? Ft7(e7.parent) : $7(e7) ? de7(e7.prev, t26) : ""; +} +function Bt6(e7, t26) { + switch (e7.kind) { + case "ieConditionalComment": + case "ieConditionalStartComment": + return `<${e7.rawName}`; + default: + return `<${e7.rawName}`; + } +} +function Ft7(e7) { + switch (e7.kind) { + case "ieConditionalComment": + return "]>"; + case "element": + if (e7.condition) return ">"; + default: + return ">"; + } +} +function za2(e7, t26) { + if (!e7.endSourceSpan) return ""; + let r5 = e7.startSourceSpan.end.offset; + e7.firstChild && tt8(e7.firstChild) && (r5 -= Ft7(e7).length); + let n5 = e7.endSourceSpan.start.offset; + return e7.lastChild && _e7(e7.lastChild) ? n5 += Mt8(e7, t26).length : ge7(e7) && (n5 -= de7(e7.lastChild, t26).length), t26.originalText.slice(r5, n5); +} +function ja3(e7, t26) { + let { node: r5 } = e7; + switch (r5.kind) { + case "element": + if (H8(r5, t26) || r5.kind === "interpolation") return; + if (!r5.isSelfClosing && Ot8(r5, t26)) { + let n5 = _r6(r5, t26); + return n5 ? async (i5, s5) => { + let a5 = qt7(r5, t26), o5 = /^\s*$/u.test(a5), c7 = ""; + return o5 || (c7 = await i5(fr7(a5), { parser: n5, __embeddedInHtml: true }), o5 = c7 === ""), [U6(r5, t26), C4(rt8(e7, t26, s5)), o5 ? "" : v7, c7, o5 ? "" : v7, Ze8(r5, t26), V7(r5, t26)]; + } : void 0; + } + break; + case "text": + if (H8(r5.parent, t26)) { + let n5 = _r6(r5.parent, t26); + if (n5) return async (i5) => { + let s5 = n5 === "markdown" ? y3.dedentString(r5.value.replace(/^[^\S\n]*\n/u, "")) : r5.value, a5 = { parser: n5, __embeddedInHtml: true }; + if (t26.parser === "html" && n5 === "babel") { + let o5 = "script", { attrMap: c7 } = r5.parent; + c7 && (c7.type === "module" || (c7.type === "text/babel" || c7.type === "text/jsx") && c7["data-type"] === "module") && (o5 = "module"), a5.__babelSourceType = o5; + } + return [j5, U6(r5, t26), await i5(s5, a5), V7(r5, t26)]; + }; + } else if (r5.parent.kind === "interpolation") return async (n5) => { + let i5 = { __isInHtmlInterpolation: true, __embeddedInHtml: true }; + return t26.parser === "angular" ? i5.parser = "__ng_interpolation" : t26.parser === "vue" ? i5.parser = G7(e7, t26) ? "__vue_ts_expression" : "__vue_expression" : i5.parser = "__js_expression", [A6([_6, await n5(r5.value, i5)]), r5.parent.next && $7(r5.parent.next) ? " " : _6]; + }; + break; + case "attribute": + return pi7(e7, t26); + case "angularControlFlowBlockParameters": + return Ya3.has(e7.parent.name) ? gn5 : void 0; + case "angularLetDeclarationInitializer": + return (n5) => x4(r5.value, n5, { parser: "__ng_binding", __isInHtmlAttribute: false }); + } +} +function it6(e7) { + if (nt8 !== null && typeof nt8.property) { + let t26 = nt8; + return nt8 = it6.prototype = null, t26; + } + return nt8 = it6.prototype = e7 ?? /* @__PURE__ */ Object.create(null), new it6(); +} +function Tr5(e7) { + return it6(e7); +} +function Ka3(e7, t26 = "type") { + Tr5(e7); + function r5(n5) { + let i5 = n5[t26], s5 = e7[i5]; + if (!Array.isArray(s5)) throw Object.assign(new Error(`Missing visitor keys for '${i5}'.`), { node: n5 }); + return s5; + } + return r5; +} +function ki7(e7) { + let t26 = te8(e7); + return e7.kind === "element" && !e7.endSourceSpan && Ie7(e7.children) ? Math.max(t26, ki7(F7(0, e7.children, -1))) : t26; +} +function st6(e7, t26, r5) { + let n5 = e7.node; + if (he8(n5)) { + let i5 = ki7(n5); + return [U6(n5, t26), L6(y3.trimEnd(t26.originalText.slice(Q7(n5) + (n5.prev && et8(n5.prev) ? Bt6(n5).length : 0), i5 - (n5.next && $7(n5.next) ? de7(n5, t26).length : 0)))), V7(n5, t26)]; + } + return r5(); +} +function Ht8(e7, t26) { + return O4(e7) && O4(t26) ? e7.isTrailingSpaceSensitive ? e7.hasTrailingSpaces ? Lt7(t26) ? v7 : _6 : "" : Lt7(t26) ? v7 : k7 : et8(e7) && (he8(t26) || t26.firstChild || t26.isSelfClosing || t26.kind === "element" && t26.attrs.length > 0) || e7.kind === "element" && e7.isSelfClosing && $7(t26) ? "" : !t26.isLeadingSpaceSensitive || Lt7(t26) || $7(t26) && e7.lastChild && _e7(e7.lastChild) && e7.lastChild.lastChild && _e7(e7.lastChild.lastChild) ? v7 : t26.hasLeadingSpaces ? _6 : k7; +} +function Re7(e7, t26, r5) { + let { node: n5 } = e7; + if (gr6(n5)) return [j5, ...e7.map(() => { + let s5 = e7.node, a5 = s5.prev ? Ht8(s5.prev, s5) : ""; + return [a5 ? [a5, Ke8(s5.prev) ? v7 : ""] : "", st6(e7, t26, r5)]; + }, "children")]; + let i5 = n5.children.map(() => /* @__PURE__ */ Symbol("")); + return e7.map(({ node: s5, index: a5 }) => { + if (O4(s5)) { + if (s5.prev && O4(s5.prev)) { + let m7 = Ht8(s5.prev, s5); + if (m7) return Ke8(s5.prev) ? [v7, v7, st6(e7, t26, r5)] : [m7, st6(e7, t26, r5)]; + } + return st6(e7, t26, r5); + } + let o5 = [], c7 = [], u = [], p4 = [], d5 = s5.prev ? Ht8(s5.prev, s5) : "", S7 = s5.next ? Ht8(s5, s5.next) : ""; + return d5 && (Ke8(s5.prev) ? o5.push(v7, v7) : d5 === v7 ? o5.push(v7) : O4(s5.prev) ? c7.push(d5) : c7.push(X7("", k7, { groupId: i5[a5 - 1] }))), S7 && (Ke8(s5) ? O4(s5.next) && p4.push(v7, v7) : S7 === v7 ? O4(s5.next) && p4.push(v7) : u.push(S7)), [...o5, C4([...c7, C4([st6(e7, t26, r5), ...u], { id: i5[a5] })]), ...p4]; + }, "children"); +} +function xi7(e7, t26, r5) { + let { node: n5 } = e7, i5 = []; + if (eo4(e7) && i5.push("} "), i5.push("@", n5.name), n5.parameters && i5.push(" (", C4(r5("parameters")), ")"), !Za2(n5)) { + i5.push(" {"); + let s5 = Ai7(n5); + n5.children.length > 0 ? (n5.firstChild.hasLeadingSpaces = true, n5.lastChild.hasTrailingSpaces = true, i5.push(A6([v7, Re7(e7, t26, r5)])), s5 && i5.push(v7, "}")) : s5 && i5.push("}"); + } + return C4(i5, { shouldBreak: true }); +} +function Ai7(e7) { + return !(e7.next?.kind === "angularControlFlowBlock" && wi7.get(e7.name)?.has(e7.next.name)); +} +function Za2(e7) { + return Ja3(e7) && e7.endSourceSpan && e7.endSourceSpan.start.offset === e7.endSourceSpan.end.offset; +} +function eo4(e7) { + let { previous: t26 } = e7; + return t26?.kind === "angularControlFlowBlock" && !he8(t26) && !Ai7(t26); +} +function yi6(e7, t26, r5) { + return [A6([k7, q7([";", _6], e7.map(r5, "children"))]), k7]; +} +function Ni7(e7, t26, r5) { + let { node: n5 } = e7; + return [Se7(n5, t26), C4([n5.switchValue.trim(), ", ", n5.type, n5.cases.length > 0 ? [",", A6([_6, q7(_6, e7.map(r5, "cases"))])] : "", k7]), fe6(n5, t26)]; +} +function Li6(e7, t26, r5) { + let { node: n5 } = e7; + return [n5.value, " {", C4([A6([k7, e7.map(({ node: i5, isLast: s5 }) => { + let a5 = [r5()]; + return i5.kind === "text" && (i5.hasLeadingSpaces && a5.unshift(_6), i5.hasTrailingSpaces && !s5 && a5.push(_6)), a5; + }, "expression")]), k7]), "}"]; +} +function Pi6(e7, t26, r5) { + let { node: n5 } = e7; + if (Nt8(n5, t26)) return [U6(n5, t26), C4(rt8(e7, t26, r5)), L6(qt7(n5, t26)), ...Ze8(n5, t26), V7(n5, t26)]; + let i5 = n5.children.length === 1 && (n5.firstChild.kind === "interpolation" || n5.firstChild.kind === "angularIcuExpression") && n5.firstChild.isLeadingSpaceSensitive && !n5.firstChild.hasLeadingSpaces && n5.lastChild.isTrailingSpaceSensitive && !n5.lastChild.hasTrailingSpaces, s5 = /* @__PURE__ */ Symbol("element-attr-group-id"), a5 = (p4) => C4([C4(rt8(e7, t26, r5), { id: s5 }), p4, Ze8(n5, t26)]), o5 = (p4) => i5 ? ln5(p4, { groupId: s5 }) : (H8(n5, t26) || Je8(n5, t26)) && n5.parent.kind === "root" && t26.parser === "vue" && !t26.vueIndentScriptAndStyle ? p4 : A6(p4), c7 = () => i5 ? X7(k7, "", { groupId: s5 }) : n5.firstChild.hasLeadingSpaces && n5.firstChild.isLeadingSpaceSensitive ? _6 : n5.firstChild.kind === "text" && n5.isWhitespaceSensitive && n5.isIndentationSensitive ? on4(k7) : k7, u = () => (n5.next ? $7(n5.next) : ge7(n5.parent)) ? n5.lastChild.hasTrailingSpaces && n5.lastChild.isTrailingSpaceSensitive ? " " : "" : i5 ? X7(k7, "", { groupId: s5 }) : n5.lastChild.hasTrailingSpaces && n5.lastChild.isTrailingSpaceSensitive ? _6 : (n5.lastChild.kind === "comment" || n5.lastChild.kind === "text" && n5.isWhitespaceSensitive && n5.isIndentationSensitive) && new RegExp(`\\n[\\t ]{${t26.tabWidth * (e7.ancestors.length - 1)}}$`, "u").test(n5.lastChild.value) ? "" : k7; + return n5.children.length === 0 ? a5(n5.hasDanglingSpaces && n5.isDanglingSpaceSensitive ? _6 : "") : a5([Pn4(n5) ? j5 : "", o5([c7(), Re7(e7, t26, r5)]), u()]); +} +function at8(e7, t26 = true) { + if (e7[0] != ":") return [null, e7]; + let r5 = e7.indexOf(":", 1); + if (r5 === -1) { + if (t26) throw new Error(`Unsupported format "${e7}" expecting ":namespace:name"`); + return [null, e7]; + } + return [e7.slice(1, r5), e7.slice(r5 + 1)]; +} +function br6(e7) { + return at8(e7)[1] === "ng-container"; +} +function wr5(e7) { + return at8(e7)[1] === "ng-content"; +} +function Me8(e7) { + return e7 === null ? null : at8(e7)[0]; +} +function Ee7(e7, t26) { + return e7 ? `:${e7}:${t26}` : t26; +} +function Oi6(e7) { + return e7.replace(to4, (...t26) => t26[1].toUpperCase()); +} +function Ar5() { + return Vt7 || (Vt7 = {}, ot6(re6.HTML, ["iframe|srcdoc", "*|innerHTML", "*|outerHTML"]), ot6(re6.STYLE, ["*|style"]), ot6(re6.URL, ["*|formAction", "area|href", "a|href", "a|xlink:href", "form|action", "annotation|href", "annotation|xlink:href", "annotation-xml|href", "annotation-xml|xlink:href", "maction|href", "maction|xlink:href", "malignmark|href", "malignmark|xlink:href", "math|href", "math|xlink:href", "mroot|href", "mroot|xlink:href", "msqrt|href", "msqrt|xlink:href", "merror|href", "merror|xlink:href", "mfrac|href", "mfrac|xlink:href", "mglyph|href", "mglyph|xlink:href", "msub|href", "msub|xlink:href", "msup|href", "msup|xlink:href", "msubsup|href", "msubsup|xlink:href", "mmultiscripts|href", "mmultiscripts|xlink:href", "mprescripts|href", "mprescripts|xlink:href", "mi|href", "mi|xlink:href", "mn|href", "mn|xlink:href", "mo|href", "mo|xlink:href", "mpadded|href", "mpadded|xlink:href", "mphantom|href", "mphantom|xlink:href", "mrow|href", "mrow|xlink:href", "ms|href", "ms|xlink:href", "mspace|href", "mspace|xlink:href", "mstyle|href", "mstyle|xlink:href", "mtable|href", "mtable|xlink:href", "mtd|href", "mtd|xlink:href", "mtr|href", "mtr|xlink:href", "mtext|href", "mtext|xlink:href", "mover|href", "mover|xlink:href", "munder|href", "munder|xlink:href", "munderover|href", "munderover|xlink:href", "semantics|href", "semantics|xlink:href", "none|href", "none|xlink:href", "img|src", "video|src"]), ot6(re6.RESOURCE_URL, ["base|href", "embed|src", "frame|src", "iframe|src", "link|href", "object|codebase", "object|data", "script|src", "script|href", "script|xlink:href"]), ot6(re6.ATTRIBUTE_NO_BINDING, ["animate|attributeName", "set|attributeName", "animateMotion|attributeName", "animateTransform|attributeName", "unknown|attributeName", "iframe|sandbox", "iframe|allow", "iframe|allowFullscreen", "iframe|referrerPolicy", "iframe|csp", "iframe|fetchPriority", "unknown|sandbox", "unknown|allow", "unknown|allowFullscreen", "unknown|referrerPolicy", "unknown|csp", "unknown|fetchPriority"])), Vt7; +} +function ot6(e7, t26) { + for (let r5 of t26) Vt7[r5.toLowerCase()] = e7; +} +function lo4(e7) { + switch (e7) { + case "width": + case "height": + case "minWidth": + case "minHeight": + case "maxWidth": + case "maxHeight": + case "left": + case "top": + case "bottom": + case "right": + case "fontSize": + case "outlineWidth": + case "outlineOffset": + case "paddingTop": + case "paddingLeft": + case "paddingBottom": + case "paddingRight": + case "marginTop": + case "marginLeft": + case "marginBottom": + case "marginRight": + case "borderRadius": + case "borderWidth": + case "borderTopWidth": + case "borderLeftWidth": + case "borderRightWidth": + case "borderBottomWidth": + case "textIndent": + return true; + default: + return false; + } +} +function Be7(e7) { + return lt6 || (Mi5 = new f5({ canSelfClose: true }), lt6 = Object.assign(/* @__PURE__ */ Object.create(null), { base: new f5({ isVoid: true }), meta: new f5({ isVoid: true }), area: new f5({ isVoid: true }), embed: new f5({ isVoid: true }), link: new f5({ isVoid: true }), img: new f5({ isVoid: true }), input: new f5({ isVoid: true }), param: new f5({ isVoid: true }), hr: new f5({ isVoid: true }), br: new f5({ isVoid: true }), source: new f5({ isVoid: true }), track: new f5({ isVoid: true }), wbr: new f5({ isVoid: true }), p: new f5({ closedByChildren: ["address", "article", "aside", "blockquote", "div", "dl", "fieldset", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hgroup", "hr", "main", "nav", "ol", "p", "pre", "section", "table", "ul"], closedByParent: true }), thead: new f5({ closedByChildren: ["tbody", "tfoot"] }), tbody: new f5({ closedByChildren: ["tbody", "tfoot"], closedByParent: true }), tfoot: new f5({ closedByChildren: ["tbody"], closedByParent: true }), tr: new f5({ closedByChildren: ["tr"], closedByParent: true }), td: new f5({ closedByChildren: ["td", "th"], closedByParent: true }), th: new f5({ closedByChildren: ["td", "th"], closedByParent: true }), col: new f5({ isVoid: true }), svg: new f5({ implicitNamespacePrefix: "svg" }), foreignObject: new f5({ implicitNamespacePrefix: "svg", preventNamespaceInheritance: true }), math: new f5({ implicitNamespacePrefix: "math" }), li: new f5({ closedByChildren: ["li"], closedByParent: true }), dt: new f5({ closedByChildren: ["dt", "dd"] }), dd: new f5({ closedByChildren: ["dt", "dd"], closedByParent: true }), rb: new f5({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: true }), rt: new f5({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: true }), rtc: new f5({ closedByChildren: ["rb", "rtc", "rp"], closedByParent: true }), rp: new f5({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: true }), optgroup: new f5({ closedByChildren: ["optgroup"], closedByParent: true }), option: new f5({ closedByChildren: ["option", "optgroup"], closedByParent: true }), pre: new f5({ ignoreFirstLf: true }), listing: new f5({ ignoreFirstLf: true }), style: new f5({ contentType: R7.RAW_TEXT }), script: new f5({ contentType: R7.RAW_TEXT }), title: new f5({ contentType: { default: R7.ESCAPABLE_RAW_TEXT, svg: R7.PARSABLE_DATA } }), textarea: new f5({ contentType: R7.ESCAPABLE_RAW_TEXT, ignoreFirstLf: true }) }), new Ri6().allKnownElementNames().forEach((t26) => { + !lt6[t26] && Me8(t26) === null && (lt6[t26] = new f5({ canSelfClose: false })); + })), lt6[e7] ?? Mi5; +} +function ct7(e7) { + return e7 >= 9 && e7 <= 32 || e7 == 160; +} +function ut7(e7) { + return 48 <= e7 && e7 <= 57; +} +function Fe7(e7) { + return e7 >= 97 && e7 <= 122 || e7 >= 65 && e7 <= 90; +} +function Bi6(e7) { + return e7 >= 97 && e7 <= 102 || e7 >= 65 && e7 <= 70 || ut7(e7); +} +function pt8(e7) { + return e7 === 10 || e7 === 13; +} +function yr6(e7) { + return 48 <= e7 && e7 <= 55; +} +function Ut7(e7) { + return e7 === 39 || e7 === 34 || e7 === 96; +} +function Wt7(e7, t26, r5 = null) { + let n5 = [], i5 = e7.visit ? (s5) => e7.visit(s5, r5) || s5.visit(e7, r5) : (s5) => s5.visit(e7, r5); + return t26.forEach((s5) => { + let a5 = i5(s5); + a5 && n5.push(a5); + }), n5; +} +function ns6(e7, t26, r5, n5 = {}) { + let i5 = new Io2(new mt8(e7, t26), r5, n5); + return i5.tokenize(), new Lo3(Vo2(i5.tokens), i5.errors, i5.nonNormalizedIcuExpressions); +} +function be7(e7) { + return `Unexpected character "${e7 === 0 ? "EOF" : String.fromCharCode(e7)}"`; +} +function Qi6(e7) { + return `Unknown entity "${e7}" - use the "&#;" or "&#x;" syntax`; +} +function Oo2(e7, t26) { + return `Unable to parse entity "${t26}" - ${e7} character reference entities must end with ";"`; +} +function T4(e7) { + return !ct7(e7) || e7 === 0; +} +function we6(e7) { + return ct7(e7) || e7 === 62 || e7 === 60 || e7 === 47 || e7 === 39 || e7 === 34 || e7 === 61 || e7 === 0; +} +function Ro2(e7) { + return (e7 < 97 || 122 < e7) && (e7 < 65 || 90 < e7) && (e7 < 48 || e7 > 57); +} +function Mo2(e7) { + return e7 === 59 || e7 === 0 || !Bi6(e7); +} +function Bo2(e7) { + return e7 === 59 || e7 === 0 || !Fe7(e7); +} +function Fo2(e7) { + return e7 !== 125; +} +function qo2(e7, t26) { + return Ji6(e7) === Ji6(t26); +} +function Ji6(e7) { + return e7 >= 97 && e7 <= 122 ? e7 - 97 + 65 : e7; +} +function Ho2(e7) { + return Fe7(e7) || ut7(e7) || e7 === 95; +} +function Zi6(e7) { + return e7 !== 59 && T4(e7); +} +function zt7(e7) { + return e7 === 95 || e7 >= 65 && e7 <= 90; +} +function es6(e7) { + return Fe7(e7) || ut7(e7) || e7 === 95; +} +function ts6(e7) { + return e7 === 47 || e7 === 62 || e7 === 60 || e7 === 0; +} +function Vo2(e7) { + let t26 = [], r5; + for (let n5 = 0; n5 < e7.length; n5++) { + let i5 = e7[n5]; + r5 && r5.type === l4.TEXT && i5.type === l4.TEXT || r5 && r5.type === l4.ATTR_VALUE_TEXT && i5.type === l4.ATTR_VALUE_TEXT ? (r5.parts[0] += i5.parts[0], r5.sourceSpan.end = i5.sourceSpan.end) : (r5 = i5, t26.push(r5)); + } + return t26; +} +function ss6(e7, t26) { + return e7.length > 0 && e7[e7.length - 1] === t26; +} +function as6(e7, t26) { + return Te7[t26] !== void 0 ? Te7[t26] || e7 : /^#x[a-f0-9]+$/i.test(t26) ? String.fromCodePoint(parseInt(t26.slice(2), 16)) : /^#\d+$/.test(t26) ? String.fromCodePoint(parseInt(t26.slice(1), 10)) : e7; +} +function Qt6(e7, t26 = {}) { + let { canSelfClose: r5 = false, allowHtmComponentClosingTags: n5 = false, isTagNameCaseSensitive: i5 = false, getTagContentType: s5, tokenizeAngularBlocks: a5 = false, tokenizeAngularLetDeclaration: o5 = false, enableAngularSelectorlessSyntax: c7 = false } = t26; + return $o2().parse(e7, "angular-html-parser", { tokenizeExpansionForms: a5, canSelfClose: r5, allowHtmComponentClosingTags: n5, tokenizeBlocks: a5, tokenizeLet: o5, selectorlessEnabled: c7 }, i5, s5); +} +function Yo2(e7, t26) { + for (let r5 of zo2) r5(e7, t26); + return e7; +} +function jo2(e7) { + e7.walk((t26) => { + if (t26.kind === "element" && t26.tagDefinition.ignoreFirstLf && t26.children.length > 0 && t26.children[0].kind === "text" && t26.children[0].value[0] === ` +`) { + let r5 = t26.children[0]; + r5.value.length === 1 ? t26.removeChild(r5) : r5.value = r5.value.slice(1); + } + }); +} +function Xo2(e7) { + let t26 = (r5) => r5.kind === "element" && r5.prev?.kind === "ieConditionalStartComment" && r5.prev.sourceSpan.end.offset === r5.startSourceSpan.start.offset && r5.firstChild?.kind === "ieConditionalEndComment" && r5.firstChild.sourceSpan.start.offset === r5.startSourceSpan.end.offset; + e7.walk((r5) => { + if (r5.children) for (let n5 = 0; n5 < r5.children.length; n5++) { + let i5 = r5.children[n5]; + if (!t26(i5)) continue; + let s5 = i5.prev, a5 = i5.firstChild; + r5.removeChild(s5), n5--; + let o5 = new h3(s5.sourceSpan.start, a5.sourceSpan.end), c7 = new h3(o5.start, i5.sourceSpan.end); + i5.condition = s5.condition, i5.sourceSpan = c7, i5.startSourceSpan = o5, i5.removeChild(a5); + } + }); +} +function Ko2(e7, t26, r5) { + e7.walk((n5) => { + if (n5.children) for (let i5 = 0; i5 < n5.children.length; i5++) { + let s5 = n5.children[i5]; + if (s5.kind !== "text" && !t26(s5)) continue; + s5.kind !== "text" && (s5.kind = "text", s5.value = r5(s5)); + let a5 = s5.prev; + !a5 || a5.kind !== "text" || (a5.value += s5.value, a5.sourceSpan = new h3(a5.sourceSpan.start, s5.sourceSpan.end), n5.removeChild(s5), i5--); + } + }); +} +function Qo2(e7) { + return Ko2(e7, (t26) => t26.kind === "cdata", (t26) => ``); +} +function Jo2(e7) { + let t26 = (r5) => r5.kind === "element" && r5.attrs.length === 0 && r5.children.length === 1 && r5.firstChild.kind === "text" && !y3.hasWhitespaceCharacter(r5.children[0].value) && !r5.firstChild.hasLeadingSpaces && !r5.firstChild.hasTrailingSpaces && r5.isLeadingSpaceSensitive && !r5.hasLeadingSpaces && r5.isTrailingSpaceSensitive && !r5.hasTrailingSpaces && r5.prev?.kind === "text" && r5.next?.kind === "text"; + e7.walk((r5) => { + if (r5.children) for (let n5 = 0; n5 < r5.children.length; n5++) { + let i5 = r5.children[n5]; + if (!t26(i5)) continue; + let s5 = i5.prev, a5 = i5.next; + s5.value += `<${i5.rawName}>` + i5.firstChild.value + `` + a5.value, s5.sourceSpan = new h3(s5.sourceSpan.start, a5.sourceSpan.end), s5.isTrailingSpaceSensitive = a5.isTrailingSpaceSensitive, s5.hasTrailingSpaces = a5.hasTrailingSpaces, r5.removeChild(i5), n5--, r5.removeChild(a5); + } + }); +} +function Zo2(e7, t26) { + if (t26.parser === "html") return; + let r5 = /\{\{(.+?)\}\}/su; + e7.walk((n5) => { + if (xn5(n5, t26)) for (let i5 of n5.children) { + if (i5.kind !== "text") continue; + let s5 = i5.sourceSpan.start, a5 = null, o5 = i5.value.split(r5); + for (let c7 = 0; c7 < o5.length; c7++, s5 = a5) { + let u = o5[c7]; + if (c7 % 2 === 0) { + a5 = s5.moveBy(u.length), u.length > 0 && n5.insertChildBefore(i5, { kind: "text", value: u, sourceSpan: new h3(s5, a5) }); + continue; + } + a5 = s5.moveBy(u.length + 4), n5.insertChildBefore(i5, { kind: "interpolation", sourceSpan: new h3(s5, a5), children: u.length === 0 ? [] : [{ kind: "text", value: u, sourceSpan: new h3(s5.moveBy(2), a5.moveBy(-2)) }] }); + } + n5.removeChild(i5); + } + }); +} +function el2(e7, t26) { + e7.walk((r5) => { + let n5 = r5.$children; + if (!n5) return; + if (n5.length === 0 || n5.length === 1 && n5[0].kind === "text" && y3.trim(n5[0].value).length === 0) { + r5.hasDanglingSpaces = n5.length > 0, r5.$children = []; + return; + } + let i5 = An4(r5, t26), s5 = dr7(r5); + if (!i5) for (let a5 = 0; a5 < n5.length; a5++) { + let o5 = n5[a5]; + if (o5.kind !== "text") continue; + let { leadingWhitespace: c7, text: u, trailingWhitespace: p4 } = kn5(o5.value), d5 = o5.prev, S7 = o5.next; + u ? (o5.value = u, o5.sourceSpan = new h3(o5.sourceSpan.start.moveBy(c7.length), o5.sourceSpan.end.moveBy(-p4.length)), c7 && (d5 && (d5.hasTrailingSpaces = true), o5.hasLeadingSpaces = true), p4 && (o5.hasTrailingSpaces = true, S7 && (S7.hasLeadingSpaces = true))) : (r5.removeChild(o5), a5--, (c7 || p4) && (d5 && (d5.hasTrailingSpaces = true), S7 && (S7.hasLeadingSpaces = true))); + } + r5.isWhitespaceSensitive = i5, r5.isIndentationSensitive = s5; + }); +} +function tl2(e7) { + e7.walk((t26) => { + t26.isSelfClosing = !t26.children || t26.kind === "element" && (t26.tagDefinition.isVoid || t26.endSourceSpan && t26.startSourceSpan.start === t26.endSourceSpan.start && t26.startSourceSpan.end === t26.endSourceSpan.end); + }); +} +function rl2(e7, t26) { + e7.walk((r5) => { + r5.kind === "element" && (r5.hasHtmComponentClosingTag = r5.endSourceSpan && /^<\s*\/\s*\/\s*>$/u.test(t26.originalText.slice(r5.endSourceSpan.start.offset, r5.endSourceSpan.end.offset))); + }); +} +function nl3(e7, t26) { + e7.walk((r5) => { + r5.cssDisplay = Bn4(r5, t26); + }); +} +function il3(e7, t26) { + e7.walk((r5) => { + let { children: n5 } = r5; + if (n5) { + if (n5.length === 0) { + r5.isDanglingSpaceSensitive = Ln4(r5, t26); + return; + } + for (let i5 of n5) i5.isLeadingSpaceSensitive = yn5(i5, t26), i5.isTrailingSpaceSensitive = Nn3(i5, t26); + for (let i5 = 0; i5 < n5.length; i5++) { + let s5 = n5[i5]; + s5.isLeadingSpaceSensitive = (i5 === 0 || s5.prev.isTrailingSpaceSensitive) && s5.isLeadingSpaceSensitive, s5.isTrailingSpaceSensitive = (i5 === n5.length - 1 || s5.next.isLeadingSpaceSensitive) && s5.isTrailingSpaceSensitive; + } + } + }); +} +function sl3(e7, t26, r5) { + let { node: n5 } = e7; + switch (n5.kind) { + case "root": + return t26.__onHtmlRoot && t26.__onHtmlRoot(n5), [C4(Re7(e7, t26, r5)), v7]; + case "element": + case "ieConditionalComment": + return Pi6(e7, t26, r5); + case "angularControlFlowBlock": + return xi7(e7, t26, r5); + case "angularControlFlowBlockParameters": + return yi6(e7, t26, r5); + case "angularControlFlowBlockParameter": + return y3.trim(n5.expression); + case "angularLetDeclaration": + return C4(["@let ", C4([n5.id, " =", C4(A6([_6, r5("init")]))]), ";"]); + case "angularLetDeclarationInitializer": + return n5.value; + case "angularIcuExpression": + return Ni7(e7, t26, r5); + case "angularIcuCase": + return Li6(e7, t26, r5); + case "ieConditionalStartComment": + case "ieConditionalEndComment": + return [Se7(n5), fe6(n5)]; + case "interpolation": + return [Se7(n5, t26), ...e7.map(r5, "children"), fe6(n5, t26)]; + case "text": { + if (n5.parent.kind === "interpolation") { + let o5 = /\n[^\S\n]*$/u, c7 = o5.test(n5.value), u = c7 ? n5.value.replace(o5, "") : n5.value; + return [L6(u), c7 ? v7 : ""]; + } + let i5 = U6(n5, t26), s5 = Dt7(n5), a5 = V7(n5, t26); + return s5[0] = [i5, s5[0]], s5.push([s5.pop(), a5]), xt7(s5); + } + case "docType": + return [C4([Se7(n5, t26), " ", w5(0, n5.value.replace(/^html\b/iu, "html"), /\s+/gu, " ")]), fe6(n5, t26)]; + case "comment": + return [U6(n5, t26), L6(t26.originalText.slice(Q7(n5), te8(n5))), V7(n5, t26)]; + case "attribute": { + if (n5.value === null) return n5.rawName; + let i5 = Sr5(n5.value), s5 = Rt7(n5, t26) ? "" : pn5(i5, '"'); + return [n5.rawName, "=", s5, L6(s5 === '"' ? w5(0, i5, '"', """) : w5(0, i5, "'", "'")), s5]; + } + case "frontMatter": + case "cdata": + default: + throw new mn5(n5, "HTML"); + } +} +function ll2(e7, t26) { + let r5 = new SyntaxError(e7 + " (" + t26.loc.start.line + ":" + t26.loc.start.column + ")"); + return Object.assign(r5, t26); +} +function Jt8(e7) { + return { ...cl2, ...e7 }; +} +function Gr5(e7) { + let { canSelfClose: t26, allowHtmComponentClosingTags: r5, isTagNameCaseSensitive: n5, shouldParseAsRawText: i5, tokenizeAngularBlocks: s5, tokenizeAngularLetDeclaration: a5 } = e7; + return { canSelfClose: t26, allowHtmComponentClosingTags: r5, isTagNameCaseSensitive: n5, getTagContentType: i5 ? (...o5) => i5(...o5) ? R7.RAW_TEXT : void 0 : void 0, tokenizeAngularBlocks: s5, tokenizeAngularLetDeclaration: a5 }; +} +function ul2(e7, t26) { + let r5 = e7.map(t26); + return r5.some((n5, i5) => n5 !== e7[i5]) ? r5 : e7; +} +function Es5(e7, t26) { + if (e7.value) for (let { regex: r5, parse: n5 } of pl2) { + let i5 = e7.value.match(r5); + if (i5) return n5(e7, i5, t26); + } + return null; +} +function hl2(e7, t26, r5) { + let { openingTagSuffix: n5, condition: i5, data: s5 } = t26.groups, a5 = 4 + n5.length, o5 = e7.sourceSpan.start.moveBy(a5), c7 = o5.moveBy(s5.length), [u, p4] = (() => { + try { + return [true, r5(s5, o5).children]; + } catch { + return [false, [{ kind: "text", value: s5, sourceSpan: new h3(o5, c7) }]]; + } + })(); + return { kind: "ieConditionalComment", complete: u, children: p4, condition: w5(0, i5.trim(), /\s+/gu, " "), sourceSpan: e7.sourceSpan, startSourceSpan: new h3(e7.sourceSpan.start, o5), endSourceSpan: new h3(c7, e7.sourceSpan.end) }; +} +function ml2(e7, t26) { + let { condition: r5 } = t26.groups; + return { kind: "ieConditionalStartComment", condition: w5(0, r5.trim(), /\s+/gu, " "), sourceSpan: e7.sourceSpan }; +} +function fl2(e7) { + return { kind: "ieConditionalEndComment", sourceSpan: e7.sourceSpan }; +} +function Ts5(e7, t26, r5, n5) { + Wt7(new Yr6(), e7.children, { parseOptions: r5 }), t26 && e7.children.unshift(t26); + let i5 = new tr7(e7); + return i5.walk((s5) => { + if (s5.kind === "comment") { + let a5 = Es5(s5, n5); + a5 && s5.parent.replaceChild(s5, a5); + } + dl2(s5), gl2(s5), _l2(s5); + }), i5; +} +function dl2(e7) { + if (e7.kind === "block") { + if (e7.name = w5(0, e7.name.toLowerCase(), /\s+/gu, " ").trim(), e7.kind = "angularControlFlowBlock", !Ie7(e7.parameters)) { + delete e7.parameters; + return; + } + for (let t26 of e7.parameters) t26.kind = "angularControlFlowBlockParameter"; + e7.parameters = { kind: "angularControlFlowBlockParameters", children: e7.parameters, sourceSpan: new h3(e7.parameters[0].sourceSpan.start, F7(0, e7.parameters, -1).sourceSpan.end) }; + } +} +function gl2(e7) { + e7.kind === "letDeclaration" && (e7.kind = "angularLetDeclaration", e7.id = e7.name, e7.init = { kind: "angularLetDeclarationInitializer", sourceSpan: new h3(e7.valueSpan.start, e7.valueSpan.end), value: e7.value }, delete e7.name, delete e7.value); +} +function _l2(e7) { + e7.kind === "expansion" && (e7.kind = "angularIcuExpression"), e7.kind === "expansionCase" && (e7.kind = "angularIcuCase"); +} +function Cs5(e7, t26) { + let r5 = e7.toLowerCase(); + return t26(r5) ? r5 : e7; +} +function vs7(e7) { + let t26 = e7.name.startsWith(":") ? e7.name.slice(1).split(":")[0] : null, r5 = e7.nameSpan.toString(), n5 = t26 !== null && r5.startsWith(`${t26}:`), i5 = n5 ? r5.slice(t26.length + 1) : r5; + e7.name = i5, e7.namespace = t26, e7.hasExplicitNamespace = n5; +} +function Sl2(e7) { + switch (e7.kind) { + case "element": + vs7(e7); + for (let t26 of e7.attrs) vs7(t26), t26.valueSpan ? (t26.value = t26.valueSpan.toString(), /["']/u.test(t26.value[0]) && (t26.value = t26.value.slice(1, -1))) : t26.value = null; + break; + case "comment": + e7.value = e7.sourceSpan.toString().slice(4, -3); + break; + case "text": + e7.value = e7.sourceSpan.toString(); + break; + } +} +function El2(e7, t26) { + if (e7.kind === "element") { + let r5 = Be7(t26.isTagNameCaseSensitive ? e7.name : e7.name.toLowerCase()); + !e7.namespace || e7.namespace === r5.implicitNamespacePrefix || ue7(e7) ? e7.tagDefinition = r5 : e7.tagDefinition = Be7(""); + } +} +function Cl2(e7) { + e7.sourceSpan && e7.endSourceSpan && (e7.sourceSpan = new h3(e7.sourceSpan.start, e7.endSourceSpan.end)); +} +function vl2(e7, t26) { + if (e7.kind === "element" && (t26.normalizeTagName && (!e7.namespace || e7.namespace === e7.tagDefinition.implicitNamespacePrefix || ue7(e7)) && (e7.name = Cs5(e7.name, (r5) => _s6.has(r5))), t26.normalizeAttributeName)) for (let r5 of e7.attrs) r5.namespace || (r5.name = Cs5(r5.name, (n5) => Zt8.has(e7.name) && (Zt8.get("*").has(n5) || Zt8.get(e7.name).has(n5)))); +} +function Xr4(e7, t26) { + let { rootNodes: r5, errors: n5 } = Qt6(e7, Gr5(t26)); + return n5.length > 0 && jr4(n5[0]), { parseOptions: t26, rootNodes: r5 }; +} +function bs6(e7, t26) { + let r5 = Gr5(t26), { rootNodes: n5, errors: i5 } = Qt6(e7, r5); + if (n5.some((u) => u.kind === "docType" && u.value === "html" || u.kind === "element" && u.name.toLowerCase() === "html")) return Xr4(e7, rr7); + let a5, o5 = () => a5 ?? (a5 = Qt6(e7, { ...r5, getTagContentType: void 0 })), c7 = (u) => { + let { offset: p4 } = u.startSourceSpan.start; + return o5().rootNodes.find((d5) => d5.kind === "element" && d5.startSourceSpan.start.offset === p4) ?? u; + }; + for (let [u, p4] of n5.entries()) if (p4.kind === "element") { + if (p4.isVoid) i5 = o5().errors, n5[u] = c7(p4); + else if (Tl2(p4)) { + let { endSourceSpan: d5, startSourceSpan: S7 } = p4, m7 = o5().errors.find((g5) => g5.span.start.offset > S7.start.offset && g5.span.start.offset < d5.end.offset); + m7 && jr4(m7), n5[u] = c7(p4); + } + } + return i5.length > 0 && jr4(i5[0]), { parseOptions: t26, rootNodes: n5 }; +} +function Tl2(e7) { + if (e7.kind !== "element" || e7.name !== "template") return false; + let t26 = e7.attrs.find((r5) => r5.name === "lang")?.value; + return !t26 || t26 === "html"; +} +function jr4(e7) { + let { msg: t26, span: { start: r5, end: n5 } } = e7; + throw gs6(t26, { loc: { start: { line: r5.line + 1, column: r5.col + 1 }, end: { line: n5.line + 1, column: n5.col + 1 } }, cause: e7 }); +} +function bl2(e7, t26, r5, n5, i5, s5) { + let { offset: a5 } = n5, o5 = w5(0, t26.slice(0, a5), /[^\n]/gu, " ") + r5, c7 = Kr5(o5, e7, { ...i5, shouldParseFrontMatter: false }, s5); + c7.sourceSpan = new h3(n5, F7(0, c7.children, -1).sourceSpan.end); + let u = c7.children[0]; + return u.length === a5 ? c7.children.shift() : (u.sourceSpan = new h3(u.sourceSpan.start.moveBy(a5), u.sourceSpan.end), u.value = u.value.slice(a5)), c7; +} +function Kr5(e7, t26, r5, n5 = {}) { + let { frontMatter: i5, content: s5 } = r5.shouldParseFrontMatter ? pr7(e7) : { content: e7 }, a5 = new mt8(e7, n5.filepath), o5 = new qe7(a5, 0, 0, 0), c7 = o5.moveBy(e7.length), { parseOptions: u, rootNodes: p4 } = t26(s5, r5), d5 = { kind: "root", sourceSpan: new h3(o5, c7), children: p4 }, S7; + if (i5) { + let [g5, E7] = [i5.start, i5.end].map((P8) => new qe7(a5, P8.index, P8.line - 1, P8.column)); + S7 = { ...i5, kind: "frontMatter", sourceSpan: new h3(g5, E7) }; + } + return Ts5(d5, S7, u, (g5, E7) => bl2(t26, e7, g5, E7, u, n5)); +} +function gt7(e7) { + let t26 = Jt8(e7), r5 = t26.name === "vue" ? bs6 : Xr4; + return { parse: (n5, i5) => Kr5(n5, r5, t26, i5), hasPragma: vi7, hasIgnorePragma: Ti7, astFormat: "html", locStart: Q7, locEnd: te8 }; +} +var Jr4, Zr5, ks6, en6, ir7, xs7, $e7, tn6, ws6, xe6, As6, ys6, w5, Ls7, F7, Ps7, ze8, Ye6, je8, St8, Ae7, ye7, Et8, Ne6, Le7, Pe6, Oe7, Ct8, vt8, Y5, Tt8, De7, bt8, wt8, Ds7, sr7, rn4, D4, kt8, sn5, an5, j5, _6, k7, Ms7, v7, Bs7, nn6, cn5, un5, Fs7, qs7, pn5, lr6, hn5, Vs6, Us7, y3, cr6, mn5, Ws7, Gs7, dn5, gn5, zs7, Ys7, _n4, Xs7, En5, Cn4, Ie7, ea3, At8, yt7, ce7, Xe8, pr7, bn4, hr7, wn4, mr5, ue7, aa3, fr7, kn5, Ea2, Vn3, Un4, Er5, va2, Gn5, $n4, zn5, Cr5, wa2, Yn4, jn4, Xn5, Kn5, xa2, Aa2, ya2, Na2, Zn5, La2, ei7, ti7, ri7, Oa2, ii7, si7, vr5, G7, Ra3, ui7, Fa3, pi7, Q7, te8, hi7, qt7, Ya3, fi7, nt8, Xa4, di7, I6, gi7, Qa3, _i6, Si7, Ei7, Ci6, vi7, Ti7, bi7, wi7, Ja3, R7, kr4, xr5, re6, to4, Vt7, Di6, ro4, no4, io4, so4, ao4, Ii6, oo4, Ri6, f5, Mi5, lt6, qe7, mt8, h3, Fi6, ne8, Ce7, Hi6, Vi6, Ui6, Wi6, Gi6, ie7, $i6, zi6, ve8, J8, Yi6, Nr5, Lr6, Pr4, Te7, co4, l4, Lo3, Po3, Mr6, Do2, ft7, Io2, is6, Uo2, Vr6, N6, Wo2, ls6, Go2, us6, Ur6, $o2, zo2, ps6, al2, hs6, ms6, Wr4, fs9, ol3, ds6, Qr6, gs6, cl2, Zt8, _s6, er7, Ss5, oe7, $r6, zr5, We8, tr7, pl2, Yr6, rr7, wl2, kl2, xl2, Al2, yl2, Nl2, Ll2; +var init_html = __esm({ + "node_modules/prettier/plugins/html.mjs"() { + Jr4 = Object.defineProperty; + Zr5 = (e7) => { + throw TypeError(e7); + }; + ks6 = (e7, t26, r5) => t26 in e7 ? Jr4(e7, t26, { enumerable: true, configurable: true, writable: true, value: r5 }) : e7[t26] = r5; + en6 = (e7, t26) => { + for (var r5 in t26) Jr4(e7, r5, { get: t26[r5], enumerable: true }); + }; + ir7 = (e7, t26, r5) => ks6(e7, typeof t26 != "symbol" ? t26 + "" : t26, r5); + xs7 = (e7, t26, r5) => t26.has(e7) || Zr5("Cannot " + r5); + $e7 = (e7, t26, r5) => (xs7(e7, t26, "read from private field"), r5 ? r5.call(e7) : t26.get(e7)); + tn6 = (e7, t26, r5) => t26.has(e7) ? Zr5("Cannot add the same private member more than once") : t26 instanceof WeakSet ? t26.add(e7) : t26.set(e7, r5); + ws6 = {}; + en6(ws6, { languages: () => ms6, options: () => ds6, parsers: () => Qr6, printers: () => Ll2 }); + xe6 = (e7, t26) => (r5, n5, ...i5) => r5 | 1 && n5 == null ? void 0 : (t26.call(n5) ?? n5[e7]).apply(n5, i5); + As6 = String.prototype.replaceAll ?? function(e7, t26) { + return e7.global ? this.replace(e7, t26) : this.split(e7).join(t26); + }; + ys6 = xe6("replaceAll", function() { + if (typeof this == "string") return As6; + }); + w5 = ys6; + Ls7 = xe6("at", function() { + if (Array.isArray(this) || typeof this == "string") return Ns6; + }); + F7 = Ls7; + Ps7 = () => { + }; + ze8 = Ps7; + Ye6 = "string"; + je8 = "array"; + St8 = "cursor"; + Ae7 = "indent"; + ye7 = "align"; + Et8 = "trim"; + Ne6 = "group"; + Le7 = "fill"; + Pe6 = "if-break"; + Oe7 = "indent-if-break"; + Ct8 = "line-suffix"; + vt8 = "line-suffix-boundary"; + Y5 = "line"; + Tt8 = "label"; + De7 = "break-parent"; + bt8 = /* @__PURE__ */ new Set([St8, Ae7, ye7, Et8, Ne6, Le7, Pe6, Oe7, Ct8, vt8, Y5, Tt8, De7]); + wt8 = Os6; + Ds7 = (e7) => new Intl.ListFormat("en-US", { type: "disjunction" }).format(e7); + sr7 = class extends Error { + name = "InvalidDocError"; + constructor(t26) { + super(Is7(t26)), this.doc = t26; + } + }; + rn4 = sr7; + D4 = ze8; + kt8 = ze8; + sn5 = ze8; + an5 = ze8; + j5 = { type: De7 }; + _6 = { type: Y5 }; + k7 = { type: Y5, soft: true }; + Ms7 = { type: Y5, hard: true }; + v7 = [Ms7, j5]; + Bs7 = { type: Y5, hard: true, literal: true }; + nn6 = [Bs7, j5]; + cn5 = Object.freeze({ character: "'", codePoint: 39 }); + un5 = Object.freeze({ character: '"', codePoint: 34 }); + Fs7 = Object.freeze({ preferred: cn5, alternate: un5 }); + qs7 = Object.freeze({ preferred: un5, alternate: cn5 }); + pn5 = Hs7; + lr6 = class { + #e; + constructor(t26) { + this.#e = new Set(t26); + } + getLeadingWhitespaceCount(t26) { + let r5 = this.#e, n5 = 0; + for (let i5 = 0; i5 < t26.length && r5.has(t26.charAt(i5)); i5++) n5++; + return n5; + } + getTrailingWhitespaceCount(t26) { + let r5 = this.#e, n5 = 0; + for (let i5 = t26.length - 1; i5 >= 0 && r5.has(t26.charAt(i5)); i5--) n5++; + return n5; + } + getLeadingWhitespace(t26) { + let r5 = this.getLeadingWhitespaceCount(t26); + return t26.slice(0, r5); + } + getTrailingWhitespace(t26) { + let r5 = this.getTrailingWhitespaceCount(t26); + return t26.slice(t26.length - r5); + } + hasLeadingWhitespace(t26) { + return this.#e.has(t26.charAt(0)); + } + hasTrailingWhitespace(t26) { + return this.#e.has(F7(0, t26, -1)); + } + trimStart(t26) { + let r5 = this.getLeadingWhitespaceCount(t26); + return t26.slice(r5); + } + trimEnd(t26) { + let r5 = this.getTrailingWhitespaceCount(t26); + return t26.slice(0, t26.length - r5); + } + trim(t26) { + return this.trimEnd(this.trimStart(t26)); + } + split(t26, r5 = false) { + let n5 = `[${or7([...this.#e].join(""))}]+`, i5 = new RegExp(r5 ? `(${n5})` : n5, "u"); + return t26.split(i5); + } + hasWhitespaceCharacter(t26) { + let r5 = this.#e; + return Array.prototype.some.call(t26, (n5) => r5.has(n5)); + } + hasNonWhitespaceCharacter(t26) { + let r5 = this.#e; + return Array.prototype.some.call(t26, (n5) => !r5.has(n5)); + } + isWhitespaceOnly(t26) { + let r5 = this.#e; + return Array.prototype.every.call(t26, (n5) => r5.has(n5)); + } + #t(t26) { + let r5 = Number.POSITIVE_INFINITY; + for (let n5 of t26.split(` +`)) { + if (n5.length === 0) continue; + let i5 = this.getLeadingWhitespaceCount(n5); + if (i5 === 0) return 0; + n5.length !== i5 && i5 < r5 && (r5 = i5); + } + return r5 === Number.POSITIVE_INFINITY ? 0 : r5; + } + dedentString(t26) { + let r5 = this.#t(t26); + return r5 === 0 ? t26 : t26.split(` +`).map((n5) => n5.slice(r5)).join(` +`); + } + }; + hn5 = lr6; + Vs6 = [" ", ` +`, "\f", "\r", " "]; + Us7 = new hn5(Vs6); + y3 = Us7; + cr6 = class extends Error { + name = "UnexpectedNodeError"; + constructor(t26, r5, n5 = "type") { + super(`Unexpected ${r5} node ${n5}: ${JSON.stringify(t26[n5])}.`), this.node = t26; + } + }; + mn5 = cr6; + Ws7 = /* @__PURE__ */ new Set(["sourceSpan", "startSourceSpan", "endSourceSpan", "nameSpan", "valueSpan", "keySpan", "tagDefinition", "tokens", "valueTokens", "switchValueSourceSpan", "expSourceSpan", "valueSourceSpan"]); + Gs7 = /* @__PURE__ */ new Set(["if", "else if", "for", "switch", "case"]); + fn6.ignoredProperties = Ws7; + dn5 = fn6; + gn5 = $s6; + zs7 = Array.prototype.toReversed ?? function() { + return [...this].reverse(); + }; + Ys7 = xe6("toReversed", function() { + if (Array.isArray(this)) return zs7; + }); + _n4 = Ys7; + Xs7 = js7(); + En5 = (e7) => String(e7).split(/[/\\]/u).pop(); + Cn4 = (e7) => String(e7).startsWith("file:"); + Ie7 = Js7; + ea3 = void 0; + At8 = ta3; + yt7 = /* @__PURE__ */ Symbol.for("PRETTIER_IS_FRONT_MATTER"); + ce7 = ra3; + Xe8 = 3; + pr7 = ia3; + bn4 = "inline"; + hr7 = { area: "none", base: "none", basefont: "none", datalist: "none", head: "none", link: "none", meta: "none", noembed: "none", noframes: "none", param: "block", rp: "none", script: "block", style: "none", template: "inline", title: "none", html: "block", body: "block", address: "block", blockquote: "block", center: "block", dialog: "block", div: "block", figure: "block", figcaption: "block", footer: "block", form: "block", header: "block", hr: "block", legend: "block", listing: "block", main: "block", p: "block", plaintext: "block", pre: "block", search: "block", xmp: "block", slot: "contents", ruby: "ruby", rt: "ruby-text", article: "block", aside: "block", h1: "block", h2: "block", h3: "block", h4: "block", h5: "block", h6: "block", hgroup: "block", nav: "block", section: "block", dir: "block", dd: "block", dl: "block", dt: "block", menu: "block", ol: "block", ul: "block", li: "list-item", table: "table", caption: "table-caption", colgroup: "table-column-group", col: "table-column", thead: "table-header-group", tbody: "table-row-group", tfoot: "table-footer-group", tr: "table-row", td: "table-cell", th: "table-cell", input: "inline-block", button: "inline-block", fieldset: "block", details: "block", summary: "block", marquee: "inline-block", select: "inline-block", source: "block", track: "block", meter: "inline-block", progress: "inline-block", object: "inline-block", video: "inline-block", audio: "inline-block", option: "block", optgroup: "block" }; + wn4 = "normal"; + mr5 = { listing: "pre", plaintext: "pre", pre: "pre", xmp: "pre", nobr: "nowrap", table: "initial", textarea: "pre-wrap" }; + ue7 = sa3; + aa3 = (e7) => w5(0, e7, /^[\t\f\r ]*\n/gu, ""); + fr7 = (e7) => aa3(y3.trimEnd(e7)); + kn5 = (e7) => { + let t26 = e7, r5 = y3.getLeadingWhitespace(t26); + r5 && (t26 = t26.slice(r5.length)); + let n5 = y3.getTrailingWhitespace(t26); + return n5 && (t26 = t26.slice(0, -n5.length)), { leadingWhitespace: r5, trailingWhitespace: n5, text: t26 }; + }; + Ea2 = /* @__PURE__ */ new Set(["template", "style", "script"]); + Vn3 = /\{\{(.+?)\}\}/su; + Un4 = ({ node: { value: e7 } }) => Vn3.test(e7); + Er5 = (e7) => (t26, r5, n5) => x4(b6(n5.node), t26, { parser: e7 }, W7); + va2 = [{ test(e7) { + let t26 = e7.node.fullName; + return t26.startsWith("(") && t26.endsWith(")") || t26.startsWith("on-"); + }, print: Er5("__ng_action") }, { test(e7) { + let t26 = e7.node.fullName; + return t26.startsWith("[") && t26.endsWith("]") || /^bind(?:on)?-/u.test(t26) || /^ng-(?:if|show|hide|class|style)$/u.test(t26); + }, print: Er5("__ng_binding") }, { test: (e7) => e7.node.fullName.startsWith("*"), print: Er5("__ng_directive") }, { test: (e7) => /^i18n(?:-.+)?$/u.test(e7.node.fullName), print: Ta2 }, { test: Un4, print: Wn4 }].map(({ test: e7, print: t26 }) => ({ test: (r5, n5) => n5.parser === "angular" && e7(r5), print: t26 })); + Gn5 = va2; + $n4 = ({ node: e7 }, t26) => !t26.parentParser && e7.fullName === "class" && !e7.value.includes("{{"); + zn5 = (e7, t26, r5) => b6(r5.node).trim().split(/\s+/u).join(" "); + Cr5 = ["onabort", "onafterprint", "onauxclick", "onbeforeinput", "onbeforematch", "onbeforeprint", "onbeforetoggle", "onbeforeunload", "onblur", "oncancel", "oncanplay", "oncanplaythrough", "onchange", "onclick", "onclose", "oncommand", "oncontextlost", "oncontextmenu", "oncontextrestored", "oncopy", "oncuechange", "oncut", "ondblclick", "ondrag", "ondragend", "ondragenter", "ondragleave", "ondragover", "ondragstart", "ondrop", "ondurationchange", "onemptied", "onended", "onerror", "onfocus", "onformdata", "onhashchange", "oninput", "oninvalid", "onkeydown", "onkeypress", "onkeyup", "onlanguagechange", "onload", "onloadeddata", "onloadedmetadata", "onloadstart", "onmessage", "onmessageerror", "onmousedown", "onmouseenter", "onmouseleave", "onmousemove", "onmouseout", "onmouseover", "onmouseup", "onoffline", "ononline", "onpagehide", "onpagereveal", "onpageshow", "onpageswap", "onpaste", "onpause", "onplay", "onplaying", "onpopstate", "onprogress", "onratechange", "onrejectionhandled", "onreset", "onresize", "onscroll", "onscrollend", "onsecuritypolicyviolation", "onseeked", "onseeking", "onselect", "onslotchange", "onstalled", "onstorage", "onsubmit", "onsuspend", "ontimeupdate", "ontoggle", "onunhandledrejection", "onunload", "onvolumechange", "onwaiting", "onwheel"]; + wa2 = new Set(Cr5); + Yn4 = ({ node: e7 }, t26) => wa2.has(e7.fullName) && !t26.parentParser && !e7.value.includes("{{"); + jn4 = (e7, t26, r5) => x4(b6(r5.node), e7, { parser: "babel", __isHtmlInlineEventHandler: true }, () => false); + Xn5 = ka2; + Kn5 = ({ node: e7 }, t26) => e7.fullName === "allow" && !t26.parentParser && e7.parent.fullName === "iframe" && !e7.value.includes("{{"); + xa2 = /^[ \t\n\r\u000c]+/; + Aa2 = /^[, \t\n\r\u000c]+/; + ya2 = /^[^ \t\n\r\u000c]+/; + Na2 = /[,]+$/; + Zn5 = /^\d+$/; + La2 = /^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/; + ei7 = Pa2; + ti7 = (e7) => e7.node.fullName === "srcset" && (e7.parent.fullName === "img" || e7.parent.fullName === "source"); + ri7 = { width: "w", height: "h", density: "x" }; + Oa2 = Object.keys(ri7); + ii7 = ({ node: e7 }, t26) => e7.fullName === "style" && !t26.parentParser && !e7.value.includes("{{"); + si7 = async (e7, t26, r5) => K8(await e7(b6(r5.node), { parser: "css", __isHTMLStyleAttribute: true })); + vr5 = /* @__PURE__ */ new WeakMap(); + G7 = Da3; + Ra3 = [{ test: (e7) => e7.node.fullName === "v-for", print: li7 }, { test: (e7, t26) => e7.node.fullName === "generic" && It7(e7.parent, t26), print: ai7 }, { test: ({ node: e7 }, t26) => qn5(e7) || Hn4(e7, t26), print: oi7 }, { test(e7) { + let t26 = e7.node.fullName; + return t26.startsWith("@") || t26.startsWith("v-on:"); + }, print: Ma2 }, { test(e7) { + let t26 = e7.node.fullName; + return t26.startsWith(":") || t26.startsWith(".") || t26.startsWith("v-bind:"); + }, print: Ba3 }, { test: (e7) => e7.node.fullName.startsWith("v-"), print: ci7 }].map(({ test: e7, print: t26 }) => ({ test: (r5, n5) => n5.parser === "vue" && e7(r5, n5), print: t26 })); + ui7 = Ra3; + Fa3 = [{ test: ti7, print: ni7 }, { test: ii7, print: si7 }, { test: Yn4, print: jn4 }, { test: $n4, print: zn5 }, { test: Kn5, print: Qn4 }, ...ui7, ...Gn5].map(({ test: e7, print: t26 }) => ({ test: e7, print: Ha3(t26) })); + pi7 = qa3; + Q7 = (e7) => e7.sourceSpan.start.offset; + te8 = (e7) => e7.sourceSpan.end.offset; + hi7 = "/u; + Ci6 = /^\s*/u; + vi7 = (e7) => Ci6.test(e7); + Ti7 = (e7) => Ei7.test(e7); + bi7 = (e7) => ` + +${e7}`; + wi7 = /* @__PURE__ */ new Map([["if", /* @__PURE__ */ new Set(["else if", "else"])], ["else if", /* @__PURE__ */ new Set(["else if", "else"])], ["for", /* @__PURE__ */ new Set(["empty"])], ["defer", /* @__PURE__ */ new Set(["placeholder", "error", "loading"])], ["placeholder", /* @__PURE__ */ new Set(["placeholder", "error", "loading"])], ["error", /* @__PURE__ */ new Set(["placeholder", "error", "loading"])], ["loading", /* @__PURE__ */ new Set(["placeholder", "error", "loading"])]]); + Ja3 = (e7) => e7?.kind === "angularControlFlowBlock" && (e7.name === "case" || e7.name === "default"); + R7 = (function(e7) { + return e7[e7.RAW_TEXT = 0] = "RAW_TEXT", e7[e7.ESCAPABLE_RAW_TEXT = 1] = "ESCAPABLE_RAW_TEXT", e7[e7.PARSABLE_DATA = 2] = "PARSABLE_DATA", e7; + })({}); + kr4 = { name: "custom-elements" }; + xr5 = { name: "no-errors-schema" }; + re6 = (function(e7) { + return e7[e7.NONE = 0] = "NONE", e7[e7.HTML = 1] = "HTML", e7[e7.STYLE = 2] = "STYLE", e7[e7.SCRIPT = 3] = "SCRIPT", e7[e7.URL = 4] = "URL", e7[e7.RESOURCE_URL = 5] = "RESOURCE_URL", e7[e7.ATTRIBUTE_NO_BINDING = 6] = "ATTRIBUTE_NO_BINDING", e7; + })({}); + to4 = /-+([a-z0-9])/g; + Di6 = class { + }; + ro4 = "boolean"; + no4 = "number"; + io4 = "string"; + so4 = "object"; + ao4 = ["[Element]|textContent,%ariaActiveDescendantElement,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColIndexText,%ariaColSpan,%ariaControlsElements,%ariaCurrent,%ariaDescribedByElements,%ariaDescription,%ariaDetailsElements,%ariaDisabled,%ariaErrorMessageElements,%ariaExpanded,%ariaFlowToElements,%ariaHasPopup,%ariaHidden,%ariaInvalid,%ariaKeyShortcuts,%ariaLabel,%ariaLabelledByElements,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaOwnsElements,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowIndexText,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored", "[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy", "abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,search,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy", "media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume", ":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex", ":svg:graphics^:svg:|", ":svg:animation^:svg:|*begin,*end,*repeat", ":svg:geometry^:svg:|", ":svg:componentTransferFunction^:svg:|", ":svg:gradient^:svg:|", ":svg:textContent^:svg:graphics|", ":svg:textPositioning^:svg:textContent|", "a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username", "area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username", "audio^media|", "br^[HTMLElement]|clear", "base^[HTMLElement]|href,target", "body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink", "button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value", "canvas^[HTMLElement]|#height,#width", "content^[HTMLElement]|select", "dl^[HTMLElement]|!compact", "data^[HTMLElement]|value", "datalist^[HTMLElement]|", "details^[HTMLElement]|!open", "dialog^[HTMLElement]|!open,returnValue", "dir^[HTMLElement]|!compact", "div^[HTMLElement]|align", "embed^[HTMLElement]|align,height,name,src,type,width", "fieldset^[HTMLElement]|!disabled,name", "font^[HTMLElement]|color,face,size", "form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target", "frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src", "frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows", "hr^[HTMLElement]|align,color,!noShade,size,width", "head^[HTMLElement]|", "h1,h2,h3,h4,h5,h6^[HTMLElement]|align", "html^[HTMLElement]|version", "iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width", "img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width", "input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width", "li^[HTMLElement]|type,#value", "label^[HTMLElement]|htmlFor", "legend^[HTMLElement]|align", "link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type", "map^[HTMLElement]|name", "marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width", "menu^[HTMLElement]|!compact", "meta^[HTMLElement]|content,httpEquiv,media,name,scheme", "meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value", "ins,del^[HTMLElement]|cite,dateTime", "ol^[HTMLElement]|!compact,!reversed,#start,type", "object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width", "optgroup^[HTMLElement]|!disabled,label", "option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value", "output^[HTMLElement]|defaultValue,%htmlFor,name,value", "p^[HTMLElement]|align", "param^[HTMLElement]|name,type,value,valueType", "picture^[HTMLElement]|", "pre^[HTMLElement]|#width", "progress^[HTMLElement]|#max,#value", "q,blockquote,cite^[HTMLElement]|", "script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type", "select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value", "selectedcontent^[HTMLElement]|", "slot^[HTMLElement]|name", "source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width", "span^[HTMLElement]|", "style^[HTMLElement]|!disabled,media,type", "search^[HTMLELement]|", "caption^[HTMLElement]|align", "th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width", "col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width", "table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width", "tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign", "tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign", "template^[HTMLElement]|", "textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap", "time^[HTMLElement]|dateTime", "title^[HTMLElement]|text", "track^[HTMLElement]|!default,kind,label,src,srclang", "ul^[HTMLElement]|!compact,type", "unknown^[HTMLElement]|", "video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width", ":svg:a^:svg:graphics|", ":svg:animate^:svg:animation|", ":svg:animateMotion^:svg:animation|", ":svg:animateTransform^:svg:animation|", ":svg:circle^:svg:geometry|", ":svg:clipPath^:svg:graphics|", ":svg:defs^:svg:graphics|", ":svg:desc^:svg:|", ":svg:discard^:svg:|", ":svg:ellipse^:svg:geometry|", ":svg:feBlend^:svg:|", ":svg:feColorMatrix^:svg:|", ":svg:feComponentTransfer^:svg:|", ":svg:feComposite^:svg:|", ":svg:feConvolveMatrix^:svg:|", ":svg:feDiffuseLighting^:svg:|", ":svg:feDisplacementMap^:svg:|", ":svg:feDistantLight^:svg:|", ":svg:feDropShadow^:svg:|", ":svg:feFlood^:svg:|", ":svg:feFuncA^:svg:componentTransferFunction|", ":svg:feFuncB^:svg:componentTransferFunction|", ":svg:feFuncG^:svg:componentTransferFunction|", ":svg:feFuncR^:svg:componentTransferFunction|", ":svg:feGaussianBlur^:svg:|", ":svg:feImage^:svg:|", ":svg:feMerge^:svg:|", ":svg:feMergeNode^:svg:|", ":svg:feMorphology^:svg:|", ":svg:feOffset^:svg:|", ":svg:fePointLight^:svg:|", ":svg:feSpecularLighting^:svg:|", ":svg:feSpotLight^:svg:|", ":svg:feTile^:svg:|", ":svg:feTurbulence^:svg:|", ":svg:filter^:svg:|", ":svg:foreignObject^:svg:graphics|", ":svg:g^:svg:graphics|", ":svg:image^:svg:graphics|decoding", ":svg:line^:svg:geometry|", ":svg:linearGradient^:svg:gradient|", ":svg:mpath^:svg:|", ":svg:marker^:svg:|", ":svg:mask^:svg:|", ":svg:metadata^:svg:|", ":svg:path^:svg:geometry|", ":svg:pattern^:svg:|", ":svg:polygon^:svg:geometry|", ":svg:polyline^:svg:geometry|", ":svg:radialGradient^:svg:gradient|", ":svg:rect^:svg:geometry|", ":svg:svg^:svg:graphics|#currentScale,#zoomAndPan", ":svg:script^:svg:|type", ":svg:set^:svg:animation|", ":svg:stop^:svg:|", ":svg:style^:svg:|!disabled,media,title,type", ":svg:switch^:svg:graphics|", ":svg:symbol^:svg:|", ":svg:tspan^:svg:textPositioning|", ":svg:text^:svg:textPositioning|", ":svg:textPath^:svg:textContent|", ":svg:title^:svg:|", ":svg:use^:svg:graphics|", ":svg:view^:svg:|#zoomAndPan", "data^[HTMLElement]|value", "keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name", "menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default", "summary^[HTMLElement]|", "time^[HTMLElement]|dateTime", ":svg:cursor^:svg:|", ":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex", ":math:math^:math:|", ":math:maction^:math:|", ":math:menclose^:math:|", ":math:merror^:math:|", ":math:mfenced^:math:|", ":math:mfrac^:math:|", ":math:mi^:math:|", ":math:mmultiscripts^:math:|", ":math:mn^:math:|", ":math:mo^:math:|", ":math:mover^:math:|", ":math:mpadded^:math:|", ":math:mphantom^:math:|", ":math:mroot^:math:|", ":math:mrow^:math:|", ":math:ms^:math:|", ":math:mspace^:math:|", ":math:msqrt^:math:|", ":math:mstyle^:math:|", ":math:msub^:math:|", ":math:msubsup^:math:|", ":math:msup^:math:|", ":math:mtable^:math:|", ":math:mtd^:math:|", ":math:mtext^:math:|", ":math:mtr^:math:|", ":math:munder^:math:|", ":math:munderover^:math:|", ":math:semantics^:math:|"]; + Ii6 = new Map(Object.entries({ class: "className", for: "htmlFor", formaction: "formAction", innerHtml: "innerHTML", readonly: "readOnly", tabindex: "tabIndex", "aria-activedescendant": "ariaActiveDescendantElement", "aria-atomic": "ariaAtomic", "aria-autocomplete": "ariaAutoComplete", "aria-busy": "ariaBusy", "aria-checked": "ariaChecked", "aria-colcount": "ariaColCount", "aria-colindex": "ariaColIndex", "aria-colindextext": "ariaColIndexText", "aria-colspan": "ariaColSpan", "aria-controls": "ariaControlsElements", "aria-current": "ariaCurrent", "aria-describedby": "ariaDescribedByElements", "aria-description": "ariaDescription", "aria-details": "ariaDetailsElements", "aria-disabled": "ariaDisabled", "aria-errormessage": "ariaErrorMessageElements", "aria-expanded": "ariaExpanded", "aria-flowto": "ariaFlowToElements", "aria-haspopup": "ariaHasPopup", "aria-hidden": "ariaHidden", "aria-invalid": "ariaInvalid", "aria-keyshortcuts": "ariaKeyShortcuts", "aria-label": "ariaLabel", "aria-labelledby": "ariaLabelledByElements", "aria-level": "ariaLevel", "aria-live": "ariaLive", "aria-modal": "ariaModal", "aria-multiline": "ariaMultiLine", "aria-multiselectable": "ariaMultiSelectable", "aria-orientation": "ariaOrientation", "aria-owns": "ariaOwnsElements", "aria-placeholder": "ariaPlaceholder", "aria-posinset": "ariaPosInSet", "aria-pressed": "ariaPressed", "aria-readonly": "ariaReadOnly", "aria-required": "ariaRequired", "aria-roledescription": "ariaRoleDescription", "aria-rowcount": "ariaRowCount", "aria-rowindex": "ariaRowIndex", "aria-rowindextext": "ariaRowIndexText", "aria-rowspan": "ariaRowSpan", "aria-selected": "ariaSelected", "aria-setsize": "ariaSetSize", "aria-sort": "ariaSort", "aria-valuemax": "ariaValueMax", "aria-valuemin": "ariaValueMin", "aria-valuenow": "ariaValueNow", "aria-valuetext": "ariaValueText" })); + oo4 = Array.from(Ii6).reduce((e7, [t26, r5]) => (e7.set(t26, r5), e7), /* @__PURE__ */ new Map()); + Ri6 = class extends Di6 { + constructor() { + super(), this._schema = /* @__PURE__ */ new Map(), this._eventSchema = /* @__PURE__ */ new Map(), ao4.forEach((e7) => { + let t26 = /* @__PURE__ */ new Map(), r5 = /* @__PURE__ */ new Set(), [n5, i5] = e7.split("|"), s5 = i5.split(","), [a5, o5] = n5.split("^"); + a5.split(",").forEach((u) => { + this._schema.set(u.toLowerCase(), t26), this._eventSchema.set(u.toLowerCase(), r5); + }); + let c7 = o5 && this._schema.get(o5.toLowerCase()); + if (c7) { + for (let [u, p4] of c7) t26.set(u, p4); + for (let u of this._eventSchema.get(o5.toLowerCase())) r5.add(u); + } + s5.forEach((u) => { + if (u.length > 0) switch (u[0]) { + case "*": + r5.add(u.substring(1)); + break; + case "!": + t26.set(u.substring(1), ro4); + break; + case "#": + t26.set(u.substring(1), no4); + break; + case "%": + t26.set(u.substring(1), so4); + break; + default: + t26.set(u, io4); + } + }); + }); + } + hasProperty(e7, t26, r5) { + if (r5.some((n5) => n5.name === xr5.name)) return true; + if (e7.indexOf("-") > -1) { + if (br6(e7) || wr5(e7)) return false; + if (r5.some((n5) => n5.name === kr4.name)) return true; + } + return (this._schema.get(e7.toLowerCase()) || this._schema.get("unknown")).has(t26); + } + hasElement(e7, t26) { + return t26.some((r5) => r5.name === xr5.name) || e7.indexOf("-") > -1 && (br6(e7) || wr5(e7) || t26.some((r5) => r5.name === kr4.name)) ? true : this._schema.has(e7.toLowerCase()); + } + securityContext(e7, t26, r5) { + r5 && (t26 = this.getMappedPropName(t26)), e7 = e7.toLowerCase(), t26 = t26.toLowerCase(); + let n5 = Ar5()[e7 + "|" + t26]; + return n5 || (n5 = Ar5()["*|" + t26], n5 || re6.NONE); + } + getMappedPropName(e7) { + return Ii6.get(e7) ?? e7; + } + getDefaultComponentElementName() { + return "ng-component"; + } + validateProperty(e7) { + return e7.toLowerCase().startsWith("on") ? { error: true, msg: `Binding to event property '${e7}' is disallowed for security reasons, please use (${e7.slice(2)})=... +If '${e7}' is a directive input, make sure the directive is imported by the current module.` } : { error: false }; + } + validateAttribute(e7) { + return e7.toLowerCase().startsWith("on") ? { error: true, msg: `Binding to event attribute '${e7}' is disallowed for security reasons, please use (${e7.slice(2)})=...` } : { error: false }; + } + allKnownElementNames() { + return Array.from(this._schema.keys()); + } + allKnownAttributesOfElement(e7) { + let t26 = this._schema.get(e7.toLowerCase()) || this._schema.get("unknown"); + return Array.from(t26.keys()).map((r5) => oo4.get(r5) ?? r5); + } + allKnownEventsOfElement(e7) { + return Array.from(this._eventSchema.get(e7.toLowerCase()) ?? []); + } + normalizeAnimationStyleProperty(e7) { + return Oi6(e7); + } + normalizeAnimationStyleValue(e7, t26, r5) { + let n5 = "", i5 = r5.toString().trim(), s5 = null; + if (lo4(e7) && r5 !== 0 && r5 !== "0") if (typeof r5 == "number") n5 = "px"; + else { + let a5 = r5.match(/^[+-]?[\d\.]+([a-z]*)$/); + a5 && a5[1].length == 0 && (s5 = `Please provide a CSS unit value for ${t26}:${r5}`); + } + return { error: s5, value: i5 + n5 }; + } + }; + f5 = class { + constructor({ closedByChildren: e7, implicitNamespacePrefix: t26, contentType: r5 = R7.PARSABLE_DATA, closedByParent: n5 = false, isVoid: i5 = false, ignoreFirstLf: s5 = false, preventNamespaceInheritance: a5 = false, canSelfClose: o5 = false } = {}) { + this.closedByChildren = {}, this.closedByParent = false, e7 && e7.length > 0 && e7.forEach((c7) => this.closedByChildren[c7] = true), this.isVoid = i5, this.closedByParent = n5 || i5, this.implicitNamespacePrefix = t26 || null, this.contentType = r5, this.ignoreFirstLf = s5, this.preventNamespaceInheritance = a5, this.canSelfClose = o5 ?? i5; + } + isClosedByChild(e7) { + return this.isVoid || e7.toLowerCase() in this.closedByChildren; + } + getContentType(e7) { + return typeof this.contentType == "object" ? (e7 === void 0 ? void 0 : this.contentType[e7]) ?? this.contentType.default : this.contentType; + } + }; + qe7 = class qi6 { + constructor(t26, r5, n5, i5) { + this.file = t26, this.offset = r5, this.line = n5, this.col = i5; + } + toString() { + return this.offset != null ? `${this.file.url}@${this.line}:${this.col}` : this.file.url; + } + moveBy(t26) { + let r5 = this.file.content, n5 = r5.length, i5 = this.offset, s5 = this.line, a5 = this.col; + for (; i5 > 0 && t26 < 0; ) if (i5--, t26++, r5.charCodeAt(i5) == 10) { + s5--; + let o5 = r5.substring(0, i5 - 1).lastIndexOf(String.fromCharCode(10)); + a5 = o5 > 0 ? i5 - o5 : i5; + } else a5--; + for (; i5 < n5 && t26 > 0; ) { + let o5 = r5.charCodeAt(i5); + i5++, t26--, o5 == 10 ? (s5++, a5 = 0) : a5++; + } + return new qi6(this.file, i5, s5, a5); + } + getContext(t26, r5) { + let n5 = this.file.content, i5 = this.offset; + if (i5 != null) { + i5 > n5.length - 1 && (i5 = n5.length - 1); + let s5 = i5, a5 = 0, o5 = 0; + for (; a5 < t26 && i5 > 0 && (i5--, a5++, !(n5[i5] == ` +` && ++o5 == r5)); ) ; + for (a5 = 0, o5 = 0; a5 < t26 && s5 < n5.length - 1 && (s5++, a5++, !(n5[s5] == ` +` && ++o5 == r5)); ) ; + return { before: n5.substring(i5, this.offset), after: n5.substring(this.offset, s5 + 1) }; + } + return null; + } + }; + mt8 = class { + constructor(e7, t26) { + this.content = e7, this.url = t26; + } + }; + h3 = class { + constructor(e7, t26, r5 = e7, n5 = null) { + this.start = e7, this.end = t26, this.fullStart = r5, this.details = n5; + } + toString() { + return this.start.file.content.substring(this.start.offset, this.end.offset); + } + }; + Fi6 = (function(e7) { + return e7[e7.WARNING = 0] = "WARNING", e7[e7.ERROR = 1] = "ERROR", e7; + })({}); + ne8 = class extends Error { + constructor(e7, t26, r5 = Fi6.ERROR, n5) { + super(t26), this.span = e7, this.msg = t26, this.level = r5, this.relatedError = n5, Object.setPrototypeOf(this, new.target.prototype); + } + contextualMessage() { + let e7 = this.span.start.getContext(100, 3); + return e7 ? `${this.msg} ("${e7.before}[${Fi6[this.level]} ->]${e7.after}")` : this.msg; + } + toString() { + let e7 = this.span.details ? `, ${this.span.details}` : ""; + return `${this.contextualMessage()}: ${this.span.start}${e7}`; + } + }; + Ce7 = class { + constructor(e7, t26) { + this.sourceSpan = e7, this.i18n = t26; + } + }; + Hi6 = class extends Ce7 { + constructor(e7, t26, r5, n5) { + super(t26, n5), this.value = e7, this.tokens = r5, this.kind = "text"; + } + visit(e7, t26) { + return e7.visitText(this, t26); + } + }; + Vi6 = class extends Ce7 { + constructor(e7, t26, r5, n5) { + super(t26, n5), this.value = e7, this.tokens = r5, this.kind = "cdata"; + } + visit(e7, t26) { + return e7.visitCdata(this, t26); + } + }; + Ui6 = class extends Ce7 { + constructor(e7, t26, r5, n5, i5, s5) { + super(n5, s5), this.switchValue = e7, this.type = t26, this.cases = r5, this.switchValueSourceSpan = i5, this.kind = "expansion"; + } + visit(e7, t26) { + return e7.visitExpansion(this, t26); + } + }; + Wi6 = class { + constructor(e7, t26, r5, n5, i5) { + this.value = e7, this.expression = t26, this.sourceSpan = r5, this.valueSourceSpan = n5, this.expSourceSpan = i5, this.kind = "expansionCase"; + } + visit(e7, t26) { + return e7.visitExpansionCase(this, t26); + } + }; + Gi6 = class extends Ce7 { + constructor(e7, t26, r5, n5, i5, s5, a5) { + super(r5, a5), this.name = e7, this.value = t26, this.keySpan = n5, this.valueSpan = i5, this.valueTokens = s5, this.kind = "attribute"; + } + visit(e7, t26) { + return e7.visitAttribute(this, t26); + } + get nameSpan() { + return this.keySpan; + } + }; + ie7 = class extends Ce7 { + constructor(e7, t26, r5, n5, i5, s5, a5, o5 = null, c7 = null, u, p4) { + super(s5, p4), this.name = e7, this.attrs = t26, this.directives = r5, this.children = n5, this.isSelfClosing = i5, this.startSourceSpan = a5, this.endSourceSpan = o5, this.nameSpan = c7, this.isVoid = u, this.kind = "element"; + } + visit(e7, t26) { + return e7.visitElement(this, t26); + } + }; + $i6 = class { + constructor(e7, t26) { + this.value = e7, this.sourceSpan = t26, this.kind = "comment"; + } + visit(e7, t26) { + return e7.visitComment(this, t26); + } + }; + zi6 = class { + constructor(e7, t26) { + this.value = e7, this.sourceSpan = t26, this.kind = "docType"; + } + visit(e7, t26) { + return e7.visitDocType(this, t26); + } + }; + ve8 = class extends Ce7 { + constructor(e7, t26, r5, n5, i5, s5, a5 = null, o5) { + super(n5, o5), this.name = e7, this.parameters = t26, this.children = r5, this.nameSpan = i5, this.startSourceSpan = s5, this.endSourceSpan = a5, this.kind = "block"; + } + visit(e7, t26) { + return e7.visitBlock(this, t26); + } + }; + J8 = class extends Ce7 { + constructor(e7, t26, r5, n5, i5, s5, a5, o5, c7, u = null, p4) { + super(o5, p4), this.componentName = e7, this.tagName = t26, this.fullName = r5, this.attrs = n5, this.directives = i5, this.children = s5, this.isSelfClosing = a5, this.startSourceSpan = c7, this.endSourceSpan = u, this.kind = "component"; + } + visit(e7, t26) { + return e7.visitComponent(this, t26); + } + }; + Yi6 = class { + constructor(e7, t26, r5, n5, i5 = null) { + this.name = e7, this.attrs = t26, this.sourceSpan = r5, this.startSourceSpan = n5, this.endSourceSpan = i5, this.kind = "directive"; + } + visit(e7, t26) { + return e7.visitDirective(this, t26); + } + }; + Nr5 = class { + constructor(e7, t26) { + this.expression = e7, this.sourceSpan = t26, this.kind = "blockParameter", this.startSourceSpan = null, this.endSourceSpan = null; + } + visit(e7, t26) { + return e7.visitBlockParameter(this, t26); + } + }; + Lr6 = class { + constructor(e7, t26, r5, n5, i5) { + this.name = e7, this.value = t26, this.sourceSpan = r5, this.nameSpan = n5, this.valueSpan = i5, this.kind = "letDeclaration", this.startSourceSpan = null, this.endSourceSpan = null; + } + visit(e7, t26) { + return e7.visitLetDeclaration(this, t26); + } + }; + Pr4 = class { + constructor() { + } + visitElement(e7, t26) { + this.visitChildren(t26, (r5) => { + r5(e7.attrs), r5(e7.directives), r5(e7.children); + }); + } + visitAttribute(e7, t26) { + } + visitText(e7, t26) { + } + visitCdata(e7, t26) { + } + visitComment(e7, t26) { + } + visitDocType(e7, t26) { + } + visitExpansion(e7, t26) { + return this.visitChildren(t26, (r5) => { + r5(e7.cases); + }); + } + visitExpansionCase(e7, t26) { + } + visitBlock(e7, t26) { + this.visitChildren(t26, (r5) => { + r5(e7.parameters), r5(e7.children); + }); + } + visitBlockParameter(e7, t26) { + } + visitLetDeclaration(e7, t26) { + } + visitComponent(e7, t26) { + this.visitChildren(t26, (r5) => { + r5(e7.attrs), r5(e7.children); + }); + } + visitDirective(e7, t26) { + this.visitChildren(t26, (r5) => { + r5(e7.attrs); + }); + } + visitChildren(e7, t26) { + let r5 = [], n5 = this; + function i5(s5) { + s5 && r5.push(Wt7(n5, s5, e7)); + } + return t26(i5), Array.prototype.concat.apply([], r5); + } + }; + Te7 = { AElig: "\xC6", AMP: "&", amp: "&", Aacute: "\xC1", Abreve: "\u0102", Acirc: "\xC2", Acy: "\u0410", Afr: "\u{1D504}", Agrave: "\xC0", Alpha: "\u0391", Amacr: "\u0100", And: "\u2A53", Aogon: "\u0104", Aopf: "\u{1D538}", ApplyFunction: "\u2061", af: "\u2061", Aring: "\xC5", angst: "\xC5", Ascr: "\u{1D49C}", Assign: "\u2254", colone: "\u2254", coloneq: "\u2254", Atilde: "\xC3", Auml: "\xC4", Backslash: "\u2216", setminus: "\u2216", setmn: "\u2216", smallsetminus: "\u2216", ssetmn: "\u2216", Barv: "\u2AE7", Barwed: "\u2306", doublebarwedge: "\u2306", Bcy: "\u0411", Because: "\u2235", becaus: "\u2235", because: "\u2235", Bernoullis: "\u212C", Bscr: "\u212C", bernou: "\u212C", Beta: "\u0392", Bfr: "\u{1D505}", Bopf: "\u{1D539}", Breve: "\u02D8", breve: "\u02D8", Bumpeq: "\u224E", HumpDownHump: "\u224E", bump: "\u224E", CHcy: "\u0427", COPY: "\xA9", copy: "\xA9", Cacute: "\u0106", Cap: "\u22D2", CapitalDifferentialD: "\u2145", DD: "\u2145", Cayleys: "\u212D", Cfr: "\u212D", Ccaron: "\u010C", Ccedil: "\xC7", Ccirc: "\u0108", Cconint: "\u2230", Cdot: "\u010A", Cedilla: "\xB8", cedil: "\xB8", CenterDot: "\xB7", centerdot: "\xB7", middot: "\xB7", Chi: "\u03A7", CircleDot: "\u2299", odot: "\u2299", CircleMinus: "\u2296", ominus: "\u2296", CirclePlus: "\u2295", oplus: "\u2295", CircleTimes: "\u2297", otimes: "\u2297", ClockwiseContourIntegral: "\u2232", cwconint: "\u2232", CloseCurlyDoubleQuote: "\u201D", rdquo: "\u201D", rdquor: "\u201D", CloseCurlyQuote: "\u2019", rsquo: "\u2019", rsquor: "\u2019", Colon: "\u2237", Proportion: "\u2237", Colone: "\u2A74", Congruent: "\u2261", equiv: "\u2261", Conint: "\u222F", DoubleContourIntegral: "\u222F", ContourIntegral: "\u222E", conint: "\u222E", oint: "\u222E", Copf: "\u2102", complexes: "\u2102", Coproduct: "\u2210", coprod: "\u2210", CounterClockwiseContourIntegral: "\u2233", awconint: "\u2233", Cross: "\u2A2F", Cscr: "\u{1D49E}", Cup: "\u22D3", CupCap: "\u224D", asympeq: "\u224D", DDotrahd: "\u2911", DJcy: "\u0402", DScy: "\u0405", DZcy: "\u040F", Dagger: "\u2021", ddagger: "\u2021", Darr: "\u21A1", Dashv: "\u2AE4", DoubleLeftTee: "\u2AE4", Dcaron: "\u010E", Dcy: "\u0414", Del: "\u2207", nabla: "\u2207", Delta: "\u0394", Dfr: "\u{1D507}", DiacriticalAcute: "\xB4", acute: "\xB4", DiacriticalDot: "\u02D9", dot: "\u02D9", DiacriticalDoubleAcute: "\u02DD", dblac: "\u02DD", DiacriticalGrave: "`", grave: "`", DiacriticalTilde: "\u02DC", tilde: "\u02DC", Diamond: "\u22C4", diam: "\u22C4", diamond: "\u22C4", DifferentialD: "\u2146", dd: "\u2146", Dopf: "\u{1D53B}", Dot: "\xA8", DoubleDot: "\xA8", die: "\xA8", uml: "\xA8", DotDot: "\u20DC", DotEqual: "\u2250", doteq: "\u2250", esdot: "\u2250", DoubleDownArrow: "\u21D3", Downarrow: "\u21D3", dArr: "\u21D3", DoubleLeftArrow: "\u21D0", Leftarrow: "\u21D0", lArr: "\u21D0", DoubleLeftRightArrow: "\u21D4", Leftrightarrow: "\u21D4", hArr: "\u21D4", iff: "\u21D4", DoubleLongLeftArrow: "\u27F8", Longleftarrow: "\u27F8", xlArr: "\u27F8", DoubleLongLeftRightArrow: "\u27FA", Longleftrightarrow: "\u27FA", xhArr: "\u27FA", DoubleLongRightArrow: "\u27F9", Longrightarrow: "\u27F9", xrArr: "\u27F9", DoubleRightArrow: "\u21D2", Implies: "\u21D2", Rightarrow: "\u21D2", rArr: "\u21D2", DoubleRightTee: "\u22A8", vDash: "\u22A8", DoubleUpArrow: "\u21D1", Uparrow: "\u21D1", uArr: "\u21D1", DoubleUpDownArrow: "\u21D5", Updownarrow: "\u21D5", vArr: "\u21D5", DoubleVerticalBar: "\u2225", par: "\u2225", parallel: "\u2225", shortparallel: "\u2225", spar: "\u2225", DownArrow: "\u2193", ShortDownArrow: "\u2193", darr: "\u2193", downarrow: "\u2193", DownArrowBar: "\u2913", DownArrowUpArrow: "\u21F5", duarr: "\u21F5", DownBreve: "\u0311", DownLeftRightVector: "\u2950", DownLeftTeeVector: "\u295E", DownLeftVector: "\u21BD", leftharpoondown: "\u21BD", lhard: "\u21BD", DownLeftVectorBar: "\u2956", DownRightTeeVector: "\u295F", DownRightVector: "\u21C1", rhard: "\u21C1", rightharpoondown: "\u21C1", DownRightVectorBar: "\u2957", DownTee: "\u22A4", top: "\u22A4", DownTeeArrow: "\u21A7", mapstodown: "\u21A7", Dscr: "\u{1D49F}", Dstrok: "\u0110", ENG: "\u014A", ETH: "\xD0", Eacute: "\xC9", Ecaron: "\u011A", Ecirc: "\xCA", Ecy: "\u042D", Edot: "\u0116", Efr: "\u{1D508}", Egrave: "\xC8", Element: "\u2208", in: "\u2208", isin: "\u2208", isinv: "\u2208", Emacr: "\u0112", EmptySmallSquare: "\u25FB", EmptyVerySmallSquare: "\u25AB", Eogon: "\u0118", Eopf: "\u{1D53C}", Epsilon: "\u0395", Equal: "\u2A75", EqualTilde: "\u2242", eqsim: "\u2242", esim: "\u2242", Equilibrium: "\u21CC", rightleftharpoons: "\u21CC", rlhar: "\u21CC", Escr: "\u2130", expectation: "\u2130", Esim: "\u2A73", Eta: "\u0397", Euml: "\xCB", Exists: "\u2203", exist: "\u2203", ExponentialE: "\u2147", ee: "\u2147", exponentiale: "\u2147", Fcy: "\u0424", Ffr: "\u{1D509}", FilledSmallSquare: "\u25FC", FilledVerySmallSquare: "\u25AA", blacksquare: "\u25AA", squarf: "\u25AA", squf: "\u25AA", Fopf: "\u{1D53D}", ForAll: "\u2200", forall: "\u2200", Fouriertrf: "\u2131", Fscr: "\u2131", GJcy: "\u0403", GT: ">", gt: ">", Gamma: "\u0393", Gammad: "\u03DC", Gbreve: "\u011E", Gcedil: "\u0122", Gcirc: "\u011C", Gcy: "\u0413", Gdot: "\u0120", Gfr: "\u{1D50A}", Gg: "\u22D9", ggg: "\u22D9", Gopf: "\u{1D53E}", GreaterEqual: "\u2265", ge: "\u2265", geq: "\u2265", GreaterEqualLess: "\u22DB", gel: "\u22DB", gtreqless: "\u22DB", GreaterFullEqual: "\u2267", gE: "\u2267", geqq: "\u2267", GreaterGreater: "\u2AA2", GreaterLess: "\u2277", gl: "\u2277", gtrless: "\u2277", GreaterSlantEqual: "\u2A7E", geqslant: "\u2A7E", ges: "\u2A7E", GreaterTilde: "\u2273", gsim: "\u2273", gtrsim: "\u2273", Gscr: "\u{1D4A2}", Gt: "\u226B", NestedGreaterGreater: "\u226B", gg: "\u226B", HARDcy: "\u042A", Hacek: "\u02C7", caron: "\u02C7", Hat: "^", Hcirc: "\u0124", Hfr: "\u210C", Poincareplane: "\u210C", HilbertSpace: "\u210B", Hscr: "\u210B", hamilt: "\u210B", Hopf: "\u210D", quaternions: "\u210D", HorizontalLine: "\u2500", boxh: "\u2500", Hstrok: "\u0126", HumpEqual: "\u224F", bumpe: "\u224F", bumpeq: "\u224F", IEcy: "\u0415", IJlig: "\u0132", IOcy: "\u0401", Iacute: "\xCD", Icirc: "\xCE", Icy: "\u0418", Idot: "\u0130", Ifr: "\u2111", Im: "\u2111", image: "\u2111", imagpart: "\u2111", Igrave: "\xCC", Imacr: "\u012A", ImaginaryI: "\u2148", ii: "\u2148", Int: "\u222C", Integral: "\u222B", int: "\u222B", Intersection: "\u22C2", bigcap: "\u22C2", xcap: "\u22C2", InvisibleComma: "\u2063", ic: "\u2063", InvisibleTimes: "\u2062", it: "\u2062", Iogon: "\u012E", Iopf: "\u{1D540}", Iota: "\u0399", Iscr: "\u2110", imagline: "\u2110", Itilde: "\u0128", Iukcy: "\u0406", Iuml: "\xCF", Jcirc: "\u0134", Jcy: "\u0419", Jfr: "\u{1D50D}", Jopf: "\u{1D541}", Jscr: "\u{1D4A5}", Jsercy: "\u0408", Jukcy: "\u0404", KHcy: "\u0425", KJcy: "\u040C", Kappa: "\u039A", Kcedil: "\u0136", Kcy: "\u041A", Kfr: "\u{1D50E}", Kopf: "\u{1D542}", Kscr: "\u{1D4A6}", LJcy: "\u0409", LT: "<", lt: "<", Lacute: "\u0139", Lambda: "\u039B", Lang: "\u27EA", Laplacetrf: "\u2112", Lscr: "\u2112", lagran: "\u2112", Larr: "\u219E", twoheadleftarrow: "\u219E", Lcaron: "\u013D", Lcedil: "\u013B", Lcy: "\u041B", LeftAngleBracket: "\u27E8", lang: "\u27E8", langle: "\u27E8", LeftArrow: "\u2190", ShortLeftArrow: "\u2190", larr: "\u2190", leftarrow: "\u2190", slarr: "\u2190", LeftArrowBar: "\u21E4", larrb: "\u21E4", LeftArrowRightArrow: "\u21C6", leftrightarrows: "\u21C6", lrarr: "\u21C6", LeftCeiling: "\u2308", lceil: "\u2308", LeftDoubleBracket: "\u27E6", lobrk: "\u27E6", LeftDownTeeVector: "\u2961", LeftDownVector: "\u21C3", dharl: "\u21C3", downharpoonleft: "\u21C3", LeftDownVectorBar: "\u2959", LeftFloor: "\u230A", lfloor: "\u230A", LeftRightArrow: "\u2194", harr: "\u2194", leftrightarrow: "\u2194", LeftRightVector: "\u294E", LeftTee: "\u22A3", dashv: "\u22A3", LeftTeeArrow: "\u21A4", mapstoleft: "\u21A4", LeftTeeVector: "\u295A", LeftTriangle: "\u22B2", vartriangleleft: "\u22B2", vltri: "\u22B2", LeftTriangleBar: "\u29CF", LeftTriangleEqual: "\u22B4", ltrie: "\u22B4", trianglelefteq: "\u22B4", LeftUpDownVector: "\u2951", LeftUpTeeVector: "\u2960", LeftUpVector: "\u21BF", uharl: "\u21BF", upharpoonleft: "\u21BF", LeftUpVectorBar: "\u2958", LeftVector: "\u21BC", leftharpoonup: "\u21BC", lharu: "\u21BC", LeftVectorBar: "\u2952", LessEqualGreater: "\u22DA", leg: "\u22DA", lesseqgtr: "\u22DA", LessFullEqual: "\u2266", lE: "\u2266", leqq: "\u2266", LessGreater: "\u2276", lessgtr: "\u2276", lg: "\u2276", LessLess: "\u2AA1", LessSlantEqual: "\u2A7D", leqslant: "\u2A7D", les: "\u2A7D", LessTilde: "\u2272", lesssim: "\u2272", lsim: "\u2272", Lfr: "\u{1D50F}", Ll: "\u22D8", Lleftarrow: "\u21DA", lAarr: "\u21DA", Lmidot: "\u013F", LongLeftArrow: "\u27F5", longleftarrow: "\u27F5", xlarr: "\u27F5", LongLeftRightArrow: "\u27F7", longleftrightarrow: "\u27F7", xharr: "\u27F7", LongRightArrow: "\u27F6", longrightarrow: "\u27F6", xrarr: "\u27F6", Lopf: "\u{1D543}", LowerLeftArrow: "\u2199", swarr: "\u2199", swarrow: "\u2199", LowerRightArrow: "\u2198", searr: "\u2198", searrow: "\u2198", Lsh: "\u21B0", lsh: "\u21B0", Lstrok: "\u0141", Lt: "\u226A", NestedLessLess: "\u226A", ll: "\u226A", Map: "\u2905", Mcy: "\u041C", MediumSpace: "\u205F", Mellintrf: "\u2133", Mscr: "\u2133", phmmat: "\u2133", Mfr: "\u{1D510}", MinusPlus: "\u2213", mnplus: "\u2213", mp: "\u2213", Mopf: "\u{1D544}", Mu: "\u039C", NJcy: "\u040A", Nacute: "\u0143", Ncaron: "\u0147", Ncedil: "\u0145", Ncy: "\u041D", NegativeMediumSpace: "\u200B", NegativeThickSpace: "\u200B", NegativeThinSpace: "\u200B", NegativeVeryThinSpace: "\u200B", ZeroWidthSpace: "\u200B", NewLine: ` +`, Nfr: "\u{1D511}", NoBreak: "\u2060", NonBreakingSpace: "\xA0", nbsp: "\xA0", Nopf: "\u2115", naturals: "\u2115", Not: "\u2AEC", NotCongruent: "\u2262", nequiv: "\u2262", NotCupCap: "\u226D", NotDoubleVerticalBar: "\u2226", npar: "\u2226", nparallel: "\u2226", nshortparallel: "\u2226", nspar: "\u2226", NotElement: "\u2209", notin: "\u2209", notinva: "\u2209", NotEqual: "\u2260", ne: "\u2260", NotEqualTilde: "\u2242\u0338", nesim: "\u2242\u0338", NotExists: "\u2204", nexist: "\u2204", nexists: "\u2204", NotGreater: "\u226F", ngt: "\u226F", ngtr: "\u226F", NotGreaterEqual: "\u2271", nge: "\u2271", ngeq: "\u2271", NotGreaterFullEqual: "\u2267\u0338", ngE: "\u2267\u0338", ngeqq: "\u2267\u0338", NotGreaterGreater: "\u226B\u0338", nGtv: "\u226B\u0338", NotGreaterLess: "\u2279", ntgl: "\u2279", NotGreaterSlantEqual: "\u2A7E\u0338", ngeqslant: "\u2A7E\u0338", nges: "\u2A7E\u0338", NotGreaterTilde: "\u2275", ngsim: "\u2275", NotHumpDownHump: "\u224E\u0338", nbump: "\u224E\u0338", NotHumpEqual: "\u224F\u0338", nbumpe: "\u224F\u0338", NotLeftTriangle: "\u22EA", nltri: "\u22EA", ntriangleleft: "\u22EA", NotLeftTriangleBar: "\u29CF\u0338", NotLeftTriangleEqual: "\u22EC", nltrie: "\u22EC", ntrianglelefteq: "\u22EC", NotLess: "\u226E", nless: "\u226E", nlt: "\u226E", NotLessEqual: "\u2270", nle: "\u2270", nleq: "\u2270", NotLessGreater: "\u2278", ntlg: "\u2278", NotLessLess: "\u226A\u0338", nLtv: "\u226A\u0338", NotLessSlantEqual: "\u2A7D\u0338", nleqslant: "\u2A7D\u0338", nles: "\u2A7D\u0338", NotLessTilde: "\u2274", nlsim: "\u2274", NotNestedGreaterGreater: "\u2AA2\u0338", NotNestedLessLess: "\u2AA1\u0338", NotPrecedes: "\u2280", npr: "\u2280", nprec: "\u2280", NotPrecedesEqual: "\u2AAF\u0338", npre: "\u2AAF\u0338", npreceq: "\u2AAF\u0338", NotPrecedesSlantEqual: "\u22E0", nprcue: "\u22E0", NotReverseElement: "\u220C", notni: "\u220C", notniva: "\u220C", NotRightTriangle: "\u22EB", nrtri: "\u22EB", ntriangleright: "\u22EB", NotRightTriangleBar: "\u29D0\u0338", NotRightTriangleEqual: "\u22ED", nrtrie: "\u22ED", ntrianglerighteq: "\u22ED", NotSquareSubset: "\u228F\u0338", NotSquareSubsetEqual: "\u22E2", nsqsube: "\u22E2", NotSquareSuperset: "\u2290\u0338", NotSquareSupersetEqual: "\u22E3", nsqsupe: "\u22E3", NotSubset: "\u2282\u20D2", nsubset: "\u2282\u20D2", vnsub: "\u2282\u20D2", NotSubsetEqual: "\u2288", nsube: "\u2288", nsubseteq: "\u2288", NotSucceeds: "\u2281", nsc: "\u2281", nsucc: "\u2281", NotSucceedsEqual: "\u2AB0\u0338", nsce: "\u2AB0\u0338", nsucceq: "\u2AB0\u0338", NotSucceedsSlantEqual: "\u22E1", nsccue: "\u22E1", NotSucceedsTilde: "\u227F\u0338", NotSuperset: "\u2283\u20D2", nsupset: "\u2283\u20D2", vnsup: "\u2283\u20D2", NotSupersetEqual: "\u2289", nsupe: "\u2289", nsupseteq: "\u2289", NotTilde: "\u2241", nsim: "\u2241", NotTildeEqual: "\u2244", nsime: "\u2244", nsimeq: "\u2244", NotTildeFullEqual: "\u2247", ncong: "\u2247", NotTildeTilde: "\u2249", nap: "\u2249", napprox: "\u2249", NotVerticalBar: "\u2224", nmid: "\u2224", nshortmid: "\u2224", nsmid: "\u2224", Nscr: "\u{1D4A9}", Ntilde: "\xD1", Nu: "\u039D", OElig: "\u0152", Oacute: "\xD3", Ocirc: "\xD4", Ocy: "\u041E", Odblac: "\u0150", Ofr: "\u{1D512}", Ograve: "\xD2", Omacr: "\u014C", Omega: "\u03A9", ohm: "\u03A9", Omicron: "\u039F", Oopf: "\u{1D546}", OpenCurlyDoubleQuote: "\u201C", ldquo: "\u201C", OpenCurlyQuote: "\u2018", lsquo: "\u2018", Or: "\u2A54", Oscr: "\u{1D4AA}", Oslash: "\xD8", Otilde: "\xD5", Otimes: "\u2A37", Ouml: "\xD6", OverBar: "\u203E", oline: "\u203E", OverBrace: "\u23DE", OverBracket: "\u23B4", tbrk: "\u23B4", OverParenthesis: "\u23DC", PartialD: "\u2202", part: "\u2202", Pcy: "\u041F", Pfr: "\u{1D513}", Phi: "\u03A6", Pi: "\u03A0", PlusMinus: "\xB1", plusmn: "\xB1", pm: "\xB1", Popf: "\u2119", primes: "\u2119", Pr: "\u2ABB", Precedes: "\u227A", pr: "\u227A", prec: "\u227A", PrecedesEqual: "\u2AAF", pre: "\u2AAF", preceq: "\u2AAF", PrecedesSlantEqual: "\u227C", prcue: "\u227C", preccurlyeq: "\u227C", PrecedesTilde: "\u227E", precsim: "\u227E", prsim: "\u227E", Prime: "\u2033", Product: "\u220F", prod: "\u220F", Proportional: "\u221D", prop: "\u221D", propto: "\u221D", varpropto: "\u221D", vprop: "\u221D", Pscr: "\u{1D4AB}", Psi: "\u03A8", QUOT: '"', quot: '"', Qfr: "\u{1D514}", Qopf: "\u211A", rationals: "\u211A", Qscr: "\u{1D4AC}", RBarr: "\u2910", drbkarow: "\u2910", REG: "\xAE", circledR: "\xAE", reg: "\xAE", Racute: "\u0154", Rang: "\u27EB", Rarr: "\u21A0", twoheadrightarrow: "\u21A0", Rarrtl: "\u2916", Rcaron: "\u0158", Rcedil: "\u0156", Rcy: "\u0420", Re: "\u211C", Rfr: "\u211C", real: "\u211C", realpart: "\u211C", ReverseElement: "\u220B", SuchThat: "\u220B", ni: "\u220B", niv: "\u220B", ReverseEquilibrium: "\u21CB", leftrightharpoons: "\u21CB", lrhar: "\u21CB", ReverseUpEquilibrium: "\u296F", duhar: "\u296F", Rho: "\u03A1", RightAngleBracket: "\u27E9", rang: "\u27E9", rangle: "\u27E9", RightArrow: "\u2192", ShortRightArrow: "\u2192", rarr: "\u2192", rightarrow: "\u2192", srarr: "\u2192", RightArrowBar: "\u21E5", rarrb: "\u21E5", RightArrowLeftArrow: "\u21C4", rightleftarrows: "\u21C4", rlarr: "\u21C4", RightCeiling: "\u2309", rceil: "\u2309", RightDoubleBracket: "\u27E7", robrk: "\u27E7", RightDownTeeVector: "\u295D", RightDownVector: "\u21C2", dharr: "\u21C2", downharpoonright: "\u21C2", RightDownVectorBar: "\u2955", RightFloor: "\u230B", rfloor: "\u230B", RightTee: "\u22A2", vdash: "\u22A2", RightTeeArrow: "\u21A6", map: "\u21A6", mapsto: "\u21A6", RightTeeVector: "\u295B", RightTriangle: "\u22B3", vartriangleright: "\u22B3", vrtri: "\u22B3", RightTriangleBar: "\u29D0", RightTriangleEqual: "\u22B5", rtrie: "\u22B5", trianglerighteq: "\u22B5", RightUpDownVector: "\u294F", RightUpTeeVector: "\u295C", RightUpVector: "\u21BE", uharr: "\u21BE", upharpoonright: "\u21BE", RightUpVectorBar: "\u2954", RightVector: "\u21C0", rharu: "\u21C0", rightharpoonup: "\u21C0", RightVectorBar: "\u2953", Ropf: "\u211D", reals: "\u211D", RoundImplies: "\u2970", Rrightarrow: "\u21DB", rAarr: "\u21DB", Rscr: "\u211B", realine: "\u211B", Rsh: "\u21B1", rsh: "\u21B1", RuleDelayed: "\u29F4", SHCHcy: "\u0429", SHcy: "\u0428", SOFTcy: "\u042C", Sacute: "\u015A", Sc: "\u2ABC", Scaron: "\u0160", Scedil: "\u015E", Scirc: "\u015C", Scy: "\u0421", Sfr: "\u{1D516}", ShortUpArrow: "\u2191", UpArrow: "\u2191", uarr: "\u2191", uparrow: "\u2191", Sigma: "\u03A3", SmallCircle: "\u2218", compfn: "\u2218", Sopf: "\u{1D54A}", Sqrt: "\u221A", radic: "\u221A", Square: "\u25A1", squ: "\u25A1", square: "\u25A1", SquareIntersection: "\u2293", sqcap: "\u2293", SquareSubset: "\u228F", sqsub: "\u228F", sqsubset: "\u228F", SquareSubsetEqual: "\u2291", sqsube: "\u2291", sqsubseteq: "\u2291", SquareSuperset: "\u2290", sqsup: "\u2290", sqsupset: "\u2290", SquareSupersetEqual: "\u2292", sqsupe: "\u2292", sqsupseteq: "\u2292", SquareUnion: "\u2294", sqcup: "\u2294", Sscr: "\u{1D4AE}", Star: "\u22C6", sstarf: "\u22C6", Sub: "\u22D0", Subset: "\u22D0", SubsetEqual: "\u2286", sube: "\u2286", subseteq: "\u2286", Succeeds: "\u227B", sc: "\u227B", succ: "\u227B", SucceedsEqual: "\u2AB0", sce: "\u2AB0", succeq: "\u2AB0", SucceedsSlantEqual: "\u227D", sccue: "\u227D", succcurlyeq: "\u227D", SucceedsTilde: "\u227F", scsim: "\u227F", succsim: "\u227F", Sum: "\u2211", sum: "\u2211", Sup: "\u22D1", Supset: "\u22D1", Superset: "\u2283", sup: "\u2283", supset: "\u2283", SupersetEqual: "\u2287", supe: "\u2287", supseteq: "\u2287", THORN: "\xDE", TRADE: "\u2122", trade: "\u2122", TSHcy: "\u040B", TScy: "\u0426", Tab: " ", Tau: "\u03A4", Tcaron: "\u0164", Tcedil: "\u0162", Tcy: "\u0422", Tfr: "\u{1D517}", Therefore: "\u2234", there4: "\u2234", therefore: "\u2234", Theta: "\u0398", ThickSpace: "\u205F\u200A", ThinSpace: "\u2009", thinsp: "\u2009", Tilde: "\u223C", sim: "\u223C", thicksim: "\u223C", thksim: "\u223C", TildeEqual: "\u2243", sime: "\u2243", simeq: "\u2243", TildeFullEqual: "\u2245", cong: "\u2245", TildeTilde: "\u2248", ap: "\u2248", approx: "\u2248", asymp: "\u2248", thickapprox: "\u2248", thkap: "\u2248", Topf: "\u{1D54B}", TripleDot: "\u20DB", tdot: "\u20DB", Tscr: "\u{1D4AF}", Tstrok: "\u0166", Uacute: "\xDA", Uarr: "\u219F", Uarrocir: "\u2949", Ubrcy: "\u040E", Ubreve: "\u016C", Ucirc: "\xDB", Ucy: "\u0423", Udblac: "\u0170", Ufr: "\u{1D518}", Ugrave: "\xD9", Umacr: "\u016A", UnderBar: "_", lowbar: "_", UnderBrace: "\u23DF", UnderBracket: "\u23B5", bbrk: "\u23B5", UnderParenthesis: "\u23DD", Union: "\u22C3", bigcup: "\u22C3", xcup: "\u22C3", UnionPlus: "\u228E", uplus: "\u228E", Uogon: "\u0172", Uopf: "\u{1D54C}", UpArrowBar: "\u2912", UpArrowDownArrow: "\u21C5", udarr: "\u21C5", UpDownArrow: "\u2195", updownarrow: "\u2195", varr: "\u2195", UpEquilibrium: "\u296E", udhar: "\u296E", UpTee: "\u22A5", bot: "\u22A5", bottom: "\u22A5", perp: "\u22A5", UpTeeArrow: "\u21A5", mapstoup: "\u21A5", UpperLeftArrow: "\u2196", nwarr: "\u2196", nwarrow: "\u2196", UpperRightArrow: "\u2197", nearr: "\u2197", nearrow: "\u2197", Upsi: "\u03D2", upsih: "\u03D2", Upsilon: "\u03A5", Uring: "\u016E", Uscr: "\u{1D4B0}", Utilde: "\u0168", Uuml: "\xDC", VDash: "\u22AB", Vbar: "\u2AEB", Vcy: "\u0412", Vdash: "\u22A9", Vdashl: "\u2AE6", Vee: "\u22C1", bigvee: "\u22C1", xvee: "\u22C1", Verbar: "\u2016", Vert: "\u2016", VerticalBar: "\u2223", mid: "\u2223", shortmid: "\u2223", smid: "\u2223", VerticalLine: "|", verbar: "|", vert: "|", VerticalSeparator: "\u2758", VerticalTilde: "\u2240", wr: "\u2240", wreath: "\u2240", VeryThinSpace: "\u200A", hairsp: "\u200A", Vfr: "\u{1D519}", Vopf: "\u{1D54D}", Vscr: "\u{1D4B1}", Vvdash: "\u22AA", Wcirc: "\u0174", Wedge: "\u22C0", bigwedge: "\u22C0", xwedge: "\u22C0", Wfr: "\u{1D51A}", Wopf: "\u{1D54E}", Wscr: "\u{1D4B2}", Xfr: "\u{1D51B}", Xi: "\u039E", Xopf: "\u{1D54F}", Xscr: "\u{1D4B3}", YAcy: "\u042F", YIcy: "\u0407", YUcy: "\u042E", Yacute: "\xDD", Ycirc: "\u0176", Ycy: "\u042B", Yfr: "\u{1D51C}", Yopf: "\u{1D550}", Yscr: "\u{1D4B4}", Yuml: "\u0178", ZHcy: "\u0416", Zacute: "\u0179", Zcaron: "\u017D", Zcy: "\u0417", Zdot: "\u017B", Zeta: "\u0396", Zfr: "\u2128", zeetrf: "\u2128", Zopf: "\u2124", integers: "\u2124", Zscr: "\u{1D4B5}", aacute: "\xE1", abreve: "\u0103", ac: "\u223E", mstpos: "\u223E", acE: "\u223E\u0333", acd: "\u223F", acirc: "\xE2", acy: "\u0430", aelig: "\xE6", afr: "\u{1D51E}", agrave: "\xE0", alefsym: "\u2135", aleph: "\u2135", alpha: "\u03B1", amacr: "\u0101", amalg: "\u2A3F", and: "\u2227", wedge: "\u2227", andand: "\u2A55", andd: "\u2A5C", andslope: "\u2A58", andv: "\u2A5A", ang: "\u2220", angle: "\u2220", ange: "\u29A4", angmsd: "\u2221", measuredangle: "\u2221", angmsdaa: "\u29A8", angmsdab: "\u29A9", angmsdac: "\u29AA", angmsdad: "\u29AB", angmsdae: "\u29AC", angmsdaf: "\u29AD", angmsdag: "\u29AE", angmsdah: "\u29AF", angrt: "\u221F", angrtvb: "\u22BE", angrtvbd: "\u299D", angsph: "\u2222", angzarr: "\u237C", aogon: "\u0105", aopf: "\u{1D552}", apE: "\u2A70", apacir: "\u2A6F", ape: "\u224A", approxeq: "\u224A", apid: "\u224B", apos: "'", aring: "\xE5", ascr: "\u{1D4B6}", ast: "*", midast: "*", atilde: "\xE3", auml: "\xE4", awint: "\u2A11", bNot: "\u2AED", backcong: "\u224C", bcong: "\u224C", backepsilon: "\u03F6", bepsi: "\u03F6", backprime: "\u2035", bprime: "\u2035", backsim: "\u223D", bsim: "\u223D", backsimeq: "\u22CD", bsime: "\u22CD", barvee: "\u22BD", barwed: "\u2305", barwedge: "\u2305", bbrktbrk: "\u23B6", bcy: "\u0431", bdquo: "\u201E", ldquor: "\u201E", bemptyv: "\u29B0", beta: "\u03B2", beth: "\u2136", between: "\u226C", twixt: "\u226C", bfr: "\u{1D51F}", bigcirc: "\u25EF", xcirc: "\u25EF", bigodot: "\u2A00", xodot: "\u2A00", bigoplus: "\u2A01", xoplus: "\u2A01", bigotimes: "\u2A02", xotime: "\u2A02", bigsqcup: "\u2A06", xsqcup: "\u2A06", bigstar: "\u2605", starf: "\u2605", bigtriangledown: "\u25BD", xdtri: "\u25BD", bigtriangleup: "\u25B3", xutri: "\u25B3", biguplus: "\u2A04", xuplus: "\u2A04", bkarow: "\u290D", rbarr: "\u290D", blacklozenge: "\u29EB", lozf: "\u29EB", blacktriangle: "\u25B4", utrif: "\u25B4", blacktriangledown: "\u25BE", dtrif: "\u25BE", blacktriangleleft: "\u25C2", ltrif: "\u25C2", blacktriangleright: "\u25B8", rtrif: "\u25B8", blank: "\u2423", blk12: "\u2592", blk14: "\u2591", blk34: "\u2593", block: "\u2588", bne: "=\u20E5", bnequiv: "\u2261\u20E5", bnot: "\u2310", bopf: "\u{1D553}", bowtie: "\u22C8", boxDL: "\u2557", boxDR: "\u2554", boxDl: "\u2556", boxDr: "\u2553", boxH: "\u2550", boxHD: "\u2566", boxHU: "\u2569", boxHd: "\u2564", boxHu: "\u2567", boxUL: "\u255D", boxUR: "\u255A", boxUl: "\u255C", boxUr: "\u2559", boxV: "\u2551", boxVH: "\u256C", boxVL: "\u2563", boxVR: "\u2560", boxVh: "\u256B", boxVl: "\u2562", boxVr: "\u255F", boxbox: "\u29C9", boxdL: "\u2555", boxdR: "\u2552", boxdl: "\u2510", boxdr: "\u250C", boxhD: "\u2565", boxhU: "\u2568", boxhd: "\u252C", boxhu: "\u2534", boxminus: "\u229F", minusb: "\u229F", boxplus: "\u229E", plusb: "\u229E", boxtimes: "\u22A0", timesb: "\u22A0", boxuL: "\u255B", boxuR: "\u2558", boxul: "\u2518", boxur: "\u2514", boxv: "\u2502", boxvH: "\u256A", boxvL: "\u2561", boxvR: "\u255E", boxvh: "\u253C", boxvl: "\u2524", boxvr: "\u251C", brvbar: "\xA6", bscr: "\u{1D4B7}", bsemi: "\u204F", bsol: "\\", bsolb: "\u29C5", bsolhsub: "\u27C8", bull: "\u2022", bullet: "\u2022", bumpE: "\u2AAE", cacute: "\u0107", cap: "\u2229", capand: "\u2A44", capbrcup: "\u2A49", capcap: "\u2A4B", capcup: "\u2A47", capdot: "\u2A40", caps: "\u2229\uFE00", caret: "\u2041", ccaps: "\u2A4D", ccaron: "\u010D", ccedil: "\xE7", ccirc: "\u0109", ccups: "\u2A4C", ccupssm: "\u2A50", cdot: "\u010B", cemptyv: "\u29B2", cent: "\xA2", cfr: "\u{1D520}", chcy: "\u0447", check: "\u2713", checkmark: "\u2713", chi: "\u03C7", cir: "\u25CB", cirE: "\u29C3", circ: "\u02C6", circeq: "\u2257", cire: "\u2257", circlearrowleft: "\u21BA", olarr: "\u21BA", circlearrowright: "\u21BB", orarr: "\u21BB", circledS: "\u24C8", oS: "\u24C8", circledast: "\u229B", oast: "\u229B", circledcirc: "\u229A", ocir: "\u229A", circleddash: "\u229D", odash: "\u229D", cirfnint: "\u2A10", cirmid: "\u2AEF", cirscir: "\u29C2", clubs: "\u2663", clubsuit: "\u2663", colon: ":", comma: ",", commat: "@", comp: "\u2201", complement: "\u2201", congdot: "\u2A6D", copf: "\u{1D554}", copysr: "\u2117", crarr: "\u21B5", cross: "\u2717", cscr: "\u{1D4B8}", csub: "\u2ACF", csube: "\u2AD1", csup: "\u2AD0", csupe: "\u2AD2", ctdot: "\u22EF", cudarrl: "\u2938", cudarrr: "\u2935", cuepr: "\u22DE", curlyeqprec: "\u22DE", cuesc: "\u22DF", curlyeqsucc: "\u22DF", cularr: "\u21B6", curvearrowleft: "\u21B6", cularrp: "\u293D", cup: "\u222A", cupbrcap: "\u2A48", cupcap: "\u2A46", cupcup: "\u2A4A", cupdot: "\u228D", cupor: "\u2A45", cups: "\u222A\uFE00", curarr: "\u21B7", curvearrowright: "\u21B7", curarrm: "\u293C", curlyvee: "\u22CE", cuvee: "\u22CE", curlywedge: "\u22CF", cuwed: "\u22CF", curren: "\xA4", cwint: "\u2231", cylcty: "\u232D", dHar: "\u2965", dagger: "\u2020", daleth: "\u2138", dash: "\u2010", hyphen: "\u2010", dbkarow: "\u290F", rBarr: "\u290F", dcaron: "\u010F", dcy: "\u0434", ddarr: "\u21CA", downdownarrows: "\u21CA", ddotseq: "\u2A77", eDDot: "\u2A77", deg: "\xB0", delta: "\u03B4", demptyv: "\u29B1", dfisht: "\u297F", dfr: "\u{1D521}", diamondsuit: "\u2666", diams: "\u2666", digamma: "\u03DD", gammad: "\u03DD", disin: "\u22F2", div: "\xF7", divide: "\xF7", divideontimes: "\u22C7", divonx: "\u22C7", djcy: "\u0452", dlcorn: "\u231E", llcorner: "\u231E", dlcrop: "\u230D", dollar: "$", dopf: "\u{1D555}", doteqdot: "\u2251", eDot: "\u2251", dotminus: "\u2238", minusd: "\u2238", dotplus: "\u2214", plusdo: "\u2214", dotsquare: "\u22A1", sdotb: "\u22A1", drcorn: "\u231F", lrcorner: "\u231F", drcrop: "\u230C", dscr: "\u{1D4B9}", dscy: "\u0455", dsol: "\u29F6", dstrok: "\u0111", dtdot: "\u22F1", dtri: "\u25BF", triangledown: "\u25BF", dwangle: "\u29A6", dzcy: "\u045F", dzigrarr: "\u27FF", eacute: "\xE9", easter: "\u2A6E", ecaron: "\u011B", ecir: "\u2256", eqcirc: "\u2256", ecirc: "\xEA", ecolon: "\u2255", eqcolon: "\u2255", ecy: "\u044D", edot: "\u0117", efDot: "\u2252", fallingdotseq: "\u2252", efr: "\u{1D522}", eg: "\u2A9A", egrave: "\xE8", egs: "\u2A96", eqslantgtr: "\u2A96", egsdot: "\u2A98", el: "\u2A99", elinters: "\u23E7", ell: "\u2113", els: "\u2A95", eqslantless: "\u2A95", elsdot: "\u2A97", emacr: "\u0113", empty: "\u2205", emptyset: "\u2205", emptyv: "\u2205", varnothing: "\u2205", emsp13: "\u2004", emsp14: "\u2005", emsp: "\u2003", eng: "\u014B", ensp: "\u2002", eogon: "\u0119", eopf: "\u{1D556}", epar: "\u22D5", eparsl: "\u29E3", eplus: "\u2A71", epsi: "\u03B5", epsilon: "\u03B5", epsiv: "\u03F5", straightepsilon: "\u03F5", varepsilon: "\u03F5", equals: "=", equest: "\u225F", questeq: "\u225F", equivDD: "\u2A78", eqvparsl: "\u29E5", erDot: "\u2253", risingdotseq: "\u2253", erarr: "\u2971", escr: "\u212F", eta: "\u03B7", eth: "\xF0", euml: "\xEB", euro: "\u20AC", excl: "!", fcy: "\u0444", female: "\u2640", ffilig: "\uFB03", fflig: "\uFB00", ffllig: "\uFB04", ffr: "\u{1D523}", filig: "\uFB01", fjlig: "fj", flat: "\u266D", fllig: "\uFB02", fltns: "\u25B1", fnof: "\u0192", fopf: "\u{1D557}", fork: "\u22D4", pitchfork: "\u22D4", forkv: "\u2AD9", fpartint: "\u2A0D", frac12: "\xBD", half: "\xBD", frac13: "\u2153", frac14: "\xBC", frac15: "\u2155", frac16: "\u2159", frac18: "\u215B", frac23: "\u2154", frac25: "\u2156", frac34: "\xBE", frac35: "\u2157", frac38: "\u215C", frac45: "\u2158", frac56: "\u215A", frac58: "\u215D", frac78: "\u215E", frasl: "\u2044", frown: "\u2322", sfrown: "\u2322", fscr: "\u{1D4BB}", gEl: "\u2A8C", gtreqqless: "\u2A8C", gacute: "\u01F5", gamma: "\u03B3", gap: "\u2A86", gtrapprox: "\u2A86", gbreve: "\u011F", gcirc: "\u011D", gcy: "\u0433", gdot: "\u0121", gescc: "\u2AA9", gesdot: "\u2A80", gesdoto: "\u2A82", gesdotol: "\u2A84", gesl: "\u22DB\uFE00", gesles: "\u2A94", gfr: "\u{1D524}", gimel: "\u2137", gjcy: "\u0453", glE: "\u2A92", gla: "\u2AA5", glj: "\u2AA4", gnE: "\u2269", gneqq: "\u2269", gnap: "\u2A8A", gnapprox: "\u2A8A", gne: "\u2A88", gneq: "\u2A88", gnsim: "\u22E7", gopf: "\u{1D558}", gscr: "\u210A", gsime: "\u2A8E", gsiml: "\u2A90", gtcc: "\u2AA7", gtcir: "\u2A7A", gtdot: "\u22D7", gtrdot: "\u22D7", gtlPar: "\u2995", gtquest: "\u2A7C", gtrarr: "\u2978", gvertneqq: "\u2269\uFE00", gvnE: "\u2269\uFE00", hardcy: "\u044A", harrcir: "\u2948", harrw: "\u21AD", leftrightsquigarrow: "\u21AD", hbar: "\u210F", hslash: "\u210F", planck: "\u210F", plankv: "\u210F", hcirc: "\u0125", hearts: "\u2665", heartsuit: "\u2665", hellip: "\u2026", mldr: "\u2026", hercon: "\u22B9", hfr: "\u{1D525}", hksearow: "\u2925", searhk: "\u2925", hkswarow: "\u2926", swarhk: "\u2926", hoarr: "\u21FF", homtht: "\u223B", hookleftarrow: "\u21A9", larrhk: "\u21A9", hookrightarrow: "\u21AA", rarrhk: "\u21AA", hopf: "\u{1D559}", horbar: "\u2015", hscr: "\u{1D4BD}", hstrok: "\u0127", hybull: "\u2043", iacute: "\xED", icirc: "\xEE", icy: "\u0438", iecy: "\u0435", iexcl: "\xA1", ifr: "\u{1D526}", igrave: "\xEC", iiiint: "\u2A0C", qint: "\u2A0C", iiint: "\u222D", tint: "\u222D", iinfin: "\u29DC", iiota: "\u2129", ijlig: "\u0133", imacr: "\u012B", imath: "\u0131", inodot: "\u0131", imof: "\u22B7", imped: "\u01B5", incare: "\u2105", infin: "\u221E", infintie: "\u29DD", intcal: "\u22BA", intercal: "\u22BA", intlarhk: "\u2A17", intprod: "\u2A3C", iprod: "\u2A3C", iocy: "\u0451", iogon: "\u012F", iopf: "\u{1D55A}", iota: "\u03B9", iquest: "\xBF", iscr: "\u{1D4BE}", isinE: "\u22F9", isindot: "\u22F5", isins: "\u22F4", isinsv: "\u22F3", itilde: "\u0129", iukcy: "\u0456", iuml: "\xEF", jcirc: "\u0135", jcy: "\u0439", jfr: "\u{1D527}", jmath: "\u0237", jopf: "\u{1D55B}", jscr: "\u{1D4BF}", jsercy: "\u0458", jukcy: "\u0454", kappa: "\u03BA", kappav: "\u03F0", varkappa: "\u03F0", kcedil: "\u0137", kcy: "\u043A", kfr: "\u{1D528}", kgreen: "\u0138", khcy: "\u0445", kjcy: "\u045C", kopf: "\u{1D55C}", kscr: "\u{1D4C0}", lAtail: "\u291B", lBarr: "\u290E", lEg: "\u2A8B", lesseqqgtr: "\u2A8B", lHar: "\u2962", lacute: "\u013A", laemptyv: "\u29B4", lambda: "\u03BB", langd: "\u2991", lap: "\u2A85", lessapprox: "\u2A85", laquo: "\xAB", larrbfs: "\u291F", larrfs: "\u291D", larrlp: "\u21AB", looparrowleft: "\u21AB", larrpl: "\u2939", larrsim: "\u2973", larrtl: "\u21A2", leftarrowtail: "\u21A2", lat: "\u2AAB", latail: "\u2919", late: "\u2AAD", lates: "\u2AAD\uFE00", lbarr: "\u290C", lbbrk: "\u2772", lbrace: "{", lcub: "{", lbrack: "[", lsqb: "[", lbrke: "\u298B", lbrksld: "\u298F", lbrkslu: "\u298D", lcaron: "\u013E", lcedil: "\u013C", lcy: "\u043B", ldca: "\u2936", ldrdhar: "\u2967", ldrushar: "\u294B", ldsh: "\u21B2", le: "\u2264", leq: "\u2264", leftleftarrows: "\u21C7", llarr: "\u21C7", leftthreetimes: "\u22CB", lthree: "\u22CB", lescc: "\u2AA8", lesdot: "\u2A7F", lesdoto: "\u2A81", lesdotor: "\u2A83", lesg: "\u22DA\uFE00", lesges: "\u2A93", lessdot: "\u22D6", ltdot: "\u22D6", lfisht: "\u297C", lfr: "\u{1D529}", lgE: "\u2A91", lharul: "\u296A", lhblk: "\u2584", ljcy: "\u0459", llhard: "\u296B", lltri: "\u25FA", lmidot: "\u0140", lmoust: "\u23B0", lmoustache: "\u23B0", lnE: "\u2268", lneqq: "\u2268", lnap: "\u2A89", lnapprox: "\u2A89", lne: "\u2A87", lneq: "\u2A87", lnsim: "\u22E6", loang: "\u27EC", loarr: "\u21FD", longmapsto: "\u27FC", xmap: "\u27FC", looparrowright: "\u21AC", rarrlp: "\u21AC", lopar: "\u2985", lopf: "\u{1D55D}", loplus: "\u2A2D", lotimes: "\u2A34", lowast: "\u2217", loz: "\u25CA", lozenge: "\u25CA", lpar: "(", lparlt: "\u2993", lrhard: "\u296D", lrm: "\u200E", lrtri: "\u22BF", lsaquo: "\u2039", lscr: "\u{1D4C1}", lsime: "\u2A8D", lsimg: "\u2A8F", lsquor: "\u201A", sbquo: "\u201A", lstrok: "\u0142", ltcc: "\u2AA6", ltcir: "\u2A79", ltimes: "\u22C9", ltlarr: "\u2976", ltquest: "\u2A7B", ltrPar: "\u2996", ltri: "\u25C3", triangleleft: "\u25C3", lurdshar: "\u294A", luruhar: "\u2966", lvertneqq: "\u2268\uFE00", lvnE: "\u2268\uFE00", mDDot: "\u223A", macr: "\xAF", strns: "\xAF", male: "\u2642", malt: "\u2720", maltese: "\u2720", marker: "\u25AE", mcomma: "\u2A29", mcy: "\u043C", mdash: "\u2014", mfr: "\u{1D52A}", mho: "\u2127", micro: "\xB5", midcir: "\u2AF0", minus: "\u2212", minusdu: "\u2A2A", mlcp: "\u2ADB", models: "\u22A7", mopf: "\u{1D55E}", mscr: "\u{1D4C2}", mu: "\u03BC", multimap: "\u22B8", mumap: "\u22B8", nGg: "\u22D9\u0338", nGt: "\u226B\u20D2", nLeftarrow: "\u21CD", nlArr: "\u21CD", nLeftrightarrow: "\u21CE", nhArr: "\u21CE", nLl: "\u22D8\u0338", nLt: "\u226A\u20D2", nRightarrow: "\u21CF", nrArr: "\u21CF", nVDash: "\u22AF", nVdash: "\u22AE", nacute: "\u0144", nang: "\u2220\u20D2", napE: "\u2A70\u0338", napid: "\u224B\u0338", napos: "\u0149", natur: "\u266E", natural: "\u266E", ncap: "\u2A43", ncaron: "\u0148", ncedil: "\u0146", ncongdot: "\u2A6D\u0338", ncup: "\u2A42", ncy: "\u043D", ndash: "\u2013", neArr: "\u21D7", nearhk: "\u2924", nedot: "\u2250\u0338", nesear: "\u2928", toea: "\u2928", nfr: "\u{1D52B}", nharr: "\u21AE", nleftrightarrow: "\u21AE", nhpar: "\u2AF2", nis: "\u22FC", nisd: "\u22FA", njcy: "\u045A", nlE: "\u2266\u0338", nleqq: "\u2266\u0338", nlarr: "\u219A", nleftarrow: "\u219A", nldr: "\u2025", nopf: "\u{1D55F}", not: "\xAC", notinE: "\u22F9\u0338", notindot: "\u22F5\u0338", notinvb: "\u22F7", notinvc: "\u22F6", notnivb: "\u22FE", notnivc: "\u22FD", nparsl: "\u2AFD\u20E5", npart: "\u2202\u0338", npolint: "\u2A14", nrarr: "\u219B", nrightarrow: "\u219B", nrarrc: "\u2933\u0338", nrarrw: "\u219D\u0338", nscr: "\u{1D4C3}", nsub: "\u2284", nsubE: "\u2AC5\u0338", nsubseteqq: "\u2AC5\u0338", nsup: "\u2285", nsupE: "\u2AC6\u0338", nsupseteqq: "\u2AC6\u0338", ntilde: "\xF1", nu: "\u03BD", num: "#", numero: "\u2116", numsp: "\u2007", nvDash: "\u22AD", nvHarr: "\u2904", nvap: "\u224D\u20D2", nvdash: "\u22AC", nvge: "\u2265\u20D2", nvgt: ">\u20D2", nvinfin: "\u29DE", nvlArr: "\u2902", nvle: "\u2264\u20D2", nvlt: "<\u20D2", nvltrie: "\u22B4\u20D2", nvrArr: "\u2903", nvrtrie: "\u22B5\u20D2", nvsim: "\u223C\u20D2", nwArr: "\u21D6", nwarhk: "\u2923", nwnear: "\u2927", oacute: "\xF3", ocirc: "\xF4", ocy: "\u043E", odblac: "\u0151", odiv: "\u2A38", odsold: "\u29BC", oelig: "\u0153", ofcir: "\u29BF", ofr: "\u{1D52C}", ogon: "\u02DB", ograve: "\xF2", ogt: "\u29C1", ohbar: "\u29B5", olcir: "\u29BE", olcross: "\u29BB", olt: "\u29C0", omacr: "\u014D", omega: "\u03C9", omicron: "\u03BF", omid: "\u29B6", oopf: "\u{1D560}", opar: "\u29B7", operp: "\u29B9", or: "\u2228", vee: "\u2228", ord: "\u2A5D", order: "\u2134", orderof: "\u2134", oscr: "\u2134", ordf: "\xAA", ordm: "\xBA", origof: "\u22B6", oror: "\u2A56", orslope: "\u2A57", orv: "\u2A5B", oslash: "\xF8", osol: "\u2298", otilde: "\xF5", otimesas: "\u2A36", ouml: "\xF6", ovbar: "\u233D", para: "\xB6", parsim: "\u2AF3", parsl: "\u2AFD", pcy: "\u043F", percnt: "%", period: ".", permil: "\u2030", pertenk: "\u2031", pfr: "\u{1D52D}", phi: "\u03C6", phiv: "\u03D5", straightphi: "\u03D5", varphi: "\u03D5", phone: "\u260E", pi: "\u03C0", piv: "\u03D6", varpi: "\u03D6", planckh: "\u210E", plus: "+", plusacir: "\u2A23", pluscir: "\u2A22", plusdu: "\u2A25", pluse: "\u2A72", plussim: "\u2A26", plustwo: "\u2A27", pointint: "\u2A15", popf: "\u{1D561}", pound: "\xA3", prE: "\u2AB3", prap: "\u2AB7", precapprox: "\u2AB7", precnapprox: "\u2AB9", prnap: "\u2AB9", precneqq: "\u2AB5", prnE: "\u2AB5", precnsim: "\u22E8", prnsim: "\u22E8", prime: "\u2032", profalar: "\u232E", profline: "\u2312", profsurf: "\u2313", prurel: "\u22B0", pscr: "\u{1D4C5}", psi: "\u03C8", puncsp: "\u2008", qfr: "\u{1D52E}", qopf: "\u{1D562}", qprime: "\u2057", qscr: "\u{1D4C6}", quatint: "\u2A16", quest: "?", rAtail: "\u291C", rHar: "\u2964", race: "\u223D\u0331", racute: "\u0155", raemptyv: "\u29B3", rangd: "\u2992", range: "\u29A5", raquo: "\xBB", rarrap: "\u2975", rarrbfs: "\u2920", rarrc: "\u2933", rarrfs: "\u291E", rarrpl: "\u2945", rarrsim: "\u2974", rarrtl: "\u21A3", rightarrowtail: "\u21A3", rarrw: "\u219D", rightsquigarrow: "\u219D", ratail: "\u291A", ratio: "\u2236", rbbrk: "\u2773", rbrace: "}", rcub: "}", rbrack: "]", rsqb: "]", rbrke: "\u298C", rbrksld: "\u298E", rbrkslu: "\u2990", rcaron: "\u0159", rcedil: "\u0157", rcy: "\u0440", rdca: "\u2937", rdldhar: "\u2969", rdsh: "\u21B3", rect: "\u25AD", rfisht: "\u297D", rfr: "\u{1D52F}", rharul: "\u296C", rho: "\u03C1", rhov: "\u03F1", varrho: "\u03F1", rightrightarrows: "\u21C9", rrarr: "\u21C9", rightthreetimes: "\u22CC", rthree: "\u22CC", ring: "\u02DA", rlm: "\u200F", rmoust: "\u23B1", rmoustache: "\u23B1", rnmid: "\u2AEE", roang: "\u27ED", roarr: "\u21FE", ropar: "\u2986", ropf: "\u{1D563}", roplus: "\u2A2E", rotimes: "\u2A35", rpar: ")", rpargt: "\u2994", rppolint: "\u2A12", rsaquo: "\u203A", rscr: "\u{1D4C7}", rtimes: "\u22CA", rtri: "\u25B9", triangleright: "\u25B9", rtriltri: "\u29CE", ruluhar: "\u2968", rx: "\u211E", sacute: "\u015B", scE: "\u2AB4", scap: "\u2AB8", succapprox: "\u2AB8", scaron: "\u0161", scedil: "\u015F", scirc: "\u015D", scnE: "\u2AB6", succneqq: "\u2AB6", scnap: "\u2ABA", succnapprox: "\u2ABA", scnsim: "\u22E9", succnsim: "\u22E9", scpolint: "\u2A13", scy: "\u0441", sdot: "\u22C5", sdote: "\u2A66", seArr: "\u21D8", sect: "\xA7", semi: ";", seswar: "\u2929", tosa: "\u2929", sext: "\u2736", sfr: "\u{1D530}", sharp: "\u266F", shchcy: "\u0449", shcy: "\u0448", shy: "\xAD", sigma: "\u03C3", sigmaf: "\u03C2", sigmav: "\u03C2", varsigma: "\u03C2", simdot: "\u2A6A", simg: "\u2A9E", simgE: "\u2AA0", siml: "\u2A9D", simlE: "\u2A9F", simne: "\u2246", simplus: "\u2A24", simrarr: "\u2972", smashp: "\u2A33", smeparsl: "\u29E4", smile: "\u2323", ssmile: "\u2323", smt: "\u2AAA", smte: "\u2AAC", smtes: "\u2AAC\uFE00", softcy: "\u044C", sol: "/", solb: "\u29C4", solbar: "\u233F", sopf: "\u{1D564}", spades: "\u2660", spadesuit: "\u2660", sqcaps: "\u2293\uFE00", sqcups: "\u2294\uFE00", sscr: "\u{1D4C8}", star: "\u2606", sub: "\u2282", subset: "\u2282", subE: "\u2AC5", subseteqq: "\u2AC5", subdot: "\u2ABD", subedot: "\u2AC3", submult: "\u2AC1", subnE: "\u2ACB", subsetneqq: "\u2ACB", subne: "\u228A", subsetneq: "\u228A", subplus: "\u2ABF", subrarr: "\u2979", subsim: "\u2AC7", subsub: "\u2AD5", subsup: "\u2AD3", sung: "\u266A", sup1: "\xB9", sup2: "\xB2", sup3: "\xB3", supE: "\u2AC6", supseteqq: "\u2AC6", supdot: "\u2ABE", supdsub: "\u2AD8", supedot: "\u2AC4", suphsol: "\u27C9", suphsub: "\u2AD7", suplarr: "\u297B", supmult: "\u2AC2", supnE: "\u2ACC", supsetneqq: "\u2ACC", supne: "\u228B", supsetneq: "\u228B", supplus: "\u2AC0", supsim: "\u2AC8", supsub: "\u2AD4", supsup: "\u2AD6", swArr: "\u21D9", swnwar: "\u292A", szlig: "\xDF", target: "\u2316", tau: "\u03C4", tcaron: "\u0165", tcedil: "\u0163", tcy: "\u0442", telrec: "\u2315", tfr: "\u{1D531}", theta: "\u03B8", thetasym: "\u03D1", thetav: "\u03D1", vartheta: "\u03D1", thorn: "\xFE", times: "\xD7", timesbar: "\u2A31", timesd: "\u2A30", topbot: "\u2336", topcir: "\u2AF1", topf: "\u{1D565}", topfork: "\u2ADA", tprime: "\u2034", triangle: "\u25B5", utri: "\u25B5", triangleq: "\u225C", trie: "\u225C", tridot: "\u25EC", triminus: "\u2A3A", triplus: "\u2A39", trisb: "\u29CD", tritime: "\u2A3B", trpezium: "\u23E2", tscr: "\u{1D4C9}", tscy: "\u0446", tshcy: "\u045B", tstrok: "\u0167", uHar: "\u2963", uacute: "\xFA", ubrcy: "\u045E", ubreve: "\u016D", ucirc: "\xFB", ucy: "\u0443", udblac: "\u0171", ufisht: "\u297E", ufr: "\u{1D532}", ugrave: "\xF9", uhblk: "\u2580", ulcorn: "\u231C", ulcorner: "\u231C", ulcrop: "\u230F", ultri: "\u25F8", umacr: "\u016B", uogon: "\u0173", uopf: "\u{1D566}", upsi: "\u03C5", upsilon: "\u03C5", upuparrows: "\u21C8", uuarr: "\u21C8", urcorn: "\u231D", urcorner: "\u231D", urcrop: "\u230E", uring: "\u016F", urtri: "\u25F9", uscr: "\u{1D4CA}", utdot: "\u22F0", utilde: "\u0169", uuml: "\xFC", uwangle: "\u29A7", vBar: "\u2AE8", vBarv: "\u2AE9", vangrt: "\u299C", varsubsetneq: "\u228A\uFE00", vsubne: "\u228A\uFE00", varsubsetneqq: "\u2ACB\uFE00", vsubnE: "\u2ACB\uFE00", varsupsetneq: "\u228B\uFE00", vsupne: "\u228B\uFE00", varsupsetneqq: "\u2ACC\uFE00", vsupnE: "\u2ACC\uFE00", vcy: "\u0432", veebar: "\u22BB", veeeq: "\u225A", vellip: "\u22EE", vfr: "\u{1D533}", vopf: "\u{1D567}", vscr: "\u{1D4CB}", vzigzag: "\u299A", wcirc: "\u0175", wedbar: "\u2A5F", wedgeq: "\u2259", weierp: "\u2118", wp: "\u2118", wfr: "\u{1D534}", wopf: "\u{1D568}", wscr: "\u{1D4CC}", xfr: "\u{1D535}", xi: "\u03BE", xnis: "\u22FB", xopf: "\u{1D569}", xscr: "\u{1D4CD}", yacute: "\xFD", yacy: "\u044F", ycirc: "\u0177", ycy: "\u044B", yen: "\xA5", yfr: "\u{1D536}", yicy: "\u0457", yopf: "\u{1D56A}", yscr: "\u{1D4CE}", yucy: "\u044E", yuml: "\xFF", zacute: "\u017A", zcaron: "\u017E", zcy: "\u0437", zdot: "\u017C", zeta: "\u03B6", zfr: "\u{1D537}", zhcy: "\u0436", zigrarr: "\u21DD", zopf: "\u{1D56B}", zscr: "\u{1D4CF}", zwj: "\u200D", zwnj: "\u200C" }; + co4 = "\uE500"; + Te7.ngsp = co4; + l4 = (function(e7) { + return e7[e7.TAG_OPEN_START = 0] = "TAG_OPEN_START", e7[e7.TAG_OPEN_END = 1] = "TAG_OPEN_END", e7[e7.TAG_OPEN_END_VOID = 2] = "TAG_OPEN_END_VOID", e7[e7.TAG_CLOSE = 3] = "TAG_CLOSE", e7[e7.INCOMPLETE_TAG_OPEN = 4] = "INCOMPLETE_TAG_OPEN", e7[e7.TEXT = 5] = "TEXT", e7[e7.ESCAPABLE_RAW_TEXT = 6] = "ESCAPABLE_RAW_TEXT", e7[e7.RAW_TEXT = 7] = "RAW_TEXT", e7[e7.INTERPOLATION = 8] = "INTERPOLATION", e7[e7.ENCODED_ENTITY = 9] = "ENCODED_ENTITY", e7[e7.COMMENT_START = 10] = "COMMENT_START", e7[e7.COMMENT_END = 11] = "COMMENT_END", e7[e7.CDATA_START = 12] = "CDATA_START", e7[e7.CDATA_END = 13] = "CDATA_END", e7[e7.ATTR_NAME = 14] = "ATTR_NAME", e7[e7.ATTR_QUOTE = 15] = "ATTR_QUOTE", e7[e7.ATTR_VALUE_TEXT = 16] = "ATTR_VALUE_TEXT", e7[e7.ATTR_VALUE_INTERPOLATION = 17] = "ATTR_VALUE_INTERPOLATION", e7[e7.DOC_TYPE_START = 18] = "DOC_TYPE_START", e7[e7.DOC_TYPE_END = 19] = "DOC_TYPE_END", e7[e7.EXPANSION_FORM_START = 20] = "EXPANSION_FORM_START", e7[e7.EXPANSION_CASE_VALUE = 21] = "EXPANSION_CASE_VALUE", e7[e7.EXPANSION_CASE_EXP_START = 22] = "EXPANSION_CASE_EXP_START", e7[e7.EXPANSION_CASE_EXP_END = 23] = "EXPANSION_CASE_EXP_END", e7[e7.EXPANSION_FORM_END = 24] = "EXPANSION_FORM_END", e7[e7.BLOCK_OPEN_START = 25] = "BLOCK_OPEN_START", e7[e7.BLOCK_OPEN_END = 26] = "BLOCK_OPEN_END", e7[e7.BLOCK_CLOSE = 27] = "BLOCK_CLOSE", e7[e7.BLOCK_PARAMETER = 28] = "BLOCK_PARAMETER", e7[e7.INCOMPLETE_BLOCK_OPEN = 29] = "INCOMPLETE_BLOCK_OPEN", e7[e7.LET_START = 30] = "LET_START", e7[e7.LET_VALUE = 31] = "LET_VALUE", e7[e7.LET_END = 32] = "LET_END", e7[e7.INCOMPLETE_LET = 33] = "INCOMPLETE_LET", e7[e7.COMPONENT_OPEN_START = 34] = "COMPONENT_OPEN_START", e7[e7.COMPONENT_OPEN_END = 35] = "COMPONENT_OPEN_END", e7[e7.COMPONENT_OPEN_END_VOID = 36] = "COMPONENT_OPEN_END_VOID", e7[e7.COMPONENT_CLOSE = 37] = "COMPONENT_CLOSE", e7[e7.INCOMPLETE_COMPONENT_OPEN = 38] = "INCOMPLETE_COMPONENT_OPEN", e7[e7.DIRECTIVE_NAME = 39] = "DIRECTIVE_NAME", e7[e7.DIRECTIVE_OPEN = 40] = "DIRECTIVE_OPEN", e7[e7.DIRECTIVE_CLOSE = 41] = "DIRECTIVE_CLOSE", e7[e7.EOF = 42] = "EOF", e7; + })({}); + Lo3 = class { + constructor(e7, t26, r5) { + this.tokens = e7, this.errors = t26, this.nonNormalizedIcuExpressions = r5; + } + }; + Po3 = /\r\n?/g; + Mr6 = (function(e7) { + return e7.HEX = "hexadecimal", e7.DEC = "decimal", e7; + })(Mr6 || {}); + Do2 = ["@if", "@else", "@for", "@switch", "@case", "@default", "@empty", "@defer", "@placeholder", "@loading", "@error"]; + ft7 = { start: "{{", end: "}}" }; + Io2 = class { + constructor(e7, t26, r5) { + this._getTagContentType = t26, this._currentTokenStart = null, this._currentTokenType = null, this._expansionCaseStack = [], this._openDirectiveCount = 0, this._inInterpolation = false, this._fullNameStack = [], this.tokens = [], this.errors = [], this.nonNormalizedIcuExpressions = [], this._tokenizeIcu = r5.tokenizeExpansionForms || false, this._leadingTriviaCodePoints = r5.leadingTriviaChars && r5.leadingTriviaChars.map((i5) => i5.codePointAt(0) || 0), this._canSelfClose = r5.canSelfClose || false, this._allowHtmComponentClosingTags = r5.allowHtmComponentClosingTags || false; + let n5 = r5.range || { endPos: e7.content.length, startPos: 0, startLine: 0, startCol: 0 }; + this._cursor = r5.escapedString ? new Uo2(e7, n5) : new is6(e7, n5), this._preserveLineEndings = r5.preserveLineEndings || false, this._i18nNormalizeLineEndingsInICUs = r5.i18nNormalizeLineEndingsInICUs || false, this._tokenizeBlocks = r5.tokenizeBlocks ?? true, this._tokenizeLet = r5.tokenizeLet ?? true, this._selectorlessEnabled = r5.selectorlessEnabled ?? false; + try { + this._cursor.init(); + } catch (i5) { + this.handleError(i5); + } + } + _processCarriageReturns(e7) { + return this._preserveLineEndings ? e7 : e7.replace(Po3, ` +`); + } + tokenize() { + for (; this._cursor.peek() !== 0; ) { + let e7 = this._cursor.clone(); + try { + if (this._attemptCharCode(60)) if (this._attemptCharCode(33)) this._attemptStr("[CDATA[") ? this._consumeCdata(e7) : this._attemptStr("--") ? this._consumeComment(e7) : this._attemptStrCaseInsensitive("doctype") ? this._consumeDocType(e7) : this._consumeBogusComment(e7); + else if (this._attemptCharCode(47)) this._consumeTagClose(e7); + else { + let t26 = this._cursor.clone(); + this._attemptCharCode(63) ? (this._cursor = t26, this._consumeBogusComment(e7)) : this._consumeTagOpen(e7); + } + else this._tokenizeLet && this._cursor.peek() === 64 && !this._inInterpolation && this._isLetStart() ? this._consumeLetDeclaration(e7) : this._tokenizeBlocks && this._isBlockStart() ? this._consumeBlockStart(e7) : this._tokenizeBlocks && !this._inInterpolation && !this._isInExpansionCase() && !this._isInExpansionForm() && this._attemptCharCode(125) ? this._consumeBlockEnd(e7) : this._tokenizeIcu && this._tokenizeExpansionForm() || this._consumeWithInterpolation(l4.TEXT, l4.INTERPOLATION, () => this._isTextEnd(), () => this._isTagStart()); + } catch (t26) { + this.handleError(t26); + } + } + this._beginToken(l4.EOF), this._endToken([]); + } + _getBlockName() { + let e7 = false, t26 = this._cursor.clone(); + return this._attemptCharCodeUntilFn((r5) => ct7(r5) ? !e7 : Ho2(r5) ? (e7 = true, false) : true), this._cursor.getChars(t26).trim(); + } + _consumeBlockStart(e7) { + this._requireCharCode(64), this._beginToken(l4.BLOCK_OPEN_START, e7); + let t26 = this._endToken([this._getBlockName()]); + if (this._cursor.peek() === 40) if (this._cursor.advance(), this._consumeBlockParameters(), this._attemptCharCodeUntilFn(T4), this._attemptCharCode(41)) this._attemptCharCodeUntilFn(T4); + else { + t26.type = l4.INCOMPLETE_BLOCK_OPEN; + return; + } + this._attemptCharCode(123) ? (this._beginToken(l4.BLOCK_OPEN_END), this._endToken([])) : this._isBlockStart() && (t26.parts[0] === "case" || t26.parts[0] === "default") ? (this._beginToken(l4.BLOCK_OPEN_END), this._endToken([]), this._beginToken(l4.BLOCK_CLOSE), this._endToken([])) : t26.type = l4.INCOMPLETE_BLOCK_OPEN; + } + _consumeBlockEnd(e7) { + this._beginToken(l4.BLOCK_CLOSE, e7), this._endToken([]); + } + _consumeBlockParameters() { + for (this._attemptCharCodeUntilFn(Zi6); this._cursor.peek() !== 41 && this._cursor.peek() !== 0; ) { + this._beginToken(l4.BLOCK_PARAMETER); + let e7 = this._cursor.clone(), t26 = null, r5 = 0; + for (; this._cursor.peek() !== 59 && this._cursor.peek() !== 0 || t26 !== null; ) { + let n5 = this._cursor.peek(); + if (n5 === 92) this._cursor.advance(); + else if (n5 === t26) t26 = null; + else if (t26 === null && Ut7(n5)) t26 = n5; + else if (n5 === 40 && t26 === null) r5++; + else if (n5 === 41 && t26 === null) { + if (r5 === 0) break; + r5 > 0 && r5--; + } + this._cursor.advance(); + } + this._endToken([this._cursor.getChars(e7)]), this._attemptCharCodeUntilFn(Zi6); + } + } + _consumeLetDeclaration(e7) { + if (this._requireStr("@let"), this._beginToken(l4.LET_START, e7), ct7(this._cursor.peek())) this._attemptCharCodeUntilFn(T4); + else { + let r5 = this._endToken([this._cursor.getChars(e7)]); + r5.type = l4.INCOMPLETE_LET; + return; + } + let t26 = this._endToken([this._getLetDeclarationName()]); + if (this._attemptCharCodeUntilFn(T4), !this._attemptCharCode(61)) { + t26.type = l4.INCOMPLETE_LET; + return; + } + this._attemptCharCodeUntilFn((r5) => T4(r5) && !pt8(r5)), this._consumeLetDeclarationValue(), this._cursor.peek() === 59 ? (this._beginToken(l4.LET_END), this._endToken([]), this._cursor.advance()) : (t26.type = l4.INCOMPLETE_LET, t26.sourceSpan = this._cursor.getSpan(e7)); + } + _getLetDeclarationName() { + let e7 = this._cursor.clone(), t26 = false; + return this._attemptCharCodeUntilFn((r5) => Fe7(r5) || r5 === 36 || r5 === 95 || t26 && ut7(r5) ? (t26 = true, false) : true), this._cursor.getChars(e7).trim(); + } + _consumeLetDeclarationValue() { + let e7 = this._cursor.clone(); + for (this._beginToken(l4.LET_VALUE, e7); this._cursor.peek() !== 0; ) { + let t26 = this._cursor.peek(); + if (t26 === 59) break; + Ut7(t26) && (this._cursor.advance(), this._attemptCharCodeUntilFn((r5) => r5 === 92 ? (this._cursor.advance(), false) : r5 === t26)), this._cursor.advance(); + } + this._endToken([this._cursor.getChars(e7)]); + } + _tokenizeExpansionForm() { + if (this.isExpansionFormStart()) return this._consumeExpansionFormStart(), true; + if (Fo2(this._cursor.peek()) && this._isInExpansionForm()) return this._consumeExpansionCaseStart(), true; + if (this._cursor.peek() === 125) { + if (this._isInExpansionCase()) return this._consumeExpansionCaseEnd(), true; + if (this._isInExpansionForm()) return this._consumeExpansionFormEnd(), true; + } + return false; + } + _beginToken(e7, t26 = this._cursor.clone()) { + this._currentTokenStart = t26, this._currentTokenType = e7; + } + _endToken(e7, t26) { + if (this._currentTokenStart === null) throw new ne8(this._cursor.getSpan(t26), "Programming error - attempted to end a token when there was no start to the token"); + if (this._currentTokenType === null) throw new ne8(this._cursor.getSpan(this._currentTokenStart), "Programming error - attempted to end a token which has no token type"); + let r5 = { type: this._currentTokenType, parts: e7, sourceSpan: (t26 ?? this._cursor).getSpan(this._currentTokenStart, this._leadingTriviaCodePoints) }; + return this.tokens.push(r5), this._currentTokenStart = null, this._currentTokenType = null, r5; + } + _createError(e7, t26) { + this._isInExpansionForm() && (e7 += ` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`); + let r5 = new ne8(t26, e7); + return this._currentTokenStart = null, this._currentTokenType = null, r5; + } + handleError(e7) { + if (e7 instanceof Vr6 && (e7 = this._createError(e7.msg, this._cursor.getSpan(e7.cursor))), e7 instanceof ne8) this.errors.push(e7); + else throw e7; + } + _attemptCharCode(e7) { + return this._cursor.peek() === e7 ? (this._cursor.advance(), true) : false; + } + _attemptCharCodeCaseInsensitive(e7) { + return qo2(this._cursor.peek(), e7) ? (this._cursor.advance(), true) : false; + } + _requireCharCode(e7) { + let t26 = this._cursor.clone(); + if (!this._attemptCharCode(e7)) throw this._createError(be7(this._cursor.peek()), this._cursor.getSpan(t26)); + } + _attemptStr(e7) { + let t26 = e7.length; + if (this._cursor.charsLeft() < t26) return false; + let r5 = this._cursor.clone(); + for (let n5 = 0; n5 < t26; n5++) if (!this._attemptCharCode(e7.charCodeAt(n5))) return this._cursor = r5, false; + return true; + } + _attemptStrCaseInsensitive(e7) { + for (let t26 = 0; t26 < e7.length; t26++) if (!this._attemptCharCodeCaseInsensitive(e7.charCodeAt(t26))) return false; + return true; + } + _requireStr(e7) { + let t26 = this._cursor.clone(); + if (!this._attemptStr(e7)) throw this._createError(be7(this._cursor.peek()), this._cursor.getSpan(t26)); + } + _requireStrCaseInsensitive(e7) { + let t26 = this._cursor.clone(); + if (!this._attemptStrCaseInsensitive(e7)) throw this._createError(be7(this._cursor.peek()), this._cursor.getSpan(t26)); + } + _attemptCharCodeUntilFn(e7) { + for (; !e7(this._cursor.peek()); ) this._cursor.advance(); + } + _requireCharCodeUntilFn(e7, t26) { + let r5 = this._cursor.clone(); + if (this._attemptCharCodeUntilFn(e7), this._cursor.diff(r5) < t26) throw this._createError(be7(this._cursor.peek()), this._cursor.getSpan(r5)); + } + _attemptUntilChar(e7) { + for (; this._cursor.peek() !== e7; ) this._cursor.advance(); + } + _readChar() { + let e7 = String.fromCodePoint(this._cursor.peek()); + return this._cursor.advance(), e7; + } + _peekStr(e7) { + let t26 = e7.length; + if (this._cursor.charsLeft() < t26) return false; + let r5 = this._cursor.clone(); + for (let n5 = 0; n5 < t26; n5++) { + if (r5.peek() !== e7.charCodeAt(n5)) return false; + r5.advance(); + } + return true; + } + _isBlockStart() { + return this._cursor.peek() === 64 && Do2.some((e7) => this._peekStr(e7)); + } + _isLetStart() { + return this._cursor.peek() === 64 && this._peekStr("@let"); + } + _consumeEntity(e7) { + this._beginToken(l4.ENCODED_ENTITY); + let t26 = this._cursor.clone(); + if (this._cursor.advance(), this._attemptCharCode(35)) { + let r5 = this._attemptCharCode(120) || this._attemptCharCode(88), n5 = this._cursor.clone(); + if (this._attemptCharCodeUntilFn(Mo2), this._cursor.peek() != 59) { + this._cursor.advance(); + let s5 = r5 ? Mr6.HEX : Mr6.DEC; + throw this._createError(Oo2(s5, this._cursor.getChars(t26)), this._cursor.getSpan()); + } + let i5 = this._cursor.getChars(n5); + this._cursor.advance(); + try { + let s5 = parseInt(i5, r5 ? 16 : 10); + this._endToken([String.fromCodePoint(s5), this._cursor.getChars(t26)]); + } catch { + throw this._createError(Qi6(this._cursor.getChars(t26)), this._cursor.getSpan()); + } + } else { + let r5 = this._cursor.clone(); + if (this._attemptCharCodeUntilFn(Bo2), this._cursor.peek() != 59) this._beginToken(e7, t26), this._cursor = r5, this._endToken(["&"]); + else { + let n5 = this._cursor.getChars(r5); + this._cursor.advance(); + let i5 = Te7.hasOwnProperty(n5) && Te7[n5]; + if (!i5) throw this._createError(Qi6(n5), this._cursor.getSpan(t26)); + this._endToken([i5, `&${n5};`]); + } + } + } + _consumeRawText(e7, t26) { + this._beginToken(e7 ? l4.ESCAPABLE_RAW_TEXT : l4.RAW_TEXT); + let r5 = []; + for (; ; ) { + let n5 = this._cursor.clone(), i5 = t26(); + if (this._cursor = n5, i5) break; + e7 && this._cursor.peek() === 38 ? (this._endToken([this._processCarriageReturns(r5.join(""))]), r5.length = 0, this._consumeEntity(l4.ESCAPABLE_RAW_TEXT), this._beginToken(l4.ESCAPABLE_RAW_TEXT)) : r5.push(this._readChar()); + } + this._endToken([this._processCarriageReturns(r5.join(""))]); + } + _consumeComment(e7) { + this._beginToken(l4.COMMENT_START, e7), this._endToken([]), this._consumeRawText(false, () => this._attemptStr("-->")), this._beginToken(l4.COMMENT_END), this._requireStr("-->"), this._endToken([]); + } + _consumeBogusComment(e7) { + this._beginToken(l4.COMMENT_START, e7), this._endToken([]), this._consumeRawText(false, () => this._cursor.peek() === 62), this._beginToken(l4.COMMENT_END), this._cursor.advance(), this._endToken([]); + } + _consumeCdata(e7) { + this._beginToken(l4.CDATA_START, e7), this._endToken([]), this._consumeRawText(false, () => this._attemptStr("]]>")), this._beginToken(l4.CDATA_END), this._requireStr("]]>"), this._endToken([]); + } + _consumeDocType(e7) { + this._beginToken(l4.DOC_TYPE_START, e7), this._endToken([]), this._consumeRawText(false, () => this._cursor.peek() === 62), this._beginToken(l4.DOC_TYPE_END), this._cursor.advance(), this._endToken([]); + } + _consumePrefixAndName(e7) { + let t26 = this._cursor.clone(), r5 = ""; + for (; this._cursor.peek() !== 58 && !Ro2(this._cursor.peek()); ) this._cursor.advance(); + let n5; + this._cursor.peek() === 58 ? (r5 = this._cursor.getChars(t26), this._cursor.advance(), n5 = this._cursor.clone()) : n5 = t26, this._requireCharCodeUntilFn(e7, r5 === "" ? 0 : 1); + let i5 = this._cursor.getChars(n5); + return [r5, i5]; + } + _consumeTagOpen(e7) { + let t26, r5, n5, i5, s5 = []; + try { + if (this._selectorlessEnabled && zt7(this._cursor.peek())) i5 = this._consumeComponentOpenStart(e7), [n5, r5, t26] = i5.parts, r5 && (n5 += `:${r5}`), t26 && (n5 += `:${t26}`), this._attemptCharCodeUntilFn(T4); + else { + if (!Fe7(this._cursor.peek())) throw this._createError(be7(this._cursor.peek()), this._cursor.getSpan(e7)); + i5 = this._consumeTagOpenStart(e7), r5 = i5.parts[0], t26 = n5 = i5.parts[1], this._attemptCharCodeUntilFn(T4); + } + for (; !ts6(this._cursor.peek()); ) if (this._selectorlessEnabled && this._cursor.peek() === 64) { + let o5 = this._cursor.clone(), c7 = o5.clone(); + c7.advance(), zt7(c7.peek()) && this._consumeDirective(o5, c7); + } else { + let o5 = this._consumeAttribute(); + s5.push(o5); + } + i5.type === l4.COMPONENT_OPEN_START ? this._consumeComponentOpenEnd() : this._consumeTagOpenEnd(); + } catch (o5) { + if (o5 instanceof ne8) { + i5 ? i5.type = i5.type === l4.COMPONENT_OPEN_START ? l4.INCOMPLETE_COMPONENT_OPEN : l4.INCOMPLETE_TAG_OPEN : (this._beginToken(l4.TEXT, e7), this._endToken(["<"])); + return; + } + throw o5; + } + if (this._canSelfClose && this.tokens[this.tokens.length - 1].type === l4.TAG_OPEN_END_VOID) return; + let a5 = this._getTagContentType(t26, r5, this._fullNameStack.length > 0, s5); + this._handleFullNameStackForTagOpen(r5, t26), a5 === R7.RAW_TEXT ? this._consumeRawTextWithTagClose(r5, i5, n5, false) : a5 === R7.ESCAPABLE_RAW_TEXT && this._consumeRawTextWithTagClose(r5, i5, n5, true); + } + _consumeRawTextWithTagClose(e7, t26, r5, n5) { + this._consumeRawText(n5, () => !this._attemptCharCode(60) || !this._attemptCharCode(47) || (this._attemptCharCodeUntilFn(T4), !this._attemptStrCaseInsensitive(e7 && t26.type !== l4.COMPONENT_OPEN_START ? `${e7}:${r5}` : r5)) ? false : (this._attemptCharCodeUntilFn(T4), this._attemptCharCode(62))), this._beginToken(t26.type === l4.COMPONENT_OPEN_START ? l4.COMPONENT_CLOSE : l4.TAG_CLOSE), this._requireCharCodeUntilFn((i5) => i5 === 62, 3), this._cursor.advance(), this._endToken(t26.parts), this._handleFullNameStackForTagClose(e7, r5); + } + _consumeTagOpenStart(e7) { + this._beginToken(l4.TAG_OPEN_START, e7); + let t26 = this._consumePrefixAndName(we6); + return this._endToken(t26); + } + _consumeComponentOpenStart(e7) { + this._beginToken(l4.COMPONENT_OPEN_START, e7); + let t26 = this._consumeComponentName(); + return this._endToken(t26); + } + _consumeComponentName() { + let e7 = this._cursor.clone(); + for (; es6(this._cursor.peek()); ) this._cursor.advance(); + let t26 = this._cursor.getChars(e7), r5 = "", n5 = ""; + return this._cursor.peek() === 58 && (this._cursor.advance(), [r5, n5] = this._consumePrefixAndName(we6)), [t26, r5, n5]; + } + _consumeAttribute() { + let [e7, t26] = this._consumeAttributeName(), r5; + return this._attemptCharCodeUntilFn(T4), this._attemptCharCode(61) && (this._attemptCharCodeUntilFn(T4), r5 = this._consumeAttributeValue()), this._attemptCharCodeUntilFn(T4), { prefix: e7, name: t26, value: r5 }; + } + _consumeAttributeName() { + let e7 = this._cursor.peek(); + if (e7 === 39 || e7 === 34) throw this._createError(be7(e7), this._cursor.getSpan()); + this._beginToken(l4.ATTR_NAME); + let t26; + if (this._openDirectiveCount > 0) { + let n5 = 0; + t26 = (i5) => { + if (this._openDirectiveCount > 0) { + if (i5 === 40) n5++; + else if (i5 === 41) { + if (n5 === 0) return true; + n5--; + } + } + return we6(i5); + }; + } else if (e7 === 91) { + let n5 = 0; + t26 = (i5) => (i5 === 91 ? n5++ : i5 === 93 && n5--, n5 <= 0 ? we6(i5) : pt8(i5)); + } else t26 = we6; + let r5 = this._consumePrefixAndName(t26); + return this._endToken(r5), r5; + } + _consumeAttributeValue() { + let e7; + if (this._cursor.peek() === 39 || this._cursor.peek() === 34) { + let t26 = this._cursor.peek(); + this._consumeQuote(t26); + let r5 = () => this._cursor.peek() === t26; + e7 = this._consumeWithInterpolation(l4.ATTR_VALUE_TEXT, l4.ATTR_VALUE_INTERPOLATION, r5, r5), this._consumeQuote(t26); + } else { + let t26 = () => we6(this._cursor.peek()); + e7 = this._consumeWithInterpolation(l4.ATTR_VALUE_TEXT, l4.ATTR_VALUE_INTERPOLATION, t26, t26); + } + return e7; + } + _consumeQuote(e7) { + this._beginToken(l4.ATTR_QUOTE), this._requireCharCode(e7), this._endToken([String.fromCodePoint(e7)]); + } + _consumeTagOpenEnd() { + let e7 = this._attemptCharCode(47) ? l4.TAG_OPEN_END_VOID : l4.TAG_OPEN_END; + this._beginToken(e7), this._requireCharCode(62), this._endToken([]); + } + _consumeComponentOpenEnd() { + let e7 = this._attemptCharCode(47) ? l4.COMPONENT_OPEN_END_VOID : l4.COMPONENT_OPEN_END; + this._beginToken(e7), this._requireCharCode(62), this._endToken([]); + } + _consumeTagClose(e7) { + if (this._selectorlessEnabled) { + let t26 = e7.clone(); + for (; t26.peek() !== 62 && !zt7(t26.peek()); ) t26.advance(); + if (zt7(t26.peek())) { + this._beginToken(l4.COMPONENT_CLOSE, e7); + let r5 = this._consumeComponentName(); + this._attemptCharCodeUntilFn(T4), this._requireCharCode(62), this._endToken(r5); + return; + } + } + if (this._beginToken(l4.TAG_CLOSE, e7), this._attemptCharCodeUntilFn(T4), this._allowHtmComponentClosingTags && this._attemptCharCode(47)) this._attemptCharCodeUntilFn(T4), this._requireCharCode(62), this._endToken([]); + else { + let [t26, r5] = this._consumePrefixAndName(we6); + this._attemptCharCodeUntilFn(T4), this._requireCharCode(62), this._endToken([t26, r5]), this._handleFullNameStackForTagClose(t26, r5); + } + } + _consumeExpansionFormStart() { + this._beginToken(l4.EXPANSION_FORM_START), this._requireCharCode(123), this._endToken([]), this._expansionCaseStack.push(l4.EXPANSION_FORM_START), this._beginToken(l4.RAW_TEXT); + let e7 = this._readUntil(44), t26 = this._processCarriageReturns(e7); + if (this._i18nNormalizeLineEndingsInICUs) this._endToken([t26]); + else { + let n5 = this._endToken([e7]); + t26 !== e7 && this.nonNormalizedIcuExpressions.push(n5); + } + this._requireCharCode(44), this._attemptCharCodeUntilFn(T4), this._beginToken(l4.RAW_TEXT); + let r5 = this._readUntil(44); + this._endToken([r5]), this._requireCharCode(44), this._attemptCharCodeUntilFn(T4); + } + _consumeExpansionCaseStart() { + this._beginToken(l4.EXPANSION_CASE_VALUE); + let e7 = this._readUntil(123).trim(); + this._endToken([e7]), this._attemptCharCodeUntilFn(T4), this._beginToken(l4.EXPANSION_CASE_EXP_START), this._requireCharCode(123), this._endToken([]), this._attemptCharCodeUntilFn(T4), this._expansionCaseStack.push(l4.EXPANSION_CASE_EXP_START); + } + _consumeExpansionCaseEnd() { + this._beginToken(l4.EXPANSION_CASE_EXP_END), this._requireCharCode(125), this._endToken([]), this._attemptCharCodeUntilFn(T4), this._expansionCaseStack.pop(); + } + _consumeExpansionFormEnd() { + this._beginToken(l4.EXPANSION_FORM_END), this._requireCharCode(125), this._endToken([]), this._expansionCaseStack.pop(); + } + _consumeWithInterpolation(e7, t26, r5, n5) { + this._beginToken(e7); + let i5 = []; + for (; !r5(); ) { + let a5 = this._cursor.clone(); + this._attemptStr(ft7.start) ? (this._endToken([this._processCarriageReturns(i5.join(""))], a5), i5.length = 0, this._consumeInterpolation(t26, a5, n5), this._beginToken(e7)) : this._cursor.peek() === 38 ? (this._endToken([this._processCarriageReturns(i5.join(""))]), i5.length = 0, this._consumeEntity(e7), this._beginToken(e7)) : i5.push(this._readChar()); + } + this._inInterpolation = false; + let s5 = this._processCarriageReturns(i5.join("")); + return this._endToken([s5]), s5; + } + _consumeInterpolation(e7, t26, r5) { + let n5 = []; + this._beginToken(e7, t26), n5.push(ft7.start); + let i5 = this._cursor.clone(), s5 = null, a5 = false; + for (; this._cursor.peek() !== 0 && (r5 === null || !r5()); ) { + let o5 = this._cursor.clone(); + if (this._isTagStart()) { + this._cursor = o5, n5.push(this._getProcessedChars(i5, o5)), this._endToken(n5); + return; + } + if (s5 === null) if (this._attemptStr(ft7.end)) { + n5.push(this._getProcessedChars(i5, o5)), n5.push(ft7.end), this._endToken(n5); + return; + } else this._attemptStr("//") && (a5 = true); + let c7 = this._cursor.peek(); + this._cursor.advance(), c7 === 92 ? this._cursor.advance() : c7 === s5 ? s5 = null : !a5 && s5 === null && Ut7(c7) && (s5 = c7); + } + n5.push(this._getProcessedChars(i5, this._cursor)), this._endToken(n5); + } + _consumeDirective(e7, t26) { + for (this._requireCharCode(64), this._cursor.advance(); es6(this._cursor.peek()); ) this._cursor.advance(); + this._beginToken(l4.DIRECTIVE_NAME, e7); + let r5 = this._cursor.getChars(t26); + if (this._endToken([r5]), this._attemptCharCodeUntilFn(T4), this._cursor.peek() === 40) { + for (this._openDirectiveCount++, this._beginToken(l4.DIRECTIVE_OPEN), this._cursor.advance(), this._endToken([]), this._attemptCharCodeUntilFn(T4); !ts6(this._cursor.peek()) && this._cursor.peek() !== 41; ) this._consumeAttribute(); + if (this._attemptCharCodeUntilFn(T4), this._openDirectiveCount--, this._cursor.peek() !== 41) { + if (this._cursor.peek() === 62 || this._cursor.peek() === 47) return; + throw this._createError(be7(this._cursor.peek()), this._cursor.getSpan(e7)); + } + this._beginToken(l4.DIRECTIVE_CLOSE), this._cursor.advance(), this._endToken([]), this._attemptCharCodeUntilFn(T4); + } + } + _getProcessedChars(e7, t26) { + return this._processCarriageReturns(t26.getChars(e7)); + } + _isTextEnd() { + return !!(this._isTagStart() || this._cursor.peek() === 0 || this._tokenizeIcu && !this._inInterpolation && (this.isExpansionFormStart() || this._cursor.peek() === 125 && this._isInExpansionCase()) || this._tokenizeBlocks && !this._inInterpolation && !this._isInExpansion() && (this._isBlockStart() || this._isLetStart() || this._cursor.peek() === 125)); + } + _isTagStart() { + if (this._cursor.peek() === 60) { + let e7 = this._cursor.clone(); + e7.advance(); + let t26 = e7.peek(); + if (97 <= t26 && t26 <= 122 || 65 <= t26 && t26 <= 90 || t26 === 47 || t26 === 33) return true; + } + return false; + } + _readUntil(e7) { + let t26 = this._cursor.clone(); + return this._attemptUntilChar(e7), this._cursor.getChars(t26); + } + _isInExpansion() { + return this._isInExpansionCase() || this._isInExpansionForm(); + } + _isInExpansionCase() { + return this._expansionCaseStack.length > 0 && this._expansionCaseStack[this._expansionCaseStack.length - 1] === l4.EXPANSION_CASE_EXP_START; + } + _isInExpansionForm() { + return this._expansionCaseStack.length > 0 && this._expansionCaseStack[this._expansionCaseStack.length - 1] === l4.EXPANSION_FORM_START; + } + isExpansionFormStart() { + if (this._cursor.peek() !== 123) return false; + let e7 = this._cursor.clone(), t26 = this._attemptStr(ft7.start); + return this._cursor = e7, !t26; + } + _handleFullNameStackForTagOpen(e7, t26) { + let r5 = Ee7(e7, t26); + (this._fullNameStack.length === 0 || this._fullNameStack[this._fullNameStack.length - 1] === r5) && this._fullNameStack.push(r5); + } + _handleFullNameStackForTagClose(e7, t26) { + let r5 = Ee7(e7, t26); + this._fullNameStack.length !== 0 && this._fullNameStack[this._fullNameStack.length - 1] === r5 && this._fullNameStack.pop(); + } + }; + is6 = class Br6 { + constructor(t26, r5) { + if (t26 instanceof Br6) { + this.file = t26.file, this.input = t26.input, this.end = t26.end; + let n5 = t26.state; + this.state = { peek: n5.peek, offset: n5.offset, line: n5.line, column: n5.column }; + } else { + if (!r5) throw new Error("Programming error: the range argument must be provided with a file argument."); + this.file = t26, this.input = t26.content, this.end = r5.endPos, this.state = { peek: -1, offset: r5.startPos, line: r5.startLine, column: r5.startCol }; + } + } + clone() { + return new Br6(this); + } + peek() { + return this.state.peek; + } + charsLeft() { + return this.end - this.state.offset; + } + diff(t26) { + return this.state.offset - t26.state.offset; + } + advance() { + this.advanceState(this.state); + } + init() { + this.updatePeek(this.state); + } + getSpan(t26, r5) { + t26 = t26 || this; + let n5 = t26; + if (r5) for (; this.diff(t26) > 0 && r5.indexOf(t26.peek()) !== -1; ) n5 === t26 && (t26 = t26.clone()), t26.advance(); + let i5 = this.locationFromCursor(t26); + return new h3(i5, this.locationFromCursor(this), n5 !== t26 ? this.locationFromCursor(n5) : i5); + } + getChars(t26) { + return this.input.substring(t26.state.offset, this.state.offset); + } + charAt(t26) { + return this.input.charCodeAt(t26); + } + advanceState(t26) { + if (t26.offset >= this.end) throw this.state = t26, new Vr6('Unexpected character "EOF"', this); + let r5 = this.charAt(t26.offset); + r5 === 10 ? (t26.line++, t26.column = 0) : pt8(r5) || t26.column++, t26.offset++, this.updatePeek(t26); + } + updatePeek(t26) { + t26.peek = t26.offset >= this.end ? 0 : this.charAt(t26.offset); + } + locationFromCursor(t26) { + return new qe7(t26.file, t26.state.offset, t26.state.line, t26.state.column); + } + }; + Uo2 = class Fr6 extends is6 { + constructor(t26, r5) { + t26 instanceof Fr6 ? (super(t26), this.internalState = { ...t26.internalState }) : (super(t26, r5), this.internalState = this.state); + } + advance() { + this.state = this.internalState, super.advance(), this.processEscapeSequence(); + } + init() { + super.init(), this.processEscapeSequence(); + } + clone() { + return new Fr6(this); + } + getChars(t26) { + let r5 = t26.clone(), n5 = ""; + for (; r5.internalState.offset < this.internalState.offset; ) n5 += String.fromCodePoint(r5.peek()), r5.advance(); + return n5; + } + processEscapeSequence() { + let t26 = () => this.internalState.peek; + if (t26() === 92) if (this.internalState = { ...this.state }, this.advanceState(this.internalState), t26() === 110) this.state.peek = 10; + else if (t26() === 114) this.state.peek = 13; + else if (t26() === 118) this.state.peek = 11; + else if (t26() === 116) this.state.peek = 9; + else if (t26() === 98) this.state.peek = 8; + else if (t26() === 102) this.state.peek = 12; + else if (t26() === 117) if (this.advanceState(this.internalState), t26() === 123) { + this.advanceState(this.internalState); + let r5 = this.clone(), n5 = 0; + for (; t26() !== 125; ) this.advanceState(this.internalState), n5++; + this.state.peek = this.decodeHexDigits(r5, n5); + } else { + let r5 = this.clone(); + this.advanceState(this.internalState), this.advanceState(this.internalState), this.advanceState(this.internalState), this.state.peek = this.decodeHexDigits(r5, 4); + } + else if (t26() === 120) { + this.advanceState(this.internalState); + let r5 = this.clone(); + this.advanceState(this.internalState), this.state.peek = this.decodeHexDigits(r5, 2); + } else if (yr6(t26())) { + let r5 = "", n5 = 0, i5 = this.clone(); + for (; yr6(t26()) && n5 < 3; ) i5 = this.clone(), r5 += String.fromCodePoint(t26()), this.advanceState(this.internalState), n5++; + this.state.peek = parseInt(r5, 8), this.internalState = i5.internalState; + } else pt8(this.internalState.peek) ? (this.advanceState(this.internalState), this.state = this.internalState) : this.state.peek = this.internalState.peek; + } + decodeHexDigits(t26, r5) { + let n5 = this.input.slice(t26.internalState.offset, t26.internalState.offset + r5), i5 = parseInt(n5, 16); + if (isNaN(i5)) throw t26.state = t26.internalState, new Vr6("Invalid hexadecimal escape sequence", t26); + return i5; + } + }; + Vr6 = class extends Error { + constructor(e7, t26) { + super(e7), this.msg = e7, this.cursor = t26, Object.setPrototypeOf(this, new.target.prototype); + } + }; + N6 = class os11 extends ne8 { + static create(t26, r5, n5) { + return new os11(t26, r5, n5); + } + constructor(t26, r5, n5) { + super(r5, n5), this.elementName = t26; + } + }; + Wo2 = class { + constructor(e7, t26) { + this.rootNodes = e7, this.errors = t26; + } + }; + ls6 = class { + constructor(e7) { + this.getTagDefinition = e7; + } + parse(e7, t26, r5, n5 = false, i5) { + let s5 = (m7) => (g5, ...E7) => m7(g5.toLowerCase(), ...E7), a5 = n5 ? this.getTagDefinition : s5(this.getTagDefinition), o5 = (m7) => a5(m7).getContentType(), c7 = n5 ? i5 : s5(i5), u = ns6(e7, t26, i5 ? (m7, g5, E7, P8) => { + let z9 = c7(m7, g5, E7, P8); + return z9 !== void 0 ? z9 : o5(m7); + } : o5, r5), p4 = r5 && r5.canSelfClose || false, d5 = r5 && r5.allowHtmComponentClosingTags || false, S7 = new Go2(u.tokens, a5, p4, d5, n5); + return S7.build(), new Wo2(S7.rootNodes, [...u.errors, ...S7.errors]); + } + }; + Go2 = class cs6 { + constructor(t26, r5, n5, i5, s5) { + this.tokens = t26, this.tagDefinitionResolver = r5, this.canSelfClose = n5, this.allowHtmComponentClosingTags = i5, this.isTagNameCaseSensitive = s5, this._index = -1, this._containerStack = [], this.rootNodes = [], this.errors = [], this._advance(); + } + build() { + for (; this._peek.type !== l4.EOF; ) this._peek.type === l4.TAG_OPEN_START || this._peek.type === l4.INCOMPLETE_TAG_OPEN ? this._consumeElementStartTag(this._advance()) : this._peek.type === l4.TAG_CLOSE ? (this._closeVoidElement(), this._consumeElementEndTag(this._advance())) : this._peek.type === l4.CDATA_START ? (this._closeVoidElement(), this._consumeCdata(this._advance())) : this._peek.type === l4.COMMENT_START ? (this._closeVoidElement(), this._consumeComment(this._advance())) : this._peek.type === l4.TEXT || this._peek.type === l4.RAW_TEXT || this._peek.type === l4.ESCAPABLE_RAW_TEXT ? (this._closeVoidElement(), this._consumeText(this._advance())) : this._peek.type === l4.EXPANSION_FORM_START ? this._consumeExpansion(this._advance()) : this._peek.type === l4.BLOCK_OPEN_START ? (this._closeVoidElement(), this._consumeBlockOpen(this._advance())) : this._peek.type === l4.BLOCK_CLOSE ? (this._closeVoidElement(), this._consumeBlockClose(this._advance())) : this._peek.type === l4.INCOMPLETE_BLOCK_OPEN ? (this._closeVoidElement(), this._consumeIncompleteBlock(this._advance())) : this._peek.type === l4.LET_START ? (this._closeVoidElement(), this._consumeLet(this._advance())) : this._peek.type === l4.DOC_TYPE_START ? this._consumeDocType(this._advance()) : this._peek.type === l4.INCOMPLETE_LET ? (this._closeVoidElement(), this._consumeIncompleteLet(this._advance())) : this._peek.type === l4.COMPONENT_OPEN_START || this._peek.type === l4.INCOMPLETE_COMPONENT_OPEN ? this._consumeComponentStartTag(this._advance()) : this._peek.type === l4.COMPONENT_CLOSE ? this._consumeComponentEndTag(this._advance()) : this._advance(); + for (let t26 of this._containerStack) t26 instanceof ve8 && this.errors.push(N6.create(t26.name, t26.sourceSpan, `Unclosed block "${t26.name}"`)); + } + _advance() { + let t26 = this._peek; + return this._index < this.tokens.length - 1 && this._index++, this._peek = this.tokens[this._index], t26; + } + _advanceIf(t26) { + return this._peek.type === t26 ? this._advance() : null; + } + _consumeCdata(t26) { + let r5 = this._advance(), n5 = this._getText(r5), i5 = this._advanceIf(l4.CDATA_END); + this._addToParent(new Vi6(n5, new h3(t26.sourceSpan.start, (i5 || r5).sourceSpan.end), [r5])); + } + _consumeComment(t26) { + let r5 = this._advanceIf(l4.RAW_TEXT), n5 = this._advanceIf(l4.COMMENT_END), i5 = r5 != null ? r5.parts[0].trim() : null, s5 = n5 == null ? t26.sourceSpan : new h3(t26.sourceSpan.start, n5.sourceSpan.end, t26.sourceSpan.fullStart); + this._addToParent(new $i6(i5, s5)); + } + _consumeDocType(t26) { + let r5 = this._advanceIf(l4.RAW_TEXT), n5 = this._advanceIf(l4.DOC_TYPE_END), i5 = r5 != null ? r5.parts[0].trim() : null, s5 = new h3(t26.sourceSpan.start, (n5 || r5 || t26).sourceSpan.end); + this._addToParent(new zi6(i5, s5)); + } + _consumeExpansion(t26) { + let r5 = this._advance(), n5 = this._advance(), i5 = []; + for (; this._peek.type === l4.EXPANSION_CASE_VALUE; ) { + let a5 = this._parseExpansionCase(); + if (!a5) return; + i5.push(a5); + } + if (this._peek.type !== l4.EXPANSION_FORM_END) { + this.errors.push(N6.create(null, this._peek.sourceSpan, "Invalid ICU message. Missing '}'.")); + return; + } + let s5 = new h3(t26.sourceSpan.start, this._peek.sourceSpan.end, t26.sourceSpan.fullStart); + this._addToParent(new Ui6(r5.parts[0], n5.parts[0], i5, s5, r5.sourceSpan)), this._advance(); + } + _parseExpansionCase() { + let t26 = this._advance(); + if (this._peek.type !== l4.EXPANSION_CASE_EXP_START) return this.errors.push(N6.create(null, this._peek.sourceSpan, "Invalid ICU message. Missing '{'.")), null; + let r5 = this._advance(), n5 = this._collectExpansionExpTokens(r5); + if (!n5) return null; + let i5 = this._advance(); + n5.push({ type: l4.EOF, parts: [], sourceSpan: i5.sourceSpan }); + let s5 = new cs6(n5, this.tagDefinitionResolver, this.canSelfClose, this.allowHtmComponentClosingTags, this.isTagNameCaseSensitive); + if (s5.build(), s5.errors.length > 0) return this.errors = this.errors.concat(s5.errors), null; + let a5 = new h3(t26.sourceSpan.start, i5.sourceSpan.end, t26.sourceSpan.fullStart), o5 = new h3(r5.sourceSpan.start, i5.sourceSpan.end, r5.sourceSpan.fullStart); + return new Wi6(t26.parts[0], s5.rootNodes, a5, t26.sourceSpan, o5); + } + _collectExpansionExpTokens(t26) { + let r5 = [], n5 = [l4.EXPANSION_CASE_EXP_START]; + for (; ; ) { + if ((this._peek.type === l4.EXPANSION_FORM_START || this._peek.type === l4.EXPANSION_CASE_EXP_START) && n5.push(this._peek.type), this._peek.type === l4.EXPANSION_CASE_EXP_END) if (ss6(n5, l4.EXPANSION_CASE_EXP_START)) { + if (n5.pop(), n5.length === 0) return r5; + } else return this.errors.push(N6.create(null, t26.sourceSpan, "Invalid ICU message. Missing '}'.")), null; + if (this._peek.type === l4.EXPANSION_FORM_END) if (ss6(n5, l4.EXPANSION_FORM_START)) n5.pop(); + else return this.errors.push(N6.create(null, t26.sourceSpan, "Invalid ICU message. Missing '}'.")), null; + if (this._peek.type === l4.EOF) return this.errors.push(N6.create(null, t26.sourceSpan, "Invalid ICU message. Missing '}'.")), null; + r5.push(this._advance()); + } + } + _getText(t26) { + let r5 = t26.parts[0]; + if (r5.length > 0 && r5[0] == ` +`) { + var n5; + let i5 = this._getClosestElementLikeParent(); + i5 != null && i5.children.length == 0 && (!((n5 = this._getTagDefinition(i5)) === null || n5 === void 0) && n5.ignoreFirstLf) && (r5 = r5.substring(1)); + } + return r5; + } + _consumeText(t26) { + let r5 = [t26], n5 = t26.sourceSpan, i5 = t26.parts[0]; + if (i5.length > 0 && i5[0] === ` +`) { + var s5; + let a5 = this._getContainer(); + a5 != null && a5.children.length === 0 && (!((s5 = this._getTagDefinition(a5)) === null || s5 === void 0) && s5.ignoreFirstLf) && (i5 = i5.substring(1), r5[0] = { type: t26.type, sourceSpan: t26.sourceSpan, parts: [i5] }); + } + for (; this._peek.type === l4.INTERPOLATION || this._peek.type === l4.TEXT || this._peek.type === l4.ENCODED_ENTITY; ) t26 = this._advance(), r5.push(t26), t26.type === l4.INTERPOLATION ? i5 += t26.parts.join("").replace(/&([^;]+);/g, as6) : t26.type === l4.ENCODED_ENTITY ? i5 += t26.parts[0] : i5 += t26.parts.join(""); + if (i5.length > 0) { + let a5 = t26.sourceSpan; + this._addToParent(new Hi6(i5, new h3(n5.start, a5.end, n5.fullStart, n5.details), r5)); + } + } + _closeVoidElement() { + var t26; + let r5 = this._getContainer(); + r5 !== null && (!((t26 = this._getTagDefinition(r5)) === null || t26 === void 0) && t26.isVoid) && this._containerStack.pop(); + } + _consumeElementStartTag(t26) { + var r5; + let n5 = [], i5 = []; + this._consumeAttributesAndDirectives(n5, i5); + let s5 = this._getElementFullName(t26, this._getClosestElementLikeParent()), a5 = this._getTagDefinition(s5), o5 = false; + if (this._peek.type === l4.TAG_OPEN_END_VOID) { + this._advance(), o5 = true; + let E7 = this._getTagDefinition(s5); + this.canSelfClose || E7?.canSelfClose || Me8(s5) !== null || E7?.isVoid || this.errors.push(N6.create(s5, t26.sourceSpan, `Only void, custom and foreign elements can be self closed "${t26.parts[1]}"`)); + } else this._peek.type === l4.TAG_OPEN_END && (this._advance(), o5 = false); + let c7 = this._peek.sourceSpan.fullStart, u = new h3(t26.sourceSpan.start, c7, t26.sourceSpan.fullStart), p4 = new h3(t26.sourceSpan.start, c7, t26.sourceSpan.fullStart), d5 = new h3(t26.sourceSpan.start.moveBy(1), t26.sourceSpan.end), S7 = new ie7(s5, n5, i5, [], o5, u, p4, void 0, d5, a5?.isVoid ?? false), m7 = this._getContainer(), g5 = m7 !== null && !!(!((r5 = this._getTagDefinition(m7)) === null || r5 === void 0) && r5.isClosedByChild(S7.name)); + this._pushContainer(S7, g5), o5 ? this._popContainer(s5, ie7, u) : t26.type === l4.INCOMPLETE_TAG_OPEN && (this._popContainer(s5, ie7, null), this.errors.push(N6.create(s5, u, `Opening tag "${s5}" not terminated.`))); + } + _consumeComponentStartTag(t26) { + var r5; + let n5 = t26.parts[0], i5 = [], s5 = []; + this._consumeAttributesAndDirectives(i5, s5); + let a5 = this._getClosestElementLikeParent(), o5 = this._getComponentTagName(t26, a5), c7 = this._getComponentFullName(t26, a5), u = this._peek.type === l4.COMPONENT_OPEN_END_VOID; + this._advance(); + let p4 = this._peek.sourceSpan.fullStart, d5 = new h3(t26.sourceSpan.start, p4, t26.sourceSpan.fullStart), S7 = new h3(t26.sourceSpan.start, p4, t26.sourceSpan.fullStart), m7 = new J8(n5, o5, c7, i5, s5, [], u, d5, S7, void 0), g5 = this._getContainer(), E7 = g5 !== null && m7.tagName !== null && !!(!((r5 = this._getTagDefinition(g5)) === null || r5 === void 0) && r5.isClosedByChild(m7.tagName)); + this._pushContainer(m7, E7), u ? this._popContainer(c7, J8, d5) : t26.type === l4.INCOMPLETE_COMPONENT_OPEN && (this._popContainer(c7, J8, null), this.errors.push(N6.create(c7, d5, `Opening tag "${c7}" not terminated.`))); + } + _consumeAttributesAndDirectives(t26, r5) { + for (; this._peek.type === l4.ATTR_NAME || this._peek.type === l4.DIRECTIVE_NAME; ) this._peek.type === l4.DIRECTIVE_NAME ? r5.push(this._consumeDirective(this._peek)) : t26.push(this._consumeAttr(this._advance())); + } + _consumeComponentEndTag(t26) { + let r5 = this._getComponentFullName(t26, this._getClosestElementLikeParent()); + if (!this._popContainer(r5, J8, t26.sourceSpan)) { + let n5 = this._containerStack[this._containerStack.length - 1], i5; + n5 instanceof J8 && n5.componentName === t26.parts[0] ? i5 = `, did you mean "${n5.fullName}"?` : i5 = ". It may happen when the tag has already been closed by another tag."; + let s5 = `Unexpected closing tag "${r5}"${i5}`; + this.errors.push(N6.create(r5, t26.sourceSpan, s5)); + } + } + _getTagDefinition(t26) { + return typeof t26 == "string" ? this.tagDefinitionResolver(t26) : t26 instanceof ie7 ? this.tagDefinitionResolver(t26.name) : t26 instanceof J8 && t26.tagName !== null ? this.tagDefinitionResolver(t26.tagName) : null; + } + _pushContainer(t26, r5) { + r5 && this._containerStack.pop(), this._addToParent(t26), this._containerStack.push(t26); + } + _consumeElementEndTag(t26) { + var r5; + let n5 = this.allowHtmComponentClosingTags && t26.parts.length === 0 ? null : this._getElementFullName(t26, this._getClosestElementLikeParent()); + if (n5 && (!((r5 = this._getTagDefinition(n5)) === null || r5 === void 0) && r5.isVoid)) this.errors.push(N6.create(n5, t26.sourceSpan, `Void elements do not have end tags "${t26.parts[1]}"`)); + else if (!this._popContainer(n5, ie7, t26.sourceSpan)) { + let i5 = `Unexpected closing tag "${n5}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`; + this.errors.push(N6.create(n5, t26.sourceSpan, i5)); + } + } + _popContainer(t26, r5, n5) { + let i5 = false; + for (let a5 = this._containerStack.length - 1; a5 >= 0; a5--) { + var s5; + let o5 = this._containerStack[a5], c7 = o5 instanceof J8 ? o5.fullName : o5.name; + if (Me8(c7) ? c7 === t26 : (c7 === t26 || t26 === null) && o5 instanceof r5) return o5.endSourceSpan = n5, o5.sourceSpan.end = n5 !== null ? n5.end : o5.sourceSpan.end, this._containerStack.splice(a5, this._containerStack.length - a5), !i5; + (o5 instanceof ve8 || !(!((s5 = this._getTagDefinition(o5)) === null || s5 === void 0) && s5.closedByParent)) && (i5 = true); + } + return false; + } + _consumeAttr(t26) { + let r5 = Ee7(t26.parts[0], t26.parts[1]), n5 = t26.sourceSpan.end, i5; + this._peek.type === l4.ATTR_QUOTE && (i5 = this._advance()); + let s5 = "", a5 = [], o5, c7; + if (this._peek.type === l4.ATTR_VALUE_TEXT) for (o5 = this._peek.sourceSpan, c7 = this._peek.sourceSpan.end; this._peek.type === l4.ATTR_VALUE_TEXT || this._peek.type === l4.ATTR_VALUE_INTERPOLATION || this._peek.type === l4.ENCODED_ENTITY; ) { + let p4 = this._advance(); + a5.push(p4), p4.type === l4.ATTR_VALUE_INTERPOLATION ? s5 += p4.parts.join("").replace(/&([^;]+);/g, as6) : p4.type === l4.ENCODED_ENTITY ? s5 += p4.parts[0] : s5 += p4.parts.join(""), c7 = n5 = p4.sourceSpan.end; + } + this._peek.type === l4.ATTR_QUOTE && (c7 = n5 = this._advance().sourceSpan.end); + let u = o5 && c7 && new h3(i5?.sourceSpan.start ?? o5.start, c7, i5?.sourceSpan.fullStart ?? o5.fullStart); + return new Gi6(r5, s5, new h3(t26.sourceSpan.start, n5, t26.sourceSpan.fullStart), t26.sourceSpan, u, a5.length > 0 ? a5 : void 0, void 0); + } + _consumeDirective(t26) { + let r5 = [], n5 = t26.sourceSpan.end, i5 = null; + if (this._advance(), this._peek.type === l4.DIRECTIVE_OPEN) { + for (n5 = this._peek.sourceSpan.end, this._advance(); this._peek.type === l4.ATTR_NAME; ) r5.push(this._consumeAttr(this._advance())); + this._peek.type === l4.DIRECTIVE_CLOSE ? (i5 = this._peek.sourceSpan, this._advance()) : this.errors.push(N6.create(null, t26.sourceSpan, "Unterminated directive definition")); + } + let s5 = new h3(t26.sourceSpan.start, n5, t26.sourceSpan.fullStart), a5 = new h3(s5.start, i5 === null ? t26.sourceSpan.end : i5.end, s5.fullStart); + return new Yi6(t26.parts[0], r5, a5, s5, i5); + } + _consumeBlockOpen(t26) { + let r5 = []; + for (; this._peek.type === l4.BLOCK_PARAMETER; ) { + let o5 = this._advance(); + r5.push(new Nr5(o5.parts[0], o5.sourceSpan)); + } + this._peek.type === l4.BLOCK_OPEN_END && this._advance(); + let n5 = this._peek.sourceSpan.fullStart, i5 = new h3(t26.sourceSpan.start, n5, t26.sourceSpan.fullStart), s5 = new h3(t26.sourceSpan.start, n5, t26.sourceSpan.fullStart), a5 = new ve8(t26.parts[0], r5, [], i5, t26.sourceSpan, s5); + this._pushContainer(a5, false); + } + _consumeBlockClose(t26) { + this._popContainer(null, ve8, t26.sourceSpan) || this.errors.push(N6.create(null, t26.sourceSpan, 'Unexpected closing block. The block may have been closed earlier. If you meant to write the } character, you should use the "}" HTML entity instead.')); + } + _consumeIncompleteBlock(t26) { + let r5 = []; + for (; this._peek.type === l4.BLOCK_PARAMETER; ) { + let o5 = this._advance(); + r5.push(new Nr5(o5.parts[0], o5.sourceSpan)); + } + let n5 = this._peek.sourceSpan.fullStart, i5 = new h3(t26.sourceSpan.start, n5, t26.sourceSpan.fullStart), s5 = new h3(t26.sourceSpan.start, n5, t26.sourceSpan.fullStart), a5 = new ve8(t26.parts[0], r5, [], i5, t26.sourceSpan, s5); + this._pushContainer(a5, false), this._popContainer(null, ve8, null), this.errors.push(N6.create(t26.parts[0], i5, `Incomplete block "${t26.parts[0]}". If you meant to write the @ character, you should use the "@" HTML entity instead.`)); + } + _consumeLet(t26) { + let r5 = t26.parts[0], n5, i5; + if (this._peek.type !== l4.LET_VALUE) { + this.errors.push(N6.create(t26.parts[0], t26.sourceSpan, `Invalid @let declaration "${r5}". Declaration must have a value.`)); + return; + } else n5 = this._advance(); + if (this._peek.type !== l4.LET_END) { + this.errors.push(N6.create(t26.parts[0], t26.sourceSpan, `Unterminated @let declaration "${r5}". Declaration must be terminated with a semicolon.`)); + return; + } else i5 = this._advance(); + let s5 = i5.sourceSpan.fullStart, a5 = new h3(t26.sourceSpan.start, s5, t26.sourceSpan.fullStart), o5 = t26.sourceSpan.toString().lastIndexOf(r5), c7 = new h3(t26.sourceSpan.start.moveBy(o5), t26.sourceSpan.end), u = new Lr6(r5, n5.parts[0], a5, c7, n5.sourceSpan); + this._addToParent(u); + } + _consumeIncompleteLet(t26) { + let r5 = t26.parts[0] ?? "", n5 = r5 ? ` "${r5}"` : ""; + if (r5.length > 0) { + let i5 = t26.sourceSpan.toString().lastIndexOf(r5), s5 = new h3(t26.sourceSpan.start.moveBy(i5), t26.sourceSpan.end), a5 = new h3(t26.sourceSpan.start, t26.sourceSpan.start.moveBy(0)), o5 = new Lr6(r5, "", t26.sourceSpan, s5, a5); + this._addToParent(o5); + } + this.errors.push(N6.create(t26.parts[0], t26.sourceSpan, `Incomplete @let declaration${n5}. @let declarations must be written as \`@let = ;\``)); + } + _getContainer() { + return this._containerStack.length > 0 ? this._containerStack[this._containerStack.length - 1] : null; + } + _getClosestElementLikeParent() { + for (let t26 = this._containerStack.length - 1; t26 > -1; t26--) { + let r5 = this._containerStack[t26]; + if (r5 instanceof ie7 || r5 instanceof J8) return r5; + } + return null; + } + _addToParent(t26) { + let r5 = this._getContainer(); + r5 === null ? this.rootNodes.push(t26) : r5.children.push(t26); + } + _getElementFullName(t26, r5) { + return Ee7(this._getPrefix(t26, r5), t26.parts[1]); + } + _getComponentFullName(t26, r5) { + let n5 = t26.parts[0], i5 = this._getComponentTagName(t26, r5); + return i5 === null ? n5 : i5.startsWith(":") ? n5 + i5 : `${n5}:${i5}`; + } + _getComponentTagName(t26, r5) { + let n5 = this._getPrefix(t26, r5), i5 = t26.parts[2]; + return !n5 && !i5 ? null : !n5 && i5 ? i5 : Ee7(n5, i5 || "ng-component"); + } + _getPrefix(t26, r5) { + var n5; + let i5, s5; + if (t26.type === l4.COMPONENT_OPEN_START || t26.type === l4.INCOMPLETE_COMPONENT_OPEN || t26.type === l4.COMPONENT_CLOSE ? (i5 = t26.parts[1], s5 = t26.parts[2]) : (i5 = t26.parts[0], s5 = t26.parts[1]), i5 = i5 || ((n5 = this._getTagDefinition(s5)) === null || n5 === void 0 ? void 0 : n5.implicitNamespacePrefix) || "", !i5 && r5) { + let a5 = r5 instanceof ie7 ? r5.name : r5.tagName; + if (a5 !== null) { + let o5 = at8(a5)[1], c7 = this._getTagDefinition(o5); + c7 !== null && !c7.preventNamespaceInheritance && (i5 = Me8(a5)); + } + } + return i5; + } + }; + us6 = class extends ls6 { + constructor() { + super(Be7); + } + parse(e7, t26, r5, n5 = false, i5) { + return super.parse(e7, t26, r5, n5, i5); + } + }; + Ur6 = null; + $o2 = () => (Ur6 || (Ur6 = new us6()), Ur6); + zo2 = [jo2, Xo2, Qo2, Zo2, el2, nl3, tl2, rl2, il3, Jo2]; + ps6 = Yo2; + al2 = { features: { experimental_frontMatterSupport: { massageAstNode: true, embed: true, print: true } }, preprocess: ps6, print: sl3, insertPragma: bi7, massageAstNode: dn5, embed: fi7, getVisitorKeys: _i6 }; + hs6 = al2; + ms6 = [{ name: "Angular", type: "markup", aceMode: "html", extensions: [".component.html"], tmScope: "text.html.basic", aliases: ["xhtml"], codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", parsers: ["angular"], vscodeLanguageIds: ["html"], filenames: [], linguistLanguageId: 146 }, { name: "HTML", type: "markup", aceMode: "html", extensions: [".html", ".hta", ".htm", ".html.hl", ".inc", ".xht", ".xhtml"], tmScope: "text.html.basic", aliases: ["xhtml"], codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", parsers: ["html"], vscodeLanguageIds: ["html"], linguistLanguageId: 146 }, { name: "Lightning Web Components", type: "markup", aceMode: "html", extensions: [], tmScope: "text.html.basic", aliases: ["xhtml"], codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", parsers: ["lwc"], vscodeLanguageIds: ["html"], filenames: [], linguistLanguageId: 146 }, { name: "MJML", type: "markup", aceMode: "html", extensions: [".mjml"], tmScope: "text.mjml.basic", aliases: ["MJML", "mjml"], codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", parsers: ["mjml"], filenames: [], vscodeLanguageIds: ["mjml"], linguistLanguageId: 146 }, { name: "Vue", type: "markup", aceMode: "vue", extensions: [".vue"], tmScope: "source.vue", codemirrorMode: "vue", codemirrorMimeType: "text/x-vue", parsers: ["vue"], vscodeLanguageIds: ["vue"], linguistLanguageId: 391 }]; + Wr4 = { bracketSpacing: { category: "Common", type: "boolean", default: true, description: "Print spaces between brackets.", oppositeDescription: "Do not print spaces between brackets." }, objectWrap: { category: "Common", type: "choice", default: "preserve", description: "How to wrap object literals.", choices: [{ value: "preserve", description: "Keep as multi-line, if there is a newline between the opening brace and first property." }, { value: "collapse", description: "Fit to a single line when possible." }] }, singleQuote: { category: "Common", type: "boolean", default: false, description: "Use single quotes instead of double quotes." }, proseWrap: { category: "Common", type: "choice", default: "preserve", description: "How to wrap prose.", choices: [{ value: "always", description: "Wrap prose if it exceeds the print width." }, { value: "never", description: "Do not wrap prose." }, { value: "preserve", description: "Wrap prose as-is." }] }, bracketSameLine: { category: "Common", type: "boolean", default: false, description: "Put > of opening tags on the last line instead of on a new line." }, singleAttributePerLine: { category: "Common", type: "boolean", default: false, description: "Enforce single attribute per line in HTML, Vue and JSX." } }; + fs9 = "HTML"; + ol3 = { bracketSameLine: Wr4.bracketSameLine, htmlWhitespaceSensitivity: { category: fs9, type: "choice", default: "css", description: "How to handle whitespaces in HTML.", choices: [{ value: "css", description: "Respect the default value of CSS display property." }, { value: "strict", description: "Whitespaces are considered sensitive." }, { value: "ignore", description: "Whitespaces are considered insensitive." }] }, singleAttributePerLine: Wr4.singleAttributePerLine, vueIndentScriptAndStyle: { category: fs9, type: "boolean", default: false, description: "Indent script and style tags in Vue files." } }; + ds6 = ol3; + Qr6 = {}; + en6(Qr6, { angular: () => Al2, html: () => wl2, lwc: () => Nl2, mjml: () => xl2, vue: () => yl2 }); + gs6 = ll2; + cl2 = { canSelfClose: true, normalizeTagName: false, normalizeAttributeName: false, allowHtmComponentClosingTags: false, isTagNameCaseSensitive: false, shouldParseFrontMatter: true }; + Zt8 = /* @__PURE__ */ new Map([["*", /* @__PURE__ */ new Set(["accesskey", "autocapitalize", "autocorrect", "autofocus", "class", "contenteditable", "dir", "draggable", "enterkeyhint", "exportparts", "hidden", "id", "inert", "inputmode", "is", "itemid", "itemprop", "itemref", "itemscope", "itemtype", "lang", "nonce", "part", "popover", "slot", "spellcheck", "style", "tabindex", "title", "translate", "writingsuggestions"])], ["a", /* @__PURE__ */ new Set(["charset", "coords", "download", "href", "hreflang", "name", "ping", "referrerpolicy", "rel", "rev", "shape", "target", "type"])], ["applet", /* @__PURE__ */ new Set(["align", "alt", "archive", "code", "codebase", "height", "hspace", "name", "object", "vspace", "width"])], ["area", /* @__PURE__ */ new Set(["alt", "coords", "download", "href", "hreflang", "nohref", "ping", "referrerpolicy", "rel", "shape", "target", "type"])], ["audio", /* @__PURE__ */ new Set(["autoplay", "controls", "crossorigin", "loop", "muted", "preload", "src"])], ["base", /* @__PURE__ */ new Set(["href", "target"])], ["basefont", /* @__PURE__ */ new Set(["color", "face", "size"])], ["blockquote", /* @__PURE__ */ new Set(["cite"])], ["body", /* @__PURE__ */ new Set(["alink", "background", "bgcolor", "link", "text", "vlink"])], ["br", /* @__PURE__ */ new Set(["clear"])], ["button", /* @__PURE__ */ new Set(["command", "commandfor", "disabled", "form", "formaction", "formenctype", "formmethod", "formnovalidate", "formtarget", "name", "popovertarget", "popovertargetaction", "type", "value"])], ["canvas", /* @__PURE__ */ new Set(["height", "width"])], ["caption", /* @__PURE__ */ new Set(["align"])], ["col", /* @__PURE__ */ new Set(["align", "char", "charoff", "span", "valign", "width"])], ["colgroup", /* @__PURE__ */ new Set(["align", "char", "charoff", "span", "valign", "width"])], ["data", /* @__PURE__ */ new Set(["value"])], ["del", /* @__PURE__ */ new Set(["cite", "datetime"])], ["details", /* @__PURE__ */ new Set(["name", "open"])], ["dialog", /* @__PURE__ */ new Set(["closedby", "open"])], ["dir", /* @__PURE__ */ new Set(["compact"])], ["div", /* @__PURE__ */ new Set(["align"])], ["dl", /* @__PURE__ */ new Set(["compact"])], ["embed", /* @__PURE__ */ new Set(["height", "src", "type", "width"])], ["fieldset", /* @__PURE__ */ new Set(["disabled", "form", "name"])], ["font", /* @__PURE__ */ new Set(["color", "face", "size"])], ["form", /* @__PURE__ */ new Set(["accept", "accept-charset", "action", "autocomplete", "enctype", "method", "name", "novalidate", "target"])], ["frame", /* @__PURE__ */ new Set(["frameborder", "longdesc", "marginheight", "marginwidth", "name", "noresize", "scrolling", "src"])], ["frameset", /* @__PURE__ */ new Set(["cols", "rows"])], ["h1", /* @__PURE__ */ new Set(["align"])], ["h2", /* @__PURE__ */ new Set(["align"])], ["h3", /* @__PURE__ */ new Set(["align"])], ["h4", /* @__PURE__ */ new Set(["align"])], ["h5", /* @__PURE__ */ new Set(["align"])], ["h6", /* @__PURE__ */ new Set(["align"])], ["head", /* @__PURE__ */ new Set(["profile"])], ["hr", /* @__PURE__ */ new Set(["align", "noshade", "size", "width"])], ["html", /* @__PURE__ */ new Set(["manifest", "version"])], ["iframe", /* @__PURE__ */ new Set(["align", "allow", "allowfullscreen", "allowpaymentrequest", "allowusermedia", "frameborder", "height", "loading", "longdesc", "marginheight", "marginwidth", "name", "referrerpolicy", "sandbox", "scrolling", "src", "srcdoc", "width"])], ["img", /* @__PURE__ */ new Set(["align", "alt", "border", "crossorigin", "decoding", "fetchpriority", "height", "hspace", "ismap", "loading", "longdesc", "name", "referrerpolicy", "sizes", "src", "srcset", "usemap", "vspace", "width"])], ["input", /* @__PURE__ */ new Set(["accept", "align", "alpha", "alt", "autocomplete", "checked", "colorspace", "dirname", "disabled", "form", "formaction", "formenctype", "formmethod", "formnovalidate", "formtarget", "height", "ismap", "list", "max", "maxlength", "min", "minlength", "multiple", "name", "pattern", "placeholder", "popovertarget", "popovertargetaction", "readonly", "required", "size", "src", "step", "type", "usemap", "value", "width"])], ["ins", /* @__PURE__ */ new Set(["cite", "datetime"])], ["isindex", /* @__PURE__ */ new Set(["prompt"])], ["label", /* @__PURE__ */ new Set(["for", "form"])], ["legend", /* @__PURE__ */ new Set(["align"])], ["li", /* @__PURE__ */ new Set(["type", "value"])], ["link", /* @__PURE__ */ new Set(["as", "blocking", "charset", "color", "crossorigin", "disabled", "fetchpriority", "href", "hreflang", "imagesizes", "imagesrcset", "integrity", "media", "referrerpolicy", "rel", "rev", "sizes", "target", "type"])], ["map", /* @__PURE__ */ new Set(["name"])], ["menu", /* @__PURE__ */ new Set(["compact"])], ["meta", /* @__PURE__ */ new Set(["charset", "content", "http-equiv", "media", "name", "scheme"])], ["meter", /* @__PURE__ */ new Set(["high", "low", "max", "min", "optimum", "value"])], ["object", /* @__PURE__ */ new Set(["align", "archive", "border", "classid", "codebase", "codetype", "data", "declare", "form", "height", "hspace", "name", "standby", "type", "typemustmatch", "usemap", "vspace", "width"])], ["ol", /* @__PURE__ */ new Set(["compact", "reversed", "start", "type"])], ["optgroup", /* @__PURE__ */ new Set(["disabled", "label"])], ["option", /* @__PURE__ */ new Set(["disabled", "label", "selected", "value"])], ["output", /* @__PURE__ */ new Set(["for", "form", "name"])], ["p", /* @__PURE__ */ new Set(["align"])], ["param", /* @__PURE__ */ new Set(["name", "type", "value", "valuetype"])], ["pre", /* @__PURE__ */ new Set(["width"])], ["progress", /* @__PURE__ */ new Set(["max", "value"])], ["q", /* @__PURE__ */ new Set(["cite"])], ["script", /* @__PURE__ */ new Set(["async", "blocking", "charset", "crossorigin", "defer", "fetchpriority", "integrity", "language", "nomodule", "referrerpolicy", "src", "type"])], ["select", /* @__PURE__ */ new Set(["autocomplete", "disabled", "form", "multiple", "name", "required", "size"])], ["slot", /* @__PURE__ */ new Set(["name"])], ["source", /* @__PURE__ */ new Set(["height", "media", "sizes", "src", "srcset", "type", "width"])], ["style", /* @__PURE__ */ new Set(["blocking", "media", "type"])], ["table", /* @__PURE__ */ new Set(["align", "bgcolor", "border", "cellpadding", "cellspacing", "frame", "rules", "summary", "width"])], ["tbody", /* @__PURE__ */ new Set(["align", "char", "charoff", "valign"])], ["td", /* @__PURE__ */ new Set(["abbr", "align", "axis", "bgcolor", "char", "charoff", "colspan", "headers", "height", "nowrap", "rowspan", "scope", "valign", "width"])], ["template", /* @__PURE__ */ new Set(["shadowrootclonable", "shadowrootcustomelementregistry", "shadowrootdelegatesfocus", "shadowrootmode", "shadowrootserializable"])], ["textarea", /* @__PURE__ */ new Set(["autocomplete", "cols", "dirname", "disabled", "form", "maxlength", "minlength", "name", "placeholder", "readonly", "required", "rows", "wrap"])], ["tfoot", /* @__PURE__ */ new Set(["align", "char", "charoff", "valign"])], ["th", /* @__PURE__ */ new Set(["abbr", "align", "axis", "bgcolor", "char", "charoff", "colspan", "headers", "height", "nowrap", "rowspan", "scope", "valign", "width"])], ["thead", /* @__PURE__ */ new Set(["align", "char", "charoff", "valign"])], ["time", /* @__PURE__ */ new Set(["datetime"])], ["tr", /* @__PURE__ */ new Set(["align", "bgcolor", "char", "charoff", "valign"])], ["track", /* @__PURE__ */ new Set(["default", "kind", "label", "src", "srclang"])], ["ul", /* @__PURE__ */ new Set(["compact", "type"])], ["video", /* @__PURE__ */ new Set(["autoplay", "controls", "crossorigin", "height", "loop", "muted", "playsinline", "poster", "preload", "src", "width"])]]); + _s6 = /* @__PURE__ */ new Set(["a", "abbr", "acronym", "address", "applet", "area", "article", "aside", "audio", "b", "base", "basefont", "bdi", "bdo", "bgsound", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "command", "content", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "em", "embed", "fencedframe", "fieldset", "figcaption", "figure", "font", "footer", "form", "frame", "frameset", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "image", "img", "input", "ins", "isindex", "kbd", "keygen", "label", "legend", "li", "link", "listing", "main", "map", "mark", "marquee", "math", "menu", "menuitem", "meta", "meter", "multicol", "nav", "nextid", "nobr", "noembed", "noframes", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "plaintext", "pre", "progress", "q", "rb", "rbc", "rp", "rt", "rtc", "ruby", "s", "samp", "script", "search", "section", "select", "selectedcontent", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "svg", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "tt", "u", "ul", "var", "video", "wbr", "xmp"]); + er7 = { attrs: true, children: true, cases: true, expression: true }; + Ss5 = /* @__PURE__ */ new Set(["parent"]); + We8 = class We9 { + constructor(t26 = {}) { + tn6(this, oe7); + ir7(this, "kind"); + ir7(this, "parent"); + for (let r5 of /* @__PURE__ */ new Set([...Ss5, ...Object.keys(t26)])) this.setProperty(r5, t26[r5]); + if (ce7(t26)) for (let r5 of Object.getOwnPropertySymbols(t26)) this.setProperty(r5, t26[r5]); + } + setProperty(t26, r5) { + if (this[t26] !== r5) { + if (t26 in er7 && (r5 = r5.map((n5) => this.createChild(n5))), !Ss5.has(t26)) { + this[t26] = r5; + return; + } + Object.defineProperty(this, t26, { value: r5, enumerable: false, configurable: true }); + } + } + map(t26) { + let r5; + for (let n5 in er7) { + let i5 = this[n5]; + if (i5) { + let s5 = ul2(i5, (a5) => a5.map(t26)); + r5 !== i5 && (r5 || (r5 = new We9({ parent: this.parent })), r5.setProperty(n5, s5)); + } + } + if (r5) for (let n5 in this) n5 in er7 || (r5[n5] = this[n5]); + return t26(r5 || this); + } + walk(t26) { + for (let r5 in er7) { + let n5 = this[r5]; + if (n5) for (let i5 = 0; i5 < n5.length; i5++) n5[i5].walk(t26); + } + t26(this); + } + createChild(t26) { + let r5 = t26 instanceof We9 ? t26.clone() : new We9(t26); + return r5.setProperty("parent", this), r5; + } + insertChildBefore(t26, r5) { + let n5 = this.$children; + n5.splice(n5.indexOf(t26), 0, this.createChild(r5)); + } + removeChild(t26) { + let r5 = this.$children; + r5.splice(r5.indexOf(t26), 1); + } + replaceChild(t26, r5) { + let n5 = this.$children; + n5[n5.indexOf(t26)] = this.createChild(r5); + } + clone() { + return new We9(this); + } + get $children() { + return this[$e7(this, oe7, $r6)]; + } + set $children(t26) { + this[$e7(this, oe7, $r6)] = t26; + } + get firstChild() { + return this.$children?.[0]; + } + get lastChild() { + return F7(1, this.$children, -1); + } + get prev() { + let t26 = $e7(this, oe7, zr5); + return t26[t26.indexOf(this) - 1]; + } + get next() { + let t26 = $e7(this, oe7, zr5); + return t26[t26.indexOf(this) + 1]; + } + get rawName() { + return this.hasExplicitNamespace ? this.fullName : this.name; + } + get fullName() { + return this.namespace ? this.namespace + ":" + this.name : this.name; + } + get attrMap() { + return Object.fromEntries(this.attrs.map((t26) => [t26.fullName, t26.value])); + } + }; + oe7 = /* @__PURE__ */ new WeakSet(), $r6 = function() { + return this.kind === "angularIcuCase" ? "expression" : this.kind === "angularIcuExpression" ? "cases" : "children"; + }, zr5 = function() { + return this.parent?.$children ?? []; + }; + tr7 = We8; + pl2 = [{ regex: /^(?\[if(?[^\]]*)\]>)(?.*?)[^\]]*)\]> { + n5(t26.expression); + }); + } + visit(t26, { parseOptions: r5 }) { + Sl2(t26), El2(t26, r5), vl2(t26, r5), Cl2(t26); + } + }; + rr7 = Jt8({ name: "html", normalizeTagName: true, normalizeAttributeName: true, allowHtmComponentClosingTags: true }); + wl2 = gt7(rr7); + kl2 = /* @__PURE__ */ new Set(["mj-style", "mj-raw"]); + xl2 = gt7({ ...rr7, name: "mjml", shouldParseAsRawText: (e7) => kl2.has(e7) }); + Al2 = gt7({ name: "angular", tokenizeAngularBlocks: true, tokenizeAngularLetDeclaration: true }); + yl2 = gt7({ name: "vue", isTagNameCaseSensitive: true, shouldParseAsRawText(e7, t26, r5, n5) { + return e7.toLowerCase() !== "html" && !r5 && (e7 !== "template" || n5.some(({ name: i5, value: s5 }) => i5 === "lang" && s5 !== "html" && s5 !== "" && s5 !== void 0)); + } }); + Nl2 = gt7({ name: "lwc", canSelfClose: false }); + Ll2 = { html: hs6 }; + } +}); + +// node_modules/prettier/plugins/markdown.mjs +var markdown_exports = {}; +__export(markdown_exports, { + default: () => gl3, + languages: () => Ki6, + options: () => Xi6, + parsers: () => Wn5, + printers: () => fF +}); +function yl3(e7) { + return this[e7 < 0 ? this.length + e7 : e7]; +} +function fe7(e7) { + if (typeof e7 != "string") throw new TypeError("Expected a string"); + return e7.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d"); +} +function Ol2(e7) { + if (typeof e7 == "string") return V8; + if (Array.isArray(e7)) return j6; + if (!e7) return; + let { type: r5 } = e7; + if (Br7.has(r5)) return r5; +} +function Nl3(e7) { + let r5 = e7 === null ? "null" : typeof e7; + if (r5 !== "string" && r5 !== "object") return `Unexpected doc '${r5}', +Expected it to be 'string' or 'object'.`; + if (W8(e7)) throw new Error("doc is valid."); + let t26 = Object.prototype.toString.call(e7); + if (t26 !== "[object Object]") return `Unexpected doc '${t26}'.`; + let n5 = ql2([...Br7].map((i5) => `'${i5}'`)); + return `Unexpected doc.type '${e7.type}'. +Expected it to be ${n5}.`; +} +function Pl2(e7, r5, t26, n5) { + let i5 = [e7]; + for (; i5.length > 0; ) { + let u = i5.pop(); + if (u === $n5) { + t26(i5.pop()); + continue; + } + t26 && i5.push(u, $n5); + let a5 = W8(u); + if (!a5) throw new Be8(u); + if (r5?.(u) !== false) switch (a5) { + case j6: + case J9: { + let o5 = a5 === j6 ? u : u.parts; + for (let s5 = o5.length, l5 = s5 - 1; l5 >= 0; --l5) i5.push(o5[l5]); + break; + } + case Q8: + i5.push(u.flatContents, u.breakContents); + break; + case X8: + if (n5 && u.expandedStates) for (let o5 = u.expandedStates.length, s5 = o5 - 1; s5 >= 0; --s5) i5.push(u.expandedStates[s5]); + else i5.push(u.contents); + break; + case re7: + case ee6: + case pe7: + case me9: + case he9: + i5.push(u.contents); + break; + case V8: + case be8: + case De8: + case de8: + case $8: + case te9: + break; + default: + throw new Be8(u); + } + } +} +function Il2(e7, r5) { + if (typeof e7 == "string") return r5(e7); + let t26 = /* @__PURE__ */ new Map(); + return n5(e7); + function n5(u) { + if (t26.has(u)) return t26.get(u); + let a5 = i5(u); + return t26.set(u, a5), a5; + } + function i5(u) { + switch (W8(u)) { + case j6: + return r5(u.map(n5)); + case J9: + return r5({ ...u, parts: u.parts.map(n5) }); + case Q8: + return r5({ ...u, breakContents: n5(u.breakContents), flatContents: n5(u.flatContents) }); + case X8: { + let { expandedStates: a5, contents: o5 } = u; + return a5 ? (a5 = a5.map(n5), o5 = a5[0]) : o5 = n5(o5), r5({ ...u, contents: o5, expandedStates: a5 }); + } + case re7: + case ee6: + case pe7: + case me9: + case he9: + return r5({ ...u, contents: n5(u.contents) }); + case V8: + case be8: + case De8: + case de8: + case $8: + case te9: + return r5(u); + default: + throw new Be8(u); + } + } +} +function Kn6(e7) { + if (e7.length > 0) { + let r5 = U7(0, e7, -1); + !r5.expandedStates && !r5.break && (r5.break = "propagated"); + } + return null; +} +function Xn6(e7) { + let r5 = /* @__PURE__ */ new Set(), t26 = []; + function n5(u) { + if (u.type === te9 && Kn6(t26), u.type === X8) { + if (t26.push(u), r5.has(u)) return false; + r5.add(u); + } + } + function i5(u) { + u.type === X8 && t26.pop().break && Kn6(t26); + } + Hn5(e7, n5, i5, true); +} +function xe7(e7, r5 = nr7) { + return Il2(e7, (t26) => typeof t26 == "string" ? _r7(r5, t26.split(` +`)) : t26); +} +function ir8(e7) { + return ne9(e7), { type: ee6, contents: e7 }; +} +function Fe8(e7, r5) { + return Qn5(e7), ne9(r5), { type: re7, contents: r5, n: e7 }; +} +function ur8(e7) { + return Fe8({ type: "root" }, e7); +} +function Ye7(e7) { + return Jn5(e7), { type: J9, parts: e7 }; +} +function Ge8(e7, r5 = {}) { + return ne9(e7), Or6(r5.expandedStates, true), { type: X8, id: r5.id, contents: e7, break: !!r5.shouldBreak, expandedStates: r5.expandedStates }; +} +function Zn6(e7, r5 = "", t26 = {}) { + return ne9(e7), r5 !== "" && ne9(r5), { type: Q8, breakContents: e7, flatContents: r5, groupId: t26.groupId }; +} +function _r7(e7, r5) { + ne9(e7), Or6(r5); + let t26 = []; + for (let n5 = 0; n5 < r5.length; n5++) n5 !== 0 && t26.push(e7), t26.push(r5[n5]); + return t26; +} +function ei8(e7) { + return e7 === Ll3 ? Ml2 : e7 === Rl2 ? Ul2 : Gl2; +} +function Et9(e7) { + return e7 === 12288 || e7 >= 65281 && e7 <= 65376 || e7 >= 65504 && e7 <= 65510; +} +function Ct9(e7) { + return e7 >= 4352 && e7 <= 4447 || e7 === 8986 || e7 === 8987 || e7 === 9001 || e7 === 9002 || e7 >= 9193 && e7 <= 9196 || e7 === 9200 || e7 === 9203 || e7 === 9725 || e7 === 9726 || e7 === 9748 || e7 === 9749 || e7 >= 9776 && e7 <= 9783 || e7 >= 9800 && e7 <= 9811 || e7 === 9855 || e7 >= 9866 && e7 <= 9871 || e7 === 9875 || e7 === 9889 || e7 === 9898 || e7 === 9899 || e7 === 9917 || e7 === 9918 || e7 === 9924 || e7 === 9925 || e7 === 9934 || e7 === 9940 || e7 === 9962 || e7 === 9970 || e7 === 9971 || e7 === 9973 || e7 === 9978 || e7 === 9981 || e7 === 9989 || e7 === 9994 || e7 === 9995 || e7 === 10024 || e7 === 10060 || e7 === 10062 || e7 >= 10067 && e7 <= 10069 || e7 === 10071 || e7 >= 10133 && e7 <= 10135 || e7 === 10160 || e7 === 10175 || e7 === 11035 || e7 === 11036 || e7 === 11088 || e7 === 11093 || e7 >= 11904 && e7 <= 11929 || e7 >= 11931 && e7 <= 12019 || e7 >= 12032 && e7 <= 12245 || e7 >= 12272 && e7 <= 12287 || e7 >= 12289 && e7 <= 12350 || e7 >= 12353 && e7 <= 12438 || e7 >= 12441 && e7 <= 12543 || e7 >= 12549 && e7 <= 12591 || e7 >= 12593 && e7 <= 12686 || e7 >= 12688 && e7 <= 12773 || e7 >= 12783 && e7 <= 12830 || e7 >= 12832 && e7 <= 12871 || e7 >= 12880 && e7 <= 42124 || e7 >= 42128 && e7 <= 42182 || e7 >= 43360 && e7 <= 43388 || e7 >= 44032 && e7 <= 55203 || e7 >= 63744 && e7 <= 64255 || e7 >= 65040 && e7 <= 65049 || e7 >= 65072 && e7 <= 65106 || e7 >= 65108 && e7 <= 65126 || e7 >= 65128 && e7 <= 65131 || e7 >= 94176 && e7 <= 94180 || e7 >= 94192 && e7 <= 94198 || e7 >= 94208 && e7 <= 101589 || e7 >= 101631 && e7 <= 101662 || e7 >= 101760 && e7 <= 101874 || e7 >= 110576 && e7 <= 110579 || e7 >= 110581 && e7 <= 110587 || e7 === 110589 || e7 === 110590 || e7 >= 110592 && e7 <= 110882 || e7 === 110898 || e7 >= 110928 && e7 <= 110930 || e7 === 110933 || e7 >= 110948 && e7 <= 110951 || e7 >= 110960 && e7 <= 111355 || e7 >= 119552 && e7 <= 119638 || e7 >= 119648 && e7 <= 119670 || e7 === 126980 || e7 === 127183 || e7 === 127374 || e7 >= 127377 && e7 <= 127386 || e7 >= 127488 && e7 <= 127490 || e7 >= 127504 && e7 <= 127547 || e7 >= 127552 && e7 <= 127560 || e7 === 127568 || e7 === 127569 || e7 >= 127584 && e7 <= 127589 || e7 >= 127744 && e7 <= 127776 || e7 >= 127789 && e7 <= 127797 || e7 >= 127799 && e7 <= 127868 || e7 >= 127870 && e7 <= 127891 || e7 >= 127904 && e7 <= 127946 || e7 >= 127951 && e7 <= 127955 || e7 >= 127968 && e7 <= 127984 || e7 === 127988 || e7 >= 127992 && e7 <= 128062 || e7 === 128064 || e7 >= 128066 && e7 <= 128252 || e7 >= 128255 && e7 <= 128317 || e7 >= 128331 && e7 <= 128334 || e7 >= 128336 && e7 <= 128359 || e7 === 128378 || e7 === 128405 || e7 === 128406 || e7 === 128420 || e7 >= 128507 && e7 <= 128591 || e7 >= 128640 && e7 <= 128709 || e7 === 128716 || e7 >= 128720 && e7 <= 128722 || e7 >= 128725 && e7 <= 128728 || e7 >= 128732 && e7 <= 128735 || e7 === 128747 || e7 === 128748 || e7 >= 128756 && e7 <= 128764 || e7 >= 128992 && e7 <= 129003 || e7 === 129008 || e7 >= 129292 && e7 <= 129338 || e7 >= 129340 && e7 <= 129349 || e7 >= 129351 && e7 <= 129535 || e7 >= 129648 && e7 <= 129660 || e7 >= 129664 && e7 <= 129674 || e7 >= 129678 && e7 <= 129734 || e7 === 129736 || e7 >= 129741 && e7 <= 129756 || e7 >= 129759 && e7 <= 129770 || e7 >= 129775 && e7 <= 129784 || e7 >= 131072 && e7 <= 196605 || e7 >= 196608 && e7 <= 262141; +} +function Vl2(e7) { + if (!e7) return 0; + if (!zl2.test(e7)) return e7.length; + e7 = e7.replace(ri8(), (t26) => Wl2.has(t26) ? " " : " "); + let r5 = 0; + for (let t26 of e7) { + let n5 = t26.codePointAt(0); + n5 <= 31 || n5 >= 127 && n5 <= 159 || n5 >= 768 && n5 <= 879 || n5 >= 65024 && n5 <= 65039 || (r5 += Et9(n5) || Ct9(n5) ? 2 : 1); + } + return r5; +} +function ni8(e7, r5, t26) { + let n5 = r5.type === 1 ? e7.queue.slice(0, -1) : [...e7.queue, r5], i5 = "", u = 0, a5 = 0, o5 = 0; + for (let p4 of n5) switch (p4.type) { + case 0: + c7(), t26.useTabs ? s5(1) : l5(t26.tabWidth); + break; + case 3: { + let { string: h5 } = p4; + c7(), i5 += h5, u += h5.length; + break; + } + case 2: { + let { width: h5 } = p4; + a5 += 1, o5 += h5; + break; + } + default: + throw new Error(`Unexpected indent comment '${p4.type}'.`); + } + return D7(), { ...e7, value: i5, length: u, queue: n5 }; + function s5(p4) { + i5 += " ".repeat(p4), u += t26.tabWidth * p4; + } + function l5(p4) { + i5 += " ".repeat(p4), u += p4; + } + function c7() { + t26.useTabs ? f7() : D7(); + } + function f7() { + a5 > 0 && s5(a5), m7(); + } + function D7() { + o5 > 0 && l5(o5), m7(); + } + function m7() { + a5 = 0, o5 = 0; + } +} +function ii8(e7, r5, t26) { + if (!r5) return e7; + if (r5.type === "root") return { ...e7, root: e7 }; + if (r5 === Number.NEGATIVE_INFINITY) return e7.root; + let n5; + return typeof r5 == "number" ? r5 < 0 ? n5 = $l2 : n5 = { type: 2, width: r5 } : n5 = { type: 3, string: r5 }, ni8(e7, n5, t26); +} +function ui8(e7, r5) { + return ni8(e7, jl2, r5); +} +function Hl2(e7) { + let r5 = 0; + for (let t26 = e7.length - 1; t26 >= 0; t26--) { + let n5 = e7[t26]; + if (n5 === " " || n5 === " ") r5++; + else break; + } + return r5; +} +function At9(e7) { + let r5 = Hl2(e7); + return { text: r5 === 0 ? e7 : e7.slice(0, e7.length - r5), count: r5 }; +} +function Pr5(e7, r5, t26, n5, i5, u) { + if (t26 === Number.POSITIVE_INFINITY) return true; + let a5 = r5.length, o5 = false, s5 = [e7], l5 = ""; + for (; t26 >= 0; ) { + if (s5.length === 0) { + if (a5 === 0) return true; + s5.push(r5[--a5]); + continue; + } + let { mode: c7, doc: f7 } = s5.pop(), D7 = W8(f7); + switch (D7) { + case V8: + f7 && (o5 && (l5 += " ", t26 -= 1, o5 = false), l5 += f7, t26 -= or8(f7)); + break; + case j6: + case J9: { + let m7 = D7 === j6 ? f7 : f7.parts, p4 = f7[bt9] ?? 0; + for (let h5 = m7.length - 1; h5 >= p4; h5--) s5.push({ mode: c7, doc: m7[h5] }); + break; + } + case ee6: + case re7: + case pe7: + case me9: + s5.push({ mode: c7, doc: f7.contents }); + break; + case De8: { + let { text: m7, count: p4 } = At9(l5); + l5 = m7, t26 += p4; + break; + } + case X8: { + if (u && f7.break) return false; + let m7 = f7.break ? H9 : c7, p4 = f7.expandedStates && m7 === H9 ? U7(0, f7.expandedStates, -1) : f7.contents; + s5.push({ mode: m7, doc: p4 }); + break; + } + case Q8: { + let p4 = (f7.groupId ? i5[f7.groupId] || ue8 : c7) === H9 ? f7.breakContents : f7.flatContents; + p4 && s5.push({ mode: c7, doc: p4 }); + break; + } + case $8: + if (c7 === H9 || f7.hard) return true; + f7.soft || (o5 = true); + break; + case he9: + n5 = true; + break; + case de8: + if (n5) return false; + break; + } + } + return false; +} +function ai8(e7, r5) { + let t26 = /* @__PURE__ */ Object.create(null), n5 = r5.printWidth, i5 = ei8(r5.endOfLine), u = 0, a5 = [{ indent: vt9, mode: H9, doc: e7 }], o5 = "", s5 = false, l5 = [], c7 = [], f7 = [], D7 = [], m7 = 0; + for (Xn6(e7); a5.length > 0; ) { + let { indent: E7, mode: v9, doc: A9 } = a5.pop(); + switch (W8(A9)) { + case V8: { + let b7 = i5 !== ` +` ? R8(0, A9, ` +`, i5) : A9; + b7 && (o5 += b7, a5.length > 0 && (u += or8(b7))); + break; + } + case j6: + for (let b7 = A9.length - 1; b7 >= 0; b7--) a5.push({ indent: E7, mode: v9, doc: A9[b7] }); + break; + case be8: + if (c7.length >= 2) throw new Error("There are too many 'cursor' in doc."); + c7.push(m7 + o5.length); + break; + case ee6: + a5.push({ indent: ui8(E7, r5), mode: v9, doc: A9.contents }); + break; + case re7: + a5.push({ indent: ii8(E7, A9.n, r5), mode: v9, doc: A9.contents }); + break; + case De8: + g5(); + break; + case X8: + switch (v9) { + case ue8: + if (!s5) { + a5.push({ indent: E7, mode: A9.break ? H9 : ue8, doc: A9.contents }); + break; + } + case H9: { + s5 = false; + let b7 = { indent: E7, mode: ue8, doc: A9.contents }, d5 = n5 - u, y10 = l5.length > 0; + if (!A9.break && Pr5(b7, a5, d5, y10, t26)) a5.push(b7); + else if (A9.expandedStates) { + let w8 = U7(0, A9.expandedStates, -1); + if (A9.break) { + a5.push({ indent: E7, mode: H9, doc: w8 }); + break; + } else for (let C8 = 1; C8 < A9.expandedStates.length + 1; C8++) if (C8 >= A9.expandedStates.length) { + a5.push({ indent: E7, mode: H9, doc: w8 }); + break; + } else { + let k8 = A9.expandedStates[C8], T7 = { indent: E7, mode: ue8, doc: k8 }; + if (Pr5(T7, a5, d5, y10, t26)) { + a5.push(T7); + break; + } + } + } else a5.push({ indent: E7, mode: H9, doc: A9.contents }); + break; + } + } + A9.id && (t26[A9.id] = U7(0, a5, -1).mode); + break; + case J9: { + let b7 = n5 - u, d5 = A9[bt9] ?? 0, { parts: y10 } = A9, w8 = y10.length - d5; + if (w8 === 0) break; + let C8 = y10[d5 + 0], k8 = y10[d5 + 1], T7 = { indent: E7, mode: ue8, doc: C8 }, B7 = { indent: E7, mode: H9, doc: C8 }, _9 = Pr5(T7, [], b7, l5.length > 0, t26, true); + if (w8 === 1) { + _9 ? a5.push(T7) : a5.push(B7); + break; + } + let S7 = { indent: E7, mode: ue8, doc: k8 }, P8 = { indent: E7, mode: H9, doc: k8 }; + if (w8 === 2) { + _9 ? a5.push(S7, T7) : a5.push(P8, B7); + break; + } + let N8 = y10[d5 + 2], O7 = { indent: E7, mode: v9, doc: { ...A9, [bt9]: d5 + 2 } }, le9 = Pr5({ indent: E7, mode: ue8, doc: [C8, k8, N8] }, [], b7, l5.length > 0, t26, true); + a5.push(O7), le9 ? a5.push(S7, T7) : _9 ? a5.push(P8, T7) : a5.push(P8, B7); + break; + } + case Q8: + case pe7: { + let b7 = A9.groupId ? t26[A9.groupId] : v9; + if (b7 === H9) { + let d5 = A9.type === Q8 ? A9.breakContents : A9.negate ? A9.contents : ir8(A9.contents); + d5 && a5.push({ indent: E7, mode: v9, doc: d5 }); + } + if (b7 === ue8) { + let d5 = A9.type === Q8 ? A9.flatContents : A9.negate ? ir8(A9.contents) : A9.contents; + d5 && a5.push({ indent: E7, mode: v9, doc: d5 }); + } + break; + } + case he9: + l5.push({ indent: E7, mode: v9, doc: A9.contents }); + break; + case de8: + l5.length > 0 && a5.push({ indent: E7, mode: v9, doc: ar8 }); + break; + case $8: + switch (v9) { + case ue8: + if (A9.hard) s5 = true; + else { + A9.soft || (o5 += " ", u += 1); + break; + } + case H9: + if (l5.length > 0) { + a5.push({ indent: E7, mode: v9, doc: A9 }, ...l5.reverse()), l5.length = 0; + break; + } + A9.literal ? (o5 += i5, u = 0, E7.root && (E7.root.value && (o5 += E7.root.value), u = E7.root.length)) : (g5(), o5 += i5 + E7.value, u = E7.length); + break; + } + break; + case me9: + a5.push({ indent: E7, mode: v9, doc: A9.contents }); + break; + case te9: + break; + default: + throw new Be8(A9); + } + a5.length === 0 && l5.length > 0 && (a5.push(...l5.reverse()), l5.length = 0); + } + let p4 = f7.join("") + o5, h5 = [...D7, ...c7]; + if (h5.length !== 2) return { formatted: p4 }; + let F10 = h5[0]; + return { formatted: p4, cursorNodeStart: F10, cursorNodeText: p4.slice(F10, U7(0, h5, -1)) }; + function g5() { + let { text: E7, count: v9 } = At9(o5); + E7 && (f7.push(E7), m7 += E7.length), o5 = "", u -= v9, c7.length > 0 && (D7.push(...c7.map((A9) => Math.min(A9, m7))), c7.length = 0); + } +} +function Kl2(e7, r5) { + let t26 = e7.matchAll(new RegExp(`(?:${fe7(r5)})+`, "gu")); + return t26.reduce || (t26 = [...t26]), t26.reduce((n5, [i5]) => Math.max(n5, i5.length), 0) / r5.length; +} +function Xl2(e7, r5) { + let t26 = e7.match(new RegExp(`(${fe7(r5)})+`, "gu")); + if (t26 === null) return 1; + let n5 = /* @__PURE__ */ new Map(), i5 = 0; + for (let u of t26) { + let a5 = u.length / r5.length; + n5.set(a5, true), a5 > i5 && (i5 = a5); + } + for (let u = 1; u < i5; u++) if (!n5.get(u)) return u; + return i5 + 1; +} +function Zl2(e7, r5) { + let { preferred: t26, alternate: n5 } = r5 === true || r5 === "'" ? Jl2 : Ql2, { length: i5 } = e7, u = 0, a5 = 0; + for (let o5 = 0; o5 < i5; o5++) { + let s5 = e7.charCodeAt(o5); + s5 === t26.codePoint ? u++ : s5 === n5.codePoint && a5++; + } + return (u > a5 ? n5 : t26).character; +} +function tf() { + let e7 = globalThis, r5 = e7.Deno?.build?.os; + return typeof r5 == "string" ? r5 === "windows" : e7.navigator?.platform?.startsWith("Win") ?? e7.process?.platform?.startsWith("win") ?? false; +} +function pi8(e7) { + if (e7 = e7 instanceof URL ? e7 : new URL(e7), e7.protocol !== "file:") throw new TypeError(`URL must be a file URL: received "${e7.protocol}"`); + return e7; +} +function uf(e7) { + return e7 = pi8(e7), decodeURIComponent(e7.pathname.replace(/%(?![0-9A-Fa-f]{2})/g, "%25")); +} +function af(e7) { + e7 = pi8(e7); + let r5 = decodeURIComponent(e7.pathname.replace(/\//g, "\\").replace(/%(?![0-9A-Fa-f]{2})/g, "%25")).replace(/^\\*([A-Za-z]:)(\\|$)/, "$1\\"); + return e7.hostname !== "" && (r5 = `\\\\${e7.hostname}${r5}`), r5; +} +function yt8(e7) { + return nf ? af(e7) : uf(e7); +} +function mi8(e7, r5) { + if (!r5) return; + let t26 = hi8(r5).toLowerCase(); + return e7.find(({ filenames: n5 }) => n5?.some((i5) => i5.toLowerCase() === t26)) ?? e7.find(({ extensions: n5 }) => n5?.some((i5) => t26.endsWith(i5))); +} +function of(e7, r5) { + if (r5) return e7.find(({ name: t26 }) => t26.toLowerCase() === r5) ?? e7.find(({ aliases: t26 }) => t26?.includes(r5)) ?? e7.find(({ extensions: t26 }) => t26?.includes(`.${r5}`)); +} +function Fi7(e7, r5) { + if (r5) { + if (di8(r5)) try { + r5 = yt8(r5); + } catch { + return; + } + if (typeof r5 == "string") return e7.find(({ isSupported: t26 }) => t26?.({ filepath: r5 })); + } +} +function cf(e7, r5) { + let t26 = Di7(0, e7.plugins).flatMap((i5) => i5.languages ?? []); + return (of(t26, r5.language) ?? mi8(t26, r5.physicalFile) ?? mi8(t26, r5.file) ?? Fi7(t26, r5.physicalFile) ?? Fi7(t26, r5.file) ?? sf?.(t26, r5.physicalFile))?.parsers[0]; +} +function lf(e7) { + return !!e7?.[Sr6]; +} +function ff(e7) { + let r5 = e7.slice(0, sr8); + if (r5 !== "---" && r5 !== "+++") return; + let t26 = e7.indexOf(` +`, sr8); + if (t26 === -1) return; + let n5 = e7.slice(sr8, t26).trim(), i5 = e7.indexOf(` +${r5}`, t26), u = n5; + if (u || (u = r5 === "+++" ? "toml" : "yaml"), i5 === -1 && r5 === "---" && u === "yaml" && (i5 = e7.indexOf(` +...`, t26)), i5 === -1) return; + let a5 = i5 + 1 + sr8, o5 = e7.charAt(a5 + 1); + if (!/\s?/u.test(o5)) return; + let s5 = e7.slice(0, a5), l5; + return { language: u, explicitLanguage: n5 || null, value: e7.slice(t26 + 1, i5), startDelimiter: r5, endDelimiter: s5.slice(-sr8), raw: s5, start: { line: 1, column: 0, index: 0 }, end: { index: s5.length, get line() { + return l5 ?? (l5 = s5.split(` +`)), l5.length; + }, get column() { + return l5 ?? (l5 = s5.split(` +`)), U7(0, l5, -1).length; + } }, [Sr6]: true }; +} +function Df2(e7) { + let r5 = ff(e7); + return r5 ? { frontMatter: r5, get content() { + let { raw: t26 } = r5; + return R8(0, t26, /[^\n]/gu, " ") + e7.slice(t26.length); + } } : { content: e7 }; +} +function xi8(e7, r5, t26) { + if ((e7.type === "code" || e7.type === "yaml" || e7.type === "import" || e7.type === "export" || e7.type === "jsx") && delete r5.value, e7.type === "list" && delete r5.isAligned, (e7.type === "list" || e7.type === "listItem") && delete r5.spread, e7.type === "text") return null; + if (e7.type === "inlineCode" && (r5.value = R8(0, e7.value, ` +`, " ")), e7.type === "wikiLink" && (r5.value = R8(0, e7.value.trim(), /[\t\n]+/gu, " ")), (e7.type === "definition" || e7.type === "linkReference" || e7.type === "imageReference") && (r5.label = (0, bi8.default)(e7.label)), (e7.type === "link" || e7.type === "image") && e7.url && e7.url.includes("(")) for (let n5 of "<>") r5.url = R8(0, e7.url, n5, encodeURIComponent(n5)); + if ((e7.type === "definition" || e7.type === "link" || e7.type === "image") && e7.title && (r5.title = R8(0, e7.title, /\\(?=["')])/gu, "")), t26?.type === "root" && t26.children.length > 0 && (t26.children[0] === e7 || kt9(t26.children[0]) && t26.children[1] === e7) && e7.type === "html" && Lr7(e7.value)) return null; +} +function Mr7(e7) { + let r5 = [], t26 = e7.split(/([\t\n ]+)/u); + for (let [i5, u] of t26.entries()) { + if (i5 % 2 === 1) { + r5.push({ type: "whitespace", value: /\n/u.test(u) ? ` +` : " " }); + continue; + } + if ((i5 === 0 || i5 === t26.length - 1) && u === "") continue; + let a5 = u.split(new RegExp(`(${wi8.source})`, "u")); + for (let [o5, s5] of a5.entries()) if (!((o5 === 0 || o5 === a5.length - 1) && s5 === "")) { + if (o5 % 2 === 0) { + s5 !== "" && n5({ type: "word", value: s5, kind: We10, isCJ: false, hasLeadingPunctuation: Oe8.test(s5[0]), hasTrailingPunctuation: Oe8.test(U7(0, s5, -1)) }); + continue; + } + if (Oe8.test(s5)) { + n5({ type: "word", value: s5, kind: cr7, isCJ: true, hasLeadingPunctuation: true, hasTrailingPunctuation: true }); + continue; + } + if (hf.test(s5)) { + n5({ type: "word", value: s5, kind: Pe7, isCJ: false, hasLeadingPunctuation: false, hasTrailingPunctuation: false }); + continue; + } + n5({ type: "word", value: s5, kind: ae6, isCJ: true, hasLeadingPunctuation: false, hasTrailingPunctuation: false }); + } + } + return r5; + function n5(i5) { + let u = U7(0, r5, -1); + u?.type === "word" && !a5(We10, cr7) && ![u.value, i5.value].some((o5) => /\u3000/u.test(o5)) && r5.push({ type: "whitespace", value: "" }), r5.push(i5); + function a5(o5, s5) { + return u.kind === o5 && i5.kind === s5 || u.kind === s5 && i5.kind === o5; + } + } +} +function ze9(e7, r5) { + let t26 = r5.originalText.slice(e7.position.start.offset, e7.position.end.offset), { numberText: n5, leadingSpaces: i5 } = t26.match(/^\s*(?\d+)(\.|\))(?\s*)/u).groups; + return { number: Number(n5), leadingSpaces: i5 }; +} +function ki8(e7, r5) { + return !e7.ordered || e7.children.length < 2 || ze9(e7.children[1], r5).number !== 1 ? false : ze9(e7.children[0], r5).number !== 0 ? true : e7.children.length > 2 && ze9(e7.children[2], r5).number === 1; +} +function Ur7(e7, r5) { + let { value: t26 } = e7; + return e7.position.end.offset === r5.length && t26.endsWith(` +`) && r5.endsWith(` +`) ? t26.slice(0, -1) : t26; +} +function ye8(e7, r5) { + return (function t26(n5, i5, u) { + let a5 = { ...r5(n5, i5, u) }; + return a5.children && (a5.children = a5.children.map((o5, s5) => t26(o5, s5, [a5, ...u]))), a5; + })(e7, null, []); +} +function Yr7(e7) { + if (e7?.type !== "link" || e7.children.length !== 1) return false; + let [r5] = e7.children; + return qe8(e7) === qe8(r5) && Ne7(e7) === Ne7(r5); +} +function lr7(e7) { + let r5; + if (e7.type === "html") r5 = e7.value.match(/^$/u); + else { + let t26; + e7.type === "esComment" ? t26 = e7 : e7.type === "paragraph" && e7.children.length === 1 && e7.children[0].type === "esComment" && (t26 = e7.children[0]), t26 && (r5 = t26.value.match(/^prettier-ignore(?:-(start|end))?$/u)); + } + return r5 ? r5[1] || "next" : false; +} +function Gr6(e7, r5) { + return t26(e7, r5, (n5) => n5.ordered === e7.ordered); + function t26(n5, i5, u) { + let a5 = -1; + for (let o5 of i5.children) if (o5.type === n5.type && u(o5) ? a5++ : a5 = -1, o5 === n5) return a5; + } +} +function df(e7, r5) { + let { node: t26 } = e7; + switch (t26.type) { + case "code": { + let { lang: n5 } = t26; + if (!n5) return; + let i5; + return n5 === "angular-ts" ? i5 = wt9(r5, { language: "typescript" }) : n5 === "angular-html" ? i5 = "angular" : i5 = wt9(r5, { language: n5 }), i5 ? async (u) => { + let a5 = { parser: i5 }; + n5 === "ts" || n5 === "typescript" ? a5.filepath = "dummy.ts" : n5 === "tsx" && (a5.filepath = "dummy.tsx"); + let o5 = await u(Ur7(t26, r5.originalText), a5), s5 = r5.__inJsTemplate ? "~" : "`", l5 = s5.repeat(Math.max(3, Ir5(t26.value, s5) + 1)); + return ur8([l5, t26.lang, t26.meta ? " " + t26.meta : "", M7, xe7(o5), M7, l5]); + } : void 0; + } + case "import": + case "export": + return (n5) => n5(t26.value, { __onHtmlBindingRoot: (i5) => mf(i5, t26.type), parser: "babel" }); + case "jsx": + return (n5) => n5(`<$>${t26.value}`, { parser: "__js_expression", rootMarker: "mdx" }); + } + return null; +} +function mf(e7, r5) { + let { program: { body: t26 } } = e7; + if (!t26.every((n5) => n5.type === "ImportDeclaration" || n5.type === "ExportDefaultDeclaration" || n5.type === "ExportNamedDeclaration")) throw new Error(`Unexpected '${r5}' in MDX.`); +} +function Dr6(e7) { + if (fr8 !== null && typeof fr8.property) { + let r5 = fr8; + return fr8 = Dr6.prototype = null, r5; + } + return fr8 = Dr6.prototype = e7 ?? /* @__PURE__ */ Object.create(null), new Dr6(); +} +function Bt7(e7) { + return Dr6(e7); +} +function gf(e7, r5 = "type") { + Bt7(e7); + function t26(n5) { + let i5 = n5[r5], u = e7[i5]; + if (!Array.isArray(u)) throw Object.assign(new Error(`Missing visitor keys for '${i5}'.`), { node: n5 }); + return u; + } + return t26; +} +function z6(e7, r5, t26, n5 = {}) { + let { processor: i5 = t26 } = n5, u = []; + return e7.each(() => { + let a5 = i5(e7); + a5 !== false && (u.length > 0 && Cf2(e7) && (u.push(M7), (Af(e7, r5) || qi7(e7)) && u.push(M7), qi7(e7) && u.push(M7)), u.push(a5)); + }, "children"), u; +} +function Cf2({ node: e7, parent: r5 }) { + let t26 = Tt9.has(e7.type), n5 = e7.type === "html" && Rr6.has(r5.type); + return !t26 && !n5; +} +function Af({ node: e7, previous: r5, parent: t26 }, n5) { + if (Ni8(r5, n5) || e7.type === "list" && t26.type === "listItem" && r5.type === "code") return true; + let u = r5.type === e7.type && vf2.has(e7.type), a5 = t26.type === "listItem" && (e7.type === "list" || !Ni8(t26, n5)), o5 = lr7(r5) === "next", s5 = e7.type === "html" && r5.type === "html" && r5.position.end.line + 1 === e7.position.start.line, l5 = e7.type === "html" && t26.type === "listItem" && r5.type === "paragraph" && r5.position.end.line + 1 === e7.position.start.line; + return !(u || a5 || o5 || s5 || l5); +} +function qi7({ node: e7, previous: r5 }) { + let t26 = r5.type === "list", n5 = e7.type === "code" && e7.isIndented; + return t26 && n5; +} +function Ni8(e7, r5) { + return e7.type === "listItem" && (e7.spread || r5.originalText.charAt(e7.position.end.offset - 1) === ` +`); +} +function Ii7(e7, r5, t26) { + let { node: n5 } = e7, i5 = Gr6(n5, e7.parent), u = ki8(n5, r5); + return z6(e7, r5, t26, { processor() { + let a5 = s5(), { node: o5 } = e7; + if (o5.children.length === 2 && o5.children[1].type === "html" && o5.children[0].position.start.column !== o5.children[1].position.start.column) return [a5, Pi7(e7, r5, t26, a5)]; + return [a5, Fe8(" ".repeat(a5.length), Pi7(e7, r5, t26, a5))]; + function s5() { + let l5 = n5.ordered ? (e7.isFirst ? n5.start : u ? 1 : n5.start + e7.index) + (i5 % 2 === 0 ? ". " : ") ") : i5 % 2 === 0 ? "- " : "* "; + return (n5.isAligned || n5.hasIndentedCodeblock) && n5.ordered ? bf(l5, r5) : l5; + } + } }); +} +function Pi7(e7, r5, t26, n5) { + let { node: i5 } = e7, u = i5.checked === null ? "" : i5.checked ? "[x] " : "[ ] "; + return [u, z6(e7, r5, t26, { processor({ node: a5, isFirst: o5 }) { + if (o5 && a5.type !== "list") return Fe8(" ".repeat(u.length), t26()); + let s5 = " ".repeat(xf2(r5.tabWidth - n5.length, 0, 3)); + return [s5, Fe8(s5, t26())]; + } })]; +} +function bf(e7, r5) { + let t26 = n5(); + return e7 + " ".repeat(t26 >= 4 ? 0 : t26); + function n5() { + let i5 = e7.length % r5.tabWidth; + return i5 === 0 ? 0 : r5.tabWidth - i5; + } +} +function xf2(e7, r5, t26) { + return Math.max(r5, Math.min(e7, t26)); +} +function Si8(e7, r5, t26) { + let { node: n5 } = e7, i5 = [], u = e7.map(() => e7.map(({ index: f7 }) => { + let D7 = ai8(t26(), r5).formatted, m7 = or8(D7); + return i5[f7] = Math.max(i5[f7] ?? 3, m7), { text: D7, width: m7 }; + }, "children"), "children"), a5 = s5(false); + if (r5.proseWrap !== "never") return [Ue7, a5]; + let o5 = s5(true); + return [Ue7, Ge8(Zn6(o5, a5))]; + function s5(f7) { + return _r7(ar8, [c7(u[0], f7), l5(f7), ...u.slice(1).map((D7) => c7(D7, f7))].map((D7) => `| ${D7.join(" | ")} |`)); + } + function l5(f7) { + return i5.map((D7, m7) => { + let p4 = n5.align[m7], h5 = p4 === "center" || p4 === "left" ? ":" : "-", F10 = p4 === "center" || p4 === "right" ? ":" : "-", g5 = f7 ? "-" : "-".repeat(D7 - 2); + return `${h5}${g5}${F10}`; + }); + } + function c7(f7, D7) { + return f7.map(({ text: m7, width: p4 }, h5) => { + if (D7) return m7; + let F10 = i5[h5] - p4, g5 = n5.align[h5], E7 = 0; + g5 === "right" ? E7 = F10 : g5 === "center" && (E7 = Math.floor(F10 / 2)); + let v9 = F10 - E7; + return `${" ".repeat(E7)}${m7}${" ".repeat(v9)}`; + }); + } +} +function Li7(e7) { + let { node: r5 } = e7, t26 = R8(0, R8(0, r5.value, "*", "\\*"), new RegExp([`(^|${Oe8.source})(_+)`, `(_+)(${Oe8.source}|$)`].join("|"), "gu"), (u, a5, o5, s5, l5) => R8(0, o5 ? `${a5}${o5}` : `${s5}${l5}`, "_", "\\_")), n5 = (u, a5, o5) => u.type === "sentence" && o5 === 0, i5 = (u, a5, o5) => Yr7(u.children[o5 - 1]); + return t26 !== r5.value && (e7.match(void 0, n5, i5) || e7.match(void 0, n5, (u, a5, o5) => u.type === "emphasis" && o5 === 0, i5)) && (t26 = t26.replace(/^(\\?[*_])+/u, (u) => R8(0, u, "\\", ""))), t26; +} +function Ri7(e7, r5, t26) { + let n5 = e7.map(t26, "children"); + return yf(n5); +} +function yf(e7) { + let r5 = [""]; + return (function t26(n5) { + for (let i5 of n5) { + let u = W8(i5); + if (u === j6) { + t26(i5); + continue; + } + let a5 = i5, o5 = []; + u === J9 && ([a5, ...o5] = i5.parts), r5.push([r5.pop(), a5], ...o5); + } + })(e7), Ye7(r5); +} +function _f2(e7, r5) { + return e7 = Of(e7, r5), e7 = Nf(e7), e7 = If2(e7, r5), e7 = Sf(e7, r5), e7 = Pf2(e7), e7; +} +function Of(e7, r5) { + return ye8(e7, (t26) => { + if (t26.type !== "text") return t26; + let { value: n5 } = t26; + if (n5 === "*" || n5 === "_" || !Tf.test(n5) || t26.position.end.offset - t26.position.start.offset === n5.length) return t26; + let i5 = r5.originalText.slice(t26.position.start.offset, t26.position.end.offset); + return Bf.test(i5) ? t26 : { ...t26, value: i5 }; + }); +} +function qf(e7, r5, t26) { + return ye8(e7, (n5) => { + if (!n5.children) return n5; + let i5 = [], u, a5; + for (let o5 of n5.children) u && r5(u, o5) ? (o5 = t26(u, o5), i5.splice(-1, 1, o5), a5 || (a5 = true)) : i5.push(o5), u = o5; + return a5 ? { ...n5, children: i5 } : n5; + }); +} +function Nf(e7) { + return qf(e7, (r5, t26) => r5.type === "text" && t26.type === "text", (r5, t26) => ({ type: "text", value: r5.value + t26.value, position: { start: r5.position.start, end: t26.position.end } })); +} +function Pf2(e7) { + return ye8(e7, (r5, t26, [n5]) => { + if (r5.type !== "text") return r5; + let { value: i5 } = r5; + return n5.type === "paragraph" && (t26 === 0 && (i5 = Ot9.trimStart(i5)), t26 === n5.children.length - 1 && (i5 = Ot9.trimEnd(i5))), { type: "sentence", position: r5.position, children: Mr7(i5) }; + }); +} +function If2(e7, r5) { + return ye8(e7, (t26, n5, i5) => { + if (t26.type === "code") { + let u = /^\n?(?: {4,}|\t)/u.test(r5.originalText.slice(t26.position.start.offset, t26.position.end.offset)); + if (t26.isIndented = u, u) for (let a5 = 0; a5 < i5.length; a5++) { + let o5 = i5[a5]; + if (o5.hasIndentedCodeblock) break; + o5.type === "list" && (o5.hasIndentedCodeblock = true); + } + } + return t26; + }); +} +function Sf(e7, r5) { + return ye8(e7, (i5, u, a5) => { + if (i5.type === "list" && i5.children.length > 0) { + for (let o5 = 0; o5 < a5.length; o5++) { + let s5 = a5[o5]; + if (s5.type === "list" && !s5.isAligned) return i5.isAligned = false, i5; + } + i5.isAligned = n5(i5); + } + return i5; + }); + function t26(i5) { + return i5.children.length === 0 ? -1 : i5.children[0].position.start.column - 1; + } + function n5(i5) { + if (!i5.ordered) return true; + let [u, a5] = i5.children; + if (ze9(u, r5).leadingSpaces.length > 1) return true; + let s5 = t26(u); + if (s5 === -1) return false; + if (i5.children.length === 1) return s5 % r5.tabWidth === 0; + let l5 = t26(a5); + return s5 !== l5 ? false : s5 % r5.tabWidth === 0 ? true : ze9(a5, r5).leadingSpaces.length > 1; + } +} +function Yi7(e7, r5) { + let t26 = [""]; + return e7.each(() => { + let { node: n5 } = e7, i5 = r5(); + switch (n5.type) { + case "whitespace": + if (W8(i5) !== V8) { + t26.push(i5, ""); + break; + } + default: + t26.push([t26.pop(), i5]); + } + }, "children"), Ye7(t26); +} +function Rf2({ parent: e7 }) { + if (e7.usesCJSpaces === void 0) { + let r5 = { " ": 0, "": 0 }, { children: t26 } = e7; + for (let n5 = 1; n5 < t26.length - 1; ++n5) { + let i5 = t26[n5]; + if (i5.type === "whitespace" && (i5.value === " " || i5.value === "")) { + let u = t26[n5 - 1].kind, a5 = t26[n5 + 1].kind; + (u === ae6 && a5 === We10 || u === We10 && a5 === ae6) && ++r5[i5.value]; + } + } + e7.usesCJSpaces = r5[" "] > r5[""]; + } + return e7.usesCJSpaces; +} +function Mf2(e7, r5) { + if (r5) return true; + let { previous: t26, next: n5 } = e7; + if (!t26 || !n5) return true; + let i5 = t26.kind, u = n5.kind; + return zi7(i5) && zi7(u) || i5 === Pe7 && u === ae6 || u === Pe7 && i5 === ae6 ? true : i5 === cr7 || u === cr7 || i5 === ae6 && u === ae6 ? false : Gi7.has(n5.value[0]) || Gi7.has(U7(0, t26.value, -1)) ? true : t26.hasTrailingPunctuation || n5.hasLeadingPunctuation ? false : Rf2(e7); +} +function zi7(e7) { + return e7 === We10 || e7 === Pe7; +} +function Uf(e7, r5, t26, n5) { + if (t26 !== "always" || e7.hasAncestor((a5) => Lf.has(a5.type))) return false; + if (n5) return r5 !== ""; + let { previous: i5, next: u } = e7; + return !i5 || !u ? true : r5 === "" ? false : i5.kind === Pe7 && u.kind === ae6 || u.kind === Pe7 && i5.kind === ae6 ? true : !(i5.isCJ || u.isCJ); +} +function qt8(e7, r5, t26, n5) { + if (t26 === "preserve" && r5 === ` +`) return M7; + let i5 = r5 === " " || r5 === ` +` && Mf2(e7, n5); + return Uf(e7, r5, t26, n5) ? i5 ? qr5 : Nr6 : i5 ? " " : ""; +} +function Wi7(e7) { + let { previous: r5, next: t26 } = e7; + return r5?.type === "sentence" && U7(0, r5.children, -1)?.type === "word" && !U7(0, r5.children, -1).hasTrailingPunctuation || t26?.type === "sentence" && t26.children[0]?.type === "word" && !t26.children[0].hasLeadingPunctuation; +} +function Yf(e7, r5, t26) { + let { node: n5 } = e7; + if (zf(e7)) { + let i5 = [""], u = Mr7(r5.originalText.slice(n5.position.start.offset, n5.position.end.offset)); + for (let a5 of u) { + if (a5.type === "word") { + i5.push([i5.pop(), a5.value]); + continue; + } + let o5 = qt8(e7, a5.value, r5.proseWrap, true); + if (W8(o5) === V8) { + i5.push([i5.pop(), o5]); + continue; + } + i5.push(o5, ""); + } + return Ye7(i5); + } + switch (n5.type) { + case "root": + return n5.children.length === 0 ? "" : [Gf(e7, r5, t26), M7]; + case "paragraph": + return Ri7(e7, r5, t26); + case "sentence": + return Yi7(e7, t26); + case "word": + return Li7(e7); + case "whitespace": { + let { next: i5 } = e7, u = i5 && /^>|^(?:[*+-]|#{1,6}|\d+[).])$/u.test(i5.value) ? "never" : r5.proseWrap; + return qt8(e7, n5.value, u); + } + case "emphasis": { + let i5; + if (Yr7(n5.children[0])) i5 = r5.originalText[n5.position.start.offset]; + else { + let u = Wi7(e7), a5 = e7.callParent(({ node: o5 }) => o5.type === "strong" && Wi7(e7)); + i5 = u || a5 || e7.hasAncestor((o5) => o5.type === "emphasis") ? "*" : "_"; + } + return [i5, z6(e7, r5, t26), i5]; + } + case "strong": + return ["**", z6(e7, r5, t26), "**"]; + case "delete": + return ["~~", z6(e7, r5, t26), "~~"]; + case "inlineCode": { + let i5 = r5.proseWrap === "preserve" ? n5.value : R8(0, n5.value, ` +`, " "), u = oi8(i5, "`"), a5 = "`".repeat(u), o5 = i5.startsWith("`") || i5.endsWith("`") || /^[\n ]/u.test(i5) && /[\n ]$/u.test(i5) && /[^\n ]/u.test(i5) ? " " : ""; + return [a5, o5, i5, o5, a5]; + } + case "wikiLink": { + let i5 = ""; + return r5.proseWrap === "preserve" ? i5 = n5.value : i5 = R8(0, n5.value, /[\t\n]+/gu, " "), ["[[", i5, "]]"]; + } + case "link": + switch (r5.originalText[n5.position.start.offset]) { + case "<": { + let i5 = "mailto:"; + return ["<", n5.url.startsWith(i5) && r5.originalText.slice(n5.position.start.offset + 1, n5.position.start.offset + 1 + i5.length) !== i5 ? n5.url.slice(i5.length) : n5.url, ">"]; + } + case "[": + return ["[", z6(e7, r5, t26), "](", Nt9(n5.url, ")"), zr6(n5.title, r5), ")"]; + default: + return r5.originalText.slice(n5.position.start.offset, n5.position.end.offset); + } + case "image": + return ["![", n5.alt || "", "](", Nt9(n5.url, ")"), zr6(n5.title, r5), ")"]; + case "blockquote": + return ["> ", Fe8("> ", z6(e7, r5, t26))]; + case "heading": + return ["#".repeat(n5.depth) + " ", z6(e7, r5, t26)]; + case "code": { + if (n5.isIndented) { + let a5 = " ".repeat(4); + return Fe8(a5, [a5, xe7(n5.value, M7)]); + } + let i5 = r5.__inJsTemplate ? "~" : "`", u = i5.repeat(Math.max(3, Ir5(n5.value, i5) + 1)); + return [u, n5.lang || "", n5.meta ? " " + n5.meta : "", M7, xe7(Ur7(n5, r5.originalText), M7), M7, u]; + } + case "html": { + let { parent: i5, isLast: u } = e7, a5 = i5.type === "root" && u ? n5.value.trimEnd() : n5.value, o5 = /^$/su.test(a5); + return xe7(a5, o5 ? M7 : ur8(nr7)); + } + case "list": + return Ii7(e7, r5, t26); + case "thematicBreak": { + let { ancestors: i5 } = e7, u = i5.findIndex((o5) => o5.type === "list"); + return u === -1 ? "---" : Gr6(i5[u], i5[u + 1]) % 2 === 0 ? "***" : "---"; + } + case "linkReference": + return ["[", z6(e7, r5, t26), "]", n5.referenceType === "full" ? Pt9(n5) : n5.referenceType === "collapsed" ? "[]" : ""]; + case "imageReference": + switch (n5.referenceType) { + case "full": + return ["![", n5.alt || "", "]", Pt9(n5)]; + default: + return ["![", n5.alt, "]", n5.referenceType === "collapsed" ? "[]" : ""]; + } + case "definition": { + let i5 = r5.proseWrap === "always" ? qr5 : " "; + return Ge8([Pt9(n5), ":", ir8([i5, Nt9(n5.url), n5.title === null ? "" : [i5, zr6(n5.title, r5, false)]])]); + } + case "footnote": + return ["[^", z6(e7, r5, t26), "]"]; + case "footnoteReference": + return ji6(n5); + case "footnoteDefinition": { + let i5 = n5.children.length === 1 && n5.children[0].type === "paragraph" && (r5.proseWrap === "never" || r5.proseWrap === "preserve" && n5.children[0].position.start.line === n5.children[0].position.end.line); + return [ji6(n5), ": ", i5 ? z6(e7, r5, t26) : Ge8([Fe8(" ".repeat(4), z6(e7, r5, t26, { processor: ({ isFirst: u }) => u ? Ge8([Nr6, t26()]) : t26() }))])]; + } + case "table": + return Si8(e7, r5, t26); + case "tableCell": + return z6(e7, r5, t26); + case "break": + return /\s/u.test(r5.originalText[n5.position.start.offset]) ? [" ", ur8(nr7)] : ["\\", M7]; + case "liquidNode": + return xe7(n5.value, M7); + case "import": + case "export": + case "jsx": + return n5.value.trimEnd(); + case "esComment": + return ["{/* ", n5.value, " */}"]; + case "math": + return ["$$", M7, n5.value ? [xe7(n5.value, M7), M7] : "", "$$"]; + case "inlineMath": + return r5.originalText.slice(qe8(n5), Ne7(n5)); + case "frontMatter": + case "tableRow": + case "listItem": + case "text": + default: + throw new fi8(n5, "Markdown"); + } +} +function Gf(e7, r5, t26) { + let n5 = [], i5 = null, { children: u } = e7.node; + for (let [a5, o5] of u.entries()) switch (lr7(o5)) { + case "start": + i5 === null && (i5 = { index: a5, offset: o5.position.end.offset }); + break; + case "end": + i5 !== null && (n5.push({ start: i5, end: { index: a5, offset: o5.position.start.offset } }), i5 = null); + break; + default: + break; + } + return z6(e7, r5, t26, { processor({ index: a5 }) { + if (n5.length > 0) { + let o5 = n5[0]; + if (a5 === o5.start.index) return [Vi7(u[o5.start.index]), r5.originalText.slice(o5.start.offset, o5.end.offset), Vi7(u[o5.end.index])]; + if (o5.start.index < a5 && a5 < o5.end.index) return false; + if (a5 === o5.end.index) return n5.shift(), false; + } + return t26(); + } }); +} +function Vi7(e7) { + if (e7.type === "html") return e7.value; + if (e7.type === "paragraph" && Array.isArray(e7.children) && e7.children.length === 1 && e7.children[0].type === "esComment") return ["{/* ", e7.children[0].value, " */}"]; +} +function zf(e7) { + let r5 = e7.findAncestor((t26) => t26.type === "linkReference" || t26.type === "imageReference"); + return r5 && (r5.type !== "linkReference" || r5.referenceType !== "full"); +} +function Nt9(e7, r5 = []) { + let t26 = [" ", ...Array.isArray(r5) ? r5 : [r5]]; + return new RegExp(t26.map((n5) => fe7(n5)).join("|"), "u").test(e7) ? `<${Wf(e7, "<>")}>` : e7; +} +function zr6(e7, r5, t26 = true) { + if (!e7) return ""; + if (t26) return " " + zr6(e7, r5, false); + if (e7 = R8(0, e7, /\\(?=["')])/gu, ""), e7.includes('"') && e7.includes("'") && !e7.includes(")")) return `(${e7})`; + let n5 = li8(e7, r5.singleQuote); + return e7 = R8(0, e7, "\\", "\\\\"), e7 = R8(0, e7, n5, `\\${n5}`), `${n5}${e7}${n5}`; +} +function Vf(e7) { + return e7.index > 0 && lr7(e7.previous) === "next"; +} +function Pt9(e7) { + return `[${(0, $i7.default)(e7.label)}]`; +} +function ji6(e7) { + return `[^${e7.label}]`; +} +function aF() { + return (e7) => ye8(e7, (r5, t26, [n5]) => r5.type !== "html" || tl3.test(r5.value) || Rr6.has(n5.type) ? r5 : { ...r5, type: "jsx" }); +} +function ml3({ isMDX: e7 }) { + return (r5) => { + let t26 = (0, dl3.default)().use(hl3.default, { commonmark: true, ...e7 && { blocks: [rl3] } }).use(Dl2.default).use(ol4).use(pl3.default).use(e7 ? al3 : fl3).use(cl3).use(e7 ? sl4 : fl3).use(ll3); + return t26.run(t26.parse(r5)); + }; +} +function fl3() { +} +var El3, Ft8, Cl3, vl3, Al3, bl3, x5, Vn4, xl3, Re8, Tr6, Qi7, Mt9, uu2, lu2, Du2, Ie8, hu2, Fu2, Eu2, vu2, bu2, xu2, yu2, Se8, Tu2, $e8, Ou2, qu2, Iu2, mr6, Ju2, ea4, na3, ua4, Kt7, sa4, fa3, pa3, Fa4, Ea3, va3, xa3, wa3, Zr6, Qt7, Oa3, Pa3, Le8, rt9, Ua4, za3, ja4, nn7, Ja4, no5, oo5, cn6, po5, se8, ln6, bo3, wo4, Bo3, Oo3, Io3, hn6, Yo3, zo3, jo3, Jo3, rs6, us7, ss7, yn6, ms7, Es6, vs8, ys7, ks7, Bs8, Ps8, Ss6, Ys8, zs8, js8, Hs8, Js8, Zs8, nc2, oc2, cc2, Pn5, Ec2, vc2, bc2, Tc2, qc2, Ic2, Sc2, Rc2, Yc2, zc2, Vc2, el3, gl3, Me9, wl3, U7, kl3, Tl3, R8, $i7, _l3, tr8, V8, j6, be8, ee6, re7, De8, X8, J9, Q8, pe7, he9, de8, $8, me9, te9, Br7, W8, ql2, gt8, Be8, $n5, Hn5, ne9, Or6, Jn5, Qn5, Ue7, qr5, Nr6, ar8, M7, Sl3, nr7, Ll3, Rl2, Ml2, Ul2, Yl2, Gl2, ri8, ti8, zl2, Wl2, or8, jl2, $l2, vt9, H9, ue8, bt9, Ir5, oi8, si8, ci8, Jl2, Ql2, li8, xt8, fi8, bi8, ef, rf, Di7, nf, hi8, di8, sf, wt9, Sr6, kt9, sr8, _e8, gi8, Ei8, Ci7, Lr7, vi8, Ai8, pf, yi7, wi8, Oe8, qe8, Ne7, Tt9, Rr6, We10, ae6, Pe7, cr7, hf, Ti8, fr8, Ff, Bi7, q8, _i7, Ef, Oi7, vf2, _t7, Mi6, wf, kf2, Ot9, Tf, Bf, Ui7, Lf, Gi7, Wf, jf, Hi7, Ki6, It8, $f2, Xi6, Wn5, Dl2, pl3, hl3, dl3, rF, tF, rl3, tl3, nF, iF, nl4, il4, zn6, ul3, al3, uF, ol4, sl4, oF, cl3, sF, ll3, Fl2, cF, lF, fF; +var init_markdown = __esm({ + "node_modules/prettier/plugins/markdown.mjs"() { + El3 = Object.create; + Ft8 = Object.defineProperty; + Cl3 = Object.getOwnPropertyDescriptor; + vl3 = Object.getOwnPropertyNames; + Al3 = Object.getPrototypeOf; + bl3 = Object.prototype.hasOwnProperty; + x5 = (e7, r5) => () => (r5 || e7((r5 = { exports: {} }).exports, r5), r5.exports); + Vn4 = (e7, r5) => { + for (var t26 in r5) Ft8(e7, t26, { get: r5[t26], enumerable: true }); + }; + xl3 = (e7, r5, t26, n5) => { + if (r5 && typeof r5 == "object" || typeof r5 == "function") for (let i5 of vl3(r5)) !bl3.call(e7, i5) && i5 !== t26 && Ft8(e7, i5, { get: () => r5[i5], enumerable: !(n5 = Cl3(r5, i5)) || n5.enumerable }); + return e7; + }; + Re8 = (e7, r5, t26) => (t26 = e7 != null ? El3(Al3(e7)) : {}, xl3(r5 || !e7 || !e7.__esModule ? Ft8(t26, "default", { value: e7, enumerable: true }) : t26, e7)); + Tr6 = x5((gF, jn8) => { + "use strict"; + jn8.exports = Bl4; + function Bl4(e7) { + return String(e7).replace(/\s+/g, " "); + } + }); + Qi7 = x5((KC, Ji7) => { + "use strict"; + Ji7.exports = Qf2; + var pr8 = 9, Wr6 = 10, Ve9 = 32, Hf = 33, Kf2 = 58, je11 = 91, Xf = 92, St12 = 93, hr8 = 94, Vr8 = 96, jr6 = 4, Jf2 = 1024; + function Qf2(e7) { + var r5 = this.Parser, t26 = this.Compiler; + Zf2(r5) && rD3(r5, e7), eD3(t26) && tD3(t26); + } + function Zf2(e7) { + return !!(e7 && e7.prototype && e7.prototype.blockTokenizers); + } + function eD3(e7) { + return !!(e7 && e7.prototype && e7.prototype.visitors); + } + function rD3(e7, r5) { + for (var t26 = r5 || {}, n5 = e7.prototype, i5 = n5.blockTokenizers, u = n5.inlineTokenizers, a5 = n5.blockMethods, o5 = n5.inlineMethods, s5 = i5.definition, l5 = u.reference, c7 = [], f7 = -1, D7 = a5.length, m7; ++f7 < D7; ) m7 = a5[f7], !(m7 === "newline" || m7 === "indentedCode" || m7 === "paragraph" || m7 === "footnoteDefinition") && c7.push([m7]); + c7.push(["footnoteDefinition"]), t26.inlineNotes && (Lt10(o5, "reference", "inlineNote"), u.inlineNote = F10), Lt10(a5, "definition", "footnoteDefinition"), Lt10(o5, "reference", "footnoteCall"), i5.definition = E7, i5.footnoteDefinition = p4, u.footnoteCall = h5, u.reference = g5, n5.interruptFootnoteDefinition = c7, g5.locator = l5.locator, h5.locator = v9, F10.locator = A9; + function p4(b7, d5, y10) { + for (var w8 = this, C8 = w8.interruptFootnoteDefinition, k8 = w8.offset, T7 = d5.length + 1, B7 = 0, _9 = [], S7, P8, N8, O7, I8, le9, K11, L9, ie11, Z9, ve11, Ae11, G11; B7 < T7 && (O7 = d5.charCodeAt(B7), !(O7 !== pr8 && O7 !== Ve9)); ) B7++; + if (d5.charCodeAt(B7++) === je11 && d5.charCodeAt(B7++) === hr8) { + for (P8 = B7; B7 < T7; ) { + if (O7 = d5.charCodeAt(B7), O7 !== O7 || O7 === Wr6 || O7 === pr8 || O7 === Ve9) return; + if (O7 === St12) { + N8 = B7, B7++; + break; + } + B7++; + } + if (!(N8 === void 0 || P8 === N8 || d5.charCodeAt(B7++) !== Kf2)) { + if (y10) return true; + for (S7 = d5.slice(P8, N8), I8 = b7.now(), ie11 = 0, Z9 = 0, ve11 = B7, Ae11 = []; B7 < T7; ) { + if (O7 = d5.charCodeAt(B7), O7 !== O7 || O7 === Wr6) G11 = { start: ie11, contentStart: ve11 || B7, contentEnd: B7, end: B7 }, Ae11.push(G11), O7 === Wr6 && (ie11 = B7 + 1, Z9 = 0, ve11 = void 0, G11.end = ie11); + else if (Z9 !== void 0) if (O7 === Ve9 || O7 === pr8) Z9 += O7 === Ve9 ? 1 : jr6 - Z9 % jr6, Z9 > jr6 && (Z9 = void 0, ve11 = B7); + else { + if (Z9 < jr6 && G11 && (G11.contentStart === G11.contentEnd || nD2(C8, i5, w8, [b7, d5.slice(B7, Jf2), true]))) break; + Z9 = void 0, ve11 = B7; + } + B7++; + } + for (B7 = -1, T7 = Ae11.length; T7 > 0 && (G11 = Ae11[T7 - 1], G11.contentStart === G11.contentEnd); ) T7--; + for (le9 = b7(d5.slice(0, G11.contentEnd)); ++B7 < T7; ) G11 = Ae11[B7], k8[I8.line + B7] = (k8[I8.line + B7] || 0) + (G11.contentStart - G11.start), _9.push(d5.slice(G11.contentStart, G11.end)); + return K11 = w8.enterBlock(), L9 = w8.tokenizeBlock(_9.join(""), I8), K11(), le9({ type: "footnoteDefinition", identifier: S7.toLowerCase(), label: S7, children: L9 }); + } + } + } + function h5(b7, d5, y10) { + var w8 = d5.length + 1, C8 = 0, k8, T7, B7, _9; + if (d5.charCodeAt(C8++) === je11 && d5.charCodeAt(C8++) === hr8) { + for (T7 = C8; C8 < w8; ) { + if (_9 = d5.charCodeAt(C8), _9 !== _9 || _9 === Wr6 || _9 === pr8 || _9 === Ve9) return; + if (_9 === St12) { + B7 = C8, C8++; + break; + } + C8++; + } + if (!(B7 === void 0 || T7 === B7)) return y10 ? true : (k8 = d5.slice(T7, B7), b7(d5.slice(0, C8))({ type: "footnoteReference", identifier: k8.toLowerCase(), label: k8 })); + } + } + function F10(b7, d5, y10) { + var w8 = this, C8 = d5.length + 1, k8 = 0, T7 = 0, B7, _9, S7, P8, N8, O7, I8; + if (d5.charCodeAt(k8++) === hr8 && d5.charCodeAt(k8++) === je11) { + for (S7 = k8; k8 < C8; ) { + if (_9 = d5.charCodeAt(k8), _9 !== _9) return; + if (O7 === void 0) if (_9 === Xf) k8 += 2; + else if (_9 === je11) T7++, k8++; + else if (_9 === St12) if (T7 === 0) { + P8 = k8, k8++; + break; + } else T7--, k8++; + else if (_9 === Vr8) { + for (N8 = k8, O7 = 1; d5.charCodeAt(N8 + O7) === Vr8; ) O7++; + k8 += O7; + } else k8++; + else if (_9 === Vr8) { + for (N8 = k8, I8 = 1; d5.charCodeAt(N8 + I8) === Vr8; ) I8++; + k8 += I8, O7 === I8 && (O7 = void 0), I8 = void 0; + } else k8++; + } + if (P8 !== void 0) return y10 ? true : (B7 = b7.now(), B7.column += 2, B7.offset += 2, b7(d5.slice(0, k8))({ type: "footnote", children: w8.tokenizeInline(d5.slice(S7, P8), B7) })); + } + } + function g5(b7, d5, y10) { + var w8 = 0; + if (d5.charCodeAt(w8) === Hf && w8++, d5.charCodeAt(w8) === je11 && d5.charCodeAt(w8 + 1) !== hr8) return l5.call(this, b7, d5, y10); + } + function E7(b7, d5, y10) { + for (var w8 = 0, C8 = d5.charCodeAt(w8); C8 === Ve9 || C8 === pr8; ) C8 = d5.charCodeAt(++w8); + if (C8 === je11 && d5.charCodeAt(w8 + 1) !== hr8) return s5.call(this, b7, d5, y10); + } + function v9(b7, d5) { + return b7.indexOf("[", d5); + } + function A9(b7, d5) { + return b7.indexOf("^[", d5); + } + } + function tD3(e7) { + var r5 = e7.prototype.visitors, t26 = " "; + r5.footnote = n5, r5.footnoteReference = i5, r5.footnoteDefinition = u; + function n5(a5) { + return "^[" + this.all(a5).join("") + "]"; + } + function i5(a5) { + return "[^" + (a5.label || a5.identifier) + "]"; + } + function u(a5) { + for (var o5 = this.all(a5).join(` + +`).split(` +`), s5 = 0, l5 = o5.length, c7; ++s5 < l5; ) c7 = o5[s5], c7 !== "" && (o5[s5] = t26 + c7); + return "[^" + (a5.label || a5.identifier) + "]: " + o5.join(` +`); + } + } + function Lt10(e7, r5, t26) { + e7.splice(e7.indexOf(r5), 0, t26); + } + function nD2(e7, r5, t26, n5) { + for (var i5 = e7.length, u = -1; ++u < i5; ) if (r5[e7[u][0]].apply(t26, n5)) return true; + return false; + } + }); + Mt9 = x5((Rt11) => { + Rt11.isRemarkParser = iD2; + Rt11.isRemarkCompiler = uD2; + function iD2(e7) { + return !!(e7 && e7.prototype && e7.prototype.blockTokenizers); + } + function uD2(e7) { + return !!(e7 && e7.prototype && e7.prototype.visitors); + } + }); + uu2 = x5((JC, iu3) => { + var Zi8 = Mt9(); + iu3.exports = cD2; + var eu4 = 9, ru4 = 32, $r8 = 36, aD2 = 48, oD2 = 57, tu3 = 92, sD2 = ["math", "math-inline"], nu3 = "math-display"; + function cD2(e7) { + let r5 = this.Parser, t26 = this.Compiler; + Zi8.isRemarkParser(r5) && lD2(r5, e7), Zi8.isRemarkCompiler(t26) && fD2(t26, e7); + } + function lD2(e7, r5) { + let t26 = e7.prototype, n5 = t26.inlineMethods; + u.locator = i5, t26.inlineTokenizers.math = u, n5.splice(n5.indexOf("text"), 0, "math"); + function i5(a5, o5) { + return a5.indexOf("$", o5); + } + function u(a5, o5, s5) { + let l5 = o5.length, c7 = false, f7 = false, D7 = 0, m7, p4, h5, F10, g5, E7, v9; + if (o5.charCodeAt(D7) === tu3 && (f7 = true, D7++), o5.charCodeAt(D7) === $r8) { + if (D7++, f7) return s5 ? true : a5(o5.slice(0, D7))({ type: "text", value: "$" }); + if (o5.charCodeAt(D7) === $r8 && (c7 = true, D7++), h5 = o5.charCodeAt(D7), !(h5 === ru4 || h5 === eu4)) { + for (F10 = D7; D7 < l5; ) { + if (p4 = h5, h5 = o5.charCodeAt(D7 + 1), p4 === $r8) { + if (m7 = o5.charCodeAt(D7 - 1), m7 !== ru4 && m7 !== eu4 && (h5 !== h5 || h5 < aD2 || h5 > oD2) && (!c7 || h5 === $r8)) { + g5 = D7 - 1, D7++, c7 && D7++, E7 = D7; + break; + } + } else p4 === tu3 && (D7++, h5 = o5.charCodeAt(D7 + 1)); + D7++; + } + if (E7 !== void 0) return s5 ? true : (v9 = o5.slice(F10, g5 + 1), a5(o5.slice(0, E7))({ type: "inlineMath", value: v9, data: { hName: "span", hProperties: { className: sD2.concat(c7 && r5.inlineMathDouble ? [nu3] : []) }, hChildren: [{ type: "text", value: v9 }] } })); + } + } + } + } + function fD2(e7) { + let r5 = e7.prototype; + r5.visitors.inlineMath = t26; + function t26(n5) { + let i5 = "$"; + return (n5.data && n5.data.hProperties && n5.data.hProperties.className || []).includes(nu3) && (i5 = "$$"), i5 + n5.value + i5; + } + } + }); + lu2 = x5((QC, cu3) => { + var au3 = Mt9(); + cu3.exports = dD2; + var ou3 = 10, dr9 = 32, Ut11 = 36, su3 = ` +`, DD2 = "$", pD2 = 2, hD = ["math", "math-display"]; + function dD2() { + let e7 = this.Parser, r5 = this.Compiler; + au3.isRemarkParser(e7) && mD2(e7), au3.isRemarkCompiler(r5) && FD2(r5); + } + function mD2(e7) { + let r5 = e7.prototype, t26 = r5.blockMethods, n5 = r5.interruptParagraph, i5 = r5.interruptList, u = r5.interruptBlockquote; + r5.blockTokenizers.math = a5, t26.splice(t26.indexOf("fencedCode") + 1, 0, "math"), n5.splice(n5.indexOf("fencedCode") + 1, 0, ["math"]), i5.splice(i5.indexOf("fencedCode") + 1, 0, ["math"]), u.splice(u.indexOf("fencedCode") + 1, 0, ["math"]); + function a5(o5, s5, l5) { + var c7 = s5.length, f7 = 0; + let D7, m7, p4, h5, F10, g5, E7, v9, A9, b7, d5; + for (; f7 < c7 && s5.charCodeAt(f7) === dr9; ) f7++; + for (F10 = f7; f7 < c7 && s5.charCodeAt(f7) === Ut11; ) f7++; + if (g5 = f7 - F10, !(g5 < pD2)) { + for (; f7 < c7 && s5.charCodeAt(f7) === dr9; ) f7++; + for (E7 = f7; f7 < c7; ) { + if (D7 = s5.charCodeAt(f7), D7 === Ut11) return; + if (D7 === ou3) break; + f7++; + } + if (s5.charCodeAt(f7) === ou3) { + if (l5) return true; + for (m7 = [], E7 !== f7 && m7.push(s5.slice(E7, f7)), f7++, p4 = s5.indexOf(su3, f7 + 1), p4 = p4 === -1 ? c7 : p4; f7 < c7; ) { + for (v9 = false, b7 = f7, d5 = p4, h5 = p4, A9 = 0; h5 > b7 && s5.charCodeAt(h5 - 1) === dr9; ) h5--; + for (; h5 > b7 && s5.charCodeAt(h5 - 1) === Ut11; ) A9++, h5--; + for (g5 <= A9 && s5.indexOf(DD2, b7) === h5 && (v9 = true, d5 = h5); b7 <= d5 && b7 - f7 < F10 && s5.charCodeAt(b7) === dr9; ) b7++; + if (v9) for (; d5 > b7 && s5.charCodeAt(d5 - 1) === dr9; ) d5--; + if ((!v9 || b7 !== d5) && m7.push(s5.slice(b7, d5)), v9) break; + f7 = p4 + 1, p4 = s5.indexOf(su3, f7 + 1), p4 = p4 === -1 ? c7 : p4; + } + return m7 = m7.join(` +`), o5(s5.slice(0, p4))({ type: "math", value: m7, data: { hName: "div", hProperties: { className: hD.concat() }, hChildren: [{ type: "text", value: m7 }] } }); + } + } + } + } + function FD2(e7) { + let r5 = e7.prototype; + r5.visitors.math = t26; + function t26(n5) { + return `$$ +` + n5.value + ` +$$`; + } + } + }); + Du2 = x5((ZC, fu4) => { + var gD = uu2(), ED2 = lu2(); + fu4.exports = CD2; + function CD2(e7) { + var r5 = e7 || {}; + ED2.call(this, r5), gD.call(this, r5); + } + }); + Ie8 = x5((ev2, pu2) => { + pu2.exports = AD; + var vD = Object.prototype.hasOwnProperty; + function AD() { + for (var e7 = {}, r5 = 0; r5 < arguments.length; r5++) { + var t26 = arguments[r5]; + for (var n5 in t26) vD.call(t26, n5) && (e7[n5] = t26[n5]); + } + return e7; + } + }); + hu2 = x5((rv, Yt8) => { + typeof Object.create == "function" ? Yt8.exports = function(r5, t26) { + t26 && (r5.super_ = t26, r5.prototype = Object.create(t26.prototype, { constructor: { value: r5, enumerable: false, writable: true, configurable: true } })); + } : Yt8.exports = function(r5, t26) { + if (t26) { + r5.super_ = t26; + var n5 = function() { + }; + n5.prototype = t26.prototype, r5.prototype = new n5(), r5.prototype.constructor = r5; + } + }; + }); + Fu2 = x5((tv2, mu3) => { + "use strict"; + var bD = Ie8(), du4 = hu2(); + mu3.exports = xD2; + function xD2(e7) { + var r5, t26, n5; + du4(u, e7), du4(i5, u), r5 = u.prototype; + for (t26 in r5) n5 = r5[t26], n5 && typeof n5 == "object" && (r5[t26] = "concat" in n5 ? n5.concat() : bD(n5)); + return u; + function i5(a5) { + return e7.apply(this, a5); + } + function u() { + return this instanceof u ? e7.apply(this, arguments) : new i5(arguments); + } + } + }); + Eu2 = x5((nv2, gu4) => { + "use strict"; + gu4.exports = yD2; + function yD2(e7, r5, t26) { + return n5; + function n5() { + var i5 = t26 || this, u = i5[e7]; + return i5[e7] = !r5, a5; + function a5() { + i5[e7] = u; + } + } + } + }); + vu2 = x5((iv, Cu3) => { + "use strict"; + Cu3.exports = wD; + function wD(e7) { + for (var r5 = String(e7), t26 = [], n5 = /\r?\n|\r/g; n5.exec(r5); ) t26.push(n5.lastIndex); + return t26.push(r5.length + 1), { toPoint: i5, toPosition: i5, toOffset: u }; + function i5(a5) { + var o5 = -1; + if (a5 > -1 && a5 < t26[t26.length - 1]) { + for (; ++o5 < t26.length; ) if (t26[o5] > a5) return { line: o5 + 1, column: a5 - (t26[o5 - 1] || 0) + 1, offset: a5 }; + } + return {}; + } + function u(a5) { + var o5 = a5 && a5.line, s5 = a5 && a5.column, l5; + return !isNaN(o5) && !isNaN(s5) && o5 - 1 in t26 && (l5 = (t26[o5 - 2] || 0) + s5 - 1 || 0), l5 > -1 && l5 < t26[t26.length - 1] ? l5 : -1; + } + } + }); + bu2 = x5((uv2, Au3) => { + "use strict"; + Au3.exports = kD; + var Gt9 = "\\"; + function kD(e7, r5) { + return t26; + function t26(n5) { + for (var i5 = 0, u = n5.indexOf(Gt9), a5 = e7[r5], o5 = [], s5; u !== -1; ) o5.push(n5.slice(i5, u)), i5 = u + 1, s5 = n5.charAt(i5), (!s5 || a5.indexOf(s5) === -1) && o5.push(Gt9), u = n5.indexOf(Gt9, i5 + 1); + return o5.push(n5.slice(i5)), o5.join(""); + } + } + }); + xu2 = x5((av2, TD) => { + TD.exports = { AElig: "\xC6", AMP: "&", Aacute: "\xC1", Acirc: "\xC2", Agrave: "\xC0", Aring: "\xC5", Atilde: "\xC3", Auml: "\xC4", COPY: "\xA9", Ccedil: "\xC7", ETH: "\xD0", Eacute: "\xC9", Ecirc: "\xCA", Egrave: "\xC8", Euml: "\xCB", GT: ">", Iacute: "\xCD", Icirc: "\xCE", Igrave: "\xCC", Iuml: "\xCF", LT: "<", Ntilde: "\xD1", Oacute: "\xD3", Ocirc: "\xD4", Ograve: "\xD2", Oslash: "\xD8", Otilde: "\xD5", Ouml: "\xD6", QUOT: '"', REG: "\xAE", THORN: "\xDE", Uacute: "\xDA", Ucirc: "\xDB", Ugrave: "\xD9", Uuml: "\xDC", Yacute: "\xDD", aacute: "\xE1", acirc: "\xE2", acute: "\xB4", aelig: "\xE6", agrave: "\xE0", amp: "&", aring: "\xE5", atilde: "\xE3", auml: "\xE4", brvbar: "\xA6", ccedil: "\xE7", cedil: "\xB8", cent: "\xA2", copy: "\xA9", curren: "\xA4", deg: "\xB0", divide: "\xF7", eacute: "\xE9", ecirc: "\xEA", egrave: "\xE8", eth: "\xF0", euml: "\xEB", frac12: "\xBD", frac14: "\xBC", frac34: "\xBE", gt: ">", iacute: "\xED", icirc: "\xEE", iexcl: "\xA1", igrave: "\xEC", iquest: "\xBF", iuml: "\xEF", laquo: "\xAB", lt: "<", macr: "\xAF", micro: "\xB5", middot: "\xB7", nbsp: "\xA0", not: "\xAC", ntilde: "\xF1", oacute: "\xF3", ocirc: "\xF4", ograve: "\xF2", ordf: "\xAA", ordm: "\xBA", oslash: "\xF8", otilde: "\xF5", ouml: "\xF6", para: "\xB6", plusmn: "\xB1", pound: "\xA3", quot: '"', raquo: "\xBB", reg: "\xAE", sect: "\xA7", shy: "\xAD", sup1: "\xB9", sup2: "\xB2", sup3: "\xB3", szlig: "\xDF", thorn: "\xFE", times: "\xD7", uacute: "\xFA", ucirc: "\xFB", ugrave: "\xF9", uml: "\xA8", uuml: "\xFC", yacute: "\xFD", yen: "\xA5", yuml: "\xFF" }; + }); + yu2 = x5((ov2, BD) => { + BD.exports = { "0": "\uFFFD", "128": "\u20AC", "130": "\u201A", "131": "\u0192", "132": "\u201E", "133": "\u2026", "134": "\u2020", "135": "\u2021", "136": "\u02C6", "137": "\u2030", "138": "\u0160", "139": "\u2039", "140": "\u0152", "142": "\u017D", "145": "\u2018", "146": "\u2019", "147": "\u201C", "148": "\u201D", "149": "\u2022", "150": "\u2013", "151": "\u2014", "152": "\u02DC", "153": "\u2122", "154": "\u0161", "155": "\u203A", "156": "\u0153", "158": "\u017E", "159": "\u0178" }; + }); + Se8 = x5((sv2, wu3) => { + "use strict"; + wu3.exports = _D; + function _D(e7) { + var r5 = typeof e7 == "string" ? e7.charCodeAt(0) : e7; + return r5 >= 48 && r5 <= 57; + } + }); + Tu2 = x5((cv2, ku3) => { + "use strict"; + ku3.exports = OD; + function OD(e7) { + var r5 = typeof e7 == "string" ? e7.charCodeAt(0) : e7; + return r5 >= 97 && r5 <= 102 || r5 >= 65 && r5 <= 70 || r5 >= 48 && r5 <= 57; + } + }); + $e8 = x5((lv2, Bu3) => { + "use strict"; + Bu3.exports = qD; + function qD(e7) { + var r5 = typeof e7 == "string" ? e7.charCodeAt(0) : e7; + return r5 >= 97 && r5 <= 122 || r5 >= 65 && r5 <= 90; + } + }); + Ou2 = x5((fv2, _u4) => { + "use strict"; + var ND = $e8(), PD = Se8(); + _u4.exports = ID; + function ID(e7) { + return ND(e7) || PD(e7); + } + }); + qu2 = x5((Dv, SD) => { + SD.exports = { AEli: "\xC6", AElig: "\xC6", AM: "&", AMP: "&", Aacut: "\xC1", Aacute: "\xC1", Abreve: "\u0102", Acir: "\xC2", Acirc: "\xC2", Acy: "\u0410", Afr: "\u{1D504}", Agrav: "\xC0", Agrave: "\xC0", Alpha: "\u0391", Amacr: "\u0100", And: "\u2A53", Aogon: "\u0104", Aopf: "\u{1D538}", ApplyFunction: "\u2061", Arin: "\xC5", Aring: "\xC5", Ascr: "\u{1D49C}", Assign: "\u2254", Atild: "\xC3", Atilde: "\xC3", Aum: "\xC4", Auml: "\xC4", Backslash: "\u2216", Barv: "\u2AE7", Barwed: "\u2306", Bcy: "\u0411", Because: "\u2235", Bernoullis: "\u212C", Beta: "\u0392", Bfr: "\u{1D505}", Bopf: "\u{1D539}", Breve: "\u02D8", Bscr: "\u212C", Bumpeq: "\u224E", CHcy: "\u0427", COP: "\xA9", COPY: "\xA9", Cacute: "\u0106", Cap: "\u22D2", CapitalDifferentialD: "\u2145", Cayleys: "\u212D", Ccaron: "\u010C", Ccedi: "\xC7", Ccedil: "\xC7", Ccirc: "\u0108", Cconint: "\u2230", Cdot: "\u010A", Cedilla: "\xB8", CenterDot: "\xB7", Cfr: "\u212D", Chi: "\u03A7", CircleDot: "\u2299", CircleMinus: "\u2296", CirclePlus: "\u2295", CircleTimes: "\u2297", ClockwiseContourIntegral: "\u2232", CloseCurlyDoubleQuote: "\u201D", CloseCurlyQuote: "\u2019", Colon: "\u2237", Colone: "\u2A74", Congruent: "\u2261", Conint: "\u222F", ContourIntegral: "\u222E", Copf: "\u2102", Coproduct: "\u2210", CounterClockwiseContourIntegral: "\u2233", Cross: "\u2A2F", Cscr: "\u{1D49E}", Cup: "\u22D3", CupCap: "\u224D", DD: "\u2145", DDotrahd: "\u2911", DJcy: "\u0402", DScy: "\u0405", DZcy: "\u040F", Dagger: "\u2021", Darr: "\u21A1", Dashv: "\u2AE4", Dcaron: "\u010E", Dcy: "\u0414", Del: "\u2207", Delta: "\u0394", Dfr: "\u{1D507}", DiacriticalAcute: "\xB4", DiacriticalDot: "\u02D9", DiacriticalDoubleAcute: "\u02DD", DiacriticalGrave: "`", DiacriticalTilde: "\u02DC", Diamond: "\u22C4", DifferentialD: "\u2146", Dopf: "\u{1D53B}", Dot: "\xA8", DotDot: "\u20DC", DotEqual: "\u2250", DoubleContourIntegral: "\u222F", DoubleDot: "\xA8", DoubleDownArrow: "\u21D3", DoubleLeftArrow: "\u21D0", DoubleLeftRightArrow: "\u21D4", DoubleLeftTee: "\u2AE4", DoubleLongLeftArrow: "\u27F8", DoubleLongLeftRightArrow: "\u27FA", DoubleLongRightArrow: "\u27F9", DoubleRightArrow: "\u21D2", DoubleRightTee: "\u22A8", DoubleUpArrow: "\u21D1", DoubleUpDownArrow: "\u21D5", DoubleVerticalBar: "\u2225", DownArrow: "\u2193", DownArrowBar: "\u2913", DownArrowUpArrow: "\u21F5", DownBreve: "\u0311", DownLeftRightVector: "\u2950", DownLeftTeeVector: "\u295E", DownLeftVector: "\u21BD", DownLeftVectorBar: "\u2956", DownRightTeeVector: "\u295F", DownRightVector: "\u21C1", DownRightVectorBar: "\u2957", DownTee: "\u22A4", DownTeeArrow: "\u21A7", Downarrow: "\u21D3", Dscr: "\u{1D49F}", Dstrok: "\u0110", ENG: "\u014A", ET: "\xD0", ETH: "\xD0", Eacut: "\xC9", Eacute: "\xC9", Ecaron: "\u011A", Ecir: "\xCA", Ecirc: "\xCA", Ecy: "\u042D", Edot: "\u0116", Efr: "\u{1D508}", Egrav: "\xC8", Egrave: "\xC8", Element: "\u2208", Emacr: "\u0112", EmptySmallSquare: "\u25FB", EmptyVerySmallSquare: "\u25AB", Eogon: "\u0118", Eopf: "\u{1D53C}", Epsilon: "\u0395", Equal: "\u2A75", EqualTilde: "\u2242", Equilibrium: "\u21CC", Escr: "\u2130", Esim: "\u2A73", Eta: "\u0397", Eum: "\xCB", Euml: "\xCB", Exists: "\u2203", ExponentialE: "\u2147", Fcy: "\u0424", Ffr: "\u{1D509}", FilledSmallSquare: "\u25FC", FilledVerySmallSquare: "\u25AA", Fopf: "\u{1D53D}", ForAll: "\u2200", Fouriertrf: "\u2131", Fscr: "\u2131", GJcy: "\u0403", G: ">", GT: ">", Gamma: "\u0393", Gammad: "\u03DC", Gbreve: "\u011E", Gcedil: "\u0122", Gcirc: "\u011C", Gcy: "\u0413", Gdot: "\u0120", Gfr: "\u{1D50A}", Gg: "\u22D9", Gopf: "\u{1D53E}", GreaterEqual: "\u2265", GreaterEqualLess: "\u22DB", GreaterFullEqual: "\u2267", GreaterGreater: "\u2AA2", GreaterLess: "\u2277", GreaterSlantEqual: "\u2A7E", GreaterTilde: "\u2273", Gscr: "\u{1D4A2}", Gt: "\u226B", HARDcy: "\u042A", Hacek: "\u02C7", Hat: "^", Hcirc: "\u0124", Hfr: "\u210C", HilbertSpace: "\u210B", Hopf: "\u210D", HorizontalLine: "\u2500", Hscr: "\u210B", Hstrok: "\u0126", HumpDownHump: "\u224E", HumpEqual: "\u224F", IEcy: "\u0415", IJlig: "\u0132", IOcy: "\u0401", Iacut: "\xCD", Iacute: "\xCD", Icir: "\xCE", Icirc: "\xCE", Icy: "\u0418", Idot: "\u0130", Ifr: "\u2111", Igrav: "\xCC", Igrave: "\xCC", Im: "\u2111", Imacr: "\u012A", ImaginaryI: "\u2148", Implies: "\u21D2", Int: "\u222C", Integral: "\u222B", Intersection: "\u22C2", InvisibleComma: "\u2063", InvisibleTimes: "\u2062", Iogon: "\u012E", Iopf: "\u{1D540}", Iota: "\u0399", Iscr: "\u2110", Itilde: "\u0128", Iukcy: "\u0406", Ium: "\xCF", Iuml: "\xCF", Jcirc: "\u0134", Jcy: "\u0419", Jfr: "\u{1D50D}", Jopf: "\u{1D541}", Jscr: "\u{1D4A5}", Jsercy: "\u0408", Jukcy: "\u0404", KHcy: "\u0425", KJcy: "\u040C", Kappa: "\u039A", Kcedil: "\u0136", Kcy: "\u041A", Kfr: "\u{1D50E}", Kopf: "\u{1D542}", Kscr: "\u{1D4A6}", LJcy: "\u0409", L: "<", LT: "<", Lacute: "\u0139", Lambda: "\u039B", Lang: "\u27EA", Laplacetrf: "\u2112", Larr: "\u219E", Lcaron: "\u013D", Lcedil: "\u013B", Lcy: "\u041B", LeftAngleBracket: "\u27E8", LeftArrow: "\u2190", LeftArrowBar: "\u21E4", LeftArrowRightArrow: "\u21C6", LeftCeiling: "\u2308", LeftDoubleBracket: "\u27E6", LeftDownTeeVector: "\u2961", LeftDownVector: "\u21C3", LeftDownVectorBar: "\u2959", LeftFloor: "\u230A", LeftRightArrow: "\u2194", LeftRightVector: "\u294E", LeftTee: "\u22A3", LeftTeeArrow: "\u21A4", LeftTeeVector: "\u295A", LeftTriangle: "\u22B2", LeftTriangleBar: "\u29CF", LeftTriangleEqual: "\u22B4", LeftUpDownVector: "\u2951", LeftUpTeeVector: "\u2960", LeftUpVector: "\u21BF", LeftUpVectorBar: "\u2958", LeftVector: "\u21BC", LeftVectorBar: "\u2952", Leftarrow: "\u21D0", Leftrightarrow: "\u21D4", LessEqualGreater: "\u22DA", LessFullEqual: "\u2266", LessGreater: "\u2276", LessLess: "\u2AA1", LessSlantEqual: "\u2A7D", LessTilde: "\u2272", Lfr: "\u{1D50F}", Ll: "\u22D8", Lleftarrow: "\u21DA", Lmidot: "\u013F", LongLeftArrow: "\u27F5", LongLeftRightArrow: "\u27F7", LongRightArrow: "\u27F6", Longleftarrow: "\u27F8", Longleftrightarrow: "\u27FA", Longrightarrow: "\u27F9", Lopf: "\u{1D543}", LowerLeftArrow: "\u2199", LowerRightArrow: "\u2198", Lscr: "\u2112", Lsh: "\u21B0", Lstrok: "\u0141", Lt: "\u226A", Map: "\u2905", Mcy: "\u041C", MediumSpace: "\u205F", Mellintrf: "\u2133", Mfr: "\u{1D510}", MinusPlus: "\u2213", Mopf: "\u{1D544}", Mscr: "\u2133", Mu: "\u039C", NJcy: "\u040A", Nacute: "\u0143", Ncaron: "\u0147", Ncedil: "\u0145", Ncy: "\u041D", NegativeMediumSpace: "\u200B", NegativeThickSpace: "\u200B", NegativeThinSpace: "\u200B", NegativeVeryThinSpace: "\u200B", NestedGreaterGreater: "\u226B", NestedLessLess: "\u226A", NewLine: ` +`, Nfr: "\u{1D511}", NoBreak: "\u2060", NonBreakingSpace: "\xA0", Nopf: "\u2115", Not: "\u2AEC", NotCongruent: "\u2262", NotCupCap: "\u226D", NotDoubleVerticalBar: "\u2226", NotElement: "\u2209", NotEqual: "\u2260", NotEqualTilde: "\u2242\u0338", NotExists: "\u2204", NotGreater: "\u226F", NotGreaterEqual: "\u2271", NotGreaterFullEqual: "\u2267\u0338", NotGreaterGreater: "\u226B\u0338", NotGreaterLess: "\u2279", NotGreaterSlantEqual: "\u2A7E\u0338", NotGreaterTilde: "\u2275", NotHumpDownHump: "\u224E\u0338", NotHumpEqual: "\u224F\u0338", NotLeftTriangle: "\u22EA", NotLeftTriangleBar: "\u29CF\u0338", NotLeftTriangleEqual: "\u22EC", NotLess: "\u226E", NotLessEqual: "\u2270", NotLessGreater: "\u2278", NotLessLess: "\u226A\u0338", NotLessSlantEqual: "\u2A7D\u0338", NotLessTilde: "\u2274", NotNestedGreaterGreater: "\u2AA2\u0338", NotNestedLessLess: "\u2AA1\u0338", NotPrecedes: "\u2280", NotPrecedesEqual: "\u2AAF\u0338", NotPrecedesSlantEqual: "\u22E0", NotReverseElement: "\u220C", NotRightTriangle: "\u22EB", NotRightTriangleBar: "\u29D0\u0338", NotRightTriangleEqual: "\u22ED", NotSquareSubset: "\u228F\u0338", NotSquareSubsetEqual: "\u22E2", NotSquareSuperset: "\u2290\u0338", NotSquareSupersetEqual: "\u22E3", NotSubset: "\u2282\u20D2", NotSubsetEqual: "\u2288", NotSucceeds: "\u2281", NotSucceedsEqual: "\u2AB0\u0338", NotSucceedsSlantEqual: "\u22E1", NotSucceedsTilde: "\u227F\u0338", NotSuperset: "\u2283\u20D2", NotSupersetEqual: "\u2289", NotTilde: "\u2241", NotTildeEqual: "\u2244", NotTildeFullEqual: "\u2247", NotTildeTilde: "\u2249", NotVerticalBar: "\u2224", Nscr: "\u{1D4A9}", Ntild: "\xD1", Ntilde: "\xD1", Nu: "\u039D", OElig: "\u0152", Oacut: "\xD3", Oacute: "\xD3", Ocir: "\xD4", Ocirc: "\xD4", Ocy: "\u041E", Odblac: "\u0150", Ofr: "\u{1D512}", Ograv: "\xD2", Ograve: "\xD2", Omacr: "\u014C", Omega: "\u03A9", Omicron: "\u039F", Oopf: "\u{1D546}", OpenCurlyDoubleQuote: "\u201C", OpenCurlyQuote: "\u2018", Or: "\u2A54", Oscr: "\u{1D4AA}", Oslas: "\xD8", Oslash: "\xD8", Otild: "\xD5", Otilde: "\xD5", Otimes: "\u2A37", Oum: "\xD6", Ouml: "\xD6", OverBar: "\u203E", OverBrace: "\u23DE", OverBracket: "\u23B4", OverParenthesis: "\u23DC", PartialD: "\u2202", Pcy: "\u041F", Pfr: "\u{1D513}", Phi: "\u03A6", Pi: "\u03A0", PlusMinus: "\xB1", Poincareplane: "\u210C", Popf: "\u2119", Pr: "\u2ABB", Precedes: "\u227A", PrecedesEqual: "\u2AAF", PrecedesSlantEqual: "\u227C", PrecedesTilde: "\u227E", Prime: "\u2033", Product: "\u220F", Proportion: "\u2237", Proportional: "\u221D", Pscr: "\u{1D4AB}", Psi: "\u03A8", QUO: '"', QUOT: '"', Qfr: "\u{1D514}", Qopf: "\u211A", Qscr: "\u{1D4AC}", RBarr: "\u2910", RE: "\xAE", REG: "\xAE", Racute: "\u0154", Rang: "\u27EB", Rarr: "\u21A0", Rarrtl: "\u2916", Rcaron: "\u0158", Rcedil: "\u0156", Rcy: "\u0420", Re: "\u211C", ReverseElement: "\u220B", ReverseEquilibrium: "\u21CB", ReverseUpEquilibrium: "\u296F", Rfr: "\u211C", Rho: "\u03A1", RightAngleBracket: "\u27E9", RightArrow: "\u2192", RightArrowBar: "\u21E5", RightArrowLeftArrow: "\u21C4", RightCeiling: "\u2309", RightDoubleBracket: "\u27E7", RightDownTeeVector: "\u295D", RightDownVector: "\u21C2", RightDownVectorBar: "\u2955", RightFloor: "\u230B", RightTee: "\u22A2", RightTeeArrow: "\u21A6", RightTeeVector: "\u295B", RightTriangle: "\u22B3", RightTriangleBar: "\u29D0", RightTriangleEqual: "\u22B5", RightUpDownVector: "\u294F", RightUpTeeVector: "\u295C", RightUpVector: "\u21BE", RightUpVectorBar: "\u2954", RightVector: "\u21C0", RightVectorBar: "\u2953", Rightarrow: "\u21D2", Ropf: "\u211D", RoundImplies: "\u2970", Rrightarrow: "\u21DB", Rscr: "\u211B", Rsh: "\u21B1", RuleDelayed: "\u29F4", SHCHcy: "\u0429", SHcy: "\u0428", SOFTcy: "\u042C", Sacute: "\u015A", Sc: "\u2ABC", Scaron: "\u0160", Scedil: "\u015E", Scirc: "\u015C", Scy: "\u0421", Sfr: "\u{1D516}", ShortDownArrow: "\u2193", ShortLeftArrow: "\u2190", ShortRightArrow: "\u2192", ShortUpArrow: "\u2191", Sigma: "\u03A3", SmallCircle: "\u2218", Sopf: "\u{1D54A}", Sqrt: "\u221A", Square: "\u25A1", SquareIntersection: "\u2293", SquareSubset: "\u228F", SquareSubsetEqual: "\u2291", SquareSuperset: "\u2290", SquareSupersetEqual: "\u2292", SquareUnion: "\u2294", Sscr: "\u{1D4AE}", Star: "\u22C6", Sub: "\u22D0", Subset: "\u22D0", SubsetEqual: "\u2286", Succeeds: "\u227B", SucceedsEqual: "\u2AB0", SucceedsSlantEqual: "\u227D", SucceedsTilde: "\u227F", SuchThat: "\u220B", Sum: "\u2211", Sup: "\u22D1", Superset: "\u2283", SupersetEqual: "\u2287", Supset: "\u22D1", THOR: "\xDE", THORN: "\xDE", TRADE: "\u2122", TSHcy: "\u040B", TScy: "\u0426", Tab: " ", Tau: "\u03A4", Tcaron: "\u0164", Tcedil: "\u0162", Tcy: "\u0422", Tfr: "\u{1D517}", Therefore: "\u2234", Theta: "\u0398", ThickSpace: "\u205F\u200A", ThinSpace: "\u2009", Tilde: "\u223C", TildeEqual: "\u2243", TildeFullEqual: "\u2245", TildeTilde: "\u2248", Topf: "\u{1D54B}", TripleDot: "\u20DB", Tscr: "\u{1D4AF}", Tstrok: "\u0166", Uacut: "\xDA", Uacute: "\xDA", Uarr: "\u219F", Uarrocir: "\u2949", Ubrcy: "\u040E", Ubreve: "\u016C", Ucir: "\xDB", Ucirc: "\xDB", Ucy: "\u0423", Udblac: "\u0170", Ufr: "\u{1D518}", Ugrav: "\xD9", Ugrave: "\xD9", Umacr: "\u016A", UnderBar: "_", UnderBrace: "\u23DF", UnderBracket: "\u23B5", UnderParenthesis: "\u23DD", Union: "\u22C3", UnionPlus: "\u228E", Uogon: "\u0172", Uopf: "\u{1D54C}", UpArrow: "\u2191", UpArrowBar: "\u2912", UpArrowDownArrow: "\u21C5", UpDownArrow: "\u2195", UpEquilibrium: "\u296E", UpTee: "\u22A5", UpTeeArrow: "\u21A5", Uparrow: "\u21D1", Updownarrow: "\u21D5", UpperLeftArrow: "\u2196", UpperRightArrow: "\u2197", Upsi: "\u03D2", Upsilon: "\u03A5", Uring: "\u016E", Uscr: "\u{1D4B0}", Utilde: "\u0168", Uum: "\xDC", Uuml: "\xDC", VDash: "\u22AB", Vbar: "\u2AEB", Vcy: "\u0412", Vdash: "\u22A9", Vdashl: "\u2AE6", Vee: "\u22C1", Verbar: "\u2016", Vert: "\u2016", VerticalBar: "\u2223", VerticalLine: "|", VerticalSeparator: "\u2758", VerticalTilde: "\u2240", VeryThinSpace: "\u200A", Vfr: "\u{1D519}", Vopf: "\u{1D54D}", Vscr: "\u{1D4B1}", Vvdash: "\u22AA", Wcirc: "\u0174", Wedge: "\u22C0", Wfr: "\u{1D51A}", Wopf: "\u{1D54E}", Wscr: "\u{1D4B2}", Xfr: "\u{1D51B}", Xi: "\u039E", Xopf: "\u{1D54F}", Xscr: "\u{1D4B3}", YAcy: "\u042F", YIcy: "\u0407", YUcy: "\u042E", Yacut: "\xDD", Yacute: "\xDD", Ycirc: "\u0176", Ycy: "\u042B", Yfr: "\u{1D51C}", Yopf: "\u{1D550}", Yscr: "\u{1D4B4}", Yuml: "\u0178", ZHcy: "\u0416", Zacute: "\u0179", Zcaron: "\u017D", Zcy: "\u0417", Zdot: "\u017B", ZeroWidthSpace: "\u200B", Zeta: "\u0396", Zfr: "\u2128", Zopf: "\u2124", Zscr: "\u{1D4B5}", aacut: "\xE1", aacute: "\xE1", abreve: "\u0103", ac: "\u223E", acE: "\u223E\u0333", acd: "\u223F", acir: "\xE2", acirc: "\xE2", acut: "\xB4", acute: "\xB4", acy: "\u0430", aeli: "\xE6", aelig: "\xE6", af: "\u2061", afr: "\u{1D51E}", agrav: "\xE0", agrave: "\xE0", alefsym: "\u2135", aleph: "\u2135", alpha: "\u03B1", amacr: "\u0101", amalg: "\u2A3F", am: "&", amp: "&", and: "\u2227", andand: "\u2A55", andd: "\u2A5C", andslope: "\u2A58", andv: "\u2A5A", ang: "\u2220", ange: "\u29A4", angle: "\u2220", angmsd: "\u2221", angmsdaa: "\u29A8", angmsdab: "\u29A9", angmsdac: "\u29AA", angmsdad: "\u29AB", angmsdae: "\u29AC", angmsdaf: "\u29AD", angmsdag: "\u29AE", angmsdah: "\u29AF", angrt: "\u221F", angrtvb: "\u22BE", angrtvbd: "\u299D", angsph: "\u2222", angst: "\xC5", angzarr: "\u237C", aogon: "\u0105", aopf: "\u{1D552}", ap: "\u2248", apE: "\u2A70", apacir: "\u2A6F", ape: "\u224A", apid: "\u224B", apos: "'", approx: "\u2248", approxeq: "\u224A", arin: "\xE5", aring: "\xE5", ascr: "\u{1D4B6}", ast: "*", asymp: "\u2248", asympeq: "\u224D", atild: "\xE3", atilde: "\xE3", aum: "\xE4", auml: "\xE4", awconint: "\u2233", awint: "\u2A11", bNot: "\u2AED", backcong: "\u224C", backepsilon: "\u03F6", backprime: "\u2035", backsim: "\u223D", backsimeq: "\u22CD", barvee: "\u22BD", barwed: "\u2305", barwedge: "\u2305", bbrk: "\u23B5", bbrktbrk: "\u23B6", bcong: "\u224C", bcy: "\u0431", bdquo: "\u201E", becaus: "\u2235", because: "\u2235", bemptyv: "\u29B0", bepsi: "\u03F6", bernou: "\u212C", beta: "\u03B2", beth: "\u2136", between: "\u226C", bfr: "\u{1D51F}", bigcap: "\u22C2", bigcirc: "\u25EF", bigcup: "\u22C3", bigodot: "\u2A00", bigoplus: "\u2A01", bigotimes: "\u2A02", bigsqcup: "\u2A06", bigstar: "\u2605", bigtriangledown: "\u25BD", bigtriangleup: "\u25B3", biguplus: "\u2A04", bigvee: "\u22C1", bigwedge: "\u22C0", bkarow: "\u290D", blacklozenge: "\u29EB", blacksquare: "\u25AA", blacktriangle: "\u25B4", blacktriangledown: "\u25BE", blacktriangleleft: "\u25C2", blacktriangleright: "\u25B8", blank: "\u2423", blk12: "\u2592", blk14: "\u2591", blk34: "\u2593", block: "\u2588", bne: "=\u20E5", bnequiv: "\u2261\u20E5", bnot: "\u2310", bopf: "\u{1D553}", bot: "\u22A5", bottom: "\u22A5", bowtie: "\u22C8", boxDL: "\u2557", boxDR: "\u2554", boxDl: "\u2556", boxDr: "\u2553", boxH: "\u2550", boxHD: "\u2566", boxHU: "\u2569", boxHd: "\u2564", boxHu: "\u2567", boxUL: "\u255D", boxUR: "\u255A", boxUl: "\u255C", boxUr: "\u2559", boxV: "\u2551", boxVH: "\u256C", boxVL: "\u2563", boxVR: "\u2560", boxVh: "\u256B", boxVl: "\u2562", boxVr: "\u255F", boxbox: "\u29C9", boxdL: "\u2555", boxdR: "\u2552", boxdl: "\u2510", boxdr: "\u250C", boxh: "\u2500", boxhD: "\u2565", boxhU: "\u2568", boxhd: "\u252C", boxhu: "\u2534", boxminus: "\u229F", boxplus: "\u229E", boxtimes: "\u22A0", boxuL: "\u255B", boxuR: "\u2558", boxul: "\u2518", boxur: "\u2514", boxv: "\u2502", boxvH: "\u256A", boxvL: "\u2561", boxvR: "\u255E", boxvh: "\u253C", boxvl: "\u2524", boxvr: "\u251C", bprime: "\u2035", breve: "\u02D8", brvba: "\xA6", brvbar: "\xA6", bscr: "\u{1D4B7}", bsemi: "\u204F", bsim: "\u223D", bsime: "\u22CD", bsol: "\\", bsolb: "\u29C5", bsolhsub: "\u27C8", bull: "\u2022", bullet: "\u2022", bump: "\u224E", bumpE: "\u2AAE", bumpe: "\u224F", bumpeq: "\u224F", cacute: "\u0107", cap: "\u2229", capand: "\u2A44", capbrcup: "\u2A49", capcap: "\u2A4B", capcup: "\u2A47", capdot: "\u2A40", caps: "\u2229\uFE00", caret: "\u2041", caron: "\u02C7", ccaps: "\u2A4D", ccaron: "\u010D", ccedi: "\xE7", ccedil: "\xE7", ccirc: "\u0109", ccups: "\u2A4C", ccupssm: "\u2A50", cdot: "\u010B", cedi: "\xB8", cedil: "\xB8", cemptyv: "\u29B2", cen: "\xA2", cent: "\xA2", centerdot: "\xB7", cfr: "\u{1D520}", chcy: "\u0447", check: "\u2713", checkmark: "\u2713", chi: "\u03C7", cir: "\u25CB", cirE: "\u29C3", circ: "\u02C6", circeq: "\u2257", circlearrowleft: "\u21BA", circlearrowright: "\u21BB", circledR: "\xAE", circledS: "\u24C8", circledast: "\u229B", circledcirc: "\u229A", circleddash: "\u229D", cire: "\u2257", cirfnint: "\u2A10", cirmid: "\u2AEF", cirscir: "\u29C2", clubs: "\u2663", clubsuit: "\u2663", colon: ":", colone: "\u2254", coloneq: "\u2254", comma: ",", commat: "@", comp: "\u2201", compfn: "\u2218", complement: "\u2201", complexes: "\u2102", cong: "\u2245", congdot: "\u2A6D", conint: "\u222E", copf: "\u{1D554}", coprod: "\u2210", cop: "\xA9", copy: "\xA9", copysr: "\u2117", crarr: "\u21B5", cross: "\u2717", cscr: "\u{1D4B8}", csub: "\u2ACF", csube: "\u2AD1", csup: "\u2AD0", csupe: "\u2AD2", ctdot: "\u22EF", cudarrl: "\u2938", cudarrr: "\u2935", cuepr: "\u22DE", cuesc: "\u22DF", cularr: "\u21B6", cularrp: "\u293D", cup: "\u222A", cupbrcap: "\u2A48", cupcap: "\u2A46", cupcup: "\u2A4A", cupdot: "\u228D", cupor: "\u2A45", cups: "\u222A\uFE00", curarr: "\u21B7", curarrm: "\u293C", curlyeqprec: "\u22DE", curlyeqsucc: "\u22DF", curlyvee: "\u22CE", curlywedge: "\u22CF", curre: "\xA4", curren: "\xA4", curvearrowleft: "\u21B6", curvearrowright: "\u21B7", cuvee: "\u22CE", cuwed: "\u22CF", cwconint: "\u2232", cwint: "\u2231", cylcty: "\u232D", dArr: "\u21D3", dHar: "\u2965", dagger: "\u2020", daleth: "\u2138", darr: "\u2193", dash: "\u2010", dashv: "\u22A3", dbkarow: "\u290F", dblac: "\u02DD", dcaron: "\u010F", dcy: "\u0434", dd: "\u2146", ddagger: "\u2021", ddarr: "\u21CA", ddotseq: "\u2A77", de: "\xB0", deg: "\xB0", delta: "\u03B4", demptyv: "\u29B1", dfisht: "\u297F", dfr: "\u{1D521}", dharl: "\u21C3", dharr: "\u21C2", diam: "\u22C4", diamond: "\u22C4", diamondsuit: "\u2666", diams: "\u2666", die: "\xA8", digamma: "\u03DD", disin: "\u22F2", div: "\xF7", divid: "\xF7", divide: "\xF7", divideontimes: "\u22C7", divonx: "\u22C7", djcy: "\u0452", dlcorn: "\u231E", dlcrop: "\u230D", dollar: "$", dopf: "\u{1D555}", dot: "\u02D9", doteq: "\u2250", doteqdot: "\u2251", dotminus: "\u2238", dotplus: "\u2214", dotsquare: "\u22A1", doublebarwedge: "\u2306", downarrow: "\u2193", downdownarrows: "\u21CA", downharpoonleft: "\u21C3", downharpoonright: "\u21C2", drbkarow: "\u2910", drcorn: "\u231F", drcrop: "\u230C", dscr: "\u{1D4B9}", dscy: "\u0455", dsol: "\u29F6", dstrok: "\u0111", dtdot: "\u22F1", dtri: "\u25BF", dtrif: "\u25BE", duarr: "\u21F5", duhar: "\u296F", dwangle: "\u29A6", dzcy: "\u045F", dzigrarr: "\u27FF", eDDot: "\u2A77", eDot: "\u2251", eacut: "\xE9", eacute: "\xE9", easter: "\u2A6E", ecaron: "\u011B", ecir: "\xEA", ecirc: "\xEA", ecolon: "\u2255", ecy: "\u044D", edot: "\u0117", ee: "\u2147", efDot: "\u2252", efr: "\u{1D522}", eg: "\u2A9A", egrav: "\xE8", egrave: "\xE8", egs: "\u2A96", egsdot: "\u2A98", el: "\u2A99", elinters: "\u23E7", ell: "\u2113", els: "\u2A95", elsdot: "\u2A97", emacr: "\u0113", empty: "\u2205", emptyset: "\u2205", emptyv: "\u2205", emsp13: "\u2004", emsp14: "\u2005", emsp: "\u2003", eng: "\u014B", ensp: "\u2002", eogon: "\u0119", eopf: "\u{1D556}", epar: "\u22D5", eparsl: "\u29E3", eplus: "\u2A71", epsi: "\u03B5", epsilon: "\u03B5", epsiv: "\u03F5", eqcirc: "\u2256", eqcolon: "\u2255", eqsim: "\u2242", eqslantgtr: "\u2A96", eqslantless: "\u2A95", equals: "=", equest: "\u225F", equiv: "\u2261", equivDD: "\u2A78", eqvparsl: "\u29E5", erDot: "\u2253", erarr: "\u2971", escr: "\u212F", esdot: "\u2250", esim: "\u2242", eta: "\u03B7", et: "\xF0", eth: "\xF0", eum: "\xEB", euml: "\xEB", euro: "\u20AC", excl: "!", exist: "\u2203", expectation: "\u2130", exponentiale: "\u2147", fallingdotseq: "\u2252", fcy: "\u0444", female: "\u2640", ffilig: "\uFB03", fflig: "\uFB00", ffllig: "\uFB04", ffr: "\u{1D523}", filig: "\uFB01", fjlig: "fj", flat: "\u266D", fllig: "\uFB02", fltns: "\u25B1", fnof: "\u0192", fopf: "\u{1D557}", forall: "\u2200", fork: "\u22D4", forkv: "\u2AD9", fpartint: "\u2A0D", frac1: "\xBC", frac12: "\xBD", frac13: "\u2153", frac14: "\xBC", frac15: "\u2155", frac16: "\u2159", frac18: "\u215B", frac23: "\u2154", frac25: "\u2156", frac3: "\xBE", frac34: "\xBE", frac35: "\u2157", frac38: "\u215C", frac45: "\u2158", frac56: "\u215A", frac58: "\u215D", frac78: "\u215E", frasl: "\u2044", frown: "\u2322", fscr: "\u{1D4BB}", gE: "\u2267", gEl: "\u2A8C", gacute: "\u01F5", gamma: "\u03B3", gammad: "\u03DD", gap: "\u2A86", gbreve: "\u011F", gcirc: "\u011D", gcy: "\u0433", gdot: "\u0121", ge: "\u2265", gel: "\u22DB", geq: "\u2265", geqq: "\u2267", geqslant: "\u2A7E", ges: "\u2A7E", gescc: "\u2AA9", gesdot: "\u2A80", gesdoto: "\u2A82", gesdotol: "\u2A84", gesl: "\u22DB\uFE00", gesles: "\u2A94", gfr: "\u{1D524}", gg: "\u226B", ggg: "\u22D9", gimel: "\u2137", gjcy: "\u0453", gl: "\u2277", glE: "\u2A92", gla: "\u2AA5", glj: "\u2AA4", gnE: "\u2269", gnap: "\u2A8A", gnapprox: "\u2A8A", gne: "\u2A88", gneq: "\u2A88", gneqq: "\u2269", gnsim: "\u22E7", gopf: "\u{1D558}", grave: "`", gscr: "\u210A", gsim: "\u2273", gsime: "\u2A8E", gsiml: "\u2A90", g: ">", gt: ">", gtcc: "\u2AA7", gtcir: "\u2A7A", gtdot: "\u22D7", gtlPar: "\u2995", gtquest: "\u2A7C", gtrapprox: "\u2A86", gtrarr: "\u2978", gtrdot: "\u22D7", gtreqless: "\u22DB", gtreqqless: "\u2A8C", gtrless: "\u2277", gtrsim: "\u2273", gvertneqq: "\u2269\uFE00", gvnE: "\u2269\uFE00", hArr: "\u21D4", hairsp: "\u200A", half: "\xBD", hamilt: "\u210B", hardcy: "\u044A", harr: "\u2194", harrcir: "\u2948", harrw: "\u21AD", hbar: "\u210F", hcirc: "\u0125", hearts: "\u2665", heartsuit: "\u2665", hellip: "\u2026", hercon: "\u22B9", hfr: "\u{1D525}", hksearow: "\u2925", hkswarow: "\u2926", hoarr: "\u21FF", homtht: "\u223B", hookleftarrow: "\u21A9", hookrightarrow: "\u21AA", hopf: "\u{1D559}", horbar: "\u2015", hscr: "\u{1D4BD}", hslash: "\u210F", hstrok: "\u0127", hybull: "\u2043", hyphen: "\u2010", iacut: "\xED", iacute: "\xED", ic: "\u2063", icir: "\xEE", icirc: "\xEE", icy: "\u0438", iecy: "\u0435", iexc: "\xA1", iexcl: "\xA1", iff: "\u21D4", ifr: "\u{1D526}", igrav: "\xEC", igrave: "\xEC", ii: "\u2148", iiiint: "\u2A0C", iiint: "\u222D", iinfin: "\u29DC", iiota: "\u2129", ijlig: "\u0133", imacr: "\u012B", image: "\u2111", imagline: "\u2110", imagpart: "\u2111", imath: "\u0131", imof: "\u22B7", imped: "\u01B5", in: "\u2208", incare: "\u2105", infin: "\u221E", infintie: "\u29DD", inodot: "\u0131", int: "\u222B", intcal: "\u22BA", integers: "\u2124", intercal: "\u22BA", intlarhk: "\u2A17", intprod: "\u2A3C", iocy: "\u0451", iogon: "\u012F", iopf: "\u{1D55A}", iota: "\u03B9", iprod: "\u2A3C", iques: "\xBF", iquest: "\xBF", iscr: "\u{1D4BE}", isin: "\u2208", isinE: "\u22F9", isindot: "\u22F5", isins: "\u22F4", isinsv: "\u22F3", isinv: "\u2208", it: "\u2062", itilde: "\u0129", iukcy: "\u0456", ium: "\xEF", iuml: "\xEF", jcirc: "\u0135", jcy: "\u0439", jfr: "\u{1D527}", jmath: "\u0237", jopf: "\u{1D55B}", jscr: "\u{1D4BF}", jsercy: "\u0458", jukcy: "\u0454", kappa: "\u03BA", kappav: "\u03F0", kcedil: "\u0137", kcy: "\u043A", kfr: "\u{1D528}", kgreen: "\u0138", khcy: "\u0445", kjcy: "\u045C", kopf: "\u{1D55C}", kscr: "\u{1D4C0}", lAarr: "\u21DA", lArr: "\u21D0", lAtail: "\u291B", lBarr: "\u290E", lE: "\u2266", lEg: "\u2A8B", lHar: "\u2962", lacute: "\u013A", laemptyv: "\u29B4", lagran: "\u2112", lambda: "\u03BB", lang: "\u27E8", langd: "\u2991", langle: "\u27E8", lap: "\u2A85", laqu: "\xAB", laquo: "\xAB", larr: "\u2190", larrb: "\u21E4", larrbfs: "\u291F", larrfs: "\u291D", larrhk: "\u21A9", larrlp: "\u21AB", larrpl: "\u2939", larrsim: "\u2973", larrtl: "\u21A2", lat: "\u2AAB", latail: "\u2919", late: "\u2AAD", lates: "\u2AAD\uFE00", lbarr: "\u290C", lbbrk: "\u2772", lbrace: "{", lbrack: "[", lbrke: "\u298B", lbrksld: "\u298F", lbrkslu: "\u298D", lcaron: "\u013E", lcedil: "\u013C", lceil: "\u2308", lcub: "{", lcy: "\u043B", ldca: "\u2936", ldquo: "\u201C", ldquor: "\u201E", ldrdhar: "\u2967", ldrushar: "\u294B", ldsh: "\u21B2", le: "\u2264", leftarrow: "\u2190", leftarrowtail: "\u21A2", leftharpoondown: "\u21BD", leftharpoonup: "\u21BC", leftleftarrows: "\u21C7", leftrightarrow: "\u2194", leftrightarrows: "\u21C6", leftrightharpoons: "\u21CB", leftrightsquigarrow: "\u21AD", leftthreetimes: "\u22CB", leg: "\u22DA", leq: "\u2264", leqq: "\u2266", leqslant: "\u2A7D", les: "\u2A7D", lescc: "\u2AA8", lesdot: "\u2A7F", lesdoto: "\u2A81", lesdotor: "\u2A83", lesg: "\u22DA\uFE00", lesges: "\u2A93", lessapprox: "\u2A85", lessdot: "\u22D6", lesseqgtr: "\u22DA", lesseqqgtr: "\u2A8B", lessgtr: "\u2276", lesssim: "\u2272", lfisht: "\u297C", lfloor: "\u230A", lfr: "\u{1D529}", lg: "\u2276", lgE: "\u2A91", lhard: "\u21BD", lharu: "\u21BC", lharul: "\u296A", lhblk: "\u2584", ljcy: "\u0459", ll: "\u226A", llarr: "\u21C7", llcorner: "\u231E", llhard: "\u296B", lltri: "\u25FA", lmidot: "\u0140", lmoust: "\u23B0", lmoustache: "\u23B0", lnE: "\u2268", lnap: "\u2A89", lnapprox: "\u2A89", lne: "\u2A87", lneq: "\u2A87", lneqq: "\u2268", lnsim: "\u22E6", loang: "\u27EC", loarr: "\u21FD", lobrk: "\u27E6", longleftarrow: "\u27F5", longleftrightarrow: "\u27F7", longmapsto: "\u27FC", longrightarrow: "\u27F6", looparrowleft: "\u21AB", looparrowright: "\u21AC", lopar: "\u2985", lopf: "\u{1D55D}", loplus: "\u2A2D", lotimes: "\u2A34", lowast: "\u2217", lowbar: "_", loz: "\u25CA", lozenge: "\u25CA", lozf: "\u29EB", lpar: "(", lparlt: "\u2993", lrarr: "\u21C6", lrcorner: "\u231F", lrhar: "\u21CB", lrhard: "\u296D", lrm: "\u200E", lrtri: "\u22BF", lsaquo: "\u2039", lscr: "\u{1D4C1}", lsh: "\u21B0", lsim: "\u2272", lsime: "\u2A8D", lsimg: "\u2A8F", lsqb: "[", lsquo: "\u2018", lsquor: "\u201A", lstrok: "\u0142", l: "<", lt: "<", ltcc: "\u2AA6", ltcir: "\u2A79", ltdot: "\u22D6", lthree: "\u22CB", ltimes: "\u22C9", ltlarr: "\u2976", ltquest: "\u2A7B", ltrPar: "\u2996", ltri: "\u25C3", ltrie: "\u22B4", ltrif: "\u25C2", lurdshar: "\u294A", luruhar: "\u2966", lvertneqq: "\u2268\uFE00", lvnE: "\u2268\uFE00", mDDot: "\u223A", mac: "\xAF", macr: "\xAF", male: "\u2642", malt: "\u2720", maltese: "\u2720", map: "\u21A6", mapsto: "\u21A6", mapstodown: "\u21A7", mapstoleft: "\u21A4", mapstoup: "\u21A5", marker: "\u25AE", mcomma: "\u2A29", mcy: "\u043C", mdash: "\u2014", measuredangle: "\u2221", mfr: "\u{1D52A}", mho: "\u2127", micr: "\xB5", micro: "\xB5", mid: "\u2223", midast: "*", midcir: "\u2AF0", middo: "\xB7", middot: "\xB7", minus: "\u2212", minusb: "\u229F", minusd: "\u2238", minusdu: "\u2A2A", mlcp: "\u2ADB", mldr: "\u2026", mnplus: "\u2213", models: "\u22A7", mopf: "\u{1D55E}", mp: "\u2213", mscr: "\u{1D4C2}", mstpos: "\u223E", mu: "\u03BC", multimap: "\u22B8", mumap: "\u22B8", nGg: "\u22D9\u0338", nGt: "\u226B\u20D2", nGtv: "\u226B\u0338", nLeftarrow: "\u21CD", nLeftrightarrow: "\u21CE", nLl: "\u22D8\u0338", nLt: "\u226A\u20D2", nLtv: "\u226A\u0338", nRightarrow: "\u21CF", nVDash: "\u22AF", nVdash: "\u22AE", nabla: "\u2207", nacute: "\u0144", nang: "\u2220\u20D2", nap: "\u2249", napE: "\u2A70\u0338", napid: "\u224B\u0338", napos: "\u0149", napprox: "\u2249", natur: "\u266E", natural: "\u266E", naturals: "\u2115", nbs: "\xA0", nbsp: "\xA0", nbump: "\u224E\u0338", nbumpe: "\u224F\u0338", ncap: "\u2A43", ncaron: "\u0148", ncedil: "\u0146", ncong: "\u2247", ncongdot: "\u2A6D\u0338", ncup: "\u2A42", ncy: "\u043D", ndash: "\u2013", ne: "\u2260", neArr: "\u21D7", nearhk: "\u2924", nearr: "\u2197", nearrow: "\u2197", nedot: "\u2250\u0338", nequiv: "\u2262", nesear: "\u2928", nesim: "\u2242\u0338", nexist: "\u2204", nexists: "\u2204", nfr: "\u{1D52B}", ngE: "\u2267\u0338", nge: "\u2271", ngeq: "\u2271", ngeqq: "\u2267\u0338", ngeqslant: "\u2A7E\u0338", nges: "\u2A7E\u0338", ngsim: "\u2275", ngt: "\u226F", ngtr: "\u226F", nhArr: "\u21CE", nharr: "\u21AE", nhpar: "\u2AF2", ni: "\u220B", nis: "\u22FC", nisd: "\u22FA", niv: "\u220B", njcy: "\u045A", nlArr: "\u21CD", nlE: "\u2266\u0338", nlarr: "\u219A", nldr: "\u2025", nle: "\u2270", nleftarrow: "\u219A", nleftrightarrow: "\u21AE", nleq: "\u2270", nleqq: "\u2266\u0338", nleqslant: "\u2A7D\u0338", nles: "\u2A7D\u0338", nless: "\u226E", nlsim: "\u2274", nlt: "\u226E", nltri: "\u22EA", nltrie: "\u22EC", nmid: "\u2224", nopf: "\u{1D55F}", no: "\xAC", not: "\xAC", notin: "\u2209", notinE: "\u22F9\u0338", notindot: "\u22F5\u0338", notinva: "\u2209", notinvb: "\u22F7", notinvc: "\u22F6", notni: "\u220C", notniva: "\u220C", notnivb: "\u22FE", notnivc: "\u22FD", npar: "\u2226", nparallel: "\u2226", nparsl: "\u2AFD\u20E5", npart: "\u2202\u0338", npolint: "\u2A14", npr: "\u2280", nprcue: "\u22E0", npre: "\u2AAF\u0338", nprec: "\u2280", npreceq: "\u2AAF\u0338", nrArr: "\u21CF", nrarr: "\u219B", nrarrc: "\u2933\u0338", nrarrw: "\u219D\u0338", nrightarrow: "\u219B", nrtri: "\u22EB", nrtrie: "\u22ED", nsc: "\u2281", nsccue: "\u22E1", nsce: "\u2AB0\u0338", nscr: "\u{1D4C3}", nshortmid: "\u2224", nshortparallel: "\u2226", nsim: "\u2241", nsime: "\u2244", nsimeq: "\u2244", nsmid: "\u2224", nspar: "\u2226", nsqsube: "\u22E2", nsqsupe: "\u22E3", nsub: "\u2284", nsubE: "\u2AC5\u0338", nsube: "\u2288", nsubset: "\u2282\u20D2", nsubseteq: "\u2288", nsubseteqq: "\u2AC5\u0338", nsucc: "\u2281", nsucceq: "\u2AB0\u0338", nsup: "\u2285", nsupE: "\u2AC6\u0338", nsupe: "\u2289", nsupset: "\u2283\u20D2", nsupseteq: "\u2289", nsupseteqq: "\u2AC6\u0338", ntgl: "\u2279", ntild: "\xF1", ntilde: "\xF1", ntlg: "\u2278", ntriangleleft: "\u22EA", ntrianglelefteq: "\u22EC", ntriangleright: "\u22EB", ntrianglerighteq: "\u22ED", nu: "\u03BD", num: "#", numero: "\u2116", numsp: "\u2007", nvDash: "\u22AD", nvHarr: "\u2904", nvap: "\u224D\u20D2", nvdash: "\u22AC", nvge: "\u2265\u20D2", nvgt: ">\u20D2", nvinfin: "\u29DE", nvlArr: "\u2902", nvle: "\u2264\u20D2", nvlt: "<\u20D2", nvltrie: "\u22B4\u20D2", nvrArr: "\u2903", nvrtrie: "\u22B5\u20D2", nvsim: "\u223C\u20D2", nwArr: "\u21D6", nwarhk: "\u2923", nwarr: "\u2196", nwarrow: "\u2196", nwnear: "\u2927", oS: "\u24C8", oacut: "\xF3", oacute: "\xF3", oast: "\u229B", ocir: "\xF4", ocirc: "\xF4", ocy: "\u043E", odash: "\u229D", odblac: "\u0151", odiv: "\u2A38", odot: "\u2299", odsold: "\u29BC", oelig: "\u0153", ofcir: "\u29BF", ofr: "\u{1D52C}", ogon: "\u02DB", ograv: "\xF2", ograve: "\xF2", ogt: "\u29C1", ohbar: "\u29B5", ohm: "\u03A9", oint: "\u222E", olarr: "\u21BA", olcir: "\u29BE", olcross: "\u29BB", oline: "\u203E", olt: "\u29C0", omacr: "\u014D", omega: "\u03C9", omicron: "\u03BF", omid: "\u29B6", ominus: "\u2296", oopf: "\u{1D560}", opar: "\u29B7", operp: "\u29B9", oplus: "\u2295", or: "\u2228", orarr: "\u21BB", ord: "\xBA", order: "\u2134", orderof: "\u2134", ordf: "\xAA", ordm: "\xBA", origof: "\u22B6", oror: "\u2A56", orslope: "\u2A57", orv: "\u2A5B", oscr: "\u2134", oslas: "\xF8", oslash: "\xF8", osol: "\u2298", otild: "\xF5", otilde: "\xF5", otimes: "\u2297", otimesas: "\u2A36", oum: "\xF6", ouml: "\xF6", ovbar: "\u233D", par: "\xB6", para: "\xB6", parallel: "\u2225", parsim: "\u2AF3", parsl: "\u2AFD", part: "\u2202", pcy: "\u043F", percnt: "%", period: ".", permil: "\u2030", perp: "\u22A5", pertenk: "\u2031", pfr: "\u{1D52D}", phi: "\u03C6", phiv: "\u03D5", phmmat: "\u2133", phone: "\u260E", pi: "\u03C0", pitchfork: "\u22D4", piv: "\u03D6", planck: "\u210F", planckh: "\u210E", plankv: "\u210F", plus: "+", plusacir: "\u2A23", plusb: "\u229E", pluscir: "\u2A22", plusdo: "\u2214", plusdu: "\u2A25", pluse: "\u2A72", plusm: "\xB1", plusmn: "\xB1", plussim: "\u2A26", plustwo: "\u2A27", pm: "\xB1", pointint: "\u2A15", popf: "\u{1D561}", poun: "\xA3", pound: "\xA3", pr: "\u227A", prE: "\u2AB3", prap: "\u2AB7", prcue: "\u227C", pre: "\u2AAF", prec: "\u227A", precapprox: "\u2AB7", preccurlyeq: "\u227C", preceq: "\u2AAF", precnapprox: "\u2AB9", precneqq: "\u2AB5", precnsim: "\u22E8", precsim: "\u227E", prime: "\u2032", primes: "\u2119", prnE: "\u2AB5", prnap: "\u2AB9", prnsim: "\u22E8", prod: "\u220F", profalar: "\u232E", profline: "\u2312", profsurf: "\u2313", prop: "\u221D", propto: "\u221D", prsim: "\u227E", prurel: "\u22B0", pscr: "\u{1D4C5}", psi: "\u03C8", puncsp: "\u2008", qfr: "\u{1D52E}", qint: "\u2A0C", qopf: "\u{1D562}", qprime: "\u2057", qscr: "\u{1D4C6}", quaternions: "\u210D", quatint: "\u2A16", quest: "?", questeq: "\u225F", quo: '"', quot: '"', rAarr: "\u21DB", rArr: "\u21D2", rAtail: "\u291C", rBarr: "\u290F", rHar: "\u2964", race: "\u223D\u0331", racute: "\u0155", radic: "\u221A", raemptyv: "\u29B3", rang: "\u27E9", rangd: "\u2992", range: "\u29A5", rangle: "\u27E9", raqu: "\xBB", raquo: "\xBB", rarr: "\u2192", rarrap: "\u2975", rarrb: "\u21E5", rarrbfs: "\u2920", rarrc: "\u2933", rarrfs: "\u291E", rarrhk: "\u21AA", rarrlp: "\u21AC", rarrpl: "\u2945", rarrsim: "\u2974", rarrtl: "\u21A3", rarrw: "\u219D", ratail: "\u291A", ratio: "\u2236", rationals: "\u211A", rbarr: "\u290D", rbbrk: "\u2773", rbrace: "}", rbrack: "]", rbrke: "\u298C", rbrksld: "\u298E", rbrkslu: "\u2990", rcaron: "\u0159", rcedil: "\u0157", rceil: "\u2309", rcub: "}", rcy: "\u0440", rdca: "\u2937", rdldhar: "\u2969", rdquo: "\u201D", rdquor: "\u201D", rdsh: "\u21B3", real: "\u211C", realine: "\u211B", realpart: "\u211C", reals: "\u211D", rect: "\u25AD", re: "\xAE", reg: "\xAE", rfisht: "\u297D", rfloor: "\u230B", rfr: "\u{1D52F}", rhard: "\u21C1", rharu: "\u21C0", rharul: "\u296C", rho: "\u03C1", rhov: "\u03F1", rightarrow: "\u2192", rightarrowtail: "\u21A3", rightharpoondown: "\u21C1", rightharpoonup: "\u21C0", rightleftarrows: "\u21C4", rightleftharpoons: "\u21CC", rightrightarrows: "\u21C9", rightsquigarrow: "\u219D", rightthreetimes: "\u22CC", ring: "\u02DA", risingdotseq: "\u2253", rlarr: "\u21C4", rlhar: "\u21CC", rlm: "\u200F", rmoust: "\u23B1", rmoustache: "\u23B1", rnmid: "\u2AEE", roang: "\u27ED", roarr: "\u21FE", robrk: "\u27E7", ropar: "\u2986", ropf: "\u{1D563}", roplus: "\u2A2E", rotimes: "\u2A35", rpar: ")", rpargt: "\u2994", rppolint: "\u2A12", rrarr: "\u21C9", rsaquo: "\u203A", rscr: "\u{1D4C7}", rsh: "\u21B1", rsqb: "]", rsquo: "\u2019", rsquor: "\u2019", rthree: "\u22CC", rtimes: "\u22CA", rtri: "\u25B9", rtrie: "\u22B5", rtrif: "\u25B8", rtriltri: "\u29CE", ruluhar: "\u2968", rx: "\u211E", sacute: "\u015B", sbquo: "\u201A", sc: "\u227B", scE: "\u2AB4", scap: "\u2AB8", scaron: "\u0161", sccue: "\u227D", sce: "\u2AB0", scedil: "\u015F", scirc: "\u015D", scnE: "\u2AB6", scnap: "\u2ABA", scnsim: "\u22E9", scpolint: "\u2A13", scsim: "\u227F", scy: "\u0441", sdot: "\u22C5", sdotb: "\u22A1", sdote: "\u2A66", seArr: "\u21D8", searhk: "\u2925", searr: "\u2198", searrow: "\u2198", sec: "\xA7", sect: "\xA7", semi: ";", seswar: "\u2929", setminus: "\u2216", setmn: "\u2216", sext: "\u2736", sfr: "\u{1D530}", sfrown: "\u2322", sharp: "\u266F", shchcy: "\u0449", shcy: "\u0448", shortmid: "\u2223", shortparallel: "\u2225", sh: "\xAD", shy: "\xAD", sigma: "\u03C3", sigmaf: "\u03C2", sigmav: "\u03C2", sim: "\u223C", simdot: "\u2A6A", sime: "\u2243", simeq: "\u2243", simg: "\u2A9E", simgE: "\u2AA0", siml: "\u2A9D", simlE: "\u2A9F", simne: "\u2246", simplus: "\u2A24", simrarr: "\u2972", slarr: "\u2190", smallsetminus: "\u2216", smashp: "\u2A33", smeparsl: "\u29E4", smid: "\u2223", smile: "\u2323", smt: "\u2AAA", smte: "\u2AAC", smtes: "\u2AAC\uFE00", softcy: "\u044C", sol: "/", solb: "\u29C4", solbar: "\u233F", sopf: "\u{1D564}", spades: "\u2660", spadesuit: "\u2660", spar: "\u2225", sqcap: "\u2293", sqcaps: "\u2293\uFE00", sqcup: "\u2294", sqcups: "\u2294\uFE00", sqsub: "\u228F", sqsube: "\u2291", sqsubset: "\u228F", sqsubseteq: "\u2291", sqsup: "\u2290", sqsupe: "\u2292", sqsupset: "\u2290", sqsupseteq: "\u2292", squ: "\u25A1", square: "\u25A1", squarf: "\u25AA", squf: "\u25AA", srarr: "\u2192", sscr: "\u{1D4C8}", ssetmn: "\u2216", ssmile: "\u2323", sstarf: "\u22C6", star: "\u2606", starf: "\u2605", straightepsilon: "\u03F5", straightphi: "\u03D5", strns: "\xAF", sub: "\u2282", subE: "\u2AC5", subdot: "\u2ABD", sube: "\u2286", subedot: "\u2AC3", submult: "\u2AC1", subnE: "\u2ACB", subne: "\u228A", subplus: "\u2ABF", subrarr: "\u2979", subset: "\u2282", subseteq: "\u2286", subseteqq: "\u2AC5", subsetneq: "\u228A", subsetneqq: "\u2ACB", subsim: "\u2AC7", subsub: "\u2AD5", subsup: "\u2AD3", succ: "\u227B", succapprox: "\u2AB8", succcurlyeq: "\u227D", succeq: "\u2AB0", succnapprox: "\u2ABA", succneqq: "\u2AB6", succnsim: "\u22E9", succsim: "\u227F", sum: "\u2211", sung: "\u266A", sup: "\u2283", sup1: "\xB9", sup2: "\xB2", sup3: "\xB3", supE: "\u2AC6", supdot: "\u2ABE", supdsub: "\u2AD8", supe: "\u2287", supedot: "\u2AC4", suphsol: "\u27C9", suphsub: "\u2AD7", suplarr: "\u297B", supmult: "\u2AC2", supnE: "\u2ACC", supne: "\u228B", supplus: "\u2AC0", supset: "\u2283", supseteq: "\u2287", supseteqq: "\u2AC6", supsetneq: "\u228B", supsetneqq: "\u2ACC", supsim: "\u2AC8", supsub: "\u2AD4", supsup: "\u2AD6", swArr: "\u21D9", swarhk: "\u2926", swarr: "\u2199", swarrow: "\u2199", swnwar: "\u292A", szli: "\xDF", szlig: "\xDF", target: "\u2316", tau: "\u03C4", tbrk: "\u23B4", tcaron: "\u0165", tcedil: "\u0163", tcy: "\u0442", tdot: "\u20DB", telrec: "\u2315", tfr: "\u{1D531}", there4: "\u2234", therefore: "\u2234", theta: "\u03B8", thetasym: "\u03D1", thetav: "\u03D1", thickapprox: "\u2248", thicksim: "\u223C", thinsp: "\u2009", thkap: "\u2248", thksim: "\u223C", thor: "\xFE", thorn: "\xFE", tilde: "\u02DC", time: "\xD7", times: "\xD7", timesb: "\u22A0", timesbar: "\u2A31", timesd: "\u2A30", tint: "\u222D", toea: "\u2928", top: "\u22A4", topbot: "\u2336", topcir: "\u2AF1", topf: "\u{1D565}", topfork: "\u2ADA", tosa: "\u2929", tprime: "\u2034", trade: "\u2122", triangle: "\u25B5", triangledown: "\u25BF", triangleleft: "\u25C3", trianglelefteq: "\u22B4", triangleq: "\u225C", triangleright: "\u25B9", trianglerighteq: "\u22B5", tridot: "\u25EC", trie: "\u225C", triminus: "\u2A3A", triplus: "\u2A39", trisb: "\u29CD", tritime: "\u2A3B", trpezium: "\u23E2", tscr: "\u{1D4C9}", tscy: "\u0446", tshcy: "\u045B", tstrok: "\u0167", twixt: "\u226C", twoheadleftarrow: "\u219E", twoheadrightarrow: "\u21A0", uArr: "\u21D1", uHar: "\u2963", uacut: "\xFA", uacute: "\xFA", uarr: "\u2191", ubrcy: "\u045E", ubreve: "\u016D", ucir: "\xFB", ucirc: "\xFB", ucy: "\u0443", udarr: "\u21C5", udblac: "\u0171", udhar: "\u296E", ufisht: "\u297E", ufr: "\u{1D532}", ugrav: "\xF9", ugrave: "\xF9", uharl: "\u21BF", uharr: "\u21BE", uhblk: "\u2580", ulcorn: "\u231C", ulcorner: "\u231C", ulcrop: "\u230F", ultri: "\u25F8", umacr: "\u016B", um: "\xA8", uml: "\xA8", uogon: "\u0173", uopf: "\u{1D566}", uparrow: "\u2191", updownarrow: "\u2195", upharpoonleft: "\u21BF", upharpoonright: "\u21BE", uplus: "\u228E", upsi: "\u03C5", upsih: "\u03D2", upsilon: "\u03C5", upuparrows: "\u21C8", urcorn: "\u231D", urcorner: "\u231D", urcrop: "\u230E", uring: "\u016F", urtri: "\u25F9", uscr: "\u{1D4CA}", utdot: "\u22F0", utilde: "\u0169", utri: "\u25B5", utrif: "\u25B4", uuarr: "\u21C8", uum: "\xFC", uuml: "\xFC", uwangle: "\u29A7", vArr: "\u21D5", vBar: "\u2AE8", vBarv: "\u2AE9", vDash: "\u22A8", vangrt: "\u299C", varepsilon: "\u03F5", varkappa: "\u03F0", varnothing: "\u2205", varphi: "\u03D5", varpi: "\u03D6", varpropto: "\u221D", varr: "\u2195", varrho: "\u03F1", varsigma: "\u03C2", varsubsetneq: "\u228A\uFE00", varsubsetneqq: "\u2ACB\uFE00", varsupsetneq: "\u228B\uFE00", varsupsetneqq: "\u2ACC\uFE00", vartheta: "\u03D1", vartriangleleft: "\u22B2", vartriangleright: "\u22B3", vcy: "\u0432", vdash: "\u22A2", vee: "\u2228", veebar: "\u22BB", veeeq: "\u225A", vellip: "\u22EE", verbar: "|", vert: "|", vfr: "\u{1D533}", vltri: "\u22B2", vnsub: "\u2282\u20D2", vnsup: "\u2283\u20D2", vopf: "\u{1D567}", vprop: "\u221D", vrtri: "\u22B3", vscr: "\u{1D4CB}", vsubnE: "\u2ACB\uFE00", vsubne: "\u228A\uFE00", vsupnE: "\u2ACC\uFE00", vsupne: "\u228B\uFE00", vzigzag: "\u299A", wcirc: "\u0175", wedbar: "\u2A5F", wedge: "\u2227", wedgeq: "\u2259", weierp: "\u2118", wfr: "\u{1D534}", wopf: "\u{1D568}", wp: "\u2118", wr: "\u2240", wreath: "\u2240", wscr: "\u{1D4CC}", xcap: "\u22C2", xcirc: "\u25EF", xcup: "\u22C3", xdtri: "\u25BD", xfr: "\u{1D535}", xhArr: "\u27FA", xharr: "\u27F7", xi: "\u03BE", xlArr: "\u27F8", xlarr: "\u27F5", xmap: "\u27FC", xnis: "\u22FB", xodot: "\u2A00", xopf: "\u{1D569}", xoplus: "\u2A01", xotime: "\u2A02", xrArr: "\u27F9", xrarr: "\u27F6", xscr: "\u{1D4CD}", xsqcup: "\u2A06", xuplus: "\u2A04", xutri: "\u25B3", xvee: "\u22C1", xwedge: "\u22C0", yacut: "\xFD", yacute: "\xFD", yacy: "\u044F", ycirc: "\u0177", ycy: "\u044B", ye: "\xA5", yen: "\xA5", yfr: "\u{1D536}", yicy: "\u0457", yopf: "\u{1D56A}", yscr: "\u{1D4CE}", yucy: "\u044E", yum: "\xFF", yuml: "\xFF", zacute: "\u017A", zcaron: "\u017E", zcy: "\u0437", zdot: "\u017C", zeetrf: "\u2128", zeta: "\u03B6", zfr: "\u{1D537}", zhcy: "\u0436", zigrarr: "\u21DD", zopf: "\u{1D56B}", zscr: "\u{1D4CF}", zwj: "\u200D", zwnj: "\u200C" }; + }); + Iu2 = x5((pv2, Pu3) => { + "use strict"; + var Nu4 = qu2(); + Pu3.exports = RD; + var LD = {}.hasOwnProperty; + function RD(e7) { + return LD.call(Nu4, e7) ? Nu4[e7] : false; + } + }); + mr6 = x5((hv2, Hu3) => { + "use strict"; + var Su3 = xu2(), Lu4 = yu2(), MD = Se8(), UD = Tu2(), Yu2 = Ou2(), YD = Iu2(); + Hu3.exports = ep2; + var GD = {}.hasOwnProperty, He10 = String.fromCharCode, zD = Function.prototype, Ru4 = { warning: null, reference: null, text: null, warningContext: null, referenceContext: null, textContext: null, position: {}, additional: null, attribute: false, nonTerminated: true }, WD = 9, Mu4 = 10, VD = 12, jD = 32, Uu4 = 38, $D = 59, HD = 60, KD = 61, XD = 35, JD2 = 88, QD = 120, ZD = 65533, Ke12 = "named", Wt10 = "hexadecimal", Vt11 = "decimal", jt8 = {}; + jt8[Wt10] = 16; + jt8[Vt11] = 10; + var Hr7 = {}; + Hr7[Ke12] = Yu2; + Hr7[Vt11] = MD; + Hr7[Wt10] = UD; + var Gu3 = 1, zu3 = 2, Wu2 = 3, Vu4 = 4, ju4 = 5, zt10 = 6, $u4 = 7, we9 = {}; + we9[Gu3] = "Named character references must be terminated by a semicolon"; + we9[zu3] = "Numeric character references must be terminated by a semicolon"; + we9[Wu2] = "Named character references cannot be empty"; + we9[Vu4] = "Numeric character references cannot be empty"; + we9[ju4] = "Named character references must be known"; + we9[zt10] = "Numeric character references cannot be disallowed"; + we9[$u4] = "Numeric character references cannot be outside the permissible Unicode range"; + function ep2(e7, r5) { + var t26 = {}, n5, i5; + r5 || (r5 = {}); + for (i5 in Ru4) n5 = r5[i5], t26[i5] = n5 ?? Ru4[i5]; + return (t26.position.indent || t26.position.start) && (t26.indent = t26.position.indent || [], t26.position = t26.position.start), rp2(e7, t26); + } + function rp2(e7, r5) { + var t26 = r5.additional, n5 = r5.nonTerminated, i5 = r5.text, u = r5.reference, a5 = r5.warning, o5 = r5.textContext, s5 = r5.referenceContext, l5 = r5.warningContext, c7 = r5.position, f7 = r5.indent || [], D7 = e7.length, m7 = 0, p4 = -1, h5 = c7.column || 1, F10 = c7.line || 1, g5 = "", E7 = [], v9, A9, b7, d5, y10, w8, C8, k8, T7, B7, _9, S7, P8, N8, O7, I8, le9, K11, L9; + for (typeof t26 == "string" && (t26 = t26.charCodeAt(0)), I8 = ie11(), k8 = a5 ? Z9 : zD, m7--, D7++; ++m7 < D7; ) if (y10 === Mu4 && (h5 = f7[p4] || 1), y10 = e7.charCodeAt(m7), y10 === Uu4) { + if (C8 = e7.charCodeAt(m7 + 1), C8 === WD || C8 === Mu4 || C8 === VD || C8 === jD || C8 === Uu4 || C8 === HD || C8 !== C8 || t26 && C8 === t26) { + g5 += He10(y10), h5++; + continue; + } + for (P8 = m7 + 1, S7 = P8, L9 = P8, C8 === XD ? (L9 = ++S7, C8 = e7.charCodeAt(L9), C8 === JD2 || C8 === QD ? (N8 = Wt10, L9 = ++S7) : N8 = Vt11) : N8 = Ke12, v9 = "", _9 = "", d5 = "", O7 = Hr7[N8], L9--; ++L9 < D7 && (C8 = e7.charCodeAt(L9), !!O7(C8)); ) d5 += He10(C8), N8 === Ke12 && GD.call(Su3, d5) && (v9 = d5, _9 = Su3[d5]); + b7 = e7.charCodeAt(L9) === $D, b7 && (L9++, A9 = N8 === Ke12 ? YD(d5) : false, A9 && (v9 = d5, _9 = A9)), K11 = 1 + L9 - P8, !b7 && !n5 || (d5 ? N8 === Ke12 ? (b7 && !_9 ? k8(ju4, 1) : (v9 !== d5 && (L9 = S7 + v9.length, K11 = 1 + L9 - S7, b7 = false), b7 || (T7 = v9 ? Gu3 : Wu2, r5.attribute ? (C8 = e7.charCodeAt(L9), C8 === KD ? (k8(T7, K11), _9 = null) : Yu2(C8) ? _9 = null : k8(T7, K11)) : k8(T7, K11))), w8 = _9) : (b7 || k8(zu3, K11), w8 = parseInt(d5, jt8[N8]), tp2(w8) ? (k8($u4, K11), w8 = He10(ZD)) : w8 in Lu4 ? (k8(zt10, K11), w8 = Lu4[w8]) : (B7 = "", np2(w8) && k8(zt10, K11), w8 > 65535 && (w8 -= 65536, B7 += He10(w8 >>> 10 | 55296), w8 = 56320 | w8 & 1023), w8 = B7 + He10(w8))) : N8 !== Ke12 && k8(Vu4, K11)), w8 ? (ve11(), I8 = ie11(), m7 = L9 - 1, h5 += L9 - P8 + 1, E7.push(w8), le9 = ie11(), le9.offset++, u && u.call(s5, w8, { start: I8, end: le9 }, e7.slice(P8 - 1, L9)), I8 = le9) : (d5 = e7.slice(P8 - 1, L9), g5 += d5, h5 += d5.length, m7 = L9 - 1); + } else y10 === 10 && (F10++, p4++, h5 = 0), y10 === y10 ? (g5 += He10(y10), h5++) : ve11(); + return E7.join(""); + function ie11() { + return { line: F10, column: h5, offset: m7 + (c7.offset || 0) }; + } + function Z9(Ae11, G11) { + var mt10 = ie11(); + mt10.column += G11, mt10.offset += G11, a5.call(l5, we9[Ae11], mt10, Ae11); + } + function ve11() { + g5 && (E7.push(g5), i5 && i5.call(o5, g5, { start: I8, end: ie11() }), g5 = ""); + } + } + function tp2(e7) { + return e7 >= 55296 && e7 <= 57343 || e7 > 1114111; + } + function np2(e7) { + return e7 >= 1 && e7 <= 8 || e7 === 11 || e7 >= 13 && e7 <= 31 || e7 >= 127 && e7 <= 159 || e7 >= 64976 && e7 <= 65007 || (e7 & 65535) === 65535 || (e7 & 65535) === 65534; + } + }); + Ju2 = x5((dv2, Xu3) => { + "use strict"; + var ip2 = Ie8(), Ku4 = mr6(); + Xu3.exports = up2; + function up2(e7) { + return t26.raw = n5, t26; + function r5(u) { + for (var a5 = e7.offset, o5 = u.line, s5 = []; ++o5 && o5 in a5; ) s5.push((a5[o5] || 0) + 1); + return { start: u, indent: s5 }; + } + function t26(u, a5, o5) { + Ku4(u, { position: r5(a5), warning: i5, text: o5, reference: o5, textContext: e7, referenceContext: e7 }); + } + function n5(u, a5, o5) { + return Ku4(u, ip2(o5, { position: r5(a5), warning: i5 })); + } + function i5(u, a5, o5) { + o5 !== 3 && e7.file.message(u, a5); + } + } + }); + ea4 = x5((mv2, Zu2) => { + "use strict"; + Zu2.exports = ap2; + function ap2(e7) { + return r5; + function r5(t26, n5) { + var i5 = this, u = i5.offset, a5 = [], o5 = i5[e7 + "Methods"], s5 = i5[e7 + "Tokenizers"], l5 = n5.line, c7 = n5.column, f7, D7, m7, p4, h5, F10; + if (!t26) return a5; + for (w8.now = v9, w8.file = i5.file, g5(""); t26; ) { + for (f7 = -1, D7 = o5.length, h5 = false; ++f7 < D7 && (p4 = o5[f7], m7 = s5[p4], !(m7 && (!m7.onlyAtStart || i5.atStart) && (!m7.notInList || !i5.inList) && (!m7.notInBlock || !i5.inBlock) && (!m7.notInLink || !i5.inLink) && (F10 = t26.length, m7.apply(i5, [w8, t26]), h5 = F10 !== t26.length, h5))); ) ; + h5 || i5.file.fail(new Error("Infinite loop"), w8.now()); + } + return i5.eof = v9(), a5; + function g5(C8) { + for (var k8 = -1, T7 = C8.indexOf(` +`); T7 !== -1; ) l5++, k8 = T7, T7 = C8.indexOf(` +`, T7 + 1); + k8 === -1 ? c7 += C8.length : c7 = C8.length - k8, l5 in u && (k8 !== -1 ? c7 += u[l5] : c7 <= u[l5] && (c7 = u[l5] + 1)); + } + function E7() { + var C8 = [], k8 = l5 + 1; + return function() { + for (var T7 = l5 + 1; k8 < T7; ) C8.push((u[k8] || 0) + 1), k8++; + return C8; + }; + } + function v9() { + var C8 = { line: l5, column: c7 }; + return C8.offset = i5.toOffset(C8), C8; + } + function A9(C8) { + this.start = C8, this.end = v9(); + } + function b7(C8) { + t26.slice(0, C8.length) !== C8 && i5.file.fail(new Error("Incorrectly eaten value: please report this warning on https://git.io/vg5Ft"), v9()); + } + function d5() { + var C8 = v9(); + return k8; + function k8(T7, B7) { + var _9 = T7.position, S7 = _9 ? _9.start : C8, P8 = [], N8 = _9 && _9.end.line, O7 = C8.line; + if (T7.position = new A9(S7), _9 && B7 && _9.indent) { + if (P8 = _9.indent, N8 < O7) { + for (; ++N8 < O7; ) P8.push((u[N8] || 0) + 1); + P8.push(C8.column); + } + B7 = P8.concat(B7); + } + return T7.position.indent = B7 || [], T7; + } + } + function y10(C8, k8) { + var T7 = k8 ? k8.children : a5, B7 = T7[T7.length - 1], _9; + return B7 && C8.type === B7.type && (C8.type === "text" || C8.type === "blockquote") && Qu2(B7) && Qu2(C8) && (_9 = C8.type === "text" ? op2 : sp2, C8 = _9.call(i5, B7, C8)), C8 !== B7 && T7.push(C8), i5.atStart && a5.length !== 0 && i5.exitStart(), C8; + } + function w8(C8) { + var k8 = E7(), T7 = d5(), B7 = v9(); + return b7(C8), _9.reset = S7, S7.test = P8, _9.test = P8, t26 = t26.slice(C8.length), g5(C8), k8 = k8(), _9; + function _9(N8, O7) { + return T7(y10(T7(N8), O7), k8); + } + function S7() { + var N8 = _9.apply(null, arguments); + return l5 = B7.line, c7 = B7.column, t26 = C8 + t26, N8; + } + function P8() { + var N8 = T7({}); + return l5 = B7.line, c7 = B7.column, t26 = C8 + t26, N8.position; + } + } + } + } + function Qu2(e7) { + var r5, t26; + return e7.type !== "text" || !e7.position ? true : (r5 = e7.position.start, t26 = e7.position.end, r5.line !== t26.line || t26.column - r5.column === e7.value.length); + } + function op2(e7, r5) { + return e7.value += r5.value, e7; + } + function sp2(e7, r5) { + return this.options.commonmark || this.options.gfm ? r5 : (e7.children = e7.children.concat(r5.children), e7); + } + }); + na3 = x5((Fv2, ta5) => { + "use strict"; + ta5.exports = Kr8; + var $t8 = ["\\", "`", "*", "{", "}", "[", "]", "(", ")", "#", "+", "-", ".", "!", "_", ">"], Ht11 = $t8.concat(["~", "|"]), ra5 = Ht11.concat([` +`, '"', "$", "%", "&", "'", ",", "/", ":", ";", "<", "=", "?", "@", "^"]); + Kr8.default = $t8; + Kr8.gfm = Ht11; + Kr8.commonmark = ra5; + function Kr8(e7) { + var r5 = e7 || {}; + return r5.commonmark ? ra5 : r5.gfm ? Ht11 : $t8; + } + }); + ua4 = x5((gv2, ia5) => { + "use strict"; + ia5.exports = ["address", "article", "aside", "base", "basefont", "blockquote", "body", "caption", "center", "col", "colgroup", "dd", "details", "dialog", "dir", "div", "dl", "dt", "fieldset", "figcaption", "figure", "footer", "form", "frame", "frameset", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "iframe", "legend", "li", "link", "main", "menu", "menuitem", "meta", "nav", "noframes", "ol", "optgroup", "option", "p", "param", "pre", "section", "source", "title", "summary", "table", "tbody", "td", "tfoot", "th", "thead", "title", "tr", "track", "ul"]; + }); + Kt7 = x5((Ev2, aa6) => { + "use strict"; + aa6.exports = { position: true, gfm: true, commonmark: false, pedantic: false, blocks: ua4() }; + }); + sa4 = x5((Cv2, oa3) => { + "use strict"; + var cp2 = Ie8(), lp2 = na3(), fp2 = Kt7(); + oa3.exports = Dp3; + function Dp3(e7) { + var r5 = this, t26 = r5.options, n5, i5; + if (e7 == null) e7 = {}; + else if (typeof e7 == "object") e7 = cp2(e7); + else throw new Error("Invalid value `" + e7 + "` for setting `options`"); + for (n5 in fp2) { + if (i5 = e7[n5], i5 == null && (i5 = t26[n5]), n5 !== "blocks" && typeof i5 != "boolean" || n5 === "blocks" && typeof i5 != "object") throw new Error("Invalid value `" + i5 + "` for setting `options." + n5 + "`"); + e7[n5] = i5; + } + return r5.options = e7, r5.escape = lp2(e7), r5; + } + }); + fa3 = x5((vv2, la3) => { + "use strict"; + la3.exports = ca4; + function ca4(e7) { + if (e7 == null) return mp2; + if (typeof e7 == "string") return dp2(e7); + if (typeof e7 == "object") return "length" in e7 ? hp2(e7) : pp2(e7); + if (typeof e7 == "function") return e7; + throw new Error("Expected function, string, or object as test"); + } + function pp2(e7) { + return r5; + function r5(t26) { + var n5; + for (n5 in e7) if (t26[n5] !== e7[n5]) return false; + return true; + } + } + function hp2(e7) { + for (var r5 = [], t26 = -1; ++t26 < e7.length; ) r5[t26] = ca4(e7[t26]); + return n5; + function n5() { + for (var i5 = -1; ++i5 < r5.length; ) if (r5[i5].apply(this, arguments)) return true; + return false; + } + } + function dp2(e7) { + return r5; + function r5(t26) { + return !!(t26 && t26.type === e7); + } + } + function mp2() { + return true; + } + }); + pa3 = x5((Av2, Da5) => { + Da5.exports = Fp3; + function Fp3(e7) { + return e7; + } + }); + Fa4 = x5((bv2, ma5) => { + "use strict"; + ma5.exports = Xr7; + var gp4 = fa3(), Ep3 = pa3(), ha2 = true, da5 = "skip", Xt11 = false; + Xr7.CONTINUE = ha2; + Xr7.SKIP = da5; + Xr7.EXIT = Xt11; + function Xr7(e7, r5, t26, n5) { + var i5, u; + typeof r5 == "function" && typeof t26 != "function" && (n5 = t26, t26 = r5, r5 = null), u = gp4(r5), i5 = n5 ? -1 : 1, a5(e7, null, [])(); + function a5(o5, s5, l5) { + var c7 = typeof o5 == "object" && o5 !== null ? o5 : {}, f7; + return typeof c7.type == "string" && (f7 = typeof c7.tagName == "string" ? c7.tagName : typeof c7.name == "string" ? c7.name : void 0, D7.displayName = "node (" + Ep3(c7.type + (f7 ? "<" + f7 + ">" : "")) + ")"), D7; + function D7() { + var m7 = l5.concat(o5), p4 = [], h5, F10; + if ((!r5 || u(o5, s5, l5[l5.length - 1] || null)) && (p4 = Cp3(t26(o5, l5)), p4[0] === Xt11)) return p4; + if (o5.children && p4[0] !== da5) for (F10 = (n5 ? o5.children.length : -1) + i5; F10 > -1 && F10 < o5.children.length; ) { + if (h5 = a5(o5.children[F10], F10, m7)(), h5[0] === Xt11) return h5; + F10 = typeof h5[1] == "number" ? h5[1] : F10 + i5; + } + return p4; + } + } + } + function Cp3(e7) { + return e7 !== null && typeof e7 == "object" && "length" in e7 ? e7 : typeof e7 == "number" ? [ha2, e7] : [e7]; + } + }); + Ea3 = x5((xv2, ga2) => { + "use strict"; + ga2.exports = Qr9; + var Jr6 = Fa4(), vp3 = Jr6.CONTINUE, Ap3 = Jr6.SKIP, bp3 = Jr6.EXIT; + Qr9.CONTINUE = vp3; + Qr9.SKIP = Ap3; + Qr9.EXIT = bp3; + function Qr9(e7, r5, t26, n5) { + typeof r5 == "function" && typeof t26 != "function" && (n5 = t26, t26 = r5, r5 = null), Jr6(e7, r5, i5, n5); + function i5(u, a5) { + var o5 = a5[a5.length - 1], s5 = o5 ? o5.children.indexOf(u) : null; + return t26(u, s5, o5); + } + } + }); + va3 = x5((yv2, Ca3) => { + "use strict"; + var xp3 = Ea3(); + Ca3.exports = yp3; + function yp3(e7, r5) { + return xp3(e7, r5 ? wp5 : kp3), e7; + } + function wp5(e7) { + delete e7.position; + } + function kp3(e7) { + e7.position = void 0; + } + }); + xa3 = x5((wv2, ba3) => { + "use strict"; + var Aa3 = Ie8(), Tp3 = va3(); + ba3.exports = Op3; + var Bp3 = ` +`, _p3 = /\r\n|\r/g; + function Op3() { + var e7 = this, r5 = String(e7.file), t26 = { line: 1, column: 1, offset: 0 }, n5 = Aa3(t26), i5; + return r5 = r5.replace(_p3, Bp3), r5.charCodeAt(0) === 65279 && (r5 = r5.slice(1), n5.column++, n5.offset++), i5 = { type: "root", children: e7.tokenizeBlock(r5, n5), position: { start: t26, end: e7.eof || Aa3(t26) } }, e7.options.position || Tp3(i5, true), i5; + } + }); + wa3 = x5((kv2, ya3) => { + "use strict"; + var qp3 = /^[ \t]*(\n|$)/; + ya3.exports = Np4; + function Np4(e7, r5, t26) { + for (var n5, i5 = "", u = 0, a5 = r5.length; u < a5 && (n5 = qp3.exec(r5.slice(u)), n5 != null); ) u += n5[0].length, i5 += n5[0]; + if (i5 !== "") { + if (t26) return true; + e7(i5); + } + } + }); + Zr6 = x5((Tv2, ka3) => { + "use strict"; + var ge11 = "", Jt10; + ka3.exports = Pp4; + function Pp4(e7, r5) { + if (typeof e7 != "string") throw new TypeError("expected a string"); + if (r5 === 1) return e7; + if (r5 === 2) return e7 + e7; + var t26 = e7.length * r5; + if (Jt10 !== e7 || typeof Jt10 > "u") Jt10 = e7, ge11 = ""; + else if (ge11.length >= t26) return ge11.substr(0, t26); + for (; t26 > ge11.length && r5 > 1; ) r5 & 1 && (ge11 += e7), r5 >>= 1, e7 += e7; + return ge11 += e7, ge11 = ge11.substr(0, t26), ge11; + } + }); + Qt7 = x5((Bv2, Ta3) => { + "use strict"; + Ta3.exports = Ip3; + function Ip3(e7) { + return String(e7).replace(/\n+$/, ""); + } + }); + Oa3 = x5((_v2, _a6) => { + "use strict"; + var Sp3 = Zr6(), Lp3 = Qt7(); + _a6.exports = Up3; + var Zt11 = ` +`, Ba6 = " ", en10 = " ", Rp3 = 4, Mp3 = Sp3(en10, Rp3); + function Up3(e7, r5, t26) { + for (var n5 = -1, i5 = r5.length, u = "", a5 = "", o5 = "", s5 = "", l5, c7, f7; ++n5 < i5; ) if (l5 = r5.charAt(n5), f7) if (f7 = false, u += o5, a5 += s5, o5 = "", s5 = "", l5 === Zt11) o5 = l5, s5 = l5; + else for (u += l5, a5 += l5; ++n5 < i5; ) { + if (l5 = r5.charAt(n5), !l5 || l5 === Zt11) { + s5 = l5, o5 = l5; + break; + } + u += l5, a5 += l5; + } + else if (l5 === en10 && r5.charAt(n5 + 1) === l5 && r5.charAt(n5 + 2) === l5 && r5.charAt(n5 + 3) === l5) o5 += Mp3, n5 += 3, f7 = true; + else if (l5 === Ba6) o5 += l5, f7 = true; + else { + for (c7 = ""; l5 === Ba6 || l5 === en10; ) c7 += l5, l5 = r5.charAt(++n5); + if (l5 !== Zt11) break; + o5 += c7 + l5, s5 += l5; + } + if (a5) return t26 ? true : e7(u)({ type: "code", lang: null, meta: null, value: Lp3(a5) }); + } + }); + Pa3 = x5((Ov, Na4) => { + "use strict"; + Na4.exports = Wp3; + var et11 = ` +`, Fr7 = " ", Xe11 = " ", Yp3 = "~", qa5 = "`", Gp3 = 3, zp3 = 4; + function Wp3(e7, r5, t26) { + var n5 = this, i5 = n5.options.gfm, u = r5.length + 1, a5 = 0, o5 = "", s5, l5, c7, f7, D7, m7, p4, h5, F10, g5, E7, v9, A9; + if (i5) { + for (; a5 < u && (c7 = r5.charAt(a5), !(c7 !== Xe11 && c7 !== Fr7)); ) o5 += c7, a5++; + if (v9 = a5, c7 = r5.charAt(a5), !(c7 !== Yp3 && c7 !== qa5)) { + for (a5++, l5 = c7, s5 = 1, o5 += c7; a5 < u && (c7 = r5.charAt(a5), c7 === l5); ) o5 += c7, s5++, a5++; + if (!(s5 < Gp3)) { + for (; a5 < u && (c7 = r5.charAt(a5), !(c7 !== Xe11 && c7 !== Fr7)); ) o5 += c7, a5++; + for (f7 = "", p4 = ""; a5 < u && (c7 = r5.charAt(a5), !(c7 === et11 || l5 === qa5 && c7 === l5)); ) c7 === Xe11 || c7 === Fr7 ? p4 += c7 : (f7 += p4 + c7, p4 = ""), a5++; + if (c7 = r5.charAt(a5), !(c7 && c7 !== et11)) { + if (t26) return true; + A9 = e7.now(), A9.column += o5.length, A9.offset += o5.length, o5 += f7, f7 = n5.decode.raw(n5.unescape(f7), A9), p4 && (o5 += p4), p4 = "", g5 = "", E7 = "", h5 = "", F10 = ""; + for (var b7 = true; a5 < u; ) { + if (c7 = r5.charAt(a5), h5 += g5, F10 += E7, g5 = "", E7 = "", c7 !== et11) { + h5 += c7, E7 += c7, a5++; + continue; + } + for (b7 ? (o5 += c7, b7 = false) : (g5 += c7, E7 += c7), p4 = "", a5++; a5 < u && (c7 = r5.charAt(a5), c7 === Xe11); ) p4 += c7, a5++; + if (g5 += p4, E7 += p4.slice(v9), !(p4.length >= zp3)) { + for (p4 = ""; a5 < u && (c7 = r5.charAt(a5), c7 === l5); ) p4 += c7, a5++; + if (g5 += p4, E7 += p4, !(p4.length < s5)) { + for (p4 = ""; a5 < u && (c7 = r5.charAt(a5), !(c7 !== Xe11 && c7 !== Fr7)); ) g5 += c7, E7 += c7, a5++; + if (!c7 || c7 === et11) break; + } + } + } + for (o5 += h5 + g5, a5 = -1, u = f7.length; ++a5 < u; ) if (c7 = f7.charAt(a5), c7 === Xe11 || c7 === Fr7) D7 || (D7 = f7.slice(0, a5)); + else if (D7) { + m7 = f7.slice(a5); + break; + } + return e7(o5)({ type: "code", lang: D7 || f7 || null, meta: m7 || null, value: F10 }); + } + } + } + } + } + }); + Le8 = x5((Je11, Ia5) => { + Je11 = Ia5.exports = Vp3; + function Vp3(e7) { + return e7.trim ? e7.trim() : Je11.right(Je11.left(e7)); + } + Je11.left = function(e7) { + return e7.trimLeft ? e7.trimLeft() : e7.replace(/^\s\s*/, ""); + }; + Je11.right = function(e7) { + if (e7.trimRight) return e7.trimRight(); + for (var r5 = /\s/, t26 = e7.length; r5.test(e7.charAt(--t26)); ) ; + return e7.slice(0, t26 + 1); + }; + }); + rt9 = x5((qv, Sa2) => { + "use strict"; + Sa2.exports = jp3; + function jp3(e7, r5, t26, n5) { + for (var i5 = e7.length, u = -1, a5, o5; ++u < i5; ) if (a5 = e7[u], o5 = a5[1] || {}, !(o5.pedantic !== void 0 && o5.pedantic !== t26.options.pedantic) && !(o5.commonmark !== void 0 && o5.commonmark !== t26.options.commonmark) && r5[a5[0]].apply(t26, n5)) return true; + return false; + } + }); + Ua4 = x5((Nv2, Ma4) => { + "use strict"; + var $p3 = Le8(), Hp3 = rt9(); + Ma4.exports = Kp3; + var rn6 = ` +`, La4 = " ", tn8 = " ", Ra5 = ">"; + function Kp3(e7, r5, t26) { + for (var n5 = this, i5 = n5.offset, u = n5.blockTokenizers, a5 = n5.interruptBlockquote, o5 = e7.now(), s5 = o5.line, l5 = r5.length, c7 = [], f7 = [], D7 = [], m7, p4 = 0, h5, F10, g5, E7, v9, A9, b7, d5; p4 < l5 && (h5 = r5.charAt(p4), !(h5 !== tn8 && h5 !== La4)); ) p4++; + if (r5.charAt(p4) === Ra5) { + if (t26) return true; + for (p4 = 0; p4 < l5; ) { + for (g5 = r5.indexOf(rn6, p4), A9 = p4, b7 = false, g5 === -1 && (g5 = l5); p4 < l5 && (h5 = r5.charAt(p4), !(h5 !== tn8 && h5 !== La4)); ) p4++; + if (r5.charAt(p4) === Ra5 ? (p4++, b7 = true, r5.charAt(p4) === tn8 && p4++) : p4 = A9, E7 = r5.slice(p4, g5), !b7 && !$p3(E7)) { + p4 = A9; + break; + } + if (!b7 && (F10 = r5.slice(p4), Hp3(a5, u, n5, [e7, F10, true]))) break; + v9 = A9 === p4 ? E7 : r5.slice(A9, g5), D7.push(p4 - A9), c7.push(v9), f7.push(E7), p4 = g5 + 1; + } + for (p4 = -1, l5 = D7.length, m7 = e7(c7.join(rn6)); ++p4 < l5; ) i5[s5] = (i5[s5] || 0) + D7[p4], s5++; + return d5 = n5.enterBlock(), f7 = n5.tokenizeBlock(f7.join(rn6), o5), d5(), m7({ type: "blockquote", children: f7 }); + } + } + }); + za3 = x5((Pv2, Ga5) => { + "use strict"; + Ga5.exports = Jp3; + var Ya6 = ` +`, gr7 = " ", Er7 = " ", Cr7 = "#", Xp3 = 6; + function Jp3(e7, r5, t26) { + for (var n5 = this, i5 = n5.options.pedantic, u = r5.length + 1, a5 = -1, o5 = e7.now(), s5 = "", l5 = "", c7, f7, D7; ++a5 < u; ) { + if (c7 = r5.charAt(a5), c7 !== Er7 && c7 !== gr7) { + a5--; + break; + } + s5 += c7; + } + for (D7 = 0; ++a5 <= u; ) { + if (c7 = r5.charAt(a5), c7 !== Cr7) { + a5--; + break; + } + s5 += c7, D7++; + } + if (!(D7 > Xp3) && !(!D7 || !i5 && r5.charAt(a5 + 1) === Cr7)) { + for (u = r5.length + 1, f7 = ""; ++a5 < u; ) { + if (c7 = r5.charAt(a5), c7 !== Er7 && c7 !== gr7) { + a5--; + break; + } + f7 += c7; + } + if (!(!i5 && f7.length === 0 && c7 && c7 !== Ya6)) { + if (t26) return true; + for (s5 += f7, f7 = "", l5 = ""; ++a5 < u && (c7 = r5.charAt(a5), !(!c7 || c7 === Ya6)); ) { + if (c7 !== Er7 && c7 !== gr7 && c7 !== Cr7) { + l5 += f7 + c7, f7 = ""; + continue; + } + for (; c7 === Er7 || c7 === gr7; ) f7 += c7, c7 = r5.charAt(++a5); + if (!i5 && l5 && !f7 && c7 === Cr7) { + l5 += c7; + continue; + } + for (; c7 === Cr7; ) f7 += c7, c7 = r5.charAt(++a5); + for (; c7 === Er7 || c7 === gr7; ) f7 += c7, c7 = r5.charAt(++a5); + a5--; + } + return o5.column += s5.length, o5.offset += s5.length, s5 += l5 + f7, e7(s5)({ type: "heading", depth: D7, children: n5.tokenizeInline(l5, o5) }); + } + } + } + }); + ja4 = x5((Iv2, Va5) => { + "use strict"; + Va5.exports = ih2; + var Qp3 = " ", Zp3 = ` +`, Wa6 = " ", eh2 = "*", rh2 = "-", th2 = "_", nh2 = 3; + function ih2(e7, r5, t26) { + for (var n5 = -1, i5 = r5.length + 1, u = "", a5, o5, s5, l5; ++n5 < i5 && (a5 = r5.charAt(n5), !(a5 !== Qp3 && a5 !== Wa6)); ) u += a5; + if (!(a5 !== eh2 && a5 !== rh2 && a5 !== th2)) for (o5 = a5, u += a5, s5 = 1, l5 = ""; ++n5 < i5; ) if (a5 = r5.charAt(n5), a5 === o5) s5++, u += l5 + o5, l5 = ""; + else if (a5 === Wa6) l5 += a5; + else return s5 >= nh2 && (!a5 || a5 === Zp3) ? (u += l5, t26 ? true : e7(u)({ type: "thematicBreak" })) : void 0; + } + }); + nn7 = x5((Sv2, Ha6) => { + "use strict"; + Ha6.exports = sh2; + var $a6 = " ", uh2 = " ", ah2 = 1, oh2 = 4; + function sh2(e7) { + for (var r5 = 0, t26 = 0, n5 = e7.charAt(r5), i5 = {}, u, a5 = 0; n5 === $a6 || n5 === uh2; ) { + for (u = n5 === $a6 ? oh2 : ah2, t26 += u, u > 1 && (t26 = Math.floor(t26 / u) * u); a5 < t26; ) i5[++a5] = r5; + n5 = e7.charAt(++r5); + } + return { indent: t26, stops: i5 }; + } + }); + Ja4 = x5((Lv, Xa6) => { + "use strict"; + var ch2 = Le8(), lh2 = Zr6(), fh2 = nn7(); + Xa6.exports = hh2; + var Ka4 = ` +`, Dh2 = " ", ph2 = "!"; + function hh2(e7, r5) { + var t26 = e7.split(Ka4), n5 = t26.length + 1, i5 = 1 / 0, u = [], a5, o5, s5; + for (t26.unshift(lh2(Dh2, r5) + ph2); n5--; ) if (o5 = fh2(t26[n5]), u[n5] = o5.stops, ch2(t26[n5]).length !== 0) if (o5.indent) o5.indent > 0 && o5.indent < i5 && (i5 = o5.indent); + else { + i5 = 1 / 0; + break; + } + if (i5 !== 1 / 0) for (n5 = t26.length; n5--; ) { + for (s5 = u[n5], a5 = i5; a5 && !(a5 in s5); ) a5--; + t26[n5] = t26[n5].slice(s5[a5] + 1); + } + return t26.shift(), t26.join(Ka4); + } + }); + no5 = x5((Rv, to6) => { + "use strict"; + var dh2 = Le8(), mh2 = Zr6(), Qa6 = Se8(), Fh2 = nn7(), gh2 = Ja4(), Eh2 = rt9(); + to6.exports = kh2; + var un8 = "*", Ch2 = "_", Za3 = "+", an8 = "-", eo5 = ".", Ee9 = " ", oe10 = ` +`, tt11 = " ", ro5 = ")", vh2 = "x", ke11 = 4, Ah2 = /\n\n(?!\s*$)/, bh = /^\[([ X\tx])][ \t]/, xh2 = /^([ \t]*)([*+-]|\d+[.)])( {1,4}(?! )| |\t|$|(?=\n))([^\n]*)/, yh2 = /^([ \t]*)([*+-]|\d+[.)])([ \t]+)/, wh2 = /^( {1,4}|\t)?/gm; + function kh2(e7, r5, t26) { + for (var n5 = this, i5 = n5.options.commonmark, u = n5.options.pedantic, a5 = n5.blockTokenizers, o5 = n5.interruptList, s5 = 0, l5 = r5.length, c7 = null, f7, D7, m7, p4, h5, F10, g5, E7, v9, A9, b7, d5, y10, w8, C8, k8, T7, B7, _9, S7 = false, P8, N8, O7, I8; s5 < l5 && (p4 = r5.charAt(s5), !(p4 !== tt11 && p4 !== Ee9)); ) s5++; + if (p4 = r5.charAt(s5), p4 === un8 || p4 === Za3 || p4 === an8) h5 = p4, m7 = false; + else { + for (m7 = true, D7 = ""; s5 < l5 && (p4 = r5.charAt(s5), !!Qa6(p4)); ) D7 += p4, s5++; + if (p4 = r5.charAt(s5), !D7 || !(p4 === eo5 || i5 && p4 === ro5) || t26 && D7 !== "1") return; + c7 = parseInt(D7, 10), h5 = p4; + } + if (p4 = r5.charAt(++s5), !(p4 !== Ee9 && p4 !== tt11 && (u || p4 !== oe10 && p4 !== ""))) { + if (t26) return true; + for (s5 = 0, w8 = [], C8 = [], k8 = []; s5 < l5; ) { + for (F10 = r5.indexOf(oe10, s5), g5 = s5, E7 = false, I8 = false, F10 === -1 && (F10 = l5), f7 = 0; s5 < l5; ) { + if (p4 = r5.charAt(s5), p4 === tt11) f7 += ke11 - f7 % ke11; + else if (p4 === Ee9) f7++; + else break; + s5++; + } + if (T7 && f7 >= T7.indent && (I8 = true), p4 = r5.charAt(s5), v9 = null, !I8) { + if (p4 === un8 || p4 === Za3 || p4 === an8) v9 = p4, s5++, f7++; + else { + for (D7 = ""; s5 < l5 && (p4 = r5.charAt(s5), !!Qa6(p4)); ) D7 += p4, s5++; + p4 = r5.charAt(s5), s5++, D7 && (p4 === eo5 || i5 && p4 === ro5) && (v9 = p4, f7 += D7.length + 1); + } + if (v9) if (p4 = r5.charAt(s5), p4 === tt11) f7 += ke11 - f7 % ke11, s5++; + else if (p4 === Ee9) { + for (O7 = s5 + ke11; s5 < O7 && r5.charAt(s5) === Ee9; ) s5++, f7++; + s5 === O7 && r5.charAt(s5) === Ee9 && (s5 -= ke11 - 1, f7 -= ke11 - 1); + } else p4 !== oe10 && p4 !== "" && (v9 = null); + } + if (v9) { + if (!u && h5 !== v9) break; + E7 = true; + } else !i5 && !I8 && r5.charAt(g5) === Ee9 ? I8 = true : i5 && T7 && (I8 = f7 >= T7.indent || f7 > ke11), E7 = false, s5 = g5; + if (b7 = r5.slice(g5, F10), A9 = g5 === s5 ? b7 : r5.slice(s5, F10), (v9 === un8 || v9 === Ch2 || v9 === an8) && a5.thematicBreak.call(n5, e7, b7, true)) break; + if (d5 = y10, y10 = !E7 && !dh2(A9).length, I8 && T7) T7.value = T7.value.concat(k8, b7), C8 = C8.concat(k8, b7), k8 = []; + else if (E7) k8.length !== 0 && (S7 = true, T7.value.push(""), T7.trail = k8.concat()), T7 = { value: [b7], indent: f7, trail: [] }, w8.push(T7), C8 = C8.concat(k8, b7), k8 = []; + else if (y10) { + if (d5 && !i5) break; + k8.push(b7); + } else { + if (d5 || Eh2(o5, a5, n5, [e7, b7, true])) break; + T7.value = T7.value.concat(k8, b7), C8 = C8.concat(k8, b7), k8 = []; + } + s5 = F10 + 1; + } + for (P8 = e7(C8.join(oe10)).reset({ type: "list", ordered: m7, start: c7, spread: S7, children: [] }), B7 = n5.enterList(), _9 = n5.enterBlock(), s5 = -1, l5 = w8.length; ++s5 < l5; ) T7 = w8[s5].value.join(oe10), N8 = e7.now(), e7(T7)(Th2(n5, T7, N8), P8), T7 = w8[s5].trail.join(oe10), s5 !== l5 - 1 && (T7 += oe10), e7(T7); + return B7(), _9(), P8; + } + } + function Th2(e7, r5, t26) { + var n5 = e7.offset, i5 = e7.options.pedantic ? Bh2 : _h2, u = null, a5, o5; + return r5 = i5.apply(null, arguments), e7.options.gfm && (a5 = r5.match(bh), a5 && (o5 = a5[0].length, u = a5[1].toLowerCase() === vh2, n5[t26.line] += o5, r5 = r5.slice(o5))), { type: "listItem", spread: Ah2.test(r5), checked: u, children: e7.tokenizeBlock(r5, t26) }; + } + function Bh2(e7, r5, t26) { + var n5 = e7.offset, i5 = t26.line; + return r5 = r5.replace(yh2, u), i5 = t26.line, r5.replace(wh2, u); + function u(a5) { + return n5[i5] = (n5[i5] || 0) + a5.length, i5++, ""; + } + } + function _h2(e7, r5, t26) { + var n5 = e7.offset, i5 = t26.line, u, a5, o5, s5, l5, c7, f7; + for (r5 = r5.replace(xh2, D7), s5 = r5.split(oe10), l5 = gh2(r5, Fh2(u).indent).split(oe10), l5[0] = o5, n5[i5] = (n5[i5] || 0) + a5.length, i5++, c7 = 0, f7 = s5.length; ++c7 < f7; ) n5[i5] = (n5[i5] || 0) + s5[c7].length - l5[c7].length, i5++; + return l5.join(oe10); + function D7(m7, p4, h5, F10, g5) { + return a5 = p4 + h5 + F10, o5 = g5, Number(h5) < 10 && a5.length % 2 === 1 && (h5 = Ee9 + h5), u = p4 + mh2(Ee9, h5.length) + F10, u + o5; + } + } + }); + oo5 = x5((Mv, ao5) => { + "use strict"; + ao5.exports = Sh2; + var on8 = ` +`, Oh2 = " ", io5 = " ", uo5 = "=", qh2 = "-", Nh2 = 3, Ph2 = 1, Ih2 = 2; + function Sh2(e7, r5, t26) { + for (var n5 = this, i5 = e7.now(), u = r5.length, a5 = -1, o5 = "", s5, l5, c7, f7, D7; ++a5 < u; ) { + if (c7 = r5.charAt(a5), c7 !== io5 || a5 >= Nh2) { + a5--; + break; + } + o5 += c7; + } + for (s5 = "", l5 = ""; ++a5 < u; ) { + if (c7 = r5.charAt(a5), c7 === on8) { + a5--; + break; + } + c7 === io5 || c7 === Oh2 ? l5 += c7 : (s5 += l5 + c7, l5 = ""); + } + if (i5.column += o5.length, i5.offset += o5.length, o5 += s5 + l5, c7 = r5.charAt(++a5), f7 = r5.charAt(++a5), !(c7 !== on8 || f7 !== uo5 && f7 !== qh2)) { + for (o5 += c7, l5 = f7, D7 = f7 === uo5 ? Ph2 : Ih2; ++a5 < u; ) { + if (c7 = r5.charAt(a5), c7 !== f7) { + if (c7 !== on8) return; + a5--; + break; + } + l5 += c7; + } + return t26 ? true : e7(o5 + l5)({ type: "heading", depth: D7, children: n5.tokenizeInline(s5, i5) }); + } + } + }); + cn6 = x5((sn9) => { + "use strict"; + var Lh2 = "[a-zA-Z_:][a-zA-Z0-9:._-]*", Rh = "[^\"'=<>`\\u0000-\\u0020]+", Mh2 = "'[^']*'", Uh2 = '"[^"]*"', Yh2 = "(?:" + Rh + "|" + Mh2 + "|" + Uh2 + ")", Gh2 = "(?:\\s+" + Lh2 + "(?:\\s*=\\s*" + Yh2 + ")?)", so5 = "<[A-Za-z][A-Za-z0-9\\-]*" + Gh2 + "*\\s*\\/?>", co5 = "<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>", zh = "|", Wh2 = "<[?].*?[?]>", Vh2 = "]*>", jh2 = ""; + sn9.openCloseTag = new RegExp("^(?:" + so5 + "|" + co5 + ")"); + sn9.tag = new RegExp("^(?:" + so5 + "|" + co5 + "|" + zh + "|" + Wh2 + "|" + Vh2 + "|" + jh2 + ")"); + }); + po5 = x5((Yv, Do3) => { + "use strict"; + var $h2 = cn6().openCloseTag; + Do3.exports = sd2; + var Hh2 = " ", Kh2 = " ", lo5 = ` +`, Xh = "<", Jh2 = /^<(script|pre|style)(?=(\s|>|$))/i, Qh2 = /<\/(script|pre|style)>/i, Zh2 = /^/, rd2 = /^<\?/, td2 = /\?>/, nd2 = /^/, ud = /^/, fo5 = /^$/, od2 = new RegExp($h2.source + "\\s*$"); + function sd2(e7, r5, t26) { + for (var n5 = this, i5 = n5.options.blocks.join("|"), u = new RegExp("^|$))", "i"), a5 = r5.length, o5 = 0, s5, l5, c7, f7, D7, m7, p4, h5 = [[Jh2, Qh2, true], [Zh2, ed2, true], [rd2, td2, true], [nd2, id2, true], [ud, ad2, true], [u, fo5, true], [od2, fo5, false]]; o5 < a5 && (f7 = r5.charAt(o5), !(f7 !== Hh2 && f7 !== Kh2)); ) o5++; + if (r5.charAt(o5) === Xh) { + for (s5 = r5.indexOf(lo5, o5 + 1), s5 = s5 === -1 ? a5 : s5, l5 = r5.slice(o5, s5), c7 = -1, D7 = h5.length; ++c7 < D7; ) if (h5[c7][0].test(l5)) { + m7 = h5[c7]; + break; + } + if (m7) { + if (t26) return m7[2]; + if (o5 = s5, !m7[1].test(l5)) for (; o5 < a5; ) { + if (s5 = r5.indexOf(lo5, o5 + 1), s5 = s5 === -1 ? a5 : s5, l5 = r5.slice(o5 + 1, s5), m7[1].test(l5)) { + l5 && (o5 = s5); + break; + } + o5 = s5; + } + return p4 = r5.slice(0, o5), e7(p4)({ type: "html", value: p4 }); + } + } + } + }); + se8 = x5((Gv, ho3) => { + "use strict"; + ho3.exports = fd; + var cd2 = String.fromCharCode, ld2 = /\s/; + function fd(e7) { + return ld2.test(typeof e7 == "number" ? cd2(e7) : e7.charAt(0)); + } + }); + ln6 = x5((zv2, mo3) => { + "use strict"; + var Dd2 = Tr6(); + mo3.exports = pd; + function pd(e7) { + return Dd2(e7).toLowerCase(); + } + }); + bo3 = x5((Wv, Ao3) => { + "use strict"; + var hd2 = se8(), dd = ln6(); + Ao3.exports = Ed2; + var Fo3 = '"', go3 = "'", md = "\\", Qe11 = ` +`, nt11 = " ", it10 = " ", Dn7 = "[", vr6 = "]", Fd2 = "(", gd2 = ")", Eo3 = ":", Co3 = "<", vo4 = ">"; + function Ed2(e7, r5, t26) { + for (var n5 = this, i5 = n5.options.commonmark, u = 0, a5 = r5.length, o5 = "", s5, l5, c7, f7, D7, m7, p4, h5; u < a5 && (f7 = r5.charAt(u), !(f7 !== it10 && f7 !== nt11)); ) o5 += f7, u++; + if (f7 = r5.charAt(u), f7 === Dn7) { + for (u++, o5 += f7, c7 = ""; u < a5 && (f7 = r5.charAt(u), f7 !== vr6); ) f7 === md && (c7 += f7, u++, f7 = r5.charAt(u)), c7 += f7, u++; + if (!(!c7 || r5.charAt(u) !== vr6 || r5.charAt(u + 1) !== Eo3)) { + for (m7 = c7, o5 += c7 + vr6 + Eo3, u = o5.length, c7 = ""; u < a5 && (f7 = r5.charAt(u), !(f7 !== nt11 && f7 !== it10 && f7 !== Qe11)); ) o5 += f7, u++; + if (f7 = r5.charAt(u), c7 = "", s5 = o5, f7 === Co3) { + for (u++; u < a5 && (f7 = r5.charAt(u), !!fn9(f7)); ) c7 += f7, u++; + if (f7 = r5.charAt(u), f7 === fn9.delimiter) o5 += Co3 + c7 + f7, u++; + else { + if (i5) return; + u -= c7.length + 1, c7 = ""; + } + } + if (!c7) { + for (; u < a5 && (f7 = r5.charAt(u), !!Cd2(f7)); ) c7 += f7, u++; + o5 += c7; + } + if (c7) { + for (p4 = c7, c7 = ""; u < a5 && (f7 = r5.charAt(u), !(f7 !== nt11 && f7 !== it10 && f7 !== Qe11)); ) c7 += f7, u++; + if (f7 = r5.charAt(u), D7 = null, f7 === Fo3 ? D7 = Fo3 : f7 === go3 ? D7 = go3 : f7 === Fd2 && (D7 = gd2), !D7) c7 = "", u = o5.length; + else if (c7) { + for (o5 += c7 + f7, u = o5.length, c7 = ""; u < a5 && (f7 = r5.charAt(u), f7 !== D7); ) { + if (f7 === Qe11) { + if (u++, f7 = r5.charAt(u), f7 === Qe11 || f7 === D7) return; + c7 += Qe11; + } + c7 += f7, u++; + } + if (f7 = r5.charAt(u), f7 !== D7) return; + l5 = o5, o5 += c7 + f7, u++, h5 = c7, c7 = ""; + } else return; + for (; u < a5 && (f7 = r5.charAt(u), !(f7 !== nt11 && f7 !== it10)); ) o5 += f7, u++; + if (f7 = r5.charAt(u), !f7 || f7 === Qe11) return t26 ? true : (s5 = e7(s5).test().end, p4 = n5.decode.raw(n5.unescape(p4), s5, { nonTerminated: false }), h5 && (l5 = e7(l5).test().end, h5 = n5.decode.raw(n5.unescape(h5), l5)), e7(o5)({ type: "definition", identifier: dd(m7), label: m7, title: h5 || null, url: p4 })); + } + } + } + } + function fn9(e7) { + return e7 !== vo4 && e7 !== Dn7 && e7 !== vr6; + } + fn9.delimiter = vo4; + function Cd2(e7) { + return e7 !== Dn7 && e7 !== vr6 && !hd2(e7); + } + }); + wo4 = x5((Vv, yo3) => { + "use strict"; + var vd2 = se8(); + yo3.exports = Od2; + var Ad2 = " ", ut10 = ` +`, bd2 = " ", xd2 = "-", yd2 = ":", wd2 = "\\", pn8 = "|", kd2 = 1, Td2 = 2, xo4 = "left", Bd2 = "center", _d2 = "right"; + function Od2(e7, r5, t26) { + var n5 = this, i5, u, a5, o5, s5, l5, c7, f7, D7, m7, p4, h5, F10, g5, E7, v9, A9, b7, d5, y10, w8, C8; + if (n5.options.gfm) { + for (i5 = 0, v9 = 0, l5 = r5.length + 1, c7 = []; i5 < l5; ) { + if (y10 = r5.indexOf(ut10, i5), w8 = r5.indexOf(pn8, i5 + 1), y10 === -1 && (y10 = r5.length), w8 === -1 || w8 > y10) { + if (v9 < Td2) return; + break; + } + c7.push(r5.slice(i5, y10)), v9++, i5 = y10 + 1; + } + for (o5 = c7.join(ut10), u = c7.splice(1, 1)[0] || [], i5 = 0, l5 = u.length, v9--, a5 = false, p4 = []; i5 < l5; ) { + if (D7 = u.charAt(i5), D7 === pn8) { + if (m7 = null, a5 === false) { + if (C8 === false) return; + } else p4.push(a5), a5 = false; + C8 = false; + } else if (D7 === xd2) m7 = true, a5 = a5 || null; + else if (D7 === yd2) a5 === xo4 ? a5 = Bd2 : m7 && a5 === null ? a5 = _d2 : a5 = xo4; + else if (!vd2(D7)) return; + i5++; + } + if (a5 !== false && p4.push(a5), !(p4.length < kd2)) { + if (t26) return true; + for (E7 = -1, b7 = [], d5 = e7(o5).reset({ type: "table", align: p4, children: b7 }); ++E7 < v9; ) { + for (A9 = c7[E7], s5 = { type: "tableRow", children: [] }, E7 && e7(ut10), e7(A9).reset(s5, d5), l5 = A9.length + 1, i5 = 0, f7 = "", h5 = "", F10 = true; i5 < l5; ) { + if (D7 = A9.charAt(i5), D7 === Ad2 || D7 === bd2) { + h5 ? f7 += D7 : e7(D7), i5++; + continue; + } + D7 === "" || D7 === pn8 ? F10 ? e7(D7) : ((h5 || D7) && !F10 && (o5 = h5, f7.length > 1 && (D7 ? (o5 += f7.slice(0, -1), f7 = f7.charAt(f7.length - 1)) : (o5 += f7, f7 = "")), g5 = e7.now(), e7(o5)({ type: "tableCell", children: n5.tokenizeInline(h5, g5) }, s5)), e7(f7 + D7), f7 = "", h5 = "") : (f7 && (h5 += f7, f7 = ""), h5 += D7, D7 === wd2 && i5 !== l5 - 2 && (h5 += A9.charAt(i5 + 1), i5++)), F10 = false, i5++; + } + E7 || e7(ut10 + u); + } + return d5; + } + } + } + }); + Bo3 = x5((jv, To4) => { + "use strict"; + var qd2 = Le8(), Nd2 = Qt7(), Pd2 = rt9(); + To4.exports = Ld2; + var Id2 = " ", Ar7 = ` +`, Sd2 = " ", ko3 = 4; + function Ld2(e7, r5, t26) { + for (var n5 = this, i5 = n5.options, u = i5.commonmark, a5 = n5.blockTokenizers, o5 = n5.interruptParagraph, s5 = r5.indexOf(Ar7), l5 = r5.length, c7, f7, D7, m7, p4; s5 < l5; ) { + if (s5 === -1) { + s5 = l5; + break; + } + if (r5.charAt(s5 + 1) === Ar7) break; + if (u) { + for (m7 = 0, c7 = s5 + 1; c7 < l5; ) { + if (D7 = r5.charAt(c7), D7 === Id2) { + m7 = ko3; + break; + } else if (D7 === Sd2) m7++; + else break; + c7++; + } + if (m7 >= ko3 && D7 !== Ar7) { + s5 = r5.indexOf(Ar7, s5 + 1); + continue; + } + } + if (f7 = r5.slice(s5 + 1), Pd2(o5, a5, n5, [e7, f7, true])) break; + if (c7 = s5, s5 = r5.indexOf(Ar7, s5 + 1), s5 !== -1 && qd2(r5.slice(c7, s5)) === "") { + s5 = c7; + break; + } + } + return f7 = r5.slice(0, s5), t26 ? true : (p4 = e7.now(), f7 = Nd2(f7), e7(f7)({ type: "paragraph", children: n5.tokenizeInline(f7, p4) })); + } + }); + Oo3 = x5(($v, _o3) => { + "use strict"; + _o3.exports = Rd2; + function Rd2(e7, r5) { + return e7.indexOf("\\", r5); + } + }); + Io3 = x5((Hv, Po5) => { + "use strict"; + var Md2 = Oo3(); + Po5.exports = No3; + No3.locator = Md2; + var Ud2 = ` +`, qo4 = "\\"; + function No3(e7, r5, t26) { + var n5 = this, i5, u; + if (r5.charAt(0) === qo4 && (i5 = r5.charAt(1), n5.escape.indexOf(i5) !== -1)) return t26 ? true : (i5 === Ud2 ? u = { type: "break" } : u = { type: "text", value: i5 }, e7(qo4 + i5)(u)); + } + }); + hn6 = x5((Kv, So4) => { + "use strict"; + So4.exports = Yd2; + function Yd2(e7, r5) { + return e7.indexOf("<", r5); + } + }); + Yo3 = x5((Xv, Uo4) => { + "use strict"; + var Lo4 = se8(), Gd2 = mr6(), zd2 = hn6(); + Uo4.exports = gn8; + gn8.locator = zd2; + gn8.notInLink = true; + var Ro3 = "<", dn9 = ">", Mo3 = "@", mn8 = "/", Fn6 = "mailto:", at11 = Fn6.length; + function gn8(e7, r5, t26) { + var n5 = this, i5 = "", u = r5.length, a5 = 0, o5 = "", s5 = false, l5 = "", c7, f7, D7, m7, p4; + if (r5.charAt(0) === Ro3) { + for (a5++, i5 = Ro3; a5 < u && (c7 = r5.charAt(a5), !(Lo4(c7) || c7 === dn9 || c7 === Mo3 || c7 === ":" && r5.charAt(a5 + 1) === mn8)); ) o5 += c7, a5++; + if (o5) { + if (l5 += o5, o5 = "", c7 = r5.charAt(a5), l5 += c7, a5++, c7 === Mo3) s5 = true; + else { + if (c7 !== ":" || r5.charAt(a5 + 1) !== mn8) return; + l5 += mn8, a5++; + } + for (; a5 < u && (c7 = r5.charAt(a5), !(Lo4(c7) || c7 === dn9)); ) o5 += c7, a5++; + if (c7 = r5.charAt(a5), !(!o5 || c7 !== dn9)) return t26 ? true : (l5 += o5, D7 = l5, i5 += l5 + c7, f7 = e7.now(), f7.column++, f7.offset++, s5 && (l5.slice(0, at11).toLowerCase() === Fn6 ? (D7 = D7.slice(at11), f7.column += at11, f7.offset += at11) : l5 = Fn6 + l5), m7 = n5.inlineTokenizers, n5.inlineTokenizers = { text: m7.text }, p4 = n5.enterLink(), D7 = n5.tokenizeInline(D7, f7), n5.inlineTokenizers = m7, p4(), e7(i5)({ type: "link", title: null, url: Gd2(l5, { nonTerminated: false }), children: D7 })); + } + } + } + }); + zo3 = x5((Jv, Go3) => { + "use strict"; + Go3.exports = Wd2; + function Wd2(e7, r5) { + var t26 = String(e7), n5 = 0, i5; + if (typeof r5 != "string") throw new Error("Expected character"); + for (i5 = t26.indexOf(r5); i5 !== -1; ) n5++, i5 = t26.indexOf(r5, i5 + r5.length); + return n5; + } + }); + jo3 = x5((Qv, Vo3) => { + "use strict"; + Vo3.exports = Vd2; + var Wo3 = ["www.", "http://", "https://"]; + function Vd2(e7, r5) { + var t26 = -1, n5, i5, u; + if (!this.options.gfm) return t26; + for (i5 = Wo3.length, n5 = -1; ++n5 < i5; ) u = e7.indexOf(Wo3[n5], r5), u !== -1 && (t26 === -1 || u < t26) && (t26 = u); + return t26; + } + }); + Jo3 = x5((Zv, Xo3) => { + "use strict"; + var $o3 = zo3(), jd2 = mr6(), $d2 = Se8(), En9 = $e8(), Hd2 = se8(), Kd2 = jo3(); + Xo3.exports = vn7; + vn7.locator = Kd2; + vn7.notInLink = true; + var Xd2 = 33, Jd2 = 38, Qd2 = 41, Zd2 = 42, e02 = 44, r02 = 45, Cn8 = 46, t02 = 58, n02 = 59, i02 = 63, u02 = 60, Ho3 = 95, a02 = 126, o02 = "(", Ko3 = ")"; + function vn7(e7, r5, t26) { + var n5 = this, i5 = n5.options.gfm, u = n5.inlineTokenizers, a5 = r5.length, o5 = -1, s5 = false, l5, c7, f7, D7, m7, p4, h5, F10, g5, E7, v9, A9, b7, d5; + if (i5) { + if (r5.slice(0, 4) === "www.") s5 = true, D7 = 4; + else if (r5.slice(0, 7).toLowerCase() === "http://") D7 = 7; + else if (r5.slice(0, 8).toLowerCase() === "https://") D7 = 8; + else return; + for (o5 = D7 - 1, f7 = D7, l5 = []; D7 < a5; ) { + if (h5 = r5.charCodeAt(D7), h5 === Cn8) { + if (o5 === D7 - 1) break; + l5.push(D7), o5 = D7, D7++; + continue; + } + if ($d2(h5) || En9(h5) || h5 === r02 || h5 === Ho3) { + D7++; + continue; + } + break; + } + if (h5 === Cn8 && (l5.pop(), D7--), l5[0] !== void 0 && (c7 = l5.length < 2 ? f7 : l5[l5.length - 2] + 1, r5.slice(c7, D7).indexOf("_") === -1)) { + if (t26) return true; + for (F10 = D7, m7 = D7; D7 < a5 && (h5 = r5.charCodeAt(D7), !(Hd2(h5) || h5 === u02)); ) D7++, h5 === Xd2 || h5 === Zd2 || h5 === e02 || h5 === Cn8 || h5 === t02 || h5 === i02 || h5 === Ho3 || h5 === a02 || (F10 = D7); + if (D7 = F10, r5.charCodeAt(D7 - 1) === Qd2) for (p4 = r5.slice(m7, D7), g5 = $o3(p4, o02), E7 = $o3(p4, Ko3); E7 > g5; ) D7 = m7 + p4.lastIndexOf(Ko3), p4 = r5.slice(m7, D7), E7--; + if (r5.charCodeAt(D7 - 1) === n02 && (D7--, En9(r5.charCodeAt(D7 - 1)))) { + for (F10 = D7 - 2; En9(r5.charCodeAt(F10)); ) F10--; + r5.charCodeAt(F10) === Jd2 && (D7 = F10); + } + return v9 = r5.slice(0, D7), b7 = jd2(v9, { nonTerminated: false }), s5 && (b7 = "http://" + b7), d5 = n5.enterLink(), n5.inlineTokenizers = { text: u.text }, A9 = n5.tokenizeInline(v9, e7.now()), n5.inlineTokenizers = u, d5(), e7(v9)({ type: "link", title: null, url: b7, children: A9 }); + } + } + } + }); + rs6 = x5((e24, es8) => { + "use strict"; + var s02 = Se8(), c02 = $e8(), l02 = 43, f02 = 45, D02 = 46, p02 = 95; + es8.exports = Zo3; + function Zo3(e7, r5) { + var t26 = this, n5, i5; + if (!this.options.gfm || (n5 = e7.indexOf("@", r5), n5 === -1)) return -1; + if (i5 = n5, i5 === r5 || !Qo4(e7.charCodeAt(i5 - 1))) return Zo3.call(t26, e7, n5 + 1); + for (; i5 > r5 && Qo4(e7.charCodeAt(i5 - 1)); ) i5--; + return i5; + } + function Qo4(e7) { + return s02(e7) || c02(e7) || e7 === l02 || e7 === f02 || e7 === D02 || e7 === p02; + } + }); + us7 = x5((r23, is9) => { + "use strict"; + var h02 = mr6(), ts8 = Se8(), ns8 = $e8(), d02 = rs6(); + is9.exports = xn8; + xn8.locator = d02; + xn8.notInLink = true; + var m02 = 43, An8 = 45, ot8 = 46, F0 = 64, bn7 = 95; + function xn8(e7, r5, t26) { + var n5 = this, i5 = n5.options.gfm, u = n5.inlineTokenizers, a5 = 0, o5 = r5.length, s5 = -1, l5, c7, f7, D7; + if (i5) { + for (l5 = r5.charCodeAt(a5); ts8(l5) || ns8(l5) || l5 === m02 || l5 === An8 || l5 === ot8 || l5 === bn7; ) l5 = r5.charCodeAt(++a5); + if (a5 !== 0 && l5 === F0) { + for (a5++; a5 < o5; ) { + if (l5 = r5.charCodeAt(a5), ts8(l5) || ns8(l5) || l5 === An8 || l5 === ot8 || l5 === bn7) { + a5++, s5 === -1 && l5 === ot8 && (s5 = a5); + continue; + } + break; + } + if (!(s5 === -1 || s5 === a5 || l5 === An8 || l5 === bn7)) return l5 === ot8 && a5--, c7 = r5.slice(0, a5), t26 ? true : (D7 = n5.enterLink(), n5.inlineTokenizers = { text: u.text }, f7 = n5.tokenizeInline(c7, e7.now()), n5.inlineTokenizers = u, D7(), e7(c7)({ type: "link", title: null, url: "mailto:" + h02(c7, { nonTerminated: false }), children: f7 })); + } + } + } + }); + ss7 = x5((t26, os12) => { + "use strict"; + var g02 = $e8(), E02 = hn6(), C02 = cn6().tag; + os12.exports = as8; + as8.locator = E02; + var v02 = "<", A02 = "?", b02 = "!", x02 = "/", y02 = /^/i; + function as8(e7, r5, t27) { + var n5 = this, i5 = r5.length, u, a5; + if (!(r5.charAt(0) !== v02 || i5 < 3) && (u = r5.charAt(1), !(!g02(u) && u !== A02 && u !== b02 && u !== x02) && (a5 = r5.match(C02), !!a5))) return t27 ? true : (a5 = a5[0], !n5.inLink && y02.test(a5) ? n5.inLink = true : n5.inLink && w02.test(a5) && (n5.inLink = false), e7(a5)({ type: "html", value: a5 })); + } + }); + yn6 = x5((n24, cs7) => { + "use strict"; + cs7.exports = k02; + function k02(e7, r5) { + var t26 = e7.indexOf("[", r5), n5 = e7.indexOf("![", r5); + return n5 === -1 || t26 < n5 ? t26 : n5; + } + }); + ms7 = x5((i23, ds7) => { + "use strict"; + var br7 = se8(), T02 = yn6(); + ds7.exports = hs8; + hs8.locator = T02; + var B0 = ` +`, _02 = "!", ls7 = '"', fs14 = "'", Ze11 = "(", xr6 = ")", wn8 = "<", kn9 = ">", Ds8 = "[", yr7 = "\\", O0 = "]", ps7 = "`"; + function hs8(e7, r5, t26) { + var n5 = this, i5 = "", u = 0, a5 = r5.charAt(0), o5 = n5.options.pedantic, s5 = n5.options.commonmark, l5 = n5.options.gfm, c7, f7, D7, m7, p4, h5, F10, g5, E7, v9, A9, b7, d5, y10, w8, C8, k8, T7; + if (a5 === _02 && (g5 = true, i5 = a5, a5 = r5.charAt(++u)), a5 === Ds8 && !(!g5 && n5.inLink)) { + for (i5 += a5, y10 = "", u++, A9 = r5.length, C8 = e7.now(), d5 = 0, C8.column += u, C8.offset += u; u < A9; ) { + if (a5 = r5.charAt(u), h5 = a5, a5 === ps7) { + for (f7 = 1; r5.charAt(u + 1) === ps7; ) h5 += a5, u++, f7++; + D7 ? f7 >= D7 && (D7 = 0) : D7 = f7; + } else if (a5 === yr7) u++, h5 += r5.charAt(u); + else if ((!D7 || l5) && a5 === Ds8) d5++; + else if ((!D7 || l5) && a5 === O0) if (d5) d5--; + else { + if (r5.charAt(u + 1) !== Ze11) return; + h5 += Ze11, c7 = true, u++; + break; + } + y10 += h5, h5 = "", u++; + } + if (c7) { + for (E7 = y10, i5 += y10 + h5, u++; u < A9 && (a5 = r5.charAt(u), !!br7(a5)); ) i5 += a5, u++; + if (a5 = r5.charAt(u), y10 = "", m7 = i5, a5 === wn8) { + for (u++, m7 += wn8; u < A9 && (a5 = r5.charAt(u), a5 !== kn9); ) { + if (s5 && a5 === B0) return; + y10 += a5, u++; + } + if (r5.charAt(u) !== kn9) return; + i5 += wn8 + y10 + kn9, w8 = y10, u++; + } else { + for (a5 = null, h5 = ""; u < A9 && (a5 = r5.charAt(u), !(h5 && (a5 === ls7 || a5 === fs14 || s5 && a5 === Ze11))); ) { + if (br7(a5)) { + if (!o5) break; + h5 += a5; + } else { + if (a5 === Ze11) d5++; + else if (a5 === xr6) { + if (d5 === 0) break; + d5--; + } + y10 += h5, h5 = "", a5 === yr7 && (y10 += yr7, a5 = r5.charAt(++u)), y10 += a5; + } + u++; + } + i5 += y10, w8 = y10, u = i5.length; + } + for (y10 = ""; u < A9 && (a5 = r5.charAt(u), !!br7(a5)); ) y10 += a5, u++; + if (a5 = r5.charAt(u), i5 += y10, y10 && (a5 === ls7 || a5 === fs14 || s5 && a5 === Ze11)) if (u++, i5 += a5, y10 = "", v9 = a5 === Ze11 ? xr6 : a5, p4 = i5, s5) { + for (; u < A9 && (a5 = r5.charAt(u), a5 !== v9); ) a5 === yr7 && (y10 += yr7, a5 = r5.charAt(++u)), u++, y10 += a5; + if (a5 = r5.charAt(u), a5 !== v9) return; + for (b7 = y10, i5 += y10 + a5, u++; u < A9 && (a5 = r5.charAt(u), !!br7(a5)); ) i5 += a5, u++; + } else for (h5 = ""; u < A9; ) { + if (a5 = r5.charAt(u), a5 === v9) F10 && (y10 += v9 + h5, h5 = ""), F10 = true; + else if (!F10) y10 += a5; + else if (a5 === xr6) { + i5 += y10 + v9 + h5, b7 = y10; + break; + } else br7(a5) ? h5 += a5 : (y10 += v9 + h5 + a5, h5 = "", F10 = false); + u++; + } + if (r5.charAt(u) === xr6) return t26 ? true : (i5 += xr6, w8 = n5.decode.raw(n5.unescape(w8), e7(m7).test().end, { nonTerminated: false }), b7 && (p4 = e7(p4).test().end, b7 = n5.decode.raw(n5.unescape(b7), p4)), T7 = { type: g5 ? "image" : "link", title: b7 || null, url: w8 }, g5 ? T7.alt = n5.decode.raw(n5.unescape(E7), C8) || null : (k8 = n5.enterLink(), T7.children = n5.tokenizeInline(E7, C8), k8()), e7(i5)(T7)); + } + } + } + }); + Es6 = x5((u23, gs7) => { + "use strict"; + var q0 = se8(), N02 = yn6(), P02 = ln6(); + gs7.exports = Fs9; + Fs9.locator = N02; + var Tn7 = "link", I02 = "image", S02 = "shortcut", L0 = "collapsed", Bn7 = "full", R0 = "!", st8 = "[", ct9 = "\\", lt8 = "]"; + function Fs9(e7, r5, t26) { + var n5 = this, i5 = n5.options.commonmark, u = r5.charAt(0), a5 = 0, o5 = r5.length, s5 = "", l5 = "", c7 = Tn7, f7 = S02, D7, m7, p4, h5, F10, g5, E7, v9; + if (u === R0 && (c7 = I02, l5 = u, u = r5.charAt(++a5)), u === st8) { + for (a5++, l5 += u, g5 = "", v9 = 0; a5 < o5; ) { + if (u = r5.charAt(a5), u === st8) E7 = true, v9++; + else if (u === lt8) { + if (!v9) break; + v9--; + } + u === ct9 && (g5 += ct9, u = r5.charAt(++a5)), g5 += u, a5++; + } + if (s5 = g5, D7 = g5, u = r5.charAt(a5), u === lt8) { + if (a5++, s5 += u, g5 = "", !i5) for (; a5 < o5 && (u = r5.charAt(a5), !!q0(u)); ) g5 += u, a5++; + if (u = r5.charAt(a5), u === st8) { + for (m7 = "", g5 += u, a5++; a5 < o5 && (u = r5.charAt(a5), !(u === st8 || u === lt8)); ) u === ct9 && (m7 += ct9, u = r5.charAt(++a5)), m7 += u, a5++; + u = r5.charAt(a5), u === lt8 ? (f7 = m7 ? Bn7 : L0, g5 += m7 + u, a5++) : m7 = "", s5 += g5, g5 = ""; + } else { + if (!D7) return; + m7 = D7; + } + if (!(f7 !== Bn7 && E7)) return s5 = l5 + s5, c7 === Tn7 && n5.inLink ? null : t26 ? true : (p4 = e7.now(), p4.column += l5.length, p4.offset += l5.length, m7 = f7 === Bn7 ? m7 : D7, h5 = { type: c7 + "Reference", identifier: P02(m7), label: m7, referenceType: f7 }, c7 === Tn7 ? (F10 = n5.enterLink(), h5.children = n5.tokenizeInline(D7, p4), F10()) : h5.alt = n5.decode.raw(n5.unescape(D7), p4) || null, e7(s5)(h5)); + } + } + } + }); + vs8 = x5((a24, Cs6) => { + "use strict"; + Cs6.exports = M0; + function M0(e7, r5) { + var t26 = e7.indexOf("**", r5), n5 = e7.indexOf("__", r5); + return n5 === -1 ? t26 : t26 === -1 || n5 < t26 ? n5 : t26; + } + }); + ys7 = x5((o24, xs8) => { + "use strict"; + var U0 = Le8(), As8 = se8(), Y0 = vs8(); + xs8.exports = bs8; + bs8.locator = Y0; + var G0 = "\\", z0 = "*", W0 = "_"; + function bs8(e7, r5, t26) { + var n5 = this, i5 = 0, u = r5.charAt(i5), a5, o5, s5, l5, c7, f7, D7; + if (!(u !== z0 && u !== W0 || r5.charAt(++i5) !== u) && (o5 = n5.options.pedantic, s5 = u, c7 = s5 + s5, f7 = r5.length, i5++, l5 = "", u = "", !(o5 && As8(r5.charAt(i5))))) for (; i5 < f7; ) { + if (D7 = u, u = r5.charAt(i5), u === s5 && r5.charAt(i5 + 1) === s5 && (!o5 || !As8(D7)) && (u = r5.charAt(i5 + 2), u !== s5)) return U0(l5) ? t26 ? true : (a5 = e7.now(), a5.column += 2, a5.offset += 2, e7(c7 + l5 + c7)({ type: "strong", children: n5.tokenizeInline(l5, a5) })) : void 0; + !o5 && u === G0 && (l5 += u, u = r5.charAt(++i5)), l5 += u, i5++; + } + } + }); + ks7 = x5((s23, ws8) => { + "use strict"; + ws8.exports = $0; + var V0 = String.fromCharCode, j0 = /\w/; + function $0(e7) { + return j0.test(typeof e7 == "number" ? V0(e7) : e7.charAt(0)); + } + }); + Bs8 = x5((c24, Ts6) => { + "use strict"; + Ts6.exports = H0; + function H0(e7, r5) { + var t26 = e7.indexOf("*", r5), n5 = e7.indexOf("_", r5); + return n5 === -1 ? t26 : t26 === -1 || n5 < t26 ? n5 : t26; + } + }); + Ps8 = x5((l24, Ns7) => { + "use strict"; + var K0 = Le8(), X0 = ks7(), _s7 = se8(), J0 = Bs8(); + Ns7.exports = qs9; + qs9.locator = J0; + var Q0 = "*", Os7 = "_", Z0 = "\\"; + function qs9(e7, r5, t26) { + var n5 = this, i5 = 0, u = r5.charAt(i5), a5, o5, s5, l5, c7, f7, D7; + if (!(u !== Q0 && u !== Os7) && (o5 = n5.options.pedantic, c7 = u, s5 = u, f7 = r5.length, i5++, l5 = "", u = "", !(o5 && _s7(r5.charAt(i5))))) for (; i5 < f7; ) { + if (D7 = u, u = r5.charAt(i5), u === s5 && (!o5 || !_s7(D7))) { + if (u = r5.charAt(++i5), u !== s5) { + if (!K0(l5) || D7 === s5) return; + if (!o5 && s5 === Os7 && X0(u)) { + l5 += s5; + continue; + } + return t26 ? true : (a5 = e7.now(), a5.column++, a5.offset++, e7(c7 + l5 + s5)({ type: "emphasis", children: n5.tokenizeInline(l5, a5) })); + } + l5 += s5; + } + !o5 && u === Z0 && (l5 += u, u = r5.charAt(++i5)), l5 += u, i5++; + } + } + }); + Ss6 = x5((f24, Is8) => { + "use strict"; + Is8.exports = em3; + function em3(e7, r5) { + return e7.indexOf("~~", r5); + } + }); + Ys8 = x5((D24, Us9) => { + "use strict"; + var Ls8 = se8(), rm4 = Ss6(); + Us9.exports = Ms8; + Ms8.locator = rm4; + var ft10 = "~", Rs9 = "~~"; + function Ms8(e7, r5, t26) { + var n5 = this, i5 = "", u = "", a5 = "", o5 = "", s5, l5, c7; + if (!(!n5.options.gfm || r5.charAt(0) !== ft10 || r5.charAt(1) !== ft10 || Ls8(r5.charAt(2)))) for (s5 = 1, l5 = r5.length, c7 = e7.now(), c7.column += 2, c7.offset += 2; ++s5 < l5; ) { + if (i5 = r5.charAt(s5), i5 === ft10 && u === ft10 && (!a5 || !Ls8(a5))) return t26 ? true : e7(Rs9 + o5 + Rs9)({ type: "delete", children: n5.tokenizeInline(o5, c7) }); + o5 += u, a5 = u, u = i5; + } + } + }); + zs8 = x5((p24, Gs8) => { + "use strict"; + Gs8.exports = tm3; + function tm3(e7, r5) { + return e7.indexOf("`", r5); + } + }); + js8 = x5((h24, Vs7) => { + "use strict"; + var nm3 = zs8(); + Vs7.exports = Ws8; + Ws8.locator = nm3; + var _n7 = 10, On7 = 32, qn8 = 96; + function Ws8(e7, r5, t26) { + for (var n5 = r5.length, i5 = 0, u, a5, o5, s5, l5, c7; i5 < n5 && r5.charCodeAt(i5) === qn8; ) i5++; + if (!(i5 === 0 || i5 === n5)) { + for (u = i5, l5 = r5.charCodeAt(i5); i5 < n5; ) { + if (s5 = l5, l5 = r5.charCodeAt(i5 + 1), s5 === qn8) { + if (a5 === void 0 && (a5 = i5), o5 = i5 + 1, l5 !== qn8 && o5 - a5 === u) { + c7 = true; + break; + } + } else a5 !== void 0 && (a5 = void 0, o5 = void 0); + i5++; + } + if (c7) { + if (t26) return true; + if (i5 = u, n5 = a5, s5 = r5.charCodeAt(i5), l5 = r5.charCodeAt(n5 - 1), c7 = false, n5 - i5 > 2 && (s5 === On7 || s5 === _n7) && (l5 === On7 || l5 === _n7)) { + for (i5++, n5--; i5 < n5; ) { + if (s5 = r5.charCodeAt(i5), s5 !== On7 && s5 !== _n7) { + c7 = true; + break; + } + i5++; + } + c7 === true && (u++, a5--); + } + return e7(r5.slice(0, o5))({ type: "inlineCode", value: r5.slice(u, a5) }); + } + } + } + }); + Hs8 = x5((d24, $s9) => { + "use strict"; + $s9.exports = im3; + function im3(e7, r5) { + for (var t26 = e7.indexOf(` +`, r5); t26 > r5 && e7.charAt(t26 - 1) === " "; ) t26--; + return t26; + } + }); + Js8 = x5((m24, Xs8) => { + "use strict"; + var um3 = Hs8(); + Xs8.exports = Ks8; + Ks8.locator = um3; + var am3 = " ", om3 = ` +`, sm3 = 2; + function Ks8(e7, r5, t26) { + for (var n5 = r5.length, i5 = -1, u = "", a5; ++i5 < n5; ) { + if (a5 = r5.charAt(i5), a5 === om3) return i5 < sm3 ? void 0 : t26 ? true : (u += a5, e7(u)({ type: "break" })); + if (a5 !== am3) return; + u += a5; + } + } + }); + Zs8 = x5((F24, Qs9) => { + "use strict"; + Qs9.exports = cm3; + function cm3(e7, r5, t26) { + var n5 = this, i5, u, a5, o5, s5, l5, c7, f7, D7, m7; + if (t26) return true; + for (i5 = n5.inlineMethods, o5 = i5.length, u = n5.inlineTokenizers, a5 = -1, D7 = r5.length; ++a5 < o5; ) f7 = i5[a5], !(f7 === "text" || !u[f7]) && (c7 = u[f7].locator, c7 || e7.file.fail("Missing locator: `" + f7 + "`"), l5 = c7.call(n5, r5, 1), l5 !== -1 && l5 < D7 && (D7 = l5)); + s5 = r5.slice(0, D7), m7 = e7.now(), n5.decode(s5, m7, p4); + function p4(h5, F10, g5) { + e7(g5 || h5)({ type: "text", value: h5 }); + } + } + }); + nc2 = x5((g24, tc3) => { + "use strict"; + var lm3 = Ie8(), Dt10 = Eu2(), fm3 = vu2(), Dm3 = bu2(), pm3 = Ju2(), Nn6 = ea4(); + tc3.exports = ec3; + function ec3(e7, r5) { + this.file = r5, this.offset = {}, this.options = lm3(this.options), this.setOptions({}), this.inList = false, this.inBlock = false, this.inLink = false, this.atStart = true, this.toOffset = fm3(r5).toOffset, this.unescape = Dm3(this, "escape"), this.decode = pm3(this); + } + var Y7 = ec3.prototype; + Y7.setOptions = sa4(); + Y7.parse = xa3(); + Y7.options = Kt7(); + Y7.exitStart = Dt10("atStart", true); + Y7.enterList = Dt10("inList", false); + Y7.enterLink = Dt10("inLink", false); + Y7.enterBlock = Dt10("inBlock", false); + Y7.interruptParagraph = [["thematicBreak"], ["list"], ["atxHeading"], ["fencedCode"], ["blockquote"], ["html"], ["setextHeading", { commonmark: false }], ["definition", { commonmark: false }]]; + Y7.interruptList = [["atxHeading", { pedantic: false }], ["fencedCode", { pedantic: false }], ["thematicBreak", { pedantic: false }], ["definition", { commonmark: false }]]; + Y7.interruptBlockquote = [["indentedCode", { commonmark: true }], ["fencedCode", { commonmark: true }], ["atxHeading", { commonmark: true }], ["setextHeading", { commonmark: true }], ["thematicBreak", { commonmark: true }], ["html", { commonmark: true }], ["list", { commonmark: true }], ["definition", { commonmark: false }]]; + Y7.blockTokenizers = { blankLine: wa3(), indentedCode: Oa3(), fencedCode: Pa3(), blockquote: Ua4(), atxHeading: za3(), thematicBreak: ja4(), list: no5(), setextHeading: oo5(), html: po5(), definition: bo3(), table: wo4(), paragraph: Bo3() }; + Y7.inlineTokenizers = { escape: Io3(), autoLink: Yo3(), url: Jo3(), email: us7(), html: ss7(), link: ms7(), reference: Es6(), strong: ys7(), emphasis: Ps8(), deletion: Ys8(), code: js8(), break: Js8(), text: Zs8() }; + Y7.blockMethods = rc3(Y7.blockTokenizers); + Y7.inlineMethods = rc3(Y7.inlineTokenizers); + Y7.tokenizeBlock = Nn6("block"); + Y7.tokenizeInline = Nn6("inline"); + Y7.tokenizeFactory = Nn6; + function rc3(e7) { + var r5 = [], t26; + for (t26 in e7) r5.push(t26); + return r5; + } + }); + oc2 = x5((E24, ac3) => { + "use strict"; + var hm3 = Fu2(), dm3 = Ie8(), ic3 = nc2(); + ac3.exports = uc3; + uc3.Parser = ic3; + function uc3(e7) { + var r5 = this.data("settings"), t26 = hm3(ic3); + t26.prototype.options = dm3(t26.prototype.options, r5, e7), this.Parser = t26; + } + }); + cc2 = x5((C24, sc3) => { + "use strict"; + sc3.exports = mm3; + function mm3(e7) { + if (e7) throw e7; + } + }); + Pn5 = x5((v24, lc3) => { + lc3.exports = function(r5) { + return r5 != null && r5.constructor != null && typeof r5.constructor.isBuffer == "function" && r5.constructor.isBuffer(r5); + }; + }); + Ec2 = x5((A24, gc3) => { + "use strict"; + var pt10 = Object.prototype.hasOwnProperty, Fc2 = Object.prototype.toString, fc3 = Object.defineProperty, Dc2 = Object.getOwnPropertyDescriptor, pc3 = function(r5) { + return typeof Array.isArray == "function" ? Array.isArray(r5) : Fc2.call(r5) === "[object Array]"; + }, hc3 = function(r5) { + if (!r5 || Fc2.call(r5) !== "[object Object]") return false; + var t26 = pt10.call(r5, "constructor"), n5 = r5.constructor && r5.constructor.prototype && pt10.call(r5.constructor.prototype, "isPrototypeOf"); + if (r5.constructor && !t26 && !n5) return false; + var i5; + for (i5 in r5) ; + return typeof i5 > "u" || pt10.call(r5, i5); + }, dc3 = function(r5, t26) { + fc3 && t26.name === "__proto__" ? fc3(r5, t26.name, { enumerable: true, configurable: true, value: t26.newValue, writable: true }) : r5[t26.name] = t26.newValue; + }, mc3 = function(r5, t26) { + if (t26 === "__proto__") if (pt10.call(r5, t26)) { + if (Dc2) return Dc2(r5, t26).value; + } else return; + return r5[t26]; + }; + gc3.exports = function e7() { + var r5, t26, n5, i5, u, a5, o5 = arguments[0], s5 = 1, l5 = arguments.length, c7 = false; + for (typeof o5 == "boolean" && (c7 = o5, o5 = arguments[1] || {}, s5 = 2), (o5 == null || typeof o5 != "object" && typeof o5 != "function") && (o5 = {}); s5 < l5; ++s5) if (r5 = arguments[s5], r5 != null) for (t26 in r5) n5 = mc3(o5, t26), i5 = mc3(r5, t26), o5 !== i5 && (c7 && i5 && (hc3(i5) || (u = pc3(i5))) ? (u ? (u = false, a5 = n5 && pc3(n5) ? n5 : []) : a5 = n5 && hc3(n5) ? n5 : {}, dc3(o5, { name: t26, newValue: e7(c7, a5, i5) })) : typeof i5 < "u" && dc3(o5, { name: t26, newValue: i5 })); + return o5; + }; + }); + vc2 = x5((b24, Cc3) => { + "use strict"; + Cc3.exports = (e7) => { + if (Object.prototype.toString.call(e7) !== "[object Object]") return false; + let r5 = Object.getPrototypeOf(e7); + return r5 === null || r5 === Object.prototype; + }; + }); + bc2 = x5((x24, Ac3) => { + "use strict"; + var Fm3 = [].slice; + Ac3.exports = gm3; + function gm3(e7, r5) { + var t26; + return n5; + function n5() { + var a5 = Fm3.call(arguments, 0), o5 = e7.length > a5.length, s5; + o5 && a5.push(i5); + try { + s5 = e7.apply(null, a5); + } catch (l5) { + if (o5 && t26) throw l5; + return i5(l5); + } + o5 || (s5 && typeof s5.then == "function" ? s5.then(u, i5) : s5 instanceof Error ? i5(s5) : u(s5)); + } + function i5() { + t26 || (t26 = true, r5.apply(null, arguments)); + } + function u(a5) { + i5(null, a5); + } + } + }); + Tc2 = x5((y24, kc3) => { + "use strict"; + var yc3 = bc2(); + kc3.exports = wc3; + wc3.wrap = yc3; + var xc3 = [].slice; + function wc3() { + var e7 = [], r5 = {}; + return r5.run = t26, r5.use = n5, r5; + function t26() { + var i5 = -1, u = xc3.call(arguments, 0, -1), a5 = arguments[arguments.length - 1]; + if (typeof a5 != "function") throw new Error("Expected function as last argument, not " + a5); + o5.apply(null, [null].concat(u)); + function o5(s5) { + var l5 = e7[++i5], c7 = xc3.call(arguments, 0), f7 = c7.slice(1), D7 = u.length, m7 = -1; + if (s5) { + a5(s5); + return; + } + for (; ++m7 < D7; ) (f7[m7] === null || f7[m7] === void 0) && (f7[m7] = u[m7]); + u = f7, l5 ? yc3(l5, o5).apply(null, u) : a5.apply(null, [null].concat(u)); + } + } + function n5(i5) { + if (typeof i5 != "function") throw new Error("Expected `fn` to be a function, not " + i5); + return e7.push(i5), r5; + } + } + }); + qc2 = x5((w24, Oc3) => { + "use strict"; + var er10 = {}.hasOwnProperty; + Oc3.exports = Em3; + function Em3(e7) { + return !e7 || typeof e7 != "object" ? "" : er10.call(e7, "position") || er10.call(e7, "type") ? Bc2(e7.position) : er10.call(e7, "start") || er10.call(e7, "end") ? Bc2(e7) : er10.call(e7, "line") || er10.call(e7, "column") ? In7(e7) : ""; + } + function In7(e7) { + return (!e7 || typeof e7 != "object") && (e7 = {}), _c3(e7.line) + ":" + _c3(e7.column); + } + function Bc2(e7) { + return (!e7 || typeof e7 != "object") && (e7 = {}), In7(e7.start) + "-" + In7(e7.end); + } + function _c3(e7) { + return e7 && typeof e7 == "number" ? e7 : 1; + } + }); + Ic2 = x5((k24, Pc3) => { + "use strict"; + var Cm3 = qc2(); + Pc3.exports = Sn9; + function Nc3() { + } + Nc3.prototype = Error.prototype; + Sn9.prototype = new Nc3(); + var Te10 = Sn9.prototype; + Te10.file = ""; + Te10.name = ""; + Te10.reason = ""; + Te10.message = ""; + Te10.stack = ""; + Te10.fatal = null; + Te10.column = null; + Te10.line = null; + function Sn9(e7, r5, t26) { + var n5, i5, u; + typeof r5 == "string" && (t26 = r5, r5 = null), n5 = vm3(t26), i5 = Cm3(r5) || "1:1", u = { start: { line: null, column: null }, end: { line: null, column: null } }, r5 && r5.position && (r5 = r5.position), r5 && (r5.start ? (u = r5, r5 = r5.start) : u.start = r5), e7.stack && (this.stack = e7.stack, e7 = e7.message), this.message = e7, this.name = i5, this.reason = e7, this.line = r5 ? r5.line : null, this.column = r5 ? r5.column : null, this.location = u, this.source = n5[0], this.ruleId = n5[1]; + } + function vm3(e7) { + var r5 = [null, null], t26; + return typeof e7 == "string" && (t26 = e7.indexOf(":"), t26 === -1 ? r5[1] = e7 : (r5[0] = e7.slice(0, t26), r5[1] = e7.slice(t26 + 1))), r5; + } + }); + Sc2 = x5((rr8) => { + "use strict"; + rr8.basename = Am3; + rr8.dirname = bm3; + rr8.extname = xm3; + rr8.join = ym3; + rr8.sep = "/"; + function Am3(e7, r5) { + var t26 = 0, n5 = -1, i5, u, a5, o5; + if (r5 !== void 0 && typeof r5 != "string") throw new TypeError('"ext" argument must be a string'); + if (wr6(e7), i5 = e7.length, r5 === void 0 || !r5.length || r5.length > e7.length) { + for (; i5--; ) if (e7.charCodeAt(i5) === 47) { + if (a5) { + t26 = i5 + 1; + break; + } + } else n5 < 0 && (a5 = true, n5 = i5 + 1); + return n5 < 0 ? "" : e7.slice(t26, n5); + } + if (r5 === e7) return ""; + for (u = -1, o5 = r5.length - 1; i5--; ) if (e7.charCodeAt(i5) === 47) { + if (a5) { + t26 = i5 + 1; + break; + } + } else u < 0 && (a5 = true, u = i5 + 1), o5 > -1 && (e7.charCodeAt(i5) === r5.charCodeAt(o5--) ? o5 < 0 && (n5 = i5) : (o5 = -1, n5 = u)); + return t26 === n5 ? n5 = u : n5 < 0 && (n5 = e7.length), e7.slice(t26, n5); + } + function bm3(e7) { + var r5, t26, n5; + if (wr6(e7), !e7.length) return "."; + for (r5 = -1, n5 = e7.length; --n5; ) if (e7.charCodeAt(n5) === 47) { + if (t26) { + r5 = n5; + break; + } + } else t26 || (t26 = true); + return r5 < 0 ? e7.charCodeAt(0) === 47 ? "/" : "." : r5 === 1 && e7.charCodeAt(0) === 47 ? "//" : e7.slice(0, r5); + } + function xm3(e7) { + var r5 = -1, t26 = 0, n5 = -1, i5 = 0, u, a5, o5; + for (wr6(e7), o5 = e7.length; o5--; ) { + if (a5 = e7.charCodeAt(o5), a5 === 47) { + if (u) { + t26 = o5 + 1; + break; + } + continue; + } + n5 < 0 && (u = true, n5 = o5 + 1), a5 === 46 ? r5 < 0 ? r5 = o5 : i5 !== 1 && (i5 = 1) : r5 > -1 && (i5 = -1); + } + return r5 < 0 || n5 < 0 || i5 === 0 || i5 === 1 && r5 === n5 - 1 && r5 === t26 + 1 ? "" : e7.slice(r5, n5); + } + function ym3() { + for (var e7 = -1, r5; ++e7 < arguments.length; ) wr6(arguments[e7]), arguments[e7] && (r5 = r5 === void 0 ? arguments[e7] : r5 + "/" + arguments[e7]); + return r5 === void 0 ? "." : wm3(r5); + } + function wm3(e7) { + var r5, t26; + return wr6(e7), r5 = e7.charCodeAt(0) === 47, t26 = km3(e7, !r5), !t26.length && !r5 && (t26 = "."), t26.length && e7.charCodeAt(e7.length - 1) === 47 && (t26 += "/"), r5 ? "/" + t26 : t26; + } + function km3(e7, r5) { + for (var t26 = "", n5 = 0, i5 = -1, u = 0, a5 = -1, o5, s5; ++a5 <= e7.length; ) { + if (a5 < e7.length) o5 = e7.charCodeAt(a5); + else { + if (o5 === 47) break; + o5 = 47; + } + if (o5 === 47) { + if (!(i5 === a5 - 1 || u === 1)) if (i5 !== a5 - 1 && u === 2) { + if (t26.length < 2 || n5 !== 2 || t26.charCodeAt(t26.length - 1) !== 46 || t26.charCodeAt(t26.length - 2) !== 46) { + if (t26.length > 2) { + if (s5 = t26.lastIndexOf("/"), s5 !== t26.length - 1) { + s5 < 0 ? (t26 = "", n5 = 0) : (t26 = t26.slice(0, s5), n5 = t26.length - 1 - t26.lastIndexOf("/")), i5 = a5, u = 0; + continue; + } + } else if (t26.length) { + t26 = "", n5 = 0, i5 = a5, u = 0; + continue; + } + } + r5 && (t26 = t26.length ? t26 + "/.." : "..", n5 = 2); + } else t26.length ? t26 += "/" + e7.slice(i5 + 1, a5) : t26 = e7.slice(i5 + 1, a5), n5 = a5 - i5 - 1; + i5 = a5, u = 0; + } else o5 === 46 && u > -1 ? u++ : u = -1; + } + return t26; + } + function wr6(e7) { + if (typeof e7 != "string") throw new TypeError("Path must be a string. Received " + JSON.stringify(e7)); + } + }); + Rc2 = x5((Lc2) => { + "use strict"; + Lc2.cwd = Tm3; + function Tm3() { + return "/"; + } + }); + Yc2 = x5((_24, Uc2) => { + "use strict"; + var ce9 = Sc2(), Bm3 = Rc2(), _m3 = Pn5(); + Uc2.exports = Ce10; + var Om3 = {}.hasOwnProperty, Ln8 = ["history", "path", "basename", "stem", "extname", "dirname"]; + Ce10.prototype.toString = Gm3; + Object.defineProperty(Ce10.prototype, "path", { get: qm3, set: Nm3 }); + Object.defineProperty(Ce10.prototype, "dirname", { get: Pm3, set: Im3 }); + Object.defineProperty(Ce10.prototype, "basename", { get: Sm3, set: Lm3 }); + Object.defineProperty(Ce10.prototype, "extname", { get: Rm3, set: Mm3 }); + Object.defineProperty(Ce10.prototype, "stem", { get: Um3, set: Ym3 }); + function Ce10(e7) { + var r5, t26; + if (!e7) e7 = {}; + else if (typeof e7 == "string" || _m3(e7)) e7 = { contents: e7 }; + else if ("message" in e7 && "messages" in e7) return e7; + if (!(this instanceof Ce10)) return new Ce10(e7); + for (this.data = {}, this.messages = [], this.history = [], this.cwd = Bm3.cwd(), t26 = -1; ++t26 < Ln8.length; ) r5 = Ln8[t26], Om3.call(e7, r5) && (this[r5] = e7[r5]); + for (r5 in e7) Ln8.indexOf(r5) < 0 && (this[r5] = e7[r5]); + } + function qm3() { + return this.history[this.history.length - 1]; + } + function Nm3(e7) { + Mn6(e7, "path"), this.path !== e7 && this.history.push(e7); + } + function Pm3() { + return typeof this.path == "string" ? ce9.dirname(this.path) : void 0; + } + function Im3(e7) { + Mc2(this.path, "dirname"), this.path = ce9.join(e7 || "", this.basename); + } + function Sm3() { + return typeof this.path == "string" ? ce9.basename(this.path) : void 0; + } + function Lm3(e7) { + Mn6(e7, "basename"), Rn7(e7, "basename"), this.path = ce9.join(this.dirname || "", e7); + } + function Rm3() { + return typeof this.path == "string" ? ce9.extname(this.path) : void 0; + } + function Mm3(e7) { + if (Rn7(e7, "extname"), Mc2(this.path, "extname"), e7) { + if (e7.charCodeAt(0) !== 46) throw new Error("`extname` must start with `.`"); + if (e7.indexOf(".", 1) > -1) throw new Error("`extname` cannot contain multiple dots"); + } + this.path = ce9.join(this.dirname, this.stem + (e7 || "")); + } + function Um3() { + return typeof this.path == "string" ? ce9.basename(this.path, this.extname) : void 0; + } + function Ym3(e7) { + Mn6(e7, "stem"), Rn7(e7, "stem"), this.path = ce9.join(this.dirname || "", e7 + (this.extname || "")); + } + function Gm3(e7) { + return (this.contents || "").toString(e7); + } + function Rn7(e7, r5) { + if (e7 && e7.indexOf(ce9.sep) > -1) throw new Error("`" + r5 + "` cannot be a path: did not expect `" + ce9.sep + "`"); + } + function Mn6(e7, r5) { + if (!e7) throw new Error("`" + r5 + "` cannot be empty"); + } + function Mc2(e7, r5) { + if (!e7) throw new Error("Setting `" + r5 + "` requires `path` to be set too"); + } + }); + zc2 = x5((O24, Gc2) => { + "use strict"; + var zm3 = Ic2(), ht10 = Yc2(); + Gc2.exports = ht10; + ht10.prototype.message = Wm3; + ht10.prototype.info = jm3; + ht10.prototype.fail = Vm4; + function Wm3(e7, r5, t26) { + var n5 = new zm3(e7, r5, t26); + return this.path && (n5.name = this.path + ":" + n5.name, n5.file = this.path), n5.fatal = false, this.messages.push(n5), n5; + } + function Vm4() { + var e7 = this.message.apply(this, arguments); + throw e7.fatal = true, e7; + } + function jm3() { + var e7 = this.message.apply(this, arguments); + return e7.fatal = null, e7; + } + }); + Vc2 = x5((q24, Wc2) => { + "use strict"; + Wc2.exports = zc2(); + }); + el3 = x5((N24, Zc2) => { + "use strict"; + var jc2 = cc2(), $m3 = Pn5(), dt8 = Ec2(), $c2 = vc2(), Jc2 = Tc2(), kr6 = Vc2(); + Zc2.exports = Qc2().freeze(); + var Hm3 = [].slice, Km3 = {}.hasOwnProperty, Xm3 = Jc2().use(Jm3).use(Qm3).use(Zm3); + function Jm3(e7, r5) { + r5.tree = e7.parse(r5.file); + } + function Qm3(e7, r5, t26) { + e7.run(r5.tree, r5.file, n5); + function n5(i5, u, a5) { + i5 ? t26(i5) : (r5.tree = u, r5.file = a5, t26()); + } + } + function Zm3(e7, r5) { + var t26 = e7.stringify(r5.tree, r5.file); + t26 == null || (typeof t26 == "string" || $m3(t26) ? ("value" in r5.file && (r5.file.value = t26), r5.file.contents = t26) : r5.file.result = t26); + } + function Qc2() { + var e7 = [], r5 = Jc2(), t26 = {}, n5 = -1, i5; + return u.data = o5, u.freeze = a5, u.attachers = e7, u.use = s5, u.parse = c7, u.stringify = m7, u.run = f7, u.runSync = D7, u.process = p4, u.processSync = h5, u; + function u() { + for (var F10 = Qc2(), g5 = -1; ++g5 < e7.length; ) F10.use.apply(null, e7[g5]); + return F10.data(dt8(true, {}, t26)), F10; + } + function a5() { + var F10, g5; + if (i5) return u; + for (; ++n5 < e7.length; ) F10 = e7[n5], F10[1] !== false && (F10[1] === true && (F10[1] = void 0), g5 = F10[0].apply(u, F10.slice(1)), typeof g5 == "function" && r5.use(g5)); + return i5 = true, n5 = 1 / 0, u; + } + function o5(F10, g5) { + return typeof F10 == "string" ? arguments.length === 2 ? (Gn8("data", i5), t26[F10] = g5, u) : Km3.call(t26, F10) && t26[F10] || null : F10 ? (Gn8("data", i5), t26 = F10, u) : t26; + } + function s5(F10) { + var g5; + if (Gn8("use", i5), F10 != null) if (typeof F10 == "function") b7.apply(null, arguments); + else if (typeof F10 == "object") "length" in F10 ? A9(F10) : E7(F10); + else throw new Error("Expected usable value, not `" + F10 + "`"); + return g5 && (t26.settings = dt8(t26.settings || {}, g5)), u; + function E7(d5) { + A9(d5.plugins), d5.settings && (g5 = dt8(g5 || {}, d5.settings)); + } + function v9(d5) { + if (typeof d5 == "function") b7(d5); + else if (typeof d5 == "object") "length" in d5 ? b7.apply(null, d5) : E7(d5); + else throw new Error("Expected usable value, not `" + d5 + "`"); + } + function A9(d5) { + var y10 = -1; + if (d5 != null) if (typeof d5 == "object" && "length" in d5) for (; ++y10 < d5.length; ) v9(d5[y10]); + else throw new Error("Expected a list of plugins, not `" + d5 + "`"); + } + function b7(d5, y10) { + var w8 = l5(d5); + w8 ? ($c2(w8[1]) && $c2(y10) && (y10 = dt8(true, w8[1], y10)), w8[1] = y10) : e7.push(Hm3.call(arguments)); + } + } + function l5(F10) { + for (var g5 = -1; ++g5 < e7.length; ) if (e7[g5][0] === F10) return e7[g5]; + } + function c7(F10) { + var g5 = kr6(F10), E7; + return a5(), E7 = u.Parser, Un8("parse", E7), Hc2(E7, "parse") ? new E7(String(g5), g5).parse() : E7(String(g5), g5); + } + function f7(F10, g5, E7) { + if (Kc2(F10), a5(), !E7 && typeof g5 == "function" && (E7 = g5, g5 = null), !E7) return new Promise(v9); + v9(null, E7); + function v9(A9, b7) { + r5.run(F10, kr6(g5), d5); + function d5(y10, w8, C8) { + w8 = w8 || F10, y10 ? b7(y10) : A9 ? A9(w8) : E7(null, w8, C8); + } + } + } + function D7(F10, g5) { + var E7, v9; + return f7(F10, g5, A9), Xc2("runSync", "run", v9), E7; + function A9(b7, d5) { + v9 = true, E7 = d5, jc2(b7); + } + } + function m7(F10, g5) { + var E7 = kr6(g5), v9; + return a5(), v9 = u.Compiler, Yn7("stringify", v9), Kc2(F10), Hc2(v9, "compile") ? new v9(F10, E7).compile() : v9(F10, E7); + } + function p4(F10, g5) { + if (a5(), Un8("process", u.Parser), Yn7("process", u.Compiler), !g5) return new Promise(E7); + E7(null, g5); + function E7(v9, A9) { + var b7 = kr6(F10); + Xm3.run(u, { file: b7 }, d5); + function d5(y10) { + y10 ? A9(y10) : v9 ? v9(b7) : g5(null, b7); + } + } + } + function h5(F10) { + var g5, E7; + return a5(), Un8("processSync", u.Parser), Yn7("processSync", u.Compiler), g5 = kr6(F10), p4(g5, v9), Xc2("processSync", "process", E7), g5; + function v9(A9) { + E7 = true, jc2(A9); + } + } + } + function Hc2(e7, r5) { + return typeof e7 == "function" && e7.prototype && (eF(e7.prototype) || r5 in e7.prototype); + } + function eF(e7) { + var r5; + for (r5 in e7) return true; + return false; + } + function Un8(e7, r5) { + if (typeof r5 != "function") throw new Error("Cannot `" + e7 + "` without `Parser`"); + } + function Yn7(e7, r5) { + if (typeof r5 != "function") throw new Error("Cannot `" + e7 + "` without `Compiler`"); + } + function Gn8(e7, r5) { + if (r5) throw new Error("Cannot invoke `" + e7 + "` on a frozen processor.\nCreate a new processor first, by invoking it: use `processor()` instead of `processor`."); + } + function Kc2(e7) { + if (!e7 || typeof e7.type != "string") throw new Error("Expected node, got `" + e7 + "`"); + } + function Xc2(e7, r5, t26) { + if (!t26) throw new Error("`" + e7 + "` finished async. Use `" + r5 + "` instead"); + } + }); + gl3 = {}; + Vn4(gl3, { languages: () => Ki6, options: () => Xi6, parsers: () => Wn5, printers: () => fF }); + Me9 = (e7, r5) => (t26, n5, ...i5) => t26 | 1 && n5 == null ? void 0 : (r5.call(n5) ?? n5[e7]).apply(n5, i5); + wl3 = Me9("at", function() { + if (Array.isArray(this) || typeof this == "string") return yl3; + }); + U7 = wl3; + kl3 = String.prototype.replaceAll ?? function(e7, r5) { + return e7.global ? this.replace(e7, r5) : this.split(e7).join(r5); + }; + Tl3 = Me9("replaceAll", function() { + if (typeof this == "string") return kl3; + }); + R8 = Tl3; + $i7 = Re8(Tr6(), 1); + _l3 = () => { + }; + tr8 = _l3; + V8 = "string"; + j6 = "array"; + be8 = "cursor"; + ee6 = "indent"; + re7 = "align"; + De8 = "trim"; + X8 = "group"; + J9 = "fill"; + Q8 = "if-break"; + pe7 = "indent-if-break"; + he9 = "line-suffix"; + de8 = "line-suffix-boundary"; + $8 = "line"; + me9 = "label"; + te9 = "break-parent"; + Br7 = /* @__PURE__ */ new Set([be8, ee6, re7, De8, X8, J9, Q8, pe7, he9, de8, $8, me9, te9]); + W8 = Ol2; + ql2 = (e7) => new Intl.ListFormat("en-US", { type: "disjunction" }).format(e7); + gt8 = class extends Error { + name = "InvalidDocError"; + constructor(r5) { + super(Nl3(r5)), this.doc = r5; + } + }; + Be8 = gt8; + $n5 = {}; + Hn5 = Pl2; + ne9 = tr8; + Or6 = tr8; + Jn5 = tr8; + Qn5 = tr8; + Ue7 = { type: te9 }; + qr5 = { type: $8 }; + Nr6 = { type: $8, soft: true }; + ar8 = { type: $8, hard: true }; + M7 = [ar8, Ue7]; + Sl3 = { type: $8, hard: true, literal: true }; + nr7 = [Sl3, Ue7]; + Ll3 = "cr"; + Rl2 = "crlf"; + Ml2 = "\r"; + Ul2 = `\r +`; + Yl2 = ` +`; + Gl2 = Yl2; + ri8 = () => /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g; + ti8 = "\xA9\xAE\u203C\u2049\u2122\u2139\u2194\u2195\u2196\u2197\u2198\u2199\u21A9\u21AA\u2328\u23CF\u23F1\u23F2\u23F8\u23F9\u23FA\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600\u2601\u2602\u2603\u2604\u260E\u2611\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638\u2639\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694\u2695\u2696\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F1\u26F7\u26F8\u26F9\u2702\u2708\u2709\u270C\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u2764\u27A1\u2934\u2935\u2B05\u2B06\u2B07"; + zl2 = /[^\x20-\x7F]/u; + Wl2 = new Set(ti8); + or8 = Vl2; + jl2 = { type: 0 }; + $l2 = { type: 1 }; + vt9 = { value: "", length: 0, queue: [], get root() { + return vt9; + } }; + H9 = /* @__PURE__ */ Symbol("MODE_BREAK"); + ue8 = /* @__PURE__ */ Symbol("MODE_FLAT"); + bt9 = /* @__PURE__ */ Symbol("DOC_FILL_PRINTED_LENGTH"); + Ir5 = Kl2; + oi8 = Xl2; + si8 = Object.freeze({ character: "'", codePoint: 39 }); + ci8 = Object.freeze({ character: '"', codePoint: 34 }); + Jl2 = Object.freeze({ preferred: si8, alternate: ci8 }); + Ql2 = Object.freeze({ preferred: ci8, alternate: si8 }); + li8 = Zl2; + xt8 = class extends Error { + name = "UnexpectedNodeError"; + constructor(r5, t26, n5 = "type") { + super(`Unexpected ${t26} node ${n5}: ${JSON.stringify(r5[n5])}.`), this.node = r5; + } + }; + fi8 = xt8; + bi8 = Re8(Tr6(), 1); + ef = Array.prototype.toReversed ?? function() { + return [...this].reverse(); + }; + rf = Me9("toReversed", function() { + if (Array.isArray(this)) return ef; + }); + Di7 = rf; + nf = tf(); + hi8 = (e7) => String(e7).split(/[/\\]/u).pop(); + di8 = (e7) => String(e7).startsWith("file:"); + sf = void 0; + wt9 = cf; + Sr6 = /* @__PURE__ */ Symbol.for("PRETTIER_IS_FRONT_MATTER"); + kt9 = lf; + sr8 = 3; + _e8 = Df2; + gi8 = "format"; + Ei8 = /|\{\s*\/\*\s*@(?:noformat|noprettier)\s*\*\/\s*\}|/mu; + Ci7 = /|\{\s*\/\*\s*@(?:format|prettier)\s*\*\/\s*\}|/mu; + Lr7 = (e7) => _e8(e7).content.trimStart().match(Ci7)?.index === 0; + vi8 = (e7) => _e8(e7).content.trimStart().match(Ei8)?.index === 0; + Ai8 = (e7) => { + let { frontMatter: r5 } = _e8(e7), t26 = ``; + return r5 ? `${r5.raw} + +${t26} + +${e7.slice(r5.end.index)}` : `${t26} + +${e7}`; + }; + pf = /* @__PURE__ */ new Set(["position", "raw"]); + xi8.ignoredProperties = pf; + yi7 = xi8; + wi8 = /(?:[\u{2c7}\u{2c9}-\u{2cb}\u{2d9}\u{2ea}-\u{2eb}\u{305}\u{323}\u{1100}-\u{11ff}\u{2e80}-\u{2e99}\u{2e9b}-\u{2ef3}\u{2f00}-\u{2fd5}\u{2ff0}-\u{303f}\u{3041}-\u{3096}\u{3099}-\u{30ff}\u{3105}-\u{312f}\u{3131}-\u{318e}\u{3190}-\u{4dbf}\u{4e00}-\u{9fff}\u{a700}-\u{a707}\u{a960}-\u{a97c}\u{ac00}-\u{d7a3}\u{d7b0}-\u{d7c6}\u{d7cb}-\u{d7fb}\u{f900}-\u{fa6d}\u{fa70}-\u{fad9}\u{fe10}-\u{fe1f}\u{fe30}-\u{fe6f}\u{ff00}-\u{ffef}\u{16fe3}\u{16ff2}-\u{16ff6}\u{1aff0}-\u{1aff3}\u{1aff5}-\u{1affb}\u{1affd}-\u{1affe}\u{1b000}-\u{1b122}\u{1b132}\u{1b150}-\u{1b152}\u{1b155}\u{1b164}-\u{1b167}\u{1f200}\u{1f250}-\u{1f251}\u{20000}-\u{2a6df}\u{2a700}-\u{2b81d}\u{2b820}-\u{2cead}\u{2ceb0}-\u{2ebe0}\u{2ebf0}-\u{2ee5d}\u{2f800}-\u{2fa1d}\u{30000}-\u{3134a}\u{31350}-\u{33479}])(?:[\u{fe00}-\u{fe0f}\u{e0100}-\u{e01ef}])?/u; + Oe8 = new RegExp("(?:[\\u{21}-\\u{2f}\\u{3a}-\\u{40}\\u{5b}-\\u{60}\\u{7b}-\\u{7e}]|\\p{General_Category=Connector_Punctuation}|\\p{General_Category=Dash_Punctuation}|\\p{General_Category=Close_Punctuation}|\\p{General_Category=Final_Punctuation}|\\p{General_Category=Initial_Punctuation}|\\p{General_Category=Other_Punctuation}|\\p{General_Category=Open_Punctuation})", "u"); + qe8 = (e7) => e7.position.start.offset; + Ne7 = (e7) => e7.position.end.offset; + Tt9 = /* @__PURE__ */ new Set(["liquidNode", "inlineCode", "emphasis", "esComment", "strong", "delete", "wikiLink", "link", "linkReference", "image", "imageReference", "footnote", "footnoteReference", "sentence", "whitespace", "word", "break", "inlineMath"]); + Rr6 = /* @__PURE__ */ new Set([...Tt9, "tableCell", "paragraph", "heading"]); + We10 = "non-cjk"; + ae6 = "cj-letter"; + Pe7 = "k-letter"; + cr7 = "cjk-punctuation"; + hf = new RegExp("\\p{Script_Extensions=Hangul}", "u"); + Ti8 = df; + fr8 = null; + Ff = 10; + for (let e7 = 0; e7 <= Ff; e7++) Dr6(); + Bi7 = gf; + q8 = [["children"], []]; + _i7 = { root: q8[0], paragraph: q8[0], sentence: q8[0], word: q8[1], whitespace: q8[1], emphasis: q8[0], strong: q8[0], delete: q8[0], inlineCode: q8[1], wikiLink: q8[1], link: q8[0], image: q8[1], blockquote: q8[0], heading: q8[0], code: q8[1], html: q8[1], list: q8[0], thematicBreak: q8[1], linkReference: q8[0], imageReference: q8[1], definition: q8[1], footnote: q8[0], footnoteReference: q8[1], footnoteDefinition: q8[0], table: q8[0], tableCell: q8[0], break: q8[1], liquidNode: q8[1], import: q8[1], export: q8[1], esComment: q8[1], jsx: q8[1], math: q8[1], inlineMath: q8[1], tableRow: q8[0], listItem: q8[0], text: q8[1] }; + Ef = Bi7(_i7); + Oi7 = Ef; + vf2 = /* @__PURE__ */ new Set(["listItem", "definition"]); + _t7 = class { + #e; + constructor(r5) { + this.#e = new Set(r5); + } + getLeadingWhitespaceCount(r5) { + let t26 = this.#e, n5 = 0; + for (let i5 = 0; i5 < r5.length && t26.has(r5.charAt(i5)); i5++) n5++; + return n5; + } + getTrailingWhitespaceCount(r5) { + let t26 = this.#e, n5 = 0; + for (let i5 = r5.length - 1; i5 >= 0 && t26.has(r5.charAt(i5)); i5--) n5++; + return n5; + } + getLeadingWhitespace(r5) { + let t26 = this.getLeadingWhitespaceCount(r5); + return r5.slice(0, t26); + } + getTrailingWhitespace(r5) { + let t26 = this.getTrailingWhitespaceCount(r5); + return r5.slice(r5.length - t26); + } + hasLeadingWhitespace(r5) { + return this.#e.has(r5.charAt(0)); + } + hasTrailingWhitespace(r5) { + return this.#e.has(U7(0, r5, -1)); + } + trimStart(r5) { + let t26 = this.getLeadingWhitespaceCount(r5); + return r5.slice(t26); + } + trimEnd(r5) { + let t26 = this.getTrailingWhitespaceCount(r5); + return r5.slice(0, r5.length - t26); + } + trim(r5) { + return this.trimEnd(this.trimStart(r5)); + } + split(r5, t26 = false) { + let n5 = `[${fe7([...this.#e].join(""))}]+`, i5 = new RegExp(t26 ? `(${n5})` : n5, "u"); + return r5.split(i5); + } + hasWhitespaceCharacter(r5) { + let t26 = this.#e; + return Array.prototype.some.call(r5, (n5) => t26.has(n5)); + } + hasNonWhitespaceCharacter(r5) { + let t26 = this.#e; + return Array.prototype.some.call(r5, (n5) => !t26.has(n5)); + } + isWhitespaceOnly(r5) { + let t26 = this.#e; + return Array.prototype.every.call(r5, (n5) => t26.has(n5)); + } + #r(r5) { + let t26 = Number.POSITIVE_INFINITY; + for (let n5 of r5.split(` +`)) { + if (n5.length === 0) continue; + let i5 = this.getLeadingWhitespaceCount(n5); + if (i5 === 0) return 0; + n5.length !== i5 && i5 < t26 && (t26 = i5); + } + return t26 === Number.POSITIVE_INFINITY ? 0 : t26; + } + dedentString(r5) { + let t26 = this.#r(r5); + return t26 === 0 ? r5 : r5.split(` +`).map((n5) => n5.slice(t26)).join(` +`); + } + }; + Mi6 = _t7; + wf = [" ", ` +`, "\f", "\r", " "]; + kf2 = new Mi6(wf); + Ot9 = kf2; + Tf = /^\\?.$/su; + Bf = /^\n *>[ >]*$/u; + Ui7 = _f2; + Lf = /* @__PURE__ */ new Set(["heading", "tableCell", "link", "wikiLink"]); + Gi7 = new Set("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~"); + Wf = (e7, r5) => { + for (let t26 of r5) e7 = R8(0, e7, t26, encodeURIComponent(t26)); + return e7; + }; + jf = { features: { experimental_frontMatterSupport: { massageAstNode: true, embed: true, print: true } }, preprocess: Ui7, print: Yf, embed: Ti8, massageAstNode: yi7, hasPrettierIgnore: Vf, insertPragma: Ai8, getVisitorKeys: Oi7 }; + Hi7 = jf; + Ki6 = [{ name: "Markdown", type: "prose", aceMode: "markdown", extensions: [".md", ".livemd", ".markdown", ".mdown", ".mdwn", ".mkd", ".mkdn", ".mkdown", ".ronn", ".scd", ".workbook"], filenames: ["contents.lr", "README"], tmScope: "text.md", aliases: ["md", "pandoc"], codemirrorMode: "gfm", codemirrorMimeType: "text/x-gfm", wrap: true, parsers: ["markdown"], vscodeLanguageIds: ["markdown"], linguistLanguageId: 222 }, { name: "MDX", type: "prose", aceMode: "markdown", extensions: [".mdx"], filenames: [], tmScope: "text.md", aliases: ["md", "pandoc"], codemirrorMode: "gfm", codemirrorMimeType: "text/x-gfm", wrap: true, parsers: ["mdx"], vscodeLanguageIds: ["mdx"], linguistLanguageId: 222 }]; + It8 = { bracketSpacing: { category: "Common", type: "boolean", default: true, description: "Print spaces between brackets.", oppositeDescription: "Do not print spaces between brackets." }, objectWrap: { category: "Common", type: "choice", default: "preserve", description: "How to wrap object literals.", choices: [{ value: "preserve", description: "Keep as multi-line, if there is a newline between the opening brace and first property." }, { value: "collapse", description: "Fit to a single line when possible." }] }, singleQuote: { category: "Common", type: "boolean", default: false, description: "Use single quotes instead of double quotes." }, proseWrap: { category: "Common", type: "choice", default: "preserve", description: "How to wrap prose.", choices: [{ value: "always", description: "Wrap prose if it exceeds the print width." }, { value: "never", description: "Do not wrap prose." }, { value: "preserve", description: "Wrap prose as-is." }] }, bracketSameLine: { category: "Common", type: "boolean", default: false, description: "Put > of opening tags on the last line instead of on a new line." }, singleAttributePerLine: { category: "Common", type: "boolean", default: false, description: "Enforce single attribute per line in HTML, Vue and JSX." } }; + $f2 = { proseWrap: It8.proseWrap, singleQuote: It8.singleQuote }; + Xi6 = $f2; + Wn5 = {}; + Vn4(Wn5, { markdown: () => cF, mdx: () => lF, remark: () => cF }); + Dl2 = Re8(Qi7(), 1); + pl3 = Re8(Du2(), 1); + hl3 = Re8(oc2(), 1); + dl3 = Re8(el3(), 1); + rF = /^import\s/u; + tF = /^export\s/u; + rl3 = "[a-z][a-z0-9]*(\\.[a-z][a-z0-9]*)*|"; + tl3 = /|/u; + nF = /^\{\s*\/\*(.*)\*\/\s*\}/u; + iF = (e7) => rF.test(e7); + nl4 = (e7) => tF.test(e7); + il4 = (e7) => iF(e7) || nl4(e7); + zn6 = (e7, r5) => { + let t26 = r5.indexOf(` + +`), n5 = t26 === -1 ? r5 : r5.slice(0, t26); + if (il4(n5)) return e7(n5)({ type: nl4(n5) ? "export" : "import", value: n5 }); + }; + zn6.notInBlock = true; + zn6.locator = (e7) => il4(e7) ? -1 : 1; + ul3 = (e7, r5) => { + let t26 = nF.exec(r5); + if (t26) return e7(t26[0])({ type: "esComment", value: t26[1].trim() }); + }; + ul3.locator = (e7, r5) => e7.indexOf("{", r5); + al3 = function() { + let { Parser: e7 } = this, { blockTokenizers: r5, blockMethods: t26, inlineTokenizers: n5, inlineMethods: i5 } = e7.prototype; + r5.esSyntax = zn6, n5.esComment = ul3, t26.splice(t26.indexOf("paragraph"), 0, "esSyntax"), i5.splice(i5.indexOf("text"), 0, "esComment"); + }; + uF = function() { + let e7 = this.Parser.prototype; + e7.blockMethods = ["frontMatter", ...e7.blockMethods], e7.blockTokenizers.frontMatter = r5; + function r5(t26, n5) { + let { frontMatter: i5 } = _e8(n5); + if (i5) return t26(i5.raw)({ ...i5, type: "frontMatter" }); + } + r5.onlyAtStart = true; + }; + ol4 = uF; + sl4 = aF; + oF = function() { + let e7 = this.Parser.prototype, r5 = e7.inlineMethods; + r5.splice(r5.indexOf("text"), 0, "liquid"), e7.inlineTokenizers.liquid = t26; + function t26(n5, i5) { + let u = i5.match(/^(\{%.*?%\}|\{\{.*?\}\})/su); + if (u) return n5(u[0])({ type: "liquidNode", value: u[0] }); + } + t26.locator = function(n5, i5) { + return n5.indexOf("{", i5); + }; + }; + cl3 = oF; + sF = function() { + let e7 = "wikiLink", r5 = /^\[\[(?.+?)\]\]/su, t26 = this.Parser.prototype, n5 = t26.inlineMethods; + n5.splice(n5.indexOf("link"), 0, e7), t26.inlineTokenizers.wikiLink = i5; + function i5(u, a5) { + let o5 = r5.exec(a5); + if (o5) { + let s5 = o5.groups.linkContents.trim(); + return u(o5[0])({ type: e7, value: s5 }); + } + } + i5.locator = function(u, a5) { + return u.indexOf("[", a5); + }; + }; + ll3 = sF; + Fl2 = { astFormat: "mdast", hasPragma: Lr7, hasIgnorePragma: vi8, locStart: qe8, locEnd: Ne7 }; + cF = { ...Fl2, parse: ml3({ isMDX: false }) }; + lF = { ...Fl2, parse: ml3({ isMDX: true }) }; + fF = { mdast: Hi7 }; + } +}); + +// node_modules/prettier/plugins/meriyah.mjs +var meriyah_exports = {}; +__export(meriyah_exports, { + default: () => I22, + parsers: () => at9 +}); +function Se9(e7) { + return e7 <= 127 ? _22[e7] > 0 : Ct10(e7); +} +function De9(e7) { + return e7 <= 127 ? Et10[e7] > 0 : J22(e7) || e7 === 8204 || e7 === 8205; +} +function m5(e7) { + return e7.column++, e7.currentChar = e7.source.charCodeAt(++e7.index); +} +function Ke9(e7) { + let t26 = e7.currentChar; + if ((t26 & 64512) !== 55296) return 0; + let n5 = e7.source.charCodeAt(e7.index + 1); + return (n5 & 64512) !== 56320 ? 0 : 65536 + ((t26 & 1023) << 10) + (n5 & 1023); +} +function $e9(e7, t26) { + e7.currentChar = e7.source.charCodeAt(++e7.index), e7.flags |= 1, (t26 & 4) === 0 && (e7.column = 0, e7.line++); +} +function te10(e7) { + e7.flags |= 1, e7.currentChar = e7.source.charCodeAt(++e7.index), e7.column = 0, e7.line++; +} +function X22(e7) { + return e7 === 160 || e7 === 65279 || e7 === 133 || e7 === 5760 || e7 >= 8192 && e7 <= 8203 || e7 === 8239 || e7 === 8287 || e7 === 12288 || e7 === 8201 || e7 === 65519; +} +function v8(e7) { + return e7 < 65 ? e7 - 48 : e7 - 65 + 10 & 15; +} +function j22(e7) { + switch (e7) { + case 134283266: + return "NumericLiteral"; + case 134283267: + return "StringLiteral"; + case 86021: + case 86022: + return "BooleanLiteral"; + case 86023: + return "NullLiteral"; + case 65540: + return "RegularExpression"; + case 67174408: + case 67174409: + case 131: + return "TemplateLiteral"; + default: + return (e7 & 143360) === 143360 ? "Identifier" : (e7 & 4096) === 4096 ? "Keyword" : "Punctuator"; + } +} +function H22(e7) { + let { source: t26 } = e7; + e7.currentChar === 35 && t26.charCodeAt(e7.index + 1) === 33 && (m5(e7), m5(e7), We11(e7, t26, 0, 4, e7.tokenStart)); +} +function rt10(e7, t26, n5, u, o5, i5) { + return u & 2 && e7.report(0), We11(e7, t26, n5, o5, i5); +} +function We11(e7, t26, n5, u, o5) { + let { index: i5 } = e7; + for (e7.tokenIndex = e7.index, e7.tokenLine = e7.line, e7.tokenColumn = e7.column; e7.index < e7.end; ) { + if (S4[e7.currentChar] & 8) { + let l5 = e7.currentChar === 13; + te10(e7), l5 && e7.index < e7.end && e7.currentChar === 10 && (e7.currentChar = t26.charCodeAt(++e7.index)); + break; + } else if ((e7.currentChar ^ 8232) <= 1) { + te10(e7); + break; + } + m5(e7), e7.tokenIndex = e7.index, e7.tokenLine = e7.line, e7.tokenColumn = e7.column; + } + if (e7.options.onComment) { + let l5 = { start: { line: o5.line, column: o5.column }, end: { line: e7.tokenLine, column: e7.tokenColumn } }; + e7.options.onComment(wt10[u & 255], t26.slice(i5, e7.tokenIndex), o5.index, e7.tokenIndex, l5); + } + return n5 | 1; +} +function z22(e7, t26, n5) { + let { index: u } = e7; + for (; e7.index < e7.end; ) if (e7.currentChar < 43) { + let o5 = false; + for (; e7.currentChar === 42; ) if (o5 || (n5 &= -5, o5 = true), m5(e7) === 47) { + if (m5(e7), e7.options.onComment) { + let i5 = { start: { line: e7.tokenLine, column: e7.tokenColumn }, end: { line: e7.line, column: e7.column } }; + e7.options.onComment(wt10[1], t26.slice(u, e7.index - 2), u - 2, e7.index, i5); + } + return e7.tokenIndex = e7.index, e7.tokenLine = e7.line, e7.tokenColumn = e7.column, n5; + } + if (o5) continue; + S4[e7.currentChar] & 8 ? e7.currentChar === 13 ? (n5 |= 5, te10(e7)) : ($e9(e7, n5), n5 = n5 & -5 | 1) : m5(e7); + } else (e7.currentChar ^ 8232) <= 1 ? (n5 = n5 & -5 | 1, te10(e7)) : (n5 &= -5, m5(e7)); + e7.report(18); +} +function St9(e7, t26) { + return Object.prototype.hasOwnProperty.call(e7, t26) ? e7[t26] : void 0; +} +function ht8(e7, t26, n5) { + for (; Et10[m5(e7)]; ) ; + return e7.tokenValue = e7.source.slice(e7.tokenIndex, e7.index), e7.currentChar !== 92 && e7.currentChar <= 126 ? St9(Bt8, e7.tokenValue) ?? 208897 : Ye8(e7, t26, 0, n5); +} +function $22(e7, t26) { + let n5 = Ft9(e7); + return Se9(n5) || e7.report(5), e7.tokenValue = String.fromCodePoint(n5), Ye8(e7, t26, 1, S4[n5] & 4); +} +function Ye8(e7, t26, n5, u) { + let o5 = e7.index; + for (; e7.index < e7.end; ) if (e7.currentChar === 92) { + e7.tokenValue += e7.source.slice(o5, e7.index), n5 = 1; + let l5 = Ft9(e7); + De9(l5) || e7.report(5), u = u && S4[l5] & 4, e7.tokenValue += String.fromCodePoint(l5), o5 = e7.index; + } else { + let l5 = Ke9(e7); + if (l5 > 0) De9(l5) || e7.report(20, String.fromCodePoint(l5)), e7.currentChar = l5, e7.index++, e7.column++; + else if (!De9(e7.currentChar)) break; + m5(e7); + } + e7.index <= e7.end && (e7.tokenValue += e7.source.slice(o5, e7.index)); + let { length: i5 } = e7.tokenValue; + if (u && i5 >= 2 && i5 <= 11) { + let l5 = St9(Bt8, e7.tokenValue); + return l5 === void 0 ? 208897 | (n5 ? -2147483648 : 0) : n5 ? l5 === 209006 ? (t26 & 2050) === 0 ? l5 | -2147483648 : -2147483528 : t26 & 1 ? l5 === 36970 || (l5 & 36864) === 36864 ? -2147483527 : (l5 & 20480) === 20480 ? t26 & 262144 && (t26 & 8) === 0 ? l5 | -2147483648 : -2147483528 : -2147274630 : t26 & 262144 && (t26 & 8) === 0 && (l5 & 20480) === 20480 ? l5 | -2147483648 : l5 === 241771 ? t26 & 262144 ? -2147274630 : t26 & 1024 ? -2147483528 : l5 | -2147483648 : l5 === 209005 ? -2147274630 : (l5 & 36864) === 36864 ? l5 | 12288 | -2147483648 : -2147483528 : l5; + } + return 208897 | (n5 ? -2147483648 : 0); +} +function W22(e7) { + let t26 = m5(e7); + if (t26 === 92) return 130; + let n5 = Ke9(e7); + return n5 && (t26 = n5), Se9(t26) || e7.report(96), 130; +} +function Ft9(e7) { + return e7.source.charCodeAt(e7.index + 1) !== 117 && e7.report(5), e7.currentChar = e7.source.charCodeAt(e7.index += 2), e7.column += 2, Y22(e7); +} +function Y22(e7) { + let t26 = 0, n5 = e7.currentChar; + if (n5 === 123) { + let l5 = e7.index - 2; + for (; S4[m5(e7)] & 64; ) if (t26 = t26 << 4 | v8(e7.currentChar), t26 > 1114111) throw new q9({ index: l5, line: e7.line, column: e7.column }, e7.currentLocation, 104); + if (e7.currentChar !== 125) throw new q9({ index: l5, line: e7.line, column: e7.column }, e7.currentLocation, 7); + return m5(e7), t26; + } + (S4[n5] & 64) === 0 && e7.report(7); + let u = e7.source.charCodeAt(e7.index + 1); + (S4[u] & 64) === 0 && e7.report(7); + let o5 = e7.source.charCodeAt(e7.index + 2); + (S4[o5] & 64) === 0 && e7.report(7); + let i5 = e7.source.charCodeAt(e7.index + 3); + return (S4[i5] & 64) === 0 && e7.report(7), t26 = v8(n5) << 12 | v8(u) << 8 | v8(o5) << 4 | v8(i5), e7.currentChar = e7.source.charCodeAt(e7.index += 4), e7.column += 4, t26; +} +function kt10(e7, t26, n5) { + let u = e7.currentChar, o5 = 0, i5 = 9, l5 = n5 & 64 ? 0 : 1, f7 = 0, c7 = 0; + if (n5 & 64) o5 = "." + Te8(e7, u), u = e7.currentChar, u === 110 && e7.report(12); + else { + if (u === 48) if (u = m5(e7), (u | 32) === 120) { + for (n5 = 136, u = m5(e7); S4[u] & 4160; ) { + if (u === 95) { + c7 || e7.report(152), c7 = 0, u = m5(e7); + continue; + } + c7 = 1, o5 = o5 * 16 + v8(u), f7++, u = m5(e7); + } + (f7 === 0 || !c7) && e7.report(f7 === 0 ? 21 : 153); + } else if ((u | 32) === 111) { + for (n5 = 132, u = m5(e7); S4[u] & 4128; ) { + if (u === 95) { + c7 || e7.report(152), c7 = 0, u = m5(e7); + continue; + } + c7 = 1, o5 = o5 * 8 + (u - 48), f7++, u = m5(e7); + } + (f7 === 0 || !c7) && e7.report(f7 === 0 ? 0 : 153); + } else if ((u | 32) === 98) { + for (n5 = 130, u = m5(e7); S4[u] & 4224; ) { + if (u === 95) { + c7 || e7.report(152), c7 = 0, u = m5(e7); + continue; + } + c7 = 1, o5 = o5 * 2 + (u - 48), f7++, u = m5(e7); + } + (f7 === 0 || !c7) && e7.report(f7 === 0 ? 0 : 153); + } else if (S4[u] & 32) for (t26 & 1 && e7.report(1), n5 = 1; S4[u] & 16; ) { + if (S4[u] & 512) { + n5 = 32, l5 = 0; + break; + } + o5 = o5 * 8 + (u - 48), u = m5(e7); + } + else S4[u] & 512 ? (t26 & 1 && e7.report(1), e7.flags |= 64, n5 = 32) : u === 95 && e7.report(0); + if (n5 & 48) { + if (l5) { + for (; i5 >= 0 && S4[u] & 4112; ) { + if (u === 95) { + if (u = m5(e7), u === 95 || n5 & 32) throw new q9(e7.currentLocation, { index: e7.index + 1, line: e7.line, column: e7.column }, 152); + c7 = 1; + continue; + } + c7 = 0, o5 = 10 * o5 + (u - 48), u = m5(e7), --i5; + } + if (c7) throw new q9(e7.currentLocation, { index: e7.index + 1, line: e7.line, column: e7.column }, 153); + if (i5 >= 0 && !Se9(u) && u !== 46) return e7.tokenValue = o5, e7.options.raw && (e7.tokenRaw = e7.source.slice(e7.tokenIndex, e7.index)), 134283266; + } + o5 += Te8(e7, u), u = e7.currentChar, u === 46 && (m5(e7) === 95 && e7.report(0), n5 = 64, o5 += "." + Te8(e7, e7.currentChar), u = e7.currentChar); + } + } + let g5 = e7.index, d5 = 0; + if (u === 110 && n5 & 128) d5 = 1, u = m5(e7); + else if ((u | 32) === 101) { + u = m5(e7), S4[u] & 256 && (u = m5(e7)); + let { index: a5 } = e7; + (S4[u] & 16) === 0 && e7.report(11), o5 += e7.source.substring(g5, a5) + Te8(e7, u), u = e7.currentChar; + } + return (e7.index < e7.end && S4[u] & 16 || Se9(u)) && e7.report(13), d5 ? (e7.tokenRaw = e7.source.slice(e7.tokenIndex, e7.index), e7.tokenValue = BigInt(p2(0, e7.tokenRaw.slice(0, -1), "_", "")), 134283388) : (e7.tokenValue = n5 & 15 ? o5 : n5 & 32 ? parseFloat(e7.source.substring(e7.tokenIndex, e7.index)) : +o5, e7.options.raw && (e7.tokenRaw = e7.source.slice(e7.tokenIndex, e7.index)), 134283266); +} +function Te8(e7, t26) { + let n5 = 0, u = e7.index, o5 = ""; + for (; S4[t26] & 4112; ) { + if (t26 === 95) { + let { index: i5 } = e7; + if (t26 = m5(e7), t26 === 95) throw new q9(e7.currentLocation, { index: e7.index + 1, line: e7.line, column: e7.column }, 152); + n5 = 1, o5 += e7.source.substring(u, i5), u = e7.index; + continue; + } + n5 = 0, t26 = m5(e7); + } + if (n5) throw new q9(e7.currentLocation, { index: e7.index + 1, line: e7.line, column: e7.column }, 153); + return o5 + e7.source.substring(u, e7.index); +} +function Q22(e7) { + let t26 = e7.index, n5 = Z7.Empty; + e: for (; ; ) { + let g5 = e7.currentChar; + if (m5(e7), n5 & Z7.Escape) n5 &= ~Z7.Escape; + else switch (g5) { + case 47: + if (n5) break; + break e; + case 92: + n5 |= Z7.Escape; + break; + case 91: + n5 |= Z7.Class; + break; + case 93: + n5 &= Z7.Escape; + break; + } + if ((g5 === 13 || g5 === 10 || g5 === 8232 || g5 === 8233) && e7.report(34), e7.index >= e7.source.length) return e7.report(34); + } + let u = e7.index - 1, o5 = P6.Empty, i5 = e7.currentChar, { index: l5 } = e7; + for (; De9(i5); ) { + switch (i5) { + case 103: + o5 & P6.Global && e7.report(36, "g"), o5 |= P6.Global; + break; + case 105: + o5 & P6.IgnoreCase && e7.report(36, "i"), o5 |= P6.IgnoreCase; + break; + case 109: + o5 & P6.Multiline && e7.report(36, "m"), o5 |= P6.Multiline; + break; + case 117: + o5 & P6.Unicode && e7.report(36, "u"), o5 & P6.UnicodeSets && e7.report(36, "vu"), o5 |= P6.Unicode; + break; + case 118: + o5 & P6.Unicode && e7.report(36, "uv"), o5 & P6.UnicodeSets && e7.report(36, "v"), o5 |= P6.UnicodeSets; + break; + case 121: + o5 & P6.Sticky && e7.report(36, "y"), o5 |= P6.Sticky; + break; + case 115: + o5 & P6.DotAll && e7.report(36, "s"), o5 |= P6.DotAll; + break; + case 100: + o5 & P6.Indices && e7.report(36, "d"), o5 |= P6.Indices; + break; + default: + e7.report(35); + } + i5 = m5(e7); + } + let f7 = e7.source.slice(l5, e7.index), c7 = e7.source.slice(t26, u); + return e7.tokenRegExp = { pattern: c7, flags: f7 }, e7.options.raw && (e7.tokenRaw = e7.source.slice(e7.tokenIndex, e7.index)), e7.tokenValue = Z22(e7, c7, f7), 65540; +} +function Z22(e7, t26, n5) { + try { + return new RegExp(t26, n5); + } catch { + if (!e7.options.validateRegex) return null; + e7.report(34); + } +} +function G22(e7, t26, n5) { + let { index: u } = e7, o5 = "", i5 = m5(e7), l5 = e7.index; + for (; (S4[i5] & 8) === 0; ) { + if (i5 === n5) return o5 += e7.source.slice(l5, e7.index), m5(e7), e7.options.raw && (e7.tokenRaw = e7.source.slice(u, e7.index)), e7.tokenValue = o5, 134283267; + if ((i5 & 8) === 8 && i5 === 92) { + if (o5 += e7.source.slice(l5, e7.index), i5 = m5(e7), i5 < 127 || i5 === 8232 || i5 === 8233) { + let f7 = Nt10(e7, t26, i5); + f7 >= 0 ? o5 += String.fromCodePoint(f7) : Lt8(e7, f7, 0); + } else o5 += String.fromCodePoint(i5); + l5 = e7.index + 1; + } else (i5 === 8232 || i5 === 8233) && (e7.column = -1, e7.line++); + e7.index >= e7.end && e7.report(16), i5 = m5(e7); + } + e7.report(16); +} +function Nt10(e7, t26, n5, u = 0) { + switch (n5) { + case 98: + return 8; + case 102: + return 12; + case 114: + return 13; + case 110: + return 10; + case 116: + return 9; + case 118: + return 11; + case 13: + if (e7.index < e7.end) { + let o5 = e7.source.charCodeAt(e7.index + 1); + o5 === 10 && (e7.index = e7.index + 1, e7.currentChar = o5); + } + case 10: + case 8232: + case 8233: + return e7.column = -1, e7.line++, -1; + case 48: + case 49: + case 50: + case 51: { + let o5 = n5 - 48, i5 = e7.index + 1, l5 = e7.column + 1; + if (i5 < e7.end) { + let f7 = e7.source.charCodeAt(i5); + if ((S4[f7] & 32) === 0) { + if (o5 !== 0 || S4[f7] & 512) { + if (t26 & 1 || u) return -2; + e7.flags |= 64; + } + } else { + if (t26 & 1 || u) return -2; + if (e7.currentChar = f7, o5 = o5 << 3 | f7 - 48, i5++, l5++, i5 < e7.end) { + let c7 = e7.source.charCodeAt(i5); + S4[c7] & 32 && (e7.currentChar = c7, o5 = o5 << 3 | c7 - 48, i5++, l5++); + } + e7.flags |= 64; + } + e7.index = i5 - 1, e7.column = l5 - 1; + } + return o5; + } + case 52: + case 53: + case 54: + case 55: { + if (u || t26 & 1) return -2; + let o5 = n5 - 48, i5 = e7.index + 1, l5 = e7.column + 1; + if (i5 < e7.end) { + let f7 = e7.source.charCodeAt(i5); + S4[f7] & 32 && (o5 = o5 << 3 | f7 - 48, e7.currentChar = f7, e7.index = i5, e7.column = l5); + } + return e7.flags |= 64, o5; + } + case 120: { + let o5 = m5(e7); + if ((S4[o5] & 64) === 0) return -4; + let i5 = v8(o5), l5 = m5(e7); + if ((S4[l5] & 64) === 0) return -4; + let f7 = v8(l5); + return i5 << 4 | f7; + } + case 117: { + let o5 = m5(e7); + if (e7.currentChar === 123) { + let i5 = 0; + for (; (S4[m5(e7)] & 64) !== 0; ) if (i5 = i5 << 4 | v8(e7.currentChar), i5 > 1114111) return -5; + return e7.currentChar < 1 || e7.currentChar !== 125 ? -4 : i5; + } else { + if ((S4[o5] & 64) === 0) return -4; + let i5 = e7.source.charCodeAt(e7.index + 1); + if ((S4[i5] & 64) === 0) return -4; + let l5 = e7.source.charCodeAt(e7.index + 2); + if ((S4[l5] & 64) === 0) return -4; + let f7 = e7.source.charCodeAt(e7.index + 3); + return (S4[f7] & 64) === 0 ? -4 : (e7.index += 3, e7.column += 3, e7.currentChar = e7.source.charCodeAt(e7.index), v8(o5) << 12 | v8(i5) << 8 | v8(l5) << 4 | v8(f7)); + } + } + case 56: + case 57: + if (u || !e7.options.webcompat || t26 & 1) return -3; + e7.flags |= 4096; + default: + return n5; + } +} +function Lt8(e7, t26, n5) { + switch (t26) { + case -1: + return; + case -2: + e7.report(n5 ? 2 : 1); + case -3: + e7.report(n5 ? 3 : 14); + case -4: + e7.report(7); + case -5: + e7.report(104); + } +} +function It9(e7, t26) { + let { index: n5 } = e7, u = 67174409, o5 = "", i5 = m5(e7); + for (; i5 !== 96; ) { + if (i5 === 36 && e7.source.charCodeAt(e7.index + 1) === 123) { + m5(e7), u = 67174408; + break; + } else if (i5 === 92) if (i5 = m5(e7), i5 > 126) o5 += String.fromCodePoint(i5); + else { + let { index: l5, line: f7, column: c7 } = e7, g5 = Nt10(e7, t26 | 1, i5, 1); + if (g5 >= 0) o5 += String.fromCodePoint(g5); + else if (g5 !== -1 && t26 & 64) { + e7.index = l5, e7.line = f7, e7.column = c7, o5 = null, i5 = x22(e7, i5), i5 < 0 && (u = 67174408); + break; + } else Lt8(e7, g5, 1); + } + else e7.index < e7.end && (i5 === 13 && e7.source.charCodeAt(e7.index) === 10 && (o5 += String.fromCodePoint(i5), e7.currentChar = e7.source.charCodeAt(++e7.index)), ((i5 & 83) < 3 && i5 === 10 || (i5 ^ 8232) <= 1) && (e7.column = -1, e7.line++), o5 += String.fromCodePoint(i5)); + e7.index >= e7.end && e7.report(17), i5 = m5(e7); + } + return m5(e7), e7.tokenValue = o5, e7.tokenRaw = e7.source.slice(n5 + 1, e7.index - (u === 67174409 ? 1 : 2)), u; +} +function x22(e7, t26) { + for (; t26 !== 96; ) { + switch (t26) { + case 36: { + let n5 = e7.index + 1; + if (n5 < e7.end && e7.source.charCodeAt(n5) === 123) return e7.index = n5, e7.column++, -t26; + break; + } + case 10: + case 8232: + case 8233: + e7.column = -1, e7.line++; + } + e7.index >= e7.end && e7.report(17), t26 = m5(e7); + } + return t26; +} +function p22(e7, t26) { + return e7.index >= e7.end && e7.report(0), e7.index--, e7.column--, It9(e7, t26); +} +function r(e7, t26) { + e7.flags = (e7.flags | 1) ^ 1, e7.startIndex = e7.index, e7.startColumn = e7.column, e7.startLine = e7.line, e7.setToken(qt9(e7, t26, 0)); +} +function qt9(e7, t26, n5) { + let u = e7.index === 0, { source: o5 } = e7; + for (; e7.index < e7.end; ) { + e7.tokenIndex = e7.index, e7.tokenColumn = e7.column, e7.tokenLine = e7.line; + let i5 = e7.currentChar; + if (i5 <= 126) { + let l5 = en7[i5]; + switch (l5) { + case 67174411: + case 16: + case 2162700: + case 1074790415: + case 69271571: + case 20: + case 21: + case 1074790417: + case 18: + case 16842799: + case 132: + case 128: + return m5(e7), l5; + case 208897: + return ht8(e7, t26, 0); + case 4096: + return ht8(e7, t26, 1); + case 134283266: + return kt10(e7, t26, 144); + case 134283267: + return G22(e7, t26, i5); + case 131: + return It9(e7, t26); + case 136: + return $22(e7, t26); + case 130: + return W22(e7); + case 127: + m5(e7); + break; + case 129: + n5 |= 5, te10(e7); + break; + case 135: + $e9(e7, n5), n5 = n5 & -5 | 1; + break; + case 8456256: { + let f7 = m5(e7); + if (e7.index < e7.end) { + if (f7 === 60) return e7.index < e7.end && m5(e7) === 61 ? (m5(e7), 4194332) : 8390978; + if (f7 === 61) return m5(e7), 8390718; + if (f7 === 33) { + let c7 = e7.index + 1; + if (c7 + 1 < e7.end && o5.charCodeAt(c7) === 45 && o5.charCodeAt(c7 + 1) == 45) { + e7.column += 3, e7.currentChar = o5.charCodeAt(e7.index += 3), n5 = rt10(e7, o5, n5, t26, 2, e7.tokenStart); + continue; + } + return 8456256; + } + } + return 8456256; + } + case 1077936155: { + m5(e7); + let f7 = e7.currentChar; + return f7 === 61 ? m5(e7) === 61 ? (m5(e7), 8390458) : 8390460 : f7 === 62 ? (m5(e7), 10) : 1077936155; + } + case 16842798: + return m5(e7) !== 61 ? 16842798 : m5(e7) !== 61 ? 8390461 : (m5(e7), 8390459); + case 8391477: + return m5(e7) !== 61 ? 8391477 : (m5(e7), 4194340); + case 8391476: { + if (m5(e7), e7.index >= e7.end) return 8391476; + let f7 = e7.currentChar; + return f7 === 61 ? (m5(e7), 4194338) : f7 !== 42 ? 8391476 : m5(e7) !== 61 ? 8391735 : (m5(e7), 4194335); + } + case 8389959: + return m5(e7) !== 61 ? 8389959 : (m5(e7), 4194341); + case 25233968: { + m5(e7); + let f7 = e7.currentChar; + return f7 === 43 ? (m5(e7), 33619993) : f7 === 61 ? (m5(e7), 4194336) : 25233968; + } + case 25233969: { + m5(e7); + let f7 = e7.currentChar; + if (f7 === 45) { + if (m5(e7), (n5 & 1 || u) && e7.currentChar === 62) { + e7.options.webcompat || e7.report(112), m5(e7), n5 = rt10(e7, o5, n5, t26, 3, e7.tokenStart); + continue; + } + return 33619994; + } + return f7 === 61 ? (m5(e7), 4194337) : 25233969; + } + case 8457014: { + if (m5(e7), e7.index < e7.end) { + let f7 = e7.currentChar; + if (f7 === 47) { + m5(e7), n5 = We11(e7, o5, n5, 0, e7.tokenStart); + continue; + } + if (f7 === 42) { + m5(e7), n5 = z22(e7, o5, n5); + continue; + } + if (t26 & 32) return Q22(e7); + if (f7 === 61) return m5(e7), 4259875; + } + return 8457014; + } + case 67108877: { + let f7 = m5(e7); + if (f7 >= 48 && f7 <= 57) return kt10(e7, t26, 80); + if (f7 === 46) { + let c7 = e7.index + 1; + if (c7 < e7.end && o5.charCodeAt(c7) === 46) return e7.column += 2, e7.currentChar = o5.charCodeAt(e7.index += 2), 14; + } + return 67108877; + } + case 8389702: { + m5(e7); + let f7 = e7.currentChar; + return f7 === 124 ? (m5(e7), e7.currentChar === 61 ? (m5(e7), 4194344) : 8913465) : f7 === 61 ? (m5(e7), 4194342) : 8389702; + } + case 8390721: { + m5(e7); + let f7 = e7.currentChar; + if (f7 === 61) return m5(e7), 8390719; + if (f7 !== 62) return 8390721; + if (m5(e7), e7.index < e7.end) { + let c7 = e7.currentChar; + if (c7 === 62) return m5(e7) === 61 ? (m5(e7), 4194334) : 8390980; + if (c7 === 61) return m5(e7), 4194333; + } + return 8390979; + } + case 8390213: { + m5(e7); + let f7 = e7.currentChar; + return f7 === 38 ? (m5(e7), e7.currentChar === 61 ? (m5(e7), 4194345) : 8913720) : f7 === 61 ? (m5(e7), 4194343) : 8390213; + } + case 22: { + let f7 = m5(e7); + if (f7 === 63) return m5(e7), e7.currentChar === 61 ? (m5(e7), 4194346) : 276824445; + if (f7 === 46) { + let c7 = e7.index + 1; + if (c7 < e7.end && (f7 = o5.charCodeAt(c7), !(f7 >= 48 && f7 <= 57))) return m5(e7), 67108990; + } + return 22; + } + } + } else { + if ((i5 ^ 8232) <= 1) { + n5 = n5 & -5 | 1, te10(e7); + continue; + } + let l5 = Ke9(e7); + if (l5 > 0 && (i5 = l5), Ct10(i5)) return e7.tokenValue = "", Ye8(e7, t26, 0, 0); + if (X22(i5)) { + m5(e7); + continue; + } + e7.report(20, String.fromCodePoint(i5)); + } + } + return 1048576; +} +function M8(e7, t26) { + (e7.flags & 1) === 0 && (e7.getToken() & 1048576) !== 1048576 && e7.report(30, B5[e7.getToken() & 255]), C5(e7, t26, 1074790417) || e7.options.onInsertedSemicolon?.(e7.startIndex); +} +function Pt10(e7, t26, n5, u) { + return t26 - n5 < 13 && u === "use strict" && ((e7.getToken() & 1048576) === 1048576 || e7.flags & 1) ? 1 : 0; +} +function Qe9(e7, t26, n5) { + return e7.getToken() !== n5 ? 0 : (r(e7, t26), 1); +} +function C5(e7, t26, n5) { + return e7.getToken() !== n5 ? false : (r(e7, t26), true); +} +function y4(e7, t26, n5) { + e7.getToken() !== n5 && e7.report(25, B5[n5 & 255]), r(e7, t26); +} +function K9(e7, t26) { + switch (t26.type) { + case "ArrayExpression": { + t26.type = "ArrayPattern"; + let { elements: n5 } = t26; + for (let u = 0, o5 = n5.length; u < o5; ++u) { + let i5 = n5[u]; + i5 && K9(e7, i5); + } + return; + } + case "ObjectExpression": { + t26.type = "ObjectPattern"; + let { properties: n5 } = t26; + for (let u = 0, o5 = n5.length; u < o5; ++u) K9(e7, n5[u]); + return; + } + case "AssignmentExpression": + t26.type = "AssignmentPattern", t26.operator !== "=" && e7.report(71), delete t26.operator, K9(e7, t26.left); + return; + case "Property": + K9(e7, t26.value); + return; + case "SpreadElement": + t26.type = "RestElement", K9(e7, t26.argument); + } +} +function Be9(e7, t26, n5, u, o5) { + t26 & 1 && ((u & 36864) === 36864 && e7.report(118), !o5 && (u & 537079808) === 537079808 && e7.report(119)), ((u & 20480) === 20480 || u === -2147483528) && e7.report(102), n5 & 24 && (u & 255) === 73 && e7.report(100), t26 & 2050 && u === 209006 && e7.report(110), t26 & 1025 && u === 241771 && e7.report(97, "yield"); +} +function Ot10(e7, t26, n5) { + t26 & 1 && ((n5 & 36864) === 36864 && e7.report(118), (n5 & 537079808) === 537079808 && e7.report(119), n5 === -2147483527 && e7.report(95), n5 === -2147483528 && e7.report(95)), (n5 & 20480) === 20480 && e7.report(102), t26 & 2050 && n5 === 209006 && e7.report(110), t26 & 1025 && n5 === 241771 && e7.report(97, "yield"); +} +function Vt8(e7, t26, n5) { + return n5 === 209006 && (t26 & 2050 && e7.report(110), e7.destructible |= 128), n5 === 241771 && t26 & 1024 && e7.report(97, "yield"), (n5 & 20480) === 20480 || (n5 & 36864) === 36864 || n5 == -2147483527; +} +function tn7(e7) { + return e7.property ? e7.property.type === "PrivateIdentifier" : false; +} +function Rt8(e7, t26, n5, u) { + for (; t26; ) { + if (t26["$" + n5]) return u && e7.report(137), 1; + u && t26.loop && (u = 0), t26 = t26.$; + } + return 0; +} +function nn8(e7, t26, n5) { + let u = t26; + for (; u; ) u["$" + n5] && e7.report(136, n5), u = u.$; + t26["$" + n5] = 1; +} +function Fe9(e7) { + switch (e7.type) { + case "JSXIdentifier": + return e7.name; + case "JSXNamespacedName": + return e7.namespace + ":" + e7.name; + case "JSXMemberExpression": + return Fe9(e7.object) + "." + Fe9(e7.property); + } +} +function ge8(e7, t26) { + return e7 & 1025 ? e7 & 2 && t26 === 209006 || e7 & 1024 && t26 === 241771 ? false : (t26 & 12288) === 12288 : (t26 & 12288) === 12288 || (t26 & 36864) === 36864; +} +function Ie9(e7, t26, n5) { + (n5 & 537079808) === 537079808 && (t26 & 1 && e7.report(119), e7.flags |= 512), ge8(t26, n5) || e7.report(0); +} +function un6(e7, t26) { + return e7.startIndex = e7.tokenIndex = e7.index, e7.startColumn = e7.tokenColumn = e7.column, e7.startLine = e7.tokenLine = e7.line, e7.setToken(S4[e7.currentChar] & 8192 ? on5(e7) : qt9(e7, t26, 0)), e7.getToken(); +} +function on5(e7) { + let t26 = e7.currentChar, n5 = m5(e7), u = e7.index; + for (; n5 !== t26; ) e7.index >= e7.end && e7.report(16), n5 = m5(e7); + return n5 !== t26 && e7.report(16), e7.tokenValue = e7.source.slice(u, e7.index), m5(e7), e7.options.raw && (e7.tokenRaw = e7.source.slice(e7.tokenIndex, e7.index)), 134283267; +} +function me10(e7) { + if (e7.startIndex = e7.tokenIndex = e7.index, e7.startColumn = e7.tokenColumn = e7.column, e7.startLine = e7.tokenLine = e7.line, e7.index >= e7.end) { + e7.setToken(1048576); + return; + } + if (e7.currentChar === 60) { + m5(e7), e7.setToken(8456256); + return; + } + if (e7.currentChar === 123) { + m5(e7), e7.setToken(2162700); + return; + } + let t26 = 0; + for (; e7.index < e7.end; ) { + let u = S4[e7.source.charCodeAt(e7.index)]; + if (u & 1024 ? (t26 |= 5, te10(e7)) : u & 2048 ? ($e9(e7, t26), t26 = t26 & -5 | 1) : m5(e7), S4[e7.currentChar] & 16384) break; + } + e7.tokenIndex === e7.index && e7.report(0); + let n5 = e7.source.slice(e7.tokenIndex, e7.index); + e7.options.raw && (e7.tokenRaw = n5), e7.tokenValue = n5, e7.setToken(137); +} +function Ue8(e7) { + if ((e7.getToken() & 143360) === 143360) { + let { index: t26 } = e7, n5 = e7.currentChar; + for (; S4[n5] & 32770; ) n5 = m5(e7); + e7.tokenValue += e7.source.slice(t26, e7.index), e7.setToken(208897, true); + } + return e7.getToken(); +} +function ln7(e7) { + let t26 = { validateRegex: true, ...e7 }; + return t26.module && !t26.sourceType && (t26.sourceType = "module"), t26.globalReturn && (!t26.sourceType || t26.sourceType === "script") && (t26.sourceType = "commonjs"), t26; +} +function qe9(e7, t26, n5) { + let u = e7.createScope().createChildScope(512); + return u.addBlockName(t26, n5, 1, 0), u; +} +function fn7(e7, t26) { + return function(n5, u, o5, i5, l5) { + let f7 = { type: n5, value: u }; + t26.ranges && (f7.start = o5, f7.end = i5, f7.range = [o5, i5]), t26.loc && (f7.loc = l5), e7.push(f7); + }; +} +function cn7(e7, t26) { + return function(n5, u, o5, i5) { + let l5 = { token: n5 }; + t26.ranges && (l5.start = u, l5.end = o5, l5.range = [u, o5]), t26.loc && (l5.loc = i5), e7.push(l5); + }; +} +function sn6(e7, t26 = {}, n5 = 0) { + let u = new Xe9(e7, t26); + u.options.sourceType === "module" && (n5 |= 3), u.options.sourceType === "commonjs" && (n5 |= 69632), u.options.impliedStrict && (n5 |= 1), H22(u); + let o5 = u.createScopeIfLexical(), i5 = [], l5 = "script"; + if (n5 & 2) { + if (l5 = "module", i5 = an6(u, n5 | 8, o5), o5) for (let f7 of u.exportedBindings) o5.hasVariable(f7) || u.report(148, f7); + } else i5 = dn6(u, n5 | 8, o5); + return u.finishNode({ type: "Program", sourceType: l5, body: i5 }, { index: 0, line: 1, column: 0 }, u.currentLocation); +} +function dn6(e7, t26, n5) { + r(e7, t26 | 32 | 262144); + let u = []; + for (; e7.getToken() === 134283267; ) { + let { index: o5, tokenValue: i5, tokenStart: l5, tokenIndex: f7 } = e7, c7 = e7.getToken(), g5 = O5(e7, t26); + if (Pt10(e7, o5, f7, i5)) { + if (t26 |= 1, e7.flags & 64) throw new q9(e7.tokenStart, e7.currentLocation, 9); + if (e7.flags & 4096) throw new q9(e7.tokenStart, e7.currentLocation, 15); + } + u.push(Ge9(e7, t26, g5, c7, l5)); + } + for (; e7.getToken() !== 1048576; ) u.push(re8(e7, t26, n5, void 0, 4, {})); + return u; +} +function an6(e7, t26, n5) { + r(e7, t26 | 32); + let u = []; + for (; e7.getToken() === 134283267; ) { + let { tokenStart: o5 } = e7, i5 = e7.getToken(); + u.push(Ge9(e7, t26, O5(e7, t26), i5, o5)); + } + for (; e7.getToken() !== 1048576; ) u.push(gn6(e7, t26, n5)); + return u; +} +function gn6(e7, t26, n5) { + e7.getToken() === 132 && Object.assign(e7.leadingDecorators, { start: e7.tokenStart, decorators: Ve8(e7, t26, void 0) }); + let u; + switch (e7.getToken()) { + case 20564: + u = Pn6(e7, t26, n5); + break; + case 86106: + u = In5(e7, t26, n5); + break; + default: + u = re8(e7, t26, n5, void 0, 4, {}); + } + return e7.leadingDecorators?.decorators.length && e7.report(170), u; +} +function re8(e7, t26, n5, u, o5, i5) { + let l5 = e7.tokenStart; + switch (e7.getToken()) { + case 86104: + return x6(e7, t26, n5, u, o5, 1, 0, 0, l5); + case 132: + case 86094: + return ze10(e7, t26, n5, u, 0); + case 86090: + return je9(e7, t26, n5, u, 16, 0); + case 241737: + return Nn4(e7, t26, n5, u, o5); + case 20564: + e7.report(103, "export"); + case 86106: + switch (r(e7, t26), e7.getToken()) { + case 67174411: + return _t8(e7, t26, u, l5); + case 67108877: + return Jt9(e7, t26, l5); + default: + e7.report(103, "import"); + } + case 209005: + return Mt10(e7, t26, n5, u, o5, i5, 1); + default: + return he10(e7, t26, n5, u, o5, i5, 1); + } +} +function he10(e7, t26, n5, u, o5, i5, l5) { + switch (e7.getToken()) { + case 86088: + return vt10(e7, t26, n5, u, 0); + case 20572: + return rn5(e7, t26, u); + case 20569: + return yn7(e7, t26, n5, u, i5); + case 20567: + return Ln5(e7, t26, n5, u, i5); + case 20562: + return Fn4(e7, t26, n5, u, i5); + case 20578: + return Tn5(e7, t26, n5, u, i5); + case 86110: + return An5(e7, t26, n5, u, i5); + case 1074790417: + return hn7(e7, t26); + case 2162700: + return ae7(e7, t26, n5?.createChildScope(), u, i5, e7.tokenStart); + case 86112: + return kn6(e7, t26, u); + case 20555: + return Dn5(e7, t26, i5); + case 20559: + return bn5(e7, t26, i5); + case 20577: + return wn5(e7, t26, n5, u, i5); + case 20579: + return Cn5(e7, t26, n5, u, i5); + case 20560: + return En6(e7, t26); + case 209005: + return Mt10(e7, t26, n5, u, o5, i5, 0); + case 20557: + e7.report(162); + case 20566: + e7.report(163); + case 86104: + e7.report(t26 & 1 ? 76 : e7.options.webcompat ? 77 : 78); + case 86094: + e7.report(79); + default: + return mn6(e7, t26, n5, u, o5, i5, l5); + } +} +function mn6(e7, t26, n5, u, o5, i5, l5) { + let { tokenValue: f7, tokenStart: c7 } = e7, g5 = e7.getToken(), d5; + switch (g5) { + case 241737: + d5 = N7(e7, t26), t26 & 1 && e7.report(85), e7.getToken() === 69271571 && e7.report(84); + break; + default: + d5 = U8(e7, t26, u, 2, 0, 1, 0, 1, e7.tokenStart); + } + return g5 & 143360 && e7.getToken() === 21 ? Ze9(e7, t26, n5, u, o5, i5, f7, d5, g5, l5, c7) : (d5 = F8(e7, t26, u, d5, 0, 0, c7), d5 = I7(e7, t26, u, 0, 0, c7, d5), e7.getToken() === 18 && (d5 = W9(e7, t26, u, 0, c7, d5)), ie8(e7, t26, d5, c7)); +} +function ae7(e7, t26, n5, u, o5, i5 = e7.tokenStart, l5 = "BlockStatement") { + let f7 = []; + for (y4(e7, t26 | 32, 2162700); e7.getToken() !== 1074790415; ) f7.push(re8(e7, t26, n5, u, 2, { $: o5 })); + return y4(e7, t26 | 32, 1074790415), e7.finishNode({ type: l5, body: f7 }, i5); +} +function rn5(e7, t26, n5) { + (t26 & 4096) === 0 && e7.report(92); + let u = e7.tokenStart; + r(e7, t26 | 32); + let o5 = e7.flags & 1 || e7.getToken() & 1048576 ? null : V9(e7, t26, n5, 0, 1, e7.tokenStart); + return M8(e7, t26 | 32), e7.finishNode({ type: "ReturnStatement", argument: o5 }, u); +} +function ie8(e7, t26, n5, u) { + return M8(e7, t26 | 32), e7.finishNode({ type: "ExpressionStatement", expression: n5 }, u); +} +function Ze9(e7, t26, n5, u, o5, i5, l5, f7, c7, g5, d5) { + Be9(e7, t26, 0, c7, 1), nn8(e7, i5, l5), r(e7, t26 | 32); + let a5 = g5 && (t26 & 1) === 0 && e7.options.webcompat && e7.getToken() === 86104 ? x6(e7, t26, n5?.createChildScope(), u, o5, 0, 0, 0, e7.tokenStart) : he10(e7, t26, n5, u, o5, i5, g5); + return e7.finishNode({ type: "LabeledStatement", label: f7, body: a5 }, d5); +} +function Mt10(e7, t26, n5, u, o5, i5, l5) { + let { tokenValue: f7, tokenStart: c7 } = e7, g5 = e7.getToken(), d5 = N7(e7, t26); + if (e7.getToken() === 21) return Ze9(e7, t26, n5, u, o5, i5, f7, d5, g5, 1, c7); + let a5 = e7.flags & 1; + if (!a5) { + if (e7.getToken() === 86104) return l5 || e7.report(123), x6(e7, t26, n5, u, o5, 1, 0, 1, c7); + if (ge8(t26, e7.getToken())) return d5 = Wt8(e7, t26, u, 1, c7), e7.getToken() === 18 && (d5 = W9(e7, t26, u, 0, c7, d5)), ie8(e7, t26, d5, c7); + } + return e7.getToken() === 67174411 ? d5 = ut8(e7, t26, u, d5, 1, 1, 0, a5, c7) : (e7.getToken() === 10 && (Ie9(e7, t26, g5), (g5 & 36864) === 36864 && (e7.flags |= 256), d5 = Oe9(e7, t26 | 2048, u, e7.tokenValue, d5, 0, 1, 0, c7)), e7.assignable = 1), d5 = F8(e7, t26, u, d5, 0, 0, c7), d5 = I7(e7, t26, u, 0, 0, c7, d5), e7.assignable = 1, e7.getToken() === 18 && (d5 = W9(e7, t26, u, 0, c7, d5)), ie8(e7, t26, d5, c7); +} +function Ge9(e7, t26, n5, u, o5) { + let i5 = e7.startIndex; + u !== 1074790417 && (e7.assignable = 2, n5 = F8(e7, t26, void 0, n5, 0, 0, o5), e7.getToken() !== 1074790417 && (n5 = I7(e7, t26, void 0, 0, 0, o5, n5), e7.getToken() === 18 && (n5 = W9(e7, t26, void 0, 0, o5, n5))), M8(e7, t26 | 32)); + let l5 = { type: "ExpressionStatement", expression: n5 }; + return n5.type === "Literal" && typeof n5.value == "string" && (l5.directive = e7.source.slice(o5.index + 1, i5 - 1)), e7.finishNode(l5, o5); +} +function hn7(e7, t26) { + let n5 = e7.tokenStart; + return r(e7, t26 | 32), e7.finishNode({ type: "EmptyStatement" }, n5); +} +function kn6(e7, t26, n5) { + let u = e7.tokenStart; + r(e7, t26 | 32), e7.flags & 1 && e7.report(90); + let o5 = V9(e7, t26, n5, 0, 1, e7.tokenStart); + return M8(e7, t26 | 32), e7.finishNode({ type: "ThrowStatement", argument: o5 }, u); +} +function yn7(e7, t26, n5, u, o5) { + let i5 = e7.tokenStart; + r(e7, t26), y4(e7, t26 | 32, 67174411), e7.assignable = 1; + let l5 = V9(e7, t26, u, 0, 1, e7.tokenStart); + y4(e7, t26 | 32, 16); + let f7 = yt9(e7, t26, n5, u, o5), c7 = null; + return e7.getToken() === 20563 && (r(e7, t26 | 32), c7 = yt9(e7, t26, n5, u, o5)), e7.finishNode({ type: "IfStatement", test: l5, consequent: f7, alternate: c7 }, i5); +} +function yt9(e7, t26, n5, u, o5) { + let { tokenStart: i5 } = e7; + return t26 & 1 || !e7.options.webcompat || e7.getToken() !== 86104 ? he10(e7, t26, n5, u, 0, { $: o5 }, 0) : x6(e7, t26, n5?.createChildScope(), u, 0, 0, 0, 0, i5); +} +function An5(e7, t26, n5, u, o5) { + let i5 = e7.tokenStart; + r(e7, t26), y4(e7, t26 | 32, 67174411); + let l5 = V9(e7, t26, u, 0, 1, e7.tokenStart); + y4(e7, t26, 16), y4(e7, t26, 2162700); + let f7 = [], c7 = 0; + for (n5 = n5?.createChildScope(8); e7.getToken() !== 1074790415; ) { + let { tokenStart: g5 } = e7, d5 = null, a5 = []; + for (C5(e7, t26 | 32, 20556) ? d5 = V9(e7, t26, u, 0, 1, e7.tokenStart) : (y4(e7, t26 | 32, 20561), c7 && e7.report(89), c7 = 1), y4(e7, t26 | 32, 21); e7.getToken() !== 20556 && e7.getToken() !== 1074790415 && e7.getToken() !== 20561; ) a5.push(re8(e7, t26 | 4, n5, u, 2, { $: o5 })); + f7.push(e7.finishNode({ type: "SwitchCase", test: d5, consequent: a5 }, g5)); + } + return y4(e7, t26 | 32, 1074790415), e7.finishNode({ type: "SwitchStatement", discriminant: l5, cases: f7 }, i5); +} +function Tn5(e7, t26, n5, u, o5) { + let i5 = e7.tokenStart; + r(e7, t26), y4(e7, t26 | 32, 67174411); + let l5 = V9(e7, t26, u, 0, 1, e7.tokenStart); + y4(e7, t26 | 32, 16); + let f7 = de9(e7, t26, n5, u, o5); + return e7.finishNode({ type: "WhileStatement", test: l5, body: f7 }, i5); +} +function de9(e7, t26, n5, u, o5) { + return he10(e7, (t26 | 131072) ^ 131072 | 128, n5, u, 0, { loop: 1, $: o5 }, 0); +} +function bn5(e7, t26, n5) { + (t26 & 128) === 0 && e7.report(68); + let u = e7.tokenStart; + r(e7, t26); + let o5 = null; + if ((e7.flags & 1) === 0 && e7.getToken() & 143360) { + let { tokenValue: i5 } = e7; + o5 = N7(e7, t26 | 32), Rt8(e7, n5, i5, 1) || e7.report(138, i5); + } + return M8(e7, t26 | 32), e7.finishNode({ type: "ContinueStatement", label: o5 }, u); +} +function Dn5(e7, t26, n5) { + let u = e7.tokenStart; + r(e7, t26 | 32); + let o5 = null; + if ((e7.flags & 1) === 0 && e7.getToken() & 143360) { + let { tokenValue: i5 } = e7; + o5 = N7(e7, t26 | 32), Rt8(e7, n5, i5, 0) || e7.report(138, i5); + } else (t26 & 132) === 0 && e7.report(69); + return M8(e7, t26 | 32), e7.finishNode({ type: "BreakStatement", label: o5 }, u); +} +function Cn5(e7, t26, n5, u, o5) { + let i5 = e7.tokenStart; + r(e7, t26), t26 & 1 && e7.report(91), y4(e7, t26 | 32, 67174411); + let l5 = V9(e7, t26, u, 0, 1, e7.tokenStart); + y4(e7, t26 | 32, 16); + let f7 = he10(e7, t26, n5, u, 2, o5, 0); + return e7.finishNode({ type: "WithStatement", object: l5, body: f7 }, i5); +} +function En6(e7, t26) { + let n5 = e7.tokenStart; + return r(e7, t26 | 32), M8(e7, t26 | 32), e7.finishNode({ type: "DebuggerStatement" }, n5); +} +function wn5(e7, t26, n5, u, o5) { + let i5 = e7.tokenStart; + r(e7, t26 | 32); + let l5 = n5?.createChildScope(16), f7 = ae7(e7, t26, l5, u, { $: o5 }), { tokenStart: c7 } = e7, g5 = C5(e7, t26 | 32, 20557) ? Sn6(e7, t26, n5, u, o5, c7) : null, d5 = null; + if (e7.getToken() === 20566) { + r(e7, t26 | 32); + let a5 = n5?.createChildScope(4); + d5 = ae7(e7, t26, a5, u, { $: o5 }); + } + return !g5 && !d5 && e7.report(88), e7.finishNode({ type: "TryStatement", block: f7, handler: g5, finalizer: d5 }, i5); +} +function Sn6(e7, t26, n5, u, o5, i5) { + let l5 = null, f7 = n5; + C5(e7, t26, 67174411) && (n5 = n5?.createChildScope(4), l5 = Zt9(e7, t26, n5, u, (e7.getToken() & 2097152) === 2097152 ? 256 : 512, 0), e7.getToken() === 18 ? e7.report(86) : e7.getToken() === 1077936155 && e7.report(87), y4(e7, t26 | 32, 16)), f7 = n5?.createChildScope(32); + let c7 = ae7(e7, t26, f7, u, { $: o5 }); + return e7.finishNode({ type: "CatchClause", param: l5, body: c7 }, i5); +} +function Bn5(e7, t26, n5, u, o5) { + n5 = n5?.createChildScope(); + let i5 = 5764; + return t26 = (t26 | i5) ^ i5 | 256 | 2048 | 524288 | 65536, ae7(e7, t26, n5, u, {}, o5, "StaticBlock"); +} +function Fn4(e7, t26, n5, u, o5) { + let i5 = e7.tokenStart; + r(e7, t26 | 32); + let l5 = de9(e7, t26, n5, u, o5); + y4(e7, t26, 20578), y4(e7, t26 | 32, 67174411); + let f7 = V9(e7, t26, u, 0, 1, e7.tokenStart); + return y4(e7, t26 | 32, 16), C5(e7, t26 | 32, 1074790417), e7.finishNode({ type: "DoWhileStatement", body: l5, test: f7 }, i5); +} +function Nn4(e7, t26, n5, u, o5) { + let { tokenValue: i5, tokenStart: l5 } = e7, f7 = e7.getToken(), c7 = N7(e7, t26); + if (e7.getToken() & 2240512) { + let g5 = ue9(e7, t26, n5, u, 8, 0); + return M8(e7, t26 | 32), e7.finishNode({ type: "VariableDeclaration", kind: "let", declarations: g5 }, l5); + } + if (e7.assignable = 1, t26 & 1 && e7.report(85), e7.getToken() === 21) return Ze9(e7, t26, n5, u, o5, {}, i5, c7, f7, 0, l5); + if (e7.getToken() === 10) { + let g5; + e7.options.lexical && (g5 = qe9(e7, t26, i5)), e7.flags = (e7.flags | 128) ^ 128, c7 = ke8(e7, t26, g5, u, [c7], 0, l5); + } else c7 = F8(e7, t26, u, c7, 0, 0, l5), c7 = I7(e7, t26, u, 0, 0, l5, c7); + return e7.getToken() === 18 && (c7 = W9(e7, t26, u, 0, l5, c7)), ie8(e7, t26, c7, l5); +} +function je9(e7, t26, n5, u, o5, i5) { + let l5 = e7.tokenStart; + r(e7, t26); + let f7 = ue9(e7, t26, n5, u, o5, i5); + return M8(e7, t26 | 32), e7.finishNode({ type: "VariableDeclaration", kind: o5 & 8 ? "let" : "const", declarations: f7 }, l5); +} +function vt10(e7, t26, n5, u, o5) { + let i5 = e7.tokenStart; + r(e7, t26); + let l5 = ue9(e7, t26, n5, u, 4, o5); + return M8(e7, t26 | 32), e7.finishNode({ type: "VariableDeclaration", kind: "var", declarations: l5 }, i5); +} +function ue9(e7, t26, n5, u, o5, i5) { + let l5 = 1, f7 = [At10(e7, t26, n5, u, o5, i5)]; + for (; C5(e7, t26, 18); ) l5++, f7.push(At10(e7, t26, n5, u, o5, i5)); + return l5 > 1 && i5 & 32 && e7.getToken() & 262144 && e7.report(61, B5[e7.getToken() & 255]), f7; +} +function At10(e7, t26, n5, u, o5, i5) { + let { tokenStart: l5 } = e7, f7 = e7.getToken(), c7 = null, g5 = Zt9(e7, t26, n5, u, o5, i5); + if (e7.getToken() === 1077936155) { + if (r(e7, t26 | 32), c7 = L7(e7, t26, u, 1, 0, e7.tokenStart), (i5 & 32 || (f7 & 2097152) === 0) && (e7.getToken() === 471156 || e7.getToken() === 8673330 && (f7 & 2097152 || (o5 & 4) === 0 || t26 & 1))) throw new q9(l5, e7.currentLocation, 60, e7.getToken() === 471156 ? "of" : "in"); + } else (o5 & 16 || (f7 & 2097152) > 0) && (e7.getToken() & 262144) !== 262144 && e7.report(59, o5 & 16 ? "const" : "destructuring"); + return e7.finishNode({ type: "VariableDeclarator", id: g5, init: c7 }, l5); +} +function Ln5(e7, t26, n5, u, o5) { + let i5 = e7.tokenStart; + r(e7, t26); + let l5 = ((t26 & 2048) > 0 || (t26 & 2) > 0 && (t26 & 8) > 0) && C5(e7, t26, 209006); + y4(e7, t26 | 32, 67174411), n5 = n5?.createChildScope(1); + let f7 = null, c7 = null, g5 = 0, d5 = null, a5 = e7.getToken() === 86088 || e7.getToken() === 241737 || e7.getToken() === 86090, h5, { tokenStart: A9 } = e7, b7 = e7.getToken(); + if (a5) b7 === 241737 ? (d5 = N7(e7, t26), e7.getToken() & 2240512 ? (e7.getToken() === 8673330 ? t26 & 1 && e7.report(67) : d5 = e7.finishNode({ type: "VariableDeclaration", kind: "let", declarations: ue9(e7, t26 | 131072, n5, u, 8, 32) }, A9), e7.assignable = 1) : t26 & 1 ? e7.report(67) : (a5 = false, e7.assignable = 1, d5 = F8(e7, t26, u, d5, 0, 0, A9), e7.getToken() === 471156 && e7.report(115))) : (r(e7, t26), d5 = e7.finishNode(b7 === 86088 ? { type: "VariableDeclaration", kind: "var", declarations: ue9(e7, t26 | 131072, n5, u, 4, 32) } : { type: "VariableDeclaration", kind: "const", declarations: ue9(e7, t26 | 131072, n5, u, 16, 32) }, A9), e7.assignable = 1); + else if (b7 === 1074790417) l5 && e7.report(82); + else if ((b7 & 2097152) === 2097152) { + let T7 = e7.tokenStart; + d5 = b7 === 2162700 ? j7(e7, t26, void 0, u, 1, 0, 0, 2, 32) : X9(e7, t26, void 0, u, 1, 0, 0, 2, 32), g5 = e7.destructible, g5 & 64 && e7.report(63), e7.assignable = g5 & 16 ? 2 : 1, d5 = F8(e7, t26 | 131072, u, d5, 0, 0, T7); + } else d5 = _7(e7, t26 | 131072, u, 1, 0, 1); + if ((e7.getToken() & 262144) === 262144) { + if (e7.getToken() === 471156) { + e7.assignable & 2 && e7.report(80, l5 ? "await" : "of"), K9(e7, d5), r(e7, t26 | 32), h5 = L7(e7, t26, u, 1, 0, e7.tokenStart), y4(e7, t26 | 32, 16); + let D7 = de9(e7, t26, n5, u, o5); + return e7.finishNode({ type: "ForOfStatement", left: d5, right: h5, body: D7, await: l5 }, i5); + } + e7.assignable & 2 && e7.report(80, "in"), K9(e7, d5), r(e7, t26 | 32), l5 && e7.report(82), h5 = V9(e7, t26, u, 0, 1, e7.tokenStart), y4(e7, t26 | 32, 16); + let T7 = de9(e7, t26, n5, u, o5); + return e7.finishNode({ type: "ForInStatement", body: T7, left: d5, right: h5 }, i5); + } + l5 && e7.report(82), a5 || (g5 & 8 && e7.getToken() !== 1077936155 && e7.report(80, "loop"), d5 = I7(e7, t26 | 131072, u, 0, 0, A9, d5)), e7.getToken() === 18 && (d5 = W9(e7, t26, u, 0, A9, d5)), y4(e7, t26 | 32, 1074790417), e7.getToken() !== 1074790417 && (f7 = V9(e7, t26, u, 0, 1, e7.tokenStart)), y4(e7, t26 | 32, 1074790417), e7.getToken() !== 16 && (c7 = V9(e7, t26, u, 0, 1, e7.tokenStart)), y4(e7, t26 | 32, 16); + let w8 = de9(e7, t26, n5, u, o5); + return e7.finishNode({ type: "ForStatement", init: d5, test: f7, update: c7, body: w8 }, i5); +} +function Ut8(e7, t26, n5) { + return ge8(t26, e7.getToken()) || e7.report(118), (e7.getToken() & 537079808) === 537079808 && e7.report(119), n5?.addBlockName(t26, e7.tokenValue, 8, 0), N7(e7, t26); +} +function In5(e7, t26, n5) { + let u = e7.tokenStart; + r(e7, t26); + let o5 = null, { tokenStart: i5 } = e7, l5 = []; + if (e7.getToken() === 134283267) o5 = O5(e7, t26); + else { + if (e7.getToken() & 143360) { + let g5 = Ut8(e7, t26, n5); + if (l5 = [e7.finishNode({ type: "ImportDefaultSpecifier", local: g5 }, i5)], C5(e7, t26, 18)) switch (e7.getToken()) { + case 8391476: + l5.push(Tt10(e7, t26, n5)); + break; + case 2162700: + bt10(e7, t26, n5, l5); + break; + default: + e7.report(107); + } + } else switch (e7.getToken()) { + case 8391476: + l5 = [Tt10(e7, t26, n5)]; + break; + case 2162700: + bt10(e7, t26, n5, l5); + break; + case 67174411: + return _t8(e7, t26, void 0, u); + case 67108877: + return Jt9(e7, t26, u); + default: + e7.report(30, B5[e7.getToken() & 255]); + } + o5 = qn6(e7, t26); + } + let f7 = He8(e7, t26), c7 = { type: "ImportDeclaration", specifiers: l5, source: o5, attributes: f7 }; + return M8(e7, t26 | 32), e7.finishNode(c7, u); +} +function Tt10(e7, t26, n5) { + let { tokenStart: u } = e7; + if (r(e7, t26), y4(e7, t26, 77932), (e7.getToken() & 134217728) === 134217728) throw new q9(u, e7.currentLocation, 30, B5[e7.getToken() & 255]); + return e7.finishNode({ type: "ImportNamespaceSpecifier", local: Ut8(e7, t26, n5) }, u); +} +function qn6(e7, t26) { + return y4(e7, t26, 209011), e7.getToken() !== 134283267 && e7.report(105, "Import"), O5(e7, t26); +} +function bt10(e7, t26, n5, u) { + for (r(e7, t26); e7.getToken() & 143360 || e7.getToken() === 134283267; ) { + let { tokenValue: o5, tokenStart: i5 } = e7, l5 = e7.getToken(), f7 = Ce8(e7, t26), c7; + C5(e7, t26, 77932) ? ((e7.getToken() & 134217728) === 134217728 || e7.getToken() === 18 ? e7.report(106) : Be9(e7, t26, 16, e7.getToken(), 0), o5 = e7.tokenValue, c7 = N7(e7, t26)) : f7.type === "Identifier" ? (Be9(e7, t26, 16, l5, 0), c7 = e7.cloneIdentifier(f7)) : e7.report(25, B5[108]), n5?.addBlockName(t26, o5, 8, 0), u.push(e7.finishNode({ type: "ImportSpecifier", local: c7, imported: f7 }, i5)), e7.getToken() !== 1074790415 && y4(e7, t26, 18); + } + return y4(e7, t26, 1074790415), u; +} +function Jt9(e7, t26, n5) { + let u = Xt8(e7, t26, e7.finishNode({ type: "Identifier", name: "import" }, n5), n5); + return u = F8(e7, t26, void 0, u, 0, 0, n5), u = I7(e7, t26, void 0, 0, 0, n5, u), e7.getToken() === 18 && (u = W9(e7, t26, void 0, 0, n5, u)), ie8(e7, t26, u, n5); +} +function _t8(e7, t26, n5, u) { + let o5 = jt6(e7, t26, n5, 0, u); + return o5 = F8(e7, t26, n5, o5, 0, 0, u), e7.getToken() === 18 && (o5 = W9(e7, t26, n5, 0, u, o5)), ie8(e7, t26, o5, u); +} +function Pn6(e7, t26, n5) { + let u = e7.leadingDecorators.decorators.length ? e7.leadingDecorators.start : e7.tokenStart; + r(e7, t26 | 32); + let o5 = [], i5 = null, l5 = null, f7 = []; + if (C5(e7, t26 | 32, 20561)) { + switch (e7.getToken()) { + case 86104: { + i5 = x6(e7, t26, n5, void 0, 4, 1, 1, 0, e7.tokenStart); + break; + } + case 132: + case 86094: + i5 = ze10(e7, t26, n5, void 0, 1); + break; + case 209005: { + let { tokenStart: g5 } = e7; + i5 = N7(e7, t26); + let { flags: d5 } = e7; + (d5 & 1) === 0 && (e7.getToken() === 86104 ? i5 = x6(e7, t26, n5, void 0, 4, 1, 1, 1, g5) : e7.getToken() === 67174411 ? (i5 = ut8(e7, t26, void 0, i5, 1, 1, 0, d5, g5), i5 = F8(e7, t26, void 0, i5, 0, 0, g5), i5 = I7(e7, t26, void 0, 0, 0, g5, i5)) : e7.getToken() & 143360 && (n5 && (n5 = qe9(e7, t26, e7.tokenValue)), i5 = N7(e7, t26), i5 = ke8(e7, t26, n5, void 0, [i5], 1, g5))); + break; + } + default: + i5 = L7(e7, t26, void 0, 1, 0, e7.tokenStart), M8(e7, t26 | 32); + } + return n5 && e7.declareUnboundVariable("default"), e7.finishNode({ type: "ExportDefaultDeclaration", declaration: i5 }, u); + } + switch (e7.getToken()) { + case 8391476: { + r(e7, t26); + let g5 = null; + C5(e7, t26, 77932) && (n5 && e7.declareUnboundVariable(e7.tokenValue), g5 = Ce8(e7, t26)), y4(e7, t26, 209011), e7.getToken() !== 134283267 && e7.report(105, "Export"), l5 = O5(e7, t26); + let a5 = He8(e7, t26), h5 = { type: "ExportAllDeclaration", source: l5, exported: g5, attributes: a5 }; + return M8(e7, t26 | 32), e7.finishNode(h5, u); + } + case 2162700: { + r(e7, t26); + let g5 = [], d5 = [], a5 = 0; + for (; e7.getToken() & 143360 || e7.getToken() === 134283267; ) { + let { tokenStart: h5, tokenValue: A9 } = e7, b7 = Ce8(e7, t26); + b7.type === "Literal" && (a5 = 1); + let w8; + e7.getToken() === 77932 ? (r(e7, t26), (e7.getToken() & 143360) === 0 && e7.getToken() !== 134283267 && e7.report(106), n5 && (g5.push(e7.tokenValue), d5.push(A9)), w8 = Ce8(e7, t26)) : (n5 && (g5.push(e7.tokenValue), d5.push(e7.tokenValue)), w8 = b7.type === "Literal" ? e7.cloneStringLiteral(b7) : e7.cloneIdentifier(b7)), o5.push(e7.finishNode({ type: "ExportSpecifier", local: b7, exported: w8 }, h5)), e7.getToken() !== 1074790415 && y4(e7, t26, 18); + } + y4(e7, t26, 1074790415), C5(e7, t26, 209011) ? (e7.getToken() !== 134283267 && e7.report(105, "Export"), l5 = O5(e7, t26), f7 = He8(e7, t26), n5 && g5.forEach((h5) => e7.declareUnboundVariable(h5))) : (a5 && e7.report(172), n5 && (g5.forEach((h5) => e7.declareUnboundVariable(h5)), d5.forEach((h5) => e7.addBindingToExports(h5)))), M8(e7, t26 | 32); + break; + } + case 132: + case 86094: + i5 = ze10(e7, t26, n5, void 0, 2); + break; + case 86104: + i5 = x6(e7, t26, n5, void 0, 4, 1, 2, 0, e7.tokenStart); + break; + case 241737: + i5 = je9(e7, t26, n5, void 0, 8, 64); + break; + case 86090: + i5 = je9(e7, t26, n5, void 0, 16, 64); + break; + case 86088: + i5 = vt10(e7, t26, n5, void 0, 64); + break; + case 209005: { + let { tokenStart: g5 } = e7; + if (r(e7, t26), (e7.flags & 1) === 0 && e7.getToken() === 86104) { + i5 = x6(e7, t26, n5, void 0, 4, 1, 2, 1, g5); + break; + } + } + default: + e7.report(30, B5[e7.getToken() & 255]); + } + let c7 = { type: "ExportNamedDeclaration", declaration: i5, specifiers: o5, source: l5, attributes: f7 }; + return e7.finishNode(c7, u); +} +function L7(e7, t26, n5, u, o5, i5) { + let l5 = U8(e7, t26, n5, 2, 0, u, o5, 1, i5); + return l5 = F8(e7, t26, n5, l5, o5, 0, i5), I7(e7, t26, n5, o5, 0, i5, l5); +} +function W9(e7, t26, n5, u, o5, i5) { + let l5 = [i5]; + for (; C5(e7, t26 | 32, 18); ) l5.push(L7(e7, t26, n5, 1, u, e7.tokenStart)); + return e7.finishNode({ type: "SequenceExpression", expressions: l5 }, o5); +} +function V9(e7, t26, n5, u, o5, i5) { + let l5 = L7(e7, t26, n5, o5, u, i5); + return e7.getToken() === 18 ? W9(e7, t26, n5, u, i5, l5) : l5; +} +function I7(e7, t26, n5, u, o5, i5, l5) { + let f7 = e7.getToken(); + if ((f7 & 4194304) === 4194304) { + e7.assignable & 2 && e7.report(26), (!o5 && f7 === 1077936155 && l5.type === "ArrayExpression" || l5.type === "ObjectExpression") && K9(e7, l5), r(e7, t26 | 32); + let c7 = L7(e7, t26, n5, 1, u, e7.tokenStart); + return e7.assignable = 2, e7.finishNode(o5 ? { type: "AssignmentPattern", left: l5, right: c7 } : { type: "AssignmentExpression", left: l5, operator: B5[f7 & 255], right: c7 }, i5); + } + return (f7 & 8388608) === 8388608 && (l5 = G8(e7, t26, n5, u, i5, 4, f7, l5)), C5(e7, t26 | 32, 22) && (l5 = ee7(e7, t26, n5, l5, i5)), l5; +} +function be9(e7, t26, n5, u, o5, i5, l5) { + let f7 = e7.getToken(); + r(e7, t26 | 32); + let c7 = L7(e7, t26, n5, 1, u, e7.tokenStart); + return l5 = e7.finishNode(o5 ? { type: "AssignmentPattern", left: l5, right: c7 } : { type: "AssignmentExpression", left: l5, operator: B5[f7 & 255], right: c7 }, i5), e7.assignable = 2, l5; +} +function ee7(e7, t26, n5, u, o5) { + let i5 = L7(e7, (t26 | 131072) ^ 131072, n5, 1, 0, e7.tokenStart); + y4(e7, t26 | 32, 21), e7.assignable = 1; + let l5 = L7(e7, t26, n5, 1, 0, e7.tokenStart); + return e7.assignable = 2, e7.finishNode({ type: "ConditionalExpression", test: u, consequent: i5, alternate: l5 }, o5); +} +function G8(e7, t26, n5, u, o5, i5, l5, f7) { + let c7 = -((t26 & 131072) > 0) & 8673330, g5, d5; + for (e7.assignable = 2; e7.getToken() & 8388608 && (g5 = e7.getToken(), d5 = g5 & 3840, (g5 & 524288 && l5 & 268435456 || l5 & 524288 && g5 & 268435456) && e7.report(165), !(d5 + ((g5 === 8391735) << 8) - ((c7 === g5) << 12) <= i5)); ) r(e7, t26 | 32), f7 = e7.finishNode({ type: g5 & 524288 || g5 & 268435456 ? "LogicalExpression" : "BinaryExpression", left: f7, right: G8(e7, t26, n5, u, e7.tokenStart, d5, g5, _7(e7, t26, n5, 0, u, 1)), operator: B5[g5 & 255] }, o5); + return e7.getToken() === 1077936155 && e7.report(26), f7; +} +function On5(e7, t26, n5, u, o5) { + u || e7.report(0); + let { tokenStart: i5 } = e7, l5 = e7.getToken(); + r(e7, t26 | 32); + let f7 = _7(e7, t26, n5, 0, o5, 1); + return e7.getToken() === 8391735 && e7.report(33), t26 & 1 && l5 === 16863276 && (f7.type === "Identifier" ? e7.report(121) : tn7(f7) && e7.report(127)), e7.assignable = 2, e7.finishNode({ type: "UnaryExpression", operator: B5[l5 & 255], argument: f7, prefix: true }, i5); +} +function Vn5(e7, t26, n5, u, o5, i5, l5, f7) { + let c7 = e7.getToken(), g5 = N7(e7, t26), { flags: d5 } = e7; + if ((d5 & 1) === 0) { + if (e7.getToken() === 86104) return zt8(e7, t26, n5, 1, u, f7); + if (ge8(t26, e7.getToken())) return o5 || e7.report(0), (e7.getToken() & 36864) === 36864 && (e7.flags |= 256), Wt8(e7, t26, n5, i5, f7); + } + return !l5 && e7.getToken() === 67174411 ? ut8(e7, t26, n5, g5, i5, 1, 0, d5, f7) : e7.getToken() === 10 ? (Ie9(e7, t26, c7), l5 && e7.report(51), (c7 & 36864) === 36864 && (e7.flags |= 256), Oe9(e7, t26, n5, e7.tokenValue, g5, l5, i5, 0, f7)) : (e7.assignable = 1, g5); +} +function Rn4(e7, t26, n5, u, o5, i5) { + if (u && (e7.destructible |= 256), t26 & 1024) { + r(e7, t26 | 32), t26 & 8192 && e7.report(32), o5 || e7.report(26), e7.getToken() === 22 && e7.report(124); + let l5 = null, f7 = false; + return (e7.flags & 1) === 0 ? (f7 = C5(e7, t26 | 32, 8391476), (e7.getToken() & 77824 || f7) && (l5 = L7(e7, t26, n5, 1, 0, e7.tokenStart))) : e7.getToken() === 8391476 && e7.report(30, B5[e7.getToken() & 255]), e7.assignable = 2, e7.finishNode({ type: "YieldExpression", argument: l5, delegate: f7 }, i5); + } + return t26 & 1 && e7.report(97, "yield"), nt9(e7, t26, n5); +} +function Mn4(e7, t26, n5, u, o5, i5) { + o5 && (e7.destructible |= 128), t26 & 524288 && e7.report(177); + let l5 = nt9(e7, t26, n5); + if (l5.type === "ArrowFunctionExpression" || (e7.getToken() & 65536) === 0) { + if (t26 & 2048) throw new q9(i5, { index: e7.startIndex, line: e7.startLine, column: e7.startColumn }, 176); + if (t26 & 2) throw new q9(i5, { index: e7.startIndex, line: e7.startLine, column: e7.startColumn }, 110); + if (t26 & 8192 && t26 & 2048) throw new q9(i5, { index: e7.startIndex, line: e7.startLine, column: e7.startColumn }, 110); + return l5; + } + if (t26 & 8192) throw new q9(i5, { index: e7.startIndex, line: e7.startLine, column: e7.startColumn }, 31); + if (t26 & 2048 || t26 & 2 && t26 & 8) { + if (u) throw new q9(i5, { index: e7.startIndex, line: e7.startLine, column: e7.startColumn }, 0); + let c7 = _7(e7, t26, n5, 0, 0, 1); + return e7.getToken() === 8391735 && e7.report(33), e7.assignable = 2, e7.finishNode({ type: "AwaitExpression", argument: c7 }, i5); + } + if (t26 & 2) throw new q9(i5, { index: e7.startIndex, line: e7.startLine, column: e7.startColumn }, 98); + return l5; +} +function Pe8(e7, t26, n5, u, o5, i5, l5) { + let { tokenStart: f7 } = e7; + y4(e7, t26 | 32, 2162700); + let c7 = []; + if (e7.getToken() !== 1074790415) { + for (; e7.getToken() === 134283267; ) { + let { index: g5, tokenStart: d5, tokenIndex: a5, tokenValue: h5 } = e7, A9 = e7.getToken(), b7 = O5(e7, t26); + if (Pt10(e7, g5, a5, h5)) { + if (t26 |= 1, e7.flags & 128) throw new q9(d5, e7.currentLocation, 66); + if (e7.flags & 64) throw new q9(d5, e7.currentLocation, 9); + if (e7.flags & 4096) throw new q9(d5, e7.currentLocation, 15); + l5?.reportScopeError(); + } + c7.push(Ge9(e7, t26, b7, A9, d5)); + } + t26 & 1 && (i5 && ((i5 & 537079808) === 537079808 && e7.report(119), (i5 & 36864) === 36864 && e7.report(40)), e7.flags & 512 && e7.report(119), e7.flags & 256 && e7.report(118)); + } + for (e7.flags = (e7.flags | 512 | 256 | 64 | 4096) ^ 4928, e7.destructible = (e7.destructible | 256) ^ 256; e7.getToken() !== 1074790415; ) c7.push(re8(e7, t26, n5, u, 4, {})); + return y4(e7, o5 & 24 ? t26 | 32 : t26, 1074790415), e7.flags &= -4289, e7.getToken() === 1077936155 && e7.report(26), e7.finishNode({ type: "BlockStatement", body: c7 }, f7); +} +function vn5(e7, t26) { + let { tokenStart: n5 } = e7; + switch (r(e7, t26), e7.getToken()) { + case 67108990: + e7.report(167); + case 67174411: { + (t26 & 512) === 0 && e7.report(28), e7.assignable = 2; + break; + } + case 69271571: + case 67108877: { + (t26 & 256) === 0 && e7.report(29), e7.assignable = 1; + break; + } + default: + e7.report(30, "super"); + } + return e7.finishNode({ type: "Super" }, n5); +} +function _7(e7, t26, n5, u, o5, i5) { + let l5 = e7.tokenStart, f7 = U8(e7, t26, n5, 2, 0, u, o5, i5, l5); + return F8(e7, t26, n5, f7, o5, 0, l5); +} +function Un5(e7, t26, n5, u) { + e7.assignable & 2 && e7.report(55); + let o5 = e7.getToken(); + return r(e7, t26), e7.assignable = 2, e7.finishNode({ type: "UpdateExpression", argument: n5, operator: B5[o5 & 255], prefix: false }, u); +} +function F8(e7, t26, n5, u, o5, i5, l5) { + if ((e7.getToken() & 33619968) === 33619968 && (e7.flags & 1) === 0) u = Un5(e7, t26, u, l5); + else if ((e7.getToken() & 67108864) === 67108864) { + switch (t26 = (t26 | 131072) ^ 131072, e7.getToken()) { + case 67108877: { + r(e7, (t26 | 262144 | 8) ^ 8), t26 & 16 && e7.getToken() === 130 && e7.tokenValue === "super" && e7.report(173), e7.assignable = 1; + let f7 = xe8(e7, t26 | 64, n5); + u = e7.finishNode({ type: "MemberExpression", object: u, computed: false, property: f7, optional: false }, l5); + break; + } + case 69271571: { + let f7 = false; + (e7.flags & 2048) === 2048 && (f7 = true, e7.flags = (e7.flags | 2048) ^ 2048), r(e7, t26 | 32); + let { tokenStart: c7 } = e7, g5 = V9(e7, t26, n5, o5, 1, c7); + y4(e7, t26, 20), e7.assignable = 1, u = e7.finishNode({ type: "MemberExpression", object: u, computed: true, property: g5, optional: false }, l5), f7 && (e7.flags |= 2048); + break; + } + case 67174411: { + if ((e7.flags & 1024) === 1024) return e7.flags = (e7.flags | 1024) ^ 1024, u; + let f7 = false; + (e7.flags & 2048) === 2048 && (f7 = true, e7.flags = (e7.flags | 2048) ^ 2048); + let c7 = tt9(e7, t26, n5, o5); + e7.assignable = 2, u = e7.finishNode({ type: "CallExpression", callee: u, arguments: c7, optional: false }, l5), f7 && (e7.flags |= 2048); + break; + } + case 67108990: { + r(e7, (t26 | 262144 | 8) ^ 8), e7.flags |= 2048, e7.assignable = 2, u = Jn6(e7, t26, n5, u, l5); + break; + } + default: + (e7.flags & 2048) === 2048 && e7.report(166), e7.assignable = 2, u = e7.finishNode({ type: "TaggedTemplateExpression", tag: u, quasi: e7.getToken() === 67174408 ? et9(e7, t26 | 64, n5) : pe8(e7, t26) }, l5); + } + u = F8(e7, t26, n5, u, 0, 1, l5); + } + return i5 === 0 && (e7.flags & 2048) === 2048 && (e7.flags = (e7.flags | 2048) ^ 2048, u = e7.finishNode({ type: "ChainExpression", expression: u }, l5)), u; +} +function Jn6(e7, t26, n5, u, o5) { + let i5 = false, l5; + if ((e7.getToken() === 69271571 || e7.getToken() === 67174411) && (e7.flags & 2048) === 2048 && (i5 = true, e7.flags = (e7.flags | 2048) ^ 2048), e7.getToken() === 69271571) { + r(e7, t26 | 32); + let { tokenStart: f7 } = e7, c7 = V9(e7, t26, n5, 0, 1, f7); + y4(e7, t26, 20), e7.assignable = 2, l5 = e7.finishNode({ type: "MemberExpression", object: u, computed: true, optional: true, property: c7 }, o5); + } else if (e7.getToken() === 67174411) { + let f7 = tt9(e7, t26, n5, 0); + e7.assignable = 2, l5 = e7.finishNode({ type: "CallExpression", callee: u, arguments: f7, optional: true }, o5); + } else { + let f7 = xe8(e7, t26, n5); + e7.assignable = 2, l5 = e7.finishNode({ type: "MemberExpression", object: u, computed: false, optional: true, property: f7 }, o5); + } + return i5 && (e7.flags |= 2048), l5; +} +function xe8(e7, t26, n5) { + return (e7.getToken() & 143360) === 0 && e7.getToken() !== -2147483528 && e7.getToken() !== -2147483527 && e7.getToken() !== 130 && e7.report(160), e7.getToken() === 130 ? Le9(e7, t26, n5, 0) : N7(e7, t26); +} +function _n5(e7, t26, n5, u, o5, i5) { + u && e7.report(56), o5 || e7.report(0); + let l5 = e7.getToken(); + r(e7, t26 | 32); + let f7 = _7(e7, t26, n5, 0, 0, 1); + return e7.assignable & 2 && e7.report(55), e7.assignable = 2, e7.finishNode({ type: "UpdateExpression", argument: f7, operator: B5[l5 & 255], prefix: true }, i5); +} +function U8(e7, t26, n5, u, o5, i5, l5, f7, c7) { + if ((e7.getToken() & 143360) === 143360) { + switch (e7.getToken()) { + case 209006: + return Mn4(e7, t26, n5, o5, l5, c7); + case 241771: + return Rn4(e7, t26, n5, l5, i5, c7); + case 209005: + return Vn5(e7, t26, n5, l5, f7, i5, o5, c7); + } + let { tokenValue: g5 } = e7, d5 = e7.getToken(), a5 = N7(e7, t26 | 64); + return e7.getToken() === 10 ? (f7 || e7.report(0), Ie9(e7, t26, d5), (d5 & 36864) === 36864 && (e7.flags |= 256), Oe9(e7, t26, n5, g5, a5, o5, i5, 0, c7)) : (t26 & 16 && !(t26 & 32768) && !(t26 & 8192) && e7.tokenValue === "arguments" && e7.report(130), (d5 & 255) === 73 && (t26 & 1 && e7.report(113), u & 24 && e7.report(100)), e7.assignable = t26 & 1 && (d5 & 537079808) === 537079808 ? 2 : 1, a5); + } + if ((e7.getToken() & 134217728) === 134217728) return O5(e7, t26); + switch (e7.getToken()) { + case 33619993: + case 33619994: + return _n5(e7, t26, n5, o5, f7, c7); + case 16863276: + case 16842798: + case 16842799: + case 25233968: + case 25233969: + case 16863275: + case 16863277: + return On5(e7, t26, n5, f7, l5); + case 86104: + return zt8(e7, t26, n5, 0, l5, c7); + case 2162700: + return Yn5(e7, t26, n5, i5 ? 0 : 1, l5); + case 69271571: + return Wn6(e7, t26, n5, i5 ? 0 : 1, l5); + case 67174411: + return Zn7(e7, t26 | 64, n5, i5, 1, 0, c7); + case 86021: + case 86022: + case 86023: + return Kn7(e7, t26); + case 86111: + return $n6(e7, t26); + case 65540: + return pn6(e7, t26); + case 132: + case 86094: + return eu2(e7, t26, n5, l5, c7); + case 86109: + return vn5(e7, t26); + case 67174409: + return pe8(e7, t26); + case 67174408: + return et9(e7, t26, n5); + case 86107: + return Gn6(e7, t26, n5, l5); + case 134283388: + return Ht9(e7, t26); + case 130: + return Le9(e7, t26, n5, 0); + case 86106: + return Xn7(e7, t26, n5, o5, l5, c7); + case 8456256: + if (e7.options.jsx) return Re9(e7, t26, n5, 0, e7.tokenStart); + default: + if (ge8(t26, e7.getToken())) return nt9(e7, t26, n5); + e7.report(30, B5[e7.getToken() & 255]); + } +} +function Xn7(e7, t26, n5, u, o5, i5) { + let l5 = N7(e7, t26); + return e7.getToken() === 67108877 ? Xt8(e7, t26, l5, i5) : (u && e7.report(142), l5 = jt6(e7, t26, n5, o5, i5), e7.assignable = 2, F8(e7, t26, n5, l5, o5, 0, i5)); +} +function Xt8(e7, t26, n5, u) { + (t26 & 2) === 0 && e7.report(169), r(e7, t26); + let o5 = e7.getToken(); + return o5 !== 209030 && e7.tokenValue !== "meta" ? e7.report(174) : o5 & -2147483648 && e7.report(175), e7.assignable = 2, e7.finishNode({ type: "MetaProperty", meta: n5, property: N7(e7, t26) }, u); +} +function jt6(e7, t26, n5, u, o5) { + y4(e7, t26 | 32, 67174411), e7.getToken() === 14 && e7.report(143); + let i5 = L7(e7, t26, n5, 1, u, e7.tokenStart), l5 = null; + if (e7.getToken() === 18) { + if (y4(e7, t26, 18), e7.getToken() !== 16) { + let c7 = (t26 | 131072) ^ 131072; + l5 = L7(e7, c7, n5, 1, u, e7.tokenStart); + } + C5(e7, t26, 18); + } + let f7 = { type: "ImportExpression", source: i5, options: l5 }; + return y4(e7, t26, 16), e7.finishNode(f7, o5); +} +function He8(e7, t26) { + if (!C5(e7, t26, 20579)) return []; + y4(e7, t26, 2162700); + let n5 = [], u = /* @__PURE__ */ new Set(); + for (; e7.getToken() !== 1074790415; ) { + let o5 = e7.tokenStart, i5 = Hn6(e7, t26); + y4(e7, t26, 21); + let l5 = jn5(e7, t26), f7 = i5.type === "Literal" ? i5.value : i5.name; + u.has(f7) && e7.report(145, `${f7}`), u.add(f7), n5.push(e7.finishNode({ type: "ImportAttribute", key: i5, value: l5 }, o5)), e7.getToken() !== 1074790415 && y4(e7, t26, 18); + } + return y4(e7, t26, 1074790415), n5; +} +function jn5(e7, t26) { + if (e7.getToken() === 134283267) return O5(e7, t26); + e7.report(30, B5[e7.getToken() & 255]); +} +function Hn6(e7, t26) { + if (e7.getToken() === 134283267) return O5(e7, t26); + if (e7.getToken() & 143360) return N7(e7, t26); + e7.report(30, B5[e7.getToken() & 255]); +} +function Ce8(e7, t26) { + if (e7.getToken() === 134283267) { + let n5 = e7.tokenValue; + return mt9(0, n5) || e7.report(171), O5(e7, t26); + } else { + if (e7.getToken() & 143360) return N7(e7, t26); + e7.report(30, B5[e7.getToken() & 255]); + } +} +function Ht9(e7, t26) { + let { tokenRaw: n5, tokenValue: u, tokenStart: o5 } = e7; + r(e7, t26), e7.assignable = 2; + let i5 = { type: "Literal", value: u, bigint: String(u) }; + return e7.options.raw && (i5.raw = n5), e7.finishNode(i5, o5); +} +function pe8(e7, t26) { + e7.assignable = 2; + let { tokenValue: n5, tokenRaw: u, tokenStart: o5 } = e7; + y4(e7, t26, 67174409); + let i5 = [Ee8(e7, n5, u, o5, true)]; + return e7.finishNode({ type: "TemplateLiteral", expressions: [], quasis: i5 }, o5); +} +function et9(e7, t26, n5) { + t26 = (t26 | 131072) ^ 131072; + let { tokenValue: u, tokenRaw: o5, tokenStart: i5 } = e7; + y4(e7, t26 & -65 | 32, 67174408); + let l5 = [Ee8(e7, u, o5, i5, false)], f7 = [V9(e7, t26 & -65, n5, 0, 1, e7.tokenStart)]; + for (e7.getToken() !== 1074790415 && e7.report(83); e7.setToken(p22(e7, t26), true) !== 67174409; ) { + let { tokenValue: c7, tokenRaw: g5, tokenStart: d5 } = e7; + y4(e7, t26 & -65 | 32, 67174408), l5.push(Ee8(e7, c7, g5, d5, false)), f7.push(V9(e7, t26, n5, 0, 1, e7.tokenStart)), e7.getToken() !== 1074790415 && e7.report(83); + } + { + let { tokenValue: c7, tokenRaw: g5, tokenStart: d5 } = e7; + y4(e7, t26, 67174409), l5.push(Ee8(e7, c7, g5, d5, true)); + } + return e7.finishNode({ type: "TemplateLiteral", expressions: f7, quasis: l5 }, i5); +} +function Ee8(e7, t26, n5, u, o5) { + let i5 = e7.finishNode({ type: "TemplateElement", value: { cooked: t26, raw: n5 }, tail: o5 }, u), l5 = o5 ? 1 : 2; + return e7.options.ranges && (i5.start += 1, i5.range[0] += 1, i5.end -= l5, i5.range[1] -= l5), e7.options.loc && (i5.loc.start.column += 1, i5.loc.end.column -= l5), i5; +} +function zn7(e7, t26, n5) { + let u = e7.tokenStart; + t26 = (t26 | 131072) ^ 131072, y4(e7, t26 | 32, 14); + let o5 = L7(e7, t26, n5, 1, 0, e7.tokenStart); + return e7.assignable = 1, e7.finishNode({ type: "SpreadElement", argument: o5 }, u); +} +function tt9(e7, t26, n5, u) { + r(e7, t26 | 32); + let o5 = []; + if (e7.getToken() === 16) return r(e7, t26 | 64), o5; + for (; e7.getToken() !== 16 && (e7.getToken() === 14 ? o5.push(zn7(e7, t26, n5)) : o5.push(L7(e7, t26, n5, 1, u, e7.tokenStart)), !(e7.getToken() !== 18 || (r(e7, t26 | 32), e7.getToken() === 16))); ) ; + return y4(e7, t26 | 64, 16), o5; +} +function N7(e7, t26) { + let { tokenValue: n5, tokenStart: u } = e7, o5 = n5 === "await" && (e7.getToken() & -2147483648) === 0; + return r(e7, t26 | (o5 ? 32 : 0)), e7.finishNode({ type: "Identifier", name: n5 }, u); +} +function O5(e7, t26) { + let { tokenValue: n5, tokenRaw: u, tokenStart: o5 } = e7; + if (e7.getToken() === 134283388) return Ht9(e7, t26); + let i5 = { type: "Literal", value: n5 }; + return e7.options.raw && (i5.raw = u), r(e7, t26), e7.assignable = 2, e7.finishNode(i5, o5); +} +function Kn7(e7, t26) { + let n5 = e7.tokenStart, u = B5[e7.getToken() & 255], i5 = { type: "Literal", value: e7.getToken() === 86023 ? null : u === "true" }; + return e7.options.raw && (i5.raw = u), r(e7, t26), e7.assignable = 2, e7.finishNode(i5, n5); +} +function $n6(e7, t26) { + let { tokenStart: n5 } = e7; + return r(e7, t26), e7.assignable = 2, e7.finishNode({ type: "ThisExpression" }, n5); +} +function x6(e7, t26, n5, u, o5, i5, l5, f7, c7) { + r(e7, t26 | 32); + let g5 = i5 ? Qe9(e7, t26, 8391476) : 0, d5 = null, a5, h5 = n5 ? e7.createScope() : void 0; + if (e7.getToken() === 67174411) (l5 & 1) === 0 && e7.report(39, "Function"); + else { + let T7 = o5 & 4 && ((t26 & 8) === 0 || (t26 & 2) === 0) ? 4 : 64 | (f7 ? 1024 : 0) | (g5 ? 1024 : 0); + Ot10(e7, t26, e7.getToken()), n5 && (T7 & 4 ? n5.addVarName(t26, e7.tokenValue, T7) : n5.addBlockName(t26, e7.tokenValue, T7, o5), h5 = h5?.createChildScope(128), l5 && l5 & 2 && e7.declareUnboundVariable(e7.tokenValue)), a5 = e7.getToken(), e7.getToken() & 143360 ? d5 = N7(e7, t26) : e7.report(30, B5[e7.getToken() & 255]); + } + t26 = (t26 | 28416) ^ 28416 | 65536 | (f7 ? 2048 : 0) | (g5 ? 1024 : 0) | (g5 ? 0 : 262144), h5 = h5?.createChildScope(256); + let A9 = $t6(e7, (t26 | 8192) & -524289, h5, u, 0, 1), b7 = 524428, w8 = Pe8(e7, (t26 | b7) ^ b7 | 32768 | 4096, h5?.createChildScope(64), u, 8, a5, h5); + return e7.finishNode({ type: "FunctionDeclaration", id: d5, params: A9, body: w8, async: f7 === 1, generator: g5 === 1 }, c7); +} +function zt8(e7, t26, n5, u, o5, i5) { + r(e7, t26 | 32); + let l5 = Qe9(e7, t26, 8391476), f7 = (u ? 2048 : 0) | (l5 ? 1024 : 0), c7 = null, g5, d5 = e7.createScopeIfLexical(), a5 = 552704; + e7.getToken() & 143360 && (Ot10(e7, (t26 | a5) ^ a5 | f7, e7.getToken()), d5 = d5?.createChildScope(128), g5 = e7.getToken(), c7 = N7(e7, t26)), t26 = (t26 | a5) ^ a5 | 65536 | f7 | (l5 ? 0 : 262144), d5 = d5?.createChildScope(256); + let h5 = $t6(e7, (t26 | 8192) & -524289, d5, n5, o5, 1), A9 = Pe8(e7, t26 & -131229 | 32768 | 4096, d5?.createChildScope(64), n5, 0, g5, d5); + return e7.assignable = 2, e7.finishNode({ type: "FunctionExpression", id: c7, params: h5, body: A9, async: u === 1, generator: l5 === 1 }, i5); +} +function Wn6(e7, t26, n5, u, o5) { + let i5 = X9(e7, t26, void 0, n5, u, o5, 0, 2, 0); + return e7.destructible & 64 && e7.report(63), e7.destructible & 8 && e7.report(62), i5; +} +function X9(e7, t26, n5, u, o5, i5, l5, f7, c7) { + let { tokenStart: g5 } = e7; + r(e7, t26 | 32); + let d5 = [], a5 = 0; + for (t26 = (t26 | 131072) ^ 131072; e7.getToken() !== 20; ) if (C5(e7, t26 | 32, 18)) d5.push(null); + else { + let A9, { tokenStart: b7, tokenValue: w8 } = e7, T7 = e7.getToken(); + if (T7 & 143360) if (A9 = U8(e7, t26, u, f7, 0, 1, i5, 1, b7), e7.getToken() === 1077936155) { + e7.assignable & 2 && e7.report(26), r(e7, t26 | 32), n5?.addVarOrBlock(t26, w8, f7, c7); + let D7 = L7(e7, t26, u, 1, i5, e7.tokenStart); + A9 = e7.finishNode(l5 ? { type: "AssignmentPattern", left: A9, right: D7 } : { type: "AssignmentExpression", operator: "=", left: A9, right: D7 }, b7), a5 |= e7.destructible & 256 ? 256 : 0 | e7.destructible & 128 ? 128 : 0; + } else e7.getToken() === 18 || e7.getToken() === 20 ? (e7.assignable & 2 ? a5 |= 16 : n5?.addVarOrBlock(t26, w8, f7, c7), a5 |= e7.destructible & 256 ? 256 : 0 | e7.destructible & 128 ? 128 : 0) : (a5 |= f7 & 1 ? 32 : (f7 & 2) === 0 ? 16 : 0, A9 = F8(e7, t26, u, A9, i5, 0, b7), e7.getToken() !== 18 && e7.getToken() !== 20 ? (e7.getToken() !== 1077936155 && (a5 |= 16), A9 = I7(e7, t26, u, i5, l5, b7, A9)) : e7.getToken() !== 1077936155 && (a5 |= e7.assignable & 2 ? 16 : 32)); + else T7 & 2097152 ? (A9 = e7.getToken() === 2162700 ? j7(e7, t26, n5, u, 0, i5, l5, f7, c7) : X9(e7, t26, n5, u, 0, i5, l5, f7, c7), a5 |= e7.destructible, e7.assignable = e7.destructible & 16 ? 2 : 1, e7.getToken() === 18 || e7.getToken() === 20 ? e7.assignable & 2 && (a5 |= 16) : e7.destructible & 8 ? e7.report(71) : (A9 = F8(e7, t26, u, A9, i5, 0, b7), a5 = e7.assignable & 2 ? 16 : 0, e7.getToken() !== 18 && e7.getToken() !== 20 ? A9 = I7(e7, t26, u, i5, l5, b7, A9) : e7.getToken() !== 1077936155 && (a5 |= e7.assignable & 2 ? 16 : 32))) : T7 === 14 ? (A9 = oe8(e7, t26, n5, u, 20, f7, c7, 0, i5, l5), a5 |= e7.destructible, e7.getToken() !== 18 && e7.getToken() !== 20 && e7.report(30, B5[e7.getToken() & 255])) : (A9 = _7(e7, t26, u, 1, 0, 1), e7.getToken() !== 18 && e7.getToken() !== 20 ? (A9 = I7(e7, t26, u, i5, l5, b7, A9), (f7 & 3) === 0 && T7 === 67174411 && (a5 |= 16)) : e7.assignable & 2 ? a5 |= 16 : T7 === 67174411 && (a5 |= e7.assignable & 1 && f7 & 3 ? 32 : 16)); + if (d5.push(A9), C5(e7, t26 | 32, 18)) { + if (e7.getToken() === 20) break; + } else break; + } + y4(e7, t26, 20); + let h5 = e7.finishNode({ type: l5 ? "ArrayPattern" : "ArrayExpression", elements: d5 }, g5); + return !o5 && e7.getToken() & 4194304 ? Kt8(e7, t26, u, a5, i5, l5, g5, h5) : (e7.destructible = a5, h5); +} +function Kt8(e7, t26, n5, u, o5, i5, l5, f7) { + e7.getToken() !== 1077936155 && e7.report(26), r(e7, t26 | 32), u & 16 && e7.report(26), i5 || K9(e7, f7); + let { tokenStart: c7 } = e7, g5 = L7(e7, t26, n5, 1, o5, c7); + return e7.destructible = (u | 64 | 8) ^ 72 | (e7.destructible & 128 ? 128 : 0) | (e7.destructible & 256 ? 256 : 0), e7.finishNode(i5 ? { type: "AssignmentPattern", left: f7, right: g5 } : { type: "AssignmentExpression", left: f7, operator: "=", right: g5 }, l5); +} +function oe8(e7, t26, n5, u, o5, i5, l5, f7, c7, g5) { + let { tokenStart: d5 } = e7; + r(e7, t26 | 32); + let a5 = null, h5 = 0, { tokenValue: A9, tokenStart: b7 } = e7, w8 = e7.getToken(); + if (w8 & 143360) e7.assignable = 1, a5 = U8(e7, t26, u, i5, 0, 1, c7, 1, b7), w8 = e7.getToken(), a5 = F8(e7, t26, u, a5, c7, 0, b7), e7.getToken() !== 18 && e7.getToken() !== o5 && (e7.assignable & 2 && e7.getToken() === 1077936155 && e7.report(71), h5 |= 16, a5 = I7(e7, t26, u, c7, g5, b7, a5)), e7.assignable & 2 ? h5 |= 16 : w8 === o5 || w8 === 18 ? n5?.addVarOrBlock(t26, A9, i5, l5) : h5 |= 32, h5 |= e7.destructible & 128 ? 128 : 0; + else if (w8 === o5) e7.report(41); + else if (w8 & 2097152) a5 = e7.getToken() === 2162700 ? j7(e7, t26, n5, u, 1, c7, g5, i5, l5) : X9(e7, t26, n5, u, 1, c7, g5, i5, l5), w8 = e7.getToken(), w8 !== 1077936155 && w8 !== o5 && w8 !== 18 ? (e7.destructible & 8 && e7.report(71), a5 = F8(e7, t26, u, a5, c7, 0, b7), h5 |= e7.assignable & 2 ? 16 : 0, (e7.getToken() & 4194304) === 4194304 ? (e7.getToken() !== 1077936155 && (h5 |= 16), a5 = I7(e7, t26, u, c7, g5, b7, a5)) : ((e7.getToken() & 8388608) === 8388608 && (a5 = G8(e7, t26, u, 1, b7, 4, w8, a5)), C5(e7, t26 | 32, 22) && (a5 = ee7(e7, t26, u, a5, b7)), h5 |= e7.assignable & 2 ? 16 : 32)) : h5 |= o5 === 1074790415 && w8 !== 1077936155 ? 16 : e7.destructible; + else { + h5 |= 32, a5 = _7(e7, t26, u, 1, c7, 1); + let { tokenStart: T7 } = e7, D7 = e7.getToken(); + return D7 === 1077936155 ? (e7.assignable & 2 && e7.report(26), a5 = I7(e7, t26, u, c7, g5, T7, a5), h5 |= 16) : (D7 === 18 ? h5 |= 16 : D7 !== o5 && (a5 = I7(e7, t26, u, c7, g5, T7, a5)), h5 |= e7.assignable & 1 ? 32 : 16), e7.destructible = h5, e7.getToken() !== o5 && e7.getToken() !== 18 && e7.report(161), e7.finishNode({ type: g5 ? "RestElement" : "SpreadElement", argument: a5 }, d5); + } + if (e7.getToken() !== o5) if (i5 & 1 && (h5 |= f7 ? 16 : 32), C5(e7, t26 | 32, 1077936155)) { + h5 & 16 && e7.report(26), K9(e7, a5); + let T7 = L7(e7, t26, u, 1, c7, e7.tokenStart); + a5 = e7.finishNode(g5 ? { type: "AssignmentPattern", left: a5, right: T7 } : { type: "AssignmentExpression", left: a5, operator: "=", right: T7 }, b7), h5 = 16; + } else h5 |= 16; + return e7.destructible = h5, e7.finishNode({ type: g5 ? "RestElement" : "SpreadElement", argument: a5 }, d5); +} +function z7(e7, t26, n5, u, o5, i5) { + let l5 = 11264 | ((u & 64) === 0 ? 16896 : 0); + t26 = (t26 | l5) ^ l5 | (u & 8 ? 1024 : 0) | (u & 16 ? 2048 : 0) | (u & 64 ? 16384 : 0) | 256 | 32768 | 65536; + let f7 = e7.createScopeIfLexical(256), c7 = Qn6(e7, (t26 | 8192) & -524289, f7, n5, u, 1, o5); + f7 = f7?.createChildScope(64); + let g5 = Pe8(e7, t26 & -655373 | 32768 | 4096, f7, n5, 0, void 0, f7?.parent); + return e7.finishNode({ type: "FunctionExpression", params: c7, body: g5, async: (u & 16) > 0, generator: (u & 8) > 0, id: null }, i5); +} +function Yn5(e7, t26, n5, u, o5) { + let i5 = j7(e7, t26, void 0, n5, u, o5, 0, 2, 0); + return e7.destructible & 64 && e7.report(63), e7.destructible & 8 && e7.report(62), i5; +} +function j7(e7, t26, n5, u, o5, i5, l5, f7, c7) { + let { tokenStart: g5 } = e7; + r(e7, t26); + let d5 = [], a5 = 0, h5 = 0; + for (t26 = (t26 | 131072) ^ 131072; e7.getToken() !== 1074790415; ) { + let { tokenValue: b7, tokenStart: w8 } = e7, T7 = e7.getToken(); + if (T7 === 14) d5.push(oe8(e7, t26, n5, u, 1074790415, f7, c7, 0, i5, l5)); + else { + let D7 = 0, R10 = null, k8; + if (e7.getToken() & 143360 || e7.getToken() === -2147483528 || e7.getToken() === -2147483527) if (e7.getToken() === -2147483527 && (a5 |= 16), R10 = N7(e7, t26), e7.getToken() === 18 || e7.getToken() === 1074790415 || e7.getToken() === 1077936155) if (D7 |= 4, t26 & 1 && (T7 & 537079808) === 537079808 ? a5 |= 16 : Be9(e7, t26, f7, T7, 0), n5?.addVarOrBlock(t26, b7, f7, c7), C5(e7, t26 | 32, 1077936155)) { + a5 |= 8; + let E7 = L7(e7, t26, u, 1, i5, e7.tokenStart); + a5 |= e7.destructible & 256 ? 256 : 0 | e7.destructible & 128 ? 128 : 0, k8 = e7.finishNode({ type: "AssignmentPattern", left: e7.cloneIdentifier(R10), right: E7 }, w8); + } else a5 |= (T7 === 209006 ? 128 : 0) | (T7 === -2147483528 ? 16 : 0), k8 = e7.cloneIdentifier(R10); + else if (C5(e7, t26 | 32, 21)) { + let { tokenStart: E7 } = e7; + if (b7 === "__proto__" && h5++, e7.getToken() & 143360) { + let ce9 = e7.getToken(), Y7 = e7.tokenValue; + k8 = U8(e7, t26, u, f7, 0, 1, i5, 1, E7); + let $11 = e7.getToken(); + k8 = F8(e7, t26, u, k8, i5, 0, E7), e7.getToken() === 18 || e7.getToken() === 1074790415 ? $11 === 1077936155 || $11 === 1074790415 || $11 === 18 ? (a5 |= e7.destructible & 128 ? 128 : 0, e7.assignable & 2 ? a5 |= 16 : (ce9 & 143360) === 143360 && n5?.addVarOrBlock(t26, Y7, f7, c7)) : a5 |= e7.assignable & 1 ? 32 : 16 : (e7.getToken() & 4194304) === 4194304 ? (e7.assignable & 2 ? a5 |= 16 : $11 !== 1077936155 ? a5 |= 32 : n5?.addVarOrBlock(t26, Y7, f7, c7), k8 = I7(e7, t26, u, i5, l5, E7, k8)) : (a5 |= 16, (e7.getToken() & 8388608) === 8388608 && (k8 = G8(e7, t26, u, 1, E7, 4, $11, k8)), C5(e7, t26 | 32, 22) && (k8 = ee7(e7, t26, u, k8, E7))); + } else (e7.getToken() & 2097152) === 2097152 ? (k8 = e7.getToken() === 69271571 ? X9(e7, t26, n5, u, 0, i5, l5, f7, c7) : j7(e7, t26, n5, u, 0, i5, l5, f7, c7), a5 = e7.destructible, e7.assignable = a5 & 16 ? 2 : 1, e7.getToken() === 18 || e7.getToken() === 1074790415 ? e7.assignable & 2 && (a5 |= 16) : e7.destructible & 8 ? e7.report(71) : (k8 = F8(e7, t26, u, k8, i5, 0, E7), a5 = e7.assignable & 2 ? 16 : 0, (e7.getToken() & 4194304) === 4194304 ? k8 = be9(e7, t26, u, i5, l5, E7, k8) : ((e7.getToken() & 8388608) === 8388608 && (k8 = G8(e7, t26, u, 1, E7, 4, T7, k8)), C5(e7, t26 | 32, 22) && (k8 = ee7(e7, t26, u, k8, E7)), a5 |= e7.assignable & 2 ? 16 : 32))) : (k8 = _7(e7, t26, u, 1, i5, 1), a5 |= e7.assignable & 1 ? 32 : 16, e7.getToken() === 18 || e7.getToken() === 1074790415 ? e7.assignable & 2 && (a5 |= 16) : (k8 = F8(e7, t26, u, k8, i5, 0, E7), a5 = e7.assignable & 2 ? 16 : 0, e7.getToken() !== 18 && T7 !== 1074790415 && (e7.getToken() !== 1077936155 && (a5 |= 16), k8 = I7(e7, t26, u, i5, l5, E7, k8)))); + } else e7.getToken() === 69271571 ? (a5 |= 16, T7 === 209005 && (D7 |= 16), D7 |= (T7 === 209008 ? 256 : T7 === 209009 ? 512 : 1) | 2, R10 = ne10(e7, t26, u, i5), a5 |= e7.assignable, k8 = z7(e7, t26, u, D7, i5, e7.tokenStart)) : e7.getToken() & 143360 ? (a5 |= 16, T7 === -2147483528 && e7.report(95), T7 === 209005 ? (e7.flags & 1 && e7.report(132), D7 |= 17) : T7 === 209008 ? D7 |= 256 : T7 === 209009 ? D7 |= 512 : e7.report(0), R10 = N7(e7, t26), k8 = z7(e7, t26, u, D7, i5, e7.tokenStart)) : e7.getToken() === 67174411 ? (a5 |= 16, D7 |= 1, k8 = z7(e7, t26, u, D7, i5, e7.tokenStart)) : e7.getToken() === 8391476 ? (a5 |= 16, T7 === 209008 ? e7.report(42) : T7 === 209009 ? e7.report(43) : T7 !== 209005 && e7.report(30, B5[52]), r(e7, t26), D7 |= 9 | (T7 === 209005 ? 16 : 0), e7.getToken() & 143360 ? R10 = N7(e7, t26) : (e7.getToken() & 134217728) === 134217728 ? R10 = O5(e7, t26) : e7.getToken() === 69271571 ? (D7 |= 2, R10 = ne10(e7, t26, u, i5), a5 |= e7.assignable) : e7.report(30, B5[e7.getToken() & 255]), k8 = z7(e7, t26, u, D7, i5, e7.tokenStart)) : (e7.getToken() & 134217728) === 134217728 ? (T7 === 209005 && (D7 |= 16), D7 |= T7 === 209008 ? 256 : T7 === 209009 ? 512 : 1, a5 |= 16, R10 = O5(e7, t26), k8 = z7(e7, t26, u, D7, i5, e7.tokenStart)) : e7.report(133); + else if ((e7.getToken() & 134217728) === 134217728) if (R10 = O5(e7, t26), e7.getToken() === 21) { + y4(e7, t26 | 32, 21); + let { tokenStart: E7 } = e7; + if (b7 === "__proto__" && h5++, e7.getToken() & 143360) { + k8 = U8(e7, t26, u, f7, 0, 1, i5, 1, E7); + let { tokenValue: ce9 } = e7, Y7 = e7.getToken(); + k8 = F8(e7, t26, u, k8, i5, 0, E7), e7.getToken() === 18 || e7.getToken() === 1074790415 ? Y7 === 1077936155 || Y7 === 1074790415 || Y7 === 18 ? e7.assignable & 2 ? a5 |= 16 : n5?.addVarOrBlock(t26, ce9, f7, c7) : a5 |= e7.assignable & 1 ? 32 : 16 : e7.getToken() === 1077936155 ? (e7.assignable & 2 && (a5 |= 16), k8 = I7(e7, t26, u, i5, l5, E7, k8)) : (a5 |= 16, k8 = I7(e7, t26, u, i5, l5, E7, k8)); + } else (e7.getToken() & 2097152) === 2097152 ? (k8 = e7.getToken() === 69271571 ? X9(e7, t26, n5, u, 0, i5, l5, f7, c7) : j7(e7, t26, n5, u, 0, i5, l5, f7, c7), a5 = e7.destructible, e7.assignable = a5 & 16 ? 2 : 1, e7.getToken() === 18 || e7.getToken() === 1074790415 ? e7.assignable & 2 && (a5 |= 16) : (e7.destructible & 8) !== 8 && (k8 = F8(e7, t26, u, k8, i5, 0, E7), a5 = e7.assignable & 2 ? 16 : 0, (e7.getToken() & 4194304) === 4194304 ? k8 = be9(e7, t26, u, i5, l5, E7, k8) : ((e7.getToken() & 8388608) === 8388608 && (k8 = G8(e7, t26, u, 1, E7, 4, T7, k8)), C5(e7, t26 | 32, 22) && (k8 = ee7(e7, t26, u, k8, E7)), a5 |= e7.assignable & 2 ? 16 : 32))) : (k8 = _7(e7, t26, u, 1, 0, 1), a5 |= e7.assignable & 1 ? 32 : 16, e7.getToken() === 18 || e7.getToken() === 1074790415 ? e7.assignable & 2 && (a5 |= 16) : (k8 = F8(e7, t26, u, k8, i5, 0, E7), a5 = e7.assignable & 1 ? 0 : 16, e7.getToken() !== 18 && e7.getToken() !== 1074790415 && (e7.getToken() !== 1077936155 && (a5 |= 16), k8 = I7(e7, t26, u, i5, l5, E7, k8)))); + } else e7.getToken() === 67174411 ? (D7 |= 1, k8 = z7(e7, t26, u, D7, i5, e7.tokenStart), a5 = e7.assignable | 16) : e7.report(134); + else if (e7.getToken() === 69271571) if (R10 = ne10(e7, t26, u, i5), a5 |= e7.destructible & 256 ? 256 : 0, D7 |= 2, e7.getToken() === 21) { + r(e7, t26 | 32); + let { tokenStart: E7, tokenValue: ce9 } = e7, Y7 = e7.getToken(); + if (e7.getToken() & 143360) { + k8 = U8(e7, t26, u, f7, 0, 1, i5, 1, E7); + let $11 = e7.getToken(); + k8 = F8(e7, t26, u, k8, i5, 0, E7), (e7.getToken() & 4194304) === 4194304 ? (a5 |= e7.assignable & 2 ? 16 : $11 === 1077936155 ? 0 : 32, k8 = be9(e7, t26, u, i5, l5, E7, k8)) : e7.getToken() === 18 || e7.getToken() === 1074790415 ? $11 === 1077936155 || $11 === 1074790415 || $11 === 18 ? e7.assignable & 2 ? a5 |= 16 : (Y7 & 143360) === 143360 && n5?.addVarOrBlock(t26, ce9, f7, c7) : a5 |= e7.assignable & 1 ? 32 : 16 : (a5 |= 16, k8 = I7(e7, t26, u, i5, l5, E7, k8)); + } else (e7.getToken() & 2097152) === 2097152 ? (k8 = e7.getToken() === 69271571 ? X9(e7, t26, n5, u, 0, i5, l5, f7, c7) : j7(e7, t26, n5, u, 0, i5, l5, f7, c7), a5 = e7.destructible, e7.assignable = a5 & 16 ? 2 : 1, e7.getToken() === 18 || e7.getToken() === 1074790415 ? e7.assignable & 2 && (a5 |= 16) : a5 & 8 ? e7.report(62) : (k8 = F8(e7, t26, u, k8, i5, 0, E7), a5 = e7.assignable & 2 ? a5 | 16 : 0, (e7.getToken() & 4194304) === 4194304 ? (e7.getToken() !== 1077936155 && (a5 |= 16), k8 = be9(e7, t26, u, i5, l5, E7, k8)) : ((e7.getToken() & 8388608) === 8388608 && (k8 = G8(e7, t26, u, 1, E7, 4, T7, k8)), C5(e7, t26 | 32, 22) && (k8 = ee7(e7, t26, u, k8, E7)), a5 |= e7.assignable & 2 ? 16 : 32))) : (k8 = _7(e7, t26, u, 1, 0, 1), a5 |= e7.assignable & 1 ? 32 : 16, e7.getToken() === 18 || e7.getToken() === 1074790415 ? e7.assignable & 2 && (a5 |= 16) : (k8 = F8(e7, t26, u, k8, i5, 0, E7), a5 = e7.assignable & 1 ? 0 : 16, e7.getToken() !== 18 && e7.getToken() !== 1074790415 && (e7.getToken() !== 1077936155 && (a5 |= 16), k8 = I7(e7, t26, u, i5, l5, E7, k8)))); + } else e7.getToken() === 67174411 ? (D7 |= 1, k8 = z7(e7, t26, u, D7, i5, e7.tokenStart), a5 = 16) : e7.report(44); + else if (T7 === 8391476) if (y4(e7, t26 | 32, 8391476), D7 |= 8, e7.getToken() & 143360) { + let E7 = e7.getToken(); + if (R10 = N7(e7, t26), D7 |= 1, e7.getToken() === 67174411) a5 |= 16, k8 = z7(e7, t26, u, D7, i5, e7.tokenStart); + else throw new q9(e7.tokenStart, e7.currentLocation, E7 === 209005 ? 46 : E7 === 209008 || e7.getToken() === 209009 ? 45 : 47, B5[E7 & 255]); + } else (e7.getToken() & 134217728) === 134217728 ? (a5 |= 16, R10 = O5(e7, t26), D7 |= 1, k8 = z7(e7, t26, u, D7, i5, e7.tokenStart)) : e7.getToken() === 69271571 ? (a5 |= 16, D7 |= 3, R10 = ne10(e7, t26, u, i5), k8 = z7(e7, t26, u, D7, i5, e7.tokenStart)) : e7.report(126); + else e7.report(30, B5[T7 & 255]); + a5 |= e7.destructible & 128 ? 128 : 0, e7.destructible = a5, d5.push(e7.finishNode({ type: "Property", key: R10, value: k8, kind: D7 & 768 ? D7 & 512 ? "set" : "get" : "init", computed: (D7 & 2) > 0, method: (D7 & 1) > 0, shorthand: (D7 & 4) > 0 }, w8)); + } + if (a5 |= e7.destructible, e7.getToken() !== 18) break; + r(e7, t26); + } + y4(e7, t26, 1074790415), h5 > 1 && (a5 |= 64); + let A9 = e7.finishNode({ type: l5 ? "ObjectPattern" : "ObjectExpression", properties: d5 }, g5); + return !o5 && e7.getToken() & 4194304 ? Kt8(e7, t26, u, a5, i5, l5, g5, A9) : (e7.destructible = a5, A9); +} +function Qn6(e7, t26, n5, u, o5, i5, l5) { + y4(e7, t26, 67174411); + let f7 = []; + if (e7.flags = (e7.flags | 128) ^ 128, e7.getToken() === 16) return o5 & 512 && e7.report(37, "Setter", "one", ""), r(e7, t26), f7; + o5 & 256 && e7.report(37, "Getter", "no", "s"), o5 & 512 && e7.getToken() === 14 && e7.report(38), t26 = (t26 | 131072) ^ 131072; + let c7 = 0, g5 = 0; + for (; e7.getToken() !== 18; ) { + let d5 = null, { tokenStart: a5 } = e7; + if (e7.getToken() & 143360 ? ((t26 & 1) === 0 && ((e7.getToken() & 36864) === 36864 && (e7.flags |= 256), (e7.getToken() & 537079808) === 537079808 && (e7.flags |= 512)), d5 = it7(e7, t26, n5, o5 | 1, 0)) : (e7.getToken() === 2162700 ? d5 = j7(e7, t26, n5, u, 1, l5, 1, i5, 0) : e7.getToken() === 69271571 ? d5 = X9(e7, t26, n5, u, 1, l5, 1, i5, 0) : e7.getToken() === 14 && (d5 = oe8(e7, t26, n5, u, 16, i5, 0, 0, l5, 1)), g5 = 1, e7.destructible & 48 && e7.report(50)), e7.getToken() === 1077936155) { + r(e7, t26 | 32), g5 = 1; + let h5 = L7(e7, t26, u, 1, 0, e7.tokenStart); + d5 = e7.finishNode({ type: "AssignmentPattern", left: d5, right: h5 }, a5); + } + if (c7++, f7.push(d5), !C5(e7, t26, 18) || e7.getToken() === 16) break; + } + return o5 & 512 && c7 !== 1 && e7.report(37, "Setter", "one", ""), n5?.reportScopeError(), g5 && (e7.flags |= 128), y4(e7, t26, 16), f7; +} +function ne10(e7, t26, n5, u) { + r(e7, t26 | 32); + let o5 = L7(e7, (t26 | 131072) ^ 131072, n5, 1, u, e7.tokenStart); + return y4(e7, t26, 20), o5; +} +function Zn7(e7, t26, n5, u, o5, i5, l5) { + e7.flags = (e7.flags | 128) ^ 128; + let f7 = e7.tokenStart; + r(e7, t26 | 32 | 262144); + let c7 = e7.createScopeIfLexical()?.createChildScope(512); + if (t26 = (t26 | 131072) ^ 131072, C5(e7, t26, 16)) return Ne8(e7, t26, c7, n5, [], u, 0, l5); + let g5 = 0; + e7.destructible &= -385; + let d5, a5 = [], h5 = 0, A9 = 0, b7 = 0, w8 = e7.tokenStart; + for (e7.assignable = 1; e7.getToken() !== 16; ) { + let { tokenStart: T7 } = e7, D7 = e7.getToken(); + if (D7 & 143360) c7?.addBlockName(t26, e7.tokenValue, 1, 0), (D7 & 537079808) === 537079808 ? A9 = 1 : (D7 & 36864) === 36864 && (b7 = 1), d5 = U8(e7, t26, n5, o5, 0, 1, 1, 1, T7), e7.getToken() === 16 || e7.getToken() === 18 ? e7.assignable & 2 && (g5 |= 16, A9 = 1) : (e7.getToken() === 1077936155 ? A9 = 1 : g5 |= 16, d5 = F8(e7, t26, n5, d5, 1, 0, T7), e7.getToken() !== 16 && e7.getToken() !== 18 && (d5 = I7(e7, t26, n5, 1, 0, T7, d5))); + else if ((D7 & 2097152) === 2097152) d5 = D7 === 2162700 ? j7(e7, t26 | 262144, c7, n5, 0, 1, 0, o5, i5) : X9(e7, t26 | 262144, c7, n5, 0, 1, 0, o5, i5), g5 |= e7.destructible, A9 = 1, e7.assignable = 2, e7.getToken() !== 16 && e7.getToken() !== 18 && (g5 & 8 && e7.report(122), d5 = F8(e7, t26, n5, d5, 0, 0, T7), g5 |= 16, e7.getToken() !== 16 && e7.getToken() !== 18 && (d5 = I7(e7, t26, n5, 0, 0, T7, d5))); + else if (D7 === 14) { + d5 = oe8(e7, t26, c7, n5, 16, o5, i5, 0, 1, 0), e7.destructible & 16 && e7.report(74), A9 = 1, h5 && (e7.getToken() === 16 || e7.getToken() === 18) && a5.push(d5), g5 |= 8; + break; + } else { + if (g5 |= 16, d5 = L7(e7, t26, n5, 1, 1, T7), h5 && (e7.getToken() === 16 || e7.getToken() === 18) && a5.push(d5), e7.getToken() === 18 && (h5 || (h5 = 1, a5 = [d5])), h5) { + for (; C5(e7, t26 | 32, 18); ) a5.push(L7(e7, t26, n5, 1, 1, e7.tokenStart)); + e7.assignable = 2, d5 = e7.finishNode({ type: "SequenceExpression", expressions: a5 }, w8); + } + return y4(e7, t26, 16), e7.destructible = g5, e7.options.preserveParens ? e7.finishNode({ type: "ParenthesizedExpression", expression: d5 }, f7) : d5; + } + if (h5 && (e7.getToken() === 16 || e7.getToken() === 18) && a5.push(d5), !C5(e7, t26 | 32, 18)) break; + if (h5 || (h5 = 1, a5 = [d5]), e7.getToken() === 16) { + g5 |= 8; + break; + } + } + return h5 && (e7.assignable = 2, d5 = e7.finishNode({ type: "SequenceExpression", expressions: a5 }, w8)), y4(e7, t26, 16), g5 & 16 && g5 & 8 && e7.report(151), g5 |= e7.destructible & 256 ? 256 : 0 | e7.destructible & 128 ? 128 : 0, e7.getToken() === 10 ? (g5 & 48 && e7.report(49), t26 & 2050 && g5 & 128 && e7.report(31), t26 & 1025 && g5 & 256 && e7.report(32), A9 && (e7.flags |= 128), b7 && (e7.flags |= 256), Ne8(e7, t26, c7, n5, h5 ? a5 : [d5], u, 0, l5)) : (g5 & 64 && e7.report(63), g5 & 8 && e7.report(144), e7.destructible = (e7.destructible | 256) ^ 256 | g5, e7.options.preserveParens ? e7.finishNode({ type: "ParenthesizedExpression", expression: d5 }, f7) : d5); +} +function nt9(e7, t26, n5) { + let { tokenStart: u } = e7, { tokenValue: o5 } = e7, i5 = 0, l5 = 0; + (e7.getToken() & 537079808) === 537079808 ? i5 = 1 : (e7.getToken() & 36864) === 36864 && (l5 = 1); + let f7 = N7(e7, t26); + if (e7.assignable = 1, e7.getToken() === 10) { + let c7 = e7.options.lexical ? qe9(e7, t26, o5) : void 0; + return i5 && (e7.flags |= 128), l5 && (e7.flags |= 256), ke8(e7, t26, c7, n5, [f7], 0, u); + } + return f7; +} +function Oe9(e7, t26, n5, u, o5, i5, l5, f7, c7) { + l5 || e7.report(57), i5 && e7.report(51), e7.flags &= -129; + let g5 = e7.options.lexical ? qe9(e7, t26, u) : void 0; + return ke8(e7, t26, g5, n5, [o5], f7, c7); +} +function Ne8(e7, t26, n5, u, o5, i5, l5, f7) { + i5 || e7.report(57); + for (let c7 = 0; c7 < o5.length; ++c7) K9(e7, o5[c7]); + return ke8(e7, t26, n5, u, o5, l5, f7); +} +function ke8(e7, t26, n5, u, o5, i5, l5) { + e7.flags & 1 && e7.report(48), y4(e7, t26 | 32, 10); + let f7 = 535552; + t26 = (t26 | f7) ^ f7 | (i5 ? 2048 : 0); + let c7 = e7.getToken() !== 2162700, g5; + if (n5?.reportScopeError(), c7) e7.flags = (e7.flags | 512 | 256 | 64 | 4096) ^ 4928, g5 = L7(e7, t26, u, 1, 0, e7.tokenStart); + else { + n5 = n5?.createChildScope(64); + let d5 = 131084; + switch (g5 = Pe8(e7, (t26 | d5) ^ d5 | 4096, n5, u, 16, void 0, void 0), e7.getToken()) { + case 69271571: + (e7.flags & 1) === 0 && e7.report(116); + break; + case 67108877: + case 67174409: + case 22: + e7.report(117); + case 67174411: + (e7.flags & 1) === 0 && e7.report(116), e7.flags |= 1024; + break; + } + (e7.getToken() & 8388608) === 8388608 && (e7.flags & 1) === 0 && e7.report(30, B5[e7.getToken() & 255]), (e7.getToken() & 33619968) === 33619968 && e7.report(125); + } + return e7.assignable = 2, e7.finishNode({ type: "ArrowFunctionExpression", params: o5, body: g5, async: i5 === 1, expression: c7, generator: false }, l5); +} +function $t6(e7, t26, n5, u, o5, i5) { + y4(e7, t26, 67174411), e7.flags = (e7.flags | 128) ^ 128; + let l5 = []; + if (C5(e7, t26, 16)) return l5; + t26 = (t26 | 131072) ^ 131072; + let f7 = 0; + for (; e7.getToken() !== 18; ) { + let c7, { tokenStart: g5 } = e7, d5 = e7.getToken(); + if (d5 & 143360 ? ((t26 & 1) === 0 && ((d5 & 36864) === 36864 && (e7.flags |= 256), (d5 & 537079808) === 537079808 && (e7.flags |= 512)), c7 = it7(e7, t26, n5, i5 | 1, 0)) : (d5 === 2162700 ? c7 = j7(e7, t26, n5, u, 1, o5, 1, i5, 0) : d5 === 69271571 ? c7 = X9(e7, t26, n5, u, 1, o5, 1, i5, 0) : d5 === 14 ? c7 = oe8(e7, t26, n5, u, 16, i5, 0, 0, o5, 1) : e7.report(30, B5[d5 & 255]), f7 = 1, e7.destructible & 48 && e7.report(50)), e7.getToken() === 1077936155) { + r(e7, t26 | 32), f7 = 1; + let a5 = L7(e7, t26, u, 1, o5, e7.tokenStart); + c7 = e7.finishNode({ type: "AssignmentPattern", left: c7, right: a5 }, g5); + } + if (l5.push(c7), !C5(e7, t26, 18) || e7.getToken() === 16) break; + } + return f7 && (e7.flags |= 128), (f7 || t26 & 1) && n5?.reportScopeError(), y4(e7, t26, 16), l5; +} +function we7(e7, t26, n5, u, o5, i5) { + let l5 = e7.getToken(); + if (l5 & 67108864) { + if (l5 === 67108877) { + r(e7, t26 | 262144), e7.assignable = 1; + let f7 = xe8(e7, t26, n5); + return we7(e7, t26, n5, e7.finishNode({ type: "MemberExpression", object: u, computed: false, property: f7, optional: false }, i5), 0, i5); + } else if (l5 === 69271571) { + r(e7, t26 | 32); + let { tokenStart: f7 } = e7, c7 = V9(e7, t26, n5, o5, 1, f7); + return y4(e7, t26, 20), e7.assignable = 1, we7(e7, t26, n5, e7.finishNode({ type: "MemberExpression", object: u, computed: true, property: c7, optional: false }, i5), 0, i5); + } else if (l5 === 67174408 || l5 === 67174409) return e7.assignable = 2, we7(e7, t26, n5, e7.finishNode({ type: "TaggedTemplateExpression", tag: u, quasi: e7.getToken() === 67174408 ? et9(e7, t26 | 64, n5) : pe8(e7, t26 | 64) }, i5), 0, i5); + } + return u; +} +function Gn6(e7, t26, n5, u) { + let { tokenStart: o5 } = e7, i5 = N7(e7, t26 | 32), { tokenStart: l5 } = e7; + if (C5(e7, t26, 67108877)) { + if (t26 & 65536 && e7.getToken() === 209029) return e7.assignable = 2, xn6(e7, t26, i5, o5); + e7.report(94); + } + e7.assignable = 2, (e7.getToken() & 16842752) === 16842752 && e7.report(65, B5[e7.getToken() & 255]); + let f7 = U8(e7, t26, n5, 2, 1, 0, u, 1, l5); + t26 = (t26 | 131072) ^ 131072, e7.getToken() === 67108990 && e7.report(168); + let c7 = we7(e7, t26, n5, f7, u, l5); + return e7.assignable = 2, e7.finishNode({ type: "NewExpression", callee: c7, arguments: e7.getToken() === 67174411 ? tt9(e7, t26, n5, u) : [] }, o5); +} +function xn6(e7, t26, n5, u) { + let o5 = N7(e7, t26); + return e7.finishNode({ type: "MetaProperty", meta: n5, property: o5 }, u); +} +function Wt8(e7, t26, n5, u, o5) { + return e7.getToken() === 209006 && e7.report(31), t26 & 1025 && e7.getToken() === 241771 && e7.report(32), Ie9(e7, t26, e7.getToken()), (e7.getToken() & 36864) === 36864 && (e7.flags |= 256), Oe9(e7, t26 & -524289 | 2048, n5, e7.tokenValue, N7(e7, t26), 0, u, 1, o5); +} +function ut8(e7, t26, n5, u, o5, i5, l5, f7, c7) { + r(e7, t26 | 32); + let g5 = e7.createScopeIfLexical()?.createChildScope(512); + if (t26 = (t26 | 131072) ^ 131072, C5(e7, t26, 16)) return e7.getToken() === 10 ? (f7 & 1 && e7.report(48), Ne8(e7, t26, g5, n5, [], o5, 1, c7)) : e7.finishNode({ type: "CallExpression", callee: u, arguments: [], optional: false }, c7); + let d5 = 0, a5 = null, h5 = 0; + e7.destructible = (e7.destructible | 256 | 128) ^ 384; + let A9 = []; + for (; e7.getToken() !== 16; ) { + let { tokenStart: b7 } = e7, w8 = e7.getToken(); + if (w8 & 143360) g5?.addBlockName(t26, e7.tokenValue, i5, 0), (w8 & 537079808) === 537079808 ? e7.flags |= 512 : (w8 & 36864) === 36864 && (e7.flags |= 256), a5 = U8(e7, t26, n5, i5, 0, 1, 1, 1, b7), e7.getToken() === 16 || e7.getToken() === 18 ? e7.assignable & 2 && (d5 |= 16, h5 = 1) : (e7.getToken() === 1077936155 ? h5 = 1 : d5 |= 16, a5 = F8(e7, t26, n5, a5, 1, 0, b7), e7.getToken() !== 16 && e7.getToken() !== 18 && (a5 = I7(e7, t26, n5, 1, 0, b7, a5))); + else if (w8 & 2097152) a5 = w8 === 2162700 ? j7(e7, t26, g5, n5, 0, 1, 0, i5, l5) : X9(e7, t26, g5, n5, 0, 1, 0, i5, l5), d5 |= e7.destructible, h5 = 1, e7.getToken() !== 16 && e7.getToken() !== 18 && (d5 & 8 && e7.report(122), a5 = F8(e7, t26, n5, a5, 0, 0, b7), d5 |= 16, (e7.getToken() & 8388608) === 8388608 && (a5 = G8(e7, t26, n5, 1, c7, 4, w8, a5)), C5(e7, t26 | 32, 22) && (a5 = ee7(e7, t26, n5, a5, c7))); + else if (w8 === 14) a5 = oe8(e7, t26, g5, n5, 16, i5, l5, 1, 1, 0), d5 |= (e7.getToken() === 16 ? 0 : 16) | e7.destructible, h5 = 1; + else { + for (a5 = L7(e7, t26, n5, 1, 0, b7), d5 = e7.assignable, A9.push(a5); C5(e7, t26 | 32, 18); ) A9.push(L7(e7, t26, n5, 1, 0, b7)); + return d5 |= e7.assignable, y4(e7, t26, 16), e7.destructible = d5 | 16, e7.assignable = 2, e7.finishNode({ type: "CallExpression", callee: u, arguments: A9, optional: false }, c7); + } + if (A9.push(a5), !C5(e7, t26 | 32, 18)) break; + } + return y4(e7, t26, 16), d5 |= e7.destructible & 256 ? 256 : 0 | e7.destructible & 128 ? 128 : 0, e7.getToken() === 10 ? (d5 & 48 && e7.report(27), (e7.flags & 1 || f7 & 1) && e7.report(48), d5 & 128 && e7.report(31), t26 & 1025 && d5 & 256 && e7.report(32), h5 && (e7.flags |= 128), Ne8(e7, t26 | 2048, g5, n5, A9, o5, 1, c7)) : (d5 & 64 && e7.report(63), d5 & 8 && e7.report(62), e7.assignable = 2, e7.finishNode({ type: "CallExpression", callee: u, arguments: A9, optional: false }, c7)); +} +function pn6(e7, t26) { + let { tokenRaw: n5, tokenRegExp: u, tokenValue: o5, tokenStart: i5 } = e7; + r(e7, t26), e7.assignable = 2; + let l5 = { type: "Literal", value: o5, regex: u }; + return e7.options.raw && (l5.raw = n5), e7.finishNode(l5, i5); +} +function ze10(e7, t26, n5, u, o5) { + let i5, l5; + e7.leadingDecorators.decorators.length ? (e7.getToken() === 132 && e7.report(30, "@"), i5 = e7.leadingDecorators.start, l5 = [...e7.leadingDecorators.decorators], e7.leadingDecorators.decorators.length = 0) : (i5 = e7.tokenStart, l5 = Ve8(e7, t26, u)), t26 = (t26 | 16384 | 1) ^ 16384, r(e7, t26); + let f7 = null, c7 = null, { tokenValue: g5 } = e7; + e7.getToken() & 4096 && e7.getToken() !== 20565 ? (Vt8(e7, t26, e7.getToken()) && e7.report(118), (e7.getToken() & 537079808) === 537079808 && e7.report(119), n5 && (n5.addBlockName(t26, g5, 32, 0), o5 && o5 & 2 && e7.declareUnboundVariable(g5)), f7 = N7(e7, t26)) : (o5 & 1) === 0 && e7.report(39, "Class"); + let d5 = t26; + C5(e7, t26 | 32, 20565) ? (c7 = _7(e7, t26, u, 0, 0, 0), d5 |= 512) : d5 = (d5 | 512) ^ 512; + let a5 = Yt6(e7, d5, t26, n5, u, 2, 8, 0); + return e7.finishNode({ type: "ClassDeclaration", id: f7, superClass: c7, body: a5, ...e7.options.next ? { decorators: l5 } : null }, i5); +} +function eu2(e7, t26, n5, u, o5) { + let i5 = null, l5 = null, f7 = Ve8(e7, t26, n5); + t26 = (t26 | 1 | 16384) ^ 16384, r(e7, t26), e7.getToken() & 4096 && e7.getToken() !== 20565 && (Vt8(e7, t26, e7.getToken()) && e7.report(118), (e7.getToken() & 537079808) === 537079808 && e7.report(119), i5 = N7(e7, t26)); + let c7 = t26; + C5(e7, t26 | 32, 20565) ? (l5 = _7(e7, t26, n5, 0, u, 0), c7 |= 512) : c7 = (c7 | 512) ^ 512; + let g5 = Yt6(e7, c7, t26, void 0, n5, 2, 0, u); + return e7.assignable = 2, e7.finishNode({ type: "ClassExpression", id: i5, superClass: l5, body: g5, ...e7.options.next ? { decorators: f7 } : null }, o5); +} +function Ve8(e7, t26, n5) { + let u = []; + if (e7.options.next) for (; e7.getToken() === 132; ) u.push(tu2(e7, t26, n5)); + return u; +} +function tu2(e7, t26, n5) { + let u = e7.tokenStart; + r(e7, t26 | 32); + let o5 = e7.tokenStart, i5 = U8(e7, t26, n5, 2, 0, 1, 0, 1, u); + return i5 = F8(e7, t26, n5, i5, 0, 0, o5), e7.finishNode({ type: "Decorator", expression: i5 }, u); +} +function Yt6(e7, t26, n5, u, o5, i5, l5, f7) { + let { tokenStart: c7 } = e7, g5 = e7.createPrivateScopeIfLexical(o5); + y4(e7, t26 | 32, 2162700); + let d5 = 655360; + t26 = (t26 | d5) ^ d5; + let a5 = e7.flags & 32; + e7.flags = (e7.flags | 32) ^ 32; + let h5 = []; + for (; e7.getToken() !== 1074790415; ) { + let A9 = e7.tokenStart, b7 = Ve8(e7, t26, g5); + if (b7.length > 0 && e7.tokenValue === "constructor" && e7.report(109), e7.getToken() === 1074790415 && e7.report(108), C5(e7, t26, 1074790417)) { + b7.length > 0 && e7.report(120); + continue; + } + h5.push(Qt8(e7, t26, u, g5, n5, i5, b7, 0, f7, b7.length > 0 ? A9 : e7.tokenStart)); + } + return y4(e7, l5 & 8 ? t26 | 32 : t26, 1074790415), g5?.validatePrivateIdentifierRefs(), e7.flags = e7.flags & -33 | a5, e7.finishNode({ type: "ClassBody", body: h5 }, c7); +} +function Qt8(e7, t26, n5, u, o5, i5, l5, f7, c7, g5) { + let d5 = f7 ? 32 : 0, a5 = null, h5 = e7.getToken(); + if (h5 & 176128 || h5 === -2147483528) switch (a5 = N7(e7, t26), h5) { + case 36970: + if (!f7 && e7.getToken() !== 67174411 && (e7.getToken() & 1048576) !== 1048576 && e7.getToken() !== 1077936155) return Qt8(e7, t26, n5, u, o5, i5, l5, 1, c7, g5); + break; + case 209005: + if (e7.getToken() !== 67174411 && (e7.flags & 1) === 0) { + if ((e7.getToken() & 1073741824) === 1073741824) return se9(e7, t26, u, a5, d5, l5, g5); + d5 |= 16 | (Qe9(e7, t26, 8391476) ? 8 : 0); + } + break; + case 209008: + if (e7.getToken() !== 67174411) { + if ((e7.getToken() & 1073741824) === 1073741824) return se9(e7, t26, u, a5, d5, l5, g5); + d5 |= 256; + } + break; + case 209009: + if (e7.getToken() !== 67174411) { + if ((e7.getToken() & 1073741824) === 1073741824) return se9(e7, t26, u, a5, d5, l5, g5); + d5 |= 512; + } + break; + case 12402: + if (e7.getToken() !== 67174411 && (e7.flags & 1) === 0) { + if ((e7.getToken() & 1073741824) === 1073741824) return se9(e7, t26, u, a5, d5, l5, g5); + e7.options.next && (d5 |= 1024); + } + break; + } + else if (h5 === 69271571) d5 |= 2, a5 = ne10(e7, o5, u, c7); + else if ((h5 & 134217728) === 134217728) a5 = O5(e7, t26); + else if (h5 === 8391476) d5 |= 8, r(e7, t26); + else if (e7.getToken() === 130) d5 |= 8192, a5 = Le9(e7, t26 | 16, u, 768); + else if ((e7.getToken() & 1073741824) === 1073741824) d5 |= 128; + else { + if (f7 && h5 === 2162700) return Bn5(e7, t26 | 16, n5, u, g5); + h5 === -2147483527 ? (a5 = N7(e7, t26), e7.getToken() !== 67174411 && e7.report(30, B5[e7.getToken() & 255])) : e7.report(30, B5[e7.getToken() & 255]); + } + if (d5 & 1816 && (e7.getToken() & 143360 || e7.getToken() === -2147483528 || e7.getToken() === -2147483527 ? a5 = N7(e7, t26) : (e7.getToken() & 134217728) === 134217728 ? a5 = O5(e7, t26) : e7.getToken() === 69271571 ? (d5 |= 2, a5 = ne10(e7, t26, u, 0)) : e7.getToken() === 130 ? (d5 |= 8192, a5 = Le9(e7, t26, u, d5)) : e7.report(135)), (d5 & 2) === 0 && (e7.tokenValue === "constructor" ? ((e7.getToken() & 1073741824) === 1073741824 ? e7.report(129) : (d5 & 32) === 0 && e7.getToken() === 67174411 && (d5 & 920 ? e7.report(53, "accessor") : (t26 & 512) === 0 && (e7.flags & 32 ? e7.report(54) : e7.flags |= 32)), d5 |= 64) : (d5 & 8192) === 0 && d5 & 32 && e7.tokenValue === "prototype" && e7.report(52)), d5 & 1024 || e7.getToken() !== 67174411 && (d5 & 768) === 0) return se9(e7, t26, u, a5, d5, l5, g5); + let A9 = z7(e7, t26 | 16, u, d5, c7, e7.tokenStart); + return e7.finishNode({ type: "MethodDefinition", kind: (d5 & 32) === 0 && d5 & 64 ? "constructor" : d5 & 256 ? "get" : d5 & 512 ? "set" : "method", static: (d5 & 32) > 0, computed: (d5 & 2) > 0, key: a5, value: A9, ...e7.options.next ? { decorators: l5 } : null }, g5); +} +function Le9(e7, t26, n5, u) { + let { tokenStart: o5 } = e7; + r(e7, t26); + let { tokenValue: i5 } = e7; + return i5 === "constructor" && e7.report(128), e7.options.lexical && (n5 || e7.report(4, i5), u ? n5.addPrivateIdentifier(i5, u) : n5.addPrivateIdentifierRef(i5)), r(e7, t26), e7.finishNode({ type: "PrivateIdentifier", name: i5 }, o5); +} +function se9(e7, t26, n5, u, o5, i5, l5) { + let f7 = null; + if (o5 & 8 && e7.report(0), e7.getToken() === 1077936155) { + r(e7, t26 | 32); + let { tokenStart: c7 } = e7; + e7.getToken() === 537079927 && e7.report(119); + let g5 = 11264 | ((o5 & 64) === 0 ? 16896 : 0); + t26 = (t26 | g5) ^ g5 | (o5 & 8 ? 1024 : 0) | (o5 & 16 ? 2048 : 0) | (o5 & 64 ? 16384 : 0) | 256 | 65536, f7 = U8(e7, t26 | 16, n5, 2, 0, 1, 0, 1, c7), ((e7.getToken() & 1073741824) !== 1073741824 || (e7.getToken() & 4194304) === 4194304) && (f7 = F8(e7, t26 | 16, n5, f7, 0, 0, c7), f7 = I7(e7, t26 | 16, n5, 0, 0, c7, f7)); + } + return M8(e7, t26), e7.finishNode({ type: o5 & 1024 ? "AccessorProperty" : "PropertyDefinition", key: u, value: f7, static: (o5 & 32) > 0, computed: (o5 & 2) > 0, ...e7.options.next ? { decorators: i5 } : null }, l5); +} +function Zt9(e7, t26, n5, u, o5, i5) { + if (e7.getToken() & 143360 || (t26 & 1) === 0 && e7.getToken() === -2147483527) return it7(e7, t26, n5, o5, i5); + (e7.getToken() & 2097152) !== 2097152 && e7.report(30, B5[e7.getToken() & 255]); + let l5 = e7.getToken() === 69271571 ? X9(e7, t26, n5, u, 1, 0, 1, o5, i5) : j7(e7, t26, n5, u, 1, 0, 1, o5, i5); + return e7.destructible & 16 && e7.report(50), e7.destructible & 32 && e7.report(50), l5; +} +function it7(e7, t26, n5, u, o5) { + let i5 = e7.getToken(); + t26 & 1 && ((i5 & 537079808) === 537079808 ? e7.report(119) : ((i5 & 36864) === 36864 || i5 === -2147483527) && e7.report(118)), (i5 & 20480) === 20480 && e7.report(102), i5 === 241771 && (t26 & 1024 && e7.report(32), t26 & 2 && e7.report(111)), (i5 & 255) === 73 && u & 24 && e7.report(100), i5 === 209006 && (t26 & 2048 && e7.report(176), t26 & 2 && e7.report(110)); + let { tokenValue: l5, tokenStart: f7 } = e7; + return r(e7, t26), n5?.addVarOrBlock(t26, l5, u, o5), e7.finishNode({ type: "Identifier", name: l5 }, f7); +} +function Re9(e7, t26, n5, u, o5) { + if (u || y4(e7, t26, 8456256), e7.getToken() === 8390721) { + let c7 = nu2(e7, o5), [g5, d5] = lu3(e7, t26, n5, u); + return e7.finishNode({ type: "JSXFragment", openingFragment: c7, children: g5, closingFragment: d5 }, o5); + } + e7.getToken() === 8457014 && e7.report(30, B5[e7.getToken() & 255]); + let i5 = null, l5 = [], f7 = su2(e7, t26, n5, u, o5); + if (!f7.selfClosing) { + [l5, i5] = ou2(e7, t26, n5, u); + let c7 = Fe9(i5.name); + Fe9(f7.name) !== c7 && e7.report(155, c7); + } + return e7.finishNode({ type: "JSXElement", children: l5, openingElement: f7, closingElement: i5 }, o5); +} +function nu2(e7, t26) { + return me10(e7), e7.finishNode({ type: "JSXOpeningFragment" }, t26); +} +function uu3(e7, t26, n5, u) { + y4(e7, t26, 8457014); + let o5 = xt9(e7, t26); + return e7.getToken() !== 8390721 && e7.report(25, B5[65]), n5 ? me10(e7) : r(e7, t26), e7.finishNode({ type: "JSXClosingElement", name: o5 }, u); +} +function iu2(e7, t26, n5, u) { + return y4(e7, t26, 8457014), e7.getToken() !== 8390721 && e7.report(25, B5[65]), n5 ? me10(e7) : r(e7, t26), e7.finishNode({ type: "JSXClosingFragment" }, u); +} +function ou2(e7, t26, n5, u) { + let o5 = []; + for (; ; ) { + let i5 = fu2(e7, t26, n5, u); + if (i5.type === "JSXClosingElement") return [o5, i5]; + o5.push(i5); + } +} +function lu3(e7, t26, n5, u) { + let o5 = []; + for (; ; ) { + let i5 = cu2(e7, t26, n5, u); + if (i5.type === "JSXClosingFragment") return [o5, i5]; + o5.push(i5); + } +} +function fu2(e7, t26, n5, u) { + if (e7.getToken() === 137) return Gt7(e7, t26); + if (e7.getToken() === 2162700) return ot7(e7, t26, n5, 1, 0); + if (e7.getToken() === 8456256) { + let { tokenStart: o5 } = e7; + return r(e7, t26), e7.getToken() === 8457014 ? uu3(e7, t26, u, o5) : Re9(e7, t26, n5, 1, o5); + } + e7.report(0); +} +function cu2(e7, t26, n5, u) { + if (e7.getToken() === 137) return Gt7(e7, t26); + if (e7.getToken() === 2162700) return ot7(e7, t26, n5, 1, 0); + if (e7.getToken() === 8456256) { + let { tokenStart: o5 } = e7; + return r(e7, t26), e7.getToken() === 8457014 ? iu2(e7, t26, u, o5) : Re9(e7, t26, n5, 1, o5); + } + e7.report(0); +} +function Gt7(e7, t26) { + let n5 = e7.tokenStart; + r(e7, t26); + let u = { type: "JSXText", value: e7.tokenValue }; + return e7.options.raw && (u.raw = e7.tokenRaw), e7.finishNode(u, n5); +} +function su2(e7, t26, n5, u, o5) { + (e7.getToken() & 143360) !== 143360 && (e7.getToken() & 4096) !== 4096 && e7.report(0); + let i5 = xt9(e7, t26), l5 = au2(e7, t26, n5), f7 = e7.getToken() === 8457014; + return f7 && y4(e7, t26, 8457014), e7.getToken() !== 8390721 && e7.report(25, B5[65]), u || !f7 ? me10(e7) : r(e7, t26), e7.finishNode({ type: "JSXOpeningElement", name: i5, attributes: l5, selfClosing: f7 }, o5); +} +function xt9(e7, t26) { + let { tokenStart: n5 } = e7; + Ue8(e7); + let u = Me10(e7, t26); + if (e7.getToken() === 21) return pt9(e7, t26, u, n5); + for (; C5(e7, t26, 67108877); ) Ue8(e7), u = du2(e7, t26, u, n5); + return u; +} +function du2(e7, t26, n5, u) { + let o5 = Me10(e7, t26); + return e7.finishNode({ type: "JSXMemberExpression", object: n5, property: o5 }, u); +} +function au2(e7, t26, n5) { + let u = []; + for (; e7.getToken() !== 8457014 && e7.getToken() !== 8390721 && e7.getToken() !== 1048576; ) u.push(mu2(e7, t26, n5)); + return u; +} +function gu2(e7, t26, n5) { + let u = e7.tokenStart; + r(e7, t26), y4(e7, t26, 14); + let o5 = L7(e7, t26, n5, 1, 0, e7.tokenStart); + return y4(e7, t26, 1074790415), e7.finishNode({ type: "JSXSpreadAttribute", argument: o5 }, u); +} +function mu2(e7, t26, n5) { + let { tokenStart: u } = e7; + if (e7.getToken() === 2162700) return gu2(e7, t26, n5); + Ue8(e7); + let o5 = null, i5 = Me10(e7, t26); + if (e7.getToken() === 21 && (i5 = pt9(e7, t26, i5, u)), e7.getToken() === 1077936155) switch (un6(e7, t26)) { + case 134283267: + o5 = O5(e7, t26); + break; + case 8456256: + o5 = Re9(e7, t26, n5, 0, e7.tokenStart); + break; + case 2162700: + o5 = ot7(e7, t26, n5, 0, 1); + break; + default: + e7.report(154); + } + return e7.finishNode({ type: "JSXAttribute", value: o5, name: i5 }, u); +} +function pt9(e7, t26, n5, u) { + y4(e7, t26, 21); + let o5 = Me10(e7, t26); + return e7.finishNode({ type: "JSXNamespacedName", namespace: n5, name: o5 }, u); +} +function ot7(e7, t26, n5, u, o5) { + let { tokenStart: i5 } = e7; + r(e7, t26 | 32); + let { tokenStart: l5 } = e7; + if (e7.getToken() === 14) return ru2(e7, t26, n5, i5); + let f7 = null; + return e7.getToken() === 1074790415 ? (o5 && e7.report(157), f7 = hu3(e7, { index: e7.startIndex, line: e7.startLine, column: e7.startColumn })) : f7 = L7(e7, t26, n5, 1, 0, l5), e7.getToken() !== 1074790415 && e7.report(25, B5[15]), u ? me10(e7) : r(e7, t26), e7.finishNode({ type: "JSXExpressionContainer", expression: f7 }, i5); +} +function ru2(e7, t26, n5, u) { + y4(e7, t26, 14); + let o5 = L7(e7, t26, n5, 1, 0, e7.tokenStart); + return y4(e7, t26, 1074790415), e7.finishNode({ type: "JSXSpreadChild", expression: o5 }, u); +} +function hu3(e7, t26) { + return e7.finishNode({ type: "JSXEmptyExpression" }, t26, e7.tokenStart); +} +function Me10(e7, t26) { + let n5 = e7.tokenStart; + e7.getToken() & 143360 || e7.report(30, B5[e7.getToken() & 255]); + let { tokenValue: u } = e7; + return r(e7, t26), e7.finishNode({ type: "JSXIdentifier", name: u }, n5); +} +function e22(e7, t26) { + return sn6(e7, t26); +} +function ku2(e7, t26) { + let n5 = new SyntaxError(e7 + " (" + t26.loc.start.line + ":" + t26.loc.start.column + ")"); + return Object.assign(n5, t26); +} +function n22(e7) { + let t26 = []; + for (let n5 of e7) try { + return n5(); + } catch (u) { + t26.push(u); + } + throw Object.assign(new Error("All combinations failed"), { errors: t26 }); +} +function Tu3(e7) { + return this[e7 < 0 ? this.length + e7 : e7]; +} +function H10(e7) { + let t26 = e7.range?.[0] ?? e7.start, n5 = (e7.declaration?.decorators ?? e7.decorators)?.[0]; + return n5 ? Math.min(H10(n5), t26) : t26; +} +function J10(e7) { + return e7.range?.[1] ?? e7.end; +} +function Du3(e7) { + let t26 = new Set(e7); + return (n5) => t26.has(n5?.type); +} +function wu2(e7) { + return lt7.has(e7) || lt7.set(e7, fe8(e7) && e7.value[0] === "*" && /@(?:type|satisfies)\b/u.test(e7.value)), lt7.get(e7); +} +function Su2(e7) { + if (!fe8(e7)) return false; + let t26 = `*${e7.value}*`.split(` +`); + return t26.length > 1 && t26.every((n5) => n5.trimStart()[0] === "*"); +} +function Bu2(e7) { + return ft8.has(e7) || ft8.set(e7, Su2(e7)), ft8.get(e7); +} +function Fu3(e7) { + if (e7.length < 2) return; + let t26; + for (let n5 = e7.length - 1; n5 >= 0; n5--) { + let u = e7[n5]; + if (t26 && J10(u) === H10(t26) && ct8(u) && ct8(t26) && (e7.splice(n5 + 1, 1), u.value += "*//*" + t26.value, u.range = [H10(u), J10(t26)]), !o22(u) && !fe8(u)) throw new TypeError(`Unknown comment type: "${u.type}".`); + t26 = u; + } +} +function Nu2(e7) { + return e7 !== null && typeof e7 == "object"; +} +function Ae8(e7) { + if (ye9 !== null && typeof ye9.property) { + let t26 = ye9; + return ye9 = Ae8.prototype = null, t26; + } + return ye9 = Ae8.prototype = e7 ?? /* @__PURE__ */ Object.create(null), new Ae8(); +} +function st7(e7) { + return Ae8(e7); +} +function Iu3(e7, t26 = "type") { + st7(e7); + function n5(u) { + let o5 = u[t26], i5 = e7[o5]; + if (!Array.isArray(i5)) throw Object.assign(new Error(`Missing visitor keys for '${o5}'.`), { node: u }); + return i5; + } + return n5; +} +function ve9(e7, t26) { + if (!c22(e7)) return e7; + if (Array.isArray(e7)) { + for (let u = 0; u < e7.length; u++) e7[u] = ve9(e7[u], t26); + return e7; + } + if (t26.onEnter) { + let u = t26.onEnter(e7) ?? e7; + if (u !== e7) return ve9(u, t26); + e7 = u; + } + let n5 = a22(e7); + for (let u = 0; u < n5.length; u++) e7[n5[u]] = ve9(e7[n5[u]], t26); + return t26.onLeave && (e7 = t26.onLeave(e7) || e7), e7; +} +function Pu2(e7, t26) { + let { parser: n5, text: u } = t26, { comments: o5 } = e7, i5 = n5 === "oxc" && t26.oxcAstType === "ts"; + f22(o5); + let l5 = e7.type === "File" ? e7.program : e7; + l5.interpreter && (o5.unshift(l5.interpreter), delete l5.interpreter), i5 && e7.hashbang && (o5.unshift(e7.hashbang), delete e7.hashbang), e7.type === "Program" && (e7.range = [0, u.length]); + let f7; + return e7 = g22(e7, { onEnter(c7) { + switch (c7.type) { + case "ParenthesizedExpression": { + let { expression: g5 } = c7, d5 = H10(c7); + if (g5.type === "TypeCastExpression") return g5.range = [d5, J10(c7)], g5; + let a5 = false; + if (!i5) { + if (!f7) { + f7 = []; + for (let A9 of o5) l22(A9) && f7.push(J10(A9)); + } + let h5 = u2(0, f7, (A9) => A9 <= d5); + a5 = h5 && u.slice(h5, d5).trim().length === 0; + } + return a5 ? void 0 : (g5.extra = { ...g5.extra, parenthesized: true }, g5); + } + case "TemplateLiteral": + if (c7.expressions.length !== c7.quasis.length - 1) throw new Error("Malformed template literal."); + break; + case "TemplateElement": + if (n5 === "flow" || n5 === "hermes" || n5 === "espree" || n5 === "typescript" || i5) { + let g5 = H10(c7) + 1, d5 = J10(c7) - (c7.tail ? 1 : 2); + c7.range = [g5, d5]; + } + break; + case "VariableDeclaration": { + let g5 = i2(0, c7.declarations, -1); + g5?.init && u[J10(g5)] !== ";" && (c7.range = [H10(c7), J10(g5)]); + break; + } + case "TSParenthesizedType": + return c7.typeAnnotation; + case "TopicReference": + e7.extra = { ...e7.extra, __isUsingHackPipeline: true }; + break; + case "TSUnionType": + case "TSIntersectionType": + if (c7.types.length === 1) return c7.types[0]; + break; + case "ImportExpression": + n5 === "hermes" && c7.attributes && !c7.options && (c7.options = c7.attributes); + break; + } + }, onLeave(c7) { + switch (c7.type) { + case "LogicalExpression": + if (m22(c7)) return dt7(c7); + break; + case "TSImportType": + !c7.source && c7.argument.type === "TSLiteralType" && (c7.source = c7.argument.literal, delete c7.argument); + break; + } + } }), e7; +} +function m22(e7) { + return e7.type === "LogicalExpression" && e7.right.type === "LogicalExpression" && e7.operator === e7.right.operator; +} +function dt7(e7) { + return m22(e7) ? dt7({ type: "LogicalExpression", operator: e7.operator, left: dt7({ type: "LogicalExpression", operator: e7.operator, left: e7.left, right: e7.right.left, range: [H10(e7.left), J10(e7.right.left)] }), right: e7.right.right, range: [H10(e7), J10(e7)] }) : e7; +} +function y22(e7) { + let t26 = e7.match(Ru2); + return t26 ? t26[0].trimStart() : ""; +} +function A22(e7) { + e7 = p2(0, e7.replace(Vu2, "").replace(Ou3, ""), Uu2, "$1"); + let n5 = ""; + for (; n5 !== e7; ) n5 = e7, e7 = p2(0, e7, vu3, ` +$1 $2 +`); + e7 = e7.replace(h22, "").trimEnd(); + let u = /* @__PURE__ */ Object.create(null), o5 = p2(0, e7, k22, "").replace(h22, "").trimEnd(), i5; + for (; i5 = k22.exec(e7); ) { + let l5 = p2(0, i5[2], Mu2, ""); + if (typeof u[i5[1]] == "string" || Array.isArray(u[i5[1]])) { + let f7 = u[i5[1]]; + u[i5[1]] = [...Ju3, ...Array.isArray(f7) ? f7 : [f7], l5]; + } else u[i5[1]] = l5; + } + return { comments: o5, pragmas: u }; +} +function _u2(e7) { + if (!e7.startsWith("#!")) return ""; + let t26 = e7.indexOf(` +`); + return t26 === -1 ? e7 : e7.slice(0, t26); +} +function C22(e7) { + let t26 = D22(e7); + t26 && (e7 = e7.slice(t26.length + 1)); + let n5 = y22(e7), { pragmas: u, comments: o5 } = A22(n5); + return { shebang: t26, text: e7, pragmas: u, comments: o5 }; +} +function E22(e7) { + let { pragmas: t26 } = C22(e7); + return b22.some((n5) => Object.prototype.hasOwnProperty.call(t26, n5)); +} +function w22(e7) { + let { pragmas: t26 } = C22(e7); + return T22.some((n5) => Object.prototype.hasOwnProperty.call(t26, n5)); +} +function Xu2(e7) { + return e7 = typeof e7 == "function" ? { parse: e7 } : e7, { astFormat: "estree", hasPragma: E22, hasIgnorePragma: w22, locStart: H10, locEnd: J10, ...e7 }; +} +function L22(e7) { + if (typeof e7 == "string") { + if (e7 = e7.toLowerCase(), /\.(?:mjs|mts)$/iu.test(e7)) return B22; + if (/\.(?:cjs|cts)$/iu.test(e7)) return F22; + } +} +function Hu2(e7, t26) { + let n5 = [], u = e22(e7, { ...ju2, sourceType: t26, onComment: n5 }); + return u.comments = n5, u; +} +function zu2(e7) { + let { description: t26, loc: n5 } = e7; + return n5 ? t24(t26, { loc: { start: { line: n5.start.line, column: n5.start.column + 1 }, end: { line: n5.end.line, column: n5.end.column + 1 } }, cause: e7 }) : e7; +} +function Ku2(e7, t26) { + let n5 = L22(t26?.filepath), u = (n5 ? [n5] : N22).map((i5) => () => Hu2(e7, i5)), o5; + try { + o5 = n22(u); + } catch ({ errors: [i5] }) { + throw zu2(i5); + } + return r2(o5, { parser: "meriyah", text: e7 }); +} +var q22, gt9, I22, at9, Q9, P22, O22, p2, V22, R22, M22, v22, U22, mt9, Dt8, J22, Ct10, S4, _22, Et10, wt10, K22, q9, B5, Bt8, Z7, P6, en7, Je9, _e9, Xe9, t24, yu3, Au2, u2, bu3, i2, le7, Cu2, fe8, Eu3, o22, lt7, l22, ft8, ct8, f22, c22, ye9, Lu2, s2, s, d22, qu3, a22, g22, Xi7, r2, Ou3, Vu2, Ru2, Mu2, h22, vu3, k22, Uu2, Ju3, T22, b22, D22, S22, B22, F22, N22, ju2, $u2; +var init_meriyah = __esm({ + "node_modules/prettier/plugins/meriyah.mjs"() { + q22 = Object.defineProperty; + gt9 = (e7, t26) => { + for (var n5 in t26) q22(e7, n5, { get: t26[n5], enumerable: true }); + }; + I22 = {}; + gt9(I22, { parsers: () => at9 }); + at9 = {}; + gt9(at9, { meriyah: () => $u2 }); + Q9 = (e7, t26) => (n5, u, ...o5) => n5 | 1 && u == null ? void 0 : (t26.call(u) ?? u[e7]).apply(u, o5); + P22 = String.prototype.replaceAll ?? function(e7, t26) { + return e7.global ? this.replace(e7, t26) : this.split(e7).join(t26); + }; + O22 = Q9("replaceAll", function() { + if (typeof this == "string") return P22; + }); + p2 = O22; + V22 = 55296; + R22 = 56319; + M22 = 56320; + v22 = String.prototype.isWellFormed ?? function() { + let { length: e7 } = this; + for (let t26 = 0; t26 < e7; t26++) { + let n5 = this.charCodeAt(t26); + if ((n5 & 64512) === V22 && (n5 > R22 || ++t26 >= e7 || (this.charCodeAt(t26) & 64512) !== M22)) return false; + } + return true; + }; + U22 = Q9("isWellFormed", function() { + if (typeof this == "string") return v22; + }); + mt9 = U22; + Dt8 = ((e7, t26) => { + let n5 = new Uint32Array(69632), u = 0, o5 = 0; + for (; u < 2597; ) { + let i5 = e7[u++]; + if (i5 < 0) o5 -= i5; + else { + let l5 = e7[u++]; + i5 & 2 && (l5 = t26[l5]), i5 & 1 ? n5.fill(l5, o5, o5 += e7[u++]) : n5[o5++] = l5; + } + } + return n5; + })([-1, 2, 26, 2, 27, 2, 5, -1, 0, 77595648, 3, 44, 2, 3, 0, 14, 2, 61, 2, 62, 3, 0, 3, 0, 3168796671, 0, 4294956992, 2, 1, 2, 0, 2, 41, 3, 0, 4, 0, 4294966523, 3, 0, 4, 2, 16, 2, 63, 2, 0, 0, 4294836735, 0, 3221225471, 0, 4294901942, 2, 64, 0, 134152192, 3, 0, 2, 0, 4294951935, 3, 0, 2, 0, 2683305983, 0, 2684354047, 2, 17, 2, 0, 0, 4294961151, 3, 0, 2, 2, 19, 2, 0, 0, 608174079, 2, 0, 2, 58, 2, 7, 2, 6, 0, 4286643967, 3, 0, 2, 2, 1, 3, 0, 3, 0, 4294901711, 2, 40, 0, 4089839103, 0, 2961209759, 0, 1342439375, 0, 4294543342, 0, 3547201023, 0, 1577204103, 0, 4194240, 0, 4294688750, 2, 2, 0, 80831, 0, 4261478351, 0, 4294549486, 2, 2, 0, 2967484831, 0, 196559, 0, 3594373100, 0, 3288319768, 0, 8469959, 0, 65472, 2, 3, 0, 4093640191, 0, 929054175, 0, 65487, 0, 4294828015, 0, 4092591615, 0, 1885355487, 0, 982991, 2, 3, 2, 0, 0, 2163244511, 0, 4227923919, 0, 4236247022, 2, 69, 0, 4284449919, 0, 851904, 2, 4, 2, 12, 0, 67076095, -1, 2, 70, 0, 1073741743, 0, 4093607775, -1, 0, 50331649, 0, 3265266687, 2, 33, 0, 4294844415, 0, 4278190047, 2, 20, 2, 137, -1, 3, 0, 2, 2, 23, 2, 0, 2, 9, 2, 0, 2, 15, 2, 22, 3, 0, 10, 2, 72, 2, 0, 2, 73, 2, 74, 2, 75, 2, 0, 2, 76, 2, 0, 2, 11, 0, 261632, 2, 25, 3, 0, 2, 2, 13, 2, 4, 3, 0, 18, 2, 77, 2, 5, 3, 0, 2, 2, 78, 0, 2151677951, 2, 29, 2, 10, 0, 909311, 3, 0, 2, 0, 814743551, 2, 48, 0, 67090432, 3, 0, 2, 2, 42, 2, 0, 2, 6, 2, 0, 2, 30, 2, 8, 0, 268374015, 2, 108, 2, 51, 2, 0, 2, 79, 0, 134153215, -1, 2, 7, 2, 0, 2, 8, 0, 2684354559, 0, 67044351, 0, 3221160064, 2, 9, 2, 18, 3, 0, 2, 2, 53, 0, 1046528, 3, 0, 3, 2, 10, 2, 0, 2, 127, 0, 4294960127, 2, 9, 2, 6, 2, 11, 0, 4294377472, 2, 12, 3, 0, 16, 2, 13, 2, 0, 2, 80, 2, 9, 2, 0, 2, 81, 2, 82, 2, 83, 0, 12288, 2, 54, 0, 1048577, 2, 84, 2, 14, -1, 2, 14, 0, 131042, 2, 85, 2, 86, 2, 87, 2, 0, 2, 34, -83, 3, 0, 7, 0, 1046559, 2, 0, 2, 15, 2, 0, 0, 2147516671, 2, 21, 3, 88, 2, 2, 0, -16, 2, 89, 0, 524222462, 2, 4, 2, 0, 0, 4269801471, 2, 4, 3, 0, 2, 2, 28, 2, 16, 3, 0, 2, 2, 49, 2, 0, -1, 2, 17, -16, 3, 0, 206, -2, 3, 0, 692, 2, 71, -1, 2, 17, 2, 9, 3, 0, 8, 2, 91, 2, 18, 2, 0, 0, 3220242431, 3, 0, 3, 2, 19, 2, 92, 2, 93, 3, 0, 2, 2, 94, 2, 0, 2, 20, 2, 95, 2, 0, 0, 4351, 2, 0, 2, 10, 3, 0, 2, 0, 67043391, 0, 3909091327, 2, 0, 2, 24, 2, 10, 2, 20, 3, 0, 2, 0, 67076097, 2, 8, 2, 0, 2, 21, 0, 67059711, 0, 4236247039, 3, 0, 2, 0, 939524103, 0, 8191999, 2, 99, 2, 100, 2, 22, 2, 23, 3, 0, 3, 0, 67057663, 3, 0, 349, 2, 101, 2, 102, 2, 7, -264, 3, 0, 11, 2, 24, 3, 0, 2, 2, 32, -1, 0, 3774349439, 2, 103, 2, 104, 3, 0, 2, 2, 19, 2, 105, 3, 0, 10, 2, 9, 2, 17, 2, 0, 2, 46, 2, 0, 2, 31, 2, 106, 2, 25, 0, 1638399, 0, 57344, 2, 107, 3, 0, 3, 2, 20, 2, 26, 2, 27, 2, 5, 2, 28, 2, 0, 2, 8, 2, 109, -1, 2, 110, 2, 111, 2, 112, -1, 3, 0, 3, 2, 12, -2, 2, 0, 2, 29, -3, 0, 536870912, -4, 2, 20, 2, 0, 2, 36, 0, 1, 2, 0, 2, 65, 2, 6, 2, 12, 2, 9, 2, 0, 2, 113, -1, 3, 0, 4, 2, 9, 2, 23, 2, 114, 2, 7, 2, 0, 2, 115, 2, 0, 2, 116, 2, 117, 2, 118, 2, 0, 2, 10, 3, 0, 9, 2, 21, 2, 30, 2, 31, 2, 119, 2, 120, -2, 2, 121, 2, 122, 2, 30, 2, 21, 2, 8, -2, 2, 123, 2, 30, 3, 32, 2, -1, 2, 0, 2, 39, -2, 0, 4277137519, 0, 2269118463, -1, 3, 20, 2, -1, 2, 33, 2, 38, 2, 0, 3, 30, 2, 2, 35, 2, 19, -3, 3, 0, 2, 2, 34, -1, 2, 0, 2, 35, 2, 0, 2, 35, 2, 0, 2, 47, 2, 0, 0, 4294950463, 2, 37, -7, 2, 0, 0, 203775, 2, 125, 0, 4227858432, 2, 20, 2, 43, 2, 36, 2, 17, 2, 37, 2, 17, 2, 124, 2, 21, 3, 0, 2, 2, 38, 0, 2151677888, 2, 0, 2, 12, 0, 4294901764, 2, 145, 2, 0, 2, 56, 2, 55, 0, 5242879, 3, 0, 2, 0, 402644511, -1, 2, 128, 2, 39, 0, 3, -1, 2, 129, 2, 130, 2, 0, 0, 67045375, 2, 40, 0, 4226678271, 0, 3766565279, 0, 2039759, 2, 132, 2, 41, 0, 1046437, 0, 6, 3, 0, 2, 0, 3288270847, 0, 3, 3, 0, 2, 0, 67043519, -5, 2, 0, 0, 4282384383, 0, 1056964609, -1, 3, 0, 2, 0, 67043345, -1, 2, 0, 2, 42, 2, 23, 2, 50, 2, 11, 2, 59, 2, 38, -5, 2, 0, 2, 12, -3, 3, 0, 2, 0, 2147484671, 2, 133, 0, 4190109695, 2, 52, -2, 2, 134, 0, 4244635647, 0, 27, 2, 0, 2, 8, 2, 43, 2, 0, 2, 66, 2, 17, 2, 0, 2, 42, -3, 2, 31, -2, 2, 0, 2, 45, 2, 57, 2, 44, 2, 45, 2, 135, 2, 46, 0, 8388351, -2, 2, 136, 0, 3028287487, 2, 47, 2, 138, 0, 33259519, 2, 23, 2, 7, 2, 48, -7, 2, 21, 0, 4294836223, 0, 3355443199, 0, 134152199, -2, 2, 67, -2, 3, 0, 28, 2, 32, -3, 3, 0, 3, 2, 49, 3, 0, 6, 2, 50, -81, 2, 17, 3, 0, 2, 2, 36, 3, 0, 33, 2, 25, 2, 30, 3, 0, 124, 2, 12, 3, 0, 18, 2, 38, -213, 2, 0, 2, 32, -54, 3, 0, 17, 2, 42, 2, 8, 2, 23, 2, 0, 2, 8, 2, 23, 2, 51, 2, 0, 2, 21, 2, 52, 2, 139, 2, 25, -13, 2, 0, 2, 53, -6, 3, 0, 2, -1, 2, 140, 2, 10, -1, 3, 0, 2, 0, 4294936575, 2, 0, 0, 4294934783, -2, 0, 8323099, 3, 0, 230, 2, 30, 2, 54, 2, 8, -3, 3, 0, 3, 2, 35, -271, 2, 141, 3, 0, 9, 2, 142, 2, 143, 2, 55, 3, 0, 11, 2, 7, -72, 3, 0, 3, 2, 144, 0, 1677656575, -130, 2, 26, -16, 2, 0, 2, 24, 2, 38, -16, 0, 4161266656, 0, 4071, 0, 15360, -4, 0, 28, -13, 3, 0, 2, 2, 56, 2, 0, 2, 146, 2, 147, 2, 60, 2, 0, 2, 148, 2, 149, 2, 150, 3, 0, 10, 2, 151, 2, 152, 2, 22, 3, 56, 2, 3, 153, 2, 3, 57, 2, 0, 4294954999, 2, 0, -16, 2, 0, 2, 90, 2, 0, 0, 2105343, 0, 4160749584, 0, 65534, -34, 2, 8, 2, 155, -6, 0, 4194303871, 0, 4294903771, 2, 0, 2, 58, 2, 98, -3, 2, 0, 0, 1073684479, 0, 17407, -9, 2, 17, 2, 49, 2, 0, 2, 32, -14, 2, 17, 2, 32, -6, 2, 17, 2, 12, -6, 2, 8, 0, 3225419775, -7, 2, 156, 3, 0, 6, 0, 8323103, -1, 3, 0, 2, 2, 59, -37, 2, 60, 2, 157, 2, 158, 2, 159, 2, 160, 2, 161, -105, 2, 26, -32, 3, 0, 1335, -1, 3, 0, 136, 2, 9, 3, 0, 180, 2, 24, 3, 0, 233, 2, 162, 3, 0, 18, 2, 9, -77, 3, 0, 16, 2, 9, -47, 3, 0, 154, 2, 6, 3, 0, 264, 2, 32, -22116, 3, 0, 7, 2, 25, -6130, 3, 5, 2, -1, 0, 69207040, 3, 44, 2, 3, 0, 14, 2, 61, 2, 62, -3, 0, 3168731136, 0, 4294956864, 2, 1, 2, 0, 2, 41, 3, 0, 4, 0, 4294966275, 3, 0, 4, 2, 16, 2, 63, 2, 0, 2, 34, -1, 2, 17, 2, 64, -1, 2, 0, 0, 2047, 0, 4294885376, 3, 0, 2, 0, 3145727, 0, 2617294944, 0, 4294770688, 2, 25, 2, 65, 3, 0, 2, 0, 131135, 2, 96, 0, 70256639, 0, 71303167, 0, 272, 2, 42, 2, 6, 0, 65279, 2, 0, 2, 48, -1, 2, 97, 2, 66, 0, 4278255616, 0, 4294836227, 0, 4294549473, 0, 600178175, 0, 2952806400, 0, 268632067, 0, 4294543328, 0, 57540095, 0, 1577058304, 0, 1835008, 0, 4294688736, 2, 68, 2, 67, 0, 33554435, 2, 131, 2, 68, 0, 2952790016, 0, 131075, 0, 3594373096, 0, 67094296, 2, 67, -1, 0, 4294828e3, 0, 603979263, 0, 922746880, 0, 3, 0, 4294828001, 0, 602930687, 0, 1879048192, 0, 393219, 0, 4294828016, 0, 671088639, 0, 2154840064, 0, 4227858435, 0, 4236247008, 2, 69, 2, 38, -1, 2, 4, 0, 917503, 2, 38, -1, 2, 70, 0, 537788335, 0, 4026531935, -1, 0, 1, -1, 2, 33, 2, 71, 0, 7936, -3, 2, 0, 0, 2147485695, 0, 1010761728, 0, 4292984930, 0, 16387, 2, 0, 2, 15, 2, 22, 3, 0, 10, 2, 72, 2, 0, 2, 73, 2, 74, 2, 75, 2, 0, 2, 76, 2, 0, 2, 12, -1, 2, 25, 3, 0, 2, 2, 13, 2, 4, 3, 0, 18, 2, 77, 2, 5, 3, 0, 2, 2, 78, 0, 2147745791, 3, 19, 2, 0, 122879, 2, 0, 2, 10, 0, 276824064, -2, 3, 0, 2, 2, 42, 2, 0, 0, 4294903295, 2, 0, 2, 30, 2, 8, -1, 2, 17, 2, 51, 2, 0, 2, 79, 2, 48, -1, 2, 21, 2, 0, 2, 29, -2, 0, 128, -2, 2, 28, 2, 10, 0, 8160, -1, 2, 126, 0, 4227907585, 2, 0, 2, 37, 2, 0, 2, 50, 0, 4227915776, 2, 9, 2, 6, 2, 11, -1, 0, 74440192, 3, 0, 6, -2, 3, 0, 8, 2, 13, 2, 0, 2, 80, 2, 9, 2, 0, 2, 81, 2, 82, 2, 83, -3, 2, 84, 2, 14, -3, 2, 85, 2, 86, 2, 87, 2, 0, 2, 34, -83, 3, 0, 7, 0, 817183, 2, 0, 2, 15, 2, 0, 0, 33023, 2, 21, 3, 88, 2, -17, 2, 89, 0, 524157950, 2, 4, 2, 0, 2, 90, 2, 4, 2, 0, 2, 22, 2, 28, 2, 16, 3, 0, 2, 2, 49, 2, 0, -1, 2, 17, -16, 3, 0, 206, -2, 3, 0, 692, 2, 71, -1, 2, 17, 2, 9, 3, 0, 8, 2, 91, 0, 3072, 2, 0, 0, 2147516415, 2, 9, 3, 0, 2, 2, 25, 2, 92, 2, 93, 3, 0, 2, 2, 94, 2, 0, 2, 20, 2, 95, 0, 4294965179, 0, 7, 2, 0, 2, 10, 2, 93, 2, 10, -1, 0, 1761345536, 2, 96, 0, 4294901823, 2, 38, 2, 20, 2, 97, 2, 35, 2, 98, 0, 2080440287, 2, 0, 2, 34, 2, 154, 0, 3296722943, 2, 0, 0, 1046675455, 0, 939524101, 0, 1837055, 2, 99, 2, 100, 2, 22, 2, 23, 3, 0, 3, 0, 7, 3, 0, 349, 2, 101, 2, 102, 2, 7, -264, 3, 0, 11, 2, 24, 3, 0, 2, 2, 32, -1, 0, 2700607615, 2, 103, 2, 104, 3, 0, 2, 2, 19, 2, 105, 3, 0, 10, 2, 9, 2, 17, 2, 0, 2, 46, 2, 0, 2, 31, 2, 106, -3, 2, 107, 3, 0, 3, 2, 20, -1, 3, 5, 2, 2, 108, 2, 0, 2, 8, 2, 109, -1, 2, 110, 2, 111, 2, 112, -1, 3, 0, 3, 2, 12, -2, 2, 0, 2, 29, -8, 2, 20, 2, 0, 2, 36, -1, 2, 0, 2, 65, 2, 6, 2, 30, 2, 9, 2, 0, 2, 113, -1, 3, 0, 4, 2, 9, 2, 17, 2, 114, 2, 7, 2, 0, 2, 115, 2, 0, 2, 116, 2, 117, 2, 118, 2, 0, 2, 10, 3, 0, 9, 2, 21, 2, 30, 2, 31, 2, 119, 2, 120, -2, 2, 121, 2, 122, 2, 30, 2, 21, 2, 8, -2, 2, 123, 2, 30, 3, 32, 2, -1, 2, 0, 2, 39, -2, 0, 4277075969, 2, 30, -1, 3, 20, 2, -1, 2, 33, 2, 124, 2, 0, 3, 30, 2, 2, 35, 2, 19, -3, 3, 0, 2, 2, 34, -1, 2, 0, 2, 35, 2, 0, 2, 35, 2, 0, 2, 50, 2, 96, 0, 4294934591, 2, 37, -7, 2, 0, 0, 197631, 2, 125, -1, 2, 20, 2, 43, 2, 37, 2, 17, 0, 3, 2, 17, 2, 124, 2, 21, 2, 126, 2, 127, -1, 0, 2490368, 2, 126, 2, 25, 2, 17, 2, 34, 2, 126, 2, 38, 0, 4294901904, 0, 4718591, 2, 126, 2, 35, 0, 335544350, -1, 2, 128, 0, 2147487743, 0, 1, -1, 2, 129, 2, 130, 2, 8, -1, 2, 131, 2, 68, 0, 3758161920, 0, 3, 2, 132, 0, 12582911, 0, 655360, -1, 2, 0, 2, 29, 0, 2147485568, 0, 3, 2, 0, 2, 25, 0, 176, -5, 2, 0, 2, 49, 0, 251658240, -1, 2, 0, 2, 25, 0, 16, -1, 2, 0, 0, 16779263, -2, 2, 12, -1, 2, 38, -5, 2, 0, 2, 18, -3, 3, 0, 2, 2, 54, 2, 133, 0, 2147549183, 0, 2, -2, 2, 134, 2, 36, 0, 10, 0, 4294965249, 0, 67633151, 0, 4026597376, 2, 0, 0, 536871935, 2, 17, 2, 0, 2, 42, -6, 2, 0, 0, 1, 2, 57, 2, 49, 0, 1, 2, 135, 2, 25, -3, 2, 136, 2, 36, 2, 137, 2, 138, 0, 16778239, 2, 17, 2, 7, -8, 2, 35, 0, 4294836212, 2, 10, -3, 2, 67, -2, 3, 0, 28, 2, 32, -3, 3, 0, 3, 2, 49, 3, 0, 6, 2, 50, -81, 2, 17, 3, 0, 2, 2, 36, 3, 0, 33, 2, 25, 0, 126, 3, 0, 124, 2, 12, 3, 0, 18, 2, 38, -213, 2, 9, -55, 3, 0, 17, 2, 42, 2, 8, 2, 17, 2, 0, 2, 8, 2, 17, 2, 58, 2, 0, 2, 25, 2, 50, 2, 139, 2, 25, -13, 2, 0, 2, 71, -6, 3, 0, 2, -1, 2, 140, 2, 10, -1, 3, 0, 2, 0, 67583, -1, 2, 105, -2, 0, 8126475, 3, 0, 230, 2, 30, 2, 54, 2, 8, -3, 3, 0, 3, 2, 35, -271, 2, 141, 3, 0, 9, 2, 142, 2, 143, 2, 55, 3, 0, 11, 2, 7, -72, 3, 0, 3, 2, 144, 2, 145, -187, 3, 0, 2, 2, 56, 2, 0, 2, 146, 2, 147, 2, 60, 2, 0, 2, 148, 2, 149, 2, 150, 3, 0, 10, 2, 151, 2, 152, 2, 22, 3, 56, 2, 3, 153, 2, 3, 57, 2, 2, 154, -57, 2, 8, 2, 155, -7, 2, 17, 2, 0, 2, 58, -4, 2, 0, 0, 1065361407, 0, 16384, -9, 2, 17, 2, 58, 2, 0, 2, 18, -14, 2, 17, 2, 18, -6, 2, 17, 0, 81919, -6, 2, 8, 0, 3223273399, -7, 2, 156, 3, 0, 6, 2, 124, -1, 3, 0, 2, 0, 2063, -37, 2, 60, 2, 157, 2, 158, 2, 159, 2, 160, 2, 161, -138, 3, 0, 1335, -1, 3, 0, 136, 2, 9, 3, 0, 180, 2, 24, 3, 0, 233, 2, 162, 3, 0, 18, 2, 9, -77, 3, 0, 16, 2, 9, -47, 3, 0, 154, 2, 6, 3, 0, 264, 2, 32, -28252], [4294967295, 4294967291, 4092460543, 4294828031, 4294967294, 134217726, 4294903807, 268435455, 2147483647, 1073741823, 1048575, 3892314111, 134217727, 1061158911, 536805376, 4294910143, 4294901759, 4294901760, 4095, 262143, 536870911, 8388607, 4160749567, 4294902783, 4294918143, 65535, 67043328, 2281701374, 4294967264, 2097151, 4194303, 255, 67108863, 4294967039, 511, 524287, 131071, 63, 127, 3238002687, 4294549487, 4290772991, 33554431, 4294901888, 4286578687, 67043329, 4294770687, 67043583, 1023, 32767, 15, 2047999, 67043343, 67051519, 2147483648, 4294902e3, 4292870143, 4294966783, 16383, 67047423, 4294967279, 262083, 20511, 41943039, 493567, 4294959104, 603979775, 65536, 602799615, 805044223, 4294965206, 8191, 1031749119, 4294917631, 2134769663, 4286578493, 4282253311, 4294942719, 33540095, 4294905855, 2868854591, 1608515583, 265232348, 534519807, 2147614720, 1060109444, 4093640016, 17376, 2139062143, 224, 4169138175, 4294909951, 4286578688, 4294967292, 4294965759, 4294836224, 4294966272, 4294967280, 32768, 8289918, 4294934399, 4294901775, 4294965375, 1602223615, 4294967259, 4294443008, 268369920, 4292804608, 4294967232, 486341884, 4294963199, 3087007615, 1073692671, 4128527, 4279238655, 4294902015, 4160684047, 4290246655, 469499899, 4294967231, 134086655, 4294966591, 2445279231, 3670015, 31, 252, 4294967288, 16777215, 4294705151, 3221208447, 4294902271, 4294549472, 4294921215, 4285526655, 4294966527, 4294705152, 4294966143, 64, 4294966719, 3774873592, 4194303999, 1877934080, 262151, 2555904, 536807423, 67043839, 3758096383, 3959414372, 3755993023, 2080374783, 4294835295, 4294967103, 4160749565, 4294934527, 4087, 2016, 2147446655, 184024726, 2862017156, 1593309078, 268434431, 268434414, 4294901761]); + J22 = (e7) => (Dt8[(e7 >>> 5) + 0] >>> e7 & 31 & 1) !== 0; + Ct10 = (e7) => (Dt8[(e7 >>> 5) + 34816] >>> e7 & 31 & 1) !== 0; + S4 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1032, 0, 0, 2056, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8192, 0, 3, 0, 0, 8192, 0, 0, 0, 256, 0, 33024, 0, 0, 242, 242, 114, 114, 114, 114, 114, 114, 594, 594, 0, 0, 16384, 0, 0, 0, 0, 67, 67, 67, 67, 67, 67, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 0, 1, 0, 0, 4099, 0, 71, 71, 71, 71, 71, 71, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 16384, 0, 0, 0, 0]; + _22 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0]; + Et10 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0]; + wt10 = ["SingleLine", "MultiLine", "HTMLOpen", "HTMLClose", "HashbangComment"]; + K22 = { 0: "Unexpected token", 30: "Unexpected token: '%0'", 1: "Octal escape sequences are not allowed in strict mode", 2: "Octal escape sequences are not allowed in template strings", 3: "\\8 and \\9 are not allowed in template strings", 4: "Private identifier #%0 is not defined", 5: "Illegal Unicode escape sequence", 6: "Invalid code point %0", 7: "Invalid hexadecimal escape sequence", 9: "Octal literals are not allowed in strict mode", 8: "Decimal integer literals with a leading zero are forbidden in strict mode", 10: "Expected number in radix %0", 151: "Invalid left-hand side assignment to a destructible right-hand side", 11: "Non-number found after exponent indicator", 12: "Invalid BigIntLiteral", 13: "No identifiers allowed directly after numeric literal", 14: "Escapes \\8 or \\9 are not syntactically valid escapes", 15: "Escapes \\8 or \\9 are not allowed in strict mode", 16: "Unterminated string literal", 17: "Unterminated template literal", 18: "Multiline comment was not closed properly", 19: "The identifier contained dynamic unicode escape that was not closed", 20: "Illegal character '%0'", 21: "Missing hexadecimal digits", 22: "Invalid implicit octal", 23: "Invalid line break in string literal", 24: "Only unicode escapes are legal in identifier names", 25: "Expected '%0'", 26: "Invalid left-hand side in assignment", 27: "Invalid left-hand side in async arrow", 28: 'Calls to super must be in the "constructor" method of a class expression or class declaration that has a superclass', 29: "Member access on super must be in a method", 31: "Await expression not allowed in formal parameter", 32: "Yield expression not allowed in formal parameter", 95: "Unexpected token: 'escaped keyword'", 33: "Unary expressions as the left operand of an exponentiation expression must be disambiguated with parentheses", 123: "Async functions can only be declared at the top level or inside a block", 34: "Unterminated regular expression", 35: "Unexpected regular expression flag", 36: "Duplicate regular expression flag '%0'", 37: "%0 functions must have exactly %1 argument%2", 38: "Setter function argument must not be a rest parameter", 39: "%0 declaration must have a name in this context", 40: "Function name may not contain any reserved words or be eval or arguments in strict mode", 41: "The rest operator is missing an argument", 42: "A getter cannot be a generator", 43: "A setter cannot be a generator", 44: "A computed property name must be followed by a colon or paren", 134: "Object literal keys that are strings or numbers must be a method or have a colon", 46: "Found `* async x(){}` but this should be `async * x(){}`", 45: "Getters and setters can not be generators", 47: "'%0' can not be generator method", 48: "No line break is allowed after '=>'", 49: "The left-hand side of the arrow can only be destructed through assignment", 50: "The binding declaration is not destructible", 51: "Async arrow can not be followed by new expression", 52: "Classes may not have a static property named 'prototype'", 53: "Class constructor may not be a %0", 54: "Duplicate constructor method in class", 55: "Invalid increment/decrement operand", 56: "Invalid use of `new` keyword on an increment/decrement expression", 57: "`=>` is an invalid assignment target", 58: "Rest element may not have a trailing comma", 59: "Missing initializer in %0 declaration", 60: "'for-%0' loop head declarations can not have an initializer", 61: "Invalid left-hand side in for-%0 loop: Must have a single binding", 62: "Invalid shorthand property initializer", 63: "Property name __proto__ appears more than once in object literal", 64: "Let is disallowed as a lexically bound name", 65: "Invalid use of '%0' inside new expression", 66: "Illegal 'use strict' directive in function with non-simple parameter list", 67: 'Identifier "let" disallowed as left-hand side expression in strict mode', 68: "Illegal continue statement", 69: "Illegal break statement", 70: "Cannot have `let[...]` as a var name in strict mode", 71: "Invalid destructuring assignment target", 72: "Rest parameter may not have a default initializer", 73: "The rest argument must the be last parameter", 74: "Invalid rest argument", 76: "In strict mode code, functions can only be declared at top level or inside a block", 77: "In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement", 78: "Without web compatibility enabled functions can not be declared at top level, inside a block, or as the body of an if statement", 79: "Class declaration can't appear in single-statement context", 80: "Invalid left-hand side in for-%0", 81: "Invalid assignment in for-%0", 82: "for await (... of ...) is only valid in async functions and async generators", 83: "The first token after the template expression should be a continuation of the template", 85: "`let` declaration not allowed here and `let` cannot be a regular var name in strict mode", 84: "`let \n [` is a restricted production at the start of a statement", 86: "Catch clause requires exactly one parameter, not more (and no trailing comma)", 87: "Catch clause parameter does not support default values", 88: "Missing catch or finally after try", 89: "More than one default clause in switch statement", 90: "Illegal newline after throw", 91: "Strict mode code may not include a with statement", 92: "Illegal return statement", 93: "The left hand side of the for-header binding declaration is not destructible", 94: "new.target only allowed within functions or static blocks", 96: "'#' not followed by identifier", 102: "Invalid keyword", 101: "Can not use 'let' as a class name", 100: "'A lexical declaration can't define a 'let' binding", 99: "Can not use `let` as variable name in strict mode", 97: "'%0' may not be used as an identifier in this context", 98: "Await is only valid in async functions", 103: "The %0 keyword can only be used with the module goal", 104: "Unicode codepoint must not be greater than 0x10FFFF", 105: "%0 source must be string", 106: "Only a identifier or string can be used to indicate alias", 107: "Only '*' or '{...}' can be imported after default", 108: "Trailing decorator may be followed by method", 109: "Decorators can't be used with a constructor", 110: "Can not use `await` as identifier in module or async func", 111: "Can not use `await` as identifier in module", 112: "HTML comments are only allowed with web compatibility (Annex B)", 113: "The identifier 'let' must not be in expression position in strict mode", 114: "Cannot assign to `eval` and `arguments` in strict mode", 115: "The left-hand side of a for-of loop may not start with 'let'", 116: "Block body arrows can not be immediately invoked without a group", 117: "Block body arrows can not be immediately accessed without a group", 118: "Unexpected strict mode reserved word", 119: "Unexpected eval or arguments in strict mode", 120: "Decorators must not be followed by a semicolon", 121: "Calling delete on expression not allowed in strict mode", 122: "Pattern can not have a tail", 124: "Can not have a `yield` expression on the left side of a ternary", 125: "An arrow function can not have a postfix update operator", 126: "Invalid object literal key character after generator star", 127: "Private fields can not be deleted", 129: "Classes may not have a field called constructor", 128: "Classes may not have a private element named constructor", 130: "A class field initializer or static block may not contain arguments", 131: "Generators can only be declared at the top level or inside a block", 132: "Async methods are a restricted production and cannot have a newline following it", 133: "Unexpected character after object literal property name", 135: "Invalid key token", 136: "Label '%0' has already been declared", 137: "continue statement must be nested within an iteration statement", 138: "Undefined label '%0'", 139: "Trailing comma is disallowed inside import(...) arguments", 140: "Invalid binding in JSON import", 141: "import() requires exactly one argument", 142: "Cannot use new with import(...)", 143: "... is not allowed in import()", 144: "Expected '=>'", 145: "Duplicate binding '%0'", 146: "Duplicate private identifier #%0", 147: "Cannot export a duplicate name '%0'", 150: "Duplicate %0 for-binding", 148: "Exported binding '%0' needs to refer to a top-level declared variable", 149: "Unexpected private field", 153: "Numeric separators are not allowed at the end of numeric literals", 152: "Only one underscore is allowed as numeric separator", 154: "JSX value should be either an expression or a quoted JSX text", 155: "Expected corresponding JSX closing tag for %0", 156: "Adjacent JSX elements must be wrapped in an enclosing tag", 157: "JSX attributes must only be assigned a non-empty 'expression'", 158: "'%0' has already been declared", 159: "'%0' shadowed a catch clause binding", 160: "Dot property must be an identifier", 161: "Encountered invalid input after spread/rest argument", 162: "Catch without try", 163: "Finally without try", 164: "Expected corresponding closing tag for JSX fragment", 165: "Coalescing and logical operators used together in the same expression must be disambiguated with parentheses", 166: "Invalid tagged template on optional chain", 167: "Invalid optional chain from super property", 168: "Invalid optional chain from new expression", 169: 'Cannot use "import.meta" outside a module', 170: "Leading decorators must be attached to a class declaration", 171: "An export name cannot include a lone surrogate", 172: "A string literal cannot be used as an exported binding without `from`", 173: "Private fields can't be accessed on super", 174: "The only valid meta property for import is 'import.meta'", 175: "'import.meta' must not contain escaped characters", 176: 'cannot use "await" as identifier inside an async function', 177: 'cannot use "await" in static blocks' }; + q9 = class extends SyntaxError { + start; + end; + range; + loc; + description; + constructor(t26, n5, u, ...o5) { + let i5 = K22[u].replace(/%(\d+)/g, (f7, c7) => o5[c7]), l5 = "[" + t26.line + ":" + t26.column + "-" + n5.line + ":" + n5.column + "]: " + i5; + super(l5), this.start = t26.index, this.end = n5.index, this.range = [t26.index, n5.index], this.loc = { start: { line: t26.line, column: t26.column }, end: { line: n5.line, column: n5.column } }, this.description = i5; + } + }; + B5 = ["end of source", "identifier", "number", "string", "regular expression", "false", "true", "null", "template continuation", "template tail", "=>", "(", "{", ".", "...", "}", ")", ";", ",", "[", "]", ":", "?", "'", '"', "++", "--", "=", "<<=", ">>=", ">>>=", "**=", "+=", "-=", "*=", "/=", "%=", "^=", "|=", "&=", "||=", "&&=", "??=", "typeof", "delete", "void", "!", "~", "+", "-", "in", "instanceof", "*", "%", "/", "**", "&&", "||", "===", "!==", "==", "!=", "<=", ">=", "<", ">", "<<", ">>", ">>>", "&", "|", "^", "var", "let", "const", "break", "case", "catch", "class", "continue", "debugger", "default", "do", "else", "export", "extends", "finally", "for", "function", "if", "import", "new", "return", "super", "switch", "this", "throw", "try", "while", "with", "implements", "interface", "package", "private", "protected", "public", "static", "yield", "as", "async", "await", "constructor", "get", "set", "accessor", "from", "of", "enum", "eval", "arguments", "escaped keyword", "escaped future reserved keyword", "reserved if strict", "#", "BigIntLiteral", "??", "?.", "WhiteSpace", "Illegal", "LineTerminator", "PrivateField", "Template", "@", "target", "meta", "LineFeed", "Escaped", "JSXText"]; + Bt8 = { this: 86111, function: 86104, if: 20569, return: 20572, var: 86088, else: 20563, for: 20567, new: 86107, in: 8673330, typeof: 16863275, while: 20578, case: 20556, break: 20555, try: 20577, catch: 20557, delete: 16863276, throw: 86112, switch: 86110, continue: 20559, default: 20561, instanceof: 8411187, do: 20562, void: 16863277, finally: 20566, async: 209005, await: 209006, class: 86094, const: 86090, constructor: 12399, debugger: 20560, export: 20564, extends: 20565, false: 86021, from: 209011, get: 209008, implements: 36964, import: 86106, interface: 36965, let: 241737, null: 86023, of: 471156, package: 36966, private: 36967, protected: 36968, public: 36969, set: 209009, static: 36970, super: 86109, true: 86022, with: 20579, yield: 241771, enum: 86133, eval: 537079926, as: 77932, arguments: 537079927, target: 209029, meta: 209030, accessor: 12402 }; + (function(e7) { + e7[e7.Empty = 0] = "Empty", e7[e7.Escape = 1] = "Escape", e7[e7.Class = 2] = "Class"; + })(Z7 || (Z7 = {})); + (function(e7) { + e7[e7.Empty = 0] = "Empty", e7[e7.IgnoreCase = 1] = "IgnoreCase", e7[e7.Global = 2] = "Global", e7[e7.Multiline = 4] = "Multiline", e7[e7.Unicode = 16] = "Unicode", e7[e7.Sticky = 8] = "Sticky", e7[e7.DotAll = 32] = "DotAll", e7[e7.Indices = 64] = "Indices", e7[e7.UnicodeSets = 128] = "UnicodeSets"; + })(P6 || (P6 = {})); + en7 = [128, 128, 128, 128, 128, 128, 128, 128, 128, 127, 135, 127, 127, 129, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 127, 16842798, 134283267, 130, 208897, 8391477, 8390213, 134283267, 67174411, 16, 8391476, 25233968, 18, 25233969, 67108877, 8457014, 134283266, 134283266, 134283266, 134283266, 134283266, 134283266, 134283266, 134283266, 134283266, 134283266, 21, 1074790417, 8456256, 1077936155, 8390721, 22, 132, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 69271571, 136, 20, 8389959, 208897, 131, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 208897, 4096, 208897, 208897, 4096, 208897, 4096, 208897, 4096, 208897, 4096, 4096, 4096, 208897, 4096, 4096, 208897, 4096, 4096, 2162700, 8389702, 1074790415, 16842799, 128]; + Je9 = class { + parser; + parent; + refs = /* @__PURE__ */ Object.create(null); + privateIdentifiers = /* @__PURE__ */ new Map(); + constructor(t26, n5) { + this.parser = t26, this.parent = n5; + } + addPrivateIdentifier(t26, n5) { + let { privateIdentifiers: u } = this, o5 = n5 & 800; + o5 & 768 || (o5 |= 768); + let i5 = u.get(t26); + this.hasPrivateIdentifier(t26) && ((i5 & 32) !== (o5 & 32) || i5 & o5 & 768) && this.parser.report(146, t26), u.set(t26, this.hasPrivateIdentifier(t26) ? i5 | o5 : o5); + } + addPrivateIdentifierRef(t26) { + var n5; + (n5 = this.refs)[t26] ?? (n5[t26] = []), this.refs[t26].push(this.parser.tokenStart); + } + isPrivateIdentifierDefined(t26) { + return this.hasPrivateIdentifier(t26) || !!this.parent?.isPrivateIdentifierDefined(t26); + } + validatePrivateIdentifierRefs() { + for (let t26 in this.refs) if (!this.isPrivateIdentifierDefined(t26)) { + let { index: n5, line: u, column: o5 } = this.refs[t26][0]; + throw new q9({ index: n5, line: u, column: o5 }, { index: n5 + t26.length, line: u, column: o5 + t26.length }, 4, t26); + } + } + hasPrivateIdentifier(t26) { + return this.privateIdentifiers.has(t26); + } + }; + _e9 = class e6 { + parser; + type; + parent; + scopeError; + variableBindings = /* @__PURE__ */ new Map(); + constructor(t26, n5 = 2, u) { + this.parser = t26, this.type = n5, this.parent = u; + } + createChildScope(t26) { + return new e6(this.parser, t26, this); + } + addVarOrBlock(t26, n5, u, o5) { + u & 4 ? this.addVarName(t26, n5, u) : this.addBlockName(t26, n5, u, o5), o5 & 64 && this.parser.declareUnboundVariable(n5); + } + addVarName(t26, n5, u) { + let { parser: o5 } = this, i5 = this; + for (; i5 && (i5.type & 128) === 0; ) { + let { variableBindings: l5 } = i5, f7 = l5.get(n5); + f7 && f7 & 248 && (o5.options.webcompat && (t26 & 1) === 0 && (u & 128 && f7 & 68 || f7 & 128 && u & 68) || o5.report(145, n5)), i5 === this && f7 && f7 & 1 && u & 1 && i5.recordScopeError(145, n5), f7 && (f7 & 256 || f7 & 512 && !o5.options.webcompat) && o5.report(145, n5), i5.variableBindings.set(n5, u), i5 = i5.parent; + } + } + hasVariable(t26) { + return this.variableBindings.has(t26); + } + addBlockName(t26, n5, u, o5) { + let { parser: i5 } = this, l5 = this.variableBindings.get(n5); + l5 && (l5 & 2) === 0 && (u & 1 ? this.recordScopeError(145, n5) : i5.options.webcompat && (t26 & 1) === 0 && o5 & 2 && l5 === 64 && u === 64 || i5.report(145, n5)), this.type & 64 && this.parent?.hasVariable(n5) && (this.parent.variableBindings.get(n5) & 2) === 0 && i5.report(145, n5), this.type & 512 && l5 && (l5 & 2) === 0 && u & 1 && this.recordScopeError(145, n5), this.type & 32 && this.parent.variableBindings.get(n5) & 768 && i5.report(159, n5), this.variableBindings.set(n5, u); + } + recordScopeError(t26, ...n5) { + this.scopeError = { type: t26, params: n5, start: this.parser.tokenStart, end: this.parser.currentLocation }; + } + reportScopeError() { + let { scopeError: t26 } = this; + if (t26) throw new q9(t26.start, t26.end, t26.type, ...t26.params); + } + }; + Xe9 = class { + source; + lastOnToken = null; + options; + token = 1048576; + flags = 0; + index = 0; + line = 1; + column = 0; + startIndex = 0; + end = 0; + tokenIndex = 0; + startColumn = 0; + tokenColumn = 0; + tokenLine = 1; + startLine = 1; + tokenValue = ""; + tokenRaw = ""; + tokenRegExp = void 0; + currentChar = 0; + exportedNames = /* @__PURE__ */ new Set(); + exportedBindings = /* @__PURE__ */ new Set(); + assignable = 1; + destructible = 0; + leadingDecorators = { decorators: [] }; + constructor(t26, n5 = {}) { + this.source = t26, this.end = t26.length, this.currentChar = t26.charCodeAt(0), this.options = ln7(n5), Array.isArray(this.options.onComment) && (this.options.onComment = fn7(this.options.onComment, this.options)), Array.isArray(this.options.onToken) && (this.options.onToken = cn7(this.options.onToken, this.options)); + } + getToken() { + return this.token; + } + setToken(t26, n5 = false) { + this.token = t26; + let { onToken: u } = this.options; + if (u) if (t26 !== 1048576) { + let o5 = { start: { line: this.tokenLine, column: this.tokenColumn }, end: { line: this.line, column: this.column } }; + !n5 && this.lastOnToken && u(...this.lastOnToken), this.lastOnToken = [j22(t26), this.tokenIndex, this.index, o5]; + } else this.lastOnToken && (u(...this.lastOnToken), this.lastOnToken = null); + return t26; + } + get tokenStart() { + return { index: this.tokenIndex, line: this.tokenLine, column: this.tokenColumn }; + } + get currentLocation() { + return { index: this.index, line: this.line, column: this.column }; + } + finishNode(t26, n5, u) { + if (this.options.ranges) { + t26.start = n5.index; + let o5 = u ? u.index : this.startIndex; + t26.end = o5, t26.range = [n5.index, o5]; + } + return this.options.loc && (t26.loc = { start: { line: n5.line, column: n5.column }, end: u ? { line: u.line, column: u.column } : { line: this.startLine, column: this.startColumn } }, this.options.source && (t26.loc.source = this.options.source)), t26; + } + addBindingToExports(t26) { + this.exportedBindings.add(t26); + } + declareUnboundVariable(t26) { + let { exportedNames: n5 } = this; + n5.has(t26) && this.report(147, t26), n5.add(t26); + } + report(t26, ...n5) { + throw new q9(this.tokenStart, this.currentLocation, t26, ...n5); + } + createScopeIfLexical(t26, n5) { + if (this.options.lexical) return this.createScope(t26, n5); + } + createScope(t26, n5) { + return new _e9(this, t26, n5); + } + createPrivateScopeIfLexical(t26) { + if (this.options.lexical) return new Je9(this, t26); + } + cloneIdentifier(t26) { + return this.cloneLocationInformation({ ...t26 }, t26); + } + cloneStringLiteral(t26) { + return this.cloneLocationInformation({ ...t26 }, t26); + } + cloneLocationInformation(t26, n5) { + return this.options.ranges && (t26.range = [...n5.range]), this.options.loc && (t26.loc = { ...n5.loc, start: { ...n5.loc.start }, end: { ...n5.loc.end } }), t26; + } + }; + t24 = ku2; + yu3 = Array.prototype.findLast ?? function(e7) { + for (let t26 = this.length - 1; t26 >= 0; t26--) { + let n5 = this[t26]; + if (e7(n5, t26, this)) return n5; + } + }; + Au2 = Q9("findLast", function() { + if (Array.isArray(this)) return yu3; + }); + u2 = Au2; + bu3 = Q9("at", function() { + if (Array.isArray(this) || typeof this == "string") return Tu3; + }); + i2 = bu3; + le7 = Du3; + Cu2 = le7(["Block", "CommentBlock", "MultiLine"]); + fe8 = Cu2; + Eu3 = le7(["Line", "CommentLine", "SingleLine", "HashbangComment", "HTMLOpen", "HTMLClose", "Hashbang", "InterpreterDirective"]); + o22 = Eu3; + lt7 = /* @__PURE__ */ new WeakMap(); + l22 = wu2; + ft8 = /* @__PURE__ */ new WeakMap(); + ct8 = Bu2; + f22 = Fu3; + c22 = Nu2; + ye9 = null; + Lu2 = 10; + for (let e7 = 0; e7 <= Lu2; e7++) Ae8(); + s2 = Iu3; + s = [["decorators", "key", "typeAnnotation", "value"], [], ["elementType"], ["expression"], ["expression", "typeAnnotation"], ["left", "right"], ["argument"], ["directives", "body"], ["label"], ["callee", "typeArguments", "arguments"], ["body"], ["decorators", "id", "typeParameters", "superClass", "superTypeArguments", "mixins", "implements", "body", "superTypeParameters"], ["id", "typeParameters"], ["decorators", "key", "typeParameters", "params", "returnType", "body"], ["decorators", "variance", "key", "typeAnnotation", "value"], ["name", "typeAnnotation"], ["test", "consequent", "alternate"], ["checkType", "extendsType", "trueType", "falseType"], ["value"], ["id", "body"], ["declaration", "specifiers", "source", "attributes"], ["id"], ["id", "typeParameters", "extends", "body"], ["typeAnnotation"], ["id", "typeParameters", "right"], ["body", "test"], ["members"], ["id", "init"], ["exported"], ["left", "right", "body"], ["id", "typeParameters", "params", "predicate", "returnType", "body"], ["id", "params", "body", "typeParameters", "returnType"], ["key", "value"], ["local"], ["objectType", "indexType"], ["typeParameter"], ["types"], ["node"], ["object", "property"], ["argument", "cases"], ["pattern", "body", "guard"], ["literal"], ["decorators", "key", "value"], ["expressions"], ["qualification", "id"], ["decorators", "key", "typeAnnotation"], ["typeParameters", "params", "returnType"], ["expression", "typeArguments"], ["params"], ["parameterName", "typeAnnotation"]]; + d22 = { AccessorProperty: s[0], AnyTypeAnnotation: s[1], ArgumentPlaceholder: s[1], ArrayExpression: ["elements"], ArrayPattern: ["elements", "typeAnnotation", "decorators"], ArrayTypeAnnotation: s[2], ArrowFunctionExpression: ["typeParameters", "params", "predicate", "returnType", "body"], AsConstExpression: s[3], AsExpression: s[4], AssignmentExpression: s[5], AssignmentPattern: ["left", "right", "decorators", "typeAnnotation"], AwaitExpression: s[6], BigIntLiteral: s[1], BigIntLiteralTypeAnnotation: s[1], BigIntTypeAnnotation: s[1], BinaryExpression: s[5], BindExpression: ["object", "callee"], BlockStatement: s[7], BooleanLiteral: s[1], BooleanLiteralTypeAnnotation: s[1], BooleanTypeAnnotation: s[1], BreakStatement: s[8], CallExpression: s[9], CatchClause: ["param", "body"], ChainExpression: s[3], ClassAccessorProperty: s[0], ClassBody: s[10], ClassDeclaration: s[11], ClassExpression: s[11], ClassImplements: s[12], ClassMethod: s[13], ClassPrivateMethod: s[13], ClassPrivateProperty: s[14], ClassProperty: s[14], ComponentDeclaration: ["id", "params", "body", "typeParameters", "rendersType"], ComponentParameter: ["name", "local"], ComponentTypeAnnotation: ["params", "rest", "typeParameters", "rendersType"], ComponentTypeParameter: s[15], ConditionalExpression: s[16], ConditionalTypeAnnotation: s[17], ContinueStatement: s[8], DebuggerStatement: s[1], DeclareClass: ["id", "typeParameters", "extends", "mixins", "implements", "body"], DeclareComponent: ["id", "params", "rest", "typeParameters", "rendersType"], DeclaredPredicate: s[18], DeclareEnum: s[19], DeclareExportAllDeclaration: ["source", "attributes"], DeclareExportDeclaration: s[20], DeclareFunction: ["id", "predicate"], DeclareHook: s[21], DeclareInterface: s[22], DeclareModule: s[19], DeclareModuleExports: s[23], DeclareNamespace: s[19], DeclareOpaqueType: ["id", "typeParameters", "supertype", "lowerBound", "upperBound"], DeclareTypeAlias: s[24], DeclareVariable: s[21], Decorator: s[3], Directive: s[18], DirectiveLiteral: s[1], DoExpression: s[10], DoWhileStatement: s[25], EmptyStatement: s[1], EmptyTypeAnnotation: s[1], EnumBigIntBody: s[26], EnumBigIntMember: s[27], EnumBooleanBody: s[26], EnumBooleanMember: s[27], EnumDeclaration: s[19], EnumDefaultedMember: s[21], EnumNumberBody: s[26], EnumNumberMember: s[27], EnumStringBody: s[26], EnumStringMember: s[27], EnumSymbolBody: s[26], ExistsTypeAnnotation: s[1], ExperimentalRestProperty: s[6], ExperimentalSpreadProperty: s[6], ExportAllDeclaration: ["source", "attributes", "exported"], ExportDefaultDeclaration: ["declaration"], ExportDefaultSpecifier: s[28], ExportNamedDeclaration: s[20], ExportNamespaceSpecifier: s[28], ExportSpecifier: ["local", "exported"], ExpressionStatement: s[3], File: ["program"], ForInStatement: s[29], ForOfStatement: s[29], ForStatement: ["init", "test", "update", "body"], FunctionDeclaration: s[30], FunctionExpression: s[30], FunctionTypeAnnotation: ["typeParameters", "this", "params", "rest", "returnType"], FunctionTypeParam: s[15], GenericTypeAnnotation: s[12], HookDeclaration: s[31], HookTypeAnnotation: ["params", "returnType", "rest", "typeParameters"], Identifier: ["typeAnnotation", "decorators"], IfStatement: s[16], ImportAttribute: s[32], ImportDeclaration: ["specifiers", "source", "attributes"], ImportDefaultSpecifier: s[33], ImportExpression: ["source", "options"], ImportNamespaceSpecifier: s[33], ImportSpecifier: ["imported", "local"], IndexedAccessType: s[34], InferredPredicate: s[1], InferTypeAnnotation: s[35], InterfaceDeclaration: s[22], InterfaceExtends: s[12], InterfaceTypeAnnotation: ["extends", "body"], InterpreterDirective: s[1], IntersectionTypeAnnotation: s[36], JsExpressionRoot: s[37], JsonRoot: s[37], JSXAttribute: ["name", "value"], JSXClosingElement: ["name"], JSXClosingFragment: s[1], JSXElement: ["openingElement", "children", "closingElement"], JSXEmptyExpression: s[1], JSXExpressionContainer: s[3], JSXFragment: ["openingFragment", "children", "closingFragment"], JSXIdentifier: s[1], JSXMemberExpression: s[38], JSXNamespacedName: ["namespace", "name"], JSXOpeningElement: ["name", "typeArguments", "attributes"], JSXOpeningFragment: s[1], JSXSpreadAttribute: s[6], JSXSpreadChild: s[3], JSXText: s[1], KeyofTypeAnnotation: s[6], LabeledStatement: ["label", "body"], Literal: s[1], LogicalExpression: s[5], MatchArrayPattern: ["elements", "rest"], MatchAsPattern: ["pattern", "target"], MatchBindingPattern: s[21], MatchExpression: s[39], MatchExpressionCase: s[40], MatchIdentifierPattern: s[21], MatchLiteralPattern: s[41], MatchMemberPattern: ["base", "property"], MatchObjectPattern: ["properties", "rest"], MatchObjectPatternProperty: ["key", "pattern"], MatchOrPattern: ["patterns"], MatchRestPattern: s[6], MatchStatement: s[39], MatchStatementCase: s[40], MatchUnaryPattern: s[6], MatchWildcardPattern: s[1], MemberExpression: s[38], MetaProperty: ["meta", "property"], MethodDefinition: s[42], MixedTypeAnnotation: s[1], ModuleExpression: s[10], NeverTypeAnnotation: s[1], NewExpression: s[9], NGChainedExpression: s[43], NGEmptyExpression: s[1], NGMicrosyntax: s[10], NGMicrosyntaxAs: ["key", "alias"], NGMicrosyntaxExpression: ["expression", "alias"], NGMicrosyntaxKey: s[1], NGMicrosyntaxKeyedExpression: ["key", "expression"], NGMicrosyntaxLet: s[32], NGPipeExpression: ["left", "right", "arguments"], NGRoot: s[37], NullableTypeAnnotation: s[23], NullLiteral: s[1], NullLiteralTypeAnnotation: s[1], NumberLiteralTypeAnnotation: s[1], NumberTypeAnnotation: s[1], NumericLiteral: s[1], ObjectExpression: ["properties"], ObjectMethod: s[13], ObjectPattern: ["decorators", "properties", "typeAnnotation"], ObjectProperty: s[42], ObjectTypeAnnotation: ["properties", "indexers", "callProperties", "internalSlots"], ObjectTypeCallProperty: s[18], ObjectTypeIndexer: ["variance", "id", "key", "value"], ObjectTypeInternalSlot: ["id", "value"], ObjectTypeMappedTypeProperty: ["keyTparam", "propType", "sourceType", "variance"], ObjectTypeProperty: ["key", "value", "variance"], ObjectTypeSpreadProperty: s[6], OpaqueType: ["id", "typeParameters", "supertype", "impltype", "lowerBound", "upperBound"], OptionalCallExpression: s[9], OptionalIndexedAccessType: s[34], OptionalMemberExpression: s[38], ParenthesizedExpression: s[3], PipelineBareFunction: ["callee"], PipelinePrimaryTopicReference: s[1], PipelineTopicExpression: s[3], Placeholder: s[1], PrivateIdentifier: s[1], PrivateName: s[21], Program: s[7], Property: s[32], PropertyDefinition: s[14], QualifiedTypeIdentifier: s[44], QualifiedTypeofIdentifier: s[44], RegExpLiteral: s[1], RestElement: ["argument", "typeAnnotation", "decorators"], ReturnStatement: s[6], SatisfiesExpression: s[4], SequenceExpression: s[43], SpreadElement: s[6], StaticBlock: s[10], StringLiteral: s[1], StringLiteralTypeAnnotation: s[1], StringTypeAnnotation: s[1], Super: s[1], SwitchCase: ["test", "consequent"], SwitchStatement: ["discriminant", "cases"], SymbolTypeAnnotation: s[1], TaggedTemplateExpression: ["tag", "typeArguments", "quasi"], TemplateElement: s[1], TemplateLiteral: ["quasis", "expressions"], ThisExpression: s[1], ThisTypeAnnotation: s[1], ThrowStatement: s[6], TopicReference: s[1], TryStatement: ["block", "handler", "finalizer"], TSAbstractAccessorProperty: s[45], TSAbstractKeyword: s[1], TSAbstractMethodDefinition: s[32], TSAbstractPropertyDefinition: s[45], TSAnyKeyword: s[1], TSArrayType: s[2], TSAsExpression: s[4], TSAsyncKeyword: s[1], TSBigIntKeyword: s[1], TSBooleanKeyword: s[1], TSCallSignatureDeclaration: s[46], TSClassImplements: s[47], TSConditionalType: s[17], TSConstructorType: s[46], TSConstructSignatureDeclaration: s[46], TSDeclareFunction: s[31], TSDeclareKeyword: s[1], TSDeclareMethod: ["decorators", "key", "typeParameters", "params", "returnType"], TSEmptyBodyFunctionExpression: ["id", "typeParameters", "params", "returnType"], TSEnumBody: s[26], TSEnumDeclaration: s[19], TSEnumMember: ["id", "initializer"], TSExportAssignment: s[3], TSExportKeyword: s[1], TSExternalModuleReference: s[3], TSFunctionType: s[46], TSImportEqualsDeclaration: ["id", "moduleReference"], TSImportType: ["options", "qualifier", "typeArguments", "source"], TSIndexedAccessType: s[34], TSIndexSignature: ["parameters", "typeAnnotation"], TSInferType: s[35], TSInstantiationExpression: s[47], TSInterfaceBody: s[10], TSInterfaceDeclaration: s[22], TSInterfaceHeritage: s[47], TSIntersectionType: s[36], TSIntrinsicKeyword: s[1], TSJSDocAllType: s[1], TSJSDocNonNullableType: s[23], TSJSDocNullableType: s[23], TSJSDocUnknownType: s[1], TSLiteralType: s[41], TSMappedType: ["key", "constraint", "nameType", "typeAnnotation"], TSMethodSignature: ["key", "typeParameters", "params", "returnType"], TSModuleBlock: s[10], TSModuleDeclaration: s[19], TSNamedTupleMember: ["label", "elementType"], TSNamespaceExportDeclaration: s[21], TSNeverKeyword: s[1], TSNonNullExpression: s[3], TSNullKeyword: s[1], TSNumberKeyword: s[1], TSObjectKeyword: s[1], TSOptionalType: s[23], TSParameterProperty: ["parameter", "decorators"], TSParenthesizedType: s[23], TSPrivateKeyword: s[1], TSPropertySignature: ["key", "typeAnnotation"], TSProtectedKeyword: s[1], TSPublicKeyword: s[1], TSQualifiedName: s[5], TSReadonlyKeyword: s[1], TSRestType: s[23], TSSatisfiesExpression: s[4], TSStaticKeyword: s[1], TSStringKeyword: s[1], TSSymbolKeyword: s[1], TSTemplateLiteralType: ["quasis", "types"], TSThisType: s[1], TSTupleType: ["elementTypes"], TSTypeAliasDeclaration: ["id", "typeParameters", "typeAnnotation"], TSTypeAnnotation: s[23], TSTypeAssertion: s[4], TSTypeLiteral: s[26], TSTypeOperator: s[23], TSTypeParameter: ["name", "constraint", "default"], TSTypeParameterDeclaration: s[48], TSTypeParameterInstantiation: s[48], TSTypePredicate: s[49], TSTypeQuery: ["exprName", "typeArguments"], TSTypeReference: ["typeName", "typeArguments"], TSUndefinedKeyword: s[1], TSUnionType: s[36], TSUnknownKeyword: s[1], TSVoidKeyword: s[1], TupleTypeAnnotation: ["types", "elementTypes"], TupleTypeLabeledElement: ["label", "elementType", "variance"], TupleTypeSpreadElement: ["label", "typeAnnotation"], TypeAlias: s[24], TypeAnnotation: s[23], TypeCastExpression: s[4], TypeofTypeAnnotation: ["argument", "typeArguments"], TypeOperator: s[23], TypeParameter: ["bound", "default", "variance"], TypeParameterDeclaration: s[48], TypeParameterInstantiation: s[48], TypePredicate: s[49], UnaryExpression: s[6], UndefinedTypeAnnotation: s[1], UnionTypeAnnotation: s[36], UnknownTypeAnnotation: s[1], UpdateExpression: s[6], V8IntrinsicIdentifier: s[1], VariableDeclaration: ["declarations"], VariableDeclarator: s[27], Variance: s[1], VoidPattern: s[1], VoidTypeAnnotation: s[1], WhileStatement: s[25], WithStatement: ["object", "body"], YieldExpression: s[6] }; + qu3 = s2(d22); + a22 = qu3; + g22 = ve9; + Xi7 = le7(["RegExpLiteral", "BigIntLiteral", "NumericLiteral", "StringLiteral", "DirectiveLiteral", "Literal", "JSXText", "TemplateElement", "StringLiteralTypeAnnotation", "NumberLiteralTypeAnnotation", "BigIntLiteralTypeAnnotation"]); + r2 = Pu2; + Ou3 = /\*\/$/; + Vu2 = /^\/\*\*?/; + Ru2 = /^\s*(\/\*\*?(.|\r?\n)*?\*\/)/; + Mu2 = /(^|\s+)\/\/([^\n\r]*)/g; + h22 = /^(\r?\n)+/; + vu3 = /(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g; + k22 = /(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g; + Uu2 = /(\r?\n|^) *\* ?/g; + Ju3 = []; + T22 = ["noformat", "noprettier"]; + b22 = ["format", "prettier"]; + D22 = _u2; + S22 = Xu2; + B22 = "module"; + F22 = "commonjs"; + N22 = [B22, F22]; + ju2 = { next: true, ranges: true, webcompat: true, loc: false, raw: true, directives: true, impliedStrict: false, preserveParens: true, lexical: false, jsx: true, validateRegex: false }; + $u2 = S22(Ku2); + } +}); + +// node_modules/prettier/plugins/postcss.mjs +var postcss_exports = {}; +__export(postcss_exports, { + default: () => _l4, + languages: () => Si9, + options: () => Ti9, + parsers: () => en8, + printers: () => Hy +}); +function Nl4(t26) { + return this[t26 < 0 ? this.length + t26 : t26]; +} +function Il3(t26) { + if (typeof t26 == "string") return je10; + if (Array.isArray(t26)) return He9; + if (!t26) return; + let { type: e7 } = t26; + if (Ot11.has(e7)) return e7; +} +function Ll4(t26) { + let e7 = t26 === null ? "null" : typeof t26; + if (e7 !== "string" && e7 !== "object") return `Unexpected doc '${e7}', +Expected it to be 'string' or 'object'.`; + if (ue10(t26)) throw new Error("doc is valid."); + let s5 = Object.prototype.toString.call(t26); + if (s5 !== "[object Object]") return `Unexpected doc '${s5}'.`; + let r5 = ql3([...Ot11].map((n5) => `'${n5}'`)); + return `Unexpected doc.type '${t26.type}'. +Expected it to be ${r5}.`; +} +function Dl3(t26, e7) { + if (typeof t26 == "string") return e7(t26); + let s5 = /* @__PURE__ */ new Map(); + return r5(t26); + function r5(i5) { + if (s5.has(i5)) return s5.get(i5); + let o5 = n5(i5); + return s5.set(i5, o5), o5; + } + function n5(i5) { + switch (ue10(i5)) { + case He9: + return e7(i5.map(r5)); + case ae8: + return e7({ ...i5, parts: i5.parts.map(r5) }); + case me11: + return e7({ ...i5, breakContents: r5(i5.breakContents), flatContents: r5(i5.flatContents) }); + case oe9: { + let { expandedStates: o5, contents: u } = i5; + return o5 ? (o5 = o5.map(r5), u = o5[0]) : u = r5(u), e7({ ...i5, contents: u, expandedStates: o5 }); + } + case Ae9: + case ie9: + case kt11: + case At11: + case Oe10: + return e7({ ...i5, contents: r5(i5.contents) }); + case je10: + case Et11: + case St10: + case Tt11: + case X10: + case Ce9: + return e7(i5); + default: + throw new nn9(i5); + } + } +} +function Ml3(t26) { + return t26.type === X10 && !t26.hard ? t26.soft ? "" : " " : t26.type === me11 ? t26.flatContents : t26; +} +function on6(t26) { + return Dl3(t26, Ml3); +} +function L8(t26) { + return $9(t26), { type: ie9, contents: t26 }; +} +function Bl2(t26, e7) { + return un7(t26), $9(e7), { type: Ae9, contents: e7, n: t26 }; +} +function le8(t26) { + return Bl2(-1, t26); +} +function Pe9(t26) { + return an7(t26), { type: ae8, parts: t26 }; +} +function D5(t26, e7 = {}) { + return $9(t26), ye10(e7.expandedStates, true), { type: oe9, id: e7.id, contents: t26, break: !!e7.shouldBreak, expandedStates: e7.expandedStates }; +} +function Ct11(t26, e7 = "", s5 = {}) { + return $9(t26), e7 !== "" && $9(e7), { type: me11, breakContents: t26, flatContents: e7, groupId: s5.groupId }; +} +function Y6(t26, e7) { + $9(t26), ye10(e7); + let s5 = []; + for (let r5 = 0; r5 < e7.length; r5++) r5 !== 0 && s5.push(t26), s5.push(e7[r5]); + return s5; +} +function ln8(t26) { + return $9(t26), { type: Oe10, contents: t26 }; +} +function $l3(t26) { + return Array.isArray(t26) && t26.length > 0; +} +function Yl3(t26, e7) { + let { preferred: s5, alternate: r5 } = e7 === true || e7 === "'" ? Wl3 : Gl3, { length: n5 } = t26, i5 = 0, o5 = 0; + for (let u = 0; u < n5; u++) { + let a5 = t26.charCodeAt(u); + a5 === s5.codePoint ? i5++ : a5 === r5.codePoint && o5++; + } + return (i5 > o5 ? r5 : s5).character; +} +function zl3(t26, e7) { + let s5 = e7 === '"' ? "'" : '"', r5 = E5(0, t26, Vl3, (n5, i5, o5) => i5 ? i5 === s5 ? s5 : n5 : o5 === e7 ? "\\" + o5 : o5); + return e7 + r5 + e7; +} +function jl3(t26, e7) { + K10(/^(?["']).*\k$/su.test(t26)); + let s5 = t26.slice(1, -1), r5 = e7.parser === "json" || e7.parser === "jsonc" || e7.parser === "json5" && e7.quoteProps === "preserve" && !e7.singleQuote ? '"' : e7.__isInHtmlAttribute ? "'" : pn7(s5, e7.singleQuote); + return t26.charAt(0) === r5 ? t26 : hn8(s5, r5); +} +function Hl3(t26) { + return !!t26?.[Pt11]; +} +function Kl3(t26) { + let e7 = t26.slice(0, Ke10); + if (e7 !== "---" && e7 !== "+++") return; + let s5 = t26.indexOf(` +`, Ke10); + if (s5 === -1) return; + let r5 = t26.slice(Ke10, s5).trim(), n5 = t26.indexOf(` +${e7}`, s5), i5 = r5; + if (i5 || (i5 = e7 === "+++" ? "toml" : "yaml"), n5 === -1 && e7 === "---" && i5 === "yaml" && (n5 = t26.indexOf(` +...`, s5)), n5 === -1) return; + let o5 = n5 + 1 + Ke10, u = t26.charAt(o5 + 1); + if (!/\s?/u.test(u)) return; + let a5 = t26.slice(0, o5), l5; + return { language: i5, explicitLanguage: r5 || null, value: t26.slice(s5 + 1, n5), startDelimiter: e7, endDelimiter: a5.slice(-Ke10), raw: a5, start: { line: 1, column: 0, index: 0 }, end: { index: a5.length, get line() { + return l5 ?? (l5 = a5.split(` +`)), l5.length; + }, get column() { + return l5 ?? (l5 = a5.split(` +`)), G9(0, l5, -1).length; + } }, [Pt11]: true }; +} +function Ql3(t26) { + let e7 = Kl3(t26); + return e7 ? { frontMatter: e7, get content() { + let { raw: s5 } = e7; + return E5(0, s5, /[^\n]/gu, " ") + t26.slice(s5.length); + } } : { content: t26 }; +} +function mn7(t26, e7, s5) { + if (t26.type === "css-comment" && s5.type === "css-root" && s5.nodes.length > 0 && ((s5.nodes[0] === t26 || Re10(s5.nodes[0]) && s5.nodes[1] === t26) && (delete e7.text, /^\*\s*@(?:format|prettier)\s*$/u.test(t26.text)) || s5.type === "css-root" && G9(0, s5.nodes, -1) === t26)) return null; + if (t26.type === "value-root" && delete e7.text, (t26.type === "media-query" || t26.type === "media-query-list" || t26.type === "media-feature-expression") && delete e7.value, t26.type === "css-rule" && delete e7.params, (t26.type === "media-feature" || t26.type === "media-keyword" || t26.type === "media-type" || t26.type === "media-unknown" || t26.type === "media-url" || t26.type === "media-value" || t26.type === "selector-attribute" || t26.type === "selector-string" || t26.type === "selector-class" || t26.type === "selector-combinator" || t26.type === "value-string") && t26.value && (e7.value = Jl3(t26.value)), t26.type === "selector-combinator" && (e7.value = E5(0, e7.value, /\s+/gu, " ")), t26.type === "media-feature" && (e7.value = E5(0, e7.value, " ", "")), (t26.type === "value-word" && (t26.isColor && t26.isHex || ["initial", "inherit", "unset", "revert"].includes(t26.value.toLowerCase())) || t26.type === "media-feature" || t26.type === "selector-root-invalid" || t26.type === "selector-pseudo") && (e7.value = e7.value.toLowerCase()), t26.type === "css-decl" && (e7.prop = t26.prop.toLowerCase()), (t26.type === "css-atrule" || t26.type === "css-import") && (e7.name = t26.name.toLowerCase()), t26.type === "value-number" && (e7.unit = t26.unit.toLowerCase()), t26.type === "value-unknown" && (e7.value = E5(0, e7.value, /;$/gu, "")), t26.type === "selector-attribute" && (e7.attribute = t26.attribute.trim(), t26.namespace && typeof t26.namespace == "string" && (e7.namespace = t26.namespace.trim() || true), t26.value)) { + let { value: r5 } = e7; + /\s[a-zA-Z]$/u.test(r5) && (e7.__prettier_attribute_selector_flag = G9(0, r5, -1), r5 = r5.slice(0, -1)), r5 = r5.trim(), r5 = r5.replace(/^(?["'])(?.*?)\k$/u, "$"), e7.value = r5, delete e7.quoted; + } + if ((t26.type === "media-value" || t26.type === "media-type" || t26.type === "value-number" || t26.type === "selector-root-invalid" || t26.type === "selector-class" || t26.type === "selector-combinator" || t26.type === "selector-tag") && t26.value && (e7.value = E5(0, e7.value, /([\d+.e-]+)([a-z]*)/giu, (r5, n5, i5) => { + let o5 = Number(n5); + return Number.isNaN(o5) ? r5 : o5 + i5.toLowerCase(); + })), t26.type === "selector-tag") { + let r5 = e7.value.toLowerCase(); + ["from", "to"].includes(r5) && (e7.value = r5); + } + if (t26.type === "css-atrule" && t26.name.toLowerCase() === "supports" && delete e7.value, t26.type === "selector-unknown" && delete e7.value, t26.type === "value-comma_group") { + let r5 = t26.groups.findIndex((n5) => n5.type === "value-number" && n5.unit === "..."); + r5 !== -1 && (e7.groups[r5].unit = "", e7.groups.splice(r5 + 1, 0, { type: "value-word", value: "...", isColor: false, isHex: false })); + } + if (t26.type === "value-comma_group" && t26.groups.some((r5) => r5.type === "value-atword" && (r5.value.endsWith("[") || r5.value.endsWith("]")) || r5.type === "value-word" && (r5.value.startsWith("]") || r5.value.startsWith("[")))) return { type: "value-atword", value: t26.groups.map((r5) => r5.value).join(""), group: { open: null, close: null, groups: [], type: "value-paren_group" } }; +} +function Jl3(t26) { + return E5(0, E5(0, t26, "'", '"'), /\\([^\da-f])/giu, "$1"); +} +function gn7() { +} +function Xe10(t26) { + if (Qe10 !== null && typeof Qe10.property) { + let e7 = Qe10; + return Qe10 = Xe10.prototype = null, e7; + } + return Qe10 = Xe10.prototype = t26 ?? /* @__PURE__ */ Object.create(null), new Xe10(); +} +function Hr5(t26) { + return Xe10(t26); +} +function ec2(t26, e7 = "type") { + Hr5(t26); + function s5(r5) { + let n5 = r5[e7], i5 = t26[n5]; + if (!Array.isArray(i5)) throw Object.assign(new Error(`Missing visitor keys for '${n5}'.`), { node: r5 }); + return i5; + } + return s5; +} +function rc2(t26, e7) { + let s5 = 0; + for (let r5 = 0; r5 < t26.line - 1; ++r5) s5 = e7.indexOf(` +`, s5) + 1; + return s5 + t26.column; +} +function Rt9(t26) { + return (e7, s5, r5) => { + let n5 = !!r5?.backwards; + if (s5 === false) return false; + let { length: i5 } = e7, o5 = s5; + for (; o5 >= 0 && o5 < i5; ) { + let u = e7.charAt(o5); + if (t26 instanceof RegExp) { + if (!t26.test(u)) return o5; + } else if (!t26.includes(u)) return o5; + n5 ? o5-- : o5++; + } + return o5 === -1 || o5 === i5 ? o5 : false; + }; +} +function En7(t26, e7) { + let { value: s5 } = t26; + return s5 === "-" || s5 === "--" || s5.charAt(0) !== "-" ? e7 : e7 - (s5.charAt(1) === "-" ? 2 : 1); +} +function Sn7(t26, e7) { + if (typeof t26.source?.start?.offset == "number") return t26.source.start.offset; + if (typeof t26.sourceIndex == "number") return t26.type === "value-word" ? En7(t26, t26.sourceIndex) : t26.sourceIndex; + if (t26.source?.start) return Kr6(t26.source.start, e7); + throw Object.assign(new Error("Can not locate node."), { node: t26 }); +} +function Qr7(t26, e7) { + if (t26.type === "css-comment" && t26.inline) return qt10(e7, t26.source.startOffset); + if (typeof t26.source?.end?.offset == "number") return t26.source.end.offset; + if (t26.source) { + if (t26.source.end) { + let s5 = Kr6(t26.source.end, e7); + return t26.type === "value-word" ? En7(t26, s5) : s5; + } + if (ce8(t26.nodes)) return Qr7(G9(0, t26.nodes, -1), e7); + } + return null; +} +function Xr5(t26, e7) { + t26.source && (t26.source.startOffset = Sn7(t26, e7), t26.source.endOffset = Qr7(t26, e7)); + for (let s5 in t26) { + let r5 = t26[s5]; + s5 === "source" || !r5 || typeof r5 != "object" || (r5.type === "value-root" || r5.type === "value-unknown" ? kn7(r5, sc2(t26), r5.text || r5.value) : Xr5(r5, e7)); + } +} +function kn7(t26, e7, s5) { + t26.source && (t26.source.startOffset = Sn7(t26, s5) + e7, t26.source.endOffset = Qr7(t26, s5) + e7); + for (let r5 in t26) { + let n5 = t26[r5]; + r5 === "source" || !n5 || typeof n5 != "object" || kn7(n5, e7, s5); + } +} +function sc2(t26) { + let e7 = t26.source.startOffset; + return typeof t26.prop == "string" && (e7 += t26.prop.length), t26.type === "css-atrule" && typeof t26.name == "string" && (e7 += 1 + t26.name.length + t26.raws.afterName.match(/^\s*:?\s*/u)[0].length), t26.type !== "css-atrule" && typeof t26.raws?.between == "string" && (e7 += t26.raws.between.length), e7; +} +function Tn6(t26) { + let e7 = "initial", s5 = "initial", r5, n5 = false, i5 = []; + for (let o5 = 0; o5 < t26.length; o5++) { + let u = t26[o5]; + switch (e7) { + case "initial": + if (u === "'") { + e7 = "single-quotes"; + continue; + } + if (u === '"') { + e7 = "double-quotes"; + continue; + } + if ((u === "u" || u === "U") && t26.slice(o5, o5 + 4).toLowerCase() === "url(") { + e7 = "url", o5 += 3; + continue; + } + if (u === "*" && t26[o5 - 1] === "/") { + e7 = "comment-block"; + continue; + } + if (u === "/" && t26[o5 - 1] === "/") { + e7 = "comment-inline", r5 = o5 - 1; + continue; + } + continue; + case "single-quotes": + if (u === "'" && t26[o5 - 1] !== "\\" && (e7 = s5, s5 = "initial"), u === ` +` || u === "\r") return t26; + continue; + case "double-quotes": + if (u === '"' && t26[o5 - 1] !== "\\" && (e7 = s5, s5 = "initial"), u === ` +` || u === "\r") return t26; + continue; + case "url": + if (u === ")" && (e7 = "initial"), u === ` +` || u === "\r") return t26; + if (u === "'") { + e7 = "single-quotes", s5 = "url"; + continue; + } + if (u === '"') { + e7 = "double-quotes", s5 = "url"; + continue; + } + continue; + case "comment-block": + u === "/" && t26[o5 - 1] === "*" && (e7 = "initial"); + continue; + case "comment-inline": + (u === '"' || u === "'" || u === "*") && (n5 = true), (u === ` +` || u === "\r") && (n5 && i5.push([r5, o5]), e7 = "initial", n5 = false); + continue; + } + } + for (let [o5, u] of i5) t26 = t26.slice(0, o5) + E5(0, t26.slice(o5, u), /["'*]/gu, " ") + t26.slice(u); + return t26; +} +function Rn5(t26) { + let e7 = t26.match(Nn5); + return e7 ? e7[0].trimStart() : ""; +} +function In6(t26) { + let s5 = t26.match(Nn5)?.[0]; + return s5 == null ? t26 : t26.slice(s5.length); +} +function qn7(t26) { + t26 = E5(0, t26.replace(ic2, "").replace(nc3, ""), uc2, "$1"); + let s5 = ""; + for (; s5 !== t26; ) s5 = t26, t26 = E5(0, t26, ac2, ` +$1 $2 +`); + t26 = t26.replace(An6, "").trimEnd(); + let r5 = /* @__PURE__ */ Object.create(null), n5 = E5(0, t26, On6, "").replace(An6, "").trimEnd(), i5; + for (; i5 = On6.exec(t26); ) { + let o5 = E5(0, i5[2], oc3, ""); + if (typeof r5[i5[1]] == "string" || Array.isArray(r5[i5[1]])) { + let u = r5[i5[1]]; + r5[i5[1]] = [...Pn7, ...Array.isArray(u) ? u : [u], o5]; + } else r5[i5[1]] = o5; + } + return { comments: n5, pragmas: r5 }; +} +function Ln6({ comments: t26 = "", pragmas: e7 = {} }) { + let o5 = Object.keys(e7), u = o5.flatMap((l5) => Cn6(l5, e7[l5])).map((l5) => ` * ${l5} +`).join(""); + if (!t26) { + if (o5.length === 0) return ""; + if (o5.length === 1 && !Array.isArray(e7[o5[0]])) { + let l5 = e7[o5[0]]; + return `/** ${Cn6(o5[0], l5)[0]} */`; + } + } + let a5 = t26.split(` +`).map((l5) => ` * ${l5}`).join(` +`) + ` +`; + return `/** +` + (t26 ? a5 : "") + (t26 && o5.length > 0 ? ` * +` : "") + u + " */"; +} +function Cn6(t26, e7) { + return [...Pn7, ...Array.isArray(e7) ? e7 : [e7]].map((s5) => `@${t26} ${s5}`.trim()); +} +function lc2(t26) { + if (!t26.startsWith("#!")) return ""; + let e7 = t26.indexOf(` +`); + return e7 === -1 ? t26 : t26.slice(0, e7); +} +function Jr5(t26) { + let e7 = Un6(t26); + e7 && (t26 = t26.slice(e7.length + 1)); + let s5 = Rn5(t26), { pragmas: r5, comments: n5 } = qn7(s5); + return { shebang: e7, text: t26, pragmas: r5, comments: n5 }; +} +function Fn5(t26) { + let { pragmas: e7 } = Jr5(t26); + return Mn5.some((s5) => Object.prototype.hasOwnProperty.call(e7, s5)); +} +function $n7(t26) { + let { pragmas: e7 } = Jr5(t26); + return Dn6.some((s5) => Object.prototype.hasOwnProperty.call(e7, s5)); +} +function Wn7(t26) { + let { shebang: e7, text: s5, pragmas: r5, comments: n5 } = Jr5(t26), i5 = In6(s5), o5 = Ln6({ pragmas: { [Bn6]: "", ...r5 }, comments: n5.trimStart() }); + return (e7 ? `${e7} +` : "") + o5 + (i5.startsWith(` +`) ? ` +` : ` + +`) + i5; +} +function zn8(t26) { + return t26.findAncestor((e7) => e7.type === "css-decl")?.prop?.toLowerCase(); +} +function jn6(t26) { + return fc2.has(t26.toLowerCase()); +} +function Hn7(t26, e7) { + return t26.findAncestor((r5) => r5.type === "css-atrule")?.name?.toLowerCase().endsWith("keyframes") && ["from", "to"].includes(e7.toLowerCase()); +} +function Ie10(t26) { + return t26.includes("$") || t26.includes("@") || t26.includes("#") || t26.startsWith("%") || t26.startsWith("--") || t26.startsWith(":--") || t26.includes("(") && t26.includes(")") ? t26 : t26.toLowerCase(); +} +function qe10(t26, e7) { + return t26.findAncestor((r5) => r5.type === "value-func")?.value?.toLowerCase() === e7; +} +function Kn8(t26) { + return t26.hasAncestor((e7) => { + if (e7.type !== "css-rule") return false; + let s5 = e7.raws?.selector; + return s5 && (s5.startsWith(":import") || s5.startsWith(":export")); + }); +} +function we8(t26, e7) { + let s5 = Array.isArray(e7) ? e7 : [e7], r5 = t26.findAncestor((n5) => n5.type === "css-atrule"); + return r5 && s5.includes(r5.name.toLowerCase()); +} +function Qn7(t26) { + let { node: e7 } = t26; + return e7.groups[0]?.value === "url" && e7.groups.length === 2 && t26.findAncestor((s5) => s5.type === "css-atrule")?.name === "import"; +} +function Xn8(t26) { + return t26.type === "value-func" && t26.value.toLowerCase() === "url"; +} +function Jn7(t26) { + return t26.type === "value-func" && t26.value.toLowerCase() === "var"; +} +function Zn8(t26) { + let { selector: e7 } = t26; + return e7 ? typeof e7 == "string" && /^@.+:.*$/u.test(e7) || e7.value && /^@.+:.*$/u.test(e7.value) : false; +} +function ei9(t26) { + return t26.type === "value-word" && ["from", "through", "end"].includes(t26.value); +} +function ti9(t26) { + return t26.type === "value-word" && ["and", "or", "not"].includes(t26.value); +} +function ri9(t26) { + return t26.type === "value-word" && t26.value === "in"; +} +function Lt9(t26) { + return t26.type === "value-operator" && t26.value === "*"; +} +function ve10(t26) { + return t26?.type === "value-operator" && t26.value === "/"; +} +function J11(t26) { + return t26.type === "value-operator" && t26.value === "+"; +} +function xe9(t26) { + return t26.type === "value-operator" && t26.value === "-"; +} +function pc2(t26) { + return t26.type === "value-operator" && t26.value === "%"; +} +function Dt9(t26) { + return Lt9(t26) || ve10(t26) || J11(t26) || xe9(t26) || pc2(t26); +} +function si9(t26) { + return t26.type === "value-word" && ["==", "!="].includes(t26.value); +} +function ni9(t26) { + return t26.type === "value-word" && ["<", ">", "<=", ">="].includes(t26.value); +} +function Je10(t26, e7) { + return e7.parser === "scss" && t26.type === "css-atrule" && ["if", "else", "for", "each", "while"].includes(t26.name); +} +function es7(t26) { + return t26.raws?.params && /^\(\s*\)$/u.test(t26.raws.params); +} +function Mt11(t26) { + return t26.name.startsWith("prettier-placeholder"); +} +function ii9(t26) { + return t26.prop.startsWith("@prettier-placeholder"); +} +function oi9(t26, e7) { + return t26.value === "$$" && t26.type === "value-func" && e7?.type === "value-word" && !e7.raws.before; +} +function ai9(t26) { + return t26.value?.type === "value-root" && t26.value.group?.type === "value-value" && t26.prop.toLowerCase() === "composes"; +} +function ui9(t26) { + return t26.value?.group?.group?.type === "value-paren_group" && t26.value.group.group.open !== null && t26.value.group.group.close !== null; +} +function Z8(t26) { + return t26?.raws?.before === ""; +} +function Bt9(t26) { + return t26.type === "value-comma_group" && t26.groups?.[1]?.type === "value-colon"; +} +function Zr7(t26) { + return t26.type === "value-paren_group" && t26.groups?.[0] && Bt9(t26.groups[0]); +} +function ts7(t26, e7) { + if (e7.parser !== "scss") return false; + let { node: s5 } = t26; + if (s5.groups.length === 0) return false; + let r5 = t26.grandparent; + return !Zr7(s5) && !(r5 && Zr7(r5)) ? false : !!(t26.findAncestor((i5) => i5.type === "css-decl")?.prop?.startsWith("$") || Zr7(r5) || r5.type === "value-func"); +} +function Ze10(t26) { + return t26.type === "value-comment" && t26.inline; +} +function Ut9(t26) { + return t26.type === "value-word" && t26.value === "#"; +} +function rs7(t26) { + return t26.type === "value-word" && t26.value === "{"; +} +function Ft10(t26) { + return t26.type === "value-word" && t26.value === "}"; +} +function et10(t26) { + return ["value-word", "value-atword"].includes(t26.type); +} +function $t7(t26) { + return t26?.type === "value-colon"; +} +function li9(t26, e7) { + if (!Bt9(e7)) return false; + let { groups: s5 } = e7, r5 = s5.indexOf(t26); + return r5 === -1 ? false : $t7(s5[r5 + 1]); +} +function ci9(t26) { + return t26.value && ["not", "and", "or"].includes(t26.value.toLowerCase()); +} +function fi9(t26) { + return t26.type !== "value-func" ? false : cc3.has(t26.value.toLowerCase()); +} +function Le10(t26) { + return /\/\//u.test(t26.split(/[\n\r]/u).pop()); +} +function tt10(t26) { + return t26?.type === "value-atword" && t26.value.startsWith("prettier-placeholder-"); +} +function pi9(t26, e7) { + if (t26.open?.value !== "(" || t26.close?.value !== ")" || t26.groups.some((s5) => s5.type !== "value-comma_group")) return false; + if (e7.type === "value-comma_group") { + let s5 = e7.groups.indexOf(t26) - 1, r5 = e7.groups[s5]; + if (r5?.type === "value-word" && r5.value === "with") return true; + } + return false; +} +function rt11(t26) { + return t26.type === "value-paren_group" && t26.open?.value === "(" && t26.close?.value === ")"; +} +function hc2(t26, e7, s5) { + let { node: r5 } = t26, n5 = t26.parent, i5 = t26.grandparent, o5 = zn8(t26), u = o5 && n5.type === "value-value" && (o5 === "grid" || o5.startsWith("grid-template")), a5 = t26.findAncestor((p4) => p4.type === "css-atrule"), l5 = a5 && Je10(a5, e7), f7 = r5.groups.some((p4) => Ze10(p4)), h5 = t26.map(s5, "groups"), c7 = [""], g5 = qe10(t26, "url"), b7 = false, d5 = false; + for (let p4 = 0; p4 < r5.groups.length; ++p4) { + let m7 = r5.groups[p4 - 1], y10 = r5.groups[p4], v9 = r5.groups[p4 + 1], O7 = r5.groups[p4 + 2]; + if (Ze10(y10) && !v9) { + c7.push([c7.pop(), ln8([" ", h5[p4]])]); + continue; + } + if (c7.push([c7.pop(), h5[p4]]), g5) { + (v9 && J11(v9) || J11(y10)) && c7.push([c7.pop(), " "]); + continue; + } + if (we8(t26, "forward") && y10.type === "value-word" && y10.value && m7 !== void 0 && m7.type === "value-word" && m7.value === "as" && v9.type === "value-operator" && v9.value === "*" || we8(t26, "utility") && y10.type === "value-word" && v9 && v9.type === "value-operator" && v9.value === "*" || !v9 || y10.type === "value-word" && tt10(v9) && R9(y10) === P7(v9)) continue; + if (y10.type === "value-string" && y10.quoted) { + let k8 = y10.value.lastIndexOf("#{"), N8 = y10.value.lastIndexOf("}"); + k8 !== -1 && N8 !== -1 ? b7 = k8 > N8 : k8 !== -1 ? b7 = true : N8 !== -1 && (b7 = false); + } + if (b7 || $t7(y10) || $t7(v9) || y10.type === "value-atword" && (y10.value === "" || y10.value.endsWith("[")) || v9.type === "value-word" && v9.value.startsWith("]") || y10.value === "~" || e7.parser === "less" && (v9?.type === "value-word" && v9.value === "[" || y10.type === "value-word" && y10.value === "[" && (v9?.type === "value-atword" || v9?.type === "value-word") || y10.type === "value-word" && y10.value === "][" && v9?.type === "value-word") || y10.type !== "value-string" && y10.value && y10.value.includes("\\") && v9 && v9.type !== "value-comment" || m7?.value && m7.value.indexOf("\\") === m7.value.length - 1 && y10.type === "value-operator" && y10.value === "/" || y10.value === "\\" || oi9(y10, v9) || Ut9(y10) || rs7(y10) || Ft10(v9) || rs7(v9) && Z8(v9) || Ft10(y10) && Z8(v9) || y10.value === "--" && Ut9(v9)) continue; + let q11 = Dt9(y10), H11 = Dt9(v9); + if ((q11 && Ut9(v9) || H11 && Ft10(y10)) && Z8(v9) || !m7 && ve10(y10) || qe10(t26, "calc") && (J11(y10) || J11(v9) || xe9(y10) || xe9(v9)) && Z8(v9)) continue; + let ne11 = (J11(y10) || xe9(y10)) && p4 === 0 && (v9.type === "value-number" || v9.isHex) && i5 && fi9(i5) && !Z8(v9); + if (e7.parser === "scss" && q11 && y10.value === "-" && v9.type === "value-func" && R9(y10) !== P7(v9)) { + c7.push([c7.pop(), " "]); + continue; + } + let W10 = O7?.type === "value-func" || O7 && et10(O7) || y10.type === "value-func" || et10(y10), A9 = v9.type === "value-func" || et10(v9) || m7?.type === "value-func" || m7 && et10(m7); + if (!(!(Lt9(v9) || Lt9(y10)) && !qe10(t26, "calc") && !ne11 && (ve10(v9) && !W10 || ve10(y10) && !A9 || J11(v9) && !W10 || J11(y10) && !A9 || xe9(v9) || xe9(y10)) && (Z8(v9) || q11 && (!m7 || m7 && Dt9(m7)))) && !((e7.parser === "scss" || e7.parser === "less") && q11 && y10.value === "-" && rt11(v9) && R9(y10) === P7(v9.open) && v9.open.value === "(")) { + if (Ze10(y10)) { + if (n5.type === "value-paren_group") { + c7.push(le8(T5), ""); + continue; + } + c7.push(T5, ""); + continue; + } + if (l5 && (si9(v9) || ni9(v9) || ti9(v9) || ri9(y10) || ei9(y10))) { + c7.push([c7.pop(), " "]); + continue; + } + if (a5 && a5.name.toLowerCase() === "namespace") { + c7.push([c7.pop(), " "]); + continue; + } + if (u) { + y10.source && v9.source && y10.source.start.line !== v9.source.start.line ? (c7.push(T5, ""), d5 = true) : c7.push([c7.pop(), " "]); + continue; + } + if (!(o5 && (o5 === "font" || o5.startsWith("--")) && (ve10(v9) && Z8(v9) && hi9(y10) || ve10(y10) && Z8(y10) && hi9(m7)))) { + if (H11) { + c7.push([c7.pop(), " "]); + continue; + } + if (v9?.value !== "..." && !(tt10(y10) && tt10(v9) && R9(y10) === P7(v9))) { + if (tt10(y10) && rt11(v9) && R9(y10) === P7(v9.open)) { + c7.push(M9, ""); + continue; + } + if (y10.value === "with" && rt11(v9)) { + c7 = [[Pe9(c7), " "]]; + continue; + } + if (!(y10.value?.endsWith("#") && v9.value === "{" && rt11(v9.group)) && !(Ze10(v9) && !O7)) { + if (!a5 && y10.type === "value-comment" && !y10.inline && r5.groups.slice(0, p4).every((k8) => k8.type === "value-comment")) { + c7.push(le8(C6), ""); + continue; + } + c7.push(C6, ""); + } + } + } + } + } + return f7 && c7.push([c7.pop(), Ne9]), d5 && c7.unshift("", T5), l5 ? D5(L8(c7)) : Qn7(t26) ? D5(Pe9(c7)) : D5(L8(Pe9(c7))); +} +function hi9(t26) { + if (t26?.type === "value-number") return true; + if (t26?.type !== "value-func") return false; + let e7 = t26.value.toLowerCase(); + return e7 === "var" || e7 === "calc" || e7 === "min" || e7 === "max" || e7 === "clamp" || e7.startsWith("--"); +} +function dc2(t26) { + return t26.length === 1 ? t26 : t26.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(?=\d)/u, "$1$2").replace(/^([+-]?[\d.]+)e[+-]?0+$/u, "$1").replace(/^([+-])?\./u, "$10.").replace(/(\.\d+?)0+(?=e|$)/u, "$1").replace(/\.(?=e|$)/u, ""); +} +function ss8(t26) { + let e7 = t26.toLowerCase(); + return Wt9.has(e7) ? Wt9.get(e7) : t26; +} +function V10(t26, e7) { + return E5(0, t26, yi8, (s5) => Nt11(s5, e7)); +} +function gi9(t26, e7) { + let s5 = e7.singleQuote ? "'" : '"', r5 = "", n5 = t26.match(/^(?.+?)\s+(?[a-zA-Z])$/u); + return n5 && ({ value: t26, flag: r5 } = n5.groups), (t26.includes('"') || t26.includes("'") ? t26 : s5 + t26 + s5) + (r5 ? ` ${r5}` : ""); +} +function _e10(t26) { + return E5(0, t26, wc2, (e7, s5, r5, n5, i5) => !r5 && n5 && (i5 ?? (i5 = ""), i5 = i5.toLowerCase(), !i5 || i5 === "n" || Wt9.has(i5)) ? ns7(n5) + (i5 ? ss8(i5) : "") : e7); +} +function ns7(t26) { + return mi9(t26).replace(/\.0(?=$|e)/u, ""); +} +function wi9(t26) { + return t26.trailingComma === "es5" || t26.trailingComma === "all"; +} +function vc3(t26, e7, s5) { + let r5 = !!s5?.backwards; + if (e7 === false) return false; + let n5 = t26.charAt(e7); + if (r5) { + if (t26.charAt(e7 - 1) === "\r" && n5 === ` +`) return e7 - 2; + if (vi9(n5)) return e7 - 1; + } else { + if (n5 === "\r" && t26.charAt(e7 + 1) === ` +`) return e7 + 2; + if (vi9(n5)) return e7 + 1; + } + return e7; +} +function xc2(t26, e7, s5 = {}) { + let r5 = It10(t26, s5.backwards ? e7 - 1 : e7, s5), n5 = Gt8(t26, r5, s5); + return r5 !== n5; +} +function _c2(t26, e7) { + if (e7 === false) return false; + if (t26.charAt(e7) === "/" && t26.charAt(e7 + 1) === "*") { + for (let s5 = e7 + 2; s5 < t26.length; ++s5) if (t26.charAt(s5) === "*" && t26.charAt(s5 + 1) === "/") return s5 + 2; + } + return e7; +} +function bc3(t26, e7) { + return e7 === false ? false : t26.charAt(e7) === "/" && t26.charAt(e7 + 1) === "/" ? qt10(t26, e7) : e7; +} +function Ec3(t26, e7) { + let s5 = null, r5 = e7; + for (; r5 !== s5; ) s5 = r5, r5 = bn6(t26, r5), r5 = xi9(t26, r5), r5 = It10(t26, r5); + return r5 = _i8(t26, r5), r5 = Gt8(t26, r5), r5 !== false && Yt7(t26, r5); +} +function Sc3({ node: t26, parent: e7 }, s5) { + return !!(t26.source && s5.originalText.slice(P7(t26), P7(e7.close)).trimEnd().endsWith(",")); +} +function kc2(t26, e7) { + return Jn7(t26.grandparent) && Sc3(t26, e7) ? "," : t26.node.type !== "value-comment" && !(t26.node.type === "value-comma_group" && t26.node.groups.every((s5) => s5.type === "value-comment")) && wi9(e7) && t26.callParent(() => ts7(t26, e7)) ? Ct11(",") : ""; +} +function bi9(t26, e7, s5) { + let { node: r5, parent: n5 } = t26, i5 = t26.map(({ node: g5 }) => typeof g5 == "string" ? g5 : s5(), "groups"); + if (n5 && Xn8(n5) && (r5.groups.length === 1 || r5.groups.length > 0 && r5.groups[0].type === "value-comma_group" && r5.groups[0].groups.length > 0 && r5.groups[0].groups[0].type === "value-word" && r5.groups[0].groups[0].value.startsWith("data:"))) return [r5.open ? s5("open") : "", Y6(",", i5), r5.close ? s5("close") : ""]; + if (!r5.open) { + let g5 = is7(t26); + ye10(i5); + let b7 = Ac2(Y6(",", i5), 2), d5 = Y6(g5 ? T5 : C6, b7); + return L8(g5 ? [T5, d5] : D5([Tc3(t26) ? M9 : "", Pe9(d5)])); + } + let o5 = t26.map(({ node: g5, isLast: b7, index: d5 }) => { + let p4 = i5[d5]; + Bt9(g5) && g5.type === "value-comma_group" && g5.groups && g5.groups[0].type !== "value-paren_group" && g5.groups[2]?.type === "value-paren_group" && ue10(p4) === oe9 && ue10(p4.contents) === ie9 && ue10(p4.contents.contents) === ae8 && (p4 = D5(le8(p4))); + let m7 = [p4, b7 ? kc2(t26, e7) : ","]; + if (!b7 && g5.type === "value-comma_group" && ce8(g5.groups)) { + let y10 = G9(0, g5.groups, -1); + !y10.source && y10.close && (y10 = y10.close), y10.source && Vt9(e7.originalText, R9(y10)) && m7.push(T5); + } + return m7; + }, "groups"), u = li9(r5, n5), a5 = pi9(r5, n5), l5 = ts7(t26, e7), f7 = a5 || l5 && !u, h5 = a5 || u, c7 = D5([r5.open ? s5("open") : "", L8([M9, Y6(C6, o5)]), M9, r5.close ? s5("close") : ""], { shouldBreak: f7 }); + return h5 ? le8(c7) : c7; +} +function is7(t26) { + return t26.match((e7) => e7.type === "value-paren_group" && !e7.open && e7.groups.some((s5) => s5.type === "value-comma_group"), (e7, s5) => s5 === "group" && e7.type === "value-value", (e7, s5) => s5 === "group" && e7.type === "value-root", (e7, s5) => s5 === "value" && (e7.type === "css-decl" && !e7.prop.startsWith("--") || e7.type === "css-atrule" && e7.variable)); +} +function Tc3(t26) { + return t26.match((e7) => e7.type === "value-paren_group" && !e7.open, (e7, s5) => s5 === "group" && e7.type === "value-value", (e7, s5) => s5 === "group" && e7.type === "value-root", (e7, s5) => s5 === "value" && e7.type === "css-decl"); +} +function Ac2(t26, e7) { + let s5 = []; + for (let r5 = 0; r5 < t26.length; r5 += e7) s5.push(t26.slice(r5, r5 + e7)); + return s5; +} +function Oc2(t26, e7, s5) { + let r5 = []; + return t26.each(() => { + let { node: n5, previous: i5 } = t26; + if (i5?.type === "css-comment" && i5.text.trim() === "prettier-ignore" ? r5.push(e7.originalText.slice(P7(n5), R9(n5))) : r5.push(s5()), t26.isLast) return; + let { next: o5 } = t26; + o5.type === "css-comment" && !Yt7(e7.originalText, P7(o5), { backwards: true }) && !Re10(n5) || o5.type === "css-atrule" && o5.name === "else" && n5.type !== "css-comment" ? r5.push(" ") : (r5.push(e7.__isHTMLStyleAttribute ? C6 : T5), Vt9(e7.originalText, R9(n5)) && !Re10(n5) && r5.push(T5)); + }, "nodes"), r5; +} +function Cc2(t26, e7, s5) { + let { node: r5 } = t26; + switch (r5.type) { + case "css-root": { + let n5 = De10(t26, e7, s5), i5 = r5.raws.after.trim(); + return i5.startsWith(";") && (i5 = i5.slice(1).trim()), [r5.frontMatter ? [s5("frontMatter"), T5, r5.nodes.length > 0 ? T5 : ""] : "", n5, i5 ? ` ${i5}` : "", r5.nodes.length > 0 ? T5 : ""]; + } + case "css-comment": { + let n5 = r5.inline || r5.raws.inline, i5 = e7.originalText.slice(P7(r5), R9(r5)); + return n5 ? i5.trimEnd() : i5; + } + case "css-rule": + return [s5("selector"), r5.important ? " !important" : "", r5.nodes ? [r5.selector?.type === "selector-unknown" && Le10(r5.selector.value) ? C6 : r5.selector ? " " : "", "{", r5.nodes.length > 0 ? L8([T5, De10(t26, e7, s5)]) : "", T5, "}", Zn8(r5) ? ";" : ""] : ";"]; + case "css-decl": { + let n5 = t26.parent, { between: i5 } = r5.raws, o5 = i5.trim(), u = o5 === ":", a5 = typeof r5.value == "string" && /^ *$/u.test(r5.value), l5 = typeof r5.value == "string" ? r5.value : s5("value"); + return l5 = ai9(r5) ? on6(l5) : l5, !u && Le10(o5) && !t26.call(() => is7(t26), "value", "group", "group") && (l5 = L8([T5, le8(l5)])), [E5(0, r5.raws.before, /[\s;]/gu, ""), n5.type === "css-atrule" && n5.variable || Kn8(t26) ? r5.prop : Ie10(r5.prop), o5.startsWith("//") ? " " : "", o5, r5.extend || a5 ? "" : " ", e7.parser === "less" && r5.extend && r5.selector ? ["extend(", s5("selector"), ")"] : "", l5, r5.raws.important ? r5.raws.important.replace(/\s*!\s*important/iu, " !important") : r5.important ? " !important" : "", r5.raws.scssDefault ? r5.raws.scssDefault.replace(/\s*!default/iu, " !default") : r5.scssDefault ? " !default" : "", r5.raws.scssGlobal ? r5.raws.scssGlobal.replace(/\s*!global/iu, " !global") : r5.scssGlobal ? " !global" : "", r5.nodes ? [" {", L8([M9, De10(t26, e7, s5)]), M9, "}"] : ii9(r5) && !n5.raws.semicolon && e7.originalText[R9(r5) - 1] !== ";" ? "" : e7.__isHTMLStyleAttribute && t26.isLast ? Ct11(";") : ";"]; + } + case "css-atrule": { + let n5 = t26.parent, i5 = Mt11(r5) && !n5.raws.semicolon && e7.originalText[R9(r5) - 1] !== ";"; + if (e7.parser === "less") { + if (r5.mixin) return [s5("selector"), r5.important ? " !important" : "", i5 ? "" : ";"]; + if (r5.function) return [r5.name, typeof r5.params == "string" ? r5.params : s5("params"), i5 ? "" : ";"]; + if (r5.variable) return ["@", r5.name, ": ", r5.value ? s5("value") : "", r5.raws.between.trim() ? r5.raws.between.trim() + " " : "", r5.nodes ? ["{", L8([r5.nodes.length > 0 ? M9 : "", De10(t26, e7, s5)]), M9, "}"] : "", i5 ? "" : ";"]; + } + let o5 = r5.name === "import" && r5.params?.type === "value-unknown" && r5.params.value.endsWith(";"); + return ["@", es7(r5) || r5.name.endsWith(":") || Mt11(r5) ? r5.name : Ie10(r5.name), r5.params ? [es7(r5) ? "" : Mt11(r5) ? r5.raws.afterName === "" ? "" : r5.name.endsWith(":") ? " " : /^\s*\n\s*\n/u.test(r5.raws.afterName) ? [T5, T5] : /^\s*\n/u.test(r5.raws.afterName) ? T5 : " " : " ", typeof r5.params == "string" ? r5.params : s5("params")] : "", r5.selector ? L8([" ", s5("selector")]) : "", r5.value ? D5([" ", s5("value"), Je10(r5, e7) ? ui9(r5) ? " " : C6 : ""]) : r5.name === "else" ? " " : "", r5.nodes ? [Je10(r5, e7) ? "" : r5.selector && !r5.selector.nodes && typeof r5.selector.value == "string" && Le10(r5.selector.value) || !r5.selector && typeof r5.params == "string" && Le10(r5.params) ? C6 : " ", "{", L8([r5.nodes.length > 0 ? M9 : "", De10(t26, e7, s5)]), M9, "}"] : i5 || o5 ? "" : ";"]; + } + case "media-query-list": { + let n5 = []; + return t26.each(({ node: i5 }) => { + i5.type === "media-query" && i5.value === "" || n5.push(s5()); + }, "nodes"), D5(L8(Y6(C6, n5))); + } + case "media-query": + return [Y6(" ", t26.map(s5, "nodes")), t26.isLast ? "" : ","]; + case "media-type": + return _e10(V10(r5.value, e7)); + case "media-feature-expression": + return r5.nodes ? ["(", ...t26.map(s5, "nodes"), ")"] : r5.value; + case "media-feature": + return Ie10(V10(E5(0, r5.value, / +/gu, " "), e7)); + case "media-colon": + return [r5.value, " "]; + case "media-value": + return _e10(V10(r5.value, e7)); + case "media-keyword": + return V10(r5.value, e7); + case "media-url": + return V10(E5(0, E5(0, r5.value, /^url\(\s+/giu, "url("), /\s+\)$/gu, ")"), e7); + case "media-unknown": + return r5.value; + case "selector-root": + return D5([we8(t26, "custom-selector") ? [t26.findAncestor((n5) => n5.type === "css-atrule").customSelector, C6] : "", Y6([",", we8(t26, ["extend", "custom-selector", "nest"]) ? C6 : T5], t26.map(s5, "nodes"))]); + case "selector-selector": { + let n5 = r5.nodes.length > 2; + return D5((n5 ? L8 : (i5) => i5)(t26.map(s5, "nodes"))); + } + case "selector-comment": + return r5.value; + case "selector-string": + return V10(r5.value, e7); + case "selector-tag": + return [r5.namespace ? [r5.namespace === true ? "" : r5.namespace.trim(), "|"] : "", t26.previous?.type === "selector-nesting" ? r5.value : _e10(Hn7(t26, r5.value) ? r5.value.toLowerCase() : r5.value)]; + case "selector-id": + return ["#", r5.value]; + case "selector-class": + return [".", _e10(V10(r5.value, e7))]; + case "selector-attribute": + return ["[", r5.namespace ? [r5.namespace === true ? "" : r5.namespace.trim(), "|"] : "", r5.attribute.trim(), r5.operator ?? "", r5.value ? gi9(V10(r5.value.trim(), e7), e7) : "", r5.insensitive ? " i" : "", "]"]; + case "selector-combinator": { + if (r5.value === "+" || r5.value === ">" || r5.value === "~" || r5.value === ">>>") { + let o5 = t26.parent; + return [o5.type === "selector-selector" && o5.nodes[0] === r5 ? "" : C6, r5.value, t26.isLast ? "" : " "]; + } + let n5 = r5.value.trim().startsWith("(") ? C6 : "", i5 = _e10(V10(r5.value.trim(), e7)) || C6; + return [n5, i5]; + } + case "selector-universal": + return [r5.namespace ? [r5.namespace === true ? "" : r5.namespace.trim(), "|"] : "", r5.value]; + case "selector-pseudo": + return [Ie10(r5.value), ce8(r5.nodes) ? D5(["(", L8([M9, Y6([",", C6], t26.map(s5, "nodes"))]), M9, ")"]) : ""]; + case "selector-nesting": + return r5.value; + case "selector-unknown": { + if (t26.findAncestor((u) => u.type === "css-rule")?.isSCSSNesterProperty) return _e10(V10(Ie10(r5.value), e7)); + let i5 = t26.parent; + if (i5.raws?.selector) { + let u = P7(i5), a5 = u + i5.raws.selector.length; + return e7.originalText.slice(u, a5).trim(); + } + let o5 = t26.grandparent; + if (i5.type === "value-paren_group" && o5?.type === "value-func" && o5.value === "selector") { + let u = R9(i5.open) + 1, a5 = P7(i5.close), l5 = e7.originalText.slice(u, a5).trim(); + return Le10(l5) ? [Ne9, l5] : l5; + } + return r5.value; + } + case "value-value": + case "value-root": + return s5("group"); + case "value-comment": + return e7.originalText.slice(P7(r5), R9(r5)); + case "value-comma_group": + return di9(t26, e7, s5); + case "value-paren_group": + return bi9(t26, e7, s5); + case "value-func": + return [r5.value, we8(t26, "supports") && ci9(r5) ? " " : "", s5("group")]; + case "value-paren": + return r5.value; + case "value-number": + return [ns7(r5.value), ss8(r5.unit)]; + case "value-operator": + return r5.value; + case "value-word": + return r5.isColor && r5.isHex || jn6(r5.value) ? r5.value.toLowerCase() : r5.value; + case "value-colon": { + let { previous: n5 } = t26; + return D5([r5.value, typeof n5?.value == "string" && n5.value.endsWith("\\") || qe10(t26, "url") ? "" : C6]); + } + case "value-string": + return Nt11(r5.raws.quote + r5.value + r5.raws.quote, e7); + case "value-atword": + return ["@", r5.value]; + case "value-unicode-range": + return r5.value; + case "value-unknown": + return r5.value; + case "front-matter": + case "value-comma": + default: + throw new dn7(r5, "PostCSS"); + } +} +function gp2(t26, e7) { + let s5 = new SyntaxError(t26 + " (" + e7.loc.start.line + ":" + e7.loc.start.column + ")"); + return Object.assign(s5, e7); +} +function wp3(t26) { + return t26 !== null && typeof t26 == "object"; +} +function te11(t26, e7, s5) { + if (Se10(t26)) { + delete t26.parent; + for (let r5 in t26) te11(t26[r5], e7, s5), r5 === "type" && typeof t26[r5] == "string" && !t26[r5].startsWith(e7) && (!s5 || !s5.test(t26[r5])) && (t26[r5] = e7 + t26[r5]); + } + return t26; +} +function Bs9(t26) { + if (Se10(t26)) { + delete t26.parent; + for (let e7 in t26) Bs9(t26[e7]); + !Array.isArray(t26) && t26.value && !t26.type && (t26.type = "unknown"); + } + return t26; +} +function Pp2(t26) { + let e7; + try { + e7 = Np2(t26); + } catch { + return { type: "selector-unknown", value: t26 }; + } + return te11(Bs9(e7), "media-"); +} +function Vm2(t26) { + if (/\/[/*]/u.test(E5(0, t26, /"[^"]+"|'[^']+'/gu, ""))) return { type: "selector-unknown", value: t26.trim() }; + let e7; + try { + new gu3.default((s5) => { + e7 = s5; + }).process(t26); + } catch { + return { type: "selector-unknown", value: t26 }; + } + return te11(e7, "selector-"); +} +function qy(t26) { + return Gr7(t26).text.slice(t26.group.open.sourceIndex + 1, t26.group.close.sourceIndex).trim(); +} +function Ly(t26) { + if (ce8(t26)) { + for (let e7 = t26.length - 1; e7 > 0; e7--) if (t26[e7].type === "word" && t26[e7].value === "{" && t26[e7 - 1].type === "word" && t26[e7 - 1].value.endsWith("#")) return true; + } + return false; +} +function Dy(t26) { + return t26.some((e7) => e7.type === "string" || e7.type === "func" && !e7.value.endsWith("\\")); +} +function My(t26, e7) { + return !!(e7.parser === "scss" && t26?.type === "word" && t26.value.startsWith("$")); +} +function By(t26, e7) { + let { nodes: s5 } = t26, r5 = { open: null, close: null, groups: [], type: "paren_group" }, n5 = [r5], i5 = r5, o5 = { groups: [], type: "comma_group" }, u = [o5]; + for (let a5 = 0; a5 < s5.length; ++a5) { + let l5 = s5[a5]; + if (e7.parser === "scss" && l5.type === "number" && l5.unit === ".." && l5.value.endsWith(".") && (l5.value = l5.value.slice(0, -1), l5.unit = "..."), l5.type === "func" && l5.value === "selector" && (l5.group.groups = [se10(Gr7(t26).text.slice(l5.group.open.sourceIndex + 1, l5.group.close.sourceIndex))]), l5.type === "func" && l5.value === "url") { + let f7 = l5.group?.groups ?? [], h5 = []; + for (let c7 = 0; c7 < f7.length; c7++) { + let g5 = f7[c7]; + g5.type === "comma_group" ? h5 = [...h5, ...g5.groups] : h5.push(g5); + } + (ol5(h5) || !al4(h5) && !ul4(h5[0], e7)) && (l5.group.groups = [il5(l5)]); + } + if (l5.type === "paren" && l5.value === "(") r5 = { open: l5, close: null, groups: [], type: "paren_group" }, n5.push(r5), o5 = { groups: [], type: "comma_group" }, u.push(o5); + else if (ll4(l5)) { + if (o5.groups.length > 0 && r5.groups.push(o5), r5.close = l5, u.length === 1) throw new Error("Unbalanced parenthesis"); + u.pop(), o5 = G9(0, u, -1), o5.groups.push(r5), n5.pop(), r5 = G9(0, n5, -1); + } else if (l5.type === "comma") { + if (a5 === s5.length - 3 && s5[a5 + 1].type === "comment" && ll4(s5[a5 + 2])) continue; + r5.groups.push(o5), o5 = { groups: [], type: "comma_group" }, u[u.length - 1] = o5; + } else o5.groups.push(l5); + } + return o5.groups.length > 0 && r5.groups.push(o5), i5; +} +function Yr8(t26) { + return t26.type === "paren_group" && !t26.open && !t26.close && t26.groups.length === 1 || t26.type === "comma_group" && t26.groups.length === 1 ? Yr8(t26.groups[0]) : t26.type === "paren_group" || t26.type === "comma_group" ? { ...t26, groups: t26.groups.map(Yr8) } : t26; +} +function fl4(t26, e7) { + if (Se10(t26)) for (let s5 in t26) s5 !== "parent" && (fl4(t26[s5], e7), s5 === "nodes" && (t26.group = Yr8(By(t26, e7)), delete t26[s5])); + return t26; +} +function Uy(t26, e7) { + if (e7.parser === "less" && t26.startsWith("~`")) return { type: "value-unknown", value: t26 }; + let s5 = null; + try { + s5 = new cl4.default(t26, { loose: true }).parse(); + } catch { + return { type: "value-unknown", value: t26 }; + } + s5.text = t26; + let r5 = fl4(s5, e7); + return te11(r5, "value-", /^selector-/u); +} +function $y(t26) { + return Fy.has(t26); +} +function Wy(t26, e7) { + return e7.parser !== "scss" || !t26.selector ? false : t26.selector.replace(/\/\*.*?\*\//u, "").replace(/\/\/.*\n/u, "").trim().endsWith(":"); +} +function gl4(t26, e7) { + if (Se10(t26)) { + delete t26.parent; + for (let i5 in t26) gl4(t26[i5], e7); + if (!t26.type) return t26; + if (t26.raws ?? (t26.raws = {}), t26.type === "css-decl" && typeof t26.prop == "string" && t26.prop.startsWith("--") && typeof t26.value == "string" && t26.value.startsWith("{")) { + let i5; + if (t26.value.trimEnd().endsWith("}")) { + let o5 = e7.originalText.slice(0, t26.source.start.offset), u = "a".repeat(t26.prop.length) + e7.originalText.slice(t26.source.start.offset + t26.prop.length, t26.source.end.offset), a5 = E5(0, o5, /[^\n]/gu, " ") + u, l5; + e7.parser === "scss" ? l5 = xl4 : e7.parser === "less" ? l5 = vl4 : l5 = wl4; + let f7; + try { + f7 = l5(a5, { ...e7 }); + } catch { + } + f7?.nodes?.length === 1 && f7.nodes[0].type === "css-rule" && (i5 = f7.nodes[0].nodes); + } + return i5 ? t26.value = { type: "css-rule", nodes: i5 } : t26.value = { type: "value-unknown", value: t26.raws.value.raw }, t26; + } + let s5 = ""; + typeof t26.selector == "string" && (s5 = t26.raws.selector ? t26.raws.selector.scss ?? t26.raws.selector.raw : t26.selector, t26.raws.between && t26.raws.between.trim().length > 0 && (s5 += t26.raws.between), t26.raws.selector = s5); + let r5 = ""; + typeof t26.value == "string" && (r5 = t26.raws.value ? t26.raws.value.scss ?? t26.raws.value.raw : t26.value, t26.raws.value = r5.trim()); + let n5 = ""; + if (typeof t26.params == "string" && (n5 = t26.raws.params ? t26.raws.params.scss ?? t26.raws.params.raw : t26.params, t26.raws.afterName && t26.raws.afterName.trim().length > 0 && (n5 = t26.raws.afterName + n5), t26.raws.between && t26.raws.between.trim().length > 0 && (n5 = n5 + t26.raws.between), n5 = n5.trim(), t26.raws.params = n5), s5.trim().length > 0) return s5.startsWith("@") && s5.endsWith(":") ? t26 : t26.mixin ? (t26.selector = de10(s5, e7), t26) : (hl4(t26, e7) && (t26.isSCSSNesterProperty = true), t26.selector = se10(s5), t26); + if (r5.trim().length > 0) { + let i5 = r5.match(Gy); + i5 && (r5 = r5.slice(0, i5.index), t26.scssDefault = true, i5[0].trim() !== "!default" && (t26.raws.scssDefault = i5[0])); + let o5 = r5.match(Yy); + if (o5 && (r5 = r5.slice(0, o5.index), t26.scssGlobal = true, o5[0].trim() !== "!global" && (t26.raws.scssGlobal = o5[0])), r5.startsWith("progid:")) return { type: "value-unknown", value: r5 }; + t26.value = de10(r5, e7); + } + if (e7.parser === "less" && t26.type === "css-decl" && r5.startsWith("extend(") && (t26.extend || (t26.extend = t26.raws.between === ":"), t26.extend && !t26.selector && (delete t26.value, t26.selector = se10(r5.slice(7, -1)))), t26.type === "css-atrule") { + if (e7.parser === "less") { + if (t26.mixin) { + let i5 = t26.raws.identifier + t26.name + t26.raws.afterName + t26.raws.params; + return t26.selector = se10(i5), delete t26.params, t26; + } + if (t26.function) return t26; + } + if (e7.parser === "css" && t26.name === "custom-selector") { + let i5 = t26.params.match(/:--\S+\s+/u)[0].trim(); + return t26.customSelector = i5, t26.selector = se10(t26.params.slice(i5.length).trim()), delete t26.params, t26; + } + if (e7.parser === "less") { + if (t26.name.includes(":")) { + t26.variable = true; + let i5 = t26.name.split(":"); + t26.name = i5[0]; + let o5 = i5.slice(1).join(":"); + t26.params && (o5 += t26.params), t26.value = de10(o5, e7); + } + if (!["page", "nest", "keyframes"].includes(t26.name) && t26.params?.[0] === ":") { + t26.variable = true; + let i5 = t26.params.slice(1); + i5 && (t26.value = de10(i5, e7)), t26.raws.afterName += ":"; + } + if (t26.variable) return delete t26.params, t26.value || delete t26.value, t26; + } + } + if (t26.type === "css-atrule" && n5.length > 0) { + let { name: i5 } = t26, o5 = t26.name.toLowerCase(); + return i5 === "warn" || i5 === "error" ? (t26.params = { type: "media-unknown", value: n5 }, t26) : i5 === "extend" || i5 === "nest" ? (t26.selector = se10(n5), delete t26.params, t26) : i5 === "at-root" ? (/^\(\s*(?:without|with)\s*:.+\)$/su.test(n5) ? t26.params = de10(n5, e7) : (t26.selector = se10(n5), delete t26.params), t26) : pl4(o5) ? (t26.import = true, delete t26.filename, t26.params = de10(n5, e7), t26) : ["namespace", "supports", "if", "else", "for", "each", "while", "debug", "mixin", "include", "function", "return", "define-mixin", "add-mixin"].includes(i5) ? (n5 = n5.replace(/(\$\S+?)(\s+)?\.{3}/u, "$1...$2"), n5 = n5.replace(/^(?!if)([^"'\s(]+)(\s+)\(/u, "$1($2"), t26.value = de10(n5, e7), delete t26.params, t26) : ["media", "custom-media"].includes(o5) ? n5.includes("#{") ? { type: "media-unknown", value: n5 } : (t26.params = Ea4(n5), t26) : (t26.params = n5, t26); + } + } + return t26; +} +function Js9(t26, e7, s5) { + let { frontMatter: r5, content: n5 } = ge9(e7), i5; + try { + i5 = t26(n5, { map: false }); + } catch (o5) { + let { name: u, reason: a5, line: l5, column: f7 } = o5; + throw typeof l5 != "number" ? o5 : ma4(`${u}: ${a5}`, { loc: { start: { line: l5, column: f7 } }, cause: o5 }); + } + return s5.originalText = e7, i5 = gl4(te11(i5, "css-"), s5), Xr5(i5, e7), r5 && (i5.frontMatter = { ...r5, type: "front-matter", source: { startOffset: r5.start.index, endOffset: r5.end.index } }), i5; +} +function wl4(t26, e7 = {}) { + return Js9(dl4.default.default, t26, e7); +} +function vl4(t26, e7 = {}) { + return Js9((s5) => ml4.default.parse(Tn6(s5)), t26, e7); +} +function xl4(t26, e7 = {}) { + return Js9(yl4.default, t26, e7); +} +var bl4, Vr7, El4, Sl4, kl4, Tl4, w6, sn7, Al4, Te9, Oi8, as7, zt9, jt7, it8, Ht10, ut9, Me11, ft9, fe9, Hi8, Ki7, hs7, Ue9, Qt9, $e10, ws7, Xt9, er8, tr9, ht9, wo5, xo3, bo4, So3, Oo4, Po4, Io4, qo3, sr9, Uo3, bs7, Es7, nr8, Ss7, As7, Qo3, Jo4, ir9, aa4, ca3, pa4, da4, Rs8, qs8, xa4, _a4, Us8, Fs8, $s7, ke9, B6, fr9, Pa4, Ia3, Ye9, Da4, Ba4, Fa5, Wa4, Ya4, za4, Ha4, Qa4, Ja5, eu3, ru3, fu3, du3, yu4, j8, F9, _u3, Eu4, Tu4, Ou4, Nu3, Ru3, Lu3, Mu3, Uu3, $u3, Gu2, Vu3, ju3, Ku3, Ju4, el4, nl5, _l4, bt11, Ol3, Cl4, E5, Pl3, G9, Rl3, K10, je10, He9, Et11, ie9, Ae9, St10, oe9, ae8, me11, kt11, Oe10, Tt11, X10, At11, Ce9, Ot11, ue10, ql3, zr7, nn9, $9, ye10, an7, un7, Ne9, C6, M9, Ul3, T5, ce8, cn8, fn8, Wl3, Gl3, pn7, Vl3, hn8, Nt11, jr5, dn7, Pt11, Re10, Ke10, ge9, Xl3, yn8, wn6, Qe10, Zl3, vn6, _8, xn7, tc2, _n6, Kr6, Bw, It10, bn6, qt10, P7, R9, nc3, ic2, Nn5, oc3, An6, ac2, On6, uc2, Pn7, Dn6, Mn5, Bn6, Un6, Gn7, Yn6, Vn6, cc3, fc2, di9, mi9, Wt9, yi8, mc2, yc2, gc2, wc2, vi9, Gt8, Yt7, xi9, _i8, Vt9, De10, Nc2, Ei9, Si9, ki9, Pc2, Ti9, en8, dl4, ml4, yl4, ma4, Se10, ba2, Np2, Ea4, gu3, se10, cl4, Iy, Gr7, il5, ol5, al4, ul4, ll4, de10, Fy, pl4, hl4, Gy, Yy, Zs9, Vy, zy, jy, Hy; +var init_postcss = __esm({ + "node_modules/prettier/plugins/postcss.mjs"() { + bl4 = Object.create; + Vr7 = Object.defineProperty; + El4 = Object.getOwnPropertyDescriptor; + Sl4 = Object.getOwnPropertyNames; + kl4 = Object.getPrototypeOf; + Tl4 = Object.prototype.hasOwnProperty; + w6 = (t26, e7) => () => (e7 || t26((e7 = { exports: {} }).exports, e7), e7.exports); + sn7 = (t26, e7) => { + for (var s5 in e7) Vr7(t26, s5, { get: e7[s5], enumerable: true }); + }; + Al4 = (t26, e7, s5, r5) => { + if (e7 && typeof e7 == "object" || typeof e7 == "function") for (let n5 of Sl4(e7)) !Tl4.call(t26, n5) && n5 !== s5 && Vr7(t26, n5, { get: () => e7[n5], enumerable: !(r5 = El4(e7, n5)) || r5.enumerable }); + return t26; + }; + Te9 = (t26, e7, s5) => (s5 = t26 != null ? bl4(kl4(t26)) : {}, Al4(e7 || !t26 || !t26.__esModule ? Vr7(s5, "default", { value: t26, enumerable: true }) : s5, t26)); + Oi8 = w6((ux, os12) => { + var x12 = String, Ai9 = function() { + return { isColorSupported: false, reset: x12, bold: x12, dim: x12, italic: x12, underline: x12, inverse: x12, hidden: x12, strikethrough: x12, black: x12, red: x12, green: x12, yellow: x12, blue: x12, magenta: x12, cyan: x12, white: x12, gray: x12, bgBlack: x12, bgRed: x12, bgGreen: x12, bgYellow: x12, bgBlue: x12, bgMagenta: x12, bgCyan: x12, bgWhite: x12, blackBright: x12, redBright: x12, greenBright: x12, yellowBright: x12, blueBright: x12, magentaBright: x12, cyanBright: x12, whiteBright: x12, bgBlackBright: x12, bgRedBright: x12, bgGreenBright: x12, bgYellowBright: x12, bgBlueBright: x12, bgMagentaBright: x12, bgCyanBright: x12, bgWhiteBright: x12 }; + }; + os12.exports = Ai9(); + os12.exports.createColors = Ai9; + }); + as7 = w6(() => { + }); + zt9 = w6((fx, Pi8) => { + "use strict"; + var Ci8 = Oi8(), Ni9 = as7(), st8 = class t26 extends Error { + constructor(e7, s5, r5, n5, i5, o5) { + super(e7), this.name = "CssSyntaxError", this.reason = e7, i5 && (this.file = i5), n5 && (this.source = n5), o5 && (this.plugin = o5), typeof s5 < "u" && typeof r5 < "u" && (typeof s5 == "number" ? (this.line = s5, this.column = r5) : (this.line = s5.line, this.column = s5.column, this.endLine = r5.line, this.endColumn = r5.column)), this.setMessage(), Error.captureStackTrace && Error.captureStackTrace(this, t26); + } + setMessage() { + this.message = this.plugin ? this.plugin + ": " : "", this.message += this.file ? this.file : "", typeof this.line < "u" && (this.message += ":" + this.line + ":" + this.column), this.message += ": " + this.reason; + } + showSourceCode(e7) { + if (!this.source) return ""; + let s5 = this.source; + e7 == null && (e7 = Ci8.isColorSupported); + let r5 = (f7) => f7, n5 = (f7) => f7, i5 = (f7) => f7; + if (e7) { + let { bold: f7, gray: h5, red: c7 } = Ci8.createColors(true); + n5 = (g5) => f7(c7(g5)), r5 = (g5) => h5(g5), Ni9 && (i5 = (g5) => Ni9(g5)); + } + let o5 = s5.split(/\r?\n/), u = Math.max(this.line - 3, 0), a5 = Math.min(this.line + 2, o5.length), l5 = String(a5).length; + return o5.slice(u, a5).map((f7, h5) => { + let c7 = u + 1 + h5, g5 = " " + (" " + c7).slice(-l5) + " | "; + if (c7 === this.line) { + if (f7.length > 160) { + let d5 = 20, p4 = Math.max(0, this.column - d5), m7 = Math.max(this.column + d5, this.endColumn + d5), y10 = f7.slice(p4, m7), v9 = r5(g5.replace(/\d/g, " ")) + f7.slice(0, Math.min(this.column - 1, d5 - 1)).replace(/[^\t]/g, " "); + return n5(">") + r5(g5) + i5(y10) + ` + ` + v9 + n5("^"); + } + let b7 = r5(g5.replace(/\d/g, " ")) + f7.slice(0, this.column - 1).replace(/[^\t]/g, " "); + return n5(">") + r5(g5) + i5(f7) + ` + ` + b7 + n5("^"); + } + return " " + r5(g5) + i5(f7); + }).join(` +`); + } + toString() { + let e7 = this.showSourceCode(); + return e7 && (e7 = ` + +` + e7 + ` +`), this.name + ": " + this.message + e7; + } + }; + Pi8.exports = st8; + st8.default = st8; + }); + jt7 = w6((px, Ii8) => { + "use strict"; + var Ri8 = { after: ` +`, beforeClose: ` +`, beforeComment: ` +`, beforeDecl: ` +`, beforeOpen: " ", beforeRule: ` +`, colon: ": ", commentLeft: " ", commentRight: " ", emptyBody: "", indent: " ", semicolon: false }; + function Rc3(t26) { + return t26[0].toUpperCase() + t26.slice(1); + } + var nt11 = class { + constructor(e7) { + this.builder = e7; + } + atrule(e7, s5) { + let r5 = "@" + e7.name, n5 = e7.params ? this.rawValue(e7, "params") : ""; + if (typeof e7.raws.afterName < "u" ? r5 += e7.raws.afterName : n5 && (r5 += " "), e7.nodes) this.block(e7, r5 + n5); + else { + let i5 = (e7.raws.between || "") + (s5 ? ";" : ""); + this.builder(r5 + n5 + i5, e7); + } + } + beforeAfter(e7, s5) { + let r5; + e7.type === "decl" ? r5 = this.raw(e7, null, "beforeDecl") : e7.type === "comment" ? r5 = this.raw(e7, null, "beforeComment") : s5 === "before" ? r5 = this.raw(e7, null, "beforeRule") : r5 = this.raw(e7, null, "beforeClose"); + let n5 = e7.parent, i5 = 0; + for (; n5 && n5.type !== "root"; ) i5 += 1, n5 = n5.parent; + if (r5.includes(` +`)) { + let o5 = this.raw(e7, null, "indent"); + if (o5.length) for (let u = 0; u < i5; u++) r5 += o5; + } + return r5; + } + block(e7, s5) { + let r5 = this.raw(e7, "between", "beforeOpen"); + this.builder(s5 + r5 + "{", e7, "start"); + let n5; + e7.nodes && e7.nodes.length ? (this.body(e7), n5 = this.raw(e7, "after")) : n5 = this.raw(e7, "after", "emptyBody"), n5 && this.builder(n5), this.builder("}", e7, "end"); + } + body(e7) { + let s5 = e7.nodes.length - 1; + for (; s5 > 0 && e7.nodes[s5].type === "comment"; ) s5 -= 1; + let r5 = this.raw(e7, "semicolon"); + for (let n5 = 0; n5 < e7.nodes.length; n5++) { + let i5 = e7.nodes[n5], o5 = this.raw(i5, "before"); + o5 && this.builder(o5), this.stringify(i5, s5 !== n5 || r5); + } + } + comment(e7) { + let s5 = this.raw(e7, "left", "commentLeft"), r5 = this.raw(e7, "right", "commentRight"); + this.builder("/*" + s5 + e7.text + r5 + "*/", e7); + } + decl(e7, s5) { + let r5 = this.raw(e7, "between", "colon"), n5 = e7.prop + r5 + this.rawValue(e7, "value"); + e7.important && (n5 += e7.raws.important || " !important"), s5 && (n5 += ";"), this.builder(n5, e7); + } + document(e7) { + this.body(e7); + } + raw(e7, s5, r5) { + let n5; + if (r5 || (r5 = s5), s5 && (n5 = e7.raws[s5], typeof n5 < "u")) return n5; + let i5 = e7.parent; + if (r5 === "before" && (!i5 || i5.type === "root" && i5.first === e7 || i5 && i5.type === "document")) return ""; + if (!i5) return Ri8[r5]; + let o5 = e7.root(); + if (o5.rawCache || (o5.rawCache = {}), typeof o5.rawCache[r5] < "u") return o5.rawCache[r5]; + if (r5 === "before" || r5 === "after") return this.beforeAfter(e7, r5); + { + let u = "raw" + Rc3(r5); + this[u] ? n5 = this[u](o5, e7) : o5.walk((a5) => { + if (n5 = a5.raws[s5], typeof n5 < "u") return false; + }); + } + return typeof n5 > "u" && (n5 = Ri8[r5]), o5.rawCache[r5] = n5, n5; + } + rawBeforeClose(e7) { + let s5; + return e7.walk((r5) => { + if (r5.nodes && r5.nodes.length > 0 && typeof r5.raws.after < "u") return s5 = r5.raws.after, s5.includes(` +`) && (s5 = s5.replace(/[^\n]+$/, "")), false; + }), s5 && (s5 = s5.replace(/\S/g, "")), s5; + } + rawBeforeComment(e7, s5) { + let r5; + return e7.walkComments((n5) => { + if (typeof n5.raws.before < "u") return r5 = n5.raws.before, r5.includes(` +`) && (r5 = r5.replace(/[^\n]+$/, "")), false; + }), typeof r5 > "u" ? r5 = this.raw(s5, null, "beforeDecl") : r5 && (r5 = r5.replace(/\S/g, "")), r5; + } + rawBeforeDecl(e7, s5) { + let r5; + return e7.walkDecls((n5) => { + if (typeof n5.raws.before < "u") return r5 = n5.raws.before, r5.includes(` +`) && (r5 = r5.replace(/[^\n]+$/, "")), false; + }), typeof r5 > "u" ? r5 = this.raw(s5, null, "beforeRule") : r5 && (r5 = r5.replace(/\S/g, "")), r5; + } + rawBeforeOpen(e7) { + let s5; + return e7.walk((r5) => { + if (r5.type !== "decl" && (s5 = r5.raws.between, typeof s5 < "u")) return false; + }), s5; + } + rawBeforeRule(e7) { + let s5; + return e7.walk((r5) => { + if (r5.nodes && (r5.parent !== e7 || e7.first !== r5) && typeof r5.raws.before < "u") return s5 = r5.raws.before, s5.includes(` +`) && (s5 = s5.replace(/[^\n]+$/, "")), false; + }), s5 && (s5 = s5.replace(/\S/g, "")), s5; + } + rawColon(e7) { + let s5; + return e7.walkDecls((r5) => { + if (typeof r5.raws.between < "u") return s5 = r5.raws.between.replace(/[^\s:]/g, ""), false; + }), s5; + } + rawEmptyBody(e7) { + let s5; + return e7.walk((r5) => { + if (r5.nodes && r5.nodes.length === 0 && (s5 = r5.raws.after, typeof s5 < "u")) return false; + }), s5; + } + rawIndent(e7) { + if (e7.raws.indent) return e7.raws.indent; + let s5; + return e7.walk((r5) => { + let n5 = r5.parent; + if (n5 && n5 !== e7 && n5.parent && n5.parent === e7 && typeof r5.raws.before < "u") { + let i5 = r5.raws.before.split(` +`); + return s5 = i5[i5.length - 1], s5 = s5.replace(/\S/g, ""), false; + } + }), s5; + } + rawSemicolon(e7) { + let s5; + return e7.walk((r5) => { + if (r5.nodes && r5.nodes.length && r5.last.type === "decl" && (s5 = r5.raws.semicolon, typeof s5 < "u")) return false; + }), s5; + } + rawValue(e7, s5) { + let r5 = e7[s5], n5 = e7.raws[s5]; + return n5 && n5.value === r5 ? n5.raw : r5; + } + root(e7) { + this.body(e7), e7.raws.after && this.builder(e7.raws.after); + } + rule(e7) { + this.block(e7, this.rawValue(e7, "selector")), e7.raws.ownSemicolon && this.builder(e7.raws.ownSemicolon, e7, "end"); + } + stringify(e7, s5) { + if (!this[e7.type]) throw new Error("Unknown AST node type " + e7.type + ". Maybe you need to change PostCSS stringifier."); + this[e7.type](e7, s5); + } + }; + Ii8.exports = nt11; + nt11.default = nt11; + }); + it8 = w6((hx, qi8) => { + "use strict"; + var Ic3 = jt7(); + function us8(t26, e7) { + new Ic3(e7).stringify(t26); + } + qi8.exports = us8; + us8.default = us8; + }); + Ht10 = w6((dx2, ls7) => { + "use strict"; + ls7.exports.isClean = /* @__PURE__ */ Symbol("isClean"); + ls7.exports.my = /* @__PURE__ */ Symbol("my"); + }); + ut9 = w6((mx, Li8) => { + "use strict"; + var qc3 = zt9(), Lc2 = jt7(), Dc2 = it8(), { isClean: ot8, my: Mc2 } = Ht10(); + function cs7(t26, e7) { + let s5 = new t26.constructor(); + for (let r5 in t26) { + if (!Object.prototype.hasOwnProperty.call(t26, r5) || r5 === "proxyCache") continue; + let n5 = t26[r5], i5 = typeof n5; + r5 === "parent" && i5 === "object" ? e7 && (s5[r5] = e7) : r5 === "source" ? s5[r5] = n5 : Array.isArray(n5) ? s5[r5] = n5.map((o5) => cs7(o5, s5)) : (i5 === "object" && n5 !== null && (n5 = cs7(n5)), s5[r5] = n5); + } + return s5; + } + function ee8(t26, e7) { + if (e7 && typeof e7.offset < "u") return e7.offset; + let s5 = 1, r5 = 1, n5 = 0; + for (let i5 = 0; i5 < t26.length; i5++) { + if (r5 === e7.line && s5 === e7.column) { + n5 = i5; + break; + } + t26[i5] === ` +` ? (s5 = 1, r5 += 1) : s5 += 1; + } + return n5; + } + var at11 = class { + get proxyOf() { + return this; + } + constructor(e7 = {}) { + this.raws = {}, this[ot8] = false, this[Mc2] = true; + for (let s5 in e7) if (s5 === "nodes") { + this.nodes = []; + for (let r5 of e7[s5]) typeof r5.clone == "function" ? this.append(r5.clone()) : this.append(r5); + } else this[s5] = e7[s5]; + } + addToError(e7) { + if (e7.postcssNode = this, e7.stack && this.source && /\n\s{4}at /.test(e7.stack)) { + let s5 = this.source; + e7.stack = e7.stack.replace(/\n\s{4}at /, `$&${s5.input.from}:${s5.start.line}:${s5.start.column}$&`); + } + return e7; + } + after(e7) { + return this.parent.insertAfter(this, e7), this; + } + assign(e7 = {}) { + for (let s5 in e7) this[s5] = e7[s5]; + return this; + } + before(e7) { + return this.parent.insertBefore(this, e7), this; + } + cleanRaws(e7) { + delete this.raws.before, delete this.raws.after, e7 || delete this.raws.between; + } + clone(e7 = {}) { + let s5 = cs7(this); + for (let r5 in e7) s5[r5] = e7[r5]; + return s5; + } + cloneAfter(e7 = {}) { + let s5 = this.clone(e7); + return this.parent.insertAfter(this, s5), s5; + } + cloneBefore(e7 = {}) { + let s5 = this.clone(e7); + return this.parent.insertBefore(this, s5), s5; + } + error(e7, s5 = {}) { + if (this.source) { + let { end: r5, start: n5 } = this.rangeBy(s5); + return this.source.input.error(e7, { column: n5.column, line: n5.line }, { column: r5.column, line: r5.line }, s5); + } + return new qc3(e7); + } + getProxyProcessor() { + return { get(e7, s5) { + return s5 === "proxyOf" ? e7 : s5 === "root" ? () => e7.root().toProxy() : e7[s5]; + }, set(e7, s5, r5) { + return e7[s5] === r5 || (e7[s5] = r5, (s5 === "prop" || s5 === "value" || s5 === "name" || s5 === "params" || s5 === "important" || s5 === "text") && e7.markDirty()), true; + } }; + } + markClean() { + this[ot8] = true; + } + markDirty() { + if (this[ot8]) { + this[ot8] = false; + let e7 = this; + for (; e7 = e7.parent; ) e7[ot8] = false; + } + } + next() { + if (!this.parent) return; + let e7 = this.parent.index(this); + return this.parent.nodes[e7 + 1]; + } + positionBy(e7 = {}) { + let s5 = this.source.start; + if (e7.index) s5 = this.positionInside(e7.index); + else if (e7.word) { + let r5 = "document" in this.source.input ? this.source.input.document : this.source.input.css, i5 = r5.slice(ee8(r5, this.source.start), ee8(r5, this.source.end)).indexOf(e7.word); + i5 !== -1 && (s5 = this.positionInside(i5)); + } + return s5; + } + positionInside(e7) { + let s5 = this.source.start.column, r5 = this.source.start.line, n5 = "document" in this.source.input ? this.source.input.document : this.source.input.css, i5 = ee8(n5, this.source.start), o5 = i5 + e7; + for (let u = i5; u < o5; u++) n5[u] === ` +` ? (s5 = 1, r5 += 1) : s5 += 1; + return { column: s5, line: r5, offset: o5 }; + } + prev() { + if (!this.parent) return; + let e7 = this.parent.index(this); + return this.parent.nodes[e7 - 1]; + } + rangeBy(e7 = {}) { + let s5 = "document" in this.source.input ? this.source.input.document : this.source.input.css, r5 = { column: this.source.start.column, line: this.source.start.line, offset: ee8(s5, this.source.start) }, n5 = this.source.end ? { column: this.source.end.column + 1, line: this.source.end.line, offset: typeof this.source.end.offset == "number" ? this.source.end.offset : ee8(s5, this.source.end) + 1 } : { column: r5.column + 1, line: r5.line, offset: r5.offset + 1 }; + if (e7.word) { + let o5 = s5.slice(ee8(s5, this.source.start), ee8(s5, this.source.end)).indexOf(e7.word); + o5 !== -1 && (r5 = this.positionInside(o5), n5 = this.positionInside(o5 + e7.word.length)); + } else e7.start ? r5 = { column: e7.start.column, line: e7.start.line, offset: ee8(s5, e7.start) } : e7.index && (r5 = this.positionInside(e7.index)), e7.end ? n5 = { column: e7.end.column, line: e7.end.line, offset: ee8(s5, e7.end) } : typeof e7.endIndex == "number" ? n5 = this.positionInside(e7.endIndex) : e7.index && (n5 = this.positionInside(e7.index + 1)); + return (n5.line < r5.line || n5.line === r5.line && n5.column <= r5.column) && (n5 = { column: r5.column + 1, line: r5.line, offset: r5.offset + 1 }), { end: n5, start: r5 }; + } + raw(e7, s5) { + return new Lc2().raw(this, e7, s5); + } + remove() { + return this.parent && this.parent.removeChild(this), this.parent = void 0, this; + } + replaceWith(...e7) { + if (this.parent) { + let s5 = this, r5 = false; + for (let n5 of e7) n5 === this ? r5 = true : r5 ? (this.parent.insertAfter(s5, n5), s5 = n5) : this.parent.insertBefore(s5, n5); + r5 || this.remove(); + } + return this; + } + root() { + let e7 = this; + for (; e7.parent && e7.parent.type !== "document"; ) e7 = e7.parent; + return e7; + } + toJSON(e7, s5) { + let r5 = {}, n5 = s5 == null; + s5 = s5 || /* @__PURE__ */ new Map(); + let i5 = 0; + for (let o5 in this) { + if (!Object.prototype.hasOwnProperty.call(this, o5) || o5 === "parent" || o5 === "proxyCache") continue; + let u = this[o5]; + if (Array.isArray(u)) r5[o5] = u.map((a5) => typeof a5 == "object" && a5.toJSON ? a5.toJSON(null, s5) : a5); + else if (typeof u == "object" && u.toJSON) r5[o5] = u.toJSON(null, s5); + else if (o5 === "source") { + if (u == null) continue; + let a5 = s5.get(u.input); + a5 == null && (a5 = i5, s5.set(u.input, i5), i5++), r5[o5] = { end: u.end, inputId: a5, start: u.start }; + } else r5[o5] = u; + } + return n5 && (r5.inputs = [...s5.keys()].map((o5) => o5.toJSON())), r5; + } + toProxy() { + return this.proxyCache || (this.proxyCache = new Proxy(this, this.getProxyProcessor())), this.proxyCache; + } + toString(e7 = Dc2) { + e7.stringify && (e7 = e7.stringify); + let s5 = ""; + return e7(this, (r5) => { + s5 += r5; + }), s5; + } + warn(e7, s5, r5 = {}) { + let n5 = { node: this }; + for (let i5 in r5) n5[i5] = r5[i5]; + return e7.warn(s5, n5); + } + }; + Li8.exports = at11; + at11.default = at11; + }); + Me11 = w6((yx, Di8) => { + "use strict"; + var Bc2 = ut9(), lt8 = class extends Bc2 { + constructor(e7) { + super(e7), this.type = "comment"; + } + }; + Di8.exports = lt8; + lt8.default = lt8; + }); + ft9 = w6((gx, Mi7) => { + "use strict"; + var Uc2 = ut9(), ct9 = class extends Uc2 { + get variable() { + return this.prop.startsWith("--") || this.prop[0] === "$"; + } + constructor(e7) { + e7 && typeof e7.value < "u" && typeof e7.value != "string" && (e7 = { ...e7, value: String(e7.value) }), super(e7), this.type = "decl"; + } + }; + Mi7.exports = ct9; + ct9.default = ct9; + }); + fe9 = w6((wx, zi8) => { + "use strict"; + var Bi8 = Me11(), Ui8 = ft9(), Fc2 = ut9(), { isClean: Fi8, my: $i9 } = Ht10(), fs14, Wi8, Gi8, ps7; + function Yi9(t26) { + return t26.map((e7) => (e7.nodes && (e7.nodes = Yi9(e7.nodes)), delete e7.source, e7)); + } + function Vi8(t26) { + if (t26[Fi8] = false, t26.proxyOf.nodes) for (let e7 of t26.proxyOf.nodes) Vi8(e7); + } + var z9 = class t26 extends Fc2 { + get first() { + if (this.proxyOf.nodes) return this.proxyOf.nodes[0]; + } + get last() { + if (this.proxyOf.nodes) return this.proxyOf.nodes[this.proxyOf.nodes.length - 1]; + } + append(...e7) { + for (let s5 of e7) { + let r5 = this.normalize(s5, this.last); + for (let n5 of r5) this.proxyOf.nodes.push(n5); + } + return this.markDirty(), this; + } + cleanRaws(e7) { + if (super.cleanRaws(e7), this.nodes) for (let s5 of this.nodes) s5.cleanRaws(e7); + } + each(e7) { + if (!this.proxyOf.nodes) return; + let s5 = this.getIterator(), r5, n5; + for (; this.indexes[s5] < this.proxyOf.nodes.length && (r5 = this.indexes[s5], n5 = e7(this.proxyOf.nodes[r5], r5), n5 !== false); ) this.indexes[s5] += 1; + return delete this.indexes[s5], n5; + } + every(e7) { + return this.nodes.every(e7); + } + getIterator() { + this.lastEach || (this.lastEach = 0), this.indexes || (this.indexes = {}), this.lastEach += 1; + let e7 = this.lastEach; + return this.indexes[e7] = 0, e7; + } + getProxyProcessor() { + return { get(e7, s5) { + return s5 === "proxyOf" ? e7 : e7[s5] ? s5 === "each" || typeof s5 == "string" && s5.startsWith("walk") ? (...r5) => e7[s5](...r5.map((n5) => typeof n5 == "function" ? (i5, o5) => n5(i5.toProxy(), o5) : n5)) : s5 === "every" || s5 === "some" ? (r5) => e7[s5]((n5, ...i5) => r5(n5.toProxy(), ...i5)) : s5 === "root" ? () => e7.root().toProxy() : s5 === "nodes" ? e7.nodes.map((r5) => r5.toProxy()) : s5 === "first" || s5 === "last" ? e7[s5].toProxy() : e7[s5] : e7[s5]; + }, set(e7, s5, r5) { + return e7[s5] === r5 || (e7[s5] = r5, (s5 === "name" || s5 === "params" || s5 === "selector") && e7.markDirty()), true; + } }; + } + index(e7) { + return typeof e7 == "number" ? e7 : (e7.proxyOf && (e7 = e7.proxyOf), this.proxyOf.nodes.indexOf(e7)); + } + insertAfter(e7, s5) { + let r5 = this.index(e7), n5 = this.normalize(s5, this.proxyOf.nodes[r5]).reverse(); + r5 = this.index(e7); + for (let o5 of n5) this.proxyOf.nodes.splice(r5 + 1, 0, o5); + let i5; + for (let o5 in this.indexes) i5 = this.indexes[o5], r5 < i5 && (this.indexes[o5] = i5 + n5.length); + return this.markDirty(), this; + } + insertBefore(e7, s5) { + let r5 = this.index(e7), n5 = r5 === 0 ? "prepend" : false, i5 = this.normalize(s5, this.proxyOf.nodes[r5], n5).reverse(); + r5 = this.index(e7); + for (let u of i5) this.proxyOf.nodes.splice(r5, 0, u); + let o5; + for (let u in this.indexes) o5 = this.indexes[u], r5 <= o5 && (this.indexes[u] = o5 + i5.length); + return this.markDirty(), this; + } + normalize(e7, s5) { + if (typeof e7 == "string") e7 = Yi9(Wi8(e7).nodes); + else if (typeof e7 > "u") e7 = []; + else if (Array.isArray(e7)) { + e7 = e7.slice(0); + for (let n5 of e7) n5.parent && n5.parent.removeChild(n5, "ignore"); + } else if (e7.type === "root" && this.type !== "document") { + e7 = e7.nodes.slice(0); + for (let n5 of e7) n5.parent && n5.parent.removeChild(n5, "ignore"); + } else if (e7.type) e7 = [e7]; + else if (e7.prop) { + if (typeof e7.value > "u") throw new Error("Value field is missed in node creation"); + typeof e7.value != "string" && (e7.value = String(e7.value)), e7 = [new Ui8(e7)]; + } else if (e7.selector || e7.selectors) e7 = [new ps7(e7)]; + else if (e7.name) e7 = [new fs14(e7)]; + else if (e7.text) e7 = [new Bi8(e7)]; + else throw new Error("Unknown node type in node creation"); + return e7.map((n5) => (n5[$i9] || t26.rebuild(n5), n5 = n5.proxyOf, n5.parent && n5.parent.removeChild(n5), n5[Fi8] && Vi8(n5), n5.raws || (n5.raws = {}), typeof n5.raws.before > "u" && s5 && typeof s5.raws.before < "u" && (n5.raws.before = s5.raws.before.replace(/\S/g, "")), n5.parent = this.proxyOf, n5)); + } + prepend(...e7) { + e7 = e7.reverse(); + for (let s5 of e7) { + let r5 = this.normalize(s5, this.first, "prepend").reverse(); + for (let n5 of r5) this.proxyOf.nodes.unshift(n5); + for (let n5 in this.indexes) this.indexes[n5] = this.indexes[n5] + r5.length; + } + return this.markDirty(), this; + } + push(e7) { + return e7.parent = this, this.proxyOf.nodes.push(e7), this; + } + removeAll() { + for (let e7 of this.proxyOf.nodes) e7.parent = void 0; + return this.proxyOf.nodes = [], this.markDirty(), this; + } + removeChild(e7) { + e7 = this.index(e7), this.proxyOf.nodes[e7].parent = void 0, this.proxyOf.nodes.splice(e7, 1); + let s5; + for (let r5 in this.indexes) s5 = this.indexes[r5], s5 >= e7 && (this.indexes[r5] = s5 - 1); + return this.markDirty(), this; + } + replaceValues(e7, s5, r5) { + return r5 || (r5 = s5, s5 = {}), this.walkDecls((n5) => { + s5.props && !s5.props.includes(n5.prop) || s5.fast && !n5.value.includes(s5.fast) || (n5.value = n5.value.replace(e7, r5)); + }), this.markDirty(), this; + } + some(e7) { + return this.nodes.some(e7); + } + walk(e7) { + return this.each((s5, r5) => { + let n5; + try { + n5 = e7(s5, r5); + } catch (i5) { + throw s5.addToError(i5); + } + return n5 !== false && s5.walk && (n5 = s5.walk(e7)), n5; + }); + } + walkAtRules(e7, s5) { + return s5 ? e7 instanceof RegExp ? this.walk((r5, n5) => { + if (r5.type === "atrule" && e7.test(r5.name)) return s5(r5, n5); + }) : this.walk((r5, n5) => { + if (r5.type === "atrule" && r5.name === e7) return s5(r5, n5); + }) : (s5 = e7, this.walk((r5, n5) => { + if (r5.type === "atrule") return s5(r5, n5); + })); + } + walkComments(e7) { + return this.walk((s5, r5) => { + if (s5.type === "comment") return e7(s5, r5); + }); + } + walkDecls(e7, s5) { + return s5 ? e7 instanceof RegExp ? this.walk((r5, n5) => { + if (r5.type === "decl" && e7.test(r5.prop)) return s5(r5, n5); + }) : this.walk((r5, n5) => { + if (r5.type === "decl" && r5.prop === e7) return s5(r5, n5); + }) : (s5 = e7, this.walk((r5, n5) => { + if (r5.type === "decl") return s5(r5, n5); + })); + } + walkRules(e7, s5) { + return s5 ? e7 instanceof RegExp ? this.walk((r5, n5) => { + if (r5.type === "rule" && e7.test(r5.selector)) return s5(r5, n5); + }) : this.walk((r5, n5) => { + if (r5.type === "rule" && r5.selector === e7) return s5(r5, n5); + }) : (s5 = e7, this.walk((r5, n5) => { + if (r5.type === "rule") return s5(r5, n5); + })); + } + }; + z9.registerParse = (t26) => { + Wi8 = t26; + }; + z9.registerRule = (t26) => { + ps7 = t26; + }; + z9.registerAtRule = (t26) => { + fs14 = t26; + }; + z9.registerRoot = (t26) => { + Gi8 = t26; + }; + zi8.exports = z9; + z9.default = z9; + z9.rebuild = (t26) => { + t26.type === "atrule" ? Object.setPrototypeOf(t26, fs14.prototype) : t26.type === "rule" ? Object.setPrototypeOf(t26, ps7.prototype) : t26.type === "decl" ? Object.setPrototypeOf(t26, Ui8.prototype) : t26.type === "comment" ? Object.setPrototypeOf(t26, Bi8.prototype) : t26.type === "root" && Object.setPrototypeOf(t26, Gi8.prototype), t26[$i9] = true, t26.nodes && t26.nodes.forEach((e7) => { + z9.rebuild(e7); + }); + }; + }); + Hi8 = w6((vx, ji7) => { + var $c2 = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", Wc2 = (t26, e7 = 21) => (s5 = e7) => { + let r5 = "", n5 = s5 | 0; + for (; n5--; ) r5 += t26[Math.random() * t26.length | 0]; + return r5; + }, Gc2 = (t26 = 21) => { + let e7 = "", s5 = t26 | 0; + for (; s5--; ) e7 += $c2[Math.random() * 64 | 0]; + return e7; + }; + ji7.exports = { nanoid: Gc2, customAlphabet: Wc2 }; + }); + Ki7 = w6(() => { + }); + hs7 = w6((bx, Qi9) => { + Qi9.exports = class { + }; + }); + Ue9 = w6((Sx, to6) => { + "use strict"; + var { nanoid: Yc3 } = Hi8(), { isAbsolute: ys8, resolve: gs7 } = {}, { SourceMapConsumer: Vc3, SourceMapGenerator: zc3 } = Ki7(), { fileURLToPath: Xi9, pathToFileURL: Kt9 } = {}, Ji7 = zt9(), jc2 = hs7(), ds7 = as7(), ms8 = /* @__PURE__ */ Symbol("lineToIndexCache"), Hc2 = !!(Vc3 && zc3), Zi8 = !!(gs7 && ys8); + function eo5(t26) { + if (t26[ms8]) return t26[ms8]; + let e7 = t26.css.split(` +`), s5 = new Array(e7.length), r5 = 0; + for (let n5 = 0, i5 = e7.length; n5 < i5; n5++) s5[n5] = r5, r5 += e7[n5].length + 1; + return t26[ms8] = s5, s5; + } + var Be10 = class { + get from() { + return this.file || this.id; + } + constructor(e7, s5 = {}) { + if (e7 === null || typeof e7 > "u" || typeof e7 == "object" && !e7.toString) throw new Error(`PostCSS received ${e7} instead of CSS string`); + if (this.css = e7.toString(), this.css[0] === "\uFEFF" || this.css[0] === "\uFFFE" ? (this.hasBOM = true, this.css = this.css.slice(1)) : this.hasBOM = false, this.document = this.css, s5.document && (this.document = s5.document.toString()), s5.from && (!Zi8 || /^\w+:\/\//.test(s5.from) || ys8(s5.from) ? this.file = s5.from : this.file = gs7(s5.from)), Zi8 && Hc2) { + let r5 = new jc2(this.css, s5); + if (r5.text) { + this.map = r5; + let n5 = r5.consumer().file; + !this.file && n5 && (this.file = this.mapResolve(n5)); + } + } + this.file || (this.id = ""), this.map && (this.map.file = this.from); + } + error(e7, s5, r5, n5 = {}) { + let i5, o5, u, a5, l5; + if (s5 && typeof s5 == "object") { + let h5 = s5, c7 = r5; + if (typeof h5.offset == "number") { + a5 = h5.offset; + let g5 = this.fromOffset(a5); + s5 = g5.line, r5 = g5.col; + } else s5 = h5.line, r5 = h5.column, a5 = this.fromLineAndColumn(s5, r5); + if (typeof c7.offset == "number") { + u = c7.offset; + let g5 = this.fromOffset(u); + o5 = g5.line, i5 = g5.col; + } else o5 = c7.line, i5 = c7.column, u = this.fromLineAndColumn(c7.line, c7.column); + } else if (r5) a5 = this.fromLineAndColumn(s5, r5); + else { + a5 = s5; + let h5 = this.fromOffset(a5); + s5 = h5.line, r5 = h5.col; + } + let f7 = this.origin(s5, r5, o5, i5); + return f7 ? l5 = new Ji7(e7, f7.endLine === void 0 ? f7.line : { column: f7.column, line: f7.line }, f7.endLine === void 0 ? f7.column : { column: f7.endColumn, line: f7.endLine }, f7.source, f7.file, n5.plugin) : l5 = new Ji7(e7, o5 === void 0 ? s5 : { column: r5, line: s5 }, o5 === void 0 ? r5 : { column: i5, line: o5 }, this.css, this.file, n5.plugin), l5.input = { column: r5, endColumn: i5, endLine: o5, endOffset: u, line: s5, offset: a5, source: this.css }, this.file && (Kt9 && (l5.input.url = Kt9(this.file).toString()), l5.input.file = this.file), l5; + } + fromLineAndColumn(e7, s5) { + return eo5(this)[e7 - 1] + s5 - 1; + } + fromOffset(e7) { + let s5 = eo5(this), r5 = s5[s5.length - 1], n5 = 0; + if (e7 >= r5) n5 = s5.length - 1; + else { + let i5 = s5.length - 2, o5; + for (; n5 < i5; ) if (o5 = n5 + (i5 - n5 >> 1), e7 < s5[o5]) i5 = o5 - 1; + else if (e7 >= s5[o5 + 1]) n5 = o5 + 1; + else { + n5 = o5; + break; + } + } + return { col: e7 - s5[n5] + 1, line: n5 + 1 }; + } + mapResolve(e7) { + return /^\w+:\/\//.test(e7) ? e7 : gs7(this.map.consumer().sourceRoot || this.map.root || ".", e7); + } + origin(e7, s5, r5, n5) { + if (!this.map) return false; + let i5 = this.map.consumer(), o5 = i5.originalPositionFor({ column: s5, line: e7 }); + if (!o5.source) return false; + let u; + typeof r5 == "number" && (u = i5.originalPositionFor({ column: n5, line: r5 })); + let a5; + ys8(o5.source) ? a5 = Kt9(o5.source) : a5 = new URL(o5.source, this.map.consumer().sourceRoot || Kt9(this.map.mapFile)); + let l5 = { column: o5.column, endColumn: u && u.column, endLine: u && u.line, line: o5.line, url: a5.toString() }; + if (a5.protocol === "file:") if (Xi9) l5.file = Xi9(a5); + else throw new Error("file: protocol is not available in this PostCSS build"); + let f7 = i5.sourceContentFor(o5.source); + return f7 && (l5.source = f7), l5; + } + toJSON() { + let e7 = {}; + for (let s5 of ["hasBOM", "css", "file", "id"]) this[s5] != null && (e7[s5] = this[s5]); + return this.map && (e7.map = { ...this.map }, e7.map.consumerCache && (e7.map.consumerCache = void 0)), e7; + } + }; + to6.exports = Be10; + Be10.default = Be10; + ds7 && ds7.registerInput && ds7.registerInput(Be10); + }); + Qt9 = w6((kx, so5) => { + "use strict"; + var ro5 = fe9(), Fe10 = class extends ro5 { + constructor(e7) { + super(e7), this.type = "atrule"; + } + append(...e7) { + return this.proxyOf.nodes || (this.nodes = []), super.append(...e7); + } + prepend(...e7) { + return this.proxyOf.nodes || (this.nodes = []), super.prepend(...e7); + } + }; + so5.exports = Fe10; + Fe10.default = Fe10; + ro5.registerAtRule(Fe10); + }); + $e10 = w6((Tx2, ao5) => { + "use strict"; + var no6 = fe9(), io5, oo6, pe9 = class extends no6 { + constructor(e7) { + super(e7), this.type = "root", this.nodes || (this.nodes = []); + } + normalize(e7, s5, r5) { + let n5 = super.normalize(e7); + if (s5) { + if (r5 === "prepend") this.nodes.length > 1 ? s5.raws.before = this.nodes[1].raws.before : delete s5.raws.before; + else if (this.first !== s5) for (let i5 of n5) i5.raws.before = s5.raws.before; + } + return n5; + } + removeChild(e7, s5) { + let r5 = this.index(e7); + return !s5 && r5 === 0 && this.nodes.length > 1 && (this.nodes[1].raws.before = this.nodes[r5].raws.before), super.removeChild(e7); + } + toResult(e7 = {}) { + return new io5(new oo6(), this, e7).stringify(); + } + }; + pe9.registerLazyResult = (t26) => { + io5 = t26; + }; + pe9.registerProcessor = (t26) => { + oo6 = t26; + }; + ao5.exports = pe9; + pe9.default = pe9; + no6.registerRoot(pe9); + }); + ws7 = w6((Ax, uo5) => { + "use strict"; + var pt10 = { comma(t26) { + return pt10.split(t26, [","], true); + }, space(t26) { + let e7 = [" ", ` +`, " "]; + return pt10.split(t26, e7); + }, split(t26, e7, s5) { + let r5 = [], n5 = "", i5 = false, o5 = 0, u = false, a5 = "", l5 = false; + for (let f7 of t26) l5 ? l5 = false : f7 === "\\" ? l5 = true : u ? f7 === a5 && (u = false) : f7 === '"' || f7 === "'" ? (u = true, a5 = f7) : f7 === "(" ? o5 += 1 : f7 === ")" ? o5 > 0 && (o5 -= 1) : o5 === 0 && e7.includes(f7) && (i5 = true), i5 ? (n5 !== "" && r5.push(n5.trim()), n5 = "", i5 = false) : n5 += f7; + return (s5 || n5 !== "") && r5.push(n5.trim()), r5; + } }; + uo5.exports = pt10; + pt10.default = pt10; + }); + Xt9 = w6((Ox, co5) => { + "use strict"; + var lo5 = fe9(), Kc2 = ws7(), We12 = class extends lo5 { + get selectors() { + return Kc2.comma(this.selector); + } + set selectors(e7) { + let s5 = this.selector ? this.selector.match(/,\s*/) : null, r5 = s5 ? s5[0] : "," + this.raw("between", "beforeOpen"); + this.selector = e7.join(r5); + } + constructor(e7) { + super(e7), this.type = "rule", this.nodes || (this.nodes = []); + } + }; + co5.exports = We12; + We12.default = We12; + lo5.registerRule(We12); + }); + er8 = w6((Cx, po6) => { + "use strict"; + var Jt10 = /[\t\n\f\r "#'()/;[\\\]{}]/g, Zt11 = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g, Qc2 = /.[\r\n"'(/\\]/, fo5 = /[\da-f]/i; + po6.exports = function(e7, s5 = {}) { + let r5 = e7.css.valueOf(), n5 = s5.ignoreErrors, i5, o5, u, a5, l5, f7, h5, c7, g5, b7, d5 = r5.length, p4 = 0, m7 = [], y10 = []; + function v9() { + return p4; + } + function O7(W10) { + throw e7.error("Unclosed " + W10, p4); + } + function q11() { + return y10.length === 0 && p4 >= d5; + } + function H11(W10) { + if (y10.length) return y10.pop(); + if (p4 >= d5) return; + let A9 = W10 ? W10.ignoreUnclosed : false; + switch (i5 = r5.charCodeAt(p4), i5) { + case 10: + case 32: + case 9: + case 13: + case 12: { + a5 = p4; + do + a5 += 1, i5 = r5.charCodeAt(a5); + while (i5 === 32 || i5 === 10 || i5 === 9 || i5 === 13 || i5 === 12); + f7 = ["space", r5.slice(p4, a5)], p4 = a5 - 1; + break; + } + case 91: + case 93: + case 123: + case 125: + case 58: + case 59: + case 41: { + let k8 = String.fromCharCode(i5); + f7 = [k8, k8, p4]; + break; + } + case 40: { + if (b7 = m7.length ? m7.pop()[1] : "", g5 = r5.charCodeAt(p4 + 1), b7 === "url" && g5 !== 39 && g5 !== 34 && g5 !== 32 && g5 !== 10 && g5 !== 9 && g5 !== 12 && g5 !== 13) { + a5 = p4; + do { + if (h5 = false, a5 = r5.indexOf(")", a5 + 1), a5 === -1) if (n5 || A9) { + a5 = p4; + break; + } else O7("bracket"); + for (c7 = a5; r5.charCodeAt(c7 - 1) === 92; ) c7 -= 1, h5 = !h5; + } while (h5); + f7 = ["brackets", r5.slice(p4, a5 + 1), p4, a5], p4 = a5; + } else a5 = r5.indexOf(")", p4 + 1), o5 = r5.slice(p4, a5 + 1), a5 === -1 || Qc2.test(o5) ? f7 = ["(", "(", p4] : (f7 = ["brackets", o5, p4, a5], p4 = a5); + break; + } + case 39: + case 34: { + l5 = i5 === 39 ? "'" : '"', a5 = p4; + do { + if (h5 = false, a5 = r5.indexOf(l5, a5 + 1), a5 === -1) if (n5 || A9) { + a5 = p4 + 1; + break; + } else O7("string"); + for (c7 = a5; r5.charCodeAt(c7 - 1) === 92; ) c7 -= 1, h5 = !h5; + } while (h5); + f7 = ["string", r5.slice(p4, a5 + 1), p4, a5], p4 = a5; + break; + } + case 64: { + Jt10.lastIndex = p4 + 1, Jt10.test(r5), Jt10.lastIndex === 0 ? a5 = r5.length - 1 : a5 = Jt10.lastIndex - 2, f7 = ["at-word", r5.slice(p4, a5 + 1), p4, a5], p4 = a5; + break; + } + case 92: { + for (a5 = p4, u = true; r5.charCodeAt(a5 + 1) === 92; ) a5 += 1, u = !u; + if (i5 = r5.charCodeAt(a5 + 1), u && i5 !== 47 && i5 !== 32 && i5 !== 10 && i5 !== 9 && i5 !== 13 && i5 !== 12 && (a5 += 1, fo5.test(r5.charAt(a5)))) { + for (; fo5.test(r5.charAt(a5 + 1)); ) a5 += 1; + r5.charCodeAt(a5 + 1) === 32 && (a5 += 1); + } + f7 = ["word", r5.slice(p4, a5 + 1), p4, a5], p4 = a5; + break; + } + default: { + i5 === 47 && r5.charCodeAt(p4 + 1) === 42 ? (a5 = r5.indexOf("*/", p4 + 2) + 1, a5 === 0 && (n5 || A9 ? a5 = r5.length : O7("comment")), f7 = ["comment", r5.slice(p4, a5 + 1), p4, a5], p4 = a5) : (Zt11.lastIndex = p4 + 1, Zt11.test(r5), Zt11.lastIndex === 0 ? a5 = r5.length - 1 : a5 = Zt11.lastIndex - 2, f7 = ["word", r5.slice(p4, a5 + 1), p4, a5], m7.push(f7), p4 = a5); + break; + } + } + return p4++, f7; + } + function ne11(W10) { + y10.push(W10); + } + return { back: ne11, endOfFile: q11, nextToken: H11, position: v9 }; + }; + }); + tr9 = w6((Nx, yo3) => { + "use strict"; + var Xc2 = Qt9(), Jc2 = Me11(), Zc2 = ft9(), ef3 = $e10(), ho3 = Xt9(), tf3 = er8(), mo3 = { empty: true, space: true }; + function rf3(t26) { + for (let e7 = t26.length - 1; e7 >= 0; e7--) { + let s5 = t26[e7], r5 = s5[3] || s5[2]; + if (r5) return r5; + } + } + var vs9 = class { + constructor(e7) { + this.input = e7, this.root = new ef3(), this.current = this.root, this.spaces = "", this.semicolon = false, this.createTokenizer(), this.root.source = { input: e7, start: { column: 1, line: 1, offset: 0 } }; + } + atrule(e7) { + let s5 = new Xc2(); + s5.name = e7[1].slice(1), s5.name === "" && this.unnamedAtrule(s5, e7), this.init(s5, e7[2]); + let r5, n5, i5, o5 = false, u = false, a5 = [], l5 = []; + for (; !this.tokenizer.endOfFile(); ) { + if (e7 = this.tokenizer.nextToken(), r5 = e7[0], r5 === "(" || r5 === "[" ? l5.push(r5 === "(" ? ")" : "]") : r5 === "{" && l5.length > 0 ? l5.push("}") : r5 === l5[l5.length - 1] && l5.pop(), l5.length === 0) if (r5 === ";") { + s5.source.end = this.getPosition(e7[2]), s5.source.end.offset++, this.semicolon = true; + break; + } else if (r5 === "{") { + u = true; + break; + } else if (r5 === "}") { + if (a5.length > 0) { + for (i5 = a5.length - 1, n5 = a5[i5]; n5 && n5[0] === "space"; ) n5 = a5[--i5]; + n5 && (s5.source.end = this.getPosition(n5[3] || n5[2]), s5.source.end.offset++); + } + this.end(e7); + break; + } else a5.push(e7); + else a5.push(e7); + if (this.tokenizer.endOfFile()) { + o5 = true; + break; + } + } + s5.raws.between = this.spacesAndCommentsFromEnd(a5), a5.length ? (s5.raws.afterName = this.spacesAndCommentsFromStart(a5), this.raw(s5, "params", a5), o5 && (e7 = a5[a5.length - 1], s5.source.end = this.getPosition(e7[3] || e7[2]), s5.source.end.offset++, this.spaces = s5.raws.between, s5.raws.between = "")) : (s5.raws.afterName = "", s5.params = ""), u && (s5.nodes = [], this.current = s5); + } + checkMissedSemicolon(e7) { + let s5 = this.colon(e7); + if (s5 === false) return; + let r5 = 0, n5; + for (let i5 = s5 - 1; i5 >= 0 && (n5 = e7[i5], !(n5[0] !== "space" && (r5 += 1, r5 === 2))); i5--) ; + throw this.input.error("Missed semicolon", n5[0] === "word" ? n5[3] + 1 : n5[2]); + } + colon(e7) { + let s5 = 0, r5, n5, i5; + for (let [o5, u] of e7.entries()) { + if (n5 = u, i5 = n5[0], i5 === "(" && (s5 += 1), i5 === ")" && (s5 -= 1), s5 === 0 && i5 === ":") if (!r5) this.doubleColon(n5); + else { + if (r5[0] === "word" && r5[1] === "progid") continue; + return o5; + } + r5 = n5; + } + return false; + } + comment(e7) { + let s5 = new Jc2(); + this.init(s5, e7[2]), s5.source.end = this.getPosition(e7[3] || e7[2]), s5.source.end.offset++; + let r5 = e7[1].slice(2, -2); + if (/^\s*$/.test(r5)) s5.text = "", s5.raws.left = r5, s5.raws.right = ""; + else { + let n5 = r5.match(/^(\s*)([^]*\S)(\s*)$/); + s5.text = n5[2], s5.raws.left = n5[1], s5.raws.right = n5[3]; + } + } + createTokenizer() { + this.tokenizer = tf3(this.input); + } + decl(e7, s5) { + let r5 = new Zc2(); + this.init(r5, e7[0][2]); + let n5 = e7[e7.length - 1]; + for (n5[0] === ";" && (this.semicolon = true, e7.pop()), r5.source.end = this.getPosition(n5[3] || n5[2] || rf3(e7)), r5.source.end.offset++; e7[0][0] !== "word"; ) e7.length === 1 && this.unknownWord(e7), r5.raws.before += e7.shift()[1]; + for (r5.source.start = this.getPosition(e7[0][2]), r5.prop = ""; e7.length; ) { + let l5 = e7[0][0]; + if (l5 === ":" || l5 === "space" || l5 === "comment") break; + r5.prop += e7.shift()[1]; + } + r5.raws.between = ""; + let i5; + for (; e7.length; ) if (i5 = e7.shift(), i5[0] === ":") { + r5.raws.between += i5[1]; + break; + } else i5[0] === "word" && /\w/.test(i5[1]) && this.unknownWord([i5]), r5.raws.between += i5[1]; + (r5.prop[0] === "_" || r5.prop[0] === "*") && (r5.raws.before += r5.prop[0], r5.prop = r5.prop.slice(1)); + let o5 = [], u; + for (; e7.length && (u = e7[0][0], !(u !== "space" && u !== "comment")); ) o5.push(e7.shift()); + this.precheckMissedSemicolon(e7); + for (let l5 = e7.length - 1; l5 >= 0; l5--) { + if (i5 = e7[l5], i5[1].toLowerCase() === "!important") { + r5.important = true; + let f7 = this.stringFrom(e7, l5); + f7 = this.spacesFromEnd(e7) + f7, f7 !== " !important" && (r5.raws.important = f7); + break; + } else if (i5[1].toLowerCase() === "important") { + let f7 = e7.slice(0), h5 = ""; + for (let c7 = l5; c7 > 0; c7--) { + let g5 = f7[c7][0]; + if (h5.trim().startsWith("!") && g5 !== "space") break; + h5 = f7.pop()[1] + h5; + } + h5.trim().startsWith("!") && (r5.important = true, r5.raws.important = h5, e7 = f7); + } + if (i5[0] !== "space" && i5[0] !== "comment") break; + } + e7.some((l5) => l5[0] !== "space" && l5[0] !== "comment") && (r5.raws.between += o5.map((l5) => l5[1]).join(""), o5 = []), this.raw(r5, "value", o5.concat(e7), s5), r5.value.includes(":") && !s5 && this.checkMissedSemicolon(e7); + } + doubleColon(e7) { + throw this.input.error("Double colon", { offset: e7[2] }, { offset: e7[2] + e7[1].length }); + } + emptyRule(e7) { + let s5 = new ho3(); + this.init(s5, e7[2]), s5.selector = "", s5.raws.between = "", this.current = s5; + } + end(e7) { + this.current.nodes && this.current.nodes.length && (this.current.raws.semicolon = this.semicolon), this.semicolon = false, this.current.raws.after = (this.current.raws.after || "") + this.spaces, this.spaces = "", this.current.parent ? (this.current.source.end = this.getPosition(e7[2]), this.current.source.end.offset++, this.current = this.current.parent) : this.unexpectedClose(e7); + } + endFile() { + this.current.parent && this.unclosedBlock(), this.current.nodes && this.current.nodes.length && (this.current.raws.semicolon = this.semicolon), this.current.raws.after = (this.current.raws.after || "") + this.spaces, this.root.source.end = this.getPosition(this.tokenizer.position()); + } + freeSemicolon(e7) { + if (this.spaces += e7[1], this.current.nodes) { + let s5 = this.current.nodes[this.current.nodes.length - 1]; + s5 && s5.type === "rule" && !s5.raws.ownSemicolon && (s5.raws.ownSemicolon = this.spaces, this.spaces = "", s5.source.end = this.getPosition(e7[2]), s5.source.end.offset += s5.raws.ownSemicolon.length); + } + } + getPosition(e7) { + let s5 = this.input.fromOffset(e7); + return { column: s5.col, line: s5.line, offset: e7 }; + } + init(e7, s5) { + this.current.push(e7), e7.source = { input: this.input, start: this.getPosition(s5) }, e7.raws.before = this.spaces, this.spaces = "", e7.type !== "comment" && (this.semicolon = false); + } + other(e7) { + let s5 = false, r5 = null, n5 = false, i5 = null, o5 = [], u = e7[1].startsWith("--"), a5 = [], l5 = e7; + for (; l5; ) { + if (r5 = l5[0], a5.push(l5), r5 === "(" || r5 === "[") i5 || (i5 = l5), o5.push(r5 === "(" ? ")" : "]"); + else if (u && n5 && r5 === "{") i5 || (i5 = l5), o5.push("}"); + else if (o5.length === 0) if (r5 === ";") if (n5) { + this.decl(a5, u); + return; + } else break; + else if (r5 === "{") { + this.rule(a5); + return; + } else if (r5 === "}") { + this.tokenizer.back(a5.pop()), s5 = true; + break; + } else r5 === ":" && (n5 = true); + else r5 === o5[o5.length - 1] && (o5.pop(), o5.length === 0 && (i5 = null)); + l5 = this.tokenizer.nextToken(); + } + if (this.tokenizer.endOfFile() && (s5 = true), o5.length > 0 && this.unclosedBracket(i5), s5 && n5) { + if (!u) for (; a5.length && (l5 = a5[a5.length - 1][0], !(l5 !== "space" && l5 !== "comment")); ) this.tokenizer.back(a5.pop()); + this.decl(a5, u); + } else this.unknownWord(a5); + } + parse() { + let e7; + for (; !this.tokenizer.endOfFile(); ) switch (e7 = this.tokenizer.nextToken(), e7[0]) { + case "space": + this.spaces += e7[1]; + break; + case ";": + this.freeSemicolon(e7); + break; + case "}": + this.end(e7); + break; + case "comment": + this.comment(e7); + break; + case "at-word": + this.atrule(e7); + break; + case "{": + this.emptyRule(e7); + break; + default: + this.other(e7); + break; + } + this.endFile(); + } + precheckMissedSemicolon() { + } + raw(e7, s5, r5, n5) { + let i5, o5, u = r5.length, a5 = "", l5 = true, f7, h5; + for (let c7 = 0; c7 < u; c7 += 1) i5 = r5[c7], o5 = i5[0], o5 === "space" && c7 === u - 1 && !n5 ? l5 = false : o5 === "comment" ? (h5 = r5[c7 - 1] ? r5[c7 - 1][0] : "empty", f7 = r5[c7 + 1] ? r5[c7 + 1][0] : "empty", !mo3[h5] && !mo3[f7] ? a5.slice(-1) === "," ? l5 = false : a5 += i5[1] : l5 = false) : a5 += i5[1]; + if (!l5) { + let c7 = r5.reduce((g5, b7) => g5 + b7[1], ""); + e7.raws[s5] = { raw: c7, value: a5 }; + } + e7[s5] = a5; + } + rule(e7) { + e7.pop(); + let s5 = new ho3(); + this.init(s5, e7[0][2]), s5.raws.between = this.spacesAndCommentsFromEnd(e7), this.raw(s5, "selector", e7), this.current = s5; + } + spacesAndCommentsFromEnd(e7) { + let s5, r5 = ""; + for (; e7.length && (s5 = e7[e7.length - 1][0], !(s5 !== "space" && s5 !== "comment")); ) r5 = e7.pop()[1] + r5; + return r5; + } + spacesAndCommentsFromStart(e7) { + let s5, r5 = ""; + for (; e7.length && (s5 = e7[0][0], !(s5 !== "space" && s5 !== "comment")); ) r5 += e7.shift()[1]; + return r5; + } + spacesFromEnd(e7) { + let s5, r5 = ""; + for (; e7.length && (s5 = e7[e7.length - 1][0], s5 === "space"); ) r5 = e7.pop()[1] + r5; + return r5; + } + stringFrom(e7, s5) { + let r5 = ""; + for (let n5 = s5; n5 < e7.length; n5++) r5 += e7[n5][1]; + return e7.splice(s5, e7.length - s5), r5; + } + unclosedBlock() { + let e7 = this.current.source.start; + throw this.input.error("Unclosed block", e7.line, e7.column); + } + unclosedBracket(e7) { + throw this.input.error("Unclosed bracket", { offset: e7[2] }, { offset: e7[2] + 1 }); + } + unexpectedClose(e7) { + throw this.input.error("Unexpected }", { offset: e7[2] }, { offset: e7[2] + 1 }); + } + unknownWord(e7) { + throw this.input.error("Unknown word " + e7[0][1], { offset: e7[0][2] }, { offset: e7[0][2] + e7[0][1].length }); + } + unnamedAtrule(e7, s5) { + throw this.input.error("At-rule without name", { offset: s5[2] }, { offset: s5[2] + s5[1].length }); + } + }; + yo3.exports = vs9; + }); + ht9 = w6((Px, go3) => { + "use strict"; + var sf3 = fe9(), nf3 = Ue9(), of3 = tr9(); + function rr8(t26, e7) { + let s5 = new nf3(t26, e7), r5 = new of3(s5); + try { + r5.parse(); + } catch (n5) { + throw n5; + } + return r5.root; + } + go3.exports = rr8; + rr8.default = rr8; + sf3.registerParse(rr8); + }); + wo5 = w6((Rx, xs8) => { + var af3 = er8(), uf3 = Ue9(); + xs8.exports = { isInlineComment(t26) { + if (t26[0] === "word" && t26[1].slice(0, 2) === "//") { + let e7 = t26, s5 = [], r5, n5; + for (; t26; ) { + if (/\r?\n/.test(t26[1])) { + if (/['"].*\r?\n/.test(t26[1])) { + s5.push(t26[1].substring(0, t26[1].indexOf(` +`))), n5 = t26[1].substring(t26[1].indexOf(` +`)); + let o5 = this.input.css.valueOf().substring(this.tokenizer.position()); + n5 += o5, r5 = t26[3] + o5.length - n5.length; + } else this.tokenizer.back(t26); + break; + } + s5.push(t26[1]), r5 = t26[2], t26 = this.tokenizer.nextToken({ ignoreUnclosed: true }); + } + let i5 = ["comment", s5.join(""), e7[2], r5]; + return this.inlineComment(i5), n5 && (this.input = new uf3(n5), this.tokenizer = af3(this.input)), true; + } else if (t26[1] === "/") { + let e7 = this.tokenizer.nextToken({ ignoreUnclosed: true }); + if (e7[0] === "comment" && /^\/\*/.test(e7[1])) return e7[0] = "word", e7[1] = e7[1].slice(1), t26[1] = "//", this.tokenizer.back(e7), xs8.exports.isInlineComment.bind(this)(t26); + } + return false; + } }; + }); + xo3 = w6((Ix, vo4) => { + vo4.exports = { interpolation(t26) { + let e7 = [t26, this.tokenizer.nextToken()], s5 = ["word", "}"]; + if (e7[0][1].length > 1 || e7[1][0] !== "{") return this.tokenizer.back(e7[1]), false; + for (t26 = this.tokenizer.nextToken(); t26 && s5.includes(t26[0]); ) e7.push(t26), t26 = this.tokenizer.nextToken(); + let r5 = e7.map((u) => u[1]), [n5] = e7, i5 = e7.pop(), o5 = ["word", r5.join(""), n5[2], i5[2]]; + return this.tokenizer.back(t26), this.tokenizer.back(o5), true; + } }; + }); + bo4 = w6((qx, _o3) => { + var lf3 = /^#[0-9a-fA-F]{6}$|^#[0-9a-fA-F]{3}$/, cf3 = /\.[0-9]/, ff3 = (t26) => { + let [, e7] = t26, [s5] = e7; + return (s5 === "." || s5 === "#") && lf3.test(e7) === false && cf3.test(e7) === false; + }; + _o3.exports = { isMixinToken: ff3 }; + }); + So3 = w6((Lx, Eo3) => { + var pf3 = er8(), hf3 = /^url\((.+)\)/; + Eo3.exports = (t26) => { + let { name: e7, params: s5 = "" } = t26; + if (e7 === "import" && s5.length) { + t26.import = true; + let r5 = pf3({ css: s5 }); + for (t26.filename = s5.replace(hf3, "$1"); !r5.endOfFile(); ) { + let [n5, i5] = r5.nextToken(); + if (n5 === "word" && i5 === "url") return; + if (n5 === "brackets") { + t26.options = i5, t26.filename = s5.replace(i5, "").trim(); + break; + } + } + } + }; + }); + Oo4 = w6((Dx, Ao3) => { + var ko3 = /:$/, To4 = /^:(\s+)?/; + Ao3.exports = (t26) => { + let { name: e7, params: s5 = "" } = t26; + if (t26.name.slice(-1) === ":") { + if (ko3.test(e7)) { + let [r5] = e7.match(ko3); + t26.name = e7.replace(r5, ""), t26.raws.afterName = r5 + (t26.raws.afterName || ""), t26.variable = true, t26.value = t26.params; + } + if (To4.test(s5)) { + let [r5] = s5.match(To4); + t26.value = s5.replace(r5, ""), t26.raws.afterName = (t26.raws.afterName || "") + r5, t26.variable = true; + } + } + }; + }); + Po4 = w6((Bx, No3) => { + var df3 = Me11(), mf3 = tr9(), { isInlineComment: yf3 } = wo5(), { interpolation: Co3 } = xo3(), { isMixinToken: gf3 } = bo4(), wf3 = So3(), vf4 = Oo4(), xf4 = /(!\s*important)$/i; + No3.exports = class extends mf3 { + constructor(...e7) { + super(...e7), this.lastNode = null; + } + atrule(e7) { + Co3.bind(this)(e7) || (super.atrule(e7), wf3(this.lastNode), vf4(this.lastNode)); + } + decl(...e7) { + super.decl(...e7), /extend\(.+\)/i.test(this.lastNode.value) && (this.lastNode.extend = true); + } + each(e7) { + e7[0][1] = ` ${e7[0][1]}`; + let s5 = e7.findIndex((u) => u[0] === "("), r5 = e7.reverse().find((u) => u[0] === ")"), n5 = e7.reverse().indexOf(r5), o5 = e7.splice(s5, n5).map((u) => u[1]).join(""); + for (let u of e7.reverse()) this.tokenizer.back(u); + this.atrule(this.tokenizer.nextToken()), this.lastNode.function = true, this.lastNode.params = o5; + } + init(e7, s5, r5) { + super.init(e7, s5, r5), this.lastNode = e7; + } + inlineComment(e7) { + let s5 = new df3(), r5 = e7[1].slice(2); + if (this.init(s5, e7[2]), s5.source.end = this.getPosition(e7[3] || e7[2]), s5.inline = true, s5.raws.begin = "//", /^\s*$/.test(r5)) s5.text = "", s5.raws.left = r5, s5.raws.right = ""; + else { + let n5 = r5.match(/^(\s*)([^]*[^\s])(\s*)$/); + [, s5.raws.left, s5.text, s5.raws.right] = n5; + } + } + mixin(e7) { + let [s5] = e7, r5 = s5[1].slice(0, 1), n5 = e7.findIndex((l5) => l5[0] === "brackets"), i5 = e7.findIndex((l5) => l5[0] === "("), o5 = ""; + if ((n5 < 0 || n5 > 3) && i5 > 0) { + let l5 = e7.reduce((v9, O7, q11) => O7[0] === ")" ? q11 : v9), h5 = e7.slice(i5, l5 + i5).map((v9) => v9[1]).join(""), [c7] = e7.slice(i5), g5 = [c7[2], c7[3]], [b7] = e7.slice(l5, l5 + 1), d5 = [b7[2], b7[3]], p4 = ["brackets", h5].concat(g5, d5), m7 = e7.slice(0, i5), y10 = e7.slice(l5 + 1); + e7 = m7, e7.push(p4), e7 = e7.concat(y10); + } + let u = []; + for (let l5 of e7) if ((l5[1] === "!" || u.length) && u.push(l5), l5[1] === "important") break; + if (u.length) { + let [l5] = u, f7 = e7.indexOf(l5), h5 = u[u.length - 1], c7 = [l5[2], l5[3]], g5 = [h5[4], h5[5]], d5 = ["word", u.map((p4) => p4[1]).join("")].concat(c7, g5); + e7.splice(f7, u.length, d5); + } + let a5 = e7.findIndex((l5) => xf4.test(l5[1])); + a5 > 0 && ([, o5] = e7[a5], e7.splice(a5, 1)); + for (let l5 of e7.reverse()) this.tokenizer.back(l5); + this.atrule(this.tokenizer.nextToken()), this.lastNode.mixin = true, this.lastNode.raws.identifier = r5, o5 && (this.lastNode.important = true, this.lastNode.raws.important = o5); + } + other(e7) { + yf3.bind(this)(e7) || super.other(e7); + } + rule(e7) { + let s5 = e7[e7.length - 1], r5 = e7[e7.length - 2]; + if (r5[0] === "at-word" && s5[0] === "{" && (this.tokenizer.back(s5), Co3.bind(this)(r5))) { + let i5 = this.tokenizer.nextToken(); + e7 = e7.slice(0, e7.length - 2).concat([i5]); + for (let o5 of e7.reverse()) this.tokenizer.back(o5); + return; + } + super.rule(e7), /:extend\(.+\)/i.test(this.lastNode.selector) && (this.lastNode.extend = true); + } + unknownWord(e7) { + let [s5] = e7; + if (e7[0][1] === "each" && e7[1][0] === "(") { + this.each(e7); + return; + } + if (gf3(s5)) { + this.mixin(e7); + return; + } + super.unknownWord(e7); + } + }; + }); + Io4 = w6((Fx, Ro3) => { + var _f4 = jt7(); + Ro3.exports = class extends _f4 { + atrule(e7, s5) { + if (!e7.mixin && !e7.variable && !e7.function) { + super.atrule(e7, s5); + return; + } + let n5 = `${e7.function ? "" : e7.raws.identifier || "@"}${e7.name}`, i5 = e7.params ? this.rawValue(e7, "params") : "", o5 = e7.raws.important || ""; + if (e7.variable && (i5 = e7.value), typeof e7.raws.afterName < "u" ? n5 += e7.raws.afterName : i5 && (n5 += " "), e7.nodes) this.block(e7, n5 + i5 + o5); + else { + let u = (e7.raws.between || "") + o5 + (s5 ? ";" : ""); + this.builder(n5 + i5 + u, e7); + } + } + comment(e7) { + if (e7.inline) { + let s5 = this.raw(e7, "left", "commentLeft"), r5 = this.raw(e7, "right", "commentRight"); + this.builder(`//${s5}${e7.text}${r5}`, e7); + } else super.comment(e7); + } + }; + }); + qo3 = w6(($x, _s7) => { + var bf3 = Ue9(), Ef3 = Po4(), Sf3 = Io4(); + _s7.exports = { parse(t26, e7) { + let s5 = new bf3(t26, e7), r5 = new Ef3(s5); + return r5.parse(), r5.root.walk((n5) => { + let i5 = s5.css.lastIndexOf(n5.source.input.css); + if (i5 === 0) return; + if (i5 + n5.source.input.css.length !== s5.css.length) throw new Error("Invalid state detected in postcss-less"); + let o5 = i5 + n5.source.start.offset, u = s5.fromOffset(i5 + n5.source.start.offset); + if (n5.source.start = { offset: o5, line: u.line, column: u.col }, n5.source.end) { + let a5 = i5 + n5.source.end.offset, l5 = s5.fromOffset(i5 + n5.source.end.offset); + n5.source.end = { offset: a5, line: l5.line, column: l5.col }; + } + }), r5.root; + }, stringify(t26, e7) { + new Sf3(e7).stringify(t26); + }, nodeToString(t26) { + let e7 = ""; + return _s7.exports.stringify(t26, (s5) => { + e7 += s5; + }), e7; + } }; + }); + sr9 = w6((Wx, Mo3) => { + "use strict"; + var kf4 = fe9(), Lo4, Do3, be10 = class extends kf4 { + constructor(e7) { + super({ type: "document", ...e7 }), this.nodes || (this.nodes = []); + } + toResult(e7 = {}) { + return new Lo4(new Do3(), this, e7).stringify(); + } + }; + be10.registerLazyResult = (t26) => { + Lo4 = t26; + }; + be10.registerProcessor = (t26) => { + Do3 = t26; + }; + Mo3.exports = be10; + be10.default = be10; + }); + Uo3 = w6((Gx, Bo4) => { + "use strict"; + var Tf3 = Qt9(), Af3 = Me11(), Of3 = ft9(), Cf4 = Ue9(), Nf3 = hs7(), Pf4 = $e10(), Rf4 = Xt9(); + function dt8(t26, e7) { + if (Array.isArray(t26)) return t26.map((n5) => dt8(n5)); + let { inputs: s5, ...r5 } = t26; + if (s5) { + e7 = []; + for (let n5 of s5) { + let i5 = { ...n5, __proto__: Cf4.prototype }; + i5.map && (i5.map = { ...i5.map, __proto__: Nf3.prototype }), e7.push(i5); + } + } + if (r5.nodes && (r5.nodes = t26.nodes.map((n5) => dt8(n5, e7))), r5.source) { + let { inputId: n5, ...i5 } = r5.source; + r5.source = i5, n5 != null && (r5.source.input = e7[n5]); + } + if (r5.type === "root") return new Pf4(r5); + if (r5.type === "decl") return new Of3(r5); + if (r5.type === "rule") return new Rf4(r5); + if (r5.type === "comment") return new Af3(r5); + if (r5.type === "atrule") return new Tf3(r5); + throw new Error("Unknown node type: " + t26.type); + } + Bo4.exports = dt8; + dt8.default = dt8; + }); + bs7 = w6((Yx, Fo3) => { + Fo3.exports = class { + generate() { + } + }; + }); + Es7 = w6((zx, $o3) => { + "use strict"; + var mt10 = class { + constructor(e7, s5 = {}) { + if (this.type = "warning", this.text = e7, s5.node && s5.node.source) { + let r5 = s5.node.rangeBy(s5); + this.line = r5.start.line, this.column = r5.start.column, this.endLine = r5.end.line, this.endColumn = r5.end.column; + } + for (let r5 in s5) this[r5] = s5[r5]; + } + toString() { + return this.node ? this.node.error(this.text, { index: this.index, plugin: this.plugin, word: this.word }).message : this.plugin ? this.plugin + ": " + this.text : this.text; + } + }; + $o3.exports = mt10; + mt10.default = mt10; + }); + nr8 = w6((jx, Wo3) => { + "use strict"; + var If4 = Es7(), yt10 = class { + get content() { + return this.css; + } + constructor(e7, s5, r5) { + this.processor = e7, this.messages = [], this.root = s5, this.opts = r5, this.css = "", this.map = void 0; + } + toString() { + return this.css; + } + warn(e7, s5 = {}) { + s5.plugin || this.lastPlugin && this.lastPlugin.postcssPlugin && (s5.plugin = this.lastPlugin.postcssPlugin); + let r5 = new If4(e7, s5); + return this.messages.push(r5), r5; + } + warnings() { + return this.messages.filter((e7) => e7.type === "warning"); + } + }; + Wo3.exports = yt10; + yt10.default = yt10; + }); + Ss7 = w6((Hx, Yo4) => { + "use strict"; + var Go3 = {}; + Yo4.exports = function(e7) { + Go3[e7] || (Go3[e7] = true, typeof console < "u" && console.warn && console.warn(e7)); + }; + }); + As7 = w6((Qx, Ho3) => { + "use strict"; + var qf3 = fe9(), Lf3 = sr9(), Df4 = bs7(), Mf4 = ht9(), Vo3 = nr8(), Bf3 = $e10(), Uf3 = it8(), { isClean: Q10, my: Ff3 } = Ht10(), Kx = Ss7(), $f3 = { atrule: "AtRule", comment: "Comment", decl: "Declaration", document: "Document", root: "Root", rule: "Rule" }, Wf3 = { AtRule: true, AtRuleExit: true, Comment: true, CommentExit: true, Declaration: true, DeclarationExit: true, Document: true, DocumentExit: true, Once: true, OnceExit: true, postcssPlugin: true, prepare: true, Root: true, RootExit: true, Rule: true, RuleExit: true }, Gf3 = { Once: true, postcssPlugin: true, prepare: true }, Ge11 = 0; + function gt10(t26) { + return typeof t26 == "object" && typeof t26.then == "function"; + } + function jo4(t26) { + let e7 = false, s5 = $f3[t26.type]; + return t26.type === "decl" ? e7 = t26.prop.toLowerCase() : t26.type === "atrule" && (e7 = t26.name.toLowerCase()), e7 && t26.append ? [s5, s5 + "-" + e7, Ge11, s5 + "Exit", s5 + "Exit-" + e7] : e7 ? [s5, s5 + "-" + e7, s5 + "Exit", s5 + "Exit-" + e7] : t26.append ? [s5, Ge11, s5 + "Exit"] : [s5, s5 + "Exit"]; + } + function zo4(t26) { + let e7; + return t26.type === "document" ? e7 = ["Document", Ge11, "DocumentExit"] : t26.type === "root" ? e7 = ["Root", Ge11, "RootExit"] : e7 = jo4(t26), { eventIndex: 0, events: e7, iterator: 0, node: t26, visitorIndex: 0, visitors: [] }; + } + function ks8(t26) { + return t26[Q10] = false, t26.nodes && t26.nodes.forEach((e7) => ks8(e7)), t26; + } + var Ts6 = {}, he11 = class t26 { + get content() { + return this.stringify().content; + } + get css() { + return this.stringify().css; + } + get map() { + return this.stringify().map; + } + get messages() { + return this.sync().messages; + } + get opts() { + return this.result.opts; + } + get processor() { + return this.result.processor; + } + get root() { + return this.sync().root; + } + get [Symbol.toStringTag]() { + return "LazyResult"; + } + constructor(e7, s5, r5) { + this.stringified = false, this.processed = false; + let n5; + if (typeof s5 == "object" && s5 !== null && (s5.type === "root" || s5.type === "document")) n5 = ks8(s5); + else if (s5 instanceof t26 || s5 instanceof Vo3) n5 = ks8(s5.root), s5.map && (typeof r5.map > "u" && (r5.map = {}), r5.map.inline || (r5.map.inline = false), r5.map.prev = s5.map); + else { + let i5 = Mf4; + r5.syntax && (i5 = r5.syntax.parse), r5.parser && (i5 = r5.parser), i5.parse && (i5 = i5.parse); + try { + n5 = i5(s5, r5); + } catch (o5) { + this.processed = true, this.error = o5; + } + n5 && !n5[Ff3] && qf3.rebuild(n5); + } + this.result = new Vo3(e7, n5, r5), this.helpers = { ...Ts6, postcss: Ts6, result: this.result }, this.plugins = this.processor.plugins.map((i5) => typeof i5 == "object" && i5.prepare ? { ...i5, ...i5.prepare(this.result) } : i5); + } + async() { + return this.error ? Promise.reject(this.error) : this.processed ? Promise.resolve(this.result) : (this.processing || (this.processing = this.runAsync()), this.processing); + } + catch(e7) { + return this.async().catch(e7); + } + finally(e7) { + return this.async().then(e7, e7); + } + getAsyncError() { + throw new Error("Use process(css).then(cb) to work with async plugins"); + } + handleError(e7, s5) { + let r5 = this.result.lastPlugin; + try { + s5 && s5.addToError(e7), this.error = e7, e7.name === "CssSyntaxError" && !e7.plugin ? (e7.plugin = r5.postcssPlugin, e7.setMessage()) : r5.postcssVersion; + } catch (n5) { + console && console.error && console.error(n5); + } + return e7; + } + prepareVisitors() { + this.listeners = {}; + let e7 = (s5, r5, n5) => { + this.listeners[r5] || (this.listeners[r5] = []), this.listeners[r5].push([s5, n5]); + }; + for (let s5 of this.plugins) if (typeof s5 == "object") for (let r5 in s5) { + if (!Wf3[r5] && /^[A-Z]/.test(r5)) throw new Error(`Unknown event ${r5} in ${s5.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`); + if (!Gf3[r5]) if (typeof s5[r5] == "object") for (let n5 in s5[r5]) n5 === "*" ? e7(s5, r5, s5[r5][n5]) : e7(s5, r5 + "-" + n5.toLowerCase(), s5[r5][n5]); + else typeof s5[r5] == "function" && e7(s5, r5, s5[r5]); + } + this.hasListener = Object.keys(this.listeners).length > 0; + } + async runAsync() { + this.plugin = 0; + for (let e7 = 0; e7 < this.plugins.length; e7++) { + let s5 = this.plugins[e7], r5 = this.runOnRoot(s5); + if (gt10(r5)) try { + await r5; + } catch (n5) { + throw this.handleError(n5); + } + } + if (this.prepareVisitors(), this.hasListener) { + let e7 = this.result.root; + for (; !e7[Q10]; ) { + e7[Q10] = true; + let s5 = [zo4(e7)]; + for (; s5.length > 0; ) { + let r5 = this.visitTick(s5); + if (gt10(r5)) try { + await r5; + } catch (n5) { + let i5 = s5[s5.length - 1].node; + throw this.handleError(n5, i5); + } + } + } + if (this.listeners.OnceExit) for (let [s5, r5] of this.listeners.OnceExit) { + this.result.lastPlugin = s5; + try { + if (e7.type === "document") { + let n5 = e7.nodes.map((i5) => r5(i5, this.helpers)); + await Promise.all(n5); + } else await r5(e7, this.helpers); + } catch (n5) { + throw this.handleError(n5); + } + } + } + return this.processed = true, this.stringify(); + } + runOnRoot(e7) { + this.result.lastPlugin = e7; + try { + if (typeof e7 == "object" && e7.Once) { + if (this.result.root.type === "document") { + let s5 = this.result.root.nodes.map((r5) => e7.Once(r5, this.helpers)); + return gt10(s5[0]) ? Promise.all(s5) : s5; + } + return e7.Once(this.result.root, this.helpers); + } else if (typeof e7 == "function") return e7(this.result.root, this.result); + } catch (s5) { + throw this.handleError(s5); + } + } + stringify() { + if (this.error) throw this.error; + if (this.stringified) return this.result; + this.stringified = true, this.sync(); + let e7 = this.result.opts, s5 = Uf3; + e7.syntax && (s5 = e7.syntax.stringify), e7.stringifier && (s5 = e7.stringifier), s5.stringify && (s5 = s5.stringify); + let n5 = new Df4(s5, this.result.root, this.result.opts).generate(); + return this.result.css = n5[0], this.result.map = n5[1], this.result; + } + sync() { + if (this.error) throw this.error; + if (this.processed) return this.result; + if (this.processed = true, this.processing) throw this.getAsyncError(); + for (let e7 of this.plugins) { + let s5 = this.runOnRoot(e7); + if (gt10(s5)) throw this.getAsyncError(); + } + if (this.prepareVisitors(), this.hasListener) { + let e7 = this.result.root; + for (; !e7[Q10]; ) e7[Q10] = true, this.walkSync(e7); + if (this.listeners.OnceExit) if (e7.type === "document") for (let s5 of e7.nodes) this.visitSync(this.listeners.OnceExit, s5); + else this.visitSync(this.listeners.OnceExit, e7); + } + return this.result; + } + then(e7, s5) { + return this.async().then(e7, s5); + } + toString() { + return this.css; + } + visitSync(e7, s5) { + for (let [r5, n5] of e7) { + this.result.lastPlugin = r5; + let i5; + try { + i5 = n5(s5, this.helpers); + } catch (o5) { + throw this.handleError(o5, s5.proxyOf); + } + if (s5.type !== "root" && s5.type !== "document" && !s5.parent) return true; + if (gt10(i5)) throw this.getAsyncError(); + } + } + visitTick(e7) { + let s5 = e7[e7.length - 1], { node: r5, visitors: n5 } = s5; + if (r5.type !== "root" && r5.type !== "document" && !r5.parent) { + e7.pop(); + return; + } + if (n5.length > 0 && s5.visitorIndex < n5.length) { + let [o5, u] = n5[s5.visitorIndex]; + s5.visitorIndex += 1, s5.visitorIndex === n5.length && (s5.visitors = [], s5.visitorIndex = 0), this.result.lastPlugin = o5; + try { + return u(r5.toProxy(), this.helpers); + } catch (a5) { + throw this.handleError(a5, r5); + } + } + if (s5.iterator !== 0) { + let o5 = s5.iterator, u; + for (; u = r5.nodes[r5.indexes[o5]]; ) if (r5.indexes[o5] += 1, !u[Q10]) { + u[Q10] = true, e7.push(zo4(u)); + return; + } + s5.iterator = 0, delete r5.indexes[o5]; + } + let i5 = s5.events; + for (; s5.eventIndex < i5.length; ) { + let o5 = i5[s5.eventIndex]; + if (s5.eventIndex += 1, o5 === Ge11) { + r5.nodes && r5.nodes.length && (r5[Q10] = true, s5.iterator = r5.getIterator()); + return; + } else if (this.listeners[o5]) { + s5.visitors = this.listeners[o5]; + return; + } + } + e7.pop(); + } + walkSync(e7) { + e7[Q10] = true; + let s5 = jo4(e7); + for (let r5 of s5) if (r5 === Ge11) e7.nodes && e7.each((n5) => { + n5[Q10] || this.walkSync(n5); + }); + else { + let n5 = this.listeners[r5]; + if (n5 && this.visitSync(n5, e7.toProxy())) return; + } + } + warnings() { + return this.sync().warnings(); + } + }; + he11.registerPostcss = (t26) => { + Ts6 = t26; + }; + Ho3.exports = he11; + he11.default = he11; + Bf3.registerLazyResult(he11); + Lf3.registerLazyResult(he11); + }); + Qo3 = w6((Jx, Ko3) => { + "use strict"; + var Yf3 = bs7(), Vf3 = ht9(), zf3 = nr8(), jf3 = it8(), Xx = Ss7(), wt11 = class { + get content() { + return this.result.css; + } + get css() { + return this.result.css; + } + get map() { + return this.result.map; + } + get messages() { + return []; + } + get opts() { + return this.result.opts; + } + get processor() { + return this.result.processor; + } + get root() { + if (this._root) return this._root; + let e7, s5 = Vf3; + try { + e7 = s5(this._css, this._opts); + } catch (r5) { + this.error = r5; + } + if (this.error) throw this.error; + return this._root = e7, e7; + } + get [Symbol.toStringTag]() { + return "NoWorkResult"; + } + constructor(e7, s5, r5) { + s5 = s5.toString(), this.stringified = false, this._processor = e7, this._css = s5, this._opts = r5, this._map = void 0; + let n5, i5 = jf3; + this.result = new zf3(this._processor, n5, this._opts), this.result.css = s5; + let o5 = this; + Object.defineProperty(this.result, "root", { get() { + return o5.root; + } }); + let u = new Yf3(i5, n5, this._opts, s5); + if (u.isMap()) { + let [a5, l5] = u.generate(); + a5 && (this.result.css = a5), l5 && (this.result.map = l5); + } else u.clearAnnotation(), this.result.css = u.css; + } + async() { + return this.error ? Promise.reject(this.error) : Promise.resolve(this.result); + } + catch(e7) { + return this.async().catch(e7); + } + finally(e7) { + return this.async().then(e7, e7); + } + sync() { + if (this.error) throw this.error; + return this.result; + } + then(e7, s5) { + return this.async().then(e7, s5); + } + toString() { + return this._css; + } + warnings() { + return []; + } + }; + Ko3.exports = wt11; + wt11.default = wt11; + }); + Jo4 = w6((Zx, Xo3) => { + "use strict"; + var Hf = sr9(), Kf2 = As7(), Qf2 = Qo3(), Xf = $e10(), Ee9 = class { + constructor(e7 = []) { + this.version = "8.5.6", this.plugins = this.normalize(e7); + } + normalize(e7) { + let s5 = []; + for (let r5 of e7) if (r5.postcss === true ? r5 = r5() : r5.postcss && (r5 = r5.postcss), typeof r5 == "object" && Array.isArray(r5.plugins)) s5 = s5.concat(r5.plugins); + else if (typeof r5 == "object" && r5.postcssPlugin) s5.push(r5); + else if (typeof r5 == "function") s5.push(r5); + else if (!(typeof r5 == "object" && (r5.parse || r5.stringify))) throw new Error(r5 + " is not a PostCSS plugin"); + return s5; + } + process(e7, s5 = {}) { + return !this.plugins.length && !s5.parser && !s5.stringifier && !s5.syntax ? new Qf2(this, e7, s5) : new Kf2(this, e7, s5); + } + use(e7) { + return this.plugins = this.plugins.concat(this.normalize([e7])), this; + } + }; + Xo3.exports = Ee9; + Ee9.default = Ee9; + Xf.registerProcessor(Ee9); + Hf.registerProcessor(Ee9); + }); + ir9 = w6((e_2, ia5) => { + "use strict"; + var Zo3 = Qt9(), ea6 = Me11(), Jf2 = fe9(), Zf2 = zt9(), ta5 = ft9(), ra5 = sr9(), ep2 = Uo3(), tp2 = Ue9(), rp2 = As7(), sp2 = ws7(), np2 = ut9(), ip2 = ht9(), Os7 = Jo4(), op2 = nr8(), sa6 = $e10(), na5 = Xt9(), ap2 = it8(), up2 = Es7(); + function S7(...t26) { + return t26.length === 1 && Array.isArray(t26[0]) && (t26 = t26[0]), new Os7(t26); + } + S7.plugin = function(e7, s5) { + let r5 = false; + function n5(...o5) { + console && console.warn && !r5 && (r5 = true, console.warn(e7 + `: postcss.plugin was deprecated. Migration guide: +https://evilmartians.com/chronicles/postcss-8-plugin-migration`)); + let u = s5(...o5); + return u.postcssPlugin = e7, u.postcssVersion = new Os7().version, u; + } + let i5; + return Object.defineProperty(n5, "postcss", { get() { + return i5 || (i5 = n5()), i5; + } }), n5.process = function(o5, u, a5) { + return S7([n5(a5)]).process(o5, u); + }, n5; + }; + S7.stringify = ap2; + S7.parse = ip2; + S7.fromJSON = ep2; + S7.list = sp2; + S7.comment = (t26) => new ea6(t26); + S7.atRule = (t26) => new Zo3(t26); + S7.decl = (t26) => new ta5(t26); + S7.rule = (t26) => new na5(t26); + S7.root = (t26) => new sa6(t26); + S7.document = (t26) => new ra5(t26); + S7.CssSyntaxError = Zf2; + S7.Declaration = ta5; + S7.Container = Jf2; + S7.Processor = Os7; + S7.Document = ra5; + S7.Comment = ea6; + S7.Warning = up2; + S7.AtRule = Zo3; + S7.Result = op2; + S7.Input = tp2; + S7.Rule = na5; + S7.Root = sa6; + S7.Node = np2; + rp2.registerPostcss(S7); + ia5.exports = S7; + S7.default = S7; + }); + aa4 = w6((t_2, oa3) => { + var { Container: lp2 } = ir9(), Cs6 = class extends lp2 { + constructor(e7) { + super(e7), this.type = "decl", this.isNested = true, this.nodes || (this.nodes = []); + } + }; + oa3.exports = Cs6; + }); + ca3 = w6((r_2, la3) => { + "use strict"; + var or9 = /[\t\n\f\r "#'()/;[\\\]{}]/g, ar9 = /[,\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g, cp2 = /.[\r\n"'(/\\]/, ua5 = /[\da-f]/i, ur9 = /[\n\f\r]/g; + la3.exports = function(e7, s5 = {}) { + let r5 = e7.css.valueOf(), n5 = s5.ignoreErrors, i5, o5, u, a5, l5, f7, h5, c7, g5, b7 = r5.length, d5 = 0, p4 = [], m7 = [], y10; + function v9() { + return d5; + } + function O7(A9) { + throw e7.error("Unclosed " + A9, d5); + } + function q11() { + return m7.length === 0 && d5 >= b7; + } + function H11() { + let A9 = 1, k8 = false, N8 = false; + for (; A9 > 0; ) o5 += 1, r5.length <= o5 && O7("interpolation"), i5 = r5.charCodeAt(o5), c7 = r5.charCodeAt(o5 + 1), k8 ? !N8 && i5 === k8 ? (k8 = false, N8 = false) : i5 === 92 ? N8 = !N8 : N8 && (N8 = false) : i5 === 39 || i5 === 34 ? k8 = i5 : i5 === 125 ? A9 -= 1 : i5 === 35 && c7 === 123 && (A9 += 1); + } + function ne11(A9) { + if (m7.length) return m7.pop(); + if (d5 >= b7) return; + let k8 = A9 ? A9.ignoreUnclosed : false; + switch (i5 = r5.charCodeAt(d5), i5) { + case 10: + case 32: + case 9: + case 13: + case 12: { + o5 = d5; + do + o5 += 1, i5 = r5.charCodeAt(o5); + while (i5 === 32 || i5 === 10 || i5 === 9 || i5 === 13 || i5 === 12); + g5 = ["space", r5.slice(d5, o5)], d5 = o5 - 1; + break; + } + case 91: + case 93: + case 123: + case 125: + case 58: + case 59: + case 41: { + let N8 = String.fromCharCode(i5); + g5 = [N8, N8, d5]; + break; + } + case 44: { + g5 = ["word", ",", d5, d5 + 1]; + break; + } + case 40: { + if (h5 = p4.length ? p4.pop()[1] : "", c7 = r5.charCodeAt(d5 + 1), h5 === "url" && c7 !== 39 && c7 !== 34) { + for (y10 = 1, f7 = false, o5 = d5 + 1; o5 <= r5.length - 1; ) { + if (c7 = r5.charCodeAt(o5), c7 === 92) f7 = !f7; + else if (c7 === 40) y10 += 1; + else if (c7 === 41 && (y10 -= 1, y10 === 0)) break; + o5 += 1; + } + a5 = r5.slice(d5, o5 + 1), g5 = ["brackets", a5, d5, o5], d5 = o5; + } else o5 = r5.indexOf(")", d5 + 1), a5 = r5.slice(d5, o5 + 1), o5 === -1 || cp2.test(a5) ? g5 = ["(", "(", d5] : (g5 = ["brackets", a5, d5, o5], d5 = o5); + break; + } + case 39: + case 34: { + for (u = i5, o5 = d5, f7 = false; o5 < b7 && (o5++, o5 === b7 && O7("string"), i5 = r5.charCodeAt(o5), c7 = r5.charCodeAt(o5 + 1), !(!f7 && i5 === u)); ) i5 === 92 ? f7 = !f7 : f7 ? f7 = false : i5 === 35 && c7 === 123 && H11(); + g5 = ["string", r5.slice(d5, o5 + 1), d5, o5], d5 = o5; + break; + } + case 64: { + or9.lastIndex = d5 + 1, or9.test(r5), or9.lastIndex === 0 ? o5 = r5.length - 1 : o5 = or9.lastIndex - 2, g5 = ["at-word", r5.slice(d5, o5 + 1), d5, o5], d5 = o5; + break; + } + case 92: { + for (o5 = d5, l5 = true; r5.charCodeAt(o5 + 1) === 92; ) o5 += 1, l5 = !l5; + if (i5 = r5.charCodeAt(o5 + 1), l5 && i5 !== 47 && i5 !== 32 && i5 !== 10 && i5 !== 9 && i5 !== 13 && i5 !== 12 && (o5 += 1, ua5.test(r5.charAt(o5)))) { + for (; ua5.test(r5.charAt(o5 + 1)); ) o5 += 1; + r5.charCodeAt(o5 + 1) === 32 && (o5 += 1); + } + g5 = ["word", r5.slice(d5, o5 + 1), d5, o5], d5 = o5; + break; + } + default: + c7 = r5.charCodeAt(d5 + 1), i5 === 35 && c7 === 123 ? (o5 = d5, H11(), a5 = r5.slice(d5, o5 + 1), g5 = ["word", a5, d5, o5], d5 = o5) : i5 === 47 && c7 === 42 ? (o5 = r5.indexOf("*/", d5 + 2) + 1, o5 === 0 && (n5 || k8 ? o5 = r5.length : O7("comment")), g5 = ["comment", r5.slice(d5, o5 + 1), d5, o5], d5 = o5) : i5 === 47 && c7 === 47 ? (ur9.lastIndex = d5 + 1, ur9.test(r5), ur9.lastIndex === 0 ? o5 = r5.length - 1 : o5 = ur9.lastIndex - 2, a5 = r5.slice(d5, o5 + 1), g5 = ["comment", a5, d5, o5, "inline"], d5 = o5) : (ar9.lastIndex = d5 + 1, ar9.test(r5), ar9.lastIndex === 0 ? o5 = r5.length - 1 : o5 = ar9.lastIndex - 2, g5 = ["word", r5.slice(d5, o5 + 1), d5, o5], p4.push(g5), d5 = o5); + break; + } + return d5++, g5; + } + function W10(A9) { + m7.push(A9); + } + return { back: W10, endOfFile: q11, nextToken: ne11, position: v9 }; + }; + }); + pa4 = w6((s_2, fa4) => { + var { Comment: fp2 } = ir9(), pp2 = tr9(), hp2 = aa4(), dp2 = ca3(), Ns7 = class extends pp2 { + atrule(e7) { + let s5 = e7[1], r5 = e7; + for (; !this.tokenizer.endOfFile(); ) { + let n5 = this.tokenizer.nextToken(); + if (n5[0] === "word" && n5[2] === r5[3] + 1) s5 += n5[1], r5 = n5; + else { + this.tokenizer.back(n5); + break; + } + } + super.atrule(["at-word", s5, e7[2], r5[3]]); + } + comment(e7) { + if (e7[4] === "inline") { + let s5 = new fp2(); + this.init(s5, e7[2]), s5.raws.inline = true; + let r5 = this.input.fromOffset(e7[3]); + s5.source.end = { column: r5.col, line: r5.line, offset: e7[3] + 1 }; + let n5 = e7[1].slice(2); + if (/^\s*$/.test(n5)) s5.text = "", s5.raws.left = n5, s5.raws.right = ""; + else { + let i5 = n5.match(/^(\s*)([^]*\S)(\s*)$/), o5 = i5[2].replace(/(\*\/|\/\*)/g, "*//*"); + s5.text = o5, s5.raws.left = i5[1], s5.raws.right = i5[3], s5.raws.text = i5[2]; + } + } else super.comment(e7); + } + createTokenizer() { + this.tokenizer = dp2(this.input); + } + raw(e7, s5, r5, n5) { + if (super.raw(e7, s5, r5, n5), e7.raws[s5]) { + let i5 = e7.raws[s5].raw; + e7.raws[s5].raw = r5.reduce((o5, u) => { + if (u[0] === "comment" && u[4] === "inline") { + let a5 = u[1].slice(2).replace(/(\*\/|\/\*)/g, "*//*"); + return o5 + "/*" + a5 + "*/"; + } else return o5 + u[1]; + }, ""), i5 !== e7.raws[s5].raw && (e7.raws[s5].scss = i5); + } + } + rule(e7) { + let s5 = false, r5 = 0, n5 = ""; + for (let i5 of e7) if (s5) i5[0] !== "comment" && i5[0] !== "{" && (n5 += i5[1]); + else { + if (i5[0] === "space" && i5[1].includes(` +`)) break; + i5[0] === "(" ? r5 += 1 : i5[0] === ")" ? r5 -= 1 : r5 === 0 && i5[0] === ":" && (s5 = true); + } + if (!s5 || n5.trim() === "" || /^[#:A-Za-z-]/.test(n5)) super.rule(e7); + else { + e7.pop(); + let i5 = new hp2(); + this.init(i5, e7[0][2]); + let o5; + for (let a5 = e7.length - 1; a5 >= 0; a5--) if (e7[a5][0] !== "space") { + o5 = e7[a5]; + break; + } + if (o5[3]) { + let a5 = this.input.fromOffset(o5[3]); + i5.source.end = { column: a5.col, line: a5.line, offset: o5[3] + 1 }; + } else { + let a5 = this.input.fromOffset(o5[2]); + i5.source.end = { column: a5.col, line: a5.line, offset: o5[2] + 1 }; + } + for (; e7[0][0] !== "word"; ) i5.raws.before += e7.shift()[1]; + if (e7[0][2]) { + let a5 = this.input.fromOffset(e7[0][2]); + i5.source.start = { column: a5.col, line: a5.line, offset: e7[0][2] }; + } + for (i5.prop = ""; e7.length; ) { + let a5 = e7[0][0]; + if (a5 === ":" || a5 === "space" || a5 === "comment") break; + i5.prop += e7.shift()[1]; + } + i5.raws.between = ""; + let u; + for (; e7.length; ) if (u = e7.shift(), u[0] === ":") { + i5.raws.between += u[1]; + break; + } else i5.raws.between += u[1]; + (i5.prop[0] === "_" || i5.prop[0] === "*") && (i5.raws.before += i5.prop[0], i5.prop = i5.prop.slice(1)), i5.raws.between += this.spacesAndCommentsFromStart(e7), this.precheckMissedSemicolon(e7); + for (let a5 = e7.length - 1; a5 > 0; a5--) { + if (u = e7[a5], u[1] === "!important") { + i5.important = true; + let l5 = this.stringFrom(e7, a5); + l5 = this.spacesFromEnd(e7) + l5, l5 !== " !important" && (i5.raws.important = l5); + break; + } else if (u[1] === "important") { + let l5 = e7.slice(0), f7 = ""; + for (let h5 = a5; h5 > 0; h5--) { + let c7 = l5[h5][0]; + if (f7.trim().indexOf("!") === 0 && c7 !== "space") break; + f7 = l5.pop()[1] + f7; + } + f7.trim().indexOf("!") === 0 && (i5.important = true, i5.raws.important = f7, e7 = l5); + } + if (u[0] !== "space" && u[0] !== "comment") break; + } + this.raw(i5, "value", e7), i5.value.includes(":") && this.checkMissedSemicolon(e7), this.current = i5; + } + } + }; + fa4.exports = Ns7; + }); + da4 = w6((n_2, ha2) => { + var { Input: mp2 } = ir9(), yp3 = pa4(); + ha2.exports = function(e7, s5) { + let r5 = new mp2(e7, s5), n5 = new yp3(r5); + return n5.parse(), n5.root; + }; + }); + Rs8 = w6((Ps9) => { + "use strict"; + Object.defineProperty(Ps9, "__esModule", { value: true }); + function vp3(t26) { + this.after = t26.after, this.before = t26.before, this.type = t26.type, this.value = t26.value, this.sourceIndex = t26.sourceIndex; + } + Ps9.default = vp3; + }); + qs8 = w6((Is8) => { + "use strict"; + Object.defineProperty(Is8, "__esModule", { value: true }); + var xp3 = Rs8(), ya3 = _p3(xp3); + function _p3(t26) { + return t26 && t26.__esModule ? t26 : { default: t26 }; + } + function vt12(t26) { + var e7 = this; + this.constructor(t26), this.nodes = t26.nodes, this.after === void 0 && (this.after = this.nodes.length > 0 ? this.nodes[this.nodes.length - 1].after : ""), this.before === void 0 && (this.before = this.nodes.length > 0 ? this.nodes[0].before : ""), this.sourceIndex === void 0 && (this.sourceIndex = this.before.length), this.nodes.forEach(function(s5) { + s5.parent = e7; + }); + } + vt12.prototype = Object.create(ya3.default.prototype); + vt12.constructor = ya3.default; + vt12.prototype.walk = function(e7, s5) { + for (var r5 = typeof e7 == "string" || e7 instanceof RegExp, n5 = r5 ? s5 : e7, i5 = typeof e7 == "string" ? new RegExp(e7) : e7, o5 = 0; o5 < this.nodes.length; o5++) { + var u = this.nodes[o5], a5 = r5 ? i5.test(u.type) : true; + if (a5 && n5 && n5(u, o5, this.nodes) === false || u.nodes && u.walk(e7, s5) === false) return false; + } + return true; + }; + vt12.prototype.each = function() { + for (var e7 = arguments.length <= 0 || arguments[0] === void 0 ? function() { + } : arguments[0], s5 = 0; s5 < this.nodes.length; s5++) { + var r5 = this.nodes[s5]; + if (e7(r5, s5, this.nodes) === false) return false; + } + return true; + }; + Is8.default = vt12; + }); + xa4 = w6((xt10) => { + "use strict"; + Object.defineProperty(xt10, "__esModule", { value: true }); + xt10.parseMediaFeature = va4; + xt10.parseMediaQuery = Ds8; + xt10.parseMediaList = Sp3; + var bp3 = Rs8(), ga2 = wa4(bp3), Ep3 = qs8(), Ls8 = wa4(Ep3); + function wa4(t26) { + return t26 && t26.__esModule ? t26 : { default: t26 }; + } + function va4(t26) { + var e7 = arguments.length <= 1 || arguments[1] === void 0 ? 0 : arguments[1], s5 = [{ mode: "normal", character: null }], r5 = [], n5 = 0, i5 = "", o5 = null, u = null, a5 = e7, l5 = t26; + t26[0] === "(" && t26[t26.length - 1] === ")" && (l5 = t26.substring(1, t26.length - 1), a5++); + for (var f7 = 0; f7 < l5.length; f7++) { + var h5 = l5[f7]; + if ((h5 === "'" || h5 === '"') && (s5[n5].isCalculationEnabled === true ? (s5.push({ mode: "string", isCalculationEnabled: false, character: h5 }), n5++) : s5[n5].mode === "string" && s5[n5].character === h5 && l5[f7 - 1] !== "\\" && (s5.pop(), n5--)), h5 === "{" ? (s5.push({ mode: "interpolation", isCalculationEnabled: true }), n5++) : h5 === "}" && (s5.pop(), n5--), s5[n5].mode === "normal" && h5 === ":") { + var c7 = l5.substring(f7 + 1); + u = { type: "value", before: /^(\s*)/.exec(c7)[1], after: /(\s*)$/.exec(c7)[1], value: c7.trim() }, u.sourceIndex = u.before.length + f7 + 1 + a5, o5 = { type: "colon", sourceIndex: f7 + a5, after: u.before, value: ":" }; + break; + } + i5 += h5; + } + return i5 = { type: "media-feature", before: /^(\s*)/.exec(i5)[1], after: /(\s*)$/.exec(i5)[1], value: i5.trim() }, i5.sourceIndex = i5.before.length + a5, r5.push(i5), o5 !== null && (o5.before = i5.after, r5.push(o5)), u !== null && r5.push(u), r5; + } + function Ds8(t26) { + var e7 = arguments.length <= 1 || arguments[1] === void 0 ? 0 : arguments[1], s5 = [], r5 = 0, n5 = false, i5 = void 0; + function o5() { + return { before: "", after: "", value: "" }; + } + i5 = o5(); + for (var u = 0; u < t26.length; u++) { + var a5 = t26[u]; + n5 ? (i5.value += a5, (a5 === "{" || a5 === "(") && r5++, (a5 === ")" || a5 === "}") && r5--) : a5.search(/\s/) !== -1 ? i5.before += a5 : (a5 === "(" && (i5.type = "media-feature-expression", r5++), i5.value = a5, i5.sourceIndex = e7 + u, n5 = true), n5 && r5 === 0 && (a5 === ")" || u === t26.length - 1 || t26[u + 1].search(/\s/) !== -1) && (["not", "only", "and"].indexOf(i5.value) !== -1 && (i5.type = "keyword"), i5.type === "media-feature-expression" && (i5.nodes = va4(i5.value, i5.sourceIndex)), s5.push(Array.isArray(i5.nodes) ? new Ls8.default(i5) : new ga2.default(i5)), i5 = o5(), n5 = false); + } + for (var l5 = 0; l5 < s5.length; l5++) if (i5 = s5[l5], l5 > 0 && (s5[l5 - 1].after = i5.before), i5.type === void 0) { + if (l5 > 0) { + if (s5[l5 - 1].type === "media-feature-expression") { + i5.type = "keyword"; + continue; + } + if (s5[l5 - 1].value === "not" || s5[l5 - 1].value === "only") { + i5.type = "media-type"; + continue; + } + if (s5[l5 - 1].value === "and") { + i5.type = "media-feature-expression"; + continue; + } + s5[l5 - 1].type === "media-type" && (s5[l5 + 1] ? i5.type = s5[l5 + 1].type === "media-feature-expression" ? "keyword" : "media-feature-expression" : i5.type = "media-feature-expression"); + } + if (l5 === 0) { + if (!s5[l5 + 1]) { + i5.type = "media-type"; + continue; + } + if (s5[l5 + 1] && (s5[l5 + 1].type === "media-feature-expression" || s5[l5 + 1].type === "keyword")) { + i5.type = "media-type"; + continue; + } + if (s5[l5 + 2]) { + if (s5[l5 + 2].type === "media-feature-expression") { + i5.type = "media-type", s5[l5 + 1].type = "keyword"; + continue; + } + if (s5[l5 + 2].type === "keyword") { + i5.type = "keyword", s5[l5 + 1].type = "media-type"; + continue; + } + } + if (s5[l5 + 3] && s5[l5 + 3].type === "media-feature-expression") { + i5.type = "keyword", s5[l5 + 1].type = "media-type", s5[l5 + 2].type = "keyword"; + continue; + } + } + } + return s5; + } + function Sp3(t26) { + var e7 = [], s5 = 0, r5 = 0, n5 = /^(\s*)url\s*\(/.exec(t26); + if (n5 !== null) { + for (var i5 = n5[0].length, o5 = 1; o5 > 0; ) { + var u = t26[i5]; + u === "(" && o5++, u === ")" && o5--, i5++; + } + e7.unshift(new ga2.default({ type: "url", value: t26.substring(0, i5).trim(), sourceIndex: n5[1].length, before: n5[1], after: /^(\s*)/.exec(t26.substring(i5))[1] })), s5 = i5; + } + for (var a5 = s5; a5 < t26.length; a5++) { + var l5 = t26[a5]; + if (l5 === "(" && r5++, l5 === ")" && r5--, r5 === 0 && l5 === ",") { + var f7 = t26.substring(s5, a5), h5 = /^(\s*)/.exec(f7)[1]; + e7.push(new Ls8.default({ type: "media-query", value: f7.trim(), sourceIndex: s5 + h5.length, nodes: Ds8(f7, s5), before: h5, after: /(\s*)$/.exec(f7)[1] })), s5 = a5 + 1; + } + } + var c7 = t26.substring(s5), g5 = /^(\s*)/.exec(c7)[1]; + return e7.push(new Ls8.default({ type: "media-query", value: c7.trim(), sourceIndex: s5 + g5.length, nodes: Ds8(c7, s5), before: g5, after: /(\s*)$/.exec(c7)[1] })), e7; + } + }); + _a4 = w6((Ms8) => { + "use strict"; + Object.defineProperty(Ms8, "__esModule", { value: true }); + Ms8.default = Cp3; + var kp3 = qs8(), Tp3 = Op3(kp3), Ap3 = xa4(); + function Op3(t26) { + return t26 && t26.__esModule ? t26 : { default: t26 }; + } + function Cp3(t26) { + return new Tp3.default({ nodes: (0, Ap3.parseMediaList)(t26), type: "media-query-list", value: t26.trim() }); + } + }); + Us8 = w6((m_2, Sa2) => { + Sa2.exports = function(e7, s5) { + if (s5 = typeof s5 == "number" ? s5 : 1 / 0, !s5) return Array.isArray(e7) ? e7.map(function(n5) { + return n5; + }) : e7; + return r5(e7, 1); + function r5(n5, i5) { + return n5.reduce(function(o5, u) { + return Array.isArray(u) && i5 < s5 ? o5.concat(r5(u, i5 + 1)) : o5.concat(u); + }, []); + } + }; + }); + Fs8 = w6((y_2, ka3) => { + ka3.exports = function(t26, e7) { + for (var s5 = -1, r5 = []; (s5 = t26.indexOf(e7, s5 + 1)) !== -1; ) r5.push(s5); + return r5; + }; + }); + $s7 = w6((g_2, Ta3) => { + "use strict"; + function Rp3(t26, e7) { + for (var s5 = 1, r5 = t26.length, n5 = t26[0], i5 = t26[0], o5 = 1; o5 < r5; ++o5) if (i5 = n5, n5 = t26[o5], e7(n5, i5)) { + if (o5 === s5) { + s5++; + continue; + } + t26[s5++] = n5; + } + return t26.length = s5, t26; + } + function Ip3(t26) { + for (var e7 = 1, s5 = t26.length, r5 = t26[0], n5 = t26[0], i5 = 1; i5 < s5; ++i5, n5 = r5) if (n5 = r5, r5 = t26[i5], r5 !== n5) { + if (i5 === e7) { + e7++; + continue; + } + t26[e7++] = r5; + } + return t26.length = e7, t26; + } + function qp3(t26, e7, s5) { + return t26.length === 0 ? t26 : e7 ? (s5 || t26.sort(e7), Rp3(t26, e7)) : (s5 || t26.sort(), Ip3(t26)); + } + Ta3.exports = qp3; + }); + ke9 = w6((lr8, Oa5) => { + "use strict"; + lr8.__esModule = true; + var Aa3 = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t26) { + return typeof t26; + } : function(t26) { + return t26 && typeof Symbol == "function" && t26.constructor === Symbol && t26 !== Symbol.prototype ? "symbol" : typeof t26; + }; + function Lp3(t26, e7) { + if (!(t26 instanceof e7)) throw new TypeError("Cannot call a class as a function"); + } + var Dp3 = function t26(e7, s5) { + if ((typeof e7 > "u" ? "undefined" : Aa3(e7)) !== "object") return e7; + var r5 = new e7.constructor(); + for (var n5 in e7) if (e7.hasOwnProperty(n5)) { + var i5 = e7[n5], o5 = typeof i5 > "u" ? "undefined" : Aa3(i5); + n5 === "parent" && o5 === "object" ? s5 && (r5[n5] = s5) : i5 instanceof Array ? r5[n5] = i5.map(function(u) { + return t26(u, r5); + }) : r5[n5] = t26(i5, r5); + } + return r5; + }, Mp3 = (function() { + function t26() { + var e7 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}; + Lp3(this, t26); + for (var s5 in e7) this[s5] = e7[s5]; + var r5 = e7.spaces; + r5 = r5 === void 0 ? {} : r5; + var n5 = r5.before, i5 = n5 === void 0 ? "" : n5, o5 = r5.after, u = o5 === void 0 ? "" : o5; + this.spaces = { before: i5, after: u }; + } + return t26.prototype.remove = function() { + return this.parent && this.parent.removeChild(this), this.parent = void 0, this; + }, t26.prototype.replaceWith = function() { + if (this.parent) { + for (var s5 in arguments) this.parent.insertBefore(this, arguments[s5]); + this.remove(); + } + return this; + }, t26.prototype.next = function() { + return this.parent.at(this.parent.index(this) + 1); + }, t26.prototype.prev = function() { + return this.parent.at(this.parent.index(this) - 1); + }, t26.prototype.clone = function() { + var s5 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r5 = Dp3(this); + for (var n5 in s5) r5[n5] = s5[n5]; + return r5; + }, t26.prototype.toString = function() { + return [this.spaces.before, String(this.value), this.spaces.after].join(""); + }, t26; + })(); + lr8.default = Mp3; + Oa5.exports = lr8.default; + }); + B6 = w6((U9) => { + "use strict"; + U9.__esModule = true; + var w_2 = U9.TAG = "tag", v_2 = U9.STRING = "string", x_2 = U9.SELECTOR = "selector", __2 = U9.ROOT = "root", b_2 = U9.PSEUDO = "pseudo", E_2 = U9.NESTING = "nesting", S_2 = U9.ID = "id", k_2 = U9.COMMENT = "comment", T_2 = U9.COMBINATOR = "combinator", A_2 = U9.CLASS = "class", O_ = U9.ATTRIBUTE = "attribute", C_ = U9.UNIVERSAL = "universal"; + }); + fr9 = w6((cr8, Ca3) => { + "use strict"; + cr8.__esModule = true; + var Bp3 = /* @__PURE__ */ (function() { + function t26(e7, s5) { + for (var r5 = 0; r5 < s5.length; r5++) { + var n5 = s5[r5]; + n5.enumerable = n5.enumerable || false, n5.configurable = true, "value" in n5 && (n5.writable = true), Object.defineProperty(e7, n5.key, n5); + } + } + return function(e7, s5, r5) { + return s5 && t26(e7.prototype, s5), r5 && t26(e7, r5), e7; + }; + })(), Up3 = ke9(), Fp3 = Gp3(Up3), $p3 = B6(), re9 = Wp3($p3); + function Wp3(t26) { + if (t26 && t26.__esModule) return t26; + var e7 = {}; + if (t26 != null) for (var s5 in t26) Object.prototype.hasOwnProperty.call(t26, s5) && (e7[s5] = t26[s5]); + return e7.default = t26, e7; + } + function Gp3(t26) { + return t26 && t26.__esModule ? t26 : { default: t26 }; + } + function Yp3(t26, e7) { + if (!(t26 instanceof e7)) throw new TypeError("Cannot call a class as a function"); + } + function Vp3(t26, e7) { + if (!t26) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + return e7 && (typeof e7 == "object" || typeof e7 == "function") ? e7 : t26; + } + function zp3(t26, e7) { + if (typeof e7 != "function" && e7 !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof e7); + t26.prototype = Object.create(e7 && e7.prototype, { constructor: { value: t26, enumerable: false, writable: true, configurable: true } }), e7 && (Object.setPrototypeOf ? Object.setPrototypeOf(t26, e7) : t26.__proto__ = e7); + } + var jp3 = (function(t26) { + zp3(e7, t26); + function e7(s5) { + Yp3(this, e7); + var r5 = Vp3(this, t26.call(this, s5)); + return r5.nodes || (r5.nodes = []), r5; + } + return e7.prototype.append = function(r5) { + return r5.parent = this, this.nodes.push(r5), this; + }, e7.prototype.prepend = function(r5) { + return r5.parent = this, this.nodes.unshift(r5), this; + }, e7.prototype.at = function(r5) { + return this.nodes[r5]; + }, e7.prototype.index = function(r5) { + return typeof r5 == "number" ? r5 : this.nodes.indexOf(r5); + }, e7.prototype.removeChild = function(r5) { + r5 = this.index(r5), this.at(r5).parent = void 0, this.nodes.splice(r5, 1); + var n5 = void 0; + for (var i5 in this.indexes) n5 = this.indexes[i5], n5 >= r5 && (this.indexes[i5] = n5 - 1); + return this; + }, e7.prototype.removeAll = function() { + for (var i5 = this.nodes, r5 = Array.isArray(i5), n5 = 0, i5 = r5 ? i5 : i5[Symbol.iterator](); ; ) { + var o5; + if (r5) { + if (n5 >= i5.length) break; + o5 = i5[n5++]; + } else { + if (n5 = i5.next(), n5.done) break; + o5 = n5.value; + } + var u = o5; + u.parent = void 0; + } + return this.nodes = [], this; + }, e7.prototype.empty = function() { + return this.removeAll(); + }, e7.prototype.insertAfter = function(r5, n5) { + var i5 = this.index(r5); + this.nodes.splice(i5 + 1, 0, n5); + var o5 = void 0; + for (var u in this.indexes) o5 = this.indexes[u], i5 <= o5 && (this.indexes[u] = o5 + this.nodes.length); + return this; + }, e7.prototype.insertBefore = function(r5, n5) { + var i5 = this.index(r5); + this.nodes.splice(i5, 0, n5); + var o5 = void 0; + for (var u in this.indexes) o5 = this.indexes[u], i5 <= o5 && (this.indexes[u] = o5 + this.nodes.length); + return this; + }, e7.prototype.each = function(r5) { + this.lastEach || (this.lastEach = 0), this.indexes || (this.indexes = {}), this.lastEach++; + var n5 = this.lastEach; + if (this.indexes[n5] = 0, !!this.length) { + for (var i5 = void 0, o5 = void 0; this.indexes[n5] < this.length && (i5 = this.indexes[n5], o5 = r5(this.at(i5), i5), o5 !== false); ) this.indexes[n5] += 1; + if (delete this.indexes[n5], o5 === false) return false; + } + }, e7.prototype.walk = function(r5) { + return this.each(function(n5, i5) { + var o5 = r5(n5, i5); + if (o5 !== false && n5.length && (o5 = n5.walk(r5)), o5 === false) return false; + }); + }, e7.prototype.walkAttributes = function(r5) { + var n5 = this; + return this.walk(function(i5) { + if (i5.type === re9.ATTRIBUTE) return r5.call(n5, i5); + }); + }, e7.prototype.walkClasses = function(r5) { + var n5 = this; + return this.walk(function(i5) { + if (i5.type === re9.CLASS) return r5.call(n5, i5); + }); + }, e7.prototype.walkCombinators = function(r5) { + var n5 = this; + return this.walk(function(i5) { + if (i5.type === re9.COMBINATOR) return r5.call(n5, i5); + }); + }, e7.prototype.walkComments = function(r5) { + var n5 = this; + return this.walk(function(i5) { + if (i5.type === re9.COMMENT) return r5.call(n5, i5); + }); + }, e7.prototype.walkIds = function(r5) { + var n5 = this; + return this.walk(function(i5) { + if (i5.type === re9.ID) return r5.call(n5, i5); + }); + }, e7.prototype.walkNesting = function(r5) { + var n5 = this; + return this.walk(function(i5) { + if (i5.type === re9.NESTING) return r5.call(n5, i5); + }); + }, e7.prototype.walkPseudos = function(r5) { + var n5 = this; + return this.walk(function(i5) { + if (i5.type === re9.PSEUDO) return r5.call(n5, i5); + }); + }, e7.prototype.walkTags = function(r5) { + var n5 = this; + return this.walk(function(i5) { + if (i5.type === re9.TAG) return r5.call(n5, i5); + }); + }, e7.prototype.walkUniversals = function(r5) { + var n5 = this; + return this.walk(function(i5) { + if (i5.type === re9.UNIVERSAL) return r5.call(n5, i5); + }); + }, e7.prototype.split = function(r5) { + var n5 = this, i5 = []; + return this.reduce(function(o5, u, a5) { + var l5 = r5.call(n5, u); + return i5.push(u), l5 ? (o5.push(i5), i5 = []) : a5 === n5.length - 1 && o5.push(i5), o5; + }, []); + }, e7.prototype.map = function(r5) { + return this.nodes.map(r5); + }, e7.prototype.reduce = function(r5, n5) { + return this.nodes.reduce(r5, n5); + }, e7.prototype.every = function(r5) { + return this.nodes.every(r5); + }, e7.prototype.some = function(r5) { + return this.nodes.some(r5); + }, e7.prototype.filter = function(r5) { + return this.nodes.filter(r5); + }, e7.prototype.sort = function(r5) { + return this.nodes.sort(r5); + }, e7.prototype.toString = function() { + return this.map(String).join(""); + }, Bp3(e7, [{ key: "first", get: function() { + return this.at(0); + } }, { key: "last", get: function() { + return this.at(this.length - 1); + } }, { key: "length", get: function() { + return this.nodes.length; + } }]), e7; + })(Fp3.default); + cr8.default = jp3; + Ca3.exports = cr8.default; + }); + Pa4 = w6((pr8, Na4) => { + "use strict"; + pr8.__esModule = true; + var Hp3 = fr9(), Kp3 = Xp3(Hp3), Qp3 = B6(); + function Xp3(t26) { + return t26 && t26.__esModule ? t26 : { default: t26 }; + } + function Jp3(t26, e7) { + if (!(t26 instanceof e7)) throw new TypeError("Cannot call a class as a function"); + } + function Zp3(t26, e7) { + if (!t26) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + return e7 && (typeof e7 == "object" || typeof e7 == "function") ? e7 : t26; + } + function eh2(t26, e7) { + if (typeof e7 != "function" && e7 !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof e7); + t26.prototype = Object.create(e7 && e7.prototype, { constructor: { value: t26, enumerable: false, writable: true, configurable: true } }), e7 && (Object.setPrototypeOf ? Object.setPrototypeOf(t26, e7) : t26.__proto__ = e7); + } + var th2 = (function(t26) { + eh2(e7, t26); + function e7(s5) { + Jp3(this, e7); + var r5 = Zp3(this, t26.call(this, s5)); + return r5.type = Qp3.ROOT, r5; + } + return e7.prototype.toString = function() { + var r5 = this.reduce(function(n5, i5) { + var o5 = String(i5); + return o5 ? n5 + o5 + "," : ""; + }, "").slice(0, -1); + return this.trailingComma ? r5 + "," : r5; + }, e7; + })(Kp3.default); + pr8.default = th2; + Na4.exports = pr8.default; + }); + Ia3 = w6((hr8, Ra5) => { + "use strict"; + hr8.__esModule = true; + var rh2 = fr9(), sh2 = ih2(rh2), nh2 = B6(); + function ih2(t26) { + return t26 && t26.__esModule ? t26 : { default: t26 }; + } + function oh2(t26, e7) { + if (!(t26 instanceof e7)) throw new TypeError("Cannot call a class as a function"); + } + function ah2(t26, e7) { + if (!t26) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + return e7 && (typeof e7 == "object" || typeof e7 == "function") ? e7 : t26; + } + function uh2(t26, e7) { + if (typeof e7 != "function" && e7 !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof e7); + t26.prototype = Object.create(e7 && e7.prototype, { constructor: { value: t26, enumerable: false, writable: true, configurable: true } }), e7 && (Object.setPrototypeOf ? Object.setPrototypeOf(t26, e7) : t26.__proto__ = e7); + } + var lh2 = (function(t26) { + uh2(e7, t26); + function e7(s5) { + oh2(this, e7); + var r5 = ah2(this, t26.call(this, s5)); + return r5.type = nh2.SELECTOR, r5; + } + return e7; + })(sh2.default); + hr8.default = lh2; + Ra5.exports = hr8.default; + }); + Ye9 = w6((dr9, qa5) => { + "use strict"; + dr9.__esModule = true; + var ch2 = /* @__PURE__ */ (function() { + function t26(e7, s5) { + for (var r5 = 0; r5 < s5.length; r5++) { + var n5 = s5[r5]; + n5.enumerable = n5.enumerable || false, n5.configurable = true, "value" in n5 && (n5.writable = true), Object.defineProperty(e7, n5.key, n5); + } + } + return function(e7, s5, r5) { + return s5 && t26(e7.prototype, s5), r5 && t26(e7, r5), e7; + }; + })(), fh2 = ke9(), ph2 = hh2(fh2); + function hh2(t26) { + return t26 && t26.__esModule ? t26 : { default: t26 }; + } + function dh2(t26, e7) { + if (!(t26 instanceof e7)) throw new TypeError("Cannot call a class as a function"); + } + function mh2(t26, e7) { + if (!t26) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + return e7 && (typeof e7 == "object" || typeof e7 == "function") ? e7 : t26; + } + function yh2(t26, e7) { + if (typeof e7 != "function" && e7 !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof e7); + t26.prototype = Object.create(e7 && e7.prototype, { constructor: { value: t26, enumerable: false, writable: true, configurable: true } }), e7 && (Object.setPrototypeOf ? Object.setPrototypeOf(t26, e7) : t26.__proto__ = e7); + } + var gh2 = (function(t26) { + yh2(e7, t26); + function e7() { + return dh2(this, e7), mh2(this, t26.apply(this, arguments)); + } + return e7.prototype.toString = function() { + return [this.spaces.before, this.ns, String(this.value), this.spaces.after].join(""); + }, ch2(e7, [{ key: "ns", get: function() { + var r5 = this.namespace; + return r5 ? (typeof r5 == "string" ? r5 : "") + "|" : ""; + } }]), e7; + })(ph2.default); + dr9.default = gh2; + qa5.exports = dr9.default; + }); + Da4 = w6((mr7, La4) => { + "use strict"; + mr7.__esModule = true; + var wh2 = Ye9(), vh2 = _h2(wh2), xh2 = B6(); + function _h2(t26) { + return t26 && t26.__esModule ? t26 : { default: t26 }; + } + function bh(t26, e7) { + if (!(t26 instanceof e7)) throw new TypeError("Cannot call a class as a function"); + } + function Eh2(t26, e7) { + if (!t26) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + return e7 && (typeof e7 == "object" || typeof e7 == "function") ? e7 : t26; + } + function Sh2(t26, e7) { + if (typeof e7 != "function" && e7 !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof e7); + t26.prototype = Object.create(e7 && e7.prototype, { constructor: { value: t26, enumerable: false, writable: true, configurable: true } }), e7 && (Object.setPrototypeOf ? Object.setPrototypeOf(t26, e7) : t26.__proto__ = e7); + } + var kh2 = (function(t26) { + Sh2(e7, t26); + function e7(s5) { + bh(this, e7); + var r5 = Eh2(this, t26.call(this, s5)); + return r5.type = xh2.CLASS, r5; + } + return e7.prototype.toString = function() { + return [this.spaces.before, this.ns, "." + this.value, this.spaces.after].join(""); + }, e7; + })(vh2.default); + mr7.default = kh2; + La4.exports = mr7.default; + }); + Ba4 = w6((yr7, Ma4) => { + "use strict"; + yr7.__esModule = true; + var Th2 = ke9(), Ah2 = Ch2(Th2), Oh2 = B6(); + function Ch2(t26) { + return t26 && t26.__esModule ? t26 : { default: t26 }; + } + function Nh2(t26, e7) { + if (!(t26 instanceof e7)) throw new TypeError("Cannot call a class as a function"); + } + function Ph2(t26, e7) { + if (!t26) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + return e7 && (typeof e7 == "object" || typeof e7 == "function") ? e7 : t26; + } + function Rh(t26, e7) { + if (typeof e7 != "function" && e7 !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof e7); + t26.prototype = Object.create(e7 && e7.prototype, { constructor: { value: t26, enumerable: false, writable: true, configurable: true } }), e7 && (Object.setPrototypeOf ? Object.setPrototypeOf(t26, e7) : t26.__proto__ = e7); + } + var Ih2 = (function(t26) { + Rh(e7, t26); + function e7(s5) { + Nh2(this, e7); + var r5 = Ph2(this, t26.call(this, s5)); + return r5.type = Oh2.COMMENT, r5; + } + return e7; + })(Ah2.default); + yr7.default = Ih2; + Ma4.exports = yr7.default; + }); + Fa5 = w6((gr7, Ua6) => { + "use strict"; + gr7.__esModule = true; + var qh2 = Ye9(), Lh2 = Mh2(qh2), Dh2 = B6(); + function Mh2(t26) { + return t26 && t26.__esModule ? t26 : { default: t26 }; + } + function Bh2(t26, e7) { + if (!(t26 instanceof e7)) throw new TypeError("Cannot call a class as a function"); + } + function Uh2(t26, e7) { + if (!t26) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + return e7 && (typeof e7 == "object" || typeof e7 == "function") ? e7 : t26; + } + function Fh2(t26, e7) { + if (typeof e7 != "function" && e7 !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof e7); + t26.prototype = Object.create(e7 && e7.prototype, { constructor: { value: t26, enumerable: false, writable: true, configurable: true } }), e7 && (Object.setPrototypeOf ? Object.setPrototypeOf(t26, e7) : t26.__proto__ = e7); + } + var $h2 = (function(t26) { + Fh2(e7, t26); + function e7(s5) { + Bh2(this, e7); + var r5 = Uh2(this, t26.call(this, s5)); + return r5.type = Dh2.ID, r5; + } + return e7.prototype.toString = function() { + return [this.spaces.before, this.ns, "#" + this.value, this.spaces.after].join(""); + }, e7; + })(Lh2.default); + gr7.default = $h2; + Ua6.exports = gr7.default; + }); + Wa4 = w6((wr6, $a6) => { + "use strict"; + wr6.__esModule = true; + var Wh2 = Ye9(), Gh2 = Vh2(Wh2), Yh2 = B6(); + function Vh2(t26) { + return t26 && t26.__esModule ? t26 : { default: t26 }; + } + function zh(t26, e7) { + if (!(t26 instanceof e7)) throw new TypeError("Cannot call a class as a function"); + } + function jh2(t26, e7) { + if (!t26) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + return e7 && (typeof e7 == "object" || typeof e7 == "function") ? e7 : t26; + } + function Hh2(t26, e7) { + if (typeof e7 != "function" && e7 !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof e7); + t26.prototype = Object.create(e7 && e7.prototype, { constructor: { value: t26, enumerable: false, writable: true, configurable: true } }), e7 && (Object.setPrototypeOf ? Object.setPrototypeOf(t26, e7) : t26.__proto__ = e7); + } + var Kh2 = (function(t26) { + Hh2(e7, t26); + function e7(s5) { + zh(this, e7); + var r5 = jh2(this, t26.call(this, s5)); + return r5.type = Yh2.TAG, r5; + } + return e7; + })(Gh2.default); + wr6.default = Kh2; + $a6.exports = wr6.default; + }); + Ya4 = w6((vr6, Ga5) => { + "use strict"; + vr6.__esModule = true; + var Qh2 = ke9(), Xh = Zh2(Qh2), Jh2 = B6(); + function Zh2(t26) { + return t26 && t26.__esModule ? t26 : { default: t26 }; + } + function ed2(t26, e7) { + if (!(t26 instanceof e7)) throw new TypeError("Cannot call a class as a function"); + } + function td2(t26, e7) { + if (!t26) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + return e7 && (typeof e7 == "object" || typeof e7 == "function") ? e7 : t26; + } + function rd2(t26, e7) { + if (typeof e7 != "function" && e7 !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof e7); + t26.prototype = Object.create(e7 && e7.prototype, { constructor: { value: t26, enumerable: false, writable: true, configurable: true } }), e7 && (Object.setPrototypeOf ? Object.setPrototypeOf(t26, e7) : t26.__proto__ = e7); + } + var sd2 = (function(t26) { + rd2(e7, t26); + function e7(s5) { + ed2(this, e7); + var r5 = td2(this, t26.call(this, s5)); + return r5.type = Jh2.STRING, r5; + } + return e7; + })(Xh.default); + vr6.default = sd2; + Ga5.exports = vr6.default; + }); + za4 = w6((xr6, Va5) => { + "use strict"; + xr6.__esModule = true; + var nd2 = fr9(), id2 = ad2(nd2), od2 = B6(); + function ad2(t26) { + return t26 && t26.__esModule ? t26 : { default: t26 }; + } + function ud(t26, e7) { + if (!(t26 instanceof e7)) throw new TypeError("Cannot call a class as a function"); + } + function ld2(t26, e7) { + if (!t26) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + return e7 && (typeof e7 == "object" || typeof e7 == "function") ? e7 : t26; + } + function cd2(t26, e7) { + if (typeof e7 != "function" && e7 !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof e7); + t26.prototype = Object.create(e7 && e7.prototype, { constructor: { value: t26, enumerable: false, writable: true, configurable: true } }), e7 && (Object.setPrototypeOf ? Object.setPrototypeOf(t26, e7) : t26.__proto__ = e7); + } + var fd = (function(t26) { + cd2(e7, t26); + function e7(s5) { + ud(this, e7); + var r5 = ld2(this, t26.call(this, s5)); + return r5.type = od2.PSEUDO, r5; + } + return e7.prototype.toString = function() { + var r5 = this.length ? "(" + this.map(String).join(",") + ")" : ""; + return [this.spaces.before, String(this.value), r5, this.spaces.after].join(""); + }, e7; + })(id2.default); + xr6.default = fd; + Va5.exports = xr6.default; + }); + Ha4 = w6((_r8, ja6) => { + "use strict"; + _r8.__esModule = true; + var pd = Ye9(), hd2 = md(pd), dd = B6(); + function md(t26) { + return t26 && t26.__esModule ? t26 : { default: t26 }; + } + function yd2(t26, e7) { + if (!(t26 instanceof e7)) throw new TypeError("Cannot call a class as a function"); + } + function gd2(t26, e7) { + if (!t26) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + return e7 && (typeof e7 == "object" || typeof e7 == "function") ? e7 : t26; + } + function wd2(t26, e7) { + if (typeof e7 != "function" && e7 !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof e7); + t26.prototype = Object.create(e7 && e7.prototype, { constructor: { value: t26, enumerable: false, writable: true, configurable: true } }), e7 && (Object.setPrototypeOf ? Object.setPrototypeOf(t26, e7) : t26.__proto__ = e7); + } + var vd2 = (function(t26) { + wd2(e7, t26); + function e7(s5) { + yd2(this, e7); + var r5 = gd2(this, t26.call(this, s5)); + return r5.type = dd.ATTRIBUTE, r5.raws = {}, r5; + } + return e7.prototype.toString = function() { + var r5 = [this.spaces.before, "[", this.ns, this.attribute]; + return this.operator && r5.push(this.operator), this.value && r5.push(this.value), this.raws.insensitive ? r5.push(this.raws.insensitive) : this.insensitive && r5.push(" i"), r5.push("]"), r5.concat(this.spaces.after).join(""); + }, e7; + })(hd2.default); + _r8.default = vd2; + ja6.exports = _r8.default; + }); + Qa4 = w6((br7, Ka4) => { + "use strict"; + br7.__esModule = true; + var xd2 = Ye9(), _d2 = Ed2(xd2), bd2 = B6(); + function Ed2(t26) { + return t26 && t26.__esModule ? t26 : { default: t26 }; + } + function Sd2(t26, e7) { + if (!(t26 instanceof e7)) throw new TypeError("Cannot call a class as a function"); + } + function kd2(t26, e7) { + if (!t26) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + return e7 && (typeof e7 == "object" || typeof e7 == "function") ? e7 : t26; + } + function Td2(t26, e7) { + if (typeof e7 != "function" && e7 !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof e7); + t26.prototype = Object.create(e7 && e7.prototype, { constructor: { value: t26, enumerable: false, writable: true, configurable: true } }), e7 && (Object.setPrototypeOf ? Object.setPrototypeOf(t26, e7) : t26.__proto__ = e7); + } + var Ad2 = (function(t26) { + Td2(e7, t26); + function e7(s5) { + Sd2(this, e7); + var r5 = kd2(this, t26.call(this, s5)); + return r5.type = bd2.UNIVERSAL, r5.value = "*", r5; + } + return e7; + })(_d2.default); + br7.default = Ad2; + Ka4.exports = br7.default; + }); + Ja5 = w6((Er7, Xa6) => { + "use strict"; + Er7.__esModule = true; + var Od2 = ke9(), Cd2 = Pd2(Od2), Nd2 = B6(); + function Pd2(t26) { + return t26 && t26.__esModule ? t26 : { default: t26 }; + } + function Rd2(t26, e7) { + if (!(t26 instanceof e7)) throw new TypeError("Cannot call a class as a function"); + } + function Id2(t26, e7) { + if (!t26) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + return e7 && (typeof e7 == "object" || typeof e7 == "function") ? e7 : t26; + } + function qd2(t26, e7) { + if (typeof e7 != "function" && e7 !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof e7); + t26.prototype = Object.create(e7 && e7.prototype, { constructor: { value: t26, enumerable: false, writable: true, configurable: true } }), e7 && (Object.setPrototypeOf ? Object.setPrototypeOf(t26, e7) : t26.__proto__ = e7); + } + var Ld2 = (function(t26) { + qd2(e7, t26); + function e7(s5) { + Rd2(this, e7); + var r5 = Id2(this, t26.call(this, s5)); + return r5.type = Nd2.COMBINATOR, r5; + } + return e7; + })(Cd2.default); + Er7.default = Ld2; + Xa6.exports = Er7.default; + }); + eu3 = w6((Sr7, Za3) => { + "use strict"; + Sr7.__esModule = true; + var Dd2 = ke9(), Md2 = Ud2(Dd2), Bd2 = B6(); + function Ud2(t26) { + return t26 && t26.__esModule ? t26 : { default: t26 }; + } + function Fd2(t26, e7) { + if (!(t26 instanceof e7)) throw new TypeError("Cannot call a class as a function"); + } + function $d2(t26, e7) { + if (!t26) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + return e7 && (typeof e7 == "object" || typeof e7 == "function") ? e7 : t26; + } + function Wd2(t26, e7) { + if (typeof e7 != "function" && e7 !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof e7); + t26.prototype = Object.create(e7 && e7.prototype, { constructor: { value: t26, enumerable: false, writable: true, configurable: true } }), e7 && (Object.setPrototypeOf ? Object.setPrototypeOf(t26, e7) : t26.__proto__ = e7); + } + var Gd2 = (function(t26) { + Wd2(e7, t26); + function e7(s5) { + Fd2(this, e7); + var r5 = $d2(this, t26.call(this, s5)); + return r5.type = Bd2.NESTING, r5.value = "&", r5; + } + return e7; + })(Md2.default); + Sr7.default = Gd2; + Za3.exports = Sr7.default; + }); + ru3 = w6((kr6, tu3) => { + "use strict"; + kr6.__esModule = true; + kr6.default = Yd2; + function Yd2(t26) { + return t26.sort(function(e7, s5) { + return e7 - s5; + }); + } + tu3.exports = kr6.default; + }); + fu3 = w6((Or7, cu3) => { + "use strict"; + Or7.__esModule = true; + Or7.default = tm3; + var su3 = 39, Vd2 = 34, Ws8 = 92, nu3 = 47, _t9 = 10, Gs8 = 32, Ys9 = 12, Vs7 = 9, zs9 = 13, iu3 = 43, ou3 = 62, au3 = 126, uu4 = 124, zd2 = 44, jd2 = 40, Hd2 = 41, Kd2 = 91, Qd2 = 93, Xd2 = 59, lu4 = 42, Jd2 = 58, Zd2 = 38, em3 = 64, Tr7 = /[ \n\t\r\{\(\)'"\\;/]/g, Ar7 = /[ \n\t\r\(\)\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g; + function tm3(t26) { + for (var e7 = [], s5 = t26.css.valueOf(), r5 = void 0, n5 = void 0, i5 = void 0, o5 = void 0, u = void 0, a5 = void 0, l5 = void 0, f7 = void 0, h5 = void 0, c7 = void 0, g5 = void 0, b7 = s5.length, d5 = -1, p4 = 1, m7 = 0, y10 = function(O7, q11) { + if (t26.safe) s5 += q11, n5 = s5.length - 1; + else throw t26.error("Unclosed " + O7, p4, m7 - d5, m7); + }; m7 < b7; ) { + switch (r5 = s5.charCodeAt(m7), r5 === _t9 && (d5 = m7, p4 += 1), r5) { + case _t9: + case Gs8: + case Vs7: + case zs9: + case Ys9: + n5 = m7; + do + n5 += 1, r5 = s5.charCodeAt(n5), r5 === _t9 && (d5 = n5, p4 += 1); + while (r5 === Gs8 || r5 === _t9 || r5 === Vs7 || r5 === zs9 || r5 === Ys9); + e7.push(["space", s5.slice(m7, n5), p4, m7 - d5, m7]), m7 = n5 - 1; + break; + case iu3: + case ou3: + case au3: + case uu4: + n5 = m7; + do + n5 += 1, r5 = s5.charCodeAt(n5); + while (r5 === iu3 || r5 === ou3 || r5 === au3 || r5 === uu4); + e7.push(["combinator", s5.slice(m7, n5), p4, m7 - d5, m7]), m7 = n5 - 1; + break; + case lu4: + e7.push(["*", "*", p4, m7 - d5, m7]); + break; + case Zd2: + e7.push(["&", "&", p4, m7 - d5, m7]); + break; + case zd2: + e7.push([",", ",", p4, m7 - d5, m7]); + break; + case Kd2: + e7.push(["[", "[", p4, m7 - d5, m7]); + break; + case Qd2: + e7.push(["]", "]", p4, m7 - d5, m7]); + break; + case Jd2: + e7.push([":", ":", p4, m7 - d5, m7]); + break; + case Xd2: + e7.push([";", ";", p4, m7 - d5, m7]); + break; + case jd2: + e7.push(["(", "(", p4, m7 - d5, m7]); + break; + case Hd2: + e7.push([")", ")", p4, m7 - d5, m7]); + break; + case su3: + case Vd2: + i5 = r5 === su3 ? "'" : '"', n5 = m7; + do + for (c7 = false, n5 = s5.indexOf(i5, n5 + 1), n5 === -1 && y10("quote", i5), g5 = n5; s5.charCodeAt(g5 - 1) === Ws8; ) g5 -= 1, c7 = !c7; + while (c7); + e7.push(["string", s5.slice(m7, n5 + 1), p4, m7 - d5, p4, n5 - d5, m7]), m7 = n5; + break; + case em3: + Tr7.lastIndex = m7 + 1, Tr7.test(s5), Tr7.lastIndex === 0 ? n5 = s5.length - 1 : n5 = Tr7.lastIndex - 2, e7.push(["at-word", s5.slice(m7, n5 + 1), p4, m7 - d5, p4, n5 - d5, m7]), m7 = n5; + break; + case Ws8: + for (n5 = m7, l5 = true; s5.charCodeAt(n5 + 1) === Ws8; ) n5 += 1, l5 = !l5; + r5 = s5.charCodeAt(n5 + 1), l5 && r5 !== nu3 && r5 !== Gs8 && r5 !== _t9 && r5 !== Vs7 && r5 !== zs9 && r5 !== Ys9 && (n5 += 1), e7.push(["word", s5.slice(m7, n5 + 1), p4, m7 - d5, p4, n5 - d5, m7]), m7 = n5; + break; + default: + r5 === nu3 && s5.charCodeAt(m7 + 1) === lu4 ? (n5 = s5.indexOf("*/", m7 + 2) + 1, n5 === 0 && y10("comment", "*/"), a5 = s5.slice(m7, n5 + 1), o5 = a5.split(` +`), u = o5.length - 1, u > 0 ? (f7 = p4 + u, h5 = n5 - o5[u].length) : (f7 = p4, h5 = d5), e7.push(["comment", a5, p4, m7 - d5, f7, n5 - h5, m7]), d5 = h5, p4 = f7, m7 = n5) : (Ar7.lastIndex = m7 + 1, Ar7.test(s5), Ar7.lastIndex === 0 ? n5 = s5.length - 1 : n5 = Ar7.lastIndex - 2, e7.push(["word", s5.slice(m7, n5 + 1), p4, m7 - d5, p4, n5 - d5, m7]), m7 = n5); + break; + } + m7++; + } + return e7; + } + cu3.exports = Or7.default; + }); + du3 = w6((Cr7, hu4) => { + "use strict"; + Cr7.__esModule = true; + var rm4 = /* @__PURE__ */ (function() { + function t26(e7, s5) { + for (var r5 = 0; r5 < s5.length; r5++) { + var n5 = s5[r5]; + n5.enumerable = n5.enumerable || false, n5.configurable = true, "value" in n5 && (n5.writable = true), Object.defineProperty(e7, n5.key, n5); + } + } + return function(e7, s5, r5) { + return s5 && t26(e7.prototype, s5), r5 && t26(e7, r5), e7; + }; + })(), sm3 = Us8(), nm3 = I8(sm3), im3 = Fs8(), js9 = I8(im3), om3 = $s7(), am3 = I8(om3), um3 = Pa4(), lm3 = I8(um3), cm3 = Ia3(), Hs9 = I8(cm3), fm3 = Da4(), pm3 = I8(fm3), hm3 = Ba4(), dm3 = I8(hm3), mm3 = Fa5(), ym3 = I8(mm3), gm3 = Wa4(), wm3 = I8(gm3), vm3 = Ya4(), xm3 = I8(vm3), _m3 = za4(), bm3 = I8(_m3), Em3 = Ha4(), Sm3 = I8(Em3), km3 = Qa4(), Tm3 = I8(km3), Am3 = Ja5(), Om3 = I8(Am3), Cm3 = eu3(), Nm3 = I8(Cm3), Pm3 = ru3(), Rm3 = I8(Pm3), Im3 = fu3(), pu2 = I8(Im3), qm3 = B6(), Lm3 = Dm3(qm3); + function Dm3(t26) { + if (t26 && t26.__esModule) return t26; + var e7 = {}; + if (t26 != null) for (var s5 in t26) Object.prototype.hasOwnProperty.call(t26, s5) && (e7[s5] = t26[s5]); + return e7.default = t26, e7; + } + function I8(t26) { + return t26 && t26.__esModule ? t26 : { default: t26 }; + } + function Mm3(t26, e7) { + if (!(t26 instanceof e7)) throw new TypeError("Cannot call a class as a function"); + } + var Bm3 = (function() { + function t26(e7) { + Mm3(this, t26), this.input = e7, this.lossy = e7.options.lossless === false, this.position = 0, this.root = new lm3.default(); + var s5 = new Hs9.default(); + return this.root.append(s5), this.current = s5, this.lossy ? this.tokens = (0, pu2.default)({ safe: e7.safe, css: e7.css.trim() }) : this.tokens = (0, pu2.default)(e7), this.loop(); + } + return t26.prototype.attribute = function() { + var s5 = "", r5 = void 0, n5 = this.currToken; + for (this.position++; this.position < this.tokens.length && this.currToken[0] !== "]"; ) s5 += this.tokens[this.position][1], this.position++; + this.position === this.tokens.length && !~s5.indexOf("]") && this.error("Expected a closing square bracket."); + var i5 = s5.split(/((?:[*~^$|]?=))([^]*)/), o5 = i5[0].split(/(\|)/g), u = { operator: i5[1], value: i5[2], source: { start: { line: n5[2], column: n5[3] }, end: { line: this.currToken[2], column: this.currToken[3] } }, sourceIndex: n5[4] }; + if (o5.length > 1 ? (o5[0] === "" && (o5[0] = true), u.attribute = this.parseValue(o5[2]), u.namespace = this.parseNamespace(o5[0])) : u.attribute = this.parseValue(i5[0]), r5 = new Sm3.default(u), i5[2]) { + var a5 = i5[2].split(/(\s+i\s*?)$/), l5 = a5[0].trim(); + r5.value = this.lossy ? l5 : a5[0], a5[1] && (r5.insensitive = true, this.lossy || (r5.raws.insensitive = a5[1])), r5.quoted = l5[0] === "'" || l5[0] === '"', r5.raws.unquoted = r5.quoted ? l5.slice(1, -1) : l5; + } + this.newNode(r5), this.position++; + }, t26.prototype.combinator = function() { + if (this.currToken[1] === "|") return this.namespace(); + for (var s5 = new Om3.default({ value: "", source: { start: { line: this.currToken[2], column: this.currToken[3] }, end: { line: this.currToken[2], column: this.currToken[3] } }, sourceIndex: this.currToken[4] }); this.position < this.tokens.length && this.currToken && (this.currToken[0] === "space" || this.currToken[0] === "combinator"); ) this.nextToken && this.nextToken[0] === "combinator" ? (s5.spaces.before = this.parseSpace(this.currToken[1]), s5.source.start.line = this.nextToken[2], s5.source.start.column = this.nextToken[3], s5.source.end.column = this.nextToken[3], s5.source.end.line = this.nextToken[2], s5.sourceIndex = this.nextToken[4]) : this.prevToken && this.prevToken[0] === "combinator" ? s5.spaces.after = this.parseSpace(this.currToken[1]) : this.currToken[0] === "combinator" ? s5.value = this.currToken[1] : this.currToken[0] === "space" && (s5.value = this.parseSpace(this.currToken[1], " ")), this.position++; + return this.newNode(s5); + }, t26.prototype.comma = function() { + if (this.position === this.tokens.length - 1) { + this.root.trailingComma = true, this.position++; + return; + } + var s5 = new Hs9.default(); + this.current.parent.append(s5), this.current = s5, this.position++; + }, t26.prototype.comment = function() { + var s5 = new dm3.default({ value: this.currToken[1], source: { start: { line: this.currToken[2], column: this.currToken[3] }, end: { line: this.currToken[4], column: this.currToken[5] } }, sourceIndex: this.currToken[6] }); + this.newNode(s5), this.position++; + }, t26.prototype.error = function(s5) { + throw new this.input.error(s5); + }, t26.prototype.missingBackslash = function() { + return this.error("Expected a backslash preceding the semicolon."); + }, t26.prototype.missingParenthesis = function() { + return this.error("Expected opening parenthesis."); + }, t26.prototype.missingSquareBracket = function() { + return this.error("Expected opening square bracket."); + }, t26.prototype.namespace = function() { + var s5 = this.prevToken && this.prevToken[1] || true; + if (this.nextToken[0] === "word") return this.position++, this.word(s5); + if (this.nextToken[0] === "*") return this.position++, this.universal(s5); + }, t26.prototype.nesting = function() { + this.newNode(new Nm3.default({ value: this.currToken[1], source: { start: { line: this.currToken[2], column: this.currToken[3] }, end: { line: this.currToken[2], column: this.currToken[3] } }, sourceIndex: this.currToken[4] })), this.position++; + }, t26.prototype.parentheses = function() { + var s5 = this.current.last; + if (s5 && s5.type === Lm3.PSEUDO) { + var r5 = new Hs9.default(), n5 = this.current; + s5.append(r5), this.current = r5; + var i5 = 1; + for (this.position++; this.position < this.tokens.length && i5; ) this.currToken[0] === "(" && i5++, this.currToken[0] === ")" && i5--, i5 ? this.parse() : (r5.parent.source.end.line = this.currToken[2], r5.parent.source.end.column = this.currToken[3], this.position++); + i5 && this.error("Expected closing parenthesis."), this.current = n5; + } else { + var o5 = 1; + for (this.position++, s5.value += "("; this.position < this.tokens.length && o5; ) this.currToken[0] === "(" && o5++, this.currToken[0] === ")" && o5--, s5.value += this.parseParenthesisToken(this.currToken), this.position++; + o5 && this.error("Expected closing parenthesis."); + } + }, t26.prototype.pseudo = function() { + for (var s5 = this, r5 = "", n5 = this.currToken; this.currToken && this.currToken[0] === ":"; ) r5 += this.currToken[1], this.position++; + if (!this.currToken) return this.error("Expected pseudo-class or pseudo-element"); + if (this.currToken[0] === "word") { + var i5 = void 0; + this.splitWord(false, function(o5, u) { + r5 += o5, i5 = new bm3.default({ value: r5, source: { start: { line: n5[2], column: n5[3] }, end: { line: s5.currToken[4], column: s5.currToken[5] } }, sourceIndex: n5[4] }), s5.newNode(i5), u > 1 && s5.nextToken && s5.nextToken[0] === "(" && s5.error("Misplaced parenthesis."); + }); + } else this.error('Unexpected "' + this.currToken[0] + '" found.'); + }, t26.prototype.space = function() { + var s5 = this.currToken; + this.position === 0 || this.prevToken[0] === "," || this.prevToken[0] === "(" ? (this.spaces = this.parseSpace(s5[1]), this.position++) : this.position === this.tokens.length - 1 || this.nextToken[0] === "," || this.nextToken[0] === ")" ? (this.current.last.spaces.after = this.parseSpace(s5[1]), this.position++) : this.combinator(); + }, t26.prototype.string = function() { + var s5 = this.currToken; + this.newNode(new xm3.default({ value: this.currToken[1], source: { start: { line: s5[2], column: s5[3] }, end: { line: s5[4], column: s5[5] } }, sourceIndex: s5[6] })), this.position++; + }, t26.prototype.universal = function(s5) { + var r5 = this.nextToken; + if (r5 && r5[1] === "|") return this.position++, this.namespace(); + this.newNode(new Tm3.default({ value: this.currToken[1], source: { start: { line: this.currToken[2], column: this.currToken[3] }, end: { line: this.currToken[2], column: this.currToken[3] } }, sourceIndex: this.currToken[4] }), s5), this.position++; + }, t26.prototype.splitWord = function(s5, r5) { + for (var n5 = this, i5 = this.nextToken, o5 = this.currToken[1]; i5 && i5[0] === "word"; ) { + this.position++; + var u = this.currToken[1]; + if (o5 += u, u.lastIndexOf("\\") === u.length - 1) { + var a5 = this.nextToken; + a5 && a5[0] === "space" && (o5 += this.parseSpace(a5[1], " "), this.position++); + } + i5 = this.nextToken; + } + var l5 = (0, js9.default)(o5, "."), f7 = (0, js9.default)(o5, "#"), h5 = (0, js9.default)(o5, "#{"); + h5.length && (f7 = f7.filter(function(g5) { + return !~h5.indexOf(g5); + })); + var c7 = (0, Rm3.default)((0, am3.default)((0, nm3.default)([[0], l5, f7]))); + c7.forEach(function(g5, b7) { + var d5 = c7[b7 + 1] || o5.length, p4 = o5.slice(g5, d5); + if (b7 === 0 && r5) return r5.call(n5, p4, c7.length); + var m7 = void 0; + ~l5.indexOf(g5) ? m7 = new pm3.default({ value: p4.slice(1), source: { start: { line: n5.currToken[2], column: n5.currToken[3] + g5 }, end: { line: n5.currToken[4], column: n5.currToken[3] + (d5 - 1) } }, sourceIndex: n5.currToken[6] + c7[b7] }) : ~f7.indexOf(g5) ? m7 = new ym3.default({ value: p4.slice(1), source: { start: { line: n5.currToken[2], column: n5.currToken[3] + g5 }, end: { line: n5.currToken[4], column: n5.currToken[3] + (d5 - 1) } }, sourceIndex: n5.currToken[6] + c7[b7] }) : m7 = new wm3.default({ value: p4, source: { start: { line: n5.currToken[2], column: n5.currToken[3] + g5 }, end: { line: n5.currToken[4], column: n5.currToken[3] + (d5 - 1) } }, sourceIndex: n5.currToken[6] + c7[b7] }), n5.newNode(m7, s5); + }), this.position++; + }, t26.prototype.word = function(s5) { + var r5 = this.nextToken; + return r5 && r5[1] === "|" ? (this.position++, this.namespace()) : this.splitWord(s5); + }, t26.prototype.loop = function() { + for (; this.position < this.tokens.length; ) this.parse(true); + return this.root; + }, t26.prototype.parse = function(s5) { + switch (this.currToken[0]) { + case "space": + this.space(); + break; + case "comment": + this.comment(); + break; + case "(": + this.parentheses(); + break; + case ")": + s5 && this.missingParenthesis(); + break; + case "[": + this.attribute(); + break; + case "]": + this.missingSquareBracket(); + break; + case "at-word": + case "word": + this.word(); + break; + case ":": + this.pseudo(); + break; + case ";": + this.missingBackslash(); + break; + case ",": + this.comma(); + break; + case "*": + this.universal(); + break; + case "&": + this.nesting(); + break; + case "combinator": + this.combinator(); + break; + case "string": + this.string(); + break; + } + }, t26.prototype.parseNamespace = function(s5) { + if (this.lossy && typeof s5 == "string") { + var r5 = s5.trim(); + return r5.length ? r5 : true; + } + return s5; + }, t26.prototype.parseSpace = function(s5, r5) { + return this.lossy ? r5 || "" : s5; + }, t26.prototype.parseValue = function(s5) { + return this.lossy && s5 && typeof s5 == "string" ? s5.trim() : s5; + }, t26.prototype.parseParenthesisToken = function(s5) { + return this.lossy ? s5[0] === "space" ? this.parseSpace(s5[1], " ") : this.parseValue(s5[1]) : s5[1]; + }, t26.prototype.newNode = function(s5, r5) { + return r5 && (s5.namespace = this.parseNamespace(r5)), this.spaces && (s5.spaces.before = this.spaces, this.spaces = ""), this.current.append(s5); + }, rm4(t26, [{ key: "currToken", get: function() { + return this.tokens[this.position]; + } }, { key: "nextToken", get: function() { + return this.tokens[this.position + 1]; + } }, { key: "prevToken", get: function() { + return this.tokens[this.position - 1]; + } }]), t26; + })(); + Cr7.default = Bm3; + hu4.exports = Cr7.default; + }); + yu4 = w6((Nr7, mu3) => { + "use strict"; + Nr7.__esModule = true; + var Um3 = /* @__PURE__ */ (function() { + function t26(e7, s5) { + for (var r5 = 0; r5 < s5.length; r5++) { + var n5 = s5[r5]; + n5.enumerable = n5.enumerable || false, n5.configurable = true, "value" in n5 && (n5.writable = true), Object.defineProperty(e7, n5.key, n5); + } + } + return function(e7, s5, r5) { + return s5 && t26(e7.prototype, s5), r5 && t26(e7, r5), e7; + }; + })(), Fm3 = du3(), $m3 = Wm3(Fm3); + function Wm3(t26) { + return t26 && t26.__esModule ? t26 : { default: t26 }; + } + function Gm3(t26, e7) { + if (!(t26 instanceof e7)) throw new TypeError("Cannot call a class as a function"); + } + var Ym3 = (function() { + function t26(e7) { + return Gm3(this, t26), this.func = e7 || function() { + }, this; + } + return t26.prototype.process = function(s5) { + var r5 = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n5 = new $m3.default({ css: s5, error: function(o5) { + throw new Error(o5); + }, options: r5 }); + return this.res = n5, this.func(n5), this; + }, Um3(t26, [{ key: "result", get: function() { + return String(this.res); + } }]), t26; + })(); + Nr7.default = Ym3; + mu3.exports = Nr7.default; + }); + j8 = w6((L_, wu3) => { + "use strict"; + var Ks8 = function(t26, e7) { + let s5 = new t26.constructor(); + for (let r5 in t26) { + if (!t26.hasOwnProperty(r5)) continue; + let n5 = t26[r5], i5 = typeof n5; + r5 === "parent" && i5 === "object" ? e7 && (s5[r5] = e7) : r5 === "source" ? s5[r5] = n5 : n5 instanceof Array ? s5[r5] = n5.map((o5) => Ks8(o5, s5)) : r5 !== "before" && r5 !== "after" && r5 !== "between" && r5 !== "semicolon" && (i5 === "object" && n5 !== null && (n5 = Ks8(n5)), s5[r5] = n5); + } + return s5; + }; + wu3.exports = class { + constructor(e7) { + e7 = e7 || {}, this.raws = { before: "", after: "" }; + for (let s5 in e7) this[s5] = e7[s5]; + } + remove() { + return this.parent && this.parent.removeChild(this), this.parent = void 0, this; + } + toString() { + return [this.raws.before, String(this.value), this.raws.after].join(""); + } + clone(e7) { + e7 = e7 || {}; + let s5 = Ks8(this); + for (let r5 in e7) s5[r5] = e7[r5]; + return s5; + } + cloneBefore(e7) { + e7 = e7 || {}; + let s5 = this.clone(e7); + return this.parent.insertBefore(this, s5), s5; + } + cloneAfter(e7) { + e7 = e7 || {}; + let s5 = this.clone(e7); + return this.parent.insertAfter(this, s5), s5; + } + replaceWith() { + let e7 = Array.prototype.slice.call(arguments); + if (this.parent) { + for (let s5 of e7) this.parent.insertBefore(this, s5); + this.remove(); + } + return this; + } + moveTo(e7) { + return this.cleanRaws(this.root() === e7.root()), this.remove(), e7.append(this), this; + } + moveBefore(e7) { + return this.cleanRaws(this.root() === e7.root()), this.remove(), e7.parent.insertBefore(e7, this), this; + } + moveAfter(e7) { + return this.cleanRaws(this.root() === e7.root()), this.remove(), e7.parent.insertAfter(e7, this), this; + } + next() { + let e7 = this.parent.index(this); + return this.parent.nodes[e7 + 1]; + } + prev() { + let e7 = this.parent.index(this); + return this.parent.nodes[e7 - 1]; + } + toJSON() { + let e7 = {}; + for (let s5 in this) { + if (!this.hasOwnProperty(s5) || s5 === "parent") continue; + let r5 = this[s5]; + r5 instanceof Array ? e7[s5] = r5.map((n5) => typeof n5 == "object" && n5.toJSON ? n5.toJSON() : n5) : typeof r5 == "object" && r5.toJSON ? e7[s5] = r5.toJSON() : e7[s5] = r5; + } + return e7; + } + root() { + let e7 = this; + for (; e7.parent; ) e7 = e7.parent; + return e7; + } + cleanRaws(e7) { + delete this.raws.before, delete this.raws.after, e7 || delete this.raws.between; + } + positionInside(e7) { + let s5 = this.toString(), r5 = this.source.start.column, n5 = this.source.start.line; + for (let i5 = 0; i5 < e7; i5++) s5[i5] === ` +` ? (r5 = 1, n5 += 1) : r5 += 1; + return { line: n5, column: r5 }; + } + positionBy(e7) { + let s5 = this.source.start; + if (Object(e7).index) s5 = this.positionInside(e7.index); + else if (Object(e7).word) { + let r5 = this.toString().indexOf(e7.word); + r5 !== -1 && (s5 = this.positionInside(r5)); + } + return s5; + } + }; + }); + F9 = w6((D_, vu4) => { + "use strict"; + var zm3 = j8(), Ve9 = class extends zm3 { + constructor(e7) { + super(e7), this.nodes || (this.nodes = []); + } + push(e7) { + return e7.parent = this, this.nodes.push(e7), this; + } + each(e7) { + this.lastEach || (this.lastEach = 0), this.indexes || (this.indexes = {}), this.lastEach += 1; + let s5 = this.lastEach, r5, n5; + if (this.indexes[s5] = 0, !!this.nodes) { + for (; this.indexes[s5] < this.nodes.length && (r5 = this.indexes[s5], n5 = e7(this.nodes[r5], r5), n5 !== false); ) this.indexes[s5] += 1; + return delete this.indexes[s5], n5; + } + } + walk(e7) { + return this.each((s5, r5) => { + let n5 = e7(s5, r5); + return n5 !== false && s5.walk && (n5 = s5.walk(e7)), n5; + }); + } + walkType(e7, s5) { + if (!e7 || !s5) throw new Error("Parameters {type} and {callback} are required."); + let r5 = typeof e7 == "function"; + return this.walk((n5, i5) => { + if (r5 && n5 instanceof e7 || !r5 && n5.type === e7) return s5.call(this, n5, i5); + }); + } + append(e7) { + return e7.parent = this, this.nodes.push(e7), this; + } + prepend(e7) { + return e7.parent = this, this.nodes.unshift(e7), this; + } + cleanRaws(e7) { + if (super.cleanRaws(e7), this.nodes) for (let s5 of this.nodes) s5.cleanRaws(e7); + } + insertAfter(e7, s5) { + let r5 = this.index(e7), n5; + this.nodes.splice(r5 + 1, 0, s5); + for (let i5 in this.indexes) n5 = this.indexes[i5], r5 <= n5 && (this.indexes[i5] = n5 + this.nodes.length); + return this; + } + insertBefore(e7, s5) { + let r5 = this.index(e7), n5; + this.nodes.splice(r5, 0, s5); + for (let i5 in this.indexes) n5 = this.indexes[i5], r5 <= n5 && (this.indexes[i5] = n5 + this.nodes.length); + return this; + } + removeChild(e7) { + e7 = this.index(e7), this.nodes[e7].parent = void 0, this.nodes.splice(e7, 1); + let s5; + for (let r5 in this.indexes) s5 = this.indexes[r5], s5 >= e7 && (this.indexes[r5] = s5 - 1); + return this; + } + removeAll() { + for (let e7 of this.nodes) e7.parent = void 0; + return this.nodes = [], this; + } + every(e7) { + return this.nodes.every(e7); + } + some(e7) { + return this.nodes.some(e7); + } + index(e7) { + return typeof e7 == "number" ? e7 : this.nodes.indexOf(e7); + } + get first() { + if (this.nodes) return this.nodes[0]; + } + get last() { + if (this.nodes) return this.nodes[this.nodes.length - 1]; + } + toString() { + let e7 = this.nodes.map(String).join(""); + return this.value && (e7 = this.value + e7), this.raws.before && (e7 = this.raws.before + e7), this.raws.after && (e7 += this.raws.after), e7; + } + }; + Ve9.registerWalker = (t26) => { + let e7 = "walk" + t26.name; + e7.lastIndexOf("s") !== e7.length - 1 && (e7 += "s"), !Ve9.prototype[e7] && (Ve9.prototype[e7] = function(s5) { + return this.walkType(t26, s5); + }); + }; + vu4.exports = Ve9; + }); + _u3 = w6((B_, xu3) => { + "use strict"; + var jm3 = F9(); + xu3.exports = class extends jm3 { + constructor(e7) { + super(e7), this.type = "root"; + } + }; + }); + Eu4 = w6((F_, bu4) => { + "use strict"; + var Hm3 = F9(); + bu4.exports = class extends Hm3 { + constructor(e7) { + super(e7), this.type = "value", this.unbalanced = 0; + } + }; + }); + Tu4 = w6(($_, ku3) => { + "use strict"; + var Su3 = F9(), Pr7 = class extends Su3 { + constructor(e7) { + super(e7), this.type = "atword"; + } + toString() { + let e7 = this.quoted ? this.raws.quote : ""; + return [this.raws.before, "@", String.prototype.toString.call(this.value), this.raws.after].join(""); + } + }; + Su3.registerWalker(Pr7); + ku3.exports = Pr7; + }); + Ou4 = w6((W_, Au3) => { + "use strict"; + var Km3 = F9(), Qm3 = j8(), Rr7 = class extends Qm3 { + constructor(e7) { + super(e7), this.type = "colon"; + } + }; + Km3.registerWalker(Rr7); + Au3.exports = Rr7; + }); + Nu3 = w6((G_, Cu3) => { + "use strict"; + var Xm3 = F9(), Jm3 = j8(), Ir6 = class extends Jm3 { + constructor(e7) { + super(e7), this.type = "comma"; + } + }; + Xm3.registerWalker(Ir6); + Cu3.exports = Ir6; + }); + Ru3 = w6((Y_, Pu3) => { + "use strict"; + var Zm3 = F9(), ey = j8(), qr6 = class extends ey { + constructor(e7) { + super(e7), this.type = "comment", this.inline = Object(e7).inline || false; + } + toString() { + return [this.raws.before, this.inline ? "//" : "/*", String(this.value), this.inline ? "" : "*/", this.raws.after].join(""); + } + }; + Zm3.registerWalker(qr6); + Pu3.exports = qr6; + }); + Lu3 = w6((V_, qu4) => { + "use strict"; + var Iu4 = F9(), Lr8 = class extends Iu4 { + constructor(e7) { + super(e7), this.type = "func", this.unbalanced = -1; + } + }; + Iu4.registerWalker(Lr8); + qu4.exports = Lr8; + }); + Mu3 = w6((z_, Du4) => { + "use strict"; + var ty2 = F9(), ry3 = j8(), Dr8 = class extends ry3 { + constructor(e7) { + super(e7), this.type = "number", this.unit = Object(e7).unit || ""; + } + toString() { + return [this.raws.before, String(this.value), this.unit, this.raws.after].join(""); + } + }; + ty2.registerWalker(Dr8); + Du4.exports = Dr8; + }); + Uu3 = w6((j_, Bu3) => { + "use strict"; + var sy2 = F9(), ny2 = j8(), Mr8 = class extends ny2 { + constructor(e7) { + super(e7), this.type = "operator"; + } + }; + sy2.registerWalker(Mr8); + Bu3.exports = Mr8; + }); + $u3 = w6((H_, Fu4) => { + "use strict"; + var iy2 = F9(), oy2 = j8(), Br8 = class extends oy2 { + constructor(e7) { + super(e7), this.type = "paren", this.parenType = ""; + } + }; + iy2.registerWalker(Br8); + Fu4.exports = Br8; + }); + Gu2 = w6((K_, Wu2) => { + "use strict"; + var ay3 = F9(), uy2 = j8(), Ur8 = class extends uy2 { + constructor(e7) { + super(e7), this.type = "string"; + } + toString() { + let e7 = this.quoted ? this.raws.quote : ""; + return [this.raws.before, e7, this.value + "", e7, this.raws.after].join(""); + } + }; + ay3.registerWalker(Ur8); + Wu2.exports = Ur8; + }); + Vu3 = w6((Q_, Yu2) => { + "use strict"; + var ly2 = F9(), cy4 = j8(), Fr7 = class extends cy4 { + constructor(e7) { + super(e7), this.type = "word"; + } + }; + ly2.registerWalker(Fr7); + Yu2.exports = Fr7; + }); + ju3 = w6((X_, zu3) => { + "use strict"; + var fy2 = F9(), py2 = j8(), $r8 = class extends py2 { + constructor(e7) { + super(e7), this.type = "unicode-range"; + } + }; + fy2.registerWalker($r8); + zu3.exports = $r8; + }); + Ku3 = w6((J_, Hu3) => { + "use strict"; + var Qs9 = class extends Error { + constructor(e7) { + super(e7), this.name = this.constructor.name, this.message = e7 || "An error ocurred while tokzenizing.", typeof Error.captureStackTrace == "function" ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error(e7).stack; + } + }; + Hu3.exports = Qs9; + }); + Ju4 = w6((Z_, Xu3) => { + "use strict"; + var Wr6 = /[ \n\t\r\{\(\)'"\\;,/]/g, hy2 = /[ \n\t\r\(\)\{\}\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g, ze11 = /[ \n\t\r\(\)\{\}\*:;@!&'"\-\+\|~>,\[\]\\]|\//g, dy3 = /^[a-z0-9]/i, my2 = /^[a-f0-9?\-]/i, Qu2 = Ku3(); + Xu3.exports = function(e7, s5) { + s5 = s5 || {}; + let r5 = [], n5 = e7.valueOf(), i5 = n5.length, o5 = -1, u = 1, a5 = 0, l5 = 0, f7 = null, h5, c7, g5, b7, d5, p4, m7, y10, v9, O7, q11, H11; + function ne11(A9) { + let k8 = `Unclosed ${A9} at line: ${u}, column: ${a5 - o5}, token: ${a5}`; + throw new Qu2(k8); + } + function W10() { + let A9 = `Syntax error at line: ${u}, column: ${a5 - o5}, token: ${a5}`; + throw new Qu2(A9); + } + for (; a5 < i5; ) { + switch (h5 = n5.charCodeAt(a5), h5 === 10 && (o5 = a5, u += 1), h5) { + case 10: + case 32: + case 9: + case 13: + case 12: + c7 = a5; + do + c7 += 1, h5 = n5.charCodeAt(c7), h5 === 10 && (o5 = c7, u += 1); + while (h5 === 32 || h5 === 10 || h5 === 9 || h5 === 13 || h5 === 12); + r5.push(["space", n5.slice(a5, c7), u, a5 - o5, u, c7 - o5, a5]), a5 = c7 - 1; + break; + case 58: + c7 = a5 + 1, r5.push(["colon", n5.slice(a5, c7), u, a5 - o5, u, c7 - o5, a5]), a5 = c7 - 1; + break; + case 44: + c7 = a5 + 1, r5.push(["comma", n5.slice(a5, c7), u, a5 - o5, u, c7 - o5, a5]), a5 = c7 - 1; + break; + case 123: + r5.push(["{", "{", u, a5 - o5, u, c7 - o5, a5]); + break; + case 125: + r5.push(["}", "}", u, a5 - o5, u, c7 - o5, a5]); + break; + case 40: + l5++, f7 = !f7 && l5 === 1 && r5.length > 0 && r5[r5.length - 1][0] === "word" && r5[r5.length - 1][1] === "url", r5.push(["(", "(", u, a5 - o5, u, c7 - o5, a5]); + break; + case 41: + l5--, f7 = f7 && l5 > 0, r5.push([")", ")", u, a5 - o5, u, c7 - o5, a5]); + break; + case 39: + case 34: + g5 = h5 === 39 ? "'" : '"', c7 = a5; + do + for (O7 = false, c7 = n5.indexOf(g5, c7 + 1), c7 === -1 && ne11("quote", g5), q11 = c7; n5.charCodeAt(q11 - 1) === 92; ) q11 -= 1, O7 = !O7; + while (O7); + r5.push(["string", n5.slice(a5, c7 + 1), u, a5 - o5, u, c7 - o5, a5]), a5 = c7; + break; + case 64: + Wr6.lastIndex = a5 + 1, Wr6.test(n5), Wr6.lastIndex === 0 ? c7 = n5.length - 1 : c7 = Wr6.lastIndex - 2, r5.push(["atword", n5.slice(a5, c7 + 1), u, a5 - o5, u, c7 - o5, a5]), a5 = c7; + break; + case 92: + c7 = a5, h5 = n5.charCodeAt(c7 + 1), m7 && h5 !== 47 && h5 !== 32 && h5 !== 10 && h5 !== 9 && h5 !== 13 && h5 !== 12 && (c7 += 1), r5.push(["word", n5.slice(a5, c7 + 1), u, a5 - o5, u, c7 - o5, a5]), a5 = c7; + break; + case 43: + case 45: + case 42: + c7 = a5 + 1, H11 = n5.slice(a5 + 1, c7 + 1); + let A9 = n5.slice(a5 - 1, a5); + if (h5 === 45 && H11.charCodeAt(0) === 45) { + c7++, r5.push(["word", n5.slice(a5, c7), u, a5 - o5, u, c7 - o5, a5]), a5 = c7 - 1; + break; + } + r5.push(["operator", n5.slice(a5, c7), u, a5 - o5, u, c7 - o5, a5]), a5 = c7 - 1; + break; + default: + if (h5 === 47 && (n5.charCodeAt(a5 + 1) === 42 || s5.loose && !f7 && n5.charCodeAt(a5 + 1) === 47)) { + if (n5.charCodeAt(a5 + 1) === 42) c7 = n5.indexOf("*/", a5 + 2) + 1, c7 === 0 && ne11("comment", "*/"); + else { + let N8 = n5.indexOf(` +`, a5 + 2); + c7 = N8 !== -1 ? N8 - 1 : i5; + } + p4 = n5.slice(a5, c7 + 1), b7 = p4.split(` +`), d5 = b7.length - 1, d5 > 0 ? (y10 = u + d5, v9 = c7 - b7[d5].length) : (y10 = u, v9 = o5), r5.push(["comment", p4, u, a5 - o5, y10, c7 - v9, a5]), o5 = v9, u = y10, a5 = c7; + } else if (h5 === 35 && !dy3.test(n5.slice(a5 + 1, a5 + 2))) c7 = a5 + 1, r5.push(["#", n5.slice(a5, c7), u, a5 - o5, u, c7 - o5, a5]), a5 = c7 - 1; + else if ((h5 === 117 || h5 === 85) && n5.charCodeAt(a5 + 1) === 43) { + c7 = a5 + 2; + do + c7 += 1, h5 = n5.charCodeAt(c7); + while (c7 < i5 && my2.test(n5.slice(c7, c7 + 1))); + r5.push(["unicoderange", n5.slice(a5, c7), u, a5 - o5, u, c7 - o5, a5]), a5 = c7 - 1; + } else if (h5 === 47) c7 = a5 + 1, r5.push(["operator", n5.slice(a5, c7), u, a5 - o5, u, c7 - o5, a5]), a5 = c7 - 1; + else { + let k8 = hy2; + if (h5 >= 48 && h5 <= 57 && (k8 = ze11), k8.lastIndex = a5 + 1, k8.test(n5), k8.lastIndex === 0 ? c7 = n5.length - 1 : c7 = k8.lastIndex - 2, k8 === ze11 || h5 === 46) { + let N8 = n5.charCodeAt(c7), tn8 = n5.charCodeAt(c7 + 1), rn6 = n5.charCodeAt(c7 + 2); + (N8 === 101 || N8 === 69) && (tn8 === 45 || tn8 === 43) && rn6 >= 48 && rn6 <= 57 && (ze11.lastIndex = c7 + 2, ze11.test(n5), ze11.lastIndex === 0 ? c7 = n5.length - 1 : c7 = ze11.lastIndex - 2); + } + r5.push(["word", n5.slice(a5, c7 + 1), u, a5 - o5, u, c7 - o5, a5]), a5 = c7; + } + break; + } + a5++; + } + return r5; + }; + }); + el4 = w6((eb2, Zu2) => { + "use strict"; + var Xs8 = class extends Error { + constructor(e7) { + super(e7), this.name = this.constructor.name, this.message = e7 || "An error ocurred while parsing.", typeof Error.captureStackTrace == "function" ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error(e7).stack; + } + }; + Zu2.exports = Xs8; + }); + nl5 = w6((rb2, sl6) => { + "use strict"; + var yy2 = _u3(), gy2 = Eu4(), wy2 = Tu4(), vy2 = Ou4(), xy2 = Nu3(), _y2 = Ru3(), by2 = Lu3(), Ey2 = Mu3(), Sy2 = Uu3(), tl4 = $u3(), ky2 = Gu2(), rl5 = Vu3(), Ty2 = ju3(), Ay2 = Ju4(), Oy2 = Us8(), Cy2 = Fs8(), Ny2 = $s7(), Py2 = el4(); + function Ry2(t26) { + return t26.sort((e7, s5) => e7 - s5); + } + sl6.exports = class { + constructor(e7, s5) { + let r5 = { loose: false }; + this.cache = [], this.input = e7, this.options = Object.assign({}, r5, s5), this.position = 0, this.unbalanced = 0, this.root = new yy2(); + let n5 = new gy2(); + this.root.append(n5), this.current = n5, this.tokens = Ay2(e7, this.options); + } + parse() { + return this.loop(); + } + colon() { + let e7 = this.currToken; + this.newNode(new vy2({ value: e7[1], source: { start: { line: e7[2], column: e7[3] }, end: { line: e7[4], column: e7[5] } }, sourceIndex: e7[6] })), this.position++; + } + comma() { + let e7 = this.currToken; + this.newNode(new xy2({ value: e7[1], source: { start: { line: e7[2], column: e7[3] }, end: { line: e7[4], column: e7[5] } }, sourceIndex: e7[6] })), this.position++; + } + comment() { + let e7 = false, s5 = this.currToken[1].replace(/\/\*|\*\//g, ""), r5; + this.options.loose && s5.startsWith("//") && (s5 = s5.substring(2), e7 = true), r5 = new _y2({ value: s5, inline: e7, source: { start: { line: this.currToken[2], column: this.currToken[3] }, end: { line: this.currToken[4], column: this.currToken[5] } }, sourceIndex: this.currToken[6] }), this.newNode(r5), this.position++; + } + error(e7, s5) { + throw new Py2(e7 + ` at line: ${s5[2]}, column ${s5[3]}`); + } + loop() { + for (; this.position < this.tokens.length; ) this.parseTokens(); + return !this.current.last && this.spaces ? this.current.raws.before += this.spaces : this.spaces && (this.current.last.raws.after += this.spaces), this.spaces = "", this.root; + } + operator() { + let e7 = this.currToken[1], s5; + if (e7 === "+" || e7 === "-") { + if (this.options.loose || this.position > 0 && (this.current.type === "func" && this.current.value === "calc" ? this.prevToken[0] !== "space" && this.prevToken[0] !== "(" ? this.error("Syntax Error", this.currToken) : this.nextToken[0] !== "space" && this.nextToken[0] !== "word" ? this.error("Syntax Error", this.currToken) : this.nextToken[0] === "word" && this.current.last.type !== "operator" && this.current.last.value !== "(" && this.error("Syntax Error", this.currToken) : (this.nextToken[0] === "space" || this.nextToken[0] === "operator" || this.prevToken[0] === "operator") && this.error("Syntax Error", this.currToken)), this.options.loose) { + if ((!this.current.nodes.length || this.current.last && this.current.last.type === "operator") && this.nextToken[0] === "word") return this.word(); + } else if (this.nextToken[0] === "word") return this.word(); + } + return s5 = new Sy2({ value: this.currToken[1], source: { start: { line: this.currToken[2], column: this.currToken[3] }, end: { line: this.currToken[2], column: this.currToken[3] } }, sourceIndex: this.currToken[4] }), this.position++, this.newNode(s5); + } + parseTokens() { + switch (this.currToken[0]) { + case "space": + this.space(); + break; + case "colon": + this.colon(); + break; + case "comma": + this.comma(); + break; + case "comment": + this.comment(); + break; + case "(": + this.parenOpen(); + break; + case ")": + this.parenClose(); + break; + case "atword": + case "word": + this.word(); + break; + case "operator": + this.operator(); + break; + case "string": + this.string(); + break; + case "unicoderange": + this.unicodeRange(); + break; + default: + this.word(); + break; + } + } + parenOpen() { + let e7 = 1, s5 = this.position + 1, r5 = this.currToken, n5; + for (; s5 < this.tokens.length && e7; ) { + let i5 = this.tokens[s5]; + i5[0] === "(" && e7++, i5[0] === ")" && e7--, s5++; + } + if (e7 && this.error("Expected closing parenthesis", r5), n5 = this.current.last, n5 && n5.type === "func" && n5.unbalanced < 0 && (n5.unbalanced = 0, this.current = n5), this.current.unbalanced++, this.newNode(new tl4({ value: r5[1], source: { start: { line: r5[2], column: r5[3] }, end: { line: r5[4], column: r5[5] } }, sourceIndex: r5[6] })), this.position++, this.current.type === "func" && this.current.unbalanced && this.current.value === "url" && this.currToken[0] !== "string" && this.currToken[0] !== ")" && !this.options.loose) { + let i5 = this.nextToken, o5 = this.currToken[1], u = { line: this.currToken[2], column: this.currToken[3] }; + for (; i5 && i5[0] !== ")" && this.current.unbalanced; ) this.position++, o5 += this.currToken[1], i5 = this.nextToken; + this.position !== this.tokens.length - 1 && (this.position++, this.newNode(new rl5({ value: o5, source: { start: u, end: { line: this.currToken[4], column: this.currToken[5] } }, sourceIndex: this.currToken[6] }))); + } + } + parenClose() { + let e7 = this.currToken; + this.newNode(new tl4({ value: e7[1], source: { start: { line: e7[2], column: e7[3] }, end: { line: e7[4], column: e7[5] } }, sourceIndex: e7[6] })), this.position++, !(this.position >= this.tokens.length - 1 && !this.current.unbalanced) && (this.current.unbalanced--, this.current.unbalanced < 0 && this.error("Expected opening parenthesis", e7), !this.current.unbalanced && this.cache.length && (this.current = this.cache.pop())); + } + space() { + let e7 = this.currToken; + this.position === this.tokens.length - 1 || this.nextToken[0] === "," || this.nextToken[0] === ")" ? (this.current.last.raws.after += e7[1], this.position++) : (this.spaces = e7[1], this.position++); + } + unicodeRange() { + let e7 = this.currToken; + this.newNode(new Ty2({ value: e7[1], source: { start: { line: e7[2], column: e7[3] }, end: { line: e7[4], column: e7[5] } }, sourceIndex: e7[6] })), this.position++; + } + splitWord() { + let e7 = this.nextToken, s5 = this.currToken[1], r5 = /^[\+\-]?((\d+(\.\d*)?)|(\.\d+))([eE][\+\-]?\d+)?/, n5 = /^(?!\#([a-z0-9]+))[\#\{\}]/gi, i5, o5; + if (!n5.test(s5)) for (; e7 && e7[0] === "word"; ) { + this.position++; + let u = this.currToken[1]; + s5 += u, e7 = this.nextToken; + } + i5 = Cy2(s5, "@"), o5 = Ry2(Ny2(Oy2([[0], i5]))), o5.forEach((u, a5) => { + let l5 = o5[a5 + 1] || s5.length, f7 = s5.slice(u, l5), h5; + if (~i5.indexOf(u)) h5 = new wy2({ value: f7.slice(1), source: { start: { line: this.currToken[2], column: this.currToken[3] + u }, end: { line: this.currToken[4], column: this.currToken[3] + (l5 - 1) } }, sourceIndex: this.currToken[6] + o5[a5] }); + else if (r5.test(this.currToken[1])) { + let c7 = f7.replace(r5, ""); + h5 = new Ey2({ value: f7.replace(c7, ""), source: { start: { line: this.currToken[2], column: this.currToken[3] + u }, end: { line: this.currToken[4], column: this.currToken[3] + (l5 - 1) } }, sourceIndex: this.currToken[6] + o5[a5], unit: c7 }); + } else h5 = new (e7 && e7[0] === "(" ? by2 : rl5)({ value: f7, source: { start: { line: this.currToken[2], column: this.currToken[3] + u }, end: { line: this.currToken[4], column: this.currToken[3] + (l5 - 1) } }, sourceIndex: this.currToken[6] + o5[a5] }), h5.type === "word" ? (h5.isHex = /^#(.+)/.test(f7), h5.isColor = /^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.test(f7)) : this.cache.push(this.current); + this.newNode(h5); + }), this.position++; + } + string() { + let e7 = this.currToken, s5 = this.currToken[1], r5 = /^(\"|\')/, n5 = r5.test(s5), i5 = "", o5; + n5 && (i5 = s5.match(r5)[0], s5 = s5.slice(1, s5.length - 1)), o5 = new ky2({ value: s5, source: { start: { line: e7[2], column: e7[3] }, end: { line: e7[4], column: e7[5] } }, sourceIndex: e7[6], quoted: n5 }), o5.raws.quote = i5, this.newNode(o5), this.position++; + } + word() { + return this.splitWord(); + } + newNode(e7) { + return this.spaces && (e7.raws.before += this.spaces, this.spaces = ""), this.current.append(e7); + } + get currToken() { + return this.tokens[this.position]; + } + get nextToken() { + return this.tokens[this.position + 1]; + } + get prevToken() { + return this.tokens[this.position - 1]; + } + }; + }); + _l4 = {}; + sn7(_l4, { languages: () => Si9, options: () => Ti9, parsers: () => en8, printers: () => Hy }); + bt11 = (t26, e7) => (s5, r5, ...n5) => s5 | 1 && r5 == null ? void 0 : (e7.call(r5) ?? r5[t26]).apply(r5, n5); + Ol3 = String.prototype.replaceAll ?? function(t26, e7) { + return t26.global ? this.replace(t26, e7) : this.split(t26).join(e7); + }; + Cl4 = bt11("replaceAll", function() { + if (typeof this == "string") return Ol3; + }); + E5 = Cl4; + Pl3 = bt11("at", function() { + if (Array.isArray(this) || typeof this == "string") return Nl4; + }); + G9 = Pl3; + Rl3 = () => { + }; + K10 = Rl3; + je10 = "string"; + He9 = "array"; + Et11 = "cursor"; + ie9 = "indent"; + Ae9 = "align"; + St10 = "trim"; + oe9 = "group"; + ae8 = "fill"; + me11 = "if-break"; + kt11 = "indent-if-break"; + Oe10 = "line-suffix"; + Tt11 = "line-suffix-boundary"; + X10 = "line"; + At11 = "label"; + Ce9 = "break-parent"; + Ot11 = /* @__PURE__ */ new Set([Et11, ie9, Ae9, St10, oe9, ae8, me11, kt11, Oe10, Tt11, X10, At11, Ce9]); + ue10 = Il3; + ql3 = (t26) => new Intl.ListFormat("en-US", { type: "disjunction" }).format(t26); + zr7 = class extends Error { + name = "InvalidDocError"; + constructor(e7) { + super(Ll4(e7)), this.doc = e7; + } + }; + nn9 = zr7; + $9 = K10; + ye10 = K10; + an7 = K10; + un7 = K10; + Ne9 = { type: Ce9 }; + C6 = { type: X10 }; + M9 = { type: X10, soft: true }; + Ul3 = { type: X10, hard: true }; + T5 = [Ul3, Ne9]; + ce8 = $l3; + cn8 = Object.freeze({ character: "'", codePoint: 39 }); + fn8 = Object.freeze({ character: '"', codePoint: 34 }); + Wl3 = Object.freeze({ preferred: cn8, alternate: fn8 }); + Gl3 = Object.freeze({ preferred: fn8, alternate: cn8 }); + pn7 = Yl3; + Vl3 = /\\(["'\\])|(["'])/gu; + hn8 = zl3; + Nt11 = jl3; + jr5 = class extends Error { + name = "UnexpectedNodeError"; + constructor(e7, s5, r5 = "type") { + super(`Unexpected ${s5} node ${r5}: ${JSON.stringify(e7[r5])}.`), this.node = e7; + } + }; + dn7 = jr5; + Pt11 = /* @__PURE__ */ Symbol.for("PRETTIER_IS_FRONT_MATTER"); + Re10 = Hl3; + Ke10 = 3; + ge9 = Ql3; + Xl3 = /* @__PURE__ */ new Set(["raw", "raws", "sourceIndex", "source", "before", "after", "trailingComma", "spaces"]); + mn7.ignoredProperties = Xl3; + yn8 = mn7; + gn7.getVisitorKeys = (t26) => t26.type === "css-root" ? ["frontMatter"] : []; + wn6 = gn7; + Qe10 = null; + Zl3 = 10; + for (let t26 = 0; t26 <= Zl3; t26++) Xe10(); + vn6 = ec2; + _8 = [[], ["nodes"], ["group"]]; + xn7 = { "css-root": ["frontMatter", "nodes"], "css-comment": _8[0], "css-rule": ["selector", "nodes"], "css-decl": ["value", "selector", "nodes"], "css-atrule": ["selector", "params", "value", "nodes"], "media-query-list": _8[1], "media-query": _8[1], "media-type": _8[0], "media-feature-expression": _8[1], "media-feature": _8[0], "media-colon": _8[0], "media-value": _8[0], "media-keyword": _8[0], "media-url": _8[0], "media-unknown": _8[0], "selector-root": _8[1], "selector-selector": _8[1], "selector-comment": _8[0], "selector-string": _8[0], "selector-tag": _8[0], "selector-id": _8[0], "selector-class": _8[0], "selector-attribute": _8[0], "selector-combinator": _8[1], "selector-universal": _8[0], "selector-pseudo": _8[1], "selector-nesting": _8[0], "selector-unknown": _8[0], "value-value": _8[2], "value-root": _8[2], "value-comment": _8[0], "value-comma_group": ["groups"], "value-paren_group": ["open", "groups", "close"], "value-func": _8[2], "value-paren": _8[0], "value-number": _8[0], "value-operator": _8[0], "value-word": _8[0], "value-colon": _8[0], "value-comma": _8[0], "value-string": _8[0], "value-atword": _8[0], "value-unicode-range": _8[0], "value-unknown": _8[0] }; + tc2 = vn6(xn7); + _n6 = tc2; + Kr6 = rc2; + Bw = Rt9(/\s/u); + It10 = Rt9(" "); + bn6 = Rt9(",; "); + qt10 = Rt9(/[^\n\r]/u); + P7 = (t26) => t26.source?.startOffset; + R9 = (t26) => t26.source?.endOffset; + nc3 = /\*\/$/; + ic2 = /^\/\*\*?/; + Nn5 = /^\s*(\/\*\*?(.|\r?\n)*?\*\/)/; + oc3 = /(^|\s+)\/\/([^\n\r]*)/g; + An6 = /^(\r?\n)+/; + ac2 = /(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g; + On6 = /(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g; + uc2 = /(\r?\n|^) *\* ?/g; + Pn7 = []; + Dn6 = ["noformat", "noprettier"]; + Mn5 = ["format", "prettier"]; + Bn6 = "format"; + Un6 = lc2; + Gn7 = (t26) => Fn5(ge9(t26).content); + Yn6 = (t26) => $n7(ge9(t26).content); + Vn6 = (t26) => { + let { frontMatter: e7, content: s5 } = ge9(t26); + return (e7 ? e7.raw + ` + +` : "") + Wn7(s5); + }; + cc3 = /* @__PURE__ */ new Set(["red", "green", "blue", "alpha", "a", "rgb", "hue", "h", "saturation", "s", "lightness", "l", "whiteness", "w", "blackness", "b", "tint", "shade", "blend", "blenda", "contrast", "hsl", "hsla", "hwb", "hwba"]); + fc2 = /* @__PURE__ */ new Set(["initial", "inherit", "unset", "revert"]); + di9 = hc2; + mi9 = dc2; + Wt9 = /* @__PURE__ */ new Map([["em", "em"], ["rem", "rem"], ["ex", "ex"], ["rex", "rex"], ["cap", "cap"], ["rcap", "rcap"], ["ch", "ch"], ["rch", "rch"], ["ic", "ic"], ["ric", "ric"], ["lh", "lh"], ["rlh", "rlh"], ["vw", "vw"], ["svw", "svw"], ["lvw", "lvw"], ["dvw", "dvw"], ["vh", "vh"], ["svh", "svh"], ["lvh", "lvh"], ["dvh", "dvh"], ["vi", "vi"], ["svi", "svi"], ["lvi", "lvi"], ["dvi", "dvi"], ["vb", "vb"], ["svb", "svb"], ["lvb", "lvb"], ["dvb", "dvb"], ["vmin", "vmin"], ["svmin", "svmin"], ["lvmin", "lvmin"], ["dvmin", "dvmin"], ["vmax", "vmax"], ["svmax", "svmax"], ["lvmax", "lvmax"], ["dvmax", "dvmax"], ["cm", "cm"], ["mm", "mm"], ["q", "Q"], ["in", "in"], ["pt", "pt"], ["pc", "pc"], ["px", "px"], ["deg", "deg"], ["grad", "grad"], ["rad", "rad"], ["turn", "turn"], ["s", "s"], ["ms", "ms"], ["hz", "Hz"], ["khz", "kHz"], ["dpi", "dpi"], ["dpcm", "dpcm"], ["dppx", "dppx"], ["x", "x"], ["cqw", "cqw"], ["cqh", "cqh"], ["cqi", "cqi"], ["cqb", "cqb"], ["cqmin", "cqmin"], ["cqmax", "cqmax"], ["fr", "fr"]]); + yi8 = /(["'])(?:(?!\1)[^\\]|\\.)*\1/gsu; + mc2 = /(?:\d*\.\d+|\d+\.?)(?:e[+-]?\d+)?/giu; + yc2 = /[a-z]+/giu; + gc2 = /[$@]?[_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/giu; + wc2 = new RegExp(yi8.source + `|(${gc2.source})?(${mc2.source})(${yc2.source})?`, "giu"); + vi9 = (t26) => t26 === ` +` || t26 === "\r" || t26 === "\u2028" || t26 === "\u2029"; + Gt8 = vc3; + Yt7 = xc2; + xi9 = _c2; + _i8 = bc3; + Vt9 = Ec3; + De10 = Oc2; + Nc2 = { features: { experimental_frontMatterSupport: { massageAstNode: true, embed: true, print: true } }, print: Cc2, embed: wn6, insertPragma: Vn6, massageAstNode: yn8, getVisitorKeys: _n6 }; + Ei9 = Nc2; + Si9 = [{ name: "CSS", type: "markup", aceMode: "css", extensions: [".css", ".wxss"], tmScope: "source.css", codemirrorMode: "css", codemirrorMimeType: "text/css", parsers: ["css"], vscodeLanguageIds: ["css"], linguistLanguageId: 50 }, { name: "PostCSS", type: "markup", aceMode: "text", extensions: [".pcss", ".postcss"], tmScope: "source.postcss", group: "CSS", parsers: ["css"], vscodeLanguageIds: ["postcss"], linguistLanguageId: 262764437 }, { name: "Less", type: "markup", aceMode: "less", extensions: [".less"], tmScope: "source.css.less", aliases: ["less-css"], codemirrorMode: "css", codemirrorMimeType: "text/x-less", parsers: ["less"], vscodeLanguageIds: ["less"], linguistLanguageId: 198 }, { name: "SCSS", type: "markup", aceMode: "scss", extensions: [".scss"], tmScope: "source.css.scss", codemirrorMode: "css", codemirrorMimeType: "text/x-scss", parsers: ["scss"], vscodeLanguageIds: ["scss"], linguistLanguageId: 329 }]; + ki9 = { bracketSpacing: { category: "Common", type: "boolean", default: true, description: "Print spaces between brackets.", oppositeDescription: "Do not print spaces between brackets." }, objectWrap: { category: "Common", type: "choice", default: "preserve", description: "How to wrap object literals.", choices: [{ value: "preserve", description: "Keep as multi-line, if there is a newline between the opening brace and first property." }, { value: "collapse", description: "Fit to a single line when possible." }] }, singleQuote: { category: "Common", type: "boolean", default: false, description: "Use single quotes instead of double quotes." }, proseWrap: { category: "Common", type: "choice", default: "preserve", description: "How to wrap prose.", choices: [{ value: "always", description: "Wrap prose if it exceeds the print width." }, { value: "never", description: "Do not wrap prose." }, { value: "preserve", description: "Wrap prose as-is." }] }, bracketSameLine: { category: "Common", type: "boolean", default: false, description: "Put > of opening tags on the last line instead of on a new line." }, singleAttributePerLine: { category: "Common", type: "boolean", default: false, description: "Enforce single attribute per line in HTML, Vue and JSX." } }; + Pc2 = { singleQuote: ki9.singleQuote }; + Ti9 = Pc2; + en8 = {}; + sn7(en8, { css: () => Vy, less: () => zy, scss: () => jy }); + dl4 = Te9(ht9(), 1); + ml4 = Te9(qo3(), 1); + yl4 = Te9(da4(), 1); + ma4 = gp2; + Se10 = wp3; + ba2 = Te9(_a4(), 1); + Np2 = ba2.default.default; + Ea4 = Pp2; + gu3 = Te9(yu4(), 1); + se10 = Vm2; + cl4 = Te9(nl5(), 1); + Iy = (t26) => { + for (; t26.parent; ) t26 = t26.parent; + return t26; + }; + Gr7 = Iy; + il5 = qy; + ol5 = Ly; + al4 = Dy; + ul4 = My; + ll4 = (t26) => t26.type === "paren" && t26.value === ")"; + de10 = Uy; + Fy = /* @__PURE__ */ new Set(["import", "use", "forward"]); + pl4 = $y; + hl4 = Wy; + Gy = /(\s*)(!default).*$/u; + Yy = /(\s*)(!global).*$/u; + Zs9 = { astFormat: "postcss", hasPragma: Gn7, hasIgnorePragma: Yn6, locStart: P7, locEnd: R9 }; + Vy = { ...Zs9, parse: wl4 }; + zy = { ...Zs9, parse: vl4 }; + jy = { ...Zs9, parse: xl4 }; + Hy = { postcss: Ei9 }; + } +}); + +// node_modules/prettier/plugins/typescript.mjs +var typescript_exports = {}; +__export(typescript_exports, { + default: () => I0, + parsers: () => ld +}); +function e_(e7) { + return e7 !== void 0 ? e7.length : 0; +} +function jn7(e7, t26) { + if (e7 !== void 0) for (let a5 = 0; a5 < e7.length; a5++) { + let _9 = t26(e7[a5], a5); + if (_9) return _9; + } +} +function sy(e7, t26) { + if (e7 !== void 0) for (let a5 = 0; a5 < e7.length; a5++) { + let _9 = t26(e7[a5], a5); + if (_9 !== void 0) return _9; + } +} +function yd(e7, t26, a5) { + let _9 = []; + q10.assertEqual(e7.length, t26.length); + for (let f7 = 0; f7 < e7.length; f7++) _9.push(a5(e7[f7], t26[f7], f7)); + return _9; +} +function Gp2(e7, t26) { + if (e7 !== void 0) { + for (let a5 = 0; a5 < e7.length; a5++) if (!t26(e7[a5], a5)) return false; + } + return true; +} +function bm2(e7, t26, a5) { + if (e7 !== void 0) for (let _9 = a5 ?? 0; _9 < e7.length; _9++) { + let f7 = e7[_9]; + if (t26(f7, _9)) return f7; + } +} +function gp3(e7, t26, a5) { + if (e7 === void 0) return -1; + for (let _9 = a5 ?? 0; _9 < e7.length; _9++) if (t26(e7[_9], _9)) return _9; + return -1; +} +function _y(e7, t26, a5 = Xp2) { + if (e7 !== void 0) { + for (let _9 = 0; _9 < e7.length; _9++) if (a5(e7[_9], t26)) return true; + } + return false; +} +function Hr6(e7, t26) { + if (e7 !== void 0) { + let a5 = e7.length, _9 = 0; + for (; _9 < a5 && t26(e7[_9]); ) _9++; + if (_9 < a5) { + let f7 = e7.slice(0, _9); + for (_9++; _9 < a5; ) { + let h5 = e7[_9]; + t26(h5) && f7.push(h5), _9++; + } + return f7; + } + } + return e7; +} +function Pp3(e7, t26) { + let a5; + if (e7 !== void 0) { + a5 = []; + for (let _9 = 0; _9 < e7.length; _9++) a5.push(t26(e7[_9], _9)); + } + return a5; +} +function vm2(e7) { + let t26 = []; + for (let a5 = 0; a5 < e7.length; a5++) { + let _9 = e7[a5]; + _9 && ($r7(_9) ? En8(t26, _9) : t26.push(_9)); + } + return t26; +} +function Tm2(e7, t26) { + let a5; + if (e7 !== void 0) for (let _9 = 0; _9 < e7.length; _9++) { + let f7 = t26(e7[_9], _9); + f7 && ($r7(f7) ? a5 = En8(a5, f7) : a5 = wn7(a5, f7)); + } + return a5 ?? vt11; +} +function oy(e7, t26) { + let a5; + if (e7 !== void 0) for (let _9 = 0; _9 < e7.length; _9++) { + let f7 = e7[_9], h5 = t26(f7, _9); + (a5 || f7 !== h5 || $r7(h5)) && (a5 || (a5 = e7.slice(0, _9)), $r7(h5) ? En8(a5, h5) : a5.push(h5)); + } + return a5 ?? e7; +} +function cy(e7, t26) { + let a5 = []; + if (e7 !== void 0) for (let _9 = 0; _9 < e7.length; _9++) { + let f7 = t26(e7[_9], _9); + f7 !== void 0 && a5.push(f7); + } + return a5; +} +function Zt10(e7, t26) { + if (e7 !== void 0) if (t26 !== void 0) { + for (let a5 = 0; a5 < e7.length; a5++) if (t26(e7[a5])) return true; + } else return e7.length > 0; + return false; +} +function Yp2(e7, t26) { + return t26 === void 0 || t26.length === 0 ? e7 : e7 === void 0 || e7.length === 0 ? t26 : [...e7, ...t26]; +} +function ly(e7, t26, a5 = Xp2) { + if (e7 === void 0 || t26 === void 0) return e7 === t26; + if (e7.length !== t26.length) return false; + for (let _9 = 0; _9 < e7.length; _9++) if (!a5(e7[_9], t26[_9], _9)) return false; + return true; +} +function wn7(e7, t26) { + return t26 === void 0 ? e7 : e7 === void 0 ? [t26] : (e7.push(t26), e7); +} +function Np3(e7, t26) { + return t26 < 0 ? e7.length + t26 : t26; +} +function En8(e7, t26, a5, _9) { + if (t26 === void 0 || t26.length === 0) return e7; + if (e7 === void 0) return t26.slice(a5, _9); + a5 = a5 === void 0 ? 0 : Np3(t26, a5), _9 = _9 === void 0 ? t26.length : Np3(t26, _9); + for (let f7 = a5; f7 < _9 && f7 < t26.length; f7++) t26[f7] !== void 0 && e7.push(t26[f7]); + return e7; +} +function uy(e7, t26, a5) { + return _y(e7, t26, a5) ? false : (e7.push(t26), true); +} +function py(e7, t26, a5) { + return e7 !== void 0 ? (uy(e7, t26, a5), e7) : [t26]; +} +function fy(e7, t26) { + return e7.length === 0 ? vt11 : e7.slice().sort(t26); +} +function Hp2(e7) { + return e7 === void 0 || e7.length === 0 ? void 0 : e7[0]; +} +function Ba5(e7) { + return e7 === void 0 || e7.length === 0 ? void 0 : e7[e7.length - 1]; +} +function dy(e7) { + return q10.assert(e7.length !== 0), e7[e7.length - 1]; +} +function my(e7) { + return e7 !== void 0 && e7.length === 1 ? e7[0] : void 0; +} +function hy(e7, t26, a5, _9, f7) { + return yy(e7, a5(t26), a5, _9, f7); +} +function yy(e7, t26, a5, _9, f7) { + if (!Zt10(e7)) return -1; + let h5 = f7 ?? 0, T7 = e7.length - 1; + for (; h5 <= T7; ) { + let k8 = h5 + (T7 - h5 >> 1), c7 = a5(e7[k8], k8); + switch (_9(c7, t26)) { + case -1: + h5 = k8 + 1; + break; + case 0: + return k8; + case 1: + T7 = k8 - 1; + break; + } + } + return ~h5; +} +function gy(e7, t26, a5, _9, f7) { + if (e7 && e7.length > 0) { + let h5 = e7.length; + if (h5 > 0) { + let T7 = _9 === void 0 || _9 < 0 ? 0 : _9, k8 = f7 === void 0 || T7 + f7 > h5 - 1 ? h5 - 1 : T7 + f7, c7; + for (arguments.length <= 2 ? (c7 = e7[T7], T7++) : c7 = a5; T7 <= k8; ) c7 = t26(c7, e7[T7], T7), T7++; + return c7; + } + } + return a5; +} +function Dr7(e7, t26) { + return xm2.call(e7, t26); +} +function by(e7) { + let t26 = []; + for (let a5 in e7) xm2.call(e7, a5) && t26.push(a5); + return t26; +} +function vy() { + let e7 = /* @__PURE__ */ new Map(); + return e7.add = Ty, e7.remove = xy, e7; +} +function Ty(e7, t26) { + let a5 = this.get(e7); + return a5 !== void 0 ? a5.push(t26) : this.set(e7, a5 = [t26]), a5; +} +function xy(e7, t26) { + let a5 = this.get(e7); + a5 !== void 0 && (Ny(a5, t26), a5.length || this.delete(e7)); +} +function $r7(e7) { + return Array.isArray(e7); +} +function bp2(e7) { + return $r7(e7) ? e7 : [e7]; +} +function Sy(e7, t26) { + return e7 !== void 0 && t26(e7) ? e7 : void 0; +} +function Er6(e7, t26) { + return e7 !== void 0 && t26(e7) ? e7 : q10.fail(`Invalid cast. The supplied value ${e7} did not pass the test '${q10.getFunctionName(t26)}'.`); +} +function Va4(e7) { +} +function wy() { + return true; +} +function bt12(e7) { + return e7; +} +function gd(e7) { + let t26; + return () => (e7 && (t26 = e7(), e7 = void 0), t26); +} +function Kn9(e7) { + let t26 = /* @__PURE__ */ new Map(); + return (a5) => { + let _9 = `${typeof a5}:${a5}`, f7 = t26.get(_9); + return f7 === void 0 && !t26.has(_9) && (f7 = e7(a5), t26.set(_9, f7)), f7; + }; +} +function Xp2(e7, t26) { + return e7 === t26; +} +function $p2(e7, t26) { + return e7 === t26 || e7 !== void 0 && t26 !== void 0 && e7.toUpperCase() === t26.toUpperCase(); +} +function ky(e7, t26) { + return Xp2(e7, t26); +} +function Ey(e7, t26) { + return e7 === t26 ? 0 : e7 === void 0 ? -1 : t26 === void 0 ? 1 : e7 < t26 ? -1 : 1; +} +function Sm2(e7, t26) { + return Ey(e7, t26); +} +function Ay(e7, t26, a5) { + for (let _9 = 0; _9 < e7.length; _9++) t26 = Math.max(t26, a5(e7[_9])); + return t26; +} +function t_(e7, t26, a5) { + let _9 = Math.max(2, Math.floor(e7.length * 0.34)), f7 = Math.floor(e7.length * 0.4) + 1, h5; + for (let T7 of t26) { + let k8 = a5(T7); + if (k8 !== void 0 && Math.abs(k8.length - e7.length) <= _9) { + if (k8 === e7 || k8.length < 3 && k8.toLowerCase() !== e7.toLowerCase()) continue; + let c7 = Cy(e7, k8, f7 - 0.1); + if (c7 === void 0) continue; + q10.assert(c7 < f7), f7 = c7, h5 = T7; + } + } + return h5; +} +function Cy(e7, t26, a5) { + let _9 = new Array(t26.length + 1), f7 = new Array(t26.length + 1), h5 = a5 + 0.01; + for (let k8 = 0; k8 <= t26.length; k8++) _9[k8] = k8; + for (let k8 = 1; k8 <= e7.length; k8++) { + let c7 = e7.charCodeAt(k8 - 1), W10 = Math.ceil(k8 > a5 ? k8 - a5 : 1), y10 = Math.floor(t26.length > a5 + k8 ? a5 + k8 : t26.length); + f7[0] = k8; + let G11 = k8; + for (let D7 = 1; D7 < W10; D7++) f7[D7] = h5; + for (let D7 = W10; D7 <= y10; D7++) { + let R10 = e7[k8 - 1].toLowerCase() === t26[D7 - 1].toLowerCase() ? _9[D7 - 1] + 0.1 : _9[D7 - 1] + 2, ue11 = c7 === t26.charCodeAt(D7 - 1) ? _9[D7 - 1] : Math.min(_9[D7] + 1, f7[D7 - 1] + 1, R10); + f7[D7] = ue11, G11 = Math.min(G11, ue11); + } + for (let D7 = y10 + 1; D7 <= t26.length; D7++) f7[D7] = h5; + if (G11 > a5) return; + let E7 = _9; + _9 = f7, f7 = E7; + } + let T7 = _9[t26.length]; + return T7 > a5 ? void 0 : T7; +} +function Dy2(e7, t26, a5) { + let _9 = e7.length - t26.length; + return _9 >= 0 && (a5 ? $p2(e7.slice(_9), t26) : e7.indexOf(t26, _9) === _9); +} +function Py(e7, t26) { + e7[t26] = e7[e7.length - 1], e7.pop(); +} +function Ny(e7, t26) { + return Iy2(e7, (a5) => a5 === t26); +} +function Iy2(e7, t26) { + for (let a5 = 0; a5 < e7.length; a5++) if (t26(e7[a5])) return Py(e7, a5), true; + return false; +} +function ml5(e7, t26, a5) { + return a5 ? $p2(e7.slice(0, t26.length), t26) : e7.lastIndexOf(t26, 0) === 0; +} +function Ip2(e7) { + return e7 === void 0 ? void 0 : [e7]; +} +function Jy(e7) { + return e7 === 47 || e7 === 92; +} +function jy2(e7, t26) { + return e7.length > t26.length && Dy2(e7, t26); +} +function ef2(e7) { + return e7.length > 0 && Jy(e7.charCodeAt(e7.length - 1)); +} +function Td(e7) { + return e7 >= 97 && e7 <= 122 || e7 >= 65 && e7 <= 90; +} +function Ry(e7, t26) { + let a5 = e7.charCodeAt(t26); + if (a5 === 58) return t26 + 1; + if (a5 === 37 && e7.charCodeAt(t26 + 1) === 51) { + let _9 = e7.charCodeAt(t26 + 2); + if (_9 === 97 || _9 === 65) return t26 + 3; + } + return -1; +} +function Uy2(e7) { + if (!e7) return 0; + let t26 = e7.charCodeAt(0); + if (t26 === 47 || t26 === 92) { + if (e7.charCodeAt(1) !== t26) return 1; + let _9 = e7.indexOf(t26 === 47 ? Xr6 : My2, 2); + return _9 < 0 ? e7.length : _9 + 1; + } + if (Td(t26) && e7.charCodeAt(1) === 58) { + let _9 = e7.charCodeAt(2); + if (_9 === 47 || _9 === 92) return 3; + if (e7.length === 2) return 2; + } + let a5 = e7.indexOf(vd); + if (a5 !== -1) { + let _9 = a5 + vd.length, f7 = e7.indexOf(Xr6, _9); + if (f7 !== -1) { + let h5 = e7.slice(0, a5), T7 = e7.slice(_9, f7); + if (h5 === "file" && (T7 === "" || T7 === "localhost") && Td(e7.charCodeAt(f7 + 1))) { + let k8 = Ry(e7, f7 + 2); + if (k8 !== -1) { + if (e7.charCodeAt(k8) === 47) return ~(k8 + 1); + if (k8 === e7.length) return ~k8; + } + } + return ~(f7 + 1); + } + return ~e7.length; + } + return 0; +} +function o_(e7) { + let t26 = Uy2(e7); + return t26 < 0 ? ~t26 : t26; +} +function Nm2(e7, t26, a5) { + if (e7 = c_(e7), o_(e7) === e7.length) return ""; + e7 = hl5(e7); + let f7 = e7.slice(Math.max(o_(e7), e7.lastIndexOf(Xr6) + 1)), h5 = t26 !== void 0 && a5 !== void 0 ? Im2(f7, t26, a5) : void 0; + return h5 ? f7.slice(0, f7.length - h5.length) : f7; +} +function xd(e7, t26, a5) { + if (ml5(t26, ".") || (t26 = "." + t26), e7.length >= t26.length && e7.charCodeAt(e7.length - t26.length) === 46) { + let _9 = e7.slice(e7.length - t26.length); + if (a5(_9, t26)) return _9; + } +} +function By2(e7, t26, a5) { + if (typeof t26 == "string") return xd(e7, t26, a5) || ""; + for (let _9 of t26) { + let f7 = xd(e7, _9, a5); + if (f7) return f7; + } + return ""; +} +function Im2(e7, t26, a5) { + if (t26) return By2(hl5(e7), t26, a5 ? $p2 : ky); + let _9 = Nm2(e7), f7 = _9.lastIndexOf("."); + return f7 >= 0 ? _9.substring(f7) : ""; +} +function c_(e7) { + return e7.includes("\\") ? e7.replace(Ly2, Xr6) : e7; +} +function qy2(e7, ...t26) { + e7 && (e7 = c_(e7)); + for (let a5 of t26) a5 && (a5 = c_(a5), !e7 || o_(a5) !== 0 ? e7 = a5 : e7 = Mm2(e7) + a5); + return e7; +} +function Fy2(e7, t26) { + let a5 = o_(e7); + a5 === 0 && t26 ? (e7 = qy2(t26, e7), a5 = o_(e7)) : e7 = c_(e7); + let _9 = Om2(e7); + if (_9 !== void 0) return _9.length > a5 ? hl5(_9) : _9; + let f7 = e7.length, h5 = e7.substring(0, a5), T7, k8 = a5, c7 = k8, W10 = k8, y10 = a5 !== 0; + for (; k8 < f7; ) { + c7 = k8; + let G11 = e7.charCodeAt(k8); + for (; G11 === 47 && k8 + 1 < f7; ) k8++, G11 = e7.charCodeAt(k8); + k8 > c7 && (T7 ?? (T7 = e7.substring(0, c7 - 1)), c7 = k8); + let E7 = e7.indexOf(Xr6, k8 + 1); + E7 === -1 && (E7 = f7); + let D7 = E7 - c7; + if (D7 === 1 && e7.charCodeAt(k8) === 46) T7 ?? (T7 = e7.substring(0, W10)); + else if (D7 === 2 && e7.charCodeAt(k8) === 46 && e7.charCodeAt(k8 + 1) === 46) if (!y10) T7 !== void 0 ? T7 += T7.length === a5 ? ".." : "/.." : W10 = k8 + 2; + else if (T7 === void 0) W10 - 2 >= 0 ? T7 = e7.substring(0, Math.max(a5, e7.lastIndexOf(Xr6, W10 - 2))) : T7 = e7.substring(0, W10); + else { + let R10 = T7.lastIndexOf(Xr6); + R10 !== -1 ? T7 = T7.substring(0, Math.max(a5, R10)) : T7 = h5, T7.length === a5 && (y10 = a5 !== 0); + } + else T7 !== void 0 ? (T7.length !== a5 && (T7 += Xr6), y10 = true, T7 += e7.substring(c7, E7)) : (y10 = true, W10 = E7); + k8 = E7 + 1; + } + return T7 ?? (f7 > a5 ? hl5(e7) : e7); +} +function zy2(e7) { + e7 = c_(e7); + let t26 = Om2(e7); + return t26 !== void 0 ? t26 : (t26 = Fy2(e7, ""), t26 && ef2(e7) ? Mm2(t26) : t26); +} +function Om2(e7) { + if (!Sd.test(e7)) return e7; + let t26 = e7.replace(/\/\.\//g, "/"); + if (t26.startsWith("./") && (t26 = t26.slice(2)), t26 !== e7 && (e7 = t26, !Sd.test(e7))) return e7; +} +function hl5(e7) { + return ef2(e7) ? e7.substr(0, e7.length - 1) : e7; +} +function Mm2(e7) { + return ef2(e7) ? e7 : e7 + Xr6; +} +function r3(e7, t26, a5, _9, f7, h5, T7) { + return { code: e7, category: t26, key: a5, message: _9, reportsUnnecessary: f7, elidedInCompatabilityPyramid: h5, reportsDeprecated: T7 }; +} +function St11(e7) { + return e7 >= 80; +} +function Vy2(e7) { + return e7 === 32 || St11(e7); +} +function yl5(e7, t26) { + if (e7 < t26[0]) return false; + let a5 = 0, _9 = t26.length, f7; + for (; a5 + 1 < _9; ) { + if (f7 = a5 + (_9 - a5) / 2, f7 -= f7 % 2, t26[f7] <= e7 && e7 <= t26[f7 + 1]) return true; + e7 < t26[f7] ? _9 = f7 : a5 = f7 + 2; + } + return false; +} +function eg(e7, t26) { + return t26 >= 2 ? yl5(e7, Xy) : yl5(e7, Yy2); +} +function tg(e7, t26) { + return t26 >= 2 ? yl5(e7, $y2) : yl5(e7, Hy2); +} +function jm2(e7) { + let t26 = []; + return e7.forEach((a5, _9) => { + t26[a5] = _9; + }), t26; +} +function nt10(e7) { + return ng[e7]; +} +function Rm2(e7) { + return Lm2.get(e7); +} +function wd(e7) { + return Jm2.get(e7); +} +function Um2(e7) { + let t26 = [], a5 = 0, _9 = 0; + for (; a5 < e7.length; ) { + let f7 = e7.charCodeAt(a5); + switch (a5++, f7) { + case 13: + e7.charCodeAt(a5) === 10 && a5++; + case 10: + t26.push(_9), _9 = a5; + break; + default: + f7 > 127 && kn8(f7) && (t26.push(_9), _9 = a5); + break; + } + } + return t26.push(_9), t26; +} +function rg(e7, t26, a5, _9, f7) { + (t26 < 0 || t26 >= e7.length) && (f7 ? t26 = t26 < 0 ? 0 : t26 >= e7.length ? e7.length - 1 : t26 : q10.fail(`Bad line number. Line: ${t26}, lineStarts.length: ${e7.length} , line map is correct? ${_9 !== void 0 ? ly(e7, Um2(_9)) : "unknown"}`)); + let h5 = e7[t26] + a5; + return f7 ? h5 > e7[t26 + 1] ? e7[t26 + 1] : typeof _9 == "string" && h5 > _9.length ? _9.length : h5 : (t26 < e7.length - 1 ? q10.assert(h5 < e7[t26 + 1]) : _9 !== void 0 && q10.assert(h5 <= _9.length), h5); +} +function Mp2(e7) { + return e7.lineMap || (e7.lineMap = Um2(e7.text)); +} +function ig(e7, t26) { + let a5 = ag(e7, t26); + return { line: a5, character: t26 - e7[a5] }; +} +function ag(e7, t26, a5) { + let _9 = hy(e7, t26, bt12, Sm2, a5); + return _9 < 0 && (_9 = ~_9 - 1, q10.assert(_9 !== -1, "position cannot precede the beginning of the file")), _9; +} +function Bm2(e7, t26) { + return ig(Mp2(e7), t26); +} +function qa4(e7) { + return n_(e7) || kn8(e7); +} +function n_(e7) { + return e7 === 32 || e7 === 9 || e7 === 11 || e7 === 12 || e7 === 160 || e7 === 133 || e7 === 5760 || e7 >= 8192 && e7 <= 8203 || e7 === 8239 || e7 === 8287 || e7 === 12288 || e7 === 65279; +} +function kn8(e7) { + return e7 === 10 || e7 === 13 || e7 === 8232 || e7 === 8233; +} +function fi10(e7) { + return e7 >= 48 && e7 <= 57; +} +function vp2(e7) { + return fi10(e7) || e7 >= 65 && e7 <= 70 || e7 >= 97 && e7 <= 102; +} +function nf2(e7) { + return e7 >= 65 && e7 <= 90 || e7 >= 97 && e7 <= 122; +} +function qm2(e7) { + return nf2(e7) || fi10(e7) || e7 === 95; +} +function Tp2(e7) { + return e7 >= 48 && e7 <= 55; +} +function Cr6(e7, t26, a5, _9, f7) { + if (d_(t26)) return t26; + let h5 = false; + for (; ; ) { + let T7 = e7.charCodeAt(t26); + switch (T7) { + case 13: + e7.charCodeAt(t26 + 1) === 10 && t26++; + case 10: + if (t26++, a5) return t26; + h5 = !!f7; + continue; + case 9: + case 11: + case 12: + case 32: + t26++; + continue; + case 47: + if (_9) break; + if (e7.charCodeAt(t26 + 1) === 47) { + for (t26 += 2; t26 < e7.length && !kn8(e7.charCodeAt(t26)); ) t26++; + h5 = false; + continue; + } + if (e7.charCodeAt(t26 + 1) === 42) { + for (t26 += 2; t26 < e7.length; ) { + if (e7.charCodeAt(t26) === 42 && e7.charCodeAt(t26 + 1) === 47) { + t26 += 2; + break; + } + t26++; + } + h5 = false; + continue; + } + break; + case 60: + case 124: + case 61: + case 62: + if ($i8(e7, t26)) { + t26 = Ma3(e7, t26), h5 = false; + continue; + } + break; + case 35: + if (t26 === 0 && Fm2(e7, t26)) { + t26 = zm2(e7, t26), h5 = false; + continue; + } + break; + case 42: + if (h5) { + t26++, h5 = false; + continue; + } + break; + default: + if (T7 > 127 && qa4(T7)) { + t26++; + continue; + } + break; + } + return t26; + } +} +function $i8(e7, t26) { + if (q10.assert(t26 >= 0), t26 === 0 || kn8(e7.charCodeAt(t26 - 1))) { + let a5 = e7.charCodeAt(t26); + if (t26 + ul5 < e7.length) { + for (let _9 = 0; _9 < ul5; _9++) if (e7.charCodeAt(t26 + _9) !== a5) return false; + return a5 === 61 || e7.charCodeAt(t26 + ul5) === 32; + } + } + return false; +} +function Ma3(e7, t26, a5) { + a5 && a5(A7.Merge_conflict_marker_encountered, t26, ul5); + let _9 = e7.charCodeAt(t26), f7 = e7.length; + if (_9 === 60 || _9 === 62) for (; t26 < f7 && !kn8(e7.charCodeAt(t26)); ) t26++; + else for (q10.assert(_9 === 124 || _9 === 61); t26 < f7; ) { + let h5 = e7.charCodeAt(t26); + if ((h5 === 61 || h5 === 62) && h5 !== _9 && $i8(e7, t26)) break; + t26++; + } + return t26; +} +function Fm2(e7, t26) { + return q10.assert(t26 === 0), rf2.test(e7); +} +function zm2(e7, t26) { + let a5 = rf2.exec(e7)[0]; + return t26 = t26 + a5.length, t26; +} +function kl5(e7, t26, a5, _9, f7, h5, T7) { + let k8, c7, W10, y10, G11 = false, E7 = _9, D7 = T7; + if (a5 === 0) { + E7 = true; + let R10 = af2(t26); + R10 && (a5 = R10.length); + } + e: for (; a5 >= 0 && a5 < t26.length; ) { + let R10 = t26.charCodeAt(a5); + switch (R10) { + case 13: + t26.charCodeAt(a5 + 1) === 10 && a5++; + case 10: + if (a5++, _9) break e; + E7 = true, G11 && (y10 = true); + continue; + case 9: + case 11: + case 12: + case 32: + a5++; + continue; + case 47: + let ue11 = t26.charCodeAt(a5 + 1), be10 = false; + if (ue11 === 47 || ue11 === 42) { + let he11 = ue11 === 47 ? 2 : 3, de11 = a5; + if (a5 += 2, ue11 === 47) for (; a5 < t26.length; ) { + if (kn8(t26.charCodeAt(a5))) { + be10 = true; + break; + } + a5++; + } + else for (; a5 < t26.length; ) { + if (t26.charCodeAt(a5) === 42 && t26.charCodeAt(a5 + 1) === 47) { + a5 += 2; + break; + } + a5++; + } + if (E7) { + if (G11 && (D7 = f7(k8, c7, W10, y10, h5, D7), !e7 && D7)) return D7; + k8 = de11, c7 = a5, W10 = he11, y10 = be10, G11 = true; + } + continue; + } + break e; + default: + if (R10 > 127 && qa4(R10)) { + G11 && kn8(R10) && (y10 = true), a5++; + continue; + } + break e; + } + } + return G11 && (D7 = f7(k8, c7, W10, y10, h5, D7)), D7; +} +function Vm3(e7, t26, a5, _9) { + return kl5(false, e7, t26, false, a5, _9); +} +function Wm2(e7, t26, a5, _9) { + return kl5(false, e7, t26, true, a5, _9); +} +function sg(e7, t26, a5, _9, f7) { + return kl5(true, e7, t26, false, a5, _9, f7); +} +function _g(e7, t26, a5, _9, f7) { + return kl5(true, e7, t26, true, a5, _9, f7); +} +function Gm2(e7, t26, a5, _9, f7, h5 = []) { + return h5.push({ kind: a5, pos: e7, end: t26, hasTrailingNewLine: _9 }), h5; +} +function Lp2(e7, t26) { + return sg(e7, t26, Gm2, void 0, void 0); +} +function og(e7, t26) { + return _g(e7, t26, Gm2, void 0, void 0); +} +function af2(e7) { + let t26 = rf2.exec(e7); + if (t26) return t26[0]; +} +function Zn9(e7, t26) { + return nf2(e7) || e7 === 36 || e7 === 95 || e7 > 127 && eg(e7, t26); +} +function Ar6(e7, t26, a5) { + return qm2(e7) || e7 === 36 || (a5 === 1 ? e7 === 45 || e7 === 58 : false) || e7 > 127 && tg(e7, t26); +} +function cg(e7, t26, a5) { + let _9 = Qi8(e7, 0); + if (!Zn9(_9, t26)) return false; + for (let f7 = Vt10(_9); f7 < e7.length; f7 += Vt10(_9)) if (!Ar6(_9 = Qi8(e7, f7), t26, a5)) return false; + return true; +} +function sf2(e7, t26, a5 = 0, _9, f7, h5, T7) { + var k8 = _9, c7, W10, y10, G11, E7, D7, R10, ue11, be10 = 0, he11 = 0, de11 = 0; + Ct12(k8, h5, T7); + var O7 = { getTokenFullStart: () => y10, getStartPos: () => y10, getTokenEnd: () => c7, getTextPos: () => c7, getToken: () => E7, getTokenStart: () => G11, getTokenPos: () => G11, getTokenText: () => k8.substring(G11, c7), getTokenValue: () => D7, hasUnicodeEscape: () => (R10 & 1024) !== 0, hasExtendedUnicodeEscape: () => (R10 & 8) !== 0, hasPrecedingLineBreak: () => (R10 & 1) !== 0, hasPrecedingJSDocComment: () => (R10 & 2) !== 0, hasPrecedingJSDocLeadingAsterisks: () => (R10 & 32768) !== 0, isIdentifier: () => E7 === 80 || E7 > 118, isReservedWord: () => E7 >= 83 && E7 <= 118, isUnterminated: () => (R10 & 4) !== 0, getCommentDirectives: () => ue11, getNumericLiteralFlags: () => R10 & 25584, getTokenFlags: () => R10, reScanGreaterToken: ct9, reScanAsteriskEqualsToken: ar9, reScanSlashToken: dt8, reScanTemplateToken: qt11, reScanTemplateHeadOrNoSubstitutionTemplate: tn8, scanJsxIdentifier: Or7, scanJsxAttributeValue: Vn7, reScanJsxAttributeValue: Ce10, reScanJsxToken: sr10, reScanLessThanToken: mr7, reScanHashToken: hr8, reScanQuestionToken: Fn6, reScanInvalidIdentifier: Bt10, scanJsxToken: zn9, scanJsDocToken: L9, scanJSDocCommentTextToken: yr7, scan: ot8, getText: Qe11, clearCommentDirectives: st8, setText: Ct12, setScriptTarget: lt8, setLanguageVariant: Mr8, setScriptKind: gr7, setJSDocParsingMode: Nn6, setOnError: Tt12, resetTokenState: Wn8, setTextPos: Wn8, setSkipJsDocLeadingAsterisks: wi10, tryScan: He10, lookAhead: Te10, scanRange: fe10 }; + return q10.isDebugging && Object.defineProperty(O7, "__debugShowCurrentPositionInText", { get: () => { + let U9 = O7.getText(); + return U9.slice(0, O7.getTokenFullStart()) + "\u2551" + U9.slice(O7.getTokenFullStart()); + } }), O7; + function ae9(U9) { + return Qi8(k8, U9); + } + function Oe11(U9) { + return U9 >= 0 && U9 < W10 ? ae9(U9) : -1; + } + function V11(U9) { + return k8.charCodeAt(U9); + } + function oe10(U9) { + return U9 >= 0 && U9 < W10 ? V11(U9) : -1; + } + function Y7(U9, K11 = c7, Z9, xe10) { + if (f7) { + let Se11 = c7; + c7 = K11, f7(U9, Z9 || 0, xe10), c7 = Se11; + } + } + function ft10() { + let U9 = c7, K11 = false, Z9 = false, xe10 = ""; + for (; ; ) { + let Se11 = V11(c7); + if (Se11 === 95) { + R10 |= 512, K11 ? (K11 = false, Z9 = true, xe10 += k8.substring(U9, c7)) : (R10 |= 16384, Y7(Z9 ? A7.Multiple_consecutive_numeric_separators_are_not_permitted : A7.Numeric_separators_are_not_allowed_here, c7, 1)), c7++, U9 = c7; + continue; + } + if (fi10(Se11)) { + K11 = true, Z9 = false, c7++; + continue; + } + break; + } + return V11(c7 - 1) === 95 && (R10 |= 16384, Y7(A7.Numeric_separators_are_not_allowed_here, c7 - 1, 1)), xe10 + k8.substring(U9, c7); + } + function nr9() { + let U9 = c7, K11; + if (V11(c7) === 48) if (c7++, V11(c7) === 95) R10 |= 16896, Y7(A7.Numeric_separators_are_not_allowed_here, c7, 1), c7--, K11 = ft10(); + else if (!rr8()) R10 |= 8192, K11 = "" + +D7; + else if (!D7) K11 = "0"; + else { + D7 = "" + parseInt(D7, 8), R10 |= 32; + let me12 = E7 === 41, Ve9 = (me12 ? "-" : "") + "0o" + (+D7).toString(8); + return me12 && U9--, Y7(A7.Octal_literals_are_not_allowed_Use_the_syntax_0, U9, c7 - U9, Ve9), 9; + } + else K11 = ft10(); + let Z9, xe10; + V11(c7) === 46 && (c7++, Z9 = ft10()); + let Se11 = c7; + if (V11(c7) === 69 || V11(c7) === 101) { + c7++, R10 |= 16, (V11(c7) === 43 || V11(c7) === 45) && c7++; + let me12 = c7, Ve9 = ft10(); + Ve9 ? (xe10 = k8.substring(Se11, me12) + Ve9, Se11 = c7) : Y7(A7.Digit_expected); + } + let we9; + if (R10 & 512 ? (we9 = K11, Z9 && (we9 += "." + Z9), xe10 && (we9 += xe10)) : we9 = k8.substring(U9, Se11), R10 & 8192) return Y7(A7.Decimals_with_leading_zeros_are_not_allowed, U9, Se11 - U9), D7 = "" + +we9, 9; + if (Z9 !== void 0 || R10 & 16) return mn8(U9, Z9 === void 0 && !!(R10 & 16)), D7 = "" + +we9, 9; + { + D7 = we9; + let me12 = $t8(); + return mn8(U9), me12; + } + } + function mn8(U9, K11) { + if (!Zn9(ae9(c7), e7)) return; + let Z9 = c7, { length: xe10 } = ht10(); + xe10 === 1 && k8[Z9] === "n" ? Y7(K11 ? A7.A_bigint_literal_cannot_use_exponential_notation : A7.A_bigint_literal_must_be_an_integer, U9, Z9 - U9 + 1) : (Y7(A7.An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal, Z9, xe10), c7 = Z9); + } + function rr8() { + let U9 = c7, K11 = true; + for (; fi10(oe10(c7)); ) Tp2(V11(c7)) || (K11 = false), c7++; + return D7 = k8.substring(U9, c7), K11; + } + function hn9(U9, K11) { + let Z9 = We12(U9, false, K11); + return Z9 ? parseInt(Z9, 16) : -1; + } + function Dn7(U9, K11) { + return We12(U9, true, K11); + } + function We12(U9, K11, Z9) { + let xe10 = [], Se11 = false, we9 = false; + for (; xe10.length < U9 || K11; ) { + let me12 = V11(c7); + if (Z9 && me12 === 95) { + R10 |= 512, Se11 ? (Se11 = false, we9 = true) : Y7(we9 ? A7.Multiple_consecutive_numeric_separators_are_not_permitted : A7.Numeric_separators_are_not_allowed_here, c7, 1), c7++; + continue; + } + if (Se11 = Z9, me12 >= 65 && me12 <= 70) me12 += 32; + else if (!(me12 >= 48 && me12 <= 57 || me12 >= 97 && me12 <= 102)) break; + xe10.push(me12), c7++, we9 = false; + } + return xe10.length < U9 && (xe10 = []), V11(c7 - 1) === 95 && Y7(A7.Numeric_separators_are_not_allowed_here, c7 - 1, 1), String.fromCharCode(...xe10); + } + function ir10(U9 = false) { + let K11 = V11(c7); + c7++; + let Z9 = "", xe10 = c7; + for (; ; ) { + if (c7 >= W10) { + Z9 += k8.substring(xe10, c7), R10 |= 4, Y7(A7.Unterminated_string_literal); + break; + } + let Se11 = V11(c7); + if (Se11 === K11) { + Z9 += k8.substring(xe10, c7), c7++; + break; + } + if (Se11 === 92 && !U9) { + Z9 += k8.substring(xe10, c7), Z9 += Ot12(3), xe10 = c7; + continue; + } + if ((Se11 === 10 || Se11 === 13) && !U9) { + Z9 += k8.substring(xe10, c7), R10 |= 4, Y7(A7.Unterminated_string_literal); + break; + } + c7++; + } + return Z9; + } + function Ir6(U9) { + let K11 = V11(c7) === 96; + c7++; + let Z9 = c7, xe10 = "", Se11; + for (; ; ) { + if (c7 >= W10) { + xe10 += k8.substring(Z9, c7), R10 |= 4, Y7(A7.Unterminated_template_literal), Se11 = K11 ? 15 : 18; + break; + } + let we9 = V11(c7); + if (we9 === 96) { + xe10 += k8.substring(Z9, c7), c7++, Se11 = K11 ? 15 : 18; + break; + } + if (we9 === 36 && c7 + 1 < W10 && V11(c7 + 1) === 123) { + xe10 += k8.substring(Z9, c7), c7 += 2, Se11 = K11 ? 16 : 17; + break; + } + if (we9 === 92) { + xe10 += k8.substring(Z9, c7), xe10 += Ot12(1 | (U9 ? 2 : 0)), Z9 = c7; + continue; + } + if (we9 === 13) { + xe10 += k8.substring(Z9, c7), c7++, c7 < W10 && V11(c7) === 10 && c7++, xe10 += ` +`, Z9 = c7; + continue; + } + c7++; + } + return q10.assert(Se11 !== void 0), D7 = xe10, Se11; + } + function Ot12(U9) { + let K11 = c7; + if (c7++, c7 >= W10) return Y7(A7.Unexpected_end_of_text), ""; + let Z9 = V11(c7); + switch (c7++, Z9) { + case 48: + if (c7 >= W10 || !fi10(V11(c7))) return "\0"; + case 49: + case 50: + case 51: + c7 < W10 && Tp2(V11(c7)) && c7++; + case 52: + case 53: + case 54: + case 55: + if (c7 < W10 && Tp2(V11(c7)) && c7++, R10 |= 2048, U9 & 6) { + let we9 = parseInt(k8.substring(K11 + 1, c7), 8); + return U9 & 4 && !(U9 & 32) && Z9 !== 48 ? Y7(A7.Octal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class_If_this_was_intended_as_an_escape_sequence_use_the_syntax_0_instead, K11, c7 - K11, "\\x" + we9.toString(16).padStart(2, "0")) : Y7(A7.Octal_escape_sequences_are_not_allowed_Use_the_syntax_0, K11, c7 - K11, "\\x" + we9.toString(16).padStart(2, "0")), String.fromCharCode(we9); + } + return k8.substring(K11, c7); + case 56: + case 57: + return R10 |= 2048, U9 & 6 ? (U9 & 4 && !(U9 & 32) ? Y7(A7.Decimal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class, K11, c7 - K11) : Y7(A7.Escape_sequence_0_is_not_allowed, K11, c7 - K11, k8.substring(K11, c7)), String.fromCharCode(Z9)) : k8.substring(K11, c7); + case 98: + return "\b"; + case 116: + return " "; + case 110: + return ` +`; + case 118: + return "\v"; + case 102: + return "\f"; + case 114: + return "\r"; + case 39: + return "'"; + case 34: + return '"'; + case 117: + if (c7 < W10 && V11(c7) === 123) { + c7 -= 2; + let we9 = Bn7(!!(U9 & 6)); + return U9 & 17 || (R10 |= 2048, U9 & 6 && Y7(A7.Unicode_escape_sequences_are_only_available_when_the_Unicode_u_flag_or_the_Unicode_Sets_v_flag_is_set, K11, c7 - K11)), we9; + } + for (; c7 < K11 + 6; c7++) if (!(c7 < W10 && vp2(V11(c7)))) return R10 |= 2048, U9 & 6 && Y7(A7.Hexadecimal_digit_expected), k8.substring(K11, c7); + R10 |= 1024; + let xe10 = parseInt(k8.substring(K11 + 2, c7), 16), Se11 = String.fromCharCode(xe10); + if (U9 & 16 && xe10 >= 55296 && xe10 <= 56319 && c7 + 6 < W10 && k8.substring(c7, c7 + 2) === "\\u" && V11(c7 + 2) !== 123) { + let we9 = c7, me12 = c7 + 2; + for (; me12 < we9 + 6; me12++) if (!vp2(V11(me12))) return Se11; + let Ve9 = parseInt(k8.substring(we9 + 2, me12), 16); + if (Ve9 >= 56320 && Ve9 <= 57343) return c7 = me12, Se11 + String.fromCharCode(Ve9); + } + return Se11; + case 120: + for (; c7 < K11 + 4; c7++) if (!(c7 < W10 && vp2(V11(c7)))) return R10 |= 2048, U9 & 6 && Y7(A7.Hexadecimal_digit_expected), k8.substring(K11, c7); + return R10 |= 4096, String.fromCharCode(parseInt(k8.substring(K11 + 2, c7), 16)); + case 13: + c7 < W10 && V11(c7) === 10 && c7++; + case 10: + case 8232: + case 8233: + return ""; + default: + return (U9 & 16 || U9 & 4 && !(U9 & 8) && Ar6(Z9, e7)) && Y7(A7.This_character_cannot_be_escaped_in_a_regular_expression, c7 - 2, 2), String.fromCharCode(Z9); + } + } + function Bn7(U9) { + let K11 = c7; + c7 += 3; + let Z9 = c7, xe10 = Dn7(1, false), Se11 = xe10 ? parseInt(xe10, 16) : -1, we9 = false; + return Se11 < 0 ? (U9 && Y7(A7.Hexadecimal_digit_expected), we9 = true) : Se11 > 1114111 && (U9 && Y7(A7.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive, Z9, c7 - Z9), we9 = true), c7 >= W10 ? (U9 && Y7(A7.Unexpected_end_of_text), we9 = true) : V11(c7) === 125 ? c7++ : (U9 && Y7(A7.Unterminated_Unicode_escape_sequence), we9 = true), we9 ? (R10 |= 2048, k8.substring(K11, c7)) : (R10 |= 8, kd(Se11)); + } + function Pn8() { + if (c7 + 5 < W10 && V11(c7 + 1) === 117) { + let U9 = c7; + c7 += 2; + let K11 = hn9(4, false); + return c7 = U9, K11; + } + return -1; + } + function Mt12() { + if (ae9(c7 + 1) === 117 && ae9(c7 + 2) === 123) { + let U9 = c7; + c7 += 3; + let K11 = Dn7(1, false), Z9 = K11 ? parseInt(K11, 16) : -1; + return c7 = U9, Z9; + } + return -1; + } + function ht10() { + let U9 = "", K11 = c7; + for (; c7 < W10; ) { + let Z9 = ae9(c7); + if (Ar6(Z9, e7)) c7 += Vt10(Z9); + else if (Z9 === 92) { + if (Z9 = Mt12(), Z9 >= 0 && Ar6(Z9, e7)) { + U9 += Bn7(true), K11 = c7; + continue; + } + if (Z9 = Pn8(), !(Z9 >= 0 && Ar6(Z9, e7))) break; + R10 |= 1024, U9 += k8.substring(K11, c7), U9 += kd(Z9), c7 += 6, K11 = c7; + } else break; + } + return U9 += k8.substring(K11, c7), U9; + } + function $e11() { + let U9 = D7.length; + if (U9 >= 2 && U9 <= 12) { + let K11 = D7.charCodeAt(0); + if (K11 >= 97 && K11 <= 122) { + let Z9 = Wy2.get(D7); + if (Z9 !== void 0) return E7 = Z9; + } + } + return E7 = 80; + } + function qn8(U9) { + let K11 = "", Z9 = false, xe10 = false; + for (; ; ) { + let Se11 = V11(c7); + if (Se11 === 95) { + R10 |= 512, Z9 ? (Z9 = false, xe10 = true) : Y7(xe10 ? A7.Multiple_consecutive_numeric_separators_are_not_permitted : A7.Numeric_separators_are_not_allowed_here, c7, 1), c7++; + continue; + } + if (Z9 = true, !fi10(Se11) || Se11 - 48 >= U9) break; + K11 += k8[c7], c7++, xe10 = false; + } + return V11(c7 - 1) === 95 && Y7(A7.Numeric_separators_are_not_allowed_here, c7 - 1, 1), K11; + } + function $t8() { + return V11(c7) === 110 ? (D7 += "n", R10 & 384 && (D7 = vb(D7) + "n"), c7++, 10) : (D7 = "" + (R10 & 128 ? parseInt(D7.slice(2), 2) : R10 & 256 ? parseInt(D7.slice(2), 8) : +D7), 9); + } + function ot8() { + for (y10 = c7, R10 = 0; ; ) { + if (G11 = c7, c7 >= W10) return E7 = 1; + let U9 = ae9(c7); + if (c7 === 0 && U9 === 35 && Fm2(k8, c7)) { + if (c7 = zm2(k8, c7), t26) continue; + return E7 = 6; + } + switch (U9) { + case 10: + case 13: + if (R10 |= 1, t26) { + c7++; + continue; + } else return U9 === 13 && c7 + 1 < W10 && V11(c7 + 1) === 10 ? c7 += 2 : c7++, E7 = 4; + case 9: + case 11: + case 12: + case 32: + case 160: + case 5760: + case 8192: + case 8193: + case 8194: + case 8195: + case 8196: + case 8197: + case 8198: + case 8199: + case 8200: + case 8201: + case 8202: + case 8203: + case 8239: + case 8287: + case 12288: + case 65279: + if (t26) { + c7++; + continue; + } else { + for (; c7 < W10 && n_(V11(c7)); ) c7++; + return E7 = 5; + } + case 33: + return V11(c7 + 1) === 61 ? V11(c7 + 2) === 61 ? (c7 += 3, E7 = 38) : (c7 += 2, E7 = 36) : (c7++, E7 = 54); + case 34: + case 39: + return D7 = ir10(), E7 = 11; + case 96: + return E7 = Ir6(false); + case 37: + return V11(c7 + 1) === 61 ? (c7 += 2, E7 = 70) : (c7++, E7 = 45); + case 38: + return V11(c7 + 1) === 38 ? V11(c7 + 2) === 61 ? (c7 += 3, E7 = 77) : (c7 += 2, E7 = 56) : V11(c7 + 1) === 61 ? (c7 += 2, E7 = 74) : (c7++, E7 = 51); + case 40: + return c7++, E7 = 21; + case 41: + return c7++, E7 = 22; + case 42: + if (V11(c7 + 1) === 61) return c7 += 2, E7 = 67; + if (V11(c7 + 1) === 42) return V11(c7 + 2) === 61 ? (c7 += 3, E7 = 68) : (c7 += 2, E7 = 43); + if (c7++, be10 && (R10 & 32768) === 0 && R10 & 1) { + R10 |= 32768; + continue; + } + return E7 = 42; + case 43: + return V11(c7 + 1) === 43 ? (c7 += 2, E7 = 46) : V11(c7 + 1) === 61 ? (c7 += 2, E7 = 65) : (c7++, E7 = 40); + case 44: + return c7++, E7 = 28; + case 45: + return V11(c7 + 1) === 45 ? (c7 += 2, E7 = 47) : V11(c7 + 1) === 61 ? (c7 += 2, E7 = 66) : (c7++, E7 = 41); + case 46: + return fi10(V11(c7 + 1)) ? (nr9(), E7 = 9) : V11(c7 + 1) === 46 && V11(c7 + 2) === 46 ? (c7 += 3, E7 = 26) : (c7++, E7 = 25); + case 47: + if (V11(c7 + 1) === 47) { + for (c7 += 2; c7 < W10 && !kn8(V11(c7)); ) c7++; + if (ue11 = _n7(ue11, k8.slice(G11, c7), Qy, G11), t26) continue; + return E7 = 2; + } + if (V11(c7 + 1) === 42) { + c7 += 2; + let me12 = V11(c7) === 42 && V11(c7 + 1) !== 47, Ve9 = false, Ze11 = G11; + for (; c7 < W10; ) { + let Ye10 = V11(c7); + if (Ye10 === 42 && V11(c7 + 1) === 47) { + c7 += 2, Ve9 = true; + break; + } + c7++, kn8(Ye10) && (Ze11 = c7, R10 |= 1); + } + if (me12 && at11() && (R10 |= 2), ue11 = _n7(ue11, k8.slice(Ze11, c7), Ky, Ze11), Ve9 || Y7(A7.Asterisk_Slash_expected), t26) continue; + return Ve9 || (R10 |= 4), E7 = 3; + } + return V11(c7 + 1) === 61 ? (c7 += 2, E7 = 69) : (c7++, E7 = 44); + case 48: + if (c7 + 2 < W10 && (V11(c7 + 1) === 88 || V11(c7 + 1) === 120)) return c7 += 2, D7 = Dn7(1, true), D7 || (Y7(A7.Hexadecimal_digit_expected), D7 = "0"), D7 = "0x" + D7, R10 |= 64, E7 = $t8(); + if (c7 + 2 < W10 && (V11(c7 + 1) === 66 || V11(c7 + 1) === 98)) return c7 += 2, D7 = qn8(2), D7 || (Y7(A7.Binary_digit_expected), D7 = "0"), D7 = "0b" + D7, R10 |= 128, E7 = $t8(); + if (c7 + 2 < W10 && (V11(c7 + 1) === 79 || V11(c7 + 1) === 111)) return c7 += 2, D7 = qn8(8), D7 || (Y7(A7.Octal_digit_expected), D7 = "0"), D7 = "0o" + D7, R10 |= 256, E7 = $t8(); + case 49: + case 50: + case 51: + case 52: + case 53: + case 54: + case 55: + case 56: + case 57: + return E7 = nr9(); + case 58: + return c7++, E7 = 59; + case 59: + return c7++, E7 = 27; + case 60: + if ($i8(k8, c7)) { + if (c7 = Ma3(k8, c7, Y7), t26) continue; + return E7 = 7; + } + return V11(c7 + 1) === 60 ? V11(c7 + 2) === 61 ? (c7 += 3, E7 = 71) : (c7 += 2, E7 = 48) : V11(c7 + 1) === 61 ? (c7 += 2, E7 = 33) : a5 === 1 && V11(c7 + 1) === 47 && V11(c7 + 2) !== 42 ? (c7 += 2, E7 = 31) : (c7++, E7 = 30); + case 61: + if ($i8(k8, c7)) { + if (c7 = Ma3(k8, c7, Y7), t26) continue; + return E7 = 7; + } + return V11(c7 + 1) === 61 ? V11(c7 + 2) === 61 ? (c7 += 3, E7 = 37) : (c7 += 2, E7 = 35) : V11(c7 + 1) === 62 ? (c7 += 2, E7 = 39) : (c7++, E7 = 64); + case 62: + if ($i8(k8, c7)) { + if (c7 = Ma3(k8, c7, Y7), t26) continue; + return E7 = 7; + } + return c7++, E7 = 32; + case 63: + return V11(c7 + 1) === 46 && !fi10(V11(c7 + 2)) ? (c7 += 2, E7 = 29) : V11(c7 + 1) === 63 ? V11(c7 + 2) === 61 ? (c7 += 3, E7 = 78) : (c7 += 2, E7 = 61) : (c7++, E7 = 58); + case 91: + return c7++, E7 = 23; + case 93: + return c7++, E7 = 24; + case 94: + return V11(c7 + 1) === 61 ? (c7 += 2, E7 = 79) : (c7++, E7 = 53); + case 123: + return c7++, E7 = 19; + case 124: + if ($i8(k8, c7)) { + if (c7 = Ma3(k8, c7, Y7), t26) continue; + return E7 = 7; + } + return V11(c7 + 1) === 124 ? V11(c7 + 2) === 61 ? (c7 += 3, E7 = 76) : (c7 += 2, E7 = 57) : V11(c7 + 1) === 61 ? (c7 += 2, E7 = 75) : (c7++, E7 = 52); + case 125: + return c7++, E7 = 20; + case 126: + return c7++, E7 = 55; + case 64: + return c7++, E7 = 60; + case 92: + let K11 = Mt12(); + if (K11 >= 0 && Zn9(K11, e7)) return D7 = Bn7(true) + ht10(), E7 = $e11(); + let Z9 = Pn8(); + return Z9 >= 0 && Zn9(Z9, e7) ? (c7 += 6, R10 |= 1024, D7 = String.fromCharCode(Z9) + ht10(), E7 = $e11()) : (Y7(A7.Invalid_character), c7++, E7 = 0); + case 35: + if (c7 !== 0 && k8[c7 + 1] === "!") return Y7(A7.can_only_be_used_at_the_start_of_a_file, c7, 2), c7++, E7 = 0; + let xe10 = ae9(c7 + 1); + if (xe10 === 92) { + c7++; + let me12 = Mt12(); + if (me12 >= 0 && Zn9(me12, e7)) return D7 = "#" + Bn7(true) + ht10(), E7 = 81; + let Ve9 = Pn8(); + if (Ve9 >= 0 && Zn9(Ve9, e7)) return c7 += 6, R10 |= 1024, D7 = "#" + String.fromCharCode(Ve9) + ht10(), E7 = 81; + c7--; + } + return Zn9(xe10, e7) ? (c7++, Lt10(xe10, e7)) : (D7 = "#", Y7(A7.Invalid_character, c7++, Vt10(U9))), E7 = 81; + case 65533: + return Y7(A7.File_appears_to_be_binary, 0, 0), c7 = W10, E7 = 8; + default: + let Se11 = Lt10(U9, e7); + if (Se11) return E7 = Se11; + if (n_(U9)) { + c7 += Vt10(U9); + continue; + } else if (kn8(U9)) { + R10 |= 1, c7 += Vt10(U9); + continue; + } + let we9 = Vt10(U9); + return Y7(A7.Invalid_character, c7, we9), c7 += we9, E7 = 0; + } + } + } + function at11() { + switch (de11) { + case 0: + return true; + case 1: + return false; + } + return he11 !== 3 && he11 !== 4 ? true : de11 === 3 ? false : Zy.test(k8.slice(y10, c7)); + } + function Bt10() { + q10.assert(E7 === 0, "'reScanInvalidIdentifier' should only be called when the current token is 'SyntaxKind.Unknown'."), c7 = G11 = y10, R10 = 0; + let U9 = ae9(c7), K11 = Lt10(U9, 99); + return K11 ? E7 = K11 : (c7 += Vt10(U9), E7); + } + function Lt10(U9, K11) { + let Z9 = U9; + if (Zn9(Z9, K11)) { + for (c7 += Vt10(Z9); c7 < W10 && Ar6(Z9 = ae9(c7), K11); ) c7 += Vt10(Z9); + return D7 = k8.substring(G11, c7), Z9 === 92 && (D7 += ht10()), $e11(); + } + } + function ct9() { + if (E7 === 32) { + if (V11(c7) === 62) return V11(c7 + 1) === 62 ? V11(c7 + 2) === 61 ? (c7 += 3, E7 = 73) : (c7 += 2, E7 = 50) : V11(c7 + 1) === 61 ? (c7 += 2, E7 = 72) : (c7++, E7 = 49); + if (V11(c7) === 61) return c7++, E7 = 34; + } + return E7; + } + function ar9() { + return q10.assert(E7 === 67, "'reScanAsteriskEqualsToken' should only be called on a '*='"), c7 = G11 + 1, E7 = 64; + } + function dt8(U9) { + if (E7 === 44 || E7 === 69) { + let K11 = G11 + 1; + c7 = K11; + let Z9 = false, xe10 = false, Se11 = false; + for (; ; ) { + let me12 = oe10(c7); + if (me12 === -1 || kn8(me12)) { + R10 |= 4; + break; + } + if (Z9) Z9 = false; + else { + if (me12 === 47 && !Se11) break; + me12 === 91 ? Se11 = true : me12 === 92 ? Z9 = true : me12 === 93 ? Se11 = false : !Se11 && me12 === 40 && oe10(c7 + 1) === 63 && oe10(c7 + 2) === 60 && oe10(c7 + 3) !== 61 && oe10(c7 + 3) !== 33 && (xe10 = true); + } + c7++; + } + let we9 = c7; + if (R10 & 4) { + c7 = K11, Z9 = false; + let me12 = 0, Ve9 = false, Ze11 = 0; + for (; c7 < we9; ) { + let Ye10 = V11(c7); + if (Z9) Z9 = false; + else if (Ye10 === 92) Z9 = true; + else if (Ye10 === 91) me12++; + else if (Ye10 === 93 && me12) me12--; + else if (!me12) { + if (Ye10 === 123) Ve9 = true; + else if (Ye10 === 125 && Ve9) Ve9 = false; + else if (!Ve9) { + if (Ye10 === 40) Ze11++; + else if (Ye10 === 41 && Ze11) Ze11--; + else if (Ye10 === 41 || Ye10 === 93 || Ye10 === 125) break; + } + } + c7++; + } + for (; qa4(oe10(c7 - 1)) || oe10(c7 - 1) === 59; ) c7--; + Y7(A7.Unterminated_regular_expression_literal, G11, c7 - G11); + } else { + c7++; + let me12 = 0; + for (; ; ) { + let Ve9 = Oe11(c7); + if (Ve9 === -1 || !Ar6(Ve9, e7)) break; + let Ze11 = Vt10(Ve9); + if (U9) { + let Ye10 = wd(Ve9); + Ye10 === void 0 ? Y7(A7.Unknown_regular_expression_flag, c7, Ze11) : me12 & Ye10 ? Y7(A7.Duplicate_regular_expression_flag, c7, Ze11) : ((me12 | Ye10) & 96) === 96 ? Y7(A7.The_Unicode_u_flag_and_the_Unicode_Sets_v_flag_cannot_be_set_simultaneously, c7, Ze11) : (me12 |= Ye10, yt10(Ye10, Ze11)); + } + c7 += Ze11; + } + U9 && fe10(K11, we9 - K11, () => { + yn9(me12, true, xe10); + }); + } + D7 = k8.substring(G11, c7), E7 = 14; + } + return E7; + } + function yn9(U9, K11, Z9) { + var xe10 = !!(U9 & 64), Se11 = !!(U9 & 96), we9 = Se11 || !K11, me12 = false, Ve9 = 0, Ze11, Ye10, Ee9, gn8 = [], rt12; + function on8(H11) { + for (; ; ) { + if (gn8.push(rt12), rt12 = void 0, Zr8(H11), rt12 = gn8.pop(), oe10(c7) !== 124) return; + c7++; + } + } + function Zr8(H11) { + let le9 = false; + for (; ; ) { + let qe11 = c7, ve11 = oe10(c7); + switch (ve11) { + case -1: + return; + case 94: + case 36: + c7++, le9 = false; + break; + case 92: + switch (c7++, oe10(c7)) { + case 98: + case 66: + c7++, le9 = false; + break; + default: + Ue10(), le9 = true; + break; + } + break; + case 40: + if (c7++, oe10(c7) === 63) switch (c7++, oe10(c7)) { + case 61: + case 33: + c7++, le9 = !we9; + break; + case 60: + let xt10 = c7; + switch (c7++, oe10(c7)) { + case 61: + case 33: + c7++, le9 = false; + break; + default: + Me12(false), cn9(62), e7 < 5 && Y7(A7.Named_capturing_groups_are_only_available_when_targeting_ES2018_or_later, xt10, c7 - xt10), Ve9++, le9 = true; + break; + } + break; + default: + let Jt10 = c7, ln9 = M10(0); + oe10(c7) === 45 && (c7++, M10(ln9), c7 === Jt10 + 1 && Y7(A7.Subpattern_flags_must_be_present_when_there_is_a_minus_sign, Jt10, c7 - Jt10)), cn9(58), le9 = true; + break; + } + else Ve9++, le9 = true; + on8(true), cn9(41); + break; + case 123: + c7++; + let J12 = c7; + rr8(); + let mt10 = D7; + if (!we9 && !mt10) { + le9 = true; + break; + } + if (oe10(c7) === 44) { + c7++, rr8(); + let xt10 = D7; + if (mt10) xt10 && Number.parseInt(mt10) > Number.parseInt(xt10) && (we9 || oe10(c7) === 125) && Y7(A7.Numbers_out_of_order_in_quantifier, J12, c7 - J12); + else if (xt10 || oe10(c7) === 125) Y7(A7.Incomplete_quantifier_Digit_expected, J12, 0); + else { + Y7(A7.Unexpected_0_Did_you_mean_to_escape_it_with_backslash, qe11, 1, String.fromCharCode(ve11)), le9 = true; + break; + } + } else if (!mt10) { + we9 && Y7(A7.Unexpected_0_Did_you_mean_to_escape_it_with_backslash, qe11, 1, String.fromCharCode(ve11)), le9 = true; + break; + } + if (oe10(c7) !== 125) if (we9) Y7(A7._0_expected, c7, 0, "}"), c7--; + else { + le9 = true; + break; + } + case 42: + case 43: + case 63: + c7++, oe10(c7) === 63 && c7++, le9 || Y7(A7.There_is_nothing_available_for_repetition, qe11, c7 - qe11), le9 = false; + break; + case 46: + c7++, le9 = true; + break; + case 91: + c7++, xe10 ? nn10() : Be10(), cn9(93), le9 = true; + break; + case 41: + if (H11) return; + case 93: + case 125: + (we9 || ve11 === 41) && Y7(A7.Unexpected_0_Did_you_mean_to_escape_it_with_backslash, c7, 1, String.fromCharCode(ve11)), c7++, le9 = true; + break; + case 47: + case 124: + return; + default: + ki10(), le9 = true; + break; + } + } + } + function M10(H11) { + for (; ; ) { + let le9 = Oe11(c7); + if (le9 === -1 || !Ar6(le9, e7)) break; + let qe11 = Vt10(le9), ve11 = wd(le9); + ve11 === void 0 ? Y7(A7.Unknown_regular_expression_flag, c7, qe11) : H11 & ve11 ? Y7(A7.Duplicate_regular_expression_flag, c7, qe11) : ve11 & 28 ? (H11 |= ve11, yt10(ve11, qe11)) : Y7(A7.This_regular_expression_flag_cannot_be_toggled_within_a_subpattern, c7, qe11), c7 += qe11; + } + return H11; + } + function Ue10() { + switch (q10.assertEqual(V11(c7 - 1), 92), oe10(c7)) { + case 107: + c7++, oe10(c7) === 60 ? (c7++, Me12(true), cn9(62)) : (we9 || Z9) && Y7(A7.k_must_be_followed_by_a_capturing_group_name_enclosed_in_angle_brackets, c7 - 2, 2); + break; + case 113: + if (xe10) { + c7++, Y7(A7.q_is_only_available_inside_character_class, c7 - 2, 2); + break; + } + default: + q10.assert(Ft11() || u() || Ie11(true)); + break; + } + } + function u() { + q10.assertEqual(V11(c7 - 1), 92); + let H11 = oe10(c7); + if (H11 >= 49 && H11 <= 57) { + let le9 = c7; + return rr8(), Ee9 = wn7(Ee9, { pos: le9, end: c7, value: +D7 }), true; + } + return false; + } + function Ie11(H11) { + q10.assertEqual(V11(c7 - 1), 92); + let le9 = oe10(c7); + switch (le9) { + case -1: + return Y7(A7.Undetermined_character_escape, c7 - 1, 1), "\\"; + case 99: + if (c7++, le9 = oe10(c7), nf2(le9)) return c7++, String.fromCharCode(le9 & 31); + if (we9) Y7(A7.c_must_be_followed_by_an_ASCII_letter, c7 - 2, 2); + else if (H11) return c7--, "\\"; + return String.fromCharCode(le9); + case 94: + case 36: + case 47: + case 92: + case 46: + case 42: + case 43: + case 63: + case 40: + case 41: + case 91: + case 93: + case 123: + case 125: + case 124: + return c7++, String.fromCharCode(le9); + default: + return c7--, Ot12(4 | (K11 ? 8 : 0) | (Se11 ? 16 : 0) | (H11 ? 32 : 0)); + } + } + function Me12(H11) { + q10.assertEqual(V11(c7 - 1), 60), G11 = c7, Lt10(Oe11(c7), e7), c7 === G11 ? Y7(A7.Expected_a_capturing_group_name) : H11 ? Ye10 = wn7(Ye10, { pos: G11, end: c7, name: D7 }) : rt12?.has(D7) || gn8.some((le9) => le9?.has(D7)) ? Y7(A7.Named_capturing_groups_with_the_same_name_must_be_mutually_exclusive_to_each_other, G11, c7 - G11) : (rt12 ?? (rt12 = /* @__PURE__ */ new Set()), rt12.add(D7), Ze11 ?? (Ze11 = /* @__PURE__ */ new Set()), Ze11.add(D7)); + } + function B7(H11) { + return H11 === 93 || H11 === -1 || c7 >= W10; + } + function Be10() { + for (q10.assertEqual(V11(c7 - 1), 91), oe10(c7) === 94 && c7++; ; ) { + let H11 = oe10(c7); + if (B7(H11)) return; + let le9 = c7, qe11 = Pt12(); + if (oe10(c7) === 45) { + c7++; + let ve11 = oe10(c7); + if (B7(ve11)) return; + !qe11 && we9 && Y7(A7.A_character_class_range_must_not_be_bounded_by_another_character_class, le9, c7 - 1 - le9); + let J12 = c7, mt10 = Pt12(); + if (!mt10 && we9) { + Y7(A7.A_character_class_range_must_not_be_bounded_by_another_character_class, J12, c7 - J12); + continue; + } + if (!qe11) continue; + let xt10 = Qi8(qe11, 0), Jt10 = Qi8(mt10, 0); + qe11.length === Vt10(xt10) && mt10.length === Vt10(Jt10) && xt10 > Jt10 && Y7(A7.Range_out_of_order_in_character_class, le9, c7 - le9); + } + } + } + function nn10() { + q10.assertEqual(V11(c7 - 1), 91); + let H11 = false; + oe10(c7) === 94 && (c7++, H11 = true); + let le9 = false, qe11 = oe10(c7); + if (B7(qe11)) return; + let ve11 = c7, J12; + switch (k8.slice(c7, c7 + 2)) { + case "--": + case "&&": + Y7(A7.Expected_a_class_set_operand), me12 = false; + break; + default: + J12 = Xe11(); + break; + } + switch (oe10(c7)) { + case 45: + if (oe10(c7 + 1) === 45) { + H11 && me12 && Y7(A7.Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_character_class, ve11, c7 - ve11), le9 = me12, ze11(3), me12 = !H11 && le9; + return; + } + break; + case 38: + if (oe10(c7 + 1) === 38) { + ze11(2), H11 && me12 && Y7(A7.Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_character_class, ve11, c7 - ve11), le9 = me12, me12 = !H11 && le9; + return; + } else Y7(A7.Unexpected_0_Did_you_mean_to_escape_it_with_backslash, c7, 1, String.fromCharCode(qe11)); + break; + default: + H11 && me12 && Y7(A7.Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_character_class, ve11, c7 - ve11), le9 = me12; + break; + } + for (; qe11 = oe10(c7), qe11 !== -1; ) { + switch (qe11) { + case 45: + if (c7++, qe11 = oe10(c7), B7(qe11)) { + me12 = !H11 && le9; + return; + } + if (qe11 === 45) { + c7++, Y7(A7.Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead, c7 - 2, 2), ve11 = c7 - 2, J12 = k8.slice(ve11, c7); + continue; + } else { + J12 || Y7(A7.A_character_class_range_must_not_be_bounded_by_another_character_class, ve11, c7 - 1 - ve11); + let mt10 = c7, xt10 = Xe11(); + if (H11 && me12 && Y7(A7.Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_character_class, mt10, c7 - mt10), le9 || (le9 = me12), !xt10) { + Y7(A7.A_character_class_range_must_not_be_bounded_by_another_character_class, mt10, c7 - mt10); + break; + } + if (!J12) break; + let Jt10 = Qi8(J12, 0), ln9 = Qi8(xt10, 0); + J12.length === Vt10(Jt10) && xt10.length === Vt10(ln9) && Jt10 > ln9 && Y7(A7.Range_out_of_order_in_character_class, ve11, c7 - ve11); + } + break; + case 38: + ve11 = c7, c7++, oe10(c7) === 38 ? (c7++, Y7(A7.Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead, c7 - 2, 2), oe10(c7) === 38 && (Y7(A7.Unexpected_0_Did_you_mean_to_escape_it_with_backslash, c7, 1, String.fromCharCode(qe11)), c7++)) : Y7(A7.Unexpected_0_Did_you_mean_to_escape_it_with_backslash, c7 - 1, 1, String.fromCharCode(qe11)), J12 = k8.slice(ve11, c7); + continue; + } + if (B7(oe10(c7))) break; + switch (ve11 = c7, k8.slice(c7, c7 + 2)) { + case "--": + case "&&": + Y7(A7.Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead, c7, 2), c7 += 2, J12 = k8.slice(ve11, c7); + break; + default: + J12 = Xe11(); + break; + } + } + me12 = !H11 && le9; + } + function ze11(H11) { + let le9 = me12; + for (; ; ) { + let qe11 = oe10(c7); + if (B7(qe11)) break; + switch (qe11) { + case 45: + c7++, oe10(c7) === 45 ? (c7++, H11 !== 3 && Y7(A7.Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead, c7 - 2, 2)) : Y7(A7.Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead, c7 - 1, 1); + break; + case 38: + c7++, oe10(c7) === 38 ? (c7++, H11 !== 2 && Y7(A7.Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead, c7 - 2, 2), oe10(c7) === 38 && (Y7(A7.Unexpected_0_Did_you_mean_to_escape_it_with_backslash, c7, 1, String.fromCharCode(qe11)), c7++)) : Y7(A7.Unexpected_0_Did_you_mean_to_escape_it_with_backslash, c7 - 1, 1, String.fromCharCode(qe11)); + break; + default: + switch (H11) { + case 3: + Y7(A7._0_expected, c7, 0, "--"); + break; + case 2: + Y7(A7._0_expected, c7, 0, "&&"); + break; + default: + break; + } + break; + } + if (qe11 = oe10(c7), B7(qe11)) { + Y7(A7.Expected_a_class_set_operand); + break; + } + Xe11(), le9 && (le9 = me12); + } + me12 = le9; + } + function Xe11() { + switch (me12 = false, oe10(c7)) { + case -1: + return ""; + case 91: + return c7++, nn10(), cn9(93), ""; + case 92: + if (c7++, Ft11()) return ""; + if (oe10(c7) === 113) return c7++, oe10(c7) === 123 ? (c7++, Dt10(), cn9(125), "") : (Y7(A7.q_must_be_followed_by_string_alternatives_enclosed_in_braces, c7 - 2, 2), "q"); + c7--; + default: + return wt11(); + } + } + function Dt10() { + q10.assertEqual(V11(c7 - 1), 123); + let H11 = 0; + for (; ; ) switch (oe10(c7)) { + case -1: + return; + case 125: + H11 !== 1 && (me12 = true); + return; + case 124: + H11 !== 1 && (me12 = true), c7++, h5 = c7, H11 = 0; + break; + default: + wt11(), H11++; + break; + } + } + function wt11() { + let H11 = oe10(c7); + if (H11 === -1) return ""; + if (H11 === 92) { + c7++; + let le9 = oe10(c7); + switch (le9) { + case 98: + return c7++, "\b"; + case 38: + case 45: + case 33: + case 35: + case 37: + case 44: + case 58: + case 59: + case 60: + case 61: + case 62: + case 64: + case 96: + case 126: + return c7++, String.fromCharCode(le9); + default: + return Ie11(false); + } + } else if (H11 === oe10(c7 + 1)) switch (H11) { + case 38: + case 33: + case 35: + case 37: + case 42: + case 43: + case 44: + case 46: + case 58: + case 59: + case 60: + case 61: + case 62: + case 63: + case 64: + case 96: + case 126: + return Y7(A7.A_character_class_must_not_contain_a_reserved_double_punctuator_Did_you_mean_to_escape_it_with_backslash, c7, 2), c7 += 2, k8.substring(c7 - 2, c7); + } + switch (H11) { + case 47: + case 40: + case 41: + case 91: + case 93: + case 123: + case 125: + case 45: + case 124: + return Y7(A7.Unexpected_0_Did_you_mean_to_escape_it_with_backslash, c7, 1, String.fromCharCode(H11)), c7++, String.fromCharCode(H11); + } + return ki10(); + } + function Pt12() { + if (oe10(c7) === 92) { + c7++; + let H11 = oe10(c7); + switch (H11) { + case 98: + return c7++, "\b"; + case 45: + return c7++, String.fromCharCode(H11); + default: + return Ft11() ? "" : Ie11(false); + } + } else return ki10(); + } + function Ft11() { + q10.assertEqual(V11(c7 - 1), 92); + let H11 = false, le9 = c7 - 1, qe11 = oe10(c7); + switch (qe11) { + case 100: + case 68: + case 115: + case 83: + case 119: + case 87: + return c7++, true; + case 80: + H11 = true; + case 112: + if (c7++, oe10(c7) === 123) { + c7++; + let ve11 = c7, J12 = Gn8(); + if (oe10(c7) === 61) { + let mt10 = Ed.get(J12); + if (c7 === ve11) Y7(A7.Expected_a_Unicode_property_name); + else if (mt10 === void 0) { + Y7(A7.Unknown_Unicode_property_name, ve11, c7 - ve11); + let ln9 = t_(J12, Ed.keys(), bt12); + ln9 && Y7(A7.Did_you_mean_0, ve11, c7 - ve11, ln9); + } + c7++; + let xt10 = c7, Jt10 = Gn8(); + if (c7 === xt10) Y7(A7.Expected_a_Unicode_property_value); + else if (mt10 !== void 0 && !Ra4[mt10].has(Jt10)) { + Y7(A7.Unknown_Unicode_property_value, xt10, c7 - xt10); + let ln9 = t_(Jt10, Ra4[mt10], bt12); + ln9 && Y7(A7.Did_you_mean_0, xt10, c7 - xt10, ln9); + } + } else if (c7 === ve11) Y7(A7.Expected_a_Unicode_property_name_or_value); + else if (Cd.has(J12)) xe10 ? H11 ? Y7(A7.Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_character_class, ve11, c7 - ve11) : me12 = true : Y7(A7.Any_Unicode_property_that_would_possibly_match_more_than_a_single_character_is_only_available_when_the_Unicode_Sets_v_flag_is_set, ve11, c7 - ve11); + else if (!Ra4.General_Category.has(J12) && !Ad.has(J12)) { + Y7(A7.Unknown_Unicode_property_name_or_value, ve11, c7 - ve11); + let mt10 = t_(J12, [...Ra4.General_Category, ...Ad, ...Cd], bt12); + mt10 && Y7(A7.Did_you_mean_0, ve11, c7 - ve11, mt10); + } + cn9(125), Se11 || Y7(A7.Unicode_property_value_expressions_are_only_available_when_the_Unicode_u_flag_or_the_Unicode_Sets_v_flag_is_set, le9, c7 - le9); + } else if (we9) Y7(A7._0_must_be_followed_by_a_Unicode_property_value_expression_enclosed_in_braces, c7 - 2, 2, String.fromCharCode(qe11)); + else return c7--, false; + return true; + } + return false; + } + function Gn8() { + let H11 = ""; + for (; ; ) { + let le9 = oe10(c7); + if (le9 === -1 || !qm2(le9)) break; + H11 += String.fromCharCode(le9), c7++; + } + return H11; + } + function ki10() { + let H11 = Se11 ? Vt10(Oe11(c7)) : 1; + return c7 += H11, H11 > 0 ? k8.substring(c7 - H11, c7) : ""; + } + function cn9(H11) { + oe10(c7) === H11 ? c7++ : Y7(A7._0_expected, c7, 0, String.fromCharCode(H11)); + } + on8(false), jn7(Ye10, (H11) => { + if (!Ze11?.has(H11.name) && (Y7(A7.There_is_no_capturing_group_named_0_in_this_regular_expression, H11.pos, H11.end - H11.pos, H11.name), Ze11)) { + let le9 = t_(H11.name, Ze11, bt12); + le9 && Y7(A7.Did_you_mean_0, H11.pos, H11.end - H11.pos, le9); + } + }), jn7(Ee9, (H11) => { + H11.value > Ve9 && (Ve9 ? Y7(A7.This_backreference_refers_to_a_group_that_does_not_exist_There_are_only_0_capturing_groups_in_this_regular_expression, H11.pos, H11.end - H11.pos, Ve9) : Y7(A7.This_backreference_refers_to_a_group_that_does_not_exist_There_are_no_capturing_groups_in_this_regular_expression, H11.pos, H11.end - H11.pos)); + }); + } + function yt10(U9, K11) { + let Z9 = Gy2.get(U9); + Z9 && e7 < Z9 && Y7(A7.This_regular_expression_flag_is_only_available_when_targeting_0_or_later, c7, K11, ub(Z9)); + } + function _n7(U9, K11, Z9, xe10) { + let Se11 = tt11(K11.trimStart(), Z9); + return Se11 === void 0 ? U9 : wn7(U9, { range: { pos: xe10, end: c7 }, type: Se11 }); + } + function tt11(U9, K11) { + let Z9 = K11.exec(U9); + if (Z9) switch (Z9[1]) { + case "ts-expect-error": + return 0; + case "ts-ignore": + return 1; + } + } + function qt11(U9) { + return c7 = G11, E7 = Ir6(!U9); + } + function tn8() { + return c7 = G11, E7 = Ir6(true); + } + function sr10(U9 = true) { + return c7 = G11 = y10, E7 = zn9(U9); + } + function mr7() { + return E7 === 48 ? (c7 = G11 + 1, E7 = 30) : E7; + } + function hr8() { + return E7 === 81 ? (c7 = G11 + 1, E7 = 63) : E7; + } + function Fn6() { + return q10.assert(E7 === 61, "'reScanQuestionToken' should only be called on a '??'"), c7 = G11 + 1, E7 = 58; + } + function zn9(U9 = true) { + if (y10 = G11 = c7, c7 >= W10) return E7 = 1; + let K11 = V11(c7); + if (K11 === 60) return V11(c7 + 1) === 47 ? (c7 += 2, E7 = 31) : (c7++, E7 = 30); + if (K11 === 123) return c7++, E7 = 19; + let Z9 = 0; + for (; c7 < W10 && (K11 = V11(c7), K11 !== 123); ) { + if (K11 === 60) { + if ($i8(k8, c7)) return c7 = Ma3(k8, c7, Y7), E7 = 7; + break; + } + if (K11 === 62 && Y7(A7.Unexpected_token_Did_you_mean_or_gt, c7, 1), K11 === 125 && Y7(A7.Unexpected_token_Did_you_mean_or_rbrace, c7, 1), kn8(K11) && Z9 === 0) Z9 = -1; + else { + if (!U9 && kn8(K11) && Z9 > 0) break; + qa4(K11) || (Z9 = c7); + } + c7++; + } + return D7 = k8.substring(y10, c7), Z9 === -1 ? 13 : 12; + } + function Or7() { + if (St11(E7)) { + for (; c7 < W10; ) { + if (V11(c7) === 45) { + D7 += "-", c7++; + continue; + } + let K11 = c7; + if (D7 += ht10(), c7 === K11) break; + } + return $e11(); + } + return E7; + } + function Vn7() { + switch (y10 = c7, V11(c7)) { + case 34: + case 39: + return D7 = ir10(true), E7 = 11; + default: + return ot8(); + } + } + function Ce10() { + return c7 = G11 = y10, Vn7(); + } + function yr7(U9) { + if (y10 = G11 = c7, R10 = 0, c7 >= W10) return E7 = 1; + for (let K11 = V11(c7); c7 < W10 && !kn8(K11) && K11 !== 96; K11 = ae9(++c7)) if (!U9) { + if (K11 === 123) break; + if (K11 === 64 && c7 - 1 >= 0 && n_(V11(c7 - 1)) && !(c7 + 1 < W10 && qa4(V11(c7 + 1)))) break; + } + return c7 === G11 ? L9() : (D7 = k8.substring(G11, c7), E7 = 82); + } + function L9() { + if (y10 = G11 = c7, R10 = 0, c7 >= W10) return E7 = 1; + let U9 = ae9(c7); + switch (c7 += Vt10(U9), U9) { + case 9: + case 11: + case 12: + case 32: + for (; c7 < W10 && n_(V11(c7)); ) c7++; + return E7 = 5; + case 64: + return E7 = 60; + case 13: + V11(c7) === 10 && c7++; + case 10: + return R10 |= 1, E7 = 4; + case 42: + return E7 = 42; + case 123: + return E7 = 19; + case 125: + return E7 = 20; + case 91: + return E7 = 23; + case 93: + return E7 = 24; + case 40: + return E7 = 21; + case 41: + return E7 = 22; + case 60: + return E7 = 30; + case 62: + return E7 = 32; + case 61: + return E7 = 64; + case 44: + return E7 = 28; + case 46: + return E7 = 25; + case 96: + return E7 = 62; + case 35: + return E7 = 63; + case 92: + c7--; + let K11 = Mt12(); + if (K11 >= 0 && Zn9(K11, e7)) return D7 = Bn7(true) + ht10(), E7 = $e11(); + let Z9 = Pn8(); + return Z9 >= 0 && Zn9(Z9, e7) ? (c7 += 6, R10 |= 1024, D7 = String.fromCharCode(Z9) + ht10(), E7 = $e11()) : (c7++, E7 = 0); + } + if (Zn9(U9, e7)) { + let K11 = U9; + for (; c7 < W10 && Ar6(K11 = ae9(c7), e7) || K11 === 45; ) c7 += Vt10(K11); + return D7 = k8.substring(G11, c7), K11 === 92 && (D7 += ht10()), E7 = $e11(); + } else return E7 = 0; + } + function se11(U9, K11) { + let Z9 = c7, xe10 = y10, Se11 = G11, we9 = E7, me12 = D7, Ve9 = R10, Ze11 = U9(); + return (!Ze11 || K11) && (c7 = Z9, y10 = xe10, G11 = Se11, E7 = we9, D7 = me12, R10 = Ve9), Ze11; + } + function fe10(U9, K11, Z9) { + let xe10 = W10, Se11 = c7, we9 = y10, me12 = G11, Ve9 = E7, Ze11 = D7, Ye10 = R10, Ee9 = ue11; + Ct12(k8, U9, K11); + let gn8 = Z9(); + return W10 = xe10, c7 = Se11, y10 = we9, G11 = me12, E7 = Ve9, D7 = Ze11, R10 = Ye10, ue11 = Ee9, gn8; + } + function Te10(U9) { + return se11(U9, true); + } + function He10(U9) { + return se11(U9, false); + } + function Qe11() { + return k8; + } + function st8() { + ue11 = void 0; + } + function Ct12(U9, K11, Z9) { + k8 = U9 || "", W10 = Z9 === void 0 ? k8.length : K11 + Z9, Wn8(K11 || 0); + } + function Tt12(U9) { + f7 = U9; + } + function lt8(U9) { + e7 = U9; + } + function Mr8(U9) { + a5 = U9; + } + function gr7(U9) { + he11 = U9; + } + function Nn6(U9) { + de11 = U9; + } + function Wn8(U9) { + q10.assert(U9 >= 0), c7 = U9, y10 = U9, G11 = U9, E7 = 0, D7 = void 0, R10 = 0; + } + function wi10(U9) { + be10 += U9 ? 1 : -1; + } +} +function Qi8(e7, t26) { + return e7.codePointAt(t26); +} +function Vt10(e7) { + return e7 >= 65536 ? 2 : e7 === -1 ? 0 : 1; +} +function lg(e7) { + if (q10.assert(0 <= e7 && e7 <= 1114111), e7 <= 65535) return String.fromCharCode(e7); + let t26 = Math.floor((e7 - 65536) / 1024) + 55296, a5 = (e7 - 65536) % 1024 + 56320; + return String.fromCharCode(t26, a5); +} +function kd(e7) { + return ug(e7); +} +function kr5(e7) { + return e7.start + e7.length; +} +function pg(e7) { + return e7.length === 0; +} +function _f3(e7, t26) { + if (e7 < 0) throw new Error("start < 0"); + if (t26 < 0) throw new Error("length < 0"); + return { start: e7, length: t26 }; +} +function fg(e7, t26) { + return _f3(e7, t26 - e7); +} +function Qs8(e7) { + return _f3(e7.span.start, e7.newLength); +} +function dg(e7) { + return pg(e7.span) && e7.newLength === 0; +} +function Ym2(e7, t26) { + if (t26 < 0) throw new Error("newLength < 0"); + return { span: e7, newLength: t26 }; +} +function of2(e7, t26) { + for (; e7; ) { + let a5 = t26(e7); + if (a5 === "quit") return; + if (a5) return e7; + e7 = e7.parent; + } +} +function gl5(e7) { + return (e7.flags & 16) === 0; +} +function mg(e7, t26) { + if (e7 === void 0 || gl5(e7)) return e7; + for (e7 = e7.original; e7; ) { + if (gl5(e7)) return !t26 || t26(e7) ? e7 : void 0; + e7 = e7.original; + } +} +function La3(e7) { + return e7.length >= 2 && e7.charCodeAt(0) === 95 && e7.charCodeAt(1) === 95 ? "_" + e7 : e7; +} +function l_(e7) { + let t26 = e7; + return t26.length >= 3 && t26.charCodeAt(0) === 95 && t26.charCodeAt(1) === 95 && t26.charCodeAt(2) === 95 ? t26.substr(1) : t26; +} +function An7(e7) { + return l_(e7.escapedText); +} +function cf2(e7) { + let t26 = Rm2(e7.escapedText); + return t26 ? Sy(t26, di10) : void 0; +} +function Jp2(e7) { + return e7.valueDeclaration && jg(e7.valueDeclaration) ? An7(e7.valueDeclaration.name) : l_(e7.escapedName); +} +function Hm2(e7) { + let t26 = e7.parent.parent; + if (t26) { + if (Nd(t26)) return rl4(t26); + switch (t26.kind) { + case 244: + if (t26.declarationList && t26.declarationList.declarations[0]) return rl4(t26.declarationList.declarations[0]); + break; + case 245: + let a5 = t26.expression; + switch (a5.kind === 227 && a5.operatorToken.kind === 64 && (a5 = a5.left), a5.kind) { + case 212: + return a5.name; + case 213: + let _9 = a5.argumentExpression; + if (Ke11(_9)) return _9; + } + break; + case 218: + return rl4(t26.expression); + case 257: { + if (Nd(t26.statement) || _1(t26.statement)) return rl4(t26.statement); + break; + } + } + } +} +function rl4(e7) { + let t26 = Xm2(e7); + return t26 && Ke11(t26) ? t26 : void 0; +} +function hg(e7) { + return e7.name || Hm2(e7); +} +function yg(e7) { + return !!e7.name; +} +function lf2(e7) { + switch (e7.kind) { + case 80: + return e7; + case 349: + case 342: { + let { name: a5 } = e7; + if (a5.kind === 167) return a5.right; + break; + } + case 214: + case 227: { + let a5 = e7; + switch (yf2(a5)) { + case 1: + case 4: + case 5: + case 3: + return gf2(a5.left); + case 7: + case 8: + case 9: + return a5.arguments[1]; + default: + return; + } + } + case 347: + return hg(e7); + case 341: + return Hm2(e7); + case 278: { + let { expression: a5 } = e7; + return Ke11(a5) ? a5 : void 0; + } + case 213: + let t26 = e7; + if (d1(t26)) return t26.argumentExpression; + } + return e7.name; +} +function Xm2(e7) { + if (e7 !== void 0) return lf2(e7) || (Mf3(e7) || Lf2(e7) || xl5(e7) ? gg(e7) : void 0); +} +function gg(e7) { + if (e7.parent) { + if (K1(e7.parent) || B1(e7.parent)) return e7.parent.name; + if (na4(e7.parent) && e7 === e7.parent.right) { + if (Ke11(e7.parent.left)) return e7.parent.left; + if (v1(e7.parent.left)) return gf2(e7.parent.left); + } else if (Jf(e7.parent) && Ke11(e7.parent.name)) return e7.parent.name; + } else return; +} +function uf2(e7) { + if (F23(e7)) return Hr6(e7.modifiers, Cl5); +} +function $m2(e7) { + if (v_(e7, 98303)) return Hr6(e7.modifiers, Bg); +} +function Qm2(e7, t26) { + if (e7.name) if (Ke11(e7.name)) { + let a5 = e7.name.escapedText; + return u_(e7.parent, t26).filter((_9) => zp2(_9) && Ke11(_9.name) && _9.name.escapedText === a5); + } else { + let a5 = e7.parent.parameters.indexOf(e7); + q10.assert(a5 > -1, "Parameters should always be in their parents' parameter list"); + let _9 = u_(e7.parent, t26).filter(zp2); + if (a5 < _9.length) return [_9[a5]]; + } + return vt11; +} +function bg(e7) { + return Qm2(e7, false); +} +function vg(e7) { + return Qm2(e7, true); +} +function Km2(e7, t26) { + let a5 = e7.name.escapedText; + return u_(e7.parent, t26).filter((_9) => ih(_9) && _9.typeParameters.some((f7) => f7.name.escapedText === a5)); +} +function Tg(e7) { + return Km2(e7, false); +} +function xg(e7) { + return Km2(e7, true); +} +function Sg(e7) { + return bi10(e7, a6); +} +function wg(e7) { + return Ig(e7, d6); +} +function kg(e7) { + return bi10(e7, s6, true); +} +function Eg(e7) { + return bi10(e7, _62, true); +} +function Ag(e7) { + return bi10(e7, o62, true); +} +function Cg(e7) { + return bi10(e7, c6, true); +} +function Dg(e7) { + return bi10(e7, l62, true); +} +function Pg(e7) { + return bi10(e7, p6, true); +} +function Ng(e7) { + let t26 = bi10(e7, zf2); + if (t26 && t26.typeExpression && t26.typeExpression.type) return t26; +} +function u_(e7, t26) { + var a5; + if (!bf2(e7)) return vt11; + let _9 = (a5 = e7.jsDoc) == null ? void 0 : a5.jsDocCache; + if (_9 === void 0 || t26) { + let f7 = E23(e7, t26); + q10.assert(f7.length < 2 || f7[0] !== f7[1]), _9 = Tm2(f7, (h5) => rh(h5) ? h5.tags : h5), t26 || (e7.jsDoc ?? (e7.jsDoc = []), e7.jsDoc.jsDocCache = _9); + } + return _9; +} +function Zm2(e7) { + return u_(e7, false); +} +function bi10(e7, t26, a5) { + return bm2(u_(e7, a5), t26); +} +function Ig(e7, t26) { + return Zm2(e7).filter(t26); +} +function jp2(e7) { + return e7.kind === 80 || e7.kind === 81; +} +function Og(e7) { + return dr8(e7) && !!(e7.flags & 64); +} +function Mg(e7) { + return Ha5(e7) && !!(e7.flags & 64); +} +function Dd(e7) { + return Of2(e7) && !!(e7.flags & 64); +} +function e1(e7) { + let t26 = e7.kind; + return !!(e7.flags & 64) && (t26 === 212 || t26 === 213 || t26 === 214 || t26 === 236); +} +function pf2(e7) { + return Vf2(e7, 8); +} +function Lg(e7) { + return fl5(e7) && !!(e7.flags & 64); +} +function ff2(e7) { + return e7 >= 167; +} +function df2(e7) { + return e7 >= 0 && e7 <= 166; +} +function t1(e7) { + return df2(e7.kind); +} +function mi10(e7) { + return Dr7(e7, "pos") && Dr7(e7, "end"); +} +function Jg(e7) { + return 9 <= e7 && e7 <= 15; +} +function Pd(e7) { + return 15 <= e7 && e7 <= 18; +} +function Ua5(e7) { + var t26; + return Ke11(e7) && ((t26 = e7.emitNode) == null ? void 0 : t26.autoGenerate) !== void 0; +} +function n1(e7) { + var t26; + return gi10(e7) && ((t26 = e7.emitNode) == null ? void 0 : t26.autoGenerate) !== void 0; +} +function jg(e7) { + return (Wa5(e7) || zg(e7)) && gi10(e7.name); +} +function Yr9(e7) { + switch (e7) { + case 128: + case 129: + case 134: + case 87: + case 138: + case 90: + case 95: + case 103: + case 125: + case 123: + case 124: + case 148: + case 126: + case 147: + case 164: + return true; + } + return false; +} +function Rg(e7) { + return !!(g1(e7) & 31); +} +function Ug(e7) { + return Rg(e7) || e7 === 126 || e7 === 164 || e7 === 129; +} +function Bg(e7) { + return Yr9(e7.kind); +} +function r1(e7) { + let t26 = e7.kind; + return t26 === 80 || t26 === 81 || t26 === 11 || t26 === 9 || t26 === 168; +} +function mf2(e7) { + return !!e7 && Fg(e7.kind); +} +function qg(e7) { + switch (e7) { + case 263: + case 175: + case 177: + case 178: + case 179: + case 219: + case 220: + return true; + default: + return false; + } +} +function Fg(e7) { + switch (e7) { + case 174: + case 180: + case 324: + case 181: + case 182: + case 185: + case 318: + case 186: + return true; + default: + return qg(e7); + } +} +function ra4(e7) { + return e7 && (e7.kind === 264 || e7.kind === 232); +} +function zg(e7) { + switch (e7.kind) { + case 175: + case 178: + case 179: + return true; + default: + return false; + } +} +function Vg(e7) { + let t26 = e7.kind; + return t26 === 304 || t26 === 305 || t26 === 306 || t26 === 175 || t26 === 178 || t26 === 179; +} +function i1(e7) { + return Z23(e7.kind); +} +function Wg(e7) { + if (e7) { + let t26 = e7.kind; + return t26 === 208 || t26 === 207; + } + return false; +} +function Gg(e7) { + let t26 = e7.kind; + return t26 === 210 || t26 === 211; +} +function Yg(e7) { + switch (e7.kind) { + case 261: + case 170: + case 209: + return true; + } + return false; +} +function Fa6(e7) { + return a1(pf2(e7).kind); +} +function a1(e7) { + switch (e7) { + case 212: + case 213: + case 215: + case 214: + case 285: + case 286: + case 289: + case 216: + case 210: + case 218: + case 211: + case 232: + case 219: + case 80: + case 81: + case 14: + case 9: + case 10: + case 11: + case 15: + case 229: + case 97: + case 106: + case 110: + case 112: + case 108: + case 236: + case 234: + case 237: + case 102: + case 283: + return true; + default: + return false; + } +} +function Hg(e7) { + return s1(pf2(e7).kind); +} +function s1(e7) { + switch (e7) { + case 225: + case 226: + case 221: + case 222: + case 223: + case 224: + case 217: + return true; + default: + return a1(e7); + } +} +function _1(e7) { + return Xg(pf2(e7).kind); +} +function Xg(e7) { + switch (e7) { + case 228: + case 230: + case 220: + case 227: + case 231: + case 235: + case 233: + case 357: + case 356: + case 239: + return true; + default: + return s1(e7); + } +} +function $g(e7) { + return e7 === 220 || e7 === 209 || e7 === 264 || e7 === 232 || e7 === 176 || e7 === 177 || e7 === 267 || e7 === 307 || e7 === 282 || e7 === 263 || e7 === 219 || e7 === 178 || e7 === 274 || e7 === 272 || e7 === 277 || e7 === 265 || e7 === 292 || e7 === 175 || e7 === 174 || e7 === 268 || e7 === 271 || e7 === 275 || e7 === 281 || e7 === 170 || e7 === 304 || e7 === 173 || e7 === 172 || e7 === 179 || e7 === 305 || e7 === 266 || e7 === 169 || e7 === 261 || e7 === 347 || e7 === 339 || e7 === 349 || e7 === 203; +} +function o1(e7) { + return e7 === 263 || e7 === 283 || e7 === 264 || e7 === 265 || e7 === 266 || e7 === 267 || e7 === 268 || e7 === 273 || e7 === 272 || e7 === 279 || e7 === 278 || e7 === 271; +} +function c1(e7) { + return e7 === 253 || e7 === 252 || e7 === 260 || e7 === 247 || e7 === 245 || e7 === 243 || e7 === 250 || e7 === 251 || e7 === 249 || e7 === 246 || e7 === 257 || e7 === 254 || e7 === 256 || e7 === 258 || e7 === 259 || e7 === 244 || e7 === 248 || e7 === 255 || e7 === 354; +} +function Nd(e7) { + return e7.kind === 169 ? e7.parent && e7.parent.kind !== 346 || ia4(e7) : $g(e7.kind); +} +function Qg(e7) { + let t26 = e7.kind; + return c1(t26) || o1(t26) || Kg(e7); +} +function Kg(e7) { + return e7.kind !== 242 || e7.parent !== void 0 && (e7.parent.kind === 259 || e7.parent.kind === 300) ? false : !f23(e7); +} +function Zg(e7) { + let t26 = e7.kind; + return c1(t26) || o1(t26) || t26 === 242; +} +function l1(e7) { + return e7.kind >= 310 && e7.kind <= 352; +} +function e23(e7) { + return e7.kind === 321 || e7.kind === 320 || e7.kind === 322 || r22(e7) || t25(e7) || i6(e7) || Il4(e7); +} +function t25(e7) { + return e7.kind >= 328 && e7.kind <= 352; +} +function il6(e7) { + return e7.kind === 179; +} +function al5(e7) { + return e7.kind === 178; +} +function Ki8(e7) { + if (!bf2(e7)) return false; + let { jsDoc: t26 } = e7; + return !!t26 && t26.length > 0; +} +function n23(e7) { + return !!e7.initializer; +} +function El5(e7) { + return e7.kind === 11 || e7.kind === 15; +} +function r22(e7) { + return e7.kind === 325 || e7.kind === 326 || e7.kind === 327; +} +function Id(e7) { + return (e7.flags & 33554432) !== 0; +} +function i22() { + var e7 = ""; + let t26 = (a5) => e7 += a5; + return { getText: () => e7, write: t26, rawWrite: t26, writeKeyword: t26, writeOperator: t26, writePunctuation: t26, writeSpace: t26, writeStringLiteral: t26, writeLiteral: t26, writeParameter: t26, writeProperty: t26, writeSymbol: (a5, _9) => t26(a5), writeTrailingSemicolon: t26, writeComment: t26, getTextPos: () => e7.length, getLine: () => 0, getColumn: () => 0, getIndent: () => 0, isAtStartOfLine: () => false, hasTrailingComment: () => false, hasTrailingWhitespace: () => !!e7.length && qa4(e7.charCodeAt(e7.length - 1)), writeLine: () => e7 += " ", increaseIndent: Va4, decreaseIndent: Va4, clear: () => e7 = "" }; +} +function a23(e7, t26) { + let a5 = e7.entries(); + for (let [_9, f7] of a5) { + let h5 = t26(f7, _9); + if (h5) return h5; + } +} +function s22(e7) { + return e7.end - e7.pos; +} +function u1(e7) { + return _23(e7), (e7.flags & 1048576) !== 0; +} +function _23(e7) { + e7.flags & 2097152 || (((e7.flags & 262144) !== 0 || Xt10(e7, u1)) && (e7.flags |= 1048576), e7.flags |= 2097152); +} +function hi10(e7) { + for (; e7 && e7.kind !== 308; ) e7 = e7.parent; + return e7; +} +function Zi7(e7) { + return e7 === void 0 ? true : e7.pos === e7.end && e7.pos >= 0 && e7.kind !== 1; +} +function Rp2(e7) { + return !Zi7(e7); +} +function bl5(e7, t26, a5) { + if (Zi7(e7)) return e7.pos; + if (l1(e7) || e7.kind === 12) return Cr6((t26 ?? hi10(e7)).text, e7.pos, false, true); + if (a5 && Ki8(e7)) return bl5(e7.jsDoc[0], t26); + if (e7.kind === 353) { + t26 ?? (t26 = hi10(e7)); + let _9 = Hp2(ah(e7, t26)); + if (_9) return bl5(_9, t26, a5); + } + return Cr6((t26 ?? hi10(e7)).text, e7.pos, false, false, d23(e7)); +} +function Od(e7, t26, a5 = false) { + return r_(e7.text, t26, a5); +} +function o23(e7) { + return !!of2(e7, eh); +} +function r_(e7, t26, a5 = false) { + if (Zi7(t26)) return ""; + let _9 = e7.substring(a5 ? t26.pos : Cr6(e7, t26.pos), t26.end); + return o23(t26) && (_9 = _9.split(/\r\n|\n|\r/).map((f7) => f7.replace(/^\s*\*/, "").trimStart()).join(` +`)), _9; +} +function za5(e7) { + let t26 = e7.emitNode; + return t26 && t26.flags || 0; +} +function c23(e7, t26, a5) { + q10.assertGreaterThanOrEqual(t26, 0), q10.assertGreaterThanOrEqual(a5, 0), q10.assertLessThanOrEqual(t26, e7.length), q10.assertLessThanOrEqual(t26 + a5, e7.length); +} +function pl5(e7) { + return e7.kind === 245 && e7.expression.kind === 11; +} +function hf2(e7) { + return !!(za5(e7) & 2097152); +} +function Md(e7) { + return hf2(e7) && jf2(e7); +} +function l23(e7) { + return Ke11(e7.name) && !e7.initializer; +} +function Ld(e7) { + return hf2(e7) && Xa5(e7) && Gp2(e7.declarationList.declarations, l23); +} +function u22(e7, t26) { + let a5 = e7.kind === 170 || e7.kind === 169 || e7.kind === 219 || e7.kind === 220 || e7.kind === 218 || e7.kind === 261 || e7.kind === 282 ? Yp2(og(t26, e7.pos), Lp2(t26, e7.pos)) : Lp2(t26, e7.pos); + return Hr6(a5, (_9) => _9.end <= e7.end && t26.charCodeAt(_9.pos + 1) === 42 && t26.charCodeAt(_9.pos + 2) === 42 && t26.charCodeAt(_9.pos + 3) !== 47); +} +function p23(e7) { + if (e7) switch (e7.kind) { + case 209: + case 307: + case 170: + case 304: + case 173: + case 172: + case 305: + case 261: + return true; + } + return false; +} +function f23(e7) { + return e7 && e7.kind === 242 && mf2(e7.parent); +} +function Jd(e7) { + let t26 = e7.kind; + return (t26 === 212 || t26 === 213) && e7.expression.kind === 108; +} +function ia4(e7) { + return !!e7 && !!(e7.flags & 524288); +} +function d23(e7) { + return !!e7 && !!(e7.flags & 16777216); +} +function m23(e7) { + for (; vl5(e7, true); ) e7 = e7.right; + return e7; +} +function h23(e7) { + return Ke11(e7) && e7.escapedText === "exports"; +} +function y23(e7) { + return Ke11(e7) && e7.escapedText === "module"; +} +function p1(e7) { + return (dr8(e7) || f1(e7)) && y23(e7.expression) && f_(e7) === "exports"; +} +function yf2(e7) { + let t26 = b23(e7); + return t26 === 5 || ia4(e7) ? t26 : 0; +} +function g23(e7) { + return e_(e7.arguments) === 3 && dr8(e7.expression) && Ke11(e7.expression.expression) && An7(e7.expression.expression) === "Object" && An7(e7.expression.name) === "defineProperty" && Al5(e7.arguments[1]) && p_(e7.arguments[0], true); +} +function f1(e7) { + return Ha5(e7) && Al5(e7.argumentExpression); +} +function b_(e7, t26) { + return dr8(e7) && (!t26 && e7.expression.kind === 110 || Ke11(e7.name) && p_(e7.expression, true)) || d1(e7, t26); +} +function d1(e7, t26) { + return f1(e7) && (!t26 && e7.expression.kind === 110 || xf3(e7.expression) || b_(e7.expression, true)); +} +function p_(e7, t26) { + return xf3(e7) || b_(e7, t26); +} +function b23(e7) { + if (Of2(e7)) { + if (!g23(e7)) return 0; + let t26 = e7.arguments[0]; + return h23(t26) || p1(t26) ? 8 : b_(t26) && f_(t26) === "prototype" ? 9 : 7; + } + return e7.operatorToken.kind !== 64 || !v1(e7.left) || v23(m23(e7)) ? 0 : p_(e7.left.expression, true) && f_(e7.left) === "prototype" && If3(x23(e7)) ? 6 : T23(e7.left); +} +function v23(e7) { + return Kb(e7) && aa5(e7.expression) && e7.expression.text === "0"; +} +function gf2(e7) { + if (dr8(e7)) return e7.name; + let t26 = vf3(e7.argumentExpression); + return aa5(t26) || El5(t26) ? t26 : e7; +} +function f_(e7) { + let t26 = gf2(e7); + if (t26) { + if (Ke11(t26)) return t26.escapedText; + if (El5(t26) || aa5(t26)) return La3(t26.text); + } +} +function T23(e7) { + if (e7.expression.kind === 110) return 4; + if (p1(e7)) return 2; + if (p_(e7.expression, true)) { + if (Q23(e7.expression)) return 3; + let t26 = e7; + for (; !Ke11(t26.expression); ) t26 = t26.expression; + let a5 = t26.expression; + if ((a5.escapedText === "exports" || a5.escapedText === "module" && f_(t26) === "exports") && b_(e7)) return 1; + if (p_(e7, true) || Ha5(e7) && J23(e7)) return 5; + } + return 0; +} +function x23(e7) { + for (; na4(e7.right); ) e7 = e7.right; + return e7.right; +} +function S23(e7) { + return Pl4(e7) && na4(e7.expression) && yf2(e7.expression) !== 0 && na4(e7.expression.right) && (e7.expression.right.operatorToken.kind === 57 || e7.expression.right.operatorToken.kind === 61) ? e7.expression.right.right : void 0; +} +function w23(e7) { + switch (e7.kind) { + case 244: + let t26 = Up2(e7); + return t26 && t26.initializer; + case 173: + return e7.initializer; + case 304: + return e7.initializer; + } +} +function Up2(e7) { + return Xa5(e7) ? Hp2(e7.declarationList.declarations) : void 0; +} +function k23(e7) { + return Ti10(e7) && e7.body && e7.body.kind === 268 ? e7.body : void 0; +} +function bf2(e7) { + switch (e7.kind) { + case 220: + case 227: + case 242: + case 253: + case 180: + case 297: + case 264: + case 232: + case 176: + case 177: + case 186: + case 181: + case 252: + case 260: + case 247: + case 213: + case 243: + case 1: + case 267: + case 307: + case 278: + case 279: + case 282: + case 245: + case 250: + case 251: + case 249: + case 263: + case 219: + case 185: + case 178: + case 80: + case 246: + case 273: + case 272: + case 182: + case 265: + case 318: + case 324: + case 257: + case 175: + case 174: + case 268: + case 203: + case 271: + case 211: + case 170: + case 218: + case 212: + case 304: + case 173: + case 172: + case 254: + case 241: + case 179: + case 305: + case 306: + case 256: + case 258: + case 259: + case 266: + case 169: + case 261: + case 244: + case 248: + case 255: + return true; + default: + return false; + } +} +function E23(e7, t26) { + let a5; + p23(e7) && n23(e7) && Ki8(e7.initializer) && (a5 = En8(a5, jd(e7, e7.initializer.jsDoc))); + let _9 = e7; + for (; _9 && _9.parent; ) { + if (Ki8(_9) && (a5 = En8(a5, jd(e7, _9.jsDoc))), _9.kind === 170) { + a5 = En8(a5, (t26 ? vg : bg)(_9)); + break; + } + if (_9.kind === 169) { + a5 = En8(a5, (t26 ? xg : Tg)(_9)); + break; + } + _9 = C23(_9); + } + return a5 || vt11; +} +function jd(e7, t26) { + let a5 = dy(t26); + return Tm2(t26, (_9) => { + if (_9 === a5) { + let f7 = Hr6(_9.tags, (h5) => A23(e7, h5)); + return _9.tags === f7 ? [_9] : f7; + } else return Hr6(_9.tags, u6); + }); +} +function A23(e7, t26) { + return !(zf2(t26) || m6(t26)) || !t26.parent || !rh(t26.parent) || !Dl4(t26.parent.parent) || t26.parent.parent === e7; +} +function C23(e7) { + let t26 = e7.parent; + if (t26.kind === 304 || t26.kind === 278 || t26.kind === 173 || t26.kind === 245 && e7.kind === 212 || t26.kind === 254 || k23(t26) || vl5(e7)) return t26; + if (t26.parent && (Up2(t26.parent) === e7 || vl5(t26))) return t26.parent; + if (t26.parent && t26.parent.parent && (Up2(t26.parent.parent) || w23(t26.parent.parent) === e7 || S23(t26.parent.parent))) return t26.parent.parent; +} +function vf3(e7, t26) { + return Vf2(e7, t26 ? -2147483647 : 1); +} +function D23(e7) { + let t26 = P23(e7); + if (t26 && ia4(e7)) { + let a5 = Sg(e7); + if (a5) return a5.class; + } + return t26; +} +function P23(e7) { + let t26 = Tf2(e7.heritageClauses, 96); + return t26 && t26.types.length > 0 ? t26.types[0] : void 0; +} +function N23(e7) { + if (ia4(e7)) return wg(e7).map((t26) => t26.class); + { + let t26 = Tf2(e7.heritageClauses, 119); + return t26?.types; + } +} +function I23(e7) { + return T_(e7) ? O23(e7) || vt11 : ra4(e7) && Yp2(Ip2(D23(e7)), N23(e7)) || vt11; +} +function O23(e7) { + let t26 = Tf2(e7.heritageClauses, 96); + return t26 ? t26.types : void 0; +} +function Tf2(e7, t26) { + if (e7) { + for (let a5 of e7) if (a5.token === t26) return a5; + } +} +function di10(e7) { + return 83 <= e7 && e7 <= 166; +} +function M23(e7) { + return 19 <= e7 && e7 <= 79; +} +function xp2(e7) { + return di10(e7) || M23(e7); +} +function Al5(e7) { + return El5(e7) || aa5(e7); +} +function L23(e7) { + return z1(e7) && (e7.operator === 40 || e7.operator === 41) && aa5(e7.operand); +} +function J23(e7) { + if (!(e7.kind === 168 || e7.kind === 213)) return false; + let t26 = Ha5(e7) ? vf3(e7.argumentExpression) : e7.expression; + return !Al5(t26) && !L23(t26); +} +function j23(e7) { + return jp2(e7) ? An7(e7) : Q1(e7) ? Eb(e7) : e7.text; +} +function Ja6(e7) { + return d_(e7.pos) || d_(e7.end); +} +function Sp2(e7) { + switch (e7) { + case 61: + return 5; + case 57: + return 5; + case 56: + return 6; + case 52: + return 7; + case 53: + return 8; + case 51: + return 9; + case 35: + case 36: + case 37: + case 38: + return 10; + case 30: + case 32: + case 33: + case 34: + case 104: + case 103: + case 130: + case 152: + return 11; + case 48: + case 49: + case 50: + return 12; + case 40: + case 41: + return 13; + case 42: + case 44: + case 45: + return 14; + case 43: + return 15; + } + return -1; +} +function wp4(e7) { + return !!((e7.templateFlags || 0) & 2048); +} +function R23(e7) { + return e7 && !!(E1(e7) ? wp4(e7) : wp4(e7.head) || Zt10(e7.templateSpans, (t26) => wp4(t26.literal))); +} +function U23(e7) { + return !!e7 && e7.kind === 80 && B23(e7); +} +function B23(e7) { + return e7.escapedText === "this"; +} +function v_(e7, t26) { + return !!z23(e7, t26); +} +function q23(e7) { + return v_(e7, 256); +} +function F23(e7) { + return v_(e7, 32768); +} +function z23(e7, t26) { + return W23(e7) & t26; +} +function V23(e7, t26, a5) { + return e7.kind >= 0 && e7.kind <= 166 ? 0 : (e7.modifierFlagsCache & 536870912 || (e7.modifierFlagsCache = y1(e7) | 536870912), a5 || t26 && ia4(e7) ? (!(e7.modifierFlagsCache & 268435456) && e7.parent && (e7.modifierFlagsCache |= m1(e7) | 268435456), h1(e7.modifierFlagsCache)) : G23(e7.modifierFlagsCache)); +} +function W23(e7) { + return V23(e7, false); +} +function m1(e7) { + let t26 = 0; + return e7.parent && !m_(e7) && (ia4(e7) && (kg(e7) && (t26 |= 8388608), Eg(e7) && (t26 |= 16777216), Ag(e7) && (t26 |= 33554432), Cg(e7) && (t26 |= 67108864), Dg(e7) && (t26 |= 134217728)), Pg(e7) && (t26 |= 65536)), t26; +} +function G23(e7) { + return e7 & 65535; +} +function h1(e7) { + return e7 & 131071 | (e7 & 260046848) >>> 23; +} +function Y23(e7) { + return h1(m1(e7)); +} +function H23(e7) { + return y1(e7) | Y23(e7); +} +function y1(e7) { + let t26 = Ol4(e7) ? Jn8(e7.modifiers) : 0; + return (e7.flags & 8 || e7.kind === 80 && e7.flags & 4096) && (t26 |= 32), t26; +} +function Jn8(e7) { + let t26 = 0; + if (e7) for (let a5 of e7) t26 |= g1(a5.kind); + return t26; +} +function g1(e7) { + switch (e7) { + case 126: + return 256; + case 125: + return 1; + case 124: + return 4; + case 123: + return 2; + case 128: + return 64; + case 129: + return 512; + case 95: + return 32; + case 138: + return 128; + case 87: + return 4096; + case 90: + return 2048; + case 134: + return 1024; + case 148: + return 8; + case 164: + return 16; + case 103: + return 8192; + case 147: + return 16384; + case 171: + return 32768; + } + return 0; +} +function X23(e7) { + return e7 === 76 || e7 === 77 || e7 === 78; +} +function b1(e7) { + return e7 >= 64 && e7 <= 79; +} +function vl5(e7, t26) { + return na4(e7) && (t26 ? e7.operatorToken.kind === 64 : b1(e7.operatorToken.kind)) && Fa6(e7.left); +} +function xf3(e7) { + return e7.kind === 80 || $23(e7); +} +function $23(e7) { + return dr8(e7) && Ke11(e7.name) && xf3(e7.expression); +} +function Q23(e7) { + return b_(e7) && f_(e7) === "prototype"; +} +function kp2(e7) { + return e7.flags & 3899393 ? e7.objectFlags : 0; +} +function K23(e7) { + let t26; + return Xt10(e7, (a5) => { + Rp2(a5) && (t26 = a5); + }, (a5) => { + for (let _9 = a5.length - 1; _9 >= 0; _9--) if (Rp2(a5[_9])) { + t26 = a5[_9]; + break; + } + }), t26; +} +function Z23(e7) { + return e7 >= 183 && e7 <= 206 || e7 === 133 || e7 === 159 || e7 === 150 || e7 === 163 || e7 === 151 || e7 === 136 || e7 === 154 || e7 === 155 || e7 === 116 || e7 === 157 || e7 === 146 || e7 === 141 || e7 === 234 || e7 === 313 || e7 === 314 || e7 === 315 || e7 === 316 || e7 === 317 || e7 === 318 || e7 === 319; +} +function v1(e7) { + return e7.kind === 212 || e7.kind === 213; +} +function eb(e7, t26) { + this.flags = e7, this.escapedName = t26, this.declarations = void 0, this.valueDeclaration = void 0, this.id = 0, this.mergeId = 0, this.parent = void 0, this.members = void 0, this.exports = void 0, this.exportSymbol = void 0, this.constEnumOnlyModule = void 0, this.isReferenced = void 0, this.lastAssignmentPos = void 0, this.links = void 0; +} +function tb(e7, t26) { + this.flags = t26, (q10.isDebugging || ll5) && (this.checker = e7); +} +function nb(e7, t26) { + this.flags = t26, q10.isDebugging && (this.checker = e7); +} +function Ep2(e7, t26, a5) { + this.pos = t26, this.end = a5, this.kind = e7, this.id = 0, this.flags = 0, this.modifierFlagsCache = 0, this.transformFlags = 0, this.parent = void 0, this.original = void 0, this.emitNode = void 0; +} +function rb(e7, t26, a5) { + this.pos = t26, this.end = a5, this.kind = e7, this.id = 0, this.flags = 0, this.transformFlags = 0, this.parent = void 0, this.emitNode = void 0; +} +function ib(e7, t26, a5) { + this.pos = t26, this.end = a5, this.kind = e7, this.id = 0, this.flags = 0, this.transformFlags = 0, this.parent = void 0, this.original = void 0, this.emitNode = void 0; +} +function ab(e7, t26, a5) { + this.fileName = e7, this.text = t26, this.skipTrivia = a5 || ((_9) => _9); +} +function _b(e7) { + Object.assign(Et12, e7), jn7(sb, (t26) => t26(Et12)); +} +function ob(e7, t26) { + return e7.replace(/\{(\d+)\}/g, (a5, _9) => "" + q10.checkDefined(t26[+_9])); +} +function cb(e7) { + return Rd && Rd[e7.key] || e7.message; +} +function Oa4(e7, t26, a5, _9, f7, ...h5) { + a5 + _9 > t26.length && (_9 = t26.length - a5), c23(t26, a5, _9); + let T7 = cb(f7); + return Zt10(h5) && (T7 = ob(T7, h5)), { file: void 0, start: a5, length: _9, messageText: T7, category: f7.category, code: f7.code, reportsUnnecessary: f7.reportsUnnecessary, fileName: e7 }; +} +function lb(e7) { + return e7.file === void 0 && e7.start !== void 0 && e7.length !== void 0 && typeof e7.fileName == "string"; +} +function T1(e7, t26) { + let a5 = t26.fileName || "", _9 = t26.text.length; + q10.assertEqual(e7.fileName, a5), q10.assertLessThanOrEqual(e7.start, _9), q10.assertLessThanOrEqual(e7.start + e7.length, _9); + let f7 = { file: t26, start: e7.start, length: e7.length, messageText: e7.messageText, category: e7.category, code: e7.code, reportsUnnecessary: e7.reportsUnnecessary }; + if (e7.relatedInformation) { + f7.relatedInformation = []; + for (let h5 of e7.relatedInformation) lb(h5) && h5.fileName === a5 ? (q10.assertLessThanOrEqual(h5.start, _9), q10.assertLessThanOrEqual(h5.start + h5.length, _9), f7.relatedInformation.push(T1(h5, t26))) : f7.relatedInformation.push(h5); + } + return f7; +} +function Yi8(e7, t26) { + let a5 = []; + for (let _9 of e7) a5.push(T1(_9, t26)); + return a5; +} +function Ud(e7) { + return e7 === 4 || e7 === 2 || e7 === 1 || e7 === 6 ? 1 : 0; +} +function Bd(e7) { + return e7 >= 3 && e7 <= 99 || e7 === 100; +} +function Gr8(e7, t26) { + return e7[t26] === void 0 ? !!e7.strict : !!e7[t26]; +} +function ub(e7) { + return a23(targetOptionDeclaration.type, (t26, a5) => t26 === e7 ? a5 : void 0); +} +function S1(e7, t26) { + return e7 === "*" ? t26 : e7 === "?" ? "[^/]" : "\\" + e7; +} +function mb(e7, t26) { + return t26 || hb(e7) || 3; +} +function hb(e7) { + switch (e7.substr(e7.lastIndexOf(".")).toLowerCase()) { + case ".js": + case ".cjs": + case ".mjs": + return 1; + case ".jsx": + return 2; + case ".ts": + case ".cts": + case ".mts": + return 3; + case ".tsx": + return 4; + case ".json": + return 6; + default: + return 0; + } +} +function d_(e7) { + return !(e7 >= 0); +} +function sl5(e7, ...t26) { + return t26.length && (e7.relatedInformation || (e7.relatedInformation = []), q10.assert(e7.relatedInformation !== vt11, "Diagnostic had empty array singleton for related info, but is still being constructed!"), e7.relatedInformation.push(...t26)), e7; +} +function vb(e7) { + let t26; + switch (e7.charCodeAt(1)) { + case 98: + case 66: + t26 = 1; + break; + case 111: + case 79: + t26 = 3; + break; + case 120: + case 88: + t26 = 4; + break; + default: + let W10 = e7.length - 1, y10 = 0; + for (; e7.charCodeAt(y10) === 48; ) y10++; + return e7.slice(y10, W10) || "0"; + } + let a5 = 2, _9 = e7.length - 1, f7 = (_9 - a5) * t26, h5 = new Uint16Array((f7 >>> 4) + (f7 & 15 ? 1 : 0)); + for (let W10 = _9 - 1, y10 = 0; W10 >= a5; W10--, y10 += t26) { + let G11 = y10 >>> 4, E7 = e7.charCodeAt(W10), R10 = (E7 <= 57 ? E7 - 48 : 10 + E7 - (E7 <= 70 ? 65 : 97)) << (y10 & 15); + h5[G11] |= R10; + let ue11 = R10 >>> 16; + ue11 && (h5[G11 + 1] |= ue11); + } + let T7 = "", k8 = h5.length - 1, c7 = true; + for (; c7; ) { + let W10 = 0; + c7 = false; + for (let y10 = k8; y10 >= 0; y10--) { + let G11 = W10 << 16 | h5[y10], E7 = G11 / 10 | 0; + h5[y10] = E7, W10 = G11 - E7 * 10, E7 && !c7 && (k8 = y10, c7 = true); + } + T7 = W10 + T7; + } + return T7; +} +function Tb({ negative: e7, base10Value: t26 }) { + return (e7 && t26 !== "0" ? "-" : "") + t26; +} +function Bp2(e7, t26) { + return e7.pos = t26, e7; +} +function xb(e7, t26) { + return e7.end = t26, e7; +} +function yi9(e7, t26, a5) { + return xb(Bp2(e7, t26), a5); +} +function qd(e7, t26, a5) { + return yi9(e7, t26, t26 + a5); +} +function Sf2(e7, t26) { + return e7 && t26 && (e7.parent = t26), e7; +} +function Sb(e7, t26) { + if (!e7) return e7; + return dm2(e7, l1(e7) ? a5 : f7), e7; + function a5(h5, T7) { + if (t26 && h5.parent === T7) return "skip"; + Sf2(h5, T7); + } + function _9(h5) { + if (Ki8(h5)) for (let T7 of h5.jsDoc) a5(T7, h5), dm2(T7, a5); + } + function f7(h5, T7) { + return a5(h5, T7) || _9(h5); + } +} +function wb(e7) { + return !!(e7.flags & 262144 && e7.isThisType); +} +function kb(e7) { + var t26; + return ((t26 = getSnippetElement(e7)) == null ? void 0 : t26.kind) === 0; +} +function Eb(e7) { + return `${An7(e7.namespace)}:${An7(e7.name)}`; +} +function Cb() { + let e7, t26, a5, _9, f7; + return { createBaseSourceFileNode: h5, createBaseIdentifierNode: T7, createBasePrivateIdentifierNode: k8, createBaseTokenNode: c7, createBaseNode: W10 }; + function h5(y10) { + return new (f7 || (f7 = Et12.getSourceFileConstructor()))(y10, -1, -1); + } + function T7(y10) { + return new (a5 || (a5 = Et12.getIdentifierConstructor()))(y10, -1, -1); + } + function k8(y10) { + return new (_9 || (_9 = Et12.getPrivateIdentifierConstructor()))(y10, -1, -1); + } + function c7(y10) { + return new (t26 || (t26 = Et12.getTokenConstructor()))(y10, -1, -1); + } + function W10(y10) { + return new (e7 || (e7 = Et12.getNodeConstructor()))(y10, -1, -1); + } +} +function wf2(e7, t26) { + let a5 = e7 & 8 ? bt12 : Lb, _9 = gd(() => e7 & 1 ? Db : createParenthesizerRules(he11)), f7 = gd(() => e7 & 2 ? nullNodeConverters : createNodeConverters(he11)), h5 = Kn9((n5) => (i5, s5) => da5(i5, n5, s5)), T7 = Kn9((n5) => (i5) => Ur8(n5, i5)), k8 = Kn9((n5) => (i5) => ni10(i5, n5)), c7 = Kn9((n5) => () => Qo4(n5)), W10 = Kn9((n5) => (i5) => Cs6(n5, i5)), y10 = Kn9((n5) => (i5, s5) => wu3(n5, i5, s5)), G11 = Kn9((n5) => (i5, s5) => Ko3(n5, i5, s5)), E7 = Kn9((n5) => (i5, s5) => Su3(n5, i5, s5)), D7 = Kn9((n5) => (i5, s5) => hc3(n5, i5, s5)), R10 = Kn9((n5) => (i5, s5, l5) => Lu4(n5, i5, s5, l5)), ue11 = Kn9((n5) => (i5, s5, l5) => yc3(n5, i5, s5, l5)), be10 = Kn9((n5) => (i5, s5, l5, d5) => Ju5(n5, i5, s5, l5, d5)), he11 = { get parenthesizer() { + return _9(); + }, get converters() { + return f7(); + }, baseFactory: t26, flags: e7, createNodeArray: de11, createNumericLiteral: V11, createBigIntLiteral: oe10, createStringLiteral: ft10, createStringLiteralFromNode: nr9, createRegularExpressionLiteral: mn8, createLiteralLikeNode: rr8, createIdentifier: We12, createTempVariable: ir10, createLoopVariable: Ir6, createUniqueName: Ot12, getGeneratedNameForNode: Bn7, createPrivateIdentifier: Mt12, createUniquePrivateName: $e11, getGeneratedPrivateNameForNode: qn8, createToken: ot8, createSuper: at11, createThis: Bt10, createNull: Lt10, createTrue: ct9, createFalse: ar9, createModifier: dt8, createModifiersFromModifierFlags: yn9, createQualifiedName: yt10, updateQualifiedName: _n7, createComputedPropertyName: tt11, updateComputedPropertyName: qt11, createTypeParameterDeclaration: tn8, updateTypeParameterDeclaration: sr10, createParameterDeclaration: mr7, updateParameterDeclaration: hr8, createDecorator: Fn6, updateDecorator: zn9, createPropertySignature: Or7, updatePropertySignature: Vn7, createPropertyDeclaration: yr7, updatePropertyDeclaration: L9, createMethodSignature: se11, updateMethodSignature: fe10, createMethodDeclaration: Te10, updateMethodDeclaration: He10, createConstructorDeclaration: lt8, updateConstructorDeclaration: Mr8, createGetAccessorDeclaration: Nn6, updateGetAccessorDeclaration: Wn8, createSetAccessorDeclaration: U9, updateSetAccessorDeclaration: K11, createCallSignature: xe10, updateCallSignature: Se11, createConstructSignature: we9, updateConstructSignature: me12, createIndexSignature: Ve9, updateIndexSignature: Ze11, createClassStaticBlockDeclaration: st8, updateClassStaticBlockDeclaration: Ct12, createTemplateLiteralTypeSpan: Ye10, updateTemplateLiteralTypeSpan: Ee9, createKeywordTypeNode: gn8, createTypePredicateNode: rt12, updateTypePredicateNode: on8, createTypeReferenceNode: Zr8, updateTypeReferenceNode: M10, createFunctionTypeNode: Ue10, updateFunctionTypeNode: u, createConstructorTypeNode: Me12, updateConstructorTypeNode: nn10, createTypeQueryNode: Dt10, updateTypeQueryNode: wt11, createTypeLiteralNode: Pt12, updateTypeLiteralNode: Ft11, createArrayTypeNode: Gn8, updateArrayTypeNode: ki10, createTupleTypeNode: cn9, updateTupleTypeNode: H11, createNamedTupleMember: le9, updateNamedTupleMember: qe11, createOptionalTypeNode: ve11, updateOptionalTypeNode: J12, createRestTypeNode: mt10, updateRestTypeNode: xt10, createUnionTypeNode: ql4, updateUnionTypeNode: C_, createIntersectionTypeNode: Lr8, updateIntersectionTypeNode: Le11, createConditionalTypeNode: pt10, updateConditionalTypeNode: Fl3, createInferTypeNode: Yn7, updateInferTypeNode: zl4, createImportTypeNode: _r8, updateImportTypeNode: oa3, createParenthesizedType: Qt10, updateParenthesizedType: At12, createThisTypeNode: P8, createTypeOperatorNode: Gt9, updateTypeOperatorNode: Jr6, createIndexedAccessTypeNode: or9, updateIndexedAccessTypeNode: Ka4, createMappedTypeNode: gt10, updateMappedTypeNode: jt8, createLiteralTypeNode: ei10, updateLiteralTypeNode: br7, createTemplateLiteralType: Wt10, updateTemplateLiteralType: Vl4, createObjectBindingPattern: D_, updateObjectBindingPattern: Wl4, createArrayBindingPattern: jr6, updateArrayBindingPattern: Gl4, createBindingElement: ca4, updateBindingElement: ti10, createArrayLiteralExpression: Za3, updateArrayLiteralExpression: P_, createObjectLiteralExpression: Ei10, updateObjectLiteralExpression: Yl4, createPropertyAccessExpression: e7 & 4 ? (n5, i5) => setEmitFlags(cr8(n5, i5), 262144) : cr8, updatePropertyAccessExpression: Hl4, createPropertyAccessChain: e7 & 4 ? (n5, i5, s5) => setEmitFlags(Ai9(n5, i5, s5), 262144) : Ai9, updatePropertyAccessChain: la3, createElementAccessExpression: Ci8, updateElementAccessExpression: Xl4, createElementAccessChain: O_, updateElementAccessChain: es8, createCallExpression: Di8, updateCallExpression: ua5, createCallChain: ts8, updateCallChain: L_, createNewExpression: bn7, updateNewExpression: ns8, createTaggedTemplateExpression: pa5, updateTaggedTemplateExpression: J_, createTypeAssertion: j_, updateTypeAssertion: R_, createParenthesizedExpression: rs8, updateParenthesizedExpression: U_, createFunctionExpression: is9, updateFunctionExpression: B_, createArrowFunction: as8, updateArrowFunction: q_, createDeleteExpression: F_, updateDeleteExpression: z_, createTypeOfExpression: fa4, updateTypeOfExpression: un8, createVoidExpression: ss9, updateVoidExpression: lr8, createAwaitExpression: V_, updateAwaitExpression: Rr7, createPrefixUnaryExpression: Ur8, updatePrefixUnaryExpression: $l4, createPostfixUnaryExpression: ni10, updatePostfixUnaryExpression: Ql4, createBinaryExpression: da5, updateBinaryExpression: Kl4, createConditionalExpression: G_, updateConditionalExpression: Y_, createTemplateExpression: H_, updateTemplateExpression: Hn8, createTemplateHead: $_, createTemplateMiddle: ma5, createTemplateTail: _s7, createNoSubstitutionTemplateLiteral: eu4, createTemplateLiteralLikeNode: ii10, createYieldExpression: os12, updateYieldExpression: tu3, createSpreadElement: Q_, updateSpreadElement: nu3, createClassExpression: K_, updateClassExpression: cs7, createOmittedExpression: ls7, createExpressionWithTypeArguments: Z_, updateExpressionWithTypeArguments: eo5, createAsExpression: pn8, updateAsExpression: ha2, createNonNullExpression: to6, updateNonNullExpression: no6, createSatisfiesExpression: us8, updateSatisfiesExpression: ro5, createNonNullChain: ps7, updateNonNullChain: In7, createMetaProperty: io5, updateMetaProperty: fs14, createTemplateSpan: Xn9, updateTemplateSpan: ya3, createSemicolonClassElement: ao5, createBlock: Br8, updateBlock: ru4, createVariableStatement: ds7, updateVariableStatement: so5, createEmptyStatement: _o3, createExpressionStatement: Ni9, updateExpressionStatement: oo6, createIfStatement: co5, updateIfStatement: lo5, createDoStatement: uo5, updateDoStatement: po6, createWhileStatement: fo5, updateWhileStatement: iu3, createForStatement: mo3, updateForStatement: ho3, createForInStatement: ms8, updateForInStatement: au3, createForOfStatement: yo3, updateForOfStatement: su3, createContinueStatement: go3, updateContinueStatement: _u4, createBreakStatement: hs8, updateBreakStatement: bo5, createReturnStatement: ys8, updateReturnStatement: ou3, createWithStatement: gs7, updateWithStatement: vo4, createSwitchStatement: bs8, updateSwitchStatement: ai10, createLabeledStatement: To4, updateLabeledStatement: xo4, createThrowStatement: So4, updateThrowStatement: cu3, createTryStatement: wo6, updateTryStatement: lu4, createDebuggerStatement: ko3, createVariableDeclaration: ga2, updateVariableDeclaration: Eo3, createVariableDeclarationList: vs9, updateVariableDeclarationList: uu4, createFunctionDeclaration: Ao3, updateFunctionDeclaration: Ts6, createClassDeclaration: Co3, updateClassDeclaration: ba3, createInterfaceDeclaration: Do3, updateInterfaceDeclaration: Po5, createTypeAliasDeclaration: _t9, updateTypeAliasDeclaration: vr6, createEnumDeclaration: xs8, updateEnumDeclaration: Tr7, createModuleDeclaration: No3, updateModuleDeclaration: kt12, createModuleBlock: xr6, updateModuleBlock: zt10, createCaseBlock: Io5, updateCaseBlock: fu4, createNamespaceExportDeclaration: Oo5, updateNamespaceExportDeclaration: Mo3, createImportEqualsDeclaration: Lo4, updateImportEqualsDeclaration: Jo5, createImportDeclaration: jo4, updateImportDeclaration: Ro3, createImportClause: Uo4, updateImportClause: Bo4, createAssertClause: Ss8, updateAssertClause: mu3, createAssertEntry: Ii8, updateAssertEntry: qo4, createImportTypeAssertionContainer: ws8, updateImportTypeAssertionContainer: Fo3, createImportAttributes: zo4, updateImportAttributes: ks8, createImportAttribute: Vo3, updateImportAttribute: Wo3, createNamespaceImport: Go3, updateNamespaceImport: hu4, createNamespaceExport: Yo4, updateNamespaceExport: yu5, createNamedImports: Ho3, updateNamedImports: Xo3, createImportSpecifier: Sr7, updateImportSpecifier: gu4, createExportAssignment: va4, updateExportAssignment: Oi9, createExportDeclaration: Ta3, updateExportDeclaration: $o3, createNamedExports: Es8, updateNamedExports: bu4, createExportSpecifier: xa5, updateExportSpecifier: vu4, createMissingDeclaration: Tu5, createExternalModuleReference: As8, updateExternalModuleReference: xu3, get createJSDocAllType() { + return c7(313); + }, get createJSDocUnknownType() { + return c7(314); + }, get createJSDocNonNullableType() { + return G11(316); + }, get updateJSDocNonNullableType() { + return E7(316); + }, get createJSDocNullableType() { + return G11(315); + }, get updateJSDocNullableType() { + return E7(315); + }, get createJSDocOptionalType() { + return W10(317); + }, get updateJSDocOptionalType() { + return y10(317); + }, get createJSDocVariadicType() { + return W10(319); + }, get updateJSDocVariadicType() { + return y10(319); + }, get createJSDocNamepathType() { + return W10(320); + }, get updateJSDocNamepathType() { + return y10(320); + }, createJSDocFunctionType: Zo3, updateJSDocFunctionType: ku3, createJSDocTypeLiteral: ec3, updateJSDocTypeLiteral: Eu5, createJSDocTypeExpression: tc3, updateJSDocTypeExpression: Ds8, createJSDocSignature: nc4, updateJSDocSignature: Au3, createJSDocTemplateTag: Ps9, updateJSDocTemplateTag: rc3, createJSDocTypedefTag: Sa2, updateJSDocTypedefTag: Cu3, createJSDocParameterTag: Ns7, updateJSDocParameterTag: Du4, createJSDocPropertyTag: ic3, updateJSDocPropertyTag: ac3, createJSDocCallbackTag: sc3, updateJSDocCallbackTag: _c3, createJSDocOverloadTag: oc4, updateJSDocOverloadTag: Is8, createJSDocAugmentsTag: Os7, updateJSDocAugmentsTag: Li8, createJSDocImplementsTag: cc4, updateJSDocImplementsTag: Mu4, createJSDocSeeTag: Fr7, updateJSDocSeeTag: wa4, createJSDocImportTag: vc4, updateJSDocImportTag: Tc4, createJSDocNameReference: lc3, updateJSDocNameReference: Pu3, createJSDocMemberName: uc3, updateJSDocMemberName: Nu4, createJSDocLink: pc3, updateJSDocLink: fc3, createJSDocLinkCode: dc3, updateJSDocLinkCode: Iu4, createJSDocLinkPlain: mc3, updateJSDocLinkPlain: Ou5, get createJSDocTypeTag() { + return ue11(345); + }, get updateJSDocTypeTag() { + return be10(345); + }, get createJSDocReturnTag() { + return ue11(343); + }, get updateJSDocReturnTag() { + return be10(343); + }, get createJSDocThisTag() { + return ue11(344); + }, get updateJSDocThisTag() { + return be10(344); + }, get createJSDocAuthorTag() { + return D7(331); + }, get updateJSDocAuthorTag() { + return R10(331); + }, get createJSDocClassTag() { + return D7(333); + }, get updateJSDocClassTag() { + return R10(333); + }, get createJSDocPublicTag() { + return D7(334); + }, get updateJSDocPublicTag() { + return R10(334); + }, get createJSDocPrivateTag() { + return D7(335); + }, get updateJSDocPrivateTag() { + return R10(335); + }, get createJSDocProtectedTag() { + return D7(336); + }, get updateJSDocProtectedTag() { + return R10(336); + }, get createJSDocReadonlyTag() { + return D7(337); + }, get updateJSDocReadonlyTag() { + return R10(337); + }, get createJSDocOverrideTag() { + return D7(338); + }, get updateJSDocOverrideTag() { + return R10(338); + }, get createJSDocDeprecatedTag() { + return D7(332); + }, get updateJSDocDeprecatedTag() { + return R10(332); + }, get createJSDocThrowsTag() { + return ue11(350); + }, get updateJSDocThrowsTag() { + return be10(350); + }, get createJSDocSatisfiesTag() { + return ue11(351); + }, get updateJSDocSatisfiesTag() { + return be10(351); + }, createJSDocEnumTag: bc4, updateJSDocEnumTag: Ms8, createJSDocUnknownTag: gc3, updateJSDocUnknownTag: ju4, createJSDocText: Ls8, updateJSDocText: Ru4, createJSDocComment: Ji7, updateJSDocComment: xc3, createJsxElement: Sc4, updateJsxElement: Uu4, createJsxSelfClosingElement: wc3, updateJsxSelfClosingElement: Bu3, createJsxOpeningElement: ka3, updateJsxOpeningElement: kc3, createJsxClosingElement: Js10, updateJsxClosingElement: js9, createJsxFragment: Yt8, createJsxText: ji7, updateJsxText: qu4, createJsxOpeningFragment: Ac3, createJsxJsxClosingFragment: Cc3, updateJsxFragment: Ec4, createJsxAttribute: Dc2, updateJsxAttribute: Fu4, createJsxAttributes: Ri8, updateJsxAttributes: zu3, createJsxSpreadAttribute: Pc3, updateJsxSpreadAttribute: Vu4, createJsxExpression: Nc3, updateJsxExpression: Rs9, createJsxNamespacedName: si10, updateJsxNamespacedName: Wu2, createCaseClause: Ea5, updateCaseClause: Ic3, createDefaultClause: Oc3, updateDefaultClause: Ui8, createHeritageClause: Us9, updateHeritageClause: Gu3, createCatchClause: Mc2, updateCatchClause: Lc2, createPropertyAssignment: Aa3, updatePropertyAssignment: Bs10, createShorthandPropertyAssignment: Jc2, updateShorthandPropertyAssignment: Yu2, createSpreadAssignment: jc2, updateSpreadAssignment: Rc3, createEnumMember: qs9, updateEnumMember: On7, createSourceFile: Uc2, updateSourceFile: Qu2, createRedirectedSourceFile: Bc2, createBundle: qc3, updateBundle: Fc2, createSyntheticExpression: Ku4, createSyntaxList: Zu2, createNotEmittedStatement: Ca3, createNotEmittedTypeElement: ep2, createPartiallyEmittedExpression: Vs7, updatePartiallyEmittedExpression: zc3, createCommaListExpression: Ws8, updateCommaListExpression: np2, createSyntheticReferenceExpression: Gs8, updateSyntheticReferenceExpression: Vc3, cloneNode: Da5, get createComma() { + return h5(28); + }, get createAssignment() { + return h5(64); + }, get createLogicalOr() { + return h5(57); + }, get createLogicalAnd() { + return h5(56); + }, get createBitwiseOr() { + return h5(52); + }, get createBitwiseXor() { + return h5(53); + }, get createBitwiseAnd() { + return h5(51); + }, get createStrictEquality() { + return h5(37); + }, get createStrictInequality() { + return h5(38); + }, get createEquality() { + return h5(35); + }, get createInequality() { + return h5(36); + }, get createLessThan() { + return h5(30); + }, get createLessThanEquals() { + return h5(33); + }, get createGreaterThan() { + return h5(32); + }, get createGreaterThanEquals() { + return h5(34); + }, get createLeftShift() { + return h5(48); + }, get createRightShift() { + return h5(49); + }, get createUnsignedRightShift() { + return h5(50); + }, get createAdd() { + return h5(40); + }, get createSubtract() { + return h5(41); + }, get createMultiply() { + return h5(42); + }, get createDivide() { + return h5(44); + }, get createModulo() { + return h5(45); + }, get createExponent() { + return h5(43); + }, get createPrefixPlus() { + return T7(40); + }, get createPrefixMinus() { + return T7(41); + }, get createPrefixIncrement() { + return T7(46); + }, get createPrefixDecrement() { + return T7(47); + }, get createBitwiseNot() { + return T7(55); + }, get createLogicalNot() { + return T7(54); + }, get createPostfixIncrement() { + return k8(46); + }, get createPostfixDecrement() { + return k8(47); + }, createImmediatelyInvokedFunctionExpression: ap2, createImmediatelyInvokedArrowFunction: sp2, createVoidZero: Bi8, createExportDefault: Yc3, createExternalModuleExport: Hc2, createTypeCheck: _p3, createIsNotTypeCheck: Ys9, createMethodCall: zr8, createGlobalMethodCall: qi8, createFunctionBindCall: op2, createFunctionCallCall: cp2, createFunctionApplyCall: lp2, createArraySliceCall: up2, createArrayConcatCall: Fi8, createObjectDefinePropertyCall: pp2, createObjectGetOwnPropertyDescriptorCall: Hs9, createReflectGetCall: oi10, createReflectSetCall: Xc2, createPropertyDescriptor: fp2, createCallBinding: Zc2, createAssignmentTargetWrapper: el5, inlineExpressions: o5, getInternalName: m7, getLocalName: g5, getExportName: b7, getDeclarationName: N8, getNamespaceMemberName: Q10, getExternalModuleOrNamespaceExportName: _e11, restoreOuterExpressions: Qc2, restoreEnclosingLabel: Kc2, createUseStrictPrologue: ce9, copyPrologue: ee8, copyStandardPrologue: je11, copyCustomPrologue: Je11, ensureUseStrict: De11, liftToBlock: Ht11, mergeLexicalEnvironment: ur9, replaceModifiers: pr8, replaceDecoratorsAndModifiers: Mn6, replacePropertyName: Vr8 }; + return jn7(Pb, (n5) => n5(he11)), he11; + function de11(n5, i5) { + if (n5 === void 0 || n5 === vt11) n5 = []; + else if (mi10(n5)) { + if (i5 === void 0 || n5.hasTrailingComma === i5) return n5.transformFlags === void 0 && zd(n5), q10.attachNodeArrayDebugInfo(n5), n5; + let d5 = n5.slice(); + return d5.pos = n5.pos, d5.end = n5.end, d5.hasTrailingComma = i5, d5.transformFlags = n5.transformFlags, q10.attachNodeArrayDebugInfo(d5), d5; + } + let s5 = n5.length, l5 = s5 >= 1 && s5 <= 4 ? n5.slice() : n5; + return l5.pos = -1, l5.end = -1, l5.hasTrailingComma = !!i5, l5.transformFlags = 0, zd(l5), q10.attachNodeArrayDebugInfo(l5), l5; + } + function O7(n5) { + return t26.createBaseNode(n5); + } + function ae9(n5) { + let i5 = O7(n5); + return i5.symbol = void 0, i5.localSymbol = void 0, i5; + } + function Oe11(n5, i5) { + return n5 !== i5 && (n5.typeArguments = i5.typeArguments), j9(n5, i5); + } + function V11(n5, i5 = 0) { + let s5 = typeof n5 == "number" ? n5 + "" : n5; + q10.assert(s5.charCodeAt(0) !== 45, "Negative numbers should be created in combination with createPrefixUnaryExpression"); + let l5 = ae9(9); + return l5.text = s5, l5.numericLiteralFlags = i5, i5 & 384 && (l5.transformFlags |= 1024), l5; + } + function oe10(n5) { + let i5 = $t8(10); + return i5.text = typeof n5 == "string" ? n5 : Tb(n5) + "n", i5.transformFlags |= 32, i5; + } + function Y7(n5, i5) { + let s5 = ae9(11); + return s5.text = n5, s5.singleQuote = i5, s5; + } + function ft10(n5, i5, s5) { + let l5 = Y7(n5, i5); + return l5.hasExtendedUnicodeEscape = s5, s5 && (l5.transformFlags |= 1024), l5; + } + function nr9(n5) { + let i5 = Y7(j23(n5), void 0); + return i5.textSourceNode = n5, i5; + } + function mn8(n5) { + let i5 = $t8(14); + return i5.text = n5, i5; + } + function rr8(n5, i5) { + switch (n5) { + case 9: + return V11(i5, 0); + case 10: + return oe10(i5); + case 11: + return ft10(i5, void 0); + case 12: + return ji7(i5, false); + case 13: + return ji7(i5, true); + case 14: + return mn8(i5); + case 15: + return ii10(n5, i5, void 0, 0); + } + } + function hn9(n5) { + let i5 = t26.createBaseIdentifierNode(80); + return i5.escapedText = n5, i5.jsDoc = void 0, i5.flowNode = void 0, i5.symbol = void 0, i5; + } + function Dn7(n5, i5, s5, l5) { + let d5 = hn9(La3(n5)); + return setIdentifierAutoGenerate(d5, { flags: i5, id: _l5, prefix: s5, suffix: l5 }), _l5++, d5; + } + function We12(n5, i5, s5) { + i5 === void 0 && n5 && (i5 = Rm2(n5)), i5 === 80 && (i5 = void 0); + let l5 = hn9(La3(n5)); + return s5 && (l5.flags |= 256), l5.escapedText === "await" && (l5.transformFlags |= 67108864), l5.flags & 256 && (l5.transformFlags |= 1024), l5; + } + function ir10(n5, i5, s5, l5) { + let d5 = 1; + i5 && (d5 |= 8); + let v9 = Dn7("", d5, s5, l5); + return n5 && n5(v9), v9; + } + function Ir6(n5) { + let i5 = 2; + return n5 && (i5 |= 8), Dn7("", i5, void 0, void 0); + } + function Ot12(n5, i5 = 0, s5, l5) { + return q10.assert(!(i5 & 7), "Argument out of range: flags"), q10.assert((i5 & 48) !== 32, "GeneratedIdentifierFlags.FileLevel cannot be set without also setting GeneratedIdentifierFlags.Optimistic"), Dn7(n5, 3 | i5, s5, l5); + } + function Bn7(n5, i5 = 0, s5, l5) { + q10.assert(!(i5 & 7), "Argument out of range: flags"); + let d5 = n5 ? jp2(n5) ? Vp2(false, s5, n5, l5, An7) : `generated@${getNodeId(n5)}` : ""; + (s5 || l5) && (i5 |= 16); + let v9 = Dn7(d5, 4 | i5, s5, l5); + return v9.original = n5, v9; + } + function Pn8(n5) { + let i5 = t26.createBasePrivateIdentifierNode(81); + return i5.escapedText = n5, i5.transformFlags |= 16777216, i5; + } + function Mt12(n5) { + return ml5(n5, "#") || q10.fail("First character of private identifier must be #: " + n5), Pn8(La3(n5)); + } + function ht10(n5, i5, s5, l5) { + let d5 = Pn8(La3(n5)); + return setIdentifierAutoGenerate(d5, { flags: i5, id: _l5, prefix: s5, suffix: l5 }), _l5++, d5; + } + function $e11(n5, i5, s5) { + n5 && !ml5(n5, "#") && q10.fail("First character of private identifier must be #: " + n5); + let l5 = 8 | (n5 ? 3 : 1); + return ht10(n5 ?? "", l5, i5, s5); + } + function qn8(n5, i5, s5) { + let l5 = jp2(n5) ? Vp2(true, i5, n5, s5, An7) : `#generated@${getNodeId(n5)}`, v9 = ht10(l5, 4 | (i5 || s5 ? 16 : 0), i5, s5); + return v9.original = n5, v9; + } + function $t8(n5) { + return t26.createBaseTokenNode(n5); + } + function ot8(n5) { + q10.assert(n5 >= 0 && n5 <= 166, "Invalid token"), q10.assert(n5 <= 15 || n5 >= 18, "Invalid token. Use 'createTemplateLiteralLikeNode' to create template literals."), q10.assert(n5 <= 9 || n5 >= 15, "Invalid token. Use 'createLiteralLikeNode' to create literals."), q10.assert(n5 !== 80, "Invalid token. Use 'createIdentifier' to create identifiers"); + let i5 = $t8(n5), s5 = 0; + switch (n5) { + case 134: + s5 = 384; + break; + case 160: + s5 = 4; + break; + case 125: + case 123: + case 124: + case 148: + case 128: + case 138: + case 87: + case 133: + case 150: + case 163: + case 146: + case 151: + case 103: + case 147: + case 164: + case 154: + case 136: + case 155: + case 116: + case 159: + case 157: + s5 = 1; + break; + case 108: + s5 = 134218752, i5.flowNode = void 0; + break; + case 126: + s5 = 1024; + break; + case 129: + s5 = 16777216; + break; + case 110: + s5 = 16384, i5.flowNode = void 0; + break; + } + return s5 && (i5.transformFlags |= s5), i5; + } + function at11() { + return ot8(108); + } + function Bt10() { + return ot8(110); + } + function Lt10() { + return ot8(106); + } + function ct9() { + return ot8(112); + } + function ar9() { + return ot8(97); + } + function dt8(n5) { + return ot8(n5); + } + function yn9(n5) { + let i5 = []; + return n5 & 32 && i5.push(dt8(95)), n5 & 128 && i5.push(dt8(138)), n5 & 2048 && i5.push(dt8(90)), n5 & 4096 && i5.push(dt8(87)), n5 & 1 && i5.push(dt8(125)), n5 & 2 && i5.push(dt8(123)), n5 & 4 && i5.push(dt8(124)), n5 & 64 && i5.push(dt8(128)), n5 & 256 && i5.push(dt8(126)), n5 & 16 && i5.push(dt8(164)), n5 & 8 && i5.push(dt8(148)), n5 & 512 && i5.push(dt8(129)), n5 & 1024 && i5.push(dt8(134)), n5 & 8192 && i5.push(dt8(103)), n5 & 16384 && i5.push(dt8(147)), i5.length ? i5 : void 0; + } + function yt10(n5, i5) { + let s5 = O7(167); + return s5.left = n5, s5.right = et11(i5), s5.transformFlags |= z8(s5.left) | ja5(s5.right), s5.flowNode = void 0, s5; + } + function _n7(n5, i5, s5) { + return n5.left !== i5 || n5.right !== s5 ? j9(yt10(i5, s5), n5) : n5; + } + function tt11(n5) { + let i5 = O7(168); + return i5.expression = _9().parenthesizeExpressionOfComputedPropertyName(n5), i5.transformFlags |= z8(i5.expression) | 1024 | 131072, i5; + } + function qt11(n5, i5) { + return n5.expression !== i5 ? j9(tt11(i5), n5) : n5; + } + function tn8(n5, i5, s5, l5) { + let d5 = ae9(169); + return d5.modifiers = Pe10(n5), d5.name = et11(i5), d5.constraint = s5, d5.default = l5, d5.transformFlags = 1, d5.expression = void 0, d5.jsDoc = void 0, d5; + } + function sr10(n5, i5, s5, l5, d5) { + return n5.modifiers !== i5 || n5.name !== s5 || n5.constraint !== l5 || n5.default !== d5 ? j9(tn8(i5, s5, l5, d5), n5) : n5; + } + function mr7(n5, i5, s5, l5, d5, v9) { + let F10 = ae9(170); + return F10.modifiers = Pe10(n5), F10.dotDotDotToken = i5, F10.name = et11(s5), F10.questionToken = l5, F10.type = d5, F10.initializer = zi8(v9), U23(F10.name) ? F10.transformFlags = 1 : F10.transformFlags = ke10(F10.modifiers) | z8(F10.dotDotDotToken) | Ln7(F10.name) | z8(F10.questionToken) | z8(F10.initializer) | (F10.questionToken ?? F10.type ? 1 : 0) | (F10.dotDotDotToken ?? F10.initializer ? 1024 : 0) | (Jn8(F10.modifiers) & 31 ? 8192 : 0), F10.jsDoc = void 0, F10; + } + function hr8(n5, i5, s5, l5, d5, v9, F10) { + return n5.modifiers !== i5 || n5.dotDotDotToken !== s5 || n5.name !== l5 || n5.questionToken !== d5 || n5.type !== v9 || n5.initializer !== F10 ? j9(mr7(i5, s5, l5, d5, v9, F10), n5) : n5; + } + function Fn6(n5) { + let i5 = O7(171); + return i5.expression = _9().parenthesizeLeftSideOfAccess(n5, false), i5.transformFlags |= z8(i5.expression) | 1 | 8192 | 33554432, i5; + } + function zn9(n5, i5) { + return n5.expression !== i5 ? j9(Fn6(i5), n5) : n5; + } + function Or7(n5, i5, s5, l5) { + let d5 = ae9(172); + return d5.modifiers = Pe10(n5), d5.name = et11(i5), d5.type = l5, d5.questionToken = s5, d5.transformFlags = 1, d5.initializer = void 0, d5.jsDoc = void 0, d5; + } + function Vn7(n5, i5, s5, l5, d5) { + return n5.modifiers !== i5 || n5.name !== s5 || n5.questionToken !== l5 || n5.type !== d5 ? Ce10(Or7(i5, s5, l5, d5), n5) : n5; + } + function Ce10(n5, i5) { + return n5 !== i5 && (n5.initializer = i5.initializer), j9(n5, i5); + } + function yr7(n5, i5, s5, l5, d5) { + let v9 = ae9(173); + v9.modifiers = Pe10(n5), v9.name = et11(i5), v9.questionToken = s5 && Wd(s5) ? s5 : void 0, v9.exclamationToken = s5 && Vd(s5) ? s5 : void 0, v9.type = l5, v9.initializer = zi8(d5); + let F10 = v9.flags & 33554432 || Jn8(v9.modifiers) & 128; + return v9.transformFlags = ke10(v9.modifiers) | Ln7(v9.name) | z8(v9.initializer) | (F10 || v9.questionToken || v9.exclamationToken || v9.type ? 1 : 0) | (kf3(v9.name) || Jn8(v9.modifiers) & 256 && v9.initializer ? 8192 : 0) | 16777216, v9.jsDoc = void 0, v9; + } + function L9(n5, i5, s5, l5, d5, v9) { + return n5.modifiers !== i5 || n5.name !== s5 || n5.questionToken !== (l5 !== void 0 && Wd(l5) ? l5 : void 0) || n5.exclamationToken !== (l5 !== void 0 && Vd(l5) ? l5 : void 0) || n5.type !== d5 || n5.initializer !== v9 ? j9(yr7(i5, s5, l5, d5, v9), n5) : n5; + } + function se11(n5, i5, s5, l5, d5, v9) { + let F10 = ae9(174); + return F10.modifiers = Pe10(n5), F10.name = et11(i5), F10.questionToken = s5, F10.typeParameters = Pe10(l5), F10.parameters = Pe10(d5), F10.type = v9, F10.transformFlags = 1, F10.jsDoc = void 0, F10.locals = void 0, F10.nextContainer = void 0, F10.typeArguments = void 0, F10; + } + function fe10(n5, i5, s5, l5, d5, v9, F10) { + return n5.modifiers !== i5 || n5.name !== s5 || n5.questionToken !== l5 || n5.typeParameters !== d5 || n5.parameters !== v9 || n5.type !== F10 ? Oe11(se11(i5, s5, l5, d5, v9, F10), n5) : n5; + } + function Te10(n5, i5, s5, l5, d5, v9, F10, pe9) { + let Fe10 = ae9(175); + if (Fe10.modifiers = Pe10(n5), Fe10.asteriskToken = i5, Fe10.name = et11(s5), Fe10.questionToken = l5, Fe10.exclamationToken = void 0, Fe10.typeParameters = Pe10(d5), Fe10.parameters = de11(v9), Fe10.type = F10, Fe10.body = pe9, !Fe10.body) Fe10.transformFlags = 1; + else { + let It11 = Jn8(Fe10.modifiers) & 1024, fr10 = !!Fe10.asteriskToken, xn8 = It11 && fr10; + Fe10.transformFlags = ke10(Fe10.modifiers) | z8(Fe10.asteriskToken) | Ln7(Fe10.name) | z8(Fe10.questionToken) | ke10(Fe10.typeParameters) | ke10(Fe10.parameters) | z8(Fe10.type) | z8(Fe10.body) & -67108865 | (xn8 ? 128 : It11 ? 256 : fr10 ? 2048 : 0) | (Fe10.questionToken || Fe10.typeParameters || Fe10.type ? 1 : 0) | 1024; + } + return Fe10.typeArguments = void 0, Fe10.jsDoc = void 0, Fe10.locals = void 0, Fe10.nextContainer = void 0, Fe10.flowNode = void 0, Fe10.endFlowNode = void 0, Fe10.returnFlowNode = void 0, Fe10; + } + function He10(n5, i5, s5, l5, d5, v9, F10, pe9, Fe10) { + return n5.modifiers !== i5 || n5.asteriskToken !== s5 || n5.name !== l5 || n5.questionToken !== d5 || n5.typeParameters !== v9 || n5.parameters !== F10 || n5.type !== pe9 || n5.body !== Fe10 ? Qe11(Te10(i5, s5, l5, d5, v9, F10, pe9, Fe10), n5) : n5; + } + function Qe11(n5, i5) { + return n5 !== i5 && (n5.exclamationToken = i5.exclamationToken), j9(n5, i5); + } + function st8(n5) { + let i5 = ae9(176); + return i5.body = n5, i5.transformFlags = z8(n5) | 16777216, i5.modifiers = void 0, i5.jsDoc = void 0, i5.locals = void 0, i5.nextContainer = void 0, i5.endFlowNode = void 0, i5.returnFlowNode = void 0, i5; + } + function Ct12(n5, i5) { + return n5.body !== i5 ? Tt12(st8(i5), n5) : n5; + } + function Tt12(n5, i5) { + return n5 !== i5 && (n5.modifiers = i5.modifiers), j9(n5, i5); + } + function lt8(n5, i5, s5) { + let l5 = ae9(177); + return l5.modifiers = Pe10(n5), l5.parameters = de11(i5), l5.body = s5, l5.body ? l5.transformFlags = ke10(l5.modifiers) | ke10(l5.parameters) | z8(l5.body) & -67108865 | 1024 : l5.transformFlags = 1, l5.typeParameters = void 0, l5.type = void 0, l5.typeArguments = void 0, l5.jsDoc = void 0, l5.locals = void 0, l5.nextContainer = void 0, l5.endFlowNode = void 0, l5.returnFlowNode = void 0, l5; + } + function Mr8(n5, i5, s5, l5) { + return n5.modifiers !== i5 || n5.parameters !== s5 || n5.body !== l5 ? gr7(lt8(i5, s5, l5), n5) : n5; + } + function gr7(n5, i5) { + return n5 !== i5 && (n5.typeParameters = i5.typeParameters, n5.type = i5.type), Oe11(n5, i5); + } + function Nn6(n5, i5, s5, l5, d5) { + let v9 = ae9(178); + return v9.modifiers = Pe10(n5), v9.name = et11(i5), v9.parameters = de11(s5), v9.type = l5, v9.body = d5, v9.body ? v9.transformFlags = ke10(v9.modifiers) | Ln7(v9.name) | ke10(v9.parameters) | z8(v9.type) | z8(v9.body) & -67108865 | (v9.type ? 1 : 0) : v9.transformFlags = 1, v9.typeArguments = void 0, v9.typeParameters = void 0, v9.jsDoc = void 0, v9.locals = void 0, v9.nextContainer = void 0, v9.flowNode = void 0, v9.endFlowNode = void 0, v9.returnFlowNode = void 0, v9; + } + function Wn8(n5, i5, s5, l5, d5, v9) { + return n5.modifiers !== i5 || n5.name !== s5 || n5.parameters !== l5 || n5.type !== d5 || n5.body !== v9 ? wi10(Nn6(i5, s5, l5, d5, v9), n5) : n5; + } + function wi10(n5, i5) { + return n5 !== i5 && (n5.typeParameters = i5.typeParameters), Oe11(n5, i5); + } + function U9(n5, i5, s5, l5) { + let d5 = ae9(179); + return d5.modifiers = Pe10(n5), d5.name = et11(i5), d5.parameters = de11(s5), d5.body = l5, d5.body ? d5.transformFlags = ke10(d5.modifiers) | Ln7(d5.name) | ke10(d5.parameters) | z8(d5.body) & -67108865 | (d5.type ? 1 : 0) : d5.transformFlags = 1, d5.typeArguments = void 0, d5.typeParameters = void 0, d5.type = void 0, d5.jsDoc = void 0, d5.locals = void 0, d5.nextContainer = void 0, d5.flowNode = void 0, d5.endFlowNode = void 0, d5.returnFlowNode = void 0, d5; + } + function K11(n5, i5, s5, l5, d5) { + return n5.modifiers !== i5 || n5.name !== s5 || n5.parameters !== l5 || n5.body !== d5 ? Z9(U9(i5, s5, l5, d5), n5) : n5; + } + function Z9(n5, i5) { + return n5 !== i5 && (n5.typeParameters = i5.typeParameters, n5.type = i5.type), Oe11(n5, i5); + } + function xe10(n5, i5, s5) { + let l5 = ae9(180); + return l5.typeParameters = Pe10(n5), l5.parameters = Pe10(i5), l5.type = s5, l5.transformFlags = 1, l5.jsDoc = void 0, l5.locals = void 0, l5.nextContainer = void 0, l5.typeArguments = void 0, l5; + } + function Se11(n5, i5, s5, l5) { + return n5.typeParameters !== i5 || n5.parameters !== s5 || n5.type !== l5 ? Oe11(xe10(i5, s5, l5), n5) : n5; + } + function we9(n5, i5, s5) { + let l5 = ae9(181); + return l5.typeParameters = Pe10(n5), l5.parameters = Pe10(i5), l5.type = s5, l5.transformFlags = 1, l5.jsDoc = void 0, l5.locals = void 0, l5.nextContainer = void 0, l5.typeArguments = void 0, l5; + } + function me12(n5, i5, s5, l5) { + return n5.typeParameters !== i5 || n5.parameters !== s5 || n5.type !== l5 ? Oe11(we9(i5, s5, l5), n5) : n5; + } + function Ve9(n5, i5, s5) { + let l5 = ae9(182); + return l5.modifiers = Pe10(n5), l5.parameters = Pe10(i5), l5.type = s5, l5.transformFlags = 1, l5.jsDoc = void 0, l5.locals = void 0, l5.nextContainer = void 0, l5.typeArguments = void 0, l5; + } + function Ze11(n5, i5, s5, l5) { + return n5.parameters !== s5 || n5.type !== l5 || n5.modifiers !== i5 ? Oe11(Ve9(i5, s5, l5), n5) : n5; + } + function Ye10(n5, i5) { + let s5 = O7(205); + return s5.type = n5, s5.literal = i5, s5.transformFlags = 1, s5; + } + function Ee9(n5, i5, s5) { + return n5.type !== i5 || n5.literal !== s5 ? j9(Ye10(i5, s5), n5) : n5; + } + function gn8(n5) { + return ot8(n5); + } + function rt12(n5, i5, s5) { + let l5 = O7(183); + return l5.assertsModifier = n5, l5.parameterName = et11(i5), l5.type = s5, l5.transformFlags = 1, l5; + } + function on8(n5, i5, s5, l5) { + return n5.assertsModifier !== i5 || n5.parameterName !== s5 || n5.type !== l5 ? j9(rt12(i5, s5, l5), n5) : n5; + } + function Zr8(n5, i5) { + let s5 = O7(184); + return s5.typeName = et11(n5), s5.typeArguments = i5 && _9().parenthesizeTypeArguments(de11(i5)), s5.transformFlags = 1, s5; + } + function M10(n5, i5, s5) { + return n5.typeName !== i5 || n5.typeArguments !== s5 ? j9(Zr8(i5, s5), n5) : n5; + } + function Ue10(n5, i5, s5) { + let l5 = ae9(185); + return l5.typeParameters = Pe10(n5), l5.parameters = Pe10(i5), l5.type = s5, l5.transformFlags = 1, l5.modifiers = void 0, l5.jsDoc = void 0, l5.locals = void 0, l5.nextContainer = void 0, l5.typeArguments = void 0, l5; + } + function u(n5, i5, s5, l5) { + return n5.typeParameters !== i5 || n5.parameters !== s5 || n5.type !== l5 ? Ie11(Ue10(i5, s5, l5), n5) : n5; + } + function Ie11(n5, i5) { + return n5 !== i5 && (n5.modifiers = i5.modifiers), Oe11(n5, i5); + } + function Me12(...n5) { + return n5.length === 4 ? B7(...n5) : n5.length === 3 ? Be10(...n5) : q10.fail("Incorrect number of arguments specified."); + } + function B7(n5, i5, s5, l5) { + let d5 = ae9(186); + return d5.modifiers = Pe10(n5), d5.typeParameters = Pe10(i5), d5.parameters = Pe10(s5), d5.type = l5, d5.transformFlags = 1, d5.jsDoc = void 0, d5.locals = void 0, d5.nextContainer = void 0, d5.typeArguments = void 0, d5; + } + function Be10(n5, i5, s5) { + return B7(void 0, n5, i5, s5); + } + function nn10(...n5) { + return n5.length === 5 ? ze11(...n5) : n5.length === 4 ? Xe11(...n5) : q10.fail("Incorrect number of arguments specified."); + } + function ze11(n5, i5, s5, l5, d5) { + return n5.modifiers !== i5 || n5.typeParameters !== s5 || n5.parameters !== l5 || n5.type !== d5 ? Oe11(Me12(i5, s5, l5, d5), n5) : n5; + } + function Xe11(n5, i5, s5, l5) { + return ze11(n5, n5.modifiers, i5, s5, l5); + } + function Dt10(n5, i5) { + let s5 = O7(187); + return s5.exprName = n5, s5.typeArguments = i5 && _9().parenthesizeTypeArguments(i5), s5.transformFlags = 1, s5; + } + function wt11(n5, i5, s5) { + return n5.exprName !== i5 || n5.typeArguments !== s5 ? j9(Dt10(i5, s5), n5) : n5; + } + function Pt12(n5) { + let i5 = ae9(188); + return i5.members = de11(n5), i5.transformFlags = 1, i5; + } + function Ft11(n5, i5) { + return n5.members !== i5 ? j9(Pt12(i5), n5) : n5; + } + function Gn8(n5) { + let i5 = O7(189); + return i5.elementType = _9().parenthesizeNonArrayTypeOfPostfixType(n5), i5.transformFlags = 1, i5; + } + function ki10(n5, i5) { + return n5.elementType !== i5 ? j9(Gn8(i5), n5) : n5; + } + function cn9(n5) { + let i5 = O7(190); + return i5.elements = de11(_9().parenthesizeElementTypesOfTupleType(n5)), i5.transformFlags = 1, i5; + } + function H11(n5, i5) { + return n5.elements !== i5 ? j9(cn9(i5), n5) : n5; + } + function le9(n5, i5, s5, l5) { + let d5 = ae9(203); + return d5.dotDotDotToken = n5, d5.name = i5, d5.questionToken = s5, d5.type = l5, d5.transformFlags = 1, d5.jsDoc = void 0, d5; + } + function qe11(n5, i5, s5, l5, d5) { + return n5.dotDotDotToken !== i5 || n5.name !== s5 || n5.questionToken !== l5 || n5.type !== d5 ? j9(le9(i5, s5, l5, d5), n5) : n5; + } + function ve11(n5) { + let i5 = O7(191); + return i5.type = _9().parenthesizeTypeOfOptionalType(n5), i5.transformFlags = 1, i5; + } + function J12(n5, i5) { + return n5.type !== i5 ? j9(ve11(i5), n5) : n5; + } + function mt10(n5) { + let i5 = O7(192); + return i5.type = n5, i5.transformFlags = 1, i5; + } + function xt10(n5, i5) { + return n5.type !== i5 ? j9(mt10(i5), n5) : n5; + } + function Jt10(n5, i5, s5) { + let l5 = O7(n5); + return l5.types = he11.createNodeArray(s5(i5)), l5.transformFlags = 1, l5; + } + function ln9(n5, i5, s5) { + return n5.types !== i5 ? j9(Jt10(n5.kind, i5, s5), n5) : n5; + } + function ql4(n5) { + return Jt10(193, n5, _9().parenthesizeConstituentTypesOfUnionType); + } + function C_(n5, i5) { + return ln9(n5, i5, _9().parenthesizeConstituentTypesOfUnionType); + } + function Lr8(n5) { + return Jt10(194, n5, _9().parenthesizeConstituentTypesOfIntersectionType); + } + function Le11(n5, i5) { + return ln9(n5, i5, _9().parenthesizeConstituentTypesOfIntersectionType); + } + function pt10(n5, i5, s5, l5) { + let d5 = O7(195); + return d5.checkType = _9().parenthesizeCheckTypeOfConditionalType(n5), d5.extendsType = _9().parenthesizeExtendsTypeOfConditionalType(i5), d5.trueType = s5, d5.falseType = l5, d5.transformFlags = 1, d5.locals = void 0, d5.nextContainer = void 0, d5; + } + function Fl3(n5, i5, s5, l5, d5) { + return n5.checkType !== i5 || n5.extendsType !== s5 || n5.trueType !== l5 || n5.falseType !== d5 ? j9(pt10(i5, s5, l5, d5), n5) : n5; + } + function Yn7(n5) { + let i5 = O7(196); + return i5.typeParameter = n5, i5.transformFlags = 1, i5; + } + function zl4(n5, i5) { + return n5.typeParameter !== i5 ? j9(Yn7(i5), n5) : n5; + } + function Wt10(n5, i5) { + let s5 = O7(204); + return s5.head = n5, s5.templateSpans = de11(i5), s5.transformFlags = 1, s5; + } + function Vl4(n5, i5, s5) { + return n5.head !== i5 || n5.templateSpans !== s5 ? j9(Wt10(i5, s5), n5) : n5; + } + function _r8(n5, i5, s5, l5, d5 = false) { + let v9 = O7(206); + return v9.argument = n5, v9.attributes = i5, v9.assertions && v9.assertions.assertClause && v9.attributes && (v9.assertions.assertClause = v9.attributes), v9.qualifier = s5, v9.typeArguments = l5 && _9().parenthesizeTypeArguments(l5), v9.isTypeOf = d5, v9.transformFlags = 1, v9; + } + function oa3(n5, i5, s5, l5, d5, v9 = n5.isTypeOf) { + return n5.argument !== i5 || n5.attributes !== s5 || n5.qualifier !== l5 || n5.typeArguments !== d5 || n5.isTypeOf !== v9 ? j9(_r8(i5, s5, l5, d5, v9), n5) : n5; + } + function Qt10(n5) { + let i5 = O7(197); + return i5.type = n5, i5.transformFlags = 1, i5; + } + function At12(n5, i5) { + return n5.type !== i5 ? j9(Qt10(i5), n5) : n5; + } + function P8() { + let n5 = O7(198); + return n5.transformFlags = 1, n5; + } + function Gt9(n5, i5) { + let s5 = O7(199); + return s5.operator = n5, s5.type = n5 === 148 ? _9().parenthesizeOperandOfReadonlyTypeOperator(i5) : _9().parenthesizeOperandOfTypeOperator(i5), s5.transformFlags = 1, s5; + } + function Jr6(n5, i5) { + return n5.type !== i5 ? j9(Gt9(n5.operator, i5), n5) : n5; + } + function or9(n5, i5) { + let s5 = O7(200); + return s5.objectType = _9().parenthesizeNonArrayTypeOfPostfixType(n5), s5.indexType = i5, s5.transformFlags = 1, s5; + } + function Ka4(n5, i5, s5) { + return n5.objectType !== i5 || n5.indexType !== s5 ? j9(or9(i5, s5), n5) : n5; + } + function gt10(n5, i5, s5, l5, d5, v9) { + let F10 = ae9(201); + return F10.readonlyToken = n5, F10.typeParameter = i5, F10.nameType = s5, F10.questionToken = l5, F10.type = d5, F10.members = v9 && de11(v9), F10.transformFlags = 1, F10.locals = void 0, F10.nextContainer = void 0, F10; + } + function jt8(n5, i5, s5, l5, d5, v9, F10) { + return n5.readonlyToken !== i5 || n5.typeParameter !== s5 || n5.nameType !== l5 || n5.questionToken !== d5 || n5.type !== v9 || n5.members !== F10 ? j9(gt10(i5, s5, l5, d5, v9, F10), n5) : n5; + } + function ei10(n5) { + let i5 = O7(202); + return i5.literal = n5, i5.transformFlags = 1, i5; + } + function br7(n5, i5) { + return n5.literal !== i5 ? j9(ei10(i5), n5) : n5; + } + function D_(n5) { + let i5 = O7(207); + return i5.elements = de11(n5), i5.transformFlags |= ke10(i5.elements) | 1024 | 524288, i5.transformFlags & 32768 && (i5.transformFlags |= 65664), i5; + } + function Wl4(n5, i5) { + return n5.elements !== i5 ? j9(D_(i5), n5) : n5; + } + function jr6(n5) { + let i5 = O7(208); + return i5.elements = de11(n5), i5.transformFlags |= ke10(i5.elements) | 1024 | 524288, i5; + } + function Gl4(n5, i5) { + return n5.elements !== i5 ? j9(jr6(i5), n5) : n5; + } + function ca4(n5, i5, s5, l5) { + let d5 = ae9(209); + return d5.dotDotDotToken = n5, d5.propertyName = et11(i5), d5.name = et11(s5), d5.initializer = zi8(l5), d5.transformFlags |= z8(d5.dotDotDotToken) | Ln7(d5.propertyName) | Ln7(d5.name) | z8(d5.initializer) | (d5.dotDotDotToken ? 32768 : 0) | 1024, d5.flowNode = void 0, d5; + } + function ti10(n5, i5, s5, l5, d5) { + return n5.propertyName !== s5 || n5.dotDotDotToken !== i5 || n5.name !== l5 || n5.initializer !== d5 ? j9(ca4(i5, s5, l5, d5), n5) : n5; + } + function Za3(n5, i5) { + let s5 = O7(210), l5 = n5 && Ba5(n5), d5 = de11(n5, l5 && W1(l5) ? true : void 0); + return s5.elements = _9().parenthesizeExpressionsOfCommaDelimitedList(d5), s5.multiLine = i5, s5.transformFlags |= ke10(s5.elements), s5; + } + function P_(n5, i5) { + return n5.elements !== i5 ? j9(Za3(i5, n5.multiLine), n5) : n5; + } + function Ei10(n5, i5) { + let s5 = ae9(211); + return s5.properties = de11(n5), s5.multiLine = i5, s5.transformFlags |= ke10(s5.properties), s5.jsDoc = void 0, s5; + } + function Yl4(n5, i5) { + return n5.properties !== i5 ? j9(Ei10(i5, n5.multiLine), n5) : n5; + } + function N_(n5, i5, s5) { + let l5 = ae9(212); + return l5.expression = n5, l5.questionDotToken = i5, l5.name = s5, l5.transformFlags = z8(l5.expression) | z8(l5.questionDotToken) | (Ke11(l5.name) ? ja5(l5.name) : z8(l5.name) | 536870912), l5.jsDoc = void 0, l5.flowNode = void 0, l5; + } + function cr8(n5, i5) { + let s5 = N_(_9().parenthesizeLeftSideOfAccess(n5, false), void 0, et11(i5)); + return Ap2(n5) && (s5.transformFlags |= 384), s5; + } + function Hl4(n5, i5, s5) { + return Og(n5) ? la3(n5, i5, n5.questionDotToken, Er6(s5, Ke11)) : n5.expression !== i5 || n5.name !== s5 ? j9(cr8(i5, s5), n5) : n5; + } + function Ai9(n5, i5, s5) { + let l5 = N_(_9().parenthesizeLeftSideOfAccess(n5, true), i5, et11(s5)); + return l5.flags |= 64, l5.transformFlags |= 32, l5; + } + function la3(n5, i5, s5, l5) { + return q10.assert(!!(n5.flags & 64), "Cannot update a PropertyAccessExpression using updatePropertyAccessChain. Use updatePropertyAccess instead."), n5.expression !== i5 || n5.questionDotToken !== s5 || n5.name !== l5 ? j9(Ai9(i5, s5, l5), n5) : n5; + } + function I_(n5, i5, s5) { + let l5 = ae9(213); + return l5.expression = n5, l5.questionDotToken = i5, l5.argumentExpression = s5, l5.transformFlags |= z8(l5.expression) | z8(l5.questionDotToken) | z8(l5.argumentExpression), l5.jsDoc = void 0, l5.flowNode = void 0, l5; + } + function Ci8(n5, i5) { + let s5 = I_(_9().parenthesizeLeftSideOfAccess(n5, false), void 0, wr6(i5)); + return Ap2(n5) && (s5.transformFlags |= 384), s5; + } + function Xl4(n5, i5, s5) { + return Mg(n5) ? es8(n5, i5, n5.questionDotToken, s5) : n5.expression !== i5 || n5.argumentExpression !== s5 ? j9(Ci8(i5, s5), n5) : n5; + } + function O_(n5, i5, s5) { + let l5 = I_(_9().parenthesizeLeftSideOfAccess(n5, true), i5, wr6(s5)); + return l5.flags |= 64, l5.transformFlags |= 32, l5; + } + function es8(n5, i5, s5, l5) { + return q10.assert(!!(n5.flags & 64), "Cannot update a ElementAccessExpression using updateElementAccessChain. Use updateElementAccess instead."), n5.expression !== i5 || n5.questionDotToken !== s5 || n5.argumentExpression !== l5 ? j9(O_(i5, s5, l5), n5) : n5; + } + function M_(n5, i5, s5, l5) { + let d5 = ae9(214); + return d5.expression = n5, d5.questionDotToken = i5, d5.typeArguments = s5, d5.arguments = l5, d5.transformFlags |= z8(d5.expression) | z8(d5.questionDotToken) | ke10(d5.typeArguments) | ke10(d5.arguments), d5.typeArguments && (d5.transformFlags |= 1), Jd(d5.expression) && (d5.transformFlags |= 16384), d5; + } + function Di8(n5, i5, s5) { + let l5 = M_(_9().parenthesizeLeftSideOfAccess(n5, false), void 0, Pe10(i5), _9().parenthesizeExpressionsOfCommaDelimitedList(de11(s5))); + return Bb(l5.expression) && (l5.transformFlags |= 8388608), l5; + } + function ua5(n5, i5, s5, l5) { + return Dd(n5) ? L_(n5, i5, n5.questionDotToken, s5, l5) : n5.expression !== i5 || n5.typeArguments !== s5 || n5.arguments !== l5 ? j9(Di8(i5, s5, l5), n5) : n5; + } + function ts8(n5, i5, s5, l5) { + let d5 = M_(_9().parenthesizeLeftSideOfAccess(n5, true), i5, Pe10(s5), _9().parenthesizeExpressionsOfCommaDelimitedList(de11(l5))); + return d5.flags |= 64, d5.transformFlags |= 32, d5; + } + function L_(n5, i5, s5, l5, d5) { + return q10.assert(!!(n5.flags & 64), "Cannot update a CallExpression using updateCallChain. Use updateCall instead."), n5.expression !== i5 || n5.questionDotToken !== s5 || n5.typeArguments !== l5 || n5.arguments !== d5 ? j9(ts8(i5, s5, l5, d5), n5) : n5; + } + function bn7(n5, i5, s5) { + let l5 = ae9(215); + return l5.expression = _9().parenthesizeExpressionOfNew(n5), l5.typeArguments = Pe10(i5), l5.arguments = s5 ? _9().parenthesizeExpressionsOfCommaDelimitedList(s5) : void 0, l5.transformFlags |= z8(l5.expression) | ke10(l5.typeArguments) | ke10(l5.arguments) | 32, l5.typeArguments && (l5.transformFlags |= 1), l5; + } + function ns8(n5, i5, s5, l5) { + return n5.expression !== i5 || n5.typeArguments !== s5 || n5.arguments !== l5 ? j9(bn7(i5, s5, l5), n5) : n5; + } + function pa5(n5, i5, s5) { + let l5 = O7(216); + return l5.tag = _9().parenthesizeLeftSideOfAccess(n5, false), l5.typeArguments = Pe10(i5), l5.template = s5, l5.transformFlags |= z8(l5.tag) | ke10(l5.typeArguments) | z8(l5.template) | 1024, l5.typeArguments && (l5.transformFlags |= 1), R23(l5.template) && (l5.transformFlags |= 128), l5; + } + function J_(n5, i5, s5, l5) { + return n5.tag !== i5 || n5.typeArguments !== s5 || n5.template !== l5 ? j9(pa5(i5, s5, l5), n5) : n5; + } + function j_(n5, i5) { + let s5 = O7(217); + return s5.expression = _9().parenthesizeOperandOfPrefixUnary(i5), s5.type = n5, s5.transformFlags |= z8(s5.expression) | z8(s5.type) | 1, s5; + } + function R_(n5, i5, s5) { + return n5.type !== i5 || n5.expression !== s5 ? j9(j_(i5, s5), n5) : n5; + } + function rs8(n5) { + let i5 = O7(218); + return i5.expression = n5, i5.transformFlags = z8(i5.expression), i5.jsDoc = void 0, i5; + } + function U_(n5, i5) { + return n5.expression !== i5 ? j9(rs8(i5), n5) : n5; + } + function is9(n5, i5, s5, l5, d5, v9, F10) { + let pe9 = ae9(219); + pe9.modifiers = Pe10(n5), pe9.asteriskToken = i5, pe9.name = et11(s5), pe9.typeParameters = Pe10(l5), pe9.parameters = de11(d5), pe9.type = v9, pe9.body = F10; + let Fe10 = Jn8(pe9.modifiers) & 1024, It11 = !!pe9.asteriskToken, fr10 = Fe10 && It11; + return pe9.transformFlags = ke10(pe9.modifiers) | z8(pe9.asteriskToken) | Ln7(pe9.name) | ke10(pe9.typeParameters) | ke10(pe9.parameters) | z8(pe9.type) | z8(pe9.body) & -67108865 | (fr10 ? 128 : Fe10 ? 256 : It11 ? 2048 : 0) | (pe9.typeParameters || pe9.type ? 1 : 0) | 4194304, pe9.typeArguments = void 0, pe9.jsDoc = void 0, pe9.locals = void 0, pe9.nextContainer = void 0, pe9.flowNode = void 0, pe9.endFlowNode = void 0, pe9.returnFlowNode = void 0, pe9; + } + function B_(n5, i5, s5, l5, d5, v9, F10, pe9) { + return n5.name !== l5 || n5.modifiers !== i5 || n5.asteriskToken !== s5 || n5.typeParameters !== d5 || n5.parameters !== v9 || n5.type !== F10 || n5.body !== pe9 ? Oe11(is9(i5, s5, l5, d5, v9, F10, pe9), n5) : n5; + } + function as8(n5, i5, s5, l5, d5, v9) { + let F10 = ae9(220); + F10.modifiers = Pe10(n5), F10.typeParameters = Pe10(i5), F10.parameters = de11(s5), F10.type = l5, F10.equalsGreaterThanToken = d5 ?? ot8(39), F10.body = _9().parenthesizeConciseBodyOfArrowFunction(v9); + let pe9 = Jn8(F10.modifiers) & 1024; + return F10.transformFlags = ke10(F10.modifiers) | ke10(F10.typeParameters) | ke10(F10.parameters) | z8(F10.type) | z8(F10.equalsGreaterThanToken) | z8(F10.body) & -67108865 | (F10.typeParameters || F10.type ? 1 : 0) | (pe9 ? 16640 : 0) | 1024, F10.typeArguments = void 0, F10.jsDoc = void 0, F10.locals = void 0, F10.nextContainer = void 0, F10.flowNode = void 0, F10.endFlowNode = void 0, F10.returnFlowNode = void 0, F10; + } + function q_(n5, i5, s5, l5, d5, v9, F10) { + return n5.modifiers !== i5 || n5.typeParameters !== s5 || n5.parameters !== l5 || n5.type !== d5 || n5.equalsGreaterThanToken !== v9 || n5.body !== F10 ? Oe11(as8(i5, s5, l5, d5, v9, F10), n5) : n5; + } + function F_(n5) { + let i5 = O7(221); + return i5.expression = _9().parenthesizeOperandOfPrefixUnary(n5), i5.transformFlags |= z8(i5.expression), i5; + } + function z_(n5, i5) { + return n5.expression !== i5 ? j9(F_(i5), n5) : n5; + } + function fa4(n5) { + let i5 = O7(222); + return i5.expression = _9().parenthesizeOperandOfPrefixUnary(n5), i5.transformFlags |= z8(i5.expression), i5; + } + function un8(n5, i5) { + return n5.expression !== i5 ? j9(fa4(i5), n5) : n5; + } + function ss9(n5) { + let i5 = O7(223); + return i5.expression = _9().parenthesizeOperandOfPrefixUnary(n5), i5.transformFlags |= z8(i5.expression), i5; + } + function lr8(n5, i5) { + return n5.expression !== i5 ? j9(ss9(i5), n5) : n5; + } + function V_(n5) { + let i5 = O7(224); + return i5.expression = _9().parenthesizeOperandOfPrefixUnary(n5), i5.transformFlags |= z8(i5.expression) | 256 | 128 | 2097152, i5; + } + function Rr7(n5, i5) { + return n5.expression !== i5 ? j9(V_(i5), n5) : n5; + } + function Ur8(n5, i5) { + let s5 = O7(225); + return s5.operator = n5, s5.operand = _9().parenthesizeOperandOfPrefixUnary(i5), s5.transformFlags |= z8(s5.operand), (n5 === 46 || n5 === 47) && Ke11(s5.operand) && !Ua5(s5.operand) && !Yd(s5.operand) && (s5.transformFlags |= 268435456), s5; + } + function $l4(n5, i5) { + return n5.operand !== i5 ? j9(Ur8(n5.operator, i5), n5) : n5; + } + function ni10(n5, i5) { + let s5 = O7(226); + return s5.operator = i5, s5.operand = _9().parenthesizeOperandOfPostfixUnary(n5), s5.transformFlags |= z8(s5.operand), Ke11(s5.operand) && !Ua5(s5.operand) && !Yd(s5.operand) && (s5.transformFlags |= 268435456), s5; + } + function Ql4(n5, i5) { + return n5.operand !== i5 ? j9(ni10(i5, n5.operator), n5) : n5; + } + function da5(n5, i5, s5) { + let l5 = ae9(227), d5 = mp2(i5), v9 = d5.kind; + return l5.left = _9().parenthesizeLeftSideOfBinary(v9, n5), l5.operatorToken = d5, l5.right = _9().parenthesizeRightSideOfBinary(v9, l5.left, s5), l5.transformFlags |= z8(l5.left) | z8(l5.operatorToken) | z8(l5.right), v9 === 61 ? l5.transformFlags |= 32 : v9 === 64 ? If3(l5.left) ? l5.transformFlags |= 5248 | W_(l5.left) : q1(l5.left) && (l5.transformFlags |= 5120 | W_(l5.left)) : v9 === 43 || v9 === 68 ? l5.transformFlags |= 512 : X23(v9) && (l5.transformFlags |= 16), v9 === 103 && gi10(l5.left) && (l5.transformFlags |= 536870912), l5.jsDoc = void 0, l5; + } + function W_(n5) { + return _h(n5) ? 65536 : 0; + } + function Kl4(n5, i5, s5, l5) { + return n5.left !== i5 || n5.operatorToken !== s5 || n5.right !== l5 ? j9(da5(i5, s5, l5), n5) : n5; + } + function G_(n5, i5, s5, l5, d5) { + let v9 = O7(228); + return v9.condition = _9().parenthesizeConditionOfConditionalExpression(n5), v9.questionToken = i5 ?? ot8(58), v9.whenTrue = _9().parenthesizeBranchOfConditionalExpression(s5), v9.colonToken = l5 ?? ot8(59), v9.whenFalse = _9().parenthesizeBranchOfConditionalExpression(d5), v9.transformFlags |= z8(v9.condition) | z8(v9.questionToken) | z8(v9.whenTrue) | z8(v9.colonToken) | z8(v9.whenFalse), v9.flowNodeWhenFalse = void 0, v9.flowNodeWhenTrue = void 0, v9; + } + function Y_(n5, i5, s5, l5, d5, v9) { + return n5.condition !== i5 || n5.questionToken !== s5 || n5.whenTrue !== l5 || n5.colonToken !== d5 || n5.whenFalse !== v9 ? j9(G_(i5, s5, l5, d5, v9), n5) : n5; + } + function H_(n5, i5) { + let s5 = O7(229); + return s5.head = n5, s5.templateSpans = de11(i5), s5.transformFlags |= z8(s5.head) | ke10(s5.templateSpans) | 1024, s5; + } + function Hn8(n5, i5, s5) { + return n5.head !== i5 || n5.templateSpans !== s5 ? j9(H_(i5, s5), n5) : n5; + } + function Pi8(n5, i5, s5, l5 = 0) { + q10.assert(!(l5 & -7177), "Unsupported template flags."); + let d5; + if (s5 !== void 0 && s5 !== i5 && (d5 = Nb(n5, s5), typeof d5 == "object")) return q10.fail("Invalid raw text"); + if (i5 === void 0) { + if (d5 === void 0) return q10.fail("Arguments 'text' and 'rawText' may not both be undefined."); + i5 = d5; + } else d5 !== void 0 && q10.assert(i5 === d5, "Expected argument 'text' to be the normalized (i.e. 'cooked') version of argument 'rawText'."); + return i5; + } + function X_(n5) { + let i5 = 1024; + return n5 && (i5 |= 128), i5; + } + function Zl4(n5, i5, s5, l5) { + let d5 = $t8(n5); + return d5.text = i5, d5.rawText = s5, d5.templateFlags = l5 & 7176, d5.transformFlags = X_(d5.templateFlags), d5; + } + function ri10(n5, i5, s5, l5) { + let d5 = ae9(n5); + return d5.text = i5, d5.rawText = s5, d5.templateFlags = l5 & 7176, d5.transformFlags = X_(d5.templateFlags), d5; + } + function ii10(n5, i5, s5, l5) { + return n5 === 15 ? ri10(n5, i5, s5, l5) : Zl4(n5, i5, s5, l5); + } + function $_(n5, i5, s5) { + return n5 = Pi8(16, n5, i5, s5), ii10(16, n5, i5, s5); + } + function ma5(n5, i5, s5) { + return n5 = Pi8(16, n5, i5, s5), ii10(17, n5, i5, s5); + } + function _s7(n5, i5, s5) { + return n5 = Pi8(16, n5, i5, s5), ii10(18, n5, i5, s5); + } + function eu4(n5, i5, s5) { + return n5 = Pi8(16, n5, i5, s5), ri10(15, n5, i5, s5); + } + function os12(n5, i5) { + q10.assert(!n5 || !!i5, "A `YieldExpression` with an asteriskToken must have an expression."); + let s5 = O7(230); + return s5.expression = i5 && _9().parenthesizeExpressionForDisallowedComma(i5), s5.asteriskToken = n5, s5.transformFlags |= z8(s5.expression) | z8(s5.asteriskToken) | 1024 | 128 | 1048576, s5; + } + function tu3(n5, i5, s5) { + return n5.expression !== s5 || n5.asteriskToken !== i5 ? j9(os12(i5, s5), n5) : n5; + } + function Q_(n5) { + let i5 = O7(231); + return i5.expression = _9().parenthesizeExpressionForDisallowedComma(n5), i5.transformFlags |= z8(i5.expression) | 1024 | 32768, i5; + } + function nu3(n5, i5) { + return n5.expression !== i5 ? j9(Q_(i5), n5) : n5; + } + function K_(n5, i5, s5, l5, d5) { + let v9 = ae9(232); + return v9.modifiers = Pe10(n5), v9.name = et11(i5), v9.typeParameters = Pe10(s5), v9.heritageClauses = Pe10(l5), v9.members = de11(d5), v9.transformFlags |= ke10(v9.modifiers) | Ln7(v9.name) | ke10(v9.typeParameters) | ke10(v9.heritageClauses) | ke10(v9.members) | (v9.typeParameters ? 1 : 0) | 1024, v9.jsDoc = void 0, v9; + } + function cs7(n5, i5, s5, l5, d5, v9) { + return n5.modifiers !== i5 || n5.name !== s5 || n5.typeParameters !== l5 || n5.heritageClauses !== d5 || n5.members !== v9 ? j9(K_(i5, s5, l5, d5, v9), n5) : n5; + } + function ls7() { + return O7(233); + } + function Z_(n5, i5) { + let s5 = O7(234); + return s5.expression = _9().parenthesizeLeftSideOfAccess(n5, false), s5.typeArguments = i5 && _9().parenthesizeTypeArguments(i5), s5.transformFlags |= z8(s5.expression) | ke10(s5.typeArguments) | 1024, s5; + } + function eo5(n5, i5, s5) { + return n5.expression !== i5 || n5.typeArguments !== s5 ? j9(Z_(i5, s5), n5) : n5; + } + function pn8(n5, i5) { + let s5 = O7(235); + return s5.expression = n5, s5.type = i5, s5.transformFlags |= z8(s5.expression) | z8(s5.type) | 1, s5; + } + function ha2(n5, i5, s5) { + return n5.expression !== i5 || n5.type !== s5 ? j9(pn8(i5, s5), n5) : n5; + } + function to6(n5) { + let i5 = O7(236); + return i5.expression = _9().parenthesizeLeftSideOfAccess(n5, false), i5.transformFlags |= z8(i5.expression) | 1, i5; + } + function no6(n5, i5) { + return Lg(n5) ? In7(n5, i5) : n5.expression !== i5 ? j9(to6(i5), n5) : n5; + } + function us8(n5, i5) { + let s5 = O7(239); + return s5.expression = n5, s5.type = i5, s5.transformFlags |= z8(s5.expression) | z8(s5.type) | 1, s5; + } + function ro5(n5, i5, s5) { + return n5.expression !== i5 || n5.type !== s5 ? j9(us8(i5, s5), n5) : n5; + } + function ps7(n5) { + let i5 = O7(236); + return i5.flags |= 64, i5.expression = _9().parenthesizeLeftSideOfAccess(n5, true), i5.transformFlags |= z8(i5.expression) | 1, i5; + } + function In7(n5, i5) { + return q10.assert(!!(n5.flags & 64), "Cannot update a NonNullExpression using updateNonNullChain. Use updateNonNullExpression instead."), n5.expression !== i5 ? j9(ps7(i5), n5) : n5; + } + function io5(n5, i5) { + let s5 = O7(237); + switch (s5.keywordToken = n5, s5.name = i5, s5.transformFlags |= z8(s5.name), n5) { + case 105: + s5.transformFlags |= 1024; + break; + case 102: + s5.transformFlags |= 32; + break; + default: + return q10.assertNever(n5); + } + return s5.flowNode = void 0, s5; + } + function fs14(n5, i5) { + return n5.name !== i5 ? j9(io5(n5.keywordToken, i5), n5) : n5; + } + function Xn9(n5, i5) { + let s5 = O7(240); + return s5.expression = n5, s5.literal = i5, s5.transformFlags |= z8(s5.expression) | z8(s5.literal) | 1024, s5; + } + function ya3(n5, i5, s5) { + return n5.expression !== i5 || n5.literal !== s5 ? j9(Xn9(i5, s5), n5) : n5; + } + function ao5() { + let n5 = O7(241); + return n5.transformFlags |= 1024, n5; + } + function Br8(n5, i5) { + let s5 = O7(242); + return s5.statements = de11(n5), s5.multiLine = i5, s5.transformFlags |= ke10(s5.statements), s5.jsDoc = void 0, s5.locals = void 0, s5.nextContainer = void 0, s5; + } + function ru4(n5, i5) { + return n5.statements !== i5 ? j9(Br8(i5, n5.multiLine), n5) : n5; + } + function ds7(n5, i5) { + let s5 = O7(244); + return s5.modifiers = Pe10(n5), s5.declarationList = $r7(i5) ? vs9(i5) : i5, s5.transformFlags |= ke10(s5.modifiers) | z8(s5.declarationList), Jn8(s5.modifiers) & 128 && (s5.transformFlags = 1), s5.jsDoc = void 0, s5.flowNode = void 0, s5; + } + function so5(n5, i5, s5) { + return n5.modifiers !== i5 || n5.declarationList !== s5 ? j9(ds7(i5, s5), n5) : n5; + } + function _o3() { + let n5 = O7(243); + return n5.jsDoc = void 0, n5; + } + function Ni9(n5) { + let i5 = O7(245); + return i5.expression = _9().parenthesizeExpressionOfExpressionStatement(n5), i5.transformFlags |= z8(i5.expression), i5.jsDoc = void 0, i5.flowNode = void 0, i5; + } + function oo6(n5, i5) { + return n5.expression !== i5 ? j9(Ni9(i5), n5) : n5; + } + function co5(n5, i5, s5) { + let l5 = O7(246); + return l5.expression = n5, l5.thenStatement = $n8(i5), l5.elseStatement = $n8(s5), l5.transformFlags |= z8(l5.expression) | z8(l5.thenStatement) | z8(l5.elseStatement), l5.jsDoc = void 0, l5.flowNode = void 0, l5; + } + function lo5(n5, i5, s5, l5) { + return n5.expression !== i5 || n5.thenStatement !== s5 || n5.elseStatement !== l5 ? j9(co5(i5, s5, l5), n5) : n5; + } + function uo5(n5, i5) { + let s5 = O7(247); + return s5.statement = $n8(n5), s5.expression = i5, s5.transformFlags |= z8(s5.statement) | z8(s5.expression), s5.jsDoc = void 0, s5.flowNode = void 0, s5; + } + function po6(n5, i5, s5) { + return n5.statement !== i5 || n5.expression !== s5 ? j9(uo5(i5, s5), n5) : n5; + } + function fo5(n5, i5) { + let s5 = O7(248); + return s5.expression = n5, s5.statement = $n8(i5), s5.transformFlags |= z8(s5.expression) | z8(s5.statement), s5.jsDoc = void 0, s5.flowNode = void 0, s5; + } + function iu3(n5, i5, s5) { + return n5.expression !== i5 || n5.statement !== s5 ? j9(fo5(i5, s5), n5) : n5; + } + function mo3(n5, i5, s5, l5) { + let d5 = O7(249); + return d5.initializer = n5, d5.condition = i5, d5.incrementor = s5, d5.statement = $n8(l5), d5.transformFlags |= z8(d5.initializer) | z8(d5.condition) | z8(d5.incrementor) | z8(d5.statement), d5.jsDoc = void 0, d5.locals = void 0, d5.nextContainer = void 0, d5.flowNode = void 0, d5; + } + function ho3(n5, i5, s5, l5, d5) { + return n5.initializer !== i5 || n5.condition !== s5 || n5.incrementor !== l5 || n5.statement !== d5 ? j9(mo3(i5, s5, l5, d5), n5) : n5; + } + function ms8(n5, i5, s5) { + let l5 = O7(250); + return l5.initializer = n5, l5.expression = i5, l5.statement = $n8(s5), l5.transformFlags |= z8(l5.initializer) | z8(l5.expression) | z8(l5.statement), l5.jsDoc = void 0, l5.locals = void 0, l5.nextContainer = void 0, l5.flowNode = void 0, l5; + } + function au3(n5, i5, s5, l5) { + return n5.initializer !== i5 || n5.expression !== s5 || n5.statement !== l5 ? j9(ms8(i5, s5, l5), n5) : n5; + } + function yo3(n5, i5, s5, l5) { + let d5 = O7(251); + return d5.awaitModifier = n5, d5.initializer = i5, d5.expression = _9().parenthesizeExpressionForDisallowedComma(s5), d5.statement = $n8(l5), d5.transformFlags |= z8(d5.awaitModifier) | z8(d5.initializer) | z8(d5.expression) | z8(d5.statement) | 1024, n5 && (d5.transformFlags |= 128), d5.jsDoc = void 0, d5.locals = void 0, d5.nextContainer = void 0, d5.flowNode = void 0, d5; + } + function su3(n5, i5, s5, l5, d5) { + return n5.awaitModifier !== i5 || n5.initializer !== s5 || n5.expression !== l5 || n5.statement !== d5 ? j9(yo3(i5, s5, l5, d5), n5) : n5; + } + function go3(n5) { + let i5 = O7(252); + return i5.label = et11(n5), i5.transformFlags |= z8(i5.label) | 4194304, i5.jsDoc = void 0, i5.flowNode = void 0, i5; + } + function _u4(n5, i5) { + return n5.label !== i5 ? j9(go3(i5), n5) : n5; + } + function hs8(n5) { + let i5 = O7(253); + return i5.label = et11(n5), i5.transformFlags |= z8(i5.label) | 4194304, i5.jsDoc = void 0, i5.flowNode = void 0, i5; + } + function bo5(n5, i5) { + return n5.label !== i5 ? j9(hs8(i5), n5) : n5; + } + function ys8(n5) { + let i5 = O7(254); + return i5.expression = n5, i5.transformFlags |= z8(i5.expression) | 128 | 4194304, i5.jsDoc = void 0, i5.flowNode = void 0, i5; + } + function ou3(n5, i5) { + return n5.expression !== i5 ? j9(ys8(i5), n5) : n5; + } + function gs7(n5, i5) { + let s5 = O7(255); + return s5.expression = n5, s5.statement = $n8(i5), s5.transformFlags |= z8(s5.expression) | z8(s5.statement), s5.jsDoc = void 0, s5.flowNode = void 0, s5; + } + function vo4(n5, i5, s5) { + return n5.expression !== i5 || n5.statement !== s5 ? j9(gs7(i5, s5), n5) : n5; + } + function bs8(n5, i5) { + let s5 = O7(256); + return s5.expression = _9().parenthesizeExpressionForDisallowedComma(n5), s5.caseBlock = i5, s5.transformFlags |= z8(s5.expression) | z8(s5.caseBlock), s5.jsDoc = void 0, s5.flowNode = void 0, s5.possiblyExhaustive = false, s5; + } + function ai10(n5, i5, s5) { + return n5.expression !== i5 || n5.caseBlock !== s5 ? j9(bs8(i5, s5), n5) : n5; + } + function To4(n5, i5) { + let s5 = O7(257); + return s5.label = et11(n5), s5.statement = $n8(i5), s5.transformFlags |= z8(s5.label) | z8(s5.statement), s5.jsDoc = void 0, s5.flowNode = void 0, s5; + } + function xo4(n5, i5, s5) { + return n5.label !== i5 || n5.statement !== s5 ? j9(To4(i5, s5), n5) : n5; + } + function So4(n5) { + let i5 = O7(258); + return i5.expression = n5, i5.transformFlags |= z8(i5.expression), i5.jsDoc = void 0, i5.flowNode = void 0, i5; + } + function cu3(n5, i5) { + return n5.expression !== i5 ? j9(So4(i5), n5) : n5; + } + function wo6(n5, i5, s5) { + let l5 = O7(259); + return l5.tryBlock = n5, l5.catchClause = i5, l5.finallyBlock = s5, l5.transformFlags |= z8(l5.tryBlock) | z8(l5.catchClause) | z8(l5.finallyBlock), l5.jsDoc = void 0, l5.flowNode = void 0, l5; + } + function lu4(n5, i5, s5, l5) { + return n5.tryBlock !== i5 || n5.catchClause !== s5 || n5.finallyBlock !== l5 ? j9(wo6(i5, s5, l5), n5) : n5; + } + function ko3() { + let n5 = O7(260); + return n5.jsDoc = void 0, n5.flowNode = void 0, n5; + } + function ga2(n5, i5, s5, l5) { + let d5 = ae9(261); + return d5.name = et11(n5), d5.exclamationToken = i5, d5.type = s5, d5.initializer = zi8(l5), d5.transformFlags |= Ln7(d5.name) | z8(d5.initializer) | (d5.exclamationToken ?? d5.type ? 1 : 0), d5.jsDoc = void 0, d5; + } + function Eo3(n5, i5, s5, l5, d5) { + return n5.name !== i5 || n5.type !== l5 || n5.exclamationToken !== s5 || n5.initializer !== d5 ? j9(ga2(i5, s5, l5, d5), n5) : n5; + } + function vs9(n5, i5 = 0) { + let s5 = O7(262); + return s5.flags |= i5 & 7, s5.declarations = de11(n5), s5.transformFlags |= ke10(s5.declarations) | 4194304, i5 & 7 && (s5.transformFlags |= 263168), i5 & 4 && (s5.transformFlags |= 4), s5; + } + function uu4(n5, i5) { + return n5.declarations !== i5 ? j9(vs9(i5, n5.flags), n5) : n5; + } + function Ao3(n5, i5, s5, l5, d5, v9, F10) { + let pe9 = ae9(263); + if (pe9.modifiers = Pe10(n5), pe9.asteriskToken = i5, pe9.name = et11(s5), pe9.typeParameters = Pe10(l5), pe9.parameters = de11(d5), pe9.type = v9, pe9.body = F10, !pe9.body || Jn8(pe9.modifiers) & 128) pe9.transformFlags = 1; + else { + let Fe10 = Jn8(pe9.modifiers) & 1024, It11 = !!pe9.asteriskToken, fr10 = Fe10 && It11; + pe9.transformFlags = ke10(pe9.modifiers) | z8(pe9.asteriskToken) | Ln7(pe9.name) | ke10(pe9.typeParameters) | ke10(pe9.parameters) | z8(pe9.type) | z8(pe9.body) & -67108865 | (fr10 ? 128 : Fe10 ? 256 : It11 ? 2048 : 0) | (pe9.typeParameters || pe9.type ? 1 : 0) | 4194304; + } + return pe9.typeArguments = void 0, pe9.jsDoc = void 0, pe9.locals = void 0, pe9.nextContainer = void 0, pe9.endFlowNode = void 0, pe9.returnFlowNode = void 0, pe9; + } + function Ts6(n5, i5, s5, l5, d5, v9, F10, pe9) { + return n5.modifiers !== i5 || n5.asteriskToken !== s5 || n5.name !== l5 || n5.typeParameters !== d5 || n5.parameters !== v9 || n5.type !== F10 || n5.body !== pe9 ? pu2(Ao3(i5, s5, l5, d5, v9, F10, pe9), n5) : n5; + } + function pu2(n5, i5) { + return n5 !== i5 && n5.modifiers === i5.modifiers && (n5.modifiers = i5.modifiers), Oe11(n5, i5); + } + function Co3(n5, i5, s5, l5, d5) { + let v9 = ae9(264); + return v9.modifiers = Pe10(n5), v9.name = et11(i5), v9.typeParameters = Pe10(s5), v9.heritageClauses = Pe10(l5), v9.members = de11(d5), Jn8(v9.modifiers) & 128 ? v9.transformFlags = 1 : (v9.transformFlags |= ke10(v9.modifiers) | Ln7(v9.name) | ke10(v9.typeParameters) | ke10(v9.heritageClauses) | ke10(v9.members) | (v9.typeParameters ? 1 : 0) | 1024, v9.transformFlags & 8192 && (v9.transformFlags |= 1)), v9.jsDoc = void 0, v9; + } + function ba3(n5, i5, s5, l5, d5, v9) { + return n5.modifiers !== i5 || n5.name !== s5 || n5.typeParameters !== l5 || n5.heritageClauses !== d5 || n5.members !== v9 ? j9(Co3(i5, s5, l5, d5, v9), n5) : n5; + } + function Do3(n5, i5, s5, l5, d5) { + let v9 = ae9(265); + return v9.modifiers = Pe10(n5), v9.name = et11(i5), v9.typeParameters = Pe10(s5), v9.heritageClauses = Pe10(l5), v9.members = de11(d5), v9.transformFlags = 1, v9.jsDoc = void 0, v9; + } + function Po5(n5, i5, s5, l5, d5, v9) { + return n5.modifiers !== i5 || n5.name !== s5 || n5.typeParameters !== l5 || n5.heritageClauses !== d5 || n5.members !== v9 ? j9(Do3(i5, s5, l5, d5, v9), n5) : n5; + } + function _t9(n5, i5, s5, l5) { + let d5 = ae9(266); + return d5.modifiers = Pe10(n5), d5.name = et11(i5), d5.typeParameters = Pe10(s5), d5.type = l5, d5.transformFlags = 1, d5.jsDoc = void 0, d5.locals = void 0, d5.nextContainer = void 0, d5; + } + function vr6(n5, i5, s5, l5, d5) { + return n5.modifiers !== i5 || n5.name !== s5 || n5.typeParameters !== l5 || n5.type !== d5 ? j9(_t9(i5, s5, l5, d5), n5) : n5; + } + function xs8(n5, i5, s5) { + let l5 = ae9(267); + return l5.modifiers = Pe10(n5), l5.name = et11(i5), l5.members = de11(s5), l5.transformFlags |= ke10(l5.modifiers) | z8(l5.name) | ke10(l5.members) | 1, l5.transformFlags &= -67108865, l5.jsDoc = void 0, l5; + } + function Tr7(n5, i5, s5, l5) { + return n5.modifiers !== i5 || n5.name !== s5 || n5.members !== l5 ? j9(xs8(i5, s5, l5), n5) : n5; + } + function No3(n5, i5, s5, l5 = 0) { + let d5 = ae9(268); + return d5.modifiers = Pe10(n5), d5.flags |= l5 & 2088, d5.name = i5, d5.body = s5, Jn8(d5.modifiers) & 128 ? d5.transformFlags = 1 : d5.transformFlags |= ke10(d5.modifiers) | z8(d5.name) | z8(d5.body) | 1, d5.transformFlags &= -67108865, d5.jsDoc = void 0, d5.locals = void 0, d5.nextContainer = void 0, d5; + } + function kt12(n5, i5, s5, l5) { + return n5.modifiers !== i5 || n5.name !== s5 || n5.body !== l5 ? j9(No3(i5, s5, l5, n5.flags), n5) : n5; + } + function xr6(n5) { + let i5 = O7(269); + return i5.statements = de11(n5), i5.transformFlags |= ke10(i5.statements), i5.jsDoc = void 0, i5; + } + function zt10(n5, i5) { + return n5.statements !== i5 ? j9(xr6(i5), n5) : n5; + } + function Io5(n5) { + let i5 = O7(270); + return i5.clauses = de11(n5), i5.transformFlags |= ke10(i5.clauses), i5.locals = void 0, i5.nextContainer = void 0, i5; + } + function fu4(n5, i5) { + return n5.clauses !== i5 ? j9(Io5(i5), n5) : n5; + } + function Oo5(n5) { + let i5 = ae9(271); + return i5.name = et11(n5), i5.transformFlags |= ja5(i5.name) | 1, i5.modifiers = void 0, i5.jsDoc = void 0, i5; + } + function Mo3(n5, i5) { + return n5.name !== i5 ? du4(Oo5(i5), n5) : n5; + } + function du4(n5, i5) { + return n5 !== i5 && (n5.modifiers = i5.modifiers), j9(n5, i5); + } + function Lo4(n5, i5, s5, l5) { + let d5 = ae9(272); + return d5.modifiers = Pe10(n5), d5.name = et11(s5), d5.isTypeOnly = i5, d5.moduleReference = l5, d5.transformFlags |= ke10(d5.modifiers) | ja5(d5.name) | z8(d5.moduleReference), Ff2(d5.moduleReference) || (d5.transformFlags |= 1), d5.transformFlags &= -67108865, d5.jsDoc = void 0, d5; + } + function Jo5(n5, i5, s5, l5, d5) { + return n5.modifiers !== i5 || n5.isTypeOnly !== s5 || n5.name !== l5 || n5.moduleReference !== d5 ? j9(Lo4(i5, s5, l5, d5), n5) : n5; + } + function jo4(n5, i5, s5, l5) { + let d5 = O7(273); + return d5.modifiers = Pe10(n5), d5.importClause = i5, d5.moduleSpecifier = s5, d5.attributes = d5.assertClause = l5, d5.transformFlags |= z8(d5.importClause) | z8(d5.moduleSpecifier), d5.transformFlags &= -67108865, d5.jsDoc = void 0, d5; + } + function Ro3(n5, i5, s5, l5, d5) { + return n5.modifiers !== i5 || n5.importClause !== s5 || n5.moduleSpecifier !== l5 || n5.attributes !== d5 ? j9(jo4(i5, s5, l5, d5), n5) : n5; + } + function Uo4(n5, i5, s5) { + let l5 = ae9(274); + return typeof n5 == "boolean" && (n5 = n5 ? 156 : void 0), l5.isTypeOnly = n5 === 156, l5.phaseModifier = n5, l5.name = i5, l5.namedBindings = s5, l5.transformFlags |= z8(l5.name) | z8(l5.namedBindings), n5 === 156 && (l5.transformFlags |= 1), l5.transformFlags &= -67108865, l5; + } + function Bo4(n5, i5, s5, l5) { + return typeof i5 == "boolean" && (i5 = i5 ? 156 : void 0), n5.phaseModifier !== i5 || n5.name !== s5 || n5.namedBindings !== l5 ? j9(Uo4(i5, s5, l5), n5) : n5; + } + function Ss8(n5, i5) { + let s5 = O7(301); + return s5.elements = de11(n5), s5.multiLine = i5, s5.token = 132, s5.transformFlags |= 4, s5; + } + function mu3(n5, i5, s5) { + return n5.elements !== i5 || n5.multiLine !== s5 ? j9(Ss8(i5, s5), n5) : n5; + } + function Ii8(n5, i5) { + let s5 = O7(302); + return s5.name = n5, s5.value = i5, s5.transformFlags |= 4, s5; + } + function qo4(n5, i5, s5) { + return n5.name !== i5 || n5.value !== s5 ? j9(Ii8(i5, s5), n5) : n5; + } + function ws8(n5, i5) { + let s5 = O7(303); + return s5.assertClause = n5, s5.multiLine = i5, s5; + } + function Fo3(n5, i5, s5) { + return n5.assertClause !== i5 || n5.multiLine !== s5 ? j9(ws8(i5, s5), n5) : n5; + } + function zo4(n5, i5, s5) { + let l5 = O7(301); + return l5.token = s5 ?? 118, l5.elements = de11(n5), l5.multiLine = i5, l5.transformFlags |= 4, l5; + } + function ks8(n5, i5, s5) { + return n5.elements !== i5 || n5.multiLine !== s5 ? j9(zo4(i5, s5, n5.token), n5) : n5; + } + function Vo3(n5, i5) { + let s5 = O7(302); + return s5.name = n5, s5.value = i5, s5.transformFlags |= 4, s5; + } + function Wo3(n5, i5, s5) { + return n5.name !== i5 || n5.value !== s5 ? j9(Vo3(i5, s5), n5) : n5; + } + function Go3(n5) { + let i5 = ae9(275); + return i5.name = n5, i5.transformFlags |= z8(i5.name), i5.transformFlags &= -67108865, i5; + } + function hu4(n5, i5) { + return n5.name !== i5 ? j9(Go3(i5), n5) : n5; + } + function Yo4(n5) { + let i5 = ae9(281); + return i5.name = n5, i5.transformFlags |= z8(i5.name) | 32, i5.transformFlags &= -67108865, i5; + } + function yu5(n5, i5) { + return n5.name !== i5 ? j9(Yo4(i5), n5) : n5; + } + function Ho3(n5) { + let i5 = O7(276); + return i5.elements = de11(n5), i5.transformFlags |= ke10(i5.elements), i5.transformFlags &= -67108865, i5; + } + function Xo3(n5, i5) { + return n5.elements !== i5 ? j9(Ho3(i5), n5) : n5; + } + function Sr7(n5, i5, s5) { + let l5 = ae9(277); + return l5.isTypeOnly = n5, l5.propertyName = i5, l5.name = s5, l5.transformFlags |= z8(l5.propertyName) | z8(l5.name), l5.transformFlags &= -67108865, l5; + } + function gu4(n5, i5, s5, l5) { + return n5.isTypeOnly !== i5 || n5.propertyName !== s5 || n5.name !== l5 ? j9(Sr7(i5, s5, l5), n5) : n5; + } + function va4(n5, i5, s5) { + let l5 = ae9(278); + return l5.modifiers = Pe10(n5), l5.isExportEquals = i5, l5.expression = i5 ? _9().parenthesizeRightSideOfBinary(64, void 0, s5) : _9().parenthesizeExpressionOfExportDefault(s5), l5.transformFlags |= ke10(l5.modifiers) | z8(l5.expression), l5.transformFlags &= -67108865, l5.jsDoc = void 0, l5; + } + function Oi9(n5, i5, s5) { + return n5.modifiers !== i5 || n5.expression !== s5 ? j9(va4(i5, n5.isExportEquals, s5), n5) : n5; + } + function Ta3(n5, i5, s5, l5, d5) { + let v9 = ae9(279); + return v9.modifiers = Pe10(n5), v9.isTypeOnly = i5, v9.exportClause = s5, v9.moduleSpecifier = l5, v9.attributes = v9.assertClause = d5, v9.transformFlags |= ke10(v9.modifiers) | z8(v9.exportClause) | z8(v9.moduleSpecifier), v9.transformFlags &= -67108865, v9.jsDoc = void 0, v9; + } + function $o3(n5, i5, s5, l5, d5, v9) { + return n5.modifiers !== i5 || n5.isTypeOnly !== s5 || n5.exportClause !== l5 || n5.moduleSpecifier !== d5 || n5.attributes !== v9 ? Mi7(Ta3(i5, s5, l5, d5, v9), n5) : n5; + } + function Mi7(n5, i5) { + return n5 !== i5 && n5.modifiers === i5.modifiers && (n5.modifiers = i5.modifiers), j9(n5, i5); + } + function Es8(n5) { + let i5 = O7(280); + return i5.elements = de11(n5), i5.transformFlags |= ke10(i5.elements), i5.transformFlags &= -67108865, i5; + } + function bu4(n5, i5) { + return n5.elements !== i5 ? j9(Es8(i5), n5) : n5; + } + function xa5(n5, i5, s5) { + let l5 = O7(282); + return l5.isTypeOnly = n5, l5.propertyName = et11(i5), l5.name = et11(s5), l5.transformFlags |= z8(l5.propertyName) | z8(l5.name), l5.transformFlags &= -67108865, l5.jsDoc = void 0, l5; + } + function vu4(n5, i5, s5, l5) { + return n5.isTypeOnly !== i5 || n5.propertyName !== s5 || n5.name !== l5 ? j9(xa5(i5, s5, l5), n5) : n5; + } + function Tu5() { + let n5 = ae9(283); + return n5.jsDoc = void 0, n5; + } + function As8(n5) { + let i5 = O7(284); + return i5.expression = n5, i5.transformFlags |= z8(i5.expression), i5.transformFlags &= -67108865, i5; + } + function xu3(n5, i5) { + return n5.expression !== i5 ? j9(As8(i5), n5) : n5; + } + function Qo4(n5) { + return O7(n5); + } + function Ko3(n5, i5, s5 = false) { + let l5 = Cs6(n5, s5 ? i5 && _9().parenthesizeNonArrayTypeOfPostfixType(i5) : i5); + return l5.postfix = s5, l5; + } + function Cs6(n5, i5) { + let s5 = O7(n5); + return s5.type = i5, s5; + } + function Su3(n5, i5, s5) { + return i5.type !== s5 ? j9(Ko3(n5, s5, i5.postfix), i5) : i5; + } + function wu3(n5, i5, s5) { + return i5.type !== s5 ? j9(Cs6(n5, s5), i5) : i5; + } + function Zo3(n5, i5) { + let s5 = ae9(318); + return s5.parameters = Pe10(n5), s5.type = i5, s5.transformFlags = ke10(s5.parameters) | (s5.type ? 1 : 0), s5.jsDoc = void 0, s5.locals = void 0, s5.nextContainer = void 0, s5.typeArguments = void 0, s5; + } + function ku3(n5, i5, s5) { + return n5.parameters !== i5 || n5.type !== s5 ? j9(Zo3(i5, s5), n5) : n5; + } + function ec3(n5, i5 = false) { + let s5 = ae9(323); + return s5.jsDocPropertyTags = Pe10(n5), s5.isArrayType = i5, s5; + } + function Eu5(n5, i5, s5) { + return n5.jsDocPropertyTags !== i5 || n5.isArrayType !== s5 ? j9(ec3(i5, s5), n5) : n5; + } + function tc3(n5) { + let i5 = O7(310); + return i5.type = n5, i5; + } + function Ds8(n5, i5) { + return n5.type !== i5 ? j9(tc3(i5), n5) : n5; + } + function nc4(n5, i5, s5) { + let l5 = ae9(324); + return l5.typeParameters = Pe10(n5), l5.parameters = de11(i5), l5.type = s5, l5.jsDoc = void 0, l5.locals = void 0, l5.nextContainer = void 0, l5; + } + function Au3(n5, i5, s5, l5) { + return n5.typeParameters !== i5 || n5.parameters !== s5 || n5.type !== l5 ? j9(nc4(i5, s5, l5), n5) : n5; + } + function rn6(n5) { + let i5 = ol6(n5.kind); + return n5.tagName.escapedText === La3(i5) ? n5.tagName : We12(i5); + } + function vn7(n5, i5, s5) { + let l5 = O7(n5); + return l5.tagName = i5, l5.comment = s5, l5; + } + function qr6(n5, i5, s5) { + let l5 = ae9(n5); + return l5.tagName = i5, l5.comment = s5, l5; + } + function Ps9(n5, i5, s5, l5) { + let d5 = vn7(346, n5 ?? We12("template"), l5); + return d5.constraint = i5, d5.typeParameters = de11(s5), d5; + } + function rc3(n5, i5 = rn6(n5), s5, l5, d5) { + return n5.tagName !== i5 || n5.constraint !== s5 || n5.typeParameters !== l5 || n5.comment !== d5 ? j9(Ps9(i5, s5, l5, d5), n5) : n5; + } + function Sa2(n5, i5, s5, l5) { + let d5 = qr6(347, n5 ?? We12("typedef"), l5); + return d5.typeExpression = i5, d5.fullName = s5, d5.name = Hd(s5), d5.locals = void 0, d5.nextContainer = void 0, d5; + } + function Cu3(n5, i5 = rn6(n5), s5, l5, d5) { + return n5.tagName !== i5 || n5.typeExpression !== s5 || n5.fullName !== l5 || n5.comment !== d5 ? j9(Sa2(i5, s5, l5, d5), n5) : n5; + } + function Ns7(n5, i5, s5, l5, d5, v9) { + let F10 = qr6(342, n5 ?? We12("param"), v9); + return F10.typeExpression = l5, F10.name = i5, F10.isNameFirst = !!d5, F10.isBracketed = s5, F10; + } + function Du4(n5, i5 = rn6(n5), s5, l5, d5, v9, F10) { + return n5.tagName !== i5 || n5.name !== s5 || n5.isBracketed !== l5 || n5.typeExpression !== d5 || n5.isNameFirst !== v9 || n5.comment !== F10 ? j9(Ns7(i5, s5, l5, d5, v9, F10), n5) : n5; + } + function ic3(n5, i5, s5, l5, d5, v9) { + let F10 = qr6(349, n5 ?? We12("prop"), v9); + return F10.typeExpression = l5, F10.name = i5, F10.isNameFirst = !!d5, F10.isBracketed = s5, F10; + } + function ac3(n5, i5 = rn6(n5), s5, l5, d5, v9, F10) { + return n5.tagName !== i5 || n5.name !== s5 || n5.isBracketed !== l5 || n5.typeExpression !== d5 || n5.isNameFirst !== v9 || n5.comment !== F10 ? j9(ic3(i5, s5, l5, d5, v9, F10), n5) : n5; + } + function sc3(n5, i5, s5, l5) { + let d5 = qr6(339, n5 ?? We12("callback"), l5); + return d5.typeExpression = i5, d5.fullName = s5, d5.name = Hd(s5), d5.locals = void 0, d5.nextContainer = void 0, d5; + } + function _c3(n5, i5 = rn6(n5), s5, l5, d5) { + return n5.tagName !== i5 || n5.typeExpression !== s5 || n5.fullName !== l5 || n5.comment !== d5 ? j9(sc3(i5, s5, l5, d5), n5) : n5; + } + function oc4(n5, i5, s5) { + let l5 = vn7(340, n5 ?? We12("overload"), s5); + return l5.typeExpression = i5, l5; + } + function Is8(n5, i5 = rn6(n5), s5, l5) { + return n5.tagName !== i5 || n5.typeExpression !== s5 || n5.comment !== l5 ? j9(oc4(i5, s5, l5), n5) : n5; + } + function Os7(n5, i5, s5) { + let l5 = vn7(329, n5 ?? We12("augments"), s5); + return l5.class = i5, l5; + } + function Li8(n5, i5 = rn6(n5), s5, l5) { + return n5.tagName !== i5 || n5.class !== s5 || n5.comment !== l5 ? j9(Os7(i5, s5, l5), n5) : n5; + } + function cc4(n5, i5, s5) { + let l5 = vn7(330, n5 ?? We12("implements"), s5); + return l5.class = i5, l5; + } + function Fr7(n5, i5, s5) { + let l5 = vn7(348, n5 ?? We12("see"), s5); + return l5.name = i5, l5; + } + function wa4(n5, i5, s5, l5) { + return n5.tagName !== i5 || n5.name !== s5 || n5.comment !== l5 ? j9(Fr7(i5, s5, l5), n5) : n5; + } + function lc3(n5) { + let i5 = O7(311); + return i5.name = n5, i5; + } + function Pu3(n5, i5) { + return n5.name !== i5 ? j9(lc3(i5), n5) : n5; + } + function uc3(n5, i5) { + let s5 = O7(312); + return s5.left = n5, s5.right = i5, s5.transformFlags |= z8(s5.left) | z8(s5.right), s5; + } + function Nu4(n5, i5, s5) { + return n5.left !== i5 || n5.right !== s5 ? j9(uc3(i5, s5), n5) : n5; + } + function pc3(n5, i5) { + let s5 = O7(325); + return s5.name = n5, s5.text = i5, s5; + } + function fc3(n5, i5, s5) { + return n5.name !== i5 ? j9(pc3(i5, s5), n5) : n5; + } + function dc3(n5, i5) { + let s5 = O7(326); + return s5.name = n5, s5.text = i5, s5; + } + function Iu4(n5, i5, s5) { + return n5.name !== i5 ? j9(dc3(i5, s5), n5) : n5; + } + function mc3(n5, i5) { + let s5 = O7(327); + return s5.name = n5, s5.text = i5, s5; + } + function Ou5(n5, i5, s5) { + return n5.name !== i5 ? j9(mc3(i5, s5), n5) : n5; + } + function Mu4(n5, i5 = rn6(n5), s5, l5) { + return n5.tagName !== i5 || n5.class !== s5 || n5.comment !== l5 ? j9(cc4(i5, s5, l5), n5) : n5; + } + function hc3(n5, i5, s5) { + return vn7(n5, i5 ?? We12(ol6(n5)), s5); + } + function Lu4(n5, i5, s5 = rn6(i5), l5) { + return i5.tagName !== s5 || i5.comment !== l5 ? j9(hc3(n5, s5, l5), i5) : i5; + } + function yc3(n5, i5, s5, l5) { + let d5 = vn7(n5, i5 ?? We12(ol6(n5)), l5); + return d5.typeExpression = s5, d5; + } + function Ju5(n5, i5, s5 = rn6(i5), l5, d5) { + return i5.tagName !== s5 || i5.typeExpression !== l5 || i5.comment !== d5 ? j9(yc3(n5, s5, l5, d5), i5) : i5; + } + function gc3(n5, i5) { + return vn7(328, n5, i5); + } + function ju4(n5, i5, s5) { + return n5.tagName !== i5 || n5.comment !== s5 ? j9(gc3(i5, s5), n5) : n5; + } + function bc4(n5, i5, s5) { + let l5 = qr6(341, n5 ?? We12(ol6(341)), s5); + return l5.typeExpression = i5, l5.locals = void 0, l5.nextContainer = void 0, l5; + } + function Ms8(n5, i5 = rn6(n5), s5, l5) { + return n5.tagName !== i5 || n5.typeExpression !== s5 || n5.comment !== l5 ? j9(bc4(i5, s5, l5), n5) : n5; + } + function vc4(n5, i5, s5, l5, d5) { + let v9 = vn7(352, n5 ?? We12("import"), d5); + return v9.importClause = i5, v9.moduleSpecifier = s5, v9.attributes = l5, v9.comment = d5, v9; + } + function Tc4(n5, i5, s5, l5, d5, v9) { + return n5.tagName !== i5 || n5.comment !== v9 || n5.importClause !== s5 || n5.moduleSpecifier !== l5 || n5.attributes !== d5 ? j9(vc4(i5, s5, l5, d5, v9), n5) : n5; + } + function Ls8(n5) { + let i5 = O7(322); + return i5.text = n5, i5; + } + function Ru4(n5, i5) { + return n5.text !== i5 ? j9(Ls8(i5), n5) : n5; + } + function Ji7(n5, i5) { + let s5 = O7(321); + return s5.comment = n5, s5.tags = Pe10(i5), s5; + } + function xc3(n5, i5, s5) { + return n5.comment !== i5 || n5.tags !== s5 ? j9(Ji7(i5, s5), n5) : n5; + } + function Sc4(n5, i5, s5) { + let l5 = O7(285); + return l5.openingElement = n5, l5.children = de11(i5), l5.closingElement = s5, l5.transformFlags |= z8(l5.openingElement) | ke10(l5.children) | z8(l5.closingElement) | 2, l5; + } + function Uu4(n5, i5, s5, l5) { + return n5.openingElement !== i5 || n5.children !== s5 || n5.closingElement !== l5 ? j9(Sc4(i5, s5, l5), n5) : n5; + } + function wc3(n5, i5, s5) { + let l5 = O7(286); + return l5.tagName = n5, l5.typeArguments = Pe10(i5), l5.attributes = s5, l5.transformFlags |= z8(l5.tagName) | ke10(l5.typeArguments) | z8(l5.attributes) | 2, l5.typeArguments && (l5.transformFlags |= 1), l5; + } + function Bu3(n5, i5, s5, l5) { + return n5.tagName !== i5 || n5.typeArguments !== s5 || n5.attributes !== l5 ? j9(wc3(i5, s5, l5), n5) : n5; + } + function ka3(n5, i5, s5) { + let l5 = O7(287); + return l5.tagName = n5, l5.typeArguments = Pe10(i5), l5.attributes = s5, l5.transformFlags |= z8(l5.tagName) | ke10(l5.typeArguments) | z8(l5.attributes) | 2, i5 && (l5.transformFlags |= 1), l5; + } + function kc3(n5, i5, s5, l5) { + return n5.tagName !== i5 || n5.typeArguments !== s5 || n5.attributes !== l5 ? j9(ka3(i5, s5, l5), n5) : n5; + } + function Js10(n5) { + let i5 = O7(288); + return i5.tagName = n5, i5.transformFlags |= z8(i5.tagName) | 2, i5; + } + function js9(n5, i5) { + return n5.tagName !== i5 ? j9(Js10(i5), n5) : n5; + } + function Yt8(n5, i5, s5) { + let l5 = O7(289); + return l5.openingFragment = n5, l5.children = de11(i5), l5.closingFragment = s5, l5.transformFlags |= z8(l5.openingFragment) | ke10(l5.children) | z8(l5.closingFragment) | 2, l5; + } + function Ec4(n5, i5, s5, l5) { + return n5.openingFragment !== i5 || n5.children !== s5 || n5.closingFragment !== l5 ? j9(Yt8(i5, s5, l5), n5) : n5; + } + function ji7(n5, i5) { + let s5 = O7(12); + return s5.text = n5, s5.containsOnlyTriviaWhiteSpaces = !!i5, s5.transformFlags |= 2, s5; + } + function qu4(n5, i5, s5) { + return n5.text !== i5 || n5.containsOnlyTriviaWhiteSpaces !== s5 ? j9(ji7(i5, s5), n5) : n5; + } + function Ac3() { + let n5 = O7(290); + return n5.transformFlags |= 2, n5; + } + function Cc3() { + let n5 = O7(291); + return n5.transformFlags |= 2, n5; + } + function Dc2(n5, i5) { + let s5 = ae9(292); + return s5.name = n5, s5.initializer = i5, s5.transformFlags |= z8(s5.name) | z8(s5.initializer) | 2, s5; + } + function Fu4(n5, i5, s5) { + return n5.name !== i5 || n5.initializer !== s5 ? j9(Dc2(i5, s5), n5) : n5; + } + function Ri8(n5) { + let i5 = ae9(293); + return i5.properties = de11(n5), i5.transformFlags |= ke10(i5.properties) | 2, i5; + } + function zu3(n5, i5) { + return n5.properties !== i5 ? j9(Ri8(i5), n5) : n5; + } + function Pc3(n5) { + let i5 = O7(294); + return i5.expression = n5, i5.transformFlags |= z8(i5.expression) | 2, i5; + } + function Vu4(n5, i5) { + return n5.expression !== i5 ? j9(Pc3(i5), n5) : n5; + } + function Nc3(n5, i5) { + let s5 = O7(295); + return s5.dotDotDotToken = n5, s5.expression = i5, s5.transformFlags |= z8(s5.dotDotDotToken) | z8(s5.expression) | 2, s5; + } + function Rs9(n5, i5) { + return n5.expression !== i5 ? j9(Nc3(n5.dotDotDotToken, i5), n5) : n5; + } + function si10(n5, i5) { + let s5 = O7(296); + return s5.namespace = n5, s5.name = i5, s5.transformFlags |= z8(s5.namespace) | z8(s5.name) | 2, s5; + } + function Wu2(n5, i5, s5) { + return n5.namespace !== i5 || n5.name !== s5 ? j9(si10(i5, s5), n5) : n5; + } + function Ea5(n5, i5) { + let s5 = O7(297); + return s5.expression = _9().parenthesizeExpressionForDisallowedComma(n5), s5.statements = de11(i5), s5.transformFlags |= z8(s5.expression) | ke10(s5.statements), s5.jsDoc = void 0, s5; + } + function Ic3(n5, i5, s5) { + return n5.expression !== i5 || n5.statements !== s5 ? j9(Ea5(i5, s5), n5) : n5; + } + function Oc3(n5) { + let i5 = O7(298); + return i5.statements = de11(n5), i5.transformFlags = ke10(i5.statements), i5; + } + function Ui8(n5, i5) { + return n5.statements !== i5 ? j9(Oc3(i5), n5) : n5; + } + function Us9(n5, i5) { + let s5 = O7(299); + switch (s5.token = n5, s5.types = de11(i5), s5.transformFlags |= ke10(s5.types), n5) { + case 96: + s5.transformFlags |= 1024; + break; + case 119: + s5.transformFlags |= 1; + break; + default: + return q10.assertNever(n5); + } + return s5; + } + function Gu3(n5, i5) { + return n5.types !== i5 ? j9(Us9(n5.token, i5), n5) : n5; + } + function Mc2(n5, i5) { + let s5 = O7(300); + return s5.variableDeclaration = Tn7(n5), s5.block = i5, s5.transformFlags |= z8(s5.variableDeclaration) | z8(s5.block) | (n5 ? 0 : 64), s5.locals = void 0, s5.nextContainer = void 0, s5; + } + function Lc2(n5, i5, s5) { + return n5.variableDeclaration !== i5 || n5.block !== s5 ? j9(Mc2(i5, s5), n5) : n5; + } + function Aa3(n5, i5) { + let s5 = ae9(304); + return s5.name = et11(n5), s5.initializer = _9().parenthesizeExpressionForDisallowedComma(i5), s5.transformFlags |= Ln7(s5.name) | z8(s5.initializer), s5.modifiers = void 0, s5.questionToken = void 0, s5.exclamationToken = void 0, s5.jsDoc = void 0, s5; + } + function Bs10(n5, i5, s5) { + return n5.name !== i5 || n5.initializer !== s5 ? _i9(Aa3(i5, s5), n5) : n5; + } + function _i9(n5, i5) { + return n5 !== i5 && (n5.modifiers = i5.modifiers, n5.questionToken = i5.questionToken, n5.exclamationToken = i5.exclamationToken), j9(n5, i5); + } + function Jc2(n5, i5) { + let s5 = ae9(305); + return s5.name = et11(n5), s5.objectAssignmentInitializer = i5 && _9().parenthesizeExpressionForDisallowedComma(i5), s5.transformFlags |= ja5(s5.name) | z8(s5.objectAssignmentInitializer) | 1024, s5.equalsToken = void 0, s5.modifiers = void 0, s5.questionToken = void 0, s5.exclamationToken = void 0, s5.jsDoc = void 0, s5; + } + function Yu2(n5, i5, s5) { + return n5.name !== i5 || n5.objectAssignmentInitializer !== s5 ? Hu3(Jc2(i5, s5), n5) : n5; + } + function Hu3(n5, i5) { + return n5 !== i5 && (n5.modifiers = i5.modifiers, n5.questionToken = i5.questionToken, n5.exclamationToken = i5.exclamationToken, n5.equalsToken = i5.equalsToken), j9(n5, i5); + } + function jc2(n5) { + let i5 = ae9(306); + return i5.expression = _9().parenthesizeExpressionForDisallowedComma(n5), i5.transformFlags |= z8(i5.expression) | 128 | 65536, i5.jsDoc = void 0, i5; + } + function Rc3(n5, i5) { + return n5.expression !== i5 ? j9(jc2(i5), n5) : n5; + } + function qs9(n5, i5) { + let s5 = ae9(307); + return s5.name = et11(n5), s5.initializer = i5 && _9().parenthesizeExpressionForDisallowedComma(i5), s5.transformFlags |= z8(s5.name) | z8(s5.initializer) | 1, s5.jsDoc = void 0, s5; + } + function On7(n5, i5, s5) { + return n5.name !== i5 || n5.initializer !== s5 ? j9(qs9(i5, s5), n5) : n5; + } + function Uc2(n5, i5, s5) { + let l5 = t26.createBaseSourceFileNode(308); + return l5.statements = de11(n5), l5.endOfFileToken = i5, l5.flags |= s5, l5.text = "", l5.fileName = "", l5.path = "", l5.resolvedPath = "", l5.originalFileName = "", l5.languageVersion = 1, l5.languageVariant = 0, l5.scriptKind = 0, l5.isDeclarationFile = false, l5.hasNoDefaultLib = false, l5.transformFlags |= ke10(l5.statements) | z8(l5.endOfFileToken), l5.locals = void 0, l5.nextContainer = void 0, l5.endFlowNode = void 0, l5.nodeCount = 0, l5.identifierCount = 0, l5.symbolCount = 0, l5.parseDiagnostics = void 0, l5.bindDiagnostics = void 0, l5.bindSuggestionDiagnostics = void 0, l5.lineMap = void 0, l5.externalModuleIndicator = void 0, l5.setExternalModuleIndicator = void 0, l5.pragmas = void 0, l5.checkJsDirective = void 0, l5.referencedFiles = void 0, l5.typeReferenceDirectives = void 0, l5.libReferenceDirectives = void 0, l5.amdDependencies = void 0, l5.commentDirectives = void 0, l5.identifiers = void 0, l5.packageJsonLocations = void 0, l5.packageJsonScope = void 0, l5.imports = void 0, l5.moduleAugmentations = void 0, l5.ambientModuleNames = void 0, l5.classifiableNames = void 0, l5.impliedNodeFormat = void 0, l5; + } + function Bc2(n5) { + let i5 = Object.create(n5.redirectTarget); + return Object.defineProperties(i5, { id: { get() { + return this.redirectInfo.redirectTarget.id; + }, set(s5) { + this.redirectInfo.redirectTarget.id = s5; + } }, symbol: { get() { + return this.redirectInfo.redirectTarget.symbol; + }, set(s5) { + this.redirectInfo.redirectTarget.symbol = s5; + } } }), i5.redirectInfo = n5, i5; + } + function Xu3(n5) { + let i5 = Bc2(n5.redirectInfo); + return i5.flags |= n5.flags & -17, i5.fileName = n5.fileName, i5.path = n5.path, i5.resolvedPath = n5.resolvedPath, i5.originalFileName = n5.originalFileName, i5.packageJsonLocations = n5.packageJsonLocations, i5.packageJsonScope = n5.packageJsonScope, i5.emitNode = void 0, i5; + } + function $u4(n5) { + let i5 = t26.createBaseSourceFileNode(308); + i5.flags |= n5.flags & -17; + for (let s5 in n5) if (!(Dr7(i5, s5) || !Dr7(n5, s5))) { + if (s5 === "emitNode") { + i5.emitNode = void 0; + continue; + } + i5[s5] = n5[s5]; + } + return i5; + } + function Fs9(n5) { + let i5 = n5.redirectInfo ? Xu3(n5) : $u4(n5); + return a5(i5, n5), i5; + } + function zs9(n5, i5, s5, l5, d5, v9, F10) { + let pe9 = Fs9(n5); + return pe9.statements = de11(i5), pe9.isDeclarationFile = s5, pe9.referencedFiles = l5, pe9.typeReferenceDirectives = d5, pe9.hasNoDefaultLib = v9, pe9.libReferenceDirectives = F10, pe9.transformFlags = ke10(pe9.statements) | z8(pe9.endOfFileToken), pe9; + } + function Qu2(n5, i5, s5 = n5.isDeclarationFile, l5 = n5.referencedFiles, d5 = n5.typeReferenceDirectives, v9 = n5.hasNoDefaultLib, F10 = n5.libReferenceDirectives) { + return n5.statements !== i5 || n5.isDeclarationFile !== s5 || n5.referencedFiles !== l5 || n5.typeReferenceDirectives !== d5 || n5.hasNoDefaultLib !== v9 || n5.libReferenceDirectives !== F10 ? j9(zs9(n5, i5, s5, l5, d5, v9, F10), n5) : n5; + } + function qc3(n5) { + let i5 = O7(309); + return i5.sourceFiles = n5, i5.syntheticFileReferences = void 0, i5.syntheticTypeReferences = void 0, i5.syntheticLibReferences = void 0, i5.hasNoDefaultLib = void 0, i5; + } + function Fc2(n5, i5) { + return n5.sourceFiles !== i5 ? j9(qc3(i5), n5) : n5; + } + function Ku4(n5, i5 = false, s5) { + let l5 = O7(238); + return l5.type = n5, l5.isSpread = i5, l5.tupleNameSource = s5, l5; + } + function Zu2(n5) { + let i5 = O7(353); + return i5._children = n5, i5; + } + function Ca3(n5) { + let i5 = O7(354); + return i5.original = n5, dn8(i5, n5), i5; + } + function Vs7(n5, i5) { + let s5 = O7(356); + return s5.expression = n5, s5.original = i5, s5.transformFlags |= z8(s5.expression) | 1, dn8(s5, i5), s5; + } + function zc3(n5, i5) { + return n5.expression !== i5 ? j9(Vs7(i5, n5.original), n5) : n5; + } + function ep2() { + return O7(355); + } + function tp2(n5) { + if (Ja6(n5) && !gl5(n5) && !n5.original && !n5.emitNode && !n5.id) { + if (e62(n5)) return n5.elements; + if (na4(n5) && Rb(n5.operatorToken)) return [n5.left, n5.right]; + } + return n5; + } + function Ws8(n5) { + let i5 = O7(357); + return i5.elements = de11(oy(n5, tp2)), i5.transformFlags |= ke10(i5.elements), i5; + } + function np2(n5, i5) { + return n5.elements !== i5 ? j9(Ws8(i5), n5) : n5; + } + function Gs8(n5, i5) { + let s5 = O7(358); + return s5.expression = n5, s5.thisArg = i5, s5.transformFlags |= z8(s5.expression) | z8(s5.thisArg), s5; + } + function Vc3(n5, i5, s5) { + return n5.expression !== i5 || n5.thisArg !== s5 ? j9(Gs8(i5, s5), n5) : n5; + } + function Wc2(n5) { + let i5 = hn9(n5.escapedText); + return i5.flags |= n5.flags & -17, i5.transformFlags = n5.transformFlags, a5(i5, n5), setIdentifierAutoGenerate(i5, { ...n5.emitNode.autoGenerate }), i5; + } + function rp2(n5) { + let i5 = hn9(n5.escapedText); + i5.flags |= n5.flags & -17, i5.jsDoc = n5.jsDoc, i5.flowNode = n5.flowNode, i5.symbol = n5.symbol, i5.transformFlags = n5.transformFlags, a5(i5, n5); + let s5 = getIdentifierTypeArguments(n5); + return s5 && setIdentifierTypeArguments(i5, s5), i5; + } + function ip2(n5) { + let i5 = Pn8(n5.escapedText); + return i5.flags |= n5.flags & -17, i5.transformFlags = n5.transformFlags, a5(i5, n5), setIdentifierAutoGenerate(i5, { ...n5.emitNode.autoGenerate }), i5; + } + function Gc2(n5) { + let i5 = Pn8(n5.escapedText); + return i5.flags |= n5.flags & -17, i5.transformFlags = n5.transformFlags, a5(i5, n5), i5; + } + function Da5(n5) { + if (n5 === void 0) return n5; + if (Z1(n5)) return Fs9(n5); + if (Ua5(n5)) return Wc2(n5); + if (Ke11(n5)) return rp2(n5); + if (n1(n5)) return ip2(n5); + if (gi10(n5)) return Gc2(n5); + let i5 = ff2(n5.kind) ? t26.createBaseNode(n5.kind) : t26.createBaseTokenNode(n5.kind); + i5.flags |= n5.flags & -17, i5.transformFlags = n5.transformFlags, a5(i5, n5); + for (let s5 in n5) Dr7(i5, s5) || !Dr7(n5, s5) || (i5[s5] = n5[s5]); + return i5; + } + function ap2(n5, i5, s5) { + return Di8(is9(void 0, void 0, void 0, void 0, i5 ? [i5] : [], void 0, Br8(n5, true)), void 0, s5 ? [s5] : []); + } + function sp2(n5, i5, s5) { + return Di8(as8(void 0, void 0, i5 ? [i5] : [], void 0, void 0, Br8(n5, true)), void 0, s5 ? [s5] : []); + } + function Bi8() { + return ss9(V11("0")); + } + function Yc3(n5) { + return va4(void 0, false, n5); + } + function Hc2(n5) { + return Ta3(void 0, false, Es8([xa5(false, void 0, n5)])); + } + function _p3(n5, i5) { + return i5 === "null" ? he11.createStrictEquality(n5, Lt10()) : i5 === "undefined" ? he11.createStrictEquality(n5, Bi8()) : he11.createStrictEquality(fa4(n5), ft10(i5)); + } + function Ys9(n5, i5) { + return i5 === "null" ? he11.createStrictInequality(n5, Lt10()) : i5 === "undefined" ? he11.createStrictInequality(n5, Bi8()) : he11.createStrictInequality(fa4(n5), ft10(i5)); + } + function zr8(n5, i5, s5) { + return Dd(n5) ? ts8(Ai9(n5, void 0, i5), void 0, void 0, s5) : Di8(cr8(n5, i5), void 0, s5); + } + function op2(n5, i5, s5) { + return zr8(n5, "bind", [i5, ...s5]); + } + function cp2(n5, i5, s5) { + return zr8(n5, "call", [i5, ...s5]); + } + function lp2(n5, i5, s5) { + return zr8(n5, "apply", [i5, s5]); + } + function qi8(n5, i5, s5) { + return zr8(We12(n5), i5, s5); + } + function up2(n5, i5) { + return zr8(n5, "slice", i5 === void 0 ? [] : [wr6(i5)]); + } + function Fi8(n5, i5) { + return zr8(n5, "concat", i5); + } + function pp2(n5, i5, s5) { + return qi8("Object", "defineProperty", [n5, wr6(i5), s5]); + } + function Hs9(n5, i5) { + return qi8("Object", "getOwnPropertyDescriptor", [n5, wr6(i5)]); + } + function oi10(n5, i5, s5) { + return qi8("Reflect", "get", s5 ? [n5, i5, s5] : [n5, i5]); + } + function Xc2(n5, i5, s5, l5) { + return qi8("Reflect", "set", l5 ? [n5, i5, s5, l5] : [n5, i5, s5]); + } + function ci10(n5, i5, s5) { + return s5 ? (n5.push(Aa3(i5, s5)), true) : false; + } + function fp2(n5, i5) { + let s5 = []; + ci10(s5, "enumerable", wr6(n5.enumerable)), ci10(s5, "configurable", wr6(n5.configurable)); + let l5 = ci10(s5, "writable", wr6(n5.writable)); + l5 = ci10(s5, "value", n5.value) || l5; + let d5 = ci10(s5, "get", n5.get); + return d5 = ci10(s5, "set", n5.set) || d5, q10.assert(!(l5 && d5), "A PropertyDescriptor may not be both an accessor descriptor and a data descriptor."), Ei10(s5, !i5); + } + function $c2(n5, i5) { + switch (n5.kind) { + case 218: + return U_(n5, i5); + case 217: + return R_(n5, n5.type, i5); + case 235: + return ha2(n5, i5, n5.type); + case 239: + return ro5(n5, i5, n5.type); + case 236: + return no6(n5, i5); + case 234: + return eo5(n5, i5, n5.typeArguments); + case 356: + return zc3(n5, i5); + } + } + function dp2(n5) { + return Dl4(n5) && Ja6(n5) && Ja6(getSourceMapRange(n5)) && Ja6(getCommentRange(n5)) && !Zt10(getSyntheticLeadingComments(n5)) && !Zt10(getSyntheticTrailingComments(n5)); + } + function Qc2(n5, i5, s5 = 63) { + return n5 && sh(n5, s5) && !dp2(n5) ? $c2(n5, Qc2(n5.expression, i5)) : i5; + } + function Kc2(n5, i5, s5) { + if (!i5) return n5; + let l5 = xo4(i5, i5.label, Y1(i5.statement) ? Kc2(n5, i5.statement) : n5); + return s5 && s5(i5), l5; + } + function Xs8(n5, i5) { + let s5 = vf3(n5); + switch (s5.kind) { + case 80: + return i5; + case 110: + case 9: + case 10: + case 11: + return false; + case 210: + return s5.elements.length !== 0; + case 211: + return s5.properties.length > 0; + default: + return true; + } + } + function Zc2(n5, i5, s5, l5 = false) { + let d5 = Vf2(n5, 63), v9, F10; + return Jd(d5) ? (v9 = Bt10(), F10 = d5) : Ap2(d5) ? (v9 = Bt10(), F10 = s5 !== void 0 && s5 < 2 ? dn8(We12("_super"), d5) : d5) : za5(d5) & 8192 ? (v9 = Bi8(), F10 = _9().parenthesizeLeftSideOfAccess(d5, false)) : dr8(d5) ? Xs8(d5.expression, l5) ? (v9 = ir10(i5), F10 = cr8(dn8(he11.createAssignment(v9, d5.expression), d5.expression), d5.name), dn8(F10, d5)) : (v9 = d5.expression, F10 = d5) : Ha5(d5) ? Xs8(d5.expression, l5) ? (v9 = ir10(i5), F10 = Ci8(dn8(he11.createAssignment(v9, d5.expression), d5.expression), d5.argumentExpression), dn8(F10, d5)) : (v9 = d5.expression, F10 = d5) : (v9 = Bi8(), F10 = _9().parenthesizeLeftSideOfAccess(n5, false)), { target: F10, thisArg: v9 }; + } + function el5(n5, i5) { + return cr8(rs8(Ei10([U9(void 0, "value", [mr7(void 0, void 0, n5, void 0, void 0, void 0)], Br8([Ni9(i5)]))])), "value"); + } + function o5(n5) { + return n5.length > 10 ? Ws8(n5) : gy(n5, he11.createComma); + } + function p4(n5, i5, s5, l5 = 0, d5) { + let v9 = d5 ? n5 && lf2(n5) : Xm2(n5); + if (v9 && Ke11(v9) && !Ua5(v9)) { + let F10 = Sf2(dn8(Da5(v9), v9), v9.parent); + return l5 |= za5(v9), s5 || (l5 |= 96), i5 || (l5 |= 3072), l5 && setEmitFlags(F10, l5), F10; + } + return Bn7(n5); + } + function m7(n5, i5, s5) { + return p4(n5, i5, s5, 98304); + } + function g5(n5, i5, s5, l5) { + return p4(n5, i5, s5, 32768, l5); + } + function b7(n5, i5, s5) { + return p4(n5, i5, s5, 16384); + } + function N8(n5, i5, s5) { + return p4(n5, i5, s5); + } + function Q10(n5, i5, s5, l5) { + let d5 = cr8(n5, Ja6(i5) ? i5 : Da5(i5)); + dn8(d5, i5); + let v9 = 0; + return l5 || (v9 |= 96), s5 || (v9 |= 3072), v9 && setEmitFlags(d5, v9), d5; + } + function _e11(n5, i5, s5, l5) { + return n5 && v_(i5, 32) ? Q10(n5, p4(i5), s5, l5) : b7(i5, s5, l5); + } + function ee8(n5, i5, s5, l5) { + let d5 = je11(n5, i5, 0, s5); + return Je11(n5, i5, d5, l5); + } + function te12(n5) { + return vi10(n5.expression) && n5.expression.text === "use strict"; + } + function ce9() { + return T6(Ni9(ft10("use strict"))); + } + function je11(n5, i5, s5 = 0, l5) { + q10.assert(i5.length === 0, "Prologue directives should be at the first statement in the target statements array"); + let d5 = false, v9 = n5.length; + for (; s5 < v9; ) { + let F10 = n5[s5]; + if (pl5(F10)) te12(F10) && (d5 = true), i5.push(F10); + else break; + s5++; + } + return l5 && !d5 && i5.push(ce9()), s5; + } + function Je11(n5, i5, s5, l5, d5 = wy) { + let v9 = n5.length; + for (; s5 !== void 0 && s5 < v9; ) { + let F10 = n5[s5]; + if (za5(F10) & 2097152 && d5(F10)) wn7(i5, l5 ? visitNode(F10, l5, Qg) : F10); + else break; + s5++; + } + return s5; + } + function De11(n5) { + return b62(n5) ? n5 : dn8(de11([ce9(), ...n5]), n5); + } + function Ht11(n5) { + return q10.assert(Gp2(n5, Zg), "Cannot lift nodes to a Block."), my(n5) || Br8(n5); + } + function Nt12(n5, i5, s5) { + let l5 = s5; + for (; l5 < n5.length && i5(n5[l5]); ) l5++; + return l5; + } + function ur9(n5, i5) { + if (!Zt10(i5)) return n5; + let s5 = Nt12(n5, pl5, 0), l5 = Nt12(n5, Md, s5), d5 = Nt12(n5, Ld, l5), v9 = Nt12(i5, pl5, 0), F10 = Nt12(i5, Md, v9), pe9 = Nt12(i5, Ld, F10), Fe10 = Nt12(i5, hf2, pe9); + q10.assert(Fe10 === i5.length, "Expected declarations to be valid standard or custom prologues"); + let It11 = mi10(n5) ? n5.slice() : n5; + if (Fe10 > pe9 && It11.splice(d5, 0, ...i5.slice(pe9, Fe10)), pe9 > F10 && It11.splice(l5, 0, ...i5.slice(F10, pe9)), F10 > v9 && It11.splice(s5, 0, ...i5.slice(v9, F10)), v9 > 0) if (s5 === 0) It11.splice(0, 0, ...i5.slice(0, v9)); + else { + let fr10 = /* @__PURE__ */ new Map(); + for (let xn8 = 0; xn8 < s5; xn8++) { + let Vi8 = n5[xn8]; + fr10.set(Vi8.expression.text, true); + } + for (let xn8 = v9 - 1; xn8 >= 0; xn8--) { + let Vi8 = i5[xn8]; + fr10.has(Vi8.expression.text) || It11.unshift(Vi8); + } + } + return mi10(n5) ? dn8(de11(It11, n5.hasTrailingComma), n5) : n5; + } + function pr8(n5, i5) { + let s5; + return typeof i5 == "number" ? s5 = yn9(i5) : s5 = i5, Ef2(n5) ? sr10(n5, s5, n5.name, n5.constraint, n5.default) : m_(n5) ? hr8(n5, s5, n5.dotDotDotToken, n5.name, n5.questionToken, n5.type, n5.initializer) : Nf2(n5) ? ze11(n5, s5, n5.typeParameters, n5.parameters, n5.type) : C1(n5) ? Vn7(n5, s5, n5.name, n5.questionToken, n5.type) : Wa5(n5) ? L9(n5, s5, n5.name, n5.questionToken ?? n5.exclamationToken, n5.type, n5.initializer) : D1(n5) ? fe10(n5, s5, n5.name, n5.questionToken, n5.typeParameters, n5.parameters, n5.type) : h_(n5) ? He10(n5, s5, n5.asteriskToken, n5.name, n5.questionToken, n5.typeParameters, n5.parameters, n5.type, n5.body) : Af2(n5) ? Mr8(n5, s5, n5.parameters, n5.body) : Tl5(n5) ? Wn8(n5, s5, n5.name, n5.parameters, n5.type, n5.body) : y_(n5) ? K11(n5, s5, n5.name, n5.parameters, n5.body) : Cf3(n5) ? Ze11(n5, s5, n5.parameters, n5.type) : Mf3(n5) ? B_(n5, s5, n5.asteriskToken, n5.name, n5.typeParameters, n5.parameters, n5.type, n5.body) : Lf2(n5) ? q_(n5, s5, n5.typeParameters, n5.parameters, n5.type, n5.equalsGreaterThanToken, n5.body) : xl5(n5) ? cs7(n5, s5, n5.name, n5.typeParameters, n5.heritageClauses, n5.members) : Xa5(n5) ? so5(n5, s5, n5.declarationList) : jf2(n5) ? Ts6(n5, s5, n5.asteriskToken, n5.name, n5.typeParameters, n5.parameters, n5.type, n5.body) : Ga4(n5) ? ba3(n5, s5, n5.name, n5.typeParameters, n5.heritageClauses, n5.members) : T_(n5) ? Po5(n5, s5, n5.name, n5.typeParameters, n5.heritageClauses, n5.members) : Nl5(n5) ? vr6(n5, s5, n5.name, n5.typeParameters, n5.type) : X1(n5) ? Tr7(n5, s5, n5.name, n5.members) : Ti10(n5) ? kt12(n5, s5, n5.name, n5.body) : Rf3(n5) ? Jo5(n5, s5, n5.isTypeOnly, n5.name, n5.moduleReference) : Uf2(n5) ? Ro3(n5, s5, n5.importClause, n5.moduleSpecifier, n5.attributes) : Bf2(n5) ? Oi9(n5, s5, n5.expression) : qf2(n5) ? $o3(n5, s5, n5.isTypeOnly, n5.exportClause, n5.moduleSpecifier, n5.attributes) : q10.assertNever(n5); + } + function Mn6(n5, i5) { + return m_(n5) ? hr8(n5, i5, n5.dotDotDotToken, n5.name, n5.questionToken, n5.type, n5.initializer) : Wa5(n5) ? L9(n5, i5, n5.name, n5.questionToken ?? n5.exclamationToken, n5.type, n5.initializer) : h_(n5) ? He10(n5, i5, n5.asteriskToken, n5.name, n5.questionToken, n5.typeParameters, n5.parameters, n5.type, n5.body) : Tl5(n5) ? Wn8(n5, i5, n5.name, n5.parameters, n5.type, n5.body) : y_(n5) ? K11(n5, i5, n5.name, n5.parameters, n5.body) : xl5(n5) ? cs7(n5, i5, n5.name, n5.typeParameters, n5.heritageClauses, n5.members) : Ga4(n5) ? ba3(n5, i5, n5.name, n5.typeParameters, n5.heritageClauses, n5.members) : q10.assertNever(n5); + } + function Vr8(n5, i5) { + switch (n5.kind) { + case 178: + return Wn8(n5, n5.modifiers, i5, n5.parameters, n5.type, n5.body); + case 179: + return K11(n5, n5.modifiers, i5, n5.parameters, n5.body); + case 175: + return He10(n5, n5.modifiers, n5.asteriskToken, i5, n5.questionToken, n5.typeParameters, n5.parameters, n5.type, n5.body); + case 174: + return fe10(n5, n5.modifiers, i5, n5.questionToken, n5.typeParameters, n5.parameters, n5.type); + case 173: + return L9(n5, n5.modifiers, i5, n5.questionToken ?? n5.exclamationToken, n5.type, n5.initializer); + case 172: + return Vn7(n5, n5.modifiers, i5, n5.questionToken, n5.type); + case 304: + return Bs10(n5, i5, n5.initializer); + } + } + function Pe10(n5) { + return n5 ? de11(n5) : void 0; + } + function et11(n5) { + return typeof n5 == "string" ? We12(n5) : n5; + } + function wr6(n5) { + return typeof n5 == "string" ? ft10(n5) : typeof n5 == "number" ? V11(n5) : typeof n5 == "boolean" ? n5 ? ct9() : ar9() : n5; + } + function zi8(n5) { + return n5 && _9().parenthesizeExpressionForDisallowedComma(n5); + } + function mp2(n5) { + return typeof n5 == "number" ? ot8(n5) : n5; + } + function $n8(n5) { + return n5 && t62(n5) ? dn8(a5(_o3(), n5), n5) : n5; + } + function Tn7(n5) { + return typeof n5 == "string" || n5 && !Jf(n5) ? ga2(n5, void 0, void 0, void 0) : n5; + } + function j9(n5, i5) { + return n5 !== i5 && (a5(n5, i5), dn8(n5, i5)), n5; + } +} +function ol6(e7) { + switch (e7) { + case 345: + return "type"; + case 343: + return "returns"; + case 344: + return "this"; + case 341: + return "enum"; + case 331: + return "author"; + case 333: + return "class"; + case 334: + return "public"; + case 335: + return "private"; + case 336: + return "protected"; + case 337: + return "readonly"; + case 338: + return "override"; + case 346: + return "template"; + case 347: + return "typedef"; + case 342: + return "param"; + case 349: + return "prop"; + case 339: + return "callback"; + case 340: + return "overload"; + case 329: + return "augments"; + case 330: + return "implements"; + case 352: + return "import"; + default: + return q10.fail(`Unsupported kind: ${q10.formatSyntaxKind(e7)}`); + } +} +function Nb(e7, t26) { + switch (Sn8 || (Sn8 = sf2(99, false, 0)), e7) { + case 15: + Sn8.setText("`" + t26 + "`"); + break; + case 16: + Sn8.setText("`" + t26 + "${"); + break; + case 17: + Sn8.setText("}" + t26 + "${"); + break; + case 18: + Sn8.setText("}" + t26 + "`"); + break; + } + let a5 = Sn8.scan(); + if (a5 === 20 && (a5 = Sn8.reScanTemplateToken(false)), Sn8.isUnterminated()) return Sn8.setText(void 0), Fd; + let _9; + switch (a5) { + case 15: + case 16: + case 17: + case 18: + _9 = Sn8.getTokenValue(); + break; + } + return _9 === void 0 || Sn8.scan() !== 1 ? (Sn8.setText(void 0), Fd) : (Sn8.setText(void 0), _9); +} +function Ln7(e7) { + return e7 && Ke11(e7) ? ja5(e7) : z8(e7); +} +function ja5(e7) { + return z8(e7) & -67108865; +} +function Ib(e7, t26) { + return t26 | e7.transformFlags & 134234112; +} +function z8(e7) { + if (!e7) return 0; + let t26 = e7.transformFlags & ~Ob(e7.kind); + return yg(e7) && r1(e7.name) ? Ib(e7.name, t26) : t26; +} +function ke10(e7) { + return e7 ? e7.transformFlags : 0; +} +function zd(e7) { + let t26 = 0; + for (let a5 of e7) t26 |= z8(a5); + e7.transformFlags = t26; +} +function Ob(e7) { + if (e7 >= 183 && e7 <= 206) return -2; + switch (e7) { + case 214: + case 215: + case 210: + return -2147450880; + case 268: + return -1941676032; + case 170: + return -2147483648; + case 220: + return -2072174592; + case 219: + case 263: + return -1937940480; + case 262: + return -2146893824; + case 264: + case 232: + return -2147344384; + case 177: + return -1937948672; + case 173: + return -2013249536; + case 175: + case 178: + case 179: + return -2005057536; + case 133: + case 150: + case 163: + case 146: + case 154: + case 151: + case 136: + case 155: + case 116: + case 169: + case 172: + case 174: + case 180: + case 181: + case 182: + case 265: + case 266: + return -2; + case 211: + return -2147278848; + case 300: + return -2147418112; + case 207: + case 208: + return -2147450880; + case 217: + case 239: + case 235: + case 356: + case 218: + case 108: + return -2147483648; + case 212: + case 213: + return -2147483648; + default: + return -2147483648; + } +} +function Zs10(e7) { + return e7.flags |= 16, e7; +} +function Lb(e7, t26) { + if (e7.original !== t26 && (e7.original = t26, t26)) { + let a5 = t26.emitNode; + a5 && (e7.emitNode = Jb(a5, e7.emitNode)); + } + return e7; +} +function Jb(e7, t26) { + let { flags: a5, internalFlags: _9, leadingComments: f7, trailingComments: h5, commentRange: T7, sourceMapRange: k8, tokenSourceMapRanges: c7, constantValue: W10, helpers: y10, startsOnNewLine: G11, snippetElement: E7, classThis: D7, assignedName: R10 } = e7; + if (t26 || (t26 = {}), a5 && (t26.flags = a5), _9 && (t26.internalFlags = _9 & -9), f7 && (t26.leadingComments = En8(f7.slice(), t26.leadingComments)), h5 && (t26.trailingComments = En8(h5.slice(), t26.trailingComments)), T7 && (t26.commentRange = T7), k8 && (t26.sourceMapRange = k8), c7 && (t26.tokenSourceMapRanges = jb(c7, t26.tokenSourceMapRanges)), W10 !== void 0 && (t26.constantValue = W10), y10) for (let ue11 of y10) t26.helpers = py(t26.helpers, ue11); + return G11 !== void 0 && (t26.startsOnNewLine = G11), E7 !== void 0 && (t26.snippetElement = E7), D7 && (t26.classThis = D7), R10 && (t26.assignedName = R10), t26; +} +function jb(e7, t26) { + t26 || (t26 = []); + for (let a5 in e7) t26[a5] = e7[a5]; + return t26; +} +function aa5(e7) { + return e7.kind === 9; +} +function k1(e7) { + return e7.kind === 10; +} +function vi10(e7) { + return e7.kind === 11; +} +function E1(e7) { + return e7.kind === 15; +} +function Rb(e7) { + return e7.kind === 28; +} +function Vd(e7) { + return e7.kind === 54; +} +function Wd(e7) { + return e7.kind === 58; +} +function Ke11(e7) { + return e7.kind === 80; +} +function gi10(e7) { + return e7.kind === 81; +} +function Ub(e7) { + return e7.kind === 95; +} +function cl5(e7) { + return e7.kind === 134; +} +function Ap2(e7) { + return e7.kind === 108; +} +function Bb(e7) { + return e7.kind === 102; +} +function A1(e7) { + return e7.kind === 167; +} +function kf3(e7) { + return e7.kind === 168; +} +function Ef2(e7) { + return e7.kind === 169; +} +function m_(e7) { + return e7.kind === 170; +} +function Cl5(e7) { + return e7.kind === 171; +} +function C1(e7) { + return e7.kind === 172; +} +function Wa5(e7) { + return e7.kind === 173; +} +function D1(e7) { + return e7.kind === 174; +} +function h_(e7) { + return e7.kind === 175; +} +function Af2(e7) { + return e7.kind === 177; +} +function Tl5(e7) { + return e7.kind === 178; +} +function y_(e7) { + return e7.kind === 179; +} +function P1(e7) { + return e7.kind === 180; +} +function N1(e7) { + return e7.kind === 181; +} +function Cf3(e7) { + return e7.kind === 182; +} +function I1(e7) { + return e7.kind === 183; +} +function Df3(e7) { + return e7.kind === 184; +} +function Pf3(e7) { + return e7.kind === 185; +} +function Nf2(e7) { + return e7.kind === 186; +} +function qb(e7) { + return e7.kind === 187; +} +function O1(e7) { + return e7.kind === 188; +} +function Fb(e7) { + return e7.kind === 189; +} +function zb(e7) { + return e7.kind === 190; +} +function M1(e7) { + return e7.kind === 203; +} +function Vb(e7) { + return e7.kind === 191; +} +function Wb(e7) { + return e7.kind === 192; +} +function L1(e7) { + return e7.kind === 193; +} +function J1(e7) { + return e7.kind === 194; +} +function Gb(e7) { + return e7.kind === 195; +} +function Yb(e7) { + return e7.kind === 196; +} +function j1(e7) { + return e7.kind === 197; +} +function Hb(e7) { + return e7.kind === 198; +} +function R1(e7) { + return e7.kind === 199; +} +function Xb(e7) { + return e7.kind === 200; +} +function U1(e7) { + return e7.kind === 201; +} +function $b(e7) { + return e7.kind === 202; +} +function Qb(e7) { + return e7.kind === 206; +} +function B1(e7) { + return e7.kind === 209; +} +function q1(e7) { + return e7.kind === 210; +} +function If3(e7) { + return e7.kind === 211; +} +function dr8(e7) { + return e7.kind === 212; +} +function Ha5(e7) { + return e7.kind === 213; +} +function Of2(e7) { + return e7.kind === 214; +} +function F1(e7) { + return e7.kind === 216; +} +function Dl4(e7) { + return e7.kind === 218; +} +function Mf3(e7) { + return e7.kind === 219; +} +function Lf2(e7) { + return e7.kind === 220; +} +function Kb(e7) { + return e7.kind === 223; +} +function z1(e7) { + return e7.kind === 225; +} +function na4(e7) { + return e7.kind === 227; +} +function V1(e7) { + return e7.kind === 231; +} +function xl5(e7) { + return e7.kind === 232; +} +function W1(e7) { + return e7.kind === 233; +} +function G1(e7) { + return e7.kind === 234; +} +function fl5(e7) { + return e7.kind === 236; +} +function Zb(e7) { + return e7.kind === 237; +} +function e62(e7) { + return e7.kind === 357; +} +function Xa5(e7) { + return e7.kind === 244; +} +function Pl4(e7) { + return e7.kind === 245; +} +function Y1(e7) { + return e7.kind === 257; +} +function Jf(e7) { + return e7.kind === 261; +} +function H1(e7) { + return e7.kind === 262; +} +function jf2(e7) { + return e7.kind === 263; +} +function Ga4(e7) { + return e7.kind === 264; +} +function T_(e7) { + return e7.kind === 265; +} +function Nl5(e7) { + return e7.kind === 266; +} +function X1(e7) { + return e7.kind === 267; +} +function Ti10(e7) { + return e7.kind === 268; +} +function Rf3(e7) { + return e7.kind === 272; +} +function Uf2(e7) { + return e7.kind === 273; +} +function Bf2(e7) { + return e7.kind === 278; +} +function qf2(e7) { + return e7.kind === 279; +} +function $1(e7) { + return e7.kind === 280; +} +function t62(e7) { + return e7.kind === 354; +} +function Ff2(e7) { + return e7.kind === 284; +} +function Fp2(e7) { + return e7.kind === 287; +} +function n6(e7) { + return e7.kind === 290; +} +function Q1(e7) { + return e7.kind === 296; +} +function r6(e7) { + return e7.kind === 298; +} +function K1(e7) { + return e7.kind === 304; +} +function Z1(e7) { + return e7.kind === 308; +} +function eh(e7) { + return e7.kind === 310; +} +function th(e7) { + return e7.kind === 315; +} +function nh(e7) { + return e7.kind === 318; +} +function rh(e7) { + return e7.kind === 321; +} +function i6(e7) { + return e7.kind === 323; +} +function Il4(e7) { + return e7.kind === 324; +} +function a6(e7) { + return e7.kind === 329; +} +function s6(e7) { + return e7.kind === 334; +} +function _62(e7) { + return e7.kind === 335; +} +function o62(e7) { + return e7.kind === 336; +} +function c6(e7) { + return e7.kind === 337; +} +function l62(e7) { + return e7.kind === 338; +} +function u6(e7) { + return e7.kind === 340; +} +function p6(e7) { + return e7.kind === 332; +} +function zp2(e7) { + return e7.kind === 342; +} +function f6(e7) { + return e7.kind === 343; +} +function zf2(e7) { + return e7.kind === 345; +} +function ih(e7) { + return e7.kind === 346; +} +function d6(e7) { + return e7.kind === 330; +} +function m6(e7) { + return e7.kind === 351; +} +function ah(e7, t26) { + var a5; + let _9 = e7.kind; + return ff2(_9) ? _9 === 353 ? e7._children : (a5 = ea5.get(t26)) == null ? void 0 : a5.get(e7) : vt11; +} +function h6(e7, t26, a5) { + e7.kind === 353 && q10.fail("Should not need to re-set the children of a SyntaxList."); + let _9 = ea5.get(t26); + return _9 === void 0 && (_9 = /* @__PURE__ */ new WeakMap(), ea5.set(t26, _9)), _9.set(e7, a5), a5; +} +function Gd(e7, t26) { + var a5; + e7.kind === 353 && q10.fail("Did not expect to unset the children of a SyntaxList."), (a5 = ea5.get(t26)) == null || a5.delete(e7); +} +function y6(e7, t26) { + let a5 = ea5.get(e7); + a5 !== void 0 && (ea5.delete(e7), ea5.set(t26, a5)); +} +function Yd(e7) { + return (za5(e7) & 32768) !== 0; +} +function g6(e7) { + return vi10(e7.expression) && e7.expression.text === "use strict"; +} +function b62(e7) { + for (let t26 of e7) if (pl5(t26)) { + if (g6(t26)) return t26; + } else break; +} +function v62(e7) { + return Dl4(e7) && ia4(e7) && !!Ng(e7); +} +function sh(e7, t26 = 63) { + switch (e7.kind) { + case 218: + return t26 & -2147483648 && v62(e7) ? false : (t26 & 1) !== 0; + case 217: + case 235: + return (t26 & 2) !== 0; + case 239: + return (t26 & 34) !== 0; + case 234: + return (t26 & 16) !== 0; + case 236: + return (t26 & 4) !== 0; + case 356: + return (t26 & 8) !== 0; + } + return false; +} +function Vf2(e7, t26 = 63) { + for (; sh(e7, t26); ) e7 = e7.expression; + return e7; +} +function T6(e7) { + return setStartsOnNewLine(e7, true); +} +function i_(e7) { + if (Yg(e7)) return e7.name; + if (Vg(e7)) { + switch (e7.kind) { + case 304: + return i_(e7.initializer); + case 305: + return e7.name; + case 306: + return i_(e7.expression); + } + return; + } + return vl5(e7, true) ? i_(e7.left) : V1(e7) ? i_(e7.expression) : e7; +} +function x62(e7) { + switch (e7.kind) { + case 207: + case 208: + case 210: + return e7.elements; + case 211: + return e7.properties; + } +} +function Hd(e7) { + if (e7) { + let t26 = e7; + for (; ; ) { + if (Ke11(t26) || !t26.body) return Ke11(t26) ? t26 : t26.name; + t26 = t26.body; + } + } +} +function $d(e7, t26) { + return typeof e7 == "object" ? Vp2(false, e7.prefix, e7.node, e7.suffix, t26) : typeof e7 == "string" ? e7.length > 0 && e7.charCodeAt(0) === 35 ? e7.slice(1) : e7 : ""; +} +function S6(e7, t26) { + return typeof e7 == "string" ? e7 : w62(e7, q10.checkDefined(t26)); +} +function w62(e7, t26) { + return n1(e7) ? t26(e7).slice(1) : Ua5(e7) ? t26(e7) : gi10(e7) ? e7.escapedText.slice(1) : An7(e7); +} +function Vp2(e7, t26, a5, _9, f7) { + return t26 = $d(t26, f7), _9 = $d(_9, f7), a5 = S6(a5, f7), `${e7 ? "#" : ""}${t26}${a5}${_9}`; +} +function _h(e7) { + if (e7.transformFlags & 65536) return true; + if (e7.transformFlags & 128) for (let t26 of x62(e7)) { + let a5 = i_(t26); + if (a5 && Gg(a5) && (a5.transformFlags & 65536 || a5.transformFlags & 128 && _h(a5))) return true; + } + return false; +} +function dn8(e7, t26) { + return t26 ? yi9(e7, t26.pos, t26.end) : e7; +} +function Ol4(e7) { + let t26 = e7.kind; + return t26 === 169 || t26 === 170 || t26 === 172 || t26 === 173 || t26 === 174 || t26 === 175 || t26 === 177 || t26 === 178 || t26 === 179 || t26 === 182 || t26 === 186 || t26 === 219 || t26 === 220 || t26 === 232 || t26 === 244 || t26 === 263 || t26 === 264 || t26 === 265 || t26 === 266 || t26 === 267 || t26 === 268 || t26 === 272 || t26 === 273 || t26 === 278 || t26 === 279; +} +function Wf2(e7) { + let t26 = e7.kind; + return t26 === 170 || t26 === 173 || t26 === 175 || t26 === 178 || t26 === 179 || t26 === 232 || t26 === 264; +} +function S5(e7, t26) { + return t26 && e7(t26); +} +function ie10(e7, t26, a5) { + if (a5) { + if (t26) return t26(a5); + for (let _9 of a5) { + let f7 = e7(_9); + if (f7) return f7; + } + } +} +function E6(e7, t26) { + return e7.charCodeAt(t26 + 1) === 42 && e7.charCodeAt(t26 + 2) === 42 && e7.charCodeAt(t26 + 3) !== 47; +} +function A62(e7) { + return jn7(e7.statements, C62) || D6(e7); +} +function C62(e7) { + return Ol4(e7) && P62(e7, 95) || Rf3(e7) && Ff2(e7.moduleReference) || Uf2(e7) || Bf2(e7) || qf2(e7) ? e7 : void 0; +} +function D6(e7) { + return e7.flags & 8388608 ? oh(e7) : void 0; +} +function oh(e7) { + return N62(e7) ? e7 : Xt10(e7, oh); +} +function P62(e7, t26) { + return Zt10(e7.modifiers, (a5) => a5.kind === t26); +} +function N62(e7) { + return Zb(e7) && e7.keywordToken === 102 && e7.name.escapedText === "meta"; +} +function nm2(e7, t26, a5) { + return ie10(t26, a5, e7.typeParameters) || ie10(t26, a5, e7.parameters) || S5(t26, e7.type); +} +function rm3(e7, t26, a5) { + return ie10(t26, a5, e7.types); +} +function im2(e7, t26, a5) { + return S5(t26, e7.type); +} +function am2(e7, t26, a5) { + return ie10(t26, a5, e7.elements); +} +function sm2(e7, t26, a5) { + return S5(t26, e7.expression) || S5(t26, e7.questionDotToken) || ie10(t26, a5, e7.typeArguments) || ie10(t26, a5, e7.arguments); +} +function _m2(e7, t26, a5) { + return ie10(t26, a5, e7.statements); +} +function om2(e7, t26, a5) { + return S5(t26, e7.label); +} +function cm2(e7, t26, a5) { + return ie10(t26, a5, e7.modifiers) || S5(t26, e7.name) || ie10(t26, a5, e7.typeParameters) || ie10(t26, a5, e7.heritageClauses) || ie10(t26, a5, e7.members); +} +function lm2(e7, t26, a5) { + return ie10(t26, a5, e7.elements); +} +function um2(e7, t26, a5) { + return S5(t26, e7.propertyName) || S5(t26, e7.name); +} +function pm2(e7, t26, a5) { + return S5(t26, e7.tagName) || ie10(t26, a5, e7.typeArguments) || S5(t26, e7.attributes); +} +function Hi9(e7, t26, a5) { + return S5(t26, e7.type); +} +function fm2(e7, t26, a5) { + return S5(t26, e7.tagName) || (e7.isNameFirst ? S5(t26, e7.name) || S5(t26, e7.typeExpression) : S5(t26, e7.typeExpression) || S5(t26, e7.name)) || (typeof e7.comment == "string" ? void 0 : ie10(t26, a5, e7.comment)); +} +function Xi8(e7, t26, a5) { + return S5(t26, e7.tagName) || S5(t26, e7.typeExpression) || (typeof e7.comment == "string" ? void 0 : ie10(t26, a5, e7.comment)); +} +function Cp2(e7, t26, a5) { + return S5(t26, e7.name); +} +function ui10(e7, t26, a5) { + return S5(t26, e7.tagName) || (typeof e7.comment == "string" ? void 0 : ie10(t26, a5, e7.comment)); +} +function O6(e7, t26, a5) { + return S5(t26, e7.tagName) || S5(t26, e7.importClause) || S5(t26, e7.moduleSpecifier) || S5(t26, e7.attributes) || (typeof e7.comment == "string" ? void 0 : ie10(t26, a5, e7.comment)); +} +function M62(e7, t26, a5) { + return S5(t26, e7.expression); +} +function Xt10(e7, t26, a5) { + if (e7 === void 0 || e7.kind <= 166) return; + let _9 = I62[e7.kind]; + return _9 === void 0 ? void 0 : _9(e7, t26, a5); +} +function dm2(e7, t26, a5) { + let _9 = mm2(e7), f7 = []; + for (; f7.length < _9.length; ) f7.push(e7); + for (; _9.length !== 0; ) { + let h5 = _9.pop(), T7 = f7.pop(); + if ($r7(h5)) { + if (a5) { + let k8 = a5(h5, T7); + if (k8) { + if (k8 === "skip") continue; + return k8; + } + } + for (let k8 = h5.length - 1; k8 >= 0; --k8) _9.push(h5[k8]), f7.push(T7); + } else { + let k8 = t26(h5, T7); + if (k8) { + if (k8 === "skip") continue; + return k8; + } + if (h5.kind >= 167) for (let c7 of mm2(h5)) _9.push(c7), f7.push(h5); + } + } +} +function mm2(e7) { + let t26 = []; + return Xt10(e7, a5, a5), t26; + function a5(_9) { + t26.unshift(_9); + } +} +function ch(e7) { + e7.externalModuleIndicator = A62(e7); +} +function lh(e7, t26, a5, _9 = false, f7) { + var h5, T7; + (h5 = ll5) == null || h5.push(ll5.Phase.Parse, "createSourceFile", { path: e7 }, true), bd("beforeParse"); + let k8, { languageVersion: c7, setExternalModuleIndicator: W10, impliedNodeFormat: y10, jsDocParsingMode: G11 } = typeof a5 == "object" ? a5 : { languageVersion: a5 }; + if (c7 === 100) k8 = ta4.parseSourceFile(e7, t26, c7, void 0, _9, 6, Va4, G11); + else { + let E7 = y10 === void 0 ? W10 : (D7) => (D7.impliedNodeFormat = y10, (W10 || ch)(D7)); + k8 = ta4.parseSourceFile(e7, t26, c7, void 0, _9, f7, E7, G11); + } + return bd("afterParse"), Oy("Parse", "beforeParse", "afterParse"), (T7 = ll5) == null || T7.pop(), k8; +} +function uh(e7) { + return e7.externalModuleIndicator !== void 0; +} +function L62(e7, t26, a5, _9 = false) { + let f7 = Sl5.updateSourceFile(e7, t26, a5, _9); + return f7.flags |= e7.flags & 12582912, f7; +} +function J62(e7) { + hm2.has(e7) && q10.fail("Source file has already been incrementally parsed"), hm2.add(e7); +} +function j62(e7) { + return ph.has(e7); +} +function Wp2(e7) { + ph.add(e7); +} +function R62(e7) { + return U62(e7) !== void 0; +} +function U62(e7) { + let t26 = Im2(e7, bb, false); + if (t26) return t26; + if (jy2(e7, ".ts")) { + let a5 = Nm2(e7), _9 = a5.lastIndexOf(".d."); + if (_9 >= 0) return a5.substring(_9); + } +} +function B62(e7, t26, a5, _9) { + if (e7) { + if (e7 === "import") return 99; + if (e7 === "require") return 1; + _9(t26, a5 - t26, A7.resolution_mode_should_be_either_require_or_import); + } +} +function q62(e7, t26) { + let a5 = []; + for (let _9 of Lp2(t26, 0) || vt11) { + let f7 = t26.substring(_9.pos, _9.end); + G62(a5, _9, f7); + } + e7.pragmas = /* @__PURE__ */ new Map(); + for (let _9 of a5) { + if (e7.pragmas.has(_9.name)) { + let f7 = e7.pragmas.get(_9.name); + f7 instanceof Array ? f7.push(_9.args) : e7.pragmas.set(_9.name, [f7, _9.args]); + continue; + } + e7.pragmas.set(_9.name, _9.args); + } +} +function F62(e7, t26) { + e7.checkJsDirective = void 0, e7.referencedFiles = [], e7.typeReferenceDirectives = [], e7.libReferenceDirectives = [], e7.amdDependencies = [], e7.hasNoDefaultLib = false, e7.pragmas.forEach((a5, _9) => { + switch (_9) { + case "reference": { + let f7 = e7.referencedFiles, h5 = e7.typeReferenceDirectives, T7 = e7.libReferenceDirectives; + jn7(bp2(a5), (k8) => { + let { types: c7, lib: W10, path: y10, ["resolution-mode"]: G11, preserve: E7 } = k8.arguments, D7 = E7 === "true" ? true : void 0; + if (k8.arguments["no-default-lib"] === "true") e7.hasNoDefaultLib = true; + else if (c7) { + let R10 = B62(G11, c7.pos, c7.end, t26); + h5.push({ pos: c7.pos, end: c7.end, fileName: c7.value, ...R10 ? { resolutionMode: R10 } : {}, ...D7 ? { preserve: D7 } : {} }); + } else W10 ? T7.push({ pos: W10.pos, end: W10.end, fileName: W10.value, ...D7 ? { preserve: D7 } : {} }) : y10 ? f7.push({ pos: y10.pos, end: y10.end, fileName: y10.value, ...D7 ? { preserve: D7 } : {} }) : t26(k8.range.pos, k8.range.end - k8.range.pos, A7.Invalid_reference_directive_syntax); + }); + break; + } + case "amd-dependency": { + e7.amdDependencies = Pp3(bp2(a5), (f7) => ({ name: f7.arguments.name, path: f7.arguments.path })); + break; + } + case "amd-module": { + if (a5 instanceof Array) for (let f7 of a5) e7.moduleName && t26(f7.range.pos, f7.range.end - f7.range.pos, A7.An_AMD_module_cannot_have_multiple_name_assignments), e7.moduleName = f7.arguments.name; + else e7.moduleName = a5.arguments.name; + break; + } + case "ts-nocheck": + case "ts-check": { + jn7(bp2(a5), (f7) => { + (!e7.checkJsDirective || f7.range.pos > e7.checkJsDirective.pos) && (e7.checkJsDirective = { enabled: _9 === "ts-check", end: f7.range.end, pos: f7.range.pos }); + }); + break; + } + case "jsx": + case "jsxfrag": + case "jsximportsource": + case "jsxruntime": + return; + default: + q10.fail("Unhandled pragma kind"); + } + }); +} +function z62(e7) { + if (Dp2.has(e7)) return Dp2.get(e7); + let t26 = new RegExp(`(\\s${e7}\\s*=\\s*)(?:(?:'([^']*)')|(?:"([^"]*)"))`, "im"); + return Dp2.set(e7, t26), t26; +} +function G62(e7, t26, a5) { + let _9 = t26.kind === 2 && V62.exec(a5); + if (_9) { + let h5 = _9[1].toLowerCase(), T7 = Pm2[h5]; + if (!T7 || !(T7.kind & 1)) return; + if (T7.args) { + let k8 = {}; + for (let c7 of T7.args) { + let y10 = z62(c7.name).exec(a5); + if (!y10 && !c7.optional) return; + if (y10) { + let G11 = y10[2] || y10[3]; + if (c7.captureSpan) { + let E7 = t26.pos + y10.index + y10[1].length + 1; + k8[c7.name] = { value: G11, pos: E7, end: E7 + G11.length }; + } else k8[c7.name] = G11; + } + } + e7.push({ name: h5, args: { arguments: k8, range: t26 } }); + } else e7.push({ name: h5, args: { arguments: {}, range: t26 } }); + return; + } + let f7 = t26.kind === 2 && W62.exec(a5); + if (f7) return ym2(e7, t26, 2, f7); + if (t26.kind === 3) { + let h5 = /@(\S+)(\s+(?:\S.*)?)?$/gm, T7; + for (; T7 = h5.exec(a5); ) ym2(e7, t26, 4, T7); + } +} +function ym2(e7, t26, a5, _9) { + if (!_9) return; + let f7 = _9[1].toLowerCase(), h5 = Pm2[f7]; + if (!h5 || !(h5.kind & a5)) return; + let T7 = _9[2], k8 = Y62(h5, T7); + k8 !== "fail" && e7.push({ name: f7, args: { arguments: k8, range: t26 } }); +} +function Y62(e7, t26) { + if (!t26) return {}; + if (!e7.args) return {}; + let a5 = t26.trim().split(/\s+/), _9 = {}; + for (let f7 = 0; f7 < e7.args.length; f7++) { + let h5 = e7.args[f7]; + if (!a5[f7] && !h5.optional) return "fail"; + if (h5.captureSpan) return q10.fail("Capture spans not yet implemented for non-xml pragmas"); + _9[h5.name] = a5[f7]; + } + return _9; +} +function pi10(e7, t26) { + return e7.kind !== t26.kind ? false : e7.kind === 80 ? e7.escapedText === t26.escapedText : e7.kind === 110 ? true : e7.kind === 296 ? e7.namespace.escapedText === t26.namespace.escapedText && e7.name.escapedText === t26.name.escapedText : e7.name.escapedText === t26.name.escapedText && pi10(e7.expression, t26.expression); +} +function fh(e7, t26, a5, _9) { + let f7 = ff2(e7) ? new Gf2(e7, t26, a5) : e7 === 80 ? new mh(80, t26, a5) : e7 === 81 ? new hh(81, t26, a5) : new dh(e7, t26, a5); + return f7.parent = _9, f7.flags = _9.flags & 101441536, f7; +} +function H62(e7, t26) { + let a5 = []; + if (e23(e7)) return e7.forEachChild((T7) => { + a5.push(T7); + }), a5; + s_.setText((t26 || e7.getSourceFile()).text); + let _9 = e7.pos, f7 = (T7) => { + __(a5, _9, T7.pos, e7), a5.push(T7), _9 = T7.end; + }, h5 = (T7) => { + __(a5, _9, T7.pos, e7), a5.push(X62(T7, e7)), _9 = T7.end; + }; + return jn7(e7.jsDoc, f7), _9 = e7.pos, e7.forEachChild(f7, h5), __(a5, _9, e7.end, e7), s_.setText(void 0), a5; +} +function __(e7, t26, a5, _9) { + for (s_.resetTokenState(t26); t26 < a5; ) { + let f7 = s_.scan(), h5 = s_.getTokenEnd(); + if (h5 <= a5) { + if (f7 === 80) { + if (kb(_9)) continue; + q10.fail(`Did not expect ${q10.formatSyntaxKind(_9.kind)} to have an Identifier in its trivia`); + } + e7.push(fh(f7, t26, h5, _9)); + } + if (t26 = h5, f7 === 1) break; + } +} +function X62(e7, t26) { + let a5 = fh(353, e7.pos, e7.end, t26), _9 = [], f7 = e7.pos; + for (let h5 of e7) __(_9, f7, h5.pos, t26), _9.push(h5), f7 = h5.end; + return __(_9, f7, e7.end, t26), a5._children = _9, a5; +} +function yh(e7) { + return Zm2(e7).some((t26) => t26.tagName.text === "inheritDoc" || t26.tagName.text === "inheritdoc"); +} +function dl5(e7, t26) { + if (!e7) return vt11; + let a5 = ts_JsDoc_exports.getJsDocTagsFromDeclarations(e7, t26); + if (t26 && (a5.length === 0 || e7.some(yh))) { + let _9 = /* @__PURE__ */ new Set(); + for (let f7 of e7) { + let h5 = gh(t26, f7, (T7) => { + var k8; + if (!_9.has(T7)) return _9.add(T7), f7.kind === 178 || f7.kind === 179 ? T7.getContextualJsDocTags(f7, t26) : ((k8 = T7.declarations) == null ? void 0 : k8.length) === 1 ? T7.getJsDocTags(t26) : void 0; + }); + h5 && (a5 = [...h5, ...a5]); + } + } + return a5; +} +function a_(e7, t26) { + if (!e7) return vt11; + let a5 = ts_JsDoc_exports.getJsDocCommentsFromDeclarations(e7, t26); + if (t26 && (a5.length === 0 || e7.some(yh))) { + let _9 = /* @__PURE__ */ new Set(); + for (let f7 of e7) { + let h5 = gh(t26, f7, (T7) => { + if (!_9.has(T7)) return _9.add(T7), f7.kind === 178 || f7.kind === 179 ? T7.getContextualDocumentationComment(f7, t26) : T7.getDocumentationComment(t26); + }); + h5 && (a5 = a5.length === 0 ? h5.slice() : h5.concat(lineBreakPart(), a5)); + } + } + return a5; +} +function gh(e7, t26, a5) { + var _9; + let f7 = ((_9 = t26.parent) == null ? void 0 : _9.kind) === 177 ? t26.parent.parent : t26.parent; + if (!f7) return; + let h5 = q23(t26); + return sy(I23(f7), (T7) => { + let k8 = e7.getTypeAtLocation(T7), c7 = h5 && k8.symbol ? e7.getTypeOfSymbol(k8.symbol) : k8, W10 = e7.getPropertyOfType(c7, t26.symbol.name); + return W10 ? a5(W10) : void 0; + }); +} +function tv() { + return { getNodeConstructor: () => Gf2, getTokenConstructor: () => dh, getIdentifierConstructor: () => mh, getPrivateIdentifierConstructor: () => hh, getSourceFileConstructor: () => Z62, getSymbolConstructor: () => $62, getTypeConstructor: () => Q62, getSignatureConstructor: () => K62, getSourceMapSourceConstructor: () => ev }; +} +function Rn6(e7, t26 = false) { + if (e7 != null) { + if (vh) { + if (t26 || Ol4(e7)) { + let a5 = $m2(e7); + return a5 ? [...a5] : void 0; + } + return; + } + return e7.modifiers?.filter((a5) => !Cl5(a5)); + } +} +function xi10(e7, t26 = false) { + if (e7 != null) { + if (vh) { + if (t26 || Wf2(e7)) { + let a5 = uf2(e7); + return a5 ? [...a5] : void 0; + } + return; + } + return e7.decorators?.filter(Cl5); + } +} +function cv(e7) { + return _v.has(e7.kind); +} +function lv(e7) { + return sv.has(e7.kind); +} +function uv(e7) { + return ov.has(e7.kind); +} +function Qr8(e7) { + return nt10(e7); +} +function wh(e7) { + return e7.kind !== ye11.SemicolonClassElement; +} +function Ge10(e7, t26) { + return Rn6(t26)?.some((_9) => _9.kind === e7) === true; +} +function kh(e7) { + let t26 = Rn6(e7); + return t26 == null ? null : t26[t26.length - 1] ?? null; +} +function Eh(e7) { + return e7.kind === ye11.CommaToken; +} +function pv(e7) { + return e7.kind === ye11.SingleLineCommentTrivia || e7.kind === ye11.MultiLineCommentTrivia; +} +function fv(e7) { + return e7.kind === ye11.JSDocComment; +} +function Ah(e7) { + if (cv(e7)) return { type: C7.AssignmentExpression, operator: Qr8(e7.kind) }; + if (lv(e7)) return { type: C7.LogicalExpression, operator: Qr8(e7.kind) }; + if (uv(e7)) return { type: C7.BinaryExpression, operator: Qr8(e7.kind) }; + throw new Error(`Unexpected binary operator ${nt10(e7.kind)}`); +} +function x_(e7, t26) { + let a5 = t26.getLineAndCharacterOfPosition(e7); + return { column: a5.character, line: a5.line + 1 }; +} +function Kr7(e7, t26) { + let [a5, _9] = e7.map((f7) => x_(f7, t26)); + return { end: _9, start: a5 }; +} +function Ch(e7) { + if (e7.kind === Ae10.Block) switch (e7.parent.kind) { + case Ae10.Constructor: + case Ae10.GetAccessor: + case Ae10.SetAccessor: + case Ae10.ArrowFunction: + case Ae10.FunctionExpression: + case Ae10.FunctionDeclaration: + case Ae10.MethodDeclaration: + return true; + default: + return false; + } + return true; +} +function sa5(e7, t26) { + return [e7.getStart(t26), e7.getEnd()]; +} +function dv(e7) { + return e7.kind >= ye11.FirstToken && e7.kind <= ye11.LastToken; +} +function Dh(e7) { + return e7.kind >= ye11.JsxElement && e7.kind <= ye11.JsxAttribute; +} +function S_(e7) { + return e7.flags & sn8.Let ? "let" : (e7.flags & sn8.AwaitUsing) === sn8.AwaitUsing ? "await using" : e7.flags & sn8.Const ? "const" : e7.flags & sn8.Using ? "using" : "var"; +} +function Si10(e7) { + let t26 = Rn6(e7); + if (t26 != null) for (let a5 of t26) switch (a5.kind) { + case ye11.PublicKeyword: + return "public"; + case ye11.ProtectedKeyword: + return "protected"; + case ye11.PrivateKeyword: + return "private"; + default: + break; + } +} +function er9(e7, t26, a5) { + return _9(t26); + function _9(f7) { + return t1(f7) && f7.pos === e7.end ? f7 : vv(f7.getChildren(a5), (h5) => (h5.pos <= e7.pos && h5.end > e7.end || h5.pos === e7.end) && bv(h5, a5) ? _9(h5) : void 0); + } +} +function mv(e7, t26) { + let a5 = e7; + for (; a5; ) { + if (t26(a5)) return a5; + a5 = a5.parent; + } +} +function hv(e7) { + return !!mv(e7, Dh); +} +function Kf(e7) { + return Wr5(0, e7, /&(?:#\d+|#x[\da-fA-F]+|[0-9a-zA-Z]+);/g, (t26) => { + let a5 = t26.slice(1, -1); + if (a5[0] === "#") { + let _9 = a5[1] === "x" ? parseInt(a5.slice(2), 16) : parseInt(a5.slice(1), 10); + return _9 > 1114111 ? t26 : String.fromCodePoint(_9); + } + return Th[a5] || t26; + }); +} +function _a5(e7) { + return e7.kind === ye11.ComputedPropertyName; +} +function Zf(e7) { + return !!e7.questionToken; +} +function ed(e7) { + return e7.type === C7.ChainExpression; +} +function Ph(e7, t26) { + return ed(t26) && e7.expression.kind !== Ae10.ParenthesizedExpression; +} +function yv(e7) { + if (e7.kind === ye11.NullKeyword) return Rt10.Null; + if (e7.kind >= ye11.FirstKeyword && e7.kind <= ye11.LastFutureReservedWord) return e7.kind === ye11.FalseKeyword || e7.kind === ye11.TrueKeyword ? Rt10.Boolean : Rt10.Keyword; + if (e7.kind >= ye11.FirstPunctuation && e7.kind <= ye11.LastPunctuation) return Rt10.Punctuator; + if (e7.kind >= ye11.NoSubstitutionTemplateLiteral && e7.kind <= ye11.TemplateTail) return Rt10.Template; + switch (e7.kind) { + case ye11.NumericLiteral: + case ye11.BigIntLiteral: + return Rt10.Numeric; + case ye11.PrivateIdentifier: + return Rt10.PrivateIdentifier; + case ye11.JsxText: + return Rt10.JSXText; + case ye11.StringLiteral: + return e7.parent.kind === ye11.JsxAttribute || e7.parent.kind === ye11.JsxElement ? Rt10.JSXText : Rt10.String; + case ye11.RegularExpressionLiteral: + return Rt10.RegularExpression; + case ye11.Identifier: + case ye11.ConstructorKeyword: + case ye11.GetKeyword: + case ye11.SetKeyword: + default: + } + if (e7.kind === ye11.Identifier) { + if (Dh(e7.parent)) return Rt10.JSXIdentifier; + if (e7.parent.kind === ye11.PropertyAccessExpression && hv(e7)) return Rt10.JSXIdentifier; + } + return Rt10.Identifier; +} +function gv(e7, t26) { + let a5 = e7.kind === ye11.JsxText ? e7.getFullStart() : e7.getStart(t26), _9 = e7.getEnd(), f7 = t26.text.slice(a5, _9), h5 = yv(e7), T7 = [a5, _9], k8 = Kr7(T7, t26); + return h5 === Rt10.RegularExpression ? { type: h5, loc: k8, range: T7, regex: { flags: f7.slice(f7.lastIndexOf("/") + 1), pattern: f7.slice(1, f7.lastIndexOf("/")) }, value: f7 } : h5 === Rt10.PrivateIdentifier ? { type: h5, loc: k8, range: T7, value: f7.slice(1) } : { type: h5, loc: k8, range: T7, value: f7 }; +} +function Nh(e7) { + let t26 = []; + function a5(_9) { + pv(_9) || fv(_9) || (dv(_9) && _9.kind !== ye11.EndOfFileToken ? t26.push(gv(_9, e7)) : _9.getChildren(e7).forEach(a5)); + } + return a5(e7), t26; +} +function w_(e7, t26, a5, _9 = a5) { + let [f7, h5] = [a5, _9].map((T7) => { + let { character: k8, line: c7 } = t26.getLineAndCharacterOfPosition(T7); + return { column: k8, line: c7 + 1, offset: T7 }; + }); + return new Qf(e7, t26.fileName, { end: h5, start: f7 }); +} +function bv(e7, t26) { + return e7.kind === ye11.EndOfFileToken ? !!e7.jsDoc : e7.getWidth(t26) !== 0; +} +function vv(e7, t26) { + if (e7 !== void 0) for (let a5 = 0; a5 < e7.length; a5++) { + let _9 = t26(e7[a5], a5); + if (_9 !== void 0) return _9; + } +} +function Tv(e7) { + return (av ? cf2(e7) : e7.originalKeywordKind) === ye11.ThisKeyword; +} +function td(e7) { + return !!e7 && e7.kind === ye11.Identifier && Tv(e7); +} +function Ih(e7) { + if (!td(e7)) return false; + for (; A1(e7.parent) && e7.parent.left === e7; ) e7 = e7.parent; + return e7.parent.kind === ye11.TypeQuery; +} +function Jl4(e7) { + switch (e7.kind) { + case ye11.Identifier: + return true; + case ye11.PropertyAccessExpression: + case ye11.ElementAccessExpression: + return !(e7.flags & sn8.OptionalChain); + case ye11.ParenthesizedExpression: + case ye11.TypeAssertionExpression: + case ye11.AsExpression: + case ye11.SatisfiesExpression: + case ye11.ExpressionWithTypeArguments: + case ye11.NonNullExpression: + return Jl4(e7.expression); + default: + return false; + } +} +function Oh(e7) { + let t26 = Rn6(e7), a5 = e7; + for (; (!t26 || t26.length === 0) && Ti10(a5.parent); ) { + let _9 = Rn6(a5.parent); + _9?.length && (t26 = _9), a5 = a5.parent; + } + return t26; +} +function Mh(e7, t26) { + return t26.text.slice(e7.pos, e7.end).trimStart() || "(Missing)"; +} +function xv(e7) { + return e7 == null ? true : e7.pos === e7.end && e7.pos >= 0 && e7.kind !== ge10.EndOfFileToken; +} +function Lh(e7) { + return !xv(e7); +} +function Sv(e7) { + return Ge10(ge10.AbstractKeyword, e7); +} +function wv(e7) { + if (e7.parameters.length && !Il4(e7)) { + let t26 = e7.parameters[0]; + if (kv(t26)) return t26; + } + return null; +} +function kv(e7) { + return td(e7.name); +} +function Ev(e7) { + return of2(e7.parent, mf2); +} +function Av(e7) { + switch (e7.kind) { + case ge10.ClassDeclaration: + return true; + case ge10.ClassExpression: + return true; + case ge10.PropertyDeclaration: { + let { parent: t26 } = e7; + return !!(Ga4(t26) || ra4(t26) && !Sv(e7)); + } + case ge10.GetAccessor: + case ge10.SetAccessor: + case ge10.MethodDeclaration: { + let { parent: t26 } = e7; + return !!e7.body && (Ga4(t26) || ra4(t26)); + } + case ge10.Parameter: { + let { parent: t26 } = e7, a5 = t26.parent; + return !!t26 && "body" in t26 && !!t26.body && (t26.kind === ge10.Constructor || t26.kind === ge10.MethodDeclaration || t26.kind === ge10.SetAccessor) && wv(t26) !== e7 && !!a5 && a5.kind === ge10.ClassDeclaration; + } + } + return false; +} +function Cv(e7) { + return !!("illegalDecorators" in e7 && e7.illegalDecorators?.length); +} +function Ut10(e7, t26) { + let a5 = e7.getSourceFile(), _9 = e7.getStart(a5), f7 = e7.getEnd(); + throw w_(t26, a5, _9, f7); +} +function Jh(e7) { + Cv(e7) && Ut10(e7.illegalDecorators[0], "Decorators are not valid here."); + for (let t26 of xi10(e7, true) ?? []) Av(e7) || (h_(e7) && !Lh(e7.body) ? Ut10(t26, "A decorator can only decorate a method implementation, not an overload.") : Ut10(t26, "Decorators are not valid here.")); + for (let t26 of Rn6(e7, true) ?? []) { + if (t26.kind !== ge10.ReadonlyKeyword && ((e7.kind === ge10.PropertySignature || e7.kind === ge10.MethodSignature) && Ut10(t26, `'${nt10(t26.kind)}' modifier cannot appear on a type member`), e7.kind === ge10.IndexSignature && (t26.kind !== ge10.StaticKeyword || !ra4(e7.parent)) && Ut10(t26, `'${nt10(t26.kind)}' modifier cannot appear on an index signature`)), t26.kind !== ge10.InKeyword && t26.kind !== ge10.OutKeyword && t26.kind !== ge10.ConstKeyword && e7.kind === ge10.TypeParameter && Ut10(t26, `'${nt10(t26.kind)}' modifier cannot appear on a type parameter`), (t26.kind === ge10.InKeyword || t26.kind === ge10.OutKeyword) && (e7.kind !== ge10.TypeParameter || !(T_(e7.parent) || ra4(e7.parent) || Nl5(e7.parent))) && Ut10(t26, `'${nt10(t26.kind)}' modifier can only appear on a type parameter of a class, interface or type alias`), t26.kind === ge10.ReadonlyKeyword && e7.kind !== ge10.PropertyDeclaration && e7.kind !== ge10.PropertySignature && e7.kind !== ge10.IndexSignature && e7.kind !== ge10.Parameter && Ut10(t26, "'readonly' modifier can only appear on a property declaration or index signature."), t26.kind === ge10.DeclareKeyword && ra4(e7.parent) && !Wa5(e7) && Ut10(t26, `'${nt10(t26.kind)}' modifier cannot appear on class elements of this kind.`), t26.kind === ge10.DeclareKeyword && Xa5(e7)) { + let a5 = S_(e7.declarationList); + (a5 === "using" || a5 === "await using") && Ut10(t26, `'declare' modifier cannot appear on a '${a5}' declaration.`); + } + if (t26.kind === ge10.AbstractKeyword && e7.kind !== ge10.ClassDeclaration && e7.kind !== ge10.ConstructorType && e7.kind !== ge10.MethodDeclaration && e7.kind !== ge10.PropertyDeclaration && e7.kind !== ge10.GetAccessor && e7.kind !== ge10.SetAccessor && Ut10(t26, `'${nt10(t26.kind)}' modifier can only appear on a class, method, or property declaration.`), (t26.kind === ge10.StaticKeyword || t26.kind === ge10.PublicKeyword || t26.kind === ge10.ProtectedKeyword || t26.kind === ge10.PrivateKeyword) && (e7.parent.kind === ge10.ModuleBlock || e7.parent.kind === ge10.SourceFile) && Ut10(t26, `'${nt10(t26.kind)}' modifier cannot appear on a module or namespace element.`), t26.kind === ge10.AccessorKeyword && e7.kind !== ge10.PropertyDeclaration && Ut10(t26, "'accessor' modifier can only appear on a property declaration."), t26.kind === ge10.AsyncKeyword && e7.kind !== ge10.MethodDeclaration && e7.kind !== ge10.FunctionDeclaration && e7.kind !== ge10.FunctionExpression && e7.kind !== ge10.ArrowFunction && Ut10(t26, "'async' modifier cannot be used here."), e7.kind === ge10.Parameter && (t26.kind === ge10.StaticKeyword || t26.kind === ge10.ExportKeyword || t26.kind === ge10.DeclareKeyword || t26.kind === ge10.AsyncKeyword) && Ut10(t26, `'${nt10(t26.kind)}' modifier cannot appear on a parameter.`), t26.kind === ge10.PublicKeyword || t26.kind === ge10.ProtectedKeyword || t26.kind === ge10.PrivateKeyword) for (let a5 of Rn6(e7) ?? []) a5 !== t26 && (a5.kind === ge10.PublicKeyword || a5.kind === ge10.ProtectedKeyword || a5.kind === ge10.PrivateKeyword) && Ut10(a5, "Accessibility modifier already seen."); + if (e7.kind === ge10.Parameter && (t26.kind === ge10.PublicKeyword || t26.kind === ge10.PrivateKeyword || t26.kind === ge10.ProtectedKeyword || t26.kind === ge10.ReadonlyKeyword || t26.kind === ge10.OverrideKeyword)) { + let a5 = Ev(e7); + a5?.kind === ge10.Constructor && Lh(a5.body) || Ut10(t26, "A parameter property is only allowed in a constructor implementation."); + let _9 = e7; + _9.dotDotDotToken && Ut10(t26, "A parameter property cannot be a rest parameter."), (_9.name.kind === ge10.ArrayBindingPattern || _9.name.kind === ge10.ObjectBindingPattern) && Ut10(t26, "A parameter property may not be declared using a binding pattern."); + } + t26.kind !== ge10.AsyncKeyword && e7.kind === ge10.MethodDeclaration && e7.parent.kind === ge10.ObjectLiteralExpression && Ut10(t26, `'${nt10(t26.kind)}' modifier cannot be used here.`); + } +} +function nd(e7) { + return w_("message" in e7 && e7.message || e7.messageText, e7.file, e7.start); +} +function Pv(e7) { + return dr8(e7) && Ke11(e7.name) && jh(e7.expression); +} +function jh(e7) { + return e7.kind === x7.Identifier || Pv(e7); +} +function Nv(e7, t26, a5 = e7.getSourceFile()) { + let _9 = []; + for (; ; ) { + if (df2(e7.kind)) t26(e7); + else { + let f7 = e7.getChildren(a5); + if (f7.length === 1) { + e7 = f7[0]; + continue; + } + for (let h5 = f7.length - 1; h5 >= 0; --h5) _9.push(f7[h5]); + } + if (_9.length === 0) break; + e7 = _9.pop(); + } +} +function Uh(e7, t26, a5 = e7.getSourceFile()) { + let _9 = a5.text, f7 = a5.languageVariant !== wl5.JSX; + return Nv(e7, (T7) => { + if (T7.pos !== T7.end && (T7.kind !== Ae10.JsxText && Vm3(_9, T7.pos === 0 ? (af2(_9) ?? "").length : T7.pos, h5), f7 || Iv(T7))) return Wm2(_9, T7.end, h5); + }, a5); + function h5(T7, k8, c7) { + t26(_9, { end: k8, kind: c7, pos: T7 }); + } +} +function Iv(e7) { + switch (e7.kind) { + case Ae10.CloseBraceToken: + return e7.parent.kind !== Ae10.JsxExpression || !rd(e7.parent.parent); + case Ae10.GreaterThanToken: + switch (e7.parent.kind) { + case Ae10.JsxClosingElement: + case Ae10.JsxClosingFragment: + return !rd(e7.parent.parent.parent); + case Ae10.JsxOpeningElement: + return e7.end !== e7.parent.end; + case Ae10.JsxOpeningFragment: + return false; + case Ae10.JsxSelfClosingElement: + return e7.end !== e7.parent.end || !rd(e7.parent.parent); + } + } + return true; +} +function rd(e7) { + return e7.kind === Ae10.JsxElement || e7.kind === Ae10.JsxFragment; +} +function Bh(e7, t26) { + let a5 = []; + return Uh(e7, (_9, f7) => { + let h5 = f7.kind === Ae10.SingleLineCommentTrivia ? Rt10.Line : Rt10.Block, T7 = [f7.pos, f7.end], k8 = Kr7(T7, e7), c7 = T7[0] + 2, W10 = f7.kind === Ae10.SingleLineCommentTrivia ? T7[1] : T7[1] - 2; + a5.push({ type: h5, loc: k8, range: T7, value: t26.slice(c7, W10) }); + }, e7), a5; +} +function Fh(e7, t26, a5) { + let { parseDiagnostics: _9 } = e7; + if (_9.length) throw nd(_9[0]); + let f7 = new Rl4(e7, { allowInvalidAST: t26.allowInvalidAST, errorOnUnknownASTType: t26.errorOnUnknownASTType, shouldPreserveNodeMaps: a5, suppressDeprecatedPropertyWarnings: t26.suppressDeprecatedPropertyWarnings }), h5 = f7.convertProgram(); + return (!t26.range || !t26.loc) && qh(h5, { enter: (k8) => { + t26.range || delete k8.range, t26.loc || delete k8.loc; + } }), t26.tokens && (h5.tokens = Nh(e7)), t26.comment && (h5.comments = Bh(e7, t26.codeFullText)), { astMaps: f7.getASTMaps(), estree: h5 }; +} +function Ul4(e7) { + if (typeof e7 != "object" || e7 == null) return false; + let t26 = e7; + return t26.kind === Ae10.SourceFile && typeof t26.getFullText == "function"; +} +function Vh(e7, t26) { + switch (Bv.default.extname(e7).toLowerCase()) { + case Cn7.Cjs: + case Cn7.Js: + case Cn7.Mjs: + return Pr6.JS; + case Cn7.Cts: + case Cn7.Mts: + case Cn7.Ts: + return Pr6.TS; + case Cn7.Json: + return Pr6.JSON; + case Cn7.Jsx: + return Pr6.JSX; + case Cn7.Tsx: + return Pr6.TSX; + default: + return t26 ? Pr6.TSX : Pr6.TS; + } +} +function Wh(e7) { + return zv("Getting AST without type information in %s mode for: %s", e7.jsx ? "TSX" : "TS", e7.filePath), Ul4(e7.code) ? e7.code : lh(e7.filePath, e7.codeFullText, { jsDocParsingMode: e7.jsDocParsingMode, languageVersion: g_.Latest, setExternalModuleIndicator: e7.setExternalModuleIndicator }, true, Vh(e7.filePath, e7.jsx)); +} +function Zh(e7, t26 = {}) { + let a5 = _42(e7), _9 = $h(t26), f7 = void 0, h5 = typeof t26.loggerFn == "function", T7 = Gh(typeof t26.filePath == "string" && t26.filePath !== "" ? t26.filePath : o4(t26.jsx), f7), k8 = i4.default.extname(T7).toLowerCase(), c7 = (() => { + switch (t26.jsDocParsingMode) { + case "all": + return k_.ParseAll; + case "none": + return k_.ParseNone; + case "type-info": + return k_.ParseForTypeInfo; + default: + return k_.ParseAll; + } + })(), W10 = { loc: t26.loc === true, range: t26.range === true, allowInvalidAST: t26.allowInvalidAST === true, code: e7, codeFullText: a5, comment: t26.comment === true, comments: [], debugLevel: t26.debugLevel === true ? /* @__PURE__ */ new Set(["typescript-eslint"]) : Array.isArray(t26.debugLevel) ? new Set(t26.debugLevel) : /* @__PURE__ */ new Set(), errorOnTypeScriptSyntacticAndSemanticIssues: false, errorOnUnknownASTType: t26.errorOnUnknownASTType === true, extraFileExtensions: Array.isArray(t26.extraFileExtensions) && t26.extraFileExtensions.every((y10) => typeof y10 == "string") ? t26.extraFileExtensions : [], filePath: T7, jsDocParsingMode: c7, jsx: t26.jsx === true, log: typeof t26.loggerFn == "function" ? t26.loggerFn : t26.loggerFn === false ? () => { + } : console.log, preserveNodeMaps: t26.preserveNodeMaps !== false, programs: Array.isArray(t26.programs) ? t26.programs : null, projects: /* @__PURE__ */ new Map(), projectService: t26.projectService || t26.project && t26.projectService !== false && (void 0).env.TYPESCRIPT_ESLINT_PROJECT_SERVICE === "true" ? c4(t26.projectService, { jsDocParsingMode: c7, tsconfigRootDir: f7 }) : void 0, setExternalModuleIndicator: t26.sourceType === "module" || t26.sourceType == null && k8 === Cn7.Mjs || t26.sourceType == null && k8 === Cn7.Mts ? (y10) => { + y10.externalModuleIndicator = true; + } : void 0, singleRun: _9, suppressDeprecatedPropertyWarnings: t26.suppressDeprecatedPropertyWarnings ?? true, tokens: t26.tokens === true ? [] : null, tsconfigMatchCache: s4 ?? (s4 = new Hh(_9 ? "Infinity" : t26.cacheLifetime?.glob ?? void 0)), tsconfigRootDir: f7 }; + if (W10.projectService && t26.project && (void 0).env.TYPESCRIPT_ESLINT_IGNORE_PROJECT_AND_PROJECT_SERVICE_ERROR !== "true") throw new Error('Enabling "project" does nothing when "projectService" is enabled. You can remove the "project" setting.'); + if (W10.debugLevel.size > 0) { + let y10 = []; + W10.debugLevel.has("typescript-eslint") && y10.push("typescript-eslint:*"), (W10.debugLevel.has("eslint") || id.default.enabled("eslint:*,-eslint:code-path")) && y10.push("eslint:*,-eslint:code-path"), id.default.enable(y10.join(",")); + } + if (Array.isArray(t26.programs)) { + if (!t26.programs.length) throw new Error("You have set parserOptions.programs to an empty array. This will cause all files to not be found in existing programs. Either provide one or more existing TypeScript Program instances in the array, or remove the parserOptions.programs setting."); + a4("parserOptions.programs was provided, so parserOptions.project will be ignored."); + } + return !W10.programs && !W10.projectService && (W10.projects = /* @__PURE__ */ new Map()), t26.jsDocParsingMode == null && W10.projects.size === 0 && W10.programs == null && W10.projectService == null && (W10.jsDocParsingMode = k_.ParseNone), Qh(W10, h5), W10; +} +function _42(e7) { + return Ul4(e7) ? e7.getFullText(e7) : typeof e7 == "string" ? e7 : String(e7); +} +function o4(e7) { + return e7 ? "estree.tsx" : "estree.ts"; +} +function c4(e7, t26) { + let a5 = typeof e7 == "object" ? e7 : {}; + return Yh(a5.allowDefaultProject), Kh ?? (Kh = (0, r4.createProjectService)({ options: a5, ...t26 })), Kh; +} +function e0(e7, t26) { + let { ast: a5 } = d4(e7, t26, false); + return a5; +} +function d4(e7, t26, a5) { + let _9 = Zh(e7, t26); + if (t26?.errorOnTypeScriptSyntacticAndSemanticIssues) throw new Error('"errorOnTypeScriptSyntacticAndSemanticIssues" is only supported for parseAndGenerateServices()'); + let f7 = Wh(_9), { astMaps: h5, estree: T7 } = Fh(f7, _9, a5); + return { ast: T7, esTreeNodeToTSNodeMap: h5.esTreeNodeToTSNodeMap, tsNodeToESTreeNodeMap: h5.tsNodeToESTreeNodeMap }; +} +function m42(e7, t26) { + let a5 = new SyntaxError(e7 + " (" + t26.loc.start.line + ":" + t26.loc.start.column + ")"); + return Object.assign(a5, t26); +} +function n0(e7) { + let t26 = []; + for (let a5 of e7) try { + return a5(); + } catch (_9) { + t26.push(_9); + } + throw Object.assign(new Error("All combinations failed"), { errors: t26 }); +} +function g42(e7) { + return this[e7 < 0 ? this.length + e7 : e7]; +} +function tr10(e7) { + let t26 = e7.range?.[0] ?? e7.start, a5 = (e7.declaration?.decorators ?? e7.decorators)?.[0]; + return a5 ? Math.min(tr10(a5), t26) : t26; +} +function Un7(e7) { + return e7.range?.[1] ?? e7.end; +} +function v42(e7) { + let t26 = new Set(e7); + return (a5) => t26.has(a5?.type); +} +function S42(e7) { + return ad.has(e7) || ad.set(e7, Qa5(e7) && e7.value[0] === "*" && /@(?:type|satisfies)\b/u.test(e7.value)), ad.get(e7); +} +function w42(e7) { + if (!Qa5(e7)) return false; + let t26 = `*${e7.value}*`.split(` +`); + return t26.length > 1 && t26.every((a5) => a5.trimStart()[0] === "*"); +} +function k42(e7) { + return sd.has(e7) || sd.set(e7, w42(e7)), sd.get(e7); +} +function E42(e7) { + if (e7.length < 2) return; + let t26; + for (let a5 = e7.length - 1; a5 >= 0; a5--) { + let _9 = e7[a5]; + if (t26 && Un7(_9) === tr10(t26) && _d(_9) && _d(t26) && (e7.splice(a5 + 1, 1), _9.value += "*//*" + t26.value, _9.range = [tr10(_9), Un7(t26)]), !a0(_9) && !Qa5(_9)) throw new TypeError(`Unknown comment type: "${_9.type}".`); + t26 = _9; + } +} +function A42(e7) { + return e7 !== null && typeof e7 == "object"; +} +function A_(e7) { + if (E_ !== null && typeof E_.property) { + let t26 = E_; + return E_ = A_.prototype = null, t26; + } + return E_ = A_.prototype = e7 ?? /* @__PURE__ */ Object.create(null), new A_(); +} +function od(e7) { + return A_(e7); +} +function D42(e7, t26 = "type") { + od(e7); + function a5(_9) { + let f7 = _9[t26], h5 = e7[f7]; + if (!Array.isArray(h5)) throw Object.assign(new Error(`Missing visitor keys for '${f7}'.`), { node: _9 }); + return h5; + } + return a5; +} +function Bl3(e7, t26) { + if (!o0(e7)) return e7; + if (Array.isArray(e7)) { + for (let _9 = 0; _9 < e7.length; _9++) e7[_9] = Bl3(e7[_9], t26); + return e7; + } + if (t26.onEnter) { + let _9 = t26.onEnter(e7) ?? e7; + if (_9 !== e7) return Bl3(_9, t26); + e7 = _9; + } + let a5 = u0(e7); + for (let _9 = 0; _9 < a5.length; _9++) e7[a5[_9]] = Bl3(e7[a5[_9]], t26); + return t26.onLeave && (e7 = t26.onLeave(e7) || e7), e7; +} +function N42(e7, t26) { + let { parser: a5, text: _9 } = t26, { comments: f7 } = e7, h5 = a5 === "oxc" && t26.oxcAstType === "ts"; + _0(f7); + let T7 = e7.type === "File" ? e7.program : e7; + T7.interpreter && (f7.unshift(T7.interpreter), delete T7.interpreter), h5 && e7.hashbang && (f7.unshift(e7.hashbang), delete e7.hashbang), e7.type === "Program" && (e7.range = [0, _9.length]); + let k8; + return e7 = p0(e7, { onEnter(c7) { + switch (c7.type) { + case "ParenthesizedExpression": { + let { expression: W10 } = c7, y10 = tr10(c7); + if (W10.type === "TypeCastExpression") return W10.range = [y10, Un7(c7)], W10; + let G11 = false; + if (!h5) { + if (!k8) { + k8 = []; + for (let D7 of f7) s0(D7) && k8.push(Un7(D7)); + } + let E7 = r0(0, k8, (D7) => D7 <= y10); + G11 = E7 && _9.slice(E7, y10).trim().length === 0; + } + return G11 ? void 0 : (W10.extra = { ...W10.extra, parenthesized: true }, W10); + } + case "TemplateLiteral": + if (c7.expressions.length !== c7.quasis.length - 1) throw new Error("Malformed template literal."); + break; + case "TemplateElement": + if (a5 === "flow" || a5 === "hermes" || a5 === "espree" || a5 === "typescript" || h5) { + let W10 = tr10(c7) + 1, y10 = Un7(c7) - (c7.tail ? 1 : 2); + c7.range = [W10, y10]; + } + break; + case "VariableDeclaration": { + let W10 = i0(0, c7.declarations, -1); + W10?.init && _9[Un7(W10)] !== ";" && (c7.range = [tr10(c7), Un7(W10)]); + break; + } + case "TSParenthesizedType": + return c7.typeAnnotation; + case "TopicReference": + e7.extra = { ...e7.extra, __isUsingHackPipeline: true }; + break; + case "TSUnionType": + case "TSIntersectionType": + if (c7.types.length === 1) return c7.types[0]; + break; + case "ImportExpression": + a5 === "hermes" && c7.attributes && !c7.options && (c7.options = c7.attributes); + break; + } + }, onLeave(c7) { + switch (c7.type) { + case "LogicalExpression": + if (f0(c7)) return cd(c7); + break; + case "TSImportType": + !c7.source && c7.argument.type === "TSLiteralType" && (c7.source = c7.argument.literal, delete c7.argument); + break; + } + } }), e7; +} +function f0(e7) { + return e7.type === "LogicalExpression" && e7.right.type === "LogicalExpression" && e7.operator === e7.right.operator; +} +function cd(e7) { + return f0(e7) ? cd({ type: "LogicalExpression", operator: e7.operator, left: cd({ type: "LogicalExpression", operator: e7.operator, left: e7.left, right: e7.right.left, range: [tr10(e7.left), Un7(e7.right.left)] }), right: e7.right.right, range: [tr10(e7), Un7(e7)] }) : e7; +} +function y0(e7) { + let t26 = e7.match(M42); + return t26 ? t26[0].trimStart() : ""; +} +function g0(e7) { + e7 = Wr5(0, e7.replace(O42, "").replace(I42, ""), j42, "$1"); + let a5 = ""; + for (; a5 !== e7; ) a5 = e7, e7 = Wr5(0, e7, J42, ` +$1 $2 +`); + e7 = e7.replace(m0, "").trimEnd(); + let _9 = /* @__PURE__ */ Object.create(null), f7 = Wr5(0, e7, h0, "").replace(m0, "").trimEnd(), h5; + for (; h5 = h0.exec(e7); ) { + let T7 = Wr5(0, h5[2], L42, ""); + if (typeof _9[h5[1]] == "string" || Array.isArray(_9[h5[1]])) { + let k8 = _9[h5[1]]; + _9[h5[1]] = [...R42, ...Array.isArray(k8) ? k8 : [k8], T7]; + } else _9[h5[1]] = T7; + } + return { comments: f7, pragmas: _9 }; +} +function U42(e7) { + if (!e7.startsWith("#!")) return ""; + let t26 = e7.indexOf(` +`); + return t26 === -1 ? e7 : e7.slice(0, t26); +} +function x0(e7) { + let t26 = T0(e7); + t26 && (e7 = e7.slice(t26.length + 1)); + let a5 = y0(e7), { pragmas: _9, comments: f7 } = g0(a5); + return { shebang: t26, text: e7, pragmas: _9, comments: f7 }; +} +function S0(e7) { + let { pragmas: t26 } = x0(e7); + return v0.some((a5) => Object.prototype.hasOwnProperty.call(t26, a5)); +} +function w0(e7) { + let { pragmas: t26 } = x0(e7); + return b0.some((a5) => Object.prototype.hasOwnProperty.call(t26, a5)); +} +function B42(e7) { + return e7 = typeof e7 == "function" ? { parse: e7 } : e7, { astFormat: "estree", hasPragma: S0, hasIgnorePragma: w0, locStart: tr10, locEnd: Un7, ...e7 }; +} +function q42(e7) { + return e7.charAt(0) === "#" && e7.charAt(1) === "!" ? "//" + e7.slice(2) : e7; +} +function N0(e7) { + if (typeof e7 == "string") { + if (e7 = e7.toLowerCase(), /\.(?:mjs|mts)$/iu.test(e7)) return C0; + if (/\.(?:cjs|cts)$/iu.test(e7)) return D0; + } +} +function z42(e7) { + let { message: t26, location: a5 } = e7; + if (!a5) return e7; + let { start: _9, end: f7 } = a5; + return t0(t26, { loc: { start: { line: _9.line, column: _9.column + 1 }, end: { line: f7.line, column: f7.column + 1 } }, cause: e7 }); +} +function W42(e7, t26) { + let a5 = [{ ...F42, filePath: t26 }], _9 = N0(t26); + if (_9 ? a5 = a5.map((h5) => ({ ...h5, sourceType: _9 })) : a5 = P0.flatMap((h5) => a5.map((T7) => ({ ...T7, sourceType: h5 }))), V42(t26)) return a5; + let f7 = E0.test(e7); + return [f7, !f7].flatMap((h5) => a5.map((T7) => ({ ...T7, jsx: h5 }))); +} +function G42(e7, t26) { + let a5 = t26?.filepath; + typeof a5 != "string" && (a5 = void 0); + let _9 = A0(e7), f7 = W42(e7, a5), h5; + try { + h5 = n0(f7.map((T7) => () => e0(_9, T7))); + } catch ({ errors: [T7] }) { + throw z42(T7); + } + return d0(h5, { parser: "typescript", text: e7 }); +} +var ty, hd, I0, ld, ny, Na3, Ia4, ry, iy, Wr5, gm2, vt11, ay, Z42, xm2, q10, e32, bd, Oy, ll5, Ae10, sn8, Qp2, wm2, Op2, Kp2, km2, en9, Zp2, Em2, Pr6, g_, wl5, Cn7, Am2, Cm2, Dm2, $s8, Pm2, Ya5, Xr6, My2, vd, Ly2, Sd, A7, tf2, Wy2, Lm2, Jm2, Gy2, Yy2, Hy2, Xy, $y2, Qy, Ky, Zy, ng, t32, ul5, rf2, ug, Ed, Ad, Cd, Ra4, n3, r32, i3, a32, Et12, sb, Rd, it9, s3, _32, o3, c32, l32, u3, p3, f32, d3, m32, h32, y32, g32, b32, v32, T32, x32, pb, x1, fb, db, w1, S32, w32, yb, k32, gb, E32, bb, A32, qp2, C32, Ab, D32, Db, _l5, Pb, Sn8, Fd, Ks7, Mb, P32, ea5, Xd, Qd, Kd, Zd, em2, tm2, k62, N32, I62, ta4, hm2, ph, Sl5, Dp2, V62, W62, s_, Gf2, Yf2, $62, dh, mh, hh, Q62, K62, Z62, ev, nv, I32, Ml4, vh, Th, Ll5, xh, Sh, C7, Rt10, av, ye11, sv, _v, ov, Qf, ge10, x7, Rl4, rx, ix, ax, qh, Uv, Bv, Fv, zv, Gh, Yh, Hh, $h, Qh, n4, r4, id, i4, a4, s4, Kh, k_, f42, Tx, t0, h4, y42, r0, b42, i0, $a5, T42, Qa5, x42, a0, ad, s0, sd, _d, _0, o0, E_, C42, c0, w7, l0, P42, u0, p0, oS, d0, I42, O42, M42, L42, m0, J42, h0, j42, R42, b0, v0, T0, k0, E0, A0, C0, D0, P0, F42, V42, Y42; +var init_typescript = __esm({ + "node_modules/prettier/plugins/typescript.mjs"() { + ty = Object.defineProperty; + hd = (e7, t26) => { + for (var a5 in t26) ty(e7, a5, { get: t26[a5], enumerable: true }); + }; + I0 = {}; + hd(I0, { parsers: () => ld }); + ld = {}; + hd(ld, { typescript: () => Y42 }); + ny = () => () => { + }; + Na3 = ny; + Ia4 = (e7, t26) => (a5, _9, ...f7) => a5 | 1 && _9 == null ? void 0 : (t26.call(_9) ?? _9[e7]).apply(_9, f7); + ry = String.prototype.replaceAll ?? function(e7, t26) { + return e7.global ? this.replace(e7, t26) : this.split(e7).join(t26); + }; + iy = Ia4("replaceAll", function() { + if (typeof this == "string") return ry; + }); + Wr5 = iy; + gm2 = "5.9"; + vt11 = []; + ay = /* @__PURE__ */ new Map(); + Z42 = Array.prototype.at ? (e7, t26) => e7?.at(t26) : (e7, t26) => { + if (e7 !== void 0 && (t26 = Np3(e7, t26), t26 < e7.length)) return e7[t26]; + }; + xm2 = Object.prototype.hasOwnProperty; + ((e7) => { + let t26 = 0; + e7.currentLogLevel = 2, e7.isDebugging = false; + function a5(L9) { + return e7.currentLogLevel <= L9; + } + e7.shouldLog = a5; + function _9(L9, se11) { + e7.loggingHost && a5(L9) && e7.loggingHost.log(L9, se11); + } + function f7(L9) { + _9(3, L9); + } + e7.log = f7, ((L9) => { + function se11(Qe11) { + _9(1, Qe11); + } + L9.error = se11; + function fe10(Qe11) { + _9(2, Qe11); + } + L9.warn = fe10; + function Te10(Qe11) { + _9(3, Qe11); + } + L9.log = Te10; + function He10(Qe11) { + _9(4, Qe11); + } + L9.trace = He10; + })(f7 = e7.log || (e7.log = {})); + let h5 = {}; + function T7() { + return t26; + } + e7.getAssertionLevel = T7; + function k8(L9) { + let se11 = t26; + if (t26 = L9, L9 > se11) for (let fe10 of by(h5)) { + let Te10 = h5[fe10]; + Te10 !== void 0 && e7[fe10] !== Te10.assertion && L9 >= Te10.level && (e7[fe10] = Te10, h5[fe10] = void 0); + } + } + e7.setAssertionLevel = k8; + function c7(L9) { + return t26 >= L9; + } + e7.shouldAssert = c7; + function W10(L9, se11) { + return c7(L9) ? true : (h5[se11] = { level: L9, assertion: e7[se11] }, e7[se11] = Va4, false); + } + function y10(L9, se11) { + debugger; + let fe10 = new Error(L9 ? `Debug Failure. ${L9}` : "Debug Failure."); + throw Error.captureStackTrace && Error.captureStackTrace(fe10, se11 || y10), fe10; + } + e7.fail = y10; + function G11(L9, se11, fe10) { + return y10(`${se11 || "Unexpected node."}\r +Node ${Ot12(L9.kind)} was unexpected.`, fe10 || G11); + } + e7.failBadSyntaxKind = G11; + function E7(L9, se11, fe10, Te10) { + L9 || (se11 = se11 ? `False expression: ${se11}` : "False expression.", fe10 && (se11 += `\r +Verbose Debug Information: ` + (typeof fe10 == "string" ? fe10 : fe10())), y10(se11, Te10 || E7)); + } + e7.assert = E7; + function D7(L9, se11, fe10, Te10, He10) { + if (L9 !== se11) { + let Qe11 = fe10 ? Te10 ? `${fe10} ${Te10}` : fe10 : ""; + y10(`Expected ${L9} === ${se11}. ${Qe11}`, He10 || D7); + } + } + e7.assertEqual = D7; + function R10(L9, se11, fe10, Te10) { + L9 >= se11 && y10(`Expected ${L9} < ${se11}. ${fe10 || ""}`, Te10 || R10); + } + e7.assertLessThan = R10; + function ue11(L9, se11, fe10) { + L9 > se11 && y10(`Expected ${L9} <= ${se11}`, fe10 || ue11); + } + e7.assertLessThanOrEqual = ue11; + function be10(L9, se11, fe10) { + L9 < se11 && y10(`Expected ${L9} >= ${se11}`, fe10 || be10); + } + e7.assertGreaterThanOrEqual = be10; + function he11(L9, se11, fe10) { + L9 == null && y10(se11, fe10 || he11); + } + e7.assertIsDefined = he11; + function de11(L9, se11, fe10) { + return he11(L9, se11, fe10 || de11), L9; + } + e7.checkDefined = de11; + function O7(L9, se11, fe10) { + for (let Te10 of L9) he11(Te10, se11, fe10 || O7); + } + e7.assertEachIsDefined = O7; + function ae9(L9, se11, fe10) { + return O7(L9, se11, fe10 || ae9), L9; + } + e7.checkEachDefined = ae9; + function Oe11(L9, se11 = "Illegal value:", fe10) { + let Te10 = typeof L9 == "object" && Dr7(L9, "kind") && Dr7(L9, "pos") ? "SyntaxKind: " + Ot12(L9.kind) : JSON.stringify(L9); + return y10(`${se11} ${Te10}`, fe10 || Oe11); + } + e7.assertNever = Oe11; + function V11(L9, se11, fe10, Te10) { + W10(1, "assertEachNode") && E7(se11 === void 0 || Gp2(L9, se11), fe10 || "Unexpected node.", () => `Node array did not pass test '${hn9(se11)}'.`, Te10 || V11); + } + e7.assertEachNode = V11; + function oe10(L9, se11, fe10, Te10) { + W10(1, "assertNode") && E7(L9 !== void 0 && (se11 === void 0 || se11(L9)), fe10 || "Unexpected node.", () => `Node ${Ot12(L9?.kind)} did not pass test '${hn9(se11)}'.`, Te10 || oe10); + } + e7.assertNode = oe10; + function Y7(L9, se11, fe10, Te10) { + W10(1, "assertNotNode") && E7(L9 === void 0 || se11 === void 0 || !se11(L9), fe10 || "Unexpected node.", () => `Node ${Ot12(L9.kind)} should not have passed test '${hn9(se11)}'.`, Te10 || Y7); + } + e7.assertNotNode = Y7; + function ft10(L9, se11, fe10, Te10) { + W10(1, "assertOptionalNode") && E7(se11 === void 0 || L9 === void 0 || se11(L9), fe10 || "Unexpected node.", () => `Node ${Ot12(L9?.kind)} did not pass test '${hn9(se11)}'.`, Te10 || ft10); + } + e7.assertOptionalNode = ft10; + function nr9(L9, se11, fe10, Te10) { + W10(1, "assertOptionalToken") && E7(se11 === void 0 || L9 === void 0 || L9.kind === se11, fe10 || "Unexpected node.", () => `Node ${Ot12(L9?.kind)} was not a '${Ot12(se11)}' token.`, Te10 || nr9); + } + e7.assertOptionalToken = nr9; + function mn8(L9, se11, fe10) { + W10(1, "assertMissingNode") && E7(L9 === void 0, se11 || "Unexpected node.", () => `Node ${Ot12(L9.kind)} was unexpected'.`, fe10 || mn8); + } + e7.assertMissingNode = mn8; + function rr8(L9) { + } + e7.type = rr8; + function hn9(L9) { + if (typeof L9 != "function") return ""; + if (Dr7(L9, "name")) return L9.name; + { + let se11 = Function.prototype.toString.call(L9), fe10 = /^function\s+([\w$]+)\s*\(/.exec(se11); + return fe10 ? fe10[1] : ""; + } + } + e7.getFunctionName = hn9; + function Dn7(L9) { + return `{ name: ${l_(L9.escapedName)}; flags: ${ot8(L9.flags)}; declarations: ${Pp3(L9.declarations, (se11) => Ot12(se11.kind))} }`; + } + e7.formatSymbol = Dn7; + function We12(L9 = 0, se11, fe10) { + let Te10 = Ir6(se11); + if (L9 === 0) return Te10.length > 0 && Te10[0][0] === 0 ? Te10[0][1] : "0"; + if (fe10) { + let He10 = [], Qe11 = L9; + for (let [st8, Ct12] of Te10) { + if (st8 > L9) break; + st8 !== 0 && st8 & L9 && (He10.push(Ct12), Qe11 &= ~st8); + } + if (Qe11 === 0) return He10.join("|"); + } else for (let [He10, Qe11] of Te10) if (He10 === L9) return Qe11; + return L9.toString(); + } + e7.formatEnum = We12; + let ir10 = /* @__PURE__ */ new Map(); + function Ir6(L9) { + let se11 = ir10.get(L9); + if (se11) return se11; + let fe10 = []; + for (let He10 in L9) { + let Qe11 = L9[He10]; + typeof Qe11 == "number" && fe10.push([Qe11, He10]); + } + let Te10 = fy(fe10, (He10, Qe11) => Sm2(He10[0], Qe11[0])); + return ir10.set(L9, Te10), Te10; + } + function Ot12(L9) { + return We12(L9, Ae10, false); + } + e7.formatSyntaxKind = Ot12; + function Bn7(L9) { + return We12(L9, Cm2, false); + } + e7.formatSnippetKind = Bn7; + function Pn8(L9) { + return We12(L9, Pr6, false); + } + e7.formatScriptKind = Pn8; + function Mt12(L9) { + return We12(L9, sn8, true); + } + e7.formatNodeFlags = Mt12; + function ht10(L9) { + return We12(L9, km2, true); + } + e7.formatNodeCheckFlags = ht10; + function $e11(L9) { + return We12(L9, Qp2, true); + } + e7.formatModifierFlags = $e11; + function qn8(L9) { + return We12(L9, Am2, true); + } + e7.formatTransformFlags = qn8; + function $t8(L9) { + return We12(L9, Dm2, true); + } + e7.formatEmitFlags = $t8; + function ot8(L9) { + return We12(L9, Kp2, true); + } + e7.formatSymbolFlags = ot8; + function at11(L9) { + return We12(L9, en9, true); + } + e7.formatTypeFlags = at11; + function Bt10(L9) { + return We12(L9, Em2, true); + } + e7.formatSignatureFlags = Bt10; + function Lt10(L9) { + return We12(L9, Zp2, true); + } + e7.formatObjectFlags = Lt10; + function ct9(L9) { + return We12(L9, Op2, true); + } + e7.formatFlowFlags = ct9; + function ar9(L9) { + return We12(L9, wm2, true); + } + e7.formatRelationComparisonResult = ar9; + function dt8(L9) { + return We12(L9, CheckMode, true); + } + e7.formatCheckMode = dt8; + function yn9(L9) { + return We12(L9, SignatureCheckMode, true); + } + e7.formatSignatureCheckMode = yn9; + function yt10(L9) { + return We12(L9, TypeFacts, true); + } + e7.formatTypeFacts = yt10; + let _n7 = false, tt11; + function qt11(L9) { + "__debugFlowFlags" in L9 || Object.defineProperties(L9, { __tsDebuggerDisplay: { value() { + let se11 = this.flags & 2 ? "FlowStart" : this.flags & 4 ? "FlowBranchLabel" : this.flags & 8 ? "FlowLoopLabel" : this.flags & 16 ? "FlowAssignment" : this.flags & 32 ? "FlowTrueCondition" : this.flags & 64 ? "FlowFalseCondition" : this.flags & 128 ? "FlowSwitchClause" : this.flags & 256 ? "FlowArrayMutation" : this.flags & 512 ? "FlowCall" : this.flags & 1024 ? "FlowReduceLabel" : this.flags & 1 ? "FlowUnreachable" : "UnknownFlow", fe10 = this.flags & -2048; + return `${se11}${fe10 ? ` (${ct9(fe10)})` : ""}`; + } }, __debugFlowFlags: { get() { + return We12(this.flags, Op2, true); + } }, __debugToString: { value() { + return yr7(this); + } } }); + } + function tn8(L9) { + return _n7 && (typeof Object.setPrototypeOf == "function" ? (tt11 || (tt11 = Object.create(Object.prototype), qt11(tt11)), Object.setPrototypeOf(L9, tt11)) : qt11(L9)), L9; + } + e7.attachFlowNodeDebugInfo = tn8; + let sr10; + function mr7(L9) { + "__tsDebuggerDisplay" in L9 || Object.defineProperties(L9, { __tsDebuggerDisplay: { value(se11) { + return se11 = String(se11).replace(/(?:,[\s\w]+:[^,]+)+\]$/, "]"), `NodeArray ${se11}`; + } } }); + } + function hr8(L9) { + _n7 && (typeof Object.setPrototypeOf == "function" ? (sr10 || (sr10 = Object.create(Array.prototype), mr7(sr10)), Object.setPrototypeOf(L9, sr10)) : mr7(L9)); + } + e7.attachNodeArrayDebugInfo = hr8; + function Fn6() { + if (_n7) return; + let L9 = /* @__PURE__ */ new WeakMap(), se11 = /* @__PURE__ */ new WeakMap(); + Object.defineProperties(Et12.getSymbolConstructor().prototype, { __tsDebuggerDisplay: { value() { + let Te10 = this.flags & 33554432 ? "TransientSymbol" : "Symbol", He10 = this.flags & -33554433; + return `${Te10} '${Jp2(this)}'${He10 ? ` (${ot8(He10)})` : ""}`; + } }, __debugFlags: { get() { + return ot8(this.flags); + } } }), Object.defineProperties(Et12.getTypeConstructor().prototype, { __tsDebuggerDisplay: { value() { + let Te10 = this.flags & 67359327 ? `IntrinsicType ${this.intrinsicName}${this.debugIntrinsicName ? ` (${this.debugIntrinsicName})` : ""}` : this.flags & 98304 ? "NullableType" : this.flags & 384 ? `LiteralType ${JSON.stringify(this.value)}` : this.flags & 2048 ? `LiteralType ${this.value.negative ? "-" : ""}${this.value.base10Value}n` : this.flags & 8192 ? "UniqueESSymbolType" : this.flags & 32 ? "EnumType" : this.flags & 1048576 ? "UnionType" : this.flags & 2097152 ? "IntersectionType" : this.flags & 4194304 ? "IndexType" : this.flags & 8388608 ? "IndexedAccessType" : this.flags & 16777216 ? "ConditionalType" : this.flags & 33554432 ? "SubstitutionType" : this.flags & 262144 ? "TypeParameter" : this.flags & 524288 ? this.objectFlags & 3 ? "InterfaceType" : this.objectFlags & 4 ? "TypeReference" : this.objectFlags & 8 ? "TupleType" : this.objectFlags & 16 ? "AnonymousType" : this.objectFlags & 32 ? "MappedType" : this.objectFlags & 1024 ? "ReverseMappedType" : this.objectFlags & 256 ? "EvolvingArrayType" : "ObjectType" : "Type", He10 = this.flags & 524288 ? this.objectFlags & -1344 : 0; + return `${Te10}${this.symbol ? ` '${Jp2(this.symbol)}'` : ""}${He10 ? ` (${Lt10(He10)})` : ""}`; + } }, __debugFlags: { get() { + return at11(this.flags); + } }, __debugObjectFlags: { get() { + return this.flags & 524288 ? Lt10(this.objectFlags) : ""; + } }, __debugTypeToString: { value() { + let Te10 = L9.get(this); + return Te10 === void 0 && (Te10 = this.checker.typeToString(this), L9.set(this, Te10)), Te10; + } } }), Object.defineProperties(Et12.getSignatureConstructor().prototype, { __debugFlags: { get() { + return Bt10(this.flags); + } }, __debugSignatureToString: { value() { + var Te10; + return (Te10 = this.checker) == null ? void 0 : Te10.signatureToString(this); + } } }); + let fe10 = [Et12.getNodeConstructor(), Et12.getIdentifierConstructor(), Et12.getTokenConstructor(), Et12.getSourceFileConstructor()]; + for (let Te10 of fe10) Dr7(Te10.prototype, "__debugKind") || Object.defineProperties(Te10.prototype, { __tsDebuggerDisplay: { value() { + return `${Ua5(this) ? "GeneratedIdentifier" : Ke11(this) ? `Identifier '${An7(this)}'` : gi10(this) ? `PrivateIdentifier '${An7(this)}'` : vi10(this) ? `StringLiteral ${JSON.stringify(this.text.length < 10 ? this.text : this.text.slice(10) + "...")}` : aa5(this) ? `NumericLiteral ${this.text}` : k1(this) ? `BigIntLiteral ${this.text}n` : Ef2(this) ? "TypeParameterDeclaration" : m_(this) ? "ParameterDeclaration" : Af2(this) ? "ConstructorDeclaration" : Tl5(this) ? "GetAccessorDeclaration" : y_(this) ? "SetAccessorDeclaration" : P1(this) ? "CallSignatureDeclaration" : N1(this) ? "ConstructSignatureDeclaration" : Cf3(this) ? "IndexSignatureDeclaration" : I1(this) ? "TypePredicateNode" : Df3(this) ? "TypeReferenceNode" : Pf3(this) ? "FunctionTypeNode" : Nf2(this) ? "ConstructorTypeNode" : qb(this) ? "TypeQueryNode" : O1(this) ? "TypeLiteralNode" : Fb(this) ? "ArrayTypeNode" : zb(this) ? "TupleTypeNode" : Vb(this) ? "OptionalTypeNode" : Wb(this) ? "RestTypeNode" : L1(this) ? "UnionTypeNode" : J1(this) ? "IntersectionTypeNode" : Gb(this) ? "ConditionalTypeNode" : Yb(this) ? "InferTypeNode" : j1(this) ? "ParenthesizedTypeNode" : Hb(this) ? "ThisTypeNode" : R1(this) ? "TypeOperatorNode" : Xb(this) ? "IndexedAccessTypeNode" : U1(this) ? "MappedTypeNode" : $b(this) ? "LiteralTypeNode" : M1(this) ? "NamedTupleMember" : Qb(this) ? "ImportTypeNode" : Ot12(this.kind)}${this.flags ? ` (${Mt12(this.flags)})` : ""}`; + } }, __debugKind: { get() { + return Ot12(this.kind); + } }, __debugNodeFlags: { get() { + return Mt12(this.flags); + } }, __debugModifierFlags: { get() { + return $e11(H23(this)); + } }, __debugTransformFlags: { get() { + return qn8(this.transformFlags); + } }, __debugIsParseTreeNode: { get() { + return gl5(this); + } }, __debugEmitFlags: { get() { + return $t8(za5(this)); + } }, __debugGetText: { value(He10) { + if (Ja6(this)) return ""; + let Qe11 = se11.get(this); + if (Qe11 === void 0) { + let st8 = mg(this), Ct12 = st8 && hi10(st8); + Qe11 = Ct12 ? Od(Ct12, st8, He10) : "", se11.set(this, Qe11); + } + return Qe11; + } } }); + _n7 = true; + } + e7.enableDebugInfo = Fn6; + function zn9(L9) { + let se11 = L9 & 7, fe10 = se11 === 0 ? "in out" : se11 === 3 ? "[bivariant]" : se11 === 2 ? "in" : se11 === 1 ? "out" : se11 === 4 ? "[independent]" : ""; + return L9 & 8 ? fe10 += " (unmeasurable)" : L9 & 16 && (fe10 += " (unreliable)"), fe10; + } + e7.formatVariance = zn9; + class Or7 { + __debugToString() { + var se11; + switch (this.kind) { + case 3: + return ((se11 = this.debugInfo) == null ? void 0 : se11.call(this)) || "(function mapper)"; + case 0: + return `${this.source.__debugTypeToString()} -> ${this.target.__debugTypeToString()}`; + case 1: + return yd(this.sources, this.targets || Pp3(this.sources, () => "any"), (fe10, Te10) => `${fe10.__debugTypeToString()} -> ${typeof Te10 == "string" ? Te10 : Te10.__debugTypeToString()}`).join(", "); + case 2: + return yd(this.sources, this.targets, (fe10, Te10) => `${fe10.__debugTypeToString()} -> ${Te10().__debugTypeToString()}`).join(", "); + case 5: + case 4: + return `m1: ${this.mapper1.__debugToString().split(` +`).join(` + `)} +m2: ${this.mapper2.__debugToString().split(` +`).join(` + `)}`; + default: + return Oe11(this); + } + } + } + e7.DebugTypeMapper = Or7; + function Vn7(L9) { + return e7.isDebugging ? Object.setPrototypeOf(L9, Or7.prototype) : L9; + } + e7.attachDebugPrototypeIfDebug = Vn7; + function Ce10(L9) { + return console.log(yr7(L9)); + } + e7.printControlFlowGraph = Ce10; + function yr7(L9) { + let se11 = -1; + function fe10(u) { + return u.id || (u.id = se11, se11--), u.id; + } + let Te10; + ((u) => { + u.lr = "\u2500", u.ud = "\u2502", u.dr = "\u256D", u.dl = "\u256E", u.ul = "\u256F", u.ur = "\u2570", u.udr = "\u251C", u.udl = "\u2524", u.dlr = "\u252C", u.ulr = "\u2534", u.udlr = "\u256B"; + })(Te10 || (Te10 = {})); + let He10; + ((u) => { + u[u.None = 0] = "None", u[u.Up = 1] = "Up", u[u.Down = 2] = "Down", u[u.Left = 4] = "Left", u[u.Right = 8] = "Right", u[u.UpDown = 3] = "UpDown", u[u.LeftRight = 12] = "LeftRight", u[u.UpLeft = 5] = "UpLeft", u[u.UpRight = 9] = "UpRight", u[u.DownLeft = 6] = "DownLeft", u[u.DownRight = 10] = "DownRight", u[u.UpDownLeft = 7] = "UpDownLeft", u[u.UpDownRight = 11] = "UpDownRight", u[u.UpLeftRight = 13] = "UpLeftRight", u[u.DownLeftRight = 14] = "DownLeftRight", u[u.UpDownLeftRight = 15] = "UpDownLeftRight", u[u.NoChildren = 16] = "NoChildren"; + })(He10 || (He10 = {})); + let Qe11 = 2032, st8 = 882, Ct12 = /* @__PURE__ */ Object.create(null), Tt12 = [], lt8 = [], Mr8 = Se11(L9, /* @__PURE__ */ new Set()); + for (let u of Tt12) u.text = rt12(u.flowNode, u.circular), me12(u); + let gr7 = Ve9(Mr8), Nn6 = Ze11(gr7); + return Ye10(Mr8, 0), on8(); + function Wn8(u) { + return !!(u.flags & 128); + } + function wi10(u) { + return !!(u.flags & 12) && !!u.antecedent; + } + function U9(u) { + return !!(u.flags & Qe11); + } + function K11(u) { + return !!(u.flags & st8); + } + function Z9(u) { + let Ie11 = []; + for (let Me12 of u.edges) Me12.source === u && Ie11.push(Me12.target); + return Ie11; + } + function xe10(u) { + let Ie11 = []; + for (let Me12 of u.edges) Me12.target === u && Ie11.push(Me12.source); + return Ie11; + } + function Se11(u, Ie11) { + let Me12 = fe10(u), B7 = Ct12[Me12]; + if (B7 && Ie11.has(u)) return B7.circular = true, B7 = { id: -1, flowNode: u, edges: [], text: "", lane: -1, endLane: -1, level: -1, circular: "circularity" }, Tt12.push(B7), B7; + if (Ie11.add(u), !B7) if (Ct12[Me12] = B7 = { id: Me12, flowNode: u, edges: [], text: "", lane: -1, endLane: -1, level: -1, circular: false }, Tt12.push(B7), wi10(u)) for (let Be10 of u.antecedent) we9(B7, Be10, Ie11); + else U9(u) && we9(B7, u.antecedent, Ie11); + return Ie11.delete(u), B7; + } + function we9(u, Ie11, Me12) { + let B7 = Se11(Ie11, Me12), Be10 = { source: u, target: B7 }; + lt8.push(Be10), u.edges.push(Be10), B7.edges.push(Be10); + } + function me12(u) { + if (u.level !== -1) return u.level; + let Ie11 = 0; + for (let Me12 of xe10(u)) Ie11 = Math.max(Ie11, me12(Me12) + 1); + return u.level = Ie11; + } + function Ve9(u) { + let Ie11 = 0; + for (let Me12 of Z9(u)) Ie11 = Math.max(Ie11, Ve9(Me12)); + return Ie11 + 1; + } + function Ze11(u) { + let Ie11 = M10(Array(u), 0); + for (let Me12 of Tt12) Ie11[Me12.level] = Math.max(Ie11[Me12.level], Me12.text.length); + return Ie11; + } + function Ye10(u, Ie11) { + if (u.lane === -1) { + u.lane = Ie11, u.endLane = Ie11; + let Me12 = Z9(u); + for (let B7 = 0; B7 < Me12.length; B7++) { + B7 > 0 && Ie11++; + let Be10 = Me12[B7]; + Ye10(Be10, Ie11), Be10.endLane > u.endLane && (Ie11 = Be10.endLane); + } + u.endLane = Ie11; + } + } + function Ee9(u) { + if (u & 2) return "Start"; + if (u & 4) return "Branch"; + if (u & 8) return "Loop"; + if (u & 16) return "Assignment"; + if (u & 32) return "True"; + if (u & 64) return "False"; + if (u & 128) return "SwitchClause"; + if (u & 256) return "ArrayMutation"; + if (u & 512) return "Call"; + if (u & 1024) return "ReduceLabel"; + if (u & 1) return "Unreachable"; + throw new Error(); + } + function gn8(u) { + let Ie11 = hi10(u); + return Od(Ie11, u, false); + } + function rt12(u, Ie11) { + let Me12 = Ee9(u.flags); + if (Ie11 && (Me12 = `${Me12}#${fe10(u)}`), Wn8(u)) { + let B7 = [], { switchStatement: Be10, clauseStart: nn10, clauseEnd: ze11 } = u.node; + for (let Xe11 = nn10; Xe11 < ze11; Xe11++) { + let Dt10 = Be10.caseBlock.clauses[Xe11]; + r6(Dt10) ? B7.push("default") : B7.push(gn8(Dt10.expression)); + } + Me12 += ` (${B7.join(", ")})`; + } else K11(u) && u.node && (Me12 += ` (${gn8(u.node)})`); + return Ie11 === "circularity" ? `Circular(${Me12})` : Me12; + } + function on8() { + let u = Nn6.length, Ie11 = Ay(Tt12, 0, (ze11) => ze11.lane) + 1, Me12 = M10(Array(Ie11), ""), B7 = Nn6.map(() => Array(Ie11)), Be10 = Nn6.map(() => M10(Array(Ie11), 0)); + for (let ze11 of Tt12) { + B7[ze11.level][ze11.lane] = ze11; + let Xe11 = Z9(ze11); + for (let wt11 = 0; wt11 < Xe11.length; wt11++) { + let Pt12 = Xe11[wt11], Ft11 = 8; + Pt12.lane === ze11.lane && (Ft11 |= 4), wt11 > 0 && (Ft11 |= 1), wt11 < Xe11.length - 1 && (Ft11 |= 2), Be10[ze11.level][Pt12.lane] |= Ft11; + } + Xe11.length === 0 && (Be10[ze11.level][ze11.lane] |= 16); + let Dt10 = xe10(ze11); + for (let wt11 = 0; wt11 < Dt10.length; wt11++) { + let Pt12 = Dt10[wt11], Ft11 = 4; + wt11 > 0 && (Ft11 |= 1), wt11 < Dt10.length - 1 && (Ft11 |= 2), Be10[ze11.level - 1][Pt12.lane] |= Ft11; + } + } + for (let ze11 = 0; ze11 < u; ze11++) for (let Xe11 = 0; Xe11 < Ie11; Xe11++) { + let Dt10 = ze11 > 0 ? Be10[ze11 - 1][Xe11] : 0, wt11 = Xe11 > 0 ? Be10[ze11][Xe11 - 1] : 0, Pt12 = Be10[ze11][Xe11]; + Pt12 || (Dt10 & 8 && (Pt12 |= 12), wt11 & 2 && (Pt12 |= 3), Be10[ze11][Xe11] = Pt12); + } + for (let ze11 = 0; ze11 < u; ze11++) for (let Xe11 = 0; Xe11 < Me12.length; Xe11++) { + let Dt10 = Be10[ze11][Xe11], wt11 = Dt10 & 4 ? "\u2500" : " ", Pt12 = B7[ze11][Xe11]; + Pt12 ? (nn10(Xe11, Pt12.text), ze11 < u - 1 && (nn10(Xe11, " "), nn10(Xe11, Ue10(wt11, Nn6[ze11] - Pt12.text.length)))) : ze11 < u - 1 && nn10(Xe11, Ue10(wt11, Nn6[ze11] + 1)), nn10(Xe11, Zr8(Dt10)), nn10(Xe11, Dt10 & 8 && ze11 < u - 1 && !B7[ze11 + 1][Xe11] ? "\u2500" : " "); + } + return ` +${Me12.join(` +`)} +`; + function nn10(ze11, Xe11) { + Me12[ze11] += Xe11; + } + } + function Zr8(u) { + switch (u) { + case 3: + return "\u2502"; + case 12: + return "\u2500"; + case 5: + return "\u256F"; + case 9: + return "\u2570"; + case 6: + return "\u256E"; + case 10: + return "\u256D"; + case 7: + return "\u2524"; + case 11: + return "\u251C"; + case 13: + return "\u2534"; + case 14: + return "\u252C"; + case 15: + return "\u256B"; + } + return " "; + } + function M10(u, Ie11) { + if (u.fill) u.fill(Ie11); + else for (let Me12 = 0; Me12 < u.length; Me12++) u[Me12] = Ie11; + return u; + } + function Ue10(u, Ie11) { + if (u.repeat) return Ie11 > 0 ? u.repeat(Ie11) : ""; + let Me12 = ""; + for (; Me12.length < Ie11; ) Me12 += u; + return Me12; + } + } + e7.formatControlFlowGraph = yr7; + })(q10 || (q10 = {})); + e32 = Date.now; + bd = () => { + }; + Oy = () => { + }; + Ae10 = ((e7) => (e7[e7.Unknown = 0] = "Unknown", e7[e7.EndOfFileToken = 1] = "EndOfFileToken", e7[e7.SingleLineCommentTrivia = 2] = "SingleLineCommentTrivia", e7[e7.MultiLineCommentTrivia = 3] = "MultiLineCommentTrivia", e7[e7.NewLineTrivia = 4] = "NewLineTrivia", e7[e7.WhitespaceTrivia = 5] = "WhitespaceTrivia", e7[e7.ShebangTrivia = 6] = "ShebangTrivia", e7[e7.ConflictMarkerTrivia = 7] = "ConflictMarkerTrivia", e7[e7.NonTextFileMarkerTrivia = 8] = "NonTextFileMarkerTrivia", e7[e7.NumericLiteral = 9] = "NumericLiteral", e7[e7.BigIntLiteral = 10] = "BigIntLiteral", e7[e7.StringLiteral = 11] = "StringLiteral", e7[e7.JsxText = 12] = "JsxText", e7[e7.JsxTextAllWhiteSpaces = 13] = "JsxTextAllWhiteSpaces", e7[e7.RegularExpressionLiteral = 14] = "RegularExpressionLiteral", e7[e7.NoSubstitutionTemplateLiteral = 15] = "NoSubstitutionTemplateLiteral", e7[e7.TemplateHead = 16] = "TemplateHead", e7[e7.TemplateMiddle = 17] = "TemplateMiddle", e7[e7.TemplateTail = 18] = "TemplateTail", e7[e7.OpenBraceToken = 19] = "OpenBraceToken", e7[e7.CloseBraceToken = 20] = "CloseBraceToken", e7[e7.OpenParenToken = 21] = "OpenParenToken", e7[e7.CloseParenToken = 22] = "CloseParenToken", e7[e7.OpenBracketToken = 23] = "OpenBracketToken", e7[e7.CloseBracketToken = 24] = "CloseBracketToken", e7[e7.DotToken = 25] = "DotToken", e7[e7.DotDotDotToken = 26] = "DotDotDotToken", e7[e7.SemicolonToken = 27] = "SemicolonToken", e7[e7.CommaToken = 28] = "CommaToken", e7[e7.QuestionDotToken = 29] = "QuestionDotToken", e7[e7.LessThanToken = 30] = "LessThanToken", e7[e7.LessThanSlashToken = 31] = "LessThanSlashToken", e7[e7.GreaterThanToken = 32] = "GreaterThanToken", e7[e7.LessThanEqualsToken = 33] = "LessThanEqualsToken", e7[e7.GreaterThanEqualsToken = 34] = "GreaterThanEqualsToken", e7[e7.EqualsEqualsToken = 35] = "EqualsEqualsToken", e7[e7.ExclamationEqualsToken = 36] = "ExclamationEqualsToken", e7[e7.EqualsEqualsEqualsToken = 37] = "EqualsEqualsEqualsToken", e7[e7.ExclamationEqualsEqualsToken = 38] = "ExclamationEqualsEqualsToken", e7[e7.EqualsGreaterThanToken = 39] = "EqualsGreaterThanToken", e7[e7.PlusToken = 40] = "PlusToken", e7[e7.MinusToken = 41] = "MinusToken", e7[e7.AsteriskToken = 42] = "AsteriskToken", e7[e7.AsteriskAsteriskToken = 43] = "AsteriskAsteriskToken", e7[e7.SlashToken = 44] = "SlashToken", e7[e7.PercentToken = 45] = "PercentToken", e7[e7.PlusPlusToken = 46] = "PlusPlusToken", e7[e7.MinusMinusToken = 47] = "MinusMinusToken", e7[e7.LessThanLessThanToken = 48] = "LessThanLessThanToken", e7[e7.GreaterThanGreaterThanToken = 49] = "GreaterThanGreaterThanToken", e7[e7.GreaterThanGreaterThanGreaterThanToken = 50] = "GreaterThanGreaterThanGreaterThanToken", e7[e7.AmpersandToken = 51] = "AmpersandToken", e7[e7.BarToken = 52] = "BarToken", e7[e7.CaretToken = 53] = "CaretToken", e7[e7.ExclamationToken = 54] = "ExclamationToken", e7[e7.TildeToken = 55] = "TildeToken", e7[e7.AmpersandAmpersandToken = 56] = "AmpersandAmpersandToken", e7[e7.BarBarToken = 57] = "BarBarToken", e7[e7.QuestionToken = 58] = "QuestionToken", e7[e7.ColonToken = 59] = "ColonToken", e7[e7.AtToken = 60] = "AtToken", e7[e7.QuestionQuestionToken = 61] = "QuestionQuestionToken", e7[e7.BacktickToken = 62] = "BacktickToken", e7[e7.HashToken = 63] = "HashToken", e7[e7.EqualsToken = 64] = "EqualsToken", e7[e7.PlusEqualsToken = 65] = "PlusEqualsToken", e7[e7.MinusEqualsToken = 66] = "MinusEqualsToken", e7[e7.AsteriskEqualsToken = 67] = "AsteriskEqualsToken", e7[e7.AsteriskAsteriskEqualsToken = 68] = "AsteriskAsteriskEqualsToken", e7[e7.SlashEqualsToken = 69] = "SlashEqualsToken", e7[e7.PercentEqualsToken = 70] = "PercentEqualsToken", e7[e7.LessThanLessThanEqualsToken = 71] = "LessThanLessThanEqualsToken", e7[e7.GreaterThanGreaterThanEqualsToken = 72] = "GreaterThanGreaterThanEqualsToken", e7[e7.GreaterThanGreaterThanGreaterThanEqualsToken = 73] = "GreaterThanGreaterThanGreaterThanEqualsToken", e7[e7.AmpersandEqualsToken = 74] = "AmpersandEqualsToken", e7[e7.BarEqualsToken = 75] = "BarEqualsToken", e7[e7.BarBarEqualsToken = 76] = "BarBarEqualsToken", e7[e7.AmpersandAmpersandEqualsToken = 77] = "AmpersandAmpersandEqualsToken", e7[e7.QuestionQuestionEqualsToken = 78] = "QuestionQuestionEqualsToken", e7[e7.CaretEqualsToken = 79] = "CaretEqualsToken", e7[e7.Identifier = 80] = "Identifier", e7[e7.PrivateIdentifier = 81] = "PrivateIdentifier", e7[e7.JSDocCommentTextToken = 82] = "JSDocCommentTextToken", e7[e7.BreakKeyword = 83] = "BreakKeyword", e7[e7.CaseKeyword = 84] = "CaseKeyword", e7[e7.CatchKeyword = 85] = "CatchKeyword", e7[e7.ClassKeyword = 86] = "ClassKeyword", e7[e7.ConstKeyword = 87] = "ConstKeyword", e7[e7.ContinueKeyword = 88] = "ContinueKeyword", e7[e7.DebuggerKeyword = 89] = "DebuggerKeyword", e7[e7.DefaultKeyword = 90] = "DefaultKeyword", e7[e7.DeleteKeyword = 91] = "DeleteKeyword", e7[e7.DoKeyword = 92] = "DoKeyword", e7[e7.ElseKeyword = 93] = "ElseKeyword", e7[e7.EnumKeyword = 94] = "EnumKeyword", e7[e7.ExportKeyword = 95] = "ExportKeyword", e7[e7.ExtendsKeyword = 96] = "ExtendsKeyword", e7[e7.FalseKeyword = 97] = "FalseKeyword", e7[e7.FinallyKeyword = 98] = "FinallyKeyword", e7[e7.ForKeyword = 99] = "ForKeyword", e7[e7.FunctionKeyword = 100] = "FunctionKeyword", e7[e7.IfKeyword = 101] = "IfKeyword", e7[e7.ImportKeyword = 102] = "ImportKeyword", e7[e7.InKeyword = 103] = "InKeyword", e7[e7.InstanceOfKeyword = 104] = "InstanceOfKeyword", e7[e7.NewKeyword = 105] = "NewKeyword", e7[e7.NullKeyword = 106] = "NullKeyword", e7[e7.ReturnKeyword = 107] = "ReturnKeyword", e7[e7.SuperKeyword = 108] = "SuperKeyword", e7[e7.SwitchKeyword = 109] = "SwitchKeyword", e7[e7.ThisKeyword = 110] = "ThisKeyword", e7[e7.ThrowKeyword = 111] = "ThrowKeyword", e7[e7.TrueKeyword = 112] = "TrueKeyword", e7[e7.TryKeyword = 113] = "TryKeyword", e7[e7.TypeOfKeyword = 114] = "TypeOfKeyword", e7[e7.VarKeyword = 115] = "VarKeyword", e7[e7.VoidKeyword = 116] = "VoidKeyword", e7[e7.WhileKeyword = 117] = "WhileKeyword", e7[e7.WithKeyword = 118] = "WithKeyword", e7[e7.ImplementsKeyword = 119] = "ImplementsKeyword", e7[e7.InterfaceKeyword = 120] = "InterfaceKeyword", e7[e7.LetKeyword = 121] = "LetKeyword", e7[e7.PackageKeyword = 122] = "PackageKeyword", e7[e7.PrivateKeyword = 123] = "PrivateKeyword", e7[e7.ProtectedKeyword = 124] = "ProtectedKeyword", e7[e7.PublicKeyword = 125] = "PublicKeyword", e7[e7.StaticKeyword = 126] = "StaticKeyword", e7[e7.YieldKeyword = 127] = "YieldKeyword", e7[e7.AbstractKeyword = 128] = "AbstractKeyword", e7[e7.AccessorKeyword = 129] = "AccessorKeyword", e7[e7.AsKeyword = 130] = "AsKeyword", e7[e7.AssertsKeyword = 131] = "AssertsKeyword", e7[e7.AssertKeyword = 132] = "AssertKeyword", e7[e7.AnyKeyword = 133] = "AnyKeyword", e7[e7.AsyncKeyword = 134] = "AsyncKeyword", e7[e7.AwaitKeyword = 135] = "AwaitKeyword", e7[e7.BooleanKeyword = 136] = "BooleanKeyword", e7[e7.ConstructorKeyword = 137] = "ConstructorKeyword", e7[e7.DeclareKeyword = 138] = "DeclareKeyword", e7[e7.GetKeyword = 139] = "GetKeyword", e7[e7.InferKeyword = 140] = "InferKeyword", e7[e7.IntrinsicKeyword = 141] = "IntrinsicKeyword", e7[e7.IsKeyword = 142] = "IsKeyword", e7[e7.KeyOfKeyword = 143] = "KeyOfKeyword", e7[e7.ModuleKeyword = 144] = "ModuleKeyword", e7[e7.NamespaceKeyword = 145] = "NamespaceKeyword", e7[e7.NeverKeyword = 146] = "NeverKeyword", e7[e7.OutKeyword = 147] = "OutKeyword", e7[e7.ReadonlyKeyword = 148] = "ReadonlyKeyword", e7[e7.RequireKeyword = 149] = "RequireKeyword", e7[e7.NumberKeyword = 150] = "NumberKeyword", e7[e7.ObjectKeyword = 151] = "ObjectKeyword", e7[e7.SatisfiesKeyword = 152] = "SatisfiesKeyword", e7[e7.SetKeyword = 153] = "SetKeyword", e7[e7.StringKeyword = 154] = "StringKeyword", e7[e7.SymbolKeyword = 155] = "SymbolKeyword", e7[e7.TypeKeyword = 156] = "TypeKeyword", e7[e7.UndefinedKeyword = 157] = "UndefinedKeyword", e7[e7.UniqueKeyword = 158] = "UniqueKeyword", e7[e7.UnknownKeyword = 159] = "UnknownKeyword", e7[e7.UsingKeyword = 160] = "UsingKeyword", e7[e7.FromKeyword = 161] = "FromKeyword", e7[e7.GlobalKeyword = 162] = "GlobalKeyword", e7[e7.BigIntKeyword = 163] = "BigIntKeyword", e7[e7.OverrideKeyword = 164] = "OverrideKeyword", e7[e7.OfKeyword = 165] = "OfKeyword", e7[e7.DeferKeyword = 166] = "DeferKeyword", e7[e7.QualifiedName = 167] = "QualifiedName", e7[e7.ComputedPropertyName = 168] = "ComputedPropertyName", e7[e7.TypeParameter = 169] = "TypeParameter", e7[e7.Parameter = 170] = "Parameter", e7[e7.Decorator = 171] = "Decorator", e7[e7.PropertySignature = 172] = "PropertySignature", e7[e7.PropertyDeclaration = 173] = "PropertyDeclaration", e7[e7.MethodSignature = 174] = "MethodSignature", e7[e7.MethodDeclaration = 175] = "MethodDeclaration", e7[e7.ClassStaticBlockDeclaration = 176] = "ClassStaticBlockDeclaration", e7[e7.Constructor = 177] = "Constructor", e7[e7.GetAccessor = 178] = "GetAccessor", e7[e7.SetAccessor = 179] = "SetAccessor", e7[e7.CallSignature = 180] = "CallSignature", e7[e7.ConstructSignature = 181] = "ConstructSignature", e7[e7.IndexSignature = 182] = "IndexSignature", e7[e7.TypePredicate = 183] = "TypePredicate", e7[e7.TypeReference = 184] = "TypeReference", e7[e7.FunctionType = 185] = "FunctionType", e7[e7.ConstructorType = 186] = "ConstructorType", e7[e7.TypeQuery = 187] = "TypeQuery", e7[e7.TypeLiteral = 188] = "TypeLiteral", e7[e7.ArrayType = 189] = "ArrayType", e7[e7.TupleType = 190] = "TupleType", e7[e7.OptionalType = 191] = "OptionalType", e7[e7.RestType = 192] = "RestType", e7[e7.UnionType = 193] = "UnionType", e7[e7.IntersectionType = 194] = "IntersectionType", e7[e7.ConditionalType = 195] = "ConditionalType", e7[e7.InferType = 196] = "InferType", e7[e7.ParenthesizedType = 197] = "ParenthesizedType", e7[e7.ThisType = 198] = "ThisType", e7[e7.TypeOperator = 199] = "TypeOperator", e7[e7.IndexedAccessType = 200] = "IndexedAccessType", e7[e7.MappedType = 201] = "MappedType", e7[e7.LiteralType = 202] = "LiteralType", e7[e7.NamedTupleMember = 203] = "NamedTupleMember", e7[e7.TemplateLiteralType = 204] = "TemplateLiteralType", e7[e7.TemplateLiteralTypeSpan = 205] = "TemplateLiteralTypeSpan", e7[e7.ImportType = 206] = "ImportType", e7[e7.ObjectBindingPattern = 207] = "ObjectBindingPattern", e7[e7.ArrayBindingPattern = 208] = "ArrayBindingPattern", e7[e7.BindingElement = 209] = "BindingElement", e7[e7.ArrayLiteralExpression = 210] = "ArrayLiteralExpression", e7[e7.ObjectLiteralExpression = 211] = "ObjectLiteralExpression", e7[e7.PropertyAccessExpression = 212] = "PropertyAccessExpression", e7[e7.ElementAccessExpression = 213] = "ElementAccessExpression", e7[e7.CallExpression = 214] = "CallExpression", e7[e7.NewExpression = 215] = "NewExpression", e7[e7.TaggedTemplateExpression = 216] = "TaggedTemplateExpression", e7[e7.TypeAssertionExpression = 217] = "TypeAssertionExpression", e7[e7.ParenthesizedExpression = 218] = "ParenthesizedExpression", e7[e7.FunctionExpression = 219] = "FunctionExpression", e7[e7.ArrowFunction = 220] = "ArrowFunction", e7[e7.DeleteExpression = 221] = "DeleteExpression", e7[e7.TypeOfExpression = 222] = "TypeOfExpression", e7[e7.VoidExpression = 223] = "VoidExpression", e7[e7.AwaitExpression = 224] = "AwaitExpression", e7[e7.PrefixUnaryExpression = 225] = "PrefixUnaryExpression", e7[e7.PostfixUnaryExpression = 226] = "PostfixUnaryExpression", e7[e7.BinaryExpression = 227] = "BinaryExpression", e7[e7.ConditionalExpression = 228] = "ConditionalExpression", e7[e7.TemplateExpression = 229] = "TemplateExpression", e7[e7.YieldExpression = 230] = "YieldExpression", e7[e7.SpreadElement = 231] = "SpreadElement", e7[e7.ClassExpression = 232] = "ClassExpression", e7[e7.OmittedExpression = 233] = "OmittedExpression", e7[e7.ExpressionWithTypeArguments = 234] = "ExpressionWithTypeArguments", e7[e7.AsExpression = 235] = "AsExpression", e7[e7.NonNullExpression = 236] = "NonNullExpression", e7[e7.MetaProperty = 237] = "MetaProperty", e7[e7.SyntheticExpression = 238] = "SyntheticExpression", e7[e7.SatisfiesExpression = 239] = "SatisfiesExpression", e7[e7.TemplateSpan = 240] = "TemplateSpan", e7[e7.SemicolonClassElement = 241] = "SemicolonClassElement", e7[e7.Block = 242] = "Block", e7[e7.EmptyStatement = 243] = "EmptyStatement", e7[e7.VariableStatement = 244] = "VariableStatement", e7[e7.ExpressionStatement = 245] = "ExpressionStatement", e7[e7.IfStatement = 246] = "IfStatement", e7[e7.DoStatement = 247] = "DoStatement", e7[e7.WhileStatement = 248] = "WhileStatement", e7[e7.ForStatement = 249] = "ForStatement", e7[e7.ForInStatement = 250] = "ForInStatement", e7[e7.ForOfStatement = 251] = "ForOfStatement", e7[e7.ContinueStatement = 252] = "ContinueStatement", e7[e7.BreakStatement = 253] = "BreakStatement", e7[e7.ReturnStatement = 254] = "ReturnStatement", e7[e7.WithStatement = 255] = "WithStatement", e7[e7.SwitchStatement = 256] = "SwitchStatement", e7[e7.LabeledStatement = 257] = "LabeledStatement", e7[e7.ThrowStatement = 258] = "ThrowStatement", e7[e7.TryStatement = 259] = "TryStatement", e7[e7.DebuggerStatement = 260] = "DebuggerStatement", e7[e7.VariableDeclaration = 261] = "VariableDeclaration", e7[e7.VariableDeclarationList = 262] = "VariableDeclarationList", e7[e7.FunctionDeclaration = 263] = "FunctionDeclaration", e7[e7.ClassDeclaration = 264] = "ClassDeclaration", e7[e7.InterfaceDeclaration = 265] = "InterfaceDeclaration", e7[e7.TypeAliasDeclaration = 266] = "TypeAliasDeclaration", e7[e7.EnumDeclaration = 267] = "EnumDeclaration", e7[e7.ModuleDeclaration = 268] = "ModuleDeclaration", e7[e7.ModuleBlock = 269] = "ModuleBlock", e7[e7.CaseBlock = 270] = "CaseBlock", e7[e7.NamespaceExportDeclaration = 271] = "NamespaceExportDeclaration", e7[e7.ImportEqualsDeclaration = 272] = "ImportEqualsDeclaration", e7[e7.ImportDeclaration = 273] = "ImportDeclaration", e7[e7.ImportClause = 274] = "ImportClause", e7[e7.NamespaceImport = 275] = "NamespaceImport", e7[e7.NamedImports = 276] = "NamedImports", e7[e7.ImportSpecifier = 277] = "ImportSpecifier", e7[e7.ExportAssignment = 278] = "ExportAssignment", e7[e7.ExportDeclaration = 279] = "ExportDeclaration", e7[e7.NamedExports = 280] = "NamedExports", e7[e7.NamespaceExport = 281] = "NamespaceExport", e7[e7.ExportSpecifier = 282] = "ExportSpecifier", e7[e7.MissingDeclaration = 283] = "MissingDeclaration", e7[e7.ExternalModuleReference = 284] = "ExternalModuleReference", e7[e7.JsxElement = 285] = "JsxElement", e7[e7.JsxSelfClosingElement = 286] = "JsxSelfClosingElement", e7[e7.JsxOpeningElement = 287] = "JsxOpeningElement", e7[e7.JsxClosingElement = 288] = "JsxClosingElement", e7[e7.JsxFragment = 289] = "JsxFragment", e7[e7.JsxOpeningFragment = 290] = "JsxOpeningFragment", e7[e7.JsxClosingFragment = 291] = "JsxClosingFragment", e7[e7.JsxAttribute = 292] = "JsxAttribute", e7[e7.JsxAttributes = 293] = "JsxAttributes", e7[e7.JsxSpreadAttribute = 294] = "JsxSpreadAttribute", e7[e7.JsxExpression = 295] = "JsxExpression", e7[e7.JsxNamespacedName = 296] = "JsxNamespacedName", e7[e7.CaseClause = 297] = "CaseClause", e7[e7.DefaultClause = 298] = "DefaultClause", e7[e7.HeritageClause = 299] = "HeritageClause", e7[e7.CatchClause = 300] = "CatchClause", e7[e7.ImportAttributes = 301] = "ImportAttributes", e7[e7.ImportAttribute = 302] = "ImportAttribute", e7[e7.AssertClause = 301] = "AssertClause", e7[e7.AssertEntry = 302] = "AssertEntry", e7[e7.ImportTypeAssertionContainer = 303] = "ImportTypeAssertionContainer", e7[e7.PropertyAssignment = 304] = "PropertyAssignment", e7[e7.ShorthandPropertyAssignment = 305] = "ShorthandPropertyAssignment", e7[e7.SpreadAssignment = 306] = "SpreadAssignment", e7[e7.EnumMember = 307] = "EnumMember", e7[e7.SourceFile = 308] = "SourceFile", e7[e7.Bundle = 309] = "Bundle", e7[e7.JSDocTypeExpression = 310] = "JSDocTypeExpression", e7[e7.JSDocNameReference = 311] = "JSDocNameReference", e7[e7.JSDocMemberName = 312] = "JSDocMemberName", e7[e7.JSDocAllType = 313] = "JSDocAllType", e7[e7.JSDocUnknownType = 314] = "JSDocUnknownType", e7[e7.JSDocNullableType = 315] = "JSDocNullableType", e7[e7.JSDocNonNullableType = 316] = "JSDocNonNullableType", e7[e7.JSDocOptionalType = 317] = "JSDocOptionalType", e7[e7.JSDocFunctionType = 318] = "JSDocFunctionType", e7[e7.JSDocVariadicType = 319] = "JSDocVariadicType", e7[e7.JSDocNamepathType = 320] = "JSDocNamepathType", e7[e7.JSDoc = 321] = "JSDoc", e7[e7.JSDocComment = 321] = "JSDocComment", e7[e7.JSDocText = 322] = "JSDocText", e7[e7.JSDocTypeLiteral = 323] = "JSDocTypeLiteral", e7[e7.JSDocSignature = 324] = "JSDocSignature", e7[e7.JSDocLink = 325] = "JSDocLink", e7[e7.JSDocLinkCode = 326] = "JSDocLinkCode", e7[e7.JSDocLinkPlain = 327] = "JSDocLinkPlain", e7[e7.JSDocTag = 328] = "JSDocTag", e7[e7.JSDocAugmentsTag = 329] = "JSDocAugmentsTag", e7[e7.JSDocImplementsTag = 330] = "JSDocImplementsTag", e7[e7.JSDocAuthorTag = 331] = "JSDocAuthorTag", e7[e7.JSDocDeprecatedTag = 332] = "JSDocDeprecatedTag", e7[e7.JSDocClassTag = 333] = "JSDocClassTag", e7[e7.JSDocPublicTag = 334] = "JSDocPublicTag", e7[e7.JSDocPrivateTag = 335] = "JSDocPrivateTag", e7[e7.JSDocProtectedTag = 336] = "JSDocProtectedTag", e7[e7.JSDocReadonlyTag = 337] = "JSDocReadonlyTag", e7[e7.JSDocOverrideTag = 338] = "JSDocOverrideTag", e7[e7.JSDocCallbackTag = 339] = "JSDocCallbackTag", e7[e7.JSDocOverloadTag = 340] = "JSDocOverloadTag", e7[e7.JSDocEnumTag = 341] = "JSDocEnumTag", e7[e7.JSDocParameterTag = 342] = "JSDocParameterTag", e7[e7.JSDocReturnTag = 343] = "JSDocReturnTag", e7[e7.JSDocThisTag = 344] = "JSDocThisTag", e7[e7.JSDocTypeTag = 345] = "JSDocTypeTag", e7[e7.JSDocTemplateTag = 346] = "JSDocTemplateTag", e7[e7.JSDocTypedefTag = 347] = "JSDocTypedefTag", e7[e7.JSDocSeeTag = 348] = "JSDocSeeTag", e7[e7.JSDocPropertyTag = 349] = "JSDocPropertyTag", e7[e7.JSDocThrowsTag = 350] = "JSDocThrowsTag", e7[e7.JSDocSatisfiesTag = 351] = "JSDocSatisfiesTag", e7[e7.JSDocImportTag = 352] = "JSDocImportTag", e7[e7.SyntaxList = 353] = "SyntaxList", e7[e7.NotEmittedStatement = 354] = "NotEmittedStatement", e7[e7.NotEmittedTypeElement = 355] = "NotEmittedTypeElement", e7[e7.PartiallyEmittedExpression = 356] = "PartiallyEmittedExpression", e7[e7.CommaListExpression = 357] = "CommaListExpression", e7[e7.SyntheticReferenceExpression = 358] = "SyntheticReferenceExpression", e7[e7.Count = 359] = "Count", e7[e7.FirstAssignment = 64] = "FirstAssignment", e7[e7.LastAssignment = 79] = "LastAssignment", e7[e7.FirstCompoundAssignment = 65] = "FirstCompoundAssignment", e7[e7.LastCompoundAssignment = 79] = "LastCompoundAssignment", e7[e7.FirstReservedWord = 83] = "FirstReservedWord", e7[e7.LastReservedWord = 118] = "LastReservedWord", e7[e7.FirstKeyword = 83] = "FirstKeyword", e7[e7.LastKeyword = 166] = "LastKeyword", e7[e7.FirstFutureReservedWord = 119] = "FirstFutureReservedWord", e7[e7.LastFutureReservedWord = 127] = "LastFutureReservedWord", e7[e7.FirstTypeNode = 183] = "FirstTypeNode", e7[e7.LastTypeNode = 206] = "LastTypeNode", e7[e7.FirstPunctuation = 19] = "FirstPunctuation", e7[e7.LastPunctuation = 79] = "LastPunctuation", e7[e7.FirstToken = 0] = "FirstToken", e7[e7.LastToken = 166] = "LastToken", e7[e7.FirstTriviaToken = 2] = "FirstTriviaToken", e7[e7.LastTriviaToken = 7] = "LastTriviaToken", e7[e7.FirstLiteralToken = 9] = "FirstLiteralToken", e7[e7.LastLiteralToken = 15] = "LastLiteralToken", e7[e7.FirstTemplateToken = 15] = "FirstTemplateToken", e7[e7.LastTemplateToken = 18] = "LastTemplateToken", e7[e7.FirstBinaryOperator = 30] = "FirstBinaryOperator", e7[e7.LastBinaryOperator = 79] = "LastBinaryOperator", e7[e7.FirstStatement = 244] = "FirstStatement", e7[e7.LastStatement = 260] = "LastStatement", e7[e7.FirstNode = 167] = "FirstNode", e7[e7.FirstJSDocNode = 310] = "FirstJSDocNode", e7[e7.LastJSDocNode = 352] = "LastJSDocNode", e7[e7.FirstJSDocTagNode = 328] = "FirstJSDocTagNode", e7[e7.LastJSDocTagNode = 352] = "LastJSDocTagNode", e7[e7.FirstContextualKeyword = 128] = "FirstContextualKeyword", e7[e7.LastContextualKeyword = 166] = "LastContextualKeyword", e7))(Ae10 || {}); + sn8 = ((e7) => (e7[e7.None = 0] = "None", e7[e7.Let = 1] = "Let", e7[e7.Const = 2] = "Const", e7[e7.Using = 4] = "Using", e7[e7.AwaitUsing = 6] = "AwaitUsing", e7[e7.NestedNamespace = 8] = "NestedNamespace", e7[e7.Synthesized = 16] = "Synthesized", e7[e7.Namespace = 32] = "Namespace", e7[e7.OptionalChain = 64] = "OptionalChain", e7[e7.ExportContext = 128] = "ExportContext", e7[e7.ContainsThis = 256] = "ContainsThis", e7[e7.HasImplicitReturn = 512] = "HasImplicitReturn", e7[e7.HasExplicitReturn = 1024] = "HasExplicitReturn", e7[e7.GlobalAugmentation = 2048] = "GlobalAugmentation", e7[e7.HasAsyncFunctions = 4096] = "HasAsyncFunctions", e7[e7.DisallowInContext = 8192] = "DisallowInContext", e7[e7.YieldContext = 16384] = "YieldContext", e7[e7.DecoratorContext = 32768] = "DecoratorContext", e7[e7.AwaitContext = 65536] = "AwaitContext", e7[e7.DisallowConditionalTypesContext = 131072] = "DisallowConditionalTypesContext", e7[e7.ThisNodeHasError = 262144] = "ThisNodeHasError", e7[e7.JavaScriptFile = 524288] = "JavaScriptFile", e7[e7.ThisNodeOrAnySubNodesHasError = 1048576] = "ThisNodeOrAnySubNodesHasError", e7[e7.HasAggregatedChildData = 2097152] = "HasAggregatedChildData", e7[e7.PossiblyContainsDynamicImport = 4194304] = "PossiblyContainsDynamicImport", e7[e7.PossiblyContainsImportMeta = 8388608] = "PossiblyContainsImportMeta", e7[e7.JSDoc = 16777216] = "JSDoc", e7[e7.Ambient = 33554432] = "Ambient", e7[e7.InWithStatement = 67108864] = "InWithStatement", e7[e7.JsonFile = 134217728] = "JsonFile", e7[e7.TypeCached = 268435456] = "TypeCached", e7[e7.Deprecated = 536870912] = "Deprecated", e7[e7.BlockScoped = 7] = "BlockScoped", e7[e7.Constant = 6] = "Constant", e7[e7.ReachabilityCheckFlags = 1536] = "ReachabilityCheckFlags", e7[e7.ReachabilityAndEmitFlags = 5632] = "ReachabilityAndEmitFlags", e7[e7.ContextFlags = 101441536] = "ContextFlags", e7[e7.TypeExcludesFlags = 81920] = "TypeExcludesFlags", e7[e7.PermanentlySetIncrementalFlags = 12582912] = "PermanentlySetIncrementalFlags", e7[e7.IdentifierHasExtendedUnicodeEscape = 256] = "IdentifierHasExtendedUnicodeEscape", e7[e7.IdentifierIsInJSDocNamespace = 4096] = "IdentifierIsInJSDocNamespace", e7))(sn8 || {}); + Qp2 = ((e7) => (e7[e7.None = 0] = "None", e7[e7.Public = 1] = "Public", e7[e7.Private = 2] = "Private", e7[e7.Protected = 4] = "Protected", e7[e7.Readonly = 8] = "Readonly", e7[e7.Override = 16] = "Override", e7[e7.Export = 32] = "Export", e7[e7.Abstract = 64] = "Abstract", e7[e7.Ambient = 128] = "Ambient", e7[e7.Static = 256] = "Static", e7[e7.Accessor = 512] = "Accessor", e7[e7.Async = 1024] = "Async", e7[e7.Default = 2048] = "Default", e7[e7.Const = 4096] = "Const", e7[e7.In = 8192] = "In", e7[e7.Out = 16384] = "Out", e7[e7.Decorator = 32768] = "Decorator", e7[e7.Deprecated = 65536] = "Deprecated", e7[e7.JSDocPublic = 8388608] = "JSDocPublic", e7[e7.JSDocPrivate = 16777216] = "JSDocPrivate", e7[e7.JSDocProtected = 33554432] = "JSDocProtected", e7[e7.JSDocReadonly = 67108864] = "JSDocReadonly", e7[e7.JSDocOverride = 134217728] = "JSDocOverride", e7[e7.SyntacticOrJSDocModifiers = 31] = "SyntacticOrJSDocModifiers", e7[e7.SyntacticOnlyModifiers = 65504] = "SyntacticOnlyModifiers", e7[e7.SyntacticModifiers = 65535] = "SyntacticModifiers", e7[e7.JSDocCacheOnlyModifiers = 260046848] = "JSDocCacheOnlyModifiers", e7[e7.JSDocOnlyModifiers = 65536] = "JSDocOnlyModifiers", e7[e7.NonCacheOnlyModifiers = 131071] = "NonCacheOnlyModifiers", e7[e7.HasComputedJSDocModifiers = 268435456] = "HasComputedJSDocModifiers", e7[e7.HasComputedFlags = 536870912] = "HasComputedFlags", e7[e7.AccessibilityModifier = 7] = "AccessibilityModifier", e7[e7.ParameterPropertyModifier = 31] = "ParameterPropertyModifier", e7[e7.NonPublicAccessibilityModifier = 6] = "NonPublicAccessibilityModifier", e7[e7.TypeScriptModifier = 28895] = "TypeScriptModifier", e7[e7.ExportDefault = 2080] = "ExportDefault", e7[e7.All = 131071] = "All", e7[e7.Modifier = 98303] = "Modifier", e7))(Qp2 || {}); + wm2 = ((e7) => (e7[e7.None = 0] = "None", e7[e7.Succeeded = 1] = "Succeeded", e7[e7.Failed = 2] = "Failed", e7[e7.ReportsUnmeasurable = 8] = "ReportsUnmeasurable", e7[e7.ReportsUnreliable = 16] = "ReportsUnreliable", e7[e7.ReportsMask = 24] = "ReportsMask", e7[e7.ComplexityOverflow = 32] = "ComplexityOverflow", e7[e7.StackDepthOverflow = 64] = "StackDepthOverflow", e7[e7.Overflow = 96] = "Overflow", e7))(wm2 || {}); + Op2 = ((e7) => (e7[e7.Unreachable = 1] = "Unreachable", e7[e7.Start = 2] = "Start", e7[e7.BranchLabel = 4] = "BranchLabel", e7[e7.LoopLabel = 8] = "LoopLabel", e7[e7.Assignment = 16] = "Assignment", e7[e7.TrueCondition = 32] = "TrueCondition", e7[e7.FalseCondition = 64] = "FalseCondition", e7[e7.SwitchClause = 128] = "SwitchClause", e7[e7.ArrayMutation = 256] = "ArrayMutation", e7[e7.Call = 512] = "Call", e7[e7.ReduceLabel = 1024] = "ReduceLabel", e7[e7.Referenced = 2048] = "Referenced", e7[e7.Shared = 4096] = "Shared", e7[e7.Label = 12] = "Label", e7[e7.Condition = 96] = "Condition", e7))(Op2 || {}); + Kp2 = ((e7) => (e7[e7.None = 0] = "None", e7[e7.FunctionScopedVariable = 1] = "FunctionScopedVariable", e7[e7.BlockScopedVariable = 2] = "BlockScopedVariable", e7[e7.Property = 4] = "Property", e7[e7.EnumMember = 8] = "EnumMember", e7[e7.Function = 16] = "Function", e7[e7.Class = 32] = "Class", e7[e7.Interface = 64] = "Interface", e7[e7.ConstEnum = 128] = "ConstEnum", e7[e7.RegularEnum = 256] = "RegularEnum", e7[e7.ValueModule = 512] = "ValueModule", e7[e7.NamespaceModule = 1024] = "NamespaceModule", e7[e7.TypeLiteral = 2048] = "TypeLiteral", e7[e7.ObjectLiteral = 4096] = "ObjectLiteral", e7[e7.Method = 8192] = "Method", e7[e7.Constructor = 16384] = "Constructor", e7[e7.GetAccessor = 32768] = "GetAccessor", e7[e7.SetAccessor = 65536] = "SetAccessor", e7[e7.Signature = 131072] = "Signature", e7[e7.TypeParameter = 262144] = "TypeParameter", e7[e7.TypeAlias = 524288] = "TypeAlias", e7[e7.ExportValue = 1048576] = "ExportValue", e7[e7.Alias = 2097152] = "Alias", e7[e7.Prototype = 4194304] = "Prototype", e7[e7.ExportStar = 8388608] = "ExportStar", e7[e7.Optional = 16777216] = "Optional", e7[e7.Transient = 33554432] = "Transient", e7[e7.Assignment = 67108864] = "Assignment", e7[e7.ModuleExports = 134217728] = "ModuleExports", e7[e7.All = -1] = "All", e7[e7.Enum = 384] = "Enum", e7[e7.Variable = 3] = "Variable", e7[e7.Value = 111551] = "Value", e7[e7.Type = 788968] = "Type", e7[e7.Namespace = 1920] = "Namespace", e7[e7.Module = 1536] = "Module", e7[e7.Accessor = 98304] = "Accessor", e7[e7.FunctionScopedVariableExcludes = 111550] = "FunctionScopedVariableExcludes", e7[e7.BlockScopedVariableExcludes = 111551] = "BlockScopedVariableExcludes", e7[e7.ParameterExcludes = 111551] = "ParameterExcludes", e7[e7.PropertyExcludes = 0] = "PropertyExcludes", e7[e7.EnumMemberExcludes = 900095] = "EnumMemberExcludes", e7[e7.FunctionExcludes = 110991] = "FunctionExcludes", e7[e7.ClassExcludes = 899503] = "ClassExcludes", e7[e7.InterfaceExcludes = 788872] = "InterfaceExcludes", e7[e7.RegularEnumExcludes = 899327] = "RegularEnumExcludes", e7[e7.ConstEnumExcludes = 899967] = "ConstEnumExcludes", e7[e7.ValueModuleExcludes = 110735] = "ValueModuleExcludes", e7[e7.NamespaceModuleExcludes = 0] = "NamespaceModuleExcludes", e7[e7.MethodExcludes = 103359] = "MethodExcludes", e7[e7.GetAccessorExcludes = 46015] = "GetAccessorExcludes", e7[e7.SetAccessorExcludes = 78783] = "SetAccessorExcludes", e7[e7.AccessorExcludes = 13247] = "AccessorExcludes", e7[e7.TypeParameterExcludes = 526824] = "TypeParameterExcludes", e7[e7.TypeAliasExcludes = 788968] = "TypeAliasExcludes", e7[e7.AliasExcludes = 2097152] = "AliasExcludes", e7[e7.ModuleMember = 2623475] = "ModuleMember", e7[e7.ExportHasLocal = 944] = "ExportHasLocal", e7[e7.BlockScoped = 418] = "BlockScoped", e7[e7.PropertyOrAccessor = 98308] = "PropertyOrAccessor", e7[e7.ClassMember = 106500] = "ClassMember", e7[e7.ExportSupportsDefaultModifier = 112] = "ExportSupportsDefaultModifier", e7[e7.ExportDoesNotSupportDefaultModifier = -113] = "ExportDoesNotSupportDefaultModifier", e7[e7.Classifiable = 2885600] = "Classifiable", e7[e7.LateBindingContainer = 6256] = "LateBindingContainer", e7))(Kp2 || {}); + km2 = ((e7) => (e7[e7.None = 0] = "None", e7[e7.TypeChecked = 1] = "TypeChecked", e7[e7.LexicalThis = 2] = "LexicalThis", e7[e7.CaptureThis = 4] = "CaptureThis", e7[e7.CaptureNewTarget = 8] = "CaptureNewTarget", e7[e7.SuperInstance = 16] = "SuperInstance", e7[e7.SuperStatic = 32] = "SuperStatic", e7[e7.ContextChecked = 64] = "ContextChecked", e7[e7.MethodWithSuperPropertyAccessInAsync = 128] = "MethodWithSuperPropertyAccessInAsync", e7[e7.MethodWithSuperPropertyAssignmentInAsync = 256] = "MethodWithSuperPropertyAssignmentInAsync", e7[e7.CaptureArguments = 512] = "CaptureArguments", e7[e7.EnumValuesComputed = 1024] = "EnumValuesComputed", e7[e7.LexicalModuleMergesWithClass = 2048] = "LexicalModuleMergesWithClass", e7[e7.LoopWithCapturedBlockScopedBinding = 4096] = "LoopWithCapturedBlockScopedBinding", e7[e7.ContainsCapturedBlockScopeBinding = 8192] = "ContainsCapturedBlockScopeBinding", e7[e7.CapturedBlockScopedBinding = 16384] = "CapturedBlockScopedBinding", e7[e7.BlockScopedBindingInLoop = 32768] = "BlockScopedBindingInLoop", e7[e7.NeedsLoopOutParameter = 65536] = "NeedsLoopOutParameter", e7[e7.AssignmentsMarked = 131072] = "AssignmentsMarked", e7[e7.ContainsConstructorReference = 262144] = "ContainsConstructorReference", e7[e7.ConstructorReference = 536870912] = "ConstructorReference", e7[e7.ContainsClassWithPrivateIdentifiers = 1048576] = "ContainsClassWithPrivateIdentifiers", e7[e7.ContainsSuperPropertyInStaticInitializer = 2097152] = "ContainsSuperPropertyInStaticInitializer", e7[e7.InCheckIdentifier = 4194304] = "InCheckIdentifier", e7[e7.PartiallyTypeChecked = 8388608] = "PartiallyTypeChecked", e7[e7.LazyFlags = 539358128] = "LazyFlags", e7))(km2 || {}); + en9 = ((e7) => (e7[e7.Any = 1] = "Any", e7[e7.Unknown = 2] = "Unknown", e7[e7.String = 4] = "String", e7[e7.Number = 8] = "Number", e7[e7.Boolean = 16] = "Boolean", e7[e7.Enum = 32] = "Enum", e7[e7.BigInt = 64] = "BigInt", e7[e7.StringLiteral = 128] = "StringLiteral", e7[e7.NumberLiteral = 256] = "NumberLiteral", e7[e7.BooleanLiteral = 512] = "BooleanLiteral", e7[e7.EnumLiteral = 1024] = "EnumLiteral", e7[e7.BigIntLiteral = 2048] = "BigIntLiteral", e7[e7.ESSymbol = 4096] = "ESSymbol", e7[e7.UniqueESSymbol = 8192] = "UniqueESSymbol", e7[e7.Void = 16384] = "Void", e7[e7.Undefined = 32768] = "Undefined", e7[e7.Null = 65536] = "Null", e7[e7.Never = 131072] = "Never", e7[e7.TypeParameter = 262144] = "TypeParameter", e7[e7.Object = 524288] = "Object", e7[e7.Union = 1048576] = "Union", e7[e7.Intersection = 2097152] = "Intersection", e7[e7.Index = 4194304] = "Index", e7[e7.IndexedAccess = 8388608] = "IndexedAccess", e7[e7.Conditional = 16777216] = "Conditional", e7[e7.Substitution = 33554432] = "Substitution", e7[e7.NonPrimitive = 67108864] = "NonPrimitive", e7[e7.TemplateLiteral = 134217728] = "TemplateLiteral", e7[e7.StringMapping = 268435456] = "StringMapping", e7[e7.Reserved1 = 536870912] = "Reserved1", e7[e7.Reserved2 = 1073741824] = "Reserved2", e7[e7.AnyOrUnknown = 3] = "AnyOrUnknown", e7[e7.Nullable = 98304] = "Nullable", e7[e7.Literal = 2944] = "Literal", e7[e7.Unit = 109472] = "Unit", e7[e7.Freshable = 2976] = "Freshable", e7[e7.StringOrNumberLiteral = 384] = "StringOrNumberLiteral", e7[e7.StringOrNumberLiteralOrUnique = 8576] = "StringOrNumberLiteralOrUnique", e7[e7.DefinitelyFalsy = 117632] = "DefinitelyFalsy", e7[e7.PossiblyFalsy = 117724] = "PossiblyFalsy", e7[e7.Intrinsic = 67359327] = "Intrinsic", e7[e7.StringLike = 402653316] = "StringLike", e7[e7.NumberLike = 296] = "NumberLike", e7[e7.BigIntLike = 2112] = "BigIntLike", e7[e7.BooleanLike = 528] = "BooleanLike", e7[e7.EnumLike = 1056] = "EnumLike", e7[e7.ESSymbolLike = 12288] = "ESSymbolLike", e7[e7.VoidLike = 49152] = "VoidLike", e7[e7.Primitive = 402784252] = "Primitive", e7[e7.DefinitelyNonNullable = 470302716] = "DefinitelyNonNullable", e7[e7.DisjointDomains = 469892092] = "DisjointDomains", e7[e7.UnionOrIntersection = 3145728] = "UnionOrIntersection", e7[e7.StructuredType = 3670016] = "StructuredType", e7[e7.TypeVariable = 8650752] = "TypeVariable", e7[e7.InstantiableNonPrimitive = 58982400] = "InstantiableNonPrimitive", e7[e7.InstantiablePrimitive = 406847488] = "InstantiablePrimitive", e7[e7.Instantiable = 465829888] = "Instantiable", e7[e7.StructuredOrInstantiable = 469499904] = "StructuredOrInstantiable", e7[e7.ObjectFlagsType = 3899393] = "ObjectFlagsType", e7[e7.Simplifiable = 25165824] = "Simplifiable", e7[e7.Singleton = 67358815] = "Singleton", e7[e7.Narrowable = 536624127] = "Narrowable", e7[e7.IncludesMask = 473694207] = "IncludesMask", e7[e7.IncludesMissingType = 262144] = "IncludesMissingType", e7[e7.IncludesNonWideningType = 4194304] = "IncludesNonWideningType", e7[e7.IncludesWildcard = 8388608] = "IncludesWildcard", e7[e7.IncludesEmptyObject = 16777216] = "IncludesEmptyObject", e7[e7.IncludesInstantiable = 33554432] = "IncludesInstantiable", e7[e7.IncludesConstrainedTypeVariable = 536870912] = "IncludesConstrainedTypeVariable", e7[e7.IncludesError = 1073741824] = "IncludesError", e7[e7.NotPrimitiveUnion = 36323331] = "NotPrimitiveUnion", e7))(en9 || {}); + Zp2 = ((e7) => (e7[e7.None = 0] = "None", e7[e7.Class = 1] = "Class", e7[e7.Interface = 2] = "Interface", e7[e7.Reference = 4] = "Reference", e7[e7.Tuple = 8] = "Tuple", e7[e7.Anonymous = 16] = "Anonymous", e7[e7.Mapped = 32] = "Mapped", e7[e7.Instantiated = 64] = "Instantiated", e7[e7.ObjectLiteral = 128] = "ObjectLiteral", e7[e7.EvolvingArray = 256] = "EvolvingArray", e7[e7.ObjectLiteralPatternWithComputedProperties = 512] = "ObjectLiteralPatternWithComputedProperties", e7[e7.ReverseMapped = 1024] = "ReverseMapped", e7[e7.JsxAttributes = 2048] = "JsxAttributes", e7[e7.JSLiteral = 4096] = "JSLiteral", e7[e7.FreshLiteral = 8192] = "FreshLiteral", e7[e7.ArrayLiteral = 16384] = "ArrayLiteral", e7[e7.PrimitiveUnion = 32768] = "PrimitiveUnion", e7[e7.ContainsWideningType = 65536] = "ContainsWideningType", e7[e7.ContainsObjectOrArrayLiteral = 131072] = "ContainsObjectOrArrayLiteral", e7[e7.NonInferrableType = 262144] = "NonInferrableType", e7[e7.CouldContainTypeVariablesComputed = 524288] = "CouldContainTypeVariablesComputed", e7[e7.CouldContainTypeVariables = 1048576] = "CouldContainTypeVariables", e7[e7.SingleSignatureType = 134217728] = "SingleSignatureType", e7[e7.ClassOrInterface = 3] = "ClassOrInterface", e7[e7.RequiresWidening = 196608] = "RequiresWidening", e7[e7.PropagatingFlags = 458752] = "PropagatingFlags", e7[e7.InstantiatedMapped = 96] = "InstantiatedMapped", e7[e7.ObjectTypeKindMask = 1343] = "ObjectTypeKindMask", e7[e7.ContainsSpread = 2097152] = "ContainsSpread", e7[e7.ObjectRestType = 4194304] = "ObjectRestType", e7[e7.InstantiationExpressionType = 8388608] = "InstantiationExpressionType", e7[e7.IsClassInstanceClone = 16777216] = "IsClassInstanceClone", e7[e7.IdenticalBaseTypeCalculated = 33554432] = "IdenticalBaseTypeCalculated", e7[e7.IdenticalBaseTypeExists = 67108864] = "IdenticalBaseTypeExists", e7[e7.IsGenericTypeComputed = 2097152] = "IsGenericTypeComputed", e7[e7.IsGenericObjectType = 4194304] = "IsGenericObjectType", e7[e7.IsGenericIndexType = 8388608] = "IsGenericIndexType", e7[e7.IsGenericType = 12582912] = "IsGenericType", e7[e7.ContainsIntersections = 16777216] = "ContainsIntersections", e7[e7.IsUnknownLikeUnionComputed = 33554432] = "IsUnknownLikeUnionComputed", e7[e7.IsUnknownLikeUnion = 67108864] = "IsUnknownLikeUnion", e7[e7.IsNeverIntersectionComputed = 16777216] = "IsNeverIntersectionComputed", e7[e7.IsNeverIntersection = 33554432] = "IsNeverIntersection", e7[e7.IsConstrainedTypeVariable = 67108864] = "IsConstrainedTypeVariable", e7))(Zp2 || {}); + Em2 = ((e7) => (e7[e7.None = 0] = "None", e7[e7.HasRestParameter = 1] = "HasRestParameter", e7[e7.HasLiteralTypes = 2] = "HasLiteralTypes", e7[e7.Abstract = 4] = "Abstract", e7[e7.IsInnerCallChain = 8] = "IsInnerCallChain", e7[e7.IsOuterCallChain = 16] = "IsOuterCallChain", e7[e7.IsUntypedSignatureInJSFile = 32] = "IsUntypedSignatureInJSFile", e7[e7.IsNonInferrable = 64] = "IsNonInferrable", e7[e7.IsSignatureCandidateForOverloadFailure = 128] = "IsSignatureCandidateForOverloadFailure", e7[e7.PropagatingFlags = 167] = "PropagatingFlags", e7[e7.CallChainFlags = 24] = "CallChainFlags", e7))(Em2 || {}); + Pr6 = ((e7) => (e7[e7.Unknown = 0] = "Unknown", e7[e7.JS = 1] = "JS", e7[e7.JSX = 2] = "JSX", e7[e7.TS = 3] = "TS", e7[e7.TSX = 4] = "TSX", e7[e7.External = 5] = "External", e7[e7.JSON = 6] = "JSON", e7[e7.Deferred = 7] = "Deferred", e7))(Pr6 || {}); + g_ = ((e7) => (e7[e7.ES3 = 0] = "ES3", e7[e7.ES5 = 1] = "ES5", e7[e7.ES2015 = 2] = "ES2015", e7[e7.ES2016 = 3] = "ES2016", e7[e7.ES2017 = 4] = "ES2017", e7[e7.ES2018 = 5] = "ES2018", e7[e7.ES2019 = 6] = "ES2019", e7[e7.ES2020 = 7] = "ES2020", e7[e7.ES2021 = 8] = "ES2021", e7[e7.ES2022 = 9] = "ES2022", e7[e7.ES2023 = 10] = "ES2023", e7[e7.ES2024 = 11] = "ES2024", e7[e7.ESNext = 99] = "ESNext", e7[e7.JSON = 100] = "JSON", e7[e7.Latest = 99] = "Latest", e7))(g_ || {}); + wl5 = ((e7) => (e7[e7.Standard = 0] = "Standard", e7[e7.JSX = 1] = "JSX", e7))(wl5 || {}); + Cn7 = ((e7) => (e7.Ts = ".ts", e7.Tsx = ".tsx", e7.Dts = ".d.ts", e7.Js = ".js", e7.Jsx = ".jsx", e7.Json = ".json", e7.TsBuildInfo = ".tsbuildinfo", e7.Mjs = ".mjs", e7.Mts = ".mts", e7.Dmts = ".d.mts", e7.Cjs = ".cjs", e7.Cts = ".cts", e7.Dcts = ".d.cts", e7))(Cn7 || {}); + Am2 = ((e7) => (e7[e7.None = 0] = "None", e7[e7.ContainsTypeScript = 1] = "ContainsTypeScript", e7[e7.ContainsJsx = 2] = "ContainsJsx", e7[e7.ContainsESNext = 4] = "ContainsESNext", e7[e7.ContainsES2022 = 8] = "ContainsES2022", e7[e7.ContainsES2021 = 16] = "ContainsES2021", e7[e7.ContainsES2020 = 32] = "ContainsES2020", e7[e7.ContainsES2019 = 64] = "ContainsES2019", e7[e7.ContainsES2018 = 128] = "ContainsES2018", e7[e7.ContainsES2017 = 256] = "ContainsES2017", e7[e7.ContainsES2016 = 512] = "ContainsES2016", e7[e7.ContainsES2015 = 1024] = "ContainsES2015", e7[e7.ContainsGenerator = 2048] = "ContainsGenerator", e7[e7.ContainsDestructuringAssignment = 4096] = "ContainsDestructuringAssignment", e7[e7.ContainsTypeScriptClassSyntax = 8192] = "ContainsTypeScriptClassSyntax", e7[e7.ContainsLexicalThis = 16384] = "ContainsLexicalThis", e7[e7.ContainsRestOrSpread = 32768] = "ContainsRestOrSpread", e7[e7.ContainsObjectRestOrSpread = 65536] = "ContainsObjectRestOrSpread", e7[e7.ContainsComputedPropertyName = 131072] = "ContainsComputedPropertyName", e7[e7.ContainsBlockScopedBinding = 262144] = "ContainsBlockScopedBinding", e7[e7.ContainsBindingPattern = 524288] = "ContainsBindingPattern", e7[e7.ContainsYield = 1048576] = "ContainsYield", e7[e7.ContainsAwait = 2097152] = "ContainsAwait", e7[e7.ContainsHoistedDeclarationOrCompletion = 4194304] = "ContainsHoistedDeclarationOrCompletion", e7[e7.ContainsDynamicImport = 8388608] = "ContainsDynamicImport", e7[e7.ContainsClassFields = 16777216] = "ContainsClassFields", e7[e7.ContainsDecorators = 33554432] = "ContainsDecorators", e7[e7.ContainsPossibleTopLevelAwait = 67108864] = "ContainsPossibleTopLevelAwait", e7[e7.ContainsLexicalSuper = 134217728] = "ContainsLexicalSuper", e7[e7.ContainsUpdateExpressionForIdentifier = 268435456] = "ContainsUpdateExpressionForIdentifier", e7[e7.ContainsPrivateIdentifierInExpression = 536870912] = "ContainsPrivateIdentifierInExpression", e7[e7.HasComputedFlags = -2147483648] = "HasComputedFlags", e7[e7.AssertTypeScript = 1] = "AssertTypeScript", e7[e7.AssertJsx = 2] = "AssertJsx", e7[e7.AssertESNext = 4] = "AssertESNext", e7[e7.AssertES2022 = 8] = "AssertES2022", e7[e7.AssertES2021 = 16] = "AssertES2021", e7[e7.AssertES2020 = 32] = "AssertES2020", e7[e7.AssertES2019 = 64] = "AssertES2019", e7[e7.AssertES2018 = 128] = "AssertES2018", e7[e7.AssertES2017 = 256] = "AssertES2017", e7[e7.AssertES2016 = 512] = "AssertES2016", e7[e7.AssertES2015 = 1024] = "AssertES2015", e7[e7.AssertGenerator = 2048] = "AssertGenerator", e7[e7.AssertDestructuringAssignment = 4096] = "AssertDestructuringAssignment", e7[e7.OuterExpressionExcludes = -2147483648] = "OuterExpressionExcludes", e7[e7.PropertyAccessExcludes = -2147483648] = "PropertyAccessExcludes", e7[e7.NodeExcludes = -2147483648] = "NodeExcludes", e7[e7.ArrowFunctionExcludes = -2072174592] = "ArrowFunctionExcludes", e7[e7.FunctionExcludes = -1937940480] = "FunctionExcludes", e7[e7.ConstructorExcludes = -1937948672] = "ConstructorExcludes", e7[e7.MethodOrAccessorExcludes = -2005057536] = "MethodOrAccessorExcludes", e7[e7.PropertyExcludes = -2013249536] = "PropertyExcludes", e7[e7.ClassExcludes = -2147344384] = "ClassExcludes", e7[e7.ModuleExcludes = -1941676032] = "ModuleExcludes", e7[e7.TypeExcludes = -2] = "TypeExcludes", e7[e7.ObjectLiteralExcludes = -2147278848] = "ObjectLiteralExcludes", e7[e7.ArrayLiteralOrCallOrNewExcludes = -2147450880] = "ArrayLiteralOrCallOrNewExcludes", e7[e7.VariableDeclarationListExcludes = -2146893824] = "VariableDeclarationListExcludes", e7[e7.ParameterExcludes = -2147483648] = "ParameterExcludes", e7[e7.CatchClauseExcludes = -2147418112] = "CatchClauseExcludes", e7[e7.BindingPatternExcludes = -2147450880] = "BindingPatternExcludes", e7[e7.ContainsLexicalThisOrSuper = 134234112] = "ContainsLexicalThisOrSuper", e7[e7.PropertyNamePropagatingFlags = 134234112] = "PropertyNamePropagatingFlags", e7))(Am2 || {}); + Cm2 = ((e7) => (e7[e7.TabStop = 0] = "TabStop", e7[e7.Placeholder = 1] = "Placeholder", e7[e7.Choice = 2] = "Choice", e7[e7.Variable = 3] = "Variable", e7))(Cm2 || {}); + Dm2 = ((e7) => (e7[e7.None = 0] = "None", e7[e7.SingleLine = 1] = "SingleLine", e7[e7.MultiLine = 2] = "MultiLine", e7[e7.AdviseOnEmitNode = 4] = "AdviseOnEmitNode", e7[e7.NoSubstitution = 8] = "NoSubstitution", e7[e7.CapturesThis = 16] = "CapturesThis", e7[e7.NoLeadingSourceMap = 32] = "NoLeadingSourceMap", e7[e7.NoTrailingSourceMap = 64] = "NoTrailingSourceMap", e7[e7.NoSourceMap = 96] = "NoSourceMap", e7[e7.NoNestedSourceMaps = 128] = "NoNestedSourceMaps", e7[e7.NoTokenLeadingSourceMaps = 256] = "NoTokenLeadingSourceMaps", e7[e7.NoTokenTrailingSourceMaps = 512] = "NoTokenTrailingSourceMaps", e7[e7.NoTokenSourceMaps = 768] = "NoTokenSourceMaps", e7[e7.NoLeadingComments = 1024] = "NoLeadingComments", e7[e7.NoTrailingComments = 2048] = "NoTrailingComments", e7[e7.NoComments = 3072] = "NoComments", e7[e7.NoNestedComments = 4096] = "NoNestedComments", e7[e7.HelperName = 8192] = "HelperName", e7[e7.ExportName = 16384] = "ExportName", e7[e7.LocalName = 32768] = "LocalName", e7[e7.InternalName = 65536] = "InternalName", e7[e7.Indented = 131072] = "Indented", e7[e7.NoIndentation = 262144] = "NoIndentation", e7[e7.AsyncFunctionBody = 524288] = "AsyncFunctionBody", e7[e7.ReuseTempVariableScope = 1048576] = "ReuseTempVariableScope", e7[e7.CustomPrologue = 2097152] = "CustomPrologue", e7[e7.NoHoisting = 4194304] = "NoHoisting", e7[e7.Iterator = 8388608] = "Iterator", e7[e7.NoAsciiEscaping = 16777216] = "NoAsciiEscaping", e7))(Dm2 || {}); + $s8 = { Classes: 2, ForOf: 2, Generators: 2, Iteration: 2, SpreadElements: 2, RestElements: 2, TaggedTemplates: 2, DestructuringAssignment: 2, BindingPatterns: 2, ArrowFunctions: 2, BlockScopedVariables: 2, ObjectAssign: 2, RegularExpressionFlagsUnicode: 2, RegularExpressionFlagsSticky: 2, Exponentiation: 3, AsyncFunctions: 4, ForAwaitOf: 5, AsyncGenerators: 5, AsyncIteration: 5, ObjectSpreadRest: 5, RegularExpressionFlagsDotAll: 5, BindinglessCatch: 6, BigInt: 7, NullishCoalesce: 7, OptionalChaining: 7, LogicalAssignment: 8, TopLevelAwait: 9, ClassFields: 9, PrivateNamesAndClassStaticBlocks: 9, RegularExpressionFlagsHasIndices: 9, ShebangComments: 10, RegularExpressionFlagsUnicodeSets: 11, UsingAndAwaitUsing: 99, ClassAndClassElementDecorators: 99 }; + Pm2 = { reference: { args: [{ name: "types", optional: true, captureSpan: true }, { name: "lib", optional: true, captureSpan: true }, { name: "path", optional: true, captureSpan: true }, { name: "no-default-lib", optional: true }, { name: "resolution-mode", optional: true }, { name: "preserve", optional: true }], kind: 1 }, "amd-dependency": { args: [{ name: "path" }, { name: "name", optional: true }], kind: 1 }, "amd-module": { args: [{ name: "name" }], kind: 1 }, "ts-check": { kind: 2 }, "ts-nocheck": { kind: 2 }, jsx: { args: [{ name: "factory" }], kind: 4 }, jsxfrag: { args: [{ name: "factory" }], kind: 4 }, jsximportsource: { args: [{ name: "factory" }], kind: 4 }, jsxruntime: { args: [{ name: "factory" }], kind: 4 } }; + Ya5 = ((e7) => (e7[e7.ParseAll = 0] = "ParseAll", e7[e7.ParseNone = 1] = "ParseNone", e7[e7.ParseForTypeErrors = 2] = "ParseForTypeErrors", e7[e7.ParseForTypeInfo = 3] = "ParseForTypeInfo", e7))(Ya5 || {}); + Xr6 = "/"; + My2 = "\\"; + vd = "://"; + Ly2 = /\\/g; + Sd = /\/\/|(?:^|\/)\.\.?(?:$|\/)/; + A7 = { Unterminated_string_literal: r3(1002, 1, "Unterminated_string_literal_1002", "Unterminated string literal."), Identifier_expected: r3(1003, 1, "Identifier_expected_1003", "Identifier expected."), _0_expected: r3(1005, 1, "_0_expected_1005", "'{0}' expected."), A_file_cannot_have_a_reference_to_itself: r3(1006, 1, "A_file_cannot_have_a_reference_to_itself_1006", "A file cannot have a reference to itself."), The_parser_expected_to_find_a_1_to_match_the_0_token_here: r3(1007, 1, "The_parser_expected_to_find_a_1_to_match_the_0_token_here_1007", "The parser expected to find a '{1}' to match the '{0}' token here."), Trailing_comma_not_allowed: r3(1009, 1, "Trailing_comma_not_allowed_1009", "Trailing comma not allowed."), Asterisk_Slash_expected: r3(1010, 1, "Asterisk_Slash_expected_1010", "'*/' expected."), An_element_access_expression_should_take_an_argument: r3(1011, 1, "An_element_access_expression_should_take_an_argument_1011", "An element access expression should take an argument."), Unexpected_token: r3(1012, 1, "Unexpected_token_1012", "Unexpected token."), A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma: r3(1013, 1, "A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma_1013", "A rest parameter or binding pattern may not have a trailing comma."), A_rest_parameter_must_be_last_in_a_parameter_list: r3(1014, 1, "A_rest_parameter_must_be_last_in_a_parameter_list_1014", "A rest parameter must be last in a parameter list."), Parameter_cannot_have_question_mark_and_initializer: r3(1015, 1, "Parameter_cannot_have_question_mark_and_initializer_1015", "Parameter cannot have question mark and initializer."), A_required_parameter_cannot_follow_an_optional_parameter: r3(1016, 1, "A_required_parameter_cannot_follow_an_optional_parameter_1016", "A required parameter cannot follow an optional parameter."), An_index_signature_cannot_have_a_rest_parameter: r3(1017, 1, "An_index_signature_cannot_have_a_rest_parameter_1017", "An index signature cannot have a rest parameter."), An_index_signature_parameter_cannot_have_an_accessibility_modifier: r3(1018, 1, "An_index_signature_parameter_cannot_have_an_accessibility_modifier_1018", "An index signature parameter cannot have an accessibility modifier."), An_index_signature_parameter_cannot_have_a_question_mark: r3(1019, 1, "An_index_signature_parameter_cannot_have_a_question_mark_1019", "An index signature parameter cannot have a question mark."), An_index_signature_parameter_cannot_have_an_initializer: r3(1020, 1, "An_index_signature_parameter_cannot_have_an_initializer_1020", "An index signature parameter cannot have an initializer."), An_index_signature_must_have_a_type_annotation: r3(1021, 1, "An_index_signature_must_have_a_type_annotation_1021", "An index signature must have a type annotation."), An_index_signature_parameter_must_have_a_type_annotation: r3(1022, 1, "An_index_signature_parameter_must_have_a_type_annotation_1022", "An index signature parameter must have a type annotation."), readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature: r3(1024, 1, "readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature_1024", "'readonly' modifier can only appear on a property declaration or index signature."), An_index_signature_cannot_have_a_trailing_comma: r3(1025, 1, "An_index_signature_cannot_have_a_trailing_comma_1025", "An index signature cannot have a trailing comma."), Accessibility_modifier_already_seen: r3(1028, 1, "Accessibility_modifier_already_seen_1028", "Accessibility modifier already seen."), _0_modifier_must_precede_1_modifier: r3(1029, 1, "_0_modifier_must_precede_1_modifier_1029", "'{0}' modifier must precede '{1}' modifier."), _0_modifier_already_seen: r3(1030, 1, "_0_modifier_already_seen_1030", "'{0}' modifier already seen."), _0_modifier_cannot_appear_on_class_elements_of_this_kind: r3(1031, 1, "_0_modifier_cannot_appear_on_class_elements_of_this_kind_1031", "'{0}' modifier cannot appear on class elements of this kind."), super_must_be_followed_by_an_argument_list_or_member_access: r3(1034, 1, "super_must_be_followed_by_an_argument_list_or_member_access_1034", "'super' must be followed by an argument list or member access."), Only_ambient_modules_can_use_quoted_names: r3(1035, 1, "Only_ambient_modules_can_use_quoted_names_1035", "Only ambient modules can use quoted names."), Statements_are_not_allowed_in_ambient_contexts: r3(1036, 1, "Statements_are_not_allowed_in_ambient_contexts_1036", "Statements are not allowed in ambient contexts."), A_declare_modifier_cannot_be_used_in_an_already_ambient_context: r3(1038, 1, "A_declare_modifier_cannot_be_used_in_an_already_ambient_context_1038", "A 'declare' modifier cannot be used in an already ambient context."), Initializers_are_not_allowed_in_ambient_contexts: r3(1039, 1, "Initializers_are_not_allowed_in_ambient_contexts_1039", "Initializers are not allowed in ambient contexts."), _0_modifier_cannot_be_used_in_an_ambient_context: r3(1040, 1, "_0_modifier_cannot_be_used_in_an_ambient_context_1040", "'{0}' modifier cannot be used in an ambient context."), _0_modifier_cannot_be_used_here: r3(1042, 1, "_0_modifier_cannot_be_used_here_1042", "'{0}' modifier cannot be used here."), _0_modifier_cannot_appear_on_a_module_or_namespace_element: r3(1044, 1, "_0_modifier_cannot_appear_on_a_module_or_namespace_element_1044", "'{0}' modifier cannot appear on a module or namespace element."), Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier: r3(1046, 1, "Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier_1046", "Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier."), A_rest_parameter_cannot_be_optional: r3(1047, 1, "A_rest_parameter_cannot_be_optional_1047", "A rest parameter cannot be optional."), A_rest_parameter_cannot_have_an_initializer: r3(1048, 1, "A_rest_parameter_cannot_have_an_initializer_1048", "A rest parameter cannot have an initializer."), A_set_accessor_must_have_exactly_one_parameter: r3(1049, 1, "A_set_accessor_must_have_exactly_one_parameter_1049", "A 'set' accessor must have exactly one parameter."), A_set_accessor_cannot_have_an_optional_parameter: r3(1051, 1, "A_set_accessor_cannot_have_an_optional_parameter_1051", "A 'set' accessor cannot have an optional parameter."), A_set_accessor_parameter_cannot_have_an_initializer: r3(1052, 1, "A_set_accessor_parameter_cannot_have_an_initializer_1052", "A 'set' accessor parameter cannot have an initializer."), A_set_accessor_cannot_have_rest_parameter: r3(1053, 1, "A_set_accessor_cannot_have_rest_parameter_1053", "A 'set' accessor cannot have rest parameter."), A_get_accessor_cannot_have_parameters: r3(1054, 1, "A_get_accessor_cannot_have_parameters_1054", "A 'get' accessor cannot have parameters."), Type_0_is_not_a_valid_async_function_return_type_in_ES5_because_it_does_not_refer_to_a_Promise_compatible_constructor_value: r3(1055, 1, "Type_0_is_not_a_valid_async_function_return_type_in_ES5_because_it_does_not_refer_to_a_Promise_compa_1055", "Type '{0}' is not a valid async function return type in ES5 because it does not refer to a Promise-compatible constructor value."), Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher: r3(1056, 1, "Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher_1056", "Accessors are only available when targeting ECMAScript 5 and higher."), The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member: r3(1058, 1, "The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_t_1058", "The return type of an async function must either be a valid promise or must not contain a callable 'then' member."), A_promise_must_have_a_then_method: r3(1059, 1, "A_promise_must_have_a_then_method_1059", "A promise must have a 'then' method."), The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback: r3(1060, 1, "The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback_1060", "The first parameter of the 'then' method of a promise must be a callback."), Enum_member_must_have_initializer: r3(1061, 1, "Enum_member_must_have_initializer_1061", "Enum member must have initializer."), Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method: r3(1062, 1, "Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method_1062", "Type is referenced directly or indirectly in the fulfillment callback of its own 'then' method."), An_export_assignment_cannot_be_used_in_a_namespace: r3(1063, 1, "An_export_assignment_cannot_be_used_in_a_namespace_1063", "An export assignment cannot be used in a namespace."), The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0: r3(1064, 1, "The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_wri_1064", "The return type of an async function or method must be the global Promise type. Did you mean to write 'Promise<{0}>'?"), The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type: r3(1065, 1, "The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_1065", "The return type of an async function or method must be the global Promise type."), In_ambient_enum_declarations_member_initializer_must_be_constant_expression: r3(1066, 1, "In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066", "In ambient enum declarations member initializer must be constant expression."), Unexpected_token_A_constructor_method_accessor_or_property_was_expected: r3(1068, 1, "Unexpected_token_A_constructor_method_accessor_or_property_was_expected_1068", "Unexpected token. A constructor, method, accessor, or property was expected."), Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces: r3(1069, 1, "Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces_1069", "Unexpected token. A type parameter name was expected without curly braces."), _0_modifier_cannot_appear_on_a_type_member: r3(1070, 1, "_0_modifier_cannot_appear_on_a_type_member_1070", "'{0}' modifier cannot appear on a type member."), _0_modifier_cannot_appear_on_an_index_signature: r3(1071, 1, "_0_modifier_cannot_appear_on_an_index_signature_1071", "'{0}' modifier cannot appear on an index signature."), A_0_modifier_cannot_be_used_with_an_import_declaration: r3(1079, 1, "A_0_modifier_cannot_be_used_with_an_import_declaration_1079", "A '{0}' modifier cannot be used with an import declaration."), Invalid_reference_directive_syntax: r3(1084, 1, "Invalid_reference_directive_syntax_1084", "Invalid 'reference' directive syntax."), _0_modifier_cannot_appear_on_a_constructor_declaration: r3(1089, 1, "_0_modifier_cannot_appear_on_a_constructor_declaration_1089", "'{0}' modifier cannot appear on a constructor declaration."), _0_modifier_cannot_appear_on_a_parameter: r3(1090, 1, "_0_modifier_cannot_appear_on_a_parameter_1090", "'{0}' modifier cannot appear on a parameter."), Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement: r3(1091, 1, "Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement_1091", "Only a single variable declaration is allowed in a 'for...in' statement."), Type_parameters_cannot_appear_on_a_constructor_declaration: r3(1092, 1, "Type_parameters_cannot_appear_on_a_constructor_declaration_1092", "Type parameters cannot appear on a constructor declaration."), Type_annotation_cannot_appear_on_a_constructor_declaration: r3(1093, 1, "Type_annotation_cannot_appear_on_a_constructor_declaration_1093", "Type annotation cannot appear on a constructor declaration."), An_accessor_cannot_have_type_parameters: r3(1094, 1, "An_accessor_cannot_have_type_parameters_1094", "An accessor cannot have type parameters."), A_set_accessor_cannot_have_a_return_type_annotation: r3(1095, 1, "A_set_accessor_cannot_have_a_return_type_annotation_1095", "A 'set' accessor cannot have a return type annotation."), An_index_signature_must_have_exactly_one_parameter: r3(1096, 1, "An_index_signature_must_have_exactly_one_parameter_1096", "An index signature must have exactly one parameter."), _0_list_cannot_be_empty: r3(1097, 1, "_0_list_cannot_be_empty_1097", "'{0}' list cannot be empty."), Type_parameter_list_cannot_be_empty: r3(1098, 1, "Type_parameter_list_cannot_be_empty_1098", "Type parameter list cannot be empty."), Type_argument_list_cannot_be_empty: r3(1099, 1, "Type_argument_list_cannot_be_empty_1099", "Type argument list cannot be empty."), Invalid_use_of_0_in_strict_mode: r3(1100, 1, "Invalid_use_of_0_in_strict_mode_1100", "Invalid use of '{0}' in strict mode."), with_statements_are_not_allowed_in_strict_mode: r3(1101, 1, "with_statements_are_not_allowed_in_strict_mode_1101", "'with' statements are not allowed in strict mode."), delete_cannot_be_called_on_an_identifier_in_strict_mode: r3(1102, 1, "delete_cannot_be_called_on_an_identifier_in_strict_mode_1102", "'delete' cannot be called on an identifier in strict mode."), for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules: r3(1103, 1, "for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1103", "'for await' loops are only allowed within async functions and at the top levels of modules."), A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement: r3(1104, 1, "A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement_1104", "A 'continue' statement can only be used within an enclosing iteration statement."), A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement: r3(1105, 1, "A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement_1105", "A 'break' statement can only be used within an enclosing iteration or switch statement."), The_left_hand_side_of_a_for_of_statement_may_not_be_async: r3(1106, 1, "The_left_hand_side_of_a_for_of_statement_may_not_be_async_1106", "The left-hand side of a 'for...of' statement may not be 'async'."), Jump_target_cannot_cross_function_boundary: r3(1107, 1, "Jump_target_cannot_cross_function_boundary_1107", "Jump target cannot cross function boundary."), A_return_statement_can_only_be_used_within_a_function_body: r3(1108, 1, "A_return_statement_can_only_be_used_within_a_function_body_1108", "A 'return' statement can only be used within a function body."), Expression_expected: r3(1109, 1, "Expression_expected_1109", "Expression expected."), Type_expected: r3(1110, 1, "Type_expected_1110", "Type expected."), Private_field_0_must_be_declared_in_an_enclosing_class: r3(1111, 1, "Private_field_0_must_be_declared_in_an_enclosing_class_1111", "Private field '{0}' must be declared in an enclosing class."), A_default_clause_cannot_appear_more_than_once_in_a_switch_statement: r3(1113, 1, "A_default_clause_cannot_appear_more_than_once_in_a_switch_statement_1113", "A 'default' clause cannot appear more than once in a 'switch' statement."), Duplicate_label_0: r3(1114, 1, "Duplicate_label_0_1114", "Duplicate label '{0}'."), A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement: r3(1115, 1, "A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement_1115", "A 'continue' statement can only jump to a label of an enclosing iteration statement."), A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement: r3(1116, 1, "A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement_1116", "A 'break' statement can only jump to a label of an enclosing statement."), An_object_literal_cannot_have_multiple_properties_with_the_same_name: r3(1117, 1, "An_object_literal_cannot_have_multiple_properties_with_the_same_name_1117", "An object literal cannot have multiple properties with the same name."), An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name: r3(1118, 1, "An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name_1118", "An object literal cannot have multiple get/set accessors with the same name."), An_object_literal_cannot_have_property_and_accessor_with_the_same_name: r3(1119, 1, "An_object_literal_cannot_have_property_and_accessor_with_the_same_name_1119", "An object literal cannot have property and accessor with the same name."), An_export_assignment_cannot_have_modifiers: r3(1120, 1, "An_export_assignment_cannot_have_modifiers_1120", "An export assignment cannot have modifiers."), Octal_literals_are_not_allowed_Use_the_syntax_0: r3(1121, 1, "Octal_literals_are_not_allowed_Use_the_syntax_0_1121", "Octal literals are not allowed. Use the syntax '{0}'."), Variable_declaration_list_cannot_be_empty: r3(1123, 1, "Variable_declaration_list_cannot_be_empty_1123", "Variable declaration list cannot be empty."), Digit_expected: r3(1124, 1, "Digit_expected_1124", "Digit expected."), Hexadecimal_digit_expected: r3(1125, 1, "Hexadecimal_digit_expected_1125", "Hexadecimal digit expected."), Unexpected_end_of_text: r3(1126, 1, "Unexpected_end_of_text_1126", "Unexpected end of text."), Invalid_character: r3(1127, 1, "Invalid_character_1127", "Invalid character."), Declaration_or_statement_expected: r3(1128, 1, "Declaration_or_statement_expected_1128", "Declaration or statement expected."), Statement_expected: r3(1129, 1, "Statement_expected_1129", "Statement expected."), case_or_default_expected: r3(1130, 1, "case_or_default_expected_1130", "'case' or 'default' expected."), Property_or_signature_expected: r3(1131, 1, "Property_or_signature_expected_1131", "Property or signature expected."), Enum_member_expected: r3(1132, 1, "Enum_member_expected_1132", "Enum member expected."), Variable_declaration_expected: r3(1134, 1, "Variable_declaration_expected_1134", "Variable declaration expected."), Argument_expression_expected: r3(1135, 1, "Argument_expression_expected_1135", "Argument expression expected."), Property_assignment_expected: r3(1136, 1, "Property_assignment_expected_1136", "Property assignment expected."), Expression_or_comma_expected: r3(1137, 1, "Expression_or_comma_expected_1137", "Expression or comma expected."), Parameter_declaration_expected: r3(1138, 1, "Parameter_declaration_expected_1138", "Parameter declaration expected."), Type_parameter_declaration_expected: r3(1139, 1, "Type_parameter_declaration_expected_1139", "Type parameter declaration expected."), Type_argument_expected: r3(1140, 1, "Type_argument_expected_1140", "Type argument expected."), String_literal_expected: r3(1141, 1, "String_literal_expected_1141", "String literal expected."), Line_break_not_permitted_here: r3(1142, 1, "Line_break_not_permitted_here_1142", "Line break not permitted here."), or_expected: r3(1144, 1, "or_expected_1144", "'{' or ';' expected."), or_JSX_element_expected: r3(1145, 1, "or_JSX_element_expected_1145", "'{' or JSX element expected."), Declaration_expected: r3(1146, 1, "Declaration_expected_1146", "Declaration expected."), Import_declarations_in_a_namespace_cannot_reference_a_module: r3(1147, 1, "Import_declarations_in_a_namespace_cannot_reference_a_module_1147", "Import declarations in a namespace cannot reference a module."), Cannot_use_imports_exports_or_module_augmentations_when_module_is_none: r3(1148, 1, "Cannot_use_imports_exports_or_module_augmentations_when_module_is_none_1148", "Cannot use imports, exports, or module augmentations when '--module' is 'none'."), File_name_0_differs_from_already_included_file_name_1_only_in_casing: r3(1149, 1, "File_name_0_differs_from_already_included_file_name_1_only_in_casing_1149", "File name '{0}' differs from already included file name '{1}' only in casing."), _0_declarations_must_be_initialized: r3(1155, 1, "_0_declarations_must_be_initialized_1155", "'{0}' declarations must be initialized."), _0_declarations_can_only_be_declared_inside_a_block: r3(1156, 1, "_0_declarations_can_only_be_declared_inside_a_block_1156", "'{0}' declarations can only be declared inside a block."), Unterminated_template_literal: r3(1160, 1, "Unterminated_template_literal_1160", "Unterminated template literal."), Unterminated_regular_expression_literal: r3(1161, 1, "Unterminated_regular_expression_literal_1161", "Unterminated regular expression literal."), An_object_member_cannot_be_declared_optional: r3(1162, 1, "An_object_member_cannot_be_declared_optional_1162", "An object member cannot be declared optional."), A_yield_expression_is_only_allowed_in_a_generator_body: r3(1163, 1, "A_yield_expression_is_only_allowed_in_a_generator_body_1163", "A 'yield' expression is only allowed in a generator body."), Computed_property_names_are_not_allowed_in_enums: r3(1164, 1, "Computed_property_names_are_not_allowed_in_enums_1164", "Computed property names are not allowed in enums."), A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type: r3(1165, 1, "A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_t_1165", "A computed property name in an ambient context must refer to an expression whose type is a literal type or a 'unique symbol' type."), A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_symbol_type: r3(1166, 1, "A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_1166", "A computed property name in a class property declaration must have a simple literal type or a 'unique symbol' type."), A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type: r3(1168, 1, "A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_ty_1168", "A computed property name in a method overload must refer to an expression whose type is a literal type or a 'unique symbol' type."), A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type: r3(1169, 1, "A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_1169", "A computed property name in an interface must refer to an expression whose type is a literal type or a 'unique symbol' type."), A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type: r3(1170, 1, "A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type__1170", "A computed property name in a type literal must refer to an expression whose type is a literal type or a 'unique symbol' type."), A_comma_expression_is_not_allowed_in_a_computed_property_name: r3(1171, 1, "A_comma_expression_is_not_allowed_in_a_computed_property_name_1171", "A comma expression is not allowed in a computed property name."), extends_clause_already_seen: r3(1172, 1, "extends_clause_already_seen_1172", "'extends' clause already seen."), extends_clause_must_precede_implements_clause: r3(1173, 1, "extends_clause_must_precede_implements_clause_1173", "'extends' clause must precede 'implements' clause."), Classes_can_only_extend_a_single_class: r3(1174, 1, "Classes_can_only_extend_a_single_class_1174", "Classes can only extend a single class."), implements_clause_already_seen: r3(1175, 1, "implements_clause_already_seen_1175", "'implements' clause already seen."), Interface_declaration_cannot_have_implements_clause: r3(1176, 1, "Interface_declaration_cannot_have_implements_clause_1176", "Interface declaration cannot have 'implements' clause."), Binary_digit_expected: r3(1177, 1, "Binary_digit_expected_1177", "Binary digit expected."), Octal_digit_expected: r3(1178, 1, "Octal_digit_expected_1178", "Octal digit expected."), Unexpected_token_expected: r3(1179, 1, "Unexpected_token_expected_1179", "Unexpected token. '{' expected."), Property_destructuring_pattern_expected: r3(1180, 1, "Property_destructuring_pattern_expected_1180", "Property destructuring pattern expected."), Array_element_destructuring_pattern_expected: r3(1181, 1, "Array_element_destructuring_pattern_expected_1181", "Array element destructuring pattern expected."), A_destructuring_declaration_must_have_an_initializer: r3(1182, 1, "A_destructuring_declaration_must_have_an_initializer_1182", "A destructuring declaration must have an initializer."), An_implementation_cannot_be_declared_in_ambient_contexts: r3(1183, 1, "An_implementation_cannot_be_declared_in_ambient_contexts_1183", "An implementation cannot be declared in ambient contexts."), Modifiers_cannot_appear_here: r3(1184, 1, "Modifiers_cannot_appear_here_1184", "Modifiers cannot appear here."), Merge_conflict_marker_encountered: r3(1185, 1, "Merge_conflict_marker_encountered_1185", "Merge conflict marker encountered."), A_rest_element_cannot_have_an_initializer: r3(1186, 1, "A_rest_element_cannot_have_an_initializer_1186", "A rest element cannot have an initializer."), A_parameter_property_may_not_be_declared_using_a_binding_pattern: r3(1187, 1, "A_parameter_property_may_not_be_declared_using_a_binding_pattern_1187", "A parameter property may not be declared using a binding pattern."), Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement: r3(1188, 1, "Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement_1188", "Only a single variable declaration is allowed in a 'for...of' statement."), The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer: r3(1189, 1, "The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer_1189", "The variable declaration of a 'for...in' statement cannot have an initializer."), The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer: r3(1190, 1, "The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer_1190", "The variable declaration of a 'for...of' statement cannot have an initializer."), An_import_declaration_cannot_have_modifiers: r3(1191, 1, "An_import_declaration_cannot_have_modifiers_1191", "An import declaration cannot have modifiers."), Module_0_has_no_default_export: r3(1192, 1, "Module_0_has_no_default_export_1192", "Module '{0}' has no default export."), An_export_declaration_cannot_have_modifiers: r3(1193, 1, "An_export_declaration_cannot_have_modifiers_1193", "An export declaration cannot have modifiers."), Export_declarations_are_not_permitted_in_a_namespace: r3(1194, 1, "Export_declarations_are_not_permitted_in_a_namespace_1194", "Export declarations are not permitted in a namespace."), export_Asterisk_does_not_re_export_a_default: r3(1195, 1, "export_Asterisk_does_not_re_export_a_default_1195", "'export *' does not re-export a default."), Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified: r3(1196, 1, "Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified_1196", "Catch clause variable type annotation must be 'any' or 'unknown' if specified."), Catch_clause_variable_cannot_have_an_initializer: r3(1197, 1, "Catch_clause_variable_cannot_have_an_initializer_1197", "Catch clause variable cannot have an initializer."), An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive: r3(1198, 1, "An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive_1198", "An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive."), Unterminated_Unicode_escape_sequence: r3(1199, 1, "Unterminated_Unicode_escape_sequence_1199", "Unterminated Unicode escape sequence."), Line_terminator_not_permitted_before_arrow: r3(1200, 1, "Line_terminator_not_permitted_before_arrow_1200", "Line terminator not permitted before arrow."), Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead: r3(1202, 1, "Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_1202", `Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from "mod"', 'import {a} from "mod"', 'import d from "mod"', or another module format instead.`), Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead: r3(1203, 1, "Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or__1203", "Export assignment cannot be used when targeting ECMAScript modules. Consider using 'export default' or another module format instead."), Re_exporting_a_type_when_0_is_enabled_requires_using_export_type: r3(1205, 1, "Re_exporting_a_type_when_0_is_enabled_requires_using_export_type_1205", "Re-exporting a type when '{0}' is enabled requires using 'export type'."), Decorators_are_not_valid_here: r3(1206, 1, "Decorators_are_not_valid_here_1206", "Decorators are not valid here."), Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name: r3(1207, 1, "Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name_1207", "Decorators cannot be applied to multiple get/set accessors of the same name."), Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0: r3(1209, 1, "Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0_1209", "Invalid optional chain from new expression. Did you mean to call '{0}()'?"), Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode: r3(1210, 1, "Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of__1210", "Code contained in a class is evaluated in JavaScript's strict mode which does not allow this use of '{0}'. For more information, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode."), A_class_declaration_without_the_default_modifier_must_have_a_name: r3(1211, 1, "A_class_declaration_without_the_default_modifier_must_have_a_name_1211", "A class declaration without the 'default' modifier must have a name."), Identifier_expected_0_is_a_reserved_word_in_strict_mode: r3(1212, 1, "Identifier_expected_0_is_a_reserved_word_in_strict_mode_1212", "Identifier expected. '{0}' is a reserved word in strict mode."), Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode: r3(1213, 1, "Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_stric_1213", "Identifier expected. '{0}' is a reserved word in strict mode. Class definitions are automatically in strict mode."), Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode: r3(1214, 1, "Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode_1214", "Identifier expected. '{0}' is a reserved word in strict mode. Modules are automatically in strict mode."), Invalid_use_of_0_Modules_are_automatically_in_strict_mode: r3(1215, 1, "Invalid_use_of_0_Modules_are_automatically_in_strict_mode_1215", "Invalid use of '{0}'. Modules are automatically in strict mode."), Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules: r3(1216, 1, "Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules_1216", "Identifier expected. '__esModule' is reserved as an exported marker when transforming ECMAScript modules."), Export_assignment_is_not_supported_when_module_flag_is_system: r3(1218, 1, "Export_assignment_is_not_supported_when_module_flag_is_system_1218", "Export assignment is not supported when '--module' flag is 'system'."), Generators_are_not_allowed_in_an_ambient_context: r3(1221, 1, "Generators_are_not_allowed_in_an_ambient_context_1221", "Generators are not allowed in an ambient context."), An_overload_signature_cannot_be_declared_as_a_generator: r3(1222, 1, "An_overload_signature_cannot_be_declared_as_a_generator_1222", "An overload signature cannot be declared as a generator."), _0_tag_already_specified: r3(1223, 1, "_0_tag_already_specified_1223", "'{0}' tag already specified."), Signature_0_must_be_a_type_predicate: r3(1224, 1, "Signature_0_must_be_a_type_predicate_1224", "Signature '{0}' must be a type predicate."), Cannot_find_parameter_0: r3(1225, 1, "Cannot_find_parameter_0_1225", "Cannot find parameter '{0}'."), Type_predicate_0_is_not_assignable_to_1: r3(1226, 1, "Type_predicate_0_is_not_assignable_to_1_1226", "Type predicate '{0}' is not assignable to '{1}'."), Parameter_0_is_not_in_the_same_position_as_parameter_1: r3(1227, 1, "Parameter_0_is_not_in_the_same_position_as_parameter_1_1227", "Parameter '{0}' is not in the same position as parameter '{1}'."), A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods: r3(1228, 1, "A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods_1228", "A type predicate is only allowed in return type position for functions and methods."), A_type_predicate_cannot_reference_a_rest_parameter: r3(1229, 1, "A_type_predicate_cannot_reference_a_rest_parameter_1229", "A type predicate cannot reference a rest parameter."), A_type_predicate_cannot_reference_element_0_in_a_binding_pattern: r3(1230, 1, "A_type_predicate_cannot_reference_element_0_in_a_binding_pattern_1230", "A type predicate cannot reference element '{0}' in a binding pattern."), An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration: r3(1231, 1, "An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration_1231", "An export assignment must be at the top level of a file or module declaration."), An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module: r3(1232, 1, "An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module_1232", "An import declaration can only be used at the top level of a namespace or module."), An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module: r3(1233, 1, "An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module_1233", "An export declaration can only be used at the top level of a namespace or module."), An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file: r3(1234, 1, "An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file_1234", "An ambient module declaration is only allowed at the top level in a file."), A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module: r3(1235, 1, "A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module_1235", "A namespace declaration is only allowed at the top level of a namespace or module."), The_return_type_of_a_property_decorator_function_must_be_either_void_or_any: r3(1236, 1, "The_return_type_of_a_property_decorator_function_must_be_either_void_or_any_1236", "The return type of a property decorator function must be either 'void' or 'any'."), The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any: r3(1237, 1, "The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any_1237", "The return type of a parameter decorator function must be either 'void' or 'any'."), Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression: r3(1238, 1, "Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression_1238", "Unable to resolve signature of class decorator when called as an expression."), Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression: r3(1239, 1, "Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression_1239", "Unable to resolve signature of parameter decorator when called as an expression."), Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression: r3(1240, 1, "Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression_1240", "Unable to resolve signature of property decorator when called as an expression."), Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression: r3(1241, 1, "Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression_1241", "Unable to resolve signature of method decorator when called as an expression."), abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration: r3(1242, 1, "abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration_1242", "'abstract' modifier can only appear on a class, method, or property declaration."), _0_modifier_cannot_be_used_with_1_modifier: r3(1243, 1, "_0_modifier_cannot_be_used_with_1_modifier_1243", "'{0}' modifier cannot be used with '{1}' modifier."), Abstract_methods_can_only_appear_within_an_abstract_class: r3(1244, 1, "Abstract_methods_can_only_appear_within_an_abstract_class_1244", "Abstract methods can only appear within an abstract class."), Method_0_cannot_have_an_implementation_because_it_is_marked_abstract: r3(1245, 1, "Method_0_cannot_have_an_implementation_because_it_is_marked_abstract_1245", "Method '{0}' cannot have an implementation because it is marked abstract."), An_interface_property_cannot_have_an_initializer: r3(1246, 1, "An_interface_property_cannot_have_an_initializer_1246", "An interface property cannot have an initializer."), A_type_literal_property_cannot_have_an_initializer: r3(1247, 1, "A_type_literal_property_cannot_have_an_initializer_1247", "A type literal property cannot have an initializer."), A_class_member_cannot_have_the_0_keyword: r3(1248, 1, "A_class_member_cannot_have_the_0_keyword_1248", "A class member cannot have the '{0}' keyword."), A_decorator_can_only_decorate_a_method_implementation_not_an_overload: r3(1249, 1, "A_decorator_can_only_decorate_a_method_implementation_not_an_overload_1249", "A decorator can only decorate a method implementation, not an overload."), Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5: r3(1250, 1, "Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_1250", "Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'."), Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Class_definitions_are_automatically_in_strict_mode: r3(1251, 1, "Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Class_definiti_1251", "Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. Class definitions are automatically in strict mode."), Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Modules_are_automatically_in_strict_mode: r3(1252, 1, "Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Modules_are_au_1252", "Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. Modules are automatically in strict mode."), Abstract_properties_can_only_appear_within_an_abstract_class: r3(1253, 1, "Abstract_properties_can_only_appear_within_an_abstract_class_1253", "Abstract properties can only appear within an abstract class."), A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference: r3(1254, 1, "A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_refere_1254", "A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference."), A_definite_assignment_assertion_is_not_permitted_in_this_context: r3(1255, 1, "A_definite_assignment_assertion_is_not_permitted_in_this_context_1255", "A definite assignment assertion '!' is not permitted in this context."), A_required_element_cannot_follow_an_optional_element: r3(1257, 1, "A_required_element_cannot_follow_an_optional_element_1257", "A required element cannot follow an optional element."), A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration: r3(1258, 1, "A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration_1258", "A default export must be at the top level of a file or module declaration."), Module_0_can_only_be_default_imported_using_the_1_flag: r3(1259, 1, "Module_0_can_only_be_default_imported_using_the_1_flag_1259", "Module '{0}' can only be default-imported using the '{1}' flag"), Keywords_cannot_contain_escape_characters: r3(1260, 1, "Keywords_cannot_contain_escape_characters_1260", "Keywords cannot contain escape characters."), Already_included_file_name_0_differs_from_file_name_1_only_in_casing: r3(1261, 1, "Already_included_file_name_0_differs_from_file_name_1_only_in_casing_1261", "Already included file name '{0}' differs from file name '{1}' only in casing."), Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module: r3(1262, 1, "Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module_1262", "Identifier expected. '{0}' is a reserved word at the top-level of a module."), Declarations_with_initializers_cannot_also_have_definite_assignment_assertions: r3(1263, 1, "Declarations_with_initializers_cannot_also_have_definite_assignment_assertions_1263", "Declarations with initializers cannot also have definite assignment assertions."), Declarations_with_definite_assignment_assertions_must_also_have_type_annotations: r3(1264, 1, "Declarations_with_definite_assignment_assertions_must_also_have_type_annotations_1264", "Declarations with definite assignment assertions must also have type annotations."), A_rest_element_cannot_follow_another_rest_element: r3(1265, 1, "A_rest_element_cannot_follow_another_rest_element_1265", "A rest element cannot follow another rest element."), An_optional_element_cannot_follow_a_rest_element: r3(1266, 1, "An_optional_element_cannot_follow_a_rest_element_1266", "An optional element cannot follow a rest element."), Property_0_cannot_have_an_initializer_because_it_is_marked_abstract: r3(1267, 1, "Property_0_cannot_have_an_initializer_because_it_is_marked_abstract_1267", "Property '{0}' cannot have an initializer because it is marked abstract."), An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type: r3(1268, 1, "An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type_1268", "An index signature parameter type must be 'string', 'number', 'symbol', or a template literal type."), Cannot_use_export_import_on_a_type_or_type_only_namespace_when_0_is_enabled: r3(1269, 1, "Cannot_use_export_import_on_a_type_or_type_only_namespace_when_0_is_enabled_1269", "Cannot use 'export import' on a type or type-only namespace when '{0}' is enabled."), Decorator_function_return_type_0_is_not_assignable_to_type_1: r3(1270, 1, "Decorator_function_return_type_0_is_not_assignable_to_type_1_1270", "Decorator function return type '{0}' is not assignable to type '{1}'."), Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any: r3(1271, 1, "Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any_1271", "Decorator function return type is '{0}' but is expected to be 'void' or 'any'."), A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_when_isolatedModules_and_emitDecoratorMetadata_are_enabled: r3(1272, 1, "A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_w_1272", "A type referenced in a decorated signature must be imported with 'import type' or a namespace import when 'isolatedModules' and 'emitDecoratorMetadata' are enabled."), _0_modifier_cannot_appear_on_a_type_parameter: r3(1273, 1, "_0_modifier_cannot_appear_on_a_type_parameter_1273", "'{0}' modifier cannot appear on a type parameter"), _0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias: r3(1274, 1, "_0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias_1274", "'{0}' modifier can only appear on a type parameter of a class, interface or type alias"), accessor_modifier_can_only_appear_on_a_property_declaration: r3(1275, 1, "accessor_modifier_can_only_appear_on_a_property_declaration_1275", "'accessor' modifier can only appear on a property declaration."), An_accessor_property_cannot_be_declared_optional: r3(1276, 1, "An_accessor_property_cannot_be_declared_optional_1276", "An 'accessor' property cannot be declared optional."), _0_modifier_can_only_appear_on_a_type_parameter_of_a_function_method_or_class: r3(1277, 1, "_0_modifier_can_only_appear_on_a_type_parameter_of_a_function_method_or_class_1277", "'{0}' modifier can only appear on a type parameter of a function, method or class"), The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_0: r3(1278, 1, "The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_0_1278", "The runtime will invoke the decorator with {1} arguments, but the decorator expects {0}."), The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_at_least_0: r3(1279, 1, "The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_at_least_0_1279", "The runtime will invoke the decorator with {1} arguments, but the decorator expects at least {0}."), Namespaces_are_not_allowed_in_global_script_files_when_0_is_enabled_If_this_file_is_not_intended_to_be_a_global_script_set_moduleDetection_to_force_or_add_an_empty_export_statement: r3(1280, 1, "Namespaces_are_not_allowed_in_global_script_files_when_0_is_enabled_If_this_file_is_not_intended_to__1280", "Namespaces are not allowed in global script files when '{0}' is enabled. If this file is not intended to be a global script, set 'moduleDetection' to 'force' or add an empty 'export {}' statement."), Cannot_access_0_from_another_file_without_qualification_when_1_is_enabled_Use_2_instead: r3(1281, 1, "Cannot_access_0_from_another_file_without_qualification_when_1_is_enabled_Use_2_instead_1281", "Cannot access '{0}' from another file without qualification when '{1}' is enabled. Use '{2}' instead."), An_export_declaration_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type: r3(1282, 1, "An_export_declaration_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers__1282", "An 'export =' declaration must reference a value when 'verbatimModuleSyntax' is enabled, but '{0}' only refers to a type."), An_export_declaration_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration: r3(1283, 1, "An_export_declaration_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolve_1283", "An 'export =' declaration must reference a real value when 'verbatimModuleSyntax' is enabled, but '{0}' resolves to a type-only declaration."), An_export_default_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type: r3(1284, 1, "An_export_default_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_1284", "An 'export default' must reference a value when 'verbatimModuleSyntax' is enabled, but '{0}' only refers to a type."), An_export_default_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration: r3(1285, 1, "An_export_default_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_1285", "An 'export default' must reference a real value when 'verbatimModuleSyntax' is enabled, but '{0}' resolves to a type-only declaration."), ECMAScript_imports_and_exports_cannot_be_written_in_a_CommonJS_file_under_verbatimModuleSyntax: r3(1286, 1, "ECMAScript_imports_and_exports_cannot_be_written_in_a_CommonJS_file_under_verbatimModuleSyntax_1286", "ECMAScript imports and exports cannot be written in a CommonJS file under 'verbatimModuleSyntax'."), A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled: r3(1287, 1, "A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimM_1287", "A top-level 'export' modifier cannot be used on value declarations in a CommonJS module when 'verbatimModuleSyntax' is enabled."), An_import_alias_cannot_resolve_to_a_type_or_type_only_declaration_when_verbatimModuleSyntax_is_enabled: r3(1288, 1, "An_import_alias_cannot_resolve_to_a_type_or_type_only_declaration_when_verbatimModuleSyntax_is_enabl_1288", "An import alias cannot resolve to a type or type-only declaration when 'verbatimModuleSyntax' is enabled."), _0_resolves_to_a_type_only_declaration_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_import_type_where_0_is_imported: r3(1289, 1, "_0_resolves_to_a_type_only_declaration_and_must_be_marked_type_only_in_this_file_before_re_exporting_1289", "'{0}' resolves to a type-only declaration and must be marked type-only in this file before re-exporting when '{1}' is enabled. Consider using 'import type' where '{0}' is imported."), _0_resolves_to_a_type_only_declaration_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_export_type_0_as_default: r3(1290, 1, "_0_resolves_to_a_type_only_declaration_and_must_be_marked_type_only_in_this_file_before_re_exporting_1290", "'{0}' resolves to a type-only declaration and must be marked type-only in this file before re-exporting when '{1}' is enabled. Consider using 'export type { {0} as default }'."), _0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_import_type_where_0_is_imported: r3(1291, 1, "_0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enable_1291", "'{0}' resolves to a type and must be marked type-only in this file before re-exporting when '{1}' is enabled. Consider using 'import type' where '{0}' is imported."), _0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_export_type_0_as_default: r3(1292, 1, "_0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enable_1292", "'{0}' resolves to a type and must be marked type-only in this file before re-exporting when '{1}' is enabled. Consider using 'export type { {0} as default }'."), ECMAScript_module_syntax_is_not_allowed_in_a_CommonJS_module_when_module_is_set_to_preserve: r3(1293, 1, "ECMAScript_module_syntax_is_not_allowed_in_a_CommonJS_module_when_module_is_set_to_preserve_1293", "ECMAScript module syntax is not allowed in a CommonJS module when 'module' is set to 'preserve'."), This_syntax_is_not_allowed_when_erasableSyntaxOnly_is_enabled: r3(1294, 1, "This_syntax_is_not_allowed_when_erasableSyntaxOnly_is_enabled_1294", "This syntax is not allowed when 'erasableSyntaxOnly' is enabled."), ECMAScript_imports_and_exports_cannot_be_written_in_a_CommonJS_file_under_verbatimModuleSyntax_Adjust_the_type_field_in_the_nearest_package_json_to_make_this_file_an_ECMAScript_module_or_adjust_your_verbatimModuleSyntax_module_and_moduleResolution_settings_in_TypeScript: r3(1295, 1, "ECMAScript_imports_and_exports_cannot_be_written_in_a_CommonJS_file_under_verbatimModuleSyntax_Adjus_1295", "ECMAScript imports and exports cannot be written in a CommonJS file under 'verbatimModuleSyntax'. Adjust the 'type' field in the nearest 'package.json' to make this file an ECMAScript module, or adjust your 'verbatimModuleSyntax', 'module', and 'moduleResolution' settings in TypeScript."), with_statements_are_not_allowed_in_an_async_function_block: r3(1300, 1, "with_statements_are_not_allowed_in_an_async_function_block_1300", "'with' statements are not allowed in an async function block."), await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules: r3(1308, 1, "await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1308", "'await' expressions are only allowed within async functions and at the top levels of modules."), The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level: r3(1309, 1, "The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level_1309", "The current file is a CommonJS module and cannot use 'await' at the top level."), Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern: r3(1312, 1, "Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_1312", "Did you mean to use a ':'? An '=' can only follow a property name when the containing object literal is part of a destructuring pattern."), The_body_of_an_if_statement_cannot_be_the_empty_statement: r3(1313, 1, "The_body_of_an_if_statement_cannot_be_the_empty_statement_1313", "The body of an 'if' statement cannot be the empty statement."), Global_module_exports_may_only_appear_in_module_files: r3(1314, 1, "Global_module_exports_may_only_appear_in_module_files_1314", "Global module exports may only appear in module files."), Global_module_exports_may_only_appear_in_declaration_files: r3(1315, 1, "Global_module_exports_may_only_appear_in_declaration_files_1315", "Global module exports may only appear in declaration files."), Global_module_exports_may_only_appear_at_top_level: r3(1316, 1, "Global_module_exports_may_only_appear_at_top_level_1316", "Global module exports may only appear at top level."), A_parameter_property_cannot_be_declared_using_a_rest_parameter: r3(1317, 1, "A_parameter_property_cannot_be_declared_using_a_rest_parameter_1317", "A parameter property cannot be declared using a rest parameter."), An_abstract_accessor_cannot_have_an_implementation: r3(1318, 1, "An_abstract_accessor_cannot_have_an_implementation_1318", "An abstract accessor cannot have an implementation."), A_default_export_can_only_be_used_in_an_ECMAScript_style_module: r3(1319, 1, "A_default_export_can_only_be_used_in_an_ECMAScript_style_module_1319", "A default export can only be used in an ECMAScript-style module."), Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member: r3(1320, 1, "Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member_1320", "Type of 'await' operand must either be a valid promise or must not contain a callable 'then' member."), Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member: r3(1321, 1, "Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_cal_1321", "Type of 'yield' operand in an async generator must either be a valid promise or must not contain a callable 'then' member."), Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member: r3(1322, 1, "Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322", "Type of iterated elements of a 'yield*' operand must either be a valid promise or must not contain a callable 'then' member."), Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd_system_umd_node16_node18_node20_or_nodenext: r3(1323, 1, "Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd__1323", "Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', 'node18', 'node20', or 'nodenext'."), Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_node18_node20_nodenext_or_preserve: r3(1324, 1, "Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_node18_1324", "Dynamic imports only support a second argument when the '--module' option is set to 'esnext', 'node16', 'node18', 'node20', 'nodenext', or 'preserve'."), Argument_of_dynamic_import_cannot_be_spread_element: r3(1325, 1, "Argument_of_dynamic_import_cannot_be_spread_element_1325", "Argument of dynamic import cannot be spread element."), This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments: r3(1326, 1, "This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot__1326", "This use of 'import' is invalid. 'import()' calls can be written, but they must have parentheses and cannot have type arguments."), String_literal_with_double_quotes_expected: r3(1327, 1, "String_literal_with_double_quotes_expected_1327", "String literal with double quotes expected."), Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal: r3(1328, 1, "Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_li_1328", "Property value can only be string literal, numeric literal, 'true', 'false', 'null', object literal or array literal."), _0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0: r3(1329, 1, "_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write__1329", "'{0}' accepts too few arguments to be used as a decorator here. Did you mean to call it first and write '@{0}()'?"), A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly: r3(1330, 1, "A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly_1330", "A property of an interface or type literal whose type is a 'unique symbol' type must be 'readonly'."), A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly: r3(1331, 1, "A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly_1331", "A property of a class whose type is a 'unique symbol' type must be both 'static' and 'readonly'."), A_variable_whose_type_is_a_unique_symbol_type_must_be_const: r3(1332, 1, "A_variable_whose_type_is_a_unique_symbol_type_must_be_const_1332", "A variable whose type is a 'unique symbol' type must be 'const'."), unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name: r3(1333, 1, "unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name_1333", "'unique symbol' types may not be used on a variable declaration with a binding name."), unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement: r3(1334, 1, "unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement_1334", "'unique symbol' types are only allowed on variables in a variable statement."), unique_symbol_types_are_not_allowed_here: r3(1335, 1, "unique_symbol_types_are_not_allowed_here_1335", "'unique symbol' types are not allowed here."), An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead: r3(1337, 1, "An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_o_1337", "An index signature parameter type cannot be a literal type or generic type. Consider using a mapped object type instead."), infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type: r3(1338, 1, "infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type_1338", "'infer' declarations are only permitted in the 'extends' clause of a conditional type."), Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here: r3(1339, 1, "Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here_1339", "Module '{0}' does not refer to a value, but is used as a value here."), Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0: r3(1340, 1, "Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0_1340", "Module '{0}' does not refer to a type, but is used as a type here. Did you mean 'typeof import('{0}')'?"), Class_constructor_may_not_be_an_accessor: r3(1341, 1, "Class_constructor_may_not_be_an_accessor_1341", "Class constructor may not be an accessor."), The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system_node16_node18_node20_or_nodenext: r3(1343, 1, "The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system__1343", "The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', 'node18', 'node20', or 'nodenext'."), A_label_is_not_allowed_here: r3(1344, 1, "A_label_is_not_allowed_here_1344", "'A label is not allowed here."), An_expression_of_type_void_cannot_be_tested_for_truthiness: r3(1345, 1, "An_expression_of_type_void_cannot_be_tested_for_truthiness_1345", "An expression of type 'void' cannot be tested for truthiness."), This_parameter_is_not_allowed_with_use_strict_directive: r3(1346, 1, "This_parameter_is_not_allowed_with_use_strict_directive_1346", "This parameter is not allowed with 'use strict' directive."), use_strict_directive_cannot_be_used_with_non_simple_parameter_list: r3(1347, 1, "use_strict_directive_cannot_be_used_with_non_simple_parameter_list_1347", "'use strict' directive cannot be used with non-simple parameter list."), Non_simple_parameter_declared_here: r3(1348, 1, "Non_simple_parameter_declared_here_1348", "Non-simple parameter declared here."), use_strict_directive_used_here: r3(1349, 1, "use_strict_directive_used_here_1349", "'use strict' directive used here."), Print_the_final_configuration_instead_of_building: r3(1350, 3, "Print_the_final_configuration_instead_of_building_1350", "Print the final configuration instead of building."), An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal: r3(1351, 1, "An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal_1351", "An identifier or keyword cannot immediately follow a numeric literal."), A_bigint_literal_cannot_use_exponential_notation: r3(1352, 1, "A_bigint_literal_cannot_use_exponential_notation_1352", "A bigint literal cannot use exponential notation."), A_bigint_literal_must_be_an_integer: r3(1353, 1, "A_bigint_literal_must_be_an_integer_1353", "A bigint literal must be an integer."), readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types: r3(1354, 1, "readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types_1354", "'readonly' type modifier is only permitted on array and tuple literal types."), A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_or_object_literals: r3(1355, 1, "A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array__1355", "A 'const' assertions can only be applied to references to enum members, or string, number, boolean, array, or object literals."), Did_you_mean_to_mark_this_function_as_async: r3(1356, 1, "Did_you_mean_to_mark_this_function_as_async_1356", "Did you mean to mark this function as 'async'?"), An_enum_member_name_must_be_followed_by_a_or: r3(1357, 1, "An_enum_member_name_must_be_followed_by_a_or_1357", "An enum member name must be followed by a ',', '=', or '}'."), Tagged_template_expressions_are_not_permitted_in_an_optional_chain: r3(1358, 1, "Tagged_template_expressions_are_not_permitted_in_an_optional_chain_1358", "Tagged template expressions are not permitted in an optional chain."), Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here: r3(1359, 1, "Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here_1359", "Identifier expected. '{0}' is a reserved word that cannot be used here."), Type_0_does_not_satisfy_the_expected_type_1: r3(1360, 1, "Type_0_does_not_satisfy_the_expected_type_1_1360", "Type '{0}' does not satisfy the expected type '{1}'."), _0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type: r3(1361, 1, "_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type_1361", "'{0}' cannot be used as a value because it was imported using 'import type'."), _0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type: r3(1362, 1, "_0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type_1362", "'{0}' cannot be used as a value because it was exported using 'export type'."), A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both: r3(1363, 1, "A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both_1363", "A type-only import can specify a default import or named bindings, but not both."), Convert_to_type_only_export: r3(1364, 3, "Convert_to_type_only_export_1364", "Convert to type-only export"), Convert_all_re_exported_types_to_type_only_exports: r3(1365, 3, "Convert_all_re_exported_types_to_type_only_exports_1365", "Convert all re-exported types to type-only exports"), Split_into_two_separate_import_declarations: r3(1366, 3, "Split_into_two_separate_import_declarations_1366", "Split into two separate import declarations"), Split_all_invalid_type_only_imports: r3(1367, 3, "Split_all_invalid_type_only_imports_1367", "Split all invalid type-only imports"), Class_constructor_may_not_be_a_generator: r3(1368, 1, "Class_constructor_may_not_be_a_generator_1368", "Class constructor may not be a generator."), Did_you_mean_0: r3(1369, 3, "Did_you_mean_0_1369", "Did you mean '{0}'?"), await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module: r3(1375, 1, "await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_fi_1375", "'await' expressions are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."), _0_was_imported_here: r3(1376, 3, "_0_was_imported_here_1376", "'{0}' was imported here."), _0_was_exported_here: r3(1377, 3, "_0_was_exported_here_1377", "'{0}' was exported here."), Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_node18_node20_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher: r3(1378, 1, "Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_n_1378", "Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'node18', 'node20', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher."), An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type: r3(1379, 1, "An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type_1379", "An import alias cannot reference a declaration that was exported using 'export type'."), An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type: r3(1380, 1, "An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type_1380", "An import alias cannot reference a declaration that was imported using 'import type'."), Unexpected_token_Did_you_mean_or_rbrace: r3(1381, 1, "Unexpected_token_Did_you_mean_or_rbrace_1381", "Unexpected token. Did you mean `{'}'}` or `}`?"), Unexpected_token_Did_you_mean_or_gt: r3(1382, 1, "Unexpected_token_Did_you_mean_or_gt_1382", "Unexpected token. Did you mean `{'>'}` or `>`?"), Function_type_notation_must_be_parenthesized_when_used_in_a_union_type: r3(1385, 1, "Function_type_notation_must_be_parenthesized_when_used_in_a_union_type_1385", "Function type notation must be parenthesized when used in a union type."), Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type: r3(1386, 1, "Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type_1386", "Constructor type notation must be parenthesized when used in a union type."), Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type: r3(1387, 1, "Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type_1387", "Function type notation must be parenthesized when used in an intersection type."), Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type: r3(1388, 1, "Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type_1388", "Constructor type notation must be parenthesized when used in an intersection type."), _0_is_not_allowed_as_a_variable_declaration_name: r3(1389, 1, "_0_is_not_allowed_as_a_variable_declaration_name_1389", "'{0}' is not allowed as a variable declaration name."), _0_is_not_allowed_as_a_parameter_name: r3(1390, 1, "_0_is_not_allowed_as_a_parameter_name_1390", "'{0}' is not allowed as a parameter name."), An_import_alias_cannot_use_import_type: r3(1392, 1, "An_import_alias_cannot_use_import_type_1392", "An import alias cannot use 'import type'"), Imported_via_0_from_file_1: r3(1393, 3, "Imported_via_0_from_file_1_1393", "Imported via {0} from file '{1}'"), Imported_via_0_from_file_1_with_packageId_2: r3(1394, 3, "Imported_via_0_from_file_1_with_packageId_2_1394", "Imported via {0} from file '{1}' with packageId '{2}'"), Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions: r3(1395, 3, "Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions_1395", "Imported via {0} from file '{1}' to import 'importHelpers' as specified in compilerOptions"), Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions: r3(1396, 3, "Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions_1396", "Imported via {0} from file '{1}' with packageId '{2}' to import 'importHelpers' as specified in compilerOptions"), Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions: r3(1397, 3, "Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions_1397", "Imported via {0} from file '{1}' to import 'jsx' and 'jsxs' factory functions"), Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions: r3(1398, 3, "Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions_1398", "Imported via {0} from file '{1}' with packageId '{2}' to import 'jsx' and 'jsxs' factory functions"), File_is_included_via_import_here: r3(1399, 3, "File_is_included_via_import_here_1399", "File is included via import here."), Referenced_via_0_from_file_1: r3(1400, 3, "Referenced_via_0_from_file_1_1400", "Referenced via '{0}' from file '{1}'"), File_is_included_via_reference_here: r3(1401, 3, "File_is_included_via_reference_here_1401", "File is included via reference here."), Type_library_referenced_via_0_from_file_1: r3(1402, 3, "Type_library_referenced_via_0_from_file_1_1402", "Type library referenced via '{0}' from file '{1}'"), Type_library_referenced_via_0_from_file_1_with_packageId_2: r3(1403, 3, "Type_library_referenced_via_0_from_file_1_with_packageId_2_1403", "Type library referenced via '{0}' from file '{1}' with packageId '{2}'"), File_is_included_via_type_library_reference_here: r3(1404, 3, "File_is_included_via_type_library_reference_here_1404", "File is included via type library reference here."), Library_referenced_via_0_from_file_1: r3(1405, 3, "Library_referenced_via_0_from_file_1_1405", "Library referenced via '{0}' from file '{1}'"), File_is_included_via_library_reference_here: r3(1406, 3, "File_is_included_via_library_reference_here_1406", "File is included via library reference here."), Matched_by_include_pattern_0_in_1: r3(1407, 3, "Matched_by_include_pattern_0_in_1_1407", "Matched by include pattern '{0}' in '{1}'"), File_is_matched_by_include_pattern_specified_here: r3(1408, 3, "File_is_matched_by_include_pattern_specified_here_1408", "File is matched by include pattern specified here."), Part_of_files_list_in_tsconfig_json: r3(1409, 3, "Part_of_files_list_in_tsconfig_json_1409", "Part of 'files' list in tsconfig.json"), File_is_matched_by_files_list_specified_here: r3(1410, 3, "File_is_matched_by_files_list_specified_here_1410", "File is matched by 'files' list specified here."), Output_from_referenced_project_0_included_because_1_specified: r3(1411, 3, "Output_from_referenced_project_0_included_because_1_specified_1411", "Output from referenced project '{0}' included because '{1}' specified"), Output_from_referenced_project_0_included_because_module_is_specified_as_none: r3(1412, 3, "Output_from_referenced_project_0_included_because_module_is_specified_as_none_1412", "Output from referenced project '{0}' included because '--module' is specified as 'none'"), File_is_output_from_referenced_project_specified_here: r3(1413, 3, "File_is_output_from_referenced_project_specified_here_1413", "File is output from referenced project specified here."), Source_from_referenced_project_0_included_because_1_specified: r3(1414, 3, "Source_from_referenced_project_0_included_because_1_specified_1414", "Source from referenced project '{0}' included because '{1}' specified"), Source_from_referenced_project_0_included_because_module_is_specified_as_none: r3(1415, 3, "Source_from_referenced_project_0_included_because_module_is_specified_as_none_1415", "Source from referenced project '{0}' included because '--module' is specified as 'none'"), File_is_source_from_referenced_project_specified_here: r3(1416, 3, "File_is_source_from_referenced_project_specified_here_1416", "File is source from referenced project specified here."), Entry_point_of_type_library_0_specified_in_compilerOptions: r3(1417, 3, "Entry_point_of_type_library_0_specified_in_compilerOptions_1417", "Entry point of type library '{0}' specified in compilerOptions"), Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1: r3(1418, 3, "Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1_1418", "Entry point of type library '{0}' specified in compilerOptions with packageId '{1}'"), File_is_entry_point_of_type_library_specified_here: r3(1419, 3, "File_is_entry_point_of_type_library_specified_here_1419", "File is entry point of type library specified here."), Entry_point_for_implicit_type_library_0: r3(1420, 3, "Entry_point_for_implicit_type_library_0_1420", "Entry point for implicit type library '{0}'"), Entry_point_for_implicit_type_library_0_with_packageId_1: r3(1421, 3, "Entry_point_for_implicit_type_library_0_with_packageId_1_1421", "Entry point for implicit type library '{0}' with packageId '{1}'"), Library_0_specified_in_compilerOptions: r3(1422, 3, "Library_0_specified_in_compilerOptions_1422", "Library '{0}' specified in compilerOptions"), File_is_library_specified_here: r3(1423, 3, "File_is_library_specified_here_1423", "File is library specified here."), Default_library: r3(1424, 3, "Default_library_1424", "Default library"), Default_library_for_target_0: r3(1425, 3, "Default_library_for_target_0_1425", "Default library for target '{0}'"), File_is_default_library_for_target_specified_here: r3(1426, 3, "File_is_default_library_for_target_specified_here_1426", "File is default library for target specified here."), Root_file_specified_for_compilation: r3(1427, 3, "Root_file_specified_for_compilation_1427", "Root file specified for compilation"), File_is_output_of_project_reference_source_0: r3(1428, 3, "File_is_output_of_project_reference_source_0_1428", "File is output of project reference source '{0}'"), File_redirects_to_file_0: r3(1429, 3, "File_redirects_to_file_0_1429", "File redirects to file '{0}'"), The_file_is_in_the_program_because_Colon: r3(1430, 3, "The_file_is_in_the_program_because_Colon_1430", "The file is in the program because:"), for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module: r3(1431, 1, "for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_1431", "'for await' loops are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."), Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_node18_node20_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher: r3(1432, 1, "Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_nod_1432", "Top-level 'for await' loops are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'node18', 'node20', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher."), Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters: r3(1433, 1, "Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters_1433", "Neither decorators nor modifiers may be applied to 'this' parameters."), Unexpected_keyword_or_identifier: r3(1434, 1, "Unexpected_keyword_or_identifier_1434", "Unexpected keyword or identifier."), Unknown_keyword_or_identifier_Did_you_mean_0: r3(1435, 1, "Unknown_keyword_or_identifier_Did_you_mean_0_1435", "Unknown keyword or identifier. Did you mean '{0}'?"), Decorators_must_precede_the_name_and_all_keywords_of_property_declarations: r3(1436, 1, "Decorators_must_precede_the_name_and_all_keywords_of_property_declarations_1436", "Decorators must precede the name and all keywords of property declarations."), Namespace_must_be_given_a_name: r3(1437, 1, "Namespace_must_be_given_a_name_1437", "Namespace must be given a name."), Interface_must_be_given_a_name: r3(1438, 1, "Interface_must_be_given_a_name_1438", "Interface must be given a name."), Type_alias_must_be_given_a_name: r3(1439, 1, "Type_alias_must_be_given_a_name_1439", "Type alias must be given a name."), Variable_declaration_not_allowed_at_this_location: r3(1440, 1, "Variable_declaration_not_allowed_at_this_location_1440", "Variable declaration not allowed at this location."), Cannot_start_a_function_call_in_a_type_annotation: r3(1441, 1, "Cannot_start_a_function_call_in_a_type_annotation_1441", "Cannot start a function call in a type annotation."), Expected_for_property_initializer: r3(1442, 1, "Expected_for_property_initializer_1442", "Expected '=' for property initializer."), Module_declaration_names_may_only_use_or_quoted_strings: r3(1443, 1, "Module_declaration_names_may_only_use_or_quoted_strings_1443", `Module declaration names may only use ' or " quoted strings.`), _0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_enabled: r3(1448, 1, "_0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_1448", "'{0}' resolves to a type-only declaration and must be re-exported using a type-only re-export when '{1}' is enabled."), Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed: r3(1449, 3, "Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed_1449", "Preserve unused imported values in the JavaScript output that would otherwise be removed."), Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_set_of_attributes_as_arguments: r3(1450, 3, "Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_set_of_attributes_as_arguments_1450", "Dynamic imports can only accept a module specifier and an optional set of attributes as arguments"), Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression: r3(1451, 1, "Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member__1451", "Private identifiers are only allowed in class bodies and may only be used as part of a class member declaration, property access, or on the left-hand-side of an 'in' expression"), resolution_mode_should_be_either_require_or_import: r3(1453, 1, "resolution_mode_should_be_either_require_or_import_1453", "`resolution-mode` should be either `require` or `import`."), resolution_mode_can_only_be_set_for_type_only_imports: r3(1454, 1, "resolution_mode_can_only_be_set_for_type_only_imports_1454", "`resolution-mode` can only be set for type-only imports."), resolution_mode_is_the_only_valid_key_for_type_import_assertions: r3(1455, 1, "resolution_mode_is_the_only_valid_key_for_type_import_assertions_1455", "`resolution-mode` is the only valid key for type import assertions."), Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require: r3(1456, 1, "Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1456", "Type import assertions should have exactly one key - `resolution-mode` - with value `import` or `require`."), Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk: r3(1457, 3, "Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk_1457", "Matched by default include pattern '**/*'"), File_is_ECMAScript_module_because_0_has_field_type_with_value_module: r3(1458, 3, "File_is_ECMAScript_module_because_0_has_field_type_with_value_module_1458", `File is ECMAScript module because '{0}' has field "type" with value "module"`), File_is_CommonJS_module_because_0_has_field_type_whose_value_is_not_module: r3(1459, 3, "File_is_CommonJS_module_because_0_has_field_type_whose_value_is_not_module_1459", `File is CommonJS module because '{0}' has field "type" whose value is not "module"`), File_is_CommonJS_module_because_0_does_not_have_field_type: r3(1460, 3, "File_is_CommonJS_module_because_0_does_not_have_field_type_1460", `File is CommonJS module because '{0}' does not have field "type"`), File_is_CommonJS_module_because_package_json_was_not_found: r3(1461, 3, "File_is_CommonJS_module_because_package_json_was_not_found_1461", "File is CommonJS module because 'package.json' was not found"), resolution_mode_is_the_only_valid_key_for_type_import_attributes: r3(1463, 1, "resolution_mode_is_the_only_valid_key_for_type_import_attributes_1463", "'resolution-mode' is the only valid key for type import attributes."), Type_import_attributes_should_have_exactly_one_key_resolution_mode_with_value_import_or_require: r3(1464, 1, "Type_import_attributes_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1464", "Type import attributes should have exactly one key - 'resolution-mode' - with value 'import' or 'require'."), The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output: r3(1470, 1, "The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output_1470", "The 'import.meta' meta-property is not allowed in files which will build into CommonJS output."), Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_cannot_be_imported_with_require_Use_an_ECMAScript_import_instead: r3(1471, 1, "Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_c_1471", "Module '{0}' cannot be imported using this construct. The specifier only resolves to an ES module, which cannot be imported with 'require'. Use an ECMAScript import instead."), catch_or_finally_expected: r3(1472, 1, "catch_or_finally_expected_1472", "'catch' or 'finally' expected."), An_import_declaration_can_only_be_used_at_the_top_level_of_a_module: r3(1473, 1, "An_import_declaration_can_only_be_used_at_the_top_level_of_a_module_1473", "An import declaration can only be used at the top level of a module."), An_export_declaration_can_only_be_used_at_the_top_level_of_a_module: r3(1474, 1, "An_export_declaration_can_only_be_used_at_the_top_level_of_a_module_1474", "An export declaration can only be used at the top level of a module."), Control_what_method_is_used_to_detect_module_format_JS_files: r3(1475, 3, "Control_what_method_is_used_to_detect_module_format_JS_files_1475", "Control what method is used to detect module-format JS files."), auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_with_module_Colon_node16_as_modules: r3(1476, 3, "auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_w_1476", '"auto": Treat files with imports, exports, import.meta, jsx (with jsx: react-jsx), or esm format (with module: node16+) as modules.'), An_instantiation_expression_cannot_be_followed_by_a_property_access: r3(1477, 1, "An_instantiation_expression_cannot_be_followed_by_a_property_access_1477", "An instantiation expression cannot be followed by a property access."), Identifier_or_string_literal_expected: r3(1478, 1, "Identifier_or_string_literal_expected_1478", "Identifier or string literal expected."), The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_referenced_file_is_an_ECMAScript_module_and_cannot_be_imported_with_require_Consider_writing_a_dynamic_import_0_call_instead: r3(1479, 1, "The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_reference_1479", `The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("{0}")' call instead.`), To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_package_json_file_with_type_Colon_module: r3(1480, 3, "To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_packag_1480", 'To convert this file to an ECMAScript module, change its file extension to \'{0}\' or create a local package.json file with `{ "type": "module" }`.'), To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Colon_module_to_1: r3(1481, 3, "To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Co_1481", `To convert this file to an ECMAScript module, change its file extension to '{0}', or add the field \`"type": "module"\` to '{1}'.`), To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0: r3(1482, 3, "To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0_1482", 'To convert this file to an ECMAScript module, add the field `"type": "module"` to \'{0}\'.'), To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module: r3(1483, 3, "To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module_1483", 'To convert this file to an ECMAScript module, create a local package.json file with `{ "type": "module" }`.'), _0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled: r3(1484, 1, "_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled_1484", "'{0}' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled."), _0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled: r3(1485, 1, "_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_verbatimMo_1485", "'{0}' resolves to a type-only declaration and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled."), Decorator_used_before_export_here: r3(1486, 1, "Decorator_used_before_export_here_1486", "Decorator used before 'export' here."), Octal_escape_sequences_are_not_allowed_Use_the_syntax_0: r3(1487, 1, "Octal_escape_sequences_are_not_allowed_Use_the_syntax_0_1487", "Octal escape sequences are not allowed. Use the syntax '{0}'."), Escape_sequence_0_is_not_allowed: r3(1488, 1, "Escape_sequence_0_is_not_allowed_1488", "Escape sequence '{0}' is not allowed."), Decimals_with_leading_zeros_are_not_allowed: r3(1489, 1, "Decimals_with_leading_zeros_are_not_allowed_1489", "Decimals with leading zeros are not allowed."), File_appears_to_be_binary: r3(1490, 1, "File_appears_to_be_binary_1490", "File appears to be binary."), _0_modifier_cannot_appear_on_a_using_declaration: r3(1491, 1, "_0_modifier_cannot_appear_on_a_using_declaration_1491", "'{0}' modifier cannot appear on a 'using' declaration."), _0_declarations_may_not_have_binding_patterns: r3(1492, 1, "_0_declarations_may_not_have_binding_patterns_1492", "'{0}' declarations may not have binding patterns."), The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration: r3(1493, 1, "The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration_1493", "The left-hand side of a 'for...in' statement cannot be a 'using' declaration."), The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration: r3(1494, 1, "The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration_1494", "The left-hand side of a 'for...in' statement cannot be an 'await using' declaration."), _0_modifier_cannot_appear_on_an_await_using_declaration: r3(1495, 1, "_0_modifier_cannot_appear_on_an_await_using_declaration_1495", "'{0}' modifier cannot appear on an 'await using' declaration."), Identifier_string_literal_or_number_literal_expected: r3(1496, 1, "Identifier_string_literal_or_number_literal_expected_1496", "Identifier, string literal, or number literal expected."), Expression_must_be_enclosed_in_parentheses_to_be_used_as_a_decorator: r3(1497, 1, "Expression_must_be_enclosed_in_parentheses_to_be_used_as_a_decorator_1497", "Expression must be enclosed in parentheses to be used as a decorator."), Invalid_syntax_in_decorator: r3(1498, 1, "Invalid_syntax_in_decorator_1498", "Invalid syntax in decorator."), Unknown_regular_expression_flag: r3(1499, 1, "Unknown_regular_expression_flag_1499", "Unknown regular expression flag."), Duplicate_regular_expression_flag: r3(1500, 1, "Duplicate_regular_expression_flag_1500", "Duplicate regular expression flag."), This_regular_expression_flag_is_only_available_when_targeting_0_or_later: r3(1501, 1, "This_regular_expression_flag_is_only_available_when_targeting_0_or_later_1501", "This regular expression flag is only available when targeting '{0}' or later."), The_Unicode_u_flag_and_the_Unicode_Sets_v_flag_cannot_be_set_simultaneously: r3(1502, 1, "The_Unicode_u_flag_and_the_Unicode_Sets_v_flag_cannot_be_set_simultaneously_1502", "The Unicode (u) flag and the Unicode Sets (v) flag cannot be set simultaneously."), Named_capturing_groups_are_only_available_when_targeting_ES2018_or_later: r3(1503, 1, "Named_capturing_groups_are_only_available_when_targeting_ES2018_or_later_1503", "Named capturing groups are only available when targeting 'ES2018' or later."), Subpattern_flags_must_be_present_when_there_is_a_minus_sign: r3(1504, 1, "Subpattern_flags_must_be_present_when_there_is_a_minus_sign_1504", "Subpattern flags must be present when there is a minus sign."), Incomplete_quantifier_Digit_expected: r3(1505, 1, "Incomplete_quantifier_Digit_expected_1505", "Incomplete quantifier. Digit expected."), Numbers_out_of_order_in_quantifier: r3(1506, 1, "Numbers_out_of_order_in_quantifier_1506", "Numbers out of order in quantifier."), There_is_nothing_available_for_repetition: r3(1507, 1, "There_is_nothing_available_for_repetition_1507", "There is nothing available for repetition."), Unexpected_0_Did_you_mean_to_escape_it_with_backslash: r3(1508, 1, "Unexpected_0_Did_you_mean_to_escape_it_with_backslash_1508", "Unexpected '{0}'. Did you mean to escape it with backslash?"), This_regular_expression_flag_cannot_be_toggled_within_a_subpattern: r3(1509, 1, "This_regular_expression_flag_cannot_be_toggled_within_a_subpattern_1509", "This regular expression flag cannot be toggled within a subpattern."), k_must_be_followed_by_a_capturing_group_name_enclosed_in_angle_brackets: r3(1510, 1, "k_must_be_followed_by_a_capturing_group_name_enclosed_in_angle_brackets_1510", "'\\k' must be followed by a capturing group name enclosed in angle brackets."), q_is_only_available_inside_character_class: r3(1511, 1, "q_is_only_available_inside_character_class_1511", "'\\q' is only available inside character class."), c_must_be_followed_by_an_ASCII_letter: r3(1512, 1, "c_must_be_followed_by_an_ASCII_letter_1512", "'\\c' must be followed by an ASCII letter."), Undetermined_character_escape: r3(1513, 1, "Undetermined_character_escape_1513", "Undetermined character escape."), Expected_a_capturing_group_name: r3(1514, 1, "Expected_a_capturing_group_name_1514", "Expected a capturing group name."), Named_capturing_groups_with_the_same_name_must_be_mutually_exclusive_to_each_other: r3(1515, 1, "Named_capturing_groups_with_the_same_name_must_be_mutually_exclusive_to_each_other_1515", "Named capturing groups with the same name must be mutually exclusive to each other."), A_character_class_range_must_not_be_bounded_by_another_character_class: r3(1516, 1, "A_character_class_range_must_not_be_bounded_by_another_character_class_1516", "A character class range must not be bounded by another character class."), Range_out_of_order_in_character_class: r3(1517, 1, "Range_out_of_order_in_character_class_1517", "Range out of order in character class."), Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_character_class: r3(1518, 1, "Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_characte_1518", "Anything that would possibly match more than a single character is invalid inside a negated character class."), Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead: r3(1519, 1, "Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead_1519", "Operators must not be mixed within a character class. Wrap it in a nested class instead."), Expected_a_class_set_operand: r3(1520, 1, "Expected_a_class_set_operand_1520", "Expected a class set operand."), q_must_be_followed_by_string_alternatives_enclosed_in_braces: r3(1521, 1, "q_must_be_followed_by_string_alternatives_enclosed_in_braces_1521", "'\\q' must be followed by string alternatives enclosed in braces."), A_character_class_must_not_contain_a_reserved_double_punctuator_Did_you_mean_to_escape_it_with_backslash: r3(1522, 1, "A_character_class_must_not_contain_a_reserved_double_punctuator_Did_you_mean_to_escape_it_with_backs_1522", "A character class must not contain a reserved double punctuator. Did you mean to escape it with backslash?"), Expected_a_Unicode_property_name: r3(1523, 1, "Expected_a_Unicode_property_name_1523", "Expected a Unicode property name."), Unknown_Unicode_property_name: r3(1524, 1, "Unknown_Unicode_property_name_1524", "Unknown Unicode property name."), Expected_a_Unicode_property_value: r3(1525, 1, "Expected_a_Unicode_property_value_1525", "Expected a Unicode property value."), Unknown_Unicode_property_value: r3(1526, 1, "Unknown_Unicode_property_value_1526", "Unknown Unicode property value."), Expected_a_Unicode_property_name_or_value: r3(1527, 1, "Expected_a_Unicode_property_name_or_value_1527", "Expected a Unicode property name or value."), Any_Unicode_property_that_would_possibly_match_more_than_a_single_character_is_only_available_when_the_Unicode_Sets_v_flag_is_set: r3(1528, 1, "Any_Unicode_property_that_would_possibly_match_more_than_a_single_character_is_only_available_when_t_1528", "Any Unicode property that would possibly match more than a single character is only available when the Unicode Sets (v) flag is set."), Unknown_Unicode_property_name_or_value: r3(1529, 1, "Unknown_Unicode_property_name_or_value_1529", "Unknown Unicode property name or value."), Unicode_property_value_expressions_are_only_available_when_the_Unicode_u_flag_or_the_Unicode_Sets_v_flag_is_set: r3(1530, 1, "Unicode_property_value_expressions_are_only_available_when_the_Unicode_u_flag_or_the_Unicode_Sets_v__1530", "Unicode property value expressions are only available when the Unicode (u) flag or the Unicode Sets (v) flag is set."), _0_must_be_followed_by_a_Unicode_property_value_expression_enclosed_in_braces: r3(1531, 1, "_0_must_be_followed_by_a_Unicode_property_value_expression_enclosed_in_braces_1531", "'\\{0}' must be followed by a Unicode property value expression enclosed in braces."), There_is_no_capturing_group_named_0_in_this_regular_expression: r3(1532, 1, "There_is_no_capturing_group_named_0_in_this_regular_expression_1532", "There is no capturing group named '{0}' in this regular expression."), This_backreference_refers_to_a_group_that_does_not_exist_There_are_only_0_capturing_groups_in_this_regular_expression: r3(1533, 1, "This_backreference_refers_to_a_group_that_does_not_exist_There_are_only_0_capturing_groups_in_this_r_1533", "This backreference refers to a group that does not exist. There are only {0} capturing groups in this regular expression."), This_backreference_refers_to_a_group_that_does_not_exist_There_are_no_capturing_groups_in_this_regular_expression: r3(1534, 1, "This_backreference_refers_to_a_group_that_does_not_exist_There_are_no_capturing_groups_in_this_regul_1534", "This backreference refers to a group that does not exist. There are no capturing groups in this regular expression."), This_character_cannot_be_escaped_in_a_regular_expression: r3(1535, 1, "This_character_cannot_be_escaped_in_a_regular_expression_1535", "This character cannot be escaped in a regular expression."), Octal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class_If_this_was_intended_as_an_escape_sequence_use_the_syntax_0_instead: r3(1536, 1, "Octal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class_If_this_was_intended__1536", "Octal escape sequences and backreferences are not allowed in a character class. If this was intended as an escape sequence, use the syntax '{0}' instead."), Decimal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class: r3(1537, 1, "Decimal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class_1537", "Decimal escape sequences and backreferences are not allowed in a character class."), Unicode_escape_sequences_are_only_available_when_the_Unicode_u_flag_or_the_Unicode_Sets_v_flag_is_set: r3(1538, 1, "Unicode_escape_sequences_are_only_available_when_the_Unicode_u_flag_or_the_Unicode_Sets_v_flag_is_se_1538", "Unicode escape sequences are only available when the Unicode (u) flag or the Unicode Sets (v) flag is set."), A_bigint_literal_cannot_be_used_as_a_property_name: r3(1539, 1, "A_bigint_literal_cannot_be_used_as_a_property_name_1539", "A 'bigint' literal cannot be used as a property name."), A_namespace_declaration_should_not_be_declared_using_the_module_keyword_Please_use_the_namespace_keyword_instead: r3(1540, 2, "A_namespace_declaration_should_not_be_declared_using_the_module_keyword_Please_use_the_namespace_key_1540", "A 'namespace' declaration should not be declared using the 'module' keyword. Please use the 'namespace' keyword instead.", void 0, void 0, true), Type_only_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute: r3(1541, 1, "Type_only_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribut_1541", "Type-only import of an ECMAScript module from a CommonJS module must have a 'resolution-mode' attribute."), Type_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute: r3(1542, 1, "Type_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute_1542", "Type import of an ECMAScript module from a CommonJS module must have a 'resolution-mode' attribute."), Importing_a_JSON_file_into_an_ECMAScript_module_requires_a_type_Colon_json_import_attribute_when_module_is_set_to_0: r3(1543, 1, "Importing_a_JSON_file_into_an_ECMAScript_module_requires_a_type_Colon_json_import_attribute_when_mod_1543", `Importing a JSON file into an ECMAScript module requires a 'type: "json"' import attribute when 'module' is set to '{0}'.`), Named_imports_from_a_JSON_file_into_an_ECMAScript_module_are_not_allowed_when_module_is_set_to_0: r3(1544, 1, "Named_imports_from_a_JSON_file_into_an_ECMAScript_module_are_not_allowed_when_module_is_set_to_0_1544", "Named imports from a JSON file into an ECMAScript module are not allowed when 'module' is set to '{0}'."), using_declarations_are_not_allowed_in_ambient_contexts: r3(1545, 1, "using_declarations_are_not_allowed_in_ambient_contexts_1545", "'using' declarations are not allowed in ambient contexts."), await_using_declarations_are_not_allowed_in_ambient_contexts: r3(1546, 1, "await_using_declarations_are_not_allowed_in_ambient_contexts_1546", "'await using' declarations are not allowed in ambient contexts."), The_types_of_0_are_incompatible_between_these_types: r3(2200, 1, "The_types_of_0_are_incompatible_between_these_types_2200", "The types of '{0}' are incompatible between these types."), The_types_returned_by_0_are_incompatible_between_these_types: r3(2201, 1, "The_types_returned_by_0_are_incompatible_between_these_types_2201", "The types returned by '{0}' are incompatible between these types."), Call_signature_return_types_0_and_1_are_incompatible: r3(2202, 1, "Call_signature_return_types_0_and_1_are_incompatible_2202", "Call signature return types '{0}' and '{1}' are incompatible.", void 0, true), Construct_signature_return_types_0_and_1_are_incompatible: r3(2203, 1, "Construct_signature_return_types_0_and_1_are_incompatible_2203", "Construct signature return types '{0}' and '{1}' are incompatible.", void 0, true), Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1: r3(2204, 1, "Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2204", "Call signatures with no arguments have incompatible return types '{0}' and '{1}'.", void 0, true), Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1: r3(2205, 1, "Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2205", "Construct signatures with no arguments have incompatible return types '{0}' and '{1}'.", void 0, true), The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement: r3(2206, 1, "The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement_2206", "The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement."), The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement: r3(2207, 1, "The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement_2207", "The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement."), This_type_parameter_might_need_an_extends_0_constraint: r3(2208, 1, "This_type_parameter_might_need_an_extends_0_constraint_2208", "This type parameter might need an `extends {0}` constraint."), The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate: r3(2209, 1, "The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_roo_2209", "The project root is ambiguous, but is required to resolve export map entry '{0}' in file '{1}'. Supply the `rootDir` compiler option to disambiguate."), The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate: r3(2210, 1, "The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_roo_2210", "The project root is ambiguous, but is required to resolve import map entry '{0}' in file '{1}'. Supply the `rootDir` compiler option to disambiguate."), Add_extends_constraint: r3(2211, 3, "Add_extends_constraint_2211", "Add `extends` constraint."), Add_extends_constraint_to_all_type_parameters: r3(2212, 3, "Add_extends_constraint_to_all_type_parameters_2212", "Add `extends` constraint to all type parameters"), Duplicate_identifier_0: r3(2300, 1, "Duplicate_identifier_0_2300", "Duplicate identifier '{0}'."), Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor: r3(2301, 1, "Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor_2301", "Initializer of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor."), Static_members_cannot_reference_class_type_parameters: r3(2302, 1, "Static_members_cannot_reference_class_type_parameters_2302", "Static members cannot reference class type parameters."), Circular_definition_of_import_alias_0: r3(2303, 1, "Circular_definition_of_import_alias_0_2303", "Circular definition of import alias '{0}'."), Cannot_find_name_0: r3(2304, 1, "Cannot_find_name_0_2304", "Cannot find name '{0}'."), Module_0_has_no_exported_member_1: r3(2305, 1, "Module_0_has_no_exported_member_1_2305", "Module '{0}' has no exported member '{1}'."), File_0_is_not_a_module: r3(2306, 1, "File_0_is_not_a_module_2306", "File '{0}' is not a module."), Cannot_find_module_0_or_its_corresponding_type_declarations: r3(2307, 1, "Cannot_find_module_0_or_its_corresponding_type_declarations_2307", "Cannot find module '{0}' or its corresponding type declarations."), Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity: r3(2308, 1, "Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambig_2308", "Module {0} has already exported a member named '{1}'. Consider explicitly re-exporting to resolve the ambiguity."), An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements: r3(2309, 1, "An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements_2309", "An export assignment cannot be used in a module with other exported elements."), Type_0_recursively_references_itself_as_a_base_type: r3(2310, 1, "Type_0_recursively_references_itself_as_a_base_type_2310", "Type '{0}' recursively references itself as a base type."), Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function: r3(2311, 1, "Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function_2311", "Cannot find name '{0}'. Did you mean to write this in an async function?"), An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members: r3(2312, 1, "An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_me_2312", "An interface can only extend an object type or intersection of object types with statically known members."), Type_parameter_0_has_a_circular_constraint: r3(2313, 1, "Type_parameter_0_has_a_circular_constraint_2313", "Type parameter '{0}' has a circular constraint."), Generic_type_0_requires_1_type_argument_s: r3(2314, 1, "Generic_type_0_requires_1_type_argument_s_2314", "Generic type '{0}' requires {1} type argument(s)."), Type_0_is_not_generic: r3(2315, 1, "Type_0_is_not_generic_2315", "Type '{0}' is not generic."), Global_type_0_must_be_a_class_or_interface_type: r3(2316, 1, "Global_type_0_must_be_a_class_or_interface_type_2316", "Global type '{0}' must be a class or interface type."), Global_type_0_must_have_1_type_parameter_s: r3(2317, 1, "Global_type_0_must_have_1_type_parameter_s_2317", "Global type '{0}' must have {1} type parameter(s)."), Cannot_find_global_type_0: r3(2318, 1, "Cannot_find_global_type_0_2318", "Cannot find global type '{0}'."), Named_property_0_of_types_1_and_2_are_not_identical: r3(2319, 1, "Named_property_0_of_types_1_and_2_are_not_identical_2319", "Named property '{0}' of types '{1}' and '{2}' are not identical."), Interface_0_cannot_simultaneously_extend_types_1_and_2: r3(2320, 1, "Interface_0_cannot_simultaneously_extend_types_1_and_2_2320", "Interface '{0}' cannot simultaneously extend types '{1}' and '{2}'."), Excessive_stack_depth_comparing_types_0_and_1: r3(2321, 1, "Excessive_stack_depth_comparing_types_0_and_1_2321", "Excessive stack depth comparing types '{0}' and '{1}'."), Type_0_is_not_assignable_to_type_1: r3(2322, 1, "Type_0_is_not_assignable_to_type_1_2322", "Type '{0}' is not assignable to type '{1}'."), Cannot_redeclare_exported_variable_0: r3(2323, 1, "Cannot_redeclare_exported_variable_0_2323", "Cannot redeclare exported variable '{0}'."), Property_0_is_missing_in_type_1: r3(2324, 1, "Property_0_is_missing_in_type_1_2324", "Property '{0}' is missing in type '{1}'."), Property_0_is_private_in_type_1_but_not_in_type_2: r3(2325, 1, "Property_0_is_private_in_type_1_but_not_in_type_2_2325", "Property '{0}' is private in type '{1}' but not in type '{2}'."), Types_of_property_0_are_incompatible: r3(2326, 1, "Types_of_property_0_are_incompatible_2326", "Types of property '{0}' are incompatible."), Property_0_is_optional_in_type_1_but_required_in_type_2: r3(2327, 1, "Property_0_is_optional_in_type_1_but_required_in_type_2_2327", "Property '{0}' is optional in type '{1}' but required in type '{2}'."), Types_of_parameters_0_and_1_are_incompatible: r3(2328, 1, "Types_of_parameters_0_and_1_are_incompatible_2328", "Types of parameters '{0}' and '{1}' are incompatible."), Index_signature_for_type_0_is_missing_in_type_1: r3(2329, 1, "Index_signature_for_type_0_is_missing_in_type_1_2329", "Index signature for type '{0}' is missing in type '{1}'."), _0_and_1_index_signatures_are_incompatible: r3(2330, 1, "_0_and_1_index_signatures_are_incompatible_2330", "'{0}' and '{1}' index signatures are incompatible."), this_cannot_be_referenced_in_a_module_or_namespace_body: r3(2331, 1, "this_cannot_be_referenced_in_a_module_or_namespace_body_2331", "'this' cannot be referenced in a module or namespace body."), this_cannot_be_referenced_in_current_location: r3(2332, 1, "this_cannot_be_referenced_in_current_location_2332", "'this' cannot be referenced in current location."), this_cannot_be_referenced_in_a_static_property_initializer: r3(2334, 1, "this_cannot_be_referenced_in_a_static_property_initializer_2334", "'this' cannot be referenced in a static property initializer."), super_can_only_be_referenced_in_a_derived_class: r3(2335, 1, "super_can_only_be_referenced_in_a_derived_class_2335", "'super' can only be referenced in a derived class."), super_cannot_be_referenced_in_constructor_arguments: r3(2336, 1, "super_cannot_be_referenced_in_constructor_arguments_2336", "'super' cannot be referenced in constructor arguments."), Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors: r3(2337, 1, "Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors_2337", "Super calls are not permitted outside constructors or in nested functions inside constructors."), super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class: r3(2338, 1, "super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_der_2338", "'super' property access is permitted only in a constructor, member function, or member accessor of a derived class."), Property_0_does_not_exist_on_type_1: r3(2339, 1, "Property_0_does_not_exist_on_type_1_2339", "Property '{0}' does not exist on type '{1}'."), Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword: r3(2340, 1, "Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword_2340", "Only public and protected methods of the base class are accessible via the 'super' keyword."), Property_0_is_private_and_only_accessible_within_class_1: r3(2341, 1, "Property_0_is_private_and_only_accessible_within_class_1_2341", "Property '{0}' is private and only accessible within class '{1}'."), This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0: r3(2343, 1, "This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_ve_2343", "This syntax requires an imported helper named '{1}' which does not exist in '{0}'. Consider upgrading your version of '{0}'."), Type_0_does_not_satisfy_the_constraint_1: r3(2344, 1, "Type_0_does_not_satisfy_the_constraint_1_2344", "Type '{0}' does not satisfy the constraint '{1}'."), Argument_of_type_0_is_not_assignable_to_parameter_of_type_1: r3(2345, 1, "Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_2345", "Argument of type '{0}' is not assignable to parameter of type '{1}'."), Call_target_does_not_contain_any_signatures: r3(2346, 1, "Call_target_does_not_contain_any_signatures_2346", "Call target does not contain any signatures."), Untyped_function_calls_may_not_accept_type_arguments: r3(2347, 1, "Untyped_function_calls_may_not_accept_type_arguments_2347", "Untyped function calls may not accept type arguments."), Value_of_type_0_is_not_callable_Did_you_mean_to_include_new: r3(2348, 1, "Value_of_type_0_is_not_callable_Did_you_mean_to_include_new_2348", "Value of type '{0}' is not callable. Did you mean to include 'new'?"), This_expression_is_not_callable: r3(2349, 1, "This_expression_is_not_callable_2349", "This expression is not callable."), Only_a_void_function_can_be_called_with_the_new_keyword: r3(2350, 1, "Only_a_void_function_can_be_called_with_the_new_keyword_2350", "Only a void function can be called with the 'new' keyword."), This_expression_is_not_constructable: r3(2351, 1, "This_expression_is_not_constructable_2351", "This expression is not constructable."), Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the_other_If_this_was_intentional_convert_the_expression_to_unknown_first: r3(2352, 1, "Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the__2352", "Conversion of type '{0}' to type '{1}' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first."), Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1: r3(2353, 1, "Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1_2353", "Object literal may only specify known properties, and '{0}' does not exist in type '{1}'."), This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found: r3(2354, 1, "This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found_2354", "This syntax requires an imported helper but module '{0}' cannot be found."), A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value: r3(2355, 1, "A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value_2355", "A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value."), An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type: r3(2356, 1, "An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type_2356", "An arithmetic operand must be of type 'any', 'number', 'bigint' or an enum type."), The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access: r3(2357, 1, "The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access_2357", "The operand of an increment or decrement operator must be a variable or a property access."), The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter: r3(2358, 1, "The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_paramete_2358", "The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter."), The_right_hand_side_of_an_instanceof_expression_must_be_either_of_type_any_a_class_function_or_other_type_assignable_to_the_Function_interface_type_or_an_object_type_with_a_Symbol_hasInstance_method: r3(2359, 1, "The_right_hand_side_of_an_instanceof_expression_must_be_either_of_type_any_a_class_function_or_other_2359", "The right-hand side of an 'instanceof' expression must be either of type 'any', a class, function, or other type assignable to the 'Function' interface type, or an object type with a 'Symbol.hasInstance' method."), The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type: r3(2362, 1, "The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2362", "The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type."), The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type: r3(2363, 1, "The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2363", "The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type."), The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access: r3(2364, 1, "The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access_2364", "The left-hand side of an assignment expression must be a variable or a property access."), Operator_0_cannot_be_applied_to_types_1_and_2: r3(2365, 1, "Operator_0_cannot_be_applied_to_types_1_and_2_2365", "Operator '{0}' cannot be applied to types '{1}' and '{2}'."), Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined: r3(2366, 1, "Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined_2366", "Function lacks ending return statement and return type does not include 'undefined'."), This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap: r3(2367, 1, "This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367", "This comparison appears to be unintentional because the types '{0}' and '{1}' have no overlap."), Type_parameter_name_cannot_be_0: r3(2368, 1, "Type_parameter_name_cannot_be_0_2368", "Type parameter name cannot be '{0}'."), A_parameter_property_is_only_allowed_in_a_constructor_implementation: r3(2369, 1, "A_parameter_property_is_only_allowed_in_a_constructor_implementation_2369", "A parameter property is only allowed in a constructor implementation."), A_rest_parameter_must_be_of_an_array_type: r3(2370, 1, "A_rest_parameter_must_be_of_an_array_type_2370", "A rest parameter must be of an array type."), A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation: r3(2371, 1, "A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation_2371", "A parameter initializer is only allowed in a function or constructor implementation."), Parameter_0_cannot_reference_itself: r3(2372, 1, "Parameter_0_cannot_reference_itself_2372", "Parameter '{0}' cannot reference itself."), Parameter_0_cannot_reference_identifier_1_declared_after_it: r3(2373, 1, "Parameter_0_cannot_reference_identifier_1_declared_after_it_2373", "Parameter '{0}' cannot reference identifier '{1}' declared after it."), Duplicate_index_signature_for_type_0: r3(2374, 1, "Duplicate_index_signature_for_type_0_2374", "Duplicate index signature for type '{0}'."), Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties: r3(2375, 1, "Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2375", "Type '{0}' is not assignable to type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties."), A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_class_contains_initialized_properties_parameter_properties_or_private_identifiers: r3(2376, 1, "A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_2376", "A 'super' call must be the first statement in the constructor to refer to 'super' or 'this' when a derived class contains initialized properties, parameter properties, or private identifiers."), Constructors_for_derived_classes_must_contain_a_super_call: r3(2377, 1, "Constructors_for_derived_classes_must_contain_a_super_call_2377", "Constructors for derived classes must contain a 'super' call."), A_get_accessor_must_return_a_value: r3(2378, 1, "A_get_accessor_must_return_a_value_2378", "A 'get' accessor must return a value."), Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties: r3(2379, 1, "Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_tr_2379", "Argument of type '{0}' is not assignable to parameter of type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties."), Overload_signatures_must_all_be_exported_or_non_exported: r3(2383, 1, "Overload_signatures_must_all_be_exported_or_non_exported_2383", "Overload signatures must all be exported or non-exported."), Overload_signatures_must_all_be_ambient_or_non_ambient: r3(2384, 1, "Overload_signatures_must_all_be_ambient_or_non_ambient_2384", "Overload signatures must all be ambient or non-ambient."), Overload_signatures_must_all_be_public_private_or_protected: r3(2385, 1, "Overload_signatures_must_all_be_public_private_or_protected_2385", "Overload signatures must all be public, private or protected."), Overload_signatures_must_all_be_optional_or_required: r3(2386, 1, "Overload_signatures_must_all_be_optional_or_required_2386", "Overload signatures must all be optional or required."), Function_overload_must_be_static: r3(2387, 1, "Function_overload_must_be_static_2387", "Function overload must be static."), Function_overload_must_not_be_static: r3(2388, 1, "Function_overload_must_not_be_static_2388", "Function overload must not be static."), Function_implementation_name_must_be_0: r3(2389, 1, "Function_implementation_name_must_be_0_2389", "Function implementation name must be '{0}'."), Constructor_implementation_is_missing: r3(2390, 1, "Constructor_implementation_is_missing_2390", "Constructor implementation is missing."), Function_implementation_is_missing_or_not_immediately_following_the_declaration: r3(2391, 1, "Function_implementation_is_missing_or_not_immediately_following_the_declaration_2391", "Function implementation is missing or not immediately following the declaration."), Multiple_constructor_implementations_are_not_allowed: r3(2392, 1, "Multiple_constructor_implementations_are_not_allowed_2392", "Multiple constructor implementations are not allowed."), Duplicate_function_implementation: r3(2393, 1, "Duplicate_function_implementation_2393", "Duplicate function implementation."), This_overload_signature_is_not_compatible_with_its_implementation_signature: r3(2394, 1, "This_overload_signature_is_not_compatible_with_its_implementation_signature_2394", "This overload signature is not compatible with its implementation signature."), Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local: r3(2395, 1, "Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local_2395", "Individual declarations in merged declaration '{0}' must be all exported or all local."), Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters: r3(2396, 1, "Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters_2396", "Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters."), Declaration_name_conflicts_with_built_in_global_identifier_0: r3(2397, 1, "Declaration_name_conflicts_with_built_in_global_identifier_0_2397", "Declaration name conflicts with built-in global identifier '{0}'."), constructor_cannot_be_used_as_a_parameter_property_name: r3(2398, 1, "constructor_cannot_be_used_as_a_parameter_property_name_2398", "'constructor' cannot be used as a parameter property name."), Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference: r3(2399, 1, "Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference_2399", "Duplicate identifier '_this'. Compiler uses variable declaration '_this' to capture 'this' reference."), Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference: r3(2400, 1, "Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference_2400", "Expression resolves to variable declaration '_this' that compiler uses to capture 'this' reference."), A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_initialized_properties_parameter_properties_or_private_identifiers: r3(2401, 1, "A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_in_2401", "A 'super' call must be a root-level statement within a constructor of a derived class that contains initialized properties, parameter properties, or private identifiers."), Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference: r3(2402, 1, "Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference_2402", "Expression resolves to '_super' that compiler uses to capture base class reference."), Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2: r3(2403, 1, "Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_t_2403", "Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'."), The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation: r3(2404, 1, "The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation_2404", "The left-hand side of a 'for...in' statement cannot use a type annotation."), The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any: r3(2405, 1, "The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any_2405", "The left-hand side of a 'for...in' statement must be of type 'string' or 'any'."), The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access: r3(2406, 1, "The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access_2406", "The left-hand side of a 'for...in' statement must be a variable or a property access."), The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_here_has_type_0: r3(2407, 1, "The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_2407", "The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter, but here has type '{0}'."), Setters_cannot_return_a_value: r3(2408, 1, "Setters_cannot_return_a_value_2408", "Setters cannot return a value."), Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class: r3(2409, 1, "Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class_2409", "Return type of constructor signature must be assignable to the instance type of the class."), The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any: r3(2410, 1, "The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any_2410", "The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'."), Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target: r3(2412, 1, "Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2412", "Type '{0}' is not assignable to type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target."), Property_0_of_type_1_is_not_assignable_to_2_index_type_3: r3(2411, 1, "Property_0_of_type_1_is_not_assignable_to_2_index_type_3_2411", "Property '{0}' of type '{1}' is not assignable to '{2}' index type '{3}'."), _0_index_type_1_is_not_assignable_to_2_index_type_3: r3(2413, 1, "_0_index_type_1_is_not_assignable_to_2_index_type_3_2413", "'{0}' index type '{1}' is not assignable to '{2}' index type '{3}'."), Class_name_cannot_be_0: r3(2414, 1, "Class_name_cannot_be_0_2414", "Class name cannot be '{0}'."), Class_0_incorrectly_extends_base_class_1: r3(2415, 1, "Class_0_incorrectly_extends_base_class_1_2415", "Class '{0}' incorrectly extends base class '{1}'."), Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2: r3(2416, 1, "Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2_2416", "Property '{0}' in type '{1}' is not assignable to the same property in base type '{2}'."), Class_static_side_0_incorrectly_extends_base_class_static_side_1: r3(2417, 1, "Class_static_side_0_incorrectly_extends_base_class_static_side_1_2417", "Class static side '{0}' incorrectly extends base class static side '{1}'."), Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1: r3(2418, 1, "Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1_2418", "Type of computed property's value is '{0}', which is not assignable to type '{1}'."), Types_of_construct_signatures_are_incompatible: r3(2419, 1, "Types_of_construct_signatures_are_incompatible_2419", "Types of construct signatures are incompatible."), Class_0_incorrectly_implements_interface_1: r3(2420, 1, "Class_0_incorrectly_implements_interface_1_2420", "Class '{0}' incorrectly implements interface '{1}'."), A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members: r3(2422, 1, "A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_memb_2422", "A class can only implement an object type or intersection of object types with statically known members."), Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor: r3(2423, 1, "Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_access_2423", "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor."), Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function: r3(2425, 1, "Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_functi_2425", "Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function."), Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function: r3(2426, 1, "Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_functi_2426", "Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function."), Interface_name_cannot_be_0: r3(2427, 1, "Interface_name_cannot_be_0_2427", "Interface name cannot be '{0}'."), All_declarations_of_0_must_have_identical_type_parameters: r3(2428, 1, "All_declarations_of_0_must_have_identical_type_parameters_2428", "All declarations of '{0}' must have identical type parameters."), Interface_0_incorrectly_extends_interface_1: r3(2430, 1, "Interface_0_incorrectly_extends_interface_1_2430", "Interface '{0}' incorrectly extends interface '{1}'."), Enum_name_cannot_be_0: r3(2431, 1, "Enum_name_cannot_be_0_2431", "Enum name cannot be '{0}'."), In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element: r3(2432, 1, "In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432", "In an enum with multiple declarations, only one declaration can omit an initializer for its first enum element."), A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged: r3(2433, 1, "A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merg_2433", "A namespace declaration cannot be in a different file from a class or function with which it is merged."), A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged: r3(2434, 1, "A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged_2434", "A namespace declaration cannot be located prior to a class or function with which it is merged."), Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces: r3(2435, 1, "Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces_2435", "Ambient modules cannot be nested in other modules or namespaces."), Ambient_module_declaration_cannot_specify_relative_module_name: r3(2436, 1, "Ambient_module_declaration_cannot_specify_relative_module_name_2436", "Ambient module declaration cannot specify relative module name."), Module_0_is_hidden_by_a_local_declaration_with_the_same_name: r3(2437, 1, "Module_0_is_hidden_by_a_local_declaration_with_the_same_name_2437", "Module '{0}' is hidden by a local declaration with the same name."), Import_name_cannot_be_0: r3(2438, 1, "Import_name_cannot_be_0_2438", "Import name cannot be '{0}'."), Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name: r3(2439, 1, "Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relati_2439", "Import or export declaration in an ambient module declaration cannot reference module through relative module name."), Import_declaration_conflicts_with_local_declaration_of_0: r3(2440, 1, "Import_declaration_conflicts_with_local_declaration_of_0_2440", "Import declaration conflicts with local declaration of '{0}'."), Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module: r3(2441, 1, "Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_2441", "Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module."), Types_have_separate_declarations_of_a_private_property_0: r3(2442, 1, "Types_have_separate_declarations_of_a_private_property_0_2442", "Types have separate declarations of a private property '{0}'."), Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2: r3(2443, 1, "Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2_2443", "Property '{0}' is protected but type '{1}' is not a class derived from '{2}'."), Property_0_is_protected_in_type_1_but_public_in_type_2: r3(2444, 1, "Property_0_is_protected_in_type_1_but_public_in_type_2_2444", "Property '{0}' is protected in type '{1}' but public in type '{2}'."), Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses: r3(2445, 1, "Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses_2445", "Property '{0}' is protected and only accessible within class '{1}' and its subclasses."), Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_class_2: r3(2446, 1, "Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_cl_2446", "Property '{0}' is protected and only accessible through an instance of class '{1}'. This is an instance of class '{2}'."), The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead: r3(2447, 1, "The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead_2447", "The '{0}' operator is not allowed for boolean types. Consider using '{1}' instead."), Block_scoped_variable_0_used_before_its_declaration: r3(2448, 1, "Block_scoped_variable_0_used_before_its_declaration_2448", "Block-scoped variable '{0}' used before its declaration."), Class_0_used_before_its_declaration: r3(2449, 1, "Class_0_used_before_its_declaration_2449", "Class '{0}' used before its declaration."), Enum_0_used_before_its_declaration: r3(2450, 1, "Enum_0_used_before_its_declaration_2450", "Enum '{0}' used before its declaration."), Cannot_redeclare_block_scoped_variable_0: r3(2451, 1, "Cannot_redeclare_block_scoped_variable_0_2451", "Cannot redeclare block-scoped variable '{0}'."), An_enum_member_cannot_have_a_numeric_name: r3(2452, 1, "An_enum_member_cannot_have_a_numeric_name_2452", "An enum member cannot have a numeric name."), Variable_0_is_used_before_being_assigned: r3(2454, 1, "Variable_0_is_used_before_being_assigned_2454", "Variable '{0}' is used before being assigned."), Type_alias_0_circularly_references_itself: r3(2456, 1, "Type_alias_0_circularly_references_itself_2456", "Type alias '{0}' circularly references itself."), Type_alias_name_cannot_be_0: r3(2457, 1, "Type_alias_name_cannot_be_0_2457", "Type alias name cannot be '{0}'."), An_AMD_module_cannot_have_multiple_name_assignments: r3(2458, 1, "An_AMD_module_cannot_have_multiple_name_assignments_2458", "An AMD module cannot have multiple name assignments."), Module_0_declares_1_locally_but_it_is_not_exported: r3(2459, 1, "Module_0_declares_1_locally_but_it_is_not_exported_2459", "Module '{0}' declares '{1}' locally, but it is not exported."), Module_0_declares_1_locally_but_it_is_exported_as_2: r3(2460, 1, "Module_0_declares_1_locally_but_it_is_exported_as_2_2460", "Module '{0}' declares '{1}' locally, but it is exported as '{2}'."), Type_0_is_not_an_array_type: r3(2461, 1, "Type_0_is_not_an_array_type_2461", "Type '{0}' is not an array type."), A_rest_element_must_be_last_in_a_destructuring_pattern: r3(2462, 1, "A_rest_element_must_be_last_in_a_destructuring_pattern_2462", "A rest element must be last in a destructuring pattern."), A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature: r3(2463, 1, "A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature_2463", "A binding pattern parameter cannot be optional in an implementation signature."), A_computed_property_name_must_be_of_type_string_number_symbol_or_any: r3(2464, 1, "A_computed_property_name_must_be_of_type_string_number_symbol_or_any_2464", "A computed property name must be of type 'string', 'number', 'symbol', or 'any'."), this_cannot_be_referenced_in_a_computed_property_name: r3(2465, 1, "this_cannot_be_referenced_in_a_computed_property_name_2465", "'this' cannot be referenced in a computed property name."), super_cannot_be_referenced_in_a_computed_property_name: r3(2466, 1, "super_cannot_be_referenced_in_a_computed_property_name_2466", "'super' cannot be referenced in a computed property name."), A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type: r3(2467, 1, "A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type_2467", "A computed property name cannot reference a type parameter from its containing type."), Cannot_find_global_value_0: r3(2468, 1, "Cannot_find_global_value_0_2468", "Cannot find global value '{0}'."), The_0_operator_cannot_be_applied_to_type_symbol: r3(2469, 1, "The_0_operator_cannot_be_applied_to_type_symbol_2469", "The '{0}' operator cannot be applied to type 'symbol'."), Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher: r3(2472, 1, "Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher_2472", "Spread operator in 'new' expressions is only available when targeting ECMAScript 5 and higher."), Enum_declarations_must_all_be_const_or_non_const: r3(2473, 1, "Enum_declarations_must_all_be_const_or_non_const_2473", "Enum declarations must all be const or non-const."), const_enum_member_initializers_must_be_constant_expressions: r3(2474, 1, "const_enum_member_initializers_must_be_constant_expressions_2474", "const enum member initializers must be constant expressions."), const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query: r3(2475, 1, "const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_im_2475", "'const' enums can only be used in property or index access expressions or the right hand side of an import declaration or export assignment or type query."), A_const_enum_member_can_only_be_accessed_using_a_string_literal: r3(2476, 1, "A_const_enum_member_can_only_be_accessed_using_a_string_literal_2476", "A const enum member can only be accessed using a string literal."), const_enum_member_initializer_was_evaluated_to_a_non_finite_value: r3(2477, 1, "const_enum_member_initializer_was_evaluated_to_a_non_finite_value_2477", "'const' enum member initializer was evaluated to a non-finite value."), const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN: r3(2478, 1, "const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN_2478", "'const' enum member initializer was evaluated to disallowed value 'NaN'."), let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations: r3(2480, 1, "let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations_2480", "'let' is not allowed to be used as a name in 'let' or 'const' declarations."), Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1: r3(2481, 1, "Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1_2481", "Cannot initialize outer scoped variable '{0}' in the same scope as block scoped declaration '{1}'."), The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation: r3(2483, 1, "The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation_2483", "The left-hand side of a 'for...of' statement cannot use a type annotation."), Export_declaration_conflicts_with_exported_declaration_of_0: r3(2484, 1, "Export_declaration_conflicts_with_exported_declaration_of_0_2484", "Export declaration conflicts with exported declaration of '{0}'."), The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access: r3(2487, 1, "The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access_2487", "The left-hand side of a 'for...of' statement must be a variable or a property access."), Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator: r3(2488, 1, "Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator_2488", "Type '{0}' must have a '[Symbol.iterator]()' method that returns an iterator."), An_iterator_must_have_a_next_method: r3(2489, 1, "An_iterator_must_have_a_next_method_2489", "An iterator must have a 'next()' method."), The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property: r3(2490, 1, "The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property_2490", "The type returned by the '{0}()' method of an iterator must have a 'value' property."), The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern: r3(2491, 1, "The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern_2491", "The left-hand side of a 'for...in' statement cannot be a destructuring pattern."), Cannot_redeclare_identifier_0_in_catch_clause: r3(2492, 1, "Cannot_redeclare_identifier_0_in_catch_clause_2492", "Cannot redeclare identifier '{0}' in catch clause."), Tuple_type_0_of_length_1_has_no_element_at_index_2: r3(2493, 1, "Tuple_type_0_of_length_1_has_no_element_at_index_2_2493", "Tuple type '{0}' of length '{1}' has no element at index '{2}'."), Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher: r3(2494, 1, "Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494", "Using a string in a 'for...of' statement is only supported in ECMAScript 5 and higher."), Type_0_is_not_an_array_type_or_a_string_type: r3(2495, 1, "Type_0_is_not_an_array_type_or_a_string_type_2495", "Type '{0}' is not an array type or a string type."), The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES5_Consider_using_a_standard_function_expression: r3(2496, 1, "The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES5_Consider_using_a_standard_func_2496", "The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression."), This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export: r3(2497, 1, "This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_2497", "This module can only be referenced with ECMAScript imports/exports by turning on the '{0}' flag and referencing its default export."), Module_0_uses_export_and_cannot_be_used_with_export_Asterisk: r3(2498, 1, "Module_0_uses_export_and_cannot_be_used_with_export_Asterisk_2498", "Module '{0}' uses 'export =' and cannot be used with 'export *'."), An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments: r3(2499, 1, "An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments_2499", "An interface can only extend an identifier/qualified-name with optional type arguments."), A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments: r3(2500, 1, "A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments_2500", "A class can only implement an identifier/qualified-name with optional type arguments."), A_rest_element_cannot_contain_a_binding_pattern: r3(2501, 1, "A_rest_element_cannot_contain_a_binding_pattern_2501", "A rest element cannot contain a binding pattern."), _0_is_referenced_directly_or_indirectly_in_its_own_type_annotation: r3(2502, 1, "_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation_2502", "'{0}' is referenced directly or indirectly in its own type annotation."), Cannot_find_namespace_0: r3(2503, 1, "Cannot_find_namespace_0_2503", "Cannot find namespace '{0}'."), Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator: r3(2504, 1, "Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator_2504", "Type '{0}' must have a '[Symbol.asyncIterator]()' method that returns an async iterator."), A_generator_cannot_have_a_void_type_annotation: r3(2505, 1, "A_generator_cannot_have_a_void_type_annotation_2505", "A generator cannot have a 'void' type annotation."), _0_is_referenced_directly_or_indirectly_in_its_own_base_expression: r3(2506, 1, "_0_is_referenced_directly_or_indirectly_in_its_own_base_expression_2506", "'{0}' is referenced directly or indirectly in its own base expression."), Type_0_is_not_a_constructor_function_type: r3(2507, 1, "Type_0_is_not_a_constructor_function_type_2507", "Type '{0}' is not a constructor function type."), No_base_constructor_has_the_specified_number_of_type_arguments: r3(2508, 1, "No_base_constructor_has_the_specified_number_of_type_arguments_2508", "No base constructor has the specified number of type arguments."), Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members: r3(2509, 1, "Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_2509", "Base constructor return type '{0}' is not an object type or intersection of object types with statically known members."), Base_constructors_must_all_have_the_same_return_type: r3(2510, 1, "Base_constructors_must_all_have_the_same_return_type_2510", "Base constructors must all have the same return type."), Cannot_create_an_instance_of_an_abstract_class: r3(2511, 1, "Cannot_create_an_instance_of_an_abstract_class_2511", "Cannot create an instance of an abstract class."), Overload_signatures_must_all_be_abstract_or_non_abstract: r3(2512, 1, "Overload_signatures_must_all_be_abstract_or_non_abstract_2512", "Overload signatures must all be abstract or non-abstract."), Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression: r3(2513, 1, "Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression_2513", "Abstract method '{0}' in class '{1}' cannot be accessed via super expression."), A_tuple_type_cannot_be_indexed_with_a_negative_value: r3(2514, 1, "A_tuple_type_cannot_be_indexed_with_a_negative_value_2514", "A tuple type cannot be indexed with a negative value."), Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2: r3(2515, 1, "Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2_2515", "Non-abstract class '{0}' does not implement inherited abstract member {1} from class '{2}'."), All_declarations_of_an_abstract_method_must_be_consecutive: r3(2516, 1, "All_declarations_of_an_abstract_method_must_be_consecutive_2516", "All declarations of an abstract method must be consecutive."), Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type: r3(2517, 1, "Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type_2517", "Cannot assign an abstract constructor type to a non-abstract constructor type."), A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard: r3(2518, 1, "A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard_2518", "A 'this'-based type guard is not compatible with a parameter-based type guard."), An_async_iterator_must_have_a_next_method: r3(2519, 1, "An_async_iterator_must_have_a_next_method_2519", "An async iterator must have a 'next()' method."), Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions: r3(2520, 1, "Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions_2520", "Duplicate identifier '{0}'. Compiler uses declaration '{1}' to support async functions."), The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES5_Consider_using_a_standard_function_or_method: r3(2522, 1, "The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES5_Consider_using_a_sta_2522", "The 'arguments' object cannot be referenced in an async function or method in ES5. Consider using a standard function or method."), yield_expressions_cannot_be_used_in_a_parameter_initializer: r3(2523, 1, "yield_expressions_cannot_be_used_in_a_parameter_initializer_2523", "'yield' expressions cannot be used in a parameter initializer."), await_expressions_cannot_be_used_in_a_parameter_initializer: r3(2524, 1, "await_expressions_cannot_be_used_in_a_parameter_initializer_2524", "'await' expressions cannot be used in a parameter initializer."), A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface: r3(2526, 1, "A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface_2526", "A 'this' type is available only in a non-static member of a class or interface."), The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary: r3(2527, 1, "The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary_2527", "The inferred type of '{0}' references an inaccessible '{1}' type. A type annotation is necessary."), A_module_cannot_have_multiple_default_exports: r3(2528, 1, "A_module_cannot_have_multiple_default_exports_2528", "A module cannot have multiple default exports."), Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions: r3(2529, 1, "Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_func_2529", "Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module containing async functions."), Property_0_is_incompatible_with_index_signature: r3(2530, 1, "Property_0_is_incompatible_with_index_signature_2530", "Property '{0}' is incompatible with index signature."), Object_is_possibly_null: r3(2531, 1, "Object_is_possibly_null_2531", "Object is possibly 'null'."), Object_is_possibly_undefined: r3(2532, 1, "Object_is_possibly_undefined_2532", "Object is possibly 'undefined'."), Object_is_possibly_null_or_undefined: r3(2533, 1, "Object_is_possibly_null_or_undefined_2533", "Object is possibly 'null' or 'undefined'."), A_function_returning_never_cannot_have_a_reachable_end_point: r3(2534, 1, "A_function_returning_never_cannot_have_a_reachable_end_point_2534", "A function returning 'never' cannot have a reachable end point."), Type_0_cannot_be_used_to_index_type_1: r3(2536, 1, "Type_0_cannot_be_used_to_index_type_1_2536", "Type '{0}' cannot be used to index type '{1}'."), Type_0_has_no_matching_index_signature_for_type_1: r3(2537, 1, "Type_0_has_no_matching_index_signature_for_type_1_2537", "Type '{0}' has no matching index signature for type '{1}'."), Type_0_cannot_be_used_as_an_index_type: r3(2538, 1, "Type_0_cannot_be_used_as_an_index_type_2538", "Type '{0}' cannot be used as an index type."), Cannot_assign_to_0_because_it_is_not_a_variable: r3(2539, 1, "Cannot_assign_to_0_because_it_is_not_a_variable_2539", "Cannot assign to '{0}' because it is not a variable."), Cannot_assign_to_0_because_it_is_a_read_only_property: r3(2540, 1, "Cannot_assign_to_0_because_it_is_a_read_only_property_2540", "Cannot assign to '{0}' because it is a read-only property."), Index_signature_in_type_0_only_permits_reading: r3(2542, 1, "Index_signature_in_type_0_only_permits_reading_2542", "Index signature in type '{0}' only permits reading."), Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference: r3(2543, 1, "Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_me_2543", "Duplicate identifier '_newTarget'. Compiler uses variable declaration '_newTarget' to capture 'new.target' meta-property reference."), Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference: r3(2544, 1, "Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta__2544", "Expression resolves to variable declaration '_newTarget' that compiler uses to capture 'new.target' meta-property reference."), A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any: r3(2545, 1, "A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any_2545", "A mixin class must have a constructor with a single rest parameter of type 'any[]'."), The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property: r3(2547, 1, "The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_pro_2547", "The type returned by the '{0}()' method of an async iterator must be a promise for a type with a 'value' property."), Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator: r3(2548, 1, "Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator_2548", "Type '{0}' is not an array type or does not have a '[Symbol.iterator]()' method that returns an iterator."), Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator: r3(2549, 1, "Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns__2549", "Type '{0}' is not an array type or a string type or does not have a '[Symbol.iterator]()' method that returns an iterator."), Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2_or_later: r3(2550, 1, "Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_c_2550", "Property '{0}' does not exist on type '{1}'. Do you need to change your target library? Try changing the 'lib' compiler option to '{2}' or later."), Property_0_does_not_exist_on_type_1_Did_you_mean_2: r3(2551, 1, "Property_0_does_not_exist_on_type_1_Did_you_mean_2_2551", "Property '{0}' does not exist on type '{1}'. Did you mean '{2}'?"), Cannot_find_name_0_Did_you_mean_1: r3(2552, 1, "Cannot_find_name_0_Did_you_mean_1_2552", "Cannot find name '{0}'. Did you mean '{1}'?"), Computed_values_are_not_permitted_in_an_enum_with_string_valued_members: r3(2553, 1, "Computed_values_are_not_permitted_in_an_enum_with_string_valued_members_2553", "Computed values are not permitted in an enum with string valued members."), Expected_0_arguments_but_got_1: r3(2554, 1, "Expected_0_arguments_but_got_1_2554", "Expected {0} arguments, but got {1}."), Expected_at_least_0_arguments_but_got_1: r3(2555, 1, "Expected_at_least_0_arguments_but_got_1_2555", "Expected at least {0} arguments, but got {1}."), A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter: r3(2556, 1, "A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter_2556", "A spread argument must either have a tuple type or be passed to a rest parameter."), Expected_0_type_arguments_but_got_1: r3(2558, 1, "Expected_0_type_arguments_but_got_1_2558", "Expected {0} type arguments, but got {1}."), Type_0_has_no_properties_in_common_with_type_1: r3(2559, 1, "Type_0_has_no_properties_in_common_with_type_1_2559", "Type '{0}' has no properties in common with type '{1}'."), Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it: r3(2560, 1, "Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it_2560", "Value of type '{0}' has no properties in common with type '{1}'. Did you mean to call it?"), Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2: r3(2561, 1, "Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_writ_2561", "Object literal may only specify known properties, but '{0}' does not exist in type '{1}'. Did you mean to write '{2}'?"), Base_class_expressions_cannot_reference_class_type_parameters: r3(2562, 1, "Base_class_expressions_cannot_reference_class_type_parameters_2562", "Base class expressions cannot reference class type parameters."), The_containing_function_or_module_body_is_too_large_for_control_flow_analysis: r3(2563, 1, "The_containing_function_or_module_body_is_too_large_for_control_flow_analysis_2563", "The containing function or module body is too large for control flow analysis."), Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor: r3(2564, 1, "Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor_2564", "Property '{0}' has no initializer and is not definitely assigned in the constructor."), Property_0_is_used_before_being_assigned: r3(2565, 1, "Property_0_is_used_before_being_assigned_2565", "Property '{0}' is used before being assigned."), A_rest_element_cannot_have_a_property_name: r3(2566, 1, "A_rest_element_cannot_have_a_property_name_2566", "A rest element cannot have a property name."), Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations: r3(2567, 1, "Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations_2567", "Enum declarations can only merge with namespace or other enum declarations."), Property_0_may_not_exist_on_type_1_Did_you_mean_2: r3(2568, 1, "Property_0_may_not_exist_on_type_1_Did_you_mean_2_2568", "Property '{0}' may not exist on type '{1}'. Did you mean '{2}'?"), Could_not_find_name_0_Did_you_mean_1: r3(2570, 1, "Could_not_find_name_0_Did_you_mean_1_2570", "Could not find name '{0}'. Did you mean '{1}'?"), Object_is_of_type_unknown: r3(2571, 1, "Object_is_of_type_unknown_2571", "Object is of type 'unknown'."), A_rest_element_type_must_be_an_array_type: r3(2574, 1, "A_rest_element_type_must_be_an_array_type_2574", "A rest element type must be an array type."), No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments: r3(2575, 1, "No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments_2575", "No overload expects {0} arguments, but overloads do exist that expect either {1} or {2} arguments."), Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead: r3(2576, 1, "Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead_2576", "Property '{0}' does not exist on type '{1}'. Did you mean to access the static member '{2}' instead?"), Return_type_annotation_circularly_references_itself: r3(2577, 1, "Return_type_annotation_circularly_references_itself_2577", "Return type annotation circularly references itself."), Unused_ts_expect_error_directive: r3(2578, 1, "Unused_ts_expect_error_directive_2578", "Unused '@ts-expect-error' directive."), Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode: r3(2580, 1, "Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashno_2580", "Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`."), Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery: r3(2581, 1, "Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slash_2581", "Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery`."), Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha: r3(2582, 1, "Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2582", "Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`."), Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_1_or_later: r3(2583, 1, "Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2583", "Cannot find name '{0}'. Do you need to change your target library? Try changing the 'lib' compiler option to '{1}' or later."), Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_include_dom: r3(2584, 1, "Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2584", "Cannot find name '{0}'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'."), _0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later: r3(2585, 1, "_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_2585", "'{0}' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the 'lib' compiler option to es2015 or later."), Cannot_assign_to_0_because_it_is_a_constant: r3(2588, 1, "Cannot_assign_to_0_because_it_is_a_constant_2588", "Cannot assign to '{0}' because it is a constant."), Type_instantiation_is_excessively_deep_and_possibly_infinite: r3(2589, 1, "Type_instantiation_is_excessively_deep_and_possibly_infinite_2589", "Type instantiation is excessively deep and possibly infinite."), Expression_produces_a_union_type_that_is_too_complex_to_represent: r3(2590, 1, "Expression_produces_a_union_type_that_is_too_complex_to_represent_2590", "Expression produces a union type that is too complex to represent."), Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode_and_then_add_node_to_the_types_field_in_your_tsconfig: r3(2591, 1, "Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashno_2591", "Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig."), Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery_and_then_add_jquery_to_the_types_field_in_your_tsconfig: r3(2592, 1, "Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slash_2592", "Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery` and then add 'jquery' to the types field in your tsconfig."), Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha_and_then_add_jest_or_mocha_to_the_types_field_in_your_tsconfig: r3(2593, 1, "Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2593", "Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig."), This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag: r3(2594, 1, "This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag_2594", "This module is declared with 'export =', and can only be used with a default import when using the '{0}' flag."), _0_can_only_be_imported_by_using_a_default_import: r3(2595, 1, "_0_can_only_be_imported_by_using_a_default_import_2595", "'{0}' can only be imported by using a default import."), _0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import: r3(2596, 1, "_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import_2596", "'{0}' can only be imported by turning on the 'esModuleInterop' flag and using a default import."), _0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import: r3(2597, 1, "_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import_2597", "'{0}' can only be imported by using a 'require' call or by using a default import."), _0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import: r3(2598, 1, "_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using__2598", "'{0}' can only be imported by using a 'require' call or by turning on the 'esModuleInterop' flag and using a default import."), JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist: r3(2602, 1, "JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist_2602", "JSX element implicitly has type 'any' because the global type 'JSX.Element' does not exist."), Property_0_in_type_1_is_not_assignable_to_type_2: r3(2603, 1, "Property_0_in_type_1_is_not_assignable_to_type_2_2603", "Property '{0}' in type '{1}' is not assignable to type '{2}'."), JSX_element_type_0_does_not_have_any_construct_or_call_signatures: r3(2604, 1, "JSX_element_type_0_does_not_have_any_construct_or_call_signatures_2604", "JSX element type '{0}' does not have any construct or call signatures."), Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property: r3(2606, 1, "Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property_2606", "Property '{0}' of JSX spread attribute is not assignable to target property."), JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property: r3(2607, 1, "JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property_2607", "JSX element class does not support attributes because it does not have a '{0}' property."), The_global_type_JSX_0_may_not_have_more_than_one_property: r3(2608, 1, "The_global_type_JSX_0_may_not_have_more_than_one_property_2608", "The global type 'JSX.{0}' may not have more than one property."), JSX_spread_child_must_be_an_array_type: r3(2609, 1, "JSX_spread_child_must_be_an_array_type_2609", "JSX spread child must be an array type."), _0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property: r3(2610, 1, "_0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property_2610", "'{0}' is defined as an accessor in class '{1}', but is overridden here in '{2}' as an instance property."), _0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor: r3(2611, 1, "_0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor_2611", "'{0}' is defined as a property in class '{1}', but is overridden here in '{2}' as an accessor."), Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration: r3(2612, 1, "Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_2612", "Property '{0}' will overwrite the base property in '{1}'. If this is intentional, add an initializer. Otherwise, add a 'declare' modifier or remove the redundant declaration."), Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead: r3(2613, 1, "Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead_2613", "Module '{0}' has no default export. Did you mean to use 'import { {1} } from {0}' instead?"), Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead: r3(2614, 1, "Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead_2614", "Module '{0}' has no exported member '{1}'. Did you mean to use 'import {1} from {0}' instead?"), Type_of_property_0_circularly_references_itself_in_mapped_type_1: r3(2615, 1, "Type_of_property_0_circularly_references_itself_in_mapped_type_1_2615", "Type of property '{0}' circularly references itself in mapped type '{1}'."), _0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import: r3(2616, 1, "_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import_2616", "'{0}' can only be imported by using 'import {1} = require({2})' or a default import."), _0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import: r3(2617, 1, "_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_us_2617", "'{0}' can only be imported by using 'import {1} = require({2})' or by turning on the 'esModuleInterop' flag and using a default import."), Source_has_0_element_s_but_target_requires_1: r3(2618, 1, "Source_has_0_element_s_but_target_requires_1_2618", "Source has {0} element(s) but target requires {1}."), Source_has_0_element_s_but_target_allows_only_1: r3(2619, 1, "Source_has_0_element_s_but_target_allows_only_1_2619", "Source has {0} element(s) but target allows only {1}."), Target_requires_0_element_s_but_source_may_have_fewer: r3(2620, 1, "Target_requires_0_element_s_but_source_may_have_fewer_2620", "Target requires {0} element(s) but source may have fewer."), Target_allows_only_0_element_s_but_source_may_have_more: r3(2621, 1, "Target_allows_only_0_element_s_but_source_may_have_more_2621", "Target allows only {0} element(s) but source may have more."), Source_provides_no_match_for_required_element_at_position_0_in_target: r3(2623, 1, "Source_provides_no_match_for_required_element_at_position_0_in_target_2623", "Source provides no match for required element at position {0} in target."), Source_provides_no_match_for_variadic_element_at_position_0_in_target: r3(2624, 1, "Source_provides_no_match_for_variadic_element_at_position_0_in_target_2624", "Source provides no match for variadic element at position {0} in target."), Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target: r3(2625, 1, "Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target_2625", "Variadic element at position {0} in source does not match element at position {1} in target."), Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target: r3(2626, 1, "Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target_2626", "Type at position {0} in source is not compatible with type at position {1} in target."), Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target: r3(2627, 1, "Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target_2627", "Type at positions {0} through {1} in source is not compatible with type at position {2} in target."), Cannot_assign_to_0_because_it_is_an_enum: r3(2628, 1, "Cannot_assign_to_0_because_it_is_an_enum_2628", "Cannot assign to '{0}' because it is an enum."), Cannot_assign_to_0_because_it_is_a_class: r3(2629, 1, "Cannot_assign_to_0_because_it_is_a_class_2629", "Cannot assign to '{0}' because it is a class."), Cannot_assign_to_0_because_it_is_a_function: r3(2630, 1, "Cannot_assign_to_0_because_it_is_a_function_2630", "Cannot assign to '{0}' because it is a function."), Cannot_assign_to_0_because_it_is_a_namespace: r3(2631, 1, "Cannot_assign_to_0_because_it_is_a_namespace_2631", "Cannot assign to '{0}' because it is a namespace."), Cannot_assign_to_0_because_it_is_an_import: r3(2632, 1, "Cannot_assign_to_0_because_it_is_an_import_2632", "Cannot assign to '{0}' because it is an import."), JSX_property_access_expressions_cannot_include_JSX_namespace_names: r3(2633, 1, "JSX_property_access_expressions_cannot_include_JSX_namespace_names_2633", "JSX property access expressions cannot include JSX namespace names"), _0_index_signatures_are_incompatible: r3(2634, 1, "_0_index_signatures_are_incompatible_2634", "'{0}' index signatures are incompatible."), Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable: r3(2635, 1, "Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable_2635", "Type '{0}' has no signatures for which the type argument list is applicable."), Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation: r3(2636, 1, "Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation_2636", "Type '{0}' is not assignable to type '{1}' as implied by variance annotation."), Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_types: r3(2637, 1, "Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_t_2637", "Variance annotations are only supported in type aliases for object, function, constructor, and mapped types."), Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operator: r3(2638, 1, "Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operato_2638", "Type '{0}' may represent a primitive value, which is not permitted as the right operand of the 'in' operator."), React_components_cannot_include_JSX_namespace_names: r3(2639, 1, "React_components_cannot_include_JSX_namespace_names_2639", "React components cannot include JSX namespace names"), Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity: r3(2649, 1, "Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity_2649", "Cannot augment module '{0}' with value exports because it resolves to a non-module entity."), Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1_and_2_more: r3(2650, 1, "Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1_and__2650", "Non-abstract class expression is missing implementations for the following members of '{0}': {1} and {2} more."), A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums: r3(2651, 1, "A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_memb_2651", "A member initializer in a enum declaration cannot reference members declared after it, including members defined in other enums."), Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead: r3(2652, 1, "Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_d_2652", "Merged declaration '{0}' cannot include a default export declaration. Consider adding a separate 'export default {0}' declaration instead."), Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1: r3(2653, 1, "Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1_2653", "Non-abstract class expression does not implement inherited abstract member '{0}' from class '{1}'."), Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2: r3(2654, 1, "Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2_2654", "Non-abstract class '{0}' is missing implementations for the following members of '{1}': {2}."), Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2_and_3_more: r3(2655, 1, "Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2_and_3_more_2655", "Non-abstract class '{0}' is missing implementations for the following members of '{1}': {2} and {3} more."), Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1: r3(2656, 1, "Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1_2656", "Non-abstract class expression is missing implementations for the following members of '{0}': {1}."), JSX_expressions_must_have_one_parent_element: r3(2657, 1, "JSX_expressions_must_have_one_parent_element_2657", "JSX expressions must have one parent element."), Type_0_provides_no_match_for_the_signature_1: r3(2658, 1, "Type_0_provides_no_match_for_the_signature_1_2658", "Type '{0}' provides no match for the signature '{1}'."), super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher: r3(2659, 1, "super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_highe_2659", "'super' is only allowed in members of object literal expressions when option 'target' is 'ES2015' or higher."), super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions: r3(2660, 1, "super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions_2660", "'super' can only be referenced in members of derived classes or object literal expressions."), Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module: r3(2661, 1, "Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module_2661", "Cannot export '{0}'. Only local declarations can be exported from a module."), Cannot_find_name_0_Did_you_mean_the_static_member_1_0: r3(2662, 1, "Cannot_find_name_0_Did_you_mean_the_static_member_1_0_2662", "Cannot find name '{0}'. Did you mean the static member '{1}.{0}'?"), Cannot_find_name_0_Did_you_mean_the_instance_member_this_0: r3(2663, 1, "Cannot_find_name_0_Did_you_mean_the_instance_member_this_0_2663", "Cannot find name '{0}'. Did you mean the instance member 'this.{0}'?"), Invalid_module_name_in_augmentation_module_0_cannot_be_found: r3(2664, 1, "Invalid_module_name_in_augmentation_module_0_cannot_be_found_2664", "Invalid module name in augmentation, module '{0}' cannot be found."), Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented: r3(2665, 1, "Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augm_2665", "Invalid module name in augmentation. Module '{0}' resolves to an untyped module at '{1}', which cannot be augmented."), Exports_and_export_assignments_are_not_permitted_in_module_augmentations: r3(2666, 1, "Exports_and_export_assignments_are_not_permitted_in_module_augmentations_2666", "Exports and export assignments are not permitted in module augmentations."), Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module: r3(2667, 1, "Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_mod_2667", "Imports are not permitted in module augmentations. Consider moving them to the enclosing external module."), export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible: r3(2668, 1, "export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always__2668", "'export' modifier cannot be applied to ambient modules and module augmentations since they are always visible."), Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations: r3(2669, 1, "Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_2669", "Augmentations for the global scope can only be directly nested in external modules or ambient module declarations."), Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context: r3(2670, 1, "Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambien_2670", "Augmentations for the global scope should have 'declare' modifier unless they appear in already ambient context."), Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity: r3(2671, 1, "Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity_2671", "Cannot augment module '{0}' because it resolves to a non-module entity."), Cannot_assign_a_0_constructor_type_to_a_1_constructor_type: r3(2672, 1, "Cannot_assign_a_0_constructor_type_to_a_1_constructor_type_2672", "Cannot assign a '{0}' constructor type to a '{1}' constructor type."), Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration: r3(2673, 1, "Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration_2673", "Constructor of class '{0}' is private and only accessible within the class declaration."), Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration: r3(2674, 1, "Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration_2674", "Constructor of class '{0}' is protected and only accessible within the class declaration."), Cannot_extend_a_class_0_Class_constructor_is_marked_as_private: r3(2675, 1, "Cannot_extend_a_class_0_Class_constructor_is_marked_as_private_2675", "Cannot extend a class '{0}'. Class constructor is marked as private."), Accessors_must_both_be_abstract_or_non_abstract: r3(2676, 1, "Accessors_must_both_be_abstract_or_non_abstract_2676", "Accessors must both be abstract or non-abstract."), A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type: r3(2677, 1, "A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type_2677", "A type predicate's type must be assignable to its parameter's type."), Type_0_is_not_comparable_to_type_1: r3(2678, 1, "Type_0_is_not_comparable_to_type_1_2678", "Type '{0}' is not comparable to type '{1}'."), A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void: r3(2679, 1, "A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void_2679", "A function that is called with the 'new' keyword cannot have a 'this' type that is 'void'."), A_0_parameter_must_be_the_first_parameter: r3(2680, 1, "A_0_parameter_must_be_the_first_parameter_2680", "A '{0}' parameter must be the first parameter."), A_constructor_cannot_have_a_this_parameter: r3(2681, 1, "A_constructor_cannot_have_a_this_parameter_2681", "A constructor cannot have a 'this' parameter."), this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation: r3(2683, 1, "this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_2683", "'this' implicitly has type 'any' because it does not have a type annotation."), The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1: r3(2684, 1, "The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1_2684", "The 'this' context of type '{0}' is not assignable to method's 'this' of type '{1}'."), The_this_types_of_each_signature_are_incompatible: r3(2685, 1, "The_this_types_of_each_signature_are_incompatible_2685", "The 'this' types of each signature are incompatible."), _0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead: r3(2686, 1, "_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead_2686", "'{0}' refers to a UMD global, but the current file is a module. Consider adding an import instead."), All_declarations_of_0_must_have_identical_modifiers: r3(2687, 1, "All_declarations_of_0_must_have_identical_modifiers_2687", "All declarations of '{0}' must have identical modifiers."), Cannot_find_type_definition_file_for_0: r3(2688, 1, "Cannot_find_type_definition_file_for_0_2688", "Cannot find type definition file for '{0}'."), Cannot_extend_an_interface_0_Did_you_mean_implements: r3(2689, 1, "Cannot_extend_an_interface_0_Did_you_mean_implements_2689", "Cannot extend an interface '{0}'. Did you mean 'implements'?"), _0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0: r3(2690, 1, "_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0_2690", "'{0}' only refers to a type, but is being used as a value here. Did you mean to use '{1} in {0}'?"), _0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible: r3(2692, 1, "_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible_2692", "'{0}' is a primitive, but '{1}' is a wrapper object. Prefer using '{0}' when possible."), _0_only_refers_to_a_type_but_is_being_used_as_a_value_here: r3(2693, 1, "_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_2693", "'{0}' only refers to a type, but is being used as a value here."), Namespace_0_has_no_exported_member_1: r3(2694, 1, "Namespace_0_has_no_exported_member_1_2694", "Namespace '{0}' has no exported member '{1}'."), Left_side_of_comma_operator_is_unused_and_has_no_side_effects: r3(2695, 1, "Left_side_of_comma_operator_is_unused_and_has_no_side_effects_2695", "Left side of comma operator is unused and has no side effects.", true), The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead: r3(2696, 1, "The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead_2696", "The 'Object' type is assignable to very few other types. Did you mean to use the 'any' type instead?"), An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option: r3(2697, 1, "An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_in_2697", "An async function or method must return a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your '--lib' option."), Spread_types_may_only_be_created_from_object_types: r3(2698, 1, "Spread_types_may_only_be_created_from_object_types_2698", "Spread types may only be created from object types."), Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1: r3(2699, 1, "Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1_2699", "Static property '{0}' conflicts with built-in property 'Function.{0}' of constructor function '{1}'."), Rest_types_may_only_be_created_from_object_types: r3(2700, 1, "Rest_types_may_only_be_created_from_object_types_2700", "Rest types may only be created from object types."), The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access: r3(2701, 1, "The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access_2701", "The target of an object rest assignment must be a variable or a property access."), _0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here: r3(2702, 1, "_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here_2702", "'{0}' only refers to a type, but is being used as a namespace here."), The_operand_of_a_delete_operator_must_be_a_property_reference: r3(2703, 1, "The_operand_of_a_delete_operator_must_be_a_property_reference_2703", "The operand of a 'delete' operator must be a property reference."), The_operand_of_a_delete_operator_cannot_be_a_read_only_property: r3(2704, 1, "The_operand_of_a_delete_operator_cannot_be_a_read_only_property_2704", "The operand of a 'delete' operator cannot be a read-only property."), An_async_function_or_method_in_ES5_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option: r3(2705, 1, "An_async_function_or_method_in_ES5_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_2705", "An async function or method in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option."), Required_type_parameters_may_not_follow_optional_type_parameters: r3(2706, 1, "Required_type_parameters_may_not_follow_optional_type_parameters_2706", "Required type parameters may not follow optional type parameters."), Generic_type_0_requires_between_1_and_2_type_arguments: r3(2707, 1, "Generic_type_0_requires_between_1_and_2_type_arguments_2707", "Generic type '{0}' requires between {1} and {2} type arguments."), Cannot_use_namespace_0_as_a_value: r3(2708, 1, "Cannot_use_namespace_0_as_a_value_2708", "Cannot use namespace '{0}' as a value."), Cannot_use_namespace_0_as_a_type: r3(2709, 1, "Cannot_use_namespace_0_as_a_type_2709", "Cannot use namespace '{0}' as a type."), _0_are_specified_twice_The_attribute_named_0_will_be_overwritten: r3(2710, 1, "_0_are_specified_twice_The_attribute_named_0_will_be_overwritten_2710", "'{0}' are specified twice. The attribute named '{0}' will be overwritten."), A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option: r3(2711, 1, "A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES20_2711", "A dynamic import call returns a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your '--lib' option."), A_dynamic_import_call_in_ES5_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option: r3(2712, 1, "A_dynamic_import_call_in_ES5_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_t_2712", "A dynamic import call in ES5 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option."), Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1: r3(2713, 1, "Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_p_2713", `Cannot access '{0}.{1}' because '{0}' is a type, but not a namespace. Did you mean to retrieve the type of the property '{1}' in '{0}' with '{0}["{1}"]'?`), The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context: r3(2714, 1, "The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context_2714", "The expression of an export assignment must be an identifier or qualified name in an ambient context."), Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor: r3(2715, 1, "Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor_2715", "Abstract property '{0}' in class '{1}' cannot be accessed in the constructor."), Type_parameter_0_has_a_circular_default: r3(2716, 1, "Type_parameter_0_has_a_circular_default_2716", "Type parameter '{0}' has a circular default."), Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2: r3(2717, 1, "Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_t_2717", "Subsequent property declarations must have the same type. Property '{0}' must be of type '{1}', but here has type '{2}'."), Duplicate_property_0: r3(2718, 1, "Duplicate_property_0_2718", "Duplicate property '{0}'."), Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated: r3(2719, 1, "Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated_2719", "Type '{0}' is not assignable to type '{1}'. Two different types with this name exist, but they are unrelated."), Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass: r3(2720, 1, "Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclas_2720", "Class '{0}' incorrectly implements class '{1}'. Did you mean to extend '{1}' and inherit its members as a subclass?"), Cannot_invoke_an_object_which_is_possibly_null: r3(2721, 1, "Cannot_invoke_an_object_which_is_possibly_null_2721", "Cannot invoke an object which is possibly 'null'."), Cannot_invoke_an_object_which_is_possibly_undefined: r3(2722, 1, "Cannot_invoke_an_object_which_is_possibly_undefined_2722", "Cannot invoke an object which is possibly 'undefined'."), Cannot_invoke_an_object_which_is_possibly_null_or_undefined: r3(2723, 1, "Cannot_invoke_an_object_which_is_possibly_null_or_undefined_2723", "Cannot invoke an object which is possibly 'null' or 'undefined'."), _0_has_no_exported_member_named_1_Did_you_mean_2: r3(2724, 1, "_0_has_no_exported_member_named_1_Did_you_mean_2_2724", "'{0}' has no exported member named '{1}'. Did you mean '{2}'?"), Class_name_cannot_be_Object_when_targeting_ES5_and_above_with_module_0: r3(2725, 1, "Class_name_cannot_be_Object_when_targeting_ES5_and_above_with_module_0_2725", "Class name cannot be 'Object' when targeting ES5 and above with module {0}."), Cannot_find_lib_definition_for_0: r3(2726, 1, "Cannot_find_lib_definition_for_0_2726", "Cannot find lib definition for '{0}'."), Cannot_find_lib_definition_for_0_Did_you_mean_1: r3(2727, 1, "Cannot_find_lib_definition_for_0_Did_you_mean_1_2727", "Cannot find lib definition for '{0}'. Did you mean '{1}'?"), _0_is_declared_here: r3(2728, 3, "_0_is_declared_here_2728", "'{0}' is declared here."), Property_0_is_used_before_its_initialization: r3(2729, 1, "Property_0_is_used_before_its_initialization_2729", "Property '{0}' is used before its initialization."), An_arrow_function_cannot_have_a_this_parameter: r3(2730, 1, "An_arrow_function_cannot_have_a_this_parameter_2730", "An arrow function cannot have a 'this' parameter."), Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String: r3(2731, 1, "Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_i_2731", "Implicit conversion of a 'symbol' to a 'string' will fail at runtime. Consider wrapping this expression in 'String(...)'."), Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension: r3(2732, 1, "Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension_2732", "Cannot find module '{0}'. Consider using '--resolveJsonModule' to import module with '.json' extension."), Property_0_was_also_declared_here: r3(2733, 1, "Property_0_was_also_declared_here_2733", "Property '{0}' was also declared here."), Are_you_missing_a_semicolon: r3(2734, 1, "Are_you_missing_a_semicolon_2734", "Are you missing a semicolon?"), Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1: r3(2735, 1, "Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1_2735", "Did you mean for '{0}' to be constrained to type 'new (...args: any[]) => {1}'?"), Operator_0_cannot_be_applied_to_type_1: r3(2736, 1, "Operator_0_cannot_be_applied_to_type_1_2736", "Operator '{0}' cannot be applied to type '{1}'."), BigInt_literals_are_not_available_when_targeting_lower_than_ES2020: r3(2737, 1, "BigInt_literals_are_not_available_when_targeting_lower_than_ES2020_2737", "BigInt literals are not available when targeting lower than ES2020."), An_outer_value_of_this_is_shadowed_by_this_container: r3(2738, 3, "An_outer_value_of_this_is_shadowed_by_this_container_2738", "An outer value of 'this' is shadowed by this container."), Type_0_is_missing_the_following_properties_from_type_1_Colon_2: r3(2739, 1, "Type_0_is_missing_the_following_properties_from_type_1_Colon_2_2739", "Type '{0}' is missing the following properties from type '{1}': {2}"), Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more: r3(2740, 1, "Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more_2740", "Type '{0}' is missing the following properties from type '{1}': {2}, and {3} more."), Property_0_is_missing_in_type_1_but_required_in_type_2: r3(2741, 1, "Property_0_is_missing_in_type_1_but_required_in_type_2_2741", "Property '{0}' is missing in type '{1}' but required in type '{2}'."), The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary: r3(2742, 1, "The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_a_2742", "The inferred type of '{0}' cannot be named without a reference to '{1}'. This is likely not portable. A type annotation is necessary."), No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments: r3(2743, 1, "No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments_2743", "No overload expects {0} type arguments, but overloads do exist that expect either {1} or {2} type arguments."), Type_parameter_defaults_can_only_reference_previously_declared_type_parameters: r3(2744, 1, "Type_parameter_defaults_can_only_reference_previously_declared_type_parameters_2744", "Type parameter defaults can only reference previously declared type parameters."), This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided: r3(2745, 1, "This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745", "This JSX tag's '{0}' prop expects type '{1}' which requires multiple children, but only a single child was provided."), This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided: r3(2746, 1, "This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746", "This JSX tag's '{0}' prop expects a single child of type '{1}', but multiple children were provided."), _0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2: r3(2747, 1, "_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_t_2747", "'{0}' components don't accept text as child elements. Text in JSX has the type 'string', but the expected type of '{1}' is '{2}'."), Cannot_access_ambient_const_enums_when_0_is_enabled: r3(2748, 1, "Cannot_access_ambient_const_enums_when_0_is_enabled_2748", "Cannot access ambient const enums when '{0}' is enabled."), _0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0: r3(2749, 1, "_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0_2749", "'{0}' refers to a value, but is being used as a type here. Did you mean 'typeof {0}'?"), The_implementation_signature_is_declared_here: r3(2750, 1, "The_implementation_signature_is_declared_here_2750", "The implementation signature is declared here."), Circularity_originates_in_type_at_this_location: r3(2751, 1, "Circularity_originates_in_type_at_this_location_2751", "Circularity originates in type at this location."), The_first_export_default_is_here: r3(2752, 1, "The_first_export_default_is_here_2752", "The first export default is here."), Another_export_default_is_here: r3(2753, 1, "Another_export_default_is_here_2753", "Another export default is here."), super_may_not_use_type_arguments: r3(2754, 1, "super_may_not_use_type_arguments_2754", "'super' may not use type arguments."), No_constituent_of_type_0_is_callable: r3(2755, 1, "No_constituent_of_type_0_is_callable_2755", "No constituent of type '{0}' is callable."), Not_all_constituents_of_type_0_are_callable: r3(2756, 1, "Not_all_constituents_of_type_0_are_callable_2756", "Not all constituents of type '{0}' are callable."), Type_0_has_no_call_signatures: r3(2757, 1, "Type_0_has_no_call_signatures_2757", "Type '{0}' has no call signatures."), Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other: r3(2758, 1, "Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_2758", "Each member of the union type '{0}' has signatures, but none of those signatures are compatible with each other."), No_constituent_of_type_0_is_constructable: r3(2759, 1, "No_constituent_of_type_0_is_constructable_2759", "No constituent of type '{0}' is constructable."), Not_all_constituents_of_type_0_are_constructable: r3(2760, 1, "Not_all_constituents_of_type_0_are_constructable_2760", "Not all constituents of type '{0}' are constructable."), Type_0_has_no_construct_signatures: r3(2761, 1, "Type_0_has_no_construct_signatures_2761", "Type '{0}' has no construct signatures."), Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other: r3(2762, 1, "Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_2762", "Each member of the union type '{0}' has construct signatures, but none of those signatures are compatible with each other."), Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0: r3(2763, 1, "Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_s_2763", "Cannot iterate value because the 'next' method of its iterator expects type '{1}', but for-of will always send '{0}'."), Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0: r3(2764, 1, "Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_al_2764", "Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array spread will always send '{0}'."), Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0: r3(2765, 1, "Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring__2765", "Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array destructuring will always send '{0}'."), Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_containing_generator_will_always_send_0: r3(2766, 1, "Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_co_2766", "Cannot delegate iteration to value because the 'next' method of its iterator expects type '{1}', but the containing generator will always send '{0}'."), The_0_property_of_an_iterator_must_be_a_method: r3(2767, 1, "The_0_property_of_an_iterator_must_be_a_method_2767", "The '{0}' property of an iterator must be a method."), The_0_property_of_an_async_iterator_must_be_a_method: r3(2768, 1, "The_0_property_of_an_async_iterator_must_be_a_method_2768", "The '{0}' property of an async iterator must be a method."), No_overload_matches_this_call: r3(2769, 1, "No_overload_matches_this_call_2769", "No overload matches this call."), The_last_overload_gave_the_following_error: r3(2770, 1, "The_last_overload_gave_the_following_error_2770", "The last overload gave the following error."), The_last_overload_is_declared_here: r3(2771, 1, "The_last_overload_is_declared_here_2771", "The last overload is declared here."), Overload_0_of_1_2_gave_the_following_error: r3(2772, 1, "Overload_0_of_1_2_gave_the_following_error_2772", "Overload {0} of {1}, '{2}', gave the following error."), Did_you_forget_to_use_await: r3(2773, 1, "Did_you_forget_to_use_await_2773", "Did you forget to use 'await'?"), This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead: r3(2774, 1, "This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774", "This condition will always return true since this function is always defined. Did you mean to call it instead?"), Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation: r3(2775, 1, "Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation_2775", "Assertions require every name in the call target to be declared with an explicit type annotation."), Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name: r3(2776, 1, "Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name_2776", "Assertions require the call target to be an identifier or qualified name."), The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access: r3(2777, 1, "The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access_2777", "The operand of an increment or decrement operator may not be an optional property access."), The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access: r3(2778, 1, "The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access_2778", "The target of an object rest assignment may not be an optional property access."), The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access: r3(2779, 1, "The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access_2779", "The left-hand side of an assignment expression may not be an optional property access."), The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access: r3(2780, 1, "The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access_2780", "The left-hand side of a 'for...in' statement may not be an optional property access."), The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access: r3(2781, 1, "The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access_2781", "The left-hand side of a 'for...of' statement may not be an optional property access."), _0_needs_an_explicit_type_annotation: r3(2782, 3, "_0_needs_an_explicit_type_annotation_2782", "'{0}' needs an explicit type annotation."), _0_is_specified_more_than_once_so_this_usage_will_be_overwritten: r3(2783, 1, "_0_is_specified_more_than_once_so_this_usage_will_be_overwritten_2783", "'{0}' is specified more than once, so this usage will be overwritten."), get_and_set_accessors_cannot_declare_this_parameters: r3(2784, 1, "get_and_set_accessors_cannot_declare_this_parameters_2784", "'get' and 'set' accessors cannot declare 'this' parameters."), This_spread_always_overwrites_this_property: r3(2785, 1, "This_spread_always_overwrites_this_property_2785", "This spread always overwrites this property."), _0_cannot_be_used_as_a_JSX_component: r3(2786, 1, "_0_cannot_be_used_as_a_JSX_component_2786", "'{0}' cannot be used as a JSX component."), Its_return_type_0_is_not_a_valid_JSX_element: r3(2787, 1, "Its_return_type_0_is_not_a_valid_JSX_element_2787", "Its return type '{0}' is not a valid JSX element."), Its_instance_type_0_is_not_a_valid_JSX_element: r3(2788, 1, "Its_instance_type_0_is_not_a_valid_JSX_element_2788", "Its instance type '{0}' is not a valid JSX element."), Its_element_type_0_is_not_a_valid_JSX_element: r3(2789, 1, "Its_element_type_0_is_not_a_valid_JSX_element_2789", "Its element type '{0}' is not a valid JSX element."), The_operand_of_a_delete_operator_must_be_optional: r3(2790, 1, "The_operand_of_a_delete_operator_must_be_optional_2790", "The operand of a 'delete' operator must be optional."), Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_later: r3(2791, 1, "Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_lat_2791", "Exponentiation cannot be performed on 'bigint' values unless the 'target' option is set to 'es2016' or later."), Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_to_the_paths_option: r3(2792, 1, "Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_t_2792", "Cannot find module '{0}'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?"), The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible: r3(2793, 1, "The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_2793", "The call would have succeeded against this implementation, but implementation signatures of overloads are not externally visible."), Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise: r3(2794, 1, "Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise_2794", "Expected {0} arguments, but got {1}. Did you forget to include 'void' in your type argument to 'Promise'?"), The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types: r3(2795, 1, "The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types_2795", "The 'intrinsic' keyword can only be used to declare compiler provided intrinsic types."), It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tagged_template_expression_which_cannot_be_invoked: r3(2796, 1, "It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tag_2796", "It is likely that you are missing a comma to separate these two template expressions. They form a tagged template expression which cannot be invoked."), A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_be_declared_abstract: r3(2797, 1, "A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_2797", "A mixin class that extends from a type variable containing an abstract construct signature must also be declared 'abstract'."), The_declaration_was_marked_as_deprecated_here: r3(2798, 1, "The_declaration_was_marked_as_deprecated_here_2798", "The declaration was marked as deprecated here."), Type_produces_a_tuple_type_that_is_too_large_to_represent: r3(2799, 1, "Type_produces_a_tuple_type_that_is_too_large_to_represent_2799", "Type produces a tuple type that is too large to represent."), Expression_produces_a_tuple_type_that_is_too_large_to_represent: r3(2800, 1, "Expression_produces_a_tuple_type_that_is_too_large_to_represent_2800", "Expression produces a tuple type that is too large to represent."), This_condition_will_always_return_true_since_this_0_is_always_defined: r3(2801, 1, "This_condition_will_always_return_true_since_this_0_is_always_defined_2801", "This condition will always return true since this '{0}' is always defined."), Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher: r3(2802, 1, "Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es201_2802", "Type '{0}' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher."), Cannot_assign_to_private_method_0_Private_methods_are_not_writable: r3(2803, 1, "Cannot_assign_to_private_method_0_Private_methods_are_not_writable_2803", "Cannot assign to private method '{0}'. Private methods are not writable."), Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name: r3(2804, 1, "Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name_2804", "Duplicate identifier '{0}'. Static and instance elements cannot share the same private name."), Private_accessor_was_defined_without_a_getter: r3(2806, 1, "Private_accessor_was_defined_without_a_getter_2806", "Private accessor was defined without a getter."), This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0: r3(2807, 1, "This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_o_2807", "This syntax requires an imported helper named '{1}' with {2} parameters, which is not compatible with the one in '{0}'. Consider upgrading your version of '{0}'."), A_get_accessor_must_be_at_least_as_accessible_as_the_setter: r3(2808, 1, "A_get_accessor_must_be_at_least_as_accessible_as_the_setter_2808", "A get accessor must be at least as accessible as the setter"), Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_destructuring_assignment_you_might_need_to_wrap_the_whole_assignment_in_parentheses: r3(2809, 1, "Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_d_2809", "Declaration or statement expected. This '=' follows a block of statements, so if you intended to write a destructuring assignment, you might need to wrap the whole assignment in parentheses."), Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_without_arguments: r3(2810, 1, "Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_2810", "Expected 1 argument, but got 0. 'new Promise()' needs a JSDoc hint to produce a 'resolve' that can be called without arguments."), Initializer_for_property_0: r3(2811, 1, "Initializer_for_property_0_2811", "Initializer for property '{0}'"), Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom: r3(2812, 1, "Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom_2812", "Property '{0}' does not exist on type '{1}'. Try changing the 'lib' compiler option to include 'dom'."), Class_declaration_cannot_implement_overload_list_for_0: r3(2813, 1, "Class_declaration_cannot_implement_overload_list_for_0_2813", "Class declaration cannot implement overload list for '{0}'."), Function_with_bodies_can_only_merge_with_classes_that_are_ambient: r3(2814, 1, "Function_with_bodies_can_only_merge_with_classes_that_are_ambient_2814", "Function with bodies can only merge with classes that are ambient."), arguments_cannot_be_referenced_in_property_initializers_or_class_static_initialization_blocks: r3(2815, 1, "arguments_cannot_be_referenced_in_property_initializers_or_class_static_initialization_blocks_2815", "'arguments' cannot be referenced in property initializers or class static initialization blocks."), Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class: r3(2816, 1, "Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class_2816", "Cannot use 'this' in a static property initializer of a decorated class."), Property_0_has_no_initializer_and_is_not_definitely_assigned_in_a_class_static_block: r3(2817, 1, "Property_0_has_no_initializer_and_is_not_definitely_assigned_in_a_class_static_block_2817", "Property '{0}' has no initializer and is not definitely assigned in a class static block."), Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializers: r3(2818, 1, "Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializer_2818", "Duplicate identifier '{0}'. Compiler reserves name '{1}' when emitting 'super' references in static initializers."), Namespace_name_cannot_be_0: r3(2819, 1, "Namespace_name_cannot_be_0_2819", "Namespace name cannot be '{0}'."), Type_0_is_not_assignable_to_type_1_Did_you_mean_2: r3(2820, 1, "Type_0_is_not_assignable_to_type_1_Did_you_mean_2_2820", "Type '{0}' is not assignable to type '{1}'. Did you mean '{2}'?"), Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_node18_node20_nodenext_or_preserve: r3(2821, 1, "Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_node18_node20_nodenext__2821", "Import assertions are only supported when the '--module' option is set to 'esnext', 'node18', 'node20', 'nodenext', or 'preserve'."), Import_assertions_cannot_be_used_with_type_only_imports_or_exports: r3(2822, 1, "Import_assertions_cannot_be_used_with_type_only_imports_or_exports_2822", "Import assertions cannot be used with type-only imports or exports."), Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_node18_node20_nodenext_or_preserve: r3(2823, 1, "Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_node18_node20_nodenext__2823", "Import attributes are only supported when the '--module' option is set to 'esnext', 'node18', 'node20', 'nodenext', or 'preserve'."), Cannot_find_namespace_0_Did_you_mean_1: r3(2833, 1, "Cannot_find_namespace_0_Did_you_mean_1_2833", "Cannot find namespace '{0}'. Did you mean '{1}'?"), Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_node16_or_nodenext_Consider_adding_an_extension_to_the_import_path: r3(2834, 1, "Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_n_2834", "Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Consider adding an extension to the import path."), Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_node16_or_nodenext_Did_you_mean_0: r3(2835, 1, "Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_n_2835", "Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean '{0}'?"), Import_assertions_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls: r3(2836, 1, "Import_assertions_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls_2836", "Import assertions are not allowed on statements that compile to CommonJS 'require' calls."), Import_assertion_values_must_be_string_literal_expressions: r3(2837, 1, "Import_assertion_values_must_be_string_literal_expressions_2837", "Import assertion values must be string literal expressions."), All_declarations_of_0_must_have_identical_constraints: r3(2838, 1, "All_declarations_of_0_must_have_identical_constraints_2838", "All declarations of '{0}' must have identical constraints."), This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value: r3(2839, 1, "This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value_2839", "This condition will always return '{0}' since JavaScript compares objects by reference, not value."), An_interface_cannot_extend_a_primitive_type_like_0_It_can_only_extend_other_named_object_types: r3(2840, 1, "An_interface_cannot_extend_a_primitive_type_like_0_It_can_only_extend_other_named_object_types_2840", "An interface cannot extend a primitive type like '{0}'. It can only extend other named object types."), _0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation: r3(2842, 1, "_0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation_2842", "'{0}' is an unused renaming of '{1}'. Did you intend to use it as a type annotation?"), We_can_only_write_a_type_for_0_by_adding_a_type_for_the_entire_parameter_here: r3(2843, 1, "We_can_only_write_a_type_for_0_by_adding_a_type_for_the_entire_parameter_here_2843", "We can only write a type for '{0}' by adding a type for the entire parameter here."), Type_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor: r3(2844, 1, "Type_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor_2844", "Type of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor."), This_condition_will_always_return_0: r3(2845, 1, "This_condition_will_always_return_0_2845", "This condition will always return '{0}'."), A_declaration_file_cannot_be_imported_without_import_type_Did_you_mean_to_import_an_implementation_file_0_instead: r3(2846, 1, "A_declaration_file_cannot_be_imported_without_import_type_Did_you_mean_to_import_an_implementation_f_2846", "A declaration file cannot be imported without 'import type'. Did you mean to import an implementation file '{0}' instead?"), The_right_hand_side_of_an_instanceof_expression_must_not_be_an_instantiation_expression: r3(2848, 1, "The_right_hand_side_of_an_instanceof_expression_must_not_be_an_instantiation_expression_2848", "The right-hand side of an 'instanceof' expression must not be an instantiation expression."), Target_signature_provides_too_few_arguments_Expected_0_or_more_but_got_1: r3(2849, 1, "Target_signature_provides_too_few_arguments_Expected_0_or_more_but_got_1_2849", "Target signature provides too few arguments. Expected {0} or more, but got {1}."), The_initializer_of_a_using_declaration_must_be_either_an_object_with_a_Symbol_dispose_method_or_be_null_or_undefined: r3(2850, 1, "The_initializer_of_a_using_declaration_must_be_either_an_object_with_a_Symbol_dispose_method_or_be_n_2850", "The initializer of a 'using' declaration must be either an object with a '[Symbol.dispose]()' method, or be 'null' or 'undefined'."), The_initializer_of_an_await_using_declaration_must_be_either_an_object_with_a_Symbol_asyncDispose_or_Symbol_dispose_method_or_be_null_or_undefined: r3(2851, 1, "The_initializer_of_an_await_using_declaration_must_be_either_an_object_with_a_Symbol_asyncDispose_or_2851", "The initializer of an 'await using' declaration must be either an object with a '[Symbol.asyncDispose]()' or '[Symbol.dispose]()' method, or be 'null' or 'undefined'."), await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules: r3(2852, 1, "await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_2852", "'await using' statements are only allowed within async functions and at the top levels of modules."), await_using_statements_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module: r3(2853, 1, "await_using_statements_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_th_2853", "'await using' statements are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."), Top_level_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_node18_node20_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher: r3(2854, 1, "Top_level_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_sys_2854", "Top-level 'await using' statements are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'node18', 'node20', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher."), Class_field_0_defined_by_the_parent_class_is_not_accessible_in_the_child_class_via_super: r3(2855, 1, "Class_field_0_defined_by_the_parent_class_is_not_accessible_in_the_child_class_via_super_2855", "Class field '{0}' defined by the parent class is not accessible in the child class via super."), Import_attributes_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls: r3(2856, 1, "Import_attributes_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls_2856", "Import attributes are not allowed on statements that compile to CommonJS 'require' calls."), Import_attributes_cannot_be_used_with_type_only_imports_or_exports: r3(2857, 1, "Import_attributes_cannot_be_used_with_type_only_imports_or_exports_2857", "Import attributes cannot be used with type-only imports or exports."), Import_attribute_values_must_be_string_literal_expressions: r3(2858, 1, "Import_attribute_values_must_be_string_literal_expressions_2858", "Import attribute values must be string literal expressions."), Excessive_complexity_comparing_types_0_and_1: r3(2859, 1, "Excessive_complexity_comparing_types_0_and_1_2859", "Excessive complexity comparing types '{0}' and '{1}'."), The_left_hand_side_of_an_instanceof_expression_must_be_assignable_to_the_first_argument_of_the_right_hand_side_s_Symbol_hasInstance_method: r3(2860, 1, "The_left_hand_side_of_an_instanceof_expression_must_be_assignable_to_the_first_argument_of_the_right_2860", "The left-hand side of an 'instanceof' expression must be assignable to the first argument of the right-hand side's '[Symbol.hasInstance]' method."), An_object_s_Symbol_hasInstance_method_must_return_a_boolean_value_for_it_to_be_used_on_the_right_hand_side_of_an_instanceof_expression: r3(2861, 1, "An_object_s_Symbol_hasInstance_method_must_return_a_boolean_value_for_it_to_be_used_on_the_right_han_2861", "An object's '[Symbol.hasInstance]' method must return a boolean value for it to be used on the right-hand side of an 'instanceof' expression."), Type_0_is_generic_and_can_only_be_indexed_for_reading: r3(2862, 1, "Type_0_is_generic_and_can_only_be_indexed_for_reading_2862", "Type '{0}' is generic and can only be indexed for reading."), A_class_cannot_extend_a_primitive_type_like_0_Classes_can_only_extend_constructable_values: r3(2863, 1, "A_class_cannot_extend_a_primitive_type_like_0_Classes_can_only_extend_constructable_values_2863", "A class cannot extend a primitive type like '{0}'. Classes can only extend constructable values."), A_class_cannot_implement_a_primitive_type_like_0_It_can_only_implement_other_named_object_types: r3(2864, 1, "A_class_cannot_implement_a_primitive_type_like_0_It_can_only_implement_other_named_object_types_2864", "A class cannot implement a primitive type like '{0}'. It can only implement other named object types."), Import_0_conflicts_with_local_value_so_must_be_declared_with_a_type_only_import_when_isolatedModules_is_enabled: r3(2865, 1, "Import_0_conflicts_with_local_value_so_must_be_declared_with_a_type_only_import_when_isolatedModules_2865", "Import '{0}' conflicts with local value, so must be declared with a type-only import when 'isolatedModules' is enabled."), Import_0_conflicts_with_global_value_used_in_this_file_so_must_be_declared_with_a_type_only_import_when_isolatedModules_is_enabled: r3(2866, 1, "Import_0_conflicts_with_global_value_used_in_this_file_so_must_be_declared_with_a_type_only_import_w_2866", "Import '{0}' conflicts with global value used in this file, so must be declared with a type-only import when 'isolatedModules' is enabled."), Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_Bun_Try_npm_i_save_dev_types_Slashbun: r3(2867, 1, "Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_Bun_Try_npm_i_save_dev_types_Slashbun_2867", "Cannot find name '{0}'. Do you need to install type definitions for Bun? Try `npm i --save-dev @types/bun`."), Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_Bun_Try_npm_i_save_dev_types_Slashbun_and_then_add_bun_to_the_types_field_in_your_tsconfig: r3(2868, 1, "Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_Bun_Try_npm_i_save_dev_types_Slashbun_2868", "Cannot find name '{0}'. Do you need to install type definitions for Bun? Try `npm i --save-dev @types/bun` and then add 'bun' to the types field in your tsconfig."), Right_operand_of_is_unreachable_because_the_left_operand_is_never_nullish: r3(2869, 1, "Right_operand_of_is_unreachable_because_the_left_operand_is_never_nullish_2869", "Right operand of ?? is unreachable because the left operand is never nullish."), This_binary_expression_is_never_nullish_Are_you_missing_parentheses: r3(2870, 1, "This_binary_expression_is_never_nullish_Are_you_missing_parentheses_2870", "This binary expression is never nullish. Are you missing parentheses?"), This_expression_is_always_nullish: r3(2871, 1, "This_expression_is_always_nullish_2871", "This expression is always nullish."), This_kind_of_expression_is_always_truthy: r3(2872, 1, "This_kind_of_expression_is_always_truthy_2872", "This kind of expression is always truthy."), This_kind_of_expression_is_always_falsy: r3(2873, 1, "This_kind_of_expression_is_always_falsy_2873", "This kind of expression is always falsy."), This_JSX_tag_requires_0_to_be_in_scope_but_it_could_not_be_found: r3(2874, 1, "This_JSX_tag_requires_0_to_be_in_scope_but_it_could_not_be_found_2874", "This JSX tag requires '{0}' to be in scope, but it could not be found."), This_JSX_tag_requires_the_module_path_0_to_exist_but_none_could_be_found_Make_sure_you_have_types_for_the_appropriate_package_installed: r3(2875, 1, "This_JSX_tag_requires_the_module_path_0_to_exist_but_none_could_be_found_Make_sure_you_have_types_fo_2875", "This JSX tag requires the module path '{0}' to exist, but none could be found. Make sure you have types for the appropriate package installed."), This_relative_import_path_is_unsafe_to_rewrite_because_it_looks_like_a_file_name_but_actually_resolves_to_0: r3(2876, 1, "This_relative_import_path_is_unsafe_to_rewrite_because_it_looks_like_a_file_name_but_actually_resolv_2876", 'This relative import path is unsafe to rewrite because it looks like a file name, but actually resolves to "{0}".'), This_import_uses_a_0_extension_to_resolve_to_an_input_TypeScript_file_but_will_not_be_rewritten_during_emit_because_it_is_not_a_relative_path: r3(2877, 1, "This_import_uses_a_0_extension_to_resolve_to_an_input_TypeScript_file_but_will_not_be_rewritten_duri_2877", "This import uses a '{0}' extension to resolve to an input TypeScript file, but will not be rewritten during emit because it is not a relative path."), This_import_path_is_unsafe_to_rewrite_because_it_resolves_to_another_project_and_the_relative_path_between_the_projects_output_files_is_not_the_same_as_the_relative_path_between_its_input_files: r3(2878, 1, "This_import_path_is_unsafe_to_rewrite_because_it_resolves_to_another_project_and_the_relative_path_b_2878", "This import path is unsafe to rewrite because it resolves to another project, and the relative path between the projects' output files is not the same as the relative path between its input files."), Using_JSX_fragments_requires_fragment_factory_0_to_be_in_scope_but_it_could_not_be_found: r3(2879, 1, "Using_JSX_fragments_requires_fragment_factory_0_to_be_in_scope_but_it_could_not_be_found_2879", "Using JSX fragments requires fragment factory '{0}' to be in scope, but it could not be found."), Import_assertions_have_been_replaced_by_import_attributes_Use_with_instead_of_assert: r3(2880, 1, "Import_assertions_have_been_replaced_by_import_attributes_Use_with_instead_of_assert_2880", "Import assertions have been replaced by import attributes. Use 'with' instead of 'assert'."), This_expression_is_never_nullish: r3(2881, 1, "This_expression_is_never_nullish_2881", "This expression is never nullish."), Import_declaration_0_is_using_private_name_1: r3(4e3, 1, "Import_declaration_0_is_using_private_name_1_4000", "Import declaration '{0}' is using private name '{1}'."), Type_parameter_0_of_exported_class_has_or_is_using_private_name_1: r3(4002, 1, "Type_parameter_0_of_exported_class_has_or_is_using_private_name_1_4002", "Type parameter '{0}' of exported class has or is using private name '{1}'."), Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1: r3(4004, 1, "Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1_4004", "Type parameter '{0}' of exported interface has or is using private name '{1}'."), Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1: r3(4006, 1, "Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4006", "Type parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."), Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1: r3(4008, 1, "Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4008", "Type parameter '{0}' of call signature from exported interface has or is using private name '{1}'."), Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1: r3(4010, 1, "Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4010", "Type parameter '{0}' of public static method from exported class has or is using private name '{1}'."), Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1: r3(4012, 1, "Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4012", "Type parameter '{0}' of public method from exported class has or is using private name '{1}'."), Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1: r3(4014, 1, "Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4014", "Type parameter '{0}' of method from exported interface has or is using private name '{1}'."), Type_parameter_0_of_exported_function_has_or_is_using_private_name_1: r3(4016, 1, "Type_parameter_0_of_exported_function_has_or_is_using_private_name_1_4016", "Type parameter '{0}' of exported function has or is using private name '{1}'."), Implements_clause_of_exported_class_0_has_or_is_using_private_name_1: r3(4019, 1, "Implements_clause_of_exported_class_0_has_or_is_using_private_name_1_4019", "Implements clause of exported class '{0}' has or is using private name '{1}'."), extends_clause_of_exported_class_0_has_or_is_using_private_name_1: r3(4020, 1, "extends_clause_of_exported_class_0_has_or_is_using_private_name_1_4020", "'extends' clause of exported class '{0}' has or is using private name '{1}'."), extends_clause_of_exported_class_has_or_is_using_private_name_0: r3(4021, 1, "extends_clause_of_exported_class_has_or_is_using_private_name_0_4021", "'extends' clause of exported class has or is using private name '{0}'."), extends_clause_of_exported_interface_0_has_or_is_using_private_name_1: r3(4022, 1, "extends_clause_of_exported_interface_0_has_or_is_using_private_name_1_4022", "'extends' clause of exported interface '{0}' has or is using private name '{1}'."), Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: r3(4023, 1, "Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4023", "Exported variable '{0}' has or is using name '{1}' from external module {2} but cannot be named."), Exported_variable_0_has_or_is_using_name_1_from_private_module_2: r3(4024, 1, "Exported_variable_0_has_or_is_using_name_1_from_private_module_2_4024", "Exported variable '{0}' has or is using name '{1}' from private module '{2}'."), Exported_variable_0_has_or_is_using_private_name_1: r3(4025, 1, "Exported_variable_0_has_or_is_using_private_name_1_4025", "Exported variable '{0}' has or is using private name '{1}'."), Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: r3(4026, 1, "Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot__4026", "Public static property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."), Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2: r3(4027, 1, "Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4027", "Public static property '{0}' of exported class has or is using name '{1}' from private module '{2}'."), Public_static_property_0_of_exported_class_has_or_is_using_private_name_1: r3(4028, 1, "Public_static_property_0_of_exported_class_has_or_is_using_private_name_1_4028", "Public static property '{0}' of exported class has or is using private name '{1}'."), Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: r3(4029, 1, "Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_name_4029", "Public property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."), Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2: r3(4030, 1, "Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4030", "Public property '{0}' of exported class has or is using name '{1}' from private module '{2}'."), Public_property_0_of_exported_class_has_or_is_using_private_name_1: r3(4031, 1, "Public_property_0_of_exported_class_has_or_is_using_private_name_1_4031", "Public property '{0}' of exported class has or is using private name '{1}'."), Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2: r3(4032, 1, "Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4032", "Property '{0}' of exported interface has or is using name '{1}' from private module '{2}'."), Property_0_of_exported_interface_has_or_is_using_private_name_1: r3(4033, 1, "Property_0_of_exported_interface_has_or_is_using_private_name_1_4033", "Property '{0}' of exported interface has or is using private name '{1}'."), Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2: r3(4034, 1, "Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_mod_4034", "Parameter type of public static setter '{0}' from exported class has or is using name '{1}' from private module '{2}'."), Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1: r3(4035, 1, "Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1_4035", "Parameter type of public static setter '{0}' from exported class has or is using private name '{1}'."), Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2: r3(4036, 1, "Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4036", "Parameter type of public setter '{0}' from exported class has or is using name '{1}' from private module '{2}'."), Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1: r3(4037, 1, "Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1_4037", "Parameter type of public setter '{0}' from exported class has or is using private name '{1}'."), Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: r3(4038, 1, "Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_modul_4038", "Return type of public static getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named."), Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2: r3(4039, 1, "Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_4039", "Return type of public static getter '{0}' from exported class has or is using name '{1}' from private module '{2}'."), Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1: r3(4040, 1, "Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1_4040", "Return type of public static getter '{0}' from exported class has or is using private name '{1}'."), Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: r3(4041, 1, "Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_4041", "Return type of public getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named."), Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2: r3(4042, 1, "Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4042", "Return type of public getter '{0}' from exported class has or is using name '{1}' from private module '{2}'."), Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1: r3(4043, 1, "Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1_4043", "Return type of public getter '{0}' from exported class has or is using private name '{1}'."), Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1: r3(4044, 1, "Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_mod_4044", "Return type of constructor signature from exported interface has or is using name '{0}' from private module '{1}'."), Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0: r3(4045, 1, "Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0_4045", "Return type of constructor signature from exported interface has or is using private name '{0}'."), Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1: r3(4046, 1, "Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4046", "Return type of call signature from exported interface has or is using name '{0}' from private module '{1}'."), Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0: r3(4047, 1, "Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0_4047", "Return type of call signature from exported interface has or is using private name '{0}'."), Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1: r3(4048, 1, "Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4048", "Return type of index signature from exported interface has or is using name '{0}' from private module '{1}'."), Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0: r3(4049, 1, "Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0_4049", "Return type of index signature from exported interface has or is using private name '{0}'."), Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named: r3(4050, 1, "Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module__4050", "Return type of public static method from exported class has or is using name '{0}' from external module {1} but cannot be named."), Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1: r3(4051, 1, "Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4051", "Return type of public static method from exported class has or is using name '{0}' from private module '{1}'."), Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0: r3(4052, 1, "Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0_4052", "Return type of public static method from exported class has or is using private name '{0}'."), Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named: r3(4053, 1, "Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_c_4053", "Return type of public method from exported class has or is using name '{0}' from external module {1} but cannot be named."), Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1: r3(4054, 1, "Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4054", "Return type of public method from exported class has or is using name '{0}' from private module '{1}'."), Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0: r3(4055, 1, "Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0_4055", "Return type of public method from exported class has or is using private name '{0}'."), Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1: r3(4056, 1, "Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4056", "Return type of method from exported interface has or is using name '{0}' from private module '{1}'."), Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0: r3(4057, 1, "Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0_4057", "Return type of method from exported interface has or is using private name '{0}'."), Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named: r3(4058, 1, "Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named_4058", "Return type of exported function has or is using name '{0}' from external module {1} but cannot be named."), Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1: r3(4059, 1, "Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1_4059", "Return type of exported function has or is using name '{0}' from private module '{1}'."), Return_type_of_exported_function_has_or_is_using_private_name_0: r3(4060, 1, "Return_type_of_exported_function_has_or_is_using_private_name_0_4060", "Return type of exported function has or is using private name '{0}'."), Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: r3(4061, 1, "Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_can_4061", "Parameter '{0}' of constructor from exported class has or is using name '{1}' from external module {2} but cannot be named."), Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2: r3(4062, 1, "Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2_4062", "Parameter '{0}' of constructor from exported class has or is using name '{1}' from private module '{2}'."), Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1: r3(4063, 1, "Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1_4063", "Parameter '{0}' of constructor from exported class has or is using private name '{1}'."), Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2: r3(4064, 1, "Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_mod_4064", "Parameter '{0}' of constructor signature from exported interface has or is using name '{1}' from private module '{2}'."), Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1: r3(4065, 1, "Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4065", "Parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."), Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2: r3(4066, 1, "Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4066", "Parameter '{0}' of call signature from exported interface has or is using name '{1}' from private module '{2}'."), Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1: r3(4067, 1, "Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4067", "Parameter '{0}' of call signature from exported interface has or is using private name '{1}'."), Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: r3(4068, 1, "Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module__4068", "Parameter '{0}' of public static method from exported class has or is using name '{1}' from external module {2} but cannot be named."), Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2: r3(4069, 1, "Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4069", "Parameter '{0}' of public static method from exported class has or is using name '{1}' from private module '{2}'."), Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1: r3(4070, 1, "Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4070", "Parameter '{0}' of public static method from exported class has or is using private name '{1}'."), Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: r3(4071, 1, "Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_c_4071", "Parameter '{0}' of public method from exported class has or is using name '{1}' from external module {2} but cannot be named."), Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2: r3(4072, 1, "Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4072", "Parameter '{0}' of public method from exported class has or is using name '{1}' from private module '{2}'."), Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1: r3(4073, 1, "Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4073", "Parameter '{0}' of public method from exported class has or is using private name '{1}'."), Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2: r3(4074, 1, "Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4074", "Parameter '{0}' of method from exported interface has or is using name '{1}' from private module '{2}'."), Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1: r3(4075, 1, "Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4075", "Parameter '{0}' of method from exported interface has or is using private name '{1}'."), Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: r3(4076, 1, "Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4076", "Parameter '{0}' of exported function has or is using name '{1}' from external module {2} but cannot be named."), Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2: r3(4077, 1, "Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2_4077", "Parameter '{0}' of exported function has or is using name '{1}' from private module '{2}'."), Parameter_0_of_exported_function_has_or_is_using_private_name_1: r3(4078, 1, "Parameter_0_of_exported_function_has_or_is_using_private_name_1_4078", "Parameter '{0}' of exported function has or is using private name '{1}'."), Exported_type_alias_0_has_or_is_using_private_name_1: r3(4081, 1, "Exported_type_alias_0_has_or_is_using_private_name_1_4081", "Exported type alias '{0}' has or is using private name '{1}'."), Default_export_of_the_module_has_or_is_using_private_name_0: r3(4082, 1, "Default_export_of_the_module_has_or_is_using_private_name_0_4082", "Default export of the module has or is using private name '{0}'."), Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1: r3(4083, 1, "Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1_4083", "Type parameter '{0}' of exported type alias has or is using private name '{1}'."), Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2: r3(4084, 1, "Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2_4084", "Exported type alias '{0}' has or is using private name '{1}' from module {2}."), Extends_clause_for_inferred_type_0_has_or_is_using_private_name_1: r3(4085, 1, "Extends_clause_for_inferred_type_0_has_or_is_using_private_name_1_4085", "Extends clause for inferred type '{0}' has or is using private name '{1}'."), Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2: r3(4091, 1, "Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4091", "Parameter '{0}' of index signature from exported interface has or is using name '{1}' from private module '{2}'."), Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1: r3(4092, 1, "Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1_4092", "Parameter '{0}' of index signature from exported interface has or is using private name '{1}'."), Property_0_of_exported_anonymous_class_type_may_not_be_private_or_protected: r3(4094, 1, "Property_0_of_exported_anonymous_class_type_may_not_be_private_or_protected_4094", "Property '{0}' of exported anonymous class type may not be private or protected."), Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: r3(4095, 1, "Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_4095", "Public static method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."), Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2: r3(4096, 1, "Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4096", "Public static method '{0}' of exported class has or is using name '{1}' from private module '{2}'."), Public_static_method_0_of_exported_class_has_or_is_using_private_name_1: r3(4097, 1, "Public_static_method_0_of_exported_class_has_or_is_using_private_name_1_4097", "Public static method '{0}' of exported class has or is using private name '{1}'."), Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: r3(4098, 1, "Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4098", "Public method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."), Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2: r3(4099, 1, "Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4099", "Public method '{0}' of exported class has or is using name '{1}' from private module '{2}'."), Public_method_0_of_exported_class_has_or_is_using_private_name_1: r3(4100, 1, "Public_method_0_of_exported_class_has_or_is_using_private_name_1_4100", "Public method '{0}' of exported class has or is using private name '{1}'."), Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2: r3(4101, 1, "Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4101", "Method '{0}' of exported interface has or is using name '{1}' from private module '{2}'."), Method_0_of_exported_interface_has_or_is_using_private_name_1: r3(4102, 1, "Method_0_of_exported_interface_has_or_is_using_private_name_1_4102", "Method '{0}' of exported interface has or is using private name '{1}'."), Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1: r3(4103, 1, "Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1_4103", "Type parameter '{0}' of exported mapped object type is using private name '{1}'."), The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1: r3(4104, 1, "The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1_4104", "The type '{0}' is 'readonly' and cannot be assigned to the mutable type '{1}'."), Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter: r3(4105, 1, "Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter_4105", "Private or protected member '{0}' cannot be accessed on a type parameter."), Parameter_0_of_accessor_has_or_is_using_private_name_1: r3(4106, 1, "Parameter_0_of_accessor_has_or_is_using_private_name_1_4106", "Parameter '{0}' of accessor has or is using private name '{1}'."), Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2: r3(4107, 1, "Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2_4107", "Parameter '{0}' of accessor has or is using name '{1}' from private module '{2}'."), Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: r3(4108, 1, "Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4108", "Parameter '{0}' of accessor has or is using name '{1}' from external module '{2}' but cannot be named."), Type_arguments_for_0_circularly_reference_themselves: r3(4109, 1, "Type_arguments_for_0_circularly_reference_themselves_4109", "Type arguments for '{0}' circularly reference themselves."), Tuple_type_arguments_circularly_reference_themselves: r3(4110, 1, "Tuple_type_arguments_circularly_reference_themselves_4110", "Tuple type arguments circularly reference themselves."), Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0: r3(4111, 1, "Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0_4111", "Property '{0}' comes from an index signature, so it must be accessed with ['{0}']."), This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class: r3(4112, 1, "This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another__4112", "This member cannot have an 'override' modifier because its containing class '{0}' does not extend another class."), This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0: r3(4113, 1, "This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_4113", "This member cannot have an 'override' modifier because it is not declared in the base class '{0}'."), This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0: r3(4114, 1, "This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0_4114", "This member must have an 'override' modifier because it overrides a member in the base class '{0}'."), This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0: r3(4115, 1, "This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0_4115", "This parameter property must have an 'override' modifier because it overrides a member in base class '{0}'."), This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0: r3(4116, 1, "This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared__4116", "This member must have an 'override' modifier because it overrides an abstract method that is declared in the base class '{0}'."), This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1: r3(4117, 1, "This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you__4117", "This member cannot have an 'override' modifier because it is not declared in the base class '{0}'. Did you mean '{1}'?"), The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized: r3(4118, 1, "The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized_4118", "The type of this node cannot be serialized because its property '{0}' cannot be serialized."), This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0: r3(4119, 1, "This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_4119", "This member must have a JSDoc comment with an '@override' tag because it overrides a member in the base class '{0}'."), This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0: r3(4120, 1, "This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_4120", "This parameter property must have a JSDoc comment with an '@override' tag because it overrides a member in the base class '{0}'."), This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class: r3(4121, 1, "This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_4121", "This member cannot have a JSDoc comment with an '@override' tag because its containing class '{0}' does not extend another class."), This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0: r3(4122, 1, "This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4122", "This member cannot have a JSDoc comment with an '@override' tag because it is not declared in the base class '{0}'."), This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1: r3(4123, 1, "This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4123", "This member cannot have a JSDoc comment with an 'override' tag because it is not declared in the base class '{0}'. Did you mean '{1}'?"), Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next: r3(4124, 1, "Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_w_4124", "Compiler option '{0}' of value '{1}' is unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'."), Each_declaration_of_0_1_differs_in_its_value_where_2_was_expected_but_3_was_given: r3(4125, 1, "Each_declaration_of_0_1_differs_in_its_value_where_2_was_expected_but_3_was_given_4125", "Each declaration of '{0}.{1}' differs in its value, where '{2}' was expected but '{3}' was given."), One_value_of_0_1_is_the_string_2_and_the_other_is_assumed_to_be_an_unknown_numeric_value: r3(4126, 1, "One_value_of_0_1_is_the_string_2_and_the_other_is_assumed_to_be_an_unknown_numeric_value_4126", "One value of '{0}.{1}' is the string '{2}', and the other is assumed to be an unknown numeric value."), This_member_cannot_have_an_override_modifier_because_its_name_is_dynamic: r3(4127, 1, "This_member_cannot_have_an_override_modifier_because_its_name_is_dynamic_4127", "This member cannot have an 'override' modifier because its name is dynamic."), This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_name_is_dynamic: r3(4128, 1, "This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_name_is_dynamic_4128", "This member cannot have a JSDoc comment with an '@override' tag because its name is dynamic."), The_current_host_does_not_support_the_0_option: r3(5001, 1, "The_current_host_does_not_support_the_0_option_5001", "The current host does not support the '{0}' option."), Cannot_find_the_common_subdirectory_path_for_the_input_files: r3(5009, 1, "Cannot_find_the_common_subdirectory_path_for_the_input_files_5009", "Cannot find the common subdirectory path for the input files."), File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0: r3(5010, 1, "File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0_5010", "File specification cannot end in a recursive directory wildcard ('**'): '{0}'."), Cannot_read_file_0_Colon_1: r3(5012, 1, "Cannot_read_file_0_Colon_1_5012", "Cannot read file '{0}': {1}."), Unknown_compiler_option_0: r3(5023, 1, "Unknown_compiler_option_0_5023", "Unknown compiler option '{0}'."), Compiler_option_0_requires_a_value_of_type_1: r3(5024, 1, "Compiler_option_0_requires_a_value_of_type_1_5024", "Compiler option '{0}' requires a value of type {1}."), Unknown_compiler_option_0_Did_you_mean_1: r3(5025, 1, "Unknown_compiler_option_0_Did_you_mean_1_5025", "Unknown compiler option '{0}'. Did you mean '{1}'?"), Could_not_write_file_0_Colon_1: r3(5033, 1, "Could_not_write_file_0_Colon_1_5033", "Could not write file '{0}': {1}."), Option_project_cannot_be_mixed_with_source_files_on_a_command_line: r3(5042, 1, "Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042", "Option 'project' cannot be mixed with source files on a command line."), Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher: r3(5047, 1, "Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES_5047", "Option 'isolatedModules' can only be used when either option '--module' is provided or option 'target' is 'ES2015' or higher."), Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided: r3(5051, 1, "Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided_5051", "Option '{0} can only be used when either option '--inlineSourceMap' or option '--sourceMap' is provided."), Option_0_cannot_be_specified_without_specifying_option_1: r3(5052, 1, "Option_0_cannot_be_specified_without_specifying_option_1_5052", "Option '{0}' cannot be specified without specifying option '{1}'."), Option_0_cannot_be_specified_with_option_1: r3(5053, 1, "Option_0_cannot_be_specified_with_option_1_5053", "Option '{0}' cannot be specified with option '{1}'."), A_tsconfig_json_file_is_already_defined_at_Colon_0: r3(5054, 1, "A_tsconfig_json_file_is_already_defined_at_Colon_0_5054", "A 'tsconfig.json' file is already defined at: '{0}'."), Cannot_write_file_0_because_it_would_overwrite_input_file: r3(5055, 1, "Cannot_write_file_0_because_it_would_overwrite_input_file_5055", "Cannot write file '{0}' because it would overwrite input file."), Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files: r3(5056, 1, "Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files_5056", "Cannot write file '{0}' because it would be overwritten by multiple input files."), Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0: r3(5057, 1, "Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0_5057", "Cannot find a tsconfig.json file at the specified directory: '{0}'."), The_specified_path_does_not_exist_Colon_0: r3(5058, 1, "The_specified_path_does_not_exist_Colon_0_5058", "The specified path does not exist: '{0}'."), Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier: r3(5059, 1, "Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier_5059", "Invalid value for '--reactNamespace'. '{0}' is not a valid identifier."), Pattern_0_can_have_at_most_one_Asterisk_character: r3(5061, 1, "Pattern_0_can_have_at_most_one_Asterisk_character_5061", "Pattern '{0}' can have at most one '*' character."), Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character: r3(5062, 1, "Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character_5062", "Substitution '{0}' in pattern '{1}' can have at most one '*' character."), Substitutions_for_pattern_0_should_be_an_array: r3(5063, 1, "Substitutions_for_pattern_0_should_be_an_array_5063", "Substitutions for pattern '{0}' should be an array."), Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2: r3(5064, 1, "Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2_5064", "Substitution '{0}' for pattern '{1}' has incorrect type, expected 'string', got '{2}'."), File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0: r3(5065, 1, "File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildca_5065", "File specification cannot contain a parent directory ('..') that appears after a recursive directory wildcard ('**'): '{0}'."), Substitutions_for_pattern_0_shouldn_t_be_an_empty_array: r3(5066, 1, "Substitutions_for_pattern_0_shouldn_t_be_an_empty_array_5066", "Substitutions for pattern '{0}' shouldn't be an empty array."), Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name: r3(5067, 1, "Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name_5067", "Invalid value for 'jsxFactory'. '{0}' is not a valid identifier or qualified-name."), Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript_files_Learn_more_at_https_Colon_Slash_Slashaka_ms_Slashtsconfig: r3(5068, 1, "Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript__5068", "Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig."), Option_0_cannot_be_specified_without_specifying_option_1_or_option_2: r3(5069, 1, "Option_0_cannot_be_specified_without_specifying_option_1_or_option_2_5069", "Option '{0}' cannot be specified without specifying option '{1}' or option '{2}'."), Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic: r3(5070, 1, "Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic_5070", "Option '--resolveJsonModule' cannot be specified when 'moduleResolution' is set to 'classic'."), Option_resolveJsonModule_cannot_be_specified_when_module_is_set_to_none_system_or_umd: r3(5071, 1, "Option_resolveJsonModule_cannot_be_specified_when_module_is_set_to_none_system_or_umd_5071", "Option '--resolveJsonModule' cannot be specified when 'module' is set to 'none', 'system', or 'umd'."), Unknown_build_option_0: r3(5072, 1, "Unknown_build_option_0_5072", "Unknown build option '{0}'."), Build_option_0_requires_a_value_of_type_1: r3(5073, 1, "Build_option_0_requires_a_value_of_type_1_5073", "Build option '{0}' requires a value of type {1}."), Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified: r3(5074, 1, "Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBui_5074", "Option '--incremental' can only be specified using tsconfig, emitting to single file or when option '--tsBuildInfoFile' is specified."), _0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2: r3(5075, 1, "_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_5075", "'{0}' is assignable to the constraint of type '{1}', but '{1}' could be instantiated with a different subtype of constraint '{2}'."), _0_and_1_operations_cannot_be_mixed_without_parentheses: r3(5076, 1, "_0_and_1_operations_cannot_be_mixed_without_parentheses_5076", "'{0}' and '{1}' operations cannot be mixed without parentheses."), Unknown_build_option_0_Did_you_mean_1: r3(5077, 1, "Unknown_build_option_0_Did_you_mean_1_5077", "Unknown build option '{0}'. Did you mean '{1}'?"), Unknown_watch_option_0: r3(5078, 1, "Unknown_watch_option_0_5078", "Unknown watch option '{0}'."), Unknown_watch_option_0_Did_you_mean_1: r3(5079, 1, "Unknown_watch_option_0_Did_you_mean_1_5079", "Unknown watch option '{0}'. Did you mean '{1}'?"), Watch_option_0_requires_a_value_of_type_1: r3(5080, 1, "Watch_option_0_requires_a_value_of_type_1_5080", "Watch option '{0}' requires a value of type {1}."), Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0: r3(5081, 1, "Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0_5081", "Cannot find a tsconfig.json file at the current directory: {0}."), _0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1: r3(5082, 1, "_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1_5082", "'{0}' could be instantiated with an arbitrary type which could be unrelated to '{1}'."), Cannot_read_file_0: r3(5083, 1, "Cannot_read_file_0_5083", "Cannot read file '{0}'."), A_tuple_member_cannot_be_both_optional_and_rest: r3(5085, 1, "A_tuple_member_cannot_be_both_optional_and_rest_5085", "A tuple member cannot be both optional and rest."), A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type: r3(5086, 1, "A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_c_5086", "A labeled tuple element is declared as optional with a question mark after the name and before the colon, rather than after the type."), A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type: r3(5087, 1, "A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type_5087", "A labeled tuple element is declared as rest with a '...' before the name, rather than before the type."), The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary: r3(5088, 1, "The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialize_5088", "The inferred type of '{0}' references a type with a cyclic structure which cannot be trivially serialized. A type annotation is necessary."), Option_0_cannot_be_specified_when_option_jsx_is_1: r3(5089, 1, "Option_0_cannot_be_specified_when_option_jsx_is_1_5089", "Option '{0}' cannot be specified when option 'jsx' is '{1}'."), Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash: r3(5090, 1, "Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash_5090", "Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?"), Option_preserveConstEnums_cannot_be_disabled_when_0_is_enabled: r3(5091, 1, "Option_preserveConstEnums_cannot_be_disabled_when_0_is_enabled_5091", "Option 'preserveConstEnums' cannot be disabled when '{0}' is enabled."), The_root_value_of_a_0_file_must_be_an_object: r3(5092, 1, "The_root_value_of_a_0_file_must_be_an_object_5092", "The root value of a '{0}' file must be an object."), Compiler_option_0_may_only_be_used_with_build: r3(5093, 1, "Compiler_option_0_may_only_be_used_with_build_5093", "Compiler option '--{0}' may only be used with '--build'."), Compiler_option_0_may_not_be_used_with_build: r3(5094, 1, "Compiler_option_0_may_not_be_used_with_build_5094", "Compiler option '--{0}' may not be used with '--build'."), Option_0_can_only_be_used_when_module_is_set_to_preserve_or_to_es2015_or_later: r3(5095, 1, "Option_0_can_only_be_used_when_module_is_set_to_preserve_or_to_es2015_or_later_5095", "Option '{0}' can only be used when 'module' is set to 'preserve' or to 'es2015' or later."), Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set: r3(5096, 1, "Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set_5096", "Option 'allowImportingTsExtensions' can only be used when either 'noEmit' or 'emitDeclarationOnly' is set."), An_import_path_can_only_end_with_a_0_extension_when_allowImportingTsExtensions_is_enabled: r3(5097, 1, "An_import_path_can_only_end_with_a_0_extension_when_allowImportingTsExtensions_is_enabled_5097", "An import path can only end with a '{0}' extension when 'allowImportingTsExtensions' is enabled."), Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler: r3(5098, 1, "Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler_5098", "Option '{0}' can only be used when 'moduleResolution' is set to 'node16', 'nodenext', or 'bundler'."), Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprecations_Colon_2_to_silence_this_error: r3(5101, 1, "Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprec_5101", `Option '{0}' is deprecated and will stop functioning in TypeScript {1}. Specify compilerOption '"ignoreDeprecations": "{2}"' to silence this error.`), Option_0_has_been_removed_Please_remove_it_from_your_configuration: r3(5102, 1, "Option_0_has_been_removed_Please_remove_it_from_your_configuration_5102", "Option '{0}' has been removed. Please remove it from your configuration."), Invalid_value_for_ignoreDeprecations: r3(5103, 1, "Invalid_value_for_ignoreDeprecations_5103", "Invalid value for '--ignoreDeprecations'."), Option_0_is_redundant_and_cannot_be_specified_with_option_1: r3(5104, 1, "Option_0_is_redundant_and_cannot_be_specified_with_option_1_5104", "Option '{0}' is redundant and cannot be specified with option '{1}'."), Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System: r3(5105, 1, "Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System_5105", "Option 'verbatimModuleSyntax' cannot be used when 'module' is set to 'UMD', 'AMD', or 'System'."), Use_0_instead: r3(5106, 3, "Use_0_instead_5106", "Use '{0}' instead."), Option_0_1_is_deprecated_and_will_stop_functioning_in_TypeScript_2_Specify_compilerOption_ignoreDeprecations_Colon_3_to_silence_this_error: r3(5107, 1, "Option_0_1_is_deprecated_and_will_stop_functioning_in_TypeScript_2_Specify_compilerOption_ignoreDepr_5107", `Option '{0}={1}' is deprecated and will stop functioning in TypeScript {2}. Specify compilerOption '"ignoreDeprecations": "{3}"' to silence this error.`), Option_0_1_has_been_removed_Please_remove_it_from_your_configuration: r3(5108, 1, "Option_0_1_has_been_removed_Please_remove_it_from_your_configuration_5108", "Option '{0}={1}' has been removed. Please remove it from your configuration."), Option_moduleResolution_must_be_set_to_0_or_left_unspecified_when_option_module_is_set_to_1: r3(5109, 1, "Option_moduleResolution_must_be_set_to_0_or_left_unspecified_when_option_module_is_set_to_1_5109", "Option 'moduleResolution' must be set to '{0}' (or left unspecified) when option 'module' is set to '{1}'."), Option_module_must_be_set_to_0_when_option_moduleResolution_is_set_to_1: r3(5110, 1, "Option_module_must_be_set_to_0_when_option_moduleResolution_is_set_to_1_5110", "Option 'module' must be set to '{0}' when option 'moduleResolution' is set to '{1}'."), Generates_a_sourcemap_for_each_corresponding_d_ts_file: r3(6e3, 3, "Generates_a_sourcemap_for_each_corresponding_d_ts_file_6000", "Generates a sourcemap for each corresponding '.d.ts' file."), Concatenate_and_emit_output_to_single_file: r3(6001, 3, "Concatenate_and_emit_output_to_single_file_6001", "Concatenate and emit output to single file."), Generates_corresponding_d_ts_file: r3(6002, 3, "Generates_corresponding_d_ts_file_6002", "Generates corresponding '.d.ts' file."), Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations: r3(6004, 3, "Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations_6004", "Specify the location where debugger should locate TypeScript files instead of source locations."), Watch_input_files: r3(6005, 3, "Watch_input_files_6005", "Watch input files."), Redirect_output_structure_to_the_directory: r3(6006, 3, "Redirect_output_structure_to_the_directory_6006", "Redirect output structure to the directory."), Do_not_erase_const_enum_declarations_in_generated_code: r3(6007, 3, "Do_not_erase_const_enum_declarations_in_generated_code_6007", "Do not erase const enum declarations in generated code."), Do_not_emit_outputs_if_any_errors_were_reported: r3(6008, 3, "Do_not_emit_outputs_if_any_errors_were_reported_6008", "Do not emit outputs if any errors were reported."), Do_not_emit_comments_to_output: r3(6009, 3, "Do_not_emit_comments_to_output_6009", "Do not emit comments to output."), Do_not_emit_outputs: r3(6010, 3, "Do_not_emit_outputs_6010", "Do not emit outputs."), Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typechecking: r3(6011, 3, "Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typech_6011", "Allow default imports from modules with no default export. This does not affect code emit, just typechecking."), Skip_type_checking_of_declaration_files: r3(6012, 3, "Skip_type_checking_of_declaration_files_6012", "Skip type checking of declaration files."), Do_not_resolve_the_real_path_of_symlinks: r3(6013, 3, "Do_not_resolve_the_real_path_of_symlinks_6013", "Do not resolve the real path of symlinks."), Only_emit_d_ts_declaration_files: r3(6014, 3, "Only_emit_d_ts_declaration_files_6014", "Only emit '.d.ts' declaration files."), Specify_ECMAScript_target_version: r3(6015, 3, "Specify_ECMAScript_target_version_6015", "Specify ECMAScript target version."), Specify_module_code_generation: r3(6016, 3, "Specify_module_code_generation_6016", "Specify module code generation."), Print_this_message: r3(6017, 3, "Print_this_message_6017", "Print this message."), Print_the_compiler_s_version: r3(6019, 3, "Print_the_compiler_s_version_6019", "Print the compiler's version."), Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json: r3(6020, 3, "Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json_6020", "Compile the project given the path to its configuration file, or to a folder with a 'tsconfig.json'."), Syntax_Colon_0: r3(6023, 3, "Syntax_Colon_0_6023", "Syntax: {0}"), options: r3(6024, 3, "options_6024", "options"), file: r3(6025, 3, "file_6025", "file"), Examples_Colon_0: r3(6026, 3, "Examples_Colon_0_6026", "Examples: {0}"), Options_Colon: r3(6027, 3, "Options_Colon_6027", "Options:"), Version_0: r3(6029, 3, "Version_0_6029", "Version {0}"), Insert_command_line_options_and_files_from_a_file: r3(6030, 3, "Insert_command_line_options_and_files_from_a_file_6030", "Insert command line options and files from a file."), Starting_compilation_in_watch_mode: r3(6031, 3, "Starting_compilation_in_watch_mode_6031", "Starting compilation in watch mode..."), File_change_detected_Starting_incremental_compilation: r3(6032, 3, "File_change_detected_Starting_incremental_compilation_6032", "File change detected. Starting incremental compilation..."), KIND: r3(6034, 3, "KIND_6034", "KIND"), FILE: r3(6035, 3, "FILE_6035", "FILE"), VERSION: r3(6036, 3, "VERSION_6036", "VERSION"), LOCATION: r3(6037, 3, "LOCATION_6037", "LOCATION"), DIRECTORY: r3(6038, 3, "DIRECTORY_6038", "DIRECTORY"), STRATEGY: r3(6039, 3, "STRATEGY_6039", "STRATEGY"), FILE_OR_DIRECTORY: r3(6040, 3, "FILE_OR_DIRECTORY_6040", "FILE OR DIRECTORY"), Errors_Files: r3(6041, 3, "Errors_Files_6041", "Errors Files"), Generates_corresponding_map_file: r3(6043, 3, "Generates_corresponding_map_file_6043", "Generates corresponding '.map' file."), Compiler_option_0_expects_an_argument: r3(6044, 1, "Compiler_option_0_expects_an_argument_6044", "Compiler option '{0}' expects an argument."), Unterminated_quoted_string_in_response_file_0: r3(6045, 1, "Unterminated_quoted_string_in_response_file_0_6045", "Unterminated quoted string in response file '{0}'."), Argument_for_0_option_must_be_Colon_1: r3(6046, 1, "Argument_for_0_option_must_be_Colon_1_6046", "Argument for '{0}' option must be: {1}."), Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1: r3(6048, 1, "Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1_6048", "Locale must be of the form or -. For example '{0}' or '{1}'."), Unable_to_open_file_0: r3(6050, 1, "Unable_to_open_file_0_6050", "Unable to open file '{0}'."), Corrupted_locale_file_0: r3(6051, 1, "Corrupted_locale_file_0_6051", "Corrupted locale file {0}."), Raise_error_on_expressions_and_declarations_with_an_implied_any_type: r3(6052, 3, "Raise_error_on_expressions_and_declarations_with_an_implied_any_type_6052", "Raise error on expressions and declarations with an implied 'any' type."), File_0_not_found: r3(6053, 1, "File_0_not_found_6053", "File '{0}' not found."), File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1: r3(6054, 1, "File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1_6054", "File '{0}' has an unsupported extension. The only supported extensions are {1}."), Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures: r3(6055, 3, "Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures_6055", "Suppress noImplicitAny errors for indexing objects lacking index signatures."), Do_not_emit_declarations_for_code_that_has_an_internal_annotation: r3(6056, 3, "Do_not_emit_declarations_for_code_that_has_an_internal_annotation_6056", "Do not emit declarations for code that has an '@internal' annotation."), Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir: r3(6058, 3, "Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir_6058", "Specify the root directory of input files. Use to control the output directory structure with --outDir."), File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files: r3(6059, 1, "File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files_6059", "File '{0}' is not under 'rootDir' '{1}'. 'rootDir' is expected to contain all source files."), Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix: r3(6060, 3, "Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix_6060", "Specify the end of line sequence to be used when emitting files: 'CRLF' (dos) or 'LF' (unix)."), NEWLINE: r3(6061, 3, "NEWLINE_6061", "NEWLINE"), Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line: r3(6064, 1, "Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line_6064", "Option '{0}' can only be specified in 'tsconfig.json' file or set to 'null' on command line."), Enables_experimental_support_for_ES7_decorators: r3(6065, 3, "Enables_experimental_support_for_ES7_decorators_6065", "Enables experimental support for ES7 decorators."), Enables_experimental_support_for_emitting_type_metadata_for_decorators: r3(6066, 3, "Enables_experimental_support_for_emitting_type_metadata_for_decorators_6066", "Enables experimental support for emitting type metadata for decorators."), Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file: r3(6070, 3, "Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file_6070", "Initializes a TypeScript project and creates a tsconfig.json file."), Successfully_created_a_tsconfig_json_file: r3(6071, 3, "Successfully_created_a_tsconfig_json_file_6071", "Successfully created a tsconfig.json file."), Suppress_excess_property_checks_for_object_literals: r3(6072, 3, "Suppress_excess_property_checks_for_object_literals_6072", "Suppress excess property checks for object literals."), Stylize_errors_and_messages_using_color_and_context_experimental: r3(6073, 3, "Stylize_errors_and_messages_using_color_and_context_experimental_6073", "Stylize errors and messages using color and context (experimental)."), Do_not_report_errors_on_unused_labels: r3(6074, 3, "Do_not_report_errors_on_unused_labels_6074", "Do not report errors on unused labels."), Report_error_when_not_all_code_paths_in_function_return_a_value: r3(6075, 3, "Report_error_when_not_all_code_paths_in_function_return_a_value_6075", "Report error when not all code paths in function return a value."), Report_errors_for_fallthrough_cases_in_switch_statement: r3(6076, 3, "Report_errors_for_fallthrough_cases_in_switch_statement_6076", "Report errors for fallthrough cases in switch statement."), Do_not_report_errors_on_unreachable_code: r3(6077, 3, "Do_not_report_errors_on_unreachable_code_6077", "Do not report errors on unreachable code."), Disallow_inconsistently_cased_references_to_the_same_file: r3(6078, 3, "Disallow_inconsistently_cased_references_to_the_same_file_6078", "Disallow inconsistently-cased references to the same file."), Specify_library_files_to_be_included_in_the_compilation: r3(6079, 3, "Specify_library_files_to_be_included_in_the_compilation_6079", "Specify library files to be included in the compilation."), Specify_JSX_code_generation: r3(6080, 3, "Specify_JSX_code_generation_6080", "Specify JSX code generation."), Only_amd_and_system_modules_are_supported_alongside_0: r3(6082, 1, "Only_amd_and_system_modules_are_supported_alongside_0_6082", "Only 'amd' and 'system' modules are supported alongside --{0}."), Base_directory_to_resolve_non_absolute_module_names: r3(6083, 3, "Base_directory_to_resolve_non_absolute_module_names_6083", "Base directory to resolve non-absolute module names."), Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react_JSX_emit: r3(6084, 3, "Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react__6084", "[Deprecated] Use '--jsxFactory' instead. Specify the object invoked for createElement when targeting 'react' JSX emit"), Enable_tracing_of_the_name_resolution_process: r3(6085, 3, "Enable_tracing_of_the_name_resolution_process_6085", "Enable tracing of the name resolution process."), Resolving_module_0_from_1: r3(6086, 3, "Resolving_module_0_from_1_6086", "======== Resolving module '{0}' from '{1}'. ========"), Explicitly_specified_module_resolution_kind_Colon_0: r3(6087, 3, "Explicitly_specified_module_resolution_kind_Colon_0_6087", "Explicitly specified module resolution kind: '{0}'."), Module_resolution_kind_is_not_specified_using_0: r3(6088, 3, "Module_resolution_kind_is_not_specified_using_0_6088", "Module resolution kind is not specified, using '{0}'."), Module_name_0_was_successfully_resolved_to_1: r3(6089, 3, "Module_name_0_was_successfully_resolved_to_1_6089", "======== Module name '{0}' was successfully resolved to '{1}'. ========"), Module_name_0_was_not_resolved: r3(6090, 3, "Module_name_0_was_not_resolved_6090", "======== Module name '{0}' was not resolved. ========"), paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0: r3(6091, 3, "paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0_6091", "'paths' option is specified, looking for a pattern to match module name '{0}'."), Module_name_0_matched_pattern_1: r3(6092, 3, "Module_name_0_matched_pattern_1_6092", "Module name '{0}', matched pattern '{1}'."), Trying_substitution_0_candidate_module_location_Colon_1: r3(6093, 3, "Trying_substitution_0_candidate_module_location_Colon_1_6093", "Trying substitution '{0}', candidate module location: '{1}'."), Resolving_module_name_0_relative_to_base_url_1_2: r3(6094, 3, "Resolving_module_name_0_relative_to_base_url_1_2_6094", "Resolving module name '{0}' relative to base url '{1}' - '{2}'."), Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_types_Colon_1: r3(6095, 3, "Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_types_Colon_1_6095", "Loading module as file / folder, candidate module location '{0}', target file types: {1}."), File_0_does_not_exist: r3(6096, 3, "File_0_does_not_exist_6096", "File '{0}' does not exist."), File_0_exists_use_it_as_a_name_resolution_result: r3(6097, 3, "File_0_exists_use_it_as_a_name_resolution_result_6097", "File '{0}' exists - use it as a name resolution result."), Loading_module_0_from_node_modules_folder_target_file_types_Colon_1: r3(6098, 3, "Loading_module_0_from_node_modules_folder_target_file_types_Colon_1_6098", "Loading module '{0}' from 'node_modules' folder, target file types: {1}."), Found_package_json_at_0: r3(6099, 3, "Found_package_json_at_0_6099", "Found 'package.json' at '{0}'."), package_json_does_not_have_a_0_field: r3(6100, 3, "package_json_does_not_have_a_0_field_6100", "'package.json' does not have a '{0}' field."), package_json_has_0_field_1_that_references_2: r3(6101, 3, "package_json_has_0_field_1_that_references_2_6101", "'package.json' has '{0}' field '{1}' that references '{2}'."), Allow_javascript_files_to_be_compiled: r3(6102, 3, "Allow_javascript_files_to_be_compiled_6102", "Allow javascript files to be compiled."), Checking_if_0_is_the_longest_matching_prefix_for_1_2: r3(6104, 3, "Checking_if_0_is_the_longest_matching_prefix_for_1_2_6104", "Checking if '{0}' is the longest matching prefix for '{1}' - '{2}'."), Expected_type_of_0_field_in_package_json_to_be_1_got_2: r3(6105, 3, "Expected_type_of_0_field_in_package_json_to_be_1_got_2_6105", "Expected type of '{0}' field in 'package.json' to be '{1}', got '{2}'."), baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1: r3(6106, 3, "baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1_6106", "'baseUrl' option is set to '{0}', using this value to resolve non-relative module name '{1}'."), rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0: r3(6107, 3, "rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0_6107", "'rootDirs' option is set, using it to resolve relative module name '{0}'."), Longest_matching_prefix_for_0_is_1: r3(6108, 3, "Longest_matching_prefix_for_0_is_1_6108", "Longest matching prefix for '{0}' is '{1}'."), Loading_0_from_the_root_dir_1_candidate_location_2: r3(6109, 3, "Loading_0_from_the_root_dir_1_candidate_location_2_6109", "Loading '{0}' from the root dir '{1}', candidate location '{2}'."), Trying_other_entries_in_rootDirs: r3(6110, 3, "Trying_other_entries_in_rootDirs_6110", "Trying other entries in 'rootDirs'."), Module_resolution_using_rootDirs_has_failed: r3(6111, 3, "Module_resolution_using_rootDirs_has_failed_6111", "Module resolution using 'rootDirs' has failed."), Do_not_emit_use_strict_directives_in_module_output: r3(6112, 3, "Do_not_emit_use_strict_directives_in_module_output_6112", "Do not emit 'use strict' directives in module output."), Enable_strict_null_checks: r3(6113, 3, "Enable_strict_null_checks_6113", "Enable strict null checks."), Unknown_option_excludes_Did_you_mean_exclude: r3(6114, 1, "Unknown_option_excludes_Did_you_mean_exclude_6114", "Unknown option 'excludes'. Did you mean 'exclude'?"), Raise_error_on_this_expressions_with_an_implied_any_type: r3(6115, 3, "Raise_error_on_this_expressions_with_an_implied_any_type_6115", "Raise error on 'this' expressions with an implied 'any' type."), Resolving_type_reference_directive_0_containing_file_1_root_directory_2: r3(6116, 3, "Resolving_type_reference_directive_0_containing_file_1_root_directory_2_6116", "======== Resolving type reference directive '{0}', containing file '{1}', root directory '{2}'. ========"), Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2: r3(6119, 3, "Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2_6119", "======== Type reference directive '{0}' was successfully resolved to '{1}', primary: {2}. ========"), Type_reference_directive_0_was_not_resolved: r3(6120, 3, "Type_reference_directive_0_was_not_resolved_6120", "======== Type reference directive '{0}' was not resolved. ========"), Resolving_with_primary_search_path_0: r3(6121, 3, "Resolving_with_primary_search_path_0_6121", "Resolving with primary search path '{0}'."), Root_directory_cannot_be_determined_skipping_primary_search_paths: r3(6122, 3, "Root_directory_cannot_be_determined_skipping_primary_search_paths_6122", "Root directory cannot be determined, skipping primary search paths."), Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set: r3(6123, 3, "Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set_6123", "======== Resolving type reference directive '{0}', containing file '{1}', root directory not set. ========"), Type_declaration_files_to_be_included_in_compilation: r3(6124, 3, "Type_declaration_files_to_be_included_in_compilation_6124", "Type declaration files to be included in compilation."), Looking_up_in_node_modules_folder_initial_location_0: r3(6125, 3, "Looking_up_in_node_modules_folder_initial_location_0_6125", "Looking up in 'node_modules' folder, initial location '{0}'."), Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder: r3(6126, 3, "Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_mod_6126", "Containing file is not specified and root directory cannot be determined, skipping lookup in 'node_modules' folder."), Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1: r3(6127, 3, "Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1_6127", "======== Resolving type reference directive '{0}', containing file not set, root directory '{1}'. ========"), Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set: r3(6128, 3, "Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set_6128", "======== Resolving type reference directive '{0}', containing file not set, root directory not set. ========"), Resolving_real_path_for_0_result_1: r3(6130, 3, "Resolving_real_path_for_0_result_1_6130", "Resolving real path for '{0}', result '{1}'."), Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system: r3(6131, 1, "Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system_6131", "Cannot compile modules using option '{0}' unless the '--module' flag is 'amd' or 'system'."), File_name_0_has_a_1_extension_stripping_it: r3(6132, 3, "File_name_0_has_a_1_extension_stripping_it_6132", "File name '{0}' has a '{1}' extension - stripping it."), _0_is_declared_but_its_value_is_never_read: r3(6133, 1, "_0_is_declared_but_its_value_is_never_read_6133", "'{0}' is declared but its value is never read.", true), Report_errors_on_unused_locals: r3(6134, 3, "Report_errors_on_unused_locals_6134", "Report errors on unused locals."), Report_errors_on_unused_parameters: r3(6135, 3, "Report_errors_on_unused_parameters_6135", "Report errors on unused parameters."), The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files: r3(6136, 3, "The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files_6136", "The maximum dependency depth to search under node_modules and load JavaScript files."), Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1: r3(6137, 1, "Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1_6137", "Cannot import type declaration files. Consider importing '{0}' instead of '{1}'."), Property_0_is_declared_but_its_value_is_never_read: r3(6138, 1, "Property_0_is_declared_but_its_value_is_never_read_6138", "Property '{0}' is declared but its value is never read.", true), Import_emit_helpers_from_tslib: r3(6139, 3, "Import_emit_helpers_from_tslib_6139", "Import emit helpers from 'tslib'."), Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2: r3(6140, 1, "Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using__6140", "Auto discovery for typings is enabled in project '{0}'. Running extra resolution pass for module '{1}' using cache location '{2}'."), Parse_in_strict_mode_and_emit_use_strict_for_each_source_file: r3(6141, 3, "Parse_in_strict_mode_and_emit_use_strict_for_each_source_file_6141", 'Parse in strict mode and emit "use strict" for each source file.'), Module_0_was_resolved_to_1_but_jsx_is_not_set: r3(6142, 1, "Module_0_was_resolved_to_1_but_jsx_is_not_set_6142", "Module '{0}' was resolved to '{1}', but '--jsx' is not set."), Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1: r3(6144, 3, "Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1_6144", "Module '{0}' was resolved as locally declared ambient module in file '{1}'."), Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h: r3(6146, 3, "Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h_6146", "Specify the JSX factory function to use when targeting 'react' JSX emit, e.g. 'React.createElement' or 'h'."), Resolution_for_module_0_was_found_in_cache_from_location_1: r3(6147, 3, "Resolution_for_module_0_was_found_in_cache_from_location_1_6147", "Resolution for module '{0}' was found in cache from location '{1}'."), Directory_0_does_not_exist_skipping_all_lookups_in_it: r3(6148, 3, "Directory_0_does_not_exist_skipping_all_lookups_in_it_6148", "Directory '{0}' does not exist, skipping all lookups in it."), Show_diagnostic_information: r3(6149, 3, "Show_diagnostic_information_6149", "Show diagnostic information."), Show_verbose_diagnostic_information: r3(6150, 3, "Show_verbose_diagnostic_information_6150", "Show verbose diagnostic information."), Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file: r3(6151, 3, "Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file_6151", "Emit a single file with source maps instead of having a separate file."), Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap_to_be_set: r3(6152, 3, "Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap__6152", "Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set."), Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule: r3(6153, 3, "Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule_6153", "Transpile each file as a separate module (similar to 'ts.transpileModule')."), Print_names_of_generated_files_part_of_the_compilation: r3(6154, 3, "Print_names_of_generated_files_part_of_the_compilation_6154", "Print names of generated files part of the compilation."), Print_names_of_files_part_of_the_compilation: r3(6155, 3, "Print_names_of_files_part_of_the_compilation_6155", "Print names of files part of the compilation."), The_locale_used_when_displaying_messages_to_the_user_e_g_en_us: r3(6156, 3, "The_locale_used_when_displaying_messages_to_the_user_e_g_en_us_6156", "The locale used when displaying messages to the user (e.g. 'en-us')"), Do_not_generate_custom_helper_functions_like_extends_in_compiled_output: r3(6157, 3, "Do_not_generate_custom_helper_functions_like_extends_in_compiled_output_6157", "Do not generate custom helper functions like '__extends' in compiled output."), Do_not_include_the_default_library_file_lib_d_ts: r3(6158, 3, "Do_not_include_the_default_library_file_lib_d_ts_6158", "Do not include the default library file (lib.d.ts)."), Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files: r3(6159, 3, "Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files_6159", "Do not add triple-slash references or imported modules to the list of compiled files."), Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files: r3(6160, 3, "Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files_6160", "[Deprecated] Use '--skipLibCheck' instead. Skip type checking of default library declaration files."), List_of_folders_to_include_type_definitions_from: r3(6161, 3, "List_of_folders_to_include_type_definitions_from_6161", "List of folders to include type definitions from."), Disable_size_limitations_on_JavaScript_projects: r3(6162, 3, "Disable_size_limitations_on_JavaScript_projects_6162", "Disable size limitations on JavaScript projects."), The_character_set_of_the_input_files: r3(6163, 3, "The_character_set_of_the_input_files_6163", "The character set of the input files."), Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1: r3(6164, 3, "Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1_6164", "Skipping module '{0}' that looks like an absolute URI, target file types: {1}."), Do_not_truncate_error_messages: r3(6165, 3, "Do_not_truncate_error_messages_6165", "Do not truncate error messages."), Output_directory_for_generated_declaration_files: r3(6166, 3, "Output_directory_for_generated_declaration_files_6166", "Output directory for generated declaration files."), A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl: r3(6167, 3, "A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl_6167", "A series of entries which re-map imports to lookup locations relative to the 'baseUrl'."), List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime: r3(6168, 3, "List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime_6168", "List of root folders whose combined content represents the structure of the project at runtime."), Show_all_compiler_options: r3(6169, 3, "Show_all_compiler_options_6169", "Show all compiler options."), Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file: r3(6170, 3, "Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file_6170", "[Deprecated] Use '--outFile' instead. Concatenate and emit output to single file"), Command_line_Options: r3(6171, 3, "Command_line_Options_6171", "Command-line Options"), Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5: r3(6179, 3, "Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_6179", "Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5'."), Enable_all_strict_type_checking_options: r3(6180, 3, "Enable_all_strict_type_checking_options_6180", "Enable all strict type-checking options."), Scoped_package_detected_looking_in_0: r3(6182, 3, "Scoped_package_detected_looking_in_0_6182", "Scoped package detected, looking in '{0}'"), Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2: r3(6183, 3, "Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_6183", "Reusing resolution of module '{0}' from '{1}' of old program, it was successfully resolved to '{2}'."), Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3: r3(6184, 3, "Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package__6184", "Reusing resolution of module '{0}' from '{1}' of old program, it was successfully resolved to '{2}' with Package ID '{3}'."), Enable_strict_checking_of_function_types: r3(6186, 3, "Enable_strict_checking_of_function_types_6186", "Enable strict checking of function types."), Enable_strict_checking_of_property_initialization_in_classes: r3(6187, 3, "Enable_strict_checking_of_property_initialization_in_classes_6187", "Enable strict checking of property initialization in classes."), Numeric_separators_are_not_allowed_here: r3(6188, 1, "Numeric_separators_are_not_allowed_here_6188", "Numeric separators are not allowed here."), Multiple_consecutive_numeric_separators_are_not_permitted: r3(6189, 1, "Multiple_consecutive_numeric_separators_are_not_permitted_6189", "Multiple consecutive numeric separators are not permitted."), Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen: r3(6191, 3, "Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen_6191", "Whether to keep outdated console output in watch mode instead of clearing the screen."), All_imports_in_import_declaration_are_unused: r3(6192, 1, "All_imports_in_import_declaration_are_unused_6192", "All imports in import declaration are unused.", true), Found_1_error_Watching_for_file_changes: r3(6193, 3, "Found_1_error_Watching_for_file_changes_6193", "Found 1 error. Watching for file changes."), Found_0_errors_Watching_for_file_changes: r3(6194, 3, "Found_0_errors_Watching_for_file_changes_6194", "Found {0} errors. Watching for file changes."), Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols: r3(6195, 3, "Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols_6195", "Resolve 'keyof' to string valued property names only (no numbers or symbols)."), _0_is_declared_but_never_used: r3(6196, 1, "_0_is_declared_but_never_used_6196", "'{0}' is declared but never used.", true), Include_modules_imported_with_json_extension: r3(6197, 3, "Include_modules_imported_with_json_extension_6197", "Include modules imported with '.json' extension"), All_destructured_elements_are_unused: r3(6198, 1, "All_destructured_elements_are_unused_6198", "All destructured elements are unused.", true), All_variables_are_unused: r3(6199, 1, "All_variables_are_unused_6199", "All variables are unused.", true), Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0: r3(6200, 1, "Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0_6200", "Definitions of the following identifiers conflict with those in another file: {0}"), Conflicts_are_in_this_file: r3(6201, 3, "Conflicts_are_in_this_file_6201", "Conflicts are in this file."), Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0: r3(6202, 1, "Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0_6202", "Project references may not form a circular graph. Cycle detected: {0}"), _0_was_also_declared_here: r3(6203, 3, "_0_was_also_declared_here_6203", "'{0}' was also declared here."), and_here: r3(6204, 3, "and_here_6204", "and here."), All_type_parameters_are_unused: r3(6205, 1, "All_type_parameters_are_unused_6205", "All type parameters are unused."), package_json_has_a_typesVersions_field_with_version_specific_path_mappings: r3(6206, 3, "package_json_has_a_typesVersions_field_with_version_specific_path_mappings_6206", "'package.json' has a 'typesVersions' field with version-specific path mappings."), package_json_does_not_have_a_typesVersions_entry_that_matches_version_0: r3(6207, 3, "package_json_does_not_have_a_typesVersions_entry_that_matches_version_0_6207", "'package.json' does not have a 'typesVersions' entry that matches version '{0}'."), package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2: r3(6208, 3, "package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_ma_6208", "'package.json' has a 'typesVersions' entry '{0}' that matches compiler version '{1}', looking for a pattern to match module name '{2}'."), package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range: r3(6209, 3, "package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range_6209", "'package.json' has a 'typesVersions' entry '{0}' that is not a valid semver range."), An_argument_for_0_was_not_provided: r3(6210, 3, "An_argument_for_0_was_not_provided_6210", "An argument for '{0}' was not provided."), An_argument_matching_this_binding_pattern_was_not_provided: r3(6211, 3, "An_argument_matching_this_binding_pattern_was_not_provided_6211", "An argument matching this binding pattern was not provided."), Did_you_mean_to_call_this_expression: r3(6212, 3, "Did_you_mean_to_call_this_expression_6212", "Did you mean to call this expression?"), Did_you_mean_to_use_new_with_this_expression: r3(6213, 3, "Did_you_mean_to_use_new_with_this_expression_6213", "Did you mean to use 'new' with this expression?"), Enable_strict_bind_call_and_apply_methods_on_functions: r3(6214, 3, "Enable_strict_bind_call_and_apply_methods_on_functions_6214", "Enable strict 'bind', 'call', and 'apply' methods on functions."), Using_compiler_options_of_project_reference_redirect_0: r3(6215, 3, "Using_compiler_options_of_project_reference_redirect_0_6215", "Using compiler options of project reference redirect '{0}'."), Found_1_error: r3(6216, 3, "Found_1_error_6216", "Found 1 error."), Found_0_errors: r3(6217, 3, "Found_0_errors_6217", "Found {0} errors."), Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2: r3(6218, 3, "Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2_6218", "======== Module name '{0}' was successfully resolved to '{1}' with Package ID '{2}'. ========"), Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3: r3(6219, 3, "Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3_6219", "======== Type reference directive '{0}' was successfully resolved to '{1}' with Package ID '{2}', primary: {3}. ========"), package_json_had_a_falsy_0_field: r3(6220, 3, "package_json_had_a_falsy_0_field_6220", "'package.json' had a falsy '{0}' field."), Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects: r3(6221, 3, "Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects_6221", "Disable use of source files instead of declaration files from referenced projects."), Emit_class_fields_with_Define_instead_of_Set: r3(6222, 3, "Emit_class_fields_with_Define_instead_of_Set_6222", "Emit class fields with Define instead of Set."), Generates_a_CPU_profile: r3(6223, 3, "Generates_a_CPU_profile_6223", "Generates a CPU profile."), Disable_solution_searching_for_this_project: r3(6224, 3, "Disable_solution_searching_for_this_project_6224", "Disable solution searching for this project."), Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_DynamicPriorityPolling_FixedChunkSizePolling_UseFsEvents_UseFsEventsOnParentDirectory: r3(6225, 3, "Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_Dynami_6225", "Specify strategy for watching file: 'FixedPollingInterval' (default), 'PriorityPollingInterval', 'DynamicPriorityPolling', 'FixedChunkSizePolling', 'UseFsEvents', 'UseFsEventsOnParentDirectory'."), Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively_Colon_UseFsEvents_default_FixedPollingInterval_DynamicPriorityPolling_FixedChunkSizePolling: r3(6226, 3, "Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively__6226", "Specify strategy for watching directory on platforms that don't support recursive watching natively: 'UseFsEvents' (default), 'FixedPollingInterval', 'DynamicPriorityPolling', 'FixedChunkSizePolling'."), Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_FixedInterval_default_PriorityInterval_DynamicPriority_FixedChunkSize: r3(6227, 3, "Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_6227", "Specify strategy for creating a polling watch when it fails to create using file system events: 'FixedInterval' (default), 'PriorityInterval', 'DynamicPriority', 'FixedChunkSize'."), Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3: r3(6229, 1, "Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3_6229", "Tag '{0}' expects at least '{1}' arguments, but the JSX factory '{2}' provides at most '{3}'."), Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line: r3(6230, 1, "Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line_6230", "Option '{0}' can only be specified in 'tsconfig.json' file or set to 'false' or 'null' on command line."), Could_not_resolve_the_path_0_with_the_extensions_Colon_1: r3(6231, 1, "Could_not_resolve_the_path_0_with_the_extensions_Colon_1_6231", "Could not resolve the path '{0}' with the extensions: {1}."), Declaration_augments_declaration_in_another_file_This_cannot_be_serialized: r3(6232, 1, "Declaration_augments_declaration_in_another_file_This_cannot_be_serialized_6232", "Declaration augments declaration in another file. This cannot be serialized."), This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file: r3(6233, 1, "This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_fil_6233", "This is the declaration being augmented. Consider moving the augmenting declaration into the same file."), This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without: r3(6234, 1, "This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without_6234", "This expression is not callable because it is a 'get' accessor. Did you mean to use it without '()'?"), Disable_loading_referenced_projects: r3(6235, 3, "Disable_loading_referenced_projects_6235", "Disable loading referenced projects."), Arguments_for_the_rest_parameter_0_were_not_provided: r3(6236, 1, "Arguments_for_the_rest_parameter_0_were_not_provided_6236", "Arguments for the rest parameter '{0}' were not provided."), Generates_an_event_trace_and_a_list_of_types: r3(6237, 3, "Generates_an_event_trace_and_a_list_of_types_6237", "Generates an event trace and a list of types."), Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react: r3(6238, 1, "Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react_6238", "Specify the module specifier to be used to import the 'jsx' and 'jsxs' factory functions from. eg, react"), File_0_exists_according_to_earlier_cached_lookups: r3(6239, 3, "File_0_exists_according_to_earlier_cached_lookups_6239", "File '{0}' exists according to earlier cached lookups."), File_0_does_not_exist_according_to_earlier_cached_lookups: r3(6240, 3, "File_0_does_not_exist_according_to_earlier_cached_lookups_6240", "File '{0}' does not exist according to earlier cached lookups."), Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1: r3(6241, 3, "Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1_6241", "Resolution for type reference directive '{0}' was found in cache from location '{1}'."), Resolving_type_reference_directive_0_containing_file_1: r3(6242, 3, "Resolving_type_reference_directive_0_containing_file_1_6242", "======== Resolving type reference directive '{0}', containing file '{1}'. ========"), Interpret_optional_property_types_as_written_rather_than_adding_undefined: r3(6243, 3, "Interpret_optional_property_types_as_written_rather_than_adding_undefined_6243", "Interpret optional property types as written, rather than adding 'undefined'."), Modules: r3(6244, 3, "Modules_6244", "Modules"), File_Management: r3(6245, 3, "File_Management_6245", "File Management"), Emit: r3(6246, 3, "Emit_6246", "Emit"), JavaScript_Support: r3(6247, 3, "JavaScript_Support_6247", "JavaScript Support"), Type_Checking: r3(6248, 3, "Type_Checking_6248", "Type Checking"), Editor_Support: r3(6249, 3, "Editor_Support_6249", "Editor Support"), Watch_and_Build_Modes: r3(6250, 3, "Watch_and_Build_Modes_6250", "Watch and Build Modes"), Compiler_Diagnostics: r3(6251, 3, "Compiler_Diagnostics_6251", "Compiler Diagnostics"), Interop_Constraints: r3(6252, 3, "Interop_Constraints_6252", "Interop Constraints"), Backwards_Compatibility: r3(6253, 3, "Backwards_Compatibility_6253", "Backwards Compatibility"), Language_and_Environment: r3(6254, 3, "Language_and_Environment_6254", "Language and Environment"), Projects: r3(6255, 3, "Projects_6255", "Projects"), Output_Formatting: r3(6256, 3, "Output_Formatting_6256", "Output Formatting"), Completeness: r3(6257, 3, "Completeness_6257", "Completeness"), _0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file: r3(6258, 1, "_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file_6258", "'{0}' should be set inside the 'compilerOptions' object of the config json file"), Found_1_error_in_0: r3(6259, 3, "Found_1_error_in_0_6259", "Found 1 error in {0}"), Found_0_errors_in_the_same_file_starting_at_Colon_1: r3(6260, 3, "Found_0_errors_in_the_same_file_starting_at_Colon_1_6260", "Found {0} errors in the same file, starting at: {1}"), Found_0_errors_in_1_files: r3(6261, 3, "Found_0_errors_in_1_files_6261", "Found {0} errors in {1} files."), File_name_0_has_a_1_extension_looking_up_2_instead: r3(6262, 3, "File_name_0_has_a_1_extension_looking_up_2_instead_6262", "File name '{0}' has a '{1}' extension - looking up '{2}' instead."), Module_0_was_resolved_to_1_but_allowArbitraryExtensions_is_not_set: r3(6263, 1, "Module_0_was_resolved_to_1_but_allowArbitraryExtensions_is_not_set_6263", "Module '{0}' was resolved to '{1}', but '--allowArbitraryExtensions' is not set."), Enable_importing_files_with_any_extension_provided_a_declaration_file_is_present: r3(6264, 3, "Enable_importing_files_with_any_extension_provided_a_declaration_file_is_present_6264", "Enable importing files with any extension, provided a declaration file is present."), Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_node_modules_folder: r3(6265, 3, "Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_no_6265", "Resolving type reference directive for program that specifies custom typeRoots, skipping lookup in 'node_modules' folder."), Option_0_can_only_be_specified_on_command_line: r3(6266, 1, "Option_0_can_only_be_specified_on_command_line_6266", "Option '{0}' can only be specified on command line."), Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve: r3(6270, 3, "Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve_6270", "Directory '{0}' has no containing package.json scope. Imports will not resolve."), Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1: r3(6271, 3, "Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1_6271", "Import specifier '{0}' does not exist in package.json scope at path '{1}'."), Invalid_import_specifier_0_has_no_possible_resolutions: r3(6272, 3, "Invalid_import_specifier_0_has_no_possible_resolutions_6272", "Invalid import specifier '{0}' has no possible resolutions."), package_json_scope_0_has_no_imports_defined: r3(6273, 3, "package_json_scope_0_has_no_imports_defined_6273", "package.json scope '{0}' has no imports defined."), package_json_scope_0_explicitly_maps_specifier_1_to_null: r3(6274, 3, "package_json_scope_0_explicitly_maps_specifier_1_to_null_6274", "package.json scope '{0}' explicitly maps specifier '{1}' to null."), package_json_scope_0_has_invalid_type_for_target_of_specifier_1: r3(6275, 3, "package_json_scope_0_has_invalid_type_for_target_of_specifier_1_6275", "package.json scope '{0}' has invalid type for target of specifier '{1}'"), Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1: r3(6276, 3, "Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1_6276", "Export specifier '{0}' does not exist in package.json scope at path '{1}'."), Resolution_of_non_relative_name_failed_trying_with_modern_Node_resolution_features_disabled_to_see_if_npm_library_needs_configuration_update: r3(6277, 3, "Resolution_of_non_relative_name_failed_trying_with_modern_Node_resolution_features_disabled_to_see_i_6277", "Resolution of non-relative name failed; trying with modern Node resolution features disabled to see if npm library needs configuration update."), There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The_1_library_may_need_to_update_its_package_json_or_typings: r3(6278, 3, "There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The__6278", `There are types at '{0}', but this result could not be resolved when respecting package.json "exports". The '{1}' library may need to update its package.json or typings.`), Resolution_of_non_relative_name_failed_trying_with_moduleResolution_bundler_to_see_if_project_may_need_configuration_update: r3(6279, 3, "Resolution_of_non_relative_name_failed_trying_with_moduleResolution_bundler_to_see_if_project_may_ne_6279", "Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update."), There_are_types_at_0_but_this_result_could_not_be_resolved_under_your_current_moduleResolution_setting_Consider_updating_to_node16_nodenext_or_bundler: r3(6280, 3, "There_are_types_at_0_but_this_result_could_not_be_resolved_under_your_current_moduleResolution_setti_6280", "There are types at '{0}', but this result could not be resolved under your current 'moduleResolution' setting. Consider updating to 'node16', 'nodenext', or 'bundler'."), package_json_has_a_peerDependencies_field: r3(6281, 3, "package_json_has_a_peerDependencies_field_6281", "'package.json' has a 'peerDependencies' field."), Found_peerDependency_0_with_1_version: r3(6282, 3, "Found_peerDependency_0_with_1_version_6282", "Found peerDependency '{0}' with '{1}' version."), Failed_to_find_peerDependency_0: r3(6283, 3, "Failed_to_find_peerDependency_0_6283", "Failed to find peerDependency '{0}'."), File_Layout: r3(6284, 3, "File_Layout_6284", "File Layout"), Environment_Settings: r3(6285, 3, "Environment_Settings_6285", "Environment Settings"), See_also_https_Colon_Slash_Slashaka_ms_Slashtsconfig_Slashmodule: r3(6286, 3, "See_also_https_Colon_Slash_Slashaka_ms_Slashtsconfig_Slashmodule_6286", "See also https://aka.ms/tsconfig/module"), For_nodejs_Colon: r3(6287, 3, "For_nodejs_Colon_6287", "For nodejs:"), and_npm_install_D_types_Slashnode: r3(6290, 3, "and_npm_install_D_types_Slashnode_6290", "and npm install -D @types/node"), Other_Outputs: r3(6291, 3, "Other_Outputs_6291", "Other Outputs"), Stricter_Typechecking_Options: r3(6292, 3, "Stricter_Typechecking_Options_6292", "Stricter Typechecking Options"), Style_Options: r3(6293, 3, "Style_Options_6293", "Style Options"), Recommended_Options: r3(6294, 3, "Recommended_Options_6294", "Recommended Options"), Enable_project_compilation: r3(6302, 3, "Enable_project_compilation_6302", "Enable project compilation"), Composite_projects_may_not_disable_declaration_emit: r3(6304, 1, "Composite_projects_may_not_disable_declaration_emit_6304", "Composite projects may not disable declaration emit."), Output_file_0_has_not_been_built_from_source_file_1: r3(6305, 1, "Output_file_0_has_not_been_built_from_source_file_1_6305", "Output file '{0}' has not been built from source file '{1}'."), Referenced_project_0_must_have_setting_composite_Colon_true: r3(6306, 1, "Referenced_project_0_must_have_setting_composite_Colon_true_6306", `Referenced project '{0}' must have setting "composite": true.`), File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_include_pattern: r3(6307, 1, "File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_includ_6307", "File '{0}' is not listed within the file list of project '{1}'. Projects must list all files or use an 'include' pattern."), Referenced_project_0_may_not_disable_emit: r3(6310, 1, "Referenced_project_0_may_not_disable_emit_6310", "Referenced project '{0}' may not disable emit."), Project_0_is_out_of_date_because_output_1_is_older_than_input_2: r3(6350, 3, "Project_0_is_out_of_date_because_output_1_is_older_than_input_2_6350", "Project '{0}' is out of date because output '{1}' is older than input '{2}'"), Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2: r3(6351, 3, "Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2_6351", "Project '{0}' is up to date because newest input '{1}' is older than output '{2}'"), Project_0_is_out_of_date_because_output_file_1_does_not_exist: r3(6352, 3, "Project_0_is_out_of_date_because_output_file_1_does_not_exist_6352", "Project '{0}' is out of date because output file '{1}' does not exist"), Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date: r3(6353, 3, "Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date_6353", "Project '{0}' is out of date because its dependency '{1}' is out of date"), Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies: r3(6354, 3, "Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies_6354", "Project '{0}' is up to date with .d.ts files from its dependencies"), Projects_in_this_build_Colon_0: r3(6355, 3, "Projects_in_this_build_Colon_0_6355", "Projects in this build: {0}"), A_non_dry_build_would_delete_the_following_files_Colon_0: r3(6356, 3, "A_non_dry_build_would_delete_the_following_files_Colon_0_6356", "A non-dry build would delete the following files: {0}"), A_non_dry_build_would_build_project_0: r3(6357, 3, "A_non_dry_build_would_build_project_0_6357", "A non-dry build would build project '{0}'"), Building_project_0: r3(6358, 3, "Building_project_0_6358", "Building project '{0}'..."), Updating_output_timestamps_of_project_0: r3(6359, 3, "Updating_output_timestamps_of_project_0_6359", "Updating output timestamps of project '{0}'..."), Project_0_is_up_to_date: r3(6361, 3, "Project_0_is_up_to_date_6361", "Project '{0}' is up to date"), Skipping_build_of_project_0_because_its_dependency_1_has_errors: r3(6362, 3, "Skipping_build_of_project_0_because_its_dependency_1_has_errors_6362", "Skipping build of project '{0}' because its dependency '{1}' has errors"), Project_0_can_t_be_built_because_its_dependency_1_has_errors: r3(6363, 3, "Project_0_can_t_be_built_because_its_dependency_1_has_errors_6363", "Project '{0}' can't be built because its dependency '{1}' has errors"), Build_one_or_more_projects_and_their_dependencies_if_out_of_date: r3(6364, 3, "Build_one_or_more_projects_and_their_dependencies_if_out_of_date_6364", "Build one or more projects and their dependencies, if out of date"), Delete_the_outputs_of_all_projects: r3(6365, 3, "Delete_the_outputs_of_all_projects_6365", "Delete the outputs of all projects."), Show_what_would_be_built_or_deleted_if_specified_with_clean: r3(6367, 3, "Show_what_would_be_built_or_deleted_if_specified_with_clean_6367", "Show what would be built (or deleted, if specified with '--clean')"), Option_build_must_be_the_first_command_line_argument: r3(6369, 1, "Option_build_must_be_the_first_command_line_argument_6369", "Option '--build' must be the first command line argument."), Options_0_and_1_cannot_be_combined: r3(6370, 1, "Options_0_and_1_cannot_be_combined_6370", "Options '{0}' and '{1}' cannot be combined."), Updating_unchanged_output_timestamps_of_project_0: r3(6371, 3, "Updating_unchanged_output_timestamps_of_project_0_6371", "Updating unchanged output timestamps of project '{0}'..."), A_non_dry_build_would_update_timestamps_for_output_of_project_0: r3(6374, 3, "A_non_dry_build_would_update_timestamps_for_output_of_project_0_6374", "A non-dry build would update timestamps for output of project '{0}'"), Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1: r3(6377, 1, "Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1_6377", "Cannot write file '{0}' because it will overwrite '.tsbuildinfo' file generated by referenced project '{1}'"), Composite_projects_may_not_disable_incremental_compilation: r3(6379, 1, "Composite_projects_may_not_disable_incremental_compilation_6379", "Composite projects may not disable incremental compilation."), Specify_file_to_store_incremental_compilation_information: r3(6380, 3, "Specify_file_to_store_incremental_compilation_information_6380", "Specify file to store incremental compilation information"), Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2: r3(6381, 3, "Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_curren_6381", "Project '{0}' is out of date because output for it was generated with version '{1}' that differs with current version '{2}'"), Skipping_build_of_project_0_because_its_dependency_1_was_not_built: r3(6382, 3, "Skipping_build_of_project_0_because_its_dependency_1_was_not_built_6382", "Skipping build of project '{0}' because its dependency '{1}' was not built"), Project_0_can_t_be_built_because_its_dependency_1_was_not_built: r3(6383, 3, "Project_0_can_t_be_built_because_its_dependency_1_was_not_built_6383", "Project '{0}' can't be built because its dependency '{1}' was not built"), Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it: r3(6384, 3, "Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_di_6384", "Have recompiles in '--incremental' and '--watch' assume that changes within a file will only affect files directly depending on it."), _0_is_deprecated: r3(6385, 2, "_0_is_deprecated_6385", "'{0}' is deprecated.", void 0, void 0, true), Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_native_implementation_of_the_Web_Performance_API_could_not_be_found: r3(6386, 3, "Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_nativ_6386", "Performance timings for '--diagnostics' or '--extendedDiagnostics' are not available in this session. A native implementation of the Web Performance API could not be found."), The_signature_0_of_1_is_deprecated: r3(6387, 2, "The_signature_0_of_1_is_deprecated_6387", "The signature '{0}' of '{1}' is deprecated.", void 0, void 0, true), Project_0_is_being_forcibly_rebuilt: r3(6388, 3, "Project_0_is_being_forcibly_rebuilt_6388", "Project '{0}' is being forcibly rebuilt"), Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved: r3(6389, 3, "Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved_6389", "Reusing resolution of module '{0}' from '{1}' of old program, it was not resolved."), Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2: r3(6390, 3, "Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6390", "Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was successfully resolved to '{2}'."), Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3: r3(6391, 3, "Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6391", "Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was successfully resolved to '{2}' with Package ID '{3}'."), Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved: r3(6392, 3, "Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved_6392", "Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was not resolved."), Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3: r3(6393, 3, "Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_6393", "Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}'."), Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4: r3(6394, 3, "Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_6394", "Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}' with Package ID '{4}'."), Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved: r3(6395, 3, "Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved_6395", "Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was not resolved."), Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3: r3(6396, 3, "Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_succes_6396", "Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}'."), Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4: r3(6397, 3, "Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_succes_6397", "Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}' with Package ID '{4}'."), Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_resolved: r3(6398, 3, "Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_re_6398", "Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was not resolved."), Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitted: r3(6399, 3, "Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitte_6399", "Project '{0}' is out of date because buildinfo file '{1}' indicates that some of the changes were not emitted"), Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_files: r3(6400, 3, "Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_fil_6400", "Project '{0}' is up to date but needs to update timestamps of output files that are older than input files"), Project_0_is_out_of_date_because_there_was_error_reading_file_1: r3(6401, 3, "Project_0_is_out_of_date_because_there_was_error_reading_file_1_6401", "Project '{0}' is out of date because there was error reading file '{1}'"), Resolving_in_0_mode_with_conditions_1: r3(6402, 3, "Resolving_in_0_mode_with_conditions_1_6402", "Resolving in {0} mode with conditions {1}."), Matched_0_condition_1: r3(6403, 3, "Matched_0_condition_1_6403", "Matched '{0}' condition '{1}'."), Using_0_subpath_1_with_target_2: r3(6404, 3, "Using_0_subpath_1_with_target_2_6404", "Using '{0}' subpath '{1}' with target '{2}'."), Saw_non_matching_condition_0: r3(6405, 3, "Saw_non_matching_condition_0_6405", "Saw non-matching condition '{0}'."), Project_0_is_out_of_date_because_buildinfo_file_1_indicates_there_is_change_in_compilerOptions: r3(6406, 3, "Project_0_is_out_of_date_because_buildinfo_file_1_indicates_there_is_change_in_compilerOptions_6406", "Project '{0}' is out of date because buildinfo file '{1}' indicates there is change in compilerOptions"), Allow_imports_to_include_TypeScript_file_extensions_Requires_moduleResolution_bundler_and_either_noEmit_or_emitDeclarationOnly_to_be_set: r3(6407, 3, "Allow_imports_to_include_TypeScript_file_extensions_Requires_moduleResolution_bundler_and_either_noE_6407", "Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set."), Use_the_package_json_exports_field_when_resolving_package_imports: r3(6408, 3, "Use_the_package_json_exports_field_when_resolving_package_imports_6408", "Use the package.json 'exports' field when resolving package imports."), Use_the_package_json_imports_field_when_resolving_imports: r3(6409, 3, "Use_the_package_json_imports_field_when_resolving_imports_6409", "Use the package.json 'imports' field when resolving imports."), Conditions_to_set_in_addition_to_the_resolver_specific_defaults_when_resolving_imports: r3(6410, 3, "Conditions_to_set_in_addition_to_the_resolver_specific_defaults_when_resolving_imports_6410", "Conditions to set in addition to the resolver-specific defaults when resolving imports."), true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false: r3(6411, 3, "true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false_6411", "`true` when 'moduleResolution' is 'node16', 'nodenext', or 'bundler'; otherwise `false`."), Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_file_2_was_root_file_of_compilation_but_not_any_more: r3(6412, 3, "Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_file_2_was_root_file_of_compilation_6412", "Project '{0}' is out of date because buildinfo file '{1}' indicates that file '{2}' was root file of compilation but not any more."), Entering_conditional_exports: r3(6413, 3, "Entering_conditional_exports_6413", "Entering conditional exports."), Resolved_under_condition_0: r3(6414, 3, "Resolved_under_condition_0_6414", "Resolved under condition '{0}'."), Failed_to_resolve_under_condition_0: r3(6415, 3, "Failed_to_resolve_under_condition_0_6415", "Failed to resolve under condition '{0}'."), Exiting_conditional_exports: r3(6416, 3, "Exiting_conditional_exports_6416", "Exiting conditional exports."), Searching_all_ancestor_node_modules_directories_for_preferred_extensions_Colon_0: r3(6417, 3, "Searching_all_ancestor_node_modules_directories_for_preferred_extensions_Colon_0_6417", "Searching all ancestor node_modules directories for preferred extensions: {0}."), Searching_all_ancestor_node_modules_directories_for_fallback_extensions_Colon_0: r3(6418, 3, "Searching_all_ancestor_node_modules_directories_for_fallback_extensions_Colon_0_6418", "Searching all ancestor node_modules directories for fallback extensions: {0}."), Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_program_needs_to_report_errors: r3(6419, 3, "Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_program_needs_to_report_errors_6419", "Project '{0}' is out of date because buildinfo file '{1}' indicates that program needs to report errors."), Project_0_is_out_of_date_because_1: r3(6420, 3, "Project_0_is_out_of_date_because_1_6420", "Project '{0}' is out of date because {1}."), Rewrite_ts_tsx_mts_and_cts_file_extensions_in_relative_import_paths_to_their_JavaScript_equivalent_in_output_files: r3(6421, 3, "Rewrite_ts_tsx_mts_and_cts_file_extensions_in_relative_import_paths_to_their_JavaScript_equivalent_i_6421", "Rewrite '.ts', '.tsx', '.mts', and '.cts' file extensions in relative import paths to their JavaScript equivalent in output files."), The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1: r3(6500, 3, "The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1_6500", "The expected type comes from property '{0}' which is declared here on type '{1}'"), The_expected_type_comes_from_this_index_signature: r3(6501, 3, "The_expected_type_comes_from_this_index_signature_6501", "The expected type comes from this index signature."), The_expected_type_comes_from_the_return_type_of_this_signature: r3(6502, 3, "The_expected_type_comes_from_the_return_type_of_this_signature_6502", "The expected type comes from the return type of this signature."), Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing: r3(6503, 3, "Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing_6503", "Print names of files that are part of the compilation and then stop processing."), File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option: r3(6504, 1, "File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option_6504", "File '{0}' is a JavaScript file. Did you mean to enable the 'allowJs' option?"), Print_names_of_files_and_the_reason_they_are_part_of_the_compilation: r3(6505, 3, "Print_names_of_files_and_the_reason_they_are_part_of_the_compilation_6505", "Print names of files and the reason they are part of the compilation."), Consider_adding_a_declare_modifier_to_this_class: r3(6506, 3, "Consider_adding_a_declare_modifier_to_this_class_6506", "Consider adding a 'declare' modifier to this class."), Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJs_option_to_get_errors_from_these_files: r3(6600, 3, "Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJs_option_to_get_errors_from_these__6600", "Allow JavaScript files to be a part of your program. Use the 'checkJs' option to get errors from these files."), Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export: r3(6601, 3, "Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export_6601", "Allow 'import x from y' when a module doesn't have a default export."), Allow_accessing_UMD_globals_from_modules: r3(6602, 3, "Allow_accessing_UMD_globals_from_modules_6602", "Allow accessing UMD globals from modules."), Disable_error_reporting_for_unreachable_code: r3(6603, 3, "Disable_error_reporting_for_unreachable_code_6603", "Disable error reporting for unreachable code."), Disable_error_reporting_for_unused_labels: r3(6604, 3, "Disable_error_reporting_for_unused_labels_6604", "Disable error reporting for unused labels."), Ensure_use_strict_is_always_emitted: r3(6605, 3, "Ensure_use_strict_is_always_emitted_6605", "Ensure 'use strict' is always emitted."), Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it: r3(6606, 3, "Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_wi_6606", "Have recompiles in projects that use 'incremental' and 'watch' mode assume that changes within a file will only affect files directly depending on it."), Specify_the_base_directory_to_resolve_non_relative_module_names: r3(6607, 3, "Specify_the_base_directory_to_resolve_non_relative_module_names_6607", "Specify the base directory to resolve non-relative module names."), No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files: r3(6608, 3, "No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files_6608", "No longer supported. In early versions, manually set the text encoding for reading files."), Enable_error_reporting_in_type_checked_JavaScript_files: r3(6609, 3, "Enable_error_reporting_in_type_checked_JavaScript_files_6609", "Enable error reporting in type-checked JavaScript files."), Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references: r3(6611, 3, "Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references_6611", "Enable constraints that allow a TypeScript project to be used with project references."), Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project: r3(6612, 3, "Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project_6612", "Generate .d.ts files from TypeScript and JavaScript files in your project."), Specify_the_output_directory_for_generated_declaration_files: r3(6613, 3, "Specify_the_output_directory_for_generated_declaration_files_6613", "Specify the output directory for generated declaration files."), Create_sourcemaps_for_d_ts_files: r3(6614, 3, "Create_sourcemaps_for_d_ts_files_6614", "Create sourcemaps for d.ts files."), Output_compiler_performance_information_after_building: r3(6615, 3, "Output_compiler_performance_information_after_building_6615", "Output compiler performance information after building."), Disables_inference_for_type_acquisition_by_looking_at_filenames_in_a_project: r3(6616, 3, "Disables_inference_for_type_acquisition_by_looking_at_filenames_in_a_project_6616", "Disables inference for type acquisition by looking at filenames in a project."), Reduce_the_number_of_projects_loaded_automatically_by_TypeScript: r3(6617, 3, "Reduce_the_number_of_projects_loaded_automatically_by_TypeScript_6617", "Reduce the number of projects loaded automatically by TypeScript."), Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server: r3(6618, 3, "Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server_6618", "Remove the 20mb cap on total source code size for JavaScript files in the TypeScript language server."), Opt_a_project_out_of_multi_project_reference_checking_when_editing: r3(6619, 3, "Opt_a_project_out_of_multi_project_reference_checking_when_editing_6619", "Opt a project out of multi-project reference checking when editing."), Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects: r3(6620, 3, "Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects_6620", "Disable preferring source files instead of declaration files when referencing composite projects."), Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration: r3(6621, 3, "Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration_6621", "Emit more compliant, but verbose and less performant JavaScript for iteration."), Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files: r3(6622, 3, "Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files_6622", "Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files."), Only_output_d_ts_files_and_not_JavaScript_files: r3(6623, 3, "Only_output_d_ts_files_and_not_JavaScript_files_6623", "Only output d.ts files and not JavaScript files."), Emit_design_type_metadata_for_decorated_declarations_in_source_files: r3(6624, 3, "Emit_design_type_metadata_for_decorated_declarations_in_source_files_6624", "Emit design-type metadata for decorated declarations in source files."), Disable_the_type_acquisition_for_JavaScript_projects: r3(6625, 3, "Disable_the_type_acquisition_for_JavaScript_projects_6625", "Disable the type acquisition for JavaScript projects"), Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility: r3(6626, 3, "Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheti_6626", "Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility."), Filters_results_from_the_include_option: r3(6627, 3, "Filters_results_from_the_include_option_6627", "Filters results from the `include` option."), Remove_a_list_of_directories_from_the_watch_process: r3(6628, 3, "Remove_a_list_of_directories_from_the_watch_process_6628", "Remove a list of directories from the watch process."), Remove_a_list_of_files_from_the_watch_mode_s_processing: r3(6629, 3, "Remove_a_list_of_files_from_the_watch_mode_s_processing_6629", "Remove a list of files from the watch mode's processing."), Enable_experimental_support_for_legacy_experimental_decorators: r3(6630, 3, "Enable_experimental_support_for_legacy_experimental_decorators_6630", "Enable experimental support for legacy experimental decorators."), Print_files_read_during_the_compilation_including_why_it_was_included: r3(6631, 3, "Print_files_read_during_the_compilation_including_why_it_was_included_6631", "Print files read during the compilation including why it was included."), Output_more_detailed_compiler_performance_information_after_building: r3(6632, 3, "Output_more_detailed_compiler_performance_information_after_building_6632", "Output more detailed compiler performance information after building."), Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_are_inherited: r3(6633, 3, "Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_a_6633", "Specify one or more path or node module references to base configuration files from which settings are inherited."), Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers: r3(6634, 3, "Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers_6634", "Specify what approach the watcher should use if the system runs out of native file watchers."), Include_a_list_of_files_This_does_not_support_glob_patterns_as_opposed_to_include: r3(6635, 3, "Include_a_list_of_files_This_does_not_support_glob_patterns_as_opposed_to_include_6635", "Include a list of files. This does not support glob patterns, as opposed to `include`."), Build_all_projects_including_those_that_appear_to_be_up_to_date: r3(6636, 3, "Build_all_projects_including_those_that_appear_to_be_up_to_date_6636", "Build all projects, including those that appear to be up to date."), Ensure_that_casing_is_correct_in_imports: r3(6637, 3, "Ensure_that_casing_is_correct_in_imports_6637", "Ensure that casing is correct in imports."), Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging: r3(6638, 3, "Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging_6638", "Emit a v8 CPU profile of the compiler run for debugging."), Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file: r3(6639, 3, "Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file_6639", "Allow importing helper functions from tslib once per project, instead of including them per-file."), Skip_building_downstream_projects_on_error_in_upstream_project: r3(6640, 3, "Skip_building_downstream_projects_on_error_in_upstream_project_6640", "Skip building downstream projects on error in upstream project."), Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation: r3(6641, 3, "Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation_6641", "Specify a list of glob patterns that match files to be included in compilation."), Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects: r3(6642, 3, "Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects_6642", "Save .tsbuildinfo files to allow for incremental compilation of projects."), Include_sourcemap_files_inside_the_emitted_JavaScript: r3(6643, 3, "Include_sourcemap_files_inside_the_emitted_JavaScript_6643", "Include sourcemap files inside the emitted JavaScript."), Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript: r3(6644, 3, "Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript_6644", "Include source code in the sourcemaps inside the emitted JavaScript."), Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports: r3(6645, 3, "Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports_6645", "Ensure that each file can be safely transpiled without relying on other imports."), Specify_what_JSX_code_is_generated: r3(6646, 3, "Specify_what_JSX_code_is_generated_6646", "Specify what JSX code is generated."), Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h: r3(6647, 3, "Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h_6647", "Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'."), Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragment_or_Fragment: r3(6648, 3, "Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragme_6648", "Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'."), Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Asterisk: r3(6649, 3, "Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Ast_6649", "Specify module specifier used to import the JSX factory functions when using 'jsx: react-jsx*'."), Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option: r3(6650, 3, "Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option_6650", "Make keyof only return strings instead of string, numbers or symbols. Legacy option."), Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment: r3(6651, 3, "Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment_6651", "Specify a set of bundled library declaration files that describe the target runtime environment."), Print_the_names_of_emitted_files_after_a_compilation: r3(6652, 3, "Print_the_names_of_emitted_files_after_a_compilation_6652", "Print the names of emitted files after a compilation."), Print_all_of_the_files_read_during_the_compilation: r3(6653, 3, "Print_all_of_the_files_read_during_the_compilation_6653", "Print all of the files read during the compilation."), Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit: r3(6654, 3, "Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit_6654", "Set the language of the messaging from TypeScript. This does not affect emit."), Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations: r3(6655, 3, "Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6655", "Specify the location where debugger should locate map files instead of generated locations."), Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicable_with_allowJs: r3(6656, 3, "Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicabl_6656", "Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'."), Specify_what_module_code_is_generated: r3(6657, 3, "Specify_what_module_code_is_generated_6657", "Specify what module code is generated."), Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier: r3(6658, 3, "Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier_6658", "Specify how TypeScript looks up a file from a given module specifier."), Set_the_newline_character_for_emitting_files: r3(6659, 3, "Set_the_newline_character_for_emitting_files_6659", "Set the newline character for emitting files."), Disable_emitting_files_from_a_compilation: r3(6660, 3, "Disable_emitting_files_from_a_compilation_6660", "Disable emitting files from a compilation."), Disable_generating_custom_helper_functions_like_extends_in_compiled_output: r3(6661, 3, "Disable_generating_custom_helper_functions_like_extends_in_compiled_output_6661", "Disable generating custom helper functions like '__extends' in compiled output."), Disable_emitting_files_if_any_type_checking_errors_are_reported: r3(6662, 3, "Disable_emitting_files_if_any_type_checking_errors_are_reported_6662", "Disable emitting files if any type checking errors are reported."), Disable_truncating_types_in_error_messages: r3(6663, 3, "Disable_truncating_types_in_error_messages_6663", "Disable truncating types in error messages."), Enable_error_reporting_for_fallthrough_cases_in_switch_statements: r3(6664, 3, "Enable_error_reporting_for_fallthrough_cases_in_switch_statements_6664", "Enable error reporting for fallthrough cases in switch statements."), Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type: r3(6665, 3, "Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type_6665", "Enable error reporting for expressions and declarations with an implied 'any' type."), Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier: r3(6666, 3, "Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier_6666", "Ensure overriding members in derived classes are marked with an override modifier."), Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function: r3(6667, 3, "Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function_6667", "Enable error reporting for codepaths that do not explicitly return in a function."), Enable_error_reporting_when_this_is_given_the_type_any: r3(6668, 3, "Enable_error_reporting_when_this_is_given_the_type_any_6668", "Enable error reporting when 'this' is given the type 'any'."), Disable_adding_use_strict_directives_in_emitted_JavaScript_files: r3(6669, 3, "Disable_adding_use_strict_directives_in_emitted_JavaScript_files_6669", "Disable adding 'use strict' directives in emitted JavaScript files."), Disable_including_any_library_files_including_the_default_lib_d_ts: r3(6670, 3, "Disable_including_any_library_files_including_the_default_lib_d_ts_6670", "Disable including any library files, including the default lib.d.ts."), Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type: r3(6671, 3, "Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type_6671", "Enforces using indexed accessors for keys declared using an indexed type."), Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add_to_a_project: r3(6672, 3, "Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add__6672", "Disallow 'import's, 'require's or ''s from expanding the number of files TypeScript should add to a project."), Disable_strict_checking_of_generic_signatures_in_function_types: r3(6673, 3, "Disable_strict_checking_of_generic_signatures_in_function_types_6673", "Disable strict checking of generic signatures in function types."), Add_undefined_to_a_type_when_accessed_using_an_index: r3(6674, 3, "Add_undefined_to_a_type_when_accessed_using_an_index_6674", "Add 'undefined' to a type when accessed using an index."), Enable_error_reporting_when_local_variables_aren_t_read: r3(6675, 3, "Enable_error_reporting_when_local_variables_aren_t_read_6675", "Enable error reporting when local variables aren't read."), Raise_an_error_when_a_function_parameter_isn_t_read: r3(6676, 3, "Raise_an_error_when_a_function_parameter_isn_t_read_6676", "Raise an error when a function parameter isn't read."), Deprecated_setting_Use_outFile_instead: r3(6677, 3, "Deprecated_setting_Use_outFile_instead_6677", "Deprecated setting. Use 'outFile' instead."), Specify_an_output_folder_for_all_emitted_files: r3(6678, 3, "Specify_an_output_folder_for_all_emitted_files_6678", "Specify an output folder for all emitted files."), Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designates_a_file_that_bundles_all_d_ts_output: r3(6679, 3, "Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designa_6679", "Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output."), Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations: r3(6680, 3, "Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations_6680", "Specify a set of entries that re-map imports to additional lookup locations."), Specify_a_list_of_language_service_plugins_to_include: r3(6681, 3, "Specify_a_list_of_language_service_plugins_to_include_6681", "Specify a list of language service plugins to include."), Disable_erasing_const_enum_declarations_in_generated_code: r3(6682, 3, "Disable_erasing_const_enum_declarations_in_generated_code_6682", "Disable erasing 'const enum' declarations in generated code."), Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node: r3(6683, 3, "Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node_6683", "Disable resolving symlinks to their realpath. This correlates to the same flag in node."), Disable_wiping_the_console_in_watch_mode: r3(6684, 3, "Disable_wiping_the_console_in_watch_mode_6684", "Disable wiping the console in watch mode."), Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read: r3(6685, 3, "Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read_6685", "Enable color and formatting in TypeScript's output to make compiler errors easier to read."), Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit: r3(6686, 3, "Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit_6686", "Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit."), Specify_an_array_of_objects_that_specify_paths_for_projects_Used_in_project_references: r3(6687, 3, "Specify_an_array_of_objects_that_specify_paths_for_projects_Used_in_project_references_6687", "Specify an array of objects that specify paths for projects. Used in project references."), Disable_emitting_comments: r3(6688, 3, "Disable_emitting_comments_6688", "Disable emitting comments."), Enable_importing_json_files: r3(6689, 3, "Enable_importing_json_files_6689", "Enable importing .json files."), Specify_the_root_folder_within_your_source_files: r3(6690, 3, "Specify_the_root_folder_within_your_source_files_6690", "Specify the root folder within your source files."), Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules: r3(6691, 3, "Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules_6691", "Allow multiple folders to be treated as one when resolving modules."), Skip_type_checking_d_ts_files_that_are_included_with_TypeScript: r3(6692, 3, "Skip_type_checking_d_ts_files_that_are_included_with_TypeScript_6692", "Skip type checking .d.ts files that are included with TypeScript."), Skip_type_checking_all_d_ts_files: r3(6693, 3, "Skip_type_checking_all_d_ts_files_6693", "Skip type checking all .d.ts files."), Create_source_map_files_for_emitted_JavaScript_files: r3(6694, 3, "Create_source_map_files_for_emitted_JavaScript_files_6694", "Create source map files for emitted JavaScript files."), Specify_the_root_path_for_debuggers_to_find_the_reference_source_code: r3(6695, 3, "Specify_the_root_path_for_debuggers_to_find_the_reference_source_code_6695", "Specify the root path for debuggers to find the reference source code."), Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function: r3(6697, 3, "Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function_6697", "Check that the arguments for 'bind', 'call', and 'apply' methods match the original function."), When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible: r3(6698, 3, "When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible_6698", "When assigning functions, check to ensure parameters and the return values are subtype-compatible."), When_type_checking_take_into_account_null_and_undefined: r3(6699, 3, "When_type_checking_take_into_account_null_and_undefined_6699", "When type checking, take into account 'null' and 'undefined'."), Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor: r3(6700, 3, "Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor_6700", "Check for class properties that are declared but not set in the constructor."), Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments: r3(6701, 3, "Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments_6701", "Disable emitting declarations that have '@internal' in their JSDoc comments."), Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals: r3(6702, 3, "Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals_6702", "Disable reporting of excess property errors during the creation of object literals."), Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures: r3(6703, 3, "Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures_6703", "Suppress 'noImplicitAny' errors when indexing objects that lack index signatures."), Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively: r3(6704, 3, "Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_supp_6704", "Synchronously call callbacks and update the state of directory watchers on platforms that don`t support recursive watching natively."), Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declarations: r3(6705, 3, "Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declaratio_6705", "Set the JavaScript language version for emitted JavaScript and include compatible library declarations."), Log_paths_used_during_the_moduleResolution_process: r3(6706, 3, "Log_paths_used_during_the_moduleResolution_process_6706", "Log paths used during the 'moduleResolution' process."), Specify_the_path_to_tsbuildinfo_incremental_compilation_file: r3(6707, 3, "Specify_the_path_to_tsbuildinfo_incremental_compilation_file_6707", "Specify the path to .tsbuildinfo incremental compilation file."), Specify_options_for_automatic_acquisition_of_declaration_files: r3(6709, 3, "Specify_options_for_automatic_acquisition_of_declaration_files_6709", "Specify options for automatic acquisition of declaration files."), Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types: r3(6710, 3, "Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types_6710", "Specify multiple folders that act like './node_modules/@types'."), Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file: r3(6711, 3, "Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file_6711", "Specify type package names to be included without being referenced in a source file."), Emit_ECMAScript_standard_compliant_class_fields: r3(6712, 3, "Emit_ECMAScript_standard_compliant_class_fields_6712", "Emit ECMAScript-standard-compliant class fields."), Enable_verbose_logging: r3(6713, 3, "Enable_verbose_logging_6713", "Enable verbose logging."), Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality: r3(6714, 3, "Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality_6714", "Specify how directories are watched on systems that lack recursive file-watching functionality."), Specify_how_the_TypeScript_watch_mode_works: r3(6715, 3, "Specify_how_the_TypeScript_watch_mode_works_6715", "Specify how the TypeScript watch mode works."), Require_undeclared_properties_from_index_signatures_to_use_element_accesses: r3(6717, 3, "Require_undeclared_properties_from_index_signatures_to_use_element_accesses_6717", "Require undeclared properties from index signatures to use element accesses."), Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types: r3(6718, 3, "Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types_6718", "Specify emit/checking behavior for imports that are only used for types."), Require_sufficient_annotation_on_exports_so_other_tools_can_trivially_generate_declaration_files: r3(6719, 3, "Require_sufficient_annotation_on_exports_so_other_tools_can_trivially_generate_declaration_files_6719", "Require sufficient annotation on exports so other tools can trivially generate declaration files."), Built_in_iterators_are_instantiated_with_a_TReturn_type_of_undefined_instead_of_any: r3(6720, 3, "Built_in_iterators_are_instantiated_with_a_TReturn_type_of_undefined_instead_of_any_6720", "Built-in iterators are instantiated with a 'TReturn' type of 'undefined' instead of 'any'."), Do_not_allow_runtime_constructs_that_are_not_part_of_ECMAScript: r3(6721, 3, "Do_not_allow_runtime_constructs_that_are_not_part_of_ECMAScript_6721", "Do not allow runtime constructs that are not part of ECMAScript."), Default_catch_clause_variables_as_unknown_instead_of_any: r3(6803, 3, "Default_catch_clause_variables_as_unknown_instead_of_any_6803", "Default catch clause variables as 'unknown' instead of 'any'."), Do_not_transform_or_elide_any_imports_or_exports_not_marked_as_type_only_ensuring_they_are_written_in_the_output_file_s_format_based_on_the_module_setting: r3(6804, 3, "Do_not_transform_or_elide_any_imports_or_exports_not_marked_as_type_only_ensuring_they_are_written_i_6804", "Do not transform or elide any imports or exports not marked as type-only, ensuring they are written in the output file's format based on the 'module' setting."), Disable_full_type_checking_only_critical_parse_and_emit_errors_will_be_reported: r3(6805, 3, "Disable_full_type_checking_only_critical_parse_and_emit_errors_will_be_reported_6805", "Disable full type checking (only critical parse and emit errors will be reported)."), Check_side_effect_imports: r3(6806, 3, "Check_side_effect_imports_6806", "Check side effect imports."), This_operation_can_be_simplified_This_shift_is_identical_to_0_1_2: r3(6807, 1, "This_operation_can_be_simplified_This_shift_is_identical_to_0_1_2_6807", "This operation can be simplified. This shift is identical to `{0} {1} {2}`."), Enable_lib_replacement: r3(6808, 3, "Enable_lib_replacement_6808", "Enable lib replacement."), one_of_Colon: r3(6900, 3, "one_of_Colon_6900", "one of:"), one_or_more_Colon: r3(6901, 3, "one_or_more_Colon_6901", "one or more:"), type_Colon: r3(6902, 3, "type_Colon_6902", "type:"), default_Colon: r3(6903, 3, "default_Colon_6903", "default:"), module_system_or_esModuleInterop: r3(6904, 3, "module_system_or_esModuleInterop_6904", 'module === "system" or esModuleInterop'), false_unless_strict_is_set: r3(6905, 3, "false_unless_strict_is_set_6905", "`false`, unless `strict` is set"), false_unless_composite_is_set: r3(6906, 3, "false_unless_composite_is_set_6906", "`false`, unless `composite` is set"), node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified: r3(6907, 3, "node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified_6907", '`["node_modules", "bower_components", "jspm_packages"]`, plus the value of `outDir` if one is specified.'), if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk: r3(6908, 3, "if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk_6908", '`[]` if `files` is specified, otherwise `["**/*"]`'), true_if_composite_false_otherwise: r3(6909, 3, "true_if_composite_false_otherwise_6909", "`true` if `composite`, `false` otherwise"), module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node: r3(69010, 3, "module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node_69010", "module === `AMD` or `UMD` or `System` or `ES6`, then `Classic`, Otherwise `Node`"), Computed_from_the_list_of_input_files: r3(6911, 3, "Computed_from_the_list_of_input_files_6911", "Computed from the list of input files"), Platform_specific: r3(6912, 3, "Platform_specific_6912", "Platform specific"), You_can_learn_about_all_of_the_compiler_options_at_0: r3(6913, 3, "You_can_learn_about_all_of_the_compiler_options_at_0_6913", "You can learn about all of the compiler options at {0}"), Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_config_watch_mode_with_Colon: r3(6914, 3, "Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_conf_6914", "Including --watch, -w will start watching the current project for the file changes. Once set, you can config watch mode with:"), Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_trigger_building_composite_projects_which_you_can_learn_more_about_at_0: r3(6915, 3, "Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_tr_6915", "Using --build, -b will make tsc behave more like a build orchestrator than a compiler. This is used to trigger building composite projects which you can learn more about at {0}"), COMMON_COMMANDS: r3(6916, 3, "COMMON_COMMANDS_6916", "COMMON COMMANDS"), ALL_COMPILER_OPTIONS: r3(6917, 3, "ALL_COMPILER_OPTIONS_6917", "ALL COMPILER OPTIONS"), WATCH_OPTIONS: r3(6918, 3, "WATCH_OPTIONS_6918", "WATCH OPTIONS"), BUILD_OPTIONS: r3(6919, 3, "BUILD_OPTIONS_6919", "BUILD OPTIONS"), COMMON_COMPILER_OPTIONS: r3(6920, 3, "COMMON_COMPILER_OPTIONS_6920", "COMMON COMPILER OPTIONS"), COMMAND_LINE_FLAGS: r3(6921, 3, "COMMAND_LINE_FLAGS_6921", "COMMAND LINE FLAGS"), tsc_Colon_The_TypeScript_Compiler: r3(6922, 3, "tsc_Colon_The_TypeScript_Compiler_6922", "tsc: The TypeScript Compiler"), Compiles_the_current_project_tsconfig_json_in_the_working_directory: r3(6923, 3, "Compiles_the_current_project_tsconfig_json_in_the_working_directory_6923", "Compiles the current project (tsconfig.json in the working directory.)"), Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options: r3(6924, 3, "Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options_6924", "Ignoring tsconfig.json, compiles the specified files with default compiler options."), Build_a_composite_project_in_the_working_directory: r3(6925, 3, "Build_a_composite_project_in_the_working_directory_6925", "Build a composite project in the working directory."), Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory: r3(6926, 3, "Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory_6926", "Creates a tsconfig.json with the recommended settings in the working directory."), Compiles_the_TypeScript_project_located_at_the_specified_path: r3(6927, 3, "Compiles_the_TypeScript_project_located_at_the_specified_path_6927", "Compiles the TypeScript project located at the specified path."), An_expanded_version_of_this_information_showing_all_possible_compiler_options: r3(6928, 3, "An_expanded_version_of_this_information_showing_all_possible_compiler_options_6928", "An expanded version of this information, showing all possible compiler options"), Compiles_the_current_project_with_additional_settings: r3(6929, 3, "Compiles_the_current_project_with_additional_settings_6929", "Compiles the current project, with additional settings."), true_for_ES2022_and_above_including_ESNext: r3(6930, 3, "true_for_ES2022_and_above_including_ESNext_6930", "`true` for ES2022 and above, including ESNext."), List_of_file_name_suffixes_to_search_when_resolving_a_module: r3(6931, 1, "List_of_file_name_suffixes_to_search_when_resolving_a_module_6931", "List of file name suffixes to search when resolving a module."), Variable_0_implicitly_has_an_1_type: r3(7005, 1, "Variable_0_implicitly_has_an_1_type_7005", "Variable '{0}' implicitly has an '{1}' type."), Parameter_0_implicitly_has_an_1_type: r3(7006, 1, "Parameter_0_implicitly_has_an_1_type_7006", "Parameter '{0}' implicitly has an '{1}' type."), Member_0_implicitly_has_an_1_type: r3(7008, 1, "Member_0_implicitly_has_an_1_type_7008", "Member '{0}' implicitly has an '{1}' type."), new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type: r3(7009, 1, "new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type_7009", "'new' expression, whose target lacks a construct signature, implicitly has an 'any' type."), _0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type: r3(7010, 1, "_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type_7010", "'{0}', which lacks return-type annotation, implicitly has an '{1}' return type."), Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type: r3(7011, 1, "Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7011", "Function expression, which lacks return-type annotation, implicitly has an '{0}' return type."), This_overload_implicitly_returns_the_type_0_because_it_lacks_a_return_type_annotation: r3(7012, 1, "This_overload_implicitly_returns_the_type_0_because_it_lacks_a_return_type_annotation_7012", "This overload implicitly returns the type '{0}' because it lacks a return type annotation."), Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type: r3(7013, 1, "Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7013", "Construct signature, which lacks return-type annotation, implicitly has an 'any' return type."), Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type: r3(7014, 1, "Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7014", "Function type, which lacks return-type annotation, implicitly has an '{0}' return type."), Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number: r3(7015, 1, "Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number_7015", "Element implicitly has an 'any' type because index expression is not of type 'number'."), Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type: r3(7016, 1, "Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type_7016", "Could not find a declaration file for module '{0}'. '{1}' implicitly has an 'any' type."), Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature: r3(7017, 1, "Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_7017", "Element implicitly has an 'any' type because type '{0}' has no index signature."), Object_literal_s_property_0_implicitly_has_an_1_type: r3(7018, 1, "Object_literal_s_property_0_implicitly_has_an_1_type_7018", "Object literal's property '{0}' implicitly has an '{1}' type."), Rest_parameter_0_implicitly_has_an_any_type: r3(7019, 1, "Rest_parameter_0_implicitly_has_an_any_type_7019", "Rest parameter '{0}' implicitly has an 'any[]' type."), Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type: r3(7020, 1, "Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7020", "Call signature, which lacks return-type annotation, implicitly has an 'any' return type."), _0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer: r3(7022, 1, "_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or__7022", "'{0}' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer."), _0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions: r3(7023, 1, "_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_reference_7023", "'{0}' implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."), Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions: r3(7024, 1, "Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_ref_7024", "Function implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."), Generator_implicitly_has_yield_type_0_Consider_supplying_a_return_type_annotation: r3(7025, 1, "Generator_implicitly_has_yield_type_0_Consider_supplying_a_return_type_annotation_7025", "Generator implicitly has yield type '{0}'. Consider supplying a return type annotation."), JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists: r3(7026, 1, "JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists_7026", "JSX element implicitly has type 'any' because no interface 'JSX.{0}' exists."), Unreachable_code_detected: r3(7027, 1, "Unreachable_code_detected_7027", "Unreachable code detected.", true), Unused_label: r3(7028, 1, "Unused_label_7028", "Unused label.", true), Fallthrough_case_in_switch: r3(7029, 1, "Fallthrough_case_in_switch_7029", "Fallthrough case in switch."), Not_all_code_paths_return_a_value: r3(7030, 1, "Not_all_code_paths_return_a_value_7030", "Not all code paths return a value."), Binding_element_0_implicitly_has_an_1_type: r3(7031, 1, "Binding_element_0_implicitly_has_an_1_type_7031", "Binding element '{0}' implicitly has an '{1}' type."), Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation: r3(7032, 1, "Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation_7032", "Property '{0}' implicitly has type 'any', because its set accessor lacks a parameter type annotation."), Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation: r3(7033, 1, "Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation_7033", "Property '{0}' implicitly has type 'any', because its get accessor lacks a return type annotation."), Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined: r3(7034, 1, "Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined_7034", "Variable '{0}' implicitly has type '{1}' in some locations where its type cannot be determined."), Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0: r3(7035, 1, "Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare__7035", "Try `npm i --save-dev @types/{1}` if it exists or add a new declaration (.d.ts) file containing `declare module '{0}';`"), Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0: r3(7036, 1, "Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0_7036", "Dynamic import's specifier must be of type 'string', but here has type '{0}'."), Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for_all_imports_Implies_allowSyntheticDefaultImports: r3(7037, 3, "Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for__7037", "Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'."), Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead: r3(7038, 3, "Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cau_7038", "Type originates at this import. A namespace-style import cannot be called or constructed, and will cause a failure at runtime. Consider using a default import or import require here instead."), Mapped_object_type_implicitly_has_an_any_template_type: r3(7039, 1, "Mapped_object_type_implicitly_has_an_any_template_type_7039", "Mapped object type implicitly has an 'any' template type."), If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_Slash_Slashgithub_com_SlashDefinitelyTyped_SlashDefinitelyTyped_Slashtree_Slashmaster_Slashtypes_Slash_1: r3(7040, 1, "If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_S_7040", "If the '{0}' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/{1}'"), The_containing_arrow_function_captures_the_global_value_of_this: r3(7041, 1, "The_containing_arrow_function_captures_the_global_value_of_this_7041", "The containing arrow function captures the global value of 'this'."), Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used: r3(7042, 1, "Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used_7042", "Module '{0}' was resolved to '{1}', but '--resolveJsonModule' is not used."), Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage: r3(7043, 2, "Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7043", "Variable '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."), Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage: r3(7044, 2, "Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7044", "Parameter '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."), Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage: r3(7045, 2, "Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7045", "Member '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."), Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage: r3(7046, 2, "Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage_7046", "Variable '{0}' implicitly has type '{1}' in some locations, but a better type may be inferred from usage."), Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage: r3(7047, 2, "Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage_7047", "Rest parameter '{0}' implicitly has an 'any[]' type, but a better type may be inferred from usage."), Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage: r3(7048, 2, "Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage_7048", "Property '{0}' implicitly has type 'any', but a better type for its get accessor may be inferred from usage."), Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage: r3(7049, 2, "Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage_7049", "Property '{0}' implicitly has type 'any', but a better type for its set accessor may be inferred from usage."), _0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage: r3(7050, 2, "_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage_7050", "'{0}' implicitly has an '{1}' return type, but a better type may be inferred from usage."), Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1: r3(7051, 1, "Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1_7051", "Parameter has a name but no type. Did you mean '{0}: {1}'?"), Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1: r3(7052, 1, "Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1_7052", "Element implicitly has an 'any' type because type '{0}' has no index signature. Did you mean to call '{1}'?"), Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1: r3(7053, 1, "Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1_7053", "Element implicitly has an 'any' type because expression of type '{0}' can't be used to index type '{1}'."), No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1: r3(7054, 1, "No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1_7054", "No index signature with a parameter of type '{0}' was found on type '{1}'."), _0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type: r3(7055, 1, "_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type_7055", "'{0}', which lacks return-type annotation, implicitly has an '{1}' yield type."), The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed: r3(7056, 1, "The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_ty_7056", "The inferred type of this node exceeds the maximum length the compiler will serialize. An explicit type annotation is needed."), yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_type_annotation: r3(7057, 1, "yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_t_7057", "'yield' expression implicitly results in an 'any' type because its containing generator lacks a return-type annotation."), If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_declare_module_1: r3(7058, 1, "If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_decl_7058", "If the '{0}' package actually exposes this module, try adding a new declaration (.d.ts) file containing `declare module '{1}';`"), This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead: r3(7059, 1, "This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead_7059", "This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead."), This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_constraint: r3(7060, 1, "This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_cons_7060", "This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma or explicit constraint."), A_mapped_type_may_not_declare_properties_or_methods: r3(7061, 1, "A_mapped_type_may_not_declare_properties_or_methods_7061", "A mapped type may not declare properties or methods."), You_cannot_rename_this_element: r3(8e3, 1, "You_cannot_rename_this_element_8000", "You cannot rename this element."), You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library: r3(8001, 1, "You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library_8001", "You cannot rename elements that are defined in the standard TypeScript library."), import_can_only_be_used_in_TypeScript_files: r3(8002, 1, "import_can_only_be_used_in_TypeScript_files_8002", "'import ... =' can only be used in TypeScript files."), export_can_only_be_used_in_TypeScript_files: r3(8003, 1, "export_can_only_be_used_in_TypeScript_files_8003", "'export =' can only be used in TypeScript files."), Type_parameter_declarations_can_only_be_used_in_TypeScript_files: r3(8004, 1, "Type_parameter_declarations_can_only_be_used_in_TypeScript_files_8004", "Type parameter declarations can only be used in TypeScript files."), implements_clauses_can_only_be_used_in_TypeScript_files: r3(8005, 1, "implements_clauses_can_only_be_used_in_TypeScript_files_8005", "'implements' clauses can only be used in TypeScript files."), _0_declarations_can_only_be_used_in_TypeScript_files: r3(8006, 1, "_0_declarations_can_only_be_used_in_TypeScript_files_8006", "'{0}' declarations can only be used in TypeScript files."), Type_aliases_can_only_be_used_in_TypeScript_files: r3(8008, 1, "Type_aliases_can_only_be_used_in_TypeScript_files_8008", "Type aliases can only be used in TypeScript files."), The_0_modifier_can_only_be_used_in_TypeScript_files: r3(8009, 1, "The_0_modifier_can_only_be_used_in_TypeScript_files_8009", "The '{0}' modifier can only be used in TypeScript files."), Type_annotations_can_only_be_used_in_TypeScript_files: r3(8010, 1, "Type_annotations_can_only_be_used_in_TypeScript_files_8010", "Type annotations can only be used in TypeScript files."), Type_arguments_can_only_be_used_in_TypeScript_files: r3(8011, 1, "Type_arguments_can_only_be_used_in_TypeScript_files_8011", "Type arguments can only be used in TypeScript files."), Parameter_modifiers_can_only_be_used_in_TypeScript_files: r3(8012, 1, "Parameter_modifiers_can_only_be_used_in_TypeScript_files_8012", "Parameter modifiers can only be used in TypeScript files."), Non_null_assertions_can_only_be_used_in_TypeScript_files: r3(8013, 1, "Non_null_assertions_can_only_be_used_in_TypeScript_files_8013", "Non-null assertions can only be used in TypeScript files."), Type_assertion_expressions_can_only_be_used_in_TypeScript_files: r3(8016, 1, "Type_assertion_expressions_can_only_be_used_in_TypeScript_files_8016", "Type assertion expressions can only be used in TypeScript files."), Signature_declarations_can_only_be_used_in_TypeScript_files: r3(8017, 1, "Signature_declarations_can_only_be_used_in_TypeScript_files_8017", "Signature declarations can only be used in TypeScript files."), Report_errors_in_js_files: r3(8019, 3, "Report_errors_in_js_files_8019", "Report errors in .js files."), JSDoc_types_can_only_be_used_inside_documentation_comments: r3(8020, 1, "JSDoc_types_can_only_be_used_inside_documentation_comments_8020", "JSDoc types can only be used inside documentation comments."), JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags: r3(8021, 1, "JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags_8021", "JSDoc '@typedef' tag should either have a type annotation or be followed by '@property' or '@member' tags."), JSDoc_0_is_not_attached_to_a_class: r3(8022, 1, "JSDoc_0_is_not_attached_to_a_class_8022", "JSDoc '@{0}' is not attached to a class."), JSDoc_0_1_does_not_match_the_extends_2_clause: r3(8023, 1, "JSDoc_0_1_does_not_match_the_extends_2_clause_8023", "JSDoc '@{0} {1}' does not match the 'extends {2}' clause."), JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name: r3(8024, 1, "JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_8024", "JSDoc '@param' tag has name '{0}', but there is no parameter with that name."), Class_declarations_cannot_have_more_than_one_augments_or_extends_tag: r3(8025, 1, "Class_declarations_cannot_have_more_than_one_augments_or_extends_tag_8025", "Class declarations cannot have more than one '@augments' or '@extends' tag."), Expected_0_type_arguments_provide_these_with_an_extends_tag: r3(8026, 1, "Expected_0_type_arguments_provide_these_with_an_extends_tag_8026", "Expected {0} type arguments; provide these with an '@extends' tag."), Expected_0_1_type_arguments_provide_these_with_an_extends_tag: r3(8027, 1, "Expected_0_1_type_arguments_provide_these_with_an_extends_tag_8027", "Expected {0}-{1} type arguments; provide these with an '@extends' tag."), JSDoc_may_only_appear_in_the_last_parameter_of_a_signature: r3(8028, 1, "JSDoc_may_only_appear_in_the_last_parameter_of_a_signature_8028", "JSDoc '...' may only appear in the last parameter of a signature."), JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type: r3(8029, 1, "JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_h_8029", "JSDoc '@param' tag has name '{0}', but there is no parameter with that name. It would match 'arguments' if it had an array type."), The_type_of_a_function_declaration_must_match_the_function_s_signature: r3(8030, 1, "The_type_of_a_function_declaration_must_match_the_function_s_signature_8030", "The type of a function declaration must match the function's signature."), You_cannot_rename_a_module_via_a_global_import: r3(8031, 1, "You_cannot_rename_a_module_via_a_global_import_8031", "You cannot rename a module via a global import."), Qualified_name_0_is_not_allowed_without_a_leading_param_object_1: r3(8032, 1, "Qualified_name_0_is_not_allowed_without_a_leading_param_object_1_8032", "Qualified name '{0}' is not allowed without a leading '@param {object} {1}'."), A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags: r3(8033, 1, "A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags_8033", "A JSDoc '@typedef' comment may not contain multiple '@type' tags."), The_tag_was_first_specified_here: r3(8034, 1, "The_tag_was_first_specified_here_8034", "The tag was first specified here."), You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder: r3(8035, 1, "You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder_8035", "You cannot rename elements that are defined in a 'node_modules' folder."), You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder: r3(8036, 1, "You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder_8036", "You cannot rename elements that are defined in another 'node_modules' folder."), Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files: r3(8037, 1, "Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files_8037", "Type satisfaction expressions can only be used in TypeScript files."), Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export: r3(8038, 1, "Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export_8038", "Decorators may not appear after 'export' or 'export default' if they also appear before 'export'."), A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag: r3(8039, 1, "A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag_8039", "A JSDoc '@template' tag may not follow a '@typedef', '@callback', or '@overload' tag"), Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit: r3(9005, 1, "Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_9005", "Declaration emit for this file requires using private name '{0}'. An explicit type annotation may unblock declaration emit."), Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit: r3(9006, 1, "Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotati_9006", "Declaration emit for this file requires using private name '{0}' from module '{1}'. An explicit type annotation may unblock declaration emit."), Function_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations: r3(9007, 1, "Function_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations_9007", "Function must have an explicit return type annotation with --isolatedDeclarations."), Method_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations: r3(9008, 1, "Method_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations_9008", "Method must have an explicit return type annotation with --isolatedDeclarations."), At_least_one_accessor_must_have_an_explicit_type_annotation_with_isolatedDeclarations: r3(9009, 1, "At_least_one_accessor_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9009", "At least one accessor must have an explicit type annotation with --isolatedDeclarations."), Variable_must_have_an_explicit_type_annotation_with_isolatedDeclarations: r3(9010, 1, "Variable_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9010", "Variable must have an explicit type annotation with --isolatedDeclarations."), Parameter_must_have_an_explicit_type_annotation_with_isolatedDeclarations: r3(9011, 1, "Parameter_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9011", "Parameter must have an explicit type annotation with --isolatedDeclarations."), Property_must_have_an_explicit_type_annotation_with_isolatedDeclarations: r3(9012, 1, "Property_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9012", "Property must have an explicit type annotation with --isolatedDeclarations."), Expression_type_can_t_be_inferred_with_isolatedDeclarations: r3(9013, 1, "Expression_type_can_t_be_inferred_with_isolatedDeclarations_9013", "Expression type can't be inferred with --isolatedDeclarations."), Computed_properties_must_be_number_or_string_literals_variables_or_dotted_expressions_with_isolatedDeclarations: r3(9014, 1, "Computed_properties_must_be_number_or_string_literals_variables_or_dotted_expressions_with_isolatedD_9014", "Computed properties must be number or string literals, variables or dotted expressions with --isolatedDeclarations."), Objects_that_contain_spread_assignments_can_t_be_inferred_with_isolatedDeclarations: r3(9015, 1, "Objects_that_contain_spread_assignments_can_t_be_inferred_with_isolatedDeclarations_9015", "Objects that contain spread assignments can't be inferred with --isolatedDeclarations."), Objects_that_contain_shorthand_properties_can_t_be_inferred_with_isolatedDeclarations: r3(9016, 1, "Objects_that_contain_shorthand_properties_can_t_be_inferred_with_isolatedDeclarations_9016", "Objects that contain shorthand properties can't be inferred with --isolatedDeclarations."), Only_const_arrays_can_be_inferred_with_isolatedDeclarations: r3(9017, 1, "Only_const_arrays_can_be_inferred_with_isolatedDeclarations_9017", "Only const arrays can be inferred with --isolatedDeclarations."), Arrays_with_spread_elements_can_t_inferred_with_isolatedDeclarations: r3(9018, 1, "Arrays_with_spread_elements_can_t_inferred_with_isolatedDeclarations_9018", "Arrays with spread elements can't inferred with --isolatedDeclarations."), Binding_elements_can_t_be_exported_directly_with_isolatedDeclarations: r3(9019, 1, "Binding_elements_can_t_be_exported_directly_with_isolatedDeclarations_9019", "Binding elements can't be exported directly with --isolatedDeclarations."), Enum_member_initializers_must_be_computable_without_references_to_external_symbols_with_isolatedDeclarations: r3(9020, 1, "Enum_member_initializers_must_be_computable_without_references_to_external_symbols_with_isolatedDecl_9020", "Enum member initializers must be computable without references to external symbols with --isolatedDeclarations."), Extends_clause_can_t_contain_an_expression_with_isolatedDeclarations: r3(9021, 1, "Extends_clause_can_t_contain_an_expression_with_isolatedDeclarations_9021", "Extends clause can't contain an expression with --isolatedDeclarations."), Inference_from_class_expressions_is_not_supported_with_isolatedDeclarations: r3(9022, 1, "Inference_from_class_expressions_is_not_supported_with_isolatedDeclarations_9022", "Inference from class expressions is not supported with --isolatedDeclarations."), Assigning_properties_to_functions_without_declaring_them_is_not_supported_with_isolatedDeclarations_Add_an_explicit_declaration_for_the_properties_assigned_to_this_function: r3(9023, 1, "Assigning_properties_to_functions_without_declaring_them_is_not_supported_with_isolatedDeclarations__9023", "Assigning properties to functions without declaring them is not supported with --isolatedDeclarations. Add an explicit declaration for the properties assigned to this function."), Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_its_type_This_is_not_supported_with_isolatedDeclarations: r3(9025, 1, "Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_its_type_This_is_not_sup_9025", "Declaration emit for this parameter requires implicitly adding undefined to its type. This is not supported with --isolatedDeclarations."), Declaration_emit_for_this_file_requires_preserving_this_import_for_augmentations_This_is_not_supported_with_isolatedDeclarations: r3(9026, 1, "Declaration_emit_for_this_file_requires_preserving_this_import_for_augmentations_This_is_not_support_9026", "Declaration emit for this file requires preserving this import for augmentations. This is not supported with --isolatedDeclarations."), Add_a_type_annotation_to_the_variable_0: r3(9027, 1, "Add_a_type_annotation_to_the_variable_0_9027", "Add a type annotation to the variable {0}."), Add_a_type_annotation_to_the_parameter_0: r3(9028, 1, "Add_a_type_annotation_to_the_parameter_0_9028", "Add a type annotation to the parameter {0}."), Add_a_type_annotation_to_the_property_0: r3(9029, 1, "Add_a_type_annotation_to_the_property_0_9029", "Add a type annotation to the property {0}."), Add_a_return_type_to_the_function_expression: r3(9030, 1, "Add_a_return_type_to_the_function_expression_9030", "Add a return type to the function expression."), Add_a_return_type_to_the_function_declaration: r3(9031, 1, "Add_a_return_type_to_the_function_declaration_9031", "Add a return type to the function declaration."), Add_a_return_type_to_the_get_accessor_declaration: r3(9032, 1, "Add_a_return_type_to_the_get_accessor_declaration_9032", "Add a return type to the get accessor declaration."), Add_a_type_to_parameter_of_the_set_accessor_declaration: r3(9033, 1, "Add_a_type_to_parameter_of_the_set_accessor_declaration_9033", "Add a type to parameter of the set accessor declaration."), Add_a_return_type_to_the_method: r3(9034, 1, "Add_a_return_type_to_the_method_9034", "Add a return type to the method"), Add_satisfies_and_a_type_assertion_to_this_expression_satisfies_T_as_T_to_make_the_type_explicit: r3(9035, 1, "Add_satisfies_and_a_type_assertion_to_this_expression_satisfies_T_as_T_to_make_the_type_explicit_9035", "Add satisfies and a type assertion to this expression (satisfies T as T) to make the type explicit."), Move_the_expression_in_default_export_to_a_variable_and_add_a_type_annotation_to_it: r3(9036, 1, "Move_the_expression_in_default_export_to_a_variable_and_add_a_type_annotation_to_it_9036", "Move the expression in default export to a variable and add a type annotation to it."), Default_exports_can_t_be_inferred_with_isolatedDeclarations: r3(9037, 1, "Default_exports_can_t_be_inferred_with_isolatedDeclarations_9037", "Default exports can't be inferred with --isolatedDeclarations."), Computed_property_names_on_class_or_object_literals_cannot_be_inferred_with_isolatedDeclarations: r3(9038, 1, "Computed_property_names_on_class_or_object_literals_cannot_be_inferred_with_isolatedDeclarations_9038", "Computed property names on class or object literals cannot be inferred with --isolatedDeclarations."), Type_containing_private_name_0_can_t_be_used_with_isolatedDeclarations: r3(9039, 1, "Type_containing_private_name_0_can_t_be_used_with_isolatedDeclarations_9039", "Type containing private name '{0}' can't be used with --isolatedDeclarations."), JSX_attributes_must_only_be_assigned_a_non_empty_expression: r3(17e3, 1, "JSX_attributes_must_only_be_assigned_a_non_empty_expression_17000", "JSX attributes must only be assigned a non-empty 'expression'."), JSX_elements_cannot_have_multiple_attributes_with_the_same_name: r3(17001, 1, "JSX_elements_cannot_have_multiple_attributes_with_the_same_name_17001", "JSX elements cannot have multiple attributes with the same name."), Expected_corresponding_JSX_closing_tag_for_0: r3(17002, 1, "Expected_corresponding_JSX_closing_tag_for_0_17002", "Expected corresponding JSX closing tag for '{0}'."), Cannot_use_JSX_unless_the_jsx_flag_is_provided: r3(17004, 1, "Cannot_use_JSX_unless_the_jsx_flag_is_provided_17004", "Cannot use JSX unless the '--jsx' flag is provided."), A_constructor_cannot_contain_a_super_call_when_its_class_extends_null: r3(17005, 1, "A_constructor_cannot_contain_a_super_call_when_its_class_extends_null_17005", "A constructor cannot contain a 'super' call when its class extends 'null'."), An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses: r3(17006, 1, "An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_ex_17006", "An unary expression with the '{0}' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses."), A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses: r3(17007, 1, "A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Con_17007", "A type assertion expression is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses."), JSX_element_0_has_no_corresponding_closing_tag: r3(17008, 1, "JSX_element_0_has_no_corresponding_closing_tag_17008", "JSX element '{0}' has no corresponding closing tag."), super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class: r3(17009, 1, "super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class_17009", "'super' must be called before accessing 'this' in the constructor of a derived class."), Unknown_type_acquisition_option_0: r3(17010, 1, "Unknown_type_acquisition_option_0_17010", "Unknown type acquisition option '{0}'."), super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class: r3(17011, 1, "super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class_17011", "'super' must be called before accessing a property of 'super' in the constructor of a derived class."), _0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2: r3(17012, 1, "_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2_17012", "'{0}' is not a valid meta-property for keyword '{1}'. Did you mean '{2}'?"), Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor: r3(17013, 1, "Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constru_17013", "Meta-property '{0}' is only allowed in the body of a function declaration, function expression, or constructor."), JSX_fragment_has_no_corresponding_closing_tag: r3(17014, 1, "JSX_fragment_has_no_corresponding_closing_tag_17014", "JSX fragment has no corresponding closing tag."), Expected_corresponding_closing_tag_for_JSX_fragment: r3(17015, 1, "Expected_corresponding_closing_tag_for_JSX_fragment_17015", "Expected corresponding closing tag for JSX fragment."), The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option: r3(17016, 1, "The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_com_17016", "The 'jsxFragmentFactory' compiler option must be provided to use JSX fragments with the 'jsxFactory' compiler option."), An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments: r3(17017, 1, "An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments_17017", "An @jsxFrag pragma is required when using an @jsx pragma with JSX fragments."), Unknown_type_acquisition_option_0_Did_you_mean_1: r3(17018, 1, "Unknown_type_acquisition_option_0_Did_you_mean_1_17018", "Unknown type acquisition option '{0}'. Did you mean '{1}'?"), _0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1: r3(17019, 1, "_0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1_17019", "'{0}' at the end of a type is not valid TypeScript syntax. Did you mean to write '{1}'?"), _0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1: r3(17020, 1, "_0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1_17020", "'{0}' at the start of a type is not valid TypeScript syntax. Did you mean to write '{1}'?"), Unicode_escape_sequence_cannot_appear_here: r3(17021, 1, "Unicode_escape_sequence_cannot_appear_here_17021", "Unicode escape sequence cannot appear here."), Circularity_detected_while_resolving_configuration_Colon_0: r3(18e3, 1, "Circularity_detected_while_resolving_configuration_Colon_0_18000", "Circularity detected while resolving configuration: {0}"), The_files_list_in_config_file_0_is_empty: r3(18002, 1, "The_files_list_in_config_file_0_is_empty_18002", "The 'files' list in config file '{0}' is empty."), No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2: r3(18003, 1, "No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2_18003", "No inputs were found in config file '{0}'. Specified 'include' paths were '{1}' and 'exclude' paths were '{2}'."), File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module: r3(80001, 2, "File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module_80001", "File is a CommonJS module; it may be converted to an ES module."), This_constructor_function_may_be_converted_to_a_class_declaration: r3(80002, 2, "This_constructor_function_may_be_converted_to_a_class_declaration_80002", "This constructor function may be converted to a class declaration."), Import_may_be_converted_to_a_default_import: r3(80003, 2, "Import_may_be_converted_to_a_default_import_80003", "Import may be converted to a default import."), JSDoc_types_may_be_moved_to_TypeScript_types: r3(80004, 2, "JSDoc_types_may_be_moved_to_TypeScript_types_80004", "JSDoc types may be moved to TypeScript types."), require_call_may_be_converted_to_an_import: r3(80005, 2, "require_call_may_be_converted_to_an_import_80005", "'require' call may be converted to an import."), This_may_be_converted_to_an_async_function: r3(80006, 2, "This_may_be_converted_to_an_async_function_80006", "This may be converted to an async function."), await_has_no_effect_on_the_type_of_this_expression: r3(80007, 2, "await_has_no_effect_on_the_type_of_this_expression_80007", "'await' has no effect on the type of this expression."), Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers: r3(80008, 2, "Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accur_80008", "Numeric literals with absolute values equal to 2^53 or greater are too large to be represented accurately as integers."), JSDoc_typedef_may_be_converted_to_TypeScript_type: r3(80009, 2, "JSDoc_typedef_may_be_converted_to_TypeScript_type_80009", "JSDoc typedef may be converted to TypeScript type."), JSDoc_typedefs_may_be_converted_to_TypeScript_types: r3(80010, 2, "JSDoc_typedefs_may_be_converted_to_TypeScript_types_80010", "JSDoc typedefs may be converted to TypeScript types."), Add_missing_super_call: r3(90001, 3, "Add_missing_super_call_90001", "Add missing 'super()' call"), Make_super_call_the_first_statement_in_the_constructor: r3(90002, 3, "Make_super_call_the_first_statement_in_the_constructor_90002", "Make 'super()' call the first statement in the constructor"), Change_extends_to_implements: r3(90003, 3, "Change_extends_to_implements_90003", "Change 'extends' to 'implements'"), Remove_unused_declaration_for_Colon_0: r3(90004, 3, "Remove_unused_declaration_for_Colon_0_90004", "Remove unused declaration for: '{0}'"), Remove_import_from_0: r3(90005, 3, "Remove_import_from_0_90005", "Remove import from '{0}'"), Implement_interface_0: r3(90006, 3, "Implement_interface_0_90006", "Implement interface '{0}'"), Implement_inherited_abstract_class: r3(90007, 3, "Implement_inherited_abstract_class_90007", "Implement inherited abstract class"), Add_0_to_unresolved_variable: r3(90008, 3, "Add_0_to_unresolved_variable_90008", "Add '{0}.' to unresolved variable"), Remove_variable_statement: r3(90010, 3, "Remove_variable_statement_90010", "Remove variable statement"), Remove_template_tag: r3(90011, 3, "Remove_template_tag_90011", "Remove template tag"), Remove_type_parameters: r3(90012, 3, "Remove_type_parameters_90012", "Remove type parameters"), Import_0_from_1: r3(90013, 3, "Import_0_from_1_90013", `Import '{0}' from "{1}"`), Change_0_to_1: r3(90014, 3, "Change_0_to_1_90014", "Change '{0}' to '{1}'"), Declare_property_0: r3(90016, 3, "Declare_property_0_90016", "Declare property '{0}'"), Add_index_signature_for_property_0: r3(90017, 3, "Add_index_signature_for_property_0_90017", "Add index signature for property '{0}'"), Disable_checking_for_this_file: r3(90018, 3, "Disable_checking_for_this_file_90018", "Disable checking for this file"), Ignore_this_error_message: r3(90019, 3, "Ignore_this_error_message_90019", "Ignore this error message"), Initialize_property_0_in_the_constructor: r3(90020, 3, "Initialize_property_0_in_the_constructor_90020", "Initialize property '{0}' in the constructor"), Initialize_static_property_0: r3(90021, 3, "Initialize_static_property_0_90021", "Initialize static property '{0}'"), Change_spelling_to_0: r3(90022, 3, "Change_spelling_to_0_90022", "Change spelling to '{0}'"), Declare_method_0: r3(90023, 3, "Declare_method_0_90023", "Declare method '{0}'"), Declare_static_method_0: r3(90024, 3, "Declare_static_method_0_90024", "Declare static method '{0}'"), Prefix_0_with_an_underscore: r3(90025, 3, "Prefix_0_with_an_underscore_90025", "Prefix '{0}' with an underscore"), Rewrite_as_the_indexed_access_type_0: r3(90026, 3, "Rewrite_as_the_indexed_access_type_0_90026", "Rewrite as the indexed access type '{0}'"), Declare_static_property_0: r3(90027, 3, "Declare_static_property_0_90027", "Declare static property '{0}'"), Call_decorator_expression: r3(90028, 3, "Call_decorator_expression_90028", "Call decorator expression"), Add_async_modifier_to_containing_function: r3(90029, 3, "Add_async_modifier_to_containing_function_90029", "Add async modifier to containing function"), Replace_infer_0_with_unknown: r3(90030, 3, "Replace_infer_0_with_unknown_90030", "Replace 'infer {0}' with 'unknown'"), Replace_all_unused_infer_with_unknown: r3(90031, 3, "Replace_all_unused_infer_with_unknown_90031", "Replace all unused 'infer' with 'unknown'"), Add_parameter_name: r3(90034, 3, "Add_parameter_name_90034", "Add parameter name"), Declare_private_property_0: r3(90035, 3, "Declare_private_property_0_90035", "Declare private property '{0}'"), Replace_0_with_Promise_1: r3(90036, 3, "Replace_0_with_Promise_1_90036", "Replace '{0}' with 'Promise<{1}>'"), Fix_all_incorrect_return_type_of_an_async_functions: r3(90037, 3, "Fix_all_incorrect_return_type_of_an_async_functions_90037", "Fix all incorrect return type of an async functions"), Declare_private_method_0: r3(90038, 3, "Declare_private_method_0_90038", "Declare private method '{0}'"), Remove_unused_destructuring_declaration: r3(90039, 3, "Remove_unused_destructuring_declaration_90039", "Remove unused destructuring declaration"), Remove_unused_declarations_for_Colon_0: r3(90041, 3, "Remove_unused_declarations_for_Colon_0_90041", "Remove unused declarations for: '{0}'"), Declare_a_private_field_named_0: r3(90053, 3, "Declare_a_private_field_named_0_90053", "Declare a private field named '{0}'."), Includes_imports_of_types_referenced_by_0: r3(90054, 3, "Includes_imports_of_types_referenced_by_0_90054", "Includes imports of types referenced by '{0}'"), Remove_type_from_import_declaration_from_0: r3(90055, 3, "Remove_type_from_import_declaration_from_0_90055", `Remove 'type' from import declaration from "{0}"`), Remove_type_from_import_of_0_from_1: r3(90056, 3, "Remove_type_from_import_of_0_from_1_90056", `Remove 'type' from import of '{0}' from "{1}"`), Add_import_from_0: r3(90057, 3, "Add_import_from_0_90057", 'Add import from "{0}"'), Update_import_from_0: r3(90058, 3, "Update_import_from_0_90058", 'Update import from "{0}"'), Export_0_from_module_1: r3(90059, 3, "Export_0_from_module_1_90059", "Export '{0}' from module '{1}'"), Export_all_referenced_locals: r3(90060, 3, "Export_all_referenced_locals_90060", "Export all referenced locals"), Update_modifiers_of_0: r3(90061, 3, "Update_modifiers_of_0_90061", "Update modifiers of '{0}'"), Add_annotation_of_type_0: r3(90062, 3, "Add_annotation_of_type_0_90062", "Add annotation of type '{0}'"), Add_return_type_0: r3(90063, 3, "Add_return_type_0_90063", "Add return type '{0}'"), Extract_base_class_to_variable: r3(90064, 3, "Extract_base_class_to_variable_90064", "Extract base class to variable"), Extract_default_export_to_variable: r3(90065, 3, "Extract_default_export_to_variable_90065", "Extract default export to variable"), Extract_binding_expressions_to_variable: r3(90066, 3, "Extract_binding_expressions_to_variable_90066", "Extract binding expressions to variable"), Add_all_missing_type_annotations: r3(90067, 3, "Add_all_missing_type_annotations_90067", "Add all missing type annotations"), Add_satisfies_and_an_inline_type_assertion_with_0: r3(90068, 3, "Add_satisfies_and_an_inline_type_assertion_with_0_90068", "Add satisfies and an inline type assertion with '{0}'"), Extract_to_variable_and_replace_with_0_as_typeof_0: r3(90069, 3, "Extract_to_variable_and_replace_with_0_as_typeof_0_90069", "Extract to variable and replace with '{0} as typeof {0}'"), Mark_array_literal_as_const: r3(90070, 3, "Mark_array_literal_as_const_90070", "Mark array literal as const"), Annotate_types_of_properties_expando_function_in_a_namespace: r3(90071, 3, "Annotate_types_of_properties_expando_function_in_a_namespace_90071", "Annotate types of properties expando function in a namespace"), Convert_function_to_an_ES2015_class: r3(95001, 3, "Convert_function_to_an_ES2015_class_95001", "Convert function to an ES2015 class"), Convert_0_to_1_in_0: r3(95003, 3, "Convert_0_to_1_in_0_95003", "Convert '{0}' to '{1} in {0}'"), Extract_to_0_in_1: r3(95004, 3, "Extract_to_0_in_1_95004", "Extract to {0} in {1}"), Extract_function: r3(95005, 3, "Extract_function_95005", "Extract function"), Extract_constant: r3(95006, 3, "Extract_constant_95006", "Extract constant"), Extract_to_0_in_enclosing_scope: r3(95007, 3, "Extract_to_0_in_enclosing_scope_95007", "Extract to {0} in enclosing scope"), Extract_to_0_in_1_scope: r3(95008, 3, "Extract_to_0_in_1_scope_95008", "Extract to {0} in {1} scope"), Annotate_with_type_from_JSDoc: r3(95009, 3, "Annotate_with_type_from_JSDoc_95009", "Annotate with type from JSDoc"), Infer_type_of_0_from_usage: r3(95011, 3, "Infer_type_of_0_from_usage_95011", "Infer type of '{0}' from usage"), Infer_parameter_types_from_usage: r3(95012, 3, "Infer_parameter_types_from_usage_95012", "Infer parameter types from usage"), Convert_to_default_import: r3(95013, 3, "Convert_to_default_import_95013", "Convert to default import"), Install_0: r3(95014, 3, "Install_0_95014", "Install '{0}'"), Replace_import_with_0: r3(95015, 3, "Replace_import_with_0_95015", "Replace import with '{0}'."), Use_synthetic_default_member: r3(95016, 3, "Use_synthetic_default_member_95016", "Use synthetic 'default' member."), Convert_to_ES_module: r3(95017, 3, "Convert_to_ES_module_95017", "Convert to ES module"), Add_undefined_type_to_property_0: r3(95018, 3, "Add_undefined_type_to_property_0_95018", "Add 'undefined' type to property '{0}'"), Add_initializer_to_property_0: r3(95019, 3, "Add_initializer_to_property_0_95019", "Add initializer to property '{0}'"), Add_definite_assignment_assertion_to_property_0: r3(95020, 3, "Add_definite_assignment_assertion_to_property_0_95020", "Add definite assignment assertion to property '{0}'"), Convert_all_type_literals_to_mapped_type: r3(95021, 3, "Convert_all_type_literals_to_mapped_type_95021", "Convert all type literals to mapped type"), Add_all_missing_members: r3(95022, 3, "Add_all_missing_members_95022", "Add all missing members"), Infer_all_types_from_usage: r3(95023, 3, "Infer_all_types_from_usage_95023", "Infer all types from usage"), Delete_all_unused_declarations: r3(95024, 3, "Delete_all_unused_declarations_95024", "Delete all unused declarations"), Prefix_all_unused_declarations_with_where_possible: r3(95025, 3, "Prefix_all_unused_declarations_with_where_possible_95025", "Prefix all unused declarations with '_' where possible"), Fix_all_detected_spelling_errors: r3(95026, 3, "Fix_all_detected_spelling_errors_95026", "Fix all detected spelling errors"), Add_initializers_to_all_uninitialized_properties: r3(95027, 3, "Add_initializers_to_all_uninitialized_properties_95027", "Add initializers to all uninitialized properties"), Add_definite_assignment_assertions_to_all_uninitialized_properties: r3(95028, 3, "Add_definite_assignment_assertions_to_all_uninitialized_properties_95028", "Add definite assignment assertions to all uninitialized properties"), Add_undefined_type_to_all_uninitialized_properties: r3(95029, 3, "Add_undefined_type_to_all_uninitialized_properties_95029", "Add undefined type to all uninitialized properties"), Change_all_jsdoc_style_types_to_TypeScript: r3(95030, 3, "Change_all_jsdoc_style_types_to_TypeScript_95030", "Change all jsdoc-style types to TypeScript"), Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types: r3(95031, 3, "Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types_95031", "Change all jsdoc-style types to TypeScript (and add '| undefined' to nullable types)"), Implement_all_unimplemented_interfaces: r3(95032, 3, "Implement_all_unimplemented_interfaces_95032", "Implement all unimplemented interfaces"), Install_all_missing_types_packages: r3(95033, 3, "Install_all_missing_types_packages_95033", "Install all missing types packages"), Rewrite_all_as_indexed_access_types: r3(95034, 3, "Rewrite_all_as_indexed_access_types_95034", "Rewrite all as indexed access types"), Convert_all_to_default_imports: r3(95035, 3, "Convert_all_to_default_imports_95035", "Convert all to default imports"), Make_all_super_calls_the_first_statement_in_their_constructor: r3(95036, 3, "Make_all_super_calls_the_first_statement_in_their_constructor_95036", "Make all 'super()' calls the first statement in their constructor"), Add_qualifier_to_all_unresolved_variables_matching_a_member_name: r3(95037, 3, "Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037", "Add qualifier to all unresolved variables matching a member name"), Change_all_extended_interfaces_to_implements: r3(95038, 3, "Change_all_extended_interfaces_to_implements_95038", "Change all extended interfaces to 'implements'"), Add_all_missing_super_calls: r3(95039, 3, "Add_all_missing_super_calls_95039", "Add all missing super calls"), Implement_all_inherited_abstract_classes: r3(95040, 3, "Implement_all_inherited_abstract_classes_95040", "Implement all inherited abstract classes"), Add_all_missing_async_modifiers: r3(95041, 3, "Add_all_missing_async_modifiers_95041", "Add all missing 'async' modifiers"), Add_ts_ignore_to_all_error_messages: r3(95042, 3, "Add_ts_ignore_to_all_error_messages_95042", "Add '@ts-ignore' to all error messages"), Annotate_everything_with_types_from_JSDoc: r3(95043, 3, "Annotate_everything_with_types_from_JSDoc_95043", "Annotate everything with types from JSDoc"), Add_to_all_uncalled_decorators: r3(95044, 3, "Add_to_all_uncalled_decorators_95044", "Add '()' to all uncalled decorators"), Convert_all_constructor_functions_to_classes: r3(95045, 3, "Convert_all_constructor_functions_to_classes_95045", "Convert all constructor functions to classes"), Generate_get_and_set_accessors: r3(95046, 3, "Generate_get_and_set_accessors_95046", "Generate 'get' and 'set' accessors"), Convert_require_to_import: r3(95047, 3, "Convert_require_to_import_95047", "Convert 'require' to 'import'"), Convert_all_require_to_import: r3(95048, 3, "Convert_all_require_to_import_95048", "Convert all 'require' to 'import'"), Move_to_a_new_file: r3(95049, 3, "Move_to_a_new_file_95049", "Move to a new file"), Remove_unreachable_code: r3(95050, 3, "Remove_unreachable_code_95050", "Remove unreachable code"), Remove_all_unreachable_code: r3(95051, 3, "Remove_all_unreachable_code_95051", "Remove all unreachable code"), Add_missing_typeof: r3(95052, 3, "Add_missing_typeof_95052", "Add missing 'typeof'"), Remove_unused_label: r3(95053, 3, "Remove_unused_label_95053", "Remove unused label"), Remove_all_unused_labels: r3(95054, 3, "Remove_all_unused_labels_95054", "Remove all unused labels"), Convert_0_to_mapped_object_type: r3(95055, 3, "Convert_0_to_mapped_object_type_95055", "Convert '{0}' to mapped object type"), Convert_namespace_import_to_named_imports: r3(95056, 3, "Convert_namespace_import_to_named_imports_95056", "Convert namespace import to named imports"), Convert_named_imports_to_namespace_import: r3(95057, 3, "Convert_named_imports_to_namespace_import_95057", "Convert named imports to namespace import"), Add_or_remove_braces_in_an_arrow_function: r3(95058, 3, "Add_or_remove_braces_in_an_arrow_function_95058", "Add or remove braces in an arrow function"), Add_braces_to_arrow_function: r3(95059, 3, "Add_braces_to_arrow_function_95059", "Add braces to arrow function"), Remove_braces_from_arrow_function: r3(95060, 3, "Remove_braces_from_arrow_function_95060", "Remove braces from arrow function"), Convert_default_export_to_named_export: r3(95061, 3, "Convert_default_export_to_named_export_95061", "Convert default export to named export"), Convert_named_export_to_default_export: r3(95062, 3, "Convert_named_export_to_default_export_95062", "Convert named export to default export"), Add_missing_enum_member_0: r3(95063, 3, "Add_missing_enum_member_0_95063", "Add missing enum member '{0}'"), Add_all_missing_imports: r3(95064, 3, "Add_all_missing_imports_95064", "Add all missing imports"), Convert_to_async_function: r3(95065, 3, "Convert_to_async_function_95065", "Convert to async function"), Convert_all_to_async_functions: r3(95066, 3, "Convert_all_to_async_functions_95066", "Convert all to async functions"), Add_missing_call_parentheses: r3(95067, 3, "Add_missing_call_parentheses_95067", "Add missing call parentheses"), Add_all_missing_call_parentheses: r3(95068, 3, "Add_all_missing_call_parentheses_95068", "Add all missing call parentheses"), Add_unknown_conversion_for_non_overlapping_types: r3(95069, 3, "Add_unknown_conversion_for_non_overlapping_types_95069", "Add 'unknown' conversion for non-overlapping types"), Add_unknown_to_all_conversions_of_non_overlapping_types: r3(95070, 3, "Add_unknown_to_all_conversions_of_non_overlapping_types_95070", "Add 'unknown' to all conversions of non-overlapping types"), Add_missing_new_operator_to_call: r3(95071, 3, "Add_missing_new_operator_to_call_95071", "Add missing 'new' operator to call"), Add_missing_new_operator_to_all_calls: r3(95072, 3, "Add_missing_new_operator_to_all_calls_95072", "Add missing 'new' operator to all calls"), Add_names_to_all_parameters_without_names: r3(95073, 3, "Add_names_to_all_parameters_without_names_95073", "Add names to all parameters without names"), Enable_the_experimentalDecorators_option_in_your_configuration_file: r3(95074, 3, "Enable_the_experimentalDecorators_option_in_your_configuration_file_95074", "Enable the 'experimentalDecorators' option in your configuration file"), Convert_parameters_to_destructured_object: r3(95075, 3, "Convert_parameters_to_destructured_object_95075", "Convert parameters to destructured object"), Extract_type: r3(95077, 3, "Extract_type_95077", "Extract type"), Extract_to_type_alias: r3(95078, 3, "Extract_to_type_alias_95078", "Extract to type alias"), Extract_to_typedef: r3(95079, 3, "Extract_to_typedef_95079", "Extract to typedef"), Infer_this_type_of_0_from_usage: r3(95080, 3, "Infer_this_type_of_0_from_usage_95080", "Infer 'this' type of '{0}' from usage"), Add_const_to_unresolved_variable: r3(95081, 3, "Add_const_to_unresolved_variable_95081", "Add 'const' to unresolved variable"), Add_const_to_all_unresolved_variables: r3(95082, 3, "Add_const_to_all_unresolved_variables_95082", "Add 'const' to all unresolved variables"), Add_await: r3(95083, 3, "Add_await_95083", "Add 'await'"), Add_await_to_initializer_for_0: r3(95084, 3, "Add_await_to_initializer_for_0_95084", "Add 'await' to initializer for '{0}'"), Fix_all_expressions_possibly_missing_await: r3(95085, 3, "Fix_all_expressions_possibly_missing_await_95085", "Fix all expressions possibly missing 'await'"), Remove_unnecessary_await: r3(95086, 3, "Remove_unnecessary_await_95086", "Remove unnecessary 'await'"), Remove_all_unnecessary_uses_of_await: r3(95087, 3, "Remove_all_unnecessary_uses_of_await_95087", "Remove all unnecessary uses of 'await'"), Enable_the_jsx_flag_in_your_configuration_file: r3(95088, 3, "Enable_the_jsx_flag_in_your_configuration_file_95088", "Enable the '--jsx' flag in your configuration file"), Add_await_to_initializers: r3(95089, 3, "Add_await_to_initializers_95089", "Add 'await' to initializers"), Extract_to_interface: r3(95090, 3, "Extract_to_interface_95090", "Extract to interface"), Convert_to_a_bigint_numeric_literal: r3(95091, 3, "Convert_to_a_bigint_numeric_literal_95091", "Convert to a bigint numeric literal"), Convert_all_to_bigint_numeric_literals: r3(95092, 3, "Convert_all_to_bigint_numeric_literals_95092", "Convert all to bigint numeric literals"), Convert_const_to_let: r3(95093, 3, "Convert_const_to_let_95093", "Convert 'const' to 'let'"), Prefix_with_declare: r3(95094, 3, "Prefix_with_declare_95094", "Prefix with 'declare'"), Prefix_all_incorrect_property_declarations_with_declare: r3(95095, 3, "Prefix_all_incorrect_property_declarations_with_declare_95095", "Prefix all incorrect property declarations with 'declare'"), Convert_to_template_string: r3(95096, 3, "Convert_to_template_string_95096", "Convert to template string"), Add_export_to_make_this_file_into_a_module: r3(95097, 3, "Add_export_to_make_this_file_into_a_module_95097", "Add 'export {}' to make this file into a module"), Set_the_target_option_in_your_configuration_file_to_0: r3(95098, 3, "Set_the_target_option_in_your_configuration_file_to_0_95098", "Set the 'target' option in your configuration file to '{0}'"), Set_the_module_option_in_your_configuration_file_to_0: r3(95099, 3, "Set_the_module_option_in_your_configuration_file_to_0_95099", "Set the 'module' option in your configuration file to '{0}'"), Convert_invalid_character_to_its_html_entity_code: r3(95100, 3, "Convert_invalid_character_to_its_html_entity_code_95100", "Convert invalid character to its html entity code"), Convert_all_invalid_characters_to_HTML_entity_code: r3(95101, 3, "Convert_all_invalid_characters_to_HTML_entity_code_95101", "Convert all invalid characters to HTML entity code"), Convert_all_const_to_let: r3(95102, 3, "Convert_all_const_to_let_95102", "Convert all 'const' to 'let'"), Convert_function_expression_0_to_arrow_function: r3(95105, 3, "Convert_function_expression_0_to_arrow_function_95105", "Convert function expression '{0}' to arrow function"), Convert_function_declaration_0_to_arrow_function: r3(95106, 3, "Convert_function_declaration_0_to_arrow_function_95106", "Convert function declaration '{0}' to arrow function"), Fix_all_implicit_this_errors: r3(95107, 3, "Fix_all_implicit_this_errors_95107", "Fix all implicit-'this' errors"), Wrap_invalid_character_in_an_expression_container: r3(95108, 3, "Wrap_invalid_character_in_an_expression_container_95108", "Wrap invalid character in an expression container"), Wrap_all_invalid_characters_in_an_expression_container: r3(95109, 3, "Wrap_all_invalid_characters_in_an_expression_container_95109", "Wrap all invalid characters in an expression container"), Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file: r3(95110, 3, "Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file_95110", "Visit https://aka.ms/tsconfig to read more about this file"), Add_a_return_statement: r3(95111, 3, "Add_a_return_statement_95111", "Add a return statement"), Remove_braces_from_arrow_function_body: r3(95112, 3, "Remove_braces_from_arrow_function_body_95112", "Remove braces from arrow function body"), Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal: r3(95113, 3, "Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal_95113", "Wrap the following body with parentheses which should be an object literal"), Add_all_missing_return_statement: r3(95114, 3, "Add_all_missing_return_statement_95114", "Add all missing return statement"), Remove_braces_from_all_arrow_function_bodies_with_relevant_issues: r3(95115, 3, "Remove_braces_from_all_arrow_function_bodies_with_relevant_issues_95115", "Remove braces from all arrow function bodies with relevant issues"), Wrap_all_object_literal_with_parentheses: r3(95116, 3, "Wrap_all_object_literal_with_parentheses_95116", "Wrap all object literal with parentheses"), Move_labeled_tuple_element_modifiers_to_labels: r3(95117, 3, "Move_labeled_tuple_element_modifiers_to_labels_95117", "Move labeled tuple element modifiers to labels"), Convert_overload_list_to_single_signature: r3(95118, 3, "Convert_overload_list_to_single_signature_95118", "Convert overload list to single signature"), Generate_get_and_set_accessors_for_all_overriding_properties: r3(95119, 3, "Generate_get_and_set_accessors_for_all_overriding_properties_95119", "Generate 'get' and 'set' accessors for all overriding properties"), Wrap_in_JSX_fragment: r3(95120, 3, "Wrap_in_JSX_fragment_95120", "Wrap in JSX fragment"), Wrap_all_unparented_JSX_in_JSX_fragment: r3(95121, 3, "Wrap_all_unparented_JSX_in_JSX_fragment_95121", "Wrap all unparented JSX in JSX fragment"), Convert_arrow_function_or_function_expression: r3(95122, 3, "Convert_arrow_function_or_function_expression_95122", "Convert arrow function or function expression"), Convert_to_anonymous_function: r3(95123, 3, "Convert_to_anonymous_function_95123", "Convert to anonymous function"), Convert_to_named_function: r3(95124, 3, "Convert_to_named_function_95124", "Convert to named function"), Convert_to_arrow_function: r3(95125, 3, "Convert_to_arrow_function_95125", "Convert to arrow function"), Remove_parentheses: r3(95126, 3, "Remove_parentheses_95126", "Remove parentheses"), Could_not_find_a_containing_arrow_function: r3(95127, 3, "Could_not_find_a_containing_arrow_function_95127", "Could not find a containing arrow function"), Containing_function_is_not_an_arrow_function: r3(95128, 3, "Containing_function_is_not_an_arrow_function_95128", "Containing function is not an arrow function"), Could_not_find_export_statement: r3(95129, 3, "Could_not_find_export_statement_95129", "Could not find export statement"), This_file_already_has_a_default_export: r3(95130, 3, "This_file_already_has_a_default_export_95130", "This file already has a default export"), Could_not_find_import_clause: r3(95131, 3, "Could_not_find_import_clause_95131", "Could not find import clause"), Could_not_find_namespace_import_or_named_imports: r3(95132, 3, "Could_not_find_namespace_import_or_named_imports_95132", "Could not find namespace import or named imports"), Selection_is_not_a_valid_type_node: r3(95133, 3, "Selection_is_not_a_valid_type_node_95133", "Selection is not a valid type node"), No_type_could_be_extracted_from_this_type_node: r3(95134, 3, "No_type_could_be_extracted_from_this_type_node_95134", "No type could be extracted from this type node"), Could_not_find_property_for_which_to_generate_accessor: r3(95135, 3, "Could_not_find_property_for_which_to_generate_accessor_95135", "Could not find property for which to generate accessor"), Name_is_not_valid: r3(95136, 3, "Name_is_not_valid_95136", "Name is not valid"), Can_only_convert_property_with_modifier: r3(95137, 3, "Can_only_convert_property_with_modifier_95137", "Can only convert property with modifier"), Switch_each_misused_0_to_1: r3(95138, 3, "Switch_each_misused_0_to_1_95138", "Switch each misused '{0}' to '{1}'"), Convert_to_optional_chain_expression: r3(95139, 3, "Convert_to_optional_chain_expression_95139", "Convert to optional chain expression"), Could_not_find_convertible_access_expression: r3(95140, 3, "Could_not_find_convertible_access_expression_95140", "Could not find convertible access expression"), Could_not_find_matching_access_expressions: r3(95141, 3, "Could_not_find_matching_access_expressions_95141", "Could not find matching access expressions"), Can_only_convert_logical_AND_access_chains: r3(95142, 3, "Can_only_convert_logical_AND_access_chains_95142", "Can only convert logical AND access chains"), Add_void_to_Promise_resolved_without_a_value: r3(95143, 3, "Add_void_to_Promise_resolved_without_a_value_95143", "Add 'void' to Promise resolved without a value"), Add_void_to_all_Promises_resolved_without_a_value: r3(95144, 3, "Add_void_to_all_Promises_resolved_without_a_value_95144", "Add 'void' to all Promises resolved without a value"), Use_element_access_for_0: r3(95145, 3, "Use_element_access_for_0_95145", "Use element access for '{0}'"), Use_element_access_for_all_undeclared_properties: r3(95146, 3, "Use_element_access_for_all_undeclared_properties_95146", "Use element access for all undeclared properties."), Delete_all_unused_imports: r3(95147, 3, "Delete_all_unused_imports_95147", "Delete all unused imports"), Infer_function_return_type: r3(95148, 3, "Infer_function_return_type_95148", "Infer function return type"), Return_type_must_be_inferred_from_a_function: r3(95149, 3, "Return_type_must_be_inferred_from_a_function_95149", "Return type must be inferred from a function"), Could_not_determine_function_return_type: r3(95150, 3, "Could_not_determine_function_return_type_95150", "Could not determine function return type"), Could_not_convert_to_arrow_function: r3(95151, 3, "Could_not_convert_to_arrow_function_95151", "Could not convert to arrow function"), Could_not_convert_to_named_function: r3(95152, 3, "Could_not_convert_to_named_function_95152", "Could not convert to named function"), Could_not_convert_to_anonymous_function: r3(95153, 3, "Could_not_convert_to_anonymous_function_95153", "Could not convert to anonymous function"), Can_only_convert_string_concatenations_and_string_literals: r3(95154, 3, "Can_only_convert_string_concatenations_and_string_literals_95154", "Can only convert string concatenations and string literals"), Selection_is_not_a_valid_statement_or_statements: r3(95155, 3, "Selection_is_not_a_valid_statement_or_statements_95155", "Selection is not a valid statement or statements"), Add_missing_function_declaration_0: r3(95156, 3, "Add_missing_function_declaration_0_95156", "Add missing function declaration '{0}'"), Add_all_missing_function_declarations: r3(95157, 3, "Add_all_missing_function_declarations_95157", "Add all missing function declarations"), Method_not_implemented: r3(95158, 3, "Method_not_implemented_95158", "Method not implemented."), Function_not_implemented: r3(95159, 3, "Function_not_implemented_95159", "Function not implemented."), Add_override_modifier: r3(95160, 3, "Add_override_modifier_95160", "Add 'override' modifier"), Remove_override_modifier: r3(95161, 3, "Remove_override_modifier_95161", "Remove 'override' modifier"), Add_all_missing_override_modifiers: r3(95162, 3, "Add_all_missing_override_modifiers_95162", "Add all missing 'override' modifiers"), Remove_all_unnecessary_override_modifiers: r3(95163, 3, "Remove_all_unnecessary_override_modifiers_95163", "Remove all unnecessary 'override' modifiers"), Can_only_convert_named_export: r3(95164, 3, "Can_only_convert_named_export_95164", "Can only convert named export"), Add_missing_properties: r3(95165, 3, "Add_missing_properties_95165", "Add missing properties"), Add_all_missing_properties: r3(95166, 3, "Add_all_missing_properties_95166", "Add all missing properties"), Add_missing_attributes: r3(95167, 3, "Add_missing_attributes_95167", "Add missing attributes"), Add_all_missing_attributes: r3(95168, 3, "Add_all_missing_attributes_95168", "Add all missing attributes"), Add_undefined_to_optional_property_type: r3(95169, 3, "Add_undefined_to_optional_property_type_95169", "Add 'undefined' to optional property type"), Convert_named_imports_to_default_import: r3(95170, 3, "Convert_named_imports_to_default_import_95170", "Convert named imports to default import"), Delete_unused_param_tag_0: r3(95171, 3, "Delete_unused_param_tag_0_95171", "Delete unused '@param' tag '{0}'"), Delete_all_unused_param_tags: r3(95172, 3, "Delete_all_unused_param_tags_95172", "Delete all unused '@param' tags"), Rename_param_tag_name_0_to_1: r3(95173, 3, "Rename_param_tag_name_0_to_1_95173", "Rename '@param' tag name '{0}' to '{1}'"), Use_0: r3(95174, 3, "Use_0_95174", "Use `{0}`."), Use_Number_isNaN_in_all_conditions: r3(95175, 3, "Use_Number_isNaN_in_all_conditions_95175", "Use `Number.isNaN` in all conditions."), Convert_typedef_to_TypeScript_type: r3(95176, 3, "Convert_typedef_to_TypeScript_type_95176", "Convert typedef to TypeScript type."), Convert_all_typedef_to_TypeScript_types: r3(95177, 3, "Convert_all_typedef_to_TypeScript_types_95177", "Convert all typedef to TypeScript types."), Move_to_file: r3(95178, 3, "Move_to_file_95178", "Move to file"), Cannot_move_to_file_selected_file_is_invalid: r3(95179, 3, "Cannot_move_to_file_selected_file_is_invalid_95179", "Cannot move to file, selected file is invalid"), Use_import_type: r3(95180, 3, "Use_import_type_95180", "Use 'import type'"), Use_type_0: r3(95181, 3, "Use_type_0_95181", "Use 'type {0}'"), Fix_all_with_type_only_imports: r3(95182, 3, "Fix_all_with_type_only_imports_95182", "Fix all with type-only imports"), Cannot_move_statements_to_the_selected_file: r3(95183, 3, "Cannot_move_statements_to_the_selected_file_95183", "Cannot move statements to the selected file"), Inline_variable: r3(95184, 3, "Inline_variable_95184", "Inline variable"), Could_not_find_variable_to_inline: r3(95185, 3, "Could_not_find_variable_to_inline_95185", "Could not find variable to inline."), Variables_with_multiple_declarations_cannot_be_inlined: r3(95186, 3, "Variables_with_multiple_declarations_cannot_be_inlined_95186", "Variables with multiple declarations cannot be inlined."), Add_missing_comma_for_object_member_completion_0: r3(95187, 3, "Add_missing_comma_for_object_member_completion_0_95187", "Add missing comma for object member completion '{0}'."), Add_missing_parameter_to_0: r3(95188, 3, "Add_missing_parameter_to_0_95188", "Add missing parameter to '{0}'"), Add_missing_parameters_to_0: r3(95189, 3, "Add_missing_parameters_to_0_95189", "Add missing parameters to '{0}'"), Add_all_missing_parameters: r3(95190, 3, "Add_all_missing_parameters_95190", "Add all missing parameters"), Add_optional_parameter_to_0: r3(95191, 3, "Add_optional_parameter_to_0_95191", "Add optional parameter to '{0}'"), Add_optional_parameters_to_0: r3(95192, 3, "Add_optional_parameters_to_0_95192", "Add optional parameters to '{0}'"), Add_all_optional_parameters: r3(95193, 3, "Add_all_optional_parameters_95193", "Add all optional parameters"), Wrap_in_parentheses: r3(95194, 3, "Wrap_in_parentheses_95194", "Wrap in parentheses"), Wrap_all_invalid_decorator_expressions_in_parentheses: r3(95195, 3, "Wrap_all_invalid_decorator_expressions_in_parentheses_95195", "Wrap all invalid decorator expressions in parentheses"), Add_resolution_mode_import_attribute: r3(95196, 3, "Add_resolution_mode_import_attribute_95196", "Add 'resolution-mode' import attribute"), Add_resolution_mode_import_attribute_to_all_type_only_imports_that_need_it: r3(95197, 3, "Add_resolution_mode_import_attribute_to_all_type_only_imports_that_need_it_95197", "Add 'resolution-mode' import attribute to all type-only imports that need it"), No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer: r3(18004, 1, "No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer_18004", "No value exists in scope for the shorthand property '{0}'. Either declare one or provide an initializer."), Classes_may_not_have_a_field_named_constructor: r3(18006, 1, "Classes_may_not_have_a_field_named_constructor_18006", "Classes may not have a field named 'constructor'."), JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array: r3(18007, 1, "JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array_18007", "JSX expressions may not use the comma operator. Did you mean to write an array?"), Private_identifiers_cannot_be_used_as_parameters: r3(18009, 1, "Private_identifiers_cannot_be_used_as_parameters_18009", "Private identifiers cannot be used as parameters."), An_accessibility_modifier_cannot_be_used_with_a_private_identifier: r3(18010, 1, "An_accessibility_modifier_cannot_be_used_with_a_private_identifier_18010", "An accessibility modifier cannot be used with a private identifier."), The_operand_of_a_delete_operator_cannot_be_a_private_identifier: r3(18011, 1, "The_operand_of_a_delete_operator_cannot_be_a_private_identifier_18011", "The operand of a 'delete' operator cannot be a private identifier."), constructor_is_a_reserved_word: r3(18012, 1, "constructor_is_a_reserved_word_18012", "'#constructor' is a reserved word."), Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier: r3(18013, 1, "Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier_18013", "Property '{0}' is not accessible outside class '{1}' because it has a private identifier."), The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_private_identifier_with_the_same_spelling: r3(18014, 1, "The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_priv_18014", "The property '{0}' cannot be accessed on type '{1}' within this class because it is shadowed by another private identifier with the same spelling."), Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2: r3(18015, 1, "Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2_18015", "Property '{0}' in type '{1}' refers to a different member that cannot be accessed from within type '{2}'."), Private_identifiers_are_not_allowed_outside_class_bodies: r3(18016, 1, "Private_identifiers_are_not_allowed_outside_class_bodies_18016", "Private identifiers are not allowed outside class bodies."), The_shadowing_declaration_of_0_is_defined_here: r3(18017, 1, "The_shadowing_declaration_of_0_is_defined_here_18017", "The shadowing declaration of '{0}' is defined here"), The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here: r3(18018, 1, "The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here_18018", "The declaration of '{0}' that you probably intended to use is defined here"), _0_modifier_cannot_be_used_with_a_private_identifier: r3(18019, 1, "_0_modifier_cannot_be_used_with_a_private_identifier_18019", "'{0}' modifier cannot be used with a private identifier."), An_enum_member_cannot_be_named_with_a_private_identifier: r3(18024, 1, "An_enum_member_cannot_be_named_with_a_private_identifier_18024", "An enum member cannot be named with a private identifier."), can_only_be_used_at_the_start_of_a_file: r3(18026, 1, "can_only_be_used_at_the_start_of_a_file_18026", "'#!' can only be used at the start of a file."), Compiler_reserves_name_0_when_emitting_private_identifier_downlevel: r3(18027, 1, "Compiler_reserves_name_0_when_emitting_private_identifier_downlevel_18027", "Compiler reserves name '{0}' when emitting private identifier downlevel."), Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher: r3(18028, 1, "Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher_18028", "Private identifiers are only available when targeting ECMAScript 2015 and higher."), Private_identifiers_are_not_allowed_in_variable_declarations: r3(18029, 1, "Private_identifiers_are_not_allowed_in_variable_declarations_18029", "Private identifiers are not allowed in variable declarations."), An_optional_chain_cannot_contain_private_identifiers: r3(18030, 1, "An_optional_chain_cannot_contain_private_identifiers_18030", "An optional chain cannot contain private identifiers."), The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents: r3(18031, 1, "The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituent_18031", "The intersection '{0}' was reduced to 'never' because property '{1}' has conflicting types in some constituents."), The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some: r3(18032, 1, "The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_pr_18032", "The intersection '{0}' was reduced to 'never' because property '{1}' exists in multiple constituents and is private in some."), Type_0_is_not_assignable_to_type_1_as_required_for_computed_enum_member_values: r3(18033, 1, "Type_0_is_not_assignable_to_type_1_as_required_for_computed_enum_member_values_18033", "Type '{0}' is not assignable to type '{1}' as required for computed enum member values."), Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compiler_option_is_specified_e_g_Fragment: r3(18034, 3, "Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compi_18034", "Specify the JSX fragment factory function to use when targeting 'react' JSX emit with 'jsxFactory' compiler option is specified, e.g. 'Fragment'."), Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name: r3(18035, 1, "Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name_18035", "Invalid value for 'jsxFragmentFactory'. '{0}' is not a valid identifier or qualified-name."), Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator: r3(18036, 1, "Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_dec_18036", "Class decorators can't be used with static private identifier. Consider removing the experimental decorator."), await_expression_cannot_be_used_inside_a_class_static_block: r3(18037, 1, "await_expression_cannot_be_used_inside_a_class_static_block_18037", "'await' expression cannot be used inside a class static block."), for_await_loops_cannot_be_used_inside_a_class_static_block: r3(18038, 1, "for_await_loops_cannot_be_used_inside_a_class_static_block_18038", "'for await' loops cannot be used inside a class static block."), Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block: r3(18039, 1, "Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block_18039", "Invalid use of '{0}'. It cannot be used inside a class static block."), A_return_statement_cannot_be_used_inside_a_class_static_block: r3(18041, 1, "A_return_statement_cannot_be_used_inside_a_class_static_block_18041", "A 'return' statement cannot be used inside a class static block."), _0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation: r3(18042, 1, "_0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation_18042", "'{0}' is a type and cannot be imported in JavaScript files. Use '{1}' in a JSDoc type annotation."), Types_cannot_appear_in_export_declarations_in_JavaScript_files: r3(18043, 1, "Types_cannot_appear_in_export_declarations_in_JavaScript_files_18043", "Types cannot appear in export declarations in JavaScript files."), _0_is_automatically_exported_here: r3(18044, 3, "_0_is_automatically_exported_here_18044", "'{0}' is automatically exported here."), Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher: r3(18045, 1, "Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher_18045", "Properties with the 'accessor' modifier are only available when targeting ECMAScript 2015 and higher."), _0_is_of_type_unknown: r3(18046, 1, "_0_is_of_type_unknown_18046", "'{0}' is of type 'unknown'."), _0_is_possibly_null: r3(18047, 1, "_0_is_possibly_null_18047", "'{0}' is possibly 'null'."), _0_is_possibly_undefined: r3(18048, 1, "_0_is_possibly_undefined_18048", "'{0}' is possibly 'undefined'."), _0_is_possibly_null_or_undefined: r3(18049, 1, "_0_is_possibly_null_or_undefined_18049", "'{0}' is possibly 'null' or 'undefined'."), The_value_0_cannot_be_used_here: r3(18050, 1, "The_value_0_cannot_be_used_here_18050", "The value '{0}' cannot be used here."), Compiler_option_0_cannot_be_given_an_empty_string: r3(18051, 1, "Compiler_option_0_cannot_be_given_an_empty_string_18051", "Compiler option '{0}' cannot be given an empty string."), Its_type_0_is_not_a_valid_JSX_element_type: r3(18053, 1, "Its_type_0_is_not_a_valid_JSX_element_type_18053", "Its type '{0}' is not a valid JSX element type."), await_using_statements_cannot_be_used_inside_a_class_static_block: r3(18054, 1, "await_using_statements_cannot_be_used_inside_a_class_static_block_18054", "'await using' statements cannot be used inside a class static block."), _0_has_a_string_type_but_must_have_syntactically_recognizable_string_syntax_when_isolatedModules_is_enabled: r3(18055, 1, "_0_has_a_string_type_but_must_have_syntactically_recognizable_string_syntax_when_isolatedModules_is__18055", "'{0}' has a string type, but must have syntactically recognizable string syntax when 'isolatedModules' is enabled."), Enum_member_following_a_non_literal_numeric_member_must_have_an_initializer_when_isolatedModules_is_enabled: r3(18056, 1, "Enum_member_following_a_non_literal_numeric_member_must_have_an_initializer_when_isolatedModules_is__18056", "Enum member following a non-literal numeric member must have an initializer when 'isolatedModules' is enabled."), String_literal_import_and_export_names_are_not_supported_when_the_module_flag_is_set_to_es2015_or_es2020: r3(18057, 1, "String_literal_import_and_export_names_are_not_supported_when_the_module_flag_is_set_to_es2015_or_es_18057", "String literal import and export names are not supported when the '--module' flag is set to 'es2015' or 'es2020'."), Default_imports_are_not_allowed_in_a_deferred_import: r3(18058, 1, "Default_imports_are_not_allowed_in_a_deferred_import_18058", "Default imports are not allowed in a deferred import."), Named_imports_are_not_allowed_in_a_deferred_import: r3(18059, 1, "Named_imports_are_not_allowed_in_a_deferred_import_18059", "Named imports are not allowed in a deferred import."), Deferred_imports_are_only_supported_when_the_module_flag_is_set_to_esnext_or_preserve: r3(18060, 1, "Deferred_imports_are_only_supported_when_the_module_flag_is_set_to_esnext_or_preserve_18060", "Deferred imports are only supported when the '--module' flag is set to 'esnext' or 'preserve'."), _0_is_not_a_valid_meta_property_for_keyword_import_Did_you_mean_meta_or_defer: r3(18061, 1, "_0_is_not_a_valid_meta_property_for_keyword_import_Did_you_mean_meta_or_defer_18061", "'{0}' is not a valid meta-property for keyword 'import'. Did you mean 'meta' or 'defer'?") }; + tf2 = { abstract: 128, accessor: 129, any: 133, as: 130, asserts: 131, assert: 132, bigint: 163, boolean: 136, break: 83, case: 84, catch: 85, class: 86, continue: 88, const: 87, constructor: 137, debugger: 89, declare: 138, default: 90, defer: 166, delete: 91, do: 92, else: 93, enum: 94, export: 95, extends: 96, false: 97, finally: 98, for: 99, from: 161, function: 100, get: 139, if: 101, implements: 119, import: 102, in: 103, infer: 140, instanceof: 104, interface: 120, intrinsic: 141, is: 142, keyof: 143, let: 121, module: 144, namespace: 145, never: 146, new: 105, null: 106, number: 150, object: 151, package: 122, private: 123, protected: 124, public: 125, override: 164, out: 147, readonly: 148, require: 149, global: 162, return: 107, satisfies: 152, set: 153, static: 126, string: 154, super: 108, switch: 109, symbol: 155, this: 110, throw: 111, true: 112, try: 113, type: 156, typeof: 114, undefined: 157, unique: 158, unknown: 159, using: 160, var: 115, void: 116, while: 117, with: 118, yield: 127, async: 134, await: 135, of: 165 }; + Wy2 = new Map(Object.entries(tf2)); + Lm2 = new Map(Object.entries({ ...tf2, "{": 19, "}": 20, "(": 21, ")": 22, "[": 23, "]": 24, ".": 25, "...": 26, ";": 27, ",": 28, "<": 30, ">": 32, "<=": 33, ">=": 34, "==": 35, "!=": 36, "===": 37, "!==": 38, "=>": 39, "+": 40, "-": 41, "**": 43, "*": 42, "/": 44, "%": 45, "++": 46, "--": 47, "<<": 48, ">": 49, ">>>": 50, "&": 51, "|": 52, "^": 53, "!": 54, "~": 55, "&&": 56, "||": 57, "?": 58, "??": 61, "?.": 29, ":": 59, "=": 64, "+=": 65, "-=": 66, "*=": 67, "**=": 68, "/=": 69, "%=": 70, "<<=": 71, ">>=": 72, ">>>=": 73, "&=": 74, "|=": 75, "^=": 79, "||=": 76, "&&=": 77, "??=": 78, "@": 60, "#": 63, "`": 62 })); + Jm2 = /* @__PURE__ */ new Map([[100, 1], [103, 2], [105, 4], [109, 8], [115, 16], [117, 32], [118, 64], [121, 128]]); + Gy2 = /* @__PURE__ */ new Map([[1, $s8.RegularExpressionFlagsHasIndices], [16, $s8.RegularExpressionFlagsDotAll], [32, $s8.RegularExpressionFlagsUnicode], [64, $s8.RegularExpressionFlagsUnicodeSets], [128, $s8.RegularExpressionFlagsSticky]]); + Yy2 = [170, 170, 181, 181, 186, 186, 192, 214, 216, 246, 248, 705, 710, 721, 736, 740, 748, 748, 750, 750, 880, 884, 886, 887, 890, 893, 902, 902, 904, 906, 908, 908, 910, 929, 931, 1013, 1015, 1153, 1162, 1319, 1329, 1366, 1369, 1369, 1377, 1415, 1488, 1514, 1520, 1522, 1568, 1610, 1646, 1647, 1649, 1747, 1749, 1749, 1765, 1766, 1774, 1775, 1786, 1788, 1791, 1791, 1808, 1808, 1810, 1839, 1869, 1957, 1969, 1969, 1994, 2026, 2036, 2037, 2042, 2042, 2048, 2069, 2074, 2074, 2084, 2084, 2088, 2088, 2112, 2136, 2208, 2208, 2210, 2220, 2308, 2361, 2365, 2365, 2384, 2384, 2392, 2401, 2417, 2423, 2425, 2431, 2437, 2444, 2447, 2448, 2451, 2472, 2474, 2480, 2482, 2482, 2486, 2489, 2493, 2493, 2510, 2510, 2524, 2525, 2527, 2529, 2544, 2545, 2565, 2570, 2575, 2576, 2579, 2600, 2602, 2608, 2610, 2611, 2613, 2614, 2616, 2617, 2649, 2652, 2654, 2654, 2674, 2676, 2693, 2701, 2703, 2705, 2707, 2728, 2730, 2736, 2738, 2739, 2741, 2745, 2749, 2749, 2768, 2768, 2784, 2785, 2821, 2828, 2831, 2832, 2835, 2856, 2858, 2864, 2866, 2867, 2869, 2873, 2877, 2877, 2908, 2909, 2911, 2913, 2929, 2929, 2947, 2947, 2949, 2954, 2958, 2960, 2962, 2965, 2969, 2970, 2972, 2972, 2974, 2975, 2979, 2980, 2984, 2986, 2990, 3001, 3024, 3024, 3077, 3084, 3086, 3088, 3090, 3112, 3114, 3123, 3125, 3129, 3133, 3133, 3160, 3161, 3168, 3169, 3205, 3212, 3214, 3216, 3218, 3240, 3242, 3251, 3253, 3257, 3261, 3261, 3294, 3294, 3296, 3297, 3313, 3314, 3333, 3340, 3342, 3344, 3346, 3386, 3389, 3389, 3406, 3406, 3424, 3425, 3450, 3455, 3461, 3478, 3482, 3505, 3507, 3515, 3517, 3517, 3520, 3526, 3585, 3632, 3634, 3635, 3648, 3654, 3713, 3714, 3716, 3716, 3719, 3720, 3722, 3722, 3725, 3725, 3732, 3735, 3737, 3743, 3745, 3747, 3749, 3749, 3751, 3751, 3754, 3755, 3757, 3760, 3762, 3763, 3773, 3773, 3776, 3780, 3782, 3782, 3804, 3807, 3840, 3840, 3904, 3911, 3913, 3948, 3976, 3980, 4096, 4138, 4159, 4159, 4176, 4181, 4186, 4189, 4193, 4193, 4197, 4198, 4206, 4208, 4213, 4225, 4238, 4238, 4256, 4293, 4295, 4295, 4301, 4301, 4304, 4346, 4348, 4680, 4682, 4685, 4688, 4694, 4696, 4696, 4698, 4701, 4704, 4744, 4746, 4749, 4752, 4784, 4786, 4789, 4792, 4798, 4800, 4800, 4802, 4805, 4808, 4822, 4824, 4880, 4882, 4885, 4888, 4954, 4992, 5007, 5024, 5108, 5121, 5740, 5743, 5759, 5761, 5786, 5792, 5866, 5870, 5872, 5888, 5900, 5902, 5905, 5920, 5937, 5952, 5969, 5984, 5996, 5998, 6e3, 6016, 6067, 6103, 6103, 6108, 6108, 6176, 6263, 6272, 6312, 6314, 6314, 6320, 6389, 6400, 6428, 6480, 6509, 6512, 6516, 6528, 6571, 6593, 6599, 6656, 6678, 6688, 6740, 6823, 6823, 6917, 6963, 6981, 6987, 7043, 7072, 7086, 7087, 7098, 7141, 7168, 7203, 7245, 7247, 7258, 7293, 7401, 7404, 7406, 7409, 7413, 7414, 7424, 7615, 7680, 7957, 7960, 7965, 7968, 8005, 8008, 8013, 8016, 8023, 8025, 8025, 8027, 8027, 8029, 8029, 8031, 8061, 8064, 8116, 8118, 8124, 8126, 8126, 8130, 8132, 8134, 8140, 8144, 8147, 8150, 8155, 8160, 8172, 8178, 8180, 8182, 8188, 8305, 8305, 8319, 8319, 8336, 8348, 8450, 8450, 8455, 8455, 8458, 8467, 8469, 8469, 8473, 8477, 8484, 8484, 8486, 8486, 8488, 8488, 8490, 8493, 8495, 8505, 8508, 8511, 8517, 8521, 8526, 8526, 8544, 8584, 11264, 11310, 11312, 11358, 11360, 11492, 11499, 11502, 11506, 11507, 11520, 11557, 11559, 11559, 11565, 11565, 11568, 11623, 11631, 11631, 11648, 11670, 11680, 11686, 11688, 11694, 11696, 11702, 11704, 11710, 11712, 11718, 11720, 11726, 11728, 11734, 11736, 11742, 11823, 11823, 12293, 12295, 12321, 12329, 12337, 12341, 12344, 12348, 12353, 12438, 12445, 12447, 12449, 12538, 12540, 12543, 12549, 12589, 12593, 12686, 12704, 12730, 12784, 12799, 13312, 19893, 19968, 40908, 40960, 42124, 42192, 42237, 42240, 42508, 42512, 42527, 42538, 42539, 42560, 42606, 42623, 42647, 42656, 42735, 42775, 42783, 42786, 42888, 42891, 42894, 42896, 42899, 42912, 42922, 43e3, 43009, 43011, 43013, 43015, 43018, 43020, 43042, 43072, 43123, 43138, 43187, 43250, 43255, 43259, 43259, 43274, 43301, 43312, 43334, 43360, 43388, 43396, 43442, 43471, 43471, 43520, 43560, 43584, 43586, 43588, 43595, 43616, 43638, 43642, 43642, 43648, 43695, 43697, 43697, 43701, 43702, 43705, 43709, 43712, 43712, 43714, 43714, 43739, 43741, 43744, 43754, 43762, 43764, 43777, 43782, 43785, 43790, 43793, 43798, 43808, 43814, 43816, 43822, 43968, 44002, 44032, 55203, 55216, 55238, 55243, 55291, 63744, 64109, 64112, 64217, 64256, 64262, 64275, 64279, 64285, 64285, 64287, 64296, 64298, 64310, 64312, 64316, 64318, 64318, 64320, 64321, 64323, 64324, 64326, 64433, 64467, 64829, 64848, 64911, 64914, 64967, 65008, 65019, 65136, 65140, 65142, 65276, 65313, 65338, 65345, 65370, 65382, 65470, 65474, 65479, 65482, 65487, 65490, 65495, 65498, 65500]; + Hy2 = [170, 170, 181, 181, 186, 186, 192, 214, 216, 246, 248, 705, 710, 721, 736, 740, 748, 748, 750, 750, 768, 884, 886, 887, 890, 893, 902, 902, 904, 906, 908, 908, 910, 929, 931, 1013, 1015, 1153, 1155, 1159, 1162, 1319, 1329, 1366, 1369, 1369, 1377, 1415, 1425, 1469, 1471, 1471, 1473, 1474, 1476, 1477, 1479, 1479, 1488, 1514, 1520, 1522, 1552, 1562, 1568, 1641, 1646, 1747, 1749, 1756, 1759, 1768, 1770, 1788, 1791, 1791, 1808, 1866, 1869, 1969, 1984, 2037, 2042, 2042, 2048, 2093, 2112, 2139, 2208, 2208, 2210, 2220, 2276, 2302, 2304, 2403, 2406, 2415, 2417, 2423, 2425, 2431, 2433, 2435, 2437, 2444, 2447, 2448, 2451, 2472, 2474, 2480, 2482, 2482, 2486, 2489, 2492, 2500, 2503, 2504, 2507, 2510, 2519, 2519, 2524, 2525, 2527, 2531, 2534, 2545, 2561, 2563, 2565, 2570, 2575, 2576, 2579, 2600, 2602, 2608, 2610, 2611, 2613, 2614, 2616, 2617, 2620, 2620, 2622, 2626, 2631, 2632, 2635, 2637, 2641, 2641, 2649, 2652, 2654, 2654, 2662, 2677, 2689, 2691, 2693, 2701, 2703, 2705, 2707, 2728, 2730, 2736, 2738, 2739, 2741, 2745, 2748, 2757, 2759, 2761, 2763, 2765, 2768, 2768, 2784, 2787, 2790, 2799, 2817, 2819, 2821, 2828, 2831, 2832, 2835, 2856, 2858, 2864, 2866, 2867, 2869, 2873, 2876, 2884, 2887, 2888, 2891, 2893, 2902, 2903, 2908, 2909, 2911, 2915, 2918, 2927, 2929, 2929, 2946, 2947, 2949, 2954, 2958, 2960, 2962, 2965, 2969, 2970, 2972, 2972, 2974, 2975, 2979, 2980, 2984, 2986, 2990, 3001, 3006, 3010, 3014, 3016, 3018, 3021, 3024, 3024, 3031, 3031, 3046, 3055, 3073, 3075, 3077, 3084, 3086, 3088, 3090, 3112, 3114, 3123, 3125, 3129, 3133, 3140, 3142, 3144, 3146, 3149, 3157, 3158, 3160, 3161, 3168, 3171, 3174, 3183, 3202, 3203, 3205, 3212, 3214, 3216, 3218, 3240, 3242, 3251, 3253, 3257, 3260, 3268, 3270, 3272, 3274, 3277, 3285, 3286, 3294, 3294, 3296, 3299, 3302, 3311, 3313, 3314, 3330, 3331, 3333, 3340, 3342, 3344, 3346, 3386, 3389, 3396, 3398, 3400, 3402, 3406, 3415, 3415, 3424, 3427, 3430, 3439, 3450, 3455, 3458, 3459, 3461, 3478, 3482, 3505, 3507, 3515, 3517, 3517, 3520, 3526, 3530, 3530, 3535, 3540, 3542, 3542, 3544, 3551, 3570, 3571, 3585, 3642, 3648, 3662, 3664, 3673, 3713, 3714, 3716, 3716, 3719, 3720, 3722, 3722, 3725, 3725, 3732, 3735, 3737, 3743, 3745, 3747, 3749, 3749, 3751, 3751, 3754, 3755, 3757, 3769, 3771, 3773, 3776, 3780, 3782, 3782, 3784, 3789, 3792, 3801, 3804, 3807, 3840, 3840, 3864, 3865, 3872, 3881, 3893, 3893, 3895, 3895, 3897, 3897, 3902, 3911, 3913, 3948, 3953, 3972, 3974, 3991, 3993, 4028, 4038, 4038, 4096, 4169, 4176, 4253, 4256, 4293, 4295, 4295, 4301, 4301, 4304, 4346, 4348, 4680, 4682, 4685, 4688, 4694, 4696, 4696, 4698, 4701, 4704, 4744, 4746, 4749, 4752, 4784, 4786, 4789, 4792, 4798, 4800, 4800, 4802, 4805, 4808, 4822, 4824, 4880, 4882, 4885, 4888, 4954, 4957, 4959, 4992, 5007, 5024, 5108, 5121, 5740, 5743, 5759, 5761, 5786, 5792, 5866, 5870, 5872, 5888, 5900, 5902, 5908, 5920, 5940, 5952, 5971, 5984, 5996, 5998, 6e3, 6002, 6003, 6016, 6099, 6103, 6103, 6108, 6109, 6112, 6121, 6155, 6157, 6160, 6169, 6176, 6263, 6272, 6314, 6320, 6389, 6400, 6428, 6432, 6443, 6448, 6459, 6470, 6509, 6512, 6516, 6528, 6571, 6576, 6601, 6608, 6617, 6656, 6683, 6688, 6750, 6752, 6780, 6783, 6793, 6800, 6809, 6823, 6823, 6912, 6987, 6992, 7001, 7019, 7027, 7040, 7155, 7168, 7223, 7232, 7241, 7245, 7293, 7376, 7378, 7380, 7414, 7424, 7654, 7676, 7957, 7960, 7965, 7968, 8005, 8008, 8013, 8016, 8023, 8025, 8025, 8027, 8027, 8029, 8029, 8031, 8061, 8064, 8116, 8118, 8124, 8126, 8126, 8130, 8132, 8134, 8140, 8144, 8147, 8150, 8155, 8160, 8172, 8178, 8180, 8182, 8188, 8204, 8205, 8255, 8256, 8276, 8276, 8305, 8305, 8319, 8319, 8336, 8348, 8400, 8412, 8417, 8417, 8421, 8432, 8450, 8450, 8455, 8455, 8458, 8467, 8469, 8469, 8473, 8477, 8484, 8484, 8486, 8486, 8488, 8488, 8490, 8493, 8495, 8505, 8508, 8511, 8517, 8521, 8526, 8526, 8544, 8584, 11264, 11310, 11312, 11358, 11360, 11492, 11499, 11507, 11520, 11557, 11559, 11559, 11565, 11565, 11568, 11623, 11631, 11631, 11647, 11670, 11680, 11686, 11688, 11694, 11696, 11702, 11704, 11710, 11712, 11718, 11720, 11726, 11728, 11734, 11736, 11742, 11744, 11775, 11823, 11823, 12293, 12295, 12321, 12335, 12337, 12341, 12344, 12348, 12353, 12438, 12441, 12442, 12445, 12447, 12449, 12538, 12540, 12543, 12549, 12589, 12593, 12686, 12704, 12730, 12784, 12799, 13312, 19893, 19968, 40908, 40960, 42124, 42192, 42237, 42240, 42508, 42512, 42539, 42560, 42607, 42612, 42621, 42623, 42647, 42655, 42737, 42775, 42783, 42786, 42888, 42891, 42894, 42896, 42899, 42912, 42922, 43e3, 43047, 43072, 43123, 43136, 43204, 43216, 43225, 43232, 43255, 43259, 43259, 43264, 43309, 43312, 43347, 43360, 43388, 43392, 43456, 43471, 43481, 43520, 43574, 43584, 43597, 43600, 43609, 43616, 43638, 43642, 43643, 43648, 43714, 43739, 43741, 43744, 43759, 43762, 43766, 43777, 43782, 43785, 43790, 43793, 43798, 43808, 43814, 43816, 43822, 43968, 44010, 44012, 44013, 44016, 44025, 44032, 55203, 55216, 55238, 55243, 55291, 63744, 64109, 64112, 64217, 64256, 64262, 64275, 64279, 64285, 64296, 64298, 64310, 64312, 64316, 64318, 64318, 64320, 64321, 64323, 64324, 64326, 64433, 64467, 64829, 64848, 64911, 64914, 64967, 65008, 65019, 65024, 65039, 65056, 65062, 65075, 65076, 65101, 65103, 65136, 65140, 65142, 65276, 65296, 65305, 65313, 65338, 65343, 65343, 65345, 65370, 65382, 65470, 65474, 65479, 65482, 65487, 65490, 65495, 65498, 65500]; + Xy = [65, 90, 97, 122, 170, 170, 181, 181, 186, 186, 192, 214, 216, 246, 248, 705, 710, 721, 736, 740, 748, 748, 750, 750, 880, 884, 886, 887, 890, 893, 895, 895, 902, 902, 904, 906, 908, 908, 910, 929, 931, 1013, 1015, 1153, 1162, 1327, 1329, 1366, 1369, 1369, 1376, 1416, 1488, 1514, 1519, 1522, 1568, 1610, 1646, 1647, 1649, 1747, 1749, 1749, 1765, 1766, 1774, 1775, 1786, 1788, 1791, 1791, 1808, 1808, 1810, 1839, 1869, 1957, 1969, 1969, 1994, 2026, 2036, 2037, 2042, 2042, 2048, 2069, 2074, 2074, 2084, 2084, 2088, 2088, 2112, 2136, 2144, 2154, 2160, 2183, 2185, 2190, 2208, 2249, 2308, 2361, 2365, 2365, 2384, 2384, 2392, 2401, 2417, 2432, 2437, 2444, 2447, 2448, 2451, 2472, 2474, 2480, 2482, 2482, 2486, 2489, 2493, 2493, 2510, 2510, 2524, 2525, 2527, 2529, 2544, 2545, 2556, 2556, 2565, 2570, 2575, 2576, 2579, 2600, 2602, 2608, 2610, 2611, 2613, 2614, 2616, 2617, 2649, 2652, 2654, 2654, 2674, 2676, 2693, 2701, 2703, 2705, 2707, 2728, 2730, 2736, 2738, 2739, 2741, 2745, 2749, 2749, 2768, 2768, 2784, 2785, 2809, 2809, 2821, 2828, 2831, 2832, 2835, 2856, 2858, 2864, 2866, 2867, 2869, 2873, 2877, 2877, 2908, 2909, 2911, 2913, 2929, 2929, 2947, 2947, 2949, 2954, 2958, 2960, 2962, 2965, 2969, 2970, 2972, 2972, 2974, 2975, 2979, 2980, 2984, 2986, 2990, 3001, 3024, 3024, 3077, 3084, 3086, 3088, 3090, 3112, 3114, 3129, 3133, 3133, 3160, 3162, 3165, 3165, 3168, 3169, 3200, 3200, 3205, 3212, 3214, 3216, 3218, 3240, 3242, 3251, 3253, 3257, 3261, 3261, 3293, 3294, 3296, 3297, 3313, 3314, 3332, 3340, 3342, 3344, 3346, 3386, 3389, 3389, 3406, 3406, 3412, 3414, 3423, 3425, 3450, 3455, 3461, 3478, 3482, 3505, 3507, 3515, 3517, 3517, 3520, 3526, 3585, 3632, 3634, 3635, 3648, 3654, 3713, 3714, 3716, 3716, 3718, 3722, 3724, 3747, 3749, 3749, 3751, 3760, 3762, 3763, 3773, 3773, 3776, 3780, 3782, 3782, 3804, 3807, 3840, 3840, 3904, 3911, 3913, 3948, 3976, 3980, 4096, 4138, 4159, 4159, 4176, 4181, 4186, 4189, 4193, 4193, 4197, 4198, 4206, 4208, 4213, 4225, 4238, 4238, 4256, 4293, 4295, 4295, 4301, 4301, 4304, 4346, 4348, 4680, 4682, 4685, 4688, 4694, 4696, 4696, 4698, 4701, 4704, 4744, 4746, 4749, 4752, 4784, 4786, 4789, 4792, 4798, 4800, 4800, 4802, 4805, 4808, 4822, 4824, 4880, 4882, 4885, 4888, 4954, 4992, 5007, 5024, 5109, 5112, 5117, 5121, 5740, 5743, 5759, 5761, 5786, 5792, 5866, 5870, 5880, 5888, 5905, 5919, 5937, 5952, 5969, 5984, 5996, 5998, 6e3, 6016, 6067, 6103, 6103, 6108, 6108, 6176, 6264, 6272, 6312, 6314, 6314, 6320, 6389, 6400, 6430, 6480, 6509, 6512, 6516, 6528, 6571, 6576, 6601, 6656, 6678, 6688, 6740, 6823, 6823, 6917, 6963, 6981, 6988, 7043, 7072, 7086, 7087, 7098, 7141, 7168, 7203, 7245, 7247, 7258, 7293, 7296, 7304, 7312, 7354, 7357, 7359, 7401, 7404, 7406, 7411, 7413, 7414, 7418, 7418, 7424, 7615, 7680, 7957, 7960, 7965, 7968, 8005, 8008, 8013, 8016, 8023, 8025, 8025, 8027, 8027, 8029, 8029, 8031, 8061, 8064, 8116, 8118, 8124, 8126, 8126, 8130, 8132, 8134, 8140, 8144, 8147, 8150, 8155, 8160, 8172, 8178, 8180, 8182, 8188, 8305, 8305, 8319, 8319, 8336, 8348, 8450, 8450, 8455, 8455, 8458, 8467, 8469, 8469, 8472, 8477, 8484, 8484, 8486, 8486, 8488, 8488, 8490, 8505, 8508, 8511, 8517, 8521, 8526, 8526, 8544, 8584, 11264, 11492, 11499, 11502, 11506, 11507, 11520, 11557, 11559, 11559, 11565, 11565, 11568, 11623, 11631, 11631, 11648, 11670, 11680, 11686, 11688, 11694, 11696, 11702, 11704, 11710, 11712, 11718, 11720, 11726, 11728, 11734, 11736, 11742, 12293, 12295, 12321, 12329, 12337, 12341, 12344, 12348, 12353, 12438, 12443, 12447, 12449, 12538, 12540, 12543, 12549, 12591, 12593, 12686, 12704, 12735, 12784, 12799, 13312, 19903, 19968, 42124, 42192, 42237, 42240, 42508, 42512, 42527, 42538, 42539, 42560, 42606, 42623, 42653, 42656, 42735, 42775, 42783, 42786, 42888, 42891, 42954, 42960, 42961, 42963, 42963, 42965, 42969, 42994, 43009, 43011, 43013, 43015, 43018, 43020, 43042, 43072, 43123, 43138, 43187, 43250, 43255, 43259, 43259, 43261, 43262, 43274, 43301, 43312, 43334, 43360, 43388, 43396, 43442, 43471, 43471, 43488, 43492, 43494, 43503, 43514, 43518, 43520, 43560, 43584, 43586, 43588, 43595, 43616, 43638, 43642, 43642, 43646, 43695, 43697, 43697, 43701, 43702, 43705, 43709, 43712, 43712, 43714, 43714, 43739, 43741, 43744, 43754, 43762, 43764, 43777, 43782, 43785, 43790, 43793, 43798, 43808, 43814, 43816, 43822, 43824, 43866, 43868, 43881, 43888, 44002, 44032, 55203, 55216, 55238, 55243, 55291, 63744, 64109, 64112, 64217, 64256, 64262, 64275, 64279, 64285, 64285, 64287, 64296, 64298, 64310, 64312, 64316, 64318, 64318, 64320, 64321, 64323, 64324, 64326, 64433, 64467, 64829, 64848, 64911, 64914, 64967, 65008, 65019, 65136, 65140, 65142, 65276, 65313, 65338, 65345, 65370, 65382, 65470, 65474, 65479, 65482, 65487, 65490, 65495, 65498, 65500, 65536, 65547, 65549, 65574, 65576, 65594, 65596, 65597, 65599, 65613, 65616, 65629, 65664, 65786, 65856, 65908, 66176, 66204, 66208, 66256, 66304, 66335, 66349, 66378, 66384, 66421, 66432, 66461, 66464, 66499, 66504, 66511, 66513, 66517, 66560, 66717, 66736, 66771, 66776, 66811, 66816, 66855, 66864, 66915, 66928, 66938, 66940, 66954, 66956, 66962, 66964, 66965, 66967, 66977, 66979, 66993, 66995, 67001, 67003, 67004, 67072, 67382, 67392, 67413, 67424, 67431, 67456, 67461, 67463, 67504, 67506, 67514, 67584, 67589, 67592, 67592, 67594, 67637, 67639, 67640, 67644, 67644, 67647, 67669, 67680, 67702, 67712, 67742, 67808, 67826, 67828, 67829, 67840, 67861, 67872, 67897, 67968, 68023, 68030, 68031, 68096, 68096, 68112, 68115, 68117, 68119, 68121, 68149, 68192, 68220, 68224, 68252, 68288, 68295, 68297, 68324, 68352, 68405, 68416, 68437, 68448, 68466, 68480, 68497, 68608, 68680, 68736, 68786, 68800, 68850, 68864, 68899, 69248, 69289, 69296, 69297, 69376, 69404, 69415, 69415, 69424, 69445, 69488, 69505, 69552, 69572, 69600, 69622, 69635, 69687, 69745, 69746, 69749, 69749, 69763, 69807, 69840, 69864, 69891, 69926, 69956, 69956, 69959, 69959, 69968, 70002, 70006, 70006, 70019, 70066, 70081, 70084, 70106, 70106, 70108, 70108, 70144, 70161, 70163, 70187, 70207, 70208, 70272, 70278, 70280, 70280, 70282, 70285, 70287, 70301, 70303, 70312, 70320, 70366, 70405, 70412, 70415, 70416, 70419, 70440, 70442, 70448, 70450, 70451, 70453, 70457, 70461, 70461, 70480, 70480, 70493, 70497, 70656, 70708, 70727, 70730, 70751, 70753, 70784, 70831, 70852, 70853, 70855, 70855, 71040, 71086, 71128, 71131, 71168, 71215, 71236, 71236, 71296, 71338, 71352, 71352, 71424, 71450, 71488, 71494, 71680, 71723, 71840, 71903, 71935, 71942, 71945, 71945, 71948, 71955, 71957, 71958, 71960, 71983, 71999, 71999, 72001, 72001, 72096, 72103, 72106, 72144, 72161, 72161, 72163, 72163, 72192, 72192, 72203, 72242, 72250, 72250, 72272, 72272, 72284, 72329, 72349, 72349, 72368, 72440, 72704, 72712, 72714, 72750, 72768, 72768, 72818, 72847, 72960, 72966, 72968, 72969, 72971, 73008, 73030, 73030, 73056, 73061, 73063, 73064, 73066, 73097, 73112, 73112, 73440, 73458, 73474, 73474, 73476, 73488, 73490, 73523, 73648, 73648, 73728, 74649, 74752, 74862, 74880, 75075, 77712, 77808, 77824, 78895, 78913, 78918, 82944, 83526, 92160, 92728, 92736, 92766, 92784, 92862, 92880, 92909, 92928, 92975, 92992, 92995, 93027, 93047, 93053, 93071, 93760, 93823, 93952, 94026, 94032, 94032, 94099, 94111, 94176, 94177, 94179, 94179, 94208, 100343, 100352, 101589, 101632, 101640, 110576, 110579, 110581, 110587, 110589, 110590, 110592, 110882, 110898, 110898, 110928, 110930, 110933, 110933, 110948, 110951, 110960, 111355, 113664, 113770, 113776, 113788, 113792, 113800, 113808, 113817, 119808, 119892, 119894, 119964, 119966, 119967, 119970, 119970, 119973, 119974, 119977, 119980, 119982, 119993, 119995, 119995, 119997, 120003, 120005, 120069, 120071, 120074, 120077, 120084, 120086, 120092, 120094, 120121, 120123, 120126, 120128, 120132, 120134, 120134, 120138, 120144, 120146, 120485, 120488, 120512, 120514, 120538, 120540, 120570, 120572, 120596, 120598, 120628, 120630, 120654, 120656, 120686, 120688, 120712, 120714, 120744, 120746, 120770, 120772, 120779, 122624, 122654, 122661, 122666, 122928, 122989, 123136, 123180, 123191, 123197, 123214, 123214, 123536, 123565, 123584, 123627, 124112, 124139, 124896, 124902, 124904, 124907, 124909, 124910, 124912, 124926, 124928, 125124, 125184, 125251, 125259, 125259, 126464, 126467, 126469, 126495, 126497, 126498, 126500, 126500, 126503, 126503, 126505, 126514, 126516, 126519, 126521, 126521, 126523, 126523, 126530, 126530, 126535, 126535, 126537, 126537, 126539, 126539, 126541, 126543, 126545, 126546, 126548, 126548, 126551, 126551, 126553, 126553, 126555, 126555, 126557, 126557, 126559, 126559, 126561, 126562, 126564, 126564, 126567, 126570, 126572, 126578, 126580, 126583, 126585, 126588, 126590, 126590, 126592, 126601, 126603, 126619, 126625, 126627, 126629, 126633, 126635, 126651, 131072, 173791, 173824, 177977, 177984, 178205, 178208, 183969, 183984, 191456, 191472, 192093, 194560, 195101, 196608, 201546, 201552, 205743]; + $y2 = [48, 57, 65, 90, 95, 95, 97, 122, 170, 170, 181, 181, 183, 183, 186, 186, 192, 214, 216, 246, 248, 705, 710, 721, 736, 740, 748, 748, 750, 750, 768, 884, 886, 887, 890, 893, 895, 895, 902, 906, 908, 908, 910, 929, 931, 1013, 1015, 1153, 1155, 1159, 1162, 1327, 1329, 1366, 1369, 1369, 1376, 1416, 1425, 1469, 1471, 1471, 1473, 1474, 1476, 1477, 1479, 1479, 1488, 1514, 1519, 1522, 1552, 1562, 1568, 1641, 1646, 1747, 1749, 1756, 1759, 1768, 1770, 1788, 1791, 1791, 1808, 1866, 1869, 1969, 1984, 2037, 2042, 2042, 2045, 2045, 2048, 2093, 2112, 2139, 2144, 2154, 2160, 2183, 2185, 2190, 2200, 2273, 2275, 2403, 2406, 2415, 2417, 2435, 2437, 2444, 2447, 2448, 2451, 2472, 2474, 2480, 2482, 2482, 2486, 2489, 2492, 2500, 2503, 2504, 2507, 2510, 2519, 2519, 2524, 2525, 2527, 2531, 2534, 2545, 2556, 2556, 2558, 2558, 2561, 2563, 2565, 2570, 2575, 2576, 2579, 2600, 2602, 2608, 2610, 2611, 2613, 2614, 2616, 2617, 2620, 2620, 2622, 2626, 2631, 2632, 2635, 2637, 2641, 2641, 2649, 2652, 2654, 2654, 2662, 2677, 2689, 2691, 2693, 2701, 2703, 2705, 2707, 2728, 2730, 2736, 2738, 2739, 2741, 2745, 2748, 2757, 2759, 2761, 2763, 2765, 2768, 2768, 2784, 2787, 2790, 2799, 2809, 2815, 2817, 2819, 2821, 2828, 2831, 2832, 2835, 2856, 2858, 2864, 2866, 2867, 2869, 2873, 2876, 2884, 2887, 2888, 2891, 2893, 2901, 2903, 2908, 2909, 2911, 2915, 2918, 2927, 2929, 2929, 2946, 2947, 2949, 2954, 2958, 2960, 2962, 2965, 2969, 2970, 2972, 2972, 2974, 2975, 2979, 2980, 2984, 2986, 2990, 3001, 3006, 3010, 3014, 3016, 3018, 3021, 3024, 3024, 3031, 3031, 3046, 3055, 3072, 3084, 3086, 3088, 3090, 3112, 3114, 3129, 3132, 3140, 3142, 3144, 3146, 3149, 3157, 3158, 3160, 3162, 3165, 3165, 3168, 3171, 3174, 3183, 3200, 3203, 3205, 3212, 3214, 3216, 3218, 3240, 3242, 3251, 3253, 3257, 3260, 3268, 3270, 3272, 3274, 3277, 3285, 3286, 3293, 3294, 3296, 3299, 3302, 3311, 3313, 3315, 3328, 3340, 3342, 3344, 3346, 3396, 3398, 3400, 3402, 3406, 3412, 3415, 3423, 3427, 3430, 3439, 3450, 3455, 3457, 3459, 3461, 3478, 3482, 3505, 3507, 3515, 3517, 3517, 3520, 3526, 3530, 3530, 3535, 3540, 3542, 3542, 3544, 3551, 3558, 3567, 3570, 3571, 3585, 3642, 3648, 3662, 3664, 3673, 3713, 3714, 3716, 3716, 3718, 3722, 3724, 3747, 3749, 3749, 3751, 3773, 3776, 3780, 3782, 3782, 3784, 3790, 3792, 3801, 3804, 3807, 3840, 3840, 3864, 3865, 3872, 3881, 3893, 3893, 3895, 3895, 3897, 3897, 3902, 3911, 3913, 3948, 3953, 3972, 3974, 3991, 3993, 4028, 4038, 4038, 4096, 4169, 4176, 4253, 4256, 4293, 4295, 4295, 4301, 4301, 4304, 4346, 4348, 4680, 4682, 4685, 4688, 4694, 4696, 4696, 4698, 4701, 4704, 4744, 4746, 4749, 4752, 4784, 4786, 4789, 4792, 4798, 4800, 4800, 4802, 4805, 4808, 4822, 4824, 4880, 4882, 4885, 4888, 4954, 4957, 4959, 4969, 4977, 4992, 5007, 5024, 5109, 5112, 5117, 5121, 5740, 5743, 5759, 5761, 5786, 5792, 5866, 5870, 5880, 5888, 5909, 5919, 5940, 5952, 5971, 5984, 5996, 5998, 6e3, 6002, 6003, 6016, 6099, 6103, 6103, 6108, 6109, 6112, 6121, 6155, 6157, 6159, 6169, 6176, 6264, 6272, 6314, 6320, 6389, 6400, 6430, 6432, 6443, 6448, 6459, 6470, 6509, 6512, 6516, 6528, 6571, 6576, 6601, 6608, 6618, 6656, 6683, 6688, 6750, 6752, 6780, 6783, 6793, 6800, 6809, 6823, 6823, 6832, 6845, 6847, 6862, 6912, 6988, 6992, 7001, 7019, 7027, 7040, 7155, 7168, 7223, 7232, 7241, 7245, 7293, 7296, 7304, 7312, 7354, 7357, 7359, 7376, 7378, 7380, 7418, 7424, 7957, 7960, 7965, 7968, 8005, 8008, 8013, 8016, 8023, 8025, 8025, 8027, 8027, 8029, 8029, 8031, 8061, 8064, 8116, 8118, 8124, 8126, 8126, 8130, 8132, 8134, 8140, 8144, 8147, 8150, 8155, 8160, 8172, 8178, 8180, 8182, 8188, 8204, 8205, 8255, 8256, 8276, 8276, 8305, 8305, 8319, 8319, 8336, 8348, 8400, 8412, 8417, 8417, 8421, 8432, 8450, 8450, 8455, 8455, 8458, 8467, 8469, 8469, 8472, 8477, 8484, 8484, 8486, 8486, 8488, 8488, 8490, 8505, 8508, 8511, 8517, 8521, 8526, 8526, 8544, 8584, 11264, 11492, 11499, 11507, 11520, 11557, 11559, 11559, 11565, 11565, 11568, 11623, 11631, 11631, 11647, 11670, 11680, 11686, 11688, 11694, 11696, 11702, 11704, 11710, 11712, 11718, 11720, 11726, 11728, 11734, 11736, 11742, 11744, 11775, 12293, 12295, 12321, 12335, 12337, 12341, 12344, 12348, 12353, 12438, 12441, 12447, 12449, 12543, 12549, 12591, 12593, 12686, 12704, 12735, 12784, 12799, 13312, 19903, 19968, 42124, 42192, 42237, 42240, 42508, 42512, 42539, 42560, 42607, 42612, 42621, 42623, 42737, 42775, 42783, 42786, 42888, 42891, 42954, 42960, 42961, 42963, 42963, 42965, 42969, 42994, 43047, 43052, 43052, 43072, 43123, 43136, 43205, 43216, 43225, 43232, 43255, 43259, 43259, 43261, 43309, 43312, 43347, 43360, 43388, 43392, 43456, 43471, 43481, 43488, 43518, 43520, 43574, 43584, 43597, 43600, 43609, 43616, 43638, 43642, 43714, 43739, 43741, 43744, 43759, 43762, 43766, 43777, 43782, 43785, 43790, 43793, 43798, 43808, 43814, 43816, 43822, 43824, 43866, 43868, 43881, 43888, 44010, 44012, 44013, 44016, 44025, 44032, 55203, 55216, 55238, 55243, 55291, 63744, 64109, 64112, 64217, 64256, 64262, 64275, 64279, 64285, 64296, 64298, 64310, 64312, 64316, 64318, 64318, 64320, 64321, 64323, 64324, 64326, 64433, 64467, 64829, 64848, 64911, 64914, 64967, 65008, 65019, 65024, 65039, 65056, 65071, 65075, 65076, 65101, 65103, 65136, 65140, 65142, 65276, 65296, 65305, 65313, 65338, 65343, 65343, 65345, 65370, 65381, 65470, 65474, 65479, 65482, 65487, 65490, 65495, 65498, 65500, 65536, 65547, 65549, 65574, 65576, 65594, 65596, 65597, 65599, 65613, 65616, 65629, 65664, 65786, 65856, 65908, 66045, 66045, 66176, 66204, 66208, 66256, 66272, 66272, 66304, 66335, 66349, 66378, 66384, 66426, 66432, 66461, 66464, 66499, 66504, 66511, 66513, 66517, 66560, 66717, 66720, 66729, 66736, 66771, 66776, 66811, 66816, 66855, 66864, 66915, 66928, 66938, 66940, 66954, 66956, 66962, 66964, 66965, 66967, 66977, 66979, 66993, 66995, 67001, 67003, 67004, 67072, 67382, 67392, 67413, 67424, 67431, 67456, 67461, 67463, 67504, 67506, 67514, 67584, 67589, 67592, 67592, 67594, 67637, 67639, 67640, 67644, 67644, 67647, 67669, 67680, 67702, 67712, 67742, 67808, 67826, 67828, 67829, 67840, 67861, 67872, 67897, 67968, 68023, 68030, 68031, 68096, 68099, 68101, 68102, 68108, 68115, 68117, 68119, 68121, 68149, 68152, 68154, 68159, 68159, 68192, 68220, 68224, 68252, 68288, 68295, 68297, 68326, 68352, 68405, 68416, 68437, 68448, 68466, 68480, 68497, 68608, 68680, 68736, 68786, 68800, 68850, 68864, 68903, 68912, 68921, 69248, 69289, 69291, 69292, 69296, 69297, 69373, 69404, 69415, 69415, 69424, 69456, 69488, 69509, 69552, 69572, 69600, 69622, 69632, 69702, 69734, 69749, 69759, 69818, 69826, 69826, 69840, 69864, 69872, 69881, 69888, 69940, 69942, 69951, 69956, 69959, 69968, 70003, 70006, 70006, 70016, 70084, 70089, 70092, 70094, 70106, 70108, 70108, 70144, 70161, 70163, 70199, 70206, 70209, 70272, 70278, 70280, 70280, 70282, 70285, 70287, 70301, 70303, 70312, 70320, 70378, 70384, 70393, 70400, 70403, 70405, 70412, 70415, 70416, 70419, 70440, 70442, 70448, 70450, 70451, 70453, 70457, 70459, 70468, 70471, 70472, 70475, 70477, 70480, 70480, 70487, 70487, 70493, 70499, 70502, 70508, 70512, 70516, 70656, 70730, 70736, 70745, 70750, 70753, 70784, 70853, 70855, 70855, 70864, 70873, 71040, 71093, 71096, 71104, 71128, 71133, 71168, 71232, 71236, 71236, 71248, 71257, 71296, 71352, 71360, 71369, 71424, 71450, 71453, 71467, 71472, 71481, 71488, 71494, 71680, 71738, 71840, 71913, 71935, 71942, 71945, 71945, 71948, 71955, 71957, 71958, 71960, 71989, 71991, 71992, 71995, 72003, 72016, 72025, 72096, 72103, 72106, 72151, 72154, 72161, 72163, 72164, 72192, 72254, 72263, 72263, 72272, 72345, 72349, 72349, 72368, 72440, 72704, 72712, 72714, 72758, 72760, 72768, 72784, 72793, 72818, 72847, 72850, 72871, 72873, 72886, 72960, 72966, 72968, 72969, 72971, 73014, 73018, 73018, 73020, 73021, 73023, 73031, 73040, 73049, 73056, 73061, 73063, 73064, 73066, 73102, 73104, 73105, 73107, 73112, 73120, 73129, 73440, 73462, 73472, 73488, 73490, 73530, 73534, 73538, 73552, 73561, 73648, 73648, 73728, 74649, 74752, 74862, 74880, 75075, 77712, 77808, 77824, 78895, 78912, 78933, 82944, 83526, 92160, 92728, 92736, 92766, 92768, 92777, 92784, 92862, 92864, 92873, 92880, 92909, 92912, 92916, 92928, 92982, 92992, 92995, 93008, 93017, 93027, 93047, 93053, 93071, 93760, 93823, 93952, 94026, 94031, 94087, 94095, 94111, 94176, 94177, 94179, 94180, 94192, 94193, 94208, 100343, 100352, 101589, 101632, 101640, 110576, 110579, 110581, 110587, 110589, 110590, 110592, 110882, 110898, 110898, 110928, 110930, 110933, 110933, 110948, 110951, 110960, 111355, 113664, 113770, 113776, 113788, 113792, 113800, 113808, 113817, 113821, 113822, 118528, 118573, 118576, 118598, 119141, 119145, 119149, 119154, 119163, 119170, 119173, 119179, 119210, 119213, 119362, 119364, 119808, 119892, 119894, 119964, 119966, 119967, 119970, 119970, 119973, 119974, 119977, 119980, 119982, 119993, 119995, 119995, 119997, 120003, 120005, 120069, 120071, 120074, 120077, 120084, 120086, 120092, 120094, 120121, 120123, 120126, 120128, 120132, 120134, 120134, 120138, 120144, 120146, 120485, 120488, 120512, 120514, 120538, 120540, 120570, 120572, 120596, 120598, 120628, 120630, 120654, 120656, 120686, 120688, 120712, 120714, 120744, 120746, 120770, 120772, 120779, 120782, 120831, 121344, 121398, 121403, 121452, 121461, 121461, 121476, 121476, 121499, 121503, 121505, 121519, 122624, 122654, 122661, 122666, 122880, 122886, 122888, 122904, 122907, 122913, 122915, 122916, 122918, 122922, 122928, 122989, 123023, 123023, 123136, 123180, 123184, 123197, 123200, 123209, 123214, 123214, 123536, 123566, 123584, 123641, 124112, 124153, 124896, 124902, 124904, 124907, 124909, 124910, 124912, 124926, 124928, 125124, 125136, 125142, 125184, 125259, 125264, 125273, 126464, 126467, 126469, 126495, 126497, 126498, 126500, 126500, 126503, 126503, 126505, 126514, 126516, 126519, 126521, 126521, 126523, 126523, 126530, 126530, 126535, 126535, 126537, 126537, 126539, 126539, 126541, 126543, 126545, 126546, 126548, 126548, 126551, 126551, 126553, 126553, 126555, 126555, 126557, 126557, 126559, 126559, 126561, 126562, 126564, 126564, 126567, 126570, 126572, 126578, 126580, 126583, 126585, 126588, 126590, 126590, 126592, 126601, 126603, 126619, 126625, 126627, 126629, 126633, 126635, 126651, 130032, 130041, 131072, 173791, 173824, 177977, 177984, 178205, 178208, 183969, 183984, 191456, 191472, 192093, 194560, 195101, 196608, 201546, 201552, 205743, 917760, 917999]; + Qy = /^\/\/\/?\s*@(ts-expect-error|ts-ignore)/; + Ky = /^(?:\/|\*)*\s*@(ts-expect-error|ts-ignore)/; + Zy = /@(?:see|link)/i; + ng = jm2(Lm2); + t32 = jm2(Jm2); + ul5 = 7; + rf2 = /^#!.*/; + ug = String.fromCodePoint ? (e7) => String.fromCodePoint(e7) : lg; + Ed = new Map(Object.entries({ General_Category: "General_Category", gc: "General_Category", Script: "Script", sc: "Script", Script_Extensions: "Script_Extensions", scx: "Script_Extensions" })); + Ad = /* @__PURE__ */ new Set(["ASCII", "ASCII_Hex_Digit", "AHex", "Alphabetic", "Alpha", "Any", "Assigned", "Bidi_Control", "Bidi_C", "Bidi_Mirrored", "Bidi_M", "Case_Ignorable", "CI", "Cased", "Changes_When_Casefolded", "CWCF", "Changes_When_Casemapped", "CWCM", "Changes_When_Lowercased", "CWL", "Changes_When_NFKC_Casefolded", "CWKCF", "Changes_When_Titlecased", "CWT", "Changes_When_Uppercased", "CWU", "Dash", "Default_Ignorable_Code_Point", "DI", "Deprecated", "Dep", "Diacritic", "Dia", "Emoji", "Emoji_Component", "EComp", "Emoji_Modifier", "EMod", "Emoji_Modifier_Base", "EBase", "Emoji_Presentation", "EPres", "Extended_Pictographic", "ExtPict", "Extender", "Ext", "Grapheme_Base", "Gr_Base", "Grapheme_Extend", "Gr_Ext", "Hex_Digit", "Hex", "IDS_Binary_Operator", "IDSB", "IDS_Trinary_Operator", "IDST", "ID_Continue", "IDC", "ID_Start", "IDS", "Ideographic", "Ideo", "Join_Control", "Join_C", "Logical_Order_Exception", "LOE", "Lowercase", "Lower", "Math", "Noncharacter_Code_Point", "NChar", "Pattern_Syntax", "Pat_Syn", "Pattern_White_Space", "Pat_WS", "Quotation_Mark", "QMark", "Radical", "Regional_Indicator", "RI", "Sentence_Terminal", "STerm", "Soft_Dotted", "SD", "Terminal_Punctuation", "Term", "Unified_Ideograph", "UIdeo", "Uppercase", "Upper", "Variation_Selector", "VS", "White_Space", "space", "XID_Continue", "XIDC", "XID_Start", "XIDS"]); + Cd = /* @__PURE__ */ new Set(["Basic_Emoji", "Emoji_Keycap_Sequence", "RGI_Emoji_Modifier_Sequence", "RGI_Emoji_Flag_Sequence", "RGI_Emoji_Tag_Sequence", "RGI_Emoji_ZWJ_Sequence", "RGI_Emoji"]); + Ra4 = { General_Category: /* @__PURE__ */ new Set(["C", "Other", "Cc", "Control", "cntrl", "Cf", "Format", "Cn", "Unassigned", "Co", "Private_Use", "Cs", "Surrogate", "L", "Letter", "LC", "Cased_Letter", "Ll", "Lowercase_Letter", "Lm", "Modifier_Letter", "Lo", "Other_Letter", "Lt", "Titlecase_Letter", "Lu", "Uppercase_Letter", "M", "Mark", "Combining_Mark", "Mc", "Spacing_Mark", "Me", "Enclosing_Mark", "Mn", "Nonspacing_Mark", "N", "Number", "Nd", "Decimal_Number", "digit", "Nl", "Letter_Number", "No", "Other_Number", "P", "Punctuation", "punct", "Pc", "Connector_Punctuation", "Pd", "Dash_Punctuation", "Pe", "Close_Punctuation", "Pf", "Final_Punctuation", "Pi", "Initial_Punctuation", "Po", "Other_Punctuation", "Ps", "Open_Punctuation", "S", "Symbol", "Sc", "Currency_Symbol", "Sk", "Modifier_Symbol", "Sm", "Math_Symbol", "So", "Other_Symbol", "Z", "Separator", "Zl", "Line_Separator", "Zp", "Paragraph_Separator", "Zs", "Space_Separator"]), Script: /* @__PURE__ */ new Set(["Adlm", "Adlam", "Aghb", "Caucasian_Albanian", "Ahom", "Arab", "Arabic", "Armi", "Imperial_Aramaic", "Armn", "Armenian", "Avst", "Avestan", "Bali", "Balinese", "Bamu", "Bamum", "Bass", "Bassa_Vah", "Batk", "Batak", "Beng", "Bengali", "Bhks", "Bhaiksuki", "Bopo", "Bopomofo", "Brah", "Brahmi", "Brai", "Braille", "Bugi", "Buginese", "Buhd", "Buhid", "Cakm", "Chakma", "Cans", "Canadian_Aboriginal", "Cari", "Carian", "Cham", "Cher", "Cherokee", "Chrs", "Chorasmian", "Copt", "Coptic", "Qaac", "Cpmn", "Cypro_Minoan", "Cprt", "Cypriot", "Cyrl", "Cyrillic", "Deva", "Devanagari", "Diak", "Dives_Akuru", "Dogr", "Dogra", "Dsrt", "Deseret", "Dupl", "Duployan", "Egyp", "Egyptian_Hieroglyphs", "Elba", "Elbasan", "Elym", "Elymaic", "Ethi", "Ethiopic", "Geor", "Georgian", "Glag", "Glagolitic", "Gong", "Gunjala_Gondi", "Gonm", "Masaram_Gondi", "Goth", "Gothic", "Gran", "Grantha", "Grek", "Greek", "Gujr", "Gujarati", "Guru", "Gurmukhi", "Hang", "Hangul", "Hani", "Han", "Hano", "Hanunoo", "Hatr", "Hatran", "Hebr", "Hebrew", "Hira", "Hiragana", "Hluw", "Anatolian_Hieroglyphs", "Hmng", "Pahawh_Hmong", "Hmnp", "Nyiakeng_Puachue_Hmong", "Hrkt", "Katakana_Or_Hiragana", "Hung", "Old_Hungarian", "Ital", "Old_Italic", "Java", "Javanese", "Kali", "Kayah_Li", "Kana", "Katakana", "Kawi", "Khar", "Kharoshthi", "Khmr", "Khmer", "Khoj", "Khojki", "Kits", "Khitan_Small_Script", "Knda", "Kannada", "Kthi", "Kaithi", "Lana", "Tai_Tham", "Laoo", "Lao", "Latn", "Latin", "Lepc", "Lepcha", "Limb", "Limbu", "Lina", "Linear_A", "Linb", "Linear_B", "Lisu", "Lyci", "Lycian", "Lydi", "Lydian", "Mahj", "Mahajani", "Maka", "Makasar", "Mand", "Mandaic", "Mani", "Manichaean", "Marc", "Marchen", "Medf", "Medefaidrin", "Mend", "Mende_Kikakui", "Merc", "Meroitic_Cursive", "Mero", "Meroitic_Hieroglyphs", "Mlym", "Malayalam", "Modi", "Mong", "Mongolian", "Mroo", "Mro", "Mtei", "Meetei_Mayek", "Mult", "Multani", "Mymr", "Myanmar", "Nagm", "Nag_Mundari", "Nand", "Nandinagari", "Narb", "Old_North_Arabian", "Nbat", "Nabataean", "Newa", "Nkoo", "Nko", "Nshu", "Nushu", "Ogam", "Ogham", "Olck", "Ol_Chiki", "Orkh", "Old_Turkic", "Orya", "Oriya", "Osge", "Osage", "Osma", "Osmanya", "Ougr", "Old_Uyghur", "Palm", "Palmyrene", "Pauc", "Pau_Cin_Hau", "Perm", "Old_Permic", "Phag", "Phags_Pa", "Phli", "Inscriptional_Pahlavi", "Phlp", "Psalter_Pahlavi", "Phnx", "Phoenician", "Plrd", "Miao", "Prti", "Inscriptional_Parthian", "Rjng", "Rejang", "Rohg", "Hanifi_Rohingya", "Runr", "Runic", "Samr", "Samaritan", "Sarb", "Old_South_Arabian", "Saur", "Saurashtra", "Sgnw", "SignWriting", "Shaw", "Shavian", "Shrd", "Sharada", "Sidd", "Siddham", "Sind", "Khudawadi", "Sinh", "Sinhala", "Sogd", "Sogdian", "Sogo", "Old_Sogdian", "Sora", "Sora_Sompeng", "Soyo", "Soyombo", "Sund", "Sundanese", "Sylo", "Syloti_Nagri", "Syrc", "Syriac", "Tagb", "Tagbanwa", "Takr", "Takri", "Tale", "Tai_Le", "Talu", "New_Tai_Lue", "Taml", "Tamil", "Tang", "Tangut", "Tavt", "Tai_Viet", "Telu", "Telugu", "Tfng", "Tifinagh", "Tglg", "Tagalog", "Thaa", "Thaana", "Thai", "Tibt", "Tibetan", "Tirh", "Tirhuta", "Tnsa", "Tangsa", "Toto", "Ugar", "Ugaritic", "Vaii", "Vai", "Vith", "Vithkuqi", "Wara", "Warang_Citi", "Wcho", "Wancho", "Xpeo", "Old_Persian", "Xsux", "Cuneiform", "Yezi", "Yezidi", "Yiii", "Yi", "Zanb", "Zanabazar_Square", "Zinh", "Inherited", "Qaai", "Zyyy", "Common", "Zzzz", "Unknown"]), Script_Extensions: void 0 }; + Ra4.Script_Extensions = Ra4.Script; + n3 = Ym2(_f3(0, 0), 0); + r32 = i22(); + i3 = new Map(Object.entries({ " ": "\\t", "\v": "\\v", "\f": "\\f", "\b": "\\b", "\r": "\\r", "\n": "\\n", "\\": "\\\\", '"': '\\"', "'": "\\'", "`": "\\`", "\u2028": "\\u2028", "\u2029": "\\u2029", "\x85": "\\u0085", "\r\n": "\\r\\n" })); + a32 = new Map(Object.entries({ '"': """, "'": "'" })); + Et12 = { getNodeConstructor: () => Ep2, getTokenConstructor: () => rb, getIdentifierConstructor: () => ib, getPrivateIdentifierConstructor: () => Ep2, getSourceFileConstructor: () => Ep2, getSymbolConstructor: () => eb, getTypeConstructor: () => tb, getSignatureConstructor: () => nb, getSourceMapSourceConstructor: () => ab }; + sb = []; + it9 = { allowImportingTsExtensions: { dependencies: ["rewriteRelativeImportExtensions"], computeValue: (e7) => !!(e7.allowImportingTsExtensions || e7.rewriteRelativeImportExtensions) }, target: { dependencies: ["module"], computeValue: (e7) => (e7.target === 0 ? void 0 : e7.target) ?? (e7.module === 100 && 9 || e7.module === 101 && 9 || e7.module === 102 && 10 || e7.module === 199 && 99 || 1) }, module: { dependencies: ["target"], computeValue: (e7) => typeof e7.module == "number" ? e7.module : it9.target.computeValue(e7) >= 2 ? 5 : 1 }, moduleResolution: { dependencies: ["module", "target"], computeValue: (e7) => { + let t26 = e7.moduleResolution; + if (t26 === void 0) switch (it9.module.computeValue(e7)) { + case 1: + t26 = 2; + break; + case 100: + case 101: + case 102: + t26 = 3; + break; + case 199: + t26 = 99; + break; + case 200: + t26 = 100; + break; + default: + t26 = 1; + break; + } + return t26; + } }, moduleDetection: { dependencies: ["module", "target"], computeValue: (e7) => { + if (e7.moduleDetection !== void 0) return e7.moduleDetection; + let t26 = it9.module.computeValue(e7); + return 100 <= t26 && t26 <= 199 ? 3 : 2; + } }, isolatedModules: { dependencies: ["verbatimModuleSyntax"], computeValue: (e7) => !!(e7.isolatedModules || e7.verbatimModuleSyntax) }, esModuleInterop: { dependencies: ["module", "target"], computeValue: (e7) => { + if (e7.esModuleInterop !== void 0) return e7.esModuleInterop; + switch (it9.module.computeValue(e7)) { + case 100: + case 101: + case 102: + case 199: + case 200: + return true; + } + return false; + } }, allowSyntheticDefaultImports: { dependencies: ["module", "target", "moduleResolution"], computeValue: (e7) => e7.allowSyntheticDefaultImports !== void 0 ? e7.allowSyntheticDefaultImports : it9.esModuleInterop.computeValue(e7) || it9.module.computeValue(e7) === 4 || it9.moduleResolution.computeValue(e7) === 100 }, resolvePackageJsonExports: { dependencies: ["moduleResolution"], computeValue: (e7) => { + let t26 = it9.moduleResolution.computeValue(e7); + if (!Bd(t26)) return false; + if (e7.resolvePackageJsonExports !== void 0) return e7.resolvePackageJsonExports; + switch (t26) { + case 3: + case 99: + case 100: + return true; + } + return false; + } }, resolvePackageJsonImports: { dependencies: ["moduleResolution", "resolvePackageJsonExports"], computeValue: (e7) => { + let t26 = it9.moduleResolution.computeValue(e7); + if (!Bd(t26)) return false; + if (e7.resolvePackageJsonImports !== void 0) return e7.resolvePackageJsonImports; + switch (t26) { + case 3: + case 99: + case 100: + return true; + } + return false; + } }, resolveJsonModule: { dependencies: ["moduleResolution", "module", "target"], computeValue: (e7) => { + if (e7.resolveJsonModule !== void 0) return e7.resolveJsonModule; + switch (it9.module.computeValue(e7)) { + case 102: + case 199: + return true; + } + return it9.moduleResolution.computeValue(e7) === 100; + } }, declaration: { dependencies: ["composite"], computeValue: (e7) => !!(e7.declaration || e7.composite) }, preserveConstEnums: { dependencies: ["isolatedModules", "verbatimModuleSyntax"], computeValue: (e7) => !!(e7.preserveConstEnums || it9.isolatedModules.computeValue(e7)) }, incremental: { dependencies: ["composite"], computeValue: (e7) => !!(e7.incremental || e7.composite) }, declarationMap: { dependencies: ["declaration", "composite"], computeValue: (e7) => !!(e7.declarationMap && it9.declaration.computeValue(e7)) }, allowJs: { dependencies: ["checkJs"], computeValue: (e7) => e7.allowJs === void 0 ? !!e7.checkJs : e7.allowJs }, useDefineForClassFields: { dependencies: ["target", "module"], computeValue: (e7) => e7.useDefineForClassFields === void 0 ? it9.target.computeValue(e7) >= 9 : e7.useDefineForClassFields }, noImplicitAny: { dependencies: ["strict"], computeValue: (e7) => Gr8(e7, "noImplicitAny") }, noImplicitThis: { dependencies: ["strict"], computeValue: (e7) => Gr8(e7, "noImplicitThis") }, strictNullChecks: { dependencies: ["strict"], computeValue: (e7) => Gr8(e7, "strictNullChecks") }, strictFunctionTypes: { dependencies: ["strict"], computeValue: (e7) => Gr8(e7, "strictFunctionTypes") }, strictBindCallApply: { dependencies: ["strict"], computeValue: (e7) => Gr8(e7, "strictBindCallApply") }, strictPropertyInitialization: { dependencies: ["strict"], computeValue: (e7) => Gr8(e7, "strictPropertyInitialization") }, strictBuiltinIteratorReturn: { dependencies: ["strict"], computeValue: (e7) => Gr8(e7, "strictBuiltinIteratorReturn") }, alwaysStrict: { dependencies: ["strict"], computeValue: (e7) => Gr8(e7, "alwaysStrict") }, useUnknownInCatchVariables: { dependencies: ["strict"], computeValue: (e7) => Gr8(e7, "useUnknownInCatchVariables") } }; + s3 = it9.allowImportingTsExtensions.computeValue; + _32 = it9.target.computeValue; + o3 = it9.module.computeValue; + c32 = it9.moduleResolution.computeValue; + l32 = it9.moduleDetection.computeValue; + u3 = it9.isolatedModules.computeValue; + p3 = it9.esModuleInterop.computeValue; + f32 = it9.allowSyntheticDefaultImports.computeValue; + d3 = it9.resolvePackageJsonExports.computeValue; + m32 = it9.resolvePackageJsonImports.computeValue; + h32 = it9.resolveJsonModule.computeValue; + y32 = it9.declaration.computeValue; + g32 = it9.preserveConstEnums.computeValue; + b32 = it9.incremental.computeValue; + v32 = it9.declarationMap.computeValue; + T32 = it9.allowJs.computeValue; + x32 = it9.useDefineForClassFields.computeValue; + pb = ["node_modules", "bower_components", "jspm_packages"]; + x1 = `(?!(?:${pb.join("|")})(?:/|$))`; + fb = { singleAsteriskRegexFragment: "(?:[^./]|(?:\\.(?!min\\.js$))?)*", doubleAsteriskRegexFragment: `(?:/${x1}[^/.][^/]*)*?`, replaceWildcardCharacter: (e7) => S1(e7, fb.singleAsteriskRegexFragment) }; + db = { singleAsteriskRegexFragment: "[^/]*", doubleAsteriskRegexFragment: `(?:/${x1}[^/.][^/]*)*?`, replaceWildcardCharacter: (e7) => S1(e7, db.singleAsteriskRegexFragment) }; + w1 = [[".ts", ".tsx", ".d.ts"], [".cts", ".d.cts"], [".mts", ".d.mts"]]; + S32 = vm2(w1); + w32 = [...w1, [".json"]]; + yb = [[".js", ".jsx"], [".mjs"], [".cjs"]]; + k32 = vm2(yb); + gb = [[".ts", ".tsx", ".d.ts", ".js", ".jsx"], [".cts", ".d.cts", ".cjs"], [".mts", ".d.mts", ".mjs"]]; + E32 = [...gb, [".json"]]; + bb = [".d.ts", ".d.cts", ".d.mts"]; + A32 = String.prototype.replace; + qp2 = ["assert", "assert/strict", "async_hooks", "buffer", "child_process", "cluster", "console", "constants", "crypto", "dgram", "diagnostics_channel", "dns", "dns/promises", "domain", "events", "fs", "fs/promises", "http", "http2", "https", "inspector", "inspector/promises", "module", "net", "os", "path", "path/posix", "path/win32", "perf_hooks", "process", "punycode", "querystring", "readline", "readline/promises", "repl", "stream", "stream/consumers", "stream/promises", "stream/web", "string_decoder", "sys", "test/mock_loader", "timers", "timers/promises", "tls", "trace_events", "tty", "url", "util", "util/types", "v8", "vm", "wasi", "worker_threads", "zlib"]; + C32 = new Set(qp2); + Ab = /* @__PURE__ */ new Set(["node:sea", "node:sqlite", "node:test", "node:test/reporters"]); + D32 = /* @__PURE__ */ new Set([...qp2, ...qp2.map((e7) => `node:${e7}`), ...Ab]); + Db = { getParenthesizeLeftSideOfBinaryForOperator: (e7) => bt12, getParenthesizeRightSideOfBinaryForOperator: (e7) => bt12, parenthesizeLeftSideOfBinary: (e7, t26) => t26, parenthesizeRightSideOfBinary: (e7, t26, a5) => a5, parenthesizeExpressionOfComputedPropertyName: bt12, parenthesizeConditionOfConditionalExpression: bt12, parenthesizeBranchOfConditionalExpression: bt12, parenthesizeExpressionOfExportDefault: bt12, parenthesizeExpressionOfNew: (e7) => Er6(e7, Fa6), parenthesizeLeftSideOfAccess: (e7) => Er6(e7, Fa6), parenthesizeOperandOfPostfixUnary: (e7) => Er6(e7, Fa6), parenthesizeOperandOfPrefixUnary: (e7) => Er6(e7, Hg), parenthesizeExpressionsOfCommaDelimitedList: (e7) => Er6(e7, mi10), parenthesizeExpressionForDisallowedComma: bt12, parenthesizeExpressionOfExpressionStatement: bt12, parenthesizeConciseBodyOfArrowFunction: bt12, parenthesizeCheckTypeOfConditionalType: bt12, parenthesizeExtendsTypeOfConditionalType: bt12, parenthesizeConstituentTypesOfUnionType: (e7) => Er6(e7, mi10), parenthesizeConstituentTypeOfUnionType: bt12, parenthesizeConstituentTypesOfIntersectionType: (e7) => Er6(e7, mi10), parenthesizeConstituentTypeOfIntersectionType: bt12, parenthesizeOperandOfTypeOperator: bt12, parenthesizeOperandOfReadonlyTypeOperator: bt12, parenthesizeNonArrayTypeOfPostfixType: bt12, parenthesizeElementTypesOfTupleType: (e7) => Er6(e7, mi10), parenthesizeElementTypeOfTupleType: bt12, parenthesizeTypeOfOptionalType: bt12, parenthesizeTypeArguments: (e7) => e7 && Er6(e7, mi10), parenthesizeLeadingTypeArgument: bt12 }; + _l5 = 0; + Pb = []; + Fd = {}; + Ks7 = Cb(); + Mb = { createBaseSourceFileNode: (e7) => Zs10(Ks7.createBaseSourceFileNode(e7)), createBaseIdentifierNode: (e7) => Zs10(Ks7.createBaseIdentifierNode(e7)), createBasePrivateIdentifierNode: (e7) => Zs10(Ks7.createBasePrivateIdentifierNode(e7)), createBaseTokenNode: (e7) => Zs10(Ks7.createBaseTokenNode(e7)), createBaseNode: (e7) => Zs10(Ks7.createBaseNode(e7)) }; + P32 = wf2(4, Mb); + ea5 = /* @__PURE__ */ new WeakMap(); + ((e7) => { + function t26(y10, G11, E7, D7, R10, ue11, be10) { + let he11 = G11 > 0 ? R10[G11 - 1] : void 0; + return q10.assertEqual(E7[G11], t26), R10[G11] = y10.onEnter(D7[G11], he11, be10), E7[G11] = k8(y10, t26), G11; + } + e7.enter = t26; + function a5(y10, G11, E7, D7, R10, ue11, be10) { + q10.assertEqual(E7[G11], a5), q10.assertIsDefined(y10.onLeft), E7[G11] = k8(y10, a5); + let he11 = y10.onLeft(D7[G11].left, R10[G11], D7[G11]); + return he11 ? (W10(G11, D7, he11), c7(G11, E7, D7, R10, he11)) : G11; + } + e7.left = a5; + function _9(y10, G11, E7, D7, R10, ue11, be10) { + return q10.assertEqual(E7[G11], _9), q10.assertIsDefined(y10.onOperator), E7[G11] = k8(y10, _9), y10.onOperator(D7[G11].operatorToken, R10[G11], D7[G11]), G11; + } + e7.operator = _9; + function f7(y10, G11, E7, D7, R10, ue11, be10) { + q10.assertEqual(E7[G11], f7), q10.assertIsDefined(y10.onRight), E7[G11] = k8(y10, f7); + let he11 = y10.onRight(D7[G11].right, R10[G11], D7[G11]); + return he11 ? (W10(G11, D7, he11), c7(G11, E7, D7, R10, he11)) : G11; + } + e7.right = f7; + function h5(y10, G11, E7, D7, R10, ue11, be10) { + q10.assertEqual(E7[G11], h5), E7[G11] = k8(y10, h5); + let he11 = y10.onExit(D7[G11], R10[G11]); + if (G11 > 0) { + if (G11--, y10.foldState) { + let de11 = E7[G11] === h5 ? "right" : "left"; + R10[G11] = y10.foldState(R10[G11], he11, de11); + } + } else ue11.value = he11; + return G11; + } + e7.exit = h5; + function T7(y10, G11, E7, D7, R10, ue11, be10) { + return q10.assertEqual(E7[G11], T7), G11; + } + e7.done = T7; + function k8(y10, G11) { + switch (G11) { + case t26: + if (y10.onLeft) return a5; + case a5: + if (y10.onOperator) return _9; + case _9: + if (y10.onRight) return f7; + case f7: + return h5; + case h5: + return T7; + case T7: + return T7; + default: + q10.fail("Invalid state"); + } + } + e7.nextState = k8; + function c7(y10, G11, E7, D7, R10) { + return y10++, G11[y10] = t26, E7[y10] = R10, D7[y10] = void 0, y10; + } + function W10(y10, G11, E7) { + if (q10.shouldAssert(2)) for (; y10 >= 0; ) q10.assert(G11[y10] !== E7, "Circular traversal detected."), y10--; + } + })(Xd || (Xd = {})); + k62 = { createBaseSourceFileNode: (e7) => new (tm2 || (tm2 = Et12.getSourceFileConstructor()))(e7, -1, -1), createBaseIdentifierNode: (e7) => new (Zd || (Zd = Et12.getIdentifierConstructor()))(e7, -1, -1), createBasePrivateIdentifierNode: (e7) => new (em2 || (em2 = Et12.getPrivateIdentifierConstructor()))(e7, -1, -1), createBaseTokenNode: (e7) => new (Kd || (Kd = Et12.getTokenConstructor()))(e7, -1, -1), createBaseNode: (e7) => new (Qd || (Qd = Et12.getNodeConstructor()))(e7, -1, -1) }; + N32 = wf2(1, k62); + I62 = { 167: function(t26, a5, _9) { + return S5(a5, t26.left) || S5(a5, t26.right); + }, 169: function(t26, a5, _9) { + return ie10(a5, _9, t26.modifiers) || S5(a5, t26.name) || S5(a5, t26.constraint) || S5(a5, t26.default) || S5(a5, t26.expression); + }, 305: function(t26, a5, _9) { + return ie10(a5, _9, t26.modifiers) || S5(a5, t26.name) || S5(a5, t26.questionToken) || S5(a5, t26.exclamationToken) || S5(a5, t26.equalsToken) || S5(a5, t26.objectAssignmentInitializer); + }, 306: function(t26, a5, _9) { + return S5(a5, t26.expression); + }, 170: function(t26, a5, _9) { + return ie10(a5, _9, t26.modifiers) || S5(a5, t26.dotDotDotToken) || S5(a5, t26.name) || S5(a5, t26.questionToken) || S5(a5, t26.type) || S5(a5, t26.initializer); + }, 173: function(t26, a5, _9) { + return ie10(a5, _9, t26.modifiers) || S5(a5, t26.name) || S5(a5, t26.questionToken) || S5(a5, t26.exclamationToken) || S5(a5, t26.type) || S5(a5, t26.initializer); + }, 172: function(t26, a5, _9) { + return ie10(a5, _9, t26.modifiers) || S5(a5, t26.name) || S5(a5, t26.questionToken) || S5(a5, t26.type) || S5(a5, t26.initializer); + }, 304: function(t26, a5, _9) { + return ie10(a5, _9, t26.modifiers) || S5(a5, t26.name) || S5(a5, t26.questionToken) || S5(a5, t26.exclamationToken) || S5(a5, t26.initializer); + }, 261: function(t26, a5, _9) { + return S5(a5, t26.name) || S5(a5, t26.exclamationToken) || S5(a5, t26.type) || S5(a5, t26.initializer); + }, 209: function(t26, a5, _9) { + return S5(a5, t26.dotDotDotToken) || S5(a5, t26.propertyName) || S5(a5, t26.name) || S5(a5, t26.initializer); + }, 182: function(t26, a5, _9) { + return ie10(a5, _9, t26.modifiers) || ie10(a5, _9, t26.typeParameters) || ie10(a5, _9, t26.parameters) || S5(a5, t26.type); + }, 186: function(t26, a5, _9) { + return ie10(a5, _9, t26.modifiers) || ie10(a5, _9, t26.typeParameters) || ie10(a5, _9, t26.parameters) || S5(a5, t26.type); + }, 185: function(t26, a5, _9) { + return ie10(a5, _9, t26.modifiers) || ie10(a5, _9, t26.typeParameters) || ie10(a5, _9, t26.parameters) || S5(a5, t26.type); + }, 180: nm2, 181: nm2, 175: function(t26, a5, _9) { + return ie10(a5, _9, t26.modifiers) || S5(a5, t26.asteriskToken) || S5(a5, t26.name) || S5(a5, t26.questionToken) || S5(a5, t26.exclamationToken) || ie10(a5, _9, t26.typeParameters) || ie10(a5, _9, t26.parameters) || S5(a5, t26.type) || S5(a5, t26.body); + }, 174: function(t26, a5, _9) { + return ie10(a5, _9, t26.modifiers) || S5(a5, t26.name) || S5(a5, t26.questionToken) || ie10(a5, _9, t26.typeParameters) || ie10(a5, _9, t26.parameters) || S5(a5, t26.type); + }, 177: function(t26, a5, _9) { + return ie10(a5, _9, t26.modifiers) || S5(a5, t26.name) || ie10(a5, _9, t26.typeParameters) || ie10(a5, _9, t26.parameters) || S5(a5, t26.type) || S5(a5, t26.body); + }, 178: function(t26, a5, _9) { + return ie10(a5, _9, t26.modifiers) || S5(a5, t26.name) || ie10(a5, _9, t26.typeParameters) || ie10(a5, _9, t26.parameters) || S5(a5, t26.type) || S5(a5, t26.body); + }, 179: function(t26, a5, _9) { + return ie10(a5, _9, t26.modifiers) || S5(a5, t26.name) || ie10(a5, _9, t26.typeParameters) || ie10(a5, _9, t26.parameters) || S5(a5, t26.type) || S5(a5, t26.body); + }, 263: function(t26, a5, _9) { + return ie10(a5, _9, t26.modifiers) || S5(a5, t26.asteriskToken) || S5(a5, t26.name) || ie10(a5, _9, t26.typeParameters) || ie10(a5, _9, t26.parameters) || S5(a5, t26.type) || S5(a5, t26.body); + }, 219: function(t26, a5, _9) { + return ie10(a5, _9, t26.modifiers) || S5(a5, t26.asteriskToken) || S5(a5, t26.name) || ie10(a5, _9, t26.typeParameters) || ie10(a5, _9, t26.parameters) || S5(a5, t26.type) || S5(a5, t26.body); + }, 220: function(t26, a5, _9) { + return ie10(a5, _9, t26.modifiers) || ie10(a5, _9, t26.typeParameters) || ie10(a5, _9, t26.parameters) || S5(a5, t26.type) || S5(a5, t26.equalsGreaterThanToken) || S5(a5, t26.body); + }, 176: function(t26, a5, _9) { + return ie10(a5, _9, t26.modifiers) || S5(a5, t26.body); + }, 184: function(t26, a5, _9) { + return S5(a5, t26.typeName) || ie10(a5, _9, t26.typeArguments); + }, 183: function(t26, a5, _9) { + return S5(a5, t26.assertsModifier) || S5(a5, t26.parameterName) || S5(a5, t26.type); + }, 187: function(t26, a5, _9) { + return S5(a5, t26.exprName) || ie10(a5, _9, t26.typeArguments); + }, 188: function(t26, a5, _9) { + return ie10(a5, _9, t26.members); + }, 189: function(t26, a5, _9) { + return S5(a5, t26.elementType); + }, 190: function(t26, a5, _9) { + return ie10(a5, _9, t26.elements); + }, 193: rm3, 194: rm3, 195: function(t26, a5, _9) { + return S5(a5, t26.checkType) || S5(a5, t26.extendsType) || S5(a5, t26.trueType) || S5(a5, t26.falseType); + }, 196: function(t26, a5, _9) { + return S5(a5, t26.typeParameter); + }, 206: function(t26, a5, _9) { + return S5(a5, t26.argument) || S5(a5, t26.attributes) || S5(a5, t26.qualifier) || ie10(a5, _9, t26.typeArguments); + }, 303: function(t26, a5, _9) { + return S5(a5, t26.assertClause); + }, 197: im2, 199: im2, 200: function(t26, a5, _9) { + return S5(a5, t26.objectType) || S5(a5, t26.indexType); + }, 201: function(t26, a5, _9) { + return S5(a5, t26.readonlyToken) || S5(a5, t26.typeParameter) || S5(a5, t26.nameType) || S5(a5, t26.questionToken) || S5(a5, t26.type) || ie10(a5, _9, t26.members); + }, 202: function(t26, a5, _9) { + return S5(a5, t26.literal); + }, 203: function(t26, a5, _9) { + return S5(a5, t26.dotDotDotToken) || S5(a5, t26.name) || S5(a5, t26.questionToken) || S5(a5, t26.type); + }, 207: am2, 208: am2, 210: function(t26, a5, _9) { + return ie10(a5, _9, t26.elements); + }, 211: function(t26, a5, _9) { + return ie10(a5, _9, t26.properties); + }, 212: function(t26, a5, _9) { + return S5(a5, t26.expression) || S5(a5, t26.questionDotToken) || S5(a5, t26.name); + }, 213: function(t26, a5, _9) { + return S5(a5, t26.expression) || S5(a5, t26.questionDotToken) || S5(a5, t26.argumentExpression); + }, 214: sm2, 215: sm2, 216: function(t26, a5, _9) { + return S5(a5, t26.tag) || S5(a5, t26.questionDotToken) || ie10(a5, _9, t26.typeArguments) || S5(a5, t26.template); + }, 217: function(t26, a5, _9) { + return S5(a5, t26.type) || S5(a5, t26.expression); + }, 218: function(t26, a5, _9) { + return S5(a5, t26.expression); + }, 221: function(t26, a5, _9) { + return S5(a5, t26.expression); + }, 222: function(t26, a5, _9) { + return S5(a5, t26.expression); + }, 223: function(t26, a5, _9) { + return S5(a5, t26.expression); + }, 225: function(t26, a5, _9) { + return S5(a5, t26.operand); + }, 230: function(t26, a5, _9) { + return S5(a5, t26.asteriskToken) || S5(a5, t26.expression); + }, 224: function(t26, a5, _9) { + return S5(a5, t26.expression); + }, 226: function(t26, a5, _9) { + return S5(a5, t26.operand); + }, 227: function(t26, a5, _9) { + return S5(a5, t26.left) || S5(a5, t26.operatorToken) || S5(a5, t26.right); + }, 235: function(t26, a5, _9) { + return S5(a5, t26.expression) || S5(a5, t26.type); + }, 236: function(t26, a5, _9) { + return S5(a5, t26.expression); + }, 239: function(t26, a5, _9) { + return S5(a5, t26.expression) || S5(a5, t26.type); + }, 237: function(t26, a5, _9) { + return S5(a5, t26.name); + }, 228: function(t26, a5, _9) { + return S5(a5, t26.condition) || S5(a5, t26.questionToken) || S5(a5, t26.whenTrue) || S5(a5, t26.colonToken) || S5(a5, t26.whenFalse); + }, 231: function(t26, a5, _9) { + return S5(a5, t26.expression); + }, 242: _m2, 269: _m2, 308: function(t26, a5, _9) { + return ie10(a5, _9, t26.statements) || S5(a5, t26.endOfFileToken); + }, 244: function(t26, a5, _9) { + return ie10(a5, _9, t26.modifiers) || S5(a5, t26.declarationList); + }, 262: function(t26, a5, _9) { + return ie10(a5, _9, t26.declarations); + }, 245: function(t26, a5, _9) { + return S5(a5, t26.expression); + }, 246: function(t26, a5, _9) { + return S5(a5, t26.expression) || S5(a5, t26.thenStatement) || S5(a5, t26.elseStatement); + }, 247: function(t26, a5, _9) { + return S5(a5, t26.statement) || S5(a5, t26.expression); + }, 248: function(t26, a5, _9) { + return S5(a5, t26.expression) || S5(a5, t26.statement); + }, 249: function(t26, a5, _9) { + return S5(a5, t26.initializer) || S5(a5, t26.condition) || S5(a5, t26.incrementor) || S5(a5, t26.statement); + }, 250: function(t26, a5, _9) { + return S5(a5, t26.initializer) || S5(a5, t26.expression) || S5(a5, t26.statement); + }, 251: function(t26, a5, _9) { + return S5(a5, t26.awaitModifier) || S5(a5, t26.initializer) || S5(a5, t26.expression) || S5(a5, t26.statement); + }, 252: om2, 253: om2, 254: function(t26, a5, _9) { + return S5(a5, t26.expression); + }, 255: function(t26, a5, _9) { + return S5(a5, t26.expression) || S5(a5, t26.statement); + }, 256: function(t26, a5, _9) { + return S5(a5, t26.expression) || S5(a5, t26.caseBlock); + }, 270: function(t26, a5, _9) { + return ie10(a5, _9, t26.clauses); + }, 297: function(t26, a5, _9) { + return S5(a5, t26.expression) || ie10(a5, _9, t26.statements); + }, 298: function(t26, a5, _9) { + return ie10(a5, _9, t26.statements); + }, 257: function(t26, a5, _9) { + return S5(a5, t26.label) || S5(a5, t26.statement); + }, 258: function(t26, a5, _9) { + return S5(a5, t26.expression); + }, 259: function(t26, a5, _9) { + return S5(a5, t26.tryBlock) || S5(a5, t26.catchClause) || S5(a5, t26.finallyBlock); + }, 300: function(t26, a5, _9) { + return S5(a5, t26.variableDeclaration) || S5(a5, t26.block); + }, 171: function(t26, a5, _9) { + return S5(a5, t26.expression); + }, 264: cm2, 232: cm2, 265: function(t26, a5, _9) { + return ie10(a5, _9, t26.modifiers) || S5(a5, t26.name) || ie10(a5, _9, t26.typeParameters) || ie10(a5, _9, t26.heritageClauses) || ie10(a5, _9, t26.members); + }, 266: function(t26, a5, _9) { + return ie10(a5, _9, t26.modifiers) || S5(a5, t26.name) || ie10(a5, _9, t26.typeParameters) || S5(a5, t26.type); + }, 267: function(t26, a5, _9) { + return ie10(a5, _9, t26.modifiers) || S5(a5, t26.name) || ie10(a5, _9, t26.members); + }, 307: function(t26, a5, _9) { + return S5(a5, t26.name) || S5(a5, t26.initializer); + }, 268: function(t26, a5, _9) { + return ie10(a5, _9, t26.modifiers) || S5(a5, t26.name) || S5(a5, t26.body); + }, 272: function(t26, a5, _9) { + return ie10(a5, _9, t26.modifiers) || S5(a5, t26.name) || S5(a5, t26.moduleReference); + }, 273: function(t26, a5, _9) { + return ie10(a5, _9, t26.modifiers) || S5(a5, t26.importClause) || S5(a5, t26.moduleSpecifier) || S5(a5, t26.attributes); + }, 274: function(t26, a5, _9) { + return S5(a5, t26.name) || S5(a5, t26.namedBindings); + }, 301: function(t26, a5, _9) { + return ie10(a5, _9, t26.elements); + }, 302: function(t26, a5, _9) { + return S5(a5, t26.name) || S5(a5, t26.value); + }, 271: function(t26, a5, _9) { + return ie10(a5, _9, t26.modifiers) || S5(a5, t26.name); + }, 275: function(t26, a5, _9) { + return S5(a5, t26.name); + }, 281: function(t26, a5, _9) { + return S5(a5, t26.name); + }, 276: lm2, 280: lm2, 279: function(t26, a5, _9) { + return ie10(a5, _9, t26.modifiers) || S5(a5, t26.exportClause) || S5(a5, t26.moduleSpecifier) || S5(a5, t26.attributes); + }, 277: um2, 282: um2, 278: function(t26, a5, _9) { + return ie10(a5, _9, t26.modifiers) || S5(a5, t26.expression); + }, 229: function(t26, a5, _9) { + return S5(a5, t26.head) || ie10(a5, _9, t26.templateSpans); + }, 240: function(t26, a5, _9) { + return S5(a5, t26.expression) || S5(a5, t26.literal); + }, 204: function(t26, a5, _9) { + return S5(a5, t26.head) || ie10(a5, _9, t26.templateSpans); + }, 205: function(t26, a5, _9) { + return S5(a5, t26.type) || S5(a5, t26.literal); + }, 168: function(t26, a5, _9) { + return S5(a5, t26.expression); + }, 299: function(t26, a5, _9) { + return ie10(a5, _9, t26.types); + }, 234: function(t26, a5, _9) { + return S5(a5, t26.expression) || ie10(a5, _9, t26.typeArguments); + }, 284: function(t26, a5, _9) { + return S5(a5, t26.expression); + }, 283: function(t26, a5, _9) { + return ie10(a5, _9, t26.modifiers); + }, 357: function(t26, a5, _9) { + return ie10(a5, _9, t26.elements); + }, 285: function(t26, a5, _9) { + return S5(a5, t26.openingElement) || ie10(a5, _9, t26.children) || S5(a5, t26.closingElement); + }, 289: function(t26, a5, _9) { + return S5(a5, t26.openingFragment) || ie10(a5, _9, t26.children) || S5(a5, t26.closingFragment); + }, 286: pm2, 287: pm2, 293: function(t26, a5, _9) { + return ie10(a5, _9, t26.properties); + }, 292: function(t26, a5, _9) { + return S5(a5, t26.name) || S5(a5, t26.initializer); + }, 294: function(t26, a5, _9) { + return S5(a5, t26.expression); + }, 295: function(t26, a5, _9) { + return S5(a5, t26.dotDotDotToken) || S5(a5, t26.expression); + }, 288: function(t26, a5, _9) { + return S5(a5, t26.tagName); + }, 296: function(t26, a5, _9) { + return S5(a5, t26.namespace) || S5(a5, t26.name); + }, 191: Hi9, 192: Hi9, 310: Hi9, 316: Hi9, 315: Hi9, 317: Hi9, 319: Hi9, 318: function(t26, a5, _9) { + return ie10(a5, _9, t26.parameters) || S5(a5, t26.type); + }, 321: function(t26, a5, _9) { + return (typeof t26.comment == "string" ? void 0 : ie10(a5, _9, t26.comment)) || ie10(a5, _9, t26.tags); + }, 348: function(t26, a5, _9) { + return S5(a5, t26.tagName) || S5(a5, t26.name) || (typeof t26.comment == "string" ? void 0 : ie10(a5, _9, t26.comment)); + }, 311: function(t26, a5, _9) { + return S5(a5, t26.name); + }, 312: function(t26, a5, _9) { + return S5(a5, t26.left) || S5(a5, t26.right); + }, 342: fm2, 349: fm2, 331: function(t26, a5, _9) { + return S5(a5, t26.tagName) || (typeof t26.comment == "string" ? void 0 : ie10(a5, _9, t26.comment)); + }, 330: function(t26, a5, _9) { + return S5(a5, t26.tagName) || S5(a5, t26.class) || (typeof t26.comment == "string" ? void 0 : ie10(a5, _9, t26.comment)); + }, 329: function(t26, a5, _9) { + return S5(a5, t26.tagName) || S5(a5, t26.class) || (typeof t26.comment == "string" ? void 0 : ie10(a5, _9, t26.comment)); + }, 346: function(t26, a5, _9) { + return S5(a5, t26.tagName) || S5(a5, t26.constraint) || ie10(a5, _9, t26.typeParameters) || (typeof t26.comment == "string" ? void 0 : ie10(a5, _9, t26.comment)); + }, 347: function(t26, a5, _9) { + return S5(a5, t26.tagName) || (t26.typeExpression && t26.typeExpression.kind === 310 ? S5(a5, t26.typeExpression) || S5(a5, t26.fullName) || (typeof t26.comment == "string" ? void 0 : ie10(a5, _9, t26.comment)) : S5(a5, t26.fullName) || S5(a5, t26.typeExpression) || (typeof t26.comment == "string" ? void 0 : ie10(a5, _9, t26.comment))); + }, 339: function(t26, a5, _9) { + return S5(a5, t26.tagName) || S5(a5, t26.fullName) || S5(a5, t26.typeExpression) || (typeof t26.comment == "string" ? void 0 : ie10(a5, _9, t26.comment)); + }, 343: Xi8, 345: Xi8, 344: Xi8, 341: Xi8, 351: Xi8, 350: Xi8, 340: Xi8, 324: function(t26, a5, _9) { + return jn7(t26.typeParameters, a5) || jn7(t26.parameters, a5) || S5(a5, t26.type); + }, 325: Cp2, 326: Cp2, 327: Cp2, 323: function(t26, a5, _9) { + return jn7(t26.jsDocPropertyTags, a5); + }, 328: ui10, 333: ui10, 334: ui10, 335: ui10, 336: ui10, 337: ui10, 332: ui10, 338: ui10, 352: O6, 356: M62 }; + ((e7) => { + var t26 = sf2(99, true), a5 = 40960, _9, f7, h5, T7, k8; + function c7(o5) { + return ar9++, o5; + } + var W10 = { createBaseSourceFileNode: (o5) => c7(new k8(o5, 0, 0)), createBaseIdentifierNode: (o5) => c7(new h5(o5, 0, 0)), createBasePrivateIdentifierNode: (o5) => c7(new T7(o5, 0, 0)), createBaseTokenNode: (o5) => c7(new f7(o5, 0, 0)), createBaseNode: (o5) => c7(new _9(o5, 0, 0)) }, y10 = wf2(11, W10), { createNodeArray: G11, createNumericLiteral: E7, createStringLiteral: D7, createLiteralLikeNode: R10, createIdentifier: ue11, createPrivateIdentifier: be10, createToken: he11, createArrayLiteralExpression: de11, createObjectLiteralExpression: O7, createPropertyAccessExpression: ae9, createPropertyAccessChain: Oe11, createElementAccessExpression: V11, createElementAccessChain: oe10, createCallExpression: Y7, createCallChain: ft10, createNewExpression: nr9, createParenthesizedExpression: mn8, createBlock: rr8, createVariableStatement: hn9, createExpressionStatement: Dn7, createIfStatement: We12, createWhileStatement: ir10, createForStatement: Ir6, createForOfStatement: Ot12, createVariableDeclaration: Bn7, createVariableDeclarationList: Pn8 } = y10, Mt12, ht10, $e11, qn8, $t8, ot8, at11, Bt10, Lt10, ct9, ar9, dt8, yn9, yt10, _n7, tt11, qt11 = true, tn8 = false; + function sr10(o5, p4, m7, g5, b7 = false, N8, Q10, _e11 = 0) { + var ee8; + if (N8 = mb(o5, N8), N8 === 6) { + let ce9 = hr8(o5, p4, m7, g5, b7); + return convertToJson(ce9, (ee8 = ce9.statements[0]) == null ? void 0 : ee8.expression, ce9.parseDiagnostics, false, void 0), ce9.referencedFiles = vt11, ce9.typeReferenceDirectives = vt11, ce9.libReferenceDirectives = vt11, ce9.amdDependencies = vt11, ce9.hasNoDefaultLib = false, ce9.pragmas = ay, ce9; + } + Fn6(o5, p4, m7, g5, N8, _e11); + let te12 = Or7(m7, b7, N8, Q10 || ch, _e11); + return zn9(), te12; + } + e7.parseSourceFile = sr10; + function mr7(o5, p4) { + Fn6("", o5, p4, void 0, 1, 0), B7(); + let m7 = Ur8(true), g5 = u() === 1 && !at11.length; + return zn9(), g5 ? m7 : void 0; + } + e7.parseIsolatedEntityName = mr7; + function hr8(o5, p4, m7 = 2, g5, b7 = false) { + Fn6(o5, p4, m7, g5, 6, 0), ht10 = tt11, B7(); + let N8 = M10(), Q10, _e11; + if (u() === 1) Q10 = At12([], N8, N8), _e11 = Wt10(); + else { + let ce9; + for (; u() !== 1; ) { + let De11; + switch (u()) { + case 23: + De11 = _c3(); + break; + case 112: + case 97: + case 106: + De11 = Wt10(); + break; + case 41: + H11(() => B7() === 9 && B7() !== 59) ? De11 = Wo3() : De11 = Is8(); + break; + case 9: + case 11: + if (H11(() => B7() !== 59)) { + De11 = Hn8(); + break; + } + default: + De11 = Is8(); + break; + } + ce9 && $r7(ce9) ? ce9.push(De11) : ce9 ? ce9 = [ce9, De11] : (ce9 = De11, u() !== 1 && Ee9(A7.Unexpected_token)); + } + let je11 = $r7(ce9) ? P8(de11(ce9), N8) : q10.checkDefined(ce9), Je11 = Dn7(je11); + P8(Je11, N8), Q10 = At12([Je11], N8), _e11 = Yn7(1, A7.Unexpected_token); + } + let ee8 = se11(o5, 2, 6, false, Q10, _e11, ht10, Va4); + b7 && L9(ee8), ee8.nodeCount = ar9, ee8.identifierCount = yn9, ee8.identifiers = dt8, ee8.parseDiagnostics = Yi8(at11, ee8), Bt10 && (ee8.jsDocDiagnostics = Yi8(Bt10, ee8)); + let te12 = ee8; + return zn9(), te12; + } + e7.parseJsonText = hr8; + function Fn6(o5, p4, m7, g5, b7, N8) { + switch (_9 = Et12.getNodeConstructor(), f7 = Et12.getTokenConstructor(), h5 = Et12.getIdentifierConstructor(), T7 = Et12.getPrivateIdentifierConstructor(), k8 = Et12.getSourceFileConstructor(), Mt12 = zy2(o5), $e11 = p4, qn8 = m7, Lt10 = g5, $t8 = b7, ot8 = Ud(b7), at11 = [], yt10 = 0, dt8 = /* @__PURE__ */ new Map(), yn9 = 0, ar9 = 0, ht10 = 0, qt11 = true, $t8) { + case 1: + case 2: + tt11 = 524288; + break; + case 6: + tt11 = 134742016; + break; + default: + tt11 = 0; + break; + } + tn8 = false, t26.setText($e11), t26.setOnError(Zr8), t26.setScriptTarget(qn8), t26.setLanguageVariant(ot8), t26.setScriptKind($t8), t26.setJSDocParsingMode(N8); + } + function zn9() { + t26.clearCommentDirectives(), t26.setText(""), t26.setOnError(void 0), t26.setScriptKind(0), t26.setJSDocParsingMode(0), $e11 = void 0, qn8 = void 0, Lt10 = void 0, $t8 = void 0, ot8 = void 0, ht10 = 0, at11 = void 0, Bt10 = void 0, yt10 = 0, dt8 = void 0, _n7 = void 0, qt11 = true; + } + function Or7(o5, p4, m7, g5, b7) { + let N8 = R62(Mt12); + N8 && (tt11 |= 33554432), ht10 = tt11, B7(); + let Q10 = bn7(0, Yt8); + q10.assert(u() === 1); + let _e11 = Ue10(), ee8 = Ce10(Wt10(), _e11), te12 = se11(Mt12, o5, m7, N8, Q10, ee8, ht10, g5); + return q62(te12, $e11), F62(te12, ce9), te12.commentDirectives = t26.getCommentDirectives(), te12.nodeCount = ar9, te12.identifierCount = yn9, te12.identifiers = dt8, te12.parseDiagnostics = Yi8(at11, te12), te12.jsDocParsingMode = b7, Bt10 && (te12.jsDocDiagnostics = Yi8(Bt10, te12)), p4 && L9(te12), te12; + function ce9(je11, Je11, De11) { + at11.push(Oa4(Mt12, $e11, je11, Je11, De11)); + } + } + let Vn7 = false; + function Ce10(o5, p4) { + if (!p4) return o5; + q10.assert(!o5.jsDoc); + let m7 = cy(u22(o5, $e11), (g5) => el5.parseJSDocComment(o5, g5.pos, g5.end - g5.pos)); + return m7.length && (o5.jsDoc = m7), Vn7 && (Vn7 = false, o5.flags |= 536870912), o5; + } + function yr7(o5) { + let p4 = Lt10, m7 = Sl5.createSyntaxCursor(o5); + Lt10 = { currentNode: ce9 }; + let g5 = [], b7 = at11; + at11 = []; + let N8 = 0, Q10 = ee8(o5.statements, 0); + for (; Q10 !== -1; ) { + let je11 = o5.statements[N8], Je11 = o5.statements[Q10]; + En8(g5, o5.statements, N8, Q10), N8 = te12(o5.statements, Q10); + let De11 = gp3(b7, (Nt12) => Nt12.start >= je11.pos), Ht11 = De11 >= 0 ? gp3(b7, (Nt12) => Nt12.start >= Je11.pos, De11) : -1; + De11 >= 0 && En8(at11, b7, De11, Ht11 >= 0 ? Ht11 : void 0), cn9(() => { + let Nt12 = tt11; + for (tt11 |= 65536, t26.resetTokenState(Je11.pos), B7(); u() !== 1; ) { + let ur9 = t26.getTokenFullStart(), pr8 = ns8(0, Yt8); + if (g5.push(pr8), ur9 === t26.getTokenFullStart() && B7(), N8 >= 0) { + let Mn6 = o5.statements[N8]; + if (pr8.end === Mn6.pos) break; + pr8.end > Mn6.pos && (N8 = te12(o5.statements, N8 + 1)); + } + } + tt11 = Nt12; + }, 2), Q10 = N8 >= 0 ? ee8(o5.statements, N8) : -1; + } + if (N8 >= 0) { + let je11 = o5.statements[N8]; + En8(g5, o5.statements, N8); + let Je11 = gp3(b7, (De11) => De11.start >= je11.pos); + Je11 >= 0 && En8(at11, b7, Je11); + } + return Lt10 = p4, y10.updateSourceFile(o5, dn8(G11(g5), o5.statements)); + function _e11(je11) { + return !(je11.flags & 65536) && !!(je11.transformFlags & 67108864); + } + function ee8(je11, Je11) { + for (let De11 = Je11; De11 < je11.length; De11++) if (_e11(je11[De11])) return De11; + return -1; + } + function te12(je11, Je11) { + for (let De11 = Je11; De11 < je11.length; De11++) if (!_e11(je11[De11])) return De11; + return -1; + } + function ce9(je11) { + let Je11 = m7.currentNode(je11); + return qt11 && Je11 && _e11(Je11) && Wp2(Je11), Je11; + } + } + function L9(o5) { + Sb(o5, true); + } + e7.fixupParentReferences = L9; + function se11(o5, p4, m7, g5, b7, N8, Q10, _e11) { + let ee8 = y10.createSourceFile(b7, N8, Q10); + if (qd(ee8, 0, $e11.length), te12(ee8), !g5 && uh(ee8) && ee8.transformFlags & 67108864) { + let ce9 = ee8; + ee8 = yr7(ee8), ce9 !== ee8 && te12(ee8); + } + return ee8; + function te12(ce9) { + ce9.text = $e11, ce9.bindDiagnostics = [], ce9.bindSuggestionDiagnostics = void 0, ce9.languageVersion = p4, ce9.fileName = o5, ce9.languageVariant = Ud(m7), ce9.isDeclarationFile = g5, ce9.scriptKind = m7, _e11(ce9), ce9.setExternalModuleIndicator = _e11; + } + } + function fe10(o5, p4) { + o5 ? tt11 |= p4 : tt11 &= ~p4; + } + function Te10(o5) { + fe10(o5, 8192); + } + function He10(o5) { + fe10(o5, 16384); + } + function Qe11(o5) { + fe10(o5, 32768); + } + function st8(o5) { + fe10(o5, 65536); + } + function Ct12(o5, p4) { + let m7 = o5 & tt11; + if (m7) { + fe10(false, m7); + let g5 = p4(); + return fe10(true, m7), g5; + } + return p4(); + } + function Tt12(o5, p4) { + let m7 = o5 & ~tt11; + if (m7) { + fe10(true, m7); + let g5 = p4(); + return fe10(false, m7), g5; + } + return p4(); + } + function lt8(o5) { + return Ct12(8192, o5); + } + function Mr8(o5) { + return Tt12(8192, o5); + } + function gr7(o5) { + return Ct12(131072, o5); + } + function Nn6(o5) { + return Tt12(131072, o5); + } + function Wn8(o5) { + return Tt12(16384, o5); + } + function wi10(o5) { + return Tt12(32768, o5); + } + function U9(o5) { + return Tt12(65536, o5); + } + function K11(o5) { + return Ct12(65536, o5); + } + function Z9(o5) { + return Tt12(81920, o5); + } + function xe10(o5) { + return Ct12(81920, o5); + } + function Se11(o5) { + return (tt11 & o5) !== 0; + } + function we9() { + return Se11(16384); + } + function me12() { + return Se11(8192); + } + function Ve9() { + return Se11(131072); + } + function Ze11() { + return Se11(32768); + } + function Ye10() { + return Se11(65536); + } + function Ee9(o5, ...p4) { + return rt12(t26.getTokenStart(), t26.getTokenEnd(), o5, ...p4); + } + function gn8(o5, p4, m7, ...g5) { + let b7 = Ba5(at11), N8; + return (!b7 || o5 !== b7.start) && (N8 = Oa4(Mt12, $e11, o5, p4, m7, ...g5), at11.push(N8)), tn8 = true, N8; + } + function rt12(o5, p4, m7, ...g5) { + return gn8(o5, p4 - o5, m7, ...g5); + } + function on8(o5, p4, ...m7) { + rt12(o5.pos, o5.end, p4, ...m7); + } + function Zr8(o5, p4, m7) { + gn8(t26.getTokenEnd(), p4, o5, m7); + } + function M10() { + return t26.getTokenFullStart(); + } + function Ue10() { + return t26.hasPrecedingJSDocComment(); + } + function u() { + return ct9; + } + function Ie11() { + return ct9 = t26.scan(); + } + function Me12(o5) { + return B7(), o5(); + } + function B7() { + return di10(ct9) && (t26.hasUnicodeEscape() || t26.hasExtendedUnicodeEscape()) && rt12(t26.getTokenStart(), t26.getTokenEnd(), A7.Keywords_cannot_contain_escape_characters), Ie11(); + } + function Be10() { + return ct9 = t26.scanJsDocToken(); + } + function nn10(o5) { + return ct9 = t26.scanJSDocCommentTextToken(o5); + } + function ze11() { + return ct9 = t26.reScanGreaterToken(); + } + function Xe11() { + return ct9 = t26.reScanSlashToken(); + } + function Dt10(o5) { + return ct9 = t26.reScanTemplateToken(o5); + } + function wt11() { + return ct9 = t26.reScanLessThanToken(); + } + function Pt12() { + return ct9 = t26.reScanHashToken(); + } + function Ft11() { + return ct9 = t26.scanJsxIdentifier(); + } + function Gn8() { + return ct9 = t26.scanJsxToken(); + } + function ki10() { + return ct9 = t26.scanJsxAttributeValue(); + } + function cn9(o5, p4) { + let m7 = ct9, g5 = at11.length, b7 = tn8, N8 = tt11, Q10 = p4 !== 0 ? t26.lookAhead(o5) : t26.tryScan(o5); + return q10.assert(N8 === tt11), (!Q10 || p4 !== 0) && (ct9 = m7, p4 !== 2 && (at11.length = g5), tn8 = b7), Q10; + } + function H11(o5) { + return cn9(o5, 1); + } + function le9(o5) { + return cn9(o5, 0); + } + function qe11() { + return u() === 80 ? true : u() > 118; + } + function ve11() { + return u() === 80 ? true : u() === 127 && we9() || u() === 135 && Ye10() ? false : u() > 118; + } + function J12(o5, p4, m7 = true) { + return u() === o5 ? (m7 && B7(), true) : (p4 ? Ee9(p4) : Ee9(A7._0_expected, nt10(o5)), false); + } + let mt10 = Object.keys(tf2).filter((o5) => o5.length > 2); + function xt10(o5) { + if (F1(o5)) { + rt12(Cr6($e11, o5.template.pos), o5.template.end, A7.Module_declaration_names_may_only_use_or_quoted_strings); + return; + } + let p4 = Ke11(o5) ? An7(o5) : void 0; + if (!p4 || !cg(p4, qn8)) { + Ee9(A7._0_expected, nt10(27)); + return; + } + let m7 = Cr6($e11, o5.pos); + switch (p4) { + case "const": + case "let": + case "var": + rt12(m7, o5.end, A7.Variable_declaration_not_allowed_at_this_location); + return; + case "declare": + return; + case "interface": + Jt10(A7.Interface_name_cannot_be_0, A7.Interface_must_be_given_a_name, 19); + return; + case "is": + rt12(m7, t26.getTokenStart(), A7.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods); + return; + case "module": + case "namespace": + Jt10(A7.Namespace_name_cannot_be_0, A7.Namespace_must_be_given_a_name, 19); + return; + case "type": + Jt10(A7.Type_alias_name_cannot_be_0, A7.Type_alias_must_be_given_a_name, 64); + return; + } + let g5 = t_(p4, mt10, bt12) ?? ln9(p4); + if (g5) { + rt12(m7, o5.end, A7.Unknown_keyword_or_identifier_Did_you_mean_0, g5); + return; + } + u() !== 0 && rt12(m7, o5.end, A7.Unexpected_keyword_or_identifier); + } + function Jt10(o5, p4, m7) { + u() === m7 ? Ee9(p4) : Ee9(o5, t26.getTokenValue()); + } + function ln9(o5) { + for (let p4 of mt10) if (o5.length > p4.length + 2 && ml5(o5, p4)) return `${p4} ${o5.slice(p4.length)}`; + } + function ql4(o5, p4, m7) { + if (u() === 60 && !t26.hasPrecedingLineBreak()) { + Ee9(A7.Decorators_must_precede_the_name_and_all_keywords_of_property_declarations); + return; + } + if (u() === 21) { + Ee9(A7.Cannot_start_a_function_call_in_a_type_annotation), B7(); + return; + } + if (p4 && !_r8()) { + m7 ? Ee9(A7._0_expected, nt10(27)) : Ee9(A7.Expected_for_property_initializer); + return; + } + if (!oa3()) { + if (m7) { + Ee9(A7._0_expected, nt10(27)); + return; + } + xt10(o5); + } + } + function C_(o5) { + return u() === o5 ? (Be10(), true) : (q10.assert(xp2(o5)), Ee9(A7._0_expected, nt10(o5)), false); + } + function Lr8(o5, p4, m7, g5) { + if (u() === p4) { + B7(); + return; + } + let b7 = Ee9(A7._0_expected, nt10(p4)); + m7 && b7 && sl5(b7, Oa4(Mt12, $e11, g5, 1, A7.The_parser_expected_to_find_a_1_to_match_the_0_token_here, nt10(o5), nt10(p4))); + } + function Le11(o5) { + return u() === o5 ? (B7(), true) : false; + } + function pt10(o5) { + if (u() === o5) return Wt10(); + } + function Fl3(o5) { + if (u() === o5) return Vl4(); + } + function Yn7(o5, p4, m7) { + return pt10(o5) || Gt9(o5, false, p4 || A7._0_expected, m7 || nt10(o5)); + } + function zl4(o5) { + let p4 = Fl3(o5); + return p4 || (q10.assert(xp2(o5)), Gt9(o5, false, A7._0_expected, nt10(o5))); + } + function Wt10() { + let o5 = M10(), p4 = u(); + return B7(), P8(he11(p4), o5); + } + function Vl4() { + let o5 = M10(), p4 = u(); + return Be10(), P8(he11(p4), o5); + } + function _r8() { + return u() === 27 ? true : u() === 20 || u() === 1 || t26.hasPrecedingLineBreak(); + } + function oa3() { + return _r8() ? (u() === 27 && B7(), true) : false; + } + function Qt10() { + return oa3() || J12(27); + } + function At12(o5, p4, m7, g5) { + let b7 = G11(o5, g5); + return yi9(b7, p4, m7 ?? t26.getTokenFullStart()), b7; + } + function P8(o5, p4, m7) { + return yi9(o5, p4, m7 ?? t26.getTokenFullStart()), tt11 && (o5.flags |= tt11), tn8 && (tn8 = false, o5.flags |= 262144), o5; + } + function Gt9(o5, p4, m7, ...g5) { + p4 ? gn8(t26.getTokenFullStart(), 0, m7, ...g5) : m7 && Ee9(m7, ...g5); + let b7 = M10(), N8 = o5 === 80 ? ue11("", void 0) : Pd(o5) ? y10.createTemplateLiteralLikeNode(o5, "", "", void 0) : o5 === 9 ? E7("", void 0) : o5 === 11 ? D7("", void 0) : o5 === 283 ? y10.createMissingDeclaration() : he11(o5); + return P8(N8, b7); + } + function Jr6(o5) { + let p4 = dt8.get(o5); + return p4 === void 0 && dt8.set(o5, p4 = o5), p4; + } + function or9(o5, p4, m7) { + if (o5) { + yn9++; + let _e11 = t26.hasPrecedingJSDocLeadingAsterisks() ? t26.getTokenStart() : M10(), ee8 = u(), te12 = Jr6(t26.getTokenValue()), ce9 = t26.hasExtendedUnicodeEscape(); + return Ie11(), P8(ue11(te12, ee8, ce9), _e11); + } + if (u() === 81) return Ee9(m7 || A7.Private_identifiers_are_not_allowed_outside_class_bodies), or9(true); + if (u() === 0 && t26.tryScan(() => t26.reScanInvalidIdentifier() === 80)) return or9(true); + yn9++; + let g5 = u() === 1, b7 = t26.isReservedWord(), N8 = t26.getTokenText(), Q10 = b7 ? A7.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here : A7.Identifier_expected; + return Gt9(80, g5, p4 || Q10, N8); + } + function Ka4(o5) { + return or9(qe11(), void 0, o5); + } + function gt10(o5, p4) { + return or9(ve11(), o5, p4); + } + function jt8(o5) { + return or9(St11(u()), o5); + } + function ei10() { + return (t26.hasUnicodeEscape() || t26.hasExtendedUnicodeEscape()) && Ee9(A7.Unicode_escape_sequence_cannot_appear_here), or9(St11(u())); + } + function br7() { + return St11(u()) || u() === 11 || u() === 9 || u() === 10; + } + function D_() { + return St11(u()) || u() === 11; + } + function Wl4(o5) { + if (u() === 11 || u() === 9 || u() === 10) { + let p4 = Hn8(); + return p4.text = Jr6(p4.text), p4; + } + return o5 && u() === 23 ? Gl4() : u() === 81 ? ca4() : jt8(); + } + function jr6() { + return Wl4(true); + } + function Gl4() { + let o5 = M10(); + J12(23); + let p4 = lt8(kt12); + return J12(24), P8(y10.createComputedPropertyName(p4), o5); + } + function ca4() { + let o5 = M10(), p4 = be10(Jr6(t26.getTokenValue())); + return B7(), P8(p4, o5); + } + function ti10(o5) { + return u() === o5 && le9(P_); + } + function Za3() { + return B7(), t26.hasPrecedingLineBreak() ? false : cr8(); + } + function P_() { + switch (u()) { + case 87: + return B7() === 94; + case 95: + return B7(), u() === 90 ? H11(Ai9) : u() === 156 ? H11(Yl4) : Ei10(); + case 90: + return Ai9(); + case 126: + return B7(), cr8(); + case 139: + case 153: + return B7(), Hl4(); + default: + return Za3(); + } + } + function Ei10() { + return u() === 60 || u() !== 42 && u() !== 130 && u() !== 19 && cr8(); + } + function Yl4() { + return B7(), Ei10(); + } + function N_() { + return Yr9(u()) && le9(P_); + } + function cr8() { + return u() === 23 || u() === 19 || u() === 42 || u() === 26 || br7(); + } + function Hl4() { + return u() === 23 || br7(); + } + function Ai9() { + return B7(), u() === 86 || u() === 100 || u() === 120 || u() === 60 || u() === 128 && H11(vc4) || u() === 134 && H11(Tc4); + } + function la3(o5, p4) { + if (pa5(o5)) return true; + switch (o5) { + case 0: + case 1: + case 3: + return !(u() === 27 && p4) && xc3(); + case 2: + return u() === 84 || u() === 90; + case 4: + return H11(_o3); + case 5: + return H11(Jc2) || u() === 27 && !p4; + case 6: + return u() === 23 || br7(); + case 12: + switch (u()) { + case 23: + case 42: + case 26: + case 25: + return true; + default: + return br7(); + } + case 18: + return br7(); + case 9: + return u() === 23 || u() === 26 || br7(); + case 24: + return D_(); + case 7: + return u() === 19 ? H11(I_) : p4 ? ve11() && !es8() : xs8() && !es8(); + case 8: + return Rs9(); + case 10: + return u() === 28 || u() === 26 || Rs9(); + case 19: + return u() === 103 || u() === 87 || ve11(); + case 15: + switch (u()) { + case 28: + case 25: + return true; + } + case 11: + return u() === 26 || Tr7(); + case 16: + return ha2(false); + case 17: + return ha2(true); + case 20: + case 21: + return u() === 28 || ai10(); + case 22: + return Vs7(); + case 23: + return u() === 161 && H11(Cc3) ? false : u() === 11 ? true : St11(u()); + case 13: + return St11(u()) || u() === 19; + case 14: + return true; + case 25: + return true; + case 26: + return q10.fail("ParsingContext.Count used as a context"); + default: + q10.assertNever(o5, "Non-exhaustive case in 'isListElement'."); + } + } + function I_() { + if (q10.assert(u() === 19), B7() === 20) { + let o5 = B7(); + return o5 === 28 || o5 === 19 || o5 === 96 || o5 === 119; + } + return true; + } + function Ci8() { + return B7(), ve11(); + } + function Xl4() { + return B7(), St11(u()); + } + function O_() { + return B7(), Vy2(u()); + } + function es8() { + return u() === 119 || u() === 96 ? H11(M_) : false; + } + function M_() { + return B7(), Tr7(); + } + function Di8() { + return B7(), ai10(); + } + function ua5(o5) { + if (u() === 1) return true; + switch (o5) { + case 1: + case 2: + case 4: + case 5: + case 6: + case 12: + case 9: + case 23: + case 24: + return u() === 20; + case 3: + return u() === 20 || u() === 84 || u() === 90; + case 7: + return u() === 19 || u() === 96 || u() === 119; + case 8: + return ts8(); + case 19: + return u() === 32 || u() === 21 || u() === 19 || u() === 96 || u() === 119; + case 11: + return u() === 22 || u() === 27; + case 15: + case 21: + case 10: + return u() === 24; + case 17: + case 16: + case 18: + return u() === 22 || u() === 24; + case 20: + return u() !== 28; + case 22: + return u() === 19 || u() === 20; + case 13: + return u() === 32 || u() === 44; + case 14: + return u() === 30 && H11(ap2); + default: + return false; + } + } + function ts8() { + return !!(_r8() || qo4(u()) || u() === 39); + } + function L_() { + q10.assert(yt10, "Missing parsing context"); + for (let o5 = 0; o5 < 26; o5++) if (yt10 & 1 << o5 && (la3(o5, true) || ua5(o5))) return true; + return false; + } + function bn7(o5, p4) { + let m7 = yt10; + yt10 |= 1 << o5; + let g5 = [], b7 = M10(); + for (; !ua5(o5); ) { + if (la3(o5, false)) { + g5.push(ns8(o5, p4)); + continue; + } + if (z_(o5)) break; + } + return yt10 = m7, At12(g5, b7); + } + function ns8(o5, p4) { + let m7 = pa5(o5); + return m7 ? J_(m7) : p4(); + } + function pa5(o5, p4) { + var m7; + if (!Lt10 || !j_(o5) || tn8) return; + let g5 = Lt10.currentNode(p4 ?? t26.getTokenFullStart()); + if (!(Zi7(g5) || j62(g5) || u1(g5) || (g5.flags & 101441536) !== tt11) && R_(g5, o5)) return bf2(g5) && ((m7 = g5.jsDoc) != null && m7.jsDocCache) && (g5.jsDoc.jsDocCache = void 0), g5; + } + function J_(o5) { + return t26.resetTokenState(o5.end), B7(), o5; + } + function j_(o5) { + switch (o5) { + case 5: + case 2: + case 0: + case 1: + case 3: + case 6: + case 4: + case 8: + case 17: + case 16: + return true; + } + return false; + } + function R_(o5, p4) { + switch (p4) { + case 5: + return rs8(o5); + case 2: + return U_(o5); + case 0: + case 1: + case 3: + return is9(o5); + case 6: + return B_(o5); + case 4: + return as8(o5); + case 8: + return q_(o5); + case 17: + case 16: + return F_(o5); + } + return false; + } + function rs8(o5) { + if (o5) switch (o5.kind) { + case 177: + case 182: + case 178: + case 179: + case 173: + case 241: + return true; + case 175: + let p4 = o5; + return !(p4.name.kind === 80 && p4.name.escapedText === "constructor"); + } + return false; + } + function U_(o5) { + if (o5) switch (o5.kind) { + case 297: + case 298: + return true; + } + return false; + } + function is9(o5) { + if (o5) switch (o5.kind) { + case 263: + case 244: + case 242: + case 246: + case 245: + case 258: + case 254: + case 256: + case 253: + case 252: + case 250: + case 251: + case 249: + case 248: + case 255: + case 243: + case 259: + case 257: + case 247: + case 260: + case 273: + case 272: + case 279: + case 278: + case 268: + case 264: + case 265: + case 267: + case 266: + return true; + } + return false; + } + function B_(o5) { + return o5.kind === 307; + } + function as8(o5) { + if (o5) switch (o5.kind) { + case 181: + case 174: + case 182: + case 172: + case 180: + return true; + } + return false; + } + function q_(o5) { + return o5.kind !== 261 ? false : o5.initializer === void 0; + } + function F_(o5) { + return o5.kind !== 170 ? false : o5.initializer === void 0; + } + function z_(o5) { + return fa4(o5), L_() ? true : (B7(), false); + } + function fa4(o5) { + switch (o5) { + case 0: + return u() === 90 ? Ee9(A7._0_expected, nt10(95)) : Ee9(A7.Declaration_or_statement_expected); + case 1: + return Ee9(A7.Declaration_or_statement_expected); + case 2: + return Ee9(A7.case_or_default_expected); + case 3: + return Ee9(A7.Statement_expected); + case 18: + case 4: + return Ee9(A7.Property_or_signature_expected); + case 5: + return Ee9(A7.Unexpected_token_A_constructor_method_accessor_or_property_was_expected); + case 6: + return Ee9(A7.Enum_member_expected); + case 7: + return Ee9(A7.Expression_expected); + case 8: + return di10(u()) ? Ee9(A7._0_is_not_allowed_as_a_variable_declaration_name, nt10(u())) : Ee9(A7.Variable_declaration_expected); + case 9: + return Ee9(A7.Property_destructuring_pattern_expected); + case 10: + return Ee9(A7.Array_element_destructuring_pattern_expected); + case 11: + return Ee9(A7.Argument_expression_expected); + case 12: + return Ee9(A7.Property_assignment_expected); + case 15: + return Ee9(A7.Expression_or_comma_expected); + case 17: + return Ee9(A7.Parameter_declaration_expected); + case 16: + return di10(u()) ? Ee9(A7._0_is_not_allowed_as_a_parameter_name, nt10(u())) : Ee9(A7.Parameter_declaration_expected); + case 19: + return Ee9(A7.Type_parameter_declaration_expected); + case 20: + return Ee9(A7.Type_argument_expected); + case 21: + return Ee9(A7.Type_expected); + case 22: + return Ee9(A7.Unexpected_token_expected); + case 23: + return u() === 161 ? Ee9(A7._0_expected, "}") : Ee9(A7.Identifier_expected); + case 13: + return Ee9(A7.Identifier_expected); + case 14: + return Ee9(A7.Identifier_expected); + case 24: + return Ee9(A7.Identifier_or_string_literal_expected); + case 25: + return Ee9(A7.Identifier_expected); + case 26: + return q10.fail("ParsingContext.Count used as a context"); + default: + q10.assertNever(o5); + } + } + function un8(o5, p4, m7) { + let g5 = yt10; + yt10 |= 1 << o5; + let b7 = [], N8 = M10(), Q10 = -1; + for (; ; ) { + if (la3(o5, false)) { + let _e11 = t26.getTokenFullStart(), ee8 = ns8(o5, p4); + if (!ee8) { + yt10 = g5; + return; + } + if (b7.push(ee8), Q10 = t26.getTokenStart(), Le11(28)) continue; + if (Q10 = -1, ua5(o5)) break; + J12(28, ss9(o5)), m7 && u() === 27 && !t26.hasPrecedingLineBreak() && B7(), _e11 === t26.getTokenFullStart() && B7(); + continue; + } + if (ua5(o5) || z_(o5)) break; + } + return yt10 = g5, At12(b7, N8, void 0, Q10 >= 0); + } + function ss9(o5) { + return o5 === 6 ? A7.An_enum_member_name_must_be_followed_by_a_or : void 0; + } + function lr8() { + let o5 = At12([], M10()); + return o5.isMissingList = true, o5; + } + function V_(o5) { + return !!o5.isMissingList; + } + function Rr7(o5, p4, m7, g5) { + if (J12(m7)) { + let b7 = un8(o5, p4); + return J12(g5), b7; + } + return lr8(); + } + function Ur8(o5, p4) { + let m7 = M10(), g5 = o5 ? jt8(p4) : gt10(p4); + for (; Le11(25) && u() !== 30; ) g5 = P8(y10.createQualifiedName(g5, ni10(o5, false, true)), m7); + return g5; + } + function $l4(o5, p4) { + return P8(y10.createQualifiedName(o5, p4), o5.pos); + } + function ni10(o5, p4, m7) { + if (t26.hasPrecedingLineBreak() && St11(u()) && H11(Ms8)) return Gt9(80, true, A7.Identifier_expected); + if (u() === 81) { + let g5 = ca4(); + return p4 ? g5 : Gt9(80, true, A7.Identifier_expected); + } + return o5 ? m7 ? jt8() : ei10() : gt10(); + } + function Ql4(o5) { + let p4 = M10(), m7 = [], g5; + do + g5 = H_(o5), m7.push(g5); + while (g5.literal.kind === 17); + return At12(m7, p4); + } + function da5(o5) { + let p4 = M10(); + return P8(y10.createTemplateExpression(Pi8(o5), Ql4(o5)), p4); + } + function W_() { + let o5 = M10(); + return P8(y10.createTemplateLiteralType(Pi8(false), Kl4()), o5); + } + function Kl4() { + let o5 = M10(), p4 = [], m7; + do + m7 = G_(), p4.push(m7); + while (m7.literal.kind === 17); + return At12(p4, o5); + } + function G_() { + let o5 = M10(); + return P8(y10.createTemplateLiteralTypeSpan(_t9(), Y_(false)), o5); + } + function Y_(o5) { + return u() === 20 ? (Dt10(o5), X_()) : Yn7(18, A7._0_expected, nt10(20)); + } + function H_(o5) { + let p4 = M10(); + return P8(y10.createTemplateSpan(lt8(kt12), Y_(o5)), p4); + } + function Hn8() { + return ri10(u()); + } + function Pi8(o5) { + !o5 && t26.getTokenFlags() & 26656 && Dt10(false); + let p4 = ri10(u()); + return q10.assert(p4.kind === 16, "Template head has wrong token kind"), p4; + } + function X_() { + let o5 = ri10(u()); + return q10.assert(o5.kind === 17 || o5.kind === 18, "Template fragment has wrong token kind"), o5; + } + function Zl4(o5) { + let p4 = o5 === 15 || o5 === 18, m7 = t26.getTokenText(); + return m7.substring(1, m7.length - (t26.isUnterminated() ? 0 : p4 ? 1 : 2)); + } + function ri10(o5) { + let p4 = M10(), m7 = Pd(o5) ? y10.createTemplateLiteralLikeNode(o5, t26.getTokenValue(), Zl4(o5), t26.getTokenFlags() & 7176) : o5 === 9 ? E7(t26.getTokenValue(), t26.getNumericLiteralFlags()) : o5 === 11 ? D7(t26.getTokenValue(), void 0, t26.hasExtendedUnicodeEscape()) : Jg(o5) ? R10(o5, t26.getTokenValue()) : q10.fail(); + return t26.hasExtendedUnicodeEscape() && (m7.hasExtendedUnicodeEscape = true), t26.isUnterminated() && (m7.isUnterminated = true), B7(), P8(m7, p4); + } + function ii10() { + return Ur8(true, A7.Type_expected); + } + function $_() { + if (!t26.hasPrecedingLineBreak() && wt11() === 30) return Rr7(20, _t9, 30, 32); + } + function ma5() { + let o5 = M10(); + return P8(y10.createTypeReferenceNode(ii10(), $_()), o5); + } + function _s7(o5) { + switch (o5.kind) { + case 184: + return Zi7(o5.typeName); + case 185: + case 186: { + let { parameters: p4, type: m7 } = o5; + return V_(p4) || _s7(m7); + } + case 197: + return _s7(o5.type); + default: + return false; + } + } + function eu4(o5) { + return B7(), P8(y10.createTypePredicateNode(void 0, o5, _t9()), o5.pos); + } + function os12() { + let o5 = M10(); + return B7(), P8(y10.createThisTypeNode(), o5); + } + function tu3() { + let o5 = M10(); + return B7(), P8(y10.createJSDocAllType(), o5); + } + function Q_() { + let o5 = M10(); + return B7(), P8(y10.createJSDocNonNullableType(bs8(), false), o5); + } + function nu3() { + let o5 = M10(); + return B7(), u() === 28 || u() === 20 || u() === 22 || u() === 32 || u() === 64 || u() === 52 ? P8(y10.createJSDocUnknownType(), o5) : P8(y10.createJSDocNullableType(_t9(), false), o5); + } + function K_() { + let o5 = M10(), p4 = Ue10(); + if (le9(Gc2)) { + let m7 = Xn9(36), g5 = In7(59, false); + return Ce10(P8(y10.createJSDocFunctionType(m7, g5), o5), p4); + } + return P8(y10.createTypeReferenceNode(jt8(), void 0), o5); + } + function cs7() { + let o5 = M10(), p4; + return (u() === 110 || u() === 105) && (p4 = jt8(), J12(59)), P8(y10.createParameterDeclaration(void 0, void 0, p4, void 0, ls7(), void 0), o5); + } + function ls7() { + t26.setSkipJsDocLeadingAsterisks(true); + let o5 = M10(); + if (Le11(144)) { + let g5 = y10.createJSDocNamepathType(void 0); + e: for (; ; ) switch (u()) { + case 20: + case 1: + case 28: + case 5: + break e; + default: + Be10(); + } + return t26.setSkipJsDocLeadingAsterisks(false), P8(g5, o5); + } + let p4 = Le11(26), m7 = ba3(); + return t26.setSkipJsDocLeadingAsterisks(false), p4 && (m7 = P8(y10.createJSDocVariadicType(m7), o5)), u() === 64 ? (B7(), P8(y10.createJSDocOptionalType(m7), o5)) : m7; + } + function Z_() { + let o5 = M10(); + J12(114); + let p4 = Ur8(true), m7 = t26.hasPrecedingLineBreak() ? void 0 : Ca3(); + return P8(y10.createTypeQueryNode(p4, m7), o5); + } + function eo5() { + let o5 = M10(), p4 = On7(false, true), m7 = gt10(), g5, b7; + Le11(96) && (ai10() || !Tr7() ? g5 = _t9() : b7 = Xo3()); + let N8 = Le11(64) ? _t9() : void 0, Q10 = y10.createTypeParameterDeclaration(p4, m7, g5, N8); + return Q10.expression = b7, P8(Q10, o5); + } + function pn8() { + if (u() === 30) return Rr7(19, eo5, 30, 32); + } + function ha2(o5) { + return u() === 26 || Rs9() || Yr9(u()) || u() === 60 || ai10(!o5); + } + function to6(o5) { + let p4 = si10(A7.Private_identifiers_cannot_be_used_as_parameters); + return s22(p4) === 0 && !Zt10(o5) && Yr9(u()) && B7(), p4; + } + function no6() { + return qe11() || u() === 23 || u() === 19; + } + function us8(o5) { + return ps7(o5); + } + function ro5(o5) { + return ps7(o5, false); + } + function ps7(o5, p4 = true) { + let m7 = M10(), g5 = Ue10(), b7 = o5 ? U9(() => On7(true)) : K11(() => On7(true)); + if (u() === 110) { + let ee8 = y10.createParameterDeclaration(b7, void 0, or9(true), void 0, vr6(), void 0), te12 = Hp2(b7); + return te12 && on8(te12, A7.Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters), Ce10(P8(ee8, m7), g5); + } + let N8 = qt11; + qt11 = false; + let Q10 = pt10(26); + if (!p4 && !no6()) return; + let _e11 = Ce10(P8(y10.createParameterDeclaration(b7, Q10, to6(b7), pt10(58), vr6(), xr6()), m7), g5); + return qt11 = N8, _e11; + } + function In7(o5, p4) { + if (io5(o5, p4)) return gr7(ba3); + } + function io5(o5, p4) { + return o5 === 39 ? (J12(o5), true) : Le11(59) ? true : p4 && u() === 39 ? (Ee9(A7._0_expected, nt10(59)), B7(), true) : false; + } + function fs14(o5, p4) { + let m7 = we9(), g5 = Ye10(); + He10(!!(o5 & 1)), st8(!!(o5 & 2)); + let b7 = o5 & 32 ? un8(17, cs7) : un8(16, () => p4 ? us8(g5) : ro5(g5)); + return He10(m7), st8(g5), b7; + } + function Xn9(o5) { + if (!J12(21)) return lr8(); + let p4 = fs14(o5, true); + return J12(22), p4; + } + function ya3() { + Le11(28) || Qt10(); + } + function ao5(o5) { + let p4 = M10(), m7 = Ue10(); + o5 === 181 && J12(105); + let g5 = pn8(), b7 = Xn9(4), N8 = In7(59, true); + ya3(); + let Q10 = o5 === 180 ? y10.createCallSignature(g5, b7, N8) : y10.createConstructSignature(g5, b7, N8); + return Ce10(P8(Q10, p4), m7); + } + function Br8() { + return u() === 23 && H11(ru4); + } + function ru4() { + if (B7(), u() === 26 || u() === 24) return true; + if (Yr9(u())) { + if (B7(), ve11()) return true; + } else if (ve11()) B7(); + else return false; + return u() === 59 || u() === 28 ? true : u() !== 58 ? false : (B7(), u() === 59 || u() === 28 || u() === 24); + } + function ds7(o5, p4, m7) { + let g5 = Rr7(16, () => us8(false), 23, 24), b7 = vr6(); + ya3(); + let N8 = y10.createIndexSignature(m7, g5, b7); + return Ce10(P8(N8, o5), p4); + } + function so5(o5, p4, m7) { + let g5 = jr6(), b7 = pt10(58), N8; + if (u() === 21 || u() === 30) { + let Q10 = pn8(), _e11 = Xn9(4), ee8 = In7(59, true); + N8 = y10.createMethodSignature(m7, g5, b7, Q10, _e11, ee8); + } else { + let Q10 = vr6(); + N8 = y10.createPropertySignature(m7, g5, b7, Q10), u() === 64 && (N8.initializer = xr6()); + } + return ya3(), Ce10(P8(N8, o5), p4); + } + function _o3() { + if (u() === 21 || u() === 30 || u() === 139 || u() === 153) return true; + let o5 = false; + for (; Yr9(u()); ) o5 = true, B7(); + return u() === 23 ? true : (br7() && (o5 = true, B7()), o5 ? u() === 21 || u() === 30 || u() === 58 || u() === 59 || u() === 28 || _r8() : false); + } + function Ni9() { + if (u() === 21 || u() === 30) return ao5(180); + if (u() === 105 && H11(oo6)) return ao5(181); + let o5 = M10(), p4 = Ue10(), m7 = On7(false); + return ti10(139) ? _i9(o5, p4, m7, 178, 4) : ti10(153) ? _i9(o5, p4, m7, 179, 4) : Br8() ? ds7(o5, p4, m7) : so5(o5, p4, m7); + } + function oo6() { + return B7(), u() === 21 || u() === 30; + } + function co5() { + return B7() === 25; + } + function lo5() { + switch (B7()) { + case 21: + case 30: + case 25: + return true; + } + return false; + } + function uo5() { + let o5 = M10(); + return P8(y10.createTypeLiteralNode(po6()), o5); + } + function po6() { + let o5; + return J12(19) ? (o5 = bn7(4, Ni9), J12(20)) : o5 = lr8(), o5; + } + function fo5() { + return B7(), u() === 40 || u() === 41 ? B7() === 148 : (u() === 148 && B7(), u() === 23 && Ci8() && B7() === 103); + } + function iu3() { + let o5 = M10(), p4 = jt8(); + J12(103); + let m7 = _t9(); + return P8(y10.createTypeParameterDeclaration(void 0, p4, m7, void 0), o5); + } + function mo3() { + let o5 = M10(); + J12(19); + let p4; + (u() === 148 || u() === 40 || u() === 41) && (p4 = Wt10(), p4.kind !== 148 && J12(148)), J12(23); + let m7 = iu3(), g5 = Le11(130) ? _t9() : void 0; + J12(24); + let b7; + (u() === 58 || u() === 40 || u() === 41) && (b7 = Wt10(), b7.kind !== 58 && J12(58)); + let N8 = vr6(); + Qt10(); + let Q10 = bn7(4, Ni9); + return J12(20), P8(y10.createMappedTypeNode(p4, m7, g5, b7, N8, Q10), o5); + } + function ho3() { + let o5 = M10(); + if (Le11(26)) return P8(y10.createRestTypeNode(_t9()), o5); + let p4 = _t9(); + if (th(p4) && p4.pos === p4.type.pos) { + let m7 = y10.createOptionalTypeNode(p4.type); + return dn8(m7, p4), m7.flags = p4.flags, m7; + } + return p4; + } + function ms8() { + return B7() === 59 || u() === 58 && B7() === 59; + } + function au3() { + return u() === 26 ? St11(B7()) && ms8() : St11(u()) && ms8(); + } + function yo3() { + if (H11(au3)) { + let o5 = M10(), p4 = Ue10(), m7 = pt10(26), g5 = jt8(), b7 = pt10(58); + J12(59); + let N8 = ho3(), Q10 = y10.createNamedTupleMember(m7, g5, b7, N8); + return Ce10(P8(Q10, o5), p4); + } + return ho3(); + } + function su3() { + let o5 = M10(); + return P8(y10.createTupleTypeNode(Rr7(21, yo3, 23, 24)), o5); + } + function go3() { + let o5 = M10(); + J12(21); + let p4 = _t9(); + return J12(22), P8(y10.createParenthesizedType(p4), o5); + } + function _u4() { + let o5; + if (u() === 128) { + let p4 = M10(); + B7(); + let m7 = P8(he11(128), p4); + o5 = At12([m7], p4); + } + return o5; + } + function hs8() { + let o5 = M10(), p4 = Ue10(), m7 = _u4(), g5 = Le11(105); + q10.assert(!m7 || g5, "Per isStartOfFunctionOrConstructorType, a function type cannot have modifiers."); + let b7 = pn8(), N8 = Xn9(4), Q10 = In7(39, false), _e11 = g5 ? y10.createConstructorTypeNode(m7, b7, N8, Q10) : y10.createFunctionTypeNode(b7, N8, Q10); + return Ce10(P8(_e11, o5), p4); + } + function bo5() { + let o5 = Wt10(); + return u() === 25 ? void 0 : o5; + } + function ys8(o5) { + let p4 = M10(); + o5 && B7(); + let m7 = u() === 112 || u() === 97 || u() === 106 ? Wt10() : ri10(u()); + return o5 && (m7 = P8(y10.createPrefixUnaryExpression(41, m7), p4)), P8(y10.createLiteralTypeNode(m7), p4); + } + function ou3() { + return B7(), u() === 102; + } + function gs7() { + ht10 |= 4194304; + let o5 = M10(), p4 = Le11(114); + J12(102), J12(21); + let m7 = _t9(), g5; + if (Le11(28)) { + let Q10 = t26.getTokenStart(); + J12(19); + let _e11 = u(); + if (_e11 === 118 || _e11 === 132 ? B7() : Ee9(A7._0_expected, nt10(118)), J12(59), g5 = Ys9(_e11, true), Le11(28), !J12(20)) { + let ee8 = Ba5(at11); + ee8 && ee8.code === A7._0_expected.code && sl5(ee8, Oa4(Mt12, $e11, Q10, 1, A7.The_parser_expected_to_find_a_1_to_match_the_0_token_here, "{", "}")); + } + } + J12(22); + let b7 = Le11(25) ? ii10() : void 0, N8 = $_(); + return P8(y10.createImportTypeNode(m7, g5, b7, N8, p4), o5); + } + function vo4() { + return B7(), u() === 9 || u() === 10; + } + function bs8() { + switch (u()) { + case 133: + case 159: + case 154: + case 150: + case 163: + case 155: + case 136: + case 157: + case 146: + case 151: + return le9(bo5) || ma5(); + case 67: + t26.reScanAsteriskEqualsToken(); + case 42: + return tu3(); + case 61: + t26.reScanQuestionToken(); + case 58: + return nu3(); + case 100: + return K_(); + case 54: + return Q_(); + case 15: + case 11: + case 9: + case 10: + case 112: + case 97: + case 106: + return ys8(); + case 41: + return H11(vo4) ? ys8(true) : ma5(); + case 116: + return Wt10(); + case 110: { + let o5 = os12(); + return u() === 142 && !t26.hasPrecedingLineBreak() ? eu4(o5) : o5; + } + case 114: + return H11(ou3) ? gs7() : Z_(); + case 19: + return H11(fo5) ? mo3() : uo5(); + case 23: + return su3(); + case 21: + return go3(); + case 102: + return gs7(); + case 131: + return H11(Ms8) ? Po5() : ma5(); + case 16: + return W_(); + default: + return ma5(); + } + } + function ai10(o5) { + switch (u()) { + case 133: + case 159: + case 154: + case 150: + case 163: + case 136: + case 148: + case 155: + case 158: + case 116: + case 157: + case 106: + case 110: + case 114: + case 146: + case 19: + case 23: + case 30: + case 52: + case 51: + case 105: + case 11: + case 9: + case 10: + case 112: + case 97: + case 151: + case 42: + case 58: + case 54: + case 26: + case 140: + case 102: + case 131: + case 15: + case 16: + return true; + case 100: + return !o5; + case 41: + return !o5 && H11(vo4); + case 21: + return !o5 && H11(To4); + default: + return ve11(); + } + } + function To4() { + return B7(), u() === 22 || ha2(false) || ai10(); + } + function xo4() { + let o5 = M10(), p4 = bs8(); + for (; !t26.hasPrecedingLineBreak(); ) switch (u()) { + case 54: + B7(), p4 = P8(y10.createJSDocNonNullableType(p4, true), o5); + break; + case 58: + if (H11(Di8)) return p4; + B7(), p4 = P8(y10.createJSDocNullableType(p4, true), o5); + break; + case 23: + if (J12(23), ai10()) { + let m7 = _t9(); + J12(24), p4 = P8(y10.createIndexedAccessTypeNode(p4, m7), o5); + } else J12(24), p4 = P8(y10.createArrayTypeNode(p4), o5); + break; + default: + return p4; + } + return p4; + } + function So4(o5) { + let p4 = M10(); + return J12(o5), P8(y10.createTypeOperatorNode(o5, ko3()), p4); + } + function cu3() { + if (Le11(96)) { + let o5 = Nn6(_t9); + if (Ve9() || u() !== 58) return o5; + } + } + function wo6() { + let o5 = M10(), p4 = gt10(), m7 = le9(cu3), g5 = y10.createTypeParameterDeclaration(void 0, p4, m7); + return P8(g5, o5); + } + function lu4() { + let o5 = M10(); + return J12(140), P8(y10.createInferTypeNode(wo6()), o5); + } + function ko3() { + let o5 = u(); + switch (o5) { + case 143: + case 158: + case 148: + return So4(o5); + case 140: + return lu4(); + } + return gr7(xo4); + } + function ga2(o5) { + if (Ts6()) { + let p4 = hs8(), m7; + return Pf3(p4) ? m7 = o5 ? A7.Function_type_notation_must_be_parenthesized_when_used_in_a_union_type : A7.Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type : m7 = o5 ? A7.Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type : A7.Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type, on8(p4, m7), p4; + } + } + function Eo3(o5, p4, m7) { + let g5 = M10(), b7 = o5 === 52, N8 = Le11(o5), Q10 = N8 && ga2(b7) || p4(); + if (u() === o5 || N8) { + let _e11 = [Q10]; + for (; Le11(o5); ) _e11.push(ga2(b7) || p4()); + Q10 = P8(m7(At12(_e11, g5)), g5); + } + return Q10; + } + function vs9() { + return Eo3(51, ko3, y10.createIntersectionTypeNode); + } + function uu4() { + return Eo3(52, vs9, y10.createUnionTypeNode); + } + function Ao3() { + return B7(), u() === 105; + } + function Ts6() { + return u() === 30 || u() === 21 && H11(Co3) ? true : u() === 105 || u() === 128 && H11(Ao3); + } + function pu2() { + if (Yr9(u()) && On7(false), ve11() || u() === 110) return B7(), true; + if (u() === 23 || u() === 19) { + let o5 = at11.length; + return si10(), o5 === at11.length; + } + return false; + } + function Co3() { + return B7(), !!(u() === 22 || u() === 26 || pu2() && (u() === 59 || u() === 28 || u() === 58 || u() === 64 || u() === 22 && (B7(), u() === 39))); + } + function ba3() { + let o5 = M10(), p4 = ve11() && le9(Do3), m7 = _t9(); + return p4 ? P8(y10.createTypePredicateNode(void 0, p4, m7), o5) : m7; + } + function Do3() { + let o5 = gt10(); + if (u() === 142 && !t26.hasPrecedingLineBreak()) return B7(), o5; + } + function Po5() { + let o5 = M10(), p4 = Yn7(131), m7 = u() === 110 ? os12() : gt10(), g5 = Le11(142) ? _t9() : void 0; + return P8(y10.createTypePredicateNode(p4, m7, g5), o5); + } + function _t9() { + if (tt11 & 81920) return Ct12(81920, _t9); + if (Ts6()) return hs8(); + let o5 = M10(), p4 = uu4(); + if (!Ve9() && !t26.hasPrecedingLineBreak() && Le11(96)) { + let m7 = Nn6(_t9); + J12(58); + let g5 = gr7(_t9); + J12(59); + let b7 = gr7(_t9); + return P8(y10.createConditionalTypeNode(p4, m7, g5, b7), o5); + } + return p4; + } + function vr6() { + return Le11(59) ? _t9() : void 0; + } + function xs8() { + switch (u()) { + case 110: + case 108: + case 106: + case 112: + case 97: + case 9: + case 10: + case 11: + case 15: + case 16: + case 21: + case 23: + case 19: + case 100: + case 86: + case 105: + case 44: + case 69: + case 80: + return true; + case 102: + return H11(lo5); + default: + return ve11(); + } + } + function Tr7() { + if (xs8()) return true; + switch (u()) { + case 40: + case 41: + case 55: + case 54: + case 91: + case 114: + case 116: + case 46: + case 47: + case 30: + case 135: + case 127: + case 81: + case 60: + return true; + default: + return Fo3() ? true : ve11(); + } + } + function No3() { + return u() !== 19 && u() !== 100 && u() !== 86 && u() !== 60 && Tr7(); + } + function kt12() { + let o5 = Ze11(); + o5 && Qe11(false); + let p4 = M10(), m7 = zt10(true), g5; + for (; g5 = pt10(28); ) m7 = ks8(m7, g5, zt10(true), p4); + return o5 && Qe11(true), m7; + } + function xr6() { + return Le11(64) ? zt10(true) : void 0; + } + function zt10(o5) { + if (Io5()) return Oo5(); + let p4 = du4(o5) || Ro3(o5); + if (p4) return p4; + let m7 = M10(), g5 = Ue10(), b7 = Ii8(0); + return b7.kind === 80 && u() === 39 ? Mo3(m7, b7, o5, g5, void 0) : Fa6(b7) && b1(ze11()) ? ks8(b7, Wt10(), zt10(o5), m7) : mu3(b7, m7, o5); + } + function Io5() { + return u() === 127 ? we9() ? true : H11(Ls8) : false; + } + function fu4() { + return B7(), !t26.hasPrecedingLineBreak() && ve11(); + } + function Oo5() { + let o5 = M10(); + return B7(), !t26.hasPrecedingLineBreak() && (u() === 42 || Tr7()) ? P8(y10.createYieldExpression(pt10(42), zt10(true)), o5) : P8(y10.createYieldExpression(void 0, void 0), o5); + } + function Mo3(o5, p4, m7, g5, b7) { + q10.assert(u() === 39, "parseSimpleArrowFunctionExpression should only have been called if we had a =>"); + let N8 = y10.createParameterDeclaration(void 0, void 0, p4, void 0, void 0, void 0); + P8(N8, p4.pos); + let Q10 = At12([N8], N8.pos, N8.end), _e11 = Yn7(39), ee8 = Ss8(!!b7, m7), te12 = y10.createArrowFunction(b7, void 0, Q10, void 0, _e11, ee8); + return Ce10(P8(te12, o5), g5); + } + function du4(o5) { + let p4 = Lo4(); + if (p4 !== 0) return p4 === 1 ? Bo4(true, true) : le9(() => jo4(o5)); + } + function Lo4() { + return u() === 21 || u() === 30 || u() === 134 ? H11(Jo5) : u() === 39 ? 1 : 0; + } + function Jo5() { + if (u() === 134 && (B7(), t26.hasPrecedingLineBreak() || u() !== 21 && u() !== 30)) return 0; + let o5 = u(), p4 = B7(); + if (o5 === 21) { + if (p4 === 22) switch (B7()) { + case 39: + case 59: + case 19: + return 1; + default: + return 0; + } + if (p4 === 23 || p4 === 19) return 2; + if (p4 === 26) return 1; + if (Yr9(p4) && p4 !== 134 && H11(Ci8)) return B7() === 130 ? 0 : 1; + if (!ve11() && p4 !== 110) return 0; + switch (B7()) { + case 59: + return 1; + case 58: + return B7(), u() === 59 || u() === 28 || u() === 64 || u() === 22 ? 1 : 0; + case 28: + case 64: + case 22: + return 2; + } + return 0; + } else return q10.assert(o5 === 30), !ve11() && u() !== 87 ? 0 : ot8 === 1 ? H11(() => { + Le11(87); + let g5 = B7(); + if (g5 === 96) switch (B7()) { + case 64: + case 32: + case 44: + return false; + default: + return true; + } + else if (g5 === 28 || g5 === 64) return true; + return false; + }) ? 1 : 0 : 2; + } + function jo4(o5) { + let p4 = t26.getTokenStart(); + if (_n7?.has(p4)) return; + let m7 = Bo4(false, o5); + return m7 || (_n7 || (_n7 = /* @__PURE__ */ new Set())).add(p4), m7; + } + function Ro3(o5) { + if (u() === 134 && H11(Uo4) === 1) { + let p4 = M10(), m7 = Ue10(), g5 = Uc2(), b7 = Ii8(0); + return Mo3(p4, b7, o5, m7, g5); + } + } + function Uo4() { + if (u() === 134) { + if (B7(), t26.hasPrecedingLineBreak() || u() === 39) return 0; + let o5 = Ii8(0); + if (!t26.hasPrecedingLineBreak() && o5.kind === 80 && u() === 39) return 1; + } + return 0; + } + function Bo4(o5, p4) { + let m7 = M10(), g5 = Ue10(), b7 = Uc2(), N8 = Zt10(b7, cl5) ? 2 : 0, Q10 = pn8(), _e11; + if (J12(21)) { + if (o5) _e11 = fs14(N8, o5); + else { + let ur9 = fs14(N8, o5); + if (!ur9) return; + _e11 = ur9; + } + if (!J12(22) && !o5) return; + } else { + if (!o5) return; + _e11 = lr8(); + } + let ee8 = u() === 59, te12 = In7(59, false); + if (te12 && !o5 && _s7(te12)) return; + let ce9 = te12; + for (; ce9?.kind === 197; ) ce9 = ce9.type; + let je11 = ce9 && nh(ce9); + if (!o5 && u() !== 39 && (je11 || u() !== 19)) return; + let Je11 = u(), De11 = Yn7(39), Ht11 = Je11 === 39 || Je11 === 19 ? Ss8(Zt10(b7, cl5), p4) : gt10(); + if (!p4 && ee8 && u() !== 59) return; + let Nt12 = y10.createArrowFunction(b7, Q10, _e11, te12, De11, Ht11); + return Ce10(P8(Nt12, m7), g5); + } + function Ss8(o5, p4) { + if (u() === 19) return wa4(o5 ? 2 : 0); + if (u() !== 27 && u() !== 100 && u() !== 86 && xc3() && !No3()) return wa4(16 | (o5 ? 2 : 0)); + let m7 = we9(); + He10(false); + let g5 = qt11; + qt11 = false; + let b7 = o5 ? U9(() => zt10(p4)) : K11(() => zt10(p4)); + return qt11 = g5, He10(m7), b7; + } + function mu3(o5, p4, m7) { + let g5 = pt10(58); + if (!g5) return o5; + let b7; + return P8(y10.createConditionalExpression(o5, g5, Ct12(a5, () => zt10(false)), b7 = Yn7(59), Rp2(b7) ? zt10(m7) : Gt9(80, false, A7._0_expected, nt10(59))), p4); + } + function Ii8(o5) { + let p4 = M10(), m7 = Xo3(); + return ws8(o5, m7, p4); + } + function qo4(o5) { + return o5 === 103 || o5 === 165; + } + function ws8(o5, p4, m7) { + for (; ; ) { + ze11(); + let g5 = Sp2(u()); + if (!(u() === 43 ? g5 >= o5 : g5 > o5) || u() === 103 && me12()) break; + if (u() === 130 || u() === 152) { + if (t26.hasPrecedingLineBreak()) break; + { + let N8 = u(); + B7(), p4 = N8 === 152 ? zo4(p4, _t9()) : Vo3(p4, _t9()); + } + } else p4 = ks8(p4, Wt10(), Ii8(g5), m7); + } + return p4; + } + function Fo3() { + return me12() && u() === 103 ? false : Sp2(u()) > 0; + } + function zo4(o5, p4) { + return P8(y10.createSatisfiesExpression(o5, p4), o5.pos); + } + function ks8(o5, p4, m7, g5) { + return P8(y10.createBinaryExpression(o5, p4, m7), g5); + } + function Vo3(o5, p4) { + return P8(y10.createAsExpression(o5, p4), o5.pos); + } + function Wo3() { + let o5 = M10(); + return P8(y10.createPrefixUnaryExpression(u(), Me12(Sr7)), o5); + } + function Go3() { + let o5 = M10(); + return P8(y10.createDeleteExpression(Me12(Sr7)), o5); + } + function hu4() { + let o5 = M10(); + return P8(y10.createTypeOfExpression(Me12(Sr7)), o5); + } + function Yo4() { + let o5 = M10(); + return P8(y10.createVoidExpression(Me12(Sr7)), o5); + } + function yu5() { + return u() === 135 ? Ye10() ? true : H11(Ls8) : false; + } + function Ho3() { + let o5 = M10(); + return P8(y10.createAwaitExpression(Me12(Sr7)), o5); + } + function Xo3() { + if (gu4()) { + let m7 = M10(), g5 = va4(); + return u() === 43 ? ws8(Sp2(u()), g5, m7) : g5; + } + let o5 = u(), p4 = Sr7(); + if (u() === 43) { + let m7 = Cr6($e11, p4.pos), { end: g5 } = p4; + p4.kind === 217 ? rt12(m7, g5, A7.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses) : (q10.assert(xp2(o5)), rt12(m7, g5, A7.An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses, nt10(o5))); + } + return p4; + } + function Sr7() { + switch (u()) { + case 40: + case 41: + case 55: + case 54: + return Wo3(); + case 91: + return Go3(); + case 114: + return hu4(); + case 116: + return Yo4(); + case 30: + return ot8 === 1 ? Mi7(true, void 0, void 0, true) : ec3(); + case 135: + if (yu5()) return Ho3(); + default: + return va4(); + } + } + function gu4() { + switch (u()) { + case 40: + case 41: + case 55: + case 54: + case 91: + case 114: + case 116: + case 135: + return false; + case 30: + if (ot8 !== 1) return false; + default: + return true; + } + } + function va4() { + if (u() === 46 || u() === 47) { + let p4 = M10(); + return P8(y10.createPrefixUnaryExpression(u(), Me12(Oi9)), p4); + } else if (ot8 === 1 && u() === 30 && H11(O_)) return Mi7(true); + let o5 = Oi9(); + if (q10.assert(Fa6(o5)), (u() === 46 || u() === 47) && !t26.hasPrecedingLineBreak()) { + let p4 = u(); + return B7(), P8(y10.createPostfixUnaryExpression(o5, p4), o5.pos); + } + return o5; + } + function Oi9() { + let o5 = M10(), p4; + return u() === 102 ? H11(oo6) ? (ht10 |= 4194304, p4 = Wt10()) : H11(co5) ? (B7(), B7(), p4 = P8(y10.createMetaProperty(102, jt8()), o5), p4.name.escapedText === "defer" ? (u() === 21 || u() === 30) && (ht10 |= 4194304) : ht10 |= 8388608) : p4 = Ta3() : p4 = u() === 108 ? $o3() : Ta3(), Ps9(o5, p4); + } + function Ta3() { + let o5 = M10(), p4 = Ns7(); + return rn6(o5, p4, true); + } + function $o3() { + let o5 = M10(), p4 = Wt10(); + if (u() === 30) { + let m7 = M10(), g5 = le9(Sa2); + g5 !== void 0 && (rt12(m7, M10(), A7.super_may_not_use_type_arguments), vn7() || (p4 = y10.createExpressionWithTypeArguments(p4, g5))); + } + return u() === 21 || u() === 25 || u() === 23 ? p4 : (Yn7(25, A7.super_must_be_followed_by_an_argument_list_or_member_access), P8(ae9(p4, ni10(true, true, true)), o5)); + } + function Mi7(o5, p4, m7, g5 = false) { + let b7 = M10(), N8 = Tu5(o5), Q10; + if (N8.kind === 287) { + let _e11 = xa5(N8), ee8, te12 = _e11[_e11.length - 1]; + if (te12?.kind === 285 && !pi10(te12.openingElement.tagName, te12.closingElement.tagName) && pi10(N8.tagName, te12.closingElement.tagName)) { + let ce9 = te12.children.end, je11 = P8(y10.createJsxElement(te12.openingElement, te12.children, P8(y10.createJsxClosingElement(P8(ue11(""), ce9, ce9)), ce9, ce9)), te12.openingElement.pos, ce9); + _e11 = At12([..._e11.slice(0, _e11.length - 1), je11], _e11.pos, ce9), ee8 = te12.closingElement; + } else ee8 = Zo3(N8, o5), pi10(N8.tagName, ee8.tagName) || (m7 && Fp2(m7) && pi10(ee8.tagName, m7.tagName) ? on8(N8.tagName, A7.JSX_element_0_has_no_corresponding_closing_tag, r_($e11, N8.tagName)) : on8(ee8.tagName, A7.Expected_corresponding_JSX_closing_tag_for_0, r_($e11, N8.tagName))); + Q10 = P8(y10.createJsxElement(N8, _e11, ee8), b7); + } else N8.kind === 290 ? Q10 = P8(y10.createJsxFragment(N8, xa5(N8), ku3(o5)), b7) : (q10.assert(N8.kind === 286), Q10 = N8); + if (!g5 && o5 && u() === 30) { + let _e11 = typeof p4 > "u" ? Q10.pos : p4, ee8 = le9(() => Mi7(true, _e11)); + if (ee8) { + let te12 = Gt9(28, false); + return qd(te12, ee8.pos, 0), rt12(Cr6($e11, _e11), ee8.end, A7.JSX_expressions_must_have_one_parent_element), P8(y10.createBinaryExpression(Q10, te12, ee8), b7); + } + } + return Q10; + } + function Es8() { + let o5 = M10(), p4 = y10.createJsxText(t26.getTokenValue(), ct9 === 13); + return ct9 = t26.scanJsxToken(), P8(p4, o5); + } + function bu4(o5, p4) { + switch (p4) { + case 1: + if (n6(o5)) on8(o5, A7.JSX_fragment_has_no_corresponding_closing_tag); + else { + let m7 = o5.tagName, g5 = Math.min(Cr6($e11, m7.pos), m7.end); + rt12(g5, m7.end, A7.JSX_element_0_has_no_corresponding_closing_tag, r_($e11, o5.tagName)); + } + return; + case 31: + case 7: + return; + case 12: + case 13: + return Es8(); + case 19: + return Qo4(false); + case 30: + return Mi7(false, void 0, o5); + default: + return q10.assertNever(p4); + } + } + function xa5(o5) { + let p4 = [], m7 = M10(), g5 = yt10; + for (yt10 |= 16384; ; ) { + let b7 = bu4(o5, ct9 = t26.reScanJsxToken()); + if (!b7 || (p4.push(b7), Fp2(o5) && b7?.kind === 285 && !pi10(b7.openingElement.tagName, b7.closingElement.tagName) && pi10(o5.tagName, b7.closingElement.tagName))) break; + } + return yt10 = g5, At12(p4, m7); + } + function vu4() { + let o5 = M10(); + return P8(y10.createJsxAttributes(bn7(13, Ko3)), o5); + } + function Tu5(o5) { + let p4 = M10(); + if (J12(30), u() === 32) return Gn8(), P8(y10.createJsxOpeningFragment(), p4); + let m7 = As8(), g5 = (tt11 & 524288) === 0 ? Ca3() : void 0, b7 = vu4(), N8; + return u() === 32 ? (Gn8(), N8 = y10.createJsxOpeningElement(m7, g5, b7)) : (J12(44), J12(32, void 0, false) && (o5 ? B7() : Gn8()), N8 = y10.createJsxSelfClosingElement(m7, g5, b7)), P8(N8, p4); + } + function As8() { + let o5 = M10(), p4 = xu3(); + if (Q1(p4)) return p4; + let m7 = p4; + for (; Le11(25); ) m7 = P8(ae9(m7, ni10(true, false, false)), o5); + return m7; + } + function xu3() { + let o5 = M10(); + Ft11(); + let p4 = u() === 110, m7 = ei10(); + return Le11(59) ? (Ft11(), P8(y10.createJsxNamespacedName(m7, ei10()), o5)) : p4 ? P8(y10.createToken(110), o5) : m7; + } + function Qo4(o5) { + let p4 = M10(); + if (!J12(19)) return; + let m7, g5; + return u() !== 20 && (o5 || (m7 = pt10(26)), g5 = kt12()), o5 ? J12(20) : J12(20, void 0, false) && Gn8(), P8(y10.createJsxExpression(m7, g5), p4); + } + function Ko3() { + if (u() === 19) return wu3(); + let o5 = M10(); + return P8(y10.createJsxAttribute(Su3(), Cs6()), o5); + } + function Cs6() { + if (u() === 64) { + if (ki10() === 11) return Hn8(); + if (u() === 19) return Qo4(true); + if (u() === 30) return Mi7(true); + Ee9(A7.or_JSX_element_expected); + } + } + function Su3() { + let o5 = M10(); + Ft11(); + let p4 = ei10(); + return Le11(59) ? (Ft11(), P8(y10.createJsxNamespacedName(p4, ei10()), o5)) : p4; + } + function wu3() { + let o5 = M10(); + J12(19), J12(26); + let p4 = kt12(); + return J12(20), P8(y10.createJsxSpreadAttribute(p4), o5); + } + function Zo3(o5, p4) { + let m7 = M10(); + J12(31); + let g5 = As8(); + return J12(32, void 0, false) && (p4 || !pi10(o5.tagName, g5) ? B7() : Gn8()), P8(y10.createJsxClosingElement(g5), m7); + } + function ku3(o5) { + let p4 = M10(); + return J12(31), J12(32, A7.Expected_corresponding_closing_tag_for_JSX_fragment, false) && (o5 ? B7() : Gn8()), P8(y10.createJsxJsxClosingFragment(), p4); + } + function ec3() { + q10.assert(ot8 !== 1, "Type assertions should never be parsed in JSX; they should be parsed as comparisons or JSX elements/fragments."); + let o5 = M10(); + J12(30); + let p4 = _t9(); + J12(32); + let m7 = Sr7(); + return P8(y10.createTypeAssertion(p4, m7), o5); + } + function Eu5() { + return B7(), St11(u()) || u() === 23 || vn7(); + } + function tc3() { + return u() === 29 && H11(Eu5); + } + function Ds8(o5) { + if (o5.flags & 64) return true; + if (fl5(o5)) { + let p4 = o5.expression; + for (; fl5(p4) && !(p4.flags & 64); ) p4 = p4.expression; + if (p4.flags & 64) { + for (; fl5(o5); ) o5.flags |= 64, o5 = o5.expression; + return true; + } + } + return false; + } + function nc4(o5, p4, m7) { + let g5 = ni10(true, true, true), b7 = m7 || Ds8(p4), N8 = b7 ? Oe11(p4, m7, g5) : ae9(p4, g5); + if (b7 && gi10(N8.name) && on8(N8.name, A7.An_optional_chain_cannot_contain_private_identifiers), G1(p4) && p4.typeArguments) { + let Q10 = p4.typeArguments.pos - 1, _e11 = Cr6($e11, p4.typeArguments.end) + 1; + rt12(Q10, _e11, A7.An_instantiation_expression_cannot_be_followed_by_a_property_access); + } + return P8(N8, o5); + } + function Au3(o5, p4, m7) { + let g5; + if (u() === 24) g5 = Gt9(80, true, A7.An_element_access_expression_should_take_an_argument); + else { + let N8 = lt8(kt12); + Al5(N8) && (N8.text = Jr6(N8.text)), g5 = N8; + } + J12(24); + let b7 = m7 || Ds8(p4) ? oe10(p4, m7, g5) : V11(p4, g5); + return P8(b7, o5); + } + function rn6(o5, p4, m7) { + for (; ; ) { + let g5, b7 = false; + if (m7 && tc3() ? (g5 = Yn7(29), b7 = St11(u())) : b7 = Le11(25), b7) { + p4 = nc4(o5, p4, g5); + continue; + } + if ((g5 || !Ze11()) && Le11(23)) { + p4 = Au3(o5, p4, g5); + continue; + } + if (vn7()) { + p4 = !g5 && p4.kind === 234 ? qr6(o5, p4.expression, g5, p4.typeArguments) : qr6(o5, p4, g5, void 0); + continue; + } + if (!g5) { + if (u() === 54 && !t26.hasPrecedingLineBreak()) { + B7(), p4 = P8(y10.createNonNullExpression(p4), o5); + continue; + } + let N8 = le9(Sa2); + if (N8) { + p4 = P8(y10.createExpressionWithTypeArguments(p4, N8), o5); + continue; + } + } + return p4; + } + } + function vn7() { + return u() === 15 || u() === 16; + } + function qr6(o5, p4, m7, g5) { + let b7 = y10.createTaggedTemplateExpression(p4, g5, u() === 15 ? (Dt10(true), Hn8()) : da5(true)); + return (m7 || p4.flags & 64) && (b7.flags |= 64), b7.questionDotToken = m7, P8(b7, o5); + } + function Ps9(o5, p4) { + for (; ; ) { + p4 = rn6(o5, p4, true); + let m7, g5 = pt10(29); + if (g5 && (m7 = le9(Sa2), vn7())) { + p4 = qr6(o5, p4, g5, m7); + continue; + } + if (m7 || u() === 21) { + !g5 && p4.kind === 234 && (m7 = p4.typeArguments, p4 = p4.expression); + let b7 = rc3(), N8 = g5 || Ds8(p4) ? ft10(p4, g5, m7, b7) : Y7(p4, m7, b7); + p4 = P8(N8, o5); + continue; + } + if (g5) { + let b7 = Gt9(80, false, A7.Identifier_expected); + p4 = P8(Oe11(p4, g5, b7), o5); + } + break; + } + return p4; + } + function rc3() { + J12(21); + let o5 = un8(11, sc3); + return J12(22), o5; + } + function Sa2() { + if ((tt11 & 524288) !== 0 || wt11() !== 30) return; + B7(); + let o5 = un8(20, _t9); + if (ze11() === 32) return B7(), o5 && Cu3() ? o5 : void 0; + } + function Cu3() { + switch (u()) { + case 21: + case 15: + case 16: + return true; + case 30: + case 32: + case 40: + case 41: + return false; + } + return t26.hasPrecedingLineBreak() || Fo3() || !Tr7(); + } + function Ns7() { + switch (u()) { + case 15: + t26.getTokenFlags() & 26656 && Dt10(false); + case 9: + case 10: + case 11: + return Hn8(); + case 110: + case 108: + case 106: + case 112: + case 97: + return Wt10(); + case 21: + return Du4(); + case 23: + return _c3(); + case 19: + return Is8(); + case 134: + if (!H11(Tc4)) break; + return Os7(); + case 60: + return Xu3(); + case 86: + return $u4(); + case 100: + return Os7(); + case 105: + return cc4(); + case 44: + case 69: + if (Xe11() === 14) return Hn8(); + break; + case 16: + return da5(false); + case 81: + return ca4(); + } + return gt10(A7.Expression_expected); + } + function Du4() { + let o5 = M10(), p4 = Ue10(); + J12(21); + let m7 = lt8(kt12); + return J12(22), Ce10(P8(mn8(m7), o5), p4); + } + function ic3() { + let o5 = M10(); + J12(26); + let p4 = zt10(true); + return P8(y10.createSpreadElement(p4), o5); + } + function ac3() { + return u() === 26 ? ic3() : u() === 28 ? P8(y10.createOmittedExpression(), M10()) : zt10(true); + } + function sc3() { + return Ct12(a5, ac3); + } + function _c3() { + let o5 = M10(), p4 = t26.getTokenStart(), m7 = J12(23), g5 = t26.hasPrecedingLineBreak(), b7 = un8(15, ac3); + return Lr8(23, 24, m7, p4), P8(de11(b7, g5), o5); + } + function oc4() { + let o5 = M10(), p4 = Ue10(); + if (pt10(26)) { + let ce9 = zt10(true); + return Ce10(P8(y10.createSpreadAssignment(ce9), o5), p4); + } + let m7 = On7(true); + if (ti10(139)) return _i9(o5, p4, m7, 178, 0); + if (ti10(153)) return _i9(o5, p4, m7, 179, 0); + let g5 = pt10(42), b7 = ve11(), N8 = jr6(), Q10 = pt10(58), _e11 = pt10(54); + if (g5 || u() === 21 || u() === 30) return Lc2(o5, p4, m7, g5, N8, Q10, _e11); + let ee8; + if (b7 && u() !== 59) { + let ce9 = pt10(64), je11 = ce9 ? lt8(() => zt10(true)) : void 0; + ee8 = y10.createShorthandPropertyAssignment(N8, je11), ee8.equalsToken = ce9; + } else { + J12(59); + let ce9 = lt8(() => zt10(true)); + ee8 = y10.createPropertyAssignment(N8, ce9); + } + return ee8.modifiers = m7, ee8.questionToken = Q10, ee8.exclamationToken = _e11, Ce10(P8(ee8, o5), p4); + } + function Is8() { + let o5 = M10(), p4 = t26.getTokenStart(), m7 = J12(19), g5 = t26.hasPrecedingLineBreak(), b7 = un8(12, oc4, true); + return Lr8(19, 20, m7, p4), P8(O7(b7, g5), o5); + } + function Os7() { + let o5 = Ze11(); + Qe11(false); + let p4 = M10(), m7 = Ue10(), g5 = On7(false); + J12(100); + let b7 = pt10(42), N8 = b7 ? 1 : 0, Q10 = Zt10(g5, cl5) ? 2 : 0, _e11 = N8 && Q10 ? Z9(Li8) : N8 ? Wn8(Li8) : Q10 ? U9(Li8) : Li8(), ee8 = pn8(), te12 = Xn9(N8 | Q10), ce9 = In7(59, false), je11 = wa4(N8 | Q10); + Qe11(o5); + let Je11 = y10.createFunctionExpression(g5, b7, _e11, ee8, te12, ce9, je11); + return Ce10(P8(Je11, p4), m7); + } + function Li8() { + return qe11() ? Ka4() : void 0; + } + function cc4() { + let o5 = M10(); + if (J12(105), Le11(25)) { + let N8 = jt8(); + return P8(y10.createMetaProperty(105, N8), o5); + } + let p4 = M10(), m7 = rn6(p4, Ns7(), false), g5; + m7.kind === 234 && (g5 = m7.typeArguments, m7 = m7.expression), u() === 29 && Ee9(A7.Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0, r_($e11, m7)); + let b7 = u() === 21 ? rc3() : void 0; + return P8(nr9(m7, g5, b7), o5); + } + function Fr7(o5, p4) { + let m7 = M10(), g5 = Ue10(), b7 = t26.getTokenStart(), N8 = J12(19, p4); + if (N8 || o5) { + let Q10 = t26.hasPrecedingLineBreak(), _e11 = bn7(1, Yt8); + Lr8(19, 20, N8, b7); + let ee8 = Ce10(P8(rr8(_e11, Q10), m7), g5); + return u() === 64 && (Ee9(A7.Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_destructuring_assignment_you_might_need_to_wrap_the_whole_assignment_in_parentheses), B7()), ee8; + } else { + let Q10 = lr8(); + return Ce10(P8(rr8(Q10, void 0), m7), g5); + } + } + function wa4(o5, p4) { + let m7 = we9(); + He10(!!(o5 & 1)); + let g5 = Ye10(); + st8(!!(o5 & 2)); + let b7 = qt11; + qt11 = false; + let N8 = Ze11(); + N8 && Qe11(false); + let Q10 = Fr7(!!(o5 & 16), p4); + return N8 && Qe11(true), qt11 = b7, He10(m7), st8(g5), Q10; + } + function lc3() { + let o5 = M10(), p4 = Ue10(); + return J12(27), Ce10(P8(y10.createEmptyStatement(), o5), p4); + } + function Pu3() { + let o5 = M10(), p4 = Ue10(); + J12(101); + let m7 = t26.getTokenStart(), g5 = J12(21), b7 = lt8(kt12); + Lr8(21, 22, g5, m7); + let N8 = Yt8(), Q10 = Le11(93) ? Yt8() : void 0; + return Ce10(P8(We12(b7, N8, Q10), o5), p4); + } + function uc3() { + let o5 = M10(), p4 = Ue10(); + J12(92); + let m7 = Yt8(); + J12(117); + let g5 = t26.getTokenStart(), b7 = J12(21), N8 = lt8(kt12); + return Lr8(21, 22, b7, g5), Le11(27), Ce10(P8(y10.createDoStatement(m7, N8), o5), p4); + } + function Nu4() { + let o5 = M10(), p4 = Ue10(); + J12(117); + let m7 = t26.getTokenStart(), g5 = J12(21), b7 = lt8(kt12); + Lr8(21, 22, g5, m7); + let N8 = Yt8(); + return Ce10(P8(ir10(b7, N8), o5), p4); + } + function pc3() { + let o5 = M10(), p4 = Ue10(); + J12(99); + let m7 = pt10(135); + J12(21); + let g5; + u() !== 27 && (u() === 115 || u() === 121 || u() === 87 || u() === 160 && H11(wc3) || u() === 135 && H11(Js10) ? g5 = Ic3(true) : g5 = Mr8(kt12)); + let b7; + if (m7 ? J12(165) : Le11(165)) { + let N8 = lt8(() => zt10(true)); + J12(22), b7 = Ot12(m7, g5, N8, Yt8()); + } else if (Le11(103)) { + let N8 = lt8(kt12); + J12(22), b7 = y10.createForInStatement(g5, N8, Yt8()); + } else { + J12(27); + let N8 = u() !== 27 && u() !== 22 ? lt8(kt12) : void 0; + J12(27); + let Q10 = u() !== 22 ? lt8(kt12) : void 0; + J12(22), b7 = Ir6(g5, N8, Q10, Yt8()); + } + return Ce10(P8(b7, o5), p4); + } + function fc3(o5) { + let p4 = M10(), m7 = Ue10(); + J12(o5 === 253 ? 83 : 88); + let g5 = _r8() ? void 0 : gt10(); + Qt10(); + let b7 = o5 === 253 ? y10.createBreakStatement(g5) : y10.createContinueStatement(g5); + return Ce10(P8(b7, p4), m7); + } + function dc3() { + let o5 = M10(), p4 = Ue10(); + J12(107); + let m7 = _r8() ? void 0 : lt8(kt12); + return Qt10(), Ce10(P8(y10.createReturnStatement(m7), o5), p4); + } + function Iu4() { + let o5 = M10(), p4 = Ue10(); + J12(118); + let m7 = t26.getTokenStart(), g5 = J12(21), b7 = lt8(kt12); + Lr8(21, 22, g5, m7); + let N8 = Tt12(67108864, Yt8); + return Ce10(P8(y10.createWithStatement(b7, N8), o5), p4); + } + function mc3() { + let o5 = M10(), p4 = Ue10(); + J12(84); + let m7 = lt8(kt12); + J12(59); + let g5 = bn7(3, Yt8); + return Ce10(P8(y10.createCaseClause(m7, g5), o5), p4); + } + function Ou5() { + let o5 = M10(); + J12(90), J12(59); + let p4 = bn7(3, Yt8); + return P8(y10.createDefaultClause(p4), o5); + } + function Mu4() { + return u() === 84 ? mc3() : Ou5(); + } + function hc3() { + let o5 = M10(); + J12(19); + let p4 = bn7(2, Mu4); + return J12(20), P8(y10.createCaseBlock(p4), o5); + } + function Lu4() { + let o5 = M10(), p4 = Ue10(); + J12(109), J12(21); + let m7 = lt8(kt12); + J12(22); + let g5 = hc3(); + return Ce10(P8(y10.createSwitchStatement(m7, g5), o5), p4); + } + function yc3() { + let o5 = M10(), p4 = Ue10(); + J12(111); + let m7 = t26.hasPrecedingLineBreak() ? void 0 : lt8(kt12); + return m7 === void 0 && (yn9++, m7 = P8(ue11(""), M10())), oa3() || xt10(m7), Ce10(P8(y10.createThrowStatement(m7), o5), p4); + } + function Ju5() { + let o5 = M10(), p4 = Ue10(); + J12(113); + let m7 = Fr7(false), g5 = u() === 85 ? gc3() : void 0, b7; + return (!g5 || u() === 98) && (J12(98, A7.catch_or_finally_expected), b7 = Fr7(false)), Ce10(P8(y10.createTryStatement(m7, g5, b7), o5), p4); + } + function gc3() { + let o5 = M10(); + J12(85); + let p4; + Le11(21) ? (p4 = Ea5(), J12(22)) : p4 = void 0; + let m7 = Fr7(false); + return P8(y10.createCatchClause(p4, m7), o5); + } + function ju4() { + let o5 = M10(), p4 = Ue10(); + return J12(89), Qt10(), Ce10(P8(y10.createDebuggerStatement(), o5), p4); + } + function bc4() { + let o5 = M10(), p4 = Ue10(), m7, g5 = u() === 21, b7 = lt8(kt12); + return Ke11(b7) && Le11(59) ? m7 = y10.createLabeledStatement(b7, Yt8()) : (oa3() || xt10(b7), m7 = Dn7(b7), g5 && (p4 = false)), Ce10(P8(m7, o5), p4); + } + function Ms8() { + return B7(), St11(u()) && !t26.hasPrecedingLineBreak(); + } + function vc4() { + return B7(), u() === 86 && !t26.hasPrecedingLineBreak(); + } + function Tc4() { + return B7(), u() === 100 && !t26.hasPrecedingLineBreak(); + } + function Ls8() { + return B7(), (St11(u()) || u() === 9 || u() === 10 || u() === 11) && !t26.hasPrecedingLineBreak(); + } + function Ru4() { + for (; ; ) switch (u()) { + case 115: + case 121: + case 87: + case 100: + case 86: + case 94: + return true; + case 160: + return kc3(); + case 135: + return js9(); + case 120: + case 156: + case 166: + return fu4(); + case 144: + case 145: + return Fu4(); + case 128: + case 129: + case 134: + case 138: + case 123: + case 124: + case 125: + case 148: + let o5 = u(); + if (B7(), t26.hasPrecedingLineBreak()) return false; + if (o5 === 138 && u() === 156) return true; + continue; + case 162: + return B7(), u() === 19 || u() === 80 || u() === 95; + case 102: + return B7(), u() === 166 || u() === 11 || u() === 42 || u() === 19 || St11(u()); + case 95: + let p4 = B7(); + if (p4 === 156 && (p4 = H11(B7)), p4 === 64 || p4 === 42 || p4 === 19 || p4 === 90 || p4 === 130 || p4 === 60) return true; + continue; + case 126: + B7(); + continue; + default: + return false; + } + } + function Ji7() { + return H11(Ru4); + } + function xc3() { + switch (u()) { + case 60: + case 27: + case 19: + case 115: + case 121: + case 160: + case 100: + case 86: + case 94: + case 101: + case 92: + case 117: + case 99: + case 88: + case 83: + case 107: + case 118: + case 109: + case 111: + case 113: + case 89: + case 85: + case 98: + return true; + case 102: + return Ji7() || H11(lo5); + case 87: + case 95: + return Ji7(); + case 134: + case 138: + case 120: + case 144: + case 145: + case 156: + case 162: + case 166: + return true; + case 129: + case 125: + case 123: + case 124: + case 126: + case 148: + return Ji7() || !H11(Ms8); + default: + return Tr7(); + } + } + function Sc4() { + return B7(), qe11() || u() === 19 || u() === 23; + } + function Uu4() { + return H11(Sc4); + } + function wc3() { + return ka3(true); + } + function Bu3() { + return B7(), u() === 64 || u() === 27 || u() === 59; + } + function ka3(o5) { + return B7(), o5 && u() === 165 ? H11(Bu3) : (qe11() || u() === 19) && !t26.hasPrecedingLineBreak(); + } + function kc3() { + return H11(ka3); + } + function Js10(o5) { + return B7() === 160 ? ka3(o5) : false; + } + function js9() { + return H11(Js10); + } + function Yt8() { + switch (u()) { + case 27: + return lc3(); + case 19: + return Fr7(false); + case 115: + return Ui8(M10(), Ue10(), void 0); + case 121: + if (Uu4()) return Ui8(M10(), Ue10(), void 0); + break; + case 135: + if (js9()) return Ui8(M10(), Ue10(), void 0); + break; + case 160: + if (kc3()) return Ui8(M10(), Ue10(), void 0); + break; + case 100: + return Us9(M10(), Ue10(), void 0); + case 86: + return Fs9(M10(), Ue10(), void 0); + case 101: + return Pu3(); + case 92: + return uc3(); + case 117: + return Nu4(); + case 99: + return pc3(); + case 88: + return fc3(252); + case 83: + return fc3(253); + case 107: + return dc3(); + case 118: + return Iu4(); + case 109: + return Lu4(); + case 111: + return yc3(); + case 113: + case 85: + case 98: + return Ju5(); + case 89: + return ju4(); + case 60: + return ji7(); + case 134: + case 120: + case 156: + case 144: + case 145: + case 138: + case 87: + case 94: + case 95: + case 102: + case 123: + case 124: + case 125: + case 128: + case 129: + case 126: + case 148: + case 162: + if (Ji7()) return ji7(); + break; + } + return bc4(); + } + function Ec4(o5) { + return o5.kind === 138; + } + function ji7() { + let o5 = M10(), p4 = Ue10(), m7 = On7(true); + if (Zt10(m7, Ec4)) { + let b7 = qu4(o5); + if (b7) return b7; + for (let N8 of m7) N8.flags |= 33554432; + return Tt12(33554432, () => Ac3(o5, p4, m7)); + } else return Ac3(o5, p4, m7); + } + function qu4(o5) { + return Tt12(33554432, () => { + let p4 = pa5(yt10, o5); + if (p4) return J_(p4); + }); + } + function Ac3(o5, p4, m7) { + switch (u()) { + case 115: + case 121: + case 87: + case 160: + case 135: + return Ui8(o5, p4, m7); + case 100: + return Us9(o5, p4, m7); + case 86: + return Fs9(o5, p4, m7); + case 120: + return ep2(o5, p4, m7); + case 156: + return tp2(o5, p4, m7); + case 94: + return np2(o5, p4, m7); + case 162: + case 144: + case 145: + return rp2(o5, p4, m7); + case 102: + return Bi8(o5, p4, m7); + case 95: + switch (B7(), u()) { + case 90: + case 64: + return Kc2(o5, p4, m7); + case 130: + return sp2(o5, p4, m7); + default: + return Qc2(o5, p4, m7); + } + default: + if (m7) { + let g5 = Gt9(283, true, A7.Declaration_expected); + return Bp2(g5, o5), g5.modifiers = m7, g5; + } + return; + } + } + function Cc3() { + return B7() === 11; + } + function Dc2() { + return B7(), u() === 161 || u() === 64; + } + function Fu4() { + return B7(), !t26.hasPrecedingLineBreak() && (ve11() || u() === 11); + } + function Ri8(o5, p4) { + if (u() !== 19) { + if (o5 & 4) { + ya3(); + return; + } + if (_r8()) { + Qt10(); + return; + } + } + return wa4(o5, p4); + } + function zu3() { + let o5 = M10(); + if (u() === 28) return P8(y10.createOmittedExpression(), o5); + let p4 = pt10(26), m7 = si10(), g5 = xr6(); + return P8(y10.createBindingElement(p4, void 0, m7, g5), o5); + } + function Pc3() { + let o5 = M10(), p4 = pt10(26), m7 = qe11(), g5 = jr6(), b7; + m7 && u() !== 59 ? (b7 = g5, g5 = void 0) : (J12(59), b7 = si10()); + let N8 = xr6(); + return P8(y10.createBindingElement(p4, g5, b7, N8), o5); + } + function Vu4() { + let o5 = M10(); + J12(19); + let p4 = lt8(() => un8(9, Pc3)); + return J12(20), P8(y10.createObjectBindingPattern(p4), o5); + } + function Nc3() { + let o5 = M10(); + J12(23); + let p4 = lt8(() => un8(10, zu3)); + return J12(24), P8(y10.createArrayBindingPattern(p4), o5); + } + function Rs9() { + return u() === 19 || u() === 23 || u() === 81 || qe11(); + } + function si10(o5) { + return u() === 23 ? Nc3() : u() === 19 ? Vu4() : Ka4(o5); + } + function Wu2() { + return Ea5(true); + } + function Ea5(o5) { + let p4 = M10(), m7 = Ue10(), g5 = si10(A7.Private_identifiers_are_not_allowed_in_variable_declarations), b7; + o5 && g5.kind === 80 && u() === 54 && !t26.hasPrecedingLineBreak() && (b7 = Wt10()); + let N8 = vr6(), Q10 = qo4(u()) ? void 0 : xr6(), _e11 = Bn7(g5, b7, N8, Q10); + return Ce10(P8(_e11, p4), m7); + } + function Ic3(o5) { + let p4 = M10(), m7 = 0; + switch (u()) { + case 115: + break; + case 121: + m7 |= 1; + break; + case 87: + m7 |= 2; + break; + case 160: + m7 |= 4; + break; + case 135: + q10.assert(js9()), m7 |= 6, B7(); + break; + default: + q10.fail(); + } + B7(); + let g5; + if (u() === 165 && H11(Oc3)) g5 = lr8(); + else { + let b7 = me12(); + Te10(o5), g5 = un8(8, o5 ? Ea5 : Wu2), Te10(b7); + } + return P8(Pn8(g5, m7), p4); + } + function Oc3() { + return Ci8() && B7() === 22; + } + function Ui8(o5, p4, m7) { + let g5 = Ic3(false); + Qt10(); + let b7 = hn9(m7, g5); + return Ce10(P8(b7, o5), p4); + } + function Us9(o5, p4, m7) { + let g5 = Ye10(), b7 = Jn8(m7); + J12(100); + let N8 = pt10(42), Q10 = b7 & 2048 ? Li8() : Ka4(), _e11 = N8 ? 1 : 0, ee8 = b7 & 1024 ? 2 : 0, te12 = pn8(); + b7 & 32 && st8(true); + let ce9 = Xn9(_e11 | ee8), je11 = In7(59, false), Je11 = Ri8(_e11 | ee8, A7.or_expected); + st8(g5); + let De11 = y10.createFunctionDeclaration(m7, N8, Q10, te12, ce9, je11, Je11); + return Ce10(P8(De11, o5), p4); + } + function Gu3() { + if (u() === 137) return J12(137); + if (u() === 11 && H11(B7) === 21) return le9(() => { + let o5 = Hn8(); + return o5.text === "constructor" ? o5 : void 0; + }); + } + function Mc2(o5, p4, m7) { + return le9(() => { + if (Gu3()) { + let g5 = pn8(), b7 = Xn9(0), N8 = In7(59, false), Q10 = Ri8(0, A7.or_expected), _e11 = y10.createConstructorDeclaration(m7, b7, Q10); + return _e11.typeParameters = g5, _e11.type = N8, Ce10(P8(_e11, o5), p4); + } + }); + } + function Lc2(o5, p4, m7, g5, b7, N8, Q10, _e11) { + let ee8 = g5 ? 1 : 0, te12 = Zt10(m7, cl5) ? 2 : 0, ce9 = pn8(), je11 = Xn9(ee8 | te12), Je11 = In7(59, false), De11 = Ri8(ee8 | te12, _e11), Ht11 = y10.createMethodDeclaration(m7, g5, b7, N8, ce9, je11, Je11, De11); + return Ht11.exclamationToken = Q10, Ce10(P8(Ht11, o5), p4); + } + function Aa3(o5, p4, m7, g5, b7) { + let N8 = !b7 && !t26.hasPrecedingLineBreak() ? pt10(54) : void 0, Q10 = vr6(), _e11 = Ct12(90112, xr6); + ql4(g5, Q10, _e11); + let ee8 = y10.createPropertyDeclaration(m7, g5, b7 || N8, Q10, _e11); + return Ce10(P8(ee8, o5), p4); + } + function Bs10(o5, p4, m7) { + let g5 = pt10(42), b7 = jr6(), N8 = pt10(58); + return g5 || u() === 21 || u() === 30 ? Lc2(o5, p4, m7, g5, b7, N8, void 0, A7.or_expected) : Aa3(o5, p4, m7, b7, N8); + } + function _i9(o5, p4, m7, g5, b7) { + let N8 = jr6(), Q10 = pn8(), _e11 = Xn9(0), ee8 = In7(59, false), te12 = Ri8(b7), ce9 = g5 === 178 ? y10.createGetAccessorDeclaration(m7, N8, _e11, ee8, te12) : y10.createSetAccessorDeclaration(m7, N8, _e11, te12); + return ce9.typeParameters = Q10, y_(ce9) && (ce9.type = ee8), Ce10(P8(ce9, o5), p4); + } + function Jc2() { + let o5; + if (u() === 60) return true; + for (; Yr9(u()); ) { + if (o5 = u(), Ug(o5)) return true; + B7(); + } + if (u() === 42 || (br7() && (o5 = u(), B7()), u() === 23)) return true; + if (o5 !== void 0) { + if (!di10(o5) || o5 === 153 || o5 === 139) return true; + switch (u()) { + case 21: + case 30: + case 54: + case 59: + case 64: + case 58: + return true; + default: + return _r8(); + } + } + return false; + } + function Yu2(o5, p4, m7) { + Yn7(126); + let g5 = Hu3(), b7 = Ce10(P8(y10.createClassStaticBlockDeclaration(g5), o5), p4); + return b7.modifiers = m7, b7; + } + function Hu3() { + let o5 = we9(), p4 = Ye10(); + He10(false), st8(true); + let m7 = Fr7(false); + return He10(o5), st8(p4), m7; + } + function jc2() { + if (Ye10() && u() === 135) { + let o5 = M10(), p4 = gt10(A7.Expression_expected); + B7(); + let m7 = rn6(o5, p4, true); + return Ps9(o5, m7); + } + return Oi9(); + } + function Rc3() { + let o5 = M10(); + if (!Le11(60)) return; + let p4 = wi10(jc2); + return P8(y10.createDecorator(p4), o5); + } + function qs9(o5, p4, m7) { + let g5 = M10(), b7 = u(); + if (u() === 87 && p4) { + if (!le9(Za3)) return; + } else { + if (m7 && u() === 126 && H11(Da5)) return; + if (o5 && u() === 126) return; + if (!N_()) return; + } + return P8(he11(b7), g5); + } + function On7(o5, p4, m7) { + let g5 = M10(), b7, N8, Q10, _e11 = false, ee8 = false, te12 = false; + if (o5 && u() === 60) for (; N8 = Rc3(); ) b7 = wn7(b7, N8); + for (; Q10 = qs9(_e11, p4, m7); ) Q10.kind === 126 && (_e11 = true), b7 = wn7(b7, Q10), ee8 = true; + if (ee8 && o5 && u() === 60) for (; N8 = Rc3(); ) b7 = wn7(b7, N8), te12 = true; + if (te12) for (; Q10 = qs9(_e11, p4, m7); ) Q10.kind === 126 && (_e11 = true), b7 = wn7(b7, Q10); + return b7 && At12(b7, g5); + } + function Uc2() { + let o5; + if (u() === 134) { + let p4 = M10(); + B7(); + let m7 = P8(he11(134), p4); + o5 = At12([m7], p4); + } + return o5; + } + function Bc2() { + let o5 = M10(), p4 = Ue10(); + if (u() === 27) return B7(), Ce10(P8(y10.createSemicolonClassElement(), o5), p4); + let m7 = On7(true, true, true); + if (u() === 126 && H11(Da5)) return Yu2(o5, p4, m7); + if (ti10(139)) return _i9(o5, p4, m7, 178, 0); + if (ti10(153)) return _i9(o5, p4, m7, 179, 0); + if (u() === 137 || u() === 11) { + let g5 = Mc2(o5, p4, m7); + if (g5) return g5; + } + if (Br8()) return ds7(o5, p4, m7); + if (St11(u()) || u() === 11 || u() === 9 || u() === 10 || u() === 42 || u() === 23) if (Zt10(m7, Ec4)) { + for (let b7 of m7) b7.flags |= 33554432; + return Tt12(33554432, () => Bs10(o5, p4, m7)); + } else return Bs10(o5, p4, m7); + if (m7) { + let g5 = Gt9(80, true, A7.Declaration_expected); + return Aa3(o5, p4, m7, g5, void 0); + } + return q10.fail("Should not have attempted to parse class member declaration."); + } + function Xu3() { + let o5 = M10(), p4 = Ue10(), m7 = On7(true); + if (u() === 86) return zs9(o5, p4, m7, 232); + let g5 = Gt9(283, true, A7.Expression_expected); + return Bp2(g5, o5), g5.modifiers = m7, g5; + } + function $u4() { + return zs9(M10(), Ue10(), void 0, 232); + } + function Fs9(o5, p4, m7) { + return zs9(o5, p4, m7, 264); + } + function zs9(o5, p4, m7, g5) { + let b7 = Ye10(); + J12(86); + let N8 = Qu2(), Q10 = pn8(); + Zt10(m7, Ub) && st8(true); + let _e11 = Fc2(), ee8; + J12(19) ? (ee8 = zc3(), J12(20)) : ee8 = lr8(), st8(b7); + let te12 = g5 === 264 ? y10.createClassDeclaration(m7, N8, Q10, _e11, ee8) : y10.createClassExpression(m7, N8, Q10, _e11, ee8); + return Ce10(P8(te12, o5), p4); + } + function Qu2() { + return qe11() && !qc3() ? or9(qe11()) : void 0; + } + function qc3() { + return u() === 119 && H11(Xl4); + } + function Fc2() { + if (Vs7()) return bn7(22, Ku4); + } + function Ku4() { + let o5 = M10(), p4 = u(); + q10.assert(p4 === 96 || p4 === 119), B7(); + let m7 = un8(7, Zu2); + return P8(y10.createHeritageClause(p4, m7), o5); + } + function Zu2() { + let o5 = M10(), p4 = Oi9(); + if (p4.kind === 234) return p4; + let m7 = Ca3(); + return P8(y10.createExpressionWithTypeArguments(p4, m7), o5); + } + function Ca3() { + return u() === 30 ? Rr7(20, _t9, 30, 32) : void 0; + } + function Vs7() { + return u() === 96 || u() === 119; + } + function zc3() { + return bn7(5, Bc2); + } + function ep2(o5, p4, m7) { + J12(120); + let g5 = gt10(), b7 = pn8(), N8 = Fc2(), Q10 = po6(), _e11 = y10.createInterfaceDeclaration(m7, g5, b7, N8, Q10); + return Ce10(P8(_e11, o5), p4); + } + function tp2(o5, p4, m7) { + J12(156), t26.hasPrecedingLineBreak() && Ee9(A7.Line_break_not_permitted_here); + let g5 = gt10(), b7 = pn8(); + J12(64); + let N8 = u() === 141 && le9(bo5) || _t9(); + Qt10(); + let Q10 = y10.createTypeAliasDeclaration(m7, g5, b7, N8); + return Ce10(P8(Q10, o5), p4); + } + function Ws8() { + let o5 = M10(), p4 = Ue10(), m7 = jr6(), g5 = lt8(xr6); + return Ce10(P8(y10.createEnumMember(m7, g5), o5), p4); + } + function np2(o5, p4, m7) { + J12(94); + let g5 = gt10(), b7; + J12(19) ? (b7 = xe10(() => un8(6, Ws8)), J12(20)) : b7 = lr8(); + let N8 = y10.createEnumDeclaration(m7, g5, b7); + return Ce10(P8(N8, o5), p4); + } + function Gs8() { + let o5 = M10(), p4; + return J12(19) ? (p4 = bn7(1, Yt8), J12(20)) : p4 = lr8(), P8(y10.createModuleBlock(p4), o5); + } + function Vc3(o5, p4, m7, g5) { + let b7 = g5 & 32, N8 = g5 & 8 ? jt8() : gt10(), Q10 = Le11(25) ? Vc3(M10(), false, void 0, 8 | b7) : Gs8(), _e11 = y10.createModuleDeclaration(m7, N8, Q10, g5); + return Ce10(P8(_e11, o5), p4); + } + function Wc2(o5, p4, m7) { + let g5 = 0, b7; + u() === 162 ? (b7 = gt10(), g5 |= 2048) : (b7 = Hn8(), b7.text = Jr6(b7.text)); + let N8; + u() === 19 ? N8 = Gs8() : Qt10(); + let Q10 = y10.createModuleDeclaration(m7, b7, N8, g5); + return Ce10(P8(Q10, o5), p4); + } + function rp2(o5, p4, m7) { + let g5 = 0; + if (u() === 162) return Wc2(o5, p4, m7); + if (Le11(145)) g5 |= 32; + else if (J12(144), u() === 11) return Wc2(o5, p4, m7); + return Vc3(o5, p4, m7, g5); + } + function ip2() { + return u() === 149 && H11(Gc2); + } + function Gc2() { + return B7() === 21; + } + function Da5() { + return B7() === 19; + } + function ap2() { + return B7() === 44; + } + function sp2(o5, p4, m7) { + J12(130), J12(145); + let g5 = gt10(); + Qt10(); + let b7 = y10.createNamespaceExportDeclaration(g5); + return b7.modifiers = m7, Ce10(P8(b7, o5), p4); + } + function Bi8(o5, p4, m7) { + J12(102); + let g5 = t26.getTokenFullStart(), b7; + ve11() && (b7 = gt10()); + let N8; + if (b7?.escapedText === "type" && (u() !== 161 || ve11() && H11(Dc2)) && (ve11() || zr8()) ? (N8 = 156, b7 = ve11() ? gt10() : void 0) : b7?.escapedText === "defer" && (u() === 161 ? !H11(Cc3) : u() !== 28 && u() !== 64) && (N8 = 166, b7 = ve11() ? gt10() : void 0), b7 && !op2() && N8 !== 166) return cp2(o5, p4, m7, b7, N8 === 156); + let Q10 = Yc3(b7, g5, N8, void 0), _e11 = Fi8(), ee8 = Hc2(); + Qt10(); + let te12 = y10.createImportDeclaration(m7, Q10, _e11, ee8); + return Ce10(P8(te12, o5), p4); + } + function Yc3(o5, p4, m7, g5 = false) { + let b7; + return (o5 || u() === 42 || u() === 19) && (b7 = lp2(o5, p4, m7, g5), J12(161)), b7; + } + function Hc2() { + let o5 = u(); + if ((o5 === 118 || o5 === 132) && !t26.hasPrecedingLineBreak()) return Ys9(o5); + } + function _p3() { + let o5 = M10(), p4 = St11(u()) ? jt8() : ri10(11); + J12(59); + let m7 = zt10(true); + return P8(y10.createImportAttribute(p4, m7), o5); + } + function Ys9(o5, p4) { + let m7 = M10(); + p4 || J12(o5); + let g5 = t26.getTokenStart(); + if (J12(19)) { + let b7 = t26.hasPrecedingLineBreak(), N8 = un8(24, _p3, true); + if (!J12(20)) { + let Q10 = Ba5(at11); + Q10 && Q10.code === A7._0_expected.code && sl5(Q10, Oa4(Mt12, $e11, g5, 1, A7.The_parser_expected_to_find_a_1_to_match_the_0_token_here, "{", "}")); + } + return P8(y10.createImportAttributes(N8, b7, o5), m7); + } else { + let b7 = At12([], M10(), void 0, false); + return P8(y10.createImportAttributes(b7, false, o5), m7); + } + } + function zr8() { + return u() === 42 || u() === 19; + } + function op2() { + return u() === 28 || u() === 161; + } + function cp2(o5, p4, m7, g5, b7) { + J12(64); + let N8 = qi8(); + Qt10(); + let Q10 = y10.createImportEqualsDeclaration(m7, b7, g5, N8); + return Ce10(P8(Q10, o5), p4); + } + function lp2(o5, p4, m7, g5) { + let b7; + return (!o5 || Le11(28)) && (g5 && t26.setSkipJsDocLeadingAsterisks(true), u() === 42 ? b7 = pp2() : b7 = Xc2(276), g5 && t26.setSkipJsDocLeadingAsterisks(false)), P8(y10.createImportClause(m7, o5, b7), p4); + } + function qi8() { + return ip2() ? up2() : Ur8(false); + } + function up2() { + let o5 = M10(); + J12(149), J12(21); + let p4 = Fi8(); + return J12(22), P8(y10.createExternalModuleReference(p4), o5); + } + function Fi8() { + if (u() === 11) { + let o5 = Hn8(); + return o5.text = Jr6(o5.text), o5; + } else return kt12(); + } + function pp2() { + let o5 = M10(); + J12(42), J12(130); + let p4 = gt10(); + return P8(y10.createNamespaceImport(p4), o5); + } + function Hs9() { + return St11(u()) || u() === 11; + } + function oi10(o5) { + return u() === 11 ? Hn8() : o5(); + } + function Xc2(o5) { + let p4 = M10(), m7 = o5 === 276 ? y10.createNamedImports(Rr7(23, fp2, 19, 20)) : y10.createNamedExports(Rr7(23, ci10, 19, 20)); + return P8(m7, p4); + } + function ci10() { + let o5 = Ue10(); + return Ce10($c2(282), o5); + } + function fp2() { + return $c2(277); + } + function $c2(o5) { + let p4 = M10(), m7 = di10(u()) && !ve11(), g5 = t26.getTokenStart(), b7 = t26.getTokenEnd(), N8 = false, Q10, _e11 = true, ee8 = oi10(jt8); + if (ee8.kind === 80 && ee8.escapedText === "type") if (u() === 130) { + let je11 = jt8(); + if (u() === 130) { + let Je11 = jt8(); + Hs9() ? (N8 = true, Q10 = je11, ee8 = oi10(ce9), _e11 = false) : (Q10 = ee8, ee8 = Je11, _e11 = false); + } else Hs9() ? (Q10 = ee8, _e11 = false, ee8 = oi10(ce9)) : (N8 = true, ee8 = je11); + } else Hs9() && (N8 = true, ee8 = oi10(ce9)); + _e11 && u() === 130 && (Q10 = ee8, J12(130), ee8 = oi10(ce9)), o5 === 277 && (ee8.kind !== 80 ? (rt12(Cr6($e11, ee8.pos), ee8.end, A7.Identifier_expected), ee8 = yi9(Gt9(80, false), ee8.pos, ee8.pos)) : m7 && rt12(g5, b7, A7.Identifier_expected)); + let te12 = o5 === 277 ? y10.createImportSpecifier(N8, Q10, ee8) : y10.createExportSpecifier(N8, Q10, ee8); + return P8(te12, p4); + function ce9() { + return m7 = di10(u()) && !ve11(), g5 = t26.getTokenStart(), b7 = t26.getTokenEnd(), jt8(); + } + } + function dp2(o5) { + return P8(y10.createNamespaceExport(oi10(jt8)), o5); + } + function Qc2(o5, p4, m7) { + let g5 = Ye10(); + st8(true); + let b7, N8, Q10, _e11 = Le11(156), ee8 = M10(); + Le11(42) ? (Le11(130) && (b7 = dp2(ee8)), J12(161), N8 = Fi8()) : (b7 = Xc2(280), (u() === 161 || u() === 11 && !t26.hasPrecedingLineBreak()) && (J12(161), N8 = Fi8())); + let te12 = u(); + N8 && (te12 === 118 || te12 === 132) && !t26.hasPrecedingLineBreak() && (Q10 = Ys9(te12)), Qt10(), st8(g5); + let ce9 = y10.createExportDeclaration(m7, _e11, b7, N8, Q10); + return Ce10(P8(ce9, o5), p4); + } + function Kc2(o5, p4, m7) { + let g5 = Ye10(); + st8(true); + let b7; + Le11(64) ? b7 = true : J12(90); + let N8 = zt10(true); + Qt10(), st8(g5); + let Q10 = y10.createExportAssignment(m7, b7, N8); + return Ce10(P8(Q10, o5), p4); + } + let Xs8; + ((o5) => { + o5[o5.SourceElements = 0] = "SourceElements", o5[o5.BlockStatements = 1] = "BlockStatements", o5[o5.SwitchClauses = 2] = "SwitchClauses", o5[o5.SwitchClauseStatements = 3] = "SwitchClauseStatements", o5[o5.TypeMembers = 4] = "TypeMembers", o5[o5.ClassMembers = 5] = "ClassMembers", o5[o5.EnumMembers = 6] = "EnumMembers", o5[o5.HeritageClauseElement = 7] = "HeritageClauseElement", o5[o5.VariableDeclarations = 8] = "VariableDeclarations", o5[o5.ObjectBindingElements = 9] = "ObjectBindingElements", o5[o5.ArrayBindingElements = 10] = "ArrayBindingElements", o5[o5.ArgumentExpressions = 11] = "ArgumentExpressions", o5[o5.ObjectLiteralMembers = 12] = "ObjectLiteralMembers", o5[o5.JsxAttributes = 13] = "JsxAttributes", o5[o5.JsxChildren = 14] = "JsxChildren", o5[o5.ArrayLiteralMembers = 15] = "ArrayLiteralMembers", o5[o5.Parameters = 16] = "Parameters", o5[o5.JSDocParameters = 17] = "JSDocParameters", o5[o5.RestProperties = 18] = "RestProperties", o5[o5.TypeParameters = 19] = "TypeParameters", o5[o5.TypeArguments = 20] = "TypeArguments", o5[o5.TupleElementTypes = 21] = "TupleElementTypes", o5[o5.HeritageClauses = 22] = "HeritageClauses", o5[o5.ImportOrExportSpecifiers = 23] = "ImportOrExportSpecifiers", o5[o5.ImportAttributes = 24] = "ImportAttributes", o5[o5.JSDocComment = 25] = "JSDocComment", o5[o5.Count = 26] = "Count"; + })(Xs8 || (Xs8 = {})); + let Zc2; + ((o5) => { + o5[o5.False = 0] = "False", o5[o5.True = 1] = "True", o5[o5.Unknown = 2] = "Unknown"; + })(Zc2 || (Zc2 = {})); + let el5; + ((o5) => { + function p4(te12, ce9, je11) { + Fn6("file.js", te12, 99, void 0, 1, 0), t26.setText(te12, ce9, je11), ct9 = t26.scan(); + let Je11 = m7(), De11 = se11("file.js", 99, 1, false, [], he11(1), 0, Va4), Ht11 = Yi8(at11, De11); + return Bt10 && (De11.jsDocDiagnostics = Yi8(Bt10, De11)), zn9(), Je11 ? { jsDocTypeExpression: Je11, diagnostics: Ht11 } : void 0; + } + o5.parseJSDocTypeExpressionForTests = p4; + function m7(te12) { + let ce9 = M10(), je11 = (te12 ? Le11 : J12)(19), Je11 = Tt12(16777216, ls7); + (!te12 || je11) && C_(20); + let De11 = y10.createJSDocTypeExpression(Je11); + return L9(De11), P8(De11, ce9); + } + o5.parseJSDocTypeExpression = m7; + function g5() { + let te12 = M10(), ce9 = Le11(19), je11 = M10(), Je11 = Ur8(false); + for (; u() === 81; ) Pt12(), Be10(), Je11 = P8(y10.createJSDocMemberName(Je11, gt10()), je11); + ce9 && C_(20); + let De11 = y10.createJSDocNameReference(Je11); + return L9(De11), P8(De11, te12); + } + o5.parseJSDocNameReference = g5; + function b7(te12, ce9, je11) { + Fn6("", te12, 99, void 0, 1, 0); + let Je11 = Tt12(16777216, () => ee8(ce9, je11)), Ht11 = Yi8(at11, { languageVariant: 0, text: te12 }); + return zn9(), Je11 ? { jsDoc: Je11, diagnostics: Ht11 } : void 0; + } + o5.parseIsolatedJSDocComment = b7; + function N8(te12, ce9, je11) { + let Je11 = ct9, De11 = at11.length, Ht11 = tn8, Nt12 = Tt12(16777216, () => ee8(ce9, je11)); + return Sf2(Nt12, te12), tt11 & 524288 && (Bt10 || (Bt10 = []), En8(Bt10, at11, De11)), ct9 = Je11, at11.length = De11, tn8 = Ht11, Nt12; + } + o5.parseJSDocComment = N8; + let Q10; + ((te12) => { + te12[te12.BeginningOfLine = 0] = "BeginningOfLine", te12[te12.SawAsterisk = 1] = "SawAsterisk", te12[te12.SavingComments = 2] = "SavingComments", te12[te12.SavingBackticks = 3] = "SavingBackticks"; + })(Q10 || (Q10 = {})); + let _e11; + ((te12) => { + te12[te12.Property = 1] = "Property", te12[te12.Parameter = 2] = "Parameter", te12[te12.CallbackParameter = 4] = "CallbackParameter"; + })(_e11 || (_e11 = {})); + function ee8(te12 = 0, ce9) { + let je11 = $e11, Je11 = ce9 === void 0 ? je11.length : te12 + ce9; + if (ce9 = Je11 - te12, q10.assert(te12 >= 0), q10.assert(te12 <= Je11), q10.assert(Je11 <= je11.length), !E6(je11, te12)) return; + let De11, Ht11, Nt12, ur9, pr8, Mn6 = [], Vr8 = [], Pe10 = yt10; + yt10 |= 1 << 25; + let et11 = t26.scanRange(te12 + 3, ce9 - 5, wr6); + return yt10 = Pe10, et11; + function wr6() { + let I8 = 1, X11, $11 = te12 - (je11.lastIndexOf(` +`, te12) + 1) + 4; + function ne11(Re11) { + X11 || (X11 = $11), Mn6.push(Re11), $11 += Re11.length; + } + for (Be10(); Gi8(5); ) ; + Gi8(4) && (I8 = 0, $11 = 0); + e: for (; ; ) { + switch (u()) { + case 60: + mp2(Mn6), pr8 || (pr8 = M10()), Fe10(n5($11)), I8 = 0, X11 = void 0; + break; + case 4: + Mn6.push(t26.getTokenText()), I8 = 0, $11 = 0; + break; + case 42: + let Re11 = t26.getTokenText(); + I8 === 1 ? (I8 = 2, ne11(Re11)) : (q10.assert(I8 === 0), I8 = 1, $11 += Re11.length); + break; + case 5: + q10.assert(I8 !== 2, "whitespace shouldn't come from the scanner while saving top-level comment text"); + let ut10 = t26.getTokenText(); + X11 !== void 0 && $11 + ut10.length > X11 && Mn6.push(ut10.slice(X11 - $11)), $11 += ut10.length; + break; + case 1: + break e; + case 82: + I8 = 2, ne11(t26.getTokenValue()); + break; + case 19: + I8 = 2; + let fn9 = t26.getTokenFullStart(), an8 = t26.getTokenEnd() - 1, Kt9 = l5(an8); + if (Kt9) { + ur9 || zi8(Mn6), Vr8.push(P8(y10.createJSDocText(Mn6.join("")), ur9 ?? te12, fn9)), Vr8.push(Kt9), Mn6 = [], ur9 = t26.getTokenEnd(); + break; + } + default: + I8 = 2, ne11(t26.getTokenText()); + break; + } + I8 === 2 ? nn10(false) : Be10(); + } + let re9 = Mn6.join("").trimEnd(); + Vr8.length && re9.length && Vr8.push(P8(y10.createJSDocText(re9), ur9 ?? te12, pr8)), Vr8.length && De11 && q10.assertIsDefined(pr8, "having parsed tags implies that the end of the comment span should be set"); + let Ne10 = De11 && At12(De11, Ht11, Nt12); + return P8(y10.createJSDocComment(Vr8.length ? At12(Vr8, te12, pr8) : re9.length ? re9 : void 0, Ne10), te12, Je11); + } + function zi8(I8) { + for (; I8.length && (I8[0] === ` +` || I8[0] === "\r"); ) I8.shift(); + } + function mp2(I8) { + for (; I8.length; ) { + let X11 = I8[I8.length - 1].trimEnd(); + if (X11 === "") I8.pop(); + else if (X11.length < I8[I8.length - 1].length) { + I8[I8.length - 1] = X11; + break; + } else break; + } + } + function $n8() { + for (; ; ) { + if (Be10(), u() === 1) return true; + if (!(u() === 5 || u() === 4)) return false; + } + } + function Tn7() { + if (!((u() === 5 || u() === 4) && H11($n8))) for (; u() === 5 || u() === 4; ) Be10(); + } + function j9() { + if ((u() === 5 || u() === 4) && H11($n8)) return ""; + let I8 = t26.hasPrecedingLineBreak(), X11 = false, $11 = ""; + for (; I8 && u() === 42 || u() === 5 || u() === 4; ) $11 += t26.getTokenText(), u() === 4 ? (I8 = true, X11 = true, $11 = "") : u() === 42 && (I8 = false), Be10(); + return X11 ? $11 : ""; + } + function n5(I8) { + q10.assert(u() === 60); + let X11 = t26.getTokenStart(); + Be10(); + let $11 = li10(void 0), ne11 = j9(), re9; + switch ($11.escapedText) { + case "author": + re9 = j0(X11, $11, I8, ne11); + break; + case "implements": + re9 = U0(X11, $11, I8, ne11); + break; + case "augments": + case "extends": + re9 = B0(X11, $11, I8, ne11); + break; + case "class": + case "constructor": + re9 = Wi8(X11, y10.createJSDocClassTag, $11, I8, ne11); + break; + case "public": + re9 = Wi8(X11, y10.createJSDocPublicTag, $11, I8, ne11); + break; + case "private": + re9 = Wi8(X11, y10.createJSDocPrivateTag, $11, I8, ne11); + break; + case "protected": + re9 = Wi8(X11, y10.createJSDocProtectedTag, $11, I8, ne11); + break; + case "readonly": + re9 = Wi8(X11, y10.createJSDocReadonlyTag, $11, I8, ne11); + break; + case "override": + re9 = Wi8(X11, y10.createJSDocOverrideTag, $11, I8, ne11); + break; + case "deprecated": + Vn7 = true, re9 = Wi8(X11, y10.createJSDocDeprecatedTag, $11, I8, ne11); + break; + case "this": + re9 = fd(X11, $11, I8, ne11); + break; + case "enum": + re9 = V0(X11, $11, I8, ne11); + break; + case "arg": + case "argument": + case "param": + return Vi8(X11, $11, 2, I8); + case "return": + case "returns": + re9 = M0(X11, $11, I8, ne11); + break; + case "template": + re9 = md(X11, $11, I8, ne11); + break; + case "type": + re9 = ud(X11, $11, I8, ne11); + break; + case "typedef": + re9 = W0(X11, $11, I8, ne11); + break; + case "callback": + re9 = Y0(X11, $11, I8, ne11); + break; + case "overload": + re9 = H0(X11, $11, I8, ne11); + break; + case "satisfies": + re9 = q0(X11, $11, I8, ne11); + break; + case "see": + re9 = L0(X11, $11, I8, ne11); + break; + case "exception": + case "throws": + re9 = J0(X11, $11, I8, ne11); + break; + case "import": + re9 = F0(X11, $11, I8, ne11); + break; + default: + re9 = pe9(X11, $11, I8, ne11); + break; + } + return re9; + } + function i5(I8, X11, $11, ne11) { + return ne11 || ($11 += X11 - I8), s5($11, ne11.slice($11)); + } + function s5(I8, X11) { + let $11 = M10(), ne11 = [], re9 = [], Ne10, Re11 = 0, ut10; + function fn9(Qn8) { + ut10 || (ut10 = I8), ne11.push(Qn8), I8 += Qn8.length; + } + X11 !== void 0 && (X11 !== "" && fn9(X11), Re11 = 1); + let an8 = u(); + e: for (; ; ) { + switch (an8) { + case 4: + Re11 = 0, ne11.push(t26.getTokenText()), I8 = 0; + break; + case 60: + t26.resetTokenState(t26.getTokenEnd() - 1); + break e; + case 1: + break e; + case 5: + q10.assert(Re11 !== 2 && Re11 !== 3, "whitespace shouldn't come from the scanner while saving comment text"); + let Qn8 = t26.getTokenText(); + ut10 !== void 0 && I8 + Qn8.length > ut10 && (ne11.push(Qn8.slice(ut10 - I8)), Re11 = 2), I8 += Qn8.length; + break; + case 19: + Re11 = 2; + let tl4 = t26.getTokenFullStart(), Pa5 = t26.getTokenEnd() - 1, nl6 = l5(Pa5); + nl6 ? (re9.push(P8(y10.createJSDocText(ne11.join("")), Ne10 ?? $11, tl4)), re9.push(nl6), ne11 = [], Ne10 = t26.getTokenEnd()) : fn9(t26.getTokenText()); + break; + case 62: + Re11 === 3 ? Re11 = 2 : Re11 = 3, fn9(t26.getTokenText()); + break; + case 82: + Re11 !== 3 && (Re11 = 2), fn9(t26.getTokenValue()); + break; + case 42: + if (Re11 === 0) { + Re11 = 1, I8 += 1; + break; + } + default: + Re11 !== 3 && (Re11 = 2), fn9(t26.getTokenText()); + break; + } + Re11 === 2 || Re11 === 3 ? an8 = nn10(Re11 === 3) : an8 = Be10(); + } + zi8(ne11); + let Kt9 = ne11.join("").trimEnd(); + if (re9.length) return Kt9.length && re9.push(P8(y10.createJSDocText(Kt9), Ne10 ?? $11)), At12(re9, $11, t26.getTokenEnd()); + if (Kt9.length) return Kt9; + } + function l5(I8) { + let X11 = le9(v9); + if (!X11) return; + Be10(), Tn7(); + let $11 = d5(), ne11 = []; + for (; u() !== 20 && u() !== 4 && u() !== 1; ) ne11.push(t26.getTokenText()), Be10(); + let re9 = X11 === "link" ? y10.createJSDocLink : X11 === "linkcode" ? y10.createJSDocLinkCode : y10.createJSDocLinkPlain; + return P8(re9($11, ne11.join("")), I8, t26.getTokenEnd()); + } + function d5() { + if (St11(u())) { + let I8 = M10(), X11 = jt8(); + for (; Le11(25); ) X11 = P8(y10.createQualifiedName(X11, u() === 81 ? Gt9(80, false) : jt8()), I8); + for (; u() === 81; ) Pt12(), Be10(), X11 = P8(y10.createJSDocMemberName(X11, gt10()), I8); + return X11; + } + } + function v9() { + if (j9(), u() === 19 && Be10() === 60 && St11(Be10())) { + let I8 = t26.getTokenValue(); + if (F10(I8)) return I8; + } + } + function F10(I8) { + return I8 === "link" || I8 === "linkcode" || I8 === "linkplain"; + } + function pe9(I8, X11, $11, ne11) { + return P8(y10.createJSDocUnknownTag(X11, i5(I8, M10(), $11, ne11)), I8); + } + function Fe10(I8) { + I8 && (De11 ? De11.push(I8) : (De11 = [I8], Ht11 = I8.pos), Nt12 = I8.end); + } + function It11() { + return j9(), u() === 19 ? m7() : void 0; + } + function fr10() { + let I8 = Gi8(23); + I8 && Tn7(); + let X11 = Gi8(62), $11 = ey(); + return X11 && zl4(62), I8 && (Tn7(), pt10(64) && kt12(), J12(24)), { name: $11, isBracketed: I8 }; + } + function xn8(I8) { + switch (I8.kind) { + case 151: + return true; + case 189: + return xn8(I8.elementType); + default: + return Df3(I8) && Ke11(I8.typeName) && I8.typeName.escapedText === "Object" && !I8.typeArguments; + } + } + function Vi8(I8, X11, $11, ne11) { + let re9 = It11(), Ne10 = !re9; + j9(); + let { name: Re11, isBracketed: ut10 } = fr10(), fn9 = j9(); + Ne10 && !H11(v9) && (re9 = It11()); + let an8 = i5(I8, M10(), ne11, fn9), Kt9 = O0(re9, Re11, $11, ne11); + Kt9 && (re9 = Kt9, Ne10 = true); + let Qn8 = $11 === 1 ? y10.createJSDocPropertyTag(X11, Re11, ut10, re9, Ne10, an8) : y10.createJSDocParameterTag(X11, Re11, ut10, re9, Ne10, an8); + return P8(Qn8, I8); + } + function O0(I8, X11, $11, ne11) { + if (I8 && xn8(I8.type)) { + let re9 = M10(), Ne10, Re11; + for (; Ne10 = le9(() => yp3($11, ne11, X11)); ) Ne10.kind === 342 || Ne10.kind === 349 ? Re11 = wn7(Re11, Ne10) : Ne10.kind === 346 && on8(Ne10.tagName, A7.A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag); + if (Re11) { + let ut10 = P8(y10.createJSDocTypeLiteral(Re11, I8.type.kind === 189), re9); + return P8(y10.createJSDocTypeExpression(ut10), re9); + } + } + } + function M0(I8, X11, $11, ne11) { + Zt10(De11, f6) && rt12(X11.pos, t26.getTokenStart(), A7._0_tag_already_specified, l_(X11.escapedText)); + let re9 = It11(); + return P8(y10.createJSDocReturnTag(X11, re9, i5(I8, M10(), $11, ne11)), I8); + } + function ud(I8, X11, $11, ne11) { + Zt10(De11, zf2) && rt12(X11.pos, t26.getTokenStart(), A7._0_tag_already_specified, l_(X11.escapedText)); + let re9 = m7(true), Ne10 = $11 !== void 0 && ne11 !== void 0 ? i5(I8, M10(), $11, ne11) : void 0; + return P8(y10.createJSDocTypeTag(X11, re9, Ne10), I8); + } + function L0(I8, X11, $11, ne11) { + let Ne10 = u() === 23 || H11(() => Be10() === 60 && St11(Be10()) && F10(t26.getTokenValue())) ? void 0 : g5(), Re11 = $11 !== void 0 && ne11 !== void 0 ? i5(I8, M10(), $11, ne11) : void 0; + return P8(y10.createJSDocSeeTag(X11, Ne10, Re11), I8); + } + function J0(I8, X11, $11, ne11) { + let re9 = It11(), Ne10 = i5(I8, M10(), $11, ne11); + return P8(y10.createJSDocThrowsTag(X11, re9, Ne10), I8); + } + function j0(I8, X11, $11, ne11) { + let re9 = M10(), Ne10 = R0(), Re11 = t26.getTokenFullStart(), ut10 = i5(I8, Re11, $11, ne11); + ut10 || (Re11 = t26.getTokenFullStart()); + let fn9 = typeof ut10 != "string" ? At12(Yp2([P8(Ne10, re9, Re11)], ut10), re9) : Ne10.text + ut10; + return P8(y10.createJSDocAuthorTag(X11, fn9), I8); + } + function R0() { + let I8 = [], X11 = false, $11 = t26.getToken(); + for (; $11 !== 1 && $11 !== 4; ) { + if ($11 === 30) X11 = true; + else { + if ($11 === 60 && !X11) break; + if ($11 === 32 && X11) { + I8.push(t26.getTokenText()), t26.resetTokenState(t26.getTokenEnd()); + break; + } + } + I8.push(t26.getTokenText()), $11 = Be10(); + } + return y10.createJSDocText(I8.join("")); + } + function U0(I8, X11, $11, ne11) { + let re9 = pd(); + return P8(y10.createJSDocImplementsTag(X11, re9, i5(I8, M10(), $11, ne11)), I8); + } + function B0(I8, X11, $11, ne11) { + let re9 = pd(); + return P8(y10.createJSDocAugmentsTag(X11, re9, i5(I8, M10(), $11, ne11)), I8); + } + function q0(I8, X11, $11, ne11) { + let re9 = m7(false), Ne10 = $11 !== void 0 && ne11 !== void 0 ? i5(I8, M10(), $11, ne11) : void 0; + return P8(y10.createJSDocSatisfiesTag(X11, re9, Ne10), I8); + } + function F0(I8, X11, $11, ne11) { + let re9 = t26.getTokenFullStart(), Ne10; + ve11() && (Ne10 = gt10()); + let Re11 = Yc3(Ne10, re9, 156, true), ut10 = Fi8(), fn9 = Hc2(), an8 = $11 !== void 0 && ne11 !== void 0 ? i5(I8, M10(), $11, ne11) : void 0; + return P8(y10.createJSDocImportTag(X11, Re11, ut10, fn9, an8), I8); + } + function pd() { + let I8 = Le11(19), X11 = M10(), $11 = z0(); + t26.setSkipJsDocLeadingAsterisks(true); + let ne11 = Ca3(); + t26.setSkipJsDocLeadingAsterisks(false); + let re9 = y10.createExpressionWithTypeArguments($11, ne11), Ne10 = P8(re9, X11); + return I8 && (Tn7(), J12(20)), Ne10; + } + function z0() { + let I8 = M10(), X11 = li10(); + for (; Le11(25); ) { + let $11 = li10(); + X11 = P8(ae9(X11, $11), I8); + } + return X11; + } + function Wi8(I8, X11, $11, ne11, re9) { + return P8(X11($11, i5(I8, M10(), ne11, re9)), I8); + } + function fd(I8, X11, $11, ne11) { + let re9 = m7(true); + return Tn7(), P8(y10.createJSDocThisTag(X11, re9, i5(I8, M10(), $11, ne11)), I8); + } + function V0(I8, X11, $11, ne11) { + let re9 = m7(true); + return Tn7(), P8(y10.createJSDocEnumTag(X11, re9, i5(I8, M10(), $11, ne11)), I8); + } + function W0(I8, X11, $11, ne11) { + let re9 = It11(); + j9(); + let Ne10 = hp2(); + Tn7(); + let Re11 = s5($11), ut10; + if (!re9 || xn8(re9.type)) { + let an8, Kt9, Qn8, tl4 = false; + for (; (an8 = le9(() => $0($11))) && an8.kind !== 346; ) if (tl4 = true, an8.kind === 345) if (Kt9) { + let Pa5 = Ee9(A7.A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags); + Pa5 && sl5(Pa5, Oa4(Mt12, $e11, 0, 0, A7.The_tag_was_first_specified_here)); + break; + } else Kt9 = an8; + else Qn8 = wn7(Qn8, an8); + if (tl4) { + let Pa5 = re9 && re9.type.kind === 189, nl6 = y10.createJSDocTypeLiteral(Qn8, Pa5); + re9 = Kt9 && Kt9.typeExpression && !xn8(Kt9.typeExpression.type) ? Kt9.typeExpression : P8(nl6, I8), ut10 = re9.end; + } + } + ut10 = ut10 || Re11 !== void 0 ? M10() : (Ne10 ?? re9 ?? X11).end, Re11 || (Re11 = i5(I8, ut10, $11, ne11)); + let fn9 = y10.createJSDocTypedefTag(X11, re9, Ne10, Re11); + return P8(fn9, I8, ut10); + } + function hp2(I8) { + let X11 = t26.getTokenStart(); + if (!St11(u())) return; + let $11 = li10(); + if (Le11(25)) { + let ne11 = hp2(true), re9 = y10.createModuleDeclaration(void 0, $11, ne11, I8 ? 8 : void 0); + return P8(re9, X11); + } + return I8 && ($11.flags |= 4096), $11; + } + function G0(I8) { + let X11 = M10(), $11, ne11; + for (; $11 = le9(() => yp3(4, I8)); ) { + if ($11.kind === 346) { + on8($11.tagName, A7.A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag); + break; + } + ne11 = wn7(ne11, $11); + } + return At12(ne11 || [], X11); + } + function dd(I8, X11) { + let $11 = G0(X11), ne11 = le9(() => { + if (Gi8(60)) { + let re9 = n5(X11); + if (re9 && re9.kind === 343) return re9; + } + }); + return P8(y10.createJSDocSignature(void 0, $11, ne11), I8); + } + function Y0(I8, X11, $11, ne11) { + let re9 = hp2(); + Tn7(); + let Ne10 = s5($11), Re11 = dd(I8, $11); + Ne10 || (Ne10 = i5(I8, M10(), $11, ne11)); + let ut10 = Ne10 !== void 0 ? M10() : Re11.end; + return P8(y10.createJSDocCallbackTag(X11, Re11, re9, Ne10), I8, ut10); + } + function H0(I8, X11, $11, ne11) { + Tn7(); + let re9 = s5($11), Ne10 = dd(I8, $11); + re9 || (re9 = i5(I8, M10(), $11, ne11)); + let Re11 = re9 !== void 0 ? M10() : Ne10.end; + return P8(y10.createJSDocOverloadTag(X11, Ne10, re9), I8, Re11); + } + function X0(I8, X11) { + for (; !Ke11(I8) || !Ke11(X11); ) if (!Ke11(I8) && !Ke11(X11) && I8.right.escapedText === X11.right.escapedText) I8 = I8.left, X11 = X11.left; + else return false; + return I8.escapedText === X11.escapedText; + } + function $0(I8) { + return yp3(1, I8); + } + function yp3(I8, X11, $11) { + let ne11 = true, re9 = false; + for (; ; ) switch (Be10()) { + case 60: + if (ne11) { + let Ne10 = Q0(I8, X11); + return Ne10 && (Ne10.kind === 342 || Ne10.kind === 349) && $11 && (Ke11(Ne10.name) || !X0($11, Ne10.name.left)) ? false : Ne10; + } + re9 = false; + break; + case 4: + ne11 = true, re9 = false; + break; + case 42: + re9 && (ne11 = false), re9 = true; + break; + case 80: + ne11 = false; + break; + case 1: + return false; + } + } + function Q0(I8, X11) { + q10.assert(u() === 60); + let $11 = t26.getTokenFullStart(); + Be10(); + let ne11 = li10(), re9 = j9(), Ne10; + switch (ne11.escapedText) { + case "type": + return I8 === 1 && ud($11, ne11); + case "prop": + case "property": + Ne10 = 1; + break; + case "arg": + case "argument": + case "param": + Ne10 = 6; + break; + case "template": + return md($11, ne11, X11, re9); + case "this": + return fd($11, ne11, X11, re9); + default: + return false; + } + return I8 & Ne10 ? Vi8($11, ne11, I8, X11) : false; + } + function K0() { + let I8 = M10(), X11 = Gi8(23); + X11 && Tn7(); + let $11 = On7(false, true), ne11 = li10(A7.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces), re9; + if (X11 && (Tn7(), J12(64), re9 = Tt12(16777216, ls7), J12(24)), !Zi7(ne11)) return P8(y10.createTypeParameterDeclaration($11, ne11, void 0, re9), I8); + } + function Z0() { + let I8 = M10(), X11 = []; + do { + Tn7(); + let $11 = K0(); + $11 !== void 0 && X11.push($11), j9(); + } while (Gi8(28)); + return At12(X11, I8); + } + function md(I8, X11, $11, ne11) { + let re9 = u() === 19 ? m7() : void 0, Ne10 = Z0(); + return P8(y10.createJSDocTemplateTag(X11, re9, Ne10, i5(I8, M10(), $11, ne11)), I8); + } + function Gi8(I8) { + return u() === I8 ? (Be10(), true) : false; + } + function ey() { + let I8 = li10(); + for (Le11(23) && J12(24); Le11(25); ) { + let X11 = li10(); + Le11(23) && J12(24), I8 = $l4(I8, X11); + } + return I8; + } + function li10(I8) { + if (!St11(u())) return Gt9(80, !I8, I8 || A7.Identifier_expected); + yn9++; + let X11 = t26.getTokenStart(), $11 = t26.getTokenEnd(), ne11 = u(), re9 = Jr6(t26.getTokenValue()), Ne10 = P8(ue11(re9, ne11), X11, $11); + return Be10(), Ne10; + } + } + })(el5 = e7.JSDocParser || (e7.JSDocParser = {})); + })(ta4 || (ta4 = {})); + hm2 = /* @__PURE__ */ new WeakSet(); + ph = /* @__PURE__ */ new WeakSet(); + ((e7) => { + function t26(D7, R10, ue11, be10) { + if (be10 = be10 || q10.shouldAssert(2), y10(D7, R10, ue11, be10), dg(ue11)) return D7; + if (D7.statements.length === 0) return ta4.parseSourceFile(D7.fileName, R10, D7.languageVersion, void 0, true, D7.scriptKind, D7.setExternalModuleIndicator, D7.jsDocParsingMode); + J62(D7), ta4.fixupParentReferences(D7); + let he11 = D7.text, de11 = G11(D7), O7 = c7(D7, ue11); + y10(D7, R10, O7, be10), q10.assert(O7.span.start <= ue11.span.start), q10.assert(kr5(O7.span) === kr5(ue11.span)), q10.assert(kr5(Qs8(O7)) === kr5(Qs8(ue11))); + let ae9 = Qs8(O7).length - O7.span.length; + k8(D7, O7.span.start, kr5(O7.span), kr5(Qs8(O7)), ae9, he11, R10, be10); + let Oe11 = ta4.parseSourceFile(D7.fileName, R10, D7.languageVersion, de11, true, D7.scriptKind, D7.setExternalModuleIndicator, D7.jsDocParsingMode); + return Oe11.commentDirectives = a5(D7.commentDirectives, Oe11.commentDirectives, O7.span.start, kr5(O7.span), ae9, he11, R10, be10), Oe11.impliedNodeFormat = D7.impliedNodeFormat, y6(D7, Oe11), Oe11; + } + e7.updateSourceFile = t26; + function a5(D7, R10, ue11, be10, he11, de11, O7, ae9) { + if (!D7) return R10; + let Oe11, V11 = false; + for (let Y7 of D7) { + let { range: ft10, type: nr9 } = Y7; + if (ft10.end < ue11) Oe11 = wn7(Oe11, Y7); + else if (ft10.pos > be10) { + oe10(); + let mn8 = { range: { pos: ft10.pos + he11, end: ft10.end + he11 }, type: nr9 }; + Oe11 = wn7(Oe11, mn8), ae9 && q10.assert(de11.substring(ft10.pos, ft10.end) === O7.substring(mn8.range.pos, mn8.range.end)); + } + } + return oe10(), Oe11; + function oe10() { + V11 || (V11 = true, Oe11 ? R10 && Oe11.push(...R10) : Oe11 = R10); + } + } + function _9(D7, R10, ue11, be10, he11, de11, O7) { + ue11 ? Oe11(D7) : ae9(D7); + return; + function ae9(V11) { + let oe10 = ""; + if (O7 && f7(V11) && (oe10 = he11.substring(V11.pos, V11.end)), Gd(V11, R10), yi9(V11, V11.pos + be10, V11.end + be10), O7 && f7(V11) && q10.assert(oe10 === de11.substring(V11.pos, V11.end)), Xt10(V11, ae9, Oe11), Ki8(V11)) for (let Y7 of V11.jsDoc) ae9(Y7); + T7(V11, O7); + } + function Oe11(V11) { + yi9(V11, V11.pos + be10, V11.end + be10); + for (let oe10 of V11) ae9(oe10); + } + } + function f7(D7) { + switch (D7.kind) { + case 11: + case 9: + case 80: + return true; + } + return false; + } + function h5(D7, R10, ue11, be10, he11) { + q10.assert(D7.end >= R10, "Adjusting an element that was entirely before the change range"), q10.assert(D7.pos <= ue11, "Adjusting an element that was entirely after the change range"), q10.assert(D7.pos <= D7.end); + let de11 = Math.min(D7.pos, be10), O7 = D7.end >= ue11 ? D7.end + he11 : Math.min(D7.end, be10); + if (q10.assert(de11 <= O7), D7.parent) { + let ae9 = D7.parent; + q10.assertGreaterThanOrEqual(de11, ae9.pos), q10.assertLessThanOrEqual(O7, ae9.end); + } + yi9(D7, de11, O7); + } + function T7(D7, R10) { + if (R10) { + let ue11 = D7.pos, be10 = (he11) => { + q10.assert(he11.pos >= ue11), ue11 = he11.end; + }; + if (Ki8(D7)) for (let he11 of D7.jsDoc) be10(he11); + Xt10(D7, be10), q10.assert(ue11 <= D7.end); + } + } + function k8(D7, R10, ue11, be10, he11, de11, O7, ae9) { + Oe11(D7); + return; + function Oe11(oe10) { + if (q10.assert(oe10.pos <= oe10.end), oe10.pos > ue11) { + _9(oe10, D7, false, he11, de11, O7, ae9); + return; + } + let Y7 = oe10.end; + if (Y7 >= R10) { + if (Wp2(oe10), Gd(oe10, D7), h5(oe10, R10, ue11, be10, he11), Xt10(oe10, Oe11, V11), Ki8(oe10)) for (let ft10 of oe10.jsDoc) Oe11(ft10); + T7(oe10, ae9); + return; + } + q10.assert(Y7 < R10); + } + function V11(oe10) { + if (q10.assert(oe10.pos <= oe10.end), oe10.pos > ue11) { + _9(oe10, D7, true, he11, de11, O7, ae9); + return; + } + let Y7 = oe10.end; + if (Y7 >= R10) { + Wp2(oe10), h5(oe10, R10, ue11, be10, he11); + for (let ft10 of oe10) Oe11(ft10); + return; + } + q10.assert(Y7 < R10); + } + } + function c7(D7, R10) { + let be10 = R10.span.start; + for (let O7 = 0; be10 > 0 && O7 <= 1; O7++) { + let ae9 = W10(D7, be10); + q10.assert(ae9.pos <= be10); + let Oe11 = ae9.pos; + be10 = Math.max(0, Oe11 - 1); + } + let he11 = fg(be10, kr5(R10.span)), de11 = R10.newLength + (R10.span.start - be10); + return Ym2(he11, de11); + } + function W10(D7, R10) { + let ue11 = D7, be10; + if (Xt10(D7, de11), be10) { + let O7 = he11(be10); + O7.pos > ue11.pos && (ue11 = O7); + } + return ue11; + function he11(O7) { + for (; ; ) { + let ae9 = K23(O7); + if (ae9) O7 = ae9; + else return O7; + } + } + function de11(O7) { + if (!Zi7(O7)) if (O7.pos <= R10) { + if (O7.pos >= ue11.pos && (ue11 = O7), R10 < O7.end) return Xt10(O7, de11), true; + q10.assert(O7.end <= R10), be10 = O7; + } else return q10.assert(O7.pos > R10), true; + } + } + function y10(D7, R10, ue11, be10) { + let he11 = D7.text; + if (ue11 && (q10.assert(he11.length - ue11.span.length + ue11.newLength === R10.length), be10 || q10.shouldAssert(3))) { + let de11 = he11.substr(0, ue11.span.start), O7 = R10.substr(0, ue11.span.start); + q10.assert(de11 === O7); + let ae9 = he11.substring(kr5(ue11.span), he11.length), Oe11 = R10.substring(kr5(Qs8(ue11)), R10.length); + q10.assert(ae9 === Oe11); + } + } + function G11(D7) { + let R10 = D7.statements, ue11 = 0; + q10.assert(ue11 < R10.length); + let be10 = R10[ue11], he11 = -1; + return { currentNode(O7) { + return O7 !== he11 && (be10 && be10.end === O7 && ue11 < R10.length - 1 && (ue11++, be10 = R10[ue11]), (!be10 || be10.pos !== O7) && de11(O7)), he11 = O7, q10.assert(!be10 || be10.pos === O7), be10; + } }; + function de11(O7) { + R10 = void 0, ue11 = -1, be10 = void 0, Xt10(D7, ae9, Oe11); + return; + function ae9(V11) { + return O7 >= V11.pos && O7 < V11.end ? (Xt10(V11, ae9, Oe11), true) : false; + } + function Oe11(V11) { + if (O7 >= V11.pos && O7 < V11.end) for (let oe10 = 0; oe10 < V11.length; oe10++) { + let Y7 = V11[oe10]; + if (Y7) { + if (Y7.pos === O7) return R10 = V11, ue11 = oe10, be10 = Y7, true; + if (Y7.pos < O7 && O7 < Y7.end) return Xt10(Y7, ae9, Oe11), true; + } + } + return false; + } + } + } + e7.createSyntaxCursor = G11; + let E7; + ((D7) => { + D7[D7.Value = -1] = "Value"; + })(E7 || (E7 = {})); + })(Sl5 || (Sl5 = {})); + Dp2 = /* @__PURE__ */ new Map(); + V62 = /^\/\/\/\s*<(\S+)\s.*?\/>/m; + W62 = /^\/\/\/?\s*@([^\s:]+)((?:[^\S\r\n]|:).*)?$/m; + s_ = sf2(g_.Latest, true); + Gf2 = class { + constructor(e7, t26, a5) { + this.pos = t26, this.end = a5, this.kind = e7, this.id = 0, this.flags = 0, this.modifierFlagsCache = 0, this.transformFlags = 0, this.parent = void 0, this.original = void 0, this.emitNode = void 0; + } + assertHasRealPosition(e7) { + q10.assert(!d_(this.pos) && !d_(this.end), e7 || "Node must have a real position for this operation"); + } + getSourceFile() { + return hi10(this); + } + getStart(e7, t26) { + return this.assertHasRealPosition(), bl5(this, e7, t26); + } + getFullStart() { + return this.assertHasRealPosition(), this.pos; + } + getEnd() { + return this.assertHasRealPosition(), this.end; + } + getWidth(e7) { + return this.assertHasRealPosition(), this.getEnd() - this.getStart(e7); + } + getFullWidth() { + return this.assertHasRealPosition(), this.end - this.pos; + } + getLeadingTriviaWidth(e7) { + return this.assertHasRealPosition(), this.getStart(e7) - this.pos; + } + getFullText(e7) { + return this.assertHasRealPosition(), (e7 || this.getSourceFile()).text.substring(this.pos, this.end); + } + getText(e7) { + return this.assertHasRealPosition(), e7 || (e7 = this.getSourceFile()), e7.text.substring(this.getStart(e7), this.getEnd()); + } + getChildCount(e7) { + return this.getChildren(e7).length; + } + getChildAt(e7, t26) { + return this.getChildren(t26)[e7]; + } + getChildren(e7 = hi10(this)) { + return this.assertHasRealPosition("Node without a real position cannot be scanned and thus has no token nodes - use forEachChild and collect the result if that's fine"), ah(this, e7) ?? h6(this, e7, H62(this, e7)); + } + getFirstToken(e7) { + this.assertHasRealPosition(); + let t26 = this.getChildren(e7); + if (!t26.length) return; + let a5 = bm2(t26, (_9) => _9.kind < 310 || _9.kind > 352); + return a5.kind < 167 ? a5 : a5.getFirstToken(e7); + } + getLastToken(e7) { + this.assertHasRealPosition(); + let t26 = this.getChildren(e7), a5 = Ba5(t26); + if (a5) return a5.kind < 167 ? a5 : a5.getLastToken(e7); + } + forEachChild(e7, t26) { + return Xt10(this, e7, t26); + } + }; + Yf2 = class { + constructor(e7, t26, a5) { + this.pos = t26, this.end = a5, this.kind = e7, this.id = 0, this.flags = 0, this.transformFlags = 0, this.parent = void 0, this.emitNode = void 0; + } + getSourceFile() { + return hi10(this); + } + getStart(e7, t26) { + return bl5(this, e7, t26); + } + getFullStart() { + return this.pos; + } + getEnd() { + return this.end; + } + getWidth(e7) { + return this.getEnd() - this.getStart(e7); + } + getFullWidth() { + return this.end - this.pos; + } + getLeadingTriviaWidth(e7) { + return this.getStart(e7) - this.pos; + } + getFullText(e7) { + return (e7 || this.getSourceFile()).text.substring(this.pos, this.end); + } + getText(e7) { + return e7 || (e7 = this.getSourceFile()), e7.text.substring(this.getStart(e7), this.getEnd()); + } + getChildCount() { + return this.getChildren().length; + } + getChildAt(e7) { + return this.getChildren()[e7]; + } + getChildren() { + return this.kind === 1 && this.jsDoc || vt11; + } + getFirstToken() { + } + getLastToken() { + } + forEachChild() { + } + }; + $62 = class { + constructor(e7, t26) { + this.flags = e7, this.escapedName = t26, this.declarations = void 0, this.valueDeclaration = void 0, this.id = 0, this.mergeId = 0, this.parent = void 0, this.members = void 0, this.exports = void 0, this.exportSymbol = void 0, this.constEnumOnlyModule = void 0, this.isReferenced = void 0, this.lastAssignmentPos = void 0, this.links = void 0; + } + getFlags() { + return this.flags; + } + get name() { + return Jp2(this); + } + getEscapedName() { + return this.escapedName; + } + getName() { + return this.name; + } + getDeclarations() { + return this.declarations; + } + getDocumentationComment(e7) { + if (!this.documentationComment) if (this.documentationComment = vt11, !this.declarations && Id(this) && this.links.target && Id(this.links.target) && this.links.target.links.tupleLabelDeclaration) { + let t26 = this.links.target.links.tupleLabelDeclaration; + this.documentationComment = a_([t26], e7); + } else this.documentationComment = a_(this.declarations, e7); + return this.documentationComment; + } + getContextualDocumentationComment(e7, t26) { + if (e7) { + if (al5(e7) && (this.contextualGetAccessorDocumentationComment || (this.contextualGetAccessorDocumentationComment = vt11, this.contextualGetAccessorDocumentationComment = a_(Hr6(this.declarations, al5), t26)), e_(this.contextualGetAccessorDocumentationComment))) return this.contextualGetAccessorDocumentationComment; + if (il6(e7) && (this.contextualSetAccessorDocumentationComment || (this.contextualSetAccessorDocumentationComment = vt11, this.contextualSetAccessorDocumentationComment = a_(Hr6(this.declarations, il6), t26)), e_(this.contextualSetAccessorDocumentationComment))) return this.contextualSetAccessorDocumentationComment; + } + return this.getDocumentationComment(t26); + } + getJsDocTags(e7) { + return this.tags === void 0 && (this.tags = vt11, this.tags = dl5(this.declarations, e7)), this.tags; + } + getContextualJsDocTags(e7, t26) { + if (e7) { + if (al5(e7) && (this.contextualGetAccessorTags || (this.contextualGetAccessorTags = vt11, this.contextualGetAccessorTags = dl5(Hr6(this.declarations, al5), t26)), e_(this.contextualGetAccessorTags))) return this.contextualGetAccessorTags; + if (il6(e7) && (this.contextualSetAccessorTags || (this.contextualSetAccessorTags = vt11, this.contextualSetAccessorTags = dl5(Hr6(this.declarations, il6), t26)), e_(this.contextualSetAccessorTags))) return this.contextualSetAccessorTags; + } + return this.getJsDocTags(t26); + } + }; + dh = class extends Yf2 { + constructor(e7, t26, a5) { + super(e7, t26, a5); + } + }; + mh = class extends Yf2 { + constructor(e7, t26, a5) { + super(e7, t26, a5); + } + get text() { + return An7(this); + } + }; + hh = class extends Yf2 { + constructor(e7, t26, a5) { + super(e7, t26, a5); + } + get text() { + return An7(this); + } + }; + Q62 = class { + constructor(e7, t26) { + this.flags = t26, this.checker = e7; + } + getFlags() { + return this.flags; + } + getSymbol() { + return this.symbol; + } + getProperties() { + return this.checker.getPropertiesOfType(this); + } + getProperty(e7) { + return this.checker.getPropertyOfType(this, e7); + } + getApparentProperties() { + return this.checker.getAugmentedPropertiesOfType(this); + } + getCallSignatures() { + return this.checker.getSignaturesOfType(this, 0); + } + getConstructSignatures() { + return this.checker.getSignaturesOfType(this, 1); + } + getStringIndexType() { + return this.checker.getIndexTypeOfType(this, 0); + } + getNumberIndexType() { + return this.checker.getIndexTypeOfType(this, 1); + } + getBaseTypes() { + return this.isClassOrInterface() ? this.checker.getBaseTypes(this) : void 0; + } + isNullableType() { + return this.checker.isNullableType(this); + } + getNonNullableType() { + return this.checker.getNonNullableType(this); + } + getNonOptionalType() { + return this.checker.getNonOptionalType(this); + } + getConstraint() { + return this.checker.getBaseConstraintOfType(this); + } + getDefault() { + return this.checker.getDefaultFromTypeParameter(this); + } + isUnion() { + return !!(this.flags & 1048576); + } + isIntersection() { + return !!(this.flags & 2097152); + } + isUnionOrIntersection() { + return !!(this.flags & 3145728); + } + isLiteral() { + return !!(this.flags & 2432); + } + isStringLiteral() { + return !!(this.flags & 128); + } + isNumberLiteral() { + return !!(this.flags & 256); + } + isTypeParameter() { + return !!(this.flags & 262144); + } + isClassOrInterface() { + return !!(kp2(this) & 3); + } + isClass() { + return !!(kp2(this) & 1); + } + isIndexType() { + return !!(this.flags & 4194304); + } + get typeArguments() { + if (kp2(this) & 4) return this.checker.getTypeArguments(this); + } + }; + K62 = class { + constructor(e7, t26) { + this.flags = t26, this.checker = e7; + } + getDeclaration() { + return this.declaration; + } + getTypeParameters() { + return this.typeParameters; + } + getParameters() { + return this.parameters; + } + getReturnType() { + return this.checker.getReturnTypeOfSignature(this); + } + getTypeParameterAtPosition(e7) { + let t26 = this.checker.getParameterType(this, e7); + if (t26.isIndexType() && wb(t26.type)) { + let a5 = t26.type.getConstraint(); + if (a5) return this.checker.getIndexType(a5); + } + return t26; + } + getDocumentationComment() { + return this.documentationComment || (this.documentationComment = a_(Ip2(this.declaration), this.checker)); + } + getJsDocTags() { + return this.jsDocTags || (this.jsDocTags = dl5(Ip2(this.declaration), this.checker)); + } + }; + Z62 = class extends Gf2 { + constructor(e7, t26, a5) { + super(e7, t26, a5); + } + update(e7, t26) { + return L62(this, e7, t26); + } + getLineAndCharacterOfPosition(e7) { + return Bm2(this, e7); + } + getLineStarts() { + return Mp2(this); + } + getPositionOfLineAndCharacter(e7, t26, a5) { + return rg(Mp2(this), e7, t26, this.text, a5); + } + getLineEndOfPosition(e7) { + let { line: t26 } = this.getLineAndCharacterOfPosition(e7), a5 = this.getLineStarts(), _9; + t26 + 1 >= a5.length && (_9 = this.getEnd()), _9 || (_9 = a5[t26 + 1] - 1); + let f7 = this.getFullText(); + return f7[_9] === ` +` && f7[_9 - 1] === "\r" ? _9 - 1 : _9; + } + getNamedDeclarations() { + return this.namedDeclarations || (this.namedDeclarations = this.computeNamedDeclarations()), this.namedDeclarations; + } + computeNamedDeclarations() { + let e7 = vy(); + return this.forEachChild(f7), e7; + function t26(h5) { + let T7 = _9(h5); + T7 && e7.add(T7, h5); + } + function a5(h5) { + let T7 = e7.get(h5); + return T7 || e7.set(h5, T7 = []), T7; + } + function _9(h5) { + let T7 = lf2(h5); + return T7 && (kf3(T7) && dr8(T7.expression) ? T7.expression.name.text : r1(T7) ? getNameFromPropertyName(T7) : void 0); + } + function f7(h5) { + switch (h5.kind) { + case 263: + case 219: + case 175: + case 174: + let T7 = h5, k8 = _9(T7); + if (k8) { + let y10 = a5(k8), G11 = Ba5(y10); + G11 && T7.parent === G11.parent && T7.symbol === G11.symbol ? T7.body && !G11.body && (y10[y10.length - 1] = T7) : y10.push(T7); + } + Xt10(h5, f7); + break; + case 264: + case 232: + case 265: + case 266: + case 267: + case 268: + case 272: + case 282: + case 277: + case 274: + case 275: + case 178: + case 179: + case 188: + t26(h5), Xt10(h5, f7); + break; + case 170: + if (!v_(h5, 31)) break; + case 261: + case 209: { + let y10 = h5; + if (Wg(y10.name)) { + Xt10(y10.name, f7); + break; + } + y10.initializer && f7(y10.initializer); + } + case 307: + case 173: + case 172: + t26(h5); + break; + case 279: + let c7 = h5; + c7.exportClause && ($1(c7.exportClause) ? jn7(c7.exportClause.elements, f7) : f7(c7.exportClause.name)); + break; + case 273: + let W10 = h5.importClause; + W10 && (W10.name && t26(W10.name), W10.namedBindings && (W10.namedBindings.kind === 275 ? t26(W10.namedBindings) : jn7(W10.namedBindings.elements, f7))); + break; + case 227: + yf2(h5) !== 0 && t26(h5); + default: + Xt10(h5, f7); + } + } + } + }; + ev = class { + constructor(e7, t26, a5) { + this.fileName = e7, this.text = t26, this.skipTrivia = a5 || ((_9) => _9); + } + getLineAndCharacterOfPosition(e7) { + return Bm2(this, e7); + } + }; + nv = ["getSemanticDiagnostics", "getSuggestionDiagnostics", "getCompilerOptionsDiagnostics", "getSemanticClassifications", "getEncodedSemanticClassifications", "getCodeFixesAtPosition", "getCombinedCodeFix", "applyCodeActionCommand", "organizeImports", "getEditsForFileRename", "getEmitOutput", "getApplicableRefactors", "getEditsForRefactor", "prepareCallHierarchy", "provideCallHierarchyIncomingCalls", "provideCallHierarchyOutgoingCalls", "provideInlayHints", "getSupportedCodeFixes", "getPasteEdits"]; + I32 = [...nv, "getCompletionsAtPosition", "getCompletionEntryDetails", "getCompletionEntrySymbol", "getSignatureHelpItems", "getQuickInfoAtPosition", "getDefinitionAtPosition", "getDefinitionAndBoundSpan", "getImplementationAtPosition", "getTypeDefinitionAtPosition", "getReferencesAtPosition", "findReferences", "getDocumentHighlights", "getNavigateToItems", "getRenameInfo", "findRenameLocations", "getApplicableRefactors", "preparePasteEditsForFile"]; + _b(tv()); + Ml4 = new Proxy({}, { get: () => true }); + vh = Ml4["4.8"]; + Th = {}; + Ll5 = new Proxy({}, { get: (e7, t26) => t26 }); + xh = Ll5; + Sh = Ll5; + C7 = xh; + Rt10 = Sh; + av = Ml4["5.0"]; + ye11 = Ae10; + sv = /* @__PURE__ */ new Set([ye11.AmpersandAmpersandToken, ye11.BarBarToken, ye11.QuestionQuestionToken]); + _v = /* @__PURE__ */ new Set([Ae10.AmpersandAmpersandEqualsToken, Ae10.AmpersandEqualsToken, Ae10.AsteriskAsteriskEqualsToken, Ae10.AsteriskEqualsToken, Ae10.BarBarEqualsToken, Ae10.BarEqualsToken, Ae10.CaretEqualsToken, Ae10.EqualsToken, Ae10.GreaterThanGreaterThanEqualsToken, Ae10.GreaterThanGreaterThanGreaterThanEqualsToken, Ae10.LessThanLessThanEqualsToken, Ae10.MinusEqualsToken, Ae10.PercentEqualsToken, Ae10.PlusEqualsToken, Ae10.QuestionQuestionEqualsToken, Ae10.SlashEqualsToken]); + ov = /* @__PURE__ */ new Set([ye11.AmpersandAmpersandToken, ye11.AmpersandToken, ye11.AsteriskAsteriskToken, ye11.AsteriskToken, ye11.BarBarToken, ye11.BarToken, ye11.CaretToken, ye11.EqualsEqualsEqualsToken, ye11.EqualsEqualsToken, ye11.ExclamationEqualsEqualsToken, ye11.ExclamationEqualsToken, ye11.GreaterThanEqualsToken, ye11.GreaterThanGreaterThanGreaterThanToken, ye11.GreaterThanGreaterThanToken, ye11.GreaterThanToken, ye11.InKeyword, ye11.InstanceOfKeyword, ye11.LessThanEqualsToken, ye11.LessThanLessThanToken, ye11.LessThanToken, ye11.MinusToken, ye11.PercentToken, ye11.PlusToken, ye11.SlashToken]); + Qf = class extends Error { + fileName; + location; + constructor(t26, a5, _9) { + super(t26), this.fileName = a5, this.location = _9, Object.defineProperty(this, "name", { configurable: true, enumerable: false, value: new.target.name }); + } + get index() { + return this.location.start.offset; + } + get lineNumber() { + return this.location.start.line; + } + get column() { + return this.location.start.column; + } + }; + ge10 = Ae10; + x7 = Ae10; + Rl4 = class { + allowPattern = false; + ast; + esTreeNodeToTSNodeMap = /* @__PURE__ */ new WeakMap(); + options; + tsNodeToESTreeNodeMap = /* @__PURE__ */ new WeakMap(); + constructor(t26, a5) { + this.ast = t26, this.options = { ...a5 }; + } + #r(t26, a5) { + let _9 = a5 === Ae10.ForInStatement ? "for...in" : "for...of"; + if (H1(t26)) { + t26.declarations.length !== 1 && this.#e(t26, `Only a single variable declaration is allowed in a '${_9}' statement.`); + let f7 = t26.declarations[0]; + f7.initializer ? this.#e(f7, `The variable declaration of a '${_9}' statement cannot have an initializer.`) : f7.type && this.#e(f7, `The variable declaration of a '${_9}' statement cannot have a type annotation.`), a5 === Ae10.ForInStatement && t26.flags & sn8.Using && this.#e(t26, "The left-hand side of a 'for...in' statement cannot be a 'using' declaration."); + } else !Jl4(t26) && t26.kind !== Ae10.ObjectLiteralExpression && t26.kind !== Ae10.ArrayLiteralExpression && this.#e(t26, `The left-hand side of a '${_9}' statement must be a variable or a property access.`); + } + #i(t26) { + this.options.allowInvalidAST || Jh(t26); + } + #e(t26, a5) { + if (this.options.allowInvalidAST) return; + let _9, f7; + throw Array.isArray(t26) ? [_9, f7] = t26 : typeof t26 == "number" ? _9 = f7 = t26 : (_9 = t26.getStart(this.ast), f7 = t26.getEnd()), w_(a5, this.ast, _9, f7); + } + #t(t26, a5, _9, f7 = false) { + let h5 = f7; + return Object.defineProperty(t26, a5, { configurable: true, get: this.options.suppressDeprecatedPropertyWarnings ? () => t26[_9] : () => (h5 || ((void 0)(`The '${a5}' property is deprecated on ${t26.type} nodes. Use '${_9}' instead. See https://typescript-eslint.io/troubleshooting/faqs/general#the-key-property-is-deprecated-on-type-nodes-use-key-instead-warnings.`, "DeprecationWarning"), h5 = true), t26[_9]), set(T7) { + Object.defineProperty(t26, a5, { enumerable: true, value: T7, writable: true }); + } }), t26; + } + #n(t26, a5, _9, f7) { + let h5 = false; + return Object.defineProperty(t26, a5, { configurable: true, get: this.options.suppressDeprecatedPropertyWarnings ? () => f7 : () => { + if (!h5) { + let T7 = `The '${a5}' property is deprecated on ${t26.type} nodes.`; + _9 && (T7 += ` Use ${_9} instead.`), T7 += " See https://typescript-eslint.io/troubleshooting/faqs/general#the-key-property-is-deprecated-on-type-nodes-use-key-instead-warnings.", (void 0)(T7, "DeprecationWarning"), h5 = true; + } + return f7; + }, set(T7) { + Object.defineProperty(t26, a5, { enumerable: true, value: T7, writable: true }); + } }), t26; + } + assertModuleSpecifier(t26, a5) { + !a5 && t26.moduleSpecifier == null && this.#e(t26, "Module specifier must be a string literal."), t26.moduleSpecifier && t26.moduleSpecifier?.kind !== x7.StringLiteral && this.#e(t26.moduleSpecifier, "Module specifier must be a string literal."); + } + convertBindingNameWithTypeAnnotation(t26, a5, _9) { + let f7 = this.convertPattern(t26); + return a5 && (f7.typeAnnotation = this.convertTypeAnnotation(a5, _9), this.fixParentLocation(f7, f7.typeAnnotation.range)), f7; + } + convertBodyExpressions(t26, a5) { + let _9 = Ch(a5); + return t26.map((f7) => { + let h5 = this.convertChild(f7); + if (_9) { + if (h5?.expression && Pl4(f7) && vi10(f7.expression)) { + let T7 = h5.expression.raw; + return h5.directive = T7.slice(1, -1), h5; + } + _9 = false; + } + return h5; + }).filter((f7) => f7); + } + convertChainExpression(t26, a5) { + let { child: _9, isOptional: f7 } = t26.type === C7.MemberExpression ? { child: t26.object, isOptional: t26.optional } : t26.type === C7.CallExpression ? { child: t26.callee, isOptional: t26.optional } : { child: t26.expression, isOptional: false }, h5 = Ph(a5, _9); + if (!h5 && !f7) return t26; + if (h5 && ed(_9)) { + let T7 = _9.expression; + t26.type === C7.MemberExpression ? t26.object = T7 : t26.type === C7.CallExpression ? t26.callee = T7 : t26.expression = T7; + } + return this.createNode(a5, { type: C7.ChainExpression, expression: t26 }); + } + convertChild(t26, a5) { + return this.converter(t26, a5, false); + } + convertChildren(t26, a5) { + return t26.map((_9) => this.converter(_9, a5, false)); + } + convertPattern(t26, a5) { + return this.converter(t26, a5, true); + } + convertTypeAnnotation(t26, a5) { + let _9 = a5?.kind === x7.FunctionType || a5?.kind === x7.ConstructorType ? 2 : 1, h5 = [t26.getFullStart() - _9, t26.end], T7 = Kr7(h5, this.ast); + return { type: C7.TSTypeAnnotation, loc: T7, range: h5, typeAnnotation: this.convertChild(t26) }; + } + convertTypeArgumentsToTypeParameterInstantiation(t26, a5) { + let _9 = er9(t26, this.ast, this.ast), f7 = [t26.pos - 1, _9.end]; + return t26.length === 0 && this.#e(f7, "Type argument list cannot be empty."), this.createNode(a5, { type: C7.TSTypeParameterInstantiation, range: f7, params: this.convertChildren(t26) }); + } + convertTSTypeParametersToTypeParametersDeclaration(t26) { + let a5 = er9(t26, this.ast, this.ast), _9 = [t26.pos - 1, a5.end]; + return t26.length === 0 && this.#e(_9, "Type parameter list cannot be empty."), { type: C7.TSTypeParameterDeclaration, loc: Kr7(_9, this.ast), range: _9, params: this.convertChildren(t26) }; + } + convertParameters(t26) { + return t26?.length ? t26.map((a5) => { + let _9 = this.convertChild(a5); + return _9.decorators = this.convertChildren(xi10(a5) ?? []), _9; + }) : []; + } + converter(t26, a5, _9) { + if (!t26) return null; + this.#i(t26); + let f7 = this.allowPattern; + _9 != null && (this.allowPattern = _9); + let h5 = this.convertNode(t26, a5 ?? t26.parent); + return this.registerTSNodeInNodeMap(t26, h5), this.allowPattern = f7, h5; + } + convertImportAttributes(t26) { + let a5 = t26.attributes ?? t26.assertClause; + return this.convertChildren(a5?.elements ?? []); + } + convertJSXIdentifier(t26) { + let a5 = this.createNode(t26, { type: C7.JSXIdentifier, name: t26.getText() }); + return this.registerTSNodeInNodeMap(t26, a5), a5; + } + convertJSXNamespaceOrIdentifier(t26) { + if (t26.kind === Ae10.JsxNamespacedName) { + let f7 = this.createNode(t26, { type: C7.JSXNamespacedName, name: this.createNode(t26.name, { type: C7.JSXIdentifier, name: t26.name.text }), namespace: this.createNode(t26.namespace, { type: C7.JSXIdentifier, name: t26.namespace.text }) }); + return this.registerTSNodeInNodeMap(t26, f7), f7; + } + let a5 = t26.getText(), _9 = a5.indexOf(":"); + if (_9 > 0) { + let f7 = sa5(t26, this.ast), h5 = this.createNode(t26, { type: C7.JSXNamespacedName, range: f7, name: this.createNode(t26, { type: C7.JSXIdentifier, range: [f7[0] + _9 + 1, f7[1]], name: a5.slice(_9 + 1) }), namespace: this.createNode(t26, { type: C7.JSXIdentifier, range: [f7[0], f7[0] + _9], name: a5.slice(0, _9) }) }); + return this.registerTSNodeInNodeMap(t26, h5), h5; + } + return this.convertJSXIdentifier(t26); + } + convertJSXTagName(t26, a5) { + let _9; + switch (t26.kind) { + case x7.PropertyAccessExpression: + t26.name.kind === x7.PrivateIdentifier && this.#e(t26.name, "Non-private identifier expected."), _9 = this.createNode(t26, { type: C7.JSXMemberExpression, object: this.convertJSXTagName(t26.expression, a5), property: this.convertJSXIdentifier(t26.name) }); + break; + case x7.ThisKeyword: + case x7.Identifier: + default: + return this.convertJSXNamespaceOrIdentifier(t26); + } + return this.registerTSNodeInNodeMap(t26, _9), _9; + } + convertMethodSignature(t26) { + return this.createNode(t26, { type: C7.TSMethodSignature, accessibility: Si10(t26), computed: _a5(t26.name), key: this.convertChild(t26.name), kind: (() => { + switch (t26.kind) { + case x7.GetAccessor: + return "get"; + case x7.SetAccessor: + return "set"; + case x7.MethodSignature: + return "method"; + } + })(), optional: Zf(t26), params: this.convertParameters(t26.parameters), readonly: Ge10(x7.ReadonlyKeyword, t26), returnType: t26.type && this.convertTypeAnnotation(t26.type, t26), static: Ge10(x7.StaticKeyword, t26), typeParameters: t26.typeParameters && this.convertTSTypeParametersToTypeParametersDeclaration(t26.typeParameters) }); + } + fixParentLocation(t26, a5) { + a5[0] < t26.range[0] && (t26.range[0] = a5[0], t26.loc.start = x_(t26.range[0], this.ast)), a5[1] > t26.range[1] && (t26.range[1] = a5[1], t26.loc.end = x_(t26.range[1], this.ast)); + } + convertNode(t26, a5) { + switch (t26.kind) { + case x7.SourceFile: + return this.createNode(t26, { type: C7.Program, range: [t26.getStart(this.ast), t26.endOfFileToken.end], body: this.convertBodyExpressions(t26.statements, t26), comments: void 0, sourceType: t26.externalModuleIndicator ? "module" : "script", tokens: void 0 }); + case x7.Block: + return this.createNode(t26, { type: C7.BlockStatement, body: this.convertBodyExpressions(t26.statements, t26) }); + case x7.Identifier: + return Ih(t26) ? this.createNode(t26, { type: C7.ThisExpression }) : this.createNode(t26, { type: C7.Identifier, decorators: [], name: t26.text, optional: false, typeAnnotation: void 0 }); + case x7.PrivateIdentifier: + return this.createNode(t26, { type: C7.PrivateIdentifier, name: t26.text.slice(1) }); + case x7.WithStatement: + return this.createNode(t26, { type: C7.WithStatement, body: this.convertChild(t26.statement), object: this.convertChild(t26.expression) }); + case x7.ReturnStatement: + return this.createNode(t26, { type: C7.ReturnStatement, argument: this.convertChild(t26.expression) }); + case x7.LabeledStatement: + return this.createNode(t26, { type: C7.LabeledStatement, body: this.convertChild(t26.statement), label: this.convertChild(t26.label) }); + case x7.ContinueStatement: + return this.createNode(t26, { type: C7.ContinueStatement, label: this.convertChild(t26.label) }); + case x7.BreakStatement: + return this.createNode(t26, { type: C7.BreakStatement, label: this.convertChild(t26.label) }); + case x7.IfStatement: + return this.createNode(t26, { type: C7.IfStatement, alternate: this.convertChild(t26.elseStatement), consequent: this.convertChild(t26.thenStatement), test: this.convertChild(t26.expression) }); + case x7.SwitchStatement: + return t26.caseBlock.clauses.filter((_9) => _9.kind === x7.DefaultClause).length > 1 && this.#e(t26, "A 'default' clause cannot appear more than once in a 'switch' statement."), this.createNode(t26, { type: C7.SwitchStatement, cases: this.convertChildren(t26.caseBlock.clauses), discriminant: this.convertChild(t26.expression) }); + case x7.CaseClause: + case x7.DefaultClause: + return this.createNode(t26, { type: C7.SwitchCase, consequent: this.convertChildren(t26.statements), test: t26.kind === x7.CaseClause ? this.convertChild(t26.expression) : null }); + case x7.ThrowStatement: + return t26.expression.end === t26.expression.pos && this.#e(t26, "A throw statement must throw an expression."), this.createNode(t26, { type: C7.ThrowStatement, argument: this.convertChild(t26.expression) }); + case x7.TryStatement: + return this.createNode(t26, { type: C7.TryStatement, block: this.convertChild(t26.tryBlock), finalizer: this.convertChild(t26.finallyBlock), handler: this.convertChild(t26.catchClause) }); + case x7.CatchClause: + return t26.variableDeclaration?.initializer && this.#e(t26.variableDeclaration.initializer, "Catch clause variable cannot have an initializer."), this.createNode(t26, { type: C7.CatchClause, body: this.convertChild(t26.block), param: t26.variableDeclaration ? this.convertBindingNameWithTypeAnnotation(t26.variableDeclaration.name, t26.variableDeclaration.type) : null }); + case x7.WhileStatement: + return this.createNode(t26, { type: C7.WhileStatement, body: this.convertChild(t26.statement), test: this.convertChild(t26.expression) }); + case x7.DoStatement: + return this.createNode(t26, { type: C7.DoWhileStatement, body: this.convertChild(t26.statement), test: this.convertChild(t26.expression) }); + case x7.ForStatement: + return this.createNode(t26, { type: C7.ForStatement, body: this.convertChild(t26.statement), init: this.convertChild(t26.initializer), test: this.convertChild(t26.condition), update: this.convertChild(t26.incrementor) }); + case x7.ForInStatement: + return this.#r(t26.initializer, t26.kind), this.createNode(t26, { type: C7.ForInStatement, body: this.convertChild(t26.statement), left: this.convertPattern(t26.initializer), right: this.convertChild(t26.expression) }); + case x7.ForOfStatement: + return this.#r(t26.initializer, t26.kind), this.createNode(t26, { type: C7.ForOfStatement, await: !!(t26.awaitModifier && t26.awaitModifier.kind === x7.AwaitKeyword), body: this.convertChild(t26.statement), left: this.convertPattern(t26.initializer), right: this.convertChild(t26.expression) }); + case x7.FunctionDeclaration: { + let _9 = Ge10(x7.DeclareKeyword, t26), f7 = Ge10(x7.AsyncKeyword, t26), h5 = !!t26.asteriskToken; + _9 ? t26.body ? this.#e(t26, "An implementation cannot be declared in ambient contexts.") : f7 ? this.#e(t26, "'async' modifier cannot be used in an ambient context.") : h5 && this.#e(t26, "Generators are not allowed in an ambient context.") : !t26.body && h5 && this.#e(t26, "A function signature cannot be declared as a generator."); + let T7 = this.createNode(t26, { type: t26.body ? C7.FunctionDeclaration : C7.TSDeclareFunction, async: f7, body: this.convertChild(t26.body) || void 0, declare: _9, expression: false, generator: h5, id: this.convertChild(t26.name), params: this.convertParameters(t26.parameters), returnType: t26.type && this.convertTypeAnnotation(t26.type, t26), typeParameters: t26.typeParameters && this.convertTSTypeParametersToTypeParametersDeclaration(t26.typeParameters) }); + return this.fixExports(t26, T7); + } + case x7.VariableDeclaration: { + let _9 = !!t26.exclamationToken, f7 = this.convertChild(t26.initializer), h5 = this.convertBindingNameWithTypeAnnotation(t26.name, t26.type, t26); + return _9 && (f7 ? this.#e(t26, "Declarations with initializers cannot also have definite assignment assertions.") : (h5.type !== C7.Identifier || !h5.typeAnnotation) && this.#e(t26, "Declarations with definite assignment assertions must also have type annotations.")), this.createNode(t26, { type: C7.VariableDeclarator, definite: _9, id: h5, init: f7 }); + } + case x7.VariableStatement: { + let _9 = this.createNode(t26, { type: C7.VariableDeclaration, declarations: this.convertChildren(t26.declarationList.declarations), declare: Ge10(x7.DeclareKeyword, t26), kind: S_(t26.declarationList) }); + return _9.declarations.length || this.#e(t26, "A variable declaration list must have at least one variable declarator."), (_9.kind === "using" || _9.kind === "await using") && t26.declarationList.declarations.forEach((f7, h5) => { + _9.declarations[h5].init == null && this.#e(f7, `'${_9.kind}' declarations must be initialized.`), _9.declarations[h5].id.type !== C7.Identifier && this.#e(f7.name, `'${_9.kind}' declarations may not have binding patterns.`); + }), (_9.declare || ["await using", "const", "using"].includes(_9.kind)) && t26.declarationList.declarations.forEach((f7, h5) => { + _9.declarations[h5].definite && this.#e(f7, "A definite assignment assertion '!' is not permitted in this context."); + }), _9.declare && t26.declarationList.declarations.forEach((f7, h5) => { + _9.declarations[h5].init && (["let", "var"].includes(_9.kind) || _9.declarations[h5].id.typeAnnotation) && this.#e(f7, "Initializers are not permitted in ambient contexts."); + }), this.fixExports(t26, _9); + } + case x7.VariableDeclarationList: { + let _9 = this.createNode(t26, { type: C7.VariableDeclaration, declarations: this.convertChildren(t26.declarations), declare: false, kind: S_(t26) }); + return (_9.kind === "using" || _9.kind === "await using") && t26.declarations.forEach((f7, h5) => { + _9.declarations[h5].init != null && this.#e(f7, `'${_9.kind}' declarations may not be initialized in for statement.`), _9.declarations[h5].id.type !== C7.Identifier && this.#e(f7.name, `'${_9.kind}' declarations may not have binding patterns.`); + }), _9; + } + case x7.ExpressionStatement: + return this.createNode(t26, { type: C7.ExpressionStatement, directive: void 0, expression: this.convertChild(t26.expression) }); + case x7.ThisKeyword: + return this.createNode(t26, { type: C7.ThisExpression }); + case x7.ArrayLiteralExpression: + return this.allowPattern ? this.createNode(t26, { type: C7.ArrayPattern, decorators: [], elements: t26.elements.map((_9) => this.convertPattern(_9)), optional: false, typeAnnotation: void 0 }) : this.createNode(t26, { type: C7.ArrayExpression, elements: this.convertChildren(t26.elements) }); + case x7.ObjectLiteralExpression: { + if (this.allowPattern) return this.createNode(t26, { type: C7.ObjectPattern, decorators: [], optional: false, properties: t26.properties.map((f7) => this.convertPattern(f7)), typeAnnotation: void 0 }); + let _9 = []; + for (let f7 of t26.properties) (f7.kind === x7.GetAccessor || f7.kind === x7.SetAccessor || f7.kind === x7.MethodDeclaration) && !f7.body && this.#e(f7.end - 1, "'{' expected."), _9.push(this.convertChild(f7)); + return this.createNode(t26, { type: C7.ObjectExpression, properties: _9 }); + } + case x7.PropertyAssignment: { + let { exclamationToken: _9, questionToken: f7 } = t26; + return f7 && this.#e(f7, "A property assignment cannot have a question token."), _9 && this.#e(_9, "A property assignment cannot have an exclamation token."), this.createNode(t26, { type: C7.Property, computed: _a5(t26.name), key: this.convertChild(t26.name), kind: "init", method: false, optional: false, shorthand: false, value: this.converter(t26.initializer, t26, this.allowPattern) }); + } + case x7.ShorthandPropertyAssignment: { + let { exclamationToken: _9, modifiers: f7, questionToken: h5 } = t26; + return f7 && this.#e(f7[0], "A shorthand property assignment cannot have modifiers."), h5 && this.#e(h5, "A shorthand property assignment cannot have a question token."), _9 && this.#e(_9, "A shorthand property assignment cannot have an exclamation token."), t26.objectAssignmentInitializer ? this.createNode(t26, { type: C7.Property, computed: false, key: this.convertChild(t26.name), kind: "init", method: false, optional: false, shorthand: true, value: this.createNode(t26, { type: C7.AssignmentPattern, decorators: [], left: this.convertPattern(t26.name), optional: false, right: this.convertChild(t26.objectAssignmentInitializer), typeAnnotation: void 0 }) }) : this.createNode(t26, { type: C7.Property, computed: false, key: this.convertChild(t26.name), kind: "init", method: false, optional: false, shorthand: true, value: this.convertChild(t26.name) }); + } + case x7.ComputedPropertyName: + return this.convertChild(t26.expression); + case x7.PropertyDeclaration: { + let _9 = Ge10(x7.AbstractKeyword, t26); + _9 && t26.initializer && this.#e(t26.initializer, "Abstract property cannot have an initializer."), t26.name.kind === x7.StringLiteral && t26.name.text === "constructor" && this.#e(t26.name, "Classes may not have a field named 'constructor'."); + let f7 = Ge10(x7.AccessorKeyword, t26), h5 = f7 ? _9 ? C7.TSAbstractAccessorProperty : C7.AccessorProperty : _9 ? C7.TSAbstractPropertyDefinition : C7.PropertyDefinition, T7 = this.convertChild(t26.name); + return this.createNode(t26, { type: h5, accessibility: Si10(t26), computed: _a5(t26.name), declare: Ge10(x7.DeclareKeyword, t26), decorators: this.convertChildren(xi10(t26) ?? []), definite: !!t26.exclamationToken, key: T7, optional: (T7.type === C7.Literal || t26.name.kind === x7.Identifier || t26.name.kind === x7.ComputedPropertyName || t26.name.kind === x7.PrivateIdentifier) && !!t26.questionToken, override: Ge10(x7.OverrideKeyword, t26), readonly: Ge10(x7.ReadonlyKeyword, t26), static: Ge10(x7.StaticKeyword, t26), typeAnnotation: t26.type && this.convertTypeAnnotation(t26.type, t26), value: _9 ? null : this.convertChild(t26.initializer) }); + } + case x7.GetAccessor: + case x7.SetAccessor: + if (t26.parent.kind === x7.InterfaceDeclaration || t26.parent.kind === x7.TypeLiteral) return this.convertMethodSignature(t26); + case x7.MethodDeclaration: { + let _9 = Ge10(x7.AbstractKeyword, t26); + _9 && t26.body && this.#e(t26.name, t26.kind === x7.GetAccessor || t26.kind === x7.SetAccessor ? "An abstract accessor cannot have an implementation." : `Method '${Mh(t26.name, this.ast)}' cannot have an implementation because it is marked abstract.`); + let f7 = this.createNode(t26, { type: t26.body ? C7.FunctionExpression : C7.TSEmptyBodyFunctionExpression, range: [t26.parameters.pos - 1, t26.end], async: Ge10(x7.AsyncKeyword, t26), body: this.convertChild(t26.body), declare: false, expression: false, generator: !!t26.asteriskToken, id: null, params: [], returnType: t26.type && this.convertTypeAnnotation(t26.type, t26), typeParameters: t26.typeParameters && this.convertTSTypeParametersToTypeParametersDeclaration(t26.typeParameters) }); + f7.typeParameters && this.fixParentLocation(f7, f7.typeParameters.range); + let h5; + if (a5.kind === x7.ObjectLiteralExpression) f7.params = this.convertChildren(t26.parameters), h5 = this.createNode(t26, { type: C7.Property, computed: _a5(t26.name), key: this.convertChild(t26.name), kind: "init", method: t26.kind === x7.MethodDeclaration, optional: !!t26.questionToken, shorthand: false, value: f7 }); + else { + f7.params = this.convertParameters(t26.parameters); + let T7 = _9 ? C7.TSAbstractMethodDefinition : C7.MethodDefinition; + h5 = this.createNode(t26, { type: T7, accessibility: Si10(t26), computed: _a5(t26.name), decorators: this.convertChildren(xi10(t26) ?? []), key: this.convertChild(t26.name), kind: "method", optional: !!t26.questionToken, override: Ge10(x7.OverrideKeyword, t26), static: Ge10(x7.StaticKeyword, t26), value: f7 }); + } + return t26.kind === x7.GetAccessor ? h5.kind = "get" : t26.kind === x7.SetAccessor ? h5.kind = "set" : !h5.static && t26.name.kind === x7.StringLiteral && t26.name.text === "constructor" && h5.type !== C7.Property && (h5.kind = "constructor"), h5; + } + case x7.Constructor: { + let _9 = kh(t26), f7 = (_9 && er9(_9, t26, this.ast)) ?? t26.getFirstToken(), h5 = this.createNode(t26, { type: t26.body ? C7.FunctionExpression : C7.TSEmptyBodyFunctionExpression, range: [t26.parameters.pos - 1, t26.end], async: false, body: this.convertChild(t26.body), declare: false, expression: false, generator: false, id: null, params: this.convertParameters(t26.parameters), returnType: t26.type && this.convertTypeAnnotation(t26.type, t26), typeParameters: t26.typeParameters && this.convertTSTypeParametersToTypeParametersDeclaration(t26.typeParameters) }); + h5.typeParameters && this.fixParentLocation(h5, h5.typeParameters.range); + let T7 = f7.kind === x7.StringLiteral ? this.createNode(f7, { type: C7.Literal, raw: f7.getText(), value: "constructor" }) : this.createNode(t26, { type: C7.Identifier, range: [f7.getStart(this.ast), f7.end], decorators: [], name: "constructor", optional: false, typeAnnotation: void 0 }), k8 = Ge10(x7.StaticKeyword, t26); + return this.createNode(t26, { type: Ge10(x7.AbstractKeyword, t26) ? C7.TSAbstractMethodDefinition : C7.MethodDefinition, accessibility: Si10(t26), computed: false, decorators: [], key: T7, kind: k8 ? "method" : "constructor", optional: false, override: false, static: k8, value: h5 }); + } + case x7.FunctionExpression: + return this.createNode(t26, { type: C7.FunctionExpression, async: Ge10(x7.AsyncKeyword, t26), body: this.convertChild(t26.body), declare: false, expression: false, generator: !!t26.asteriskToken, id: this.convertChild(t26.name), params: this.convertParameters(t26.parameters), returnType: t26.type && this.convertTypeAnnotation(t26.type, t26), typeParameters: t26.typeParameters && this.convertTSTypeParametersToTypeParametersDeclaration(t26.typeParameters) }); + case x7.SuperKeyword: + return this.createNode(t26, { type: C7.Super }); + case x7.ArrayBindingPattern: + return this.createNode(t26, { type: C7.ArrayPattern, decorators: [], elements: t26.elements.map((_9) => this.convertPattern(_9)), optional: false, typeAnnotation: void 0 }); + case x7.OmittedExpression: + return null; + case x7.ObjectBindingPattern: + return this.createNode(t26, { type: C7.ObjectPattern, decorators: [], optional: false, properties: t26.elements.map((_9) => this.convertPattern(_9)), typeAnnotation: void 0 }); + case x7.BindingElement: { + if (a5.kind === x7.ArrayBindingPattern) { + let f7 = this.convertChild(t26.name, a5); + return t26.initializer ? this.createNode(t26, { type: C7.AssignmentPattern, decorators: [], left: f7, optional: false, right: this.convertChild(t26.initializer), typeAnnotation: void 0 }) : t26.dotDotDotToken ? this.createNode(t26, { type: C7.RestElement, argument: f7, decorators: [], optional: false, typeAnnotation: void 0, value: void 0 }) : f7; + } + let _9; + return t26.dotDotDotToken ? _9 = this.createNode(t26, { type: C7.RestElement, argument: this.convertChild(t26.propertyName ?? t26.name), decorators: [], optional: false, typeAnnotation: void 0, value: void 0 }) : _9 = this.createNode(t26, { type: C7.Property, computed: !!(t26.propertyName && t26.propertyName.kind === x7.ComputedPropertyName), key: this.convertChild(t26.propertyName ?? t26.name), kind: "init", method: false, optional: false, shorthand: !t26.propertyName, value: this.convertChild(t26.name) }), t26.initializer && (_9.value = this.createNode(t26, { type: C7.AssignmentPattern, range: [t26.name.getStart(this.ast), t26.initializer.end], decorators: [], left: this.convertChild(t26.name), optional: false, right: this.convertChild(t26.initializer), typeAnnotation: void 0 })), _9; + } + case x7.ArrowFunction: + return this.createNode(t26, { type: C7.ArrowFunctionExpression, async: Ge10(x7.AsyncKeyword, t26), body: this.convertChild(t26.body), expression: t26.body.kind !== x7.Block, generator: false, id: null, params: this.convertParameters(t26.parameters), returnType: t26.type && this.convertTypeAnnotation(t26.type, t26), typeParameters: t26.typeParameters && this.convertTSTypeParametersToTypeParametersDeclaration(t26.typeParameters) }); + case x7.YieldExpression: + return this.createNode(t26, { type: C7.YieldExpression, argument: this.convertChild(t26.expression), delegate: !!t26.asteriskToken }); + case x7.AwaitExpression: + return this.createNode(t26, { type: C7.AwaitExpression, argument: this.convertChild(t26.expression) }); + case x7.NoSubstitutionTemplateLiteral: + return this.createNode(t26, { type: C7.TemplateLiteral, expressions: [], quasis: [this.createNode(t26, { type: C7.TemplateElement, tail: true, value: { cooked: t26.text, raw: this.ast.text.slice(t26.getStart(this.ast) + 1, t26.end - 1) } })] }); + case x7.TemplateExpression: { + let _9 = this.createNode(t26, { type: C7.TemplateLiteral, expressions: [], quasis: [this.convertChild(t26.head)] }); + return t26.templateSpans.forEach((f7) => { + _9.expressions.push(this.convertChild(f7.expression)), _9.quasis.push(this.convertChild(f7.literal)); + }), _9; + } + case x7.TaggedTemplateExpression: + return t26.tag.flags & sn8.OptionalChain && this.#e(t26, "Tagged template expressions are not permitted in an optional chain."), this.createNode(t26, { type: C7.TaggedTemplateExpression, quasi: this.convertChild(t26.template), tag: this.convertChild(t26.tag), typeArguments: t26.typeArguments && this.convertTypeArgumentsToTypeParameterInstantiation(t26.typeArguments, t26) }); + case x7.TemplateHead: + case x7.TemplateMiddle: + case x7.TemplateTail: { + let _9 = t26.kind === x7.TemplateTail; + return this.createNode(t26, { type: C7.TemplateElement, tail: _9, value: { cooked: t26.text, raw: this.ast.text.slice(t26.getStart(this.ast) + 1, t26.end - (_9 ? 1 : 2)) } }); + } + case x7.SpreadAssignment: + case x7.SpreadElement: + return this.allowPattern ? this.createNode(t26, { type: C7.RestElement, argument: this.convertPattern(t26.expression), decorators: [], optional: false, typeAnnotation: void 0, value: void 0 }) : this.createNode(t26, { type: C7.SpreadElement, argument: this.convertChild(t26.expression) }); + case x7.Parameter: { + let _9, f7; + return t26.dotDotDotToken ? _9 = f7 = this.createNode(t26, { type: C7.RestElement, argument: this.convertChild(t26.name), decorators: [], optional: false, typeAnnotation: void 0, value: void 0 }) : t26.initializer ? (_9 = this.convertChild(t26.name), f7 = this.createNode(t26, { type: C7.AssignmentPattern, range: [t26.name.getStart(this.ast), t26.initializer.end], decorators: [], left: _9, optional: false, right: this.convertChild(t26.initializer), typeAnnotation: void 0 }), Rn6(t26) && (f7.range[0] = _9.range[0], f7.loc = Kr7(f7.range, this.ast))) : _9 = f7 = this.convertChild(t26.name, a5), t26.type && (_9.typeAnnotation = this.convertTypeAnnotation(t26.type, t26), this.fixParentLocation(_9, _9.typeAnnotation.range)), t26.questionToken && (t26.questionToken.end > _9.range[1] && (_9.range[1] = t26.questionToken.end, _9.loc.end = x_(_9.range[1], this.ast)), _9.optional = true), Rn6(t26) ? this.createNode(t26, { type: C7.TSParameterProperty, accessibility: Si10(t26), decorators: [], override: Ge10(x7.OverrideKeyword, t26), parameter: f7, readonly: Ge10(x7.ReadonlyKeyword, t26), static: Ge10(x7.StaticKeyword, t26) }) : f7; + } + case x7.ClassDeclaration: + !t26.name && (!Ge10(Ae10.ExportKeyword, t26) || !Ge10(Ae10.DefaultKeyword, t26)) && this.#e(t26, "A class declaration without the 'default' modifier must have a name."); + case x7.ClassExpression: { + let _9 = t26.heritageClauses ?? [], f7 = t26.kind === x7.ClassDeclaration ? C7.ClassDeclaration : C7.ClassExpression, h5, T7; + for (let c7 of _9) { + let { token: W10, types: y10 } = c7; + y10.length === 0 && this.#e(c7, `'${nt10(W10)}' list cannot be empty.`), W10 === x7.ExtendsKeyword ? (h5 && this.#e(c7, "'extends' clause already seen."), T7 && this.#e(c7, "'extends' clause must precede 'implements' clause."), y10.length > 1 && this.#e(y10[1], "Classes can only extend a single class."), h5 ?? (h5 = c7)) : W10 === x7.ImplementsKeyword && (T7 && this.#e(c7, "'implements' clause already seen."), T7 ?? (T7 = c7)); + } + let k8 = this.createNode(t26, { type: f7, abstract: Ge10(x7.AbstractKeyword, t26), body: this.createNode(t26, { type: C7.ClassBody, range: [t26.members.pos - 1, t26.end], body: this.convertChildren(t26.members.filter(wh)) }), declare: Ge10(x7.DeclareKeyword, t26), decorators: this.convertChildren(xi10(t26) ?? []), id: this.convertChild(t26.name), implements: this.convertChildren(T7?.types ?? []), superClass: h5?.types[0] ? this.convertChild(h5.types[0].expression) : null, superTypeArguments: void 0, typeParameters: t26.typeParameters && this.convertTSTypeParametersToTypeParametersDeclaration(t26.typeParameters) }); + return h5?.types[0]?.typeArguments && (k8.superTypeArguments = this.convertTypeArgumentsToTypeParameterInstantiation(h5.types[0].typeArguments, h5.types[0])), this.fixExports(t26, k8); + } + case x7.ModuleBlock: + return this.createNode(t26, { type: C7.TSModuleBlock, body: this.convertBodyExpressions(t26.statements, t26) }); + case x7.ImportDeclaration: { + this.assertModuleSpecifier(t26, false); + let _9 = this.createNode(t26, this.#t({ type: C7.ImportDeclaration, attributes: this.convertImportAttributes(t26), importKind: "value", source: this.convertChild(t26.moduleSpecifier), specifiers: [] }, "assertions", "attributes", true)); + if (t26.importClause && (t26.importClause.isTypeOnly && (_9.importKind = "type"), t26.importClause.name && _9.specifiers.push(this.convertChild(t26.importClause)), t26.importClause.namedBindings)) switch (t26.importClause.namedBindings.kind) { + case x7.NamespaceImport: + _9.specifiers.push(this.convertChild(t26.importClause.namedBindings)); + break; + case x7.NamedImports: + _9.specifiers.push(...this.convertChildren(t26.importClause.namedBindings.elements)); + break; + } + return _9; + } + case x7.NamespaceImport: + return this.createNode(t26, { type: C7.ImportNamespaceSpecifier, local: this.convertChild(t26.name) }); + case x7.ImportSpecifier: + return this.createNode(t26, { type: C7.ImportSpecifier, imported: this.convertChild(t26.propertyName ?? t26.name), importKind: t26.isTypeOnly ? "type" : "value", local: this.convertChild(t26.name) }); + case x7.ImportClause: { + let _9 = this.convertChild(t26.name); + return this.createNode(t26, { type: C7.ImportDefaultSpecifier, range: _9.range, local: _9 }); + } + case x7.ExportDeclaration: + return t26.exportClause?.kind === x7.NamedExports ? (this.assertModuleSpecifier(t26, true), this.createNode(t26, this.#t({ type: C7.ExportNamedDeclaration, attributes: this.convertImportAttributes(t26), declaration: null, exportKind: t26.isTypeOnly ? "type" : "value", source: this.convertChild(t26.moduleSpecifier), specifiers: this.convertChildren(t26.exportClause.elements, t26) }, "assertions", "attributes", true))) : (this.assertModuleSpecifier(t26, false), this.createNode(t26, this.#t({ type: C7.ExportAllDeclaration, attributes: this.convertImportAttributes(t26), exported: t26.exportClause?.kind === x7.NamespaceExport ? this.convertChild(t26.exportClause.name) : null, exportKind: t26.isTypeOnly ? "type" : "value", source: this.convertChild(t26.moduleSpecifier) }, "assertions", "attributes", true))); + case x7.ExportSpecifier: { + let _9 = t26.propertyName ?? t26.name; + return _9.kind === x7.StringLiteral && a5.kind === x7.ExportDeclaration && a5.moduleSpecifier?.kind !== x7.StringLiteral && this.#e(_9, "A string literal cannot be used as a local exported binding without `from`."), this.createNode(t26, { type: C7.ExportSpecifier, exported: this.convertChild(t26.name), exportKind: t26.isTypeOnly ? "type" : "value", local: this.convertChild(_9) }); + } + case x7.ExportAssignment: + return t26.isExportEquals ? this.createNode(t26, { type: C7.TSExportAssignment, expression: this.convertChild(t26.expression) }) : this.createNode(t26, { type: C7.ExportDefaultDeclaration, declaration: this.convertChild(t26.expression), exportKind: "value" }); + case x7.PrefixUnaryExpression: + case x7.PostfixUnaryExpression: { + let _9 = Qr8(t26.operator); + return _9 === "++" || _9 === "--" ? (Jl4(t26.operand) || this.#e(t26.operand, "Invalid left-hand side expression in unary operation"), this.createNode(t26, { type: C7.UpdateExpression, argument: this.convertChild(t26.operand), operator: _9, prefix: t26.kind === x7.PrefixUnaryExpression })) : this.createNode(t26, { type: C7.UnaryExpression, argument: this.convertChild(t26.operand), operator: _9, prefix: t26.kind === x7.PrefixUnaryExpression }); + } + case x7.DeleteExpression: + return this.createNode(t26, { type: C7.UnaryExpression, argument: this.convertChild(t26.expression), operator: "delete", prefix: true }); + case x7.VoidExpression: + return this.createNode(t26, { type: C7.UnaryExpression, argument: this.convertChild(t26.expression), operator: "void", prefix: true }); + case x7.TypeOfExpression: + return this.createNode(t26, { type: C7.UnaryExpression, argument: this.convertChild(t26.expression), operator: "typeof", prefix: true }); + case x7.TypeOperator: + return this.createNode(t26, { type: C7.TSTypeOperator, operator: Qr8(t26.operator), typeAnnotation: this.convertChild(t26.type) }); + case x7.BinaryExpression: { + if (t26.operatorToken.kind !== x7.InKeyword && t26.left.kind === x7.PrivateIdentifier ? this.#e(t26.left, "Private identifiers cannot appear on the right-hand-side of an 'in' expression.") : t26.right.kind === x7.PrivateIdentifier && this.#e(t26.right, "Private identifiers are only allowed on the left-hand-side of an 'in' expression."), Eh(t26.operatorToken)) { + let f7 = this.createNode(t26, { type: C7.SequenceExpression, expressions: [] }), h5 = this.convertChild(t26.left); + return h5.type === C7.SequenceExpression && t26.left.kind !== x7.ParenthesizedExpression ? f7.expressions.push(...h5.expressions) : f7.expressions.push(h5), f7.expressions.push(this.convertChild(t26.right)), f7; + } + let _9 = Ah(t26.operatorToken); + return this.allowPattern && _9.type === C7.AssignmentExpression ? this.createNode(t26, { type: C7.AssignmentPattern, decorators: [], left: this.convertPattern(t26.left, t26), optional: false, right: this.convertChild(t26.right), typeAnnotation: void 0 }) : this.createNode(t26, { ..._9, left: this.converter(t26.left, t26, _9.type === C7.AssignmentExpression), right: this.convertChild(t26.right) }); + } + case x7.PropertyAccessExpression: { + let _9 = this.convertChild(t26.expression), f7 = this.convertChild(t26.name), T7 = this.createNode(t26, { type: C7.MemberExpression, computed: false, object: _9, optional: t26.questionDotToken != null, property: f7 }); + return this.convertChainExpression(T7, t26); + } + case x7.ElementAccessExpression: { + let _9 = this.convertChild(t26.expression), f7 = this.convertChild(t26.argumentExpression), T7 = this.createNode(t26, { type: C7.MemberExpression, computed: true, object: _9, optional: t26.questionDotToken != null, property: f7 }); + return this.convertChainExpression(T7, t26); + } + case x7.CallExpression: { + if (t26.expression.kind === x7.ImportKeyword) return t26.arguments.length !== 1 && t26.arguments.length !== 2 && this.#e(t26.arguments[2] ?? t26, "Dynamic import requires exactly one or two arguments."), this.createNode(t26, this.#t({ type: C7.ImportExpression, options: t26.arguments[1] ? this.convertChild(t26.arguments[1]) : null, source: this.convertChild(t26.arguments[0]) }, "attributes", "options", true)); + let _9 = this.convertChild(t26.expression), f7 = this.convertChildren(t26.arguments), h5 = t26.typeArguments && this.convertTypeArgumentsToTypeParameterInstantiation(t26.typeArguments, t26), T7 = this.createNode(t26, { type: C7.CallExpression, arguments: f7, callee: _9, optional: t26.questionDotToken != null, typeArguments: h5 }); + return this.convertChainExpression(T7, t26); + } + case x7.NewExpression: { + let _9 = t26.typeArguments && this.convertTypeArgumentsToTypeParameterInstantiation(t26.typeArguments, t26); + return this.createNode(t26, { type: C7.NewExpression, arguments: this.convertChildren(t26.arguments ?? []), callee: this.convertChild(t26.expression), typeArguments: _9 }); + } + case x7.ConditionalExpression: + return this.createNode(t26, { type: C7.ConditionalExpression, alternate: this.convertChild(t26.whenFalse), consequent: this.convertChild(t26.whenTrue), test: this.convertChild(t26.condition) }); + case x7.MetaProperty: + return this.createNode(t26, { type: C7.MetaProperty, meta: this.createNode(t26.getFirstToken(), { type: C7.Identifier, decorators: [], name: Qr8(t26.keywordToken), optional: false, typeAnnotation: void 0 }), property: this.convertChild(t26.name) }); + case x7.Decorator: + return this.createNode(t26, { type: C7.Decorator, expression: this.convertChild(t26.expression) }); + case x7.StringLiteral: + return this.createNode(t26, { type: C7.Literal, raw: t26.getText(), value: a5.kind === x7.JsxAttribute ? Kf(t26.text) : t26.text }); + case x7.NumericLiteral: + return this.createNode(t26, { type: C7.Literal, raw: t26.getText(), value: Number(t26.text) }); + case x7.BigIntLiteral: { + let _9 = sa5(t26, this.ast), f7 = this.ast.text.slice(_9[0], _9[1]), h5 = Wr5(0, f7.slice(0, -1), "_", ""), T7 = typeof BigInt < "u" ? BigInt(h5) : null; + return this.createNode(t26, { type: C7.Literal, range: _9, bigint: T7 == null ? h5 : String(T7), raw: f7, value: T7 }); + } + case x7.RegularExpressionLiteral: { + let _9 = t26.text.slice(1, t26.text.lastIndexOf("/")), f7 = t26.text.slice(t26.text.lastIndexOf("/") + 1), h5 = null; + try { + h5 = new RegExp(_9, f7); + } catch { + } + return this.createNode(t26, { type: C7.Literal, raw: t26.text, regex: { flags: f7, pattern: _9 }, value: h5 }); + } + case x7.TrueKeyword: + return this.createNode(t26, { type: C7.Literal, raw: "true", value: true }); + case x7.FalseKeyword: + return this.createNode(t26, { type: C7.Literal, raw: "false", value: false }); + case x7.NullKeyword: + return this.createNode(t26, { type: C7.Literal, raw: "null", value: null }); + case x7.EmptyStatement: + return this.createNode(t26, { type: C7.EmptyStatement }); + case x7.DebuggerStatement: + return this.createNode(t26, { type: C7.DebuggerStatement }); + case x7.JsxElement: + return this.createNode(t26, { type: C7.JSXElement, children: this.convertChildren(t26.children), closingElement: this.convertChild(t26.closingElement), openingElement: this.convertChild(t26.openingElement) }); + case x7.JsxFragment: + return this.createNode(t26, { type: C7.JSXFragment, children: this.convertChildren(t26.children), closingFragment: this.convertChild(t26.closingFragment), openingFragment: this.convertChild(t26.openingFragment) }); + case x7.JsxSelfClosingElement: + return this.createNode(t26, { type: C7.JSXElement, children: [], closingElement: null, openingElement: this.createNode(t26, { type: C7.JSXOpeningElement, range: sa5(t26, this.ast), attributes: this.convertChildren(t26.attributes.properties), name: this.convertJSXTagName(t26.tagName, t26), selfClosing: true, typeArguments: t26.typeArguments ? this.convertTypeArgumentsToTypeParameterInstantiation(t26.typeArguments, t26) : void 0 }) }); + case x7.JsxOpeningElement: + return this.createNode(t26, { type: C7.JSXOpeningElement, attributes: this.convertChildren(t26.attributes.properties), name: this.convertJSXTagName(t26.tagName, t26), selfClosing: false, typeArguments: t26.typeArguments && this.convertTypeArgumentsToTypeParameterInstantiation(t26.typeArguments, t26) }); + case x7.JsxClosingElement: + return this.createNode(t26, { type: C7.JSXClosingElement, name: this.convertJSXTagName(t26.tagName, t26) }); + case x7.JsxOpeningFragment: + return this.createNode(t26, { type: C7.JSXOpeningFragment }); + case x7.JsxClosingFragment: + return this.createNode(t26, { type: C7.JSXClosingFragment }); + case x7.JsxExpression: { + let _9 = t26.expression ? this.convertChild(t26.expression) : this.createNode(t26, { type: C7.JSXEmptyExpression, range: [t26.getStart(this.ast) + 1, t26.getEnd() - 1] }); + return t26.dotDotDotToken ? this.createNode(t26, { type: C7.JSXSpreadChild, expression: _9 }) : this.createNode(t26, { type: C7.JSXExpressionContainer, expression: _9 }); + } + case x7.JsxAttribute: + return this.createNode(t26, { type: C7.JSXAttribute, name: this.convertJSXNamespaceOrIdentifier(t26.name), value: this.convertChild(t26.initializer) }); + case x7.JsxText: { + let _9 = t26.getFullStart(), f7 = t26.getEnd(), h5 = this.ast.text.slice(_9, f7); + return this.createNode(t26, { type: C7.JSXText, range: [_9, f7], raw: h5, value: Kf(h5) }); + } + case x7.JsxSpreadAttribute: + return this.createNode(t26, { type: C7.JSXSpreadAttribute, argument: this.convertChild(t26.expression) }); + case x7.QualifiedName: + return this.createNode(t26, { type: C7.TSQualifiedName, left: this.convertChild(t26.left), right: this.convertChild(t26.right) }); + case x7.TypeReference: + return this.createNode(t26, { type: C7.TSTypeReference, typeArguments: t26.typeArguments && this.convertTypeArgumentsToTypeParameterInstantiation(t26.typeArguments, t26), typeName: this.convertChild(t26.typeName) }); + case x7.TypeParameter: + return this.createNode(t26, { type: C7.TSTypeParameter, const: Ge10(x7.ConstKeyword, t26), constraint: t26.constraint && this.convertChild(t26.constraint), default: t26.default ? this.convertChild(t26.default) : void 0, in: Ge10(x7.InKeyword, t26), name: this.convertChild(t26.name), out: Ge10(x7.OutKeyword, t26) }); + case x7.ThisType: + return this.createNode(t26, { type: C7.TSThisType }); + case x7.AnyKeyword: + case x7.BigIntKeyword: + case x7.BooleanKeyword: + case x7.NeverKeyword: + case x7.NumberKeyword: + case x7.ObjectKeyword: + case x7.StringKeyword: + case x7.SymbolKeyword: + case x7.UnknownKeyword: + case x7.VoidKeyword: + case x7.UndefinedKeyword: + case x7.IntrinsicKeyword: + return this.createNode(t26, { type: C7[`TS${x7[t26.kind]}`] }); + case x7.NonNullExpression: { + let _9 = this.createNode(t26, { type: C7.TSNonNullExpression, expression: this.convertChild(t26.expression) }); + return this.convertChainExpression(_9, t26); + } + case x7.TypeLiteral: + return this.createNode(t26, { type: C7.TSTypeLiteral, members: this.convertChildren(t26.members) }); + case x7.ArrayType: + return this.createNode(t26, { type: C7.TSArrayType, elementType: this.convertChild(t26.elementType) }); + case x7.IndexedAccessType: + return this.createNode(t26, { type: C7.TSIndexedAccessType, indexType: this.convertChild(t26.indexType), objectType: this.convertChild(t26.objectType) }); + case x7.ConditionalType: + return this.createNode(t26, { type: C7.TSConditionalType, checkType: this.convertChild(t26.checkType), extendsType: this.convertChild(t26.extendsType), falseType: this.convertChild(t26.falseType), trueType: this.convertChild(t26.trueType) }); + case x7.TypeQuery: + return this.createNode(t26, { type: C7.TSTypeQuery, exprName: this.convertChild(t26.exprName), typeArguments: t26.typeArguments && this.convertTypeArgumentsToTypeParameterInstantiation(t26.typeArguments, t26) }); + case x7.MappedType: + return t26.members && t26.members.length > 0 && this.#e(t26.members[0], "A mapped type may not declare properties or methods."), this.createNode(t26, this.#n({ type: C7.TSMappedType, constraint: this.convertChild(t26.typeParameter.constraint), key: this.convertChild(t26.typeParameter.name), nameType: this.convertChild(t26.nameType) ?? null, optional: t26.questionToken ? t26.questionToken.kind === x7.QuestionToken || Qr8(t26.questionToken.kind) : false, readonly: t26.readonlyToken ? t26.readonlyToken.kind === x7.ReadonlyKeyword || Qr8(t26.readonlyToken.kind) : void 0, typeAnnotation: t26.type && this.convertChild(t26.type) }, "typeParameter", "'constraint' and 'key'", this.convertChild(t26.typeParameter))); + case x7.ParenthesizedExpression: + return this.convertChild(t26.expression, a5); + case x7.TypeAliasDeclaration: { + let _9 = this.createNode(t26, { type: C7.TSTypeAliasDeclaration, declare: Ge10(x7.DeclareKeyword, t26), id: this.convertChild(t26.name), typeAnnotation: this.convertChild(t26.type), typeParameters: t26.typeParameters && this.convertTSTypeParametersToTypeParametersDeclaration(t26.typeParameters) }); + return this.fixExports(t26, _9); + } + case x7.MethodSignature: + return this.convertMethodSignature(t26); + case x7.PropertySignature: { + let { initializer: _9 } = t26; + return _9 && this.#e(_9, "A property signature cannot have an initializer."), this.createNode(t26, { type: C7.TSPropertySignature, accessibility: Si10(t26), computed: _a5(t26.name), key: this.convertChild(t26.name), optional: Zf(t26), readonly: Ge10(x7.ReadonlyKeyword, t26), static: Ge10(x7.StaticKeyword, t26), typeAnnotation: t26.type && this.convertTypeAnnotation(t26.type, t26) }); + } + case x7.IndexSignature: + return this.createNode(t26, { type: C7.TSIndexSignature, accessibility: Si10(t26), parameters: this.convertChildren(t26.parameters), readonly: Ge10(x7.ReadonlyKeyword, t26), static: Ge10(x7.StaticKeyword, t26), typeAnnotation: t26.type && this.convertTypeAnnotation(t26.type, t26) }); + case x7.ConstructorType: + return this.createNode(t26, { type: C7.TSConstructorType, abstract: Ge10(x7.AbstractKeyword, t26), params: this.convertParameters(t26.parameters), returnType: t26.type && this.convertTypeAnnotation(t26.type, t26), typeParameters: t26.typeParameters && this.convertTSTypeParametersToTypeParametersDeclaration(t26.typeParameters) }); + case x7.FunctionType: { + let { modifiers: _9 } = t26; + _9 && this.#e(_9[0], "A function type cannot have modifiers."); + } + case x7.ConstructSignature: + case x7.CallSignature: { + let _9 = t26.kind === x7.ConstructSignature ? C7.TSConstructSignatureDeclaration : t26.kind === x7.CallSignature ? C7.TSCallSignatureDeclaration : C7.TSFunctionType; + return this.createNode(t26, { type: _9, params: this.convertParameters(t26.parameters), returnType: t26.type && this.convertTypeAnnotation(t26.type, t26), typeParameters: t26.typeParameters && this.convertTSTypeParametersToTypeParametersDeclaration(t26.typeParameters) }); + } + case x7.ExpressionWithTypeArguments: { + let _9 = a5.kind, f7 = _9 === x7.InterfaceDeclaration ? C7.TSInterfaceHeritage : _9 === x7.HeritageClause ? C7.TSClassImplements : C7.TSInstantiationExpression; + return this.createNode(t26, { type: f7, expression: this.convertChild(t26.expression), typeArguments: t26.typeArguments && this.convertTypeArgumentsToTypeParameterInstantiation(t26.typeArguments, t26) }); + } + case x7.InterfaceDeclaration: { + let _9 = t26.heritageClauses ?? [], f7 = [], h5 = false; + for (let k8 of _9) { + k8.token !== x7.ExtendsKeyword && this.#e(k8, k8.token === x7.ImplementsKeyword ? "Interface declaration cannot have 'implements' clause." : "Unexpected token."), h5 && this.#e(k8, "'extends' clause already seen."), h5 = true; + for (let c7 of k8.types) (!jh(c7.expression) || e1(c7.expression)) && this.#e(c7, "Interface declaration can only extend an identifier/qualified name with optional type arguments."), f7.push(this.convertChild(c7, t26)); + } + let T7 = this.createNode(t26, { type: C7.TSInterfaceDeclaration, body: this.createNode(t26, { type: C7.TSInterfaceBody, range: [t26.members.pos - 1, t26.end], body: this.convertChildren(t26.members) }), declare: Ge10(x7.DeclareKeyword, t26), extends: f7, id: this.convertChild(t26.name), typeParameters: t26.typeParameters && this.convertTSTypeParametersToTypeParametersDeclaration(t26.typeParameters) }); + return this.fixExports(t26, T7); + } + case x7.TypePredicate: { + let _9 = this.createNode(t26, { type: C7.TSTypePredicate, asserts: t26.assertsModifier != null, parameterName: this.convertChild(t26.parameterName), typeAnnotation: null }); + return t26.type && (_9.typeAnnotation = this.convertTypeAnnotation(t26.type, t26), _9.typeAnnotation.loc = _9.typeAnnotation.typeAnnotation.loc, _9.typeAnnotation.range = _9.typeAnnotation.typeAnnotation.range), _9; + } + case x7.ImportType: { + let _9 = sa5(t26, this.ast); + if (t26.isTypeOf) { + let c7 = er9(t26.getFirstToken(), t26, this.ast); + _9[0] = c7.getStart(this.ast); + } + let f7 = null; + if (t26.attributes) { + let c7 = this.createNode(t26.attributes, { type: C7.ObjectExpression, properties: t26.attributes.elements.map((be10) => this.createNode(be10, { type: C7.Property, computed: false, key: this.convertChild(be10.name), kind: "init", method: false, optional: false, shorthand: false, value: this.convertChild(be10.value) })) }), W10 = er9(t26.argument, t26, this.ast), y10 = er9(W10, t26, this.ast), G11 = er9(t26.attributes, t26, this.ast), E7 = G11.kind === Ae10.CommaToken ? er9(G11, t26, this.ast) : G11, D7 = er9(y10, t26, this.ast), R10 = sa5(D7, this.ast), ue11 = D7.kind === Ae10.AssertKeyword ? "assert" : "with"; + f7 = this.createNode(t26, { type: C7.ObjectExpression, range: [y10.getStart(this.ast), E7.end], properties: [this.createNode(t26, { type: C7.Property, range: [R10[0], t26.attributes.end], computed: false, key: this.createNode(t26, { type: C7.Identifier, range: R10, decorators: [], name: ue11, optional: false, typeAnnotation: void 0 }), kind: "init", method: false, optional: false, shorthand: false, value: c7 })] }); + } + let h5 = this.convertChild(t26.argument), T7 = h5.literal, k8 = this.createNode(t26, this.#n({ type: C7.TSImportType, range: _9, options: f7, qualifier: this.convertChild(t26.qualifier), source: T7, typeArguments: t26.typeArguments ? this.convertTypeArgumentsToTypeParameterInstantiation(t26.typeArguments, t26) : null }, "argument", "source", h5)); + return t26.isTypeOf ? this.createNode(t26, { type: C7.TSTypeQuery, exprName: k8, typeArguments: void 0 }) : k8; + } + case x7.EnumDeclaration: { + let _9 = this.convertChildren(t26.members), f7 = this.createNode(t26, this.#n({ type: C7.TSEnumDeclaration, body: this.createNode(t26, { type: C7.TSEnumBody, range: [t26.members.pos - 1, t26.end], members: _9 }), const: Ge10(x7.ConstKeyword, t26), declare: Ge10(x7.DeclareKeyword, t26), id: this.convertChild(t26.name) }, "members", "'body.members'", this.convertChildren(t26.members))); + return this.fixExports(t26, f7); + } + case x7.EnumMember: { + let _9 = t26.name.kind === Ae10.ComputedPropertyName; + return _9 && this.#e(t26.name, "Computed property names are not allowed in enums."), (t26.name.kind === x7.NumericLiteral || t26.name.kind === x7.BigIntLiteral) && this.#e(t26.name, "An enum member cannot have a numeric name."), this.createNode(t26, this.#n({ type: C7.TSEnumMember, id: this.convertChild(t26.name), initializer: t26.initializer && this.convertChild(t26.initializer) }, "computed", void 0, _9)); + } + case x7.ModuleDeclaration: { + let _9 = Ge10(x7.DeclareKeyword, t26), f7 = this.createNode(t26, { type: C7.TSModuleDeclaration, ...(() => { + if (t26.flags & sn8.GlobalAugmentation) { + let T7 = this.convertChild(t26.name), k8 = this.convertChild(t26.body); + return (k8 == null || k8.type === C7.TSModuleDeclaration) && this.#e(t26.body ?? t26, "Expected a valid module body"), T7.type !== C7.Identifier && this.#e(t26.name, "global module augmentation must have an Identifier id"), { body: k8, declare: false, global: false, id: T7, kind: "global" }; + } + if (vi10(t26.name)) { + let T7 = this.convertChild(t26.body); + return { kind: "module", ...T7 != null ? { body: T7 } : {}, declare: false, global: false, id: this.convertChild(t26.name) }; + } + t26.body == null && this.#e(t26, "Expected a module body"), t26.name.kind !== Ae10.Identifier && this.#e(t26.name, "`namespace`s must have an Identifier id"); + let h5 = this.createNode(t26.name, { type: C7.Identifier, range: [t26.name.getStart(this.ast), t26.name.getEnd()], decorators: [], name: t26.name.text, optional: false, typeAnnotation: void 0 }); + for (; t26.body && Ti10(t26.body) && t26.body.name; ) { + t26 = t26.body, _9 || (_9 = Ge10(x7.DeclareKeyword, t26)); + let T7 = t26.name, k8 = this.createNode(T7, { type: C7.Identifier, range: [T7.getStart(this.ast), T7.getEnd()], decorators: [], name: T7.text, optional: false, typeAnnotation: void 0 }); + h5 = this.createNode(T7, { type: C7.TSQualifiedName, range: [h5.range[0], k8.range[1]], left: h5, right: k8 }); + } + return { body: this.convertChild(t26.body), declare: false, global: false, id: h5, kind: t26.flags & sn8.Namespace ? "namespace" : "module" }; + })() }); + return f7.declare = _9, t26.flags & sn8.GlobalAugmentation && (f7.global = true), this.fixExports(t26, f7); + } + case x7.ParenthesizedType: + return this.convertChild(t26.type); + case x7.UnionType: + return this.createNode(t26, { type: C7.TSUnionType, types: this.convertChildren(t26.types) }); + case x7.IntersectionType: + return this.createNode(t26, { type: C7.TSIntersectionType, types: this.convertChildren(t26.types) }); + case x7.AsExpression: + return this.createNode(t26, { type: C7.TSAsExpression, expression: this.convertChild(t26.expression), typeAnnotation: this.convertChild(t26.type) }); + case x7.InferType: + return this.createNode(t26, { type: C7.TSInferType, typeParameter: this.convertChild(t26.typeParameter) }); + case x7.LiteralType: + return t26.literal.kind === x7.NullKeyword ? this.createNode(t26.literal, { type: C7.TSNullKeyword }) : this.createNode(t26, { type: C7.TSLiteralType, literal: this.convertChild(t26.literal) }); + case x7.TypeAssertionExpression: + return this.createNode(t26, { type: C7.TSTypeAssertion, expression: this.convertChild(t26.expression), typeAnnotation: this.convertChild(t26.type) }); + case x7.ImportEqualsDeclaration: + return this.fixExports(t26, this.createNode(t26, { type: C7.TSImportEqualsDeclaration, id: this.convertChild(t26.name), importKind: t26.isTypeOnly ? "type" : "value", moduleReference: this.convertChild(t26.moduleReference) })); + case x7.ExternalModuleReference: + return t26.expression.kind !== x7.StringLiteral && this.#e(t26.expression, "String literal expected."), this.createNode(t26, { type: C7.TSExternalModuleReference, expression: this.convertChild(t26.expression) }); + case x7.NamespaceExportDeclaration: + return this.createNode(t26, { type: C7.TSNamespaceExportDeclaration, id: this.convertChild(t26.name) }); + case x7.AbstractKeyword: + return this.createNode(t26, { type: C7.TSAbstractKeyword }); + case x7.TupleType: { + let _9 = this.convertChildren(t26.elements); + return this.createNode(t26, { type: C7.TSTupleType, elementTypes: _9 }); + } + case x7.NamedTupleMember: { + let _9 = this.createNode(t26, { type: C7.TSNamedTupleMember, elementType: this.convertChild(t26.type, t26), label: this.convertChild(t26.name, t26), optional: t26.questionToken != null }); + return t26.dotDotDotToken ? (_9.range[0] = _9.label.range[0], _9.loc.start = _9.label.loc.start, this.createNode(t26, { type: C7.TSRestType, typeAnnotation: _9 })) : _9; + } + case x7.OptionalType: + return this.createNode(t26, { type: C7.TSOptionalType, typeAnnotation: this.convertChild(t26.type) }); + case x7.RestType: + return this.createNode(t26, { type: C7.TSRestType, typeAnnotation: this.convertChild(t26.type) }); + case x7.TemplateLiteralType: { + let _9 = this.createNode(t26, { type: C7.TSTemplateLiteralType, quasis: [this.convertChild(t26.head)], types: [] }); + return t26.templateSpans.forEach((f7) => { + _9.types.push(this.convertChild(f7.type)), _9.quasis.push(this.convertChild(f7.literal)); + }), _9; + } + case x7.ClassStaticBlockDeclaration: + return this.createNode(t26, { type: C7.StaticBlock, body: this.convertBodyExpressions(t26.body.statements, t26) }); + case x7.AssertEntry: + case x7.ImportAttribute: + return this.createNode(t26, { type: C7.ImportAttribute, key: this.convertChild(t26.name), value: this.convertChild(t26.value) }); + case x7.SatisfiesExpression: + return this.createNode(t26, { type: C7.TSSatisfiesExpression, expression: this.convertChild(t26.expression), typeAnnotation: this.convertChild(t26.type) }); + default: + return this.deeplyCopy(t26); + } + } + createNode(t26, a5) { + let _9 = a5; + return _9.range ?? (_9.range = sa5(t26, this.ast)), _9.loc ?? (_9.loc = Kr7(_9.range, this.ast)), _9 && this.options.shouldPreserveNodeMaps && this.esTreeNodeToTSNodeMap.set(_9, t26), _9; + } + convertProgram() { + return this.converter(this.ast); + } + deeplyCopy(t26) { + t26.kind === Ae10.JSDocFunctionType && this.#e(t26, "JSDoc types can only be used inside documentation comments."); + let a5 = `TS${x7[t26.kind]}`; + if (this.options.errorOnUnknownASTType && !C7[a5]) throw new Error(`Unknown AST_NODE_TYPE: "${a5}"`); + let _9 = this.createNode(t26, { type: a5 }); + "type" in t26 && (_9.typeAnnotation = t26.type && "kind" in t26.type && i1(t26.type) ? this.convertTypeAnnotation(t26.type, t26) : null), "typeArguments" in t26 && (_9.typeArguments = t26.typeArguments && "pos" in t26.typeArguments ? this.convertTypeArgumentsToTypeParameterInstantiation(t26.typeArguments, t26) : null), "typeParameters" in t26 && (_9.typeParameters = t26.typeParameters && "pos" in t26.typeParameters ? this.convertTSTypeParametersToTypeParametersDeclaration(t26.typeParameters) : null); + let f7 = xi10(t26); + f7?.length && (_9.decorators = this.convertChildren(f7)); + let h5 = /* @__PURE__ */ new Set(["_children", "decorators", "end", "flags", "heritageClauses", "illegalDecorators", "jsDoc", "kind", "locals", "localSymbol", "modifierFlagsCache", "modifiers", "nextContainer", "parent", "pos", "symbol", "transformFlags", "type", "typeArguments", "typeParameters"]); + return Object.entries(t26).filter(([T7]) => !h5.has(T7)).forEach(([T7, k8]) => { + Array.isArray(k8) ? _9[T7] = this.convertChildren(k8) : k8 && typeof k8 == "object" && k8.kind ? _9[T7] = this.convertChild(k8) : _9[T7] = k8; + }), _9; + } + fixExports(t26, a5) { + let f7 = Ti10(t26) && !vi10(t26.name) ? Oh(t26) : Rn6(t26); + if (f7?.[0].kind === x7.ExportKeyword) { + this.registerTSNodeInNodeMap(t26, a5); + let h5 = f7[0], T7 = f7[1], k8 = T7?.kind === x7.DefaultKeyword, c7 = k8 ? er9(T7, this.ast, this.ast) : er9(h5, this.ast, this.ast); + if (a5.range[0] = c7.getStart(this.ast), a5.loc = Kr7(a5.range, this.ast), k8) return this.createNode(t26, { type: C7.ExportDefaultDeclaration, range: [h5.getStart(this.ast), a5.range[1]], declaration: a5, exportKind: "value" }); + let W10 = a5.type === C7.TSInterfaceDeclaration || a5.type === C7.TSTypeAliasDeclaration, y10 = "declare" in a5 && a5.declare; + return this.createNode(t26, this.#t({ type: C7.ExportNamedDeclaration, range: [h5.getStart(this.ast), a5.range[1]], attributes: [], declaration: a5, exportKind: W10 || y10 ? "type" : "value", source: null, specifiers: [] }, "assertions", "attributes", true)); + } + return a5; + } + getASTMaps() { + return { esTreeNodeToTSNodeMap: this.esTreeNodeToTSNodeMap, tsNodeToESTreeNodeMap: this.tsNodeToESTreeNodeMap }; + } + registerTSNodeInNodeMap(t26, a5) { + a5 && this.options.shouldPreserveNodeMaps && !this.tsNodeToESTreeNodeMap.has(t26) && this.tsNodeToESTreeNodeMap.set(t26, a5); + } + }; + [rx, ix] = gm2.split(".").map((e7) => Number.parseInt(e7, 10)); + ax = en9.Intrinsic ?? en9.Any | en9.Unknown | en9.String | en9.Number | en9.BigInt | en9.Boolean | en9.BooleanLiteral | en9.ESSymbol | en9.Void | en9.Undefined | en9.Null | en9.Never | en9.NonPrimitive; + qh = () => { + }; + Uv = function(e7) { + return e7 && e7.__esModule ? e7 : { default: e7 }; + }; + Bv = Uv({ extname: (e7) => "." + e7.split(".").pop() }); + Fv = { default: Na3 }; + zv = (0, Fv.default)("typescript-eslint:typescript-estree:create-program:createSourceFile"); + Gh = (e7) => e7; + Yh = () => { + }; + Hh = class { + }; + $h = () => false; + Qh = () => { + }; + n4 = function(e7) { + return e7 && e7.__esModule ? e7 : { default: e7 }; + }; + r4 = {}; + id = { default: Na3 }; + i4 = n4({ extname: (e7) => "." + e7.split(".").pop() }); + a4 = (0, id.default)("typescript-eslint:typescript-estree:parseSettings:createParseSettings"); + Kh = null; + k_ = { ParseAll: Ya5?.ParseAll, ParseForTypeErrors: Ya5?.ParseForTypeErrors, ParseForTypeInfo: Ya5?.ParseForTypeInfo, ParseNone: Ya5?.ParseNone }; + f42 = { default: Na3 }; + Tx = (0, f42.default)("typescript-eslint:typescript-estree:parser"); + t0 = m42; + h4 = Array.prototype.findLast ?? function(e7) { + for (let t26 = this.length - 1; t26 >= 0; t26--) { + let a5 = this[t26]; + if (e7(a5, t26, this)) return a5; + } + }; + y42 = Ia4("findLast", function() { + if (Array.isArray(this)) return h4; + }); + r0 = y42; + b42 = Ia4("at", function() { + if (Array.isArray(this) || typeof this == "string") return g42; + }); + i0 = b42; + $a5 = v42; + T42 = $a5(["Block", "CommentBlock", "MultiLine"]); + Qa5 = T42; + x42 = $a5(["Line", "CommentLine", "SingleLine", "HashbangComment", "HTMLOpen", "HTMLClose", "Hashbang", "InterpreterDirective"]); + a0 = x42; + ad = /* @__PURE__ */ new WeakMap(); + s0 = S42; + sd = /* @__PURE__ */ new WeakMap(); + _d = k42; + _0 = E42; + o0 = A42; + E_ = null; + C42 = 10; + for (let e7 = 0; e7 <= C42; e7++) A_(); + c0 = D42; + w7 = [["decorators", "key", "typeAnnotation", "value"], [], ["elementType"], ["expression"], ["expression", "typeAnnotation"], ["left", "right"], ["argument"], ["directives", "body"], ["label"], ["callee", "typeArguments", "arguments"], ["body"], ["decorators", "id", "typeParameters", "superClass", "superTypeArguments", "mixins", "implements", "body", "superTypeParameters"], ["id", "typeParameters"], ["decorators", "key", "typeParameters", "params", "returnType", "body"], ["decorators", "variance", "key", "typeAnnotation", "value"], ["name", "typeAnnotation"], ["test", "consequent", "alternate"], ["checkType", "extendsType", "trueType", "falseType"], ["value"], ["id", "body"], ["declaration", "specifiers", "source", "attributes"], ["id"], ["id", "typeParameters", "extends", "body"], ["typeAnnotation"], ["id", "typeParameters", "right"], ["body", "test"], ["members"], ["id", "init"], ["exported"], ["left", "right", "body"], ["id", "typeParameters", "params", "predicate", "returnType", "body"], ["id", "params", "body", "typeParameters", "returnType"], ["key", "value"], ["local"], ["objectType", "indexType"], ["typeParameter"], ["types"], ["node"], ["object", "property"], ["argument", "cases"], ["pattern", "body", "guard"], ["literal"], ["decorators", "key", "value"], ["expressions"], ["qualification", "id"], ["decorators", "key", "typeAnnotation"], ["typeParameters", "params", "returnType"], ["expression", "typeArguments"], ["params"], ["parameterName", "typeAnnotation"]]; + l0 = { AccessorProperty: w7[0], AnyTypeAnnotation: w7[1], ArgumentPlaceholder: w7[1], ArrayExpression: ["elements"], ArrayPattern: ["elements", "typeAnnotation", "decorators"], ArrayTypeAnnotation: w7[2], ArrowFunctionExpression: ["typeParameters", "params", "predicate", "returnType", "body"], AsConstExpression: w7[3], AsExpression: w7[4], AssignmentExpression: w7[5], AssignmentPattern: ["left", "right", "decorators", "typeAnnotation"], AwaitExpression: w7[6], BigIntLiteral: w7[1], BigIntLiteralTypeAnnotation: w7[1], BigIntTypeAnnotation: w7[1], BinaryExpression: w7[5], BindExpression: ["object", "callee"], BlockStatement: w7[7], BooleanLiteral: w7[1], BooleanLiteralTypeAnnotation: w7[1], BooleanTypeAnnotation: w7[1], BreakStatement: w7[8], CallExpression: w7[9], CatchClause: ["param", "body"], ChainExpression: w7[3], ClassAccessorProperty: w7[0], ClassBody: w7[10], ClassDeclaration: w7[11], ClassExpression: w7[11], ClassImplements: w7[12], ClassMethod: w7[13], ClassPrivateMethod: w7[13], ClassPrivateProperty: w7[14], ClassProperty: w7[14], ComponentDeclaration: ["id", "params", "body", "typeParameters", "rendersType"], ComponentParameter: ["name", "local"], ComponentTypeAnnotation: ["params", "rest", "typeParameters", "rendersType"], ComponentTypeParameter: w7[15], ConditionalExpression: w7[16], ConditionalTypeAnnotation: w7[17], ContinueStatement: w7[8], DebuggerStatement: w7[1], DeclareClass: ["id", "typeParameters", "extends", "mixins", "implements", "body"], DeclareComponent: ["id", "params", "rest", "typeParameters", "rendersType"], DeclaredPredicate: w7[18], DeclareEnum: w7[19], DeclareExportAllDeclaration: ["source", "attributes"], DeclareExportDeclaration: w7[20], DeclareFunction: ["id", "predicate"], DeclareHook: w7[21], DeclareInterface: w7[22], DeclareModule: w7[19], DeclareModuleExports: w7[23], DeclareNamespace: w7[19], DeclareOpaqueType: ["id", "typeParameters", "supertype", "lowerBound", "upperBound"], DeclareTypeAlias: w7[24], DeclareVariable: w7[21], Decorator: w7[3], Directive: w7[18], DirectiveLiteral: w7[1], DoExpression: w7[10], DoWhileStatement: w7[25], EmptyStatement: w7[1], EmptyTypeAnnotation: w7[1], EnumBigIntBody: w7[26], EnumBigIntMember: w7[27], EnumBooleanBody: w7[26], EnumBooleanMember: w7[27], EnumDeclaration: w7[19], EnumDefaultedMember: w7[21], EnumNumberBody: w7[26], EnumNumberMember: w7[27], EnumStringBody: w7[26], EnumStringMember: w7[27], EnumSymbolBody: w7[26], ExistsTypeAnnotation: w7[1], ExperimentalRestProperty: w7[6], ExperimentalSpreadProperty: w7[6], ExportAllDeclaration: ["source", "attributes", "exported"], ExportDefaultDeclaration: ["declaration"], ExportDefaultSpecifier: w7[28], ExportNamedDeclaration: w7[20], ExportNamespaceSpecifier: w7[28], ExportSpecifier: ["local", "exported"], ExpressionStatement: w7[3], File: ["program"], ForInStatement: w7[29], ForOfStatement: w7[29], ForStatement: ["init", "test", "update", "body"], FunctionDeclaration: w7[30], FunctionExpression: w7[30], FunctionTypeAnnotation: ["typeParameters", "this", "params", "rest", "returnType"], FunctionTypeParam: w7[15], GenericTypeAnnotation: w7[12], HookDeclaration: w7[31], HookTypeAnnotation: ["params", "returnType", "rest", "typeParameters"], Identifier: ["typeAnnotation", "decorators"], IfStatement: w7[16], ImportAttribute: w7[32], ImportDeclaration: ["specifiers", "source", "attributes"], ImportDefaultSpecifier: w7[33], ImportExpression: ["source", "options"], ImportNamespaceSpecifier: w7[33], ImportSpecifier: ["imported", "local"], IndexedAccessType: w7[34], InferredPredicate: w7[1], InferTypeAnnotation: w7[35], InterfaceDeclaration: w7[22], InterfaceExtends: w7[12], InterfaceTypeAnnotation: ["extends", "body"], InterpreterDirective: w7[1], IntersectionTypeAnnotation: w7[36], JsExpressionRoot: w7[37], JsonRoot: w7[37], JSXAttribute: ["name", "value"], JSXClosingElement: ["name"], JSXClosingFragment: w7[1], JSXElement: ["openingElement", "children", "closingElement"], JSXEmptyExpression: w7[1], JSXExpressionContainer: w7[3], JSXFragment: ["openingFragment", "children", "closingFragment"], JSXIdentifier: w7[1], JSXMemberExpression: w7[38], JSXNamespacedName: ["namespace", "name"], JSXOpeningElement: ["name", "typeArguments", "attributes"], JSXOpeningFragment: w7[1], JSXSpreadAttribute: w7[6], JSXSpreadChild: w7[3], JSXText: w7[1], KeyofTypeAnnotation: w7[6], LabeledStatement: ["label", "body"], Literal: w7[1], LogicalExpression: w7[5], MatchArrayPattern: ["elements", "rest"], MatchAsPattern: ["pattern", "target"], MatchBindingPattern: w7[21], MatchExpression: w7[39], MatchExpressionCase: w7[40], MatchIdentifierPattern: w7[21], MatchLiteralPattern: w7[41], MatchMemberPattern: ["base", "property"], MatchObjectPattern: ["properties", "rest"], MatchObjectPatternProperty: ["key", "pattern"], MatchOrPattern: ["patterns"], MatchRestPattern: w7[6], MatchStatement: w7[39], MatchStatementCase: w7[40], MatchUnaryPattern: w7[6], MatchWildcardPattern: w7[1], MemberExpression: w7[38], MetaProperty: ["meta", "property"], MethodDefinition: w7[42], MixedTypeAnnotation: w7[1], ModuleExpression: w7[10], NeverTypeAnnotation: w7[1], NewExpression: w7[9], NGChainedExpression: w7[43], NGEmptyExpression: w7[1], NGMicrosyntax: w7[10], NGMicrosyntaxAs: ["key", "alias"], NGMicrosyntaxExpression: ["expression", "alias"], NGMicrosyntaxKey: w7[1], NGMicrosyntaxKeyedExpression: ["key", "expression"], NGMicrosyntaxLet: w7[32], NGPipeExpression: ["left", "right", "arguments"], NGRoot: w7[37], NullableTypeAnnotation: w7[23], NullLiteral: w7[1], NullLiteralTypeAnnotation: w7[1], NumberLiteralTypeAnnotation: w7[1], NumberTypeAnnotation: w7[1], NumericLiteral: w7[1], ObjectExpression: ["properties"], ObjectMethod: w7[13], ObjectPattern: ["decorators", "properties", "typeAnnotation"], ObjectProperty: w7[42], ObjectTypeAnnotation: ["properties", "indexers", "callProperties", "internalSlots"], ObjectTypeCallProperty: w7[18], ObjectTypeIndexer: ["variance", "id", "key", "value"], ObjectTypeInternalSlot: ["id", "value"], ObjectTypeMappedTypeProperty: ["keyTparam", "propType", "sourceType", "variance"], ObjectTypeProperty: ["key", "value", "variance"], ObjectTypeSpreadProperty: w7[6], OpaqueType: ["id", "typeParameters", "supertype", "impltype", "lowerBound", "upperBound"], OptionalCallExpression: w7[9], OptionalIndexedAccessType: w7[34], OptionalMemberExpression: w7[38], ParenthesizedExpression: w7[3], PipelineBareFunction: ["callee"], PipelinePrimaryTopicReference: w7[1], PipelineTopicExpression: w7[3], Placeholder: w7[1], PrivateIdentifier: w7[1], PrivateName: w7[21], Program: w7[7], Property: w7[32], PropertyDefinition: w7[14], QualifiedTypeIdentifier: w7[44], QualifiedTypeofIdentifier: w7[44], RegExpLiteral: w7[1], RestElement: ["argument", "typeAnnotation", "decorators"], ReturnStatement: w7[6], SatisfiesExpression: w7[4], SequenceExpression: w7[43], SpreadElement: w7[6], StaticBlock: w7[10], StringLiteral: w7[1], StringLiteralTypeAnnotation: w7[1], StringTypeAnnotation: w7[1], Super: w7[1], SwitchCase: ["test", "consequent"], SwitchStatement: ["discriminant", "cases"], SymbolTypeAnnotation: w7[1], TaggedTemplateExpression: ["tag", "typeArguments", "quasi"], TemplateElement: w7[1], TemplateLiteral: ["quasis", "expressions"], ThisExpression: w7[1], ThisTypeAnnotation: w7[1], ThrowStatement: w7[6], TopicReference: w7[1], TryStatement: ["block", "handler", "finalizer"], TSAbstractAccessorProperty: w7[45], TSAbstractKeyword: w7[1], TSAbstractMethodDefinition: w7[32], TSAbstractPropertyDefinition: w7[45], TSAnyKeyword: w7[1], TSArrayType: w7[2], TSAsExpression: w7[4], TSAsyncKeyword: w7[1], TSBigIntKeyword: w7[1], TSBooleanKeyword: w7[1], TSCallSignatureDeclaration: w7[46], TSClassImplements: w7[47], TSConditionalType: w7[17], TSConstructorType: w7[46], TSConstructSignatureDeclaration: w7[46], TSDeclareFunction: w7[31], TSDeclareKeyword: w7[1], TSDeclareMethod: ["decorators", "key", "typeParameters", "params", "returnType"], TSEmptyBodyFunctionExpression: ["id", "typeParameters", "params", "returnType"], TSEnumBody: w7[26], TSEnumDeclaration: w7[19], TSEnumMember: ["id", "initializer"], TSExportAssignment: w7[3], TSExportKeyword: w7[1], TSExternalModuleReference: w7[3], TSFunctionType: w7[46], TSImportEqualsDeclaration: ["id", "moduleReference"], TSImportType: ["options", "qualifier", "typeArguments", "source"], TSIndexedAccessType: w7[34], TSIndexSignature: ["parameters", "typeAnnotation"], TSInferType: w7[35], TSInstantiationExpression: w7[47], TSInterfaceBody: w7[10], TSInterfaceDeclaration: w7[22], TSInterfaceHeritage: w7[47], TSIntersectionType: w7[36], TSIntrinsicKeyword: w7[1], TSJSDocAllType: w7[1], TSJSDocNonNullableType: w7[23], TSJSDocNullableType: w7[23], TSJSDocUnknownType: w7[1], TSLiteralType: w7[41], TSMappedType: ["key", "constraint", "nameType", "typeAnnotation"], TSMethodSignature: ["key", "typeParameters", "params", "returnType"], TSModuleBlock: w7[10], TSModuleDeclaration: w7[19], TSNamedTupleMember: ["label", "elementType"], TSNamespaceExportDeclaration: w7[21], TSNeverKeyword: w7[1], TSNonNullExpression: w7[3], TSNullKeyword: w7[1], TSNumberKeyword: w7[1], TSObjectKeyword: w7[1], TSOptionalType: w7[23], TSParameterProperty: ["parameter", "decorators"], TSParenthesizedType: w7[23], TSPrivateKeyword: w7[1], TSPropertySignature: ["key", "typeAnnotation"], TSProtectedKeyword: w7[1], TSPublicKeyword: w7[1], TSQualifiedName: w7[5], TSReadonlyKeyword: w7[1], TSRestType: w7[23], TSSatisfiesExpression: w7[4], TSStaticKeyword: w7[1], TSStringKeyword: w7[1], TSSymbolKeyword: w7[1], TSTemplateLiteralType: ["quasis", "types"], TSThisType: w7[1], TSTupleType: ["elementTypes"], TSTypeAliasDeclaration: ["id", "typeParameters", "typeAnnotation"], TSTypeAnnotation: w7[23], TSTypeAssertion: w7[4], TSTypeLiteral: w7[26], TSTypeOperator: w7[23], TSTypeParameter: ["name", "constraint", "default"], TSTypeParameterDeclaration: w7[48], TSTypeParameterInstantiation: w7[48], TSTypePredicate: w7[49], TSTypeQuery: ["exprName", "typeArguments"], TSTypeReference: ["typeName", "typeArguments"], TSUndefinedKeyword: w7[1], TSUnionType: w7[36], TSUnknownKeyword: w7[1], TSVoidKeyword: w7[1], TupleTypeAnnotation: ["types", "elementTypes"], TupleTypeLabeledElement: ["label", "elementType", "variance"], TupleTypeSpreadElement: ["label", "typeAnnotation"], TypeAlias: w7[24], TypeAnnotation: w7[23], TypeCastExpression: w7[4], TypeofTypeAnnotation: ["argument", "typeArguments"], TypeOperator: w7[23], TypeParameter: ["bound", "default", "variance"], TypeParameterDeclaration: w7[48], TypeParameterInstantiation: w7[48], TypePredicate: w7[49], UnaryExpression: w7[6], UndefinedTypeAnnotation: w7[1], UnionTypeAnnotation: w7[36], UnknownTypeAnnotation: w7[1], UpdateExpression: w7[6], V8IntrinsicIdentifier: w7[1], VariableDeclaration: ["declarations"], VariableDeclarator: w7[27], Variance: w7[1], VoidPattern: w7[1], VoidTypeAnnotation: w7[1], WhileStatement: w7[25], WithStatement: ["object", "body"], YieldExpression: w7[6] }; + P42 = c0(l0); + u0 = P42; + p0 = Bl3; + oS = $a5(["RegExpLiteral", "BigIntLiteral", "NumericLiteral", "StringLiteral", "DirectiveLiteral", "Literal", "JSXText", "TemplateElement", "StringLiteralTypeAnnotation", "NumberLiteralTypeAnnotation", "BigIntLiteralTypeAnnotation"]); + d0 = N42; + I42 = /\*\/$/; + O42 = /^\/\*\*?/; + M42 = /^\s*(\/\*\*?(.|\r?\n)*?\*\/)/; + L42 = /(^|\s+)\/\/([^\n\r]*)/g; + m0 = /^(\r?\n)+/; + J42 = /(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g; + h0 = /(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g; + j42 = /(\r?\n|^) *\* ?/g; + R42 = []; + b0 = ["noformat", "noprettier"]; + v0 = ["format", "prettier"]; + T0 = U42; + k0 = B42; + E0 = /^[^"'`]*<\/|^[^/]{2}.*\/>/mu; + A0 = q42; + C0 = "module"; + D0 = "commonjs"; + P0 = [C0, D0]; + F42 = { loc: true, range: true, comment: true, tokens: false, loggerFn: false, project: false, jsDocParsingMode: "none", suppressDeprecatedPropertyWarnings: true }; + V42 = (e7) => e7 && /\.(?:js|mjs|cjs|jsx|ts|mts|cts|tsx)$/iu.test(e7); + Y42 = k0(G42); + } +}); + +// node_modules/sax/lib/sax.js +var require_sax = __commonJS({ + "node_modules/sax/lib/sax.js"(exports) { + (function(sax2) { + sax2.parser = function(strict, opt) { + return new SAXParser(strict, opt); + }; + sax2.SAXParser = SAXParser; + sax2.SAXStream = SAXStream; + sax2.createStream = createStream; + sax2.MAX_BUFFER_LENGTH = 64 * 1024; + var buffers = [ + "comment", + "sgmlDecl", + "textNode", + "tagName", + "doctype", + "procInstName", + "procInstBody", + "entity", + "attribName", + "attribValue", + "cdata", + "script" + ]; + sax2.EVENTS = [ + "text", + "processinginstruction", + "sgmldeclaration", + "doctype", + "comment", + "opentagstart", + "attribute", + "opentag", + "closetag", + "opencdata", + "cdata", + "closecdata", + "error", + "end", + "ready", + "script", + "opennamespace", + "closenamespace" + ]; + function SAXParser(strict, opt) { + if (!(this instanceof SAXParser)) { + return new SAXParser(strict, opt); + } + var parser2 = this; + clearBuffers(parser2); + parser2.q = parser2.c = ""; + parser2.bufferCheckPosition = sax2.MAX_BUFFER_LENGTH; + parser2.opt = opt || {}; + parser2.opt.lowercase = parser2.opt.lowercase || parser2.opt.lowercasetags; + parser2.looseCase = parser2.opt.lowercase ? "toLowerCase" : "toUpperCase"; + parser2.tags = []; + parser2.closed = parser2.closedRoot = parser2.sawRoot = false; + parser2.tag = parser2.error = null; + parser2.strict = !!strict; + parser2.noscript = !!(strict || parser2.opt.noscript); + parser2.state = S7.BEGIN; + parser2.strictEntities = parser2.opt.strictEntities; + parser2.ENTITIES = parser2.strictEntities ? Object.create(sax2.XML_ENTITIES) : Object.create(sax2.ENTITIES); + parser2.attribList = []; + if (parser2.opt.xmlns) { + parser2.ns = Object.create(rootNS); + } + if (parser2.opt.unquotedAttributeValues === void 0) { + parser2.opt.unquotedAttributeValues = !strict; + } + parser2.trackPosition = parser2.opt.position !== false; + if (parser2.trackPosition) { + parser2.position = parser2.line = parser2.column = 0; + } + emit(parser2, "onready"); + } + if (!Object.create) { + Object.create = function(o5) { + function F10() { + } + F10.prototype = o5; + var newf = new F10(); + return newf; + }; + } + if (!Object.keys) { + Object.keys = function(o5) { + var a5 = []; + for (var i5 in o5) if (o5.hasOwnProperty(i5)) a5.push(i5); + return a5; + }; + } + function checkBufferLength(parser2) { + var maxAllowed = Math.max(sax2.MAX_BUFFER_LENGTH, 10); + var maxActual = 0; + for (var i5 = 0, l5 = buffers.length; i5 < l5; i5++) { + var len = parser2[buffers[i5]].length; + if (len > maxAllowed) { + switch (buffers[i5]) { + case "textNode": + closeText(parser2); + break; + case "cdata": + emitNode(parser2, "oncdata", parser2.cdata); + parser2.cdata = ""; + break; + case "script": + emitNode(parser2, "onscript", parser2.script); + parser2.script = ""; + break; + default: + error2(parser2, "Max buffer length exceeded: " + buffers[i5]); + } + } + maxActual = Math.max(maxActual, len); + } + var m7 = sax2.MAX_BUFFER_LENGTH - maxActual; + parser2.bufferCheckPosition = m7 + parser2.position; + } + function clearBuffers(parser2) { + for (var i5 = 0, l5 = buffers.length; i5 < l5; i5++) { + parser2[buffers[i5]] = ""; + } + } + function flushBuffers(parser2) { + closeText(parser2); + if (parser2.cdata !== "") { + emitNode(parser2, "oncdata", parser2.cdata); + parser2.cdata = ""; + } + if (parser2.script !== "") { + emitNode(parser2, "onscript", parser2.script); + parser2.script = ""; + } + } + SAXParser.prototype = { + end: function() { + end(this); + }, + write, + resume: function() { + this.error = null; + return this; + }, + close: function() { + return this.write(null); + }, + flush: function() { + flushBuffers(this); + } + }; + var Stream; + try { + Stream = __require("stream").Stream; + } catch (ex) { + Stream = function() { + }; + } + if (!Stream) Stream = function() { + }; + var streamWraps = sax2.EVENTS.filter(function(ev2) { + return ev2 !== "error" && ev2 !== "end"; + }); + function createStream(strict, opt) { + return new SAXStream(strict, opt); + } + function SAXStream(strict, opt) { + if (!(this instanceof SAXStream)) { + return new SAXStream(strict, opt); + } + Stream.apply(this); + this._parser = new SAXParser(strict, opt); + this.writable = true; + this.readable = true; + var me12 = this; + this._parser.onend = function() { + me12.emit("end"); + }; + this._parser.onerror = function(er10) { + me12.emit("error", er10); + me12._parser.error = null; + }; + this._decoder = null; + streamWraps.forEach(function(ev2) { + Object.defineProperty(me12, "on" + ev2, { + get: function() { + return me12._parser["on" + ev2]; + }, + set: function(h5) { + if (!h5) { + me12.removeAllListeners(ev2); + me12._parser["on" + ev2] = h5; + return h5; + } + me12.on(ev2, h5); + }, + enumerable: true, + configurable: false + }); + }); + } + SAXStream.prototype = Object.create(Stream.prototype, { + constructor: { + value: SAXStream + } + }); + SAXStream.prototype.write = function(data2) { + if (typeof Buffer === "function" && typeof Buffer.isBuffer === "function" && Buffer.isBuffer(data2)) { + if (!this._decoder) { + var SD = __require("string_decoder").StringDecoder; + this._decoder = new SD("utf8"); + } + data2 = this._decoder.write(data2); + } + this._parser.write(data2.toString()); + this.emit("data", data2); + return true; + }; + SAXStream.prototype.end = function(chunk) { + if (chunk && chunk.length) { + this.write(chunk); + } + this._parser.end(); + return true; + }; + SAXStream.prototype.on = function(ev2, handler2) { + var me12 = this; + if (!me12._parser["on" + ev2] && streamWraps.indexOf(ev2) !== -1) { + me12._parser["on" + ev2] = function() { + var args = arguments.length === 1 ? [arguments[0]] : Array.apply(null, arguments); + args.splice(0, 0, ev2); + me12.emit.apply(me12, args); + }; + } + return Stream.prototype.on.call(me12, ev2, handler2); + }; + var CDATA = "[CDATA["; + var DOCTYPE = "DOCTYPE"; + var XML_NAMESPACE = "http://www.w3.org/XML/1998/namespace"; + var XMLNS_NAMESPACE = "http://www.w3.org/2000/xmlns/"; + var rootNS = { xml: XML_NAMESPACE, xmlns: XMLNS_NAMESPACE }; + var nameStart = /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/; + var nameBody = /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/; + var entityStart = /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/; + var entityBody = /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/; + function isWhitespace(c7) { + return c7 === " " || c7 === "\n" || c7 === "\r" || c7 === " "; + } + function isQuote(c7) { + return c7 === '"' || c7 === "'"; + } + function isAttribEnd(c7) { + return c7 === ">" || isWhitespace(c7); + } + function isMatch(regex, c7) { + return regex.test(c7); + } + function notMatch(regex, c7) { + return !isMatch(regex, c7); + } + var S7 = 0; + sax2.STATE = { + BEGIN: S7++, + // leading byte order mark or whitespace + BEGIN_WHITESPACE: S7++, + // leading whitespace + TEXT: S7++, + // general stuff + TEXT_ENTITY: S7++, + // & and such. + OPEN_WAKA: S7++, + // < + SGML_DECL: S7++, + // + SCRIPT: S7++, + //