swagger-client 3.19.8 → 3.19.9
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/swagger-client.browser.js +891 -1067
- package/dist/swagger-client.browser.min.js +1 -1
- package/dist/swagger-client.browser.min.js.map +1 -1
- package/es/resolver/strategies/openapi-3-1-apidom/resolve.js +13 -2
- package/es/specmap/index.js +0 -1
- package/lib/resolver/strategies/openapi-3-1-apidom/resolve.js +13 -2
- package/lib/specmap/index.js +0 -1
- package/package.json +6 -6
|
@@ -492,20 +492,20 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
492
492
|
/* harmony export */ execute: () => (/* binding */ execute),
|
|
493
493
|
/* harmony export */ self: () => (/* binding */ self)
|
|
494
494
|
/* harmony export */ });
|
|
495
|
-
/* harmony import */ var
|
|
496
|
-
/* harmony import */ var
|
|
497
|
-
/* harmony import */ var
|
|
498
|
-
/* harmony import */ var
|
|
499
|
-
/* harmony import */ var
|
|
500
|
-
/* harmony import */ var
|
|
495
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(97530);
|
|
496
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(2562);
|
|
497
|
+
/* harmony import */ var lodash_get__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(27361);
|
|
498
|
+
/* harmony import */ var lodash_get__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_get__WEBPACK_IMPORTED_MODULE_0__);
|
|
499
|
+
/* harmony import */ var url__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8575);
|
|
500
|
+
/* harmony import */ var cookie__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(76489);
|
|
501
501
|
/* harmony import */ var is_plain_object__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(90111);
|
|
502
|
-
/* harmony import */ var
|
|
503
|
-
/* harmony import */ var
|
|
504
|
-
/* harmony import */ var
|
|
502
|
+
/* harmony import */ var _http_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(28288);
|
|
503
|
+
/* harmony import */ var _specmap_lib_create_error_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(83393);
|
|
504
|
+
/* harmony import */ var _swagger2_parameter_builders_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1382);
|
|
505
505
|
/* harmony import */ var _oas3_parameter_builders_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(43655);
|
|
506
|
-
/* harmony import */ var
|
|
507
|
-
/* harmony import */ var
|
|
508
|
-
/* harmony import */ var
|
|
506
|
+
/* harmony import */ var _oas3_build_request_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(80025);
|
|
507
|
+
/* harmony import */ var _swagger2_build_request_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(23077);
|
|
508
|
+
/* harmony import */ var _helpers_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(80486);
|
|
509
509
|
/* harmony import */ var _helpers_index_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(57656);
|
|
510
510
|
/* harmony import */ var _helpers_openapi_predicates_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(59809);
|
|
511
511
|
|
|
@@ -524,7 +524,7 @@ const _excluded = ["http", "fetch", "spec", "operationId", "pathName", "method",
|
|
|
524
524
|
|
|
525
525
|
|
|
526
526
|
const arrayOrEmpty = ar => Array.isArray(ar) ? ar : [];
|
|
527
|
-
const OperationNotFoundError = (0,
|
|
527
|
+
const OperationNotFoundError = (0,_specmap_lib_create_error_js__WEBPACK_IMPORTED_MODULE_7__["default"])('OperationNotFoundError', function cb(message, extra, oriError) {
|
|
528
528
|
this.originalError = oriError;
|
|
529
529
|
Object.assign(this, extra || {});
|
|
530
530
|
});
|
|
@@ -567,14 +567,14 @@ function execute(_ref) {
|
|
|
567
567
|
parameters,
|
|
568
568
|
securities
|
|
569
569
|
} = _ref,
|
|
570
|
-
extras = (0,
|
|
570
|
+
extras = (0,_babel_runtime_corejs3_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_8__["default"])(_ref, _excluded);
|
|
571
571
|
// Provide default fetch implementation
|
|
572
|
-
const http = userHttp || fetch ||
|
|
572
|
+
const http = userHttp || fetch || _http_index_js__WEBPACK_IMPORTED_MODULE_3__["default"]; // Default to _our_ http
|
|
573
573
|
|
|
574
574
|
if (pathName && method && !operationId) {
|
|
575
|
-
operationId = (0,
|
|
575
|
+
operationId = (0,_helpers_index_js__WEBPACK_IMPORTED_MODULE_9__["default"])(pathName, method);
|
|
576
576
|
}
|
|
577
|
-
const request = self.buildRequest((0,
|
|
577
|
+
const request = self.buildRequest((0,_babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_10__["default"])({
|
|
578
578
|
spec,
|
|
579
579
|
operationId,
|
|
580
580
|
parameters,
|
|
@@ -615,7 +615,7 @@ function buildRequest(options) {
|
|
|
615
615
|
if (specIsOAS3) {
|
|
616
616
|
parameterBuilders = _oas3_parameter_builders_js__WEBPACK_IMPORTED_MODULE_13__;
|
|
617
617
|
} else {
|
|
618
|
-
parameterBuilders =
|
|
618
|
+
parameterBuilders = _swagger2_parameter_builders_js__WEBPACK_IMPORTED_MODULE_4__["default"];
|
|
619
619
|
}
|
|
620
620
|
}
|
|
621
621
|
|
|
@@ -727,14 +727,14 @@ function buildRequest(options) {
|
|
|
727
727
|
});
|
|
728
728
|
|
|
729
729
|
// Do version-specific tasks, then return those results.
|
|
730
|
-
const versionSpecificOptions = (0,
|
|
730
|
+
const versionSpecificOptions = (0,_babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_10__["default"])((0,_babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_10__["default"])({}, options), {}, {
|
|
731
731
|
operation
|
|
732
732
|
});
|
|
733
733
|
if (specIsOAS3) {
|
|
734
|
-
req = (0,
|
|
734
|
+
req = (0,_oas3_build_request_js__WEBPACK_IMPORTED_MODULE_5__["default"])(versionSpecificOptions, req);
|
|
735
735
|
} else {
|
|
736
736
|
// If not OAS3, then treat as Swagger2.
|
|
737
|
-
req = (0,
|
|
737
|
+
req = (0,_swagger2_build_request_js__WEBPACK_IMPORTED_MODULE_6__["default"])(versionSpecificOptions, req);
|
|
738
738
|
}
|
|
739
739
|
|
|
740
740
|
// If the cookie convenience object exists in our request,
|
|
@@ -743,7 +743,7 @@ function buildRequest(options) {
|
|
|
743
743
|
const cookieString = Object.keys(req.cookies).reduce((prev, cookieName) => {
|
|
744
744
|
const cookieValue = req.cookies[cookieName];
|
|
745
745
|
const prefix = prev ? '&' : '';
|
|
746
|
-
const stringified =
|
|
746
|
+
const stringified = cookie__WEBPACK_IMPORTED_MODULE_2__.serialize(cookieName, cookieValue);
|
|
747
747
|
return prev + prefix + stringified;
|
|
748
748
|
}, '');
|
|
749
749
|
req.headers.Cookie = cookieString;
|
|
@@ -757,7 +757,7 @@ function buildRequest(options) {
|
|
|
757
757
|
|
|
758
758
|
// Will add the query object into the URL, if it exists
|
|
759
759
|
// ... will also create a FormData instance, if multipart/form-data (eg: a file)
|
|
760
|
-
(0,
|
|
760
|
+
(0,_http_index_js__WEBPACK_IMPORTED_MODULE_3__.mergeInQueryOrForm)(req);
|
|
761
761
|
return req;
|
|
762
762
|
}
|
|
763
763
|
const stripNonAlpha = str => str ? str.replace(/\W/g, '') : null;
|
|
@@ -776,7 +776,7 @@ function oas3BaseUrl(_ref2) {
|
|
|
776
776
|
contextUrl,
|
|
777
777
|
serverVariables = {}
|
|
778
778
|
} = _ref2;
|
|
779
|
-
const servers =
|
|
779
|
+
const servers = lodash_get__WEBPACK_IMPORTED_MODULE_0___default()(spec, ['paths', pathName, (method || '').toLowerCase(), 'servers']) || lodash_get__WEBPACK_IMPORTED_MODULE_0___default()(spec, ['paths', pathName, 'servers']) || lodash_get__WEBPACK_IMPORTED_MODULE_0___default()(spec, ['servers']);
|
|
780
780
|
let selectedServerUrl = '';
|
|
781
781
|
let selectedServerObj = null;
|
|
782
782
|
if (server && servers && servers.length) {
|
|
@@ -810,8 +810,8 @@ function buildOas3UrlWithContext() {
|
|
|
810
810
|
let ourUrl = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
811
811
|
let contextUrl = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
|
812
812
|
// relative server url should be resolved against contextUrl
|
|
813
|
-
const parsedUrl = ourUrl && contextUrl ?
|
|
814
|
-
const parsedContextUrl =
|
|
813
|
+
const parsedUrl = ourUrl && contextUrl ? url__WEBPACK_IMPORTED_MODULE_1__.parse(url__WEBPACK_IMPORTED_MODULE_1__.resolve(contextUrl, ourUrl)) : url__WEBPACK_IMPORTED_MODULE_1__.parse(ourUrl);
|
|
814
|
+
const parsedContextUrl = url__WEBPACK_IMPORTED_MODULE_1__.parse(contextUrl);
|
|
815
815
|
const computedScheme = stripNonAlpha(parsedUrl.protocol) || stripNonAlpha(parsedContextUrl.protocol) || '';
|
|
816
816
|
const computedHost = parsedUrl.host || parsedContextUrl.host;
|
|
817
817
|
const computedPath = parsedUrl.pathname || '';
|
|
@@ -844,7 +844,7 @@ function swagger2BaseUrl(_ref3) {
|
|
|
844
844
|
scheme,
|
|
845
845
|
contextUrl = ''
|
|
846
846
|
} = _ref3;
|
|
847
|
-
const parsedContextUrl =
|
|
847
|
+
const parsedContextUrl = url__WEBPACK_IMPORTED_MODULE_1__.parse(contextUrl);
|
|
848
848
|
const firstSchemeInSpec = Array.isArray(spec.schemes) ? spec.schemes[0] : null;
|
|
849
849
|
const computedScheme = scheme || firstSchemeInSpec || stripNonAlpha(parsedContextUrl.protocol) || 'http';
|
|
850
850
|
const computedHost = spec.host || parsedContextUrl.host || '';
|
|
@@ -873,11 +873,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
873
873
|
/* harmony export */ applySecurities: () => (/* binding */ applySecurities),
|
|
874
874
|
/* harmony export */ "default": () => (/* binding */ buildRequest)
|
|
875
875
|
/* harmony export */ });
|
|
876
|
-
/* harmony import */ var
|
|
877
|
-
/* harmony import */ var
|
|
878
|
-
/* harmony import */ var
|
|
879
|
-
/* harmony import */ var
|
|
880
|
-
/* harmony import */ var
|
|
876
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(97530);
|
|
877
|
+
/* harmony import */ var is_plain_object__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(90111);
|
|
878
|
+
/* harmony import */ var lodash_get__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(27361);
|
|
879
|
+
/* harmony import */ var lodash_get__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_get__WEBPACK_IMPORTED_MODULE_0__);
|
|
880
|
+
/* harmony import */ var _helpers_btoa_node_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(602);
|
|
881
881
|
|
|
882
882
|
// This function runs after the common function,
|
|
883
883
|
// `src/execute/index.js#buildRequest`
|
|
@@ -925,7 +925,7 @@ function buildRequest(options, req) {
|
|
|
925
925
|
const mediaTypes = Object.entries(operation.responses).filter(_ref => {
|
|
926
926
|
let [key, value] = _ref;
|
|
927
927
|
const code = parseInt(key, 10);
|
|
928
|
-
return code >= 200 && code < 300 && (0,
|
|
928
|
+
return code >= 200 && code < 300 && (0,is_plain_object__WEBPACK_IMPORTED_MODULE_2__.isPlainObject)(value.content);
|
|
929
929
|
}).reduce((acc, _ref2) => {
|
|
930
930
|
let [, value] = _ref2;
|
|
931
931
|
return acc.concat(Object.keys(value.content));
|
|
@@ -974,13 +974,13 @@ function applySecurities(_ref3) {
|
|
|
974
974
|
operation = {},
|
|
975
975
|
spec
|
|
976
976
|
} = _ref3;
|
|
977
|
-
const result = (0,
|
|
977
|
+
const result = (0,_babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_3__["default"])({}, request);
|
|
978
978
|
const {
|
|
979
979
|
authorized = {}
|
|
980
980
|
} = securities;
|
|
981
981
|
const security = operation.security || spec.security || [];
|
|
982
982
|
const isAuthorized = authorized && !!Object.keys(authorized).length;
|
|
983
|
-
const securityDef =
|
|
983
|
+
const securityDef = lodash_get__WEBPACK_IMPORTED_MODULE_0___default()(spec, ['components', 'securitySchemes']) || {};
|
|
984
984
|
result.headers = result.headers || {};
|
|
985
985
|
result.query = result.query || {};
|
|
986
986
|
if (!Object.keys(securities).length || !isAuthorized || !security || Array.isArray(operation.security) && !operation.security.length) {
|
|
@@ -1012,7 +1012,7 @@ function applySecurities(_ref3) {
|
|
|
1012
1012
|
if (/^basic$/i.test(schema.scheme)) {
|
|
1013
1013
|
const username = value.username || '';
|
|
1014
1014
|
const password = value.password || '';
|
|
1015
|
-
const encoded = (0,
|
|
1015
|
+
const encoded = (0,_helpers_btoa_node_js__WEBPACK_IMPORTED_MODULE_1__["default"])(`${username}:${password}`);
|
|
1016
1016
|
result.headers.Authorization = `Basic ${encoded}`;
|
|
1017
1017
|
}
|
|
1018
1018
|
if (/^bearer$/i.test(schema.scheme)) {
|
|
@@ -1393,8 +1393,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1393
1393
|
/* harmony export */ applySecurities: () => (/* binding */ applySecurities),
|
|
1394
1394
|
/* harmony export */ "default": () => (/* binding */ buildRequest)
|
|
1395
1395
|
/* harmony export */ });
|
|
1396
|
-
/* harmony import */ var
|
|
1397
|
-
/* harmony import */ var
|
|
1396
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(97530);
|
|
1397
|
+
/* harmony import */ var _helpers_btoa_node_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(602);
|
|
1398
1398
|
|
|
1399
1399
|
|
|
1400
1400
|
|
|
@@ -1450,7 +1450,7 @@ function applySecurities(_ref) {
|
|
|
1450
1450
|
operation = {},
|
|
1451
1451
|
spec
|
|
1452
1452
|
} = _ref;
|
|
1453
|
-
const result = (0,
|
|
1453
|
+
const result = (0,_babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_1__["default"])({}, request);
|
|
1454
1454
|
const {
|
|
1455
1455
|
authorized = {},
|
|
1456
1456
|
specSecurity = []
|
|
@@ -1491,7 +1491,7 @@ function applySecurities(_ref) {
|
|
|
1491
1491
|
} else {
|
|
1492
1492
|
const username = value.username || '';
|
|
1493
1493
|
const password = value.password || '';
|
|
1494
|
-
value.base64 = (0,
|
|
1494
|
+
value.base64 = (0,_helpers_btoa_node_js__WEBPACK_IMPORTED_MODULE_0__["default"])(`${username}:${password}`);
|
|
1495
1495
|
result.headers.authorization = `Basic ${value.base64}`;
|
|
1496
1496
|
}
|
|
1497
1497
|
} else if (type === 'oauth2' && oauthToken) {
|
|
@@ -3757,20 +3757,20 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3757
3757
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3758
3758
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
3759
3759
|
/* harmony export */ });
|
|
3760
|
-
/* harmony import */ var
|
|
3761
|
-
/* harmony import */ var
|
|
3762
|
-
/* harmony import */ var
|
|
3763
|
-
/* harmony import */ var
|
|
3760
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(97530);
|
|
3761
|
+
/* harmony import */ var cross_fetch_polyfill__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9559);
|
|
3762
|
+
/* harmony import */ var cross_fetch_polyfill__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(cross_fetch_polyfill__WEBPACK_IMPORTED_MODULE_0__);
|
|
3763
|
+
/* harmony import */ var _swagger_api_apidom_reference_configuration_empty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(69102);
|
|
3764
3764
|
/* harmony import */ var _swagger_api_apidom_reference_configuration_empty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(59695);
|
|
3765
|
-
/* harmony import */ var
|
|
3765
|
+
/* harmony import */ var _http_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(28288);
|
|
3766
3766
|
|
|
3767
3767
|
|
|
3768
3768
|
|
|
3769
3769
|
|
|
3770
|
-
const HttpResolverSwaggerClient =
|
|
3770
|
+
const HttpResolverSwaggerClient = _swagger_api_apidom_reference_configuration_empty__WEBPACK_IMPORTED_MODULE_2__["default"].compose({
|
|
3771
3771
|
props: {
|
|
3772
3772
|
name: 'http-swagger-client',
|
|
3773
|
-
swaggerHTTPClient:
|
|
3773
|
+
swaggerHTTPClient: _http_index_js__WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
3774
3774
|
swaggerHTTPClientConfig: {}
|
|
3775
3775
|
},
|
|
3776
3776
|
init() {
|
|
@@ -3796,7 +3796,7 @@ const HttpResolverSwaggerClient = _swagger_api_apidom_reference_configuration_em
|
|
|
3796
3796
|
const redirects = this.redirects === 0 ? 'error' : 'follow';
|
|
3797
3797
|
const follow = this.redirects > 0 ? this.redirects : undefined;
|
|
3798
3798
|
try {
|
|
3799
|
-
const response = await client((0,
|
|
3799
|
+
const response = await client((0,_babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_3__["default"])({
|
|
3800
3800
|
url: file.uri,
|
|
3801
3801
|
signal,
|
|
3802
3802
|
userFetch: async (resource, options) => {
|
|
@@ -3806,7 +3806,7 @@ const HttpResolverSwaggerClient = _swagger_api_apidom_reference_configuration_em
|
|
|
3806
3806
|
res.headers.delete('Content-Type');
|
|
3807
3807
|
} catch {
|
|
3808
3808
|
// Fetch API has guards which prevent mutations
|
|
3809
|
-
res = new Response(res.body, (0,
|
|
3809
|
+
res = new Response(res.body, (0,_babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_3__["default"])((0,_babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_3__["default"])({}, res), {}, {
|
|
3810
3810
|
headers: new Headers(res.headers)
|
|
3811
3811
|
}));
|
|
3812
3812
|
res.headers.delete('Content-Type');
|
|
@@ -3841,12 +3841,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3841
3841
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__),
|
|
3842
3842
|
/* harmony export */ makeResolve: () => (/* binding */ makeResolve)
|
|
3843
3843
|
/* harmony export */ });
|
|
3844
|
-
/* harmony import */ var
|
|
3845
|
-
/* harmony import */ var
|
|
3846
|
-
/* harmony import */ var
|
|
3847
|
-
/* harmony import */ var
|
|
3848
|
-
/* harmony import */ var
|
|
3849
|
-
/* harmony import */ var
|
|
3844
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(97530);
|
|
3845
|
+
/* harmony import */ var _utils_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(68247);
|
|
3846
|
+
/* harmony import */ var _utils_options_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(73562);
|
|
3847
|
+
/* harmony import */ var _strategies_generic_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(87485);
|
|
3848
|
+
/* harmony import */ var _strategies_openapi_2_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(48390);
|
|
3849
|
+
/* harmony import */ var _strategies_openapi_3_0_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(79018);
|
|
3850
3850
|
|
|
3851
3851
|
|
|
3852
3852
|
|
|
@@ -3859,24 +3859,24 @@ const resolve = async options => {
|
|
|
3859
3859
|
requestInterceptor,
|
|
3860
3860
|
responseInterceptor
|
|
3861
3861
|
} = options;
|
|
3862
|
-
const retrievalURI =
|
|
3863
|
-
const httpClient =
|
|
3864
|
-
const retrievedSpec = spec || (await (0,
|
|
3862
|
+
const retrievalURI = _utils_options_js__WEBPACK_IMPORTED_MODULE_0__.retrievalURI(options);
|
|
3863
|
+
const httpClient = _utils_options_js__WEBPACK_IMPORTED_MODULE_0__.httpClient(options);
|
|
3864
|
+
const retrievedSpec = spec || (await (0,_utils_index_js__WEBPACK_IMPORTED_MODULE_4__.makeFetchJSON)(httpClient, {
|
|
3865
3865
|
requestInterceptor,
|
|
3866
3866
|
responseInterceptor
|
|
3867
3867
|
})(retrievalURI));
|
|
3868
|
-
const strategyOptions = (0,
|
|
3868
|
+
const strategyOptions = (0,_babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_5__["default"])((0,_babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_5__["default"])({}, options), {}, {
|
|
3869
3869
|
spec: retrievedSpec
|
|
3870
3870
|
});
|
|
3871
3871
|
const strategy = options.strategies.find(strg => strg.match(strategyOptions));
|
|
3872
3872
|
return strategy.resolve(strategyOptions);
|
|
3873
3873
|
};
|
|
3874
3874
|
const makeResolve = defaultOptions => async options => {
|
|
3875
|
-
const mergedOptions = (0,
|
|
3875
|
+
const mergedOptions = (0,_babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_5__["default"])((0,_babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_5__["default"])({}, defaultOptions), options);
|
|
3876
3876
|
return resolve(mergedOptions);
|
|
3877
3877
|
};
|
|
3878
3878
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (makeResolve({
|
|
3879
|
-
strategies: [
|
|
3879
|
+
strategies: [_strategies_openapi_3_0_index_js__WEBPACK_IMPORTED_MODULE_3__["default"], _strategies_openapi_2_index_js__WEBPACK_IMPORTED_MODULE_2__["default"], _strategies_generic_index_js__WEBPACK_IMPORTED_MODULE_1__["default"]]
|
|
3880
3880
|
}));
|
|
3881
3881
|
|
|
3882
3882
|
/***/ }),
|
|
@@ -4386,14 +4386,24 @@ const resolveOpenAPI31Strategy = async options => {
|
|
|
4386
4386
|
mode = 'non-strict'
|
|
4387
4387
|
} = options;
|
|
4388
4388
|
try {
|
|
4389
|
+
const {
|
|
4390
|
+
cache
|
|
4391
|
+
} = resolveOpenAPI31Strategy;
|
|
4392
|
+
|
|
4389
4393
|
// determining BaseURI
|
|
4390
4394
|
const cwd = _swagger_api_apidom_reference_configuration_empty__WEBPACK_IMPORTED_MODULE_7__.isHttpUrl(_swagger_api_apidom_reference_configuration_empty__WEBPACK_IMPORTED_MODULE_7__.cwd()) ? _swagger_api_apidom_reference_configuration_empty__WEBPACK_IMPORTED_MODULE_7__.cwd() : 'https://smartbear.com/';
|
|
4391
4395
|
const retrievalURI = _utils_options_js__WEBPACK_IMPORTED_MODULE_0__.retrievalURI(options);
|
|
4392
4396
|
const baseURI = _swagger_api_apidom_reference_configuration_empty__WEBPACK_IMPORTED_MODULE_7__.resolve(cwd, retrievalURI);
|
|
4393
4397
|
|
|
4394
4398
|
// prepare spec for dereferencing
|
|
4395
|
-
|
|
4396
|
-
|
|
4399
|
+
let openApiElement;
|
|
4400
|
+
if (cache.has(spec)) {
|
|
4401
|
+
openApiElement = cache.get(spec);
|
|
4402
|
+
} else {
|
|
4403
|
+
openApiElement = _swagger_api_apidom_ns_openapi_3_1__WEBPACK_IMPORTED_MODULE_8__.OpenApi3_1Element.refract(spec);
|
|
4404
|
+
openApiElement.classes.push('result');
|
|
4405
|
+
cache.set(spec, openApiElement);
|
|
4406
|
+
}
|
|
4397
4407
|
const openApiParseResultElement = new _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_9__.ParseResultElement([openApiElement]);
|
|
4398
4408
|
|
|
4399
4409
|
// prepare fragment for dereferencing
|
|
@@ -4486,6 +4496,7 @@ const resolveOpenAPI31Strategy = async options => {
|
|
|
4486
4496
|
throw error;
|
|
4487
4497
|
}
|
|
4488
4498
|
};
|
|
4499
|
+
resolveOpenAPI31Strategy.cache = new WeakMap();
|
|
4489
4500
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (resolveOpenAPI31Strategy);
|
|
4490
4501
|
/* eslint-enable camelcase */
|
|
4491
4502
|
|
|
@@ -4641,13 +4652,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4641
4652
|
/* harmony export */ "default": () => (/* binding */ mapSpec),
|
|
4642
4653
|
/* harmony export */ plugins: () => (/* binding */ plugins)
|
|
4643
4654
|
/* harmony export */ });
|
|
4644
|
-
/* harmony import */ var
|
|
4645
|
-
/* harmony import */ var
|
|
4646
|
-
/* harmony import */ var
|
|
4647
|
-
/* harmony import */ var
|
|
4648
|
-
/* harmony import */ var
|
|
4649
|
-
/* harmony import */ var
|
|
4650
|
-
/* harmony import */ var
|
|
4655
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(97530);
|
|
4656
|
+
/* harmony import */ var _lib_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(53275);
|
|
4657
|
+
/* harmony import */ var _lib_refs_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(58569);
|
|
4658
|
+
/* harmony import */ var _lib_all_of_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(47133);
|
|
4659
|
+
/* harmony import */ var _lib_parameters_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(12983);
|
|
4660
|
+
/* harmony import */ var _lib_properties_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(54631);
|
|
4661
|
+
/* harmony import */ var _lib_context_tree_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(75176);
|
|
4651
4662
|
|
|
4652
4663
|
|
|
4653
4664
|
|
|
@@ -4676,12 +4687,12 @@ class SpecMap {
|
|
|
4676
4687
|
state: {},
|
|
4677
4688
|
patches: [],
|
|
4678
4689
|
context: {},
|
|
4679
|
-
contextTree: new
|
|
4690
|
+
contextTree: new _lib_context_tree_js__WEBPACK_IMPORTED_MODULE_5__["default"](),
|
|
4680
4691
|
showDebug: false,
|
|
4681
4692
|
allPatches: [],
|
|
4682
4693
|
// only populated if showDebug is true
|
|
4683
4694
|
pluginProp: 'specMap',
|
|
4684
|
-
libMethods: Object.assign(Object.create(this),
|
|
4695
|
+
libMethods: Object.assign(Object.create(this), _lib_index_js__WEBPACK_IMPORTED_MODULE_0__["default"], {
|
|
4685
4696
|
getInstance: () => this
|
|
4686
4697
|
}),
|
|
4687
4698
|
allowMetaPatches: false
|
|
@@ -4692,11 +4703,11 @@ class SpecMap {
|
|
|
4692
4703
|
this.getContext = this._getContext.bind(this); // eslint-disable-line no-underscore-dangle
|
|
4693
4704
|
this.hasRun = this._hasRun.bind(this); // eslint-disable-line no-underscore-dangle
|
|
4694
4705
|
|
|
4695
|
-
this.wrappedPlugins = this.plugins.map(this.wrapPlugin.bind(this)).filter(
|
|
4706
|
+
this.wrappedPlugins = this.plugins.map(this.wrapPlugin.bind(this)).filter(_lib_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFunction);
|
|
4696
4707
|
|
|
4697
4708
|
// Initial patch(s)
|
|
4698
|
-
this.patches.push(
|
|
4699
|
-
this.patches.push(
|
|
4709
|
+
this.patches.push(_lib_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].add([], this.spec));
|
|
4710
|
+
this.patches.push(_lib_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].context([], this.context));
|
|
4700
4711
|
this.updatePatches(this.patches);
|
|
4701
4712
|
}
|
|
4702
4713
|
debug(level) {
|
|
@@ -4726,14 +4737,14 @@ class SpecMap {
|
|
|
4726
4737
|
if (plugin[this.pluginProp]) {
|
|
4727
4738
|
ctx = plugin;
|
|
4728
4739
|
fn = plugin[this.pluginProp];
|
|
4729
|
-
} else if (
|
|
4740
|
+
} else if (_lib_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFunction(plugin)) {
|
|
4730
4741
|
fn = plugin;
|
|
4731
|
-
} else if (
|
|
4742
|
+
} else if (_lib_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].isObject(plugin)) {
|
|
4732
4743
|
fn = createKeyBasedPlugin(plugin);
|
|
4733
4744
|
}
|
|
4734
4745
|
return Object.assign(fn.bind(ctx), {
|
|
4735
4746
|
pluginName: plugin.name || name,
|
|
4736
|
-
isGenerator:
|
|
4747
|
+
isGenerator: _lib_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].isGenerator(fn)
|
|
4737
4748
|
});
|
|
4738
4749
|
|
|
4739
4750
|
// Expected plugin interface: {key: string, plugin: fn*}
|
|
@@ -4751,11 +4762,11 @@ class SpecMap {
|
|
|
4751
4762
|
const refCache = {};
|
|
4752
4763
|
|
|
4753
4764
|
// eslint-disable-next-line no-restricted-syntax
|
|
4754
|
-
for (const patch of patches.filter(
|
|
4765
|
+
for (const patch of patches.filter(_lib_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].isAdditiveMutation)) {
|
|
4755
4766
|
yield* traverse(patch.value, patch.path, patch);
|
|
4756
4767
|
}
|
|
4757
4768
|
function* traverse(obj, path, patch) {
|
|
4758
|
-
if (!
|
|
4769
|
+
if (!_lib_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].isObject(obj)) {
|
|
4759
4770
|
if (pluginObj.key === path[path.length - 1]) {
|
|
4760
4771
|
yield pluginObj.plugin(obj, pluginObj.key, path, specmap);
|
|
4761
4772
|
}
|
|
@@ -4770,7 +4781,7 @@ class SpecMap {
|
|
|
4770
4781
|
for (const key of Object.keys(obj)) {
|
|
4771
4782
|
const val = obj[key];
|
|
4772
4783
|
const updatedPath = path.concat(key);
|
|
4773
|
-
const isObj =
|
|
4784
|
+
const isObj = _lib_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].isObject(val);
|
|
4774
4785
|
const objRef = obj.$$ref;
|
|
4775
4786
|
if (!traversed) {
|
|
4776
4787
|
if (isObj) {
|
|
@@ -4827,31 +4838,30 @@ class SpecMap {
|
|
|
4827
4838
|
this.pluginHistory[name].push(val);
|
|
4828
4839
|
}
|
|
4829
4840
|
updatePatches(patches) {
|
|
4830
|
-
|
|
4841
|
+
_lib_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].normalizeArray(patches).forEach(patch => {
|
|
4831
4842
|
if (patch instanceof Error) {
|
|
4832
4843
|
this.errors.push(patch);
|
|
4833
4844
|
return;
|
|
4834
4845
|
}
|
|
4835
4846
|
try {
|
|
4836
|
-
if (!
|
|
4847
|
+
if (!_lib_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].isObject(patch)) {
|
|
4837
4848
|
this.debug('updatePatches', 'Got a non-object patch', patch);
|
|
4838
4849
|
return;
|
|
4839
4850
|
}
|
|
4840
4851
|
if (this.showDebug) {
|
|
4841
4852
|
this.allPatches.push(patch);
|
|
4842
4853
|
}
|
|
4843
|
-
if (
|
|
4854
|
+
if (_lib_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].isPromise(patch.value)) {
|
|
4844
4855
|
this.promisedPatches.push(patch);
|
|
4845
4856
|
this.promisedPatchThen(patch);
|
|
4846
4857
|
return;
|
|
4847
4858
|
}
|
|
4848
|
-
if (
|
|
4859
|
+
if (_lib_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].isContextPatch(patch)) {
|
|
4849
4860
|
this.setContext(patch.path, patch.value);
|
|
4850
4861
|
return;
|
|
4851
4862
|
}
|
|
4852
|
-
if (
|
|
4863
|
+
if (_lib_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].isMutation(patch)) {
|
|
4853
4864
|
this.updateMutations(patch);
|
|
4854
|
-
return;
|
|
4855
4865
|
}
|
|
4856
4866
|
} catch (e) {
|
|
4857
4867
|
console.error(e); // eslint-disable-line no-console
|
|
@@ -4861,9 +4871,9 @@ class SpecMap {
|
|
|
4861
4871
|
}
|
|
4862
4872
|
updateMutations(patch) {
|
|
4863
4873
|
if (typeof patch.value === 'object' && !Array.isArray(patch.value) && this.allowMetaPatches) {
|
|
4864
|
-
patch.value = (0,
|
|
4874
|
+
patch.value = (0,_babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_6__["default"])({}, patch.value);
|
|
4865
4875
|
}
|
|
4866
|
-
const result =
|
|
4876
|
+
const result = _lib_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].applyPatch(this.state, patch, {
|
|
4867
4877
|
allowMetaPatches: this.allowMetaPatches
|
|
4868
4878
|
});
|
|
4869
4879
|
if (result) {
|
|
@@ -4881,7 +4891,7 @@ class SpecMap {
|
|
|
4881
4891
|
}
|
|
4882
4892
|
promisedPatchThen(patch) {
|
|
4883
4893
|
patch.value = patch.value.then(val => {
|
|
4884
|
-
const promisedPatch = (0,
|
|
4894
|
+
const promisedPatch = (0,_babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_6__["default"])((0,_babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_6__["default"])({}, patch), {}, {
|
|
4885
4895
|
value: val
|
|
4886
4896
|
});
|
|
4887
4897
|
this.removePromisedPatch(patch);
|
|
@@ -4915,7 +4925,7 @@ class SpecMap {
|
|
|
4915
4925
|
|
|
4916
4926
|
// eslint-disable-next-line no-underscore-dangle
|
|
4917
4927
|
_get(path) {
|
|
4918
|
-
return
|
|
4928
|
+
return _lib_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].getIn(this.state, path);
|
|
4919
4929
|
}
|
|
4920
4930
|
|
|
4921
4931
|
// eslint-disable-next-line no-underscore-dangle
|
|
@@ -4999,7 +5009,7 @@ class SpecMap {
|
|
|
4999
5009
|
}
|
|
5000
5010
|
function updatePatches(patches) {
|
|
5001
5011
|
if (patches) {
|
|
5002
|
-
patches =
|
|
5012
|
+
patches = _lib_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].fullyNormalizeArray(patches);
|
|
5003
5013
|
that.updatePatches(patches, plugin);
|
|
5004
5014
|
}
|
|
5005
5015
|
}
|
|
@@ -5009,10 +5019,10 @@ function mapSpec(opts) {
|
|
|
5009
5019
|
return new SpecMap(opts).dispatch();
|
|
5010
5020
|
}
|
|
5011
5021
|
const plugins = {
|
|
5012
|
-
refs:
|
|
5013
|
-
allOf:
|
|
5014
|
-
parameters:
|
|
5015
|
-
properties:
|
|
5022
|
+
refs: _lib_refs_js__WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
5023
|
+
allOf: _lib_all_of_js__WEBPACK_IMPORTED_MODULE_2__["default"],
|
|
5024
|
+
parameters: _lib_parameters_js__WEBPACK_IMPORTED_MODULE_3__["default"],
|
|
5025
|
+
properties: _lib_properties_js__WEBPACK_IMPORTED_MODULE_4__["default"]
|
|
5016
5026
|
};
|
|
5017
5027
|
|
|
5018
5028
|
|
|
@@ -5026,8 +5036,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5026
5036
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5027
5037
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
5028
5038
|
/* harmony export */ });
|
|
5029
|
-
/* harmony import */ var
|
|
5030
|
-
/* harmony import */ var
|
|
5039
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(97530);
|
|
5040
|
+
/* harmony import */ var _helpers_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(52460);
|
|
5031
5041
|
|
|
5032
5042
|
|
|
5033
5043
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
|
|
@@ -5040,7 +5050,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5040
5050
|
return undefined;
|
|
5041
5051
|
}
|
|
5042
5052
|
const parent = fullPath.slice(0, -1);
|
|
5043
|
-
if ((0,
|
|
5053
|
+
if ((0,_helpers_js__WEBPACK_IMPORTED_MODULE_0__.isFreelyNamed)(parent)) {
|
|
5044
5054
|
return undefined;
|
|
5045
5055
|
}
|
|
5046
5056
|
if (!Array.isArray(val)) {
|
|
@@ -5057,7 +5067,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5057
5067
|
if (!originalDefinitionObj) return; // bail out if we've lost sight of our target
|
|
5058
5068
|
originalDefinitionObj = originalDefinitionObj[part];
|
|
5059
5069
|
});
|
|
5060
|
-
originalDefinitionObj = (0,
|
|
5070
|
+
originalDefinitionObj = (0,_babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_1__["default"])({}, originalDefinitionObj);
|
|
5061
5071
|
|
|
5062
5072
|
// when we've lost sight, interrupt prematurely
|
|
5063
5073
|
if (Object.keys(originalDefinitionObj).length === 0) {
|
|
@@ -5086,7 +5096,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5086
5096
|
|
|
5087
5097
|
// remove ["allOf"], which will not be present when these patches are applied
|
|
5088
5098
|
const collapsedFullPath = fullPath.slice(0, -1);
|
|
5089
|
-
const absoluteRefPatches = (0,
|
|
5099
|
+
const absoluteRefPatches = (0,_helpers_js__WEBPACK_IMPORTED_MODULE_0__.generateAbsoluteRefPatches)(toMerge, collapsedFullPath, {
|
|
5090
5100
|
getBaseUrlForNodePath: nodePath => specmap.getContext([...fullPath, i, ...nodePath]).baseDoc,
|
|
5091
5101
|
specmap
|
|
5092
5102
|
});
|
|
@@ -5246,10 +5256,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5246
5256
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5247
5257
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
5248
5258
|
/* harmony export */ });
|
|
5249
|
-
/* harmony import */ var
|
|
5250
|
-
/* harmony import */ var
|
|
5251
|
-
/* harmony import */ var
|
|
5252
|
-
/* harmony import */ var
|
|
5259
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(97530);
|
|
5260
|
+
/* harmony import */ var fast_json_patch__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(81303);
|
|
5261
|
+
/* harmony import */ var deepmerge__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9996);
|
|
5262
|
+
/* harmony import */ var deepmerge__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(deepmerge__WEBPACK_IMPORTED_MODULE_1__);
|
|
5253
5263
|
|
|
5254
5264
|
|
|
5255
5265
|
|
|
@@ -5281,17 +5291,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5281
5291
|
});
|
|
5282
5292
|
function applyPatch(obj, patch, opts) {
|
|
5283
5293
|
opts = opts || {};
|
|
5284
|
-
patch = (0,
|
|
5294
|
+
patch = (0,_babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_2__["default"])((0,_babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_2__["default"])({}, patch), {}, {
|
|
5285
5295
|
path: patch.path && normalizeJSONPath(patch.path)
|
|
5286
5296
|
});
|
|
5287
5297
|
if (patch.op === 'merge') {
|
|
5288
5298
|
const newValue = getInByJsonPath(obj, patch.path);
|
|
5289
5299
|
Object.assign(newValue, patch.value);
|
|
5290
|
-
|
|
5300
|
+
fast_json_patch__WEBPACK_IMPORTED_MODULE_0__.applyPatch(obj, [replace(patch.path, newValue)]);
|
|
5291
5301
|
} else if (patch.op === 'mergeDeep') {
|
|
5292
5302
|
const currentValue = getInByJsonPath(obj, patch.path);
|
|
5293
|
-
const newValue =
|
|
5294
|
-
obj =
|
|
5303
|
+
const newValue = deepmerge__WEBPACK_IMPORTED_MODULE_1___default()(currentValue, patch.value);
|
|
5304
|
+
obj = fast_json_patch__WEBPACK_IMPORTED_MODULE_0__.applyPatch(obj, [replace(patch.path, newValue)]).newDocument;
|
|
5295
5305
|
} else if (patch.op === 'add' && patch.path === '' && isObject(patch.value)) {
|
|
5296
5306
|
// { op: 'add', path: '', value: { a: 1, b: 2 }}
|
|
5297
5307
|
// has no effect: json patch refuses to do anything.
|
|
@@ -5306,23 +5316,23 @@ function applyPatch(obj, patch, opts) {
|
|
|
5306
5316
|
});
|
|
5307
5317
|
return arr;
|
|
5308
5318
|
}, []);
|
|
5309
|
-
|
|
5319
|
+
fast_json_patch__WEBPACK_IMPORTED_MODULE_0__.applyPatch(obj, patches);
|
|
5310
5320
|
} else if (patch.op === 'replace' && patch.path === '') {
|
|
5311
5321
|
let {
|
|
5312
5322
|
value
|
|
5313
5323
|
} = patch;
|
|
5314
5324
|
if (opts.allowMetaPatches && patch.meta && isAdditiveMutation(patch) && (Array.isArray(patch.value) || isObject(patch.value))) {
|
|
5315
|
-
value = (0,
|
|
5325
|
+
value = (0,_babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_2__["default"])((0,_babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_2__["default"])({}, value), patch.meta);
|
|
5316
5326
|
}
|
|
5317
5327
|
obj = value;
|
|
5318
5328
|
} else {
|
|
5319
|
-
|
|
5329
|
+
fast_json_patch__WEBPACK_IMPORTED_MODULE_0__.applyPatch(obj, [patch]);
|
|
5320
5330
|
|
|
5321
5331
|
// Attach metadata to the resulting value.
|
|
5322
5332
|
if (opts.allowMetaPatches && patch.meta && isAdditiveMutation(patch) && (Array.isArray(patch.value) || isObject(patch.value))) {
|
|
5323
5333
|
const currentValue = getInByJsonPath(obj, patch.path);
|
|
5324
|
-
const newValue = (0,
|
|
5325
|
-
|
|
5334
|
+
const newValue = (0,_babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_2__["default"])((0,_babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_2__["default"])({}, currentValue), patch.meta);
|
|
5335
|
+
fast_json_patch__WEBPACK_IMPORTED_MODULE_0__.applyPatch(obj, [replace(patch.path, newValue)]);
|
|
5326
5336
|
}
|
|
5327
5337
|
}
|
|
5328
5338
|
return obj;
|
|
@@ -5539,7 +5549,7 @@ function isPatch(patch) {
|
|
|
5539
5549
|
}
|
|
5540
5550
|
function getInByJsonPath(obj, jsonPath) {
|
|
5541
5551
|
try {
|
|
5542
|
-
return
|
|
5552
|
+
return fast_json_patch__WEBPACK_IMPORTED_MODULE_0__.getValueByPointer(obj, jsonPath);
|
|
5543
5553
|
} catch (e) {
|
|
5544
5554
|
console.error(e); // eslint-disable-line no-console
|
|
5545
5555
|
return {};
|
|
@@ -5556,8 +5566,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5556
5566
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5557
5567
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
5558
5568
|
/* harmony export */ });
|
|
5559
|
-
/* harmony import */ var
|
|
5560
|
-
/* harmony import */ var
|
|
5569
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(97530);
|
|
5570
|
+
/* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(53275);
|
|
5561
5571
|
|
|
5562
5572
|
|
|
5563
5573
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
|
|
@@ -5566,7 +5576,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5566
5576
|
if (Array.isArray(parameters) && parameters.length) {
|
|
5567
5577
|
const val = Object.assign([], parameters);
|
|
5568
5578
|
const opPath = fullPath.slice(0, -1);
|
|
5569
|
-
const op = (0,
|
|
5579
|
+
const op = (0,_babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_1__["default"])({}, _index_js__WEBPACK_IMPORTED_MODULE_0__["default"].getIn(specmap.spec, opPath));
|
|
5570
5580
|
for (let i = 0; i < parameters.length; i += 1) {
|
|
5571
5581
|
const param = parameters[i];
|
|
5572
5582
|
try {
|
|
@@ -5577,9 +5587,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5577
5587
|
return err;
|
|
5578
5588
|
}
|
|
5579
5589
|
}
|
|
5580
|
-
return
|
|
5590
|
+
return _index_js__WEBPACK_IMPORTED_MODULE_0__["default"].replace(fullPath, val);
|
|
5581
5591
|
}
|
|
5582
|
-
return
|
|
5592
|
+
return _index_js__WEBPACK_IMPORTED_MODULE_0__["default"].replace(fullPath, parameters);
|
|
5583
5593
|
}
|
|
5584
5594
|
});
|
|
5585
5595
|
|
|
@@ -5593,14 +5603,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5593
5603
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5594
5604
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
5595
5605
|
/* harmony export */ });
|
|
5596
|
-
/* harmony import */ var
|
|
5597
|
-
/* harmony import */ var
|
|
5606
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(97530);
|
|
5607
|
+
/* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(53275);
|
|
5598
5608
|
|
|
5599
5609
|
|
|
5600
5610
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
|
|
5601
5611
|
key: 'properties',
|
|
5602
5612
|
plugin: (properties, key, fullPath, specmap) => {
|
|
5603
|
-
const val = (0,
|
|
5613
|
+
const val = (0,_babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_1__["default"])({}, properties);
|
|
5604
5614
|
|
|
5605
5615
|
// eslint-disable-next-line no-restricted-syntax, guard-for-in
|
|
5606
5616
|
for (const k in properties) {
|
|
@@ -5612,7 +5622,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
5612
5622
|
return err;
|
|
5613
5623
|
}
|
|
5614
5624
|
}
|
|
5615
|
-
const patch =
|
|
5625
|
+
const patch = _index_js__WEBPACK_IMPORTED_MODULE_0__["default"].replace(fullPath, val);
|
|
5616
5626
|
return patch;
|
|
5617
5627
|
}
|
|
5618
5628
|
});
|
|
@@ -6116,13 +6126,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6116
6126
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__),
|
|
6117
6127
|
/* harmony export */ makeResolveSubtree: () => (/* binding */ makeResolveSubtree)
|
|
6118
6128
|
/* harmony export */ });
|
|
6119
|
-
/* harmony import */ var
|
|
6120
|
-
/* harmony import */ var
|
|
6121
|
-
/* harmony import */ var
|
|
6122
|
-
/* harmony import */ var
|
|
6123
|
-
/* harmony import */ var
|
|
6124
|
-
/* harmony import */ var
|
|
6125
|
-
/* harmony import */ var
|
|
6129
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(97530);
|
|
6130
|
+
/* harmony import */ var lodash_get__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(27361);
|
|
6131
|
+
/* harmony import */ var lodash_get__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_get__WEBPACK_IMPORTED_MODULE_0__);
|
|
6132
|
+
/* harmony import */ var _resolver_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(82788);
|
|
6133
|
+
/* harmony import */ var _resolver_strategies_generic_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(87485);
|
|
6134
|
+
/* harmony import */ var _resolver_strategies_openapi_2_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(48390);
|
|
6135
|
+
/* harmony import */ var _resolver_strategies_openapi_3_0_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(79018);
|
|
6126
6136
|
|
|
6127
6137
|
// The subtree resolver is a higher-level interface that allows you to
|
|
6128
6138
|
// get the same result that you would from `Swagger.resolve`, but focuses on
|
|
@@ -6176,23 +6186,23 @@ const resolveSubtree = async function (obj, path) {
|
|
|
6176
6186
|
};
|
|
6177
6187
|
const strategy = strategies.find(strg => strg.match(resolveOptions));
|
|
6178
6188
|
const normalized = strategy.normalize(resolveOptions);
|
|
6179
|
-
const result = await (0,
|
|
6189
|
+
const result = await (0,_resolver_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])((0,_babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_5__["default"])((0,_babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_5__["default"])({}, resolveOptions), {}, {
|
|
6180
6190
|
spec: normalized,
|
|
6181
6191
|
allowMetaPatches: true,
|
|
6182
6192
|
skipNormalization: true
|
|
6183
6193
|
}));
|
|
6184
6194
|
if (!returnEntireTree && Array.isArray(path) && path.length) {
|
|
6185
|
-
result.spec =
|
|
6195
|
+
result.spec = lodash_get__WEBPACK_IMPORTED_MODULE_0___default()(result.spec, path) || null;
|
|
6186
6196
|
}
|
|
6187
6197
|
return result;
|
|
6188
6198
|
};
|
|
6189
6199
|
const makeResolveSubtree = defaultOptions => async function (obj, path) {
|
|
6190
6200
|
let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
6191
|
-
const mergedOptions = (0,
|
|
6201
|
+
const mergedOptions = (0,_babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_5__["default"])((0,_babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_5__["default"])({}, defaultOptions), options);
|
|
6192
6202
|
return resolveSubtree(obj, path, mergedOptions);
|
|
6193
6203
|
};
|
|
6194
6204
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (makeResolveSubtree({
|
|
6195
|
-
strategies: [
|
|
6205
|
+
strategies: [_resolver_strategies_openapi_3_0_index_js__WEBPACK_IMPORTED_MODULE_4__["default"], _resolver_strategies_openapi_2_index_js__WEBPACK_IMPORTED_MODULE_3__["default"], _resolver_strategies_generic_index_js__WEBPACK_IMPORTED_MODULE_2__["default"]]
|
|
6196
6206
|
}));
|
|
6197
6207
|
|
|
6198
6208
|
/***/ }),
|
|
@@ -6581,6 +6591,16 @@ var parent = __webpack_require__(19373);
|
|
|
6581
6591
|
module.exports = parent;
|
|
6582
6592
|
|
|
6583
6593
|
|
|
6594
|
+
/***/ }),
|
|
6595
|
+
|
|
6596
|
+
/***/ 81331:
|
|
6597
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6598
|
+
|
|
6599
|
+
var parent = __webpack_require__(52759);
|
|
6600
|
+
|
|
6601
|
+
module.exports = parent;
|
|
6602
|
+
|
|
6603
|
+
|
|
6584
6604
|
/***/ }),
|
|
6585
6605
|
|
|
6586
6606
|
/***/ 91254:
|
|
@@ -6706,6 +6726,17 @@ var entryVirtual = __webpack_require__(35703);
|
|
|
6706
6726
|
module.exports = entryVirtual('Array').indexOf;
|
|
6707
6727
|
|
|
6708
6728
|
|
|
6729
|
+
/***/ }),
|
|
6730
|
+
|
|
6731
|
+
/***/ 9896:
|
|
6732
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6733
|
+
|
|
6734
|
+
__webpack_require__(48528);
|
|
6735
|
+
var entryVirtual = __webpack_require__(35703);
|
|
6736
|
+
|
|
6737
|
+
module.exports = entryVirtual('Array').push;
|
|
6738
|
+
|
|
6739
|
+
|
|
6709
6740
|
/***/ }),
|
|
6710
6741
|
|
|
6711
6742
|
/***/ 2480:
|
|
@@ -6738,6 +6769,22 @@ module.exports = function (it) {
|
|
|
6738
6769
|
};
|
|
6739
6770
|
|
|
6740
6771
|
|
|
6772
|
+
/***/ }),
|
|
6773
|
+
|
|
6774
|
+
/***/ 93993:
|
|
6775
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6776
|
+
|
|
6777
|
+
var isPrototypeOf = __webpack_require__(7046);
|
|
6778
|
+
var method = __webpack_require__(9896);
|
|
6779
|
+
|
|
6780
|
+
var ArrayPrototype = Array.prototype;
|
|
6781
|
+
|
|
6782
|
+
module.exports = function (it) {
|
|
6783
|
+
var own = it.push;
|
|
6784
|
+
return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.push) ? method : own;
|
|
6785
|
+
};
|
|
6786
|
+
|
|
6787
|
+
|
|
6741
6788
|
/***/ }),
|
|
6742
6789
|
|
|
6743
6790
|
/***/ 7702:
|
|
@@ -6880,126 +6927,40 @@ module.exports = WrappedWellKnownSymbolModule.f('toPrimitive');
|
|
|
6880
6927
|
|
|
6881
6928
|
/***/ }),
|
|
6882
6929
|
|
|
6883
|
-
/***/
|
|
6884
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6885
|
-
|
|
6886
|
-
module.exports = __webpack_require__(51675);
|
|
6887
|
-
|
|
6888
|
-
|
|
6889
|
-
/***/ }),
|
|
6890
|
-
|
|
6891
|
-
/***/ 57152:
|
|
6892
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6893
|
-
|
|
6894
|
-
module.exports = __webpack_require__(82507);
|
|
6895
|
-
|
|
6896
|
-
|
|
6897
|
-
/***/ }),
|
|
6898
|
-
|
|
6899
|
-
/***/ 69447:
|
|
6900
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6901
|
-
|
|
6902
|
-
module.exports = __webpack_require__(628);
|
|
6903
|
-
|
|
6904
|
-
|
|
6905
|
-
/***/ }),
|
|
6906
|
-
|
|
6907
|
-
/***/ 70573:
|
|
6908
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6909
|
-
|
|
6910
|
-
module.exports = __webpack_require__(18180);
|
|
6911
|
-
|
|
6912
|
-
|
|
6913
|
-
/***/ }),
|
|
6914
|
-
|
|
6915
|
-
/***/ 73685:
|
|
6916
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6917
|
-
|
|
6918
|
-
module.exports = __webpack_require__(80621);
|
|
6919
|
-
|
|
6920
|
-
|
|
6921
|
-
/***/ }),
|
|
6922
|
-
|
|
6923
|
-
/***/ 27533:
|
|
6924
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6925
|
-
|
|
6926
|
-
module.exports = __webpack_require__(48403);
|
|
6927
|
-
|
|
6928
|
-
|
|
6929
|
-
/***/ }),
|
|
6930
|
-
|
|
6931
|
-
/***/ 39057:
|
|
6932
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6933
|
-
|
|
6934
|
-
module.exports = __webpack_require__(82108);
|
|
6935
|
-
|
|
6936
|
-
|
|
6937
|
-
/***/ }),
|
|
6938
|
-
|
|
6939
|
-
/***/ 84710:
|
|
6940
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6941
|
-
|
|
6942
|
-
module.exports = __webpack_require__(14058);
|
|
6943
|
-
|
|
6944
|
-
|
|
6945
|
-
/***/ }),
|
|
6946
|
-
|
|
6947
|
-
/***/ 93799:
|
|
6948
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6949
|
-
|
|
6950
|
-
module.exports = __webpack_require__(92093);
|
|
6951
|
-
|
|
6952
|
-
|
|
6953
|
-
/***/ }),
|
|
6954
|
-
|
|
6955
|
-
/***/ 86600:
|
|
6956
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6957
|
-
|
|
6958
|
-
module.exports = __webpack_require__(52201);
|
|
6959
|
-
|
|
6960
|
-
|
|
6961
|
-
/***/ }),
|
|
6962
|
-
|
|
6963
|
-
/***/ 9759:
|
|
6930
|
+
/***/ 51675:
|
|
6964
6931
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6965
6932
|
|
|
6966
|
-
|
|
6967
|
-
|
|
6968
|
-
|
|
6969
|
-
/***/ }),
|
|
6970
|
-
|
|
6971
|
-
/***/ 71384:
|
|
6972
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6933
|
+
var parent = __webpack_require__(3688);
|
|
6973
6934
|
|
|
6974
|
-
module.exports =
|
|
6935
|
+
module.exports = parent;
|
|
6975
6936
|
|
|
6976
6937
|
|
|
6977
6938
|
/***/ }),
|
|
6978
6939
|
|
|
6979
|
-
/***/
|
|
6940
|
+
/***/ 82507:
|
|
6980
6941
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6981
6942
|
|
|
6982
|
-
var parent = __webpack_require__(
|
|
6943
|
+
var parent = __webpack_require__(83838);
|
|
6983
6944
|
|
|
6984
6945
|
module.exports = parent;
|
|
6985
6946
|
|
|
6986
6947
|
|
|
6987
6948
|
/***/ }),
|
|
6988
6949
|
|
|
6989
|
-
/***/
|
|
6950
|
+
/***/ 628:
|
|
6990
6951
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6991
6952
|
|
|
6992
|
-
var parent = __webpack_require__(
|
|
6953
|
+
var parent = __webpack_require__(15684);
|
|
6993
6954
|
|
|
6994
6955
|
module.exports = parent;
|
|
6995
6956
|
|
|
6996
6957
|
|
|
6997
6958
|
/***/ }),
|
|
6998
6959
|
|
|
6999
|
-
/***/
|
|
6960
|
+
/***/ 34501:
|
|
7000
6961
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
7001
6962
|
|
|
7002
|
-
var parent = __webpack_require__(
|
|
6963
|
+
var parent = __webpack_require__(81331);
|
|
7003
6964
|
|
|
7004
6965
|
module.exports = parent;
|
|
7005
6966
|
|
|
@@ -7345,6 +7306,41 @@ module.exports = function (METHOD_NAME, argument) {
|
|
|
7345
7306
|
};
|
|
7346
7307
|
|
|
7347
7308
|
|
|
7309
|
+
/***/ }),
|
|
7310
|
+
|
|
7311
|
+
/***/ 89779:
|
|
7312
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
7313
|
+
|
|
7314
|
+
"use strict";
|
|
7315
|
+
|
|
7316
|
+
var DESCRIPTORS = __webpack_require__(55746);
|
|
7317
|
+
var isArray = __webpack_require__(1052);
|
|
7318
|
+
|
|
7319
|
+
var $TypeError = TypeError;
|
|
7320
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
7321
|
+
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
7322
|
+
|
|
7323
|
+
// Safari < 13 does not throw an error in this case
|
|
7324
|
+
var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {
|
|
7325
|
+
// makes no sense without proper strict mode support
|
|
7326
|
+
if (this !== undefined) return true;
|
|
7327
|
+
try {
|
|
7328
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
7329
|
+
Object.defineProperty([], 'length', { writable: false }).length = 1;
|
|
7330
|
+
} catch (error) {
|
|
7331
|
+
return error instanceof TypeError;
|
|
7332
|
+
}
|
|
7333
|
+
}();
|
|
7334
|
+
|
|
7335
|
+
module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
|
|
7336
|
+
if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {
|
|
7337
|
+
throw $TypeError('Cannot set read only .length');
|
|
7338
|
+
} return O.length = length;
|
|
7339
|
+
} : function (O, length) {
|
|
7340
|
+
return O.length = length;
|
|
7341
|
+
};
|
|
7342
|
+
|
|
7343
|
+
|
|
7348
7344
|
/***/ }),
|
|
7349
7345
|
|
|
7350
7346
|
/***/ 15790:
|
|
@@ -8107,7 +8103,7 @@ module.exports = function (V, P) {
|
|
|
8107
8103
|
/***/ }),
|
|
8108
8104
|
|
|
8109
8105
|
/***/ 21899:
|
|
8110
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__)
|
|
8106
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
8111
8107
|
|
|
8112
8108
|
var check = function (it) {
|
|
8113
8109
|
return it && it.Math == Math && it;
|
|
@@ -8122,7 +8118,7 @@ module.exports =
|
|
|
8122
8118
|
check(typeof self == 'object' && self) ||
|
|
8123
8119
|
check(typeof __webpack_require__.g == 'object' && __webpack_require__.g) ||
|
|
8124
8120
|
// eslint-disable-next-line no-new-func -- fallback
|
|
8125
|
-
(function () { return this; })() || Function('return this')();
|
|
8121
|
+
(function () { return this; })() || this || Function('return this')();
|
|
8126
8122
|
|
|
8127
8123
|
|
|
8128
8124
|
/***/ }),
|
|
@@ -9245,10 +9241,10 @@ var store = __webpack_require__(63030);
|
|
|
9245
9241
|
(module.exports = function (key, value) {
|
|
9246
9242
|
return store[key] || (store[key] = value !== undefined ? value : {});
|
|
9247
9243
|
})('versions', []).push({
|
|
9248
|
-
version: '3.
|
|
9244
|
+
version: '3.30.2',
|
|
9249
9245
|
mode: IS_PURE ? 'pure' : 'global',
|
|
9250
9246
|
copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
|
|
9251
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
9247
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE',
|
|
9252
9248
|
source: 'https://github.com/zloirock/core-js'
|
|
9253
9249
|
});
|
|
9254
9250
|
|
|
@@ -9304,13 +9300,18 @@ module.exports = {
|
|
|
9304
9300
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
9305
9301
|
var V8_VERSION = __webpack_require__(53385);
|
|
9306
9302
|
var fails = __webpack_require__(95981);
|
|
9303
|
+
var global = __webpack_require__(21899);
|
|
9304
|
+
|
|
9305
|
+
var $String = global.String;
|
|
9307
9306
|
|
|
9308
9307
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
9309
9308
|
module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
9310
9309
|
var symbol = Symbol();
|
|
9311
9310
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
9312
9311
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
9313
|
-
|
|
9312
|
+
// nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
|
|
9313
|
+
// of course, fail.
|
|
9314
|
+
return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
9314
9315
|
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
9315
9316
|
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
|
|
9316
9317
|
});
|
|
@@ -9851,6 +9852,56 @@ if (!IS_PURE && DESCRIPTORS && values.name !== 'values') try {
|
|
|
9851
9852
|
} catch (error) { /* empty */ }
|
|
9852
9853
|
|
|
9853
9854
|
|
|
9855
|
+
/***/ }),
|
|
9856
|
+
|
|
9857
|
+
/***/ 48528:
|
|
9858
|
+
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
9859
|
+
|
|
9860
|
+
"use strict";
|
|
9861
|
+
|
|
9862
|
+
var $ = __webpack_require__(76887);
|
|
9863
|
+
var toObject = __webpack_require__(89678);
|
|
9864
|
+
var lengthOfArrayLike = __webpack_require__(10623);
|
|
9865
|
+
var setArrayLength = __webpack_require__(89779);
|
|
9866
|
+
var doesNotExceedSafeInteger = __webpack_require__(66796);
|
|
9867
|
+
var fails = __webpack_require__(95981);
|
|
9868
|
+
|
|
9869
|
+
var INCORRECT_TO_LENGTH = fails(function () {
|
|
9870
|
+
return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
|
|
9871
|
+
});
|
|
9872
|
+
|
|
9873
|
+
// V8 and Safari <= 15.4, FF < 23 throws InternalError
|
|
9874
|
+
// https://bugs.chromium.org/p/v8/issues/detail?id=12681
|
|
9875
|
+
var properErrorOnNonWritableLength = function () {
|
|
9876
|
+
try {
|
|
9877
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
9878
|
+
Object.defineProperty([], 'length', { writable: false }).push();
|
|
9879
|
+
} catch (error) {
|
|
9880
|
+
return error instanceof TypeError;
|
|
9881
|
+
}
|
|
9882
|
+
};
|
|
9883
|
+
|
|
9884
|
+
var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
|
|
9885
|
+
|
|
9886
|
+
// `Array.prototype.push` method
|
|
9887
|
+
// https://tc39.es/ecma262/#sec-array.prototype.push
|
|
9888
|
+
$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
|
|
9889
|
+
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
9890
|
+
push: function push(item) {
|
|
9891
|
+
var O = toObject(this);
|
|
9892
|
+
var len = lengthOfArrayLike(O);
|
|
9893
|
+
var argCount = arguments.length;
|
|
9894
|
+
doesNotExceedSafeInteger(len + argCount);
|
|
9895
|
+
for (var i = 0; i < argCount; i++) {
|
|
9896
|
+
O[len] = arguments[i];
|
|
9897
|
+
len++;
|
|
9898
|
+
}
|
|
9899
|
+
setArrayLength(O, len);
|
|
9900
|
+
return len;
|
|
9901
|
+
}
|
|
9902
|
+
});
|
|
9903
|
+
|
|
9904
|
+
|
|
9854
9905
|
/***/ }),
|
|
9855
9906
|
|
|
9856
9907
|
/***/ 18084:
|
|
@@ -10895,6 +10946,16 @@ var parent = __webpack_require__(34570);
|
|
|
10895
10946
|
module.exports = parent;
|
|
10896
10947
|
|
|
10897
10948
|
|
|
10949
|
+
/***/ }),
|
|
10950
|
+
|
|
10951
|
+
/***/ 52759:
|
|
10952
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
10953
|
+
|
|
10954
|
+
var parent = __webpack_require__(93993);
|
|
10955
|
+
|
|
10956
|
+
module.exports = parent;
|
|
10957
|
+
|
|
10958
|
+
|
|
10898
10959
|
/***/ }),
|
|
10899
10960
|
|
|
10900
10961
|
/***/ 57396:
|
|
@@ -19279,7 +19340,7 @@ module.exports = traverse;
|
|
|
19279
19340
|
/***/ (function(module, exports, __webpack_require__) {
|
|
19280
19341
|
|
|
19281
19342
|
/* module decorator */ module = __webpack_require__.nmd(module);
|
|
19282
|
-
var __WEBPACK_AMD_DEFINE_RESULT__;/*! https://mths.be/punycode v1.
|
|
19343
|
+
var __WEBPACK_AMD_DEFINE_RESULT__;/*! https://mths.be/punycode v1.4.1 by @mathias */
|
|
19283
19344
|
;(function(root) {
|
|
19284
19345
|
|
|
19285
19346
|
/** Detect free variables */
|
|
@@ -19345,7 +19406,7 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/*! https://mths.be/punycode v1.3.2 by @mathia
|
|
|
19345
19406
|
* @returns {Error} Throws a `RangeError` with the applicable error message.
|
|
19346
19407
|
*/
|
|
19347
19408
|
function error(type) {
|
|
19348
|
-
throw RangeError(errors[type]);
|
|
19409
|
+
throw new RangeError(errors[type]);
|
|
19349
19410
|
}
|
|
19350
19411
|
|
|
19351
19412
|
/**
|
|
@@ -19492,7 +19553,7 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/*! https://mths.be/punycode v1.3.2 by @mathia
|
|
|
19492
19553
|
|
|
19493
19554
|
/**
|
|
19494
19555
|
* Bias adaptation function as per section 3.4 of RFC 3492.
|
|
19495
|
-
*
|
|
19556
|
+
* https://tools.ietf.org/html/rfc3492#section-3.4
|
|
19496
19557
|
* @private
|
|
19497
19558
|
*/
|
|
19498
19559
|
function adapt(delta, numPoints, firstTime) {
|
|
@@ -19767,7 +19828,7 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/*! https://mths.be/punycode v1.3.2 by @mathia
|
|
|
19767
19828
|
* @memberOf punycode
|
|
19768
19829
|
* @type String
|
|
19769
19830
|
*/
|
|
19770
|
-
'version': '1.
|
|
19831
|
+
'version': '1.4.1',
|
|
19771
19832
|
/**
|
|
19772
19833
|
* An object of methods to convert from JavaScript's internal character
|
|
19773
19834
|
* representation (UCS-2) to Unicode code points, and back.
|
|
@@ -19800,216 +19861,38 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/*! https://mths.be/punycode v1.3.2 by @mathia
|
|
|
19800
19861
|
}(this));
|
|
19801
19862
|
|
|
19802
19863
|
|
|
19803
|
-
/***/ }),
|
|
19804
|
-
|
|
19805
|
-
/***/ 27225:
|
|
19806
|
-
/***/ ((module) => {
|
|
19807
|
-
|
|
19808
|
-
"use strict";
|
|
19809
|
-
// Copyright Joyent, Inc. and other Node contributors.
|
|
19810
|
-
//
|
|
19811
|
-
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
19812
|
-
// copy of this software and associated documentation files (the
|
|
19813
|
-
// "Software"), to deal in the Software without restriction, including
|
|
19814
|
-
// without limitation the rights to use, copy, modify, merge, publish,
|
|
19815
|
-
// distribute, sublicense, and/or sell copies of the Software, and to permit
|
|
19816
|
-
// persons to whom the Software is furnished to do so, subject to the
|
|
19817
|
-
// following conditions:
|
|
19818
|
-
//
|
|
19819
|
-
// The above copyright notice and this permission notice shall be included
|
|
19820
|
-
// in all copies or substantial portions of the Software.
|
|
19821
|
-
//
|
|
19822
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
19823
|
-
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
19824
|
-
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
|
|
19825
|
-
// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
|
19826
|
-
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
|
19827
|
-
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
|
|
19828
|
-
// USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
19829
|
-
|
|
19830
|
-
|
|
19831
|
-
|
|
19832
|
-
// If obj.hasOwnProperty has been overridden, then calling
|
|
19833
|
-
// obj.hasOwnProperty(prop) will break.
|
|
19834
|
-
// See: https://github.com/joyent/node/issues/1707
|
|
19835
|
-
function hasOwnProperty(obj, prop) {
|
|
19836
|
-
return Object.prototype.hasOwnProperty.call(obj, prop);
|
|
19837
|
-
}
|
|
19838
|
-
|
|
19839
|
-
module.exports = function(qs, sep, eq, options) {
|
|
19840
|
-
sep = sep || '&';
|
|
19841
|
-
eq = eq || '=';
|
|
19842
|
-
var obj = {};
|
|
19843
|
-
|
|
19844
|
-
if (typeof qs !== 'string' || qs.length === 0) {
|
|
19845
|
-
return obj;
|
|
19846
|
-
}
|
|
19847
|
-
|
|
19848
|
-
var regexp = /\+/g;
|
|
19849
|
-
qs = qs.split(sep);
|
|
19850
|
-
|
|
19851
|
-
var maxKeys = 1000;
|
|
19852
|
-
if (options && typeof options.maxKeys === 'number') {
|
|
19853
|
-
maxKeys = options.maxKeys;
|
|
19854
|
-
}
|
|
19855
|
-
|
|
19856
|
-
var len = qs.length;
|
|
19857
|
-
// maxKeys <= 0 means that we should not limit keys count
|
|
19858
|
-
if (maxKeys > 0 && len > maxKeys) {
|
|
19859
|
-
len = maxKeys;
|
|
19860
|
-
}
|
|
19861
|
-
|
|
19862
|
-
for (var i = 0; i < len; ++i) {
|
|
19863
|
-
var x = qs[i].replace(regexp, '%20'),
|
|
19864
|
-
idx = x.indexOf(eq),
|
|
19865
|
-
kstr, vstr, k, v;
|
|
19866
|
-
|
|
19867
|
-
if (idx >= 0) {
|
|
19868
|
-
kstr = x.substr(0, idx);
|
|
19869
|
-
vstr = x.substr(idx + 1);
|
|
19870
|
-
} else {
|
|
19871
|
-
kstr = x;
|
|
19872
|
-
vstr = '';
|
|
19873
|
-
}
|
|
19874
|
-
|
|
19875
|
-
k = decodeURIComponent(kstr);
|
|
19876
|
-
v = decodeURIComponent(vstr);
|
|
19877
|
-
|
|
19878
|
-
if (!hasOwnProperty(obj, k)) {
|
|
19879
|
-
obj[k] = v;
|
|
19880
|
-
} else if (Array.isArray(obj[k])) {
|
|
19881
|
-
obj[k].push(v);
|
|
19882
|
-
} else {
|
|
19883
|
-
obj[k] = [obj[k], v];
|
|
19884
|
-
}
|
|
19885
|
-
}
|
|
19886
|
-
|
|
19887
|
-
return obj;
|
|
19888
|
-
};
|
|
19889
|
-
|
|
19890
|
-
|
|
19891
|
-
/***/ }),
|
|
19892
|
-
|
|
19893
|
-
/***/ 44066:
|
|
19894
|
-
/***/ ((module) => {
|
|
19895
|
-
|
|
19896
|
-
"use strict";
|
|
19897
|
-
// Copyright Joyent, Inc. and other Node contributors.
|
|
19898
|
-
//
|
|
19899
|
-
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
19900
|
-
// copy of this software and associated documentation files (the
|
|
19901
|
-
// "Software"), to deal in the Software without restriction, including
|
|
19902
|
-
// without limitation the rights to use, copy, modify, merge, publish,
|
|
19903
|
-
// distribute, sublicense, and/or sell copies of the Software, and to permit
|
|
19904
|
-
// persons to whom the Software is furnished to do so, subject to the
|
|
19905
|
-
// following conditions:
|
|
19906
|
-
//
|
|
19907
|
-
// The above copyright notice and this permission notice shall be included
|
|
19908
|
-
// in all copies or substantial portions of the Software.
|
|
19909
|
-
//
|
|
19910
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
19911
|
-
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
19912
|
-
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
|
|
19913
|
-
// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
|
19914
|
-
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
|
19915
|
-
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
|
|
19916
|
-
// USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
19917
|
-
|
|
19918
|
-
|
|
19919
|
-
|
|
19920
|
-
var stringifyPrimitive = function(v) {
|
|
19921
|
-
switch (typeof v) {
|
|
19922
|
-
case 'string':
|
|
19923
|
-
return v;
|
|
19924
|
-
|
|
19925
|
-
case 'boolean':
|
|
19926
|
-
return v ? 'true' : 'false';
|
|
19927
|
-
|
|
19928
|
-
case 'number':
|
|
19929
|
-
return isFinite(v) ? v : '';
|
|
19930
|
-
|
|
19931
|
-
default:
|
|
19932
|
-
return '';
|
|
19933
|
-
}
|
|
19934
|
-
};
|
|
19935
|
-
|
|
19936
|
-
module.exports = function(obj, sep, eq, name) {
|
|
19937
|
-
sep = sep || '&';
|
|
19938
|
-
eq = eq || '=';
|
|
19939
|
-
if (obj === null) {
|
|
19940
|
-
obj = undefined;
|
|
19941
|
-
}
|
|
19942
|
-
|
|
19943
|
-
if (typeof obj === 'object') {
|
|
19944
|
-
return Object.keys(obj).map(function(k) {
|
|
19945
|
-
var ks = encodeURIComponent(stringifyPrimitive(k)) + eq;
|
|
19946
|
-
if (Array.isArray(obj[k])) {
|
|
19947
|
-
return obj[k].map(function(v) {
|
|
19948
|
-
return ks + encodeURIComponent(stringifyPrimitive(v));
|
|
19949
|
-
}).join(sep);
|
|
19950
|
-
} else {
|
|
19951
|
-
return ks + encodeURIComponent(stringifyPrimitive(obj[k]));
|
|
19952
|
-
}
|
|
19953
|
-
}).join(sep);
|
|
19954
|
-
|
|
19955
|
-
}
|
|
19956
|
-
|
|
19957
|
-
if (!name) return '';
|
|
19958
|
-
return encodeURIComponent(stringifyPrimitive(name)) + eq +
|
|
19959
|
-
encodeURIComponent(stringifyPrimitive(obj));
|
|
19960
|
-
};
|
|
19961
|
-
|
|
19962
|
-
|
|
19963
|
-
/***/ }),
|
|
19964
|
-
|
|
19965
|
-
/***/ 36254:
|
|
19966
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
19967
|
-
|
|
19968
|
-
"use strict";
|
|
19969
|
-
|
|
19970
|
-
|
|
19971
|
-
exports.decode = exports.parse = __webpack_require__(27225);
|
|
19972
|
-
exports.encode = exports.stringify = __webpack_require__(44066);
|
|
19973
|
-
|
|
19974
|
-
|
|
19975
19864
|
/***/ }),
|
|
19976
19865
|
|
|
19977
19866
|
/***/ 8575:
|
|
19978
19867
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
19979
19868
|
|
|
19980
19869
|
"use strict";
|
|
19981
|
-
|
|
19982
|
-
|
|
19983
|
-
|
|
19984
|
-
|
|
19985
|
-
|
|
19986
|
-
|
|
19987
|
-
|
|
19988
|
-
|
|
19989
|
-
|
|
19990
|
-
|
|
19991
|
-
|
|
19992
|
-
|
|
19993
|
-
|
|
19994
|
-
|
|
19995
|
-
|
|
19996
|
-
|
|
19997
|
-
|
|
19998
|
-
|
|
19999
|
-
|
|
20000
|
-
|
|
19870
|
+
/*
|
|
19871
|
+
* Copyright Joyent, Inc. and other Node contributors.
|
|
19872
|
+
*
|
|
19873
|
+
* Permission is hereby granted, free of charge, to any person obtaining a
|
|
19874
|
+
* copy of this software and associated documentation files (the
|
|
19875
|
+
* "Software"), to deal in the Software without restriction, including
|
|
19876
|
+
* without limitation the rights to use, copy, modify, merge, publish,
|
|
19877
|
+
* distribute, sublicense, and/or sell copies of the Software, and to permit
|
|
19878
|
+
* persons to whom the Software is furnished to do so, subject to the
|
|
19879
|
+
* following conditions:
|
|
19880
|
+
*
|
|
19881
|
+
* The above copyright notice and this permission notice shall be included
|
|
19882
|
+
* in all copies or substantial portions of the Software.
|
|
19883
|
+
*
|
|
19884
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
19885
|
+
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
19886
|
+
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
|
|
19887
|
+
* NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
|
19888
|
+
* DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
|
19889
|
+
* OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
|
|
19890
|
+
* USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
19891
|
+
*/
|
|
20001
19892
|
|
|
20002
19893
|
|
|
20003
19894
|
|
|
20004
19895
|
var punycode = __webpack_require__(52511);
|
|
20005
|
-
var util = __webpack_require__(62502);
|
|
20006
|
-
|
|
20007
|
-
exports.parse = urlParse;
|
|
20008
|
-
exports.resolve = urlResolve;
|
|
20009
|
-
exports.resolveObject = urlResolveObject;
|
|
20010
|
-
exports.format = urlFormat;
|
|
20011
|
-
|
|
20012
|
-
exports.Url = Url;
|
|
20013
19896
|
|
|
20014
19897
|
function Url() {
|
|
20015
19898
|
this.protocol = null;
|
|
@@ -20028,85 +19911,102 @@ function Url() {
|
|
|
20028
19911
|
|
|
20029
19912
|
// Reference: RFC 3986, RFC 1808, RFC 2396
|
|
20030
19913
|
|
|
20031
|
-
|
|
20032
|
-
|
|
19914
|
+
/*
|
|
19915
|
+
* define these here so at least they only have to be
|
|
19916
|
+
* compiled once on the first module load.
|
|
19917
|
+
*/
|
|
20033
19918
|
var protocolPattern = /^([a-z0-9.+-]+:)/i,
|
|
20034
|
-
|
|
20035
|
-
|
|
20036
|
-
|
|
20037
|
-
|
|
20038
|
-
|
|
20039
|
-
|
|
20040
|
-
|
|
20041
|
-
|
|
20042
|
-
|
|
20043
|
-
|
|
20044
|
-
|
|
20045
|
-
|
|
20046
|
-
|
|
20047
|
-
|
|
20048
|
-
|
|
20049
|
-
|
|
20050
|
-
|
|
20051
|
-
|
|
20052
|
-
|
|
20053
|
-
|
|
20054
|
-
|
|
20055
|
-
|
|
20056
|
-
|
|
20057
|
-
|
|
20058
|
-
|
|
20059
|
-
|
|
20060
|
-
|
|
20061
|
-
|
|
20062
|
-
|
|
20063
|
-
|
|
20064
|
-
|
|
20065
|
-
|
|
20066
|
-
|
|
20067
|
-
|
|
20068
|
-
|
|
20069
|
-
|
|
20070
|
-
|
|
20071
|
-
|
|
20072
|
-
|
|
20073
|
-
|
|
20074
|
-
|
|
20075
|
-
|
|
20076
|
-
|
|
20077
|
-
|
|
20078
|
-
|
|
20079
|
-
|
|
20080
|
-
|
|
19919
|
+
portPattern = /:[0-9]*$/,
|
|
19920
|
+
|
|
19921
|
+
// Special case for a simple path URL
|
|
19922
|
+
simplePathPattern = /^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,
|
|
19923
|
+
|
|
19924
|
+
/*
|
|
19925
|
+
* RFC 2396: characters reserved for delimiting URLs.
|
|
19926
|
+
* We actually just auto-escape these.
|
|
19927
|
+
*/
|
|
19928
|
+
delims = [
|
|
19929
|
+
'<', '>', '"', '`', ' ', '\r', '\n', '\t'
|
|
19930
|
+
],
|
|
19931
|
+
|
|
19932
|
+
// RFC 2396: characters not allowed for various reasons.
|
|
19933
|
+
unwise = [
|
|
19934
|
+
'{', '}', '|', '\\', '^', '`'
|
|
19935
|
+
].concat(delims),
|
|
19936
|
+
|
|
19937
|
+
// Allowed by RFCs, but cause of XSS attacks. Always escape these.
|
|
19938
|
+
autoEscape = ['\''].concat(unwise),
|
|
19939
|
+
/*
|
|
19940
|
+
* Characters that are never ever allowed in a hostname.
|
|
19941
|
+
* Note that any invalid chars are also handled, but these
|
|
19942
|
+
* are the ones that are *expected* to be seen, so we fast-path
|
|
19943
|
+
* them.
|
|
19944
|
+
*/
|
|
19945
|
+
nonHostChars = [
|
|
19946
|
+
'%', '/', '?', ';', '#'
|
|
19947
|
+
].concat(autoEscape),
|
|
19948
|
+
hostEndingChars = [
|
|
19949
|
+
'/', '?', '#'
|
|
19950
|
+
],
|
|
19951
|
+
hostnameMaxLen = 255,
|
|
19952
|
+
hostnamePartPattern = /^[+a-z0-9A-Z_-]{0,63}$/,
|
|
19953
|
+
hostnamePartStart = /^([+a-z0-9A-Z_-]{0,63})(.*)$/,
|
|
19954
|
+
// protocols that can allow "unsafe" and "unwise" chars.
|
|
19955
|
+
unsafeProtocol = {
|
|
19956
|
+
javascript: true,
|
|
19957
|
+
'javascript:': true
|
|
19958
|
+
},
|
|
19959
|
+
// protocols that never have a hostname.
|
|
19960
|
+
hostlessProtocol = {
|
|
19961
|
+
javascript: true,
|
|
19962
|
+
'javascript:': true
|
|
19963
|
+
},
|
|
19964
|
+
// protocols that always contain a // bit.
|
|
19965
|
+
slashedProtocol = {
|
|
19966
|
+
http: true,
|
|
19967
|
+
https: true,
|
|
19968
|
+
ftp: true,
|
|
19969
|
+
gopher: true,
|
|
19970
|
+
file: true,
|
|
19971
|
+
'http:': true,
|
|
19972
|
+
'https:': true,
|
|
19973
|
+
'ftp:': true,
|
|
19974
|
+
'gopher:': true,
|
|
19975
|
+
'file:': true
|
|
19976
|
+
},
|
|
19977
|
+
querystring = __webpack_require__(80129);
|
|
20081
19978
|
|
|
20082
19979
|
function urlParse(url, parseQueryString, slashesDenoteHost) {
|
|
20083
|
-
if (url &&
|
|
19980
|
+
if (url && typeof url === 'object' && url instanceof Url) { return url; }
|
|
20084
19981
|
|
|
20085
|
-
var u = new Url;
|
|
19982
|
+
var u = new Url();
|
|
20086
19983
|
u.parse(url, parseQueryString, slashesDenoteHost);
|
|
20087
19984
|
return u;
|
|
20088
19985
|
}
|
|
20089
19986
|
|
|
20090
|
-
Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {
|
|
20091
|
-
if (
|
|
19987
|
+
Url.prototype.parse = function (url, parseQueryString, slashesDenoteHost) {
|
|
19988
|
+
if (typeof url !== 'string') {
|
|
20092
19989
|
throw new TypeError("Parameter 'url' must be a string, not " + typeof url);
|
|
20093
19990
|
}
|
|
20094
19991
|
|
|
20095
|
-
|
|
20096
|
-
|
|
20097
|
-
|
|
19992
|
+
/*
|
|
19993
|
+
* Copy chrome, IE, opera backslash-handling behavior.
|
|
19994
|
+
* Back slashes before the query string get converted to forward slashes
|
|
19995
|
+
* See: https://code.google.com/p/chromium/issues/detail?id=25916
|
|
19996
|
+
*/
|
|
20098
19997
|
var queryIndex = url.indexOf('?'),
|
|
20099
|
-
|
|
20100
|
-
|
|
20101
|
-
|
|
20102
|
-
slashRegex = /\\/g;
|
|
19998
|
+
splitter = queryIndex !== -1 && queryIndex < url.indexOf('#') ? '?' : '#',
|
|
19999
|
+
uSplit = url.split(splitter),
|
|
20000
|
+
slashRegex = /\\/g;
|
|
20103
20001
|
uSplit[0] = uSplit[0].replace(slashRegex, '/');
|
|
20104
20002
|
url = uSplit.join(splitter);
|
|
20105
20003
|
|
|
20106
20004
|
var rest = url;
|
|
20107
20005
|
|
|
20108
|
-
|
|
20109
|
-
|
|
20006
|
+
/*
|
|
20007
|
+
* trim before proceeding.
|
|
20008
|
+
* This is to support parse stuff like " http://foo.com \n"
|
|
20009
|
+
*/
|
|
20110
20010
|
rest = rest.trim();
|
|
20111
20011
|
|
|
20112
20012
|
if (!slashesDenoteHost && url.split('#').length === 1) {
|
|
@@ -20139,11 +20039,13 @@ Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {
|
|
|
20139
20039
|
rest = rest.substr(proto.length);
|
|
20140
20040
|
}
|
|
20141
20041
|
|
|
20142
|
-
|
|
20143
|
-
|
|
20144
|
-
|
|
20145
|
-
|
|
20146
|
-
|
|
20042
|
+
/*
|
|
20043
|
+
* figure out if it's got a host
|
|
20044
|
+
* user@server is *always* interpreted as a hostname, and url
|
|
20045
|
+
* resolution will treat //foo/bar as host=foo,path=bar because that's
|
|
20046
|
+
* how the browser resolves relative URLs.
|
|
20047
|
+
*/
|
|
20048
|
+
if (slashesDenoteHost || proto || rest.match(/^\/\/[^@/]+@[^@/]+/)) {
|
|
20147
20049
|
var slashes = rest.substr(0, 2) === '//';
|
|
20148
20050
|
if (slashes && !(proto && hostlessProtocol[proto])) {
|
|
20149
20051
|
rest = rest.substr(2);
|
|
@@ -20151,46 +20053,54 @@ Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {
|
|
|
20151
20053
|
}
|
|
20152
20054
|
}
|
|
20153
20055
|
|
|
20154
|
-
if (!hostlessProtocol[proto] &&
|
|
20155
|
-
(slashes || (proto && !slashedProtocol[proto]))) {
|
|
20056
|
+
if (!hostlessProtocol[proto] && (slashes || (proto && !slashedProtocol[proto]))) {
|
|
20156
20057
|
|
|
20157
|
-
|
|
20158
|
-
|
|
20159
|
-
|
|
20160
|
-
|
|
20161
|
-
|
|
20162
|
-
|
|
20163
|
-
|
|
20164
|
-
|
|
20165
|
-
|
|
20166
|
-
|
|
20167
|
-
|
|
20058
|
+
/*
|
|
20059
|
+
* there's a hostname.
|
|
20060
|
+
* the first instance of /, ?, ;, or # ends the host.
|
|
20061
|
+
*
|
|
20062
|
+
* If there is an @ in the hostname, then non-host chars *are* allowed
|
|
20063
|
+
* to the left of the last @ sign, unless some host-ending character
|
|
20064
|
+
* comes *before* the @-sign.
|
|
20065
|
+
* URLs are obnoxious.
|
|
20066
|
+
*
|
|
20067
|
+
* ex:
|
|
20068
|
+
* http://a@b@c/ => user:a@b host:c
|
|
20069
|
+
* http://a@b?@c => user:a host:c path:/?@c
|
|
20070
|
+
*/
|
|
20168
20071
|
|
|
20169
|
-
|
|
20170
|
-
|
|
20072
|
+
/*
|
|
20073
|
+
* v0.12 TODO(isaacs): This is not quite how Chrome does things.
|
|
20074
|
+
* Review our test case against browsers more comprehensively.
|
|
20075
|
+
*/
|
|
20171
20076
|
|
|
20172
20077
|
// find the first instance of any hostEndingChars
|
|
20173
20078
|
var hostEnd = -1;
|
|
20174
20079
|
for (var i = 0; i < hostEndingChars.length; i++) {
|
|
20175
20080
|
var hec = rest.indexOf(hostEndingChars[i]);
|
|
20176
|
-
if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))
|
|
20177
|
-
hostEnd = hec;
|
|
20081
|
+
if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) { hostEnd = hec; }
|
|
20178
20082
|
}
|
|
20179
20083
|
|
|
20180
|
-
|
|
20181
|
-
|
|
20084
|
+
/*
|
|
20085
|
+
* at this point, either we have an explicit point where the
|
|
20086
|
+
* auth portion cannot go past, or the last @ char is the decider.
|
|
20087
|
+
*/
|
|
20182
20088
|
var auth, atSign;
|
|
20183
20089
|
if (hostEnd === -1) {
|
|
20184
20090
|
// atSign can be anywhere.
|
|
20185
20091
|
atSign = rest.lastIndexOf('@');
|
|
20186
20092
|
} else {
|
|
20187
|
-
|
|
20188
|
-
|
|
20093
|
+
/*
|
|
20094
|
+
* atSign must be in auth portion.
|
|
20095
|
+
* http://a@b/c@d => host:b auth:a path:/c@d
|
|
20096
|
+
*/
|
|
20189
20097
|
atSign = rest.lastIndexOf('@', hostEnd);
|
|
20190
20098
|
}
|
|
20191
20099
|
|
|
20192
|
-
|
|
20193
|
-
|
|
20100
|
+
/*
|
|
20101
|
+
* Now we have a portion which is definitely the auth.
|
|
20102
|
+
* Pull that off.
|
|
20103
|
+
*/
|
|
20194
20104
|
if (atSign !== -1) {
|
|
20195
20105
|
auth = rest.slice(0, atSign);
|
|
20196
20106
|
rest = rest.slice(atSign + 1);
|
|
@@ -20201,12 +20111,10 @@ Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {
|
|
|
20201
20111
|
hostEnd = -1;
|
|
20202
20112
|
for (var i = 0; i < nonHostChars.length; i++) {
|
|
20203
20113
|
var hec = rest.indexOf(nonHostChars[i]);
|
|
20204
|
-
if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))
|
|
20205
|
-
hostEnd = hec;
|
|
20114
|
+
if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) { hostEnd = hec; }
|
|
20206
20115
|
}
|
|
20207
20116
|
// if we still have not hit it, then the entire thing is a host.
|
|
20208
|
-
if (hostEnd === -1)
|
|
20209
|
-
hostEnd = rest.length;
|
|
20117
|
+
if (hostEnd === -1) { hostEnd = rest.length; }
|
|
20210
20118
|
|
|
20211
20119
|
this.host = rest.slice(0, hostEnd);
|
|
20212
20120
|
rest = rest.slice(hostEnd);
|
|
@@ -20214,28 +20122,33 @@ Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {
|
|
|
20214
20122
|
// pull out port.
|
|
20215
20123
|
this.parseHost();
|
|
20216
20124
|
|
|
20217
|
-
|
|
20218
|
-
|
|
20125
|
+
/*
|
|
20126
|
+
* we've indicated that there is a hostname,
|
|
20127
|
+
* so even if it's empty, it has to be present.
|
|
20128
|
+
*/
|
|
20219
20129
|
this.hostname = this.hostname || '';
|
|
20220
20130
|
|
|
20221
|
-
|
|
20222
|
-
|
|
20223
|
-
|
|
20224
|
-
|
|
20131
|
+
/*
|
|
20132
|
+
* if hostname begins with [ and ends with ]
|
|
20133
|
+
* assume that it's an IPv6 address.
|
|
20134
|
+
*/
|
|
20135
|
+
var ipv6Hostname = this.hostname[0] === '[' && this.hostname[this.hostname.length - 1] === ']';
|
|
20225
20136
|
|
|
20226
20137
|
// validate a little.
|
|
20227
20138
|
if (!ipv6Hostname) {
|
|
20228
20139
|
var hostparts = this.hostname.split(/\./);
|
|
20229
20140
|
for (var i = 0, l = hostparts.length; i < l; i++) {
|
|
20230
20141
|
var part = hostparts[i];
|
|
20231
|
-
if (!part) continue;
|
|
20142
|
+
if (!part) { continue; }
|
|
20232
20143
|
if (!part.match(hostnamePartPattern)) {
|
|
20233
20144
|
var newpart = '';
|
|
20234
20145
|
for (var j = 0, k = part.length; j < k; j++) {
|
|
20235
20146
|
if (part.charCodeAt(j) > 127) {
|
|
20236
|
-
|
|
20237
|
-
|
|
20238
|
-
|
|
20147
|
+
/*
|
|
20148
|
+
* we replace non-ASCII char with a temporary placeholder
|
|
20149
|
+
* we need this to make sure size of hostname is not
|
|
20150
|
+
* broken by replacing non-ASCII by nothing
|
|
20151
|
+
*/
|
|
20239
20152
|
newpart += 'x';
|
|
20240
20153
|
} else {
|
|
20241
20154
|
newpart += part[j];
|
|
@@ -20268,10 +20181,12 @@ Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {
|
|
|
20268
20181
|
}
|
|
20269
20182
|
|
|
20270
20183
|
if (!ipv6Hostname) {
|
|
20271
|
-
|
|
20272
|
-
|
|
20273
|
-
|
|
20274
|
-
|
|
20184
|
+
/*
|
|
20185
|
+
* IDNA Support: Returns a punycoded representation of "domain".
|
|
20186
|
+
* It only converts parts of the domain name that
|
|
20187
|
+
* have non-ASCII characters, i.e. it doesn't matter if
|
|
20188
|
+
* you call it with a domain that already is ASCII-only.
|
|
20189
|
+
*/
|
|
20275
20190
|
this.hostname = punycode.toASCII(this.hostname);
|
|
20276
20191
|
}
|
|
20277
20192
|
|
|
@@ -20280,8 +20195,10 @@ Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {
|
|
|
20280
20195
|
this.host = h + p;
|
|
20281
20196
|
this.href += this.host;
|
|
20282
20197
|
|
|
20283
|
-
|
|
20284
|
-
|
|
20198
|
+
/*
|
|
20199
|
+
* strip [ and ] from the hostname
|
|
20200
|
+
* the host field still retains them, though
|
|
20201
|
+
*/
|
|
20285
20202
|
if (ipv6Hostname) {
|
|
20286
20203
|
this.hostname = this.hostname.substr(1, this.hostname.length - 2);
|
|
20287
20204
|
if (rest[0] !== '/') {
|
|
@@ -20290,17 +20207,20 @@ Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {
|
|
|
20290
20207
|
}
|
|
20291
20208
|
}
|
|
20292
20209
|
|
|
20293
|
-
|
|
20294
|
-
|
|
20210
|
+
/*
|
|
20211
|
+
* now rest is set to the post-host stuff.
|
|
20212
|
+
* chop off any delim chars.
|
|
20213
|
+
*/
|
|
20295
20214
|
if (!unsafeProtocol[lowerProto]) {
|
|
20296
20215
|
|
|
20297
|
-
|
|
20298
|
-
|
|
20299
|
-
|
|
20216
|
+
/*
|
|
20217
|
+
* First, make 100% sure that any "autoEscape" chars get
|
|
20218
|
+
* escaped, even if encodeURIComponent doesn't think they
|
|
20219
|
+
* need to be.
|
|
20220
|
+
*/
|
|
20300
20221
|
for (var i = 0, l = autoEscape.length; i < l; i++) {
|
|
20301
20222
|
var ae = autoEscape[i];
|
|
20302
|
-
if (rest.indexOf(ae) === -1)
|
|
20303
|
-
continue;
|
|
20223
|
+
if (rest.indexOf(ae) === -1) { continue; }
|
|
20304
20224
|
var esc = encodeURIComponent(ae);
|
|
20305
20225
|
if (esc === ae) {
|
|
20306
20226
|
esc = escape(ae);
|
|
@@ -20309,7 +20229,6 @@ Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {
|
|
|
20309
20229
|
}
|
|
20310
20230
|
}
|
|
20311
20231
|
|
|
20312
|
-
|
|
20313
20232
|
// chop off from the tail first.
|
|
20314
20233
|
var hash = rest.indexOf('#');
|
|
20315
20234
|
if (hash !== -1) {
|
|
@@ -20330,13 +20249,12 @@ Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {
|
|
|
20330
20249
|
this.search = '';
|
|
20331
20250
|
this.query = {};
|
|
20332
20251
|
}
|
|
20333
|
-
if (rest) this.pathname = rest;
|
|
20334
|
-
if (slashedProtocol[lowerProto] &&
|
|
20335
|
-
this.hostname && !this.pathname) {
|
|
20252
|
+
if (rest) { this.pathname = rest; }
|
|
20253
|
+
if (slashedProtocol[lowerProto] && this.hostname && !this.pathname) {
|
|
20336
20254
|
this.pathname = '/';
|
|
20337
20255
|
}
|
|
20338
20256
|
|
|
20339
|
-
//to support http.request
|
|
20257
|
+
// to support http.request
|
|
20340
20258
|
if (this.pathname || this.search) {
|
|
20341
20259
|
var p = this.pathname || '';
|
|
20342
20260
|
var s = this.search || '';
|
|
@@ -20350,16 +20268,18 @@ Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {
|
|
|
20350
20268
|
|
|
20351
20269
|
// format a parsed object into a url string
|
|
20352
20270
|
function urlFormat(obj) {
|
|
20353
|
-
|
|
20354
|
-
|
|
20355
|
-
|
|
20356
|
-
|
|
20357
|
-
|
|
20358
|
-
|
|
20271
|
+
/*
|
|
20272
|
+
* ensure it's an object, and not a string url.
|
|
20273
|
+
* If it's an obj, this is a no-op.
|
|
20274
|
+
* this way, you can call url_format() on strings
|
|
20275
|
+
* to clean up potentially wonky urls.
|
|
20276
|
+
*/
|
|
20277
|
+
if (typeof obj === 'string') { obj = urlParse(obj); }
|
|
20278
|
+
if (!(obj instanceof Url)) { return Url.prototype.format.call(obj); }
|
|
20359
20279
|
return obj.format();
|
|
20360
20280
|
}
|
|
20361
20281
|
|
|
20362
|
-
Url.prototype.format = function() {
|
|
20282
|
+
Url.prototype.format = function () {
|
|
20363
20283
|
var auth = this.auth || '';
|
|
20364
20284
|
if (auth) {
|
|
20365
20285
|
auth = encodeURIComponent(auth);
|
|
@@ -20368,46 +20288,43 @@ Url.prototype.format = function() {
|
|
|
20368
20288
|
}
|
|
20369
20289
|
|
|
20370
20290
|
var protocol = this.protocol || '',
|
|
20371
|
-
|
|
20372
|
-
|
|
20373
|
-
|
|
20374
|
-
|
|
20291
|
+
pathname = this.pathname || '',
|
|
20292
|
+
hash = this.hash || '',
|
|
20293
|
+
host = false,
|
|
20294
|
+
query = '';
|
|
20375
20295
|
|
|
20376
20296
|
if (this.host) {
|
|
20377
20297
|
host = auth + this.host;
|
|
20378
20298
|
} else if (this.hostname) {
|
|
20379
|
-
host = auth + (this.hostname.indexOf(':') === -1 ?
|
|
20380
|
-
this.hostname :
|
|
20381
|
-
'[' + this.hostname + ']');
|
|
20299
|
+
host = auth + (this.hostname.indexOf(':') === -1 ? this.hostname : '[' + this.hostname + ']');
|
|
20382
20300
|
if (this.port) {
|
|
20383
20301
|
host += ':' + this.port;
|
|
20384
20302
|
}
|
|
20385
20303
|
}
|
|
20386
20304
|
|
|
20387
|
-
if (this.query &&
|
|
20388
|
-
util.isObject(this.query) &&
|
|
20389
|
-
Object.keys(this.query).length) {
|
|
20305
|
+
if (this.query && typeof this.query === 'object' && Object.keys(this.query).length) {
|
|
20390
20306
|
query = querystring.stringify(this.query);
|
|
20391
20307
|
}
|
|
20392
20308
|
|
|
20393
20309
|
var search = this.search || (query && ('?' + query)) || '';
|
|
20394
20310
|
|
|
20395
|
-
if (protocol && protocol.substr(-1) !== ':') protocol += ':';
|
|
20311
|
+
if (protocol && protocol.substr(-1) !== ':') { protocol += ':'; }
|
|
20396
20312
|
|
|
20397
|
-
|
|
20398
|
-
|
|
20399
|
-
|
|
20400
|
-
|
|
20313
|
+
/*
|
|
20314
|
+
* only the slashedProtocols get the //. Not mailto:, xmpp:, etc.
|
|
20315
|
+
* unless they had them to begin with.
|
|
20316
|
+
*/
|
|
20317
|
+
if (this.slashes || (!protocol || slashedProtocol[protocol]) && host !== false) {
|
|
20401
20318
|
host = '//' + (host || '');
|
|
20402
|
-
if (pathname && pathname.charAt(0) !== '/') pathname = '/' + pathname;
|
|
20319
|
+
if (pathname && pathname.charAt(0) !== '/') { pathname = '/' + pathname; }
|
|
20403
20320
|
} else if (!host) {
|
|
20404
20321
|
host = '';
|
|
20405
20322
|
}
|
|
20406
20323
|
|
|
20407
|
-
if (hash && hash.charAt(0) !== '#') hash = '#' + hash;
|
|
20408
|
-
if (search && search.charAt(0) !== '?') search = '?' + search;
|
|
20324
|
+
if (hash && hash.charAt(0) !== '#') { hash = '#' + hash; }
|
|
20325
|
+
if (search && search.charAt(0) !== '?') { search = '?' + search; }
|
|
20409
20326
|
|
|
20410
|
-
pathname = pathname.replace(/[?#]/g, function(match) {
|
|
20327
|
+
pathname = pathname.replace(/[?#]/g, function (match) {
|
|
20411
20328
|
return encodeURIComponent(match);
|
|
20412
20329
|
});
|
|
20413
20330
|
search = search.replace('#', '%23');
|
|
@@ -20419,17 +20336,17 @@ function urlResolve(source, relative) {
|
|
|
20419
20336
|
return urlParse(source, false, true).resolve(relative);
|
|
20420
20337
|
}
|
|
20421
20338
|
|
|
20422
|
-
Url.prototype.resolve = function(relative) {
|
|
20339
|
+
Url.prototype.resolve = function (relative) {
|
|
20423
20340
|
return this.resolveObject(urlParse(relative, false, true)).format();
|
|
20424
20341
|
};
|
|
20425
20342
|
|
|
20426
20343
|
function urlResolveObject(source, relative) {
|
|
20427
|
-
if (!source) return relative;
|
|
20344
|
+
if (!source) { return relative; }
|
|
20428
20345
|
return urlParse(source, false, true).resolveObject(relative);
|
|
20429
20346
|
}
|
|
20430
20347
|
|
|
20431
|
-
Url.prototype.resolveObject = function(relative) {
|
|
20432
|
-
if (
|
|
20348
|
+
Url.prototype.resolveObject = function (relative) {
|
|
20349
|
+
if (typeof relative === 'string') {
|
|
20433
20350
|
var rel = new Url();
|
|
20434
20351
|
rel.parse(relative, false, true);
|
|
20435
20352
|
relative = rel;
|
|
@@ -20442,8 +20359,10 @@ Url.prototype.resolveObject = function(relative) {
|
|
|
20442
20359
|
result[tkey] = this[tkey];
|
|
20443
20360
|
}
|
|
20444
20361
|
|
|
20445
|
-
|
|
20446
|
-
|
|
20362
|
+
/*
|
|
20363
|
+
* hash is always overridden, no matter what.
|
|
20364
|
+
* even href="" will remove it.
|
|
20365
|
+
*/
|
|
20447
20366
|
result.hash = relative.hash;
|
|
20448
20367
|
|
|
20449
20368
|
// if the relative url is empty, then there's nothing left to do here.
|
|
@@ -20458,14 +20377,13 @@ Url.prototype.resolveObject = function(relative) {
|
|
|
20458
20377
|
var rkeys = Object.keys(relative);
|
|
20459
20378
|
for (var rk = 0; rk < rkeys.length; rk++) {
|
|
20460
20379
|
var rkey = rkeys[rk];
|
|
20461
|
-
if (rkey !== 'protocol')
|
|
20462
|
-
result[rkey] = relative[rkey];
|
|
20380
|
+
if (rkey !== 'protocol') { result[rkey] = relative[rkey]; }
|
|
20463
20381
|
}
|
|
20464
20382
|
|
|
20465
|
-
//urlParse appends trailing / to urls like http://www.example.com
|
|
20466
|
-
if (slashedProtocol[result.protocol] &&
|
|
20467
|
-
|
|
20468
|
-
result.path = result.pathname
|
|
20383
|
+
// urlParse appends trailing / to urls like http://www.example.com
|
|
20384
|
+
if (slashedProtocol[result.protocol] && result.hostname && !result.pathname) {
|
|
20385
|
+
result.pathname = '/';
|
|
20386
|
+
result.path = result.pathname;
|
|
20469
20387
|
}
|
|
20470
20388
|
|
|
20471
20389
|
result.href = result.format();
|
|
@@ -20473,14 +20391,16 @@ Url.prototype.resolveObject = function(relative) {
|
|
|
20473
20391
|
}
|
|
20474
20392
|
|
|
20475
20393
|
if (relative.protocol && relative.protocol !== result.protocol) {
|
|
20476
|
-
|
|
20477
|
-
|
|
20478
|
-
|
|
20479
|
-
|
|
20480
|
-
|
|
20481
|
-
|
|
20482
|
-
|
|
20483
|
-
|
|
20394
|
+
/*
|
|
20395
|
+
* if it's a known url protocol, then changing
|
|
20396
|
+
* the protocol does weird things
|
|
20397
|
+
* first, if it's not file:, then we MUST have a host,
|
|
20398
|
+
* and if there was a path
|
|
20399
|
+
* to begin with, then we MUST have a path.
|
|
20400
|
+
* if it is file:, then the host is dropped,
|
|
20401
|
+
* because that's known to be hostless.
|
|
20402
|
+
* anything else is assumed to be absolute.
|
|
20403
|
+
*/
|
|
20484
20404
|
if (!slashedProtocol[relative.protocol]) {
|
|
20485
20405
|
var keys = Object.keys(relative);
|
|
20486
20406
|
for (var v = 0; v < keys.length; v++) {
|
|
@@ -20494,11 +20414,11 @@ Url.prototype.resolveObject = function(relative) {
|
|
|
20494
20414
|
result.protocol = relative.protocol;
|
|
20495
20415
|
if (!relative.host && !hostlessProtocol[relative.protocol]) {
|
|
20496
20416
|
var relPath = (relative.pathname || '').split('/');
|
|
20497
|
-
while (relPath.length && !(relative.host = relPath.shift()))
|
|
20498
|
-
if (!relative.host) relative.host = '';
|
|
20499
|
-
if (!relative.hostname) relative.hostname = '';
|
|
20500
|
-
if (relPath[0] !== '') relPath.unshift('');
|
|
20501
|
-
if (relPath.length < 2) relPath.unshift('');
|
|
20417
|
+
while (relPath.length && !(relative.host = relPath.shift())) { }
|
|
20418
|
+
if (!relative.host) { relative.host = ''; }
|
|
20419
|
+
if (!relative.hostname) { relative.hostname = ''; }
|
|
20420
|
+
if (relPath[0] !== '') { relPath.unshift(''); }
|
|
20421
|
+
if (relPath.length < 2) { relPath.unshift(''); }
|
|
20502
20422
|
result.pathname = relPath.join('/');
|
|
20503
20423
|
} else {
|
|
20504
20424
|
result.pathname = relative.pathname;
|
|
@@ -20520,37 +20440,33 @@ Url.prototype.resolveObject = function(relative) {
|
|
|
20520
20440
|
return result;
|
|
20521
20441
|
}
|
|
20522
20442
|
|
|
20523
|
-
var isSourceAbs =
|
|
20524
|
-
|
|
20525
|
-
|
|
20526
|
-
|
|
20527
|
-
|
|
20528
|
-
|
|
20529
|
-
|
|
20530
|
-
|
|
20531
|
-
|
|
20532
|
-
|
|
20533
|
-
|
|
20534
|
-
|
|
20535
|
-
|
|
20536
|
-
|
|
20537
|
-
|
|
20538
|
-
// result.protocol has already been set by now.
|
|
20539
|
-
// Later on, put the first path part into the host field.
|
|
20443
|
+
var isSourceAbs = result.pathname && result.pathname.charAt(0) === '/',
|
|
20444
|
+
isRelAbs = relative.host || relative.pathname && relative.pathname.charAt(0) === '/',
|
|
20445
|
+
mustEndAbs = isRelAbs || isSourceAbs || (result.host && relative.pathname),
|
|
20446
|
+
removeAllDots = mustEndAbs,
|
|
20447
|
+
srcPath = result.pathname && result.pathname.split('/') || [],
|
|
20448
|
+
relPath = relative.pathname && relative.pathname.split('/') || [],
|
|
20449
|
+
psychotic = result.protocol && !slashedProtocol[result.protocol];
|
|
20450
|
+
|
|
20451
|
+
/*
|
|
20452
|
+
* if the url is a non-slashed url, then relative
|
|
20453
|
+
* links like ../.. should be able
|
|
20454
|
+
* to crawl up to the hostname, as well. This is strange.
|
|
20455
|
+
* result.protocol has already been set by now.
|
|
20456
|
+
* Later on, put the first path part into the host field.
|
|
20457
|
+
*/
|
|
20540
20458
|
if (psychotic) {
|
|
20541
20459
|
result.hostname = '';
|
|
20542
20460
|
result.port = null;
|
|
20543
20461
|
if (result.host) {
|
|
20544
|
-
if (srcPath[0] === '') srcPath[0] = result.host;
|
|
20545
|
-
else srcPath.unshift(result.host);
|
|
20462
|
+
if (srcPath[0] === '') { srcPath[0] = result.host; } else { srcPath.unshift(result.host); }
|
|
20546
20463
|
}
|
|
20547
20464
|
result.host = '';
|
|
20548
20465
|
if (relative.protocol) {
|
|
20549
20466
|
relative.hostname = null;
|
|
20550
20467
|
relative.port = null;
|
|
20551
20468
|
if (relative.host) {
|
|
20552
|
-
if (relPath[0] === '') relPath[0] = relative.host;
|
|
20553
|
-
else relPath.unshift(relative.host);
|
|
20469
|
+
if (relPath[0] === '') { relPath[0] = relative.host; } else { relPath.unshift(relative.host); }
|
|
20554
20470
|
}
|
|
20555
20471
|
relative.host = null;
|
|
20556
20472
|
}
|
|
@@ -20559,54 +20475,60 @@ Url.prototype.resolveObject = function(relative) {
|
|
|
20559
20475
|
|
|
20560
20476
|
if (isRelAbs) {
|
|
20561
20477
|
// it's absolute.
|
|
20562
|
-
result.host =
|
|
20563
|
-
|
|
20564
|
-
result.hostname = (relative.hostname || relative.hostname === '') ?
|
|
20565
|
-
relative.hostname : result.hostname;
|
|
20478
|
+
result.host = relative.host || relative.host === '' ? relative.host : result.host;
|
|
20479
|
+
result.hostname = relative.hostname || relative.hostname === '' ? relative.hostname : result.hostname;
|
|
20566
20480
|
result.search = relative.search;
|
|
20567
20481
|
result.query = relative.query;
|
|
20568
20482
|
srcPath = relPath;
|
|
20569
20483
|
// fall through to the dot-handling below.
|
|
20570
20484
|
} else if (relPath.length) {
|
|
20571
|
-
|
|
20572
|
-
|
|
20573
|
-
|
|
20485
|
+
/*
|
|
20486
|
+
* it's relative
|
|
20487
|
+
* throw away the existing file, and take the new path instead.
|
|
20488
|
+
*/
|
|
20489
|
+
if (!srcPath) { srcPath = []; }
|
|
20574
20490
|
srcPath.pop();
|
|
20575
20491
|
srcPath = srcPath.concat(relPath);
|
|
20576
20492
|
result.search = relative.search;
|
|
20577
20493
|
result.query = relative.query;
|
|
20578
|
-
} else if (
|
|
20579
|
-
|
|
20580
|
-
|
|
20581
|
-
|
|
20494
|
+
} else if (relative.search != null) {
|
|
20495
|
+
/*
|
|
20496
|
+
* just pull out the search.
|
|
20497
|
+
* like href='?foo'.
|
|
20498
|
+
* Put this after the other two cases because it simplifies the booleans
|
|
20499
|
+
*/
|
|
20582
20500
|
if (psychotic) {
|
|
20583
|
-
result.
|
|
20584
|
-
|
|
20585
|
-
|
|
20586
|
-
|
|
20587
|
-
|
|
20588
|
-
|
|
20501
|
+
result.host = srcPath.shift();
|
|
20502
|
+
result.hostname = result.host;
|
|
20503
|
+
/*
|
|
20504
|
+
* occationaly the auth can get stuck only in host
|
|
20505
|
+
* this especially happens in cases like
|
|
20506
|
+
* url.resolveObject('mailto:local1@domain1', 'local2@domain2')
|
|
20507
|
+
*/
|
|
20508
|
+
var authInHost = result.host && result.host.indexOf('@') > 0 ? result.host.split('@') : false;
|
|
20589
20509
|
if (authInHost) {
|
|
20590
20510
|
result.auth = authInHost.shift();
|
|
20591
|
-
result.
|
|
20511
|
+
result.hostname = authInHost.shift();
|
|
20512
|
+
result.host = result.hostname;
|
|
20592
20513
|
}
|
|
20593
20514
|
}
|
|
20594
20515
|
result.search = relative.search;
|
|
20595
20516
|
result.query = relative.query;
|
|
20596
|
-
//to support http.request
|
|
20597
|
-
if (
|
|
20598
|
-
result.path = (result.pathname ? result.pathname : '') +
|
|
20599
|
-
(result.search ? result.search : '');
|
|
20517
|
+
// to support http.request
|
|
20518
|
+
if (result.pathname !== null || result.search !== null) {
|
|
20519
|
+
result.path = (result.pathname ? result.pathname : '') + (result.search ? result.search : '');
|
|
20600
20520
|
}
|
|
20601
20521
|
result.href = result.format();
|
|
20602
20522
|
return result;
|
|
20603
20523
|
}
|
|
20604
20524
|
|
|
20605
20525
|
if (!srcPath.length) {
|
|
20606
|
-
|
|
20607
|
-
|
|
20526
|
+
/*
|
|
20527
|
+
* no path at all. easy.
|
|
20528
|
+
* we've already handled the other stuff above.
|
|
20529
|
+
*/
|
|
20608
20530
|
result.pathname = null;
|
|
20609
|
-
//to support http.request
|
|
20531
|
+
// to support http.request
|
|
20610
20532
|
if (result.search) {
|
|
20611
20533
|
result.path = '/' + result.search;
|
|
20612
20534
|
} else {
|
|
@@ -20616,16 +20538,18 @@ Url.prototype.resolveObject = function(relative) {
|
|
|
20616
20538
|
return result;
|
|
20617
20539
|
}
|
|
20618
20540
|
|
|
20619
|
-
|
|
20620
|
-
|
|
20621
|
-
|
|
20541
|
+
/*
|
|
20542
|
+
* if a url ENDs in . or .., then it must get a trailing slash.
|
|
20543
|
+
* however, if it ends in anything else non-slashy,
|
|
20544
|
+
* then it must NOT get a trailing slash.
|
|
20545
|
+
*/
|
|
20622
20546
|
var last = srcPath.slice(-1)[0];
|
|
20623
|
-
var hasTrailingSlash = (
|
|
20624
|
-
(result.host || relative.host || srcPath.length > 1) &&
|
|
20625
|
-
(last === '.' || last === '..') || last === '');
|
|
20547
|
+
var hasTrailingSlash = (result.host || relative.host || srcPath.length > 1) && (last === '.' || last === '..') || last === '';
|
|
20626
20548
|
|
|
20627
|
-
|
|
20628
|
-
|
|
20549
|
+
/*
|
|
20550
|
+
* strip single dots, resolve double dots to parent dir
|
|
20551
|
+
* if the path tries to go above the root, `up` ends up > 0
|
|
20552
|
+
*/
|
|
20629
20553
|
var up = 0;
|
|
20630
20554
|
for (var i = srcPath.length; i >= 0; i--) {
|
|
20631
20555
|
last = srcPath[i];
|
|
@@ -20647,8 +20571,7 @@ Url.prototype.resolveObject = function(relative) {
|
|
|
20647
20571
|
}
|
|
20648
20572
|
}
|
|
20649
20573
|
|
|
20650
|
-
if (mustEndAbs && srcPath[0] !== '' &&
|
|
20651
|
-
(!srcPath[0] || srcPath[0].charAt(0) !== '/')) {
|
|
20574
|
+
if (mustEndAbs && srcPath[0] !== '' && (!srcPath[0] || srcPath[0].charAt(0) !== '/')) {
|
|
20652
20575
|
srcPath.unshift('');
|
|
20653
20576
|
}
|
|
20654
20577
|
|
|
@@ -20656,21 +20579,22 @@ Url.prototype.resolveObject = function(relative) {
|
|
|
20656
20579
|
srcPath.push('');
|
|
20657
20580
|
}
|
|
20658
20581
|
|
|
20659
|
-
var isAbsolute = srcPath[0] === '' ||
|
|
20660
|
-
(srcPath[0] && srcPath[0].charAt(0) === '/');
|
|
20582
|
+
var isAbsolute = srcPath[0] === '' || (srcPath[0] && srcPath[0].charAt(0) === '/');
|
|
20661
20583
|
|
|
20662
20584
|
// put the host back
|
|
20663
20585
|
if (psychotic) {
|
|
20664
|
-
result.hostname =
|
|
20665
|
-
|
|
20666
|
-
|
|
20667
|
-
|
|
20668
|
-
|
|
20669
|
-
|
|
20670
|
-
|
|
20586
|
+
result.hostname = isAbsolute ? '' : srcPath.length ? srcPath.shift() : '';
|
|
20587
|
+
result.host = result.hostname;
|
|
20588
|
+
/*
|
|
20589
|
+
* occationaly the auth can get stuck only in host
|
|
20590
|
+
* this especially happens in cases like
|
|
20591
|
+
* url.resolveObject('mailto:local1@domain1', 'local2@domain2')
|
|
20592
|
+
*/
|
|
20593
|
+
var authInHost = result.host && result.host.indexOf('@') > 0 ? result.host.split('@') : false;
|
|
20671
20594
|
if (authInHost) {
|
|
20672
20595
|
result.auth = authInHost.shift();
|
|
20673
|
-
result.
|
|
20596
|
+
result.hostname = authInHost.shift();
|
|
20597
|
+
result.host = result.hostname;
|
|
20674
20598
|
}
|
|
20675
20599
|
}
|
|
20676
20600
|
|
|
@@ -20680,17 +20604,16 @@ Url.prototype.resolveObject = function(relative) {
|
|
|
20680
20604
|
srcPath.unshift('');
|
|
20681
20605
|
}
|
|
20682
20606
|
|
|
20683
|
-
if (
|
|
20607
|
+
if (srcPath.length > 0) {
|
|
20608
|
+
result.pathname = srcPath.join('/');
|
|
20609
|
+
} else {
|
|
20684
20610
|
result.pathname = null;
|
|
20685
20611
|
result.path = null;
|
|
20686
|
-
} else {
|
|
20687
|
-
result.pathname = srcPath.join('/');
|
|
20688
20612
|
}
|
|
20689
20613
|
|
|
20690
|
-
//to support request.http
|
|
20691
|
-
if (
|
|
20692
|
-
result.path = (result.pathname ? result.pathname : '') +
|
|
20693
|
-
(result.search ? result.search : '');
|
|
20614
|
+
// to support request.http
|
|
20615
|
+
if (result.pathname !== null || result.search !== null) {
|
|
20616
|
+
result.path = (result.pathname ? result.pathname : '') + (result.search ? result.search : '');
|
|
20694
20617
|
}
|
|
20695
20618
|
result.auth = relative.auth || result.auth;
|
|
20696
20619
|
result.slashes = result.slashes || relative.slashes;
|
|
@@ -20698,7 +20621,7 @@ Url.prototype.resolveObject = function(relative) {
|
|
|
20698
20621
|
return result;
|
|
20699
20622
|
};
|
|
20700
20623
|
|
|
20701
|
-
Url.prototype.parseHost = function() {
|
|
20624
|
+
Url.prototype.parseHost = function () {
|
|
20702
20625
|
var host = this.host;
|
|
20703
20626
|
var port = portPattern.exec(host);
|
|
20704
20627
|
if (port) {
|
|
@@ -20708,32 +20631,15 @@ Url.prototype.parseHost = function() {
|
|
|
20708
20631
|
}
|
|
20709
20632
|
host = host.substr(0, host.length - port.length);
|
|
20710
20633
|
}
|
|
20711
|
-
if (host) this.hostname = host;
|
|
20634
|
+
if (host) { this.hostname = host; }
|
|
20712
20635
|
};
|
|
20713
20636
|
|
|
20637
|
+
exports.parse = urlParse;
|
|
20638
|
+
exports.resolve = urlResolve;
|
|
20639
|
+
exports.resolveObject = urlResolveObject;
|
|
20640
|
+
exports.format = urlFormat;
|
|
20714
20641
|
|
|
20715
|
-
|
|
20716
|
-
|
|
20717
|
-
/***/ 62502:
|
|
20718
|
-
/***/ ((module) => {
|
|
20719
|
-
|
|
20720
|
-
"use strict";
|
|
20721
|
-
|
|
20722
|
-
|
|
20723
|
-
module.exports = {
|
|
20724
|
-
isString: function(arg) {
|
|
20725
|
-
return typeof(arg) === 'string';
|
|
20726
|
-
},
|
|
20727
|
-
isObject: function(arg) {
|
|
20728
|
-
return typeof(arg) === 'object' && arg !== null;
|
|
20729
|
-
},
|
|
20730
|
-
isNull: function(arg) {
|
|
20731
|
-
return arg === null;
|
|
20732
|
-
},
|
|
20733
|
-
isNullOrUndefined: function(arg) {
|
|
20734
|
-
return arg == null;
|
|
20735
|
-
}
|
|
20736
|
-
};
|
|
20642
|
+
exports.Url = Url;
|
|
20737
20643
|
|
|
20738
20644
|
|
|
20739
20645
|
/***/ }),
|
|
@@ -20745,90 +20651,6 @@ module.exports = {
|
|
|
20745
20651
|
|
|
20746
20652
|
/***/ }),
|
|
20747
20653
|
|
|
20748
|
-
/***/ 73324:
|
|
20749
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
20750
|
-
|
|
20751
|
-
module.exports = __webpack_require__(44442);
|
|
20752
|
-
|
|
20753
|
-
/***/ }),
|
|
20754
|
-
|
|
20755
|
-
/***/ 99595:
|
|
20756
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
20757
|
-
|
|
20758
|
-
module.exports = __webpack_require__(57152);
|
|
20759
|
-
|
|
20760
|
-
/***/ }),
|
|
20761
|
-
|
|
20762
|
-
/***/ 51791:
|
|
20763
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
20764
|
-
|
|
20765
|
-
module.exports = __webpack_require__(69447);
|
|
20766
|
-
|
|
20767
|
-
/***/ }),
|
|
20768
|
-
|
|
20769
|
-
/***/ 2201:
|
|
20770
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
20771
|
-
|
|
20772
|
-
module.exports = __webpack_require__(70573);
|
|
20773
|
-
|
|
20774
|
-
/***/ }),
|
|
20775
|
-
|
|
20776
|
-
/***/ 57445:
|
|
20777
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
20778
|
-
|
|
20779
|
-
module.exports = __webpack_require__(73685);
|
|
20780
|
-
|
|
20781
|
-
/***/ }),
|
|
20782
|
-
|
|
20783
|
-
/***/ 88546:
|
|
20784
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
20785
|
-
|
|
20786
|
-
module.exports = __webpack_require__(27533);
|
|
20787
|
-
|
|
20788
|
-
/***/ }),
|
|
20789
|
-
|
|
20790
|
-
/***/ 66775:
|
|
20791
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
20792
|
-
|
|
20793
|
-
module.exports = __webpack_require__(39057);
|
|
20794
|
-
|
|
20795
|
-
/***/ }),
|
|
20796
|
-
|
|
20797
|
-
/***/ 52020:
|
|
20798
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
20799
|
-
|
|
20800
|
-
module.exports = __webpack_require__(84710);
|
|
20801
|
-
|
|
20802
|
-
/***/ }),
|
|
20803
|
-
|
|
20804
|
-
/***/ 62079:
|
|
20805
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
20806
|
-
|
|
20807
|
-
module.exports = __webpack_require__(93799);
|
|
20808
|
-
|
|
20809
|
-
/***/ }),
|
|
20810
|
-
|
|
20811
|
-
/***/ 52472:
|
|
20812
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
20813
|
-
|
|
20814
|
-
module.exports = __webpack_require__(86600);
|
|
20815
|
-
|
|
20816
|
-
/***/ }),
|
|
20817
|
-
|
|
20818
|
-
/***/ 48994:
|
|
20819
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
20820
|
-
|
|
20821
|
-
module.exports = __webpack_require__(9759);
|
|
20822
|
-
|
|
20823
|
-
/***/ }),
|
|
20824
|
-
|
|
20825
|
-
/***/ 40024:
|
|
20826
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
20827
|
-
|
|
20828
|
-
module.exports = __webpack_require__(71384);
|
|
20829
|
-
|
|
20830
|
-
/***/ }),
|
|
20831
|
-
|
|
20832
20654
|
/***/ 44845:
|
|
20833
20655
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
20834
20656
|
|
|
@@ -20837,14 +20659,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
20837
20659
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
20838
20660
|
/* harmony export */ "default": () => (/* binding */ _defineProperty)
|
|
20839
20661
|
/* harmony export */ });
|
|
20840
|
-
/* harmony import */ var
|
|
20841
|
-
/* harmony import */ var
|
|
20662
|
+
/* harmony import */ var core_js_pure_features_object_define_property_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(80621);
|
|
20663
|
+
/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(768);
|
|
20842
20664
|
|
|
20843
20665
|
|
|
20844
20666
|
function _defineProperty(obj, key, value) {
|
|
20845
|
-
key = (0,
|
|
20667
|
+
key = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["default"])(key);
|
|
20846
20668
|
if (key in obj) {
|
|
20847
|
-
|
|
20669
|
+
core_js_pure_features_object_define_property_js__WEBPACK_IMPORTED_MODULE_1__(obj, key, {
|
|
20848
20670
|
value: value,
|
|
20849
20671
|
enumerable: true,
|
|
20850
20672
|
configurable: true,
|
|
@@ -20866,15 +20688,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
20866
20688
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
20867
20689
|
/* harmony export */ "default": () => (/* binding */ _objectSpread2)
|
|
20868
20690
|
/* harmony export */ });
|
|
20869
|
-
/* harmony import */ var
|
|
20870
|
-
/* harmony import */ var
|
|
20871
|
-
/* harmony import */ var
|
|
20872
|
-
/* harmony import */ var
|
|
20873
|
-
/* harmony import */ var
|
|
20874
|
-
/* harmony import */ var
|
|
20875
|
-
/* harmony import */ var
|
|
20876
|
-
/* harmony import */ var
|
|
20877
|
-
/* harmony import */ var
|
|
20691
|
+
/* harmony import */ var core_js_pure_features_object_keys_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(92093);
|
|
20692
|
+
/* harmony import */ var core_js_pure_features_object_get_own_property_symbols_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(14058);
|
|
20693
|
+
/* harmony import */ var core_js_pure_features_instance_filter_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(51675);
|
|
20694
|
+
/* harmony import */ var core_js_pure_features_object_get_own_property_descriptor_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(48403);
|
|
20695
|
+
/* harmony import */ var core_js_pure_features_instance_push_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34501);
|
|
20696
|
+
/* harmony import */ var core_js_pure_features_instance_for_each_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(82507);
|
|
20697
|
+
/* harmony import */ var core_js_pure_features_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(82108);
|
|
20698
|
+
/* harmony import */ var core_js_pure_features_object_define_properties_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(18180);
|
|
20699
|
+
/* harmony import */ var core_js_pure_features_object_define_property_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(80621);
|
|
20700
|
+
/* harmony import */ var _defineProperty_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(44845);
|
|
20701
|
+
|
|
20878
20702
|
|
|
20879
20703
|
|
|
20880
20704
|
|
|
@@ -20885,12 +20709,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
20885
20709
|
|
|
20886
20710
|
|
|
20887
20711
|
function ownKeys(object, enumerableOnly) {
|
|
20888
|
-
var keys =
|
|
20889
|
-
if (
|
|
20890
|
-
var symbols =
|
|
20891
|
-
enumerableOnly && (symbols =
|
|
20892
|
-
return
|
|
20893
|
-
})), keys.
|
|
20712
|
+
var keys = core_js_pure_features_object_keys_js__WEBPACK_IMPORTED_MODULE_0__(object);
|
|
20713
|
+
if (core_js_pure_features_object_get_own_property_symbols_js__WEBPACK_IMPORTED_MODULE_1__) {
|
|
20714
|
+
var symbols = core_js_pure_features_object_get_own_property_symbols_js__WEBPACK_IMPORTED_MODULE_1__(object);
|
|
20715
|
+
enumerableOnly && (symbols = core_js_pure_features_instance_filter_js__WEBPACK_IMPORTED_MODULE_2__(symbols).call(symbols, function (sym) {
|
|
20716
|
+
return core_js_pure_features_object_get_own_property_descriptor_js__WEBPACK_IMPORTED_MODULE_3__(object, sym).enumerable;
|
|
20717
|
+
})), core_js_pure_features_instance_push_js__WEBPACK_IMPORTED_MODULE_4__(keys).apply(keys, symbols);
|
|
20894
20718
|
}
|
|
20895
20719
|
return keys;
|
|
20896
20720
|
}
|
|
@@ -20898,10 +20722,10 @@ function _objectSpread2(target) {
|
|
|
20898
20722
|
for (var i = 1; i < arguments.length; i++) {
|
|
20899
20723
|
var _context, _context2;
|
|
20900
20724
|
var source = null != arguments[i] ? arguments[i] : {};
|
|
20901
|
-
i % 2 ?
|
|
20902
|
-
(0,
|
|
20903
|
-
}) :
|
|
20904
|
-
|
|
20725
|
+
i % 2 ? core_js_pure_features_instance_for_each_js__WEBPACK_IMPORTED_MODULE_5__(_context = ownKeys(Object(source), !0)).call(_context, function (key) {
|
|
20726
|
+
(0,_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__["default"])(target, key, source[key]);
|
|
20727
|
+
}) : core_js_pure_features_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_7__ ? core_js_pure_features_object_define_properties_js__WEBPACK_IMPORTED_MODULE_8__(target, core_js_pure_features_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_7__(source)) : core_js_pure_features_instance_for_each_js__WEBPACK_IMPORTED_MODULE_5__(_context2 = ownKeys(Object(source))).call(_context2, function (key) {
|
|
20728
|
+
core_js_pure_features_object_define_property_js__WEBPACK_IMPORTED_MODULE_9__(target, key, core_js_pure_features_object_get_own_property_descriptor_js__WEBPACK_IMPORTED_MODULE_3__(source, key));
|
|
20905
20729
|
});
|
|
20906
20730
|
}
|
|
20907
20731
|
return target;
|
|
@@ -20917,21 +20741,21 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
20917
20741
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
20918
20742
|
/* harmony export */ "default": () => (/* binding */ _objectWithoutProperties)
|
|
20919
20743
|
/* harmony export */ });
|
|
20920
|
-
/* harmony import */ var
|
|
20921
|
-
/* harmony import */ var
|
|
20922
|
-
/* harmony import */ var
|
|
20744
|
+
/* harmony import */ var core_js_pure_features_object_get_own_property_symbols_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(14058);
|
|
20745
|
+
/* harmony import */ var core_js_pure_features_instance_index_of_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(628);
|
|
20746
|
+
/* harmony import */ var _objectWithoutPropertiesLoose_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(70268);
|
|
20923
20747
|
|
|
20924
20748
|
|
|
20925
20749
|
|
|
20926
20750
|
function _objectWithoutProperties(source, excluded) {
|
|
20927
20751
|
if (source == null) return {};
|
|
20928
|
-
var target = (0,
|
|
20752
|
+
var target = (0,_objectWithoutPropertiesLoose_js__WEBPACK_IMPORTED_MODULE_0__["default"])(source, excluded);
|
|
20929
20753
|
var key, i;
|
|
20930
|
-
if (
|
|
20931
|
-
var sourceSymbolKeys =
|
|
20754
|
+
if (core_js_pure_features_object_get_own_property_symbols_js__WEBPACK_IMPORTED_MODULE_1__) {
|
|
20755
|
+
var sourceSymbolKeys = core_js_pure_features_object_get_own_property_symbols_js__WEBPACK_IMPORTED_MODULE_1__(source);
|
|
20932
20756
|
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
20933
20757
|
key = sourceSymbolKeys[i];
|
|
20934
|
-
if (
|
|
20758
|
+
if (core_js_pure_features_instance_index_of_js__WEBPACK_IMPORTED_MODULE_2__(excluded).call(excluded, key) >= 0) continue;
|
|
20935
20759
|
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
20936
20760
|
target[key] = source[key];
|
|
20937
20761
|
}
|
|
@@ -20949,18 +20773,18 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
20949
20773
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
20950
20774
|
/* harmony export */ "default": () => (/* binding */ _objectWithoutPropertiesLoose)
|
|
20951
20775
|
/* harmony export */ });
|
|
20952
|
-
/* harmony import */ var
|
|
20953
|
-
/* harmony import */ var
|
|
20776
|
+
/* harmony import */ var core_js_pure_features_object_keys_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(92093);
|
|
20777
|
+
/* harmony import */ var core_js_pure_features_instance_index_of_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(628);
|
|
20954
20778
|
|
|
20955
20779
|
|
|
20956
20780
|
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
20957
20781
|
if (source == null) return {};
|
|
20958
20782
|
var target = {};
|
|
20959
|
-
var sourceKeys =
|
|
20783
|
+
var sourceKeys = core_js_pure_features_object_keys_js__WEBPACK_IMPORTED_MODULE_0__(source);
|
|
20960
20784
|
var key, i;
|
|
20961
20785
|
for (i = 0; i < sourceKeys.length; i++) {
|
|
20962
20786
|
key = sourceKeys[i];
|
|
20963
|
-
if (
|
|
20787
|
+
if (core_js_pure_features_instance_index_of_js__WEBPACK_IMPORTED_MODULE_1__(excluded).call(excluded, key) >= 0) continue;
|
|
20964
20788
|
target[key] = source[key];
|
|
20965
20789
|
}
|
|
20966
20790
|
return target;
|
|
@@ -20977,12 +20801,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
20977
20801
|
/* harmony export */ "default": () => (/* binding */ _toPrimitive)
|
|
20978
20802
|
/* harmony export */ });
|
|
20979
20803
|
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(19623);
|
|
20980
|
-
/* harmony import */ var
|
|
20804
|
+
/* harmony import */ var core_js_pure_features_symbol_to_primitive_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(26189);
|
|
20981
20805
|
|
|
20982
20806
|
|
|
20983
20807
|
function _toPrimitive(input, hint) {
|
|
20984
20808
|
if ((0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(input) !== "object" || input === null) return input;
|
|
20985
|
-
var prim = input[
|
|
20809
|
+
var prim = input[core_js_pure_features_symbol_to_primitive_js__WEBPACK_IMPORTED_MODULE_1__];
|
|
20986
20810
|
if (prim !== undefined) {
|
|
20987
20811
|
var res = prim.call(input, hint || "default");
|
|
20988
20812
|
if ((0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(res) !== "object") return res;
|
|
@@ -21001,13 +20825,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
21001
20825
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
21002
20826
|
/* harmony export */ "default": () => (/* binding */ _toPropertyKey)
|
|
21003
20827
|
/* harmony export */ });
|
|
21004
|
-
/* harmony import */ var
|
|
21005
|
-
/* harmony import */ var
|
|
20828
|
+
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(19623);
|
|
20829
|
+
/* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(88718);
|
|
21006
20830
|
|
|
21007
20831
|
|
|
21008
20832
|
function _toPropertyKey(arg) {
|
|
21009
|
-
var key = (0,
|
|
21010
|
-
return (0,
|
|
20833
|
+
var key = (0,_toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__["default"])(arg, "string");
|
|
20834
|
+
return (0,_typeof_js__WEBPACK_IMPORTED_MODULE_1__["default"])(key) === "symbol" ? key : String(key);
|
|
21011
20835
|
}
|
|
21012
20836
|
|
|
21013
20837
|
/***/ }),
|
|
@@ -21020,17 +20844,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
21020
20844
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
21021
20845
|
/* harmony export */ "default": () => (/* binding */ _typeof)
|
|
21022
20846
|
/* harmony export */ });
|
|
21023
|
-
/* harmony import */ var
|
|
21024
|
-
/* harmony import */ var
|
|
20847
|
+
/* harmony import */ var core_js_pure_features_symbol_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(52201);
|
|
20848
|
+
/* harmony import */ var core_js_pure_features_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27398);
|
|
21025
20849
|
|
|
21026
20850
|
|
|
21027
20851
|
function _typeof(obj) {
|
|
21028
20852
|
"@babel/helpers - typeof";
|
|
21029
20853
|
|
|
21030
|
-
return _typeof = "function" == typeof
|
|
20854
|
+
return _typeof = "function" == typeof core_js_pure_features_symbol_index_js__WEBPACK_IMPORTED_MODULE_0__ && "symbol" == typeof core_js_pure_features_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_1__ ? function (obj) {
|
|
21031
20855
|
return typeof obj;
|
|
21032
20856
|
} : function (obj) {
|
|
21033
|
-
return obj && "function" == typeof
|
|
20857
|
+
return obj && "function" == typeof core_js_pure_features_symbol_index_js__WEBPACK_IMPORTED_MODULE_0__ && obj.constructor === core_js_pure_features_symbol_index_js__WEBPACK_IMPORTED_MODULE_0__ && obj !== core_js_pure_features_symbol_index_js__WEBPACK_IMPORTED_MODULE_0__.prototype ? "symbol" : typeof obj;
|
|
21034
20858
|
}, _typeof(obj);
|
|
21035
20859
|
}
|
|
21036
20860
|
|
|
@@ -22628,28 +22452,28 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
22628
22452
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
22629
22453
|
/* harmony export */ visit: () => (/* binding */ visit)
|
|
22630
22454
|
/* harmony export */ });
|
|
22631
|
-
/* harmony import */ var
|
|
22632
|
-
/* harmony import */ var
|
|
22633
|
-
/* harmony import */ var
|
|
22634
|
-
/* harmony import */ var
|
|
22455
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(2562);
|
|
22456
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(44845);
|
|
22457
|
+
/* harmony import */ var ramda__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(25546);
|
|
22458
|
+
/* harmony import */ var _traversal_visitor_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(66175);
|
|
22635
22459
|
|
|
22636
22460
|
|
|
22637
22461
|
const _excluded = ["keyMap"],
|
|
22638
22462
|
_excluded2 = ["keyMap"];
|
|
22639
22463
|
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; }
|
|
22640
|
-
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) { (0,
|
|
22464
|
+
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) { (0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])(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; }
|
|
22641
22465
|
|
|
22642
22466
|
|
|
22643
22467
|
const nodeTypeGetter = node => {
|
|
22644
22468
|
if (typeof (node === null || node === void 0 ? void 0 : node.type) === 'string') {
|
|
22645
22469
|
return node.type;
|
|
22646
22470
|
}
|
|
22647
|
-
return (0,
|
|
22471
|
+
return (0,_traversal_visitor_js__WEBPACK_IMPORTED_MODULE_2__.getNodeType)(node);
|
|
22648
22472
|
};
|
|
22649
22473
|
const keyMapDefault = _objectSpread({
|
|
22650
22474
|
EphemeralObject: ['content'],
|
|
22651
22475
|
EphemeralArray: ['content']
|
|
22652
|
-
},
|
|
22476
|
+
}, _traversal_visitor_js__WEBPACK_IMPORTED_MODULE_2__.keyMapDefault);
|
|
22653
22477
|
|
|
22654
22478
|
// eslint-disable-next-line import/prefer-default-export
|
|
22655
22479
|
const visit = (root,
|
|
@@ -22658,12 +22482,12 @@ visitor, _ref = {}) => {
|
|
|
22658
22482
|
let {
|
|
22659
22483
|
keyMap = keyMapDefault
|
|
22660
22484
|
} = _ref,
|
|
22661
|
-
rest = (0,
|
|
22662
|
-
return (0,
|
|
22485
|
+
rest = (0,_babel_runtime_corejs3_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3__["default"])(_ref, _excluded);
|
|
22486
|
+
return (0,_traversal_visitor_js__WEBPACK_IMPORTED_MODULE_2__.visit)(root, visitor, _objectSpread({
|
|
22663
22487
|
keyMap,
|
|
22664
22488
|
// @ts-ignore
|
|
22665
22489
|
nodeTypeGetter,
|
|
22666
|
-
nodePredicate:
|
|
22490
|
+
nodePredicate: ramda__WEBPACK_IMPORTED_MODULE_1__.T,
|
|
22667
22491
|
detectCycles: false,
|
|
22668
22492
|
deleteNodeSymbol: Symbol.for('delete-node'),
|
|
22669
22493
|
skipVisitingNodeSymbol: Symbol.for('skip-visiting-node')
|
|
@@ -22675,12 +22499,12 @@ visit[Symbol.for('nodejs.util.promisify.custom')] = async (root, _ref2 = {}) =>
|
|
|
22675
22499
|
let {
|
|
22676
22500
|
keyMap = keyMapDefault
|
|
22677
22501
|
} = _ref2,
|
|
22678
|
-
rest = (0,
|
|
22502
|
+
rest = (0,_babel_runtime_corejs3_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3__["default"])(_ref2, _excluded2);
|
|
22679
22503
|
// @ts-ignore
|
|
22680
|
-
return
|
|
22504
|
+
return _traversal_visitor_js__WEBPACK_IMPORTED_MODULE_2__.visit[Symbol.for('nodejs.util.promisify.custom')](root, visitor, _objectSpread({
|
|
22681
22505
|
keyMap,
|
|
22682
22506
|
nodeTypeGetter,
|
|
22683
|
-
nodePredicate:
|
|
22507
|
+
nodePredicate: ramda__WEBPACK_IMPORTED_MODULE_1__.T,
|
|
22684
22508
|
detectCycles: false,
|
|
22685
22509
|
deleteNodeSymbol: Symbol.for('delete-node'),
|
|
22686
22510
|
skipVisitingNodeSymbol: Symbol.for('skip-visiting-node')
|
|
@@ -23262,21 +23086,21 @@ const traverse = (options, element) => {
|
|
|
23262
23086
|
"use strict";
|
|
23263
23087
|
__webpack_require__.r(__webpack_exports__);
|
|
23264
23088
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
23265
|
-
/* harmony export */ BREAK: () => (/* reexport safe */
|
|
23089
|
+
/* harmony export */ BREAK: () => (/* reexport safe */ _swagger_api_apidom_ast__WEBPACK_IMPORTED_MODULE_3__.BREAK),
|
|
23266
23090
|
/* harmony export */ PredicateVisitor: () => (/* binding */ PredicateVisitor),
|
|
23267
23091
|
/* harmony export */ getNodeType: () => (/* binding */ getNodeType),
|
|
23268
23092
|
/* harmony export */ isNode: () => (/* binding */ isNode),
|
|
23269
23093
|
/* harmony export */ keyMapDefault: () => (/* binding */ keyMapDefault),
|
|
23270
|
-
/* harmony export */ mergeAllVisitors: () => (/* reexport safe */
|
|
23094
|
+
/* harmony export */ mergeAllVisitors: () => (/* reexport safe */ _swagger_api_apidom_ast__WEBPACK_IMPORTED_MODULE_3__.mergeAll),
|
|
23271
23095
|
/* harmony export */ visit: () => (/* binding */ visit)
|
|
23272
23096
|
/* harmony export */ });
|
|
23273
23097
|
/* harmony import */ var _babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(44845);
|
|
23274
|
-
/* harmony import */ var
|
|
23275
|
-
/* harmony import */ var
|
|
23276
|
-
/* harmony import */ var
|
|
23277
|
-
/* harmony import */ var
|
|
23278
|
-
/* harmony import */ var
|
|
23279
|
-
/* harmony import */ var
|
|
23098
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(2562);
|
|
23099
|
+
/* harmony import */ var stampit__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(43992);
|
|
23100
|
+
/* harmony import */ var ramda__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(25546);
|
|
23101
|
+
/* harmony import */ var ramda_adjunct__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(314);
|
|
23102
|
+
/* harmony import */ var _swagger_api_apidom_ast__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(32674);
|
|
23103
|
+
/* harmony import */ var _predicates_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(67277);
|
|
23280
23104
|
|
|
23281
23105
|
|
|
23282
23106
|
const _excluded = ["keyMap"],
|
|
@@ -23300,12 +23124,12 @@ const getNodeType = element => {
|
|
|
23300
23124
|
* There is a problem with naming visitor methods described here: https://github.com/babel/babel/discussions/12874
|
|
23301
23125
|
*/
|
|
23302
23126
|
/* eslint-disable no-nested-ternary */
|
|
23303
|
-
return (0,
|
|
23127
|
+
return (0,_predicates_index_js__WEBPACK_IMPORTED_MODULE_4__.isObjectElement)(element) ? 'ObjectElement' : (0,_predicates_index_js__WEBPACK_IMPORTED_MODULE_4__.isArrayElement)(element) ? 'ArrayElement' : (0,_predicates_index_js__WEBPACK_IMPORTED_MODULE_4__.isMemberElement)(element) ? 'MemberElement' : (0,_predicates_index_js__WEBPACK_IMPORTED_MODULE_4__.isStringElement)(element) ? 'StringElement' : (0,_predicates_index_js__WEBPACK_IMPORTED_MODULE_4__.isBooleanElement)(element) ? 'BooleanElement' : (0,_predicates_index_js__WEBPACK_IMPORTED_MODULE_4__.isNumberElement)(element) ? 'NumberElement' : (0,_predicates_index_js__WEBPACK_IMPORTED_MODULE_4__.isNullElement)(element) ? 'NullElement' : (0,_predicates_index_js__WEBPACK_IMPORTED_MODULE_4__.isLinkElement)(element) ? 'LinkElement' : (0,_predicates_index_js__WEBPACK_IMPORTED_MODULE_4__.isRefElement)(element) ? 'RefElement' : undefined;
|
|
23304
23128
|
/* eslint-enable */
|
|
23305
23129
|
};
|
|
23306
23130
|
|
|
23307
23131
|
// isNode :: Node -> Boolean
|
|
23308
|
-
const isNode = (0,
|
|
23132
|
+
const isNode = (0,ramda__WEBPACK_IMPORTED_MODULE_2__.pipe)(getNodeType, ramda_adjunct__WEBPACK_IMPORTED_MODULE_5__["default"]);
|
|
23309
23133
|
const keyMapDefault = {
|
|
23310
23134
|
ObjectElement: ['content'],
|
|
23311
23135
|
ArrayElement: ['content'],
|
|
@@ -23321,10 +23145,10 @@ const keyMapDefault = {
|
|
|
23321
23145
|
ParseResultElement: ['content'],
|
|
23322
23146
|
SourceMap: ['content']
|
|
23323
23147
|
};
|
|
23324
|
-
const PredicateVisitor =
|
|
23148
|
+
const PredicateVisitor = stampit__WEBPACK_IMPORTED_MODULE_1__({
|
|
23325
23149
|
props: {
|
|
23326
23150
|
result: [],
|
|
23327
|
-
predicate:
|
|
23151
|
+
predicate: ramda__WEBPACK_IMPORTED_MODULE_2__.F,
|
|
23328
23152
|
returnOnTrue: undefined,
|
|
23329
23153
|
returnOnFalse: undefined
|
|
23330
23154
|
},
|
|
@@ -23359,9 +23183,9 @@ visitor, _ref = {}) => {
|
|
|
23359
23183
|
let {
|
|
23360
23184
|
keyMap = keyMapDefault
|
|
23361
23185
|
} = _ref,
|
|
23362
|
-
rest = (0,
|
|
23186
|
+
rest = (0,_babel_runtime_corejs3_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_6__["default"])(_ref, _excluded);
|
|
23363
23187
|
// @ts-ignore
|
|
23364
|
-
return (0,
|
|
23188
|
+
return (0,_swagger_api_apidom_ast__WEBPACK_IMPORTED_MODULE_3__.visit)(root, visitor, _objectSpread({
|
|
23365
23189
|
// @ts-ignore
|
|
23366
23190
|
keyMap,
|
|
23367
23191
|
// @ts-ignore
|
|
@@ -23377,9 +23201,9 @@ visitor, _ref2 = {}) => {
|
|
|
23377
23201
|
let {
|
|
23378
23202
|
keyMap = keyMapDefault
|
|
23379
23203
|
} = _ref2,
|
|
23380
|
-
rest = (0,
|
|
23204
|
+
rest = (0,_babel_runtime_corejs3_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_6__["default"])(_ref2, _excluded2);
|
|
23381
23205
|
// @ts-ignore
|
|
23382
|
-
return
|
|
23206
|
+
return _swagger_api_apidom_ast__WEBPACK_IMPORTED_MODULE_3__.visit[Symbol.for('nodejs.util.promisify.custom')](root, visitor, _objectSpread({
|
|
23383
23207
|
// @ts-ignore
|
|
23384
23208
|
keyMap,
|
|
23385
23209
|
// @ts-ignore
|
|
@@ -27508,17 +27332,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27508
27332
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
27509
27333
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
27510
27334
|
/* harmony export */ });
|
|
27511
|
-
/* harmony import */ var
|
|
27512
|
-
/* harmony import */ var
|
|
27335
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44845);
|
|
27336
|
+
/* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38715);
|
|
27513
27337
|
|
|
27514
27338
|
|
|
27515
|
-
class ComponentsCallbacks extends
|
|
27339
|
+
class ComponentsCallbacks extends _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__.ObjectElement {
|
|
27516
27340
|
constructor(content, meta, attributes) {
|
|
27517
27341
|
super(content, meta, attributes);
|
|
27518
27342
|
this.classes.push(ComponentsCallbacks.primaryClass);
|
|
27519
27343
|
}
|
|
27520
27344
|
}
|
|
27521
|
-
(0,
|
|
27345
|
+
(0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(ComponentsCallbacks, "primaryClass", 'components-callbacks');
|
|
27522
27346
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ComponentsCallbacks);
|
|
27523
27347
|
|
|
27524
27348
|
/***/ }),
|
|
@@ -27531,18 +27355,18 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27531
27355
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
27532
27356
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
27533
27357
|
/* harmony export */ });
|
|
27534
|
-
/* harmony import */ var
|
|
27535
|
-
/* harmony import */ var
|
|
27358
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44845);
|
|
27359
|
+
/* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38715);
|
|
27536
27360
|
|
|
27537
27361
|
|
|
27538
|
-
class ComponentsExamples extends
|
|
27362
|
+
class ComponentsExamples extends _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__.ObjectElement {
|
|
27539
27363
|
constructor(content, meta, attributes) {
|
|
27540
27364
|
super(content, meta, attributes);
|
|
27541
27365
|
this.classes.push(ComponentsExamples.primaryClass);
|
|
27542
27366
|
this.classes.push('examples');
|
|
27543
27367
|
}
|
|
27544
27368
|
}
|
|
27545
|
-
(0,
|
|
27369
|
+
(0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(ComponentsExamples, "primaryClass", 'components-examples');
|
|
27546
27370
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ComponentsExamples);
|
|
27547
27371
|
|
|
27548
27372
|
/***/ }),
|
|
@@ -27555,17 +27379,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27555
27379
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
27556
27380
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
27557
27381
|
/* harmony export */ });
|
|
27558
|
-
/* harmony import */ var
|
|
27559
|
-
/* harmony import */ var
|
|
27382
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44845);
|
|
27383
|
+
/* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38715);
|
|
27560
27384
|
|
|
27561
27385
|
|
|
27562
|
-
class ComponentsHeaders extends
|
|
27386
|
+
class ComponentsHeaders extends _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__.ObjectElement {
|
|
27563
27387
|
constructor(content, meta, attributes) {
|
|
27564
27388
|
super(content, meta, attributes);
|
|
27565
27389
|
this.classes.push(ComponentsHeaders.primaryClass);
|
|
27566
27390
|
}
|
|
27567
27391
|
}
|
|
27568
|
-
(0,
|
|
27392
|
+
(0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(ComponentsHeaders, "primaryClass", 'components-headers');
|
|
27569
27393
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ComponentsHeaders);
|
|
27570
27394
|
|
|
27571
27395
|
/***/ }),
|
|
@@ -27578,17 +27402,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27578
27402
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
27579
27403
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
27580
27404
|
/* harmony export */ });
|
|
27581
|
-
/* harmony import */ var
|
|
27582
|
-
/* harmony import */ var
|
|
27405
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44845);
|
|
27406
|
+
/* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38715);
|
|
27583
27407
|
|
|
27584
27408
|
|
|
27585
|
-
class ComponentsLinks extends
|
|
27409
|
+
class ComponentsLinks extends _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__.ObjectElement {
|
|
27586
27410
|
constructor(content, meta, attributes) {
|
|
27587
27411
|
super(content, meta, attributes);
|
|
27588
27412
|
this.classes.push(ComponentsLinks.primaryClass);
|
|
27589
27413
|
}
|
|
27590
27414
|
}
|
|
27591
|
-
(0,
|
|
27415
|
+
(0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(ComponentsLinks, "primaryClass", 'components-links');
|
|
27592
27416
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ComponentsLinks);
|
|
27593
27417
|
|
|
27594
27418
|
/***/ }),
|
|
@@ -27601,18 +27425,18 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27601
27425
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
27602
27426
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
27603
27427
|
/* harmony export */ });
|
|
27604
|
-
/* harmony import */ var
|
|
27605
|
-
/* harmony import */ var
|
|
27428
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44845);
|
|
27429
|
+
/* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38715);
|
|
27606
27430
|
|
|
27607
27431
|
|
|
27608
|
-
class ComponentsParameters extends
|
|
27432
|
+
class ComponentsParameters extends _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__.ObjectElement {
|
|
27609
27433
|
constructor(content, meta, attributes) {
|
|
27610
27434
|
super(content, meta, attributes);
|
|
27611
27435
|
this.classes.push(ComponentsParameters.primaryClass);
|
|
27612
27436
|
this.classes.push('parameters');
|
|
27613
27437
|
}
|
|
27614
27438
|
}
|
|
27615
|
-
(0,
|
|
27439
|
+
(0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(ComponentsParameters, "primaryClass", 'components-parameters');
|
|
27616
27440
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ComponentsParameters);
|
|
27617
27441
|
|
|
27618
27442
|
/***/ }),
|
|
@@ -27625,17 +27449,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27625
27449
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
27626
27450
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
27627
27451
|
/* harmony export */ });
|
|
27628
|
-
/* harmony import */ var
|
|
27629
|
-
/* harmony import */ var
|
|
27452
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44845);
|
|
27453
|
+
/* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38715);
|
|
27630
27454
|
|
|
27631
27455
|
|
|
27632
|
-
class ComponentsRequestBodies extends
|
|
27456
|
+
class ComponentsRequestBodies extends _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__.ObjectElement {
|
|
27633
27457
|
constructor(content, meta, attributes) {
|
|
27634
27458
|
super(content, meta, attributes);
|
|
27635
27459
|
this.classes.push(ComponentsRequestBodies.primaryClass);
|
|
27636
27460
|
}
|
|
27637
27461
|
}
|
|
27638
|
-
(0,
|
|
27462
|
+
(0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(ComponentsRequestBodies, "primaryClass", 'components-request-bodies');
|
|
27639
27463
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ComponentsRequestBodies);
|
|
27640
27464
|
|
|
27641
27465
|
/***/ }),
|
|
@@ -27648,17 +27472,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27648
27472
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
27649
27473
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
27650
27474
|
/* harmony export */ });
|
|
27651
|
-
/* harmony import */ var
|
|
27652
|
-
/* harmony import */ var
|
|
27475
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44845);
|
|
27476
|
+
/* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38715);
|
|
27653
27477
|
|
|
27654
27478
|
|
|
27655
|
-
class ComponentsResponses extends
|
|
27479
|
+
class ComponentsResponses extends _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__.ObjectElement {
|
|
27656
27480
|
constructor(content, meta, attributes) {
|
|
27657
27481
|
super(content, meta, attributes);
|
|
27658
27482
|
this.classes.push(ComponentsResponses.primaryClass);
|
|
27659
27483
|
}
|
|
27660
27484
|
}
|
|
27661
|
-
(0,
|
|
27485
|
+
(0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(ComponentsResponses, "primaryClass", 'components-responses');
|
|
27662
27486
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ComponentsResponses);
|
|
27663
27487
|
|
|
27664
27488
|
/***/ }),
|
|
@@ -27671,17 +27495,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27671
27495
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
27672
27496
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
27673
27497
|
/* harmony export */ });
|
|
27674
|
-
/* harmony import */ var
|
|
27675
|
-
/* harmony import */ var
|
|
27498
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44845);
|
|
27499
|
+
/* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38715);
|
|
27676
27500
|
|
|
27677
27501
|
|
|
27678
|
-
class ComponentsSchemas extends
|
|
27502
|
+
class ComponentsSchemas extends _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__.ObjectElement {
|
|
27679
27503
|
constructor(content, meta, attributes) {
|
|
27680
27504
|
super(content, meta, attributes);
|
|
27681
27505
|
this.classes.push(ComponentsSchemas.primaryClass);
|
|
27682
27506
|
}
|
|
27683
27507
|
}
|
|
27684
|
-
(0,
|
|
27508
|
+
(0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(ComponentsSchemas, "primaryClass", 'components-schemas');
|
|
27685
27509
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ComponentsSchemas);
|
|
27686
27510
|
|
|
27687
27511
|
/***/ }),
|
|
@@ -27694,17 +27518,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27694
27518
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
27695
27519
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
27696
27520
|
/* harmony export */ });
|
|
27697
|
-
/* harmony import */ var
|
|
27698
|
-
/* harmony import */ var
|
|
27521
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44845);
|
|
27522
|
+
/* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38715);
|
|
27699
27523
|
|
|
27700
27524
|
|
|
27701
|
-
class ComponentsSecuritySchemes extends
|
|
27525
|
+
class ComponentsSecuritySchemes extends _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__.ObjectElement {
|
|
27702
27526
|
constructor(content, meta, attributes) {
|
|
27703
27527
|
super(content, meta, attributes);
|
|
27704
27528
|
this.classes.push(ComponentsSecuritySchemes.primaryClass);
|
|
27705
27529
|
}
|
|
27706
27530
|
}
|
|
27707
|
-
(0,
|
|
27531
|
+
(0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(ComponentsSecuritySchemes, "primaryClass", 'components-security-schemes');
|
|
27708
27532
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ComponentsSecuritySchemes);
|
|
27709
27533
|
|
|
27710
27534
|
/***/ }),
|
|
@@ -27717,17 +27541,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27717
27541
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
27718
27542
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
27719
27543
|
/* harmony export */ });
|
|
27720
|
-
/* harmony import */ var
|
|
27721
|
-
/* harmony import */ var
|
|
27544
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44845);
|
|
27545
|
+
/* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38715);
|
|
27722
27546
|
|
|
27723
27547
|
|
|
27724
|
-
class DiscriminatorMapping extends
|
|
27548
|
+
class DiscriminatorMapping extends _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__.ObjectElement {
|
|
27725
27549
|
constructor(content, meta, attributes) {
|
|
27726
27550
|
super(content, meta, attributes);
|
|
27727
27551
|
this.classes.push(DiscriminatorMapping.primaryClass);
|
|
27728
27552
|
}
|
|
27729
27553
|
}
|
|
27730
|
-
(0,
|
|
27554
|
+
(0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(DiscriminatorMapping, "primaryClass", 'discriminator-mapping');
|
|
27731
27555
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DiscriminatorMapping);
|
|
27732
27556
|
|
|
27733
27557
|
/***/ }),
|
|
@@ -27740,17 +27564,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27740
27564
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
27741
27565
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
27742
27566
|
/* harmony export */ });
|
|
27743
|
-
/* harmony import */ var
|
|
27744
|
-
/* harmony import */ var
|
|
27567
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44845);
|
|
27568
|
+
/* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38715);
|
|
27745
27569
|
|
|
27746
27570
|
|
|
27747
|
-
class EncodingHeaders extends
|
|
27571
|
+
class EncodingHeaders extends _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__.ObjectElement {
|
|
27748
27572
|
constructor(content, meta, attributes) {
|
|
27749
27573
|
super(content, meta, attributes);
|
|
27750
27574
|
this.classes.push(EncodingHeaders.primaryClass);
|
|
27751
27575
|
}
|
|
27752
27576
|
}
|
|
27753
|
-
(0,
|
|
27577
|
+
(0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(EncodingHeaders, "primaryClass", 'encoding-headers');
|
|
27754
27578
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (EncodingHeaders);
|
|
27755
27579
|
|
|
27756
27580
|
/***/ }),
|
|
@@ -27763,18 +27587,18 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27763
27587
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
27764
27588
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
27765
27589
|
/* harmony export */ });
|
|
27766
|
-
/* harmony import */ var
|
|
27767
|
-
/* harmony import */ var
|
|
27590
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44845);
|
|
27591
|
+
/* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38715);
|
|
27768
27592
|
|
|
27769
27593
|
|
|
27770
|
-
class HeaderContent extends
|
|
27594
|
+
class HeaderContent extends _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__.ObjectElement {
|
|
27771
27595
|
constructor(content, meta, attributes) {
|
|
27772
27596
|
super(content, meta, attributes);
|
|
27773
27597
|
this.classes.push(HeaderContent.primaryClass);
|
|
27774
27598
|
this.classes.push('content');
|
|
27775
27599
|
}
|
|
27776
27600
|
}
|
|
27777
|
-
(0,
|
|
27601
|
+
(0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(HeaderContent, "primaryClass", 'header-content');
|
|
27778
27602
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (HeaderContent);
|
|
27779
27603
|
|
|
27780
27604
|
/***/ }),
|
|
@@ -27787,18 +27611,18 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27787
27611
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
27788
27612
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
27789
27613
|
/* harmony export */ });
|
|
27790
|
-
/* harmony import */ var
|
|
27791
|
-
/* harmony import */ var
|
|
27614
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44845);
|
|
27615
|
+
/* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38715);
|
|
27792
27616
|
|
|
27793
27617
|
|
|
27794
|
-
class HeaderExamples extends
|
|
27618
|
+
class HeaderExamples extends _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__.ObjectElement {
|
|
27795
27619
|
constructor(content, meta, attributes) {
|
|
27796
27620
|
super(content, meta, attributes);
|
|
27797
27621
|
this.classes.push(HeaderExamples.primaryClass);
|
|
27798
27622
|
this.classes.push('examples');
|
|
27799
27623
|
}
|
|
27800
27624
|
}
|
|
27801
|
-
(0,
|
|
27625
|
+
(0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(HeaderExamples, "primaryClass", 'header-examples');
|
|
27802
27626
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (HeaderExamples);
|
|
27803
27627
|
|
|
27804
27628
|
/***/ }),
|
|
@@ -27811,17 +27635,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27811
27635
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
27812
27636
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
27813
27637
|
/* harmony export */ });
|
|
27814
|
-
/* harmony import */ var
|
|
27815
|
-
/* harmony import */ var
|
|
27638
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44845);
|
|
27639
|
+
/* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38715);
|
|
27816
27640
|
|
|
27817
27641
|
|
|
27818
|
-
class LinkParameters extends
|
|
27642
|
+
class LinkParameters extends _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__.ObjectElement {
|
|
27819
27643
|
constructor(content, meta, attributes) {
|
|
27820
27644
|
super(content, meta, attributes);
|
|
27821
27645
|
this.classes.push(LinkParameters.primaryClass);
|
|
27822
27646
|
}
|
|
27823
27647
|
}
|
|
27824
|
-
(0,
|
|
27648
|
+
(0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(LinkParameters, "primaryClass", 'link-parameters');
|
|
27825
27649
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (LinkParameters);
|
|
27826
27650
|
|
|
27827
27651
|
/***/ }),
|
|
@@ -27834,17 +27658,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27834
27658
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
27835
27659
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
27836
27660
|
/* harmony export */ });
|
|
27837
|
-
/* harmony import */ var
|
|
27838
|
-
/* harmony import */ var
|
|
27661
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44845);
|
|
27662
|
+
/* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38715);
|
|
27839
27663
|
|
|
27840
27664
|
|
|
27841
|
-
class MediaTypeEncoding extends
|
|
27665
|
+
class MediaTypeEncoding extends _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__.ObjectElement {
|
|
27842
27666
|
constructor(content, meta, attributes) {
|
|
27843
27667
|
super(content, meta, attributes);
|
|
27844
27668
|
this.classes.push(MediaTypeEncoding.primaryClass);
|
|
27845
27669
|
}
|
|
27846
27670
|
}
|
|
27847
|
-
(0,
|
|
27671
|
+
(0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(MediaTypeEncoding, "primaryClass", 'media-type-encoding');
|
|
27848
27672
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MediaTypeEncoding);
|
|
27849
27673
|
|
|
27850
27674
|
/***/ }),
|
|
@@ -27857,18 +27681,18 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27857
27681
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
27858
27682
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
27859
27683
|
/* harmony export */ });
|
|
27860
|
-
/* harmony import */ var
|
|
27861
|
-
/* harmony import */ var
|
|
27684
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44845);
|
|
27685
|
+
/* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38715);
|
|
27862
27686
|
|
|
27863
27687
|
|
|
27864
|
-
class MediaTypeExamples extends
|
|
27688
|
+
class MediaTypeExamples extends _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__.ObjectElement {
|
|
27865
27689
|
constructor(content, meta, attributes) {
|
|
27866
27690
|
super(content, meta, attributes);
|
|
27867
27691
|
this.classes.push(MediaTypeExamples.primaryClass);
|
|
27868
27692
|
this.classes.push('examples');
|
|
27869
27693
|
}
|
|
27870
27694
|
}
|
|
27871
|
-
(0,
|
|
27695
|
+
(0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(MediaTypeExamples, "primaryClass", 'media-type-examples');
|
|
27872
27696
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MediaTypeExamples);
|
|
27873
27697
|
|
|
27874
27698
|
/***/ }),
|
|
@@ -27881,17 +27705,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27881
27705
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
27882
27706
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
27883
27707
|
/* harmony export */ });
|
|
27884
|
-
/* harmony import */ var
|
|
27885
|
-
/* harmony import */ var
|
|
27708
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44845);
|
|
27709
|
+
/* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38715);
|
|
27886
27710
|
|
|
27887
27711
|
|
|
27888
|
-
class OAuthFlowScopes extends
|
|
27712
|
+
class OAuthFlowScopes extends _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__.ObjectElement {
|
|
27889
27713
|
constructor(content, meta, attributes) {
|
|
27890
27714
|
super(content, meta, attributes);
|
|
27891
27715
|
this.classes.push(OAuthFlowScopes.primaryClass);
|
|
27892
27716
|
}
|
|
27893
27717
|
}
|
|
27894
|
-
(0,
|
|
27718
|
+
(0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(OAuthFlowScopes, "primaryClass", 'oauth-flow-scopes');
|
|
27895
27719
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (OAuthFlowScopes);
|
|
27896
27720
|
|
|
27897
27721
|
/***/ }),
|
|
@@ -27904,17 +27728,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27904
27728
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
27905
27729
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
27906
27730
|
/* harmony export */ });
|
|
27907
|
-
/* harmony import */ var
|
|
27908
|
-
/* harmony import */ var
|
|
27731
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44845);
|
|
27732
|
+
/* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38715);
|
|
27909
27733
|
|
|
27910
27734
|
|
|
27911
|
-
class OperationCallbacks extends
|
|
27735
|
+
class OperationCallbacks extends _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__.ObjectElement {
|
|
27912
27736
|
constructor(content, meta, attributes) {
|
|
27913
27737
|
super(content, meta, attributes);
|
|
27914
27738
|
this.classes.push(OperationCallbacks.primaryClass);
|
|
27915
27739
|
}
|
|
27916
27740
|
}
|
|
27917
|
-
(0,
|
|
27741
|
+
(0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(OperationCallbacks, "primaryClass", 'operation-callbacks');
|
|
27918
27742
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (OperationCallbacks);
|
|
27919
27743
|
|
|
27920
27744
|
/***/ }),
|
|
@@ -27927,18 +27751,18 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27927
27751
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
27928
27752
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
27929
27753
|
/* harmony export */ });
|
|
27930
|
-
/* harmony import */ var
|
|
27931
|
-
/* harmony import */ var
|
|
27754
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44845);
|
|
27755
|
+
/* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38715);
|
|
27932
27756
|
|
|
27933
27757
|
|
|
27934
|
-
class OperationParameters extends
|
|
27758
|
+
class OperationParameters extends _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__.ArrayElement {
|
|
27935
27759
|
constructor(content, meta, attributes) {
|
|
27936
27760
|
super(content, meta, attributes);
|
|
27937
27761
|
this.classes.push(OperationParameters.primaryClass);
|
|
27938
27762
|
this.classes.push('parameters');
|
|
27939
27763
|
}
|
|
27940
27764
|
}
|
|
27941
|
-
(0,
|
|
27765
|
+
(0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(OperationParameters, "primaryClass", 'operation-parameters');
|
|
27942
27766
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (OperationParameters);
|
|
27943
27767
|
|
|
27944
27768
|
/***/ }),
|
|
@@ -27951,18 +27775,18 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27951
27775
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
27952
27776
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
27953
27777
|
/* harmony export */ });
|
|
27954
|
-
/* harmony import */ var
|
|
27955
|
-
/* harmony import */ var
|
|
27778
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44845);
|
|
27779
|
+
/* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38715);
|
|
27956
27780
|
|
|
27957
27781
|
|
|
27958
|
-
class OperationSecurity extends
|
|
27782
|
+
class OperationSecurity extends _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__.ArrayElement {
|
|
27959
27783
|
constructor(content, meta, attributes) {
|
|
27960
27784
|
super(content, meta, attributes);
|
|
27961
27785
|
this.classes.push(OperationSecurity.primaryClass);
|
|
27962
27786
|
this.classes.push('security');
|
|
27963
27787
|
}
|
|
27964
27788
|
}
|
|
27965
|
-
(0,
|
|
27789
|
+
(0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(OperationSecurity, "primaryClass", 'operation-security');
|
|
27966
27790
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (OperationSecurity);
|
|
27967
27791
|
|
|
27968
27792
|
/***/ }),
|
|
@@ -27975,18 +27799,18 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27975
27799
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
27976
27800
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
27977
27801
|
/* harmony export */ });
|
|
27978
|
-
/* harmony import */ var
|
|
27979
|
-
/* harmony import */ var
|
|
27802
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44845);
|
|
27803
|
+
/* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38715);
|
|
27980
27804
|
|
|
27981
27805
|
|
|
27982
|
-
class OperationServers extends
|
|
27806
|
+
class OperationServers extends _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__.ArrayElement {
|
|
27983
27807
|
constructor(content, meta, attributes) {
|
|
27984
27808
|
super(content, meta, attributes);
|
|
27985
27809
|
this.classes.push(OperationServers.primaryClass);
|
|
27986
27810
|
this.classes.push('servers');
|
|
27987
27811
|
}
|
|
27988
27812
|
}
|
|
27989
|
-
(0,
|
|
27813
|
+
(0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(OperationServers, "primaryClass", 'operation-servers');
|
|
27990
27814
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (OperationServers);
|
|
27991
27815
|
|
|
27992
27816
|
/***/ }),
|
|
@@ -27999,17 +27823,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27999
27823
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
28000
27824
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
28001
27825
|
/* harmony export */ });
|
|
28002
|
-
/* harmony import */ var
|
|
28003
|
-
/* harmony import */ var
|
|
27826
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44845);
|
|
27827
|
+
/* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38715);
|
|
28004
27828
|
|
|
28005
27829
|
|
|
28006
|
-
class OperationTags extends
|
|
27830
|
+
class OperationTags extends _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__.ArrayElement {
|
|
28007
27831
|
constructor(content, meta, attributes) {
|
|
28008
27832
|
super(content, meta, attributes);
|
|
28009
27833
|
this.classes.push(OperationTags.primaryClass);
|
|
28010
27834
|
}
|
|
28011
27835
|
}
|
|
28012
|
-
(0,
|
|
27836
|
+
(0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(OperationTags, "primaryClass", 'operation-tags');
|
|
28013
27837
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (OperationTags);
|
|
28014
27838
|
|
|
28015
27839
|
/***/ }),
|
|
@@ -28022,18 +27846,18 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28022
27846
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
28023
27847
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
28024
27848
|
/* harmony export */ });
|
|
28025
|
-
/* harmony import */ var
|
|
28026
|
-
/* harmony import */ var
|
|
27849
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44845);
|
|
27850
|
+
/* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38715);
|
|
28027
27851
|
|
|
28028
27852
|
|
|
28029
|
-
class ParameterContent extends
|
|
27853
|
+
class ParameterContent extends _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__.ObjectElement {
|
|
28030
27854
|
constructor(content, meta, attributes) {
|
|
28031
27855
|
super(content, meta, attributes);
|
|
28032
27856
|
this.classes.push(ParameterContent.primaryClass);
|
|
28033
27857
|
this.classes.push('content');
|
|
28034
27858
|
}
|
|
28035
27859
|
}
|
|
28036
|
-
(0,
|
|
27860
|
+
(0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(ParameterContent, "primaryClass", 'parameter-content');
|
|
28037
27861
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ParameterContent);
|
|
28038
27862
|
|
|
28039
27863
|
/***/ }),
|
|
@@ -28046,18 +27870,18 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28046
27870
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
28047
27871
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
28048
27872
|
/* harmony export */ });
|
|
28049
|
-
/* harmony import */ var
|
|
28050
|
-
/* harmony import */ var
|
|
27873
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44845);
|
|
27874
|
+
/* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38715);
|
|
28051
27875
|
|
|
28052
27876
|
|
|
28053
|
-
class ParameterExamples extends
|
|
27877
|
+
class ParameterExamples extends _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__.ObjectElement {
|
|
28054
27878
|
constructor(content, meta, attributes) {
|
|
28055
27879
|
super(content, meta, attributes);
|
|
28056
27880
|
this.classes.push(ParameterExamples.primaryClass);
|
|
28057
27881
|
this.classes.push('examples');
|
|
28058
27882
|
}
|
|
28059
27883
|
}
|
|
28060
|
-
(0,
|
|
27884
|
+
(0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(ParameterExamples, "primaryClass", 'parameter-examples');
|
|
28061
27885
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ParameterExamples);
|
|
28062
27886
|
|
|
28063
27887
|
/***/ }),
|
|
@@ -28070,18 +27894,18 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28070
27894
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
28071
27895
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
28072
27896
|
/* harmony export */ });
|
|
28073
|
-
/* harmony import */ var
|
|
28074
|
-
/* harmony import */ var
|
|
27897
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44845);
|
|
27898
|
+
/* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38715);
|
|
28075
27899
|
|
|
28076
27900
|
|
|
28077
|
-
class PathItemParameters extends
|
|
27901
|
+
class PathItemParameters extends _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__.ArrayElement {
|
|
28078
27902
|
constructor(content, meta, attributes) {
|
|
28079
27903
|
super(content, meta, attributes);
|
|
28080
27904
|
this.classes.push(PathItemParameters.primaryClass);
|
|
28081
27905
|
this.classes.push('parameters');
|
|
28082
27906
|
}
|
|
28083
27907
|
}
|
|
28084
|
-
(0,
|
|
27908
|
+
(0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(PathItemParameters, "primaryClass", 'path-item-parameters');
|
|
28085
27909
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (PathItemParameters);
|
|
28086
27910
|
|
|
28087
27911
|
/***/ }),
|
|
@@ -28094,18 +27918,18 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28094
27918
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
28095
27919
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
28096
27920
|
/* harmony export */ });
|
|
28097
|
-
/* harmony import */ var
|
|
28098
|
-
/* harmony import */ var
|
|
27921
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44845);
|
|
27922
|
+
/* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38715);
|
|
28099
27923
|
|
|
28100
27924
|
|
|
28101
|
-
class PathItemServers extends
|
|
27925
|
+
class PathItemServers extends _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__.ArrayElement {
|
|
28102
27926
|
constructor(content, meta, attributes) {
|
|
28103
27927
|
super(content, meta, attributes);
|
|
28104
27928
|
this.classes.push(PathItemServers.primaryClass);
|
|
28105
27929
|
this.classes.push('servers');
|
|
28106
27930
|
}
|
|
28107
27931
|
}
|
|
28108
|
-
(0,
|
|
27932
|
+
(0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(PathItemServers, "primaryClass", 'path-item-servers');
|
|
28109
27933
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (PathItemServers);
|
|
28110
27934
|
|
|
28111
27935
|
/***/ }),
|
|
@@ -28118,18 +27942,18 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28118
27942
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
28119
27943
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
28120
27944
|
/* harmony export */ });
|
|
28121
|
-
/* harmony import */ var
|
|
28122
|
-
/* harmony import */ var
|
|
27945
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44845);
|
|
27946
|
+
/* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38715);
|
|
28123
27947
|
|
|
28124
27948
|
|
|
28125
|
-
class RequestBodyContent extends
|
|
27949
|
+
class RequestBodyContent extends _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__.ObjectElement {
|
|
28126
27950
|
constructor(content, meta, attributes) {
|
|
28127
27951
|
super(content, meta, attributes);
|
|
28128
27952
|
this.classes.push(RequestBodyContent.primaryClass);
|
|
28129
27953
|
this.classes.push('content');
|
|
28130
27954
|
}
|
|
28131
27955
|
}
|
|
28132
|
-
(0,
|
|
27956
|
+
(0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(RequestBodyContent, "primaryClass", 'request-body-content');
|
|
28133
27957
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RequestBodyContent);
|
|
28134
27958
|
|
|
28135
27959
|
/***/ }),
|
|
@@ -28142,18 +27966,18 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28142
27966
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
28143
27967
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
28144
27968
|
/* harmony export */ });
|
|
28145
|
-
/* harmony import */ var
|
|
28146
|
-
/* harmony import */ var
|
|
27969
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44845);
|
|
27970
|
+
/* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38715);
|
|
28147
27971
|
|
|
28148
27972
|
|
|
28149
|
-
class ResponseContent extends
|
|
27973
|
+
class ResponseContent extends _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__.ObjectElement {
|
|
28150
27974
|
constructor(content, meta, attributes) {
|
|
28151
27975
|
super(content, meta, attributes);
|
|
28152
27976
|
this.classes.push(ResponseContent.primaryClass);
|
|
28153
27977
|
this.classes.push('content');
|
|
28154
27978
|
}
|
|
28155
27979
|
}
|
|
28156
|
-
(0,
|
|
27980
|
+
(0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(ResponseContent, "primaryClass", 'response-content');
|
|
28157
27981
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ResponseContent);
|
|
28158
27982
|
|
|
28159
27983
|
/***/ }),
|
|
@@ -28166,17 +27990,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28166
27990
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
28167
27991
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
28168
27992
|
/* harmony export */ });
|
|
28169
|
-
/* harmony import */ var
|
|
28170
|
-
/* harmony import */ var
|
|
27993
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44845);
|
|
27994
|
+
/* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38715);
|
|
28171
27995
|
|
|
28172
27996
|
|
|
28173
|
-
class ResponseHeaders extends
|
|
27997
|
+
class ResponseHeaders extends _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__.ObjectElement {
|
|
28174
27998
|
constructor(content, meta, attributes) {
|
|
28175
27999
|
super(content, meta, attributes);
|
|
28176
28000
|
this.classes.push(ResponseHeaders.primaryClass);
|
|
28177
28001
|
}
|
|
28178
28002
|
}
|
|
28179
|
-
(0,
|
|
28003
|
+
(0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(ResponseHeaders, "primaryClass", 'response-headers');
|
|
28180
28004
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ResponseHeaders);
|
|
28181
28005
|
|
|
28182
28006
|
/***/ }),
|
|
@@ -28189,17 +28013,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28189
28013
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
28190
28014
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
28191
28015
|
/* harmony export */ });
|
|
28192
|
-
/* harmony import */ var
|
|
28193
|
-
/* harmony import */ var
|
|
28016
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44845);
|
|
28017
|
+
/* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38715);
|
|
28194
28018
|
|
|
28195
28019
|
|
|
28196
|
-
class ResponseLinks extends
|
|
28020
|
+
class ResponseLinks extends _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__.ObjectElement {
|
|
28197
28021
|
constructor(content, meta, attributes) {
|
|
28198
28022
|
super(content, meta, attributes);
|
|
28199
28023
|
this.classes.push(ResponseLinks.primaryClass);
|
|
28200
28024
|
}
|
|
28201
28025
|
}
|
|
28202
|
-
(0,
|
|
28026
|
+
(0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(ResponseLinks, "primaryClass", 'response-links');
|
|
28203
28027
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ResponseLinks);
|
|
28204
28028
|
|
|
28205
28029
|
/***/ }),
|
|
@@ -28212,17 +28036,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28212
28036
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
28213
28037
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
28214
28038
|
/* harmony export */ });
|
|
28215
|
-
/* harmony import */ var
|
|
28216
|
-
/* harmony import */ var
|
|
28039
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44845);
|
|
28040
|
+
/* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38715);
|
|
28217
28041
|
|
|
28218
28042
|
|
|
28219
|
-
class Security extends
|
|
28043
|
+
class Security extends _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__.ArrayElement {
|
|
28220
28044
|
constructor(content, meta, attributes) {
|
|
28221
28045
|
super(content, meta, attributes);
|
|
28222
28046
|
this.classes.push(Security.primaryClass);
|
|
28223
28047
|
}
|
|
28224
28048
|
}
|
|
28225
|
-
(0,
|
|
28049
|
+
(0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(Security, "primaryClass", 'security');
|
|
28226
28050
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Security);
|
|
28227
28051
|
|
|
28228
28052
|
/***/ }),
|
|
@@ -28235,17 +28059,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28235
28059
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
28236
28060
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
28237
28061
|
/* harmony export */ });
|
|
28238
|
-
/* harmony import */ var
|
|
28239
|
-
/* harmony import */ var
|
|
28062
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44845);
|
|
28063
|
+
/* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38715);
|
|
28240
28064
|
|
|
28241
28065
|
|
|
28242
|
-
class ServerVariables extends
|
|
28066
|
+
class ServerVariables extends _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__.ObjectElement {
|
|
28243
28067
|
constructor(content, meta, attributes) {
|
|
28244
28068
|
super(content, meta, attributes);
|
|
28245
28069
|
this.classes.push(ServerVariables.primaryClass);
|
|
28246
28070
|
}
|
|
28247
28071
|
}
|
|
28248
|
-
(0,
|
|
28072
|
+
(0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(ServerVariables, "primaryClass", 'server-variables');
|
|
28249
28073
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ServerVariables);
|
|
28250
28074
|
|
|
28251
28075
|
/***/ }),
|
|
@@ -28258,17 +28082,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28258
28082
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
28259
28083
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
28260
28084
|
/* harmony export */ });
|
|
28261
|
-
/* harmony import */ var
|
|
28262
|
-
/* harmony import */ var
|
|
28085
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44845);
|
|
28086
|
+
/* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38715);
|
|
28263
28087
|
|
|
28264
28088
|
|
|
28265
|
-
class Servers extends
|
|
28089
|
+
class Servers extends _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__.ArrayElement {
|
|
28266
28090
|
constructor(content, meta, attributes) {
|
|
28267
28091
|
super(content, meta, attributes);
|
|
28268
28092
|
this.classes.push(Servers.primaryClass);
|
|
28269
28093
|
}
|
|
28270
28094
|
}
|
|
28271
|
-
(0,
|
|
28095
|
+
(0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(Servers, "primaryClass", 'servers');
|
|
28272
28096
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Servers);
|
|
28273
28097
|
|
|
28274
28098
|
/***/ }),
|
|
@@ -28281,17 +28105,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28281
28105
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
28282
28106
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
28283
28107
|
/* harmony export */ });
|
|
28284
|
-
/* harmony import */ var
|
|
28285
|
-
/* harmony import */ var
|
|
28108
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44845);
|
|
28109
|
+
/* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38715);
|
|
28286
28110
|
|
|
28287
28111
|
|
|
28288
|
-
class Tags extends
|
|
28112
|
+
class Tags extends _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__.ArrayElement {
|
|
28289
28113
|
constructor(content, meta, attributes) {
|
|
28290
28114
|
super(content, meta, attributes);
|
|
28291
28115
|
this.classes.push(Tags.primaryClass);
|
|
28292
28116
|
}
|
|
28293
28117
|
}
|
|
28294
|
-
(0,
|
|
28118
|
+
(0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(Tags, "primaryClass", 'tags');
|
|
28295
28119
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Tags);
|
|
28296
28120
|
|
|
28297
28121
|
/***/ }),
|
|
@@ -34541,17 +34365,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
34541
34365
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
34542
34366
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
34543
34367
|
/* harmony export */ });
|
|
34544
|
-
/* harmony import */ var
|
|
34545
|
-
/* harmony import */ var
|
|
34368
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44845);
|
|
34369
|
+
/* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38715);
|
|
34546
34370
|
|
|
34547
34371
|
|
|
34548
|
-
class JsonSchemaDialect extends
|
|
34372
|
+
class JsonSchemaDialect extends _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__.StringElement {
|
|
34549
34373
|
constructor(content, meta, attributes) {
|
|
34550
34374
|
super(content, meta, attributes);
|
|
34551
34375
|
this.element = 'jsonSchemaDialect';
|
|
34552
34376
|
}
|
|
34553
34377
|
}
|
|
34554
|
-
(0,
|
|
34378
|
+
(0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(JsonSchemaDialect, "default", new JsonSchemaDialect('https://spec.openapis.org/oas/3.1/dialect/base'));
|
|
34555
34379
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (JsonSchemaDialect);
|
|
34556
34380
|
|
|
34557
34381
|
/***/ }),
|
|
@@ -35521,17 +35345,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
35521
35345
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
35522
35346
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
35523
35347
|
/* harmony export */ });
|
|
35524
|
-
/* harmony import */ var
|
|
35525
|
-
/* harmony import */ var
|
|
35348
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44845);
|
|
35349
|
+
/* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38715);
|
|
35526
35350
|
|
|
35527
35351
|
|
|
35528
|
-
class ComponentsPathItems extends
|
|
35352
|
+
class ComponentsPathItems extends _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__.ObjectElement {
|
|
35529
35353
|
constructor(content, meta, attributes) {
|
|
35530
35354
|
super(content, meta, attributes);
|
|
35531
35355
|
this.classes.push(ComponentsPathItems.primaryClass);
|
|
35532
35356
|
}
|
|
35533
35357
|
}
|
|
35534
|
-
(0,
|
|
35358
|
+
(0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(ComponentsPathItems, "primaryClass", 'components-path-items');
|
|
35535
35359
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ComponentsPathItems);
|
|
35536
35360
|
|
|
35537
35361
|
/***/ }),
|
|
@@ -35544,17 +35368,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
35544
35368
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
35545
35369
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
35546
35370
|
/* harmony export */ });
|
|
35547
|
-
/* harmony import */ var
|
|
35548
|
-
/* harmony import */ var
|
|
35371
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44845);
|
|
35372
|
+
/* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38715);
|
|
35549
35373
|
|
|
35550
35374
|
|
|
35551
|
-
class Webhooks extends
|
|
35375
|
+
class Webhooks extends _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__.ObjectElement {
|
|
35552
35376
|
constructor(content, meta, attributes) {
|
|
35553
35377
|
super(content, meta, attributes);
|
|
35554
35378
|
this.classes.push(Webhooks.primaryClass);
|
|
35555
35379
|
}
|
|
35556
35380
|
}
|
|
35557
|
-
(0,
|
|
35381
|
+
(0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(Webhooks, "primaryClass", 'webhooks');
|
|
35558
35382
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Webhooks);
|
|
35559
35383
|
|
|
35560
35384
|
/***/ }),
|
|
@@ -37030,8 +36854,8 @@ const specification = {
|
|
|
37030
36854
|
ServerVariable: {
|
|
37031
36855
|
$visitor: _visitors_open_api_3_1_server_variable_index_js__WEBPACK_IMPORTED_MODULE_10__["default"],
|
|
37032
36856
|
fixedFields: {
|
|
37033
|
-
enum: _swagger_api_apidom_ns_openapi_3_0__WEBPACK_IMPORTED_MODULE_0__["default"].visitors.document.objects.ServerVariable.fixedFields
|
|
37034
|
-
default: _swagger_api_apidom_ns_openapi_3_0__WEBPACK_IMPORTED_MODULE_0__["default"].visitors.document.objects.ServerVariable.fixedFields
|
|
36857
|
+
enum: _swagger_api_apidom_ns_openapi_3_0__WEBPACK_IMPORTED_MODULE_0__["default"].visitors.document.objects.ServerVariable.fixedFields.enum,
|
|
36858
|
+
default: _swagger_api_apidom_ns_openapi_3_0__WEBPACK_IMPORTED_MODULE_0__["default"].visitors.document.objects.ServerVariable.fixedFields.default,
|
|
37035
36859
|
description: _swagger_api_apidom_ns_openapi_3_0__WEBPACK_IMPORTED_MODULE_0__["default"].visitors.document.objects.ServerVariable.fixedFields.description
|
|
37036
36860
|
}
|
|
37037
36861
|
},
|
|
@@ -37119,7 +36943,7 @@ const specification = {
|
|
|
37119
36943
|
$visitor: _visitors_open_api_3_1_parameter_index_js__WEBPACK_IMPORTED_MODULE_18__["default"],
|
|
37120
36944
|
fixedFields: {
|
|
37121
36945
|
name: _swagger_api_apidom_ns_openapi_3_0__WEBPACK_IMPORTED_MODULE_0__["default"].visitors.document.objects.Parameter.fixedFields.name,
|
|
37122
|
-
in: _swagger_api_apidom_ns_openapi_3_0__WEBPACK_IMPORTED_MODULE_0__["default"].visitors.document.objects.Parameter.fixedFields
|
|
36946
|
+
in: _swagger_api_apidom_ns_openapi_3_0__WEBPACK_IMPORTED_MODULE_0__["default"].visitors.document.objects.Parameter.fixedFields.in,
|
|
37123
36947
|
description: _swagger_api_apidom_ns_openapi_3_0__WEBPACK_IMPORTED_MODULE_0__["default"].visitors.document.objects.Parameter.fixedFields.description,
|
|
37124
36948
|
required: _swagger_api_apidom_ns_openapi_3_0__WEBPACK_IMPORTED_MODULE_0__["default"].visitors.document.objects.Parameter.fixedFields.required,
|
|
37125
36949
|
deprecated: _swagger_api_apidom_ns_openapi_3_0__WEBPACK_IMPORTED_MODULE_0__["default"].visitors.document.objects.Parameter.fixedFields.deprecated,
|
|
@@ -37167,7 +36991,7 @@ const specification = {
|
|
|
37167
36991
|
Responses: {
|
|
37168
36992
|
$visitor: _visitors_open_api_3_1_responses_index_js__WEBPACK_IMPORTED_MODULE_22__["default"],
|
|
37169
36993
|
fixedFields: {
|
|
37170
|
-
default: _swagger_api_apidom_ns_openapi_3_0__WEBPACK_IMPORTED_MODULE_0__["default"].visitors.document.objects.Responses.fixedFields
|
|
36994
|
+
default: _swagger_api_apidom_ns_openapi_3_0__WEBPACK_IMPORTED_MODULE_0__["default"].visitors.document.objects.Responses.fixedFields.default
|
|
37171
36995
|
}
|
|
37172
36996
|
},
|
|
37173
36997
|
Response: {
|
|
@@ -37370,7 +37194,7 @@ const specification = {
|
|
|
37370
37194
|
type: _swagger_api_apidom_ns_openapi_3_0__WEBPACK_IMPORTED_MODULE_0__["default"].visitors.document.objects.SecurityScheme.fixedFields.type,
|
|
37371
37195
|
description: _swagger_api_apidom_ns_openapi_3_0__WEBPACK_IMPORTED_MODULE_0__["default"].visitors.document.objects.SecurityScheme.fixedFields.description,
|
|
37372
37196
|
name: _swagger_api_apidom_ns_openapi_3_0__WEBPACK_IMPORTED_MODULE_0__["default"].visitors.document.objects.SecurityScheme.fixedFields.name,
|
|
37373
|
-
in: _swagger_api_apidom_ns_openapi_3_0__WEBPACK_IMPORTED_MODULE_0__["default"].visitors.document.objects.SecurityScheme.fixedFields
|
|
37197
|
+
in: _swagger_api_apidom_ns_openapi_3_0__WEBPACK_IMPORTED_MODULE_0__["default"].visitors.document.objects.SecurityScheme.fixedFields.in,
|
|
37374
37198
|
scheme: _swagger_api_apidom_ns_openapi_3_0__WEBPACK_IMPORTED_MODULE_0__["default"].visitors.document.objects.SecurityScheme.fixedFields.scheme,
|
|
37375
37199
|
bearerFormat: _swagger_api_apidom_ns_openapi_3_0__WEBPACK_IMPORTED_MODULE_0__["default"].visitors.document.objects.SecurityScheme.fixedFields.bearerFormat,
|
|
37376
37200
|
flows: {
|
|
@@ -42359,16 +42183,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
42359
42183
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
42360
42184
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
42361
42185
|
/* harmony export */ });
|
|
42362
|
-
/* harmony import */ var
|
|
42363
|
-
/* harmony import */ var
|
|
42186
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44845);
|
|
42187
|
+
/* harmony import */ var _CausedError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77730);
|
|
42364
42188
|
|
|
42365
42189
|
|
|
42366
|
-
class PluginError extends
|
|
42190
|
+
class PluginError extends _CausedError_js__WEBPACK_IMPORTED_MODULE_0__["default"] {
|
|
42367
42191
|
constructor(message, options) {
|
|
42368
42192
|
super(message, {
|
|
42369
42193
|
cause: options.cause
|
|
42370
42194
|
});
|
|
42371
|
-
(0,
|
|
42195
|
+
(0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(this, "plugin", void 0);
|
|
42372
42196
|
this.plugin = options.plugin;
|
|
42373
42197
|
}
|
|
42374
42198
|
}
|
|
@@ -65924,24 +65748,24 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
65924
65748
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__),
|
|
65925
65749
|
/* harmony export */ helpers: () => (/* binding */ helpers)
|
|
65926
65750
|
/* harmony export */ });
|
|
65927
|
-
/* harmony import */ var
|
|
65928
|
-
/* harmony import */ var
|
|
65929
|
-
/* harmony import */ var
|
|
65930
|
-
/* harmony import */ var
|
|
65931
|
-
/* harmony import */ var
|
|
65932
|
-
/* harmony import */ var
|
|
65933
|
-
/* harmony import */ var
|
|
65934
|
-
/* harmony import */ var
|
|
65935
|
-
/* harmony import */ var
|
|
65936
|
-
/* harmony import */ var
|
|
65937
|
-
/* harmony import */ var
|
|
65938
|
-
/* harmony import */ var
|
|
65939
|
-
/* harmony import */ var
|
|
65940
|
-
/* harmony import */ var
|
|
65941
|
-
/* harmony import */ var
|
|
65942
|
-
/* harmony import */ var
|
|
65943
|
-
/* harmony import */ var
|
|
65944
|
-
/* harmony import */ var
|
|
65751
|
+
/* harmony import */ var _babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(97530);
|
|
65752
|
+
/* harmony import */ var url__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8575);
|
|
65753
|
+
/* harmony import */ var _http_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(28288);
|
|
65754
|
+
/* harmony import */ var _resolver_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(82788);
|
|
65755
|
+
/* harmony import */ var _subtree_resolver_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(64499);
|
|
65756
|
+
/* harmony import */ var _resolver_strategies_generic_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(87485);
|
|
65757
|
+
/* harmony import */ var _resolver_strategies_openapi_2_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(48390);
|
|
65758
|
+
/* harmony import */ var _resolver_strategies_openapi_3_0_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(79018);
|
|
65759
|
+
/* harmony import */ var _resolver_strategies_openapi_3_1_apidom_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(4863);
|
|
65760
|
+
/* harmony import */ var _interfaces_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(62138);
|
|
65761
|
+
/* harmony import */ var _execute_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(93860);
|
|
65762
|
+
/* harmony import */ var _helpers_index_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(63959);
|
|
65763
|
+
/* harmony import */ var _resolver_apidom_reference_resolve_resolvers_http_swagger_client_index_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(280);
|
|
65764
|
+
/* harmony import */ var _resolver_apidom_reference_parse_parsers_json_index_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(8445);
|
|
65765
|
+
/* harmony import */ var _resolver_apidom_reference_parse_parsers_yaml_1_2_index_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(57287);
|
|
65766
|
+
/* harmony import */ var _resolver_apidom_reference_parse_parsers_openapi_json_3_1_index_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(9515);
|
|
65767
|
+
/* harmony import */ var _resolver_apidom_reference_parse_parsers_openapi_yaml_3_1_index_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(47779);
|
|
65768
|
+
/* harmony import */ var _resolver_apidom_reference_dereference_strategies_openapi_3_1_swagger_client_index_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(7662);
|
|
65945
65769
|
|
|
65946
65770
|
/* eslint-disable camelcase */
|
|
65947
65771
|
|
|
@@ -65961,47 +65785,47 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
65961
65785
|
|
|
65962
65786
|
|
|
65963
65787
|
|
|
65964
|
-
Swagger.http =
|
|
65965
|
-
Swagger.makeHttp =
|
|
65788
|
+
Swagger.http = _http_index_js__WEBPACK_IMPORTED_MODULE_1__["default"];
|
|
65789
|
+
Swagger.makeHttp = _http_index_js__WEBPACK_IMPORTED_MODULE_1__.makeHttp.bind(null, Swagger.http);
|
|
65966
65790
|
Swagger.resolveStrategies = {
|
|
65967
|
-
'openapi-3-1-apidom':
|
|
65968
|
-
'openapi-3-0':
|
|
65969
|
-
'openapi-2-0':
|
|
65970
|
-
generic:
|
|
65791
|
+
'openapi-3-1-apidom': _resolver_strategies_openapi_3_1_apidom_index_js__WEBPACK_IMPORTED_MODULE_7__["default"],
|
|
65792
|
+
'openapi-3-0': _resolver_strategies_openapi_3_0_index_js__WEBPACK_IMPORTED_MODULE_6__["default"],
|
|
65793
|
+
'openapi-2-0': _resolver_strategies_openapi_2_index_js__WEBPACK_IMPORTED_MODULE_5__["default"],
|
|
65794
|
+
generic: _resolver_strategies_generic_index_js__WEBPACK_IMPORTED_MODULE_4__["default"]
|
|
65971
65795
|
};
|
|
65972
|
-
Swagger.resolve = (0,
|
|
65796
|
+
Swagger.resolve = (0,_resolver_index_js__WEBPACK_IMPORTED_MODULE_2__.makeResolve)({
|
|
65973
65797
|
strategies: [Swagger.resolveStrategies['openapi-3-1-apidom'], Swagger.resolveStrategies['openapi-3-0'], Swagger.resolveStrategies['openapi-2-0'], Swagger.resolveStrategies.generic]
|
|
65974
65798
|
});
|
|
65975
|
-
Swagger.resolveSubtree = (0,
|
|
65799
|
+
Swagger.resolveSubtree = (0,_subtree_resolver_index_js__WEBPACK_IMPORTED_MODULE_3__.makeResolveSubtree)({
|
|
65976
65800
|
strategies: [Swagger.resolveStrategies['openapi-3-1-apidom'], Swagger.resolveStrategies['openapi-3-0'], Swagger.resolveStrategies['openapi-2-0'], Swagger.resolveStrategies.generic]
|
|
65977
65801
|
});
|
|
65978
|
-
Swagger.execute =
|
|
65979
|
-
Swagger.serializeRes =
|
|
65980
|
-
Swagger.serializeHeaders =
|
|
65981
|
-
Swagger.clearCache =
|
|
65982
|
-
Swagger.makeApisTagOperation =
|
|
65983
|
-
Swagger.buildRequest =
|
|
65802
|
+
Swagger.execute = _execute_index_js__WEBPACK_IMPORTED_MODULE_9__.execute;
|
|
65803
|
+
Swagger.serializeRes = _http_index_js__WEBPACK_IMPORTED_MODULE_1__.serializeRes;
|
|
65804
|
+
Swagger.serializeHeaders = _http_index_js__WEBPACK_IMPORTED_MODULE_1__.serializeHeaders;
|
|
65805
|
+
Swagger.clearCache = _resolver_strategies_openapi_2_index_js__WEBPACK_IMPORTED_MODULE_5__.clearCache;
|
|
65806
|
+
Swagger.makeApisTagOperation = _interfaces_js__WEBPACK_IMPORTED_MODULE_8__.makeApisTagOperation;
|
|
65807
|
+
Swagger.buildRequest = _execute_index_js__WEBPACK_IMPORTED_MODULE_9__.buildRequest;
|
|
65984
65808
|
Swagger.helpers = {
|
|
65985
|
-
opId:
|
|
65809
|
+
opId: _helpers_index_js__WEBPACK_IMPORTED_MODULE_16__["default"]
|
|
65986
65810
|
};
|
|
65987
|
-
Swagger.getBaseUrl =
|
|
65811
|
+
Swagger.getBaseUrl = _execute_index_js__WEBPACK_IMPORTED_MODULE_9__.baseUrl;
|
|
65988
65812
|
Swagger.apidom = {
|
|
65989
65813
|
resolve: {
|
|
65990
65814
|
resolvers: {
|
|
65991
|
-
HttpResolverSwaggerClient:
|
|
65815
|
+
HttpResolverSwaggerClient: _resolver_apidom_reference_resolve_resolvers_http_swagger_client_index_js__WEBPACK_IMPORTED_MODULE_10__["default"]
|
|
65992
65816
|
}
|
|
65993
65817
|
},
|
|
65994
65818
|
parse: {
|
|
65995
65819
|
parsers: {
|
|
65996
|
-
JsonParser:
|
|
65997
|
-
YamlParser:
|
|
65998
|
-
OpenApiJson3_1Parser:
|
|
65999
|
-
OpenApiYaml3_1Parser:
|
|
65820
|
+
JsonParser: _resolver_apidom_reference_parse_parsers_json_index_js__WEBPACK_IMPORTED_MODULE_11__["default"],
|
|
65821
|
+
YamlParser: _resolver_apidom_reference_parse_parsers_yaml_1_2_index_js__WEBPACK_IMPORTED_MODULE_12__["default"],
|
|
65822
|
+
OpenApiJson3_1Parser: _resolver_apidom_reference_parse_parsers_openapi_json_3_1_index_js__WEBPACK_IMPORTED_MODULE_13__["default"],
|
|
65823
|
+
OpenApiYaml3_1Parser: _resolver_apidom_reference_parse_parsers_openapi_yaml_3_1_index_js__WEBPACK_IMPORTED_MODULE_14__["default"]
|
|
66000
65824
|
}
|
|
66001
65825
|
},
|
|
66002
65826
|
dereference: {
|
|
66003
65827
|
strategies: {
|
|
66004
|
-
OpenApi3_1SwaggerClientDereferenceStrategy:
|
|
65828
|
+
OpenApi3_1SwaggerClientDereferenceStrategy: _resolver_apidom_reference_dereference_strategies_openapi_3_1_swagger_client_index_js__WEBPACK_IMPORTED_MODULE_15__["default"]
|
|
66005
65829
|
}
|
|
66006
65830
|
}
|
|
66007
65831
|
};
|
|
@@ -66029,10 +65853,10 @@ function Swagger(url) {
|
|
|
66029
65853
|
return prom;
|
|
66030
65854
|
}
|
|
66031
65855
|
Swagger.prototype = {
|
|
66032
|
-
http:
|
|
65856
|
+
http: _http_index_js__WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
66033
65857
|
execute(options) {
|
|
66034
65858
|
this.applyDefaults();
|
|
66035
|
-
return Swagger.execute((0,
|
|
65859
|
+
return Swagger.execute((0,_babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_17__["default"])({
|
|
66036
65860
|
spec: this.spec,
|
|
66037
65861
|
http: this.http,
|
|
66038
65862
|
securities: {
|
|
@@ -66045,7 +65869,7 @@ Swagger.prototype = {
|
|
|
66045
65869
|
},
|
|
66046
65870
|
resolve() {
|
|
66047
65871
|
let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
66048
|
-
return Swagger.resolve((0,
|
|
65872
|
+
return Swagger.resolve((0,_babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_17__["default"])({
|
|
66049
65873
|
spec: this.spec,
|
|
66050
65874
|
url: this.url,
|
|
66051
65875
|
http: this.http || this.fetch,
|
|
@@ -66069,7 +65893,7 @@ Swagger.prototype.applyDefaults = function applyDefaults() {
|
|
|
66069
65893
|
const specUrl = this.url;
|
|
66070
65894
|
// TODO: OAS3: support servers here
|
|
66071
65895
|
if (specUrl && specUrl.startsWith('http')) {
|
|
66072
|
-
const parsed =
|
|
65896
|
+
const parsed = url__WEBPACK_IMPORTED_MODULE_0__.parse(specUrl);
|
|
66073
65897
|
if (!spec.host) {
|
|
66074
65898
|
spec.host = parsed.host;
|
|
66075
65899
|
}
|