@usearazzo/runner 1.0.1-alpha.18 → 1.0.1-alpha.20
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/CHANGELOG.md +18 -0
- package/README.md +1 -1
- package/dist/arazzo-runner.browser.js +336 -179
- package/dist/arazzo-runner.browser.min.js +1 -1
- package/package.json +14 -14
- package/src/criterion/CriterionErrorReason.cjs +51 -0
- package/src/criterion/CriterionErrorReason.mjs +46 -0
- package/src/criterion/CriterionEvaluator.cjs +63 -36
- package/src/criterion/CriterionEvaluator.mjs +63 -36
- package/src/criterion/JSONPathCriterionEvaluator.cjs +5 -4
- package/src/criterion/JSONPathCriterionEvaluator.mjs +5 -4
- package/src/criterion/RegexCriterionEvaluator.cjs +5 -4
- package/src/criterion/RegexCriterionEvaluator.mjs +5 -4
- package/src/criterion/SimpleCriterionEvaluator.cjs +5 -4
- package/src/criterion/SimpleCriterionEvaluator.mjs +5 -4
- package/src/criterion/XPathCriterionEvaluator.cjs +13 -12
- package/src/criterion/XPathCriterionEvaluator.mjs +13 -12
- package/src/errors/CriterionEvaluationError.cjs +18 -0
- package/src/errors/CriterionEvaluationError.mjs +11 -0
- package/src/index.cjs +14 -0
- package/src/index.mjs +2 -0
- package/src/vendor/swagger-client.cjs +1 -1
- package/src/vendor/swagger-client.mjs +1 -1
- package/types/runner.d.ts +85 -10
|
@@ -9934,6 +9934,64 @@ const MAX_DOCUMENT_REGISTRY_SIZE = 4;
|
|
|
9934
9934
|
/* harmony export */ ]);
|
|
9935
9935
|
|
|
9936
9936
|
|
|
9937
|
+
/***/ },
|
|
9938
|
+
|
|
9939
|
+
/***/ 94547
|
|
9940
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
9941
|
+
|
|
9942
|
+
"use strict";
|
|
9943
|
+
__webpack_require__.r(__webpack_exports__);
|
|
9944
|
+
/**
|
|
9945
|
+
* The `reason` a {@link CriterionError} carries.
|
|
9946
|
+
*
|
|
9947
|
+
* Structural reasons mark a criterion that is malformed as written; they are
|
|
9948
|
+
* thrown as a plain `CriterionError`. Evaluation reasons (`InvalidSimple`,
|
|
9949
|
+
* `InvalidRegex`, `InvalidJSONPath`, `InvalidXPath`, `InvalidXPathContext`) mark
|
|
9950
|
+
* a condition that cannot be evaluated; they are thrown as a
|
|
9951
|
+
* {@link CriterionEvaluationError}, which `CriterionEvaluator` turns into an
|
|
9952
|
+
* unmet criterion.
|
|
9953
|
+
* @public
|
|
9954
|
+
*/
|
|
9955
|
+
const CriterionErrorReason = {
|
|
9956
|
+
/** The element is not a Criterion Object. */
|
|
9957
|
+
InvalidCriterion: 'invalid-criterion',
|
|
9958
|
+
/** The `condition` is missing or empty. */
|
|
9959
|
+
MissingCondition: 'missing-condition',
|
|
9960
|
+
/** The `type` is present but unreadable. */
|
|
9961
|
+
InvalidType: 'invalid-type',
|
|
9962
|
+
/** The `type` names no known criterion type. */
|
|
9963
|
+
UnknownType: 'unknown-type',
|
|
9964
|
+
/** The expression type `version` is present but not a string. */
|
|
9965
|
+
InvalidVersion: 'invalid-version',
|
|
9966
|
+
/** The expression type `version` is not the one this runner supports. */
|
|
9967
|
+
UnsupportedVersion: 'unsupported-version',
|
|
9968
|
+
/** The `context` is not a runtime expression. */
|
|
9969
|
+
InvalidContext: 'invalid-context',
|
|
9970
|
+
/** A `regex`, `jsonpath` or `xpath` criterion has no `context`. */
|
|
9971
|
+
MissingContext: 'missing-context',
|
|
9972
|
+
/** The `simple` condition cannot be parsed. */
|
|
9973
|
+
InvalidSimple: 'invalid-simple',
|
|
9974
|
+
/** The `regex` condition is not a valid regular expression. */
|
|
9975
|
+
InvalidRegex: 'invalid-regex',
|
|
9976
|
+
/** The `jsonpath` condition is not a valid JSONPath query. */
|
|
9977
|
+
InvalidJSONPath: 'invalid-jsonpath',
|
|
9978
|
+
/** The `xpath` condition is invalid or fails to evaluate. */
|
|
9979
|
+
InvalidXPath: 'invalid-xpath',
|
|
9980
|
+
/** The resolved `xpath` context is not XML. */
|
|
9981
|
+
InvalidXPathContext: 'invalid-xpath-context'
|
|
9982
|
+
};
|
|
9983
|
+
|
|
9984
|
+
/**
|
|
9985
|
+
* One of the `CriterionErrorReason` values.
|
|
9986
|
+
* @public
|
|
9987
|
+
*/
|
|
9988
|
+
|
|
9989
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CriterionErrorReason);
|
|
9990
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
9991
|
+
/* harmony export */ "default", 0, __WEBPACK_DEFAULT_EXPORT__
|
|
9992
|
+
/* harmony export */ ]);
|
|
9993
|
+
|
|
9994
|
+
|
|
9937
9995
|
/***/ },
|
|
9938
9996
|
|
|
9939
9997
|
/***/ 98936
|
|
@@ -9946,10 +10004,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9946
10004
|
/* harmony import */ var _speclynx_apidom_ns_arazzo_1__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(75728);
|
|
9947
10005
|
/* harmony import */ var _swaggerexpert_arazzo_runtime_expression__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(26847);
|
|
9948
10006
|
/* harmony import */ var _errors_CriterionError_ts__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(41233);
|
|
9949
|
-
/* harmony import */ var
|
|
9950
|
-
/* harmony import */ var
|
|
9951
|
-
/* harmony import */ var
|
|
9952
|
-
/* harmony import */ var
|
|
10007
|
+
/* harmony import */ var _errors_CriterionEvaluationError_ts__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(71731);
|
|
10008
|
+
/* harmony import */ var _CriterionErrorReason_ts__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(94547);
|
|
10009
|
+
/* harmony import */ var _RegexCriterionEvaluator_ts__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(13517);
|
|
10010
|
+
/* harmony import */ var _SimpleCriterionEvaluator_ts__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(41346);
|
|
10011
|
+
/* harmony import */ var _JSONPathCriterionEvaluator_ts__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(90089);
|
|
10012
|
+
/* harmony import */ var _XPathCriterionEvaluator_ts__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(84997);
|
|
10013
|
+
|
|
10014
|
+
|
|
9953
10015
|
|
|
9954
10016
|
|
|
9955
10017
|
|
|
@@ -9974,6 +10036,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9974
10036
|
|
|
9975
10037
|
/**
|
|
9976
10038
|
* Options for the CriterionEvaluator.
|
|
10039
|
+
*
|
|
10040
|
+
* An injected evaluator signals a condition it cannot evaluate by throwing a
|
|
10041
|
+
* {@link CriterionEvaluationError}, which fails the criterion; any other error
|
|
10042
|
+
* it throws, a plain {@link CriterionError} included, propagates.
|
|
9977
10043
|
* @public
|
|
9978
10044
|
*/
|
|
9979
10045
|
|
|
@@ -9987,12 +10053,26 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9987
10053
|
* pattern to the resolved value.
|
|
9988
10054
|
* - `jsonpath` — resolves the `context` runtime expression, then applies the
|
|
9989
10055
|
* JSONPath query to the resolved value (met when the query matches). Only the
|
|
9990
|
-
* `rfc9535` version is supported
|
|
9991
|
-
* throws.
|
|
10056
|
+
* `rfc9535` version is supported; an explicit other version throws.
|
|
9992
10057
|
* - `xpath` — resolves the `context` runtime expression, then applies the XPath
|
|
9993
10058
|
* 3.1 query to the resolved XML value (met by the Effective Boolean Value).
|
|
9994
|
-
* Only the `xpath-31` version is supported
|
|
9995
|
-
*
|
|
10059
|
+
* Only the `xpath-31` version is supported; an explicit other version throws.
|
|
10060
|
+
*
|
|
10061
|
+
* Versions follow Arazzo 1.1.0's Expression Type Object: `rfc9535` and
|
|
10062
|
+
* `xpath-31` are allowed values, and an omitted `version` defaults to them.
|
|
10063
|
+
* Arazzo 1.0.x lists neither and requires `version`; this evaluator applies
|
|
10064
|
+
* the 1.1.0 rule to every document, which accepts more but never evaluates a
|
|
10065
|
+
* query under the wrong dialect.
|
|
10066
|
+
*
|
|
10067
|
+
* A condition that cannot be evaluated fails the criterion (`false`), as
|
|
10068
|
+
* Arazzo 1.1.0 requires: a syntax error in the condition, a context the
|
|
10069
|
+
* condition cannot apply to (non-XML data for `xpath`), or an XPath evaluation
|
|
10070
|
+
* error. The type-specific evaluators report these as a
|
|
10071
|
+
* {@link CriterionEvaluationError}, which this facade absorbs; any other error
|
|
10072
|
+
* they raise propagates. A criterion that is malformed as written still throws: a
|
|
10073
|
+
* missing `condition`, an unknown or unreadable `type`, an unsupported
|
|
10074
|
+
* expression `version`, or a `context` that is missing or not a runtime
|
|
10075
|
+
* expression.
|
|
9996
10076
|
*
|
|
9997
10077
|
* The evaluator is agnostic about how runtime expressions are resolved: the
|
|
9998
10078
|
* caller supplies a {@link CriterionContextResolver} per evaluation, keeping
|
|
@@ -10006,10 +10086,10 @@ class CriterionEvaluator {
|
|
|
10006
10086
|
#jsonpath;
|
|
10007
10087
|
#xpath;
|
|
10008
10088
|
constructor(options = {}) {
|
|
10009
|
-
this.#simple = options.simple ?? new
|
|
10010
|
-
this.#regex = options.regex ?? new
|
|
10011
|
-
this.#jsonpath = options.jsonpath ?? new
|
|
10012
|
-
this.#xpath = options.xpath ?? new
|
|
10089
|
+
this.#simple = options.simple ?? new _SimpleCriterionEvaluator_ts__WEBPACK_IMPORTED_MODULE_8__["default"]();
|
|
10090
|
+
this.#regex = options.regex ?? new _RegexCriterionEvaluator_ts__WEBPACK_IMPORTED_MODULE_7__["default"]();
|
|
10091
|
+
this.#jsonpath = options.jsonpath ?? new _JSONPathCriterionEvaluator_ts__WEBPACK_IMPORTED_MODULE_9__["default"]();
|
|
10092
|
+
this.#xpath = options.xpath ?? new _XPathCriterionEvaluator_ts__WEBPACK_IMPORTED_MODULE_10__["default"]();
|
|
10013
10093
|
}
|
|
10014
10094
|
|
|
10015
10095
|
/**
|
|
@@ -10022,7 +10102,7 @@ class CriterionEvaluator {
|
|
|
10022
10102
|
evaluate(criterion, resolve) {
|
|
10023
10103
|
if (!(0,_speclynx_apidom_ns_arazzo_1__WEBPACK_IMPORTED_MODULE_2__.isCriterionElement)(criterion)) {
|
|
10024
10104
|
throw new _errors_CriterionError_ts__WEBPACK_IMPORTED_MODULE_4__["default"]('Element is not a Criterion Object', {
|
|
10025
|
-
reason:
|
|
10105
|
+
reason: _CriterionErrorReason_ts__WEBPACK_IMPORTED_MODULE_6__["default"].InvalidCriterion
|
|
10026
10106
|
});
|
|
10027
10107
|
}
|
|
10028
10108
|
const condition = (0,_speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_1__.isStringElement)(criterion.condition) ? (0,_speclynx_apidom_core__WEBPACK_IMPORTED_MODULE_0__["default"])(criterion.condition) : undefined;
|
|
@@ -10030,33 +10110,40 @@ class CriterionEvaluator {
|
|
|
10030
10110
|
// (e.g. an empty regex would match unconditionally), so reject it too.
|
|
10031
10111
|
if (condition === undefined || condition === '') {
|
|
10032
10112
|
throw new _errors_CriterionError_ts__WEBPACK_IMPORTED_MODULE_4__["default"]('Criterion is missing a "condition"', {
|
|
10033
|
-
reason:
|
|
10113
|
+
reason: _CriterionErrorReason_ts__WEBPACK_IMPORTED_MODULE_6__["default"].MissingCondition
|
|
10034
10114
|
});
|
|
10035
10115
|
}
|
|
10036
10116
|
const type = this.#resolveType(criterion);
|
|
10037
10117
|
this.#requireValidContext(criterion, type);
|
|
10038
|
-
|
|
10039
|
-
|
|
10040
|
-
|
|
10041
|
-
|
|
10042
|
-
|
|
10043
|
-
|
|
10044
|
-
|
|
10045
|
-
|
|
10046
|
-
|
|
10047
|
-
|
|
10048
|
-
|
|
10049
|
-
|
|
10050
|
-
|
|
10051
|
-
|
|
10052
|
-
|
|
10053
|
-
|
|
10054
|
-
|
|
10055
|
-
|
|
10056
|
-
|
|
10057
|
-
|
|
10058
|
-
|
|
10059
|
-
|
|
10118
|
+
try {
|
|
10119
|
+
switch (type) {
|
|
10120
|
+
case 'simple':
|
|
10121
|
+
return this.#simple.evaluate(condition, resolve);
|
|
10122
|
+
case 'regex':
|
|
10123
|
+
return this.#regex.evaluate(condition, this.#resolveContext(criterion, type, resolve));
|
|
10124
|
+
case 'jsonpath':
|
|
10125
|
+
// only rfc9535 is supported, Arazzo 1.1.0's default, so an omitted
|
|
10126
|
+
// version is accepted. draft-goessner has different semantics and is
|
|
10127
|
+
// rejected rather than mis-evaluated.
|
|
10128
|
+
this.#requireVersion(criterion, type, condition, 'rfc9535');
|
|
10129
|
+
return this.#jsonpath.evaluate(condition, this.#resolveContext(criterion, type, resolve));
|
|
10130
|
+
case 'xpath':
|
|
10131
|
+
// only XPath 3.1 is supported; xpath-31 is Arazzo 1.1.0's default, so
|
|
10132
|
+
// an omitted version is accepted. Older versions are rejected.
|
|
10133
|
+
this.#requireVersion(criterion, type, condition, 'xpath-31');
|
|
10134
|
+
return this.#xpath.evaluate(condition, this.#resolveContext(criterion, type, resolve));
|
|
10135
|
+
default:
|
|
10136
|
+
throw new _errors_CriterionError_ts__WEBPACK_IMPORTED_MODULE_4__["default"](`Unknown criterion type "${type}"`, {
|
|
10137
|
+
condition,
|
|
10138
|
+
type,
|
|
10139
|
+
reason: _CriterionErrorReason_ts__WEBPACK_IMPORTED_MODULE_6__["default"].UnknownType
|
|
10140
|
+
});
|
|
10141
|
+
}
|
|
10142
|
+
} catch (error) {
|
|
10143
|
+
// Arazzo 1.1.0: a condition that cannot be evaluated MUST evaluate to fail.
|
|
10144
|
+
// The structural checks throw a plain CriterionError and still propagate.
|
|
10145
|
+
if (error instanceof _errors_CriterionEvaluationError_ts__WEBPACK_IMPORTED_MODULE_5__["default"]) return false;
|
|
10146
|
+
throw error;
|
|
10060
10147
|
}
|
|
10061
10148
|
}
|
|
10062
10149
|
|
|
@@ -10074,15 +10161,15 @@ class CriterionEvaluator {
|
|
|
10074
10161
|
}
|
|
10075
10162
|
if ((0,_speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_1__.isStringElement)(type)) return (0,_speclynx_apidom_core__WEBPACK_IMPORTED_MODULE_0__["default"])(type);
|
|
10076
10163
|
throw new _errors_CriterionError_ts__WEBPACK_IMPORTED_MODULE_4__["default"]('Criterion has an invalid "type"', {
|
|
10077
|
-
reason:
|
|
10164
|
+
reason: _CriterionErrorReason_ts__WEBPACK_IMPORTED_MODULE_6__["default"].InvalidType
|
|
10078
10165
|
});
|
|
10079
10166
|
}
|
|
10080
10167
|
|
|
10081
10168
|
/**
|
|
10082
10169
|
* Extracts the expression `version` from a Criterion Expression Type Object,
|
|
10083
10170
|
* or `undefined` when no version is declared (a bare-string `type`, or a type
|
|
10084
|
-
* object without a `version`) — in which case
|
|
10085
|
-
* applies. A `version` that is present but not a string is malformed and
|
|
10171
|
+
* object without a `version`) — in which case Arazzo 1.1.0's default for the
|
|
10172
|
+
* type applies. A `version` that is present but not a string is malformed and
|
|
10086
10173
|
* throws a {@link CriterionError} rather than silently defaulting.
|
|
10087
10174
|
*/
|
|
10088
10175
|
#resolveVersion(criterion) {
|
|
@@ -10094,13 +10181,13 @@ class CriterionEvaluator {
|
|
|
10094
10181
|
return (0,_speclynx_apidom_core__WEBPACK_IMPORTED_MODULE_0__["default"])(type.version);
|
|
10095
10182
|
}
|
|
10096
10183
|
throw new _errors_CriterionError_ts__WEBPACK_IMPORTED_MODULE_4__["default"]('Criterion has an invalid expression type "version"', {
|
|
10097
|
-
reason:
|
|
10184
|
+
reason: _CriterionErrorReason_ts__WEBPACK_IMPORTED_MODULE_6__["default"].InvalidVersion
|
|
10098
10185
|
});
|
|
10099
10186
|
}
|
|
10100
10187
|
|
|
10101
10188
|
/**
|
|
10102
10189
|
* Enforces that a versioned condition type declares only the one version this
|
|
10103
|
-
* runner supports. An omitted version is accepted (
|
|
10190
|
+
* runner supports. An omitted version is accepted (Arazzo 1.1.0's default);
|
|
10104
10191
|
* any other declared version throws a {@link CriterionError}.
|
|
10105
10192
|
*/
|
|
10106
10193
|
#requireVersion(criterion, type, condition, supported) {
|
|
@@ -10109,7 +10196,7 @@ class CriterionEvaluator {
|
|
|
10109
10196
|
throw new _errors_CriterionError_ts__WEBPACK_IMPORTED_MODULE_4__["default"](`Unsupported ${type} version "${version}" (only ${supported})`, {
|
|
10110
10197
|
condition,
|
|
10111
10198
|
type,
|
|
10112
|
-
reason:
|
|
10199
|
+
reason: _CriterionErrorReason_ts__WEBPACK_IMPORTED_MODULE_6__["default"].UnsupportedVersion
|
|
10113
10200
|
});
|
|
10114
10201
|
}
|
|
10115
10202
|
}
|
|
@@ -10127,7 +10214,7 @@ class CriterionEvaluator {
|
|
|
10127
10214
|
if (!(0,_speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_1__.isStringElement)(context) || !(0,_swaggerexpert_arazzo_runtime_expression__WEBPACK_IMPORTED_MODULE_3__.test)((0,_speclynx_apidom_core__WEBPACK_IMPORTED_MODULE_0__["default"])(context))) {
|
|
10128
10215
|
throw new _errors_CriterionError_ts__WEBPACK_IMPORTED_MODULE_4__["default"]('Criterion has a "context" that is not a valid runtime expression', {
|
|
10129
10216
|
type,
|
|
10130
|
-
reason:
|
|
10217
|
+
reason: _CriterionErrorReason_ts__WEBPACK_IMPORTED_MODULE_6__["default"].InvalidContext
|
|
10131
10218
|
});
|
|
10132
10219
|
}
|
|
10133
10220
|
}
|
|
@@ -10142,7 +10229,7 @@ class CriterionEvaluator {
|
|
|
10142
10229
|
if (!(0,_speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_1__.isStringElement)(criterion.context)) {
|
|
10143
10230
|
throw new _errors_CriterionError_ts__WEBPACK_IMPORTED_MODULE_4__["default"](`Criterion type "${type}" requires a "context"`, {
|
|
10144
10231
|
type,
|
|
10145
|
-
reason:
|
|
10232
|
+
reason: _CriterionErrorReason_ts__WEBPACK_IMPORTED_MODULE_6__["default"].MissingContext
|
|
10146
10233
|
});
|
|
10147
10234
|
}
|
|
10148
10235
|
return resolve((0,_speclynx_apidom_core__WEBPACK_IMPORTED_MODULE_0__["default"])(criterion.context));
|
|
@@ -10162,7 +10249,9 @@ class CriterionEvaluator {
|
|
|
10162
10249
|
"use strict";
|
|
10163
10250
|
__webpack_require__.r(__webpack_exports__);
|
|
10164
10251
|
/* harmony import */ var _swaggerexpert_jsonpath__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(84637);
|
|
10165
|
-
/* harmony import */ var
|
|
10252
|
+
/* harmony import */ var _errors_CriterionEvaluationError_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(71731);
|
|
10253
|
+
/* harmony import */ var _CriterionErrorReason_ts__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(94547);
|
|
10254
|
+
|
|
10166
10255
|
|
|
10167
10256
|
|
|
10168
10257
|
|
|
@@ -10184,7 +10273,7 @@ class JSONPathCriterionEvaluator {
|
|
|
10184
10273
|
* whether it matched anything.
|
|
10185
10274
|
*
|
|
10186
10275
|
* Returns `false` when the context is `null` or `undefined`. Throws
|
|
10187
|
-
* {@link
|
|
10276
|
+
* {@link CriterionEvaluationError} when the condition is not a valid JSONPath query.
|
|
10188
10277
|
*/
|
|
10189
10278
|
evaluate(condition, context) {
|
|
10190
10279
|
if (context === null || context === undefined) return false;
|
|
@@ -10192,11 +10281,11 @@ class JSONPathCriterionEvaluator {
|
|
|
10192
10281
|
return (0,_swaggerexpert_jsonpath__WEBPACK_IMPORTED_MODULE_0__.evaluate)(context, condition).length > 0;
|
|
10193
10282
|
} catch (error) {
|
|
10194
10283
|
if (error instanceof _swaggerexpert_jsonpath__WEBPACK_IMPORTED_MODULE_0__.JSONPathError) {
|
|
10195
|
-
throw new
|
|
10284
|
+
throw new _errors_CriterionEvaluationError_ts__WEBPACK_IMPORTED_MODULE_1__["default"](`Invalid jsonpath criterion condition "${condition}"`, {
|
|
10196
10285
|
cause: error,
|
|
10197
10286
|
condition,
|
|
10198
10287
|
type: 'jsonpath',
|
|
10199
|
-
reason:
|
|
10288
|
+
reason: _CriterionErrorReason_ts__WEBPACK_IMPORTED_MODULE_2__["default"].InvalidJSONPath
|
|
10200
10289
|
});
|
|
10201
10290
|
}
|
|
10202
10291
|
throw error;
|
|
@@ -10216,7 +10305,9 @@ class JSONPathCriterionEvaluator {
|
|
|
10216
10305
|
|
|
10217
10306
|
"use strict";
|
|
10218
10307
|
__webpack_require__.r(__webpack_exports__);
|
|
10219
|
-
/* harmony import */ var
|
|
10308
|
+
/* harmony import */ var _errors_CriterionEvaluationError_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(71731);
|
|
10309
|
+
/* harmony import */ var _CriterionErrorReason_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(94547);
|
|
10310
|
+
|
|
10220
10311
|
|
|
10221
10312
|
|
|
10222
10313
|
/**
|
|
@@ -10246,7 +10337,7 @@ class RegexCriterionEvaluator {
|
|
|
10246
10337
|
* Tests the resolved context value against the regular expression `condition`.
|
|
10247
10338
|
*
|
|
10248
10339
|
* The context is coerced to a string before matching. Returns `false` when the
|
|
10249
|
-
* context is `null` or `undefined`. Throws {@link
|
|
10340
|
+
* context is `null` or `undefined`. Throws {@link CriterionEvaluationError} when the
|
|
10250
10341
|
* condition is not a valid regular expression.
|
|
10251
10342
|
*/
|
|
10252
10343
|
evaluate(condition, context) {
|
|
@@ -10255,11 +10346,11 @@ class RegexCriterionEvaluator {
|
|
|
10255
10346
|
try {
|
|
10256
10347
|
regExp = new RegExp(condition);
|
|
10257
10348
|
} catch (error) {
|
|
10258
|
-
throw new
|
|
10349
|
+
throw new _errors_CriterionEvaluationError_ts__WEBPACK_IMPORTED_MODULE_0__["default"](`Invalid regex criterion condition "${condition}"`, {
|
|
10259
10350
|
cause: error,
|
|
10260
10351
|
condition,
|
|
10261
10352
|
type: 'regex',
|
|
10262
|
-
reason:
|
|
10353
|
+
reason: _CriterionErrorReason_ts__WEBPACK_IMPORTED_MODULE_1__["default"].InvalidRegex
|
|
10263
10354
|
});
|
|
10264
10355
|
}
|
|
10265
10356
|
return regExp.test(this.#stringify(context));
|
|
@@ -10291,7 +10382,9 @@ class RegexCriterionEvaluator {
|
|
|
10291
10382
|
"use strict";
|
|
10292
10383
|
__webpack_require__.r(__webpack_exports__);
|
|
10293
10384
|
/* harmony import */ var _swaggerexpert_arazzo_criterion__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(88006);
|
|
10294
|
-
/* harmony import */ var
|
|
10385
|
+
/* harmony import */ var _errors_CriterionEvaluationError_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(71731);
|
|
10386
|
+
/* harmony import */ var _CriterionErrorReason_ts__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(94547);
|
|
10387
|
+
|
|
10295
10388
|
|
|
10296
10389
|
|
|
10297
10390
|
/**
|
|
@@ -10308,7 +10401,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
10308
10401
|
* compared per the library's rules (e.g. `undefined == x` and relational
|
|
10309
10402
|
* comparisons are false, matching the spec's "null equals only null"), so a
|
|
10310
10403
|
* negated or disjunctive condition may still pass. A malformed condition throws
|
|
10311
|
-
* {@link
|
|
10404
|
+
* {@link CriterionEvaluationError}.
|
|
10312
10405
|
* @public
|
|
10313
10406
|
*/
|
|
10314
10407
|
class SimpleCriterionEvaluator {
|
|
@@ -10323,11 +10416,11 @@ class SimpleCriterionEvaluator {
|
|
|
10323
10416
|
});
|
|
10324
10417
|
} catch (error) {
|
|
10325
10418
|
if (error instanceof _swaggerexpert_arazzo_criterion__WEBPACK_IMPORTED_MODULE_0__.ArazzoCriterionError) {
|
|
10326
|
-
throw new
|
|
10419
|
+
throw new _errors_CriterionEvaluationError_ts__WEBPACK_IMPORTED_MODULE_1__["default"](`Invalid simple criterion condition "${condition}"`, {
|
|
10327
10420
|
cause: error,
|
|
10328
10421
|
condition,
|
|
10329
10422
|
type: 'simple',
|
|
10330
|
-
reason:
|
|
10423
|
+
reason: _CriterionErrorReason_ts__WEBPACK_IMPORTED_MODULE_2__["default"].InvalidSimple
|
|
10331
10424
|
});
|
|
10332
10425
|
}
|
|
10333
10426
|
throw error;
|
|
@@ -10349,12 +10442,14 @@ class SimpleCriterionEvaluator {
|
|
|
10349
10442
|
__webpack_require__.r(__webpack_exports__);
|
|
10350
10443
|
/* harmony import */ var fontoxpath__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38406);
|
|
10351
10444
|
/* harmony import */ var _xmldom_xmldom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(17937);
|
|
10352
|
-
/* harmony import */ var
|
|
10445
|
+
/* harmony import */ var _errors_CriterionEvaluationError_ts__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(71731);
|
|
10446
|
+
/* harmony import */ var _CriterionErrorReason_ts__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(94547);
|
|
10353
10447
|
// fontoxpath is CommonJS and its named exports are not statically resolvable
|
|
10354
10448
|
// under ESM, so import the default and destructure.
|
|
10355
10449
|
|
|
10356
10450
|
|
|
10357
10451
|
|
|
10452
|
+
|
|
10358
10453
|
const {
|
|
10359
10454
|
evaluateXPathToBoolean,
|
|
10360
10455
|
evaluateXPath
|
|
@@ -10372,7 +10467,7 @@ const {
|
|
|
10372
10467
|
*
|
|
10373
10468
|
* Only XPath 3.1 is supported (`fontoxpath`'s engine); version gating happens in
|
|
10374
10469
|
* the facade. Per Arazzo 1.1.0, a `null` or `undefined` context fails the
|
|
10375
|
-
* condition. An invalid query throws {@link
|
|
10470
|
+
* condition. An invalid query throws {@link CriterionEvaluationError}.
|
|
10376
10471
|
* @public
|
|
10377
10472
|
*/
|
|
10378
10473
|
class XPathCriterionEvaluator {
|
|
@@ -10381,7 +10476,7 @@ class XPathCriterionEvaluator {
|
|
|
10381
10476
|
* its Effective Boolean Value.
|
|
10382
10477
|
*
|
|
10383
10478
|
* Returns `false` when the context is `null` or `undefined`. Throws
|
|
10384
|
-
* {@link
|
|
10479
|
+
* {@link CriterionEvaluationError} when the context is not XML or the query is invalid.
|
|
10385
10480
|
*/
|
|
10386
10481
|
evaluate(condition, context) {
|
|
10387
10482
|
if (context === null || context === undefined) return false;
|
|
@@ -10391,11 +10486,11 @@ class XPathCriterionEvaluator {
|
|
|
10391
10486
|
language: evaluateXPath.XPATH_3_1_LANGUAGE
|
|
10392
10487
|
});
|
|
10393
10488
|
} catch (error) {
|
|
10394
|
-
throw new
|
|
10489
|
+
throw new _errors_CriterionEvaluationError_ts__WEBPACK_IMPORTED_MODULE_2__["default"](`Invalid xpath criterion condition "${condition}"`, {
|
|
10395
10490
|
cause: error,
|
|
10396
10491
|
condition,
|
|
10397
10492
|
type: 'xpath',
|
|
10398
|
-
reason:
|
|
10493
|
+
reason: _CriterionErrorReason_ts__WEBPACK_IMPORTED_MODULE_3__["default"].InvalidXPath
|
|
10399
10494
|
});
|
|
10400
10495
|
}
|
|
10401
10496
|
}
|
|
@@ -10408,10 +10503,10 @@ class XPathCriterionEvaluator {
|
|
|
10408
10503
|
#toNode(condition, context) {
|
|
10409
10504
|
if (this.#isNode(context)) return context;
|
|
10410
10505
|
if (typeof context !== 'string') {
|
|
10411
|
-
throw new
|
|
10506
|
+
throw new _errors_CriterionEvaluationError_ts__WEBPACK_IMPORTED_MODULE_2__["default"]('xpath criterion context is not XML', {
|
|
10412
10507
|
condition,
|
|
10413
10508
|
type: 'xpath',
|
|
10414
|
-
reason:
|
|
10509
|
+
reason: _CriterionErrorReason_ts__WEBPACK_IMPORTED_MODULE_3__["default"].InvalidXPathContext
|
|
10415
10510
|
});
|
|
10416
10511
|
}
|
|
10417
10512
|
|
|
@@ -10427,21 +10522,21 @@ class XPathCriterionEvaluator {
|
|
|
10427
10522
|
}
|
|
10428
10523
|
}).parseFromString(context, 'text/xml');
|
|
10429
10524
|
if (parseError !== undefined) {
|
|
10430
|
-
throw new
|
|
10525
|
+
throw new _errors_CriterionEvaluationError_ts__WEBPACK_IMPORTED_MODULE_2__["default"]('xpath criterion context is not valid XML', {
|
|
10431
10526
|
cause: parseError,
|
|
10432
10527
|
condition,
|
|
10433
10528
|
type: 'xpath',
|
|
10434
|
-
reason:
|
|
10529
|
+
reason: _CriterionErrorReason_ts__WEBPACK_IMPORTED_MODULE_3__["default"].InvalidXPathContext
|
|
10435
10530
|
});
|
|
10436
10531
|
}
|
|
10437
10532
|
return document;
|
|
10438
10533
|
} catch (error) {
|
|
10439
|
-
if (error instanceof
|
|
10440
|
-
throw new
|
|
10534
|
+
if (error instanceof _errors_CriterionEvaluationError_ts__WEBPACK_IMPORTED_MODULE_2__["default"]) throw error;
|
|
10535
|
+
throw new _errors_CriterionEvaluationError_ts__WEBPACK_IMPORTED_MODULE_2__["default"]('xpath criterion context is not valid XML', {
|
|
10441
10536
|
cause: error,
|
|
10442
10537
|
condition,
|
|
10443
10538
|
type: 'xpath',
|
|
10444
|
-
reason:
|
|
10539
|
+
reason: _CriterionErrorReason_ts__WEBPACK_IMPORTED_MODULE_3__["default"].InvalidXPathContext
|
|
10445
10540
|
});
|
|
10446
10541
|
}
|
|
10447
10542
|
}
|
|
@@ -10928,7 +11023,6 @@ class ClientError extends _ArazzoRunnerError_ts__WEBPACK_IMPORTED_MODULE_0__["de
|
|
|
10928
11023
|
__webpack_require__.r(__webpack_exports__);
|
|
10929
11024
|
/* harmony import */ var _ArazzoRunnerError_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23949);
|
|
10930
11025
|
|
|
10931
|
-
|
|
10932
11026
|
/** @public */
|
|
10933
11027
|
class CriterionError extends _ArazzoRunnerError_ts__WEBPACK_IMPORTED_MODULE_0__["default"] {}
|
|
10934
11028
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CriterionError);
|
|
@@ -10937,6 +11031,31 @@ class CriterionError extends _ArazzoRunnerError_ts__WEBPACK_IMPORTED_MODULE_0__[
|
|
|
10937
11031
|
/* harmony export */ ]);
|
|
10938
11032
|
|
|
10939
11033
|
|
|
11034
|
+
/***/ },
|
|
11035
|
+
|
|
11036
|
+
/***/ 71731
|
|
11037
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
11038
|
+
|
|
11039
|
+
"use strict";
|
|
11040
|
+
__webpack_require__.r(__webpack_exports__);
|
|
11041
|
+
/* harmony import */ var _CriterionError_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(41233);
|
|
11042
|
+
|
|
11043
|
+
|
|
11044
|
+
/**
|
|
11045
|
+
* A criterion condition that cannot be evaluated: a syntax error in the
|
|
11046
|
+
* condition, a context the condition cannot apply to, or an error raised while
|
|
11047
|
+
* evaluating it. The type-specific criterion evaluators throw it;
|
|
11048
|
+
* `CriterionEvaluator` turns it into an unmet criterion, as Arazzo 1.1.0
|
|
11049
|
+
* requires.
|
|
11050
|
+
* @public
|
|
11051
|
+
*/
|
|
11052
|
+
class CriterionEvaluationError extends _CriterionError_ts__WEBPACK_IMPORTED_MODULE_0__["default"] {}
|
|
11053
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CriterionEvaluationError);
|
|
11054
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
11055
|
+
/* harmony export */ "default", 0, __WEBPACK_DEFAULT_EXPORT__
|
|
11056
|
+
/* harmony export */ ]);
|
|
11057
|
+
|
|
11058
|
+
|
|
10940
11059
|
/***/ },
|
|
10941
11060
|
|
|
10942
11061
|
/***/ 24089
|
|
@@ -21160,11 +21279,8 @@ const serializer = (element, replacer, space, options) => {
|
|
|
21160
21279
|
__webpack_require__.r(__webpack_exports__);
|
|
21161
21280
|
/* harmony import */ var _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(62823);
|
|
21162
21281
|
/* harmony import */ var _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(74918);
|
|
21163
|
-
/* harmony import */ var
|
|
21164
|
-
/* harmony import */ var _util_mjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(69236);
|
|
21282
|
+
/* harmony import */ var _util_mjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(69236);
|
|
21165
21283
|
|
|
21166
|
-
// an empty YAML node (YAML 1.2 §7.2) is a null parsed as an empty string with the yaml-e-node class
|
|
21167
|
-
const isEmptyNode = element => (0,_speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_0__.isStringElement)(element) && element.toValue() === '' && (0,_speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_2__.includesClasses)(element, ['yaml-e-node']);
|
|
21168
21284
|
|
|
21169
21285
|
/**
|
|
21170
21286
|
* Transforms the ApiDOM into JavaScript POJO.
|
|
@@ -21174,7 +21290,6 @@ const isEmptyNode = element => (0,_speclynx_apidom_datamodel__WEBPACK_IMPORTED_M
|
|
|
21174
21290
|
*/
|
|
21175
21291
|
const serializer = element => {
|
|
21176
21292
|
if (!(0,_speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_0__.isElement)(element)) return element;
|
|
21177
|
-
if (isEmptyNode(element)) return null;
|
|
21178
21293
|
|
|
21179
21294
|
// Shortcut optimization for primitive element types
|
|
21180
21295
|
if ((0,_speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_0__.isStringElement)(element) || (0,_speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_0__.isNumberElement)(element) || (0,_speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_0__.isBooleanElement)(element) || (0,_speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_0__.isNullElement)(element)) {
|
|
@@ -21192,8 +21307,8 @@ const serializer = element => {
|
|
|
21192
21307
|
node.forEach((value, key) => {
|
|
21193
21308
|
const k = serialize(key);
|
|
21194
21309
|
const v = serialize(value);
|
|
21195
|
-
const name = (0,
|
|
21196
|
-
if (name !== undefined) (0,
|
|
21310
|
+
const name = (0,_util_mjs__WEBPACK_IMPORTED_MODULE_2__.toPropertyName)(k);
|
|
21311
|
+
if (name !== undefined) (0,_util_mjs__WEBPACK_IMPORTED_MODULE_2__["default"])(obj, name, v);
|
|
21197
21312
|
});
|
|
21198
21313
|
return obj;
|
|
21199
21314
|
}
|
|
@@ -21208,7 +21323,6 @@ const serializer = element => {
|
|
|
21208
21323
|
if ((0,_speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_1__.isLinkElement)(node)) {
|
|
21209
21324
|
return (0,_speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_0__.isStringElement)(node.href) ? node.href.toValue() : '';
|
|
21210
21325
|
}
|
|
21211
|
-
if (isEmptyNode(node)) return null;
|
|
21212
21326
|
return node.toValue();
|
|
21213
21327
|
};
|
|
21214
21328
|
return serialize(element);
|
|
@@ -21576,9 +21690,10 @@ const toYAMLNode = (element, context) => {
|
|
|
21576
21690
|
// scalar element (string, number, boolean, null)
|
|
21577
21691
|
const scalarType = style.scalarStyle ? scalarStyleMap[style.scalarStyle] : undefined;
|
|
21578
21692
|
const scalar = new yaml__WEBPACK_IMPORTED_MODULE_0__.Scalar((0,_value_mjs__WEBPACK_IMPORTED_MODULE_5__["default"])(element));
|
|
21579
|
-
// an empty node (YAML 1.2 §7.2) is serialized to null
|
|
21580
|
-
// it was written: with no content, after its anchor and tag if it
|
|
21581
|
-
|
|
21693
|
+
// an empty node (YAML 1.2 §7.2) is serialized to null, or to the empty string as a key; while it's
|
|
21694
|
+
// still empty, write it back as it was written: with no content, after its anchor and tag if it
|
|
21695
|
+
// had them
|
|
21696
|
+
const isEmptyNode = (scalar.value === null || scalar.value === '' && (0,_speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_4__.includesClasses)(element, ['yaml-e-key'])) && (0,_speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_4__.includesClasses)(element, ['yaml-e-node']);
|
|
21582
21697
|
if (isEmptyNode) {
|
|
21583
21698
|
const anchor = claimAnchor(style, context);
|
|
21584
21699
|
const properties = [anchor && `&${anchor}`, style.tag].filter(Boolean).join(' ');
|
|
@@ -21617,7 +21732,10 @@ const toYAMLNode = (element, context) => {
|
|
|
21617
21732
|
}
|
|
21618
21733
|
}
|
|
21619
21734
|
if ((style.scalarStyle === 'Literal' || style.scalarStyle === 'Folded') && typeof style.rawContent === 'string' && typeof scalar.value === 'string') {
|
|
21620
|
-
const
|
|
21735
|
+
const raw = style.rawContent.replace(/\r\n/g, '\n');
|
|
21736
|
+
// the empty lines after a clip or strip block aren't part of its value, but separate it from
|
|
21737
|
+
// what follows in its source, so they're dropped; a keep block's are part of its value
|
|
21738
|
+
const text = raw.replace(/^[|>][1-9]?\+/.test(raw) ? /\n$/ : /\n+$/, '');
|
|
21621
21739
|
scalar.value = new RawBlockScalar(scalar.value, text);
|
|
21622
21740
|
}
|
|
21623
21741
|
if (style.styleGroup === 'Flow' && typeof style.rawContent === 'string' && typeof scalar.value === 'string' && scalar.value !== '') {
|
|
@@ -56556,15 +56674,19 @@ const transformCstToYamlAst = (cursor, ctx) => {
|
|
|
56556
56674
|
__webpack_require__.r(__webpack_exports__);
|
|
56557
56675
|
/* harmony import */ var _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(81669);
|
|
56558
56676
|
/* harmony import */ var _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(62823);
|
|
56559
|
-
/* harmony import */ var _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
56560
|
-
/* harmony import */ var _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
56561
|
-
/* harmony import */ var _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
56562
|
-
/* harmony import */ var _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
56563
|
-
/* harmony import */ var _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
56564
|
-
/* harmony import */ var _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
56565
|
-
/* harmony import */ var _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
|
|
56566
|
-
/* harmony import */ var
|
|
56567
|
-
/* harmony import */ var
|
|
56677
|
+
/* harmony import */ var _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(61614);
|
|
56678
|
+
/* harmony import */ var _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(27682);
|
|
56679
|
+
/* harmony import */ var _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(25035);
|
|
56680
|
+
/* harmony import */ var _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(23560);
|
|
56681
|
+
/* harmony import */ var _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(67533);
|
|
56682
|
+
/* harmony import */ var _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(32420);
|
|
56683
|
+
/* harmony import */ var _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(84149);
|
|
56684
|
+
/* harmony import */ var _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(77093);
|
|
56685
|
+
/* harmony import */ var _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(52728);
|
|
56686
|
+
/* harmony import */ var _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(6361);
|
|
56687
|
+
/* harmony import */ var _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(41821);
|
|
56688
|
+
/* harmony import */ var _ast_nodes_predicates_mjs__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(7775);
|
|
56689
|
+
/* harmony import */ var _ast_nodes_YamlStyle_mjs__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(2995);
|
|
56568
56690
|
|
|
56569
56691
|
|
|
56570
56692
|
// Transform context passed through transformation
|
|
@@ -56574,7 +56696,7 @@ const maybeAddSourceMap = (node, element, ctx) => {
|
|
|
56574
56696
|
if (!ctx.sourceMap) {
|
|
56575
56697
|
return;
|
|
56576
56698
|
}
|
|
56577
|
-
|
|
56699
|
+
_speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_11__["default"].transfer(node, element);
|
|
56578
56700
|
};
|
|
56579
56701
|
|
|
56580
56702
|
// find the first descendant matching a type path through the AST
|
|
@@ -56592,7 +56714,7 @@ const findFirst = (node, path) => {
|
|
|
56592
56714
|
// detect indent from first nested block mapping (stream > document > mapping > keyValuePair > mapping)
|
|
56593
56715
|
const detectIndent = node => {
|
|
56594
56716
|
const nested = findFirst(node, ['document', 'mapping', 'keyValuePair', 'mapping']);
|
|
56595
|
-
if (nested?.styleGroup ===
|
|
56717
|
+
if (nested?.styleGroup === _ast_nodes_YamlStyle_mjs__WEBPACK_IMPORTED_MODULE_14__.YamlStyleGroup.Block && typeof nested.startCharacter === 'number' && nested.startCharacter > 0) {
|
|
56596
56718
|
return nested.startCharacter;
|
|
56597
56719
|
}
|
|
56598
56720
|
return 2;
|
|
@@ -56724,7 +56846,7 @@ const buildYamlStyle = (node, ctx, extras) => {
|
|
|
56724
56846
|
// an untagged node has the non-specific tag '?' when it's a plain scalar and '!' otherwise
|
|
56725
56847
|
// (YAML 1.2 §6.9.1); an explicit '!' on any other node means the same as no tag
|
|
56726
56848
|
const tag = node.tag?.explicitName;
|
|
56727
|
-
if (tag !== undefined && tag !== (node.style ===
|
|
56849
|
+
if (tag !== undefined && tag !== (node.style === _ast_nodes_YamlStyle_mjs__WEBPACK_IMPORTED_MODULE_14__.YamlStyle.Plain ? '?' : '!')) {
|
|
56728
56850
|
yamlStyle.tag = tag;
|
|
56729
56851
|
}
|
|
56730
56852
|
// the anchor's name, without the & indicator
|
|
@@ -56838,17 +56960,17 @@ const collectStreamComments = node => {
|
|
|
56838
56960
|
if (!root) comments.before.push(text);else if (comment.startLine === root.endLine) comments.inline.push(text);else comments.after.push(text);
|
|
56839
56961
|
};
|
|
56840
56962
|
for (const child of node.children) {
|
|
56841
|
-
if ((0,
|
|
56963
|
+
if ((0,_ast_nodes_predicates_mjs__WEBPACK_IMPORTED_MODULE_13__.isDocument)(child)) {
|
|
56842
56964
|
if (root) break;
|
|
56843
56965
|
// comments after an explicit document start (---) or before an explicit document end (...)
|
|
56844
56966
|
// are the document's own children, around its root node
|
|
56845
56967
|
const children = child.children || [];
|
|
56846
|
-
const rootIndex = children.findIndex(c => !(0,
|
|
56968
|
+
const rootIndex = children.findIndex(c => !(0,_ast_nodes_predicates_mjs__WEBPACK_IMPORTED_MODULE_13__.isComment)(c));
|
|
56847
56969
|
if (rootIndex === -1) break;
|
|
56848
|
-
children.slice(0, rootIndex).filter(
|
|
56970
|
+
children.slice(0, rootIndex).filter(_ast_nodes_predicates_mjs__WEBPACK_IMPORTED_MODULE_13__.isComment).forEach(collect);
|
|
56849
56971
|
root = children[rootIndex];
|
|
56850
|
-
children.slice(rootIndex + 1).filter(
|
|
56851
|
-
} else if ((0,
|
|
56972
|
+
children.slice(rootIndex + 1).filter(_ast_nodes_predicates_mjs__WEBPACK_IMPORTED_MODULE_13__.isComment).forEach(collect);
|
|
56973
|
+
} else if ((0,_ast_nodes_predicates_mjs__WEBPACK_IMPORTED_MODULE_13__.isComment)(child)) {
|
|
56852
56974
|
collect(child);
|
|
56853
56975
|
}
|
|
56854
56976
|
}
|
|
@@ -56861,7 +56983,7 @@ const transformStream = (node, ctx) => {
|
|
|
56861
56983
|
if (ctx.style) {
|
|
56862
56984
|
ctx.indent = detectIndent(node);
|
|
56863
56985
|
}
|
|
56864
|
-
const element = new
|
|
56986
|
+
const element = new _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_10__["default"]();
|
|
56865
56987
|
|
|
56866
56988
|
// Transform all children
|
|
56867
56989
|
const children = transformChildren(node.children || [], ctx);
|
|
@@ -56921,7 +57043,7 @@ const transformDocument = (node, ctx) => {
|
|
|
56921
57043
|
const shouldSkipVisitingMoreDocuments = ctx.processedDocumentCount >= 1;
|
|
56922
57044
|
if (shouldWarnAboutMoreDocuments) {
|
|
56923
57045
|
const message = 'Only first document within YAML stream will be used. Rest will be discarded.';
|
|
56924
|
-
const element = new
|
|
57046
|
+
const element = new _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_8__["default"](message);
|
|
56925
57047
|
element.classes.push('warning');
|
|
56926
57048
|
maybeAddSourceMap(node, element, ctx);
|
|
56927
57049
|
ctx.annotations.push(element);
|
|
@@ -56940,7 +57062,7 @@ const transformCollection = (element, node, ctx) => {
|
|
|
56940
57062
|
const typedNode = node;
|
|
56941
57063
|
const children = node.children || [];
|
|
56942
57064
|
if (ctx.style) {
|
|
56943
|
-
if (ctx.flowCollectionPadding === null && node.styleGroup ===
|
|
57065
|
+
if (ctx.flowCollectionPadding === null && node.styleGroup === _ast_nodes_YamlStyle_mjs__WEBPACK_IMPORTED_MODULE_14__.YamlStyleGroup.Flow) {
|
|
56944
57066
|
ctx.flowCollectionPadding = detectFlowPadding(typedNode);
|
|
56945
57067
|
}
|
|
56946
57068
|
const comments = collectComments(children, typedNode.startCharacter);
|
|
@@ -56951,7 +57073,7 @@ const transformCollection = (element, node, ctx) => {
|
|
|
56951
57073
|
element.style = buildYamlStyle(node, ctx, {
|
|
56952
57074
|
comment: comments.trailing,
|
|
56953
57075
|
// a single pair written directly in a flow sequence (e.g. [a: 1])
|
|
56954
|
-
singlePair: node.style ===
|
|
57076
|
+
singlePair: node.style === _ast_nodes_YamlStyle_mjs__WEBPACK_IMPORTED_MODULE_14__.YamlStyle.SinglePair || undefined
|
|
56955
57077
|
});
|
|
56956
57078
|
if (comments.outOfScope.length > 0) {
|
|
56957
57079
|
ctx.promotedComments.push(...comments.outOfScope);
|
|
@@ -56964,14 +57086,14 @@ const transformCollection = (element, node, ctx) => {
|
|
|
56964
57086
|
|
|
56965
57087
|
// Mapping: Transforms to ObjectElement
|
|
56966
57088
|
const transformMapping = (node, ctx) => {
|
|
56967
|
-
const element = new
|
|
57089
|
+
const element = new _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_7__["default"]();
|
|
56968
57090
|
transformCollection(element, node, ctx);
|
|
56969
57091
|
return element;
|
|
56970
57092
|
};
|
|
56971
57093
|
|
|
56972
57094
|
// KeyValuePair: Transforms to MemberElement
|
|
56973
57095
|
const transformKeyValuePair = (node, ctx) => {
|
|
56974
|
-
const element = new
|
|
57096
|
+
const element = new _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_6__["default"]();
|
|
56975
57097
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
56976
57098
|
const {
|
|
56977
57099
|
key,
|
|
@@ -56982,15 +57104,25 @@ const transformKeyValuePair = (node, ctx) => {
|
|
|
56982
57104
|
styleGroup,
|
|
56983
57105
|
startCharacter
|
|
56984
57106
|
} = value;
|
|
56985
|
-
if (styleGroup ===
|
|
57107
|
+
if (styleGroup === _ast_nodes_YamlStyle_mjs__WEBPACK_IMPORTED_MODULE_14__.YamlStyleGroup.Block) {
|
|
56986
57108
|
ctx.indentSeq = startCharacter > node.startCharacter;
|
|
56987
57109
|
}
|
|
56988
57110
|
}
|
|
56989
57111
|
|
|
56990
57112
|
// Transform key and value (these are dynamically defined properties)
|
|
56991
|
-
|
|
57113
|
+
let keyResult = transform(key, ctx);
|
|
56992
57114
|
const valueResult = transform(value, ctx);
|
|
56993
57115
|
|
|
57116
|
+
// an empty key is a null in YAML, but a JavaScript property name can't be null, so it's the empty
|
|
57117
|
+
// string it's named by, marked as an empty key
|
|
57118
|
+
if ((0,_speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_1__.isNullElement)(keyResult) && (0,_speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_4__.includesClasses)(keyResult, ['yaml-e-node'])) {
|
|
57119
|
+
const emptyKey = new _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_3__["default"]('', keyResult.meta, keyResult.attributes);
|
|
57120
|
+
emptyKey.classes.push('yaml-e-key');
|
|
57121
|
+
_speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_11__["default"].transfer(keyResult, emptyKey);
|
|
57122
|
+
_speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_12__["default"].transfer(keyResult, emptyKey);
|
|
57123
|
+
keyResult = emptyKey;
|
|
57124
|
+
}
|
|
57125
|
+
|
|
56994
57126
|
// @ts-ignore
|
|
56995
57127
|
element.content.key = keyResult;
|
|
56996
57128
|
// @ts-ignore
|
|
@@ -57010,19 +57142,18 @@ const transformKeyValuePair = (node, ctx) => {
|
|
|
57010
57142
|
|
|
57011
57143
|
// Sequence: Transforms to ArrayElement
|
|
57012
57144
|
const transformSequence = (node, ctx) => {
|
|
57013
|
-
const element = new
|
|
57145
|
+
const element = new _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_5__["default"]();
|
|
57014
57146
|
transformCollection(element, node, ctx);
|
|
57015
57147
|
return element;
|
|
57016
57148
|
};
|
|
57017
57149
|
|
|
57018
57150
|
// Scalar: Converts to Element via namespace
|
|
57019
57151
|
const transformScalar = (node, ctx) => {
|
|
57020
|
-
|
|
57021
|
-
|
|
57022
|
-
// Translate style information about empty nodes; an empty node (YAML 1.2 §7.2) is a null unless
|
|
57023
|
-
// a tag other than the null tag makes it something else (e.g. !!str makes it an empty string)
|
|
57152
|
+
// an empty node (YAML 1.2 §7.2) is a null unless a tag other than the null tag makes it
|
|
57153
|
+
// something else (e.g. !!str makes it an empty string); its classes tell it from an explicit null
|
|
57024
57154
|
const tag = node.tag?.explicitName;
|
|
57025
|
-
const isEmptyNode = node.content === '' && node.style ===
|
|
57155
|
+
const isEmptyNode = node.content === '' && node.style === _ast_nodes_YamlStyle_mjs__WEBPACK_IMPORTED_MODULE_14__.YamlStyle.Plain && [undefined, '?', '!!null', '!<tag:yaml.org,2002:null>'].includes(tag);
|
|
57156
|
+
const element = isEmptyNode ? new _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_2__["default"]() : ctx.namespace.toElement(node.content);
|
|
57026
57157
|
if (isEmptyNode) {
|
|
57027
57158
|
element.classes.push('yaml-e-node');
|
|
57028
57159
|
element.classes.push('yaml-e-scalar');
|
|
@@ -57050,7 +57181,7 @@ const transformComment = (node, ctx) => {
|
|
|
57050
57181
|
// Only interested in stream comments before the first document
|
|
57051
57182
|
if (isStreamComment) {
|
|
57052
57183
|
// @ts-ignore
|
|
57053
|
-
const element = new
|
|
57184
|
+
const element = new _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_9__["default"](node.content);
|
|
57054
57185
|
maybeAddSourceMap(node, element, ctx);
|
|
57055
57186
|
return element;
|
|
57056
57187
|
}
|
|
@@ -57061,7 +57192,7 @@ const transformComment = (node, ctx) => {
|
|
|
57061
57192
|
const transformLiteral = (node, ctx) => {
|
|
57062
57193
|
if (node.isMissing) {
|
|
57063
57194
|
const message = `(Missing ${node.value})`;
|
|
57064
|
-
const element = new
|
|
57195
|
+
const element = new _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_8__["default"](message);
|
|
57065
57196
|
element.classes.push('warning');
|
|
57066
57197
|
maybeAddSourceMap(node, element, ctx);
|
|
57067
57198
|
ctx.annotations.push(element);
|
|
@@ -57072,7 +57203,7 @@ const transformLiteral = (node, ctx) => {
|
|
|
57072
57203
|
// Error as annotation (used by keyValuePair)
|
|
57073
57204
|
const transformErrorAsAnnotation = (node, ctx) => {
|
|
57074
57205
|
const message = node.isUnexpected ? '(Unexpected YAML syntax error)' : '(Error YAML syntax error)';
|
|
57075
|
-
const element = new
|
|
57206
|
+
const element = new _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_8__["default"](message);
|
|
57076
57207
|
element.classes.push('error');
|
|
57077
57208
|
maybeAddSourceMap(node, element, ctx);
|
|
57078
57209
|
ctx.annotations.push(element);
|
|
@@ -57081,7 +57212,7 @@ const transformErrorAsAnnotation = (node, ctx) => {
|
|
|
57081
57212
|
// Error: Creates error annotation (adds to annotations array)
|
|
57082
57213
|
const transformError = (node, ctx) => {
|
|
57083
57214
|
const message = node.isUnexpected ? '(Unexpected YAML syntax error)' : '(Error YAML syntax error)';
|
|
57084
|
-
const element = new
|
|
57215
|
+
const element = new _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_8__["default"](message);
|
|
57085
57216
|
element.classes.push('error');
|
|
57086
57217
|
maybeAddSourceMap(node, element, ctx);
|
|
57087
57218
|
ctx.annotations.push(element);
|
|
@@ -57091,10 +57222,10 @@ const transformError = (node, ctx) => {
|
|
|
57091
57222
|
// Error at root level: Creates ParseResultElement with error annotation
|
|
57092
57223
|
const transformRootError = (node, ctx) => {
|
|
57093
57224
|
const message = node.isUnexpected ? '(Unexpected YAML syntax error)' : '(Error YAML syntax error)';
|
|
57094
|
-
const element = new
|
|
57225
|
+
const element = new _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_8__["default"](message);
|
|
57095
57226
|
element.classes.push('error');
|
|
57096
57227
|
maybeAddSourceMap(node, element, ctx);
|
|
57097
|
-
const parseResultElement = new
|
|
57228
|
+
const parseResultElement = new _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_10__["default"]();
|
|
57098
57229
|
parseResultElement.push(element);
|
|
57099
57230
|
return parseResultElement;
|
|
57100
57231
|
};
|
|
@@ -57121,7 +57252,7 @@ const transformYamlAstToApiDOM = (yamlAst, {
|
|
|
57121
57252
|
|
|
57122
57253
|
// Handle empty parse result
|
|
57123
57254
|
if (!rootNode) {
|
|
57124
|
-
return new
|
|
57255
|
+
return new _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_10__["default"]();
|
|
57125
57256
|
}
|
|
57126
57257
|
|
|
57127
57258
|
// Handle root-level error (no valid stream, just an error node)
|
|
@@ -57131,12 +57262,12 @@ const transformYamlAstToApiDOM = (yamlAst, {
|
|
|
57131
57262
|
const result = transform(rootNode, ctx);
|
|
57132
57263
|
|
|
57133
57264
|
// Result should be a ParseResultElement from transformStream
|
|
57134
|
-
if (result instanceof
|
|
57265
|
+
if (result instanceof _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_10__["default"]) {
|
|
57135
57266
|
return result;
|
|
57136
57267
|
}
|
|
57137
57268
|
|
|
57138
57269
|
// Fallback: wrap in ParseResultElement
|
|
57139
|
-
const parseResult = new
|
|
57270
|
+
const parseResult = new _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_10__["default"]();
|
|
57140
57271
|
if (result !== null) {
|
|
57141
57272
|
if (Array.isArray(result)) {
|
|
57142
57273
|
result.forEach(el => parseResult.push(el));
|
|
@@ -60710,6 +60841,11 @@ class OpenAPI2DereferenceVisitor {
|
|
|
60710
60841
|
async ReferenceElement(path) {
|
|
60711
60842
|
const referencingElement = path.node;
|
|
60712
60843
|
|
|
60844
|
+
// ignore Reference Object without a string $ref, e.g. an empty YAML value
|
|
60845
|
+
if (!(0,_speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_1__.isStringElement)(referencingElement.$ref)) {
|
|
60846
|
+
return;
|
|
60847
|
+
}
|
|
60848
|
+
|
|
60713
60849
|
// skip current referencing element as it's already been access
|
|
60714
60850
|
if (this.indirections.includes(referencingElement)) {
|
|
60715
60851
|
path.skip();
|
|
@@ -61013,6 +61149,11 @@ class OpenAPI2DereferenceVisitor {
|
|
|
61013
61149
|
async JSONReferenceElement(path) {
|
|
61014
61150
|
const referencingElement = path.node;
|
|
61015
61151
|
|
|
61152
|
+
// ignore Reference Object without a string $ref, e.g. an empty YAML value
|
|
61153
|
+
if (!(0,_speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_1__.isStringElement)(referencingElement.$ref)) {
|
|
61154
|
+
return;
|
|
61155
|
+
}
|
|
61156
|
+
|
|
61016
61157
|
// skip current referencing element as it's already been access
|
|
61017
61158
|
if (this.indirections.includes(referencingElement)) {
|
|
61018
61159
|
path.skip();
|
|
@@ -61506,6 +61647,11 @@ class OpenAPI3_0DereferenceVisitor {
|
|
|
61506
61647
|
async ReferenceElement(path) {
|
|
61507
61648
|
const referencingElement = path.node;
|
|
61508
61649
|
|
|
61650
|
+
// ignore Reference Object without a string $ref, e.g. an empty YAML value
|
|
61651
|
+
if (!(0,_speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_2__.isStringElement)(referencingElement.$ref)) {
|
|
61652
|
+
return;
|
|
61653
|
+
}
|
|
61654
|
+
|
|
61509
61655
|
// skip current referencing element as it's already been access
|
|
61510
61656
|
if (this.indirections.includes(referencingElement)) {
|
|
61511
61657
|
path.skip();
|
|
@@ -62690,6 +62836,11 @@ class OpenAPI3_1DereferenceVisitor {
|
|
|
62690
62836
|
async ReferenceElement(path) {
|
|
62691
62837
|
const referencingElement = path.node;
|
|
62692
62838
|
|
|
62839
|
+
// ignore Reference Object without a string $ref, e.g. an empty YAML value
|
|
62840
|
+
if (!(0,_speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_3__.isStringElement)(referencingElement.$ref)) {
|
|
62841
|
+
return;
|
|
62842
|
+
}
|
|
62843
|
+
|
|
62693
62844
|
// skip current referencing element as it's already been accessed
|
|
62694
62845
|
if (this.indirections.includes(referencingElement)) {
|
|
62695
62846
|
path.skip();
|
|
@@ -114963,15 +115114,15 @@ class DereferenceError extends _speclynx_apidom_error__WEBPACK_IMPORTED_MODULE_0
|
|
|
114963
115114
|
"use strict";
|
|
114964
115115
|
__webpack_require__.r(__webpack_exports__);
|
|
114965
115116
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
114966
|
-
/* harmony export */ buildRequest: () => (/* binding */
|
|
114967
|
-
/* harmony export */ deserializeResponse: () => (/* binding */
|
|
114968
|
-
/* harmony export */ idFromPathMethodLegacy: () => (/* binding */
|
|
115117
|
+
/* harmony export */ buildRequest: () => (/* binding */ Zo),
|
|
115118
|
+
/* harmony export */ deserializeResponse: () => (/* binding */ Ar),
|
|
115119
|
+
/* harmony export */ idFromPathMethodLegacy: () => (/* binding */ zo)
|
|
114969
115120
|
/* harmony export */ });
|
|
114970
115121
|
/* harmony import */ var _speclynx_apidom_error__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(56960);
|
|
114971
115122
|
/* harmony import */ var _speclynx_apidom_reference_configuration_empty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(30698);
|
|
114972
115123
|
/* harmony import */ var buffer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1048);
|
|
114973
|
-
var r={8341(e,t,n){n(7603);var r=n(2856);e.exports=r("Array","includes")},5161(e,t,n){var r=n(4317),o=n(8341),i=n(1019),s=Array.prototype,a=String.prototype;e.exports=function(e){var t=e.includes;return e===s||r(s,e)&&t===s.includes?o:"string"==typeof e||e===a||r(a,e)&&t===a.includes?i:t}},1019(e,t,n){n(3855);var r=n(2856);e.exports=r("String","includes")},814(e,t,n){var r=n(2769),o=n(459),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a function")}},8137(e){e.exports=function(){}},7235(e,t,n){var r=n(262),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not an object")}},1005(e,t,n){var r=n(3273),o=n(4574),i=n(8130),s=function(e){return function(t,n,s){var a=r(t),c=i(a);if(0===c)return!e&&-1;var l,u=o(s,c);if(e&&n!=n){for(;c>u;)if((l=a[u++])!=l)return!0}else for(;c>u;u++)if((e||u in a)&&a[u]===n)return e||u||0;return!e&&-1}};e.exports={m:s(!0),...void s(!1)}},9932(e,t,n){var r=n(6100),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},8407(e,t,n){var r=n(4904),o=n(2769),i=n(9932),s=n(8655)("toStringTag"),a=Object,c="Arguments"===i(function(){return arguments}());e.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=a(e),s))?n:c?i(t):"Object"===(r=i(t))&&o(t.callee)?"Arguments":r}},4240(e,t,n){var r=n(8655)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},3999(e,t,n){var r=n(5024),o=n(9989),i=n(480);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},480(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},7525(e,t,n){var r=n(8900),o=Object.defineProperty;e.exports=function(e,t){try{o(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},5024(e,t,n){var r=n(1203);e.exports=!r(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},9619(e,t,n){var r=n(8900),o=n(262),i=r.document,s=o(i)&&o(i.createElement);e.exports=function(e){return s?i.createElement(e):{}}},3531(e,t,n){var r=n(8900).navigator,o=r&&r.userAgent;e.exports=o?String(o):""},5547(e,t,n){var r,o,i=n(8900),s=n(3531),a=i.process,c=i.Deno,l=a&&a.versions||c&&c.version,u=l&&l.v8;u&&(o=(r=u.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&s&&(!(r=s.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=s.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},9098(e,t,n){var r=n(8900),o=n(7013),i=n(9344),s=n(2769),a=n(4543).f,c=n(8696),l=n(8099),u=n(4572),p=n(3999),d=n(701),f=function(e){var t=function(n,r,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,r)}return new e(n,r,i)}return o(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,o,h,y,m,g,x,b,v,A=e.target,w=e.global,k=e.stat,O=e.proto,S=w?r:k?r[A]:r[A]&&r[A].prototype,T=w?l:l[A]||p(l,A,{})[A],C=T.prototype;for(y in t)o=!(n=c(w?y:A+(k?".":"#")+y,e.forced))&&S&&d(S,y),g=T[y],o&&(x=e.dontCallGetSet?(v=a(S,y))&&v.value:S[y]),m=o&&x?x:t[y],(n||O||typeof g!=typeof m)&&(b=e.bind&&o?u(m,r):e.wrap&&o?f(m):O&&s(m)?i(m):m,(e.sham||m&&m.sham||g&&g.sham)&&p(b,"sham",!0),p(T,y,b),O&&(d(l,h=A+"Prototype")||p(l,h,{}),p(l[h],y,m),e.real&&C&&(n||!C[y])&&p(C,y,m)))}},1203(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},7013(e,t,n){var r=n(1780),o=Function.prototype,i=o.apply,s=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?s.bind(i):function(){return s.apply(i,arguments)})},4572(e,t,n){var r=n(9344),o=n(814),i=n(1780),s=r(r.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?s(e,t):function(){return e.apply(t,arguments)}}},1780(e,t,n){var r=n(1203);e.exports=!r(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},4713(e,t,n){var r=n(1780),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},9344(e,t,n){var r=n(9932),o=n(6100);e.exports=function(e){if("Function"===r(e))return o(e)}},6100(e,t,n){var r=n(1780),o=Function.prototype,i=o.call,s=r&&o.bind.bind(i,i);e.exports=r?s:function(e){return function(){return i.apply(e,arguments)}}},2856(e,t,n){var r=n(8900),o=n(8099);e.exports=function(e,t){var n=o[e+"Prototype"],i=n&&n[t];if(i)return i;var s=r[e],a=s&&s.prototype;return a&&a[t]}},1003(e,t,n){var r=n(8099),o=n(8900),i=n(2769),s=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?s(r[e])||s(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},4674(e,t,n){var r=n(814),o=n(3057);e.exports=function(e,t){var n=e[t];return o(n)?void 0:r(n)}},8900(e){var t=function(e){return e&&e.Math===Math&&e};e.exports=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof globalThis&&globalThis)||t("object"==typeof this&&this)||function(){return this}()||Function("return this")()},701(e,t,n){var r=n(6100),o=n(2137),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},9665(e,t,n){var r=n(5024),o=n(1203),i=n(9619);e.exports=!r&&!o(function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},1395(e,t,n){var r=n(6100),o=n(1203),i=n(9932),s=Object,a=r("".split);e.exports=o(function(){return!s("z").propertyIsEnumerable(0)})?function(e){return"String"===i(e)?a(e,""):s(e)}:s},2769(e){var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},8696(e,t,n){var r=n(1203),o=n(2769),i=/#|\.prototype\./,s=function(e,t){var n=c[a(e)];return n===u||n!==l&&(o(t)?r(t):!!t)},a=s.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=s.data={},l=s.NATIVE="N",u=s.POLYFILL="P";e.exports=s},3057(e){e.exports=function(e){return null==e}},262(e,t,n){var r=n(2769);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},4871(e){e.exports=!0},7752(e,t,n){var r=n(262),o=n(9932),i=n(8655)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"===o(e))}},6281(e,t,n){var r=n(1003),o=n(2769),i=n(4317),s=n(7460),a=Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return o(t)&&i(t.prototype,a(e))}},8130(e,t,n){var r=n(8146);e.exports=function(e){return r(e.length)}},5777(e){var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},5947(e,t,n){var r=n(7752),o=TypeError;e.exports=function(e){if(r(e))throw new o("The method doesn't accept regular expressions");return e}},9989(e,t,n){var r=n(5024),o=n(9665),i=n(1330),s=n(7235),a=n(5341),c=TypeError,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,p="enumerable",d="configurable",f="writable";t.f=r?i?function(e,t,n){if(s(e),t=a(t),s(n),"function"==typeof e&&"prototype"===t&&"value"in n&&f in n&&!n[f]){var r=u(e,t);r&&r[f]&&(e[t]=n.value,n={configurable:d in n?n[d]:r[d],enumerable:p in n?n[p]:r[p],writable:!1})}return l(e,t,n)}:l:function(e,t,n){if(s(e),t=a(t),s(n),o)try{return l(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new c("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},4543(e,t,n){var r=n(5024),o=n(4713),i=n(7161),s=n(480),a=n(3273),c=n(5341),l=n(701),u=n(9665),p=Object.getOwnPropertyDescriptor;t.f=r?p:function(e,t){if(e=a(e),t=c(t),u)try{return p(e,t)}catch(e){}if(l(e,t))return s(!o(i.f,e,t),e[t])}},4317(e,t,n){var r=n(6100);e.exports=r({}.isPrototypeOf)},7161(e,t){var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},9258(e,t,n){var r=n(4713),o=n(2769),i=n(262),s=TypeError;e.exports=function(e,t){var n,a;if("string"===t&&o(n=e.toString)&&!i(a=r(n,e)))return a;if(o(n=e.valueOf)&&!i(a=r(n,e)))return a;if("string"!==t&&o(n=e.toString)&&!i(a=r(n,e)))return a;throw new s("Can't convert object to primitive value")}},8099(e){e.exports={}},5426(e,t,n){var r=n(3057),o=TypeError;e.exports=function(e){if(r(e))throw new o("Can't call method on "+e);return e}},3753(e,t,n){var r=n(4871),o=n(8900),i=n(7525),s="__core-js_shared__",a=e.exports=o[s]||i(s,{});(a.versions||(a.versions=[])).push({version:"3.50.0",mode:r?"pure":"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.50.0/LICENSE",source:"https://github.com/zloirock/core-js"})},8141(e,t,n){var r=n(3753),o=Object.create||Object;e.exports=function(e,t){return r[e]||(r[e]=t||o(null))}},4603(e,t,n){var r=n(5547),o=n(1203),i=n(8900).String;e.exports=!!Object.getOwnPropertySymbols&&!o(function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41})},4574(e,t,n){var r=n(9903),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},3273(e,t,n){var r=n(1395),o=n(5426);e.exports=function(e){return r(o(e))}},9903(e,t,n){var r=n(5777);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},8146(e,t,n){var r=n(9903),o=Math.min;e.exports=function(e){var t=r(e);return t>0?o(t,9007199254740991):0}},2137(e,t,n){var r=n(5426),o=Object;e.exports=function(e){return o(r(e))}},493(e,t,n){var r=n(4713),o=n(262),i=n(6281),s=n(4674),a=n(9258),c=n(8655),l=TypeError,u=c("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var n,c=s(e,u);if(c){if(void 0===t&&(t="default"),n=r(c,e,t),!o(n)||i(n))return n;throw new l("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},5341(e,t,n){var r=n(493),o=n(6281);e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},4904(e,t,n){var r={};r[n(8655)("toStringTag")]="z",e.exports="[object z]"===String(r)},1139(e,t,n){var r=n(8407),o=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return o(e)}},459(e){var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},1268(e,t,n){var r=n(6100),o=0,i=Math.random(),s=r(1.1.toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++o+i,36)}},7460(e,t,n){var r=n(4603);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},1330(e,t,n){var r=n(5024),o=n(1203);e.exports=r&&o(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},8655(e,t,n){var r=n(8900),o=n(8141),i=n(701),s=n(1268),a=n(4603),c=n(7460),l=r.Symbol,u=o("wks"),p=c?l.for||l:l&&l.withoutSetter||s;e.exports=function(e){return i(u,e)||(u[e]=a&&i(l,e)?l[e]:p("Symbol."+e)),u[e]}},7603(e,t,n){var r=n(9098),o=n(1005).m,i=n(1203),s=n(8137),a=i(function(){return!Array(1).includes()}),c=i(function(){return[,1].includes(void 0,1)});r({target:"Array",proto:!0,forced:a||c},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),s("includes")},3855(e,t,n){var r=n(9098),o=n(6100),i=n(5947),s=n(5426),a=n(1139),c=n(4240),l=o("".indexOf);r({target:"String",proto:!0,forced:!c("includes")},{includes:function(e){return!!~l(a(s(this)),a(i(e)),arguments.length>1?arguments[1]:void 0)}})},1726(e,t,n){var r=n(5161);e.exports=r},5965(e,t,n){e.exports=n(1726)}};const o={};function i(e){const t=o[e];if(void 0!==t)return t.exports;const n=o[e]={exports:{}};return r[e].call(n.exports,n,n.exports,i),n.exports}i.n=e=>{const t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.hasOwn(e,t),i.r=e=>{Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};i.r(s),i.d(s,{cookie:()=>lo,header:()=>co,path:()=>io,query:()=>so});var a=i(5965),c=i.n(a);function l(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function u(e){return function t(n){return 0===arguments.length||l(n)?t:e.apply(this,arguments)}}function p(e){return function t(n,r){switch(arguments.length){case 0:return t;case 1:return l(n)?t:u(function(t){return e(n,t)});default:return l(n)&&l(r)?t:l(n)?u(function(t){return e(t,r)}):l(r)?u(function(t){return e(n,t)}):e(n,r)}}}function d(e,t){return Object.prototype.hasOwnProperty.call(t,e)}const f=u(function(e){return null==e});var h=p(function(e,t){if(0===e.length||f(t))return!1;for(var n=t,r=0;r<e.length;){if(f(n)||!d(e[r],n))return!1;n=n[e[r]],r+=1}return!0});const y=h;var m=p(function(e,t){return y([e],t)});const g=m;function x(e){return e}const b=u(x);function v(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,n){return t.apply(this,arguments)};case 3:return function(e,n,r){return t.apply(this,arguments)};case 4:return function(e,n,r,o){return t.apply(this,arguments)};case 5:return function(e,n,r,o,i){return t.apply(this,arguments)};case 6:return function(e,n,r,o,i,s){return t.apply(this,arguments)};case 7:return function(e,n,r,o,i,s,a){return t.apply(this,arguments)};case 8:return function(e,n,r,o,i,s,a,c){return t.apply(this,arguments)};case 9:return function(e,n,r,o,i,s,a,c,l){return t.apply(this,arguments)};case 10:return function(e,n,r,o,i,s,a,c,l,u){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function A(e,t){return function(){return t.call(this,e.apply(this,arguments))}}function w(e){return function t(n,r,o){switch(arguments.length){case 0:return t;case 1:return l(n)?t:p(function(t,r){return e(n,t,r)});case 2:return l(n)&&l(r)?t:l(n)?p(function(t,n){return e(t,r,n)}):l(r)?p(function(t,r){return e(n,t,r)}):u(function(t){return e(n,r,t)});default:return l(n)&&l(r)&&l(o)?t:l(n)&&l(r)?p(function(t,n){return e(t,n,o)}):l(n)&&l(o)?p(function(t,n){return e(t,r,n)}):l(r)&&l(o)?p(function(t,r){return e(n,t,r)}):l(n)?u(function(t){return e(t,r,o)}):l(r)?u(function(t){return e(n,t,o)}):l(o)?u(function(t){return e(n,r,t)}):e(n,r,o)}}}const k=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function O(e){return"[object String]"===Object.prototype.toString.call(e)}const S=u(function(e){return!!k(e)||!!e&&("object"==typeof e&&(!O(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))});var T="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function C(e,t,n){return function(r,o,i){if(S(i))return e(r,o,i);if(null==i)return o;if("function"==typeof i["fantasy-land/reduce"])return t(r,o,i,"fantasy-land/reduce");if(null!=i[T])return n(r,o,i[T]());if("function"==typeof i.next)return n(r,o,i);if("function"==typeof i.reduce)return t(r,o,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function E(e,t,n){for(var r=0,o=n.length;r<o;){if((t=e["@@transducer/step"](t,n[r]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r+=1}return e["@@transducer/result"](t)}const j=p(function(e,t){return v(e.length,function(){return e.apply(t,arguments)})});function F(e,t,n){for(var r=n.next();!r.done;){if((t=e["@@transducer/step"](t,r.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r=n.next()}return e["@@transducer/result"](t)}function I(e,t,n,r){return e["@@transducer/result"](n[r](j(e["@@transducer/step"],e),t))}const M=C(E,I,F);var D=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();const L=w(function(e,t,n){return M("function"==typeof e?new D(e):e,t,n)});function $(e,t){return function(){var n=arguments.length;if(0===n)return t();var r=arguments[n-1];return k(r)||"function"!=typeof r[e]?t.apply(this,arguments):r[e].apply(r,Array.prototype.slice.call(arguments,0,n-1))}}const N=u($("tail",w($("slice",function(e,t,n){return Array.prototype.slice.call(n,e,t)}))(1,1/0)));function P(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return v(arguments[0].length,L(A,arguments[0],N(arguments)))}const B=u(function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)});const U="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};var q=function(e,t){switch(arguments.length){case 0:return q;case 1:return function t(n){return 0===arguments.length?t:U(e,n)};default:return U(e,t)}};const R=q;function _(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function H(e,t,n){for(var r=0,o=n.length;r<o;){if(e(t,n[r]))return!0;r+=1}return!1}var z=Object.prototype.toString;const G=function(){return"[object Arguments]"===z.call(arguments)?function(e){return"[object Arguments]"===z.call(e)}:function(e){return d("callee",e)}}();var Y=!{toString:null}.propertyIsEnumerable("toString"),V=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],W=function(){return arguments.propertyIsEnumerable("length")}(),K=function(e,t){for(var n=0;n<e.length;){if(e[n]===t)return!0;n+=1}return!1},Q="function"!=typeof Object.keys||W?u(function(e){if(Object(e)!==e)return[];var t,n,r=[],o=W&&G(e);for(t in e)!d(t,e)||o&&"length"===t||(r[r.length]=t);if(Y)for(n=V.length-1;n>=0;)d(t=V[n],e)&&!K(r,t)&&(r[r.length]=t),n-=1;return r}):u(function(e){return Object(e)!==e?[]:Object.keys(e)});const X=Q;function J(e,t,n,r){var o=_(e);function i(e,t){return Z(e,t,n.slice(),r.slice())}return!H(function(e,t){return!H(i,t,e)},_(t),o)}function Z(e,t,n,r){if(U(e,t))return!0;var o,i,s=B(e);if(s!==B(t))return!1;if("function"==typeof e["fantasy-land/equals"]||"function"==typeof t["fantasy-land/equals"])return"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t)&&"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e);if("function"==typeof e.equals||"function"==typeof t.equals)return"function"==typeof e.equals&&e.equals(t)&&"function"==typeof t.equals&&t.equals(e);switch(s){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===(o=e.constructor,null==(i=String(o).match(/^function (\w*)/))?"":i[1]))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!U(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!U(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var a=n.length-1;a>=0;){if(n[a]===e)return r[a]===t;a-=1}switch(s){case"Map":return e.size===t.size&&J(e.entries(),t.entries(),n.concat([e]),r.concat([t]));case"Set":return e.size===t.size&&J(e.values(),t.values(),n.concat([e]),r.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var c=X(e);if(c.length!==X(t).length)return!1;var l=n.concat([e]),u=r.concat([t]);for(a=c.length-1;a>=0;){var p=c[a];if(!d(p,t)||!Z(t[p],e[p],l,u))return!1;a-=1}return!0}const ee=p(function(e,t){return Z(e,t,[],[])});function te(e,t){return function(e,t,n){var r,o;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(r=1/t;n<e.length;){if(0===(o=e[n])&&1/o===r)return n;n+=1}return-1}if(t!=t){for(;n<e.length;){if("number"==typeof(o=e[n])&&o!=o)return n;n+=1}return-1}return e.indexOf(t,n);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,n);case"object":if(null===t)return e.indexOf(t,n)}for(;n<e.length;){if(ee(e[n],t))return n;n+=1}return-1}(t,e,0)>=0}function ne(e,t){for(var n=0,r=t.length,o=Array(r);n<r;)o[n]=e(t[n]),n+=1;return o}function re(e){return'"'+e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var oe=function(e){return(e<10?"0":"")+e};const ie="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+oe(e.getUTCMonth()+1)+"-"+oe(e.getUTCDate())+"T"+oe(e.getUTCHours())+":"+oe(e.getUTCMinutes())+":"+oe(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function se(e,t,n){for(var r=0,o=n.length;r<o;)t=e(t,n[r]),r+=1;return t}function ae(e,t,n){return function(){if(0===arguments.length)return n();var r=arguments[arguments.length-1];if(!k(r)){for(var o=0;o<e.length;){if("function"==typeof r[e[o]])return r[e[o]].apply(r,Array.prototype.slice.call(arguments,0,-1));o+=1}if(function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}(r))return t.apply(null,Array.prototype.slice.call(arguments,0,-1))(r)}return n.apply(this,arguments)}}function ce(e){return"[object Object]"===Object.prototype.toString.call(e)}const le=function(){return this.xf["@@transducer/init"]()},ue=function(e){return this.xf["@@transducer/result"](e)};var pe=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=le,e.prototype["@@transducer/result"]=ue,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}();function de(e){return function(t){return new pe(e,t)}}const fe=p(ae(["fantasy-land/filter","filter"],de,function(e,t){return ce(t)?se(function(n,r){return e(t[r])&&(n[r]=t[r]),n},{},X(t)):function(e,t){for(var n=0,r=t.length,o=[];n<r;)e(t[n])&&(o[o.length]=t[n]),n+=1;return o}(e,t)}));const he=p(function(e,t){return fe((n=e,function(){return!n.apply(this,arguments)}),t);// removed by dead control flow
|
|
114974
|
-
var n; });function ye(e,t){var n=function(n){var r=t.concat([e]);return te(n,r)?"<Circular>":ye(n,r)},r=function(e,t){return ne(function(t){return re(t)+": "+n(e[t])},t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+ne(n,e).join(", ")+"))";case"[object Array]":return"["+ne(n,e).concat(r(e,he(function(e){return/^\d+$/.test(e)},X(e)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof e?"new Boolean("+n(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?n(NaN):re(ie(e)))+")";case"[object Map]":return"new Map("+n(Array.from(e))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof e?"new Number("+n(e.valueOf())+")":1/e==-1/0?"-0":e.toString(10);case"[object Set]":return"new Set("+n(Array.from(e).sort())+")";case"[object String]":return"object"==typeof e?"new String("+n(e.valueOf())+")":re(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var o=e.toString();if("[object Object]"!==o)return o}return"{"+r(e,X(e)).join(", ")+"}"}}const me=u(function(e){return ye(e,[])}),ge=Number.isInteger||function(e){return(e|0)===e};function xe(e,t){var n=e<0?t.length+e:e;return O(t)?t.charAt(n):t[n]}const be=w(function(e,t,n){return e(function(e,t){for(var n=t,r=0;r<e.length;r+=1){if(null==n)return;var o=e[r];n=ge(o)?xe(o,n):n[o]}return n}(t,n))});function ve(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const Ae=p(function(e,t){return e&&t});function we(e,t,n){for(var r=n.next();!r.done;)t=e(t,r.value),r=n.next();return t}function ke(e,t,n,r){return n[r](e,t)}const Oe=C(se,ke,we);var Se=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=le,e.prototype["@@transducer/result"]=ue,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}();const Te=function(e){return function(t){return new Se(e,t)}};function Ce(e,t,n){return function(){for(var r=[],o=0,i=e,s=0,a=!1;s<t.length||o<arguments.length;){var c;s<t.length&&(!l(t[s])||o>=arguments.length)?c=t[s]:(c=arguments[o],o+=1),r[s]=c,l(c)?a=!0:i-=1,s+=1}return!a&&i<=0?n.apply(this,r):v(Math.max(0,i),Ce(e,r,n))}}const Ee=p(function(e,t){return 1===e?u(t):v(e,Ce(e,[],t))});const je=p(ae(["fantasy-land/map","map"],Te,function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return Ee(t.length,function(){return e.call(this,t.apply(this,arguments))});case"[object Object]":return se(function(n,r){return n[r]=e(t[r]),n},{},X(t));default:return ne(e,t)}}));const Fe=p(function(e,t){return"function"==typeof t["fantasy-land/ap"]?t["fantasy-land/ap"](e):"function"==typeof e.ap?e.ap(t):"function"==typeof e?function(n){return e(n)(t(n))}:Oe(function(e,n){return function(e,t){var n;t=t||[];var r=(e=e||[]).length,o=t.length,i=[];for(n=0;n<r;)i[i.length]=e[n],n+=1;for(n=0;n<o;)i[i.length]=t[n],n+=1;return i}(e,je(n,t))},[],e)});const Ie=p(function(e,t){var n=Ee(e,t);return Ee(e,function(){return se(Fe,je(n,arguments[0]),Array.prototype.slice.call(arguments,1))})});const Me=u(function(e){return Ie(e.length,e)});const De=p(function(e,t){return ve(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:Me(Ae)(e,t)});const Le=ee(null);const $e=Me(u(function(e){return!e}));const Ne=$e(Le);function Pe(e){return Pe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pe(e)}const Be=function(e){return"object"===Pe(e)};const Ue=Ee(1,De(Ne,Be));const qe=p(function(e,t){if(e===t)return t;function n(e,t){if(e>t!=t>e)return t>e?t:e}var r=n(e,t);if(void 0!==r)return r;var o=n(typeof e,typeof t);if(void 0!==o)return o===typeof e?e:t;var i=me(e),s=n(i,me(t));return void 0!==s&&s===i?e:t});const Re=p(function(e,t){if(null!=t)return ge(e)?xe(e,t):t[e]});const _e=p(function(e,t){return je(Re(e),t)});const He=u(function(e){return Ee(L(qe,0,_e("length",e)),function(){for(var t=0,n=e.length;t<n;){if(e[t].apply(this,arguments))return!0;t+=1}return!1})});const ze=Ee(1,P(B,R("GeneratorFunction")));const Ge=Ee(1,P(B,R("AsyncFunction")));const Ye=He([P(B,R("Function")),ze,Ge]);var Ve=P(B,R("Object")),We=be(De(Ye,P(me,ee(me(Object)))),["constructor"]);const Ke=Ee(1,function(e){if(!Ue(e)||!Ve(e))return!1;var t=Object.getPrototypeOf(e);return!!Le(t)||We(t)});const Qe=u(function(e){return Ee(L(qe,0,_e("length",e)),function(){for(var t=0,n=e.length;t<n;){if(!e[t].apply(this,arguments))return!1;t+=1}return!0})});var Xe=u(function(e){return null!=e&&"function"==typeof e["fantasy-land/empty"]?e["fantasy-land/empty"]():null!=e&&null!=e.constructor&&"function"==typeof e.constructor["fantasy-land/empty"]?e.constructor["fantasy-land/empty"]():null!=e&&"function"==typeof e.empty?e.empty():null!=e&&null!=e.constructor&&"function"==typeof e.constructor.empty?e.constructor.empty():k(e)?[]:O(e)?"":ce(e)?{}:G(e)?function(){return arguments}():function(e){var t=Object.prototype.toString.call(e);return"[object Uint8ClampedArray]"===t||"[object Int8Array]"===t||"[object Uint8Array]"===t||"[object Int16Array]"===t||"[object Uint16Array]"===t||"[object Int32Array]"===t||"[object Uint32Array]"===t||"[object Float32Array]"===t||"[object Float64Array]"===t||"[object BigInt64Array]"===t||"[object BigUint64Array]"===t}(e)?e.constructor.from(""):void 0});const Je=Xe;const Ze=u(function(e){return null!=e&&ee(e,Je(e))});const et=u(function(e){return!Ze(e)});const tt=Ee(1,P(B,R("String")));const nt=p(function(e,t){return e||t});const rt=Qe([tt,$e(Ee(1,De(Ne,p(function(e,t){return ve(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:Me(nt)(e,t)})(Be,Ye)))),et]),ot=function(){const e=at,t=st,n=this,r="parser.js: Parser(): ";n.ast=void 0,n.stats=void 0,n.trace=void 0,n.callbacks=[];let o,i,s,a,c,l,u,p=0,d=0,f=0,h=0,y=0,m=new function(){this.state=e.ACTIVE,this.phraseLength=0,this.refresh=()=>{this.state=e.ACTIVE,this.phraseLength=0}};n.parse=(g,x,v,A)=>{const w=`${r}parse(): `;p=0,d=0,f=0,h=0,y=0,o=void 0,i=void 0,s=void 0,a=void 0,m.refresh(),c=void 0,l=void 0,u=void 0,a=t.stringToChars(v),o=g.rules,i=g.udts;const k=x.toLowerCase();let O;for(const e in o)if(o.hasOwnProperty(e)&&k===o[e].lower){O=o[e].index;break}if(void 0===O)throw new Error(`${w}start rule name '${startRule}' not recognized`);(()=>{const e=`${r}initializeCallbacks(): `;let t,s;for(c=[],l=[],t=0;t<o.length;t+=1)c[t]=void 0;for(t=0;t<i.length;t+=1)l[t]=void 0;const a=[];for(t=0;t<o.length;t+=1)a.push(o[t].lower);for(t=0;t<i.length;t+=1)a.push(i[t].lower);for(const r in n.callbacks)if(n.callbacks.hasOwnProperty(r)){if(t=a.indexOf(r.toLowerCase()),t<0)throw new Error(`${e}syntax callback '${r}' not a rule or udt name`);if(s=n.callbacks[r]?n.callbacks[r]:void 0,"function"!=typeof s&&void 0!==s)throw new Error(`${e}syntax callback[${r}] must be function reference or falsy)`);t<o.length?c[t]=s:l[t-o.length]=s}})(),n.trace&&n.trace.init(o,i,a),n.stats&&n.stats.init(o,i),n.ast&&n.ast.init(o,i,a),u=A,s=[{type:e.RNM,index:O}],b(0,0),s=void 0;let S=!1;switch(m.state){case e.ACTIVE:throw new Error(`${w}final state should never be 'ACTIVE'`);case e.NOMATCH:S=!1;break;case e.EMPTY:case e.MATCH:S=m.phraseLength===a.length;break;default:throw new Error("unrecognized state")}return{success:S,state:m.state,stateName:e.idName(m.state),length:a.length,matched:m.phraseLength,maxMatched:y,maxTreeDepth:f,nodeHits:h}};const g=(t,n,o,i)=>{if(n.phraseLength>o){let e=`${r}opRNM(${t.name}): callback function error: `;throw e+=`sysData.phraseLength: ${n.phraseLength}`,e+=` must be <= remaining chars: ${o}`,new Error(e)}switch(n.state){case e.ACTIVE:if(!i)throw new Error(`${r}opRNM(${t.name}): callback function return error. ACTIVE state not allowed.`);break;case e.EMPTY:n.phraseLength=0;break;case e.MATCH:0===n.phraseLength&&(n.state=e.EMPTY);break;case e.NOMATCH:n.phraseLength=0;break;default:throw new Error(`${r}opRNM(${t.name}): callback function return error. Unrecognized return state: ${n.state}`)}},x=(t,c)=>{let d,f,h;const y=s[t],g=i[y.index];m.UdtIndex=g.index,p||(h=n.ast&&n.ast.udtDefined(y.index),h&&(f=o.length+y.index,d=n.ast.getLength(),n.ast.down(f,g.name)));const x=a.length-c;l[y.index](m,a,c,u),((t,n,o)=>{if(n.phraseLength>o){let e=`${r}opUDT(${t.name}): callback function error: `;throw e+=`sysData.phraseLength: ${n.phraseLength}`,e+=` must be <= remaining chars: ${o}`,new Error(e)}switch(n.state){case e.ACTIVE:throw new Error(`${r}opUDT(${t.name}) ACTIVE state return not allowed.`);case e.EMPTY:if(!t.empty)throw new Error(`${r}opUDT(${t.name}) may not return EMPTY.`);n.phraseLength=0;break;case e.MATCH:if(0===n.phraseLength){if(!t.empty)throw new Error(`${r}opUDT(${t.name}) may not return EMPTY.`);n.state=e.EMPTY}break;case e.NOMATCH:n.phraseLength=0;break;default:throw new Error(`${r}opUDT(${t.name}): callback function return error. Unrecognized return state: ${n.state}`)}})(g,m,x),p||h&&(m.state===e.NOMATCH?n.ast.setLength(d):n.ast.up(f,g.name,c,m.phraseLength))},b=(t,i)=>{const l=`${r}opExecute(): `,v=s[t];switch(h+=1,d>f&&(f=d),d+=1,m.refresh(),n.trace&&n.trace.down(v,i),v.type){case e.ALT:((t,n)=>{const r=s[t];for(let t=0;t<r.children.length&&(b(r.children[t],n),m.state===e.NOMATCH);t+=1);})(t,i);break;case e.CAT:((t,r)=>{let o,i,a,c;const l=s[t];n.ast&&(i=n.ast.getLength()),o=!0,a=r,c=0;for(let t=0;t<l.children.length;t+=1){if(b(l.children[t],a),m.state===e.NOMATCH){o=!1;break}a+=m.phraseLength,c+=m.phraseLength}o?(m.state=0===c?e.EMPTY:e.MATCH,m.phraseLength=c):(m.state=e.NOMATCH,m.phraseLength=0,n.ast&&n.ast.setLength(i))})(t,i);break;case e.REP:((t,r)=>{let o,i,c,l;const u=s[t];if(0===u.max)return m.state=e.EMPTY,void(m.phraseLength=0);for(i=r,c=0,l=0,n.ast&&(o=n.ast.getLength());!(i>=a.length)&&(b(t+1,i),m.state!==e.NOMATCH)&&m.state!==e.EMPTY&&(l+=1,c+=m.phraseLength,i+=m.phraseLength,l!==u.max););m.state===e.EMPTY||l>=u.min?(m.state=0===c?e.EMPTY:e.MATCH,m.phraseLength=c):(m.state=e.NOMATCH,m.phraseLength=0,n.ast&&n.ast.setLength(o))})(t,i);break;case e.RNM:((t,r)=>{let i,l,d;const f=s[t],h=o[f.index],y=c[h.index];if(p||(l=n.ast&&n.ast.ruleDefined(f.index),l&&(i=n.ast.getLength(),n.ast.down(f.index,o[f.index].name))),y){const t=a.length-r;y(m,a,r,u),g(h,m,t,!0),m.state===e.ACTIVE&&(d=s,s=h.opcodes,b(0,r),s=d,y(m,a,r,u),g(h,m,t,!1))}else d=s,s=h.opcodes,b(0,r,m),s=d;p||l&&(m.state===e.NOMATCH?n.ast.setLength(i):n.ast.up(f.index,h.name,r,m.phraseLength))})(t,i);break;case e.TRG:((t,n)=>{const r=s[t];m.state=e.NOMATCH,n<a.length&&r.min<=a[n]&&a[n]<=r.max&&(m.state=e.MATCH,m.phraseLength=1)})(t,i);break;case e.TBS:((t,n)=>{const r=s[t],o=r.string.length;if(m.state=e.NOMATCH,n+o<=a.length){for(let e=0;e<o;e+=1)if(a[n+e]!==r.string[e])return;m.state=e.MATCH,m.phraseLength=o}})(t,i);break;case e.TLS:((t,n)=>{let r;const o=s[t];m.state=e.NOMATCH;const i=o.string.length;if(0!==i){if(n+i<=a.length){for(let e=0;e<i;e+=1)if(r=a[n+e],r>=65&&r<=90&&(r+=32),r!==o.string[e])return;m.state=e.MATCH,m.phraseLength=i}}else m.state=e.EMPTY})(t,i);break;case e.UDT:x(t,i);break;case e.AND:((t,n)=>{switch(p+=1,b(t+1,n),p-=1,m.phraseLength=0,m.state){case e.EMPTY:case e.MATCH:m.state=e.EMPTY;break;case e.NOMATCH:m.state=e.NOMATCH;break;default:throw new Error(`opAND: invalid state ${m.state}`)}})(t,i);break;case e.NOT:((t,n)=>{switch(p+=1,b(t+1,n),p-=1,m.phraseLength=0,m.state){case e.EMPTY:case e.MATCH:m.state=e.NOMATCH;break;case e.NOMATCH:m.state=e.EMPTY;break;default:throw new Error(`opNOT: invalid state ${m.state}`)}})(t,i);break;default:throw new Error(`${l}unrecognized operator`)}p||i+m.phraseLength>y&&(y=i+m.phraseLength),n.stats&&n.stats.collect(v,m),n.trace&&n.trace.up(v,m.state,i,m.phraseLength),d-=1}},it=function(){const e=at,t=st,n=this;let r,o,i,s=0;const a=[],c=[],l=[];function u(e){let t="";for(;e-- >0;)t+=" ";return t}n.callbacks=[],n.init=(e,t,u)=>{let p;c.length=0,l.length=0,s=0,r=e,o=t,i=u;const d=[];for(p=0;p<r.length;p+=1)d.push(r[p].lower);for(p=0;p<o.length;p+=1)d.push(o[p].lower);for(s=r.length+o.length,p=0;p<s;p+=1)a[p]=void 0;for(const e in n.callbacks)if(n.callbacks.hasOwnProperty(e)){const t=e.toLowerCase();if(p=d.indexOf(t),p<0)throw new Error(`parser.js: Ast()): init: node '${e}' not a rule or udt name`);a[p]=n.callbacks[e]}},n.ruleDefined=e=>!!a[e],n.udtDefined=e=>!!a[r.length+e],n.down=(t,n)=>{const r=l.length;return c.push(r),l.push({name:n,thisIndex:r,thatIndex:void 0,state:e.SEM_PRE,callbackIndex:t,phraseIndex:void 0,phraseLength:void 0,stack:c.length}),r},n.up=(t,n,r,o)=>{const i=l.length,s=c.pop();return l.push({name:n,thisIndex:i,thatIndex:s,state:e.SEM_POST,callbackIndex:t,phraseIndex:r,phraseLength:o,stack:c.length}),l[s].thatIndex=i,l[s].phraseIndex=r,l[s].phraseLength=o,i},n.translate=t=>{let n,r;for(let o=0;o<l.length;o+=1)r=l[o],n=a[r.callbackIndex],n&&(r.state===e.SEM_PRE?n(e.SEM_PRE,i,r.phraseIndex,r.phraseLength,t):n&&n(e.SEM_POST,i,r.phraseIndex,r.phraseLength,t))},n.setLength=e=>{l.length=e,c.length=e>0?l[e-1].stack:0},n.getLength=()=>l.length,n.toXml=()=>{let n="",r=0;return n+='<?xml version="1.0" encoding="utf-8"?>\n',n+=`<root nodes="${l.length/2}" characters="${i.length}">\n`,n+="\x3c!-- input string --\x3e\n",n+=u(r+2),n+=t.charsToXmlString(i),n+="\n",l.forEach(o=>{o.state===e.SEM_PRE?(r+=1,n+=u(r),n+=`<node name="${o.name}" index="${o.phraseIndex}" length="${o.phraseLength}">\n`,n+=u(r+2),n+=t.charsToXmlString(i,o.phraseIndex,o.phraseLength),n+="\n"):(n+=u(r),n+=`</node>\x3c!-- name="${o.name}" --\x3e\n`,r-=1)}),n+="</root>\n",n}},st={stringToChars:e=>[...e].map(e=>e.codePointAt(0)),charsToString:(e,t,n)=>{let r=e;for(;!(void 0===t||t<0);){if(void 0===n){r=e.slice(t);break}if(n<=0)return"";r=e.slice(t,t+n);break}return String.fromCodePoint(...r)},charsToXmlString:(e,t,n)=>st.charsToString(e,t,n).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/'/g,"'").replace(/"/g,""")},at={ALT:1,CAT:2,REP:3,RNM:4,TRG:5,TBS:6,TLS:7,UDT:11,AND:12,NOT:13,ACTIVE:100,MATCH:101,EMPTY:102,NOMATCH:103,SEM_PRE:200,SEM_POST:201,SEM_OK:300,idName:e=>{switch(e){case at.ALT:return"ALT";case at.CAT:return"CAT";case at.REP:return"REP";case at.RNM:return"RNM";case at.TRG:return"TRG";case at.TBS:return"TBS";case at.TLS:return"TLS";case at.UDT:return"UDT";case at.AND:return"AND";case at.NOT:return"NOT";case at.ACTIVE:return"ACTIVE";case at.EMPTY:return"EMPTY";case at.MATCH:return"MATCH";case at.NOMATCH:return"NOMATCH";case at.SEM_PRE:return"SEM_PRE";case at.SEM_POST:return"SEM_POST";case at.SEM_OK:return"SEM_OK";default:return"UNRECOGNIZED STATE"}}};const ct=(e,t,n,r,o)=>{if(e===at.SEM_PRE){if(!1===Array.isArray(o))throw new Error("parser's user data must be an array");o.push(["server-url-template",st.charsToString(t,n,r)])}return at.SEM_OK},lt=(e,t,n,r,o)=>{if(e===at.SEM_PRE){if(!1===Array.isArray(o))throw new Error("parser's user data must be an array");o.push(["server-variable",st.charsToString(t,n,r)])}return at.SEM_OK},ut=(e,t,n,r,o)=>{if(e===at.SEM_PRE){if(!1===Array.isArray(o))throw new Error("parser's user data must be an array");o.push(["server-variable-name",st.charsToString(t,n,r)])}return at.SEM_OK},pt=(e,t,n,r,o)=>{if(e===at.SEM_PRE){if(!1===Array.isArray(o))throw new Error("parser's user data must be an array");o.push(["literals",st.charsToString(t,n,r)])}return at.SEM_OK},dt=new function(){this.grammarObject="grammarObject",this.rules=[],this.rules[0]={name:"server-url-template",lower:"server-url-template",index:0,isBkr:!1},this.rules[1]={name:"server-variable",lower:"server-variable",index:1,isBkr:!1},this.rules[2]={name:"server-variable-name",lower:"server-variable-name",index:2,isBkr:!1},this.rules[3]={name:"literals",lower:"literals",index:3,isBkr:!1},this.rules[4]={name:"DIGIT",lower:"digit",index:4,isBkr:!1},this.rules[5]={name:"HEXDIG",lower:"hexdig",index:5,isBkr:!1},this.rules[6]={name:"pct-encoded",lower:"pct-encoded",index:6,isBkr:!1},this.rules[7]={name:"ucschar",lower:"ucschar",index:7,isBkr:!1},this.rules[8]={name:"iprivate",lower:"iprivate",index:8,isBkr:!1},this.udts=[],this.rules[0].opcodes=[],this.rules[0].opcodes[0]={type:3,min:1,max:1/0},this.rules[0].opcodes[1]={type:1,children:[2,3]},this.rules[0].opcodes[2]={type:4,index:3},this.rules[0].opcodes[3]={type:4,index:1},this.rules[1].opcodes=[],this.rules[1].opcodes[0]={type:2,children:[1,2,3]},this.rules[1].opcodes[1]={type:7,string:[123]},this.rules[1].opcodes[2]={type:4,index:2},this.rules[1].opcodes[3]={type:7,string:[125]},this.rules[2].opcodes=[],this.rules[2].opcodes[0]={type:3,min:1,max:1/0},this.rules[2].opcodes[1]={type:1,children:[2,3,4]},this.rules[2].opcodes[2]={type:5,min:0,max:122},this.rules[2].opcodes[3]={type:6,string:[124]},this.rules[2].opcodes[4]={type:5,min:126,max:1114111},this.rules[3].opcodes=[],this.rules[3].opcodes[0]={type:3,min:1,max:1/0},this.rules[3].opcodes[1]={type:1,children:[2,3,4,5,6,7,8,9,10,11,12,13]},this.rules[3].opcodes[2]={type:6,string:[33]},this.rules[3].opcodes[3]={type:5,min:35,max:36},this.rules[3].opcodes[4]={type:5,min:38,max:59},this.rules[3].opcodes[5]={type:6,string:[61]},this.rules[3].opcodes[6]={type:5,min:63,max:91},this.rules[3].opcodes[7]={type:6,string:[93]},this.rules[3].opcodes[8]={type:6,string:[95]},this.rules[3].opcodes[9]={type:5,min:97,max:122},this.rules[3].opcodes[10]={type:6,string:[126]},this.rules[3].opcodes[11]={type:4,index:7},this.rules[3].opcodes[12]={type:4,index:8},this.rules[3].opcodes[13]={type:4,index:6},this.rules[4].opcodes=[],this.rules[4].opcodes[0]={type:5,min:48,max:57},this.rules[5].opcodes=[],this.rules[5].opcodes[0]={type:1,children:[1,2,3,4,5,6,7]},this.rules[5].opcodes[1]={type:4,index:4},this.rules[5].opcodes[2]={type:7,string:[97]},this.rules[5].opcodes[3]={type:7,string:[98]},this.rules[5].opcodes[4]={type:7,string:[99]},this.rules[5].opcodes[5]={type:7,string:[100]},this.rules[5].opcodes[6]={type:7,string:[101]},this.rules[5].opcodes[7]={type:7,string:[102]},this.rules[6].opcodes=[],this.rules[6].opcodes[0]={type:2,children:[1,2,3]},this.rules[6].opcodes[1]={type:7,string:[37]},this.rules[6].opcodes[2]={type:4,index:5},this.rules[6].opcodes[3]={type:4,index:5},this.rules[7].opcodes=[],this.rules[7].opcodes[0]={type:1,children:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]},this.rules[7].opcodes[1]={type:5,min:160,max:55295},this.rules[7].opcodes[2]={type:5,min:63744,max:64975},this.rules[7].opcodes[3]={type:5,min:65008,max:65519},this.rules[7].opcodes[4]={type:5,min:65536,max:131069},this.rules[7].opcodes[5]={type:5,min:131072,max:196605},this.rules[7].opcodes[6]={type:5,min:196608,max:262141},this.rules[7].opcodes[7]={type:5,min:262144,max:327677},this.rules[7].opcodes[8]={type:5,min:327680,max:393213},this.rules[7].opcodes[9]={type:5,min:393216,max:458749},this.rules[7].opcodes[10]={type:5,min:458752,max:524285},this.rules[7].opcodes[11]={type:5,min:524288,max:589821},this.rules[7].opcodes[12]={type:5,min:589824,max:655357},this.rules[7].opcodes[13]={type:5,min:655360,max:720893},this.rules[7].opcodes[14]={type:5,min:720896,max:786429},this.rules[7].opcodes[15]={type:5,min:786432,max:851965},this.rules[7].opcodes[16]={type:5,min:851968,max:917501},this.rules[7].opcodes[17]={type:5,min:921600,max:983037},this.rules[8].opcodes=[],this.rules[8].opcodes[0]={type:1,children:[1,2,3]},this.rules[8].opcodes[1]={type:5,min:57344,max:63743},this.rules[8].opcodes[2]={type:5,min:983040,max:1048573},this.rules[8].opcodes[3]={type:5,min:1048576,max:1114109},this.toString=function(){let e="";return e+="; OpenAPI Server URL templating ABNF syntax\n",e+="server-url-template = 1*( literals / server-variable ) ; variant of https://www.rfc-editor.org/rfc/rfc6570#section-2\n",e+='server-variable = "{" server-variable-name "}"\n',e+="server-variable-name = 1*( %x00-7A / %x7C / %x7E-10FFFF ) ; every UTF8 character except { and } (from OpenAPI)\n",e+="\n",e+="; https://www.rfc-editor.org/rfc/rfc6570#section-2.1\n",e+="; https://www.rfc-editor.org/errata/eid6937\n",e+="literals = 1*( %x21 / %x23-24 / %x26-3B / %x3D / %x3F-5B\n",e+=" / %x5D / %x5F / %x61-7A / %x7E / ucschar / iprivate\n",e+=" / pct-encoded)\n",e+=" ; any Unicode character except: CTL, SP,\n",e+=' ; DQUOTE, "%" (aside from pct-encoded),\n',e+=' ; "<", ">", "\\", "^", "`", "{", "|", "}"\n',e+="\n",e+="; https://www.rfc-editor.org/rfc/rfc6570#section-1.5\n",e+="DIGIT = %x30-39 ; 0-9\n",e+='HEXDIG = DIGIT / "A" / "B" / "C" / "D" / "E" / "F" ; case-insensitive\n',e+="\n",e+='pct-encoded = "%" HEXDIG HEXDIG\n',e+="\n",e+="ucschar = %xA0-D7FF / %xF900-FDCF / %xFDF0-FFEF\n",e+=" / %x10000-1FFFD / %x20000-2FFFD / %x30000-3FFFD\n",e+=" / %x40000-4FFFD / %x50000-5FFFD / %x60000-6FFFD\n",e+=" / %x70000-7FFFD / %x80000-8FFFD / %x90000-9FFFD\n",e+=" / %xA0000-AFFFD / %xB0000-BFFFD / %xC0000-CFFFD\n",e+=" / %xD0000-DFFFD / %xE1000-EFFFD\n",e+="\n",e+="iprivate = %xE000-F8FF / %xF0000-FFFFD / %x100000-10FFFD\n",'; OpenAPI Server URL templating ABNF syntax\nserver-url-template = 1*( literals / server-variable ) ; variant of https://www.rfc-editor.org/rfc/rfc6570#section-2\nserver-variable = "{" server-variable-name "}"\nserver-variable-name = 1*( %x00-7A / %x7C / %x7E-10FFFF ) ; every UTF8 character except { and } (from OpenAPI)\n\n; https://www.rfc-editor.org/rfc/rfc6570#section-2.1\n; https://www.rfc-editor.org/errata/eid6937\nliterals = 1*( %x21 / %x23-24 / %x26-3B / %x3D / %x3F-5B\n / %x5D / %x5F / %x61-7A / %x7E / ucschar / iprivate\n / pct-encoded)\n ; any Unicode character except: CTL, SP,\n ; DQUOTE, "%" (aside from pct-encoded),\n ; "<", ">", "\\", "^", "`", "{", "|", "}"\n\n; https://www.rfc-editor.org/rfc/rfc6570#section-1.5\nDIGIT = %x30-39 ; 0-9\nHEXDIG = DIGIT / "A" / "B" / "C" / "D" / "E" / "F" ; case-insensitive\n\npct-encoded = "%" HEXDIG HEXDIG\n\nucschar = %xA0-D7FF / %xF900-FDCF / %xFDF0-FFEF\n / %x10000-1FFFD / %x20000-2FFFD / %x30000-3FFFD\n / %x40000-4FFFD / %x50000-5FFFD / %x60000-6FFFD\n / %x70000-7FFFD / %x80000-8FFFD / %x90000-9FFFD\n / %xA0000-AFFFD / %xB0000-BFFFD / %xC0000-CFFFD\n / %xD0000-DFFFD / %xE1000-EFFFD\n\niprivate = %xE000-F8FF / %xF0000-FFFFD / %x100000-10FFFD\n'}},ft=e=>{const t=new ot;t.ast=new it,t.ast.callbacks["server-url-template"]=ct,t.ast.callbacks["server-variable"]=lt,t.ast.callbacks["server-variable-name"]=ut,t.ast.callbacks.literals=pt;return{result:t.parse(dt,"server-url-template",e),ast:t.ast}},ht=(e,{strict:t=!1}={})=>{try{const n=ft(e);if(!n.result.success)return!1;const r=[];n.ast.translate(r);const o=r.some(([e])=>"server-variable"===e);if(!t&&!o)try{return new URL(e,"https://vladimirgorej.com"),!0}catch{return!1}return!t||o}catch{return!1}},yt=e=>(e=>{try{return"string"==typeof e&&decodeURIComponent(e)!==e}catch{return!1}})(e)?e:encodeURIComponent(e).replace(/%5B/g,"[").replace(/%5D/g,"]"),mt=["literals","server-variable-name"],gt=(e,t,n={})=>{const r={...{encoder:yt},...n},o=ft(e);if(!o.result.success)return e;const i=[];o.ast.translate(i);const s=i.filter(([e])=>mt.includes(e)).map(([e,n])=>"server-variable-name"===e?Object.hasOwn(t,n)?r.encoder(t[n],n):`{${n}}`:n);return s.join("")},xt=Object.freeze({url:"/"});function bt(e,t){return t||"undefined"==typeof navigator||(t=navigator),t&&"ReactNative"===t.product?!(!e||"object"!=typeof e||"string"!=typeof e.uri):"undefined"!=typeof File&&e instanceof File||("undefined"!=typeof Blob&&e instanceof Blob||(!!ArrayBuffer.isView(e)||null!==e&&"object"==typeof e&&"function"==typeof e.pipe))}function vt(e,t){return Array.isArray(e)&&e.some(e=>bt(e,t))}class At extends File{constructor(e,t="",n={}){super([e],t,n),this.data=e}valueOf(){return this.data}toString(){return this.valueOf()}}const wt=e=>":/?#[]@!$&'()*+,;=".indexOf(e)>-1,kt=e=>/^[a-z0-9\-._~]+$/i.test(e);function Ot(e,t="reserved"){return[...e].map(e=>{if(kt(e))return e;if(wt(e)&&"unsafe"===t)return e;const n=new TextEncoder;return Array.from(n.encode(e)).map(e=>`0${e.toString(16).toUpperCase()}`.slice(-2)).map(e=>`%${e}`).join("")}).join("")}function St(e){const{value:t}=e;return Array.isArray(t)?function({key:e,value:t,style:n,explode:r,escape:o}){if("simple"===n)return t.map(e=>Tt(e,o)).join(",");if("label"===n)return`.${t.map(e=>Tt(e,o)).join(".")}`;if("matrix"===n)return t.map(e=>Tt(e,o)).reduce((t,n)=>!t||r?`${t||""};${e}=${n}`:`${t},${n}`,"");if("form"===n){const n=r?`&${e}=`:",";return t.map(e=>Tt(e,o)).join(n)}if("spaceDelimited"===n){const n=r?`${e}=`:"";return t.map(e=>Tt(e,o)).join(` ${n}`)}if("pipeDelimited"===n){const n=r?`${e}=`:"";return t.map(e=>Tt(e,o)).join(`|${n}`)}return}(e):"object"==typeof t?function({key:e,value:t,style:n,explode:r,escape:o}){const i=Object.keys(t);if("simple"===n)return i.reduce((e,n)=>{const i=Tt(t[n],o);return`${e?`${e},`:""}${n}${r?"=":","}${i}`},"");if("label"===n)return i.reduce((e,n)=>{const i=Tt(t[n],o);return`${e?`${e}.`:"."}${n}${r?"=":"."}${i}`},"");if("matrix"===n&&r)return i.reduce((e,n)=>`${e?`${e};`:";"}${n}=${Tt(t[n],o)}`,"");if("matrix"===n)return i.reduce((n,r)=>{const i=Tt(t[r],o);return`${n?`${n},`:`;${e}=`}${r},${i}`},"");if("form"===n)return i.reduce((e,n)=>{const i=Tt(t[n],o);return`${e?`${e}${r?"&":","}`:""}${n}${r?"=":","}${i}`},"");return}(e):function({key:e,value:t,style:n,escape:r}){if("simple"===n)return Tt(t,r);if("label"===n)return`.${Tt(t,r)}`;if("matrix"===n)return`;${e}=${Tt(t,r)}`;if("form"===n)return Tt(t,r);if("deepObject"===n)return Tt(t,r);return}(e)}function Tt(e,t=!1){return Array.isArray(e)||null!==e&&"object"==typeof e?e=JSON.stringify(e):"number"!=typeof e&&"boolean"!=typeof e||(e=String(e)),t&&"string"==typeof e&&e.length>0?Ot(e,t):e??""}const Ct={form:",",spaceDelimited:"%20",pipeDelimited:"|"},Et={csv:",",ssv:"%20",tsv:"%09",pipes:"|"};function jt(e,t,n=!1){const{collectionFormat:r,allowEmptyValue:o,serializationOption:i,encoding:s}=t,a="object"!=typeof t||Array.isArray(t)?t:t.value,c=n?e=>e.toString():e=>encodeURIComponent(e),l=c(e);if(void 0===a&&o)return[[l,""]];if(bt(a)||vt(a))return[[l,a]];if(i)return Ft(e,a,n,i);if(s){if([typeof s.style,typeof s.explode,typeof s.allowReserved].some(e=>"undefined"!==e)){const{style:t,explode:r,allowReserved:o}=s;return Ft(e,a,n,{style:t,explode:r,allowReserved:o})}if("string"==typeof s.contentType){if(s.contentType.startsWith("application/json")){const e=c("string"==typeof a?a:JSON.stringify(a));return[[l,new At(e,"blob",{type:s.contentType})]]}const e=c(String(a));return[[l,new At(e,"blob",{type:s.contentType})]]}return"object"!=typeof a?[[l,c(a)]]:Array.isArray(a)&&a.every(e=>"object"!=typeof e)?[[l,a.map(c).join(",")]]:[[l,c(JSON.stringify(a))]]}return"object"!=typeof a?[[l,c(a)]]:Array.isArray(a)?"multi"===r?[[l,a.map(c)]]:[[l,a.map(c).join(Et[r||"csv"])]]:[[l,""]]}function Ft(e,t,n,r){const o=r.style||"form",i=void 0===r.explode?"form"===o:r.explode,s=!n&&(r&&r.allowReserved?"unsafe":"reserved"),a=e=>Tt(e,s),c=n?e=>e:e=>a(e);return"object"!=typeof t?[[c(e),a(t)]]:Array.isArray(t)?i?[[c(e),t.map(a)]]:[[c(e),t.map(a).join(Ct[o])]]:"deepObject"===o?Object.keys(t).map(n=>[c(`${e}[${n}]`),a(t[n])]):i?Object.keys(t).map(e=>[c(e),a(t[e])]):[[c(e),Object.keys(t).map(e=>[`${c(e)},${a(t[e])}`]).join(",")]]}function It(e){return((e,{encode:t=!0}={})=>{const n=(e,t,r)=>(Array.isArray(r)?r.reduce((r,o)=>n(e,t,o),e):r instanceof Date?e.append(t,r.toISOString()):"object"==typeof r?Object.entries(r).reduce((r,[o,i])=>n(e,`${t}[${o}]`,i),e):e.append(t,r),e),r=Object.entries(e).reduce((e,[t,r])=>n(e,t,r),new URLSearchParams),o=String(r);return t?o:decodeURIComponent(o)})(Object.keys(e).reduce((t,n)=>{for(const[r,o]of jt(n,e[n]))t[r]=o instanceof At?o.valueOf():o;return t},{}),{encode:!1})}function Mt(e={}){const{url:t="",query:n,form:r}=e;if(r){const t=Object.keys(r).some(e=>{const{value:t}=r[e];return bt(t)||vt(t)}),n=e.headers["content-type"]||e.headers["Content-Type"];if(t||/multipart\/form-data/i.test(n)){const t=(o=e.form,Object.entries(o).reduce((e,[t,n])=>{for(const[r,o]of jt(t,n,!0))if(Array.isArray(o))for(const t of o)if(ArrayBuffer.isView(t)){const n=new Blob([t]);e.append(r,n)}else e.append(r,t);else if(ArrayBuffer.isView(o)){const t=new Blob([o]);e.append(r,t)}else e.append(r,o);return e},new FormData));e.formdata=t,e.body=t}else e.body=It(r);delete e.form}var o;if(n){const[r,o]=t.split("?");let i="";if(o){const e=new URLSearchParams(o);Object.keys(n).forEach(t=>e.delete(t)),i=String(e)}const s=((...e)=>{const t=e.filter(e=>e).join("&");return t?`?${t}`:""})(i,It(n));e.url=r+s,delete e.query}return e}function Dt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Lt,$t,Nt,Pt,Bt,Ut,qt,Rt,_t,Ht,zt,Gt,Yt,Vt,Wt,Kt,Qt,Xt,Jt,Zt,en,tn,nn,rn,on,sn,an,cn,ln,un,pn,dn,fn,hn,yn,mn,gn,xn,bn,vn,An,wn,kn,On,Sn={},Tn={},Cn={};function En(){if(Lt)return Cn;function e(e){return null==e}return Lt=1,Cn.isNothing=e,Cn.isObject=function(e){return"object"==typeof e&&null!==e},Cn.toArray=function(t){return Array.isArray(t)?t:e(t)?[]:[t]},Cn.repeat=function(e,t){let n="";for(let r=0;r<t;r+=1)n+=e;return n},Cn.isNegativeZero=function(e){return 0===e&&Number.NEGATIVE_INFINITY===1/e},Cn.extend=function(e,t){if(t){const n=Object.keys(t);for(let r=0,o=n.length;r<o;r+=1){const o=n[r];e[o]=t[o]}}return e},Cn}function jn(){if(Nt)return $t;function e(e,t){let n="";const r=e.reason||"(unknown reason)";return e.mark?(e.mark.name&&(n+='in "'+e.mark.name+'" '),n+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")",!t&&e.mark.snippet&&(n+="\n\n"+e.mark.snippet),r+" "+n):r}function t(t,n){Error.call(this),this.name="YAMLException",this.reason=t,this.mark=n,this.message=e(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||""}return Nt=1,t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t.prototype.toString=function(t){return this.name+": "+e(this,t)},$t=t}function Fn(){if(qt)return Ut;qt=1;const e=jn(),t=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],n=["scalar","sequence","mapping"];return Ut=function(r,o){if(o=o||{},Object.keys(o).forEach(function(n){if(-1===t.indexOf(n))throw new e('Unknown option "'+n+'" is met in definition of "'+r+'" YAML type.')}),this.options=o,this.tag=r,this.kind=o.kind||null,this.resolve=o.resolve||function(){return!0},this.construct=o.construct||function(e){return e},this.instanceOf=o.instanceOf||null,this.predicate=o.predicate||null,this.represent=o.represent||null,this.representName=o.representName||null,this.defaultStyle=o.defaultStyle||null,this.multi=o.multi||!1,this.styleAliases=function(e){const t={};return null!==e&&Object.keys(e).forEach(function(n){e[n].forEach(function(e){t[String(e)]=n})}),t}(o.styleAliases||null),-1===n.indexOf(this.kind))throw new e('Unknown kind "'+this.kind+'" is specified for "'+r+'" YAML type.')}}function In(){if(_t)return Rt;_t=1;const e=jn(),t=Fn();function n(e,t){const n=[];return e[t].forEach(function(e){let t=n.length;n.forEach(function(n,r){n.tag===e.tag&&n.kind===e.kind&&n.multi===e.multi&&(t=r)}),n[t]=e}),n}function r(e){return this.extend(e)}return r.prototype.extend=function(o){let i=[],s=[];if(o instanceof t)s.push(o);else if(Array.isArray(o))s=s.concat(o);else{if(!o||!Array.isArray(o.implicit)&&!Array.isArray(o.explicit))throw new e("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");o.implicit&&(i=i.concat(o.implicit)),o.explicit&&(s=s.concat(o.explicit))}i.forEach(function(n){if(!(n instanceof t))throw new e("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(n.loadKind&&"scalar"!==n.loadKind)throw new e("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(n.multi)throw new e("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),s.forEach(function(n){if(!(n instanceof t))throw new e("Specified list of YAML types (or a single Type object) contains a non-Type object.")});const a=Object.create(r.prototype);return a.implicit=(this.implicit||[]).concat(i),a.explicit=(this.explicit||[]).concat(s),a.compiledImplicit=n(a,"implicit"),a.compiledExplicit=n(a,"explicit"),a.compiledTypeMap=function(){const e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function t(t){t.multi?(e.multi[t.kind].push(t),e.multi.fallback.push(t)):e[t.kind][t.tag]=e.fallback[t.tag]=t}for(let e=0,n=arguments.length;e<n;e+=1)arguments[e].forEach(t);return e}(a.compiledImplicit,a.compiledExplicit),a},Rt=r}function Mn(){if(zt)return Ht;zt=1;const e=Fn();return Ht=new e("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return null!==e?e:""}})}function Dn(){if(Yt)return Gt;Yt=1;const e=Fn();return Gt=new e("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return null!==e?e:[]}})}function Ln(){if(Wt)return Vt;Wt=1;const e=Fn();return Vt=new e("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return null!==e?e:{}}})}function $n(){if(Qt)return Kt;Qt=1;const e=In();return Kt=new e({explicit:[Mn(),Dn(),Ln()]})}function Nn(){if(Jt)return Xt;Jt=1;const e=Fn();return Xt=new e("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(e){if(null===e)return!0;const t=e.length;return 1===t&&"~"===e||4===t&&("null"===e||"Null"===e||"NULL"===e)},construct:function(){return null},predicate:function(e){return null===e},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"}),Xt}function Pn(){if(en)return Zt;en=1;const e=Fn();return Zt=new e("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(e){if(null===e)return!1;const t=e.length;return 4===t&&("true"===e||"True"===e||"TRUE"===e)||5===t&&("false"===e||"False"===e||"FALSE"===e)},construct:function(e){return"true"===e||"True"===e||"TRUE"===e},predicate:function(e){return"[object Boolean]"===Object.prototype.toString.call(e)},represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"}),Zt}function Bn(){if(nn)return tn;nn=1;const e=En(),t=Fn();function n(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function r(e){return e>=48&&e<=55}function o(e){return e>=48&&e<=57}function i(e){let t=e,n=1,r=t[0];if("-"!==r&&"+"!==r||("-"===r&&(n=-1),t=t.slice(1),r=t[0]),"0"===t)return 0;if("0"===r){if("b"===t[1])return n*parseInt(t.slice(2),2);if("x"===t[1])return n*parseInt(t.slice(2),16);if("o"===t[1])return n*parseInt(t.slice(2),8)}return n*parseInt(t,10)}return tn=new t("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(e){if(null===e)return!1;const t=e.length;let s=0,a=!1;if(!t)return!1;let c=e[s];if("-"!==c&&"+"!==c||(c=e[++s]),"0"===c){if(s+1===t)return!0;if(c=e[++s],"b"===c){for(s++;s<t;s++){if(c=e[s],"0"!==c&&"1"!==c)return!1;a=!0}return a&&isFinite(i(e))}if("x"===c){for(s++;s<t;s++){if(!n(e.charCodeAt(s)))return!1;a=!0}return a&&isFinite(i(e))}if("o"===c){for(s++;s<t;s++){if(!r(e.charCodeAt(s)))return!1;a=!0}return a&&isFinite(i(e))}}for(;s<t;s++){if(!o(e.charCodeAt(s)))return!1;a=!0}return!!a&&isFinite(i(e))},construct:function(e){return i(e)},predicate:function(t){return"[object Number]"===Object.prototype.toString.call(t)&&t%1==0&&!e.isNegativeZero(t)},represent:{binary:function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),tn}function Un(){if(on)return rn;on=1;const e=En(),t=Fn(),n=new RegExp("^(?:[-+]?(?:[0-9]+)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),r=new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");const o=/^[-+]?[0-9]+e/;return rn=new t("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return null!==e&&(!!n.test(e)&&(!!isFinite(parseFloat(e,10))||r.test(e)))},construct:function(e){let t=e.toLowerCase();const n="-"===t[0]?-1:1;return"+-".indexOf(t[0])>=0&&(t=t.slice(1)),".inf"===t?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===t?NaN:n*parseFloat(t,10)},predicate:function(t){return"[object Number]"===Object.prototype.toString.call(t)&&(t%1!=0||e.isNegativeZero(t))},represent:function(t,n){if(isNaN(t))switch(n){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===t)switch(n){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===t)switch(n){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(e.isNegativeZero(t))return"-0.0";const r=t.toString(10);return o.test(r)?r.replace("e",".e"):r},defaultStyle:"lowercase"})}function qn(){return an?sn:(an=1,sn=$n().extend({implicit:[Nn(),Pn(),Bn(),Un()]}))}function Rn(){return ln?cn:(ln=1,cn=qn())}function _n(){if(pn)return un;pn=1;const e=Fn(),t=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),n=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");return un=new e("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return null!==e&&(null!==t.exec(e)||null!==n.exec(e))},construct:function(e){let r=0,o=null,i=t.exec(e);if(null===i&&(i=n.exec(e)),null===i)throw new Error("Date resolve error");const s=+i[1],a=+i[2]-1,c=+i[3];if(!i[4])return new Date(Date.UTC(s,a,c));const l=+i[4],u=+i[5],p=+i[6];if(i[7]){for(r=i[7].slice(0,3);r.length<3;)r+="0";r=+r}if(i[9]){o=6e4*(60*+i[10]+ +(i[11]||0)),"-"===i[9]&&(o=-o)}const d=new Date(Date.UTC(s,a,c,l,u,p,r));return o&&d.setTime(d.getTime()-o),d},instanceOf:Date,represent:function(e){return e.toISOString()}})}function Hn(){if(fn)return dn;fn=1;const e=Fn();return dn=new e("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}})}function zn(){if(yn)return hn;yn=1;const e=Fn(),t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";return hn=new e("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(null===e)return!1;let n=0;const r=e.length,o=t;for(let t=0;t<r;t++){const r=o.indexOf(e.charAt(t));if(!(r>64)){if(r<0)return!1;n+=6}}return n%8==0},construct:function(e){const n=e.replace(/[\r\n=]/g,""),r=n.length,o=t;let i=0;const s=[];for(let e=0;e<r;e++)e%4==0&&e&&(s.push(i>>16&255),s.push(i>>8&255),s.push(255&i)),i=i<<6|o.indexOf(n.charAt(e));const a=r%4*6;return 0===a?(s.push(i>>16&255),s.push(i>>8&255),s.push(255&i)):18===a?(s.push(i>>10&255),s.push(i>>2&255)):12===a&&s.push(i>>4&255),new Uint8Array(s)},predicate:function(e){return"[object Uint8Array]"===Object.prototype.toString.call(e)},represent:function(e){let n="",r=0;const o=e.length,i=t;for(let t=0;t<o;t++)t%3==0&&t&&(n+=i[r>>18&63],n+=i[r>>12&63],n+=i[r>>6&63],n+=i[63&r]),r=(r<<8)+e[t];const s=o%3;return 0===s?(n+=i[r>>18&63],n+=i[r>>12&63],n+=i[r>>6&63],n+=i[63&r]):2===s?(n+=i[r>>10&63],n+=i[r>>4&63],n+=i[r<<2&63],n+=i[64]):1===s&&(n+=i[r>>2&63],n+=i[r<<4&63],n+=i[64],n+=i[64]),n}}),hn}function Gn(){if(gn)return mn;gn=1;const e=Fn(),t=Object.prototype.hasOwnProperty,n=Object.prototype.toString;return mn=new e("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null===e)return!0;const r={},o=e;for(let e=0,i=o.length;e<i;e+=1){const i=o[e];let s,a=!1;if("[object Object]"!==n.call(i))return!1;for(s in i)if(t.call(i,s)){if(a)return!1;a=!0}if(!a)return!1;if(t.call(r,s))return!1;Object.defineProperty(r,s,{value:!0})}return!0},construct:function(e){return null!==e?e:[]}})}function Yn(){if(bn)return xn;bn=1;const e=Fn(),t=Object.prototype.toString;return xn=new e("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:function(e){if(null===e)return!0;const n=e,r=new Array(n.length);for(let e=0,o=n.length;e<o;e+=1){const o=n[e];if("[object Object]"!==t.call(o))return!1;const i=Object.keys(o);if(1!==i.length)return!1;r[e]=[i[0],o[i[0]]]}return!0},construct:function(e){if(null===e)return[];const t=e,n=new Array(t.length);for(let e=0,r=t.length;e<r;e+=1){const r=t[e],o=Object.keys(r);n[e]=[o[0],r[o[0]]]}return n}}),xn}function Vn(){if(An)return vn;An=1;const e=Fn(),t=Object.prototype.hasOwnProperty;return vn=new e("tag:yaml.org,2002:set",{kind:"mapping",resolve:function(e){if(null===e)return!0;const n=e;for(const e in n)if(t.call(n,e)&&null!==n[e])return!1;return!0},construct:function(e){return null!==e?e:{}}})}function Wn(){return kn?wn:(kn=1,wn=Rn().extend({implicit:[_n(),Hn()],explicit:[zn(),Gn(),Yn(),Vn()]}))}function Kn(){if(On)return Tn;On=1;const e=En(),t=jn(),n=function(){if(Bt)return Pt;Bt=1;const e=En();function t(e,t,n,r,o){let i="",s="";const a=Math.floor(o/2)-1;return r-t>a&&(i=" ... ",t=r-a+i.length),n-r>a&&(s=" ...",n=r+a-s.length),{str:i+e.slice(t,n).replace(/\t/g,"→")+s,pos:r-t+i.length}}function n(t,n){return e.repeat(" ",n-t.length)+t}return Pt=function(r,o){if(o=Object.create(o||null),!r.buffer)return null;o.maxLength||(o.maxLength=79),"number"!=typeof o.indent&&(o.indent=1),"number"!=typeof o.linesBefore&&(o.linesBefore=3),"number"!=typeof o.linesAfter&&(o.linesAfter=2);const i=/\r?\n|\r|\0/g,s=[0],a=[];let c,l=-1;for(;c=i.exec(r.buffer);)a.push(c.index),s.push(c.index+c[0].length),r.position<=c.index&&l<0&&(l=s.length-2);l<0&&(l=s.length-1);let u="";const p=Math.min(r.line+o.linesAfter,a.length).toString().length,d=o.maxLength-(o.indent+p+3);for(let i=1;i<=o.linesBefore&&!(l-i<0);i++){const c=t(r.buffer,s[l-i],a[l-i],r.position-(s[l]-s[l-i]),d);u=e.repeat(" ",o.indent)+n((r.line-i+1).toString(),p)+" | "+c.str+"\n"+u}const f=t(r.buffer,s[l],a[l],r.position,d);u+=e.repeat(" ",o.indent)+n((r.line+1).toString(),p)+" | "+f.str+"\n",u+=e.repeat("-",o.indent+p+3+f.pos)+"^\n";for(let i=1;i<=o.linesAfter&&!(l+i>=a.length);i++){const c=t(r.buffer,s[l+i],a[l+i],r.position-(s[l]-s[l+i]),d);u+=e.repeat(" ",o.indent)+n((r.line+i+1).toString(),p)+" | "+c.str+"\n"}return u.replace(/\n$/,"")}}(),r=Wn(),o=Object.prototype.hasOwnProperty,i=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,s=/[\x85\u2028\u2029]/,a=/[,\[\]{}]/,c=/^(?:!|!!|![0-9A-Za-z-]+!)$/,l=/^(?:!|[^,\[\]{}])(?:%[0-9a-f]{2}|[0-9a-z\-#;/?:@&=+$,_.!~*'()\[\]])*$/i;function u(e){return Object.prototype.toString.call(e)}function p(e){return 10===e||13===e}function d(e){return 9===e||32===e}function f(e){return 9===e||32===e||10===e||13===e}function h(e){return 44===e||91===e||93===e||123===e||125===e}function y(e){if(e>=48&&e<=57)return e-48;const t=32|e;return t>=97&&t<=102?t-97+10:-1}function m(e){return 120===e?2:117===e?4:85===e?8:0}function g(e){return e>=48&&e<=57?e-48:-1}function x(e){switch(e){case 48:return"\0";case 97:return"";case 98:return"\b";case 116:case 9:return"\t";case 110:return"\n";case 118:return"\v";case 102:return"\f";case 114:return"\r";case 101:return"";case 32:return" ";case 34:return'"';case 47:return"/";case 92:return"\\";case 78:return"
";case 95:return" ";case 76:return"\u2028";case 80:return"\u2029";default:return""}}function b(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(55296+(e-65536>>10),56320+(e-65536&1023))}function v(e,t,n){"__proto__"===t?Object.defineProperty(e,t,{configurable:!0,enumerable:!0,writable:!0,value:n}):e[t]=n}const A=new Array(256),w=new Array(256);for(let e=0;e<256;e++)A[e]=x(e)?1:0,w[e]=x(e);function k(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||r,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.maxDepth="number"==typeof t.maxDepth?t.maxDepth:100,this.maxTotalMergeKeys="number"==typeof t.maxTotalMergeKeys?t.maxTotalMergeKeys:1e4,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.depth=0,this.totalMergeKeys=0,this.firstTabInLine=-1,this.documents=[],this.anchorMapTransactions=[]}function O(e,r){const o={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return o.snippet=n(o),new t(r,o)}function S(e,t){throw O(e,t)}function T(e,t){e.onWarning&&e.onWarning.call(null,O(e,t))}function C(e,t,n){const r=e.anchorMapTransactions;if(0!==r.length){const n=r[r.length-1];o.call(n,t)||(n[t]={existed:o.call(e.anchorMap,t),value:e.anchorMap[t]})}e.anchorMap[t]=n}function E(e){return{position:e.position,line:e.line,lineStart:e.lineStart,lineIndent:e.lineIndent,firstTabInLine:e.firstTabInLine,tag:e.tag,anchor:e.anchor,kind:e.kind,result:e.result}}function j(e,t){e.position=t.position,e.line=t.line,e.lineStart=t.lineStart,e.lineIndent=t.lineIndent,e.firstTabInLine=t.firstTabInLine,e.tag=t.tag,e.anchor=t.anchor,e.kind=t.kind,e.result=t.result}const F={YAML:function(e,t,n){null!==e.version&&S(e,"duplication of %YAML directive"),1!==n.length&&S(e,"YAML directive accepts exactly one argument");const r=/^([0-9]+)\.([0-9]+)$/.exec(n[0]);null===r&&S(e,"ill-formed argument of the YAML directive");const o=parseInt(r[1],10),i=parseInt(r[2],10);1!==o&&S(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=i<2,1!==i&&2!==i&&T(e,"unsupported YAML version of the document")},TAG:function(e,t,n){let r;2!==n.length&&S(e,"TAG directive accepts exactly two arguments");const i=n[0];r=n[1],c.test(i)||S(e,"ill-formed tag handle (first argument) of the TAG directive"),o.call(e.tagMap,i)&&S(e,'there is a previously declared suffix for "'+i+'" tag handle'),l.test(r)||S(e,"ill-formed tag prefix (second argument) of the TAG directive");try{r=decodeURIComponent(r)}catch(t){S(e,"tag prefix is malformed: "+r)}e.tagMap[i]=r}};function I(e,t,n,r){if(t<n){const o=e.input.slice(t,n);if(r)for(let t=0,n=o.length;t<n;t+=1){const n=o.charCodeAt(t);9===n||n>=32&&n<=1114111||S(e,"expected valid JSON character")}else i.test(o)&&S(e,"the stream contains non-printable characters");e.result+=o}}function M(e){e.totalMergeKeys++,-1!==e.maxTotalMergeKeys&&e.totalMergeKeys>e.maxTotalMergeKeys&&S(e,"merge keys exceeded maxTotalMergeKeys ("+e.maxTotalMergeKeys+")")}function D(t,n,r,i){e.isObject(r)||S(t,"cannot merge mappings; the provided source object is unacceptable"),M(t);const s=Object.keys(r);for(let e=0,a=s.length;e<a;e+=1){const a=s[e];M(t),o.call(n,a)||(v(n,a,r[a]),i[a]=!0)}}function L(e,t,n,r,i,s,a,c,l){if(Array.isArray(i))for(let t=0,n=(i=Array.prototype.slice.call(i)).length;t<n;t+=1)Array.isArray(i[t])&&S(e,"nested arrays are not supported inside keys"),"object"==typeof i&&"[object Object]"===u(i[t])&&(i[t]="[object Object]");if("object"==typeof i&&"[object Object]"===u(i)&&(i="[object Object]"),i=String(i),null===t&&(t={}),"tag:yaml.org,2002:merge"===r)if(Array.isArray(s)){s.length>100&&S(e,"abnormal merge sequence size");for(let r=0,o=s.length;r<o;r+=1)D(e,t,s[r],n)}else D(e,t,s,n);else e.json||o.call(n,i)||!o.call(t,i)||(e.line=a||e.line,e.lineStart=c||e.lineStart,e.position=l||e.position,S(e,"duplicated mapping key")),v(t,i,s),delete n[i];return t}function $(e){const t=e.input.charCodeAt(e.position);10===t?e.position++:13===t?(e.position++,10===e.input.charCodeAt(e.position)&&e.position++):S(e,"a line break is expected"),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}function N(e,t,n){let r=0,o=e.input.charCodeAt(e.position);for(;0!==o;){for(;d(o);)9===o&&-1===e.firstTabInLine&&(e.firstTabInLine=e.position),o=e.input.charCodeAt(++e.position);if(t&&35===o)do{o=e.input.charCodeAt(++e.position)}while(10!==o&&13!==o&&0!==o);if(!p(o))break;for($(e),o=e.input.charCodeAt(e.position),r++,e.lineIndent=0;32===o;)e.lineIndent++,o=e.input.charCodeAt(++e.position)}return-1!==n&&0!==r&&e.lineIndent<n&&T(e,"deficient indentation"),r}function P(e){let t=e.position,n=e.input.charCodeAt(t);return!(45!==n&&46!==n||n!==e.input.charCodeAt(t+1)||n!==e.input.charCodeAt(t+2)||(t+=3,n=e.input.charCodeAt(t),0!==n&&!f(n)))}function B(t,n){1===n?t.result+=" ":n>1&&(t.result+=e.repeat("\n",n-1))}function U(e,t){const n=e.tag,r=e.anchor,o=[];let i=!1;if(-1!==e.firstTabInLine)return!1;null!==e.anchor&&C(e,e.anchor,o);let s=e.input.charCodeAt(e.position);for(;0!==s&&(-1!==e.firstTabInLine&&(e.position=e.firstTabInLine,S(e,"tab characters must not be used in indentation")),45===s);){if(!f(e.input.charCodeAt(e.position+1)))break;if(i=!0,e.position++,N(e,!0,-1)&&e.lineIndent<=t){o.push(null),s=e.input.charCodeAt(e.position);continue}const n=e.line;if(z(e,t,3,!1,!0),o.push(e.result),N(e,!0,-1),s=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&0!==s)S(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break}return!!i&&(e.tag=n,e.anchor=r,e.kind="sequence",e.result=o,!0)}function q(e,t,n){let r,o,i,s;const a=e.tag,c=e.anchor,l={},u=Object.create(null);let p=null,h=null,y=null,m=!1,g=!1;if(-1!==e.firstTabInLine)return!1;null!==e.anchor&&C(e,e.anchor,l);let x=e.input.charCodeAt(e.position);for(;0!==x;){m||-1===e.firstTabInLine||(e.position=e.firstTabInLine,S(e,"tab characters must not be used in indentation"));const b=e.input.charCodeAt(e.position+1),v=e.line;if(63!==x&&58!==x||!f(b)){if(o=e.line,i=e.lineStart,s=e.position,!z(e,n,2,!1,!0))break;if(e.line===v){for(x=e.input.charCodeAt(e.position);d(x);)x=e.input.charCodeAt(++e.position);if(58===x)x=e.input.charCodeAt(++e.position),f(x)||S(e,"a whitespace character is expected after the key-value separator within a block mapping"),m&&(L(e,l,u,p,h,null,o,i,s),p=h=y=null),g=!0,m=!1,r=!1,p=e.tag,h=e.result;else{if(!g)return e.tag=a,e.anchor=c,!0;S(e,"can not read an implicit mapping pair; a colon is missed")}}else{if(!g)return e.tag=a,e.anchor=c,!0;S(e,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else 63===x?(m&&(L(e,l,u,p,h,null,o,i,s),p=h=y=null),g=!0,m=!0,r=!0):m?(m=!1,r=!0):S(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,x=b;if((e.line===v||e.lineIndent>t)&&(m&&(o=e.line,i=e.lineStart,s=e.position),z(e,t,4,!0,r)&&(m?h=e.result:y=e.result),m||(L(e,l,u,p,h,y,o,i,s),p=h=y=null),N(e,!0,-1),x=e.input.charCodeAt(e.position)),(e.line===v||e.lineIndent>t)&&0!==x)S(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return m&&L(e,l,u,p,h,null,o,i,s),g&&(e.tag=a,e.anchor=c,e.kind="mapping",e.result=l),g}function R(e){let t,n,r=!1,i=!1,s=e.input.charCodeAt(e.position);if(33!==s)return!1;null!==e.tag&&S(e,"duplication of a tag property"),s=e.input.charCodeAt(++e.position),60===s?(r=!0,s=e.input.charCodeAt(++e.position)):33===s?(i=!0,t="!!",s=e.input.charCodeAt(++e.position)):t="!";let u=e.position;if(r){do{s=e.input.charCodeAt(++e.position)}while(0!==s&&62!==s);e.position<e.length?(n=e.input.slice(u,e.position),s=e.input.charCodeAt(++e.position)):S(e,"unexpected end of the stream within a verbatim tag")}else{for(;0!==s&&!f(s);)33===s&&(i?S(e,"tag suffix cannot contain exclamation marks"):(t=e.input.slice(u-1,e.position+1),c.test(t)||S(e,"named tag handle cannot contain such characters"),i=!0,u=e.position+1)),s=e.input.charCodeAt(++e.position);n=e.input.slice(u,e.position),a.test(n)&&S(e,"tag suffix cannot contain flow indicator characters")}n&&!l.test(n)&&S(e,"tag name cannot contain such characters: "+n);try{n=decodeURIComponent(n)}catch(t){S(e,"tag name is malformed: "+n)}return r?e.tag=n:o.call(e.tagMap,t)?e.tag=e.tagMap[t]+n:"!"===t?e.tag="!"+n:"!!"===t?e.tag="tag:yaml.org,2002:"+n:S(e,'undeclared tag handle "'+t+'"'),!0}function _(e){let t=e.input.charCodeAt(e.position);if(38!==t)return!1;null!==e.anchor&&S(e,"duplication of an anchor property"),t=e.input.charCodeAt(++e.position);const n=e.position;for(;0!==t&&!f(t)&&!h(t);)t=e.input.charCodeAt(++e.position);return e.position===n&&S(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(n,e.position),!0}function H(e,t,n,r){const i=E(e);return function(e){e.anchorMapTransactions.push(Object.create(null))}(e),j(e,t),e.tag=null,e.anchor=null,e.kind=null,e.result=null,q(e,n,r)&&"mapping"===e.kind?(function(e){const t=e.anchorMapTransactions.pop(),n=e.anchorMapTransactions;if(0===n.length)return;const r=n[n.length-1],i=Object.keys(t);for(let e=0,n=i.length;e<n;e+=1){const n=i[e];o.call(r,n)||(r[n]=t[n])}}(e),!0):(function(e){const t=e.anchorMapTransactions.pop(),n=Object.keys(t);for(let r=n.length-1;r>=0;r-=1){const o=t[n[r]];o.existed?e.anchorMap[n[r]]=o.value:delete e.anchorMap[n[r]]}}(e),j(e,i),!1)}function z(t,n,r,i,s){let a,c,l,u,x,v=1,k=!1,O=!1,T=null;t.depth>=t.maxDepth&&S(t,"nesting exceeded maxDepth ("+t.maxDepth+")"),t.depth+=1,null!==t.listener&&t.listener("open",t),t.tag=null,t.anchor=null,t.kind=null,t.result=null;const j=a=c=4===r||3===r;if(i&&N(t,!0,-1)&&(k=!0,t.lineIndent>n?v=1:t.lineIndent===n?v=0:t.lineIndent<n&&(v=-1)),1===v)for(;;){const e=t.input.charCodeAt(t.position),r=E(t);if(k&&(33===e&&null!==t.tag||38===e&&null!==t.anchor))break;if(!R(t)&&!_(t))break;null===T&&(T=r),N(t,!0,-1)?(k=!0,c=j,t.lineIndent>n?v=1:t.lineIndent===n?v=0:t.lineIndent<n&&(v=-1)):c=!1}if(c&&(c=k||s),1===v||4===r)if(u=1===r||2===r?n:n+1,x=t.position-t.lineStart,1===v)if(c&&(U(t,x)||q(t,x,u))||function(e,t){let n,r,o,i=!0;const s=e.tag;let a;const c=e.anchor;let l,u,p,d;const h=Object.create(null);let y,m,g,x=e.input.charCodeAt(e.position);if(91===x)l=93,d=!1,a=[];else{if(123!==x)return!1;l=125,d=!0,a={}}for(null!==e.anchor&&C(e,e.anchor,a),x=e.input.charCodeAt(++e.position);0!==x;){if(N(e,!0,t),x=e.input.charCodeAt(e.position),x===l)return e.position++,e.tag=s,e.anchor=c,e.kind=d?"mapping":"sequence",e.result=a,!0;i?44===x&&S(e,"expected the node content, but found ','"):S(e,"missed comma between flow collection entries"),m=y=g=null,u=p=!1,63===x&&f(e.input.charCodeAt(e.position+1))&&(u=p=!0,e.position++,N(e,!0,t)),n=e.line,r=e.lineStart,o=e.position,z(e,t,1,!1,!0),m=e.tag,y=e.result,N(e,!0,t),x=e.input.charCodeAt(e.position),!p&&e.line!==n||58!==x||(u=!0,x=e.input.charCodeAt(++e.position),N(e,!0,t),z(e,t,1,!1,!0),g=e.result),d?L(e,a,h,m,y,g,n,r,o):u?a.push(L(e,null,h,m,y,g,n,r,o)):a.push(y),N(e,!0,t),x=e.input.charCodeAt(e.position),44===x?(i=!0,x=e.input.charCodeAt(++e.position)):i=!1}S(e,"unexpected end of the stream within a flow collection")}(t,u))O=!0;else{const n=t.input.charCodeAt(t.position);null!==T&&j&&!c&&124!==n&&62!==n&&H(t,T,T.position-T.lineStart,u)||a&&function(t,n){let r,o,i=1,s=!1,a=!1,c=n,l=0,u=!1,f=t.input.charCodeAt(t.position);if(124===f)r=!1;else{if(62!==f)return!1;r=!0}for(t.kind="scalar",t.result="";0!==f;)if(f=t.input.charCodeAt(++t.position),43===f||45===f)1===i?i=43===f?3:2:S(t,"repeat of a chomping mode identifier");else{if(!((o=g(f))>=0))break;0===o?S(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):a?S(t,"repeat of an indentation width identifier"):(c=n+o-1,a=!0)}if(d(f)){do{f=t.input.charCodeAt(++t.position)}while(d(f));if(35===f)do{f=t.input.charCodeAt(++t.position)}while(!p(f)&&0!==f)}for(;0!==f;){for($(t),t.lineIndent=0,f=t.input.charCodeAt(t.position);(!a||t.lineIndent<c)&&32===f;)t.lineIndent++,f=t.input.charCodeAt(++t.position);if(!a&&t.lineIndent>c&&(c=t.lineIndent),p(f)){l++;continue}if(a||0!==c||S(t,"missing indentation for block scalar"),t.lineIndent<c){3===i?t.result+=e.repeat("\n",s?1+l:l):1===i&&s&&(t.result+="\n");break}r?d(f)?(u=!0,t.result+=e.repeat("\n",s?1+l:l)):u?(u=!1,t.result+=e.repeat("\n",l+1)):0===l?s&&(t.result+=" "):t.result+=e.repeat("\n",l):t.result+=e.repeat("\n",s?1+l:l),s=!0,a=!0,l=0;const n=t.position;for(;!p(f)&&0!==f;)f=t.input.charCodeAt(++t.position);I(t,n,t.position,!1)}return!0}(t,u)||function(e,t){let n,r,o=e.input.charCodeAt(e.position);if(39!==o)return!1;for(e.kind="scalar",e.result="",e.position++,n=r=e.position;0!==(o=e.input.charCodeAt(e.position));)if(39===o){if(I(e,n,e.position,!0),o=e.input.charCodeAt(++e.position),39!==o)return!0;n=e.position,e.position++,r=e.position}else p(o)?(I(e,n,r,!0),B(e,N(e,!1,t)),n=r=e.position):e.position===e.lineStart&&P(e)?S(e,"unexpected end of the document within a single quoted scalar"):(e.position++,d(o)||(r=e.position));S(e,"unexpected end of the stream within a single quoted scalar")}(t,u)||function(e,t){let n,r,o,i=e.input.charCodeAt(e.position);if(34!==i)return!1;for(e.kind="scalar",e.result="",e.position++,n=r=e.position;0!==(i=e.input.charCodeAt(e.position));){if(34===i)return I(e,n,e.position,!0),e.position++,!0;if(92===i){if(I(e,n,e.position,!0),i=e.input.charCodeAt(++e.position),p(i))N(e,!1,t);else if(i<256&&A[i])e.result+=w[i],e.position++;else if((o=m(i))>0){let t=o,n=0;for(;t>0;t--)i=e.input.charCodeAt(++e.position),(o=y(i))>=0?n=(n<<4)+o:S(e,"expected hexadecimal character");e.result+=b(n),e.position++}else S(e,"unknown escape sequence");n=r=e.position}else p(i)?(I(e,n,r,!0),B(e,N(e,!1,t)),n=r=e.position):e.position===e.lineStart&&P(e)?S(e,"unexpected end of the document within a double quoted scalar"):(e.position++,d(i)||(r=e.position))}S(e,"unexpected end of the stream within a double quoted scalar")}(t,u)?O=!0:!function(e){let t=e.input.charCodeAt(e.position);if(42!==t)return!1;t=e.input.charCodeAt(++e.position);const n=e.position;for(;0!==t&&!f(t)&&!h(t);)t=e.input.charCodeAt(++e.position);e.position===n&&S(e,"name of an alias node must contain at least one character");const r=e.input.slice(n,e.position);return o.call(e.anchorMap,r)||S(e,'unidentified alias "'+r+'"'),e.result=e.anchorMap[r],N(e,!0,-1),!0}(t)?function(e,t,n){let r,o,i,s,a,c;const l=e.kind,u=e.result;let y=e.input.charCodeAt(e.position);if(f(y)||h(y)||35===y||38===y||42===y||33===y||124===y||62===y||39===y||34===y||37===y||64===y||96===y)return!1;if(63===y||45===y){const t=e.input.charCodeAt(e.position+1);if(f(t)||n&&h(t))return!1}for(e.kind="scalar",e.result="",r=o=e.position,i=!1;0!==y;){if(58===y){const t=e.input.charCodeAt(e.position+1);if(f(t)||n&&h(t))break}else if(35===y){if(f(e.input.charCodeAt(e.position-1)))break}else{if(e.position===e.lineStart&&P(e)||n&&h(y))break;if(p(y)){if(s=e.line,a=e.lineStart,c=e.lineIndent,N(e,!1,-1),e.lineIndent>=t){i=!0,y=e.input.charCodeAt(e.position);continue}e.position=o,e.line=s,e.lineStart=a,e.lineIndent=c;break}}i&&(I(e,r,o,!1),B(e,e.line-s),r=o=e.position,i=!1),d(y)||(o=e.position+1),y=e.input.charCodeAt(++e.position)}return I(e,r,o,!1),!!e.result||(e.kind=l,e.result=u,!1)}(t,u,1===r)&&(O=!0,null===t.tag&&(t.tag="?")):(O=!0,null===t.tag&&null===t.anchor||S(t,"alias node should not have any properties")),null!==t.anchor&&C(t,t.anchor,t.result)}else 0===v&&(O=c&&U(t,x));if(null===t.tag)null!==t.anchor&&C(t,t.anchor,t.result);else if("?"===t.tag){null!==t.result&&"scalar"!==t.kind&&S(t,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+t.kind+'"');for(let e=0,n=t.implicitTypes.length;e<n;e+=1)if(l=t.implicitTypes[e],l.resolve(t.result)){t.result=l.construct(t.result),t.tag=l.tag,null!==t.anchor&&C(t,t.anchor,t.result);break}}else if("!"!==t.tag){if(o.call(t.typeMap[t.kind||"fallback"],t.tag))l=t.typeMap[t.kind||"fallback"][t.tag];else{l=null;const e=t.typeMap.multi[t.kind||"fallback"];for(let n=0,r=e.length;n<r;n+=1)if(t.tag.slice(0,e[n].tag.length)===e[n].tag){l=e[n];break}}l||S(t,"unknown tag !<"+t.tag+">"),null!==t.result&&l.kind!==t.kind&&S(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+l.kind+'", not "'+t.kind+'"'),l.resolve(t.result,t.tag)?(t.result=l.construct(t.result,t.tag),null!==t.anchor&&C(t,t.anchor,t.result)):S(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}return null!==t.listener&&t.listener("close",t),t.depth-=1,null!==t.tag||null!==t.anchor||O}function G(e){const t=e.position;let n,r=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);0!==(n=e.input.charCodeAt(e.position))&&(N(e,!0,-1),n=e.input.charCodeAt(e.position),!(e.lineIndent>0||37!==n));){r=!0,n=e.input.charCodeAt(++e.position);let t=e.position;for(;0!==n&&!f(n);)n=e.input.charCodeAt(++e.position);const i=e.input.slice(t,e.position),s=[];for(i.length<1&&S(e,"directive name must not be less than one character in length");0!==n;){for(;d(n);)n=e.input.charCodeAt(++e.position);if(35===n){do{n=e.input.charCodeAt(++e.position)}while(0!==n&&!p(n));break}if(p(n))break;for(t=e.position;0!==n&&!f(n);)n=e.input.charCodeAt(++e.position);s.push(e.input.slice(t,e.position))}0!==n&&$(e),o.call(F,i)?F[i](e,i,s):T(e,'unknown document directive "'+i+'"')}N(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,N(e,!0,-1)):r&&S(e,"directives end mark is expected"),z(e,e.lineIndent-1,4,!1,!0),N(e,!0,-1),e.checkLineBreaks&&s.test(e.input.slice(t,e.position))&&T(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&P(e)?46===e.input.charCodeAt(e.position)&&(e.position+=3,N(e,!0,-1)):e.position<e.length-1&&S(e,"end of the stream or a document separator is expected")}function Y(e,t){t=t||{},0!==(e=String(e)).length&&(10!==e.charCodeAt(e.length-1)&&13!==e.charCodeAt(e.length-1)&&(e+="\n"),65279===e.charCodeAt(0)&&(e=e.slice(1)));const n=new k(e,t),r=e.indexOf("\0");for(-1!==r&&(n.position=r,S(n,"null byte is not allowed in input")),n.input+="\0";32===n.input.charCodeAt(n.position);)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;)G(n);return n.documents}return Tn.loadAll=function(e,t,n){null!==t&&"object"==typeof t&&void 0===n&&(n=t,t=null);const r=Y(e,n);if("function"!=typeof t)return r;for(let e=0,n=r.length;e<n;e+=1)t(r[e])},Tn.load=function(e,n){const r=Y(e,n);if(0!==r.length){if(1===r.length)return r[0];throw new t("expected a single document in the stream, but found more")}},Tn}var Qn,Xn,Jn={};function Zn(){if(Qn)return Jn;Qn=1;const e=En(),t=jn(),n=Wn(),r=Object.prototype.toString,o=Object.prototype.hasOwnProperty,i=65279,s={0:"\\0",7:"\\a",8:"\\b",9:"\\t",10:"\\n",11:"\\v",12:"\\f",13:"\\r",27:"\\e",34:'\\"',92:"\\\\",133:"\\N",160:"\\_",8232:"\\L",8233:"\\P"},a=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],c=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function l(n){let r,o;const i=n.toString(16).toUpperCase();if(n<=255)r="x",o=2;else if(n<=65535)r="u",o=4;else{if(!(n<=4294967295))throw new t("code point within a string may not be greater than 0xFFFFFFFF");r="U",o=8}return"\\"+r+e.repeat("0",o-i.length)+i}function u(t){this.schema=t.schema||n,this.indent=Math.max(1,t.indent||2),this.noArrayIndent=t.noArrayIndent||!1,this.skipInvalid=t.skipInvalid||!1,this.flowLevel=e.isNothing(t.flowLevel)?-1:t.flowLevel,this.styleMap=function(e,t){if(null===t)return{};const n={},r=Object.keys(t);for(let i=0,s=r.length;i<s;i+=1){let s=r[i],a=String(t[s]);"!!"===s.slice(0,2)&&(s="tag:yaml.org,2002:"+s.slice(2));const c=e.compiledTypeMap.fallback[s];c&&o.call(c.styleAliases,a)&&(a=c.styleAliases[a]),n[s]=a}return n}(this.schema,t.styles||null),this.sortKeys=t.sortKeys||!1,this.lineWidth=t.lineWidth||80,this.noRefs=t.noRefs||!1,this.noCompatMode=t.noCompatMode||!1,this.condenseFlow=t.condenseFlow||!1,this.quotingType='"'===t.quotingType?2:1,this.forceQuotes=t.forceQuotes||!1,this.replacer="function"==typeof t.replacer?t.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function p(t,n){const r=e.repeat(" ",n);let o=0,i="";const s=t.length;for(;o<s;){let e;const n=t.indexOf("\n",o);-1===n?(e=t.slice(o),o=s):(e=t.slice(o,n+1),o=n+1),e.length&&"\n"!==e&&(i+=r),i+=e}return i}function d(t,n){return"\n"+e.repeat(" ",t.indent*n)}function f(e){return 32===e||9===e}function h(e){return e>=32&&e<=126||e>=161&&e<=55295&&8232!==e&&8233!==e||e>=57344&&e<=65533&&e!==i||e>=65536&&e<=1114111}function y(e){return h(e)&&e!==i&&13!==e&&10!==e}function m(e,t,n){const r=y(e),o=r&&!f(e);return(n?r:r&&44!==e&&91!==e&&93!==e&&123!==e&&125!==e)&&35!==e&&!(58===t&&!o)||y(t)&&!f(t)&&35===e||58===t&&o}function g(e,t){const n=e.charCodeAt(t);let r;return n>=55296&&n<=56319&&t+1<e.length&&(r=e.charCodeAt(t+1),r>=56320&&r<=57343)?1024*(n-55296)+r-56320+65536:n}function x(e){return/^\n* /.test(e)}function b(e,t,n,r,o,s,a,c){let l,u=0,p=null,d=!1,y=!1;const b=-1!==r;let v=-1,A=h(w=g(e,0))&&w!==i&&!f(w)&&45!==w&&63!==w&&58!==w&&44!==w&&91!==w&&93!==w&&123!==w&&125!==w&&35!==w&&38!==w&&42!==w&&33!==w&&124!==w&&61!==w&&62!==w&&39!==w&&34!==w&&37!==w&&64!==w&&96!==w&&function(e){return!f(e)&&58!==e}(g(e,e.length-1));var w;if(t||a)for(l=0;l<e.length;u>=65536?l+=2:l++){if(u=g(e,l),!h(u))return 5;A=A&&m(u,p,c),p=u}else{for(l=0;l<e.length;u>=65536?l+=2:l++){if(u=g(e,l),10===u)d=!0,b&&(y=y||l-v-1>r&&" "!==e[v+1],v=l);else if(!h(u))return 5;A=A&&m(u,p,c),p=u}y=y||b&&l-v-1>r&&" "!==e[v+1]}return d||y?n>9&&x(e)?5:a?2===s?5:2:y?4:3:!A||a||o(e)?2===s?5:2:1}function v(e,n,r,o,i){e.dump=function(){if(0===n.length)return 2===e.quotingType?'""':"''";if(!e.noCompatMode&&(-1!==a.indexOf(n)||c.test(n)))return 2===e.quotingType?'"'+n+'"':"'"+n+"'";const u=e.indent*Math.max(1,r),d=-1===e.lineWidth?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-u),f=o||e.flowLevel>-1&&r>=e.flowLevel;switch(b(n,f,e.indent,d,function(t){return function(e,t){for(let n=0,r=e.implicitTypes.length;n<r;n+=1)if(e.implicitTypes[n].resolve(t))return!0;return!1}(e,t)},e.quotingType,e.forceQuotes&&!o,i)){case 1:return n;case 2:return"'"+n.replace(/'/g,"''")+"'";case 3:return"|"+A(n,e.indent)+w(p(n,u));case 4:return">"+A(n,e.indent)+w(p(function(e,t){const n=/(\n+)([^\n]*)/g;let r,o,i=function(){let r=e.indexOf("\n");return r=-1!==r?r:e.length,n.lastIndex=r,k(e.slice(0,r),t)}(),s="\n"===e[0]||" "===e[0];for(;o=n.exec(e);){const e=o[1],n=o[2];r=" "===n[0],i+=e+(s||r||""===n?"":"\n")+k(n,t),s=r}return i}(n,d),u));case 5:return'"'+function(e){let t="",n=0;for(let r=0;r<e.length;n>=65536?r+=2:r++){n=g(e,r);const o=s[n];!o&&h(n)?(t+=e[r],n>=65536&&(t+=e[r+1])):t+=o||l(n)}return t}(n)+'"';default:throw new t("impossible error: invalid scalar style")}}()}function A(e,t){const n=x(e)?String(t):"",r="\n"===e[e.length-1];return n+(r&&("\n"===e[e.length-2]||"\n"===e)?"+":r?"":"-")+"\n"}function w(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function k(e,t){if(""===e||" "===e[0])return e;const n=/ [^ ]/g;let r,o,i=0,s=0,a=0,c="";for(;r=n.exec(e);)a=r.index,a-i>t&&(o=s>i?s:a,c+="\n"+e.slice(i,o),i=o+1),s=a;return c+="\n",e.length-i>t&&s>i?c+=e.slice(i,s)+"\n"+e.slice(s+1):c+=e.slice(i),c.slice(1)}function O(e,t,n,r){let o="";const i=e.tag;for(let i=0,s=n.length;i<s;i+=1){let s=n[i];e.replacer&&(s=e.replacer.call(n,String(i),s)),(T(e,t+1,s,!0,!0,!1,!0)||void 0===s&&T(e,t+1,null,!0,!0,!1,!0))&&(r&&""===o||(o+=d(e,t)),e.dump&&10===e.dump.charCodeAt(0)?o+="-":o+="- ",o+=e.dump)}e.tag=i,e.dump=o||"[]"}function S(e,n,i){const s=i?e.explicitTypes:e.implicitTypes;for(let a=0,c=s.length;a<c;a+=1){const c=s[a];if((c.instanceOf||c.predicate)&&(!c.instanceOf||"object"==typeof n&&n instanceof c.instanceOf)&&(!c.predicate||c.predicate(n))){if(i?c.multi&&c.representName?e.tag=c.representName(n):e.tag=c.tag:e.tag="?",c.represent){const i=e.styleMap[c.tag]||c.defaultStyle;let s;if("[object Function]"===r.call(c.represent))s=c.represent(n,i);else{if(!o.call(c.represent,i))throw new t("!<"+c.tag+'> tag resolver accepts not "'+i+'" style');s=c.represent[i](n,i)}e.dump=s}return!0}}return!1}function T(e,n,o,i,s,a,c){e.tag=null,e.dump=o,S(e,o,!1)||S(e,o,!0);const l=r.call(e.dump),u=i;i&&(i=e.flowLevel<0||e.flowLevel>n);const p="[object Object]"===l||"[object Array]"===l;let f,h;if(p&&(f=e.duplicates.indexOf(o),h=-1!==f),(null!==e.tag&&"?"!==e.tag||h||2!==e.indent&&n>0)&&(s=!1),h&&e.usedDuplicates[f])e.dump="*ref_"+f;else{if(p&&h&&!e.usedDuplicates[f]&&(e.usedDuplicates[f]=!0),"[object Object]"===l)i&&0!==Object.keys(e.dump).length?(!function(e,n,r,o){let i="";const s=e.tag,a=Object.keys(r);if(!0===e.sortKeys)a.sort();else if("function"==typeof e.sortKeys)a.sort(e.sortKeys);else if(e.sortKeys)throw new t("sortKeys must be a boolean or a function");for(let t=0,s=a.length;t<s;t+=1){let s="";o&&""===i||(s+=d(e,n));const c=a[t];let l=r[c];if(e.replacer&&(l=e.replacer.call(r,c,l)),!T(e,n+1,c,!0,!0,!0))continue;const u=null!==e.tag&&"?"!==e.tag||e.dump&&e.dump.length>1024;u&&(e.dump&&10===e.dump.charCodeAt(0)?s+="?":s+="? "),s+=e.dump,u&&(s+=d(e,n)),T(e,n+1,l,!0,u)&&(e.dump&&10===e.dump.charCodeAt(0)?s+=":":s+=": ",s+=e.dump,i+=s)}e.tag=s,e.dump=i||"{}"}(e,n,e.dump,s),h&&(e.dump="&ref_"+f+e.dump)):(!function(e,t,n){let r="";const o=e.tag,i=Object.keys(n);for(let o=0,s=i.length;o<s;o+=1){let s="";""!==r&&(s+=", "),e.condenseFlow&&(s+='"');const a=i[o];let c=n[a];e.replacer&&(c=e.replacer.call(n,a,c)),T(e,t,a,!1,!1)&&(e.dump.length>1024&&(s+="? "),s+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),T(e,t,c,!1,!1)&&(s+=e.dump,r+=s))}e.tag=o,e.dump="{"+r+"}"}(e,n,e.dump),h&&(e.dump="&ref_"+f+" "+e.dump));else if("[object Array]"===l)i&&0!==e.dump.length?(e.noArrayIndent&&!c&&n>0?O(e,n-1,e.dump,s):O(e,n,e.dump,s),h&&(e.dump="&ref_"+f+e.dump)):(!function(e,t,n){let r="";const o=e.tag;for(let o=0,i=n.length;o<i;o+=1){let i=n[o];e.replacer&&(i=e.replacer.call(n,String(o),i)),(T(e,t,i,!1,!1)||void 0===i&&T(e,t,null,!1,!1))&&(""!==r&&(r+=","+(e.condenseFlow?"":" ")),r+=e.dump)}e.tag=o,e.dump="["+r+"]"}(e,n,e.dump),h&&(e.dump="&ref_"+f+" "+e.dump));else{if("[object String]"!==l){if("[object Undefined]"===l)return!1;if(e.skipInvalid)return!1;throw new t("unacceptable kind of an object to dump "+l)}"?"!==e.tag&&v(e,e.dump,n,a,u)}if(null!==e.tag&&"?"!==e.tag){let t=encodeURI("!"===e.tag[0]?e.tag.slice(1):e.tag).replace(/!/g,"%21");t="!"===e.tag[0]?"!"+t:"tag:yaml.org,2002:"===t.slice(0,18)?"!!"+t.slice(18):"!<"+t+">",e.dump=t+" "+e.dump}}return!0}function C(e,t){const n=[],r=[];E(e,n,r);const o=r.length;for(let e=0;e<o;e+=1)t.duplicates.push(n[r[e]]);t.usedDuplicates=new Array(o)}function E(e,t,n){if(null!==e&&"object"==typeof e){const r=t.indexOf(e);if(-1!==r)-1===n.indexOf(r)&&n.push(r);else if(t.push(e),Array.isArray(e))for(let r=0,o=e.length;r<o;r+=1)E(e[r],t,n);else{const r=Object.keys(e);for(let o=0,i=r.length;o<i;o+=1)E(e[r[o]],t,n)}}}return Jn.dump=function(e,t){const n=new u(t=t||{});n.noRefs||C(e,n);let r=e;return n.replacer&&(r=n.replacer.call({"":r},"",r)),T(n,0,r,!0,!0)?n.dump+"\n":""},Jn}const er=Dt(function(){if(Xn)return Sn;Xn=1;const e=Kn(),t=Zn();function n(e,t){return function(){throw new Error("Function yaml."+e+" is removed in js-yaml 4. Use yaml."+t+" instead, which is now safe by default.")}}return Sn.Type=Fn(),Sn.Schema=In(),Sn.FAILSAFE_SCHEMA=$n(),Sn.JSON_SCHEMA=qn(),Sn.CORE_SCHEMA=Rn(),Sn.DEFAULT_SCHEMA=Wn(),Sn.load=e.load,Sn.loadAll=e.loadAll,Sn.dump=t.dump,Sn.YAMLException=jn(),Sn.types={binary:zn(),float:Un(),map:Ln(),null:Nn(),pairs:Yn(),set:Vn(),timestamp:_n(),bool:Pn(),int:Bn(),merge:Hn(),omap:Gn(),seq:Dn(),str:Mn()},Sn.safeLoad=n("safeLoad","load"),Sn.safeLoadAll=n("safeLoadAll","loadAll"),Sn.safeDump=n("safeDump","dump"),Sn}()),{Type:tr,Schema:nr,FAILSAFE_SCHEMA:rr,JSON_SCHEMA:or,CORE_SCHEMA:ir,DEFAULT_SCHEMA:sr,load:ar,loadAll:cr,dump:lr,YAMLException:ur,types:pr,safeLoad:dr,safeLoadAll:fr,safeDump:hr}=er;function yr(e={}){return"function"!=typeof e.entries?{}:Array.from(e.entries()).reduce((e,[t,n])=>(e[t]=function(e){return c()(e).call(e,", ")?e.split(", "):e}(n),e),{})}function mr(e,t,{loadSpec:n=!1}={}){const r={ok:e.ok,url:e.url||t,status:e.status,statusText:e.statusText,headers:yr(e.headers)},o=r.headers["content-type"],i=n||((e="")=>/(json|xml|yaml|text)\b/.test(e))(o);return(i?e.text:e.blob||e.buffer).call(e).then(e=>{if(r.text=e,r.data=e,i)try{const t=function(e,t){if(t){if(0===t.indexOf("application/json")||t.indexOf("+json")>0)return JSON.parse(e);if(0===t.indexOf("application/xml")||t.indexOf("+xml")>0)return e}return er.load(e)}(e,o);r.body=t,r.obj=t}catch(e){r.parseError=e}return r})}function gr(){this.grammarObject="grammarObject",this.rules=[],this.rules[0]={name:"path-template",lower:"path-template",index:0,isBkr:!1},this.rules[1]={name:"path-segment",lower:"path-segment",index:1,isBkr:!1},this.rules[2]={name:"slash",lower:"slash",index:2,isBkr:!1},this.rules[3]={name:"path-literal",lower:"path-literal",index:3,isBkr:!1},this.rules[4]={name:"template-expression",lower:"template-expression",index:4,isBkr:!1},this.rules[5]={name:"template-expression-param-name",lower:"template-expression-param-name",index:5,isBkr:!1},this.rules[6]={name:"pchar",lower:"pchar",index:6,isBkr:!1},this.rules[7]={name:"unreserved",lower:"unreserved",index:7,isBkr:!1},this.rules[8]={name:"pct-encoded",lower:"pct-encoded",index:8,isBkr:!1},this.rules[9]={name:"sub-delims",lower:"sub-delims",index:9,isBkr:!1},this.rules[10]={name:"ALPHA",lower:"alpha",index:10,isBkr:!1},this.rules[11]={name:"DIGIT",lower:"digit",index:11,isBkr:!1},this.rules[12]={name:"HEXDIG",lower:"hexdig",index:12,isBkr:!1},this.udts=[],this.rules[0].opcodes=[],this.rules[0].opcodes[0]={type:2,children:[1,2,6]},this.rules[0].opcodes[1]={type:4,index:2},this.rules[0].opcodes[2]={type:3,min:0,max:1/0},this.rules[0].opcodes[3]={type:2,children:[4,5]},this.rules[0].opcodes[4]={type:4,index:1},this.rules[0].opcodes[5]={type:4,index:2},this.rules[0].opcodes[6]={type:3,min:0,max:1},this.rules[0].opcodes[7]={type:4,index:1},this.rules[1].opcodes=[],this.rules[1].opcodes[0]={type:3,min:1,max:1/0},this.rules[1].opcodes[1]={type:1,children:[2,3]},this.rules[1].opcodes[2]={type:4,index:3},this.rules[1].opcodes[3]={type:4,index:4},this.rules[2].opcodes=[],this.rules[2].opcodes[0]={type:7,string:[47]},this.rules[3].opcodes=[],this.rules[3].opcodes[0]={type:3,min:1,max:1/0},this.rules[3].opcodes[1]={type:4,index:6},this.rules[4].opcodes=[],this.rules[4].opcodes[0]={type:2,children:[1,2,3]},this.rules[4].opcodes[1]={type:7,string:[123]},this.rules[4].opcodes[2]={type:4,index:5},this.rules[4].opcodes[3]={type:7,string:[125]},this.rules[5].opcodes=[],this.rules[5].opcodes[0]={type:3,min:1,max:1/0},this.rules[5].opcodes[1]={type:1,children:[2,3,4]},this.rules[5].opcodes[2]={type:5,min:0,max:122},this.rules[5].opcodes[3]={type:6,string:[124]},this.rules[5].opcodes[4]={type:5,min:126,max:1114111},this.rules[6].opcodes=[],this.rules[6].opcodes[0]={type:1,children:[1,2,3,4,5]},this.rules[6].opcodes[1]={type:4,index:7},this.rules[6].opcodes[2]={type:4,index:8},this.rules[6].opcodes[3]={type:4,index:9},this.rules[6].opcodes[4]={type:7,string:[58]},this.rules[6].opcodes[5]={type:7,string:[64]},this.rules[7].opcodes=[],this.rules[7].opcodes[0]={type:1,children:[1,2,3,4,5,6]},this.rules[7].opcodes[1]={type:4,index:10},this.rules[7].opcodes[2]={type:4,index:11},this.rules[7].opcodes[3]={type:7,string:[45]},this.rules[7].opcodes[4]={type:7,string:[46]},this.rules[7].opcodes[5]={type:7,string:[95]},this.rules[7].opcodes[6]={type:7,string:[126]},this.rules[8].opcodes=[],this.rules[8].opcodes[0]={type:2,children:[1,2,3]},this.rules[8].opcodes[1]={type:7,string:[37]},this.rules[8].opcodes[2]={type:4,index:12},this.rules[8].opcodes[3]={type:4,index:12},this.rules[9].opcodes=[],this.rules[9].opcodes[0]={type:1,children:[1,2,3,4,5,6,7,8,9,10,11]},this.rules[9].opcodes[1]={type:7,string:[33]},this.rules[9].opcodes[2]={type:7,string:[36]},this.rules[9].opcodes[3]={type:7,string:[38]},this.rules[9].opcodes[4]={type:7,string:[39]},this.rules[9].opcodes[5]={type:7,string:[40]},this.rules[9].opcodes[6]={type:7,string:[41]},this.rules[9].opcodes[7]={type:7,string:[42]},this.rules[9].opcodes[8]={type:7,string:[43]},this.rules[9].opcodes[9]={type:7,string:[44]},this.rules[9].opcodes[10]={type:7,string:[59]},this.rules[9].opcodes[11]={type:7,string:[61]},this.rules[10].opcodes=[],this.rules[10].opcodes[0]={type:1,children:[1,2]},this.rules[10].opcodes[1]={type:5,min:65,max:90},this.rules[10].opcodes[2]={type:5,min:97,max:122},this.rules[11].opcodes=[],this.rules[11].opcodes[0]={type:5,min:48,max:57},this.rules[12].opcodes=[],this.rules[12].opcodes[0]={type:1,children:[1,2,3,4,5,6,7]},this.rules[12].opcodes[1]={type:4,index:11},this.rules[12].opcodes[2]={type:7,string:[97]},this.rules[12].opcodes[3]={type:7,string:[98]},this.rules[12].opcodes[4]={type:7,string:[99]},this.rules[12].opcodes[5]={type:7,string:[100]},this.rules[12].opcodes[6]={type:7,string:[101]},this.rules[12].opcodes[7]={type:7,string:[102]},this.toString=function(){let e="";return e+="; OpenAPI Path Templating ABNF syntax\n",e+="; variant of https://datatracker.ietf.org/doc/html/rfc3986#section-3.3\n",e+="path-template = slash *( path-segment slash ) [ path-segment ]\n",e+="path-segment = 1*( path-literal / template-expression )\n",e+='slash = "/"\n',e+="path-literal = 1*pchar\n",e+='template-expression = "{" template-expression-param-name "}"\n',e+="template-expression-param-name = 1*( %x00-7A / %x7C / %x7E-10FFFF ) ; every UTF8 character except { and } (from OpenAPI)\n",e+="\n",e+="; https://datatracker.ietf.org/doc/html/rfc3986#section-3.3\n",e+='pchar = unreserved / pct-encoded / sub-delims / ":" / "@"\n',e+='unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"\n',e+=" ; https://datatracker.ietf.org/doc/html/rfc3986#section-2.3\n",e+='pct-encoded = "%" HEXDIG HEXDIG\n',e+=" ; https://datatracker.ietf.org/doc/html/rfc3986#section-2.1\n",e+='sub-delims = "!" / "$" / "&" / "\'" / "(" / ")"\n',e+=' / "*" / "+" / "," / ";" / "="\n',e+=" ; https://datatracker.ietf.org/doc/html/rfc3986#section-2.2\n",e+="\n",e+="; https://datatracker.ietf.org/doc/html/rfc5234#appendix-B.1\n",e+="ALPHA = %x41-5A / %x61-7A ; A-Z / a-z\n",e+="DIGIT = %x30-39 ; 0-9\n",e+='HEXDIG = DIGIT / "A" / "B" / "C" / "D" / "E" / "F"\n','; OpenAPI Path Templating ABNF syntax\n; variant of https://datatracker.ietf.org/doc/html/rfc3986#section-3.3\npath-template = slash *( path-segment slash ) [ path-segment ]\npath-segment = 1*( path-literal / template-expression )\nslash = "/"\npath-literal = 1*pchar\ntemplate-expression = "{" template-expression-param-name "}"\ntemplate-expression-param-name = 1*( %x00-7A / %x7C / %x7E-10FFFF ) ; every UTF8 character except { and } (from OpenAPI)\n\n; https://datatracker.ietf.org/doc/html/rfc3986#section-3.3\npchar = unreserved / pct-encoded / sub-delims / ":" / "@"\nunreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"\n ; https://datatracker.ietf.org/doc/html/rfc3986#section-2.3\npct-encoded = "%" HEXDIG HEXDIG\n ; https://datatracker.ietf.org/doc/html/rfc3986#section-2.1\nsub-delims = "!" / "$" / "&" / "\'" / "(" / ")"\n / "*" / "+" / "," / ";" / "="\n ; https://datatracker.ietf.org/doc/html/rfc3986#section-2.2\n\n; https://datatracker.ietf.org/doc/html/rfc5234#appendix-B.1\nALPHA = %x41-5A / %x61-7A ; A-Z / a-z\nDIGIT = %x30-39 ; 0-9\nHEXDIG = DIGIT / "A" / "B" / "C" / "D" / "E" / "F"\n'}}const xr=(e,t,n,r,o)=>(e===at.SEM_PRE?o.push(["slash",st.charsToString(t,n,r)]):at.SEM_POST,at.SEM_OK),br=(e,t,n,r,o)=>{if(e===at.SEM_PRE){if(!1===Array.isArray(o))throw new Error("parser's user data must be an array");o.push(["path-template",st.charsToString(t,n,r)])}return at.SEM_OK},vr=(e,t,n,r,o)=>(e===at.SEM_PRE?o.push(["path-literal",st.charsToString(t,n,r)]):at.SEM_POST,at.SEM_OK),Ar=(e,t,n,r,o)=>(e===at.SEM_PRE?o.push(["template-expression",st.charsToString(t,n,r)]):at.SEM_POST,at.SEM_OK),wr=(e,t,n,r,o)=>(e===at.SEM_PRE?o.push(["template-expression-param-name",st.charsToString(t,n,r)]):at.SEM_POST,at.SEM_OK),kr=new gr,Or=e=>{const t=new ot;t.ast=new it,t.ast.callbacks["path-template"]=br,t.ast.callbacks.slash=xr,t.ast.callbacks["path-literal"]=vr,t.ast.callbacks["template-expression"]=Ar,t.ast.callbacks["template-expression-param-name"]=wr;return{result:t.parse(kr,"path-template",e),ast:t.ast}};const Sr=e=>(e=>{try{return"string"==typeof e&&decodeURIComponent(e)!==e}catch{return!1}})(e)?e:encodeURIComponent(e).replace(/%5B/g,"[").replace(/%5D/g,"]"),Tr=["slash","path-literal","template-expression-param-name"],Cr=(e,t,n={})=>{const r={...{encoder:Sr},...n},o=Or(e);if(!o.result.success)return e;const i=[];o.ast.translate(i);const s=i.filter(([e])=>Tr.includes(e)).map(([e,n])=>"template-expression-param-name"===e?Object.prototype.hasOwnProperty.call(t,n)?r.encoder(t[n],n):`{${n}}`:n);return s.join("")};new gr,new ot;const Er={body:function({req:e,value:t}){void 0!==t&&(e.body=t)},header:function({req:e,parameter:t,value:n}){e.headers=e.headers||{},void 0!==n&&(e.headers[t.name]=n)},query:function({req:e,value:t,parameter:n}){e.query=e.query||{},!1===t&&"boolean"===n.type&&(t="false");0===t&&["number","integer"].indexOf(n.type)>-1&&(t="0");if(t)e.query[n.name]={collectionFormat:n.collectionFormat,value:t};else if(n.allowEmptyValue&&void 0!==t){const t=n.name;e.query[t]=e.query[t]||{},e.query[t].allowEmptyValue=!0}},path:function({req:e,value:t,parameter:n,baseURL:r}){if(void 0!==t){const o=e.url.replace(r,""),i=Cr(o,{[n.name]:t});e.url=r+i}},formData:function({req:e,value:t,parameter:n}){!1===t&&"boolean"===n.type&&(t="false");0===t&&["number","integer"].indexOf(n.type)>-1&&(t="0");if(t)e.form=e.form||{},e.form[n.name]={collectionFormat:n.collectionFormat,value:t};else if(n.allowEmptyValue&&void 0!==t){e.form=e.form||{};const t=n.name;e.form[t]=e.form[t]||{},e.form[t].allowEmptyValue=!0}}};function jr(e,t){return c()(t).call(t,"application/json")?"string"==typeof e?e:(Array.isArray(e)&&(e=e.map(e=>{try{return JSON.parse(e)}catch(t){return e}})),JSON.stringify(e)):String(e)}const Fr=w(function(e,t,n){var r,o={};for(r in n=n||{},t=t||{})d(r,t)&&(o[r]=d(r,n)?e(r,t[r],n[r]):t[r]);for(r in n)d(r,n)&&!d(r,o)&&(o[r]=n[r]);return o});const Ir=w(function e(t,n,r){return Fr(function(n,r,o){return ce(r)&&ce(o)?e(t,r,o):t(n,r,o)},n,r)});const Mr=p(function(e,t){return Ir(function(e,t,n){return n},e,t)});function Dr(){this.grammarObject="grammarObject",this.rules=[],this.rules[0]={name:"lenient-cookie-string",lower:"lenient-cookie-string",index:0,isBkr:!1},this.rules[1]={name:"lenient-cookie-entry",lower:"lenient-cookie-entry",index:1,isBkr:!1},this.rules[2]={name:"lenient-cookie-pair",lower:"lenient-cookie-pair",index:2,isBkr:!1},this.rules[3]={name:"lenient-cookie-pair-invalid",lower:"lenient-cookie-pair-invalid",index:3,isBkr:!1},this.rules[4]={name:"lenient-cookie-name",lower:"lenient-cookie-name",index:4,isBkr:!1},this.rules[5]={name:"lenient-cookie-value",lower:"lenient-cookie-value",index:5,isBkr:!1},this.rules[6]={name:"lenient-quoted-value",lower:"lenient-quoted-value",index:6,isBkr:!1},this.rules[7]={name:"lenient-quoted-char",lower:"lenient-quoted-char",index:7,isBkr:!1},this.rules[8]={name:"lenient-cookie-octet",lower:"lenient-cookie-octet",index:8,isBkr:!1},this.rules[9]={name:"cookie-string",lower:"cookie-string",index:9,isBkr:!1},this.rules[10]={name:"cookie-pair",lower:"cookie-pair",index:10,isBkr:!1},this.rules[11]={name:"cookie-name",lower:"cookie-name",index:11,isBkr:!1},this.rules[12]={name:"cookie-value",lower:"cookie-value",index:12,isBkr:!1},this.rules[13]={name:"cookie-octet",lower:"cookie-octet",index:13,isBkr:!1},this.rules[14]={name:"OWS",lower:"ows",index:14,isBkr:!1},this.rules[15]={name:"token",lower:"token",index:15,isBkr:!1},this.rules[16]={name:"tchar",lower:"tchar",index:16,isBkr:!1},this.rules[17]={name:"CHAR",lower:"char",index:17,isBkr:!1},this.rules[18]={name:"CTL",lower:"ctl",index:18,isBkr:!1},this.rules[19]={name:"separators",lower:"separators",index:19,isBkr:!1},this.rules[20]={name:"SP",lower:"sp",index:20,isBkr:!1},this.rules[21]={name:"HT",lower:"ht",index:21,isBkr:!1},this.rules[22]={name:"ALPHA",lower:"alpha",index:22,isBkr:!1},this.rules[23]={name:"DIGIT",lower:"digit",index:23,isBkr:!1},this.rules[24]={name:"DQUOTE",lower:"dquote",index:24,isBkr:!1},this.rules[25]={name:"WSP",lower:"wsp",index:25,isBkr:!1},this.rules[26]={name:"HTAB",lower:"htab",index:26,isBkr:!1},this.rules[27]={name:"CRLF",lower:"crlf",index:27,isBkr:!1},this.rules[28]={name:"CR",lower:"cr",index:28,isBkr:!1},this.rules[29]={name:"LF",lower:"lf",index:29,isBkr:!1},this.udts=[],this.rules[0].opcodes=[],this.rules[0].opcodes[0]={type:2,children:[1,2]},this.rules[0].opcodes[1]={type:4,index:1},this.rules[0].opcodes[2]={type:3,min:0,max:1/0},this.rules[0].opcodes[3]={type:2,children:[4,5,6]},this.rules[0].opcodes[4]={type:7,string:[59]},this.rules[0].opcodes[5]={type:4,index:14},this.rules[0].opcodes[6]={type:4,index:1},this.rules[1].opcodes=[],this.rules[1].opcodes[0]={type:1,children:[1,2]},this.rules[1].opcodes[1]={type:4,index:2},this.rules[1].opcodes[2]={type:4,index:3},this.rules[2].opcodes=[],this.rules[2].opcodes[0]={type:2,children:[1,2,3,4,5,6,7]},this.rules[2].opcodes[1]={type:4,index:14},this.rules[2].opcodes[2]={type:4,index:4},this.rules[2].opcodes[3]={type:4,index:14},this.rules[2].opcodes[4]={type:7,string:[61]},this.rules[2].opcodes[5]={type:4,index:14},this.rules[2].opcodes[6]={type:4,index:5},this.rules[2].opcodes[7]={type:4,index:14},this.rules[3].opcodes=[],this.rules[3].opcodes[0]={type:2,children:[1,2,4]},this.rules[3].opcodes[1]={type:4,index:14},this.rules[3].opcodes[2]={type:3,min:1,max:1/0},this.rules[3].opcodes[3]={type:4,index:16},this.rules[3].opcodes[4]={type:4,index:14},this.rules[4].opcodes=[],this.rules[4].opcodes[0]={type:3,min:1,max:1/0},this.rules[4].opcodes[1]={type:1,children:[2,3,4]},this.rules[4].opcodes[2]={type:5,min:33,max:58},this.rules[4].opcodes[3]={type:6,string:[60]},this.rules[4].opcodes[4]={type:5,min:62,max:126},this.rules[5].opcodes=[],this.rules[5].opcodes[0]={type:1,children:[1,6]},this.rules[5].opcodes[1]={type:2,children:[2,3]},this.rules[5].opcodes[2]={type:4,index:6},this.rules[5].opcodes[3]={type:3,min:0,max:1},this.rules[5].opcodes[4]={type:3,min:0,max:1/0},this.rules[5].opcodes[5]={type:4,index:8},this.rules[5].opcodes[6]={type:3,min:0,max:1/0},this.rules[5].opcodes[7]={type:4,index:8},this.rules[6].opcodes=[],this.rules[6].opcodes[0]={type:2,children:[1,2,4]},this.rules[6].opcodes[1]={type:4,index:24},this.rules[6].opcodes[2]={type:3,min:0,max:1/0},this.rules[6].opcodes[3]={type:4,index:7},this.rules[6].opcodes[4]={type:4,index:24},this.rules[7].opcodes=[],this.rules[7].opcodes[0]={type:1,children:[1,2]},this.rules[7].opcodes[1]={type:5,min:32,max:33},this.rules[7].opcodes[2]={type:5,min:35,max:126},this.rules[8].opcodes=[],this.rules[8].opcodes[0]={type:1,children:[1,2,3]},this.rules[8].opcodes[1]={type:5,min:33,max:43},this.rules[8].opcodes[2]={type:5,min:45,max:58},this.rules[8].opcodes[3]={type:5,min:60,max:126},this.rules[9].opcodes=[],this.rules[9].opcodes[0]={type:2,children:[1,2]},this.rules[9].opcodes[1]={type:4,index:10},this.rules[9].opcodes[2]={type:3,min:0,max:1/0},this.rules[9].opcodes[3]={type:2,children:[4,5,6]},this.rules[9].opcodes[4]={type:7,string:[59]},this.rules[9].opcodes[5]={type:4,index:20},this.rules[9].opcodes[6]={type:4,index:10},this.rules[10].opcodes=[],this.rules[10].opcodes[0]={type:2,children:[1,2,3]},this.rules[10].opcodes[1]={type:4,index:11},this.rules[10].opcodes[2]={type:7,string:[61]},this.rules[10].opcodes[3]={type:4,index:12},this.rules[11].opcodes=[],this.rules[11].opcodes[0]={type:4,index:15},this.rules[12].opcodes=[],this.rules[12].opcodes[0]={type:1,children:[1,6]},this.rules[12].opcodes[1]={type:2,children:[2,3,5]},this.rules[12].opcodes[2]={type:4,index:24},this.rules[12].opcodes[3]={type:3,min:0,max:1/0},this.rules[12].opcodes[4]={type:4,index:13},this.rules[12].opcodes[5]={type:4,index:24},this.rules[12].opcodes[6]={type:3,min:0,max:1/0},this.rules[12].opcodes[7]={type:4,index:13},this.rules[13].opcodes=[],this.rules[13].opcodes[0]={type:1,children:[1,2,3,4,5]},this.rules[13].opcodes[1]={type:6,string:[33]},this.rules[13].opcodes[2]={type:5,min:35,max:43},this.rules[13].opcodes[3]={type:5,min:45,max:58},this.rules[13].opcodes[4]={type:5,min:60,max:91},this.rules[13].opcodes[5]={type:5,min:93,max:126},this.rules[14].opcodes=[],this.rules[14].opcodes[0]={type:3,min:0,max:1/0},this.rules[14].opcodes[1]={type:2,children:[2,4]},this.rules[14].opcodes[2]={type:3,min:0,max:1},this.rules[14].opcodes[3]={type:4,index:27},this.rules[14].opcodes[4]={type:4,index:25},this.rules[15].opcodes=[],this.rules[15].opcodes[0]={type:3,min:1,max:1/0},this.rules[15].opcodes[1]={type:4,index:16},this.rules[16].opcodes=[],this.rules[16].opcodes[0]={type:1,children:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]},this.rules[16].opcodes[1]={type:7,string:[33]},this.rules[16].opcodes[2]={type:7,string:[35]},this.rules[16].opcodes[3]={type:7,string:[36]},this.rules[16].opcodes[4]={type:7,string:[37]},this.rules[16].opcodes[5]={type:7,string:[38]},this.rules[16].opcodes[6]={type:7,string:[39]},this.rules[16].opcodes[7]={type:7,string:[42]},this.rules[16].opcodes[8]={type:7,string:[43]},this.rules[16].opcodes[9]={type:7,string:[45]},this.rules[16].opcodes[10]={type:7,string:[46]},this.rules[16].opcodes[11]={type:7,string:[94]},this.rules[16].opcodes[12]={type:7,string:[95]},this.rules[16].opcodes[13]={type:7,string:[96]},this.rules[16].opcodes[14]={type:7,string:[124]},this.rules[16].opcodes[15]={type:7,string:[126]},this.rules[16].opcodes[16]={type:4,index:23},this.rules[16].opcodes[17]={type:4,index:22},this.rules[17].opcodes=[],this.rules[17].opcodes[0]={type:5,min:1,max:127},this.rules[18].opcodes=[],this.rules[18].opcodes[0]={type:1,children:[1,2]},this.rules[18].opcodes[1]={type:5,min:0,max:31},this.rules[18].opcodes[2]={type:6,string:[127]},this.rules[19].opcodes=[],this.rules[19].opcodes[0]={type:1,children:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]},this.rules[19].opcodes[1]={type:7,string:[40]},this.rules[19].opcodes[2]={type:7,string:[41]},this.rules[19].opcodes[3]={type:7,string:[60]},this.rules[19].opcodes[4]={type:7,string:[62]},this.rules[19].opcodes[5]={type:7,string:[64]},this.rules[19].opcodes[6]={type:7,string:[44]},this.rules[19].opcodes[7]={type:7,string:[59]},this.rules[19].opcodes[8]={type:7,string:[58]},this.rules[19].opcodes[9]={type:7,string:[92]},this.rules[19].opcodes[10]={type:6,string:[34]},this.rules[19].opcodes[11]={type:7,string:[47]},this.rules[19].opcodes[12]={type:7,string:[91]},this.rules[19].opcodes[13]={type:7,string:[93]},this.rules[19].opcodes[14]={type:7,string:[63]},this.rules[19].opcodes[15]={type:7,string:[61]},this.rules[19].opcodes[16]={type:7,string:[123]},this.rules[19].opcodes[17]={type:7,string:[125]},this.rules[19].opcodes[18]={type:4,index:20},this.rules[19].opcodes[19]={type:4,index:21},this.rules[20].opcodes=[],this.rules[20].opcodes[0]={type:6,string:[32]},this.rules[21].opcodes=[],this.rules[21].opcodes[0]={type:6,string:[9]},this.rules[22].opcodes=[],this.rules[22].opcodes[0]={type:1,children:[1,2]},this.rules[22].opcodes[1]={type:5,min:65,max:90},this.rules[22].opcodes[2]={type:5,min:97,max:122},this.rules[23].opcodes=[],this.rules[23].opcodes[0]={type:5,min:48,max:57},this.rules[24].opcodes=[],this.rules[24].opcodes[0]={type:6,string:[34]},this.rules[25].opcodes=[],this.rules[25].opcodes[0]={type:1,children:[1,2]},this.rules[25].opcodes[1]={type:4,index:20},this.rules[25].opcodes[2]={type:4,index:26},this.rules[26].opcodes=[],this.rules[26].opcodes[0]={type:6,string:[9]},this.rules[27].opcodes=[],this.rules[27].opcodes[0]={type:2,children:[1,2]},this.rules[27].opcodes[1]={type:4,index:28},this.rules[27].opcodes[2]={type:4,index:29},this.rules[28].opcodes=[],this.rules[28].opcodes[0]={type:6,string:[13]},this.rules[29].opcodes=[],this.rules[29].opcodes[0]={type:6,string:[10]},this.toString=function(){let e="";return e+="; Lenient version of https://datatracker.ietf.org/doc/html/rfc6265#section-4.2.1\n",e+='lenient-cookie-string = lenient-cookie-entry *( ";" OWS lenient-cookie-entry )\n',e+="lenient-cookie-entry = lenient-cookie-pair / lenient-cookie-pair-invalid\n",e+='lenient-cookie-pair = OWS lenient-cookie-name OWS "=" OWS lenient-cookie-value OWS\n',e+='lenient-cookie-pair-invalid = OWS 1*tchar OWS ; Allow for standalone entries like "fizz" to be ignored\n',e+='lenient-cookie-name = 1*( %x21-3A / %x3C / %x3E-7E ) ; Allow all printable US-ASCII except "="\n',e+="lenient-cookie-value = lenient-quoted-value [ *lenient-cookie-octet ] / *lenient-cookie-octet\n",e+="lenient-quoted-value = DQUOTE *( lenient-quoted-char ) DQUOTE\n",e+="lenient-quoted-char = %x20-21 / %x23-7E ; Allow all printable US-ASCII except DQUOTE\n",e+="lenient-cookie-octet = %x21-2B / %x2D-3A / %x3C-7E\n",e+=" ; Allow all printable characters except CTLs, semicolon and SP\n",e+="\n",e+="; https://datatracker.ietf.org/doc/html/rfc6265#section-4.2.1\n",e+='cookie-string = cookie-pair *( ";" SP cookie-pair )\n',e+="\n",e+="; https://datatracker.ietf.org/doc/html/rfc6265#section-4.1.1\n",e+="; https://www.rfc-editor.org/errata/eid5518\n",e+='cookie-pair = cookie-name "=" cookie-value\n',e+="cookie-name = token\n",e+="cookie-value = ( DQUOTE *cookie-octet DQUOTE ) / *cookie-octet\n",e+=" ; https://www.rfc-editor.org/errata/eid8242\n",e+="cookie-octet = %x21 / %x23-2B / %x2D-3A / %x3C-5B / %x5D-7E\n",e+=" ; US-ASCII characters excluding CTLs,\n",e+=" ; whitespace, DQUOTE, comma, semicolon,\n",e+=" ; and backslash\n",e+="\n",e+="; https://datatracker.ietf.org/doc/html/rfc6265#section-2.2\n",e+='OWS = *( [ CRLF ] WSP ) ; "optional" whitespace\n',e+="\n",e+="; https://datatracker.ietf.org/doc/html/rfc9110#section-5.6.2\n",e+="token = 1*(tchar)\n",e+='tchar = "!" / "#" / "$" / "%" / "&" / "\'" / "*"\n',e+=' / "+" / "-" / "." / "^" / "_" / "`" / "|" / "~"\n',e+=" / DIGIT / ALPHA\n",e+=" ; any VCHAR, except delimiters\n",e+="\n",e+="; https://datatracker.ietf.org/doc/html/rfc2616#section-2.2\n",e+="CHAR = %x01-7F ; any US-ASCII character (octets 0 - 127)\n",e+="CTL = %x00-1F / %x7F ; any US-ASCII control character\n",e+='separators = "(" / ")" / "<" / ">" / "@" / "," / ";" / ":" / "\\" / %x22 / "/" / "[" / "]" / "?" / "=" / "{" / "}" / SP / HT\n',e+="SP = %x20 ; US-ASCII SP, space (32)\n",e+="HT = %x09 ; US-ASCII HT, horizontal-tab (9)\n",e+="\n",e+="; https://datatracker.ietf.org/doc/html/rfc5234#appendix-B.1\n",e+="ALPHA = %x41-5A / %x61-7A ; A-Z / a-z\n",e+="DIGIT = %x30-39 ; 0-9\n",e+='DQUOTE = %x22 ; " (Double Quote)\n',e+="WSP = SP / HTAB ; white space\n",e+="HTAB = %x09 ; horizontal tab\n",e+="CRLF = CR LF ; Internet standard newline\n",e+="CR = %x0D ; carriage return\n",e+="LF = %x0A ; linefeed\n",'; Lenient version of https://datatracker.ietf.org/doc/html/rfc6265#section-4.2.1\nlenient-cookie-string = lenient-cookie-entry *( ";" OWS lenient-cookie-entry )\nlenient-cookie-entry = lenient-cookie-pair / lenient-cookie-pair-invalid\nlenient-cookie-pair = OWS lenient-cookie-name OWS "=" OWS lenient-cookie-value OWS\nlenient-cookie-pair-invalid = OWS 1*tchar OWS ; Allow for standalone entries like "fizz" to be ignored\nlenient-cookie-name = 1*( %x21-3A / %x3C / %x3E-7E ) ; Allow all printable US-ASCII except "="\nlenient-cookie-value = lenient-quoted-value [ *lenient-cookie-octet ] / *lenient-cookie-octet\nlenient-quoted-value = DQUOTE *( lenient-quoted-char ) DQUOTE\nlenient-quoted-char = %x20-21 / %x23-7E ; Allow all printable US-ASCII except DQUOTE\nlenient-cookie-octet = %x21-2B / %x2D-3A / %x3C-7E\n ; Allow all printable characters except CTLs, semicolon and SP\n\n; https://datatracker.ietf.org/doc/html/rfc6265#section-4.2.1\ncookie-string = cookie-pair *( ";" SP cookie-pair )\n\n; https://datatracker.ietf.org/doc/html/rfc6265#section-4.1.1\n; https://www.rfc-editor.org/errata/eid5518\ncookie-pair = cookie-name "=" cookie-value\ncookie-name = token\ncookie-value = ( DQUOTE *cookie-octet DQUOTE ) / *cookie-octet\n ; https://www.rfc-editor.org/errata/eid8242\ncookie-octet = %x21 / %x23-2B / %x2D-3A / %x3C-5B / %x5D-7E\n ; US-ASCII characters excluding CTLs,\n ; whitespace, DQUOTE, comma, semicolon,\n ; and backslash\n\n; https://datatracker.ietf.org/doc/html/rfc6265#section-2.2\nOWS = *( [ CRLF ] WSP ) ; "optional" whitespace\n\n; https://datatracker.ietf.org/doc/html/rfc9110#section-5.6.2\ntoken = 1*(tchar)\ntchar = "!" / "#" / "$" / "%" / "&" / "\'" / "*"\n / "+" / "-" / "." / "^" / "_" / "`" / "|" / "~"\n / DIGIT / ALPHA\n ; any VCHAR, except delimiters\n\n; https://datatracker.ietf.org/doc/html/rfc2616#section-2.2\nCHAR = %x01-7F ; any US-ASCII character (octets 0 - 127)\nCTL = %x00-1F / %x7F ; any US-ASCII control character\nseparators = "(" / ")" / "<" / ">" / "@" / "," / ";" / ":" / "\\" / %x22 / "/" / "[" / "]" / "?" / "=" / "{" / "}" / SP / HT\nSP = %x20 ; US-ASCII SP, space (32)\nHT = %x09 ; US-ASCII HT, horizontal-tab (9)\n\n; https://datatracker.ietf.org/doc/html/rfc5234#appendix-B.1\nALPHA = %x41-5A / %x61-7A ; A-Z / a-z\nDIGIT = %x30-39 ; 0-9\nDQUOTE = %x22 ; " (Double Quote)\nWSP = SP / HTAB ; white space\nHTAB = %x09 ; horizontal tab\nCRLF = CR LF ; Internet standard newline\nCR = %x0D ; carriage return\nLF = %x0A ; linefeed\n'}}new Dr;const Lr=e=>{if("string"!=typeof e||1!==[...e].length)throw new TypeError("Input must be a single character string.");const t=e.codePointAt(0);return t<=127?`%${t.toString(16).toUpperCase().padStart(2,"0")}`:encodeURIComponent(e)},$r=e=>e.length>=2&&e.startsWith('"')&&e.endsWith('"'),Nr=e=>$r(e)?e.slice(1,-1):e,Pr=e=>`"${e}"`,Br=e=>e,Ur=new ot,qr=new Dr,Rr=(e,{strict:t=!0,quoted:n=null}={})=>{try{const r=t?"cookie-value":"lenient-cookie-value",o=Ur.parse(qr,r,e);return"boolean"==typeof n?o.success&&n===$r(e):o.success}catch{return!1}},_r=e=>buffer__WEBPACK_IMPORTED_MODULE_2__.Buffer.from(e).toString("base64"),Hr=(e,t=_r)=>{const n=String(e);if(Rr(n))return n;const r=$r(n),o=t(r?Nr(n):n);return r?Pr(o):o},zr=e=>_r(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/g,""),Gr=e=>Hr(e,zr),Yr=new ot,Vr=new Dr,Wr=(e,{strict:t=!0}={})=>{try{const n=t?"cookie-name":"lenient-cookie-name";return Yr.parse(Vr,n,e).success}catch{return!1}},Kr=e=>{if(!Rr(e))throw new TypeError(`Invalid cookie value: ${e}`)},Qr={encoders:{name:Br,value:Gr},validators:{name:e=>{if(!Wr(e))throw new TypeError(`Invalid cookie name: ${e}`)},value:Kr}},Xr=(e,t,n={})=>{const r={...Qr,...n,encoders:{...Qr.encoders,...n.encoders},validators:{...Qr.validators,...n.validators}},o=r.encoders.name(e),i=r.encoders.value(t);return r.validators.name(o),r.validators.value(i),`${o}=${i}`},Jr=(e,t={})=>(Array.isArray(e)?e:"object"==typeof e&&null!==e?Object.entries(e):[]).map(([e,n])=>Xr(e,n,t)).join("; ");const Zr=new ot,eo=new Dr,to=e=>{const t=String(e);if(Rr(t))return t;const n=$r(t),r=n?Nr(t):t;let o="";for(const e of r)o+=Zr.parse(eo,"cookie-octet",e).success?e:Lr(e);return n?Pr(o):o};new ot,new Dr;const no=e=>{if(!Wr(e,{strict:!1}))throw new TypeError(`Invalid cookie name: ${e}`)};const ro=e=>to(e).replace(/[=&]/gu,e=>"="===e?"%3D":"%26"),oo=(e,t={})=>Jr(e,Mr({encoders:{name:Br,value:ro},validators:{name:no,value:Kr}},t));function io({req:e,value:t,parameter:n,baseURL:r}){const{name:o,style:i,explode:s,content:a}=n;if(void 0===t)return;const c=e.url.replace(r,"");let l;if(a){const e=Object.keys(a)[0];l=Cr(c,{[o]:t},{encoder:t=>Ot(jr(t,e))})}else l=Cr(c,{[o]:t},{encoder:e=>St({key:n.name,value:e,style:i||"simple",explode:s??!1,escape:"reserved"})});e.url=r+l}function so({req:e,value:t,parameter:n}){if(e.query=e.query||{},void 0!==t&&n.content){const r=jr(t,Object.keys(n.content)[0]);if(r)e.query[n.name]=r;else if(n.allowEmptyValue){const t=n.name;e.query[t]=e.query[t]||{},e.query[t].allowEmptyValue=!0}return}if(!1===t&&(t="false"),0===t&&(t="0"),t){const{style:r,explode:o,allowReserved:i}=n;e.query[n.name]={value:t,serializationOption:{style:r,explode:o,allowReserved:i}}}else if(n.allowEmptyValue&&void 0!==t){const t=n.name;e.query[t]=e.query[t]||{},e.query[t].allowEmptyValue=!0}}const ao=["accept","authorization","content-type"];function co({req:e,parameter:t,value:n}){if(e.headers=e.headers||{},!(ao.indexOf(t.name.toLowerCase())>-1)){if(void 0!==n&&t.content){const r=Object.keys(t.content)[0];return void(e.headers[t.name]=jr(n,r))}void 0===n||Array.isArray(n)&&0===n.length||(e.headers[t.name]=St({key:t.name,value:n,style:t.style||"simple",explode:void 0!==t.explode&&t.explode,escape:!1}))}}function lo({req:e,parameter:t,value:n}){const{name:r}=t;if(e.headers=e.headers||{},void 0!==n&&t.content){const o=jr(n,Object.keys(t.content)[0]);return void(e.headers.Cookie=oo({[r]:o}))}if(void 0!==n&&(!Array.isArray(n)||0!==n.length)){const o=St({key:t.name,value:n,escape:!1,style:t.style||"form",explode:t.explode??!1}),i=Array.isArray(n)&&t.explode?`${r}=${o}`:o;e.headers.Cookie=oo({[r]:i})}}const uo=e=>{let t;return t=e instanceof buffer__WEBPACK_IMPORTED_MODULE_2__.Buffer?e:buffer__WEBPACK_IMPORTED_MODULE_2__.Buffer.from(e.toString(),"binary"),t.toString("base64")};function po(e,t){const{operation:n,requestBody:r,securities:o,spec:i,attachContentTypeForEmptyPayload:s}=e;let{requestContentType:a}=e;t=function({request:e,securities:t={},operation:n={},spec:r}){const o={...e},{authorized:i={}}=t,s=n.security||r.security||[],a=i&&!!Object.keys(i).length,c=r?.components?.securitySchemes||{};if(o.headers=o.headers||{},o.query=o.query||{},!Object.keys(t).length||!a||!s||Array.isArray(n.security)&&!n.security.length)return e;return s.forEach(e=>{Object.keys(e).forEach(e=>{const t=i[e],n=c[e];if(!t)return;const r=t.value||t,{type:s}=n;if(t)if("apiKey"===s)"query"===n.in&&(o.query[n.name]=r),"header"===n.in&&(o.headers[n.name]=r),"cookie"===n.in&&(o.cookies[n.name]=r);else if("http"===s){if(/^basic$/i.test(n.scheme)){const e=r.username||"",t=r.password||"",n=uo(`${e}:${t}`);o.headers.Authorization=`Basic ${n}`}/^bearer$/i.test(n.scheme)&&(o.headers.Authorization=`Bearer ${r}`)}else if("oauth2"===s||"openIdConnect"===s){const e=t.token||{},r=e[n["x-tokenName"]||"access_token"];let i=e.token_type;i&&"bearer"!==i.toLowerCase()||(i="Bearer"),o.headers.Authorization=`${i} ${r}`}})}),o}({request:t,securities:o,operation:n,spec:i});const c=n.requestBody||{},l=Object.keys(c.content||{}),u=a&&l.indexOf(a)>-1;if(r||s){if(a&&u)t.headers["Content-Type"]=a;else if(!a){const e=l[0];e&&(t.headers["Content-Type"]=e,a=e)}}else a&&u&&(t.headers["Content-Type"]=a);if(!e.responseContentType&&n.responses){const e=Object.entries(n.responses).filter(([e,t])=>{const n=parseInt(e,10);return n>=200&&n<300&&Ke(t.content)}).reduce((e,[,t])=>e.concat(Object.keys(t.content)),[]);e.length>0&&(t.headers.accept=e.join(", "))}if(r)if(a){if(l.indexOf(a)>-1)if("application/x-www-form-urlencoded"===a||"multipart/form-data"===a)if("object"==typeof r){const e=c.content[a]?.encoding??{};t.form={},Object.keys(r).forEach(n=>{let o;try{o=JSON.parse(r[n])}catch{o=r[n]}t.form[n]={value:o,encoding:e[n]||{}}})}else if("string"==typeof r){const e=c.content[a]?.encoding??{};try{t.form={};const n=JSON.parse(r);Object.entries(n).forEach(([n,r])=>{t.form[n]={value:r,encoding:e[n]||{}}})}catch{t.form=r}}else t.form=r;else t.body=r}else t.body=r;return t}function fo(e,t){const{spec:n,operation:r,securities:o,requestContentType:i,responseContentType:s,attachContentTypeForEmptyPayload:a}=e;if(t=function({request:e,securities:t={},operation:n={},spec:r}){const o={...e},{authorized:i={},specSecurity:s=[]}=t,a=n.security||s,c=i&&!!Object.keys(i).length,l=r.securityDefinitions;if(o.headers=o.headers||{},o.query=o.query||{},!Object.keys(t).length||!c||!a||Array.isArray(n.security)&&!n.security.length)return e;return a.forEach(e=>{Object.keys(e).forEach(e=>{const t=i[e];if(!t)return;const{token:n}=t,r=t.value||t,s=l[e],{type:a}=s,c=s["x-tokenName"]||"access_token",u=n&&n[c];let p=n&&n.token_type;if(t)if("apiKey"===a){const e="query"===s.in?"query":"headers";o[e]=o[e]||{},o[e][s.name]=r}else if("basic"===a)if(r.header)o.headers.authorization=r.header;else{const e=r.username||"",t=r.password||"";r.base64=uo(`${e}:${t}`),o.headers.authorization=`Basic ${r.base64}`}else"oauth2"===a&&u&&(p=p&&"bearer"!==p.toLowerCase()?p:"Bearer",o.headers.authorization=`${p} ${u}`)})}),o}({request:t,securities:o,operation:r,spec:n}),t.body||t.form||a)i?t.headers["Content-Type"]=i:Array.isArray(r.consumes)?[t.headers["Content-Type"]]=r.consumes:Array.isArray(n.consumes)?[t.headers["Content-Type"]]=n.consumes:r.parameters&&r.parameters.filter(e=>"file"===e.type).length?t.headers["Content-Type"]="multipart/form-data":r.parameters&&r.parameters.filter(e=>"formData"===e.in).length&&(t.headers["Content-Type"]="application/x-www-form-urlencoded");else if(i){const e=r.parameters&&r.parameters.filter(e=>"body"===e.in).length>0,n=r.parameters&&r.parameters.filter(e=>"formData"===e.in).length>0;(e||n)&&(t.headers["Content-Type"]=i)}return!s&&Array.isArray(r.produces)&&r.produces.length>0&&(t.headers.accept=r.produces.join(", ")),t}const ho=e=>{try{const{openapi:t}=e;return"string"==typeof t&&/^3\.2\.(?:[1-9]\d*|0)$/.test(t)}catch{return!1}},yo=e=>(e=>{try{const{openapi:t}=e;return"string"==typeof t&&/^3\.0\.(?:[1-9]\d*|0)$/.test(t)}catch{return!1}})(e)||(e=>{try{const{openapi:t}=e;return"string"==typeof t&&/^3\.1\.(?:[1-9]\d*|0)$/.test(t)}catch{return!1}})(e)||ho(e);function mo(e,t){return function(e,t,n){if(!e||"object"!=typeof e||!e.paths||"object"!=typeof e.paths)return null;const{paths:r}=e,o=ho(e);for(const i in r){for(const o in r[i]){if("PARAMETERS"===o.toUpperCase()||"additionalOperations"===o)continue;const s=r[i][o];if(!s||"object"!=typeof s)continue;const a={spec:e,pathName:i,method:o.toUpperCase(),operation:s},c=t(a);if(n&&c)return a}const{additionalOperations:s}=r[i];if(o&&s&&"object"==typeof s)for(const r of Object.keys(s)){const o=s[r];if(!o||"object"!=typeof o)continue;const a={spec:e,pathName:i,method:r,operation:o},c=t(a);if(n&&c)return a}}}(e,t,!0)||null}const go=e=>e.replace(/\W/gi,"_"),xo=new Set(["connect","delete","get","head","options","patch","post","put","query","trace"]);function bo(e,t,n="",{v2OperationIdCompatibilityMode:r}={}){if(!e||"object"!=typeof e)return null;return(e.operationId||"").replace(/\s/g,"").length?go(e.operationId):function(e,t,{v2OperationIdCompatibilityMode:n}={}){if(n){let n=`${t.toLowerCase()}_${e}`.replace(/[\s!@#$%^&*()_+=[{\]};:<>|./?,\\'""-]/g,"_");return n=n||`${e.substring(1)}_${t}`,n.replace(/((_){2,})/g,"_").replace(/^(_)*/g,"").replace(/([_])*$/g,"")}return`${xo.has(t.toLowerCase())?t.toLowerCase():t}${go(e)}`}(t,n,{v2OperationIdCompatibilityMode:r})}function vo(e,t){return`${t.toLowerCase()}-${e}`}const{isHttpUrl:Ao}=_speclynx_apidom_reference_configuration_empty__WEBPACK_IMPORTED_MODULE_1__;const wo=e=>Array.isArray(e)?e:[],ko=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/,Oo=(e,{recurse:t=!0,depth:n=1}={})=>{var r,o;if(Ke(e)){if("object"===e.type||"array"===e.type||Array.isArray(e.type)&&(c()(r=e.type).call(r,"object")||c()(o=e.type).call(o,"array")))return e;if(!(n>3e3)&&t){const r=Array.isArray(e.oneOf)?e.oneOf.find(e=>Oo(e,{recurse:t,depth:n+1})):void 0;if(r)return r;const o=Array.isArray(e.anyOf)?e.anyOf.find(e=>Oo(e,{recurse:t,depth:n+1})):void 0;if(o)return o}}},So=({value:e,silentFail:t=!1})=>{try{const n=JSON.parse(e);if(Ke(n)||Array.isArray(n))return n;if(!t)throw new Error("Expected JSON serialized object or array")}catch{if(!t)throw new Error("Could not parse parameter value string as JSON Object or JSON Array")}return e},To=e=>{try{return new URL(e)}catch{const t=new URL(e,"https://swagger.io"),n=String(e).startsWith("/")?t.pathname:t.pathname.substring(1);return{hash:t.hash,host:"",hostname:"",href:"",origin:"",password:"",pathname:n,port:"",protocol:"",search:t.search,searchParams:t.searchParams}}};class Co extends _speclynx_apidom_error__WEBPACK_IMPORTED_MODULE_0__["default"]{}function Eo(e){const{spec:n,operationId:r,responseContentType:o,scheme:i,requestInterceptor:a,responseInterceptor:c,contextUrl:l,userFetch:u,server:p,serverVariables:d,http:f,signal:h,serverVariableEncoder:y}=e;let{parameters:m,parameterBuilders:x,baseURL:v}=e;const A=yo(n);x||(x=A?s:Er);let w={url:"",credentials:f&&f.withCredentials?"include":"same-origin",headers:{},cookies:{}};h&&(w.signal=h),a&&(w.requestInterceptor=a),c&&(w.responseInterceptor=c),u&&(w.userFetch=u);const k=function(e,t){return e&&e.paths?mo(e,({pathName:e,method:n,operation:r})=>{if(!r||"object"!=typeof r)return!1;const o=r.operationId;return[bo(r,e,n),vo(e,n),o].some(e=>e&&e===t)}):null}(n,r);if(!k)throw new Co(`Operation ${r} not found`);const{operation:O={},method:S,pathName:T}=k;if(!(e=>"string"==typeof e&&ko.test(e))(S))throw new Error("Invalid HTTP method");if(v=v??function(e){const n=yo(e.spec);return n?function({spec:e,pathName:n,method:r,operation:o,server:i,contextUrl:s,serverVariables:a={},serverVariableEncoder:c}){let l,u=[],p="";const d=o?.servers??e?.paths?.[n]?.[(r||"").toLowerCase()]?.servers,f=e?.paths?.[n]?.servers,h=e?.servers;u=Fo(d)?d:Fo(f)?f:Fo(h)?h:[xt],i&&(l=u.find(e=>e.url===i),l&&(p=i));p||([l]=u,p=l.url);if(ht(p,{strict:!0})){const e=Object.entries({...l.variables}).reduce((e,[t,n])=>(e[t]=n.default,e),{});p=gt(p,{...e,...a},{encoder:"function"==typeof c?c:b})}return function(e="",n=""){const r=To(e&&n?_speclynx_apidom_reference_configuration_empty__WEBPACK_IMPORTED_MODULE_1__.resolve(n,e):e),o=To(n),i=jo(r.protocol)||jo(o.protocol),s=r.host||o.host,a=r.pathname;let c;c=i&&s?`${i}://${s+a}`:a;return"/"===c[c.length-1]?c.slice(0,-1):c}(p,s)}(e):function({spec:e,scheme:t,contextUrl:n=""}){const r=To(n),o=Array.isArray(e.schemes)?e.schemes[0]:null,i=t||o||jo(r.protocol)||"http",s=e.host||r.host||"",a=e.basePath||"";let c;c=i&&s?`${i}://${s+a}`:a;return"/"===c[c.length-1]?c.slice(0,-1):c}(e)}({spec:n,scheme:i,contextUrl:l,server:p,serverVariables:d,pathName:T,method:S,operation:O,serverVariableEncoder:y}),w.url+=v,!r)return delete w.cookies,w;w.url+=T,w.method=S,m=m||{};const C=n.paths[T]||{};o&&(w.headers.accept=o);const E=(e=>{const t={};e.forEach(e=>{t[e.in]||(t[e.in]={}),t[e.in][e.name]=e});const n=[];return Object.keys(t).forEach(e=>{Object.keys(t[e]).forEach(r=>{n.push(t[e][r])})}),n})([].concat(wo(O.parameters)).concat(wo(C.parameters)));E.forEach(e=>{const t=x[e.in];let r;if("body"===e.in&&e.schema&&e.schema.properties&&(r=m),r=e&&e.name&&m[e.name],void 0===r?r=e&&e.name&&m[`${e.in}.${e.name}`]:((e,t)=>t.filter(t=>t.name===e))(e.name,E).length>1&&console.warn(`Parameter '${e.name}' is ambiguous because the defined spec has more than one parameter with the name: '${e.name}' and the passed-in parameter values did not define an 'in' value.`),null!==r){if(void 0!==e.default&&void 0===r&&(r=e.default),void 0===r&&e.required&&!e.allowEmptyValue)throw new Error(`Required parameter ${e.name} is not provided`);A&&"string"==typeof r&&(g("type",e.schema)&&"string"==typeof e.schema.type&&Oo(e.schema,{recurse:!1})?r=So({value:r,silentFail:!1}):(g("type",e.schema)&&Array.isArray(e.schema.type)&&Oo(e.schema,{recurse:!1})||!g("type",e.schema)&&Oo(e.schema,{recurse:!0}))&&(r=So({value:r,silentFail:!0}))),t&&t({req:w,parameter:e,value:r,operation:O,spec:n,baseURL:v})}});const j={...e,operation:O};if(w=A?po(j,w):fo(j,w),w.cookies&&Object.keys(w.cookies).length>0){const e=oo(w.cookies);rt(w.headers.Cookie)?w.headers.Cookie+=`; ${e}`:w.headers.Cookie=e}return w.cookies&&delete w.cookies,Mt(w)}const jo=e=>e?e.replace(/\W/g,""):null;const Fo=e=>Array.isArray(e)&&e.length>0;
|
|
115124
|
+
var r={8341(e,t,n){n(7603);var r=n(2856);e.exports=r("Array","includes")},5161(e,t,n){var r=n(4317),o=n(8341),s=n(1019),i=Array.prototype,a=String.prototype;e.exports=function(e){var t=e.includes;return e===i||r(i,e)&&t===i.includes?o:"string"==typeof e||e===a||r(a,e)&&t===a.includes?s:t}},1019(e,t,n){n(3855);var r=n(2856);e.exports=r("String","includes")},814(e,t,n){var r=n(2769),o=n(459),s=TypeError;e.exports=function(e){if(r(e))return e;throw new s(o(e)+" is not a function")}},8137(e){e.exports=function(){}},7235(e,t,n){var r=n(262),o=String,s=TypeError;e.exports=function(e){if(r(e))return e;throw new s(o(e)+" is not an object")}},1005(e,t,n){var r=n(3273),o=n(4574),s=n(8130),i=function(e){return function(t,n,i){var a=r(t),c=s(a);if(0===c)return!e&&-1;var l,u=o(i,c);if(e&&n!=n){for(;c>u;)if((l=a[u++])!=l)return!0}else for(;c>u;u++)if((e||u in a)&&a[u]===n)return e||u||0;return!e&&-1}};e.exports={m:i(!0),...void i(!1)}},9932(e,t,n){var r=n(6100),o=r({}.toString),s=r("".slice);e.exports=function(e){return s(o(e),8,-1)}},8407(e,t,n){var r=n(4904),o=n(2769),s=n(9932),i=n(8655)("toStringTag"),a=Object,c="Arguments"===s(function(){return arguments}());e.exports=r?s:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=a(e),i))?n:c?s(t):"Object"===(r=s(t))&&o(t.callee)?"Arguments":r}},4240(e,t,n){var r=n(8655)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},3999(e,t,n){var r=n(5024),o=n(9989),s=n(480);e.exports=r?function(e,t,n){return o.f(e,t,s(1,n))}:function(e,t,n){return e[t]=n,e}},480(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},7525(e,t,n){var r=n(8900),o=Object.defineProperty;e.exports=function(e,t){try{o(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},5024(e,t,n){var r=n(1203);e.exports=!r(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},9619(e,t,n){var r=n(8900),o=n(262),s=r.document,i=o(s)&&o(s.createElement);e.exports=function(e){return i?s.createElement(e):{}}},3531(e,t,n){var r=n(8900).navigator,o=r&&r.userAgent;e.exports=o?String(o):""},5547(e,t,n){var r,o,s=n(8900),i=n(3531),a=s.process,c=s.Deno,l=a&&a.versions||c&&c.version,u=l&&l.v8;u&&(o=(r=u.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&i&&(!(r=i.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=i.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},9098(e,t,n){var r=n(8900),o=n(7013),s=n(9344),i=n(2769),a=n(4543).f,c=n(8696),l=n(8099),u=n(4572),p=n(3999),d=n(701),h=function(e){var t=function(n,r,s){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,r)}return new e(n,r,s)}return o(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,o,f,m,y,g,x,b,v,w=e.target,A=e.global,k=e.stat,T=e.proto,F=A?r:k?r[w]:r[w]&&r[w].prototype,S=A?l:l[w]||p(l,w,{})[w],O=S.prototype;for(m in t)o=!(n=c(A?m:w+(k?".":"#")+m,e.forced))&&F&&d(F,m),g=S[m],o&&(x=e.dontCallGetSet?(v=a(F,m))&&v.value:F[m]),y=o&&x?x:t[m],(n||T||typeof g!=typeof y)&&(b=e.bind&&o?u(y,r):e.wrap&&o?h(y):T&&i(y)?s(y):y,(e.sham||y&&y.sham||g&&g.sham)&&p(b,"sham",!0),p(S,m,b),T&&(d(l,f=w+"Prototype")||p(l,f,{}),p(l[f],m,y),e.real&&O&&(n||!O[m])&&p(O,m,y)))}},1203(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},7013(e,t,n){var r=n(1780),o=Function.prototype,s=o.apply,i=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?i.bind(s):function(){return i.apply(s,arguments)})},4572(e,t,n){var r=n(9344),o=n(814),s=n(1780),i=r(r.bind);e.exports=function(e,t){return o(e),void 0===t?e:s?i(e,t):function(){return e.apply(t,arguments)}}},1780(e,t,n){var r=n(1203);e.exports=!r(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},4713(e,t,n){var r=n(1780),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},9344(e,t,n){var r=n(9932),o=n(6100);e.exports=function(e){if("Function"===r(e))return o(e)}},6100(e,t,n){var r=n(1780),o=Function.prototype,s=o.call,i=r&&o.bind.bind(s,s);e.exports=r?i:function(e){return function(){return s.apply(e,arguments)}}},2856(e,t,n){var r=n(8900),o=n(8099);e.exports=function(e,t){var n=o[e+"Prototype"],s=n&&n[t];if(s)return s;var i=r[e],a=i&&i.prototype;return a&&a[t]}},1003(e,t,n){var r=n(8099),o=n(8900),s=n(2769),i=function(e){return s(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},4674(e,t,n){var r=n(814),o=n(3057);e.exports=function(e,t){var n=e[t];return o(n)?void 0:r(n)}},8900(e){var t=function(e){return e&&e.Math===Math&&e};e.exports=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof globalThis&&globalThis)||t("object"==typeof this&&this)||function(){return this}()||Function("return this")()},701(e,t,n){var r=n(6100),o=n(2137),s=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return s(o(e),t)}},9665(e,t,n){var r=n(5024),o=n(1203),s=n(9619);e.exports=!r&&!o(function(){return 7!==Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a})},1395(e,t,n){var r=n(6100),o=n(1203),s=n(9932),i=Object,a=r("".split);e.exports=o(function(){return!i("z").propertyIsEnumerable(0)})?function(e){return"String"===s(e)?a(e,""):i(e)}:i},2769(e){var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},8696(e,t,n){var r=n(1203),o=n(2769),s=/#|\.prototype\./,i=function(e,t){var n=c[a(e)];return n===u||n!==l&&(o(t)?r(t):!!t)},a=i.normalize=function(e){return String(e).replace(s,".").toLowerCase()},c=i.data={},l=i.NATIVE="N",u=i.POLYFILL="P";e.exports=i},3057(e){e.exports=function(e){return null==e}},262(e,t,n){var r=n(2769);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},4871(e){e.exports=!0},7752(e,t,n){var r=n(262),o=n(9932),s=n(8655)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[s])?!!t:"RegExp"===o(e))}},6281(e,t,n){var r=n(1003),o=n(2769),s=n(4317),i=n(7460),a=Object;e.exports=i?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return o(t)&&s(t.prototype,a(e))}},8130(e,t,n){var r=n(8146);e.exports=function(e){return r(e.length)}},5777(e){var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},5947(e,t,n){var r=n(7752),o=TypeError;e.exports=function(e){if(r(e))throw new o("The method doesn't accept regular expressions");return e}},9989(e,t,n){var r=n(5024),o=n(9665),s=n(1330),i=n(7235),a=n(5341),c=TypeError,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,p="enumerable",d="configurable",h="writable";t.f=r?s?function(e,t,n){if(i(e),t=a(t),i(n),"function"==typeof e&&"prototype"===t&&"value"in n&&h in n&&!n[h]){var r=u(e,t);r&&r[h]&&(e[t]=n.value,n={configurable:d in n?n[d]:r[d],enumerable:p in n?n[p]:r[p],writable:!1})}return l(e,t,n)}:l:function(e,t,n){if(i(e),t=a(t),i(n),o)try{return l(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new c("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},4543(e,t,n){var r=n(5024),o=n(4713),s=n(7161),i=n(480),a=n(3273),c=n(5341),l=n(701),u=n(9665),p=Object.getOwnPropertyDescriptor;t.f=r?p:function(e,t){if(e=a(e),t=c(t),u)try{return p(e,t)}catch(e){}if(l(e,t))return i(!o(s.f,e,t),e[t])}},4317(e,t,n){var r=n(6100);e.exports=r({}.isPrototypeOf)},7161(e,t){var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},9258(e,t,n){var r=n(4713),o=n(2769),s=n(262),i=TypeError;e.exports=function(e,t){var n,a;if("string"===t&&o(n=e.toString)&&!s(a=r(n,e)))return a;if(o(n=e.valueOf)&&!s(a=r(n,e)))return a;if("string"!==t&&o(n=e.toString)&&!s(a=r(n,e)))return a;throw new i("Can't convert object to primitive value")}},8099(e){e.exports={}},5426(e,t,n){var r=n(3057),o=TypeError;e.exports=function(e){if(r(e))throw new o("Can't call method on "+e);return e}},3753(e,t,n){var r=n(4871),o=n(8900),s=n(7525),i="__core-js_shared__",a=e.exports=o[i]||s(i,{});(a.versions||(a.versions=[])).push({version:"3.50.0",mode:r?"pure":"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.50.0/LICENSE",source:"https://github.com/zloirock/core-js"})},8141(e,t,n){var r=n(3753),o=Object.create||Object;e.exports=function(e,t){return r[e]||(r[e]=t||o(null))}},4603(e,t,n){var r=n(5547),o=n(1203),s=n(8900).String;e.exports=!!Object.getOwnPropertySymbols&&!o(function(){var e=Symbol("symbol detection");return!s(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41})},4574(e,t,n){var r=n(9903),o=Math.max,s=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):s(n,t)}},3273(e,t,n){var r=n(1395),o=n(5426);e.exports=function(e){return r(o(e))}},9903(e,t,n){var r=n(5777);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},8146(e,t,n){var r=n(9903),o=Math.min;e.exports=function(e){var t=r(e);return t>0?o(t,9007199254740991):0}},2137(e,t,n){var r=n(5426),o=Object;e.exports=function(e){return o(r(e))}},493(e,t,n){var r=n(4713),o=n(262),s=n(6281),i=n(4674),a=n(9258),c=n(8655),l=TypeError,u=c("toPrimitive");e.exports=function(e,t){if(!o(e)||s(e))return e;var n,c=i(e,u);if(c){if(void 0===t&&(t="default"),n=r(c,e,t),!o(n)||s(n))return n;throw new l("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},5341(e,t,n){var r=n(493),o=n(6281);e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},4904(e,t,n){var r={};r[n(8655)("toStringTag")]="z",e.exports="[object z]"===String(r)},1139(e,t,n){var r=n(8407),o=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return o(e)}},459(e){var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},1268(e,t,n){var r=n(6100),o=0,s=Math.random(),i=r(1.1.toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+i(++o+s,36)}},7460(e,t,n){var r=n(4603);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},1330(e,t,n){var r=n(5024),o=n(1203);e.exports=r&&o(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},8655(e,t,n){var r=n(8900),o=n(8141),s=n(701),i=n(1268),a=n(4603),c=n(7460),l=r.Symbol,u=o("wks"),p=c?l.for||l:l&&l.withoutSetter||i;e.exports=function(e){return s(u,e)||(u[e]=a&&s(l,e)?l[e]:p("Symbol."+e)),u[e]}},7603(e,t,n){var r=n(9098),o=n(1005).m,s=n(1203),i=n(8137),a=s(function(){return!Array(1).includes()}),c=s(function(){return[,1].includes(void 0,1)});r({target:"Array",proto:!0,forced:a||c},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},3855(e,t,n){var r=n(9098),o=n(6100),s=n(5947),i=n(5426),a=n(1139),c=n(4240),l=o("".indexOf);r({target:"String",proto:!0,forced:!c("includes")},{includes:function(e){return!!~l(a(i(this)),a(s(e)),arguments.length>1?arguments[1]:void 0)}})},1726(e,t,n){var r=n(5161);e.exports=r},5965(e,t,n){e.exports=n(1726)}};const o={};function s(e){const t=o[e];if(void 0!==t)return t.exports;const n=o[e]={exports:{}};return r[e].call(n.exports,n,n.exports,s),n.exports}s.n=e=>{const t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.o=(e,t)=>Object.hasOwn(e,t),s.r=e=>{Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};s.r(i),s.d(i,{cookie:()=>Mo,header:()=>Lo,path:()=>Io,query:()=>Do});var a=s(5965),c=s.n(a);function l(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function u(e){return function t(n){return 0===arguments.length||l(n)?t:e.apply(this,arguments)}}function p(e){return function t(n,r){switch(arguments.length){case 0:return t;case 1:return l(n)?t:u(function(t){return e(n,t)});default:return l(n)&&l(r)?t:l(n)?u(function(t){return e(t,r)}):l(r)?u(function(t){return e(n,t)}):e(n,r)}}}function d(e,t){return Object.prototype.hasOwnProperty.call(t,e)}const h=u(function(e){return null==e});var f=p(function(e,t){if(0===e.length||h(t))return!1;for(var n=t,r=0;r<e.length;){if(h(n)||!d(e[r],n))return!1;n=n[e[r]],r+=1}return!0});const m=f;var y=p(function(e,t){return m([e],t)});const g=y;function x(e){return e}const b=u(x);function v(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,n){return t.apply(this,arguments)};case 3:return function(e,n,r){return t.apply(this,arguments)};case 4:return function(e,n,r,o){return t.apply(this,arguments)};case 5:return function(e,n,r,o,s){return t.apply(this,arguments)};case 6:return function(e,n,r,o,s,i){return t.apply(this,arguments)};case 7:return function(e,n,r,o,s,i,a){return t.apply(this,arguments)};case 8:return function(e,n,r,o,s,i,a,c){return t.apply(this,arguments)};case 9:return function(e,n,r,o,s,i,a,c,l){return t.apply(this,arguments)};case 10:return function(e,n,r,o,s,i,a,c,l,u){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function w(e,t){return function(){return t.call(this,e.apply(this,arguments))}}function A(e){return function t(n,r,o){switch(arguments.length){case 0:return t;case 1:return l(n)?t:p(function(t,r){return e(n,t,r)});case 2:return l(n)&&l(r)?t:l(n)?p(function(t,n){return e(t,r,n)}):l(r)?p(function(t,r){return e(n,t,r)}):u(function(t){return e(n,r,t)});default:return l(n)&&l(r)&&l(o)?t:l(n)&&l(r)?p(function(t,n){return e(t,n,o)}):l(n)&&l(o)?p(function(t,n){return e(t,r,n)}):l(r)&&l(o)?p(function(t,r){return e(n,t,r)}):l(n)?u(function(t){return e(t,r,o)}):l(r)?u(function(t){return e(n,t,o)}):l(o)?u(function(t){return e(n,r,t)}):e(n,r,o)}}}const k=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function T(e){return"[object String]"===Object.prototype.toString.call(e)}const F=u(function(e){return!!k(e)||!!e&&("object"==typeof e&&(!T(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))});var S="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function O(e,t,n){return function(r,o,s){if(F(s))return e(r,o,s);if(null==s)return o;if("function"==typeof s["fantasy-land/reduce"])return t(r,o,s,"fantasy-land/reduce");if(null!=s[S])return n(r,o,s[S]());if("function"==typeof s.next)return n(r,o,s);if("function"==typeof s.reduce)return t(r,o,s,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function E(e,t,n){for(var r=0,o=n.length;r<o;){if((t=e["@@transducer/step"](t,n[r]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r+=1}return e["@@transducer/result"](t)}const C=p(function(e,t){return v(e.length,function(){return e.apply(t,arguments)})});function j(e,t,n){for(var r=n.next();!r.done;){if((t=e["@@transducer/step"](t,r.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r=n.next()}return e["@@transducer/result"](t)}function I(e,t,n,r){return e["@@transducer/result"](n[r](C(e["@@transducer/step"],e),t))}const D=O(E,I,j);var $=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();var L=A(function(e,t,n){return D("function"==typeof e?new $(e):e,t,n)});const M=L;function N(e,t){return function(){var n=arguments.length;if(0===n)return t();var r=arguments[n-1];return k(r)||"function"!=typeof r[e]?t.apply(this,arguments):r[e].apply(r,Array.prototype.slice.call(arguments,0,n-1))}}var P=A(N("slice",function(e,t,n){return Array.prototype.slice.call(n,e,t)}));const B=u(N("tail",P(1,1/0)));function U(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return v(arguments[0].length,M(w,arguments[0],B(arguments)))}const R=u(function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)});const H="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};var q=function(e,t){switch(arguments.length){case 0:return q;case 1:return function t(n){return 0===arguments.length?t:H(e,n)};default:return H(e,t)}};const _=q;function G(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function z(e,t,n){for(var r=0,o=n.length;r<o;){if(e(t,n[r]))return!0;r+=1}return!1}var Y=Object.prototype.toString;const V=function(){return"[object Arguments]"===Y.call(arguments)?function(e){return"[object Arguments]"===Y.call(e)}:function(e){return d("callee",e)}}();var W=!{toString:null}.propertyIsEnumerable("toString"),K=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],X=function(){return arguments.propertyIsEnumerable("length")}(),Q=function(e,t){for(var n=0;n<e.length;){if(e[n]===t)return!0;n+=1}return!1},J="function"!=typeof Object.keys||X?u(function(e){if(Object(e)!==e)return[];var t,n,r=[],o=X&&V(e);for(t in e)!d(t,e)||o&&"length"===t||(r[r.length]=t);if(W)for(n=K.length-1;n>=0;)d(t=K[n],e)&&!Q(r,t)&&(r[r.length]=t),n-=1;return r}):u(function(e){return Object(e)!==e?[]:Object.keys(e)});const Z=J;function ee(e,t,n,r){var o=G(e);function s(e,t){return te(e,t,n.slice(),r.slice())}return!z(function(e,t){return!z(s,t,e)},G(t),o)}function te(e,t,n,r){if(H(e,t))return!0;var o=R(e);if(o!==R(t))return!1;if("function"==typeof e["fantasy-land/equals"]||"function"==typeof t["fantasy-land/equals"])return"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t)&&"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e);if("function"==typeof e.equals||"function"==typeof t.equals)return"function"==typeof e.equals&&e.equals(t)&&"function"==typeof t.equals&&t.equals(e);switch(o){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===function(e){var t=String(e).match(/^function (\w*)/);return null==t?"":t[1]}(e.constructor))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!H(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!H(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var s=n.length-1;s>=0;){if(n[s]===e)return r[s]===t;s-=1}switch(o){case"Map":return e.size===t.size&&ee(e.entries(),t.entries(),n.concat([e]),r.concat([t]));case"Set":return e.size===t.size&&ee(e.values(),t.values(),n.concat([e]),r.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var i=Z(e);if(i.length!==Z(t).length)return!1;var a=n.concat([e]),c=r.concat([t]);for(s=i.length-1;s>=0;){var l=i[s];if(!d(l,t)||!te(t[l],e[l],a,c))return!1;s-=1}return!0}const ne=p(function(e,t){return te(e,t,[],[])});function re(e,t){return function(e,t,n){var r,o;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(r=1/t;n<e.length;){if(0===(o=e[n])&&1/o===r)return n;n+=1}return-1}if(t!=t){for(;n<e.length;){if("number"==typeof(o=e[n])&&o!=o)return n;n+=1}return-1}return e.indexOf(t,n);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,n);case"object":if(null===t)return e.indexOf(t,n)}for(;n<e.length;){if(ne(e[n],t))return n;n+=1}return-1}(t,e,0)>=0}function oe(e,t){for(var n=0,r=t.length,o=Array(r);n<r;)o[n]=e(t[n]),n+=1;return o}function se(e){return'"'+e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var ie=function(e){return(e<10?"0":"")+e};const ae="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+ie(e.getUTCMonth()+1)+"-"+ie(e.getUTCDate())+"T"+ie(e.getUTCHours())+":"+ie(e.getUTCMinutes())+":"+ie(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function ce(e,t,n){for(var r=0,o=n.length;r<o;)t=e(t,n[r]),r+=1;return t}function le(e,t,n){return function(){if(0===arguments.length)return n();var r=arguments[arguments.length-1];if(!k(r)){for(var o=0;o<e.length;){if("function"==typeof r[e[o]])return r[e[o]].apply(r,Array.prototype.slice.call(arguments,0,-1));o+=1}if(function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}(r))return t.apply(null,Array.prototype.slice.call(arguments,0,-1))(r)}return n.apply(this,arguments)}}function ue(e){return"[object Object]"===Object.prototype.toString.call(e)}const pe=function(){return this.xf["@@transducer/init"]()},de=function(e){return this.xf["@@transducer/result"](e)};var he=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=pe,e.prototype["@@transducer/result"]=de,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}();function fe(e){return function(t){return new he(e,t)}}var me=p(le(["fantasy-land/filter","filter"],fe,function(e,t){return ue(t)?ce(function(n,r){return e(t[r])&&(n[r]=t[r]),n},{},Z(t)):function(e,t){for(var n=0,r=t.length,o=[];n<r;)e(t[n])&&(o[o.length]=t[n]),n+=1;return o}(e,t)}));const ye=me;const ge=p(function(e,t){return ye((n=e,function(){return!n.apply(this,arguments)}),t);// removed by dead control flow
|
|
115125
|
+
var n; });function xe(e,t){var n=function(n){var r=t.concat([e]);return re(n,r)?"<Circular>":xe(n,r)},r=function(e,t){return oe(function(t){return se(t)+": "+n(e[t])},t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+oe(n,e).join(", ")+"))";case"[object Array]":return"["+oe(n,e).concat(r(e,ge(function(e){return/^\d+$/.test(e)},Z(e)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof e?"new Boolean("+n(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?n(NaN):se(ae(e)))+")";case"[object Map]":return"new Map("+n(Array.from(e))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof e?"new Number("+n(e.valueOf())+")":1/e==-1/0?"-0":e.toString(10);case"[object Set]":return"new Set("+n(Array.from(e).sort())+")";case"[object String]":return"object"==typeof e?"new String("+n(e.valueOf())+")":se(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var o=e.toString();if("[object Object]"!==o)return o}return"{"+r(e,Z(e)).join(", ")+"}"}}const be=u(function(e){return xe(e,[])}),ve=Number.isInteger||function(e){return(e|0)===e};function we(e,t){var n=e<0?t.length+e:e;return T(t)?t.charAt(n):t[n]}const Ae=A(function(e,t,n){return e(function(e,t){for(var n=t,r=0;r<e.length;r+=1){if(null==n)return;var o=e[r];n=ve(o)?we(o,n):n[o]}return n}(t,n))});function ke(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const Te=p(function(e,t){return e&&t});function Fe(e,t,n){for(var r=n.next();!r.done;)t=e(t,r.value),r=n.next();return t}function Se(e,t,n,r){return n[r](e,t)}const Oe=O(ce,Se,Fe);var Ee=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=pe,e.prototype["@@transducer/result"]=de,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}();const Ce=function(e){return function(t){return new Ee(e,t)}};function je(e,t,n){return function(){for(var r=[],o=0,s=e,i=0,a=!1;i<t.length||o<arguments.length;){var c;i<t.length&&(!l(t[i])||o>=arguments.length)?c=t[i]:(c=arguments[o],o+=1),r[i]=c,l(c)?a=!0:s-=1,i+=1}return!a&&s<=0?n.apply(this,r):v(Math.max(0,s),je(e,r,n))}}const Ie=p(function(e,t){return 1===e?u(t):v(e,je(e,[],t))});const De=p(le(["fantasy-land/map","map"],Ce,function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return Ie(t.length,function(){return e.call(this,t.apply(this,arguments))});case"[object Object]":return ce(function(n,r){return n[r]=e(t[r]),n},{},Z(t));default:return oe(e,t)}}));const $e=p(function(e,t){return"function"==typeof t["fantasy-land/ap"]?t["fantasy-land/ap"](e):"function"==typeof e.ap?e.ap(t):"function"==typeof e?function(n){return e(n)(t(n))}:Oe(function(e,n){return function(e,t){var n;t=t||[];var r=(e=e||[]).length,o=t.length,s=[];for(n=0;n<r;)s[s.length]=e[n],n+=1;for(n=0;n<o;)s[s.length]=t[n],n+=1;return s}(e,De(n,t))},[],e)});const Le=p(function(e,t){var n=Ie(e,t);return Ie(e,function(){return ce($e,De(n,arguments[0]),Array.prototype.slice.call(arguments,1))})});const Me=u(function(e){return Le(e.length,e)});const Ne=p(function(e,t){return ke(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:Me(Te)(e,t)});const Pe=ne(null);const Be=Me(u(function(e){return!e}));const Ue=Be(Pe);function Re(e){return Re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Re(e)}const He=function(e){return"object"===Re(e)};const qe=Ie(1,Ne(Ue,He));const _e=p(function(e,t){if(e===t)return t;function n(e,t){if(e>t!=t>e)return t>e?t:e}var r=n(e,t);if(void 0!==r)return r;var o=n(typeof e,typeof t);if(void 0!==o)return o===typeof e?e:t;var s=be(e),i=n(s,be(t));return void 0!==i&&i===s?e:t});const Ge=p(function(e,t){if(null!=t)return ve(e)?we(e,t):t[e]});var ze=p(function(e,t){return De(Ge(e),t)});const Ye=ze;const Ve=u(function(e){return Ie(M(_e,0,Ye("length",e)),function(){for(var t=0,n=e.length;t<n;){if(e[t].apply(this,arguments))return!0;t+=1}return!1})});const We=Ie(1,U(R,_("GeneratorFunction")));const Ke=Ie(1,U(R,_("AsyncFunction")));const Xe=Ve([U(R,_("Function")),We,Ke]);var Qe=U(R,_("Object")),Je=Ae(Ne(Xe,U(be,ne(be(Object)))),["constructor"]);const Ze=Ie(1,function(e){if(!qe(e)||!Qe(e))return!1;var t=Object.getPrototypeOf(e);return!!Pe(t)||Je(t)});const et=u(function(e){return Ie(M(_e,0,Ye("length",e)),function(){for(var t=0,n=e.length;t<n;){if(!e[t].apply(this,arguments))return!1;t+=1}return!0})});var tt=u(function(e){return null!=e&&"function"==typeof e["fantasy-land/empty"]?e["fantasy-land/empty"]():null!=e&&null!=e.constructor&&"function"==typeof e.constructor["fantasy-land/empty"]?e.constructor["fantasy-land/empty"]():null!=e&&"function"==typeof e.empty?e.empty():null!=e&&null!=e.constructor&&"function"==typeof e.constructor.empty?e.constructor.empty():k(e)?[]:T(e)?"":ue(e)?{}:V(e)?function(){return arguments}():function(e){var t=Object.prototype.toString.call(e);return"[object Uint8ClampedArray]"===t||"[object Int8Array]"===t||"[object Uint8Array]"===t||"[object Int16Array]"===t||"[object Uint16Array]"===t||"[object Int32Array]"===t||"[object Uint32Array]"===t||"[object Float32Array]"===t||"[object Float64Array]"===t||"[object BigInt64Array]"===t||"[object BigUint64Array]"===t}(e)?e.constructor.from(""):void 0});const nt=tt;const rt=u(function(e){return null!=e&&ne(e,nt(e))});const ot=u(function(e){return!rt(e)});const st=Ie(1,U(R,_("String")));const it=p(function(e,t){return e||t});const at=et([st,Be(Ie(1,Ne(Ue,p(function(e,t){return ke(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:Me(it)(e,t)})(He,Xe)))),ot]),ct=function(){const e=ht,t=dt,n=this,r="parser.js: Parser(): ";n.ast=void 0,n.stats=void 0,n.trace=void 0,n.callbacks=[];let o,s,i,a,c,l,u,p=0,d=0,h=0,f=0,m=0,y=new function(){this.state=e.ACTIVE,this.phraseLength=0,this.refresh=()=>{this.state=e.ACTIVE,this.phraseLength=0}};n.parse=(g,x,v,w)=>{const A=`${r}parse(): `;p=0,d=0,h=0,f=0,m=0,o=void 0,s=void 0,i=void 0,a=void 0,y.refresh(),c=void 0,l=void 0,u=void 0,a=t.stringToChars(v),o=g.rules,s=g.udts;const k=x.toLowerCase();let T;for(const e in o)if(o.hasOwnProperty(e)&&k===o[e].lower){T=o[e].index;break}if(void 0===T)throw new Error(`${A}start rule name '${startRule}' not recognized`);(()=>{const e=`${r}initializeCallbacks(): `;let t,i;for(c=[],l=[],t=0;t<o.length;t+=1)c[t]=void 0;for(t=0;t<s.length;t+=1)l[t]=void 0;const a=[];for(t=0;t<o.length;t+=1)a.push(o[t].lower);for(t=0;t<s.length;t+=1)a.push(s[t].lower);for(const r in n.callbacks)if(n.callbacks.hasOwnProperty(r)){if(t=a.indexOf(r.toLowerCase()),t<0)throw new Error(`${e}syntax callback '${r}' not a rule or udt name`);if(i=n.callbacks[r]?n.callbacks[r]:void 0,"function"!=typeof i&&void 0!==i)throw new Error(`${e}syntax callback[${r}] must be function reference or falsy)`);t<o.length?c[t]=i:l[t-o.length]=i}})(),n.trace&&n.trace.init(o,s,a),n.stats&&n.stats.init(o,s),n.ast&&n.ast.init(o,s,a),u=w,i=[{type:e.RNM,index:T}],b(0,0),i=void 0;let F=!1;switch(y.state){case e.ACTIVE:throw new Error(`${A}final state should never be 'ACTIVE'`);case e.NOMATCH:F=!1;break;case e.EMPTY:case e.MATCH:F=y.phraseLength===a.length;break;default:throw new Error("unrecognized state")}return{success:F,state:y.state,stateName:e.idName(y.state),length:a.length,matched:y.phraseLength,maxMatched:m,maxTreeDepth:h,nodeHits:f}};const g=(t,n,o,s)=>{if(n.phraseLength>o){let e=`${r}opRNM(${t.name}): callback function error: `;throw e+=`sysData.phraseLength: ${n.phraseLength}`,e+=` must be <= remaining chars: ${o}`,new Error(e)}switch(n.state){case e.ACTIVE:if(!s)throw new Error(`${r}opRNM(${t.name}): callback function return error. ACTIVE state not allowed.`);break;case e.EMPTY:n.phraseLength=0;break;case e.MATCH:0===n.phraseLength&&(n.state=e.EMPTY);break;case e.NOMATCH:n.phraseLength=0;break;default:throw new Error(`${r}opRNM(${t.name}): callback function return error. Unrecognized return state: ${n.state}`)}},x=(t,c)=>{let d,h,f;const m=i[t],g=s[m.index];y.UdtIndex=g.index,p||(f=n.ast&&n.ast.udtDefined(m.index),f&&(h=o.length+m.index,d=n.ast.getLength(),n.ast.down(h,g.name)));const x=a.length-c;l[m.index](y,a,c,u),((t,n,o)=>{if(n.phraseLength>o){let e=`${r}opUDT(${t.name}): callback function error: `;throw e+=`sysData.phraseLength: ${n.phraseLength}`,e+=` must be <= remaining chars: ${o}`,new Error(e)}switch(n.state){case e.ACTIVE:throw new Error(`${r}opUDT(${t.name}) ACTIVE state return not allowed.`);case e.EMPTY:if(!t.empty)throw new Error(`${r}opUDT(${t.name}) may not return EMPTY.`);n.phraseLength=0;break;case e.MATCH:if(0===n.phraseLength){if(!t.empty)throw new Error(`${r}opUDT(${t.name}) may not return EMPTY.`);n.state=e.EMPTY}break;case e.NOMATCH:n.phraseLength=0;break;default:throw new Error(`${r}opUDT(${t.name}): callback function return error. Unrecognized return state: ${n.state}`)}})(g,y,x),p||f&&(y.state===e.NOMATCH?n.ast.setLength(d):n.ast.up(h,g.name,c,y.phraseLength))},b=(t,s)=>{const l=`${r}opExecute(): `,v=i[t];switch(f+=1,d>h&&(h=d),d+=1,y.refresh(),n.trace&&n.trace.down(v,s),v.type){case e.ALT:((t,n)=>{const r=i[t];for(let t=0;t<r.children.length&&(b(r.children[t],n),y.state===e.NOMATCH);t+=1);})(t,s);break;case e.CAT:((t,r)=>{let o,s,a,c;const l=i[t];n.ast&&(s=n.ast.getLength()),o=!0,a=r,c=0;for(let t=0;t<l.children.length;t+=1){if(b(l.children[t],a),y.state===e.NOMATCH){o=!1;break}a+=y.phraseLength,c+=y.phraseLength}o?(y.state=0===c?e.EMPTY:e.MATCH,y.phraseLength=c):(y.state=e.NOMATCH,y.phraseLength=0,n.ast&&n.ast.setLength(s))})(t,s);break;case e.REP:((t,r)=>{let o,s,c,l;const u=i[t];if(0===u.max)return y.state=e.EMPTY,void(y.phraseLength=0);for(s=r,c=0,l=0,n.ast&&(o=n.ast.getLength());!(s>=a.length)&&(b(t+1,s),y.state!==e.NOMATCH)&&y.state!==e.EMPTY&&(l+=1,c+=y.phraseLength,s+=y.phraseLength,l!==u.max););y.state===e.EMPTY||l>=u.min?(y.state=0===c?e.EMPTY:e.MATCH,y.phraseLength=c):(y.state=e.NOMATCH,y.phraseLength=0,n.ast&&n.ast.setLength(o))})(t,s);break;case e.RNM:((t,r)=>{let s,l,d;const h=i[t],f=o[h.index],m=c[f.index];if(p||(l=n.ast&&n.ast.ruleDefined(h.index),l&&(s=n.ast.getLength(),n.ast.down(h.index,o[h.index].name))),m){const t=a.length-r;m(y,a,r,u),g(f,y,t,!0),y.state===e.ACTIVE&&(d=i,i=f.opcodes,b(0,r),i=d,m(y,a,r,u),g(f,y,t,!1))}else d=i,i=f.opcodes,b(0,r,y),i=d;p||l&&(y.state===e.NOMATCH?n.ast.setLength(s):n.ast.up(h.index,f.name,r,y.phraseLength))})(t,s);break;case e.TRG:((t,n)=>{const r=i[t];y.state=e.NOMATCH,n<a.length&&r.min<=a[n]&&a[n]<=r.max&&(y.state=e.MATCH,y.phraseLength=1)})(t,s);break;case e.TBS:((t,n)=>{const r=i[t],o=r.string.length;if(y.state=e.NOMATCH,n+o<=a.length){for(let e=0;e<o;e+=1)if(a[n+e]!==r.string[e])return;y.state=e.MATCH,y.phraseLength=o}})(t,s);break;case e.TLS:((t,n)=>{let r;const o=i[t];y.state=e.NOMATCH;const s=o.string.length;if(0!==s){if(n+s<=a.length){for(let e=0;e<s;e+=1)if(r=a[n+e],r>=65&&r<=90&&(r+=32),r!==o.string[e])return;y.state=e.MATCH,y.phraseLength=s}}else y.state=e.EMPTY})(t,s);break;case e.UDT:x(t,s);break;case e.AND:((t,n)=>{switch(p+=1,b(t+1,n),p-=1,y.phraseLength=0,y.state){case e.EMPTY:case e.MATCH:y.state=e.EMPTY;break;case e.NOMATCH:y.state=e.NOMATCH;break;default:throw new Error(`opAND: invalid state ${y.state}`)}})(t,s);break;case e.NOT:((t,n)=>{switch(p+=1,b(t+1,n),p-=1,y.phraseLength=0,y.state){case e.EMPTY:case e.MATCH:y.state=e.NOMATCH;break;case e.NOMATCH:y.state=e.EMPTY;break;default:throw new Error(`opNOT: invalid state ${y.state}`)}})(t,s);break;default:throw new Error(`${l}unrecognized operator`)}p||s+y.phraseLength>m&&(m=s+y.phraseLength),n.stats&&n.stats.collect(v,y),n.trace&&n.trace.up(v,y.state,s,y.phraseLength),d-=1}},lt=function(){const e=ht,t=dt,n=this;let r,o,s,i=0;const a=[],c=[],l=[];function u(e){let t="";for(;e-- >0;)t+=" ";return t}n.callbacks=[],n.init=(e,t,u)=>{let p;c.length=0,l.length=0,i=0,r=e,o=t,s=u;const d=[];for(p=0;p<r.length;p+=1)d.push(r[p].lower);for(p=0;p<o.length;p+=1)d.push(o[p].lower);for(i=r.length+o.length,p=0;p<i;p+=1)a[p]=void 0;for(const e in n.callbacks)if(n.callbacks.hasOwnProperty(e)){const t=e.toLowerCase();if(p=d.indexOf(t),p<0)throw new Error(`parser.js: Ast()): init: node '${e}' not a rule or udt name`);a[p]=n.callbacks[e]}},n.ruleDefined=e=>!!a[e],n.udtDefined=e=>!!a[r.length+e],n.down=(t,n)=>{const r=l.length;return c.push(r),l.push({name:n,thisIndex:r,thatIndex:void 0,state:e.SEM_PRE,callbackIndex:t,phraseIndex:void 0,phraseLength:void 0,stack:c.length}),r},n.up=(t,n,r,o)=>{const s=l.length,i=c.pop();return l.push({name:n,thisIndex:s,thatIndex:i,state:e.SEM_POST,callbackIndex:t,phraseIndex:r,phraseLength:o,stack:c.length}),l[i].thatIndex=s,l[i].phraseIndex=r,l[i].phraseLength=o,s},n.translate=t=>{let n,r;for(let o=0;o<l.length;o+=1)r=l[o],n=a[r.callbackIndex],n&&(r.state===e.SEM_PRE?n(e.SEM_PRE,s,r.phraseIndex,r.phraseLength,t):n&&n(e.SEM_POST,s,r.phraseIndex,r.phraseLength,t))},n.setLength=e=>{l.length=e,c.length=e>0?l[e-1].stack:0},n.getLength=()=>l.length,n.toXml=()=>{let n="",r=0;return n+='<?xml version="1.0" encoding="utf-8"?>\n',n+=`<root nodes="${l.length/2}" characters="${s.length}">\n`,n+="\x3c!-- input string --\x3e\n",n+=u(r+2),n+=t.charsToXmlString(s),n+="\n",l.forEach(o=>{o.state===e.SEM_PRE?(r+=1,n+=u(r),n+=`<node name="${o.name}" index="${o.phraseIndex}" length="${o.phraseLength}">\n`,n+=u(r+2),n+=t.charsToXmlString(s,o.phraseIndex,o.phraseLength),n+="\n"):(n+=u(r),n+=`</node>\x3c!-- name="${o.name}" --\x3e\n`,r-=1)}),n+="</root>\n",n}},ut=function(){const e=ht,t=dt,n="parser.js: Trace(): ";let r,o,s,i="",a=0;const c=this,l=e=>{let t="",n=0;if(e>=0)for(;e--;)n+=1,5===n?(t+="|",n=0):t+=".";return t};c.init=(e,t,n)=>{o=e,s=t,r=n};const u=r=>{let i;switch(r.type){case e.ALT:i="ALT";break;case e.CAT:i="CAT";break;case e.REP:i=r.max===1/0?`REP(${r.min},inf)`:`REP(${r.min},${r.max})`;break;case e.RNM:i=`RNM(${o[r.index].name})`;break;case e.TRG:i=`TRG(${r.min},${r.max})`;break;case e.TBS:i=r.string.length>6?`TBS(${t.charsToString(r.string,0,3)}...)`:`TBS(${t.charsToString(r.string,0,6)})`;break;case e.TLS:i=r.string.length>6?`TLS(${t.charsToString(r.string,0,3)}...)`:`TLS(${t.charsToString(r.string,0,6)})`;break;case e.UDT:i=`UDT(${s[r.index].name})`;break;case e.AND:i="AND";break;case e.NOT:i="NOT";break;default:throw new Error(`${n}Trace: opName: unrecognized opcode`)}return i};c.down=(e,n)=>{const o=l(a),s=Math.min(100,r.length-n);let c=t.charsToString(r,n,s);s<r.length-n&&(c+="..."),c=`${o}|-|[${u(e)}]${c}\n`,i+=c,a+=1},c.up=(o,s,c,p)=>{const d=`${n}trace.up: `;a-=1;const h=l(a);let f,m,y;switch(s){case e.EMPTY:y="|E|",m="''";break;case e.MATCH:y="|M|",f=Math.min(100,p),m=f<p?`'${t.charsToString(r,c,f)}...'`:`'${t.charsToString(r,c,f)}'`;break;case e.NOMATCH:y="|N|",m="";break;default:throw new Error(`${d} unrecognized state`)}m=`${h}${y}[${u(o)}]${m}\n`,i+=m},c.displayTrace=()=>i},pt=function(){const e=ht;let t,n,r;const o=[],s=[],i=[];this.init=(e,r)=>{t=e,n=r,d()},this.collect=(t,n)=>{h(r,n.state,n.phraseLength),h(o[t.type],n.state,n.phraseLength),t.type===e.RNM&&h(s[t.index],n.state,n.phraseLength),t.type===e.UDT&&h(i[t.index],n.state,n.phraseLength)},this.displayStats=()=>{let t="";const n={match:0,empty:0,nomatch:0,total:0},r=(e,t,r,o,s)=>{n.match+=t,n.empty+=r,n.nomatch+=o,n.total+=s;return`${e} | ${a(t)} | ${a(r)} | ${a(o)} | ${a(s)} |\n`};return t+=" OPERATOR STATS\n",t+=" | MATCH | EMPTY | NOMATCH | TOTAL |\n",t+=r(" ALT",o[e.ALT].match,o[e.ALT].empty,o[e.ALT].nomatch,o[e.ALT].total),t+=r(" CAT",o[e.CAT].match,o[e.CAT].empty,o[e.CAT].nomatch,o[e.CAT].total),t+=r(" REP",o[e.REP].match,o[e.REP].empty,o[e.REP].nomatch,o[e.REP].total),t+=r(" RNM",o[e.RNM].match,o[e.RNM].empty,o[e.RNM].nomatch,o[e.RNM].total),t+=r(" TRG",o[e.TRG].match,o[e.TRG].empty,o[e.TRG].nomatch,o[e.TRG].total),t+=r(" TBS",o[e.TBS].match,o[e.TBS].empty,o[e.TBS].nomatch,o[e.TBS].total),t+=r(" TLS",o[e.TLS].match,o[e.TLS].empty,o[e.TLS].nomatch,o[e.TLS].total),t+=r(" UDT",o[e.UDT].match,o[e.UDT].empty,o[e.UDT].nomatch,o[e.UDT].total),t+=r(" AND",o[e.AND].match,o[e.AND].empty,o[e.AND].nomatch,o[e.AND].total),t+=r(" NOT",o[e.NOT].match,o[e.NOT].empty,o[e.NOT].nomatch,o[e.NOT].total),t+=r("TOTAL",n.match,n.empty,n.nomatch,n.total),t},this.displayHits=e=>{let t="";const n=(e,t,n,o,s)=>{r.match+=e,r.empty+=t,r.nomatch+=n,r.total+=o;return`| ${a(e)} | ${a(t)} | ${a(n)} | ${a(o)} | ${s}\n`};"string"==typeof e&&"a"===e.toLowerCase()[0]?(s.sort(c),i.sort(c),t+=" RULES/UDTS ALPHABETICALLY\n"):"string"==typeof e&&"i"===e.toLowerCase()[0]?(s.sort(u),i.sort(u),t+=" RULES/UDTS BY INDEX\n"):(s.sort(l),i.sort(l),t+=" RULES/UDTS BY HIT COUNT\n"),t+="| MATCH | EMPTY | NOMATCH | TOTAL | NAME\n";for(let e=0;e<s.length;e+=1){let r=s[e];r.total&&(t+=n(r.match,r.empty,r.nomatch,r.total,r.name))}for(let e=0;e<i.length;e+=1){let r=i[e];r.total&&(t+=n(r.match,r.empty,r.nomatch,r.total,r.name))}return t};const a=e=>e<10?` ${e}`:e<100?` ${e}`:e<1e3?` ${e}`:e<1e4?` ${e}`:e<1e5?` ${e}`:e<1e6?` ${e}`:`${e}`,c=(e,t)=>e.lower<t.lower?-1:e.lower>t.lower?1:0,l=(e,t)=>e.total<t.total?1:e.total>t.total?-1:c(e,t),u=(e,t)=>e.index<t.index?-1:e.index>t.index?1:0,p=function(){this.empty=0,this.match=0,this.nomatch=0,this.total=0},d=()=>{o.length=0,r=new p,o[e.ALT]=new p,o[e.CAT]=new p,o[e.REP]=new p,o[e.RNM]=new p,o[e.TRG]=new p,o[e.TBS]=new p,o[e.TLS]=new p,o[e.UDT]=new p,o[e.AND]=new p,o[e.NOT]=new p,s.length=0;for(let e=0;e<t.length;e+=1)s.push({empty:0,match:0,nomatch:0,total:0,name:t[e].name,lower:t[e].lower,index:t[e].index});if(n.length>0){i.length=0;for(let e=0;e<n.length;e+=1)i.push({empty:0,match:0,nomatch:0,total:0,name:n[e].name,lower:n[e].lower,index:n[e].index})}},h=(t,n)=>{switch(t.total+=1,n){case e.EMPTY:t.empty+=1;break;case e.MATCH:t.match+=1;break;case e.NOMATCH:t.nomatch+=1;break;default:throw new Error(`parser.js: Stats(): collect(): incStat(): unrecognized state: ${n}`)}}},dt={stringToChars:e=>[...e].map(e=>e.codePointAt(0)),charsToString:(e,t,n)=>{let r=e;for(;!(void 0===t||t<0);){if(void 0===n){r=e.slice(t);break}if(n<=0)return"";r=e.slice(t,t+n);break}return String.fromCodePoint(...r)},charsToXmlString:(e,t,n)=>dt.charsToString(e,t,n).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/'/g,"'").replace(/"/g,""")},ht={ALT:1,CAT:2,REP:3,RNM:4,TRG:5,TBS:6,TLS:7,UDT:11,AND:12,NOT:13,ACTIVE:100,MATCH:101,EMPTY:102,NOMATCH:103,SEM_PRE:200,SEM_POST:201,SEM_OK:300,idName:e=>{switch(e){case ht.ALT:return"ALT";case ht.CAT:return"CAT";case ht.REP:return"REP";case ht.RNM:return"RNM";case ht.TRG:return"TRG";case ht.TBS:return"TBS";case ht.TLS:return"TLS";case ht.UDT:return"UDT";case ht.AND:return"AND";case ht.NOT:return"NOT";case ht.ACTIVE:return"ACTIVE";case ht.EMPTY:return"EMPTY";case ht.MATCH:return"MATCH";case ht.NOMATCH:return"NOMATCH";case ht.SEM_PRE:return"SEM_PRE";case ht.SEM_POST:return"SEM_POST";case ht.SEM_OK:return"SEM_OK";default:return"UNRECOGNIZED STATE"}}};const ft=(e,t,n,r,o)=>{if(e===ht.SEM_PRE){if(!1===Array.isArray(o))throw new Error("parser's user data must be an array");o.push(["server-url-template",dt.charsToString(t,n,r)])}return ht.SEM_OK},mt=(e,t,n,r,o)=>{if(e===ht.SEM_PRE){if(!1===Array.isArray(o))throw new Error("parser's user data must be an array");o.push(["server-variable",dt.charsToString(t,n,r)])}return ht.SEM_OK},yt=(e,t,n,r,o)=>{if(e===ht.SEM_PRE){if(!1===Array.isArray(o))throw new Error("parser's user data must be an array");o.push(["server-variable-name",dt.charsToString(t,n,r)])}return ht.SEM_OK},gt=(e,t,n,r,o)=>{if(e===ht.SEM_PRE){if(!1===Array.isArray(o))throw new Error("parser's user data must be an array");o.push(["literals",dt.charsToString(t,n,r)])}return ht.SEM_OK},xt=new function(){this.grammarObject="grammarObject",this.rules=[],this.rules[0]={name:"server-url-template",lower:"server-url-template",index:0,isBkr:!1},this.rules[1]={name:"server-variable",lower:"server-variable",index:1,isBkr:!1},this.rules[2]={name:"server-variable-name",lower:"server-variable-name",index:2,isBkr:!1},this.rules[3]={name:"literals",lower:"literals",index:3,isBkr:!1},this.rules[4]={name:"DIGIT",lower:"digit",index:4,isBkr:!1},this.rules[5]={name:"HEXDIG",lower:"hexdig",index:5,isBkr:!1},this.rules[6]={name:"pct-encoded",lower:"pct-encoded",index:6,isBkr:!1},this.rules[7]={name:"ucschar",lower:"ucschar",index:7,isBkr:!1},this.rules[8]={name:"iprivate",lower:"iprivate",index:8,isBkr:!1},this.udts=[],this.rules[0].opcodes=[],this.rules[0].opcodes[0]={type:3,min:1,max:1/0},this.rules[0].opcodes[1]={type:1,children:[2,3]},this.rules[0].opcodes[2]={type:4,index:3},this.rules[0].opcodes[3]={type:4,index:1},this.rules[1].opcodes=[],this.rules[1].opcodes[0]={type:2,children:[1,2,3]},this.rules[1].opcodes[1]={type:7,string:[123]},this.rules[1].opcodes[2]={type:4,index:2},this.rules[1].opcodes[3]={type:7,string:[125]},this.rules[2].opcodes=[],this.rules[2].opcodes[0]={type:3,min:1,max:1/0},this.rules[2].opcodes[1]={type:1,children:[2,3,4]},this.rules[2].opcodes[2]={type:5,min:0,max:122},this.rules[2].opcodes[3]={type:6,string:[124]},this.rules[2].opcodes[4]={type:5,min:126,max:1114111},this.rules[3].opcodes=[],this.rules[3].opcodes[0]={type:3,min:1,max:1/0},this.rules[3].opcodes[1]={type:1,children:[2,3,4,5,6,7,8,9,10,11,12,13]},this.rules[3].opcodes[2]={type:6,string:[33]},this.rules[3].opcodes[3]={type:5,min:35,max:36},this.rules[3].opcodes[4]={type:5,min:38,max:59},this.rules[3].opcodes[5]={type:6,string:[61]},this.rules[3].opcodes[6]={type:5,min:63,max:91},this.rules[3].opcodes[7]={type:6,string:[93]},this.rules[3].opcodes[8]={type:6,string:[95]},this.rules[3].opcodes[9]={type:5,min:97,max:122},this.rules[3].opcodes[10]={type:6,string:[126]},this.rules[3].opcodes[11]={type:4,index:7},this.rules[3].opcodes[12]={type:4,index:8},this.rules[3].opcodes[13]={type:4,index:6},this.rules[4].opcodes=[],this.rules[4].opcodes[0]={type:5,min:48,max:57},this.rules[5].opcodes=[],this.rules[5].opcodes[0]={type:1,children:[1,2,3,4,5,6,7]},this.rules[5].opcodes[1]={type:4,index:4},this.rules[5].opcodes[2]={type:7,string:[97]},this.rules[5].opcodes[3]={type:7,string:[98]},this.rules[5].opcodes[4]={type:7,string:[99]},this.rules[5].opcodes[5]={type:7,string:[100]},this.rules[5].opcodes[6]={type:7,string:[101]},this.rules[5].opcodes[7]={type:7,string:[102]},this.rules[6].opcodes=[],this.rules[6].opcodes[0]={type:2,children:[1,2,3]},this.rules[6].opcodes[1]={type:7,string:[37]},this.rules[6].opcodes[2]={type:4,index:5},this.rules[6].opcodes[3]={type:4,index:5},this.rules[7].opcodes=[],this.rules[7].opcodes[0]={type:1,children:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]},this.rules[7].opcodes[1]={type:5,min:160,max:55295},this.rules[7].opcodes[2]={type:5,min:63744,max:64975},this.rules[7].opcodes[3]={type:5,min:65008,max:65519},this.rules[7].opcodes[4]={type:5,min:65536,max:131069},this.rules[7].opcodes[5]={type:5,min:131072,max:196605},this.rules[7].opcodes[6]={type:5,min:196608,max:262141},this.rules[7].opcodes[7]={type:5,min:262144,max:327677},this.rules[7].opcodes[8]={type:5,min:327680,max:393213},this.rules[7].opcodes[9]={type:5,min:393216,max:458749},this.rules[7].opcodes[10]={type:5,min:458752,max:524285},this.rules[7].opcodes[11]={type:5,min:524288,max:589821},this.rules[7].opcodes[12]={type:5,min:589824,max:655357},this.rules[7].opcodes[13]={type:5,min:655360,max:720893},this.rules[7].opcodes[14]={type:5,min:720896,max:786429},this.rules[7].opcodes[15]={type:5,min:786432,max:851965},this.rules[7].opcodes[16]={type:5,min:851968,max:917501},this.rules[7].opcodes[17]={type:5,min:921600,max:983037},this.rules[8].opcodes=[],this.rules[8].opcodes[0]={type:1,children:[1,2,3]},this.rules[8].opcodes[1]={type:5,min:57344,max:63743},this.rules[8].opcodes[2]={type:5,min:983040,max:1048573},this.rules[8].opcodes[3]={type:5,min:1048576,max:1114109},this.toString=function(){let e="";return e+="; OpenAPI Server URL templating ABNF syntax\n",e+="server-url-template = 1*( literals / server-variable ) ; variant of https://www.rfc-editor.org/rfc/rfc6570#section-2\n",e+='server-variable = "{" server-variable-name "}"\n',e+="server-variable-name = 1*( %x00-7A / %x7C / %x7E-10FFFF ) ; every UTF8 character except { and } (from OpenAPI)\n",e+="\n",e+="; https://www.rfc-editor.org/rfc/rfc6570#section-2.1\n",e+="; https://www.rfc-editor.org/errata/eid6937\n",e+="literals = 1*( %x21 / %x23-24 / %x26-3B / %x3D / %x3F-5B\n",e+=" / %x5D / %x5F / %x61-7A / %x7E / ucschar / iprivate\n",e+=" / pct-encoded)\n",e+=" ; any Unicode character except: CTL, SP,\n",e+=' ; DQUOTE, "%" (aside from pct-encoded),\n',e+=' ; "<", ">", "\\", "^", "`", "{", "|", "}"\n',e+="\n",e+="; https://www.rfc-editor.org/rfc/rfc6570#section-1.5\n",e+="DIGIT = %x30-39 ; 0-9\n",e+='HEXDIG = DIGIT / "A" / "B" / "C" / "D" / "E" / "F" ; case-insensitive\n',e+="\n",e+='pct-encoded = "%" HEXDIG HEXDIG\n',e+="\n",e+="ucschar = %xA0-D7FF / %xF900-FDCF / %xFDF0-FFEF\n",e+=" / %x10000-1FFFD / %x20000-2FFFD / %x30000-3FFFD\n",e+=" / %x40000-4FFFD / %x50000-5FFFD / %x60000-6FFFD\n",e+=" / %x70000-7FFFD / %x80000-8FFFD / %x90000-9FFFD\n",e+=" / %xA0000-AFFFD / %xB0000-BFFFD / %xC0000-CFFFD\n",e+=" / %xD0000-DFFFD / %xE1000-EFFFD\n",e+="\n",e+="iprivate = %xE000-F8FF / %xF0000-FFFFD / %x100000-10FFFD\n",'; OpenAPI Server URL templating ABNF syntax\nserver-url-template = 1*( literals / server-variable ) ; variant of https://www.rfc-editor.org/rfc/rfc6570#section-2\nserver-variable = "{" server-variable-name "}"\nserver-variable-name = 1*( %x00-7A / %x7C / %x7E-10FFFF ) ; every UTF8 character except { and } (from OpenAPI)\n\n; https://www.rfc-editor.org/rfc/rfc6570#section-2.1\n; https://www.rfc-editor.org/errata/eid6937\nliterals = 1*( %x21 / %x23-24 / %x26-3B / %x3D / %x3F-5B\n / %x5D / %x5F / %x61-7A / %x7E / ucschar / iprivate\n / pct-encoded)\n ; any Unicode character except: CTL, SP,\n ; DQUOTE, "%" (aside from pct-encoded),\n ; "<", ">", "\\", "^", "`", "{", "|", "}"\n\n; https://www.rfc-editor.org/rfc/rfc6570#section-1.5\nDIGIT = %x30-39 ; 0-9\nHEXDIG = DIGIT / "A" / "B" / "C" / "D" / "E" / "F" ; case-insensitive\n\npct-encoded = "%" HEXDIG HEXDIG\n\nucschar = %xA0-D7FF / %xF900-FDCF / %xFDF0-FFEF\n / %x10000-1FFFD / %x20000-2FFFD / %x30000-3FFFD\n / %x40000-4FFFD / %x50000-5FFFD / %x60000-6FFFD\n / %x70000-7FFFD / %x80000-8FFFD / %x90000-9FFFD\n / %xA0000-AFFFD / %xB0000-BFFFD / %xC0000-CFFFD\n / %xD0000-DFFFD / %xE1000-EFFFD\n\niprivate = %xE000-F8FF / %xF0000-FFFFD / %x100000-10FFFD\n'}},bt=e=>{const t=new ct;t.ast=new lt,t.ast.callbacks["server-url-template"]=ft,t.ast.callbacks["server-variable"]=mt,t.ast.callbacks["server-variable-name"]=yt,t.ast.callbacks.literals=gt;return{result:t.parse(xt,"server-url-template",e),ast:t.ast}},vt=(e,{strict:t=!1}={})=>{try{const n=bt(e);if(!n.result.success)return!1;const r=[];n.ast.translate(r);const o=r.some(([e])=>"server-variable"===e);if(!t&&!o)try{return new URL(e,"https://vladimirgorej.com"),!0}catch{return!1}return!t||o}catch{return!1}},wt=e=>(e=>{try{return"string"==typeof e&&decodeURIComponent(e)!==e}catch{return!1}})(e)?e:encodeURIComponent(e).replace(/%5B/g,"[").replace(/%5D/g,"]"),At=["literals","server-variable-name"],kt=(e,t,n={})=>{const r={...{encoder:wt},...n},o=bt(e);if(!o.result.success)return e;const s=[];o.ast.translate(s);const i=s.filter(([e])=>At.includes(e)).map(([e,n])=>"server-variable-name"===e?Object.hasOwn(t,n)?r.encoder(t[n],n):`{${n}}`:n);return i.join("")},Tt=Object.freeze({url:"/"});function Ft(e,t){return t||"undefined"==typeof navigator||(t=navigator),t&&"ReactNative"===t.product?!(!e||"object"!=typeof e||"string"!=typeof e.uri):"undefined"!=typeof File&&e instanceof File||("undefined"!=typeof Blob&&e instanceof Blob||(!!ArrayBuffer.isView(e)||null!==e&&"object"==typeof e&&"function"==typeof e.pipe))}function St(e,t){return Array.isArray(e)&&e.some(e=>Ft(e,t))}class Ot extends File{constructor(e,t="",n={}){super([e],t,n),this.data=e}valueOf(){return this.data}toString(){return this.valueOf()}}const Et=e=>":/?#[]@!$&'()*+,;=".indexOf(e)>-1,Ct=e=>/^[a-z0-9\-._~]+$/i.test(e);function jt(e,t="reserved"){return[...e].map(e=>{if(Ct(e))return e;if(Et(e)&&"unsafe"===t)return e;const n=new TextEncoder;return Array.from(n.encode(e)).map(e=>`0${e.toString(16).toUpperCase()}`.slice(-2)).map(e=>`%${e}`).join("")}).join("")}function It(e){const{value:t}=e;return Array.isArray(t)?function({key:e,value:t,style:n,explode:r,escape:o}){if("simple"===n)return t.map(e=>Dt(e,o)).join(",");if("label"===n)return`.${t.map(e=>Dt(e,o)).join(".")}`;if("matrix"===n)return t.map(e=>Dt(e,o)).reduce((t,n)=>!t||r?`${t||""};${e}=${n}`:`${t},${n}`,"");if("form"===n){const n=r?`&${e}=`:",";return t.map(e=>Dt(e,o)).join(n)}if("spaceDelimited"===n){const n=r?`${e}=`:"";return t.map(e=>Dt(e,o)).join(` ${n}`)}if("pipeDelimited"===n){const n=r?`${e}=`:"";return t.map(e=>Dt(e,o)).join(`|${n}`)}return}(e):"object"==typeof t?function({key:e,value:t,style:n,explode:r,escape:o}){const s=Object.keys(t);if("simple"===n)return s.reduce((e,n)=>{const s=Dt(t[n],o);return`${e?`${e},`:""}${n}${r?"=":","}${s}`},"");if("label"===n)return s.reduce((e,n)=>{const s=Dt(t[n],o);return`${e?`${e}.`:"."}${n}${r?"=":"."}${s}`},"");if("matrix"===n&&r)return s.reduce((e,n)=>`${e?`${e};`:";"}${n}=${Dt(t[n],o)}`,"");if("matrix"===n)return s.reduce((n,r)=>{const s=Dt(t[r],o);return`${n?`${n},`:`;${e}=`}${r},${s}`},"");if("form"===n)return s.reduce((e,n)=>{const s=Dt(t[n],o);return`${e?`${e}${r?"&":","}`:""}${n}${r?"=":","}${s}`},"");return}(e):function({key:e,value:t,style:n,escape:r}){if("simple"===n)return Dt(t,r);if("label"===n)return`.${Dt(t,r)}`;if("matrix"===n)return`;${e}=${Dt(t,r)}`;if("form"===n)return Dt(t,r);if("deepObject"===n)return Dt(t,r);return}(e)}function Dt(e,t=!1){return Array.isArray(e)||null!==e&&"object"==typeof e?e=JSON.stringify(e):"number"!=typeof e&&"boolean"!=typeof e||(e=String(e)),t&&"string"==typeof e&&e.length>0?jt(e,t):e??""}const $t={form:",",spaceDelimited:"%20",pipeDelimited:"|"},Lt={csv:",",ssv:"%20",tsv:"%09",pipes:"|"};function Mt(e,t,n=!1){const{collectionFormat:r,allowEmptyValue:o,serializationOption:s,encoding:i}=t,a="object"!=typeof t||Array.isArray(t)?t:t.value,c=n?e=>e.toString():e=>encodeURIComponent(e),l=c(e);if(void 0===a&&o)return[[l,""]];if(Ft(a)||St(a))return[[l,a]];if(s)return Nt(e,a,n,s);if(i){if([typeof i.style,typeof i.explode,typeof i.allowReserved].some(e=>"undefined"!==e)){const{style:t,explode:r,allowReserved:o}=i;return Nt(e,a,n,{style:t,explode:r,allowReserved:o})}if("string"==typeof i.contentType){if(i.contentType.startsWith("application/json")){const e=c("string"==typeof a?a:JSON.stringify(a));return[[l,new Ot(e,"blob",{type:i.contentType})]]}const e=c(String(a));return[[l,new Ot(e,"blob",{type:i.contentType})]]}return"object"!=typeof a?[[l,c(a)]]:Array.isArray(a)&&a.every(e=>"object"!=typeof e)?[[l,a.map(c).join(",")]]:[[l,c(JSON.stringify(a))]]}return"object"!=typeof a?[[l,c(a)]]:Array.isArray(a)?"multi"===r?[[l,a.map(c)]]:[[l,a.map(c).join(Lt[r||"csv"])]]:[[l,""]]}function Nt(e,t,n,r){const o=r.style||"form",s=void 0===r.explode?"form"===o:r.explode,i=!n&&(r&&r.allowReserved?"unsafe":"reserved"),a=e=>Dt(e,i),c=n?e=>e:e=>a(e);return"object"!=typeof t?[[c(e),a(t)]]:Array.isArray(t)?s?[[c(e),t.map(a)]]:[[c(e),t.map(a).join($t[o])]]:"deepObject"===o?Object.keys(t).map(n=>[c(`${e}[${n}]`),a(t[n])]):s?Object.keys(t).map(e=>[c(e),a(t[e])]):[[c(e),Object.keys(t).map(e=>[`${c(e)},${a(t[e])}`]).join(",")]]}function Pt(e){return((e,{encode:t=!0}={})=>{const n=(e,t,r)=>(Array.isArray(r)?r.reduce((r,o)=>n(e,t,o),e):r instanceof Date?e.append(t,r.toISOString()):"object"==typeof r?Object.entries(r).reduce((r,[o,s])=>n(e,`${t}[${o}]`,s),e):e.append(t,r),e),r=Object.entries(e).reduce((e,[t,r])=>n(e,t,r),new URLSearchParams),o=String(r);return t?o:decodeURIComponent(o)})(Object.keys(e).reduce((t,n)=>{for(const[r,o]of Mt(n,e[n]))t[r]=o instanceof Ot?o.valueOf():o;return t},{}),{encode:!1})}function Bt(e={}){const{url:t="",query:n,form:r}=e;if(r){const t=Object.keys(r).some(e=>{const{value:t}=r[e];return Ft(t)||St(t)}),n=e.headers["content-type"]||e.headers["Content-Type"];if(t||/multipart\/form-data/i.test(n)){const t=(o=e.form,Object.entries(o).reduce((e,[t,n])=>{for(const[r,o]of Mt(t,n,!0))if(Array.isArray(o))for(const t of o)if(ArrayBuffer.isView(t)){const n=new Blob([t]);e.append(r,n)}else e.append(r,t);else if(ArrayBuffer.isView(o)){const t=new Blob([o]);e.append(r,t)}else e.append(r,o);return e},new FormData));e.formdata=t,e.body=t}else e.body=Pt(r);delete e.form}var o;if(n){const[r,o]=t.split("?");let s="";if(o){const e=new URLSearchParams(o);Object.keys(n).forEach(t=>e.delete(t)),s=String(e)}const i=((...e)=>{const t=e.filter(e=>e).join("&");return t?`?${t}`:""})(s,Pt(n));e.url=r+i,delete e.query}return e}function Ut(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Rt,Ht,qt,_t,Gt,zt,Yt,Vt,Wt,Kt,Xt,Qt,Jt,Zt,en,tn,nn,rn,on,sn,an,cn,ln,un,pn,dn,hn,fn,mn,yn,gn,xn,bn,vn,wn,An,kn,Tn,Fn,Sn,On,En,Cn,jn,In={},Dn={},$n={};function Ln(){if(Rt)return $n;function e(e){return null==e}return Rt=1,$n.isNothing=e,$n.isObject=function(e){return"object"==typeof e&&null!==e},$n.toArray=function(t){return Array.isArray(t)?t:e(t)?[]:[t]},$n.repeat=function(e,t){let n="";for(let r=0;r<t;r+=1)n+=e;return n},$n.isNegativeZero=function(e){return 0===e&&Number.NEGATIVE_INFINITY===1/e},$n.extend=function(e,t){if(t){const n=Object.keys(t);for(let r=0,o=n.length;r<o;r+=1){const o=n[r];e[o]=t[o]}}return e},$n}function Mn(){if(qt)return Ht;function e(e,t){let n="";const r=e.reason||"(unknown reason)";return e.mark?(e.mark.name&&(n+='in "'+e.mark.name+'" '),n+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")",!t&&e.mark.snippet&&(n+="\n\n"+e.mark.snippet),r+" "+n):r}function t(t,n){Error.call(this),this.name="YAMLException",this.reason=t,this.mark=n,this.message=e(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||""}return qt=1,t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t.prototype.toString=function(t){return this.name+": "+e(this,t)},Ht=t}function Nn(){if(Yt)return zt;Yt=1;const e=Mn(),t=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],n=["scalar","sequence","mapping"];return zt=function(r,o){if(o=o||{},Object.keys(o).forEach(function(n){if(-1===t.indexOf(n))throw new e('Unknown option "'+n+'" is met in definition of "'+r+'" YAML type.')}),this.options=o,this.tag=r,this.kind=o.kind||null,this.resolve=o.resolve||function(){return!0},this.construct=o.construct||function(e){return e},this.instanceOf=o.instanceOf||null,this.predicate=o.predicate||null,this.represent=o.represent||null,this.representName=o.representName||null,this.defaultStyle=o.defaultStyle||null,this.multi=o.multi||!1,this.styleAliases=function(e){const t={};return null!==e&&Object.keys(e).forEach(function(n){e[n].forEach(function(e){t[String(e)]=n})}),t}(o.styleAliases||null),-1===n.indexOf(this.kind))throw new e('Unknown kind "'+this.kind+'" is specified for "'+r+'" YAML type.')}}function Pn(){if(Wt)return Vt;Wt=1;const e=Mn(),t=Nn();function n(e,t){const n=[];return e[t].forEach(function(e){let t=n.length;n.forEach(function(n,r){n.tag===e.tag&&n.kind===e.kind&&n.multi===e.multi&&(t=r)}),n[t]=e}),n}function r(e){return this.extend(e)}return r.prototype.extend=function(o){let s=[],i=[];if(o instanceof t)i.push(o);else if(Array.isArray(o))i=i.concat(o);else{if(!o||!Array.isArray(o.implicit)&&!Array.isArray(o.explicit))throw new e("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");o.implicit&&(s=s.concat(o.implicit)),o.explicit&&(i=i.concat(o.explicit))}s.forEach(function(n){if(!(n instanceof t))throw new e("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(n.loadKind&&"scalar"!==n.loadKind)throw new e("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(n.multi)throw new e("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),i.forEach(function(n){if(!(n instanceof t))throw new e("Specified list of YAML types (or a single Type object) contains a non-Type object.")});const a=Object.create(r.prototype);return a.implicit=(this.implicit||[]).concat(s),a.explicit=(this.explicit||[]).concat(i),a.compiledImplicit=n(a,"implicit"),a.compiledExplicit=n(a,"explicit"),a.compiledTypeMap=function(){const e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function t(t){t.multi?(e.multi[t.kind].push(t),e.multi.fallback.push(t)):e[t.kind][t.tag]=e.fallback[t.tag]=t}for(let e=0,n=arguments.length;e<n;e+=1)arguments[e].forEach(t);return e}(a.compiledImplicit,a.compiledExplicit),a},Vt=r}function Bn(){if(Xt)return Kt;Xt=1;const e=Nn();return Kt=new e("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return null!==e?e:""}})}function Un(){if(Jt)return Qt;Jt=1;const e=Nn();return Qt=new e("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return null!==e?e:[]}})}function Rn(){if(en)return Zt;en=1;const e=Nn();return Zt=new e("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return null!==e?e:{}}})}function Hn(){if(nn)return tn;nn=1;const e=Pn();return tn=new e({explicit:[Bn(),Un(),Rn()]})}function qn(){if(on)return rn;on=1;const e=Nn();return rn=new e("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(e){if(null===e)return!0;const t=e.length;return 1===t&&"~"===e||4===t&&("null"===e||"Null"===e||"NULL"===e)},construct:function(){return null},predicate:function(e){return null===e},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"}),rn}function _n(){if(an)return sn;an=1;const e=Nn();return sn=new e("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(e){if(null===e)return!1;const t=e.length;return 4===t&&("true"===e||"True"===e||"TRUE"===e)||5===t&&("false"===e||"False"===e||"FALSE"===e)},construct:function(e){return"true"===e||"True"===e||"TRUE"===e},predicate:function(e){return"[object Boolean]"===Object.prototype.toString.call(e)},represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"}),sn}function Gn(){if(ln)return cn;ln=1;const e=Ln(),t=Nn();function n(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function r(e){return e>=48&&e<=55}function o(e){return e>=48&&e<=57}function s(e){let t=e,n=1,r=t[0];if("-"!==r&&"+"!==r||("-"===r&&(n=-1),t=t.slice(1),r=t[0]),"0"===t)return 0;if("0"===r){if("b"===t[1])return n*parseInt(t.slice(2),2);if("x"===t[1])return n*parseInt(t.slice(2),16);if("o"===t[1])return n*parseInt(t.slice(2),8)}return n*parseInt(t,10)}return cn=new t("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(e){if(null===e)return!1;const t=e.length;let i=0,a=!1;if(!t)return!1;let c=e[i];if("-"!==c&&"+"!==c||(c=e[++i]),"0"===c){if(i+1===t)return!0;if(c=e[++i],"b"===c){for(i++;i<t;i++){if(c=e[i],"0"!==c&&"1"!==c)return!1;a=!0}return a&&isFinite(s(e))}if("x"===c){for(i++;i<t;i++){if(!n(e.charCodeAt(i)))return!1;a=!0}return a&&isFinite(s(e))}if("o"===c){for(i++;i<t;i++){if(!r(e.charCodeAt(i)))return!1;a=!0}return a&&isFinite(s(e))}}for(;i<t;i++){if(!o(e.charCodeAt(i)))return!1;a=!0}return!!a&&isFinite(s(e))},construct:function(e){return s(e)},predicate:function(t){return"[object Number]"===Object.prototype.toString.call(t)&&t%1==0&&!e.isNegativeZero(t)},represent:{binary:function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),cn}function zn(){if(pn)return un;pn=1;const e=Ln(),t=Nn(),n=new RegExp("^(?:[-+]?(?:[0-9]+)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),r=new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");const o=/^[-+]?[0-9]+e/;return un=new t("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return null!==e&&(!!n.test(e)&&(!!isFinite(parseFloat(e,10))||r.test(e)))},construct:function(e){let t=e.toLowerCase();const n="-"===t[0]?-1:1;return"+-".indexOf(t[0])>=0&&(t=t.slice(1)),".inf"===t?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===t?NaN:n*parseFloat(t,10)},predicate:function(t){return"[object Number]"===Object.prototype.toString.call(t)&&(t%1!=0||e.isNegativeZero(t))},represent:function(t,n){if(isNaN(t))switch(n){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===t)switch(n){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===t)switch(n){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(e.isNegativeZero(t))return"-0.0";const r=t.toString(10);return o.test(r)?r.replace("e",".e"):r},defaultStyle:"lowercase"})}function Yn(){return hn?dn:(hn=1,dn=Hn().extend({implicit:[qn(),_n(),Gn(),zn()]}))}function Vn(){return mn?fn:(mn=1,fn=Yn())}function Wn(){if(gn)return yn;gn=1;const e=Nn(),t=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),n=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");return yn=new e("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return null!==e&&(null!==t.exec(e)||null!==n.exec(e))},construct:function(e){let r=0,o=null,s=t.exec(e);if(null===s&&(s=n.exec(e)),null===s)throw new Error("Date resolve error");const i=+s[1],a=+s[2]-1,c=+s[3];if(!s[4])return new Date(Date.UTC(i,a,c));const l=+s[4],u=+s[5],p=+s[6];if(s[7]){for(r=s[7].slice(0,3);r.length<3;)r+="0";r=+r}if(s[9]){o=6e4*(60*+s[10]+ +(s[11]||0)),"-"===s[9]&&(o=-o)}const d=new Date(Date.UTC(i,a,c,l,u,p,r));return o&&d.setTime(d.getTime()-o),d},instanceOf:Date,represent:function(e){return e.toISOString()}}),yn}function Kn(){if(bn)return xn;bn=1;const e=Nn();return xn=new e("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}})}function Xn(){if(wn)return vn;wn=1;const e=Nn(),t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";return vn=new e("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(null===e)return!1;let n=0;const r=e.length,o=t;for(let t=0;t<r;t++){const r=o.indexOf(e.charAt(t));if(!(r>64)){if(r<0)return!1;n+=6}}return n%8==0},construct:function(e){const n=e.replace(/[\r\n=]/g,""),r=n.length,o=t;let s=0;const i=[];for(let e=0;e<r;e++)e%4==0&&e&&(i.push(s>>16&255),i.push(s>>8&255),i.push(255&s)),s=s<<6|o.indexOf(n.charAt(e));const a=r%4*6;return 0===a?(i.push(s>>16&255),i.push(s>>8&255),i.push(255&s)):18===a?(i.push(s>>10&255),i.push(s>>2&255)):12===a&&i.push(s>>4&255),new Uint8Array(i)},predicate:function(e){return"[object Uint8Array]"===Object.prototype.toString.call(e)},represent:function(e){let n="",r=0;const o=e.length,s=t;for(let t=0;t<o;t++)t%3==0&&t&&(n+=s[r>>18&63],n+=s[r>>12&63],n+=s[r>>6&63],n+=s[63&r]),r=(r<<8)+e[t];const i=o%3;return 0===i?(n+=s[r>>18&63],n+=s[r>>12&63],n+=s[r>>6&63],n+=s[63&r]):2===i?(n+=s[r>>10&63],n+=s[r>>4&63],n+=s[r<<2&63],n+=s[64]):1===i&&(n+=s[r>>2&63],n+=s[r<<4&63],n+=s[64],n+=s[64]),n}}),vn}function Qn(){if(kn)return An;kn=1;const e=Nn(),t=Object.prototype.hasOwnProperty,n=Object.prototype.toString;return An=new e("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null===e)return!0;const r={},o=e;for(let e=0,s=o.length;e<s;e+=1){const s=o[e];let i,a=!1;if("[object Object]"!==n.call(s))return!1;for(i in s)if(t.call(s,i)){if(a)return!1;a=!0}if(!a)return!1;if(t.call(r,i))return!1;Object.defineProperty(r,i,{value:!0})}return!0},construct:function(e){return null!==e?e:[]}})}function Jn(){if(Fn)return Tn;Fn=1;const e=Nn(),t=Object.prototype.toString;return Tn=new e("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:function(e){if(null===e)return!0;const n=e,r=new Array(n.length);for(let e=0,o=n.length;e<o;e+=1){const o=n[e];if("[object Object]"!==t.call(o))return!1;const s=Object.keys(o);if(1!==s.length)return!1;r[e]=[s[0],o[s[0]]]}return!0},construct:function(e){if(null===e)return[];const t=e,n=new Array(t.length);for(let e=0,r=t.length;e<r;e+=1){const r=t[e],o=Object.keys(r);n[e]=[o[0],r[o[0]]]}return n}}),Tn}function Zn(){if(On)return Sn;On=1;const e=Nn(),t=Object.prototype.hasOwnProperty;return Sn=new e("tag:yaml.org,2002:set",{kind:"mapping",resolve:function(e){if(null===e)return!0;const n=e;for(const e in n)if(t.call(n,e)&&null!==n[e])return!1;return!0},construct:function(e){return null!==e?e:{}}})}function er(){return Cn?En:(Cn=1,En=Vn().extend({implicit:[Wn(),Kn()],explicit:[Xn(),Qn(),Jn(),Zn()]}))}function tr(){if(jn)return Dn;jn=1;const e=Ln(),t=Mn(),n=function(){if(Gt)return _t;Gt=1;const e=Ln();function t(e,t,n,r,o){let s="",i="";const a=Math.floor(o/2)-1;return r-t>a&&(s=" ... ",t=r-a+s.length),n-r>a&&(i=" ...",n=r+a-i.length),{str:s+e.slice(t,n).replace(/\t/g,"→")+i,pos:r-t+s.length}}function n(t,n){return e.repeat(" ",n-t.length)+t}return _t=function(r,o){if(o=Object.create(o||null),!r.buffer)return null;o.maxLength||(o.maxLength=79),"number"!=typeof o.indent&&(o.indent=1),"number"!=typeof o.linesBefore&&(o.linesBefore=3),"number"!=typeof o.linesAfter&&(o.linesAfter=2);const s=/\r?\n|\r|\0/g,i=[0],a=[];let c,l=-1;for(;c=s.exec(r.buffer);)a.push(c.index),i.push(c.index+c[0].length),r.position<=c.index&&l<0&&(l=i.length-2);l<0&&(l=i.length-1);let u="";const p=Math.min(r.line+o.linesAfter,a.length).toString().length,d=o.maxLength-(o.indent+p+3);for(let s=1;s<=o.linesBefore&&!(l-s<0);s++){const c=t(r.buffer,i[l-s],a[l-s],r.position-(i[l]-i[l-s]),d);u=e.repeat(" ",o.indent)+n((r.line-s+1).toString(),p)+" | "+c.str+"\n"+u}const h=t(r.buffer,i[l],a[l],r.position,d);u+=e.repeat(" ",o.indent)+n((r.line+1).toString(),p)+" | "+h.str+"\n",u+=e.repeat("-",o.indent+p+3+h.pos)+"^\n";for(let s=1;s<=o.linesAfter&&!(l+s>=a.length);s++){const c=t(r.buffer,i[l+s],a[l+s],r.position-(i[l]-i[l+s]),d);u+=e.repeat(" ",o.indent)+n((r.line+s+1).toString(),p)+" | "+c.str+"\n"}return u.replace(/\n$/,"")},_t}(),r=er(),o=Object.prototype.hasOwnProperty,s=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,i=/[\x85\u2028\u2029]/,a=/[,\[\]{}]/,c=/^(?:!|!!|![0-9A-Za-z-]+!)$/,l=/^(?:!|[^,\[\]{}])(?:%[0-9a-f]{2}|[0-9a-z\-#;/?:@&=+$,_.!~*'()\[\]])*$/i;function u(e){return Object.prototype.toString.call(e)}function p(e){return 10===e||13===e}function d(e){return 9===e||32===e}function h(e){return 9===e||32===e||10===e||13===e}function f(e){return 44===e||91===e||93===e||123===e||125===e}function m(e){if(e>=48&&e<=57)return e-48;const t=32|e;return t>=97&&t<=102?t-97+10:-1}function y(e){return 120===e?2:117===e?4:85===e?8:0}function g(e){return e>=48&&e<=57?e-48:-1}function x(e){switch(e){case 48:return"\0";case 97:return"";case 98:return"\b";case 116:case 9:return"\t";case 110:return"\n";case 118:return"\v";case 102:return"\f";case 114:return"\r";case 101:return"";case 32:return" ";case 34:return'"';case 47:return"/";case 92:return"\\";case 78:return"
";case 95:return" ";case 76:return"\u2028";case 80:return"\u2029";default:return""}}function b(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(55296+(e-65536>>10),56320+(e-65536&1023))}function v(e,t,n){"__proto__"===t?Object.defineProperty(e,t,{configurable:!0,enumerable:!0,writable:!0,value:n}):e[t]=n}const w=new Array(256),A=new Array(256);for(let e=0;e<256;e++)w[e]=x(e)?1:0,A[e]=x(e);function k(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||r,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.maxDepth="number"==typeof t.maxDepth?t.maxDepth:100,this.maxTotalMergeKeys="number"==typeof t.maxTotalMergeKeys?t.maxTotalMergeKeys:1e4,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.depth=0,this.totalMergeKeys=0,this.firstTabInLine=-1,this.documents=[],this.anchorMapTransactions=[]}function T(e,r){const o={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return o.snippet=n(o),new t(r,o)}function F(e,t){throw T(e,t)}function S(e,t){e.onWarning&&e.onWarning.call(null,T(e,t))}function O(e,t,n){const r=e.anchorMapTransactions;if(0!==r.length){const n=r[r.length-1];o.call(n,t)||(n[t]={existed:o.call(e.anchorMap,t),value:e.anchorMap[t]})}e.anchorMap[t]=n}function E(e){return{position:e.position,line:e.line,lineStart:e.lineStart,lineIndent:e.lineIndent,firstTabInLine:e.firstTabInLine,tag:e.tag,anchor:e.anchor,kind:e.kind,result:e.result}}function C(e,t){e.position=t.position,e.line=t.line,e.lineStart=t.lineStart,e.lineIndent=t.lineIndent,e.firstTabInLine=t.firstTabInLine,e.tag=t.tag,e.anchor=t.anchor,e.kind=t.kind,e.result=t.result}const j={YAML:function(e,t,n){null!==e.version&&F(e,"duplication of %YAML directive"),1!==n.length&&F(e,"YAML directive accepts exactly one argument");const r=/^([0-9]+)\.([0-9]+)$/.exec(n[0]);null===r&&F(e,"ill-formed argument of the YAML directive");const o=parseInt(r[1],10),s=parseInt(r[2],10);1!==o&&F(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=s<2,1!==s&&2!==s&&S(e,"unsupported YAML version of the document")},TAG:function(e,t,n){let r;2!==n.length&&F(e,"TAG directive accepts exactly two arguments");const s=n[0];r=n[1],c.test(s)||F(e,"ill-formed tag handle (first argument) of the TAG directive"),o.call(e.tagMap,s)&&F(e,'there is a previously declared suffix for "'+s+'" tag handle'),l.test(r)||F(e,"ill-formed tag prefix (second argument) of the TAG directive");try{r=decodeURIComponent(r)}catch(t){F(e,"tag prefix is malformed: "+r)}e.tagMap[s]=r}};function I(e,t,n,r){if(t<n){const o=e.input.slice(t,n);if(r)for(let t=0,n=o.length;t<n;t+=1){const n=o.charCodeAt(t);9===n||n>=32&&n<=1114111||F(e,"expected valid JSON character")}else s.test(o)&&F(e,"the stream contains non-printable characters");e.result+=o}}function D(e){e.totalMergeKeys++,-1!==e.maxTotalMergeKeys&&e.totalMergeKeys>e.maxTotalMergeKeys&&F(e,"merge keys exceeded maxTotalMergeKeys ("+e.maxTotalMergeKeys+")")}function $(t,n,r,s){e.isObject(r)||F(t,"cannot merge mappings; the provided source object is unacceptable"),D(t);const i=Object.keys(r);for(let e=0,a=i.length;e<a;e+=1){const a=i[e];D(t),o.call(n,a)||(v(n,a,r[a]),s[a]=!0)}}function L(e,t,n,r,s,i,a,c,l){if(Array.isArray(s))for(let t=0,n=(s=Array.prototype.slice.call(s)).length;t<n;t+=1)Array.isArray(s[t])&&F(e,"nested arrays are not supported inside keys"),"object"==typeof s&&"[object Object]"===u(s[t])&&(s[t]="[object Object]");if("object"==typeof s&&"[object Object]"===u(s)&&(s="[object Object]"),s=String(s),null===t&&(t={}),"tag:yaml.org,2002:merge"===r)if(Array.isArray(i)){i.length>100&&F(e,"abnormal merge sequence size");for(let r=0,o=i.length;r<o;r+=1)$(e,t,i[r],n)}else $(e,t,i,n);else e.json||o.call(n,s)||!o.call(t,s)||(e.line=a||e.line,e.lineStart=c||e.lineStart,e.position=l||e.position,F(e,"duplicated mapping key")),v(t,s,i),delete n[s];return t}function M(e){const t=e.input.charCodeAt(e.position);10===t?e.position++:13===t?(e.position++,10===e.input.charCodeAt(e.position)&&e.position++):F(e,"a line break is expected"),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}function N(e,t,n){let r=0,o=e.input.charCodeAt(e.position);for(;0!==o;){for(;d(o);)9===o&&-1===e.firstTabInLine&&(e.firstTabInLine=e.position),o=e.input.charCodeAt(++e.position);if(t&&35===o)do{o=e.input.charCodeAt(++e.position)}while(10!==o&&13!==o&&0!==o);if(!p(o))break;for(M(e),o=e.input.charCodeAt(e.position),r++,e.lineIndent=0;32===o;)e.lineIndent++,o=e.input.charCodeAt(++e.position)}return-1!==n&&0!==r&&e.lineIndent<n&&S(e,"deficient indentation"),r}function P(e){let t=e.position,n=e.input.charCodeAt(t);return!(45!==n&&46!==n||n!==e.input.charCodeAt(t+1)||n!==e.input.charCodeAt(t+2)||(t+=3,n=e.input.charCodeAt(t),0!==n&&!h(n)))}function B(t,n){1===n?t.result+=" ":n>1&&(t.result+=e.repeat("\n",n-1))}function U(e,t){const n=e.tag,r=e.anchor,o=[];let s=!1;if(-1!==e.firstTabInLine)return!1;null!==e.anchor&&O(e,e.anchor,o);let i=e.input.charCodeAt(e.position);for(;0!==i&&(-1!==e.firstTabInLine&&(e.position=e.firstTabInLine,F(e,"tab characters must not be used in indentation")),45===i);){if(!h(e.input.charCodeAt(e.position+1)))break;if(s=!0,e.position++,N(e,!0,-1)&&e.lineIndent<=t){o.push(null),i=e.input.charCodeAt(e.position);continue}const n=e.line;if(G(e,t,3,!1,!0),o.push(e.result),N(e,!0,-1),i=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&0!==i)F(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break}return!!s&&(e.tag=n,e.anchor=r,e.kind="sequence",e.result=o,!0)}function R(e,t,n){let r,o,s,i;const a=e.tag,c=e.anchor,l={},u=Object.create(null);let p=null,f=null,m=null,y=!1,g=!1;if(-1!==e.firstTabInLine)return!1;null!==e.anchor&&O(e,e.anchor,l);let x=e.input.charCodeAt(e.position);for(;0!==x;){y||-1===e.firstTabInLine||(e.position=e.firstTabInLine,F(e,"tab characters must not be used in indentation"));const b=e.input.charCodeAt(e.position+1),v=e.line;if(63!==x&&58!==x||!h(b)){if(o=e.line,s=e.lineStart,i=e.position,!G(e,n,2,!1,!0))break;if(e.line===v){for(x=e.input.charCodeAt(e.position);d(x);)x=e.input.charCodeAt(++e.position);if(58===x)x=e.input.charCodeAt(++e.position),h(x)||F(e,"a whitespace character is expected after the key-value separator within a block mapping"),y&&(L(e,l,u,p,f,null,o,s,i),p=f=m=null),g=!0,y=!1,r=!1,p=e.tag,f=e.result;else{if(!g)return e.tag=a,e.anchor=c,!0;F(e,"can not read an implicit mapping pair; a colon is missed")}}else{if(!g)return e.tag=a,e.anchor=c,!0;F(e,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else 63===x?(y&&(L(e,l,u,p,f,null,o,s,i),p=f=m=null),g=!0,y=!0,r=!0):y?(y=!1,r=!0):F(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,x=b;if((e.line===v||e.lineIndent>t)&&(y&&(o=e.line,s=e.lineStart,i=e.position),G(e,t,4,!0,r)&&(y?f=e.result:m=e.result),y||(L(e,l,u,p,f,m,o,s,i),p=f=m=null),N(e,!0,-1),x=e.input.charCodeAt(e.position)),(e.line===v||e.lineIndent>t)&&0!==x)F(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return y&&L(e,l,u,p,f,null,o,s,i),g&&(e.tag=a,e.anchor=c,e.kind="mapping",e.result=l),g}function H(e){let t,n,r=!1,s=!1,i=e.input.charCodeAt(e.position);if(33!==i)return!1;null!==e.tag&&F(e,"duplication of a tag property"),i=e.input.charCodeAt(++e.position),60===i?(r=!0,i=e.input.charCodeAt(++e.position)):33===i?(s=!0,t="!!",i=e.input.charCodeAt(++e.position)):t="!";let u=e.position;if(r){do{i=e.input.charCodeAt(++e.position)}while(0!==i&&62!==i);e.position<e.length?(n=e.input.slice(u,e.position),i=e.input.charCodeAt(++e.position)):F(e,"unexpected end of the stream within a verbatim tag")}else{for(;0!==i&&!h(i);)33===i&&(s?F(e,"tag suffix cannot contain exclamation marks"):(t=e.input.slice(u-1,e.position+1),c.test(t)||F(e,"named tag handle cannot contain such characters"),s=!0,u=e.position+1)),i=e.input.charCodeAt(++e.position);n=e.input.slice(u,e.position),a.test(n)&&F(e,"tag suffix cannot contain flow indicator characters")}n&&!l.test(n)&&F(e,"tag name cannot contain such characters: "+n);try{n=decodeURIComponent(n)}catch(t){F(e,"tag name is malformed: "+n)}return r?e.tag=n:o.call(e.tagMap,t)?e.tag=e.tagMap[t]+n:"!"===t?e.tag="!"+n:"!!"===t?e.tag="tag:yaml.org,2002:"+n:F(e,'undeclared tag handle "'+t+'"'),!0}function q(e){let t=e.input.charCodeAt(e.position);if(38!==t)return!1;null!==e.anchor&&F(e,"duplication of an anchor property"),t=e.input.charCodeAt(++e.position);const n=e.position;for(;0!==t&&!h(t)&&!f(t);)t=e.input.charCodeAt(++e.position);return e.position===n&&F(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(n,e.position),!0}function _(e,t,n,r){const s=E(e);return function(e){e.anchorMapTransactions.push(Object.create(null))}(e),C(e,t),e.tag=null,e.anchor=null,e.kind=null,e.result=null,R(e,n,r)&&"mapping"===e.kind?(function(e){const t=e.anchorMapTransactions.pop(),n=e.anchorMapTransactions;if(0===n.length)return;const r=n[n.length-1],s=Object.keys(t);for(let e=0,n=s.length;e<n;e+=1){const n=s[e];o.call(r,n)||(r[n]=t[n])}}(e),!0):(function(e){const t=e.anchorMapTransactions.pop(),n=Object.keys(t);for(let r=n.length-1;r>=0;r-=1){const o=t[n[r]];o.existed?e.anchorMap[n[r]]=o.value:delete e.anchorMap[n[r]]}}(e),C(e,s),!1)}function G(t,n,r,s,i){let a,c,l,u,x,v=1,k=!1,T=!1,S=null;t.depth>=t.maxDepth&&F(t,"nesting exceeded maxDepth ("+t.maxDepth+")"),t.depth+=1,null!==t.listener&&t.listener("open",t),t.tag=null,t.anchor=null,t.kind=null,t.result=null;const C=a=c=4===r||3===r;if(s&&N(t,!0,-1)&&(k=!0,t.lineIndent>n?v=1:t.lineIndent===n?v=0:t.lineIndent<n&&(v=-1)),1===v)for(;;){const e=t.input.charCodeAt(t.position),r=E(t);if(k&&(33===e&&null!==t.tag||38===e&&null!==t.anchor))break;if(!H(t)&&!q(t))break;null===S&&(S=r),N(t,!0,-1)?(k=!0,c=C,t.lineIndent>n?v=1:t.lineIndent===n?v=0:t.lineIndent<n&&(v=-1)):c=!1}if(c&&(c=k||i),1===v||4===r)if(u=1===r||2===r?n:n+1,x=t.position-t.lineStart,1===v)if(c&&(U(t,x)||R(t,x,u))||function(e,t){let n,r,o,s=!0;const i=e.tag;let a;const c=e.anchor;let l,u,p,d;const f=Object.create(null);let m,y,g,x=e.input.charCodeAt(e.position);if(91===x)l=93,d=!1,a=[];else{if(123!==x)return!1;l=125,d=!0,a={}}for(null!==e.anchor&&O(e,e.anchor,a),x=e.input.charCodeAt(++e.position);0!==x;){if(N(e,!0,t),x=e.input.charCodeAt(e.position),x===l)return e.position++,e.tag=i,e.anchor=c,e.kind=d?"mapping":"sequence",e.result=a,!0;s?44===x&&F(e,"expected the node content, but found ','"):F(e,"missed comma between flow collection entries"),y=m=g=null,u=p=!1,63===x&&h(e.input.charCodeAt(e.position+1))&&(u=p=!0,e.position++,N(e,!0,t)),n=e.line,r=e.lineStart,o=e.position,G(e,t,1,!1,!0),y=e.tag,m=e.result,N(e,!0,t),x=e.input.charCodeAt(e.position),!p&&e.line!==n||58!==x||(u=!0,x=e.input.charCodeAt(++e.position),N(e,!0,t),G(e,t,1,!1,!0),g=e.result),d?L(e,a,f,y,m,g,n,r,o):u?a.push(L(e,null,f,y,m,g,n,r,o)):a.push(m),N(e,!0,t),x=e.input.charCodeAt(e.position),44===x?(s=!0,x=e.input.charCodeAt(++e.position)):s=!1}F(e,"unexpected end of the stream within a flow collection")}(t,u))T=!0;else{const n=t.input.charCodeAt(t.position);null!==S&&C&&!c&&124!==n&&62!==n&&_(t,S,S.position-S.lineStart,u)||a&&function(t,n){let r,o,s=1,i=!1,a=!1,c=n,l=0,u=!1,h=t.input.charCodeAt(t.position);if(124===h)r=!1;else{if(62!==h)return!1;r=!0}for(t.kind="scalar",t.result="";0!==h;)if(h=t.input.charCodeAt(++t.position),43===h||45===h)1===s?s=43===h?3:2:F(t,"repeat of a chomping mode identifier");else{if(!((o=g(h))>=0))break;0===o?F(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):a?F(t,"repeat of an indentation width identifier"):(c=n+o-1,a=!0)}if(d(h)){do{h=t.input.charCodeAt(++t.position)}while(d(h));if(35===h)do{h=t.input.charCodeAt(++t.position)}while(!p(h)&&0!==h)}for(;0!==h;){for(M(t),t.lineIndent=0,h=t.input.charCodeAt(t.position);(!a||t.lineIndent<c)&&32===h;)t.lineIndent++,h=t.input.charCodeAt(++t.position);if(!a&&t.lineIndent>c&&(c=t.lineIndent),p(h)){l++;continue}if(a||0!==c||F(t,"missing indentation for block scalar"),t.lineIndent<c){3===s?t.result+=e.repeat("\n",i?1+l:l):1===s&&i&&(t.result+="\n");break}r?d(h)?(u=!0,t.result+=e.repeat("\n",i?1+l:l)):u?(u=!1,t.result+=e.repeat("\n",l+1)):0===l?i&&(t.result+=" "):t.result+=e.repeat("\n",l):t.result+=e.repeat("\n",i?1+l:l),i=!0,a=!0,l=0;const n=t.position;for(;!p(h)&&0!==h;)h=t.input.charCodeAt(++t.position);I(t,n,t.position,!1)}return!0}(t,u)||function(e,t){let n,r,o=e.input.charCodeAt(e.position);if(39!==o)return!1;for(e.kind="scalar",e.result="",e.position++,n=r=e.position;0!==(o=e.input.charCodeAt(e.position));)if(39===o){if(I(e,n,e.position,!0),o=e.input.charCodeAt(++e.position),39!==o)return!0;n=e.position,e.position++,r=e.position}else p(o)?(I(e,n,r,!0),B(e,N(e,!1,t)),n=r=e.position):e.position===e.lineStart&&P(e)?F(e,"unexpected end of the document within a single quoted scalar"):(e.position++,d(o)||(r=e.position));F(e,"unexpected end of the stream within a single quoted scalar")}(t,u)||function(e,t){let n,r,o,s=e.input.charCodeAt(e.position);if(34!==s)return!1;for(e.kind="scalar",e.result="",e.position++,n=r=e.position;0!==(s=e.input.charCodeAt(e.position));){if(34===s)return I(e,n,e.position,!0),e.position++,!0;if(92===s){if(I(e,n,e.position,!0),s=e.input.charCodeAt(++e.position),p(s))N(e,!1,t);else if(s<256&&w[s])e.result+=A[s],e.position++;else if((o=y(s))>0){let t=o,n=0;for(;t>0;t--)s=e.input.charCodeAt(++e.position),(o=m(s))>=0?n=(n<<4)+o:F(e,"expected hexadecimal character");e.result+=b(n),e.position++}else F(e,"unknown escape sequence");n=r=e.position}else p(s)?(I(e,n,r,!0),B(e,N(e,!1,t)),n=r=e.position):e.position===e.lineStart&&P(e)?F(e,"unexpected end of the document within a double quoted scalar"):(e.position++,d(s)||(r=e.position))}F(e,"unexpected end of the stream within a double quoted scalar")}(t,u)?T=!0:!function(e){let t=e.input.charCodeAt(e.position);if(42!==t)return!1;t=e.input.charCodeAt(++e.position);const n=e.position;for(;0!==t&&!h(t)&&!f(t);)t=e.input.charCodeAt(++e.position);e.position===n&&F(e,"name of an alias node must contain at least one character");const r=e.input.slice(n,e.position);return o.call(e.anchorMap,r)||F(e,'unidentified alias "'+r+'"'),e.result=e.anchorMap[r],N(e,!0,-1),!0}(t)?function(e,t,n){let r,o,s,i,a,c;const l=e.kind,u=e.result;let m=e.input.charCodeAt(e.position);if(h(m)||f(m)||35===m||38===m||42===m||33===m||124===m||62===m||39===m||34===m||37===m||64===m||96===m)return!1;if(63===m||45===m){const t=e.input.charCodeAt(e.position+1);if(h(t)||n&&f(t))return!1}for(e.kind="scalar",e.result="",r=o=e.position,s=!1;0!==m;){if(58===m){const t=e.input.charCodeAt(e.position+1);if(h(t)||n&&f(t))break}else if(35===m){if(h(e.input.charCodeAt(e.position-1)))break}else{if(e.position===e.lineStart&&P(e)||n&&f(m))break;if(p(m)){if(i=e.line,a=e.lineStart,c=e.lineIndent,N(e,!1,-1),e.lineIndent>=t){s=!0,m=e.input.charCodeAt(e.position);continue}e.position=o,e.line=i,e.lineStart=a,e.lineIndent=c;break}}s&&(I(e,r,o,!1),B(e,e.line-i),r=o=e.position,s=!1),d(m)||(o=e.position+1),m=e.input.charCodeAt(++e.position)}return I(e,r,o,!1),!!e.result||(e.kind=l,e.result=u,!1)}(t,u,1===r)&&(T=!0,null===t.tag&&(t.tag="?")):(T=!0,null===t.tag&&null===t.anchor||F(t,"alias node should not have any properties")),null!==t.anchor&&O(t,t.anchor,t.result)}else 0===v&&(T=c&&U(t,x));if(null===t.tag)null!==t.anchor&&O(t,t.anchor,t.result);else if("?"===t.tag){null!==t.result&&"scalar"!==t.kind&&F(t,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+t.kind+'"');for(let e=0,n=t.implicitTypes.length;e<n;e+=1)if(l=t.implicitTypes[e],l.resolve(t.result)){t.result=l.construct(t.result),t.tag=l.tag,null!==t.anchor&&O(t,t.anchor,t.result);break}}else if("!"!==t.tag){if(o.call(t.typeMap[t.kind||"fallback"],t.tag))l=t.typeMap[t.kind||"fallback"][t.tag];else{l=null;const e=t.typeMap.multi[t.kind||"fallback"];for(let n=0,r=e.length;n<r;n+=1)if(t.tag.slice(0,e[n].tag.length)===e[n].tag){l=e[n];break}}l||F(t,"unknown tag !<"+t.tag+">"),null!==t.result&&l.kind!==t.kind&&F(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+l.kind+'", not "'+t.kind+'"'),l.resolve(t.result,t.tag)?(t.result=l.construct(t.result,t.tag),null!==t.anchor&&O(t,t.anchor,t.result)):F(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}return null!==t.listener&&t.listener("close",t),t.depth-=1,null!==t.tag||null!==t.anchor||T}function z(e){const t=e.position;let n,r=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);0!==(n=e.input.charCodeAt(e.position))&&(N(e,!0,-1),n=e.input.charCodeAt(e.position),!(e.lineIndent>0||37!==n));){r=!0,n=e.input.charCodeAt(++e.position);let t=e.position;for(;0!==n&&!h(n);)n=e.input.charCodeAt(++e.position);const s=e.input.slice(t,e.position),i=[];for(s.length<1&&F(e,"directive name must not be less than one character in length");0!==n;){for(;d(n);)n=e.input.charCodeAt(++e.position);if(35===n){do{n=e.input.charCodeAt(++e.position)}while(0!==n&&!p(n));break}if(p(n))break;for(t=e.position;0!==n&&!h(n);)n=e.input.charCodeAt(++e.position);i.push(e.input.slice(t,e.position))}0!==n&&M(e),o.call(j,s)?j[s](e,s,i):S(e,'unknown document directive "'+s+'"')}N(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,N(e,!0,-1)):r&&F(e,"directives end mark is expected"),G(e,e.lineIndent-1,4,!1,!0),N(e,!0,-1),e.checkLineBreaks&&i.test(e.input.slice(t,e.position))&&S(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&P(e)?46===e.input.charCodeAt(e.position)&&(e.position+=3,N(e,!0,-1)):e.position<e.length-1&&F(e,"end of the stream or a document separator is expected")}function Y(e,t){t=t||{},0!==(e=String(e)).length&&(10!==e.charCodeAt(e.length-1)&&13!==e.charCodeAt(e.length-1)&&(e+="\n"),65279===e.charCodeAt(0)&&(e=e.slice(1)));const n=new k(e,t),r=e.indexOf("\0");for(-1!==r&&(n.position=r,F(n,"null byte is not allowed in input")),n.input+="\0";32===n.input.charCodeAt(n.position);)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;)z(n);return n.documents}return Dn.loadAll=function(e,t,n){null!==t&&"object"==typeof t&&void 0===n&&(n=t,t=null);const r=Y(e,n);if("function"!=typeof t)return r;for(let e=0,n=r.length;e<n;e+=1)t(r[e])},Dn.load=function(e,n){const r=Y(e,n);if(0!==r.length){if(1===r.length)return r[0];throw new t("expected a single document in the stream, but found more")}},Dn}var nr,rr,or={};function sr(){if(nr)return or;nr=1;const e=Ln(),t=Mn(),n=er(),r=Object.prototype.toString,o=Object.prototype.hasOwnProperty,s=65279,i={0:"\\0",7:"\\a",8:"\\b",9:"\\t",10:"\\n",11:"\\v",12:"\\f",13:"\\r",27:"\\e",34:'\\"',92:"\\\\",133:"\\N",160:"\\_",8232:"\\L",8233:"\\P"},a=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],c=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function l(n){let r,o;const s=n.toString(16).toUpperCase();if(n<=255)r="x",o=2;else if(n<=65535)r="u",o=4;else{if(!(n<=4294967295))throw new t("code point within a string may not be greater than 0xFFFFFFFF");r="U",o=8}return"\\"+r+e.repeat("0",o-s.length)+s}function u(t){this.schema=t.schema||n,this.indent=Math.max(1,t.indent||2),this.noArrayIndent=t.noArrayIndent||!1,this.skipInvalid=t.skipInvalid||!1,this.flowLevel=e.isNothing(t.flowLevel)?-1:t.flowLevel,this.styleMap=function(e,t){if(null===t)return{};const n={},r=Object.keys(t);for(let s=0,i=r.length;s<i;s+=1){let i=r[s],a=String(t[i]);"!!"===i.slice(0,2)&&(i="tag:yaml.org,2002:"+i.slice(2));const c=e.compiledTypeMap.fallback[i];c&&o.call(c.styleAliases,a)&&(a=c.styleAliases[a]),n[i]=a}return n}(this.schema,t.styles||null),this.sortKeys=t.sortKeys||!1,this.lineWidth=t.lineWidth||80,this.noRefs=t.noRefs||!1,this.noCompatMode=t.noCompatMode||!1,this.condenseFlow=t.condenseFlow||!1,this.quotingType='"'===t.quotingType?2:1,this.forceQuotes=t.forceQuotes||!1,this.replacer="function"==typeof t.replacer?t.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function p(t,n){const r=e.repeat(" ",n);let o=0,s="";const i=t.length;for(;o<i;){let e;const n=t.indexOf("\n",o);-1===n?(e=t.slice(o),o=i):(e=t.slice(o,n+1),o=n+1),e.length&&"\n"!==e&&(s+=r),s+=e}return s}function d(t,n){return"\n"+e.repeat(" ",t.indent*n)}function h(e){return 32===e||9===e}function f(e){return e>=32&&e<=126||e>=161&&e<=55295&&8232!==e&&8233!==e||e>=57344&&e<=65533&&e!==s||e>=65536&&e<=1114111}function m(e){return f(e)&&e!==s&&13!==e&&10!==e}function y(e,t,n){const r=m(e),o=r&&!h(e);return(n?r:r&&44!==e&&91!==e&&93!==e&&123!==e&&125!==e)&&35!==e&&!(58===t&&!o)||m(t)&&!h(t)&&35===e||58===t&&o}function g(e,t){const n=e.charCodeAt(t);let r;return n>=55296&&n<=56319&&t+1<e.length&&(r=e.charCodeAt(t+1),r>=56320&&r<=57343)?1024*(n-55296)+r-56320+65536:n}function x(e){return/^\n* /.test(e)}function b(e,t,n,r,o,i,a,c){let l,u=0,p=null,d=!1,m=!1;const b=-1!==r;let v=-1,w=f(A=g(e,0))&&A!==s&&!h(A)&&45!==A&&63!==A&&58!==A&&44!==A&&91!==A&&93!==A&&123!==A&&125!==A&&35!==A&&38!==A&&42!==A&&33!==A&&124!==A&&61!==A&&62!==A&&39!==A&&34!==A&&37!==A&&64!==A&&96!==A&&function(e){return!h(e)&&58!==e}(g(e,e.length-1));var A;if(t||a)for(l=0;l<e.length;u>=65536?l+=2:l++){if(u=g(e,l),!f(u))return 5;w=w&&y(u,p,c),p=u}else{for(l=0;l<e.length;u>=65536?l+=2:l++){if(u=g(e,l),10===u)d=!0,b&&(m=m||l-v-1>r&&" "!==e[v+1],v=l);else if(!f(u))return 5;w=w&&y(u,p,c),p=u}m=m||b&&l-v-1>r&&" "!==e[v+1]}return d||m?n>9&&x(e)?5:a?2===i?5:2:m?4:3:!w||a||o(e)?2===i?5:2:1}function v(e,n,r,o,s){e.dump=function(){if(0===n.length)return 2===e.quotingType?'""':"''";if(!e.noCompatMode&&(-1!==a.indexOf(n)||c.test(n)))return 2===e.quotingType?'"'+n+'"':"'"+n+"'";const u=e.indent*Math.max(1,r),d=-1===e.lineWidth?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-u),h=o||e.flowLevel>-1&&r>=e.flowLevel;switch(b(n,h,e.indent,d,function(t){return function(e,t){for(let n=0,r=e.implicitTypes.length;n<r;n+=1)if(e.implicitTypes[n].resolve(t))return!0;return!1}(e,t)},e.quotingType,e.forceQuotes&&!o,s)){case 1:return n;case 2:return"'"+n.replace(/'/g,"''")+"'";case 3:return"|"+w(n,e.indent)+A(p(n,u));case 4:return">"+w(n,e.indent)+A(p(function(e,t){const n=/(\n+)([^\n]*)/g;let r,o,s=function(){let r=e.indexOf("\n");return r=-1!==r?r:e.length,n.lastIndex=r,k(e.slice(0,r),t)}(),i="\n"===e[0]||" "===e[0];for(;o=n.exec(e);){const e=o[1],n=o[2];r=" "===n[0],s+=e+(i||r||""===n?"":"\n")+k(n,t),i=r}return s}(n,d),u));case 5:return'"'+function(e){let t="",n=0;for(let r=0;r<e.length;n>=65536?r+=2:r++){n=g(e,r);const o=i[n];!o&&f(n)?(t+=e[r],n>=65536&&(t+=e[r+1])):t+=o||l(n)}return t}(n)+'"';default:throw new t("impossible error: invalid scalar style")}}()}function w(e,t){const n=x(e)?String(t):"",r="\n"===e[e.length-1];return n+(r&&("\n"===e[e.length-2]||"\n"===e)?"+":r?"":"-")+"\n"}function A(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function k(e,t){if(""===e||" "===e[0])return e;const n=/ [^ ]/g;let r,o,s=0,i=0,a=0,c="";for(;r=n.exec(e);)a=r.index,a-s>t&&(o=i>s?i:a,c+="\n"+e.slice(s,o),s=o+1),i=a;return c+="\n",e.length-s>t&&i>s?c+=e.slice(s,i)+"\n"+e.slice(i+1):c+=e.slice(s),c.slice(1)}function T(e,t,n,r){let o="";const s=e.tag;for(let s=0,i=n.length;s<i;s+=1){let i=n[s];e.replacer&&(i=e.replacer.call(n,String(s),i)),(S(e,t+1,i,!0,!0,!1,!0)||void 0===i&&S(e,t+1,null,!0,!0,!1,!0))&&(r&&""===o||(o+=d(e,t)),e.dump&&10===e.dump.charCodeAt(0)?o+="-":o+="- ",o+=e.dump)}e.tag=s,e.dump=o||"[]"}function F(e,n,s){const i=s?e.explicitTypes:e.implicitTypes;for(let a=0,c=i.length;a<c;a+=1){const c=i[a];if((c.instanceOf||c.predicate)&&(!c.instanceOf||"object"==typeof n&&n instanceof c.instanceOf)&&(!c.predicate||c.predicate(n))){if(s?c.multi&&c.representName?e.tag=c.representName(n):e.tag=c.tag:e.tag="?",c.represent){const s=e.styleMap[c.tag]||c.defaultStyle;let i;if("[object Function]"===r.call(c.represent))i=c.represent(n,s);else{if(!o.call(c.represent,s))throw new t("!<"+c.tag+'> tag resolver accepts not "'+s+'" style');i=c.represent[s](n,s)}e.dump=i}return!0}}return!1}function S(e,n,o,s,i,a,c){e.tag=null,e.dump=o,F(e,o,!1)||F(e,o,!0);const l=r.call(e.dump),u=s;s&&(s=e.flowLevel<0||e.flowLevel>n);const p="[object Object]"===l||"[object Array]"===l;let h,f;if(p&&(h=e.duplicates.indexOf(o),f=-1!==h),(null!==e.tag&&"?"!==e.tag||f||2!==e.indent&&n>0)&&(i=!1),f&&e.usedDuplicates[h])e.dump="*ref_"+h;else{if(p&&f&&!e.usedDuplicates[h]&&(e.usedDuplicates[h]=!0),"[object Object]"===l)s&&0!==Object.keys(e.dump).length?(!function(e,n,r,o){let s="";const i=e.tag,a=Object.keys(r);if(!0===e.sortKeys)a.sort();else if("function"==typeof e.sortKeys)a.sort(e.sortKeys);else if(e.sortKeys)throw new t("sortKeys must be a boolean or a function");for(let t=0,i=a.length;t<i;t+=1){let i="";o&&""===s||(i+=d(e,n));const c=a[t];let l=r[c];if(e.replacer&&(l=e.replacer.call(r,c,l)),!S(e,n+1,c,!0,!0,!0))continue;const u=null!==e.tag&&"?"!==e.tag||e.dump&&e.dump.length>1024;u&&(e.dump&&10===e.dump.charCodeAt(0)?i+="?":i+="? "),i+=e.dump,u&&(i+=d(e,n)),S(e,n+1,l,!0,u)&&(e.dump&&10===e.dump.charCodeAt(0)?i+=":":i+=": ",i+=e.dump,s+=i)}e.tag=i,e.dump=s||"{}"}(e,n,e.dump,i),f&&(e.dump="&ref_"+h+e.dump)):(!function(e,t,n){let r="";const o=e.tag,s=Object.keys(n);for(let o=0,i=s.length;o<i;o+=1){let i="";""!==r&&(i+=", "),e.condenseFlow&&(i+='"');const a=s[o];let c=n[a];e.replacer&&(c=e.replacer.call(n,a,c)),S(e,t,a,!1,!1)&&(e.dump.length>1024&&(i+="? "),i+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),S(e,t,c,!1,!1)&&(i+=e.dump,r+=i))}e.tag=o,e.dump="{"+r+"}"}(e,n,e.dump),f&&(e.dump="&ref_"+h+" "+e.dump));else if("[object Array]"===l)s&&0!==e.dump.length?(e.noArrayIndent&&!c&&n>0?T(e,n-1,e.dump,i):T(e,n,e.dump,i),f&&(e.dump="&ref_"+h+e.dump)):(!function(e,t,n){let r="";const o=e.tag;for(let o=0,s=n.length;o<s;o+=1){let s=n[o];e.replacer&&(s=e.replacer.call(n,String(o),s)),(S(e,t,s,!1,!1)||void 0===s&&S(e,t,null,!1,!1))&&(""!==r&&(r+=","+(e.condenseFlow?"":" ")),r+=e.dump)}e.tag=o,e.dump="["+r+"]"}(e,n,e.dump),f&&(e.dump="&ref_"+h+" "+e.dump));else{if("[object String]"!==l){if("[object Undefined]"===l)return!1;if(e.skipInvalid)return!1;throw new t("unacceptable kind of an object to dump "+l)}"?"!==e.tag&&v(e,e.dump,n,a,u)}if(null!==e.tag&&"?"!==e.tag){let t=encodeURI("!"===e.tag[0]?e.tag.slice(1):e.tag).replace(/!/g,"%21");t="!"===e.tag[0]?"!"+t:"tag:yaml.org,2002:"===t.slice(0,18)?"!!"+t.slice(18):"!<"+t+">",e.dump=t+" "+e.dump}}return!0}function O(e,t){const n=[],r=[];E(e,n,r);const o=r.length;for(let e=0;e<o;e+=1)t.duplicates.push(n[r[e]]);t.usedDuplicates=new Array(o)}function E(e,t,n){if(null!==e&&"object"==typeof e){const r=t.indexOf(e);if(-1!==r)-1===n.indexOf(r)&&n.push(r);else if(t.push(e),Array.isArray(e))for(let r=0,o=e.length;r<o;r+=1)E(e[r],t,n);else{const r=Object.keys(e);for(let o=0,s=r.length;o<s;o+=1)E(e[r[o]],t,n)}}}return or.dump=function(e,t){const n=new u(t=t||{});n.noRefs||O(e,n);let r=e;return n.replacer&&(r=n.replacer.call({"":r},"",r)),S(n,0,r,!0,!0)?n.dump+"\n":""},or}const ir=Ut(function(){if(rr)return In;rr=1;const e=tr(),t=sr();function n(e,t){return function(){throw new Error("Function yaml."+e+" is removed in js-yaml 4. Use yaml."+t+" instead, which is now safe by default.")}}return In.Type=Nn(),In.Schema=Pn(),In.FAILSAFE_SCHEMA=Hn(),In.JSON_SCHEMA=Yn(),In.CORE_SCHEMA=Vn(),In.DEFAULT_SCHEMA=er(),In.load=e.load,In.loadAll=e.loadAll,In.dump=t.dump,In.YAMLException=Mn(),In.types={binary:Xn(),float:zn(),map:Rn(),null:qn(),pairs:Jn(),set:Zn(),timestamp:Wn(),bool:_n(),int:Gn(),merge:Kn(),omap:Qn(),seq:Un(),str:Bn()},In.safeLoad=n("safeLoad","load"),In.safeLoadAll=n("safeLoadAll","loadAll"),In.safeDump=n("safeDump","dump"),In}()),{Type:ar,Schema:cr,FAILSAFE_SCHEMA:lr,JSON_SCHEMA:ur,CORE_SCHEMA:pr,DEFAULT_SCHEMA:dr,load:hr,loadAll:fr,dump:mr,YAMLException:yr,types:gr,safeLoad:xr,safeLoadAll:br,safeDump:vr}=ir;function wr(e={}){return"function"!=typeof e.entries?{}:Array.from(e.entries()).reduce((e,[t,n])=>(e[t]=function(e){return c()(e).call(e,", ")?e.split(", "):e}(n),e),{})}function Ar(e,t,{loadSpec:n=!1}={}){const r={ok:e.ok,url:e.url||t,status:e.status,statusText:e.statusText,headers:wr(e.headers)},o=r.headers["content-type"],s=n||((e="")=>/(json|xml|yaml|text)\b/.test(e))(o);return(s?e.text:e.blob||e.buffer).call(e).then(e=>{if(r.text=e,r.data=e,s)try{const t=function(e,t){if(t){if(0===t.indexOf("application/json")||t.indexOf("+json")>0)return JSON.parse(e);if(0===t.indexOf("application/xml")||t.indexOf("+xml")>0)return e}return ir.load(e)}(e,o);r.body=t,r.obj=t}catch(e){r.parseError=e}return r})}function kr(){this.grammarObject="grammarObject",this.rules=[],this.rules[0]={name:"path-template",lower:"path-template",index:0,isBkr:!1},this.rules[1]={name:"path-segment",lower:"path-segment",index:1,isBkr:!1},this.rules[2]={name:"slash",lower:"slash",index:2,isBkr:!1},this.rules[3]={name:"path-literal",lower:"path-literal",index:3,isBkr:!1},this.rules[4]={name:"template-expression",lower:"template-expression",index:4,isBkr:!1},this.rules[5]={name:"template-expression-param-name",lower:"template-expression-param-name",index:5,isBkr:!1},this.rules[6]={name:"pchar",lower:"pchar",index:6,isBkr:!1},this.rules[7]={name:"unreserved",lower:"unreserved",index:7,isBkr:!1},this.rules[8]={name:"pct-encoded",lower:"pct-encoded",index:8,isBkr:!1},this.rules[9]={name:"sub-delims",lower:"sub-delims",index:9,isBkr:!1},this.rules[10]={name:"ALPHA",lower:"alpha",index:10,isBkr:!1},this.rules[11]={name:"DIGIT",lower:"digit",index:11,isBkr:!1},this.rules[12]={name:"HEXDIG",lower:"hexdig",index:12,isBkr:!1},this.udts=[],this.rules[0].opcodes=[],this.rules[0].opcodes[0]={type:2,children:[1,2,6]},this.rules[0].opcodes[1]={type:4,index:2},this.rules[0].opcodes[2]={type:3,min:0,max:1/0},this.rules[0].opcodes[3]={type:2,children:[4,5]},this.rules[0].opcodes[4]={type:4,index:1},this.rules[0].opcodes[5]={type:4,index:2},this.rules[0].opcodes[6]={type:3,min:0,max:1},this.rules[0].opcodes[7]={type:4,index:1},this.rules[1].opcodes=[],this.rules[1].opcodes[0]={type:3,min:1,max:1/0},this.rules[1].opcodes[1]={type:1,children:[2,3]},this.rules[1].opcodes[2]={type:4,index:3},this.rules[1].opcodes[3]={type:4,index:4},this.rules[2].opcodes=[],this.rules[2].opcodes[0]={type:7,string:[47]},this.rules[3].opcodes=[],this.rules[3].opcodes[0]={type:3,min:1,max:1/0},this.rules[3].opcodes[1]={type:4,index:6},this.rules[4].opcodes=[],this.rules[4].opcodes[0]={type:2,children:[1,2,3]},this.rules[4].opcodes[1]={type:7,string:[123]},this.rules[4].opcodes[2]={type:4,index:5},this.rules[4].opcodes[3]={type:7,string:[125]},this.rules[5].opcodes=[],this.rules[5].opcodes[0]={type:3,min:1,max:1/0},this.rules[5].opcodes[1]={type:1,children:[2,3,4]},this.rules[5].opcodes[2]={type:5,min:0,max:122},this.rules[5].opcodes[3]={type:6,string:[124]},this.rules[5].opcodes[4]={type:5,min:126,max:1114111},this.rules[6].opcodes=[],this.rules[6].opcodes[0]={type:1,children:[1,2,3,4,5]},this.rules[6].opcodes[1]={type:4,index:7},this.rules[6].opcodes[2]={type:4,index:8},this.rules[6].opcodes[3]={type:4,index:9},this.rules[6].opcodes[4]={type:7,string:[58]},this.rules[6].opcodes[5]={type:7,string:[64]},this.rules[7].opcodes=[],this.rules[7].opcodes[0]={type:1,children:[1,2,3,4,5,6]},this.rules[7].opcodes[1]={type:4,index:10},this.rules[7].opcodes[2]={type:4,index:11},this.rules[7].opcodes[3]={type:7,string:[45]},this.rules[7].opcodes[4]={type:7,string:[46]},this.rules[7].opcodes[5]={type:7,string:[95]},this.rules[7].opcodes[6]={type:7,string:[126]},this.rules[8].opcodes=[],this.rules[8].opcodes[0]={type:2,children:[1,2,3]},this.rules[8].opcodes[1]={type:7,string:[37]},this.rules[8].opcodes[2]={type:4,index:12},this.rules[8].opcodes[3]={type:4,index:12},this.rules[9].opcodes=[],this.rules[9].opcodes[0]={type:1,children:[1,2,3,4,5,6,7,8,9,10,11]},this.rules[9].opcodes[1]={type:7,string:[33]},this.rules[9].opcodes[2]={type:7,string:[36]},this.rules[9].opcodes[3]={type:7,string:[38]},this.rules[9].opcodes[4]={type:7,string:[39]},this.rules[9].opcodes[5]={type:7,string:[40]},this.rules[9].opcodes[6]={type:7,string:[41]},this.rules[9].opcodes[7]={type:7,string:[42]},this.rules[9].opcodes[8]={type:7,string:[43]},this.rules[9].opcodes[9]={type:7,string:[44]},this.rules[9].opcodes[10]={type:7,string:[59]},this.rules[9].opcodes[11]={type:7,string:[61]},this.rules[10].opcodes=[],this.rules[10].opcodes[0]={type:1,children:[1,2]},this.rules[10].opcodes[1]={type:5,min:65,max:90},this.rules[10].opcodes[2]={type:5,min:97,max:122},this.rules[11].opcodes=[],this.rules[11].opcodes[0]={type:5,min:48,max:57},this.rules[12].opcodes=[],this.rules[12].opcodes[0]={type:1,children:[1,2,3,4,5,6,7]},this.rules[12].opcodes[1]={type:4,index:11},this.rules[12].opcodes[2]={type:7,string:[97]},this.rules[12].opcodes[3]={type:7,string:[98]},this.rules[12].opcodes[4]={type:7,string:[99]},this.rules[12].opcodes[5]={type:7,string:[100]},this.rules[12].opcodes[6]={type:7,string:[101]},this.rules[12].opcodes[7]={type:7,string:[102]},this.toString=function(){let e="";return e+="; OpenAPI Path Templating ABNF syntax\n",e+="; variant of https://datatracker.ietf.org/doc/html/rfc3986#section-3.3\n",e+="path-template = slash *( path-segment slash ) [ path-segment ]\n",e+="path-segment = 1*( path-literal / template-expression )\n",e+='slash = "/"\n',e+="path-literal = 1*pchar\n",e+='template-expression = "{" template-expression-param-name "}"\n',e+="template-expression-param-name = 1*( %x00-7A / %x7C / %x7E-10FFFF ) ; every UTF8 character except { and } (from OpenAPI)\n",e+="\n",e+="; https://datatracker.ietf.org/doc/html/rfc3986#section-3.3\n",e+='pchar = unreserved / pct-encoded / sub-delims / ":" / "@"\n',e+='unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"\n',e+=" ; https://datatracker.ietf.org/doc/html/rfc3986#section-2.3\n",e+='pct-encoded = "%" HEXDIG HEXDIG\n',e+=" ; https://datatracker.ietf.org/doc/html/rfc3986#section-2.1\n",e+='sub-delims = "!" / "$" / "&" / "\'" / "(" / ")"\n',e+=' / "*" / "+" / "," / ";" / "="\n',e+=" ; https://datatracker.ietf.org/doc/html/rfc3986#section-2.2\n",e+="\n",e+="; https://datatracker.ietf.org/doc/html/rfc5234#appendix-B.1\n",e+="ALPHA = %x41-5A / %x61-7A ; A-Z / a-z\n",e+="DIGIT = %x30-39 ; 0-9\n",e+='HEXDIG = DIGIT / "A" / "B" / "C" / "D" / "E" / "F"\n','; OpenAPI Path Templating ABNF syntax\n; variant of https://datatracker.ietf.org/doc/html/rfc3986#section-3.3\npath-template = slash *( path-segment slash ) [ path-segment ]\npath-segment = 1*( path-literal / template-expression )\nslash = "/"\npath-literal = 1*pchar\ntemplate-expression = "{" template-expression-param-name "}"\ntemplate-expression-param-name = 1*( %x00-7A / %x7C / %x7E-10FFFF ) ; every UTF8 character except { and } (from OpenAPI)\n\n; https://datatracker.ietf.org/doc/html/rfc3986#section-3.3\npchar = unreserved / pct-encoded / sub-delims / ":" / "@"\nunreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"\n ; https://datatracker.ietf.org/doc/html/rfc3986#section-2.3\npct-encoded = "%" HEXDIG HEXDIG\n ; https://datatracker.ietf.org/doc/html/rfc3986#section-2.1\nsub-delims = "!" / "$" / "&" / "\'" / "(" / ")"\n / "*" / "+" / "," / ";" / "="\n ; https://datatracker.ietf.org/doc/html/rfc3986#section-2.2\n\n; https://datatracker.ietf.org/doc/html/rfc5234#appendix-B.1\nALPHA = %x41-5A / %x61-7A ; A-Z / a-z\nDIGIT = %x30-39 ; 0-9\nHEXDIG = DIGIT / "A" / "B" / "C" / "D" / "E" / "F"\n'}}const Tr=e=>(t,n,r,o,s)=>{if(t===ht.SEM_PRE){const t={type:e,text:dt.charsToString(n,r,o),start:r,length:o,children:[]};s.stack.length>0?s.stack[s.stack.length-1].children.push(t):s.root=t,s.stack.push(t)}t===ht.SEM_POST&&s.stack.pop()};const Fr=class extends lt{constructor(){super(),this.callbacks["path-template"]=Tr("path-template"),this.callbacks["path-segment"]=Tr("path-segment"),this.callbacks.slash=Tr("slash"),this.callbacks["path-literal"]=Tr("path-literal"),this.callbacks["template-expression"]=Tr("template-expression"),this.callbacks["template-expression-param-name"]=Tr("template-expression-param-name")}getTree(){const e={stack:[],root:null};return this.translate(e),e.root}},Sr=e=>{if("path-literal"===e.type)return{type:"PathLiteral",value:e.text};const t=e.children.find(({type:e})=>"template-expression-param-name"===e);return{type:"TemplateExpression",name:t.text}};const Or=class extends Fr{getTree(){const e=super.getTree(),t=e.children.filter(({type:e})=>"path-segment"===e).map(e=>({type:"PathSegment",parts:e.children.map(Sr)})),n=e.children[e.children.length-1];return{type:"PathTemplate",segments:t,trailingSlash:t.length>0&&"slash"===n.type}}},Er=e=>(t,n,r,o,s)=>{if(t===ht.SEM_PRE){if(!1===Array.isArray(s))throw new Error("parser's user data must be an array");s.push([e,dt.charsToString(n,r,o)])}return ht.SEM_OK};const Cr=class extends lt{constructor(){super(),this.callbacks["path-template"]=Er("path-template"),this.callbacks.slash=Er("slash"),this.callbacks["path-literal"]=Er("path-literal"),this.callbacks["template-expression"]=Er("template-expression"),this.callbacks["template-expression-param-name"]=Er("template-expression-param-name")}getTree(){const e=[];return this.translate(e),e}};const jr=class extends Array{toString(){return this.map(e=>`"${String(e)}"`).join(", ")}};const Ir=class extends ut{inferExpectations(){const e=this.displayTrace().split("\n"),t=new Set;let n=-1;for(let r=0;r<e.length;r++){const o=e[r];if(o.includes("M|")){const e=o.match(/]'(.*)'$/);e&&e[1]&&(n=r)}if(r>n){const e=o.match(/N\|\[TLS\(([^)]+)\)]/);e&&t.add(e[1])}}return new jr(...t)}};class Dr extends Error{constructor(e,t=void 0){if(super(e,t),this.name=this.constructor.name,"string"==typeof e&&(this.message=e),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack,null!=t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"cause")&&!("cause"in this)){const{cause:e}=t;this.cause=e,e instanceof Error&&"stack"in e&&(this.stack=`${this.stack}\nCAUSE: ${e.stack}`)}if(null!=t&&"object"==typeof t){const{cause:e,...n}=t;Object.assign(this,n)}}}const $r=Dr;const Lr=class extends $r{},Mr=new kr,Nr=(e,{translator:t=new Or,stats:n=!1,trace:r=!1}={})=>{if("string"!=typeof e)throw new TypeError("Path template must be a string");try{const o=new ct;t&&(o.ast=t),n&&(o.stats=new pt),r&&(o.trace=new Ir);const s=o.parse(Mr,"path-template",e);let i;return{result:s,tree:s.success&&t?o.ast.getTree():void 0,stats:o.stats,trace:o.trace,get ast(){if(void 0===i){const t=new ct;t.ast=new Cr,t.parse(Mr,"path-template",e),i=t.ast}return i}}}catch(t){throw new Lr("Unexpected error during OpenAPI Path Templating parsing",{cause:t,pathTemplate:e})}};const Pr=({style:e="simple",allowReserved:t=!1})=>{switch(e){case"simple":return t?"+":"";case"label":return".";case"matrix":return";";default:throw new TypeError(`Unsupported style of path parameter: "${e}"`)}},Br=e=>{const t=(e=>{const t=new Map;return e.filter(e=>"string"==typeof(null==e?void 0:e.name)&&(void 0===e.in||"path"===e.in)).forEach(e=>{t.has(e.name)||t.set(e.name,e)}),t})(null!=e?e:[]);return e=>{var n;const r=null!==(n=t.get(e))&&void 0!==n?n:{};return{type:"Expression",operator:Pr(r),variables:[{name:e,prefix:void 0,explode:Boolean(r.explode)}]}}};new function(){this.grammarObject="grammarObject",this.rules=[],this.rules[0]={name:"URI-Template",lower:"uri-template",index:0,isBkr:!1},this.rules[1]={name:"literals",lower:"literals",index:1,isBkr:!1},this.rules[2]={name:"expression",lower:"expression",index:2,isBkr:!1},this.rules[3]={name:"operator",lower:"operator",index:3,isBkr:!1},this.rules[4]={name:"op-level2",lower:"op-level2",index:4,isBkr:!1},this.rules[5]={name:"op-level3",lower:"op-level3",index:5,isBkr:!1},this.rules[6]={name:"op-reserve",lower:"op-reserve",index:6,isBkr:!1},this.rules[7]={name:"variable-list",lower:"variable-list",index:7,isBkr:!1},this.rules[8]={name:"varspec",lower:"varspec",index:8,isBkr:!1},this.rules[9]={name:"varname",lower:"varname",index:9,isBkr:!1},this.rules[10]={name:"varchar",lower:"varchar",index:10,isBkr:!1},this.rules[11]={name:"modifier-level4",lower:"modifier-level4",index:11,isBkr:!1},this.rules[12]={name:"prefix",lower:"prefix",index:12,isBkr:!1},this.rules[13]={name:"max-length",lower:"max-length",index:13,isBkr:!1},this.rules[14]={name:"explode",lower:"explode",index:14,isBkr:!1},this.rules[15]={name:"pct-encoded",lower:"pct-encoded",index:15,isBkr:!1},this.rules[16]={name:"ucschar",lower:"ucschar",index:16,isBkr:!1},this.rules[17]={name:"iprivate",lower:"iprivate",index:17,isBkr:!1},this.rules[18]={name:"ALPHA",lower:"alpha",index:18,isBkr:!1},this.rules[19]={name:"DIGIT",lower:"digit",index:19,isBkr:!1},this.rules[20]={name:"HEXDIG",lower:"hexdig",index:20,isBkr:!1},this.udts=[],this.rules[0].opcodes=[],this.rules[0].opcodes[0]={type:3,min:0,max:1/0},this.rules[0].opcodes[1]={type:1,children:[2,3]},this.rules[0].opcodes[2]={type:4,index:1},this.rules[0].opcodes[3]={type:4,index:2},this.rules[1].opcodes=[],this.rules[1].opcodes[0]={type:1,children:[1,2,3,4,5,6,7,8,9,10,11,12]},this.rules[1].opcodes[1]={type:6,string:[33]},this.rules[1].opcodes[2]={type:5,min:35,max:36},this.rules[1].opcodes[3]={type:5,min:38,max:59},this.rules[1].opcodes[4]={type:6,string:[61]},this.rules[1].opcodes[5]={type:5,min:63,max:91},this.rules[1].opcodes[6]={type:6,string:[93]},this.rules[1].opcodes[7]={type:6,string:[95]},this.rules[1].opcodes[8]={type:5,min:97,max:122},this.rules[1].opcodes[9]={type:6,string:[126]},this.rules[1].opcodes[10]={type:4,index:16},this.rules[1].opcodes[11]={type:4,index:17},this.rules[1].opcodes[12]={type:4,index:15},this.rules[2].opcodes=[],this.rules[2].opcodes[0]={type:2,children:[1,2,4,5]},this.rules[2].opcodes[1]={type:7,string:[123]},this.rules[2].opcodes[2]={type:3,min:0,max:1},this.rules[2].opcodes[3]={type:4,index:3},this.rules[2].opcodes[4]={type:4,index:7},this.rules[2].opcodes[5]={type:7,string:[125]},this.rules[3].opcodes=[],this.rules[3].opcodes[0]={type:1,children:[1,2,3]},this.rules[3].opcodes[1]={type:4,index:4},this.rules[3].opcodes[2]={type:4,index:5},this.rules[3].opcodes[3]={type:4,index:6},this.rules[4].opcodes=[],this.rules[4].opcodes[0]={type:1,children:[1,2]},this.rules[4].opcodes[1]={type:7,string:[43]},this.rules[4].opcodes[2]={type:7,string:[35]},this.rules[5].opcodes=[],this.rules[5].opcodes[0]={type:1,children:[1,2,3,4,5]},this.rules[5].opcodes[1]={type:7,string:[46]},this.rules[5].opcodes[2]={type:7,string:[47]},this.rules[5].opcodes[3]={type:7,string:[59]},this.rules[5].opcodes[4]={type:7,string:[63]},this.rules[5].opcodes[5]={type:7,string:[38]},this.rules[6].opcodes=[],this.rules[6].opcodes[0]={type:1,children:[1,2,3,4,5]},this.rules[6].opcodes[1]={type:7,string:[61]},this.rules[6].opcodes[2]={type:7,string:[44]},this.rules[6].opcodes[3]={type:7,string:[33]},this.rules[6].opcodes[4]={type:7,string:[64]},this.rules[6].opcodes[5]={type:7,string:[124]},this.rules[7].opcodes=[],this.rules[7].opcodes[0]={type:2,children:[1,2]},this.rules[7].opcodes[1]={type:4,index:8},this.rules[7].opcodes[2]={type:3,min:0,max:1/0},this.rules[7].opcodes[3]={type:2,children:[4,5]},this.rules[7].opcodes[4]={type:7,string:[44]},this.rules[7].opcodes[5]={type:4,index:8},this.rules[8].opcodes=[],this.rules[8].opcodes[0]={type:2,children:[1,2]},this.rules[8].opcodes[1]={type:4,index:9},this.rules[8].opcodes[2]={type:3,min:0,max:1},this.rules[8].opcodes[3]={type:4,index:11},this.rules[9].opcodes=[],this.rules[9].opcodes[0]={type:2,children:[1,2]},this.rules[9].opcodes[1]={type:4,index:10},this.rules[9].opcodes[2]={type:3,min:0,max:1/0},this.rules[9].opcodes[3]={type:2,children:[4,6]},this.rules[9].opcodes[4]={type:3,min:0,max:1},this.rules[9].opcodes[5]={type:7,string:[46]},this.rules[9].opcodes[6]={type:4,index:10},this.rules[10].opcodes=[],this.rules[10].opcodes[0]={type:1,children:[1,2,3,4]},this.rules[10].opcodes[1]={type:4,index:18},this.rules[10].opcodes[2]={type:4,index:19},this.rules[10].opcodes[3]={type:7,string:[95]},this.rules[10].opcodes[4]={type:4,index:15},this.rules[11].opcodes=[],this.rules[11].opcodes[0]={type:1,children:[1,2]},this.rules[11].opcodes[1]={type:4,index:12},this.rules[11].opcodes[2]={type:4,index:14},this.rules[12].opcodes=[],this.rules[12].opcodes[0]={type:2,children:[1,2]},this.rules[12].opcodes[1]={type:7,string:[58]},this.rules[12].opcodes[2]={type:4,index:13},this.rules[13].opcodes=[],this.rules[13].opcodes[0]={type:2,children:[1,2]},this.rules[13].opcodes[1]={type:5,min:49,max:57},this.rules[13].opcodes[2]={type:3,min:0,max:3},this.rules[13].opcodes[3]={type:4,index:19},this.rules[14].opcodes=[],this.rules[14].opcodes[0]={type:7,string:[42]},this.rules[15].opcodes=[],this.rules[15].opcodes[0]={type:2,children:[1,2,3]},this.rules[15].opcodes[1]={type:7,string:[37]},this.rules[15].opcodes[2]={type:4,index:20},this.rules[15].opcodes[3]={type:4,index:20},this.rules[16].opcodes=[],this.rules[16].opcodes[0]={type:1,children:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]},this.rules[16].opcodes[1]={type:5,min:160,max:55295},this.rules[16].opcodes[2]={type:5,min:63744,max:64975},this.rules[16].opcodes[3]={type:5,min:65008,max:65519},this.rules[16].opcodes[4]={type:5,min:65536,max:131069},this.rules[16].opcodes[5]={type:5,min:131072,max:196605},this.rules[16].opcodes[6]={type:5,min:196608,max:262141},this.rules[16].opcodes[7]={type:5,min:262144,max:327677},this.rules[16].opcodes[8]={type:5,min:327680,max:393213},this.rules[16].opcodes[9]={type:5,min:393216,max:458749},this.rules[16].opcodes[10]={type:5,min:458752,max:524285},this.rules[16].opcodes[11]={type:5,min:524288,max:589821},this.rules[16].opcodes[12]={type:5,min:589824,max:655357},this.rules[16].opcodes[13]={type:5,min:655360,max:720893},this.rules[16].opcodes[14]={type:5,min:720896,max:786429},this.rules[16].opcodes[15]={type:5,min:786432,max:851965},this.rules[16].opcodes[16]={type:5,min:851968,max:917501},this.rules[16].opcodes[17]={type:5,min:921600,max:983037},this.rules[17].opcodes=[],this.rules[17].opcodes[0]={type:1,children:[1,2,3]},this.rules[17].opcodes[1]={type:5,min:57344,max:63743},this.rules[17].opcodes[2]={type:5,min:983040,max:1048573},this.rules[17].opcodes[3]={type:5,min:1048576,max:1114109},this.rules[18].opcodes=[],this.rules[18].opcodes[0]={type:1,children:[1,2]},this.rules[18].opcodes[1]={type:5,min:65,max:90},this.rules[18].opcodes[2]={type:5,min:97,max:122},this.rules[19].opcodes=[],this.rules[19].opcodes[0]={type:5,min:48,max:57},this.rules[20].opcodes=[],this.rules[20].opcodes[0]={type:1,children:[1,2,3,4,5,6,7]},this.rules[20].opcodes[1]={type:4,index:19},this.rules[20].opcodes[2]={type:7,string:[97]},this.rules[20].opcodes[3]={type:7,string:[98]},this.rules[20].opcodes[4]={type:7,string:[99]},this.rules[20].opcodes[5]={type:7,string:[100]},this.rules[20].opcodes[6]={type:7,string:[101]},this.rules[20].opcodes[7]={type:7,string:[102]},this.toString=function(){let e="";return e+="; URI Template ABNF syntax\n",e+="; https://datatracker.ietf.org/doc/html/rfc6570#section-2\n",e+="URI-Template = *( literals / expression )\n",e+="\n",e+="; https://datatracker.ietf.org/doc/html/rfc6570#section-2.1\n",e+='; with verified erratum allowing "\'" (https://www.rfc-editor.org/errata/eid6937)\n',e+="literals = %x21 / %x23-24 / %x26-3B / %x3D / %x3F-5B\n",e+=" / %x5D / %x5F / %x61-7A / %x7E / ucschar / iprivate\n",e+=" / pct-encoded\n",e+=" ; any Unicode character except: CTL, SP,\n",e+=' ; DQUOTE, "%" (aside from pct-encoded),\n',e+=' ; "<", ">", "\\", "^", "`", "{", "|", "}"\n',e+="\n",e+="; https://datatracker.ietf.org/doc/html/rfc6570#section-2.2\n",e+='expression = "{" [ operator ] variable-list "}"\n',e+="operator = op-level2 / op-level3 / op-reserve\n",e+='op-level2 = "+" / "#"\n',e+='op-level3 = "." / "/" / ";" / "?" / "&"\n',e+='op-reserve = "=" / "," / "!" / "@" / "|"\n',e+="\n",e+="; https://datatracker.ietf.org/doc/html/rfc6570#section-2.3\n",e+='variable-list = varspec *( "," varspec )\n',e+="varspec = varname [ modifier-level4 ]\n",e+='varname = varchar *( ["."] varchar )\n',e+='varchar = ALPHA / DIGIT / "_" / pct-encoded\n',e+="\n",e+="; https://datatracker.ietf.org/doc/html/rfc6570#section-2.4\n",e+="modifier-level4 = prefix / explode\n",e+='prefix = ":" max-length\n',e+="max-length = %x31-39 0*3DIGIT ; positive integer < 10000\n",e+='explode = "*"\n',e+="\n",e+="; https://datatracker.ietf.org/doc/html/rfc6570#section-1.5\n",e+='pct-encoded = "%" HEXDIG HEXDIG\n',e+="ucschar = %xA0-D7FF / %xF900-FDCF / %xFDF0-FFEF\n",e+=" / %x10000-1FFFD / %x20000-2FFFD / %x30000-3FFFD\n",e+=" / %x40000-4FFFD / %x50000-5FFFD / %x60000-6FFFD\n",e+=" / %x70000-7FFFD / %x80000-8FFFD / %x90000-9FFFD\n",e+=" / %xA0000-AFFFD / %xB0000-BFFFD / %xC0000-CFFFD\n",e+=" / %xD0000-DFFFD / %xE1000-EFFFD\n",e+="iprivate = %xE000-F8FF / %xF0000-FFFFD / %x100000-10FFFD\n",e+="\n",e+="; https://datatracker.ietf.org/doc/html/rfc5234#appendix-B.1\n",e+="ALPHA = %x41-5A / %x61-7A ; A-Z / a-z\n",e+="DIGIT = %x30-39 ; 0-9\n",e+='HEXDIG = DIGIT / "A" / "B" / "C" / "D" / "E" / "F"\n','; URI Template ABNF syntax\n; https://datatracker.ietf.org/doc/html/rfc6570#section-2\nURI-Template = *( literals / expression )\n\n; https://datatracker.ietf.org/doc/html/rfc6570#section-2.1\n; with verified erratum allowing "\'" (https://www.rfc-editor.org/errata/eid6937)\nliterals = %x21 / %x23-24 / %x26-3B / %x3D / %x3F-5B\n / %x5D / %x5F / %x61-7A / %x7E / ucschar / iprivate\n / pct-encoded\n ; any Unicode character except: CTL, SP,\n ; DQUOTE, "%" (aside from pct-encoded),\n ; "<", ">", "\\", "^", "`", "{", "|", "}"\n\n; https://datatracker.ietf.org/doc/html/rfc6570#section-2.2\nexpression = "{" [ operator ] variable-list "}"\noperator = op-level2 / op-level3 / op-reserve\nop-level2 = "+" / "#"\nop-level3 = "." / "/" / ";" / "?" / "&"\nop-reserve = "=" / "," / "!" / "@" / "|"\n\n; https://datatracker.ietf.org/doc/html/rfc6570#section-2.3\nvariable-list = varspec *( "," varspec )\nvarspec = varname [ modifier-level4 ]\nvarname = varchar *( ["."] varchar )\nvarchar = ALPHA / DIGIT / "_" / pct-encoded\n\n; https://datatracker.ietf.org/doc/html/rfc6570#section-2.4\nmodifier-level4 = prefix / explode\nprefix = ":" max-length\nmax-length = %x31-39 0*3DIGIT ; positive integer < 10000\nexplode = "*"\n\n; https://datatracker.ietf.org/doc/html/rfc6570#section-1.5\npct-encoded = "%" HEXDIG HEXDIG\nucschar = %xA0-D7FF / %xF900-FDCF / %xFDF0-FFEF\n / %x10000-1FFFD / %x20000-2FFFD / %x30000-3FFFD\n / %x40000-4FFFD / %x50000-5FFFD / %x60000-6FFFD\n / %x70000-7FFFD / %x80000-8FFFD / %x90000-9FFFD\n / %xA0000-AFFFD / %xB0000-BFFFD / %xC0000-CFFFD\n / %xD0000-DFFFD / %xE1000-EFFFD\niprivate = %xE000-F8FF / %xF0000-FFFFD / %x100000-10FFFD\n\n; https://datatracker.ietf.org/doc/html/rfc5234#appendix-B.1\nALPHA = %x41-5A / %x61-7A ; A-Z / a-z\nDIGIT = %x30-39 ; 0-9\nHEXDIG = DIGIT / "A" / "B" / "C" / "D" / "E" / "F"\n'}};const Ur=Object.freeze({"":{first:"",sep:",",named:!1,ifemp:"",allowReserved:!1},"+":{first:"",sep:",",named:!1,ifemp:"",allowReserved:!0},".":{first:".",sep:".",named:!1,ifemp:"",allowReserved:!1},"/":{first:"/",sep:"/",named:!1,ifemp:"",allowReserved:!1},";":{first:";",sep:";",named:!0,ifemp:"",allowReserved:!1},"?":{first:"?",sep:"&",named:!0,ifemp:"=",allowReserved:!1},"&":{first:"&",sep:"&",named:!0,ifemp:"=",allowReserved:!1},"#":{first:"#",sep:",",named:!1,ifemp:"",allowReserved:!0}});const Rr=e=>/^[A-Za-z0-9\-._~]$/.test(e),Hr=e=>/^[:/?#[\]@!$&'()*+,;=]$/.test(e),qr=e=>void 0!==e&&/^[0-9A-Fa-f]$/.test(e),_r=e=>{const t=e.codePointAt(0);if(t>=55296&&t<=57343)throw new URIError("Lone surrogate cannot be encoded as UTF-8");return(e=>e<128?[e]:e<2048?[192|e>>6,128|63&e]:e<65536?[224|e>>12,128|e>>6&63,128|63&e]:[240|e>>18,128|e>>12&63,128|e>>6&63,128|63&e])(t).map(e=>`%${e.toString(16).toUpperCase().padStart(2,"0")}`).join("")},Gr=(e,t)=>{const n=Array.from(e);let r="";for(let e=0;e<n.length;e+=1){const o=n[e];Rr(o)||t&&Hr(o)?r+=o:t&&"%"===o&&qr(n[e+1])&&qr(n[e+2])?(r+=`%${n[e+1]}${n[e+2]}`,e+=2):r+=_r(o)}return r},zr=e=>Gr(e,!1),Yr=e=>Gr(e,!0),Vr=e=>null!=e,Wr=e=>{if(Vr(e)){if(Array.isArray(e)){const t=e.filter(Vr).map(String);return 0===t.length?void 0:t}if((e=>{if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return t===Object.prototype||null===t})(e)){const t=Object.entries(e).filter(([,e])=>Vr(e)).map(([e,t])=>[e,String(t)]);return 0===t.length?void 0:t}return String(e)}},Kr=({name:e,prefix:t,explode:n},r,o,s)=>{const{sep:i,named:a,ifemp:c,allowReserved:l}=o,u=l?Yr:zr,p=Yr(e),d=(e,t)=>""===t?`${e}${c}`:`${e}=${t}`;if("string"==typeof r){const e=void 0===t?r:Array.from(r).slice(0,t).join("");return a?d(p,u(e)):u(e)}if(void 0!==t)throw new $r(`Prefix modifier is not applicable to composite value of variable "${e}"`,{uriTemplate:s});const h="string"==typeof r[0];if(!n){const e=h?r.map(u):r.flatMap(([e,t])=>[u(e),u(t)]);return a?d(p,e.join(",")):e.join(",")}return h?r.map(e=>a?d(p,u(e)):u(e)).join(i):r.map(([e,t])=>a?d(u(e),u(t)):`${u(e)}=${u(t)}`).join(i)},Xr=({operator:e,variables:t},n,r)=>{const o=Ur[e];if(void 0===o)throw new Lr(`Unsupported operator "${e}" in URI Template: "${r}"`,{uriTemplate:r});const s=t.flatMap(e=>{const t=Object.prototype.hasOwnProperty.call(n,e.name)?Wr(n[e.name]):void 0;return void 0===t?[]:[Kr(e,t,o,r)]});return 0===s.length?"":`${o.first}${s.join(o.sep)}`},Qr=e=>(e=>{try{return"string"==typeof e&&decodeURIComponent(e)!==e}catch{return!1}})(e)?e:encodeURIComponent(e).replace(/%5B/g,"[").replace(/%5D/g,"]"),Jr=(e,t,n={})=>{const{parameterObjects:r,encoder:o}=n,s=null!=r;if(s&&void 0!==o)throw new TypeError("Options encoder and parameterObjects cannot be used together");const i=s?((e,t)=>{const n=Br(e);return(e,r)=>{const o=Object.prototype.hasOwnProperty.call(e,r)?e[r]:void 0;if(void 0===Wr(o))return`{${r}}`;try{return Xr(n(r),{[r]:o},t)}catch(e){if(e instanceof URIError)throw new $r("Malformed Unicode in path parameter serialization",{cause:e,pathTemplate:t});throw e}}})(r,e):(e=>(t,n)=>Object.prototype.hasOwnProperty.call(t,n)?e(t[n],n):`{${n}}`)(null!=o?o:Qr),a=Nr(e);if(!a.result.success)return e;const{segments:c,trailingSlash:l}=a.tree;return`/${c.map(({parts:e})=>e.map(e=>"PathLiteral"===e.type?e.value:i(t,e.name)).join("")).join("/")}${l?"/":""}`};new kr,new ct;Symbol("template-expression"),Symbol("fresh-char");const Zr={body:function({req:e,value:t}){void 0!==t&&(e.body=t)},header:function({req:e,parameter:t,value:n}){e.headers=e.headers||{},void 0!==n&&(e.headers[t.name]=n)},query:function({req:e,value:t,parameter:n}){e.query=e.query||{},!1===t&&"boolean"===n.type&&(t="false");0===t&&["number","integer"].indexOf(n.type)>-1&&(t="0");if(t)e.query[n.name]={collectionFormat:n.collectionFormat,value:t};else if(n.allowEmptyValue&&void 0!==t){const t=n.name;e.query[t]=e.query[t]||{},e.query[t].allowEmptyValue=!0}},path:function({req:e,value:t,parameter:n,baseURL:r}){if(void 0!==t){const o=e.url.replace(r,""),s=Jr(o,{[n.name]:t});e.url=r+s}},formData:function({req:e,value:t,parameter:n}){!1===t&&"boolean"===n.type&&(t="false");0===t&&["number","integer"].indexOf(n.type)>-1&&(t="0");if(t)e.form=e.form||{},e.form[n.name]={collectionFormat:n.collectionFormat,value:t};else if(n.allowEmptyValue&&void 0!==t){e.form=e.form||{};const t=n.name;e.form[t]=e.form[t]||{},e.form[t].allowEmptyValue=!0}}};function eo(e,t){return c()(t).call(t,"application/json")?"string"==typeof e?e:(Array.isArray(e)&&(e=e.map(e=>{try{return JSON.parse(e)}catch(t){return e}})),JSON.stringify(e)):String(e)}const to=A(function(e,t,n){var r,o={};for(r in n=n||{},t=t||{})d(r,t)&&(o[r]=d(r,n)?e(r,t[r],n[r]):t[r]);for(r in n)d(r,n)&&!d(r,o)&&(o[r]=n[r]);return o});const no=A(function e(t,n,r){return to(function(n,r,o){return ue(r)&&ue(o)?e(t,r,o):t(n,r,o)},n,r)});const ro=p(function(e,t){return no(function(e,t,n){return n},e,t)});function oo(){this.grammarObject="grammarObject",this.rules=[],this.rules[0]={name:"lenient-cookie-string",lower:"lenient-cookie-string",index:0,isBkr:!1},this.rules[1]={name:"lenient-cookie-entry",lower:"lenient-cookie-entry",index:1,isBkr:!1},this.rules[2]={name:"lenient-cookie-pair",lower:"lenient-cookie-pair",index:2,isBkr:!1},this.rules[3]={name:"lenient-cookie-pair-invalid",lower:"lenient-cookie-pair-invalid",index:3,isBkr:!1},this.rules[4]={name:"lenient-cookie-name",lower:"lenient-cookie-name",index:4,isBkr:!1},this.rules[5]={name:"lenient-cookie-value",lower:"lenient-cookie-value",index:5,isBkr:!1},this.rules[6]={name:"lenient-quoted-value",lower:"lenient-quoted-value",index:6,isBkr:!1},this.rules[7]={name:"lenient-quoted-char",lower:"lenient-quoted-char",index:7,isBkr:!1},this.rules[8]={name:"lenient-cookie-octet",lower:"lenient-cookie-octet",index:8,isBkr:!1},this.rules[9]={name:"cookie-string",lower:"cookie-string",index:9,isBkr:!1},this.rules[10]={name:"cookie-pair",lower:"cookie-pair",index:10,isBkr:!1},this.rules[11]={name:"cookie-name",lower:"cookie-name",index:11,isBkr:!1},this.rules[12]={name:"cookie-value",lower:"cookie-value",index:12,isBkr:!1},this.rules[13]={name:"cookie-octet",lower:"cookie-octet",index:13,isBkr:!1},this.rules[14]={name:"OWS",lower:"ows",index:14,isBkr:!1},this.rules[15]={name:"token",lower:"token",index:15,isBkr:!1},this.rules[16]={name:"tchar",lower:"tchar",index:16,isBkr:!1},this.rules[17]={name:"CHAR",lower:"char",index:17,isBkr:!1},this.rules[18]={name:"CTL",lower:"ctl",index:18,isBkr:!1},this.rules[19]={name:"separators",lower:"separators",index:19,isBkr:!1},this.rules[20]={name:"SP",lower:"sp",index:20,isBkr:!1},this.rules[21]={name:"HT",lower:"ht",index:21,isBkr:!1},this.rules[22]={name:"ALPHA",lower:"alpha",index:22,isBkr:!1},this.rules[23]={name:"DIGIT",lower:"digit",index:23,isBkr:!1},this.rules[24]={name:"DQUOTE",lower:"dquote",index:24,isBkr:!1},this.rules[25]={name:"WSP",lower:"wsp",index:25,isBkr:!1},this.rules[26]={name:"HTAB",lower:"htab",index:26,isBkr:!1},this.rules[27]={name:"CRLF",lower:"crlf",index:27,isBkr:!1},this.rules[28]={name:"CR",lower:"cr",index:28,isBkr:!1},this.rules[29]={name:"LF",lower:"lf",index:29,isBkr:!1},this.udts=[],this.rules[0].opcodes=[],this.rules[0].opcodes[0]={type:2,children:[1,2]},this.rules[0].opcodes[1]={type:4,index:1},this.rules[0].opcodes[2]={type:3,min:0,max:1/0},this.rules[0].opcodes[3]={type:2,children:[4,5,6]},this.rules[0].opcodes[4]={type:7,string:[59]},this.rules[0].opcodes[5]={type:4,index:14},this.rules[0].opcodes[6]={type:4,index:1},this.rules[1].opcodes=[],this.rules[1].opcodes[0]={type:1,children:[1,2]},this.rules[1].opcodes[1]={type:4,index:2},this.rules[1].opcodes[2]={type:4,index:3},this.rules[2].opcodes=[],this.rules[2].opcodes[0]={type:2,children:[1,2,3,4,5,6,7]},this.rules[2].opcodes[1]={type:4,index:14},this.rules[2].opcodes[2]={type:4,index:4},this.rules[2].opcodes[3]={type:4,index:14},this.rules[2].opcodes[4]={type:7,string:[61]},this.rules[2].opcodes[5]={type:4,index:14},this.rules[2].opcodes[6]={type:4,index:5},this.rules[2].opcodes[7]={type:4,index:14},this.rules[3].opcodes=[],this.rules[3].opcodes[0]={type:2,children:[1,2,4]},this.rules[3].opcodes[1]={type:4,index:14},this.rules[3].opcodes[2]={type:3,min:1,max:1/0},this.rules[3].opcodes[3]={type:4,index:16},this.rules[3].opcodes[4]={type:4,index:14},this.rules[4].opcodes=[],this.rules[4].opcodes[0]={type:3,min:1,max:1/0},this.rules[4].opcodes[1]={type:1,children:[2,3,4]},this.rules[4].opcodes[2]={type:5,min:33,max:58},this.rules[4].opcodes[3]={type:6,string:[60]},this.rules[4].opcodes[4]={type:5,min:62,max:126},this.rules[5].opcodes=[],this.rules[5].opcodes[0]={type:1,children:[1,6]},this.rules[5].opcodes[1]={type:2,children:[2,3]},this.rules[5].opcodes[2]={type:4,index:6},this.rules[5].opcodes[3]={type:3,min:0,max:1},this.rules[5].opcodes[4]={type:3,min:0,max:1/0},this.rules[5].opcodes[5]={type:4,index:8},this.rules[5].opcodes[6]={type:3,min:0,max:1/0},this.rules[5].opcodes[7]={type:4,index:8},this.rules[6].opcodes=[],this.rules[6].opcodes[0]={type:2,children:[1,2,4]},this.rules[6].opcodes[1]={type:4,index:24},this.rules[6].opcodes[2]={type:3,min:0,max:1/0},this.rules[6].opcodes[3]={type:4,index:7},this.rules[6].opcodes[4]={type:4,index:24},this.rules[7].opcodes=[],this.rules[7].opcodes[0]={type:1,children:[1,2]},this.rules[7].opcodes[1]={type:5,min:32,max:33},this.rules[7].opcodes[2]={type:5,min:35,max:126},this.rules[8].opcodes=[],this.rules[8].opcodes[0]={type:1,children:[1,2,3]},this.rules[8].opcodes[1]={type:5,min:33,max:43},this.rules[8].opcodes[2]={type:5,min:45,max:58},this.rules[8].opcodes[3]={type:5,min:60,max:126},this.rules[9].opcodes=[],this.rules[9].opcodes[0]={type:2,children:[1,2]},this.rules[9].opcodes[1]={type:4,index:10},this.rules[9].opcodes[2]={type:3,min:0,max:1/0},this.rules[9].opcodes[3]={type:2,children:[4,5,6]},this.rules[9].opcodes[4]={type:7,string:[59]},this.rules[9].opcodes[5]={type:4,index:20},this.rules[9].opcodes[6]={type:4,index:10},this.rules[10].opcodes=[],this.rules[10].opcodes[0]={type:2,children:[1,2,3]},this.rules[10].opcodes[1]={type:4,index:11},this.rules[10].opcodes[2]={type:7,string:[61]},this.rules[10].opcodes[3]={type:4,index:12},this.rules[11].opcodes=[],this.rules[11].opcodes[0]={type:4,index:15},this.rules[12].opcodes=[],this.rules[12].opcodes[0]={type:1,children:[1,6]},this.rules[12].opcodes[1]={type:2,children:[2,3,5]},this.rules[12].opcodes[2]={type:4,index:24},this.rules[12].opcodes[3]={type:3,min:0,max:1/0},this.rules[12].opcodes[4]={type:4,index:13},this.rules[12].opcodes[5]={type:4,index:24},this.rules[12].opcodes[6]={type:3,min:0,max:1/0},this.rules[12].opcodes[7]={type:4,index:13},this.rules[13].opcodes=[],this.rules[13].opcodes[0]={type:1,children:[1,2,3,4,5]},this.rules[13].opcodes[1]={type:6,string:[33]},this.rules[13].opcodes[2]={type:5,min:35,max:43},this.rules[13].opcodes[3]={type:5,min:45,max:58},this.rules[13].opcodes[4]={type:5,min:60,max:91},this.rules[13].opcodes[5]={type:5,min:93,max:126},this.rules[14].opcodes=[],this.rules[14].opcodes[0]={type:3,min:0,max:1/0},this.rules[14].opcodes[1]={type:2,children:[2,4]},this.rules[14].opcodes[2]={type:3,min:0,max:1},this.rules[14].opcodes[3]={type:4,index:27},this.rules[14].opcodes[4]={type:4,index:25},this.rules[15].opcodes=[],this.rules[15].opcodes[0]={type:3,min:1,max:1/0},this.rules[15].opcodes[1]={type:4,index:16},this.rules[16].opcodes=[],this.rules[16].opcodes[0]={type:1,children:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]},this.rules[16].opcodes[1]={type:7,string:[33]},this.rules[16].opcodes[2]={type:7,string:[35]},this.rules[16].opcodes[3]={type:7,string:[36]},this.rules[16].opcodes[4]={type:7,string:[37]},this.rules[16].opcodes[5]={type:7,string:[38]},this.rules[16].opcodes[6]={type:7,string:[39]},this.rules[16].opcodes[7]={type:7,string:[42]},this.rules[16].opcodes[8]={type:7,string:[43]},this.rules[16].opcodes[9]={type:7,string:[45]},this.rules[16].opcodes[10]={type:7,string:[46]},this.rules[16].opcodes[11]={type:7,string:[94]},this.rules[16].opcodes[12]={type:7,string:[95]},this.rules[16].opcodes[13]={type:7,string:[96]},this.rules[16].opcodes[14]={type:7,string:[124]},this.rules[16].opcodes[15]={type:7,string:[126]},this.rules[16].opcodes[16]={type:4,index:23},this.rules[16].opcodes[17]={type:4,index:22},this.rules[17].opcodes=[],this.rules[17].opcodes[0]={type:5,min:1,max:127},this.rules[18].opcodes=[],this.rules[18].opcodes[0]={type:1,children:[1,2]},this.rules[18].opcodes[1]={type:5,min:0,max:31},this.rules[18].opcodes[2]={type:6,string:[127]},this.rules[19].opcodes=[],this.rules[19].opcodes[0]={type:1,children:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]},this.rules[19].opcodes[1]={type:7,string:[40]},this.rules[19].opcodes[2]={type:7,string:[41]},this.rules[19].opcodes[3]={type:7,string:[60]},this.rules[19].opcodes[4]={type:7,string:[62]},this.rules[19].opcodes[5]={type:7,string:[64]},this.rules[19].opcodes[6]={type:7,string:[44]},this.rules[19].opcodes[7]={type:7,string:[59]},this.rules[19].opcodes[8]={type:7,string:[58]},this.rules[19].opcodes[9]={type:7,string:[92]},this.rules[19].opcodes[10]={type:6,string:[34]},this.rules[19].opcodes[11]={type:7,string:[47]},this.rules[19].opcodes[12]={type:7,string:[91]},this.rules[19].opcodes[13]={type:7,string:[93]},this.rules[19].opcodes[14]={type:7,string:[63]},this.rules[19].opcodes[15]={type:7,string:[61]},this.rules[19].opcodes[16]={type:7,string:[123]},this.rules[19].opcodes[17]={type:7,string:[125]},this.rules[19].opcodes[18]={type:4,index:20},this.rules[19].opcodes[19]={type:4,index:21},this.rules[20].opcodes=[],this.rules[20].opcodes[0]={type:6,string:[32]},this.rules[21].opcodes=[],this.rules[21].opcodes[0]={type:6,string:[9]},this.rules[22].opcodes=[],this.rules[22].opcodes[0]={type:1,children:[1,2]},this.rules[22].opcodes[1]={type:5,min:65,max:90},this.rules[22].opcodes[2]={type:5,min:97,max:122},this.rules[23].opcodes=[],this.rules[23].opcodes[0]={type:5,min:48,max:57},this.rules[24].opcodes=[],this.rules[24].opcodes[0]={type:6,string:[34]},this.rules[25].opcodes=[],this.rules[25].opcodes[0]={type:1,children:[1,2]},this.rules[25].opcodes[1]={type:4,index:20},this.rules[25].opcodes[2]={type:4,index:26},this.rules[26].opcodes=[],this.rules[26].opcodes[0]={type:6,string:[9]},this.rules[27].opcodes=[],this.rules[27].opcodes[0]={type:2,children:[1,2]},this.rules[27].opcodes[1]={type:4,index:28},this.rules[27].opcodes[2]={type:4,index:29},this.rules[28].opcodes=[],this.rules[28].opcodes[0]={type:6,string:[13]},this.rules[29].opcodes=[],this.rules[29].opcodes[0]={type:6,string:[10]},this.toString=function(){let e="";return e+="; Lenient version of https://datatracker.ietf.org/doc/html/rfc6265#section-4.2.1\n",e+='lenient-cookie-string = lenient-cookie-entry *( ";" OWS lenient-cookie-entry )\n',e+="lenient-cookie-entry = lenient-cookie-pair / lenient-cookie-pair-invalid\n",e+='lenient-cookie-pair = OWS lenient-cookie-name OWS "=" OWS lenient-cookie-value OWS\n',e+='lenient-cookie-pair-invalid = OWS 1*tchar OWS ; Allow for standalone entries like "fizz" to be ignored\n',e+='lenient-cookie-name = 1*( %x21-3A / %x3C / %x3E-7E ) ; Allow all printable US-ASCII except "="\n',e+="lenient-cookie-value = lenient-quoted-value [ *lenient-cookie-octet ] / *lenient-cookie-octet\n",e+="lenient-quoted-value = DQUOTE *( lenient-quoted-char ) DQUOTE\n",e+="lenient-quoted-char = %x20-21 / %x23-7E ; Allow all printable US-ASCII except DQUOTE\n",e+="lenient-cookie-octet = %x21-2B / %x2D-3A / %x3C-7E\n",e+=" ; Allow all printable characters except CTLs, semicolon and SP\n",e+="\n",e+="; https://datatracker.ietf.org/doc/html/rfc6265#section-4.2.1\n",e+='cookie-string = cookie-pair *( ";" SP cookie-pair )\n',e+="\n",e+="; https://datatracker.ietf.org/doc/html/rfc6265#section-4.1.1\n",e+="; https://www.rfc-editor.org/errata/eid5518\n",e+='cookie-pair = cookie-name "=" cookie-value\n',e+="cookie-name = token\n",e+="cookie-value = ( DQUOTE *cookie-octet DQUOTE ) / *cookie-octet\n",e+=" ; https://www.rfc-editor.org/errata/eid8242\n",e+="cookie-octet = %x21 / %x23-2B / %x2D-3A / %x3C-5B / %x5D-7E\n",e+=" ; US-ASCII characters excluding CTLs,\n",e+=" ; whitespace, DQUOTE, comma, semicolon,\n",e+=" ; and backslash\n",e+="\n",e+="; https://datatracker.ietf.org/doc/html/rfc6265#section-2.2\n",e+='OWS = *( [ CRLF ] WSP ) ; "optional" whitespace\n',e+="\n",e+="; https://datatracker.ietf.org/doc/html/rfc9110#section-5.6.2\n",e+="token = 1*(tchar)\n",e+='tchar = "!" / "#" / "$" / "%" / "&" / "\'" / "*"\n',e+=' / "+" / "-" / "." / "^" / "_" / "`" / "|" / "~"\n',e+=" / DIGIT / ALPHA\n",e+=" ; any VCHAR, except delimiters\n",e+="\n",e+="; https://datatracker.ietf.org/doc/html/rfc2616#section-2.2\n",e+="CHAR = %x01-7F ; any US-ASCII character (octets 0 - 127)\n",e+="CTL = %x00-1F / %x7F ; any US-ASCII control character\n",e+='separators = "(" / ")" / "<" / ">" / "@" / "," / ";" / ":" / "\\" / %x22 / "/" / "[" / "]" / "?" / "=" / "{" / "}" / SP / HT\n',e+="SP = %x20 ; US-ASCII SP, space (32)\n",e+="HT = %x09 ; US-ASCII HT, horizontal-tab (9)\n",e+="\n",e+="; https://datatracker.ietf.org/doc/html/rfc5234#appendix-B.1\n",e+="ALPHA = %x41-5A / %x61-7A ; A-Z / a-z\n",e+="DIGIT = %x30-39 ; 0-9\n",e+='DQUOTE = %x22 ; " (Double Quote)\n',e+="WSP = SP / HTAB ; white space\n",e+="HTAB = %x09 ; horizontal tab\n",e+="CRLF = CR LF ; Internet standard newline\n",e+="CR = %x0D ; carriage return\n",e+="LF = %x0A ; linefeed\n",'; Lenient version of https://datatracker.ietf.org/doc/html/rfc6265#section-4.2.1\nlenient-cookie-string = lenient-cookie-entry *( ";" OWS lenient-cookie-entry )\nlenient-cookie-entry = lenient-cookie-pair / lenient-cookie-pair-invalid\nlenient-cookie-pair = OWS lenient-cookie-name OWS "=" OWS lenient-cookie-value OWS\nlenient-cookie-pair-invalid = OWS 1*tchar OWS ; Allow for standalone entries like "fizz" to be ignored\nlenient-cookie-name = 1*( %x21-3A / %x3C / %x3E-7E ) ; Allow all printable US-ASCII except "="\nlenient-cookie-value = lenient-quoted-value [ *lenient-cookie-octet ] / *lenient-cookie-octet\nlenient-quoted-value = DQUOTE *( lenient-quoted-char ) DQUOTE\nlenient-quoted-char = %x20-21 / %x23-7E ; Allow all printable US-ASCII except DQUOTE\nlenient-cookie-octet = %x21-2B / %x2D-3A / %x3C-7E\n ; Allow all printable characters except CTLs, semicolon and SP\n\n; https://datatracker.ietf.org/doc/html/rfc6265#section-4.2.1\ncookie-string = cookie-pair *( ";" SP cookie-pair )\n\n; https://datatracker.ietf.org/doc/html/rfc6265#section-4.1.1\n; https://www.rfc-editor.org/errata/eid5518\ncookie-pair = cookie-name "=" cookie-value\ncookie-name = token\ncookie-value = ( DQUOTE *cookie-octet DQUOTE ) / *cookie-octet\n ; https://www.rfc-editor.org/errata/eid8242\ncookie-octet = %x21 / %x23-2B / %x2D-3A / %x3C-5B / %x5D-7E\n ; US-ASCII characters excluding CTLs,\n ; whitespace, DQUOTE, comma, semicolon,\n ; and backslash\n\n; https://datatracker.ietf.org/doc/html/rfc6265#section-2.2\nOWS = *( [ CRLF ] WSP ) ; "optional" whitespace\n\n; https://datatracker.ietf.org/doc/html/rfc9110#section-5.6.2\ntoken = 1*(tchar)\ntchar = "!" / "#" / "$" / "%" / "&" / "\'" / "*"\n / "+" / "-" / "." / "^" / "_" / "`" / "|" / "~"\n / DIGIT / ALPHA\n ; any VCHAR, except delimiters\n\n; https://datatracker.ietf.org/doc/html/rfc2616#section-2.2\nCHAR = %x01-7F ; any US-ASCII character (octets 0 - 127)\nCTL = %x00-1F / %x7F ; any US-ASCII control character\nseparators = "(" / ")" / "<" / ">" / "@" / "," / ";" / ":" / "\\" / %x22 / "/" / "[" / "]" / "?" / "=" / "{" / "}" / SP / HT\nSP = %x20 ; US-ASCII SP, space (32)\nHT = %x09 ; US-ASCII HT, horizontal-tab (9)\n\n; https://datatracker.ietf.org/doc/html/rfc5234#appendix-B.1\nALPHA = %x41-5A / %x61-7A ; A-Z / a-z\nDIGIT = %x30-39 ; 0-9\nDQUOTE = %x22 ; " (Double Quote)\nWSP = SP / HTAB ; white space\nHTAB = %x09 ; horizontal tab\nCRLF = CR LF ; Internet standard newline\nCR = %x0D ; carriage return\nLF = %x0A ; linefeed\n'}}new oo;const so=e=>{if("string"!=typeof e||1!==[...e].length)throw new TypeError("Input must be a single character string.");const t=e.codePointAt(0);return t<=127?`%${t.toString(16).toUpperCase().padStart(2,"0")}`:encodeURIComponent(e)},io=e=>e.length>=2&&e.startsWith('"')&&e.endsWith('"'),ao=e=>io(e)?e.slice(1,-1):e,co=e=>`"${e}"`,lo=e=>e,uo=new ct,po=new oo,ho=(e,{strict:t=!0,quoted:n=null}={})=>{try{const r=t?"cookie-value":"lenient-cookie-value",o=uo.parse(po,r,e);return"boolean"==typeof n?o.success&&n===io(e):o.success}catch{return!1}},fo=e=>buffer__WEBPACK_IMPORTED_MODULE_2__.Buffer.from(e).toString("base64"),mo=(e,t=fo)=>{const n=String(e);if(ho(n))return n;const r=io(n),o=t(r?ao(n):n);return r?co(o):o},yo=e=>fo(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/g,""),go=e=>mo(e,yo),xo=new ct,bo=new oo,vo=(e,{strict:t=!0}={})=>{try{const n=t?"cookie-name":"lenient-cookie-name";return xo.parse(bo,n,e).success}catch{return!1}},wo=e=>{if(!ho(e))throw new TypeError(`Invalid cookie value: ${e}`)},Ao={encoders:{name:lo,value:go},validators:{name:e=>{if(!vo(e))throw new TypeError(`Invalid cookie name: ${e}`)},value:wo}},ko=(e,t,n={})=>{const r={...Ao,...n,encoders:{...Ao.encoders,...n.encoders},validators:{...Ao.validators,...n.validators}},o=r.encoders.name(e),s=r.encoders.value(t);return r.validators.name(o),r.validators.value(s),`${o}=${s}`},To=(e,t={})=>(Array.isArray(e)?e:"object"==typeof e&&null!==e?Object.entries(e):[]).map(([e,n])=>ko(e,n,t)).join("; ");const Fo=new ct,So=new oo,Oo=e=>{const t=String(e);if(ho(t))return t;const n=io(t),r=n?ao(t):t;let o="";for(const e of r)o+=Fo.parse(So,"cookie-octet",e).success?e:so(e);return n?co(o):o};new ct,new oo;const Eo=e=>{if(!vo(e,{strict:!1}))throw new TypeError(`Invalid cookie name: ${e}`)};const Co=e=>Oo(e).replace(/[=&]/gu,e=>"="===e?"%3D":"%26"),jo=(e,t={})=>To(e,ro({encoders:{name:lo,value:Co},validators:{name:Eo,value:wo}},t));function Io({req:e,value:t,parameter:n,baseURL:r}){const{name:o,style:s,explode:i,content:a}=n;if(void 0===t)return;const c=e.url.replace(r,"");let l;if(a){const e=Object.keys(a)[0];l=Jr(c,{[o]:t},{encoder:t=>jt(eo(t,e))})}else l=Jr(c,{[o]:t},{encoder:e=>It({key:n.name,value:e,style:s||"simple",explode:i??!1,escape:"reserved"})});e.url=r+l}function Do({req:e,value:t,parameter:n}){if(e.query=e.query||{},void 0!==t&&n.content){const r=eo(t,Object.keys(n.content)[0]);if(r)e.query[n.name]=r;else if(n.allowEmptyValue){const t=n.name;e.query[t]=e.query[t]||{},e.query[t].allowEmptyValue=!0}return}if(!1===t&&(t="false"),0===t&&(t="0"),t){const{style:r,explode:o,allowReserved:s}=n;e.query[n.name]={value:t,serializationOption:{style:r,explode:o,allowReserved:s}}}else if(n.allowEmptyValue&&void 0!==t){const t=n.name;e.query[t]=e.query[t]||{},e.query[t].allowEmptyValue=!0}}const $o=["accept","authorization","content-type"];function Lo({req:e,parameter:t,value:n}){if(e.headers=e.headers||{},!($o.indexOf(t.name.toLowerCase())>-1)){if(void 0!==n&&t.content){const r=Object.keys(t.content)[0];return void(e.headers[t.name]=eo(n,r))}void 0===n||Array.isArray(n)&&0===n.length||(e.headers[t.name]=It({key:t.name,value:n,style:t.style||"simple",explode:void 0!==t.explode&&t.explode,escape:!1}))}}function Mo({req:e,parameter:t,value:n}){const{name:r}=t;if(e.headers=e.headers||{},void 0!==n&&t.content){const o=eo(n,Object.keys(t.content)[0]);return void(e.headers.Cookie=jo({[r]:o}))}if(void 0!==n&&(!Array.isArray(n)||0!==n.length)){const o=It({key:t.name,value:n,escape:!1,style:t.style||"form",explode:t.explode??!1}),s=Array.isArray(n)&&t.explode?`${r}=${o}`:o;e.headers.Cookie=jo({[r]:s})}}const No=e=>{let t;return t=e instanceof buffer__WEBPACK_IMPORTED_MODULE_2__.Buffer?e:buffer__WEBPACK_IMPORTED_MODULE_2__.Buffer.from(e.toString(),"binary"),t.toString("base64")};function Po(e,t){const{operation:n,requestBody:r,securities:o,spec:s,attachContentTypeForEmptyPayload:i}=e;let{requestContentType:a}=e;t=function({request:e,securities:t={},operation:n={},spec:r}){const o={...e},{authorized:s={}}=t,i=n.security||r.security||[],a=s&&!!Object.keys(s).length,c=r?.components?.securitySchemes||{};if(o.headers=o.headers||{},o.query=o.query||{},!Object.keys(t).length||!a||!i||Array.isArray(n.security)&&!n.security.length)return e;return i.forEach(e=>{Object.keys(e).forEach(e=>{const t=s[e],n=c[e];if(!t)return;const r=t.value||t,{type:i}=n;if(t)if("apiKey"===i)"query"===n.in&&(o.query[n.name]=r),"header"===n.in&&(o.headers[n.name]=r),"cookie"===n.in&&(o.cookies[n.name]=r);else if("http"===i){if(/^basic$/i.test(n.scheme)){const e=r.username||"",t=r.password||"",n=No(`${e}:${t}`);o.headers.Authorization=`Basic ${n}`}/^bearer$/i.test(n.scheme)&&(o.headers.Authorization=`Bearer ${r}`)}else if("oauth2"===i||"openIdConnect"===i){const e=t.token||{},r=e[n["x-tokenName"]||"access_token"];let s=e.token_type;s&&"bearer"!==s.toLowerCase()||(s="Bearer"),o.headers.Authorization=`${s} ${r}`}})}),o}({request:t,securities:o,operation:n,spec:s});const c=n.requestBody||{},l=Object.keys(c.content||{}),u=a&&l.indexOf(a)>-1;if(r||i){if(a&&u)t.headers["Content-Type"]=a;else if(!a){const e=l[0];e&&(t.headers["Content-Type"]=e,a=e)}}else a&&u&&(t.headers["Content-Type"]=a);if(!e.responseContentType&&n.responses){const e=Object.entries(n.responses).filter(([e,t])=>{const n=parseInt(e,10);return n>=200&&n<300&&Ze(t.content)}).reduce((e,[,t])=>e.concat(Object.keys(t.content)),[]);e.length>0&&(t.headers.accept=e.join(", "))}if(r)if(a){if(l.indexOf(a)>-1)if("application/x-www-form-urlencoded"===a||"multipart/form-data"===a)if("object"==typeof r){const e=c.content[a]?.encoding??{};t.form={},Object.keys(r).forEach(n=>{let o;try{o=JSON.parse(r[n])}catch{o=r[n]}t.form[n]={value:o,encoding:e[n]||{}}})}else if("string"==typeof r){const e=c.content[a]?.encoding??{};try{t.form={};const n=JSON.parse(r);Object.entries(n).forEach(([n,r])=>{t.form[n]={value:r,encoding:e[n]||{}}})}catch{t.form=r}}else t.form=r;else t.body=r}else t.body=r;return t}function Bo(e,t){const{spec:n,operation:r,securities:o,requestContentType:s,responseContentType:i,attachContentTypeForEmptyPayload:a}=e;if(t=function({request:e,securities:t={},operation:n={},spec:r}){const o={...e},{authorized:s={},specSecurity:i=[]}=t,a=n.security||i,c=s&&!!Object.keys(s).length,l=r.securityDefinitions;if(o.headers=o.headers||{},o.query=o.query||{},!Object.keys(t).length||!c||!a||Array.isArray(n.security)&&!n.security.length)return e;return a.forEach(e=>{Object.keys(e).forEach(e=>{const t=s[e];if(!t)return;const{token:n}=t,r=t.value||t,i=l[e],{type:a}=i,c=i["x-tokenName"]||"access_token",u=n&&n[c];let p=n&&n.token_type;if(t)if("apiKey"===a){const e="query"===i.in?"query":"headers";o[e]=o[e]||{},o[e][i.name]=r}else if("basic"===a)if(r.header)o.headers.authorization=r.header;else{const e=r.username||"",t=r.password||"";r.base64=No(`${e}:${t}`),o.headers.authorization=`Basic ${r.base64}`}else"oauth2"===a&&u&&(p=p&&"bearer"!==p.toLowerCase()?p:"Bearer",o.headers.authorization=`${p} ${u}`)})}),o}({request:t,securities:o,operation:r,spec:n}),t.body||t.form||a)s?t.headers["Content-Type"]=s:Array.isArray(r.consumes)?[t.headers["Content-Type"]]=r.consumes:Array.isArray(n.consumes)?[t.headers["Content-Type"]]=n.consumes:r.parameters&&r.parameters.filter(e=>"file"===e.type).length?t.headers["Content-Type"]="multipart/form-data":r.parameters&&r.parameters.filter(e=>"formData"===e.in).length&&(t.headers["Content-Type"]="application/x-www-form-urlencoded");else if(s){const e=r.parameters&&r.parameters.filter(e=>"body"===e.in).length>0,n=r.parameters&&r.parameters.filter(e=>"formData"===e.in).length>0;(e||n)&&(t.headers["Content-Type"]=s)}return!i&&Array.isArray(r.produces)&&r.produces.length>0&&(t.headers.accept=r.produces.join(", ")),t}const Uo=e=>{try{const{openapi:t}=e;return"string"==typeof t&&/^3\.2\.(?:[1-9]\d*|0)$/.test(t)}catch{return!1}},Ro=e=>(e=>{try{const{openapi:t}=e;return"string"==typeof t&&/^3\.0\.(?:[1-9]\d*|0)$/.test(t)}catch{return!1}})(e)||(e=>{try{const{openapi:t}=e;return"string"==typeof t&&/^3\.1\.(?:[1-9]\d*|0)$/.test(t)}catch{return!1}})(e)||Uo(e);function Ho(e,t){return function(e,t,n){if(!e||"object"!=typeof e||!e.paths||"object"!=typeof e.paths)return null;const{paths:r}=e,o=Uo(e);for(const s in r){for(const o in r[s]){if("PARAMETERS"===o.toUpperCase()||"additionalOperations"===o)continue;const i=r[s][o];if(!i||"object"!=typeof i)continue;const a={spec:e,pathName:s,method:o.toUpperCase(),operation:i},c=t(a);if(n&&c)return a}const{additionalOperations:i}=r[s];if(o&&i&&"object"==typeof i)for(const r of Object.keys(i)){const o=i[r];if(!o||"object"!=typeof o)continue;const a={spec:e,pathName:s,method:r,operation:o},c=t(a);if(n&&c)return a}}}(e,t,!0)||null}const qo=e=>e.replace(/\W/gi,"_"),_o=new Set(["connect","delete","get","head","options","patch","post","put","query","trace"]);function Go(e,t,n="",{v2OperationIdCompatibilityMode:r}={}){if(!e||"object"!=typeof e)return null;return(e.operationId||"").replace(/\s/g,"").length?qo(e.operationId):function(e,t,{v2OperationIdCompatibilityMode:n}={}){if(n){let n=`${t.toLowerCase()}_${e}`.replace(/[\s!@#$%^&*()_+=[{\]};:<>|./?,\\'""-]/g,"_");return n=n||`${e.substring(1)}_${t}`,n.replace(/((_){2,})/g,"_").replace(/^(_)*/g,"").replace(/([_])*$/g,"")}return`${_o.has(t.toLowerCase())?t.toLowerCase():t}${qo(e)}`}(t,n,{v2OperationIdCompatibilityMode:r})}function zo(e,t){return`${t.toLowerCase()}-${e}`}const{isHttpUrl:Yo}=_speclynx_apidom_reference_configuration_empty__WEBPACK_IMPORTED_MODULE_1__;const Vo=e=>Array.isArray(e)?e:[],Wo=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/,Ko=(e,{recurse:t=!0,depth:n=1}={})=>{var r,o;if(Ze(e)){if("object"===e.type||"array"===e.type||Array.isArray(e.type)&&(c()(r=e.type).call(r,"object")||c()(o=e.type).call(o,"array")))return e;if(!(n>3e3)&&t){const r=Array.isArray(e.oneOf)?e.oneOf.find(e=>Ko(e,{recurse:t,depth:n+1})):void 0;if(r)return r;const o=Array.isArray(e.anyOf)?e.anyOf.find(e=>Ko(e,{recurse:t,depth:n+1})):void 0;if(o)return o}}},Xo=({value:e,silentFail:t=!1})=>{try{const n=JSON.parse(e);if(Ze(n)||Array.isArray(n))return n;if(!t)throw new Error("Expected JSON serialized object or array")}catch{if(!t)throw new Error("Could not parse parameter value string as JSON Object or JSON Array")}return e},Qo=e=>{try{return new URL(e)}catch{const t=new URL(e,"https://swagger.io"),n=String(e).startsWith("/")?t.pathname:t.pathname.substring(1);return{hash:t.hash,host:"",hostname:"",href:"",origin:"",password:"",pathname:n,port:"",protocol:"",search:t.search,searchParams:t.searchParams}}};class Jo extends _speclynx_apidom_error__WEBPACK_IMPORTED_MODULE_0__["default"]{}function Zo(e){const{spec:n,operationId:r,responseContentType:o,scheme:s,requestInterceptor:a,responseInterceptor:c,contextUrl:l,userFetch:u,server:p,serverVariables:d,http:h,signal:f,serverVariableEncoder:m}=e;let{parameters:y,parameterBuilders:x,baseURL:v}=e;const w=Ro(n);x||(x=w?i:Zr);let A={url:"",credentials:h&&h.withCredentials?"include":"same-origin",headers:{},cookies:{}};f&&(A.signal=f),a&&(A.requestInterceptor=a),c&&(A.responseInterceptor=c),u&&(A.userFetch=u);const k=function(e,t){return e&&e.paths?Ho(e,({pathName:e,method:n,operation:r})=>{if(!r||"object"!=typeof r)return!1;const o=r.operationId;return[Go(r,e,n),zo(e,n),o].some(e=>e&&e===t)}):null}(n,r);if(!k)throw new Jo(`Operation ${r} not found`);const{operation:T={},method:F,pathName:S}=k;if(!(e=>"string"==typeof e&&Wo.test(e))(F))throw new Error("Invalid HTTP method");if(v=v??function(e){const n=Ro(e.spec);return n?function({spec:e,pathName:n,method:r,operation:o,server:s,contextUrl:i,serverVariables:a={},serverVariableEncoder:c}){let l,u=[],p="";const d=o?.servers??e?.paths?.[n]?.[(r||"").toLowerCase()]?.servers,h=e?.paths?.[n]?.servers,f=e?.servers;u=ts(d)?d:ts(h)?h:ts(f)?f:[Tt],s&&(l=u.find(e=>e.url===s),l&&(p=s));p||([l]=u,p=l.url);if(vt(p,{strict:!0})){const e=Object.entries({...l.variables}).reduce((e,[t,n])=>(e[t]=n.default,e),{});p=kt(p,{...e,...a},{encoder:"function"==typeof c?c:b})}return function(e="",n=""){const r=Qo(e&&n?_speclynx_apidom_reference_configuration_empty__WEBPACK_IMPORTED_MODULE_1__.resolve(n,e):e),o=Qo(n),s=es(r.protocol)||es(o.protocol),i=r.host||o.host,a=r.pathname;let c;c=s&&i?`${s}://${i+a}`:a;return"/"===c[c.length-1]?c.slice(0,-1):c}(p,i)}(e):function({spec:e,scheme:t,contextUrl:n=""}){const r=Qo(n),o=Array.isArray(e.schemes)?e.schemes[0]:null,s=t||o||es(r.protocol)||"http",i=e.host||r.host||"",a=e.basePath||"";let c;c=s&&i?`${s}://${i+a}`:a;return"/"===c[c.length-1]?c.slice(0,-1):c}(e)}({spec:n,scheme:s,contextUrl:l,server:p,serverVariables:d,pathName:S,method:F,operation:T,serverVariableEncoder:m}),A.url+=v,!r)return delete A.cookies,A;A.url+=S,A.method=F,y=y||{};const O=n.paths[S]||{};o&&(A.headers.accept=o);const E=(e=>{const t={};e.forEach(e=>{t[e.in]||(t[e.in]={}),t[e.in][e.name]=e});const n=[];return Object.keys(t).forEach(e=>{Object.keys(t[e]).forEach(r=>{n.push(t[e][r])})}),n})([].concat(Vo(T.parameters)).concat(Vo(O.parameters)));E.forEach(e=>{const t=x[e.in];let r;if("body"===e.in&&e.schema&&e.schema.properties&&(r=y),r=e&&e.name&&y[e.name],void 0===r?r=e&&e.name&&y[`${e.in}.${e.name}`]:((e,t)=>t.filter(t=>t.name===e))(e.name,E).length>1&&console.warn(`Parameter '${e.name}' is ambiguous because the defined spec has more than one parameter with the name: '${e.name}' and the passed-in parameter values did not define an 'in' value.`),null!==r){if(void 0!==e.default&&void 0===r&&(r=e.default),void 0===r&&e.required&&!e.allowEmptyValue)throw new Error(`Required parameter ${e.name} is not provided`);w&&"string"==typeof r&&(g("type",e.schema)&&"string"==typeof e.schema.type&&Ko(e.schema,{recurse:!1})?r=Xo({value:r,silentFail:!1}):(g("type",e.schema)&&Array.isArray(e.schema.type)&&Ko(e.schema,{recurse:!1})||!g("type",e.schema)&&Ko(e.schema,{recurse:!0}))&&(r=Xo({value:r,silentFail:!0}))),t&&t({req:A,parameter:e,value:r,operation:T,spec:n,baseURL:v})}});const C={...e,operation:T};if(A=w?Po(C,A):Bo(C,A),A.cookies&&Object.keys(A.cookies).length>0){const e=jo(A.cookies);at(A.headers.Cookie)?A.headers.Cookie+=`; ${e}`:A.headers.Cookie=e}return A.cookies&&delete A.cookies,Bt(A)}const es=e=>e?e.replace(/\W/g,""):null;const ts=e=>Array.isArray(e)&&e.length>0;
|
|
114975
115126
|
|
|
114976
115127
|
/***/ }
|
|
114977
115128
|
|
|
@@ -115101,32 +115252,34 @@ let __webpack_exports__ = {};
|
|
|
115101
115252
|
__webpack_require__.r(__webpack_exports__);
|
|
115102
115253
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
115103
115254
|
/* harmony export */ APIDocument: () => (/* reexport safe */ _document_APIDocument_ts__WEBPACK_IMPORTED_MODULE_5__["default"]),
|
|
115104
|
-
/* harmony export */ ActionResolver: () => (/* reexport safe */
|
|
115255
|
+
/* harmony export */ ActionResolver: () => (/* reexport safe */ _action_ActionResolver_ts__WEBPACK_IMPORTED_MODULE_42__["default"]),
|
|
115105
115256
|
/* harmony export */ ArazzoDocument: () => (/* reexport safe */ _document_ArazzoDocument_ts__WEBPACK_IMPORTED_MODULE_6__["default"]),
|
|
115106
115257
|
/* harmony export */ ArazzoDocumentRegistryProvider: () => (/* reexport safe */ _registry_providers_ArazzoDocumentRegistryProvider_ts__WEBPACK_IMPORTED_MODULE_3__["default"]),
|
|
115107
115258
|
/* harmony export */ ArazzoRunner: () => (/* reexport safe */ _ArazzoRunner_ts__WEBPACK_IMPORTED_MODULE_0__["default"]),
|
|
115108
|
-
/* harmony export */ ArazzoRunnerError: () => (/* reexport safe */
|
|
115259
|
+
/* harmony export */ ArazzoRunnerError: () => (/* reexport safe */ _errors_ArazzoRunnerError_ts__WEBPACK_IMPORTED_MODULE_49__["default"]),
|
|
115109
115260
|
/* harmony export */ ArazzoSourceDescriptionIndex: () => (/* reexport safe */ _document_ArazzoSourceDescriptionIndex_ts__WEBPACK_IMPORTED_MODULE_10__["default"]),
|
|
115110
115261
|
/* harmony export */ ArazzoStepExtractor: () => (/* reexport safe */ _extractor_ArazzoStepExtractor_ts__WEBPACK_IMPORTED_MODULE_13__["default"]),
|
|
115111
115262
|
/* harmony export */ ArazzoStepIndex: () => (/* reexport safe */ _document_ArazzoStepIndex_ts__WEBPACK_IMPORTED_MODULE_9__["default"]),
|
|
115112
115263
|
/* harmony export */ ArazzoStepNormalizer: () => (/* reexport safe */ _normalizer_ArazzoStepNormalizer_ts__WEBPACK_IMPORTED_MODULE_16__["default"]),
|
|
115113
|
-
/* harmony export */ ArazzoValueResolver: () => (/* reexport safe */
|
|
115264
|
+
/* harmony export */ ArazzoValueResolver: () => (/* reexport safe */ _resolver_ArazzoValueResolver_ts__WEBPACK_IMPORTED_MODULE_36__["default"]),
|
|
115114
115265
|
/* harmony export */ ArazzoWorkflowExtractor: () => (/* reexport safe */ _extractor_ArazzoWorkflowExtractor_ts__WEBPACK_IMPORTED_MODULE_12__["default"]),
|
|
115115
115266
|
/* harmony export */ ArazzoWorkflowIndex: () => (/* reexport safe */ _document_ArazzoWorkflowIndex_ts__WEBPACK_IMPORTED_MODULE_8__["default"]),
|
|
115116
|
-
/* harmony export */ ArazzoWorkflowLocatorNormalizer: () => (/* reexport safe */
|
|
115267
|
+
/* harmony export */ ArazzoWorkflowLocatorNormalizer: () => (/* reexport safe */ _executor_ArazzoWorkflowLocatorNormalizer_ts__WEBPACK_IMPORTED_MODULE_48__["default"]),
|
|
115117
115268
|
/* harmony export */ ArazzoWorkflowNormalizer: () => (/* reexport safe */ _normalizer_ArazzoWorkflowNormalizer_ts__WEBPACK_IMPORTED_MODULE_15__["default"]),
|
|
115118
|
-
/* harmony export */ AssemblerError: () => (/* reexport safe */
|
|
115119
|
-
/* harmony export */ ClientError: () => (/* reexport safe */
|
|
115120
|
-
/* harmony export */ CriterionError: () => (/* reexport safe */
|
|
115269
|
+
/* harmony export */ AssemblerError: () => (/* reexport safe */ _errors_AssemblerError_ts__WEBPACK_IMPORTED_MODULE_50__["default"]),
|
|
115270
|
+
/* harmony export */ ClientError: () => (/* reexport safe */ _errors_ClientError_ts__WEBPACK_IMPORTED_MODULE_51__["default"]),
|
|
115271
|
+
/* harmony export */ CriterionError: () => (/* reexport safe */ _errors_CriterionError_ts__WEBPACK_IMPORTED_MODULE_58__["default"]),
|
|
115272
|
+
/* harmony export */ CriterionErrorReason: () => (/* reexport safe */ _criterion_CriterionErrorReason_ts__WEBPACK_IMPORTED_MODULE_34__["default"]),
|
|
115273
|
+
/* harmony export */ CriterionEvaluationError: () => (/* reexport safe */ _errors_CriterionEvaluationError_ts__WEBPACK_IMPORTED_MODULE_59__["default"]),
|
|
115121
115274
|
/* harmony export */ CriterionEvaluator: () => (/* reexport safe */ _criterion_CriterionEvaluator_ts__WEBPACK_IMPORTED_MODULE_29__["default"]),
|
|
115122
|
-
/* harmony export */ DocumentLoadError: () => (/* reexport safe */
|
|
115275
|
+
/* harmony export */ DocumentLoadError: () => (/* reexport safe */ _errors_DocumentLoadError_ts__WEBPACK_IMPORTED_MODULE_56__["default"]),
|
|
115123
115276
|
/* harmony export */ DocumentRegistry: () => (/* reexport safe */ _registry_DocumentRegistry_ts__WEBPACK_IMPORTED_MODULE_1__["default"]),
|
|
115124
115277
|
/* harmony export */ DocumentRegistryProvider: () => (/* reexport safe */ _registry_providers_DocumentRegistryProvider_ts__WEBPACK_IMPORTED_MODULE_2__["default"]),
|
|
115125
|
-
/* harmony export */ ExecutionError: () => (/* reexport safe */
|
|
115126
|
-
/* harmony export */ ExtractionError: () => (/* reexport safe */
|
|
115127
|
-
/* harmony export */ InvalidEntryDocumentError: () => (/* reexport safe */
|
|
115278
|
+
/* harmony export */ ExecutionError: () => (/* reexport safe */ _errors_ExecutionError_ts__WEBPACK_IMPORTED_MODULE_61__["default"]),
|
|
115279
|
+
/* harmony export */ ExtractionError: () => (/* reexport safe */ _errors_ExtractionError_ts__WEBPACK_IMPORTED_MODULE_53__["default"]),
|
|
115280
|
+
/* harmony export */ InvalidEntryDocumentError: () => (/* reexport safe */ _errors_InvalidEntryDocumentError_ts__WEBPACK_IMPORTED_MODULE_54__["default"]),
|
|
115128
115281
|
/* harmony export */ JSONPathCriterionEvaluator: () => (/* reexport safe */ _criterion_JSONPathCriterionEvaluator_ts__WEBPACK_IMPORTED_MODULE_32__["default"]),
|
|
115129
|
-
/* harmony export */ NormalizationError: () => (/* reexport safe */
|
|
115282
|
+
/* harmony export */ NormalizationError: () => (/* reexport safe */ _errors_NormalizationError_ts__WEBPACK_IMPORTED_MODULE_52__["default"]),
|
|
115130
115283
|
/* harmony export */ OpenAPI2DocumentAssembler: () => (/* reexport safe */ _assembler_OpenAPI2DocumentAssembler_ts__WEBPACK_IMPORTED_MODULE_22__["default"]),
|
|
115131
115284
|
/* harmony export */ OpenAPI2OperationNormalizer: () => (/* reexport safe */ _normalizer_OpenAPI2OperationNormalizer_ts__WEBPACK_IMPORTED_MODULE_18__["default"]),
|
|
115132
115285
|
/* harmony export */ OpenAPI30DocumentAssembler: () => (/* reexport safe */ _assembler_OpenAPI30DocumentAssembler_ts__WEBPACK_IMPORTED_MODULE_23__["default"]),
|
|
@@ -115136,31 +115289,31 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
115136
115289
|
/* harmony export */ OpenAPIDocument: () => (/* reexport safe */ _document_OpenAPIDocument_ts__WEBPACK_IMPORTED_MODULE_7__["default"]),
|
|
115137
115290
|
/* harmony export */ OpenAPIDocumentAssembler: () => (/* reexport safe */ _assembler_OpenAPIDocumentAssembler_ts__WEBPACK_IMPORTED_MODULE_21__["default"]),
|
|
115138
115291
|
/* harmony export */ OpenAPIDocumentRegistryProvider: () => (/* reexport safe */ _registry_providers_OpenAPIDocumentRegistryProvider_ts__WEBPACK_IMPORTED_MODULE_4__["default"]),
|
|
115139
|
-
/* harmony export */ OpenAPIOperationExecutor: () => (/* reexport safe */
|
|
115292
|
+
/* harmony export */ OpenAPIOperationExecutor: () => (/* reexport safe */ _executor_OpenAPIOperationExecutor_ts__WEBPACK_IMPORTED_MODULE_45__["default"]),
|
|
115140
115293
|
/* harmony export */ OpenAPIOperationExtractor: () => (/* reexport safe */ _extractor_OpenAPIOperationExtractor_ts__WEBPACK_IMPORTED_MODULE_14__["default"]),
|
|
115141
115294
|
/* harmony export */ OpenAPIOperationIndex: () => (/* reexport safe */ _document_OpenAPIOperationIndex_ts__WEBPACK_IMPORTED_MODULE_11__["default"]),
|
|
115142
|
-
/* harmony export */ OpenAPIOperationLocatorNormalizer: () => (/* reexport safe */
|
|
115295
|
+
/* harmony export */ OpenAPIOperationLocatorNormalizer: () => (/* reexport safe */ _executor_OpenAPIOperationLocatorNormalizer_ts__WEBPACK_IMPORTED_MODULE_47__["default"]),
|
|
115143
115296
|
/* harmony export */ OpenAPIOperationNormalizer: () => (/* reexport safe */ _normalizer_OpenAPIOperationNormalizer_ts__WEBPACK_IMPORTED_MODULE_17__["default"]),
|
|
115144
|
-
/* harmony export */ OpenAPIOperationParameterResolver: () => (/* reexport safe */
|
|
115297
|
+
/* harmony export */ OpenAPIOperationParameterResolver: () => (/* reexport safe */ _resolver_OpenAPIOperationParameterResolver_ts__WEBPACK_IMPORTED_MODULE_38__["default"]),
|
|
115145
115298
|
/* harmony export */ OpenAPIOperationResponse: () => (/* reexport safe */ _client_OpenAPIOperationResponse_ts__WEBPACK_IMPORTED_MODULE_26__["default"]),
|
|
115146
115299
|
/* harmony export */ OpenAPIOperationResponseNormalizer: () => (/* reexport safe */ _client_OpenAPIOperationResponseNormalizer_ts__WEBPACK_IMPORTED_MODULE_27__["default"]),
|
|
115147
|
-
/* harmony export */ OutputResolver: () => (/* reexport safe */
|
|
115300
|
+
/* harmony export */ OutputResolver: () => (/* reexport safe */ _resolver_OutputResolver_ts__WEBPACK_IMPORTED_MODULE_40__["default"]),
|
|
115148
115301
|
/* harmony export */ RegexCriterionEvaluator: () => (/* reexport safe */ _criterion_RegexCriterionEvaluator_ts__WEBPACK_IMPORTED_MODULE_31__["default"]),
|
|
115149
|
-
/* harmony export */ RequestBodyResolver: () => (/* reexport safe */
|
|
115150
|
-
/* harmony export */ ResolverError: () => (/* reexport safe */
|
|
115151
|
-
/* harmony export */ RuntimeExpressionError: () => (/* reexport safe */
|
|
115302
|
+
/* harmony export */ RequestBodyResolver: () => (/* reexport safe */ _resolver_RequestBodyResolver_ts__WEBPACK_IMPORTED_MODULE_41__["default"]),
|
|
115303
|
+
/* harmony export */ ResolverError: () => (/* reexport safe */ _errors_ResolverError_ts__WEBPACK_IMPORTED_MODULE_60__["default"]),
|
|
115304
|
+
/* harmony export */ RuntimeExpressionError: () => (/* reexport safe */ _errors_RuntimeExpressionError_ts__WEBPACK_IMPORTED_MODULE_57__["default"]),
|
|
115152
115305
|
/* harmony export */ RuntimeExpressionEvaluator: () => (/* reexport safe */ _expression_RuntimeExpressionEvaluator_ts__WEBPACK_IMPORTED_MODULE_28__["default"]),
|
|
115153
115306
|
/* harmony export */ SimpleCriterionEvaluator: () => (/* reexport safe */ _criterion_SimpleCriterionEvaluator_ts__WEBPACK_IMPORTED_MODULE_30__["default"]),
|
|
115154
|
-
/* harmony export */ SourceDescriptionsLocatorNormalizer: () => (/* reexport safe */
|
|
115155
|
-
/* harmony export */ StepExecutor: () => (/* reexport safe */
|
|
115156
|
-
/* harmony export */ StepParameterResolver: () => (/* reexport safe */
|
|
115157
|
-
/* harmony export */ UnmatchedProviderError: () => (/* reexport safe */
|
|
115158
|
-
/* harmony export */ WorkflowExecutionState: () => (/* reexport safe */
|
|
115159
|
-
/* harmony export */ WorkflowExecutor: () => (/* reexport safe */
|
|
115160
|
-
/* harmony export */ WorkflowParameterResolver: () => (/* reexport safe */
|
|
115307
|
+
/* harmony export */ SourceDescriptionsLocatorNormalizer: () => (/* reexport safe */ _executor_SourceDescriptionsLocatorNormalizer_ts__WEBPACK_IMPORTED_MODULE_46__["default"]),
|
|
115308
|
+
/* harmony export */ StepExecutor: () => (/* reexport safe */ _executor_StepExecutor_ts__WEBPACK_IMPORTED_MODULE_44__["default"]),
|
|
115309
|
+
/* harmony export */ StepParameterResolver: () => (/* reexport safe */ _resolver_StepParameterResolver_ts__WEBPACK_IMPORTED_MODULE_37__["default"]),
|
|
115310
|
+
/* harmony export */ UnmatchedProviderError: () => (/* reexport safe */ _errors_UnmatchedProviderError_ts__WEBPACK_IMPORTED_MODULE_55__["default"]),
|
|
115311
|
+
/* harmony export */ WorkflowExecutionState: () => (/* reexport safe */ _state_WorkflowExecutionState_ts__WEBPACK_IMPORTED_MODULE_35__["default"]),
|
|
115312
|
+
/* harmony export */ WorkflowExecutor: () => (/* reexport safe */ _executor_WorkflowExecutor_ts__WEBPACK_IMPORTED_MODULE_43__["default"]),
|
|
115313
|
+
/* harmony export */ WorkflowParameterResolver: () => (/* reexport safe */ _resolver_WorkflowParameterResolver_ts__WEBPACK_IMPORTED_MODULE_39__["default"]),
|
|
115161
115314
|
/* harmony export */ XPathCriterionEvaluator: () => (/* reexport safe */ _criterion_XPathCriterionEvaluator_ts__WEBPACK_IMPORTED_MODULE_33__["default"]),
|
|
115162
115315
|
/* harmony export */ httpClientFetch: () => (/* reexport safe */ _client_HTTPClientFetch_ts__WEBPACK_IMPORTED_MODULE_25__["default"]),
|
|
115163
|
-
/* harmony export */ settledResult: () => (/* reexport safe */
|
|
115316
|
+
/* harmony export */ settledResult: () => (/* reexport safe */ _executor_WorkflowExecutor_ts__WEBPACK_IMPORTED_MODULE_43__.settledResult)
|
|
115164
115317
|
/* harmony export */ });
|
|
115165
115318
|
/* harmony import */ var _ArazzoRunner_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(57253);
|
|
115166
115319
|
/* harmony import */ var _registry_DocumentRegistry_ts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4044);
|
|
@@ -115196,32 +115349,34 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
115196
115349
|
/* harmony import */ var _criterion_RegexCriterionEvaluator_ts__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(13517);
|
|
115197
115350
|
/* harmony import */ var _criterion_JSONPathCriterionEvaluator_ts__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(90089);
|
|
115198
115351
|
/* harmony import */ var _criterion_XPathCriterionEvaluator_ts__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(84997);
|
|
115199
|
-
/* harmony import */ var
|
|
115200
|
-
/* harmony import */ var
|
|
115201
|
-
/* harmony import */ var
|
|
115202
|
-
/* harmony import */ var
|
|
115203
|
-
/* harmony import */ var
|
|
115204
|
-
/* harmony import */ var
|
|
115205
|
-
/* harmony import */ var
|
|
115206
|
-
/* harmony import */ var
|
|
115207
|
-
/* harmony import */ var
|
|
115208
|
-
/* harmony import */ var
|
|
115209
|
-
/* harmony import */ var
|
|
115210
|
-
/* harmony import */ var
|
|
115211
|
-
/* harmony import */ var
|
|
115212
|
-
/* harmony import */ var
|
|
115213
|
-
/* harmony import */ var
|
|
115214
|
-
/* harmony import */ var
|
|
115215
|
-
/* harmony import */ var
|
|
115216
|
-
/* harmony import */ var
|
|
115217
|
-
/* harmony import */ var
|
|
115218
|
-
/* harmony import */ var
|
|
115219
|
-
/* harmony import */ var
|
|
115220
|
-
/* harmony import */ var
|
|
115221
|
-
/* harmony import */ var
|
|
115222
|
-
/* harmony import */ var
|
|
115223
|
-
/* harmony import */ var
|
|
115224
|
-
/* harmony import */ var
|
|
115352
|
+
/* harmony import */ var _criterion_CriterionErrorReason_ts__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(94547);
|
|
115353
|
+
/* harmony import */ var _state_WorkflowExecutionState_ts__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(61596);
|
|
115354
|
+
/* harmony import */ var _resolver_ArazzoValueResolver_ts__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(22411);
|
|
115355
|
+
/* harmony import */ var _resolver_StepParameterResolver_ts__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(92126);
|
|
115356
|
+
/* harmony import */ var _resolver_OpenAPIOperationParameterResolver_ts__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(3347);
|
|
115357
|
+
/* harmony import */ var _resolver_WorkflowParameterResolver_ts__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(95839);
|
|
115358
|
+
/* harmony import */ var _resolver_OutputResolver_ts__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(99494);
|
|
115359
|
+
/* harmony import */ var _resolver_RequestBodyResolver_ts__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(67410);
|
|
115360
|
+
/* harmony import */ var _action_ActionResolver_ts__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(51097);
|
|
115361
|
+
/* harmony import */ var _executor_WorkflowExecutor_ts__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(92152);
|
|
115362
|
+
/* harmony import */ var _executor_StepExecutor_ts__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(96007);
|
|
115363
|
+
/* harmony import */ var _executor_OpenAPIOperationExecutor_ts__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(57680);
|
|
115364
|
+
/* harmony import */ var _executor_SourceDescriptionsLocatorNormalizer_ts__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(83461);
|
|
115365
|
+
/* harmony import */ var _executor_OpenAPIOperationLocatorNormalizer_ts__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(7308);
|
|
115366
|
+
/* harmony import */ var _executor_ArazzoWorkflowLocatorNormalizer_ts__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(98885);
|
|
115367
|
+
/* harmony import */ var _errors_ArazzoRunnerError_ts__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(23949);
|
|
115368
|
+
/* harmony import */ var _errors_AssemblerError_ts__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(90706);
|
|
115369
|
+
/* harmony import */ var _errors_ClientError_ts__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(81763);
|
|
115370
|
+
/* harmony import */ var _errors_NormalizationError_ts__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(35523);
|
|
115371
|
+
/* harmony import */ var _errors_ExtractionError_ts__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(90713);
|
|
115372
|
+
/* harmony import */ var _errors_InvalidEntryDocumentError_ts__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(40198);
|
|
115373
|
+
/* harmony import */ var _errors_UnmatchedProviderError_ts__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(46132);
|
|
115374
|
+
/* harmony import */ var _errors_DocumentLoadError_ts__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(24089);
|
|
115375
|
+
/* harmony import */ var _errors_RuntimeExpressionError_ts__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(48770);
|
|
115376
|
+
/* harmony import */ var _errors_CriterionError_ts__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(41233);
|
|
115377
|
+
/* harmony import */ var _errors_CriterionEvaluationError_ts__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(71731);
|
|
115378
|
+
/* harmony import */ var _errors_ResolverError_ts__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(8696);
|
|
115379
|
+
/* harmony import */ var _errors_ExecutionError_ts__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(17658);
|
|
115225
115380
|
/* Runner */
|
|
115226
115381
|
|
|
115227
115382
|
|
|
@@ -115275,6 +115430,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
115275
115430
|
|
|
115276
115431
|
|
|
115277
115432
|
|
|
115433
|
+
|
|
115278
115434
|
/* Execution State */
|
|
115279
115435
|
|
|
115280
115436
|
/* Resolvers */
|
|
@@ -115306,6 +115462,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
115306
115462
|
|
|
115307
115463
|
|
|
115308
115464
|
|
|
115465
|
+
|
|
115309
115466
|
})();
|
|
115310
115467
|
|
|
115311
115468
|
/******/ return __webpack_exports__;
|