@rsdoctor/cli 1.5.7 → 1.5.8
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/fetch-http.d.ts +3 -0
- package/dist/index.cjs +13 -3814
- package/dist/index.js +47 -3783
- package/dist/utils.d.ts +1 -1
- package/dist/utils.test.d.ts +1 -0
- package/package.json +7 -8
- package/dist/index.cjs.LICENSE.txt +0 -13
- package/dist/index.js.LICENSE.txt +0 -13
- package/dist/rslib-runtime.js +0 -24
package/dist/index.js
CHANGED
|
@@ -1,1654 +1,43 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import * as __rspack_external_assert from "assert";
|
|
4
|
-
import crypto_0, * as __rspack_external_crypto from "crypto";
|
|
5
|
-
import fs, * as __rspack_external_fs from "fs";
|
|
6
|
-
import http, * as __rspack_external_http from "http";
|
|
7
|
-
import https, * as __rspack_external_https from "https";
|
|
8
|
-
import * as __rspack_external_os from "os";
|
|
9
|
-
import path_0, * as __rspack_external_path from "path";
|
|
10
|
-
import stream_0, * as __rspack_external_stream from "stream";
|
|
11
|
-
import * as __rspack_external_tty from "tty";
|
|
12
|
-
import url_0, * as __rspack_external_url from "url";
|
|
13
|
-
import util, * as __rspack_external_util from "util";
|
|
14
|
-
import { __webpack_require__ } from "./rslib-runtime.js";
|
|
15
|
-
import { Algorithm, Graph, Manifest, Url } from "@rsdoctor/utils/common";
|
|
1
|
+
let runtimeProcessArgs, runtimeInfo;
|
|
2
|
+
import { Algorithm, Fetch, Graph, Manifest, Url } from "@rsdoctor/utils/common";
|
|
16
3
|
import { Client, Constants, Manifest as types_Manifest, SDK } from "@rsdoctor/types";
|
|
17
4
|
import { RsdoctorSDK } from "@rsdoctor/sdk";
|
|
18
5
|
import ora from "ora";
|
|
19
|
-
import
|
|
20
|
-
import zlib from "zlib";
|
|
21
|
-
import { Readable } from "stream";
|
|
22
|
-
import { EventEmitter } from "events";
|
|
6
|
+
import path from "path";
|
|
23
7
|
import node_fs from "node:fs";
|
|
8
|
+
import fs from "fs";
|
|
24
9
|
import { createRequire } from "node:module";
|
|
25
10
|
import { logger } from "@rsdoctor/utils/logger";
|
|
26
11
|
import { TransUtils } from "@rsdoctor/graph";
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
"../../node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/lib/defer.js" (module) {
|
|
57
|
-
module.exports = function(fn) {
|
|
58
|
-
var nextTick = 'function' == typeof setImmediate ? setImmediate : 'object' == typeof process && 'function' == typeof process.nextTick ? process.nextTick : null;
|
|
59
|
-
nextTick ? nextTick(fn) : setTimeout(fn, 0);
|
|
60
|
-
};
|
|
61
|
-
},
|
|
62
|
-
"../../node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/lib/iterate.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
63
|
-
var async = __webpack_require__("../../node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/lib/async.js"), abort = __webpack_require__("../../node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/lib/abort.js");
|
|
64
|
-
module.exports = function(list, iterator, state, callback) {
|
|
65
|
-
var iterator1, key, item, callback1, key1 = state.keyedList ? state.keyedList[state.index] : state.index;
|
|
66
|
-
state.jobs[key1] = (iterator1 = iterator, key = key1, item = list[key1], callback1 = function(error, output) {
|
|
67
|
-
key1 in state.jobs && (delete state.jobs[key1], error ? abort(state) : state.results[key1] = output, callback(error, state.results));
|
|
68
|
-
}, 2 == iterator1.length ? iterator1(item, async(callback1)) : iterator1(item, key, async(callback1)));
|
|
69
|
-
};
|
|
70
|
-
},
|
|
71
|
-
"../../node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/lib/state.js" (module) {
|
|
72
|
-
module.exports = function(list, sortMethod) {
|
|
73
|
-
var isNamedList = !Array.isArray(list), initState = {
|
|
74
|
-
index: 0,
|
|
75
|
-
keyedList: isNamedList || sortMethod ? Object.keys(list) : null,
|
|
76
|
-
jobs: {},
|
|
77
|
-
results: isNamedList ? {} : [],
|
|
78
|
-
size: isNamedList ? Object.keys(list).length : list.length
|
|
79
|
-
};
|
|
80
|
-
return sortMethod && initState.keyedList.sort(isNamedList ? sortMethod : function(a, b) {
|
|
81
|
-
return sortMethod(list[a], list[b]);
|
|
82
|
-
}), initState;
|
|
83
|
-
};
|
|
84
|
-
},
|
|
85
|
-
"../../node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/lib/terminator.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
86
|
-
var abort = __webpack_require__("../../node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/lib/abort.js"), async = __webpack_require__("../../node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/lib/async.js");
|
|
87
|
-
module.exports = function(callback) {
|
|
88
|
-
Object.keys(this.jobs).length && (this.index = this.size, abort(this), async(callback)(null, this.results));
|
|
89
|
-
};
|
|
90
|
-
},
|
|
91
|
-
"../../node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/parallel.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
92
|
-
var iterate = __webpack_require__("../../node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/lib/iterate.js"), initState = __webpack_require__("../../node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/lib/state.js"), terminator = __webpack_require__("../../node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/lib/terminator.js");
|
|
93
|
-
module.exports = function(list, iterator, callback) {
|
|
94
|
-
for(var state = initState(list); state.index < (state.keyedList || list).length;)iterate(list, iterator, state, function(error, result) {
|
|
95
|
-
error ? callback(error, result) : 0 === Object.keys(state.jobs).length && callback(null, state.results);
|
|
96
|
-
}), state.index++;
|
|
97
|
-
return terminator.bind(state, callback);
|
|
98
|
-
};
|
|
99
|
-
},
|
|
100
|
-
"../../node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/serial.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
101
|
-
var serialOrdered = __webpack_require__("../../node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/serialOrdered.js");
|
|
102
|
-
module.exports = function(list, iterator, callback) {
|
|
103
|
-
return serialOrdered(list, iterator, null, callback);
|
|
104
|
-
};
|
|
105
|
-
},
|
|
106
|
-
"../../node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/serialOrdered.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
107
|
-
var iterate = __webpack_require__("../../node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/lib/iterate.js"), initState = __webpack_require__("../../node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/lib/state.js"), terminator = __webpack_require__("../../node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/lib/terminator.js");
|
|
108
|
-
function ascending(a, b) {
|
|
109
|
-
return a < b ? -1 : +(a > b);
|
|
110
|
-
}
|
|
111
|
-
module.exports = function(list, iterator, sortMethod, callback) {
|
|
112
|
-
var state = initState(list, sortMethod);
|
|
113
|
-
return iterate(list, iterator, state, function iteratorHandler(error, result) {
|
|
114
|
-
error ? callback(error, result) : (state.index++, state.index < (state.keyedList || list).length) ? iterate(list, iterator, state, iteratorHandler) : callback(null, state.results);
|
|
115
|
-
}), terminator.bind(state, callback);
|
|
116
|
-
}, module.exports.ascending = ascending, module.exports.descending = function(a, b) {
|
|
117
|
-
return -1 * ascending(a, b);
|
|
118
|
-
};
|
|
119
|
-
},
|
|
120
|
-
"../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
121
|
-
var bind = __webpack_require__("../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"), $apply = __webpack_require__("../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js"), $call = __webpack_require__("../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js");
|
|
122
|
-
module.exports = __webpack_require__("../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.js") || bind.call($call, $apply);
|
|
123
|
-
},
|
|
124
|
-
"../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js" (module) {
|
|
125
|
-
module.exports = Function.prototype.apply;
|
|
126
|
-
},
|
|
127
|
-
"../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js" (module) {
|
|
128
|
-
module.exports = Function.prototype.call;
|
|
129
|
-
},
|
|
130
|
-
"../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
131
|
-
var bind = __webpack_require__("../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"), $TypeError = __webpack_require__("../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js"), $call = __webpack_require__("../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js"), $actualApply = __webpack_require__("../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js");
|
|
132
|
-
module.exports = function(args) {
|
|
133
|
-
if (args.length < 1 || 'function' != typeof args[0]) throw new $TypeError('a function is required');
|
|
134
|
-
return $actualApply(bind, $call, args);
|
|
135
|
-
};
|
|
136
|
-
},
|
|
137
|
-
"../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.js" (module) {
|
|
138
|
-
module.exports = "u" > typeof Reflect && Reflect && Reflect.apply;
|
|
139
|
-
},
|
|
140
|
-
"../../node_modules/.pnpm/combined-stream@1.0.8/node_modules/combined-stream/lib/combined_stream.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
141
|
-
var util = __webpack_require__("util?2349"), Stream = __webpack_require__("stream?3cf7").Stream, DelayedStream = __webpack_require__("../../node_modules/.pnpm/delayed-stream@1.0.0/node_modules/delayed-stream/lib/delayed_stream.js");
|
|
142
|
-
function CombinedStream() {
|
|
143
|
-
this.writable = !1, this.readable = !0, this.dataSize = 0, this.maxDataSize = 2097152, this.pauseStreams = !0, this._released = !1, this._streams = [], this._currentStream = null, this._insideLoop = !1, this._pendingNext = !1;
|
|
144
|
-
}
|
|
145
|
-
module.exports = CombinedStream, util.inherits(CombinedStream, Stream), CombinedStream.create = function(options) {
|
|
146
|
-
var combinedStream = new this();
|
|
147
|
-
for(var option in options = options || {})combinedStream[option] = options[option];
|
|
148
|
-
return combinedStream;
|
|
149
|
-
}, CombinedStream.isStreamLike = function(stream) {
|
|
150
|
-
return 'function' != typeof stream && 'string' != typeof stream && 'boolean' != typeof stream && 'number' != typeof stream && !Buffer.isBuffer(stream);
|
|
151
|
-
}, CombinedStream.prototype.append = function(stream) {
|
|
152
|
-
if (CombinedStream.isStreamLike(stream)) {
|
|
153
|
-
if (!(stream instanceof DelayedStream)) {
|
|
154
|
-
var newStream = DelayedStream.create(stream, {
|
|
155
|
-
maxDataSize: 1 / 0,
|
|
156
|
-
pauseStream: this.pauseStreams
|
|
157
|
-
});
|
|
158
|
-
stream.on('data', this._checkDataSize.bind(this)), stream = newStream;
|
|
159
|
-
}
|
|
160
|
-
this._handleErrors(stream), this.pauseStreams && stream.pause();
|
|
161
|
-
}
|
|
162
|
-
return this._streams.push(stream), this;
|
|
163
|
-
}, CombinedStream.prototype.pipe = function(dest, options) {
|
|
164
|
-
return Stream.prototype.pipe.call(this, dest, options), this.resume(), dest;
|
|
165
|
-
}, CombinedStream.prototype._getNext = function() {
|
|
166
|
-
if (this._currentStream = null, this._insideLoop) {
|
|
167
|
-
this._pendingNext = !0;
|
|
168
|
-
return;
|
|
169
|
-
}
|
|
170
|
-
this._insideLoop = !0;
|
|
171
|
-
try {
|
|
172
|
-
do this._pendingNext = !1, this._realGetNext();
|
|
173
|
-
while (this._pendingNext);
|
|
174
|
-
} finally{
|
|
175
|
-
this._insideLoop = !1;
|
|
176
|
-
}
|
|
177
|
-
}, CombinedStream.prototype._realGetNext = function() {
|
|
178
|
-
var stream = this._streams.shift();
|
|
179
|
-
void 0 === stream ? this.end() : 'function' != typeof stream ? this._pipeNext(stream) : stream((function(stream) {
|
|
180
|
-
CombinedStream.isStreamLike(stream) && (stream.on('data', this._checkDataSize.bind(this)), this._handleErrors(stream)), this._pipeNext(stream);
|
|
181
|
-
}).bind(this));
|
|
182
|
-
}, CombinedStream.prototype._pipeNext = function(stream) {
|
|
183
|
-
if (this._currentStream = stream, CombinedStream.isStreamLike(stream)) {
|
|
184
|
-
stream.on('end', this._getNext.bind(this)), stream.pipe(this, {
|
|
185
|
-
end: !1
|
|
186
|
-
});
|
|
187
|
-
return;
|
|
188
|
-
}
|
|
189
|
-
this.write(stream), this._getNext();
|
|
190
|
-
}, CombinedStream.prototype._handleErrors = function(stream) {
|
|
191
|
-
var self1 = this;
|
|
192
|
-
stream.on('error', function(err) {
|
|
193
|
-
self1._emitError(err);
|
|
194
|
-
});
|
|
195
|
-
}, CombinedStream.prototype.write = function(data) {
|
|
196
|
-
this.emit('data', data);
|
|
197
|
-
}, CombinedStream.prototype.pause = function() {
|
|
198
|
-
this.pauseStreams && (this.pauseStreams && this._currentStream && 'function' == typeof this._currentStream.pause && this._currentStream.pause(), this.emit('pause'));
|
|
199
|
-
}, CombinedStream.prototype.resume = function() {
|
|
200
|
-
this._released || (this._released = !0, this.writable = !0, this._getNext()), this.pauseStreams && this._currentStream && 'function' == typeof this._currentStream.resume && this._currentStream.resume(), this.emit('resume');
|
|
201
|
-
}, CombinedStream.prototype.end = function() {
|
|
202
|
-
this._reset(), this.emit('end');
|
|
203
|
-
}, CombinedStream.prototype.destroy = function() {
|
|
204
|
-
this._reset(), this.emit('close');
|
|
205
|
-
}, CombinedStream.prototype._reset = function() {
|
|
206
|
-
this.writable = !1, this._streams = [], this._currentStream = null;
|
|
207
|
-
}, CombinedStream.prototype._checkDataSize = function() {
|
|
208
|
-
if (this._updateDataSize(), !(this.dataSize <= this.maxDataSize)) {
|
|
209
|
-
var message = 'DelayedStream#maxDataSize of ' + this.maxDataSize + ' bytes exceeded.';
|
|
210
|
-
this._emitError(Error(message));
|
|
211
|
-
}
|
|
212
|
-
}, CombinedStream.prototype._updateDataSize = function() {
|
|
213
|
-
this.dataSize = 0;
|
|
214
|
-
var self1 = this;
|
|
215
|
-
this._streams.forEach(function(stream) {
|
|
216
|
-
stream.dataSize && (self1.dataSize += stream.dataSize);
|
|
217
|
-
}), this._currentStream && this._currentStream.dataSize && (this.dataSize += this._currentStream.dataSize);
|
|
218
|
-
}, CombinedStream.prototype._emitError = function(err) {
|
|
219
|
-
this._reset(), this.emit('error', err);
|
|
220
|
-
};
|
|
221
|
-
},
|
|
222
|
-
"../../node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/browser.js" (module, exports, __webpack_require__) {
|
|
223
|
-
let warned;
|
|
224
|
-
exports.formatArgs = function(args) {
|
|
225
|
-
if (args[0] = (this.useColors ? '%c' : '') + this.namespace + (this.useColors ? ' %c' : ' ') + args[0] + (this.useColors ? '%c ' : ' ') + '+' + module.exports.humanize(this.diff), !this.useColors) return;
|
|
226
|
-
let c = 'color: ' + this.color;
|
|
227
|
-
args.splice(1, 0, c, 'color: inherit');
|
|
228
|
-
let index = 0, lastC = 0;
|
|
229
|
-
args[0].replace(/%[a-zA-Z%]/g, (match)=>{
|
|
230
|
-
'%%' !== match && (index++, '%c' === match && (lastC = index));
|
|
231
|
-
}), args.splice(lastC, 0, c);
|
|
232
|
-
}, exports.save = function(namespaces) {
|
|
233
|
-
try {
|
|
234
|
-
namespaces ? exports.storage.setItem('debug', namespaces) : exports.storage.removeItem('debug');
|
|
235
|
-
} catch (error) {}
|
|
236
|
-
}, exports.load = function() {
|
|
237
|
-
let r;
|
|
238
|
-
try {
|
|
239
|
-
r = exports.storage.getItem('debug') || exports.storage.getItem('DEBUG');
|
|
240
|
-
} catch (error) {}
|
|
241
|
-
return !r && "u" > typeof process && 'env' in process && (r = process.env.DEBUG), r;
|
|
242
|
-
}, exports.useColors = function() {
|
|
243
|
-
let m;
|
|
244
|
-
return "u" > typeof window && !!window.process && ('renderer' === window.process.type || !!window.process.__nwjs) || !("u" > typeof navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) && ("u" > typeof document && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || "u" > typeof window && window.console && (window.console.firebug || window.console.exception && window.console.table) || "u" > typeof navigator && navigator.userAgent && (m = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(m[1], 10) >= 31 || "u" > typeof navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/));
|
|
245
|
-
}, exports.storage = function() {
|
|
246
|
-
try {
|
|
247
|
-
return localStorage;
|
|
248
|
-
} catch (error) {}
|
|
249
|
-
}(), warned = !1, exports.destroy = ()=>{
|
|
250
|
-
warned || (warned = !0, console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'));
|
|
251
|
-
}, exports.colors = [
|
|
252
|
-
'#0000CC',
|
|
253
|
-
'#0000FF',
|
|
254
|
-
'#0033CC',
|
|
255
|
-
'#0033FF',
|
|
256
|
-
'#0066CC',
|
|
257
|
-
'#0066FF',
|
|
258
|
-
'#0099CC',
|
|
259
|
-
'#0099FF',
|
|
260
|
-
'#00CC00',
|
|
261
|
-
'#00CC33',
|
|
262
|
-
'#00CC66',
|
|
263
|
-
'#00CC99',
|
|
264
|
-
'#00CCCC',
|
|
265
|
-
'#00CCFF',
|
|
266
|
-
'#3300CC',
|
|
267
|
-
'#3300FF',
|
|
268
|
-
'#3333CC',
|
|
269
|
-
'#3333FF',
|
|
270
|
-
'#3366CC',
|
|
271
|
-
'#3366FF',
|
|
272
|
-
'#3399CC',
|
|
273
|
-
'#3399FF',
|
|
274
|
-
'#33CC00',
|
|
275
|
-
'#33CC33',
|
|
276
|
-
'#33CC66',
|
|
277
|
-
'#33CC99',
|
|
278
|
-
'#33CCCC',
|
|
279
|
-
'#33CCFF',
|
|
280
|
-
'#6600CC',
|
|
281
|
-
'#6600FF',
|
|
282
|
-
'#6633CC',
|
|
283
|
-
'#6633FF',
|
|
284
|
-
'#66CC00',
|
|
285
|
-
'#66CC33',
|
|
286
|
-
'#9900CC',
|
|
287
|
-
'#9900FF',
|
|
288
|
-
'#9933CC',
|
|
289
|
-
'#9933FF',
|
|
290
|
-
'#99CC00',
|
|
291
|
-
'#99CC33',
|
|
292
|
-
'#CC0000',
|
|
293
|
-
'#CC0033',
|
|
294
|
-
'#CC0066',
|
|
295
|
-
'#CC0099',
|
|
296
|
-
'#CC00CC',
|
|
297
|
-
'#CC00FF',
|
|
298
|
-
'#CC3300',
|
|
299
|
-
'#CC3333',
|
|
300
|
-
'#CC3366',
|
|
301
|
-
'#CC3399',
|
|
302
|
-
'#CC33CC',
|
|
303
|
-
'#CC33FF',
|
|
304
|
-
'#CC6600',
|
|
305
|
-
'#CC6633',
|
|
306
|
-
'#CC9900',
|
|
307
|
-
'#CC9933',
|
|
308
|
-
'#CCCC00',
|
|
309
|
-
'#CCCC33',
|
|
310
|
-
'#FF0000',
|
|
311
|
-
'#FF0033',
|
|
312
|
-
'#FF0066',
|
|
313
|
-
'#FF0099',
|
|
314
|
-
'#FF00CC',
|
|
315
|
-
'#FF00FF',
|
|
316
|
-
'#FF3300',
|
|
317
|
-
'#FF3333',
|
|
318
|
-
'#FF3366',
|
|
319
|
-
'#FF3399',
|
|
320
|
-
'#FF33CC',
|
|
321
|
-
'#FF33FF',
|
|
322
|
-
'#FF6600',
|
|
323
|
-
'#FF6633',
|
|
324
|
-
'#FF9900',
|
|
325
|
-
'#FF9933',
|
|
326
|
-
'#FFCC00',
|
|
327
|
-
'#FFCC33'
|
|
328
|
-
], exports.log = console.debug || console.log || (()=>{}), module.exports = __webpack_require__("../../node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/common.js")(exports);
|
|
329
|
-
let { formatters } = module.exports;
|
|
330
|
-
formatters.j = function(v) {
|
|
331
|
-
try {
|
|
332
|
-
return JSON.stringify(v);
|
|
333
|
-
} catch (error) {
|
|
334
|
-
return '[UnexpectedJSONParseError]: ' + error.message;
|
|
335
|
-
}
|
|
336
|
-
};
|
|
337
|
-
},
|
|
338
|
-
"../../node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/common.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
339
|
-
module.exports = function(env) {
|
|
340
|
-
function createDebug(namespace) {
|
|
341
|
-
let prevTime, namespacesCache, enabledCache, enableOverride = null;
|
|
342
|
-
function debug(...args) {
|
|
343
|
-
if (!debug.enabled) return;
|
|
344
|
-
let curr = Number(new Date());
|
|
345
|
-
debug.diff = curr - (prevTime || curr), debug.prev = prevTime, debug.curr = curr, prevTime = curr, args[0] = createDebug.coerce(args[0]), 'string' != typeof args[0] && args.unshift('%O');
|
|
346
|
-
let index = 0;
|
|
347
|
-
args[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format)=>{
|
|
348
|
-
if ('%%' === match) return '%';
|
|
349
|
-
index++;
|
|
350
|
-
let formatter = createDebug.formatters[format];
|
|
351
|
-
if ('function' == typeof formatter) {
|
|
352
|
-
let val = args[index];
|
|
353
|
-
match = formatter.call(debug, val), args.splice(index, 1), index--;
|
|
354
|
-
}
|
|
355
|
-
return match;
|
|
356
|
-
}), createDebug.formatArgs.call(debug, args), (debug.log || createDebug.log).apply(debug, args);
|
|
357
|
-
}
|
|
358
|
-
return debug.namespace = namespace, debug.useColors = createDebug.useColors(), debug.color = createDebug.selectColor(namespace), debug.extend = extend, debug.destroy = createDebug.destroy, Object.defineProperty(debug, 'enabled', {
|
|
359
|
-
enumerable: !0,
|
|
360
|
-
configurable: !1,
|
|
361
|
-
get: ()=>null !== enableOverride ? enableOverride : (namespacesCache !== createDebug.namespaces && (namespacesCache = createDebug.namespaces, enabledCache = createDebug.enabled(namespace)), enabledCache),
|
|
362
|
-
set: (v)=>{
|
|
363
|
-
enableOverride = v;
|
|
364
|
-
}
|
|
365
|
-
}), 'function' == typeof createDebug.init && createDebug.init(debug), debug;
|
|
366
|
-
}
|
|
367
|
-
function extend(namespace, delimiter) {
|
|
368
|
-
let newDebug = createDebug(this.namespace + (void 0 === delimiter ? ':' : delimiter) + namespace);
|
|
369
|
-
return newDebug.log = this.log, newDebug;
|
|
370
|
-
}
|
|
371
|
-
function matchesTemplate(search, template) {
|
|
372
|
-
let searchIndex = 0, templateIndex = 0, starIndex = -1, matchIndex = 0;
|
|
373
|
-
for(; searchIndex < search.length;)if (templateIndex < template.length && (template[templateIndex] === search[searchIndex] || '*' === template[templateIndex])) '*' === template[templateIndex] ? (starIndex = templateIndex, matchIndex = searchIndex) : searchIndex++, templateIndex++;
|
|
374
|
-
else {
|
|
375
|
-
if (-1 === starIndex) return !1;
|
|
376
|
-
templateIndex = starIndex + 1, searchIndex = ++matchIndex;
|
|
377
|
-
}
|
|
378
|
-
for(; templateIndex < template.length && '*' === template[templateIndex];)templateIndex++;
|
|
379
|
-
return templateIndex === template.length;
|
|
380
|
-
}
|
|
381
|
-
return createDebug.debug = createDebug, createDebug.default = createDebug, createDebug.coerce = function(val) {
|
|
382
|
-
return val instanceof Error ? val.stack || val.message : val;
|
|
383
|
-
}, createDebug.disable = function() {
|
|
384
|
-
let namespaces = [
|
|
385
|
-
...createDebug.names,
|
|
386
|
-
...createDebug.skips.map((namespace)=>'-' + namespace)
|
|
387
|
-
].join(',');
|
|
388
|
-
return createDebug.enable(''), namespaces;
|
|
389
|
-
}, createDebug.enable = function(namespaces) {
|
|
390
|
-
for (let ns of (createDebug.save(namespaces), createDebug.namespaces = namespaces, createDebug.names = [], createDebug.skips = [], ('string' == typeof namespaces ? namespaces : '').trim().replace(/\s+/g, ',').split(',').filter(Boolean)))'-' === ns[0] ? createDebug.skips.push(ns.slice(1)) : createDebug.names.push(ns);
|
|
391
|
-
}, createDebug.enabled = function(name) {
|
|
392
|
-
for (let skip of createDebug.skips)if (matchesTemplate(name, skip)) return !1;
|
|
393
|
-
for (let ns of createDebug.names)if (matchesTemplate(name, ns)) return !0;
|
|
394
|
-
return !1;
|
|
395
|
-
}, createDebug.humanize = __webpack_require__("../../node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js"), createDebug.destroy = function() {
|
|
396
|
-
console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');
|
|
397
|
-
}, Object.keys(env).forEach((key)=>{
|
|
398
|
-
createDebug[key] = env[key];
|
|
399
|
-
}), createDebug.names = [], createDebug.skips = [], createDebug.formatters = {}, createDebug.selectColor = function(namespace) {
|
|
400
|
-
let hash = 0;
|
|
401
|
-
for(let i = 0; i < namespace.length; i++)hash = (hash << 5) - hash + namespace.charCodeAt(i) | 0;
|
|
402
|
-
return createDebug.colors[Math.abs(hash) % createDebug.colors.length];
|
|
403
|
-
}, createDebug.enable(createDebug.load()), createDebug;
|
|
404
|
-
};
|
|
405
|
-
},
|
|
406
|
-
"../../node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/index.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
407
|
-
"u" < typeof process || 'renderer' === process.type || !0 === process.browser || process.__nwjs ? module.exports = __webpack_require__("../../node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/browser.js") : module.exports = __webpack_require__("../../node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/node.js");
|
|
408
|
-
},
|
|
409
|
-
"../../node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/node.js" (module, exports, __webpack_require__) {
|
|
410
|
-
let tty = __webpack_require__("tty"), util = __webpack_require__("util?2349");
|
|
411
|
-
exports.init = function(debug) {
|
|
412
|
-
debug.inspectOpts = {};
|
|
413
|
-
let keys = Object.keys(exports.inspectOpts);
|
|
414
|
-
for(let i = 0; i < keys.length; i++)debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];
|
|
415
|
-
}, exports.log = function(...args) {
|
|
416
|
-
return process.stderr.write(util.formatWithOptions(exports.inspectOpts, ...args) + '\n');
|
|
417
|
-
}, exports.formatArgs = function(args) {
|
|
418
|
-
let { namespace: name, useColors } = this;
|
|
419
|
-
if (useColors) {
|
|
420
|
-
let c = this.color, colorCode = '\u001B[3' + (c < 8 ? c : '8;5;' + c), prefix = ` ${colorCode};1m${name} \u001B[0m`;
|
|
421
|
-
args[0] = prefix + args[0].split('\n').join('\n' + prefix), args.push(colorCode + 'm+' + module.exports.humanize(this.diff) + '\u001B[0m');
|
|
422
|
-
} else args[0] = (exports.inspectOpts.hideDate ? '' : new Date().toISOString() + ' ') + name + ' ' + args[0];
|
|
423
|
-
}, exports.save = function(namespaces) {
|
|
424
|
-
namespaces ? process.env.DEBUG = namespaces : delete process.env.DEBUG;
|
|
425
|
-
}, exports.load = function() {
|
|
426
|
-
return process.env.DEBUG;
|
|
427
|
-
}, exports.useColors = function() {
|
|
428
|
-
return 'colors' in exports.inspectOpts ? !!exports.inspectOpts.colors : tty.isatty(process.stderr.fd);
|
|
429
|
-
}, exports.destroy = util.deprecate(()=>{}, 'Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'), exports.colors = [
|
|
430
|
-
6,
|
|
431
|
-
2,
|
|
432
|
-
3,
|
|
433
|
-
4,
|
|
434
|
-
5,
|
|
435
|
-
1
|
|
436
|
-
];
|
|
437
|
-
try {
|
|
438
|
-
let supportsColor = __webpack_require__("../../node_modules/.pnpm/supports-color@5.5.0/node_modules/supports-color/index.js");
|
|
439
|
-
supportsColor && (supportsColor.stderr || supportsColor).level >= 2 && (exports.colors = [
|
|
440
|
-
20,
|
|
441
|
-
21,
|
|
442
|
-
26,
|
|
443
|
-
27,
|
|
444
|
-
32,
|
|
445
|
-
33,
|
|
446
|
-
38,
|
|
447
|
-
39,
|
|
448
|
-
40,
|
|
449
|
-
41,
|
|
450
|
-
42,
|
|
451
|
-
43,
|
|
452
|
-
44,
|
|
453
|
-
45,
|
|
454
|
-
56,
|
|
455
|
-
57,
|
|
456
|
-
62,
|
|
457
|
-
63,
|
|
458
|
-
68,
|
|
459
|
-
69,
|
|
460
|
-
74,
|
|
461
|
-
75,
|
|
462
|
-
76,
|
|
463
|
-
77,
|
|
464
|
-
78,
|
|
465
|
-
79,
|
|
466
|
-
80,
|
|
467
|
-
81,
|
|
468
|
-
92,
|
|
469
|
-
93,
|
|
470
|
-
98,
|
|
471
|
-
99,
|
|
472
|
-
112,
|
|
473
|
-
113,
|
|
474
|
-
128,
|
|
475
|
-
129,
|
|
476
|
-
134,
|
|
477
|
-
135,
|
|
478
|
-
148,
|
|
479
|
-
149,
|
|
480
|
-
160,
|
|
481
|
-
161,
|
|
482
|
-
162,
|
|
483
|
-
163,
|
|
484
|
-
164,
|
|
485
|
-
165,
|
|
486
|
-
166,
|
|
487
|
-
167,
|
|
488
|
-
168,
|
|
489
|
-
169,
|
|
490
|
-
170,
|
|
491
|
-
171,
|
|
492
|
-
172,
|
|
493
|
-
173,
|
|
494
|
-
178,
|
|
495
|
-
179,
|
|
496
|
-
184,
|
|
497
|
-
185,
|
|
498
|
-
196,
|
|
499
|
-
197,
|
|
500
|
-
198,
|
|
501
|
-
199,
|
|
502
|
-
200,
|
|
503
|
-
201,
|
|
504
|
-
202,
|
|
505
|
-
203,
|
|
506
|
-
204,
|
|
507
|
-
205,
|
|
508
|
-
206,
|
|
509
|
-
207,
|
|
510
|
-
208,
|
|
511
|
-
209,
|
|
512
|
-
214,
|
|
513
|
-
215,
|
|
514
|
-
220,
|
|
515
|
-
221
|
|
516
|
-
]);
|
|
517
|
-
} catch (error) {}
|
|
518
|
-
exports.inspectOpts = Object.keys(process.env).filter((key)=>/^debug_/i.test(key)).reduce((obj, key)=>{
|
|
519
|
-
let prop = key.substring(6).toLowerCase().replace(/_([a-z])/g, (_, k)=>k.toUpperCase()), val = process.env[key];
|
|
520
|
-
return val = !!/^(yes|on|true|enabled)$/i.test(val) || !/^(no|off|false|disabled)$/i.test(val) && ('null' === val ? null : Number(val)), obj[prop] = val, obj;
|
|
521
|
-
}, {}), module.exports = __webpack_require__("../../node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/common.js")(exports);
|
|
522
|
-
let { formatters } = module.exports;
|
|
523
|
-
formatters.o = function(v) {
|
|
524
|
-
return this.inspectOpts.colors = this.useColors, util.inspect(v, this.inspectOpts).split('\n').map((str)=>str.trim()).join(' ');
|
|
525
|
-
}, formatters.O = function(v) {
|
|
526
|
-
return this.inspectOpts.colors = this.useColors, util.inspect(v, this.inspectOpts);
|
|
527
|
-
};
|
|
528
|
-
},
|
|
529
|
-
"../../node_modules/.pnpm/delayed-stream@1.0.0/node_modules/delayed-stream/lib/delayed_stream.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
530
|
-
var Stream = __webpack_require__("stream?3cf7").Stream, util = __webpack_require__("util?2349");
|
|
531
|
-
function DelayedStream() {
|
|
532
|
-
this.source = null, this.dataSize = 0, this.maxDataSize = 1048576, this.pauseStream = !0, this._maxDataSizeExceeded = !1, this._released = !1, this._bufferedEvents = [];
|
|
533
|
-
}
|
|
534
|
-
module.exports = DelayedStream, util.inherits(DelayedStream, Stream), DelayedStream.create = function(source, options) {
|
|
535
|
-
var delayedStream = new this();
|
|
536
|
-
for(var option in options = options || {})delayedStream[option] = options[option];
|
|
537
|
-
delayedStream.source = source;
|
|
538
|
-
var realEmit = source.emit;
|
|
539
|
-
return source.emit = function() {
|
|
540
|
-
return delayedStream._handleEmit(arguments), realEmit.apply(source, arguments);
|
|
541
|
-
}, source.on('error', function() {}), delayedStream.pauseStream && source.pause(), delayedStream;
|
|
542
|
-
}, Object.defineProperty(DelayedStream.prototype, 'readable', {
|
|
543
|
-
configurable: !0,
|
|
544
|
-
enumerable: !0,
|
|
545
|
-
get: function() {
|
|
546
|
-
return this.source.readable;
|
|
547
|
-
}
|
|
548
|
-
}), DelayedStream.prototype.setEncoding = function() {
|
|
549
|
-
return this.source.setEncoding.apply(this.source, arguments);
|
|
550
|
-
}, DelayedStream.prototype.resume = function() {
|
|
551
|
-
this._released || this.release(), this.source.resume();
|
|
552
|
-
}, DelayedStream.prototype.pause = function() {
|
|
553
|
-
this.source.pause();
|
|
554
|
-
}, DelayedStream.prototype.release = function() {
|
|
555
|
-
this._released = !0, this._bufferedEvents.forEach((function(args) {
|
|
556
|
-
this.emit.apply(this, args);
|
|
557
|
-
}).bind(this)), this._bufferedEvents = [];
|
|
558
|
-
}, DelayedStream.prototype.pipe = function() {
|
|
559
|
-
var r = Stream.prototype.pipe.apply(this, arguments);
|
|
560
|
-
return this.resume(), r;
|
|
561
|
-
}, DelayedStream.prototype._handleEmit = function(args) {
|
|
562
|
-
this._released ? this.emit.apply(this, args) : ('data' === args[0] && (this.dataSize += args[1].length, this._checkIfMaxDataSizeExceeded()), this._bufferedEvents.push(args));
|
|
563
|
-
}, DelayedStream.prototype._checkIfMaxDataSizeExceeded = function() {
|
|
564
|
-
if (!this._maxDataSizeExceeded && !(this.dataSize <= this.maxDataSize)) {
|
|
565
|
-
this._maxDataSizeExceeded = !0;
|
|
566
|
-
var message = 'DelayedStream#maxDataSize of ' + this.maxDataSize + ' bytes exceeded.';
|
|
567
|
-
this.emit('error', Error(message));
|
|
568
|
-
}
|
|
569
|
-
};
|
|
570
|
-
},
|
|
571
|
-
"../../node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
572
|
-
var hasProtoAccessor, callBind = __webpack_require__("../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js"), gOPD = __webpack_require__("../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js");
|
|
573
|
-
try {
|
|
574
|
-
hasProtoAccessor = [].__proto__ === Array.prototype;
|
|
575
|
-
} catch (e) {
|
|
576
|
-
if (!e || 'object' != typeof e || !('code' in e) || 'ERR_PROTO_ACCESS' !== e.code) throw e;
|
|
577
|
-
}
|
|
578
|
-
var desc = !!hasProtoAccessor && gOPD && gOPD(Object.prototype, '__proto__'), $Object = Object, $getPrototypeOf = $Object.getPrototypeOf;
|
|
579
|
-
module.exports = desc && 'function' == typeof desc.get ? callBind([
|
|
580
|
-
desc.get
|
|
581
|
-
]) : 'function' == typeof $getPrototypeOf && function(value) {
|
|
582
|
-
return $getPrototypeOf(null == value ? value : $Object(value));
|
|
583
|
-
};
|
|
584
|
-
},
|
|
585
|
-
"../../node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js" (module) {
|
|
586
|
-
var $defineProperty = Object.defineProperty || !1;
|
|
587
|
-
if ($defineProperty) try {
|
|
588
|
-
$defineProperty({}, 'a', {
|
|
589
|
-
value: 1
|
|
590
|
-
});
|
|
591
|
-
} catch (e) {
|
|
592
|
-
$defineProperty = !1;
|
|
593
|
-
}
|
|
594
|
-
module.exports = $defineProperty;
|
|
595
|
-
},
|
|
596
|
-
"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js" (module) {
|
|
597
|
-
module.exports = EvalError;
|
|
598
|
-
},
|
|
599
|
-
"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js" (module) {
|
|
600
|
-
module.exports = Error;
|
|
601
|
-
},
|
|
602
|
-
"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js" (module) {
|
|
603
|
-
module.exports = RangeError;
|
|
604
|
-
},
|
|
605
|
-
"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js" (module) {
|
|
606
|
-
module.exports = ReferenceError;
|
|
607
|
-
},
|
|
608
|
-
"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js" (module) {
|
|
609
|
-
module.exports = SyntaxError;
|
|
610
|
-
},
|
|
611
|
-
"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js" (module) {
|
|
612
|
-
module.exports = TypeError;
|
|
613
|
-
},
|
|
614
|
-
"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js" (module) {
|
|
615
|
-
module.exports = URIError;
|
|
616
|
-
},
|
|
617
|
-
"../../node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js" (module) {
|
|
618
|
-
module.exports = Object;
|
|
619
|
-
},
|
|
620
|
-
"../../node_modules/.pnpm/es-set-tostringtag@2.1.0/node_modules/es-set-tostringtag/index.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
621
|
-
var $defineProperty = __webpack_require__("../../node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js")('%Object.defineProperty%', !0), hasToStringTag = __webpack_require__("../../node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js")(), hasOwn = __webpack_require__("../../node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js"), $TypeError = __webpack_require__("../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js"), toStringTag = hasToStringTag ? Symbol.toStringTag : null;
|
|
622
|
-
module.exports = function(object, value) {
|
|
623
|
-
var overrideIfSet = arguments.length > 2 && !!arguments[2] && arguments[2].force, nonConfigurable = arguments.length > 2 && !!arguments[2] && arguments[2].nonConfigurable;
|
|
624
|
-
if (void 0 !== overrideIfSet && 'boolean' != typeof overrideIfSet || void 0 !== nonConfigurable && 'boolean' != typeof nonConfigurable) throw new $TypeError('if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans');
|
|
625
|
-
toStringTag && (overrideIfSet || !hasOwn(object, toStringTag)) && ($defineProperty ? $defineProperty(object, toStringTag, {
|
|
626
|
-
configurable: !nonConfigurable,
|
|
627
|
-
enumerable: !1,
|
|
628
|
-
value: value,
|
|
629
|
-
writable: !1
|
|
630
|
-
}) : object[toStringTag] = value);
|
|
631
|
-
};
|
|
632
|
-
},
|
|
633
|
-
"../../node_modules/.pnpm/follow-redirects@1.15.11/node_modules/follow-redirects/debug.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
634
|
-
var debug;
|
|
635
|
-
module.exports = function() {
|
|
636
|
-
if (!debug) {
|
|
637
|
-
try {
|
|
638
|
-
debug = __webpack_require__("../../node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/index.js")("follow-redirects");
|
|
639
|
-
} catch (error) {}
|
|
640
|
-
"function" != typeof debug && (debug = function() {});
|
|
641
|
-
}
|
|
642
|
-
debug.apply(null, arguments);
|
|
643
|
-
};
|
|
644
|
-
},
|
|
645
|
-
"../../node_modules/.pnpm/follow-redirects@1.15.11/node_modules/follow-redirects/index.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
646
|
-
var looksLikeNode, looksLikeBrowser, looksLikeV8, url = __webpack_require__("url?f119"), URL1 = url.URL, http = __webpack_require__("http?1ecc"), https = __webpack_require__("https?edb0"), Writable = __webpack_require__("stream?3cf7").Writable, assert = __webpack_require__("assert"), debug = __webpack_require__("../../node_modules/.pnpm/follow-redirects@1.15.11/node_modules/follow-redirects/debug.js");
|
|
647
|
-
looksLikeNode = "u" > typeof process, looksLikeBrowser = "u" > typeof window && "u" > typeof document, looksLikeV8 = isFunction(Error.captureStackTrace), looksLikeNode || !looksLikeBrowser && looksLikeV8 || console.warn("The follow-redirects package should be excluded from browser builds.");
|
|
648
|
-
var useNativeURL = !1;
|
|
649
|
-
try {
|
|
650
|
-
assert(new URL1(""));
|
|
651
|
-
} catch (error) {
|
|
652
|
-
useNativeURL = "ERR_INVALID_URL" === error.code;
|
|
653
|
-
}
|
|
654
|
-
var preservedUrlFields = [
|
|
655
|
-
"auth",
|
|
656
|
-
"host",
|
|
657
|
-
"hostname",
|
|
658
|
-
"href",
|
|
659
|
-
"path",
|
|
660
|
-
"pathname",
|
|
661
|
-
"port",
|
|
662
|
-
"protocol",
|
|
663
|
-
"query",
|
|
664
|
-
"search",
|
|
665
|
-
"hash"
|
|
666
|
-
], events = [
|
|
667
|
-
"abort",
|
|
668
|
-
"aborted",
|
|
669
|
-
"connect",
|
|
670
|
-
"error",
|
|
671
|
-
"socket",
|
|
672
|
-
"timeout"
|
|
673
|
-
], eventHandlers = Object.create(null);
|
|
674
|
-
events.forEach(function(event) {
|
|
675
|
-
eventHandlers[event] = function(arg1, arg2, arg3) {
|
|
676
|
-
this._redirectable.emit(event, arg1, arg2, arg3);
|
|
677
|
-
};
|
|
678
|
-
});
|
|
679
|
-
var InvalidUrlError = createErrorType("ERR_INVALID_URL", "Invalid URL", TypeError), RedirectionError = createErrorType("ERR_FR_REDIRECTION_FAILURE", "Redirected request failed"), TooManyRedirectsError = createErrorType("ERR_FR_TOO_MANY_REDIRECTS", "Maximum number of redirects exceeded", RedirectionError), MaxBodyLengthExceededError = createErrorType("ERR_FR_MAX_BODY_LENGTH_EXCEEDED", "Request body larger than maxBodyLength limit"), WriteAfterEndError = createErrorType("ERR_STREAM_WRITE_AFTER_END", "write after end"), destroy = Writable.prototype.destroy || noop;
|
|
680
|
-
function RedirectableRequest(options, responseCallback) {
|
|
681
|
-
Writable.call(this), this._sanitizeOptions(options), this._options = options, this._ended = !1, this._ending = !1, this._redirectCount = 0, this._redirects = [], this._requestBodyLength = 0, this._requestBodyBuffers = [], responseCallback && this.on("response", responseCallback);
|
|
682
|
-
var self1 = this;
|
|
683
|
-
this._onNativeResponse = function(response) {
|
|
684
|
-
try {
|
|
685
|
-
self1._processResponse(response);
|
|
686
|
-
} catch (cause) {
|
|
687
|
-
self1.emit("error", cause instanceof RedirectionError ? cause : new RedirectionError({
|
|
688
|
-
cause: cause
|
|
689
|
-
}));
|
|
690
|
-
}
|
|
691
|
-
}, this._performRequest();
|
|
692
|
-
}
|
|
693
|
-
function wrap(protocols) {
|
|
694
|
-
var exports = {
|
|
695
|
-
maxRedirects: 21,
|
|
696
|
-
maxBodyLength: 10485760
|
|
697
|
-
}, nativeProtocols = {};
|
|
698
|
-
return Object.keys(protocols).forEach(function(scheme) {
|
|
699
|
-
var protocol = scheme + ":", nativeProtocol = nativeProtocols[protocol] = protocols[scheme], wrappedProtocol = exports[scheme] = Object.create(nativeProtocol);
|
|
700
|
-
Object.defineProperties(wrappedProtocol, {
|
|
701
|
-
request: {
|
|
702
|
-
value: function(input, options, callback) {
|
|
703
|
-
var value;
|
|
704
|
-
return (value = input, URL1 && value instanceof URL1) ? input = spreadUrlObject(input) : isString(input) ? input = spreadUrlObject(parseUrl(input)) : (callback = options, options = validateUrl(input), input = {
|
|
705
|
-
protocol: protocol
|
|
706
|
-
}), isFunction(options) && (callback = options, options = null), (options = Object.assign({
|
|
707
|
-
maxRedirects: exports.maxRedirects,
|
|
708
|
-
maxBodyLength: exports.maxBodyLength
|
|
709
|
-
}, input, options)).nativeProtocols = nativeProtocols, isString(options.host) || isString(options.hostname) || (options.hostname = "::1"), assert.equal(options.protocol, protocol, "protocol mismatch"), debug("options", options), new RedirectableRequest(options, callback);
|
|
710
|
-
},
|
|
711
|
-
configurable: !0,
|
|
712
|
-
enumerable: !0,
|
|
713
|
-
writable: !0
|
|
714
|
-
},
|
|
715
|
-
get: {
|
|
716
|
-
value: function(input, options, callback) {
|
|
717
|
-
var wrappedRequest = wrappedProtocol.request(input, options, callback);
|
|
718
|
-
return wrappedRequest.end(), wrappedRequest;
|
|
719
|
-
},
|
|
720
|
-
configurable: !0,
|
|
721
|
-
enumerable: !0,
|
|
722
|
-
writable: !0
|
|
723
|
-
}
|
|
724
|
-
});
|
|
725
|
-
}), exports;
|
|
726
|
-
}
|
|
727
|
-
function noop() {}
|
|
728
|
-
function parseUrl(input) {
|
|
729
|
-
var parsed;
|
|
730
|
-
if (useNativeURL) parsed = new URL1(input);
|
|
731
|
-
else if (!isString((parsed = validateUrl(url.parse(input))).protocol)) throw new InvalidUrlError({
|
|
732
|
-
input
|
|
733
|
-
});
|
|
734
|
-
return parsed;
|
|
735
|
-
}
|
|
736
|
-
function validateUrl(input) {
|
|
737
|
-
if (/^\[/.test(input.hostname) && !/^\[[:0-9a-f]+\]$/i.test(input.hostname) || /^\[/.test(input.host) && !/^\[[:0-9a-f]+\](:\d+)?$/i.test(input.host)) throw new InvalidUrlError({
|
|
738
|
-
input: input.href || input
|
|
739
|
-
});
|
|
740
|
-
return input;
|
|
741
|
-
}
|
|
742
|
-
function spreadUrlObject(urlObject, target) {
|
|
743
|
-
var spread = target || {};
|
|
744
|
-
for (var key of preservedUrlFields)spread[key] = urlObject[key];
|
|
745
|
-
return spread.hostname.startsWith("[") && (spread.hostname = spread.hostname.slice(1, -1)), "" !== spread.port && (spread.port = Number(spread.port)), spread.path = spread.search ? spread.pathname + spread.search : spread.pathname, spread;
|
|
746
|
-
}
|
|
747
|
-
function removeMatchingHeaders(regex, headers) {
|
|
748
|
-
var lastValue;
|
|
749
|
-
for(var header in headers)regex.test(header) && (lastValue = headers[header], delete headers[header]);
|
|
750
|
-
return null == lastValue ? void 0 : String(lastValue).trim();
|
|
751
|
-
}
|
|
752
|
-
function createErrorType(code, message, baseClass) {
|
|
753
|
-
function CustomError(properties) {
|
|
754
|
-
isFunction(Error.captureStackTrace) && Error.captureStackTrace(this, this.constructor), Object.assign(this, properties || {}), this.code = code, this.message = this.cause ? message + ": " + this.cause.message : message;
|
|
755
|
-
}
|
|
756
|
-
return CustomError.prototype = new (baseClass || Error)(), Object.defineProperties(CustomError.prototype, {
|
|
757
|
-
constructor: {
|
|
758
|
-
value: CustomError,
|
|
759
|
-
enumerable: !1
|
|
760
|
-
},
|
|
761
|
-
name: {
|
|
762
|
-
value: "Error [" + code + "]",
|
|
763
|
-
enumerable: !1
|
|
764
|
-
}
|
|
765
|
-
}), CustomError;
|
|
766
|
-
}
|
|
767
|
-
function destroyRequest(request, error) {
|
|
768
|
-
for (var event of events)request.removeListener(event, eventHandlers[event]);
|
|
769
|
-
request.on("error", noop), request.destroy(error);
|
|
770
|
-
}
|
|
771
|
-
function isString(value) {
|
|
772
|
-
return "string" == typeof value || value instanceof String;
|
|
773
|
-
}
|
|
774
|
-
function isFunction(value) {
|
|
775
|
-
return "function" == typeof value;
|
|
776
|
-
}
|
|
777
|
-
RedirectableRequest.prototype = Object.create(Writable.prototype), RedirectableRequest.prototype.abort = function() {
|
|
778
|
-
destroyRequest(this._currentRequest), this._currentRequest.abort(), this.emit("abort");
|
|
779
|
-
}, RedirectableRequest.prototype.destroy = function(error) {
|
|
780
|
-
return destroyRequest(this._currentRequest, error), destroy.call(this, error), this;
|
|
781
|
-
}, RedirectableRequest.prototype.write = function(data, encoding, callback) {
|
|
782
|
-
var value;
|
|
783
|
-
if (this._ending) throw new WriteAfterEndError();
|
|
784
|
-
if (!isString(data) && !("object" == typeof (value = data) && "length" in value)) throw TypeError("data should be a string, Buffer or Uint8Array");
|
|
785
|
-
if (isFunction(encoding) && (callback = encoding, encoding = null), 0 === data.length) {
|
|
786
|
-
callback && callback();
|
|
787
|
-
return;
|
|
788
|
-
}
|
|
789
|
-
this._requestBodyLength + data.length <= this._options.maxBodyLength ? (this._requestBodyLength += data.length, this._requestBodyBuffers.push({
|
|
790
|
-
data: data,
|
|
791
|
-
encoding: encoding
|
|
792
|
-
}), this._currentRequest.write(data, encoding, callback)) : (this.emit("error", new MaxBodyLengthExceededError()), this.abort());
|
|
793
|
-
}, RedirectableRequest.prototype.end = function(data, encoding, callback) {
|
|
794
|
-
if (isFunction(data) ? (callback = data, data = encoding = null) : isFunction(encoding) && (callback = encoding, encoding = null), data) {
|
|
795
|
-
var self1 = this, currentRequest = this._currentRequest;
|
|
796
|
-
this.write(data, encoding, function() {
|
|
797
|
-
self1._ended = !0, currentRequest.end(null, null, callback);
|
|
798
|
-
}), this._ending = !0;
|
|
799
|
-
} else this._ended = this._ending = !0, this._currentRequest.end(null, null, callback);
|
|
800
|
-
}, RedirectableRequest.prototype.setHeader = function(name, value) {
|
|
801
|
-
this._options.headers[name] = value, this._currentRequest.setHeader(name, value);
|
|
802
|
-
}, RedirectableRequest.prototype.removeHeader = function(name) {
|
|
803
|
-
delete this._options.headers[name], this._currentRequest.removeHeader(name);
|
|
804
|
-
}, RedirectableRequest.prototype.setTimeout = function(msecs, callback) {
|
|
805
|
-
var self1 = this;
|
|
806
|
-
function destroyOnTimeout(socket) {
|
|
807
|
-
socket.setTimeout(msecs), socket.removeListener("timeout", socket.destroy), socket.addListener("timeout", socket.destroy);
|
|
808
|
-
}
|
|
809
|
-
function startTimer(socket) {
|
|
810
|
-
self1._timeout && clearTimeout(self1._timeout), self1._timeout = setTimeout(function() {
|
|
811
|
-
self1.emit("timeout"), clearTimer();
|
|
812
|
-
}, msecs), destroyOnTimeout(socket);
|
|
813
|
-
}
|
|
814
|
-
function clearTimer() {
|
|
815
|
-
self1._timeout && (clearTimeout(self1._timeout), self1._timeout = null), self1.removeListener("abort", clearTimer), self1.removeListener("error", clearTimer), self1.removeListener("response", clearTimer), self1.removeListener("close", clearTimer), callback && self1.removeListener("timeout", callback), self1.socket || self1._currentRequest.removeListener("socket", startTimer);
|
|
816
|
-
}
|
|
817
|
-
return callback && this.on("timeout", callback), this.socket ? startTimer(this.socket) : this._currentRequest.once("socket", startTimer), this.on("socket", destroyOnTimeout), this.on("abort", clearTimer), this.on("error", clearTimer), this.on("response", clearTimer), this.on("close", clearTimer), this;
|
|
818
|
-
}, [
|
|
819
|
-
"flushHeaders",
|
|
820
|
-
"getHeader",
|
|
821
|
-
"setNoDelay",
|
|
822
|
-
"setSocketKeepAlive"
|
|
823
|
-
].forEach(function(method) {
|
|
824
|
-
RedirectableRequest.prototype[method] = function(a, b) {
|
|
825
|
-
return this._currentRequest[method](a, b);
|
|
826
|
-
};
|
|
827
|
-
}), [
|
|
828
|
-
"aborted",
|
|
829
|
-
"connection",
|
|
830
|
-
"socket"
|
|
831
|
-
].forEach(function(property) {
|
|
832
|
-
Object.defineProperty(RedirectableRequest.prototype, property, {
|
|
833
|
-
get: function() {
|
|
834
|
-
return this._currentRequest[property];
|
|
835
|
-
}
|
|
836
|
-
});
|
|
837
|
-
}), RedirectableRequest.prototype._sanitizeOptions = function(options) {
|
|
838
|
-
if (options.headers || (options.headers = {}), options.host && (options.hostname || (options.hostname = options.host), delete options.host), !options.pathname && options.path) {
|
|
839
|
-
var searchPos = options.path.indexOf("?");
|
|
840
|
-
searchPos < 0 ? options.pathname = options.path : (options.pathname = options.path.substring(0, searchPos), options.search = options.path.substring(searchPos));
|
|
841
|
-
}
|
|
842
|
-
}, RedirectableRequest.prototype._performRequest = function() {
|
|
843
|
-
var protocol = this._options.protocol, nativeProtocol = this._options.nativeProtocols[protocol];
|
|
844
|
-
if (!nativeProtocol) throw TypeError("Unsupported protocol " + protocol);
|
|
845
|
-
if (this._options.agents) {
|
|
846
|
-
var scheme = protocol.slice(0, -1);
|
|
847
|
-
this._options.agent = this._options.agents[scheme];
|
|
848
|
-
}
|
|
849
|
-
var request = this._currentRequest = nativeProtocol.request(this._options, this._onNativeResponse);
|
|
850
|
-
for (var event of (request._redirectable = this, events))request.on(event, eventHandlers[event]);
|
|
851
|
-
if (this._currentUrl = /^\//.test(this._options.path) ? url.format(this._options) : this._options.path, this._isRedirect) {
|
|
852
|
-
var i = 0, self1 = this, buffers = this._requestBodyBuffers;
|
|
853
|
-
!function writeNext(error) {
|
|
854
|
-
if (request === self1._currentRequest) if (error) self1.emit("error", error);
|
|
855
|
-
else if (i < buffers.length) {
|
|
856
|
-
var buffer = buffers[i++];
|
|
857
|
-
request.finished || request.write(buffer.data, buffer.encoding, writeNext);
|
|
858
|
-
} else self1._ended && request.end();
|
|
859
|
-
}();
|
|
860
|
-
}
|
|
861
|
-
}, RedirectableRequest.prototype._processResponse = function(response) {
|
|
862
|
-
var relative, base, subdomain, domain, dot, requestHeaders, statusCode = response.statusCode;
|
|
863
|
-
this._options.trackRedirects && this._redirects.push({
|
|
864
|
-
url: this._currentUrl,
|
|
865
|
-
headers: response.headers,
|
|
866
|
-
statusCode: statusCode
|
|
867
|
-
});
|
|
868
|
-
var location = response.headers.location;
|
|
869
|
-
if (!location || !1 === this._options.followRedirects || statusCode < 300 || statusCode >= 400) {
|
|
870
|
-
response.responseUrl = this._currentUrl, response.redirects = this._redirects, this.emit("response", response), this._requestBodyBuffers = [];
|
|
871
|
-
return;
|
|
872
|
-
}
|
|
873
|
-
if (destroyRequest(this._currentRequest), response.destroy(), ++this._redirectCount > this._options.maxRedirects) throw new TooManyRedirectsError();
|
|
874
|
-
var beforeRedirect = this._options.beforeRedirect;
|
|
875
|
-
beforeRedirect && (requestHeaders = Object.assign({
|
|
876
|
-
Host: response.req.getHeader("host")
|
|
877
|
-
}, this._options.headers));
|
|
878
|
-
var method = this._options.method;
|
|
879
|
-
(301 !== statusCode && 302 !== statusCode || "POST" !== this._options.method) && (303 !== statusCode || /^(?:GET|HEAD)$/.test(this._options.method)) || (this._options.method = "GET", this._requestBodyBuffers = [], removeMatchingHeaders(/^content-/i, this._options.headers));
|
|
880
|
-
var currentHostHeader = removeMatchingHeaders(/^host$/i, this._options.headers), currentUrlParts = parseUrl(this._currentUrl), currentHost = currentHostHeader || currentUrlParts.host, currentUrl = /^\w+:/.test(location) ? this._currentUrl : url.format(Object.assign(currentUrlParts, {
|
|
881
|
-
host: currentHost
|
|
882
|
-
})), redirectUrl = (relative = location, base = currentUrl, useNativeURL ? new URL1(relative, base) : parseUrl(url.resolve(base, relative)));
|
|
883
|
-
if (debug("redirecting to", redirectUrl.href), this._isRedirect = !0, spreadUrlObject(redirectUrl, this._options), (redirectUrl.protocol === currentUrlParts.protocol || "https:" === redirectUrl.protocol) && (redirectUrl.host === currentHost || (subdomain = redirectUrl.host, domain = currentHost, assert(isString(subdomain) && isString(domain)), (dot = subdomain.length - domain.length - 1) > 0 && "." === subdomain[dot] && subdomain.endsWith(domain))) || removeMatchingHeaders(/^(?:(?:proxy-)?authorization|cookie)$/i, this._options.headers), isFunction(beforeRedirect)) {
|
|
884
|
-
var responseDetails = {
|
|
885
|
-
headers: response.headers,
|
|
886
|
-
statusCode: statusCode
|
|
887
|
-
}, requestDetails = {
|
|
888
|
-
url: currentUrl,
|
|
889
|
-
method: method,
|
|
890
|
-
headers: requestHeaders
|
|
891
|
-
};
|
|
892
|
-
beforeRedirect(this._options, responseDetails, requestDetails), this._sanitizeOptions(this._options);
|
|
893
|
-
}
|
|
894
|
-
this._performRequest();
|
|
895
|
-
}, module.exports = wrap({
|
|
896
|
-
http: http,
|
|
897
|
-
https: https
|
|
898
|
-
}), module.exports.wrap = wrap;
|
|
899
|
-
},
|
|
900
|
-
"../../node_modules/.pnpm/form-data@4.0.5/node_modules/form-data/lib/form_data.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
901
|
-
var CombinedStream = __webpack_require__("../../node_modules/.pnpm/combined-stream@1.0.8/node_modules/combined-stream/lib/combined_stream.js"), util = __webpack_require__("util?2349"), path = __webpack_require__("path?8016"), http = __webpack_require__("http?1ecc"), https = __webpack_require__("https?edb0"), parseUrl = __webpack_require__("url?f119").parse, fs = __webpack_require__("fs?dc05"), Stream = __webpack_require__("stream?3cf7").Stream, crypto = __webpack_require__("crypto?fe8b"), mime = __webpack_require__("../../node_modules/.pnpm/mime-types@2.1.35/node_modules/mime-types/index.js"), asynckit = __webpack_require__("../../node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/index.js"), setToStringTag = __webpack_require__("../../node_modules/.pnpm/es-set-tostringtag@2.1.0/node_modules/es-set-tostringtag/index.js"), hasOwn = __webpack_require__("../../node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js"), populate = __webpack_require__("../../node_modules/.pnpm/form-data@4.0.5/node_modules/form-data/lib/populate.js");
|
|
902
|
-
function FormData1(options) {
|
|
903
|
-
if (!(this instanceof FormData1)) return new FormData1(options);
|
|
904
|
-
for(var option in this._overheadLength = 0, this._valueLength = 0, this._valuesToMeasure = [], CombinedStream.call(this), options = options || {})this[option] = options[option];
|
|
905
|
-
}
|
|
906
|
-
util.inherits(FormData1, CombinedStream), FormData1.LINE_BREAK = '\r\n', FormData1.DEFAULT_CONTENT_TYPE = 'application/octet-stream', FormData1.prototype.append = function(field, value, options) {
|
|
907
|
-
'string' == typeof (options = options || {}) && (options = {
|
|
908
|
-
filename: options
|
|
909
|
-
});
|
|
910
|
-
var append = CombinedStream.prototype.append.bind(this);
|
|
911
|
-
if (('number' == typeof value || null == value) && (value = String(value)), Array.isArray(value)) return void this._error(Error('Arrays are not supported.'));
|
|
912
|
-
var header = this._multiPartHeader(field, value, options), footer = this._multiPartFooter();
|
|
913
|
-
append(header), append(value), append(footer), this._trackLength(header, value, options);
|
|
914
|
-
}, FormData1.prototype._trackLength = function(header, value, options) {
|
|
915
|
-
var valueLength = 0;
|
|
916
|
-
null != options.knownLength ? valueLength += Number(options.knownLength) : Buffer.isBuffer(value) ? valueLength = value.length : 'string' == typeof value && (valueLength = Buffer.byteLength(value)), this._valueLength += valueLength, this._overheadLength += Buffer.byteLength(header) + FormData1.LINE_BREAK.length, value && (value.path || value.readable && hasOwn(value, 'httpVersion') || value instanceof Stream) && (options.knownLength || this._valuesToMeasure.push(value));
|
|
917
|
-
}, FormData1.prototype._lengthRetriever = function(value, callback) {
|
|
918
|
-
hasOwn(value, 'fd') ? void 0 != value.end && value.end != 1 / 0 && void 0 != value.start ? callback(null, value.end + 1 - (value.start ? value.start : 0)) : fs.stat(value.path, function(err, stat) {
|
|
919
|
-
err ? callback(err) : callback(null, stat.size - (value.start ? value.start : 0));
|
|
920
|
-
}) : hasOwn(value, 'httpVersion') ? callback(null, Number(value.headers['content-length'])) : hasOwn(value, 'httpModule') ? (value.on('response', function(response) {
|
|
921
|
-
value.pause(), callback(null, Number(response.headers['content-length']));
|
|
922
|
-
}), value.resume()) : callback('Unknown stream');
|
|
923
|
-
}, FormData1.prototype._multiPartHeader = function(field, value, options) {
|
|
924
|
-
if ('string' == typeof options.header) return options.header;
|
|
925
|
-
var header, contentDisposition = this._getContentDisposition(value, options), contentType = this._getContentType(value, options), contents = '', headers = {
|
|
926
|
-
'Content-Disposition': [
|
|
927
|
-
'form-data',
|
|
928
|
-
'name="' + field + '"'
|
|
929
|
-
].concat(contentDisposition || []),
|
|
930
|
-
'Content-Type': [].concat(contentType || [])
|
|
931
|
-
};
|
|
932
|
-
for(var prop in 'object' == typeof options.header && populate(headers, options.header), headers)if (hasOwn(headers, prop)) {
|
|
933
|
-
if (null == (header = headers[prop])) continue;
|
|
934
|
-
Array.isArray(header) || (header = [
|
|
935
|
-
header
|
|
936
|
-
]), header.length && (contents += prop + ': ' + header.join('; ') + FormData1.LINE_BREAK);
|
|
937
|
-
}
|
|
938
|
-
return '--' + this.getBoundary() + FormData1.LINE_BREAK + contents + FormData1.LINE_BREAK;
|
|
939
|
-
}, FormData1.prototype._getContentDisposition = function(value, options) {
|
|
940
|
-
var filename;
|
|
941
|
-
if ('string' == typeof options.filepath ? filename = path.normalize(options.filepath).replace(/\\/g, '/') : options.filename || value && (value.name || value.path) ? filename = path.basename(options.filename || value && (value.name || value.path)) : value && value.readable && hasOwn(value, 'httpVersion') && (filename = path.basename(value.client._httpMessage.path || '')), filename) return 'filename="' + filename + '"';
|
|
942
|
-
}, FormData1.prototype._getContentType = function(value, options) {
|
|
943
|
-
var contentType = options.contentType;
|
|
944
|
-
return !contentType && value && value.name && (contentType = mime.lookup(value.name)), !contentType && value && value.path && (contentType = mime.lookup(value.path)), !contentType && value && value.readable && hasOwn(value, 'httpVersion') && (contentType = value.headers['content-type']), !contentType && (options.filepath || options.filename) && (contentType = mime.lookup(options.filepath || options.filename)), !contentType && value && 'object' == typeof value && (contentType = FormData1.DEFAULT_CONTENT_TYPE), contentType;
|
|
945
|
-
}, FormData1.prototype._multiPartFooter = function() {
|
|
946
|
-
return (function(next) {
|
|
947
|
-
var footer = FormData1.LINE_BREAK;
|
|
948
|
-
0 === this._streams.length && (footer += this._lastBoundary()), next(footer);
|
|
949
|
-
}).bind(this);
|
|
950
|
-
}, FormData1.prototype._lastBoundary = function() {
|
|
951
|
-
return '--' + this.getBoundary() + '--' + FormData1.LINE_BREAK;
|
|
952
|
-
}, FormData1.prototype.getHeaders = function(userHeaders) {
|
|
953
|
-
var header, formHeaders = {
|
|
954
|
-
'content-type': 'multipart/form-data; boundary=' + this.getBoundary()
|
|
955
|
-
};
|
|
956
|
-
for(header in userHeaders)hasOwn(userHeaders, header) && (formHeaders[header.toLowerCase()] = userHeaders[header]);
|
|
957
|
-
return formHeaders;
|
|
958
|
-
}, FormData1.prototype.setBoundary = function(boundary) {
|
|
959
|
-
if ('string' != typeof boundary) throw TypeError('FormData boundary must be a string');
|
|
960
|
-
this._boundary = boundary;
|
|
961
|
-
}, FormData1.prototype.getBoundary = function() {
|
|
962
|
-
return this._boundary || this._generateBoundary(), this._boundary;
|
|
963
|
-
}, FormData1.prototype.getBuffer = function() {
|
|
964
|
-
for(var dataBuffer = new Buffer.alloc(0), boundary = this.getBoundary(), i = 0, len = this._streams.length; i < len; i++)'function' != typeof this._streams[i] && (dataBuffer = Buffer.isBuffer(this._streams[i]) ? Buffer.concat([
|
|
965
|
-
dataBuffer,
|
|
966
|
-
this._streams[i]
|
|
967
|
-
]) : Buffer.concat([
|
|
968
|
-
dataBuffer,
|
|
969
|
-
Buffer.from(this._streams[i])
|
|
970
|
-
]), ('string' != typeof this._streams[i] || this._streams[i].substring(2, boundary.length + 2) !== boundary) && (dataBuffer = Buffer.concat([
|
|
971
|
-
dataBuffer,
|
|
972
|
-
Buffer.from(FormData1.LINE_BREAK)
|
|
973
|
-
])));
|
|
974
|
-
return Buffer.concat([
|
|
975
|
-
dataBuffer,
|
|
976
|
-
Buffer.from(this._lastBoundary())
|
|
977
|
-
]);
|
|
978
|
-
}, FormData1.prototype._generateBoundary = function() {
|
|
979
|
-
this._boundary = '--------------------------' + crypto.randomBytes(12).toString('hex');
|
|
980
|
-
}, FormData1.prototype.getLengthSync = function() {
|
|
981
|
-
var knownLength = this._overheadLength + this._valueLength;
|
|
982
|
-
return this._streams.length && (knownLength += this._lastBoundary().length), this.hasKnownLength() || this._error(Error('Cannot calculate proper length in synchronous way.')), knownLength;
|
|
983
|
-
}, FormData1.prototype.hasKnownLength = function() {
|
|
984
|
-
var hasKnownLength = !0;
|
|
985
|
-
return this._valuesToMeasure.length && (hasKnownLength = !1), hasKnownLength;
|
|
986
|
-
}, FormData1.prototype.getLength = function(cb) {
|
|
987
|
-
var knownLength = this._overheadLength + this._valueLength;
|
|
988
|
-
(this._streams.length && (knownLength += this._lastBoundary().length), this._valuesToMeasure.length) ? asynckit.parallel(this._valuesToMeasure, this._lengthRetriever, function(err, values) {
|
|
989
|
-
err ? cb(err) : (values.forEach(function(length) {
|
|
990
|
-
knownLength += length;
|
|
991
|
-
}), cb(null, knownLength));
|
|
992
|
-
}) : process.nextTick(cb.bind(this, null, knownLength));
|
|
993
|
-
}, FormData1.prototype.submit = function(params, cb) {
|
|
994
|
-
var request, options, defaults = {
|
|
995
|
-
method: 'post'
|
|
996
|
-
};
|
|
997
|
-
return 'string' == typeof params ? options = populate({
|
|
998
|
-
port: (params = parseUrl(params)).port,
|
|
999
|
-
path: params.pathname,
|
|
1000
|
-
host: params.hostname,
|
|
1001
|
-
protocol: params.protocol
|
|
1002
|
-
}, defaults) : (options = populate(params, defaults)).port || (options.port = 'https:' === options.protocol ? 443 : 80), options.headers = this.getHeaders(params.headers), request = 'https:' === options.protocol ? https.request(options) : http.request(options), this.getLength((function(err, length) {
|
|
1003
|
-
if (err && 'Unknown stream' !== err) return void this._error(err);
|
|
1004
|
-
if (length && request.setHeader('Content-Length', length), this.pipe(request), cb) {
|
|
1005
|
-
var onResponse, callback = function(error, responce) {
|
|
1006
|
-
return request.removeListener('error', callback), request.removeListener('response', onResponse), cb.call(this, error, responce);
|
|
1007
|
-
};
|
|
1008
|
-
onResponse = callback.bind(this, null), request.on('error', callback), request.on('response', onResponse);
|
|
1009
|
-
}
|
|
1010
|
-
}).bind(this)), request;
|
|
1011
|
-
}, FormData1.prototype._error = function(err) {
|
|
1012
|
-
this.error || (this.error = err, this.pause(), this.emit('error', err));
|
|
1013
|
-
}, FormData1.prototype.toString = function() {
|
|
1014
|
-
return '[object FormData]';
|
|
1015
|
-
}, setToStringTag(FormData1.prototype, 'FormData'), module.exports = FormData1;
|
|
1016
|
-
},
|
|
1017
|
-
"../../node_modules/.pnpm/form-data@4.0.5/node_modules/form-data/lib/populate.js" (module) {
|
|
1018
|
-
module.exports = function(dst, src) {
|
|
1019
|
-
return Object.keys(src).forEach(function(prop) {
|
|
1020
|
-
dst[prop] = dst[prop] || src[prop];
|
|
1021
|
-
}), dst;
|
|
1022
|
-
};
|
|
1023
|
-
},
|
|
1024
|
-
"../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js" (module) {
|
|
1025
|
-
var toStr = Object.prototype.toString, max = Math.max, concatty = function(a, b) {
|
|
1026
|
-
for(var arr = [], i = 0; i < a.length; i += 1)arr[i] = a[i];
|
|
1027
|
-
for(var j = 0; j < b.length; j += 1)arr[j + a.length] = b[j];
|
|
1028
|
-
return arr;
|
|
1029
|
-
}, slicy = function(arrLike, offset) {
|
|
1030
|
-
for(var arr = [], i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1)arr[j] = arrLike[i];
|
|
1031
|
-
return arr;
|
|
1032
|
-
}, joiny = function(arr, joiner) {
|
|
1033
|
-
for(var str = '', i = 0; i < arr.length; i += 1)str += arr[i], i + 1 < arr.length && (str += joiner);
|
|
1034
|
-
return str;
|
|
1035
|
-
};
|
|
1036
|
-
module.exports = function(that) {
|
|
1037
|
-
var bound, target = this;
|
|
1038
|
-
if ('function' != typeof target || '[object Function]' !== toStr.apply(target)) throw TypeError('Function.prototype.bind called on incompatible ' + target);
|
|
1039
|
-
for(var args = slicy(arguments, 1), boundLength = max(0, target.length - args.length), boundArgs = [], i = 0; i < boundLength; i++)boundArgs[i] = '$' + i;
|
|
1040
|
-
if (bound = Function('binder', 'return function (' + joiny(boundArgs, ',') + '){ return binder.apply(this,arguments); }')(function() {
|
|
1041
|
-
if (this instanceof bound) {
|
|
1042
|
-
var result = target.apply(this, concatty(args, arguments));
|
|
1043
|
-
return Object(result) === result ? result : this;
|
|
1044
|
-
}
|
|
1045
|
-
return target.apply(that, concatty(args, arguments));
|
|
1046
|
-
}), target.prototype) {
|
|
1047
|
-
var Empty = function() {};
|
|
1048
|
-
Empty.prototype = target.prototype, bound.prototype = new Empty(), Empty.prototype = null;
|
|
1049
|
-
}
|
|
1050
|
-
return bound;
|
|
1051
|
-
};
|
|
1052
|
-
},
|
|
1053
|
-
"../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
1054
|
-
var implementation = __webpack_require__("../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js");
|
|
1055
|
-
module.exports = Function.prototype.bind || implementation;
|
|
1056
|
-
},
|
|
1057
|
-
"../../node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
1058
|
-
var undefined, $Object = __webpack_require__("../../node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js"), $Error = __webpack_require__("../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js"), $EvalError = __webpack_require__("../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js"), $RangeError = __webpack_require__("../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js"), $ReferenceError = __webpack_require__("../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js"), $SyntaxError = __webpack_require__("../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js"), $TypeError = __webpack_require__("../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js"), $URIError = __webpack_require__("../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js"), abs = __webpack_require__("../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js"), floor = __webpack_require__("../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js"), max = __webpack_require__("../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js"), min = __webpack_require__("../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js"), pow = __webpack_require__("../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js"), round = __webpack_require__("../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js"), sign = __webpack_require__("../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js"), $Function = Function, getEvalledConstructor = function(expressionSyntax) {
|
|
1059
|
-
try {
|
|
1060
|
-
return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
|
|
1061
|
-
} catch (e) {}
|
|
1062
|
-
}, $gOPD = __webpack_require__("../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js"), $defineProperty = __webpack_require__("../../node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js"), throwTypeError = function() {
|
|
1063
|
-
throw new $TypeError();
|
|
1064
|
-
}, ThrowTypeError = $gOPD ? function() {
|
|
1065
|
-
try {
|
|
1066
|
-
return arguments.callee, throwTypeError;
|
|
1067
|
-
} catch (calleeThrows) {
|
|
1068
|
-
try {
|
|
1069
|
-
return $gOPD(arguments, 'callee').get;
|
|
1070
|
-
} catch (gOPDthrows) {
|
|
1071
|
-
return throwTypeError;
|
|
1072
|
-
}
|
|
1073
|
-
}
|
|
1074
|
-
}() : throwTypeError, hasSymbols = __webpack_require__("../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js")(), getProto = __webpack_require__("../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js"), $ObjectGPO = __webpack_require__("../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js"), $ReflectGPO = __webpack_require__("../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js"), $apply = __webpack_require__("../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js"), $call = __webpack_require__("../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js"), needsEval = {}, TypedArray = "u" > typeof Uint8Array && getProto ? getProto(Uint8Array) : undefined, INTRINSICS = {
|
|
1075
|
-
__proto__: null,
|
|
1076
|
-
'%AggregateError%': "u" < typeof AggregateError ? undefined : AggregateError,
|
|
1077
|
-
'%Array%': Array,
|
|
1078
|
-
'%ArrayBuffer%': "u" < typeof ArrayBuffer ? undefined : ArrayBuffer,
|
|
1079
|
-
'%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined,
|
|
1080
|
-
'%AsyncFromSyncIteratorPrototype%': undefined,
|
|
1081
|
-
'%AsyncFunction%': needsEval,
|
|
1082
|
-
'%AsyncGenerator%': needsEval,
|
|
1083
|
-
'%AsyncGeneratorFunction%': needsEval,
|
|
1084
|
-
'%AsyncIteratorPrototype%': needsEval,
|
|
1085
|
-
'%Atomics%': "u" < typeof Atomics ? undefined : Atomics,
|
|
1086
|
-
'%BigInt%': "u" < typeof BigInt ? undefined : BigInt,
|
|
1087
|
-
'%BigInt64Array%': "u" < typeof BigInt64Array ? undefined : BigInt64Array,
|
|
1088
|
-
'%BigUint64Array%': "u" < typeof BigUint64Array ? undefined : BigUint64Array,
|
|
1089
|
-
'%Boolean%': Boolean,
|
|
1090
|
-
'%DataView%': "u" < typeof DataView ? undefined : DataView,
|
|
1091
|
-
'%Date%': Date,
|
|
1092
|
-
'%decodeURI%': decodeURI,
|
|
1093
|
-
'%decodeURIComponent%': decodeURIComponent,
|
|
1094
|
-
'%encodeURI%': encodeURI,
|
|
1095
|
-
'%encodeURIComponent%': encodeURIComponent,
|
|
1096
|
-
'%Error%': $Error,
|
|
1097
|
-
'%eval%': eval,
|
|
1098
|
-
'%EvalError%': $EvalError,
|
|
1099
|
-
'%Float16Array%': "u" < typeof Float16Array ? undefined : Float16Array,
|
|
1100
|
-
'%Float32Array%': "u" < typeof Float32Array ? undefined : Float32Array,
|
|
1101
|
-
'%Float64Array%': "u" < typeof Float64Array ? undefined : Float64Array,
|
|
1102
|
-
'%FinalizationRegistry%': "u" < typeof FinalizationRegistry ? undefined : FinalizationRegistry,
|
|
1103
|
-
'%Function%': $Function,
|
|
1104
|
-
'%GeneratorFunction%': needsEval,
|
|
1105
|
-
'%Int8Array%': "u" < typeof Int8Array ? undefined : Int8Array,
|
|
1106
|
-
'%Int16Array%': "u" < typeof Int16Array ? undefined : Int16Array,
|
|
1107
|
-
'%Int32Array%': "u" < typeof Int32Array ? undefined : Int32Array,
|
|
1108
|
-
'%isFinite%': isFinite,
|
|
1109
|
-
'%isNaN%': isNaN,
|
|
1110
|
-
'%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined,
|
|
1111
|
-
'%JSON%': 'object' == typeof JSON ? JSON : undefined,
|
|
1112
|
-
'%Map%': "u" < typeof Map ? undefined : Map,
|
|
1113
|
-
'%MapIteratorPrototype%': "u" > typeof Map && hasSymbols && getProto ? getProto(new Map()[Symbol.iterator]()) : undefined,
|
|
1114
|
-
'%Math%': Math,
|
|
1115
|
-
'%Number%': Number,
|
|
1116
|
-
'%Object%': $Object,
|
|
1117
|
-
"%Object.getOwnPropertyDescriptor%": $gOPD,
|
|
1118
|
-
'%parseFloat%': parseFloat,
|
|
1119
|
-
'%parseInt%': parseInt,
|
|
1120
|
-
'%Promise%': "u" < typeof Promise ? undefined : Promise,
|
|
1121
|
-
'%Proxy%': "u" < typeof Proxy ? undefined : Proxy,
|
|
1122
|
-
'%RangeError%': $RangeError,
|
|
1123
|
-
'%ReferenceError%': $ReferenceError,
|
|
1124
|
-
'%Reflect%': "u" < typeof Reflect ? undefined : Reflect,
|
|
1125
|
-
'%RegExp%': RegExp,
|
|
1126
|
-
'%Set%': "u" < typeof Set ? undefined : Set,
|
|
1127
|
-
'%SetIteratorPrototype%': "u" > typeof Set && hasSymbols && getProto ? getProto(new Set()[Symbol.iterator]()) : undefined,
|
|
1128
|
-
'%SharedArrayBuffer%': "u" < typeof SharedArrayBuffer ? undefined : SharedArrayBuffer,
|
|
1129
|
-
'%String%': String,
|
|
1130
|
-
'%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined,
|
|
1131
|
-
'%Symbol%': hasSymbols ? Symbol : undefined,
|
|
1132
|
-
'%SyntaxError%': $SyntaxError,
|
|
1133
|
-
'%ThrowTypeError%': ThrowTypeError,
|
|
1134
|
-
'%TypedArray%': TypedArray,
|
|
1135
|
-
'%TypeError%': $TypeError,
|
|
1136
|
-
'%Uint8Array%': "u" < typeof Uint8Array ? undefined : Uint8Array,
|
|
1137
|
-
'%Uint8ClampedArray%': "u" < typeof Uint8ClampedArray ? undefined : Uint8ClampedArray,
|
|
1138
|
-
'%Uint16Array%': "u" < typeof Uint16Array ? undefined : Uint16Array,
|
|
1139
|
-
'%Uint32Array%': "u" < typeof Uint32Array ? undefined : Uint32Array,
|
|
1140
|
-
'%URIError%': $URIError,
|
|
1141
|
-
'%WeakMap%': "u" < typeof WeakMap ? undefined : WeakMap,
|
|
1142
|
-
'%WeakRef%': "u" < typeof WeakRef ? undefined : WeakRef,
|
|
1143
|
-
'%WeakSet%': "u" < typeof WeakSet ? undefined : WeakSet,
|
|
1144
|
-
'%Function.prototype.call%': $call,
|
|
1145
|
-
'%Function.prototype.apply%': $apply,
|
|
1146
|
-
'%Object.defineProperty%': $defineProperty,
|
|
1147
|
-
'%Object.getPrototypeOf%': $ObjectGPO,
|
|
1148
|
-
'%Math.abs%': abs,
|
|
1149
|
-
'%Math.floor%': floor,
|
|
1150
|
-
'%Math.max%': max,
|
|
1151
|
-
'%Math.min%': min,
|
|
1152
|
-
'%Math.pow%': pow,
|
|
1153
|
-
'%Math.round%': round,
|
|
1154
|
-
'%Math.sign%': sign,
|
|
1155
|
-
'%Reflect.getPrototypeOf%': $ReflectGPO
|
|
1156
|
-
};
|
|
1157
|
-
if (getProto) try {
|
|
1158
|
-
null.error;
|
|
1159
|
-
} catch (e) {
|
|
1160
|
-
var errorProto = getProto(getProto(e));
|
|
1161
|
-
INTRINSICS['%Error.prototype%'] = errorProto;
|
|
1162
|
-
}
|
|
1163
|
-
var doEval = function doEval(name) {
|
|
1164
|
-
var value;
|
|
1165
|
-
if ('%AsyncFunction%' === name) value = getEvalledConstructor('async function () {}');
|
|
1166
|
-
else if ('%GeneratorFunction%' === name) value = getEvalledConstructor('function* () {}');
|
|
1167
|
-
else if ('%AsyncGeneratorFunction%' === name) value = getEvalledConstructor('async function* () {}');
|
|
1168
|
-
else if ('%AsyncGenerator%' === name) {
|
|
1169
|
-
var fn = doEval('%AsyncGeneratorFunction%');
|
|
1170
|
-
fn && (value = fn.prototype);
|
|
1171
|
-
} else if ('%AsyncIteratorPrototype%' === name) {
|
|
1172
|
-
var gen = doEval('%AsyncGenerator%');
|
|
1173
|
-
gen && getProto && (value = getProto(gen.prototype));
|
|
1174
|
-
}
|
|
1175
|
-
return INTRINSICS[name] = value, value;
|
|
1176
|
-
}, LEGACY_ALIASES = {
|
|
1177
|
-
__proto__: null,
|
|
1178
|
-
'%ArrayBufferPrototype%': [
|
|
1179
|
-
'ArrayBuffer',
|
|
1180
|
-
'prototype'
|
|
1181
|
-
],
|
|
1182
|
-
'%ArrayPrototype%': [
|
|
1183
|
-
'Array',
|
|
1184
|
-
'prototype'
|
|
1185
|
-
],
|
|
1186
|
-
'%ArrayProto_entries%': [
|
|
1187
|
-
'Array',
|
|
1188
|
-
'prototype',
|
|
1189
|
-
'entries'
|
|
1190
|
-
],
|
|
1191
|
-
'%ArrayProto_forEach%': [
|
|
1192
|
-
'Array',
|
|
1193
|
-
'prototype',
|
|
1194
|
-
'forEach'
|
|
1195
|
-
],
|
|
1196
|
-
'%ArrayProto_keys%': [
|
|
1197
|
-
'Array',
|
|
1198
|
-
'prototype',
|
|
1199
|
-
'keys'
|
|
1200
|
-
],
|
|
1201
|
-
'%ArrayProto_values%': [
|
|
1202
|
-
'Array',
|
|
1203
|
-
'prototype',
|
|
1204
|
-
'values'
|
|
1205
|
-
],
|
|
1206
|
-
'%AsyncFunctionPrototype%': [
|
|
1207
|
-
'AsyncFunction',
|
|
1208
|
-
'prototype'
|
|
1209
|
-
],
|
|
1210
|
-
'%AsyncGenerator%': [
|
|
1211
|
-
'AsyncGeneratorFunction',
|
|
1212
|
-
'prototype'
|
|
1213
|
-
],
|
|
1214
|
-
'%AsyncGeneratorPrototype%': [
|
|
1215
|
-
'AsyncGeneratorFunction',
|
|
1216
|
-
'prototype',
|
|
1217
|
-
'prototype'
|
|
1218
|
-
],
|
|
1219
|
-
'%BooleanPrototype%': [
|
|
1220
|
-
'Boolean',
|
|
1221
|
-
'prototype'
|
|
1222
|
-
],
|
|
1223
|
-
'%DataViewPrototype%': [
|
|
1224
|
-
'DataView',
|
|
1225
|
-
'prototype'
|
|
1226
|
-
],
|
|
1227
|
-
'%DatePrototype%': [
|
|
1228
|
-
'Date',
|
|
1229
|
-
'prototype'
|
|
1230
|
-
],
|
|
1231
|
-
'%ErrorPrototype%': [
|
|
1232
|
-
'Error',
|
|
1233
|
-
'prototype'
|
|
1234
|
-
],
|
|
1235
|
-
'%EvalErrorPrototype%': [
|
|
1236
|
-
'EvalError',
|
|
1237
|
-
'prototype'
|
|
1238
|
-
],
|
|
1239
|
-
'%Float32ArrayPrototype%': [
|
|
1240
|
-
'Float32Array',
|
|
1241
|
-
'prototype'
|
|
1242
|
-
],
|
|
1243
|
-
'%Float64ArrayPrototype%': [
|
|
1244
|
-
'Float64Array',
|
|
1245
|
-
'prototype'
|
|
1246
|
-
],
|
|
1247
|
-
'%FunctionPrototype%': [
|
|
1248
|
-
'Function',
|
|
1249
|
-
'prototype'
|
|
1250
|
-
],
|
|
1251
|
-
'%Generator%': [
|
|
1252
|
-
'GeneratorFunction',
|
|
1253
|
-
'prototype'
|
|
1254
|
-
],
|
|
1255
|
-
'%GeneratorPrototype%': [
|
|
1256
|
-
'GeneratorFunction',
|
|
1257
|
-
'prototype',
|
|
1258
|
-
'prototype'
|
|
1259
|
-
],
|
|
1260
|
-
'%Int8ArrayPrototype%': [
|
|
1261
|
-
'Int8Array',
|
|
1262
|
-
'prototype'
|
|
1263
|
-
],
|
|
1264
|
-
'%Int16ArrayPrototype%': [
|
|
1265
|
-
'Int16Array',
|
|
1266
|
-
'prototype'
|
|
1267
|
-
],
|
|
1268
|
-
'%Int32ArrayPrototype%': [
|
|
1269
|
-
'Int32Array',
|
|
1270
|
-
'prototype'
|
|
1271
|
-
],
|
|
1272
|
-
'%JSONParse%': [
|
|
1273
|
-
'JSON',
|
|
1274
|
-
'parse'
|
|
1275
|
-
],
|
|
1276
|
-
'%JSONStringify%': [
|
|
1277
|
-
'JSON',
|
|
1278
|
-
'stringify'
|
|
1279
|
-
],
|
|
1280
|
-
'%MapPrototype%': [
|
|
1281
|
-
'Map',
|
|
1282
|
-
'prototype'
|
|
1283
|
-
],
|
|
1284
|
-
'%NumberPrototype%': [
|
|
1285
|
-
'Number',
|
|
1286
|
-
'prototype'
|
|
1287
|
-
],
|
|
1288
|
-
'%ObjectPrototype%': [
|
|
1289
|
-
'Object',
|
|
1290
|
-
'prototype'
|
|
1291
|
-
],
|
|
1292
|
-
'%ObjProto_toString%': [
|
|
1293
|
-
'Object',
|
|
1294
|
-
'prototype',
|
|
1295
|
-
'toString'
|
|
1296
|
-
],
|
|
1297
|
-
'%ObjProto_valueOf%': [
|
|
1298
|
-
'Object',
|
|
1299
|
-
'prototype',
|
|
1300
|
-
'valueOf'
|
|
1301
|
-
],
|
|
1302
|
-
'%PromisePrototype%': [
|
|
1303
|
-
'Promise',
|
|
1304
|
-
'prototype'
|
|
1305
|
-
],
|
|
1306
|
-
'%PromiseProto_then%': [
|
|
1307
|
-
'Promise',
|
|
1308
|
-
'prototype',
|
|
1309
|
-
'then'
|
|
1310
|
-
],
|
|
1311
|
-
'%Promise_all%': [
|
|
1312
|
-
'Promise',
|
|
1313
|
-
'all'
|
|
1314
|
-
],
|
|
1315
|
-
'%Promise_reject%': [
|
|
1316
|
-
'Promise',
|
|
1317
|
-
'reject'
|
|
1318
|
-
],
|
|
1319
|
-
'%Promise_resolve%': [
|
|
1320
|
-
'Promise',
|
|
1321
|
-
'resolve'
|
|
1322
|
-
],
|
|
1323
|
-
'%RangeErrorPrototype%': [
|
|
1324
|
-
'RangeError',
|
|
1325
|
-
'prototype'
|
|
1326
|
-
],
|
|
1327
|
-
'%ReferenceErrorPrototype%': [
|
|
1328
|
-
'ReferenceError',
|
|
1329
|
-
'prototype'
|
|
1330
|
-
],
|
|
1331
|
-
'%RegExpPrototype%': [
|
|
1332
|
-
'RegExp',
|
|
1333
|
-
'prototype'
|
|
1334
|
-
],
|
|
1335
|
-
'%SetPrototype%': [
|
|
1336
|
-
'Set',
|
|
1337
|
-
'prototype'
|
|
1338
|
-
],
|
|
1339
|
-
'%SharedArrayBufferPrototype%': [
|
|
1340
|
-
'SharedArrayBuffer',
|
|
1341
|
-
'prototype'
|
|
1342
|
-
],
|
|
1343
|
-
'%StringPrototype%': [
|
|
1344
|
-
'String',
|
|
1345
|
-
'prototype'
|
|
1346
|
-
],
|
|
1347
|
-
'%SymbolPrototype%': [
|
|
1348
|
-
'Symbol',
|
|
1349
|
-
'prototype'
|
|
1350
|
-
],
|
|
1351
|
-
'%SyntaxErrorPrototype%': [
|
|
1352
|
-
'SyntaxError',
|
|
1353
|
-
'prototype'
|
|
1354
|
-
],
|
|
1355
|
-
'%TypedArrayPrototype%': [
|
|
1356
|
-
'TypedArray',
|
|
1357
|
-
'prototype'
|
|
1358
|
-
],
|
|
1359
|
-
'%TypeErrorPrototype%': [
|
|
1360
|
-
'TypeError',
|
|
1361
|
-
'prototype'
|
|
1362
|
-
],
|
|
1363
|
-
'%Uint8ArrayPrototype%': [
|
|
1364
|
-
'Uint8Array',
|
|
1365
|
-
'prototype'
|
|
1366
|
-
],
|
|
1367
|
-
'%Uint8ClampedArrayPrototype%': [
|
|
1368
|
-
'Uint8ClampedArray',
|
|
1369
|
-
'prototype'
|
|
1370
|
-
],
|
|
1371
|
-
'%Uint16ArrayPrototype%': [
|
|
1372
|
-
'Uint16Array',
|
|
1373
|
-
'prototype'
|
|
1374
|
-
],
|
|
1375
|
-
'%Uint32ArrayPrototype%': [
|
|
1376
|
-
'Uint32Array',
|
|
1377
|
-
'prototype'
|
|
1378
|
-
],
|
|
1379
|
-
'%URIErrorPrototype%': [
|
|
1380
|
-
'URIError',
|
|
1381
|
-
'prototype'
|
|
1382
|
-
],
|
|
1383
|
-
'%WeakMapPrototype%': [
|
|
1384
|
-
'WeakMap',
|
|
1385
|
-
'prototype'
|
|
1386
|
-
],
|
|
1387
|
-
'%WeakSetPrototype%': [
|
|
1388
|
-
'WeakSet',
|
|
1389
|
-
'prototype'
|
|
1390
|
-
]
|
|
1391
|
-
}, bind = __webpack_require__("../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"), hasOwn = __webpack_require__("../../node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js"), $concat = bind.call($call, Array.prototype.concat), $spliceApply = bind.call($apply, Array.prototype.splice), $replace = bind.call($call, String.prototype.replace), $strSlice = bind.call($call, String.prototype.slice), $exec = bind.call($call, RegExp.prototype.exec), rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, reEscapeChar = /\\(\\)?/g, stringToPath = function(string) {
|
|
1392
|
-
var first = $strSlice(string, 0, 1), last = $strSlice(string, -1);
|
|
1393
|
-
if ('%' === first && '%' !== last) throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`');
|
|
1394
|
-
if ('%' === last && '%' !== first) throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`');
|
|
1395
|
-
var result = [];
|
|
1396
|
-
return $replace(string, rePropName, function(match, number, quote, subString) {
|
|
1397
|
-
result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
|
|
1398
|
-
}), result;
|
|
1399
|
-
}, getBaseIntrinsic = function(name, allowMissing) {
|
|
1400
|
-
var alias, intrinsicName = name;
|
|
1401
|
-
if (hasOwn(LEGACY_ALIASES, intrinsicName) && (intrinsicName = '%' + (alias = LEGACY_ALIASES[intrinsicName])[0] + '%'), hasOwn(INTRINSICS, intrinsicName)) {
|
|
1402
|
-
var value = INTRINSICS[intrinsicName];
|
|
1403
|
-
if (value === needsEval && (value = doEval(intrinsicName)), void 0 === value && !allowMissing) throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
|
|
1404
|
-
return {
|
|
1405
|
-
alias: alias,
|
|
1406
|
-
name: intrinsicName,
|
|
1407
|
-
value: value
|
|
1408
|
-
};
|
|
1409
|
-
}
|
|
1410
|
-
throw new $SyntaxError('intrinsic ' + name + ' does not exist!');
|
|
1411
|
-
};
|
|
1412
|
-
module.exports = function(name, allowMissing) {
|
|
1413
|
-
if ('string' != typeof name || 0 === name.length) throw new $TypeError('intrinsic name must be a non-empty string');
|
|
1414
|
-
if (arguments.length > 1 && 'boolean' != typeof allowMissing) throw new $TypeError('"allowMissing" argument must be a boolean');
|
|
1415
|
-
if (null === $exec(/^%?[^%]*%?$/, name)) throw new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');
|
|
1416
|
-
var parts = stringToPath(name), intrinsicBaseName = parts.length > 0 ? parts[0] : '', intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing), intrinsicRealName = intrinsic.name, value = intrinsic.value, skipFurtherCaching = !1, alias = intrinsic.alias;
|
|
1417
|
-
alias && (intrinsicBaseName = alias[0], $spliceApply(parts, $concat([
|
|
1418
|
-
0,
|
|
1419
|
-
1
|
|
1420
|
-
], alias)));
|
|
1421
|
-
for(var i = 1, isOwn = !0; i < parts.length; i += 1){
|
|
1422
|
-
var part = parts[i], first = $strSlice(part, 0, 1), last = $strSlice(part, -1);
|
|
1423
|
-
if (('"' === first || "'" === first || '`' === first || '"' === last || "'" === last || '`' === last) && first !== last) throw new $SyntaxError('property names with quotes must have matching quotes');
|
|
1424
|
-
if ('constructor' !== part && isOwn || (skipFurtherCaching = !0), intrinsicBaseName += '.' + part, hasOwn(INTRINSICS, intrinsicRealName = '%' + intrinsicBaseName + '%')) value = INTRINSICS[intrinsicRealName];
|
|
1425
|
-
else if (null != value) {
|
|
1426
|
-
if (!(part in value)) {
|
|
1427
|
-
if (!allowMissing) throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
|
|
1428
|
-
return;
|
|
1429
|
-
}
|
|
1430
|
-
if ($gOPD && i + 1 >= parts.length) {
|
|
1431
|
-
var desc = $gOPD(value, part);
|
|
1432
|
-
value = (isOwn = !!desc) && 'get' in desc && !('originalValue' in desc.get) ? desc.get : value[part];
|
|
1433
|
-
} else isOwn = hasOwn(value, part), value = value[part];
|
|
1434
|
-
isOwn && !skipFurtherCaching && (INTRINSICS[intrinsicRealName] = value);
|
|
1435
|
-
}
|
|
1436
|
-
}
|
|
1437
|
-
return value;
|
|
1438
|
-
};
|
|
1439
|
-
},
|
|
1440
|
-
"../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
1441
|
-
module.exports = __webpack_require__("../../node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js").getPrototypeOf || null;
|
|
1442
|
-
},
|
|
1443
|
-
"../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js" (module) {
|
|
1444
|
-
module.exports = "u" > typeof Reflect && Reflect.getPrototypeOf || null;
|
|
1445
|
-
},
|
|
1446
|
-
"../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
1447
|
-
var reflectGetProto = __webpack_require__("../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js"), originalGetProto = __webpack_require__("../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js"), getDunderProto = __webpack_require__("../../node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js");
|
|
1448
|
-
module.exports = reflectGetProto ? function(O) {
|
|
1449
|
-
return reflectGetProto(O);
|
|
1450
|
-
} : originalGetProto ? function(O) {
|
|
1451
|
-
if (!O || 'object' != typeof O && 'function' != typeof O) throw TypeError('getProto: not an object');
|
|
1452
|
-
return originalGetProto(O);
|
|
1453
|
-
} : getDunderProto ? function(O) {
|
|
1454
|
-
return getDunderProto(O);
|
|
1455
|
-
} : null;
|
|
1456
|
-
},
|
|
1457
|
-
"../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js" (module) {
|
|
1458
|
-
module.exports = Object.getOwnPropertyDescriptor;
|
|
1459
|
-
},
|
|
1460
|
-
"../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
1461
|
-
var $gOPD = __webpack_require__("../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js");
|
|
1462
|
-
if ($gOPD) try {
|
|
1463
|
-
$gOPD([], 'length');
|
|
1464
|
-
} catch (e) {
|
|
1465
|
-
$gOPD = null;
|
|
1466
|
-
}
|
|
1467
|
-
module.exports = $gOPD;
|
|
1468
|
-
},
|
|
1469
|
-
"../../node_modules/.pnpm/has-flag@3.0.0/node_modules/has-flag/index.js" (module) {
|
|
1470
|
-
module.exports = (flag, argv)=>{
|
|
1471
|
-
argv = argv || process.argv;
|
|
1472
|
-
let prefix = flag.startsWith('-') ? '' : 1 === flag.length ? '-' : '--', pos = argv.indexOf(prefix + flag), terminatorPos = argv.indexOf('--');
|
|
1473
|
-
return -1 !== pos && (-1 === terminatorPos || pos < terminatorPos);
|
|
1474
|
-
};
|
|
1475
|
-
},
|
|
1476
|
-
"../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
1477
|
-
var origSymbol = "u" > typeof Symbol && Symbol, hasSymbolSham = __webpack_require__("../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js");
|
|
1478
|
-
module.exports = function() {
|
|
1479
|
-
return 'function' == typeof origSymbol && 'function' == typeof Symbol && 'symbol' == typeof origSymbol('foo') && 'symbol' == typeof Symbol('bar') && hasSymbolSham();
|
|
1480
|
-
};
|
|
1481
|
-
},
|
|
1482
|
-
"../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js" (module) {
|
|
1483
|
-
module.exports = function() {
|
|
1484
|
-
if ('function' != typeof Symbol || 'function' != typeof Object.getOwnPropertySymbols) return !1;
|
|
1485
|
-
if ('symbol' == typeof Symbol.iterator) return !0;
|
|
1486
|
-
var obj = {}, sym = Symbol('test'), symObj = Object(sym);
|
|
1487
|
-
if ('string' == typeof sym || '[object Symbol]' !== Object.prototype.toString.call(sym) || '[object Symbol]' !== Object.prototype.toString.call(symObj)) return !1;
|
|
1488
|
-
for(var _ in obj[sym] = 42, obj)return !1;
|
|
1489
|
-
if ('function' == typeof Object.keys && 0 !== Object.keys(obj).length || 'function' == typeof Object.getOwnPropertyNames && 0 !== Object.getOwnPropertyNames(obj).length) return !1;
|
|
1490
|
-
var syms = Object.getOwnPropertySymbols(obj);
|
|
1491
|
-
if (1 !== syms.length || syms[0] !== sym || !Object.prototype.propertyIsEnumerable.call(obj, sym)) return !1;
|
|
1492
|
-
if ('function' == typeof Object.getOwnPropertyDescriptor) {
|
|
1493
|
-
var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
|
|
1494
|
-
if (42 !== descriptor.value || !0 !== descriptor.enumerable) return !1;
|
|
1495
|
-
}
|
|
1496
|
-
return !0;
|
|
1497
|
-
};
|
|
1498
|
-
},
|
|
1499
|
-
"../../node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
1500
|
-
var hasSymbols = __webpack_require__("../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js");
|
|
1501
|
-
module.exports = function() {
|
|
1502
|
-
return hasSymbols() && !!Symbol.toStringTag;
|
|
1503
|
-
};
|
|
1504
|
-
},
|
|
1505
|
-
"../../node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
1506
|
-
var call = Function.prototype.call, $hasOwn = Object.prototype.hasOwnProperty;
|
|
1507
|
-
module.exports = __webpack_require__("../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js").call(call, $hasOwn);
|
|
1508
|
-
},
|
|
1509
|
-
"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js" (module) {
|
|
1510
|
-
module.exports = Math.abs;
|
|
1511
|
-
},
|
|
1512
|
-
"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js" (module) {
|
|
1513
|
-
module.exports = Math.floor;
|
|
1514
|
-
},
|
|
1515
|
-
"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js" (module) {
|
|
1516
|
-
module.exports = Number.isNaN || function(a) {
|
|
1517
|
-
return a != a;
|
|
1518
|
-
};
|
|
1519
|
-
},
|
|
1520
|
-
"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js" (module) {
|
|
1521
|
-
module.exports = Math.max;
|
|
1522
|
-
},
|
|
1523
|
-
"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js" (module) {
|
|
1524
|
-
module.exports = Math.min;
|
|
1525
|
-
},
|
|
1526
|
-
"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js" (module) {
|
|
1527
|
-
module.exports = Math.pow;
|
|
1528
|
-
},
|
|
1529
|
-
"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js" (module) {
|
|
1530
|
-
module.exports = Math.round;
|
|
1531
|
-
},
|
|
1532
|
-
"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
1533
|
-
var $isNaN = __webpack_require__("../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js");
|
|
1534
|
-
module.exports = function(number) {
|
|
1535
|
-
return $isNaN(number) || 0 === number ? number : number < 0 ? -1 : 1;
|
|
1536
|
-
};
|
|
1537
|
-
},
|
|
1538
|
-
"../../node_modules/.pnpm/mime-db@1.52.0/node_modules/mime-db/index.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
1539
|
-
module.exports = __webpack_require__("../../node_modules/.pnpm/mime-db@1.52.0/node_modules/mime-db/db.json");
|
|
1540
|
-
},
|
|
1541
|
-
"../../node_modules/.pnpm/mime-types@2.1.35/node_modules/mime-types/index.js" (__unused_rspack_module, exports, __webpack_require__) {
|
|
1542
|
-
var extensions, types, preference, db = __webpack_require__("../../node_modules/.pnpm/mime-db@1.52.0/node_modules/mime-db/index.js"), extname = __webpack_require__("path?8016").extname, EXTRACT_TYPE_REGEXP = /^\s*([^;\s]*)(?:;|\s|$)/, TEXT_TYPE_REGEXP = /^text\//i;
|
|
1543
|
-
function charset(type) {
|
|
1544
|
-
if (!type || 'string' != typeof type) return !1;
|
|
1545
|
-
var match = EXTRACT_TYPE_REGEXP.exec(type), mime = match && db[match[1].toLowerCase()];
|
|
1546
|
-
return mime && mime.charset ? mime.charset : !!(match && TEXT_TYPE_REGEXP.test(match[1])) && 'UTF-8';
|
|
1547
|
-
}
|
|
1548
|
-
exports.charset = charset, exports.charsets = {
|
|
1549
|
-
lookup: charset
|
|
1550
|
-
}, exports.contentType = function(str) {
|
|
1551
|
-
if (!str || 'string' != typeof str) return !1;
|
|
1552
|
-
var mime = -1 === str.indexOf('/') ? exports.lookup(str) : str;
|
|
1553
|
-
if (!mime) return !1;
|
|
1554
|
-
if (-1 === mime.indexOf('charset')) {
|
|
1555
|
-
var charset = exports.charset(mime);
|
|
1556
|
-
charset && (mime += '; charset=' + charset.toLowerCase());
|
|
1557
|
-
}
|
|
1558
|
-
return mime;
|
|
1559
|
-
}, exports.extension = function(type) {
|
|
1560
|
-
if (!type || 'string' != typeof type) return !1;
|
|
1561
|
-
var match = EXTRACT_TYPE_REGEXP.exec(type), exts = match && exports.extensions[match[1].toLowerCase()];
|
|
1562
|
-
return !!exts && !!exts.length && exts[0];
|
|
1563
|
-
}, exports.extensions = Object.create(null), exports.lookup = function(path) {
|
|
1564
|
-
if (!path || 'string' != typeof path) return !1;
|
|
1565
|
-
var extension = extname('x.' + path).toLowerCase().substr(1);
|
|
1566
|
-
return !!extension && (exports.types[extension] || !1);
|
|
1567
|
-
}, exports.types = Object.create(null), extensions = exports.extensions, types = exports.types, preference = [
|
|
1568
|
-
'nginx',
|
|
1569
|
-
'apache',
|
|
1570
|
-
void 0,
|
|
1571
|
-
'iana'
|
|
1572
|
-
], Object.keys(db).forEach(function(type) {
|
|
1573
|
-
var mime = db[type], exts = mime.extensions;
|
|
1574
|
-
if (exts && exts.length) {
|
|
1575
|
-
extensions[type] = exts;
|
|
1576
|
-
for(var i = 0; i < exts.length; i++){
|
|
1577
|
-
var extension = exts[i];
|
|
1578
|
-
if (types[extension]) {
|
|
1579
|
-
var from = preference.indexOf(db[types[extension]].source), to = preference.indexOf(mime.source);
|
|
1580
|
-
if ('application/octet-stream' !== types[extension] && (from > to || from === to && 'application/' === types[extension].substr(0, 12))) continue;
|
|
1581
|
-
}
|
|
1582
|
-
types[extension] = type;
|
|
1583
|
-
}
|
|
1584
|
-
}
|
|
1585
|
-
});
|
|
1586
|
-
},
|
|
1587
|
-
"../../node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js" (module) {
|
|
1588
|
-
function plural(ms, msAbs, n, name) {
|
|
1589
|
-
return Math.round(ms / n) + ' ' + name + (msAbs >= 1.5 * n ? 's' : '');
|
|
1590
|
-
}
|
|
1591
|
-
module.exports = function(val, options) {
|
|
1592
|
-
options = options || {};
|
|
1593
|
-
var ms, msAbs, ms1, msAbs1, type = typeof val;
|
|
1594
|
-
if ('string' === type && val.length > 0) {
|
|
1595
|
-
var str = val;
|
|
1596
|
-
if (!((str = String(str)).length > 100)) {
|
|
1597
|
-
var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(str);
|
|
1598
|
-
if (match) {
|
|
1599
|
-
var n = parseFloat(match[1]);
|
|
1600
|
-
switch((match[2] || 'ms').toLowerCase()){
|
|
1601
|
-
case 'years':
|
|
1602
|
-
case 'year':
|
|
1603
|
-
case 'yrs':
|
|
1604
|
-
case 'yr':
|
|
1605
|
-
case 'y':
|
|
1606
|
-
return 31557600000 * n;
|
|
1607
|
-
case 'weeks':
|
|
1608
|
-
case 'week':
|
|
1609
|
-
case 'w':
|
|
1610
|
-
return 604800000 * n;
|
|
1611
|
-
case 'days':
|
|
1612
|
-
case 'day':
|
|
1613
|
-
case 'd':
|
|
1614
|
-
return 86400000 * n;
|
|
1615
|
-
case 'hours':
|
|
1616
|
-
case 'hour':
|
|
1617
|
-
case 'hrs':
|
|
1618
|
-
case 'hr':
|
|
1619
|
-
case 'h':
|
|
1620
|
-
return 3600000 * n;
|
|
1621
|
-
case 'minutes':
|
|
1622
|
-
case 'minute':
|
|
1623
|
-
case 'mins':
|
|
1624
|
-
case 'min':
|
|
1625
|
-
case 'm':
|
|
1626
|
-
return 60000 * n;
|
|
1627
|
-
case 'seconds':
|
|
1628
|
-
case 'second':
|
|
1629
|
-
case 'secs':
|
|
1630
|
-
case 'sec':
|
|
1631
|
-
case 's':
|
|
1632
|
-
return 1000 * n;
|
|
1633
|
-
case 'milliseconds':
|
|
1634
|
-
case 'millisecond':
|
|
1635
|
-
case 'msecs':
|
|
1636
|
-
case 'msec':
|
|
1637
|
-
case 'ms':
|
|
1638
|
-
return n;
|
|
1639
|
-
default:
|
|
1640
|
-
break;
|
|
1641
|
-
}
|
|
1642
|
-
}
|
|
1643
|
-
}
|
|
1644
|
-
return;
|
|
1645
|
-
}
|
|
1646
|
-
if ('number' === type && isFinite(val)) {
|
|
1647
|
-
return options.long ? (msAbs = Math.abs(ms = val)) >= 86400000 ? plural(ms, msAbs, 86400000, 'day') : msAbs >= 3600000 ? plural(ms, msAbs, 3600000, 'hour') : msAbs >= 60000 ? plural(ms, msAbs, 60000, 'minute') : msAbs >= 1000 ? plural(ms, msAbs, 1000, 'second') : ms + ' ms' : (msAbs1 = Math.abs(ms1 = val)) >= 86400000 ? Math.round(ms1 / 86400000) + 'd' : msAbs1 >= 3600000 ? Math.round(ms1 / 3600000) + 'h' : msAbs1 >= 60000 ? Math.round(ms1 / 60000) + 'm' : msAbs1 >= 1000 ? Math.round(ms1 / 1000) + 's' : ms1 + 'ms';
|
|
1648
|
-
}
|
|
1649
|
-
throw Error('val is not a non-empty string or a valid number. val=' + JSON.stringify(val));
|
|
1650
|
-
};
|
|
1651
|
-
},
|
|
12
|
+
var fn, fn1, fn2, __webpack_modules__ = {}, __webpack_module_cache__ = {};
|
|
13
|
+
function __webpack_require__(moduleId) {
|
|
14
|
+
var cachedModule = __webpack_module_cache__[moduleId];
|
|
15
|
+
if (void 0 !== cachedModule) return cachedModule.exports;
|
|
16
|
+
var module = __webpack_module_cache__[moduleId] = {
|
|
17
|
+
exports: {}
|
|
18
|
+
};
|
|
19
|
+
return __webpack_modules__[moduleId](module, module.exports, __webpack_require__), module.exports;
|
|
20
|
+
}
|
|
21
|
+
function toArr(any) {
|
|
22
|
+
return null == any ? [] : Array.isArray(any) ? any : [
|
|
23
|
+
any
|
|
24
|
+
];
|
|
25
|
+
}
|
|
26
|
+
function removeBrackets(v) {
|
|
27
|
+
return v.replace(/[<[].+/, "").trim();
|
|
28
|
+
}
|
|
29
|
+
function findLongest(arr) {
|
|
30
|
+
return arr.sort((a, b)=>a.length > b.length ? -1 : 1)[0];
|
|
31
|
+
}
|
|
32
|
+
function padRight(str, length) {
|
|
33
|
+
return str.length >= length ? str : `${str}${" ".repeat(length - str.length)}`;
|
|
34
|
+
}
|
|
35
|
+
function camelcaseOptionName(name) {
|
|
36
|
+
return name.split(".").map((v, i)=>0 === i ? v.replaceAll(/([a-z])-([a-z])/g, (_, p1, p2)=>p1 + p2.toUpperCase()) : v).join(".");
|
|
37
|
+
}
|
|
38
|
+
__webpack_require__.m = __webpack_modules__, __webpack_require__.add = function(modules) {
|
|
39
|
+
Object.assign(__webpack_require__.m, modules);
|
|
40
|
+
}, __webpack_require__.add({
|
|
1652
41
|
"../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js" (module) {
|
|
1653
42
|
let p = process || {}, argv = p.argv || [], env = p.env || {}, isColorSupported = !(env.NO_COLOR || argv.includes("--no-color")) && (!!env.FORCE_COLOR || argv.includes("--color") || "win32" === p.platform || (p.stdout || {}).isTTY && "dumb" !== env.TERM || !!env.CI), formatter = (open, close, replace = open)=>(input)=>{
|
|
1654
43
|
let string = "" + input, index = string.indexOf(close, open.length);
|
|
@@ -1706,114 +95,8 @@ __webpack_require__.add({
|
|
|
1706
95
|
};
|
|
1707
96
|
};
|
|
1708
97
|
module.exports = createColors(), module.exports.createColors = createColors;
|
|
1709
|
-
},
|
|
1710
|
-
"../../node_modules/.pnpm/supports-color@5.5.0/node_modules/supports-color/index.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
1711
|
-
let forceColor, os = __webpack_require__("os"), hasFlag = __webpack_require__("../../node_modules/.pnpm/has-flag@3.0.0/node_modules/has-flag/index.js"), env = process.env;
|
|
1712
|
-
function getSupportLevel(stream) {
|
|
1713
|
-
var level;
|
|
1714
|
-
return 0 !== (level = function(stream) {
|
|
1715
|
-
if (!1 === forceColor) return 0;
|
|
1716
|
-
if (hasFlag('color=16m') || hasFlag('color=full') || hasFlag('color=truecolor')) return 3;
|
|
1717
|
-
if (hasFlag('color=256')) return 2;
|
|
1718
|
-
if (stream && !stream.isTTY && !0 !== forceColor) return 0;
|
|
1719
|
-
let min = +!!forceColor;
|
|
1720
|
-
if ('win32' === process.platform) {
|
|
1721
|
-
let osRelease = os.release().split('.');
|
|
1722
|
-
return Number(process.versions.node.split('.')[0]) >= 8 && Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586 ? Number(osRelease[2]) >= 14931 ? 3 : 2 : 1;
|
|
1723
|
-
}
|
|
1724
|
-
if ('CI' in env) return [
|
|
1725
|
-
'TRAVIS',
|
|
1726
|
-
'CIRCLECI',
|
|
1727
|
-
'APPVEYOR',
|
|
1728
|
-
'GITLAB_CI'
|
|
1729
|
-
].some((sign)=>sign in env) || 'codeship' === env.CI_NAME ? 1 : min;
|
|
1730
|
-
if ('TEAMCITY_VERSION' in env) return +!!/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION);
|
|
1731
|
-
if ('truecolor' === env.COLORTERM) return 3;
|
|
1732
|
-
if ('TERM_PROGRAM' in env) {
|
|
1733
|
-
let version = parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);
|
|
1734
|
-
switch(env.TERM_PROGRAM){
|
|
1735
|
-
case 'iTerm.app':
|
|
1736
|
-
return version >= 3 ? 3 : 2;
|
|
1737
|
-
case 'Apple_Terminal':
|
|
1738
|
-
return 2;
|
|
1739
|
-
}
|
|
1740
|
-
}
|
|
1741
|
-
return /-256(color)?$/i.test(env.TERM) ? 2 : /^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM) || 'COLORTERM' in env ? 1 : (env.TERM, min);
|
|
1742
|
-
}(stream)) && {
|
|
1743
|
-
level,
|
|
1744
|
-
hasBasic: !0,
|
|
1745
|
-
has256: level >= 2,
|
|
1746
|
-
has16m: level >= 3
|
|
1747
|
-
};
|
|
1748
|
-
}
|
|
1749
|
-
hasFlag('no-color') || hasFlag('no-colors') || hasFlag('color=false') ? forceColor = !1 : (hasFlag('color') || hasFlag('colors') || hasFlag('color=true') || hasFlag('color=always')) && (forceColor = !0), 'FORCE_COLOR' in env && (forceColor = 0 === env.FORCE_COLOR.length || 0 !== parseInt(env.FORCE_COLOR, 10)), module.exports = {
|
|
1750
|
-
supportsColor: getSupportLevel,
|
|
1751
|
-
stdout: getSupportLevel(process.stdout),
|
|
1752
|
-
stderr: getSupportLevel(process.stderr)
|
|
1753
|
-
};
|
|
1754
|
-
},
|
|
1755
|
-
assert (module) {
|
|
1756
|
-
module.exports = __rspack_external_assert;
|
|
1757
|
-
},
|
|
1758
|
-
"crypto?fe8b" (module) {
|
|
1759
|
-
module.exports = __rspack_external_crypto;
|
|
1760
|
-
},
|
|
1761
|
-
"fs?dc05" (module) {
|
|
1762
|
-
module.exports = __rspack_external_fs;
|
|
1763
|
-
},
|
|
1764
|
-
"http?1ecc" (module) {
|
|
1765
|
-
module.exports = __rspack_external_http;
|
|
1766
|
-
},
|
|
1767
|
-
"https?edb0" (module) {
|
|
1768
|
-
module.exports = __rspack_external_https;
|
|
1769
|
-
},
|
|
1770
|
-
os (module) {
|
|
1771
|
-
module.exports = __rspack_external_os;
|
|
1772
|
-
},
|
|
1773
|
-
"path?8016" (module) {
|
|
1774
|
-
module.exports = __rspack_external_path;
|
|
1775
|
-
},
|
|
1776
|
-
"stream?3cf7" (module) {
|
|
1777
|
-
module.exports = __rspack_external_stream;
|
|
1778
|
-
},
|
|
1779
|
-
tty (module) {
|
|
1780
|
-
module.exports = __rspack_external_tty;
|
|
1781
|
-
},
|
|
1782
|
-
"url?f119" (module) {
|
|
1783
|
-
module.exports = __rspack_external_url;
|
|
1784
|
-
},
|
|
1785
|
-
"util?2349" (module) {
|
|
1786
|
-
module.exports = __rspack_external_util;
|
|
1787
|
-
},
|
|
1788
|
-
"../../node_modules/.pnpm/mime-db@1.52.0/node_modules/mime-db/db.json" (module) {
|
|
1789
|
-
module.exports = JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/3gpphal+json":{"source":"iana","compressible":true},"application/3gpphalforms+json":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/ace+cbor":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"application/aml":{"source":"iana"},"application/andrew-inset":{"source":"iana","extensions":["ez"]},"application/applefile":{"source":"iana"},"application/applixware":{"source":"apache","extensions":["aw"]},"application/at+jwt":{"source":"iana"},"application/atf":{"source":"iana"},"application/atfx":{"source":"iana"},"application/atom+xml":{"source":"iana","compressible":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/captive+json":{"source":"iana","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"extensions":["cdfx"]},"application/cdmi-capability":{"source":"iana","extensions":["cdmia"]},"application/cdmi-container":{"source":"iana","extensions":["cdmic"]},"application/cdmi-domain":{"source":"iana","extensions":["cdmid"]},"application/cdmi-object":{"source":"iana","extensions":["cdmio"]},"application/cdmi-queue":{"source":"iana","extensions":["cdmiq"]},"application/cdni":{"source":"iana"},"application/cea":{"source":"iana"},"application/cea-2018+xml":{"source":"iana","compressible":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/city+json":{"source":"iana","compressible":true},"application/clr":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true,"extensions":["cpl"]},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dash-patch+xml":{"source":"iana","compressible":true,"extensions":["mpp"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["es","ecma"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/express":{"source":"iana","extensions":["exp"]},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"application/fits":{"source":"iana"},"application/flexfec":{"source":"iana"},"application/font-sfnt":{"source":"iana"},"application/font-tdpfr":{"source":"iana","extensions":["pfr"]},"application/font-woff":{"source":"iana","compressible":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/index":{"source":"iana"},"application/index.cmd":{"source":"iana"},"application/index.obj":{"source":"iana"},"application/index.response":{"source":"iana"},"application/index.vnd":{"source":"iana"},"application/inkml+xml":{"source":"iana","compressible":true,"extensions":["ink","inkml"]},"application/iotp":{"source":"iana"},"application/ipfix":{"source":"iana","extensions":["ipfix"]},"application/ipp":{"source":"iana"},"application/isup":{"source":"iana"},"application/its+xml":{"source":"iana","compressible":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/jscalendar+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"application/lxf":{"source":"iana"},"application/mac-binhex40":{"source":"iana","extensions":["hqx"]},"application/mac-compactpro":{"source":"apache","extensions":["cpt"]},"application/macwriteii":{"source":"iana"},"application/mads+xml":{"source":"iana","compressible":true,"extensions":["mads"]},"application/manifest+json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true,"extensions":["mpf"]},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"extensions":["mets"]},"application/mf4":{"source":"iana"},"application/mikey":{"source":"iana"},"application/mipc":{"source":"iana"},"application/missing-blocks+cbor-seq":{"source":"iana"},"application/mmt-aei+xml":{"source":"iana","compressible":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"extensions":["mods"]},"application/moss-keys":{"source":"iana"},"application/moss-signature":{"source":"iana"},"application/mosskey-data":{"source":"iana"},"application/mosskey-request":{"source":"iana"},"application/mp21":{"source":"iana","extensions":["m21","mp21"]},"application/mp4":{"source":"iana","extensions":["mp4s","m4p"]},"application/mpeg4-generic":{"source":"iana"},"application/mpeg4-iod":{"source":"iana"},"application/mpeg4-iod-xmt":{"source":"iana"},"application/mrb-consumer+xml":{"source":"iana","compressible":true},"application/mrb-publish+xml":{"source":"iana","compressible":true},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"application/multipart-core":{"source":"iana"},"application/mxf":{"source":"iana","extensions":["mxf"]},"application/n-quads":{"source":"iana","extensions":["nq"]},"application/n-triples":{"source":"iana","extensions":["nt"]},"application/nasdata":{"source":"iana"},"application/news-checkgroups":{"source":"iana","charset":"US-ASCII"},"application/news-groupinfo":{"source":"iana","charset":"US-ASCII"},"application/news-transmission":{"source":"iana"},"application/nlsml+xml":{"source":"iana","compressible":true},"application/node":{"source":"iana","extensions":["cjs"]},"application/nss":{"source":"iana"},"application/oauth-authz-req+jwt":{"source":"iana"},"application/oblivious-dns-message":{"source":"iana"},"application/ocsp-request":{"source":"iana"},"application/ocsp-response":{"source":"iana"},"application/octet-stream":{"source":"iana","compressible":false,"extensions":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{"source":"iana","extensions":["oda"]},"application/odm+xml":{"source":"iana","compressible":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{"source":"iana","compressible":true},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p21":{"source":"iana"},"application/p21+zip":{"source":"iana","compressible":false},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"extensions":["pgp"]},"application/pgp-keys":{"source":"iana","extensions":["asc"]},"application/pgp-signature":{"source":"iana","extensions":["asc","sig"]},"application/pics-rules":{"source":"apache","extensions":["prf"]},"application/pidf+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pkcs10":{"source":"iana","extensions":["p10"]},"application/pkcs12":{"source":"iana"},"application/pkcs7-mime":{"source":"iana","extensions":["p7m","p7c"]},"application/pkcs7-signature":{"source":"iana","extensions":["p7s"]},"application/pkcs8":{"source":"iana","extensions":["p8"]},"application/pkcs8-encrypted":{"source":"iana"},"application/pkix-attr-cert":{"source":"iana","extensions":["ac"]},"application/pkix-cert":{"source":"iana","extensions":["cer"]},"application/pkix-crl":{"source":"iana","extensions":["crl"]},"application/pkix-pkipath":{"source":"iana","extensions":["pkipath"]},"application/pkixcmp":{"source":"iana","extensions":["pki"]},"application/pls+xml":{"source":"iana","compressible":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"extensions":["provx"]},"application/prs.alvestrand.titrax-sheet":{"source":"iana"},"application/prs.cww":{"source":"iana","extensions":["cww"]},"application/prs.cyn":{"source":"iana","charset":"7-BIT"},"application/prs.hpub+zip":{"source":"iana","compressible":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"extensions":["rusd"]},"application/rpki-ghostbusters":{"source":"iana","extensions":["gbr"]},"application/rpki-manifest":{"source":"iana","extensions":["mft"]},"application/rpki-publication":{"source":"iana"},"application/rpki-roa":{"source":"iana","extensions":["roa"]},"application/rpki-updown":{"source":"iana"},"application/rsd+xml":{"source":"apache","compressible":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sarif+json":{"source":"iana","compressible":true},"application/sarif-external-properties+json":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"application/scvp-cv-request":{"source":"iana","extensions":["scq"]},"application/scvp-cv-response":{"source":"iana","extensions":["scs"]},"application/scvp-vp-request":{"source":"iana","extensions":["spq"]},"application/scvp-vp-response":{"source":"iana","extensions":["spp"]},"application/sdp":{"source":"iana","extensions":["sdp"]},"application/secevent+jwt":{"source":"iana"},"application/senml+cbor":{"source":"iana"},"application/senml+json":{"source":"iana","compressible":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"application/sep-exi":{"source":"iana"},"application/session-info":{"source":"iana"},"application/set-payment":{"source":"iana"},"application/set-payment-initiation":{"source":"iana","extensions":["setpay"]},"application/set-registration":{"source":"iana"},"application/set-registration-initiation":{"source":"iana","extensions":["setreg"]},"application/sgml":{"source":"iana"},"application/sgml-open-catalog":{"source":"iana"},"application/shf+xml":{"source":"iana","compressible":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"application/simple-message-summary":{"source":"iana"},"application/simplesymbolcontainer":{"source":"iana"},"application/sipc":{"source":"iana"},"application/slate":{"source":"iana"},"application/smil":{"source":"iana"},"application/smil+xml":{"source":"iana","compressible":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spdx+json":{"source":"iana","compressible":true},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"extensions":["swidtag"]},"application/tamp-apex-update":{"source":"iana"},"application/tamp-apex-update-confirm":{"source":"iana"},"application/tamp-community-update":{"source":"iana"},"application/tamp-community-update-confirm":{"source":"iana"},"application/tamp-error":{"source":"iana"},"application/tamp-sequence-adjust":{"source":"iana"},"application/tamp-sequence-adjust-confirm":{"source":"iana"},"application/tamp-status-query":{"source":"iana"},"application/tamp-status-response":{"source":"iana"},"application/tamp-update":{"source":"iana"},"application/tamp-update-confirm":{"source":"iana"},"application/tar":{"compressible":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"extensions":["tfi"]},"application/timestamp-query":{"source":"iana"},"application/timestamp-reply":{"source":"iana"},"application/timestamped-data":{"source":"iana","extensions":["tsd"]},"application/tlsrpt+gzip":{"source":"iana"},"application/tlsrpt+json":{"source":"iana","compressible":true},"application/tnauthlist":{"source":"iana"},"application/token-introspection+jwt":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana","extensions":["trig"]},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ubjson":{"compressible":false,"extensions":["ubj"]},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true,"extensions":["td"]},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-v2x-local-service-information":{"source":"iana"},"application/vnd.3gpp.5gnas":{"source":"iana"},"application/vnd.3gpp.access-transfer-events+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gtpc":{"source":"iana"},"application/vnd.3gpp.interworking-data":{"source":"iana"},"application/vnd.3gpp.lpp":{"source":"iana"},"application/vnd.3gpp.mc-signalling-ear":{"source":"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ngap":{"source":"iana"},"application/vnd.3gpp.pfcp":{"source":"iana"},"application/vnd.3gpp.pic-bw-large":{"source":"iana","extensions":["plb"]},"application/vnd.3gpp.pic-bw-small":{"source":"iana","extensions":["psb"]},"application/vnd.3gpp.pic-bw-var":{"source":"iana","extensions":["pvb"]},"application/vnd.3gpp.s1ap":{"source":"iana"},"application/vnd.3gpp.sms":{"source":"iana"},"application/vnd.3gpp.sms+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.sms":{"source":"iana"},"application/vnd.3gpp2.tcap":{"source":"iana","extensions":["tcap"]},"application/vnd.3lightssoftware.imagescal":{"source":"iana"},"application/vnd.3m.post-it-notes":{"source":"iana","extensions":["pwn"]},"application/vnd.accpac.simply.aso":{"source":"iana","extensions":["aso"]},"application/vnd.accpac.simply.imp":{"source":"iana","extensions":["imp"]},"application/vnd.acucobol":{"source":"iana","extensions":["acu"]},"application/vnd.acucorp":{"source":"iana","extensions":["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{"source":"apache","compressible":false,"extensions":["air"]},"application/vnd.adobe.flash.movie":{"source":"iana"},"application/vnd.adobe.formscentral.fcdt":{"source":"iana","extensions":["fcdt"]},"application/vnd.adobe.fxp":{"source":"iana","extensions":["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{"source":"iana"},"application/vnd.adobe.xdp+xml":{"source":"iana","compressible":true,"extensions":["xdp"]},"application/vnd.adobe.xfdf":{"source":"iana","extensions":["xfdf"]},"application/vnd.aether.imp":{"source":"iana"},"application/vnd.afpc.afplinedata":{"source":"iana"},"application/vnd.afpc.afplinedata-pagedef":{"source":"iana"},"application/vnd.afpc.cmoca-cmresource":{"source":"iana"},"application/vnd.afpc.foca-charset":{"source":"iana"},"application/vnd.afpc.foca-codedfont":{"source":"iana"},"application/vnd.afpc.foca-codepage":{"source":"iana"},"application/vnd.afpc.modca":{"source":"iana"},"application/vnd.afpc.modca-cmtable":{"source":"iana"},"application/vnd.afpc.modca-formdef":{"source":"iana"},"application/vnd.afpc.modca-mediummap":{"source":"iana"},"application/vnd.afpc.modca-objectcontainer":{"source":"iana"},"application/vnd.afpc.modca-overlay":{"source":"iana"},"application/vnd.afpc.modca-pagesegment":{"source":"iana"},"application/vnd.age":{"source":"iana","extensions":["age"]},"application/vnd.ah-barcode":{"source":"iana"},"application/vnd.ahead.space":{"source":"iana","extensions":["ahead"]},"application/vnd.airzip.filesecure.azf":{"source":"iana","extensions":["azf"]},"application/vnd.airzip.filesecure.azs":{"source":"iana","extensions":["azs"]},"application/vnd.amadeus+json":{"source":"iana","compressible":true},"application/vnd.amazon.ebook":{"source":"apache","extensions":["azw"]},"application/vnd.amazon.mobi8-ebook":{"source":"iana"},"application/vnd.americandynamics.acc":{"source":"iana","extensions":["acc"]},"application/vnd.amiga.ami":{"source":"iana","extensions":["ami"]},"application/vnd.amundsen.maze+xml":{"source":"iana","compressible":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"extensions":["apk"]},"application/vnd.anki":{"source":"iana"},"application/vnd.anser-web-certificate-issue-initiation":{"source":"iana","extensions":["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{"source":"apache","extensions":["fti"]},"application/vnd.antix.game-component":{"source":"iana","extensions":["atx"]},"application/vnd.apache.arrow.file":{"source":"iana"},"application/vnd.apache.arrow.stream":{"source":"iana"},"application/vnd.apache.thrift.binary":{"source":"iana"},"application/vnd.apache.thrift.compact":{"source":"iana"},"application/vnd.apache.thrift.json":{"source":"iana"},"application/vnd.api+json":{"source":"iana","compressible":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"extensions":["mpkg"]},"application/vnd.apple.keynote":{"source":"iana","extensions":["key"]},"application/vnd.apple.mpegurl":{"source":"iana","extensions":["m3u8"]},"application/vnd.apple.numbers":{"source":"iana","extensions":["numbers"]},"application/vnd.apple.pages":{"source":"iana","extensions":["pages"]},"application/vnd.apple.pkpass":{"compressible":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"application/vnd.artsquare":{"source":"iana"},"application/vnd.astraea-software.iota":{"source":"iana","extensions":["iota"]},"application/vnd.audiograph":{"source":"iana","extensions":["aep"]},"application/vnd.autopackage":{"source":"iana"},"application/vnd.avalon+json":{"source":"iana","compressible":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"extensions":["bmml"]},"application/vnd.balsamiq.bmpr":{"source":"iana"},"application/vnd.banana-accounting":{"source":"iana"},"application/vnd.bbf.usp.error":{"source":"iana"},"application/vnd.bbf.usp.msg":{"source":"iana"},"application/vnd.bbf.usp.msg+json":{"source":"iana","compressible":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"application/vnd.blink-idb-value-wrapper":{"source":"iana"},"application/vnd.blueice.multipass":{"source":"iana","extensions":["mpm"]},"application/vnd.bluetooth.ep.oob":{"source":"iana"},"application/vnd.bluetooth.le.oob":{"source":"iana"},"application/vnd.bmi":{"source":"iana","extensions":["bmi"]},"application/vnd.bpf":{"source":"iana"},"application/vnd.bpf3":{"source":"iana"},"application/vnd.businessobjects":{"source":"iana","extensions":["rep"]},"application/vnd.byu.uapi+json":{"source":"iana","compressible":true},"application/vnd.cab-jscript":{"source":"iana"},"application/vnd.canon-cpdl":{"source":"iana"},"application/vnd.canon-lips":{"source":"iana"},"application/vnd.capasystems-pg+json":{"source":"iana","compressible":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"extensions":["cdxml"]},"application/vnd.chess-pgn":{"source":"iana"},"application/vnd.chipnuts.karaoke-mmd":{"source":"iana","extensions":["mmd"]},"application/vnd.ciedi":{"source":"iana"},"application/vnd.cinderella":{"source":"iana","extensions":["cdy"]},"application/vnd.cirpack.isdn-ext":{"source":"iana"},"application/vnd.citationstyles.style+xml":{"source":"iana","compressible":true,"extensions":["csl"]},"application/vnd.claymore":{"source":"iana","extensions":["cla"]},"application/vnd.cloanto.rp9":{"source":"iana","extensions":["rp9"]},"application/vnd.clonk.c4group":{"source":"iana","extensions":["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{"source":"iana","extensions":["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{"source":"iana","extensions":["c11amz"]},"application/vnd.coffeescript":{"source":"iana"},"application/vnd.collabio.xodocuments.document":{"source":"iana"},"application/vnd.collabio.xodocuments.document-template":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation-template":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{"source":"iana"},"application/vnd.collection+json":{"source":"iana","compressible":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"application/vnd.comicbook-rar":{"source":"iana"},"application/vnd.commerce-battelle":{"source":"iana"},"application/vnd.commonspace":{"source":"iana","extensions":["csp"]},"application/vnd.contact.cmsg":{"source":"iana","extensions":["cdbcmsg"]},"application/vnd.coreos.ignition+json":{"source":"iana","compressible":true},"application/vnd.cosmocaller":{"source":"iana","extensions":["cmc"]},"application/vnd.crick.clicker":{"source":"iana","extensions":["clkx"]},"application/vnd.crick.clicker.keyboard":{"source":"iana","extensions":["clkk"]},"application/vnd.crick.clicker.palette":{"source":"iana","extensions":["clkp"]},"application/vnd.crick.clicker.template":{"source":"iana","extensions":["clkt"]},"application/vnd.crick.clicker.wordbank":{"source":"iana","extensions":["clkw"]},"application/vnd.criticaltools.wbs+xml":{"source":"iana","compressible":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"application/vnd.crypto-shade-file":{"source":"iana"},"application/vnd.cryptomator.encrypted":{"source":"iana"},"application/vnd.cryptomator.vault":{"source":"iana"},"application/vnd.ctc-posml":{"source":"iana","extensions":["pml"]},"application/vnd.ctct.ws+xml":{"source":"iana","compressible":true},"application/vnd.cups-pdf":{"source":"iana"},"application/vnd.cups-postscript":{"source":"iana"},"application/vnd.cups-ppd":{"source":"iana","extensions":["ppd"]},"application/vnd.cups-raster":{"source":"iana"},"application/vnd.cups-raw":{"source":"iana"},"application/vnd.curl":{"source":"iana"},"application/vnd.curl.car":{"source":"apache","extensions":["car"]},"application/vnd.curl.pcurl":{"source":"apache","extensions":["pcurl"]},"application/vnd.cyan.dean.root+xml":{"source":"iana","compressible":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"application/vnd.dbf":{"source":"iana","extensions":["dbf"]},"application/vnd.debian.binary-package":{"source":"iana"},"application/vnd.dece.data":{"source":"iana","extensions":["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{"source":"iana","compressible":true,"extensions":["uvt","uvvt"]},"application/vnd.dece.unspecified":{"source":"iana","extensions":["uvx","uvvx"]},"application/vnd.dece.zip":{"source":"iana","extensions":["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{"source":"iana","extensions":["fe_launch"]},"application/vnd.desmume.movie":{"source":"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{"source":"iana"},"application/vnd.dm.delegation+xml":{"source":"iana","compressible":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"application/vnd.dolby.mlp":{"source":"apache","extensions":["mlp"]},"application/vnd.dolby.mobile.1":{"source":"iana"},"application/vnd.dolby.mobile.2":{"source":"iana"},"application/vnd.doremir.scorecloud-binary-document":{"source":"iana"},"application/vnd.dpgraph":{"source":"iana","extensions":["dpg"]},"application/vnd.dreamfactory":{"source":"iana","extensions":["dfac"]},"application/vnd.drive+json":{"source":"iana","compressible":true},"application/vnd.ds-keypoint":{"source":"apache","extensions":["kpxx"]},"application/vnd.dtg.local":{"source":"iana"},"application/vnd.dtg.local.flash":{"source":"iana"},"application/vnd.dtg.local.html":{"source":"iana"},"application/vnd.dvb.ait":{"source":"iana","extensions":["ait"]},"application/vnd.dvb.dvbisl+xml":{"source":"iana","compressible":true},"application/vnd.dvb.dvbj":{"source":"iana"},"application/vnd.dvb.esgcontainer":{"source":"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess2":{"source":"iana"},"application/vnd.dvb.ipdcesgpdd":{"source":"iana"},"application/vnd.dvb.ipdcroaming":{"source":"iana"},"application/vnd.dvb.iptv.alfec-base":{"source":"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{"source":"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"application/vnd.dvb.pfr":{"source":"iana"},"application/vnd.dvb.service":{"source":"iana","extensions":["svc"]},"application/vnd.dxr":{"source":"iana"},"application/vnd.dynageo":{"source":"iana","extensions":["geo"]},"application/vnd.dzr":{"source":"iana"},"application/vnd.easykaraoke.cdgdownload":{"source":"iana"},"application/vnd.ecdis-update":{"source":"iana"},"application/vnd.ecip.rlp":{"source":"iana"},"application/vnd.eclipse.ditto+json":{"source":"iana","compressible":true},"application/vnd.ecowin.chart":{"source":"iana","extensions":["mag"]},"application/vnd.ecowin.filerequest":{"source":"iana"},"application/vnd.ecowin.fileupdate":{"source":"iana"},"application/vnd.ecowin.series":{"source":"iana"},"application/vnd.ecowin.seriesrequest":{"source":"iana"},"application/vnd.ecowin.seriesupdate":{"source":"iana"},"application/vnd.efi.img":{"source":"iana"},"application/vnd.efi.iso":{"source":"iana"},"application/vnd.emclient.accessrequest+xml":{"source":"iana","compressible":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"application/vnd.epson.esf":{"source":"iana","extensions":["esf"]},"application/vnd.epson.msf":{"source":"iana","extensions":["msf"]},"application/vnd.epson.quickanime":{"source":"iana","extensions":["qam"]},"application/vnd.epson.salt":{"source":"iana","extensions":["slt"]},"application/vnd.epson.ssf":{"source":"iana","extensions":["ssf"]},"application/vnd.ericsson.quickcall":{"source":"iana"},"application/vnd.espass-espass+zip":{"source":"iana","compressible":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eu.kasparian.car+json":{"source":"iana","compressible":true},"application/vnd.eudora.data":{"source":"iana"},"application/vnd.evolv.ecig.profile":{"source":"iana"},"application/vnd.evolv.ecig.settings":{"source":"iana"},"application/vnd.evolv.ecig.theme":{"source":"iana"},"application/vnd.exstream-empower+zip":{"source":"iana","compressible":false},"application/vnd.exstream-package":{"source":"iana"},"application/vnd.ezpix-album":{"source":"iana","extensions":["ez2"]},"application/vnd.ezpix-package":{"source":"iana","extensions":["ez3"]},"application/vnd.f-secure.mobile":{"source":"iana"},"application/vnd.familysearch.gedcom+zip":{"source":"iana","compressible":false},"application/vnd.fastcopy-disk-image":{"source":"iana"},"application/vnd.fdf":{"source":"iana","extensions":["fdf"]},"application/vnd.fdsn.mseed":{"source":"iana","extensions":["mseed"]},"application/vnd.fdsn.seed":{"source":"iana","extensions":["seed","dataless"]},"application/vnd.ffsns":{"source":"iana"},"application/vnd.ficlab.flb+zip":{"source":"iana","compressible":false},"application/vnd.filmit.zfc":{"source":"iana"},"application/vnd.fints":{"source":"iana"},"application/vnd.firemonkeys.cloudcell":{"source":"iana"},"application/vnd.flographit":{"source":"iana","extensions":["gph"]},"application/vnd.fluxtime.clip":{"source":"iana","extensions":["ftc"]},"application/vnd.font-fontforge-sfd":{"source":"iana"},"application/vnd.framemaker":{"source":"iana","extensions":["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{"source":"iana","extensions":["fnc"]},"application/vnd.frogans.ltf":{"source":"iana","extensions":["ltf"]},"application/vnd.fsc.weblaunch":{"source":"iana","extensions":["fsc"]},"application/vnd.fujifilm.fb.docuworks":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.container":{"source":"iana"},"application/vnd.fujifilm.fb.jfi+xml":{"source":"iana","compressible":true},"application/vnd.fujitsu.oasys":{"source":"iana","extensions":["oas"]},"application/vnd.fujitsu.oasys2":{"source":"iana","extensions":["oa2"]},"application/vnd.fujitsu.oasys3":{"source":"iana","extensions":["oa3"]},"application/vnd.fujitsu.oasysgp":{"source":"iana","extensions":["fg5"]},"application/vnd.fujitsu.oasysprs":{"source":"iana","extensions":["bh2"]},"application/vnd.fujixerox.art-ex":{"source":"iana"},"application/vnd.fujixerox.art4":{"source":"iana"},"application/vnd.fujixerox.ddd":{"source":"iana","extensions":["ddd"]},"application/vnd.fujixerox.docuworks":{"source":"iana","extensions":["xdw"]},"application/vnd.fujixerox.docuworks.binder":{"source":"iana","extensions":["xbd"]},"application/vnd.fujixerox.docuworks.container":{"source":"iana"},"application/vnd.fujixerox.hbpl":{"source":"iana"},"application/vnd.fut-misnet":{"source":"iana"},"application/vnd.futoin+cbor":{"source":"iana"},"application/vnd.futoin+json":{"source":"iana","compressible":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"application/vnd.geogebra.file":{"source":"iana","extensions":["ggb"]},"application/vnd.geogebra.slides":{"source":"iana"},"application/vnd.geogebra.tool":{"source":"iana","extensions":["ggt"]},"application/vnd.geometry-explorer":{"source":"iana","extensions":["gex","gre"]},"application/vnd.geonext":{"source":"iana","extensions":["gxt"]},"application/vnd.geoplan":{"source":"iana","extensions":["g2w"]},"application/vnd.geospace":{"source":"iana","extensions":["g3w"]},"application/vnd.gerber":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt-response":{"source":"iana"},"application/vnd.gmx":{"source":"iana","extensions":["gmx"]},"application/vnd.google-apps.document":{"compressible":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"application/vnd.grafeq":{"source":"iana","extensions":["gqf","gqs"]},"application/vnd.gridmp":{"source":"iana"},"application/vnd.groove-account":{"source":"iana","extensions":["gac"]},"application/vnd.groove-help":{"source":"iana","extensions":["ghf"]},"application/vnd.groove-identity-message":{"source":"iana","extensions":["gim"]},"application/vnd.groove-injector":{"source":"iana","extensions":["grv"]},"application/vnd.groove-tool-message":{"source":"iana","extensions":["gtm"]},"application/vnd.groove-tool-template":{"source":"iana","extensions":["tpl"]},"application/vnd.groove-vcard":{"source":"iana","extensions":["vcg"]},"application/vnd.hal+json":{"source":"iana","compressible":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hl7cda+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hl7v2+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hp-hpgl":{"source":"iana","extensions":["hpgl"]},"application/vnd.hp-hpid":{"source":"iana","extensions":["hpid"]},"application/vnd.hp-hps":{"source":"iana","extensions":["hps"]},"application/vnd.hp-jlyt":{"source":"iana","extensions":["jlt"]},"application/vnd.hp-pcl":{"source":"iana","extensions":["pcl"]},"application/vnd.hp-pclxl":{"source":"iana","extensions":["pclxl"]},"application/vnd.httphone":{"source":"iana"},"application/vnd.hydrostatix.sof-data":{"source":"iana","extensions":["sfd-hdstx"]},"application/vnd.hyper+json":{"source":"iana","compressible":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"application/vnd.hzn-3d-crossword":{"source":"iana"},"application/vnd.ibm.afplinedata":{"source":"iana"},"application/vnd.ibm.electronic-media":{"source":"iana"},"application/vnd.ibm.minipay":{"source":"iana","extensions":["mpy"]},"application/vnd.ibm.modcap":{"source":"iana","extensions":["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{"source":"iana","extensions":["irm"]},"application/vnd.ibm.secure-container":{"source":"iana","extensions":["sc"]},"application/vnd.iccprofile":{"source":"iana","extensions":["icc","icm"]},"application/vnd.ieee.1905":{"source":"iana"},"application/vnd.igloader":{"source":"iana","extensions":["igl"]},"application/vnd.imagemeter.folder+zip":{"source":"iana","compressible":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"application/vnd.immervision-ivp":{"source":"iana","extensions":["ivp"]},"application/vnd.immervision-ivu":{"source":"iana","extensions":["ivu"]},"application/vnd.ims.imsccv1p1":{"source":"iana"},"application/vnd.ims.imsccv1p2":{"source":"iana"},"application/vnd.ims.imsccv1p3":{"source":"iana"},"application/vnd.ims.lis.v2.result+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"application/vnd.innopath.wamp.notification":{"source":"iana"},"application/vnd.insors.igm":{"source":"iana","extensions":["igm"]},"application/vnd.intercon.formnet":{"source":"iana","extensions":["xpw","xpx"]},"application/vnd.intergeo":{"source":"iana","extensions":["i2g"]},"application/vnd.intertrust.digibox":{"source":"iana"},"application/vnd.intertrust.nncp":{"source":"iana"},"application/vnd.intu.qbo":{"source":"iana","extensions":["qbo"]},"application/vnd.intu.qfx":{"source":"iana","extensions":["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"extensions":["irp"]},"application/vnd.is-xpr":{"source":"iana","extensions":["xpr"]},"application/vnd.isac.fcs":{"source":"iana","extensions":["fcs"]},"application/vnd.iso11783-10+zip":{"source":"iana","compressible":false},"application/vnd.jam":{"source":"iana","extensions":["jam"]},"application/vnd.japannet-directory-service":{"source":"iana"},"application/vnd.japannet-jpnstore-wakeup":{"source":"iana"},"application/vnd.japannet-payment-wakeup":{"source":"iana"},"application/vnd.japannet-registration":{"source":"iana"},"application/vnd.japannet-registration-wakeup":{"source":"iana"},"application/vnd.japannet-setstore-wakeup":{"source":"iana"},"application/vnd.japannet-verification":{"source":"iana"},"application/vnd.japannet-verification-wakeup":{"source":"iana"},"application/vnd.jcp.javame.midlet-rms":{"source":"iana","extensions":["rms"]},"application/vnd.jisp":{"source":"iana","extensions":["jisp"]},"application/vnd.joost.joda-archive":{"source":"iana","extensions":["joda"]},"application/vnd.jsk.isdn-ngn":{"source":"iana"},"application/vnd.kahootz":{"source":"iana","extensions":["ktz","ktr"]},"application/vnd.kde.karbon":{"source":"iana","extensions":["karbon"]},"application/vnd.kde.kchart":{"source":"iana","extensions":["chrt"]},"application/vnd.kde.kformula":{"source":"iana","extensions":["kfo"]},"application/vnd.kde.kivio":{"source":"iana","extensions":["flw"]},"application/vnd.kde.kontour":{"source":"iana","extensions":["kon"]},"application/vnd.kde.kpresenter":{"source":"iana","extensions":["kpr","kpt"]},"application/vnd.kde.kspread":{"source":"iana","extensions":["ksp"]},"application/vnd.kde.kword":{"source":"iana","extensions":["kwd","kwt"]},"application/vnd.kenameaapp":{"source":"iana","extensions":["htke"]},"application/vnd.kidspiration":{"source":"iana","extensions":["kia"]},"application/vnd.kinar":{"source":"iana","extensions":["kne","knp"]},"application/vnd.koan":{"source":"iana","extensions":["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{"source":"iana","extensions":["sse"]},"application/vnd.las":{"source":"iana"},"application/vnd.las.las+json":{"source":"iana","compressible":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"application/vnd.loom":{"source":"iana"},"application/vnd.lotus-1-2-3":{"source":"iana","extensions":["123"]},"application/vnd.lotus-approach":{"source":"iana","extensions":["apr"]},"application/vnd.lotus-freelance":{"source":"iana","extensions":["pre"]},"application/vnd.lotus-notes":{"source":"iana","extensions":["nsf"]},"application/vnd.lotus-organizer":{"source":"iana","extensions":["org"]},"application/vnd.lotus-screencam":{"source":"iana","extensions":["scm"]},"application/vnd.lotus-wordpro":{"source":"iana","extensions":["lwp"]},"application/vnd.macports.portpkg":{"source":"iana","extensions":["portpkg"]},"application/vnd.mapbox-vector-tile":{"source":"iana","extensions":["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxar.archive.3tz+zip":{"source":"iana","compressible":false},"application/vnd.maxmind.maxmind-db":{"source":"iana"},"application/vnd.mcd":{"source":"iana","extensions":["mcd"]},"application/vnd.medcalcdata":{"source":"iana","extensions":["mc1"]},"application/vnd.mediastation.cdkey":{"source":"iana","extensions":["cdkey"]},"application/vnd.meridian-slingshot":{"source":"iana"},"application/vnd.mfer":{"source":"iana","extensions":["mwf"]},"application/vnd.mfmp":{"source":"iana","extensions":["mfm"]},"application/vnd.micro+json":{"source":"iana","compressible":true},"application/vnd.micrografx.flo":{"source":"iana","extensions":["flo"]},"application/vnd.micrografx.igx":{"source":"iana","extensions":["igx"]},"application/vnd.microsoft.portable-executable":{"source":"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{"source":"iana"},"application/vnd.miele+json":{"source":"iana","compressible":true},"application/vnd.mif":{"source":"iana","extensions":["mif"]},"application/vnd.minisoft-hp3000-save":{"source":"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{"source":"iana"},"application/vnd.mobius.daf":{"source":"iana","extensions":["daf"]},"application/vnd.mobius.dis":{"source":"iana","extensions":["dis"]},"application/vnd.mobius.mbk":{"source":"iana","extensions":["mbk"]},"application/vnd.mobius.mqy":{"source":"iana","extensions":["mqy"]},"application/vnd.mobius.msl":{"source":"iana","extensions":["msl"]},"application/vnd.mobius.plc":{"source":"iana","extensions":["plc"]},"application/vnd.mobius.txf":{"source":"iana","extensions":["txf"]},"application/vnd.mophun.application":{"source":"iana","extensions":["mpn"]},"application/vnd.mophun.certificate":{"source":"iana","extensions":["mpc"]},"application/vnd.motorola.flexsuite":{"source":"iana"},"application/vnd.motorola.flexsuite.adsi":{"source":"iana"},"application/vnd.motorola.flexsuite.fis":{"source":"iana"},"application/vnd.motorola.flexsuite.gotap":{"source":"iana"},"application/vnd.motorola.flexsuite.kmr":{"source":"iana"},"application/vnd.motorola.flexsuite.ttc":{"source":"iana"},"application/vnd.motorola.flexsuite.wem":{"source":"iana"},"application/vnd.motorola.iprm":{"source":"iana"},"application/vnd.mozilla.xul+xml":{"source":"iana","compressible":true,"extensions":["xul"]},"application/vnd.ms-3mfdocument":{"source":"iana"},"application/vnd.ms-artgalry":{"source":"iana","extensions":["cil"]},"application/vnd.ms-asf":{"source":"iana"},"application/vnd.ms-cab-compressed":{"source":"iana","extensions":["cab"]},"application/vnd.ms-color.iccprofile":{"source":"apache"},"application/vnd.ms-excel":{"source":"iana","compressible":false,"extensions":["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{"source":"iana","extensions":["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{"source":"iana","extensions":["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{"source":"iana","extensions":["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{"source":"iana","extensions":["xltm"]},"application/vnd.ms-fontobject":{"source":"iana","compressible":true,"extensions":["eot"]},"application/vnd.ms-htmlhelp":{"source":"iana","extensions":["chm"]},"application/vnd.ms-ims":{"source":"iana","extensions":["ims"]},"application/vnd.ms-lrm":{"source":"iana","extensions":["lrm"]},"application/vnd.ms-office.activex+xml":{"source":"iana","compressible":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"extensions":["msg"]},"application/vnd.ms-package.obfuscated-opentype":{"source":"apache"},"application/vnd.ms-pki.seccat":{"source":"apache","extensions":["cat"]},"application/vnd.ms-pki.stl":{"source":"apache","extensions":["stl"]},"application/vnd.ms-playready.initiator+xml":{"source":"iana","compressible":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"extensions":["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{"source":"iana","extensions":["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{"source":"iana","extensions":["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{"source":"iana","extensions":["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{"source":"iana","extensions":["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{"source":"iana","extensions":["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{"source":"iana","compressible":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"application/vnd.ms-project":{"source":"iana","extensions":["mpp","mpt"]},"application/vnd.ms-tnef":{"source":"iana"},"application/vnd.ms-windows.devicepairing":{"source":"iana"},"application/vnd.ms-windows.nwprinting.oob":{"source":"iana"},"application/vnd.ms-windows.printerpairing":{"source":"iana"},"application/vnd.ms-windows.wsd.oob":{"source":"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.lic-resp":{"source":"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.meter-resp":{"source":"iana"},"application/vnd.ms-word.document.macroenabled.12":{"source":"iana","extensions":["docm"]},"application/vnd.ms-word.template.macroenabled.12":{"source":"iana","extensions":["dotm"]},"application/vnd.ms-works":{"source":"iana","extensions":["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{"source":"iana","extensions":["wpl"]},"application/vnd.ms-xpsdocument":{"source":"iana","compressible":false,"extensions":["xps"]},"application/vnd.msa-disk-image":{"source":"iana"},"application/vnd.mseq":{"source":"iana","extensions":["mseq"]},"application/vnd.msign":{"source":"iana"},"application/vnd.multiad.creator":{"source":"iana"},"application/vnd.multiad.creator.cif":{"source":"iana"},"application/vnd.music-niff":{"source":"iana"},"application/vnd.musician":{"source":"iana","extensions":["mus"]},"application/vnd.muvee.style":{"source":"iana","extensions":["msty"]},"application/vnd.mynfc":{"source":"iana","extensions":["taglet"]},"application/vnd.nacamar.ybrid+json":{"source":"iana","compressible":true},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"application/vnd.nebumind.line":{"source":"iana"},"application/vnd.nervana":{"source":"iana"},"application/vnd.netfpx":{"source":"iana"},"application/vnd.neurolanguage.nlu":{"source":"iana","extensions":["nlu"]},"application/vnd.nimn":{"source":"iana"},"application/vnd.nintendo.nitro.rom":{"source":"iana"},"application/vnd.nintendo.snes.rom":{"source":"iana"},"application/vnd.nitf":{"source":"iana","extensions":["ntf","nitf"]},"application/vnd.noblenet-directory":{"source":"iana","extensions":["nnd"]},"application/vnd.noblenet-sealer":{"source":"iana","extensions":["nns"]},"application/vnd.noblenet-web":{"source":"iana","extensions":["nnw"]},"application/vnd.nokia.catalogs":{"source":"iana"},"application/vnd.nokia.conml+wbxml":{"source":"iana"},"application/vnd.nokia.conml+xml":{"source":"iana","compressible":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"extensions":["ac"]},"application/vnd.nokia.n-gage.data":{"source":"iana","extensions":["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{"source":"iana","extensions":["n-gage"]},"application/vnd.nokia.ncd":{"source":"iana"},"application/vnd.nokia.pcd+wbxml":{"source":"iana"},"application/vnd.nokia.pcd+xml":{"source":"iana","compressible":true},"application/vnd.nokia.radio-preset":{"source":"iana","extensions":["rpst"]},"application/vnd.nokia.radio-presets":{"source":"iana","extensions":["rpss"]},"application/vnd.novadigm.edm":{"source":"iana","extensions":["edm"]},"application/vnd.novadigm.edx":{"source":"iana","extensions":["edx"]},"application/vnd.novadigm.ext":{"source":"iana","extensions":["ext"]},"application/vnd.ntt-local.content-share":{"source":"iana"},"application/vnd.ntt-local.file-transfer":{"source":"iana"},"application/vnd.ntt-local.ogw_remote-access":{"source":"iana"},"application/vnd.ntt-local.sip-ta_remote":{"source":"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{"source":"iana"},"application/vnd.oasis.opendocument.chart":{"source":"iana","extensions":["odc"]},"application/vnd.oasis.opendocument.chart-template":{"source":"iana","extensions":["otc"]},"application/vnd.oasis.opendocument.database":{"source":"iana","extensions":["odb"]},"application/vnd.oasis.opendocument.formula":{"source":"iana","extensions":["odf"]},"application/vnd.oasis.opendocument.formula-template":{"source":"iana","extensions":["odft"]},"application/vnd.oasis.opendocument.graphics":{"source":"iana","compressible":false,"extensions":["odg"]},"application/vnd.oasis.opendocument.graphics-template":{"source":"iana","extensions":["otg"]},"application/vnd.oasis.opendocument.image":{"source":"iana","extensions":["odi"]},"application/vnd.oasis.opendocument.image-template":{"source":"iana","extensions":["oti"]},"application/vnd.oasis.opendocument.presentation":{"source":"iana","compressible":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"extensions":["odt"]},"application/vnd.oasis.opendocument.text-master":{"source":"iana","extensions":["odm"]},"application/vnd.oasis.opendocument.text-template":{"source":"iana","extensions":["ott"]},"application/vnd.oasis.opendocument.text-web":{"source":"iana","extensions":["oth"]},"application/vnd.obn":{"source":"iana"},"application/vnd.ocf+cbor":{"source":"iana"},"application/vnd.oci.image.manifest.v1+json":{"source":"iana","compressible":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"application/vnd.olpc-sugar":{"source":"iana","extensions":["xo"]},"application/vnd.oma-scws-config":{"source":"iana"},"application/vnd.oma-scws-http-request":{"source":"iana"},"application/vnd.oma-scws-http-response":{"source":"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sgdu":{"source":"iana"},"application/vnd.oma.bcast.simple-symbol-container":{"source":"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+cbor":{"source":"iana"},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omaloc-supl-init":{"source":"iana"},"application/vnd.onepager":{"source":"iana"},"application/vnd.onepagertamp":{"source":"iana"},"application/vnd.onepagertamx":{"source":"iana"},"application/vnd.onepagertat":{"source":"iana"},"application/vnd.onepagertatp":{"source":"iana"},"application/vnd.onepagertatx":{"source":"iana"},"application/vnd.openblox.game+xml":{"source":"iana","compressible":true,"extensions":["obgx"]},"application/vnd.openblox.game-binary":{"source":"iana"},"application/vnd.openeye.oeb":{"source":"iana"},"application/vnd.openofficeorg.extension":{"source":"apache","extensions":["oxt"]},"application/vnd.openstreetmap.data+xml":{"source":"iana","compressible":true,"extensions":["osm"]},"application/vnd.opentimestamps.ots":{"source":"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"application/vnd.orange.indata":{"source":"iana"},"application/vnd.osa.netdeploy":{"source":"iana"},"application/vnd.osgeo.mapguide.package":{"source":"iana","extensions":["mgp"]},"application/vnd.osgi.bundle":{"source":"iana"},"application/vnd.osgi.dp":{"source":"iana","extensions":["dp"]},"application/vnd.osgi.subsystem":{"source":"iana","extensions":["esa"]},"application/vnd.otps.ct-kip+xml":{"source":"iana","compressible":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"application/vnd.palm":{"source":"iana","extensions":["pdb","pqa","oprc"]},"application/vnd.panoply":{"source":"iana"},"application/vnd.paos.xml":{"source":"iana"},"application/vnd.patentdive":{"source":"iana"},"application/vnd.patientecommsdoc":{"source":"iana"},"application/vnd.pawaafile":{"source":"iana","extensions":["paw"]},"application/vnd.pcos":{"source":"iana"},"application/vnd.pg.format":{"source":"iana","extensions":["str"]},"application/vnd.pg.osasli":{"source":"iana","extensions":["ei6"]},"application/vnd.piaccess.application-licence":{"source":"iana"},"application/vnd.picsel":{"source":"iana","extensions":["efif"]},"application/vnd.pmi.widget":{"source":"iana","extensions":["wg"]},"application/vnd.poc.group-advertisement+xml":{"source":"iana","compressible":true},"application/vnd.pocketlearn":{"source":"iana","extensions":["plf"]},"application/vnd.powerbuilder6":{"source":"iana","extensions":["pbd"]},"application/vnd.powerbuilder6-s":{"source":"iana"},"application/vnd.powerbuilder7":{"source":"iana"},"application/vnd.powerbuilder7-s":{"source":"iana"},"application/vnd.powerbuilder75":{"source":"iana"},"application/vnd.powerbuilder75-s":{"source":"iana"},"application/vnd.preminet":{"source":"iana"},"application/vnd.previewsystems.box":{"source":"iana","extensions":["box"]},"application/vnd.proteus.magazine":{"source":"iana","extensions":["mgz"]},"application/vnd.psfs":{"source":"iana"},"application/vnd.publishare-delta-tree":{"source":"iana","extensions":["qps"]},"application/vnd.pvi.ptid1":{"source":"iana","extensions":["ptid"]},"application/vnd.pwg-multiplexed":{"source":"iana"},"application/vnd.pwg-xhtml-print+xml":{"source":"iana","compressible":true},"application/vnd.qualcomm.brew-app-res":{"source":"iana"},"application/vnd.quarantainenet":{"source":"iana"},"application/vnd.quark.quarkxpress":{"source":"iana","extensions":["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{"source":"iana"},"application/vnd.radisys.moml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"application/vnd.rainstor.data":{"source":"iana"},"application/vnd.rapid":{"source":"iana"},"application/vnd.rar":{"source":"iana","extensions":["rar"]},"application/vnd.realvnc.bed":{"source":"iana","extensions":["bed"]},"application/vnd.recordare.musicxml":{"source":"iana","extensions":["mxl"]},"application/vnd.recordare.musicxml+xml":{"source":"iana","compressible":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.resilient.logic":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"application/vnd.rig.cryptonote":{"source":"iana","extensions":["cryptonote"]},"application/vnd.rim.cod":{"source":"apache","extensions":["cod"]},"application/vnd.rn-realmedia":{"source":"apache","extensions":["rm"]},"application/vnd.rn-realmedia-vbr":{"source":"apache","extensions":["rmvb"]},"application/vnd.route66.link66+xml":{"source":"iana","compressible":true,"extensions":["link66"]},"application/vnd.rs-274x":{"source":"iana"},"application/vnd.ruckus.download":{"source":"iana"},"application/vnd.s3sms":{"source":"iana"},"application/vnd.sailingtracker.track":{"source":"iana","extensions":["st"]},"application/vnd.sar":{"source":"iana"},"application/vnd.sbm.cid":{"source":"iana"},"application/vnd.sbm.mid2":{"source":"iana"},"application/vnd.scribus":{"source":"iana"},"application/vnd.sealed.3df":{"source":"iana"},"application/vnd.sealed.csf":{"source":"iana"},"application/vnd.sealed.doc":{"source":"iana"},"application/vnd.sealed.eml":{"source":"iana"},"application/vnd.sealed.mht":{"source":"iana"},"application/vnd.sealed.net":{"source":"iana"},"application/vnd.sealed.ppt":{"source":"iana"},"application/vnd.sealed.tiff":{"source":"iana"},"application/vnd.sealed.xls":{"source":"iana"},"application/vnd.sealedmedia.softseal.html":{"source":"iana"},"application/vnd.sealedmedia.softseal.pdf":{"source":"iana"},"application/vnd.seemail":{"source":"iana","extensions":["see"]},"application/vnd.seis+json":{"source":"iana","compressible":true},"application/vnd.sema":{"source":"iana","extensions":["sema"]},"application/vnd.semd":{"source":"iana","extensions":["semd"]},"application/vnd.semf":{"source":"iana","extensions":["semf"]},"application/vnd.shade-save-file":{"source":"iana"},"application/vnd.shana.informed.formdata":{"source":"iana","extensions":["ifm"]},"application/vnd.shana.informed.formtemplate":{"source":"iana","extensions":["itp"]},"application/vnd.shana.informed.interchange":{"source":"iana","extensions":["iif"]},"application/vnd.shana.informed.package":{"source":"iana","extensions":["ipk"]},"application/vnd.shootproof+json":{"source":"iana","compressible":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"application/vnd.shp":{"source":"iana"},"application/vnd.shx":{"source":"iana"},"application/vnd.sigrok.session":{"source":"iana"},"application/vnd.simtech-mindmapper":{"source":"iana","extensions":["twd","twds"]},"application/vnd.siren+json":{"source":"iana","compressible":true},"application/vnd.smaf":{"source":"iana","extensions":["mmf"]},"application/vnd.smart.notebook":{"source":"iana"},"application/vnd.smart.teacher":{"source":"iana","extensions":["teacher"]},"application/vnd.snesdev-page-table":{"source":"iana"},"application/vnd.software602.filler.form+xml":{"source":"iana","compressible":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"extensions":["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{"source":"iana","extensions":["dxp"]},"application/vnd.spotfire.sfs":{"source":"iana","extensions":["sfs"]},"application/vnd.sqlite3":{"source":"iana"},"application/vnd.sss-cod":{"source":"iana"},"application/vnd.sss-dtf":{"source":"iana"},"application/vnd.sss-ntf":{"source":"iana"},"application/vnd.stardivision.calc":{"source":"apache","extensions":["sdc"]},"application/vnd.stardivision.draw":{"source":"apache","extensions":["sda"]},"application/vnd.stardivision.impress":{"source":"apache","extensions":["sdd"]},"application/vnd.stardivision.math":{"source":"apache","extensions":["smf"]},"application/vnd.stardivision.writer":{"source":"apache","extensions":["sdw","vor"]},"application/vnd.stardivision.writer-global":{"source":"apache","extensions":["sgl"]},"application/vnd.stepmania.package":{"source":"iana","extensions":["smzip"]},"application/vnd.stepmania.stepchart":{"source":"iana","extensions":["sm"]},"application/vnd.street-stream":{"source":"iana"},"application/vnd.sun.wadl+xml":{"source":"iana","compressible":true,"extensions":["wadl"]},"application/vnd.sun.xml.calc":{"source":"apache","extensions":["sxc"]},"application/vnd.sun.xml.calc.template":{"source":"apache","extensions":["stc"]},"application/vnd.sun.xml.draw":{"source":"apache","extensions":["sxd"]},"application/vnd.sun.xml.draw.template":{"source":"apache","extensions":["std"]},"application/vnd.sun.xml.impress":{"source":"apache","extensions":["sxi"]},"application/vnd.sun.xml.impress.template":{"source":"apache","extensions":["sti"]},"application/vnd.sun.xml.math":{"source":"apache","extensions":["sxm"]},"application/vnd.sun.xml.writer":{"source":"apache","extensions":["sxw"]},"application/vnd.sun.xml.writer.global":{"source":"apache","extensions":["sxg"]},"application/vnd.sun.xml.writer.template":{"source":"apache","extensions":["stw"]},"application/vnd.sus-calendar":{"source":"iana","extensions":["sus","susp"]},"application/vnd.svd":{"source":"iana","extensions":["svd"]},"application/vnd.swiftview-ics":{"source":"iana"},"application/vnd.sycle+xml":{"source":"iana","compressible":true},"application/vnd.syft+json":{"source":"iana","compressible":true},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xsm"]},"application/vnd.syncml.dm+wbxml":{"source":"iana","charset":"UTF-8","extensions":["bdm"]},"application/vnd.syncml.dm+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xdm"]},"application/vnd.syncml.dm.notification":{"source":"iana"},"application/vnd.syncml.dmddf+wbxml":{"source":"iana"},"application/vnd.syncml.dmddf+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"application/vnd.tao.intent-module-archive":{"source":"iana","extensions":["tao"]},"application/vnd.tcpdump.pcap":{"source":"iana","extensions":["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{"source":"iana","compressible":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"application/vnd.tml":{"source":"iana"},"application/vnd.tmobile-livetv":{"source":"iana","extensions":["tmo"]},"application/vnd.tri.onesource":{"source":"iana"},"application/vnd.trid.tpt":{"source":"iana","extensions":["tpt"]},"application/vnd.triscape.mxs":{"source":"iana","extensions":["mxs"]},"application/vnd.trueapp":{"source":"iana","extensions":["tra"]},"application/vnd.truedoc":{"source":"iana"},"application/vnd.ubisoft.webplayer":{"source":"iana"},"application/vnd.ufdl":{"source":"iana","extensions":["ufd","ufdl"]},"application/vnd.uiq.theme":{"source":"iana","extensions":["utz"]},"application/vnd.umajin":{"source":"iana","extensions":["umj"]},"application/vnd.unity":{"source":"iana","extensions":["unityweb"]},"application/vnd.uoml+xml":{"source":"iana","compressible":true,"extensions":["uoml"]},"application/vnd.uplanet.alert":{"source":"iana"},"application/vnd.uplanet.alert-wbxml":{"source":"iana"},"application/vnd.uplanet.bearer-choice":{"source":"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{"source":"iana"},"application/vnd.uplanet.cacheop":{"source":"iana"},"application/vnd.uplanet.cacheop-wbxml":{"source":"iana"},"application/vnd.uplanet.channel":{"source":"iana"},"application/vnd.uplanet.channel-wbxml":{"source":"iana"},"application/vnd.uplanet.list":{"source":"iana"},"application/vnd.uplanet.list-wbxml":{"source":"iana"},"application/vnd.uplanet.listcmd":{"source":"iana"},"application/vnd.uplanet.listcmd-wbxml":{"source":"iana"},"application/vnd.uplanet.signal":{"source":"iana"},"application/vnd.uri-map":{"source":"iana"},"application/vnd.valve.source.material":{"source":"iana"},"application/vnd.vcx":{"source":"iana","extensions":["vcx"]},"application/vnd.vd-study":{"source":"iana"},"application/vnd.vectorworks":{"source":"iana"},"application/vnd.vel+json":{"source":"iana","compressible":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veritone.aion+json":{"source":"iana","compressible":true},"application/vnd.veryant.thin":{"source":"iana"},"application/vnd.ves.encrypted":{"source":"iana"},"application/vnd.vidsoft.vidconference":{"source":"iana"},"application/vnd.visio":{"source":"iana","extensions":["vsd","vst","vss","vsw"]},"application/vnd.visionary":{"source":"iana","extensions":["vis"]},"application/vnd.vividence.scriptfile":{"source":"iana"},"application/vnd.vsf":{"source":"iana","extensions":["vsf"]},"application/vnd.wap.sic":{"source":"iana"},"application/vnd.wap.slc":{"source":"iana"},"application/vnd.wap.wbxml":{"source":"iana","charset":"UTF-8","extensions":["wbxml"]},"application/vnd.wap.wmlc":{"source":"iana","extensions":["wmlc"]},"application/vnd.wap.wmlscriptc":{"source":"iana","extensions":["wmlsc"]},"application/vnd.webturbo":{"source":"iana","extensions":["wtb"]},"application/vnd.wfa.dpp":{"source":"iana"},"application/vnd.wfa.p2p":{"source":"iana"},"application/vnd.wfa.wsc":{"source":"iana"},"application/vnd.windows.devicepairing":{"source":"iana"},"application/vnd.wmc":{"source":"iana"},"application/vnd.wmf.bootstrap":{"source":"iana"},"application/vnd.wolfram.mathematica":{"source":"iana"},"application/vnd.wolfram.mathematica.package":{"source":"iana"},"application/vnd.wolfram.player":{"source":"iana","extensions":["nbp"]},"application/vnd.wordperfect":{"source":"iana","extensions":["wpd"]},"application/vnd.wqd":{"source":"iana","extensions":["wqd"]},"application/vnd.wrq-hp3000-labelled":{"source":"iana"},"application/vnd.wt.stf":{"source":"iana","extensions":["stf"]},"application/vnd.wv.csp+wbxml":{"source":"iana"},"application/vnd.wv.csp+xml":{"source":"iana","compressible":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"application/vnd.xara":{"source":"iana","extensions":["xar"]},"application/vnd.xfdl":{"source":"iana","extensions":["xfdl"]},"application/vnd.xfdl.webform":{"source":"iana"},"application/vnd.xmi+xml":{"source":"iana","compressible":true},"application/vnd.xmpie.cpkg":{"source":"iana"},"application/vnd.xmpie.dpkg":{"source":"iana"},"application/vnd.xmpie.plan":{"source":"iana"},"application/vnd.xmpie.ppkg":{"source":"iana"},"application/vnd.xmpie.xlim":{"source":"iana"},"application/vnd.yamaha.hv-dic":{"source":"iana","extensions":["hvd"]},"application/vnd.yamaha.hv-script":{"source":"iana","extensions":["hvs"]},"application/vnd.yamaha.hv-voice":{"source":"iana","extensions":["hvp"]},"application/vnd.yamaha.openscoreformat":{"source":"iana","extensions":["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{"source":"iana","compressible":true,"extensions":["osfpvg"]},"application/vnd.yamaha.remote-setup":{"source":"iana"},"application/vnd.yamaha.smaf-audio":{"source":"iana","extensions":["saf"]},"application/vnd.yamaha.smaf-phrase":{"source":"iana","extensions":["spf"]},"application/vnd.yamaha.through-ngn":{"source":"iana"},"application/vnd.yamaha.tunnel-udpencap":{"source":"iana"},"application/vnd.yaoweme":{"source":"iana"},"application/vnd.yellowriver-custom-menu":{"source":"iana","extensions":["cmp"]},"application/vnd.youtube.yt":{"source":"iana"},"application/vnd.zul":{"source":"iana","extensions":["zir","zirz"]},"application/vnd.zzazz.deck+xml":{"source":"iana","compressible":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"source":"iana","compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true,"extensions":["wif"]},"application/webpush-options+json":{"source":"iana","compressible":true},"application/whoispp-query":{"source":"iana"},"application/whoispp-response":{"source":"iana"},"application/widget":{"source":"iana","extensions":["wgt"]},"application/winhlp":{"source":"apache","extensions":["hlp"]},"application/wita":{"source":"iana"},"application/wordperfect5.1":{"source":"iana"},"application/wsdl+xml":{"source":"iana","compressible":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"extensions":["7z"]},"application/x-abiword":{"source":"apache","extensions":["abw"]},"application/x-ace-compressed":{"source":"apache","extensions":["ace"]},"application/x-amf":{"source":"apache"},"application/x-apple-diskimage":{"source":"apache","extensions":["dmg"]},"application/x-arj":{"compressible":false,"extensions":["arj"]},"application/x-authorware-bin":{"source":"apache","extensions":["aab","x32","u32","vox"]},"application/x-authorware-map":{"source":"apache","extensions":["aam"]},"application/x-authorware-seg":{"source":"apache","extensions":["aas"]},"application/x-bcpio":{"source":"apache","extensions":["bcpio"]},"application/x-bdoc":{"compressible":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"extensions":["bz2","boz"]},"application/x-cbr":{"source":"apache","extensions":["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{"source":"apache","extensions":["vcd"]},"application/x-cfs-compressed":{"source":"apache","extensions":["cfs"]},"application/x-chat":{"source":"apache","extensions":["chat"]},"application/x-chess-pgn":{"source":"apache","extensions":["pgn"]},"application/x-chrome-extension":{"extensions":["crx"]},"application/x-cocoa":{"source":"nginx","extensions":["cco"]},"application/x-compress":{"source":"apache"},"application/x-conference":{"source":"apache","extensions":["nsc"]},"application/x-cpio":{"source":"apache","extensions":["cpio"]},"application/x-csh":{"source":"apache","extensions":["csh"]},"application/x-deb":{"compressible":false},"application/x-debian-package":{"source":"apache","extensions":["deb","udeb"]},"application/x-dgc-compressed":{"source":"apache","extensions":["dgc"]},"application/x-director":{"source":"apache","extensions":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{"source":"apache","extensions":["wad"]},"application/x-dtbncx+xml":{"source":"apache","compressible":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"extensions":["dvi"]},"application/x-envoy":{"source":"apache","extensions":["evy"]},"application/x-eva":{"source":"apache","extensions":["eva"]},"application/x-font-bdf":{"source":"apache","extensions":["bdf"]},"application/x-font-dos":{"source":"apache"},"application/x-font-framemaker":{"source":"apache"},"application/x-font-ghostscript":{"source":"apache","extensions":["gsf"]},"application/x-font-libgrx":{"source":"apache"},"application/x-font-linux-psf":{"source":"apache","extensions":["psf"]},"application/x-font-pcf":{"source":"apache","extensions":["pcf"]},"application/x-font-snf":{"source":"apache","extensions":["snf"]},"application/x-font-speedo":{"source":"apache"},"application/x-font-sunos-news":{"source":"apache"},"application/x-font-type1":{"source":"apache","extensions":["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{"source":"apache"},"application/x-freearc":{"source":"apache","extensions":["arc"]},"application/x-futuresplash":{"source":"apache","extensions":["spl"]},"application/x-gca-compressed":{"source":"apache","extensions":["gca"]},"application/x-glulx":{"source":"apache","extensions":["ulx"]},"application/x-gnumeric":{"source":"apache","extensions":["gnumeric"]},"application/x-gramps-xml":{"source":"apache","extensions":["gramps"]},"application/x-gtar":{"source":"apache","extensions":["gtar"]},"application/x-gzip":{"source":"apache"},"application/x-hdf":{"source":"apache","extensions":["hdf"]},"application/x-httpd-php":{"compressible":true,"extensions":["php"]},"application/x-install-instructions":{"source":"apache","extensions":["install"]},"application/x-iso9660-image":{"source":"apache","extensions":["iso"]},"application/x-iwork-keynote-sffkey":{"extensions":["key"]},"application/x-iwork-numbers-sffnumbers":{"extensions":["numbers"]},"application/x-iwork-pages-sffpages":{"extensions":["pages"]},"application/x-java-archive-diff":{"source":"nginx","extensions":["jardiff"]},"application/x-java-jnlp-file":{"source":"apache","compressible":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"extensions":["latex"]},"application/x-lua-bytecode":{"extensions":["luac"]},"application/x-lzh-compressed":{"source":"apache","extensions":["lzh","lha"]},"application/x-makeself":{"source":"nginx","extensions":["run"]},"application/x-mie":{"source":"apache","extensions":["mie"]},"application/x-mobipocket-ebook":{"source":"apache","extensions":["prc","mobi"]},"application/x-mpegurl":{"compressible":false},"application/x-ms-application":{"source":"apache","extensions":["application"]},"application/x-ms-shortcut":{"source":"apache","extensions":["lnk"]},"application/x-ms-wmd":{"source":"apache","extensions":["wmd"]},"application/x-ms-wmz":{"source":"apache","extensions":["wmz"]},"application/x-ms-xbap":{"source":"apache","extensions":["xbap"]},"application/x-msaccess":{"source":"apache","extensions":["mdb"]},"application/x-msbinder":{"source":"apache","extensions":["obd"]},"application/x-mscardfile":{"source":"apache","extensions":["crd"]},"application/x-msclip":{"source":"apache","extensions":["clp"]},"application/x-msdos-program":{"extensions":["exe"]},"application/x-msdownload":{"source":"apache","extensions":["exe","dll","com","bat","msi"]},"application/x-msmediaview":{"source":"apache","extensions":["mvb","m13","m14"]},"application/x-msmetafile":{"source":"apache","extensions":["wmf","wmz","emf","emz"]},"application/x-msmoney":{"source":"apache","extensions":["mny"]},"application/x-mspublisher":{"source":"apache","extensions":["pub"]},"application/x-msschedule":{"source":"apache","extensions":["scd"]},"application/x-msterminal":{"source":"apache","extensions":["trm"]},"application/x-mswrite":{"source":"apache","extensions":["wri"]},"application/x-netcdf":{"source":"apache","extensions":["nc","cdf"]},"application/x-ns-proxy-autoconfig":{"compressible":true,"extensions":["pac"]},"application/x-nzb":{"source":"apache","extensions":["nzb"]},"application/x-perl":{"source":"nginx","extensions":["pl","pm"]},"application/x-pilot":{"source":"nginx","extensions":["prc","pdb"]},"application/x-pkcs12":{"source":"apache","compressible":false,"extensions":["p12","pfx"]},"application/x-pkcs7-certificates":{"source":"apache","extensions":["p7b","spc"]},"application/x-pkcs7-certreqresp":{"source":"apache","extensions":["p7r"]},"application/x-pki-message":{"source":"iana"},"application/x-rar-compressed":{"source":"apache","compressible":false,"extensions":["rar"]},"application/x-redhat-package-manager":{"source":"nginx","extensions":["rpm"]},"application/x-research-info-systems":{"source":"apache","extensions":["ris"]},"application/x-sea":{"source":"nginx","extensions":["sea"]},"application/x-sh":{"source":"apache","compressible":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"extensions":["sit"]},"application/x-stuffitx":{"source":"apache","extensions":["sitx"]},"application/x-subrip":{"source":"apache","extensions":["srt"]},"application/x-sv4cpio":{"source":"apache","extensions":["sv4cpio"]},"application/x-sv4crc":{"source":"apache","extensions":["sv4crc"]},"application/x-t3vm-image":{"source":"apache","extensions":["t3"]},"application/x-tads":{"source":"apache","extensions":["gam"]},"application/x-tar":{"source":"apache","compressible":true,"extensions":["tar"]},"application/x-tcl":{"source":"apache","extensions":["tcl","tk"]},"application/x-tex":{"source":"apache","extensions":["tex"]},"application/x-tex-tfm":{"source":"apache","extensions":["tfm"]},"application/x-texinfo":{"source":"apache","extensions":["texinfo","texi"]},"application/x-tgif":{"source":"apache","extensions":["obj"]},"application/x-ustar":{"source":"apache","extensions":["ustar"]},"application/x-virtualbox-hdd":{"compressible":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"application/x-x509-ca-cert":{"source":"iana","extensions":["der","crt","pem"]},"application/x-x509-ca-ra-cert":{"source":"iana"},"application/x-x509-next-ca-cert":{"source":"iana"},"application/x-xfig":{"source":"apache","extensions":["fig"]},"application/x-xliff+xml":{"source":"apache","compressible":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"extensions":["xpi"]},"application/x-xz":{"source":"apache","extensions":["xz"]},"application/x-zmachine":{"source":"apache","extensions":["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{"source":"iana"},"application/xacml+xml":{"source":"iana","compressible":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xsl","xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"extensions":["zip"]},"application/zlib":{"source":"iana"},"application/zstd":{"source":"iana"},"audio/1d-interleaved-parityfec":{"source":"iana"},"audio/32kadpcm":{"source":"iana"},"audio/3gpp":{"source":"iana","compressible":false,"extensions":["3gpp"]},"audio/3gpp2":{"source":"iana"},"audio/aac":{"source":"iana"},"audio/ac3":{"source":"iana"},"audio/adpcm":{"source":"apache","extensions":["adp"]},"audio/amr":{"source":"iana","extensions":["amr"]},"audio/amr-wb":{"source":"iana"},"audio/amr-wb+":{"source":"iana"},"audio/aptx":{"source":"iana"},"audio/asc":{"source":"iana"},"audio/atrac-advanced-lossless":{"source":"iana"},"audio/atrac-x":{"source":"iana"},"audio/atrac3":{"source":"iana"},"audio/basic":{"source":"iana","compressible":false,"extensions":["au","snd"]},"audio/bv16":{"source":"iana"},"audio/bv32":{"source":"iana"},"audio/clearmode":{"source":"iana"},"audio/cn":{"source":"iana"},"audio/dat12":{"source":"iana"},"audio/dls":{"source":"iana"},"audio/dsr-es201108":{"source":"iana"},"audio/dsr-es202050":{"source":"iana"},"audio/dsr-es202211":{"source":"iana"},"audio/dsr-es202212":{"source":"iana"},"audio/dv":{"source":"iana"},"audio/dvi4":{"source":"iana"},"audio/eac3":{"source":"iana"},"audio/encaprtp":{"source":"iana"},"audio/evrc":{"source":"iana"},"audio/evrc-qcp":{"source":"iana"},"audio/evrc0":{"source":"iana"},"audio/evrc1":{"source":"iana"},"audio/evrcb":{"source":"iana"},"audio/evrcb0":{"source":"iana"},"audio/evrcb1":{"source":"iana"},"audio/evrcnw":{"source":"iana"},"audio/evrcnw0":{"source":"iana"},"audio/evrcnw1":{"source":"iana"},"audio/evrcwb":{"source":"iana"},"audio/evrcwb0":{"source":"iana"},"audio/evrcwb1":{"source":"iana"},"audio/evs":{"source":"iana"},"audio/flexfec":{"source":"iana"},"audio/fwdred":{"source":"iana"},"audio/g711-0":{"source":"iana"},"audio/g719":{"source":"iana"},"audio/g722":{"source":"iana"},"audio/g7221":{"source":"iana"},"audio/g723":{"source":"iana"},"audio/g726-16":{"source":"iana"},"audio/g726-24":{"source":"iana"},"audio/g726-32":{"source":"iana"},"audio/g726-40":{"source":"iana"},"audio/g728":{"source":"iana"},"audio/g729":{"source":"iana"},"audio/g7291":{"source":"iana"},"audio/g729d":{"source":"iana"},"audio/g729e":{"source":"iana"},"audio/gsm":{"source":"iana"},"audio/gsm-efr":{"source":"iana"},"audio/gsm-hr-08":{"source":"iana"},"audio/ilbc":{"source":"iana"},"audio/ip-mr_v2.5":{"source":"iana"},"audio/isac":{"source":"apache"},"audio/l16":{"source":"iana"},"audio/l20":{"source":"iana"},"audio/l24":{"source":"iana","compressible":false},"audio/l8":{"source":"iana"},"audio/lpc":{"source":"iana"},"audio/melp":{"source":"iana"},"audio/melp1200":{"source":"iana"},"audio/melp2400":{"source":"iana"},"audio/melp600":{"source":"iana"},"audio/mhas":{"source":"iana"},"audio/midi":{"source":"apache","extensions":["mid","midi","kar","rmi"]},"audio/mobile-xmf":{"source":"iana","extensions":["mxmf"]},"audio/mp3":{"compressible":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"extensions":["oga","ogg","spx","opus"]},"audio/opus":{"source":"iana"},"audio/parityfec":{"source":"iana"},"audio/pcma":{"source":"iana"},"audio/pcma-wb":{"source":"iana"},"audio/pcmu":{"source":"iana"},"audio/pcmu-wb":{"source":"iana"},"audio/prs.sid":{"source":"iana"},"audio/qcelp":{"source":"iana"},"audio/raptorfec":{"source":"iana"},"audio/red":{"source":"iana"},"audio/rtp-enc-aescm128":{"source":"iana"},"audio/rtp-midi":{"source":"iana"},"audio/rtploopback":{"source":"iana"},"audio/rtx":{"source":"iana"},"audio/s3m":{"source":"apache","extensions":["s3m"]},"audio/scip":{"source":"iana"},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sofa":{"source":"iana"},"audio/sp-midi":{"source":"iana"},"audio/speex":{"source":"iana"},"audio/t140c":{"source":"iana"},"audio/t38":{"source":"iana"},"audio/telephone-event":{"source":"iana"},"audio/tetra_acelp":{"source":"iana"},"audio/tetra_acelp_bb":{"source":"iana"},"audio/tone":{"source":"iana"},"audio/tsvcis":{"source":"iana"},"audio/uemclip":{"source":"iana"},"audio/ulpfec":{"source":"iana"},"audio/usac":{"source":"iana"},"audio/vdvi":{"source":"iana"},"audio/vmr-wb":{"source":"iana"},"audio/vnd.3gpp.iufp":{"source":"iana"},"audio/vnd.4sb":{"source":"iana"},"audio/vnd.audiokoz":{"source":"iana"},"audio/vnd.celp":{"source":"iana"},"audio/vnd.cisco.nse":{"source":"iana"},"audio/vnd.cmles.radio-events":{"source":"iana"},"audio/vnd.cns.anp1":{"source":"iana"},"audio/vnd.cns.inf1":{"source":"iana"},"audio/vnd.dece.audio":{"source":"iana","extensions":["uva","uvva"]},"audio/vnd.digital-winds":{"source":"iana","extensions":["eol"]},"audio/vnd.dlna.adts":{"source":"iana"},"audio/vnd.dolby.heaac.1":{"source":"iana"},"audio/vnd.dolby.heaac.2":{"source":"iana"},"audio/vnd.dolby.mlp":{"source":"iana"},"audio/vnd.dolby.mps":{"source":"iana"},"audio/vnd.dolby.pl2":{"source":"iana"},"audio/vnd.dolby.pl2x":{"source":"iana"},"audio/vnd.dolby.pl2z":{"source":"iana"},"audio/vnd.dolby.pulse.1":{"source":"iana"},"audio/vnd.dra":{"source":"iana","extensions":["dra"]},"audio/vnd.dts":{"source":"iana","extensions":["dts"]},"audio/vnd.dts.hd":{"source":"iana","extensions":["dtshd"]},"audio/vnd.dts.uhd":{"source":"iana"},"audio/vnd.dvb.file":{"source":"iana"},"audio/vnd.everad.plj":{"source":"iana"},"audio/vnd.hns.audio":{"source":"iana"},"audio/vnd.lucent.voice":{"source":"iana","extensions":["lvp"]},"audio/vnd.ms-playready.media.pya":{"source":"iana","extensions":["pya"]},"audio/vnd.nokia.mobile-xmf":{"source":"iana"},"audio/vnd.nortel.vbk":{"source":"iana"},"audio/vnd.nuera.ecelp4800":{"source":"iana","extensions":["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{"source":"iana","extensions":["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{"source":"iana","extensions":["ecelp9600"]},"audio/vnd.octel.sbc":{"source":"iana"},"audio/vnd.presonus.multitrack":{"source":"iana"},"audio/vnd.qcelp":{"source":"iana"},"audio/vnd.rhetorex.32kadpcm":{"source":"iana"},"audio/vnd.rip":{"source":"iana","extensions":["rip"]},"audio/vnd.rn-realaudio":{"compressible":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"extensions":["caf"]},"audio/x-flac":{"source":"apache","extensions":["flac"]},"audio/x-m4a":{"source":"nginx","extensions":["m4a"]},"audio/x-matroska":{"source":"apache","extensions":["mka"]},"audio/x-mpegurl":{"source":"apache","extensions":["m3u"]},"audio/x-ms-wax":{"source":"apache","extensions":["wax"]},"audio/x-ms-wma":{"source":"apache","extensions":["wma"]},"audio/x-pn-realaudio":{"source":"apache","extensions":["ram","ra"]},"audio/x-pn-realaudio-plugin":{"source":"apache","extensions":["rmp"]},"audio/x-realaudio":{"source":"nginx","extensions":["ra"]},"audio/x-tta":{"source":"apache"},"audio/x-wav":{"source":"apache","extensions":["wav"]},"audio/xm":{"source":"apache","extensions":["xm"]},"chemical/x-cdx":{"source":"apache","extensions":["cdx"]},"chemical/x-cif":{"source":"apache","extensions":["cif"]},"chemical/x-cmdf":{"source":"apache","extensions":["cmdf"]},"chemical/x-cml":{"source":"apache","extensions":["cml"]},"chemical/x-csml":{"source":"apache","extensions":["csml"]},"chemical/x-pdb":{"source":"apache"},"chemical/x-xyz":{"source":"apache","extensions":["xyz"]},"font/collection":{"source":"iana","extensions":["ttc"]},"font/otf":{"source":"iana","compressible":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana","extensions":["avci"]},"image/avcs":{"source":"iana","extensions":["avcs"]},"image/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"image/bmp":{"source":"iana","compressible":true,"extensions":["bmp"]},"image/cgm":{"source":"iana","extensions":["cgm"]},"image/dicom-rle":{"source":"iana","extensions":["drle"]},"image/emf":{"source":"iana","extensions":["emf"]},"image/fits":{"source":"iana","extensions":["fits"]},"image/g3fax":{"source":"iana","extensions":["g3"]},"image/gif":{"source":"iana","compressible":false,"extensions":["gif"]},"image/heic":{"source":"iana","extensions":["heic"]},"image/heic-sequence":{"source":"iana","extensions":["heics"]},"image/heif":{"source":"iana","extensions":["heif"]},"image/heif-sequence":{"source":"iana","extensions":["heifs"]},"image/hej2k":{"source":"iana","extensions":["hej2"]},"image/hsj2":{"source":"iana","extensions":["hsj2"]},"image/ief":{"source":"iana","extensions":["ief"]},"image/jls":{"source":"iana","extensions":["jls"]},"image/jp2":{"source":"iana","compressible":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"extensions":["jpx","jpf"]},"image/jxr":{"source":"iana","extensions":["jxr"]},"image/jxra":{"source":"iana","extensions":["jxra"]},"image/jxrs":{"source":"iana","extensions":["jxrs"]},"image/jxs":{"source":"iana","extensions":["jxs"]},"image/jxsc":{"source":"iana","extensions":["jxsc"]},"image/jxsi":{"source":"iana","extensions":["jxsi"]},"image/jxss":{"source":"iana","extensions":["jxss"]},"image/ktx":{"source":"iana","extensions":["ktx"]},"image/ktx2":{"source":"iana","extensions":["ktx2"]},"image/naplps":{"source":"iana"},"image/pjpeg":{"compressible":false},"image/png":{"source":"iana","compressible":false,"extensions":["png"]},"image/prs.btif":{"source":"iana","extensions":["btif"]},"image/prs.pti":{"source":"iana","extensions":["pti"]},"image/pwg-raster":{"source":"iana"},"image/sgi":{"source":"apache","extensions":["sgi"]},"image/svg+xml":{"source":"iana","compressible":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"extensions":["psd"]},"image/vnd.airzip.accelerator.azv":{"source":"iana","extensions":["azv"]},"image/vnd.cns.inf2":{"source":"iana"},"image/vnd.dece.graphic":{"source":"iana","extensions":["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{"source":"iana","extensions":["djvu","djv"]},"image/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"image/vnd.dwg":{"source":"iana","extensions":["dwg"]},"image/vnd.dxf":{"source":"iana","extensions":["dxf"]},"image/vnd.fastbidsheet":{"source":"iana","extensions":["fbs"]},"image/vnd.fpx":{"source":"iana","extensions":["fpx"]},"image/vnd.fst":{"source":"iana","extensions":["fst"]},"image/vnd.fujixerox.edmics-mmr":{"source":"iana","extensions":["mmr"]},"image/vnd.fujixerox.edmics-rlc":{"source":"iana","extensions":["rlc"]},"image/vnd.globalgraphics.pgb":{"source":"iana"},"image/vnd.microsoft.icon":{"source":"iana","compressible":true,"extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"compressible":true,"extensions":["dds"]},"image/vnd.ms-modi":{"source":"iana","extensions":["mdi"]},"image/vnd.ms-photo":{"source":"apache","extensions":["wdp"]},"image/vnd.net-fpx":{"source":"iana","extensions":["npx"]},"image/vnd.pco.b16":{"source":"iana","extensions":["b16"]},"image/vnd.radiance":{"source":"iana"},"image/vnd.sealed.png":{"source":"iana"},"image/vnd.sealedmedia.softseal.gif":{"source":"iana"},"image/vnd.sealedmedia.softseal.jpg":{"source":"iana"},"image/vnd.svf":{"source":"iana"},"image/vnd.tencent.tap":{"source":"iana","extensions":["tap"]},"image/vnd.valve.source.texture":{"source":"iana","extensions":["vtf"]},"image/vnd.wap.wbmp":{"source":"iana","extensions":["wbmp"]},"image/vnd.xiff":{"source":"iana","extensions":["xif"]},"image/vnd.zbrush.pcx":{"source":"iana","extensions":["pcx"]},"image/webp":{"source":"apache","extensions":["webp"]},"image/wmf":{"source":"iana","extensions":["wmf"]},"image/x-3ds":{"source":"apache","extensions":["3ds"]},"image/x-cmu-raster":{"source":"apache","extensions":["ras"]},"image/x-cmx":{"source":"apache","extensions":["cmx"]},"image/x-freehand":{"source":"apache","extensions":["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{"source":"apache","compressible":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"extensions":["bmp"]},"image/x-pcx":{"source":"apache","extensions":["pcx"]},"image/x-pict":{"source":"apache","extensions":["pic","pct"]},"image/x-portable-anymap":{"source":"apache","extensions":["pnm"]},"image/x-portable-bitmap":{"source":"apache","extensions":["pbm"]},"image/x-portable-graymap":{"source":"apache","extensions":["pgm"]},"image/x-portable-pixmap":{"source":"apache","extensions":["ppm"]},"image/x-rgb":{"source":"apache","extensions":["rgb"]},"image/x-tga":{"source":"apache","extensions":["tga"]},"image/x-xbitmap":{"source":"apache","extensions":["xbm"]},"image/x-xcf":{"compressible":false},"image/x-xpixmap":{"source":"apache","extensions":["xpm"]},"image/x-xwindowdump":{"source":"apache","extensions":["xwd"]},"message/cpim":{"source":"iana"},"message/delivery-status":{"source":"iana"},"message/disposition-notification":{"source":"iana","extensions":["disposition-notification"]},"message/external-body":{"source":"iana"},"message/feedback-report":{"source":"iana"},"message/global":{"source":"iana","extensions":["u8msg"]},"message/global-delivery-status":{"source":"iana","extensions":["u8dsn"]},"message/global-disposition-notification":{"source":"iana","extensions":["u8mdn"]},"message/global-headers":{"source":"iana","extensions":["u8hdr"]},"message/http":{"source":"iana","compressible":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"extensions":["eml","mime"]},"message/s-http":{"source":"iana"},"message/sip":{"source":"iana"},"message/sipfrag":{"source":"iana"},"message/tracking-status":{"source":"iana"},"message/vnd.si.simp":{"source":"iana"},"message/vnd.wfa.wsc":{"source":"iana","extensions":["wsc"]},"model/3mf":{"source":"iana","extensions":["3mf"]},"model/e57":{"source":"iana"},"model/gltf+json":{"source":"iana","compressible":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"extensions":["msh","mesh","silo"]},"model/mtl":{"source":"iana","extensions":["mtl"]},"model/obj":{"source":"iana","extensions":["obj"]},"model/step":{"source":"iana"},"model/step+xml":{"source":"iana","compressible":true,"extensions":["stpx"]},"model/step+zip":{"source":"iana","compressible":false,"extensions":["stpz"]},"model/step-xml+zip":{"source":"iana","compressible":false,"extensions":["stpxz"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"extensions":["dae"]},"model/vnd.dwf":{"source":"iana","extensions":["dwf"]},"model/vnd.flatland.3dml":{"source":"iana"},"model/vnd.gdl":{"source":"iana","extensions":["gdl"]},"model/vnd.gs-gdl":{"source":"apache"},"model/vnd.gs.gdl":{"source":"iana"},"model/vnd.gtw":{"source":"iana","extensions":["gtw"]},"model/vnd.moml+xml":{"source":"iana","compressible":true},"model/vnd.mts":{"source":"iana","extensions":["mts"]},"model/vnd.opengex":{"source":"iana","extensions":["ogex"]},"model/vnd.parasolid.transmit.binary":{"source":"iana","extensions":["x_b"]},"model/vnd.parasolid.transmit.text":{"source":"iana","extensions":["x_t"]},"model/vnd.pytha.pyox":{"source":"iana"},"model/vnd.rosette.annotated-data-model":{"source":"iana"},"model/vnd.sap.vds":{"source":"iana","extensions":["vds"]},"model/vnd.usdz+zip":{"source":"iana","compressible":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"multipart/vnd.bint.med-plus":{"source":"iana"},"multipart/voice-message":{"source":"iana"},"multipart/x-mixed-replace":{"source":"iana"},"text/1d-interleaved-parityfec":{"source":"iana"},"text/cache-manifest":{"source":"iana","compressible":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"text/coffeescript":{"extensions":["coffee","litcoffee"]},"text/cql":{"source":"iana"},"text/cql-expression":{"source":"iana"},"text/cql-identifier":{"source":"iana"},"text/css":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"extensions":["csv"]},"text/csv-schema":{"source":"iana"},"text/directory":{"source":"iana"},"text/dns":{"source":"iana"},"text/ecmascript":{"source":"iana"},"text/encaprtp":{"source":"iana"},"text/enriched":{"source":"iana"},"text/fhirpath":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/gff3":{"source":"iana"},"text/grammar-ref-list":{"source":"iana"},"text/html":{"source":"iana","compressible":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"extensions":["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{"source":"iana","charset":"UTF-8"},"text/prs.fallenstein.rst":{"source":"iana"},"text/prs.lines.tag":{"source":"iana","extensions":["dsc"]},"text/prs.prop.logic":{"source":"iana"},"text/raptorfec":{"source":"iana"},"text/red":{"source":"iana"},"text/rfc822-headers":{"source":"iana"},"text/richtext":{"source":"iana","compressible":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"text/rtp-enc-aescm128":{"source":"iana"},"text/rtploopback":{"source":"iana"},"text/rtx":{"source":"iana"},"text/sgml":{"source":"iana","extensions":["sgml","sgm"]},"text/shaclc":{"source":"iana"},"text/shex":{"source":"iana","extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/spdx":{"source":"iana","extensions":["spdx"]},"text/strings":{"source":"iana"},"text/stylus":{"extensions":["stylus","styl"]},"text/t140":{"source":"iana"},"text/tab-separated-values":{"source":"iana","compressible":true,"extensions":["tsv"]},"text/troff":{"source":"iana","extensions":["t","tr","roff","man","me","ms"]},"text/turtle":{"source":"iana","charset":"UTF-8","extensions":["ttl"]},"text/ulpfec":{"source":"iana"},"text/uri-list":{"source":"iana","compressible":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"extensions":["vcard"]},"text/vnd.a":{"source":"iana"},"text/vnd.abc":{"source":"iana"},"text/vnd.ascii-art":{"source":"iana"},"text/vnd.curl":{"source":"iana","extensions":["curl"]},"text/vnd.curl.dcurl":{"source":"apache","extensions":["dcurl"]},"text/vnd.curl.mcurl":{"source":"apache","extensions":["mcurl"]},"text/vnd.curl.scurl":{"source":"apache","extensions":["scurl"]},"text/vnd.debian.copyright":{"source":"iana","charset":"UTF-8"},"text/vnd.dmclientscript":{"source":"iana"},"text/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"text/vnd.esmertec.theme-descriptor":{"source":"iana","charset":"UTF-8"},"text/vnd.familysearch.gedcom":{"source":"iana","extensions":["ged"]},"text/vnd.ficlab.flt":{"source":"iana"},"text/vnd.fly":{"source":"iana","extensions":["fly"]},"text/vnd.fmi.flexstor":{"source":"iana","extensions":["flx"]},"text/vnd.gml":{"source":"iana"},"text/vnd.graphviz":{"source":"iana","extensions":["gv"]},"text/vnd.hans":{"source":"iana"},"text/vnd.hgl":{"source":"iana"},"text/vnd.in3d.3dml":{"source":"iana","extensions":["3dml"]},"text/vnd.in3d.spot":{"source":"iana","extensions":["spot"]},"text/vnd.iptc.newsml":{"source":"iana"},"text/vnd.iptc.nitf":{"source":"iana"},"text/vnd.latex-z":{"source":"iana"},"text/vnd.motorola.reflex":{"source":"iana"},"text/vnd.ms-mediapackage":{"source":"iana"},"text/vnd.net2phone.commcenter.command":{"source":"iana"},"text/vnd.radisys.msml-basic-layout":{"source":"iana"},"text/vnd.senx.warpscript":{"source":"iana"},"text/vnd.si.uricatalogue":{"source":"iana"},"text/vnd.sosi":{"source":"iana"},"text/vnd.sun.j2me.app-descriptor":{"source":"iana","charset":"UTF-8","extensions":["jad"]},"text/vnd.trolltech.linguist":{"source":"iana","charset":"UTF-8"},"text/vnd.wap.si":{"source":"iana"},"text/vnd.wap.sl":{"source":"iana"},"text/vnd.wap.wml":{"source":"iana","extensions":["wml"]},"text/vnd.wap.wmlscript":{"source":"iana","extensions":["wmls"]},"text/vtt":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["vtt"]},"text/x-asm":{"source":"apache","extensions":["s","asm"]},"text/x-c":{"source":"apache","extensions":["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{"source":"nginx","extensions":["htc"]},"text/x-fortran":{"source":"apache","extensions":["f","for","f77","f90"]},"text/x-gwt-rpc":{"compressible":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"extensions":["pde"]},"text/x-sass":{"extensions":["sass"]},"text/x-scss":{"extensions":["scss"]},"text/x-setext":{"source":"apache","extensions":["etx"]},"text/x-sfv":{"source":"apache","extensions":["sfv"]},"text/x-suse-ymp":{"compressible":true,"extensions":["ymp"]},"text/x-uuencode":{"source":"apache","extensions":["uu"]},"text/x-vcalendar":{"source":"apache","extensions":["vcs"]},"text/x-vcard":{"source":"apache","extensions":["vcf"]},"text/xml":{"source":"iana","compressible":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"compressible":true,"extensions":["yaml","yml"]},"video/1d-interleaved-parityfec":{"source":"iana"},"video/3gpp":{"source":"iana","extensions":["3gp","3gpp"]},"video/3gpp-tt":{"source":"iana"},"video/3gpp2":{"source":"iana","extensions":["3g2"]},"video/av1":{"source":"iana"},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/ffv1":{"source":"iana"},"video/flexfec":{"source":"iana"},"video/h261":{"source":"iana","extensions":["h261"]},"video/h263":{"source":"iana","extensions":["h263"]},"video/h263-1998":{"source":"iana"},"video/h263-2000":{"source":"iana"},"video/h264":{"source":"iana","extensions":["h264"]},"video/h264-rcdo":{"source":"iana"},"video/h264-svc":{"source":"iana"},"video/h265":{"source":"iana"},"video/iso.segment":{"source":"iana","extensions":["m4s"]},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"video/jxsv":{"source":"iana"},"video/mj2":{"source":"iana","extensions":["mj2","mjp2"]},"video/mp1s":{"source":"iana"},"video/mp2p":{"source":"iana"},"video/mp2t":{"source":"iana","extensions":["ts"]},"video/mp4":{"source":"iana","compressible":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"extensions":["qt","mov"]},"video/raptorfec":{"source":"iana"},"video/raw":{"source":"iana"},"video/rtp-enc-aescm128":{"source":"iana"},"video/rtploopback":{"source":"iana"},"video/rtx":{"source":"iana"},"video/scip":{"source":"iana"},"video/smpte291":{"source":"iana"},"video/smpte292m":{"source":"iana"},"video/ulpfec":{"source":"iana"},"video/vc1":{"source":"iana"},"video/vc2":{"source":"iana"},"video/vnd.cctv":{"source":"iana"},"video/vnd.dece.hd":{"source":"iana","extensions":["uvh","uvvh"]},"video/vnd.dece.mobile":{"source":"iana","extensions":["uvm","uvvm"]},"video/vnd.dece.mp4":{"source":"iana"},"video/vnd.dece.pd":{"source":"iana","extensions":["uvp","uvvp"]},"video/vnd.dece.sd":{"source":"iana","extensions":["uvs","uvvs"]},"video/vnd.dece.video":{"source":"iana","extensions":["uvv","uvvv"]},"video/vnd.directv.mpeg":{"source":"iana"},"video/vnd.directv.mpeg-tts":{"source":"iana"},"video/vnd.dlna.mpeg-tts":{"source":"iana"},"video/vnd.dvb.file":{"source":"iana","extensions":["dvb"]},"video/vnd.fvt":{"source":"iana","extensions":["fvt"]},"video/vnd.hns.video":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.ttsavc":{"source":"iana"},"video/vnd.iptvforum.ttsmpeg2":{"source":"iana"},"video/vnd.motorola.video":{"source":"iana"},"video/vnd.motorola.videop":{"source":"iana"},"video/vnd.mpegurl":{"source":"iana","extensions":["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{"source":"iana","extensions":["pyv"]},"video/vnd.nokia.interleaved-multimedia":{"source":"iana"},"video/vnd.nokia.mp4vr":{"source":"iana"},"video/vnd.nokia.videovoip":{"source":"iana"},"video/vnd.objectvideo":{"source":"iana"},"video/vnd.radgamettools.bink":{"source":"iana"},"video/vnd.radgamettools.smacker":{"source":"iana"},"video/vnd.sealed.mpeg1":{"source":"iana"},"video/vnd.sealed.mpeg4":{"source":"iana"},"video/vnd.sealed.swf":{"source":"iana"},"video/vnd.sealedmedia.softseal.mov":{"source":"iana"},"video/vnd.uvvu.mp4":{"source":"iana","extensions":["uvu","uvvu"]},"video/vnd.vivo":{"source":"iana","extensions":["viv"]},"video/vnd.youtube.yt":{"source":"iana"},"video/vp8":{"source":"iana"},"video/vp9":{"source":"iana"},"video/webm":{"source":"apache","compressible":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"extensions":["mkv","mk3d","mks"]},"video/x-mng":{"source":"apache","extensions":["mng"]},"video/x-ms-asf":{"source":"apache","extensions":["asf","asx"]},"video/x-ms-vob":{"source":"apache","extensions":["vob"]},"video/x-ms-wm":{"source":"apache","extensions":["wm"]},"video/x-ms-wmv":{"source":"apache","compressible":false,"extensions":["wmv"]},"video/x-ms-wmx":{"source":"apache","extensions":["wmx"]},"video/x-ms-wvx":{"source":"apache","extensions":["wvx"]},"video/x-msvideo":{"source":"apache","extensions":["avi"]},"video/x-sgi-movie":{"source":"apache","extensions":["movie"]},"video/x-smv":{"source":"apache","extensions":["smv"]},"x-conference/x-cooltalk":{"source":"apache","extensions":["ice"]},"x-shader/x-fragment":{"compressible":true},"x-shader/x-vertex":{"compressible":true}}');
|
|
1790
98
|
}
|
|
1791
99
|
});
|
|
1792
|
-
var setImmediateSupported, postMessageSupported, token, callbacks, fn, fn1, fn2, common_utils_namespaceObject = {};
|
|
1793
|
-
function toArr(any) {
|
|
1794
|
-
return null == any ? [] : Array.isArray(any) ? any : [
|
|
1795
|
-
any
|
|
1796
|
-
];
|
|
1797
|
-
}
|
|
1798
|
-
function removeBrackets(v) {
|
|
1799
|
-
return v.replace(/[<[].+/, "").trim();
|
|
1800
|
-
}
|
|
1801
|
-
function findLongest(arr) {
|
|
1802
|
-
return arr.sort((a, b)=>a.length > b.length ? -1 : 1)[0];
|
|
1803
|
-
}
|
|
1804
|
-
function padRight(str, length) {
|
|
1805
|
-
return str.length >= length ? str : `${str}${" ".repeat(length - str.length)}`;
|
|
1806
|
-
}
|
|
1807
|
-
function camelcaseOptionName(name) {
|
|
1808
|
-
return name.split(".").map((v, i)=>0 === i ? v.replaceAll(/([a-z])-([a-z])/g, (_, p1, p2)=>p1 + p2.toUpperCase()) : v).join(".");
|
|
1809
|
-
}
|
|
1810
|
-
__webpack_require__.r(common_utils_namespaceObject), __webpack_require__.d(common_utils_namespaceObject, {
|
|
1811
|
-
hasBrowserEnv: ()=>hasBrowserEnv,
|
|
1812
|
-
hasStandardBrowserEnv: ()=>hasStandardBrowserEnv,
|
|
1813
|
-
hasStandardBrowserWebWorkerEnv: ()=>hasStandardBrowserWebWorkerEnv,
|
|
1814
|
-
navigator: ()=>_navigator,
|
|
1815
|
-
origin: ()=>utils_origin
|
|
1816
|
-
});
|
|
1817
100
|
var CACError = class extends Error {
|
|
1818
101
|
constructor(message){
|
|
1819
102
|
super(message), this.name = "CACError", "function" != typeof Error.captureStackTrace && (this.stack = Error(message).stack);
|
|
@@ -2169,2032 +452,22 @@ var Command = class {
|
|
|
2169
452
|
}), actionArgs.push(options), command.commandAction.apply(this, actionArgs);
|
|
2170
453
|
}
|
|
2171
454
|
};
|
|
2172
|
-
function bind(fn, thisArg) {
|
|
2173
|
-
return function() {
|
|
2174
|
-
return fn.apply(thisArg, arguments);
|
|
2175
|
-
};
|
|
2176
|
-
}
|
|
2177
|
-
let { toString: utils_toString } = Object.prototype, { getPrototypeOf: getPrototypeOf } = Object, { iterator: utils_iterator, toStringTag: toStringTag } = Symbol, kindOf = (cache = Object.create(null), (thing)=>{
|
|
2178
|
-
let str = utils_toString.call(thing);
|
|
2179
|
-
return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());
|
|
2180
|
-
}), kindOfTest = (type)=>(type = type.toLowerCase(), (thing)=>kindOf(thing) === type), typeOfTest = (type)=>(thing)=>typeof thing === type, { isArray: isArray } = Array, isUndefined = typeOfTest('undefined');
|
|
2181
|
-
function isBuffer(val) {
|
|
2182
|
-
return null !== val && !isUndefined(val) && null !== val.constructor && !isUndefined(val.constructor) && isFunction(val.constructor.isBuffer) && val.constructor.isBuffer(val);
|
|
2183
|
-
}
|
|
2184
|
-
let isArrayBuffer = kindOfTest('ArrayBuffer'), isString = typeOfTest('string'), isFunction = typeOfTest('function'), isNumber = typeOfTest('number'), isObject = (thing)=>null !== thing && 'object' == typeof thing, isPlainObject = (val)=>{
|
|
2185
|
-
if ('object' !== kindOf(val)) return !1;
|
|
2186
|
-
let prototype = getPrototypeOf(val);
|
|
2187
|
-
return (null === prototype || prototype === Object.prototype || null === Object.getPrototypeOf(prototype)) && !(toStringTag in val) && !(utils_iterator in val);
|
|
2188
|
-
}, isDate = kindOfTest('Date'), isFile = kindOfTest('File'), isBlob = kindOfTest('Blob'), utils_isFileList = kindOfTest('FileList'), G = "u" > typeof globalThis ? globalThis : "u" > typeof self ? self : "u" > typeof window ? window : "u" > typeof global ? global : {}, FormDataCtor = void 0 !== G.FormData ? G.FormData : void 0, isURLSearchParams = kindOfTest('URLSearchParams'), [isReadableStream, isRequest, isResponse, isHeaders] = [
|
|
2189
|
-
'ReadableStream',
|
|
2190
|
-
'Request',
|
|
2191
|
-
'Response',
|
|
2192
|
-
'Headers'
|
|
2193
|
-
].map(kindOfTest);
|
|
2194
|
-
function forEach(obj, fn, { allOwnKeys = !1 } = {}) {
|
|
2195
|
-
let i, l;
|
|
2196
|
-
if (null != obj) if ('object' != typeof obj && (obj = [
|
|
2197
|
-
obj
|
|
2198
|
-
]), isArray(obj)) for(i = 0, l = obj.length; i < l; i++)fn.call(null, obj[i], i, obj);
|
|
2199
|
-
else {
|
|
2200
|
-
let key;
|
|
2201
|
-
if (isBuffer(obj)) return;
|
|
2202
|
-
let keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj), len = keys.length;
|
|
2203
|
-
for(i = 0; i < len; i++)key = keys[i], fn.call(null, obj[key], key, obj);
|
|
2204
|
-
}
|
|
2205
|
-
}
|
|
2206
|
-
function findKey(obj, key) {
|
|
2207
|
-
let _key;
|
|
2208
|
-
if (isBuffer(obj)) return null;
|
|
2209
|
-
key = key.toLowerCase();
|
|
2210
|
-
let keys = Object.keys(obj), i = keys.length;
|
|
2211
|
-
for(; i-- > 0;)if (key === (_key = keys[i]).toLowerCase()) return _key;
|
|
2212
|
-
return null;
|
|
2213
|
-
}
|
|
2214
|
-
let _global = "u" > typeof globalThis ? globalThis : "u" > typeof self ? self : "u" > typeof window ? window : global, isContextDefined = (context)=>!isUndefined(context) && context !== _global;
|
|
2215
|
-
let isTypedArray = (TypedArray = "u" > typeof Uint8Array && getPrototypeOf(Uint8Array), (thing)=>TypedArray && thing instanceof TypedArray), isHTMLForm = kindOfTest('HTMLFormElement'), utils_hasOwnProperty = (({ hasOwnProperty })=>(obj, prop)=>hasOwnProperty.call(obj, prop))(Object.prototype), isRegExp = kindOfTest('RegExp'), reduceDescriptors = (obj, reducer)=>{
|
|
2216
|
-
let descriptors = Object.getOwnPropertyDescriptors(obj), reducedDescriptors = {};
|
|
2217
|
-
forEach(descriptors, (descriptor, name)=>{
|
|
2218
|
-
let ret;
|
|
2219
|
-
!1 !== (ret = reducer(descriptor, name, obj)) && (reducedDescriptors[name] = ret || descriptor);
|
|
2220
|
-
}), Object.defineProperties(obj, reducedDescriptors);
|
|
2221
|
-
}, isAsyncFn = kindOfTest('AsyncFunction'), _setImmediate = (setImmediateSupported = 'function' == typeof setImmediate, postMessageSupported = isFunction(_global.postMessage), setImmediateSupported ? setImmediate : postMessageSupported ? (token = `axios@${Math.random()}`, callbacks = [], _global.addEventListener('message', ({ source, data })=>{
|
|
2222
|
-
source === _global && data === token && callbacks.length && callbacks.shift()();
|
|
2223
|
-
}, !1), (cb)=>{
|
|
2224
|
-
callbacks.push(cb), _global.postMessage(token, '*');
|
|
2225
|
-
}) : (cb)=>setTimeout(cb)), asap = "u" > typeof queueMicrotask ? queueMicrotask.bind(_global) : "u" > typeof process && process.nextTick || _setImmediate, utils = {
|
|
2226
|
-
isArray: isArray,
|
|
2227
|
-
isArrayBuffer: isArrayBuffer,
|
|
2228
|
-
isBuffer: isBuffer,
|
|
2229
|
-
isFormData: (thing)=>{
|
|
2230
|
-
let kind;
|
|
2231
|
-
return thing && (FormDataCtor && thing instanceof FormDataCtor || isFunction(thing.append) && ('formdata' === (kind = kindOf(thing)) || 'object' === kind && isFunction(thing.toString) && '[object FormData]' === thing.toString()));
|
|
2232
|
-
},
|
|
2233
|
-
isArrayBufferView: function(val) {
|
|
2234
|
-
return "u" > typeof ArrayBuffer && ArrayBuffer.isView ? ArrayBuffer.isView(val) : val && val.buffer && isArrayBuffer(val.buffer);
|
|
2235
|
-
},
|
|
2236
|
-
isString: isString,
|
|
2237
|
-
isNumber: isNumber,
|
|
2238
|
-
isBoolean: (thing)=>!0 === thing || !1 === thing,
|
|
2239
|
-
isObject: isObject,
|
|
2240
|
-
isPlainObject: isPlainObject,
|
|
2241
|
-
isEmptyObject: (val)=>{
|
|
2242
|
-
if (!isObject(val) || isBuffer(val)) return !1;
|
|
2243
|
-
try {
|
|
2244
|
-
return 0 === Object.keys(val).length && Object.getPrototypeOf(val) === Object.prototype;
|
|
2245
|
-
} catch (e) {
|
|
2246
|
-
return !1;
|
|
2247
|
-
}
|
|
2248
|
-
},
|
|
2249
|
-
isReadableStream: isReadableStream,
|
|
2250
|
-
isRequest: isRequest,
|
|
2251
|
-
isResponse: isResponse,
|
|
2252
|
-
isHeaders: isHeaders,
|
|
2253
|
-
isUndefined: isUndefined,
|
|
2254
|
-
isDate: isDate,
|
|
2255
|
-
isFile: isFile,
|
|
2256
|
-
isReactNativeBlob: (value)=>!!(value && void 0 !== value.uri),
|
|
2257
|
-
isReactNative: (formData)=>formData && void 0 !== formData.getParts,
|
|
2258
|
-
isBlob: isBlob,
|
|
2259
|
-
isRegExp: isRegExp,
|
|
2260
|
-
isFunction: isFunction,
|
|
2261
|
-
isStream: (val)=>isObject(val) && isFunction(val.pipe),
|
|
2262
|
-
isURLSearchParams: isURLSearchParams,
|
|
2263
|
-
isTypedArray: isTypedArray,
|
|
2264
|
-
isFileList: utils_isFileList,
|
|
2265
|
-
forEach: forEach,
|
|
2266
|
-
merge: function utils_merge() {
|
|
2267
|
-
let { caseless, skipUndefined } = isContextDefined(this) && this || {}, result = {}, assignValue = (val, key)=>{
|
|
2268
|
-
if ('__proto__' === key || 'constructor' === key || 'prototype' === key) return;
|
|
2269
|
-
let targetKey = caseless && findKey(result, key) || key;
|
|
2270
|
-
isPlainObject(result[targetKey]) && isPlainObject(val) ? result[targetKey] = utils_merge(result[targetKey], val) : isPlainObject(val) ? result[targetKey] = utils_merge({}, val) : isArray(val) ? result[targetKey] = val.slice() : skipUndefined && isUndefined(val) || (result[targetKey] = val);
|
|
2271
|
-
};
|
|
2272
|
-
for(let i = 0, l = arguments.length; i < l; i++)arguments[i] && forEach(arguments[i], assignValue);
|
|
2273
|
-
return result;
|
|
2274
|
-
},
|
|
2275
|
-
extend: (a, b, thisArg, { allOwnKeys } = {})=>(forEach(b, (val, key)=>{
|
|
2276
|
-
thisArg && isFunction(val) ? Object.defineProperty(a, key, {
|
|
2277
|
-
value: bind(val, thisArg),
|
|
2278
|
-
writable: !0,
|
|
2279
|
-
enumerable: !0,
|
|
2280
|
-
configurable: !0
|
|
2281
|
-
}) : Object.defineProperty(a, key, {
|
|
2282
|
-
value: val,
|
|
2283
|
-
writable: !0,
|
|
2284
|
-
enumerable: !0,
|
|
2285
|
-
configurable: !0
|
|
2286
|
-
});
|
|
2287
|
-
}, {
|
|
2288
|
-
allOwnKeys
|
|
2289
|
-
}), a),
|
|
2290
|
-
trim: (str)=>str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, ''),
|
|
2291
|
-
stripBOM: (content)=>(0xfeff === content.charCodeAt(0) && (content = content.slice(1)), content),
|
|
2292
|
-
inherits: (constructor, superConstructor, props, descriptors)=>{
|
|
2293
|
-
constructor.prototype = Object.create(superConstructor.prototype, descriptors), Object.defineProperty(constructor.prototype, 'constructor', {
|
|
2294
|
-
value: constructor,
|
|
2295
|
-
writable: !0,
|
|
2296
|
-
enumerable: !1,
|
|
2297
|
-
configurable: !0
|
|
2298
|
-
}), Object.defineProperty(constructor, 'super', {
|
|
2299
|
-
value: superConstructor.prototype
|
|
2300
|
-
}), props && Object.assign(constructor.prototype, props);
|
|
2301
|
-
},
|
|
2302
|
-
toFlatObject: (sourceObj, destObj, filter, propFilter)=>{
|
|
2303
|
-
let props, i, prop, merged = {};
|
|
2304
|
-
if (destObj = destObj || {}, null == sourceObj) return destObj;
|
|
2305
|
-
do {
|
|
2306
|
-
for(i = (props = Object.getOwnPropertyNames(sourceObj)).length; i-- > 0;)prop = props[i], (!propFilter || propFilter(prop, sourceObj, destObj)) && !merged[prop] && (destObj[prop] = sourceObj[prop], merged[prop] = !0);
|
|
2307
|
-
sourceObj = !1 !== filter && getPrototypeOf(sourceObj);
|
|
2308
|
-
}while (sourceObj && (!filter || filter(sourceObj, destObj)) && sourceObj !== Object.prototype);
|
|
2309
|
-
return destObj;
|
|
2310
|
-
},
|
|
2311
|
-
kindOf: kindOf,
|
|
2312
|
-
kindOfTest: kindOfTest,
|
|
2313
|
-
endsWith: (str, searchString, position)=>{
|
|
2314
|
-
str = String(str), (void 0 === position || position > str.length) && (position = str.length), position -= searchString.length;
|
|
2315
|
-
let lastIndex = str.indexOf(searchString, position);
|
|
2316
|
-
return -1 !== lastIndex && lastIndex === position;
|
|
2317
|
-
},
|
|
2318
|
-
toArray: (thing)=>{
|
|
2319
|
-
if (!thing) return null;
|
|
2320
|
-
if (isArray(thing)) return thing;
|
|
2321
|
-
let i = thing.length;
|
|
2322
|
-
if (!isNumber(i)) return null;
|
|
2323
|
-
let arr = Array(i);
|
|
2324
|
-
for(; i-- > 0;)arr[i] = thing[i];
|
|
2325
|
-
return arr;
|
|
2326
|
-
},
|
|
2327
|
-
forEachEntry: (obj, fn)=>{
|
|
2328
|
-
let result, _iterator = (obj && obj[utils_iterator]).call(obj);
|
|
2329
|
-
for(; (result = _iterator.next()) && !result.done;){
|
|
2330
|
-
let pair = result.value;
|
|
2331
|
-
fn.call(obj, pair[0], pair[1]);
|
|
2332
|
-
}
|
|
2333
|
-
},
|
|
2334
|
-
matchAll: (regExp, str)=>{
|
|
2335
|
-
let matches, arr = [];
|
|
2336
|
-
for(; null !== (matches = regExp.exec(str));)arr.push(matches);
|
|
2337
|
-
return arr;
|
|
2338
|
-
},
|
|
2339
|
-
isHTMLForm: isHTMLForm,
|
|
2340
|
-
hasOwnProperty: utils_hasOwnProperty,
|
|
2341
|
-
hasOwnProp: utils_hasOwnProperty,
|
|
2342
|
-
reduceDescriptors: reduceDescriptors,
|
|
2343
|
-
freezeMethods: (obj)=>{
|
|
2344
|
-
reduceDescriptors(obj, (descriptor, name)=>{
|
|
2345
|
-
if (isFunction(obj) && -1 !== [
|
|
2346
|
-
'arguments',
|
|
2347
|
-
'caller',
|
|
2348
|
-
'callee'
|
|
2349
|
-
].indexOf(name)) return !1;
|
|
2350
|
-
if (isFunction(obj[name])) {
|
|
2351
|
-
if (descriptor.enumerable = !1, 'writable' in descriptor) {
|
|
2352
|
-
descriptor.writable = !1;
|
|
2353
|
-
return;
|
|
2354
|
-
}
|
|
2355
|
-
descriptor.set || (descriptor.set = ()=>{
|
|
2356
|
-
throw Error("Can not rewrite read-only method '" + name + "'");
|
|
2357
|
-
});
|
|
2358
|
-
}
|
|
2359
|
-
});
|
|
2360
|
-
},
|
|
2361
|
-
toObjectSet: (arrayOrString, delimiter)=>{
|
|
2362
|
-
let obj = {};
|
|
2363
|
-
return (isArray(arrayOrString) ? arrayOrString : String(arrayOrString).split(delimiter)).forEach((value)=>{
|
|
2364
|
-
obj[value] = !0;
|
|
2365
|
-
}), obj;
|
|
2366
|
-
},
|
|
2367
|
-
toCamelCase: (str)=>str.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function(m, p1, p2) {
|
|
2368
|
-
return p1.toUpperCase() + p2;
|
|
2369
|
-
}),
|
|
2370
|
-
noop: ()=>{},
|
|
2371
|
-
toFiniteNumber: (value, defaultValue)=>null != value && Number.isFinite(value *= 1) ? value : defaultValue,
|
|
2372
|
-
findKey: findKey,
|
|
2373
|
-
global: _global,
|
|
2374
|
-
isContextDefined: isContextDefined,
|
|
2375
|
-
isSpecCompliantForm: function(thing) {
|
|
2376
|
-
return !!(thing && isFunction(thing.append) && 'FormData' === thing[toStringTag] && thing[utils_iterator]);
|
|
2377
|
-
},
|
|
2378
|
-
toJSONObject: (obj)=>{
|
|
2379
|
-
let stack = Array(10), visit = (source, i)=>{
|
|
2380
|
-
if (isObject(source)) {
|
|
2381
|
-
if (stack.indexOf(source) >= 0) return;
|
|
2382
|
-
if (isBuffer(source)) return source;
|
|
2383
|
-
if (!('toJSON' in source)) {
|
|
2384
|
-
stack[i] = source;
|
|
2385
|
-
let target = isArray(source) ? [] : {};
|
|
2386
|
-
return forEach(source, (value, key)=>{
|
|
2387
|
-
let reducedValue = visit(value, i + 1);
|
|
2388
|
-
isUndefined(reducedValue) || (target[key] = reducedValue);
|
|
2389
|
-
}), stack[i] = void 0, target;
|
|
2390
|
-
}
|
|
2391
|
-
}
|
|
2392
|
-
return source;
|
|
2393
|
-
};
|
|
2394
|
-
return visit(obj, 0);
|
|
2395
|
-
},
|
|
2396
|
-
isAsyncFn: isAsyncFn,
|
|
2397
|
-
isThenable: (thing)=>thing && (isObject(thing) || isFunction(thing)) && isFunction(thing.then) && isFunction(thing.catch),
|
|
2398
|
-
setImmediate: _setImmediate,
|
|
2399
|
-
asap: asap,
|
|
2400
|
-
isIterable: (thing)=>null != thing && isFunction(thing[utils_iterator])
|
|
2401
|
-
};
|
|
2402
|
-
class AxiosError extends Error {
|
|
2403
|
-
static from(error, code, config, request, response, customProps) {
|
|
2404
|
-
let axiosError = new AxiosError(error.message, code || error.code, config, request, response);
|
|
2405
|
-
return axiosError.cause = error, axiosError.name = error.name, null != error.status && null == axiosError.status && (axiosError.status = error.status), customProps && Object.assign(axiosError, customProps), axiosError;
|
|
2406
|
-
}
|
|
2407
|
-
constructor(message, code, config, request, response){
|
|
2408
|
-
super(message), Object.defineProperty(this, 'message', {
|
|
2409
|
-
value: message,
|
|
2410
|
-
enumerable: !0,
|
|
2411
|
-
writable: !0,
|
|
2412
|
-
configurable: !0
|
|
2413
|
-
}), this.name = 'AxiosError', this.isAxiosError = !0, code && (this.code = code), config && (this.config = config), request && (this.request = request), response && (this.response = response, this.status = response.status);
|
|
2414
|
-
}
|
|
2415
|
-
toJSON() {
|
|
2416
|
-
return {
|
|
2417
|
-
message: this.message,
|
|
2418
|
-
name: this.name,
|
|
2419
|
-
description: this.description,
|
|
2420
|
-
number: this.number,
|
|
2421
|
-
fileName: this.fileName,
|
|
2422
|
-
lineNumber: this.lineNumber,
|
|
2423
|
-
columnNumber: this.columnNumber,
|
|
2424
|
-
stack: this.stack,
|
|
2425
|
-
config: utils.toJSONObject(this.config),
|
|
2426
|
-
code: this.code,
|
|
2427
|
-
status: this.status
|
|
2428
|
-
};
|
|
2429
|
-
}
|
|
2430
|
-
}
|
|
2431
|
-
AxiosError.ERR_BAD_OPTION_VALUE = 'ERR_BAD_OPTION_VALUE', AxiosError.ERR_BAD_OPTION = 'ERR_BAD_OPTION', AxiosError.ECONNABORTED = 'ECONNABORTED', AxiosError.ETIMEDOUT = 'ETIMEDOUT', AxiosError.ERR_NETWORK = 'ERR_NETWORK', AxiosError.ERR_FR_TOO_MANY_REDIRECTS = 'ERR_FR_TOO_MANY_REDIRECTS', AxiosError.ERR_DEPRECATED = 'ERR_DEPRECATED', AxiosError.ERR_BAD_RESPONSE = 'ERR_BAD_RESPONSE', AxiosError.ERR_BAD_REQUEST = 'ERR_BAD_REQUEST', AxiosError.ERR_CANCELED = 'ERR_CANCELED', AxiosError.ERR_NOT_SUPPORT = 'ERR_NOT_SUPPORT', AxiosError.ERR_INVALID_URL = 'ERR_INVALID_URL';
|
|
2432
|
-
let core_AxiosError = AxiosError, form_data = __webpack_require__("../../node_modules/.pnpm/form-data@4.0.5/node_modules/form-data/lib/form_data.js");
|
|
2433
|
-
function isVisitable(thing) {
|
|
2434
|
-
return utils.isPlainObject(thing) || utils.isArray(thing);
|
|
2435
|
-
}
|
|
2436
|
-
function toFormData_removeBrackets(key) {
|
|
2437
|
-
return utils.endsWith(key, '[]') ? key.slice(0, -2) : key;
|
|
2438
|
-
}
|
|
2439
|
-
function renderKey(path, key, dots) {
|
|
2440
|
-
return path ? path.concat(key).map(function(token, i) {
|
|
2441
|
-
return token = toFormData_removeBrackets(token), !dots && i ? '[' + token + ']' : token;
|
|
2442
|
-
}).join(dots ? '.' : '') : key;
|
|
2443
|
-
}
|
|
2444
|
-
let predicates = utils.toFlatObject(utils, {}, null, function(prop) {
|
|
2445
|
-
return /^is[A-Z]/.test(prop);
|
|
2446
|
-
}), helpers_toFormData = function(obj, formData, options) {
|
|
2447
|
-
if (!utils.isObject(obj)) throw TypeError('target must be an object');
|
|
2448
|
-
formData = formData || new (form_data || FormData)();
|
|
2449
|
-
let metaTokens = (options = utils.toFlatObject(options, {
|
|
2450
|
-
metaTokens: !0,
|
|
2451
|
-
dots: !1,
|
|
2452
|
-
indexes: !1
|
|
2453
|
-
}, !1, function(option, source) {
|
|
2454
|
-
return !utils.isUndefined(source[option]);
|
|
2455
|
-
})).metaTokens, visitor = options.visitor || defaultVisitor, dots = options.dots, indexes = options.indexes, useBlob = (options.Blob || "u" > typeof Blob && Blob) && utils.isSpecCompliantForm(formData);
|
|
2456
|
-
if (!utils.isFunction(visitor)) throw TypeError('visitor must be a function');
|
|
2457
|
-
function convertValue(value) {
|
|
2458
|
-
if (null === value) return '';
|
|
2459
|
-
if (utils.isDate(value)) return value.toISOString();
|
|
2460
|
-
if (utils.isBoolean(value)) return value.toString();
|
|
2461
|
-
if (!useBlob && utils.isBlob(value)) throw new core_AxiosError('Blob is not supported. Use a Buffer instead.');
|
|
2462
|
-
return utils.isArrayBuffer(value) || utils.isTypedArray(value) ? useBlob && 'function' == typeof Blob ? new Blob([
|
|
2463
|
-
value
|
|
2464
|
-
]) : Buffer.from(value) : value;
|
|
2465
|
-
}
|
|
2466
|
-
function defaultVisitor(value, key, path) {
|
|
2467
|
-
let arr = value;
|
|
2468
|
-
if (utils.isReactNative(formData) && utils.isReactNativeBlob(value)) return formData.append(renderKey(path, key, dots), convertValue(value)), !1;
|
|
2469
|
-
if (value && !path && 'object' == typeof value) if (utils.endsWith(key, '{}')) key = metaTokens ? key : key.slice(0, -2), value = JSON.stringify(value);
|
|
2470
|
-
else {
|
|
2471
|
-
var arr1;
|
|
2472
|
-
if (utils.isArray(value) && (arr1 = value, utils.isArray(arr1) && !arr1.some(isVisitable)) || (utils.isFileList(value) || utils.endsWith(key, '[]')) && (arr = utils.toArray(value))) return key = toFormData_removeBrackets(key), arr.forEach(function(el, index) {
|
|
2473
|
-
utils.isUndefined(el) || null === el || formData.append(!0 === indexes ? renderKey([
|
|
2474
|
-
key
|
|
2475
|
-
], index, dots) : null === indexes ? key : key + '[]', convertValue(el));
|
|
2476
|
-
}), !1;
|
|
2477
|
-
}
|
|
2478
|
-
return !!isVisitable(value) || (formData.append(renderKey(path, key, dots), convertValue(value)), !1);
|
|
2479
|
-
}
|
|
2480
|
-
let stack = [], exposedHelpers = Object.assign(predicates, {
|
|
2481
|
-
defaultVisitor,
|
|
2482
|
-
convertValue,
|
|
2483
|
-
isVisitable: isVisitable
|
|
2484
|
-
});
|
|
2485
|
-
if (!utils.isObject(obj)) throw TypeError('data must be an object');
|
|
2486
|
-
return !function build(value, path) {
|
|
2487
|
-
if (!utils.isUndefined(value)) {
|
|
2488
|
-
if (-1 !== stack.indexOf(value)) throw Error('Circular reference detected in ' + path.join('.'));
|
|
2489
|
-
stack.push(value), utils.forEach(value, function(el, key) {
|
|
2490
|
-
!0 === (!(utils.isUndefined(el) || null === el) && visitor.call(formData, el, utils.isString(key) ? key.trim() : key, path, exposedHelpers)) && build(el, path ? path.concat(key) : [
|
|
2491
|
-
key
|
|
2492
|
-
]);
|
|
2493
|
-
}), stack.pop();
|
|
2494
|
-
}
|
|
2495
|
-
}(obj), formData;
|
|
2496
|
-
};
|
|
2497
|
-
function encode(str) {
|
|
2498
|
-
let charMap = {
|
|
2499
|
-
'!': '%21',
|
|
2500
|
-
"'": '%27',
|
|
2501
|
-
'(': '%28',
|
|
2502
|
-
')': '%29',
|
|
2503
|
-
'~': '%7E',
|
|
2504
|
-
'%20': '+',
|
|
2505
|
-
'%00': '\x00'
|
|
2506
|
-
};
|
|
2507
|
-
return encodeURIComponent(str).replace(/[!'()~]|%20|%00/g, function(match) {
|
|
2508
|
-
return charMap[match];
|
|
2509
|
-
});
|
|
2510
|
-
}
|
|
2511
|
-
function AxiosURLSearchParams(params, options) {
|
|
2512
|
-
this._pairs = [], params && helpers_toFormData(params, this, options);
|
|
2513
|
-
}
|
|
2514
|
-
let AxiosURLSearchParams_prototype = AxiosURLSearchParams.prototype;
|
|
2515
|
-
function buildURL_encode(val) {
|
|
2516
|
-
return encodeURIComponent(val).replace(/%3A/gi, ':').replace(/%24/g, '$').replace(/%2C/gi, ',').replace(/%20/g, '+');
|
|
2517
|
-
}
|
|
2518
|
-
function buildURL(url, params, options) {
|
|
2519
|
-
let serializedParams;
|
|
2520
|
-
if (!params) return url;
|
|
2521
|
-
let _encode = options && options.encode || buildURL_encode, _options = utils.isFunction(options) ? {
|
|
2522
|
-
serialize: options
|
|
2523
|
-
} : options, serializeFn = _options && _options.serialize;
|
|
2524
|
-
if (serializedParams = serializeFn ? serializeFn(params, _options) : utils.isURLSearchParams(params) ? params.toString() : new AxiosURLSearchParams(params, _options).toString(_encode)) {
|
|
2525
|
-
let hashmarkIndex = url.indexOf('#');
|
|
2526
|
-
-1 !== hashmarkIndex && (url = url.slice(0, hashmarkIndex)), url += (-1 === url.indexOf('?') ? '?' : '&') + serializedParams;
|
|
2527
|
-
}
|
|
2528
|
-
return url;
|
|
2529
|
-
}
|
|
2530
|
-
AxiosURLSearchParams_prototype.append = function(name, value) {
|
|
2531
|
-
this._pairs.push([
|
|
2532
|
-
name,
|
|
2533
|
-
value
|
|
2534
|
-
]);
|
|
2535
|
-
}, AxiosURLSearchParams_prototype.toString = function(encoder) {
|
|
2536
|
-
let _encode = encoder ? function(value) {
|
|
2537
|
-
return encoder.call(this, value, encode);
|
|
2538
|
-
} : encode;
|
|
2539
|
-
return this._pairs.map(function(pair) {
|
|
2540
|
-
return _encode(pair[0]) + '=' + _encode(pair[1]);
|
|
2541
|
-
}, '').join('&');
|
|
2542
|
-
};
|
|
2543
|
-
let core_InterceptorManager = class {
|
|
2544
|
-
constructor(){
|
|
2545
|
-
this.handlers = [];
|
|
2546
|
-
}
|
|
2547
|
-
use(fulfilled, rejected, options) {
|
|
2548
|
-
return this.handlers.push({
|
|
2549
|
-
fulfilled,
|
|
2550
|
-
rejected,
|
|
2551
|
-
synchronous: !!options && options.synchronous,
|
|
2552
|
-
runWhen: options ? options.runWhen : null
|
|
2553
|
-
}), this.handlers.length - 1;
|
|
2554
|
-
}
|
|
2555
|
-
eject(id) {
|
|
2556
|
-
this.handlers[id] && (this.handlers[id] = null);
|
|
2557
|
-
}
|
|
2558
|
-
clear() {
|
|
2559
|
-
this.handlers && (this.handlers = []);
|
|
2560
|
-
}
|
|
2561
|
-
forEach(fn) {
|
|
2562
|
-
utils.forEach(this.handlers, function(h) {
|
|
2563
|
-
null !== h && fn(h);
|
|
2564
|
-
});
|
|
2565
|
-
}
|
|
2566
|
-
}, defaults_transitional = {
|
|
2567
|
-
silentJSONParsing: !0,
|
|
2568
|
-
forcedJSONParsing: !0,
|
|
2569
|
-
clarifyTimeoutError: !1,
|
|
2570
|
-
legacyInterceptorReqResOrdering: !0
|
|
2571
|
-
}, URLSearchParams = url_0.URLSearchParams, ALPHA = 'abcdefghijklmnopqrstuvwxyz', DIGIT = '0123456789', ALPHABET = {
|
|
2572
|
-
DIGIT: DIGIT,
|
|
2573
|
-
ALPHA: ALPHA,
|
|
2574
|
-
ALPHA_DIGIT: ALPHA + ALPHA.toUpperCase() + DIGIT
|
|
2575
|
-
}, node = {
|
|
2576
|
-
isNode: !0,
|
|
2577
|
-
classes: {
|
|
2578
|
-
URLSearchParams: URLSearchParams,
|
|
2579
|
-
FormData: form_data,
|
|
2580
|
-
Blob: "u" > typeof Blob && Blob || null
|
|
2581
|
-
},
|
|
2582
|
-
ALPHABET: ALPHABET,
|
|
2583
|
-
generateString: (size = 16, alphabet = ALPHABET.ALPHA_DIGIT)=>{
|
|
2584
|
-
let str = '', { length } = alphabet, randomValues = new Uint32Array(size);
|
|
2585
|
-
crypto_0.randomFillSync(randomValues);
|
|
2586
|
-
for(let i = 0; i < size; i++)str += alphabet[randomValues[i] % length];
|
|
2587
|
-
return str;
|
|
2588
|
-
},
|
|
2589
|
-
protocols: [
|
|
2590
|
-
'http',
|
|
2591
|
-
'https',
|
|
2592
|
-
'file',
|
|
2593
|
-
'data'
|
|
2594
|
-
]
|
|
2595
|
-
}, hasBrowserEnv = "u" > typeof window && "u" > typeof document, _navigator = 'object' == typeof navigator && navigator || void 0, hasStandardBrowserEnv = hasBrowserEnv && (!_navigator || 0 > [
|
|
2596
|
-
'ReactNative',
|
|
2597
|
-
'NativeScript',
|
|
2598
|
-
'NS'
|
|
2599
|
-
].indexOf(_navigator.product)), hasStandardBrowserWebWorkerEnv = "u" > typeof WorkerGlobalScope && self instanceof WorkerGlobalScope && 'function' == typeof self.importScripts, utils_origin = hasBrowserEnv && window.location.href || 'http://localhost', platform = {
|
|
2600
|
-
...common_utils_namespaceObject,
|
|
2601
|
-
...node
|
|
2602
|
-
}, helpers_formDataToJSON = function(formData) {
|
|
2603
|
-
if (utils.isFormData(formData) && utils.isFunction(formData.entries)) {
|
|
2604
|
-
let obj = {};
|
|
2605
|
-
return utils.forEachEntry(formData, (name, value)=>{
|
|
2606
|
-
!function buildPath(path, value, target, index) {
|
|
2607
|
-
let name = path[index++];
|
|
2608
|
-
if ('__proto__' === name) return !0;
|
|
2609
|
-
let isNumericKey = Number.isFinite(+name), isLast = index >= path.length;
|
|
2610
|
-
return (name = !name && utils.isArray(target) ? target.length : name, isLast) ? utils.hasOwnProp(target, name) ? target[name] = [
|
|
2611
|
-
target[name],
|
|
2612
|
-
value
|
|
2613
|
-
] : target[name] = value : (target[name] && utils.isObject(target[name]) || (target[name] = []), buildPath(path, value, target[name], index) && utils.isArray(target[name]) && (target[name] = function(arr) {
|
|
2614
|
-
let i, key, obj = {}, keys = Object.keys(arr), len = keys.length;
|
|
2615
|
-
for(i = 0; i < len; i++)obj[key = keys[i]] = arr[key];
|
|
2616
|
-
return obj;
|
|
2617
|
-
}(target[name]))), !isNumericKey;
|
|
2618
|
-
}(utils.matchAll(/\w+|\[(\w*)]/g, name).map((match)=>'[]' === match[0] ? '' : match[1] || match[0]), value, obj, 0);
|
|
2619
|
-
}), obj;
|
|
2620
|
-
}
|
|
2621
|
-
return null;
|
|
2622
|
-
}, defaults_defaults = {
|
|
2623
|
-
transitional: defaults_transitional,
|
|
2624
|
-
adapter: [
|
|
2625
|
-
'xhr',
|
|
2626
|
-
'http',
|
|
2627
|
-
'fetch'
|
|
2628
|
-
],
|
|
2629
|
-
transformRequest: [
|
|
2630
|
-
function(data, headers) {
|
|
2631
|
-
let isFileList, contentType = headers.getContentType() || '', hasJSONContentType = contentType.indexOf('application/json') > -1, isObjectPayload = utils.isObject(data);
|
|
2632
|
-
if (isObjectPayload && utils.isHTMLForm(data) && (data = new FormData(data)), utils.isFormData(data)) return hasJSONContentType ? JSON.stringify(helpers_formDataToJSON(data)) : data;
|
|
2633
|
-
if (utils.isArrayBuffer(data) || utils.isBuffer(data) || utils.isStream(data) || utils.isFile(data) || utils.isBlob(data) || utils.isReadableStream(data)) return data;
|
|
2634
|
-
if (utils.isArrayBufferView(data)) return data.buffer;
|
|
2635
|
-
if (utils.isURLSearchParams(data)) return headers.setContentType('application/x-www-form-urlencoded;charset=utf-8', !1), data.toString();
|
|
2636
|
-
if (isObjectPayload) {
|
|
2637
|
-
if (contentType.indexOf('application/x-www-form-urlencoded') > -1) {
|
|
2638
|
-
var data1, options;
|
|
2639
|
-
return (data1 = data, options = this.formSerializer, helpers_toFormData(data1, new platform.classes.URLSearchParams(), {
|
|
2640
|
-
visitor: function(value, key, path, helpers) {
|
|
2641
|
-
return platform.isNode && utils.isBuffer(value) ? (this.append(key, value.toString('base64')), !1) : helpers.defaultVisitor.apply(this, arguments);
|
|
2642
|
-
},
|
|
2643
|
-
...options
|
|
2644
|
-
})).toString();
|
|
2645
|
-
}
|
|
2646
|
-
if ((isFileList = utils.isFileList(data)) || contentType.indexOf('multipart/form-data') > -1) {
|
|
2647
|
-
let _FormData = this.env && this.env.FormData;
|
|
2648
|
-
return helpers_toFormData(isFileList ? {
|
|
2649
|
-
'files[]': data
|
|
2650
|
-
} : data, _FormData && new _FormData(), this.formSerializer);
|
|
2651
|
-
}
|
|
2652
|
-
}
|
|
2653
|
-
if (isObjectPayload || hasJSONContentType) {
|
|
2654
|
-
headers.setContentType('application/json', !1);
|
|
2655
|
-
var rawValue = data;
|
|
2656
|
-
if (utils.isString(rawValue)) try {
|
|
2657
|
-
return (0, JSON.parse)(rawValue), utils.trim(rawValue);
|
|
2658
|
-
} catch (e) {
|
|
2659
|
-
if ('SyntaxError' !== e.name) throw e;
|
|
2660
|
-
}
|
|
2661
|
-
return (0, JSON.stringify)(rawValue);
|
|
2662
|
-
}
|
|
2663
|
-
return data;
|
|
2664
|
-
}
|
|
2665
|
-
],
|
|
2666
|
-
transformResponse: [
|
|
2667
|
-
function(data) {
|
|
2668
|
-
let transitional = this.transitional || defaults_defaults.transitional, forcedJSONParsing = transitional && transitional.forcedJSONParsing, JSONRequested = 'json' === this.responseType;
|
|
2669
|
-
if (utils.isResponse(data) || utils.isReadableStream(data)) return data;
|
|
2670
|
-
if (data && utils.isString(data) && (forcedJSONParsing && !this.responseType || JSONRequested)) {
|
|
2671
|
-
let silentJSONParsing = transitional && transitional.silentJSONParsing;
|
|
2672
|
-
try {
|
|
2673
|
-
return JSON.parse(data, this.parseReviver);
|
|
2674
|
-
} catch (e) {
|
|
2675
|
-
if (!silentJSONParsing && JSONRequested) {
|
|
2676
|
-
if ('SyntaxError' === e.name) throw core_AxiosError.from(e, core_AxiosError.ERR_BAD_RESPONSE, this, null, this.response);
|
|
2677
|
-
throw e;
|
|
2678
|
-
}
|
|
2679
|
-
}
|
|
2680
|
-
}
|
|
2681
|
-
return data;
|
|
2682
|
-
}
|
|
2683
|
-
],
|
|
2684
|
-
timeout: 0,
|
|
2685
|
-
xsrfCookieName: 'XSRF-TOKEN',
|
|
2686
|
-
xsrfHeaderName: 'X-XSRF-TOKEN',
|
|
2687
|
-
maxContentLength: -1,
|
|
2688
|
-
maxBodyLength: -1,
|
|
2689
|
-
env: {
|
|
2690
|
-
FormData: platform.classes.FormData,
|
|
2691
|
-
Blob: platform.classes.Blob
|
|
2692
|
-
},
|
|
2693
|
-
validateStatus: function(status) {
|
|
2694
|
-
return status >= 200 && status < 300;
|
|
2695
|
-
},
|
|
2696
|
-
headers: {
|
|
2697
|
-
common: {
|
|
2698
|
-
Accept: 'application/json, text/plain, */*',
|
|
2699
|
-
'Content-Type': void 0
|
|
2700
|
-
}
|
|
2701
|
-
}
|
|
2702
|
-
};
|
|
2703
|
-
utils.forEach([
|
|
2704
|
-
'delete',
|
|
2705
|
-
'get',
|
|
2706
|
-
'head',
|
|
2707
|
-
'post',
|
|
2708
|
-
'put',
|
|
2709
|
-
'patch'
|
|
2710
|
-
], (method)=>{
|
|
2711
|
-
defaults_defaults.headers[method] = {};
|
|
2712
|
-
});
|
|
2713
|
-
let ignoreDuplicateOf = utils.toObjectSet([
|
|
2714
|
-
'age',
|
|
2715
|
-
'authorization',
|
|
2716
|
-
'content-length',
|
|
2717
|
-
'content-type',
|
|
2718
|
-
'etag',
|
|
2719
|
-
'expires',
|
|
2720
|
-
'from',
|
|
2721
|
-
'host',
|
|
2722
|
-
'if-modified-since',
|
|
2723
|
-
'if-unmodified-since',
|
|
2724
|
-
'last-modified',
|
|
2725
|
-
'location',
|
|
2726
|
-
'max-forwards',
|
|
2727
|
-
'proxy-authorization',
|
|
2728
|
-
'referer',
|
|
2729
|
-
'retry-after',
|
|
2730
|
-
'user-agent'
|
|
2731
|
-
]), $internals = Symbol('internals');
|
|
2732
|
-
function normalizeHeader(header) {
|
|
2733
|
-
return header && String(header).trim().toLowerCase();
|
|
2734
|
-
}
|
|
2735
|
-
function normalizeValue(value) {
|
|
2736
|
-
return !1 === value || null == value ? value : utils.isArray(value) ? value.map(normalizeValue) : String(value).replace(/[\r\n]+$/, '');
|
|
2737
|
-
}
|
|
2738
|
-
function matchHeaderValue(context, value, header, filter, isHeaderNameFilter) {
|
|
2739
|
-
if (utils.isFunction(filter)) return filter.call(this, value, header);
|
|
2740
|
-
if (isHeaderNameFilter && (value = header), utils.isString(value)) {
|
|
2741
|
-
if (utils.isString(filter)) return -1 !== value.indexOf(filter);
|
|
2742
|
-
if (utils.isRegExp(filter)) return filter.test(value);
|
|
2743
|
-
}
|
|
2744
|
-
}
|
|
2745
|
-
class AxiosHeaders {
|
|
2746
|
-
constructor(headers){
|
|
2747
|
-
headers && this.set(headers);
|
|
2748
|
-
}
|
|
2749
|
-
set(header, valueOrRewrite, rewrite) {
|
|
2750
|
-
let self1 = this;
|
|
2751
|
-
function setHeader(_value, _header, _rewrite) {
|
|
2752
|
-
let lHeader = normalizeHeader(_header);
|
|
2753
|
-
if (!lHeader) throw Error('header name must be a non-empty string');
|
|
2754
|
-
let key = utils.findKey(self1, lHeader);
|
|
2755
|
-
key && void 0 !== self1[key] && !0 !== _rewrite && (void 0 !== _rewrite || !1 === self1[key]) || (self1[key || _header] = normalizeValue(_value));
|
|
2756
|
-
}
|
|
2757
|
-
let setHeaders = (headers, _rewrite)=>utils.forEach(headers, (_value, _header)=>setHeader(_value, _header, _rewrite));
|
|
2758
|
-
if (utils.isPlainObject(header) || header instanceof this.constructor) setHeaders(header, valueOrRewrite);
|
|
2759
|
-
else {
|
|
2760
|
-
let str;
|
|
2761
|
-
if (utils.isString(header) && (header = header.trim()) && (str = header, !/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim()))) {
|
|
2762
|
-
var rawHeaders;
|
|
2763
|
-
let key, val, i, parsed;
|
|
2764
|
-
setHeaders((parsed = {}, (rawHeaders = header) && rawHeaders.split('\n').forEach(function(line) {
|
|
2765
|
-
i = line.indexOf(':'), key = line.substring(0, i).trim().toLowerCase(), val = line.substring(i + 1).trim(), !key || parsed[key] && ignoreDuplicateOf[key] || ('set-cookie' === key ? parsed[key] ? parsed[key].push(val) : parsed[key] = [
|
|
2766
|
-
val
|
|
2767
|
-
] : parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val);
|
|
2768
|
-
}), parsed), valueOrRewrite);
|
|
2769
|
-
} else if (utils.isObject(header) && utils.isIterable(header)) {
|
|
2770
|
-
let obj = {}, dest, key;
|
|
2771
|
-
for (let entry of header){
|
|
2772
|
-
if (!utils.isArray(entry)) throw TypeError('Object iterator must return a key-value pair');
|
|
2773
|
-
obj[key = entry[0]] = (dest = obj[key]) ? utils.isArray(dest) ? [
|
|
2774
|
-
...dest,
|
|
2775
|
-
entry[1]
|
|
2776
|
-
] : [
|
|
2777
|
-
dest,
|
|
2778
|
-
entry[1]
|
|
2779
|
-
] : entry[1];
|
|
2780
|
-
}
|
|
2781
|
-
setHeaders(obj, valueOrRewrite);
|
|
2782
|
-
} else null != header && setHeader(valueOrRewrite, header, rewrite);
|
|
2783
|
-
}
|
|
2784
|
-
return this;
|
|
2785
|
-
}
|
|
2786
|
-
get(header, parser) {
|
|
2787
|
-
if (header = normalizeHeader(header)) {
|
|
2788
|
-
let key = utils.findKey(this, header);
|
|
2789
|
-
if (key) {
|
|
2790
|
-
let value = this[key];
|
|
2791
|
-
if (!parser) return value;
|
|
2792
|
-
if (!0 === parser) {
|
|
2793
|
-
let match, tokens = Object.create(null), tokensRE = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
|
|
2794
|
-
for(; match = tokensRE.exec(value);)tokens[match[1]] = match[2];
|
|
2795
|
-
return tokens;
|
|
2796
|
-
}
|
|
2797
|
-
if (utils.isFunction(parser)) return parser.call(this, value, key);
|
|
2798
|
-
if (utils.isRegExp(parser)) return parser.exec(value);
|
|
2799
|
-
throw TypeError('parser must be boolean|regexp|function');
|
|
2800
|
-
}
|
|
2801
|
-
}
|
|
2802
|
-
}
|
|
2803
|
-
has(header, matcher) {
|
|
2804
|
-
if (header = normalizeHeader(header)) {
|
|
2805
|
-
let key = utils.findKey(this, header);
|
|
2806
|
-
return !!(key && void 0 !== this[key] && (!matcher || matchHeaderValue(this, this[key], key, matcher)));
|
|
2807
|
-
}
|
|
2808
|
-
return !1;
|
|
2809
|
-
}
|
|
2810
|
-
delete(header, matcher) {
|
|
2811
|
-
let self1 = this, deleted = !1;
|
|
2812
|
-
function deleteHeader(_header) {
|
|
2813
|
-
if (_header = normalizeHeader(_header)) {
|
|
2814
|
-
let key = utils.findKey(self1, _header);
|
|
2815
|
-
key && (!matcher || matchHeaderValue(self1, self1[key], key, matcher)) && (delete self1[key], deleted = !0);
|
|
2816
|
-
}
|
|
2817
|
-
}
|
|
2818
|
-
return utils.isArray(header) ? header.forEach(deleteHeader) : deleteHeader(header), deleted;
|
|
2819
|
-
}
|
|
2820
|
-
clear(matcher) {
|
|
2821
|
-
let keys = Object.keys(this), i = keys.length, deleted = !1;
|
|
2822
|
-
for(; i--;){
|
|
2823
|
-
let key = keys[i];
|
|
2824
|
-
(!matcher || matchHeaderValue(this, this[key], key, matcher, !0)) && (delete this[key], deleted = !0);
|
|
2825
|
-
}
|
|
2826
|
-
return deleted;
|
|
2827
|
-
}
|
|
2828
|
-
normalize(format) {
|
|
2829
|
-
let self1 = this, headers = {};
|
|
2830
|
-
return utils.forEach(this, (value, header)=>{
|
|
2831
|
-
let key = utils.findKey(headers, header);
|
|
2832
|
-
if (key) {
|
|
2833
|
-
self1[key] = normalizeValue(value), delete self1[header];
|
|
2834
|
-
return;
|
|
2835
|
-
}
|
|
2836
|
-
let normalized = format ? header.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (w, char, str)=>char.toUpperCase() + str) : String(header).trim();
|
|
2837
|
-
normalized !== header && delete self1[header], self1[normalized] = normalizeValue(value), headers[normalized] = !0;
|
|
2838
|
-
}), this;
|
|
2839
|
-
}
|
|
2840
|
-
concat(...targets) {
|
|
2841
|
-
return this.constructor.concat(this, ...targets);
|
|
2842
|
-
}
|
|
2843
|
-
toJSON(asStrings) {
|
|
2844
|
-
let obj = Object.create(null);
|
|
2845
|
-
return utils.forEach(this, (value, header)=>{
|
|
2846
|
-
null != value && !1 !== value && (obj[header] = asStrings && utils.isArray(value) ? value.join(', ') : value);
|
|
2847
|
-
}), obj;
|
|
2848
|
-
}
|
|
2849
|
-
[Symbol.iterator]() {
|
|
2850
|
-
return Object.entries(this.toJSON())[Symbol.iterator]();
|
|
2851
|
-
}
|
|
2852
|
-
toString() {
|
|
2853
|
-
return Object.entries(this.toJSON()).map(([header, value])=>header + ': ' + value).join('\n');
|
|
2854
|
-
}
|
|
2855
|
-
getSetCookie() {
|
|
2856
|
-
return this.get('set-cookie') || [];
|
|
2857
|
-
}
|
|
2858
|
-
get [Symbol.toStringTag]() {
|
|
2859
|
-
return 'AxiosHeaders';
|
|
2860
|
-
}
|
|
2861
|
-
static from(thing) {
|
|
2862
|
-
return thing instanceof this ? thing : new this(thing);
|
|
2863
|
-
}
|
|
2864
|
-
static concat(first, ...targets) {
|
|
2865
|
-
let computed = new this(first);
|
|
2866
|
-
return targets.forEach((target)=>computed.set(target)), computed;
|
|
2867
|
-
}
|
|
2868
|
-
static accessor(header) {
|
|
2869
|
-
let accessors = (this[$internals] = this[$internals] = {
|
|
2870
|
-
accessors: {}
|
|
2871
|
-
}).accessors, prototype = this.prototype;
|
|
2872
|
-
function defineAccessor(_header) {
|
|
2873
|
-
let lHeader = normalizeHeader(_header);
|
|
2874
|
-
if (!accessors[lHeader]) {
|
|
2875
|
-
let accessorName;
|
|
2876
|
-
accessorName = utils.toCamelCase(' ' + _header), [
|
|
2877
|
-
'get',
|
|
2878
|
-
'set',
|
|
2879
|
-
'has'
|
|
2880
|
-
].forEach((methodName)=>{
|
|
2881
|
-
Object.defineProperty(prototype, methodName + accessorName, {
|
|
2882
|
-
value: function(arg1, arg2, arg3) {
|
|
2883
|
-
return this[methodName].call(this, _header, arg1, arg2, arg3);
|
|
2884
|
-
},
|
|
2885
|
-
configurable: !0
|
|
2886
|
-
});
|
|
2887
|
-
}), accessors[lHeader] = !0;
|
|
2888
|
-
}
|
|
2889
|
-
}
|
|
2890
|
-
return utils.isArray(header) ? header.forEach(defineAccessor) : defineAccessor(header), this;
|
|
2891
|
-
}
|
|
2892
|
-
}
|
|
2893
|
-
function transformData(fns, response) {
|
|
2894
|
-
let config = this || defaults_defaults, context = response || config, headers = AxiosHeaders.from(context.headers), data = context.data;
|
|
2895
|
-
return utils.forEach(fns, function(fn) {
|
|
2896
|
-
data = fn.call(config, data, headers.normalize(), response ? response.status : void 0);
|
|
2897
|
-
}), headers.normalize(), data;
|
|
2898
|
-
}
|
|
2899
|
-
function isCancel(value) {
|
|
2900
|
-
return !!(value && value.__CANCEL__);
|
|
2901
|
-
}
|
|
2902
|
-
AxiosHeaders.accessor([
|
|
2903
|
-
'Content-Type',
|
|
2904
|
-
'Content-Length',
|
|
2905
|
-
'Accept',
|
|
2906
|
-
'Accept-Encoding',
|
|
2907
|
-
'User-Agent',
|
|
2908
|
-
'Authorization'
|
|
2909
|
-
]), utils.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key)=>{
|
|
2910
|
-
let mapped = key[0].toUpperCase() + key.slice(1);
|
|
2911
|
-
return {
|
|
2912
|
-
get: ()=>value,
|
|
2913
|
-
set (headerValue) {
|
|
2914
|
-
this[mapped] = headerValue;
|
|
2915
|
-
}
|
|
2916
|
-
};
|
|
2917
|
-
}), utils.freezeMethods(AxiosHeaders);
|
|
2918
|
-
let cancel_CanceledError = class extends core_AxiosError {
|
|
2919
|
-
constructor(message, config, request){
|
|
2920
|
-
super(null == message ? 'canceled' : message, core_AxiosError.ERR_CANCELED, config, request), this.name = 'CanceledError', this.__CANCEL__ = !0;
|
|
2921
|
-
}
|
|
2922
|
-
};
|
|
2923
|
-
function settle(resolve, reject, response) {
|
|
2924
|
-
let validateStatus = response.config.validateStatus;
|
|
2925
|
-
!response.status || !validateStatus || validateStatus(response.status) ? resolve(response) : reject(new core_AxiosError('Request failed with status code ' + response.status, [
|
|
2926
|
-
core_AxiosError.ERR_BAD_REQUEST,
|
|
2927
|
-
core_AxiosError.ERR_BAD_RESPONSE
|
|
2928
|
-
][Math.floor(response.status / 100) - 4], response.config, response.request, response));
|
|
2929
|
-
}
|
|
2930
|
-
function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
|
|
2931
|
-
let isRelativeUrl = !('string' == typeof requestedURL && /^([a-z][a-z\d+\-.]*:)?\/\//i.test(requestedURL));
|
|
2932
|
-
return baseURL && (isRelativeUrl || !1 == allowAbsoluteUrls) ? requestedURL ? baseURL.replace(/\/?\/$/, '') + '/' + requestedURL.replace(/^\/+/, '') : baseURL : requestedURL;
|
|
2933
|
-
}
|
|
2934
|
-
var DEFAULT_PORTS = {
|
|
2935
|
-
ftp: 21,
|
|
2936
|
-
gopher: 70,
|
|
2937
|
-
http: 80,
|
|
2938
|
-
https: 443,
|
|
2939
|
-
ws: 80,
|
|
2940
|
-
wss: 443
|
|
2941
|
-
};
|
|
2942
|
-
function getEnv(key) {
|
|
2943
|
-
return process.env[key.toLowerCase()] || process.env[key.toUpperCase()] || '';
|
|
2944
|
-
}
|
|
2945
|
-
function parseProtocol(url) {
|
|
2946
|
-
let match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
|
|
2947
|
-
return match && match[1] || '';
|
|
2948
|
-
}
|
|
2949
|
-
let DATA_URL_PATTERN = /^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/, kInternals = Symbol('internals');
|
|
2950
|
-
class AxiosTransformStream extends stream_0.Transform {
|
|
2951
|
-
constructor(options){
|
|
2952
|
-
super({
|
|
2953
|
-
readableHighWaterMark: (options = utils.toFlatObject(options, {
|
|
2954
|
-
maxRate: 0,
|
|
2955
|
-
chunkSize: 65536,
|
|
2956
|
-
minChunkSize: 100,
|
|
2957
|
-
timeWindow: 500,
|
|
2958
|
-
ticksRate: 2,
|
|
2959
|
-
samplesCount: 15
|
|
2960
|
-
}, null, (prop, source)=>!utils.isUndefined(source[prop]))).chunkSize
|
|
2961
|
-
});
|
|
2962
|
-
let internals = this[kInternals] = {
|
|
2963
|
-
timeWindow: options.timeWindow,
|
|
2964
|
-
chunkSize: options.chunkSize,
|
|
2965
|
-
maxRate: options.maxRate,
|
|
2966
|
-
minChunkSize: options.minChunkSize,
|
|
2967
|
-
bytesSeen: 0,
|
|
2968
|
-
isCaptured: !1,
|
|
2969
|
-
notifiedBytesLoaded: 0,
|
|
2970
|
-
ts: Date.now(),
|
|
2971
|
-
bytes: 0,
|
|
2972
|
-
onReadCallback: null
|
|
2973
|
-
};
|
|
2974
|
-
this.on('newListener', (event)=>{
|
|
2975
|
-
'progress' !== event || internals.isCaptured || (internals.isCaptured = !0);
|
|
2976
|
-
});
|
|
2977
|
-
}
|
|
2978
|
-
_read(size) {
|
|
2979
|
-
let internals = this[kInternals];
|
|
2980
|
-
return internals.onReadCallback && internals.onReadCallback(), super._read(size);
|
|
2981
|
-
}
|
|
2982
|
-
_transform(chunk, encoding, callback) {
|
|
2983
|
-
let internals = this[kInternals], maxRate = internals.maxRate, readableHighWaterMark = this.readableHighWaterMark, timeWindow = internals.timeWindow, bytesThreshold = maxRate / (1000 / timeWindow), minChunkSize = !1 !== internals.minChunkSize ? Math.max(internals.minChunkSize, 0.01 * bytesThreshold) : 0, pushChunk = (_chunk, _callback)=>{
|
|
2984
|
-
let bytes = Buffer.byteLength(_chunk);
|
|
2985
|
-
internals.bytesSeen += bytes, internals.bytes += bytes, internals.isCaptured && this.emit('progress', internals.bytesSeen), this.push(_chunk) ? process.nextTick(_callback) : internals.onReadCallback = ()=>{
|
|
2986
|
-
internals.onReadCallback = null, process.nextTick(_callback);
|
|
2987
|
-
};
|
|
2988
|
-
}, transformChunk = (_chunk, _callback)=>{
|
|
2989
|
-
let bytesLeft, chunkSize = Buffer.byteLength(_chunk), chunkRemainder = null, maxChunkSize = readableHighWaterMark, passed = 0;
|
|
2990
|
-
if (maxRate) {
|
|
2991
|
-
let now = Date.now();
|
|
2992
|
-
(!internals.ts || (passed = now - internals.ts) >= timeWindow) && (internals.ts = now, bytesLeft = bytesThreshold - internals.bytes, internals.bytes = bytesLeft < 0 ? -bytesLeft : 0, passed = 0), bytesLeft = bytesThreshold - internals.bytes;
|
|
2993
|
-
}
|
|
2994
|
-
if (maxRate) {
|
|
2995
|
-
if (bytesLeft <= 0) return setTimeout(()=>{
|
|
2996
|
-
_callback(null, _chunk);
|
|
2997
|
-
}, timeWindow - passed);
|
|
2998
|
-
bytesLeft < maxChunkSize && (maxChunkSize = bytesLeft);
|
|
2999
|
-
}
|
|
3000
|
-
maxChunkSize && chunkSize > maxChunkSize && chunkSize - maxChunkSize > minChunkSize && (chunkRemainder = _chunk.subarray(maxChunkSize), _chunk = _chunk.subarray(0, maxChunkSize)), pushChunk(_chunk, chunkRemainder ? ()=>{
|
|
3001
|
-
process.nextTick(_callback, null, chunkRemainder);
|
|
3002
|
-
} : _callback);
|
|
3003
|
-
};
|
|
3004
|
-
transformChunk(chunk, function transformNextChunk(err, _chunk) {
|
|
3005
|
-
if (err) return callback(err);
|
|
3006
|
-
_chunk ? transformChunk(_chunk, transformNextChunk) : callback(null);
|
|
3007
|
-
});
|
|
3008
|
-
}
|
|
3009
|
-
}
|
|
3010
|
-
let { asyncIterator: asyncIterator } = Symbol, readBlob = async function*(blob) {
|
|
3011
|
-
blob.stream ? yield* blob.stream() : blob.arrayBuffer ? yield await blob.arrayBuffer() : blob[asyncIterator] ? yield* blob[asyncIterator]() : yield blob;
|
|
3012
|
-
}, BOUNDARY_ALPHABET = platform.ALPHABET.ALPHA_DIGIT + '-_', textEncoder = 'function' == typeof TextEncoder ? new TextEncoder() : new util.TextEncoder(), CRLF_BYTES = textEncoder.encode('\r\n');
|
|
3013
|
-
class FormDataPart {
|
|
3014
|
-
constructor(name, value){
|
|
3015
|
-
let { escapeName } = this.constructor, isStringValue = utils.isString(value), headers = `Content-Disposition: form-data; name="${escapeName(name)}"${!isStringValue && value.name ? `; filename="${escapeName(value.name)}"` : ''}\r\n`;
|
|
3016
|
-
isStringValue ? value = textEncoder.encode(String(value).replace(/\r?\n|\r\n?/g, '\r\n')) : headers += `Content-Type: ${value.type || 'application/octet-stream'}\r\n`, this.headers = textEncoder.encode(headers + '\r\n'), this.contentLength = isStringValue ? value.byteLength : value.size, this.size = this.headers.byteLength + this.contentLength + 2, this.name = name, this.value = value;
|
|
3017
|
-
}
|
|
3018
|
-
async *encode() {
|
|
3019
|
-
yield this.headers;
|
|
3020
|
-
let { value } = this;
|
|
3021
|
-
utils.isTypedArray(value) ? yield value : yield* readBlob(value), yield CRLF_BYTES;
|
|
3022
|
-
}
|
|
3023
|
-
static escapeName(name) {
|
|
3024
|
-
return String(name).replace(/[\r\n"]/g, (match)=>({
|
|
3025
|
-
'\r': '%0D',
|
|
3026
|
-
'\n': '%0A',
|
|
3027
|
-
'"': '%22'
|
|
3028
|
-
})[match]);
|
|
3029
|
-
}
|
|
3030
|
-
}
|
|
3031
|
-
class ZlibHeaderTransformStream extends stream_0.Transform {
|
|
3032
|
-
__transform(chunk, encoding, callback) {
|
|
3033
|
-
this.push(chunk), callback();
|
|
3034
|
-
}
|
|
3035
|
-
_transform(chunk, encoding, callback) {
|
|
3036
|
-
if (0 !== chunk.length && (this._transform = this.__transform, 120 !== chunk[0])) {
|
|
3037
|
-
let header = Buffer.alloc(2);
|
|
3038
|
-
header[0] = 120, header[1] = 156, this.push(header, encoding);
|
|
3039
|
-
}
|
|
3040
|
-
this.__transform(chunk, encoding, callback);
|
|
3041
|
-
}
|
|
3042
|
-
}
|
|
3043
|
-
let helpers_speedometer = function(samplesCount, min) {
|
|
3044
|
-
let firstSampleTS, bytes = Array(samplesCount = samplesCount || 10), timestamps = Array(samplesCount), head = 0, tail = 0;
|
|
3045
|
-
return min = void 0 !== min ? min : 1000, function(chunkLength) {
|
|
3046
|
-
let now = Date.now(), startedAt = timestamps[tail];
|
|
3047
|
-
firstSampleTS || (firstSampleTS = now), bytes[head] = chunkLength, timestamps[head] = now;
|
|
3048
|
-
let i = tail, bytesCount = 0;
|
|
3049
|
-
for(; i !== head;)bytesCount += bytes[i++], i %= samplesCount;
|
|
3050
|
-
if ((head = (head + 1) % samplesCount) === tail && (tail = (tail + 1) % samplesCount), now - firstSampleTS < min) return;
|
|
3051
|
-
let passed = startedAt && now - startedAt;
|
|
3052
|
-
return passed ? Math.round(1000 * bytesCount / passed) : void 0;
|
|
3053
|
-
};
|
|
3054
|
-
}, helpers_throttle = function(fn, freq) {
|
|
3055
|
-
let lastArgs, timer, timestamp = 0, threshold = 1000 / freq, invoke = (args, now = Date.now())=>{
|
|
3056
|
-
timestamp = now, lastArgs = null, timer && (clearTimeout(timer), timer = null), fn(...args);
|
|
3057
|
-
};
|
|
3058
|
-
return [
|
|
3059
|
-
(...args)=>{
|
|
3060
|
-
let now = Date.now(), passed = now - timestamp;
|
|
3061
|
-
passed >= threshold ? invoke(args, now) : (lastArgs = args, timer || (timer = setTimeout(()=>{
|
|
3062
|
-
timer = null, invoke(lastArgs);
|
|
3063
|
-
}, threshold - passed)));
|
|
3064
|
-
},
|
|
3065
|
-
()=>lastArgs && invoke(lastArgs)
|
|
3066
|
-
];
|
|
3067
|
-
}, progressEventReducer = (listener, isDownloadStream, freq = 3)=>{
|
|
3068
|
-
let bytesNotified = 0, _speedometer = helpers_speedometer(50, 250);
|
|
3069
|
-
return helpers_throttle((e)=>{
|
|
3070
|
-
let loaded = e.loaded, total = e.lengthComputable ? e.total : void 0, progressBytes = loaded - bytesNotified, rate = _speedometer(progressBytes);
|
|
3071
|
-
bytesNotified = loaded, listener({
|
|
3072
|
-
loaded,
|
|
3073
|
-
total,
|
|
3074
|
-
progress: total ? loaded / total : void 0,
|
|
3075
|
-
bytes: progressBytes,
|
|
3076
|
-
rate: rate || void 0,
|
|
3077
|
-
estimated: rate && total && loaded <= total ? (total - loaded) / rate : void 0,
|
|
3078
|
-
event: e,
|
|
3079
|
-
lengthComputable: null != total,
|
|
3080
|
-
[isDownloadStream ? 'download' : 'upload']: !0
|
|
3081
|
-
});
|
|
3082
|
-
}, freq);
|
|
3083
|
-
}, progressEventDecorator = (total, throttled)=>{
|
|
3084
|
-
let lengthComputable = null != total;
|
|
3085
|
-
return [
|
|
3086
|
-
(loaded)=>throttled[0]({
|
|
3087
|
-
lengthComputable,
|
|
3088
|
-
total,
|
|
3089
|
-
loaded
|
|
3090
|
-
}),
|
|
3091
|
-
throttled[1]
|
|
3092
|
-
];
|
|
3093
|
-
}, asyncDecorator = (fn)=>(...args)=>utils.asap(()=>fn(...args)), follow_redirects = __webpack_require__("../../node_modules/.pnpm/follow-redirects@1.15.11/node_modules/follow-redirects/index.js"), zlibOptions = {
|
|
3094
|
-
flush: zlib.constants.Z_SYNC_FLUSH,
|
|
3095
|
-
finishFlush: zlib.constants.Z_SYNC_FLUSH
|
|
3096
|
-
}, brotliOptions = {
|
|
3097
|
-
flush: zlib.constants.BROTLI_OPERATION_FLUSH,
|
|
3098
|
-
finishFlush: zlib.constants.BROTLI_OPERATION_FLUSH
|
|
3099
|
-
}, isBrotliSupported = utils.isFunction(zlib.createBrotliDecompress), { http: httpFollow, https: httpsFollow } = follow_redirects, isHttps = /https:?/, supportedProtocols = platform.protocols.map((protocol)=>protocol + ':'), flushOnFinish = (stream, [throttled, flush])=>(stream.on('end', flush).on('error', flush), throttled), http2Sessions = new class {
|
|
3100
|
-
constructor(){
|
|
3101
|
-
this.sessions = Object.create(null);
|
|
3102
|
-
}
|
|
3103
|
-
getSession(authority, options) {
|
|
3104
|
-
let removed;
|
|
3105
|
-
options = Object.assign({
|
|
3106
|
-
sessionTimeout: 1000
|
|
3107
|
-
}, options);
|
|
3108
|
-
let authoritySessions = this.sessions[authority];
|
|
3109
|
-
if (authoritySessions) {
|
|
3110
|
-
let len = authoritySessions.length;
|
|
3111
|
-
for(let i = 0; i < len; i++){
|
|
3112
|
-
let [sessionHandle, sessionOptions] = authoritySessions[i];
|
|
3113
|
-
if (!sessionHandle.destroyed && !sessionHandle.closed && util.isDeepStrictEqual(sessionOptions, options)) return sessionHandle;
|
|
3114
|
-
}
|
|
3115
|
-
}
|
|
3116
|
-
let session = http2.connect(authority, options), removeSession = ()=>{
|
|
3117
|
-
if (removed) return;
|
|
3118
|
-
removed = !0;
|
|
3119
|
-
let entries = authoritySessions, len = entries.length, i = len;
|
|
3120
|
-
for(; i--;)if (entries[i][0] === session) {
|
|
3121
|
-
1 === len ? delete this.sessions[authority] : entries.splice(i, 1), session.closed || session.close();
|
|
3122
|
-
return;
|
|
3123
|
-
}
|
|
3124
|
-
}, originalRequestFn = session.request, { sessionTimeout } = options;
|
|
3125
|
-
if (null != sessionTimeout) {
|
|
3126
|
-
let timer, streamsCount = 0;
|
|
3127
|
-
session.request = function() {
|
|
3128
|
-
let stream = originalRequestFn.apply(this, arguments);
|
|
3129
|
-
return streamsCount++, timer && (clearTimeout(timer), timer = null), stream.once('close', ()=>{
|
|
3130
|
-
--streamsCount || (timer = setTimeout(()=>{
|
|
3131
|
-
timer = null, removeSession();
|
|
3132
|
-
}, sessionTimeout));
|
|
3133
|
-
}), stream;
|
|
3134
|
-
};
|
|
3135
|
-
}
|
|
3136
|
-
session.once('close', removeSession);
|
|
3137
|
-
let entry = [
|
|
3138
|
-
session,
|
|
3139
|
-
options
|
|
3140
|
-
];
|
|
3141
|
-
return authoritySessions ? authoritySessions.push(entry) : authoritySessions = this.sessions[authority] = [
|
|
3142
|
-
entry
|
|
3143
|
-
], session;
|
|
3144
|
-
}
|
|
3145
|
-
}();
|
|
3146
|
-
function dispatchBeforeRedirect(options, responseDetails) {
|
|
3147
|
-
options.beforeRedirects.proxy && options.beforeRedirects.proxy(options), options.beforeRedirects.config && options.beforeRedirects.config(options, responseDetails);
|
|
3148
|
-
}
|
|
3149
|
-
let isHttpAdapterSupported = "u" > typeof process && 'process' === utils.kindOf(process), buildAddressEntry = (address, family)=>(({ address, family })=>{
|
|
3150
|
-
if (!utils.isString(address)) throw TypeError('address must be a string');
|
|
3151
|
-
return {
|
|
3152
|
-
address,
|
|
3153
|
-
family: family || (0 > address.indexOf('.') ? 6 : 4)
|
|
3154
|
-
};
|
|
3155
|
-
})(utils.isObject(address) ? address : {
|
|
3156
|
-
address,
|
|
3157
|
-
family
|
|
3158
|
-
}), http2Transport = {
|
|
3159
|
-
request (options, cb) {
|
|
3160
|
-
let authority = options.protocol + '//' + options.hostname + ':' + (options.port || ('https:' === options.protocol ? 443 : 80)), { http2Options, headers } = options, session = http2Sessions.getSession(authority, http2Options), { HTTP2_HEADER_SCHEME, HTTP2_HEADER_METHOD, HTTP2_HEADER_PATH, HTTP2_HEADER_STATUS } = http2.constants, http2Headers = {
|
|
3161
|
-
[HTTP2_HEADER_SCHEME]: options.protocol.replace(':', ''),
|
|
3162
|
-
[HTTP2_HEADER_METHOD]: options.method,
|
|
3163
|
-
[HTTP2_HEADER_PATH]: options.path
|
|
3164
|
-
};
|
|
3165
|
-
utils.forEach(headers, (header, name)=>{
|
|
3166
|
-
':' !== name.charAt(0) && (http2Headers[name] = header);
|
|
3167
|
-
});
|
|
3168
|
-
let req = session.request(http2Headers);
|
|
3169
|
-
return req.once('response', (responseHeaders)=>{
|
|
3170
|
-
let status = (responseHeaders = Object.assign({}, responseHeaders))[HTTP2_HEADER_STATUS];
|
|
3171
|
-
delete responseHeaders[HTTP2_HEADER_STATUS], req.headers = responseHeaders, req.statusCode = +status, cb(req);
|
|
3172
|
-
}), req;
|
|
3173
|
-
}
|
|
3174
|
-
}, adapters_http = isHttpAdapterSupported && function(config) {
|
|
3175
|
-
let asyncExecutor;
|
|
3176
|
-
return asyncExecutor = async function(resolve, reject, onDone) {
|
|
3177
|
-
let maxUploadRate, maxDownloadRate, auth, isDone, req, path, transport, { data, lookup, family, httpVersion = 1, http2Options } = config, { responseType, responseEncoding } = config, method = config.method.toUpperCase(), rejected = !1;
|
|
3178
|
-
if (Number.isNaN(httpVersion *= 1)) throw TypeError(`Invalid protocol version: '${config.httpVersion}' is not a number`);
|
|
3179
|
-
if (1 !== httpVersion && 2 !== httpVersion) throw TypeError(`Unsupported protocol version '${httpVersion}'`);
|
|
3180
|
-
let isHttp2 = 2 === httpVersion;
|
|
3181
|
-
if (lookup) {
|
|
3182
|
-
let fn, reducer, _lookup = (fn = lookup, reducer = (value)=>utils.isArray(value) ? value : [
|
|
3183
|
-
value
|
|
3184
|
-
], utils.isAsyncFn(fn) ? function(...args) {
|
|
3185
|
-
let cb = args.pop();
|
|
3186
|
-
fn.apply(this, args).then((value)=>{
|
|
3187
|
-
try {
|
|
3188
|
-
reducer ? cb(null, ...reducer(value)) : cb(null, value);
|
|
3189
|
-
} catch (err) {
|
|
3190
|
-
cb(err);
|
|
3191
|
-
}
|
|
3192
|
-
}, cb);
|
|
3193
|
-
} : fn);
|
|
3194
|
-
lookup = (hostname, opt, cb)=>{
|
|
3195
|
-
_lookup(hostname, opt, (err, arg0, arg1)=>{
|
|
3196
|
-
if (err) return cb(err);
|
|
3197
|
-
let addresses = utils.isArray(arg0) ? arg0.map((addr)=>buildAddressEntry(addr)) : [
|
|
3198
|
-
buildAddressEntry(arg0, arg1)
|
|
3199
|
-
];
|
|
3200
|
-
opt.all ? cb(err, addresses) : cb(err, addresses[0].address, addresses[0].family);
|
|
3201
|
-
});
|
|
3202
|
-
};
|
|
3203
|
-
}
|
|
3204
|
-
let abortEmitter = new EventEmitter();
|
|
3205
|
-
function abort(reason) {
|
|
3206
|
-
try {
|
|
3207
|
-
abortEmitter.emit('abort', !reason || reason.type ? new cancel_CanceledError(null, config, req) : reason);
|
|
3208
|
-
} catch (err) {
|
|
3209
|
-
console.warn('emit error', err);
|
|
3210
|
-
}
|
|
3211
|
-
}
|
|
3212
|
-
abortEmitter.once('abort', reject);
|
|
3213
|
-
let onFinished = ()=>{
|
|
3214
|
-
config.cancelToken && config.cancelToken.unsubscribe(abort), config.signal && config.signal.removeEventListener('abort', abort), abortEmitter.removeAllListeners();
|
|
3215
|
-
};
|
|
3216
|
-
(config.cancelToken || config.signal) && (config.cancelToken && config.cancelToken.subscribe(abort), config.signal && (config.signal.aborted ? abort() : config.signal.addEventListener('abort', abort))), onDone((response, isRejected)=>{
|
|
3217
|
-
if (isDone = !0, isRejected) {
|
|
3218
|
-
rejected = !0, onFinished();
|
|
3219
|
-
return;
|
|
3220
|
-
}
|
|
3221
|
-
let { data } = response;
|
|
3222
|
-
if (data instanceof stream_0.Readable || data instanceof stream_0.Duplex) {
|
|
3223
|
-
let offListeners = stream_0.finished(data, ()=>{
|
|
3224
|
-
offListeners(), onFinished();
|
|
3225
|
-
});
|
|
3226
|
-
} else onFinished();
|
|
3227
|
-
});
|
|
3228
|
-
let fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls), parsed = new URL(fullPath, platform.hasBrowserEnv ? platform.origin : void 0), protocol = parsed.protocol || supportedProtocols[0];
|
|
3229
|
-
if ('data:' === protocol) {
|
|
3230
|
-
let convertedData;
|
|
3231
|
-
if (config.maxContentLength > -1 && function(url) {
|
|
3232
|
-
if (!url || 'string' != typeof url || !url.startsWith('data:')) return 0;
|
|
3233
|
-
let comma = url.indexOf(',');
|
|
3234
|
-
if (comma < 0) return 0;
|
|
3235
|
-
let meta = url.slice(5, comma), body = url.slice(comma + 1);
|
|
3236
|
-
if (/;base64/i.test(meta)) {
|
|
3237
|
-
let effectiveLen = body.length, len = body.length;
|
|
3238
|
-
for(let i = 0; i < len; i++)if (37 === body.charCodeAt(i) && i + 2 < len) {
|
|
3239
|
-
let a = body.charCodeAt(i + 1), b = body.charCodeAt(i + 2);
|
|
3240
|
-
(a >= 48 && a <= 57 || a >= 65 && a <= 70 || a >= 97 && a <= 102) && (b >= 48 && b <= 57 || b >= 65 && b <= 70 || b >= 97 && b <= 102) && (effectiveLen -= 2, i += 2);
|
|
3241
|
-
}
|
|
3242
|
-
let pad = 0, idx = len - 1, tailIsPct3D = (j)=>j >= 2 && 37 === body.charCodeAt(j - 2) && 51 === body.charCodeAt(j - 1) && (68 === body.charCodeAt(j) || 100 === body.charCodeAt(j));
|
|
3243
|
-
idx >= 0 && (61 === body.charCodeAt(idx) ? (pad++, idx--) : tailIsPct3D(idx) && (pad++, idx -= 3)), 1 === pad && idx >= 0 && (61 === body.charCodeAt(idx) ? pad++ : tailIsPct3D(idx) && pad++);
|
|
3244
|
-
let bytes = 3 * Math.floor(effectiveLen / 4) - (pad || 0);
|
|
3245
|
-
return bytes > 0 ? bytes : 0;
|
|
3246
|
-
}
|
|
3247
|
-
return Buffer.byteLength(body, 'utf8');
|
|
3248
|
-
}(String(config.url || fullPath || '')) > config.maxContentLength) return reject(new core_AxiosError('maxContentLength size of ' + config.maxContentLength + ' exceeded', core_AxiosError.ERR_BAD_RESPONSE, config));
|
|
3249
|
-
if ('GET' !== method) return settle(resolve, reject, {
|
|
3250
|
-
status: 405,
|
|
3251
|
-
statusText: 'method not allowed',
|
|
3252
|
-
headers: {},
|
|
3253
|
-
config
|
|
3254
|
-
});
|
|
3255
|
-
try {
|
|
3256
|
-
convertedData = function(uri, asBlob, options) {
|
|
3257
|
-
let _Blob = options && options.Blob || platform.classes.Blob, protocol = parseProtocol(uri);
|
|
3258
|
-
if (void 0 === asBlob && _Blob && (asBlob = !0), 'data' === protocol) {
|
|
3259
|
-
uri = protocol.length ? uri.slice(protocol.length + 1) : uri;
|
|
3260
|
-
let match = DATA_URL_PATTERN.exec(uri);
|
|
3261
|
-
if (!match) throw new core_AxiosError('Invalid URL', core_AxiosError.ERR_INVALID_URL);
|
|
3262
|
-
let mime = match[1], isBase64 = match[2], body = match[3], buffer = Buffer.from(decodeURIComponent(body), isBase64 ? 'base64' : 'utf8');
|
|
3263
|
-
if (asBlob) {
|
|
3264
|
-
if (!_Blob) throw new core_AxiosError('Blob is not supported', core_AxiosError.ERR_NOT_SUPPORT);
|
|
3265
|
-
return new _Blob([
|
|
3266
|
-
buffer
|
|
3267
|
-
], {
|
|
3268
|
-
type: mime
|
|
3269
|
-
});
|
|
3270
|
-
}
|
|
3271
|
-
return buffer;
|
|
3272
|
-
}
|
|
3273
|
-
throw new core_AxiosError('Unsupported protocol ' + protocol, core_AxiosError.ERR_NOT_SUPPORT);
|
|
3274
|
-
}(config.url, 'blob' === responseType, {
|
|
3275
|
-
Blob: config.env && config.env.Blob
|
|
3276
|
-
});
|
|
3277
|
-
} catch (err) {
|
|
3278
|
-
throw core_AxiosError.from(err, core_AxiosError.ERR_BAD_REQUEST, config);
|
|
3279
|
-
}
|
|
3280
|
-
return 'text' === responseType ? (convertedData = convertedData.toString(responseEncoding), responseEncoding && 'utf8' !== responseEncoding || (convertedData = utils.stripBOM(convertedData))) : 'stream' === responseType && (convertedData = stream_0.Readable.from(convertedData)), settle(resolve, reject, {
|
|
3281
|
-
data: convertedData,
|
|
3282
|
-
status: 200,
|
|
3283
|
-
statusText: 'OK',
|
|
3284
|
-
headers: new AxiosHeaders(),
|
|
3285
|
-
config
|
|
3286
|
-
});
|
|
3287
|
-
}
|
|
3288
|
-
if (-1 === supportedProtocols.indexOf(protocol)) return reject(new core_AxiosError('Unsupported protocol ' + protocol, core_AxiosError.ERR_BAD_REQUEST, config));
|
|
3289
|
-
let headers = AxiosHeaders.from(config.headers).normalize();
|
|
3290
|
-
headers.set('User-Agent', "axios/1.14.0", !1);
|
|
3291
|
-
let { onUploadProgress, onDownloadProgress } = config, maxRate = config.maxRate;
|
|
3292
|
-
if (utils.isSpecCompliantForm(data)) {
|
|
3293
|
-
let userBoundary = headers.getContentType(/boundary=([-_\w\d]{10,70})/i);
|
|
3294
|
-
data = ((form, headersHandler, options)=>{
|
|
3295
|
-
let { tag = 'form-data-boundary', size = 25, boundary = tag + '-' + platform.generateString(size, BOUNDARY_ALPHABET) } = options || {};
|
|
3296
|
-
if (!utils.isFormData(form)) throw TypeError('FormData instance required');
|
|
3297
|
-
if (boundary.length < 1 || boundary.length > 70) throw Error('boundary must be 10-70 characters long');
|
|
3298
|
-
let boundaryBytes = textEncoder.encode('--' + boundary + '\r\n'), footerBytes = textEncoder.encode('--' + boundary + "--\r\n"), contentLength = footerBytes.byteLength, parts = Array.from(form.entries()).map(([name, value])=>{
|
|
3299
|
-
let part = new FormDataPart(name, value);
|
|
3300
|
-
return contentLength += part.size, part;
|
|
3301
|
-
});
|
|
3302
|
-
contentLength += boundaryBytes.byteLength * parts.length;
|
|
3303
|
-
let computedHeaders = {
|
|
3304
|
-
'Content-Type': `multipart/form-data; boundary=${boundary}`
|
|
3305
|
-
};
|
|
3306
|
-
return Number.isFinite(contentLength = utils.toFiniteNumber(contentLength)) && (computedHeaders['Content-Length'] = contentLength), headersHandler && headersHandler(computedHeaders), Readable.from(async function*() {
|
|
3307
|
-
for (let part of parts)yield boundaryBytes, yield* part.encode();
|
|
3308
|
-
yield footerBytes;
|
|
3309
|
-
}());
|
|
3310
|
-
})(data, (formHeaders)=>{
|
|
3311
|
-
headers.set(formHeaders);
|
|
3312
|
-
}, {
|
|
3313
|
-
tag: "axios-1.14.0-boundary",
|
|
3314
|
-
boundary: userBoundary && userBoundary[1] || void 0
|
|
3315
|
-
});
|
|
3316
|
-
} else if (utils.isFormData(data) && utils.isFunction(data.getHeaders)) {
|
|
3317
|
-
if (headers.set(data.getHeaders()), !headers.hasContentLength()) try {
|
|
3318
|
-
let knownLength = await util.promisify(data.getLength).call(data);
|
|
3319
|
-
Number.isFinite(knownLength) && knownLength >= 0 && headers.setContentLength(knownLength);
|
|
3320
|
-
} catch (e) {}
|
|
3321
|
-
} else if (utils.isBlob(data) || utils.isFile(data)) data.size && headers.setContentType(data.type || 'application/octet-stream'), headers.setContentLength(data.size || 0), data = stream_0.Readable.from(readBlob(data));
|
|
3322
|
-
else if (data && !utils.isStream(data)) {
|
|
3323
|
-
if (Buffer.isBuffer(data)) ;
|
|
3324
|
-
else if (utils.isArrayBuffer(data)) data = Buffer.from(new Uint8Array(data));
|
|
3325
|
-
else {
|
|
3326
|
-
if (!utils.isString(data)) return reject(new core_AxiosError('Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream', core_AxiosError.ERR_BAD_REQUEST, config));
|
|
3327
|
-
data = Buffer.from(data, 'utf-8');
|
|
3328
|
-
}
|
|
3329
|
-
if (headers.setContentLength(data.length, !1), config.maxBodyLength > -1 && data.length > config.maxBodyLength) return reject(new core_AxiosError('Request body larger than maxBodyLength limit', core_AxiosError.ERR_BAD_REQUEST, config));
|
|
3330
|
-
}
|
|
3331
|
-
let contentLength = utils.toFiniteNumber(headers.getContentLength());
|
|
3332
|
-
utils.isArray(maxRate) ? (maxUploadRate = maxRate[0], maxDownloadRate = maxRate[1]) : maxUploadRate = maxDownloadRate = maxRate, data && (onUploadProgress || maxUploadRate) && (utils.isStream(data) || (data = stream_0.Readable.from(data, {
|
|
3333
|
-
objectMode: !1
|
|
3334
|
-
})), data = stream_0.pipeline([
|
|
3335
|
-
data,
|
|
3336
|
-
new AxiosTransformStream({
|
|
3337
|
-
maxRate: utils.toFiniteNumber(maxUploadRate)
|
|
3338
|
-
})
|
|
3339
|
-
], utils.noop), onUploadProgress && data.on('progress', flushOnFinish(data, progressEventDecorator(contentLength, progressEventReducer(asyncDecorator(onUploadProgress), !1, 3))))), config.auth && (auth = (config.auth.username || '') + ':' + (config.auth.password || '')), !auth && parsed.username && (auth = parsed.username + ':' + parsed.password), auth && headers.delete('authorization');
|
|
3340
|
-
try {
|
|
3341
|
-
path = buildURL(parsed.pathname + parsed.search, config.params, config.paramsSerializer).replace(/^\?/, '');
|
|
3342
|
-
} catch (err) {
|
|
3343
|
-
let customErr = Error(err.message);
|
|
3344
|
-
return customErr.config = config, customErr.url = config.url, customErr.exists = !0, reject(customErr);
|
|
3345
|
-
}
|
|
3346
|
-
headers.set('Accept-Encoding', 'gzip, compress, deflate' + (isBrotliSupported ? ', br' : ''), !1);
|
|
3347
|
-
let options = {
|
|
3348
|
-
path,
|
|
3349
|
-
method: method,
|
|
3350
|
-
headers: headers.toJSON(),
|
|
3351
|
-
agents: {
|
|
3352
|
-
http: config.httpAgent,
|
|
3353
|
-
https: config.httpsAgent
|
|
3354
|
-
},
|
|
3355
|
-
auth,
|
|
3356
|
-
protocol,
|
|
3357
|
-
family,
|
|
3358
|
-
beforeRedirect: dispatchBeforeRedirect,
|
|
3359
|
-
beforeRedirects: {},
|
|
3360
|
-
http2Options
|
|
3361
|
-
};
|
|
3362
|
-
utils.isUndefined(lookup) || (options.lookup = lookup), config.socketPath ? options.socketPath = config.socketPath : (options.hostname = parsed.hostname.startsWith('[') ? parsed.hostname.slice(1, -1) : parsed.hostname, options.port = parsed.port, function setProxy(options, configProxy, location) {
|
|
3363
|
-
let proxy = configProxy;
|
|
3364
|
-
if (!proxy && !1 !== proxy) {
|
|
3365
|
-
let proxyUrl = function(url) {
|
|
3366
|
-
var hostname, port, NO_PROXY, parsedUrl = ('string' == typeof url ? function(urlString) {
|
|
3367
|
-
try {
|
|
3368
|
-
return new URL(urlString);
|
|
3369
|
-
} catch {
|
|
3370
|
-
return null;
|
|
3371
|
-
}
|
|
3372
|
-
}(url) : url) || {}, proto = parsedUrl.protocol, hostname1 = parsedUrl.host, port1 = parsedUrl.port;
|
|
3373
|
-
if ('string' != typeof hostname1 || !hostname1 || 'string' != typeof proto || (proto = proto.split(':', 1)[0], hostname = hostname1 = hostname1.replace(/:\d*$/, ''), port = port1 = parseInt(port1) || DEFAULT_PORTS[proto] || 0, !(!(NO_PROXY = getEnv('no_proxy').toLowerCase()) || '*' !== NO_PROXY && NO_PROXY.split(/[,\s]/).every(function(proxy) {
|
|
3374
|
-
if (!proxy) return !0;
|
|
3375
|
-
var parsedProxy = proxy.match(/^(.+):(\d+)$/), parsedProxyHostname = parsedProxy ? parsedProxy[1] : proxy, parsedProxyPort = parsedProxy ? parseInt(parsedProxy[2]) : 0;
|
|
3376
|
-
return !!parsedProxyPort && parsedProxyPort !== port || (/^[.*]/.test(parsedProxyHostname) ? ('*' === parsedProxyHostname.charAt(0) && (parsedProxyHostname = parsedProxyHostname.slice(1)), !hostname.endsWith(parsedProxyHostname)) : hostname !== parsedProxyHostname);
|
|
3377
|
-
})))) return '';
|
|
3378
|
-
var proxy = getEnv(proto + '_proxy') || getEnv('all_proxy');
|
|
3379
|
-
return proxy && -1 === proxy.indexOf('://') && (proxy = proto + '://' + proxy), proxy;
|
|
3380
|
-
}(location);
|
|
3381
|
-
proxyUrl && (proxy = new URL(proxyUrl));
|
|
3382
|
-
}
|
|
3383
|
-
if (proxy) {
|
|
3384
|
-
if (proxy.username && (proxy.auth = (proxy.username || '') + ':' + (proxy.password || '')), proxy.auth) {
|
|
3385
|
-
if (proxy.auth.username || proxy.auth.password) proxy.auth = (proxy.auth.username || '') + ':' + (proxy.auth.password || '');
|
|
3386
|
-
else if ('object' == typeof proxy.auth) throw new core_AxiosError('Invalid proxy authorization', core_AxiosError.ERR_BAD_OPTION, {
|
|
3387
|
-
proxy
|
|
3388
|
-
});
|
|
3389
|
-
let base64 = Buffer.from(proxy.auth, 'utf8').toString('base64');
|
|
3390
|
-
options.headers['Proxy-Authorization'] = 'Basic ' + base64;
|
|
3391
|
-
}
|
|
3392
|
-
options.headers.host = options.hostname + (options.port ? ':' + options.port : '');
|
|
3393
|
-
let proxyHost = proxy.hostname || proxy.host;
|
|
3394
|
-
options.hostname = proxyHost, options.host = proxyHost, options.port = proxy.port, options.path = location, proxy.protocol && (options.protocol = proxy.protocol.includes(':') ? proxy.protocol : `${proxy.protocol}:`);
|
|
3395
|
-
}
|
|
3396
|
-
options.beforeRedirects.proxy = function(redirectOptions) {
|
|
3397
|
-
setProxy(redirectOptions, configProxy, redirectOptions.href);
|
|
3398
|
-
};
|
|
3399
|
-
}(options, config.proxy, protocol + '//' + parsed.hostname + (parsed.port ? ':' + parsed.port : '') + options.path));
|
|
3400
|
-
let isHttpsRequest = isHttps.test(options.protocol);
|
|
3401
|
-
if (options.agent = isHttpsRequest ? config.httpsAgent : config.httpAgent, isHttp2 ? transport = http2Transport : config.transport ? transport = config.transport : 0 === config.maxRedirects ? transport = isHttpsRequest ? https : http : (config.maxRedirects && (options.maxRedirects = config.maxRedirects), config.beforeRedirect && (options.beforeRedirects.config = config.beforeRedirect), transport = isHttpsRequest ? httpsFollow : httpFollow), config.maxBodyLength > -1 ? options.maxBodyLength = config.maxBodyLength : options.maxBodyLength = 1 / 0, config.insecureHTTPParser && (options.insecureHTTPParser = config.insecureHTTPParser), req = transport.request(options, function(res) {
|
|
3402
|
-
if (req.destroyed) return;
|
|
3403
|
-
let streams = [
|
|
3404
|
-
res
|
|
3405
|
-
], responseLength = utils.toFiniteNumber(res.headers['content-length']);
|
|
3406
|
-
if (onDownloadProgress || maxDownloadRate) {
|
|
3407
|
-
let transformStream = new AxiosTransformStream({
|
|
3408
|
-
maxRate: utils.toFiniteNumber(maxDownloadRate)
|
|
3409
|
-
});
|
|
3410
|
-
onDownloadProgress && transformStream.on('progress', flushOnFinish(transformStream, progressEventDecorator(responseLength, progressEventReducer(asyncDecorator(onDownloadProgress), !0, 3)))), streams.push(transformStream);
|
|
3411
|
-
}
|
|
3412
|
-
let responseStream = res, lastRequest = res.req || req;
|
|
3413
|
-
if (!1 !== config.decompress && res.headers['content-encoding']) switch(('HEAD' === method || 204 === res.statusCode) && delete res.headers['content-encoding'], (res.headers['content-encoding'] || '').toLowerCase()){
|
|
3414
|
-
case 'gzip':
|
|
3415
|
-
case 'x-gzip':
|
|
3416
|
-
case 'compress':
|
|
3417
|
-
case 'x-compress':
|
|
3418
|
-
streams.push(zlib.createUnzip(zlibOptions)), delete res.headers['content-encoding'];
|
|
3419
|
-
break;
|
|
3420
|
-
case 'deflate':
|
|
3421
|
-
streams.push(new ZlibHeaderTransformStream()), streams.push(zlib.createUnzip(zlibOptions)), delete res.headers['content-encoding'];
|
|
3422
|
-
break;
|
|
3423
|
-
case 'br':
|
|
3424
|
-
isBrotliSupported && (streams.push(zlib.createBrotliDecompress(brotliOptions)), delete res.headers['content-encoding']);
|
|
3425
|
-
}
|
|
3426
|
-
responseStream = streams.length > 1 ? stream_0.pipeline(streams, utils.noop) : streams[0];
|
|
3427
|
-
let response = {
|
|
3428
|
-
status: res.statusCode,
|
|
3429
|
-
statusText: res.statusMessage,
|
|
3430
|
-
headers: new AxiosHeaders(res.headers),
|
|
3431
|
-
config,
|
|
3432
|
-
request: lastRequest
|
|
3433
|
-
};
|
|
3434
|
-
if ('stream' === responseType) response.data = responseStream, settle(resolve, reject, response);
|
|
3435
|
-
else {
|
|
3436
|
-
let responseBuffer = [], totalResponseBytes = 0;
|
|
3437
|
-
responseStream.on('data', function(chunk) {
|
|
3438
|
-
responseBuffer.push(chunk), totalResponseBytes += chunk.length, config.maxContentLength > -1 && totalResponseBytes > config.maxContentLength && (rejected = !0, responseStream.destroy(), abort(new core_AxiosError('maxContentLength size of ' + config.maxContentLength + ' exceeded', core_AxiosError.ERR_BAD_RESPONSE, config, lastRequest)));
|
|
3439
|
-
}), responseStream.on('aborted', function() {
|
|
3440
|
-
if (rejected) return;
|
|
3441
|
-
let err = new core_AxiosError('stream has been aborted', core_AxiosError.ERR_BAD_RESPONSE, config, lastRequest);
|
|
3442
|
-
responseStream.destroy(err), reject(err);
|
|
3443
|
-
}), responseStream.on('error', function(err) {
|
|
3444
|
-
req.destroyed || reject(core_AxiosError.from(err, null, config, lastRequest));
|
|
3445
|
-
}), responseStream.on('end', function() {
|
|
3446
|
-
try {
|
|
3447
|
-
let responseData = 1 === responseBuffer.length ? responseBuffer[0] : Buffer.concat(responseBuffer);
|
|
3448
|
-
'arraybuffer' !== responseType && (responseData = responseData.toString(responseEncoding), responseEncoding && 'utf8' !== responseEncoding || (responseData = utils.stripBOM(responseData))), response.data = responseData;
|
|
3449
|
-
} catch (err) {
|
|
3450
|
-
return reject(core_AxiosError.from(err, null, config, response.request, response));
|
|
3451
|
-
}
|
|
3452
|
-
settle(resolve, reject, response);
|
|
3453
|
-
});
|
|
3454
|
-
}
|
|
3455
|
-
abortEmitter.once('abort', (err)=>{
|
|
3456
|
-
responseStream.destroyed || (responseStream.emit('error', err), responseStream.destroy());
|
|
3457
|
-
});
|
|
3458
|
-
}), abortEmitter.once('abort', (err)=>{
|
|
3459
|
-
req.close ? req.close() : req.destroy(err);
|
|
3460
|
-
}), req.on('error', function(err) {
|
|
3461
|
-
reject(core_AxiosError.from(err, null, config, req));
|
|
3462
|
-
}), req.on('socket', function(socket) {
|
|
3463
|
-
socket.setKeepAlive(!0, 60000);
|
|
3464
|
-
}), config.timeout) {
|
|
3465
|
-
let timeout = parseInt(config.timeout, 10);
|
|
3466
|
-
if (Number.isNaN(timeout)) return void abort(new core_AxiosError('error trying to parse `config.timeout` to int', core_AxiosError.ERR_BAD_OPTION_VALUE, config, req));
|
|
3467
|
-
req.setTimeout(timeout, function() {
|
|
3468
|
-
if (isDone) return;
|
|
3469
|
-
let timeoutErrorMessage = config.timeout ? 'timeout of ' + config.timeout + 'ms exceeded' : 'timeout exceeded', transitional = config.transitional || defaults_transitional;
|
|
3470
|
-
config.timeoutErrorMessage && (timeoutErrorMessage = config.timeoutErrorMessage), abort(new core_AxiosError(timeoutErrorMessage, transitional.clarifyTimeoutError ? core_AxiosError.ETIMEDOUT : core_AxiosError.ECONNABORTED, config, req));
|
|
3471
|
-
});
|
|
3472
|
-
} else req.setTimeout(0);
|
|
3473
|
-
if (utils.isStream(data)) {
|
|
3474
|
-
let ended = !1, errored = !1;
|
|
3475
|
-
data.on('end', ()=>{
|
|
3476
|
-
ended = !0;
|
|
3477
|
-
}), data.once('error', (err)=>{
|
|
3478
|
-
errored = !0, req.destroy(err);
|
|
3479
|
-
}), data.on('close', ()=>{
|
|
3480
|
-
ended || errored || abort(new cancel_CanceledError('Request stream has been aborted', config, req));
|
|
3481
|
-
}), data.pipe(req);
|
|
3482
|
-
} else data && req.write(data), req.end();
|
|
3483
|
-
}, new Promise((resolve, reject)=>{
|
|
3484
|
-
let onDone, isDone, done = (value, isRejected)=>{
|
|
3485
|
-
!isDone && (isDone = !0, onDone && onDone(value, isRejected));
|
|
3486
|
-
}, _reject = (reason)=>{
|
|
3487
|
-
done(reason, !0), reject(reason);
|
|
3488
|
-
};
|
|
3489
|
-
asyncExecutor((value)=>{
|
|
3490
|
-
done(value), resolve(value);
|
|
3491
|
-
}, _reject, (onDoneHandler)=>onDone = onDoneHandler).catch(_reject);
|
|
3492
|
-
});
|
|
3493
|
-
}, isURLSameOrigin = platform.hasStandardBrowserEnv ? (origin = new URL(platform.origin), isMSIE = platform.navigator && /(msie|trident)/i.test(platform.navigator.userAgent), (url)=>(url = new URL(url, platform.origin), origin.protocol === url.protocol && origin.host === url.host && (isMSIE || origin.port === url.port))) : ()=>!0, cookies = platform.hasStandardBrowserEnv ? {
|
|
3494
|
-
write (name, value, expires, path, domain, secure, sameSite) {
|
|
3495
|
-
if ("u" < typeof document) return;
|
|
3496
|
-
let cookie = [
|
|
3497
|
-
`${name}=${encodeURIComponent(value)}`
|
|
3498
|
-
];
|
|
3499
|
-
utils.isNumber(expires) && cookie.push(`expires=${new Date(expires).toUTCString()}`), utils.isString(path) && cookie.push(`path=${path}`), utils.isString(domain) && cookie.push(`domain=${domain}`), !0 === secure && cookie.push('secure'), utils.isString(sameSite) && cookie.push(`SameSite=${sameSite}`), document.cookie = cookie.join('; ');
|
|
3500
|
-
},
|
|
3501
|
-
read (name) {
|
|
3502
|
-
if ("u" < typeof document) return null;
|
|
3503
|
-
let match = document.cookie.match(RegExp('(?:^|; )' + name + '=([^;]*)'));
|
|
3504
|
-
return match ? decodeURIComponent(match[1]) : null;
|
|
3505
|
-
},
|
|
3506
|
-
remove (name) {
|
|
3507
|
-
this.write(name, '', Date.now() - 86400000, '/');
|
|
3508
|
-
}
|
|
3509
|
-
} : {
|
|
3510
|
-
write () {},
|
|
3511
|
-
read: ()=>null,
|
|
3512
|
-
remove () {}
|
|
3513
|
-
}, headersToObject = (thing)=>thing instanceof AxiosHeaders ? {
|
|
3514
|
-
...thing
|
|
3515
|
-
} : thing;
|
|
3516
|
-
function mergeConfig(config1, config2) {
|
|
3517
|
-
config2 = config2 || {};
|
|
3518
|
-
let config = {};
|
|
3519
|
-
function getMergedValue(target, source, prop, caseless) {
|
|
3520
|
-
return utils.isPlainObject(target) && utils.isPlainObject(source) ? utils.merge.call({
|
|
3521
|
-
caseless
|
|
3522
|
-
}, target, source) : utils.isPlainObject(source) ? utils.merge({}, source) : utils.isArray(source) ? source.slice() : source;
|
|
3523
|
-
}
|
|
3524
|
-
function mergeDeepProperties(a, b, prop, caseless) {
|
|
3525
|
-
return utils.isUndefined(b) ? utils.isUndefined(a) ? void 0 : getMergedValue(void 0, a, prop, caseless) : getMergedValue(a, b, prop, caseless);
|
|
3526
|
-
}
|
|
3527
|
-
function valueFromConfig2(a, b) {
|
|
3528
|
-
if (!utils.isUndefined(b)) return getMergedValue(void 0, b);
|
|
3529
|
-
}
|
|
3530
|
-
function defaultToConfig2(a, b) {
|
|
3531
|
-
return utils.isUndefined(b) ? utils.isUndefined(a) ? void 0 : getMergedValue(void 0, a) : getMergedValue(void 0, b);
|
|
3532
|
-
}
|
|
3533
|
-
function mergeDirectKeys(a, b, prop) {
|
|
3534
|
-
return prop in config2 ? getMergedValue(a, b) : prop in config1 ? getMergedValue(void 0, a) : void 0;
|
|
3535
|
-
}
|
|
3536
|
-
let mergeMap = {
|
|
3537
|
-
url: valueFromConfig2,
|
|
3538
|
-
method: valueFromConfig2,
|
|
3539
|
-
data: valueFromConfig2,
|
|
3540
|
-
baseURL: defaultToConfig2,
|
|
3541
|
-
transformRequest: defaultToConfig2,
|
|
3542
|
-
transformResponse: defaultToConfig2,
|
|
3543
|
-
paramsSerializer: defaultToConfig2,
|
|
3544
|
-
timeout: defaultToConfig2,
|
|
3545
|
-
timeoutMessage: defaultToConfig2,
|
|
3546
|
-
withCredentials: defaultToConfig2,
|
|
3547
|
-
withXSRFToken: defaultToConfig2,
|
|
3548
|
-
adapter: defaultToConfig2,
|
|
3549
|
-
responseType: defaultToConfig2,
|
|
3550
|
-
xsrfCookieName: defaultToConfig2,
|
|
3551
|
-
xsrfHeaderName: defaultToConfig2,
|
|
3552
|
-
onUploadProgress: defaultToConfig2,
|
|
3553
|
-
onDownloadProgress: defaultToConfig2,
|
|
3554
|
-
decompress: defaultToConfig2,
|
|
3555
|
-
maxContentLength: defaultToConfig2,
|
|
3556
|
-
maxBodyLength: defaultToConfig2,
|
|
3557
|
-
beforeRedirect: defaultToConfig2,
|
|
3558
|
-
transport: defaultToConfig2,
|
|
3559
|
-
httpAgent: defaultToConfig2,
|
|
3560
|
-
httpsAgent: defaultToConfig2,
|
|
3561
|
-
cancelToken: defaultToConfig2,
|
|
3562
|
-
socketPath: defaultToConfig2,
|
|
3563
|
-
responseEncoding: defaultToConfig2,
|
|
3564
|
-
validateStatus: mergeDirectKeys,
|
|
3565
|
-
headers: (a, b, prop)=>mergeDeepProperties(headersToObject(a), headersToObject(b), prop, !0)
|
|
3566
|
-
};
|
|
3567
|
-
return utils.forEach(Object.keys({
|
|
3568
|
-
...config1,
|
|
3569
|
-
...config2
|
|
3570
|
-
}), function(prop) {
|
|
3571
|
-
if ('__proto__' === prop || 'constructor' === prop || 'prototype' === prop) return;
|
|
3572
|
-
let merge = utils.hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties, configValue = merge(config1[prop], config2[prop], prop);
|
|
3573
|
-
utils.isUndefined(configValue) && merge !== mergeDirectKeys || (config[prop] = configValue);
|
|
3574
|
-
}), config;
|
|
3575
|
-
}
|
|
3576
|
-
let resolveConfig = (config)=>{
|
|
3577
|
-
let newConfig = mergeConfig({}, config), { data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth } = newConfig;
|
|
3578
|
-
if (newConfig.headers = headers = AxiosHeaders.from(headers), newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url, newConfig.allowAbsoluteUrls), config.params, config.paramsSerializer), auth && headers.set('Authorization', 'Basic ' + btoa((auth.username || '') + ':' + (auth.password ? unescape(encodeURIComponent(auth.password)) : ''))), utils.isFormData(data)) {
|
|
3579
|
-
if (platform.hasStandardBrowserEnv || platform.hasStandardBrowserWebWorkerEnv) headers.setContentType(void 0);
|
|
3580
|
-
else if (utils.isFunction(data.getHeaders)) {
|
|
3581
|
-
let formHeaders = data.getHeaders(), allowedHeaders = [
|
|
3582
|
-
'content-type',
|
|
3583
|
-
'content-length'
|
|
3584
|
-
];
|
|
3585
|
-
Object.entries(formHeaders).forEach(([key, val])=>{
|
|
3586
|
-
allowedHeaders.includes(key.toLowerCase()) && headers.set(key, val);
|
|
3587
|
-
});
|
|
3588
|
-
}
|
|
3589
|
-
}
|
|
3590
|
-
if (platform.hasStandardBrowserEnv && (withXSRFToken && utils.isFunction(withXSRFToken) && (withXSRFToken = withXSRFToken(newConfig)), withXSRFToken || !1 !== withXSRFToken && isURLSameOrigin(newConfig.url))) {
|
|
3591
|
-
let xsrfValue = xsrfHeaderName && xsrfCookieName && cookies.read(xsrfCookieName);
|
|
3592
|
-
xsrfValue && headers.set(xsrfHeaderName, xsrfValue);
|
|
3593
|
-
}
|
|
3594
|
-
return newConfig;
|
|
3595
|
-
}, xhr = "u" > typeof XMLHttpRequest && function(config) {
|
|
3596
|
-
return new Promise(function(resolve, reject) {
|
|
3597
|
-
let onCanceled, uploadThrottled, downloadThrottled, flushUpload, flushDownload, _config = resolveConfig(config), requestData = _config.data, requestHeaders = AxiosHeaders.from(_config.headers).normalize(), { responseType, onUploadProgress, onDownloadProgress } = _config;
|
|
3598
|
-
function done() {
|
|
3599
|
-
flushUpload && flushUpload(), flushDownload && flushDownload(), _config.cancelToken && _config.cancelToken.unsubscribe(onCanceled), _config.signal && _config.signal.removeEventListener('abort', onCanceled);
|
|
3600
|
-
}
|
|
3601
|
-
let request = new XMLHttpRequest();
|
|
3602
|
-
function onloadend() {
|
|
3603
|
-
if (!request) return;
|
|
3604
|
-
let responseHeaders = AxiosHeaders.from('getAllResponseHeaders' in request && request.getAllResponseHeaders());
|
|
3605
|
-
settle(function(value) {
|
|
3606
|
-
resolve(value), done();
|
|
3607
|
-
}, function(err) {
|
|
3608
|
-
reject(err), done();
|
|
3609
|
-
}, {
|
|
3610
|
-
data: responseType && 'text' !== responseType && 'json' !== responseType ? request.response : request.responseText,
|
|
3611
|
-
status: request.status,
|
|
3612
|
-
statusText: request.statusText,
|
|
3613
|
-
headers: responseHeaders,
|
|
3614
|
-
config,
|
|
3615
|
-
request
|
|
3616
|
-
}), request = null;
|
|
3617
|
-
}
|
|
3618
|
-
request.open(_config.method.toUpperCase(), _config.url, !0), request.timeout = _config.timeout, 'onloadend' in request ? request.onloadend = onloadend : request.onreadystatechange = function() {
|
|
3619
|
-
!request || 4 !== request.readyState || (0 !== request.status || request.responseURL && 0 === request.responseURL.indexOf('file:')) && setTimeout(onloadend);
|
|
3620
|
-
}, request.onabort = function() {
|
|
3621
|
-
request && (reject(new core_AxiosError('Request aborted', core_AxiosError.ECONNABORTED, config, request)), request = null);
|
|
3622
|
-
}, request.onerror = function(event) {
|
|
3623
|
-
let err = new core_AxiosError(event && event.message ? event.message : 'Network Error', core_AxiosError.ERR_NETWORK, config, request);
|
|
3624
|
-
err.event = event || null, reject(err), request = null;
|
|
3625
|
-
}, request.ontimeout = function() {
|
|
3626
|
-
let timeoutErrorMessage = _config.timeout ? 'timeout of ' + _config.timeout + 'ms exceeded' : 'timeout exceeded', transitional = _config.transitional || defaults_transitional;
|
|
3627
|
-
_config.timeoutErrorMessage && (timeoutErrorMessage = _config.timeoutErrorMessage), reject(new core_AxiosError(timeoutErrorMessage, transitional.clarifyTimeoutError ? core_AxiosError.ETIMEDOUT : core_AxiosError.ECONNABORTED, config, request)), request = null;
|
|
3628
|
-
}, void 0 === requestData && requestHeaders.setContentType(null), 'setRequestHeader' in request && utils.forEach(requestHeaders.toJSON(), function(val, key) {
|
|
3629
|
-
request.setRequestHeader(key, val);
|
|
3630
|
-
}), utils.isUndefined(_config.withCredentials) || (request.withCredentials = !!_config.withCredentials), responseType && 'json' !== responseType && (request.responseType = _config.responseType), onDownloadProgress && ([downloadThrottled, flushDownload] = progressEventReducer(onDownloadProgress, !0), request.addEventListener('progress', downloadThrottled)), onUploadProgress && request.upload && ([uploadThrottled, flushUpload] = progressEventReducer(onUploadProgress), request.upload.addEventListener('progress', uploadThrottled), request.upload.addEventListener('loadend', flushUpload)), (_config.cancelToken || _config.signal) && (onCanceled = (cancel)=>{
|
|
3631
|
-
request && (reject(!cancel || cancel.type ? new cancel_CanceledError(null, config, request) : cancel), request.abort(), request = null);
|
|
3632
|
-
}, _config.cancelToken && _config.cancelToken.subscribe(onCanceled), _config.signal && (_config.signal.aborted ? onCanceled() : _config.signal.addEventListener('abort', onCanceled)));
|
|
3633
|
-
let protocol = parseProtocol(_config.url);
|
|
3634
|
-
protocol && -1 === platform.protocols.indexOf(protocol) ? reject(new core_AxiosError('Unsupported protocol ' + protocol + ':', core_AxiosError.ERR_BAD_REQUEST, config)) : request.send(requestData || null);
|
|
3635
|
-
});
|
|
3636
|
-
}, streamChunk = function*(chunk, chunkSize) {
|
|
3637
|
-
let end, len = chunk.byteLength;
|
|
3638
|
-
if (!chunkSize || len < chunkSize) return void (yield chunk);
|
|
3639
|
-
let pos = 0;
|
|
3640
|
-
for(; pos < len;)end = pos + chunkSize, yield chunk.slice(pos, end), pos = end;
|
|
3641
|
-
}, readBytes = async function*(iterable, chunkSize) {
|
|
3642
|
-
for await (let chunk of readStream(iterable))yield* streamChunk(chunk, chunkSize);
|
|
3643
|
-
}, readStream = async function*(stream) {
|
|
3644
|
-
if (stream[Symbol.asyncIterator]) return void (yield* stream);
|
|
3645
|
-
let reader = stream.getReader();
|
|
3646
|
-
try {
|
|
3647
|
-
for(;;){
|
|
3648
|
-
let { done, value } = await reader.read();
|
|
3649
|
-
if (done) break;
|
|
3650
|
-
yield value;
|
|
3651
|
-
}
|
|
3652
|
-
} finally{
|
|
3653
|
-
await reader.cancel();
|
|
3654
|
-
}
|
|
3655
|
-
}, trackStream = (stream, chunkSize, onProgress, onFinish)=>{
|
|
3656
|
-
let done, iterator = readBytes(stream, chunkSize), bytes = 0, _onFinish = (e)=>{
|
|
3657
|
-
!done && (done = !0, onFinish && onFinish(e));
|
|
3658
|
-
};
|
|
3659
|
-
return new ReadableStream({
|
|
3660
|
-
async pull (controller) {
|
|
3661
|
-
try {
|
|
3662
|
-
let { done, value } = await iterator.next();
|
|
3663
|
-
if (done) {
|
|
3664
|
-
_onFinish(), controller.close();
|
|
3665
|
-
return;
|
|
3666
|
-
}
|
|
3667
|
-
let len = value.byteLength;
|
|
3668
|
-
if (onProgress) {
|
|
3669
|
-
let loadedBytes = bytes += len;
|
|
3670
|
-
onProgress(loadedBytes);
|
|
3671
|
-
}
|
|
3672
|
-
controller.enqueue(new Uint8Array(value));
|
|
3673
|
-
} catch (err) {
|
|
3674
|
-
throw _onFinish(err), err;
|
|
3675
|
-
}
|
|
3676
|
-
},
|
|
3677
|
-
cancel: (reason)=>(_onFinish(reason), iterator.return())
|
|
3678
|
-
}, {
|
|
3679
|
-
highWaterMark: 2
|
|
3680
|
-
});
|
|
3681
|
-
}, { isFunction: fetch_isFunction } = utils, globalFetchAPI = (({ Request, Response })=>({
|
|
3682
|
-
Request,
|
|
3683
|
-
Response
|
|
3684
|
-
}))(utils.global), { ReadableStream: fetch_ReadableStream, TextEncoder: fetch_TextEncoder } = utils.global, test = (fn, ...args)=>{
|
|
3685
|
-
try {
|
|
3686
|
-
return !!fn(...args);
|
|
3687
|
-
} catch (e) {
|
|
3688
|
-
return !1;
|
|
3689
|
-
}
|
|
3690
|
-
}, factory = (env)=>{
|
|
3691
|
-
let encoder, { fetch: envFetch, Request, Response } = env = utils.merge.call({
|
|
3692
|
-
skipUndefined: !0
|
|
3693
|
-
}, globalFetchAPI, env), isFetchSupported = envFetch ? fetch_isFunction(envFetch) : 'function' == typeof fetch, isRequestSupported = fetch_isFunction(Request), isResponseSupported = fetch_isFunction(Response);
|
|
3694
|
-
if (!isFetchSupported) return !1;
|
|
3695
|
-
let isReadableStreamSupported = isFetchSupported && fetch_isFunction(fetch_ReadableStream), encodeText = isFetchSupported && ('function' == typeof fetch_TextEncoder ? (encoder = new fetch_TextEncoder(), (str)=>encoder.encode(str)) : async (str)=>new Uint8Array(await new Request(str).arrayBuffer())), supportsRequestStream = isRequestSupported && isReadableStreamSupported && test(()=>{
|
|
3696
|
-
let duplexAccessed = !1, body = new fetch_ReadableStream(), hasContentType = new Request(platform.origin, {
|
|
3697
|
-
body,
|
|
3698
|
-
method: 'POST',
|
|
3699
|
-
get duplex () {
|
|
3700
|
-
return duplexAccessed = !0, 'half';
|
|
3701
|
-
}
|
|
3702
|
-
}).headers.has('Content-Type');
|
|
3703
|
-
return body.cancel(), duplexAccessed && !hasContentType;
|
|
3704
|
-
}), supportsResponseStream = isResponseSupported && isReadableStreamSupported && test(()=>utils.isReadableStream(new Response('').body)), resolvers = {
|
|
3705
|
-
stream: supportsResponseStream && ((res)=>res.body)
|
|
3706
|
-
};
|
|
3707
|
-
isFetchSupported && [
|
|
3708
|
-
'text',
|
|
3709
|
-
'arrayBuffer',
|
|
3710
|
-
'blob',
|
|
3711
|
-
'formData',
|
|
3712
|
-
'stream'
|
|
3713
|
-
].forEach((type)=>{
|
|
3714
|
-
resolvers[type] || (resolvers[type] = (res, config)=>{
|
|
3715
|
-
let method = res && res[type];
|
|
3716
|
-
if (method) return method.call(res);
|
|
3717
|
-
throw new core_AxiosError(`Response type '${type}' is not supported`, core_AxiosError.ERR_NOT_SUPPORT, config);
|
|
3718
|
-
});
|
|
3719
|
-
});
|
|
3720
|
-
let getBodyLength = async (body)=>{
|
|
3721
|
-
if (null == body) return 0;
|
|
3722
|
-
if (utils.isBlob(body)) return body.size;
|
|
3723
|
-
if (utils.isSpecCompliantForm(body)) {
|
|
3724
|
-
let _request = new Request(platform.origin, {
|
|
3725
|
-
method: 'POST',
|
|
3726
|
-
body
|
|
3727
|
-
});
|
|
3728
|
-
return (await _request.arrayBuffer()).byteLength;
|
|
3729
|
-
}
|
|
3730
|
-
return utils.isArrayBufferView(body) || utils.isArrayBuffer(body) ? body.byteLength : (utils.isURLSearchParams(body) && (body += ''), utils.isString(body)) ? (await encodeText(body)).byteLength : void 0;
|
|
3731
|
-
}, resolveBodyLength = async (headers, body)=>{
|
|
3732
|
-
let length = utils.toFiniteNumber(headers.getContentLength());
|
|
3733
|
-
return null == length ? getBodyLength(body) : length;
|
|
3734
|
-
};
|
|
3735
|
-
return async (config)=>{
|
|
3736
|
-
let requestContentLength, { url, method, data, signal, cancelToken, timeout, onDownloadProgress, onUploadProgress, responseType, headers, withCredentials = 'same-origin', fetchOptions } = resolveConfig(config), _fetch = envFetch || fetch;
|
|
3737
|
-
responseType = responseType ? (responseType + '').toLowerCase() : 'text';
|
|
3738
|
-
let composedSignal = ((signals, timeout)=>{
|
|
3739
|
-
let { length } = signals = signals ? signals.filter(Boolean) : [];
|
|
3740
|
-
if (timeout || length) {
|
|
3741
|
-
let aborted, controller = new AbortController(), onabort = function(reason) {
|
|
3742
|
-
if (!aborted) {
|
|
3743
|
-
aborted = !0, unsubscribe();
|
|
3744
|
-
let err = reason instanceof Error ? reason : this.reason;
|
|
3745
|
-
controller.abort(err instanceof core_AxiosError ? err : new cancel_CanceledError(err instanceof Error ? err.message : err));
|
|
3746
|
-
}
|
|
3747
|
-
}, timer = timeout && setTimeout(()=>{
|
|
3748
|
-
timer = null, onabort(new core_AxiosError(`timeout of ${timeout}ms exceeded`, core_AxiosError.ETIMEDOUT));
|
|
3749
|
-
}, timeout), unsubscribe = ()=>{
|
|
3750
|
-
signals && (timer && clearTimeout(timer), timer = null, signals.forEach((signal)=>{
|
|
3751
|
-
signal.unsubscribe ? signal.unsubscribe(onabort) : signal.removeEventListener('abort', onabort);
|
|
3752
|
-
}), signals = null);
|
|
3753
|
-
};
|
|
3754
|
-
signals.forEach((signal)=>signal.addEventListener('abort', onabort));
|
|
3755
|
-
let { signal } = controller;
|
|
3756
|
-
return signal.unsubscribe = ()=>utils.asap(unsubscribe), signal;
|
|
3757
|
-
}
|
|
3758
|
-
})([
|
|
3759
|
-
signal,
|
|
3760
|
-
cancelToken && cancelToken.toAbortSignal()
|
|
3761
|
-
], timeout), request = null, unsubscribe = composedSignal && composedSignal.unsubscribe && (()=>{
|
|
3762
|
-
composedSignal.unsubscribe();
|
|
3763
|
-
});
|
|
3764
|
-
try {
|
|
3765
|
-
if (onUploadProgress && supportsRequestStream && 'get' !== method && 'head' !== method && 0 !== (requestContentLength = await resolveBodyLength(headers, data))) {
|
|
3766
|
-
let contentTypeHeader, _request = new Request(url, {
|
|
3767
|
-
method: 'POST',
|
|
3768
|
-
body: data,
|
|
3769
|
-
duplex: 'half'
|
|
3770
|
-
});
|
|
3771
|
-
if (utils.isFormData(data) && (contentTypeHeader = _request.headers.get('content-type')) && headers.setContentType(contentTypeHeader), _request.body) {
|
|
3772
|
-
let [onProgress, flush] = progressEventDecorator(requestContentLength, progressEventReducer(asyncDecorator(onUploadProgress)));
|
|
3773
|
-
data = trackStream(_request.body, 65536, onProgress, flush);
|
|
3774
|
-
}
|
|
3775
|
-
}
|
|
3776
|
-
utils.isString(withCredentials) || (withCredentials = withCredentials ? 'include' : 'omit');
|
|
3777
|
-
let isCredentialsSupported = isRequestSupported && 'credentials' in Request.prototype, resolvedOptions = {
|
|
3778
|
-
...fetchOptions,
|
|
3779
|
-
signal: composedSignal,
|
|
3780
|
-
method: method.toUpperCase(),
|
|
3781
|
-
headers: headers.normalize().toJSON(),
|
|
3782
|
-
body: data,
|
|
3783
|
-
duplex: 'half',
|
|
3784
|
-
credentials: isCredentialsSupported ? withCredentials : void 0
|
|
3785
|
-
};
|
|
3786
|
-
request = isRequestSupported && new Request(url, resolvedOptions);
|
|
3787
|
-
let response = await (isRequestSupported ? _fetch(request, fetchOptions) : _fetch(url, resolvedOptions)), isStreamResponse = supportsResponseStream && ('stream' === responseType || 'response' === responseType);
|
|
3788
|
-
if (supportsResponseStream && (onDownloadProgress || isStreamResponse && unsubscribe)) {
|
|
3789
|
-
let options = {};
|
|
3790
|
-
[
|
|
3791
|
-
'status',
|
|
3792
|
-
'statusText',
|
|
3793
|
-
'headers'
|
|
3794
|
-
].forEach((prop)=>{
|
|
3795
|
-
options[prop] = response[prop];
|
|
3796
|
-
});
|
|
3797
|
-
let responseContentLength = utils.toFiniteNumber(response.headers.get('content-length')), [onProgress, flush] = onDownloadProgress && progressEventDecorator(responseContentLength, progressEventReducer(asyncDecorator(onDownloadProgress), !0)) || [];
|
|
3798
|
-
response = new Response(trackStream(response.body, 65536, onProgress, ()=>{
|
|
3799
|
-
flush && flush(), unsubscribe && unsubscribe();
|
|
3800
|
-
}), options);
|
|
3801
|
-
}
|
|
3802
|
-
responseType = responseType || 'text';
|
|
3803
|
-
let responseData = await resolvers[utils.findKey(resolvers, responseType) || 'text'](response, config);
|
|
3804
|
-
return !isStreamResponse && unsubscribe && unsubscribe(), await new Promise((resolve, reject)=>{
|
|
3805
|
-
settle(resolve, reject, {
|
|
3806
|
-
data: responseData,
|
|
3807
|
-
headers: AxiosHeaders.from(response.headers),
|
|
3808
|
-
status: response.status,
|
|
3809
|
-
statusText: response.statusText,
|
|
3810
|
-
config,
|
|
3811
|
-
request
|
|
3812
|
-
});
|
|
3813
|
-
});
|
|
3814
|
-
} catch (err) {
|
|
3815
|
-
if (unsubscribe && unsubscribe(), err && 'TypeError' === err.name && /Load failed|fetch/i.test(err.message)) throw Object.assign(new core_AxiosError('Network Error', core_AxiosError.ERR_NETWORK, config, request, err && err.response), {
|
|
3816
|
-
cause: err.cause || err
|
|
3817
|
-
});
|
|
3818
|
-
throw core_AxiosError.from(err, err && err.code, config, request, err && err.response);
|
|
3819
|
-
}
|
|
3820
|
-
};
|
|
3821
|
-
}, seedCache = new Map(), getFetch = (config)=>{
|
|
3822
|
-
let env = config && config.env || {}, { fetch: fetch1, Request, Response } = env, seeds = [
|
|
3823
|
-
Request,
|
|
3824
|
-
Response,
|
|
3825
|
-
fetch1
|
|
3826
|
-
], i = seeds.length, seed, target, map = seedCache;
|
|
3827
|
-
for(; i--;)seed = seeds[i], void 0 === (target = map.get(seed)) && map.set(seed, target = i ? new Map() : factory(env)), map = target;
|
|
3828
|
-
return target;
|
|
3829
|
-
};
|
|
3830
|
-
getFetch();
|
|
3831
|
-
let knownAdapters = {
|
|
3832
|
-
http: adapters_http,
|
|
3833
|
-
xhr: xhr,
|
|
3834
|
-
fetch: {
|
|
3835
|
-
get: getFetch
|
|
3836
|
-
}
|
|
3837
|
-
};
|
|
3838
|
-
utils.forEach(knownAdapters, (fn, value)=>{
|
|
3839
|
-
if (fn) {
|
|
3840
|
-
try {
|
|
3841
|
-
Object.defineProperty(fn, 'name', {
|
|
3842
|
-
value
|
|
3843
|
-
});
|
|
3844
|
-
} catch (e) {}
|
|
3845
|
-
Object.defineProperty(fn, 'adapterName', {
|
|
3846
|
-
value
|
|
3847
|
-
});
|
|
3848
|
-
}
|
|
3849
|
-
});
|
|
3850
|
-
let renderReason = (reason)=>`- ${reason}`, isResolvedHandle = (adapter)=>utils.isFunction(adapter) || null === adapter || !1 === adapter, adapters_adapters_getAdapter = function(adapters, config) {
|
|
3851
|
-
let nameOrAdapter, adapter, { length } = adapters = utils.isArray(adapters) ? adapters : [
|
|
3852
|
-
adapters
|
|
3853
|
-
], rejectedReasons = {};
|
|
3854
|
-
for(let i = 0; i < length; i++){
|
|
3855
|
-
let id;
|
|
3856
|
-
if (adapter = nameOrAdapter = adapters[i], !isResolvedHandle(nameOrAdapter) && void 0 === (adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()])) throw new core_AxiosError(`Unknown adapter '${id}'`);
|
|
3857
|
-
if (adapter && (utils.isFunction(adapter) || (adapter = adapter.get(config)))) break;
|
|
3858
|
-
rejectedReasons[id || '#' + i] = adapter;
|
|
3859
|
-
}
|
|
3860
|
-
if (!adapter) {
|
|
3861
|
-
let reasons = Object.entries(rejectedReasons).map(([id, state])=>`adapter ${id} ` + (!1 === state ? 'is not supported by the environment' : 'is not available in the build'));
|
|
3862
|
-
throw new core_AxiosError("There is no suitable adapter to dispatch the request " + (length ? reasons.length > 1 ? 'since :\n' + reasons.map(renderReason).join('\n') : ' ' + renderReason(reasons[0]) : 'as no adapter specified'), 'ERR_NOT_SUPPORT');
|
|
3863
|
-
}
|
|
3864
|
-
return adapter;
|
|
3865
|
-
};
|
|
3866
|
-
function throwIfCancellationRequested(config) {
|
|
3867
|
-
if (config.cancelToken && config.cancelToken.throwIfRequested(), config.signal && config.signal.aborted) throw new cancel_CanceledError(null, config);
|
|
3868
|
-
}
|
|
3869
|
-
function dispatchRequest(config) {
|
|
3870
|
-
return throwIfCancellationRequested(config), config.headers = AxiosHeaders.from(config.headers), config.data = transformData.call(config, config.transformRequest), -1 !== [
|
|
3871
|
-
'post',
|
|
3872
|
-
'put',
|
|
3873
|
-
'patch'
|
|
3874
|
-
].indexOf(config.method) && config.headers.setContentType('application/x-www-form-urlencoded', !1), adapters_adapters_getAdapter(config.adapter || defaults_defaults.adapter, config)(config).then(function(response) {
|
|
3875
|
-
return throwIfCancellationRequested(config), response.data = transformData.call(config, config.transformResponse, response), response.headers = AxiosHeaders.from(response.headers), response;
|
|
3876
|
-
}, function(reason) {
|
|
3877
|
-
return !isCancel(reason) && (throwIfCancellationRequested(config), reason && reason.response && (reason.response.data = transformData.call(config, config.transformResponse, reason.response), reason.response.headers = AxiosHeaders.from(reason.response.headers))), Promise.reject(reason);
|
|
3878
|
-
});
|
|
3879
|
-
}
|
|
3880
|
-
let validators = {};
|
|
3881
|
-
[
|
|
3882
|
-
'object',
|
|
3883
|
-
'boolean',
|
|
3884
|
-
'number',
|
|
3885
|
-
'function',
|
|
3886
|
-
'string',
|
|
3887
|
-
'symbol'
|
|
3888
|
-
].forEach((type, i)=>{
|
|
3889
|
-
validators[type] = function(thing) {
|
|
3890
|
-
return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;
|
|
3891
|
-
};
|
|
3892
|
-
});
|
|
3893
|
-
let deprecatedWarnings = {};
|
|
3894
|
-
validators.transitional = function(validator, version, message) {
|
|
3895
|
-
function formatMessage(opt, desc) {
|
|
3896
|
-
return "[Axios v1.14.0] Transitional option '" + opt + "'" + desc + (message ? '. ' + message : '');
|
|
3897
|
-
}
|
|
3898
|
-
return (value, opt, opts)=>{
|
|
3899
|
-
if (!1 === validator) throw new core_AxiosError(formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')), core_AxiosError.ERR_DEPRECATED);
|
|
3900
|
-
return version && !deprecatedWarnings[opt] && (deprecatedWarnings[opt] = !0, console.warn(formatMessage(opt, ' has been deprecated since v' + version + ' and will be removed in the near future'))), !validator || validator(value, opt, opts);
|
|
3901
|
-
};
|
|
3902
|
-
}, validators.spelling = function(correctSpelling) {
|
|
3903
|
-
return (value, opt)=>(console.warn(`${opt} is likely a misspelling of ${correctSpelling}`), !0);
|
|
3904
|
-
};
|
|
3905
|
-
let helpers_validator_assertOptions = function(options, schema, allowUnknown) {
|
|
3906
|
-
if ('object' != typeof options) throw new core_AxiosError('options must be an object', core_AxiosError.ERR_BAD_OPTION_VALUE);
|
|
3907
|
-
let keys = Object.keys(options), i = keys.length;
|
|
3908
|
-
for(; i-- > 0;){
|
|
3909
|
-
let opt = keys[i], validator = schema[opt];
|
|
3910
|
-
if (validator) {
|
|
3911
|
-
let value = options[opt], result = void 0 === value || validator(value, opt, options);
|
|
3912
|
-
if (!0 !== result) throw new core_AxiosError('option ' + opt + ' must be ' + result, core_AxiosError.ERR_BAD_OPTION_VALUE);
|
|
3913
|
-
continue;
|
|
3914
|
-
}
|
|
3915
|
-
if (!0 !== allowUnknown) throw new core_AxiosError('Unknown option ' + opt, core_AxiosError.ERR_BAD_OPTION);
|
|
3916
|
-
}
|
|
3917
|
-
};
|
|
3918
|
-
class Axios {
|
|
3919
|
-
constructor(instanceConfig){
|
|
3920
|
-
this.defaults = instanceConfig || {}, this.interceptors = {
|
|
3921
|
-
request: new core_InterceptorManager(),
|
|
3922
|
-
response: new core_InterceptorManager()
|
|
3923
|
-
};
|
|
3924
|
-
}
|
|
3925
|
-
async request(configOrUrl, config) {
|
|
3926
|
-
try {
|
|
3927
|
-
return await this._request(configOrUrl, config);
|
|
3928
|
-
} catch (err) {
|
|
3929
|
-
if (err instanceof Error) {
|
|
3930
|
-
let dummy = {};
|
|
3931
|
-
Error.captureStackTrace ? Error.captureStackTrace(dummy) : dummy = Error();
|
|
3932
|
-
let stack = dummy.stack ? dummy.stack.replace(/^.+\n/, '') : '';
|
|
3933
|
-
try {
|
|
3934
|
-
err.stack ? stack && !String(err.stack).endsWith(stack.replace(/^.+\n.+\n/, '')) && (err.stack += '\n' + stack) : err.stack = stack;
|
|
3935
|
-
} catch (e) {}
|
|
3936
|
-
}
|
|
3937
|
-
throw err;
|
|
3938
|
-
}
|
|
3939
|
-
}
|
|
3940
|
-
_request(configOrUrl, config) {
|
|
3941
|
-
let promise, len;
|
|
3942
|
-
'string' == typeof configOrUrl ? (config = config || {}).url = configOrUrl : config = configOrUrl || {};
|
|
3943
|
-
let { transitional, paramsSerializer, headers } = config = mergeConfig(this.defaults, config);
|
|
3944
|
-
void 0 !== transitional && helpers_validator_assertOptions(transitional, {
|
|
3945
|
-
silentJSONParsing: validators.transitional(validators.boolean),
|
|
3946
|
-
forcedJSONParsing: validators.transitional(validators.boolean),
|
|
3947
|
-
clarifyTimeoutError: validators.transitional(validators.boolean),
|
|
3948
|
-
legacyInterceptorReqResOrdering: validators.transitional(validators.boolean)
|
|
3949
|
-
}, !1), null != paramsSerializer && (utils.isFunction(paramsSerializer) ? config.paramsSerializer = {
|
|
3950
|
-
serialize: paramsSerializer
|
|
3951
|
-
} : helpers_validator_assertOptions(paramsSerializer, {
|
|
3952
|
-
encode: validators.function,
|
|
3953
|
-
serialize: validators.function
|
|
3954
|
-
}, !0)), void 0 !== config.allowAbsoluteUrls || (void 0 !== this.defaults.allowAbsoluteUrls ? config.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : config.allowAbsoluteUrls = !0), helpers_validator_assertOptions(config, {
|
|
3955
|
-
baseUrl: validators.spelling('baseURL'),
|
|
3956
|
-
withXsrfToken: validators.spelling('withXSRFToken')
|
|
3957
|
-
}, !0), config.method = (config.method || this.defaults.method || 'get').toLowerCase();
|
|
3958
|
-
let contextHeaders = headers && utils.merge(headers.common, headers[config.method]);
|
|
3959
|
-
headers && utils.forEach([
|
|
3960
|
-
'delete',
|
|
3961
|
-
'get',
|
|
3962
|
-
'head',
|
|
3963
|
-
'post',
|
|
3964
|
-
'put',
|
|
3965
|
-
'patch',
|
|
3966
|
-
'common'
|
|
3967
|
-
], (method)=>{
|
|
3968
|
-
delete headers[method];
|
|
3969
|
-
}), config.headers = AxiosHeaders.concat(contextHeaders, headers);
|
|
3970
|
-
let requestInterceptorChain = [], synchronousRequestInterceptors = !0;
|
|
3971
|
-
this.interceptors.request.forEach(function(interceptor) {
|
|
3972
|
-
if ('function' == typeof interceptor.runWhen && !1 === interceptor.runWhen(config)) return;
|
|
3973
|
-
synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;
|
|
3974
|
-
let transitional = config.transitional || defaults_transitional;
|
|
3975
|
-
transitional && transitional.legacyInterceptorReqResOrdering ? requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected) : requestInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);
|
|
3976
|
-
});
|
|
3977
|
-
let responseInterceptorChain = [];
|
|
3978
|
-
this.interceptors.response.forEach(function(interceptor) {
|
|
3979
|
-
responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);
|
|
3980
|
-
});
|
|
3981
|
-
let i = 0;
|
|
3982
|
-
if (!synchronousRequestInterceptors) {
|
|
3983
|
-
let chain = [
|
|
3984
|
-
dispatchRequest.bind(this),
|
|
3985
|
-
void 0
|
|
3986
|
-
];
|
|
3987
|
-
for(chain.unshift(...requestInterceptorChain), chain.push(...responseInterceptorChain), len = chain.length, promise = Promise.resolve(config); i < len;)promise = promise.then(chain[i++], chain[i++]);
|
|
3988
|
-
return promise;
|
|
3989
|
-
}
|
|
3990
|
-
len = requestInterceptorChain.length;
|
|
3991
|
-
let newConfig = config;
|
|
3992
|
-
for(; i < len;){
|
|
3993
|
-
let onFulfilled = requestInterceptorChain[i++], onRejected = requestInterceptorChain[i++];
|
|
3994
|
-
try {
|
|
3995
|
-
newConfig = onFulfilled(newConfig);
|
|
3996
|
-
} catch (error) {
|
|
3997
|
-
onRejected.call(this, error);
|
|
3998
|
-
break;
|
|
3999
|
-
}
|
|
4000
|
-
}
|
|
4001
|
-
try {
|
|
4002
|
-
promise = dispatchRequest.call(this, newConfig);
|
|
4003
|
-
} catch (error) {
|
|
4004
|
-
return Promise.reject(error);
|
|
4005
|
-
}
|
|
4006
|
-
for(i = 0, len = responseInterceptorChain.length; i < len;)promise = promise.then(responseInterceptorChain[i++], responseInterceptorChain[i++]);
|
|
4007
|
-
return promise;
|
|
4008
|
-
}
|
|
4009
|
-
getUri(config) {
|
|
4010
|
-
return buildURL(buildFullPath((config = mergeConfig(this.defaults, config)).baseURL, config.url, config.allowAbsoluteUrls), config.params, config.paramsSerializer);
|
|
4011
|
-
}
|
|
4012
|
-
}
|
|
4013
|
-
utils.forEach([
|
|
4014
|
-
'delete',
|
|
4015
|
-
'get',
|
|
4016
|
-
'head',
|
|
4017
|
-
'options'
|
|
4018
|
-
], function(method) {
|
|
4019
|
-
Axios.prototype[method] = function(url, config) {
|
|
4020
|
-
return this.request(mergeConfig(config || {}, {
|
|
4021
|
-
method,
|
|
4022
|
-
url,
|
|
4023
|
-
data: (config || {}).data
|
|
4024
|
-
}));
|
|
4025
|
-
};
|
|
4026
|
-
}), utils.forEach([
|
|
4027
|
-
'post',
|
|
4028
|
-
'put',
|
|
4029
|
-
'patch'
|
|
4030
|
-
], function(method) {
|
|
4031
|
-
function generateHTTPMethod(isForm) {
|
|
4032
|
-
return function(url, data, config) {
|
|
4033
|
-
return this.request(mergeConfig(config || {}, {
|
|
4034
|
-
method,
|
|
4035
|
-
headers: isForm ? {
|
|
4036
|
-
'Content-Type': 'multipart/form-data'
|
|
4037
|
-
} : {},
|
|
4038
|
-
url,
|
|
4039
|
-
data
|
|
4040
|
-
}));
|
|
4041
|
-
};
|
|
4042
|
-
}
|
|
4043
|
-
Axios.prototype[method] = generateHTTPMethod(), Axios.prototype[method + 'Form'] = generateHTTPMethod(!0);
|
|
4044
|
-
});
|
|
4045
|
-
class CancelToken {
|
|
4046
|
-
constructor(executor){
|
|
4047
|
-
let resolvePromise;
|
|
4048
|
-
if ('function' != typeof executor) throw TypeError('executor must be a function.');
|
|
4049
|
-
this.promise = new Promise(function(resolve) {
|
|
4050
|
-
resolvePromise = resolve;
|
|
4051
|
-
});
|
|
4052
|
-
let token = this;
|
|
4053
|
-
this.promise.then((cancel)=>{
|
|
4054
|
-
if (!token._listeners) return;
|
|
4055
|
-
let i = token._listeners.length;
|
|
4056
|
-
for(; i-- > 0;)token._listeners[i](cancel);
|
|
4057
|
-
token._listeners = null;
|
|
4058
|
-
}), this.promise.then = (onfulfilled)=>{
|
|
4059
|
-
let _resolve, promise = new Promise((resolve)=>{
|
|
4060
|
-
token.subscribe(resolve), _resolve = resolve;
|
|
4061
|
-
}).then(onfulfilled);
|
|
4062
|
-
return promise.cancel = function() {
|
|
4063
|
-
token.unsubscribe(_resolve);
|
|
4064
|
-
}, promise;
|
|
4065
|
-
}, executor(function(message, config, request) {
|
|
4066
|
-
token.reason || (token.reason = new cancel_CanceledError(message, config, request), resolvePromise(token.reason));
|
|
4067
|
-
});
|
|
4068
|
-
}
|
|
4069
|
-
throwIfRequested() {
|
|
4070
|
-
if (this.reason) throw this.reason;
|
|
4071
|
-
}
|
|
4072
|
-
subscribe(listener) {
|
|
4073
|
-
this.reason ? listener(this.reason) : this._listeners ? this._listeners.push(listener) : this._listeners = [
|
|
4074
|
-
listener
|
|
4075
|
-
];
|
|
4076
|
-
}
|
|
4077
|
-
unsubscribe(listener) {
|
|
4078
|
-
if (!this._listeners) return;
|
|
4079
|
-
let index = this._listeners.indexOf(listener);
|
|
4080
|
-
-1 !== index && this._listeners.splice(index, 1);
|
|
4081
|
-
}
|
|
4082
|
-
toAbortSignal() {
|
|
4083
|
-
let controller = new AbortController(), abort = (err)=>{
|
|
4084
|
-
controller.abort(err);
|
|
4085
|
-
};
|
|
4086
|
-
return this.subscribe(abort), controller.signal.unsubscribe = ()=>this.unsubscribe(abort), controller.signal;
|
|
4087
|
-
}
|
|
4088
|
-
static source() {
|
|
4089
|
-
let cancel;
|
|
4090
|
-
return {
|
|
4091
|
-
token: new CancelToken(function(c) {
|
|
4092
|
-
cancel = c;
|
|
4093
|
-
}),
|
|
4094
|
-
cancel
|
|
4095
|
-
};
|
|
4096
|
-
}
|
|
4097
|
-
}
|
|
4098
|
-
let HttpStatusCode = {
|
|
4099
|
-
Continue: 100,
|
|
4100
|
-
SwitchingProtocols: 101,
|
|
4101
|
-
Processing: 102,
|
|
4102
|
-
EarlyHints: 103,
|
|
4103
|
-
Ok: 200,
|
|
4104
|
-
Created: 201,
|
|
4105
|
-
Accepted: 202,
|
|
4106
|
-
NonAuthoritativeInformation: 203,
|
|
4107
|
-
NoContent: 204,
|
|
4108
|
-
ResetContent: 205,
|
|
4109
|
-
PartialContent: 206,
|
|
4110
|
-
MultiStatus: 207,
|
|
4111
|
-
AlreadyReported: 208,
|
|
4112
|
-
ImUsed: 226,
|
|
4113
|
-
MultipleChoices: 300,
|
|
4114
|
-
MovedPermanently: 301,
|
|
4115
|
-
Found: 302,
|
|
4116
|
-
SeeOther: 303,
|
|
4117
|
-
NotModified: 304,
|
|
4118
|
-
UseProxy: 305,
|
|
4119
|
-
Unused: 306,
|
|
4120
|
-
TemporaryRedirect: 307,
|
|
4121
|
-
PermanentRedirect: 308,
|
|
4122
|
-
BadRequest: 400,
|
|
4123
|
-
Unauthorized: 401,
|
|
4124
|
-
PaymentRequired: 402,
|
|
4125
|
-
Forbidden: 403,
|
|
4126
|
-
NotFound: 404,
|
|
4127
|
-
MethodNotAllowed: 405,
|
|
4128
|
-
NotAcceptable: 406,
|
|
4129
|
-
ProxyAuthenticationRequired: 407,
|
|
4130
|
-
RequestTimeout: 408,
|
|
4131
|
-
Conflict: 409,
|
|
4132
|
-
Gone: 410,
|
|
4133
|
-
LengthRequired: 411,
|
|
4134
|
-
PreconditionFailed: 412,
|
|
4135
|
-
PayloadTooLarge: 413,
|
|
4136
|
-
UriTooLong: 414,
|
|
4137
|
-
UnsupportedMediaType: 415,
|
|
4138
|
-
RangeNotSatisfiable: 416,
|
|
4139
|
-
ExpectationFailed: 417,
|
|
4140
|
-
ImATeapot: 418,
|
|
4141
|
-
MisdirectedRequest: 421,
|
|
4142
|
-
UnprocessableEntity: 422,
|
|
4143
|
-
Locked: 423,
|
|
4144
|
-
FailedDependency: 424,
|
|
4145
|
-
TooEarly: 425,
|
|
4146
|
-
UpgradeRequired: 426,
|
|
4147
|
-
PreconditionRequired: 428,
|
|
4148
|
-
TooManyRequests: 429,
|
|
4149
|
-
RequestHeaderFieldsTooLarge: 431,
|
|
4150
|
-
UnavailableForLegalReasons: 451,
|
|
4151
|
-
InternalServerError: 500,
|
|
4152
|
-
NotImplemented: 501,
|
|
4153
|
-
BadGateway: 502,
|
|
4154
|
-
ServiceUnavailable: 503,
|
|
4155
|
-
GatewayTimeout: 504,
|
|
4156
|
-
HttpVersionNotSupported: 505,
|
|
4157
|
-
VariantAlsoNegotiates: 506,
|
|
4158
|
-
InsufficientStorage: 507,
|
|
4159
|
-
LoopDetected: 508,
|
|
4160
|
-
NotExtended: 510,
|
|
4161
|
-
NetworkAuthenticationRequired: 511,
|
|
4162
|
-
WebServerIsDown: 521,
|
|
4163
|
-
ConnectionTimedOut: 522,
|
|
4164
|
-
OriginIsUnreachable: 523,
|
|
4165
|
-
TimeoutOccurred: 524,
|
|
4166
|
-
SslHandshakeFailed: 525,
|
|
4167
|
-
InvalidSslCertificate: 526
|
|
4168
|
-
};
|
|
4169
|
-
Object.entries(HttpStatusCode).forEach(([key, value])=>{
|
|
4170
|
-
HttpStatusCode[value] = key;
|
|
4171
|
-
});
|
|
4172
|
-
let axios = function createInstance(defaultConfig) {
|
|
4173
|
-
let context = new Axios(defaultConfig), instance = bind(Axios.prototype.request, context);
|
|
4174
|
-
return utils.extend(instance, Axios.prototype, context, {
|
|
4175
|
-
allOwnKeys: !0
|
|
4176
|
-
}), utils.extend(instance, context, null, {
|
|
4177
|
-
allOwnKeys: !0
|
|
4178
|
-
}), instance.create = function(instanceConfig) {
|
|
4179
|
-
return createInstance(mergeConfig(defaultConfig, instanceConfig));
|
|
4180
|
-
}, instance;
|
|
4181
|
-
}(defaults_defaults);
|
|
4182
455
|
async function fetchText(url) {
|
|
4183
|
-
|
|
456
|
+
var options;
|
|
457
|
+
return (await (options = {
|
|
4184
458
|
timeout: 60000,
|
|
4185
459
|
headers: {
|
|
4186
|
-
|
|
460
|
+
Accept: 'text/plain; charset=utf-8',
|
|
4187
461
|
'Accept-Encoding': 'gzip,deflate,compress'
|
|
4188
462
|
}
|
|
4189
|
-
});
|
|
4190
|
-
return data;
|
|
463
|
+
}, Fetch.fetchWithTimeout(url, options))).text();
|
|
4191
464
|
}
|
|
4192
465
|
async function readFile(url, cwd) {
|
|
4193
|
-
let file =
|
|
466
|
+
let file = path.resolve(cwd, url);
|
|
4194
467
|
return node_fs.readFileSync(file, 'utf-8');
|
|
4195
468
|
}
|
|
4196
469
|
async function loadJSON(uri, cwd) {
|
|
4197
|
-
return Url.isUrl(uri) ? await fetchText(uri) : JSON.parse(await readFile(uri, cwd));
|
|
470
|
+
return Url.isUrl(uri) ? JSON.parse(await fetchText(uri)) : JSON.parse(await readFile(uri, cwd));
|
|
4198
471
|
}
|
|
4199
472
|
async function loadShardingFile(uri, cwd) {
|
|
4200
473
|
return Url.isUrl(uri) ? fetchText(uri) : Url.isFilePath(uri) ? readFile(uri, cwd) : Promise.resolve(uri);
|
|
@@ -4202,16 +475,7 @@ async function loadShardingFile(uri, cwd) {
|
|
|
4202
475
|
async function loadShardingFileWithSpinner(uri, cwd, spinner) {
|
|
4203
476
|
return loadShardingFile(uri, cwd).then((res)=>(spinner.text = `loaded "${uri}"`, res));
|
|
4204
477
|
}
|
|
4205
|
-
|
|
4206
|
-
return Promise.all(promises);
|
|
4207
|
-
}, axios.spread = function(callback) {
|
|
4208
|
-
return function(arr) {
|
|
4209
|
-
return callback.apply(null, arr);
|
|
4210
|
-
};
|
|
4211
|
-
}, axios.isAxiosError = function(payload) {
|
|
4212
|
-
return utils.isObject(payload) && !0 === payload.isAxiosError;
|
|
4213
|
-
}, axios.mergeConfig = mergeConfig, axios.AxiosHeaders = AxiosHeaders, axios.formToJSON = (thing)=>helpers_formDataToJSON(utils.isHTMLForm(thing) ? new FormData(thing) : thing), axios.getAdapter = adapters_adapters_getAdapter, axios.HttpStatusCode = HttpStatusCode, axios.default = axios;
|
|
4214
|
-
var package_namespaceObject = JSON.parse('{"name":"@rsdoctor/cli","version":"1.5.7","repository":{"type":"git","url":"https://github.com/web-infra-dev/rsdoctor","directory":"packages/cli"},"bin":{"rsdoctor":"./bin/rsdoctor"},"files":["bin","dist"],"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.cjs"}},"license":"MIT","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"dev":"npm run start","build":"rslib build","start":"rslib build -w","test":"rstest run"},"type":"module","dependencies":{"ora":"^5.4.1","@rsdoctor/sdk":"workspace:*","@rsdoctor/types":"workspace:*","@rsdoctor/utils":"workspace:*","@rsdoctor/graph":"workspace:*"},"devDependencies":{"@rsdoctor/client":"workspace:*","cac":"^7.0.0","typescript":"^5.9.2","axios":"1.14.0","picocolors":"^1.1.1"},"peerDependencies":{"@rsdoctor/client":"workspace:*"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"}}');
|
|
478
|
+
var package_namespaceObject = JSON.parse('{"name":"@rsdoctor/cli","version":"1.5.8","repository":{"type":"git","url":"https://github.com/web-infra-dev/rsdoctor","directory":"packages/cli"},"bin":{"rsdoctor":"./bin/rsdoctor"},"files":["bin","dist"],"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.cjs"}},"license":"MIT","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"dev":"npm run start","build":"rslib build","start":"rslib build -w","test":"rstest run"},"type":"module","dependencies":{"ora":"^5.4.1","@rsdoctor/sdk":"workspace:*","@rsdoctor/types":"workspace:*","@rsdoctor/utils":"workspace:*","@rsdoctor/graph":"workspace:*"},"devDependencies":{"@rsdoctor/client":"workspace:*","cac":"^7.0.0","typescript":"^5.9.2","picocolors":"^1.1.1"},"peerDependencies":{"@rsdoctor/client":"workspace:*"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"}}');
|
|
4215
479
|
let constants_bin = Object.keys(package_namespaceObject.bin)[0], picocolors = __webpack_require__("../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js"), analyze = (fn = ({ cwd, name, bin })=>({
|
|
4216
480
|
command: "analyze",
|
|
4217
481
|
description: `
|
|
@@ -4294,8 +558,8 @@ example: ${bin} bundle-diff --baseline="x.json" --current="x.json"
|
|
|
4294
558
|
if (json && html) return spinner.fail((0, picocolors.red)('Options "--json" and "--html" cannot be used together. Please choose one.')), null;
|
|
4295
559
|
if (json) {
|
|
4296
560
|
spinner.text = 'Generating JSON output file...';
|
|
4297
|
-
let outputPath =
|
|
4298
|
-
fs.mkdirSync(
|
|
561
|
+
let outputPath = path.resolve(cwd, 'string' == typeof json ? json : output || 'rsdoctor-diff.json');
|
|
562
|
+
fs.mkdirSync(path.dirname(outputPath), {
|
|
4299
563
|
recursive: !0
|
|
4300
564
|
});
|
|
4301
565
|
let jsonData = Graph.getBundleDiffResult(baselineDataValue, currentDataValue);
|
|
@@ -4331,10 +595,10 @@ example: ${bin} bundle-diff --baseline="x.json" --current="x.json"
|
|
|
4331
595
|
}
|
|
4332
596
|
if (html) {
|
|
4333
597
|
spinner.text = 'Generating standalone HTML file...';
|
|
4334
|
-
let clientHtmlPath = createRequire(import.meta.url).resolve('@rsdoctor/client/dist/diff.html'), htmlContent = fs.readFileSync(clientHtmlPath, 'utf-8'), basePath =
|
|
598
|
+
let clientHtmlPath = createRequire(import.meta.url).resolve('@rsdoctor/client/dist/diff.html'), htmlContent = fs.readFileSync(clientHtmlPath, 'utf-8'), basePath = path.dirname(clientHtmlPath), scriptSrcs = Array.from(htmlContent.matchAll(/<script[^>]+src=["']([^"']+)["'][^>]*><\/script>/g), (m)=>m[1]), cssHrefs = Array.from(htmlContent.matchAll(/<link\s+href=["'](.+?)["']\s+rel="stylesheet">/g), (m)=>m[1]);
|
|
4335
599
|
htmlContent = (htmlContent = htmlContent.replace(/<script\s+.*?src=["'].*?["']><\/script>/g, '')).replace(/<link\s+.*?rel=["']stylesheet["'].*?>/g, '');
|
|
4336
600
|
let inlinedScripts = scriptSrcs.map((src)=>{
|
|
4337
|
-
let scriptPath =
|
|
601
|
+
let scriptPath = path.resolve(basePath, src);
|
|
4338
602
|
try {
|
|
4339
603
|
let scriptContent = fs.readFileSync(scriptPath, 'utf-8');
|
|
4340
604
|
return `<script>${scriptContent}</script>`;
|
|
@@ -4342,7 +606,7 @@ example: ${bin} bundle-diff --baseline="x.json" --current="x.json"
|
|
|
4342
606
|
return console.error(`Could not read script at ${scriptPath}:`, error), '';
|
|
4343
607
|
}
|
|
4344
608
|
}).join(''), inlinedStyles = cssHrefs.map((href)=>{
|
|
4345
|
-
let cssPath =
|
|
609
|
+
let cssPath = path.resolve(basePath, href);
|
|
4346
610
|
try {
|
|
4347
611
|
let cssContent = fs.readFileSync(cssPath, 'utf-8');
|
|
4348
612
|
return `<style>${cssContent}</style>`;
|
|
@@ -4361,8 +625,8 @@ example: ${bin} bundle-diff --baseline="x.json" --current="x.json"
|
|
|
4361
625
|
`window.${Constants.WINDOW_RSDOCTOR_TAG}.mode = 'diff';`
|
|
4362
626
|
].map((script)=>`<script>${script}</script>`).join('\n');
|
|
4363
627
|
htmlContent = htmlContent.replace('<body>', `<body>${compressTextScripts}`);
|
|
4364
|
-
let outputPath =
|
|
4365
|
-
fs.mkdirSync(
|
|
628
|
+
let outputPath = path.resolve(cwd, output || 'rsdoctor-diff.html');
|
|
629
|
+
fs.mkdirSync(path.dirname(outputPath), {
|
|
4366
630
|
recursive: !0
|
|
4367
631
|
}), fs.writeFileSync(outputPath, htmlContent, 'utf-8'), spinner.succeed(`Generated standalone HTML file at: ${outputPath}`);
|
|
4368
632
|
}
|