@rockcarver/frodo-cli 2.0.6-2 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/app.cjs CHANGED
@@ -3693,7 +3693,7 @@ var require_debug7 = _chunkMPPKDFVIcjs.__commonJS.call(void 0, {
3693
3693
  });
3694
3694
 
3695
3695
  // node_modules/cli-table3/src/utils.js
3696
- var require_utils7 = _chunkMPPKDFVIcjs.__commonJS.call(void 0, {
3696
+ var require_utils5 = _chunkMPPKDFVIcjs.__commonJS.call(void 0, {
3697
3697
  "node_modules/cli-table3/src/utils.js"(exports2, module2) {
3698
3698
  "use strict";
3699
3699
  _chunkMPPKDFVIcjs.init_cjs_shims.call(void 0, );
@@ -4683,7 +4683,7 @@ var require_cell = _chunkMPPKDFVIcjs.__commonJS.call(void 0, {
4683
4683
  "use strict";
4684
4684
  _chunkMPPKDFVIcjs.init_cjs_shims.call(void 0, );
4685
4685
  var { info: info2, debug: debug3 } = require_debug7();
4686
- var utils = require_utils7();
4686
+ var utils = require_utils5();
4687
4687
  var Cell = class _Cell {
4688
4688
  /**
4689
4689
  * A representation of a cell within the table.
@@ -5298,7 +5298,7 @@ var require_table = _chunkMPPKDFVIcjs.__commonJS.call(void 0, {
5298
5298
  "use strict";
5299
5299
  _chunkMPPKDFVIcjs.init_cjs_shims.call(void 0, );
5300
5300
  var debug3 = require_debug7();
5301
- var utils = require_utils7();
5301
+ var utils = require_utils5();
5302
5302
  var tableLayout = require_layout_manager();
5303
5303
  var Table3 = class extends Array {
5304
5304
  constructor(opts) {
@@ -6180,7 +6180,7 @@ var require_extendStringPrototype = _chunkMPPKDFVIcjs.__commonJS.call(void 0, {
6180
6180
  });
6181
6181
 
6182
6182
  // node_modules/colors/lib/index.js
6183
- var require_lib9 = _chunkMPPKDFVIcjs.__commonJS.call(void 0, {
6183
+ var require_lib7 = _chunkMPPKDFVIcjs.__commonJS.call(void 0, {
6184
6184
  "node_modules/colors/lib/index.js"(exports2, module2) {
6185
6185
  "use strict";
6186
6186
  _chunkMPPKDFVIcjs.init_cjs_shims.call(void 0, );
@@ -8293,7 +8293,7 @@ var require_constants5 = _chunkMPPKDFVIcjs.__commonJS.call(void 0, {
8293
8293
  });
8294
8294
 
8295
8295
  // node_modules/picomatch/lib/utils.js
8296
- var require_utils8 = _chunkMPPKDFVIcjs.__commonJS.call(void 0, {
8296
+ var require_utils6 = _chunkMPPKDFVIcjs.__commonJS.call(void 0, {
8297
8297
  "node_modules/picomatch/lib/utils.js"(exports2) {
8298
8298
  "use strict";
8299
8299
  _chunkMPPKDFVIcjs.init_cjs_shims.call(void 0, );
@@ -8359,7 +8359,7 @@ var require_scan = _chunkMPPKDFVIcjs.__commonJS.call(void 0, {
8359
8359
  "node_modules/picomatch/lib/scan.js"(exports2, module2) {
8360
8360
  "use strict";
8361
8361
  _chunkMPPKDFVIcjs.init_cjs_shims.call(void 0, );
8362
- var utils = require_utils8();
8362
+ var utils = require_utils6();
8363
8363
  var {
8364
8364
  CHAR_ASTERISK,
8365
8365
  /* * */
@@ -8686,12 +8686,12 @@ var require_scan = _chunkMPPKDFVIcjs.__commonJS.call(void 0, {
8686
8686
  });
8687
8687
 
8688
8688
  // node_modules/picomatch/lib/parse.js
8689
- var require_parse5 = _chunkMPPKDFVIcjs.__commonJS.call(void 0, {
8689
+ var require_parse3 = _chunkMPPKDFVIcjs.__commonJS.call(void 0, {
8690
8690
  "node_modules/picomatch/lib/parse.js"(exports2, module2) {
8691
8691
  "use strict";
8692
8692
  _chunkMPPKDFVIcjs.init_cjs_shims.call(void 0, );
8693
8693
  var constants = require_constants5();
8694
- var utils = require_utils8();
8694
+ var utils = require_utils6();
8695
8695
  var {
8696
8696
  MAX_LENGTH,
8697
8697
  POSIX_REGEX_SOURCE,
@@ -9466,8 +9466,8 @@ var require_picomatch = _chunkMPPKDFVIcjs.__commonJS.call(void 0, {
9466
9466
  _chunkMPPKDFVIcjs.init_cjs_shims.call(void 0, );
9467
9467
  var path8 = _chunkMPPKDFVIcjs.__require.call(void 0, "path");
9468
9468
  var scan = require_scan();
9469
- var parse7 = require_parse5();
9470
- var utils = require_utils8();
9469
+ var parse7 = require_parse3();
9470
+ var utils = require_utils6();
9471
9471
  var constants = require_constants5();
9472
9472
  var isObject5 = (val) => val && typeof val === "object" && !Array.isArray(val);
9473
9473
  var picomatch = (glob, options2, returnState = false) => {
@@ -10121,7 +10121,7 @@ var require_glob_parent = _chunkMPPKDFVIcjs.__commonJS.call(void 0, {
10121
10121
  });
10122
10122
 
10123
10123
  // node_modules/braces/lib/utils.js
10124
- var require_utils9 = _chunkMPPKDFVIcjs.__commonJS.call(void 0, {
10124
+ var require_utils7 = _chunkMPPKDFVIcjs.__commonJS.call(void 0, {
10125
10125
  "node_modules/braces/lib/utils.js"(exports2) {
10126
10126
  "use strict";
10127
10127
  _chunkMPPKDFVIcjs.init_cjs_shims.call(void 0, );
@@ -10204,11 +10204,11 @@ var require_utils9 = _chunkMPPKDFVIcjs.__commonJS.call(void 0, {
10204
10204
  });
10205
10205
 
10206
10206
  // node_modules/braces/lib/stringify.js
10207
- var require_stringify5 = _chunkMPPKDFVIcjs.__commonJS.call(void 0, {
10207
+ var require_stringify3 = _chunkMPPKDFVIcjs.__commonJS.call(void 0, {
10208
10208
  "node_modules/braces/lib/stringify.js"(exports2, module2) {
10209
10209
  "use strict";
10210
10210
  _chunkMPPKDFVIcjs.init_cjs_shims.call(void 0, );
10211
- var utils = require_utils9();
10211
+ var utils = require_utils7();
10212
10212
  module2.exports = (ast, options2 = {}) => {
10213
10213
  const stringify15 = (node2, parent = {}) => {
10214
10214
  const invalidBlock = options2.escapeInvalid && utils.isInvalidBrace(parent);
@@ -10665,7 +10665,7 @@ var require_compile = _chunkMPPKDFVIcjs.__commonJS.call(void 0, {
10665
10665
  "use strict";
10666
10666
  _chunkMPPKDFVIcjs.init_cjs_shims.call(void 0, );
10667
10667
  var fill = require_fill_range();
10668
- var utils = require_utils9();
10668
+ var utils = require_utils7();
10669
10669
  var compile = (ast, options2 = {}) => {
10670
10670
  const walk = (node2, parent = {}) => {
10671
10671
  const invalidBlock = utils.isInvalidBrace(parent);
@@ -10718,8 +10718,8 @@ var require_expand = _chunkMPPKDFVIcjs.__commonJS.call(void 0, {
10718
10718
  "use strict";
10719
10719
  _chunkMPPKDFVIcjs.init_cjs_shims.call(void 0, );
10720
10720
  var fill = require_fill_range();
10721
- var stringify15 = require_stringify5();
10722
- var utils = require_utils9();
10721
+ var stringify15 = require_stringify3();
10722
+ var utils = require_utils7();
10723
10723
  var append2 = (queue5 = "", stash = "", enclose = false) => {
10724
10724
  const result2 = [];
10725
10725
  queue5 = [].concat(queue5);
@@ -10910,11 +10910,11 @@ var require_constants6 = _chunkMPPKDFVIcjs.__commonJS.call(void 0, {
10910
10910
  });
10911
10911
 
10912
10912
  // node_modules/braces/lib/parse.js
10913
- var require_parse6 = _chunkMPPKDFVIcjs.__commonJS.call(void 0, {
10913
+ var require_parse4 = _chunkMPPKDFVIcjs.__commonJS.call(void 0, {
10914
10914
  "node_modules/braces/lib/parse.js"(exports2, module2) {
10915
10915
  "use strict";
10916
10916
  _chunkMPPKDFVIcjs.init_cjs_shims.call(void 0, );
10917
- var stringify15 = require_stringify5();
10917
+ var stringify15 = require_stringify3();
10918
10918
  var {
10919
10919
  MAX_LENGTH,
10920
10920
  CHAR_BACKSLASH,
@@ -11153,10 +11153,10 @@ var require_braces = _chunkMPPKDFVIcjs.__commonJS.call(void 0, {
11153
11153
  "node_modules/braces/index.js"(exports2, module2) {
11154
11154
  "use strict";
11155
11155
  _chunkMPPKDFVIcjs.init_cjs_shims.call(void 0, );
11156
- var stringify15 = require_stringify5();
11156
+ var stringify15 = require_stringify3();
11157
11157
  var compile = require_compile();
11158
11158
  var expand2 = require_expand();
11159
- var parse7 = require_parse6();
11159
+ var parse7 = require_parse4();
11160
11160
  var braces = (input, options2 = {}) => {
11161
11161
  let output = [];
11162
11162
  if (Array.isArray(input)) {
@@ -26896,7 +26896,7 @@ var require_run_async = _chunkMPPKDFVIcjs.__commonJS.call(void 0, {
26896
26896
  });
26897
26897
 
26898
26898
  // node_modules/inquirer/lib/utils/utils.js
26899
- var require_utils10 = _chunkMPPKDFVIcjs.__commonJS.call(void 0, {
26899
+ var require_utils8 = _chunkMPPKDFVIcjs.__commonJS.call(void 0, {
26900
26900
  "node_modules/inquirer/lib/utils/utils.js"(exports2) {
26901
26901
  "use strict";
26902
26902
  _chunkMPPKDFVIcjs.init_cjs_shims.call(void 0, );
@@ -26929,7 +26929,7 @@ var require_prompt = _chunkMPPKDFVIcjs.__commonJS.call(void 0, {
26929
26929
  var { defer: defer5, empty: empty5, from, of } = require_cjs();
26930
26930
  var { concatMap, filter: filter2, publish, reduce } = require_operators();
26931
26931
  var runAsync = require_run_async();
26932
- var utils = require_utils10();
26932
+ var utils = require_utils8();
26933
26933
  var Base = require_baseUI();
26934
26934
  var PromptUI = class extends Base {
26935
26935
  constructor(prompts, opt) {
@@ -45589,7 +45589,7 @@ var require_extend_node2 = _chunkMPPKDFVIcjs.__commonJS.call(void 0, {
45589
45589
  });
45590
45590
 
45591
45591
  // node_modules/iconv-lite/lib/index.js
45592
- var require_lib10 = _chunkMPPKDFVIcjs.__commonJS.call(void 0, {
45592
+ var require_lib8 = _chunkMPPKDFVIcjs.__commonJS.call(void 0, {
45593
45593
  "node_modules/iconv-lite/lib/index.js"(exports2, module2) {
45594
45594
  "use strict";
45595
45595
  _chunkMPPKDFVIcjs.init_cjs_shims.call(void 0, );
@@ -46180,7 +46180,7 @@ var require_main = _chunkMPPKDFVIcjs.__commonJS.call(void 0, {
46180
46180
  var chardet_1 = require_chardet();
46181
46181
  var child_process_1 = _chunkMPPKDFVIcjs.__require.call(void 0, "child_process");
46182
46182
  var fs_1 = _chunkMPPKDFVIcjs.__require.call(void 0, "fs");
46183
- var iconv_lite_1 = require_lib10();
46183
+ var iconv_lite_1 = require_lib8();
46184
46184
  var tmp_1 = require_tmp();
46185
46185
  var CreateFileError_1 = require_CreateFileError();
46186
46186
  exports2.CreateFileError = CreateFileError_1.CreateFileError;
@@ -56545,7 +56545,7 @@ var require_form_data = __commonJS2({
56545
56545
  if (typeof value == "number") {
56546
56546
  value = "" + value;
56547
56547
  }
56548
- if (util46.isArray(value)) {
56548
+ if (Array.isArray(value)) {
56549
56549
  this._error(new Error("Arrays are not supported."));
56550
56550
  return;
56551
56551
  }
@@ -57540,9 +57540,17 @@ var require_follow_redirects = __commonJS2({
57540
57540
  var Writable = __require2("stream").Writable;
57541
57541
  var assert2 = __require2("assert");
57542
57542
  var debug22 = require_debug();
57543
+ (function detectUnsupportedEnvironment() {
57544
+ var looksLikeNode = typeof process !== "undefined";
57545
+ var looksLikeBrowser = typeof window !== "undefined" && typeof document !== "undefined";
57546
+ var looksLikeV8 = isFunction5(Error.captureStackTrace);
57547
+ if (!looksLikeNode && (looksLikeBrowser || !looksLikeV8)) {
57548
+ console.warn("The follow-redirects package should be excluded from browser builds.");
57549
+ }
57550
+ })();
57543
57551
  var useNativeURL = false;
57544
57552
  try {
57545
- assert2(new URL6());
57553
+ assert2(new URL6(""));
57546
57554
  } catch (error2) {
57547
57555
  useNativeURL = error2.code === "ERR_INVALID_URL";
57548
57556
  }
@@ -57969,7 +57977,9 @@ var require_follow_redirects = __commonJS2({
57969
57977
  }
57970
57978
  function createErrorType(code, message, baseClass) {
57971
57979
  function CustomError(properties) {
57972
- Error.captureStackTrace(this, this.constructor);
57980
+ if (isFunction5(Error.captureStackTrace)) {
57981
+ Error.captureStackTrace(this, this.constructor);
57982
+ }
57973
57983
  Object.assign(this, properties || {});
57974
57984
  this.code = code;
57975
57985
  this.message = this.cause ? message + ": " + this.cause.message : message;
@@ -58868,25 +58878,28 @@ var require_common2 = __commonJS2({
58868
58878
  }
58869
58879
  return expected === actual;
58870
58880
  }
58871
- var timeouts2 = [];
58872
- var intervals2 = [];
58873
- var immediates2 = [];
58874
- var wrapTimer2 = (timer, ids) => (...args) => {
58875
- const id7 = timer(...args);
58876
- ids.push(id7);
58881
+ var timeouts2 = /* @__PURE__ */ new Set();
58882
+ var immediates2 = /* @__PURE__ */ new Set();
58883
+ var wrapTimer2 = (timer, ids) => (callback, ...timerArgs) => {
58884
+ const cb = (...callbackArgs) => {
58885
+ try {
58886
+ callback(...callbackArgs);
58887
+ } finally {
58888
+ ids.delete(id7);
58889
+ }
58890
+ };
58891
+ const id7 = timer(cb, ...timerArgs);
58892
+ ids.add(id7);
58877
58893
  return id7;
58878
58894
  };
58879
58895
  var setTimeout2 = wrapTimer2(timers2.setTimeout, timeouts2);
58880
- var setInterval22 = wrapTimer2(timers2.setInterval, intervals2);
58881
58896
  var setImmediate3 = wrapTimer2(timers2.setImmediate, immediates2);
58882
58897
  function clearTimer2(clear, ids) {
58883
- while (ids.length) {
58884
- clear(ids.shift());
58885
- }
58898
+ ids.forEach(clear);
58899
+ ids.clear();
58886
58900
  }
58887
58901
  function removeAllTimers2() {
58888
58902
  clearTimer2(clearTimeout, timeouts2);
58889
- clearTimer2(clearInterval, intervals2);
58890
58903
  clearTimer2(clearImmediate, immediates2);
58891
58904
  }
58892
58905
  function isRequestDestroyed2(req) {
@@ -58973,7 +58986,6 @@ var require_common2 = __commonJS2({
58973
58986
  removeAllTimers: removeAllTimers2,
58974
58987
  restoreOverriddenRequests: restoreOverriddenRequests2,
58975
58988
  setImmediate: setImmediate3,
58976
- setInterval: setInterval22,
58977
58989
  setTimeout: setTimeout2,
58978
58990
  stringifyRequest: stringifyRequest3
58979
58991
  };
@@ -59830,9 +59842,9 @@ var require_interceptor = __commonJS2({
59830
59842
  return this.reply(
59831
59843
  statusCode,
59832
59844
  () => {
59833
- const readStream = fs72.createReadStream(filePath);
59834
- readStream.pause();
59835
- return readStream;
59845
+ const readStream2 = fs72.createReadStream(filePath);
59846
+ readStream2.pause();
59847
+ return readStream2;
59836
59848
  },
59837
59849
  headers2
59838
59850
  );
@@ -73180,10 +73192,10 @@ var require_raw_body = __commonJS2({
73180
73192
  var limit = bytes.parse(opts.limit);
73181
73193
  var length = opts.length != null && !isNaN(opts.length) ? parseInt(opts.length, 10) : null;
73182
73194
  if (done) {
73183
- return readStream(stream4, encoding, length, limit, wrap7(done));
73195
+ return readStream2(stream4, encoding, length, limit, wrap7(done));
73184
73196
  }
73185
73197
  return new Promise(function executor(resolve5, reject5) {
73186
- readStream(stream4, encoding, length, limit, function onRead(err, buf) {
73198
+ readStream2(stream4, encoding, length, limit, function onRead(err, buf) {
73187
73199
  if (err) return reject5(err);
73188
73200
  resolve5(buf);
73189
73201
  });
@@ -73195,7 +73207,7 @@ var require_raw_body = __commonJS2({
73195
73207
  stream4.pause();
73196
73208
  }
73197
73209
  }
73198
- function readStream(stream4, encoding, length, limit, callback) {
73210
+ function readStream2(stream4, encoding, length, limit, callback) {
73199
73211
  var complete = false;
73200
73212
  var sync = true;
73201
73213
  if (limit !== null && length !== null && length > limit) {
@@ -74021,701 +74033,6 @@ var require_text = __commonJS2({
74021
74033
  }
74022
74034
  }
74023
74035
  });
74024
- var require_formats2 = __commonJS2({
74025
- "node_modules/body-parser/node_modules/qs/lib/formats.js"(exports2, module2) {
74026
- "use strict";
74027
- var replace = String.prototype.replace;
74028
- var percentTwenties = /%20/g;
74029
- var Format = {
74030
- RFC1738: "RFC1738",
74031
- RFC3986: "RFC3986"
74032
- };
74033
- module2.exports = {
74034
- "default": Format.RFC3986,
74035
- formatters: {
74036
- RFC1738: function(value) {
74037
- return replace.call(value, percentTwenties, "+");
74038
- },
74039
- RFC3986: function(value) {
74040
- return String(value);
74041
- }
74042
- },
74043
- RFC1738: Format.RFC1738,
74044
- RFC3986: Format.RFC3986
74045
- };
74046
- }
74047
- });
74048
- var require_utils4 = __commonJS2({
74049
- "node_modules/body-parser/node_modules/qs/lib/utils.js"(exports2, module2) {
74050
- "use strict";
74051
- var formats = require_formats2();
74052
- var has = Object.prototype.hasOwnProperty;
74053
- var isArray14 = Array.isArray;
74054
- var hexTable = function() {
74055
- var array = [];
74056
- for (var i2 = 0; i2 < 256; ++i2) {
74057
- array.push("%" + ((i2 < 16 ? "0" : "") + i2.toString(16)).toUpperCase());
74058
- }
74059
- return array;
74060
- }();
74061
- var compactQueue = function compactQueue2(queue5) {
74062
- while (queue5.length > 1) {
74063
- var item = queue5.pop();
74064
- var obj = item.obj[item.prop];
74065
- if (isArray14(obj)) {
74066
- var compacted = [];
74067
- for (var j2 = 0; j2 < obj.length; ++j2) {
74068
- if (typeof obj[j2] !== "undefined") {
74069
- compacted.push(obj[j2]);
74070
- }
74071
- }
74072
- item.obj[item.prop] = compacted;
74073
- }
74074
- }
74075
- };
74076
- var arrayToObject2 = function arrayToObject3(source, options2) {
74077
- var obj = options2 && options2.plainObjects ? /* @__PURE__ */ Object.create(null) : {};
74078
- for (var i2 = 0; i2 < source.length; ++i2) {
74079
- if (typeof source[i2] !== "undefined") {
74080
- obj[i2] = source[i2];
74081
- }
74082
- }
74083
- return obj;
74084
- };
74085
- var merge2 = function merge3(target, source, options2) {
74086
- if (!source) {
74087
- return target;
74088
- }
74089
- if (typeof source !== "object") {
74090
- if (isArray14(target)) {
74091
- target.push(source);
74092
- } else if (target && typeof target === "object") {
74093
- if (options2 && (options2.plainObjects || options2.allowPrototypes) || !has.call(Object.prototype, source)) {
74094
- target[source] = true;
74095
- }
74096
- } else {
74097
- return [target, source];
74098
- }
74099
- return target;
74100
- }
74101
- if (!target || typeof target !== "object") {
74102
- return [target].concat(source);
74103
- }
74104
- var mergeTarget = target;
74105
- if (isArray14(target) && !isArray14(source)) {
74106
- mergeTarget = arrayToObject2(target, options2);
74107
- }
74108
- if (isArray14(target) && isArray14(source)) {
74109
- source.forEach(function(item, i2) {
74110
- if (has.call(target, i2)) {
74111
- var targetItem = target[i2];
74112
- if (targetItem && typeof targetItem === "object" && item && typeof item === "object") {
74113
- target[i2] = merge3(targetItem, item, options2);
74114
- } else {
74115
- target.push(item);
74116
- }
74117
- } else {
74118
- target[i2] = item;
74119
- }
74120
- });
74121
- return target;
74122
- }
74123
- return Object.keys(source).reduce(function(acc, key) {
74124
- var value = source[key];
74125
- if (has.call(acc, key)) {
74126
- acc[key] = merge3(acc[key], value, options2);
74127
- } else {
74128
- acc[key] = value;
74129
- }
74130
- return acc;
74131
- }, mergeTarget);
74132
- };
74133
- var assign6 = function assignSingleSource(target, source) {
74134
- return Object.keys(source).reduce(function(acc, key) {
74135
- acc[key] = source[key];
74136
- return acc;
74137
- }, target);
74138
- };
74139
- var decode2 = function(str2, decoder, charset) {
74140
- var strWithoutPlus = str2.replace(/\+/g, " ");
74141
- if (charset === "iso-8859-1") {
74142
- return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape);
74143
- }
74144
- try {
74145
- return decodeURIComponent(strWithoutPlus);
74146
- } catch (e) {
74147
- return strWithoutPlus;
74148
- }
74149
- };
74150
- var encode4 = function encode5(str2, defaultEncoder, charset, kind, format) {
74151
- if (str2.length === 0) {
74152
- return str2;
74153
- }
74154
- var string = str2;
74155
- if (typeof str2 === "symbol") {
74156
- string = Symbol.prototype.toString.call(str2);
74157
- } else if (typeof str2 !== "string") {
74158
- string = String(str2);
74159
- }
74160
- if (charset === "iso-8859-1") {
74161
- return escape(string).replace(/%u[0-9a-f]{4}/gi, function($0) {
74162
- return "%26%23" + parseInt($0.slice(2), 16) + "%3B";
74163
- });
74164
- }
74165
- var out = "";
74166
- for (var i2 = 0; i2 < string.length; ++i2) {
74167
- var c = string.charCodeAt(i2);
74168
- if (c === 45 || c === 46 || c === 95 || c === 126 || c >= 48 && c <= 57 || c >= 65 && c <= 90 || c >= 97 && c <= 122 || format === formats.RFC1738 && (c === 40 || c === 41)) {
74169
- out += string.charAt(i2);
74170
- continue;
74171
- }
74172
- if (c < 128) {
74173
- out = out + hexTable[c];
74174
- continue;
74175
- }
74176
- if (c < 2048) {
74177
- out = out + (hexTable[192 | c >> 6] + hexTable[128 | c & 63]);
74178
- continue;
74179
- }
74180
- if (c < 55296 || c >= 57344) {
74181
- out = out + (hexTable[224 | c >> 12] + hexTable[128 | c >> 6 & 63] + hexTable[128 | c & 63]);
74182
- continue;
74183
- }
74184
- i2 += 1;
74185
- c = 65536 + ((c & 1023) << 10 | string.charCodeAt(i2) & 1023);
74186
- out += hexTable[240 | c >> 18] + hexTable[128 | c >> 12 & 63] + hexTable[128 | c >> 6 & 63] + hexTable[128 | c & 63];
74187
- }
74188
- return out;
74189
- };
74190
- var compact = function compact2(value) {
74191
- var queue5 = [{ obj: { o: value }, prop: "o" }];
74192
- var refs = [];
74193
- for (var i2 = 0; i2 < queue5.length; ++i2) {
74194
- var item = queue5[i2];
74195
- var obj = item.obj[item.prop];
74196
- var keys13 = Object.keys(obj);
74197
- for (var j2 = 0; j2 < keys13.length; ++j2) {
74198
- var key = keys13[j2];
74199
- var val = obj[key];
74200
- if (typeof val === "object" && val !== null && refs.indexOf(val) === -1) {
74201
- queue5.push({ obj, prop: key });
74202
- refs.push(val);
74203
- }
74204
- }
74205
- }
74206
- compactQueue(queue5);
74207
- return value;
74208
- };
74209
- var isRegExp2 = function isRegExp3(obj) {
74210
- return Object.prototype.toString.call(obj) === "[object RegExp]";
74211
- };
74212
- var isBuffer3 = function isBuffer4(obj) {
74213
- if (!obj || typeof obj !== "object") {
74214
- return false;
74215
- }
74216
- return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));
74217
- };
74218
- var combine = function combine2(a, b) {
74219
- return [].concat(a, b);
74220
- };
74221
- var maybeMap = function maybeMap2(val, fn) {
74222
- if (isArray14(val)) {
74223
- var mapped = [];
74224
- for (var i2 = 0; i2 < val.length; i2 += 1) {
74225
- mapped.push(fn(val[i2]));
74226
- }
74227
- return mapped;
74228
- }
74229
- return fn(val);
74230
- };
74231
- module2.exports = {
74232
- arrayToObject: arrayToObject2,
74233
- assign: assign6,
74234
- combine,
74235
- compact,
74236
- decode: decode2,
74237
- encode: encode4,
74238
- isBuffer: isBuffer3,
74239
- isRegExp: isRegExp2,
74240
- maybeMap,
74241
- merge: merge2
74242
- };
74243
- }
74244
- });
74245
- var require_stringify3 = __commonJS2({
74246
- "node_modules/body-parser/node_modules/qs/lib/stringify.js"(exports2, module2) {
74247
- "use strict";
74248
- var getSideChannel = require_side_channel();
74249
- var utils = require_utils4();
74250
- var formats = require_formats2();
74251
- var has = Object.prototype.hasOwnProperty;
74252
- var arrayPrefixGenerators = {
74253
- brackets: function brackets(prefix) {
74254
- return prefix + "[]";
74255
- },
74256
- comma: "comma",
74257
- indices: function indices(prefix, key) {
74258
- return prefix + "[" + key + "]";
74259
- },
74260
- repeat: function repeat(prefix) {
74261
- return prefix;
74262
- }
74263
- };
74264
- var isArray14 = Array.isArray;
74265
- var split = String.prototype.split;
74266
- var push = Array.prototype.push;
74267
- var pushToArray = function(arr, valueOrArray) {
74268
- push.apply(arr, isArray14(valueOrArray) ? valueOrArray : [valueOrArray]);
74269
- };
74270
- var toISO = Date.prototype.toISOString;
74271
- var defaultFormat = formats["default"];
74272
- var defaults2 = {
74273
- addQueryPrefix: false,
74274
- allowDots: false,
74275
- charset: "utf-8",
74276
- charsetSentinel: false,
74277
- delimiter: "&",
74278
- encode: true,
74279
- encoder: utils.encode,
74280
- encodeValuesOnly: false,
74281
- format: defaultFormat,
74282
- formatter: formats.formatters[defaultFormat],
74283
- // deprecated
74284
- indices: false,
74285
- serializeDate: function serializeDate(date) {
74286
- return toISO.call(date);
74287
- },
74288
- skipNulls: false,
74289
- strictNullHandling: false
74290
- };
74291
- var isNonNullishPrimitive = function isNonNullishPrimitive2(v) {
74292
- return typeof v === "string" || typeof v === "number" || typeof v === "boolean" || typeof v === "symbol" || typeof v === "bigint";
74293
- };
74294
- var sentinel = {};
74295
- var stringify15 = function stringify16(object, prefix, generateArrayPrefix, commaRoundTrip, strictNullHandling, skipNulls, encoder, filter2, sort, allowDots, serializeDate, format, formatter, encodeValuesOnly, charset, sideChannel) {
74296
- var obj = object;
74297
- var tmpSc = sideChannel;
74298
- var step2 = 0;
74299
- var findFlag = false;
74300
- while ((tmpSc = tmpSc.get(sentinel)) !== void 0 && !findFlag) {
74301
- var pos = tmpSc.get(object);
74302
- step2 += 1;
74303
- if (typeof pos !== "undefined") {
74304
- if (pos === step2) {
74305
- throw new RangeError("Cyclic object value");
74306
- } else {
74307
- findFlag = true;
74308
- }
74309
- }
74310
- if (typeof tmpSc.get(sentinel) === "undefined") {
74311
- step2 = 0;
74312
- }
74313
- }
74314
- if (typeof filter2 === "function") {
74315
- obj = filter2(prefix, obj);
74316
- } else if (obj instanceof Date) {
74317
- obj = serializeDate(obj);
74318
- } else if (generateArrayPrefix === "comma" && isArray14(obj)) {
74319
- obj = utils.maybeMap(obj, function(value2) {
74320
- if (value2 instanceof Date) {
74321
- return serializeDate(value2);
74322
- }
74323
- return value2;
74324
- });
74325
- }
74326
- if (obj === null) {
74327
- if (strictNullHandling) {
74328
- return encoder && !encodeValuesOnly ? encoder(prefix, defaults2.encoder, charset, "key", format) : prefix;
74329
- }
74330
- obj = "";
74331
- }
74332
- if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) {
74333
- if (encoder) {
74334
- var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults2.encoder, charset, "key", format);
74335
- if (generateArrayPrefix === "comma" && encodeValuesOnly) {
74336
- var valuesArray = split.call(String(obj), ",");
74337
- var valuesJoined = "";
74338
- for (var i2 = 0; i2 < valuesArray.length; ++i2) {
74339
- valuesJoined += (i2 === 0 ? "" : ",") + formatter(encoder(valuesArray[i2], defaults2.encoder, charset, "value", format));
74340
- }
74341
- return [formatter(keyValue) + (commaRoundTrip && isArray14(obj) && valuesArray.length === 1 ? "[]" : "") + "=" + valuesJoined];
74342
- }
74343
- return [formatter(keyValue) + "=" + formatter(encoder(obj, defaults2.encoder, charset, "value", format))];
74344
- }
74345
- return [formatter(prefix) + "=" + formatter(String(obj))];
74346
- }
74347
- var values3 = [];
74348
- if (typeof obj === "undefined") {
74349
- return values3;
74350
- }
74351
- var objKeys;
74352
- if (generateArrayPrefix === "comma" && isArray14(obj)) {
74353
- objKeys = [{ value: obj.length > 0 ? obj.join(",") || null : void 0 }];
74354
- } else if (isArray14(filter2)) {
74355
- objKeys = filter2;
74356
- } else {
74357
- var keys13 = Object.keys(obj);
74358
- objKeys = sort ? keys13.sort(sort) : keys13;
74359
- }
74360
- var adjustedPrefix = commaRoundTrip && isArray14(obj) && obj.length === 1 ? prefix + "[]" : prefix;
74361
- for (var j2 = 0; j2 < objKeys.length; ++j2) {
74362
- var key = objKeys[j2];
74363
- var value = typeof key === "object" && typeof key.value !== "undefined" ? key.value : obj[key];
74364
- if (skipNulls && value === null) {
74365
- continue;
74366
- }
74367
- var keyPrefix = isArray14(obj) ? typeof generateArrayPrefix === "function" ? generateArrayPrefix(adjustedPrefix, key) : adjustedPrefix : adjustedPrefix + (allowDots ? "." + key : "[" + key + "]");
74368
- sideChannel.set(object, step2);
74369
- var valueSideChannel = getSideChannel();
74370
- valueSideChannel.set(sentinel, sideChannel);
74371
- pushToArray(values3, stringify16(
74372
- value,
74373
- keyPrefix,
74374
- generateArrayPrefix,
74375
- commaRoundTrip,
74376
- strictNullHandling,
74377
- skipNulls,
74378
- encoder,
74379
- filter2,
74380
- sort,
74381
- allowDots,
74382
- serializeDate,
74383
- format,
74384
- formatter,
74385
- encodeValuesOnly,
74386
- charset,
74387
- valueSideChannel
74388
- ));
74389
- }
74390
- return values3;
74391
- };
74392
- var normalizeStringifyOptions = function normalizeStringifyOptions2(opts) {
74393
- if (!opts) {
74394
- return defaults2;
74395
- }
74396
- if (opts.encoder !== null && typeof opts.encoder !== "undefined" && typeof opts.encoder !== "function") {
74397
- throw new TypeError("Encoder has to be a function.");
74398
- }
74399
- var charset = opts.charset || defaults2.charset;
74400
- if (typeof opts.charset !== "undefined" && opts.charset !== "utf-8" && opts.charset !== "iso-8859-1") {
74401
- throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
74402
- }
74403
- var format = formats["default"];
74404
- if (typeof opts.format !== "undefined") {
74405
- if (!has.call(formats.formatters, opts.format)) {
74406
- throw new TypeError("Unknown format option provided.");
74407
- }
74408
- format = opts.format;
74409
- }
74410
- var formatter = formats.formatters[format];
74411
- var filter2 = defaults2.filter;
74412
- if (typeof opts.filter === "function" || isArray14(opts.filter)) {
74413
- filter2 = opts.filter;
74414
- }
74415
- return {
74416
- addQueryPrefix: typeof opts.addQueryPrefix === "boolean" ? opts.addQueryPrefix : defaults2.addQueryPrefix,
74417
- allowDots: typeof opts.allowDots === "undefined" ? defaults2.allowDots : !!opts.allowDots,
74418
- charset,
74419
- charsetSentinel: typeof opts.charsetSentinel === "boolean" ? opts.charsetSentinel : defaults2.charsetSentinel,
74420
- delimiter: typeof opts.delimiter === "undefined" ? defaults2.delimiter : opts.delimiter,
74421
- encode: typeof opts.encode === "boolean" ? opts.encode : defaults2.encode,
74422
- encoder: typeof opts.encoder === "function" ? opts.encoder : defaults2.encoder,
74423
- encodeValuesOnly: typeof opts.encodeValuesOnly === "boolean" ? opts.encodeValuesOnly : defaults2.encodeValuesOnly,
74424
- filter: filter2,
74425
- format,
74426
- formatter,
74427
- serializeDate: typeof opts.serializeDate === "function" ? opts.serializeDate : defaults2.serializeDate,
74428
- skipNulls: typeof opts.skipNulls === "boolean" ? opts.skipNulls : defaults2.skipNulls,
74429
- sort: typeof opts.sort === "function" ? opts.sort : null,
74430
- strictNullHandling: typeof opts.strictNullHandling === "boolean" ? opts.strictNullHandling : defaults2.strictNullHandling
74431
- };
74432
- };
74433
- module2.exports = function(object, opts) {
74434
- var obj = object;
74435
- var options2 = normalizeStringifyOptions(opts);
74436
- var objKeys;
74437
- var filter2;
74438
- if (typeof options2.filter === "function") {
74439
- filter2 = options2.filter;
74440
- obj = filter2("", obj);
74441
- } else if (isArray14(options2.filter)) {
74442
- filter2 = options2.filter;
74443
- objKeys = filter2;
74444
- }
74445
- var keys13 = [];
74446
- if (typeof obj !== "object" || obj === null) {
74447
- return "";
74448
- }
74449
- var arrayFormat2;
74450
- if (opts && opts.arrayFormat in arrayPrefixGenerators) {
74451
- arrayFormat2 = opts.arrayFormat;
74452
- } else if (opts && "indices" in opts) {
74453
- arrayFormat2 = opts.indices ? "indices" : "repeat";
74454
- } else {
74455
- arrayFormat2 = "indices";
74456
- }
74457
- var generateArrayPrefix = arrayPrefixGenerators[arrayFormat2];
74458
- if (opts && "commaRoundTrip" in opts && typeof opts.commaRoundTrip !== "boolean") {
74459
- throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
74460
- }
74461
- var commaRoundTrip = generateArrayPrefix === "comma" && opts && opts.commaRoundTrip;
74462
- if (!objKeys) {
74463
- objKeys = Object.keys(obj);
74464
- }
74465
- if (options2.sort) {
74466
- objKeys.sort(options2.sort);
74467
- }
74468
- var sideChannel = getSideChannel();
74469
- for (var i2 = 0; i2 < objKeys.length; ++i2) {
74470
- var key = objKeys[i2];
74471
- if (options2.skipNulls && obj[key] === null) {
74472
- continue;
74473
- }
74474
- pushToArray(keys13, stringify15(
74475
- obj[key],
74476
- key,
74477
- generateArrayPrefix,
74478
- commaRoundTrip,
74479
- options2.strictNullHandling,
74480
- options2.skipNulls,
74481
- options2.encode ? options2.encoder : null,
74482
- options2.filter,
74483
- options2.sort,
74484
- options2.allowDots,
74485
- options2.serializeDate,
74486
- options2.format,
74487
- options2.formatter,
74488
- options2.encodeValuesOnly,
74489
- options2.charset,
74490
- sideChannel
74491
- ));
74492
- }
74493
- var joined = keys13.join(options2.delimiter);
74494
- var prefix = options2.addQueryPrefix === true ? "?" : "";
74495
- if (options2.charsetSentinel) {
74496
- if (options2.charset === "iso-8859-1") {
74497
- prefix += "utf8=%26%2310003%3B&";
74498
- } else {
74499
- prefix += "utf8=%E2%9C%93&";
74500
- }
74501
- }
74502
- return joined.length > 0 ? prefix + joined : "";
74503
- };
74504
- }
74505
- });
74506
- var require_parse2 = __commonJS2({
74507
- "node_modules/body-parser/node_modules/qs/lib/parse.js"(exports2, module2) {
74508
- "use strict";
74509
- var utils = require_utils4();
74510
- var has = Object.prototype.hasOwnProperty;
74511
- var isArray14 = Array.isArray;
74512
- var defaults2 = {
74513
- allowDots: false,
74514
- allowPrototypes: false,
74515
- allowSparse: false,
74516
- arrayLimit: 20,
74517
- charset: "utf-8",
74518
- charsetSentinel: false,
74519
- comma: false,
74520
- decoder: utils.decode,
74521
- delimiter: "&",
74522
- depth: 5,
74523
- ignoreQueryPrefix: false,
74524
- interpretNumericEntities: false,
74525
- parameterLimit: 1e3,
74526
- parseArrays: true,
74527
- plainObjects: false,
74528
- strictNullHandling: false
74529
- };
74530
- var interpretNumericEntities = function(str2) {
74531
- return str2.replace(/&#(\d+);/g, function($0, numberStr) {
74532
- return String.fromCharCode(parseInt(numberStr, 10));
74533
- });
74534
- };
74535
- var parseArrayValue = function(val, options2) {
74536
- if (val && typeof val === "string" && options2.comma && val.indexOf(",") > -1) {
74537
- return val.split(",");
74538
- }
74539
- return val;
74540
- };
74541
- var isoSentinel = "utf8=%26%2310003%3B";
74542
- var charsetSentinel = "utf8=%E2%9C%93";
74543
- var parseValues = function parseQueryStringValues(str2, options2) {
74544
- var obj = {};
74545
- var cleanStr = options2.ignoreQueryPrefix ? str2.replace(/^\?/, "") : str2;
74546
- var limit = options2.parameterLimit === Infinity ? void 0 : options2.parameterLimit;
74547
- var parts = cleanStr.split(options2.delimiter, limit);
74548
- var skipIndex = -1;
74549
- var i2;
74550
- var charset = options2.charset;
74551
- if (options2.charsetSentinel) {
74552
- for (i2 = 0; i2 < parts.length; ++i2) {
74553
- if (parts[i2].indexOf("utf8=") === 0) {
74554
- if (parts[i2] === charsetSentinel) {
74555
- charset = "utf-8";
74556
- } else if (parts[i2] === isoSentinel) {
74557
- charset = "iso-8859-1";
74558
- }
74559
- skipIndex = i2;
74560
- i2 = parts.length;
74561
- }
74562
- }
74563
- }
74564
- for (i2 = 0; i2 < parts.length; ++i2) {
74565
- if (i2 === skipIndex) {
74566
- continue;
74567
- }
74568
- var part = parts[i2];
74569
- var bracketEqualsPos = part.indexOf("]=");
74570
- var pos = bracketEqualsPos === -1 ? part.indexOf("=") : bracketEqualsPos + 1;
74571
- var key, val;
74572
- if (pos === -1) {
74573
- key = options2.decoder(part, defaults2.decoder, charset, "key");
74574
- val = options2.strictNullHandling ? null : "";
74575
- } else {
74576
- key = options2.decoder(part.slice(0, pos), defaults2.decoder, charset, "key");
74577
- val = utils.maybeMap(
74578
- parseArrayValue(part.slice(pos + 1), options2),
74579
- function(encodedVal) {
74580
- return options2.decoder(encodedVal, defaults2.decoder, charset, "value");
74581
- }
74582
- );
74583
- }
74584
- if (val && options2.interpretNumericEntities && charset === "iso-8859-1") {
74585
- val = interpretNumericEntities(val);
74586
- }
74587
- if (part.indexOf("[]=") > -1) {
74588
- val = isArray14(val) ? [val] : val;
74589
- }
74590
- if (has.call(obj, key)) {
74591
- obj[key] = utils.combine(obj[key], val);
74592
- } else {
74593
- obj[key] = val;
74594
- }
74595
- }
74596
- return obj;
74597
- };
74598
- var parseObject = function(chain, val, options2, valuesParsed) {
74599
- var leaf = valuesParsed ? val : parseArrayValue(val, options2);
74600
- for (var i2 = chain.length - 1; i2 >= 0; --i2) {
74601
- var obj;
74602
- var root4 = chain[i2];
74603
- if (root4 === "[]" && options2.parseArrays) {
74604
- obj = [].concat(leaf);
74605
- } else {
74606
- obj = options2.plainObjects ? /* @__PURE__ */ Object.create(null) : {};
74607
- var cleanRoot = root4.charAt(0) === "[" && root4.charAt(root4.length - 1) === "]" ? root4.slice(1, -1) : root4;
74608
- var index2 = parseInt(cleanRoot, 10);
74609
- if (!options2.parseArrays && cleanRoot === "") {
74610
- obj = { 0: leaf };
74611
- } else if (!isNaN(index2) && root4 !== cleanRoot && String(index2) === cleanRoot && index2 >= 0 && (options2.parseArrays && index2 <= options2.arrayLimit)) {
74612
- obj = [];
74613
- obj[index2] = leaf;
74614
- } else if (cleanRoot !== "__proto__") {
74615
- obj[cleanRoot] = leaf;
74616
- }
74617
- }
74618
- leaf = obj;
74619
- }
74620
- return leaf;
74621
- };
74622
- var parseKeys = function parseQueryStringKeys(givenKey, val, options2, valuesParsed) {
74623
- if (!givenKey) {
74624
- return;
74625
- }
74626
- var key = options2.allowDots ? givenKey.replace(/\.([^.[]+)/g, "[$1]") : givenKey;
74627
- var brackets = /(\[[^[\]]*])/;
74628
- var child = /(\[[^[\]]*])/g;
74629
- var segment = options2.depth > 0 && brackets.exec(key);
74630
- var parent = segment ? key.slice(0, segment.index) : key;
74631
- var keys13 = [];
74632
- if (parent) {
74633
- if (!options2.plainObjects && has.call(Object.prototype, parent)) {
74634
- if (!options2.allowPrototypes) {
74635
- return;
74636
- }
74637
- }
74638
- keys13.push(parent);
74639
- }
74640
- var i2 = 0;
74641
- while (options2.depth > 0 && (segment = child.exec(key)) !== null && i2 < options2.depth) {
74642
- i2 += 1;
74643
- if (!options2.plainObjects && has.call(Object.prototype, segment[1].slice(1, -1))) {
74644
- if (!options2.allowPrototypes) {
74645
- return;
74646
- }
74647
- }
74648
- keys13.push(segment[1]);
74649
- }
74650
- if (segment) {
74651
- keys13.push("[" + key.slice(segment.index) + "]");
74652
- }
74653
- return parseObject(keys13, val, options2, valuesParsed);
74654
- };
74655
- var normalizeParseOptions = function normalizeParseOptions2(opts) {
74656
- if (!opts) {
74657
- return defaults2;
74658
- }
74659
- if (opts.decoder !== null && opts.decoder !== void 0 && typeof opts.decoder !== "function") {
74660
- throw new TypeError("Decoder has to be a function.");
74661
- }
74662
- if (typeof opts.charset !== "undefined" && opts.charset !== "utf-8" && opts.charset !== "iso-8859-1") {
74663
- throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
74664
- }
74665
- var charset = typeof opts.charset === "undefined" ? defaults2.charset : opts.charset;
74666
- return {
74667
- allowDots: typeof opts.allowDots === "undefined" ? defaults2.allowDots : !!opts.allowDots,
74668
- allowPrototypes: typeof opts.allowPrototypes === "boolean" ? opts.allowPrototypes : defaults2.allowPrototypes,
74669
- allowSparse: typeof opts.allowSparse === "boolean" ? opts.allowSparse : defaults2.allowSparse,
74670
- arrayLimit: typeof opts.arrayLimit === "number" ? opts.arrayLimit : defaults2.arrayLimit,
74671
- charset,
74672
- charsetSentinel: typeof opts.charsetSentinel === "boolean" ? opts.charsetSentinel : defaults2.charsetSentinel,
74673
- comma: typeof opts.comma === "boolean" ? opts.comma : defaults2.comma,
74674
- decoder: typeof opts.decoder === "function" ? opts.decoder : defaults2.decoder,
74675
- delimiter: typeof opts.delimiter === "string" || utils.isRegExp(opts.delimiter) ? opts.delimiter : defaults2.delimiter,
74676
- // eslint-disable-next-line no-implicit-coercion, no-extra-parens
74677
- depth: typeof opts.depth === "number" || opts.depth === false ? +opts.depth : defaults2.depth,
74678
- ignoreQueryPrefix: opts.ignoreQueryPrefix === true,
74679
- interpretNumericEntities: typeof opts.interpretNumericEntities === "boolean" ? opts.interpretNumericEntities : defaults2.interpretNumericEntities,
74680
- parameterLimit: typeof opts.parameterLimit === "number" ? opts.parameterLimit : defaults2.parameterLimit,
74681
- parseArrays: opts.parseArrays !== false,
74682
- plainObjects: typeof opts.plainObjects === "boolean" ? opts.plainObjects : defaults2.plainObjects,
74683
- strictNullHandling: typeof opts.strictNullHandling === "boolean" ? opts.strictNullHandling : defaults2.strictNullHandling
74684
- };
74685
- };
74686
- module2.exports = function(str2, opts) {
74687
- var options2 = normalizeParseOptions(opts);
74688
- if (str2 === "" || str2 === null || typeof str2 === "undefined") {
74689
- return options2.plainObjects ? /* @__PURE__ */ Object.create(null) : {};
74690
- }
74691
- var tempObj = typeof str2 === "string" ? parseValues(str2, options2) : str2;
74692
- var obj = options2.plainObjects ? /* @__PURE__ */ Object.create(null) : {};
74693
- var keys13 = Object.keys(tempObj);
74694
- for (var i2 = 0; i2 < keys13.length; ++i2) {
74695
- var key = keys13[i2];
74696
- var newObj = parseKeys(key, tempObj[key], options2, typeof str2 === "string");
74697
- obj = utils.merge(obj, newObj, options2);
74698
- }
74699
- if (options2.allowSparse === true) {
74700
- return obj;
74701
- }
74702
- return utils.compact(obj);
74703
- };
74704
- }
74705
- });
74706
- var require_lib5 = __commonJS2({
74707
- "node_modules/body-parser/node_modules/qs/lib/index.js"(exports2, module2) {
74708
- "use strict";
74709
- var stringify15 = require_stringify3();
74710
- var parse7 = require_parse2();
74711
- var formats = require_formats2();
74712
- module2.exports = {
74713
- formats,
74714
- parse: parse7,
74715
- stringify: stringify15
74716
- };
74717
- }
74718
- });
74719
74036
  var require_urlencoded = __commonJS2({
74720
74037
  "node_modules/body-parser/lib/types/urlencoded.js"(exports2, module2) {
74721
74038
  "use strict";
@@ -74738,6 +74055,7 @@ var require_urlencoded = __commonJS2({
74738
74055
  var limit = typeof opts.limit !== "number" ? bytes.parse(opts.limit || "100kb") : opts.limit;
74739
74056
  var type = opts.type || "application/x-www-form-urlencoded";
74740
74057
  var verify = opts.verify || false;
74058
+ var depth = typeof opts.depth !== "number" ? Number(opts.depth || 32) : opts.depth;
74741
74059
  if (verify !== false && typeof verify !== "function") {
74742
74060
  throw new TypeError("option verify must be function");
74743
74061
  }
@@ -74778,16 +74096,21 @@ var require_urlencoded = __commonJS2({
74778
74096
  encoding: charset,
74779
74097
  inflate,
74780
74098
  limit,
74781
- verify
74099
+ verify,
74100
+ depth
74782
74101
  });
74783
74102
  };
74784
74103
  }
74785
74104
  function extendedparser(options2) {
74786
74105
  var parameterLimit = options2.parameterLimit !== void 0 ? options2.parameterLimit : 1e3;
74106
+ var depth = typeof options2.depth !== "number" ? Number(options2.depth || 32) : options2.depth;
74787
74107
  var parse7 = parser("qs");
74788
74108
  if (isNaN(parameterLimit) || parameterLimit < 1) {
74789
74109
  throw new TypeError("option parameterLimit must be a positive number");
74790
74110
  }
74111
+ if (isNaN(depth) || depth < 0) {
74112
+ throw new TypeError("option depth must be a zero or a positive number");
74113
+ }
74791
74114
  if (isFinite(parameterLimit)) {
74792
74115
  parameterLimit = parameterLimit | 0;
74793
74116
  }
@@ -74801,12 +74124,23 @@ var require_urlencoded = __commonJS2({
74801
74124
  }
74802
74125
  var arrayLimit = Math.max(100, paramCount);
74803
74126
  debug22("parse extended urlencoding");
74804
- return parse7(body2, {
74805
- allowPrototypes: true,
74806
- arrayLimit,
74807
- depth: Infinity,
74808
- parameterLimit
74809
- });
74127
+ try {
74128
+ return parse7(body2, {
74129
+ allowPrototypes: true,
74130
+ arrayLimit,
74131
+ depth,
74132
+ strictDepth: true,
74133
+ parameterLimit
74134
+ });
74135
+ } catch (err) {
74136
+ if (err instanceof RangeError) {
74137
+ throw createError(400, "The input exceeded the depth", {
74138
+ type: "querystring.parse.rangeError"
74139
+ });
74140
+ } else {
74141
+ throw err;
74142
+ }
74143
+ }
74810
74144
  };
74811
74145
  }
74812
74146
  function getCharset(req) {
@@ -74835,7 +74169,7 @@ var require_urlencoded = __commonJS2({
74835
74169
  }
74836
74170
  switch (name) {
74837
74171
  case "qs":
74838
- mod = require_lib5();
74172
+ mod = require_lib();
74839
74173
  break;
74840
74174
  case "querystring":
74841
74175
  mod = __require2("querystring");
@@ -75396,7 +74730,7 @@ var require_encodeurl = __commonJS2({
75396
74730
  "node_modules/encodeurl/index.js"(exports2, module2) {
75397
74731
  "use strict";
75398
74732
  module2.exports = encodeUrl;
75399
- var ENCODE_CHARS_REGEXP = /(?:[^\x21\x25\x26-\x3B\x3D\x3F-\x5B\x5D\x5F\x61-\x7A\x7E]|%(?:[^0-9A-Fa-f]|[0-9A-Fa-f][^0-9A-Fa-f]|$))+/g;
74733
+ var ENCODE_CHARS_REGEXP = /(?:[^\x21\x23-\x3B\x3D\x3F-\x5F\x61-\x7A\x7C\x7E]|%(?:[^0-9A-Fa-f]|[0-9A-Fa-f][^0-9A-Fa-f]|$))+/g;
75400
74734
  var UNMATCHED_SURROGATE_PAIR_REGEXP = /(^|[^\uD800-\uDBFF])[\uDC00-\uDFFF]|[\uD800-\uDBFF]([^\uDC00-\uDFFF]|$)/g;
75401
74735
  var UNMATCHED_SURROGATE_PAIR_REPLACE = "$1\uFFFD$2";
75402
74736
  function encodeUrl(url5) {
@@ -75576,7 +74910,9 @@ var require_finalhandler = __commonJS2({
75576
74910
  }
75577
74911
  if (headersSent(res)) {
75578
74912
  debug22("cannot %d after headers sent", status);
75579
- req.socket.destroy();
74913
+ if (req.socket) {
74914
+ req.socket.destroy();
74915
+ }
75580
74916
  return;
75581
74917
  }
75582
74918
  send(req, res, status, headers2, msg);
@@ -75634,7 +74970,9 @@ var require_finalhandler = __commonJS2({
75634
74970
  function write() {
75635
74971
  var body2 = createHtmlDocument(message);
75636
74972
  res.statusCode = status;
75637
- res.statusMessage = statuses.message[status];
74973
+ if (req.httpVersionMajor < 2) {
74974
+ res.statusMessage = statuses.message[status];
74975
+ }
75638
74976
  res.removeHeader("Content-Encoding");
75639
74977
  res.removeHeader("Content-Language");
75640
74978
  res.removeHeader("Content-Range");
@@ -76125,23 +75463,27 @@ var require_array_flatten = __commonJS2({
76125
75463
  var require_path_to_regexp = __commonJS2({
76126
75464
  "node_modules/path-to-regexp/index.js"(exports2, module2) {
76127
75465
  "use strict";
76128
- module2.exports = pathtoRegexp;
76129
- var MATCHING_GROUP_REGEXP = /\((?!\?)/g;
76130
- function pathtoRegexp(path52, keys13, options2) {
75466
+ module2.exports = pathToRegexp;
75467
+ var MATCHING_GROUP_REGEXP = /\\.|\((?:\?<(.*?)>)?(?!\?)/g;
75468
+ function pathToRegexp(path52, keys13, options2) {
76131
75469
  options2 = options2 || {};
76132
75470
  keys13 = keys13 || [];
76133
75471
  var strict = options2.strict;
76134
75472
  var end = options2.end !== false;
76135
75473
  var flags = options2.sensitive ? "" : "i";
75474
+ var lookahead = options2.lookahead !== false;
76136
75475
  var extraOffset = 0;
76137
75476
  var keysOffset = keys13.length;
76138
75477
  var i2 = 0;
76139
75478
  var name = 0;
75479
+ var pos = 0;
75480
+ var backtrack = "";
76140
75481
  var m2;
76141
75482
  if (path52 instanceof RegExp) {
76142
75483
  while (m2 = MATCHING_GROUP_REGEXP.exec(path52.source)) {
75484
+ if (m2[0][0] === "\\") continue;
76143
75485
  keys13.push({
76144
- name: name++,
75486
+ name: m2[1] || name++,
76145
75487
  optional: false,
76146
75488
  offset: m2.index
76147
75489
  });
@@ -76150,39 +75492,51 @@ var require_path_to_regexp = __commonJS2({
76150
75492
  }
76151
75493
  if (Array.isArray(path52)) {
76152
75494
  path52 = path52.map(function(value) {
76153
- return pathtoRegexp(value, keys13, options2).source;
76154
- });
76155
- return new RegExp("(?:" + path52.join("|") + ")", flags);
76156
- }
76157
- path52 = ("^" + path52 + (strict ? "" : path52[path52.length - 1] === "/" ? "?" : "/?")).replace(/\/\(/g, "/(?:").replace(/([\/\.])/g, "\\$1").replace(/(\\\/)?(\\\.)?:(\w+)(\(.*?\))?(\*)?(\?)?/g, function(match2, slash, format, key, capture, star, optional, offset) {
76158
- slash = slash || "";
76159
- format = format || "";
76160
- capture = capture || "([^\\/" + format + "]+?)";
76161
- optional = optional || "";
76162
- keys13.push({
76163
- name: key,
76164
- optional: !!optional,
76165
- offset: offset + extraOffset
76166
- });
76167
- var result2 = "" + (optional ? "" : slash) + "(?:" + format + (optional ? slash : "") + capture + (star ? "((?:[\\/" + format + "].+?)?)" : "") + ")" + optional;
76168
- extraOffset += result2.length - match2.length;
76169
- return result2;
76170
- }).replace(/\*/g, function(star, index3) {
76171
- var len = keys13.length;
76172
- while (len-- > keysOffset && keys13[len].offset > index3) {
76173
- keys13[len].offset += 3;
75495
+ return pathToRegexp(value, keys13, options2).source;
75496
+ });
75497
+ return new RegExp(path52.join("|"), flags);
75498
+ }
75499
+ path52 = path52.replace(
75500
+ /\\.|(\/)?(\.)?:(\w+)(\(.*?\))?(\*)?(\?)?|[.*]|\/\(/g,
75501
+ function(match2, slash, format, key, capture, star, optional, offset) {
75502
+ pos = offset + match2.length;
75503
+ if (match2[0] === "\\") {
75504
+ backtrack += match2;
75505
+ return match2;
75506
+ }
75507
+ if (match2 === ".") {
75508
+ backtrack += "\\.";
75509
+ extraOffset += 1;
75510
+ return "\\.";
75511
+ }
75512
+ backtrack = slash || format ? "" : path52.slice(pos, offset);
75513
+ if (match2 === "*") {
75514
+ extraOffset += 3;
75515
+ return "(.*)";
75516
+ }
75517
+ if (match2 === "/(") {
75518
+ backtrack += "/";
75519
+ extraOffset += 2;
75520
+ return "/(?:";
75521
+ }
75522
+ slash = slash || "";
75523
+ format = format ? "\\." : "";
75524
+ optional = optional || "";
75525
+ capture = capture ? capture.replace(/\\.|\*/, function(m3) {
75526
+ return m3 === "*" ? "(.*)" : m3;
75527
+ }) : backtrack ? "((?:(?!/|" + backtrack + ").)+?)" : "([^/" + format + "]+?)";
75528
+ keys13.push({
75529
+ name: key,
75530
+ optional: !!optional,
75531
+ offset: offset + extraOffset
75532
+ });
75533
+ var result2 = "(?:" + format + slash + capture + (star ? "((?:[/" + format + "].+?)?)" : "") + ")" + optional;
75534
+ extraOffset += result2.length - match2.length;
75535
+ return result2;
76174
75536
  }
76175
- return "(.*)";
76176
- });
75537
+ );
76177
75538
  while (m2 = MATCHING_GROUP_REGEXP.exec(path52)) {
76178
- var escapeCount = 0;
76179
- var index2 = m2.index;
76180
- while (path52.charAt(--index2) === "\\") {
76181
- escapeCount++;
76182
- }
76183
- if (escapeCount % 2 === 1) {
76184
- continue;
76185
- }
75539
+ if (m2[0][0] === "\\") continue;
76186
75540
  if (keysOffset + i2 === keys13.length || keys13[keysOffset + i2].offset > m2.index) {
76187
75541
  keys13.splice(keysOffset + i2, 0, {
76188
75542
  name: name++,
@@ -76193,8 +75547,13 @@ var require_path_to_regexp = __commonJS2({
76193
75547
  }
76194
75548
  i2++;
76195
75549
  }
76196
- path52 += end ? "$" : path52[path52.length - 1] === "/" ? "" : "(?=\\/|$)";
76197
- return new RegExp(path52, flags);
75550
+ path52 += strict ? "" : path52[path52.length - 1] === "/" ? "?" : "/?";
75551
+ if (end) {
75552
+ path52 += "$";
75553
+ } else if (path52[path52.length - 1] !== "/") {
75554
+ path52 += lookahead ? "(?=/|$)" : "(?:/|$)";
75555
+ }
75556
+ return new RegExp("^" + path52, flags);
76198
75557
  }
76199
75558
  }
76200
75559
  });
@@ -76855,707 +76214,12 @@ var require_init = __commonJS2({
76855
76214
  };
76856
76215
  }
76857
76216
  });
76858
- var require_formats3 = __commonJS2({
76859
- "node_modules/express/node_modules/qs/lib/formats.js"(exports2, module2) {
76860
- "use strict";
76861
- var replace = String.prototype.replace;
76862
- var percentTwenties = /%20/g;
76863
- var Format = {
76864
- RFC1738: "RFC1738",
76865
- RFC3986: "RFC3986"
76866
- };
76867
- module2.exports = {
76868
- "default": Format.RFC3986,
76869
- formatters: {
76870
- RFC1738: function(value) {
76871
- return replace.call(value, percentTwenties, "+");
76872
- },
76873
- RFC3986: function(value) {
76874
- return String(value);
76875
- }
76876
- },
76877
- RFC1738: Format.RFC1738,
76878
- RFC3986: Format.RFC3986
76879
- };
76880
- }
76881
- });
76882
- var require_utils5 = __commonJS2({
76883
- "node_modules/express/node_modules/qs/lib/utils.js"(exports2, module2) {
76884
- "use strict";
76885
- var formats = require_formats3();
76886
- var has = Object.prototype.hasOwnProperty;
76887
- var isArray14 = Array.isArray;
76888
- var hexTable = function() {
76889
- var array = [];
76890
- for (var i2 = 0; i2 < 256; ++i2) {
76891
- array.push("%" + ((i2 < 16 ? "0" : "") + i2.toString(16)).toUpperCase());
76892
- }
76893
- return array;
76894
- }();
76895
- var compactQueue = function compactQueue2(queue5) {
76896
- while (queue5.length > 1) {
76897
- var item = queue5.pop();
76898
- var obj = item.obj[item.prop];
76899
- if (isArray14(obj)) {
76900
- var compacted = [];
76901
- for (var j2 = 0; j2 < obj.length; ++j2) {
76902
- if (typeof obj[j2] !== "undefined") {
76903
- compacted.push(obj[j2]);
76904
- }
76905
- }
76906
- item.obj[item.prop] = compacted;
76907
- }
76908
- }
76909
- };
76910
- var arrayToObject2 = function arrayToObject3(source, options2) {
76911
- var obj = options2 && options2.plainObjects ? /* @__PURE__ */ Object.create(null) : {};
76912
- for (var i2 = 0; i2 < source.length; ++i2) {
76913
- if (typeof source[i2] !== "undefined") {
76914
- obj[i2] = source[i2];
76915
- }
76916
- }
76917
- return obj;
76918
- };
76919
- var merge2 = function merge3(target, source, options2) {
76920
- if (!source) {
76921
- return target;
76922
- }
76923
- if (typeof source !== "object") {
76924
- if (isArray14(target)) {
76925
- target.push(source);
76926
- } else if (target && typeof target === "object") {
76927
- if (options2 && (options2.plainObjects || options2.allowPrototypes) || !has.call(Object.prototype, source)) {
76928
- target[source] = true;
76929
- }
76930
- } else {
76931
- return [target, source];
76932
- }
76933
- return target;
76934
- }
76935
- if (!target || typeof target !== "object") {
76936
- return [target].concat(source);
76937
- }
76938
- var mergeTarget = target;
76939
- if (isArray14(target) && !isArray14(source)) {
76940
- mergeTarget = arrayToObject2(target, options2);
76941
- }
76942
- if (isArray14(target) && isArray14(source)) {
76943
- source.forEach(function(item, i2) {
76944
- if (has.call(target, i2)) {
76945
- var targetItem = target[i2];
76946
- if (targetItem && typeof targetItem === "object" && item && typeof item === "object") {
76947
- target[i2] = merge3(targetItem, item, options2);
76948
- } else {
76949
- target.push(item);
76950
- }
76951
- } else {
76952
- target[i2] = item;
76953
- }
76954
- });
76955
- return target;
76956
- }
76957
- return Object.keys(source).reduce(function(acc, key) {
76958
- var value = source[key];
76959
- if (has.call(acc, key)) {
76960
- acc[key] = merge3(acc[key], value, options2);
76961
- } else {
76962
- acc[key] = value;
76963
- }
76964
- return acc;
76965
- }, mergeTarget);
76966
- };
76967
- var assign6 = function assignSingleSource(target, source) {
76968
- return Object.keys(source).reduce(function(acc, key) {
76969
- acc[key] = source[key];
76970
- return acc;
76971
- }, target);
76972
- };
76973
- var decode2 = function(str2, decoder, charset) {
76974
- var strWithoutPlus = str2.replace(/\+/g, " ");
76975
- if (charset === "iso-8859-1") {
76976
- return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape);
76977
- }
76978
- try {
76979
- return decodeURIComponent(strWithoutPlus);
76980
- } catch (e) {
76981
- return strWithoutPlus;
76982
- }
76983
- };
76984
- var encode4 = function encode5(str2, defaultEncoder, charset, kind, format) {
76985
- if (str2.length === 0) {
76986
- return str2;
76987
- }
76988
- var string = str2;
76989
- if (typeof str2 === "symbol") {
76990
- string = Symbol.prototype.toString.call(str2);
76991
- } else if (typeof str2 !== "string") {
76992
- string = String(str2);
76993
- }
76994
- if (charset === "iso-8859-1") {
76995
- return escape(string).replace(/%u[0-9a-f]{4}/gi, function($0) {
76996
- return "%26%23" + parseInt($0.slice(2), 16) + "%3B";
76997
- });
76998
- }
76999
- var out = "";
77000
- for (var i2 = 0; i2 < string.length; ++i2) {
77001
- var c = string.charCodeAt(i2);
77002
- if (c === 45 || c === 46 || c === 95 || c === 126 || c >= 48 && c <= 57 || c >= 65 && c <= 90 || c >= 97 && c <= 122 || format === formats.RFC1738 && (c === 40 || c === 41)) {
77003
- out += string.charAt(i2);
77004
- continue;
77005
- }
77006
- if (c < 128) {
77007
- out = out + hexTable[c];
77008
- continue;
77009
- }
77010
- if (c < 2048) {
77011
- out = out + (hexTable[192 | c >> 6] + hexTable[128 | c & 63]);
77012
- continue;
77013
- }
77014
- if (c < 55296 || c >= 57344) {
77015
- out = out + (hexTable[224 | c >> 12] + hexTable[128 | c >> 6 & 63] + hexTable[128 | c & 63]);
77016
- continue;
77017
- }
77018
- i2 += 1;
77019
- c = 65536 + ((c & 1023) << 10 | string.charCodeAt(i2) & 1023);
77020
- out += hexTable[240 | c >> 18] + hexTable[128 | c >> 12 & 63] + hexTable[128 | c >> 6 & 63] + hexTable[128 | c & 63];
77021
- }
77022
- return out;
77023
- };
77024
- var compact = function compact2(value) {
77025
- var queue5 = [{ obj: { o: value }, prop: "o" }];
77026
- var refs = [];
77027
- for (var i2 = 0; i2 < queue5.length; ++i2) {
77028
- var item = queue5[i2];
77029
- var obj = item.obj[item.prop];
77030
- var keys13 = Object.keys(obj);
77031
- for (var j2 = 0; j2 < keys13.length; ++j2) {
77032
- var key = keys13[j2];
77033
- var val = obj[key];
77034
- if (typeof val === "object" && val !== null && refs.indexOf(val) === -1) {
77035
- queue5.push({ obj, prop: key });
77036
- refs.push(val);
77037
- }
77038
- }
77039
- }
77040
- compactQueue(queue5);
77041
- return value;
77042
- };
77043
- var isRegExp2 = function isRegExp3(obj) {
77044
- return Object.prototype.toString.call(obj) === "[object RegExp]";
77045
- };
77046
- var isBuffer3 = function isBuffer4(obj) {
77047
- if (!obj || typeof obj !== "object") {
77048
- return false;
77049
- }
77050
- return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));
77051
- };
77052
- var combine = function combine2(a, b) {
77053
- return [].concat(a, b);
77054
- };
77055
- var maybeMap = function maybeMap2(val, fn) {
77056
- if (isArray14(val)) {
77057
- var mapped = [];
77058
- for (var i2 = 0; i2 < val.length; i2 += 1) {
77059
- mapped.push(fn(val[i2]));
77060
- }
77061
- return mapped;
77062
- }
77063
- return fn(val);
77064
- };
77065
- module2.exports = {
77066
- arrayToObject: arrayToObject2,
77067
- assign: assign6,
77068
- combine,
77069
- compact,
77070
- decode: decode2,
77071
- encode: encode4,
77072
- isBuffer: isBuffer3,
77073
- isRegExp: isRegExp2,
77074
- maybeMap,
77075
- merge: merge2
77076
- };
77077
- }
77078
- });
77079
- var require_stringify4 = __commonJS2({
77080
- "node_modules/express/node_modules/qs/lib/stringify.js"(exports2, module2) {
77081
- "use strict";
77082
- var getSideChannel = require_side_channel();
77083
- var utils = require_utils5();
77084
- var formats = require_formats3();
77085
- var has = Object.prototype.hasOwnProperty;
77086
- var arrayPrefixGenerators = {
77087
- brackets: function brackets(prefix) {
77088
- return prefix + "[]";
77089
- },
77090
- comma: "comma",
77091
- indices: function indices(prefix, key) {
77092
- return prefix + "[" + key + "]";
77093
- },
77094
- repeat: function repeat(prefix) {
77095
- return prefix;
77096
- }
77097
- };
77098
- var isArray14 = Array.isArray;
77099
- var split = String.prototype.split;
77100
- var push = Array.prototype.push;
77101
- var pushToArray = function(arr, valueOrArray) {
77102
- push.apply(arr, isArray14(valueOrArray) ? valueOrArray : [valueOrArray]);
77103
- };
77104
- var toISO = Date.prototype.toISOString;
77105
- var defaultFormat = formats["default"];
77106
- var defaults2 = {
77107
- addQueryPrefix: false,
77108
- allowDots: false,
77109
- charset: "utf-8",
77110
- charsetSentinel: false,
77111
- delimiter: "&",
77112
- encode: true,
77113
- encoder: utils.encode,
77114
- encodeValuesOnly: false,
77115
- format: defaultFormat,
77116
- formatter: formats.formatters[defaultFormat],
77117
- // deprecated
77118
- indices: false,
77119
- serializeDate: function serializeDate(date) {
77120
- return toISO.call(date);
77121
- },
77122
- skipNulls: false,
77123
- strictNullHandling: false
77124
- };
77125
- var isNonNullishPrimitive = function isNonNullishPrimitive2(v) {
77126
- return typeof v === "string" || typeof v === "number" || typeof v === "boolean" || typeof v === "symbol" || typeof v === "bigint";
77127
- };
77128
- var sentinel = {};
77129
- var stringify15 = function stringify16(object, prefix, generateArrayPrefix, commaRoundTrip, strictNullHandling, skipNulls, encoder, filter2, sort, allowDots, serializeDate, format, formatter, encodeValuesOnly, charset, sideChannel) {
77130
- var obj = object;
77131
- var tmpSc = sideChannel;
77132
- var step2 = 0;
77133
- var findFlag = false;
77134
- while ((tmpSc = tmpSc.get(sentinel)) !== void 0 && !findFlag) {
77135
- var pos = tmpSc.get(object);
77136
- step2 += 1;
77137
- if (typeof pos !== "undefined") {
77138
- if (pos === step2) {
77139
- throw new RangeError("Cyclic object value");
77140
- } else {
77141
- findFlag = true;
77142
- }
77143
- }
77144
- if (typeof tmpSc.get(sentinel) === "undefined") {
77145
- step2 = 0;
77146
- }
77147
- }
77148
- if (typeof filter2 === "function") {
77149
- obj = filter2(prefix, obj);
77150
- } else if (obj instanceof Date) {
77151
- obj = serializeDate(obj);
77152
- } else if (generateArrayPrefix === "comma" && isArray14(obj)) {
77153
- obj = utils.maybeMap(obj, function(value2) {
77154
- if (value2 instanceof Date) {
77155
- return serializeDate(value2);
77156
- }
77157
- return value2;
77158
- });
77159
- }
77160
- if (obj === null) {
77161
- if (strictNullHandling) {
77162
- return encoder && !encodeValuesOnly ? encoder(prefix, defaults2.encoder, charset, "key", format) : prefix;
77163
- }
77164
- obj = "";
77165
- }
77166
- if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) {
77167
- if (encoder) {
77168
- var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults2.encoder, charset, "key", format);
77169
- if (generateArrayPrefix === "comma" && encodeValuesOnly) {
77170
- var valuesArray = split.call(String(obj), ",");
77171
- var valuesJoined = "";
77172
- for (var i2 = 0; i2 < valuesArray.length; ++i2) {
77173
- valuesJoined += (i2 === 0 ? "" : ",") + formatter(encoder(valuesArray[i2], defaults2.encoder, charset, "value", format));
77174
- }
77175
- return [formatter(keyValue) + (commaRoundTrip && isArray14(obj) && valuesArray.length === 1 ? "[]" : "") + "=" + valuesJoined];
77176
- }
77177
- return [formatter(keyValue) + "=" + formatter(encoder(obj, defaults2.encoder, charset, "value", format))];
77178
- }
77179
- return [formatter(prefix) + "=" + formatter(String(obj))];
77180
- }
77181
- var values3 = [];
77182
- if (typeof obj === "undefined") {
77183
- return values3;
77184
- }
77185
- var objKeys;
77186
- if (generateArrayPrefix === "comma" && isArray14(obj)) {
77187
- objKeys = [{ value: obj.length > 0 ? obj.join(",") || null : void 0 }];
77188
- } else if (isArray14(filter2)) {
77189
- objKeys = filter2;
77190
- } else {
77191
- var keys13 = Object.keys(obj);
77192
- objKeys = sort ? keys13.sort(sort) : keys13;
77193
- }
77194
- var adjustedPrefix = commaRoundTrip && isArray14(obj) && obj.length === 1 ? prefix + "[]" : prefix;
77195
- for (var j2 = 0; j2 < objKeys.length; ++j2) {
77196
- var key = objKeys[j2];
77197
- var value = typeof key === "object" && typeof key.value !== "undefined" ? key.value : obj[key];
77198
- if (skipNulls && value === null) {
77199
- continue;
77200
- }
77201
- var keyPrefix = isArray14(obj) ? typeof generateArrayPrefix === "function" ? generateArrayPrefix(adjustedPrefix, key) : adjustedPrefix : adjustedPrefix + (allowDots ? "." + key : "[" + key + "]");
77202
- sideChannel.set(object, step2);
77203
- var valueSideChannel = getSideChannel();
77204
- valueSideChannel.set(sentinel, sideChannel);
77205
- pushToArray(values3, stringify16(
77206
- value,
77207
- keyPrefix,
77208
- generateArrayPrefix,
77209
- commaRoundTrip,
77210
- strictNullHandling,
77211
- skipNulls,
77212
- encoder,
77213
- filter2,
77214
- sort,
77215
- allowDots,
77216
- serializeDate,
77217
- format,
77218
- formatter,
77219
- encodeValuesOnly,
77220
- charset,
77221
- valueSideChannel
77222
- ));
77223
- }
77224
- return values3;
77225
- };
77226
- var normalizeStringifyOptions = function normalizeStringifyOptions2(opts) {
77227
- if (!opts) {
77228
- return defaults2;
77229
- }
77230
- if (opts.encoder !== null && typeof opts.encoder !== "undefined" && typeof opts.encoder !== "function") {
77231
- throw new TypeError("Encoder has to be a function.");
77232
- }
77233
- var charset = opts.charset || defaults2.charset;
77234
- if (typeof opts.charset !== "undefined" && opts.charset !== "utf-8" && opts.charset !== "iso-8859-1") {
77235
- throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
77236
- }
77237
- var format = formats["default"];
77238
- if (typeof opts.format !== "undefined") {
77239
- if (!has.call(formats.formatters, opts.format)) {
77240
- throw new TypeError("Unknown format option provided.");
77241
- }
77242
- format = opts.format;
77243
- }
77244
- var formatter = formats.formatters[format];
77245
- var filter2 = defaults2.filter;
77246
- if (typeof opts.filter === "function" || isArray14(opts.filter)) {
77247
- filter2 = opts.filter;
77248
- }
77249
- return {
77250
- addQueryPrefix: typeof opts.addQueryPrefix === "boolean" ? opts.addQueryPrefix : defaults2.addQueryPrefix,
77251
- allowDots: typeof opts.allowDots === "undefined" ? defaults2.allowDots : !!opts.allowDots,
77252
- charset,
77253
- charsetSentinel: typeof opts.charsetSentinel === "boolean" ? opts.charsetSentinel : defaults2.charsetSentinel,
77254
- delimiter: typeof opts.delimiter === "undefined" ? defaults2.delimiter : opts.delimiter,
77255
- encode: typeof opts.encode === "boolean" ? opts.encode : defaults2.encode,
77256
- encoder: typeof opts.encoder === "function" ? opts.encoder : defaults2.encoder,
77257
- encodeValuesOnly: typeof opts.encodeValuesOnly === "boolean" ? opts.encodeValuesOnly : defaults2.encodeValuesOnly,
77258
- filter: filter2,
77259
- format,
77260
- formatter,
77261
- serializeDate: typeof opts.serializeDate === "function" ? opts.serializeDate : defaults2.serializeDate,
77262
- skipNulls: typeof opts.skipNulls === "boolean" ? opts.skipNulls : defaults2.skipNulls,
77263
- sort: typeof opts.sort === "function" ? opts.sort : null,
77264
- strictNullHandling: typeof opts.strictNullHandling === "boolean" ? opts.strictNullHandling : defaults2.strictNullHandling
77265
- };
77266
- };
77267
- module2.exports = function(object, opts) {
77268
- var obj = object;
77269
- var options2 = normalizeStringifyOptions(opts);
77270
- var objKeys;
77271
- var filter2;
77272
- if (typeof options2.filter === "function") {
77273
- filter2 = options2.filter;
77274
- obj = filter2("", obj);
77275
- } else if (isArray14(options2.filter)) {
77276
- filter2 = options2.filter;
77277
- objKeys = filter2;
77278
- }
77279
- var keys13 = [];
77280
- if (typeof obj !== "object" || obj === null) {
77281
- return "";
77282
- }
77283
- var arrayFormat2;
77284
- if (opts && opts.arrayFormat in arrayPrefixGenerators) {
77285
- arrayFormat2 = opts.arrayFormat;
77286
- } else if (opts && "indices" in opts) {
77287
- arrayFormat2 = opts.indices ? "indices" : "repeat";
77288
- } else {
77289
- arrayFormat2 = "indices";
77290
- }
77291
- var generateArrayPrefix = arrayPrefixGenerators[arrayFormat2];
77292
- if (opts && "commaRoundTrip" in opts && typeof opts.commaRoundTrip !== "boolean") {
77293
- throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
77294
- }
77295
- var commaRoundTrip = generateArrayPrefix === "comma" && opts && opts.commaRoundTrip;
77296
- if (!objKeys) {
77297
- objKeys = Object.keys(obj);
77298
- }
77299
- if (options2.sort) {
77300
- objKeys.sort(options2.sort);
77301
- }
77302
- var sideChannel = getSideChannel();
77303
- for (var i2 = 0; i2 < objKeys.length; ++i2) {
77304
- var key = objKeys[i2];
77305
- if (options2.skipNulls && obj[key] === null) {
77306
- continue;
77307
- }
77308
- pushToArray(keys13, stringify15(
77309
- obj[key],
77310
- key,
77311
- generateArrayPrefix,
77312
- commaRoundTrip,
77313
- options2.strictNullHandling,
77314
- options2.skipNulls,
77315
- options2.encode ? options2.encoder : null,
77316
- options2.filter,
77317
- options2.sort,
77318
- options2.allowDots,
77319
- options2.serializeDate,
77320
- options2.format,
77321
- options2.formatter,
77322
- options2.encodeValuesOnly,
77323
- options2.charset,
77324
- sideChannel
77325
- ));
77326
- }
77327
- var joined = keys13.join(options2.delimiter);
77328
- var prefix = options2.addQueryPrefix === true ? "?" : "";
77329
- if (options2.charsetSentinel) {
77330
- if (options2.charset === "iso-8859-1") {
77331
- prefix += "utf8=%26%2310003%3B&";
77332
- } else {
77333
- prefix += "utf8=%E2%9C%93&";
77334
- }
77335
- }
77336
- return joined.length > 0 ? prefix + joined : "";
77337
- };
77338
- }
77339
- });
77340
- var require_parse3 = __commonJS2({
77341
- "node_modules/express/node_modules/qs/lib/parse.js"(exports2, module2) {
77342
- "use strict";
77343
- var utils = require_utils5();
77344
- var has = Object.prototype.hasOwnProperty;
77345
- var isArray14 = Array.isArray;
77346
- var defaults2 = {
77347
- allowDots: false,
77348
- allowPrototypes: false,
77349
- allowSparse: false,
77350
- arrayLimit: 20,
77351
- charset: "utf-8",
77352
- charsetSentinel: false,
77353
- comma: false,
77354
- decoder: utils.decode,
77355
- delimiter: "&",
77356
- depth: 5,
77357
- ignoreQueryPrefix: false,
77358
- interpretNumericEntities: false,
77359
- parameterLimit: 1e3,
77360
- parseArrays: true,
77361
- plainObjects: false,
77362
- strictNullHandling: false
77363
- };
77364
- var interpretNumericEntities = function(str2) {
77365
- return str2.replace(/&#(\d+);/g, function($0, numberStr) {
77366
- return String.fromCharCode(parseInt(numberStr, 10));
77367
- });
77368
- };
77369
- var parseArrayValue = function(val, options2) {
77370
- if (val && typeof val === "string" && options2.comma && val.indexOf(",") > -1) {
77371
- return val.split(",");
77372
- }
77373
- return val;
77374
- };
77375
- var isoSentinel = "utf8=%26%2310003%3B";
77376
- var charsetSentinel = "utf8=%E2%9C%93";
77377
- var parseValues = function parseQueryStringValues(str2, options2) {
77378
- var obj = {};
77379
- var cleanStr = options2.ignoreQueryPrefix ? str2.replace(/^\?/, "") : str2;
77380
- var limit = options2.parameterLimit === Infinity ? void 0 : options2.parameterLimit;
77381
- var parts = cleanStr.split(options2.delimiter, limit);
77382
- var skipIndex = -1;
77383
- var i2;
77384
- var charset = options2.charset;
77385
- if (options2.charsetSentinel) {
77386
- for (i2 = 0; i2 < parts.length; ++i2) {
77387
- if (parts[i2].indexOf("utf8=") === 0) {
77388
- if (parts[i2] === charsetSentinel) {
77389
- charset = "utf-8";
77390
- } else if (parts[i2] === isoSentinel) {
77391
- charset = "iso-8859-1";
77392
- }
77393
- skipIndex = i2;
77394
- i2 = parts.length;
77395
- }
77396
- }
77397
- }
77398
- for (i2 = 0; i2 < parts.length; ++i2) {
77399
- if (i2 === skipIndex) {
77400
- continue;
77401
- }
77402
- var part = parts[i2];
77403
- var bracketEqualsPos = part.indexOf("]=");
77404
- var pos = bracketEqualsPos === -1 ? part.indexOf("=") : bracketEqualsPos + 1;
77405
- var key, val;
77406
- if (pos === -1) {
77407
- key = options2.decoder(part, defaults2.decoder, charset, "key");
77408
- val = options2.strictNullHandling ? null : "";
77409
- } else {
77410
- key = options2.decoder(part.slice(0, pos), defaults2.decoder, charset, "key");
77411
- val = utils.maybeMap(
77412
- parseArrayValue(part.slice(pos + 1), options2),
77413
- function(encodedVal) {
77414
- return options2.decoder(encodedVal, defaults2.decoder, charset, "value");
77415
- }
77416
- );
77417
- }
77418
- if (val && options2.interpretNumericEntities && charset === "iso-8859-1") {
77419
- val = interpretNumericEntities(val);
77420
- }
77421
- if (part.indexOf("[]=") > -1) {
77422
- val = isArray14(val) ? [val] : val;
77423
- }
77424
- if (has.call(obj, key)) {
77425
- obj[key] = utils.combine(obj[key], val);
77426
- } else {
77427
- obj[key] = val;
77428
- }
77429
- }
77430
- return obj;
77431
- };
77432
- var parseObject = function(chain, val, options2, valuesParsed) {
77433
- var leaf = valuesParsed ? val : parseArrayValue(val, options2);
77434
- for (var i2 = chain.length - 1; i2 >= 0; --i2) {
77435
- var obj;
77436
- var root4 = chain[i2];
77437
- if (root4 === "[]" && options2.parseArrays) {
77438
- obj = [].concat(leaf);
77439
- } else {
77440
- obj = options2.plainObjects ? /* @__PURE__ */ Object.create(null) : {};
77441
- var cleanRoot = root4.charAt(0) === "[" && root4.charAt(root4.length - 1) === "]" ? root4.slice(1, -1) : root4;
77442
- var index2 = parseInt(cleanRoot, 10);
77443
- if (!options2.parseArrays && cleanRoot === "") {
77444
- obj = { 0: leaf };
77445
- } else if (!isNaN(index2) && root4 !== cleanRoot && String(index2) === cleanRoot && index2 >= 0 && (options2.parseArrays && index2 <= options2.arrayLimit)) {
77446
- obj = [];
77447
- obj[index2] = leaf;
77448
- } else if (cleanRoot !== "__proto__") {
77449
- obj[cleanRoot] = leaf;
77450
- }
77451
- }
77452
- leaf = obj;
77453
- }
77454
- return leaf;
77455
- };
77456
- var parseKeys = function parseQueryStringKeys(givenKey, val, options2, valuesParsed) {
77457
- if (!givenKey) {
77458
- return;
77459
- }
77460
- var key = options2.allowDots ? givenKey.replace(/\.([^.[]+)/g, "[$1]") : givenKey;
77461
- var brackets = /(\[[^[\]]*])/;
77462
- var child = /(\[[^[\]]*])/g;
77463
- var segment = options2.depth > 0 && brackets.exec(key);
77464
- var parent = segment ? key.slice(0, segment.index) : key;
77465
- var keys13 = [];
77466
- if (parent) {
77467
- if (!options2.plainObjects && has.call(Object.prototype, parent)) {
77468
- if (!options2.allowPrototypes) {
77469
- return;
77470
- }
77471
- }
77472
- keys13.push(parent);
77473
- }
77474
- var i2 = 0;
77475
- while (options2.depth > 0 && (segment = child.exec(key)) !== null && i2 < options2.depth) {
77476
- i2 += 1;
77477
- if (!options2.plainObjects && has.call(Object.prototype, segment[1].slice(1, -1))) {
77478
- if (!options2.allowPrototypes) {
77479
- return;
77480
- }
77481
- }
77482
- keys13.push(segment[1]);
77483
- }
77484
- if (segment) {
77485
- keys13.push("[" + key.slice(segment.index) + "]");
77486
- }
77487
- return parseObject(keys13, val, options2, valuesParsed);
77488
- };
77489
- var normalizeParseOptions = function normalizeParseOptions2(opts) {
77490
- if (!opts) {
77491
- return defaults2;
77492
- }
77493
- if (opts.decoder !== null && opts.decoder !== void 0 && typeof opts.decoder !== "function") {
77494
- throw new TypeError("Decoder has to be a function.");
77495
- }
77496
- if (typeof opts.charset !== "undefined" && opts.charset !== "utf-8" && opts.charset !== "iso-8859-1") {
77497
- throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
77498
- }
77499
- var charset = typeof opts.charset === "undefined" ? defaults2.charset : opts.charset;
77500
- return {
77501
- allowDots: typeof opts.allowDots === "undefined" ? defaults2.allowDots : !!opts.allowDots,
77502
- allowPrototypes: typeof opts.allowPrototypes === "boolean" ? opts.allowPrototypes : defaults2.allowPrototypes,
77503
- allowSparse: typeof opts.allowSparse === "boolean" ? opts.allowSparse : defaults2.allowSparse,
77504
- arrayLimit: typeof opts.arrayLimit === "number" ? opts.arrayLimit : defaults2.arrayLimit,
77505
- charset,
77506
- charsetSentinel: typeof opts.charsetSentinel === "boolean" ? opts.charsetSentinel : defaults2.charsetSentinel,
77507
- comma: typeof opts.comma === "boolean" ? opts.comma : defaults2.comma,
77508
- decoder: typeof opts.decoder === "function" ? opts.decoder : defaults2.decoder,
77509
- delimiter: typeof opts.delimiter === "string" || utils.isRegExp(opts.delimiter) ? opts.delimiter : defaults2.delimiter,
77510
- // eslint-disable-next-line no-implicit-coercion, no-extra-parens
77511
- depth: typeof opts.depth === "number" || opts.depth === false ? +opts.depth : defaults2.depth,
77512
- ignoreQueryPrefix: opts.ignoreQueryPrefix === true,
77513
- interpretNumericEntities: typeof opts.interpretNumericEntities === "boolean" ? opts.interpretNumericEntities : defaults2.interpretNumericEntities,
77514
- parameterLimit: typeof opts.parameterLimit === "number" ? opts.parameterLimit : defaults2.parameterLimit,
77515
- parseArrays: opts.parseArrays !== false,
77516
- plainObjects: typeof opts.plainObjects === "boolean" ? opts.plainObjects : defaults2.plainObjects,
77517
- strictNullHandling: typeof opts.strictNullHandling === "boolean" ? opts.strictNullHandling : defaults2.strictNullHandling
77518
- };
77519
- };
77520
- module2.exports = function(str2, opts) {
77521
- var options2 = normalizeParseOptions(opts);
77522
- if (str2 === "" || str2 === null || typeof str2 === "undefined") {
77523
- return options2.plainObjects ? /* @__PURE__ */ Object.create(null) : {};
77524
- }
77525
- var tempObj = typeof str2 === "string" ? parseValues(str2, options2) : str2;
77526
- var obj = options2.plainObjects ? /* @__PURE__ */ Object.create(null) : {};
77527
- var keys13 = Object.keys(tempObj);
77528
- for (var i2 = 0; i2 < keys13.length; ++i2) {
77529
- var key = keys13[i2];
77530
- var newObj = parseKeys(key, tempObj[key], options2, typeof str2 === "string");
77531
- obj = utils.merge(obj, newObj, options2);
77532
- }
77533
- if (options2.allowSparse === true) {
77534
- return obj;
77535
- }
77536
- return utils.compact(obj);
77537
- };
77538
- }
77539
- });
77540
- var require_lib6 = __commonJS2({
77541
- "node_modules/express/node_modules/qs/lib/index.js"(exports2, module2) {
77542
- "use strict";
77543
- var stringify15 = require_stringify4();
77544
- var parse7 = require_parse3();
77545
- var formats = require_formats3();
77546
- module2.exports = {
77547
- formats,
77548
- parse: parse7,
77549
- stringify: stringify15
77550
- };
77551
- }
77552
- });
77553
76217
  var require_query = __commonJS2({
77554
76218
  "node_modules/express/lib/middleware/query.js"(exports2, module2) {
77555
76219
  "use strict";
77556
76220
  var merge2 = require_utils_merge();
77557
76221
  var parseUrl3 = require_parseurl();
77558
- var qs3 = require_lib6();
76222
+ var qs3 = require_lib();
77559
76223
  module2.exports = function query(options2) {
77560
76224
  var opts = merge2({}, options2);
77561
76225
  var queryparse = qs3.parse;
@@ -77945,636 +76609,533 @@ var require_ms6 = __commonJS2({
77945
76609
  }
77946
76610
  }
77947
76611
  function fmtShort2(ms2) {
77948
- if (ms2 >= d2) {
77949
- return Math.round(ms2 / d2) + "d";
77950
- }
77951
- if (ms2 >= h2) {
77952
- return Math.round(ms2 / h2) + "h";
77953
- }
77954
- if (ms2 >= m2) {
77955
- return Math.round(ms2 / m2) + "m";
77956
- }
77957
- if (ms2 >= s4) {
77958
- return Math.round(ms2 / s4) + "s";
77959
- }
77960
- return ms2 + "ms";
77961
- }
77962
- function fmtLong2(ms2) {
77963
- return plural2(ms2, d2, "day") || plural2(ms2, h2, "hour") || plural2(ms2, m2, "minute") || plural2(ms2, s4, "second") || ms2 + " ms";
77964
- }
77965
- function plural2(ms2, n, name) {
77966
- if (ms2 < n) {
77967
- return;
77968
- }
77969
- if (ms2 < n * 1.5) {
77970
- return Math.floor(ms2 / n) + " " + name;
77971
- }
77972
- return Math.ceil(ms2 / n) + " " + name + "s";
77973
- }
77974
- }
77975
- });
77976
- var require_debug6 = __commonJS2({
77977
- "node_modules/send/node_modules/debug/src/debug.js"(exports2, module2) {
77978
- "use strict";
77979
- exports2 = module2.exports = createDebug.debug = createDebug["default"] = createDebug;
77980
- exports2.coerce = coerce;
77981
- exports2.disable = disable;
77982
- exports2.enable = enable;
77983
- exports2.enabled = enabled;
77984
- exports2.humanize = require_ms6();
77985
- exports2.names = [];
77986
- exports2.skips = [];
77987
- exports2.formatters = {};
77988
- var prevTime;
77989
- function selectColor(namespace2) {
77990
- var hash = 0, i2;
77991
- for (i2 in namespace2) {
77992
- hash = (hash << 5) - hash + namespace2.charCodeAt(i2);
77993
- hash |= 0;
77994
- }
77995
- return exports2.colors[Math.abs(hash) % exports2.colors.length];
77996
- }
77997
- function createDebug(namespace2) {
77998
- function debug22() {
77999
- if (!debug22.enabled) return;
78000
- var self2 = debug22;
78001
- var curr = +/* @__PURE__ */ new Date();
78002
- var ms2 = curr - (prevTime || curr);
78003
- self2.diff = ms2;
78004
- self2.prev = prevTime;
78005
- self2.curr = curr;
78006
- prevTime = curr;
78007
- var args = new Array(arguments.length);
78008
- for (var i2 = 0; i2 < args.length; i2++) {
78009
- args[i2] = arguments[i2];
78010
- }
78011
- args[0] = exports2.coerce(args[0]);
78012
- if ("string" !== typeof args[0]) {
78013
- args.unshift("%O");
78014
- }
78015
- var index2 = 0;
78016
- args[0] = args[0].replace(/%([a-zA-Z%])/g, function(match2, format) {
78017
- if (match2 === "%%") return match2;
78018
- index2++;
78019
- var formatter = exports2.formatters[format];
78020
- if ("function" === typeof formatter) {
78021
- var val = args[index2];
78022
- match2 = formatter.call(self2, val);
78023
- args.splice(index2, 1);
78024
- index2--;
78025
- }
78026
- return match2;
78027
- });
78028
- exports2.formatArgs.call(self2, args);
78029
- var logFn = debug22.log || exports2.log || console.log.bind(console);
78030
- logFn.apply(self2, args);
78031
- }
78032
- debug22.namespace = namespace2;
78033
- debug22.enabled = exports2.enabled(namespace2);
78034
- debug22.useColors = exports2.useColors();
78035
- debug22.color = selectColor(namespace2);
78036
- if ("function" === typeof exports2.init) {
78037
- exports2.init(debug22);
78038
- }
78039
- return debug22;
78040
- }
78041
- function enable(namespaces) {
78042
- exports2.save(namespaces);
78043
- exports2.names = [];
78044
- exports2.skips = [];
78045
- var split = (typeof namespaces === "string" ? namespaces : "").split(/[\s,]+/);
78046
- var len = split.length;
78047
- for (var i2 = 0; i2 < len; i2++) {
78048
- if (!split[i2]) continue;
78049
- namespaces = split[i2].replace(/\*/g, ".*?");
78050
- if (namespaces[0] === "-") {
78051
- exports2.skips.push(new RegExp("^" + namespaces.substr(1) + "$"));
78052
- } else {
78053
- exports2.names.push(new RegExp("^" + namespaces + "$"));
78054
- }
78055
- }
78056
- }
78057
- function disable() {
78058
- exports2.enable("");
78059
- }
78060
- function enabled(name) {
78061
- var i2, len;
78062
- for (i2 = 0, len = exports2.skips.length; i2 < len; i2++) {
78063
- if (exports2.skips[i2].test(name)) {
78064
- return false;
78065
- }
78066
- }
78067
- for (i2 = 0, len = exports2.names.length; i2 < len; i2++) {
78068
- if (exports2.names[i2].test(name)) {
78069
- return true;
78070
- }
78071
- }
78072
- return false;
78073
- }
78074
- function coerce(val) {
78075
- if (val instanceof Error) return val.stack || val.message;
78076
- return val;
78077
- }
78078
- }
78079
- });
78080
- var require_browser6 = __commonJS2({
78081
- "node_modules/send/node_modules/debug/src/browser.js"(exports2, module2) {
78082
- "use strict";
78083
- exports2 = module2.exports = require_debug6();
78084
- exports2.log = log;
78085
- exports2.formatArgs = formatArgs;
78086
- exports2.save = save;
78087
- exports2.load = load;
78088
- exports2.useColors = useColors;
78089
- exports2.storage = "undefined" != typeof chrome && "undefined" != typeof chrome.storage ? chrome.storage.local : localstorage();
78090
- exports2.colors = [
78091
- "lightseagreen",
78092
- "forestgreen",
78093
- "goldenrod",
78094
- "dodgerblue",
78095
- "darkorchid",
78096
- "crimson"
78097
- ];
78098
- function useColors() {
78099
- if (typeof window !== "undefined" && window.process && window.process.type === "renderer") {
78100
- return true;
78101
- }
78102
- return typeof document !== "undefined" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || // is firebug? http://stackoverflow.com/a/398120/376773
78103
- typeof window !== "undefined" && window.console && (window.console.firebug || window.console.exception && window.console.table) || // is firefox >= v31?
78104
- // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
78105
- typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31 || // double check webkit in userAgent just in case we are in a worker
78106
- typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
78107
- }
78108
- exports2.formatters.j = function(v) {
78109
- try {
78110
- return JSON.stringify(v);
78111
- } catch (err) {
78112
- return "[UnexpectedJSONParseError]: " + err.message;
78113
- }
78114
- };
78115
- function formatArgs(args) {
78116
- var useColors2 = this.useColors;
78117
- args[0] = (useColors2 ? "%c" : "") + this.namespace + (useColors2 ? " %c" : " ") + args[0] + (useColors2 ? "%c " : " ") + "+" + exports2.humanize(this.diff);
78118
- if (!useColors2) return;
78119
- var c = "color: " + this.color;
78120
- args.splice(1, 0, c, "color: inherit");
78121
- var index2 = 0;
78122
- var lastC = 0;
78123
- args[0].replace(/%[a-zA-Z%]/g, function(match2) {
78124
- if ("%%" === match2) return;
78125
- index2++;
78126
- if ("%c" === match2) {
78127
- lastC = index2;
78128
- }
78129
- });
78130
- args.splice(lastC, 0, c);
78131
- }
78132
- function log() {
78133
- return "object" === typeof console && console.log && Function.prototype.apply.call(console.log, console, arguments);
78134
- }
78135
- function save(namespaces) {
78136
- try {
78137
- if (null == namespaces) {
78138
- exports2.storage.removeItem("debug");
78139
- } else {
78140
- exports2.storage.debug = namespaces;
78141
- }
78142
- } catch (e) {
78143
- }
78144
- }
78145
- function load() {
78146
- var r;
78147
- try {
78148
- r = exports2.storage.debug;
78149
- } catch (e) {
78150
- }
78151
- if (!r && typeof process !== "undefined" && "env" in process) {
78152
- r = process.env.DEBUG;
78153
- }
78154
- return r;
78155
- }
78156
- exports2.enable(load());
78157
- function localstorage() {
78158
- try {
78159
- return window.localStorage;
78160
- } catch (e) {
78161
- }
78162
- }
78163
- }
78164
- });
78165
- var require_node6 = __commonJS2({
78166
- "node_modules/send/node_modules/debug/src/node.js"(exports2, module2) {
78167
- "use strict";
78168
- var tty2 = __require2("tty");
78169
- var util46 = __require2("util");
78170
- exports2 = module2.exports = require_debug6();
78171
- exports2.init = init;
78172
- exports2.log = log;
78173
- exports2.formatArgs = formatArgs;
78174
- exports2.save = save;
78175
- exports2.load = load;
78176
- exports2.useColors = useColors;
78177
- exports2.colors = [6, 2, 3, 4, 5, 1];
78178
- exports2.inspectOpts = Object.keys(process.env).filter(function(key) {
78179
- return /^debug_/i.test(key);
78180
- }).reduce(function(obj, key) {
78181
- var prop = key.substring(6).toLowerCase().replace(/_([a-z])/g, function(_, k2) {
78182
- return k2.toUpperCase();
78183
- });
78184
- var val = process.env[key];
78185
- if (/^(yes|on|true|enabled)$/i.test(val)) val = true;
78186
- else if (/^(no|off|false|disabled)$/i.test(val)) val = false;
78187
- else if (val === "null") val = null;
78188
- else val = Number(val);
78189
- obj[prop] = val;
78190
- return obj;
78191
- }, {});
78192
- var fd = parseInt(process.env.DEBUG_FD, 10) || 2;
78193
- if (1 !== fd && 2 !== fd) {
78194
- util46.deprecate(function() {
78195
- }, "except for stderr(2) and stdout(1), any other usage of DEBUG_FD is deprecated. Override debug.log if you want to use a different log function (https://git.io/debug_fd)")();
78196
- }
78197
- var stream4 = 1 === fd ? process.stdout : 2 === fd ? process.stderr : createWritableStdioStream(fd);
78198
- function useColors() {
78199
- return "colors" in exports2.inspectOpts ? Boolean(exports2.inspectOpts.colors) : tty2.isatty(fd);
78200
- }
78201
- exports2.formatters.o = function(v) {
78202
- this.inspectOpts.colors = this.useColors;
78203
- return util46.inspect(v, this.inspectOpts).split("\n").map(function(str2) {
78204
- return str2.trim();
78205
- }).join(" ");
78206
- };
78207
- exports2.formatters.O = function(v) {
78208
- this.inspectOpts.colors = this.useColors;
78209
- return util46.inspect(v, this.inspectOpts);
78210
- };
78211
- function formatArgs(args) {
78212
- var name = this.namespace;
78213
- var useColors2 = this.useColors;
78214
- if (useColors2) {
78215
- var c = this.color;
78216
- var prefix = " \x1B[3" + c + ";1m" + name + " \x1B[0m";
78217
- args[0] = prefix + args[0].split("\n").join("\n" + prefix);
78218
- args.push("\x1B[3" + c + "m+" + exports2.humanize(this.diff) + "\x1B[0m");
78219
- } else {
78220
- args[0] = (/* @__PURE__ */ new Date()).toUTCString() + " " + name + " " + args[0];
78221
- }
78222
- }
78223
- function log() {
78224
- return stream4.write(util46.format.apply(util46, arguments) + "\n");
78225
- }
78226
- function save(namespaces) {
78227
- if (null == namespaces) {
78228
- delete process.env.DEBUG;
78229
- } else {
78230
- process.env.DEBUG = namespaces;
78231
- }
78232
- }
78233
- function load() {
78234
- return process.env.DEBUG;
78235
- }
78236
- function createWritableStdioStream(fd2) {
78237
- var stream5;
78238
- var tty_wrap = process.binding("tty_wrap");
78239
- switch (tty_wrap.guessHandleType(fd2)) {
78240
- case "TTY":
78241
- stream5 = new tty2.WriteStream(fd2);
78242
- stream5._type = "tty";
78243
- if (stream5._handle && stream5._handle.unref) {
78244
- stream5._handle.unref();
78245
- }
78246
- break;
78247
- case "FILE":
78248
- var fs72 = __require2("fs");
78249
- stream5 = new fs72.SyncWriteStream(fd2, { autoClose: false });
78250
- stream5._type = "fs";
78251
- break;
78252
- case "PIPE":
78253
- case "TCP":
78254
- var net = __require2("net");
78255
- stream5 = new net.Socket({
78256
- fd: fd2,
78257
- readable: false,
78258
- writable: true
78259
- });
78260
- stream5.readable = false;
78261
- stream5.read = null;
78262
- stream5._type = "pipe";
78263
- if (stream5._handle && stream5._handle.unref) {
78264
- stream5._handle.unref();
78265
- }
78266
- break;
78267
- default:
78268
- throw new Error("Implement me. Unknown stream file type!");
78269
- }
78270
- stream5.fd = fd2;
78271
- stream5._isStdio = true;
78272
- return stream5;
78273
- }
78274
- function init(debug22) {
78275
- debug22.inspectOpts = {};
78276
- var keys13 = Object.keys(exports2.inspectOpts);
78277
- for (var i2 = 0; i2 < keys13.length; i2++) {
78278
- debug22.inspectOpts[keys13[i2]] = exports2.inspectOpts[keys13[i2]];
78279
- }
78280
- }
78281
- exports2.enable(load());
78282
- }
78283
- });
78284
- var require_src6 = __commonJS2({
78285
- "node_modules/send/node_modules/debug/src/index.js"(exports2, module2) {
78286
- "use strict";
78287
- if (typeof process !== "undefined" && process.type === "renderer") {
78288
- module2.exports = require_browser6();
78289
- } else {
78290
- module2.exports = require_node6();
78291
- }
78292
- }
78293
- });
78294
- var require_etag = __commonJS2({
78295
- "node_modules/etag/index.js"(exports2, module2) {
78296
- "use strict";
78297
- module2.exports = etag;
78298
- var crypto102 = __require2("crypto");
78299
- var Stats = __require2("fs").Stats;
78300
- var toString9 = Object.prototype.toString;
78301
- function entitytag(entity) {
78302
- if (entity.length === 0) {
78303
- return '"0-2jmj7l5rSw0yVb/vlWAYkK/YBwk"';
78304
- }
78305
- var hash = crypto102.createHash("sha1").update(entity, "utf8").digest("base64").substring(0, 27);
78306
- var len = typeof entity === "string" ? Buffer.byteLength(entity, "utf8") : entity.length;
78307
- return '"' + len.toString(16) + "-" + hash + '"';
78308
- }
78309
- function etag(entity, options2) {
78310
- if (entity == null) {
78311
- throw new TypeError("argument entity is required");
78312
- }
78313
- var isStats = isstats(entity);
78314
- var weak = options2 && typeof options2.weak === "boolean" ? options2.weak : isStats;
78315
- if (!isStats && typeof entity !== "string" && !Buffer.isBuffer(entity)) {
78316
- throw new TypeError("argument entity must be string, Buffer, or fs.Stats");
78317
- }
78318
- var tag = isStats ? stattag(entity) : entitytag(entity);
78319
- return weak ? "W/" + tag : tag;
78320
- }
78321
- function isstats(obj) {
78322
- if (typeof Stats === "function" && obj instanceof Stats) {
78323
- return true;
78324
- }
78325
- return obj && typeof obj === "object" && "ctime" in obj && toString9.call(obj.ctime) === "[object Date]" && "mtime" in obj && toString9.call(obj.mtime) === "[object Date]" && "ino" in obj && typeof obj.ino === "number" && "size" in obj && typeof obj.size === "number";
78326
- }
78327
- function stattag(stat) {
78328
- var mtime = stat.mtime.getTime().toString(16);
78329
- var size = stat.size.toString(16);
78330
- return '"' + size + "-" + mtime + '"';
78331
- }
78332
- }
78333
- });
78334
- var require_fresh = __commonJS2({
78335
- "node_modules/fresh/index.js"(exports2, module2) {
78336
- "use strict";
78337
- var CACHE_CONTROL_NO_CACHE_REGEXP = /(?:^|,)\s*?no-cache\s*?(?:,|$)/;
78338
- module2.exports = fresh;
78339
- function fresh(reqHeaders, resHeaders) {
78340
- var modifiedSince = reqHeaders["if-modified-since"];
78341
- var noneMatch = reqHeaders["if-none-match"];
78342
- if (!modifiedSince && !noneMatch) {
78343
- return false;
78344
- }
78345
- var cacheControl = reqHeaders["cache-control"];
78346
- if (cacheControl && CACHE_CONTROL_NO_CACHE_REGEXP.test(cacheControl)) {
78347
- return false;
78348
- }
78349
- if (noneMatch && noneMatch !== "*") {
78350
- var etag = resHeaders["etag"];
78351
- if (!etag) {
78352
- return false;
78353
- }
78354
- var etagStale = true;
78355
- var matches = parseTokenList(noneMatch);
78356
- for (var i2 = 0; i2 < matches.length; i2++) {
78357
- var match2 = matches[i2];
78358
- if (match2 === etag || match2 === "W/" + etag || "W/" + match2 === etag) {
78359
- etagStale = false;
78360
- break;
78361
- }
78362
- }
78363
- if (etagStale) {
78364
- return false;
78365
- }
78366
- }
78367
- if (modifiedSince) {
78368
- var lastModified = resHeaders["last-modified"];
78369
- var modifiedStale = !lastModified || !(parseHttpDate(lastModified) <= parseHttpDate(modifiedSince));
78370
- if (modifiedStale) {
78371
- return false;
78372
- }
78373
- }
78374
- return true;
78375
- }
78376
- function parseHttpDate(date) {
78377
- var timestamp2 = date && Date.parse(date);
78378
- return typeof timestamp2 === "number" ? timestamp2 : NaN;
78379
- }
78380
- function parseTokenList(str2) {
78381
- var end = 0;
78382
- var list = [];
78383
- var start = 0;
78384
- for (var i2 = 0, len = str2.length; i2 < len; i2++) {
78385
- switch (str2.charCodeAt(i2)) {
78386
- case 32:
78387
- if (start === end) {
78388
- start = end = i2 + 1;
78389
- }
78390
- break;
78391
- case 44:
78392
- list.push(str2.substring(start, end));
78393
- start = end = i2 + 1;
78394
- break;
78395
- default:
78396
- end = i2 + 1;
78397
- break;
78398
- }
78399
- }
78400
- list.push(str2.substring(start, end));
78401
- return list;
78402
- }
78403
- }
78404
- });
78405
- var require_types = __commonJS2({
78406
- "node_modules/mime/types.json"(exports2, module2) {
78407
- module2.exports = { "application/andrew-inset": ["ez"], "application/applixware": ["aw"], "application/atom+xml": ["atom"], "application/atomcat+xml": ["atomcat"], "application/atomsvc+xml": ["atomsvc"], "application/bdoc": ["bdoc"], "application/ccxml+xml": ["ccxml"], "application/cdmi-capability": ["cdmia"], "application/cdmi-container": ["cdmic"], "application/cdmi-domain": ["cdmid"], "application/cdmi-object": ["cdmio"], "application/cdmi-queue": ["cdmiq"], "application/cu-seeme": ["cu"], "application/dash+xml": ["mpd"], "application/davmount+xml": ["davmount"], "application/docbook+xml": ["dbk"], "application/dssc+der": ["dssc"], "application/dssc+xml": ["xdssc"], "application/ecmascript": ["ecma"], "application/emma+xml": ["emma"], "application/epub+zip": ["epub"], "application/exi": ["exi"], "application/font-tdpfr": ["pfr"], "application/font-woff": [], "application/font-woff2": [], "application/geo+json": ["geojson"], "application/gml+xml": ["gml"], "application/gpx+xml": ["gpx"], "application/gxf": ["gxf"], "application/gzip": ["gz"], "application/hyperstudio": ["stk"], "application/inkml+xml": ["ink", "inkml"], "application/ipfix": ["ipfix"], "application/java-archive": ["jar", "war", "ear"], "application/java-serialized-object": ["ser"], "application/java-vm": ["class"], "application/javascript": ["js", "mjs"], "application/json": ["json", "map"], "application/json5": ["json5"], "application/jsonml+json": ["jsonml"], "application/ld+json": ["jsonld"], "application/lost+xml": ["lostxml"], "application/mac-binhex40": ["hqx"], "application/mac-compactpro": ["cpt"], "application/mads+xml": ["mads"], "application/manifest+json": ["webmanifest"], "application/marc": ["mrc"], "application/marcxml+xml": ["mrcx"], "application/mathematica": ["ma", "nb", "mb"], "application/mathml+xml": ["mathml"], "application/mbox": ["mbox"], "application/mediaservercontrol+xml": ["mscml"], "application/metalink+xml": ["metalink"], "application/metalink4+xml": ["meta4"], "application/mets+xml": ["mets"], "application/mods+xml": ["mods"], "application/mp21": ["m21", "mp21"], "application/mp4": ["mp4s", "m4p"], "application/msword": ["doc", "dot"], "application/mxf": ["mxf"], "application/octet-stream": ["bin", "dms", "lrf", "mar", "so", "dist", "distz", "pkg", "bpk", "dump", "elc", "deploy", "exe", "dll", "deb", "dmg", "iso", "img", "msi", "msp", "msm", "buffer"], "application/oda": ["oda"], "application/oebps-package+xml": ["opf"], "application/ogg": ["ogx"], "application/omdoc+xml": ["omdoc"], "application/onenote": ["onetoc", "onetoc2", "onetmp", "onepkg"], "application/oxps": ["oxps"], "application/patch-ops-error+xml": ["xer"], "application/pdf": ["pdf"], "application/pgp-encrypted": ["pgp"], "application/pgp-signature": ["asc", "sig"], "application/pics-rules": ["prf"], "application/pkcs10": ["p10"], "application/pkcs7-mime": ["p7m", "p7c"], "application/pkcs7-signature": ["p7s"], "application/pkcs8": ["p8"], "application/pkix-attr-cert": ["ac"], "application/pkix-cert": ["cer"], "application/pkix-crl": ["crl"], "application/pkix-pkipath": ["pkipath"], "application/pkixcmp": ["pki"], "application/pls+xml": ["pls"], "application/postscript": ["ai", "eps", "ps"], "application/prs.cww": ["cww"], "application/pskc+xml": ["pskcxml"], "application/raml+yaml": ["raml"], "application/rdf+xml": ["rdf"], "application/reginfo+xml": ["rif"], "application/relax-ng-compact-syntax": ["rnc"], "application/resource-lists+xml": ["rl"], "application/resource-lists-diff+xml": ["rld"], "application/rls-services+xml": ["rs"], "application/rpki-ghostbusters": ["gbr"], "application/rpki-manifest": ["mft"], "application/rpki-roa": ["roa"], "application/rsd+xml": ["rsd"], "application/rss+xml": ["rss"], "application/rtf": ["rtf"], "application/sbml+xml": ["sbml"], "application/scvp-cv-request": ["scq"], "application/scvp-cv-response": ["scs"], "application/scvp-vp-request": ["spq"], "application/scvp-vp-response": ["spp"], "application/sdp": ["sdp"], "application/set-payment-initiation": ["setpay"], "application/set-registration-initiation": ["setreg"], "application/shf+xml": ["shf"], "application/smil+xml": ["smi", "smil"], "application/sparql-query": ["rq"], "application/sparql-results+xml": ["srx"], "application/srgs": ["gram"], "application/srgs+xml": ["grxml"], "application/sru+xml": ["sru"], "application/ssdl+xml": ["ssdl"], "application/ssml+xml": ["ssml"], "application/tei+xml": ["tei", "teicorpus"], "application/thraud+xml": ["tfi"], "application/timestamped-data": ["tsd"], "application/vnd.3gpp.pic-bw-large": ["plb"], "application/vnd.3gpp.pic-bw-small": ["psb"], "application/vnd.3gpp.pic-bw-var": ["pvb"], "application/vnd.3gpp2.tcap": ["tcap"], "application/vnd.3m.post-it-notes": ["pwn"], "application/vnd.accpac.simply.aso": ["aso"], "application/vnd.accpac.simply.imp": ["imp"], "application/vnd.acucobol": ["acu"], "application/vnd.acucorp": ["atc", "acutc"], "application/vnd.adobe.air-application-installer-package+zip": ["air"], "application/vnd.adobe.formscentral.fcdt": ["fcdt"], "application/vnd.adobe.fxp": ["fxp", "fxpl"], "application/vnd.adobe.xdp+xml": ["xdp"], "application/vnd.adobe.xfdf": ["xfdf"], "application/vnd.ahead.space": ["ahead"], "application/vnd.airzip.filesecure.azf": ["azf"], "application/vnd.airzip.filesecure.azs": ["azs"], "application/vnd.amazon.ebook": ["azw"], "application/vnd.americandynamics.acc": ["acc"], "application/vnd.amiga.ami": ["ami"], "application/vnd.android.package-archive": ["apk"], "application/vnd.anser-web-certificate-issue-initiation": ["cii"], "application/vnd.anser-web-funds-transfer-initiation": ["fti"], "application/vnd.antix.game-component": ["atx"], "application/vnd.apple.installer+xml": ["mpkg"], "application/vnd.apple.mpegurl": ["m3u8"], "application/vnd.apple.pkpass": ["pkpass"], "application/vnd.aristanetworks.swi": ["swi"], "application/vnd.astraea-software.iota": ["iota"], "application/vnd.audiograph": ["aep"], "application/vnd.blueice.multipass": ["mpm"], "application/vnd.bmi": ["bmi"], "application/vnd.businessobjects": ["rep"], "application/vnd.chemdraw+xml": ["cdxml"], "application/vnd.chipnuts.karaoke-mmd": ["mmd"], "application/vnd.cinderella": ["cdy"], "application/vnd.claymore": ["cla"], "application/vnd.cloanto.rp9": ["rp9"], "application/vnd.clonk.c4group": ["c4g", "c4d", "c4f", "c4p", "c4u"], "application/vnd.cluetrust.cartomobile-config": ["c11amc"], "application/vnd.cluetrust.cartomobile-config-pkg": ["c11amz"], "application/vnd.commonspace": ["csp"], "application/vnd.contact.cmsg": ["cdbcmsg"], "application/vnd.cosmocaller": ["cmc"], "application/vnd.crick.clicker": ["clkx"], "application/vnd.crick.clicker.keyboard": ["clkk"], "application/vnd.crick.clicker.palette": ["clkp"], "application/vnd.crick.clicker.template": ["clkt"], "application/vnd.crick.clicker.wordbank": ["clkw"], "application/vnd.criticaltools.wbs+xml": ["wbs"], "application/vnd.ctc-posml": ["pml"], "application/vnd.cups-ppd": ["ppd"], "application/vnd.curl.car": ["car"], "application/vnd.curl.pcurl": ["pcurl"], "application/vnd.dart": ["dart"], "application/vnd.data-vision.rdz": ["rdz"], "application/vnd.dece.data": ["uvf", "uvvf", "uvd", "uvvd"], "application/vnd.dece.ttml+xml": ["uvt", "uvvt"], "application/vnd.dece.unspecified": ["uvx", "uvvx"], "application/vnd.dece.zip": ["uvz", "uvvz"], "application/vnd.denovo.fcselayout-link": ["fe_launch"], "application/vnd.dna": ["dna"], "application/vnd.dolby.mlp": ["mlp"], "application/vnd.dpgraph": ["dpg"], "application/vnd.dreamfactory": ["dfac"], "application/vnd.ds-keypoint": ["kpxx"], "application/vnd.dvb.ait": ["ait"], "application/vnd.dvb.service": ["svc"], "application/vnd.dynageo": ["geo"], "application/vnd.ecowin.chart": ["mag"], "application/vnd.enliven": ["nml"], "application/vnd.epson.esf": ["esf"], "application/vnd.epson.msf": ["msf"], "application/vnd.epson.quickanime": ["qam"], "application/vnd.epson.salt": ["slt"], "application/vnd.epson.ssf": ["ssf"], "application/vnd.eszigno3+xml": ["es3", "et3"], "application/vnd.ezpix-album": ["ez2"], "application/vnd.ezpix-package": ["ez3"], "application/vnd.fdf": ["fdf"], "application/vnd.fdsn.mseed": ["mseed"], "application/vnd.fdsn.seed": ["seed", "dataless"], "application/vnd.flographit": ["gph"], "application/vnd.fluxtime.clip": ["ftc"], "application/vnd.framemaker": ["fm", "frame", "maker", "book"], "application/vnd.frogans.fnc": ["fnc"], "application/vnd.frogans.ltf": ["ltf"], "application/vnd.fsc.weblaunch": ["fsc"], "application/vnd.fujitsu.oasys": ["oas"], "application/vnd.fujitsu.oasys2": ["oa2"], "application/vnd.fujitsu.oasys3": ["oa3"], "application/vnd.fujitsu.oasysgp": ["fg5"], "application/vnd.fujitsu.oasysprs": ["bh2"], "application/vnd.fujixerox.ddd": ["ddd"], "application/vnd.fujixerox.docuworks": ["xdw"], "application/vnd.fujixerox.docuworks.binder": ["xbd"], "application/vnd.fuzzysheet": ["fzs"], "application/vnd.genomatix.tuxedo": ["txd"], "application/vnd.geogebra.file": ["ggb"], "application/vnd.geogebra.tool": ["ggt"], "application/vnd.geometry-explorer": ["gex", "gre"], "application/vnd.geonext": ["gxt"], "application/vnd.geoplan": ["g2w"], "application/vnd.geospace": ["g3w"], "application/vnd.gmx": ["gmx"], "application/vnd.google-apps.document": ["gdoc"], "application/vnd.google-apps.presentation": ["gslides"], "application/vnd.google-apps.spreadsheet": ["gsheet"], "application/vnd.google-earth.kml+xml": ["kml"], "application/vnd.google-earth.kmz": ["kmz"], "application/vnd.grafeq": ["gqf", "gqs"], "application/vnd.groove-account": ["gac"], "application/vnd.groove-help": ["ghf"], "application/vnd.groove-identity-message": ["gim"], "application/vnd.groove-injector": ["grv"], "application/vnd.groove-tool-message": ["gtm"], "application/vnd.groove-tool-template": ["tpl"], "application/vnd.groove-vcard": ["vcg"], "application/vnd.hal+xml": ["hal"], "application/vnd.handheld-entertainment+xml": ["zmm"], "application/vnd.hbci": ["hbci"], "application/vnd.hhe.lesson-player": ["les"], "application/vnd.hp-hpgl": ["hpgl"], "application/vnd.hp-hpid": ["hpid"], "application/vnd.hp-hps": ["hps"], "application/vnd.hp-jlyt": ["jlt"], "application/vnd.hp-pcl": ["pcl"], "application/vnd.hp-pclxl": ["pclxl"], "application/vnd.hydrostatix.sof-data": ["sfd-hdstx"], "application/vnd.ibm.minipay": ["mpy"], "application/vnd.ibm.modcap": ["afp", "listafp", "list3820"], "application/vnd.ibm.rights-management": ["irm"], "application/vnd.ibm.secure-container": ["sc"], "application/vnd.iccprofile": ["icc", "icm"], "application/vnd.igloader": ["igl"], "application/vnd.immervision-ivp": ["ivp"], "application/vnd.immervision-ivu": ["ivu"], "application/vnd.insors.igm": ["igm"], "application/vnd.intercon.formnet": ["xpw", "xpx"], "application/vnd.intergeo": ["i2g"], "application/vnd.intu.qbo": ["qbo"], "application/vnd.intu.qfx": ["qfx"], "application/vnd.ipunplugged.rcprofile": ["rcprofile"], "application/vnd.irepository.package+xml": ["irp"], "application/vnd.is-xpr": ["xpr"], "application/vnd.isac.fcs": ["fcs"], "application/vnd.jam": ["jam"], "application/vnd.jcp.javame.midlet-rms": ["rms"], "application/vnd.jisp": ["jisp"], "application/vnd.joost.joda-archive": ["joda"], "application/vnd.kahootz": ["ktz", "ktr"], "application/vnd.kde.karbon": ["karbon"], "application/vnd.kde.kchart": ["chrt"], "application/vnd.kde.kformula": ["kfo"], "application/vnd.kde.kivio": ["flw"], "application/vnd.kde.kontour": ["kon"], "application/vnd.kde.kpresenter": ["kpr", "kpt"], "application/vnd.kde.kspread": ["ksp"], "application/vnd.kde.kword": ["kwd", "kwt"], "application/vnd.kenameaapp": ["htke"], "application/vnd.kidspiration": ["kia"], "application/vnd.kinar": ["kne", "knp"], "application/vnd.koan": ["skp", "skd", "skt", "skm"], "application/vnd.kodak-descriptor": ["sse"], "application/vnd.las.las+xml": ["lasxml"], "application/vnd.llamagraphics.life-balance.desktop": ["lbd"], "application/vnd.llamagraphics.life-balance.exchange+xml": ["lbe"], "application/vnd.lotus-1-2-3": ["123"], "application/vnd.lotus-approach": ["apr"], "application/vnd.lotus-freelance": ["pre"], "application/vnd.lotus-notes": ["nsf"], "application/vnd.lotus-organizer": ["org"], "application/vnd.lotus-screencam": ["scm"], "application/vnd.lotus-wordpro": ["lwp"], "application/vnd.macports.portpkg": ["portpkg"], "application/vnd.mcd": ["mcd"], "application/vnd.medcalcdata": ["mc1"], "application/vnd.mediastation.cdkey": ["cdkey"], "application/vnd.mfer": ["mwf"], "application/vnd.mfmp": ["mfm"], "application/vnd.micrografx.flo": ["flo"], "application/vnd.micrografx.igx": ["igx"], "application/vnd.mif": ["mif"], "application/vnd.mobius.daf": ["daf"], "application/vnd.mobius.dis": ["dis"], "application/vnd.mobius.mbk": ["mbk"], "application/vnd.mobius.mqy": ["mqy"], "application/vnd.mobius.msl": ["msl"], "application/vnd.mobius.plc": ["plc"], "application/vnd.mobius.txf": ["txf"], "application/vnd.mophun.application": ["mpn"], "application/vnd.mophun.certificate": ["mpc"], "application/vnd.mozilla.xul+xml": ["xul"], "application/vnd.ms-artgalry": ["cil"], "application/vnd.ms-cab-compressed": ["cab"], "application/vnd.ms-excel": ["xls", "xlm", "xla", "xlc", "xlt", "xlw"], "application/vnd.ms-excel.addin.macroenabled.12": ["xlam"], "application/vnd.ms-excel.sheet.binary.macroenabled.12": ["xlsb"], "application/vnd.ms-excel.sheet.macroenabled.12": ["xlsm"], "application/vnd.ms-excel.template.macroenabled.12": ["xltm"], "application/vnd.ms-fontobject": ["eot"], "application/vnd.ms-htmlhelp": ["chm"], "application/vnd.ms-ims": ["ims"], "application/vnd.ms-lrm": ["lrm"], "application/vnd.ms-officetheme": ["thmx"], "application/vnd.ms-outlook": ["msg"], "application/vnd.ms-pki.seccat": ["cat"], "application/vnd.ms-pki.stl": ["stl"], "application/vnd.ms-powerpoint": ["ppt", "pps", "pot"], "application/vnd.ms-powerpoint.addin.macroenabled.12": ["ppam"], "application/vnd.ms-powerpoint.presentation.macroenabled.12": ["pptm"], "application/vnd.ms-powerpoint.slide.macroenabled.12": ["sldm"], "application/vnd.ms-powerpoint.slideshow.macroenabled.12": ["ppsm"], "application/vnd.ms-powerpoint.template.macroenabled.12": ["potm"], "application/vnd.ms-project": ["mpp", "mpt"], "application/vnd.ms-word.document.macroenabled.12": ["docm"], "application/vnd.ms-word.template.macroenabled.12": ["dotm"], "application/vnd.ms-works": ["wps", "wks", "wcm", "wdb"], "application/vnd.ms-wpl": ["wpl"], "application/vnd.ms-xpsdocument": ["xps"], "application/vnd.mseq": ["mseq"], "application/vnd.musician": ["mus"], "application/vnd.muvee.style": ["msty"], "application/vnd.mynfc": ["taglet"], "application/vnd.neurolanguage.nlu": ["nlu"], "application/vnd.nitf": ["ntf", "nitf"], "application/vnd.noblenet-directory": ["nnd"], "application/vnd.noblenet-sealer": ["nns"], "application/vnd.noblenet-web": ["nnw"], "application/vnd.nokia.n-gage.data": ["ngdat"], "application/vnd.nokia.n-gage.symbian.install": ["n-gage"], "application/vnd.nokia.radio-preset": ["rpst"], "application/vnd.nokia.radio-presets": ["rpss"], "application/vnd.novadigm.edm": ["edm"], "application/vnd.novadigm.edx": ["edx"], "application/vnd.novadigm.ext": ["ext"], "application/vnd.oasis.opendocument.chart": ["odc"], "application/vnd.oasis.opendocument.chart-template": ["otc"], "application/vnd.oasis.opendocument.database": ["odb"], "application/vnd.oasis.opendocument.formula": ["odf"], "application/vnd.oasis.opendocument.formula-template": ["odft"], "application/vnd.oasis.opendocument.graphics": ["odg"], "application/vnd.oasis.opendocument.graphics-template": ["otg"], "application/vnd.oasis.opendocument.image": ["odi"], "application/vnd.oasis.opendocument.image-template": ["oti"], "application/vnd.oasis.opendocument.presentation": ["odp"], "application/vnd.oasis.opendocument.presentation-template": ["otp"], "application/vnd.oasis.opendocument.spreadsheet": ["ods"], "application/vnd.oasis.opendocument.spreadsheet-template": ["ots"], "application/vnd.oasis.opendocument.text": ["odt"], "application/vnd.oasis.opendocument.text-master": ["odm"], "application/vnd.oasis.opendocument.text-template": ["ott"], "application/vnd.oasis.opendocument.text-web": ["oth"], "application/vnd.olpc-sugar": ["xo"], "application/vnd.oma.dd2+xml": ["dd2"], "application/vnd.openofficeorg.extension": ["oxt"], "application/vnd.openxmlformats-officedocument.presentationml.presentation": ["pptx"], "application/vnd.openxmlformats-officedocument.presentationml.slide": ["sldx"], "application/vnd.openxmlformats-officedocument.presentationml.slideshow": ["ppsx"], "application/vnd.openxmlformats-officedocument.presentationml.template": ["potx"], "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": ["xlsx"], "application/vnd.openxmlformats-officedocument.spreadsheetml.template": ["xltx"], "application/vnd.openxmlformats-officedocument.wordprocessingml.document": ["docx"], "application/vnd.openxmlformats-officedocument.wordprocessingml.template": ["dotx"], "application/vnd.osgeo.mapguide.package": ["mgp"], "application/vnd.osgi.dp": ["dp"], "application/vnd.osgi.subsystem": ["esa"], "application/vnd.palm": ["pdb", "pqa", "oprc"], "application/vnd.pawaafile": ["paw"], "application/vnd.pg.format": ["str"], "application/vnd.pg.osasli": ["ei6"], "application/vnd.picsel": ["efif"], "application/vnd.pmi.widget": ["wg"], "application/vnd.pocketlearn": ["plf"], "application/vnd.powerbuilder6": ["pbd"], "application/vnd.previewsystems.box": ["box"], "application/vnd.proteus.magazine": ["mgz"], "application/vnd.publishare-delta-tree": ["qps"], "application/vnd.pvi.ptid1": ["ptid"], "application/vnd.quark.quarkxpress": ["qxd", "qxt", "qwd", "qwt", "qxl", "qxb"], "application/vnd.realvnc.bed": ["bed"], "application/vnd.recordare.musicxml": ["mxl"], "application/vnd.recordare.musicxml+xml": ["musicxml"], "application/vnd.rig.cryptonote": ["cryptonote"], "application/vnd.rim.cod": ["cod"], "application/vnd.rn-realmedia": ["rm"], "application/vnd.rn-realmedia-vbr": ["rmvb"], "application/vnd.route66.link66+xml": ["link66"], "application/vnd.sailingtracker.track": ["st"], "application/vnd.seemail": ["see"], "application/vnd.sema": ["sema"], "application/vnd.semd": ["semd"], "application/vnd.semf": ["semf"], "application/vnd.shana.informed.formdata": ["ifm"], "application/vnd.shana.informed.formtemplate": ["itp"], "application/vnd.shana.informed.interchange": ["iif"], "application/vnd.shana.informed.package": ["ipk"], "application/vnd.simtech-mindmapper": ["twd", "twds"], "application/vnd.smaf": ["mmf"], "application/vnd.smart.teacher": ["teacher"], "application/vnd.solent.sdkm+xml": ["sdkm", "sdkd"], "application/vnd.spotfire.dxp": ["dxp"], "application/vnd.spotfire.sfs": ["sfs"], "application/vnd.stardivision.calc": ["sdc"], "application/vnd.stardivision.draw": ["sda"], "application/vnd.stardivision.impress": ["sdd"], "application/vnd.stardivision.math": ["smf"], "application/vnd.stardivision.writer": ["sdw", "vor"], "application/vnd.stardivision.writer-global": ["sgl"], "application/vnd.stepmania.package": ["smzip"], "application/vnd.stepmania.stepchart": ["sm"], "application/vnd.sun.wadl+xml": ["wadl"], "application/vnd.sun.xml.calc": ["sxc"], "application/vnd.sun.xml.calc.template": ["stc"], "application/vnd.sun.xml.draw": ["sxd"], "application/vnd.sun.xml.draw.template": ["std"], "application/vnd.sun.xml.impress": ["sxi"], "application/vnd.sun.xml.impress.template": ["sti"], "application/vnd.sun.xml.math": ["sxm"], "application/vnd.sun.xml.writer": ["sxw"], "application/vnd.sun.xml.writer.global": ["sxg"], "application/vnd.sun.xml.writer.template": ["stw"], "application/vnd.sus-calendar": ["sus", "susp"], "application/vnd.svd": ["svd"], "application/vnd.symbian.install": ["sis", "sisx"], "application/vnd.syncml+xml": ["xsm"], "application/vnd.syncml.dm+wbxml": ["bdm"], "application/vnd.syncml.dm+xml": ["xdm"], "application/vnd.tao.intent-module-archive": ["tao"], "application/vnd.tcpdump.pcap": ["pcap", "cap", "dmp"], "application/vnd.tmobile-livetv": ["tmo"], "application/vnd.trid.tpt": ["tpt"], "application/vnd.triscape.mxs": ["mxs"], "application/vnd.trueapp": ["tra"], "application/vnd.ufdl": ["ufd", "ufdl"], "application/vnd.uiq.theme": ["utz"], "application/vnd.umajin": ["umj"], "application/vnd.unity": ["unityweb"], "application/vnd.uoml+xml": ["uoml"], "application/vnd.vcx": ["vcx"], "application/vnd.visio": ["vsd", "vst", "vss", "vsw"], "application/vnd.visionary": ["vis"], "application/vnd.vsf": ["vsf"], "application/vnd.wap.wbxml": ["wbxml"], "application/vnd.wap.wmlc": ["wmlc"], "application/vnd.wap.wmlscriptc": ["wmlsc"], "application/vnd.webturbo": ["wtb"], "application/vnd.wolfram.player": ["nbp"], "application/vnd.wordperfect": ["wpd"], "application/vnd.wqd": ["wqd"], "application/vnd.wt.stf": ["stf"], "application/vnd.xara": ["xar"], "application/vnd.xfdl": ["xfdl"], "application/vnd.yamaha.hv-dic": ["hvd"], "application/vnd.yamaha.hv-script": ["hvs"], "application/vnd.yamaha.hv-voice": ["hvp"], "application/vnd.yamaha.openscoreformat": ["osf"], "application/vnd.yamaha.openscoreformat.osfpvg+xml": ["osfpvg"], "application/vnd.yamaha.smaf-audio": ["saf"], "application/vnd.yamaha.smaf-phrase": ["spf"], "application/vnd.yellowriver-custom-menu": ["cmp"], "application/vnd.zul": ["zir", "zirz"], "application/vnd.zzazz.deck+xml": ["zaz"], "application/voicexml+xml": ["vxml"], "application/wasm": ["wasm"], "application/widget": ["wgt"], "application/winhlp": ["hlp"], "application/wsdl+xml": ["wsdl"], "application/wspolicy+xml": ["wspolicy"], "application/x-7z-compressed": ["7z"], "application/x-abiword": ["abw"], "application/x-ace-compressed": ["ace"], "application/x-apple-diskimage": [], "application/x-arj": ["arj"], "application/x-authorware-bin": ["aab", "x32", "u32", "vox"], "application/x-authorware-map": ["aam"], "application/x-authorware-seg": ["aas"], "application/x-bcpio": ["bcpio"], "application/x-bdoc": [], "application/x-bittorrent": ["torrent"], "application/x-blorb": ["blb", "blorb"], "application/x-bzip": ["bz"], "application/x-bzip2": ["bz2", "boz"], "application/x-cbr": ["cbr", "cba", "cbt", "cbz", "cb7"], "application/x-cdlink": ["vcd"], "application/x-cfs-compressed": ["cfs"], "application/x-chat": ["chat"], "application/x-chess-pgn": ["pgn"], "application/x-chrome-extension": ["crx"], "application/x-cocoa": ["cco"], "application/x-conference": ["nsc"], "application/x-cpio": ["cpio"], "application/x-csh": ["csh"], "application/x-debian-package": ["udeb"], "application/x-dgc-compressed": ["dgc"], "application/x-director": ["dir", "dcr", "dxr", "cst", "cct", "cxt", "w3d", "fgd", "swa"], "application/x-doom": ["wad"], "application/x-dtbncx+xml": ["ncx"], "application/x-dtbook+xml": ["dtb"], "application/x-dtbresource+xml": ["res"], "application/x-dvi": ["dvi"], "application/x-envoy": ["evy"], "application/x-eva": ["eva"], "application/x-font-bdf": ["bdf"], "application/x-font-ghostscript": ["gsf"], "application/x-font-linux-psf": ["psf"], "application/x-font-pcf": ["pcf"], "application/x-font-snf": ["snf"], "application/x-font-type1": ["pfa", "pfb", "pfm", "afm"], "application/x-freearc": ["arc"], "application/x-futuresplash": ["spl"], "application/x-gca-compressed": ["gca"], "application/x-glulx": ["ulx"], "application/x-gnumeric": ["gnumeric"], "application/x-gramps-xml": ["gramps"], "application/x-gtar": ["gtar"], "application/x-hdf": ["hdf"], "application/x-httpd-php": ["php"], "application/x-install-instructions": ["install"], "application/x-iso9660-image": [], "application/x-java-archive-diff": ["jardiff"], "application/x-java-jnlp-file": ["jnlp"], "application/x-latex": ["latex"], "application/x-lua-bytecode": ["luac"], "application/x-lzh-compressed": ["lzh", "lha"], "application/x-makeself": ["run"], "application/x-mie": ["mie"], "application/x-mobipocket-ebook": ["prc", "mobi"], "application/x-ms-application": ["application"], "application/x-ms-shortcut": ["lnk"], "application/x-ms-wmd": ["wmd"], "application/x-ms-wmz": ["wmz"], "application/x-ms-xbap": ["xbap"], "application/x-msaccess": ["mdb"], "application/x-msbinder": ["obd"], "application/x-mscardfile": ["crd"], "application/x-msclip": ["clp"], "application/x-msdos-program": [], "application/x-msdownload": ["com", "bat"], "application/x-msmediaview": ["mvb", "m13", "m14"], "application/x-msmetafile": ["wmf", "emf", "emz"], "application/x-msmoney": ["mny"], "application/x-mspublisher": ["pub"], "application/x-msschedule": ["scd"], "application/x-msterminal": ["trm"], "application/x-mswrite": ["wri"], "application/x-netcdf": ["nc", "cdf"], "application/x-ns-proxy-autoconfig": ["pac"], "application/x-nzb": ["nzb"], "application/x-perl": ["pl", "pm"], "application/x-pilot": [], "application/x-pkcs12": ["p12", "pfx"], "application/x-pkcs7-certificates": ["p7b", "spc"], "application/x-pkcs7-certreqresp": ["p7r"], "application/x-rar-compressed": ["rar"], "application/x-redhat-package-manager": ["rpm"], "application/x-research-info-systems": ["ris"], "application/x-sea": ["sea"], "application/x-sh": ["sh"], "application/x-shar": ["shar"], "application/x-shockwave-flash": ["swf"], "application/x-silverlight-app": ["xap"], "application/x-sql": ["sql"], "application/x-stuffit": ["sit"], "application/x-stuffitx": ["sitx"], "application/x-subrip": ["srt"], "application/x-sv4cpio": ["sv4cpio"], "application/x-sv4crc": ["sv4crc"], "application/x-t3vm-image": ["t3"], "application/x-tads": ["gam"], "application/x-tar": ["tar"], "application/x-tcl": ["tcl", "tk"], "application/x-tex": ["tex"], "application/x-tex-tfm": ["tfm"], "application/x-texinfo": ["texinfo", "texi"], "application/x-tgif": ["obj"], "application/x-ustar": ["ustar"], "application/x-virtualbox-hdd": ["hdd"], "application/x-virtualbox-ova": ["ova"], "application/x-virtualbox-ovf": ["ovf"], "application/x-virtualbox-vbox": ["vbox"], "application/x-virtualbox-vbox-extpack": ["vbox-extpack"], "application/x-virtualbox-vdi": ["vdi"], "application/x-virtualbox-vhd": ["vhd"], "application/x-virtualbox-vmdk": ["vmdk"], "application/x-wais-source": ["src"], "application/x-web-app-manifest+json": ["webapp"], "application/x-x509-ca-cert": ["der", "crt", "pem"], "application/x-xfig": ["fig"], "application/x-xliff+xml": ["xlf"], "application/x-xpinstall": ["xpi"], "application/x-xz": ["xz"], "application/x-zmachine": ["z1", "z2", "z3", "z4", "z5", "z6", "z7", "z8"], "application/xaml+xml": ["xaml"], "application/xcap-diff+xml": ["xdf"], "application/xenc+xml": ["xenc"], "application/xhtml+xml": ["xhtml", "xht"], "application/xml": ["xml", "xsl", "xsd", "rng"], "application/xml-dtd": ["dtd"], "application/xop+xml": ["xop"], "application/xproc+xml": ["xpl"], "application/xslt+xml": ["xslt"], "application/xspf+xml": ["xspf"], "application/xv+xml": ["mxml", "xhvml", "xvml", "xvm"], "application/yang": ["yang"], "application/yin+xml": ["yin"], "application/zip": ["zip"], "audio/3gpp": [], "audio/adpcm": ["adp"], "audio/basic": ["au", "snd"], "audio/midi": ["mid", "midi", "kar", "rmi"], "audio/mp3": [], "audio/mp4": ["m4a", "mp4a"], "audio/mpeg": ["mpga", "mp2", "mp2a", "mp3", "m2a", "m3a"], "audio/ogg": ["oga", "ogg", "spx"], "audio/s3m": ["s3m"], "audio/silk": ["sil"], "audio/vnd.dece.audio": ["uva", "uvva"], "audio/vnd.digital-winds": ["eol"], "audio/vnd.dra": ["dra"], "audio/vnd.dts": ["dts"], "audio/vnd.dts.hd": ["dtshd"], "audio/vnd.lucent.voice": ["lvp"], "audio/vnd.ms-playready.media.pya": ["pya"], "audio/vnd.nuera.ecelp4800": ["ecelp4800"], "audio/vnd.nuera.ecelp7470": ["ecelp7470"], "audio/vnd.nuera.ecelp9600": ["ecelp9600"], "audio/vnd.rip": ["rip"], "audio/wav": ["wav"], "audio/wave": [], "audio/webm": ["weba"], "audio/x-aac": ["aac"], "audio/x-aiff": ["aif", "aiff", "aifc"], "audio/x-caf": ["caf"], "audio/x-flac": ["flac"], "audio/x-m4a": [], "audio/x-matroska": ["mka"], "audio/x-mpegurl": ["m3u"], "audio/x-ms-wax": ["wax"], "audio/x-ms-wma": ["wma"], "audio/x-pn-realaudio": ["ram", "ra"], "audio/x-pn-realaudio-plugin": ["rmp"], "audio/x-realaudio": [], "audio/x-wav": [], "audio/xm": ["xm"], "chemical/x-cdx": ["cdx"], "chemical/x-cif": ["cif"], "chemical/x-cmdf": ["cmdf"], "chemical/x-cml": ["cml"], "chemical/x-csml": ["csml"], "chemical/x-xyz": ["xyz"], "font/collection": ["ttc"], "font/otf": ["otf"], "font/ttf": ["ttf"], "font/woff": ["woff"], "font/woff2": ["woff2"], "image/apng": ["apng"], "image/bmp": ["bmp"], "image/cgm": ["cgm"], "image/g3fax": ["g3"], "image/gif": ["gif"], "image/ief": ["ief"], "image/jp2": ["jp2", "jpg2"], "image/jpeg": ["jpeg", "jpg", "jpe"], "image/jpm": ["jpm"], "image/jpx": ["jpx", "jpf"], "image/ktx": ["ktx"], "image/png": ["png"], "image/prs.btif": ["btif"], "image/sgi": ["sgi"], "image/svg+xml": ["svg", "svgz"], "image/tiff": ["tiff", "tif"], "image/vnd.adobe.photoshop": ["psd"], "image/vnd.dece.graphic": ["uvi", "uvvi", "uvg", "uvvg"], "image/vnd.djvu": ["djvu", "djv"], "image/vnd.dvb.subtitle": [], "image/vnd.dwg": ["dwg"], "image/vnd.dxf": ["dxf"], "image/vnd.fastbidsheet": ["fbs"], "image/vnd.fpx": ["fpx"], "image/vnd.fst": ["fst"], "image/vnd.fujixerox.edmics-mmr": ["mmr"], "image/vnd.fujixerox.edmics-rlc": ["rlc"], "image/vnd.ms-modi": ["mdi"], "image/vnd.ms-photo": ["wdp"], "image/vnd.net-fpx": ["npx"], "image/vnd.wap.wbmp": ["wbmp"], "image/vnd.xiff": ["xif"], "image/webp": ["webp"], "image/x-3ds": ["3ds"], "image/x-cmu-raster": ["ras"], "image/x-cmx": ["cmx"], "image/x-freehand": ["fh", "fhc", "fh4", "fh5", "fh7"], "image/x-icon": ["ico"], "image/x-jng": ["jng"], "image/x-mrsid-image": ["sid"], "image/x-ms-bmp": [], "image/x-pcx": ["pcx"], "image/x-pict": ["pic", "pct"], "image/x-portable-anymap": ["pnm"], "image/x-portable-bitmap": ["pbm"], "image/x-portable-graymap": ["pgm"], "image/x-portable-pixmap": ["ppm"], "image/x-rgb": ["rgb"], "image/x-tga": ["tga"], "image/x-xbitmap": ["xbm"], "image/x-xpixmap": ["xpm"], "image/x-xwindowdump": ["xwd"], "message/rfc822": ["eml", "mime"], "model/gltf+json": ["gltf"], "model/gltf-binary": ["glb"], "model/iges": ["igs", "iges"], "model/mesh": ["msh", "mesh", "silo"], "model/vnd.collada+xml": ["dae"], "model/vnd.dwf": ["dwf"], "model/vnd.gdl": ["gdl"], "model/vnd.gtw": ["gtw"], "model/vnd.mts": ["mts"], "model/vnd.vtu": ["vtu"], "model/vrml": ["wrl", "vrml"], "model/x3d+binary": ["x3db", "x3dbz"], "model/x3d+vrml": ["x3dv", "x3dvz"], "model/x3d+xml": ["x3d", "x3dz"], "text/cache-manifest": ["appcache", "manifest"], "text/calendar": ["ics", "ifb"], "text/coffeescript": ["coffee", "litcoffee"], "text/css": ["css"], "text/csv": ["csv"], "text/hjson": ["hjson"], "text/html": ["html", "htm", "shtml"], "text/jade": ["jade"], "text/jsx": ["jsx"], "text/less": ["less"], "text/markdown": ["markdown", "md"], "text/mathml": ["mml"], "text/n3": ["n3"], "text/plain": ["txt", "text", "conf", "def", "list", "log", "in", "ini"], "text/prs.lines.tag": ["dsc"], "text/richtext": ["rtx"], "text/rtf": [], "text/sgml": ["sgml", "sgm"], "text/slim": ["slim", "slm"], "text/stylus": ["stylus", "styl"], "text/tab-separated-values": ["tsv"], "text/troff": ["t", "tr", "roff", "man", "me", "ms"], "text/turtle": ["ttl"], "text/uri-list": ["uri", "uris", "urls"], "text/vcard": ["vcard"], "text/vnd.curl": ["curl"], "text/vnd.curl.dcurl": ["dcurl"], "text/vnd.curl.mcurl": ["mcurl"], "text/vnd.curl.scurl": ["scurl"], "text/vnd.dvb.subtitle": ["sub"], "text/vnd.fly": ["fly"], "text/vnd.fmi.flexstor": ["flx"], "text/vnd.graphviz": ["gv"], "text/vnd.in3d.3dml": ["3dml"], "text/vnd.in3d.spot": ["spot"], "text/vnd.sun.j2me.app-descriptor": ["jad"], "text/vnd.wap.wml": ["wml"], "text/vnd.wap.wmlscript": ["wmls"], "text/vtt": ["vtt"], "text/x-asm": ["s", "asm"], "text/x-c": ["c", "cc", "cxx", "cpp", "h", "hh", "dic"], "text/x-component": ["htc"], "text/x-fortran": ["f", "for", "f77", "f90"], "text/x-handlebars-template": ["hbs"], "text/x-java-source": ["java"], "text/x-lua": ["lua"], "text/x-markdown": ["mkd"], "text/x-nfo": ["nfo"], "text/x-opml": ["opml"], "text/x-org": [], "text/x-pascal": ["p", "pas"], "text/x-processing": ["pde"], "text/x-sass": ["sass"], "text/x-scss": ["scss"], "text/x-setext": ["etx"], "text/x-sfv": ["sfv"], "text/x-suse-ymp": ["ymp"], "text/x-uuencode": ["uu"], "text/x-vcalendar": ["vcs"], "text/x-vcard": ["vcf"], "text/xml": [], "text/yaml": ["yaml", "yml"], "video/3gpp": ["3gp", "3gpp"], "video/3gpp2": ["3g2"], "video/h261": ["h261"], "video/h263": ["h263"], "video/h264": ["h264"], "video/jpeg": ["jpgv"], "video/jpm": ["jpgm"], "video/mj2": ["mj2", "mjp2"], "video/mp2t": ["ts"], "video/mp4": ["mp4", "mp4v", "mpg4"], "video/mpeg": ["mpeg", "mpg", "mpe", "m1v", "m2v"], "video/ogg": ["ogv"], "video/quicktime": ["qt", "mov"], "video/vnd.dece.hd": ["uvh", "uvvh"], "video/vnd.dece.mobile": ["uvm", "uvvm"], "video/vnd.dece.pd": ["uvp", "uvvp"], "video/vnd.dece.sd": ["uvs", "uvvs"], "video/vnd.dece.video": ["uvv", "uvvv"], "video/vnd.dvb.file": ["dvb"], "video/vnd.fvt": ["fvt"], "video/vnd.mpegurl": ["mxu", "m4u"], "video/vnd.ms-playready.media.pyv": ["pyv"], "video/vnd.uvvu.mp4": ["uvu", "uvvu"], "video/vnd.vivo": ["viv"], "video/webm": ["webm"], "video/x-f4v": ["f4v"], "video/x-fli": ["fli"], "video/x-flv": ["flv"], "video/x-m4v": ["m4v"], "video/x-matroska": ["mkv", "mk3d", "mks"], "video/x-mng": ["mng"], "video/x-ms-asf": ["asf", "asx"], "video/x-ms-vob": ["vob"], "video/x-ms-wm": ["wm"], "video/x-ms-wmv": ["wmv"], "video/x-ms-wmx": ["wmx"], "video/x-ms-wvx": ["wvx"], "video/x-msvideo": ["avi"], "video/x-sgi-movie": ["movie"], "video/x-smv": ["smv"], "x-conference/x-cooltalk": ["ice"] };
78408
- }
78409
- });
78410
- var require_mime = __commonJS2({
78411
- "node_modules/mime/mime.js"(exports2, module2) {
78412
- "use strict";
78413
- var path52 = __require2("path");
78414
- var fs72 = __require2("fs");
78415
- function Mime() {
78416
- this.types = /* @__PURE__ */ Object.create(null);
78417
- this.extensions = /* @__PURE__ */ Object.create(null);
78418
- }
78419
- Mime.prototype.define = function(map4) {
78420
- for (var type in map4) {
78421
- var exts = map4[type];
78422
- for (var i2 = 0; i2 < exts.length; i2++) {
78423
- if (process.env.DEBUG_MIME && this.types[exts[i2]]) {
78424
- console.warn((this._loading || "define()").replace(/.*\//, ""), 'changes "' + exts[i2] + '" extension type from ' + this.types[exts[i2]] + " to " + type);
78425
- }
78426
- this.types[exts[i2]] = type;
78427
- }
78428
- if (!this.extensions[type]) {
78429
- this.extensions[type] = exts[0];
78430
- }
78431
- }
78432
- };
78433
- Mime.prototype.load = function(file) {
78434
- this._loading = file;
78435
- var map4 = {}, content = fs72.readFileSync(file, "ascii"), lines = content.split(/[\r\n]+/);
78436
- lines.forEach(function(line) {
78437
- var fields = line.replace(/\s*#.*|^\s*|\s*$/g, "").split(/\s+/);
78438
- map4[fields.shift()] = fields;
78439
- });
78440
- this.define(map4);
78441
- this._loading = null;
78442
- };
78443
- Mime.prototype.lookup = function(path62, fallback) {
78444
- var ext = path62.replace(/^.*[\.\/\\]/, "").toLowerCase();
78445
- return this.types[ext] || fallback || this.default_type;
78446
- };
78447
- Mime.prototype.extension = function(mimeType) {
78448
- var type = mimeType.match(/^\s*([^;\s]*)(?:;|\s|$)/)[1].toLowerCase();
78449
- return this.extensions[type];
78450
- };
78451
- var mime = new Mime();
78452
- mime.define(require_types());
78453
- mime.default_type = mime.lookup("bin");
78454
- mime.Mime = Mime;
78455
- mime.charsets = {
78456
- lookup: function(mimeType, fallback) {
78457
- return /^text\/|^application\/(javascript|json)/.test(mimeType) ? "UTF-8" : fallback;
78458
- }
78459
- };
78460
- module2.exports = mime;
78461
- }
78462
- });
78463
- var require_ms7 = __commonJS2({
78464
- "node_modules/send/node_modules/ms/index.js"(exports2, module2) {
78465
- "use strict";
78466
- var s4 = 1e3;
78467
- var m2 = s4 * 60;
78468
- var h2 = m2 * 60;
78469
- var d2 = h2 * 24;
78470
- var w2 = d2 * 7;
78471
- var y2 = d2 * 365.25;
78472
- module2.exports = function(val, options2) {
78473
- options2 = options2 || {};
78474
- var type = typeof val;
78475
- if (type === "string" && val.length > 0) {
78476
- return parse7(val);
78477
- } else if (type === "number" && isFinite(val)) {
78478
- return options2.long ? fmtLong2(val) : fmtShort2(val);
78479
- }
78480
- throw new Error(
78481
- "val is not a non-empty string or a valid number. val=" + JSON.stringify(val)
78482
- );
78483
- };
78484
- function parse7(str2) {
78485
- str2 = String(str2);
78486
- if (str2.length > 100) {
78487
- return;
78488
- }
78489
- var match2 = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(
78490
- str2
78491
- );
78492
- if (!match2) {
78493
- return;
78494
- }
78495
- var n = parseFloat(match2[1]);
78496
- var type = (match2[2] || "ms").toLowerCase();
78497
- switch (type) {
78498
- case "years":
78499
- case "year":
78500
- case "yrs":
78501
- case "yr":
78502
- case "y":
78503
- return n * y2;
78504
- case "weeks":
78505
- case "week":
78506
- case "w":
78507
- return n * w2;
78508
- case "days":
78509
- case "day":
78510
- case "d":
78511
- return n * d2;
78512
- case "hours":
78513
- case "hour":
78514
- case "hrs":
78515
- case "hr":
78516
- case "h":
78517
- return n * h2;
78518
- case "minutes":
78519
- case "minute":
78520
- case "mins":
78521
- case "min":
78522
- case "m":
78523
- return n * m2;
78524
- case "seconds":
78525
- case "second":
78526
- case "secs":
78527
- case "sec":
78528
- case "s":
78529
- return n * s4;
78530
- case "milliseconds":
78531
- case "millisecond":
78532
- case "msecs":
78533
- case "msec":
78534
- case "ms":
78535
- return n;
78536
- default:
78537
- return void 0;
78538
- }
78539
- }
78540
- function fmtShort2(ms2) {
78541
- var msAbs = Math.abs(ms2);
78542
- if (msAbs >= d2) {
76612
+ if (ms2 >= d2) {
78543
76613
  return Math.round(ms2 / d2) + "d";
78544
76614
  }
78545
- if (msAbs >= h2) {
76615
+ if (ms2 >= h2) {
78546
76616
  return Math.round(ms2 / h2) + "h";
78547
76617
  }
78548
- if (msAbs >= m2) {
76618
+ if (ms2 >= m2) {
78549
76619
  return Math.round(ms2 / m2) + "m";
78550
76620
  }
78551
- if (msAbs >= s4) {
76621
+ if (ms2 >= s4) {
78552
76622
  return Math.round(ms2 / s4) + "s";
78553
76623
  }
78554
76624
  return ms2 + "ms";
78555
76625
  }
78556
76626
  function fmtLong2(ms2) {
78557
- var msAbs = Math.abs(ms2);
78558
- if (msAbs >= d2) {
78559
- return plural2(ms2, msAbs, d2, "day");
76627
+ return plural2(ms2, d2, "day") || plural2(ms2, h2, "hour") || plural2(ms2, m2, "minute") || plural2(ms2, s4, "second") || ms2 + " ms";
76628
+ }
76629
+ function plural2(ms2, n, name) {
76630
+ if (ms2 < n) {
76631
+ return;
78560
76632
  }
78561
- if (msAbs >= h2) {
78562
- return plural2(ms2, msAbs, h2, "hour");
76633
+ if (ms2 < n * 1.5) {
76634
+ return Math.floor(ms2 / n) + " " + name;
78563
76635
  }
78564
- if (msAbs >= m2) {
78565
- return plural2(ms2, msAbs, m2, "minute");
76636
+ return Math.ceil(ms2 / n) + " " + name + "s";
76637
+ }
76638
+ }
76639
+ });
76640
+ var require_debug6 = __commonJS2({
76641
+ "node_modules/send/node_modules/debug/src/debug.js"(exports2, module2) {
76642
+ "use strict";
76643
+ exports2 = module2.exports = createDebug.debug = createDebug["default"] = createDebug;
76644
+ exports2.coerce = coerce;
76645
+ exports2.disable = disable;
76646
+ exports2.enable = enable;
76647
+ exports2.enabled = enabled;
76648
+ exports2.humanize = require_ms6();
76649
+ exports2.names = [];
76650
+ exports2.skips = [];
76651
+ exports2.formatters = {};
76652
+ var prevTime;
76653
+ function selectColor(namespace2) {
76654
+ var hash = 0, i2;
76655
+ for (i2 in namespace2) {
76656
+ hash = (hash << 5) - hash + namespace2.charCodeAt(i2);
76657
+ hash |= 0;
78566
76658
  }
78567
- if (msAbs >= s4) {
78568
- return plural2(ms2, msAbs, s4, "second");
76659
+ return exports2.colors[Math.abs(hash) % exports2.colors.length];
76660
+ }
76661
+ function createDebug(namespace2) {
76662
+ function debug22() {
76663
+ if (!debug22.enabled) return;
76664
+ var self2 = debug22;
76665
+ var curr = +/* @__PURE__ */ new Date();
76666
+ var ms2 = curr - (prevTime || curr);
76667
+ self2.diff = ms2;
76668
+ self2.prev = prevTime;
76669
+ self2.curr = curr;
76670
+ prevTime = curr;
76671
+ var args = new Array(arguments.length);
76672
+ for (var i2 = 0; i2 < args.length; i2++) {
76673
+ args[i2] = arguments[i2];
76674
+ }
76675
+ args[0] = exports2.coerce(args[0]);
76676
+ if ("string" !== typeof args[0]) {
76677
+ args.unshift("%O");
76678
+ }
76679
+ var index2 = 0;
76680
+ args[0] = args[0].replace(/%([a-zA-Z%])/g, function(match2, format) {
76681
+ if (match2 === "%%") return match2;
76682
+ index2++;
76683
+ var formatter = exports2.formatters[format];
76684
+ if ("function" === typeof formatter) {
76685
+ var val = args[index2];
76686
+ match2 = formatter.call(self2, val);
76687
+ args.splice(index2, 1);
76688
+ index2--;
76689
+ }
76690
+ return match2;
76691
+ });
76692
+ exports2.formatArgs.call(self2, args);
76693
+ var logFn = debug22.log || exports2.log || console.log.bind(console);
76694
+ logFn.apply(self2, args);
78569
76695
  }
78570
- return ms2 + " ms";
76696
+ debug22.namespace = namespace2;
76697
+ debug22.enabled = exports2.enabled(namespace2);
76698
+ debug22.useColors = exports2.useColors();
76699
+ debug22.color = selectColor(namespace2);
76700
+ if ("function" === typeof exports2.init) {
76701
+ exports2.init(debug22);
76702
+ }
76703
+ return debug22;
78571
76704
  }
78572
- function plural2(ms2, msAbs, n, name) {
78573
- var isPlural = msAbs >= n * 1.5;
78574
- return Math.round(ms2 / n) + " " + name + (isPlural ? "s" : "");
76705
+ function enable(namespaces) {
76706
+ exports2.save(namespaces);
76707
+ exports2.names = [];
76708
+ exports2.skips = [];
76709
+ var split = (typeof namespaces === "string" ? namespaces : "").split(/[\s,]+/);
76710
+ var len = split.length;
76711
+ for (var i2 = 0; i2 < len; i2++) {
76712
+ if (!split[i2]) continue;
76713
+ namespaces = split[i2].replace(/\*/g, ".*?");
76714
+ if (namespaces[0] === "-") {
76715
+ exports2.skips.push(new RegExp("^" + namespaces.substr(1) + "$"));
76716
+ } else {
76717
+ exports2.names.push(new RegExp("^" + namespaces + "$"));
76718
+ }
76719
+ }
76720
+ }
76721
+ function disable() {
76722
+ exports2.enable("");
76723
+ }
76724
+ function enabled(name) {
76725
+ var i2, len;
76726
+ for (i2 = 0, len = exports2.skips.length; i2 < len; i2++) {
76727
+ if (exports2.skips[i2].test(name)) {
76728
+ return false;
76729
+ }
76730
+ }
76731
+ for (i2 = 0, len = exports2.names.length; i2 < len; i2++) {
76732
+ if (exports2.names[i2].test(name)) {
76733
+ return true;
76734
+ }
76735
+ }
76736
+ return false;
76737
+ }
76738
+ function coerce(val) {
76739
+ if (val instanceof Error) return val.stack || val.message;
76740
+ return val;
76741
+ }
76742
+ }
76743
+ });
76744
+ var require_browser6 = __commonJS2({
76745
+ "node_modules/send/node_modules/debug/src/browser.js"(exports2, module2) {
76746
+ "use strict";
76747
+ exports2 = module2.exports = require_debug6();
76748
+ exports2.log = log;
76749
+ exports2.formatArgs = formatArgs;
76750
+ exports2.save = save;
76751
+ exports2.load = load;
76752
+ exports2.useColors = useColors;
76753
+ exports2.storage = "undefined" != typeof chrome && "undefined" != typeof chrome.storage ? chrome.storage.local : localstorage();
76754
+ exports2.colors = [
76755
+ "lightseagreen",
76756
+ "forestgreen",
76757
+ "goldenrod",
76758
+ "dodgerblue",
76759
+ "darkorchid",
76760
+ "crimson"
76761
+ ];
76762
+ function useColors() {
76763
+ if (typeof window !== "undefined" && window.process && window.process.type === "renderer") {
76764
+ return true;
76765
+ }
76766
+ return typeof document !== "undefined" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || // is firebug? http://stackoverflow.com/a/398120/376773
76767
+ typeof window !== "undefined" && window.console && (window.console.firebug || window.console.exception && window.console.table) || // is firefox >= v31?
76768
+ // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
76769
+ typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31 || // double check webkit in userAgent just in case we are in a worker
76770
+ typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
76771
+ }
76772
+ exports2.formatters.j = function(v) {
76773
+ try {
76774
+ return JSON.stringify(v);
76775
+ } catch (err) {
76776
+ return "[UnexpectedJSONParseError]: " + err.message;
76777
+ }
76778
+ };
76779
+ function formatArgs(args) {
76780
+ var useColors2 = this.useColors;
76781
+ args[0] = (useColors2 ? "%c" : "") + this.namespace + (useColors2 ? " %c" : " ") + args[0] + (useColors2 ? "%c " : " ") + "+" + exports2.humanize(this.diff);
76782
+ if (!useColors2) return;
76783
+ var c = "color: " + this.color;
76784
+ args.splice(1, 0, c, "color: inherit");
76785
+ var index2 = 0;
76786
+ var lastC = 0;
76787
+ args[0].replace(/%[a-zA-Z%]/g, function(match2) {
76788
+ if ("%%" === match2) return;
76789
+ index2++;
76790
+ if ("%c" === match2) {
76791
+ lastC = index2;
76792
+ }
76793
+ });
76794
+ args.splice(lastC, 0, c);
76795
+ }
76796
+ function log() {
76797
+ return "object" === typeof console && console.log && Function.prototype.apply.call(console.log, console, arguments);
76798
+ }
76799
+ function save(namespaces) {
76800
+ try {
76801
+ if (null == namespaces) {
76802
+ exports2.storage.removeItem("debug");
76803
+ } else {
76804
+ exports2.storage.debug = namespaces;
76805
+ }
76806
+ } catch (e) {
76807
+ }
76808
+ }
76809
+ function load() {
76810
+ var r;
76811
+ try {
76812
+ r = exports2.storage.debug;
76813
+ } catch (e) {
76814
+ }
76815
+ if (!r && typeof process !== "undefined" && "env" in process) {
76816
+ r = process.env.DEBUG;
76817
+ }
76818
+ return r;
76819
+ }
76820
+ exports2.enable(load());
76821
+ function localstorage() {
76822
+ try {
76823
+ return window.localStorage;
76824
+ } catch (e) {
76825
+ }
78575
76826
  }
78576
76827
  }
78577
76828
  });
76829
+ var require_node6 = __commonJS2({
76830
+ "node_modules/send/node_modules/debug/src/node.js"(exports2, module2) {
76831
+ "use strict";
76832
+ var tty2 = __require2("tty");
76833
+ var util46 = __require2("util");
76834
+ exports2 = module2.exports = require_debug6();
76835
+ exports2.init = init;
76836
+ exports2.log = log;
76837
+ exports2.formatArgs = formatArgs;
76838
+ exports2.save = save;
76839
+ exports2.load = load;
76840
+ exports2.useColors = useColors;
76841
+ exports2.colors = [6, 2, 3, 4, 5, 1];
76842
+ exports2.inspectOpts = Object.keys(process.env).filter(function(key) {
76843
+ return /^debug_/i.test(key);
76844
+ }).reduce(function(obj, key) {
76845
+ var prop = key.substring(6).toLowerCase().replace(/_([a-z])/g, function(_, k2) {
76846
+ return k2.toUpperCase();
76847
+ });
76848
+ var val = process.env[key];
76849
+ if (/^(yes|on|true|enabled)$/i.test(val)) val = true;
76850
+ else if (/^(no|off|false|disabled)$/i.test(val)) val = false;
76851
+ else if (val === "null") val = null;
76852
+ else val = Number(val);
76853
+ obj[prop] = val;
76854
+ return obj;
76855
+ }, {});
76856
+ var fd = parseInt(process.env.DEBUG_FD, 10) || 2;
76857
+ if (1 !== fd && 2 !== fd) {
76858
+ util46.deprecate(function() {
76859
+ }, "except for stderr(2) and stdout(1), any other usage of DEBUG_FD is deprecated. Override debug.log if you want to use a different log function (https://git.io/debug_fd)")();
76860
+ }
76861
+ var stream4 = 1 === fd ? process.stdout : 2 === fd ? process.stderr : createWritableStdioStream(fd);
76862
+ function useColors() {
76863
+ return "colors" in exports2.inspectOpts ? Boolean(exports2.inspectOpts.colors) : tty2.isatty(fd);
76864
+ }
76865
+ exports2.formatters.o = function(v) {
76866
+ this.inspectOpts.colors = this.useColors;
76867
+ return util46.inspect(v, this.inspectOpts).split("\n").map(function(str2) {
76868
+ return str2.trim();
76869
+ }).join(" ");
76870
+ };
76871
+ exports2.formatters.O = function(v) {
76872
+ this.inspectOpts.colors = this.useColors;
76873
+ return util46.inspect(v, this.inspectOpts);
76874
+ };
76875
+ function formatArgs(args) {
76876
+ var name = this.namespace;
76877
+ var useColors2 = this.useColors;
76878
+ if (useColors2) {
76879
+ var c = this.color;
76880
+ var prefix = " \x1B[3" + c + ";1m" + name + " \x1B[0m";
76881
+ args[0] = prefix + args[0].split("\n").join("\n" + prefix);
76882
+ args.push("\x1B[3" + c + "m+" + exports2.humanize(this.diff) + "\x1B[0m");
76883
+ } else {
76884
+ args[0] = (/* @__PURE__ */ new Date()).toUTCString() + " " + name + " " + args[0];
76885
+ }
76886
+ }
76887
+ function log() {
76888
+ return stream4.write(util46.format.apply(util46, arguments) + "\n");
76889
+ }
76890
+ function save(namespaces) {
76891
+ if (null == namespaces) {
76892
+ delete process.env.DEBUG;
76893
+ } else {
76894
+ process.env.DEBUG = namespaces;
76895
+ }
76896
+ }
76897
+ function load() {
76898
+ return process.env.DEBUG;
76899
+ }
76900
+ function createWritableStdioStream(fd2) {
76901
+ var stream5;
76902
+ var tty_wrap = process.binding("tty_wrap");
76903
+ switch (tty_wrap.guessHandleType(fd2)) {
76904
+ case "TTY":
76905
+ stream5 = new tty2.WriteStream(fd2);
76906
+ stream5._type = "tty";
76907
+ if (stream5._handle && stream5._handle.unref) {
76908
+ stream5._handle.unref();
76909
+ }
76910
+ break;
76911
+ case "FILE":
76912
+ var fs72 = __require2("fs");
76913
+ stream5 = new fs72.SyncWriteStream(fd2, { autoClose: false });
76914
+ stream5._type = "fs";
76915
+ break;
76916
+ case "PIPE":
76917
+ case "TCP":
76918
+ var net = __require2("net");
76919
+ stream5 = new net.Socket({
76920
+ fd: fd2,
76921
+ readable: false,
76922
+ writable: true
76923
+ });
76924
+ stream5.readable = false;
76925
+ stream5.read = null;
76926
+ stream5._type = "pipe";
76927
+ if (stream5._handle && stream5._handle.unref) {
76928
+ stream5._handle.unref();
76929
+ }
76930
+ break;
76931
+ default:
76932
+ throw new Error("Implement me. Unknown stream file type!");
76933
+ }
76934
+ stream5.fd = fd2;
76935
+ stream5._isStdio = true;
76936
+ return stream5;
76937
+ }
76938
+ function init(debug22) {
76939
+ debug22.inspectOpts = {};
76940
+ var keys13 = Object.keys(exports2.inspectOpts);
76941
+ for (var i2 = 0; i2 < keys13.length; i2++) {
76942
+ debug22.inspectOpts[keys13[i2]] = exports2.inspectOpts[keys13[i2]];
76943
+ }
76944
+ }
76945
+ exports2.enable(load());
76946
+ }
76947
+ });
76948
+ var require_src6 = __commonJS2({
76949
+ "node_modules/send/node_modules/debug/src/index.js"(exports2, module2) {
76950
+ "use strict";
76951
+ if (typeof process !== "undefined" && process.type === "renderer") {
76952
+ module2.exports = require_browser6();
76953
+ } else {
76954
+ module2.exports = require_node6();
76955
+ }
76956
+ }
76957
+ });
76958
+ var require_encodeurl2 = __commonJS2({
76959
+ "node_modules/send/node_modules/encodeurl/index.js"(exports2, module2) {
76960
+ "use strict";
76961
+ module2.exports = encodeUrl;
76962
+ var ENCODE_CHARS_REGEXP = /(?:[^\x21\x25\x26-\x3B\x3D\x3F-\x5B\x5D\x5F\x61-\x7A\x7E]|%(?:[^0-9A-Fa-f]|[0-9A-Fa-f][^0-9A-Fa-f]|$))+/g;
76963
+ var UNMATCHED_SURROGATE_PAIR_REGEXP = /(^|[^\uD800-\uDBFF])[\uDC00-\uDFFF]|[\uD800-\uDBFF]([^\uDC00-\uDFFF]|$)/g;
76964
+ var UNMATCHED_SURROGATE_PAIR_REPLACE = "$1\uFFFD$2";
76965
+ function encodeUrl(url5) {
76966
+ return String(url5).replace(UNMATCHED_SURROGATE_PAIR_REGEXP, UNMATCHED_SURROGATE_PAIR_REPLACE).replace(ENCODE_CHARS_REGEXP, encodeURI);
76967
+ }
76968
+ }
76969
+ });
76970
+ var require_etag = __commonJS2({
76971
+ "node_modules/etag/index.js"(exports2, module2) {
76972
+ "use strict";
76973
+ module2.exports = etag;
76974
+ var crypto102 = __require2("crypto");
76975
+ var Stats = __require2("fs").Stats;
76976
+ var toString9 = Object.prototype.toString;
76977
+ function entitytag(entity) {
76978
+ if (entity.length === 0) {
76979
+ return '"0-2jmj7l5rSw0yVb/vlWAYkK/YBwk"';
76980
+ }
76981
+ var hash = crypto102.createHash("sha1").update(entity, "utf8").digest("base64").substring(0, 27);
76982
+ var len = typeof entity === "string" ? Buffer.byteLength(entity, "utf8") : entity.length;
76983
+ return '"' + len.toString(16) + "-" + hash + '"';
76984
+ }
76985
+ function etag(entity, options2) {
76986
+ if (entity == null) {
76987
+ throw new TypeError("argument entity is required");
76988
+ }
76989
+ var isStats = isstats(entity);
76990
+ var weak = options2 && typeof options2.weak === "boolean" ? options2.weak : isStats;
76991
+ if (!isStats && typeof entity !== "string" && !Buffer.isBuffer(entity)) {
76992
+ throw new TypeError("argument entity must be string, Buffer, or fs.Stats");
76993
+ }
76994
+ var tag = isStats ? stattag(entity) : entitytag(entity);
76995
+ return weak ? "W/" + tag : tag;
76996
+ }
76997
+ function isstats(obj) {
76998
+ if (typeof Stats === "function" && obj instanceof Stats) {
76999
+ return true;
77000
+ }
77001
+ return obj && typeof obj === "object" && "ctime" in obj && toString9.call(obj.ctime) === "[object Date]" && "mtime" in obj && toString9.call(obj.mtime) === "[object Date]" && "ino" in obj && typeof obj.ino === "number" && "size" in obj && typeof obj.size === "number";
77002
+ }
77003
+ function stattag(stat) {
77004
+ var mtime = stat.mtime.getTime().toString(16);
77005
+ var size = stat.size.toString(16);
77006
+ return '"' + size + "-" + mtime + '"';
77007
+ }
77008
+ }
77009
+ });
77010
+ var require_fresh = __commonJS2({
77011
+ "node_modules/fresh/index.js"(exports2, module2) {
77012
+ "use strict";
77013
+ var CACHE_CONTROL_NO_CACHE_REGEXP = /(?:^|,)\s*?no-cache\s*?(?:,|$)/;
77014
+ module2.exports = fresh;
77015
+ function fresh(reqHeaders, resHeaders) {
77016
+ var modifiedSince = reqHeaders["if-modified-since"];
77017
+ var noneMatch = reqHeaders["if-none-match"];
77018
+ if (!modifiedSince && !noneMatch) {
77019
+ return false;
77020
+ }
77021
+ var cacheControl = reqHeaders["cache-control"];
77022
+ if (cacheControl && CACHE_CONTROL_NO_CACHE_REGEXP.test(cacheControl)) {
77023
+ return false;
77024
+ }
77025
+ if (noneMatch && noneMatch !== "*") {
77026
+ var etag = resHeaders["etag"];
77027
+ if (!etag) {
77028
+ return false;
77029
+ }
77030
+ var etagStale = true;
77031
+ var matches = parseTokenList(noneMatch);
77032
+ for (var i2 = 0; i2 < matches.length; i2++) {
77033
+ var match2 = matches[i2];
77034
+ if (match2 === etag || match2 === "W/" + etag || "W/" + match2 === etag) {
77035
+ etagStale = false;
77036
+ break;
77037
+ }
77038
+ }
77039
+ if (etagStale) {
77040
+ return false;
77041
+ }
77042
+ }
77043
+ if (modifiedSince) {
77044
+ var lastModified = resHeaders["last-modified"];
77045
+ var modifiedStale = !lastModified || !(parseHttpDate(lastModified) <= parseHttpDate(modifiedSince));
77046
+ if (modifiedStale) {
77047
+ return false;
77048
+ }
77049
+ }
77050
+ return true;
77051
+ }
77052
+ function parseHttpDate(date) {
77053
+ var timestamp2 = date && Date.parse(date);
77054
+ return typeof timestamp2 === "number" ? timestamp2 : NaN;
77055
+ }
77056
+ function parseTokenList(str2) {
77057
+ var end = 0;
77058
+ var list = [];
77059
+ var start = 0;
77060
+ for (var i2 = 0, len = str2.length; i2 < len; i2++) {
77061
+ switch (str2.charCodeAt(i2)) {
77062
+ case 32:
77063
+ if (start === end) {
77064
+ start = end = i2 + 1;
77065
+ }
77066
+ break;
77067
+ case 44:
77068
+ list.push(str2.substring(start, end));
77069
+ start = end = i2 + 1;
77070
+ break;
77071
+ default:
77072
+ end = i2 + 1;
77073
+ break;
77074
+ }
77075
+ }
77076
+ list.push(str2.substring(start, end));
77077
+ return list;
77078
+ }
77079
+ }
77080
+ });
77081
+ var require_types = __commonJS2({
77082
+ "node_modules/mime/types.json"(exports2, module2) {
77083
+ module2.exports = { "application/andrew-inset": ["ez"], "application/applixware": ["aw"], "application/atom+xml": ["atom"], "application/atomcat+xml": ["atomcat"], "application/atomsvc+xml": ["atomsvc"], "application/bdoc": ["bdoc"], "application/ccxml+xml": ["ccxml"], "application/cdmi-capability": ["cdmia"], "application/cdmi-container": ["cdmic"], "application/cdmi-domain": ["cdmid"], "application/cdmi-object": ["cdmio"], "application/cdmi-queue": ["cdmiq"], "application/cu-seeme": ["cu"], "application/dash+xml": ["mpd"], "application/davmount+xml": ["davmount"], "application/docbook+xml": ["dbk"], "application/dssc+der": ["dssc"], "application/dssc+xml": ["xdssc"], "application/ecmascript": ["ecma"], "application/emma+xml": ["emma"], "application/epub+zip": ["epub"], "application/exi": ["exi"], "application/font-tdpfr": ["pfr"], "application/font-woff": [], "application/font-woff2": [], "application/geo+json": ["geojson"], "application/gml+xml": ["gml"], "application/gpx+xml": ["gpx"], "application/gxf": ["gxf"], "application/gzip": ["gz"], "application/hyperstudio": ["stk"], "application/inkml+xml": ["ink", "inkml"], "application/ipfix": ["ipfix"], "application/java-archive": ["jar", "war", "ear"], "application/java-serialized-object": ["ser"], "application/java-vm": ["class"], "application/javascript": ["js", "mjs"], "application/json": ["json", "map"], "application/json5": ["json5"], "application/jsonml+json": ["jsonml"], "application/ld+json": ["jsonld"], "application/lost+xml": ["lostxml"], "application/mac-binhex40": ["hqx"], "application/mac-compactpro": ["cpt"], "application/mads+xml": ["mads"], "application/manifest+json": ["webmanifest"], "application/marc": ["mrc"], "application/marcxml+xml": ["mrcx"], "application/mathematica": ["ma", "nb", "mb"], "application/mathml+xml": ["mathml"], "application/mbox": ["mbox"], "application/mediaservercontrol+xml": ["mscml"], "application/metalink+xml": ["metalink"], "application/metalink4+xml": ["meta4"], "application/mets+xml": ["mets"], "application/mods+xml": ["mods"], "application/mp21": ["m21", "mp21"], "application/mp4": ["mp4s", "m4p"], "application/msword": ["doc", "dot"], "application/mxf": ["mxf"], "application/octet-stream": ["bin", "dms", "lrf", "mar", "so", "dist", "distz", "pkg", "bpk", "dump", "elc", "deploy", "exe", "dll", "deb", "dmg", "iso", "img", "msi", "msp", "msm", "buffer"], "application/oda": ["oda"], "application/oebps-package+xml": ["opf"], "application/ogg": ["ogx"], "application/omdoc+xml": ["omdoc"], "application/onenote": ["onetoc", "onetoc2", "onetmp", "onepkg"], "application/oxps": ["oxps"], "application/patch-ops-error+xml": ["xer"], "application/pdf": ["pdf"], "application/pgp-encrypted": ["pgp"], "application/pgp-signature": ["asc", "sig"], "application/pics-rules": ["prf"], "application/pkcs10": ["p10"], "application/pkcs7-mime": ["p7m", "p7c"], "application/pkcs7-signature": ["p7s"], "application/pkcs8": ["p8"], "application/pkix-attr-cert": ["ac"], "application/pkix-cert": ["cer"], "application/pkix-crl": ["crl"], "application/pkix-pkipath": ["pkipath"], "application/pkixcmp": ["pki"], "application/pls+xml": ["pls"], "application/postscript": ["ai", "eps", "ps"], "application/prs.cww": ["cww"], "application/pskc+xml": ["pskcxml"], "application/raml+yaml": ["raml"], "application/rdf+xml": ["rdf"], "application/reginfo+xml": ["rif"], "application/relax-ng-compact-syntax": ["rnc"], "application/resource-lists+xml": ["rl"], "application/resource-lists-diff+xml": ["rld"], "application/rls-services+xml": ["rs"], "application/rpki-ghostbusters": ["gbr"], "application/rpki-manifest": ["mft"], "application/rpki-roa": ["roa"], "application/rsd+xml": ["rsd"], "application/rss+xml": ["rss"], "application/rtf": ["rtf"], "application/sbml+xml": ["sbml"], "application/scvp-cv-request": ["scq"], "application/scvp-cv-response": ["scs"], "application/scvp-vp-request": ["spq"], "application/scvp-vp-response": ["spp"], "application/sdp": ["sdp"], "application/set-payment-initiation": ["setpay"], "application/set-registration-initiation": ["setreg"], "application/shf+xml": ["shf"], "application/smil+xml": ["smi", "smil"], "application/sparql-query": ["rq"], "application/sparql-results+xml": ["srx"], "application/srgs": ["gram"], "application/srgs+xml": ["grxml"], "application/sru+xml": ["sru"], "application/ssdl+xml": ["ssdl"], "application/ssml+xml": ["ssml"], "application/tei+xml": ["tei", "teicorpus"], "application/thraud+xml": ["tfi"], "application/timestamped-data": ["tsd"], "application/vnd.3gpp.pic-bw-large": ["plb"], "application/vnd.3gpp.pic-bw-small": ["psb"], "application/vnd.3gpp.pic-bw-var": ["pvb"], "application/vnd.3gpp2.tcap": ["tcap"], "application/vnd.3m.post-it-notes": ["pwn"], "application/vnd.accpac.simply.aso": ["aso"], "application/vnd.accpac.simply.imp": ["imp"], "application/vnd.acucobol": ["acu"], "application/vnd.acucorp": ["atc", "acutc"], "application/vnd.adobe.air-application-installer-package+zip": ["air"], "application/vnd.adobe.formscentral.fcdt": ["fcdt"], "application/vnd.adobe.fxp": ["fxp", "fxpl"], "application/vnd.adobe.xdp+xml": ["xdp"], "application/vnd.adobe.xfdf": ["xfdf"], "application/vnd.ahead.space": ["ahead"], "application/vnd.airzip.filesecure.azf": ["azf"], "application/vnd.airzip.filesecure.azs": ["azs"], "application/vnd.amazon.ebook": ["azw"], "application/vnd.americandynamics.acc": ["acc"], "application/vnd.amiga.ami": ["ami"], "application/vnd.android.package-archive": ["apk"], "application/vnd.anser-web-certificate-issue-initiation": ["cii"], "application/vnd.anser-web-funds-transfer-initiation": ["fti"], "application/vnd.antix.game-component": ["atx"], "application/vnd.apple.installer+xml": ["mpkg"], "application/vnd.apple.mpegurl": ["m3u8"], "application/vnd.apple.pkpass": ["pkpass"], "application/vnd.aristanetworks.swi": ["swi"], "application/vnd.astraea-software.iota": ["iota"], "application/vnd.audiograph": ["aep"], "application/vnd.blueice.multipass": ["mpm"], "application/vnd.bmi": ["bmi"], "application/vnd.businessobjects": ["rep"], "application/vnd.chemdraw+xml": ["cdxml"], "application/vnd.chipnuts.karaoke-mmd": ["mmd"], "application/vnd.cinderella": ["cdy"], "application/vnd.claymore": ["cla"], "application/vnd.cloanto.rp9": ["rp9"], "application/vnd.clonk.c4group": ["c4g", "c4d", "c4f", "c4p", "c4u"], "application/vnd.cluetrust.cartomobile-config": ["c11amc"], "application/vnd.cluetrust.cartomobile-config-pkg": ["c11amz"], "application/vnd.commonspace": ["csp"], "application/vnd.contact.cmsg": ["cdbcmsg"], "application/vnd.cosmocaller": ["cmc"], "application/vnd.crick.clicker": ["clkx"], "application/vnd.crick.clicker.keyboard": ["clkk"], "application/vnd.crick.clicker.palette": ["clkp"], "application/vnd.crick.clicker.template": ["clkt"], "application/vnd.crick.clicker.wordbank": ["clkw"], "application/vnd.criticaltools.wbs+xml": ["wbs"], "application/vnd.ctc-posml": ["pml"], "application/vnd.cups-ppd": ["ppd"], "application/vnd.curl.car": ["car"], "application/vnd.curl.pcurl": ["pcurl"], "application/vnd.dart": ["dart"], "application/vnd.data-vision.rdz": ["rdz"], "application/vnd.dece.data": ["uvf", "uvvf", "uvd", "uvvd"], "application/vnd.dece.ttml+xml": ["uvt", "uvvt"], "application/vnd.dece.unspecified": ["uvx", "uvvx"], "application/vnd.dece.zip": ["uvz", "uvvz"], "application/vnd.denovo.fcselayout-link": ["fe_launch"], "application/vnd.dna": ["dna"], "application/vnd.dolby.mlp": ["mlp"], "application/vnd.dpgraph": ["dpg"], "application/vnd.dreamfactory": ["dfac"], "application/vnd.ds-keypoint": ["kpxx"], "application/vnd.dvb.ait": ["ait"], "application/vnd.dvb.service": ["svc"], "application/vnd.dynageo": ["geo"], "application/vnd.ecowin.chart": ["mag"], "application/vnd.enliven": ["nml"], "application/vnd.epson.esf": ["esf"], "application/vnd.epson.msf": ["msf"], "application/vnd.epson.quickanime": ["qam"], "application/vnd.epson.salt": ["slt"], "application/vnd.epson.ssf": ["ssf"], "application/vnd.eszigno3+xml": ["es3", "et3"], "application/vnd.ezpix-album": ["ez2"], "application/vnd.ezpix-package": ["ez3"], "application/vnd.fdf": ["fdf"], "application/vnd.fdsn.mseed": ["mseed"], "application/vnd.fdsn.seed": ["seed", "dataless"], "application/vnd.flographit": ["gph"], "application/vnd.fluxtime.clip": ["ftc"], "application/vnd.framemaker": ["fm", "frame", "maker", "book"], "application/vnd.frogans.fnc": ["fnc"], "application/vnd.frogans.ltf": ["ltf"], "application/vnd.fsc.weblaunch": ["fsc"], "application/vnd.fujitsu.oasys": ["oas"], "application/vnd.fujitsu.oasys2": ["oa2"], "application/vnd.fujitsu.oasys3": ["oa3"], "application/vnd.fujitsu.oasysgp": ["fg5"], "application/vnd.fujitsu.oasysprs": ["bh2"], "application/vnd.fujixerox.ddd": ["ddd"], "application/vnd.fujixerox.docuworks": ["xdw"], "application/vnd.fujixerox.docuworks.binder": ["xbd"], "application/vnd.fuzzysheet": ["fzs"], "application/vnd.genomatix.tuxedo": ["txd"], "application/vnd.geogebra.file": ["ggb"], "application/vnd.geogebra.tool": ["ggt"], "application/vnd.geometry-explorer": ["gex", "gre"], "application/vnd.geonext": ["gxt"], "application/vnd.geoplan": ["g2w"], "application/vnd.geospace": ["g3w"], "application/vnd.gmx": ["gmx"], "application/vnd.google-apps.document": ["gdoc"], "application/vnd.google-apps.presentation": ["gslides"], "application/vnd.google-apps.spreadsheet": ["gsheet"], "application/vnd.google-earth.kml+xml": ["kml"], "application/vnd.google-earth.kmz": ["kmz"], "application/vnd.grafeq": ["gqf", "gqs"], "application/vnd.groove-account": ["gac"], "application/vnd.groove-help": ["ghf"], "application/vnd.groove-identity-message": ["gim"], "application/vnd.groove-injector": ["grv"], "application/vnd.groove-tool-message": ["gtm"], "application/vnd.groove-tool-template": ["tpl"], "application/vnd.groove-vcard": ["vcg"], "application/vnd.hal+xml": ["hal"], "application/vnd.handheld-entertainment+xml": ["zmm"], "application/vnd.hbci": ["hbci"], "application/vnd.hhe.lesson-player": ["les"], "application/vnd.hp-hpgl": ["hpgl"], "application/vnd.hp-hpid": ["hpid"], "application/vnd.hp-hps": ["hps"], "application/vnd.hp-jlyt": ["jlt"], "application/vnd.hp-pcl": ["pcl"], "application/vnd.hp-pclxl": ["pclxl"], "application/vnd.hydrostatix.sof-data": ["sfd-hdstx"], "application/vnd.ibm.minipay": ["mpy"], "application/vnd.ibm.modcap": ["afp", "listafp", "list3820"], "application/vnd.ibm.rights-management": ["irm"], "application/vnd.ibm.secure-container": ["sc"], "application/vnd.iccprofile": ["icc", "icm"], "application/vnd.igloader": ["igl"], "application/vnd.immervision-ivp": ["ivp"], "application/vnd.immervision-ivu": ["ivu"], "application/vnd.insors.igm": ["igm"], "application/vnd.intercon.formnet": ["xpw", "xpx"], "application/vnd.intergeo": ["i2g"], "application/vnd.intu.qbo": ["qbo"], "application/vnd.intu.qfx": ["qfx"], "application/vnd.ipunplugged.rcprofile": ["rcprofile"], "application/vnd.irepository.package+xml": ["irp"], "application/vnd.is-xpr": ["xpr"], "application/vnd.isac.fcs": ["fcs"], "application/vnd.jam": ["jam"], "application/vnd.jcp.javame.midlet-rms": ["rms"], "application/vnd.jisp": ["jisp"], "application/vnd.joost.joda-archive": ["joda"], "application/vnd.kahootz": ["ktz", "ktr"], "application/vnd.kde.karbon": ["karbon"], "application/vnd.kde.kchart": ["chrt"], "application/vnd.kde.kformula": ["kfo"], "application/vnd.kde.kivio": ["flw"], "application/vnd.kde.kontour": ["kon"], "application/vnd.kde.kpresenter": ["kpr", "kpt"], "application/vnd.kde.kspread": ["ksp"], "application/vnd.kde.kword": ["kwd", "kwt"], "application/vnd.kenameaapp": ["htke"], "application/vnd.kidspiration": ["kia"], "application/vnd.kinar": ["kne", "knp"], "application/vnd.koan": ["skp", "skd", "skt", "skm"], "application/vnd.kodak-descriptor": ["sse"], "application/vnd.las.las+xml": ["lasxml"], "application/vnd.llamagraphics.life-balance.desktop": ["lbd"], "application/vnd.llamagraphics.life-balance.exchange+xml": ["lbe"], "application/vnd.lotus-1-2-3": ["123"], "application/vnd.lotus-approach": ["apr"], "application/vnd.lotus-freelance": ["pre"], "application/vnd.lotus-notes": ["nsf"], "application/vnd.lotus-organizer": ["org"], "application/vnd.lotus-screencam": ["scm"], "application/vnd.lotus-wordpro": ["lwp"], "application/vnd.macports.portpkg": ["portpkg"], "application/vnd.mcd": ["mcd"], "application/vnd.medcalcdata": ["mc1"], "application/vnd.mediastation.cdkey": ["cdkey"], "application/vnd.mfer": ["mwf"], "application/vnd.mfmp": ["mfm"], "application/vnd.micrografx.flo": ["flo"], "application/vnd.micrografx.igx": ["igx"], "application/vnd.mif": ["mif"], "application/vnd.mobius.daf": ["daf"], "application/vnd.mobius.dis": ["dis"], "application/vnd.mobius.mbk": ["mbk"], "application/vnd.mobius.mqy": ["mqy"], "application/vnd.mobius.msl": ["msl"], "application/vnd.mobius.plc": ["plc"], "application/vnd.mobius.txf": ["txf"], "application/vnd.mophun.application": ["mpn"], "application/vnd.mophun.certificate": ["mpc"], "application/vnd.mozilla.xul+xml": ["xul"], "application/vnd.ms-artgalry": ["cil"], "application/vnd.ms-cab-compressed": ["cab"], "application/vnd.ms-excel": ["xls", "xlm", "xla", "xlc", "xlt", "xlw"], "application/vnd.ms-excel.addin.macroenabled.12": ["xlam"], "application/vnd.ms-excel.sheet.binary.macroenabled.12": ["xlsb"], "application/vnd.ms-excel.sheet.macroenabled.12": ["xlsm"], "application/vnd.ms-excel.template.macroenabled.12": ["xltm"], "application/vnd.ms-fontobject": ["eot"], "application/vnd.ms-htmlhelp": ["chm"], "application/vnd.ms-ims": ["ims"], "application/vnd.ms-lrm": ["lrm"], "application/vnd.ms-officetheme": ["thmx"], "application/vnd.ms-outlook": ["msg"], "application/vnd.ms-pki.seccat": ["cat"], "application/vnd.ms-pki.stl": ["stl"], "application/vnd.ms-powerpoint": ["ppt", "pps", "pot"], "application/vnd.ms-powerpoint.addin.macroenabled.12": ["ppam"], "application/vnd.ms-powerpoint.presentation.macroenabled.12": ["pptm"], "application/vnd.ms-powerpoint.slide.macroenabled.12": ["sldm"], "application/vnd.ms-powerpoint.slideshow.macroenabled.12": ["ppsm"], "application/vnd.ms-powerpoint.template.macroenabled.12": ["potm"], "application/vnd.ms-project": ["mpp", "mpt"], "application/vnd.ms-word.document.macroenabled.12": ["docm"], "application/vnd.ms-word.template.macroenabled.12": ["dotm"], "application/vnd.ms-works": ["wps", "wks", "wcm", "wdb"], "application/vnd.ms-wpl": ["wpl"], "application/vnd.ms-xpsdocument": ["xps"], "application/vnd.mseq": ["mseq"], "application/vnd.musician": ["mus"], "application/vnd.muvee.style": ["msty"], "application/vnd.mynfc": ["taglet"], "application/vnd.neurolanguage.nlu": ["nlu"], "application/vnd.nitf": ["ntf", "nitf"], "application/vnd.noblenet-directory": ["nnd"], "application/vnd.noblenet-sealer": ["nns"], "application/vnd.noblenet-web": ["nnw"], "application/vnd.nokia.n-gage.data": ["ngdat"], "application/vnd.nokia.n-gage.symbian.install": ["n-gage"], "application/vnd.nokia.radio-preset": ["rpst"], "application/vnd.nokia.radio-presets": ["rpss"], "application/vnd.novadigm.edm": ["edm"], "application/vnd.novadigm.edx": ["edx"], "application/vnd.novadigm.ext": ["ext"], "application/vnd.oasis.opendocument.chart": ["odc"], "application/vnd.oasis.opendocument.chart-template": ["otc"], "application/vnd.oasis.opendocument.database": ["odb"], "application/vnd.oasis.opendocument.formula": ["odf"], "application/vnd.oasis.opendocument.formula-template": ["odft"], "application/vnd.oasis.opendocument.graphics": ["odg"], "application/vnd.oasis.opendocument.graphics-template": ["otg"], "application/vnd.oasis.opendocument.image": ["odi"], "application/vnd.oasis.opendocument.image-template": ["oti"], "application/vnd.oasis.opendocument.presentation": ["odp"], "application/vnd.oasis.opendocument.presentation-template": ["otp"], "application/vnd.oasis.opendocument.spreadsheet": ["ods"], "application/vnd.oasis.opendocument.spreadsheet-template": ["ots"], "application/vnd.oasis.opendocument.text": ["odt"], "application/vnd.oasis.opendocument.text-master": ["odm"], "application/vnd.oasis.opendocument.text-template": ["ott"], "application/vnd.oasis.opendocument.text-web": ["oth"], "application/vnd.olpc-sugar": ["xo"], "application/vnd.oma.dd2+xml": ["dd2"], "application/vnd.openofficeorg.extension": ["oxt"], "application/vnd.openxmlformats-officedocument.presentationml.presentation": ["pptx"], "application/vnd.openxmlformats-officedocument.presentationml.slide": ["sldx"], "application/vnd.openxmlformats-officedocument.presentationml.slideshow": ["ppsx"], "application/vnd.openxmlformats-officedocument.presentationml.template": ["potx"], "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": ["xlsx"], "application/vnd.openxmlformats-officedocument.spreadsheetml.template": ["xltx"], "application/vnd.openxmlformats-officedocument.wordprocessingml.document": ["docx"], "application/vnd.openxmlformats-officedocument.wordprocessingml.template": ["dotx"], "application/vnd.osgeo.mapguide.package": ["mgp"], "application/vnd.osgi.dp": ["dp"], "application/vnd.osgi.subsystem": ["esa"], "application/vnd.palm": ["pdb", "pqa", "oprc"], "application/vnd.pawaafile": ["paw"], "application/vnd.pg.format": ["str"], "application/vnd.pg.osasli": ["ei6"], "application/vnd.picsel": ["efif"], "application/vnd.pmi.widget": ["wg"], "application/vnd.pocketlearn": ["plf"], "application/vnd.powerbuilder6": ["pbd"], "application/vnd.previewsystems.box": ["box"], "application/vnd.proteus.magazine": ["mgz"], "application/vnd.publishare-delta-tree": ["qps"], "application/vnd.pvi.ptid1": ["ptid"], "application/vnd.quark.quarkxpress": ["qxd", "qxt", "qwd", "qwt", "qxl", "qxb"], "application/vnd.realvnc.bed": ["bed"], "application/vnd.recordare.musicxml": ["mxl"], "application/vnd.recordare.musicxml+xml": ["musicxml"], "application/vnd.rig.cryptonote": ["cryptonote"], "application/vnd.rim.cod": ["cod"], "application/vnd.rn-realmedia": ["rm"], "application/vnd.rn-realmedia-vbr": ["rmvb"], "application/vnd.route66.link66+xml": ["link66"], "application/vnd.sailingtracker.track": ["st"], "application/vnd.seemail": ["see"], "application/vnd.sema": ["sema"], "application/vnd.semd": ["semd"], "application/vnd.semf": ["semf"], "application/vnd.shana.informed.formdata": ["ifm"], "application/vnd.shana.informed.formtemplate": ["itp"], "application/vnd.shana.informed.interchange": ["iif"], "application/vnd.shana.informed.package": ["ipk"], "application/vnd.simtech-mindmapper": ["twd", "twds"], "application/vnd.smaf": ["mmf"], "application/vnd.smart.teacher": ["teacher"], "application/vnd.solent.sdkm+xml": ["sdkm", "sdkd"], "application/vnd.spotfire.dxp": ["dxp"], "application/vnd.spotfire.sfs": ["sfs"], "application/vnd.stardivision.calc": ["sdc"], "application/vnd.stardivision.draw": ["sda"], "application/vnd.stardivision.impress": ["sdd"], "application/vnd.stardivision.math": ["smf"], "application/vnd.stardivision.writer": ["sdw", "vor"], "application/vnd.stardivision.writer-global": ["sgl"], "application/vnd.stepmania.package": ["smzip"], "application/vnd.stepmania.stepchart": ["sm"], "application/vnd.sun.wadl+xml": ["wadl"], "application/vnd.sun.xml.calc": ["sxc"], "application/vnd.sun.xml.calc.template": ["stc"], "application/vnd.sun.xml.draw": ["sxd"], "application/vnd.sun.xml.draw.template": ["std"], "application/vnd.sun.xml.impress": ["sxi"], "application/vnd.sun.xml.impress.template": ["sti"], "application/vnd.sun.xml.math": ["sxm"], "application/vnd.sun.xml.writer": ["sxw"], "application/vnd.sun.xml.writer.global": ["sxg"], "application/vnd.sun.xml.writer.template": ["stw"], "application/vnd.sus-calendar": ["sus", "susp"], "application/vnd.svd": ["svd"], "application/vnd.symbian.install": ["sis", "sisx"], "application/vnd.syncml+xml": ["xsm"], "application/vnd.syncml.dm+wbxml": ["bdm"], "application/vnd.syncml.dm+xml": ["xdm"], "application/vnd.tao.intent-module-archive": ["tao"], "application/vnd.tcpdump.pcap": ["pcap", "cap", "dmp"], "application/vnd.tmobile-livetv": ["tmo"], "application/vnd.trid.tpt": ["tpt"], "application/vnd.triscape.mxs": ["mxs"], "application/vnd.trueapp": ["tra"], "application/vnd.ufdl": ["ufd", "ufdl"], "application/vnd.uiq.theme": ["utz"], "application/vnd.umajin": ["umj"], "application/vnd.unity": ["unityweb"], "application/vnd.uoml+xml": ["uoml"], "application/vnd.vcx": ["vcx"], "application/vnd.visio": ["vsd", "vst", "vss", "vsw"], "application/vnd.visionary": ["vis"], "application/vnd.vsf": ["vsf"], "application/vnd.wap.wbxml": ["wbxml"], "application/vnd.wap.wmlc": ["wmlc"], "application/vnd.wap.wmlscriptc": ["wmlsc"], "application/vnd.webturbo": ["wtb"], "application/vnd.wolfram.player": ["nbp"], "application/vnd.wordperfect": ["wpd"], "application/vnd.wqd": ["wqd"], "application/vnd.wt.stf": ["stf"], "application/vnd.xara": ["xar"], "application/vnd.xfdl": ["xfdl"], "application/vnd.yamaha.hv-dic": ["hvd"], "application/vnd.yamaha.hv-script": ["hvs"], "application/vnd.yamaha.hv-voice": ["hvp"], "application/vnd.yamaha.openscoreformat": ["osf"], "application/vnd.yamaha.openscoreformat.osfpvg+xml": ["osfpvg"], "application/vnd.yamaha.smaf-audio": ["saf"], "application/vnd.yamaha.smaf-phrase": ["spf"], "application/vnd.yellowriver-custom-menu": ["cmp"], "application/vnd.zul": ["zir", "zirz"], "application/vnd.zzazz.deck+xml": ["zaz"], "application/voicexml+xml": ["vxml"], "application/wasm": ["wasm"], "application/widget": ["wgt"], "application/winhlp": ["hlp"], "application/wsdl+xml": ["wsdl"], "application/wspolicy+xml": ["wspolicy"], "application/x-7z-compressed": ["7z"], "application/x-abiword": ["abw"], "application/x-ace-compressed": ["ace"], "application/x-apple-diskimage": [], "application/x-arj": ["arj"], "application/x-authorware-bin": ["aab", "x32", "u32", "vox"], "application/x-authorware-map": ["aam"], "application/x-authorware-seg": ["aas"], "application/x-bcpio": ["bcpio"], "application/x-bdoc": [], "application/x-bittorrent": ["torrent"], "application/x-blorb": ["blb", "blorb"], "application/x-bzip": ["bz"], "application/x-bzip2": ["bz2", "boz"], "application/x-cbr": ["cbr", "cba", "cbt", "cbz", "cb7"], "application/x-cdlink": ["vcd"], "application/x-cfs-compressed": ["cfs"], "application/x-chat": ["chat"], "application/x-chess-pgn": ["pgn"], "application/x-chrome-extension": ["crx"], "application/x-cocoa": ["cco"], "application/x-conference": ["nsc"], "application/x-cpio": ["cpio"], "application/x-csh": ["csh"], "application/x-debian-package": ["udeb"], "application/x-dgc-compressed": ["dgc"], "application/x-director": ["dir", "dcr", "dxr", "cst", "cct", "cxt", "w3d", "fgd", "swa"], "application/x-doom": ["wad"], "application/x-dtbncx+xml": ["ncx"], "application/x-dtbook+xml": ["dtb"], "application/x-dtbresource+xml": ["res"], "application/x-dvi": ["dvi"], "application/x-envoy": ["evy"], "application/x-eva": ["eva"], "application/x-font-bdf": ["bdf"], "application/x-font-ghostscript": ["gsf"], "application/x-font-linux-psf": ["psf"], "application/x-font-pcf": ["pcf"], "application/x-font-snf": ["snf"], "application/x-font-type1": ["pfa", "pfb", "pfm", "afm"], "application/x-freearc": ["arc"], "application/x-futuresplash": ["spl"], "application/x-gca-compressed": ["gca"], "application/x-glulx": ["ulx"], "application/x-gnumeric": ["gnumeric"], "application/x-gramps-xml": ["gramps"], "application/x-gtar": ["gtar"], "application/x-hdf": ["hdf"], "application/x-httpd-php": ["php"], "application/x-install-instructions": ["install"], "application/x-iso9660-image": [], "application/x-java-archive-diff": ["jardiff"], "application/x-java-jnlp-file": ["jnlp"], "application/x-latex": ["latex"], "application/x-lua-bytecode": ["luac"], "application/x-lzh-compressed": ["lzh", "lha"], "application/x-makeself": ["run"], "application/x-mie": ["mie"], "application/x-mobipocket-ebook": ["prc", "mobi"], "application/x-ms-application": ["application"], "application/x-ms-shortcut": ["lnk"], "application/x-ms-wmd": ["wmd"], "application/x-ms-wmz": ["wmz"], "application/x-ms-xbap": ["xbap"], "application/x-msaccess": ["mdb"], "application/x-msbinder": ["obd"], "application/x-mscardfile": ["crd"], "application/x-msclip": ["clp"], "application/x-msdos-program": [], "application/x-msdownload": ["com", "bat"], "application/x-msmediaview": ["mvb", "m13", "m14"], "application/x-msmetafile": ["wmf", "emf", "emz"], "application/x-msmoney": ["mny"], "application/x-mspublisher": ["pub"], "application/x-msschedule": ["scd"], "application/x-msterminal": ["trm"], "application/x-mswrite": ["wri"], "application/x-netcdf": ["nc", "cdf"], "application/x-ns-proxy-autoconfig": ["pac"], "application/x-nzb": ["nzb"], "application/x-perl": ["pl", "pm"], "application/x-pilot": [], "application/x-pkcs12": ["p12", "pfx"], "application/x-pkcs7-certificates": ["p7b", "spc"], "application/x-pkcs7-certreqresp": ["p7r"], "application/x-rar-compressed": ["rar"], "application/x-redhat-package-manager": ["rpm"], "application/x-research-info-systems": ["ris"], "application/x-sea": ["sea"], "application/x-sh": ["sh"], "application/x-shar": ["shar"], "application/x-shockwave-flash": ["swf"], "application/x-silverlight-app": ["xap"], "application/x-sql": ["sql"], "application/x-stuffit": ["sit"], "application/x-stuffitx": ["sitx"], "application/x-subrip": ["srt"], "application/x-sv4cpio": ["sv4cpio"], "application/x-sv4crc": ["sv4crc"], "application/x-t3vm-image": ["t3"], "application/x-tads": ["gam"], "application/x-tar": ["tar"], "application/x-tcl": ["tcl", "tk"], "application/x-tex": ["tex"], "application/x-tex-tfm": ["tfm"], "application/x-texinfo": ["texinfo", "texi"], "application/x-tgif": ["obj"], "application/x-ustar": ["ustar"], "application/x-virtualbox-hdd": ["hdd"], "application/x-virtualbox-ova": ["ova"], "application/x-virtualbox-ovf": ["ovf"], "application/x-virtualbox-vbox": ["vbox"], "application/x-virtualbox-vbox-extpack": ["vbox-extpack"], "application/x-virtualbox-vdi": ["vdi"], "application/x-virtualbox-vhd": ["vhd"], "application/x-virtualbox-vmdk": ["vmdk"], "application/x-wais-source": ["src"], "application/x-web-app-manifest+json": ["webapp"], "application/x-x509-ca-cert": ["der", "crt", "pem"], "application/x-xfig": ["fig"], "application/x-xliff+xml": ["xlf"], "application/x-xpinstall": ["xpi"], "application/x-xz": ["xz"], "application/x-zmachine": ["z1", "z2", "z3", "z4", "z5", "z6", "z7", "z8"], "application/xaml+xml": ["xaml"], "application/xcap-diff+xml": ["xdf"], "application/xenc+xml": ["xenc"], "application/xhtml+xml": ["xhtml", "xht"], "application/xml": ["xml", "xsl", "xsd", "rng"], "application/xml-dtd": ["dtd"], "application/xop+xml": ["xop"], "application/xproc+xml": ["xpl"], "application/xslt+xml": ["xslt"], "application/xspf+xml": ["xspf"], "application/xv+xml": ["mxml", "xhvml", "xvml", "xvm"], "application/yang": ["yang"], "application/yin+xml": ["yin"], "application/zip": ["zip"], "audio/3gpp": [], "audio/adpcm": ["adp"], "audio/basic": ["au", "snd"], "audio/midi": ["mid", "midi", "kar", "rmi"], "audio/mp3": [], "audio/mp4": ["m4a", "mp4a"], "audio/mpeg": ["mpga", "mp2", "mp2a", "mp3", "m2a", "m3a"], "audio/ogg": ["oga", "ogg", "spx"], "audio/s3m": ["s3m"], "audio/silk": ["sil"], "audio/vnd.dece.audio": ["uva", "uvva"], "audio/vnd.digital-winds": ["eol"], "audio/vnd.dra": ["dra"], "audio/vnd.dts": ["dts"], "audio/vnd.dts.hd": ["dtshd"], "audio/vnd.lucent.voice": ["lvp"], "audio/vnd.ms-playready.media.pya": ["pya"], "audio/vnd.nuera.ecelp4800": ["ecelp4800"], "audio/vnd.nuera.ecelp7470": ["ecelp7470"], "audio/vnd.nuera.ecelp9600": ["ecelp9600"], "audio/vnd.rip": ["rip"], "audio/wav": ["wav"], "audio/wave": [], "audio/webm": ["weba"], "audio/x-aac": ["aac"], "audio/x-aiff": ["aif", "aiff", "aifc"], "audio/x-caf": ["caf"], "audio/x-flac": ["flac"], "audio/x-m4a": [], "audio/x-matroska": ["mka"], "audio/x-mpegurl": ["m3u"], "audio/x-ms-wax": ["wax"], "audio/x-ms-wma": ["wma"], "audio/x-pn-realaudio": ["ram", "ra"], "audio/x-pn-realaudio-plugin": ["rmp"], "audio/x-realaudio": [], "audio/x-wav": [], "audio/xm": ["xm"], "chemical/x-cdx": ["cdx"], "chemical/x-cif": ["cif"], "chemical/x-cmdf": ["cmdf"], "chemical/x-cml": ["cml"], "chemical/x-csml": ["csml"], "chemical/x-xyz": ["xyz"], "font/collection": ["ttc"], "font/otf": ["otf"], "font/ttf": ["ttf"], "font/woff": ["woff"], "font/woff2": ["woff2"], "image/apng": ["apng"], "image/bmp": ["bmp"], "image/cgm": ["cgm"], "image/g3fax": ["g3"], "image/gif": ["gif"], "image/ief": ["ief"], "image/jp2": ["jp2", "jpg2"], "image/jpeg": ["jpeg", "jpg", "jpe"], "image/jpm": ["jpm"], "image/jpx": ["jpx", "jpf"], "image/ktx": ["ktx"], "image/png": ["png"], "image/prs.btif": ["btif"], "image/sgi": ["sgi"], "image/svg+xml": ["svg", "svgz"], "image/tiff": ["tiff", "tif"], "image/vnd.adobe.photoshop": ["psd"], "image/vnd.dece.graphic": ["uvi", "uvvi", "uvg", "uvvg"], "image/vnd.djvu": ["djvu", "djv"], "image/vnd.dvb.subtitle": [], "image/vnd.dwg": ["dwg"], "image/vnd.dxf": ["dxf"], "image/vnd.fastbidsheet": ["fbs"], "image/vnd.fpx": ["fpx"], "image/vnd.fst": ["fst"], "image/vnd.fujixerox.edmics-mmr": ["mmr"], "image/vnd.fujixerox.edmics-rlc": ["rlc"], "image/vnd.ms-modi": ["mdi"], "image/vnd.ms-photo": ["wdp"], "image/vnd.net-fpx": ["npx"], "image/vnd.wap.wbmp": ["wbmp"], "image/vnd.xiff": ["xif"], "image/webp": ["webp"], "image/x-3ds": ["3ds"], "image/x-cmu-raster": ["ras"], "image/x-cmx": ["cmx"], "image/x-freehand": ["fh", "fhc", "fh4", "fh5", "fh7"], "image/x-icon": ["ico"], "image/x-jng": ["jng"], "image/x-mrsid-image": ["sid"], "image/x-ms-bmp": [], "image/x-pcx": ["pcx"], "image/x-pict": ["pic", "pct"], "image/x-portable-anymap": ["pnm"], "image/x-portable-bitmap": ["pbm"], "image/x-portable-graymap": ["pgm"], "image/x-portable-pixmap": ["ppm"], "image/x-rgb": ["rgb"], "image/x-tga": ["tga"], "image/x-xbitmap": ["xbm"], "image/x-xpixmap": ["xpm"], "image/x-xwindowdump": ["xwd"], "message/rfc822": ["eml", "mime"], "model/gltf+json": ["gltf"], "model/gltf-binary": ["glb"], "model/iges": ["igs", "iges"], "model/mesh": ["msh", "mesh", "silo"], "model/vnd.collada+xml": ["dae"], "model/vnd.dwf": ["dwf"], "model/vnd.gdl": ["gdl"], "model/vnd.gtw": ["gtw"], "model/vnd.mts": ["mts"], "model/vnd.vtu": ["vtu"], "model/vrml": ["wrl", "vrml"], "model/x3d+binary": ["x3db", "x3dbz"], "model/x3d+vrml": ["x3dv", "x3dvz"], "model/x3d+xml": ["x3d", "x3dz"], "text/cache-manifest": ["appcache", "manifest"], "text/calendar": ["ics", "ifb"], "text/coffeescript": ["coffee", "litcoffee"], "text/css": ["css"], "text/csv": ["csv"], "text/hjson": ["hjson"], "text/html": ["html", "htm", "shtml"], "text/jade": ["jade"], "text/jsx": ["jsx"], "text/less": ["less"], "text/markdown": ["markdown", "md"], "text/mathml": ["mml"], "text/n3": ["n3"], "text/plain": ["txt", "text", "conf", "def", "list", "log", "in", "ini"], "text/prs.lines.tag": ["dsc"], "text/richtext": ["rtx"], "text/rtf": [], "text/sgml": ["sgml", "sgm"], "text/slim": ["slim", "slm"], "text/stylus": ["stylus", "styl"], "text/tab-separated-values": ["tsv"], "text/troff": ["t", "tr", "roff", "man", "me", "ms"], "text/turtle": ["ttl"], "text/uri-list": ["uri", "uris", "urls"], "text/vcard": ["vcard"], "text/vnd.curl": ["curl"], "text/vnd.curl.dcurl": ["dcurl"], "text/vnd.curl.mcurl": ["mcurl"], "text/vnd.curl.scurl": ["scurl"], "text/vnd.dvb.subtitle": ["sub"], "text/vnd.fly": ["fly"], "text/vnd.fmi.flexstor": ["flx"], "text/vnd.graphviz": ["gv"], "text/vnd.in3d.3dml": ["3dml"], "text/vnd.in3d.spot": ["spot"], "text/vnd.sun.j2me.app-descriptor": ["jad"], "text/vnd.wap.wml": ["wml"], "text/vnd.wap.wmlscript": ["wmls"], "text/vtt": ["vtt"], "text/x-asm": ["s", "asm"], "text/x-c": ["c", "cc", "cxx", "cpp", "h", "hh", "dic"], "text/x-component": ["htc"], "text/x-fortran": ["f", "for", "f77", "f90"], "text/x-handlebars-template": ["hbs"], "text/x-java-source": ["java"], "text/x-lua": ["lua"], "text/x-markdown": ["mkd"], "text/x-nfo": ["nfo"], "text/x-opml": ["opml"], "text/x-org": [], "text/x-pascal": ["p", "pas"], "text/x-processing": ["pde"], "text/x-sass": ["sass"], "text/x-scss": ["scss"], "text/x-setext": ["etx"], "text/x-sfv": ["sfv"], "text/x-suse-ymp": ["ymp"], "text/x-uuencode": ["uu"], "text/x-vcalendar": ["vcs"], "text/x-vcard": ["vcf"], "text/xml": [], "text/yaml": ["yaml", "yml"], "video/3gpp": ["3gp", "3gpp"], "video/3gpp2": ["3g2"], "video/h261": ["h261"], "video/h263": ["h263"], "video/h264": ["h264"], "video/jpeg": ["jpgv"], "video/jpm": ["jpgm"], "video/mj2": ["mj2", "mjp2"], "video/mp2t": ["ts"], "video/mp4": ["mp4", "mp4v", "mpg4"], "video/mpeg": ["mpeg", "mpg", "mpe", "m1v", "m2v"], "video/ogg": ["ogv"], "video/quicktime": ["qt", "mov"], "video/vnd.dece.hd": ["uvh", "uvvh"], "video/vnd.dece.mobile": ["uvm", "uvvm"], "video/vnd.dece.pd": ["uvp", "uvvp"], "video/vnd.dece.sd": ["uvs", "uvvs"], "video/vnd.dece.video": ["uvv", "uvvv"], "video/vnd.dvb.file": ["dvb"], "video/vnd.fvt": ["fvt"], "video/vnd.mpegurl": ["mxu", "m4u"], "video/vnd.ms-playready.media.pyv": ["pyv"], "video/vnd.uvvu.mp4": ["uvu", "uvvu"], "video/vnd.vivo": ["viv"], "video/webm": ["webm"], "video/x-f4v": ["f4v"], "video/x-fli": ["fli"], "video/x-flv": ["flv"], "video/x-m4v": ["m4v"], "video/x-matroska": ["mkv", "mk3d", "mks"], "video/x-mng": ["mng"], "video/x-ms-asf": ["asf", "asx"], "video/x-ms-vob": ["vob"], "video/x-ms-wm": ["wm"], "video/x-ms-wmv": ["wmv"], "video/x-ms-wmx": ["wmx"], "video/x-ms-wvx": ["wvx"], "video/x-msvideo": ["avi"], "video/x-sgi-movie": ["movie"], "video/x-smv": ["smv"], "x-conference/x-cooltalk": ["ice"] };
77084
+ }
77085
+ });
77086
+ var require_mime = __commonJS2({
77087
+ "node_modules/mime/mime.js"(exports2, module2) {
77088
+ "use strict";
77089
+ var path52 = __require2("path");
77090
+ var fs72 = __require2("fs");
77091
+ function Mime() {
77092
+ this.types = /* @__PURE__ */ Object.create(null);
77093
+ this.extensions = /* @__PURE__ */ Object.create(null);
77094
+ }
77095
+ Mime.prototype.define = function(map4) {
77096
+ for (var type in map4) {
77097
+ var exts = map4[type];
77098
+ for (var i2 = 0; i2 < exts.length; i2++) {
77099
+ if (process.env.DEBUG_MIME && this.types[exts[i2]]) {
77100
+ console.warn((this._loading || "define()").replace(/.*\//, ""), 'changes "' + exts[i2] + '" extension type from ' + this.types[exts[i2]] + " to " + type);
77101
+ }
77102
+ this.types[exts[i2]] = type;
77103
+ }
77104
+ if (!this.extensions[type]) {
77105
+ this.extensions[type] = exts[0];
77106
+ }
77107
+ }
77108
+ };
77109
+ Mime.prototype.load = function(file) {
77110
+ this._loading = file;
77111
+ var map4 = {}, content = fs72.readFileSync(file, "ascii"), lines = content.split(/[\r\n]+/);
77112
+ lines.forEach(function(line) {
77113
+ var fields = line.replace(/\s*#.*|^\s*|\s*$/g, "").split(/\s+/);
77114
+ map4[fields.shift()] = fields;
77115
+ });
77116
+ this.define(map4);
77117
+ this._loading = null;
77118
+ };
77119
+ Mime.prototype.lookup = function(path62, fallback) {
77120
+ var ext = path62.replace(/^.*[\.\/\\]/, "").toLowerCase();
77121
+ return this.types[ext] || fallback || this.default_type;
77122
+ };
77123
+ Mime.prototype.extension = function(mimeType) {
77124
+ var type = mimeType.match(/^\s*([^;\s]*)(?:;|\s|$)/)[1].toLowerCase();
77125
+ return this.extensions[type];
77126
+ };
77127
+ var mime = new Mime();
77128
+ mime.define(require_types());
77129
+ mime.default_type = mime.lookup("bin");
77130
+ mime.Mime = Mime;
77131
+ mime.charsets = {
77132
+ lookup: function(mimeType, fallback) {
77133
+ return /^text\/|^application\/(javascript|json)/.test(mimeType) ? "UTF-8" : fallback;
77134
+ }
77135
+ };
77136
+ module2.exports = mime;
77137
+ }
77138
+ });
78578
77139
  var require_range_parser = __commonJS2({
78579
77140
  "node_modules/range-parser/index.js"(exports2, module2) {
78580
77141
  "use strict";
@@ -78661,13 +77222,13 @@ var require_send = __commonJS2({
78661
77222
  var debug22 = require_src6()("send");
78662
77223
  var deprecate = require_depd()("send");
78663
77224
  var destroy = require_destroy();
78664
- var encodeUrl = require_encodeurl();
77225
+ var encodeUrl = require_encodeurl2();
78665
77226
  var escapeHtml = require_escape_html();
78666
77227
  var etag = require_etag();
78667
77228
  var fresh = require_fresh();
78668
77229
  var fs72 = __require2("fs");
78669
77230
  var mime = require_mime();
78670
- var ms2 = require_ms7();
77231
+ var ms2 = require_ms();
78671
77232
  var onFinished = require_on_finished2();
78672
77233
  var parseRange = require_range_parser();
78673
77234
  var path52 = __require2("path");
@@ -78862,7 +77423,7 @@ var require_send = __commonJS2({
78862
77423
  return;
78863
77424
  }
78864
77425
  var loc = encodeUrl(collapseLeadingSlashes(this.path + "/"));
78865
- var doc = createHtmlDocument("Redirecting", 'Redirecting to <a href="' + escapeHtml(loc) + '">' + escapeHtml(loc) + "</a>");
77426
+ var doc = createHtmlDocument("Redirecting", "Redirecting to " + escapeHtml(loc));
78866
77427
  res.statusCode = 301;
78867
77428
  res.setHeader("Content-Type", "text/html; charset=UTF-8");
78868
77429
  res.setHeader("Content-Length", Buffer.byteLength(doc));
@@ -80020,7 +78581,7 @@ var require_proxy_addr = __commonJS2({
80020
78581
  }
80021
78582
  }
80022
78583
  });
80023
- var require_utils6 = __commonJS2({
78584
+ var require_utils4 = __commonJS2({
80024
78585
  "node_modules/express/lib/utils.js"(exports2) {
80025
78586
  "use strict";
80026
78587
  var Buffer3 = require_safe_buffer2().Buffer;
@@ -80031,7 +78592,7 @@ var require_utils6 = __commonJS2({
80031
78592
  var mime = require_send().mime;
80032
78593
  var etag = require_etag();
80033
78594
  var proxyaddr = require_proxy_addr();
80034
- var qs3 = require_lib6();
78595
+ var qs3 = require_lib();
80035
78596
  var querystring = __require2("querystring");
80036
78597
  exports2.etag = createETagGenerator({ weak: false });
80037
78598
  exports2.wetag = createETagGenerator({ weak: true });
@@ -80166,9 +78727,9 @@ var require_application = __commonJS2({
80166
78727
  var debug22 = require_src5()("express:application");
80167
78728
  var View = require_view();
80168
78729
  var http3 = __require2("http");
80169
- var compileETag = require_utils6().compileETag;
80170
- var compileQueryParser = require_utils6().compileQueryParser;
80171
- var compileTrust = require_utils6().compileTrust;
78730
+ var compileETag = require_utils4().compileETag;
78731
+ var compileQueryParser = require_utils4().compileQueryParser;
78732
+ var compileTrust = require_utils4().compileTrust;
80172
78733
  var deprecate = require_depd()("express");
80173
78734
  var flatten = require_array_flatten();
80174
78735
  var merge2 = require_utils_merge();
@@ -81183,68 +79744,91 @@ var require_cookie = __commonJS2({
81183
79744
  exports2.parse = parse7;
81184
79745
  exports2.serialize = serialize2;
81185
79746
  var __toString = Object.prototype.toString;
81186
- var fieldContentRegExp = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;
81187
- function parse7(str2, options2) {
79747
+ var cookieNameRegExp = /^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;
79748
+ var cookieValueRegExp = /^("?)[\u0021\u0023-\u002B\u002D-\u003A\u003C-\u005B\u005D-\u007E]*\1$/;
79749
+ var domainValueRegExp = /^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i;
79750
+ var pathValueRegExp = /^[\u0020-\u003A\u003D-\u007E]*$/;
79751
+ function parse7(str2, opt) {
81188
79752
  if (typeof str2 !== "string") {
81189
79753
  throw new TypeError("argument str must be a string");
81190
79754
  }
81191
79755
  var obj = {};
81192
- var opt = options2 || {};
81193
- var dec = opt.decode || decode2;
79756
+ var len = str2.length;
79757
+ if (len < 2) return obj;
79758
+ var dec = opt && opt.decode || decode2;
81194
79759
  var index2 = 0;
81195
- while (index2 < str2.length) {
81196
- var eqIdx = str2.indexOf("=", index2);
81197
- if (eqIdx === -1) {
81198
- break;
81199
- }
81200
- var endIdx = str2.indexOf(";", index2);
79760
+ var eqIdx = 0;
79761
+ var endIdx = 0;
79762
+ do {
79763
+ eqIdx = str2.indexOf("=", index2);
79764
+ if (eqIdx === -1) break;
79765
+ endIdx = str2.indexOf(";", index2);
81201
79766
  if (endIdx === -1) {
81202
- endIdx = str2.length;
81203
- } else if (endIdx < eqIdx) {
79767
+ endIdx = len;
79768
+ } else if (eqIdx > endIdx) {
81204
79769
  index2 = str2.lastIndexOf(";", eqIdx - 1) + 1;
81205
79770
  continue;
81206
79771
  }
81207
- var key = str2.slice(index2, eqIdx).trim();
81208
- if (void 0 === obj[key]) {
81209
- var val = str2.slice(eqIdx + 1, endIdx).trim();
81210
- if (val.charCodeAt(0) === 34) {
81211
- val = val.slice(1, -1);
81212
- }
79772
+ var keyStartIdx = startIndex(str2, index2, eqIdx);
79773
+ var keyEndIdx = endIndex(str2, eqIdx, keyStartIdx);
79774
+ var key = str2.slice(keyStartIdx, keyEndIdx);
79775
+ if (!obj.hasOwnProperty(key)) {
79776
+ var valStartIdx = startIndex(str2, eqIdx + 1, endIdx);
79777
+ var valEndIdx = endIndex(str2, endIdx, valStartIdx);
79778
+ if (str2.charCodeAt(valStartIdx) === 34 && str2.charCodeAt(valEndIdx - 1) === 34) {
79779
+ valStartIdx++;
79780
+ valEndIdx--;
79781
+ }
79782
+ var val = str2.slice(valStartIdx, valEndIdx);
81213
79783
  obj[key] = tryDecode(val, dec);
81214
79784
  }
81215
79785
  index2 = endIdx + 1;
81216
- }
79786
+ } while (index2 < len);
81217
79787
  return obj;
81218
79788
  }
81219
- function serialize2(name, val, options2) {
81220
- var opt = options2 || {};
81221
- var enc2 = opt.encode || encode4;
79789
+ function startIndex(str2, index2, max7) {
79790
+ do {
79791
+ var code = str2.charCodeAt(index2);
79792
+ if (code !== 32 && code !== 9) return index2;
79793
+ } while (++index2 < max7);
79794
+ return max7;
79795
+ }
79796
+ function endIndex(str2, index2, min7) {
79797
+ while (index2 > min7) {
79798
+ var code = str2.charCodeAt(--index2);
79799
+ if (code !== 32 && code !== 9) return index2 + 1;
79800
+ }
79801
+ return min7;
79802
+ }
79803
+ function serialize2(name, val, opt) {
79804
+ var enc2 = opt && opt.encode || encodeURIComponent;
81222
79805
  if (typeof enc2 !== "function") {
81223
79806
  throw new TypeError("option encode is invalid");
81224
79807
  }
81225
- if (!fieldContentRegExp.test(name)) {
79808
+ if (!cookieNameRegExp.test(name)) {
81226
79809
  throw new TypeError("argument name is invalid");
81227
79810
  }
81228
79811
  var value = enc2(val);
81229
- if (value && !fieldContentRegExp.test(value)) {
79812
+ if (!cookieValueRegExp.test(value)) {
81230
79813
  throw new TypeError("argument val is invalid");
81231
79814
  }
81232
79815
  var str2 = name + "=" + value;
79816
+ if (!opt) return str2;
81233
79817
  if (null != opt.maxAge) {
81234
- var maxAge = opt.maxAge - 0;
81235
- if (isNaN(maxAge) || !isFinite(maxAge)) {
79818
+ var maxAge = Math.floor(opt.maxAge);
79819
+ if (!isFinite(maxAge)) {
81236
79820
  throw new TypeError("option maxAge is invalid");
81237
79821
  }
81238
- str2 += "; Max-Age=" + Math.floor(maxAge);
79822
+ str2 += "; Max-Age=" + maxAge;
81239
79823
  }
81240
79824
  if (opt.domain) {
81241
- if (!fieldContentRegExp.test(opt.domain)) {
79825
+ if (!domainValueRegExp.test(opt.domain)) {
81242
79826
  throw new TypeError("option domain is invalid");
81243
79827
  }
81244
79828
  str2 += "; Domain=" + opt.domain;
81245
79829
  }
81246
79830
  if (opt.path) {
81247
- if (!fieldContentRegExp.test(opt.path)) {
79831
+ if (!pathValueRegExp.test(opt.path)) {
81248
79832
  throw new TypeError("option path is invalid");
81249
79833
  }
81250
79834
  str2 += "; Path=" + opt.path;
@@ -81305,11 +79889,8 @@ var require_cookie = __commonJS2({
81305
79889
  function decode2(str2) {
81306
79890
  return str2.indexOf("%") !== -1 ? decodeURIComponent(str2) : str2;
81307
79891
  }
81308
- function encode4(val) {
81309
- return encodeURIComponent(val);
81310
- }
81311
79892
  function isDate2(val) {
81312
- return __toString.call(val) === "[object Date]" || val instanceof Date;
79893
+ return __toString.call(val) === "[object Date]";
81313
79894
  }
81314
79895
  function tryDecode(str2, decode3) {
81315
79896
  try {
@@ -81330,15 +79911,15 @@ var require_response = __commonJS2({
81330
79911
  var encodeUrl = require_encodeurl();
81331
79912
  var escapeHtml = require_escape_html();
81332
79913
  var http3 = __require2("http");
81333
- var isAbsolute = require_utils6().isAbsolute;
79914
+ var isAbsolute = require_utils4().isAbsolute;
81334
79915
  var onFinished = require_on_finished2();
81335
79916
  var path52 = __require2("path");
81336
79917
  var statuses = require_statuses();
81337
79918
  var merge2 = require_utils_merge();
81338
79919
  var sign = require_cookie_signature().sign;
81339
- var normalizeType = require_utils6().normalizeType;
81340
- var normalizeTypes = require_utils6().normalizeTypes;
81341
- var setCharset = require_utils6().setCharset;
79920
+ var normalizeType = require_utils4().normalizeType;
79921
+ var normalizeTypes = require_utils4().normalizeTypes;
79922
+ var setCharset = require_utils4().setCharset;
81342
79923
  var cookie = require_cookie();
81343
79924
  var send = require_send();
81344
79925
  var extname = path52.extname;
@@ -81348,7 +79929,6 @@ var require_response = __commonJS2({
81348
79929
  var res = Object.create(http3.ServerResponse.prototype);
81349
79930
  module2.exports = res;
81350
79931
  var charsetRegExp = /;\s*charset\s*=/;
81351
- var schemaAndHostRegExp = /^(?:[a-zA-Z][a-zA-Z0-9+.-]*:)?\/\/[^\\\/\?]+/;
81352
79932
  res.status = function status(code) {
81353
79933
  if ((typeof code === "string" || Math.floor(code) !== code) && code > 99 && code < 1e3) {
81354
79934
  deprecate("res.status(" + JSON.stringify(code) + "): use res.status(" + Math.floor(code) + ") instead");
@@ -81670,6 +80250,14 @@ var require_response = __commonJS2({
81670
80250
  return this.getHeader(field);
81671
80251
  };
81672
80252
  res.clearCookie = function clearCookie(name, options2) {
80253
+ if (options2) {
80254
+ if (options2.maxAge) {
80255
+ deprecate('res.clearCookie: Passing "options.maxAge" is deprecated. In v5.0.0 of Express, this option will be ignored, as res.clearCookie will automatically set cookies to expire immediately. Please update your code to omit this option.');
80256
+ }
80257
+ if (options2.expires) {
80258
+ deprecate('res.clearCookie: Passing "options.expires" is deprecated. In v5.0.0 of Express, this option will be ignored, as res.clearCookie will automatically set cookies to expire immediately. Please update your code to omit this option.');
80259
+ }
80260
+ }
81673
80261
  var opts = merge2({ expires: /* @__PURE__ */ new Date(1), path: "/" }, options2);
81674
80262
  return this.cookie(name, "", opts);
81675
80263
  };
@@ -81700,14 +80288,12 @@ var require_response = __commonJS2({
81700
80288
  res.location = function location(url5) {
81701
80289
  var loc;
81702
80290
  if (url5 === "back") {
80291
+ deprecate('res.location("back"): use res.location(req.get("Referrer") || "/") and refer to https://dub.sh/security-redirect for best practices');
81703
80292
  loc = this.req.get("Referrer") || "/";
81704
80293
  } else {
81705
80294
  loc = String(url5);
81706
80295
  }
81707
- var m2 = schemaAndHostRegExp.exec(loc);
81708
- var pos = m2 ? m2[0].length + 1 : 0;
81709
- loc = loc.slice(0, pos) + encodeUrl(loc.slice(pos));
81710
- return this.set("Location", loc);
80296
+ return this.set("Location", encodeUrl(loc));
81711
80297
  };
81712
80298
  res.redirect = function redirect(url5) {
81713
80299
  var address = url5;
@@ -81729,7 +80315,7 @@ var require_response = __commonJS2({
81729
80315
  },
81730
80316
  html: function() {
81731
80317
  var u = escapeHtml(address);
81732
- body2 = "<p>" + statuses.message[status] + '. Redirecting to <a href="' + u + '">' + u + "</a></p>";
80318
+ body2 = "<p>" + statuses.message[status] + ". Redirecting to " + u + "</p>";
81733
80319
  },
81734
80320
  default: function() {
81735
80321
  body2 = "";
@@ -81944,7 +80530,7 @@ var require_serve_static = __commonJS2({
81944
80530
  originalUrl.path = null;
81945
80531
  originalUrl.pathname = collapseLeadingSlashes(originalUrl.pathname + "/");
81946
80532
  var loc = encodeUrl(url5.format(originalUrl));
81947
- var doc = createHtmlDocument("Redirecting", 'Redirecting to <a href="' + escapeHtml(loc) + '">' + escapeHtml(loc) + "</a>");
80533
+ var doc = createHtmlDocument("Redirecting", "Redirecting to " + escapeHtml(loc));
81948
80534
  res.statusCode = 301;
81949
80535
  res.setHeader("Content-Type", "text/html; charset=UTF-8");
81950
80536
  res.setHeader("Content-Length", Buffer.byteLength(doc));
@@ -82029,7 +80615,7 @@ var require_express2 = __commonJS2({
82029
80615
  module2.exports = require_express();
82030
80616
  }
82031
80617
  });
82032
- var require_lib7 = __commonJS2({
80618
+ var require_lib5 = __commonJS2({
82033
80619
  "node_modules/http-graceful-shutdown/lib/index.js"(exports2, module2) {
82034
80620
  "use strict";
82035
80621
  var debug22 = require_src()("http-graceful-shutdown");
@@ -119811,7 +118397,7 @@ var require_json3 = __commonJS2({
119811
118397
  module2.exports = parseJSON;
119812
118398
  }
119813
118399
  });
119814
- var require_parse4 = __commonJS2({
118400
+ var require_parse2 = __commonJS2({
119815
118401
  "node_modules/node-jose/lib/parse/index.js"(exports2, module2) {
119816
118402
  "use strict";
119817
118403
  var compact = require_compact();
@@ -119831,7 +118417,7 @@ var require_parse4 = __commonJS2({
119831
118417
  parse7.json = json;
119832
118418
  }
119833
118419
  });
119834
- var require_lib8 = __commonJS2({
118420
+ var require_lib6 = __commonJS2({
119835
118421
  "node_modules/node-jose/lib/index.js"(exports2, module2) {
119836
118422
  "use strict";
119837
118423
  if (typeof Promise === "undefined") {
@@ -119853,7 +118439,7 @@ var require_lib8 = __commonJS2({
119853
118439
  JWK: require_jwk(),
119854
118440
  JWS,
119855
118441
  util: require_util2(),
119856
- parse: require_parse4(),
118442
+ parse: require_parse2(),
119857
118443
  canYouSee: JWS.createVerify
119858
118444
  };
119859
118445
  }
@@ -120376,7 +118962,10 @@ function AxiosError(message, code, config, request, response2) {
120376
118962
  code && (this.code = code);
120377
118963
  config && (this.config = config);
120378
118964
  request && (this.request = request);
120379
- response2 && (this.response = response2);
118965
+ if (response2) {
118966
+ this.response = response2;
118967
+ this.status = response2.status ? response2.status : null;
118968
+ }
120380
118969
  }
120381
118970
  utils_default.inherits(AxiosError, Error, {
120382
118971
  toJSON: function toJSON() {
@@ -120395,7 +118984,7 @@ utils_default.inherits(AxiosError, Error, {
120395
118984
  // Axios
120396
118985
  config: utils_default.toJSONObject(this.config),
120397
118986
  code: this.code,
120398
- status: this.response && this.response.status ? this.response.status : null
118987
+ status: this.status
120399
118988
  };
120400
118989
  }
120401
118990
  });
@@ -120683,12 +119272,12 @@ __export(utils_exports, {
120683
119272
  hasBrowserEnv: () => hasBrowserEnv,
120684
119273
  hasStandardBrowserEnv: () => hasStandardBrowserEnv,
120685
119274
  hasStandardBrowserWebWorkerEnv: () => hasStandardBrowserWebWorkerEnv,
119275
+ navigator: () => _navigator,
120686
119276
  origin: () => origin
120687
119277
  });
120688
119278
  var hasBrowserEnv = typeof window !== "undefined" && typeof document !== "undefined";
120689
- var hasStandardBrowserEnv = ((product) => {
120690
- return hasBrowserEnv && ["ReactNative", "NativeScript", "NS"].indexOf(product) < 0;
120691
- })(typeof navigator !== "undefined" && navigator.product);
119279
+ var _navigator = typeof navigator === "object" && navigator || void 0;
119280
+ var hasStandardBrowserEnv = hasBrowserEnv && (!_navigator || ["ReactNative", "NativeScript", "NS"].indexOf(_navigator.product) < 0);
120692
119281
  var hasStandardBrowserWebWorkerEnv = (() => {
120693
119282
  return typeof WorkerGlobalScope !== "undefined" && // eslint-disable-next-line no-undef
120694
119283
  self instanceof WorkerGlobalScope && typeof self.importScripts === "function";
@@ -121179,7 +119768,7 @@ function buildFullPath(baseURL, requestedURL) {
121179
119768
  }
121180
119769
  var import_proxy_from_env = __toESM2(require_proxy_from_env(), 1);
121181
119770
  var import_follow_redirects = __toESM2(require_follow_redirects(), 1);
121182
- var VERSION = "1.7.4";
119771
+ var VERSION = "1.7.7";
121183
119772
  function parseProtocol(url5) {
121184
119773
  const match2 = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url5);
121185
119774
  return match2 && match2[1] || "";
@@ -121683,7 +120272,7 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
121683
120272
  }
121684
120273
  }
121685
120274
  const fullPath = buildFullPath(config.baseURL, config.url);
121686
- const parsed = new URL(fullPath, utils_default.hasBrowserEnv ? platform_default.origin : void 0);
120275
+ const parsed = new URL(fullPath, platform_default.hasBrowserEnv ? platform_default.origin : void 0);
121687
120276
  const protocol = parsed.protocol || supportedProtocols[0];
121688
120277
  if (protocol === "data:") {
121689
120278
  let convertedData;
@@ -121842,7 +120431,7 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
121842
120431
  if (config.socketPath) {
121843
120432
  options2.socketPath = config.socketPath;
121844
120433
  } else {
121845
- options2.hostname = parsed.hostname;
120434
+ options2.hostname = parsed.hostname.startsWith("[") ? parsed.hostname.slice(1, -1) : parsed.hostname;
121846
120435
  options2.port = parsed.port;
121847
120436
  setProxy(options2, config.proxy, protocol + "//" + parsed.hostname + (parsed.port ? ":" + parsed.port : "") + options2.path);
121848
120437
  }
@@ -122047,7 +120636,7 @@ var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? (
122047
120636
  // Standard browser envs have full support of the APIs needed to test
122048
120637
  // whether the request URL is of the same origin as current location.
122049
120638
  function standardBrowserEnv() {
122050
- const msie = /(msie|trident)/i.test(navigator.userAgent);
120639
+ const msie = platform_default.navigator && /(msie|trident)/i.test(platform_default.navigator.userAgent);
122051
120640
  const urlParsingNode = document.createElement("a");
122052
120641
  let originURL;
122053
120642
  function resolveURL(url5) {
@@ -122348,36 +120937,37 @@ var xhr_default = isXHRAdapterSupported && function(config) {
122348
120937
  });
122349
120938
  };
122350
120939
  var composeSignals = (signals, timeout4) => {
122351
- let controller = new AbortController();
122352
- let aborted;
122353
- const onabort = function(cancel) {
122354
- if (!aborted) {
122355
- aborted = true;
122356
- unsubscribe();
122357
- const err = cancel instanceof Error ? cancel : this.reason;
122358
- controller.abort(err instanceof AxiosError_default ? err : new CanceledError_default(err instanceof Error ? err.message : err));
122359
- }
122360
- };
122361
- let timer = timeout4 && setTimeout(() => {
122362
- onabort(new AxiosError_default(`timeout ${timeout4} of ms exceeded`, AxiosError_default.ETIMEDOUT));
122363
- }, timeout4);
122364
- const unsubscribe = () => {
122365
- if (signals) {
122366
- timer && clearTimeout(timer);
120940
+ const { length } = signals = signals ? signals.filter(Boolean) : [];
120941
+ if (timeout4 || length) {
120942
+ let controller = new AbortController();
120943
+ let aborted;
120944
+ const onabort = function(reason) {
120945
+ if (!aborted) {
120946
+ aborted = true;
120947
+ unsubscribe();
120948
+ const err = reason instanceof Error ? reason : this.reason;
120949
+ controller.abort(err instanceof AxiosError_default ? err : new CanceledError_default(err instanceof Error ? err.message : err));
120950
+ }
120951
+ };
120952
+ let timer = timeout4 && setTimeout(() => {
122367
120953
  timer = null;
122368
- signals.forEach((signal2) => {
122369
- signal2 && (signal2.removeEventListener ? signal2.removeEventListener("abort", onabort) : signal2.unsubscribe(onabort));
122370
- });
122371
- signals = null;
122372
- }
122373
- };
122374
- signals.forEach((signal2) => signal2 && signal2.addEventListener && signal2.addEventListener("abort", onabort));
122375
- const { signal } = controller;
122376
- signal.unsubscribe = unsubscribe;
122377
- return [signal, () => {
122378
- timer && clearTimeout(timer);
122379
- timer = null;
122380
- }];
120954
+ onabort(new AxiosError_default(`timeout ${timeout4} of ms exceeded`, AxiosError_default.ETIMEDOUT));
120955
+ }, timeout4);
120956
+ const unsubscribe = () => {
120957
+ if (signals) {
120958
+ timer && clearTimeout(timer);
120959
+ timer = null;
120960
+ signals.forEach((signal2) => {
120961
+ signal2.unsubscribe ? signal2.unsubscribe(onabort) : signal2.removeEventListener("abort", onabort);
120962
+ });
120963
+ signals = null;
120964
+ }
120965
+ };
120966
+ signals.forEach((signal2) => signal2.addEventListener("abort", onabort));
120967
+ const { signal } = controller;
120968
+ signal.unsubscribe = () => utils_default.asap(unsubscribe);
120969
+ return signal;
120970
+ }
122381
120971
  };
122382
120972
  var composeSignals_default = composeSignals;
122383
120973
  var streamChunk = function* (chunk, chunkSize) {
@@ -122394,13 +120984,31 @@ var streamChunk = function* (chunk, chunkSize) {
122394
120984
  pos = end;
122395
120985
  }
122396
120986
  };
122397
- var readBytes = async function* (iterable, chunkSize, encode4) {
122398
- for await (const chunk of iterable) {
122399
- yield* streamChunk(ArrayBuffer.isView(chunk) ? chunk : await encode4(String(chunk)), chunkSize);
120987
+ var readBytes = async function* (iterable, chunkSize) {
120988
+ for await (const chunk of readStream(iterable)) {
120989
+ yield* streamChunk(chunk, chunkSize);
120990
+ }
120991
+ };
120992
+ var readStream = async function* (stream4) {
120993
+ if (stream4[Symbol.asyncIterator]) {
120994
+ yield* stream4;
120995
+ return;
120996
+ }
120997
+ const reader = stream4.getReader();
120998
+ try {
120999
+ for (; ; ) {
121000
+ const { done, value } = await reader.read();
121001
+ if (done) {
121002
+ break;
121003
+ }
121004
+ yield value;
121005
+ }
121006
+ } finally {
121007
+ await reader.cancel();
122400
121008
  }
122401
121009
  };
122402
- var trackStream = (stream4, chunkSize, onProgress, onFinish, encode4) => {
122403
- const iterator = readBytes(stream4, chunkSize, encode4);
121010
+ var trackStream = (stream4, chunkSize, onProgress, onFinish) => {
121011
+ const iterator = readBytes(stream4, chunkSize);
122404
121012
  let bytes = 0;
122405
121013
  let done;
122406
121014
  let _onFinish = (e) => {
@@ -122479,7 +121087,11 @@ var getBodyLength = async (body2) => {
122479
121087
  return body2.size;
122480
121088
  }
122481
121089
  if (utils_default.isSpecCompliantForm(body2)) {
122482
- return (await new Request(body2).arrayBuffer()).byteLength;
121090
+ const _request = new Request(platform_default.origin, {
121091
+ method: "POST",
121092
+ body: body2
121093
+ });
121094
+ return (await _request.arrayBuffer()).byteLength;
122483
121095
  }
122484
121096
  if (utils_default.isArrayBufferView(body2) || utils_default.isArrayBuffer(body2)) {
122485
121097
  return body2.byteLength;
@@ -122511,14 +121123,11 @@ var fetch_default = isFetchSupported && (async (config) => {
122511
121123
  fetchOptions
122512
121124
  } = resolveConfig_default(config);
122513
121125
  responseType = responseType ? (responseType + "").toLowerCase() : "text";
122514
- let [composedSignal, stopTimeout] = signal || cancelToken || timeout4 ? composeSignals_default([signal, cancelToken], timeout4) : [];
122515
- let finished, request;
122516
- const onFinish = () => {
122517
- !finished && setTimeout(() => {
122518
- composedSignal && composedSignal.unsubscribe();
122519
- });
122520
- finished = true;
122521
- };
121126
+ let composedSignal = composeSignals_default([signal, cancelToken && cancelToken.toAbortSignal()], timeout4);
121127
+ let request;
121128
+ const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => {
121129
+ composedSignal.unsubscribe();
121130
+ });
122522
121131
  let requestContentLength;
122523
121132
  try {
122524
121133
  if (onUploadProgress && supportsRequestStream && method2 !== "get" && method2 !== "head" && (requestContentLength = await resolveBodyLength(headers2, data2)) !== 0) {
@@ -122536,12 +121145,13 @@ var fetch_default = isFetchSupported && (async (config) => {
122536
121145
  requestContentLength,
122537
121146
  progressEventReducer(asyncDecorator(onUploadProgress))
122538
121147
  );
122539
- data2 = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush2, encodeText);
121148
+ data2 = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush2);
122540
121149
  }
122541
121150
  }
122542
121151
  if (!utils_default.isString(withCredentials)) {
122543
121152
  withCredentials = withCredentials ? "include" : "omit";
122544
121153
  }
121154
+ const isCredentialsSupported = "credentials" in Request.prototype;
122545
121155
  request = new Request(url5, {
122546
121156
  ...fetchOptions,
122547
121157
  signal: composedSignal,
@@ -122549,11 +121159,11 @@ var fetch_default = isFetchSupported && (async (config) => {
122549
121159
  headers: headers2.normalize().toJSON(),
122550
121160
  body: data2,
122551
121161
  duplex: "half",
122552
- credentials: withCredentials
121162
+ credentials: isCredentialsSupported ? withCredentials : void 0
122553
121163
  });
122554
121164
  let response2 = await fetch(request);
122555
121165
  const isStreamResponse = supportsResponseStream && (responseType === "stream" || responseType === "response");
122556
- if (supportsResponseStream && (onDownloadProgress || isStreamResponse)) {
121166
+ if (supportsResponseStream && (onDownloadProgress || isStreamResponse && unsubscribe)) {
122557
121167
  const options2 = {};
122558
121168
  ["status", "statusText", "headers"].forEach((prop) => {
122559
121169
  options2[prop] = response2[prop];
@@ -122566,15 +121176,14 @@ var fetch_default = isFetchSupported && (async (config) => {
122566
121176
  response2 = new Response(
122567
121177
  trackStream(response2.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
122568
121178
  flush2 && flush2();
122569
- isStreamResponse && onFinish();
122570
- }, encodeText),
121179
+ unsubscribe && unsubscribe();
121180
+ }),
122571
121181
  options2
122572
121182
  );
122573
121183
  }
122574
121184
  responseType = responseType || "text";
122575
121185
  let responseData = await resolvers[utils_default.findKey(resolvers, responseType) || "text"](response2, config);
122576
- !isStreamResponse && onFinish();
122577
- stopTimeout && stopTimeout();
121186
+ !isStreamResponse && unsubscribe && unsubscribe();
122578
121187
  return await new Promise((resolve5, reject5) => {
122579
121188
  settle(resolve5, reject5, {
122580
121189
  data: responseData,
@@ -122586,7 +121195,7 @@ var fetch_default = isFetchSupported && (async (config) => {
122586
121195
  });
122587
121196
  });
122588
121197
  } catch (err) {
122589
- onFinish();
121198
+ unsubscribe && unsubscribe();
122590
121199
  if (err && err.name === "TypeError" && /fetch/i.test(err.message)) {
122591
121200
  throw Object.assign(
122592
121201
  new AxiosError_default("Network Error", AxiosError_default.ERR_NETWORK, config, request),
@@ -122981,6 +121590,15 @@ var CancelToken = class _CancelToken {
122981
121590
  this._listeners.splice(index2, 1);
122982
121591
  }
122983
121592
  }
121593
+ toAbortSignal() {
121594
+ const controller = new AbortController();
121595
+ const abort = (err) => {
121596
+ controller.abort(err);
121597
+ };
121598
+ this.subscribe(abort);
121599
+ controller.signal.unsubscribe = () => this.unsubscribe(abort);
121600
+ return controller.signal;
121601
+ }
122984
121602
  /**
122985
121603
  * Returns an object that contains a new `CancelToken` and a function that, when called,
122986
121604
  * cancels the `CancelToken`.
@@ -123541,7 +122159,7 @@ function stringify(obj) {
123541
122159
  }
123542
122160
  var package_default = {
123543
122161
  name: "@rockcarver/frodo-lib",
123544
- version: "2.1.2-0",
122162
+ version: "2.2.0",
123545
122163
  type: "commonjs",
123546
122164
  main: "./dist/index.js",
123547
122165
  module: "./dist/index.mjs",
@@ -139883,7 +138501,7 @@ var import_fs_extra = __toESM2(require_lib2());
139883
138501
  var import_cors = __toESM2(require_lib3());
139884
138502
  var import_morgan = __toESM2(require_morgan());
139885
138503
  var import_express = __toESM2(require_express2());
139886
- var import_http_graceful_shutdown = __toESM2(require_lib7());
138504
+ var import_http_graceful_shutdown = __toESM2(require_lib5());
139887
138505
  var import_body_parser = __toESM2(require_body_parser());
139888
138506
  var import_nocache = __toESM2(require_nocache());
139889
138507
  var API = class {
@@ -141623,9 +140241,9 @@ var AVAILABLE_SCOPES = {
141623
140241
  // Promotion scopes
141624
140242
  PromotionScope: "fr:idc:promotion:*",
141625
140243
  // WAF scopes
141626
- WafFullScope: "fr:idc:advanced-gateway:*",
141627
- WafReadScope: "fr:idc:advanced-gateway:read",
141628
- WafWriteScope: "fr:idc:advanced-gateway:write",
140244
+ WafFullScope: "fr:idc:proxy-connect:*",
140245
+ WafReadScope: "fr:idc:proxy-connect:read",
140246
+ WafWriteScope: "fr:idc:proxy-connect:write",
141629
140247
  // Cookie Domains scopes
141630
140248
  CookieDomainsFullScope: "fr:idc:cookie-domain:*",
141631
140249
  // Admin Federation Enforcement
@@ -143899,7 +142517,7 @@ async function importOAuth2Clients({
143899
142517
  }
143900
142518
  return response2;
143901
142519
  }
143902
- var import_node_jose = __toESM2(require_lib8());
142520
+ var import_node_jose = __toESM2(require_lib6());
143903
142521
  var JoseOps_default = (_state) => {
143904
142522
  return {
143905
142523
  async createJwkRsa() {
@@ -148546,6 +147164,36 @@ async function deleteWebAgent({
148546
147164
  throw new FrodoError(`Error deleting web agent ${agentId}`, error2);
148547
147165
  }
148548
147166
  }
147167
+ var ApiFactoryOps_default = (state2) => {
147168
+ return {
147169
+ generateAmApi(resource, requestOverride) {
147170
+ return generateAmApi({ resource, requestOverride, state: state2 });
147171
+ },
147172
+ generateOauth2Api(resource, requestOverride, authenticate) {
147173
+ return generateOauth2Api({
147174
+ resource,
147175
+ requestOverride,
147176
+ authenticate,
147177
+ state: state2
147178
+ });
147179
+ },
147180
+ generateIdmApi(requestOverride) {
147181
+ return generateIdmApi({ requestOverride, state: state2 });
147182
+ },
147183
+ generateLogKeysApi(requestOverride) {
147184
+ return generateLogKeysApi({ requestOverride, state: state2 });
147185
+ },
147186
+ generateLogApi(requestOverride) {
147187
+ return generateLogApi({ requestOverride, state: state2 });
147188
+ },
147189
+ generateEnvApi(resource, requestOverride) {
147190
+ return generateEnvApi({ resource, requestOverride, state: state2 });
147191
+ },
147192
+ generateReleaseApi(baseUrl, requestOverride) {
147193
+ return generateReleaseApi({ baseUrl, requestOverride, state: state2 });
147194
+ }
147195
+ };
147196
+ };
148549
147197
  var circleOfTrustByIdURLTemplate = "%s/json%s/realm-config/federation/circlesoftrust/%s";
148550
147198
  var createCircleOfTrustURLTemplate = "%s/json%s/realm-config/federation/circlesoftrust/?_action=create";
148551
147199
  var queryAllCirclesOfTrustURLTemplate = "%s/json%s/realm-config/federation/circlesoftrust?_queryFilter=true";
@@ -153229,9 +151877,7 @@ async function getServerVersionInfo({ state: state2 }) {
153229
151877
  return data2;
153230
151878
  }
153231
151879
  var envInfoURLTemplate = "%s/feature?_queryFilter=true";
153232
- var getApiConfig12 = () => ({
153233
- path: `/feature`
153234
- });
151880
+ var getApiConfig12 = () => ({});
153235
151881
  async function getFeatures({ state: state2 }) {
153236
151882
  const urlString = _util2.default.format(
153237
151883
  envInfoURLTemplate,
@@ -154834,7 +153480,8 @@ async function determineDeploymentType(state2) {
154834
153480
  const config = {
154835
153481
  maxRedirects: 0,
154836
153482
  headers: {
154837
- [state2.getCookieName()]: state2.getCookieValue()
153483
+ [state2.getCookieName()]: state2.getCookieValue(),
153484
+ "Content-Type": "application/x-www-form-urlencoded"
154838
153485
  }
154839
153486
  };
154840
153487
  let bodyFormData = `redirect_uri=${redirectUri}&scope=${cloudAdminScopes}&response_type=code&client_id=${fidcClientId}&csrf=${cookieValue}&decision=allow&code_challenge=${challenge}&code_challenge_method=${challengeMethod}`;
@@ -167643,6 +166290,7 @@ var FrodoLib = (config = {}) => {
167643
166290
  email: {
167644
166291
  template: EmailTemplateOps_default(state2)
167645
166292
  },
166293
+ factory: ApiFactoryOps_default(state2),
167646
166294
  idm: {
167647
166295
  config: IdmConfigOps_default(state2),
167648
166296
  connector: ConnectorOps_default(state2),
@@ -167752,7 +166400,7 @@ _chunkMPPKDFVIcjs.init_cjs_shims.call(void 0, );
167752
166400
  _chunkMPPKDFVIcjs.init_cjs_shims.call(void 0, );
167753
166401
  var import_cli_progress = _chunkMPPKDFVIcjs.__toESM.call(void 0, require_cli_progress(), 1);
167754
166402
  var import_cli_table3 = _chunkMPPKDFVIcjs.__toESM.call(void 0, require_cli_table3(), 1);
167755
- var import_colors = _chunkMPPKDFVIcjs.__toESM.call(void 0, require_lib9(), 1);
166403
+ var import_colors = _chunkMPPKDFVIcjs.__toESM.call(void 0, require_lib7(), 1);
167756
166404
  var import_nanospinner = _chunkMPPKDFVIcjs.__toESM.call(void 0, require_nanospinner(), 1);
167757
166405
 
167758
166406
  // node_modules/uuid/dist/esm-node/index.js
@@ -188887,7 +187535,7 @@ function setup181() {
188887
187535
 
188888
187536
  // src/utils/Version.ts
188889
187537
  _chunkMPPKDFVIcjs.init_cjs_shims.call(void 0, );
188890
- var import_colors2 = _chunkMPPKDFVIcjs.__toESM.call(void 0, require_lib9(), 1);
187538
+ var import_colors2 = _chunkMPPKDFVIcjs.__toESM.call(void 0, require_lib7(), 1);
188891
187539
 
188892
187540
  // node_modules/compare-versions/lib/esm/index.js
188893
187541
  _chunkMPPKDFVIcjs.init_cjs_shims.call(void 0, );
@@ -188959,7 +187607,7 @@ var compareVersions = (v12, v2) => {
188959
187607
  // package.json
188960
187608
  var package_default2 = {
188961
187609
  name: "@rockcarver/frodo-cli",
188962
- version: "2.0.6-2",
187610
+ version: "2.1.0",
188963
187611
  type: "module",
188964
187612
  description: "A command line interface to manage ForgeRock Identity Cloud tenants, ForgeOps deployments, and classic deployments.",
188965
187613
  keywords: [
@@ -189073,7 +187721,7 @@ var package_default2 = {
189073
187721
  ]
189074
187722
  },
189075
187723
  devDependencies: {
189076
- "@rockcarver/frodo-lib": "2.1.2-0",
187724
+ "@rockcarver/frodo-lib": "2.2.0",
189077
187725
  "@types/colors": "^1.2.1",
189078
187726
  "@types/fs-extra": "^11.0.1",
189079
187727
  "@types/jest": "^29.2.3",
@@ -189697,6 +188345,13 @@ tmp/lib/tmp.js:
189697
188345
  * MIT Licensed
189698
188346
  *)
189699
188347
 
188348
+ encodeurl/index.js:
188349
+ (*!
188350
+ * encodeurl
188351
+ * Copyright(c) 2016 Douglas Christopher Wilson
188352
+ * MIT Licensed
188353
+ *)
188354
+
189700
188355
  etag/index.js:
189701
188356
  (*!
189702
188357
  * etag