hot-updater 0.25.1 → 0.25.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/index.cjs +393 -332
  2. package/dist/index.js +62 -1
  3. package/package.json +12 -12
package/dist/index.cjs CHANGED
@@ -1091,8 +1091,8 @@ var require_suggestSimilar = /* @__PURE__ */ require_chunk.__commonJS({ "../../n
1091
1091
  var require_command = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modules/.pnpm/commander@14.0.0/node_modules/commander/lib/command.js": ((exports) => {
1092
1092
  const EventEmitter$1 = require("node:events").EventEmitter;
1093
1093
  const childProcess$1 = require("node:child_process");
1094
- const path$27 = require("node:path");
1095
- const fs$19 = require("node:fs");
1094
+ const path$28 = require("node:path");
1095
+ const fs$20 = require("node:fs");
1096
1096
  const process$15 = require("node:process");
1097
1097
  const { Argument: Argument$2, humanReadableArgName } = require_argument();
1098
1098
  const { CommanderError: CommanderError$2 } = require_error();
@@ -1985,7 +1985,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
1985
1985
  * @param {string} subcommandName
1986
1986
  */
1987
1987
  _checkForMissingExecutable(executableFile, executableDir, subcommandName) {
1988
- if (fs$19.existsSync(executableFile)) return;
1988
+ if (fs$20.existsSync(executableFile)) return;
1989
1989
  const executableMissing = `'${executableFile}' does not exist
1990
1990
  - if '${subcommandName}' is not meant to be an executable command, remove description parameter from '.command()' and use '.description()' instead
1991
1991
  - if the default executable name is not suitable, use the executableFile option to supply a custom name or path
@@ -2008,10 +2008,10 @@ Expecting one of '${allowedValues.join("', '")}'`);
2008
2008
  ".cjs"
2009
2009
  ];
2010
2010
  function findFile(baseDir, baseName) {
2011
- const localBin = path$27.resolve(baseDir, baseName);
2012
- if (fs$19.existsSync(localBin)) return localBin;
2013
- if (sourceExt.includes(path$27.extname(baseName))) return void 0;
2014
- const foundExt = sourceExt.find((ext) => fs$19.existsSync(`${localBin}${ext}`));
2011
+ const localBin = path$28.resolve(baseDir, baseName);
2012
+ if (fs$20.existsSync(localBin)) return localBin;
2013
+ if (sourceExt.includes(path$28.extname(baseName))) return void 0;
2014
+ const foundExt = sourceExt.find((ext) => fs$20.existsSync(`${localBin}${ext}`));
2015
2015
  if (foundExt) return `${localBin}${foundExt}`;
2016
2016
  }
2017
2017
  this._checkForMissingMandatoryOptions();
@@ -2021,21 +2021,21 @@ Expecting one of '${allowedValues.join("', '")}'`);
2021
2021
  if (this._scriptPath) {
2022
2022
  let resolvedScriptPath;
2023
2023
  try {
2024
- resolvedScriptPath = fs$19.realpathSync(this._scriptPath);
2024
+ resolvedScriptPath = fs$20.realpathSync(this._scriptPath);
2025
2025
  } catch {
2026
2026
  resolvedScriptPath = this._scriptPath;
2027
2027
  }
2028
- executableDir = path$27.resolve(path$27.dirname(resolvedScriptPath), executableDir);
2028
+ executableDir = path$28.resolve(path$28.dirname(resolvedScriptPath), executableDir);
2029
2029
  }
2030
2030
  if (executableDir) {
2031
2031
  let localFile = findFile(executableDir, executableFile);
2032
2032
  if (!localFile && !subcommand._executableFile && this._scriptPath) {
2033
- const legacyName = path$27.basename(this._scriptPath, path$27.extname(this._scriptPath));
2033
+ const legacyName = path$28.basename(this._scriptPath, path$28.extname(this._scriptPath));
2034
2034
  if (legacyName !== this._name) localFile = findFile(executableDir, `${legacyName}-${subcommand._name}`);
2035
2035
  }
2036
2036
  executableFile = localFile || executableFile;
2037
2037
  }
2038
- launchWithNode = sourceExt.includes(path$27.extname(executableFile));
2038
+ launchWithNode = sourceExt.includes(path$28.extname(executableFile));
2039
2039
  let proc;
2040
2040
  if (process$15.platform !== "win32") if (launchWithNode) {
2041
2041
  args.unshift(executableFile);
@@ -2804,7 +2804,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
2804
2804
  * @return {Command}
2805
2805
  */
2806
2806
  nameFromFilename(filename) {
2807
- this._name = path$27.basename(filename, path$27.extname(filename));
2807
+ this._name = path$28.basename(filename, path$28.extname(filename));
2808
2808
  return this;
2809
2809
  }
2810
2810
  /**
@@ -2818,9 +2818,9 @@ Expecting one of '${allowedValues.join("', '")}'`);
2818
2818
  * @param {string} [path]
2819
2819
  * @return {(string|null|Command)}
2820
2820
  */
2821
- executableDir(path$28) {
2822
- if (path$28 === void 0) return this._executableDir;
2823
- this._executableDir = path$28;
2821
+ executableDir(path$29) {
2822
+ if (path$29 === void 0) return this._executableDir;
2823
+ this._executableDir = path$29;
2824
2824
  return this;
2825
2825
  }
2826
2826
  /**
@@ -3779,16 +3779,16 @@ var require_range = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modul
3779
3779
  };
3780
3780
  const replaceTilde = (comp, options) => {
3781
3781
  const r = options.loose ? re$3[t$3.TILDELOOSE] : re$3[t$3.TILDE];
3782
- return comp.replace(r, (_, M, m$1, p$15, pr) => {
3783
- debug$7("tilde", comp, _, M, m$1, p$15, pr);
3782
+ return comp.replace(r, (_, M, m$1, p$16, pr) => {
3783
+ debug$7("tilde", comp, _, M, m$1, p$16, pr);
3784
3784
  let ret;
3785
3785
  if (isX(M)) ret = "";
3786
3786
  else if (isX(m$1)) ret = `>=${M}.0.0 <${+M + 1}.0.0-0`;
3787
- else if (isX(p$15)) ret = `>=${M}.${m$1}.0 <${M}.${+m$1 + 1}.0-0`;
3787
+ else if (isX(p$16)) ret = `>=${M}.${m$1}.0 <${M}.${+m$1 + 1}.0-0`;
3788
3788
  else if (pr) {
3789
3789
  debug$7("replaceTilde pr", pr);
3790
- ret = `>=${M}.${m$1}.${p$15}-${pr} <${M}.${+m$1 + 1}.0-0`;
3791
- } else ret = `>=${M}.${m$1}.${p$15} <${M}.${+m$1 + 1}.0-0`;
3790
+ ret = `>=${M}.${m$1}.${p$16}-${pr} <${M}.${+m$1 + 1}.0-0`;
3791
+ } else ret = `>=${M}.${m$1}.${p$16} <${M}.${+m$1 + 1}.0-0`;
3792
3792
  debug$7("tilde return", ret);
3793
3793
  return ret;
3794
3794
  });
@@ -3800,23 +3800,23 @@ var require_range = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modul
3800
3800
  debug$7("caret", comp, options);
3801
3801
  const r = options.loose ? re$3[t$3.CARETLOOSE] : re$3[t$3.CARET];
3802
3802
  const z = options.includePrerelease ? "-0" : "";
3803
- return comp.replace(r, (_, M, m$1, p$15, pr) => {
3804
- debug$7("caret", comp, _, M, m$1, p$15, pr);
3803
+ return comp.replace(r, (_, M, m$1, p$16, pr) => {
3804
+ debug$7("caret", comp, _, M, m$1, p$16, pr);
3805
3805
  let ret;
3806
3806
  if (isX(M)) ret = "";
3807
3807
  else if (isX(m$1)) ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`;
3808
- else if (isX(p$15)) if (M === "0") ret = `>=${M}.${m$1}.0${z} <${M}.${+m$1 + 1}.0-0`;
3808
+ else if (isX(p$16)) if (M === "0") ret = `>=${M}.${m$1}.0${z} <${M}.${+m$1 + 1}.0-0`;
3809
3809
  else ret = `>=${M}.${m$1}.0${z} <${+M + 1}.0.0-0`;
3810
3810
  else if (pr) {
3811
3811
  debug$7("replaceCaret pr", pr);
3812
- if (M === "0") if (m$1 === "0") ret = `>=${M}.${m$1}.${p$15}-${pr} <${M}.${m$1}.${+p$15 + 1}-0`;
3813
- else ret = `>=${M}.${m$1}.${p$15}-${pr} <${M}.${+m$1 + 1}.0-0`;
3814
- else ret = `>=${M}.${m$1}.${p$15}-${pr} <${+M + 1}.0.0-0`;
3812
+ if (M === "0") if (m$1 === "0") ret = `>=${M}.${m$1}.${p$16}-${pr} <${M}.${m$1}.${+p$16 + 1}-0`;
3813
+ else ret = `>=${M}.${m$1}.${p$16}-${pr} <${M}.${+m$1 + 1}.0-0`;
3814
+ else ret = `>=${M}.${m$1}.${p$16}-${pr} <${+M + 1}.0.0-0`;
3815
3815
  } else {
3816
3816
  debug$7("no pr");
3817
- if (M === "0") if (m$1 === "0") ret = `>=${M}.${m$1}.${p$15}${z} <${M}.${m$1}.${+p$15 + 1}-0`;
3818
- else ret = `>=${M}.${m$1}.${p$15}${z} <${M}.${+m$1 + 1}.0-0`;
3819
- else ret = `>=${M}.${m$1}.${p$15} <${+M + 1}.0.0-0`;
3817
+ if (M === "0") if (m$1 === "0") ret = `>=${M}.${m$1}.${p$16}${z} <${M}.${m$1}.${+p$16 + 1}-0`;
3818
+ else ret = `>=${M}.${m$1}.${p$16}${z} <${M}.${+m$1 + 1}.0-0`;
3819
+ else ret = `>=${M}.${m$1}.${p$16} <${+M + 1}.0.0-0`;
3820
3820
  }
3821
3821
  debug$7("caret return", ret);
3822
3822
  return ret;
@@ -3829,11 +3829,11 @@ var require_range = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modul
3829
3829
  const replaceXRange = (comp, options) => {
3830
3830
  comp = comp.trim();
3831
3831
  const r = options.loose ? re$3[t$3.XRANGELOOSE] : re$3[t$3.XRANGE];
3832
- return comp.replace(r, (ret, gtlt, M, m$1, p$15, pr) => {
3833
- debug$7("xRange", comp, ret, gtlt, M, m$1, p$15, pr);
3832
+ return comp.replace(r, (ret, gtlt, M, m$1, p$16, pr) => {
3833
+ debug$7("xRange", comp, ret, gtlt, M, m$1, p$16, pr);
3834
3834
  const xM = isX(M);
3835
3835
  const xm = xM || isX(m$1);
3836
- const xp = xm || isX(p$15);
3836
+ const xp = xm || isX(p$16);
3837
3837
  const anyX = xp;
3838
3838
  if (gtlt === "=" && anyX) gtlt = "";
3839
3839
  pr = options.includePrerelease ? "-0" : "";
@@ -3841,16 +3841,16 @@ var require_range = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modul
3841
3841
  else ret = "*";
3842
3842
  else if (gtlt && anyX) {
3843
3843
  if (xm) m$1 = 0;
3844
- p$15 = 0;
3844
+ p$16 = 0;
3845
3845
  if (gtlt === ">") {
3846
3846
  gtlt = ">=";
3847
3847
  if (xm) {
3848
3848
  M = +M + 1;
3849
3849
  m$1 = 0;
3850
- p$15 = 0;
3850
+ p$16 = 0;
3851
3851
  } else {
3852
3852
  m$1 = +m$1 + 1;
3853
- p$15 = 0;
3853
+ p$16 = 0;
3854
3854
  }
3855
3855
  } else if (gtlt === "<=") {
3856
3856
  gtlt = "<";
@@ -3858,7 +3858,7 @@ var require_range = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modul
3858
3858
  else m$1 = +m$1 + 1;
3859
3859
  }
3860
3860
  if (gtlt === "<") pr = "-0";
3861
- ret = `${gtlt + M}.${m$1}.${p$15}${pr}`;
3861
+ ret = `${gtlt + M}.${m$1}.${p$16}${pr}`;
3862
3862
  } else if (xm) ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`;
3863
3863
  else if (xp) ret = `>=${M}.${m$1}.0${pr} <${M}.${+m$1 + 1}.0-0`;
3864
3864
  debug$7("xRange return", ret);
@@ -4715,29 +4715,29 @@ const handleCommand = (filePath, rawArguments, rawOptions) => {
4715
4715
  var require_windows = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js": ((exports, module) => {
4716
4716
  module.exports = isexe$3;
4717
4717
  isexe$3.sync = sync$2;
4718
- var fs$18 = require("fs");
4719
- function checkPathExt(path$28, options) {
4718
+ var fs$19 = require("fs");
4719
+ function checkPathExt(path$29, options) {
4720
4720
  var pathext = options.pathExt !== void 0 ? options.pathExt : process.env.PATHEXT;
4721
4721
  if (!pathext) return true;
4722
4722
  pathext = pathext.split(";");
4723
4723
  if (pathext.indexOf("") !== -1) return true;
4724
4724
  for (var i$1 = 0; i$1 < pathext.length; i$1++) {
4725
- var p$15 = pathext[i$1].toLowerCase();
4726
- if (p$15 && path$28.substr(-p$15.length).toLowerCase() === p$15) return true;
4725
+ var p$16 = pathext[i$1].toLowerCase();
4726
+ if (p$16 && path$29.substr(-p$16.length).toLowerCase() === p$16) return true;
4727
4727
  }
4728
4728
  return false;
4729
4729
  }
4730
- function checkStat$1(stat, path$28, options) {
4730
+ function checkStat$1(stat, path$29, options) {
4731
4731
  if (!stat.isSymbolicLink() && !stat.isFile()) return false;
4732
- return checkPathExt(path$28, options);
4732
+ return checkPathExt(path$29, options);
4733
4733
  }
4734
- function isexe$3(path$28, options, cb) {
4735
- fs$18.stat(path$28, function(er, stat) {
4736
- cb(er, er ? false : checkStat$1(stat, path$28, options));
4734
+ function isexe$3(path$29, options, cb) {
4735
+ fs$19.stat(path$29, function(er, stat) {
4736
+ cb(er, er ? false : checkStat$1(stat, path$29, options));
4737
4737
  });
4738
4738
  }
4739
- function sync$2(path$28, options) {
4740
- return checkStat$1(fs$18.statSync(path$28), path$28, options);
4739
+ function sync$2(path$29, options) {
4740
+ return checkStat$1(fs$19.statSync(path$29), path$29, options);
4741
4741
  }
4742
4742
  }) });
4743
4743
 
@@ -4746,14 +4746,14 @@ var require_windows = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_mod
4746
4746
  var require_mode = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js": ((exports, module) => {
4747
4747
  module.exports = isexe$2;
4748
4748
  isexe$2.sync = sync$1;
4749
- var fs$17 = require("fs");
4750
- function isexe$2(path$28, options, cb) {
4751
- fs$17.stat(path$28, function(er, stat) {
4749
+ var fs$18 = require("fs");
4750
+ function isexe$2(path$29, options, cb) {
4751
+ fs$18.stat(path$29, function(er, stat) {
4752
4752
  cb(er, er ? false : checkStat(stat, options));
4753
4753
  });
4754
4754
  }
4755
- function sync$1(path$28, options) {
4756
- return checkStat(fs$17.statSync(path$28), options);
4755
+ function sync$1(path$29, options) {
4756
+ return checkStat(fs$18.statSync(path$29), options);
4757
4757
  }
4758
4758
  function checkStat(stat, options) {
4759
4759
  return stat.isFile() && checkMode(stat, options);
@@ -4781,7 +4781,7 @@ var require_isexe = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modul
4781
4781
  else core = require_mode();
4782
4782
  module.exports = isexe$1;
4783
4783
  isexe$1.sync = sync;
4784
- function isexe$1(path$28, options, cb) {
4784
+ function isexe$1(path$29, options, cb) {
4785
4785
  if (typeof options === "function") {
4786
4786
  cb = options;
4787
4787
  options = {};
@@ -4789,13 +4789,13 @@ var require_isexe = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modul
4789
4789
  if (!cb) {
4790
4790
  if (typeof Promise !== "function") throw new TypeError("callback not provided");
4791
4791
  return new Promise(function(resolve, reject) {
4792
- isexe$1(path$28, options || {}, function(er, is) {
4792
+ isexe$1(path$29, options || {}, function(er, is) {
4793
4793
  if (er) reject(er);
4794
4794
  else resolve(is);
4795
4795
  });
4796
4796
  });
4797
4797
  }
4798
- core(path$28, options || {}, function(er, is) {
4798
+ core(path$29, options || {}, function(er, is) {
4799
4799
  if (er) {
4800
4800
  if (er.code === "EACCES" || options && options.ignoreErrors) {
4801
4801
  er = null;
@@ -4805,9 +4805,9 @@ var require_isexe = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modul
4805
4805
  cb(er, is);
4806
4806
  });
4807
4807
  }
4808
- function sync(path$28, options) {
4808
+ function sync(path$29, options) {
4809
4809
  try {
4810
- return core.sync(path$28, options || {});
4810
+ return core.sync(path$29, options || {});
4811
4811
  } catch (er) {
4812
4812
  if (options && options.ignoreErrors || er.code === "EACCES") return false;
4813
4813
  else throw er;
@@ -4819,7 +4819,7 @@ var require_isexe = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modul
4819
4819
  //#region ../../node_modules/.pnpm/which@2.0.2/node_modules/which/which.js
4820
4820
  var require_which = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modules/.pnpm/which@2.0.2/node_modules/which/which.js": ((exports, module) => {
4821
4821
  const isWindows = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys";
4822
- const path$26 = require("path");
4822
+ const path$27 = require("path");
4823
4823
  const COLON = isWindows ? ";" : ":";
4824
4824
  const isexe = require_isexe();
4825
4825
  const getNotFoundError = (cmd) => Object.assign(/* @__PURE__ */ new Error(`not found: ${cmd}`), { code: "ENOENT" });
@@ -4849,16 +4849,16 @@ var require_which = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modul
4849
4849
  if (i$1 === pathEnv.length) return opt.all && found.length ? resolve(found) : reject(getNotFoundError(cmd));
4850
4850
  const ppRaw = pathEnv[i$1];
4851
4851
  const pathPart = /^".*"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;
4852
- const pCmd = path$26.join(pathPart, cmd);
4852
+ const pCmd = path$27.join(pathPart, cmd);
4853
4853
  resolve(subStep(!pathPart && /^\.[\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd, i$1, 0));
4854
4854
  });
