contentful 11.0.0 → 11.0.1
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/contentful.browser.js +204 -1060
- package/dist/contentful.browser.js.map +1 -1
- package/dist/contentful.browser.min.js +1 -1
- package/dist/contentful.node.js +237 -1046
- package/dist/contentful.node.js.map +1 -1
- package/dist/contentful.node.min.js +1 -1
- package/package.json +2 -2
|
@@ -5061,7 +5061,7 @@ function createClient(params) {
|
|
|
5061
5061
|
environment: 'master',
|
|
5062
5062
|
};
|
|
5063
5063
|
const config = Object.assign(Object.assign({}, defaultConfig), params);
|
|
5064
|
-
const userAgentHeader = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.getUserAgentHeader)(`contentful.js/${"11.0.
|
|
5064
|
+
const userAgentHeader = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.getUserAgentHeader)(`contentful.js/${"11.0.1"}`, config.application, config.integration);
|
|
5065
5065
|
config.headers = Object.assign(Object.assign({}, config.headers), { 'Content-Type': 'application/vnd.contentful.delivery.v1+json', 'X-Contentful-User-Agent': userAgentHeader });
|
|
5066
5066
|
const http = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.createHttpClient)(axios__WEBPACK_IMPORTED_MODULE_4__["default"], config);
|
|
5067
5067
|
if (!http.defaults.baseURL) {
|
|
@@ -5407,7 +5407,7 @@ function createContentfulApi({ http, getGlobalOptions }, options) {
|
|
|
5407
5407
|
http.defaults.baseURL = getGlobalOptions().environmentBaseUrl;
|
|
5408
5408
|
}
|
|
5409
5409
|
return {
|
|
5410
|
-
version: "11.0.
|
|
5410
|
+
version: "11.0.1",
|
|
5411
5411
|
getSpace,
|
|
5412
5412
|
getContentType,
|
|
5413
5413
|
getContentTypes,
|
|
@@ -15156,23 +15156,6 @@ $({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {
|
|
|
15156
15156
|
});
|
|
15157
15157
|
|
|
15158
15158
|
|
|
15159
|
-
/***/ }),
|
|
15160
|
-
|
|
15161
|
-
/***/ "../node_modules/core-js/modules/es.symbol.async-iterator.js":
|
|
15162
|
-
/*!*******************************************************************!*\
|
|
15163
|
-
!*** ../node_modules/core-js/modules/es.symbol.async-iterator.js ***!
|
|
15164
|
-
\*******************************************************************/
|
|
15165
|
-
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
15166
|
-
|
|
15167
|
-
"use strict";
|
|
15168
|
-
|
|
15169
|
-
var defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ "../node_modules/core-js/internals/well-known-symbol-define.js");
|
|
15170
|
-
|
|
15171
|
-
// `Symbol.asyncIterator` well-known symbol
|
|
15172
|
-
// https://tc39.es/ecma262/#sec-symbol.asynciterator
|
|
15173
|
-
defineWellKnownSymbol('asyncIterator');
|
|
15174
|
-
|
|
15175
|
-
|
|
15176
15159
|
/***/ }),
|
|
15177
15160
|
|
|
15178
15161
|
/***/ "../node_modules/core-js/modules/es.symbol.constructor.js":
|
|
@@ -17415,11 +17398,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
17415
17398
|
/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! core-js/modules/es.string.iterator.js */ "../node_modules/core-js/modules/es.string.iterator.js");
|
|
17416
17399
|
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "../node_modules/core-js/modules/web.dom-collections.for-each.js");
|
|
17417
17400
|
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "../node_modules/core-js/modules/web.dom-collections.iterator.js");
|
|
17418
|
-
/* harmony import */ var
|
|
17401
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../utils.js */ "../node_modules/axios/lib/utils.js");
|
|
17419
17402
|
/* harmony import */ var _http_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./http.js */ "../node_modules/axios/lib/helpers/null.js");
|
|
17420
17403
|
/* harmony import */ var _xhr_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./xhr.js */ "../node_modules/axios/lib/adapters/xhr.js");
|
|
17421
|
-
/* harmony import */ var
|
|
17422
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../core/AxiosError.js */ "../node_modules/axios/lib/core/AxiosError.js");
|
|
17404
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../core/AxiosError.js */ "../node_modules/axios/lib/core/AxiosError.js");
|
|
17423
17405
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
17424
17406
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
17425
17407
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
@@ -17445,14 +17427,12 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
|
17445
17427
|
|
|
17446
17428
|
|
|
17447
17429
|
|
|
17448
|
-
|
|
17449
17430
|
|
|
17450
17431
|
var knownAdapters = {
|
|
17451
17432
|
http: _http_js__WEBPACK_IMPORTED_MODULE_16__["default"],
|
|
17452
|
-
xhr: _xhr_js__WEBPACK_IMPORTED_MODULE_17__["default"]
|
|
17453
|
-
fetch: _fetch_js__WEBPACK_IMPORTED_MODULE_18__["default"]
|
|
17433
|
+
xhr: _xhr_js__WEBPACK_IMPORTED_MODULE_17__["default"]
|
|
17454
17434
|
};
|
|
17455
|
-
|
|
17435
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_18__["default"].forEach(knownAdapters, function (fn, value) {
|
|
17456
17436
|
if (fn) {
|
|
17457
17437
|
try {
|
|
17458
17438
|
Object.defineProperty(fn, 'name', {
|
|
@@ -17470,11 +17450,11 @@ var renderReason = function renderReason(reason) {
|
|
|
17470
17450
|
return "- ".concat(reason);
|
|
17471
17451
|
};
|
|
17472
17452
|
var isResolvedHandle = function isResolvedHandle(adapter) {
|
|
17473
|
-
return
|
|
17453
|
+
return _utils_js__WEBPACK_IMPORTED_MODULE_18__["default"].isFunction(adapter) || adapter === null || adapter === false;
|
|
17474
17454
|
};
|
|
17475
17455
|
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
17476
17456
|
getAdapter: function getAdapter(adapters) {
|
|
17477
|
-
adapters =
|
|
17457
|
+
adapters = _utils_js__WEBPACK_IMPORTED_MODULE_18__["default"].isArray(adapters) ? adapters : [adapters];
|
|
17478
17458
|
var _adapters = adapters,
|
|
17479
17459
|
length = _adapters.length;
|
|
17480
17460
|
var nameOrAdapter;
|
|
@@ -17487,7 +17467,7 @@ var isResolvedHandle = function isResolvedHandle(adapter) {
|
|
|
17487
17467
|
if (!isResolvedHandle(nameOrAdapter)) {
|
|
17488
17468
|
adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
|
|
17489
17469
|
if (adapter === undefined) {
|
|
17490
|
-
throw new
|
|
17470
|
+
throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_19__["default"]("Unknown adapter '".concat(id, "'"));
|
|
17491
17471
|
}
|
|
17492
17472
|
}
|
|
17493
17473
|
if (adapter) {
|
|
@@ -17503,7 +17483,7 @@ var isResolvedHandle = function isResolvedHandle(adapter) {
|
|
|
17503
17483
|
return "adapter ".concat(id, " ") + (state === false ? 'is not supported by the environment' : 'is not available in the build');
|
|
17504
17484
|
});
|
|
17505
17485
|
var s = length ? reasons.length > 1 ? 'since :\n' + reasons.map(renderReason).join('\n') : ' ' + renderReason(reasons[0]) : 'as no adapter specified';
|
|
17506
|
-
throw new
|
|
17486
|
+
throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_19__["default"]("There is no suitable adapter to dispatch the request " + s, 'ERR_NOT_SUPPORT');
|
|
17507
17487
|
}
|
|
17508
17488
|
return adapter;
|
|
17509
17489
|
},
|
|
@@ -17512,83 +17492,58 @@ var isResolvedHandle = function isResolvedHandle(adapter) {
|
|
|
17512
17492
|
|
|
17513
17493
|
/***/ }),
|
|
17514
17494
|
|
|
17515
|
-
/***/ "../node_modules/axios/lib/adapters/
|
|
17516
|
-
|
|
17517
|
-
!*** ../node_modules/axios/lib/adapters/
|
|
17518
|
-
|
|
17495
|
+
/***/ "../node_modules/axios/lib/adapters/xhr.js":
|
|
17496
|
+
/*!*************************************************!*\
|
|
17497
|
+
!*** ../node_modules/axios/lib/adapters/xhr.js ***!
|
|
17498
|
+
\*************************************************/
|
|
17519
17499
|
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
17520
17500
|
|
|
17521
17501
|
"use strict";
|
|
17522
17502
|
__webpack_require__.r(__webpack_exports__);
|
|
17523
|
-
/* harmony import */ var
|
|
17524
|
-
/* harmony import */ var
|
|
17525
|
-
/* harmony import */ var
|
|
17526
|
-
/* harmony import */ var
|
|
17503
|
+
/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.symbol.js */ "../node_modules/core-js/modules/es.symbol.js");
|
|
17504
|
+
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.symbol.description.js */ "../node_modules/core-js/modules/es.symbol.description.js");
|
|
17505
|
+
/* harmony import */ var core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ "../node_modules/core-js/modules/es.symbol.iterator.js");
|
|
17506
|
+
/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.array.concat.js */ "../node_modules/core-js/modules/es.array.concat.js");
|
|
17527
17507
|
/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.array.filter.js */ "../node_modules/core-js/modules/es.array.filter.js");
|
|
17528
17508
|
/* harmony import */ var core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.array.from.js */ "../node_modules/core-js/modules/es.array.from.js");
|
|
17529
17509
|
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "../node_modules/core-js/modules/es.array.iterator.js");
|
|
17530
|
-
/* harmony import */ var
|
|
17531
|
-
/* harmony import */ var
|
|
17532
|
-
/* harmony import */ var
|
|
17533
|
-
/* harmony import */ var
|
|
17534
|
-
/* harmony import */ var
|
|
17535
|
-
/* harmony import */ var
|
|
17536
|
-
/* harmony import */ var
|
|
17537
|
-
/* harmony import */ var
|
|
17538
|
-
/* harmony import */ var
|
|
17539
|
-
/* harmony import */ var
|
|
17540
|
-
/* harmony import */ var
|
|
17541
|
-
/* harmony import */ var
|
|
17542
|
-
/* harmony import */ var
|
|
17543
|
-
/* harmony import */ var
|
|
17544
|
-
/* harmony import */ var
|
|
17545
|
-
/* harmony import */ var
|
|
17546
|
-
/* harmony import */ var
|
|
17547
|
-
/* harmony import */ var
|
|
17548
|
-
/* harmony import */ var
|
|
17549
|
-
/* harmony import */ var
|
|
17550
|
-
/* harmony import */ var
|
|
17551
|
-
/* harmony import */ var
|
|
17552
|
-
/* harmony import */ var
|
|
17553
|
-
/* harmony import */ var
|
|
17554
|
-
/* harmony import */ var
|
|
17555
|
-
|
|
17556
|
-
|
|
17557
|
-
|
|
17558
|
-
|
|
17559
|
-
|
|
17560
|
-
|
|
17561
|
-
/* harmony import */ var core_js_modules_es_typed_array_sort_js__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! core-js/modules/es.typed-array.sort.js */ "../node_modules/core-js/modules/es.typed-array.sort.js");
|
|
17562
|
-
/* harmony import */ var core_js_modules_es_typed_array_subarray_js__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! core-js/modules/es.typed-array.subarray.js */ "../node_modules/core-js/modules/es.typed-array.subarray.js");
|
|
17563
|
-
/* harmony import */ var core_js_modules_es_typed_array_to_locale_string_js__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! core-js/modules/es.typed-array.to-locale-string.js */ "../node_modules/core-js/modules/es.typed-array.to-locale-string.js");
|
|
17564
|
-
/* harmony import */ var core_js_modules_es_typed_array_to_string_js__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! core-js/modules/es.typed-array.to-string.js */ "../node_modules/core-js/modules/es.typed-array.to-string.js");
|
|
17565
|
-
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "../node_modules/core-js/modules/web.dom-collections.for-each.js");
|
|
17566
|
-
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "../node_modules/core-js/modules/web.dom-collections.iterator.js");
|
|
17567
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ../platform/index.js */ "../node_modules/axios/lib/platform/index.js");
|
|
17568
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ../utils.js */ "../node_modules/axios/lib/utils.js");
|
|
17569
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ../core/AxiosError.js */ "../node_modules/axios/lib/core/AxiosError.js");
|
|
17570
|
-
/* harmony import */ var _helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ../helpers/composeSignals.js */ "../node_modules/axios/lib/helpers/composeSignals.js");
|
|
17571
|
-
/* harmony import */ var _helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ../helpers/trackStream.js */ "../node_modules/axios/lib/helpers/trackStream.js");
|
|
17572
|
-
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../node_modules/axios/lib/core/AxiosHeaders.js");
|
|
17573
|
-
/* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ "../node_modules/axios/lib/helpers/progressEventReducer.js");
|
|
17574
|
-
/* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "../node_modules/axios/lib/helpers/resolveConfig.js");
|
|
17575
|
-
/* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ../core/settle.js */ "../node_modules/axios/lib/core/settle.js");
|
|
17576
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
17577
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
17578
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
17579
|
-
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
17510
|
+
/* harmony import */ var core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/es.array.join.js */ "../node_modules/core-js/modules/es.array.join.js");
|
|
17511
|
+
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! core-js/modules/es.array.map.js */ "../node_modules/core-js/modules/es.array.map.js");
|
|
17512
|
+
/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! core-js/modules/es.array.slice.js */ "../node_modules/core-js/modules/es.array.slice.js");
|
|
17513
|
+
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! core-js/modules/es.function.name.js */ "../node_modules/core-js/modules/es.function.name.js");
|
|
17514
|
+
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! core-js/modules/es.object.to-string.js */ "../node_modules/core-js/modules/es.object.to-string.js");
|
|
17515
|
+
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "../node_modules/core-js/modules/es.promise.js");
|
|
17516
|
+
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "../node_modules/core-js/modules/es.regexp.exec.js");
|
|
17517
|
+
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ "../node_modules/core-js/modules/es.regexp.to-string.js");
|
|
17518
|
+
/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! core-js/modules/es.string.iterator.js */ "../node_modules/core-js/modules/es.string.iterator.js");
|
|
17519
|
+
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ "../node_modules/core-js/modules/es.string.trim.js");
|
|
17520
|
+
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "../node_modules/core-js/modules/web.dom-collections.for-each.js");
|
|
17521
|
+
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "../node_modules/core-js/modules/web.dom-collections.iterator.js");
|
|
17522
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./../utils.js */ "../node_modules/axios/lib/utils.js");
|
|
17523
|
+
/* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./../core/settle.js */ "../node_modules/axios/lib/core/settle.js");
|
|
17524
|
+
/* harmony import */ var _helpers_cookies_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./../helpers/cookies.js */ "../node_modules/axios/lib/helpers/cookies.js");
|
|
17525
|
+
/* harmony import */ var _helpers_buildURL_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./../helpers/buildURL.js */ "../node_modules/axios/lib/helpers/buildURL.js");
|
|
17526
|
+
/* harmony import */ var _core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ../core/buildFullPath.js */ "../node_modules/axios/lib/core/buildFullPath.js");
|
|
17527
|
+
/* harmony import */ var _helpers_isURLSameOrigin_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./../helpers/isURLSameOrigin.js */ "../node_modules/axios/lib/helpers/isURLSameOrigin.js");
|
|
17528
|
+
/* harmony import */ var _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ../defaults/transitional.js */ "../node_modules/axios/lib/defaults/transitional.js");
|
|
17529
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ../core/AxiosError.js */ "../node_modules/axios/lib/core/AxiosError.js");
|
|
17530
|
+
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../node_modules/axios/lib/cancel/CanceledError.js");
|
|
17531
|
+
/* harmony import */ var _helpers_parseProtocol_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ../helpers/parseProtocol.js */ "../node_modules/axios/lib/helpers/parseProtocol.js");
|
|
17532
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../platform/index.js */ "../node_modules/axios/lib/platform/index.js");
|
|
17533
|
+
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../node_modules/axios/lib/core/AxiosHeaders.js");
|
|
17534
|
+
/* harmony import */ var _helpers_speedometer_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../helpers/speedometer.js */ "../node_modules/axios/lib/helpers/speedometer.js");
|
|
17535
|
+
|
|
17536
|
+
|
|
17537
|
+
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
17538
|
+
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
17539
|
+
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
17540
|
+
function _toArray(arr) { return _arrayWithHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableRest(); }
|
|
17580
17541
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
17581
17542
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
17582
17543
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
17583
|
-
function
|
|
17544
|
+
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
17584
17545
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
17585
17546
|
|
|
17586
|
-
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
17587
|
-
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
17588
|
-
|
|
17589
|
-
|
|
17590
|
-
|
|
17591
|
-
|
|
17592
17547
|
|
|
17593
17548
|
|
|
17594
17549
|
|
|
@@ -17620,343 +17575,79 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
|
|
|
17620
17575
|
|
|
17621
17576
|
|
|
17622
17577
|
|
|
17623
|
-
|
|
17624
|
-
|
|
17625
|
-
|
|
17626
|
-
|
|
17627
|
-
|
|
17628
|
-
|
|
17629
|
-
|
|
17630
|
-
|
|
17631
|
-
|
|
17632
|
-
|
|
17633
|
-
|
|
17634
|
-
|
|
17635
|
-
|
|
17636
|
-
|
|
17637
|
-
|
|
17638
|
-
|
|
17639
|
-
|
|
17640
|
-
|
|
17641
|
-
|
|
17642
|
-
|
|
17643
|
-
|
|
17644
|
-
return fn({
|
|
17645
|
-
lengthComputable: lengthComputable,
|
|
17646
|
-
total: total,
|
|
17647
|
-
loaded: loaded
|
|
17648
|
-
});
|
|
17649
|
-
});
|
|
17650
|
-
};
|
|
17651
|
-
};
|
|
17652
|
-
var isFetchSupported = typeof fetch === 'function' && typeof Request === 'function' && typeof Response === 'function';
|
|
17653
|
-
var isReadableStreamSupported = isFetchSupported && typeof ReadableStream === 'function';
|
|
17654
|
-
|
|
17655
|
-
// used only inside the fetch adapter
|
|
17656
|
-
var encodeText = isFetchSupported && (typeof TextEncoder === 'function' ? function (encoder) {
|
|
17657
|
-
return function (str) {
|
|
17658
|
-
return encoder.encode(str);
|
|
17659
|
-
};
|
|
17660
|
-
}(new TextEncoder()) : ( /*#__PURE__*/function () {
|
|
17661
|
-
var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(str) {
|
|
17662
|
-
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
17663
|
-
while (1) switch (_context.prev = _context.next) {
|
|
17664
|
-
case 0:
|
|
17665
|
-
_context.t0 = Uint8Array;
|
|
17666
|
-
_context.next = 3;
|
|
17667
|
-
return new Response(str).arrayBuffer();
|
|
17668
|
-
case 3:
|
|
17669
|
-
_context.t1 = _context.sent;
|
|
17670
|
-
return _context.abrupt("return", new _context.t0(_context.t1));
|
|
17671
|
-
case 5:
|
|
17672
|
-
case "end":
|
|
17673
|
-
return _context.stop();
|
|
17674
|
-
}
|
|
17675
|
-
}, _callee);
|
|
17676
|
-
}));
|
|
17677
|
-
return function (_x) {
|
|
17678
|
-
return _ref.apply(this, arguments);
|
|
17679
|
-
};
|
|
17680
|
-
}()));
|
|
17681
|
-
var supportsRequestStream = isReadableStreamSupported && function () {
|
|
17682
|
-
var duplexAccessed = false;
|
|
17683
|
-
var hasContentType = new Request(_platform_index_js__WEBPACK_IMPORTED_MODULE_44__["default"].origin, {
|
|
17684
|
-
body: new ReadableStream(),
|
|
17685
|
-
method: 'POST',
|
|
17686
|
-
get duplex() {
|
|
17687
|
-
duplexAccessed = true;
|
|
17688
|
-
return 'half';
|
|
17689
|
-
}
|
|
17690
|
-
}).headers.has('Content-Type');
|
|
17691
|
-
return duplexAccessed && !hasContentType;
|
|
17692
|
-
}();
|
|
17693
|
-
var DEFAULT_CHUNK_SIZE = 64 * 1024;
|
|
17694
|
-
var supportsResponseStream = isReadableStreamSupported && !!function () {
|
|
17695
|
-
try {
|
|
17696
|
-
return _utils_js__WEBPACK_IMPORTED_MODULE_45__["default"].isReadableStream(new Response('').body);
|
|
17697
|
-
} catch (err) {
|
|
17698
|
-
// return undefined
|
|
17699
|
-
}
|
|
17700
|
-
}();
|
|
17701
|
-
var resolvers = {
|
|
17702
|
-
stream: supportsResponseStream && function (res) {
|
|
17703
|
-
return res.body;
|
|
17704
|
-
}
|
|
17705
|
-
};
|
|
17706
|
-
isFetchSupported && function (res) {
|
|
17707
|
-
['text', 'arrayBuffer', 'blob', 'formData', 'stream'].forEach(function (type) {
|
|
17708
|
-
!resolvers[type] && (resolvers[type] = _utils_js__WEBPACK_IMPORTED_MODULE_45__["default"].isFunction(res[type]) ? function (res) {
|
|
17709
|
-
return res[type]();
|
|
17710
|
-
} : function (_, config) {
|
|
17711
|
-
throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_46__["default"]("Response type '".concat(type, "' is not supported"), _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_46__["default"].ERR_NOT_SUPPORT, config);
|
|
17712
|
-
});
|
|
17713
|
-
});
|
|
17714
|
-
}(new Response());
|
|
17715
|
-
var getBodyLength = /*#__PURE__*/function () {
|
|
17716
|
-
var _ref2 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(body) {
|
|
17717
|
-
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
17718
|
-
while (1) switch (_context2.prev = _context2.next) {
|
|
17719
|
-
case 0:
|
|
17720
|
-
if (!(body == null)) {
|
|
17721
|
-
_context2.next = 2;
|
|
17722
|
-
break;
|
|
17723
|
-
}
|
|
17724
|
-
return _context2.abrupt("return", 0);
|
|
17725
|
-
case 2:
|
|
17726
|
-
if (!_utils_js__WEBPACK_IMPORTED_MODULE_45__["default"].isBlob(body)) {
|
|
17727
|
-
_context2.next = 4;
|
|
17728
|
-
break;
|
|
17729
|
-
}
|
|
17730
|
-
return _context2.abrupt("return", body.size);
|
|
17731
|
-
case 4:
|
|
17732
|
-
if (!_utils_js__WEBPACK_IMPORTED_MODULE_45__["default"].isSpecCompliantForm(body)) {
|
|
17733
|
-
_context2.next = 8;
|
|
17734
|
-
break;
|
|
17735
|
-
}
|
|
17736
|
-
_context2.next = 7;
|
|
17737
|
-
return new Request(body).arrayBuffer();
|
|
17738
|
-
case 7:
|
|
17739
|
-
return _context2.abrupt("return", _context2.sent.byteLength);
|
|
17740
|
-
case 8:
|
|
17741
|
-
if (!_utils_js__WEBPACK_IMPORTED_MODULE_45__["default"].isArrayBufferView(body)) {
|
|
17742
|
-
_context2.next = 10;
|
|
17743
|
-
break;
|
|
17744
|
-
}
|
|
17745
|
-
return _context2.abrupt("return", body.byteLength);
|
|
17746
|
-
case 10:
|
|
17747
|
-
if (_utils_js__WEBPACK_IMPORTED_MODULE_45__["default"].isURLSearchParams(body)) {
|
|
17748
|
-
body = body + '';
|
|
17749
|
-
}
|
|
17750
|
-
if (!_utils_js__WEBPACK_IMPORTED_MODULE_45__["default"].isString(body)) {
|
|
17751
|
-
_context2.next = 15;
|
|
17752
|
-
break;
|
|
17753
|
-
}
|
|
17754
|
-
_context2.next = 14;
|
|
17755
|
-
return encodeText(body);
|
|
17756
|
-
case 14:
|
|
17757
|
-
return _context2.abrupt("return", _context2.sent.byteLength);
|
|
17758
|
-
case 15:
|
|
17759
|
-
case "end":
|
|
17760
|
-
return _context2.stop();
|
|
17761
|
-
}
|
|
17762
|
-
}, _callee2);
|
|
17763
|
-
}));
|
|
17764
|
-
return function getBodyLength(_x2) {
|
|
17765
|
-
return _ref2.apply(this, arguments);
|
|
17766
|
-
};
|
|
17767
|
-
}();
|
|
17768
|
-
var resolveBodyLength = /*#__PURE__*/function () {
|
|
17769
|
-
var _ref3 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3(headers, body) {
|
|
17770
|
-
var length;
|
|
17771
|
-
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
17772
|
-
while (1) switch (_context3.prev = _context3.next) {
|
|
17773
|
-
case 0:
|
|
17774
|
-
length = _utils_js__WEBPACK_IMPORTED_MODULE_45__["default"].toFiniteNumber(headers.getContentLength());
|
|
17775
|
-
return _context3.abrupt("return", length == null ? getBodyLength(body) : length);
|
|
17776
|
-
case 2:
|
|
17777
|
-
case "end":
|
|
17778
|
-
return _context3.stop();
|
|
17779
|
-
}
|
|
17780
|
-
}, _callee3);
|
|
17781
|
-
}));
|
|
17782
|
-
return function resolveBodyLength(_x3, _x4) {
|
|
17783
|
-
return _ref3.apply(this, arguments);
|
|
17784
|
-
};
|
|
17785
|
-
}();
|
|
17786
|
-
/* harmony default export */ __webpack_exports__["default"] = (isFetchSupported && ( /*#__PURE__*/function () {
|
|
17787
|
-
var _ref4 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee4(config) {
|
|
17788
|
-
var _resolveConfig, url, method, data, signal, cancelToken, timeout, onDownloadProgress, onUploadProgress, responseType, headers, _resolveConfig$withCr, withCredentials, fetchOptions, _ref5, _ref6, composedSignal, stopTimeout, finished, request, onFinish, requestContentLength, _request, contentTypeHeader, response, isStreamResponse, options, responseContentLength, responseData;
|
|
17789
|
-
return regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
17790
|
-
while (1) switch (_context4.prev = _context4.next) {
|
|
17791
|
-
case 0:
|
|
17792
|
-
_resolveConfig = (0,_helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_47__["default"])(config), url = _resolveConfig.url, method = _resolveConfig.method, data = _resolveConfig.data, signal = _resolveConfig.signal, cancelToken = _resolveConfig.cancelToken, timeout = _resolveConfig.timeout, onDownloadProgress = _resolveConfig.onDownloadProgress, onUploadProgress = _resolveConfig.onUploadProgress, responseType = _resolveConfig.responseType, headers = _resolveConfig.headers, _resolveConfig$withCr = _resolveConfig.withCredentials, withCredentials = _resolveConfig$withCr === void 0 ? 'same-origin' : _resolveConfig$withCr, fetchOptions = _resolveConfig.fetchOptions;
|
|
17793
|
-
responseType = responseType ? (responseType + '').toLowerCase() : 'text';
|
|
17794
|
-
_ref5 = signal || cancelToken || timeout ? (0,_helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_48__["default"])([signal, cancelToken], timeout) : [], _ref6 = _slicedToArray(_ref5, 2), composedSignal = _ref6[0], stopTimeout = _ref6[1];
|
|
17795
|
-
onFinish = function onFinish() {
|
|
17796
|
-
!finished && setTimeout(function () {
|
|
17797
|
-
composedSignal && composedSignal.unsubscribe();
|
|
17798
|
-
});
|
|
17799
|
-
finished = true;
|
|
17800
|
-
};
|
|
17801
|
-
_context4.prev = 4;
|
|
17802
|
-
_context4.t0 = onUploadProgress && supportsRequestStream && method !== 'get' && method !== 'head';
|
|
17803
|
-
if (!_context4.t0) {
|
|
17804
|
-
_context4.next = 11;
|
|
17805
|
-
break;
|
|
17806
|
-
}
|
|
17807
|
-
_context4.next = 9;
|
|
17808
|
-
return resolveBodyLength(headers, data);
|
|
17809
|
-
case 9:
|
|
17810
|
-
_context4.t1 = requestContentLength = _context4.sent;
|
|
17811
|
-
_context4.t0 = _context4.t1 !== 0;
|
|
17812
|
-
case 11:
|
|
17813
|
-
if (!_context4.t0) {
|
|
17814
|
-
_context4.next = 15;
|
|
17815
|
-
break;
|
|
17816
|
-
}
|
|
17817
|
-
_request = new Request(url, {
|
|
17818
|
-
method: 'POST',
|
|
17819
|
-
body: data,
|
|
17820
|
-
duplex: "half"
|
|
17821
|
-
});
|
|
17822
|
-
if (_utils_js__WEBPACK_IMPORTED_MODULE_45__["default"].isFormData(data) && (contentTypeHeader = _request.headers.get('content-type'))) {
|
|
17823
|
-
headers.setContentType(contentTypeHeader);
|
|
17824
|
-
}
|
|
17825
|
-
if (_request.body) {
|
|
17826
|
-
data = (0,_helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_49__.trackStream)(_request.body, DEFAULT_CHUNK_SIZE, fetchProgressDecorator(requestContentLength, (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_50__["default"])(onUploadProgress)), null, encodeText);
|
|
17827
|
-
}
|
|
17828
|
-
case 15:
|
|
17829
|
-
if (!_utils_js__WEBPACK_IMPORTED_MODULE_45__["default"].isString(withCredentials)) {
|
|
17830
|
-
withCredentials = withCredentials ? 'cors' : 'omit';
|
|
17831
|
-
}
|
|
17832
|
-
request = new Request(url, _objectSpread(_objectSpread({}, fetchOptions), {}, {
|
|
17833
|
-
signal: composedSignal,
|
|
17834
|
-
method: method.toUpperCase(),
|
|
17835
|
-
headers: headers.normalize().toJSON(),
|
|
17836
|
-
body: data,
|
|
17837
|
-
duplex: "half",
|
|
17838
|
-
withCredentials: withCredentials
|
|
17839
|
-
}));
|
|
17840
|
-
_context4.next = 19;
|
|
17841
|
-
return fetch(request);
|
|
17842
|
-
case 19:
|
|
17843
|
-
response = _context4.sent;
|
|
17844
|
-
isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response');
|
|
17845
|
-
if (supportsResponseStream && (onDownloadProgress || isStreamResponse)) {
|
|
17846
|
-
options = {};
|
|
17847
|
-
['status', 'statusText', 'headers'].forEach(function (prop) {
|
|
17848
|
-
options[prop] = response[prop];
|
|
17849
|
-
});
|
|
17850
|
-
responseContentLength = _utils_js__WEBPACK_IMPORTED_MODULE_45__["default"].toFiniteNumber(response.headers.get('content-length'));
|
|
17851
|
-
response = new Response((0,_helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_49__.trackStream)(response.body, DEFAULT_CHUNK_SIZE, onDownloadProgress && fetchProgressDecorator(responseContentLength, (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_50__["default"])(onDownloadProgress, true)), isStreamResponse && onFinish, encodeText), options);
|
|
17852
|
-
}
|
|
17853
|
-
responseType = responseType || 'text';
|
|
17854
|
-
_context4.next = 25;
|
|
17855
|
-
return resolvers[_utils_js__WEBPACK_IMPORTED_MODULE_45__["default"].findKey(resolvers, responseType) || 'text'](response, config);
|
|
17856
|
-
case 25:
|
|
17857
|
-
responseData = _context4.sent;
|
|
17858
|
-
!isStreamResponse && onFinish();
|
|
17859
|
-
stopTimeout && stopTimeout();
|
|
17860
|
-
_context4.next = 30;
|
|
17861
|
-
return new Promise(function (resolve, reject) {
|
|
17862
|
-
(0,_core_settle_js__WEBPACK_IMPORTED_MODULE_51__["default"])(resolve, reject, {
|
|
17863
|
-
data: responseData,
|
|
17864
|
-
headers: _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_52__["default"].from(response.headers),
|
|
17865
|
-
status: response.status,
|
|
17866
|
-
statusText: response.statusText,
|
|
17867
|
-
config: config,
|
|
17868
|
-
request: request
|
|
17869
|
-
});
|
|
17870
|
-
});
|
|
17871
|
-
case 30:
|
|
17872
|
-
return _context4.abrupt("return", _context4.sent);
|
|
17873
|
-
case 33:
|
|
17874
|
-
_context4.prev = 33;
|
|
17875
|
-
_context4.t2 = _context4["catch"](4);
|
|
17876
|
-
onFinish();
|
|
17877
|
-
if (!(_context4.t2 && _context4.t2.name === 'TypeError' && /fetch/i.test(_context4.t2.message))) {
|
|
17878
|
-
_context4.next = 38;
|
|
17879
|
-
break;
|
|
17880
|
-
}
|
|
17881
|
-
throw Object.assign(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_46__["default"]('Network Error', _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_46__["default"].ERR_NETWORK, config, request), {
|
|
17882
|
-
cause: _context4.t2.cause || _context4.t2
|
|
17883
|
-
});
|
|
17884
|
-
case 38:
|
|
17885
|
-
throw _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_46__["default"].from(_context4.t2, _context4.t2 && _context4.t2.code, config, request);
|
|
17886
|
-
case 39:
|
|
17887
|
-
case "end":
|
|
17888
|
-
return _context4.stop();
|
|
17889
|
-
}
|
|
17890
|
-
}, _callee4, null, [[4, 33]]);
|
|
17891
|
-
}));
|
|
17892
|
-
return function (_x5) {
|
|
17893
|
-
return _ref4.apply(this, arguments);
|
|
17578
|
+
function progressEventReducer(listener, isDownloadStream) {
|
|
17579
|
+
var bytesNotified = 0;
|
|
17580
|
+
var _speedometer = (0,_helpers_speedometer_js__WEBPACK_IMPORTED_MODULE_19__["default"])(50, 250);
|
|
17581
|
+
return function (e) {
|
|
17582
|
+
var loaded = e.loaded;
|
|
17583
|
+
var total = e.lengthComputable ? e.total : undefined;
|
|
17584
|
+
var progressBytes = loaded - bytesNotified;
|
|
17585
|
+
var rate = _speedometer(progressBytes);
|
|
17586
|
+
var inRange = loaded <= total;
|
|
17587
|
+
bytesNotified = loaded;
|
|
17588
|
+
var data = {
|
|
17589
|
+
loaded: loaded,
|
|
17590
|
+
total: total,
|
|
17591
|
+
progress: total ? loaded / total : undefined,
|
|
17592
|
+
bytes: progressBytes,
|
|
17593
|
+
rate: rate ? rate : undefined,
|
|
17594
|
+
estimated: rate && total && inRange ? (total - loaded) / rate : undefined,
|
|
17595
|
+
event: e
|
|
17596
|
+
};
|
|
17597
|
+
data[isDownloadStream ? 'download' : 'upload'] = true;
|
|
17598
|
+
listener(data);
|
|
17894
17599
|
};
|
|
17895
|
-
}
|
|
17896
|
-
|
|
17897
|
-
/***/ }),
|
|
17898
|
-
|
|
17899
|
-
/***/ "../node_modules/axios/lib/adapters/xhr.js":
|
|
17900
|
-
/*!*************************************************!*\
|
|
17901
|
-
!*** ../node_modules/axios/lib/adapters/xhr.js ***!
|
|
17902
|
-
\*************************************************/
|
|
17903
|
-
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
17904
|
-
|
|
17905
|
-
"use strict";
|
|
17906
|
-
__webpack_require__.r(__webpack_exports__);
|
|
17907
|
-
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.to-string.js */ "../node_modules/core-js/modules/es.object.to-string.js");
|
|
17908
|
-
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "../node_modules/core-js/modules/es.promise.js");
|
|
17909
|
-
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "../node_modules/core-js/modules/web.dom-collections.for-each.js");
|
|
17910
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./../utils.js */ "../node_modules/axios/lib/utils.js");
|
|
17911
|
-
/* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./../core/settle.js */ "../node_modules/axios/lib/core/settle.js");
|
|
17912
|
-
/* harmony import */ var _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../defaults/transitional.js */ "../node_modules/axios/lib/defaults/transitional.js");
|
|
17913
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../core/AxiosError.js */ "../node_modules/axios/lib/core/AxiosError.js");
|
|
17914
|
-
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../node_modules/axios/lib/cancel/CanceledError.js");
|
|
17915
|
-
/* harmony import */ var _helpers_parseProtocol_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../helpers/parseProtocol.js */ "../node_modules/axios/lib/helpers/parseProtocol.js");
|
|
17916
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../platform/index.js */ "../node_modules/axios/lib/platform/index.js");
|
|
17917
|
-
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../node_modules/axios/lib/core/AxiosHeaders.js");
|
|
17918
|
-
/* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ "../node_modules/axios/lib/helpers/progressEventReducer.js");
|
|
17919
|
-
/* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "../node_modules/axios/lib/helpers/resolveConfig.js");
|
|
17920
|
-
|
|
17921
|
-
|
|
17922
|
-
|
|
17923
|
-
|
|
17924
|
-
|
|
17925
|
-
|
|
17926
|
-
|
|
17927
|
-
|
|
17928
|
-
|
|
17929
|
-
|
|
17930
|
-
|
|
17931
|
-
|
|
17932
|
-
|
|
17600
|
+
}
|
|
17933
17601
|
var isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
|
|
17934
17602
|
/* harmony default export */ __webpack_exports__["default"] = (isXHRAdapterSupported && function (config) {
|
|
17935
17603
|
return new Promise(function dispatchXhrRequest(resolve, reject) {
|
|
17936
|
-
var
|
|
17937
|
-
var
|
|
17938
|
-
var
|
|
17939
|
-
|
|
17604
|
+
var requestData = config.data;
|
|
17605
|
+
var requestHeaders = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_20__["default"].from(config.headers).normalize();
|
|
17606
|
+
var responseType = config.responseType,
|
|
17607
|
+
withXSRFToken = config.withXSRFToken;
|
|
17940
17608
|
var onCanceled;
|
|
17941
17609
|
function done() {
|
|
17942
|
-
if (
|
|
17943
|
-
|
|
17610
|
+
if (config.cancelToken) {
|
|
17611
|
+
config.cancelToken.unsubscribe(onCanceled);
|
|
17944
17612
|
}
|
|
17945
|
-
if (
|
|
17946
|
-
|
|
17613
|
+
if (config.signal) {
|
|
17614
|
+
config.signal.removeEventListener('abort', onCanceled);
|
|
17615
|
+
}
|
|
17616
|
+
}
|
|
17617
|
+
var contentType;
|
|
17618
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_21__["default"].isFormData(requestData)) {
|
|
17619
|
+
if (_platform_index_js__WEBPACK_IMPORTED_MODULE_22__["default"].hasStandardBrowserEnv || _platform_index_js__WEBPACK_IMPORTED_MODULE_22__["default"].hasStandardBrowserWebWorkerEnv) {
|
|
17620
|
+
requestHeaders.setContentType(false); // Let the browser set it
|
|
17621
|
+
} else if ((contentType = requestHeaders.getContentType()) !== false) {
|
|
17622
|
+
// fix semicolon duplication issue for ReactNative FormData implementation
|
|
17623
|
+
var _ref = contentType ? contentType.split(';').map(function (token) {
|
|
17624
|
+
return token.trim();
|
|
17625
|
+
}).filter(Boolean) : [],
|
|
17626
|
+
_ref2 = _toArray(_ref),
|
|
17627
|
+
type = _ref2[0],
|
|
17628
|
+
tokens = _ref2.slice(1);
|
|
17629
|
+
requestHeaders.setContentType([type || 'multipart/form-data'].concat(_toConsumableArray(tokens)).join('; '));
|
|
17947
17630
|
}
|
|
17948
17631
|
}
|
|
17949
17632
|
var request = new XMLHttpRequest();
|
|
17950
|
-
|
|
17633
|
+
|
|
17634
|
+
// HTTP basic authentication
|
|
17635
|
+
if (config.auth) {
|
|
17636
|
+
var username = config.auth.username || '';
|
|
17637
|
+
var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : '';
|
|
17638
|
+
requestHeaders.set('Authorization', 'Basic ' + btoa(username + ':' + password));
|
|
17639
|
+
}
|
|
17640
|
+
var fullPath = (0,_core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_23__["default"])(config.baseURL, config.url);
|
|
17641
|
+
request.open(config.method.toUpperCase(), (0,_helpers_buildURL_js__WEBPACK_IMPORTED_MODULE_24__["default"])(fullPath, config.params, config.paramsSerializer), true);
|
|
17951
17642
|
|
|
17952
17643
|
// Set the request timeout in MS
|
|
17953
|
-
request.timeout =
|
|
17644
|
+
request.timeout = config.timeout;
|
|
17954
17645
|
function onloadend() {
|
|
17955
17646
|
if (!request) {
|
|
17956
17647
|
return;
|
|
17957
17648
|
}
|
|
17958
17649
|
// Prepare the response
|
|
17959
|
-
var responseHeaders =
|
|
17650
|
+
var responseHeaders = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_20__["default"].from('getAllResponseHeaders' in request && request.getAllResponseHeaders());
|
|
17960
17651
|
var responseData = !responseType || responseType === 'text' || responseType === 'json' ? request.responseText : request.response;
|
|
17961
17652
|
var response = {
|
|
17962
17653
|
data: responseData,
|
|
@@ -17966,7 +17657,7 @@ var isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
|
|
|
17966
17657
|
config: config,
|
|
17967
17658
|
request: request
|
|
17968
17659
|
};
|
|
17969
|
-
(0,
|
|
17660
|
+
(0,_core_settle_js__WEBPACK_IMPORTED_MODULE_25__["default"])(function _resolve(value) {
|
|
17970
17661
|
resolve(value);
|
|
17971
17662
|
done();
|
|
17972
17663
|
}, function _reject(err) {
|
|
@@ -18005,7 +17696,7 @@ var isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
|
|
|
18005
17696
|
if (!request) {
|
|
18006
17697
|
return;
|
|
18007
17698
|
}
|
|
18008
|
-
reject(new
|
|
17699
|
+
reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_26__["default"]('Request aborted', _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_26__["default"].ECONNABORTED, config, request));
|
|
18009
17700
|
|
|
18010
17701
|
// Clean up request
|
|
18011
17702
|
request = null;
|
|
@@ -18015,7 +17706,7 @@ var isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
|
|
|
18015
17706
|
request.onerror = function handleError() {
|
|
18016
17707
|
// Real errors are hidden from us by the browser
|
|
18017
17708
|
// onerror should only fire if it's a network error
|
|
18018
|
-
reject(new
|
|
17709
|
+
reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_26__["default"]('Network Error', _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_26__["default"].ERR_NETWORK, config, request));
|
|
18019
17710
|
|
|
18020
17711
|
// Clean up request
|
|
18021
17712
|
request = null;
|
|
@@ -18023,65 +17714,79 @@ var isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
|
|
|
18023
17714
|
|
|
18024
17715
|
// Handle timeout
|
|
18025
17716
|
request.ontimeout = function handleTimeout() {
|
|
18026
|
-
var timeoutErrorMessage =
|
|
18027
|
-
var transitional =
|
|
18028
|
-
if (
|
|
18029
|
-
timeoutErrorMessage =
|
|
17717
|
+
var timeoutErrorMessage = config.timeout ? 'timeout of ' + config.timeout + 'ms exceeded' : 'timeout exceeded';
|
|
17718
|
+
var transitional = config.transitional || _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_27__["default"];
|
|
17719
|
+
if (config.timeoutErrorMessage) {
|
|
17720
|
+
timeoutErrorMessage = config.timeoutErrorMessage;
|
|
18030
17721
|
}
|
|
18031
|
-
reject(new
|
|
17722
|
+
reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_26__["default"](timeoutErrorMessage, transitional.clarifyTimeoutError ? _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_26__["default"].ETIMEDOUT : _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_26__["default"].ECONNABORTED, config, request));
|
|
18032
17723
|
|
|
18033
17724
|
// Clean up request
|
|
18034
17725
|
request = null;
|
|
18035
17726
|
};
|
|
18036
17727
|
|
|
17728
|
+
// Add xsrf header
|
|
17729
|
+
// This is only done if running in a standard browser environment.
|
|
17730
|
+
// Specifically not if we're in a web worker, or react-native.
|
|
17731
|
+
if (_platform_index_js__WEBPACK_IMPORTED_MODULE_22__["default"].hasStandardBrowserEnv) {
|
|
17732
|
+
withXSRFToken && _utils_js__WEBPACK_IMPORTED_MODULE_21__["default"].isFunction(withXSRFToken) && (withXSRFToken = withXSRFToken(config));
|
|
17733
|
+
if (withXSRFToken || withXSRFToken !== false && (0,_helpers_isURLSameOrigin_js__WEBPACK_IMPORTED_MODULE_28__["default"])(fullPath)) {
|
|
17734
|
+
// Add xsrf header
|
|
17735
|
+
var xsrfValue = config.xsrfHeaderName && config.xsrfCookieName && _helpers_cookies_js__WEBPACK_IMPORTED_MODULE_29__["default"].read(config.xsrfCookieName);
|
|
17736
|
+
if (xsrfValue) {
|
|
17737
|
+
requestHeaders.set(config.xsrfHeaderName, xsrfValue);
|
|
17738
|
+
}
|
|
17739
|
+
}
|
|
17740
|
+
}
|
|
17741
|
+
|
|
18037
17742
|
// Remove Content-Type if data is undefined
|
|
18038
17743
|
requestData === undefined && requestHeaders.setContentType(null);
|
|
18039
17744
|
|
|
18040
17745
|
// Add headers to the request
|
|
18041
17746
|
if ('setRequestHeader' in request) {
|
|
18042
|
-
|
|
17747
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_21__["default"].forEach(requestHeaders.toJSON(), function setRequestHeader(val, key) {
|
|
18043
17748
|
request.setRequestHeader(key, val);
|
|
18044
17749
|
});
|
|
18045
17750
|
}
|
|
18046
17751
|
|
|
18047
17752
|
// Add withCredentials to request if needed
|
|
18048
|
-
if (!
|
|
18049
|
-
request.withCredentials = !!
|
|
17753
|
+
if (!_utils_js__WEBPACK_IMPORTED_MODULE_21__["default"].isUndefined(config.withCredentials)) {
|
|
17754
|
+
request.withCredentials = !!config.withCredentials;
|
|
18050
17755
|
}
|
|
18051
17756
|
|
|
18052
17757
|
// Add responseType to request if needed
|
|
18053
17758
|
if (responseType && responseType !== 'json') {
|
|
18054
|
-
request.responseType =
|
|
17759
|
+
request.responseType = config.responseType;
|
|
18055
17760
|
}
|
|
18056
17761
|
|
|
18057
17762
|
// Handle progress if needed
|
|
18058
|
-
if (typeof
|
|
18059
|
-
request.addEventListener('progress', (
|
|
17763
|
+
if (typeof config.onDownloadProgress === 'function') {
|
|
17764
|
+
request.addEventListener('progress', progressEventReducer(config.onDownloadProgress, true));
|
|
18060
17765
|
}
|
|
18061
17766
|
|
|
18062
17767
|
// Not all browsers support upload events
|
|
18063
|
-
if (typeof
|
|
18064
|
-
request.upload.addEventListener('progress', (
|
|
17768
|
+
if (typeof config.onUploadProgress === 'function' && request.upload) {
|
|
17769
|
+
request.upload.addEventListener('progress', progressEventReducer(config.onUploadProgress));
|
|
18065
17770
|
}
|
|
18066
|
-
if (
|
|
17771
|
+
if (config.cancelToken || config.signal) {
|
|
18067
17772
|
// Handle cancellation
|
|
18068
17773
|
// eslint-disable-next-line func-names
|
|
18069
17774
|
onCanceled = function onCanceled(cancel) {
|
|
18070
17775
|
if (!request) {
|
|
18071
17776
|
return;
|
|
18072
17777
|
}
|
|
18073
|
-
reject(!cancel || cancel.type ? new
|
|
17778
|
+
reject(!cancel || cancel.type ? new _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_30__["default"](null, config, request) : cancel);
|
|
18074
17779
|
request.abort();
|
|
18075
17780
|
request = null;
|
|
18076
17781
|
};
|
|
18077
|
-
|
|
18078
|
-
if (
|
|
18079
|
-
|
|
17782
|
+
config.cancelToken && config.cancelToken.subscribe(onCanceled);
|
|
17783
|
+
if (config.signal) {
|
|
17784
|
+
config.signal.aborted ? onCanceled() : config.signal.addEventListener('abort', onCanceled);
|
|
18080
17785
|
}
|
|
18081
17786
|
}
|
|
18082
|
-
var protocol = (0,
|
|
18083
|
-
if (protocol &&
|
|
18084
|
-
reject(new
|
|
17787
|
+
var protocol = (0,_helpers_parseProtocol_js__WEBPACK_IMPORTED_MODULE_31__["default"])(fullPath);
|
|
17788
|
+
if (protocol && _platform_index_js__WEBPACK_IMPORTED_MODULE_22__["default"].protocols.indexOf(protocol) === -1) {
|
|
17789
|
+
reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_26__["default"]('Unsupported protocol ' + protocol + ':', _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_26__["default"].ERR_BAD_REQUEST, config));
|
|
18085
17790
|
return;
|
|
18086
17791
|
}
|
|
18087
17792
|
|
|
@@ -18509,15 +18214,11 @@ var Axios = /*#__PURE__*/function () {
|
|
|
18509
18214
|
|
|
18510
18215
|
// slice off the Error: ... line
|
|
18511
18216
|
stack = dummy.stack ? dummy.stack.replace(/^.+\n/, '') : '';
|
|
18512
|
-
|
|
18513
|
-
|
|
18514
|
-
|
|
18515
|
-
|
|
18516
|
-
|
|
18517
|
-
_context.t0.stack += '\n' + stack;
|
|
18518
|
-
}
|
|
18519
|
-
} catch (e) {
|
|
18520
|
-
// ignore the case where "stack" is an un-writable property
|
|
18217
|
+
if (!_context.t0.stack) {
|
|
18218
|
+
_context.t0.stack = stack;
|
|
18219
|
+
// match without the 2 top stack lines
|
|
18220
|
+
} else if (stack && !String(_context.t0.stack).endsWith(stack.replace(/^.+\n.+\n/, ''))) {
|
|
18221
|
+
_context.t0.stack += '\n' + stack;
|
|
18521
18222
|
}
|
|
18522
18223
|
}
|
|
18523
18224
|
throw _context.t0;
|
|
@@ -18810,11 +18511,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
18810
18511
|
|
|
18811
18512
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
18812
18513
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
18813
|
-
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
18814
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
18815
|
-
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e2) { throw _e2; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e3) { didErr = true; err = _e3; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
|
18816
18514
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
18817
18515
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
18516
|
+
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
18517
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
18818
18518
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
18819
18519
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
18820
18520
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
@@ -18924,21 +18624,6 @@ var AxiosHeaders = /*#__PURE__*/function () {
|
|
|
18924
18624
|
setHeaders(header, valueOrRewrite);
|
|
18925
18625
|
} else if (_utils_js__WEBPACK_IMPORTED_MODULE_23__["default"].isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
|
|
18926
18626
|
setHeaders((0,_helpers_parseHeaders_js__WEBPACK_IMPORTED_MODULE_24__["default"])(header), valueOrRewrite);
|
|
18927
|
-
} else if (_utils_js__WEBPACK_IMPORTED_MODULE_23__["default"].isHeaders(header)) {
|
|
18928
|
-
var _iterator = _createForOfIteratorHelper(header.entries()),
|
|
18929
|
-
_step;
|
|
18930
|
-
try {
|
|
18931
|
-
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
18932
|
-
var _step$value = _slicedToArray(_step.value, 2),
|
|
18933
|
-
key = _step$value[0],
|
|
18934
|
-
value = _step$value[1];
|
|
18935
|
-
setHeader(value, key, rewrite);
|
|
18936
|
-
}
|
|
18937
|
-
} catch (err) {
|
|
18938
|
-
_iterator.e(err);
|
|
18939
|
-
} finally {
|
|
18940
|
-
_iterator.f();
|
|
18941
|
-
}
|
|
18942
18627
|
} else {
|
|
18943
18628
|
header != null && setHeader(valueOrRewrite, header, rewrite);
|
|
18944
18629
|
}
|
|
@@ -19640,7 +19325,7 @@ function stringifySafely(rawValue, parser, encoder) {
|
|
|
19640
19325
|
}
|
|
19641
19326
|
var defaults = {
|
|
19642
19327
|
transitional: _transitional_js__WEBPACK_IMPORTED_MODULE_7__["default"],
|
|
19643
|
-
adapter: ['xhr', 'http'
|
|
19328
|
+
adapter: ['xhr', 'http'],
|
|
19644
19329
|
transformRequest: [function transformRequest(data, headers) {
|
|
19645
19330
|
var contentType = headers.getContentType() || '';
|
|
19646
19331
|
var hasJSONContentType = contentType.indexOf('application/json') > -1;
|
|
@@ -19652,7 +19337,7 @@ var defaults = {
|
|
|
19652
19337
|
if (isFormData) {
|
|
19653
19338
|
return hasJSONContentType ? JSON.stringify((0,_helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_8__["default"])(data)) : data;
|
|
19654
19339
|
}
|
|
19655
|
-
if (_utils_js__WEBPACK_IMPORTED_MODULE_6__["default"].isArrayBuffer(data) || _utils_js__WEBPACK_IMPORTED_MODULE_6__["default"].isBuffer(data) || _utils_js__WEBPACK_IMPORTED_MODULE_6__["default"].isStream(data) || _utils_js__WEBPACK_IMPORTED_MODULE_6__["default"].isFile(data) || _utils_js__WEBPACK_IMPORTED_MODULE_6__["default"].isBlob(data)
|
|
19340
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_6__["default"].isArrayBuffer(data) || _utils_js__WEBPACK_IMPORTED_MODULE_6__["default"].isBuffer(data) || _utils_js__WEBPACK_IMPORTED_MODULE_6__["default"].isStream(data) || _utils_js__WEBPACK_IMPORTED_MODULE_6__["default"].isFile(data) || _utils_js__WEBPACK_IMPORTED_MODULE_6__["default"].isBlob(data)) {
|
|
19656
19341
|
return data;
|
|
19657
19342
|
}
|
|
19658
19343
|
if (_utils_js__WEBPACK_IMPORTED_MODULE_6__["default"].isArrayBufferView(data)) {
|
|
@@ -19684,9 +19369,6 @@ var defaults = {
|
|
|
19684
19369
|
var transitional = this.transitional || defaults.transitional;
|
|
19685
19370
|
var forcedJSONParsing = transitional && transitional.forcedJSONParsing;
|
|
19686
19371
|
var JSONRequested = this.responseType === 'json';
|
|
19687
|
-
if (_utils_js__WEBPACK_IMPORTED_MODULE_6__["default"].isResponse(data) || _utils_js__WEBPACK_IMPORTED_MODULE_6__["default"].isReadableStream(data)) {
|
|
19688
|
-
return data;
|
|
19689
|
-
}
|
|
19690
19372
|
if (data && _utils_js__WEBPACK_IMPORTED_MODULE_6__["default"].isString(data) && (forcedJSONParsing && !this.responseType || JSONRequested)) {
|
|
19691
19373
|
var silentJSONParsing = transitional && transitional.silentJSONParsing;
|
|
19692
19374
|
var strictJSONParsing = !silentJSONParsing && JSONRequested;
|
|
@@ -19762,7 +19444,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
19762
19444
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19763
19445
|
/* harmony export */ VERSION: function() { return /* binding */ VERSION; }
|
|
19764
19446
|
/* harmony export */ });
|
|
19765
|
-
var VERSION = "1.
|
|
19447
|
+
var VERSION = "1.6.8";
|
|
19766
19448
|
|
|
19767
19449
|
/***/ }),
|
|
19768
19450
|
|
|
@@ -20085,60 +19767,6 @@ function combineURLs(baseURL, relativeURL) {
|
|
|
20085
19767
|
|
|
20086
19768
|
/***/ }),
|
|
20087
19769
|
|
|
20088
|
-
/***/ "../node_modules/axios/lib/helpers/composeSignals.js":
|
|
20089
|
-
/*!***********************************************************!*\
|
|
20090
|
-
!*** ../node_modules/axios/lib/helpers/composeSignals.js ***!
|
|
20091
|
-
\***********************************************************/
|
|
20092
|
-
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
20093
|
-
|
|
20094
|
-
"use strict";
|
|
20095
|
-
__webpack_require__.r(__webpack_exports__);
|
|
20096
|
-
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.to-string.js */ "../node_modules/core-js/modules/es.object.to-string.js");
|
|
20097
|
-
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "../node_modules/core-js/modules/web.dom-collections.for-each.js");
|
|
20098
|
-
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../node_modules/axios/lib/cancel/CanceledError.js");
|
|
20099
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosError.js */ "../node_modules/axios/lib/core/AxiosError.js");
|
|
20100
|
-
|
|
20101
|
-
|
|
20102
|
-
|
|
20103
|
-
|
|
20104
|
-
var composeSignals = function composeSignals(signals, timeout) {
|
|
20105
|
-
var controller = new AbortController();
|
|
20106
|
-
var aborted;
|
|
20107
|
-
var onabort = function onabort(cancel) {
|
|
20108
|
-
if (!aborted) {
|
|
20109
|
-
aborted = true;
|
|
20110
|
-
unsubscribe();
|
|
20111
|
-
var err = cancel instanceof Error ? cancel : this.reason;
|
|
20112
|
-
controller.abort(err instanceof _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"] ? err : new _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_3__["default"](err instanceof Error ? err.message : err));
|
|
20113
|
-
}
|
|
20114
|
-
};
|
|
20115
|
-
var timer = timeout && setTimeout(function () {
|
|
20116
|
-
onabort(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"]("timeout ".concat(timeout, " of ms exceeded"), _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].ETIMEDOUT));
|
|
20117
|
-
}, timeout);
|
|
20118
|
-
var unsubscribe = function unsubscribe() {
|
|
20119
|
-
if (signals) {
|
|
20120
|
-
timer && clearTimeout(timer);
|
|
20121
|
-
timer = null;
|
|
20122
|
-
signals.forEach(function (signal) {
|
|
20123
|
-
signal && (signal.removeEventListener ? signal.removeEventListener('abort', onabort) : signal.unsubscribe(onabort));
|
|
20124
|
-
});
|
|
20125
|
-
signals = null;
|
|
20126
|
-
}
|
|
20127
|
-
};
|
|
20128
|
-
signals.forEach(function (signal) {
|
|
20129
|
-
return signal && signal.addEventListener && signal.addEventListener('abort', onabort);
|
|
20130
|
-
});
|
|
20131
|
-
var signal = controller.signal;
|
|
20132
|
-
signal.unsubscribe = unsubscribe;
|
|
20133
|
-
return [signal, function () {
|
|
20134
|
-
timer && clearTimeout(timer);
|
|
20135
|
-
timer = null;
|
|
20136
|
-
}];
|
|
20137
|
-
};
|
|
20138
|
-
/* harmony default export */ __webpack_exports__["default"] = (composeSignals);
|
|
20139
|
-
|
|
20140
|
-
/***/ }),
|
|
20141
|
-
|
|
20142
19770
|
/***/ "../node_modules/axios/lib/helpers/cookies.js":
|
|
20143
19771
|
/*!****************************************************!*\
|
|
20144
19772
|
!*** ../node_modules/axios/lib/helpers/cookies.js ***!
|
|
@@ -20537,163 +20165,6 @@ function parseProtocol(url) {
|
|
|
20537
20165
|
|
|
20538
20166
|
/***/ }),
|
|
20539
20167
|
|
|
20540
|
-
/***/ "../node_modules/axios/lib/helpers/progressEventReducer.js":
|
|
20541
|
-
/*!*****************************************************************!*\
|
|
20542
|
-
!*** ../node_modules/axios/lib/helpers/progressEventReducer.js ***!
|
|
20543
|
-
\*****************************************************************/
|
|
20544
|
-
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
20545
|
-
|
|
20546
|
-
"use strict";
|
|
20547
|
-
__webpack_require__.r(__webpack_exports__);
|
|
20548
|
-
/* harmony import */ var _speedometer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./speedometer.js */ "../node_modules/axios/lib/helpers/speedometer.js");
|
|
20549
|
-
/* harmony import */ var _throttle_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./throttle.js */ "../node_modules/axios/lib/helpers/throttle.js");
|
|
20550
|
-
|
|
20551
|
-
|
|
20552
|
-
/* harmony default export */ __webpack_exports__["default"] = (function (listener, isDownloadStream) {
|
|
20553
|
-
var freq = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 3;
|
|
20554
|
-
var bytesNotified = 0;
|
|
20555
|
-
var _speedometer = (0,_speedometer_js__WEBPACK_IMPORTED_MODULE_0__["default"])(50, 250);
|
|
20556
|
-
return (0,_throttle_js__WEBPACK_IMPORTED_MODULE_1__["default"])(function (e) {
|
|
20557
|
-
var loaded = e.loaded;
|
|
20558
|
-
var total = e.lengthComputable ? e.total : undefined;
|
|
20559
|
-
var progressBytes = loaded - bytesNotified;
|
|
20560
|
-
var rate = _speedometer(progressBytes);
|
|
20561
|
-
var inRange = loaded <= total;
|
|
20562
|
-
bytesNotified = loaded;
|
|
20563
|
-
var data = {
|
|
20564
|
-
loaded: loaded,
|
|
20565
|
-
total: total,
|
|
20566
|
-
progress: total ? loaded / total : undefined,
|
|
20567
|
-
bytes: progressBytes,
|
|
20568
|
-
rate: rate ? rate : undefined,
|
|
20569
|
-
estimated: rate && total && inRange ? (total - loaded) / rate : undefined,
|
|
20570
|
-
event: e,
|
|
20571
|
-
lengthComputable: total != null
|
|
20572
|
-
};
|
|
20573
|
-
data[isDownloadStream ? 'download' : 'upload'] = true;
|
|
20574
|
-
listener(data);
|
|
20575
|
-
}, freq);
|
|
20576
|
-
});
|
|
20577
|
-
|
|
20578
|
-
/***/ }),
|
|
20579
|
-
|
|
20580
|
-
/***/ "../node_modules/axios/lib/helpers/resolveConfig.js":
|
|
20581
|
-
/*!**********************************************************!*\
|
|
20582
|
-
!*** ../node_modules/axios/lib/helpers/resolveConfig.js ***!
|
|
20583
|
-
\**********************************************************/
|
|
20584
|
-
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
20585
|
-
|
|
20586
|
-
"use strict";
|
|
20587
|
-
__webpack_require__.r(__webpack_exports__);
|
|
20588
|
-
/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.symbol.js */ "../node_modules/core-js/modules/es.symbol.js");
|
|
20589
|
-
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.symbol.description.js */ "../node_modules/core-js/modules/es.symbol.description.js");
|
|
20590
|
-
/* harmony import */ var core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ "../node_modules/core-js/modules/es.symbol.iterator.js");
|
|
20591
|
-
/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.array.concat.js */ "../node_modules/core-js/modules/es.array.concat.js");
|
|
20592
|
-
/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.array.filter.js */ "../node_modules/core-js/modules/es.array.filter.js");
|
|
20593
|
-
/* harmony import */ var core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.array.from.js */ "../node_modules/core-js/modules/es.array.from.js");
|
|
20594
|
-
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "../node_modules/core-js/modules/es.array.iterator.js");
|
|
20595
|
-
/* harmony import */ var core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/es.array.join.js */ "../node_modules/core-js/modules/es.array.join.js");
|
|
20596
|
-
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! core-js/modules/es.array.map.js */ "../node_modules/core-js/modules/es.array.map.js");
|
|
20597
|
-
/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! core-js/modules/es.array.slice.js */ "../node_modules/core-js/modules/es.array.slice.js");
|
|
20598
|
-
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! core-js/modules/es.function.name.js */ "../node_modules/core-js/modules/es.function.name.js");
|
|
20599
|
-
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! core-js/modules/es.object.to-string.js */ "../node_modules/core-js/modules/es.object.to-string.js");
|
|
20600
|
-
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "../node_modules/core-js/modules/es.regexp.exec.js");
|
|
20601
|
-
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ "../node_modules/core-js/modules/es.regexp.to-string.js");
|
|
20602
|
-
/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! core-js/modules/es.string.iterator.js */ "../node_modules/core-js/modules/es.string.iterator.js");
|
|
20603
|
-
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ "../node_modules/core-js/modules/es.string.trim.js");
|
|
20604
|
-
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "../node_modules/core-js/modules/web.dom-collections.iterator.js");
|
|
20605
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../platform/index.js */ "../node_modules/axios/lib/platform/index.js");
|
|
20606
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../utils.js */ "../node_modules/axios/lib/utils.js");
|
|
20607
|
-
/* harmony import */ var _isURLSameOrigin_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./isURLSameOrigin.js */ "../node_modules/axios/lib/helpers/isURLSameOrigin.js");
|
|
20608
|
-
/* harmony import */ var _cookies_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./cookies.js */ "../node_modules/axios/lib/helpers/cookies.js");
|
|
20609
|
-
/* harmony import */ var _core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../core/buildFullPath.js */ "../node_modules/axios/lib/core/buildFullPath.js");
|
|
20610
|
-
/* harmony import */ var _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../core/mergeConfig.js */ "../node_modules/axios/lib/core/mergeConfig.js");
|
|
20611
|
-
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../node_modules/axios/lib/core/AxiosHeaders.js");
|
|
20612
|
-
/* harmony import */ var _buildURL_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./buildURL.js */ "../node_modules/axios/lib/helpers/buildURL.js");
|
|
20613
|
-
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
20614
|
-
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
20615
|
-
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
20616
|
-
|
|
20617
|
-
|
|
20618
|
-
|
|
20619
|
-
|
|
20620
|
-
|
|
20621
|
-
|
|
20622
|
-
|
|
20623
|
-
|
|
20624
|
-
|
|
20625
|
-
|
|
20626
|
-
|
|
20627
|
-
|
|
20628
|
-
|
|
20629
|
-
|
|
20630
|
-
|
|
20631
|
-
|
|
20632
|
-
|
|
20633
|
-
function _toArray(arr) { return _arrayWithHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableRest(); }
|
|
20634
|
-
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
20635
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
20636
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
20637
|
-
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
20638
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
20639
|
-
|
|
20640
|
-
|
|
20641
|
-
|
|
20642
|
-
|
|
20643
|
-
|
|
20644
|
-
|
|
20645
|
-
|
|
20646
|
-
|
|
20647
|
-
/* harmony default export */ __webpack_exports__["default"] = (function (config) {
|
|
20648
|
-
var newConfig = (0,_core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_17__["default"])({}, config);
|
|
20649
|
-
var data = newConfig.data,
|
|
20650
|
-
withXSRFToken = newConfig.withXSRFToken,
|
|
20651
|
-
xsrfHeaderName = newConfig.xsrfHeaderName,
|
|
20652
|
-
xsrfCookieName = newConfig.xsrfCookieName,
|
|
20653
|
-
headers = newConfig.headers,
|
|
20654
|
-
auth = newConfig.auth;
|
|
20655
|
-
newConfig.headers = headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_18__["default"].from(headers);
|
|
20656
|
-
newConfig.url = (0,_buildURL_js__WEBPACK_IMPORTED_MODULE_19__["default"])((0,_core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_20__["default"])(newConfig.baseURL, newConfig.url), config.params, config.paramsSerializer);
|
|
20657
|
-
|
|
20658
|
-
// HTTP basic authentication
|
|
20659
|
-
if (auth) {
|
|
20660
|
-
headers.set('Authorization', 'Basic ' + btoa((auth.username || '') + ':' + (auth.password ? unescape(encodeURIComponent(auth.password)) : '')));
|
|
20661
|
-
}
|
|
20662
|
-
var contentType;
|
|
20663
|
-
if (_utils_js__WEBPACK_IMPORTED_MODULE_21__["default"].isFormData(data)) {
|
|
20664
|
-
if (_platform_index_js__WEBPACK_IMPORTED_MODULE_22__["default"].hasStandardBrowserEnv || _platform_index_js__WEBPACK_IMPORTED_MODULE_22__["default"].hasStandardBrowserWebWorkerEnv) {
|
|
20665
|
-
headers.setContentType(undefined); // Let the browser set it
|
|
20666
|
-
} else if ((contentType = headers.getContentType()) !== false) {
|
|
20667
|
-
// fix semicolon duplication issue for ReactNative FormData implementation
|
|
20668
|
-
var _ref = contentType ? contentType.split(';').map(function (token) {
|
|
20669
|
-
return token.trim();
|
|
20670
|
-
}).filter(Boolean) : [],
|
|
20671
|
-
_ref2 = _toArray(_ref),
|
|
20672
|
-
type = _ref2[0],
|
|
20673
|
-
tokens = _ref2.slice(1);
|
|
20674
|
-
headers.setContentType([type || 'multipart/form-data'].concat(_toConsumableArray(tokens)).join('; '));
|
|
20675
|
-
}
|
|
20676
|
-
}
|
|
20677
|
-
|
|
20678
|
-
// Add xsrf header
|
|
20679
|
-
// This is only done if running in a standard browser environment.
|
|
20680
|
-
// Specifically not if we're in a web worker, or react-native.
|
|
20681
|
-
|
|
20682
|
-
if (_platform_index_js__WEBPACK_IMPORTED_MODULE_22__["default"].hasStandardBrowserEnv) {
|
|
20683
|
-
withXSRFToken && _utils_js__WEBPACK_IMPORTED_MODULE_21__["default"].isFunction(withXSRFToken) && (withXSRFToken = withXSRFToken(newConfig));
|
|
20684
|
-
if (withXSRFToken || withXSRFToken !== false && (0,_isURLSameOrigin_js__WEBPACK_IMPORTED_MODULE_23__["default"])(newConfig.url)) {
|
|
20685
|
-
// Add xsrf header
|
|
20686
|
-
var xsrfValue = xsrfHeaderName && xsrfCookieName && _cookies_js__WEBPACK_IMPORTED_MODULE_24__["default"].read(xsrfCookieName);
|
|
20687
|
-
if (xsrfValue) {
|
|
20688
|
-
headers.set(xsrfHeaderName, xsrfValue);
|
|
20689
|
-
}
|
|
20690
|
-
}
|
|
20691
|
-
}
|
|
20692
|
-
return newConfig;
|
|
20693
|
-
});
|
|
20694
|
-
|
|
20695
|
-
/***/ }),
|
|
20696
|
-
|
|
20697
20168
|
/***/ "../node_modules/axios/lib/helpers/speedometer.js":
|
|
20698
20169
|
/*!********************************************************!*\
|
|
20699
20170
|
!*** ../node_modules/axios/lib/helpers/speedometer.js ***!
|
|
@@ -20789,51 +20260,6 @@ function spread(callback) {
|
|
|
20789
20260
|
|
|
20790
20261
|
/***/ }),
|
|
20791
20262
|
|
|
20792
|
-
/***/ "../node_modules/axios/lib/helpers/throttle.js":
|
|
20793
|
-
/*!*****************************************************!*\
|
|
20794
|
-
!*** ../node_modules/axios/lib/helpers/throttle.js ***!
|
|
20795
|
-
\*****************************************************/
|
|
20796
|
-
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
20797
|
-
|
|
20798
|
-
"use strict";
|
|
20799
|
-
__webpack_require__.r(__webpack_exports__);
|
|
20800
|
-
|
|
20801
|
-
|
|
20802
|
-
/**
|
|
20803
|
-
* Throttle decorator
|
|
20804
|
-
* @param {Function} fn
|
|
20805
|
-
* @param {Number} freq
|
|
20806
|
-
* @return {Function}
|
|
20807
|
-
*/
|
|
20808
|
-
function throttle(fn, freq) {
|
|
20809
|
-
var timestamp = 0;
|
|
20810
|
-
var threshold = 1000 / freq;
|
|
20811
|
-
var timer = null;
|
|
20812
|
-
return function throttled() {
|
|
20813
|
-
var _arguments = arguments;
|
|
20814
|
-
var force = this === true;
|
|
20815
|
-
var now = Date.now();
|
|
20816
|
-
if (force || now - timestamp > threshold) {
|
|
20817
|
-
if (timer) {
|
|
20818
|
-
clearTimeout(timer);
|
|
20819
|
-
timer = null;
|
|
20820
|
-
}
|
|
20821
|
-
timestamp = now;
|
|
20822
|
-
return fn.apply(null, arguments);
|
|
20823
|
-
}
|
|
20824
|
-
if (!timer) {
|
|
20825
|
-
timer = setTimeout(function () {
|
|
20826
|
-
timer = null;
|
|
20827
|
-
timestamp = Date.now();
|
|
20828
|
-
return fn.apply(null, _arguments);
|
|
20829
|
-
}, threshold - (now - timestamp));
|
|
20830
|
-
}
|
|
20831
|
-
};
|
|
20832
|
-
}
|
|
20833
|
-
/* harmony default export */ __webpack_exports__["default"] = (throttle);
|
|
20834
|
-
|
|
20835
|
-
/***/ }),
|
|
20836
|
-
|
|
20837
20263
|
/***/ "../node_modules/axios/lib/helpers/toFormData.js":
|
|
20838
20264
|
/*!*******************************************************!*\
|
|
20839
20265
|
!*** ../node_modules/axios/lib/helpers/toFormData.js ***!
|
|
@@ -21109,265 +20535,6 @@ function toURLEncodedForm(data, options) {
|
|
|
21109
20535
|
|
|
21110
20536
|
/***/ }),
|
|
21111
20537
|
|
|
21112
|
-
/***/ "../node_modules/axios/lib/helpers/trackStream.js":
|
|
21113
|
-
/*!********************************************************!*\
|
|
21114
|
-
!*** ../node_modules/axios/lib/helpers/trackStream.js ***!
|
|
21115
|
-
\********************************************************/
|
|
21116
|
-
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
21117
|
-
|
|
21118
|
-
"use strict";
|
|
21119
|
-
__webpack_require__.r(__webpack_exports__);
|
|
21120
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
21121
|
-
/* harmony export */ readBytes: function() { return /* binding */ readBytes; },
|
|
21122
|
-
/* harmony export */ streamChunk: function() { return /* binding */ streamChunk; },
|
|
21123
|
-
/* harmony export */ trackStream: function() { return /* binding */ trackStream; }
|
|
21124
|
-
/* harmony export */ });
|
|
21125
|
-
/* harmony import */ var regenerator_runtime_runtime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! regenerator-runtime/runtime.js */ "../node_modules/regenerator-runtime/runtime.js");
|
|
21126
|
-
/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.symbol.js */ "../node_modules/core-js/modules/es.symbol.js");
|
|
21127
|
-
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.symbol.description.js */ "../node_modules/core-js/modules/es.symbol.description.js");
|
|
21128
|
-
/* harmony import */ var core_js_modules_es_symbol_async_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.symbol.async-iterator.js */ "../node_modules/core-js/modules/es.symbol.async-iterator.js");
|
|
21129
|
-
/* harmony import */ var core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ "../node_modules/core-js/modules/es.symbol.iterator.js");
|
|
21130
|
-
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "../node_modules/core-js/modules/es.array.iterator.js");
|
|
21131
|
-
/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/es.array.slice.js */ "../node_modules/core-js/modules/es.array.slice.js");
|
|
21132
|
-
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/es.object.to-string.js */ "../node_modules/core-js/modules/es.object.to-string.js");
|
|
21133
|
-
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "../node_modules/core-js/modules/es.promise.js");
|
|
21134
|
-
/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! core-js/modules/es.string.iterator.js */ "../node_modules/core-js/modules/es.string.iterator.js");
|
|
21135
|
-
/* harmony import */ var core_js_modules_es_typed_array_uint8_array_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! core-js/modules/es.typed-array.uint8-array.js */ "../node_modules/core-js/modules/es.typed-array.uint8-array.js");
|
|
21136
|
-
/* harmony import */ var core_js_modules_es_typed_array_copy_within_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! core-js/modules/es.typed-array.copy-within.js */ "../node_modules/core-js/modules/es.typed-array.copy-within.js");
|
|
21137
|
-
/* harmony import */ var core_js_modules_es_typed_array_every_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! core-js/modules/es.typed-array.every.js */ "../node_modules/core-js/modules/es.typed-array.every.js");
|
|
21138
|
-
/* harmony import */ var core_js_modules_es_typed_array_fill_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! core-js/modules/es.typed-array.fill.js */ "../node_modules/core-js/modules/es.typed-array.fill.js");
|
|
21139
|
-
/* harmony import */ var core_js_modules_es_typed_array_filter_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! core-js/modules/es.typed-array.filter.js */ "../node_modules/core-js/modules/es.typed-array.filter.js");
|
|
21140
|
-
/* harmony import */ var core_js_modules_es_typed_array_find_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! core-js/modules/es.typed-array.find.js */ "../node_modules/core-js/modules/es.typed-array.find.js");
|
|
21141
|
-
/* harmony import */ var core_js_modules_es_typed_array_find_index_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! core-js/modules/es.typed-array.find-index.js */ "../node_modules/core-js/modules/es.typed-array.find-index.js");
|
|
21142
|
-
/* harmony import */ var core_js_modules_es_typed_array_for_each_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! core-js/modules/es.typed-array.for-each.js */ "../node_modules/core-js/modules/es.typed-array.for-each.js");
|
|
21143
|
-
/* harmony import */ var core_js_modules_es_typed_array_includes_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! core-js/modules/es.typed-array.includes.js */ "../node_modules/core-js/modules/es.typed-array.includes.js");
|
|
21144
|
-
/* harmony import */ var core_js_modules_es_typed_array_index_of_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! core-js/modules/es.typed-array.index-of.js */ "../node_modules/core-js/modules/es.typed-array.index-of.js");
|
|
21145
|
-
/* harmony import */ var core_js_modules_es_typed_array_iterator_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! core-js/modules/es.typed-array.iterator.js */ "../node_modules/core-js/modules/es.typed-array.iterator.js");
|
|
21146
|
-
/* harmony import */ var core_js_modules_es_typed_array_join_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! core-js/modules/es.typed-array.join.js */ "../node_modules/core-js/modules/es.typed-array.join.js");
|
|
21147
|
-
/* harmony import */ var core_js_modules_es_typed_array_last_index_of_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! core-js/modules/es.typed-array.last-index-of.js */ "../node_modules/core-js/modules/es.typed-array.last-index-of.js");
|
|
21148
|
-
/* harmony import */ var core_js_modules_es_typed_array_map_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! core-js/modules/es.typed-array.map.js */ "../node_modules/core-js/modules/es.typed-array.map.js");
|
|
21149
|
-
/* harmony import */ var core_js_modules_es_typed_array_reduce_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! core-js/modules/es.typed-array.reduce.js */ "../node_modules/core-js/modules/es.typed-array.reduce.js");
|
|
21150
|
-
/* harmony import */ var core_js_modules_es_typed_array_reduce_right_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! core-js/modules/es.typed-array.reduce-right.js */ "../node_modules/core-js/modules/es.typed-array.reduce-right.js");
|
|
21151
|
-
/* harmony import */ var core_js_modules_es_typed_array_reverse_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! core-js/modules/es.typed-array.reverse.js */ "../node_modules/core-js/modules/es.typed-array.reverse.js");
|
|
21152
|
-
/* harmony import */ var core_js_modules_es_typed_array_set_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! core-js/modules/es.typed-array.set.js */ "../node_modules/core-js/modules/es.typed-array.set.js");
|
|
21153
|
-
/* harmony import */ var core_js_modules_es_typed_array_slice_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! core-js/modules/es.typed-array.slice.js */ "../node_modules/core-js/modules/es.typed-array.slice.js");
|
|
21154
|
-
/* harmony import */ var core_js_modules_es_typed_array_some_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! core-js/modules/es.typed-array.some.js */ "../node_modules/core-js/modules/es.typed-array.some.js");
|
|
21155
|
-
/* harmony import */ var core_js_modules_es_typed_array_sort_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! core-js/modules/es.typed-array.sort.js */ "../node_modules/core-js/modules/es.typed-array.sort.js");
|
|
21156
|
-
/* harmony import */ var core_js_modules_es_typed_array_subarray_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! core-js/modules/es.typed-array.subarray.js */ "../node_modules/core-js/modules/es.typed-array.subarray.js");
|
|
21157
|
-
/* harmony import */ var core_js_modules_es_typed_array_to_locale_string_js__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! core-js/modules/es.typed-array.to-locale-string.js */ "../node_modules/core-js/modules/es.typed-array.to-locale-string.js");
|
|
21158
|
-
/* harmony import */ var core_js_modules_es_typed_array_to_string_js__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! core-js/modules/es.typed-array.to-string.js */ "../node_modules/core-js/modules/es.typed-array.to-string.js");
|
|
21159
|
-
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "../node_modules/core-js/modules/web.dom-collections.iterator.js");
|
|
21160
|
-
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
21161
|
-
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
21162
|
-
|
|
21163
|
-
|
|
21164
|
-
|
|
21165
|
-
|
|
21166
|
-
|
|
21167
|
-
|
|
21168
|
-
|
|
21169
|
-
|
|
21170
|
-
|
|
21171
|
-
|
|
21172
|
-
|
|
21173
|
-
|
|
21174
|
-
|
|
21175
|
-
|
|
21176
|
-
|
|
21177
|
-
|
|
21178
|
-
|
|
21179
|
-
|
|
21180
|
-
|
|
21181
|
-
|
|
21182
|
-
|
|
21183
|
-
|
|
21184
|
-
|
|
21185
|
-
|
|
21186
|
-
|
|
21187
|
-
|
|
21188
|
-
|
|
21189
|
-
|
|
21190
|
-
|
|
21191
|
-
|
|
21192
|
-
|
|
21193
|
-
|
|
21194
|
-
|
|
21195
|
-
|
|
21196
|
-
|
|
21197
|
-
function _wrapAsyncGenerator(fn) { return function () { return new _AsyncGenerator(fn.apply(this, arguments)); }; }
|
|
21198
|
-
function _AsyncGenerator(gen) { var front, back; function send(key, arg) { return new Promise(function (resolve, reject) { var request = { key: key, arg: arg, resolve: resolve, reject: reject, next: null }; if (back) { back = back.next = request; } else { front = back = request; resume(key, arg); } }); } function resume(key, arg) { try { var result = gen[key](arg); var value = result.value; var wrappedAwait = value instanceof _AwaitValue; Promise.resolve(wrappedAwait ? value.wrapped : value).then(function (arg) { if (wrappedAwait) { resume(key === "return" ? "return" : "next", arg); return; } settle(result.done ? "return" : "normal", arg); }, function (err) { resume("throw", err); }); } catch (err) { settle("throw", err); } } function settle(type, value) { switch (type) { case "return": front.resolve({ value: value, done: true }); break; case "throw": front.reject(value); break; default: front.resolve({ value: value, done: false }); break; } front = front.next; if (front) { resume(front.key, front.arg); } else { back = null; } } this._invoke = send; if (typeof gen.return !== "function") { this.return = undefined; } }
|
|
21199
|
-
_AsyncGenerator.prototype[typeof Symbol === "function" && Symbol.asyncIterator || "@@asyncIterator"] = function () { return this; };
|
|
21200
|
-
_AsyncGenerator.prototype.next = function (arg) { return this._invoke("next", arg); };
|
|
21201
|
-
_AsyncGenerator.prototype.throw = function (arg) { return this._invoke("throw", arg); };
|
|
21202
|
-
_AsyncGenerator.prototype.return = function (arg) { return this._invoke("return", arg); };
|
|
21203
|
-
function _awaitAsyncGenerator(value) { return new _AwaitValue(value); }
|
|
21204
|
-
function _AwaitValue(value) { this.wrapped = value; }
|
|
21205
|
-
function _asyncGeneratorDelegate(inner, awaitWrap) { var iter = {}, waiting = false; function pump(key, value) { waiting = true; value = new Promise(function (resolve) { resolve(inner[key](value)); }); return { done: false, value: awaitWrap(value) }; } ; iter[typeof Symbol !== "undefined" && Symbol.iterator || "@@iterator"] = function () { return this; }; iter.next = function (value) { if (waiting) { waiting = false; return value; } return pump("next", value); }; if (typeof inner.throw === "function") { iter.throw = function (value) { if (waiting) { waiting = false; throw value; } return pump("throw", value); }; } if (typeof inner.return === "function") { iter.return = function (value) { if (waiting) { waiting = false; return value; } return pump("return", value); }; } return iter; }
|
|
21206
|
-
function _asyncIterator(iterable) { var method, async, sync, retry = 2; for ("undefined" != typeof Symbol && (async = Symbol.asyncIterator, sync = Symbol.iterator); retry--;) { if (async && null != (method = iterable[async])) return method.call(iterable); if (sync && null != (method = iterable[sync])) return new AsyncFromSyncIterator(method.call(iterable)); async = "@@asyncIterator", sync = "@@iterator"; } throw new TypeError("Object is not async iterable"); }
|
|
21207
|
-
function AsyncFromSyncIterator(s) { function AsyncFromSyncIteratorContinuation(r) { if (Object(r) !== r) return Promise.reject(new TypeError(r + " is not an object.")); var done = r.done; return Promise.resolve(r.value).then(function (value) { return { value: value, done: done }; }); } return AsyncFromSyncIterator = function AsyncFromSyncIterator(s) { this.s = s, this.n = s.next; }, AsyncFromSyncIterator.prototype = { s: null, n: null, next: function next() { return AsyncFromSyncIteratorContinuation(this.n.apply(this.s, arguments)); }, return: function _return(value) { var ret = this.s.return; return void 0 === ret ? Promise.resolve({ value: value, done: !0 }) : AsyncFromSyncIteratorContinuation(ret.apply(this.s, arguments)); }, throw: function _throw(value) { var thr = this.s.return; return void 0 === thr ? Promise.reject(value) : AsyncFromSyncIteratorContinuation(thr.apply(this.s, arguments)); } }, new AsyncFromSyncIterator(s); }
|
|
21208
|
-
var streamChunk = /*#__PURE__*/regeneratorRuntime.mark(function streamChunk(chunk, chunkSize) {
|
|
21209
|
-
var len, pos, end;
|
|
21210
|
-
return regeneratorRuntime.wrap(function streamChunk$(_context) {
|
|
21211
|
-
while (1) switch (_context.prev = _context.next) {
|
|
21212
|
-
case 0:
|
|
21213
|
-
len = chunk.byteLength;
|
|
21214
|
-
if (!(!chunkSize || len < chunkSize)) {
|
|
21215
|
-
_context.next = 5;
|
|
21216
|
-
break;
|
|
21217
|
-
}
|
|
21218
|
-
_context.next = 4;
|
|
21219
|
-
return chunk;
|
|
21220
|
-
case 4:
|
|
21221
|
-
return _context.abrupt("return");
|
|
21222
|
-
case 5:
|
|
21223
|
-
pos = 0;
|
|
21224
|
-
case 6:
|
|
21225
|
-
if (!(pos < len)) {
|
|
21226
|
-
_context.next = 13;
|
|
21227
|
-
break;
|
|
21228
|
-
}
|
|
21229
|
-
end = pos + chunkSize;
|
|
21230
|
-
_context.next = 10;
|
|
21231
|
-
return chunk.slice(pos, end);
|
|
21232
|
-
case 10:
|
|
21233
|
-
pos = end;
|
|
21234
|
-
_context.next = 6;
|
|
21235
|
-
break;
|
|
21236
|
-
case 13:
|
|
21237
|
-
case "end":
|
|
21238
|
-
return _context.stop();
|
|
21239
|
-
}
|
|
21240
|
-
}, streamChunk);
|
|
21241
|
-
});
|
|
21242
|
-
var readBytes = /*#__PURE__*/function () {
|
|
21243
|
-
var _ref = _wrapAsyncGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(iterable, chunkSize, encode) {
|
|
21244
|
-
var _iteratorAbruptCompletion, _didIteratorError, _iteratorError, _iterator, _step, chunk;
|
|
21245
|
-
return regeneratorRuntime.wrap(function _callee$(_context2) {
|
|
21246
|
-
while (1) switch (_context2.prev = _context2.next) {
|
|
21247
|
-
case 0:
|
|
21248
|
-
_iteratorAbruptCompletion = false;
|
|
21249
|
-
_didIteratorError = false;
|
|
21250
|
-
_context2.prev = 2;
|
|
21251
|
-
_iterator = _asyncIterator(iterable);
|
|
21252
|
-
case 4:
|
|
21253
|
-
_context2.next = 6;
|
|
21254
|
-
return _awaitAsyncGenerator(_iterator.next());
|
|
21255
|
-
case 6:
|
|
21256
|
-
if (!(_iteratorAbruptCompletion = !(_step = _context2.sent).done)) {
|
|
21257
|
-
_context2.next = 27;
|
|
21258
|
-
break;
|
|
21259
|
-
}
|
|
21260
|
-
chunk = _step.value;
|
|
21261
|
-
_context2.t0 = _asyncGeneratorDelegate;
|
|
21262
|
-
_context2.t1 = _asyncIterator;
|
|
21263
|
-
_context2.t2 = streamChunk;
|
|
21264
|
-
if (!ArrayBuffer.isView(chunk)) {
|
|
21265
|
-
_context2.next = 15;
|
|
21266
|
-
break;
|
|
21267
|
-
}
|
|
21268
|
-
_context2.t3 = chunk;
|
|
21269
|
-
_context2.next = 18;
|
|
21270
|
-
break;
|
|
21271
|
-
case 15:
|
|
21272
|
-
_context2.next = 17;
|
|
21273
|
-
return _awaitAsyncGenerator(encode(String(chunk)));
|
|
21274
|
-
case 17:
|
|
21275
|
-
_context2.t3 = _context2.sent;
|
|
21276
|
-
case 18:
|
|
21277
|
-
_context2.t4 = _context2.t3;
|
|
21278
|
-
_context2.t5 = chunkSize;
|
|
21279
|
-
_context2.t6 = (0, _context2.t2)(_context2.t4, _context2.t5);
|
|
21280
|
-
_context2.t7 = (0, _context2.t1)(_context2.t6);
|
|
21281
|
-
_context2.t8 = _awaitAsyncGenerator;
|
|
21282
|
-
return _context2.delegateYield((0, _context2.t0)(_context2.t7, _context2.t8), "t9", 24);
|
|
21283
|
-
case 24:
|
|
21284
|
-
_iteratorAbruptCompletion = false;
|
|
21285
|
-
_context2.next = 4;
|
|
21286
|
-
break;
|
|
21287
|
-
case 27:
|
|
21288
|
-
_context2.next = 33;
|
|
21289
|
-
break;
|
|
21290
|
-
case 29:
|
|
21291
|
-
_context2.prev = 29;
|
|
21292
|
-
_context2.t10 = _context2["catch"](2);
|
|
21293
|
-
_didIteratorError = true;
|
|
21294
|
-
_iteratorError = _context2.t10;
|
|
21295
|
-
case 33:
|
|
21296
|
-
_context2.prev = 33;
|
|
21297
|
-
_context2.prev = 34;
|
|
21298
|
-
if (!(_iteratorAbruptCompletion && _iterator.return != null)) {
|
|
21299
|
-
_context2.next = 38;
|
|
21300
|
-
break;
|
|
21301
|
-
}
|
|
21302
|
-
_context2.next = 38;
|
|
21303
|
-
return _awaitAsyncGenerator(_iterator.return());
|
|
21304
|
-
case 38:
|
|
21305
|
-
_context2.prev = 38;
|
|
21306
|
-
if (!_didIteratorError) {
|
|
21307
|
-
_context2.next = 41;
|
|
21308
|
-
break;
|
|
21309
|
-
}
|
|
21310
|
-
throw _iteratorError;
|
|
21311
|
-
case 41:
|
|
21312
|
-
return _context2.finish(38);
|
|
21313
|
-
case 42:
|
|
21314
|
-
return _context2.finish(33);
|
|
21315
|
-
case 43:
|
|
21316
|
-
case "end":
|
|
21317
|
-
return _context2.stop();
|
|
21318
|
-
}
|
|
21319
|
-
}, _callee, null, [[2, 29, 33, 43], [34,, 38, 42]]);
|
|
21320
|
-
}));
|
|
21321
|
-
return function readBytes(_x, _x2, _x3) {
|
|
21322
|
-
return _ref.apply(this, arguments);
|
|
21323
|
-
};
|
|
21324
|
-
}();
|
|
21325
|
-
var trackStream = function trackStream(stream, chunkSize, onProgress, onFinish, encode) {
|
|
21326
|
-
var iterator = readBytes(stream, chunkSize, encode);
|
|
21327
|
-
var bytes = 0;
|
|
21328
|
-
return new ReadableStream({
|
|
21329
|
-
type: 'bytes',
|
|
21330
|
-
pull: function pull(controller) {
|
|
21331
|
-
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
|
21332
|
-
var _yield$iterator$next, done, value, len;
|
|
21333
|
-
return regeneratorRuntime.wrap(function _callee2$(_context3) {
|
|
21334
|
-
while (1) switch (_context3.prev = _context3.next) {
|
|
21335
|
-
case 0:
|
|
21336
|
-
_context3.next = 2;
|
|
21337
|
-
return iterator.next();
|
|
21338
|
-
case 2:
|
|
21339
|
-
_yield$iterator$next = _context3.sent;
|
|
21340
|
-
done = _yield$iterator$next.done;
|
|
21341
|
-
value = _yield$iterator$next.value;
|
|
21342
|
-
if (!done) {
|
|
21343
|
-
_context3.next = 9;
|
|
21344
|
-
break;
|
|
21345
|
-
}
|
|
21346
|
-
controller.close();
|
|
21347
|
-
onFinish();
|
|
21348
|
-
return _context3.abrupt("return");
|
|
21349
|
-
case 9:
|
|
21350
|
-
len = value.byteLength;
|
|
21351
|
-
onProgress && onProgress(bytes += len);
|
|
21352
|
-
controller.enqueue(new Uint8Array(value));
|
|
21353
|
-
case 12:
|
|
21354
|
-
case "end":
|
|
21355
|
-
return _context3.stop();
|
|
21356
|
-
}
|
|
21357
|
-
}, _callee2);
|
|
21358
|
-
}))();
|
|
21359
|
-
},
|
|
21360
|
-
cancel: function cancel(reason) {
|
|
21361
|
-
onFinish(reason);
|
|
21362
|
-
return iterator.return();
|
|
21363
|
-
}
|
|
21364
|
-
}, {
|
|
21365
|
-
highWaterMark: 2
|
|
21366
|
-
});
|
|
21367
|
-
};
|
|
21368
|
-
|
|
21369
|
-
/***/ }),
|
|
21370
|
-
|
|
21371
20538
|
/***/ "../node_modules/axios/lib/helpers/validator.js":
|
|
21372
20539
|
/*!******************************************************!*\
|
|
21373
20540
|
!*** ../node_modules/axios/lib/helpers/validator.js ***!
|
|
@@ -21567,8 +20734,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
21567
20734
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
21568
20735
|
/* harmony export */ hasBrowserEnv: function() { return /* binding */ hasBrowserEnv; },
|
|
21569
20736
|
/* harmony export */ hasStandardBrowserEnv: function() { return /* binding */ hasStandardBrowserEnv; },
|
|
21570
|
-
/* harmony export */ hasStandardBrowserWebWorkerEnv: function() { return /* binding */ hasStandardBrowserWebWorkerEnv; }
|
|
21571
|
-
/* harmony export */ origin: function() { return /* binding */ origin; }
|
|
20737
|
+
/* harmony export */ hasStandardBrowserWebWorkerEnv: function() { return /* binding */ hasStandardBrowserWebWorkerEnv; }
|
|
21572
20738
|
/* harmony export */ });
|
|
21573
20739
|
var hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined';
|
|
21574
20740
|
|
|
@@ -21607,7 +20773,6 @@ var hasStandardBrowserWebWorkerEnv = function () {
|
|
|
21607
20773
|
// eslint-disable-next-line no-undef
|
|
21608
20774
|
self instanceof WorkerGlobalScope && typeof self.importScripts === 'function';
|
|
21609
20775
|
}();
|
|
21610
|
-
var origin = hasBrowserEnv && window.location.href || 'http://localhost';
|
|
21611
20776
|
|
|
21612
20777
|
|
|
21613
20778
|
/***/ }),
|
|
@@ -21657,63 +20822,54 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
21657
20822
|
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.symbol.description.js */ "../node_modules/core-js/modules/es.symbol.description.js");
|
|
21658
20823
|
/* harmony import */ var core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ "../node_modules/core-js/modules/es.symbol.iterator.js");
|
|
21659
20824
|
/* harmony import */ var core_js_modules_es_symbol_to_string_tag_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.symbol.to-string-tag.js */ "../node_modules/core-js/modules/es.symbol.to-string-tag.js");
|
|
21660
|
-
/* harmony import */ var
|
|
21661
|
-
/* harmony import */ var
|
|
21662
|
-
/* harmony import */ var
|
|
21663
|
-
/* harmony import */ var
|
|
21664
|
-
/* harmony import */ var
|
|
21665
|
-
/* harmony import */ var
|
|
21666
|
-
/* harmony import */ var
|
|
21667
|
-
/* harmony import */ var
|
|
21668
|
-
/* harmony import */ var
|
|
21669
|
-
/* harmony import */ var
|
|
21670
|
-
/* harmony import */ var
|
|
21671
|
-
/* harmony import */ var
|
|
21672
|
-
/* harmony import */ var
|
|
21673
|
-
/* harmony import */ var
|
|
21674
|
-
/* harmony import */ var
|
|
21675
|
-
/* harmony import */ var
|
|
21676
|
-
/* harmony import */ var
|
|
21677
|
-
/* harmony import */ var
|
|
21678
|
-
/* harmony import */ var
|
|
21679
|
-
/* harmony import */ var
|
|
21680
|
-
/* harmony import */ var
|
|
21681
|
-
/* harmony import */ var
|
|
21682
|
-
/* harmony import */ var
|
|
21683
|
-
/* harmony import */ var
|
|
21684
|
-
/* harmony import */ var
|
|
21685
|
-
/* harmony import */ var
|
|
21686
|
-
/* harmony import */ var
|
|
21687
|
-
/* harmony import */ var
|
|
21688
|
-
/* harmony import */ var
|
|
21689
|
-
/* harmony import */ var
|
|
21690
|
-
/* harmony import */ var
|
|
21691
|
-
/* harmony import */ var
|
|
21692
|
-
/* harmony import */ var
|
|
21693
|
-
/* harmony import */ var
|
|
21694
|
-
/* harmony import */ var
|
|
21695
|
-
/* harmony import */ var
|
|
21696
|
-
/* harmony import */ var
|
|
21697
|
-
/* harmony import */ var
|
|
21698
|
-
/* harmony import */ var
|
|
21699
|
-
/* harmony import */ var
|
|
21700
|
-
/* harmony import */ var
|
|
21701
|
-
/* harmony import */ var
|
|
21702
|
-
/* harmony import */ var
|
|
21703
|
-
/* harmony import */ var
|
|
21704
|
-
/* harmony import */ var
|
|
21705
|
-
/* harmony import */ var
|
|
21706
|
-
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "../node_modules/core-js/modules/web.dom-collections.for-each.js");
|
|
21707
|
-
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "../node_modules/core-js/modules/web.dom-collections.iterator.js");
|
|
21708
|
-
/* harmony import */ var _helpers_bind_js__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./helpers/bind.js */ "../node_modules/axios/lib/helpers/bind.js");
|
|
20825
|
+
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "../node_modules/core-js/modules/es.array.iterator.js");
|
|
20826
|
+
/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.array.slice.js */ "../node_modules/core-js/modules/es.array.slice.js");
|
|
20827
|
+
/* harmony import */ var core_js_modules_es_array_buffer_constructor_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/es.array-buffer.constructor.js */ "../node_modules/core-js/modules/es.array-buffer.constructor.js");
|
|
20828
|
+
/* harmony import */ var core_js_modules_es_json_to_string_tag_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/es.json.to-string-tag.js */ "../node_modules/core-js/modules/es.json.to-string-tag.js");
|
|
20829
|
+
/* harmony import */ var core_js_modules_es_math_to_string_tag_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! core-js/modules/es.math.to-string-tag.js */ "../node_modules/core-js/modules/es.math.to-string-tag.js");
|
|
20830
|
+
/* harmony import */ var core_js_modules_es_number_is_finite_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! core-js/modules/es.number.is-finite.js */ "../node_modules/core-js/modules/es.number.is-finite.js");
|
|
20831
|
+
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "../node_modules/core-js/modules/es.object.assign.js");
|
|
20832
|
+
/* harmony import */ var core_js_modules_es_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptors.js */ "../node_modules/core-js/modules/es.object.get-own-property-descriptors.js");
|
|
20833
|
+
/* harmony import */ var core_js_modules_es_object_get_own_property_names_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! core-js/modules/es.object.get-own-property-names.js */ "../node_modules/core-js/modules/es.object.get-own-property-names.js");
|
|
20834
|
+
/* harmony import */ var core_js_modules_es_object_get_prototype_of_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ "../node_modules/core-js/modules/es.object.get-prototype-of.js");
|
|
20835
|
+
/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! core-js/modules/es.object.keys.js */ "../node_modules/core-js/modules/es.object.keys.js");
|
|
20836
|
+
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! core-js/modules/es.object.to-string.js */ "../node_modules/core-js/modules/es.object.to-string.js");
|
|
20837
|
+
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "../node_modules/core-js/modules/es.regexp.exec.js");
|
|
20838
|
+
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ "../node_modules/core-js/modules/es.regexp.to-string.js");
|
|
20839
|
+
/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! core-js/modules/es.string.iterator.js */ "../node_modules/core-js/modules/es.string.iterator.js");
|
|
20840
|
+
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! core-js/modules/es.string.replace.js */ "../node_modules/core-js/modules/es.string.replace.js");
|
|
20841
|
+
/* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! core-js/modules/es.string.split.js */ "../node_modules/core-js/modules/es.string.split.js");
|
|
20842
|
+
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ "../node_modules/core-js/modules/es.string.trim.js");
|
|
20843
|
+
/* harmony import */ var core_js_modules_es_typed_array_uint8_array_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! core-js/modules/es.typed-array.uint8-array.js */ "../node_modules/core-js/modules/es.typed-array.uint8-array.js");
|
|
20844
|
+
/* harmony import */ var core_js_modules_es_typed_array_copy_within_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! core-js/modules/es.typed-array.copy-within.js */ "../node_modules/core-js/modules/es.typed-array.copy-within.js");
|
|
20845
|
+
/* harmony import */ var core_js_modules_es_typed_array_every_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! core-js/modules/es.typed-array.every.js */ "../node_modules/core-js/modules/es.typed-array.every.js");
|
|
20846
|
+
/* harmony import */ var core_js_modules_es_typed_array_fill_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! core-js/modules/es.typed-array.fill.js */ "../node_modules/core-js/modules/es.typed-array.fill.js");
|
|
20847
|
+
/* harmony import */ var core_js_modules_es_typed_array_filter_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! core-js/modules/es.typed-array.filter.js */ "../node_modules/core-js/modules/es.typed-array.filter.js");
|
|
20848
|
+
/* harmony import */ var core_js_modules_es_typed_array_find_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! core-js/modules/es.typed-array.find.js */ "../node_modules/core-js/modules/es.typed-array.find.js");
|
|
20849
|
+
/* harmony import */ var core_js_modules_es_typed_array_find_index_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! core-js/modules/es.typed-array.find-index.js */ "../node_modules/core-js/modules/es.typed-array.find-index.js");
|
|
20850
|
+
/* harmony import */ var core_js_modules_es_typed_array_for_each_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! core-js/modules/es.typed-array.for-each.js */ "../node_modules/core-js/modules/es.typed-array.for-each.js");
|
|
20851
|
+
/* harmony import */ var core_js_modules_es_typed_array_includes_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! core-js/modules/es.typed-array.includes.js */ "../node_modules/core-js/modules/es.typed-array.includes.js");
|
|
20852
|
+
/* harmony import */ var core_js_modules_es_typed_array_index_of_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! core-js/modules/es.typed-array.index-of.js */ "../node_modules/core-js/modules/es.typed-array.index-of.js");
|
|
20853
|
+
/* harmony import */ var core_js_modules_es_typed_array_iterator_js__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! core-js/modules/es.typed-array.iterator.js */ "../node_modules/core-js/modules/es.typed-array.iterator.js");
|
|
20854
|
+
/* harmony import */ var core_js_modules_es_typed_array_join_js__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! core-js/modules/es.typed-array.join.js */ "../node_modules/core-js/modules/es.typed-array.join.js");
|
|
20855
|
+
/* harmony import */ var core_js_modules_es_typed_array_last_index_of_js__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! core-js/modules/es.typed-array.last-index-of.js */ "../node_modules/core-js/modules/es.typed-array.last-index-of.js");
|
|
20856
|
+
/* harmony import */ var core_js_modules_es_typed_array_map_js__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! core-js/modules/es.typed-array.map.js */ "../node_modules/core-js/modules/es.typed-array.map.js");
|
|
20857
|
+
/* harmony import */ var core_js_modules_es_typed_array_reduce_js__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! core-js/modules/es.typed-array.reduce.js */ "../node_modules/core-js/modules/es.typed-array.reduce.js");
|
|
20858
|
+
/* harmony import */ var core_js_modules_es_typed_array_reduce_right_js__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! core-js/modules/es.typed-array.reduce-right.js */ "../node_modules/core-js/modules/es.typed-array.reduce-right.js");
|
|
20859
|
+
/* harmony import */ var core_js_modules_es_typed_array_reverse_js__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! core-js/modules/es.typed-array.reverse.js */ "../node_modules/core-js/modules/es.typed-array.reverse.js");
|
|
20860
|
+
/* harmony import */ var core_js_modules_es_typed_array_set_js__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! core-js/modules/es.typed-array.set.js */ "../node_modules/core-js/modules/es.typed-array.set.js");
|
|
20861
|
+
/* harmony import */ var core_js_modules_es_typed_array_slice_js__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! core-js/modules/es.typed-array.slice.js */ "../node_modules/core-js/modules/es.typed-array.slice.js");
|
|
20862
|
+
/* harmony import */ var core_js_modules_es_typed_array_some_js__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! core-js/modules/es.typed-array.some.js */ "../node_modules/core-js/modules/es.typed-array.some.js");
|
|
20863
|
+
/* harmony import */ var core_js_modules_es_typed_array_sort_js__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! core-js/modules/es.typed-array.sort.js */ "../node_modules/core-js/modules/es.typed-array.sort.js");
|
|
20864
|
+
/* harmony import */ var core_js_modules_es_typed_array_subarray_js__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! core-js/modules/es.typed-array.subarray.js */ "../node_modules/core-js/modules/es.typed-array.subarray.js");
|
|
20865
|
+
/* harmony import */ var core_js_modules_es_typed_array_to_locale_string_js__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! core-js/modules/es.typed-array.to-locale-string.js */ "../node_modules/core-js/modules/es.typed-array.to-locale-string.js");
|
|
20866
|
+
/* harmony import */ var core_js_modules_es_typed_array_to_string_js__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! core-js/modules/es.typed-array.to-string.js */ "../node_modules/core-js/modules/es.typed-array.to-string.js");
|
|
20867
|
+
/* harmony import */ var core_js_modules_esnext_global_this_js__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! core-js/modules/esnext.global-this.js */ "../node_modules/core-js/modules/esnext.global-this.js");
|
|
20868
|
+
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "../node_modules/core-js/modules/web.dom-collections.for-each.js");
|
|
20869
|
+
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "../node_modules/core-js/modules/web.dom-collections.iterator.js");
|
|
20870
|
+
/* harmony import */ var _helpers_bind_js__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./helpers/bind.js */ "../node_modules/axios/lib/helpers/bind.js");
|
|
21709
20871
|
|
|
21710
20872
|
|
|
21711
|
-
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
21712
|
-
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
21713
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
21714
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
21715
|
-
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
21716
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
21717
20873
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
21718
20874
|
|
|
21719
20875
|
|
|
@@ -21762,9 +20918,6 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
21762
20918
|
|
|
21763
20919
|
|
|
21764
20920
|
|
|
21765
|
-
|
|
21766
|
-
|
|
21767
|
-
|
|
21768
20921
|
|
|
21769
20922
|
|
|
21770
20923
|
|
|
@@ -21977,12 +21130,6 @@ var isFormData = function isFormData(thing) {
|
|
|
21977
21130
|
* @returns {boolean} True if value is a URLSearchParams object, otherwise false
|
|
21978
21131
|
*/
|
|
21979
21132
|
var isURLSearchParams = kindOfTest('URLSearchParams');
|
|
21980
|
-
var _map = ['ReadableStream', 'Request', 'Response', 'Headers'].map(kindOfTest),
|
|
21981
|
-
_map2 = _slicedToArray(_map, 4),
|
|
21982
|
-
isReadableStream = _map2[0],
|
|
21983
|
-
isRequest = _map2[1],
|
|
21984
|
-
isResponse = _map2[2],
|
|
21985
|
-
isHeaders = _map2[3];
|
|
21986
21133
|
|
|
21987
21134
|
/**
|
|
21988
21135
|
* Trim excess whitespace off the beginning and end of a string
|
|
@@ -22120,7 +21267,7 @@ var extend = function extend(a, b, thisArg) {
|
|
|
22120
21267
|
allOwnKeys = _ref3.allOwnKeys;
|
|
22121
21268
|
forEach(b, function (val, key) {
|
|
22122
21269
|
if (thisArg && isFunction(val)) {
|
|
22123
|
-
a[key] = (0,
|
|
21270
|
+
a[key] = (0,_helpers_bind_js__WEBPACK_IMPORTED_MODULE_49__["default"])(val, thisArg);
|
|
22124
21271
|
} else {
|
|
22125
21272
|
a[key] = val;
|
|
22126
21273
|
}
|
|
@@ -22356,7 +21503,8 @@ var toObjectSet = function toObjectSet(arrayOrString, delimiter) {
|
|
|
22356
21503
|
};
|
|
22357
21504
|
var noop = function noop() {};
|
|
22358
21505
|
var toFiniteNumber = function toFiniteNumber(value, defaultValue) {
|
|
22359
|
-
|
|
21506
|
+
value = +value;
|
|
21507
|
+
return Number.isFinite(value) ? value : defaultValue;
|
|
22360
21508
|
};
|
|
22361
21509
|
var ALPHA = 'abcdefghijklmnopqrstuvwxyz';
|
|
22362
21510
|
var DIGIT = '0123456789';
|
|
@@ -22423,10 +21571,6 @@ var isThenable = function isThenable(thing) {
|
|
|
22423
21571
|
isBoolean: isBoolean,
|
|
22424
21572
|
isObject: isObject,
|
|
22425
21573
|
isPlainObject: isPlainObject,
|
|
22426
|
-
isReadableStream: isReadableStream,
|
|
22427
|
-
isRequest: isRequest,
|
|
22428
|
-
isResponse: isResponse,
|
|
22429
|
-
isHeaders: isHeaders,
|
|
22430
21574
|
isUndefined: isUndefined,
|
|
22431
21575
|
isDate: isDate,
|
|
22432
21576
|
isFile: isFile,
|