@modern-js/repo-generator 3.3.24 → 3.4.0

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.js +506 -681
  2. package/package.json +10 -11
  3. package/src/index.ts +4 -19
package/dist/index.js CHANGED
@@ -16787,11 +16787,11 @@ var require_mime_types = __commonJS({
16787
16787
  }
16788
16788
  return exts[0];
16789
16789
  }
16790
- function lookup(path18) {
16791
- if (!path18 || typeof path18 !== "string") {
16790
+ function lookup(path17) {
16791
+ if (!path17 || typeof path17 !== "string") {
16792
16792
  return false;
16793
16793
  }
16794
- var extension2 = extname("x." + path18).toLowerCase().substr(1);
16794
+ var extension2 = extname("x." + path17).toLowerCase().substr(1);
16795
16795
  if (!extension2) {
16796
16796
  return false;
16797
16797
  }
@@ -17060,7 +17060,7 @@ var require_form_data = __commonJS({
17060
17060
  "use strict";
17061
17061
  var CombinedStream = require_combined_stream();
17062
17062
  var util2 = require("util");
17063
- var path18 = require("path");
17063
+ var path17 = require("path");
17064
17064
  var http2 = require("http");
17065
17065
  var https2 = require("https");
17066
17066
  var parseUrl = require("url").parse;
@@ -17187,11 +17187,11 @@ var require_form_data = __commonJS({
17187
17187
  FormData3.prototype._getContentDisposition = function(value, options) {
17188
17188
  var filename, contentDisposition;
17189
17189
  if (typeof options.filepath === "string") {
17190
- filename = path18.normalize(options.filepath).replace(/\\/g, "/");
17190
+ filename = path17.normalize(options.filepath).replace(/\\/g, "/");
17191
17191
  } else if (options.filename || value.name || value.path) {
17192
- filename = path18.basename(options.filename || value.name || value.path);
17192
+ filename = path17.basename(options.filename || value.name || value.path);
17193
17193
  } else if (value.readable && value.hasOwnProperty("httpVersion")) {
17194
- filename = path18.basename(value.client._httpMessage.path || "");
17194
+ filename = path17.basename(value.client._httpMessage.path || "");
17195
17195
  }
17196
17196
  if (filename) {
17197
17197
  contentDisposition = 'filename="' + filename + '"';
@@ -20591,10 +20591,10 @@ var require_header = __commonJS({
20591
20591
  }
20592
20592
  const prefixSize = this.ctime || this.atime ? 130 : 155;
20593
20593
  const split = splitPrefix(this.path || "", prefixSize);
20594
- const path18 = split[0];
20594
+ const path17 = split[0];
20595
20595
  const prefix = split[1];
20596
20596
  this.needPax = split[2];
20597
- this.needPax = encString(buf, off, 100, path18) || this.needPax;
20597
+ this.needPax = encString(buf, off, 100, path17) || this.needPax;
20598
20598
  this.needPax = encNumber(buf, off + 100, 8, this.mode) || this.needPax;
20599
20599
  this.needPax = encNumber(buf, off + 108, 8, this.uid) || this.needPax;
20600
20600
  this.needPax = encNumber(buf, off + 116, 8, this.gid) || this.needPax;
@@ -20704,7 +20704,7 @@ var require_pax = __commonJS({
20704
20704
  "../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/pax.js"(exports, module2) {
20705
20705
  "use strict";
20706
20706
  var Header = require_header();
20707
- var path18 = require("path");
20707
+ var path17 = require("path");
20708
20708
  var Pax = class {
20709
20709
  constructor(obj, global2) {
20710
20710
  this.atime = obj.atime || null;
@@ -20739,7 +20739,7 @@ var require_pax = __commonJS({
20739
20739
  // XXX split the path
20740
20740
  // then the path should be PaxHeader + basename, but less than 99,
20741
20741
  // prepend with the dirname
20742
- path: ("PaxHeader/" + path18.basename(this.path)).slice(0, 99),
20742
+ path: ("PaxHeader/" + path17.basename(this.path)).slice(0, 99),
20743
20743
  mode: this.mode || 420,
20744
20744
  uid: this.uid || null,
20745
20745
  gid: this.gid || null,
@@ -20778,8 +20778,8 @@ var require_pax = __commonJS({
20778
20778
  return len + s;
20779
20779
  }
20780
20780
  };
20781
- Pax.parse = (string, ex, g) => new Pax(merge10(parseKV(string), ex), g);
20782
- var merge10 = (a, b) => b ? Object.keys(a).reduce((s, k) => (s[k] = a[k], s), b) : a;
20781
+ Pax.parse = (string, ex, g) => new Pax(merge9(parseKV(string), ex), g);
20782
+ var merge9 = (a, b) => b ? Object.keys(a).reduce((s, k) => (s[k] = a[k], s), b) : a;
20783
20783
  var parseKV = (string) => string.replace(/\n$/, "").split("\n").reduce(parseKVLine, /* @__PURE__ */ Object.create(null));
20784
20784
  var parseKVLine = (set, line) => {
20785
20785
  const n = parseInt(line, 10);
@@ -20872,16 +20872,16 @@ var require_strip_absolute_path = __commonJS({
20872
20872
  "../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/strip-absolute-path.js"(exports, module2) {
20873
20873
  "use strict";
20874
20874
  var { isAbsolute, parse: parse3 } = require("path").win32;
20875
- module2.exports = (path18) => {
20875
+ module2.exports = (path17) => {
20876
20876
  let r = "";
20877
- let parsed = parse3(path18);
20878
- while (isAbsolute(path18) || parsed.root) {
20879
- const root = path18.charAt(0) === "/" && path18.slice(0, 4) !== "//?/" ? "/" : parsed.root;
20880
- path18 = path18.slice(root.length);
20877
+ let parsed = parse3(path17);
20878
+ while (isAbsolute(path17) || parsed.root) {
20879
+ const root = path17.charAt(0) === "/" && path17.slice(0, 4) !== "//?/" ? "/" : parsed.root;
20880
+ path17 = path17.slice(root.length);
20881
20881
  r += root;
20882
- parsed = parse3(path18);
20882
+ parsed = parse3(path17);
20883
20883
  }
20884
- return [r, path18];
20884
+ return [r, path17];
20885
20885
  };
20886
20886
  }
20887
20887
  });
@@ -20919,15 +20919,15 @@ var require_write_entry = __commonJS({
20919
20919
  var Pax = require_pax();
20920
20920
  var Header = require_header();
20921
20921
  var fs11 = require("fs");
20922
- var path18 = require("path");
20922
+ var path17 = require("path");
20923
20923
  var normPath = require_normalize_windows_path();
20924
20924
  var stripSlash = require_strip_trailing_slashes();
20925
- var prefixPath = (path19, prefix) => {
20925
+ var prefixPath = (path18, prefix) => {
20926
20926
  if (!prefix) {
20927
- return normPath(path19);
20927
+ return normPath(path18);
20928
20928
  }
20929
- path19 = normPath(path19).replace(/^\.(\/|$)/, "");
20930
- return stripSlash(prefix) + "/" + path19;
20929
+ path18 = normPath(path18).replace(/^\.(\/|$)/, "");
20930
+ return stripSlash(prefix) + "/" + path18;
20931
20931
  };
20932
20932
  var maxReadSize = 16 * 1024 * 1024;
20933
20933
  var PROCESS = Symbol("process");
@@ -20998,7 +20998,7 @@ var require_write_entry = __commonJS({
20998
20998
  this.path = winchars.decode(this.path.replace(/\\/g, "/"));
20999
20999
  p = p.replace(/\\/g, "/");
21000
21000
  }
21001
- this.absolute = normPath(opt.absolute || path18.resolve(this.cwd, p));
21001
+ this.absolute = normPath(opt.absolute || path17.resolve(this.cwd, p));
21002
21002
  if (this.path === "") {
21003
21003
  this.path = "./";
21004
21004
  }
@@ -21053,8 +21053,8 @@ var require_write_entry = __commonJS({
21053
21053
  [MODE](mode) {
21054
21054
  return modeFix(mode, this.type === "Directory", this.portable);
21055
21055
  }
21056
- [PREFIX](path19) {
21057
- return prefixPath(path19, this.prefix);
21056
+ [PREFIX](path18) {
21057
+ return prefixPath(path18, this.prefix);
21058
21058
  }
21059
21059
  [HEADER]() {
21060
21060
  if (this.type === "Directory" && this.portable) {
@@ -21117,7 +21117,7 @@ var require_write_entry = __commonJS({
21117
21117
  }
21118
21118
  [HARDLINK](linkpath) {
21119
21119
  this.type = "Link";
21120
- this.linkpath = normPath(path18.relative(this.cwd, linkpath));
21120
+ this.linkpath = normPath(path17.relative(this.cwd, linkpath));
21121
21121
  this.stat.size = 0;
21122
21122
  this[HEADER]();
21123
21123
  this.end();
@@ -21348,8 +21348,8 @@ var require_write_entry = __commonJS({
21348
21348
  super.write(this.header.block);
21349
21349
  readEntry.pipe(this);
21350
21350
  }
21351
- [PREFIX](path19) {
21352
- return prefixPath(path19, this.prefix);
21351
+ [PREFIX](path18) {
21352
+ return prefixPath(path18, this.prefix);
21353
21353
  }
21354
21354
  [MODE](mode) {
21355
21355
  return modeFix(mode, this.type === "Directory", this.portable);
@@ -21764,8 +21764,8 @@ var require_pack = __commonJS({
21764
21764
  "../../../../node_modules/.pnpm/tar@6.2.0/node_modules/tar/lib/pack.js"(exports, module2) {
21765
21765
  "use strict";
21766
21766
  var PackJob = class {
21767
- constructor(path19, absolute) {
21768
- this.path = path19 || "./";
21767
+ constructor(path18, absolute) {
21768
+ this.path = path18 || "./";
21769
21769
  this.absolute = absolute;
21770
21770
  this.entry = null;
21771
21771
  this.stat = null;
@@ -21804,7 +21804,7 @@ var require_pack = __commonJS({
21804
21804
  var WRITE = Symbol("write");
21805
21805
  var ONDRAIN = Symbol("ondrain");
21806
21806
  var fs11 = require("fs");
21807
- var path18 = require("path");
21807
+ var path17 = require("path");
21808
21808
  var warner = require_warn_mixin();
21809
21809
  var normPath = require_normalize_windows_path();
21810
21810
  var Pack = warner(class Pack extends Minipass {
@@ -21868,31 +21868,31 @@ var require_pack = __commonJS({
21868
21868
  [WRITE](chunk) {
21869
21869
  return super.write(chunk);
21870
21870
  }
21871
- add(path19) {
21872
- this.write(path19);
21871
+ add(path18) {
21872
+ this.write(path18);
21873
21873
  return this;
21874
21874
  }
21875
- end(path19) {
21876
- if (path19) {
21877
- this.write(path19);
21875
+ end(path18) {
21876
+ if (path18) {
21877
+ this.write(path18);
21878
21878
  }
21879
21879
  this[ENDED] = true;
21880
21880
  this[PROCESS]();
21881
21881
  return this;
21882
21882
  }
21883
- write(path19) {
21883
+ write(path18) {
21884
21884
  if (this[ENDED]) {
21885
21885
  throw new Error("write after end");
21886
21886
  }
21887
- if (path19 instanceof ReadEntry) {
21888
- this[ADDTARENTRY](path19);
21887
+ if (path18 instanceof ReadEntry) {
21888
+ this[ADDTARENTRY](path18);
21889
21889
  } else {
21890
- this[ADDFSENTRY](path19);
21890
+ this[ADDFSENTRY](path18);
21891
21891
  }
21892
21892
  return this.flowing;
21893
21893
  }
21894
21894
  [ADDTARENTRY](p) {
21895
- const absolute = normPath(path18.resolve(this.cwd, p.path));
21895
+ const absolute = normPath(path17.resolve(this.cwd, p.path));
21896
21896
  if (!this.filter(p.path, p)) {
21897
21897
  p.resume();
21898
21898
  } else {
@@ -21905,7 +21905,7 @@ var require_pack = __commonJS({
21905
21905
  this[PROCESS]();
21906
21906
  }
21907
21907
  [ADDFSENTRY](p) {
21908
- const absolute = normPath(path18.resolve(this.cwd, p));
21908
+ const absolute = normPath(path17.resolve(this.cwd, p));
21909
21909
  this[QUEUE].push(new PackJob(p, absolute));
21910
21910
  this[PROCESS]();
21911
21911
  }
@@ -22175,16 +22175,16 @@ var require_fs_minipass = __commonJS({
22175
22175
  var _defaultFlag = Symbol("_defaultFlag");
22176
22176
  var _errored = Symbol("_errored");
22177
22177
  var ReadStream = class extends MiniPass {
22178
- constructor(path18, opt) {
22178
+ constructor(path17, opt) {
22179
22179
  opt = opt || {};
22180
22180
  super(opt);
22181
22181
  this.readable = true;
22182
22182
  this.writable = false;
22183
- if (typeof path18 !== "string")
22183
+ if (typeof path17 !== "string")
22184
22184
  throw new TypeError("path must be a string");
22185
22185
  this[_errored] = false;
22186
22186
  this[_fd] = typeof opt.fd === "number" ? opt.fd : null;
22187
- this[_path] = path18;
22187
+ this[_path] = path17;
22188
22188
  this[_readSize] = opt.readSize || 16 * 1024 * 1024;
22189
22189
  this[_reading] = false;
22190
22190
  this[_size] = typeof opt.size === "number" ? opt.size : Infinity;
@@ -22321,7 +22321,7 @@ var require_fs_minipass = __commonJS({
22321
22321
  }
22322
22322
  };
22323
22323
  var WriteStream = class extends EE {
22324
- constructor(path18, opt) {
22324
+ constructor(path17, opt) {
22325
22325
  opt = opt || {};
22326
22326
  super(opt);
22327
22327
  this.readable = false;
@@ -22331,7 +22331,7 @@ var require_fs_minipass = __commonJS({
22331
22331
  this[_ended] = false;
22332
22332
  this[_needDrain] = false;
22333
22333
  this[_queue] = [];
22334
- this[_path] = path18;
22334
+ this[_path] = path17;
22335
22335
  this[_fd] = typeof opt.fd === "number" ? opt.fd : null;
22336
22336
  this[_mode] = opt.mode === void 0 ? 438 : opt.mode;
22337
22337
  this[_pos] = typeof opt.start === "number" ? opt.start : null;
@@ -22935,7 +22935,7 @@ var require_list = __commonJS({
22935
22935
  var Parser2 = require_parse2();
22936
22936
  var fs11 = require("fs");
22937
22937
  var fsm = require_fs_minipass();
22938
- var path18 = require("path");
22938
+ var path17 = require("path");
22939
22939
  var stripSlash = require_strip_trailing_slashes();
22940
22940
  module2.exports = (opt_, files, cb) => {
22941
22941
  if (typeof opt_ === "function") {
@@ -22977,8 +22977,8 @@ var require_list = __commonJS({
22977
22977
  const map2 = new Map(files.map((f) => [stripSlash(f), true]));
22978
22978
  const filter2 = opt.filter;
22979
22979
  const mapHas = (file, r) => {
22980
- const root = r || path18.parse(file).root || ".";
22981
- const ret = file === root ? false : map2.has(file) ? map2.get(file) : mapHas(path18.dirname(file), root);
22980
+ const root = r || path17.parse(file).root || ".";
22981
+ const ret = file === root ? false : map2.has(file) ? map2.get(file) : mapHas(path17.dirname(file), root);
22982
22982
  map2.set(file, ret);
22983
22983
  return ret;
22984
22984
  };
@@ -23049,7 +23049,7 @@ var require_create = __commonJS({
23049
23049
  var Pack = require_pack();
23050
23050
  var fsm = require_fs_minipass();
23051
23051
  var t = require_list();
23052
- var path18 = require("path");
23052
+ var path17 = require("path");
23053
23053
  module2.exports = (opt_, files, cb) => {
23054
23054
  if (typeof files === "function") {
23055
23055
  cb = files;
@@ -23096,7 +23096,7 @@ var require_create = __commonJS({
23096
23096
  files.forEach((file) => {
23097
23097
  if (file.charAt(0) === "@") {
23098
23098
  t({
23099
- file: path18.resolve(p.cwd, file.slice(1)),
23099
+ file: path17.resolve(p.cwd, file.slice(1)),
23100
23100
  sync: true,
23101
23101
  noResume: true,
23102
23102
  onentry: (entry) => p.add(entry)
@@ -23112,7 +23112,7 @@ var require_create = __commonJS({
23112
23112
  const file = files.shift();
23113
23113
  if (file.charAt(0) === "@") {
23114
23114
  return t({
23115
- file: path18.resolve(p.cwd, file.slice(1)),
23115
+ file: path17.resolve(p.cwd, file.slice(1)),
23116
23116
  noResume: true,
23117
23117
  onentry: (entry) => p.add(entry)
23118
23118
  }).then((_) => addFilesAsync(p, files));
@@ -23144,7 +23144,7 @@ var require_replace = __commonJS({
23144
23144
  var fs11 = require("fs");
23145
23145
  var fsm = require_fs_minipass();
23146
23146
  var t = require_list();
23147
- var path18 = require("path");
23147
+ var path17 = require("path");
23148
23148
  var Header = require_header();
23149
23149
  module2.exports = (opt_, files, cb) => {
23150
23150
  const opt = hlo(opt_);
@@ -23322,7 +23322,7 @@ var require_replace = __commonJS({
23322
23322
  files.forEach((file) => {
23323
23323
  if (file.charAt(0) === "@") {
23324
23324
  t({
23325
- file: path18.resolve(p.cwd, file.slice(1)),
23325
+ file: path17.resolve(p.cwd, file.slice(1)),
23326
23326
  sync: true,
23327
23327
  noResume: true,
23328
23328
  onentry: (entry) => p.add(entry)
@@ -23338,7 +23338,7 @@ var require_replace = __commonJS({
23338
23338
  const file = files.shift();
23339
23339
  if (file.charAt(0) === "@") {
23340
23340
  return t({
23341
- file: path18.resolve(p.cwd, file.slice(1)),
23341
+ file: path17.resolve(p.cwd, file.slice(1)),
23342
23342
  noResume: true,
23343
23343
  onentry: (entry) => p.add(entry)
23344
23344
  }).then((_) => addFilesAsync(p, files));
@@ -23377,7 +23377,7 @@ var require_update = __commonJS({
23377
23377
  if (!opt.mtimeCache) {
23378
23378
  opt.mtimeCache = /* @__PURE__ */ new Map();
23379
23379
  }
23380
- opt.filter = filter2 ? (path18, stat) => filter2(path18, stat) && !(opt.mtimeCache.get(path18) > stat.mtime) : (path18, stat) => !(opt.mtimeCache.get(path18) > stat.mtime);
23380
+ opt.filter = filter2 ? (path17, stat) => filter2(path17, stat) && !(opt.mtimeCache.get(path17) > stat.mtime) : (path17, stat) => !(opt.mtimeCache.get(path17) > stat.mtime);
23381
23381
  };
23382
23382
  }
23383
23383
  });
@@ -23417,28 +23417,28 @@ var require_path_arg = __commonJS({
23417
23417
  "use strict";
23418
23418
  var platform = process.env.__TESTING_MKDIRP_PLATFORM__ || process.platform;
23419
23419
  var { resolve, parse: parse3 } = require("path");
23420
- var pathArg = (path18) => {
23421
- if (/\0/.test(path18)) {
23420
+ var pathArg = (path17) => {
23421
+ if (/\0/.test(path17)) {
23422
23422
  throw Object.assign(
23423
23423
  new TypeError("path must be a string without null bytes"),
23424
23424
  {
23425
- path: path18,
23425
+ path: path17,
23426
23426
  code: "ERR_INVALID_ARG_VALUE"
23427
23427
  }
23428
23428
  );
23429
23429
  }
23430
- path18 = resolve(path18);
23430
+ path17 = resolve(path17);
23431
23431
  if (platform === "win32") {
23432
23432
  const badWinChars = /[*|"<>?:]/;
23433
- const { root } = parse3(path18);
23434
- if (badWinChars.test(path18.substr(root.length))) {
23433
+ const { root } = parse3(path17);
23434
+ if (badWinChars.test(path17.substr(root.length))) {
23435
23435
  throw Object.assign(new Error("Illegal characters in path."), {
23436
- path: path18,
23436
+ path: path17,
23437
23437
  code: "EINVAL"
23438
23438
  });
23439
23439
  }
23440
23440
  }
23441
- return path18;
23441
+ return path17;
23442
23442
  };
23443
23443
  module2.exports = pathArg;
23444
23444
  }
@@ -23449,20 +23449,20 @@ var require_find_made = __commonJS({
23449
23449
  "../../../../node_modules/.pnpm/mkdirp@1.0.4/node_modules/mkdirp/lib/find-made.js"(exports, module2) {
23450
23450
  "use strict";
23451
23451
  var { dirname } = require("path");
23452
- var findMade = (opts, parent, path18 = void 0) => {
23453
- if (path18 === parent)
23452
+ var findMade = (opts, parent, path17 = void 0) => {
23453
+ if (path17 === parent)
23454
23454
  return Promise.resolve();
23455
23455
  return opts.statAsync(parent).then(
23456
- (st) => st.isDirectory() ? path18 : void 0,
23456
+ (st) => st.isDirectory() ? path17 : void 0,
23457
23457
  // will fail later
23458
23458
  (er) => er.code === "ENOENT" ? findMade(opts, dirname(parent), parent) : void 0
23459
23459
  );
23460
23460
  };
23461
- var findMadeSync = (opts, parent, path18 = void 0) => {
23462
- if (path18 === parent)
23461
+ var findMadeSync = (opts, parent, path17 = void 0) => {
23462
+ if (path17 === parent)
23463
23463
  return void 0;
23464
23464
  try {
23465
- return opts.statSync(parent).isDirectory() ? path18 : void 0;
23465
+ return opts.statSync(parent).isDirectory() ? path17 : void 0;
23466
23466
  } catch (er) {
23467
23467
  return er.code === "ENOENT" ? findMadeSync(opts, dirname(parent), parent) : void 0;
23468
23468
  }
@@ -23476,21 +23476,21 @@ var require_mkdirp_manual = __commonJS({
23476
23476
  "../../../../node_modules/.pnpm/mkdirp@1.0.4/node_modules/mkdirp/lib/mkdirp-manual.js"(exports, module2) {
23477
23477
  "use strict";
23478
23478
  var { dirname } = require("path");
23479
- var mkdirpManual = (path18, opts, made) => {
23479
+ var mkdirpManual = (path17, opts, made) => {
23480
23480
  opts.recursive = false;
23481
- const parent = dirname(path18);
23482
- if (parent === path18) {
23483
- return opts.mkdirAsync(path18, opts).catch((er) => {
23481
+ const parent = dirname(path17);
23482
+ if (parent === path17) {
23483
+ return opts.mkdirAsync(path17, opts).catch((er) => {
23484
23484
  if (er.code !== "EISDIR")
23485
23485
  throw er;
23486
23486
  });
23487
23487
  }
23488
- return opts.mkdirAsync(path18, opts).then(() => made || path18, (er) => {
23488
+ return opts.mkdirAsync(path17, opts).then(() => made || path17, (er) => {
23489
23489
  if (er.code === "ENOENT")
23490
- return mkdirpManual(parent, opts).then((made2) => mkdirpManual(path18, opts, made2));
23490
+ return mkdirpManual(parent, opts).then((made2) => mkdirpManual(path17, opts, made2));
23491
23491
  if (er.code !== "EEXIST" && er.code !== "EROFS")
23492
23492
  throw er;
23493
- return opts.statAsync(path18).then((st) => {
23493
+ return opts.statAsync(path17).then((st) => {
23494
23494
  if (st.isDirectory())
23495
23495
  return made;
23496
23496
  else
@@ -23500,12 +23500,12 @@ var require_mkdirp_manual = __commonJS({
23500
23500
  });
23501
23501
  });
23502
23502
  };
23503
- var mkdirpManualSync = (path18, opts, made) => {
23504
- const parent = dirname(path18);
23503
+ var mkdirpManualSync = (path17, opts, made) => {
23504
+ const parent = dirname(path17);
23505
23505
  opts.recursive = false;
23506
- if (parent === path18) {
23506
+ if (parent === path17) {
23507
23507
  try {
23508
- return opts.mkdirSync(path18, opts);
23508
+ return opts.mkdirSync(path17, opts);
23509
23509
  } catch (er) {
23510
23510
  if (er.code !== "EISDIR")
23511
23511
  throw er;
@@ -23514,15 +23514,15 @@ var require_mkdirp_manual = __commonJS({
23514
23514
  }
23515
23515
  }
23516
23516
  try {
23517
- opts.mkdirSync(path18, opts);
23518
- return made || path18;
23517
+ opts.mkdirSync(path17, opts);
23518
+ return made || path17;
23519
23519
  } catch (er) {
23520
23520
  if (er.code === "ENOENT")
23521
- return mkdirpManualSync(path18, opts, mkdirpManualSync(parent, opts, made));
23521
+ return mkdirpManualSync(path17, opts, mkdirpManualSync(parent, opts, made));
23522
23522
  if (er.code !== "EEXIST" && er.code !== "EROFS")
23523
23523
  throw er;
23524
23524
  try {
23525
- if (!opts.statSync(path18).isDirectory())
23525
+ if (!opts.statSync(path17).isDirectory())
23526
23526
  throw er;
23527
23527
  } catch (_) {
23528
23528
  throw er;
@@ -23540,30 +23540,30 @@ var require_mkdirp_native = __commonJS({
23540
23540
  var { dirname } = require("path");
23541
23541
  var { findMade, findMadeSync } = require_find_made();
23542
23542
  var { mkdirpManual, mkdirpManualSync } = require_mkdirp_manual();
23543
- var mkdirpNative = (path18, opts) => {
23543
+ var mkdirpNative = (path17, opts) => {
23544
23544
  opts.recursive = true;
23545
- const parent = dirname(path18);
23546
- if (parent === path18)
23547
- return opts.mkdirAsync(path18, opts);
23548
- return findMade(opts, path18).then((made) => opts.mkdirAsync(path18, opts).then(() => made).catch((er) => {
23545
+ const parent = dirname(path17);
23546
+ if (parent === path17)
23547
+ return opts.mkdirAsync(path17, opts);
23548
+ return findMade(opts, path17).then((made) => opts.mkdirAsync(path17, opts).then(() => made).catch((er) => {
23549
23549
  if (er.code === "ENOENT")
23550
- return mkdirpManual(path18, opts);
23550
+ return mkdirpManual(path17, opts);
23551
23551
  else
23552
23552
  throw er;
23553
23553
  }));
23554
23554
  };
23555
- var mkdirpNativeSync = (path18, opts) => {
23555
+ var mkdirpNativeSync = (path17, opts) => {
23556
23556
  opts.recursive = true;
23557
- const parent = dirname(path18);
23558
- if (parent === path18)
23559
- return opts.mkdirSync(path18, opts);
23560
- const made = findMadeSync(opts, path18);
23557
+ const parent = dirname(path17);
23558
+ if (parent === path17)
23559
+ return opts.mkdirSync(path17, opts);
23560
+ const made = findMadeSync(opts, path17);
23561
23561
  try {
23562
- opts.mkdirSync(path18, opts);
23562
+ opts.mkdirSync(path17, opts);
23563
23563
  return made;
23564
23564
  } catch (er) {
23565
23565
  if (er.code === "ENOENT")
23566
- return mkdirpManualSync(path18, opts);
23566
+ return mkdirpManualSync(path17, opts);
23567
23567
  else
23568
23568
  throw er;
23569
23569
  }
@@ -23595,21 +23595,21 @@ var require_mkdirp = __commonJS({
23595
23595
  var { mkdirpNative, mkdirpNativeSync } = require_mkdirp_native();
23596
23596
  var { mkdirpManual, mkdirpManualSync } = require_mkdirp_manual();
23597
23597
  var { useNative, useNativeSync } = require_use_native();
23598
- var mkdirp = (path18, opts) => {
23599
- path18 = pathArg(path18);
23598
+ var mkdirp = (path17, opts) => {
23599
+ path17 = pathArg(path17);
23600
23600
  opts = optsArg(opts);
23601
- return useNative(opts) ? mkdirpNative(path18, opts) : mkdirpManual(path18, opts);
23601
+ return useNative(opts) ? mkdirpNative(path17, opts) : mkdirpManual(path17, opts);
23602
23602
  };
23603
- var mkdirpSync = (path18, opts) => {
23604
- path18 = pathArg(path18);
23603
+ var mkdirpSync = (path17, opts) => {
23604
+ path17 = pathArg(path17);
23605
23605
  opts = optsArg(opts);
23606
- return useNativeSync(opts) ? mkdirpNativeSync(path18, opts) : mkdirpManualSync(path18, opts);
23606
+ return useNativeSync(opts) ? mkdirpNativeSync(path17, opts) : mkdirpManualSync(path17, opts);
23607
23607
  };
23608
23608
  mkdirp.sync = mkdirpSync;
23609
- mkdirp.native = (path18, opts) => mkdirpNative(pathArg(path18), optsArg(opts));
23610
- mkdirp.manual = (path18, opts) => mkdirpManual(pathArg(path18), optsArg(opts));
23611
- mkdirp.nativeSync = (path18, opts) => mkdirpNativeSync(pathArg(path18), optsArg(opts));
23612
- mkdirp.manualSync = (path18, opts) => mkdirpManualSync(pathArg(path18), optsArg(opts));
23609
+ mkdirp.native = (path17, opts) => mkdirpNative(pathArg(path17), optsArg(opts));
23610
+ mkdirp.manual = (path17, opts) => mkdirpManual(pathArg(path17), optsArg(opts));
23611
+ mkdirp.nativeSync = (path17, opts) => mkdirpNativeSync(pathArg(path17), optsArg(opts));
23612
+ mkdirp.manualSync = (path17, opts) => mkdirpManualSync(pathArg(path17), optsArg(opts));
23613
23613
  module2.exports = mkdirp;
23614
23614
  }
23615
23615
  });
@@ -23619,46 +23619,46 @@ var require_chownr = __commonJS({
23619
23619
  "../../../../node_modules/.pnpm/chownr@2.0.0/node_modules/chownr/chownr.js"(exports, module2) {
23620
23620
  "use strict";
23621
23621
  var fs11 = require("fs");
23622
- var path18 = require("path");
23622
+ var path17 = require("path");
23623
23623
  var LCHOWN = fs11.lchown ? "lchown" : "chown";
23624
23624
  var LCHOWNSYNC = fs11.lchownSync ? "lchownSync" : "chownSync";
23625
23625
  var needEISDIRHandled = fs11.lchown && !process.version.match(/v1[1-9]+\./) && !process.version.match(/v10\.[6-9]/);
23626
- var lchownSync = (path19, uid2, gid) => {
23626
+ var lchownSync = (path18, uid2, gid) => {
23627
23627
  try {
23628
- return fs11[LCHOWNSYNC](path19, uid2, gid);
23628
+ return fs11[LCHOWNSYNC](path18, uid2, gid);
23629
23629
  } catch (er) {
23630
23630
  if (er.code !== "ENOENT")
23631
23631
  throw er;
23632
23632
  }
23633
23633
  };
23634
- var chownSync = (path19, uid2, gid) => {
23634
+ var chownSync = (path18, uid2, gid) => {
23635
23635
  try {
23636
- return fs11.chownSync(path19, uid2, gid);
23636
+ return fs11.chownSync(path18, uid2, gid);
23637
23637
  } catch (er) {
23638
23638
  if (er.code !== "ENOENT")
23639
23639
  throw er;
23640
23640
  }
23641
23641
  };
23642
- var handleEISDIR = needEISDIRHandled ? (path19, uid2, gid, cb) => (er) => {
23642
+ var handleEISDIR = needEISDIRHandled ? (path18, uid2, gid, cb) => (er) => {
23643
23643
  if (!er || er.code !== "EISDIR")
23644
23644
  cb(er);
23645
23645
  else
23646
- fs11.chown(path19, uid2, gid, cb);
23646
+ fs11.chown(path18, uid2, gid, cb);
23647
23647
  } : (_, __, ___, cb) => cb;
23648
- var handleEISDirSync = needEISDIRHandled ? (path19, uid2, gid) => {
23648
+ var handleEISDirSync = needEISDIRHandled ? (path18, uid2, gid) => {
23649
23649
  try {
23650
- return lchownSync(path19, uid2, gid);
23650
+ return lchownSync(path18, uid2, gid);
23651
23651
  } catch (er) {
23652
23652
  if (er.code !== "EISDIR")
23653
23653
  throw er;
23654
- chownSync(path19, uid2, gid);
23654
+ chownSync(path18, uid2, gid);
23655
23655
  }
23656
- } : (path19, uid2, gid) => lchownSync(path19, uid2, gid);
23656
+ } : (path18, uid2, gid) => lchownSync(path18, uid2, gid);
23657
23657
  var nodeVersion = process.version;
23658
- var readdir = (path19, options, cb) => fs11.readdir(path19, options, cb);
23659
- var readdirSync = (path19, options) => fs11.readdirSync(path19, options);
23658
+ var readdir = (path18, options, cb) => fs11.readdir(path18, options, cb);
23659
+ var readdirSync = (path18, options) => fs11.readdirSync(path18, options);
23660
23660
  if (/^v4\./.test(nodeVersion))
23661
- readdir = (path19, options, cb) => fs11.readdir(path19, cb);
23661
+ readdir = (path18, options, cb) => fs11.readdir(path18, cb);
23662
23662
  var chown = (cpath, uid2, gid, cb) => {
23663
23663
  fs11[LCHOWN](cpath, uid2, gid, handleEISDIR(cpath, uid2, gid, (er) => {
23664
23664
  cb(er && er.code !== "ENOENT" ? er : null);
@@ -23666,21 +23666,21 @@ var require_chownr = __commonJS({
23666
23666
  };
23667
23667
  var chownrKid = (p, child, uid2, gid, cb) => {
23668
23668
  if (typeof child === "string")
23669
- return fs11.lstat(path18.resolve(p, child), (er, stats) => {
23669
+ return fs11.lstat(path17.resolve(p, child), (er, stats) => {
23670
23670
  if (er)
23671
23671
  return cb(er.code !== "ENOENT" ? er : null);
23672
23672
  stats.name = child;
23673
23673
  chownrKid(p, stats, uid2, gid, cb);
23674
23674
  });
23675
23675
  if (child.isDirectory()) {
23676
- chownr(path18.resolve(p, child.name), uid2, gid, (er) => {
23676
+ chownr(path17.resolve(p, child.name), uid2, gid, (er) => {
23677
23677
  if (er)
23678
23678
  return cb(er);
23679
- const cpath = path18.resolve(p, child.name);
23679
+ const cpath = path17.resolve(p, child.name);
23680
23680
  chown(cpath, uid2, gid, cb);
23681
23681
  });
23682
23682
  } else {
23683
- const cpath = path18.resolve(p, child.name);
23683
+ const cpath = path17.resolve(p, child.name);
23684
23684
  chown(cpath, uid2, gid, cb);
23685
23685
  }
23686
23686
  };
@@ -23710,7 +23710,7 @@ var require_chownr = __commonJS({
23710
23710
  var chownrKidSync = (p, child, uid2, gid) => {
23711
23711
  if (typeof child === "string") {
23712
23712
  try {
23713
- const stats = fs11.lstatSync(path18.resolve(p, child));
23713
+ const stats = fs11.lstatSync(path17.resolve(p, child));
23714
23714
  stats.name = child;
23715
23715
  child = stats;
23716
23716
  } catch (er) {
@@ -23721,8 +23721,8 @@ var require_chownr = __commonJS({
23721
23721
  }
23722
23722
  }
23723
23723
  if (child.isDirectory())
23724
- chownrSync(path18.resolve(p, child.name), uid2, gid);
23725
- handleEISDirSync(path18.resolve(p, child.name), uid2, gid);
23724
+ chownrSync(path17.resolve(p, child.name), uid2, gid);
23725
+ handleEISDirSync(path17.resolve(p, child.name), uid2, gid);
23726
23726
  };
23727
23727
  var chownrSync = (p, uid2, gid) => {
23728
23728
  let children;
@@ -23751,13 +23751,13 @@ var require_mkdir = __commonJS({
23751
23751
  "use strict";
23752
23752
  var mkdirp = require_mkdirp();
23753
23753
  var fs11 = require("fs");
23754
- var path18 = require("path");
23754
+ var path17 = require("path");
23755
23755
  var chownr = require_chownr();
23756
23756
  var normPath = require_normalize_windows_path();
23757
23757
  var SymlinkError = class extends Error {
23758
- constructor(symlink, path19) {
23758
+ constructor(symlink, path18) {
23759
23759
  super("Cannot extract through symbolic link");
23760
- this.path = path19;
23760
+ this.path = path18;
23761
23761
  this.symlink = symlink;
23762
23762
  }
23763
23763
  get name() {
@@ -23765,9 +23765,9 @@ var require_mkdir = __commonJS({
23765
23765
  }
23766
23766
  };
23767
23767
  var CwdError = class extends Error {
23768
- constructor(path19, code) {
23769
- super(code + ": Cannot cd into '" + path19 + "'");
23770
- this.path = path19;
23768
+ constructor(path18, code) {
23769
+ super(code + ": Cannot cd into '" + path18 + "'");
23770
+ this.path = path18;
23771
23771
  this.code = code;
23772
23772
  }
23773
23773
  get name() {
@@ -23819,7 +23819,7 @@ var require_mkdir = __commonJS({
23819
23819
  if (preserve) {
23820
23820
  return mkdirp(dir, { mode }).then((made) => done(null, made), done);
23821
23821
  }
23822
- const sub = normPath(path18.relative(cwd, dir));
23822
+ const sub = normPath(path17.relative(cwd, dir));
23823
23823
  const parts = sub.split("/");
23824
23824
  mkdir_(cwd, parts, mode, cache, unlink, cwd, null, done);
23825
23825
  };
@@ -23828,7 +23828,7 @@ var require_mkdir = __commonJS({
23828
23828
  return cb(null, created);
23829
23829
  }
23830
23830
  const p = parts.shift();
23831
- const part = normPath(path18.resolve(base + "/" + p));
23831
+ const part = normPath(path17.resolve(base + "/" + p));
23832
23832
  if (cGet(cache, part)) {
23833
23833
  return mkdir_(part, parts, mode, cache, unlink, cwd, created, cb);
23834
23834
  }
@@ -23904,11 +23904,11 @@ var require_mkdir = __commonJS({
23904
23904
  if (preserve) {
23905
23905
  return done(mkdirp.sync(dir, mode));
23906
23906
  }
23907
- const sub = normPath(path18.relative(cwd, dir));
23907
+ const sub = normPath(path17.relative(cwd, dir));
23908
23908
  const parts = sub.split("/");
23909
23909
  let created = null;
23910
23910
  for (let p = parts.shift(), part = cwd; p && (part += "/" + p); p = parts.shift()) {
23911
- part = normPath(path18.resolve(part));
23911
+ part = normPath(path17.resolve(part));
23912
23912
  if (cGet(cache, part)) {
23913
23913
  continue;
23914
23914
  }
@@ -23965,12 +23965,12 @@ var require_path_reservations = __commonJS({
23965
23965
  module2.exports = () => {
23966
23966
  const queues = /* @__PURE__ */ new Map();
23967
23967
  const reservations = /* @__PURE__ */ new Map();
23968
- const getDirs = (path18) => {
23969
- const dirs = path18.split("/").slice(0, -1).reduce((set, path19) => {
23968
+ const getDirs = (path17) => {
23969
+ const dirs = path17.split("/").slice(0, -1).reduce((set, path18) => {
23970
23970
  if (set.length) {
23971
- path19 = join(set[set.length - 1], path19);
23971
+ path18 = join(set[set.length - 1], path18);
23972
23972
  }
23973
- set.push(path19 || "/");
23973
+ set.push(path18 || "/");
23974
23974
  return set;
23975
23975
  }, []);
23976
23976
  return dirs;
@@ -23982,8 +23982,8 @@ var require_path_reservations = __commonJS({
23982
23982
  throw new Error("function does not have any path reservations");
23983
23983
  }
23984
23984
  return {
23985
- paths: res.paths.map((path18) => queues.get(path18)),
23986
- dirs: [...res.dirs].map((path18) => queues.get(path18))
23985
+ paths: res.paths.map((path17) => queues.get(path17)),
23986
+ dirs: [...res.dirs].map((path17) => queues.get(path17))
23987
23987
  };
23988
23988
  };
23989
23989
  const check = (fn) => {
@@ -24004,11 +24004,11 @@ var require_path_reservations = __commonJS({
24004
24004
  }
24005
24005
  const { paths, dirs } = reservations.get(fn);
24006
24006
  const next = /* @__PURE__ */ new Set();
24007
- paths.forEach((path18) => {
24008
- const q = queues.get(path18);
24007
+ paths.forEach((path17) => {
24008
+ const q = queues.get(path17);
24009
24009
  assert.equal(q[0], fn);
24010
24010
  if (q.length === 1) {
24011
- queues.delete(path18);
24011
+ queues.delete(path17);
24012
24012
  } else {
24013
24013
  q.shift();
24014
24014
  if (typeof q[0] === "function") {
@@ -24039,13 +24039,13 @@ var require_path_reservations = __commonJS({
24039
24039
  return stripSlashes(join(normalize(p))).toLowerCase();
24040
24040
  });
24041
24041
  const dirs = new Set(
24042
- paths.map((path18) => getDirs(path18)).reduce((a, b) => a.concat(b))
24042
+ paths.map((path17) => getDirs(path17)).reduce((a, b) => a.concat(b))
24043
24043
  );
24044
24044
  reservations.set(fn, { dirs, paths });
24045
- paths.forEach((path18) => {
24046
- const q = queues.get(path18);
24045
+ paths.forEach((path17) => {
24046
+ const q = queues.get(path17);
24047
24047
  if (!q) {
24048
- queues.set(path18, [fn]);
24048
+ queues.set(path17, [fn]);
24049
24049
  } else {
24050
24050
  q.push(fn);
24051
24051
  }
@@ -24090,7 +24090,7 @@ var require_unpack = __commonJS({
24090
24090
  var Parser2 = require_parse2();
24091
24091
  var fs11 = require("fs");
24092
24092
  var fsm = require_fs_minipass();
24093
- var path18 = require("path");
24093
+ var path17 = require("path");
24094
24094
  var mkdir = require_mkdir();
24095
24095
  var wc = require_winchars();
24096
24096
  var pathReservations = require_path_reservations();
@@ -24127,34 +24127,34 @@ var require_unpack = __commonJS({
24127
24127
  var getFlag = require_get_write_flag();
24128
24128
  var platform = process.env.TESTING_TAR_FAKE_PLATFORM || process.platform;
24129
24129
  var isWindows = platform === "win32";
24130
- var unlinkFile = (path19, cb) => {
24130
+ var unlinkFile = (path18, cb) => {
24131
24131
  if (!isWindows) {
24132
- return fs11.unlink(path19, cb);
24132
+ return fs11.unlink(path18, cb);
24133
24133
  }
24134
- const name = path19 + ".DELETE." + crypto.randomBytes(16).toString("hex");
24135
- fs11.rename(path19, name, (er) => {
24134
+ const name = path18 + ".DELETE." + crypto.randomBytes(16).toString("hex");
24135
+ fs11.rename(path18, name, (er) => {
24136
24136
  if (er) {
24137
24137
  return cb(er);
24138
24138
  }
24139
24139
  fs11.unlink(name, cb);
24140
24140
  });
24141
24141
  };
24142
- var unlinkFileSync = (path19) => {
24142
+ var unlinkFileSync = (path18) => {
24143
24143
  if (!isWindows) {
24144
- return fs11.unlinkSync(path19);
24144
+ return fs11.unlinkSync(path18);
24145
24145
  }
24146
- const name = path19 + ".DELETE." + crypto.randomBytes(16).toString("hex");
24147
- fs11.renameSync(path19, name);
24146
+ const name = path18 + ".DELETE." + crypto.randomBytes(16).toString("hex");
24147
+ fs11.renameSync(path18, name);
24148
24148
  fs11.unlinkSync(name);
24149
24149
  };
24150
24150
  var uint32 = (a, b, c) => a === a >>> 0 ? a : b === b >>> 0 ? b : c;
24151
- var cacheKeyNormalize = (path19) => stripSlash(normPath(normalize(path19))).toLowerCase();
24151
+ var cacheKeyNormalize = (path18) => stripSlash(normPath(normalize(path18))).toLowerCase();
24152
24152
  var pruneCache = (cache, abs) => {
24153
24153
  abs = cacheKeyNormalize(abs);
24154
- for (const path19 of cache.keys()) {
24155
- const pnorm = cacheKeyNormalize(path19);
24154
+ for (const path18 of cache.keys()) {
24155
+ const pnorm = cacheKeyNormalize(path18);
24156
24156
  if (pnorm === abs || pnorm.indexOf(abs + "/") === 0) {
24157
- cache.delete(path19);
24157
+ cache.delete(path18);
24158
24158
  }
24159
24159
  }
24160
24160
  };
@@ -24212,7 +24212,7 @@ var require_unpack = __commonJS({
24212
24212
  this.noMtime = !!opt.noMtime;
24213
24213
  this.preservePaths = !!opt.preservePaths;
24214
24214
  this.unlink = !!opt.unlink;
24215
- this.cwd = normPath(path18.resolve(opt.cwd || process.cwd()));
24215
+ this.cwd = normPath(path17.resolve(opt.cwd || process.cwd()));
24216
24216
  this.strip = +opt.strip || 0;
24217
24217
  this.processUmask = opt.noChmod ? 0 : process.umask();
24218
24218
  this.umask = typeof opt.umask === "number" ? opt.umask : this.processUmask;
@@ -24271,10 +24271,10 @@ var require_unpack = __commonJS({
24271
24271
  });
24272
24272
  }
24273
24273
  }
24274
- if (path18.isAbsolute(entry.path)) {
24275
- entry.absolute = normPath(path18.resolve(entry.path));
24274
+ if (path17.isAbsolute(entry.path)) {
24275
+ entry.absolute = normPath(path17.resolve(entry.path));
24276
24276
  } else {
24277
- entry.absolute = normPath(path18.resolve(this.cwd, entry.path));
24277
+ entry.absolute = normPath(path17.resolve(this.cwd, entry.path));
24278
24278
  }
24279
24279
  if (!this.preservePaths && entry.absolute.indexOf(this.cwd + "/") !== 0 && entry.absolute !== this.cwd) {
24280
24280
  this.warn("TAR_ENTRY_ERROR", "path escaped extraction target", {
@@ -24289,9 +24289,9 @@ var require_unpack = __commonJS({
24289
24289
  return false;
24290
24290
  }
24291
24291
  if (this.win32) {
24292
- const { root: aRoot } = path18.win32.parse(entry.absolute);
24292
+ const { root: aRoot } = path17.win32.parse(entry.absolute);
24293
24293
  entry.absolute = aRoot + wc.encode(entry.absolute.slice(aRoot.length));
24294
- const { root: pRoot } = path18.win32.parse(entry.path);
24294
+ const { root: pRoot } = path17.win32.parse(entry.path);
24295
24295
  entry.path = pRoot + wc.encode(entry.path.slice(pRoot.length));
24296
24296
  }
24297
24297
  return true;
@@ -24458,7 +24458,7 @@ var require_unpack = __commonJS({
24458
24458
  this[LINK](entry, entry.linkpath, "symlink", done);
24459
24459
  }
24460
24460
  [HARDLINK](entry, done) {
24461
- const linkpath = normPath(path18.resolve(this.cwd, entry.linkpath));
24461
+ const linkpath = normPath(path17.resolve(this.cwd, entry.linkpath));
24462
24462
  this[LINK](entry, linkpath, "link", done);
24463
24463
  }
24464
24464
  [PEND]() {
@@ -24513,7 +24513,7 @@ var require_unpack = __commonJS({
24513
24513
  };
24514
24514
  const start = () => {
24515
24515
  if (entry.absolute !== this.cwd) {
24516
- const parent = normPath(path18.dirname(entry.absolute));
24516
+ const parent = normPath(path17.dirname(entry.absolute));
24517
24517
  if (parent !== this.cwd) {
24518
24518
  return this[MKDIR](parent, this.dmode, (er) => {
24519
24519
  if (er) {
@@ -24616,7 +24616,7 @@ var require_unpack = __commonJS({
24616
24616
  this[CHECKED_CWD] = true;
24617
24617
  }
24618
24618
  if (entry.absolute !== this.cwd) {
24619
- const parent = normPath(path18.dirname(entry.absolute));
24619
+ const parent = normPath(path17.dirname(entry.absolute));
24620
24620
  if (parent !== this.cwd) {
24621
24621
  const mkParent = this[MKDIR](parent, this.dmode);
24622
24622
  if (mkParent) {
@@ -24772,7 +24772,7 @@ var require_extract = __commonJS({
24772
24772
  var Unpack = require_unpack();
24773
24773
  var fs11 = require("fs");
24774
24774
  var fsm = require_fs_minipass();
24775
- var path18 = require("path");
24775
+ var path17 = require("path");
24776
24776
  var stripSlash = require_strip_trailing_slashes();
24777
24777
  module2.exports = (opt_, files, cb) => {
24778
24778
  if (typeof opt_ === "function") {
@@ -24804,8 +24804,8 @@ var require_extract = __commonJS({
24804
24804
  const map2 = new Map(files.map((f) => [stripSlash(f), true]));
24805
24805
  const filter2 = opt.filter;
24806
24806
  const mapHas = (file, r) => {
24807
- const root = r || path18.parse(file).root || ".";
24808
- const ret = file === root ? false : map2.has(file) ? map2.get(file) : mapHas(path18.dirname(file), root);
24807
+ const root = r || path17.parse(file).root || ".";
24808
+ const ret = file === root ? false : map2.has(file) ? map2.get(file) : mapHas(path17.dirname(file), root);
24809
24809
  map2.set(file, ret);
24810
24810
  return ret;
24811
24811
  };
@@ -26039,13 +26039,13 @@ var require_ast = __commonJS({
26039
26039
  helperExpression: function helperExpression(node) {
26040
26040
  return node.type === "SubExpression" || (node.type === "MustacheStatement" || node.type === "BlockStatement") && !!(node.params && node.params.length || node.hash);
26041
26041
  },
26042
- scopedId: function scopedId(path18) {
26043
- return /^\.|this\b/.test(path18.original);
26042
+ scopedId: function scopedId(path17) {
26043
+ return /^\.|this\b/.test(path17.original);
26044
26044
  },
26045
26045
  // an ID is simple if it only has one part, and that part is not
26046
26046
  // `..` or `this`.
26047
- simpleId: function simpleId(path18) {
26048
- return path18.parts.length === 1 && !AST.helpers.scopedId(path18) && !path18.depth;
26047
+ simpleId: function simpleId(path17) {
26048
+ return path17.parts.length === 1 && !AST.helpers.scopedId(path17) && !path17.depth;
26049
26049
  }
26050
26050
  }
26051
26051
  };
@@ -27129,12 +27129,12 @@ var require_helpers2 = __commonJS({
27129
27129
  loc
27130
27130
  };
27131
27131
  }
27132
- function prepareMustache(path18, params, hash, open, strip, locInfo) {
27132
+ function prepareMustache(path17, params, hash, open, strip, locInfo) {
27133
27133
  var escapeFlag = open.charAt(3) || open.charAt(2), escaped = escapeFlag !== "{" && escapeFlag !== "&";
27134
27134
  var decorator = /\*/.test(open);
27135
27135
  return {
27136
27136
  type: decorator ? "Decorator" : "MustacheStatement",
27137
- path: path18,
27137
+ path: path17,
27138
27138
  params,
27139
27139
  hash,
27140
27140
  escaped,
@@ -27405,9 +27405,9 @@ var require_compiler = __commonJS({
27405
27405
  },
27406
27406
  DecoratorBlock: function DecoratorBlock(decorator) {
27407
27407
  var program = decorator.program && this.compileProgram(decorator.program);
27408
- var params = this.setupFullMustacheParams(decorator, program, void 0), path18 = decorator.path;
27408
+ var params = this.setupFullMustacheParams(decorator, program, void 0), path17 = decorator.path;
27409
27409
  this.useDecorators = true;
27410
- this.opcode("registerDecorator", params.length, path18.original);
27410
+ this.opcode("registerDecorator", params.length, path17.original);
27411
27411
  },
27412
27412
  PartialStatement: function PartialStatement(partial) {
27413
27413
  this.usePartial = true;
@@ -27471,46 +27471,46 @@ var require_compiler = __commonJS({
27471
27471
  }
27472
27472
  },
27473
27473
  ambiguousSexpr: function ambiguousSexpr(sexpr, program, inverse) {
27474
- var path18 = sexpr.path, name = path18.parts[0], isBlock = program != null || inverse != null;
27475
- this.opcode("getContext", path18.depth);
27474
+ var path17 = sexpr.path, name = path17.parts[0], isBlock = program != null || inverse != null;
27475
+ this.opcode("getContext", path17.depth);
27476
27476
  this.opcode("pushProgram", program);
27477
27477
  this.opcode("pushProgram", inverse);
27478
- path18.strict = true;
27479
- this.accept(path18);
27478
+ path17.strict = true;
27479
+ this.accept(path17);
27480
27480
  this.opcode("invokeAmbiguous", name, isBlock);
27481
27481
  },
27482
27482
  simpleSexpr: function simpleSexpr(sexpr) {
27483
- var path18 = sexpr.path;
27484
- path18.strict = true;
27485
- this.accept(path18);
27483
+ var path17 = sexpr.path;
27484
+ path17.strict = true;
27485
+ this.accept(path17);
27486
27486
  this.opcode("resolvePossibleLambda");
27487
27487
  },
27488
27488
  helperSexpr: function helperSexpr(sexpr, program, inverse) {
27489
- var params = this.setupFullMustacheParams(sexpr, program, inverse), path18 = sexpr.path, name = path18.parts[0];
27489
+ var params = this.setupFullMustacheParams(sexpr, program, inverse), path17 = sexpr.path, name = path17.parts[0];
27490
27490
  if (this.options.knownHelpers[name]) {
27491
27491
  this.opcode("invokeKnownHelper", params.length, name);
27492
27492
  } else if (this.options.knownHelpersOnly) {
27493
27493
  throw new _exception2["default"]("You specified knownHelpersOnly, but used the unknown helper " + name, sexpr);
27494
27494
  } else {
27495
- path18.strict = true;
27496
- path18.falsy = true;
27497
- this.accept(path18);
27498
- this.opcode("invokeHelper", params.length, path18.original, _ast2["default"].helpers.simpleId(path18));
27495
+ path17.strict = true;
27496
+ path17.falsy = true;
27497
+ this.accept(path17);
27498
+ this.opcode("invokeHelper", params.length, path17.original, _ast2["default"].helpers.simpleId(path17));
27499
27499
  }
27500
27500
  },
27501
- PathExpression: function PathExpression(path18) {
27502
- this.addDepth(path18.depth);
27503
- this.opcode("getContext", path18.depth);
27504
- var name = path18.parts[0], scoped = _ast2["default"].helpers.scopedId(path18), blockParamId = !path18.depth && !scoped && this.blockParamIndex(name);
27501
+ PathExpression: function PathExpression(path17) {
27502
+ this.addDepth(path17.depth);
27503
+ this.opcode("getContext", path17.depth);
27504
+ var name = path17.parts[0], scoped = _ast2["default"].helpers.scopedId(path17), blockParamId = !path17.depth && !scoped && this.blockParamIndex(name);
27505
27505
  if (blockParamId) {
27506
- this.opcode("lookupBlockParam", blockParamId, path18.parts);
27506
+ this.opcode("lookupBlockParam", blockParamId, path17.parts);
27507
27507
  } else if (!name) {
27508
27508
  this.opcode("pushContext");
27509
- } else if (path18.data) {
27509
+ } else if (path17.data) {
27510
27510
  this.options.data = true;
27511
- this.opcode("lookupData", path18.depth, path18.parts, path18.strict);
27511
+ this.opcode("lookupData", path17.depth, path17.parts, path17.strict);
27512
27512
  } else {
27513
- this.opcode("lookupOnContext", path18.parts, path18.falsy, path18.strict, scoped);
27513
+ this.opcode("lookupOnContext", path17.parts, path17.falsy, path17.strict, scoped);
27514
27514
  }
27515
27515
  },
27516
27516
  StringLiteral: function StringLiteral(string) {
@@ -27864,16 +27864,16 @@ var require_util2 = __commonJS({
27864
27864
  }
27865
27865
  exports.urlGenerate = urlGenerate;
27866
27866
  function normalize(aPath) {
27867
- var path18 = aPath;
27867
+ var path17 = aPath;
27868
27868
  var url2 = urlParse(aPath);
27869
27869
  if (url2) {
27870
27870
  if (!url2.path) {
27871
27871
  return aPath;
27872
27872
  }
27873
- path18 = url2.path;
27873
+ path17 = url2.path;
27874
27874
  }
27875
- var isAbsolute = exports.isAbsolute(path18);
27876
- var parts = path18.split(/\/+/);
27875
+ var isAbsolute = exports.isAbsolute(path17);
27876
+ var parts = path17.split(/\/+/);
27877
27877
  for (var part, up = 0, i = parts.length - 1; i >= 0; i--) {
27878
27878
  part = parts[i];
27879
27879
  if (part === ".") {
@@ -27890,15 +27890,15 @@ var require_util2 = __commonJS({
27890
27890
  }
27891
27891
  }
27892
27892
  }
27893
- path18 = parts.join("/");
27894
- if (path18 === "") {
27895
- path18 = isAbsolute ? "/" : ".";
27893
+ path17 = parts.join("/");
27894
+ if (path17 === "") {
27895
+ path17 = isAbsolute ? "/" : ".";
27896
27896
  }
27897
27897
  if (url2) {
27898
- url2.path = path18;
27898
+ url2.path = path17;
27899
27899
  return urlGenerate(url2);
27900
27900
  }
27901
- return path18;
27901
+ return path17;
27902
27902
  }
27903
27903
  exports.normalize = normalize;
27904
27904
  function join(aRoot, aPath) {
@@ -29543,7 +29543,7 @@ var require_code_gen = __commonJS({
29543
29543
  push: function push(source, loc) {
29544
29544
  this.source.push(this.wrap(source, loc));
29545
29545
  },
29546
- merge: function merge10() {
29546
+ merge: function merge9() {
29547
29547
  var source = this.empty();
29548
29548
  this.each(function(line) {
29549
29549
  source.add([" ", line, "\n"]);
@@ -30688,8 +30688,8 @@ var require_printer = __commonJS({
30688
30688
  return this.accept(sexpr.path) + " " + params + hash;
30689
30689
  };
30690
30690
  PrintVisitor.prototype.PathExpression = function(id) {
30691
- var path18 = id.parts.join("/");
30692
- return (id.data ? "@" : "") + "PATH:" + path18;
30691
+ var path17 = id.parts.join("/");
30692
+ return (id.data ? "@" : "") + "PATH:" + path17;
30693
30693
  };
30694
30694
  PrintVisitor.prototype.StringLiteral = function(string) {
30695
30695
  return '"' + string.value + '"';
@@ -30918,7 +30918,7 @@ var require_ejs = __commonJS({
30918
30918
  "../../../../node_modules/.pnpm/ejs@3.1.9/node_modules/ejs/lib/ejs.js"(exports) {
30919
30919
  "use strict";
30920
30920
  var fs11 = require("fs");
30921
- var path18 = require("path");
30921
+ var path17 = require("path");
30922
30922
  var utils = require_utils2();
30923
30923
  var scopeOptionWarned = false;
30924
30924
  var _VERSION_STRING = require_package().version;
@@ -30949,9 +30949,9 @@ var require_ejs = __commonJS({
30949
30949
  exports.localsName = _DEFAULT_LOCALS_NAME;
30950
30950
  exports.promiseImpl = new Function("return this;")().Promise;
30951
30951
  exports.resolveInclude = function(name, filename, isDir) {
30952
- var dirname = path18.dirname;
30953
- var extname = path18.extname;
30954
- var resolve = path18.resolve;
30952
+ var dirname = path17.dirname;
30953
+ var extname = path17.extname;
30954
+ var resolve = path17.resolve;
30955
30955
  var includePath = resolve(isDir ? filename : dirname(filename), name);
30956
30956
  var ext = extname(name);
30957
30957
  if (!ext) {
@@ -30968,30 +30968,30 @@ var require_ejs = __commonJS({
30968
30968
  return filePath;
30969
30969
  }
30970
30970
  }
30971
- function getIncludePath(path19, options) {
30971
+ function getIncludePath(path18, options) {
30972
30972
  var includePath;
30973
30973
  var filePath;
30974
30974
  var views = options.views;
30975
- var match = /^[A-Za-z]+:\\|^\//.exec(path19);
30975
+ var match = /^[A-Za-z]+:\\|^\//.exec(path18);
30976
30976
  if (match && match.length) {
30977
- path19 = path19.replace(/^\/*/, "");
30977
+ path18 = path18.replace(/^\/*/, "");
30978
30978
  if (Array.isArray(options.root)) {
30979
- includePath = resolvePaths(path19, options.root);
30979
+ includePath = resolvePaths(path18, options.root);
30980
30980
  } else {
30981
- includePath = exports.resolveInclude(path19, options.root || "/", true);
30981
+ includePath = exports.resolveInclude(path18, options.root || "/", true);
30982
30982
  }
30983
30983
  } else {
30984
30984
  if (options.filename) {
30985
- filePath = exports.resolveInclude(path19, options.filename);
30985
+ filePath = exports.resolveInclude(path18, options.filename);
30986
30986
  if (fs11.existsSync(filePath)) {
30987
30987
  includePath = filePath;
30988
30988
  }
30989
30989
  }
30990
30990
  if (!includePath && Array.isArray(views)) {
30991
- includePath = resolvePaths(path19, views);
30991
+ includePath = resolvePaths(path18, views);
30992
30992
  }
30993
30993
  if (!includePath && typeof options.includer !== "function") {
30994
- throw new Error('Could not find the include file "' + options.escapeFunction(path19) + '"');
30994
+ throw new Error('Could not find the include file "' + options.escapeFunction(path18) + '"');
30995
30995
  }
30996
30996
  }
30997
30997
  return includePath;
@@ -31050,11 +31050,11 @@ var require_ejs = __commonJS({
31050
31050
  function fileLoader(filePath) {
31051
31051
  return exports.fileLoader(filePath);
31052
31052
  }
31053
- function includeFile(path19, options) {
31053
+ function includeFile(path18, options) {
31054
31054
  var opts = utils.shallowCopy(utils.createNullProtoObjWherePossible(), options);
31055
- opts.filename = getIncludePath(path19, opts);
31055
+ opts.filename = getIncludePath(path18, opts);
31056
31056
  if (typeof options.includer === "function") {
31057
- var includerResult = options.includer(path19, opts.filename);
31057
+ var includerResult = options.includer(path18, opts.filename);
31058
31058
  if (includerResult) {
31059
31059
  if (includerResult.filename) {
31060
31060
  opts.filename = includerResult.filename;
@@ -31289,12 +31289,12 @@ var require_ejs = __commonJS({
31289
31289
  throw e;
31290
31290
  }
31291
31291
  var returnedFn = opts.client ? fn : function anonymous(data) {
31292
- var include = function(path19, includeData) {
31292
+ var include = function(path18, includeData) {
31293
31293
  var d = utils.shallowCopy(utils.createNullProtoObjWherePossible(), data);
31294
31294
  if (includeData) {
31295
31295
  d = utils.shallowCopy(d, includeData);
31296
31296
  }
31297
- return includeFile(path19, opts)(d);
31297
+ return includeFile(path18, opts)(d);
31298
31298
  };
31299
31299
  return fn.apply(
31300
31300
  opts.context,
@@ -31303,7 +31303,7 @@ var require_ejs = __commonJS({
31303
31303
  };
31304
31304
  if (opts.filename && typeof Object.defineProperty === "function") {
31305
31305
  var filename = opts.filename;
31306
- var basename = path18.basename(filename, path18.extname(filename));
31306
+ var basename = path17.basename(filename, path17.extname(filename));
31307
31307
  try {
31308
31308
  Object.defineProperty(returnedFn, "name", {
31309
31309
  value: basename,
@@ -34283,11 +34283,11 @@ var require_baseGet = __commonJS({
34283
34283
  "use strict";
34284
34284
  var castPath = require_castPath();
34285
34285
  var toKey = require_toKey();
34286
- function baseGet(object, path18) {
34287
- path18 = castPath(path18, object);
34288
- var index = 0, length = path18.length;
34286
+ function baseGet(object, path17) {
34287
+ path17 = castPath(path17, object);
34288
+ var index = 0, length = path17.length;
34289
34289
  while (object != null && index < length) {
34290
- object = object[toKey(path18[index++])];
34290
+ object = object[toKey(path17[index++])];
34291
34291
  }
34292
34292
  return index && index == length ? object : void 0;
34293
34293
  }
@@ -34300,8 +34300,8 @@ var require_get = __commonJS({
34300
34300
  "../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/get.js"(exports, module2) {
34301
34301
  "use strict";
34302
34302
  var baseGet = require_baseGet();
34303
- function get4(object, path18, defaultValue) {
34304
- var result = object == null ? void 0 : baseGet(object, path18);
34303
+ function get4(object, path17, defaultValue) {
34304
+ var result = object == null ? void 0 : baseGet(object, path17);
34305
34305
  return result === void 0 ? defaultValue : result;
34306
34306
  }
34307
34307
  module2.exports = get4;
@@ -34388,14 +34388,14 @@ var require_baseSet = __commonJS({
34388
34388
  var isIndex = require_isIndex();
34389
34389
  var isObject5 = require_isObject();
34390
34390
  var toKey = require_toKey();
34391
- function baseSet(object, path18, value, customizer) {
34391
+ function baseSet(object, path17, value, customizer) {
34392
34392
  if (!isObject5(object)) {
34393
34393
  return object;
34394
34394
  }
34395
- path18 = castPath(path18, object);
34396
- var index = -1, length = path18.length, lastIndex = length - 1, nested = object;
34395
+ path17 = castPath(path17, object);
34396
+ var index = -1, length = path17.length, lastIndex = length - 1, nested = object;
34397
34397
  while (nested != null && ++index < length) {
34398
- var key = toKey(path18[index]), newValue = value;
34398
+ var key = toKey(path17[index]), newValue = value;
34399
34399
  if (key === "__proto__" || key === "constructor" || key === "prototype") {
34400
34400
  return object;
34401
34401
  }
@@ -34403,7 +34403,7 @@ var require_baseSet = __commonJS({
34403
34403
  var objValue = nested[key];
34404
34404
  newValue = customizer ? customizer(objValue, key, nested) : void 0;
34405
34405
  if (newValue === void 0) {
34406
- newValue = isObject5(objValue) ? objValue : isIndex(path18[index + 1]) ? [] : {};
34406
+ newValue = isObject5(objValue) ? objValue : isIndex(path17[index + 1]) ? [] : {};
34407
34407
  }
34408
34408
  }
34409
34409
  assignValue(nested, key, newValue);
@@ -34420,8 +34420,8 @@ var require_set = __commonJS({
34420
34420
  "../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/set.js"(exports, module2) {
34421
34421
  "use strict";
34422
34422
  var baseSet = require_baseSet();
34423
- function set(object, path18, value) {
34424
- return object == null ? object : baseSet(object, path18, value);
34423
+ function set(object, path17, value) {
34424
+ return object == null ? object : baseSet(object, path17, value);
34425
34425
  }
34426
34426
  module2.exports = set;
34427
34427
  }
@@ -39239,7 +39239,7 @@ var require_merge = __commonJS({
39239
39239
  var empty_1 = require_empty();
39240
39240
  var args_1 = require_args();
39241
39241
  var from_1 = require_from();
39242
- function merge10() {
39242
+ function merge9() {
39243
39243
  var args = [];
39244
39244
  for (var _i = 0; _i < arguments.length; _i++) {
39245
39245
  args[_i] = arguments[_i];
@@ -39249,7 +39249,7 @@ var require_merge = __commonJS({
39249
39249
  var sources = args;
39250
39250
  return !sources.length ? empty_1.EMPTY : sources.length === 1 ? innerFrom_1.innerFrom(sources[0]) : mergeAll_1.mergeAll(concurrent)(from_1.from(sources, scheduler));
39251
39251
  }
39252
- exports.merge = merge10;
39252
+ exports.merge = merge9;
39253
39253
  }
39254
39254
  });
39255
39255
 
@@ -41420,7 +41420,7 @@ var require_merge2 = __commonJS({
41420
41420
  var mergeAll_1 = require_mergeAll();
41421
41421
  var args_1 = require_args();
41422
41422
  var from_1 = require_from();
41423
- function merge10() {
41423
+ function merge9() {
41424
41424
  var args = [];
41425
41425
  for (var _i = 0; _i < arguments.length; _i++) {
41426
41426
  args[_i] = arguments[_i];
@@ -41432,7 +41432,7 @@ var require_merge2 = __commonJS({
41432
41432
  mergeAll_1.mergeAll(concurrent)(from_1.from(__spreadArray8([source], __read9(args)), scheduler)).subscribe(subscriber);
41433
41433
  });
41434
41434
  }
41435
- exports.merge = merge10;
41435
+ exports.merge = merge9;
41436
41436
  }
41437
41437
  });
41438
41438
 
@@ -47042,11 +47042,11 @@ var require_hasPath = __commonJS({
47042
47042
  var isIndex = require_isIndex();
47043
47043
  var isLength = require_isLength();
47044
47044
  var toKey = require_toKey();
47045
- function hasPath(object, path18, hasFunc) {
47046
- path18 = castPath(path18, object);
47047
- var index = -1, length = path18.length, result = false;
47045
+ function hasPath(object, path17, hasFunc) {
47046
+ path17 = castPath(path17, object);
47047
+ var index = -1, length = path17.length, result = false;
47048
47048
  while (++index < length) {
47049
- var key = toKey(path18[index]);
47049
+ var key = toKey(path17[index]);
47050
47050
  if (!(result = object != null && hasFunc(object, key))) {
47051
47051
  break;
47052
47052
  }
@@ -47068,8 +47068,8 @@ var require_hasIn = __commonJS({
47068
47068
  "use strict";
47069
47069
  var baseHasIn = require_baseHasIn();
47070
47070
  var hasPath = require_hasPath();
47071
- function hasIn(object, path18) {
47072
- return object != null && hasPath(object, path18, baseHasIn);
47071
+ function hasIn(object, path17) {
47072
+ return object != null && hasPath(object, path17, baseHasIn);
47073
47073
  }
47074
47074
  module2.exports = hasIn;
47075
47075
  }
@@ -47088,13 +47088,13 @@ var require_baseMatchesProperty = __commonJS({
47088
47088
  var toKey = require_toKey();
47089
47089
  var COMPARE_PARTIAL_FLAG = 1;
47090
47090
  var COMPARE_UNORDERED_FLAG = 2;
47091
- function baseMatchesProperty(path18, srcValue) {
47092
- if (isKey(path18) && isStrictComparable(srcValue)) {
47093
- return matchesStrictComparable(toKey(path18), srcValue);
47091
+ function baseMatchesProperty(path17, srcValue) {
47092
+ if (isKey(path17) && isStrictComparable(srcValue)) {
47093
+ return matchesStrictComparable(toKey(path17), srcValue);
47094
47094
  }
47095
47095
  return function(object) {
47096
- var objValue = get4(object, path18);
47097
- return objValue === void 0 && objValue === srcValue ? hasIn(object, path18) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
47096
+ var objValue = get4(object, path17);
47097
+ return objValue === void 0 && objValue === srcValue ? hasIn(object, path17) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
47098
47098
  };
47099
47099
  }
47100
47100
  module2.exports = baseMatchesProperty;
@@ -47119,9 +47119,9 @@ var require_basePropertyDeep = __commonJS({
47119
47119
  "../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_basePropertyDeep.js"(exports, module2) {
47120
47120
  "use strict";
47121
47121
  var baseGet = require_baseGet();
47122
- function basePropertyDeep(path18) {
47122
+ function basePropertyDeep(path17) {
47123
47123
  return function(object) {
47124
- return baseGet(object, path18);
47124
+ return baseGet(object, path17);
47125
47125
  };
47126
47126
  }
47127
47127
  module2.exports = basePropertyDeep;
@@ -47136,8 +47136,8 @@ var require_property = __commonJS({
47136
47136
  var basePropertyDeep = require_basePropertyDeep();
47137
47137
  var isKey = require_isKey();
47138
47138
  var toKey = require_toKey();
47139
- function property(path18) {
47140
- return isKey(path18) ? baseProperty(toKey(path18)) : basePropertyDeep(path18);
47139
+ function property(path17) {
47140
+ return isKey(path17) ? baseProperty(toKey(path17)) : basePropertyDeep(path17);
47141
47141
  }
47142
47142
  module2.exports = property;
47143
47143
  }
@@ -48366,15 +48366,15 @@ var require_route = __commonJS({
48366
48366
  };
48367
48367
  }
48368
48368
  function wrapConversion(toModel, graph) {
48369
- const path18 = [graph[toModel].parent, toModel];
48369
+ const path17 = [graph[toModel].parent, toModel];
48370
48370
  let fn = conversions[graph[toModel].parent][toModel];
48371
48371
  let cur = graph[toModel].parent;
48372
48372
  while (graph[cur].parent) {
48373
- path18.unshift(graph[cur].parent);
48373
+ path17.unshift(graph[cur].parent);
48374
48374
  fn = link(conversions[graph[cur].parent][cur], fn);
48375
48375
  cur = graph[cur].parent;
48376
48376
  }
48377
- fn.conversion = path18;
48377
+ fn.conversion = path17;
48378
48378
  return fn;
48379
48379
  }
48380
48380
  module2.exports = function(fromModel) {
@@ -64490,16 +64490,16 @@ var require_os_tmpdir = __commonJS({
64490
64490
  var isWindows = process.platform === "win32";
64491
64491
  var trailingSlashRe = isWindows ? /[^:]\\$/ : /.\/$/;
64492
64492
  module2.exports = function() {
64493
- var path18;
64493
+ var path17;
64494
64494
  if (isWindows) {
64495
- path18 = process.env.TEMP || process.env.TMP || (process.env.SystemRoot || process.env.windir) + "\\temp";
64495
+ path17 = process.env.TEMP || process.env.TMP || (process.env.SystemRoot || process.env.windir) + "\\temp";
64496
64496
  } else {
64497
- path18 = process.env.TMPDIR || process.env.TMP || process.env.TEMP || "/tmp";
64497
+ path17 = process.env.TMPDIR || process.env.TMP || process.env.TEMP || "/tmp";
64498
64498
  }
64499
- if (trailingSlashRe.test(path18)) {
64500
- path18 = path18.slice(0, -1);
64499
+ if (trailingSlashRe.test(path17)) {
64500
+ path17 = path17.slice(0, -1);
64501
64501
  }
64502
- return path18;
64502
+ return path17;
64503
64503
  };
64504
64504
  }
64505
64505
  });
@@ -64509,7 +64509,7 @@ var require_tmp = __commonJS({
64509
64509
  "../../../../node_modules/.pnpm/tmp@0.0.33/node_modules/tmp/lib/tmp.js"(exports, module2) {
64510
64510
  "use strict";
64511
64511
  var fs11 = require("fs");
64512
- var path18 = require("path");
64512
+ var path17 = require("path");
64513
64513
  var crypto = require("crypto");
64514
64514
  var osTmpDir = require_os_tmpdir();
64515
64515
  var _c = process.binding("constants");
@@ -64551,7 +64551,7 @@ var require_tmp = __commonJS({
64551
64551
  }
64552
64552
  function _generateTmpName(opts) {
64553
64553
  if (opts.name) {
64554
- return path18.join(opts.dir || tmpDir, opts.name);
64554
+ return path17.join(opts.dir || tmpDir, opts.name);
64555
64555
  }
64556
64556
  if (opts.template) {
64557
64557
  return opts.template.replace(TEMPLATE_PATTERN, _randomChars(6));
@@ -64562,7 +64562,7 @@ var require_tmp = __commonJS({
64562
64562
  _randomChars(12),
64563
64563
  opts.postfix || ""
64564
64564
  ].join("");
64565
- return path18.join(opts.dir || tmpDir, name);
64565
+ return path17.join(opts.dir || tmpDir, name);
64566
64566
  }
64567
64567
  function tmpName(options, callback) {
64568
64568
  var args = _parseArguments(options, callback), opts = args[0], cb = args[1], tries = opts.name ? 1 : opts.tries || DEFAULT_TRIES;
@@ -64650,7 +64650,7 @@ var require_tmp = __commonJS({
64650
64650
  do {
64651
64651
  var dir2 = dirs.pop(), deferred = false, files = fs11.readdirSync(dir2);
64652
64652
  for (var i = 0, length = files.length; i < length; i++) {
64653
- var file2 = path18.join(dir2, files[i]), stat = fs11.lstatSync(file2);
64653
+ var file2 = path17.join(dir2, files[i]), stat = fs11.lstatSync(file2);
64654
64654
  if (stat.isDirectory()) {
64655
64655
  if (!deferred) {
64656
64656
  deferred = true;
@@ -65408,8 +65408,8 @@ var require_parent = __commonJS({
65408
65408
  "use strict";
65409
65409
  var baseGet = require_baseGet();
65410
65410
  var baseSlice = require_baseSlice();
65411
- function parent(object, path18) {
65412
- return path18.length < 2 ? object : baseGet(object, baseSlice(path18, 0, -1));
65411
+ function parent(object, path17) {
65412
+ return path17.length < 2 ? object : baseGet(object, baseSlice(path17, 0, -1));
65413
65413
  }
65414
65414
  module2.exports = parent;
65415
65415
  }
@@ -65423,10 +65423,10 @@ var require_baseUnset = __commonJS({
65423
65423
  var last = require_last2();
65424
65424
  var parent = require_parent();
65425
65425
  var toKey = require_toKey();
65426
- function baseUnset(object, path18) {
65427
- path18 = castPath(path18, object);
65428
- object = parent(object, path18);
65429
- return object == null || delete object[toKey(last(path18))];
65426
+ function baseUnset(object, path17) {
65427
+ path17 = castPath(path17, object);
65428
+ object = parent(object, path17);
65429
+ return object == null || delete object[toKey(last(path17))];
65430
65430
  }
65431
65431
  module2.exports = baseUnset;
65432
65432
  }
@@ -65535,10 +65535,10 @@ var require_omit = __commonJS({
65535
65535
  return result;
65536
65536
  }
65537
65537
  var isDeep = false;
65538
- paths = arrayMap(paths, function(path18) {
65539
- path18 = castPath(path18, object);
65540
- isDeep || (isDeep = path18.length > 1);
65541
- return path18;
65538
+ paths = arrayMap(paths, function(path17) {
65539
+ path17 = castPath(path17, object);
65540
+ isDeep || (isDeep = path17.length > 1);
65541
+ return path17;
65542
65542
  });
65543
65543
  copyObject(object, getAllKeysIn(object), result);
65544
65544
  if (isDeep) {
@@ -68256,26 +68256,26 @@ var require_mongo_dot = __commonJS({
68256
68256
  }
68257
68257
  }
68258
68258
  exports.parent = parent;
68259
- var get4 = function(obj, path18) {
68260
- if (path18.includes(".")) {
68261
- var par = parent(obj, path18);
68262
- var mainKey = path18.split(".").pop();
68259
+ var get4 = function(obj, path17) {
68260
+ if (path17.includes(".")) {
68261
+ var par = parent(obj, path17);
68262
+ var mainKey = path17.split(".").pop();
68263
68263
  var t = get_type_1.default(par);
68264
68264
  if ("object" === t || "array" === t)
68265
68265
  return par[mainKey];
68266
68266
  } else {
68267
- return obj[path18];
68267
+ return obj[path17];
68268
68268
  }
68269
68269
  };
68270
68270
  exports.get = get4;
68271
- var set = function(obj, path18, val) {
68272
- if (path18.includes(".")) {
68273
- var par = parent(obj, path18, true);
68274
- var mainKey = path18.split(".").pop();
68271
+ var set = function(obj, path17, val) {
68272
+ if (path17.includes(".")) {
68273
+ var par = parent(obj, path17, true);
68274
+ var mainKey = path17.split(".").pop();
68275
68275
  if (par && "object" === get_type_1.default(par))
68276
68276
  par[mainKey] = val;
68277
68277
  } else {
68278
- obj[path18] = val;
68278
+ obj[path17] = val;
68279
68279
  }
68280
68280
  };
68281
68281
  exports.set = set;
@@ -68357,9 +68357,9 @@ var require_mods = __commonJS({
68357
68357
  }
68358
68358
  };
68359
68359
  }
68360
- var $set = function $set2(obj, path18, val) {
68361
- var key = path18.split(".").pop();
68362
- obj = mongoDot.parent(obj, path18, true);
68360
+ var $set = function $set2(obj, path17, val) {
68361
+ var key = path17.split(".").pop();
68362
+ obj = mongoDot.parent(obj, path17, true);
68363
68363
  switch (get_type_1.default(obj)) {
68364
68364
  case "object":
68365
68365
  if (!mongo_eql_1.default(obj[key], val)) {
@@ -68386,9 +68386,9 @@ var require_mods = __commonJS({
68386
68386
  }
68387
68387
  };
68388
68388
  exports.$set = $set;
68389
- var $unset = function $unset2(obj, path18) {
68390
- var key = path18.split(".").pop();
68391
- obj = mongoDot.parent(obj, path18);
68389
+ var $unset = function $unset2(obj, path17) {
68390
+ var key = path17.split(".").pop();
68391
+ obj = mongoDot.parent(obj, path17);
68392
68392
  switch (get_type_1.default(obj)) {
68393
68393
  case "array":
68394
68394
  case "object":
@@ -68402,17 +68402,17 @@ var require_mods = __commonJS({
68402
68402
  }
68403
68403
  };
68404
68404
  exports.$unset = $unset;
68405
- var $rename = function $rename2(obj, path18, newKey) {
68406
- if (path18 === newKey) {
68405
+ var $rename = function $rename2(obj, path17, newKey) {
68406
+ if (path17 === newKey) {
68407
68407
  throw new Error("$rename source must differ from target");
68408
68408
  }
68409
- if (0 === path18.indexOf(newKey + ".")) {
68409
+ if (0 === path17.indexOf(newKey + ".")) {
68410
68410
  throw new Error("$rename target may not be a parent of source");
68411
68411
  }
68412
- var p = mongoDot.parent(obj, path18);
68412
+ var p = mongoDot.parent(obj, path17);
68413
68413
  var t = get_type_1.default(p);
68414
68414
  if ("object" === t) {
68415
- var key_1 = path18.split(".").pop();
68415
+ var key_1 = path17.split(".").pop();
68416
68416
  if (p.hasOwnProperty(key_1)) {
68417
68417
  return function() {
68418
68418
  var val = p[key_1];
@@ -68433,12 +68433,12 @@ var require_mods = __commonJS({
68433
68433
  }
68434
68434
  };
68435
68435
  exports.$rename = $rename;
68436
- var $inc = function $inc2(obj, path18, inc) {
68436
+ var $inc = function $inc2(obj, path17, inc) {
68437
68437
  if ("number" !== get_type_1.default(inc)) {
68438
68438
  throw new Error("Modifier $inc allowed for numbers only");
68439
68439
  }
68440
- obj = mongoDot.parent(obj, path18, true);
68441
- var key = path18.split(".").pop();
68440
+ obj = mongoDot.parent(obj, path17, true);
68441
+ var key = path17.split(".").pop();
68442
68442
  switch (get_type_1.default(obj)) {
68443
68443
  case "array":
68444
68444
  case "object":
@@ -68464,9 +68464,9 @@ var require_mods = __commonJS({
68464
68464
  }
68465
68465
  };
68466
68466
  exports.$inc = $inc;
68467
- var $pop = function $pop2(obj, path18, val) {
68468
- obj = mongoDot.parent(obj, path18);
68469
- var key = path18.split(".").pop();
68467
+ var $pop = function $pop2(obj, path17, val) {
68468
+ obj = mongoDot.parent(obj, path17);
68469
+ var key = path17.split(".").pop();
68470
68470
  switch (get_type_1.default(obj)) {
68471
68471
  case "array":
68472
68472
  case "object":
@@ -68499,9 +68499,9 @@ var require_mods = __commonJS({
68499
68499
  }
68500
68500
  };
68501
68501
  exports.$pop = $pop;
68502
- var $push = function $push2(obj, path18, val) {
68503
- obj = mongoDot.parent(obj, path18, true);
68504
- var key = path18.split(".").pop();
68502
+ var $push = function $push2(obj, path17, val) {
68503
+ obj = mongoDot.parent(obj, path17, true);
68504
+ var key = path17.split(".").pop();
68505
68505
  switch (get_type_1.default(obj)) {
68506
68506
  case "object":
68507
68507
  if (obj.hasOwnProperty(key)) {
@@ -68542,12 +68542,12 @@ var require_mods = __commonJS({
68542
68542
  }
68543
68543
  };
68544
68544
  exports.$push = $push;
68545
- var $pushAll = function $pushAll2(obj, path18, val) {
68545
+ var $pushAll = function $pushAll2(obj, path17, val) {
68546
68546
  if ("array" !== get_type_1.default(val)) {
68547
68547
  throw new Error("Modifier $pushAll/pullAll allowed for arrays only");
68548
68548
  }
68549
- obj = mongoDot.parent(obj, path18, true);
68550
- var key = path18.split(".").pop();
68549
+ obj = mongoDot.parent(obj, path17, true);
68550
+ var key = path17.split(".").pop();
68551
68551
  switch (get_type_1.default(obj)) {
68552
68552
  case "object":
68553
68553
  if (obj.hasOwnProperty(key)) {
@@ -68588,9 +68588,9 @@ var require_mods = __commonJS({
68588
68588
  }
68589
68589
  };
68590
68590
  exports.$pushAll = $pushAll;
68591
- var $pull = function $pull2(obj, path18, val) {
68592
- obj = mongoDot.parent(obj, path18, true);
68593
- var key = path18.split(".").pop();
68591
+ var $pull = function $pull2(obj, path17, val) {
68592
+ obj = mongoDot.parent(obj, path17, true);
68593
+ var key = path17.split(".").pop();
68594
68594
  var t = get_type_1.default(obj);
68595
68595
  switch (t) {
68596
68596
  case "object":
@@ -68634,12 +68634,12 @@ var require_mods = __commonJS({
68634
68634
  }
68635
68635
  };
68636
68636
  exports.$pull = $pull;
68637
- var $pullAll = function $pullAll2(obj, path18, val) {
68637
+ var $pullAll = function $pullAll2(obj, path17, val) {
68638
68638
  if ("array" !== get_type_1.default(val)) {
68639
68639
  throw new Error("Modifier $pushAll/pullAll allowed for arrays only");
68640
68640
  }
68641
- obj = mongoDot.parent(obj, path18, true);
68642
- var key = path18.split(".").pop();
68641
+ obj = mongoDot.parent(obj, path17, true);
68642
+ var key = path17.split(".").pop();
68643
68643
  var t = get_type_1.default(obj);
68644
68644
  switch (t) {
68645
68645
  case "object":
@@ -68683,11 +68683,11 @@ var require_mods = __commonJS({
68683
68683
  }
68684
68684
  };
68685
68685
  exports.$pullAll = $pullAll;
68686
- var $addToSet = function $addToSet2(obj, path18, val, recursing) {
68686
+ var $addToSet = function $addToSet2(obj, path17, val, recursing) {
68687
68687
  if (!recursing && "array" === get_type_1.default(val.$each)) {
68688
68688
  var fns_1 = [];
68689
68689
  for (var i = 0, l = val.$each.length; i < l; i++) {
68690
- var fn = $addToSet2(obj, path18, val.$each[i], true);
68690
+ var fn = $addToSet2(obj, path17, val.$each[i], true);
68691
68691
  if (fn)
68692
68692
  fns_1.push(fn);
68693
68693
  }
@@ -68702,8 +68702,8 @@ var require_mods = __commonJS({
68702
68702
  return;
68703
68703
  }
68704
68704
  }
68705
- obj = mongoDot.parent(obj, path18, true);
68706
- var key = path18.split(".").pop();
68705
+ obj = mongoDot.parent(obj, path17, true);
68706
+ var key = path17.split(".").pop();
68707
68707
  switch (get_type_1.default(obj)) {
68708
68708
  case "object":
68709
68709
  if (obj.hasOwnProperty(key)) {
@@ -68844,7 +68844,7 @@ __export(src_exports, {
68844
68844
  default: () => src_default
68845
68845
  });
68846
68846
  module.exports = __toCommonJS(src_exports);
68847
- var import_lodash15 = require("@modern-js/utils/lodash");
68847
+ var import_lodash14 = require("@modern-js/utils/lodash");
68848
68848
 
68849
68849
  // ../../../../node_modules/.pnpm/@swc+helpers@0.5.1/node_modules/@swc/helpers/esm/_define_property.js
68850
68850
  function _define_property(obj, key, value) {
@@ -69329,15 +69329,15 @@ var FsMaterial = class {
69329
69329
  };
69330
69330
 
69331
69331
  // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.3.5/node_modules/@modern-js/codesmith/dist/esm-node/utils/nodeRequire.js
69332
- var nodeRequire = (path18) => {
69332
+ var nodeRequire = (path17) => {
69333
69333
  try {
69334
- const module2 = __non_webpack_require__(path18);
69334
+ const module2 = __non_webpack_require__(path17);
69335
69335
  if (module2 === null || module2 === void 0 ? void 0 : module2.default) {
69336
69336
  return module2.default;
69337
69337
  }
69338
69338
  return module2;
69339
69339
  } catch (error) {
69340
- const module2 = require(path18);
69340
+ const module2 = require(path17);
69341
69341
  if (module2 === null || module2 === void 0 ? void 0 : module2.default) {
69342
69342
  return module2.default;
69343
69343
  }
@@ -69351,9 +69351,9 @@ var import_utils10 = require("@modern-js/utils");
69351
69351
 
69352
69352
  // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.3.5/node_modules/@modern-js/codesmith/dist/esm-node/utils/fsExists.js
69353
69353
  var import_utils9 = require("@modern-js/utils");
69354
- async function fsExists(path18) {
69354
+ async function fsExists(path17) {
69355
69355
  try {
69356
- await import_utils9.fs.access(path18);
69356
+ await import_utils9.fs.access(path17);
69357
69357
  return true;
69358
69358
  } catch (e) {
69359
69359
  return false;
@@ -70141,10 +70141,10 @@ function isVisitable(thing) {
70141
70141
  function removeBrackets(key) {
70142
70142
  return utils_default.endsWith(key, "[]") ? key.slice(0, -2) : key;
70143
70143
  }
70144
- function renderKey(path18, key, dots) {
70145
- if (!path18)
70144
+ function renderKey(path17, key, dots) {
70145
+ if (!path17)
70146
70146
  return key;
70147
- return path18.concat(key).map(function each2(token, i) {
70147
+ return path17.concat(key).map(function each2(token, i) {
70148
70148
  token = removeBrackets(token);
70149
70149
  return !dots && i ? "[" + token + "]" : token;
70150
70150
  }).join(dots ? "." : "");
@@ -70190,9 +70190,9 @@ function toFormData(obj, formData, options) {
70190
70190
  }
70191
70191
  return value;
70192
70192
  }
70193
- function defaultVisitor(value, key, path18) {
70193
+ function defaultVisitor(value, key, path17) {
70194
70194
  let arr = value;
70195
- if (value && !path18 && typeof value === "object") {
70195
+ if (value && !path17 && typeof value === "object") {
70196
70196
  if (utils_default.endsWith(key, "{}")) {
70197
70197
  key = metaTokens ? key : key.slice(0, -2);
70198
70198
  value = JSON.stringify(value);
@@ -70211,7 +70211,7 @@ function toFormData(obj, formData, options) {
70211
70211
  if (isVisitable(value)) {
70212
70212
  return true;
70213
70213
  }
70214
- formData.append(renderKey(path18, key, dots), convertValue(value));
70214
+ formData.append(renderKey(path17, key, dots), convertValue(value));
70215
70215
  return false;
70216
70216
  }
70217
70217
  const stack = [];
@@ -70220,11 +70220,11 @@ function toFormData(obj, formData, options) {
70220
70220
  convertValue,
70221
70221
  isVisitable
70222
70222
  });
70223
- function build(value, path18) {
70223
+ function build(value, path17) {
70224
70224
  if (utils_default.isUndefined(value))
70225
70225
  return;
70226
70226
  if (stack.indexOf(value) !== -1) {
70227
- throw Error("Circular reference detected in " + path18.join("."));
70227
+ throw Error("Circular reference detected in " + path17.join("."));
70228
70228
  }
70229
70229
  stack.push(value);
70230
70230
  utils_default.forEach(value, function each2(el, key) {
@@ -70232,11 +70232,11 @@ function toFormData(obj, formData, options) {
70232
70232
  formData,
70233
70233
  el,
70234
70234
  utils_default.isString(key) ? key.trim() : key,
70235
- path18,
70235
+ path17,
70236
70236
  exposedHelpers
70237
70237
  );
70238
70238
  if (result === true) {
70239
- build(el, path18 ? path18.concat(key) : [key]);
70239
+ build(el, path17 ? path17.concat(key) : [key]);
70240
70240
  }
70241
70241
  });
70242
70242
  stack.pop();
@@ -70419,7 +70419,7 @@ var platform_default = {
70419
70419
  // ../../../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/toURLEncodedForm.js
70420
70420
  function toURLEncodedForm(data, options) {
70421
70421
  return toFormData_default(data, new platform_default.classes.URLSearchParams(), Object.assign({
70422
- visitor: function(value, key, path18, helpers) {
70422
+ visitor: function(value, key, path17, helpers) {
70423
70423
  if (platform_default.isNode && utils_default.isBuffer(value)) {
70424
70424
  this.append(key, value.toString("base64"));
70425
70425
  return false;
@@ -70448,12 +70448,12 @@ function arrayToObject(arr) {
70448
70448
  return obj;
70449
70449
  }
70450
70450
  function formDataToJSON(formData) {
70451
- function buildPath(path18, value, target, index) {
70452
- let name = path18[index++];
70451
+ function buildPath(path17, value, target, index) {
70452
+ let name = path17[index++];
70453
70453
  if (name === "__proto__")
70454
70454
  return true;
70455
70455
  const isNumericKey = Number.isFinite(+name);
70456
- const isLast = index >= path18.length;
70456
+ const isLast = index >= path17.length;
70457
70457
  name = !name && utils_default.isArray(target) ? target.length : name;
70458
70458
  if (isLast) {
70459
70459
  if (utils_default.hasOwnProp(target, name)) {
@@ -70466,7 +70466,7 @@ function formDataToJSON(formData) {
70466
70466
  if (!target[name] || !utils_default.isObject(target[name])) {
70467
70467
  target[name] = [];
70468
70468
  }
70469
- const result = buildPath(path18, value, target[name], index);
70469
+ const result = buildPath(path17, value, target[name], index);
70470
70470
  if (result && utils_default.isArray(target[name])) {
70471
70471
  target[name] = arrayToObject(target[name]);
70472
70472
  }
@@ -71577,9 +71577,9 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
71577
71577
  auth = urlUsername + ":" + urlPassword;
71578
71578
  }
71579
71579
  auth && headers.delete("authorization");
71580
- let path18;
71580
+ let path17;
71581
71581
  try {
71582
- path18 = buildURL(
71582
+ path17 = buildURL(
71583
71583
  parsed.pathname + parsed.search,
71584
71584
  config.params,
71585
71585
  config.paramsSerializer
@@ -71597,7 +71597,7 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
71597
71597
  false
71598
71598
  );
71599
71599
  const options = {
71600
- path: path18,
71600
+ path: path17,
71601
71601
  method,
71602
71602
  headers: headers.toJSON(),
71603
71603
  agents: { http: config.httpAgent, https: config.httpsAgent },
@@ -71819,10 +71819,10 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
71819
71819
  var cookies_default = platform_default.hasStandardBrowserEnv ? (
71820
71820
  // Standard browser envs support document.cookie
71821
71821
  {
71822
- write(name, value, expires, path18, domain, secure) {
71822
+ write(name, value, expires, path17, domain, secure) {
71823
71823
  const cookie = [name + "=" + encodeURIComponent(value)];
71824
71824
  utils_default.isNumber(expires) && cookie.push("expires=" + new Date(expires).toGMTString());
71825
- utils_default.isString(path18) && cookie.push("path=" + path18);
71825
+ utils_default.isString(path17) && cookie.push("path=" + path17);
71826
71826
  utils_default.isString(domain) && cookie.push("domain=" + domain);
71827
71827
  secure === true && cookie.push("secure");
71828
71828
  document.cookie = cookie.join("; ");
@@ -72230,9 +72230,9 @@ function mergeConfig(config1, config2) {
72230
72230
  headers: (a, b) => mergeDeepProperties(headersToObject(a), headersToObject(b), true)
72231
72231
  };
72232
72232
  utils_default.forEach(Object.keys(Object.assign({}, config1, config2)), function computeConfigValue(prop) {
72233
- const merge10 = mergeMap[prop] || mergeDeepProperties;
72234
- const configValue = merge10(config1[prop], config2[prop], prop);
72235
- utils_default.isUndefined(configValue) && merge10 !== mergeDirectKeys || (config[prop] = configValue);
72233
+ const merge9 = mergeMap[prop] || mergeDeepProperties;
72234
+ const configValue = merge9(config1[prop], config2[prop], prop);
72235
+ utils_default.isUndefined(configValue) && merge9 !== mergeDirectKeys || (config[prop] = configValue);
72236
72236
  });
72237
72237
  return config;
72238
72238
  }
@@ -74151,8 +74151,8 @@ var parseDestructorRules = function(node) {
74151
74151
  };
74152
74152
  var setInByDestructor = function(source, rules, value, mutators) {
74153
74153
  rules.forEach(function(_a2) {
74154
- var key = _a2.key, path18 = _a2.path;
74155
- mutators.setIn([key], source, mutators.getIn(path18, value));
74154
+ var key = _a2.key, path17 = _a2.path;
74155
+ mutators.setIn([key], source, mutators.getIn(path17, value));
74156
74156
  });
74157
74157
  };
74158
74158
  var getInByDestructor = function(source, rules, mutators) {
@@ -74164,8 +74164,8 @@ var getInByDestructor = function(source, rules, mutators) {
74164
74164
  }
74165
74165
  source = isValid2(source) ? source : {};
74166
74166
  rules.forEach(function(_a2) {
74167
- var key = _a2.key, path18 = _a2.path;
74168
- mutators.setIn(path18, response, source[key]);
74167
+ var key = _a2.key, path17 = _a2.path;
74168
+ mutators.setIn(path17, response, source[key]);
74169
74169
  });
74170
74170
  return response;
74171
74171
  };
@@ -74732,8 +74732,8 @@ var Matcher = (
74732
74732
  }
74733
74733
  return false;
74734
74734
  };
74735
- Matcher2.prototype.match = function(path18) {
74736
- this.path = path18;
74735
+ Matcher2.prototype.match = function(path17) {
74736
+ this.path = path17;
74737
74737
  return { matched: this.matchNode(this.tree), record: this.record };
74738
74738
  };
74739
74739
  Matcher2.matchSegments = function(source, target, record) {
@@ -75023,21 +75023,21 @@ var Path = (
75023
75023
  if (_this.isMatchPattern || _this.isRegExp) {
75024
75024
  throw new Error("".concat(_this.entire, " cannot be concat"));
75025
75025
  }
75026
- var path18 = new Path2("");
75027
- path18.segments = (_a3 = _this.segments).concat.apply(_a3, __spreadArray([], __read(args.map(function(s) {
75026
+ var path17 = new Path2("");
75027
+ path17.segments = (_a3 = _this.segments).concat.apply(_a3, __spreadArray([], __read(args.map(function(s) {
75028
75028
  return parseString(s);
75029
75029
  })), false));
75030
- path18.entire = path18.segments.join(".");
75031
- return path18;
75030
+ path17.entire = path17.segments.join(".");
75031
+ return path17;
75032
75032
  };
75033
75033
  this.slice = function(start, end) {
75034
75034
  if (_this.isMatchPattern || _this.isRegExp) {
75035
75035
  throw new Error("".concat(_this.entire, " cannot be slice"));
75036
75036
  }
75037
- var path18 = new Path2("");
75038
- path18.segments = _this.segments.slice(start, end);
75039
- path18.entire = path18.segments.join(".");
75040
- return path18;
75037
+ var path17 = new Path2("");
75038
+ path17.segments = _this.segments.slice(start, end);
75039
+ path17.entire = path17.segments.join(".");
75040
+ return path17;
75041
75041
  };
75042
75042
  this.push = function() {
75043
75043
  var items = [];
@@ -75129,8 +75129,8 @@ var Path = (
75129
75129
  };
75130
75130
  this.match = function(pattern) {
75131
75131
  var _a3, _b;
75132
- var path18 = Path2.parse(pattern);
75133
- var cache = _this.matchCache.get(path18.entire);
75132
+ var path17 = Path2.parse(pattern);
75133
+ var cache = _this.matchCache.get(path17.entire);
75134
75134
  if (cache !== void 0) {
75135
75135
  if (cache.record && cache.record.score !== void 0) {
75136
75136
  _this.matchScore = cache.record.score;
@@ -75138,21 +75138,21 @@ var Path = (
75138
75138
  return cache.matched;
75139
75139
  }
75140
75140
  var cacheWith = function(value) {
75141
- _this.matchCache.set(path18.entire, value);
75141
+ _this.matchCache.set(path17.entire, value);
75142
75142
  return value;
75143
75143
  };
75144
- if (path18.isMatchPattern) {
75144
+ if (path17.isMatchPattern) {
75145
75145
  if (_this.isMatchPattern) {
75146
- throw new Error("".concat(path18.entire, " cannot match ").concat(_this.entire));
75146
+ throw new Error("".concat(path17.entire, " cannot match ").concat(_this.entire));
75147
75147
  } else {
75148
75148
  _this.matchScore = 0;
75149
- return cacheWith(path18.match(_this.segments));
75149
+ return cacheWith(path17.match(_this.segments));
75150
75150
  }
75151
75151
  } else {
75152
75152
  if (_this.isMatchPattern) {
75153
75153
  if (_this.isRegExp) {
75154
75154
  try {
75155
- return (_b = (_a3 = _this["entire"]) === null || _a3 === void 0 ? void 0 : _a3["test"]) === null || _b === void 0 ? void 0 : _b.call(_a3, path18.entire);
75155
+ return (_b = (_a3 = _this["entire"]) === null || _a3 === void 0 ? void 0 : _a3["test"]) === null || _b === void 0 ? void 0 : _b.call(_a3, path17.entire);
75156
75156
  } finally {
75157
75157
  ;
75158
75158
  _this.entire.lastIndex = 0;
@@ -75161,14 +75161,14 @@ var Path = (
75161
75161
  var record = {
75162
75162
  score: 0
75163
75163
  };
75164
- var result = cacheWith(new Matcher(_this.tree, record).match(path18.segments));
75164
+ var result = cacheWith(new Matcher(_this.tree, record).match(path17.segments));
75165
75165
  _this.matchScore = record.score;
75166
75166
  return result.matched;
75167
75167
  } else {
75168
75168
  var record = {
75169
75169
  score: 0
75170
75170
  };
75171
- var result = cacheWith(Matcher.matchSegments(_this.segments, path18.segments, record));
75171
+ var result = cacheWith(Matcher.matchSegments(_this.segments, path17.segments, record));
75172
75172
  _this.matchScore = record.score;
75173
75173
  return result.matched;
75174
75174
  }
@@ -75244,12 +75244,12 @@ var Path = (
75244
75244
  configurable: true
75245
75245
  });
75246
75246
  Path2.match = function(pattern) {
75247
- var path18 = Path2.parse(pattern);
75247
+ var path17 = Path2.parse(pattern);
75248
75248
  var matcher = function(target) {
75249
- return path18.match(target);
75249
+ return path17.match(target);
75250
75250
  };
75251
75251
  matcher[isMatcher] = true;
75252
- matcher.path = path18;
75252
+ matcher.path = path17;
75253
75253
  return matcher;
75254
75254
  };
75255
75255
  Path2.isPathPattern = function(target) {
@@ -75258,52 +75258,52 @@ var Path = (
75258
75258
  Path2.transform = function(pattern, regexp, callback) {
75259
75259
  return Path2.parse(pattern).transform(regexp, callback);
75260
75260
  };
75261
- Path2.parse = function(path18, base) {
75262
- if (path18 === void 0) {
75263
- path18 = "";
75261
+ Path2.parse = function(path17, base) {
75262
+ if (path17 === void 0) {
75263
+ path17 = "";
75264
75264
  }
75265
- if (path18 instanceof Path2) {
75266
- var found = pathCache.get(path18.entire);
75265
+ if (path17 instanceof Path2) {
75266
+ var found = pathCache.get(path17.entire);
75267
75267
  if (found) {
75268
75268
  return found;
75269
75269
  } else {
75270
- pathCache.set(path18.entire, path18);
75271
- return path18;
75270
+ pathCache.set(path17.entire, path17);
75271
+ return path17;
75272
75272
  }
75273
- } else if (path18 && path18[isMatcher]) {
75274
- return Path2.parse(path18["path"]);
75273
+ } else if (path17 && path17[isMatcher]) {
75274
+ return Path2.parse(path17["path"]);
75275
75275
  } else {
75276
75276
  var key_ = base ? Path2.parse(base) : "";
75277
- var key = "".concat(path18, ":").concat(key_);
75277
+ var key = "".concat(path17, ":").concat(key_);
75278
75278
  var found = pathCache.get(key);
75279
75279
  if (found) {
75280
75280
  return found;
75281
75281
  } else {
75282
- path18 = new Path2(path18, base);
75283
- pathCache.set(key, path18);
75284
- return path18;
75282
+ path17 = new Path2(path17, base);
75283
+ pathCache.set(key, path17);
75284
+ return path17;
75285
75285
  }
75286
75286
  }
75287
75287
  };
75288
75288
  Path2.getIn = function(source, pattern) {
75289
- var path18 = Path2.parse(pattern);
75290
- return path18.getIn(source);
75289
+ var path17 = Path2.parse(pattern);
75290
+ return path17.getIn(source);
75291
75291
  };
75292
75292
  Path2.setIn = function(source, pattern, value) {
75293
- var path18 = Path2.parse(pattern);
75294
- return path18.setIn(source, value);
75293
+ var path17 = Path2.parse(pattern);
75294
+ return path17.setIn(source, value);
75295
75295
  };
75296
75296
  Path2.deleteIn = function(source, pattern) {
75297
- var path18 = Path2.parse(pattern);
75298
- return path18.deleteIn(source);
75297
+ var path17 = Path2.parse(pattern);
75298
+ return path17.deleteIn(source);
75299
75299
  };
75300
75300
  Path2.existIn = function(source, pattern, start) {
75301
- var path18 = Path2.parse(pattern);
75302
- return path18.existIn(source, start);
75301
+ var path17 = Path2.parse(pattern);
75302
+ return path17.existIn(source, start);
75303
75303
  };
75304
75304
  Path2.ensureIn = function(source, pattern, defaultValue) {
75305
- var path18 = Path2.parse(pattern);
75306
- return path18.ensureIn(source, defaultValue);
75305
+ var path17 = Path2.parse(pattern);
75306
+ return path17.ensureIn(source, defaultValue);
75307
75307
  };
75308
75308
  return Path2;
75309
75309
  }()
@@ -77122,9 +77122,9 @@ var hasOwnProperty5 = Object.prototype.hasOwnProperty;
77122
77122
  var traverse = function(target, visitor) {
77123
77123
  var seenObjects = [];
77124
77124
  var root = target;
77125
- var traverse2 = function(target2, path18) {
77126
- if (path18 === void 0) {
77127
- path18 = [];
77125
+ var traverse2 = function(target2, path17) {
77126
+ if (path17 === void 0) {
77127
+ path17 = [];
77128
77128
  }
77129
77129
  if (isPlainObj(target2)) {
77130
77130
  var seenIndex = seenObjects.indexOf(target2);
@@ -77134,15 +77134,15 @@ var traverse = function(target, visitor) {
77134
77134
  var addIndex = seenObjects.length;
77135
77135
  seenObjects.push(target2);
77136
77136
  if (isNoNeedCompileObject(target2) && root !== target2) {
77137
- visitor(target2, path18);
77137
+ visitor(target2, path17);
77138
77138
  return;
77139
77139
  }
77140
77140
  each(target2, function(value, key) {
77141
- traverse2(value, path18.concat(key));
77141
+ traverse2(value, path17.concat(key));
77142
77142
  });
77143
77143
  seenObjects.splice(addIndex, 1);
77144
77144
  } else {
77145
- visitor(target2, path18);
77145
+ visitor(target2, path17);
77146
77146
  }
77147
77147
  };
77148
77148
  traverse2(target);
@@ -77153,24 +77153,24 @@ var traverseSchema = function(schema, visitor) {
77153
77153
  }
77154
77154
  var seenObjects = [];
77155
77155
  var root = schema;
77156
- var traverse2 = function(target, path18) {
77156
+ var traverse2 = function(target, path17) {
77157
77157
  var _a2;
77158
- if (path18 === void 0) {
77159
- path18 = [];
77158
+ if (path17 === void 0) {
77159
+ path17 = [];
77160
77160
  }
77161
- if (path18[0] === "x-compile-omitted" || path18[0] === "x-validator" || path18[0] === "version" || path18[0] === "_isJSONSchemaObject")
77161
+ if (path17[0] === "x-compile-omitted" || path17[0] === "x-validator" || path17[0] === "version" || path17[0] === "_isJSONSchemaObject")
77162
77162
  return;
77163
- if (String(path18[0]).indexOf("x-") == -1 && isFn(target))
77163
+ if (String(path17[0]).indexOf("x-") == -1 && isFn(target))
77164
77164
  return;
77165
- if (SchemaNestedMap[path18[0]])
77165
+ if (SchemaNestedMap[path17[0]])
77166
77166
  return;
77167
- if (((_a2 = schema["x-compile-omitted"]) === null || _a2 === void 0 ? void 0 : _a2.indexOf(path18[0])) > -1) {
77168
- visitor(target, path18, true);
77167
+ if (((_a2 = schema["x-compile-omitted"]) === null || _a2 === void 0 ? void 0 : _a2.indexOf(path17[0])) > -1) {
77168
+ visitor(target, path17, true);
77169
77169
  return;
77170
77170
  }
77171
77171
  if (isPlainObj(target)) {
77172
- if (path18[0] === "default" || path18[0] === "x-value") {
77173
- visitor(target, path18);
77172
+ if (path17[0] === "default" || path17[0] === "x-value") {
77173
+ visitor(target, path17);
77174
77174
  return;
77175
77175
  }
77176
77176
  var seenIndex = seenObjects.indexOf(target);
@@ -77180,15 +77180,15 @@ var traverseSchema = function(schema, visitor) {
77180
77180
  var addIndex = seenObjects.length;
77181
77181
  seenObjects.push(target);
77182
77182
  if (isNoNeedCompileObject(target) && root !== target) {
77183
- visitor(target, path18);
77183
+ visitor(target, path17);
77184
77184
  return;
77185
77185
  }
77186
77186
  each(target, function(value, key) {
77187
- traverse2(value, path18.concat(key));
77187
+ traverse2(value, path17.concat(key));
77188
77188
  });
77189
77189
  seenObjects.splice(addIndex, 1);
77190
77190
  } else {
77191
- visitor(target, path18);
77191
+ visitor(target, path17);
77192
77192
  }
77193
77193
  };
77194
77194
  traverse2(schema);
@@ -77232,8 +77232,8 @@ var createDataSource = function(source) {
77232
77232
  var patchStateFormSchema = function(targetState, pattern, compiled) {
77233
77233
  untracked(function() {
77234
77234
  var _a2;
77235
- var path18 = Path.parse(pattern);
77236
- var segments = path18.segments;
77235
+ var path17 = Path.parse(pattern);
77236
+ var segments = path17.segments;
77237
77237
  var key = segments[0];
77238
77238
  var isEnum = key === "enum" && isArr(compiled);
77239
77239
  var schemaMapKey = SchemaStateMap[key];
@@ -77317,14 +77317,14 @@ var compile = function(source, scope) {
77317
77317
  };
77318
77318
  var patchCompile = function(targetState, sourceState, scope) {
77319
77319
  traverse(sourceState, function(value, pattern) {
77320
- var path18 = Path.parse(pattern);
77320
+ var path17 = Path.parse(pattern);
77321
77321
  var compiled = compile(value, scope);
77322
- var key = path18.segments[0];
77322
+ var key = path17.segments[0];
77323
77323
  if (compiled === void 0)
77324
77324
  return;
77325
77325
  if (hasOwnProperty5.call(targetState, key)) {
77326
77326
  untracked(function() {
77327
- return Path.setIn(targetState, path18, compiled);
77327
+ return Path.setIn(targetState, path17, compiled);
77328
77328
  });
77329
77329
  }
77330
77330
  });
@@ -77333,7 +77333,7 @@ var patchSchemaCompile = function(targetState, sourceSchema, scope, demand) {
77333
77333
  if (demand === void 0) {
77334
77334
  demand = false;
77335
77335
  }
77336
- traverseSchema(sourceSchema, function(value, path18, omitCompile) {
77336
+ traverseSchema(sourceSchema, function(value, path17, omitCompile) {
77337
77337
  var compiled = value;
77338
77338
  var collected = hasCollected(function() {
77339
77339
  if (!omitCompile) {
@@ -77344,10 +77344,10 @@ var patchSchemaCompile = function(targetState, sourceSchema, scope, demand) {
77344
77344
  return;
77345
77345
  if (demand) {
77346
77346
  if (collected || !targetState.initialized) {
77347
- patchStateFormSchema(targetState, path18, compiled);
77347
+ patchStateFormSchema(targetState, path17, compiled);
77348
77348
  }
77349
77349
  } else {
77350
- patchStateFormSchema(targetState, path18, compiled);
77350
+ patchStateFormSchema(targetState, path17, compiled);
77351
77351
  }
77352
77352
  });
77353
77353
  };
@@ -77631,14 +77631,14 @@ var getISOCode = function(language) {
77631
77631
  });
77632
77632
  return isoCode;
77633
77633
  };
77634
- var getLocaleByPath = function(path18, lang) {
77634
+ var getLocaleByPath = function(path17, lang) {
77635
77635
  if (lang === void 0) {
77636
77636
  lang = registry.locales.language;
77637
77637
  }
77638
- return getIn2(registry.locales.messages, "".concat(getISOCode(lang), ".").concat(path18));
77638
+ return getIn2(registry.locales.messages, "".concat(getISOCode(lang), ".").concat(path17));
77639
77639
  };
77640
- var getValidateLocale = function(path18) {
77641
- var message = getLocaleByPath(path18);
77640
+ var getValidateLocale = function(path17) {
77641
+ var message = getLocaleByPath(path17);
77642
77642
  return message || getLocaleByPath("pattern") || getLocaleByPath("pattern", defaultLanguage);
77643
77643
  };
77644
77644
  var getValidateMessageTemplateEngine = function() {
@@ -78899,15 +78899,15 @@ var buildFieldPath = function(field) {
78899
78899
  var buildDataPath = function(fields, pattern) {
78900
78900
  var prevArray = false;
78901
78901
  var segments = pattern.segments;
78902
- var path18 = segments.reduce(function(path19, key, index) {
78903
- var currentPath = path19.concat(key);
78902
+ var path17 = segments.reduce(function(path18, key, index) {
78903
+ var currentPath = path18.concat(key);
78904
78904
  var currentAddress = segments.slice(0, index + 1);
78905
78905
  var current = fields[currentAddress.join(".")];
78906
78906
  if (prevArray) {
78907
78907
  if (!isVoidField(current)) {
78908
78908
  prevArray = false;
78909
78909
  }
78910
- return path19;
78910
+ return path18;
78911
78911
  }
78912
78912
  if (index >= segments.length - 1) {
78913
78913
  return currentPath;
@@ -78919,13 +78919,13 @@ var buildDataPath = function(fields, pattern) {
78919
78919
  prevArray = true;
78920
78920
  return currentPath;
78921
78921
  }
78922
- return path19;
78922
+ return path18;
78923
78923
  } else {
78924
78924
  prevArray = false;
78925
78925
  }
78926
78926
  return currentPath;
78927
78927
  }, []);
78928
- return new Path(path18);
78928
+ return new Path(path17);
78929
78929
  };
78930
78930
  var locateNode = function(field, address) {
78931
78931
  field.address = Path.parse(address);
@@ -78959,33 +78959,33 @@ var destroy = function(target, address, forceClear) {
78959
78959
  field === null || field === void 0 ? void 0 : field.dispose();
78960
78960
  if (isDataField(field) && forceClear) {
78961
78961
  var form = field.form;
78962
- var path18 = field.path;
78963
- form.deleteValuesIn(path18);
78964
- form.deleteInitialValuesIn(path18);
78962
+ var path17 = field.path;
78963
+ form.deleteValuesIn(path17);
78964
+ form.deleteInitialValuesIn(path17);
78965
78965
  }
78966
78966
  delete target[address];
78967
78967
  };
78968
- var patchFormValues = function(form, path18, source) {
78969
- var update = function(path19, source2) {
78970
- if (path19.length) {
78971
- form.setValuesIn(path19, clone(source2));
78968
+ var patchFormValues = function(form, path17, source) {
78969
+ var update = function(path18, source2) {
78970
+ if (path18.length) {
78971
+ form.setValuesIn(path18, clone(source2));
78972
78972
  } else {
78973
78973
  Object.assign(form.values, clone(source2));
78974
78974
  }
78975
78975
  };
78976
- var patch = function(source2, path19) {
78977
- if (path19 === void 0) {
78978
- path19 = [];
78976
+ var patch = function(source2, path18) {
78977
+ if (path18 === void 0) {
78978
+ path18 = [];
78979
78979
  }
78980
- var targetValue = form.getValuesIn(path19);
78981
- var targetField = form.query(path19).take();
78980
+ var targetValue = form.getValuesIn(path18);
78981
+ var targetField = form.query(path18).take();
78982
78982
  var isUnVoidField = targetField && !isVoidField(targetField);
78983
78983
  if (isUnVoidField && targetField.display === "none") {
78984
78984
  targetField.caches.value = clone(source2);
78985
78985
  return;
78986
78986
  }
78987
78987
  if (allowAssignDefaultValue(targetValue, source2)) {
78988
- update(path19, source2);
78988
+ update(path18, source2);
78989
78989
  } else {
78990
78990
  if (isEmpty(source2))
78991
78991
  return;
@@ -78993,20 +78993,20 @@ var patchFormValues = function(form, path18, source) {
78993
78993
  return;
78994
78994
  if (isPlainObj(targetValue) && isPlainObj(source2)) {
78995
78995
  each(source2, function(value, key) {
78996
- patch(value, path19.concat(key));
78996
+ patch(value, path18.concat(key));
78997
78997
  });
78998
78998
  } else {
78999
78999
  if (targetField) {
79000
79000
  if (isUnVoidField && !targetField.selfModified) {
79001
- update(path19, source2);
79001
+ update(path18, source2);
79002
79002
  }
79003
79003
  } else if (form.initialized) {
79004
- update(path19, source2);
79004
+ update(path18, source2);
79005
79005
  }
79006
79006
  }
79007
79007
  }
79008
79008
  };
79009
- patch(source, path18);
79009
+ patch(source, path17);
79010
79010
  };
79011
79011
  var matchFeedback = function(search, feedback) {
79012
79012
  if (!search || !feedback)
@@ -79429,13 +79429,13 @@ var createBatchStateSetter = function(form) {
79429
79429
  } else if (isGeneralField(pattern)) {
79430
79430
  pattern.setState(payload);
79431
79431
  } else {
79432
- var matchCount_1 = 0, path18 = Path.parse(pattern);
79433
- form.query(path18).forEach(function(field) {
79432
+ var matchCount_1 = 0, path17 = Path.parse(pattern);
79433
+ form.query(path17).forEach(function(field) {
79434
79434
  field.setState(payload);
79435
79435
  matchCount_1++;
79436
79436
  });
79437
- if (matchCount_1 === 0 || path18.isWildMatchPattern) {
79438
- subscribeUpdate(form, path18, payload);
79437
+ if (matchCount_1 === 0 || path17.isWildMatchPattern) {
79438
+ subscribeUpdate(form, path17, payload);
79439
79439
  }
79440
79440
  }
79441
79441
  });
@@ -82051,8 +82051,8 @@ var FieldEffects = {
82051
82051
  };
82052
82052
  var DefaultFieldEffects = ["onFieldInit", "onFieldValueChange"];
82053
82053
  var getDependencyValue = function(field, pattern, property) {
82054
- var _a2 = __read7(String(pattern).split(/\s*#\s*/), 2), target = _a2[0], path18 = _a2[1];
82055
- return field.query(target).getIn(path18 || property || "value");
82054
+ var _a2 = __read7(String(pattern).split(/\s*#\s*/), 2), target = _a2[0], path17 = _a2[1];
82055
+ return field.query(target).getIn(path17 || property || "value");
82056
82056
  };
82057
82057
  var getDependencies = function(field, dependencies) {
82058
82058
  if (isArr(dependencies)) {
@@ -83447,7 +83447,6 @@ var ZH_LOCALE2 = {
83447
83447
  self: "请选择你想创建的工程类型",
83448
83448
  mwa: "Web 应用",
83449
83449
  module: "Npm 模块",
83450
- monorepo: "Monorepo",
83451
83450
  custom: "自定义",
83452
83451
  default: "默认"
83453
83452
  },
@@ -83468,8 +83467,6 @@ var ZH_LOCALE2 = {
83468
83467
  bff: "启用「BFF」功能",
83469
83468
  micro_frontend: "启用「微前端」模式",
83470
83469
  i18n: "启用「国际化(i18n)」功能",
83471
- test: "启用「单元测试 / 集成测试」功能",
83472
- e2e_test: "启用「E2E 测试」功能",
83473
83470
  storybookV7: "启用「Storybook」V7",
83474
83471
  runtime_api: "启用「Runtime API」",
83475
83472
  ssg: "启用「SSG」功能",
@@ -83542,7 +83539,6 @@ var EN_LOCALE2 = {
83542
83539
  self: "Please select the type of project you want to create:",
83543
83540
  mwa: "Web App",
83544
83541
  module: "Npm Module",
83545
- monorepo: "Monorepo",
83546
83542
  custom: "Custom Solution",
83547
83543
  default: "Default"
83548
83544
  },
@@ -83552,8 +83548,7 @@ var EN_LOCALE2 = {
83552
83548
  sub_solution: {
83553
83549
  self: "Please select the type of project you want to create:",
83554
83550
  mwa: "Web App",
83555
- module: "Npm Module",
83556
- monorepo: "Monorepo"
83551
+ module: "Npm Module"
83557
83552
  },
83558
83553
  action: {
83559
83554
  self: "Please select the operation you want:",
@@ -83564,8 +83559,6 @@ var EN_LOCALE2 = {
83564
83559
  bff: "Enable BFF",
83565
83560
  micro_frontend: "Enable Micro Frontend",
83566
83561
  i18n: "Enable Internationalization (i18n)",
83567
- test: "Enable Unit Test / Integration Test",
83568
- e2e_test: "Enable E2E Test",
83569
83562
  storybookV7: "Enable Storybook V7",
83570
83563
  runtime_api: "Enable Runtime API",
83571
83564
  ssg: "Enable SSG",
@@ -83651,26 +83644,14 @@ var Solution;
83651
83644
  (function(Solution22) {
83652
83645
  Solution22["MWA"] = "mwa";
83653
83646
  Solution22["Module"] = "module";
83654
- Solution22["Monorepo"] = "monorepo";
83655
83647
  })(Solution || (Solution = {}));
83656
- var SubSolution;
83657
- (function(SubSolution22) {
83658
- SubSolution22["MWA"] = "mwa";
83659
- SubSolution22["Module"] = "module";
83660
- })(SubSolution || (SubSolution = {}));
83661
83648
  var SolutionText = {
83662
83649
  ["mwa"]: () => i18n2.t(localeKeys2.solution.mwa),
83663
- ["module"]: () => i18n2.t(localeKeys2.solution.module),
83664
- ["monorepo"]: () => i18n2.t(localeKeys2.solution.monorepo)
83665
- };
83666
- var SubSolutionText = {
83667
- ["mwa"]: () => i18n2.t(localeKeys2.sub_solution.mwa),
83668
- ["module"]: () => i18n2.t(localeKeys2.sub_solution.module)
83650
+ ["module"]: () => i18n2.t(localeKeys2.solution.module)
83669
83651
  };
83670
83652
  var SolutionToolsMap = {
83671
83653
  ["mwa"]: "@modern-js/app-tools",
83672
- ["module"]: "@modern-js/module-tools",
83673
- ["monorepo"]: "@modern-js/monorepo-tools"
83654
+ ["module"]: "@modern-js/module-tools"
83674
83655
  };
83675
83656
  var getSolutionSchema = (extra = {}) => {
83676
83657
  return {
@@ -83681,9 +83662,9 @@ var getSolutionSchema = (extra = {}) => {
83681
83662
  title: extra.isMonorepo ? i18n2.t(localeKeys2.sub_solution.self) : i18n2.t(localeKeys2.solution.self),
83682
83663
  enum: (() => {
83683
83664
  var _extra_customPlugin_custom, _extra_customPlugin;
83684
- const items = ((extra === null || extra === void 0 ? void 0 : extra.solutions) || Object.values((extra === null || extra === void 0 ? void 0 : extra.isMonorepo) ? SubSolution : Solution)).filter((solution) => !((extra === null || extra === void 0 ? void 0 : extra.isSubProject) && solution === "monorepo")).map((solution) => ({
83665
+ const items = ((extra === null || extra === void 0 ? void 0 : extra.solutions) || Object.values(Solution)).map((solution) => ({
83685
83666
  value: solution,
83686
- label: (extra === null || extra === void 0 ? void 0 : extra.isMonorepo) ? SubSolutionText[solution]() : SolutionText[solution]()
83667
+ label: SolutionText[solution]()
83687
83668
  }));
83688
83669
  if (extra === null || extra === void 0 ? void 0 : (_extra_customPlugin = extra.customPlugin) === null || _extra_customPlugin === void 0 ? void 0 : (_extra_customPlugin_custom = _extra_customPlugin.custom) === null || _extra_customPlugin_custom === void 0 ? void 0 : _extra_customPlugin_custom.length) {
83689
83670
  return [
@@ -83717,7 +83698,7 @@ var getScenesSchema = (extra = {}) => {
83717
83698
  if (solution && solution !== "custom") {
83718
83699
  items.unshift({
83719
83700
  value: solution,
83720
- label: `${(extra === null || extra === void 0 ? void 0 : extra.isMonorepoSubProject) ? SubSolutionText[solution]() : SolutionText[solution]()}(${i18n2.t(localeKeys2.solution.default)})`
83701
+ label: `${SolutionText[solution]()}(${i18n2.t(localeKeys2.solution.default)})`
83721
83702
  });
83722
83703
  }
83723
83704
  return items;
@@ -83728,11 +83709,6 @@ var getScenesSchema = (extra = {}) => {
83728
83709
  };
83729
83710
  var BaseGenerator = "@modern-js/base-generator";
83730
83711
  var SolutionGenerator = {
83731
- ["mwa"]: "@modern-js/mwa-generator",
83732
- ["module"]: "@modern-js/module-generator",
83733
- ["monorepo"]: "@modern-js/monorepo-generator"
83734
- };
83735
- var SubSolutionGenerator = {
83736
83712
  ["mwa"]: "@modern-js/mwa-generator",
83737
83713
  ["module"]: "@modern-js/module-generator"
83738
83714
  };
@@ -83879,19 +83855,6 @@ var ModuleDefaultConfig = {
83879
83855
  packageManager: PackageManager.Pnpm
83880
83856
  };
83881
83857
 
83882
- // ../../generator-common/dist/esm-node/monorepo/project.js
83883
- var getMonorepoSchema = (extra = {}) => {
83884
- return {
83885
- type: "object",
83886
- properties: {
83887
- packageManager: getPackageManagerSchema(extra)
83888
- }
83889
- };
83890
- };
83891
- var MonorepoDefaultConfig = {
83892
- packageManager: PackageManager.Pnpm
83893
- };
83894
-
83895
83858
  // ../../generator-common/dist/esm-node/mwa/common.js
83896
83859
  var Framework;
83897
83860
  (function(Framework2) {
@@ -83955,8 +83918,6 @@ var ActionFunction;
83955
83918
  ActionFunction2["BFF"] = "bff";
83956
83919
  ActionFunction2["MicroFrontend"] = "micro_frontend";
83957
83920
  ActionFunction2["I18n"] = "i18n";
83958
- ActionFunction2["Test"] = "test";
83959
- ActionFunction2["E2ETest"] = "e2e_test";
83960
83921
  ActionFunction2["StorybookV7"] = "storybookV7";
83961
83922
  ActionFunction2["RuntimeApi"] = "runtimeApi";
83962
83923
  ActionFunction2["SSG"] = "ssg";
@@ -83988,8 +83949,6 @@ var ActionFunctionText = {
83988
83949
  ["bff"]: () => i18n2.t(localeKeys2.action.function.bff),
83989
83950
  ["micro_frontend"]: () => i18n2.t(localeKeys2.action.function.micro_frontend),
83990
83951
  ["i18n"]: () => i18n2.t(localeKeys2.action.function.i18n),
83991
- ["test"]: () => i18n2.t(localeKeys2.action.function.test),
83992
- ["e2e_test"]: () => i18n2.t(localeKeys2.action.function.e2e_test),
83993
83952
  ["storybookV7"]: () => i18n2.t(localeKeys2.action.function.storybookV7),
83994
83953
  ["runtimeApi"]: () => i18n2.t(localeKeys2.action.function.runtime_api),
83995
83954
  ["ssg"]: () => i18n2.t(localeKeys2.action.function.ssg),
@@ -84014,7 +83973,6 @@ var MWAActionFunctions = [
84014
83973
  ActionFunction.SSG,
84015
83974
  ActionFunction.SWC,
84016
83975
  ActionFunction.MicroFrontend,
84017
- ActionFunction.Test,
84018
83976
  ActionFunction.Polyfill,
84019
83977
  ActionFunction.Proxy,
84020
83978
  ActionFunction.StorybookV7
@@ -84111,7 +84069,6 @@ var getMWANewActionSchema = () => {
84111
84069
  };
84112
84070
  var MWAActionFunctionsDevDependencies = {
84113
84071
  [ActionFunction.SSG]: "@modern-js/plugin-ssg",
84114
- [ActionFunction.Test]: "@modern-js/plugin-testing",
84115
84072
  [ActionFunction.StorybookV7]: "@modern-js/storybook",
84116
84073
  [ActionFunction.Proxy]: "@modern-js/plugin-proxy",
84117
84074
  [ActionFunction.TailwindCSS]: "tailwindcss",
@@ -84124,8 +84081,7 @@ var MWAActionFunctionsDependencies = {
84124
84081
  [ActionFunction.Polyfill]: "@modern-js/plugin-polyfill"
84125
84082
  };
84126
84083
  var MWAActionFunctionsAppendTypeContent = {
84127
- [ActionFunction.MicroFrontend]: `/// <reference types='@modern-js/plugin-garfish/types' />`,
84128
- [ActionFunction.Test]: `/// <reference types='@modern-js/plugin-testing/types' />`
84084
+ [ActionFunction.MicroFrontend]: `/// <reference types='@modern-js/plugin-garfish/types' />`
84129
84085
  };
84130
84086
  var MWAActionRefactorDependencies = {
84131
84087
  [ActionRefactor.ReactRouter5]: "@modern-js/plugin-router-v5"
@@ -84142,7 +84098,6 @@ var MWANewActionGenerators = {
84142
84098
  [ActionFunction.TailwindCSS]: "@modern-js/tailwindcss-generator",
84143
84099
  [ActionFunction.BFF]: "@modern-js/bff-generator",
84144
84100
  [ActionFunction.MicroFrontend]: "@modern-js/dependence-generator",
84145
- [ActionFunction.Test]: "@modern-js/test-generator",
84146
84101
  [ActionFunction.StorybookV7]: "@modern-js/storybook-next-generator",
84147
84102
  [ActionFunction.SSG]: "@modern-js/ssg-generator",
84148
84103
  [ActionFunction.Polyfill]: "@modern-js/dependence-generator",
@@ -84161,14 +84116,13 @@ var MWANewActionPluginName = {
84161
84116
  [ActionFunction.TailwindCSS]: "tailwindcssPlugin",
84162
84117
  [ActionFunction.BFF]: "bffPlugin",
84163
84118
  [ActionFunction.MicroFrontend]: "garfishPlugin",
84164
- [ActionFunction.Test]: "testingPlugin",
84165
84119
  [ActionFunction.SSG]: "ssgPlugin",
84166
84120
  [ActionFunction.Polyfill]: "polyfillPlugin",
84167
84121
  [ActionFunction.Proxy]: "proxyPlugin",
84168
84122
  [ActionFunction.SWC]: "swcPlugin"
84169
84123
  },
84170
84124
  [ActionType.Refactor]: {
84171
- [ActionRefactor.ReactRouter5]: "reactRouter5Plugin"
84125
+ [ActionRefactor.ReactRouter5]: "routerPlugin"
84172
84126
  }
84173
84127
  };
84174
84128
  var MWANewActionPluginDependence = {
@@ -84179,7 +84133,6 @@ var MWANewActionPluginDependence = {
84179
84133
  [ActionFunction.TailwindCSS]: "@modern-js/plugin-tailwindcss",
84180
84134
  [ActionFunction.BFF]: "@modern-js/plugin-bff",
84181
84135
  [ActionFunction.MicroFrontend]: "@modern-js/plugin-garfish",
84182
- [ActionFunction.Test]: "@modern-js/plugin-testing",
84183
84136
  [ActionFunction.SSG]: "@modern-js/plugin-ssg",
84184
84137
  [ActionFunction.Polyfill]: "@modern-js/plugin-polyfill",
84185
84138
  [ActionFunction.Proxy]: "@modern-js/plugin-proxy",
@@ -84203,7 +84156,6 @@ var ModuleActionTypes = [
84203
84156
  ActionType.Function
84204
84157
  ];
84205
84158
  var ModuleActionFunctions = [
84206
- ActionFunction.Test,
84207
84159
  ActionFunction.TailwindCSS,
84208
84160
  ActionFunction.StorybookV7,
84209
84161
  ActionFunction.RuntimeApi,
@@ -84252,7 +84204,6 @@ var getModuleNewActionSchema = () => {
84252
84204
  };
84253
84205
  var ModuleActionFunctionsDevDependencies = {
84254
84206
  [ActionFunction.StorybookV7]: "@modern-js/storybook",
84255
- [ActionFunction.Test]: "@modern-js/plugin-testing",
84256
84207
  [ActionFunction.RuntimeApi]: "@modern-js/runtime",
84257
84208
  [ActionFunction.TailwindCSS]: "tailwindcss",
84258
84209
  [ActionFunction.ModuleDoc]: "@modern-js/plugin-rspress"
@@ -84266,7 +84217,6 @@ var ModuleActionFunctionsDependencies = {
84266
84217
  };
84267
84218
  var ModuleNewActionGenerators = {
84268
84219
  [ActionType.Function]: {
84269
- [ActionFunction.Test]: "@modern-js/module-test-generator",
84270
84220
  [ActionFunction.TailwindCSS]: "@modern-js/tailwindcss-generator",
84271
84221
  [ActionFunction.StorybookV7]: "@modern-js/storybook-next-generator",
84272
84222
  [ActionFunction.RuntimeApi]: "@modern-js/dependence-generator",
@@ -84276,46 +84226,24 @@ var ModuleNewActionGenerators = {
84276
84226
  var ModuleNewActionPluginName = {
84277
84227
  [ActionType.Function]: {
84278
84228
  [ActionFunction.TailwindCSS]: "tailwindcssPlugin",
84279
- [ActionFunction.ModuleDoc]: "modulePluginDoc",
84280
- [ActionFunction.Test]: "testingPlugin"
84229
+ [ActionFunction.ModuleDoc]: "modulePluginDoc"
84281
84230
  }
84282
84231
  };
84283
84232
  var ModuleNewActionPluginDependence = {
84284
84233
  [ActionType.Function]: {
84285
- [ActionFunction.Test]: "@modern-js/plugin-testing",
84286
84234
  [ActionFunction.TailwindCSS]: "@modern-js/plugin-tailwindcss",
84287
84235
  [ActionFunction.ModuleDoc]: "@modern-js/plugin-rspress"
84288
84236
  }
84289
84237
  };
84290
84238
 
84291
- // ../../generator-common/dist/esm-node/newAction/monorepo/index.js
84292
- var getMonorepoNewActionSchema = (extra = {}) => {
84293
- return {
84294
- type: "object",
84295
- properties: {
84296
- solution: getSolutionSchema(extra)
84297
- }
84298
- };
84299
- };
84300
- var MonorepoNewActionConfig = {
84301
- [SubSolution.MWA]: {
84302
- isMonorepoSubProject: true
84303
- },
84304
- [SubSolution.Module]: {
84305
- isMonorepoSubProject: true
84306
- }
84307
- };
84308
-
84309
84239
  // ../../generator-common/dist/esm-node/index.js
84310
84240
  var SolutionDefaultConfig = {
84311
84241
  [Solution.MWA]: MWADefaultConfig,
84312
- [Solution.Module]: ModuleDefaultConfig,
84313
- [Solution.Monorepo]: MonorepoDefaultConfig
84242
+ [Solution.Module]: ModuleDefaultConfig
84314
84243
  };
84315
84244
  var SolutionSchemas = {
84316
84245
  [Solution.MWA]: getMWASchema,
84317
84246
  [Solution.Module]: getModuleSchema,
84318
- [Solution.Monorepo]: getMonorepoSchema,
84319
84247
  custom: getBaseSchema
84320
84248
  };
84321
84249
 
@@ -84704,8 +84632,8 @@ function _to_consumable_array(arr) {
84704
84632
  }
84705
84633
 
84706
84634
  // ../../generator-plugin/dist/esm/index.js
84707
- var import_path18 = __toESM(require("path"));
84708
- var import_lodash14 = require("@modern-js/utils/lodash");
84635
+ var import_path17 = __toESM(require("path"));
84636
+ var import_lodash13 = require("@modern-js/utils/lodash");
84709
84637
 
84710
84638
  // ../../../../node_modules/.pnpm/@swc+helpers@0.5.3/node_modules/@swc/helpers/esm/_create_class.js
84711
84639
  function _defineProperties(target, props) {
@@ -86007,68 +85935,6 @@ var ModuleNewAction = async (options) => {
86007
85935
  });
86008
85936
  };
86009
85937
 
86010
- // ../../new-action/dist/esm/monorepo.js
86011
- var import_path16 = __toESM(require("path"));
86012
- var import_lodash12 = require("@modern-js/utils/lodash");
86013
- var REPO_GENERATOR = "@modern-js/repo-generator";
86014
- var MonorepoNewAction = async (options) => {
86015
- const { locale = "zh", distTag = "", debug = false, registry: registry2 = "", config = "{}", plugin = [], cwd = process.cwd(), needInstall = true } = options;
86016
- let UserConfig = {};
86017
- try {
86018
- UserConfig = JSON.parse(config);
86019
- } catch (e) {
86020
- throw new Error("config is not a valid json");
86021
- }
86022
- i18n2.changeLanguage({
86023
- locale: UserConfig.locale || locale
86024
- });
86025
- const smith = new CodeSmith({
86026
- debug,
86027
- registryUrl: registry2
86028
- });
86029
- if (!alreadyRepo(cwd)) {
86030
- smith.logger.warn("not valid modern.js repo");
86031
- }
86032
- const plugins = plugin.map((plugin2) => {
86033
- try {
86034
- return import_path16.default.join(require.resolve(plugin2), "../../");
86035
- } catch (e) {
86036
- try {
86037
- return import_path16.default.join(require.resolve(plugin2), "../../../../");
86038
- } catch (e2) {
86039
- return plugin2;
86040
- }
86041
- }
86042
- });
86043
- const finalConfig = (0, import_lodash12.merge)(UserConfig, {
86044
- locale: UserConfig.locale || locale,
86045
- packageManager: UserConfig.packageManager || await (0, import_utils50.getPackageManager)(cwd),
86046
- isMonorepo: true,
86047
- distTag,
86048
- plugins,
86049
- noNeedInstall: !needInstall
86050
- });
86051
- let generator = REPO_GENERATOR;
86052
- if (process.env.CODESMITH_ENV === "development") {
86053
- generator = require.resolve(generator);
86054
- } else if (distTag) {
86055
- generator = `${generator}@${distTag}`;
86056
- }
86057
- const task = [
86058
- {
86059
- name: generator,
86060
- config: finalConfig
86061
- }
86062
- ];
86063
- await smith.forge({
86064
- tasks: task.map((runner) => ({
86065
- generator: runner.name,
86066
- config: runner.config
86067
- })),
86068
- pwd: cwd
86069
- });
86070
- };
86071
-
86072
85938
  // ../../generator-plugin/dist/esm/context/new.js
86073
85939
  var PluginNewAPI = /* @__PURE__ */ function() {
86074
85940
  "use strict";
@@ -86177,46 +86043,13 @@ var PluginNewAPI = /* @__PURE__ */ function() {
86177
86043
  });
86178
86044
  })();
86179
86045
  };
86180
- _proto.createSubProject = function createSubProject(solution, params) {
86181
- var _this = this;
86182
- return _async_to_generator(function() {
86183
- return __generator(this, function(_state) {
86184
- switch (_state.label) {
86185
- case 0:
86186
- if (!(_this.solution === Solution.Monorepo))
86187
- return [
86188
- 3,
86189
- 2
86190
- ];
86191
- return [
86192
- 4,
86193
- MonorepoNewAction({
86194
- config: JSON.stringify(_object_spread({
86195
- solution,
86196
- noNeedInstall: true
86197
- }, _this.inputData, params)),
86198
- cwd: _this.projectPath
86199
- })
86200
- ];
86201
- case 1:
86202
- _state.sent();
86203
- return [
86204
- 2
86205
- ];
86206
- case 2:
86207
- throw new Error("this solution project not support create subproject");
86208
- }
86209
- });
86210
- })();
86211
- };
86212
86046
  _create_class(PluginNewAPI2, [
86213
86047
  {
86214
86048
  key: "method",
86215
86049
  get: function get4() {
86216
86050
  return {
86217
86051
  createElement: this.createElement.bind(this),
86218
- enableFunc: this.enableFunc.bind(this),
86219
- createSubProject: this.createSubProject.bind(this)
86052
+ enableFunc: this.enableFunc.bind(this)
86220
86053
  };
86221
86054
  }
86222
86055
  }
@@ -86286,13 +86119,13 @@ var PluginContext = /* @__PURE__ */ function() {
86286
86119
  }();
86287
86120
 
86288
86121
  // ../../generator-plugin/dist/esm/utils/index.js
86289
- var import_path17 = __toESM(require("path"));
86122
+ var import_path16 = __toESM(require("path"));
86290
86123
 
86291
86124
  // ../../generator-plugin/dist/esm/utils/module.js
86292
- var import_lodash13 = require("@modern-js/utils/lodash");
86125
+ var import_lodash12 = require("@modern-js/utils/lodash");
86293
86126
  function requireModule(modulePath) {
86294
86127
  var module2 = require(modulePath);
86295
- return (0, import_lodash13.get)(module2, [
86128
+ return (0, import_lodash12.get)(module2, [
86296
86129
  "default"
86297
86130
  ]) || module2;
86298
86131
  }
@@ -86370,7 +86203,7 @@ function _installPlugins() {
86370
86203
  switch (_state2.label) {
86371
86204
  case 0:
86372
86205
  if (plugin.startsWith("file:")) {
86373
- pluginPath = import_path17.default.join(process.cwd(), plugin.slice(5));
86206
+ pluginPath = import_path16.default.join(process.cwd(), plugin.slice(5));
86374
86207
  return [
86375
86208
  2,
86376
86209
  {
@@ -86379,7 +86212,7 @@ function _installPlugins() {
86379
86212
  }
86380
86213
  ];
86381
86214
  }
86382
- if (import_path17.default.isAbsolute(plugin)) {
86215
+ if (import_path16.default.isAbsolute(plugin)) {
86383
86216
  return [
86384
86217
  2,
86385
86218
  {
@@ -86487,7 +86320,7 @@ var GeneratorPlugin = /* @__PURE__ */ function() {
86487
86320
  ];
86488
86321
  return [
86489
86322
  4,
86490
- import_utils50.fs.readJSON(import_path18.default.join(process.cwd(), plugin.slice(5), "package.json"))
86323
+ import_utils50.fs.readJSON(import_path17.default.join(process.cwd(), plugin.slice(5), "package.json"))
86491
86324
  ];
86492
86325
  case 1:
86493
86326
  pkgJSON = _state2.sent();
@@ -86496,14 +86329,14 @@ var GeneratorPlugin = /* @__PURE__ */ function() {
86496
86329
  6
86497
86330
  ];
86498
86331
  case 2:
86499
- if (!import_path18.default.isAbsolute(plugin))
86332
+ if (!import_path17.default.isAbsolute(plugin))
86500
86333
  return [
86501
86334
  3,
86502
86335
  4
86503
86336
  ];
86504
86337
  return [
86505
86338
  4,
86506
- import_utils50.fs.readJSON(import_path18.default.join(plugin, "package.json"))
86339
+ import_utils50.fs.readJSON(import_path17.default.join(plugin, "package.json"))
86507
86340
  ];
86508
86341
  case 3:
86509
86342
  pkgJSON = _state2.sent();
@@ -86593,7 +86426,7 @@ var GeneratorPlugin = /* @__PURE__ */ function() {
86593
86426
  try {
86594
86427
  for (var _iterator = this.plugins[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
86595
86428
  var info = _step.value;
86596
- result = (0, import_lodash14.merge)(result, info.context.inputContext.inputValue);
86429
+ result = (0, import_lodash13.merge)(result, info.context.inputContext.inputValue);
86597
86430
  }
86598
86431
  } catch (err) {
86599
86432
  _didIteratorError = true;
@@ -86617,7 +86450,7 @@ var GeneratorPlugin = /* @__PURE__ */ function() {
86617
86450
  try {
86618
86451
  for (var _iterator = this.plugins[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
86619
86452
  var info = _step.value;
86620
- result = (0, import_lodash14.merge)(result, info.context.inputContext.defaultConfig);
86453
+ result = (0, import_lodash13.merge)(result, info.context.inputContext.defaultConfig);
86621
86454
  }
86622
86455
  } catch (err) {
86623
86456
  _didIteratorError = true;
@@ -86755,9 +86588,9 @@ var GeneratorPlugin = /* @__PURE__ */ function() {
86755
86588
  5
86756
86589
  ];
86757
86590
  info = _step.value;
86758
- (_info_context = info.context) === null || _info_context === void 0 ? void 0 : _info_context.handlePrepareContext(generatorCore, solution, import_path18.default.join(basePath, projectPath), import_path18.default.join(info.templatePath, "templates"), restData);
86591
+ (_info_context = info.context) === null || _info_context === void 0 ? void 0 : _info_context.handlePrepareContext(generatorCore, solution, import_path17.default.join(basePath, projectPath), import_path17.default.join(info.templatePath, "templates"), restData);
86759
86592
  onForgedFunc = (_info_context1 = info.context) === null || _info_context1 === void 0 ? void 0 : _info_context1.lifeCycleFuncMap[LifeCycle2.OnForged];
86760
- if (!(onForgedFunc && (0, import_lodash14.isFunction)(onForgedFunc)))
86593
+ if (!(onForgedFunc && (0, import_lodash13.isFunction)(onForgedFunc)))
86761
86594
  return [
86762
86595
  3,
86763
86596
  4
@@ -86821,7 +86654,7 @@ var GeneratorPlugin = /* @__PURE__ */ function() {
86821
86654
  ];
86822
86655
  info1 = _step1.value;
86823
86656
  afterForged = (_info_context2 = info1.context) === null || _info_context2 === void 0 ? void 0 : _info_context2.lifeCycleFuncMap[LifeCycle2.AfterForged];
86824
- if (!(afterForged && (0, import_lodash14.isFunction)(afterForged)))
86657
+ if (!(afterForged && (0, import_lodash13.isFunction)(afterForged)))
86825
86658
  return [
86826
86659
  3,
86827
86660
  12
@@ -86883,7 +86716,7 @@ var GeneratorPlugin = /* @__PURE__ */ function() {
86883
86716
  var mergeDefaultConfig = (context) => {
86884
86717
  const { defaultSolution } = context.config;
86885
86718
  if (defaultSolution) {
86886
- (0, import_lodash15.merge)(
86719
+ (0, import_lodash14.merge)(
86887
86720
  context.config,
86888
86721
  { solution: defaultSolution },
86889
86722
  SolutionDefaultConfig[defaultSolution]
@@ -86903,19 +86736,12 @@ var getNeedRunPlugin = (context, generatorPlugin) => {
86903
86736
  return Boolean((_a2 = customPlugin[solution]) == null ? void 0 : _a2.find((plugin) => plugin.key === scenes));
86904
86737
  };
86905
86738
  var handleTemplateFile = async (context, generator, appApi, generatorPlugin) => {
86906
- const { isMonorepo } = context.config;
86907
- const { solution } = await appApi.getInputBySchemaFunc(
86908
- isMonorepo ? getMonorepoNewActionSchema : getSolutionSchema,
86909
- {
86910
- ...context.config,
86911
- customPlugin: generatorPlugin == null ? void 0 : generatorPlugin.customPlugin
86912
- }
86913
- );
86739
+ const { solution } = await appApi.getInputBySchemaFunc(getSolutionSchema, {
86740
+ ...context.config,
86741
+ customPlugin: generatorPlugin == null ? void 0 : generatorPlugin.customPlugin
86742
+ });
86914
86743
  await appApi.getInputBySchemaFunc(getScenesSchema, context.config);
86915
- const solutionGenerator = (
86916
- // eslint-disable-next-line no-nested-ternary
86917
- solution === "custom" ? BaseGenerator : isMonorepo ? SubSolutionGenerator[solution] : SolutionGenerator[solution]
86918
- );
86744
+ const solutionGenerator = solution === "custom" ? BaseGenerator : SolutionGenerator[solution];
86919
86745
  if (!solution || !solutionGenerator) {
86920
86746
  generator.logger.error("solution is not valid ");
86921
86747
  }
@@ -86923,7 +86749,6 @@ var handleTemplateFile = async (context, generator, appApi, generatorPlugin) =>
86923
86749
  getGeneratorPath(solutionGenerator, context.config.distTag, [__dirname]),
86924
86750
  void 0,
86925
86751
  {
86926
- ...isMonorepo ? MonorepoNewActionConfig[solution] || {} : {},
86927
86752
  ...context.config,
86928
86753
  hasPlugin: getNeedRunPlugin(context, generatorPlugin),
86929
86754
  generatorPlugin