4855
- const subStep = (p$15, i$1, ii) => new Promise((resolve, reject) => {
4855
+ const subStep = (p$16, i$1, ii) => new Promise((resolve, reject) => {
4856
4856
  if (ii === pathExt.length) return resolve(step(i$1 + 1));
4857
4857
  const ext = pathExt[ii];
4858
- isexe(p$15 + ext, { pathExt: pathExtExe }, (er, is) => {
4859
- if (!er && is) if (opt.all) found.push(p$15 + ext);
4860
- else return resolve(p$15 + ext);
4861
- return resolve(subStep(p$15, i$1, ii + 1));
4858
+ isexe(p$16 + ext, { pathExt: pathExtExe }, (er, is) => {
4859
+ if (!er && is) if (opt.all) found.push(p$16 + ext);
4860
+ else return resolve(p$16 + ext);
4861
+ return resolve(subStep(p$16, i$1, ii + 1));
4862
4862
  });
4863
4863
  });
4864
4864
  return cb ? step(0).then((res) => cb(null, res), cb) : step(0);
@@ -4870,10 +4870,10 @@ var require_which = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modul
4870
4870
  for (let i$1 = 0; i$1 < pathEnv.length; i$1++) {
4871
4871
  const ppRaw = pathEnv[i$1];
4872
4872
  const pathPart = /^".*"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;
4873
- const pCmd = path$26.join(pathPart, cmd);
4874
- const p$15 = !pathPart && /^\.[\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;
4873
+ const pCmd = path$27.join(pathPart, cmd);
4874
+ const p$16 = !pathPart && /^\.[\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;
4875
4875
  for (let j = 0; j < pathExt.length; j++) {
4876
- const cur = p$15 + pathExt[j];
4876
+ const cur = p$16 + pathExt[j];
4877
4877
  try {
4878
4878
  if (isexe.sync(cur, { pathExt: pathExtExe })) if (opt.all) found.push(cur);
4879
4879
  else return cur;
@@ -4903,7 +4903,7 @@ var require_path_key = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_mo
4903
4903
  //#endregion
4904
4904
  //#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.js
4905
4905
  var require_resolveCommand = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.js": ((exports, module) => {
4906
- const path$25 = require("path");
4906
+ const path$26 = require("path");
4907
4907
  const which = require_which();
4908
4908
  const getPathKey = require_path_key();
4909
4909
  function resolveCommandAttempt(parsed, withoutPathExt) {
@@ -4918,12 +4918,12 @@ var require_resolveCommand = /* @__PURE__ */ require_chunk.__commonJS({ "../../n
4918
4918
  try {
4919
4919
  resolved = which.sync(parsed.command, {
4920
4920
  path: env$2[getPathKey({ env: env$2 })],
4921
- pathExt: withoutPathExt ? path$25.delimiter : void 0
4921
+ pathExt: withoutPathExt ? path$26.delimiter : void 0
4922
4922
  });
4923
4923
  } catch (e) {} finally {
4924
4924
  if (shouldSwitchCwd) process.chdir(cwd);
4925
4925
  }
4926
- if (resolved) resolved = path$25.resolve(hasCustomCwd ? parsed.options.cwd : "", resolved);
4926
+ if (resolved) resolved = path$26.resolve(hasCustomCwd ? parsed.options.cwd : "", resolved);
4927
4927
  return resolved;
4928
4928
  }
4929
4929
  function resolveCommand$1(parsed) {
@@ -4966,8 +4966,8 @@ var require_shebang_command = /* @__PURE__ */ require_chunk.__commonJS({ "../../
4966
4966
  module.exports = (string = "") => {
4967
4967
  const match = string.match(shebangRegex);
4968
4968
  if (!match) return null;
4969
- const [path$28, argument] = match[0].replace(/#! ?/, "").split(" ");
4970
- const binary = path$28.split("/").pop();
4969
+ const [path$29, argument] = match[0].replace(/#! ?/, "").split(" ");
4970
+ const binary = path$29.split("/").pop();
4971
4971
  if (binary === "env") return argument;
4972
4972
  return argument ? `${binary} ${argument}` : binary;
4973
4973
  };
@@ -4976,16 +4976,16 @@ var require_shebang_command = /* @__PURE__ */ require_chunk.__commonJS({ "../../
4976
4976
  //#endregion
4977
4977
  //#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.js
4978
4978
  var require_readShebang = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.js": ((exports, module) => {
4979
- const fs$16 = require("fs");
4979
+ const fs$17 = require("fs");
4980
4980
  const shebangCommand = require_shebang_command();
4981
4981
  function readShebang$1(command) {
4982
4982
  const size = 150;
4983
4983
  const buffer = Buffer.alloc(size);
4984
4984
  let fd;
4985
4985
  try {
4986
- fd = fs$16.openSync(command, "r");
4987
- fs$16.readSync(fd, buffer, 0, size, 0);
4988
- fs$16.closeSync(fd);
4986
+ fd = fs$17.openSync(command, "r");
4987
+ fs$17.readSync(fd, buffer, 0, size, 0);
4988
+ fs$17.closeSync(fd);
4989
4989
  } catch (e) {}
4990
4990
  return shebangCommand(buffer.toString());
4991
4991
  }
@@ -4995,7 +4995,7 @@ var require_readShebang = /* @__PURE__ */ require_chunk.__commonJS({ "../../node
4995
4995
  //#endregion
4996
4996
  //#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.js
4997
4997
  var require_parse$4 = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.js": ((exports, module) => {
4998
- const path$24 = require("path");
4998
+ const path$25 = require("path");
4999
4999
  const resolveCommand = require_resolveCommand();
5000
5000
  const escape = require_escape();
5001
5001
  const readShebang = require_readShebang();
@@ -5018,7 +5018,7 @@ var require_parse$4 = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_mod
5018
5018
  const needsShell = !isExecutableRegExp.test(commandFile);
5019
5019
  if (parsed.options.forceShell || needsShell) {
5020
5020
  const needsDoubleEscapeMetaChars = isCmdShimRegExp.test(commandFile);
5021
- parsed.command = path$24.normalize(parsed.command);
5021
+ parsed.command = path$25.normalize(parsed.command);
5022
5022
  parsed.command = escape.command(parsed.command);
5023
5023
  parsed.args = parsed.args.map((arg) => escape.argument(arg, needsDoubleEscapeMetaChars));
5024
5024
  parsed.args = [
@@ -8103,12 +8103,12 @@ const logOutputSync = ({ serializedResult, fdNumber, state, verboseInfo, encodin
8103
8103
  }
8104
8104
  };
8105
8105
  const writeToFiles = (serializedResult, stdioItems, outputFiles) => {
8106
- for (const { path: path$28, append } of stdioItems.filter(({ type: type$1 }) => FILE_TYPES.has(type$1))) {
8107
- const pathString = typeof path$28 === "string" ? path$28 : path$28.toString();
8108
- if (append || outputFiles.has(pathString)) (0, node_fs.appendFileSync)(path$28, serializedResult);
8106
+ for (const { path: path$29, append } of stdioItems.filter(({ type: type$1 }) => FILE_TYPES.has(type$1))) {
8107
+ const pathString = typeof path$29 === "string" ? path$29 : path$29.toString();
8108
+ if (append || outputFiles.has(pathString)) (0, node_fs.appendFileSync)(path$29, serializedResult);
8109
8109
  else {
8110
8110
  outputFiles.add(pathString);
8111
- (0, node_fs.writeFileSync)(path$28, serializedResult);
8111
+ (0, node_fs.writeFileSync)(path$29, serializedResult);
8112
8112
  }
8113
8113
  }
8114
8114
  };
@@ -8916,8 +8916,8 @@ var SignalExit = class extends SignalExitBase {
8916
8916
  const listeners = this.#process.listeners(sig);
8917
8917
  let { count: count$1 } = this.#emitter;
8918
8918
  /* c8 ignore start */
8919
- const p$15 = process$16;
8920
- if (typeof p$15.__signal_exit_emitter__ === "object" && typeof p$15.__signal_exit_emitter__.count === "number") count$1 += p$15.__signal_exit_emitter__.count;
8919
+ const p$16 = process$16;
8920
+ if (typeof p$16.__signal_exit_emitter__ === "object" && typeof p$16.__signal_exit_emitter__.count === "number") count$1 += p$16.__signal_exit_emitter__.count;
8921
8921
  /* c8 ignore stop */
8922
8922
  if (listeners.length === count$1) {
8923
8923
  this.unload();
@@ -10385,8 +10385,8 @@ function findUpSync(name, { cwd = node_process.default.cwd(), type: type$1 = "fi
10385
10385
  //#endregion
10386
10386
  //#region ../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js
10387
10387
  var require_picocolors = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js": ((exports, module) => {
10388
- let p$12 = process || {}, argv = p$12.argv || [], env$1 = p$12.env || {};
10389
- let isColorSupported$1 = !(!!env$1.NO_COLOR || argv.includes("--no-color")) && (!!env$1.FORCE_COLOR || argv.includes("--color") || p$12.platform === "win32" || (p$12.stdout || {}).isTTY && env$1.TERM !== "dumb" || !!env$1.CI);
10388
+ let p$13 = process || {}, argv = p$13.argv || [], env$1 = p$13.env || {};
10389
+ let isColorSupported$1 = !(!!env$1.NO_COLOR || argv.includes("--no-color")) && (!!env$1.FORCE_COLOR || argv.includes("--color") || p$13.platform === "win32" || (p$13.stdout || {}).isTTY && env$1.TERM !== "dumb" || !!env$1.CI);
10390
10390
  let formatter = (open$1, close, replace = open$1) => (input) => {
10391
10391
  let string = "" + input, index = string.indexOf(close, open$1.length);
10392
10392
  return ~index ? open$1 + replaceClose(string, close, replace, index) + close : open$1 + string + close;
@@ -11630,21 +11630,21 @@ var require_lib$3 = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modul
11630
11630
  return typeof process === "object" && (process.env.FORCE_COLOR === "0" || process.env.FORCE_COLOR === "false") ? false : picocolors.isColorSupported;
11631
11631
  }
11632
11632
  const compose = (f, g) => (v) => f(g(v));
11633
- function buildDefs(colors$7) {
11633
+ function buildDefs(colors$8) {
11634
11634
  return {
11635
- keyword: colors$7.cyan,
11636
- capitalized: colors$7.yellow,
11637
- jsxIdentifier: colors$7.yellow,
11638
- punctuator: colors$7.yellow,
11639
- number: colors$7.magenta,
11640
- string: colors$7.green,
11641
- regex: colors$7.magenta,
11642
- comment: colors$7.gray,
11643
- invalid: compose(compose(colors$7.white, colors$7.bgRed), colors$7.bold),
11644
- gutter: colors$7.gray,
11645
- marker: compose(colors$7.red, colors$7.bold),
11646
- message: compose(colors$7.red, colors$7.bold),
11647
- reset: colors$7.reset
11635
+ keyword: colors$8.cyan,
11636
+ capitalized: colors$8.yellow,
11637
+ jsxIdentifier: colors$8.yellow,
11638
+ punctuator: colors$8.yellow,
11639
+ number: colors$8.magenta,
11640
+ string: colors$8.green,
11641
+ regex: colors$8.magenta,
11642
+ comment: colors$8.gray,
11643
+ invalid: compose(compose(colors$8.white, colors$8.bgRed), colors$8.bold),
11644
+ gutter: colors$8.gray,
11645
+ marker: compose(colors$8.red, colors$8.bold),
11646
+ message: compose(colors$8.red, colors$8.bold),
11647
+ reset: colors$8.reset
11648
11648
  };
11649
11649
  }
11650
11650
  const defsOn = buildDefs(picocolors.createColors(true));
@@ -13693,7 +13693,7 @@ var require_commonjs = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_mo
13693
13693
  return c$1.#tail;
13694
13694
  },
13695
13695
  free: c$1.#free,
13696
- isBackgroundFetch: (p$15) => c$1.#isBackgroundFetch(p$15),
13696
+ isBackgroundFetch: (p$16) => c$1.#isBackgroundFetch(p$16),
13697
13697
  backgroundFetch: (k, index, options, context) => c$1.#backgroundFetch(k, index, options, context),
13698
13698
  moveToTail: (index) => c$1.#moveToTail(index),
13699
13699
  indexes: (options) => c$1.#indexes(options),
@@ -14301,8 +14301,8 @@ var require_commonjs = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_mo
14301
14301
  if (ignoreAbort) options.status.fetchAbortIgnored = true;
14302
14302
  } else options.status.fetchResolved = true;
14303
14303
  if (aborted$1 && !ignoreAbort && !updateCache) return fetchFail(ac.signal.reason);
14304
- const bf$1 = p$15;
14305
- if (this.#valList[index] === p$15) if (v$1 === void 0) if (bf$1.__staleWhileFetching) this.#valList[index] = bf$1.__staleWhileFetching;
14304
+ const bf$1 = p$16;
14305
+ if (this.#valList[index] === p$16) if (v$1 === void 0) if (bf$1.__staleWhileFetching) this.#valList[index] = bf$1.__staleWhileFetching;
14306
14306
  else this.delete(k);
14307
14307
  else {
14308
14308
  if (options.status) options.status.fetchUpdated = true;
@@ -14322,8 +14322,8 @@ var require_commonjs = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_mo
14322
14322
  const allowStaleAborted = aborted$1 && options.allowStaleOnFetchAbort;
14323
14323
  const allowStale = allowStaleAborted || options.allowStaleOnFetchRejection;
14324
14324
  const noDelete = allowStale || options.noDeleteOnFetchRejection;
14325
- const bf$1 = p$15;
14326
- if (this.#valList[index] === p$15) {
14325
+ const bf$1 = p$16;
14326
+ if (this.#valList[index] === p$16) {
14327
14327
  if (!noDelete || bf$1.__staleWhileFetching === void 0) this.delete(k);
14328
14328
  else if (!allowStaleAborted) this.#valList[index] = bf$1.__staleWhileFetching;
14329
14329
  }
@@ -14343,8 +14343,8 @@ var require_commonjs = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_mo
14343
14343
  });
14344
14344
  };
14345
14345
  if (options.status) options.status.fetchDispatched = true;
14346
- const p$15 = new Promise(pcall).then(cb, eb);
14347
- const bf = Object.assign(p$15, {
14346
+ const p$16 = new Promise(pcall).then(cb, eb);
14347
+ const bf = Object.assign(p$16, {
14348
14348
  __abortController: ac,
14349
14349
  __staleWhileFetching: v,
14350
14350
  __returned: void 0
@@ -14358,9 +14358,9 @@ var require_commonjs = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_mo
14358
14358
  } else this.#valList[index] = bf;
14359
14359
  return bf;
14360
14360
  }
14361
- #isBackgroundFetch(p$15) {
14361
+ #isBackgroundFetch(p$16) {
14362
14362
  if (!this.#hasFetchMethod) return false;
14363
- const b = p$15;
14363
+ const b = p$16;
14364
14364
  return !!b && b instanceof Promise && b.hasOwnProperty("__staleWhileFetching") && b.__abortController instanceof AC;
14365
14365
  }
14366
14366
  async fetch(k, fetchOptions = {}) {
@@ -14393,8 +14393,8 @@ var require_commonjs = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_mo
14393
14393
  let index = this.#keyMap.get(k);
14394
14394
  if (index === void 0) {
14395
14395
  if (status) status.fetch = "miss";
14396
- const p$15 = this.#backgroundFetch(k, index, options, context);
14397
- return p$15.__returned = p$15;
14396
+ const p$16 = this.#backgroundFetch(k, index, options, context);
14397
+ return p$16.__returned = p$16;
14398
14398
  } else {
14399
14399
  const v = this.#valList[index];
14400
14400
  if (this.#isBackgroundFetch(v)) {
@@ -14413,13 +14413,13 @@ var require_commonjs = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_mo
14413
14413
  if (status) this.#statusTTL(status, index);
14414
14414
  return v;
14415
14415
  }
14416
- const p$15 = this.#backgroundFetch(k, index, options, context);
14417
- const staleVal = p$15.__staleWhileFetching !== void 0 && allowStale;
14416
+ const p$16 = this.#backgroundFetch(k, index, options, context);
14417
+ const staleVal = p$16.__staleWhileFetching !== void 0 && allowStale;
14418
14418
  if (status) {
14419
14419
  status.fetch = isStale ? "stale" : "refresh";
14420
14420
  if (staleVal && isStale) status.returnedStale = true;
14421
14421
  }
14422
- return staleVal ? p$15.__staleWhileFetching : p$15.__returned = p$15;
14422
+ return staleVal ? p$16.__staleWhileFetching : p$16.__returned = p$16;
14423
14423
  }
14424
14424
  }
14425
14425
  /**
@@ -14454,9 +14454,9 @@ var require_commonjs = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_mo
14454
14454
  }
14455
14455
  } else if (status) status.get = "miss";
14456
14456
  }
14457
- #connect(p$15, n$1) {
14458
- this.#prev[n$1] = p$15;
14459
- this.#next[p$15] = n$1;
14457
+ #connect(p$16, n$1) {
14458
+ this.#prev[n$1] = p$16;
14459
+ this.#next[p$16] = n$1;
14460
14460
  }
14461
14461
  #moveToTail(index) {
14462
14462
  if (index !== this.#tail) {
@@ -14561,13 +14561,13 @@ var require_hosts = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modul
14561
14561
  const defaults = {
14562
14562
  sshtemplate: ({ domain, user, project, committish }) => `git@${domain}:${user}/${project}.git${maybeJoin("#", committish)}`,
14563
14563
  sshurltemplate: ({ domain, user, project, committish }) => `git+ssh://git@${domain}/${user}/${project}.git${maybeJoin("#", committish)}`,
14564
- edittemplate: ({ domain, user, project, committish, editpath, path: path$28 }) => `https://${domain}/${user}/${project}${maybeJoin("/", editpath, "/", maybeEncode(committish || "HEAD"), "/", path$28)}`,
14564
+ edittemplate: ({ domain, user, project, committish, editpath, path: path$29 }) => `https://${domain}/${user}/${project}${maybeJoin("/", editpath, "/", maybeEncode(committish || "HEAD"), "/", path$29)}`,
14565
14565
  browsetemplate: ({ domain, user, project, committish, treepath }) => `https://${domain}/${user}/${project}${maybeJoin("/", treepath, "/", maybeEncode(committish))}`,
14566
- browsetreetemplate: ({ domain, user, project, committish, treepath, path: path$28, fragment, hashformat }) => `https://${domain}/${user}/${project}/${treepath}/${maybeEncode(committish || "HEAD")}/${path$28}${maybeJoin("#", hashformat(fragment || ""))}`,
14567
- browseblobtemplate: ({ domain, user, project, committish, blobpath, path: path$28, fragment, hashformat }) => `https://${domain}/${user}/${project}/${blobpath}/${maybeEncode(committish || "HEAD")}/${path$28}${maybeJoin("#", hashformat(fragment || ""))}`,
14566
+ browsetreetemplate: ({ domain, user, project, committish, treepath, path: path$29, fragment, hashformat }) => `https://${domain}/${user}/${project}/${treepath}/${maybeEncode(committish || "HEAD")}/${path$29}${maybeJoin("#", hashformat(fragment || ""))}`,
14567
+ browseblobtemplate: ({ domain, user, project, committish, blobpath, path: path$29, fragment, hashformat }) => `https://${domain}/${user}/${project}/${blobpath}/${maybeEncode(committish || "HEAD")}/${path$29}${maybeJoin("#", hashformat(fragment || ""))}`,
14568
14568
  docstemplate: ({ domain, user, project, treepath, committish }) => `https://${domain}/${user}/${project}${maybeJoin("/", treepath, "/", maybeEncode(committish))}#readme`,
14569
14569
  httpstemplate: ({ auth, domain, user, project, committish }) => `git+https://${maybeJoin(auth, "@")}${domain}/${user}/${project}.git${maybeJoin("#", committish)}`,
14570
- filetemplate: ({ domain, user, project, committish, path: path$28 }) => `https://${domain}/${user}/${project}/raw/${maybeEncode(committish || "HEAD")}/${path$28}`,
14570
+ filetemplate: ({ domain, user, project, committish, path: path$29 }) => `https://${domain}/${user}/${project}/raw/${maybeEncode(committish || "HEAD")}/${path$29}`,
14571
14571
  shortcuttemplate: ({ type: type$1, user, project, committish }) => `${type$1}:${user}/${project}${maybeJoin("#", committish)}`,
14572
14572
  pathtemplate: ({ user, project, committish }) => `${user}/${project}${maybeJoin("#", committish)}`,
14573
14573
  bugstemplate: ({ domain, user, project }) => `https://${domain}/${user}/${project}/issues`,
@@ -14587,7 +14587,7 @@ var require_hosts = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modul
14587
14587
  treepath: "tree",
14588
14588
  blobpath: "blob",
14589
14589
  editpath: "edit",
14590
- filetemplate: ({ auth, user, project, committish, path: path$28 }) => `https://${maybeJoin(auth, "@")}raw.githubusercontent.com/${user}/${project}/${maybeEncode(committish || "HEAD")}/${path$28}`,
14590
+ filetemplate: ({ auth, user, project, committish, path: path$29 }) => `https://${maybeJoin(auth, "@")}raw.githubusercontent.com/${user}/${project}/${maybeEncode(committish || "HEAD")}/${path$29}`,
14591
14591
  gittemplate: ({ auth, domain, user, project, committish }) => `git://${maybeJoin(auth, "@")}${domain}/${user}/${project}.git${maybeJoin("#", committish)}`,
14592
14592
  tarballtemplate: ({ domain, user, project, committish }) => `https://codeload.${domain}/${user}/${project}/tar.gz/${maybeEncode(committish || "HEAD")}`,
14593
14593
  extract: (url$2) => {
@@ -14614,7 +14614,7 @@ var require_hosts = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modul
14614
14614
  treepath: "src",
14615
14615
  blobpath: "src",
14616
14616
  editpath: "?mode=edit",
14617
- edittemplate: ({ domain, user, project, committish, treepath, path: path$28, editpath }) => `https://${domain}/${user}/${project}${maybeJoin("/", treepath, "/", maybeEncode(committish || "HEAD"), "/", path$28, editpath)}`,
14617
+ edittemplate: ({ domain, user, project, committish, treepath, path: path$29, editpath }) => `https://${domain}/${user}/${project}${maybeJoin("/", treepath, "/", maybeEncode(committish || "HEAD"), "/", path$29, editpath)}`,
14618
14618
  tarballtemplate: ({ domain, user, project, committish }) => `https://${domain}/${user}/${project}/get/${maybeEncode(committish || "HEAD")}.tar.gz`,
14619
14619
  extract: (url$2) => {
14620
14620
  let [, user, project, aux] = url$2.pathname.split("/", 4);
@@ -14642,9 +14642,9 @@ var require_hosts = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modul
14642
14642
  httpstemplate: ({ auth, domain, user, project, committish }) => `git+https://${maybeJoin(auth, "@")}${domain}/${user}/${project}.git${maybeJoin("#", committish)}`,
14643
14643
  tarballtemplate: ({ domain, user, project, committish }) => `https://${domain}/${user}/${project}/repository/archive.tar.gz?ref=${maybeEncode(committish || "HEAD")}`,
14644
14644
  extract: (url$2) => {
14645
- const path$28 = url$2.pathname.slice(1);
14646
- if (path$28.includes("/-/") || path$28.includes("/archive.tar.gz")) return;
14647
- const segments = path$28.split("/");
14645
+ const path$29 = url$2.pathname.slice(1);
14646
+ if (path$29.includes("/-/") || path$29.includes("/archive.tar.gz")) return;
14647
+ const segments = path$29.split("/");
14648
14648
  let project = segments.pop();
14649
14649
  if (project.endsWith(".git")) project = project.slice(0, -4);
14650
14650
  const user = segments.join("/");
@@ -14670,11 +14670,11 @@ var require_hosts = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modul
14670
14670
  sshurltemplate: ({ domain, project, committish }) => `git+ssh://git@${domain}/${project}.git${maybeJoin("#", committish)}`,
14671
14671
  edittemplate: ({ domain, user, project, committish, editpath }) => `https://${domain}/${user}/${project}${maybeJoin("/", maybeEncode(committish))}/${editpath}`,
14672
14672
  browsetemplate: ({ domain, project, committish }) => `https://${domain}/${project}${maybeJoin("/", maybeEncode(committish))}`,
14673
- browsetreetemplate: ({ domain, project, committish, path: path$28, hashformat }) => `https://${domain}/${project}${maybeJoin("/", maybeEncode(committish))}${maybeJoin("#", hashformat(path$28))}`,
14674
- browseblobtemplate: ({ domain, project, committish, path: path$28, hashformat }) => `https://${domain}/${project}${maybeJoin("/", maybeEncode(committish))}${maybeJoin("#", hashformat(path$28))}`,
14673
+ browsetreetemplate: ({ domain, project, committish, path: path$29, hashformat }) => `https://${domain}/${project}${maybeJoin("/", maybeEncode(committish))}${maybeJoin("#", hashformat(path$29))}`,
14674
+ browseblobtemplate: ({ domain, project, committish, path: path$29, hashformat }) => `https://${domain}/${project}${maybeJoin("/", maybeEncode(committish))}${maybeJoin("#", hashformat(path$29))}`,
14675
14675
  docstemplate: ({ domain, project, committish }) => `https://${domain}/${project}${maybeJoin("/", maybeEncode(committish))}`,
14676
14676
  httpstemplate: ({ domain, project, committish }) => `git+https://${domain}/${project}.git${maybeJoin("#", committish)}`,
14677
- filetemplate: ({ user, project, committish, path: path$28 }) => `https://gist.githubusercontent.com/${user}/${project}/raw${maybeJoin("/", maybeEncode(committish))}/${path$28}`,
14677
+ filetemplate: ({ user, project, committish, path: path$29 }) => `https://gist.githubusercontent.com/${user}/${project}/raw${maybeJoin("/", maybeEncode(committish))}/${path$29}`,
14678
14678
  shortcuttemplate: ({ type: type$1, project, committish }) => `${type$1}:${project}${maybeJoin("#", committish)}`,
14679
14679
  pathtemplate: ({ project, committish }) => `${project}${maybeJoin("#", committish)}`,
14680
14680
  bugstemplate: ({ domain, project }) => `https://${domain}/${project}`,
@@ -14704,7 +14704,7 @@ var require_hosts = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modul
14704
14704
  domain: "git.sr.ht",
14705
14705
  treepath: "tree",
14706
14706
  blobpath: "tree",
14707
- filetemplate: ({ domain, user, project, committish, path: path$28 }) => `https://${domain}/${user}/${project}/blob/${maybeEncode(committish) || "HEAD"}/${path$28}`,
14707
+ filetemplate: ({ domain, user, project, committish, path: path$29 }) => `https://${domain}/${user}/${project}/blob/${maybeEncode(committish) || "HEAD"}/${path$29}`,
14708
14708
  httpstemplate: ({ domain, user, project, committish }) => `https://${domain}/${user}/${project}.git${maybeJoin("#", committish)}`,
14709
14709
  tarballtemplate: ({ domain, user, project, committish }) => `https://${domain}/${user}/${project}/archive/${maybeEncode(committish) || "HEAD"}.tar.gz`,
14710
14710
  bugstemplate: () => null,
@@ -14914,27 +14914,27 @@ var require_lib$2 = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modul
14914
14914
  sshurl(opts) {
14915
14915
  return this.#fill(this.sshurltemplate, opts);
14916
14916
  }
14917
- browse(path$28, ...args) {
14918
- if (typeof path$28 !== "string") return this.#fill(this.browsetemplate, path$28);
14917
+ browse(path$29, ...args) {
14918
+ if (typeof path$29 !== "string") return this.#fill(this.browsetemplate, path$29);
14919
14919
  if (typeof args[0] !== "string") return this.#fill(this.browsetreetemplate, {
14920
14920
  ...args[0],
14921
- path: path$28
14921
+ path: path$29
14922
14922
  });
14923
14923
  return this.#fill(this.browsetreetemplate, {
14924
14924
  ...args[1],
14925
14925
  fragment: args[0],
14926
- path: path$28
14926
+ path: path$29
14927
14927
  });
14928
14928
  }
14929
- browseFile(path$28, ...args) {
14929
+ browseFile(path$29, ...args) {
14930
14930
  if (typeof args[0] !== "string") return this.#fill(this.browseblobtemplate, {
14931
14931
  ...args[0],
14932
- path: path$28
14932
+ path: path$29
14933
14933
  });
14934
14934
  return this.#fill(this.browseblobtemplate, {
14935
14935
  ...args[1],
14936
14936
  fragment: args[0],
14937
- path: path$28
14937
+ path: path$29
14938
14938
  });
14939
14939
  }
14940
14940
  docs(opts) {
@@ -14961,16 +14961,16 @@ var require_lib$2 = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modul
14961
14961
  noCommittish: false
14962
14962
  });
14963
14963
  }
14964
- file(path$28, opts) {
14964
+ file(path$29, opts) {
14965
14965
  return this.#fill(this.filetemplate, {
14966
14966
  ...opts,
14967
- path: path$28
14967
+ path: path$29
14968
14968
  });
14969
14969
  }
14970
- edit(path$28, opts) {
14970
+ edit(path$29, opts) {
14971
14971
  return this.#fill(this.edittemplate, {
14972
14972
  ...opts,
14973
- path: path$28
14973
+ path: path$29
14974
14974
  });
14975
14975
  }
14976
14976
  getDefaultRepresentation() {
@@ -16999,8 +16999,8 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
16999
16999
  1634: (t$8, e$1, r$1) => {
17000
17000
  var n$2 = r$1(6473), o$1 = r$1(9631), i$1 = r$1(6152), a$1 = r$1(3226), s$1 = r$1(9045), u$1 = r$1(7598), c$1 = Object.prototype.hasOwnProperty;
17001
17001
  t$8.exports = function(t$9, e$2) {
17002
- var r$2 = i$1(t$9), l = !r$2 && o$1(t$9), f = !r$2 && !l && a$1(t$9), p$15 = !r$2 && !l && !f && u$1(t$9), d$1 = r$2 || l || f || p$15, h$2 = d$1 ? n$2(t$9.length, String) : [], v = h$2.length;
17003
- for (var y$1 in t$9) !e$2 && !c$1.call(t$9, y$1) || d$1 && ("length" == y$1 || f && ("offset" == y$1 || "parent" == y$1) || p$15 && ("buffer" == y$1 || "byteLength" == y$1 || "byteOffset" == y$1) || s$1(y$1, v)) || h$2.push(y$1);
17002
+ var r$2 = i$1(t$9), l = !r$2 && o$1(t$9), f = !r$2 && !l && a$1(t$9), p$16 = !r$2 && !l && !f && u$1(t$9), d$1 = r$2 || l || f || p$16, h$2 = d$1 ? n$2(t$9.length, String) : [], v = h$2.length;
17003
+ for (var y$1 in t$9) !e$2 && !c$1.call(t$9, y$1) || d$1 && ("length" == y$1 || f && ("offset" == y$1 || "parent" == y$1) || p$16 && ("buffer" == y$1 || "byteLength" == y$1 || "byteOffset" == y$1) || s$1(y$1, v)) || h$2.push(y$1);
17004
17004
  return h$2;
17005
17005
  };
17006
17006
  },
@@ -17080,7 +17080,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
17080
17080
  };
17081
17081
  },
17082
17082
  8874: (t$8, e$1, r$1) => {
17083
- var n$2 = r$1(6571), o$1 = r$1(2517), i$1 = r$1(91), a$1 = r$1(7993), s$1 = r$1(5906), u$1 = r$1(2175), c$1 = r$1(1522), l = r$1(7680), f = r$1(9987), p$15 = r$1(3483), d$1 = r$1(6939), h$2 = r$1(940), v = r$1(9917), y$1 = r$1(8222), m$1 = r$1(8725), T = r$1(6152), E = r$1(3226), _ = r$1(4714), g = r$1(9259), O = r$1(3679), R$2 = r$1(249), A = r$1(8582), I = "[object Arguments]", x = "[object Function]", N = "[object Object]", P = {};
17083
+ var n$2 = r$1(6571), o$1 = r$1(2517), i$1 = r$1(91), a$1 = r$1(7993), s$1 = r$1(5906), u$1 = r$1(2175), c$1 = r$1(1522), l = r$1(7680), f = r$1(9987), p$16 = r$1(3483), d$1 = r$1(6939), h$2 = r$1(940), v = r$1(9917), y$1 = r$1(8222), m$1 = r$1(8725), T = r$1(6152), E = r$1(3226), _ = r$1(4714), g = r$1(9259), O = r$1(3679), R$2 = r$1(249), A = r$1(8582), I = "[object Arguments]", x = "[object Function]", N = "[object Object]", P = {};
17084
17084
  P[I] = P["[object Array]"] = P["[object ArrayBuffer]"] = P["[object DataView]"] = P["[object Boolean]"] = P["[object Date]"] = P["[object Float32Array]"] = P["[object Float64Array]"] = P["[object Int8Array]"] = P["[object Int16Array]"] = P["[object Int32Array]"] = P["[object Map]"] = P["[object Number]"] = P[N] = P["[object RegExp]"] = P["[object Set]"] = P["[object String]"] = P["[object Symbol]"] = P["[object Uint8Array]"] = P["[object Uint8ClampedArray]"] = P["[object Uint16Array]"] = P["[object Uint32Array]"] = !0, P["[object Error]"] = P[x] = P["[object WeakMap]"] = !1, t$8.exports = function t$9(e$2, r$2, S, b, k, L) {
17085
17085
  var C, M = 1 & r$2, D = 2 & r$2, w$1 = 4 & r$2;
17086
17086
  if (S && (C = k ? S(e$2, b, k, L) : S(e$2)), void 0 !== C) return C;
@@ -17106,7 +17106,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
17106
17106
  })) : _(e$2) && e$2.forEach((function(n$3, o$2) {
17107
17107
  C.set(o$2, t$9(n$3, r$2, S, o$2, e$2, L));
17108
17108
  }));
17109
- var G = F ? void 0 : (w$1 ? D ? d$1 : p$15 : D ? A : R$2)(e$2);
17109
+ var G = F ? void 0 : (w$1 ? D ? d$1 : p$16 : D ? A : R$2)(e$2);
17110
17110
  return o$1(G || e$2, (function(n$3, o$2) {
17111
17111
  G && (n$3 = e$2[o$2 = n$3]), i$1(C, o$2, t$9(n$3, r$2, S, o$2, e$2, L));
17112
17112
  })), C;
@@ -17128,12 +17128,12 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
17128
17128
  5246: (t$8, e$1, r$1) => {
17129
17129
  var n$2 = r$1(5386), o$1 = r$1(8333), i$1 = r$1(4893), a$1 = r$1(343), s$1 = r$1(7826), u$1 = r$1(9950);
17130
17130
  t$8.exports = function(t$9, e$2, r$2, c$1) {
17131
- var l = -1, f = o$1, p$15 = !0, d$1 = t$9.length, h$2 = [], v = e$2.length;
17131
+ var l = -1, f = o$1, p$16 = !0, d$1 = t$9.length, h$2 = [], v = e$2.length;
17132
17132
  if (!d$1) return h$2;
17133
- r$2 && (e$2 = a$1(e$2, s$1(r$2))), c$1 ? (f = i$1, p$15 = !1) : e$2.length >= 200 && (f = u$1, p$15 = !1, e$2 = new n$2(e$2));
17133
+ r$2 && (e$2 = a$1(e$2, s$1(r$2))), c$1 ? (f = i$1, p$16 = !1) : e$2.length >= 200 && (f = u$1, p$16 = !1, e$2 = new n$2(e$2));
17134
17134
  t: for (; ++l < d$1;) {
17135
17135
  var y$1 = t$9[l], m$1 = null == r$2 ? y$1 : r$2(y$1);
17136
- if (y$1 = c$1 || 0 !== y$1 ? y$1 : 0, p$15 && m$1 == m$1) {
17136
+ if (y$1 = c$1 || 0 !== y$1 ? y$1 : 0, p$16 && m$1 == m$1) {
17137
17137
  for (var T = v; T--;) if (e$2[T] === m$1) continue t;
17138
17138
  h$2.push(y$1);
17139
17139
  } else f(e$2, m$1, c$1) || h$2.push(y$1);
@@ -17239,9 +17239,9 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
17239
17239
  };
17240
17240
  },
17241
17241
  1952: (t$8, e$1, r$1) => {
17242
- var n$2 = r$1(6571), o$1 = r$1(4871), i$1 = r$1(1491), a$1 = r$1(7416), s$1 = r$1(940), u$1 = r$1(6152), c$1 = r$1(3226), l = r$1(7598), f = "[object Arguments]", p$15 = "[object Array]", d$1 = "[object Object]", h$2 = Object.prototype.hasOwnProperty;
17242
+ var n$2 = r$1(6571), o$1 = r$1(4871), i$1 = r$1(1491), a$1 = r$1(7416), s$1 = r$1(940), u$1 = r$1(6152), c$1 = r$1(3226), l = r$1(7598), f = "[object Arguments]", p$16 = "[object Array]", d$1 = "[object Object]", h$2 = Object.prototype.hasOwnProperty;
17243
17243
  t$8.exports = function(t$9, e$2, r$2, v, y$1, m$1) {
17244
- var T = u$1(t$9), E = u$1(e$2), _ = T ? p$15 : s$1(t$9), g = E ? p$15 : s$1(e$2), O = (_ = _ == f ? d$1 : _) == d$1, R$2 = (g = g == f ? d$1 : g) == d$1, A = _ == g;
17244
+ var T = u$1(t$9), E = u$1(e$2), _ = T ? p$16 : s$1(t$9), g = E ? p$16 : s$1(e$2), O = (_ = _ == f ? d$1 : _) == d$1, R$2 = (g = g == f ? d$1 : g) == d$1, A = _ == g;
17245
17245
  if (A && c$1(t$9)) {
17246
17246
  if (!c$1(e$2)) return !1;
17247
17247
  T = !0, O = !1;
@@ -17273,13 +17273,13 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
17273
17273
  if (u$1 && c$1[2] ? c$1[1] !== t$9[c$1[0]] : !(c$1[0] in t$9)) return !1;
17274
17274
  }
17275
17275
  for (; ++a$1 < s$1;) {
17276
- var l = (c$1 = r$2[a$1])[0], f = t$9[l], p$15 = c$1[1];
17276
+ var l = (c$1 = r$2[a$1])[0], f = t$9[l], p$16 = c$1[1];
17277
17277
  if (u$1 && c$1[2]) {
17278
17278
  if (void 0 === f && !(l in t$9)) return !1;
17279
17279
  } else {
17280
17280
  var d$1 = new n$2();
17281
- if (i$1) var h$2 = i$1(f, p$15, l, t$9, e$2, d$1);
17282
- if (!(void 0 === h$2 ? o$1(p$15, f, 3, i$1, d$1) : h$2)) return !1;
17281
+ if (i$1) var h$2 = i$1(f, p$16, l, t$9, e$2, d$1);
17282
+ if (!(void 0 === h$2 ? o$1(p$16, f, 3, i$1, d$1) : h$2)) return !1;
17283
17283
  }
17284
17284
  }
17285
17285
  return !0;
@@ -17291,9 +17291,9 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
17291
17291
  };
17292
17292
  },
17293
17293
  6840: (t$8, e$1, r$1) => {
17294
- var n$2 = r$1(1049), o$1 = r$1(7394), i$1 = r$1(9259), a$1 = r$1(7035), s$1 = /^\[object .+?Constructor\]$/, u$1 = Function.prototype, c$1 = Object.prototype, l = u$1.toString, f = c$1.hasOwnProperty, p$15 = RegExp("^" + l.call(f).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
17294
+ var n$2 = r$1(1049), o$1 = r$1(7394), i$1 = r$1(9259), a$1 = r$1(7035), s$1 = /^\[object .+?Constructor\]$/, u$1 = Function.prototype, c$1 = Object.prototype, l = u$1.toString, f = c$1.hasOwnProperty, p$16 = RegExp("^" + l.call(f).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
17295
17295
  t$8.exports = function(t$9) {
17296
- return !(!i$1(t$9) || o$1(t$9)) && (n$2(t$9) ? p$15 : s$1).test(a$1(t$9));
17296
+ return !(!i$1(t$9) || o$1(t$9)) && (n$2(t$9) ? p$16 : s$1).test(a$1(t$9));
17297
17297
  };
17298
17298
  },
17299
17299
  4333: (t$8, e$1, r$1) => {
@@ -17407,14 +17407,14 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
17407
17407
  var n$2 = r$1(91), o$1 = r$1(7297), i$1 = r$1(9045), a$1 = r$1(9259), s$1 = r$1(3812);
17408
17408
  t$8.exports = function(t$9, e$2, r$2, u$1) {
17409
17409
  if (!a$1(t$9)) return t$9;
17410
- for (var c$1 = -1, l = (e$2 = o$1(e$2, t$9)).length, f = l - 1, p$15 = t$9; null != p$15 && ++c$1 < l;) {
17410
+ for (var c$1 = -1, l = (e$2 = o$1(e$2, t$9)).length, f = l - 1, p$16 = t$9; null != p$16 && ++c$1 < l;) {
17411
17411
  var d$1 = s$1(e$2[c$1]), h$2 = r$2;
17412
17412
  if ("__proto__" === d$1 || "constructor" === d$1 || "prototype" === d$1) return t$9;
17413
17413
  if (c$1 != f) {
17414
- var v = p$15[d$1];
17415
- void 0 === (h$2 = u$1 ? u$1(v, d$1, p$15) : void 0) && (h$2 = a$1(v) ? v : i$1(e$2[c$1 + 1]) ? [] : {});
17414
+ var v = p$16[d$1];
17415
+ void 0 === (h$2 = u$1 ? u$1(v, d$1, p$16) : void 0) && (h$2 = a$1(v) ? v : i$1(e$2[c$1 + 1]) ? [] : {});
17416
17416
  }
17417
- n$2(p$15, d$1, h$2), p$15 = p$15[d$1];
17417
+ n$2(p$16, d$1, h$2), p$16 = p$16[d$1];
17418
17418
  }
17419
17419
  return t$9;
17420
17420
  };
@@ -17479,16 +17479,16 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
17479
17479
  7326: (t$8, e$1, r$1) => {
17480
17480
  var n$2 = r$1(5386), o$1 = r$1(8333), i$1 = r$1(4893), a$1 = r$1(9950), s$1 = r$1(8803), u$1 = r$1(4207);
17481
17481
  t$8.exports = function(t$9, e$2, r$2) {
17482
- var c$1 = -1, l = o$1, f = t$9.length, p$15 = !0, d$1 = [], h$2 = d$1;
17483
- if (r$2) p$15 = !1, l = i$1;
17482
+ var c$1 = -1, l = o$1, f = t$9.length, p$16 = !0, d$1 = [], h$2 = d$1;
17483
+ if (r$2) p$16 = !1, l = i$1;
17484
17484
  else if (f >= 200) {
17485
17485
  var v = e$2 ? null : s$1(t$9);
17486
17486
  if (v) return u$1(v);
17487
- p$15 = !1, l = a$1, h$2 = new n$2();
17487
+ p$16 = !1, l = a$1, h$2 = new n$2();
17488
17488
  } else h$2 = e$2 ? [] : d$1;
17489
17489
  t: for (; ++c$1 < f;) {
17490
17490
  var y$1 = t$9[c$1], m$1 = e$2 ? e$2(y$1) : y$1;
17491
- if (y$1 = r$2 || 0 !== y$1 ? y$1 : 0, p$15 && m$1 == m$1) {
17491
+ if (y$1 = r$2 || 0 !== y$1 ? y$1 : 0, p$16 && m$1 == m$1) {
17492
17492
  for (var T = h$2.length; T--;) if (h$2[T] === m$1) continue t;
17493
17493
  e$2 && h$2.push(m$1), d$1.push(y$1);
17494
17494
  } else l(h$2, m$1, r$2) || (h$2 !== d$1 && h$2.push(m$1), d$1.push(y$1));
@@ -17695,8 +17695,8 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
17695
17695
  t$8.exports = function(t$9, e$2, r$2, a$1, s$1, u$1) {
17696
17696
  var c$1 = 1 & r$2, l = t$9.length, f = e$2.length;
17697
17697
  if (l != f && !(c$1 && f > l)) return !1;
17698
- var p$15 = u$1.get(t$9), d$1 = u$1.get(e$2);
17699
- if (p$15 && d$1) return p$15 == e$2 && d$1 == t$9;
17698
+ var p$16 = u$1.get(t$9), d$1 = u$1.get(e$2);
17699
+ if (p$16 && d$1) return p$16 == e$2 && d$1 == t$9;
17700
17700
  var h$2 = -1, v = !0, y$1 = 2 & r$2 ? new n$2() : void 0;
17701
17701
  for (u$1.set(t$9, e$2), u$1.set(e$2, t$9); ++h$2 < l;) {
17702
17702
  var m$1 = t$9[h$2], T = e$2[h$2];
@@ -17723,7 +17723,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
17723
17723
  },
17724
17724
  1491: (t$8, e$1, r$1) => {
17725
17725
  var n$2 = r$1(857), o$1 = r$1(9162), i$1 = r$1(1225), a$1 = r$1(4871), s$1 = r$1(5179), u$1 = r$1(4207), c$1 = n$2 ? n$2.prototype : void 0, l = c$1 ? c$1.valueOf : void 0;
17726
- t$8.exports = function(t$9, e$2, r$2, n$3, c$2, f, p$15) {
17726
+ t$8.exports = function(t$9, e$2, r$2, n$3, c$2, f, p$16) {
17727
17727
  switch (r$2) {
17728
17728
  case "[object DataView]":
17729
17729
  if (t$9.byteLength != e$2.byteLength || t$9.byteOffset != e$2.byteOffset) return !1;
@@ -17739,11 +17739,11 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
17739
17739
  case "[object Set]":
17740
17740
  var h$2 = 1 & n$3;
17741
17741
  if (d$1 || (d$1 = u$1), t$9.size != e$2.size && !h$2) return !1;
17742
- var v = p$15.get(t$9);
17742
+ var v = p$16.get(t$9);
17743
17743
  if (v) return v == e$2;
17744
- n$3 |= 2, p$15.set(t$9, e$2);
17745
- var y$1 = a$1(d$1(t$9), d$1(e$2), n$3, c$2, f, p$15);
17746
- return p$15.delete(t$9), y$1;
17744
+ n$3 |= 2, p$16.set(t$9, e$2);
17745
+ var y$1 = a$1(d$1(t$9), d$1(e$2), n$3, c$2, f, p$16);
17746
+ return p$16.delete(t$9), y$1;
17747
17747
  case "[object Symbol]": if (l) return l.call(t$9) == l.call(e$2);
17748
17748
  }
17749
17749
  return !1;
@@ -17755,21 +17755,21 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
17755
17755
  var u$1 = 1 & r$2, c$1 = n$2(t$9), l = c$1.length;
17756
17756
  if (l != n$2(e$2).length && !u$1) return !1;
17757
17757
  for (var f = l; f--;) {
17758
- var p$15 = c$1[f];
17759
- if (!(u$1 ? p$15 in e$2 : o$1.call(e$2, p$15))) return !1;
17758
+ var p$16 = c$1[f];
17759
+ if (!(u$1 ? p$16 in e$2 : o$1.call(e$2, p$16))) return !1;
17760
17760
  }
17761
17761
  var d$1 = s$1.get(t$9), h$2 = s$1.get(e$2);
17762
17762
  if (d$1 && h$2) return d$1 == e$2 && h$2 == t$9;
17763
17763
  var v = !0;
17764
17764
  s$1.set(t$9, e$2), s$1.set(e$2, t$9);
17765
17765
  for (var y$1 = u$1; ++f < l;) {
17766
- var m$1 = t$9[p$15 = c$1[f]], T = e$2[p$15];
17767
- if (i$1) var E = u$1 ? i$1(T, m$1, p$15, e$2, t$9, s$1) : i$1(m$1, T, p$15, t$9, e$2, s$1);
17766
+ var m$1 = t$9[p$16 = c$1[f]], T = e$2[p$16];
17767
+ if (i$1) var E = u$1 ? i$1(T, m$1, p$16, e$2, t$9, s$1) : i$1(m$1, T, p$16, t$9, e$2, s$1);
17768
17768
  if (!(void 0 === E ? m$1 === T || a$1(m$1, T, r$2, i$1, s$1) : E)) {
17769
17769
  v = !1;
17770
17770
  break;
17771
17771
  }
17772
- y$1 || (y$1 = "constructor" == p$15);
17772
+ y$1 || (y$1 = "constructor" == p$16);
17773
17773
  }
17774
17774
  if (v && !y$1) {
17775
17775
  var _ = t$9.constructor, g = e$2.constructor;
@@ -17852,14 +17852,14 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
17852
17852
  } : a$1;
17853
17853
  },
17854
17854
  940: (t$8, e$1, r$1) => {
17855
- var n$2 = r$1(9515), o$1 = r$1(326), i$1 = r$1(2760), a$1 = r$1(2143), s$1 = r$1(3215), u$1 = r$1(3366), c$1 = r$1(7035), l = "[object Map]", f = "[object Promise]", p$15 = "[object Set]", d$1 = "[object WeakMap]", h$2 = "[object DataView]", v = c$1(n$2), y$1 = c$1(o$1), m$1 = c$1(i$1), T = c$1(a$1), E = c$1(s$1), _ = u$1;
17856
- (n$2 && _(new n$2(/* @__PURE__ */ new ArrayBuffer(1))) != h$2 || o$1 && _(new o$1()) != l || i$1 && _(i$1.resolve()) != f || a$1 && _(new a$1()) != p$15 || s$1 && _(new s$1()) != d$1) && (_ = function(t$9) {
17855
+ var n$2 = r$1(9515), o$1 = r$1(326), i$1 = r$1(2760), a$1 = r$1(2143), s$1 = r$1(3215), u$1 = r$1(3366), c$1 = r$1(7035), l = "[object Map]", f = "[object Promise]", p$16 = "[object Set]", d$1 = "[object WeakMap]", h$2 = "[object DataView]", v = c$1(n$2), y$1 = c$1(o$1), m$1 = c$1(i$1), T = c$1(a$1), E = c$1(s$1), _ = u$1;
17856
+ (n$2 && _(new n$2(/* @__PURE__ */ new ArrayBuffer(1))) != h$2 || o$1 && _(new o$1()) != l || i$1 && _(i$1.resolve()) != f || a$1 && _(new a$1()) != p$16 || s$1 && _(new s$1()) != d$1) && (_ = function(t$9) {
17857
17857
  var e$2 = u$1(t$9), r$2 = "[object Object]" == e$2 ? t$9.constructor : void 0, n$3 = r$2 ? c$1(r$2) : "";
17858
17858
  if (n$3) switch (n$3) {
17859
17859
  case v: return h$2;
17860
17860
  case y$1: return l;
17861
17861
  case m$1: return f;
17862
- case T: return p$15;
17862
+ case T: return p$16;
17863
17863
  case E: return d$1;
17864
17864
  }
17865
17865
  return e$2;
@@ -17874,11 +17874,11 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
17874
17874
  var n$2 = r$1(7297), o$1 = r$1(9631), i$1 = r$1(6152), a$1 = r$1(9045), s$1 = r$1(1158), u$1 = r$1(3812);
17875
17875
  t$8.exports = function(t$9, e$2, r$2) {
17876
17876
  for (var c$1 = -1, l = (e$2 = n$2(e$2, t$9)).length, f = !1; ++c$1 < l;) {
17877
- var p$15 = u$1(e$2[c$1]);
17878
- if (!(f = null != t$9 && r$2(t$9, p$15))) break;
17879
- t$9 = t$9[p$15];
17877
+ var p$16 = u$1(e$2[c$1]);
17878
+ if (!(f = null != t$9 && r$2(t$9, p$16))) break;
17879
+ t$9 = t$9[p$16];
17880
17880
  }
17881
- return f || ++c$1 != l ? f : !!(l = null == t$9 ? 0 : t$9.length) && s$1(l) && a$1(p$15, l) && (i$1(t$9) || o$1(t$9));
17881
+ return f || ++c$1 != l ? f : !!(l = null == t$9 ? 0 : t$9.length) && s$1(l) && a$1(p$16, l) && (i$1(t$9) || o$1(t$9));
17882
17882
  };
17883
17883
  },
17884
17884
  3880: (t$8) => {
@@ -18329,8 +18329,8 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
18329
18329
  t$8.exports = n$2((function(t$9, e$2) {
18330
18330
  t$9 = Object(t$9);
18331
18331
  var r$2 = -1, n$3 = e$2.length, c$1 = n$3 > 2 ? e$2[2] : void 0;
18332
- for (c$1 && i$1(e$2[0], e$2[1], c$1) && (n$3 = 1); ++r$2 < n$3;) for (var l = e$2[r$2], f = a$1(l), p$15 = -1, d$1 = f.length; ++p$15 < d$1;) {
18333
- var h$2 = f[p$15], v = t$9[h$2];
18332
+ for (c$1 && i$1(e$2[0], e$2[1], c$1) && (n$3 = 1); ++r$2 < n$3;) for (var l = e$2[r$2], f = a$1(l), p$16 = -1, d$1 = f.length; ++p$16 < d$1;) {
18333
+ var h$2 = f[p$16], v = t$9[h$2];
18334
18334
  (void 0 === v || o$1(v, s$1[h$2]) && !u$1.call(t$9, h$2)) && (t$9[h$2] = l[h$2]);
18335
18335
  }
18336
18336
  return t$9;
@@ -19250,15 +19250,15 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
19250
19250
  i$1(" "),
19251
19251
  i$1("")
19252
19252
  ];
19253
- function p$15() {}
19254
- return p$15.prototype.visitChildren = function(t$10) {
19253
+ function p$16() {}
19254
+ return p$16.prototype.visitChildren = function(t$10) {
19255
19255
  for (var e$3 in t$10) {
19256
19256
  var r$3 = t$10[e$3];
19257
19257
  t$10.hasOwnProperty(e$3) && (void 0 !== r$3.type ? this.visit(r$3) : Array.isArray(r$3) && r$3.forEach((function(t$11) {
19258
19258
  this.visit(t$11);
19259
19259
  }), this));
19260
19260
  }
19261
- }, p$15.prototype.visit = function(t$10) {
19261
+ }, p$16.prototype.visit = function(t$10) {
19262
19262
  switch (t$10.type) {
19263
19263
  case "Pattern":
19264
19264
  this.visitPattern(t$10);
@@ -19305,9 +19305,9 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
19305
19305
  case "Quantifier": this.visitQuantifier(t$10);
19306
19306
  }
19307
19307
  this.visitChildren(t$10);
19308
- }, p$15.prototype.visitPattern = function(t$10) {}, p$15.prototype.visitFlags = function(t$10) {}, p$15.prototype.visitDisjunction = function(t$10) {}, p$15.prototype.visitAlternative = function(t$10) {}, p$15.prototype.visitStartAnchor = function(t$10) {}, p$15.prototype.visitEndAnchor = function(t$10) {}, p$15.prototype.visitWordBoundary = function(t$10) {}, p$15.prototype.visitNonWordBoundary = function(t$10) {}, p$15.prototype.visitLookahead = function(t$10) {}, p$15.prototype.visitNegativeLookahead = function(t$10) {}, p$15.prototype.visitCharacter = function(t$10) {}, p$15.prototype.visitSet = function(t$10) {}, p$15.prototype.visitGroup = function(t$10) {}, p$15.prototype.visitGroupBackReference = function(t$10) {}, p$15.prototype.visitQuantifier = function(t$10) {}, {
19308
+ }, p$16.prototype.visitPattern = function(t$10) {}, p$16.prototype.visitFlags = function(t$10) {}, p$16.prototype.visitDisjunction = function(t$10) {}, p$16.prototype.visitAlternative = function(t$10) {}, p$16.prototype.visitStartAnchor = function(t$10) {}, p$16.prototype.visitEndAnchor = function(t$10) {}, p$16.prototype.visitWordBoundary = function(t$10) {}, p$16.prototype.visitNonWordBoundary = function(t$10) {}, p$16.prototype.visitLookahead = function(t$10) {}, p$16.prototype.visitNegativeLookahead = function(t$10) {}, p$16.prototype.visitCharacter = function(t$10) {}, p$16.prototype.visitSet = function(t$10) {}, p$16.prototype.visitGroup = function(t$10) {}, p$16.prototype.visitGroupBackReference = function(t$10) {}, p$16.prototype.visitQuantifier = function(t$10) {}, {
19309
19309
  RegExpParser: t$9,
19310
- BaseRegExpVisitor: p$15,
19310
+ BaseRegExpVisitor: p$16,
19311
19311
  VERSION: "0.5.0"
19312
19312
  };
19313
19313
  }) ? r$1.apply(e$1, []) : r$1) || (t$8.exports = n$2);
@@ -19349,7 +19349,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
19349
19349
  return t$9 && t$9.__esModule ? t$9 : { default: t$9 };
19350
19350
  };
19351
19351
  Object.defineProperty(e$1, "__esModule", { value: !0 }), e$1.validateRedundantMethods = e$1.validateMissingCstMethods = e$1.validateVisitor = e$1.CstVisitorDefinitionError = e$1.createBaseVisitorConstructorWithDefaults = e$1.createBaseSemanticVisitorConstructor = e$1.defaultVisit = void 0;
19352
- var o$1, i$1 = n$2(r$1(5455)), a$1 = n$2(r$1(417)), s$1 = n$2(r$1(6152)), u$1 = n$2(r$1(6760)), c$1 = n$2(r$1(9756)), l = n$2(r$1(882)), f = n$2(r$1(249)), p$15 = n$2(r$1(1049)), d$1 = n$2(r$1(4336)), h$2 = n$2(r$1(1886)), v = r$1(4105);
19352
+ var o$1, i$1 = n$2(r$1(5455)), a$1 = n$2(r$1(417)), s$1 = n$2(r$1(6152)), u$1 = n$2(r$1(6760)), c$1 = n$2(r$1(9756)), l = n$2(r$1(882)), f = n$2(r$1(249)), p$16 = n$2(r$1(1049)), d$1 = n$2(r$1(4336)), h$2 = n$2(r$1(1886)), v = r$1(4105);
19353
19353
  function y$1(t$9, e$2) {
19354
19354
  for (var r$2 = (0, f.default)(t$9), n$3 = r$2.length, o$2 = 0; o$2 < n$3; o$2++) for (var i$2 = t$9[r$2[o$2]], a$2 = i$2.length, s$2 = 0; s$2 < a$2; s$2++) {
19355
19355
  var u$2 = i$2[s$2];
@@ -19362,7 +19362,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
19362
19362
  }
19363
19363
  function T(t$9, e$2) {
19364
19364
  var r$2 = (0, l.default)(e$2, (function(e$3) {
19365
- return !1 === (0, p$15.default)(t$9[e$3]);
19365
+ return !1 === (0, p$16.default)(t$9[e$3]);
19366
19366
  })), n$3 = (0, u$1.default)(r$2, (function(e$3) {
19367
19367
  return {
19368
19368
  msg: "Missing visitor method: <".concat(e$3, "> on ").concat(t$9.constructor.name, " CST Visitor."),
@@ -19405,7 +19405,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
19405
19405
  ];
19406
19406
  function _(t$9, e$2) {
19407
19407
  var r$2 = [];
19408
- for (var n$3 in t$9) !(0, p$15.default)(t$9[n$3]) || (0, h$2.default)(E, n$3) || (0, h$2.default)(e$2, n$3) || r$2.push({
19408
+ for (var n$3 in t$9) !(0, p$16.default)(t$9[n$3]) || (0, h$2.default)(E, n$3) || (0, h$2.default)(e$2, n$3) || r$2.push({
19409
19409
  msg: "Redundant visitor method: <".concat(n$3, "> on ").concat(t$9.constructor.name, " CST Visitor\n") + "There is no Grammar Rule corresponding to this method's name.\n",
19410
19410
  type: o$1.REDUNDANT_METHOD,
19411
19411
  methodName: n$3
@@ -19438,10 +19438,10 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
19438
19438
  return "[".concat((0, a$1.default)(t$10, (function(t$11) {
19439
19439
  return (0, o$1.tokenLabel)(t$11);
19440
19440
  })).join(", "), "]");
19441
- })), p$15 = (0, a$1.default)(f, (function(t$10, e$3) {
19441
+ })), p$16 = (0, a$1.default)(f, (function(t$10, e$3) {
19442
19442
  return " ".concat(e$3 + 1, ". ").concat(t$10);
19443
19443
  }));
19444
- return u$2 + "one of these possible Token sequences:\n".concat(p$15.join("\n")) + c$2;
19444
+ return u$2 + "one of these possible Token sequences:\n".concat(p$16.join("\n")) + c$2;
19445
19445
  },
19446
19446
  buildEarlyExitMessage: function(t$9) {
19447
19447
  var e$2 = t$9.expectedIterationPaths, r$2 = t$9.actual, n$3 = t$9.customUserDescription, s$2 = (t$9.ruleName, "Expecting: "), u$2 = "\nbut found: '" + (0, i$1.default)(r$2).image + "'";
@@ -19457,8 +19457,8 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
19457
19457
  return "Invalid grammar, reference to a rule which is not defined: ->" + e$2.nonTerminalName + "<-\ninside top level rule: ->" + t$9.name + "<-";
19458
19458
  } }, e$1.defaultGrammarValidatorErrorProvider = {
19459
19459
  buildDuplicateFoundError: function(t$9, e$2) {
19460
- var r$2, n$3 = t$9.name, o$2 = (0, i$1.default)(e$2), a$2 = o$2.idx, s$2 = (0, c$1.getProductionDslName)(o$2), l = (r$2 = o$2) instanceof u$1.Terminal ? r$2.terminalType.name : r$2 instanceof u$1.NonTerminal ? r$2.nonTerminalName : "", f = a$2 > 0, p$15 = "->".concat(s$2).concat(f ? a$2 : "", "<- ").concat(l ? "with argument: ->".concat(l, "<-") : "", "\n appears more than once (").concat(e$2.length, " times) in the top level rule: ->").concat(n$3, "<-. \n For further details see: https://chevrotain.io/docs/FAQ.html#NUMERICAL_SUFFIXES \n ");
19461
- return (p$15 = p$15.replace(/[ \t]+/g, " ")).replace(/\s\s+/g, "\n");
19460
+ var r$2, n$3 = t$9.name, o$2 = (0, i$1.default)(e$2), a$2 = o$2.idx, s$2 = (0, c$1.getProductionDslName)(o$2), l = (r$2 = o$2) instanceof u$1.Terminal ? r$2.terminalType.name : r$2 instanceof u$1.NonTerminal ? r$2.nonTerminalName : "", f = a$2 > 0, p$16 = "->".concat(s$2).concat(f ? a$2 : "", "<- ").concat(l ? "with argument: ->".concat(l, "<-") : "", "\n appears more than once (").concat(e$2.length, " times) in the top level rule: ->").concat(n$3, "<-. \n For further details see: https://chevrotain.io/docs/FAQ.html#NUMERICAL_SUFFIXES \n ");
19461
+ return (p$16 = p$16.replace(/[ \t]+/g, " ")).replace(/\s\s+/g, "\n");
19462
19462
  },
19463
19463
  buildNamespaceConflictError: function(t$9) {
19464
19464
  return "Namespace conflict found in grammar.\n" + "The grammar has both a Terminal(Token) and a Non-Terminal(Rule) named: <".concat(t$9.name, ">.\n") + "To resolve this make sure each Terminal and Non-Terminal names are unique\nThis is easy to accomplish by using the convention that Terminal names start with an uppercase letter\nand Non-Terminal names start with a lower case letter.";
@@ -19529,7 +19529,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
19529
19529
  Object.freeze(f), e$1.isRecognitionException = function(t$9) {
19530
19530
  return (0, a$1.default)(f, t$9.name);
19531
19531
  };
19532
- var p$15 = function(t$9) {
19532
+ var p$16 = function(t$9) {
19533
19533
  function e$2(e$3, r$2) {
19534
19534
  var n$3 = this.constructor, o$2 = t$9.call(this, e$3) || this;
19535
19535
  return o$2.token = r$2, o$2.resyncedTokens = [], Object.setPrototypeOf(o$2, n$3.prototype), Error.captureStackTrace && Error.captureStackTrace(o$2, o$2.constructor), o$2;
@@ -19542,28 +19542,28 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
19542
19542
  return o$2.previousToken = n$3, o$2.name = s$1, o$2;
19543
19543
  }
19544
19544
  return o$1(e$2, t$9), e$2;
19545
- }(p$15);
19545
+ }(p$16);
19546
19546
  e$1.NoViableAltException = function(t$9) {
19547
19547
  function e$2(e$3, r$2, n$3) {
19548
19548
  var o$2 = t$9.call(this, e$3, r$2) || this;
19549
19549
  return o$2.previousToken = n$3, o$2.name = u$1, o$2;
19550
19550
  }
19551
19551
  return o$1(e$2, t$9), e$2;
19552
- }(p$15);
19552
+ }(p$16);
19553
19553
  e$1.NotAllInputParsedException = function(t$9) {
19554
19554
  function e$2(e$3, r$2) {
19555
19555
  var n$3 = t$9.call(this, e$3, r$2) || this;
19556
19556
  return n$3.name = l, n$3;
19557
19557
  }
19558
19558
  return o$1(e$2, t$9), e$2;
19559
- }(p$15);
19559
+ }(p$16);
19560
19560
  e$1.EarlyExitException = function(t$9) {
19561
19561
  function e$2(e$3, r$2, n$3) {
19562
19562
  var o$2 = t$9.call(this, e$3, r$2) || this;
19563
19563
  return o$2.previousToken = n$3, o$2.name = c$1, o$2;
19564
19564
  }
19565
19565
  return o$1(e$2, t$9), e$2;
19566
- }(p$15);
19566
+ }(p$16);
19567
19567
  },
19568
19568
  3870: function(t$8, e$1, r$1) {
19569
19569
  var n$2, o$1 = this && this.__extends || (n$2 = function(t$9, e$2) {
@@ -19582,7 +19582,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
19582
19582
  return t$9 && t$9.__esModule ? t$9 : { default: t$9 };
19583
19583
  };
19584
19584
  Object.defineProperty(e$1, "__esModule", { value: !0 }), e$1.checkPrefixAlternativesAmbiguities = e$1.validateSomeNonEmptyLookaheadPath = e$1.validateTooManyAlts = e$1.RepetitionCollector = e$1.validateAmbiguousAlternationAlternatives = e$1.validateEmptyOrAlternative = e$1.getFirstNoneTerminal = e$1.validateNoLeftRecursion = e$1.validateRuleIsOverridden = e$1.validateRuleDoesNotAlreadyExist = e$1.OccurrenceValidationCollector = e$1.identifyProductionForDuplicates = e$1.validateGrammar = void 0;
19585
- var a$1 = i$1(r$1(3237)), s$1 = i$1(r$1(5455)), u$1 = i$1(r$1(7264)), c$1 = i$1(r$1(5676)), l = i$1(r$1(882)), f = i$1(r$1(2070)), p$15 = i$1(r$1(7335)), d$1 = i$1(r$1(6760)), h$2 = i$1(r$1(9756)), v = i$1(r$1(3440)), y$1 = i$1(r$1(8215)), m$1 = i$1(r$1(2208)), T = i$1(r$1(8346)), E = i$1(r$1(1886)), _ = i$1(r$1(5838)), g = i$1(r$1(4004)), O = r$1(2941), R$2 = r$1(7729), A = r$1(4677), I = r$1(9985), x = r$1(7729), N = r$1(7729), P = i$1(r$1(4934)), S = i$1(r$1(417)), b = r$1(1201);
19585
+ var a$1 = i$1(r$1(3237)), s$1 = i$1(r$1(5455)), u$1 = i$1(r$1(7264)), c$1 = i$1(r$1(5676)), l = i$1(r$1(882)), f = i$1(r$1(2070)), p$16 = i$1(r$1(7335)), d$1 = i$1(r$1(6760)), h$2 = i$1(r$1(9756)), v = i$1(r$1(3440)), y$1 = i$1(r$1(8215)), m$1 = i$1(r$1(2208)), T = i$1(r$1(8346)), E = i$1(r$1(1886)), _ = i$1(r$1(5838)), g = i$1(r$1(4004)), O = r$1(2941), R$2 = r$1(7729), A = r$1(4677), I = r$1(9985), x = r$1(7729), N = r$1(7729), P = i$1(r$1(4934)), S = i$1(r$1(417)), b = r$1(1201);
19586
19586
  function k(t$9) {
19587
19587
  return "".concat((0, R$2.getProductionDslName)(t$9), "_#_").concat(t$9.idx, "_#_").concat(L(t$9));
19588
19588
  }
@@ -19616,7 +19616,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
19616
19616
  })), l$1 = (0, _.default)(t$9, (function(t$10) {
19617
19617
  return U(t$10, e$2, n$3);
19618
19618
  })), f$1 = W(t$9, e$2, n$3));
19619
- var p$16 = function(t$10, e$3, r$3) {
19619
+ var p$17 = function(t$10, e$3, r$3) {
19620
19620
  var n$4 = [], o$3 = (0, d$1.default)(e$3, (function(t$11) {
19621
19621
  return t$11.name;
19622
19622
  }));
@@ -19636,7 +19636,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
19636
19636
  })), g$1 = (0, _.default)(t$9, (function(e$3) {
19637
19637
  return M(e$3, t$9, o$2, n$3);
19638
19638
  }));
19639
- return i$2.concat(f$1, u$2, c$2, l$1, p$16, y$2, g$1);
19639
+ return i$2.concat(f$1, u$2, c$2, l$1, p$17, y$2, g$1);
19640
19640
  }, e$1.identifyProductionForDuplicates = k;
19641
19641
  var C = function(t$9) {
19642
19642
  function e$2() {
@@ -19691,7 +19691,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
19691
19691
  type: O.ParserDefinitionErrorType.LEFT_RECURSION,
19692
19692
  ruleName: a$2
19693
19693
  });
19694
- var u$2 = (0, p$15.default)(i$2, n$3.concat([t$9])), c$2 = (0, _.default)(u$2, (function(e$3) {
19694
+ var u$2 = (0, p$16.default)(i$2, n$3.concat([t$9])), c$2 = (0, _.default)(u$2, (function(e$3) {
19695
19695
  var o$3 = (0, g.default)(n$3);
19696
19696
  return o$3.push(e$3), D(t$9, e$3, r$2, o$3);
19697
19697
  }));
@@ -19889,7 +19889,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
19889
19889
  var o$1 = n$2(r$1(5676)), i$1 = n$2(r$1(5652)), a$1 = n$2(r$1(6760)), s$1 = r$1(7729), u$1 = r$1(7729);
19890
19890
  function c$1(t$9) {
19891
19891
  if (t$9 instanceof s$1.NonTerminal) return c$1(t$9.referencedRule);
19892
- if (t$9 instanceof s$1.Terminal) return p$15(t$9);
19892
+ if (t$9 instanceof s$1.Terminal) return p$16(t$9);
19893
19893
  if ((0, u$1.isSequenceProd)(t$9)) return l(t$9);
19894
19894
  if ((0, u$1.isBranchingProd)(t$9)) return f(t$9);
19895
19895
  throw Error("non exhaustive match");
@@ -19904,10 +19904,10 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
19904
19904
  }));
19905
19905
  return (0, i$1.default)((0, o$1.default)(e$2));
19906
19906
  }
19907
- function p$15(t$9) {
19907
+ function p$16(t$9) {
19908
19908
  return [t$9.terminalType];
19909
19909
  }
19910
- e$1.first = c$1, e$1.firstForSequence = l, e$1.firstForBranching = f, e$1.firstForTerminal = p$15;
19910
+ e$1.first = c$1, e$1.firstForSequence = l, e$1.firstForBranching = f, e$1.firstForTerminal = p$16;
19911
19911
  },
19912
19912
  4917: function(t$8, e$1, r$1) {
19913
19913
  var n$2, o$1 = this && this.__extends || (n$2 = function(t$9, e$2) {
@@ -19926,7 +19926,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
19926
19926
  return t$9 && t$9.__esModule ? t$9 : { default: t$9 };
19927
19927
  };
19928
19928
  Object.defineProperty(e$1, "__esModule", { value: !0 }), e$1.buildInProdFollowPrefix = e$1.buildBetweenProdsFollowPrefix = e$1.computeAllProdsFollows = e$1.ResyncFollowsWalker = void 0;
19929
- var a$1 = r$1(8567), s$1 = r$1(8052), u$1 = i$1(r$1(9756)), c$1 = i$1(r$1(19)), l = r$1(3710), f = r$1(7729), p$15 = function(t$9) {
19929
+ var a$1 = r$1(8567), s$1 = r$1(8052), u$1 = i$1(r$1(9756)), c$1 = i$1(r$1(19)), l = r$1(3710), f = r$1(7729), p$16 = function(t$9) {
19930
19930
  function e$2(e$3) {
19931
19931
  var r$2 = t$9.call(this) || this;
19932
19932
  return r$2.topProd = e$3, r$2.follows = {}, r$2;
@@ -19941,10 +19941,10 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
19941
19941
  function d$1(t$9, e$2) {
19942
19942
  return t$9.name + e$2 + l.IN;
19943
19943
  }
19944
- e$1.ResyncFollowsWalker = p$15, e$1.computeAllProdsFollows = function(t$9) {
19944
+ e$1.ResyncFollowsWalker = p$16, e$1.computeAllProdsFollows = function(t$9) {
19945
19945
  var e$2 = {};
19946
19946
  return (0, u$1.default)(t$9, (function(t$10) {
19947
- var r$2 = new p$15(t$10).startWalking();
19947
+ var r$2 = new p$16(t$10).startWalking();
19948
19948
  (0, c$1.default)(e$2, r$2);
19949
19949
  })), e$2;
19950
19950
  }, e$1.buildBetweenProdsFollowPrefix = d$1, e$1.buildInProdFollowPrefix = function(t$9) {
@@ -19983,7 +19983,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
19983
19983
  return t$9 && t$9.__esModule ? t$9 : { default: t$9 };
19984
19984
  };
19985
19985
  Object.defineProperty(e$1, "__esModule", { value: !0 }), e$1.nextPossibleTokensAfter = e$1.possiblePathsFrom = e$1.NextTerminalAfterAtLeastOneSepWalker = e$1.NextTerminalAfterAtLeastOneWalker = e$1.NextTerminalAfterManySepWalker = e$1.NextTerminalAfterManyWalker = e$1.AbstractNextTerminalAfterProductionWalker = e$1.NextAfterTokenWalker = e$1.AbstractNextPossibleTokensWalker = void 0;
19986
- var a$1 = r$1(8567), s$1 = i$1(r$1(3237)), u$1 = i$1(r$1(5455)), c$1 = i$1(r$1(4934)), l = i$1(r$1(7264)), f = i$1(r$1(6974)), p$15 = i$1(r$1(9756)), d$1 = i$1(r$1(4004)), h$2 = r$1(8052), v = r$1(7729), y$1 = function(t$9) {
19986
+ var a$1 = r$1(8567), s$1 = i$1(r$1(3237)), u$1 = i$1(r$1(5455)), c$1 = i$1(r$1(4934)), l = i$1(r$1(7264)), f = i$1(r$1(6974)), p$16 = i$1(r$1(9756)), d$1 = i$1(r$1(4004)), h$2 = r$1(8052), v = r$1(7729), y$1 = function(t$9) {
19987
19987
  function e$2(e$3, r$2) {
19988
19988
  var n$3 = t$9.call(this) || this;
19989
19989
  return n$3.topProd = e$3, n$3.path = r$2, n$3.possibleTokTypes = [], n$3.nextProductionName = "", n$3.nextProductionOccurrence = 0, n$3.found = !1, n$3.isAtEndOfPath = !1, n$3;
@@ -20104,7 +20104,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
20104
20104
  o$2 = a$2(c$2);
20105
20105
  } else if (s$2 instanceof v.Repetition) c$2 = s$2.definition.concat([new v.Repetition({ definition: s$2.definition })]), o$2 = a$2(c$2);
20106
20106
  else {
20107
- if (s$2 instanceof v.Alternation) return (0, p$15.default)(s$2.definition, (function(t$10) {
20107
+ if (s$2 instanceof v.Alternation) return (0, p$16.default)(s$2.definition, (function(t$10) {
20108
20108
  !1 === (0, u$1.default)(t$10.definition) && (o$2 = a$2(t$10.definition));
20109
20109
  })), o$2;
20110
20110
  if (!(s$2 instanceof v.Terminal)) throw Error("non exhaustive match");
@@ -20118,7 +20118,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
20118
20118
  suffixDef: (0, l.default)(e$2, i$2)
20119
20119
  }), o$2;
20120
20120
  }, e$1.nextPossibleTokensAfter = function(t$9, e$2, r$2, n$3) {
20121
- var o$2 = "EXIT_NONE_TERMINAL", i$2 = [o$2], a$2 = "EXIT_ALTERNATIVE", s$2 = !1, p$16 = e$2.length, h$3 = p$16 - n$3 - 1, y$2 = [], m$1 = [];
20121
+ var o$2 = "EXIT_NONE_TERMINAL", i$2 = [o$2], a$2 = "EXIT_ALTERNATIVE", s$2 = !1, p$17 = e$2.length, h$3 = p$17 - n$3 - 1, y$2 = [], m$1 = [];
20122
20122
  for (m$1.push({
20123
20123
  idx: -1,
20124
20124
  def: t$9,
@@ -20138,7 +20138,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
20138
20138
  occurrenceStack: (0, c$1.default)(O$1)
20139
20139
  };
20140
20140
  m$1.push(I);
20141
- } else if (A instanceof v.Terminal) if (_ < p$16 - 1) {
20141
+ } else if (A instanceof v.Terminal) if (_ < p$17 - 1) {
20142
20142
  var x = _ + 1;
20143
20143
  r$2(e$2[x], A.terminalType) && (I = {
20144
20144
  idx: x,
@@ -20147,7 +20147,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
20147
20147
  occurrenceStack: O$1
20148
20148
  }, m$1.push(I));
20149
20149
  } else {
20150
- if (_ !== p$16 - 1) throw Error("non exhaustive match");
20150
+ if (_ !== p$17 - 1) throw Error("non exhaustive match");
20151
20151
  y$2.push({
20152
20152
  nextTokenType: A.terminalType,
20153
20153
  nextTokenOccurrence: A.idx,
@@ -20280,7 +20280,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
20280
20280
  return t$9 && t$9.__esModule ? t$9 : { default: t$9 };
20281
20281
  };
20282
20282
  Object.defineProperty(e$1, "__esModule", { value: !0 }), e$1.areTokenCategoriesNotUsed = e$1.isStrictPrefixOfPath = e$1.containsPath = e$1.getLookaheadPathsForOptionalProd = e$1.getLookaheadPathsForOr = e$1.lookAheadSequenceFromAlternatives = e$1.buildSingleAlternativeLookaheadFunction = e$1.buildAlternativesLookAheadFunc = e$1.buildLookaheadFuncForOptionalProd = e$1.buildLookaheadFuncForOr = e$1.getProdType = e$1.PROD_TYPE = void 0;
20283
- var a$1, s$1 = i$1(r$1(5455)), u$1 = i$1(r$1(5676)), c$1 = i$1(r$1(9794)), l = i$1(r$1(6760)), f = i$1(r$1(9756)), p$15 = i$1(r$1(3352)), d$1 = i$1(r$1(8215)), h$2 = r$1(9985), v = r$1(8567), y$1 = r$1(1201), m$1 = r$1(7729), T = r$1(7729);
20283
+ var a$1, s$1 = i$1(r$1(5455)), u$1 = i$1(r$1(5676)), c$1 = i$1(r$1(9794)), l = i$1(r$1(6760)), f = i$1(r$1(9756)), p$16 = i$1(r$1(3352)), d$1 = i$1(r$1(8215)), h$2 = r$1(9985), v = r$1(8567), y$1 = r$1(1201), m$1 = r$1(7729), T = r$1(7729);
20284
20284
  (function(t$9) {
20285
20285
  t$9[t$9.OPTION = 0] = "OPTION", t$9[t$9.REPETITION = 1] = "REPETITION", t$9[t$9.REPETITION_MANDATORY = 2] = "REPETITION_MANDATORY", t$9[t$9.REPETITION_MANDATORY_WITH_SEPARATOR = 3] = "REPETITION_MANDATORY_WITH_SEPARATOR", t$9[t$9.REPETITION_WITH_SEPARATOR = 4] = "REPETITION_WITH_SEPARATOR", t$9[t$9.ALTERNATION = 5] = "ALTERNATION";
20286
20286
  })(a$1 = e$1.PROD_TYPE || (e$1.PROD_TYPE = {})), e$1.getProdType = function(t$9) {
@@ -20309,7 +20309,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
20309
20309
  })), i$3 = 0; i$3 < o$2; i$3++) {
20310
20310
  var a$3 = t$9[i$3], s$3 = a$3.length, u$2 = n$4[i$3];
20311
20311
  if (void 0 === u$2 || !1 !== u$2.call(this)) t: for (var c$2 = 0; c$2 < s$3; c$2++) {
20312
- for (var f$1 = a$3[c$2], p$16 = f$1.length, d$2 = 0; d$2 < p$16; d$2++) if (!1 === r$2(this.LA(d$2 + 1), f$1[d$2])) continue t;
20312
+ for (var f$1 = a$3[c$2], p$17 = f$1.length, d$2 = 0; d$2 < p$17; d$2++) if (!1 === r$2(this.LA(d$2 + 1), f$1[d$2])) continue t;
20313
20313
  return i$3;
20314
20314
  }
20315
20315
  }
@@ -20319,8 +20319,8 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
20319
20319
  return (0, u$1.default)(t$10);
20320
20320
  })), s$2 = (0, d$1.default)(a$2, (function(t$10, e$3, r$3) {
20321
20321
  return (0, f.default)(e$3, (function(e$4) {
20322
- (0, p$15.default)(t$10, e$4.tokenTypeIdx) || (t$10[e$4.tokenTypeIdx] = r$3), (0, f.default)(e$4.categoryMatches, (function(e$5) {
20323
- (0, p$15.default)(t$10, e$5) || (t$10[e$5] = r$3);
20322
+ (0, p$16.default)(t$10, e$4.tokenTypeIdx) || (t$10[e$4.tokenTypeIdx] = r$3), (0, f.default)(e$4.categoryMatches, (function(e$5) {
20323
+ (0, p$16.default)(t$10, e$5) || (t$10[e$5] = r$3);
20324
20324
  }));
20325
20325
  })), t$10;
20326
20326
  }), {});
@@ -20447,8 +20447,8 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
20447
20447
  i$2 = g(u$2.length);
20448
20448
  for (var c$2 = function(t$10) {
20449
20449
  for (var r$3 = u$2[t$10], c$3 = 0; c$3 < r$3.length; c$3++) {
20450
- var l$1 = r$3[c$3].partialPath, p$17 = r$3[c$3].suffixDef, d$2 = O(l$1);
20451
- if (R$2(o$2, d$2, t$10) || (0, s$1.default)(p$17) || l$1.length === e$2) {
20450
+ var l$1 = r$3[c$3].partialPath, p$18 = r$3[c$3].suffixDef, d$2 = O(l$1);
20451
+ if (R$2(o$2, d$2, t$10) || (0, s$1.default)(p$18) || l$1.length === e$2) {
20452
20452
  var v$1 = n$3[t$10];
20453
20453
  if (!1 === N(v$1, l$1)) {
20454
20454
  v$1.push(l$1);
@@ -20458,7 +20458,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
20458
20458
  }
20459
20459
  }
20460
20460
  } else {
20461
- var T$1 = (0, h$2.possiblePathsFrom)(p$17, a$2 + 1, l$1);
20461
+ var T$1 = (0, h$2.possiblePathsFrom)(p$18, a$2 + 1, l$1);
20462
20462
  i$2[t$10] = i$2[t$10].concat(T$1), (0, f.default)(T$1, (function(e$3) {
20463
20463
  var r$4 = O(e$3.partialPath);
20464
20464
  (0, f.default)(r$4, (function(e$4) {
@@ -20467,7 +20467,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
20467
20467
  }));
20468
20468
  }
20469
20469
  }
20470
- }, p$16 = 0; p$16 < u$2.length; p$16++) c$2(p$16);
20470
+ }, p$17 = 0; p$17 < u$2.length; p$17++) c$2(p$17);
20471
20471
  }
20472
20472
  return n$3;
20473
20473
  }
@@ -20630,7 +20630,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
20630
20630
  return t$9 && t$9.__esModule ? t$9 : { default: t$9 };
20631
20631
  };
20632
20632
  Object.defineProperty(e$1, "__esModule", { value: !0 }), e$1.EmbeddedActionsParser = e$1.CstParser = e$1.Parser = e$1.EMPTY_ALT = e$1.ParserDefinitionErrorType = e$1.DEFAULT_RULE_CONFIG = e$1.DEFAULT_PARSER_CONFIG = e$1.END_OF_FILE = void 0;
20633
- var a$1, s$1 = i$1(r$1(5455)), u$1 = i$1(r$1(6760)), c$1 = i$1(r$1(9756)), l = i$1(r$1(8346)), f = i$1(r$1(3352)), p$15 = i$1(r$1(4004)), d$1 = r$1(7146), h$2 = r$1(4917), v = r$1(6736), y$1 = r$1(1007), m$1 = r$1(1665), T = r$1(9992), E = r$1(161), _ = r$1(3225), g = r$1(598), O = r$1(8503), R$2 = r$1(3273), A = r$1(9464), I = r$1(1625), x = r$1(6688), N = r$1(146), P = r$1(4803);
20633
+ var a$1, s$1 = i$1(r$1(5455)), u$1 = i$1(r$1(6760)), c$1 = i$1(r$1(9756)), l = i$1(r$1(8346)), f = i$1(r$1(3352)), p$16 = i$1(r$1(4004)), d$1 = r$1(7146), h$2 = r$1(4917), v = r$1(6736), y$1 = r$1(1007), m$1 = r$1(1665), T = r$1(9992), E = r$1(161), _ = r$1(3225), g = r$1(598), O = r$1(8503), R$2 = r$1(3273), A = r$1(9464), I = r$1(1625), x = r$1(6688), N = r$1(146), P = r$1(4803);
20634
20634
  e$1.END_OF_FILE = (0, v.createTokenInstance)(v.EOF, "", NaN, NaN, NaN, NaN, NaN, NaN), Object.freeze(e$1.END_OF_FILE), e$1.DEFAULT_PARSER_CONFIG = Object.freeze({
20635
20635
  recoveryEnabled: !1,
20636
20636
  maxLookahead: 3,
@@ -20716,7 +20716,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
20716
20716
  e$1.CstParser = function(t$9) {
20717
20717
  function r$2(r$3, n$3) {
20718
20718
  void 0 === n$3 && (n$3 = e$1.DEFAULT_PARSER_CONFIG);
20719
- var o$2 = (0, p$15.default)(n$3);
20719
+ var o$2 = (0, p$16.default)(n$3);
20720
20720
  return o$2.outputCst = !0, t$9.call(this, r$3, o$2) || this;
20721
20721
  }
20722
20722
  return o$1(r$2, t$9), r$2;
@@ -20724,7 +20724,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
20724
20724
  e$1.EmbeddedActionsParser = function(t$9) {
20725
20725
  function r$2(r$3, n$3) {
20726
20726
  void 0 === n$3 && (n$3 = e$1.DEFAULT_PARSER_CONFIG);
20727
- var o$2 = (0, p$15.default)(n$3);
20727
+ var o$2 = (0, p$16.default)(n$3);
20728
20728
  return o$2.outputCst = !1, t$9.call(this, r$3, o$2) || this;
20729
20729
  }
20730
20730
  return o$1(r$2, t$9), r$2;
@@ -20801,13 +20801,13 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
20801
20801
  return t$9 && t$9.__esModule ? t$9 : { default: t$9 };
20802
20802
  };
20803
20803
  Object.defineProperty(e$1, "__esModule", { value: !0 }), e$1.GastRecorder = void 0;
20804
- var o$1 = n$2(r$1(6974)), i$1 = n$2(r$1(6152)), a$1 = n$2(r$1(1525)), s$1 = n$2(r$1(9756)), u$1 = n$2(r$1(1049)), c$1 = n$2(r$1(3352)), l = r$1(7729), f = r$1(9027), p$15 = r$1(1201), d$1 = r$1(6736), h$2 = r$1(2941), v = r$1(8209), y$1 = { description: "This Object indicates the Parser is during Recording Phase" };
20804
+ var o$1 = n$2(r$1(6974)), i$1 = n$2(r$1(6152)), a$1 = n$2(r$1(1525)), s$1 = n$2(r$1(9756)), u$1 = n$2(r$1(1049)), c$1 = n$2(r$1(3352)), l = r$1(7729), f = r$1(9027), p$16 = r$1(1201), d$1 = r$1(6736), h$2 = r$1(2941), v = r$1(8209), y$1 = { description: "This Object indicates the Parser is during Recording Phase" };
20805
20805
  Object.freeze(y$1);
20806
20806
  var m$1 = Math.pow(2, v.BITS_FOR_OCCURRENCE_IDX) - 1, T = (0, d$1.createToken)({
20807
20807
  name: "RECORDING_PHASE_TOKEN",
20808
20808
  pattern: f.Lexer.NA
20809
20809
  });
20810
- (0, p$15.augmentTokenTypes)([T]);
20810
+ (0, p$16.augmentTokenTypes)([T]);
20811
20811
  var E = (0, d$1.createTokenInstance)(T, "This IToken indicates the Parser is in Recording Phase\n See: https://chevrotain.io/docs/guide/internals.html#grammar-recording for details", -1, -1, -1, -1, -1, -1);
20812
20812
  Object.freeze(E);
20813
20813
  var _ = {
@@ -20909,7 +20909,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
20909
20909
  });
20910
20910
  return i$2.definition.push(s$2), this.outputCst ? _ : y$1;
20911
20911
  }, t$9.prototype.consumeInternalRecord = function(t$10, e$2, r$2) {
20912
- if (I(e$2), !(0, p$15.hasShortKeyProperty)(t$10)) {
20912
+ if (I(e$2), !(0, p$16.hasShortKeyProperty)(t$10)) {
20913
20913
  var n$3 = new Error("<CONSUME".concat(A(e$2), "> argument is invalid") + " expecting a TokenType reference but got: <".concat(JSON.stringify(t$10), ">") + "\n inside top level rule: <".concat(this.recordingProdStack[0].name, ">"));
20914
20914
  throw n$3.KNOWN_RECORDER_ERROR = !0, n$3;
20915
20915
  }
@@ -20932,15 +20932,15 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
20932
20932
  function R$2(t$9, e$2) {
20933
20933
  var r$2 = this;
20934
20934
  I(e$2);
20935
- var n$3 = (0, o$1.default)(this.recordingProdStack), f$1 = !1 === (0, i$1.default)(t$9), p$16 = !1 === f$1 ? t$9 : t$9.DEF, d$2 = new l.Alternation({
20935
+ var n$3 = (0, o$1.default)(this.recordingProdStack), f$1 = !1 === (0, i$1.default)(t$9), p$17 = !1 === f$1 ? t$9 : t$9.DEF, d$2 = new l.Alternation({
20936
20936
  definition: [],
20937
20937
  idx: e$2,
20938
20938
  ignoreAmbiguities: f$1 && !0 === t$9.IGNORE_AMBIGUITIES
20939
20939
  });
20940
20940
  (0, c$1.default)(t$9, "MAX_LOOKAHEAD") && (d$2.maxLookahead = t$9.MAX_LOOKAHEAD);
20941
- return d$2.hasPredicates = (0, a$1.default)(p$16, (function(t$10) {
20941
+ return d$2.hasPredicates = (0, a$1.default)(p$17, (function(t$10) {
20942
20942
  return (0, u$1.default)(t$10.GATE);
20943
- })), n$3.definition.push(d$2), (0, s$1.default)(p$16, (function(t$10) {
20943
+ })), n$3.definition.push(d$2), (0, s$1.default)(p$17, (function(t$10) {
20944
20944
  var e$3 = new l.Alternative({ definition: [] });
20945
20945
  d$2.definition.push(e$3), (0, c$1.default)(t$10, "IGNORE_AMBIGUITIES") ? e$3.ignoreAmbiguities = t$10.IGNORE_AMBIGUITIES : (0, c$1.default)(t$10, "GATE") && (e$3.ignoreAmbiguities = !0), r$2.recordingProdStack.push(e$3), t$10.ALT.call(r$2), r$2.recordingProdStack.pop();
20946
20946
  })), y$1;
@@ -21010,7 +21010,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
21010
21010
  return t$9 && t$9.__esModule ? t$9 : { default: t$9 };
21011
21011
  };
21012
21012
  Object.defineProperty(e$1, "__esModule", { value: !0 }), e$1.collectMethods = e$1.LooksAhead = void 0;
21013
- var a$1 = r$1(4677), s$1 = i$1(r$1(9756)), u$1 = i$1(r$1(3352)), c$1 = r$1(2941), l = r$1(8209), f = r$1(7729), p$15 = r$1(7729);
21013
+ var a$1 = r$1(4677), s$1 = i$1(r$1(9756)), u$1 = i$1(r$1(3352)), c$1 = r$1(2941), l = r$1(8209), f = r$1(7729), p$16 = r$1(7729);
21014
21014
  e$1.LooksAhead = function() {
21015
21015
  function t$9() {}
21016
21016
  return t$9.prototype.initLooksAhead = function(t$10) {
@@ -21022,20 +21022,20 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
21022
21022
  var r$2 = v(t$11), n$3 = r$2.alternation, o$2 = r$2.repetition, i$2 = r$2.option, u$2 = r$2.repetitionMandatory, c$2 = r$2.repetitionMandatoryWithSeparator, f$1 = r$2.repetitionWithSeparator;
21023
21023
  (0, s$1.default)(n$3, (function(r$3) {
21024
21024
  var n$4 = 0 === r$3.idx ? "" : r$3.idx;
21025
- e$2.TRACE_INIT("".concat((0, p$15.getProductionDslName)(r$3)).concat(n$4), (function() {
21025
+ e$2.TRACE_INIT("".concat((0, p$16.getProductionDslName)(r$3)).concat(n$4), (function() {
21026
21026
  var n$5 = (0, a$1.buildLookaheadFuncForOr)(r$3.idx, t$11, r$3.maxLookahead || e$2.maxLookahead, r$3.hasPredicates, e$2.dynamicTokensEnabled, e$2.lookAheadBuilderForAlternatives), o$3 = (0, l.getKeyForAutomaticLookahead)(e$2.fullRuleNameToShort[t$11.name], l.OR_IDX, r$3.idx);
21027
21027
  e$2.setLaFuncCache(o$3, n$5);
21028
21028
  }));
21029
21029
  })), (0, s$1.default)(o$2, (function(r$3) {
21030
- e$2.computeLookaheadFunc(t$11, r$3.idx, l.MANY_IDX, a$1.PROD_TYPE.REPETITION, r$3.maxLookahead, (0, p$15.getProductionDslName)(r$3));
21030
+ e$2.computeLookaheadFunc(t$11, r$3.idx, l.MANY_IDX, a$1.PROD_TYPE.REPETITION, r$3.maxLookahead, (0, p$16.getProductionDslName)(r$3));
21031
21031
  })), (0, s$1.default)(i$2, (function(r$3) {
21032
- e$2.computeLookaheadFunc(t$11, r$3.idx, l.OPTION_IDX, a$1.PROD_TYPE.OPTION, r$3.maxLookahead, (0, p$15.getProductionDslName)(r$3));
21032
+ e$2.computeLookaheadFunc(t$11, r$3.idx, l.OPTION_IDX, a$1.PROD_TYPE.OPTION, r$3.maxLookahead, (0, p$16.getProductionDslName)(r$3));
21033
21033
  })), (0, s$1.default)(u$2, (function(r$3) {
21034
- e$2.computeLookaheadFunc(t$11, r$3.idx, l.AT_LEAST_ONE_IDX, a$1.PROD_TYPE.REPETITION_MANDATORY, r$3.maxLookahead, (0, p$15.getProductionDslName)(r$3));
21034
+ e$2.computeLookaheadFunc(t$11, r$3.idx, l.AT_LEAST_ONE_IDX, a$1.PROD_TYPE.REPETITION_MANDATORY, r$3.maxLookahead, (0, p$16.getProductionDslName)(r$3));
21035
21035
  })), (0, s$1.default)(c$2, (function(r$3) {
21036
- e$2.computeLookaheadFunc(t$11, r$3.idx, l.AT_LEAST_ONE_SEP_IDX, a$1.PROD_TYPE.REPETITION_MANDATORY_WITH_SEPARATOR, r$3.maxLookahead, (0, p$15.getProductionDslName)(r$3));
21036
+ e$2.computeLookaheadFunc(t$11, r$3.idx, l.AT_LEAST_ONE_SEP_IDX, a$1.PROD_TYPE.REPETITION_MANDATORY_WITH_SEPARATOR, r$3.maxLookahead, (0, p$16.getProductionDslName)(r$3));
21037
21037
  })), (0, s$1.default)(f$1, (function(r$3) {
21038
- e$2.computeLookaheadFunc(t$11, r$3.idx, l.MANY_SEP_IDX, a$1.PROD_TYPE.REPETITION_WITH_SEPARATOR, r$3.maxLookahead, (0, p$15.getProductionDslName)(r$3));
21038
+ e$2.computeLookaheadFunc(t$11, r$3.idx, l.MANY_SEP_IDX, a$1.PROD_TYPE.REPETITION_WITH_SEPARATOR, r$3.maxLookahead, (0, p$16.getProductionDslName)(r$3));
21039
21039
  }));
21040
21040
  }));
21041
21041
  }));
@@ -21354,7 +21354,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
21354
21354
  return t$9 && t$9.__esModule ? t$9 : { default: t$9 };
21355
21355
  };
21356
21356
  Object.defineProperty(e$1, "__esModule", { value: !0 }), e$1.RecognizerEngine = void 0;
21357
- var o$1 = n$2(r$1(5455)), i$1 = n$2(r$1(6152)), a$1 = n$2(r$1(5676)), s$1 = n$2(r$1(9794)), u$1 = n$2(r$1(5652)), c$1 = n$2(r$1(9259)), l = n$2(r$1(3352)), f = n$2(r$1(8346)), p$15 = n$2(r$1(8215)), d$1 = n$2(r$1(4004)), h$2 = r$1(8209), v = r$1(643), y$1 = r$1(4677), m$1 = r$1(9985), T = r$1(2941), E = r$1(9992), _ = r$1(6736), g = r$1(1201);
21357
+ var o$1 = n$2(r$1(5455)), i$1 = n$2(r$1(6152)), a$1 = n$2(r$1(5676)), s$1 = n$2(r$1(9794)), u$1 = n$2(r$1(5652)), c$1 = n$2(r$1(9259)), l = n$2(r$1(3352)), f = n$2(r$1(8346)), p$16 = n$2(r$1(8215)), d$1 = n$2(r$1(4004)), h$2 = r$1(8209), v = r$1(643), y$1 = r$1(4677), m$1 = r$1(9985), T = r$1(2941), E = r$1(9992), _ = r$1(6736), g = r$1(1201);
21358
21358
  e$1.RecognizerEngine = function() {
21359
21359
  function t$9() {}
21360
21360
  return t$9.prototype.initRecognizerEngine = function(t$10, e$2) {
@@ -21363,12 +21363,12 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
21363
21363
  if ((0, o$1.default)(t$10)) throw Error("A Token Vocabulary cannot be empty.\n Note that the first argument for the parser constructor\n is no longer a Token vector (since v4.0).");
21364
21364
  if ("number" == typeof t$10[0].startOffset) throw Error("The Parser constructor no longer accepts a token vector as the first argument.\n See: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_4-0-0\n For Further details.");
21365
21365
  }
21366
- if ((0, i$1.default)(t$10)) this.tokensMap = (0, p$15.default)(t$10, (function(t$11, e$3) {
21366
+ if ((0, i$1.default)(t$10)) this.tokensMap = (0, p$16.default)(t$10, (function(t$11, e$3) {
21367
21367
  return t$11[e$3.name] = e$3, t$11;
21368
21368
  }), {});
21369
21369
  else if ((0, l.default)(t$10, "modes") && (0, s$1.default)((0, a$1.default)((0, f.default)(t$10.modes)), g.isTokenType)) {
21370
21370
  var r$2 = (0, a$1.default)((0, f.default)(t$10.modes)), n$3 = (0, u$1.default)(r$2);
21371
- this.tokensMap = (0, p$15.default)(n$3, (function(t$11, e$3) {
21371
+ this.tokensMap = (0, p$16.default)(n$3, (function(t$11, e$3) {
21372
21372
  return t$11[e$3.name] = e$3, t$11;
21373
21373
  }), {});
21374
21374
  } else {
@@ -21608,7 +21608,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
21608
21608
  return t$9 && t$9.__esModule ? t$9 : { default: t$9 };
21609
21609
  };
21610
21610
  Object.defineProperty(e$1, "__esModule", { value: !0 }), e$1.attemptInRepetitionRecovery = e$1.Recoverable = e$1.InRuleRecoveryException = e$1.IN_RULE_RECOVERY_EXCEPTION = e$1.EOF_FOLLOW_KEY = void 0;
21611
- var a$1 = r$1(6736), s$1 = i$1(r$1(5455)), u$1 = i$1(r$1(4934)), c$1 = i$1(r$1(5676)), l = i$1(r$1(6760)), f = i$1(r$1(5281)), p$15 = i$1(r$1(3352)), d$1 = i$1(r$1(1886)), h$2 = i$1(r$1(4004)), v = r$1(643), y$1 = r$1(3710), m$1 = r$1(2941);
21611
+ var a$1 = r$1(6736), s$1 = i$1(r$1(5455)), u$1 = i$1(r$1(4934)), c$1 = i$1(r$1(5676)), l = i$1(r$1(6760)), f = i$1(r$1(5281)), p$16 = i$1(r$1(3352)), d$1 = i$1(r$1(1886)), h$2 = i$1(r$1(4004)), v = r$1(643), y$1 = r$1(3710), m$1 = r$1(2941);
21612
21612
  e$1.EOF_FOLLOW_KEY = {}, e$1.IN_RULE_RECOVERY_EXCEPTION = "InRuleRecoveryException";
21613
21613
  var T = function(t$9) {
21614
21614
  function r$2(r$3) {
@@ -21621,7 +21621,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
21621
21621
  var E = function() {
21622
21622
  function t$9() {}
21623
21623
  return t$9.prototype.initRecoverable = function(t$10) {
21624
- this.firstAfterRepMap = {}, this.resyncFollows = {}, this.recoveryEnabled = (0, p$15.default)(t$10, "recoveryEnabled") ? t$10.recoveryEnabled : m$1.DEFAULT_PARSER_CONFIG.recoveryEnabled, this.recoveryEnabled && (this.attemptInRepetitionRecovery = _);
21624
+ this.firstAfterRepMap = {}, this.resyncFollows = {}, this.recoveryEnabled = (0, p$16.default)(t$10, "recoveryEnabled") ? t$10.recoveryEnabled : m$1.DEFAULT_PARSER_CONFIG.recoveryEnabled, this.recoveryEnabled && (this.attemptInRepetitionRecovery = _);
21625
21625
  }, t$9.prototype.getTokenToInsert = function(t$10) {
21626
21626
  var e$2 = (0, a$1.createTokenInstance)(t$10, "", NaN, NaN, NaN, NaN, NaN, NaN);
21627
21627
  return e$2.isInsertedInRecovery = !0, e$2;
@@ -21630,7 +21630,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
21630
21630
  }, t$9.prototype.canTokenTypeBeDeletedInRecovery = function(t$10) {
21631
21631
  return !0;
21632
21632
  }, t$9.prototype.tryInRepetitionRecovery = function(t$10, e$2, r$2, n$3) {
21633
- for (var o$2 = this, i$2 = this.findReSyncTokenType(), a$2 = this.exportLexerState(), s$2 = [], c$2 = !1, l$1 = this.LA(1), f$1 = this.LA(1), p$16 = function() {
21633
+ for (var o$2 = this, i$2 = this.findReSyncTokenType(), a$2 = this.exportLexerState(), s$2 = [], c$2 = !1, l$1 = this.LA(1), f$1 = this.LA(1), p$17 = function() {
21634
21634
  var t$11 = o$2.LA(0), e$3 = o$2.errorMessageProvider.buildMismatchTokenMessage({
21635
21635
  expected: n$3,
21636
21636
  actual: l$1,
@@ -21639,8 +21639,8 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
21639
21639
  }), r$3 = new v.MismatchedTokenException(e$3, l$1, o$2.LA(0));
21640
21640
  r$3.resyncedTokens = (0, u$1.default)(s$2), o$2.SAVE_ERROR(r$3);
21641
21641
  }; !c$2;) {
21642
- if (this.tokenMatcher(f$1, n$3)) return void p$16();
21643
- if (r$2.call(this)) return p$16(), void t$10.apply(this, e$2);
21642
+ if (this.tokenMatcher(f$1, n$3)) return void p$17();
21643
+ if (r$2.call(this)) return p$17(), void t$10.apply(this, e$2);
21644
21644
  this.tokenMatcher(f$1, i$2) ? c$2 = !0 : (f$1 = this.SKIP_TOKEN(), this.addToResyncTokens(f$1, s$2));
21645
21645
  }
21646
21646
  this.importLexerState(a$2);
@@ -21730,8 +21730,8 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
21730
21730
  var l$1 = this.getCurrRuleFullName();
21731
21731
  c$2 = new i$2(this.getGAstProductions()[l$1], o$2).startWalking(), this.firstAfterRepMap[u$2] = c$2;
21732
21732
  }
21733
- var f$1 = c$2.token, p$16 = c$2.occurrence, d$2 = c$2.isEndOfRule;
21734
- 1 === this.RULE_STACK.length && d$2 && void 0 === f$1 && (f$1 = a$1.EOF, p$16 = 1), void 0 !== f$1 && void 0 !== p$16 && this.shouldInRepetitionRecoveryBeTried(f$1, p$16, s$2) && this.tryInRepetitionRecovery(t$9, e$2, r$2, f$1);
21733
+ var f$1 = c$2.token, p$17 = c$2.occurrence, d$2 = c$2.isEndOfRule;
21734
+ 1 === this.RULE_STACK.length && d$2 && void 0 === f$1 && (f$1 = a$1.EOF, p$17 = 1), void 0 !== f$1 && void 0 !== p$17 && this.shouldInRepetitionRecoveryBeTried(f$1, p$17, s$2) && this.tryInRepetitionRecovery(t$9, e$2, r$2, f$1);
21735
21735
  }
21736
21736
  e$1.Recoverable = E, e$1.attemptInRepetitionRecovery = _;
21737
21737
  },
@@ -21854,7 +21854,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
21854
21854
  return t$9 && t$9.__esModule ? t$9 : { default: t$9 };
21855
21855
  };
21856
21856
  Object.defineProperty(e$1, "__esModule", { value: !0 }), e$1.charCodeToOptimizedIndex = e$1.minOptimizationVal = e$1.buildLineBreakIssueMessage = e$1.LineTerminatorOptimizedTester = e$1.isShortPattern = e$1.isCustomPattern = e$1.cloneEmptyGroups = e$1.performWarningRuntimeChecks = e$1.performRuntimeChecks = e$1.addStickyFlag = e$1.addStartOfInput = e$1.findUnreachablePatterns = e$1.findModesThatDoNotExist = e$1.findInvalidGroupType = e$1.findDuplicatePatterns = e$1.findUnsupportedFlags = e$1.findStartOfInputAnchor = e$1.findEmptyMatchRegExps = e$1.findEndOfInputAnchor = e$1.findInvalidPatterns = e$1.findMissingPatterns = e$1.validatePatterns = e$1.analyzeTokenTypes = e$1.enableSticky = e$1.disableSticky = e$1.SUPPORT_STICKY = e$1.MODES = e$1.DEFAULT_MODE = void 0;
21857
- var a$1 = r$1(4844), s$1 = r$1(9027), u$1 = i$1(r$1(3237)), c$1 = i$1(r$1(5455)), l = i$1(r$1(417)), f = i$1(r$1(6152)), p$15 = i$1(r$1(8346)), d$1 = i$1(r$1(5676)), h$2 = i$1(r$1(2070)), v = i$1(r$1(7335)), y$1 = i$1(r$1(3493)), m$1 = i$1(r$1(6760)), T = i$1(r$1(9756)), E = i$1(r$1(5505)), _ = i$1(r$1(1049)), g = i$1(r$1(4336)), O = i$1(r$1(5281)), R$2 = i$1(r$1(3352)), A = i$1(r$1(249)), I = i$1(r$1(859)), x = i$1(r$1(882)), N = i$1(r$1(4573)), P = i$1(r$1(8215)), S = i$1(r$1(1886)), b = r$1(7146), k = r$1(1480), L = r$1(3067);
21857
+ var a$1 = r$1(4844), s$1 = r$1(9027), u$1 = i$1(r$1(3237)), c$1 = i$1(r$1(5455)), l = i$1(r$1(417)), f = i$1(r$1(6152)), p$16 = i$1(r$1(8346)), d$1 = i$1(r$1(5676)), h$2 = i$1(r$1(2070)), v = i$1(r$1(7335)), y$1 = i$1(r$1(3493)), m$1 = i$1(r$1(6760)), T = i$1(r$1(9756)), E = i$1(r$1(5505)), _ = i$1(r$1(1049)), g = i$1(r$1(4336)), O = i$1(r$1(5281)), R$2 = i$1(r$1(3352)), A = i$1(r$1(249)), I = i$1(r$1(859)), x = i$1(r$1(882)), N = i$1(r$1(4573)), P = i$1(r$1(8215)), S = i$1(r$1(1886)), b = r$1(7146), k = r$1(1480), L = r$1(3067);
21858
21858
  function C(t$9) {
21859
21859
  var e$2 = (0, x.default)(t$9, (function(t$10) {
21860
21860
  return !(0, R$2.default)(t$10, "PATTERN");
@@ -21913,7 +21913,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
21913
21913
  return t$10.PATTERN === s$1.Lexer.NA;
21914
21914
  }));
21915
21915
  }));
21916
- var i$2, a$2, u$2, l$1, p$16, d$2, v$1, O$1, A$1, x$1, L$1, C$1 = !1;
21916
+ var i$2, a$2, u$2, l$1, p$17, d$2, v$1, O$1, A$1, x$1, L$1, C$1 = !1;
21917
21917
  o$2("Transform Patterns", (function() {
21918
21918
  C$1 = !1, i$2 = (0, m$1.default)(n$3, (function(t$10) {
21919
21919
  var e$2 = t$10.PATTERN;
@@ -21962,7 +21962,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
21962
21962
  if (e$2) return (0, f.default)(e$2) ? (0, m$1.default)(e$2, (function(t$11) {
21963
21963
  return (0, y$1.default)(n$3, t$11);
21964
21964
  })) : [(0, y$1.default)(n$3, e$2)];
21965
- })), p$16 = (0, m$1.default)(n$3, (function(t$10) {
21965
+ })), p$17 = (0, m$1.default)(n$3, (function(t$10) {
21966
21966
  return t$10.PUSH_MODE;
21967
21967
  })), d$2 = (0, m$1.default)(n$3, (function(t$10) {
21968
21968
  return (0, R$2.default)(t$10, "POP_MODE");
@@ -21986,7 +21986,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
21986
21986
  isCustom: O$1[e$2],
21987
21987
  short: A$1[e$2],
21988
21988
  group: u$2[e$2],
21989
- push: p$16[e$2],
21989
+ push: p$17[e$2],
21990
21990
  pop: d$2[e$2],
21991
21991
  tokenTypeIdx: a$2[e$2],
21992
21992
  tokenType: n$3[e$2]
@@ -22279,7 +22279,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
22279
22279
  }));
22280
22280
  })), o$2;
22281
22281
  }, e$1.performWarningRuntimeChecks = function(t$9, e$2, r$2) {
22282
- var n$3 = [], o$2 = !1, i$2 = (0, l.default)((0, d$1.default)((0, p$15.default)(t$9.modes))), a$2 = (0, h$2.default)(i$2, (function(t$10) {
22282
+ var n$3 = [], o$2 = !1, i$2 = (0, l.default)((0, d$1.default)((0, p$16.default)(t$9.modes))), a$2 = (0, h$2.default)(i$2, (function(t$10) {
22283
22283
  return t$10.PATTERN === s$1.Lexer.NA;
22284
22284
  })), u$2 = Q(r$2);
22285
22285
  return e$2 && (0, T.default)(a$2, (function(t$10) {
@@ -22335,7 +22335,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
22335
22335
  return t$9 && t$9.__esModule ? t$9 : { default: t$9 };
22336
22336
  };
22337
22337
  Object.defineProperty(e$1, "__esModule", { value: !0 }), e$1.Lexer = e$1.LexerDefinitionErrorType = void 0;
22338
- var o$1, i$1 = r$1(6178), a$1 = n$2(r$1(4291)), s$1 = n$2(r$1(5455)), u$1 = n$2(r$1(6152)), c$1 = n$2(r$1(6974)), l = n$2(r$1(2070)), f = n$2(r$1(6760)), p$15 = n$2(r$1(9756)), d$1 = n$2(r$1(249)), h$2 = n$2(r$1(4336)), v = n$2(r$1(3059)), y$1 = n$2(r$1(19)), m$1 = n$2(r$1(8215)), T = n$2(r$1(4004)), E = r$1(7146), _ = r$1(1201), g = r$1(495), O = r$1(3067);
22338
+ var o$1, i$1 = r$1(6178), a$1 = n$2(r$1(4291)), s$1 = n$2(r$1(5455)), u$1 = n$2(r$1(6152)), c$1 = n$2(r$1(6974)), l = n$2(r$1(2070)), f = n$2(r$1(6760)), p$16 = n$2(r$1(9756)), d$1 = n$2(r$1(249)), h$2 = n$2(r$1(4336)), v = n$2(r$1(3059)), y$1 = n$2(r$1(19)), m$1 = n$2(r$1(8215)), T = n$2(r$1(4004)), E = r$1(7146), _ = r$1(1201), g = r$1(495), O = r$1(3067);
22339
22339
  (o$1 = e$1.LexerDefinitionErrorType || (e$1.LexerDefinitionErrorType = {}))[o$1.MISSING_PATTERN = 0] = "MISSING_PATTERN", o$1[o$1.INVALID_PATTERN = 1] = "INVALID_PATTERN", o$1[o$1.EOI_ANCHOR_FOUND = 2] = "EOI_ANCHOR_FOUND", o$1[o$1.UNSUPPORTED_FLAGS_FOUND = 3] = "UNSUPPORTED_FLAGS_FOUND", o$1[o$1.DUPLICATE_PATTERNS_FOUND = 4] = "DUPLICATE_PATTERNS_FOUND", o$1[o$1.INVALID_GROUP_TYPE_FOUND = 5] = "INVALID_GROUP_TYPE_FOUND", o$1[o$1.PUSH_MODE_DOES_NOT_EXIST = 6] = "PUSH_MODE_DOES_NOT_EXIST", o$1[o$1.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE = 7] = "MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE", o$1[o$1.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY = 8] = "MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY", o$1[o$1.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST = 9] = "MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST", o$1[o$1.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED = 10] = "LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED", o$1[o$1.SOI_ANCHOR_FOUND = 11] = "SOI_ANCHOR_FOUND", o$1[o$1.EMPTY_MATCH_PATTERN = 12] = "EMPTY_MATCH_PATTERN", o$1[o$1.NO_LINE_BREAKS_FLAGS = 13] = "NO_LINE_BREAKS_FLAGS", o$1[o$1.UNREACHABLE_PATTERN = 14] = "UNREACHABLE_PATTERN", o$1[o$1.IDENTIFY_TERMINATOR = 15] = "IDENTIFY_TERMINATOR", o$1[o$1.CUSTOM_LINE_BREAK = 16] = "CUSTOM_LINE_BREAK";
22340
22340
  var R$2 = {
22341
22341
  deferDefinitionErrorsHandling: !1,
@@ -22379,13 +22379,13 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
22379
22379
  r$2.lexerDefinitionErrors = r$2.lexerDefinitionErrors.concat((0, i$1.performRuntimeChecks)(n$4, r$2.trackStartLines, r$2.config.lineTerminatorCharacters));
22380
22380
  })), r$2.TRACE_INIT("performWarningRuntimeChecks", (function() {
22381
22381
  r$2.lexerDefinitionWarning = r$2.lexerDefinitionWarning.concat((0, i$1.performWarningRuntimeChecks)(n$4, r$2.trackStartLines, r$2.config.lineTerminatorCharacters));
22382
- }))), n$4.modes = n$4.modes ? n$4.modes : {}, (0, p$15.default)(n$4.modes, (function(t$11, e$3) {
22382
+ }))), n$4.modes = n$4.modes ? n$4.modes : {}, (0, p$16.default)(n$4.modes, (function(t$11, e$3) {
22383
22383
  n$4.modes[e$3] = (0, l.default)(t$11, (function(t$12) {
22384
22384
  return (0, h$2.default)(t$12);
22385
22385
  }));
22386
22386
  }));
22387
22387
  var c$2 = (0, d$1.default)(n$4.modes);
22388
- if ((0, p$15.default)(n$4.modes, (function(t$11, n$5) {
22388
+ if ((0, p$16.default)(n$4.modes, (function(t$11, n$5) {
22389
22389
  r$2.TRACE_INIT("Mode: <".concat(n$5, "> processing"), (function() {
22390
22390
  var o$3;
22391
22391
  r$2.modes.push(n$5), !1 === r$2.config.skipValidations && r$2.TRACE_INIT("validatePatterns", (function() {
@@ -22406,7 +22406,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
22406
22406
  })).join("-----------------------\n");
22407
22407
  throw new Error("Errors detected in definition of Lexer:\n" + g$1);
22408
22408
  }
22409
- (0, p$15.default)(r$2.lexerDefinitionWarning, (function(t$11) {
22409
+ (0, p$16.default)(r$2.lexerDefinitionWarning, (function(t$11) {
22410
22410
  (0, E.PRINT_WARNING)(t$11.message);
22411
22411
  })), r$2.TRACE_INIT("Choosing sub-methods implementations", (function() {
22412
22412
  if (i$1.SUPPORT_STICKY ? (r$2.chopInput = v.default, r$2.match = r$2.matchWithTest) : (r$2.updateLastIndex = a$1.default, r$2.match = r$2.matchWithExec), o$2 && (r$2.handleModes = a$1.default), !1 === r$2.trackStartLines && (r$2.computeNewColumn = v.default), !1 === r$2.trackEndLines && (r$2.updateTokenEndLineColumnLocation = a$1.default), /full/i.test(r$2.config.positionTracking)) r$2.createTokenInstance = r$2.createFullToken;
@@ -22437,7 +22437,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
22437
22437
  }
22438
22438
  return this.tokenizeInternal(t$10, e$2);
22439
22439
  }, t$9.prototype.tokenizeInternal = function(t$10, e$2) {
22440
- var r$2, n$3, o$2, a$2, s$2, u$2, l$1, f$1, p$16, d$2, h$3, v$1, y$2, m$2, T$1, E$1, _$1 = this, g$1 = t$10, O$1 = g$1.length, R$3 = 0, A = 0, I = this.hasCustom ? 0 : Math.floor(t$10.length / 10), x = new Array(I), N = [], P = this.trackStartLines ? 1 : void 0, S = this.trackStartLines ? 1 : void 0, b = (0, i$1.cloneEmptyGroups)(this.emptyGroups), k = this.trackStartLines, L = this.config.lineTerminatorsPattern, C = 0, M = [], D = [], w$1 = [], F = [];
22440
+ var r$2, n$3, o$2, a$2, s$2, u$2, l$1, f$1, p$17, d$2, h$3, v$1, y$2, m$2, T$1, E$1, _$1 = this, g$1 = t$10, O$1 = g$1.length, R$3 = 0, A = 0, I = this.hasCustom ? 0 : Math.floor(t$10.length / 10), x = new Array(I), N = [], P = this.trackStartLines ? 1 : void 0, S = this.trackStartLines ? 1 : void 0, b = (0, i$1.cloneEmptyGroups)(this.emptyGroups), k = this.trackStartLines, L = this.config.lineTerminatorsPattern, C = 0, M = [], D = [], w$1 = [], F = [];
22441
22441
  function j() {
22442
22442
  return M;
22443
22443
  }
@@ -22489,13 +22489,13 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
22489
22489
  }
22490
22490
  }
22491
22491
  if (null !== u$2) {
22492
- if (p$16 = u$2.length, void 0 !== (d$2 = B.group) && (h$3 = B.tokenTypeIdx, v$1 = this.createTokenInstance(u$2, R$3, h$3, B.tokenType, P, S, p$16), this.handlePayload(v$1, l$1), !1 === d$2 ? A = this.addToken(x, A, v$1) : b[d$2].push(v$1)), t$10 = this.chopInput(t$10, p$16), R$3 += p$16, S = this.computeNewColumn(S, p$16), !0 === k && !0 === B.canLineTerminator) {
22492
+ if (p$17 = u$2.length, void 0 !== (d$2 = B.group) && (h$3 = B.tokenTypeIdx, v$1 = this.createTokenInstance(u$2, R$3, h$3, B.tokenType, P, S, p$17), this.handlePayload(v$1, l$1), !1 === d$2 ? A = this.addToken(x, A, v$1) : b[d$2].push(v$1)), t$10 = this.chopInput(t$10, p$17), R$3 += p$17, S = this.computeNewColumn(S, p$17), !0 === k && !0 === B.canLineTerminator) {
22493
22493
  var $$1 = 0, Q = void 0, Z = void 0;
22494
22494
  L.lastIndex = 0;
22495
22495
  do
22496
22496
  !0 === (Q = L.test(u$2)) && (Z = L.lastIndex - 1, $$1++);
22497
22497
  while (!0 === Q);
22498
- 0 !== $$1 && (P += $$1, S = p$16 - Z, this.updateTokenEndLineColumnLocation(v$1, d$2, Z, $$1, P, S, p$16));
22498
+ 0 !== $$1 && (P += $$1, S = p$17 - Z, this.updateTokenEndLineColumnLocation(v$1, d$2, Z, $$1, P, S, p$17));
22499
22499
  }
22500
22500
  this.handleModes(B, G, W, v$1);
22501
22501
  } else {
@@ -22590,7 +22590,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
22590
22590
  return t$9 && t$9.__esModule ? t$9 : { default: t$9 };
22591
22591
  };
22592
22592
  Object.defineProperty(e$1, "__esModule", { value: !0 }), e$1.canMatchCharCode = e$1.firstCharOptimizedIndices = e$1.getOptimizedStartCodesIndices = e$1.failedOptimizationPrefixMsg = void 0;
22593
- var a$1 = r$1(4844), s$1 = i$1(r$1(6152)), u$1 = i$1(r$1(9794)), c$1 = i$1(r$1(9756)), l = i$1(r$1(5281)), f = i$1(r$1(8346)), p$15 = i$1(r$1(1886)), d$1 = r$1(7146), h$2 = r$1(3067), v = r$1(6178), y$1 = "Complement Sets are not supported for first char optimization";
22593
+ var a$1 = r$1(4844), s$1 = i$1(r$1(6152)), u$1 = i$1(r$1(9794)), c$1 = i$1(r$1(9756)), l = i$1(r$1(5281)), f = i$1(r$1(8346)), p$16 = i$1(r$1(1886)), d$1 = r$1(7146), h$2 = r$1(3067), v = r$1(6178), y$1 = "Complement Sets are not supported for first char optimization";
22594
22594
  function m$1(t$9, e$2, r$2) {
22595
22595
  switch (t$9.type) {
22596
22596
  case "Disjunction":
@@ -22654,7 +22654,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
22654
22654
  }
22655
22655
  function E(t$9, e$2) {
22656
22656
  return (0, l.default)(t$9.value, (function(t$10) {
22657
- if ("number" == typeof t$10) return (0, p$15.default)(e$2, t$10);
22657
+ if ("number" == typeof t$10) return (0, p$16.default)(e$2, t$10);
22658
22658
  var r$2 = t$10;
22659
22659
  return void 0 !== (0, l.default)(e$2, (function(t$11) {
22660
22660
  return r$2.from <= t$11 && t$11 <= r$2.to;
@@ -22697,7 +22697,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
22697
22697
  t$9.prototype.visitChildren.call(this, e$3);
22698
22698
  }
22699
22699
  }, e$2.prototype.visitCharacter = function(t$10) {
22700
- (0, p$15.default)(this.targetCharCodes, t$10.value) && (this.found = !0);
22700
+ (0, p$16.default)(this.targetCharCodes, t$10.value) && (this.found = !0);
22701
22701
  }, e$2.prototype.visitSet = function(t$10) {
22702
22702
  t$10.complement ? void 0 === E(t$10, this.targetCharCodes) && (this.found = !0) : void 0 !== E(t$10, this.targetCharCodes) && (this.found = !0);
22703
22703
  }, e$2;
@@ -22708,7 +22708,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
22708
22708
  return n$3.visit(r$2), n$3.found;
22709
22709
  }
22710
22710
  return void 0 !== (0, l.default)(e$2, (function(e$3) {
22711
- return (0, p$15.default)(t$9, e$3.charCodeAt(0));
22711
+ return (0, p$16.default)(t$9, e$3.charCodeAt(0));
22712
22712
  }));
22713
22713
  };
22714
22714
  },
@@ -22729,7 +22729,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
22729
22729
  return t$9 && t$9.__esModule ? t$9 : { default: t$9 };
22730
22730
  };
22731
22731
  Object.defineProperty(e$1, "__esModule", { value: !0 }), e$1.isTokenType = e$1.hasExtendingTokensTypesMapProperty = e$1.hasExtendingTokensTypesProperty = e$1.hasCategoriesProperty = e$1.hasShortKeyProperty = e$1.singleAssignCategoriesToksMap = e$1.assignCategoriesMapProp = e$1.assignCategoriesTokensProp = e$1.assignTokenDefaultProps = e$1.expandCategories = e$1.augmentTokenTypes = e$1.tokenIdxToClass = e$1.tokenShortNameIdx = e$1.tokenStructuredMatcherNoCategories = e$1.tokenStructuredMatcher = void 0;
22732
- var o$1 = n$2(r$1(5455)), i$1 = n$2(r$1(417)), a$1 = n$2(r$1(6152)), s$1 = n$2(r$1(5676)), u$1 = n$2(r$1(7335)), c$1 = n$2(r$1(6760)), l = n$2(r$1(9756)), f = n$2(r$1(3352)), p$15 = n$2(r$1(1886)), d$1 = n$2(r$1(4004));
22732
+ var o$1 = n$2(r$1(5455)), i$1 = n$2(r$1(417)), a$1 = n$2(r$1(6152)), s$1 = n$2(r$1(5676)), u$1 = n$2(r$1(7335)), c$1 = n$2(r$1(6760)), l = n$2(r$1(9756)), f = n$2(r$1(3352)), p$16 = n$2(r$1(1886)), d$1 = n$2(r$1(4004));
22733
22733
  function h$2(t$9) {
22734
22734
  for (var e$2 = (0, d$1.default)(t$9), r$2 = t$9, n$3 = !0; n$3;) {
22735
22735
  r$2 = (0, i$1.default)((0, s$1.default)((0, c$1.default)(r$2, (function(t$10) {
@@ -22762,7 +22762,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
22762
22762
  e$2.categoryMatchesMap[t$10.tokenTypeIdx] = !0;
22763
22763
  })), (0, l.default)(e$2.CATEGORIES, (function(r$2) {
22764
22764
  var n$3 = t$9.concat(e$2);
22765
- (0, p$15.default)(n$3, r$2) || T(n$3, r$2);
22765
+ (0, p$16.default)(n$3, r$2) || T(n$3, r$2);
22766
22766
  }));
22767
22767
  }
22768
22768
  function E(t$9) {
@@ -22863,7 +22863,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
22863
22863
  function f(t$9) {
22864
22864
  return (0, c$1.default)(t$9) + "CstNode";
22865
22865
  }
22866
- function p$15(t$9) {
22866
+ function p$16(t$9) {
22867
22867
  return (0, c$1.default)(t$9) + "CstChildren";
22868
22868
  }
22869
22869
  e$1.genDts = function(t$9, e$2) {
@@ -22871,10 +22871,10 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
22871
22871
  return c$2 = (c$2 = c$2.concat("import type { CstNode, ICstVisitor, IToken } from \"chevrotain\";")).concat((0, o$1.default)((0, a$1.default)(t$9, (function(t$10) {
22872
22872
  return function(t$11) {
22873
22873
  return [function(t$12) {
22874
- var e$3 = f(t$12.name), r$3 = p$15(t$12.name);
22874
+ var e$3 = f(t$12.name), r$3 = p$16(t$12.name);
22875
22875
  return "export interface ".concat(e$3, " extends CstNode {\n name: \"").concat(t$12.name, "\";\n children: ").concat(r$3, ";\n}");
22876
22876
  }(t$11), function(t$12) {
22877
- var e$3 = p$15(t$12.name);
22877
+ var e$3 = p$16(t$12.name);
22878
22878
  return "export type ".concat(e$3, " = {\n ").concat((0, a$1.default)(t$12.properties, (function(t$13) {
22879
22879
  return function(t$14) {
22880
22880
  var e$4 = function(t$15) {
@@ -22895,7 +22895,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
22895
22895
  }(t$10);
22896
22896
  })))), e$2.includeVisitorInterface && (c$2 = c$2.concat((r$2 = e$2.visitorInterfaceName, n$3 = t$9, "export interface ".concat(r$2, "<IN, OUT> extends ICstVisitor<IN, OUT> {\n ").concat((0, a$1.default)(n$3, (function(t$10) {
22897
22897
  return function(t$11) {
22898
- var e$3 = p$15(t$11.name);
22898
+ var e$3 = p$16(t$11.name);
22899
22899
  return "".concat(t$11.name, "(children: ").concat(e$3, ", param?: IN): OUT;");
22900
22900
  }(t$10);
22901
22901
  })).join("\n "), "\n}")))), c$2.join("\n\n") + "\n";
@@ -22918,7 +22918,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
22918
22918
  return t$9 && t$9.__esModule ? t$9 : { default: t$9 };
22919
22919
  };
22920
22920
  Object.defineProperty(e$1, "__esModule", { value: !0 }), e$1.buildModel = void 0;
22921
- var a$1 = r$1(7729), s$1 = i$1(r$1(6760)), u$1 = i$1(r$1(5676)), c$1 = i$1(r$1(8346)), l = i$1(r$1(1525)), f = i$1(r$1(3440)), p$15 = i$1(r$1(19));
22921
+ var a$1 = r$1(7729), s$1 = i$1(r$1(6760)), u$1 = i$1(r$1(5676)), c$1 = i$1(r$1(8346)), l = i$1(r$1(1525)), f = i$1(r$1(3440)), p$16 = i$1(r$1(19));
22922
22922
  e$1.buildModel = function(t$9) {
22923
22923
  var e$2 = new d$1(), r$2 = (0, c$1.default)(t$9);
22924
22924
  return (0, s$1.default)(r$2, (function(t$10) {
@@ -22984,7 +22984,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
22984
22984
  }];
22985
22985
  }, e$2.prototype.visitEachAndOverrideWith = function(t$10, e$3) {
22986
22986
  return (0, s$1.default)(this.visitEach(t$10), (function(t$11) {
22987
- return (0, p$15.default)({}, t$11, e$3);
22987
+ return (0, p$16.default)({}, t$11, e$3);
22988
22988
  }));
22989
22989
  }, e$2.prototype.visitEach = function(t$10) {
22990
22990
  var e$3 = this;
@@ -23140,7 +23140,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
23140
23140
  };
23141
23141
  Object.defineProperty(e$1, "__esModule", { value: !0 }), e$1.serializeProduction = e$1.serializeGrammar = e$1.Terminal = e$1.Alternation = e$1.RepetitionWithSeparator = e$1.Repetition = e$1.RepetitionMandatoryWithSeparator = e$1.RepetitionMandatory = e$1.Option = e$1.Alternative = e$1.Rule = e$1.NonTerminal = e$1.AbstractProduction = void 0;
23142
23142
  var a$1 = i$1(r$1(6760)), s$1 = i$1(r$1(9756)), u$1 = i$1(r$1(5505)), c$1 = i$1(r$1(859)), l = i$1(r$1(2208)), f = i$1(r$1(19));
23143
- var p$15 = function() {
23143
+ var p$16 = function() {
23144
23144
  function t$9(t$10) {
23145
23145
  this._definition = t$10;
23146
23146
  }
@@ -23159,7 +23159,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
23159
23159
  }));
23160
23160
  }, t$9;
23161
23161
  }();
23162
- e$1.AbstractProduction = p$15;
23162
+ e$1.AbstractProduction = p$16;
23163
23163
  var d$1 = function(t$9) {
23164
23164
  function e$2(e$3) {
23165
23165
  var r$2 = t$9.call(this, []) || this;
@@ -23177,7 +23177,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
23177
23177
  }), e$2.prototype.accept = function(t$10) {
23178
23178
  t$10.visit(this);
23179
23179
  }, e$2;
23180
- }(p$15);
23180
+ }(p$16);
23181
23181
  e$1.NonTerminal = d$1;
23182
23182
  var h$2 = function(t$9) {
23183
23183
  function e$2(e$3) {
@@ -23187,7 +23187,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
23187
23187
  }))), r$2;
23188
23188
  }
23189
23189
  return o$1(e$2, t$9), e$2;
23190
- }(p$15);
23190
+ }(p$16);
23191
23191
  e$1.Rule = h$2;
23192
23192
  var v = function(t$9) {
23193
23193
  function e$2(e$3) {
@@ -23197,7 +23197,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
23197
23197
  }))), r$2;
23198
23198
  }
23199
23199
  return o$1(e$2, t$9), e$2;
23200
- }(p$15);
23200
+ }(p$16);
23201
23201
  e$1.Alternative = v;
23202
23202
  var y$1 = function(t$9) {
23203
23203
  function e$2(e$3) {
@@ -23207,7 +23207,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
23207
23207
  }))), r$2;
23208
23208
  }
23209
23209
  return o$1(e$2, t$9), e$2;
23210
- }(p$15);
23210
+ }(p$16);
23211
23211
  e$1.Option = y$1;
23212
23212
  var m$1 = function(t$9) {
23213
23213
  function e$2(e$3) {
@@ -23217,7 +23217,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
23217
23217
  }))), r$2;
23218
23218
  }
23219
23219
  return o$1(e$2, t$9), e$2;
23220
- }(p$15);
23220
+ }(p$16);
23221
23221
  e$1.RepetitionMandatory = m$1;
23222
23222
  var T = function(t$9) {
23223
23223
  function e$2(e$3) {
@@ -23227,7 +23227,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
23227
23227
  }))), r$2;
23228
23228
  }
23229
23229
  return o$1(e$2, t$9), e$2;
23230
- }(p$15);
23230
+ }(p$16);
23231
23231
  e$1.RepetitionMandatoryWithSeparator = T;
23232
23232
  var E = function(t$9) {
23233
23233
  function e$2(e$3) {
@@ -23237,7 +23237,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
23237
23237
  }))), r$2;
23238
23238
  }
23239
23239
  return o$1(e$2, t$9), e$2;
23240
- }(p$15);
23240
+ }(p$16);
23241
23241
  e$1.Repetition = E;
23242
23242
  var _ = function(t$9) {
23243
23243
  function e$2(e$3) {
@@ -23247,7 +23247,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
23247
23247
  }))), r$2;
23248
23248
  }
23249
23249
  return o$1(e$2, t$9), e$2;
23250
- }(p$15);
23250
+ }(p$16);
23251
23251
  e$1.RepetitionWithSeparator = _;
23252
23252
  var g = function(t$9) {
23253
23253
  function e$2(e$3) {
@@ -23266,7 +23266,7 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
23266
23266
  enumerable: !1,
23267
23267
  configurable: !0
23268
23268
  }), e$2;
23269
- }(p$15);
23269
+ }(p$16);
23270
23270
  e$1.Alternation = g;
23271
23271
  var O = function() {
23272
23272
  function t$9(t$10) {
@@ -23635,11 +23635,11 @@ var require_chevrotain = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
23635
23635
  return f.GAstVisitor;
23636
23636
  }
23637
23637
  });
23638
- var p$15 = r(8962);
23638
+ var p$16 = r(8962);
23639
23639
  Object.defineProperty(t$8, "generateCstDts", {
23640
23640
  enumerable: !0,
23641
23641
  get: function() {
23642
- return p$15.generateCstDts;
23642
+ return p$16.generateCstDts;
23643
23643
  }
23644
23644
  }), t$8.clearCache = function() {
23645
23645
  console.warn("The clearCache function was 'soft' removed from the Chevrotain API.\n It performs no action other than printing this message.\n Please avoid using it as it will be completely removed in the future");
@@ -24514,7 +24514,7 @@ var require_json = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_module
24514
24514
  return result;
24515
24515
  };
24516
24516
  var __exportStar$1 = exports && exports.__exportStar || function(m$1, exports$1) {
24517
- for (var p$15 in m$1) if (p$15 !== "default" && !Object.prototype.hasOwnProperty.call(exports$1, p$15)) __createBinding$23(exports$1, m$1, p$15);
24517
+ for (var p$16 in m$1) if (p$16 !== "default" && !Object.prototype.hasOwnProperty.call(exports$1, p$16)) __createBinding$23(exports$1, m$1, p$16);
24518
24518
  };
24519
24519
  Object.defineProperty(exports, "__esModule", { value: true });
24520
24520
  exports.build = exports.parse = void 0;
@@ -28138,7 +28138,7 @@ var require_dom = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modules
28138
28138
  };
28139
28139
  }
28140
28140
  function copy(src$2, dest) {
28141
- for (var p$15 in src$2) if (Object.prototype.hasOwnProperty.call(src$2, p$15)) dest[p$15] = src$2[p$15];
28141
+ for (var p$16 in src$2) if (Object.prototype.hasOwnProperty.call(src$2, p$16)) dest[p$16] = src$2[p$16];
28142
28142
  }
28143
28143
  /**
28144
28144
  ^\w+\.prototype\.([_\w]+)\s*=\s*((?:.*\{\s*?[\r\n][\s\S]*?^})|\S.*?(?=[;\r\n]));?
@@ -31552,13 +31552,13 @@ var require_sax = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modules
31552
31552
  start = end$1;
31553
31553
  }
31554
31554
  }
31555
- function position$1(p$15, m$1) {
31556
- while (p$15 >= lineEnd && (m$1 = linePattern.exec(source))) {
31555
+ function position$1(p$16, m$1) {
31556
+ while (p$16 >= lineEnd && (m$1 = linePattern.exec(source))) {
31557
31557
  lineStart = m$1.index;
31558
31558
  lineEnd = lineStart + m$1[0].length;
31559
31559
  locator.lineNumber++;
31560
31560
  }
31561
- locator.columnNumber = p$15 - lineStart + 1;
31561
+ locator.columnNumber = p$16 - lineStart + 1;
31562
31562
  }
31563
31563
  var lineStart = 0;
31564
31564
  var lineEnd = 0;
@@ -31667,14 +31667,14 @@ var require_sax = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modules
31667
31667
  }
31668
31668
  var attrName;
31669
31669
  var value;
31670
- var p$15 = ++start;
31670
+ var p$16 = ++start;
31671
31671
  var s$1 = S_TAG;
31672
31672
  while (true) {
31673
- var c$1 = source.charAt(p$15);
31673
+ var c$1 = source.charAt(p$16);
31674
31674
  switch (c$1) {
31675
31675
  case "=":
31676
31676
  if (s$1 === S_ATTR) {
31677
- attrName = source.slice(start, p$15);
31677
+ attrName = source.slice(start, p$16);
31678
31678
  s$1 = S_EQ;
31679
31679
  } else if (s$1 === S_ATTR_SPACE) s$1 = S_EQ;
31680
31680
  else throw new Error("attribute equal must after attrName");
@@ -31684,26 +31684,26 @@ var require_sax = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modules
31684
31684
  if (s$1 === S_EQ || s$1 === S_ATTR) {
31685
31685
  if (s$1 === S_ATTR) {
31686
31686
  errorHandler.warning("attribute value must after \"=\"");
31687
- attrName = source.slice(start, p$15);
31687
+ attrName = source.slice(start, p$16);
31688
31688
  }
31689
- start = p$15 + 1;
31690
- p$15 = source.indexOf(c$1, start);
31691
- if (p$15 > 0) {
31692
- value = source.slice(start, p$15).replace(/&#?\w+;/g, entityReplacer);
31689
+ start = p$16 + 1;
31690
+ p$16 = source.indexOf(c$1, start);
31691
+ if (p$16 > 0) {
31692
+ value = source.slice(start, p$16).replace(/&#?\w+;/g, entityReplacer);
31693
31693
  addAttribute(attrName, value, start - 1);
31694
31694
  s$1 = S_ATTR_END;
31695
31695
  } else throw new Error("attribute value no end '" + c$1 + "' match");
31696
31696
  } else if (s$1 == S_ATTR_NOQUOT_VALUE) {
31697
- value = source.slice(start, p$15).replace(/&#?\w+;/g, entityReplacer);
31697
+ value = source.slice(start, p$16).replace(/&#?\w+;/g, entityReplacer);
31698
31698
  addAttribute(attrName, value, start);
31699
31699
  errorHandler.warning("attribute \"" + attrName + "\" missed start quot(" + c$1 + ")!!");
31700
- start = p$15 + 1;
31700
+ start = p$16 + 1;
31701
31701
  s$1 = S_ATTR_END;
31702
31702
  } else throw new Error("attribute value must after \"=\"");
31703
31703
  break;
31704
31704
  case "/":
31705
31705
  switch (s$1) {
31706
- case S_TAG: el.setTagName(source.slice(start, p$15));
31706
+ case S_TAG: el.setTagName(source.slice(start, p$16));
31707
31707
  case S_ATTR_END:
31708
31708
  case S_TAG_SPACE:
31709
31709
  case S_TAG_CLOSE:
@@ -31719,17 +31719,17 @@ var require_sax = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modules
31719
31719
  break;
31720
31720
  case "":
31721
31721
  errorHandler.error("unexpected end of input");
31722
- if (s$1 == S_TAG) el.setTagName(source.slice(start, p$15));
31723
- return p$15;
31722
+ if (s$1 == S_TAG) el.setTagName(source.slice(start, p$16));
31723
+ return p$16;
31724
31724
  case ">":
31725
31725
  switch (s$1) {
31726
- case S_TAG: el.setTagName(source.slice(start, p$15));
31726
+ case S_TAG: el.setTagName(source.slice(start, p$16));
31727
31727
  case S_ATTR_END:
31728
31728
  case S_TAG_SPACE:
31729
31729
  case S_TAG_CLOSE: break;
31730
31730
  case S_ATTR_NOQUOT_VALUE:
31731
31731
  case S_ATTR:
31732
- value = source.slice(start, p$15);
31732
+ value = source.slice(start, p$16);
31733
31733
  if (value.slice(-1) === "/") {
31734
31734
  el.closed = true;
31735
31735
  value = value.slice(0, -1);
@@ -31746,19 +31746,19 @@ var require_sax = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modules
31746
31746
  break;
31747
31747
  case S_EQ: throw new Error("attribute value missed!!");
31748
31748
  }
31749
- return p$15;
31749
+ return p$16;
31750
31750
  case "€": c$1 = " ";
31751
31751
  default: if (c$1 <= " ") switch (s$1) {
31752
31752
  case S_TAG:
31753
- el.setTagName(source.slice(start, p$15));
31753
+ el.setTagName(source.slice(start, p$16));
31754
31754
  s$1 = S_TAG_SPACE;
31755
31755
  break;
31756
31756
  case S_ATTR:
31757
- attrName = source.slice(start, p$15);
31757
+ attrName = source.slice(start, p$16);
31758
31758
  s$1 = S_ATTR_SPACE;
31759
31759
  break;
31760
31760
  case S_ATTR_NOQUOT_VALUE:
31761
- var value = source.slice(start, p$15).replace(/&#?\w+;/g, entityReplacer);
31761
+ var value = source.slice(start, p$16).replace(/&#?\w+;/g, entityReplacer);
31762
31762
  errorHandler.warning("attribute \"" + value + "\" missed quot(\")!!");
31763
31763
  addAttribute(attrName, value, start);
31764
31764
  case S_ATTR_END:
@@ -31770,22 +31770,22 @@ var require_sax = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modules
31770
31770
  el.tagName;
31771
31771
  if (!NAMESPACE$1.isHTML(currentNSMap[""]) || !attrName.match(/^(?:disabled|checked|selected)$/i)) errorHandler.warning("attribute \"" + attrName + "\" missed value!! \"" + attrName + "\" instead2!!");
31772
31772
  addAttribute(attrName, attrName, start);
31773
- start = p$15;
31773
+ start = p$16;
31774
31774
  s$1 = S_ATTR;
31775
31775
  break;
31776
31776
  case S_ATTR_END: errorHandler.warning("attribute space is required\"" + attrName + "\"!!");
31777
31777
  case S_TAG_SPACE:
31778
31778
  s$1 = S_ATTR;
31779
- start = p$15;
31779
+ start = p$16;
31780
31780
  break;
31781
31781
  case S_EQ:
31782
31782
  s$1 = S_ATTR_NOQUOT_VALUE;
31783
- start = p$15;
31783
+ start = p$16;
31784
31784
  break;
31785
31785
  case S_TAG_CLOSE: throw new Error("elements closed character '/' and '>' must be connected to");
31786
31786
  }
31787
31787
  }
31788
- p$15++;
31788
+ p$16++;
31789
31789
  }
31790
31790
  }
31791
31791
  /**
@@ -33569,8 +33569,8 @@ var require_XcodeProject = /* @__PURE__ */ require_chunk.__commonJS({ "../../nod
33569
33569
  const json$3 = __importStar$3(require_types());
33570
33570
  const constants_1$2 = require_constants();
33571
33571
  const debug$1 = require_src()("xcparse:model:XcodeProject");
33572
- function uuidForPath(path$28) {
33573
- return "XX" + crypto_1.default.createHash("md5").update(path$28).digest("hex").toUpperCase().slice(0, 20) + "XX";
33572
+ function uuidForPath(path$29) {
33573
+ return "XX" + crypto_1.default.createHash("md5").update(path$29).digest("hex").toUpperCase().slice(0, 20) + "XX";
33574
33574
  }
33575
33575
  const KNOWN_ISA = {
33576
33576
  [json$3.ISA.PBXBuildFile]: () => require_PBXBuildFile().PBXBuildFile,
@@ -33931,8 +33931,8 @@ var require_PBXFileReference = /* @__PURE__ */ require_chunk.__commonJS({ "../..
33931
33931
  getProxyContainers() {
33932
33932
  return Array.from(this.getXcodeProject().values()).filter((object) => PBXContainerItemProxy_1$1.PBXContainerItemProxy.is(object) && object.props.containerPortal.uuid === this.uuid);
33933
33933
  }
33934
- setPath(path$28) {
33935
- if (path$28) setPathWithSourceTree(this, path$28, this.props.sourceTree);
33934
+ setPath(path$29) {
33935
+ if (path$29) setPathWithSourceTree(this, path$29, this.props.sourceTree);
33936
33936
  else this.props.path = void 0;
33937
33937
  }
33938
33938
  getBuildFiles() {
@@ -34058,8 +34058,8 @@ var require_AbstractGroup = /* @__PURE__ */ require_chunk.__commonJS({ "../../no
34058
34058
  * @return `PBXGroup` the group if found.
34059
34059
  * @return `null` if the `path` could not be found and `shouldCreate` is `false`.
34060
34060
  */
34061
- mkdir(path$28, { recursive } = {}) {
34062
- let pathArr = typeof path$28 === "string" ? path$28.split("/") : path$28;
34061
+ mkdir(path$29, { recursive } = {}) {
34062
+ let pathArr = typeof path$29 === "string" ? path$29.split("/") : path$29;
34063
34063
  if (!pathArr.length) return this;
34064
34064
  let childName = pathArr.shift();
34065
34065
  let child = this.getChildGroups().find((c$1) => c$1.getDisplayName() === childName);
@@ -34067,7 +34067,7 @@ var require_AbstractGroup = /* @__PURE__ */ require_chunk.__commonJS({ "../../no
34067
34067
  if (!recursive) return null;
34068
34068
  child = this.createGroup({ path: childName });
34069
34069
  }
34070
- if (!path$28.length) return child;
34070
+ if (!path$29.length) return child;
34071
34071
  return child.mkdir(pathArr, { recursive });
34072
34072
  }
34073
34073
  getChildGroups() {
@@ -34077,9 +34077,9 @@ var require_AbstractGroup = /* @__PURE__ */ require_chunk.__commonJS({ "../../no
34077
34077
  let prefix = "";
34078
34078
  if (type$1 == "staticLibrary") prefix = "lib";
34079
34079
  let extension = constants_1.PRODUCT_UTI_EXTENSIONS[type$1];
34080
- let path$28 = `${prefix}${productBaseName}`;
34081
- if (extension) path$28 += `.${extension}`;
34082
- let ref = newReference(this, path$28, "BUILT_PRODUCTS_DIR");
34080
+ let path$29 = `${prefix}${productBaseName}`;
34081
+ if (extension) path$29 += `.${extension}`;
34082
+ let ref = newReference(this, path$29, "BUILT_PRODUCTS_DIR");
34083
34083
  ref.props.includeInIndex = 0;
34084
34084
  ref.setExplicitFileType();
34085
34085
  return ref;
@@ -34438,7 +34438,7 @@ var require_build = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modul
34438
34438
  o$1[k2] = m$1[k];
34439
34439
  }));
34440
34440
  var __exportStar = exports && exports.__exportStar || function(m$1, exports$1) {
34441
- for (var p$15 in m$1) if (p$15 !== "default" && !Object.prototype.hasOwnProperty.call(exports$1, p$15)) __createBinding(exports$1, m$1, p$15);
34441
+ for (var p$16 in m$1) if (p$16 !== "default" && !Object.prototype.hasOwnProperty.call(exports$1, p$16)) __createBinding(exports$1, m$1, p$16);
34442
34442
  };
34443
34443
  Object.defineProperty(exports, "__esModule", { value: true });
34444
34444
  __exportStar(require_api(), exports);
@@ -34463,9 +34463,9 @@ const getIosAppTargetDirectoryName = () => {
34463
34463
  //#region src/utils/version/getIOSVersion.ts
34464
34464
  var import_out = /* @__PURE__ */ require_chunk.__toESM(require_keyGeneration.require_out(), 1);
34465
34465
  var import_valid$3 = /* @__PURE__ */ require_chunk.__toESM(require_valid$2(), 1);
34466
- const isFileExist = async (path$28) => {
34466
+ const isFileExist = async (path$29) => {
34467
34467
  try {
34468
- await fs_promises.default.access(path$28);
34468
+ await fs_promises.default.access(path$29);
34469
34469
  return true;
34470
34470
  } catch {
34471
34471
  return false;
@@ -36047,6 +36047,64 @@ const init = async () => {
36047
36047
  if (appendOutputDirectoryIntoGitignore()) __hot_updater_cli_tools.p.log.info(".gitignore has been modified");
36048
36048
  };
36049
36049
 
36050
+ //#endregion
36051
+ //#region src/utils/conflictDetection.ts
36052
+ /**
36053
+ * Checks if a package can be resolved using require.resolve.
36054
+ * Exported for testing purposes.
36055
+ * @param packagePath - The package path to resolve
36056
+ * @returns true if the package can be resolved
36057
+ */
36058
+ function hasPackage(packagePath) {
36059
+ try {
36060
+ require.resolve(`${packagePath}/package.json`, { paths: [(0, __hot_updater_cli_tools.getCwd)()] });
36061
+ return true;
36062
+ } catch {
36063
+ return false;
36064
+ }
36065
+ }
36066
+ /**
36067
+ * Checks if expo-updates is installed in the project.
36068
+ * Uses require.resolve() as the primary check with file reading as fallback.
36069
+ * @returns true if expo-updates is found in dependencies or devDependencies
36070
+ */
36071
+ function hasExpoUpdates() {
36072
+ if (hasPackage("expo-updates")) return true;
36073
+ const cwd = (0, __hot_updater_cli_tools.getCwd)();
36074
+ const packageJsonPath = path.default.join(cwd, "package.json");
36075
+ if (!fs.default.existsSync(packageJsonPath)) return false;
36076
+ try {
36077
+ const packageJsonContent = fs.default.readFileSync(packageJsonPath, "utf-8");
36078
+ const packageJson = JSON.parse(packageJsonContent);
36079
+ const dependencies = packageJson.dependencies || {};
36080
+ const devDependencies = packageJson.devDependencies || {};
36081
+ return !!dependencies["expo-updates"] || !!devDependencies["expo-updates"];
36082
+ } catch (_e) {
36083
+ return false;
36084
+ }
36085
+ }
36086
+ /**
36087
+ * Checks for critical conflicts and exits the process if any are found.
36088
+ * Currently checks for:
36089
+ * - expo-updates (incompatible with hot-updater)
36090
+ */
36091
+ function ensureNoConflicts() {
36092
+ if (hasExpoUpdates()) {
36093
+ __hot_updater_cli_tools.p.log.error(__hot_updater_cli_tools.colors.bgRed(__hot_updater_cli_tools.colors.white(__hot_updater_cli_tools.colors.bold(" ⚠️ CRITICAL CONFLICT DETECTED ⚠️ "))));
36094
+ __hot_updater_cli_tools.p.log.warn(__hot_updater_cli_tools.colors.yellow("You have 'expo-updates' installed in your project."));
36095
+ __hot_updater_cli_tools.p.log.warn(__hot_updater_cli_tools.colors.yellow("Hot Updater is completely incompatible with expo-updates."));
36096
+ __hot_updater_cli_tools.p.log.warn(__hot_updater_cli_tools.colors.yellow("Both libraries attempt to control the update process, which will cause your app to crash or behave unpredictably."));
36097
+ console.log();
36098
+ __hot_updater_cli_tools.p.log.error(__hot_updater_cli_tools.colors.red(__hot_updater_cli_tools.colors.bold("YOU MUST REMOVE expo-updates TO PROCEED.")));
36099
+ console.log();
36100
+ const pm = (0, __hot_updater_cli_tools.getPackageManager)();
36101
+ const removeCmd = pm === "npm" ? "uninstall" : pm === "yarn" ? "remove" : "remove";
36102
+ __hot_updater_cli_tools.p.log.info("Please run the following command to remove it:");
36103
+ __hot_updater_cli_tools.p.log.info(__hot_updater_cli_tools.colors.cyan(` ${pm} ${removeCmd} expo-updates`));
36104
+ process.exit(1);
36105
+ }
36106
+ }
36107
+
36050
36108
  //#endregion
36051
36109
  //#region ../../node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/predicate/isPlainObject.mjs
36052
36110
  function isPlainObject(value) {
@@ -36125,13 +36183,13 @@ const handleSetChannel = async (channel) => {
36125
36183
  __hot_updater_cli_tools.p.log.success(`Set Android channel to: ${__hot_updater_cli_tools.colors.green(channel)}`);
36126
36184
  if (androidPaths.length > 0) {
36127
36185
  __hot_updater_cli_tools.p.log.info(__hot_updater_cli_tools.colors.bold("Changed Android paths:"));
36128
- for (const path$28 of androidPaths) __hot_updater_cli_tools.p.log.info(` ${__hot_updater_cli_tools.colors.green(path$28)}`);
36186
+ for (const path$29 of androidPaths) __hot_updater_cli_tools.p.log.info(` ${__hot_updater_cli_tools.colors.green(path$29)}`);
36129
36187
  }
36130
36188
  const { paths: iosPaths } = await setChannel("ios", channel);
36131
36189
  __hot_updater_cli_tools.p.log.success(`Set iOS channel to: ${__hot_updater_cli_tools.colors.green(channel)}`);
36132
36190
  if (iosPaths.length > 0) {
36133
36191
  __hot_updater_cli_tools.p.log.info(__hot_updater_cli_tools.colors.bold("Changed iOS paths:"));
36134
- for (const path$28 of iosPaths) __hot_updater_cli_tools.p.log.info(` ${__hot_updater_cli_tools.colors.green(path$28)}`);
36192
+ for (const path$29 of iosPaths) __hot_updater_cli_tools.p.log.info(` ${__hot_updater_cli_tools.colors.green(path$29)}`);
36135
36193
  }
36136
36194
  __hot_updater_cli_tools.p.log.success("You need to rebuild the native app if the channel has changed.");
36137
36195
  };
@@ -36917,11 +36975,11 @@ const handleCreateFingerprint = async () => {
36917
36975
  if (diffChanged && result) {
36918
36976
  if (result.androidPaths.length > 0) {
36919
36977
  __hot_updater_cli_tools.p.log.info(__hot_updater_cli_tools.colors.bold("Changed Android paths:"));
36920
- for (const path$28 of result.androidPaths) __hot_updater_cli_tools.p.log.info(` ${__hot_updater_cli_tools.colors.green(path$28)}`);
36978
+ for (const path$29 of result.androidPaths) __hot_updater_cli_tools.p.log.info(` ${__hot_updater_cli_tools.colors.green(path$29)}`);
36921
36979
  }
36922
36980
  if (result.iosPaths.length > 0) {
36923
36981
  __hot_updater_cli_tools.p.log.info(__hot_updater_cli_tools.colors.bold("Changed iOS paths:"));
36924
- for (const path$28 of result.iosPaths) __hot_updater_cli_tools.p.log.info(` ${__hot_updater_cli_tools.colors.green(path$28)}`);
36982
+ for (const path$29 of result.iosPaths) __hot_updater_cli_tools.p.log.info(` ${__hot_updater_cli_tools.colors.green(path$29)}`);
36925
36983
  }
36926
36984
  __hot_updater_cli_tools.p.log.success(__hot_updater_cli_tools.colors.bold(`${__hot_updater_cli_tools.colors.blue("fingerprint.json")} has changed, you need to rebuild the native app.`));
36927
36985
  if (localFingerprint && result.fingerprint) {
@@ -38005,6 +38063,9 @@ dbCommand.command("generate").description("Generate SQL migration file (does not
38005
38063
  if (process.env["NODE_ENV"] === "development") program.command("build:native").description("build a new native artifact and deploy").addOption(new Option("-p, --platform <platform>", "specify the platform").choices(["ios", "android"])).addOption(new Option("-o, --output-path <outputPath>", "the path where the artifacts will be generated")).addOption(interactiveCommandOption).addOption(new Option("-m, --message <message>", "Specify a custom message for this deployment. If not provided, the latest git commit message will be used as the deployment message")).action(async (options) => {
38006
38064
  await nativeBuild(options);
38007
38065
  });
38066
+ program.hook("preAction", () => {
38067
+ ensureNoConflicts();
38068
+ });
38008
38069
  program.parse(process.argv);
38009
38070
 
38010
38071
  //#endregion