@modern-js/server-generator 3.7.49 → 3.7.50

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 (2) hide show
  1. package/dist/index.js +576 -417
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -18432,9 +18432,9 @@ var require_iterate = __commonJS({
18432
18432
  var async = require_async();
18433
18433
  var abort = require_abort();
18434
18434
  module2.exports = iterate;
18435
- function iterate(list, iterator, state, callback) {
18435
+ function iterate(list, iterator2, state, callback) {
18436
18436
  var key2 = state["keyedList"] ? state["keyedList"][state.index] : state.index;
18437
- state.jobs[key2] = runJob(iterator, key2, list[key2], function(error, output) {
18437
+ state.jobs[key2] = runJob(iterator2, key2, list[key2], function(error, output) {
18438
18438
  if (!(key2 in state.jobs)) {
18439
18439
  return;
18440
18440
  }
@@ -18447,12 +18447,12 @@ var require_iterate = __commonJS({
18447
18447
  callback(error, state.results);
18448
18448
  });
18449
18449
  }
18450
- function runJob(iterator, key2, item, callback) {
18450
+ function runJob(iterator2, key2, item, callback) {
18451
18451
  var aborter;
18452
- if (iterator.length == 2) {
18453
- aborter = iterator(item, async(callback));
18452
+ if (iterator2.length == 2) {
18453
+ aborter = iterator2(item, async(callback));
18454
18454
  } else {
18455
- aborter = iterator(item, key2, async(callback));
18455
+ aborter = iterator2(item, key2, async(callback));
18456
18456
  }
18457
18457
  return aborter;
18458
18458
  }
@@ -18508,10 +18508,10 @@ var require_parallel = __commonJS({
18508
18508
  var initState = require_state();
18509
18509
  var terminator = require_terminator();
18510
18510
  module2.exports = parallel;
18511
- function parallel(list, iterator, callback) {
18511
+ function parallel(list, iterator2, callback) {
18512
18512
  var state = initState(list);
18513
18513
  while (state.index < (state["keyedList"] || list).length) {
18514
- iterate(list, iterator, state, function(error, result) {
18514
+ iterate(list, iterator2, state, function(error, result) {
18515
18515
  if (error) {
18516
18516
  callback(error, result);
18517
18517
  return;
@@ -18538,16 +18538,16 @@ var require_serialOrdered = __commonJS({
18538
18538
  module2.exports = serialOrdered;
18539
18539
  module2.exports.ascending = ascending;
18540
18540
  module2.exports.descending = descending;
18541
- function serialOrdered(list, iterator, sortMethod, callback) {
18541
+ function serialOrdered(list, iterator2, sortMethod, callback) {
18542
18542
  var state = initState(list, sortMethod);
18543
- iterate(list, iterator, state, function iteratorHandler(error, result) {
18543
+ iterate(list, iterator2, state, function iteratorHandler(error, result) {
18544
18544
  if (error) {
18545
18545
  callback(error, result);
18546
18546
  return;
18547
18547
  }
18548
18548
  state.index++;
18549
18549
  if (state.index < (state["keyedList"] || list).length) {
18550
- iterate(list, iterator, state, iteratorHandler);
18550
+ iterate(list, iterator2, state, iteratorHandler);
18551
18551
  return;
18552
18552
  }
18553
18553
  callback(null, state.results);
@@ -18569,8 +18569,8 @@ var require_serial = __commonJS({
18569
18569
  "use strict";
18570
18570
  var serialOrdered = require_serialOrdered();
18571
18571
  module2.exports = serial;
18572
- function serial(list, iterator, callback) {
18573
- return serialOrdered(list, iterator, null, callback);
18572
+ function serial(list, iterator2, callback) {
18573
+ return serialOrdered(list, iterator2, null, callback);
18574
18574
  }
18575
18575
  }
18576
18576
  });
@@ -19410,32 +19410,32 @@ var require_es_set_tostringtag = __commonJS({
19410
19410
  var hasToStringTag = require_shams2()();
19411
19411
  var hasOwn = require_hasown();
19412
19412
  var $TypeError = require_type();
19413
- var toStringTag = hasToStringTag ? Symbol.toStringTag : null;
19413
+ var toStringTag2 = hasToStringTag ? Symbol.toStringTag : null;
19414
19414
  module2.exports = function setToStringTag(object, value) {
19415
19415
  var overrideIfSet = arguments.length > 2 && !!arguments[2] && arguments[2].force;
19416
19416
  var nonConfigurable = arguments.length > 2 && !!arguments[2] && arguments[2].nonConfigurable;
19417
19417
  if (typeof overrideIfSet !== "undefined" && typeof overrideIfSet !== "boolean" || typeof nonConfigurable !== "undefined" && typeof nonConfigurable !== "boolean") {
19418
19418
  throw new $TypeError("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");
19419
19419
  }
19420
- if (toStringTag && (overrideIfSet || !hasOwn(object, toStringTag))) {
19420
+ if (toStringTag2 && (overrideIfSet || !hasOwn(object, toStringTag2))) {
19421
19421
  if ($defineProperty) {
19422
- $defineProperty(object, toStringTag, {
19422
+ $defineProperty(object, toStringTag2, {
19423
19423
  configurable: !nonConfigurable,
19424
19424
  enumerable: false,
19425
19425
  value,
19426
19426
  writable: false
19427
19427
  });
19428
19428
  } else {
19429
- object[toStringTag] = value;
19429
+ object[toStringTag2] = value;
19430
19430
  }
19431
19431
  }
19432
19432
  };
19433
19433
  }
19434
19434
  });
19435
19435
 
19436
- // ../../../../node_modules/.pnpm/form-data@4.0.2/node_modules/form-data/lib/populate.js
19436
+ // ../../../../node_modules/.pnpm/form-data@4.0.4/node_modules/form-data/lib/populate.js
19437
19437
  var require_populate = __commonJS({
19438
- "../../../../node_modules/.pnpm/form-data@4.0.2/node_modules/form-data/lib/populate.js"(exports, module2) {
19438
+ "../../../../node_modules/.pnpm/form-data@4.0.4/node_modules/form-data/lib/populate.js"(exports, module2) {
19439
19439
  "use strict";
19440
19440
  module2.exports = function(dst, src) {
19441
19441
  Object.keys(src).forEach(function(prop) {
@@ -19446,9 +19446,9 @@ var require_populate = __commonJS({
19446
19446
  }
19447
19447
  });
19448
19448
 
19449
- // ../../../../node_modules/.pnpm/form-data@4.0.2/node_modules/form-data/lib/form_data.js
19449
+ // ../../../../node_modules/.pnpm/form-data@4.0.4/node_modules/form-data/lib/form_data.js
19450
19450
  var require_form_data = __commonJS({
19451
- "../../../../node_modules/.pnpm/form-data@4.0.2/node_modules/form-data/lib/form_data.js"(exports, module2) {
19451
+ "../../../../node_modules/.pnpm/form-data@4.0.4/node_modules/form-data/lib/form_data.js"(exports, module2) {
19452
19452
  "use strict";
19453
19453
  var CombinedStream = require_combined_stream();
19454
19454
  var util4 = require("util");
@@ -19458,12 +19458,12 @@ var require_form_data = __commonJS({
19458
19458
  var parseUrl = require("url").parse;
19459
19459
  var fs2 = require("fs");
19460
19460
  var Stream = require("stream").Stream;
19461
+ var crypto2 = require("crypto");
19461
19462
  var mime = require_mime_types();
19462
19463
  var asynckit = require_asynckit();
19463
19464
  var setToStringTag = require_es_set_tostringtag();
19465
+ var hasOwn = require_hasown();
19464
19466
  var populate = require_populate();
19465
- module2.exports = FormData3;
19466
- util4.inherits(FormData3, CombinedStream);
19467
19467
  function FormData3(options) {
19468
19468
  if (!(this instanceof FormData3)) {
19469
19469
  return new FormData3(options);
@@ -19477,16 +19477,17 @@ var require_form_data = __commonJS({
19477
19477
  this[option] = options[option];
19478
19478
  }
19479
19479
  }
19480
+ util4.inherits(FormData3, CombinedStream);
19480
19481
  FormData3.LINE_BREAK = "\r\n";
19481
19482
  FormData3.DEFAULT_CONTENT_TYPE = "application/octet-stream";
19482
19483
  FormData3.prototype.append = function(field, value, options) {
19483
19484
  options = options || {};
19484
- if (typeof options == "string") {
19485
+ if (typeof options === "string") {
19485
19486
  options = { filename: options };
19486
19487
  }
19487
19488
  var append2 = CombinedStream.prototype.append.bind(this);
19488
- if (typeof value == "number") {
19489
- value = "" + value;
19489
+ if (typeof value === "number" || value == null) {
19490
+ value = String(value);
19490
19491
  }
19491
19492
  if (Array.isArray(value)) {
19492
19493
  this._error(new Error("Arrays are not supported."));
@@ -19502,7 +19503,7 @@ var require_form_data = __commonJS({
19502
19503
  FormData3.prototype._trackLength = function(header, value, options) {
19503
19504
  var valueLength = 0;
19504
19505
  if (options.knownLength != null) {
19505
- valueLength += +options.knownLength;
19506
+ valueLength += Number(options.knownLength);
19506
19507
  } else if (Buffer.isBuffer(value)) {
19507
19508
  valueLength = value.length;
19508
19509
  } else if (typeof value === "string") {
@@ -19510,7 +19511,7 @@ var require_form_data = __commonJS({
19510
19511
  }
19511
19512
  this._valueLength += valueLength;
19512
19513
  this._overheadLength += Buffer.byteLength(header) + FormData3.LINE_BREAK.length;
19513
- if (!value || !value.path && !(value.readable && Object.prototype.hasOwnProperty.call(value, "httpVersion")) && !(value instanceof Stream)) {
19514
+ if (!value || !value.path && !(value.readable && hasOwn(value, "httpVersion")) && !(value instanceof Stream)) {
19514
19515
  return;
19515
19516
  }
19516
19517
  if (!options.knownLength) {
@@ -19518,26 +19519,25 @@ var require_form_data = __commonJS({
19518
19519
  }
19519
19520
  };
19520
19521
  FormData3.prototype._lengthRetriever = function(value, callback) {
19521
- if (Object.prototype.hasOwnProperty.call(value, "fd")) {
19522
+ if (hasOwn(value, "fd")) {
19522
19523
  if (value.end != void 0 && value.end != Infinity && value.start != void 0) {
19523
19524
  callback(null, value.end + 1 - (value.start ? value.start : 0));
19524
19525
  } else {
19525
19526
  fs2.stat(value.path, function(err, stat) {
19526
- var fileSize;
19527
19527
  if (err) {
19528
19528
  callback(err);
19529
19529
  return;
19530
19530
  }
19531
- fileSize = stat.size - (value.start ? value.start : 0);
19531
+ var fileSize = stat.size - (value.start ? value.start : 0);
19532
19532
  callback(null, fileSize);
19533
19533
  });
19534
19534
  }
19535
- } else if (Object.prototype.hasOwnProperty.call(value, "httpVersion")) {
19536
- callback(null, +value.headers["content-length"]);
19537
- } else if (Object.prototype.hasOwnProperty.call(value, "httpModule")) {
19535
+ } else if (hasOwn(value, "httpVersion")) {
19536
+ callback(null, Number(value.headers["content-length"]));
19537
+ } else if (hasOwn(value, "httpModule")) {
19538
19538
  value.on("response", function(response) {
19539
19539
  value.pause();
19540
- callback(null, +response.headers["content-length"]);
19540
+ callback(null, Number(response.headers["content-length"]));
19541
19541
  });
19542
19542
  value.resume();
19543
19543
  } else {
@@ -19545,7 +19545,7 @@ var require_form_data = __commonJS({
19545
19545
  }
19546
19546
  };
19547
19547
  FormData3.prototype._multiPartHeader = function(field, value, options) {
19548
- if (typeof options.header == "string") {
19548
+ if (typeof options.header === "string") {
19549
19549
  return options.header;
19550
19550
  }
19551
19551
  var contentDisposition = this._getContentDisposition(value, options);
@@ -19557,12 +19557,12 @@ var require_form_data = __commonJS({
19557
19557
  // if no content type. allow it to be empty array
19558
19558
  "Content-Type": [].concat(contentType || [])
19559
19559
  };
19560
- if (typeof options.header == "object") {
19560
+ if (typeof options.header === "object") {
19561
19561
  populate(headers, options.header);
19562
19562
  }
19563
19563
  var header;
19564
19564
  for (var prop in headers) {
19565
- if (Object.prototype.hasOwnProperty.call(headers, prop)) {
19565
+ if (hasOwn(headers, prop)) {
19566
19566
  header = headers[prop];
19567
19567
  if (header == null) {
19568
19568
  continue;
@@ -19578,34 +19578,33 @@ var require_form_data = __commonJS({
19578
19578
  return "--" + this.getBoundary() + FormData3.LINE_BREAK + contents + FormData3.LINE_BREAK;
19579
19579
  };
19580
19580
  FormData3.prototype._getContentDisposition = function(value, options) {
19581
- var filename, contentDisposition;
19581
+ var filename;
19582
19582
  if (typeof options.filepath === "string") {
19583
19583
  filename = path7.normalize(options.filepath).replace(/\\/g, "/");
19584
- } else if (options.filename || value.name || value.path) {
19585
- filename = path7.basename(options.filename || value.name || value.path);
19586
- } else if (value.readable && Object.prototype.hasOwnProperty.call(value, "httpVersion")) {
19584
+ } else if (options.filename || value && (value.name || value.path)) {
19585
+ filename = path7.basename(options.filename || value && (value.name || value.path));
19586
+ } else if (value && value.readable && hasOwn(value, "httpVersion")) {
19587
19587
  filename = path7.basename(value.client._httpMessage.path || "");
19588
19588
  }
19589
19589
  if (filename) {
19590
- contentDisposition = 'filename="' + filename + '"';
19590
+ return 'filename="' + filename + '"';
19591
19591
  }
19592
- return contentDisposition;
19593
19592
  };
19594
19593
  FormData3.prototype._getContentType = function(value, options) {
19595
19594
  var contentType = options.contentType;
19596
- if (!contentType && value.name) {
19595
+ if (!contentType && value && value.name) {
19597
19596
  contentType = mime.lookup(value.name);
19598
19597
  }
19599
- if (!contentType && value.path) {
19598
+ if (!contentType && value && value.path) {
19600
19599
  contentType = mime.lookup(value.path);
19601
19600
  }
19602
- if (!contentType && value.readable && Object.prototype.hasOwnProperty.call(value, "httpVersion")) {
19601
+ if (!contentType && value && value.readable && hasOwn(value, "httpVersion")) {
19603
19602
  contentType = value.headers["content-type"];
19604
19603
  }
19605
19604
  if (!contentType && (options.filepath || options.filename)) {
19606
19605
  contentType = mime.lookup(options.filepath || options.filename);
19607
19606
  }
19608
- if (!contentType && typeof value == "object") {
19607
+ if (!contentType && value && typeof value === "object") {
19609
19608
  contentType = FormData3.DEFAULT_CONTENT_TYPE;
19610
19609
  }
19611
19610
  return contentType;
@@ -19629,13 +19628,16 @@ var require_form_data = __commonJS({
19629
19628
  "content-type": "multipart/form-data; boundary=" + this.getBoundary()
19630
19629
  };
19631
19630
  for (header in userHeaders) {
19632
- if (Object.prototype.hasOwnProperty.call(userHeaders, header)) {
19631
+ if (hasOwn(userHeaders, header)) {
19633
19632
  formHeaders[header.toLowerCase()] = userHeaders[header];
19634
19633
  }
19635
19634
  }
19636
19635
  return formHeaders;
19637
19636
  };
19638
19637
  FormData3.prototype.setBoundary = function(boundary) {
19638
+ if (typeof boundary !== "string") {
19639
+ throw new TypeError("FormData boundary must be a string");
19640
+ }
19639
19641
  this._boundary = boundary;
19640
19642
  };
19641
19643
  FormData3.prototype.getBoundary = function() {
@@ -19662,11 +19664,7 @@ var require_form_data = __commonJS({
19662
19664
  return Buffer.concat([dataBuffer, Buffer.from(this._lastBoundary())]);
19663
19665
  };
19664
19666
  FormData3.prototype._generateBoundary = function() {
19665
- var boundary = "--------------------------";
19666
- for (var i = 0; i < 24; i++) {
19667
- boundary += Math.floor(Math.random() * 10).toString(16);
19668
- }
19669
- this._boundary = boundary;
19667
+ this._boundary = "--------------------------" + crypto2.randomBytes(12).toString("hex");
19670
19668
  };
19671
19669
  FormData3.prototype.getLengthSync = function() {
19672
19670
  var knownLength = this._overheadLength + this._valueLength;
@@ -19706,8 +19704,10 @@ var require_form_data = __commonJS({
19706
19704
  });
19707
19705
  };
19708
19706
  FormData3.prototype.submit = function(params, cb) {
19709
- var request, options, defaults2 = { method: "post" };
19710
- if (typeof params == "string") {
19707
+ var request;
19708
+ var options;
19709
+ var defaults2 = { method: "post" };
19710
+ if (typeof params === "string") {
19711
19711
  params = parseUrl(params);
19712
19712
  options = populate({
19713
19713
  port: params.port,
@@ -19718,11 +19718,11 @@ var require_form_data = __commonJS({
19718
19718
  } else {
19719
19719
  options = populate(params, defaults2);
19720
19720
  if (!options.port) {
19721
- options.port = options.protocol == "https:" ? 443 : 80;
19721
+ options.port = options.protocol === "https:" ? 443 : 80;
19722
19722
  }
19723
19723
  }
19724
19724
  options.headers = this.getHeaders(params.headers);
19725
- if (options.protocol == "https:") {
19725
+ if (options.protocol === "https:") {
19726
19726
  request = https2.request(options);
19727
19727
  } else {
19728
19728
  request = http2.request(options);
@@ -19761,6 +19761,7 @@ var require_form_data = __commonJS({
19761
19761
  return "[object FormData]";
19762
19762
  };
19763
19763
  setToStringTag(FormData3, "FormData");
19764
+ module2.exports = FormData3;
19764
19765
  }
19765
19766
  });
19766
19767
 
@@ -19834,9 +19835,9 @@ var require_proxy_from_env = __commonJS({
19834
19835
  }
19835
19836
  });
19836
19837
 
19837
- // ../../../../node_modules/.pnpm/follow-redirects@1.15.9_debug@4.3.7/node_modules/follow-redirects/debug.js
19838
+ // ../../../../node_modules/.pnpm/follow-redirects@1.15.11_debug@4.3.7/node_modules/follow-redirects/debug.js
19838
19839
  var require_debug2 = __commonJS({
19839
- "../../../../node_modules/.pnpm/follow-redirects@1.15.9_debug@4.3.7/node_modules/follow-redirects/debug.js"(exports, module2) {
19840
+ "../../../../node_modules/.pnpm/follow-redirects@1.15.11_debug@4.3.7/node_modules/follow-redirects/debug.js"(exports, module2) {
19840
19841
  "use strict";
19841
19842
  var debug;
19842
19843
  module2.exports = function() {
@@ -19855,9 +19856,9 @@ var require_debug2 = __commonJS({
19855
19856
  }
19856
19857
  });
19857
19858
 
19858
- // ../../../../node_modules/.pnpm/follow-redirects@1.15.9_debug@4.3.7/node_modules/follow-redirects/index.js
19859
+ // ../../../../node_modules/.pnpm/follow-redirects@1.15.11_debug@4.3.7/node_modules/follow-redirects/index.js
19859
19860
  var require_follow_redirects = __commonJS({
19860
- "../../../../node_modules/.pnpm/follow-redirects@1.15.9_debug@4.3.7/node_modules/follow-redirects/index.js"(exports, module2) {
19861
+ "../../../../node_modules/.pnpm/follow-redirects@1.15.11_debug@4.3.7/node_modules/follow-redirects/index.js"(exports, module2) {
19861
19862
  "use strict";
19862
19863
  var url2 = require("url");
19863
19864
  var URL2 = url2.URL;
@@ -19869,7 +19870,7 @@ var require_follow_redirects = __commonJS({
19869
19870
  (function detectUnsupportedEnvironment() {
19870
19871
  var looksLikeNode = typeof process !== "undefined";
19871
19872
  var looksLikeBrowser = typeof window !== "undefined" && typeof document !== "undefined";
19872
- var looksLikeV8 = isFunction3(Error.captureStackTrace);
19873
+ var looksLikeV8 = isFunction4(Error.captureStackTrace);
19873
19874
  if (!looksLikeNode && (looksLikeBrowser || !looksLikeV8)) {
19874
19875
  console.warn("The follow-redirects package should be excluded from browser builds.");
19875
19876
  }
@@ -19964,7 +19965,7 @@ var require_follow_redirects = __commonJS({
19964
19965
  if (!isString5(data) && !isBuffer2(data)) {
19965
19966
  throw new TypeError("data should be a string, Buffer or Uint8Array");
19966
19967
  }
19967
- if (isFunction3(encoding)) {
19968
+ if (isFunction4(encoding)) {
19968
19969
  callback = encoding;
19969
19970
  encoding = null;
19970
19971
  }
@@ -19984,10 +19985,10 @@ var require_follow_redirects = __commonJS({
19984
19985
  }
19985
19986
  };
19986
19987
  RedirectableRequest.prototype.end = function(data, encoding, callback) {
19987
- if (isFunction3(data)) {
19988
+ if (isFunction4(data)) {
19988
19989
  callback = data;
19989
19990
  data = encoding = null;
19990
- } else if (isFunction3(encoding)) {
19991
+ } else if (isFunction4(encoding)) {
19991
19992
  callback = encoding;
19992
19993
  encoding = null;
19993
19994
  }
@@ -20188,7 +20189,7 @@ var require_follow_redirects = __commonJS({
20188
20189
  if (redirectUrl.protocol !== currentUrlParts.protocol && redirectUrl.protocol !== "https:" || redirectUrl.host !== currentHost && !isSubdomain(redirectUrl.host, currentHost)) {
20189
20190
  removeMatchingHeaders(/^(?:(?:proxy-)?authorization|cookie)$/i, this._options.headers);
20190
20191
  }
20191
- if (isFunction3(beforeRedirect)) {
20192
+ if (isFunction4(beforeRedirect)) {
20192
20193
  var responseDetails = {
20193
20194
  headers: response.headers,
20194
20195
  statusCode
@@ -20223,7 +20224,7 @@ var require_follow_redirects = __commonJS({
20223
20224
  options = validateUrl(input);
20224
20225
  input = { protocol };
20225
20226
  }
20226
- if (isFunction3(options)) {
20227
+ if (isFunction4(options)) {
20227
20228
  callback = options;
20228
20229
  options = null;
20229
20230
  }
@@ -20303,7 +20304,7 @@ var require_follow_redirects = __commonJS({
20303
20304
  }
20304
20305
  function createErrorType(code, message, baseClass) {
20305
20306
  function CustomError(properties) {
20306
- if (isFunction3(Error.captureStackTrace)) {
20307
+ if (isFunction4(Error.captureStackTrace)) {
20307
20308
  Error.captureStackTrace(this, this.constructor);
20308
20309
  }
20309
20310
  Object.assign(this, properties || {});
@@ -20338,7 +20339,7 @@ var require_follow_redirects = __commonJS({
20338
20339
  function isString5(value) {
20339
20340
  return typeof value === "string" || value instanceof String;
20340
20341
  }
20341
- function isFunction3(value) {
20342
+ function isFunction4(value) {
20342
20343
  return typeof value === "function";
20343
20344
  }
20344
20345
  function isBuffer2(value) {
@@ -23960,7 +23961,7 @@ var require_async_iterator = __commonJS({
23960
23961
  }), _Object$setPrototypeO), AsyncIteratorPrototype);
23961
23962
  var createReadableStreamAsyncIterator = function createReadableStreamAsyncIterator2(stream4) {
23962
23963
  var _Object$create;
23963
- var iterator = Object.create(ReadableStreamAsyncIteratorPrototype, (_Object$create = {}, _defineProperty(_Object$create, kStream, {
23964
+ var iterator2 = Object.create(ReadableStreamAsyncIteratorPrototype, (_Object$create = {}, _defineProperty(_Object$create, kStream, {
23964
23965
  value: stream4,
23965
23966
  writable: true
23966
23967
  }), _defineProperty(_Object$create, kLastResolve, {
@@ -23977,43 +23978,43 @@ var require_async_iterator = __commonJS({
23977
23978
  writable: true
23978
23979
  }), _defineProperty(_Object$create, kHandlePromise, {
23979
23980
  value: function value(resolve, reject) {
23980
- var data = iterator[kStream].read();
23981
+ var data = iterator2[kStream].read();
23981
23982
  if (data) {
23982
- iterator[kLastPromise] = null;
23983
- iterator[kLastResolve] = null;
23984
- iterator[kLastReject] = null;
23983
+ iterator2[kLastPromise] = null;
23984
+ iterator2[kLastResolve] = null;
23985
+ iterator2[kLastReject] = null;
23985
23986
  resolve(createIterResult(data, false));
23986
23987
  } else {
23987
- iterator[kLastResolve] = resolve;
23988
- iterator[kLastReject] = reject;
23988
+ iterator2[kLastResolve] = resolve;
23989
+ iterator2[kLastReject] = reject;
23989
23990
  }
23990
23991
  },
23991
23992
  writable: true
23992
23993
  }), _Object$create));
23993
- iterator[kLastPromise] = null;
23994
+ iterator2[kLastPromise] = null;
23994
23995
  finished(stream4, function(err) {
23995
23996
  if (err && err.code !== "ERR_STREAM_PREMATURE_CLOSE") {
23996
- var reject = iterator[kLastReject];
23997
+ var reject = iterator2[kLastReject];
23997
23998
  if (reject !== null) {
23998
- iterator[kLastPromise] = null;
23999
- iterator[kLastResolve] = null;
24000
- iterator[kLastReject] = null;
23999
+ iterator2[kLastPromise] = null;
24000
+ iterator2[kLastResolve] = null;
24001
+ iterator2[kLastReject] = null;
24001
24002
  reject(err);
24002
24003
  }
24003
- iterator[kError] = err;
24004
+ iterator2[kError] = err;
24004
24005
  return;
24005
24006
  }
24006
- var resolve = iterator[kLastResolve];
24007
+ var resolve = iterator2[kLastResolve];
24007
24008
  if (resolve !== null) {
24008
- iterator[kLastPromise] = null;
24009
- iterator[kLastResolve] = null;
24010
- iterator[kLastReject] = null;
24009
+ iterator2[kLastPromise] = null;
24010
+ iterator2[kLastResolve] = null;
24011
+ iterator2[kLastReject] = null;
24011
24012
  resolve(createIterResult(void 0, true));
24012
24013
  }
24013
- iterator[kEnded] = true;
24014
+ iterator2[kEnded] = true;
24014
24015
  });
24015
- stream4.on("readable", onReadable.bind(null, iterator));
24016
- return iterator;
24016
+ stream4.on("readable", onReadable.bind(null, iterator2));
24017
+ return iterator2;
24017
24018
  };
24018
24019
  module2.exports = createReadableStreamAsyncIterator;
24019
24020
  }
@@ -24100,13 +24101,13 @@ var require_from = __commonJS({
24100
24101
  }
24101
24102
  var ERR_INVALID_ARG_TYPE = require_errors().codes.ERR_INVALID_ARG_TYPE;
24102
24103
  function from(Readable2, iterable, opts) {
24103
- var iterator;
24104
+ var iterator2;
24104
24105
  if (iterable && typeof iterable.next === "function") {
24105
- iterator = iterable;
24106
+ iterator2 = iterable;
24106
24107
  } else if (iterable && iterable[Symbol.asyncIterator])
24107
- iterator = iterable[Symbol.asyncIterator]();
24108
+ iterator2 = iterable[Symbol.asyncIterator]();
24108
24109
  else if (iterable && iterable[Symbol.iterator])
24109
- iterator = iterable[Symbol.iterator]();
24110
+ iterator2 = iterable[Symbol.iterator]();
24110
24111
  else
24111
24112
  throw new ERR_INVALID_ARG_TYPE("iterable", ["Iterable"], iterable);
24112
24113
  var readable = new Readable2(_objectSpread({
@@ -24125,7 +24126,7 @@ var require_from = __commonJS({
24125
24126
  function _next2() {
24126
24127
  _next2 = _asyncToGenerator(function* () {
24127
24128
  try {
24128
- var _yield$iterator$next = yield iterator.next(), value = _yield$iterator$next.value, done = _yield$iterator$next.done;
24129
+ var _yield$iterator$next = yield iterator2.next(), value = _yield$iterator$next.value, done = _yield$iterator$next.done;
24129
24130
  if (done) {
24130
24131
  readable.push(null);
24131
24132
  } else if (readable.push(yield value)) {
@@ -26654,15 +26655,15 @@ var require_utils4 = __commonJS({
26654
26655
  }
26655
26656
  var toString7 = Object.prototype.toString;
26656
26657
  exports.toString = toString7;
26657
- var isFunction3 = function isFunction4(value) {
26658
+ var isFunction4 = function isFunction5(value) {
26658
26659
  return typeof value === "function";
26659
26660
  };
26660
- if (isFunction3(/x/)) {
26661
- exports.isFunction = isFunction3 = function(value) {
26661
+ if (isFunction4(/x/)) {
26662
+ exports.isFunction = isFunction4 = function(value) {
26662
26663
  return typeof value === "function" && toString7.call(value) === "[object Function]";
26663
26664
  };
26664
26665
  }
26665
- exports.isFunction = isFunction3;
26666
+ exports.isFunction = isFunction4;
26666
26667
  var isArray4 = Array.isArray || function(value) {
26667
26668
  return value && typeof value === "object" ? toString7.call(value) === "[object Array]" : false;
26668
26669
  };
@@ -26850,8 +26851,8 @@ var require_each = __commonJS({
26850
26851
  }
26851
26852
  } else if (typeof Symbol === "function" && context[Symbol.iterator]) {
26852
26853
  var newContext = [];
26853
- var iterator = context[Symbol.iterator]();
26854
- for (var it = iterator.next(); !it.done; it = iterator.next()) {
26854
+ var iterator2 = context[Symbol.iterator]();
26855
+ for (var it = iterator2.next(); !it.done; it = iterator2.next()) {
26855
26856
  newContext.push(it.value);
26856
26857
  }
26857
26858
  context = newContext;
@@ -32539,12 +32540,12 @@ var require_lodash = __commonJS({
32539
32540
  }
32540
32541
  var isArray4 = Array.isArray;
32541
32542
  function isArrayLike(value) {
32542
- return value != null && isLength(value.length) && !isFunction3(value);
32543
+ return value != null && isLength(value.length) && !isFunction4(value);
32543
32544
  }
32544
32545
  function isArrayLikeObject(value) {
32545
32546
  return isObjectLike(value) && isArrayLike(value);
32546
32547
  }
32547
- function isFunction3(value) {
32548
+ function isFunction4(value) {
32548
32549
  var tag = isObject5(value) ? objectToString.call(value) : "";
32549
32550
  return tag == funcTag || tag == genTag;
32550
32551
  }
@@ -32606,7 +32607,7 @@ var require_lodash2 = __commonJS({
32606
32607
  function objectToString(value) {
32607
32608
  return nativeObjectToString.call(value);
32608
32609
  }
32609
- function isFunction3(value) {
32610
+ function isFunction4(value) {
32610
32611
  if (!isObject5(value)) {
32611
32612
  return false;
32612
32613
  }
@@ -32617,7 +32618,7 @@ var require_lodash2 = __commonJS({
32617
32618
  var type = typeof value;
32618
32619
  return value != null && (type == "object" || type == "function");
32619
32620
  }
32620
- module2.exports = isFunction3;
32621
+ module2.exports = isFunction4;
32621
32622
  }
32622
32623
  });
32623
32624
 
@@ -33023,7 +33024,7 @@ var require_lodash5 = __commonJS({
33023
33024
  if (!isObject5(value) || isMasked(value)) {
33024
33025
  return false;
33025
33026
  }
33026
- var pattern = isFunction3(value) ? reIsNative : reIsHostCtor;
33027
+ var pattern = isFunction4(value) ? reIsNative : reIsHostCtor;
33027
33028
  return pattern.test(toSource(value));
33028
33029
  }
33029
33030
  function baseIsTypedArray(value) {
@@ -33087,7 +33088,7 @@ var require_lodash5 = __commonJS({
33087
33088
  newValue = objValue;
33088
33089
  if (isArguments(objValue)) {
33089
33090
  newValue = toPlainObject(objValue);
33090
- } else if (!isObject5(objValue) || isFunction3(objValue)) {
33091
+ } else if (!isObject5(objValue) || isFunction4(objValue)) {
33091
33092
  newValue = initCloneObject(srcValue);
33092
33093
  }
33093
33094
  } else {
@@ -33315,13 +33316,13 @@ var require_lodash5 = __commonJS({
33315
33316
  };
33316
33317
  var isArray4 = Array.isArray;
33317
33318
  function isArrayLike(value) {
33318
- return value != null && isLength(value.length) && !isFunction3(value);
33319
+ return value != null && isLength(value.length) && !isFunction4(value);
33319
33320
  }
33320
33321
  function isArrayLikeObject(value) {
33321
33322
  return isObjectLike(value) && isArrayLike(value);
33322
33323
  }
33323
33324
  var isBuffer2 = nativeIsBuffer || stubFalse;
33324
- function isFunction3(value) {
33325
+ function isFunction4(value) {
33325
33326
  if (!isObject5(value)) {
33326
33327
  return false;
33327
33328
  }
@@ -34299,14 +34300,14 @@ var require_isFunction = __commonJS({
34299
34300
  var funcTag = "[object Function]";
34300
34301
  var genTag = "[object GeneratorFunction]";
34301
34302
  var proxyTag = "[object Proxy]";
34302
- function isFunction3(value) {
34303
+ function isFunction4(value) {
34303
34304
  if (!isObject5(value)) {
34304
34305
  return false;
34305
34306
  }
34306
34307
  var tag = baseGetTag(value);
34307
34308
  return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
34308
34309
  }
34309
- module2.exports = isFunction3;
34310
+ module2.exports = isFunction4;
34310
34311
  }
34311
34312
  });
34312
34313
 
@@ -34363,7 +34364,7 @@ var require_toSource = __commonJS({
34363
34364
  var require_baseIsNative = __commonJS({
34364
34365
  "../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsNative.js"(exports, module2) {
34365
34366
  "use strict";
34366
- var isFunction3 = require_isFunction();
34367
+ var isFunction4 = require_isFunction();
34367
34368
  var isMasked = require_isMasked();
34368
34369
  var isObject5 = require_isObject();
34369
34370
  var toSource = require_toSource();
@@ -34380,7 +34381,7 @@ var require_baseIsNative = __commonJS({
34380
34381
  if (!isObject5(value) || isMasked(value)) {
34381
34382
  return false;
34382
34383
  }
34383
- var pattern = isFunction3(value) ? reIsNative : reIsHostCtor;
34384
+ var pattern = isFunction4(value) ? reIsNative : reIsHostCtor;
34384
34385
  return pattern.test(toSource(value));
34385
34386
  }
34386
34387
  module2.exports = baseIsNative;
@@ -35109,10 +35110,10 @@ var require_isFunction2 = __commonJS({
35109
35110
  "use strict";
35110
35111
  Object.defineProperty(exports, "__esModule", { value: true });
35111
35112
  exports.isFunction = void 0;
35112
- function isFunction3(value) {
35113
+ function isFunction4(value) {
35113
35114
  return typeof value === "function";
35114
35115
  }
35115
- exports.isFunction = isFunction3;
35116
+ exports.isFunction = isFunction4;
35116
35117
  }
35117
35118
  });
35118
35119
 
@@ -37842,10 +37843,10 @@ var require_isIterable = __commonJS({
37842
37843
  exports.isIterable = void 0;
37843
37844
  var iterator_1 = require_iterator2();
37844
37845
  var isFunction_1 = require_isFunction2();
37845
- function isIterable(input) {
37846
+ function isIterable2(input) {
37846
37847
  return isFunction_1.isFunction(input === null || input === void 0 ? void 0 : input[iterator_1.iterator]);
37847
37848
  }
37848
- exports.isIterable = isIterable;
37849
+ exports.isIterable = isIterable2;
37849
37850
  }
37850
37851
  });
37851
37852
 
@@ -38480,15 +38481,15 @@ var require_scheduleIterable = __commonJS({
38480
38481
  var executeSchedule_1 = require_executeSchedule();
38481
38482
  function scheduleIterable(input, scheduler) {
38482
38483
  return new Observable_1.Observable(function(subscriber) {
38483
- var iterator;
38484
+ var iterator2;
38484
38485
  executeSchedule_1.executeSchedule(subscriber, scheduler, function() {
38485
- iterator = input[iterator_1.iterator]();
38486
+ iterator2 = input[iterator_1.iterator]();
38486
38487
  executeSchedule_1.executeSchedule(subscriber, scheduler, function() {
38487
38488
  var _a2;
38488
38489
  var value;
38489
38490
  var done;
38490
38491
  try {
38491
- _a2 = iterator.next(), value = _a2.value, done = _a2.done;
38492
+ _a2 = iterator2.next(), value = _a2.value, done = _a2.done;
38492
38493
  } catch (err) {
38493
38494
  subscriber.error(err);
38494
38495
  return;
@@ -38501,7 +38502,7 @@ var require_scheduleIterable = __commonJS({
38501
38502
  }, 0, true);
38502
38503
  });
38503
38504
  return function() {
38504
- return isFunction_1.isFunction(iterator === null || iterator === void 0 ? void 0 : iterator.return) && iterator.return();
38505
+ return isFunction_1.isFunction(iterator2 === null || iterator2 === void 0 ? void 0 : iterator2.return) && iterator2.return();
38505
38506
  };
38506
38507
  });
38507
38508
  }
@@ -38523,9 +38524,9 @@ var require_scheduleAsyncIterable = __commonJS({
38523
38524
  }
38524
38525
  return new Observable_1.Observable(function(subscriber) {
38525
38526
  executeSchedule_1.executeSchedule(subscriber, scheduler, function() {
38526
- var iterator = input[Symbol.asyncIterator]();
38527
+ var iterator2 = input[Symbol.asyncIterator]();
38527
38528
  executeSchedule_1.executeSchedule(subscriber, scheduler, function() {
38528
- iterator.next().then(function(result) {
38529
+ iterator2.next().then(function(result) {
38529
38530
  if (result.done) {
38530
38531
  subscriber.complete();
38531
38532
  } else {
@@ -45603,10 +45604,10 @@ var require_isLength = __commonJS({
45603
45604
  var require_isArrayLike2 = __commonJS({
45604
45605
  "../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArrayLike.js"(exports, module2) {
45605
45606
  "use strict";
45606
- var isFunction3 = require_isFunction();
45607
+ var isFunction4 = require_isFunction();
45607
45608
  var isLength = require_isLength();
45608
45609
  function isArrayLike(value) {
45609
- return value != null && isLength(value.length) && !isFunction3(value);
45610
+ return value != null && isLength(value.length) && !isFunction4(value);
45610
45611
  }
45611
45612
  module2.exports = isArrayLike;
45612
45613
  }
@@ -59075,15 +59076,15 @@ var require_inquirer = __commonJS({
59075
59076
  var require_esprima = __commonJS({
59076
59077
  "../../../../node_modules/.pnpm/esprima@4.0.1/node_modules/esprima/dist/esprima.js"(exports, module2) {
59077
59078
  "use strict";
59078
- (function webpackUniversalModuleDefinition(root2, factory) {
59079
+ (function webpackUniversalModuleDefinition(root2, factory2) {
59079
59080
  if (typeof exports === "object" && typeof module2 === "object")
59080
- module2.exports = factory();
59081
+ module2.exports = factory2();
59081
59082
  else if (typeof define === "function" && define.amd)
59082
- define([], factory);
59083
+ define([], factory2);
59083
59084
  else if (typeof exports === "object")
59084
- exports["esprima"] = factory();
59085
+ exports["esprima"] = factory2();
59085
59086
  else
59086
- root2["esprima"] = factory();
59087
+ root2["esprima"] = factory2();
59087
59088
  })(exports, function() {
59088
59089
  return (
59089
59090
  /******/
@@ -65363,10 +65364,10 @@ var require_util3 = __commonJS({
65363
65364
  return objectToString(e) === "[object Error]" || e instanceof Error;
65364
65365
  }
65365
65366
  exports.isError = isError;
65366
- function isFunction3(arg) {
65367
+ function isFunction4(arg) {
65367
65368
  return typeof arg === "function";
65368
65369
  }
65369
- exports.isFunction = isFunction3;
65370
+ exports.isFunction = isFunction4;
65370
65371
  function isPrimitive(arg) {
65371
65372
  return arg === null || typeof arg === "boolean" || typeof arg === "number" || typeof arg === "string" || typeof arg === "symbol" || // ES6 symbol
65372
65373
  typeof arg === "undefined";
@@ -66763,7 +66764,7 @@ var require_stringify = __commonJS({
66763
66764
  var {
66764
66765
  isArray: isArray4,
66765
66766
  isObject: isObject5,
66766
- isFunction: isFunction3,
66767
+ isFunction: isFunction4,
66767
66768
  isNumber: isNumber2,
66768
66769
  isString: isString5
66769
66770
  } = require_util3();
@@ -66906,10 +66907,10 @@ var require_stringify = __commonJS({
66906
66907
  };
66907
66908
  function stringify4(key2, holder, gap) {
66908
66909
  let value = holder[key2];
66909
- if (isObject5(value) && isFunction3(value.toJSON)) {
66910
+ if (isObject5(value) && isFunction4(value.toJSON)) {
66910
66911
  value = value.toJSON(key2);
66911
66912
  }
66912
- if (isFunction3(replacer)) {
66913
+ if (isFunction4(replacer)) {
66913
66914
  value = replacer.call(holder, key2, value);
66914
66915
  }
66915
66916
  switch (typeof value) {
@@ -66944,7 +66945,7 @@ var require_stringify = __commonJS({
66944
66945
  if (!indent_) {
66945
66946
  return JSON.stringify(value, replacer_);
66946
66947
  }
66947
- if (!isFunction3(replacer_) && !isArray4(replacer_)) {
66948
+ if (!isFunction4(replacer_) && !isArray4(replacer_)) {
66948
66949
  replacer_ = null;
66949
66950
  }
66950
66951
  replacer = replacer_;
@@ -70270,9 +70271,9 @@ var require_lodash6 = __commonJS({
70270
70271
  function hasUnicodeWord(string) {
70271
70272
  return reHasUnicodeWord.test(string);
70272
70273
  }
70273
- function iteratorToArray(iterator) {
70274
+ function iteratorToArray(iterator2) {
70274
70275
  var data, result = [];
70275
- while (!(data = iterator.next()).done) {
70276
+ while (!(data = iterator2.next()).done) {
70276
70277
  result.push(data.value);
70277
70278
  }
70278
70279
  return result;
@@ -70996,7 +70997,7 @@ var require_lodash6 = __commonJS({
70996
70997
  }
70997
70998
  function baseFunctions(object, props) {
70998
70999
  return arrayFilter(props, function(key2) {
70999
- return isFunction3(object[key2]);
71000
+ return isFunction4(object[key2]);
71000
71001
  });
71001
71002
  }
71002
71003
  function baseGet(object, path7) {
@@ -71159,7 +71160,7 @@ var require_lodash6 = __commonJS({
71159
71160
  if (!isObject5(value) || isMasked(value)) {
71160
71161
  return false;
71161
71162
  }
71162
- var pattern = isFunction3(value) ? reIsNative : reIsHostCtor;
71163
+ var pattern = isFunction4(value) ? reIsNative : reIsHostCtor;
71163
71164
  return pattern.test(toSource(value));
71164
71165
  }
71165
71166
  function baseIsRegExp(value) {
@@ -71281,7 +71282,7 @@ var require_lodash6 = __commonJS({
71281
71282
  newValue = objValue;
71282
71283
  if (isArguments(objValue)) {
71283
71284
  newValue = toPlainObject(objValue);
71284
- } else if (!isObject5(objValue) || isFunction3(objValue)) {
71285
+ } else if (!isObject5(objValue) || isFunction4(objValue)) {
71285
71286
  newValue = initCloneObject(srcValue);
71286
71287
  }
71287
71288
  } else {
@@ -72605,7 +72606,7 @@ var require_lodash6 = __commonJS({
72605
72606
  function isMasked(func) {
72606
72607
  return !!maskSrcKey && maskSrcKey in func;
72607
72608
  }
72608
- var isMaskable = coreJsData ? isFunction3 : stubFalse;
72609
+ var isMaskable = coreJsData ? isFunction4 : stubFalse;
72609
72610
  function isPrototype(value) {
72610
72611
  var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto;
72611
72612
  return value === proto;
@@ -73718,7 +73719,7 @@ var require_lodash6 = __commonJS({
73718
73719
  var isArray4 = Array2.isArray;
73719
73720
  var isArrayBuffer2 = nodeIsArrayBuffer ? baseUnary(nodeIsArrayBuffer) : baseIsArrayBuffer;
73720
73721
  function isArrayLike(value) {
73721
- return value != null && isLength(value.length) && !isFunction3(value);
73722
+ return value != null && isLength(value.length) && !isFunction4(value);
73722
73723
  }
73723
73724
  function isArrayLikeObject(value) {
73724
73725
  return isObjectLike(value) && isArrayLike(value);
@@ -73770,7 +73771,7 @@ var require_lodash6 = __commonJS({
73770
73771
  function isFinite2(value) {
73771
73772
  return typeof value == "number" && nativeIsFinite(value);
73772
73773
  }
73773
- function isFunction3(value) {
73774
+ function isFunction4(value) {
73774
73775
  if (!isObject5(value)) {
73775
73776
  return false;
73776
73777
  }
@@ -74093,7 +74094,7 @@ var require_lodash6 = __commonJS({
74093
74094
  index = length;
74094
74095
  value = defaultValue;
74095
74096
  }
74096
- object = isFunction3(value) ? value.call(object) : value;
74097
+ object = isFunction4(value) ? value.call(object) : value;
74097
74098
  }
74098
74099
  return object;
74099
74100
  }
@@ -74114,7 +74115,7 @@ var require_lodash6 = __commonJS({
74114
74115
  if (isArrLike) {
74115
74116
  accumulator = isArr4 ? new Ctor() : [];
74116
74117
  } else if (isObject5(object)) {
74117
- accumulator = isFunction3(Ctor) ? baseCreate(getPrototype(object)) : {};
74118
+ accumulator = isFunction4(Ctor) ? baseCreate(getPrototype(object)) : {};
74118
74119
  } else {
74119
74120
  accumulator = {};
74120
74121
  }
@@ -74534,7 +74535,7 @@ var require_lodash6 = __commonJS({
74534
74535
  object = this;
74535
74536
  methodNames = baseFunctions(source2, keys(source2));
74536
74537
  }
74537
- var chain2 = !(isObject5(options) && "chain" in options) || !!options.chain, isFunc = isFunction3(object);
74538
+ var chain2 = !(isObject5(options) && "chain" in options) || !!options.chain, isFunc = isFunction4(object);
74538
74539
  arrayEach(methodNames, function(methodName) {
74539
74540
  var func = source2[methodName];
74540
74541
  object[methodName] = func;
@@ -74869,7 +74870,7 @@ var require_lodash6 = __commonJS({
74869
74870
  lodash.isEqualWith = isEqualWith;
74870
74871
  lodash.isError = isError;
74871
74872
  lodash.isFinite = isFinite2;
74872
- lodash.isFunction = isFunction3;
74873
+ lodash.isFunction = isFunction4;
74873
74874
  lodash.isInteger = isInteger;
74874
74875
  lodash.isLength = isLength;
74875
74876
  lodash.isMap = isMap2;
@@ -76080,16 +76081,17 @@ var CATCHE_VALIDITY_PREIOD = 7 * 24 * 3600 * 1e3;
76080
76081
  // ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.8/node_modules/@modern-js/codesmith-utils/dist/esm/semver.js
76081
76082
  var import_semver = __toESM(require_semver2());
76082
76083
 
76083
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/bind.js
76084
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/bind.js
76084
76085
  function bind(fn, thisArg) {
76085
76086
  return function wrap() {
76086
76087
  return fn.apply(thisArg, arguments);
76087
76088
  };
76088
76089
  }
76089
76090
 
76090
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/utils.js
76091
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/utils.js
76091
76092
  var { toString } = Object.prototype;
76092
76093
  var { getPrototypeOf } = Object;
76094
+ var { iterator, toStringTag } = Symbol;
76093
76095
  var kindOf = ((cache) => (thing) => {
76094
76096
  const str = toString.call(thing);
76095
76097
  return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());
@@ -76124,7 +76126,17 @@ var isPlainObject = (val) => {
76124
76126
  return false;
76125
76127
  }
76126
76128
  const prototype3 = getPrototypeOf(val);
76127
- return (prototype3 === null || prototype3 === Object.prototype || Object.getPrototypeOf(prototype3) === null) && !(Symbol.toStringTag in val) && !(Symbol.iterator in val);
76129
+ return (prototype3 === null || prototype3 === Object.prototype || Object.getPrototypeOf(prototype3) === null) && !(toStringTag in val) && !(iterator in val);
76130
+ };
76131
+ var isEmptyObject = (val) => {
76132
+ if (!isObject(val) || isBuffer(val)) {
76133
+ return false;
76134
+ }
76135
+ try {
76136
+ return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype;
76137
+ } catch (e) {
76138
+ return false;
76139
+ }
76128
76140
  };
76129
76141
  var isDate = kindOfTest("Date");
76130
76142
  var isFile = kindOfTest("File");
@@ -76153,6 +76165,9 @@ function forEach(obj, fn, { allOwnKeys = false } = {}) {
76153
76165
  fn.call(null, obj[i], i, obj);
76154
76166
  }
76155
76167
  } else {
76168
+ if (isBuffer(obj)) {
76169
+ return;
76170
+ }
76156
76171
  const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);
76157
76172
  const len = keys.length;
76158
76173
  let key2;
@@ -76163,6 +76178,9 @@ function forEach(obj, fn, { allOwnKeys = false } = {}) {
76163
76178
  }
76164
76179
  }
76165
76180
  function findKey(obj, key2) {
76181
+ if (isBuffer(obj)) {
76182
+ return null;
76183
+ }
76166
76184
  key2 = key2.toLowerCase();
76167
76185
  const keys = Object.keys(obj);
76168
76186
  let i = keys.length;
@@ -76182,7 +76200,7 @@ var _global = (() => {
76182
76200
  })();
76183
76201
  var isContextDefined = (context) => !isUndefined(context) && context !== _global;
76184
76202
  function merge() {
76185
- const { caseless } = isContextDefined(this) && this || {};
76203
+ const { caseless, skipUndefined } = isContextDefined(this) && this || {};
76186
76204
  const result = {};
76187
76205
  const assignValue = (val, key2) => {
76188
76206
  const targetKey = caseless && findKey(result, key2) || key2;
@@ -76193,7 +76211,9 @@ function merge() {
76193
76211
  } else if (isArray(val)) {
76194
76212
  result[targetKey] = val.slice();
76195
76213
  } else {
76196
- result[targetKey] = val;
76214
+ if (!skipUndefined || !isUndefined(val)) {
76215
+ result[targetKey] = val;
76216
+ }
76197
76217
  }
76198
76218
  };
76199
76219
  for (let i = 0, l = arguments.length; i < l; i++) {
@@ -76276,10 +76296,10 @@ var isTypedArray = ((TypedArray) => {
76276
76296
  };
76277
76297
  })(typeof Uint8Array !== "undefined" && getPrototypeOf(Uint8Array));
76278
76298
  var forEachEntry = (obj, fn) => {
76279
- const generator = obj && obj[Symbol.iterator];
76280
- const iterator = generator.call(obj);
76299
+ const generator = obj && obj[iterator];
76300
+ const _iterator = generator.call(obj);
76281
76301
  let result;
76282
- while ((result = iterator.next()) && !result.done) {
76302
+ while ((result = _iterator.next()) && !result.done) {
76283
76303
  const pair = result.value;
76284
76304
  fn.call(obj, pair[0], pair[1]);
76285
76305
  }
@@ -76350,7 +76370,7 @@ var toFiniteNumber = (value, defaultValue) => {
76350
76370
  return value != null && Number.isFinite(value = +value) ? value : defaultValue;
76351
76371
  };
76352
76372
  function isSpecCompliantForm(thing) {
76353
- return !!(thing && isFunction(thing.append) && thing[Symbol.toStringTag] === "FormData" && thing[Symbol.iterator]);
76373
+ return !!(thing && isFunction(thing.append) && thing[toStringTag] === "FormData" && thing[iterator]);
76354
76374
  }
76355
76375
  var toJSONObject = (obj) => {
76356
76376
  const stack2 = new Array(10);
@@ -76359,6 +76379,9 @@ var toJSONObject = (obj) => {
76359
76379
  if (stack2.indexOf(source2) >= 0) {
76360
76380
  return;
76361
76381
  }
76382
+ if (isBuffer(source2)) {
76383
+ return source2;
76384
+ }
76362
76385
  if (!("toJSON" in source2)) {
76363
76386
  stack2[i] = source2;
76364
76387
  const target = isArray(source2) ? [] : {};
@@ -76396,6 +76419,7 @@ var _setImmediate = ((setImmediateSupported, postMessageSupported) => {
76396
76419
  isFunction(_global.postMessage)
76397
76420
  );
76398
76421
  var asap = typeof queueMicrotask !== "undefined" ? queueMicrotask.bind(_global) : typeof process !== "undefined" && process.nextTick || _setImmediate;
76422
+ var isIterable = (thing) => thing != null && isFunction(thing[iterator]);
76399
76423
  var utils_default = {
76400
76424
  isArray,
76401
76425
  isArrayBuffer,
@@ -76407,6 +76431,7 @@ var utils_default = {
76407
76431
  isBoolean,
76408
76432
  isObject,
76409
76433
  isPlainObject,
76434
+ isEmptyObject,
76410
76435
  isReadableStream,
76411
76436
  isRequest,
76412
76437
  isResponse,
@@ -76452,10 +76477,11 @@ var utils_default = {
76452
76477
  isAsyncFn,
76453
76478
  isThenable,
76454
76479
  setImmediate: _setImmediate,
76455
- asap
76480
+ asap,
76481
+ isIterable
76456
76482
  };
76457
76483
 
76458
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/AxiosError.js
76484
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/core/AxiosError.js
76459
76485
  function AxiosError(message, code, config, request, response) {
76460
76486
  Error.call(this);
76461
76487
  if (Error.captureStackTrace) {
@@ -76522,19 +76548,23 @@ AxiosError.from = (error, code, config, request, response, customProps) => {
76522
76548
  }, (prop) => {
76523
76549
  return prop !== "isAxiosError";
76524
76550
  });
76525
- AxiosError.call(axiosError, error.message, code, config, request, response);
76526
- axiosError.cause = error;
76527
- axiosError.name = error.name;
76551
+ const msg = error && error.message ? error.message : "Error";
76552
+ const errCode = code == null && error ? error.code : code;
76553
+ AxiosError.call(axiosError, msg, errCode, config, request, response);
76554
+ if (error && axiosError.cause == null) {
76555
+ Object.defineProperty(axiosError, "cause", { value: error, configurable: true });
76556
+ }
76557
+ axiosError.name = error && error.name || "Error";
76528
76558
  customProps && Object.assign(axiosError, customProps);
76529
76559
  return axiosError;
76530
76560
  };
76531
76561
  var AxiosError_default = AxiosError;
76532
76562
 
76533
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/platform/node/classes/FormData.js
76563
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/platform/node/classes/FormData.js
76534
76564
  var import_form_data = __toESM(require_form_data());
76535
76565
  var FormData_default = import_form_data.default;
76536
76566
 
76537
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/toFormData.js
76567
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/toFormData.js
76538
76568
  function isVisitable(thing) {
76539
76569
  return utils_default.isPlainObject(thing) || utils_default.isArray(thing);
76540
76570
  }
@@ -76582,6 +76612,9 @@ function toFormData(obj, formData, options) {
76582
76612
  if (utils_default.isDate(value)) {
76583
76613
  return value.toISOString();
76584
76614
  }
76615
+ if (utils_default.isBoolean(value)) {
76616
+ return value.toString();
76617
+ }
76585
76618
  if (!useBlob && utils_default.isBlob(value)) {
76586
76619
  throw new AxiosError_default("Blob is not supported. Use a Buffer instead.");
76587
76620
  }
@@ -76649,7 +76682,7 @@ function toFormData(obj, formData, options) {
76649
76682
  }
76650
76683
  var toFormData_default = toFormData;
76651
76684
 
76652
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/AxiosURLSearchParams.js
76685
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/AxiosURLSearchParams.js
76653
76686
  function encode(str) {
76654
76687
  const charMap = {
76655
76688
  "!": "%21",
@@ -76682,9 +76715,9 @@ prototype2.toString = function toString2(encoder) {
76682
76715
  };
76683
76716
  var AxiosURLSearchParams_default = AxiosURLSearchParams;
76684
76717
 
76685
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/buildURL.js
76718
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/buildURL.js
76686
76719
  function encode2(val) {
76687
- return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
76720
+ return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
76688
76721
  }
76689
76722
  function buildURL(url2, params, options) {
76690
76723
  if (!params) {
@@ -76713,7 +76746,7 @@ function buildURL(url2, params, options) {
76713
76746
  return url2;
76714
76747
  }
76715
76748
 
76716
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/InterceptorManager.js
76749
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/core/InterceptorManager.js
76717
76750
  var InterceptorManager = class {
76718
76751
  constructor() {
76719
76752
  this.handlers = [];
@@ -76777,21 +76810,21 @@ var InterceptorManager = class {
76777
76810
  };
76778
76811
  var InterceptorManager_default = InterceptorManager;
76779
76812
 
76780
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/defaults/transitional.js
76813
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/defaults/transitional.js
76781
76814
  var transitional_default = {
76782
76815
  silentJSONParsing: true,
76783
76816
  forcedJSONParsing: true,
76784
76817
  clarifyTimeoutError: false
76785
76818
  };
76786
76819
 
76787
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/platform/node/index.js
76820
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/platform/node/index.js
76788
76821
  var import_crypto = __toESM(require("crypto"));
76789
76822
 
76790
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/platform/node/classes/URLSearchParams.js
76823
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/platform/node/classes/URLSearchParams.js
76791
76824
  var import_url = __toESM(require("url"));
76792
76825
  var URLSearchParams_default = import_url.default.URLSearchParams;
76793
76826
 
76794
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/platform/node/index.js
76827
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/platform/node/index.js
76795
76828
  var ALPHA = "abcdefghijklmnopqrstuvwxyz";
76796
76829
  var DIGIT = "0123456789";
76797
76830
  var ALPHABET = {
@@ -76821,7 +76854,7 @@ var node_default = {
76821
76854
  protocols: ["http", "https", "file", "data"]
76822
76855
  };
76823
76856
 
76824
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/platform/common/utils.js
76857
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/platform/common/utils.js
76825
76858
  var utils_exports = {};
76826
76859
  __export(utils_exports, {
76827
76860
  hasBrowserEnv: () => hasBrowserEnv,
@@ -76839,12 +76872,12 @@ var hasStandardBrowserWebWorkerEnv = (() => {
76839
76872
  })();
76840
76873
  var origin = hasBrowserEnv && window.location.href || "http://localhost";
76841
76874
 
76842
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/platform/index.js
76875
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/platform/index.js
76843
76876
  var platform_default = __spreadValues(__spreadValues({}, utils_exports), node_default);
76844
76877
 
76845
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/toURLEncodedForm.js
76878
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/toURLEncodedForm.js
76846
76879
  function toURLEncodedForm(data, options) {
76847
- return toFormData_default(data, new platform_default.classes.URLSearchParams(), Object.assign({
76880
+ return toFormData_default(data, new platform_default.classes.URLSearchParams(), __spreadValues({
76848
76881
  visitor: function(value, key2, path7, helpers) {
76849
76882
  if (platform_default.isNode && utils_default.isBuffer(value)) {
76850
76883
  this.append(key2, value.toString("base64"));
@@ -76855,7 +76888,7 @@ function toURLEncodedForm(data, options) {
76855
76888
  }, options));
76856
76889
  }
76857
76890
 
76858
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/formDataToJSON.js
76891
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/formDataToJSON.js
76859
76892
  function parsePropPath(name) {
76860
76893
  return utils_default.matchAll(/\w+|\[(\w*)]/g, name).map((match) => {
76861
76894
  return match[0] === "[]" ? "" : match[1] || match[0];
@@ -76909,7 +76942,7 @@ function formDataToJSON(formData) {
76909
76942
  }
76910
76943
  var formDataToJSON_default = formDataToJSON;
76911
76944
 
76912
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/defaults/index.js
76945
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/defaults/index.js
76913
76946
  function stringifySafely(rawValue, parser, encoder) {
76914
76947
  if (utils_default.isString(rawValue)) {
76915
76948
  try {
@@ -76978,7 +77011,7 @@ var defaults = {
76978
77011
  const silentJSONParsing = transitional2 && transitional2.silentJSONParsing;
76979
77012
  const strictJSONParsing = !silentJSONParsing && JSONRequested;
76980
77013
  try {
76981
- return JSON.parse(data);
77014
+ return JSON.parse(data, this.parseReviver);
76982
77015
  } catch (e) {
76983
77016
  if (strictJSONParsing) {
76984
77017
  if (e.name === "SyntaxError") {
@@ -77018,7 +77051,7 @@ utils_default.forEach(["delete", "get", "head", "post", "put", "patch"], (method
77018
77051
  });
77019
77052
  var defaults_default = defaults;
77020
77053
 
77021
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/parseHeaders.js
77054
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/parseHeaders.js
77022
77055
  var ignoreDuplicateOf = utils_default.toObjectSet([
77023
77056
  "age",
77024
77057
  "authorization",
@@ -77063,7 +77096,7 @@ var parseHeaders_default = (rawHeaders) => {
77063
77096
  return parsed;
77064
77097
  };
77065
77098
 
77066
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/AxiosHeaders.js
77099
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/core/AxiosHeaders.js
77067
77100
  var $internals = Symbol("internals");
77068
77101
  function normalizeHeader(header) {
77069
77102
  return header && String(header).trim().toLowerCase();
@@ -77137,10 +77170,15 @@ var AxiosHeaders = class {
77137
77170
  setHeaders(header, valueOrRewrite);
77138
77171
  } else if (utils_default.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
77139
77172
  setHeaders(parseHeaders_default(header), valueOrRewrite);
77140
- } else if (utils_default.isHeaders(header)) {
77141
- for (const [key2, value] of header.entries()) {
77142
- setHeader(value, key2, rewrite);
77173
+ } else if (utils_default.isObject(header) && utils_default.isIterable(header)) {
77174
+ let obj = {}, dest, key2;
77175
+ for (const entry of header) {
77176
+ if (!utils_default.isArray(entry)) {
77177
+ throw TypeError("Object iterator must return a key-value pair");
77178
+ }
77179
+ obj[key2 = entry[0]] = (dest = obj[key2]) ? utils_default.isArray(dest) ? [...dest, entry[1]] : [dest, entry[1]] : entry[1];
77143
77180
  }
77181
+ setHeaders(obj, valueOrRewrite);
77144
77182
  } else {
77145
77183
  header != null && setHeader(valueOrRewrite, header, rewrite);
77146
77184
  }
@@ -77244,6 +77282,9 @@ var AxiosHeaders = class {
77244
77282
  toString() {
77245
77283
  return Object.entries(this.toJSON()).map(([header, value]) => header + ": " + value).join("\n");
77246
77284
  }
77285
+ getSetCookie() {
77286
+ return this.get("set-cookie") || [];
77287
+ }
77247
77288
  get [Symbol.toStringTag]() {
77248
77289
  return "AxiosHeaders";
77249
77290
  }
@@ -77285,7 +77326,7 @@ utils_default.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key2) => {
77285
77326
  utils_default.freezeMethods(AxiosHeaders);
77286
77327
  var AxiosHeaders_default = AxiosHeaders;
77287
77328
 
77288
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/transformData.js
77329
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/core/transformData.js
77289
77330
  function transformData(fns, response) {
77290
77331
  const config = this || defaults_default;
77291
77332
  const context = response || config;
@@ -77298,12 +77339,12 @@ function transformData(fns, response) {
77298
77339
  return data;
77299
77340
  }
77300
77341
 
77301
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/cancel/isCancel.js
77342
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/cancel/isCancel.js
77302
77343
  function isCancel(value) {
77303
77344
  return !!(value && value.__CANCEL__);
77304
77345
  }
77305
77346
 
77306
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/cancel/CanceledError.js
77347
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/cancel/CanceledError.js
77307
77348
  function CanceledError(message, config, request) {
77308
77349
  AxiosError_default.call(this, message == null ? "canceled" : message, AxiosError_default.ERR_CANCELED, config, request);
77309
77350
  this.name = "CanceledError";
@@ -77313,7 +77354,7 @@ utils_default.inherits(CanceledError, AxiosError_default, {
77313
77354
  });
77314
77355
  var CanceledError_default = CanceledError;
77315
77356
 
77316
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/settle.js
77357
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/core/settle.js
77317
77358
  function settle(resolve, reject, response) {
77318
77359
  const validateStatus2 = response.config.validateStatus;
77319
77360
  if (!response.status || !validateStatus2 || validateStatus2(response.status)) {
@@ -77329,17 +77370,17 @@ function settle(resolve, reject, response) {
77329
77370
  }
77330
77371
  }
77331
77372
 
77332
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/isAbsoluteURL.js
77373
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/isAbsoluteURL.js
77333
77374
  function isAbsoluteURL(url2) {
77334
77375
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url2);
77335
77376
  }
77336
77377
 
77337
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/combineURLs.js
77378
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/combineURLs.js
77338
77379
  function combineURLs(baseURL, relativeURL) {
77339
77380
  return relativeURL ? baseURL.replace(/\/?\/$/, "") + "/" + relativeURL.replace(/^\/+/, "") : baseURL;
77340
77381
  }
77341
77382
 
77342
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/buildFullPath.js
77383
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/core/buildFullPath.js
77343
77384
  function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
77344
77385
  let isRelativeUrl = !isAbsoluteURL(requestedURL);
77345
77386
  if (baseURL && (isRelativeUrl || allowAbsoluteUrls == false)) {
@@ -77348,7 +77389,7 @@ function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
77348
77389
  return requestedURL;
77349
77390
  }
77350
77391
 
77351
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/http.js
77392
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/adapters/http.js
77352
77393
  var import_proxy_from_env = __toESM(require_proxy_from_env());
77353
77394
  var import_http = __toESM(require("http"));
77354
77395
  var import_https = __toESM(require("https"));
@@ -77356,16 +77397,16 @@ var import_util2 = __toESM(require("util"));
77356
77397
  var import_follow_redirects = __toESM(require_follow_redirects());
77357
77398
  var import_zlib = __toESM(require("zlib"));
77358
77399
 
77359
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/env/data.js
77360
- var VERSION = "1.8.4";
77400
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/env/data.js
77401
+ var VERSION = "1.12.0";
77361
77402
 
77362
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/parseProtocol.js
77403
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/parseProtocol.js
77363
77404
  function parseProtocol(url2) {
77364
77405
  const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url2);
77365
77406
  return match && match[1] || "";
77366
77407
  }
77367
77408
 
77368
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/fromDataURI.js
77409
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/fromDataURI.js
77369
77410
  var DATA_URL_PATTERN = /^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;
77370
77411
  function fromDataURI(uri, asBlob, options) {
77371
77412
  const _Blob = options && options.Blob || platform_default.classes.Blob;
@@ -77394,10 +77435,10 @@ function fromDataURI(uri, asBlob, options) {
77394
77435
  throw new AxiosError_default("Unsupported protocol " + protocol, AxiosError_default.ERR_NOT_SUPPORT);
77395
77436
  }
77396
77437
 
77397
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/http.js
77438
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/adapters/http.js
77398
77439
  var import_stream4 = __toESM(require("stream"));
77399
77440
 
77400
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/AxiosTransformStream.js
77441
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/AxiosTransformStream.js
77401
77442
  var import_stream = __toESM(require("stream"));
77402
77443
  var kInternals = Symbol("internals");
77403
77444
  var AxiosTransformStream = class extends import_stream.default.Transform {
@@ -77512,14 +77553,14 @@ var AxiosTransformStream = class extends import_stream.default.Transform {
77512
77553
  };
77513
77554
  var AxiosTransformStream_default = AxiosTransformStream;
77514
77555
 
77515
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/http.js
77556
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/adapters/http.js
77516
77557
  var import_events = require("events");
77517
77558
 
77518
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/formDataToStream.js
77559
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/formDataToStream.js
77519
77560
  var import_util = __toESM(require("util"));
77520
77561
  var import_stream2 = require("stream");
77521
77562
 
77522
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/readBlob.js
77563
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/readBlob.js
77523
77564
  var { asyncIterator } = Symbol;
77524
77565
  var readBlob = function(blob) {
77525
77566
  return __asyncGenerator(this, null, function* () {
@@ -77536,7 +77577,7 @@ var readBlob = function(blob) {
77536
77577
  };
77537
77578
  var readBlob_default = readBlob;
77538
77579
 
77539
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/formDataToStream.js
77580
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/formDataToStream.js
77540
77581
  var BOUNDARY_ALPHABET = platform_default.ALPHABET.ALPHA_DIGIT + "-_";
77541
77582
  var textEncoder = typeof TextEncoder === "function" ? new TextEncoder() : new import_util.default.TextEncoder();
77542
77583
  var CRLF = "\r\n";
@@ -77591,7 +77632,7 @@ var formDataToStream = (form, headersHandler, options) => {
77591
77632
  throw Error("boundary must be 10-70 characters long");
77592
77633
  }
77593
77634
  const boundaryBytes = textEncoder.encode("--" + boundary + CRLF);
77594
- const footerBytes = textEncoder.encode("--" + boundary + "--" + CRLF + CRLF);
77635
+ const footerBytes = textEncoder.encode("--" + boundary + "--" + CRLF);
77595
77636
  let contentLength = footerBytes.byteLength;
77596
77637
  const parts = Array.from(form.entries()).map(([name, value]) => {
77597
77638
  const part = new FormDataPart(name, value);
@@ -77619,7 +77660,7 @@ var formDataToStream = (form, headersHandler, options) => {
77619
77660
  };
77620
77661
  var formDataToStream_default = formDataToStream;
77621
77662
 
77622
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js
77663
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js
77623
77664
  var import_stream3 = __toESM(require("stream"));
77624
77665
  var ZlibHeaderTransformStream = class extends import_stream3.default.Transform {
77625
77666
  __transform(chunk, encoding, callback) {
@@ -77641,7 +77682,7 @@ var ZlibHeaderTransformStream = class extends import_stream3.default.Transform {
77641
77682
  };
77642
77683
  var ZlibHeaderTransformStream_default = ZlibHeaderTransformStream;
77643
77684
 
77644
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/callbackify.js
77685
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/callbackify.js
77645
77686
  var callbackify = (fn, reducer) => {
77646
77687
  return utils_default.isAsyncFn(fn) ? function(...args) {
77647
77688
  const cb = args.pop();
@@ -77656,7 +77697,7 @@ var callbackify = (fn, reducer) => {
77656
77697
  };
77657
77698
  var callbackify_default = callbackify;
77658
77699
 
77659
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/speedometer.js
77700
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/speedometer.js
77660
77701
  function speedometer(samplesCount, min) {
77661
77702
  samplesCount = samplesCount || 10;
77662
77703
  const bytes = new Array(samplesCount);
@@ -77692,7 +77733,7 @@ function speedometer(samplesCount, min) {
77692
77733
  }
77693
77734
  var speedometer_default = speedometer;
77694
77735
 
77695
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/throttle.js
77736
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/throttle.js
77696
77737
  function throttle(fn, freq) {
77697
77738
  let timestamp = 0;
77698
77739
  let threshold = 1e3 / freq;
@@ -77705,7 +77746,7 @@ function throttle(fn, freq) {
77705
77746
  clearTimeout(timer);
77706
77747
  timer = null;
77707
77748
  }
77708
- fn.apply(null, args);
77749
+ fn(...args);
77709
77750
  };
77710
77751
  const throttled = (...args) => {
77711
77752
  const now = Date.now();
@@ -77727,7 +77768,7 @@ function throttle(fn, freq) {
77727
77768
  }
77728
77769
  var throttle_default = throttle;
77729
77770
 
77730
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/progressEventReducer.js
77771
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/progressEventReducer.js
77731
77772
  var progressEventReducer = (listener, isDownloadStream, freq = 3) => {
77732
77773
  let bytesNotified = 0;
77733
77774
  const _speedometer = speedometer_default(50, 250);
@@ -77762,7 +77803,61 @@ var progressEventDecorator = (total, throttled) => {
77762
77803
  };
77763
77804
  var asyncDecorator = (fn) => (...args) => utils_default.asap(() => fn(...args));
77764
77805
 
77765
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/http.js
77806
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js
77807
+ function estimateDataURLDecodedBytes(url2) {
77808
+ if (!url2 || typeof url2 !== "string")
77809
+ return 0;
77810
+ if (!url2.startsWith("data:"))
77811
+ return 0;
77812
+ const comma = url2.indexOf(",");
77813
+ if (comma < 0)
77814
+ return 0;
77815
+ const meta = url2.slice(5, comma);
77816
+ const body = url2.slice(comma + 1);
77817
+ const isBase64 = /;base64/i.test(meta);
77818
+ if (isBase64) {
77819
+ let effectiveLen = body.length;
77820
+ const len = body.length;
77821
+ for (let i = 0; i < len; i++) {
77822
+ if (body.charCodeAt(i) === 37 && i + 2 < len) {
77823
+ const a = body.charCodeAt(i + 1);
77824
+ const b = body.charCodeAt(i + 2);
77825
+ const isHex = (a >= 48 && a <= 57 || a >= 65 && a <= 70 || a >= 97 && a <= 102) && (b >= 48 && b <= 57 || b >= 65 && b <= 70 || b >= 97 && b <= 102);
77826
+ if (isHex) {
77827
+ effectiveLen -= 2;
77828
+ i += 2;
77829
+ }
77830
+ }
77831
+ }
77832
+ let pad = 0;
77833
+ let idx = len - 1;
77834
+ const tailIsPct3D = (j) => j >= 2 && body.charCodeAt(j - 2) === 37 && // '%'
77835
+ body.charCodeAt(j - 1) === 51 && // '3'
77836
+ (body.charCodeAt(j) === 68 || body.charCodeAt(j) === 100);
77837
+ if (idx >= 0) {
77838
+ if (body.charCodeAt(idx) === 61) {
77839
+ pad++;
77840
+ idx--;
77841
+ } else if (tailIsPct3D(idx)) {
77842
+ pad++;
77843
+ idx -= 3;
77844
+ }
77845
+ }
77846
+ if (pad === 1 && idx >= 0) {
77847
+ if (body.charCodeAt(idx) === 61) {
77848
+ pad++;
77849
+ } else if (tailIsPct3D(idx)) {
77850
+ pad++;
77851
+ }
77852
+ }
77853
+ const groups = Math.floor(effectiveLen / 4);
77854
+ const bytes = groups * 3 - (pad || 0);
77855
+ return bytes > 0 ? bytes : 0;
77856
+ }
77857
+ return Buffer.byteLength(body, "utf8");
77858
+ }
77859
+
77860
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/adapters/http.js
77766
77861
  var zlibOptions = {
77767
77862
  flush: import_zlib.default.constants.Z_SYNC_FLUSH,
77768
77863
  finishFlush: import_zlib.default.constants.Z_SYNC_FLUSH
@@ -77906,6 +78001,17 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
77906
78001
  const parsed = new URL(fullPath, platform_default.hasBrowserEnv ? platform_default.origin : void 0);
77907
78002
  const protocol = parsed.protocol || supportedProtocols[0];
77908
78003
  if (protocol === "data:") {
78004
+ if (config.maxContentLength > -1) {
78005
+ const dataUrl = String(config.url || fullPath || "");
78006
+ const estimated = estimateDataURLDecodedBytes(dataUrl);
78007
+ if (estimated > config.maxContentLength) {
78008
+ return reject(new AxiosError_default(
78009
+ "maxContentLength size of " + config.maxContentLength + " exceeded",
78010
+ AxiosError_default.ERR_BAD_RESPONSE,
78011
+ config
78012
+ ));
78013
+ }
78014
+ }
77909
78015
  let convertedData;
77910
78016
  if (method !== "GET") {
77911
78017
  return settle(resolve, reject, {
@@ -78268,7 +78374,7 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
78268
78374
  });
78269
78375
  };
78270
78376
 
78271
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/isURLSameOrigin.js
78377
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/isURLSameOrigin.js
78272
78378
  var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? ((origin2, isMSIE) => (url2) => {
78273
78379
  url2 = new URL(url2, platform_default.origin);
78274
78380
  return origin2.protocol === url2.protocol && origin2.host === url2.host && (isMSIE || origin2.port === url2.port);
@@ -78277,7 +78383,7 @@ var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? ((origin2
78277
78383
  platform_default.navigator && /(msie|trident)/i.test(platform_default.navigator.userAgent)
78278
78384
  ) : () => true;
78279
78385
 
78280
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/cookies.js
78386
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/cookies.js
78281
78387
  var cookies_default = platform_default.hasStandardBrowserEnv ? (
78282
78388
  // Standard browser envs support document.cookie
78283
78389
  {
@@ -78310,7 +78416,7 @@ var cookies_default = platform_default.hasStandardBrowserEnv ? (
78310
78416
  }
78311
78417
  );
78312
78418
 
78313
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/mergeConfig.js
78419
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/core/mergeConfig.js
78314
78420
  var headersToObject = (thing) => thing instanceof AxiosHeaders_default ? __spreadValues({}, thing) : thing;
78315
78421
  function mergeConfig(config1, config2) {
78316
78422
  config2 = config2 || {};
@@ -78382,7 +78488,7 @@ function mergeConfig(config1, config2) {
78382
78488
  validateStatus: mergeDirectKeys,
78383
78489
  headers: (a, b, prop) => mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true)
78384
78490
  };
78385
- utils_default.forEach(Object.keys(Object.assign({}, config1, config2)), function computeConfigValue(prop) {
78491
+ utils_default.forEach(Object.keys(__spreadValues(__spreadValues({}, config1), config2)), function computeConfigValue(prop) {
78386
78492
  const merge4 = mergeMap[prop] || mergeDeepProperties;
78387
78493
  const configValue = merge4(config1[prop], config2[prop], prop);
78388
78494
  utils_default.isUndefined(configValue) && merge4 !== mergeDirectKeys || (config[prop] = configValue);
@@ -78390,7 +78496,7 @@ function mergeConfig(config1, config2) {
78390
78496
  return config;
78391
78497
  }
78392
78498
 
78393
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/resolveConfig.js
78499
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/resolveConfig.js
78394
78500
  var resolveConfig_default = (config) => {
78395
78501
  const newConfig = mergeConfig({}, config);
78396
78502
  let { data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth } = newConfig;
@@ -78402,13 +78508,17 @@ var resolveConfig_default = (config) => {
78402
78508
  "Basic " + btoa((auth.username || "") + ":" + (auth.password ? unescape(encodeURIComponent(auth.password)) : ""))
78403
78509
  );
78404
78510
  }
78405
- let contentType;
78406
78511
  if (utils_default.isFormData(data)) {
78407
78512
  if (platform_default.hasStandardBrowserEnv || platform_default.hasStandardBrowserWebWorkerEnv) {
78408
78513
  headers.setContentType(void 0);
78409
- } else if ((contentType = headers.getContentType()) !== false) {
78410
- const [type, ...tokens] = contentType ? contentType.split(";").map((token2) => token2.trim()).filter(Boolean) : [];
78411
- headers.setContentType([type || "multipart/form-data", ...tokens].join("; "));
78514
+ } else if (utils_default.isFunction(data.getHeaders)) {
78515
+ const formHeaders = data.getHeaders();
78516
+ const allowedHeaders = ["content-type", "content-length"];
78517
+ Object.entries(formHeaders).forEach(([key2, val]) => {
78518
+ if (allowedHeaders.includes(key2.toLowerCase())) {
78519
+ headers.set(key2, val);
78520
+ }
78521
+ });
78412
78522
  }
78413
78523
  }
78414
78524
  if (platform_default.hasStandardBrowserEnv) {
@@ -78423,7 +78533,7 @@ var resolveConfig_default = (config) => {
78423
78533
  return newConfig;
78424
78534
  };
78425
78535
 
78426
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/xhr.js
78536
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/adapters/xhr.js
78427
78537
  var isXHRAdapterSupported = typeof XMLHttpRequest !== "undefined";
78428
78538
  var xhr_default = isXHRAdapterSupported && function(config) {
78429
78539
  return new Promise(function dispatchXhrRequest(resolve, reject) {
@@ -78488,8 +78598,11 @@ var xhr_default = isXHRAdapterSupported && function(config) {
78488
78598
  reject(new AxiosError_default("Request aborted", AxiosError_default.ECONNABORTED, config, request));
78489
78599
  request = null;
78490
78600
  };
78491
- request.onerror = function handleError() {
78492
- reject(new AxiosError_default("Network Error", AxiosError_default.ERR_NETWORK, config, request));
78601
+ request.onerror = function handleError(event) {
78602
+ const msg = event && event.message ? event.message : "Network Error";
78603
+ const err = new AxiosError_default(msg, AxiosError_default.ERR_NETWORK, config, request);
78604
+ err.event = event || null;
78605
+ reject(err);
78493
78606
  request = null;
78494
78607
  };
78495
78608
  request.ontimeout = function handleTimeout() {
@@ -78550,7 +78663,7 @@ var xhr_default = isXHRAdapterSupported && function(config) {
78550
78663
  });
78551
78664
  };
78552
78665
 
78553
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/composeSignals.js
78666
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/composeSignals.js
78554
78667
  var composeSignals = (signals, timeout) => {
78555
78668
  const { length } = signals = signals ? signals.filter(Boolean) : [];
78556
78669
  if (timeout || length) {
@@ -78586,7 +78699,7 @@ var composeSignals = (signals, timeout) => {
78586
78699
  };
78587
78700
  var composeSignals_default = composeSignals;
78588
78701
 
78589
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/trackStream.js
78702
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/trackStream.js
78590
78703
  var streamChunk = function* (chunk, chunkSize) {
78591
78704
  let len = chunk.byteLength;
78592
78705
  if (!chunkSize || len < chunkSize) {
@@ -78641,7 +78754,7 @@ var readStream = function(stream4) {
78641
78754
  });
78642
78755
  };
78643
78756
  var trackStream = (stream4, chunkSize, onProgress, onFinish) => {
78644
- const iterator = readBytes(stream4, chunkSize);
78757
+ const iterator2 = readBytes(stream4, chunkSize);
78645
78758
  let bytes = 0;
78646
78759
  let done;
78647
78760
  let _onFinish = (e) => {
@@ -78654,7 +78767,7 @@ var trackStream = (stream4, chunkSize, onProgress, onFinish) => {
78654
78767
  pull(controller) {
78655
78768
  return __async(this, null, function* () {
78656
78769
  try {
78657
- const { done: done2, value } = yield iterator.next();
78770
+ const { done: done2, value } = yield iterator2.next();
78658
78771
  if (done2) {
78659
78772
  _onFinish();
78660
78773
  controller.close();
@@ -78674,19 +78787,25 @@ var trackStream = (stream4, chunkSize, onProgress, onFinish) => {
78674
78787
  },
78675
78788
  cancel(reason) {
78676
78789
  _onFinish(reason);
78677
- return iterator.return();
78790
+ return iterator2.return();
78678
78791
  }
78679
78792
  }, {
78680
78793
  highWaterMark: 2
78681
78794
  });
78682
78795
  };
78683
78796
 
78684
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/fetch.js
78685
- var isFetchSupported = typeof fetch === "function" && typeof Request === "function" && typeof Response === "function";
78686
- var isReadableStreamSupported = isFetchSupported && typeof ReadableStream === "function";
78687
- var encodeText = isFetchSupported && (typeof TextEncoder === "function" ? ((encoder) => (str) => encoder.encode(str))(new TextEncoder()) : (str) => __async(void 0, null, function* () {
78688
- return new Uint8Array(yield new Response(str).arrayBuffer());
78689
- }));
78797
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/adapters/fetch.js
78798
+ var DEFAULT_CHUNK_SIZE = 64 * 1024;
78799
+ var { isFunction: isFunction2 } = utils_default;
78800
+ var globalFetchAPI = (({ fetch, Request, Response }) => ({
78801
+ fetch,
78802
+ Request,
78803
+ Response
78804
+ }))(utils_default.global);
78805
+ var {
78806
+ ReadableStream: ReadableStream2,
78807
+ TextEncoder: TextEncoder2
78808
+ } = utils_default.global;
78690
78809
  var test = (fn, ...args) => {
78691
78810
  try {
78692
78811
  return !!fn(...args);
@@ -78694,163 +78813,203 @@ var test = (fn, ...args) => {
78694
78813
  return false;
78695
78814
  }
78696
78815
  };
78697
- var supportsRequestStream = isReadableStreamSupported && test(() => {
78698
- let duplexAccessed = false;
78699
- const hasContentType = new Request(platform_default.origin, {
78700
- body: new ReadableStream(),
78701
- method: "POST",
78702
- get duplex() {
78703
- duplexAccessed = true;
78704
- return "half";
78705
- }
78706
- }).headers.has("Content-Type");
78707
- return duplexAccessed && !hasContentType;
78708
- });
78709
- var DEFAULT_CHUNK_SIZE = 64 * 1024;
78710
- var supportsResponseStream = isReadableStreamSupported && test(() => utils_default.isReadableStream(new Response("").body));
78711
- var resolvers = {
78712
- stream: supportsResponseStream && ((res) => res.body)
78713
- };
78714
- isFetchSupported && ((res) => {
78715
- ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((type) => {
78716
- !resolvers[type] && (resolvers[type] = utils_default.isFunction(res[type]) ? (res2) => res2[type]() : (_, config) => {
78717
- throw new AxiosError_default(`Response type '${type}' is not supported`, AxiosError_default.ERR_NOT_SUPPORT, config);
78718
- });
78719
- });
78720
- })(new Response());
78721
- var getBodyLength = (body) => __async(void 0, null, function* () {
78722
- if (body == null) {
78723
- return 0;
78724
- }
78725
- if (utils_default.isBlob(body)) {
78726
- return body.size;
78816
+ var factory = (env) => {
78817
+ const { fetch, Request, Response } = Object.assign({}, globalFetchAPI, env);
78818
+ const isFetchSupported = isFunction2(fetch);
78819
+ const isRequestSupported = isFunction2(Request);
78820
+ const isResponseSupported = isFunction2(Response);
78821
+ if (!isFetchSupported) {
78822
+ return false;
78727
78823
  }
78728
- if (utils_default.isSpecCompliantForm(body)) {
78729
- const _request = new Request(platform_default.origin, {
78824
+ const isReadableStreamSupported = isFetchSupported && isFunction2(ReadableStream2);
78825
+ const encodeText = isFetchSupported && (typeof TextEncoder2 === "function" ? ((encoder) => (str) => encoder.encode(str))(new TextEncoder2()) : (str) => __async(void 0, null, function* () {
78826
+ return new Uint8Array(yield new Request(str).arrayBuffer());
78827
+ }));
78828
+ const supportsRequestStream = isRequestSupported && isReadableStreamSupported && test(() => {
78829
+ let duplexAccessed = false;
78830
+ const hasContentType = new Request(platform_default.origin, {
78831
+ body: new ReadableStream2(),
78730
78832
  method: "POST",
78731
- body
78732
- });
78733
- return (yield _request.arrayBuffer()).byteLength;
78734
- }
78735
- if (utils_default.isArrayBufferView(body) || utils_default.isArrayBuffer(body)) {
78736
- return body.byteLength;
78737
- }
78738
- if (utils_default.isURLSearchParams(body)) {
78739
- body = body + "";
78740
- }
78741
- if (utils_default.isString(body)) {
78742
- return (yield encodeText(body)).byteLength;
78743
- }
78744
- });
78745
- var resolveBodyLength = (headers, body) => __async(void 0, null, function* () {
78746
- const length = utils_default.toFiniteNumber(headers.getContentLength());
78747
- return length == null ? getBodyLength(body) : length;
78748
- });
78749
- var fetch_default = isFetchSupported && ((config) => __async(void 0, null, function* () {
78750
- let {
78751
- url: url2,
78752
- method,
78753
- data,
78754
- signal,
78755
- cancelToken,
78756
- timeout,
78757
- onDownloadProgress,
78758
- onUploadProgress,
78759
- responseType,
78760
- headers,
78761
- withCredentials = "same-origin",
78762
- fetchOptions
78763
- } = resolveConfig_default(config);
78764
- responseType = responseType ? (responseType + "").toLowerCase() : "text";
78765
- let composedSignal = composeSignals_default([signal, cancelToken && cancelToken.toAbortSignal()], timeout);
78766
- let request;
78767
- const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => {
78768
- composedSignal.unsubscribe();
78833
+ get duplex() {
78834
+ duplexAccessed = true;
78835
+ return "half";
78836
+ }
78837
+ }).headers.has("Content-Type");
78838
+ return duplexAccessed && !hasContentType;
78769
78839
  });
78770
- let requestContentLength;
78771
- try {
78772
- if (onUploadProgress && supportsRequestStream && method !== "get" && method !== "head" && (requestContentLength = yield resolveBodyLength(headers, data)) !== 0) {
78773
- let _request = new Request(url2, {
78774
- method: "POST",
78775
- body: data,
78776
- duplex: "half"
78840
+ const supportsResponseStream = isResponseSupported && isReadableStreamSupported && test(() => utils_default.isReadableStream(new Response("").body));
78841
+ const resolvers = {
78842
+ stream: supportsResponseStream && ((res) => res.body)
78843
+ };
78844
+ isFetchSupported && (() => {
78845
+ ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((type) => {
78846
+ !resolvers[type] && (resolvers[type] = (res, config) => {
78847
+ let method = res && res[type];
78848
+ if (method) {
78849
+ return method.call(res);
78850
+ }
78851
+ throw new AxiosError_default(`Response type '${type}' is not supported`, AxiosError_default.ERR_NOT_SUPPORT, config);
78777
78852
  });
78778
- let contentTypeHeader;
78779
- if (utils_default.isFormData(data) && (contentTypeHeader = _request.headers.get("content-type"))) {
78780
- headers.setContentType(contentTypeHeader);
78781
- }
78782
- if (_request.body) {
78783
- const [onProgress, flush] = progressEventDecorator(
78784
- requestContentLength,
78785
- progressEventReducer(asyncDecorator(onUploadProgress))
78786
- );
78787
- data = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush);
78788
- }
78853
+ });
78854
+ })();
78855
+ const getBodyLength = (body) => __async(void 0, null, function* () {
78856
+ if (body == null) {
78857
+ return 0;
78789
78858
  }
78790
- if (!utils_default.isString(withCredentials)) {
78791
- withCredentials = withCredentials ? "include" : "omit";
78859
+ if (utils_default.isBlob(body)) {
78860
+ return body.size;
78792
78861
  }
78793
- const isCredentialsSupported = "credentials" in Request.prototype;
78794
- request = new Request(url2, __spreadProps(__spreadValues({}, fetchOptions), {
78795
- signal: composedSignal,
78796
- method: method.toUpperCase(),
78797
- headers: headers.normalize().toJSON(),
78798
- body: data,
78799
- duplex: "half",
78800
- credentials: isCredentialsSupported ? withCredentials : void 0
78801
- }));
78802
- let response = yield fetch(request);
78803
- const isStreamResponse = supportsResponseStream && (responseType === "stream" || responseType === "response");
78804
- if (supportsResponseStream && (onDownloadProgress || isStreamResponse && unsubscribe)) {
78805
- const options = {};
78806
- ["status", "statusText", "headers"].forEach((prop) => {
78807
- options[prop] = response[prop];
78862
+ if (utils_default.isSpecCompliantForm(body)) {
78863
+ const _request = new Request(platform_default.origin, {
78864
+ method: "POST",
78865
+ body
78808
78866
  });
78809
- const responseContentLength = utils_default.toFiniteNumber(response.headers.get("content-length"));
78810
- const [onProgress, flush] = onDownloadProgress && progressEventDecorator(
78811
- responseContentLength,
78812
- progressEventReducer(asyncDecorator(onDownloadProgress), true)
78813
- ) || [];
78814
- response = new Response(
78815
- trackStream(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
78816
- flush && flush();
78817
- unsubscribe && unsubscribe();
78818
- }),
78819
- options
78820
- );
78867
+ return (yield _request.arrayBuffer()).byteLength;
78821
78868
  }
78822
- responseType = responseType || "text";
78823
- let responseData = yield resolvers[utils_default.findKey(resolvers, responseType) || "text"](response, config);
78824
- !isStreamResponse && unsubscribe && unsubscribe();
78825
- return yield new Promise((resolve, reject) => {
78826
- settle(resolve, reject, {
78827
- data: responseData,
78828
- headers: AxiosHeaders_default.from(response.headers),
78829
- status: response.status,
78830
- statusText: response.statusText,
78831
- config,
78832
- request
78833
- });
78869
+ if (utils_default.isArrayBufferView(body) || utils_default.isArrayBuffer(body)) {
78870
+ return body.byteLength;
78871
+ }
78872
+ if (utils_default.isURLSearchParams(body)) {
78873
+ body = body + "";
78874
+ }
78875
+ if (utils_default.isString(body)) {
78876
+ return (yield encodeText(body)).byteLength;
78877
+ }
78878
+ });
78879
+ const resolveBodyLength = (headers, body) => __async(void 0, null, function* () {
78880
+ const length = utils_default.toFiniteNumber(headers.getContentLength());
78881
+ return length == null ? getBodyLength(body) : length;
78882
+ });
78883
+ return (config) => __async(void 0, null, function* () {
78884
+ let {
78885
+ url: url2,
78886
+ method,
78887
+ data,
78888
+ signal,
78889
+ cancelToken,
78890
+ timeout,
78891
+ onDownloadProgress,
78892
+ onUploadProgress,
78893
+ responseType,
78894
+ headers,
78895
+ withCredentials = "same-origin",
78896
+ fetchOptions
78897
+ } = resolveConfig_default(config);
78898
+ responseType = responseType ? (responseType + "").toLowerCase() : "text";
78899
+ let composedSignal = composeSignals_default([signal, cancelToken && cancelToken.toAbortSignal()], timeout);
78900
+ let request = null;
78901
+ const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => {
78902
+ composedSignal.unsubscribe();
78834
78903
  });
78835
- } catch (err) {
78836
- unsubscribe && unsubscribe();
78837
- if (err && err.name === "TypeError" && /fetch/i.test(err.message)) {
78838
- throw Object.assign(
78839
- new AxiosError_default("Network Error", AxiosError_default.ERR_NETWORK, config, request),
78840
- {
78841
- cause: err.cause || err
78904
+ let requestContentLength;
78905
+ try {
78906
+ if (onUploadProgress && supportsRequestStream && method !== "get" && method !== "head" && (requestContentLength = yield resolveBodyLength(headers, data)) !== 0) {
78907
+ let _request = new Request(url2, {
78908
+ method: "POST",
78909
+ body: data,
78910
+ duplex: "half"
78911
+ });
78912
+ let contentTypeHeader;
78913
+ if (utils_default.isFormData(data) && (contentTypeHeader = _request.headers.get("content-type"))) {
78914
+ headers.setContentType(contentTypeHeader);
78915
+ }
78916
+ if (_request.body) {
78917
+ const [onProgress, flush] = progressEventDecorator(
78918
+ requestContentLength,
78919
+ progressEventReducer(asyncDecorator(onUploadProgress))
78920
+ );
78921
+ data = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush);
78842
78922
  }
78843
- );
78923
+ }
78924
+ if (!utils_default.isString(withCredentials)) {
78925
+ withCredentials = withCredentials ? "include" : "omit";
78926
+ }
78927
+ const isCredentialsSupported = isRequestSupported && "credentials" in Request.prototype;
78928
+ const resolvedOptions = __spreadProps(__spreadValues({}, fetchOptions), {
78929
+ signal: composedSignal,
78930
+ method: method.toUpperCase(),
78931
+ headers: headers.normalize().toJSON(),
78932
+ body: data,
78933
+ duplex: "half",
78934
+ credentials: isCredentialsSupported ? withCredentials : void 0
78935
+ });
78936
+ request = isRequestSupported && new Request(url2, resolvedOptions);
78937
+ let response = yield isRequestSupported ? fetch(request, fetchOptions) : fetch(url2, resolvedOptions);
78938
+ const isStreamResponse = supportsResponseStream && (responseType === "stream" || responseType === "response");
78939
+ if (supportsResponseStream && (onDownloadProgress || isStreamResponse && unsubscribe)) {
78940
+ const options = {};
78941
+ ["status", "statusText", "headers"].forEach((prop) => {
78942
+ options[prop] = response[prop];
78943
+ });
78944
+ const responseContentLength = utils_default.toFiniteNumber(response.headers.get("content-length"));
78945
+ const [onProgress, flush] = onDownloadProgress && progressEventDecorator(
78946
+ responseContentLength,
78947
+ progressEventReducer(asyncDecorator(onDownloadProgress), true)
78948
+ ) || [];
78949
+ response = new Response(
78950
+ trackStream(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
78951
+ flush && flush();
78952
+ unsubscribe && unsubscribe();
78953
+ }),
78954
+ options
78955
+ );
78956
+ }
78957
+ responseType = responseType || "text";
78958
+ let responseData = yield resolvers[utils_default.findKey(resolvers, responseType) || "text"](response, config);
78959
+ !isStreamResponse && unsubscribe && unsubscribe();
78960
+ return yield new Promise((resolve, reject) => {
78961
+ settle(resolve, reject, {
78962
+ data: responseData,
78963
+ headers: AxiosHeaders_default.from(response.headers),
78964
+ status: response.status,
78965
+ statusText: response.statusText,
78966
+ config,
78967
+ request
78968
+ });
78969
+ });
78970
+ } catch (err) {
78971
+ unsubscribe && unsubscribe();
78972
+ if (err && err.name === "TypeError" && /Load failed|fetch/i.test(err.message)) {
78973
+ throw Object.assign(
78974
+ new AxiosError_default("Network Error", AxiosError_default.ERR_NETWORK, config, request),
78975
+ {
78976
+ cause: err.cause || err
78977
+ }
78978
+ );
78979
+ }
78980
+ throw AxiosError_default.from(err, err && err.code, config, request);
78844
78981
  }
78845
- throw AxiosError_default.from(err, err && err.code, config, request);
78982
+ });
78983
+ };
78984
+ var seedCache = /* @__PURE__ */ new Map();
78985
+ var getFetch = (config) => {
78986
+ let env = utils_default.merge.call({
78987
+ skipUndefined: true
78988
+ }, globalFetchAPI, config ? config.env : null);
78989
+ const { fetch, Request, Response } = env;
78990
+ const seeds = [
78991
+ Request,
78992
+ Response,
78993
+ fetch
78994
+ ];
78995
+ let len = seeds.length, i = len, seed, target, map2 = seedCache;
78996
+ while (i--) {
78997
+ seed = seeds[i];
78998
+ target = map2.get(seed);
78999
+ target === void 0 && map2.set(seed, target = i ? /* @__PURE__ */ new Map() : factory(env));
79000
+ map2 = target;
78846
79001
  }
78847
- }));
79002
+ return target;
79003
+ };
79004
+ var adapter = getFetch();
78848
79005
 
78849
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/adapters.js
79006
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/adapters/adapters.js
78850
79007
  var knownAdapters = {
78851
79008
  http: http_default,
78852
79009
  xhr: xhr_default,
78853
- fetch: fetch_default
79010
+ fetch: {
79011
+ get: getFetch
79012
+ }
78854
79013
  };
78855
79014
  utils_default.forEach(knownAdapters, (fn, value) => {
78856
79015
  if (fn) {
@@ -78862,30 +79021,30 @@ utils_default.forEach(knownAdapters, (fn, value) => {
78862
79021
  }
78863
79022
  });
78864
79023
  var renderReason = (reason) => `- ${reason}`;
78865
- var isResolvedHandle = (adapter) => utils_default.isFunction(adapter) || adapter === null || adapter === false;
79024
+ var isResolvedHandle = (adapter2) => utils_default.isFunction(adapter2) || adapter2 === null || adapter2 === false;
78866
79025
  var adapters_default = {
78867
- getAdapter: (adapters) => {
79026
+ getAdapter: (adapters, config) => {
78868
79027
  adapters = utils_default.isArray(adapters) ? adapters : [adapters];
78869
79028
  const { length } = adapters;
78870
79029
  let nameOrAdapter;
78871
- let adapter;
79030
+ let adapter2;
78872
79031
  const rejectedReasons = {};
78873
79032
  for (let i = 0; i < length; i++) {
78874
79033
  nameOrAdapter = adapters[i];
78875
79034
  let id;
78876
- adapter = nameOrAdapter;
79035
+ adapter2 = nameOrAdapter;
78877
79036
  if (!isResolvedHandle(nameOrAdapter)) {
78878
- adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
78879
- if (adapter === void 0) {
79037
+ adapter2 = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
79038
+ if (adapter2 === void 0) {
78880
79039
  throw new AxiosError_default(`Unknown adapter '${id}'`);
78881
79040
  }
78882
79041
  }
78883
- if (adapter) {
79042
+ if (adapter2 && (utils_default.isFunction(adapter2) || (adapter2 = adapter2.get(config)))) {
78884
79043
  break;
78885
79044
  }
78886
- rejectedReasons[id || "#" + i] = adapter;
79045
+ rejectedReasons[id || "#" + i] = adapter2;
78887
79046
  }
78888
- if (!adapter) {
79047
+ if (!adapter2) {
78889
79048
  const reasons = Object.entries(rejectedReasons).map(
78890
79049
  ([id, state]) => `adapter ${id} ` + (state === false ? "is not supported by the environment" : "is not available in the build")
78891
79050
  );
@@ -78895,12 +79054,12 @@ var adapters_default = {
78895
79054
  "ERR_NOT_SUPPORT"
78896
79055
  );
78897
79056
  }
78898
- return adapter;
79057
+ return adapter2;
78899
79058
  },
78900
79059
  adapters: knownAdapters
78901
79060
  };
78902
79061
 
78903
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/dispatchRequest.js
79062
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/core/dispatchRequest.js
78904
79063
  function throwIfCancellationRequested(config) {
78905
79064
  if (config.cancelToken) {
78906
79065
  config.cancelToken.throwIfRequested();
@@ -78919,8 +79078,8 @@ function dispatchRequest(config) {
78919
79078
  if (["post", "put", "patch"].indexOf(config.method) !== -1) {
78920
79079
  config.headers.setContentType("application/x-www-form-urlencoded", false);
78921
79080
  }
78922
- const adapter = adapters_default.getAdapter(config.adapter || defaults_default.adapter);
78923
- return adapter(config).then(function onAdapterResolution(response) {
79081
+ const adapter2 = adapters_default.getAdapter(config.adapter || defaults_default.adapter, config);
79082
+ return adapter2(config).then(function onAdapterResolution(response) {
78924
79083
  throwIfCancellationRequested(config);
78925
79084
  response.data = transformData.call(
78926
79085
  config,
@@ -78945,7 +79104,7 @@ function dispatchRequest(config) {
78945
79104
  });
78946
79105
  }
78947
79106
 
78948
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/validator.js
79107
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/validator.js
78949
79108
  var validators = {};
78950
79109
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((type, i) => {
78951
79110
  validators[type] = function validator(thing) {
@@ -79009,11 +79168,11 @@ var validator_default = {
79009
79168
  validators
79010
79169
  };
79011
79170
 
79012
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/Axios.js
79171
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/core/Axios.js
79013
79172
  var validators2 = validator_default.validators;
79014
79173
  var Axios = class {
79015
79174
  constructor(instanceConfig) {
79016
- this.defaults = instanceConfig;
79175
+ this.defaults = instanceConfig || {};
79017
79176
  this.interceptors = {
79018
79177
  request: new InterceptorManager_default(),
79019
79178
  response: new InterceptorManager_default()
@@ -79117,8 +79276,8 @@ var Axios = class {
79117
79276
  let len;
79118
79277
  if (!synchronousRequestInterceptors) {
79119
79278
  const chain = [dispatchRequest.bind(this), void 0];
79120
- chain.unshift.apply(chain, requestInterceptorChain);
79121
- chain.push.apply(chain, responseInterceptorChain);
79279
+ chain.unshift(...requestInterceptorChain);
79280
+ chain.push(...responseInterceptorChain);
79122
79281
  len = chain.length;
79123
79282
  promise = Promise.resolve(config);
79124
79283
  while (i < len) {
@@ -79184,7 +79343,7 @@ utils_default.forEach(["post", "put", "patch"], function forEachMethodWithData(m
79184
79343
  });
79185
79344
  var Axios_default = Axios;
79186
79345
 
79187
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/cancel/CancelToken.js
79346
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/cancel/CancelToken.js
79188
79347
  var CancelToken = class _CancelToken {
79189
79348
  constructor(executor) {
79190
79349
  if (typeof executor !== "function") {
@@ -79283,19 +79442,19 @@ var CancelToken = class _CancelToken {
79283
79442
  };
79284
79443
  var CancelToken_default = CancelToken;
79285
79444
 
79286
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/spread.js
79445
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/spread.js
79287
79446
  function spread(callback) {
79288
79447
  return function wrap(arr) {
79289
79448
  return callback.apply(null, arr);
79290
79449
  };
79291
79450
  }
79292
79451
 
79293
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/isAxiosError.js
79452
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/isAxiosError.js
79294
79453
  function isAxiosError(payload) {
79295
79454
  return utils_default.isObject(payload) && payload.isAxiosError === true;
79296
79455
  }
79297
79456
 
79298
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/HttpStatusCode.js
79457
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/HttpStatusCode.js
79299
79458
  var HttpStatusCode = {
79300
79459
  Continue: 100,
79301
79460
  SwitchingProtocols: 101,
@@ -79366,7 +79525,7 @@ Object.entries(HttpStatusCode).forEach(([key2, value]) => {
79366
79525
  });
79367
79526
  var HttpStatusCode_default = HttpStatusCode;
79368
79527
 
79369
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/axios.js
79528
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/axios.js
79370
79529
  function createInstance(defaultConfig) {
79371
79530
  const context = new Axios_default(defaultConfig);
79372
79531
  const instance = bind(Axios_default.prototype.request, context);
@@ -79399,7 +79558,7 @@ axios.HttpStatusCode = HttpStatusCode_default;
79399
79558
  axios.default = axios;
79400
79559
  var axios_default = axios;
79401
79560
 
79402
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/index.js
79561
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/index.js
79403
79562
  var {
79404
79563
  Axios: Axios2,
79405
79564
  AxiosError: AxiosError2,
@@ -80284,17 +80443,17 @@ var isRegExp2 = isType("RegExp");
80284
80443
  var toArr = function(val) {
80285
80444
  return isArr(val) ? val : val ? [val] : [];
80286
80445
  };
80287
- function each(val, iterator, revert) {
80446
+ function each(val, iterator2, revert) {
80288
80447
  if (isArr(val) || isStr(val)) {
80289
80448
  if (revert) {
80290
80449
  for (var i = val.length - 1; i >= 0; i--) {
80291
- if (iterator(val[i], i) === false) {
80450
+ if (iterator2(val[i], i) === false) {
80292
80451
  return;
80293
80452
  }
80294
80453
  }
80295
80454
  } else {
80296
80455
  for (var i = 0; i < val.length; i++) {
80297
- if (iterator(val[i], i) === false) {
80456
+ if (iterator2(val[i], i) === false) {
80298
80457
  return;
80299
80458
  }
80300
80459
  }
@@ -80303,17 +80462,17 @@ function each(val, iterator, revert) {
80303
80462
  var key2 = void 0;
80304
80463
  for (key2 in val) {
80305
80464
  if (Object.hasOwnProperty.call(val, key2)) {
80306
- if (iterator(val[key2], key2) === false) {
80465
+ if (iterator2(val[key2], key2) === false) {
80307
80466
  return;
80308
80467
  }
80309
80468
  }
80310
80469
  }
80311
80470
  }
80312
80471
  }
80313
- function map(val, iterator, revert) {
80472
+ function map(val, iterator2, revert) {
80314
80473
  var res = isArr(val) || isStr(val) ? [] : {};
80315
80474
  each(val, function(item, key2) {
80316
- var value = iterator(item, key2);
80475
+ var value = iterator2(item, key2);
80317
80476
  if (isArr(res)) {
80318
80477
  ;
80319
80478
  res.push(value);
@@ -80323,10 +80482,10 @@ function map(val, iterator, revert) {
80323
80482
  }, revert);
80324
80483
  return res;
80325
80484
  }
80326
- function reduce(val, iterator, accumulator, revert) {
80485
+ function reduce(val, iterator2, accumulator, revert) {
80327
80486
  var result = accumulator;
80328
80487
  each(val, function(item, key2) {
80329
- result = iterator(result, item, key2);
80488
+ result = iterator2(result, item, key2);
80330
80489
  }, revert);
80331
80490
  return result;
80332
80491
  }
@@ -83079,10 +83238,10 @@ function findObservable(target, key2, value) {
83079
83238
  }
83080
83239
  return value;
83081
83240
  }
83082
- function patchIterator(target, key2, iterator, isEntries) {
83083
- var originalNext = iterator.next;
83084
- iterator.next = function() {
83085
- var _a2 = originalNext.call(iterator), done = _a2.done, value = _a2.value;
83241
+ function patchIterator(target, key2, iterator2, isEntries) {
83242
+ var originalNext = iterator2.next;
83243
+ iterator2.next = function() {
83244
+ var _a2 = originalNext.call(iterator2), done = _a2.done, value = _a2.value;
83086
83245
  if (!done) {
83087
83246
  if (isEntries) {
83088
83247
  value[1] = findObservable(target, key2, value[1]);
@@ -83092,7 +83251,7 @@ function patchIterator(target, key2, iterator, isEntries) {
83092
83251
  }
83093
83252
  return { done, value };
83094
83253
  };
83095
- return iterator;
83254
+ return iterator2;
83096
83255
  }
83097
83256
  var instrumentations = (_a = {
83098
83257
  has: function(key2) {
@@ -83180,22 +83339,22 @@ var instrumentations = (_a = {
83180
83339
  var target = ProxyRaw.get(this);
83181
83340
  var proto = Reflect.getPrototypeOf(this);
83182
83341
  bindTargetKeyWithCurrentReaction({ target, type: "iterate" });
83183
- var iterator = proto.values.apply(target, arguments);
83184
- return patchIterator(target, "", iterator, false);
83342
+ var iterator2 = proto.values.apply(target, arguments);
83343
+ return patchIterator(target, "", iterator2, false);
83185
83344
  },
83186
83345
  entries: function() {
83187
83346
  var target = ProxyRaw.get(this);
83188
83347
  var proto = Reflect.getPrototypeOf(this);
83189
83348
  bindTargetKeyWithCurrentReaction({ target, type: "iterate" });
83190
- var iterator = proto.entries.apply(target, arguments);
83191
- return patchIterator(target, "", iterator, true);
83349
+ var iterator2 = proto.entries.apply(target, arguments);
83350
+ return patchIterator(target, "", iterator2, true);
83192
83351
  }
83193
83352
  }, _a[Symbol.iterator] = function() {
83194
83353
  var target = ProxyRaw.get(this);
83195
83354
  var proto = Reflect.getPrototypeOf(this);
83196
83355
  bindTargetKeyWithCurrentReaction({ target, type: "iterate" });
83197
- var iterator = proto[Symbol.iterator].apply(target, arguments);
83198
- return patchIterator(target, "", iterator, target instanceof Map);
83356
+ var iterator2 = proto[Symbol.iterator].apply(target, arguments);
83357
+ return patchIterator(target, "", iterator2, target instanceof Map);
83199
83358
  }, Object.defineProperty(_a, "size", {
83200
83359
  get: function() {
83201
83360
  var target = ProxyRaw.get(this);