@swagger-api/apidom-ns-openapi-2 0.79.0 → 0.80.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [0.80.0](https://github.com/swagger-api/apidom/compare/v0.79.0...v0.80.0) (2023-10-26)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @swagger-api/apidom-ns-openapi-2
|
|
9
|
+
|
|
6
10
|
# [0.79.0](https://github.com/swagger-api/apidom/compare/v0.78.0...v0.79.0) (2023-10-24)
|
|
7
11
|
|
|
8
12
|
### Bug Fixes
|
|
@@ -20913,7 +20913,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
20913
20913
|
/* harmony export */ mergeAll: () => (/* binding */ mergeAll),
|
|
20914
20914
|
/* harmony export */ visit: () => (/* binding */ visit)
|
|
20915
20915
|
/* harmony export */ });
|
|
20916
|
-
/* harmony import */ var _swagger_api_apidom_error__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
20916
|
+
/* harmony import */ var _swagger_api_apidom_error__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(69985);
|
|
20917
20917
|
|
|
20918
20918
|
|
|
20919
20919
|
/**
|
|
@@ -21184,7 +21184,9 @@ visitor, {
|
|
|
21184
21184
|
let result;
|
|
21185
21185
|
if (!Array.isArray(node)) {
|
|
21186
21186
|
if (!nodePredicate(node)) {
|
|
21187
|
-
throw new _swagger_api_apidom_error__WEBPACK_IMPORTED_MODULE_0__["default"](`Invalid AST Node: ${
|
|
21187
|
+
throw new _swagger_api_apidom_error__WEBPACK_IMPORTED_MODULE_0__["default"](`Invalid AST Node: ${String(node)}`, {
|
|
21188
|
+
node
|
|
21189
|
+
});
|
|
21188
21190
|
}
|
|
21189
21191
|
|
|
21190
21192
|
// cycle detected; skipping over a sub-tree to avoid recursion
|
|
@@ -21333,7 +21335,9 @@ visitor, {
|
|
|
21333
21335
|
let result;
|
|
21334
21336
|
if (!Array.isArray(node)) {
|
|
21335
21337
|
if (!nodePredicate(node)) {
|
|
21336
|
-
throw new _swagger_api_apidom_error__WEBPACK_IMPORTED_MODULE_0__["default"](`Invalid AST Node:
|
|
21338
|
+
throw new _swagger_api_apidom_error__WEBPACK_IMPORTED_MODULE_0__["default"](`Invalid AST Node: ${String(node)}`, {
|
|
21339
|
+
node
|
|
21340
|
+
});
|
|
21337
21341
|
}
|
|
21338
21342
|
|
|
21339
21343
|
// cycle detected; skipping over a sub-tree to avoid recursion
|
|
@@ -21415,7 +21419,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
21415
21419
|
/* harmony export */ });
|
|
21416
21420
|
/* harmony import */ var _swagger_api_apidom_error__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(69985);
|
|
21417
21421
|
|
|
21418
|
-
class CloneError extends _swagger_api_apidom_error__WEBPACK_IMPORTED_MODULE_0__["default"] {
|
|
21422
|
+
class CloneError extends _swagger_api_apidom_error__WEBPACK_IMPORTED_MODULE_0__["default"] {
|
|
21423
|
+
constructor(message, structuredOptions) {
|
|
21424
|
+
super(message, structuredOptions);
|
|
21425
|
+
if (typeof structuredOptions !== 'undefined') {
|
|
21426
|
+
this.value = structuredOptions.source;
|
|
21427
|
+
}
|
|
21428
|
+
}
|
|
21429
|
+
}
|
|
21419
21430
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CloneError);
|
|
21420
21431
|
|
|
21421
21432
|
/***/ }),
|
|
@@ -21460,32 +21471,72 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
21460
21471
|
/* harmony export */ cloneShallow: () => (/* binding */ cloneShallow)
|
|
21461
21472
|
/* harmony export */ });
|
|
21462
21473
|
/* harmony import */ var minim__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67952);
|
|
21463
|
-
/* harmony import */ var
|
|
21464
|
-
/* harmony import */ var
|
|
21474
|
+
/* harmony import */ var _predicates_index_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36903);
|
|
21475
|
+
/* harmony import */ var _errors_DeepCloneError_mjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(34646);
|
|
21465
21476
|
/* harmony import */ var _errors_ShallowCloneError_mjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(10219);
|
|
21466
21477
|
|
|
21467
21478
|
|
|
21468
21479
|
|
|
21469
21480
|
|
|
21470
|
-
const
|
|
21471
|
-
|
|
21472
|
-
|
|
21481
|
+
const cloneDeep = (value, options = {}) => {
|
|
21482
|
+
const {
|
|
21483
|
+
visited = new WeakMap()
|
|
21484
|
+
} = options;
|
|
21485
|
+
const passThroughOptions = {
|
|
21486
|
+
...options,
|
|
21487
|
+
visited
|
|
21488
|
+
};
|
|
21489
|
+
|
|
21490
|
+
// detect cycle and return memoized value
|
|
21491
|
+
if (visited.has(value)) {
|
|
21492
|
+
return visited.get(value);
|
|
21493
|
+
}
|
|
21494
|
+
if (value instanceof minim__WEBPACK_IMPORTED_MODULE_0__.KeyValuePair) {
|
|
21495
|
+
const {
|
|
21496
|
+
key,
|
|
21497
|
+
value: val
|
|
21498
|
+
} = value;
|
|
21499
|
+
const keyCopy = (0,_predicates_index_mjs__WEBPACK_IMPORTED_MODULE_1__.isElement)(key) ? cloneDeep(key, passThroughOptions) : key;
|
|
21500
|
+
const valueCopy = (0,_predicates_index_mjs__WEBPACK_IMPORTED_MODULE_1__.isElement)(val) ? cloneDeep(val, passThroughOptions) : val;
|
|
21501
|
+
const copy = new minim__WEBPACK_IMPORTED_MODULE_0__.KeyValuePair(keyCopy, valueCopy);
|
|
21502
|
+
visited.set(value, copy);
|
|
21503
|
+
return copy;
|
|
21473
21504
|
}
|
|
21474
|
-
return value;
|
|
21475
|
-
};
|
|
21476
|
-
const cloneDeep = value => {
|
|
21477
21505
|
if (value instanceof minim__WEBPACK_IMPORTED_MODULE_0__.ObjectSlice) {
|
|
21478
|
-
const
|
|
21479
|
-
|
|
21506
|
+
const mapper = element => cloneDeep(element, passThroughOptions);
|
|
21507
|
+
const items = [...value].map(mapper);
|
|
21508
|
+
const copy = new minim__WEBPACK_IMPORTED_MODULE_0__.ObjectSlice(items);
|
|
21509
|
+
visited.set(value, copy);
|
|
21510
|
+
return copy;
|
|
21480
21511
|
}
|
|
21481
21512
|
if (value instanceof minim__WEBPACK_IMPORTED_MODULE_0__.ArraySlice) {
|
|
21482
|
-
const
|
|
21483
|
-
|
|
21513
|
+
const mapper = element => cloneDeep(element, passThroughOptions);
|
|
21514
|
+
const items = [...value].map(mapper);
|
|
21515
|
+
const copy = new minim__WEBPACK_IMPORTED_MODULE_0__.ArraySlice(items);
|
|
21516
|
+
visited.set(value, copy);
|
|
21517
|
+
return copy;
|
|
21484
21518
|
}
|
|
21485
|
-
if (
|
|
21486
|
-
|
|
21519
|
+
if ((0,_predicates_index_mjs__WEBPACK_IMPORTED_MODULE_1__.isElement)(value)) {
|
|
21520
|
+
const copy = cloneShallow(value); // eslint-disable-line @typescript-eslint/no-use-before-define
|
|
21521
|
+
|
|
21522
|
+
visited.set(value, copy);
|
|
21523
|
+
if (value.content) {
|
|
21524
|
+
if ((0,_predicates_index_mjs__WEBPACK_IMPORTED_MODULE_1__.isElement)(value.content)) {
|
|
21525
|
+
copy.content = cloneDeep(value.content, passThroughOptions);
|
|
21526
|
+
} else if (value.content instanceof minim__WEBPACK_IMPORTED_MODULE_0__.KeyValuePair) {
|
|
21527
|
+
copy.content = cloneDeep(value.content, passThroughOptions);
|
|
21528
|
+
} else if (Array.isArray(value.content)) {
|
|
21529
|
+
const mapper = element => cloneDeep(element, passThroughOptions);
|
|
21530
|
+
copy.content = value.content.map(mapper);
|
|
21531
|
+
} else {
|
|
21532
|
+
copy.content = value.content;
|
|
21533
|
+
}
|
|
21534
|
+
} else {
|
|
21535
|
+
copy.content = value.content;
|
|
21536
|
+
}
|
|
21537
|
+
return copy;
|
|
21487
21538
|
}
|
|
21488
|
-
throw new
|
|
21539
|
+
throw new _errors_DeepCloneError_mjs__WEBPACK_IMPORTED_MODULE_2__["default"]("Value provided to cloneDeep function couldn't be cloned", {
|
|
21489
21540
|
value
|
|
21490
21541
|
});
|
|
21491
21542
|
};
|
|
@@ -21523,7 +21574,7 @@ const cloneShallowElement = element => {
|
|
|
21523
21574
|
if (element.attributes.length > 0) {
|
|
21524
21575
|
copy._attributes = cloneDeep(element.attributes);
|
|
21525
21576
|
}
|
|
21526
|
-
if ((0,
|
|
21577
|
+
if ((0,_predicates_index_mjs__WEBPACK_IMPORTED_MODULE_1__.isElement)(element.content)) {
|
|
21527
21578
|
const content = element.content;
|
|
21528
21579
|
copy.content = cloneShallowElement(content);
|
|
21529
21580
|
} else if (Array.isArray(element.content)) {
|
|
@@ -21547,7 +21598,7 @@ const cloneShallow = value => {
|
|
|
21547
21598
|
if (value instanceof minim__WEBPACK_IMPORTED_MODULE_0__.ArraySlice) {
|
|
21548
21599
|
return cloneShallowArraySlice(value);
|
|
21549
21600
|
}
|
|
21550
|
-
if ((0,
|
|
21601
|
+
if ((0,_predicates_index_mjs__WEBPACK_IMPORTED_MODULE_1__.isElement)(value)) {
|
|
21551
21602
|
return cloneShallowElement(value);
|
|
21552
21603
|
}
|
|
21553
21604
|
throw new _errors_ShallowCloneError_mjs__WEBPACK_IMPORTED_MODULE_3__["default"]("Value provided to cloneShallow function couldn't be cloned", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.apidomNsOpenApi2=t():e.apidomNsOpenApi2=t()}(self,(()=>(()=>{var e={42:(e,t,n)=>{"use strict";var r=n(5846);e.exports=r},6791:(e,t,n)=>{"use strict";n(4339),n(4242),n(4016),n(8939),n(5454);var r=n(7545);e.exports=r.AggregateError},6762:(e,t,n)=>{"use strict";e.exports=n(3028)},3028:(e,t,n)=>{"use strict";n(2752);var r=n(42);e.exports=r},6235:(e,t,n)=>{"use strict";var r=n(6447),s=n(9288),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(s(e)+" is not a function")}},7757:(e,t,n)=>{"use strict";var r=n(6447),s=String,i=TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw new i("Can't set "+s(e)+" as a prototype")}},7423:e=>{"use strict";e.exports=function(){}},1138:(e,t,n)=>{"use strict";var r=n(5744),s=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(s(e)+" is not an object")}},8180:(e,t,n)=>{"use strict";var r=n(101),s=n(7739),i=n(4104),o=function(e){return function(t,n,o){var a,c=r(t),u=i(c),l=s(o,u);if(e&&n!=n){for(;u>l;)if((a=c[l++])!=a)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},9272:(e,t,n)=>{"use strict";var r=n(4120),s=r({}.toString),i=r("".slice);e.exports=function(e){return i(s(e),8,-1)}},4696:(e,t,n)=>{"use strict";var r=n(3471),s=n(6447),i=n(9272),o=n(8182)("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),o))?n:c?i(t):"Object"===(r=i(t))&&s(t.callee)?"Arguments":r}},7987:(e,t,n)=>{"use strict";var r=n(4500),s=n(3011),i=n(5141),o=n(2454);e.exports=function(e,t,n){for(var a=s(t),c=o.f,u=i.f,l=0;l<a.length;l++){var p=a[l];r(e,p)||n&&r(n,p)||c(e,p,u(t,p))}}},4635:(e,t,n)=>{"use strict";var r=n(6192);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},7271:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},8711:(e,t,n)=>{"use strict";var r=n(69),s=n(2454),i=n(774);e.exports=r?function(e,t,n){return s.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},774:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},9362:(e,t,n)=>{"use strict";var r=n(8711);e.exports=function(e,t,n,s){return s&&s.enumerable?e[t]=n:r(e,t,n),e}},5098:(e,t,n)=>{"use strict";var r=n(8576),s=Object.defineProperty;e.exports=function(e,t){try{s(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},69:(e,t,n)=>{"use strict";var r=n(6192);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8382:e=>{"use strict";var t="object"==typeof document&&document.all,n=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},7449:(e,t,n)=>{"use strict";var r=n(8576),s=n(5744),i=r.document,o=s(i)&&s(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},7365:e=>{"use strict";e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8989:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},4218:(e,t,n)=>{"use strict";var r,s,i=n(8576),o=n(8989),a=i.process,c=i.Deno,u=a&&a.versions||c&&c.version,l=u&&u.v8;l&&(s=(r=l.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!s&&o&&(!(r=o.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=o.match(/Chrome\/(\d+)/))&&(s=+r[1]),e.exports=s},2952:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},4503:(e,t,n)=>{"use strict";var r=n(4120),s=Error,i=r("".replace),o=String(new s("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,c=a.test(o);e.exports=function(e,t){if(c&&"string"==typeof e&&!s.prepareStackTrace)for(;t--;)e=i(e,a,"");return e}},8266:(e,t,n)=>{"use strict";var r=n(8711),s=n(4503),i=n(274),o=Error.captureStackTrace;e.exports=function(e,t,n,a){i&&(o?o(e,t):r(e,"stack",s(n,a)))}},274:(e,t,n)=>{"use strict";var r=n(6192),s=n(774);e.exports=!r((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",s(1,7)),7!==e.stack)}))},3085:(e,t,n)=>{"use strict";var r=n(8576),s=n(6298),i=n(4914),o=n(6447),a=n(5141).f,c=n(9245),u=n(7545),l=n(8043),p=n(8711),m=n(4500),h=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 s(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,s,f,d,y,g,v,b,E,w=e.target,x=e.global,O=e.stat,S=e.proto,j=x?r:O?r[w]:(r[w]||{}).prototype,P=x?u:u[w]||p(u,w,{})[w],A=P.prototype;for(d in t)s=!(n=c(x?d:w+(O?".":"#")+d,e.forced))&&j&&m(j,d),g=P[d],s&&(v=e.dontCallGetSet?(E=a(j,d))&&E.value:j[d]),y=s&&v?v:t[d],s&&typeof g==typeof y||(b=e.bind&&s?l(y,r):e.wrap&&s?h(y):S&&o(y)?i(y):y,(e.sham||y&&y.sham||g&&g.sham)&&p(b,"sham",!0),p(P,d,b),S&&(m(u,f=w+"Prototype")||p(u,f,{}),p(u[f],d,y),e.real&&A&&(n||!A[d])&&p(A,d,y)))}},6192:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},6298:(e,t,n)=>{"use strict";var r=n(2784),s=Function.prototype,i=s.apply,o=s.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?o.bind(i):function(){return o.apply(i,arguments)})},8043:(e,t,n)=>{"use strict";var r=n(4914),s=n(6235),i=n(2784),o=r(r.bind);e.exports=function(e,t){return s(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}},2784:(e,t,n)=>{"use strict";var r=n(6192);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},8922:(e,t,n)=>{"use strict";var r=n(2784),s=Function.prototype.call;e.exports=r?s.bind(s):function(){return s.apply(s,arguments)}},2282:(e,t,n)=>{"use strict";var r=n(69),s=n(4500),i=Function.prototype,o=r&&Object.getOwnPropertyDescriptor,a=s(i,"name"),c=a&&"something"===function(){}.name,u=a&&(!r||r&&o(i,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:u}},6419:(e,t,n)=>{"use strict";var r=n(4120),s=n(6235);e.exports=function(e,t,n){try{return r(s(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}},4914:(e,t,n)=>{"use strict";var r=n(9272),s=n(4120);e.exports=function(e){if("Function"===r(e))return s(e)}},4120:(e,t,n)=>{"use strict";var r=n(2784),s=Function.prototype,i=s.call,o=r&&s.bind.bind(i,i);e.exports=r?o:function(e){return function(){return i.apply(e,arguments)}}},150:(e,t,n)=>{"use strict";var r=n(7545),s=n(8576),i=n(6447),o=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e])||o(s[e]):r[e]&&r[e][t]||s[e]&&s[e][t]}},8703:(e,t,n)=>{"use strict";var r=n(4696),s=n(5037),i=n(5646),o=n(7771),a=n(8182)("iterator");e.exports=function(e){if(!i(e))return s(e,a)||s(e,"@@iterator")||o[r(e)]}},1669:(e,t,n)=>{"use strict";var r=n(8922),s=n(6235),i=n(1138),o=n(9288),a=n(8703),c=TypeError;e.exports=function(e,t){var n=arguments.length<2?a(e):t;if(s(n))return i(r(n,e));throw new c(o(e)+" is not iterable")}},5037:(e,t,n)=>{"use strict";var r=n(6235),s=n(5646);e.exports=function(e,t){var n=e[t];return s(n)?void 0:r(n)}},8576:function(e,t,n){"use strict";var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||this||Function("return this")()},4500:(e,t,n)=>{"use strict";var r=n(4120),s=n(1795),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(s(e),t)}},4535:e=>{"use strict";e.exports={}},7403:(e,t,n)=>{"use strict";var r=n(150);e.exports=r("document","documentElement")},188:(e,t,n)=>{"use strict";var r=n(69),s=n(6192),i=n(7449);e.exports=!r&&!s((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},2202:(e,t,n)=>{"use strict";var r=n(4120),s=n(6192),i=n(9272),o=Object,a=r("".split);e.exports=s((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?a(e,""):o(e)}:o},2643:(e,t,n)=>{"use strict";var r=n(6447),s=n(5744),i=n(4469);e.exports=function(e,t,n){var o,a;return i&&r(o=t.constructor)&&o!==n&&s(a=o.prototype)&&a!==n.prototype&&i(e,a),e}},273:(e,t,n)=>{"use strict";var r=n(5744),s=n(8711);e.exports=function(e,t){r(t)&&"cause"in t&&s(e,"cause",t.cause)}},3326:(e,t,n)=>{"use strict";var r,s,i,o=n(5278),a=n(8576),c=n(5744),u=n(8711),l=n(4500),p=n(6434),m=n(9766),h=n(4535),f="Object already initialized",d=a.TypeError,y=a.WeakMap;if(o||p.state){var g=p.state||(p.state=new y);g.get=g.get,g.has=g.has,g.set=g.set,r=function(e,t){if(g.has(e))throw new d(f);return t.facade=e,g.set(e,t),t},s=function(e){return g.get(e)||{}},i=function(e){return g.has(e)}}else{var v=m("state");h[v]=!0,r=function(e,t){if(l(e,v))throw new d(f);return t.facade=e,u(e,v,t),t},s=function(e){return l(e,v)?e[v]:{}},i=function(e){return l(e,v)}}e.exports={set:r,get:s,has:i,enforce:function(e){return i(e)?s(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=s(t)).type!==e)throw new d("Incompatible receiver, "+e+" required");return n}}}},6109:(e,t,n)=>{"use strict";var r=n(8182),s=n(7771),i=r("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(s.Array===e||o[i]===e)}},6447:(e,t,n)=>{"use strict";var r=n(8382),s=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===s}:function(e){return"function"==typeof e}},9245:(e,t,n)=>{"use strict";var r=n(6192),s=n(6447),i=/#|\.prototype\./,o=function(e,t){var n=c[a(e)];return n===l||n!==u&&(s(t)?r(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=o.data={},u=o.NATIVE="N",l=o.POLYFILL="P";e.exports=o},5646:e=>{"use strict";e.exports=function(e){return null==e}},5744:(e,t,n)=>{"use strict";var r=n(6447),s=n(8382),i=s.all;e.exports=s.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===i}:function(e){return"object"==typeof e?null!==e:r(e)}},5546:e=>{"use strict";e.exports=!0},3236:(e,t,n)=>{"use strict";var r=n(150),s=n(6447),i=n(8902),o=n(615),a=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return s(t)&&i(t.prototype,a(e))}},3442:(e,t,n)=>{"use strict";var r=n(8043),s=n(8922),i=n(1138),o=n(9288),a=n(6109),c=n(4104),u=n(8902),l=n(1669),p=n(8703),m=n(6639),h=TypeError,f=function(e,t){this.stopped=e,this.result=t},d=f.prototype;e.exports=function(e,t,n){var y,g,v,b,E,w,x,O=n&&n.that,S=!(!n||!n.AS_ENTRIES),j=!(!n||!n.IS_RECORD),P=!(!n||!n.IS_ITERATOR),A=!(!n||!n.INTERRUPTED),_=r(t,O),k=function(e){return y&&m(y,"normal",e),new f(!0,e)},I=function(e){return S?(i(e),A?_(e[0],e[1],k):_(e[0],e[1])):A?_(e,k):_(e)};if(j)y=e.iterator;else if(P)y=e;else{if(!(g=p(e)))throw new h(o(e)+" is not iterable");if(a(g)){for(v=0,b=c(e);b>v;v++)if((E=I(e[v]))&&u(d,E))return E;return new f(!1)}y=l(e,g)}for(w=j?e.next:y.next;!(x=s(w,y)).done;){try{E=I(x.value)}catch(e){m(y,"throw",e)}if("object"==typeof E&&E&&u(d,E))return E}return new f(!1)}},6639:(e,t,n)=>{"use strict";var r=n(8922),s=n(1138),i=n(5037);e.exports=function(e,t,n){var o,a;s(e);try{if(!(o=i(e,"return"))){if("throw"===t)throw n;return n}o=r(o,e)}catch(e){a=!0,o=e}if("throw"===t)throw n;if(a)throw o;return s(o),n}},5695:(e,t,n)=>{"use strict";var r=n(4413).IteratorPrototype,s=n(2853),i=n(774),o=n(1284),a=n(7771),c=function(){return this};e.exports=function(e,t,n,u){var l=t+" Iterator";return e.prototype=s(r,{next:i(+!u,n)}),o(e,l,!1,!0),a[l]=c,e}},5297:(e,t,n)=>{"use strict";var r=n(3085),s=n(8922),i=n(5546),o=n(2282),a=n(6447),c=n(5695),u=n(9341),l=n(4469),p=n(1284),m=n(8711),h=n(9362),f=n(8182),d=n(7771),y=n(4413),g=o.PROPER,v=o.CONFIGURABLE,b=y.IteratorPrototype,E=y.BUGGY_SAFARI_ITERATORS,w=f("iterator"),x="keys",O="values",S="entries",j=function(){return this};e.exports=function(e,t,n,o,f,y,P){c(n,t,o);var A,_,k,I=function(e){if(e===f&&N)return N;if(!E&&e&&e in R)return R[e];switch(e){case x:case O:case S:return function(){return new n(this,e)}}return function(){return new n(this)}},T=t+" Iterator",M=!1,R=e.prototype,$=R[w]||R["@@iterator"]||f&&R[f],N=!E&&$||I(f),F="Array"===t&&R.entries||$;if(F&&(A=u(F.call(new e)))!==Object.prototype&&A.next&&(i||u(A)===b||(l?l(A,b):a(A[w])||h(A,w,j)),p(A,T,!0,!0),i&&(d[T]=j)),g&&f===O&&$&&$.name!==O&&(!i&&v?m(R,"name",O):(M=!0,N=function(){return s($,this)})),f)if(_={values:I(O),keys:y?N:I(x),entries:I(S)},P)for(k in _)(E||M||!(k in R))&&h(R,k,_[k]);else r({target:t,proto:!0,forced:E||M},_);return i&&!P||R[w]===N||h(R,w,N,{name:f}),d[t]=N,_}},4413:(e,t,n)=>{"use strict";var r,s,i,o=n(6192),a=n(6447),c=n(5744),u=n(2853),l=n(9341),p=n(9362),m=n(8182),h=n(5546),f=m("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(s=l(l(i)))!==Object.prototype&&(r=s):d=!0),!c(r)||o((function(){var e={};return r[f].call(e)!==e}))?r={}:h&&(r=u(r)),a(r[f])||p(r,f,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:d}},7771:e=>{"use strict";e.exports={}},4104:(e,t,n)=>{"use strict";var r=n(8445);e.exports=function(e){return r(e.length)}},7679:e=>{"use strict";var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},6016:(e,t,n)=>{"use strict";var r=n(4845);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:r(e)}},2853:(e,t,n)=>{"use strict";var r,s=n(1138),i=n(1187),o=n(2952),a=n(4535),c=n(7403),u=n(7449),l=n(9766),p="prototype",m="script",h=l("IE_PROTO"),f=function(){},d=function(e){return"<"+m+">"+e+"</"+m+">"},y=function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t},g=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;g="undefined"!=typeof document?document.domain&&r?y(r):(t=u("iframe"),n="java"+m+":",t.style.display="none",c.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):y(r);for(var s=o.length;s--;)delete g[p][o[s]];return g()};a[h]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(f[p]=s(e),n=new f,f[p]=null,n[h]=e):n=g(),void 0===t?n:i.f(n,t)}},1187:(e,t,n)=>{"use strict";var r=n(69),s=n(9600),i=n(2454),o=n(1138),a=n(101),c=n(7653);t.f=r&&!s?Object.defineProperties:function(e,t){o(e);for(var n,r=a(t),s=c(t),u=s.length,l=0;u>l;)i.f(e,n=s[l++],r[n]);return e}},2454:(e,t,n)=>{"use strict";var r=n(69),s=n(188),i=n(9600),o=n(1138),a=n(77),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,p="enumerable",m="configurable",h="writable";t.f=r?i?function(e,t,n){if(o(e),t=a(t),o(n),"function"==typeof e&&"prototype"===t&&"value"in n&&h in n&&!n[h]){var r=l(e,t);r&&r[h]&&(e[t]=n.value,n={configurable:m in n?n[m]:r[m],enumerable:p in n?n[p]:r[p],writable:!1})}return u(e,t,n)}:u:function(e,t,n){if(o(e),t=a(t),o(n),s)try{return u(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}},5141:(e,t,n)=>{"use strict";var r=n(69),s=n(8922),i=n(6007),o=n(774),a=n(101),c=n(77),u=n(4500),l=n(188),p=Object.getOwnPropertyDescriptor;t.f=r?p:function(e,t){if(e=a(e),t=c(t),l)try{return p(e,t)}catch(e){}if(u(e,t))return o(!s(i.f,e,t),e[t])}},2092:(e,t,n)=>{"use strict";var r=n(7934),s=n(2952).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,s)}},4750:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},9341:(e,t,n)=>{"use strict";var r=n(4500),s=n(6447),i=n(1795),o=n(9766),a=n(4635),c=o("IE_PROTO"),u=Object,l=u.prototype;e.exports=a?u.getPrototypeOf:function(e){var t=i(e);if(r(t,c))return t[c];var n=t.constructor;return s(n)&&t instanceof n?n.prototype:t instanceof u?l:null}},8902:(e,t,n)=>{"use strict";var r=n(4120);e.exports=r({}.isPrototypeOf)},7934:(e,t,n)=>{"use strict";var r=n(4120),s=n(4500),i=n(101),o=n(8180).indexOf,a=n(4535),c=r([].push);e.exports=function(e,t){var n,r=i(e),u=0,l=[];for(n in r)!s(a,n)&&s(r,n)&&c(l,n);for(;t.length>u;)s(r,n=t[u++])&&(~o(l,n)||c(l,n));return l}},7653:(e,t,n)=>{"use strict";var r=n(7934),s=n(2952);e.exports=Object.keys||function(e){return r(e,s)}},6007:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,s=r&&!n.call({1:2},1);t.f=s?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},4469:(e,t,n)=>{"use strict";var r=n(6419),s=n(1138),i=n(7757);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return s(n),i(r),t?e(n,r):n.__proto__=r,n}}():void 0)},158:(e,t,n)=>{"use strict";var r=n(3471),s=n(4696);e.exports=r?{}.toString:function(){return"[object "+s(this)+"]"}},380:(e,t,n)=>{"use strict";var r=n(8922),s=n(6447),i=n(5744),o=TypeError;e.exports=function(e,t){var n,a;if("string"===t&&s(n=e.toString)&&!i(a=r(n,e)))return a;if(s(n=e.valueOf)&&!i(a=r(n,e)))return a;if("string"!==t&&s(n=e.toString)&&!i(a=r(n,e)))return a;throw new o("Can't convert object to primitive value")}},3011:(e,t,n)=>{"use strict";var r=n(150),s=n(4120),i=n(2092),o=n(4750),a=n(1138),c=s([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(a(e)),n=o.f;return n?c(t,n(e)):t}},7545:e=>{"use strict";e.exports={}},7656:(e,t,n)=>{"use strict";var r=n(2454).f;e.exports=function(e,t,n){n in e||r(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})}},3209:(e,t,n)=>{"use strict";var r=n(5646),s=TypeError;e.exports=function(e){if(r(e))throw new s("Can't call method on "+e);return e}},1284:(e,t,n)=>{"use strict";var r=n(3471),s=n(2454).f,i=n(8711),o=n(4500),a=n(158),c=n(8182)("toStringTag");e.exports=function(e,t,n,u){if(e){var l=n?e:e.prototype;o(l,c)||s(l,c,{configurable:!0,value:t}),u&&!r&&i(l,"toString",a)}}},9766:(e,t,n)=>{"use strict";var r=n(8717),s=n(2759),i=r("keys");e.exports=function(e){return i[e]||(i[e]=s(e))}},6434:(e,t,n)=>{"use strict";var r=n(8576),s=n(5098),i="__core-js_shared__",o=r[i]||s(i,{});e.exports=o},8717:(e,t,n)=>{"use strict";var r=n(5546),s=n(6434);(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.33.0",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.0/LICENSE",source:"https://github.com/zloirock/core-js"})},863:(e,t,n)=>{"use strict";var r=n(4120),s=n(1941),i=n(4845),o=n(3209),a=r("".charAt),c=r("".charCodeAt),u=r("".slice),l=function(e){return function(t,n){var r,l,p=i(o(t)),m=s(n),h=p.length;return m<0||m>=h?e?"":void 0:(r=c(p,m))<55296||r>56319||m+1===h||(l=c(p,m+1))<56320||l>57343?e?a(p,m):r:e?u(p,m,m+2):l-56320+(r-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},6770:(e,t,n)=>{"use strict";var r=n(4218),s=n(6192),i=n(8576).String;e.exports=!!Object.getOwnPropertySymbols&&!s((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},7739:(e,t,n)=>{"use strict";var r=n(1941),s=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?s(n+t,0):i(n,t)}},101:(e,t,n)=>{"use strict";var r=n(2202),s=n(3209);e.exports=function(e){return r(s(e))}},1941:(e,t,n)=>{"use strict";var r=n(7679);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},8445:(e,t,n)=>{"use strict";var r=n(1941),s=Math.min;e.exports=function(e){return e>0?s(r(e),9007199254740991):0}},1795:(e,t,n)=>{"use strict";var r=n(3209),s=Object;e.exports=function(e){return s(r(e))}},7888:(e,t,n)=>{"use strict";var r=n(8922),s=n(5744),i=n(3236),o=n(5037),a=n(380),c=n(8182),u=TypeError,l=c("toPrimitive");e.exports=function(e,t){if(!s(e)||i(e))return e;var n,c=o(e,l);if(c){if(void 0===t&&(t="default"),n=r(c,e,t),!s(n)||i(n))return n;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},77:(e,t,n)=>{"use strict";var r=n(7888),s=n(3236);e.exports=function(e){var t=r(e,"string");return s(t)?t:t+""}},3471:(e,t,n)=>{"use strict";var r={};r[n(8182)("toStringTag")]="z",e.exports="[object z]"===String(r)},4845:(e,t,n)=>{"use strict";var r=n(4696),s=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return s(e)}},9288:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},2759:(e,t,n)=>{"use strict";var r=n(4120),s=0,i=Math.random(),o=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++s+i,36)}},615:(e,t,n)=>{"use strict";var r=n(6770);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},9600:(e,t,n)=>{"use strict";var r=n(69),s=n(6192);e.exports=r&&s((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5278:(e,t,n)=>{"use strict";var r=n(8576),s=n(6447),i=r.WeakMap;e.exports=s(i)&&/native code/.test(String(i))},8182:(e,t,n)=>{"use strict";var r=n(8576),s=n(8717),i=n(4500),o=n(2759),a=n(6770),c=n(615),u=r.Symbol,l=s("wks"),p=c?u.for||u:u&&u.withoutSetter||o;e.exports=function(e){return i(l,e)||(l[e]=a&&i(u,e)?u[e]:p("Symbol."+e)),l[e]}},426:(e,t,n)=>{"use strict";var r=n(150),s=n(4500),i=n(8711),o=n(8902),a=n(4469),c=n(7987),u=n(7656),l=n(2643),p=n(6016),m=n(273),h=n(8266),f=n(69),d=n(5546);e.exports=function(e,t,n,y){var g="stackTraceLimit",v=y?2:1,b=e.split("."),E=b[b.length-1],w=r.apply(null,b);if(w){var x=w.prototype;if(!d&&s(x,"cause")&&delete x.cause,!n)return w;var O=r("Error"),S=t((function(e,t){var n=p(y?t:e,void 0),r=y?new w(e):new w;return void 0!==n&&i(r,"message",n),h(r,S,r.stack,2),this&&o(x,this)&&l(r,this,S),arguments.length>v&&m(r,arguments[v]),r}));if(S.prototype=x,"Error"!==E?a?a(S,O):c(S,O,{name:!0}):f&&g in w&&(u(S,w,g),u(S,w,"prepareStackTrace")),c(S,w),!d)try{x.name!==E&&i(x,"name",E),x.constructor=S}catch(e){}return S}}},4016:(e,t,n)=>{"use strict";var r=n(3085),s=n(150),i=n(6298),o=n(6192),a=n(426),c="AggregateError",u=s(c),l=!o((function(){return 1!==u([1]).errors[0]}))&&o((function(){return 7!==u([1],c,{cause:7}).cause}));r({global:!0,constructor:!0,arity:2,forced:l},{AggregateError:a(c,(function(e){return function(t,n){return i(e,this,arguments)}}),l,!0)})},3820:(e,t,n)=>{"use strict";var r=n(3085),s=n(8902),i=n(9341),o=n(4469),a=n(7987),c=n(2853),u=n(8711),l=n(774),p=n(273),m=n(8266),h=n(3442),f=n(6016),d=n(8182)("toStringTag"),y=Error,g=[].push,v=function(e,t){var n,r=s(b,this);o?n=o(new y,r?i(this):b):(n=r?this:c(b),u(n,d,"Error")),void 0!==t&&u(n,"message",f(t)),m(n,v,n.stack,1),arguments.length>2&&p(n,arguments[2]);var a=[];return h(e,g,{that:a}),u(n,"errors",a),n};o?o(v,y):a(v,y,{name:!0});var b=v.prototype=c(y.prototype,{constructor:l(1,v),message:l(1,""),name:l(1,"AggregateError")});r({global:!0,constructor:!0,arity:2},{AggregateError:v})},4242:(e,t,n)=>{"use strict";n(3820)},8939:(e,t,n)=>{"use strict";var r=n(101),s=n(7423),i=n(7771),o=n(3326),a=n(2454).f,c=n(5297),u=n(7271),l=n(5546),p=n(69),m="Array Iterator",h=o.set,f=o.getterFor(m);e.exports=c(Array,"Array",(function(e,t){h(this,{type:m,target:r(e),index:0,kind:t})}),(function(){var e=f(this),t=e.target,n=e.kind,r=e.index++;if(!t||r>=t.length)return e.target=void 0,u(void 0,!0);switch(n){case"keys":return u(r,!1);case"values":return u(t[r],!1)}return u([r,t[r]],!1)}),"values");var d=i.Arguments=i.Array;if(s("keys"),s("values"),s("entries"),!l&&p&&"values"!==d.name)try{a(d,"name",{value:"values"})}catch(e){}},4339:(e,t,n)=>{"use strict";var r=n(3085),s=n(8576),i=n(6298),o=n(426),a="WebAssembly",c=s[a],u=7!==new Error("e",{cause:7}).cause,l=function(e,t){var n={};n[e]=o(e,t,u),r({global:!0,constructor:!0,arity:1,forced:u},n)},p=function(e,t){if(c&&c[e]){var n={};n[e]=o(a+"."+e,t,u),r({target:a,stat:!0,constructor:!0,arity:1,forced:u},n)}};l("Error",(function(e){return function(t){return i(e,this,arguments)}})),l("EvalError",(function(e){return function(t){return i(e,this,arguments)}})),l("RangeError",(function(e){return function(t){return i(e,this,arguments)}})),l("ReferenceError",(function(e){return function(t){return i(e,this,arguments)}})),l("SyntaxError",(function(e){return function(t){return i(e,this,arguments)}})),l("TypeError",(function(e){return function(t){return i(e,this,arguments)}})),l("URIError",(function(e){return function(t){return i(e,this,arguments)}})),p("CompileError",(function(e){return function(t){return i(e,this,arguments)}})),p("LinkError",(function(e){return function(t){return i(e,this,arguments)}})),p("RuntimeError",(function(e){return function(t){return i(e,this,arguments)}}))},5454:(e,t,n)=>{"use strict";var r=n(863).charAt,s=n(4845),i=n(3326),o=n(5297),a=n(7271),c="String Iterator",u=i.set,l=i.getterFor(c);o(String,"String",(function(e){u(this,{type:c,string:s(e),index:0})}),(function(){var e,t=l(this),n=t.string,s=t.index;return s>=n.length?a(void 0,!0):(e=r(n,s),t.index+=e.length,a(e,!1))}))},2752:(e,t,n)=>{"use strict";n(4242)},162:(e,t,n)=>{"use strict";n(8939);var r=n(7365),s=n(8576),i=n(4696),o=n(8711),a=n(7771),c=n(8182)("toStringTag");for(var u in r){var l=s[u],p=l&&l.prototype;p&&i(p)!==c&&o(p,c,u),a[u]=a.Array}},5846:(e,t,n)=>{"use strict";n(2752);var r=n(6791);n(162),e.exports=r},9515:(e,t,n)=>{var r=n(8761)(n(7772),"DataView");e.exports=r},9612:(e,t,n)=>{var r=n(2118),s=n(6909),i=n(8138),o=n(4174),a=n(7942);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=s,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},235:(e,t,n)=>{var r=n(3945),s=n(1846),i=n(8028),o=n(2344),a=n(4769);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=s,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},326:(e,t,n)=>{var r=n(8761)(n(7772),"Map");e.exports=r},6738:(e,t,n)=>{var r=n(2411),s=n(6417),i=n(6928),o=n(9493),a=n(4150);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=s,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},2760:(e,t,n)=>{var r=n(8761)(n(7772),"Promise");e.exports=r},2143:(e,t,n)=>{var r=n(8761)(n(7772),"Set");e.exports=r},5386:(e,t,n)=>{var r=n(6738),s=n(2842),i=n(2482);function o(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}o.prototype.add=o.prototype.push=s,o.prototype.has=i,e.exports=o},6571:(e,t,n)=>{var r=n(235),s=n(5243),i=n(2858),o=n(4417),a=n(8605),c=n(1418);function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=s,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=c,e.exports=u},857:(e,t,n)=>{var r=n(7772).Symbol;e.exports=r},9162:(e,t,n)=>{var r=n(7772).Uint8Array;e.exports=r},3215:(e,t,n)=>{var r=n(8761)(n(7772),"WeakMap");e.exports=r},7552:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,s=0,i=[];++n<r;){var o=e[n];t(o,n,e)&&(i[s++]=o)}return i}},1634:(e,t,n)=>{var r=n(6473),s=n(9631),i=n(6152),o=n(3226),a=n(9045),c=n(7598),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),l=!n&&s(e),p=!n&&!l&&o(e),m=!n&&!l&&!p&&c(e),h=n||l||p||m,f=h?r(e.length,String):[],d=f.length;for(var y in e)!t&&!u.call(e,y)||h&&("length"==y||p&&("offset"==y||"parent"==y)||m&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||a(y,d))||f.push(y);return f}},5067:e=>{e.exports=function(e,t){for(var n=-1,r=t.length,s=e.length;++n<r;)e[s+n]=t[n];return e}},7064:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},2218:(e,t,n)=>{var r=n(1225);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},1897:(e,t,n)=>{var r=n(5067),s=n(6152);e.exports=function(e,t,n){var i=t(e);return s(e)?i:r(i,n(e))}},3366:(e,t,n)=>{var r=n(857),s=n(2107),i=n(7157),o=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?s(e):i(e)}},5183:(e,t,n)=>{var r=n(3366),s=n(5125);e.exports=function(e){return s(e)&&"[object Arguments]"==r(e)}},8746:(e,t,n)=>{var r=n(1952),s=n(5125);e.exports=function e(t,n,i,o,a){return t===n||(null==t||null==n||!s(t)&&!s(n)?t!=t&&n!=n:r(t,n,i,o,e,a))}},1952:(e,t,n)=>{var r=n(6571),s=n(4871),i=n(1491),o=n(7416),a=n(940),c=n(6152),u=n(3226),l=n(7598),p="[object Arguments]",m="[object Array]",h="[object Object]",f=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,d,y,g){var v=c(e),b=c(t),E=v?m:a(e),w=b?m:a(t),x=(E=E==p?h:E)==h,O=(w=w==p?h:w)==h,S=E==w;if(S&&u(e)){if(!u(t))return!1;v=!0,x=!1}if(S&&!x)return g||(g=new r),v||l(e)?s(e,t,n,d,y,g):i(e,t,E,n,d,y,g);if(!(1&n)){var j=x&&f.call(e,"__wrapped__"),P=O&&f.call(t,"__wrapped__");if(j||P){var A=j?e.value():e,_=P?t.value():t;return g||(g=new r),y(A,_,n,d,g)}}return!!S&&(g||(g=new r),o(e,t,n,d,y,g))}},6840:(e,t,n)=>{var r=n(1049),s=n(7394),i=n(9259),o=n(7035),a=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,p=u.hasOwnProperty,m=RegExp("^"+l.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||s(e))&&(r(e)?m:a).test(o(e))}},5522:(e,t,n)=>{var r=n(3366),s=n(1158),i=n(5125),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&s(e.length)&&!!o[r(e)]}},6411:(e,t,n)=>{var r=n(6001),s=n(4248),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return s(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},6473:e=>{e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},7826:e=>{e.exports=function(e){return function(t){return e(t)}}},9950:e=>{e.exports=function(e,t){return e.has(t)}},4019:(e,t,n)=>{var r=n(7772)["__core-js_shared__"];e.exports=r},4871:(e,t,n)=>{var r=n(5386),s=n(7064),i=n(9950);e.exports=function(e,t,n,o,a,c){var u=1&n,l=e.length,p=t.length;if(l!=p&&!(u&&p>l))return!1;var m=c.get(e),h=c.get(t);if(m&&h)return m==t&&h==e;var f=-1,d=!0,y=2&n?new r:void 0;for(c.set(e,t),c.set(t,e);++f<l;){var g=e[f],v=t[f];if(o)var b=u?o(v,g,f,t,e,c):o(g,v,f,e,t,c);if(void 0!==b){if(b)continue;d=!1;break}if(y){if(!s(t,(function(e,t){if(!i(y,t)&&(g===e||a(g,e,n,o,c)))return y.push(t)}))){d=!1;break}}else if(g!==v&&!a(g,v,n,o,c)){d=!1;break}}return c.delete(e),c.delete(t),d}},1491:(e,t,n)=>{var r=n(857),s=n(9162),i=n(1225),o=n(4871),a=n(5179),c=n(4207),u=r?r.prototype:void 0,l=u?u.valueOf:void 0;e.exports=function(e,t,n,r,u,p,m){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!p(new s(e),new s(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var h=a;case"[object Set]":var f=1&r;if(h||(h=c),e.size!=t.size&&!f)return!1;var d=m.get(e);if(d)return d==t;r|=2,m.set(e,t);var y=o(h(e),h(t),r,u,p,m);return m.delete(e),y;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},7416:(e,t,n)=>{var r=n(3483),s=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,o,a){var c=1&n,u=r(e),l=u.length;if(l!=r(t).length&&!c)return!1;for(var p=l;p--;){var m=u[p];if(!(c?m in t:s.call(t,m)))return!1}var h=a.get(e),f=a.get(t);if(h&&f)return h==t&&f==e;var d=!0;a.set(e,t),a.set(t,e);for(var y=c;++p<l;){var g=e[m=u[p]],v=t[m];if(i)var b=c?i(v,g,m,t,e,a):i(g,v,m,e,t,a);if(!(void 0===b?g===v||o(g,v,n,i,a):b)){d=!1;break}y||(y="constructor"==m)}if(d&&!y){var E=e.constructor,w=t.constructor;E==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof E&&E instanceof E&&"function"==typeof w&&w instanceof w||(d=!1)}return a.delete(e),a.delete(t),d}},1242:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},3483:(e,t,n)=>{var r=n(1897),s=n(633),i=n(249);e.exports=function(e){return r(e,i,s)}},7937:(e,t,n)=>{var r=n(8304);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},8761:(e,t,n)=>{var r=n(6840),s=n(8109);e.exports=function(e,t){var n=s(e,t);return r(n)?n:void 0}},2107:(e,t,n)=>{var r=n(857),s=Object.prototype,i=s.hasOwnProperty,o=s.toString,a=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,a),n=e[a];try{e[a]=void 0;var r=!0}catch(e){}var s=o.call(e);return r&&(t?e[a]=n:delete e[a]),s}},633:(e,t,n)=>{var r=n(7552),s=n(981),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,a=o?function(e){return null==e?[]:(e=Object(e),r(o(e),(function(t){return i.call(e,t)})))}:s;e.exports=a},940:(e,t,n)=>{var r=n(9515),s=n(326),i=n(2760),o=n(2143),a=n(3215),c=n(3366),u=n(7035),l="[object Map]",p="[object Promise]",m="[object Set]",h="[object WeakMap]",f="[object DataView]",d=u(r),y=u(s),g=u(i),v=u(o),b=u(a),E=c;(r&&E(new r(new ArrayBuffer(1)))!=f||s&&E(new s)!=l||i&&E(i.resolve())!=p||o&&E(new o)!=m||a&&E(new a)!=h)&&(E=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,r=n?u(n):"";if(r)switch(r){case d:return f;case y:return l;case g:return p;case v:return m;case b:return h}return t}),e.exports=E},8109:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},2118:(e,t,n)=>{var r=n(9191);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},6909:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},8138:(e,t,n)=>{var r=n(9191),s=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return s.call(t,e)?t[e]:void 0}},4174:(e,t,n)=>{var r=n(9191),s=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:s.call(t,e)}},7942:(e,t,n)=>{var r=n(9191);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},9045:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},8304:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},7394:(e,t,n)=>{var r,s=n(4019),i=(r=/[^.]+$/.exec(s&&s.keys&&s.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},6001:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},3945:e=>{e.exports=function(){this.__data__=[],this.size=0}},1846:(e,t,n)=>{var r=n(2218),s=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():s.call(t,n,1),--this.size,!0)}},8028:(e,t,n)=>{var r=n(2218);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},2344:(e,t,n)=>{var r=n(2218);e.exports=function(e){return r(this.__data__,e)>-1}},4769:(e,t,n)=>{var r=n(2218);e.exports=function(e,t){var n=this.__data__,s=r(n,e);return s<0?(++this.size,n.push([e,t])):n[s][1]=t,this}},2411:(e,t,n)=>{var r=n(9612),s=n(235),i=n(326);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||s),string:new r}}},6417:(e,t,n)=>{var r=n(7937);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},6928:(e,t,n)=>{var r=n(7937);e.exports=function(e){return r(this,e).get(e)}},9493:(e,t,n)=>{var r=n(7937);e.exports=function(e){return r(this,e).has(e)}},4150:(e,t,n)=>{var r=n(7937);e.exports=function(e,t){var n=r(this,e),s=n.size;return n.set(e,t),this.size+=n.size==s?0:1,this}},5179:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},9191:(e,t,n)=>{var r=n(8761)(Object,"create");e.exports=r},4248:(e,t,n)=>{var r=n(241)(Object.keys,Object);e.exports=r},4146:(e,t,n)=>{e=n.nmd(e);var r=n(1242),s=t&&!t.nodeType&&t,i=s&&e&&!e.nodeType&&e,o=i&&i.exports===s&&r.process,a=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=a},7157:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},241:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},7772:(e,t,n)=>{var r=n(1242),s="object"==typeof self&&self&&self.Object===Object&&self,i=r||s||Function("return this")();e.exports=i},2842:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},2482:e=>{e.exports=function(e){return this.__data__.has(e)}},4207:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},5243:(e,t,n)=>{var r=n(235);e.exports=function(){this.__data__=new r,this.size=0}},2858:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},4417:e=>{e.exports=function(e){return this.__data__.get(e)}},8605:e=>{e.exports=function(e){return this.__data__.has(e)}},1418:(e,t,n)=>{var r=n(235),s=n(326),i=n(6738);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var o=n.__data__;if(!s||o.length<199)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(o)}return n.set(e,t),this.size=n.size,this}},7035:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},1225:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},9631:(e,t,n)=>{var r=n(5183),s=n(5125),i=Object.prototype,o=i.hasOwnProperty,a=i.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(e){return s(e)&&o.call(e,"callee")&&!a.call(e,"callee")};e.exports=c},6152:e=>{var t=Array.isArray;e.exports=t},7878:(e,t,n)=>{var r=n(1049),s=n(1158);e.exports=function(e){return null!=e&&s(e.length)&&!r(e)}},4335:(e,t,n)=>{var r=n(3366),s=n(5125);e.exports=function(e){return!0===e||!1===e||s(e)&&"[object Boolean]"==r(e)}},3226:(e,t,n)=>{e=n.nmd(e);var r=n(7772),s=n(6330),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?r.Buffer:void 0,c=(a?a.isBuffer:void 0)||s;e.exports=c},8149:(e,t,n)=>{var r=n(8746);e.exports=function(e,t){return r(e,t)}},1049:(e,t,n)=>{var r=n(3366),s=n(9259);e.exports=function(e){if(!s(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1158:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},5877:e=>{e.exports=function(e){return null===e}},537:(e,t,n)=>{var r=n(3366),s=n(5125);e.exports=function(e){return"number"==typeof e||s(e)&&"[object Number]"==r(e)}},9259:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},5125:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},5505:(e,t,n)=>{var r=n(3366),s=n(6152),i=n(5125);e.exports=function(e){return"string"==typeof e||!s(e)&&i(e)&&"[object String]"==r(e)}},7598:(e,t,n)=>{var r=n(5522),s=n(7826),i=n(4146),o=i&&i.isTypedArray,a=o?s(o):r;e.exports=a},249:(e,t,n)=>{var r=n(1634),s=n(6411),i=n(7878);e.exports=function(e){return i(e)?r(e):s(e)}},1570:e=>{e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},981:e=>{e.exports=function(){return[]}},6330:e=>{e.exports=function(){return!1}},1178:(e,t,n)=>{const r=n(1570);function s(e){return"string"==typeof e?t=>t.element===e:e.constructor&&e.extend?t=>t instanceof e:e}class i{constructor(e){this.elements=e||[]}toValue(){return this.elements.map((e=>e.toValue()))}map(e,t){return this.elements.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const n=[];return this.forEach((r=>{const s=e.bind(t)(r);s&&n.push(s)})),n}filter(e,t){return e=s(e),new i(this.elements.filter(e,t))}reject(e,t){return e=s(e),new i(this.elements.filter(r(e),t))}find(e,t){return e=s(e),this.elements.find(e,t)}forEach(e,t){this.elements.forEach(e,t)}reduce(e,t){return this.elements.reduce(e,t)}includes(e){return this.elements.some((t=>t.equals(e)))}shift(){return this.elements.shift()}unshift(e){this.elements.unshift(this.refract(e))}push(e){return this.elements.push(this.refract(e)),this}add(e){this.push(e)}get(e){return this.elements[e]}getValue(e){const t=this.elements[e];if(t)return t.toValue()}get length(){return this.elements.length}get isEmpty(){return 0===this.elements.length}get first(){return this.elements[0]}}"undefined"!=typeof Symbol&&(i.prototype[Symbol.iterator]=function(){return this.elements[Symbol.iterator]()}),e.exports=i},3026:e=>{class t{constructor(e,t){this.key=e,this.value=t}clone(){const e=new t;return this.key&&(e.key=this.key.clone()),this.value&&(e.value=this.value.clone()),e}}e.exports=t},5140:(e,t,n)=>{const r=n(5877),s=n(5505),i=n(537),o=n(4335),a=n(9259),c=n(2947),u=n(3756);class l{constructor(e){this.elementMap={},this.elementDetection=[],this.Element=u.Element,this.KeyValuePair=u.KeyValuePair,e&&e.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(e){return e.namespace&&e.namespace({base:this}),e.load&&e.load({base:this}),this}useDefault(){return this.register("null",u.NullElement).register("string",u.StringElement).register("number",u.NumberElement).register("boolean",u.BooleanElement).register("array",u.ArrayElement).register("object",u.ObjectElement).register("member",u.MemberElement).register("ref",u.RefElement).register("link",u.LinkElement),this.detect(r,u.NullElement,!1).detect(s,u.StringElement,!1).detect(i,u.NumberElement,!1).detect(o,u.BooleanElement,!1).detect(Array.isArray,u.ArrayElement,!1).detect(a,u.ObjectElement,!1),this}register(e,t){return this._elements=void 0,this.elementMap[e]=t,this}unregister(e){return this._elements=void 0,delete this.elementMap[e],this}detect(e,t,n){return void 0===n||n?this.elementDetection.unshift([e,t]):this.elementDetection.push([e,t]),this}toElement(e){if(e instanceof this.Element)return e;let t;for(let n=0;n<this.elementDetection.length;n+=1){const r=this.elementDetection[n][0],s=this.elementDetection[n][1];if(r(e)){t=new s(e);break}}return t}getElementClass(e){const t=this.elementMap[e];return void 0===t?this.Element:t}fromRefract(e){return this.serialiser.deserialise(e)}toRefract(e){return this.serialiser.serialise(e)}get elements(){return void 0===this._elements&&(this._elements={Element:this.Element},Object.keys(this.elementMap).forEach((e=>{const t=e[0].toUpperCase()+e.substr(1);this._elements[t]=this.elementMap[e]}))),this._elements}get serialiser(){return new c(this)}}c.prototype.Namespace=l,e.exports=l},3853:(e,t,n)=>{const r=n(1570),s=n(1178);class i extends s{map(e,t){return this.elements.map((n=>e.bind(t)(n.value,n.key,n)))}filter(e,t){return new i(this.elements.filter((n=>e.bind(t)(n.value,n.key,n))))}reject(e,t){return this.filter(r(e.bind(t)))}forEach(e,t){return this.elements.forEach(((n,r)=>{e.bind(t)(n.value,n.key,n,r)}))}keys(){return this.map(((e,t)=>t.toValue()))}values(){return this.map((e=>e.toValue()))}}e.exports=i},3756:(e,t,n)=>{const r=n(6420),s=n(4152),i=n(9542),o=n(3710),a=n(3312),c=n(1641),u=n(8858),l=n(3860),p=n(5202),m=n(2320),h=n(1178),f=n(3853),d=n(3026);function y(e){if(e instanceof r)return e;if("string"==typeof e)return new i(e);if("number"==typeof e)return new o(e);if("boolean"==typeof e)return new a(e);if(null===e)return new s;if(Array.isArray(e))return new c(e.map(y));if("object"==typeof e){return new l(e)}return e}r.prototype.ObjectElement=l,r.prototype.RefElement=m,r.prototype.MemberElement=u,r.prototype.refract=y,h.prototype.refract=y,e.exports={Element:r,NullElement:s,StringElement:i,NumberElement:o,BooleanElement:a,ArrayElement:c,MemberElement:u,ObjectElement:l,LinkElement:p,RefElement:m,refract:y,ArraySlice:h,ObjectSlice:f,KeyValuePair:d}},5202:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e||[],t,n),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(e){this.attributes.set("relation",e)}get href(){return this.attributes.get("href")}set href(e){this.attributes.set("href",e)}}},2320:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e||[],t,n),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(e){this.attributes.set("path",e)}}},7952:(e,t,n)=>{const r=n(5140),s=n(3756);t.lS=r,t.KeyValuePair=n(3026),t.O4=s.ArraySlice,t.rm=s.ObjectSlice,t.W_=s.Element,t.RP=s.StringElement,t.VL=s.NumberElement,t.hh=s.BooleanElement,t.zr=s.NullElement,t.ON=s.ArrayElement,t.Sb=s.ObjectElement,t.c6=s.MemberElement,t.tK=s.RefElement,t.EA=s.LinkElement,t.Qc=s.refract,n(2947),n(8910)},1641:(e,t,n)=>{const r=n(1570),s=n(6420),i=n(1178);class o extends s{constructor(e,t,n){super(e||[],t,n),this.element="array"}primitive(){return"array"}get(e){return this.content[e]}getValue(e){const t=this.get(e);if(t)return t.toValue()}getIndex(e){return this.content[e]}set(e,t){return this.content[e]=this.refract(t),this}remove(e){const t=this.content.splice(e,1);return t.length?t[0]:null}map(e,t){return this.content.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const n=[];return this.forEach((r=>{const s=e.bind(t)(r);s&&n.push(s)})),n}filter(e,t){return new i(this.content.filter(e,t))}reject(e,t){return this.filter(r(e),t)}reduce(e,t){let n,r;void 0!==t?(n=0,r=this.refract(t)):(n=1,r="object"===this.primitive()?this.first.value:this.first);for(let t=n;t<this.length;t+=1){const n=this.content[t];r="object"===this.primitive()?this.refract(e(r,n.value,n.key,n,this)):this.refract(e(r,n,t,this))}return r}forEach(e,t){this.content.forEach(((n,r)=>{e.bind(t)(n,this.refract(r))}))}shift(){return this.content.shift()}unshift(e){this.content.unshift(this.refract(e))}push(e){return this.content.push(this.refract(e)),this}add(e){this.push(e)}findElements(e,t){const n=t||{},r=!!n.recursive,s=void 0===n.results?[]:n.results;return this.forEach(((t,n,i)=>{r&&void 0!==t.findElements&&t.findElements(e,{results:s,recursive:r}),e(t,n,i)&&s.push(t)})),s}find(e){return new i(this.findElements(e,{recursive:!0}))}findByElement(e){return this.find((t=>t.element===e))}findByClass(e){return this.find((t=>t.classes.includes(e)))}getById(e){return this.find((t=>t.id.toValue()===e)).first}includes(e){return this.content.some((t=>t.equals(e)))}contains(e){return this.includes(e)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(e){return new this.constructor(this.content.concat(e.content))}"fantasy-land/concat"(e){return this.concat(e)}"fantasy-land/map"(e){return new this.constructor(this.map(e))}"fantasy-land/chain"(e){return this.map((t=>e(t)),this).reduce(((e,t)=>e.concat(t)),this.empty())}"fantasy-land/filter"(e){return new this.constructor(this.content.filter(e))}"fantasy-land/reduce"(e,t){return this.content.reduce(e,t)}get length(){return this.content.length}get isEmpty(){return 0===this.content.length}get first(){return this.getIndex(0)}get second(){return this.getIndex(1)}get last(){return this.getIndex(this.length-1)}}o.empty=function(){return new this},o["fantasy-land/empty"]=o.empty,"undefined"!=typeof Symbol&&(o.prototype[Symbol.iterator]=function(){return this.content[Symbol.iterator]()}),e.exports=o},3312:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e,t,n),this.element="boolean"}primitive(){return"boolean"}}},6420:(e,t,n)=>{const r=n(8149),s=n(3026),i=n(1178);class o{constructor(e,t,n){t&&(this.meta=t),n&&(this.attributes=n),this.content=e}freeze(){Object.isFrozen(this)||(this._meta&&(this.meta.parent=this,this.meta.freeze()),this._attributes&&(this.attributes.parent=this,this.attributes.freeze()),this.children.forEach((e=>{e.parent=this,e.freeze()}),this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const e=new this.constructor;return e.element=this.element,this.meta.length&&(e._meta=this.meta.clone()),this.attributes.length&&(e._attributes=this.attributes.clone()),this.content?this.content.clone?e.content=this.content.clone():Array.isArray(this.content)?e.content=this.content.map((e=>e.clone())):e.content=this.content:e.content=this.content,e}toValue(){return this.content instanceof o?this.content.toValue():this.content instanceof s?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map((e=>e.toValue()),this):this.content}toRef(e){if(""===this.id.toValue())throw Error("Cannot create reference to an element that does not contain an ID");const t=new this.RefElement(this.id.toValue());return e&&(t.path=e),t}findRecursive(...e){if(arguments.length>1&&!this.isFrozen)throw new Error("Cannot find recursive with multiple element names without first freezing the element. Call `element.freeze()`");const t=e.pop();let n=new i;const r=(e,t)=>(e.push(t),e),o=(e,n)=>{n.element===t&&e.push(n);const i=n.findRecursive(t);return i&&i.reduce(r,e),n.content instanceof s&&(n.content.key&&o(e,n.content.key),n.content.value&&o(e,n.content.value)),e};return this.content&&(this.content.element&&o(n,this.content),Array.isArray(this.content)&&this.content.reduce(o,n)),e.isEmpty||(n=n.filter((t=>{let n=t.parents.map((e=>e.element));for(const t in e){const r=e[t],s=n.indexOf(r);if(-1===s)return!1;n=n.splice(0,s)}return!0}))),n}set(e){return this.content=e,this}equals(e){return r(this.toValue(),e)}getMetaProperty(e,t){if(!this.meta.hasKey(e)){if(this.isFrozen){const e=this.refract(t);return e.freeze(),e}this.meta.set(e,t)}return this.meta.get(e)}setMetaProperty(e,t){this.meta.set(e,t)}get element(){return this._storedElement||"element"}set element(e){this._storedElement=e}get content(){return this._content}set content(e){if(e instanceof o)this._content=e;else if(e instanceof i)this.content=e.elements;else if("string"==typeof e||"number"==typeof e||"boolean"==typeof e||"null"===e||null==e)this._content=e;else if(e instanceof s)this._content=e;else if(Array.isArray(e))this._content=e.map(this.refract);else{if("object"!=typeof e)throw new Error("Cannot set content to given value");this._content=Object.keys(e).map((t=>new this.MemberElement(t,e[t])))}}get meta(){if(!this._meta){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._meta=new this.ObjectElement}return this._meta}set meta(e){e instanceof this.ObjectElement?this._meta=e:this.meta.set(e||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._attributes=new this.ObjectElement}return this._attributes}set attributes(e){e instanceof this.ObjectElement?this._attributes=e:this.attributes.set(e||{})}get id(){return this.getMetaProperty("id","")}set id(e){this.setMetaProperty("id",e)}get classes(){return this.getMetaProperty("classes",[])}set classes(e){this.setMetaProperty("classes",e)}get title(){return this.getMetaProperty("title","")}set title(e){this.setMetaProperty("title",e)}get description(){return this.getMetaProperty("description","")}set description(e){this.setMetaProperty("description",e)}get links(){return this.getMetaProperty("links",[])}set links(e){this.setMetaProperty("links",e)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:e}=this;const t=new i;for(;e;)t.push(e),e=e.parent;return t}get children(){if(Array.isArray(this.content))return new i(this.content);if(this.content instanceof s){const e=new i([this.content.key]);return this.content.value&&e.push(this.content.value),e}return this.content instanceof o?new i([this.content]):new i}get recursiveChildren(){const e=new i;return this.children.forEach((t=>{e.push(t),t.recursiveChildren.forEach((t=>{e.push(t)}))})),e}}e.exports=o},8858:(e,t,n)=>{const r=n(3026),s=n(6420);e.exports=class extends s{constructor(e,t,n,s){super(new r,n,s),this.element="member",this.key=e,this.value=t}get key(){return this.content.key}set key(e){this.content.key=this.refract(e)}get value(){return this.content.value}set value(e){this.content.value=this.refract(e)}}},4152:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e||null,t,n),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},3710:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e,t,n),this.element="number"}primitive(){return"number"}}},3860:(e,t,n)=>{const r=n(1570),s=n(9259),i=n(1641),o=n(8858),a=n(3853);e.exports=class extends i{constructor(e,t,n){super(e||[],t,n),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(((e,t)=>(e[t.key.toValue()]=t.value?t.value.toValue():void 0,e)),{})}get(e){const t=this.getMember(e);if(t)return t.value}getMember(e){if(void 0!==e)return this.content.find((t=>t.key.toValue()===e))}remove(e){let t=null;return this.content=this.content.filter((n=>n.key.toValue()!==e||(t=n,!1))),t}getKey(e){const t=this.getMember(e);if(t)return t.key}set(e,t){if(s(e))return Object.keys(e).forEach((t=>{this.set(t,e[t])})),this;const n=e,r=this.getMember(n);return r?r.value=t:this.content.push(new o(n,t)),this}keys(){return this.content.map((e=>e.key.toValue()))}values(){return this.content.map((e=>e.value.toValue()))}hasKey(e){return this.content.some((t=>t.key.equals(e)))}items(){return this.content.map((e=>[e.key.toValue(),e.value.toValue()]))}map(e,t){return this.content.map((n=>e.bind(t)(n.value,n.key,n)))}compactMap(e,t){const n=[];return this.forEach(((r,s,i)=>{const o=e.bind(t)(r,s,i);o&&n.push(o)})),n}filter(e,t){return new a(this.content).filter(e,t)}reject(e,t){return this.filter(r(e),t)}forEach(e,t){return this.content.forEach((n=>e.bind(t)(n.value,n.key,n)))}}},9542:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e,t,n),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},8910:(e,t,n)=>{const r=n(2947);e.exports=class extends r{serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);let t;e._attributes&&e.attributes.get("variable")&&(t=e.attributes.get("variable"));const n={element:e.element};e._meta&&e._meta.length>0&&(n.meta=this.serialiseObject(e.meta));const r="enum"===e.element||-1!==e.attributes.keys().indexOf("enumerations");if(r){const t=this.enumSerialiseAttributes(e);t&&(n.attributes=t)}else if(e._attributes&&e._attributes.length>0){let{attributes:r}=e;r.get("metadata")&&(r=r.clone(),r.set("meta",r.get("metadata")),r.remove("metadata")),"member"===e.element&&t&&(r=r.clone(),r.remove("variable")),r.length>0&&(n.attributes=this.serialiseObject(r))}if(r)n.content=this.enumSerialiseContent(e,n);else if(this[`${e.element}SerialiseContent`])n.content=this[`${e.element}SerialiseContent`](e,n);else if(void 0!==e.content){let r;t&&e.content.key?(r=e.content.clone(),r.key.attributes.set("variable",t),r=this.serialiseContent(r)):r=this.serialiseContent(e.content),this.shouldSerialiseContent(e,r)&&(n.content=r)}else this.shouldSerialiseContent(e,e.content)&&e instanceof this.namespace.elements.Array&&(n.content=[]);return n}shouldSerialiseContent(e,t){return"parseResult"===e.element||"httpRequest"===e.element||"httpResponse"===e.element||"category"===e.element||"link"===e.element||void 0!==t&&(!Array.isArray(t)||0!==t.length)}refSerialiseContent(e,t){return delete t.attributes,{href:e.toValue(),path:e.path.toValue()}}sourceMapSerialiseContent(e){return e.toValue()}dataStructureSerialiseContent(e){return[this.serialiseContent(e.content)]}enumSerialiseAttributes(e){const t=e.attributes.clone(),n=t.remove("enumerations")||new this.namespace.elements.Array([]),r=t.get("default");let s=t.get("samples")||new this.namespace.elements.Array([]);if(r&&r.content&&(r.content.attributes&&r.content.attributes.remove("typeAttributes"),t.set("default",new this.namespace.elements.Array([r.content]))),s.forEach((e=>{e.content&&e.content.element&&e.content.attributes.remove("typeAttributes")})),e.content&&0!==n.length&&s.unshift(e.content),s=s.map((e=>e instanceof this.namespace.elements.Array?[e]:new this.namespace.elements.Array([e.content]))),s.length&&t.set("samples",s),t.length>0)return this.serialiseObject(t)}enumSerialiseContent(e){if(e._attributes){const t=e.attributes.get("enumerations");if(t&&t.length>0)return t.content.map((e=>{const t=e.clone();return t.attributes.remove("typeAttributes"),this.serialise(t)}))}if(e.content){const t=e.content.clone();return t.attributes.remove("typeAttributes"),[this.serialise(t)]}return[]}deserialise(e){if("string"==typeof e)return new this.namespace.elements.String(e);if("number"==typeof e)return new this.namespace.elements.Number(e);if("boolean"==typeof e)return new this.namespace.elements.Boolean(e);if(null===e)return new this.namespace.elements.Null;if(Array.isArray(e))return new this.namespace.elements.Array(e.map(this.deserialise,this));const t=this.namespace.getElementClass(e.element),n=new t;n.element!==e.element&&(n.element=e.element),e.meta&&this.deserialiseObject(e.meta,n.meta),e.attributes&&this.deserialiseObject(e.attributes,n.attributes);const r=this.deserialiseContent(e.content);if(void 0===r&&null!==n.content||(n.content=r),"enum"===n.element){n.content&&n.attributes.set("enumerations",n.content);let e=n.attributes.get("samples");if(n.attributes.remove("samples"),e){const r=e;e=new this.namespace.elements.Array,r.forEach((r=>{r.forEach((r=>{const s=new t(r);s.element=n.element,e.push(s)}))}));const s=e.shift();n.content=s?s.content:void 0,n.attributes.set("samples",e)}else n.content=void 0;let r=n.attributes.get("default");if(r&&r.length>0){r=r.get(0);const e=new t(r);e.element=n.element,n.attributes.set("default",e)}}else if("dataStructure"===n.element&&Array.isArray(n.content))[n.content]=n.content;else if("category"===n.element){const e=n.attributes.get("meta");e&&(n.attributes.set("metadata",e),n.attributes.remove("meta"))}else"member"===n.element&&n.key&&n.key._attributes&&n.key._attributes.getValue("variable")&&(n.attributes.set("variable",n.key.attributes.get("variable")),n.key.attributes.remove("variable"));return n}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}return e&&e.map?e.map(this.serialise,this):e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}shouldRefract(e){return!!(e._attributes&&e.attributes.keys().length||e._meta&&e.meta.keys().length)||"enum"!==e.element&&(e.element!==e.primitive()||"member"===e.element)}convertKeyToRefract(e,t){return this.shouldRefract(t)?this.serialise(t):"enum"===t.element?this.serialiseEnum(t):"array"===t.element?t.map((t=>this.shouldRefract(t)||"default"===e?this.serialise(t):"array"===t.element||"object"===t.element||"enum"===t.element?t.children.map((e=>this.serialise(e))):t.toValue())):"object"===t.element?(t.content||[]).map(this.serialise,this):t.toValue()}serialiseEnum(e){return e.children.map((e=>this.serialise(e)))}serialiseObject(e){const t={};return e.forEach(((e,n)=>{if(e){const r=n.toValue();t[r]=this.convertKeyToRefract(r,e)}})),t}deserialiseObject(e,t){Object.keys(e).forEach((n=>{t.set(n,this.deserialise(e[n]))}))}}},2947:e=>{e.exports=class{constructor(e){this.namespace=e||new this.Namespace}serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);const t={element:e.element};e._meta&&e._meta.length>0&&(t.meta=this.serialiseObject(e.meta)),e._attributes&&e._attributes.length>0&&(t.attributes=this.serialiseObject(e.attributes));const n=this.serialiseContent(e.content);return void 0!==n&&(t.content=n),t}deserialise(e){if(!e.element)throw new Error("Given value is not an object containing an element name");const t=new(this.namespace.getElementClass(e.element));t.element!==e.element&&(t.element=e.element),e.meta&&this.deserialiseObject(e.meta,t.meta),e.attributes&&this.deserialiseObject(e.attributes,t.attributes);const n=this.deserialiseContent(e.content);return void 0===n&&null!==t.content||(t.content=n),t}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}if(e&&e.map){if(0===e.length)return;return e.map(this.serialise,this)}return e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}serialiseObject(e){const t={};if(e.forEach(((e,n)=>{e&&(t[n.toValue()]=this.serialise(e))})),0!==Object.keys(t).length)return t}deserialiseObject(e,t){Object.keys(e).forEach((n=>{t.set(n,this.deserialise(e[n]))}))}}},6591:e=>{!function(){"use strict";var t,n,r,s,i,o="properties",a="deepProperties",c="propertyDescriptors",u="staticProperties",l="staticDeepProperties",p="staticPropertyDescriptors",m="configuration",h="deepConfiguration",f="deepProps",d="deepStatics",y="deepConf",g="initializers",v="methods",b="composers",E="compose";function w(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[])}function x(e,t){return Array.prototype.slice.call(arguments,2).reduce(e,t)}var O=x.bind(0,(function(e,t){if(t)for(var n=w(t),r=0;r<n.length;r+=1)Object.defineProperty(e,n[r],Object.getOwnPropertyDescriptor(t,n[r]));return e}));function S(e){return"function"==typeof e}function j(e){return e&&"object"==typeof e||S(e)}function P(e){return e&&"object"==typeof e&&e.__proto__==Object.prototype}var A=x.bind(0,(function e(n,r){if(r===t)return n;if(Array.isArray(r))return(Array.isArray(n)?n:[]).concat(r);if(!P(r))return r;for(var s,i,o=w(r),a=0;a<o.length;)s=o[a++],(i=Object.getOwnPropertyDescriptor(r,s)).hasOwnProperty("value")?i.value!==t&&(n[s]=e(P(n[s])||Array.isArray(r[s])?n[s]:{},r[s])):Object.defineProperty(n,s,i);return n}));function _(){return(n=Array.prototype.concat.apply([],arguments).filter((function(e,t,n){return S(e)&&n.indexOf(e)===t}))).length?n:t}function k(e,t){function r(n,r){j(t[n])&&(j(e[n])||(e[n]={}),(r||O)(e[n],t[n]))}function s(r){(n=_(e[r],t[r]))&&(e[r]=n)}return t&&j(t=t[E]||t)&&(r(v),r(o),r(a,A),r(c),r(u),r(l,A),r(p),r(m),r(h,A),s(g),s(b)),e}function I(){return function(e){return n=function e(n){var r,s,i=e[E]||{},u={__proto__:i[v]},l=i[g],p=Array.prototype.slice.apply(arguments),m=i[a];if(m&&A(u,m),(m=i[o])&&O(u,m),(m=i[c])&&Object.defineProperties(u,m),!l||!l.length)return u;for(n===t&&(n={}),i=0;i<l.length;)S(r=l[i++])&&(u=(s=r.call(u,n,{instance:u,stamp:e,args:p}))===t?u:s);return u},(r=e[l])&&A(n,r),(r=e[u])&&O(n,r),(r=e[p])&&Object.defineProperties(n,r),r=S(n[E])?n[E]:I,O(n[E]=function(){return r.apply(this,arguments)},e),n}(Array.prototype.concat.apply([this],arguments).reduce(k,{}))}function T(e){return S(e)&&S(e[E])}var M={};function R(e,i){return function(){return(s={})[e]=i.apply(t,Array.prototype.concat.apply([{}],arguments)),((n=this)&&n[E]||r).call(n,s)}}M[v]=R(v,O),M[o]=M.props=R(o,O),M[g]=M.init=R(g,_),M[b]=R(b,_),M[a]=M[f]=R(a,A),M[u]=M.statics=R(u,O),M[l]=M[d]=R(l,A),M[m]=M.conf=R(m,O),M[h]=M[y]=R(h,A),M[c]=R(c,O),M[p]=R(p,O),r=M[E]=O((function(){for(var e,w,x=0,S=[],P=arguments,k=this;x<P.length;)j(e=P[x++])&&S.push(T(e)?e:((s={})[v]=(w=e)[v]||t,r=w.props,s[o]=j((n=w[o])||r)?O({},r,n):t,s[g]=_(w.init,w[g]),s[b]=_(w[b]),r=w[f],s[a]=j((n=w[a])||r)?A({},r,n):t,s[c]=w[c],r=w.statics,s[u]=j((n=w[u])||r)?O({},r,n):t,r=w[d],s[l]=j((n=w[l])||r)?A({},r,n):t,n=w[p],s[p]=j((r=w.name&&{name:{value:w.name}})||n)?O({},n,r):t,r=w.conf,s[m]=j((n=w[m])||r)?O({},r,n):t,r=w[y],s[h]=j((n=w[h])||r)?A({},r,n):t,s));if(e=I.apply(k||i,S),k&&S.unshift(k),Array.isArray(P=e[E][b]))for(x=0;x<P.length;)e=T(k=P[x++]({stamp:e,composables:S}))?k:e;return e}),M),M.create=function(){return this.apply(t,arguments)},(s={})[u]=M,i=I(s),r[E]=r.bind(),r.version="4.3.2","object"!=typeof t?e.exports=r:self.stampit=r}()},1427:(e,t,n)=>{e.exports=n(6762)}},t={};function n(r){var s=t[r];if(void 0!==s)return s.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var r={};return(()=>{"use strict";n.r(r),n.d(r,{AlternatingVisitor:()=>Pa,ContactElement:()=>Bs,DefinitionsElement:()=>vi,ExampleElement:()=>ni,ExternalDocumentationElement:()=>Qs,FallbackVisitor:()=>uo,FixedFieldsVisitor:()=>vo,HeaderElement:()=>ui,HeadersElement:()=>ci,InfoElement:()=>Vs,ItemsElement:()=>ei,JSONReferenceElement:()=>Rn,LicenseElement:()=>Hs,MapVisitor:()=>ka,MixedFieldsVisitor:()=>Sa,OpenAPIMediaTypes:()=>Rs,OperationConsumesElement:()=>Ri,OperationElement:()=>Ws,OperationParametersElement:()=>Ni,OperationProducesElement:()=>Di,OperationSchemesElement:()=>qi,OperationSecurityElement:()=>Li,OperationTagsElement:()=>zi,ParameterElement:()=>Zs,ParametersDefinitionsElement:()=>Ei,PathItemElement:()=>Ks,PathItemParametersElement:()=>Ji,PathsElement:()=>Us,PatternedFieldsVisitor:()=>To,ReferenceElement:()=>yi,ResponseElement:()=>oi,ResponsesDefinitionsElement:()=>xi,ResponsesElement:()=>si,SchemaElement:()=>mi,ScopesElement:()=>_i,SecurityDefinitionsElement:()=>Si,SecurityRequirementElement:()=>Ii,SecuritySchemeElement:()=>Pi,SpecificationVisitor:()=>lo,SwaggerConsumesElement:()=>Xi,SwaggerElement:()=>Fs,SwaggerProducesElement:()=>Yi,SwaggerSchemesElement:()=>Gi,SwaggerSecurityElement:()=>Zi,SwaggerTagsElement:()=>to,SwaggerVersionElement:()=>Cs,TagElement:()=>pi,Visitor:()=>co,XmlElement:()=>fi,createRefractor:()=>sc,default:()=>Ti,getNodeType:()=>no,isArrayElement:()=>ue,isBooleanElement:()=>ae,isContactElement:()=>Fo,isDefinitionsElement:()=>ea,isElement:()=>re,isExampleElement:()=>Uo,isExternalDocumentationElement:()=>Vo,isHeaderElement:()=>Go,isHeadersElement:()=>Jo,isInfoElement:()=>$o,isItemsElement:()=>Bo,isJSONReferenceElement:()=>qn,isLicenseElement:()=>No,isLinkPrimitiveElement:()=>pe,isMemberElement:()=>le,isNullElement:()=>oe,isNumberElement:()=>ie,isObjectElement:()=>ce,isOperationElement:()=>qo,isParameterElement:()=>Lo,isParametersDefinitionsElement:()=>ta,isPathItemElement:()=>Co,isPathsElement:()=>Do,isRefElement:()=>me,isReferenceElement:()=>Xo,isReferenceLikeElement:()=>go,isResponseElement:()=>Ho,isResponsesDefinitionsElement:()=>Qo,isResponsesElement:()=>zo,isSchemaElement:()=>Wo,isScopesElement:()=>ra,isSecurityDefinitionsElement:()=>Zo,isSecurityRequirementElement:()=>sa,isSecuritySchemeElement:()=>na,isStringElement:()=>se,isSwaggerElement:()=>Mo,isSwaggerExtension:()=>yo,isSwaggerVersionElement:()=>Ro,isTagElement:()=>Ko,isXmlElement:()=>Yo,keyMap:()=>ro,mediaTypes:()=>$s,refract:()=>ic,refractorPluginReplaceEmptyElement:()=>ao,specificationObj:()=>tc});var e={};n.r(e),n.d(e,{hasElementSourceMap:()=>ve,includesClasses:()=>Ee,includesSymbols:()=>be,isAnnotationElement:()=>he,isArrayElement:()=>ue,isBooleanElement:()=>ae,isCommentElement:()=>fe,isElement:()=>re,isLinkElement:()=>pe,isMemberElement:()=>le,isNullElement:()=>oe,isNumberElement:()=>ie,isObjectElement:()=>ce,isParseResultElement:()=>de,isPrimitiveElement:()=>ge,isRefElement:()=>me,isSourceMapElement:()=>ye,isStringElement:()=>se});var t={};n.r(t),n.d(t,{isJSONReferenceElement:()=>qn,isJSONSchemaElement:()=>Cn,isLinkDescriptionElement:()=>Ln,isMediaElement:()=>Vn});var s={};n.r(s),n.d(s,{isReferenceLikeElement:()=>go,isSwaggerExtension:()=>yo});var i={};n.r(i),n.d(i,{isContactElement:()=>Fo,isDefinitionsElement:()=>ea,isExampleElement:()=>Uo,isExternalDocumentationElement:()=>Vo,isHeaderElement:()=>Go,isHeadersElement:()=>Jo,isInfoElement:()=>$o,isItemsElement:()=>Bo,isLicenseElement:()=>No,isOperationElement:()=>qo,isParameterElement:()=>Lo,isParametersDefinitionsElement:()=>ta,isPathItemElement:()=>Co,isPathsElement:()=>Do,isReferenceElement:()=>Xo,isResponseElement:()=>Ho,isResponsesDefinitionsElement:()=>Qo,isResponsesElement:()=>zo,isSchemaElement:()=>Wo,isScopesElement:()=>ra,isSecurityDefinitionsElement:()=>Zo,isSecurityRequirementElement:()=>sa,isSecuritySchemeElement:()=>na,isSwaggerElement:()=>Mo,isSwaggerVersionElement:()=>Ro,isTagElement:()=>Ko,isXmlElement:()=>Yo});var o=n(7952);function a(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function c(e){return function t(n){return 0===arguments.length||a(n)?t:e.apply(this,arguments)}}function u(e){return function t(n,r){switch(arguments.length){case 0:return t;case 1:return a(n)?t:c((function(t){return e(n,t)}));default:return a(n)&&a(r)?t:a(n)?c((function(t){return e(t,r)})):a(r)?c((function(t){return e(n,t)})):e(n,r)}}}const l=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function p(e,t,n){return function(){if(0===arguments.length)return n();var r=arguments[arguments.length-1];if(!l(r)){for(var s=0;s<e.length;){if("function"==typeof r[e[s]])return r[e[s]].apply(r,Array.prototype.slice.call(arguments,0,-1));s+=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 m(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}const h=function(){return this.xf["@@transducer/init"]()},f=function(e){return this.xf["@@transducer/result"](e)};var d=function(){function e(e,t){this.xf=t,this.f=e,this.all=!0}return e.prototype["@@transducer/init"]=h,e.prototype["@@transducer/result"]=function(e){return this.all&&(e=this.xf["@@transducer/step"](e,!0)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)||(this.all=!1,e=m(this.xf["@@transducer/step"](e,!1))),e},e}();function y(e){return function(t){return new d(e,t)}}const g=u(p(["all"],y,(function(e,t){for(var n=0;n<t.length;){if(!e(t[n]))return!1;n+=1}return!0})));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,s){return t.apply(this,arguments)};case 5:return function(e,n,r,s,i){return t.apply(this,arguments)};case 6:return function(e,n,r,s,i,o){return t.apply(this,arguments)};case 7:return function(e,n,r,s,i,o,a){return t.apply(this,arguments)};case 8:return function(e,n,r,s,i,o,a,c){return t.apply(this,arguments)};case 9:return function(e,n,r,s,i,o,a,c,u){return t.apply(this,arguments)};case 10:return function(e,n,r,s,i,o,a,c,u,l){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function b(e,t,n){return function(){for(var r=[],s=0,i=e,o=0,c=!1;o<t.length||s<arguments.length;){var u;o<t.length&&(!a(t[o])||s>=arguments.length)?u=t[o]:(u=arguments[s],s+=1),r[o]=u,a(u)?c=!0:i-=1,o+=1}return!c&&i<=0?n.apply(this,r):v(Math.max(0,i),b(e,r,n))}}const E=u((function(e,t){return 1===e?c(t):v(e,b(e,[],t))}));const w=c((function(e){return E(e.length,(function(t,n){var r=Array.prototype.slice.call(arguments,0);return r[0]=n,r[1]=t,e.apply(this,r)}))}));function x(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function O(e,t,n){for(var r=0,s=n.length;r<s;){if(e(t,n[r]))return!0;r+=1}return!1}function S(e,t){return Object.prototype.hasOwnProperty.call(t,e)}const j="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};var P=Object.prototype.toString;const A=function(){return"[object Arguments]"===P.call(arguments)?function(e){return"[object Arguments]"===P.call(e)}:function(e){return S("callee",e)}}();var _=!{toString:null}.propertyIsEnumerable("toString"),k=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],I=function(){return arguments.propertyIsEnumerable("length")}(),T=function(e,t){for(var n=0;n<e.length;){if(e[n]===t)return!0;n+=1}return!1},M="function"!=typeof Object.keys||I?c((function(e){if(Object(e)!==e)return[];var t,n,r=[],s=I&&A(e);for(t in e)!S(t,e)||s&&"length"===t||(r[r.length]=t);if(_)for(n=k.length-1;n>=0;)S(t=k[n],e)&&!T(r,t)&&(r[r.length]=t),n-=1;return r})):c((function(e){return Object(e)!==e?[]:Object.keys(e)}));const R=M;const $=c((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function N(e,t,n,r){var s=x(e);function i(e,t){return F(e,t,n.slice(),r.slice())}return!O((function(e,t){return!O(i,t,e)}),x(t),s)}function F(e,t,n,r){if(j(e,t))return!0;var s,i,o=$(e);if(o!==$(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"===(s=e.constructor,null==(i=String(s).match(/^function (\w*)/))?"":i[1]))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!j(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!j(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(o){case"Map":return e.size===t.size&&N(e.entries(),t.entries(),n.concat([e]),r.concat([t]));case"Set":return e.size===t.size&&N(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=R(e);if(c.length!==R(t).length)return!1;var u=n.concat([e]),l=r.concat([t]);for(a=c.length-1;a>=0;){var p=c[a];if(!S(p,t)||!F(t[p],e[p],u,l))return!1;a-=1}return!0}const D=u((function(e,t){return F(e,t,[],[])}));function C(e,t){return function(e,t,n){var r,s;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(r=1/t;n<e.length;){if(0===(s=e[n])&&1/s===r)return n;n+=1}return-1}if(t!=t){for(;n<e.length;){if("number"==typeof(s=e[n])&&s!=s)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(D(e[n],t))return n;n+=1}return-1}(t,e,0)>=0}const q=w(u(C));class V extends o.RP{constructor(e,t,n){super(e,t,n),this.element="annotation"}get code(){return this.attributes.get("code")}set code(e){this.attributes.set("code",e)}}const L=V;class B extends o.RP{constructor(e,t,n){super(e,t,n),this.element="comment"}}const z=B;const H=c((function(e){return function(){return e}}));const J=H(void 0);const U=D(J());class G extends o.ON{constructor(e,t,n){super(e,t,n),this.element="parseResult"}get api(){return this.children.filter((e=>e.classes.contains("api"))).first}get results(){return this.children.filter((e=>e.classes.contains("result")))}get result(){return this.results.first}get annotations(){return this.children.filter((e=>"annotation"===e.element))}get warnings(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("warning")))}get errors(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("error")))}get isEmpty(){return this.children.reject((e=>"annotation"===e.element)).isEmpty}replaceResult(e){const{result:t}=this;if(U(t))return!1;const n=this.content.findIndex((e=>e===t));return-1!==n&&(this.content[n]=e,!0)}}const K=G;class X extends o.ON{constructor(e,t,n){super(e,t,n),this.element="sourceMap"}get positionStart(){return this.children.filter((e=>e.classes.contains("position"))).get(0)}get positionEnd(){return this.children.filter((e=>e.classes.contains("position"))).get(1)}set position(e){if(null===e)return;const t=new o.ON([e.start.row,e.start.column,e.start.char]),n=new o.ON([e.end.row,e.end.column,e.end.char]);t.classes.push("position"),n.classes.push("position"),this.push(t).push(n)}}const W=X,Y=(e,t)=>"object"==typeof t&&null!==t&&e in t&&"function"==typeof t[e],Q=e=>"object"==typeof e&&null!=e&&"_storedElement"in e&&"string"==typeof e._storedElement&&"_content"in e,Z=(e,t)=>"object"==typeof t&&null!==t&&"primitive"in t&&("function"==typeof t.primitive&&t.primitive()===e),ee=(e,t)=>"object"==typeof t&&null!==t&&"classes"in t&&(Array.isArray(t.classes)||t.classes instanceof o.ON)&&t.classes.includes(e),te=(e,t)=>"object"==typeof t&&null!==t&&"element"in t&&t.element===e,ne=e=>e({hasMethod:Y,hasBasicElementProps:Q,primitiveEq:Z,isElementType:te,hasClass:ee}),re=ne((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof o.W_||e(n)&&t(void 0,n))),se=ne((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof o.RP||e(n)&&t("string",n))),ie=ne((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof o.VL||e(n)&&t("number",n))),oe=ne((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof o.zr||e(n)&&t("null",n))),ae=ne((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof o.hh||e(n)&&t("boolean",n))),ce=ne((({hasBasicElementProps:e,primitiveEq:t,hasMethod:n})=>r=>r instanceof o.Sb||e(r)&&t("object",r)&&n("keys",r)&&n("values",r)&&n("items",r))),ue=ne((({hasBasicElementProps:e,primitiveEq:t,hasMethod:n})=>r=>r instanceof o.ON&&!(r instanceof o.Sb)||e(r)&&t("array",r)&&n("push",r)&&n("unshift",r)&&n("map",r)&&n("reduce",r))),le=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof o.c6||e(r)&&t("member",r)&&n(void 0,r))),pe=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof o.EA||e(r)&&t("link",r)&&n(void 0,r))),me=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof o.tK||e(r)&&t("ref",r)&&n(void 0,r))),he=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof L||e(r)&&t("annotation",r)&&n("array",r))),fe=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof z||e(r)&&t("comment",r)&&n("string",r))),de=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof K||e(r)&&t("parseResult",r)&&n("array",r))),ye=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof W||e(r)&&t("sourceMap",r)&&n("array",r))),ge=e=>te("object",e)||te("array",e)||te("boolean",e)||te("number",e)||te("string",e)||te("null",e)||te("member",e),ve=e=>ye(e.meta.get("sourceMap")),be=(e,t)=>{if(0===e.length)return!0;const n=t.attributes.get("symbols");return!!ue(n)&&g(q(n.toValue()),e)},Ee=(e,t)=>0===e.length||g(q(t.classes.toValue()),e);function we(e){return function t(n,r,s){switch(arguments.length){case 0:return t;case 1:return a(n)?t:u((function(t,r){return e(n,t,r)}));case 2:return a(n)&&a(r)?t:a(n)?u((function(t,n){return e(t,r,n)})):a(r)?u((function(t,r){return e(n,t,r)})):c((function(t){return e(n,r,t)}));default:return a(n)&&a(r)&&a(s)?t:a(n)&&a(r)?u((function(t,n){return e(t,n,s)})):a(n)&&a(s)?u((function(t,n){return e(t,r,n)})):a(r)&&a(s)?u((function(t,r){return e(n,t,r)})):a(n)?c((function(t){return e(t,r,s)})):a(r)?c((function(t){return e(n,t,s)})):a(s)?c((function(t){return e(n,r,t)})):e(n,r,s)}}}const xe=u((function(e,t){return null==t||t!=t?e:t})),Oe=Number.isInteger||function(e){return e<<0===e};function Se(e){return"[object String]"===Object.prototype.toString.call(e)}const je=u((function(e,t){var n=e<0?t.length+e:e;return Se(t)?t.charAt(n):t[n]}));const Pe=u((function(e,t){if(null!=t)return Oe(e)?je(e,t):t[e]}));const Ae=we((function(e,t,n){return xe(e,Pe(t,n))}));const _e=u((function(e,t){return e.map((function(e){for(var n,r=t,s=0;s<e.length;){if(null==r)return;n=e[s],r=Oe(n)?je(n,r):r[n],s+=1}return r}))}));const ke=u((function(e,t){return _e([e],t)[0]}));function Ie(e,t){return function(){var n=arguments.length;if(0===n)return t();var r=arguments[n-1];return l(r)||"function"!=typeof r[e]?t.apply(this,arguments):r[e].apply(r,Array.prototype.slice.call(arguments,0,n-1))}}const Te=we(Ie("slice",(function(e,t,n){return Array.prototype.slice.call(n,e,t)})));const Me=Te(0,-1);const Re=u((function(e,t){return v(e.length,(function(){return e.apply(t,arguments)}))}));const $e=u((function(e,t){return e.apply(this,t)}));function Ne(e,t,n){for(var r=0,s=n.length;r<s;)t=e(t,n[r]),r+=1;return t}const Fe=c((function(e){return!!l(e)||!!e&&("object"==typeof e&&(!Se(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));var De="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function Ce(e,t,n){return function(r,s,i){if(Fe(i))return e(r,s,i);if(null==i)return s;if("function"==typeof i["fantasy-land/reduce"])return t(r,s,i,"fantasy-land/reduce");if(null!=i[De])return n(r,s,i[De]());if("function"==typeof i.next)return n(r,s,i);if("function"==typeof i.reduce)return t(r,s,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function qe(e,t,n){for(var r=n.next();!r.done;)t=e(t,r.value),r=n.next();return t}function Ve(e,t,n,r){return n[r](e,t)}const Le=Ce(Ne,Ve,qe);function Be(e,t){for(var n=0,r=t.length,s=Array(r);n<r;)s[n]=e(t[n]),n+=1;return s}var ze=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=h,e.prototype["@@transducer/result"]=f,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}();const He=u(p(["fantasy-land/map","map"],(function(e){return function(t){return new ze(e,t)}}),(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return E(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return Ne((function(n,r){return n[r]=e(t[r]),n}),{},R(t));default:return Be(e,t)}})));const Je=u((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))}:Le((function(e,n){return function(e,t){var n;t=t||[];var r=(e=e||[]).length,s=t.length,i=[];for(n=0;n<r;)i[i.length]=e[n],n+=1;for(n=0;n<s;)i[i.length]=t[n],n+=1;return i}(e,He(n,t))}),[],e)}));const Ue=u((function(e,t){var n=E(e,t);return E(e,(function(){return Ne(Je,He(n,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const Ge=c((function(e){return Ue(e.length,e)}));const Ke=Ge(c((function(e){return!e})));function Xe(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 We=function(e){return(e<10?"0":"")+e};const Ye="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+We(e.getUTCMonth()+1)+"-"+We(e.getUTCDate())+"T"+We(e.getUTCHours())+":"+We(e.getUTCMinutes())+":"+We(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function Qe(e){return"[object Object]"===Object.prototype.toString.call(e)}var Ze=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=h,e.prototype["@@transducer/result"]=f,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}();function et(e){return function(t){return new Ze(e,t)}}const tt=u(p(["fantasy-land/filter","filter"],et,(function(e,t){return Qe(t)?Ne((function(n,r){return e(t[r])&&(n[r]=t[r]),n}),{},R(t)):function(e,t){for(var n=0,r=t.length,s=[];n<r;)e(t[n])&&(s[s.length]=t[n]),n+=1;return s}(e,t)})));const nt=u((function(e,t){return tt((n=e,function(){return!n.apply(this,arguments)}),t);var n}));function rt(e,t){var n=function(n){var r=t.concat([e]);return C(n,r)?"<Circular>":rt(n,r)},r=function(e,t){return Be((function(t){return Xe(t)+": "+n(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+Be(n,e).join(", ")+"))";case"[object Array]":return"["+Be(n,e).concat(r(e,nt((function(e){return/^\d+$/.test(e)}),R(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):Xe(Ye(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())+")":Xe(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var s=e.toString();if("[object Object]"!==s)return s}return"{"+r(e,R(e)).join(", ")+"}"}}const st=c((function(e){return rt(e,[])}));const it=u((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 s=n(typeof e,typeof t);if(void 0!==s)return s===typeof e?e:t;var i=st(e),o=n(i,st(t));return void 0!==o&&o===i?e:t}));const ot=u((function(e,t){return He(Pe(e),t)}));function at(e,t,n){for(var r=0,s=n.length;r<s;){if((t=e["@@transducer/step"](t,n[r]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r+=1}return e["@@transducer/result"](t)}function ct(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 ut(e,t,n,r){return e["@@transducer/result"](n[r](Re(e["@@transducer/step"],e),t))}const lt=Ce(at,ut,ct);var pt=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 mt=we((function(e,t,n){return lt("function"==typeof e?new pt(e):e,t,n)}));const ht=c((function(e){return E(mt(it,0,ot("length",e)),(function(){for(var t=0,n=e.length;t<n;){if(e[t].apply(this,arguments))return!0;t+=1}return!1}))}));function ft(e,t){return function(){return t.call(this,e.apply(this,arguments))}}const dt=c(Ie("tail",Te(1,1/0)));function yt(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return v(arguments[0].length,mt(ft,arguments[0],dt(arguments)))}var gt=function(e,t){switch(arguments.length){case 0:return gt;case 1:return function t(n){return 0===arguments.length?t:j(e,n)};default:return j(e,t)}};const vt=gt;const bt=E(1,yt($,vt("GeneratorFunction")));const Et=E(1,yt($,vt("AsyncFunction")));const wt=ht([yt($,vt("Function")),bt,Et]);const xt=Ke(wt);function Ot(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const St=u((function(e,t){return e&&t}));const jt=u((function(e,t){return Ot(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:Ge(St)(e,t)}));var Pt=c((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():l(e)?[]:Se(e)?"":Qe(e)?{}:A(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 At=Pt;const _t=c((function(e){return null!=e&&D(e,At(e))}));const kt=E(1,wt(Array.isArray)?Array.isArray:yt($,vt("Array")));const It=jt(kt,_t);const Tt=E(3,(function(e,t,n){var r=ke(e,n),s=ke(Me(e),n);if(!xt(r)&&!It(e)){var i=Re(r,s);return $e(i,t)}}));const Mt=we((function(e,t,n){return e(ke(t,n))}));const Rt=D(null);const $t=Ke(Rt);function Nt(e){return Nt="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},Nt(e)}const Ft=function(e){return"object"===Nt(e)};const Dt=E(1,jt($t,Ft));var Ct=yt($,vt("Object")),qt=yt(st,D(st(Object))),Vt=Mt(jt(wt,qt),["constructor"]);const Lt=E(1,(function(e){if(!Dt(e)||!Ct(e))return!1;var t=Object.getPrototypeOf(e);return!!Rt(t)||Vt(t)}));class Bt extends o.lS{constructor(){super(),this.register("annotation",L),this.register("comment",z),this.register("parseResult",K),this.register("sourceMap",W)}}const zt=new Bt,Ht=e=>{const t=new Bt;return Lt(e)&&t.use(e),t},Jt=zt,Ut=()=>({predicates:{...e},namespace:Jt});var Gt=n(6591),Kt=n.n(Gt);const Xt=function(){return!1};const Wt=E(1,yt($,vt("String")));const Yt=c((function(e){return null==e}));var Qt=u((function(e,t){return!Yt(t)&&e in t}));const Zt=Qt;var en=n(1427);const tn=class extends en{constructor(e,t,n){if(super(e,t,n),this.name=this.constructor.name,"string"==typeof t&&(this.message=t),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(t).stack,Lt(n)&&Zt("cause",n)&&!Zt("cause",this)){const{cause:e}=n;this.cause=e,e instanceof Error&&Zt("stack",e)&&(this.stack=`${this.stack}\nCAUSE: ${null==e?void 0:e.stack}`)}}};class nn extends Error{static[Symbol.hasInstance](e){return super[Symbol.hasInstance](e)||Function.prototype[Symbol.hasInstance].call(tn,e)}constructor(e,t){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,Lt(t)&&Zt("cause",t)&&!Zt("cause",this)){const{cause:e}=t;this.cause=e,e instanceof Error&&Zt("stack",e)&&(this.stack=`${this.stack}\nCAUSE: ${null==e?void 0:e.stack}`)}}}const rn=nn,sn=(e,t,n)=>{const r=e[t];if(null!=r){if(!n&&"function"==typeof r)return r;const e=n?r.leave:r.enter;if("function"==typeof e)return e}else{const r=n?e.leave:e.enter;if(null!=r){if("function"==typeof r)return r;const e=r[t];if("function"==typeof e)return e}}return null},on={},an=e=>null==e?void 0:e.type,cn=e=>"string"==typeof an(e),un=e=>Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e)),ln=(e,t,{keyMap:n=null,state:r={},breakSymbol:s=on,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=sn,nodeTypeGetter:c=an,nodePredicate:u=cn,nodeCloneFn:l=un,detectCycles:p=!0}={})=>{const m=n||{};let h,f,d=Array.isArray(e),y=[e],g=-1,v=[],b=e;const E=[],w=[];do{g+=1;const e=g===y.length;let n;const O=e&&0!==v.length;if(e){if(n=0===w.length?void 0:E.pop(),b=f,f=w.pop(),O)if(d){b=b.slice();let e=0;for(const[t,n]of v){const r=t-e;n===i?(b.splice(r,1),e+=1):b[r]=n}}else{b=l(b);for(const[e,t]of v)b[e]=t}g=h.index,y=h.keys,v=h.edits,d=h.inArray,h=h.prev}else if(f!==i&&void 0!==f){if(n=d?g:y[g],b=f[n],b===i||void 0===b)continue;E.push(n)}if(w.includes(b))continue;let S;if(!Array.isArray(b)){if(!u(b))throw new rn(`Invalid AST Node: ${JSON.stringify(b)}`);if(p&&w.includes(b)){E.pop();continue}const i=a(t,c(b),e);if(i){for(const[e,n]of Object.entries(r))t[e]=n;S=i.call(t,b,n,f,E,w)}if(S===s)break;if(S===o){if(!e){E.pop();continue}}else if(void 0!==S&&(v.push([n,S]),!e)){if(!u(S)){E.pop();continue}b=S}}var x;if(void 0===S&&O&&v.push([n,b]),!e)h={inArray:d,index:g,keys:y,edits:v,prev:h},d=Array.isArray(b),y=d?b:null!==(x=m[c(b)])&&void 0!==x?x:[],g=-1,v=[],f!==i&&void 0!==f&&w.push(f),f=b}while(void 0!==h);return 0!==v.length?v.at(-1)[1]:e};ln[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:n=null,state:r={},breakSymbol:s=on,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=sn,nodeTypeGetter:c=an,nodePredicate:u=cn,nodeCloneFn:l=un,detectCycles:p=!0}={})=>{const m=n||{};let h,f,d=Array.isArray(e),y=[e],g=-1,v=[],b=e;const E=[],w=[];do{g+=1;const e=g===y.length;let n;const O=e&&0!==v.length;if(e){if(n=0===w.length?void 0:E.pop(),b=f,f=w.pop(),O)if(d){b=b.slice();let e=0;for(const[t,n]of v){const r=t-e;n===i?(b.splice(r,1),e+=1):b[r]=n}}else{b=l(b);for(const[e,t]of v)b[e]=t}g=h.index,y=h.keys,v=h.edits,d=h.inArray,h=h.prev}else if(f!==i&&void 0!==f){if(n=d?g:y[g],b=f[n],b===i||void 0===b)continue;E.push(n)}let S;if(!Array.isArray(b)){if(!u(b))throw new rn(`Invalid AST Node: ${JSON.stringify(b)}`);if(p&&w.includes(b)){E.pop();continue}const i=a(t,c(b),e);if(i){for(const[e,n]of Object.entries(r))t[e]=n;S=await i.call(t,b,n,f,E,w)}if(S===s)break;if(S===o){if(!e){E.pop();continue}}else if(void 0!==S&&(v.push([n,S]),!e)){if(!u(S)){E.pop();continue}b=S}}var x;if(void 0===S&&O&&v.push([n,b]),!e)h={inArray:d,index:g,keys:y,edits:v,prev:h},d=Array.isArray(b),y=d?b:null!==(x=m[c(b)])&&void 0!==x?x:[],g=-1,v=[],f!==i&&void 0!==f&&w.push(f),f=b}while(void 0!==h);return 0!==v.length?v.at(-1)[1]:e};var pn=u((function(e,t){for(var n={},r={},s=0,i=e.length;s<i;)r[e[s]]=1,s+=1;for(var o in t)r.hasOwnProperty(o)||(n[o]=t[o]);return n}));const mn=pn;const hn=class extends rn{constructor(e,t){super(e,t),void 0!==t&&Object.assign(this,mn(["cause"],t))}};const fn=class extends hn{};const dn=class extends fn{};const yn=class extends fn{},gn=e=>"function"==typeof(null==e?void 0:e.clone)?e.clone():e,vn=e=>{if(e instanceof o.rm){const t=[...e].map(gn);return new o.rm(t)}if(e instanceof o.O4){const t=[...e].map(gn);return new o.O4(t)}if("function"==typeof(null==e?void 0:e.clone))return e.clone();throw new dn("Value provided to cloneDeep function couldn't be cloned",{value:e})};vn.safe=e=>{try{return vn(e)}catch{return e}};const bn=e=>{const{key:t,value:n}=e;return new o.KeyValuePair(t,n)},En=e=>{const t=new e.constructor;if(t.element=e.element,e.meta.length>0&&(t._meta=vn(e.meta)),e.attributes.length>0&&(t._attributes=vn(e.attributes)),re(e.content)){const n=e.content;t.content=En(n)}else Array.isArray(e.content)?t.content=[...e.content]:e.content instanceof o.KeyValuePair?t.content=bn(e.content):t.content=e.content;return t},wn=e=>{if(e instanceof o.KeyValuePair)return bn(e);if(e instanceof o.rm)return(e=>{const t=[...e];return new o.rm(t)})(e);if(e instanceof o.O4)return(e=>{const t=[...e];return new o.O4(t)})(e);if(re(e))return En(e);throw new yn("Value provided to cloneShallow function couldn't be cloned",{value:e})};wn.safe=e=>{try{return wn(e)}catch{return e}};const xn=e=>ce(e)?"ObjectElement":ue(e)?"ArrayElement":le(e)?"MemberElement":se(e)?"StringElement":ae(e)?"BooleanElement":ie(e)?"NumberElement":oe(e)?"NullElement":pe(e)?"LinkElement":me(e)?"RefElement":void 0,On=e=>re(e)?wn(e):un(e),Sn=yt(xn,Wt),jn={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]},Pn=(Gt({props:{result:[],predicate:Xt,returnOnTrue:void 0,returnOnFalse:void 0},init({predicate:e=this.predicate,returnOnTrue:t=this.returnOnTrue,returnOnFalse:n=this.returnOnFalse}={}){this.result=[],this.predicate=e,this.returnOnTrue=t,this.returnOnFalse=n},methods:{enter(e){return this.predicate(e)?(this.result.push(e),this.returnOnTrue):this.returnOnFalse}}}),(e,t,{keyMap:n=jn,...r}={})=>ln(e,t,{keyMap:n,nodeTypeGetter:xn,nodePredicate:Sn,nodeCloneFn:On,...r}));Pn[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:n=jn,...r}={})=>ln[Symbol.for("nodejs.util.promisify.custom")](e,t,{keyMap:n,nodeTypeGetter:xn,nodePredicate:Sn,nodeCloneFn:On,...r});const An=(e,t,n={})=>{if(0===t.length)return e;const r=Ae(Ut,"toolboxCreator",n),s=Ae({},"visitorOptions",n),i=Ae(xn,"nodeTypeGetter",s),o=r(),a=t.map((e=>e(o))),c=((e,{visitFnGetter:t=sn,nodeTypeGetter:n=an}={})=>{const r=new Array(e.length).fill(null);return{enter(s,...i){for(let o=0;o<e.length;o+=1)if(null===r[o]){const a=t(e[o],n(s),!1);if("function"==typeof a){const t=a.call(e[o],s,...i);if(!1===t)r[o]=s;else if(t===on)r[o]=on;else if(void 0!==t)return t}}},leave(s,...i){for(let o=0;o<e.length;o+=1)if(null===r[o]){const a=t(e[o],n(s),!0);if("function"==typeof a){const t=a.call(e[o],s,...i);if(t===on)r[o]=on;else if(void 0!==t&&!1!==t)return t}}else r[o]===s&&(r[o]=null)}}})(a.map(Ae({},"visitor")),{nodeTypeGetter:i});a.forEach(Tt(["pre"],[]));const u=Pn(e,c,s);return a.forEach(Tt(["post"],[])),u},_n=(e,{Type:t,plugins:n=[]})=>{const r=new t(e);return An(r,n,{toolboxCreator:Ut,visitorOptions:{nodeTypeGetter:xn}})},kn=e=>(t,n={})=>_n(t,{...n,Type:e});o.Sb.refract=kn(o.Sb),o.ON.refract=kn(o.ON),o.RP.refract=kn(o.RP),o.hh.refract=kn(o.hh),o.zr.refract=kn(o.zr),o.VL.refract=kn(o.VL),o.EA.refract=kn(o.EA),o.tK.refract=kn(o.tK),L.refract=kn(L),z.refract=kn(z),K.refract=kn(K),W.refract=kn(W);class In extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="JSONSchemaDraft4"}get idProp(){return this.get("id")}set idProp(e){this.set("id",e)}get $schema(){return this.get("$schema")}set $schema(e){this.set("idProp",e)}get multipleOf(){return this.get("multipleOf")}set multipleOf(e){this.set("multipleOf",e)}get maximum(){return this.get("maximum")}set maximum(e){this.set("maximum",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get minimum(){return this.get("minimum")}set minimum(e){this.set("minimum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get maxLength(){return this.get("maxLength")}set maxLength(e){this.set("maxLength",e)}get minLength(){return this.get("minLength")}set minLength(e){this.set("minLength",e)}get pattern(){return this.get("pattern")}set pattern(e){this.set("pattern",e)}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get maxItems(){return this.get("maxItems")}set maxItems(e){this.set("maxItems",e)}get minItems(){return this.get("minItems")}set minItems(e){this.set("minItems",e)}get uniqueItems(){return this.get("uniqueItems")}set uniqueItems(e){this.set("uniqueItems",e)}get maxProperties(){return this.get("maxProperties")}set maxProperties(e){this.set("maxProperties",e)}get minProperties(){return this.get("minProperties")}set minProperties(e){this.set("minProperties",e)}get required(){return this.get("required")}set required(e){this.set("required",e)}get properties(){return this.get("properties")}set properties(e){this.set("properties",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get patternProperties(){return this.get("patternProperties")}set patternProperties(e){this.set("patternProperties",e)}get dependencies(){return this.get("dependencies")}set dependencies(e){this.set("dependencies",e)}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}get allOf(){return this.get("allOf")}set allOf(e){this.set("allOf",e)}get anyOf(){return this.get("anyOf")}set anyOf(e){this.set("anyOf",e)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get definitions(){return this.get("definitions")}set definitions(e){this.set("definitions",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get format(){return this.get("format")}set format(e){this.set("format",e)}get base(){return this.get("base")}set base(e){this.set("base",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}get media(){return this.get("media")}set media(e){this.set("media",e)}get readOnly(){return this.get("readOnly")}set readOnly(e){this.set("readOnly",e)}}const Tn=In;class Mn extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="JSONReference",this.classes.push("json-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const Rn=Mn;class $n extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="media"}get binaryEncoding(){return this.get("binaryEncoding")}set binaryEncoding(e){this.set("binaryEncoding",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}}const Nn=$n;class Fn extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="linkDescription"}get href(){return this.get("href")}set href(e){this.set("href",e)}get rel(){return this.get("rel")}set rel(e){this.set("rel",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get mediaType(){return this.get("mediaType")}set mediaType(e){this.set("mediaType",e)}get method(){return this.get("method")}set method(e){this.set("method",e)}get encType(){return this.get("encType")}set encType(e){this.set("encType",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}}const Dn=Fn,Cn=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Tn||e(r)&&t("JSONSchemaDraft4",r)&&n("object",r))),qn=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Rn||e(r)&&t("JSONReference",r)&&n("object",r))),Vn=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Nn||e(r)&&t("media",r)&&n("object",r))),Ln=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Dn||e(r)&&t("linkDescription",r)&&n("object",r)));const Bn=u((function(e,t){return Ne((function(n,r){return n[r]=e(t[r],r,t),n}),{},R(t))}));const zn=u((function(e,t){if(0===e.length||Yt(t))return!1;for(var n=t,r=0;r<e.length;){if(Yt(n)||!S(e[r],n))return!1;n=n[e[r]],r+=1}return!0}));var Hn=u((function(e,t){return zn([e],t)}));const Jn=Hn;const Un=we((function(e,t,n){return e(Pe(t,n))}));const Gn=c((function(e){return E(e.length,e)}));const Kn=u((function(e,t){return E(e+1,(function(){var n=arguments[e];if(null!=n&&Ot(n[t]))return n[t].apply(n,Array.prototype.slice.call(arguments,0,e));throw new TypeError(st(n)+' does not have a method named "'+t+'"')}))}));const Xn=Kn(1,"split");var Wn=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=h,e.prototype["@@transducer/result"]=f,e.prototype["@@transducer/step"]=function(e,t){if(this.f){if(this.f(t))return e;this.f=null}return this.xf["@@transducer/step"](e,t)},e}();function Yn(e){return function(t){return new Wn(e,t)}}const Qn=u(p(["dropWhile"],Yn,(function(e,t){for(var n=0,r=t.length;n<r&&e(t[n]);)n+=1;return Te(n,1/0,t)})));const Zn=Kn(1,"join");const er=Gn((function(e,t){return yt(Xn(""),Qn(q(e)),Zn(""))(t)})),tr=(e,t)=>{const n=xe(e,t);return Bn((e=>{if(Lt(e)&&Jn("$ref",e)&&Un(Wt,"$ref",e)){const t=ke(["$ref"],e),r=er("#/",t);return ke(r.split("/"),n)}return Lt(e)?tr(e,n):e}),e)},nr=Gt({props:{element:null},methods:{copyMetaAndAttributes(e,t){ve(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),rr=Gt(nr,{methods:{enter(e){return this.element=vn(e),on}}});const sr=H(J());const ir=function(){return!0},or=e=>"string"==typeof(null==e?void 0:e.type)?e.type:xn(e),ar={EphemeralObject:["content"],EphemeralArray:["content"],...jn},cr=(e,t,{keyMap:n=ar,...r}={})=>Pn(e,t,{keyMap:n,nodeTypeGetter:or,nodePredicate:ir,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...r});cr[Symbol.for("nodejs.util.promisify.custom")]=async(e,{keyMap:t=ar,...n}={})=>Pn[Symbol.for("nodejs.util.promisify.custom")](e,visitor,{keyMap:t,nodeTypeGetter:or,nodePredicate:ir,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...n});const ur=class{type="EphemeralArray";content=[];reference=void 0;constructor(e){this.content=e,this.reference=[]}toReference(){return this.reference}toArray(){return this.reference.push(...this.content),this.reference}};const lr=class{type="EphemeralObject";content=[];reference=void 0;constructor(e){this.content=e,this.reference={}}toReference(){return this.reference}toObject(){return Object.assign(this.reference,Object.fromEntries(this.content))}},pr=Gt.init((function(){const e=new WeakMap;this.BooleanElement=function(e){return e.toValue()},this.NumberElement=function(e){return e.toValue()},this.StringElement=function(e){return e.toValue()},this.NullElement=function(){return null},this.ObjectElement={enter(t){if(e.has(t))return e.get(t).toReference();const n=new lr(t.content);return e.set(t,n),n}},this.EphemeralObject={leave:e=>e.toObject()},this.MemberElement={enter:e=>[e.key,e.value]},this.ArrayElement={enter(t){if(e.has(t))return e.get(t).toReference();const n=new ur(t.content);return e.set(t,n),n}},this.EphemeralArray={leave:e=>e.toArray()}})),mr=e=>re(e)?se(e)||ie(e)||ae(e)||oe(e)?e.toValue():cr(e,pr()):e;const hr=u((function(e,t){for(var n={},r=0;r<e.length;)e[r]in t&&(n[e[r]]=t[e[r]]),r+=1;return n})),fr=e=>{if(re(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},dr={JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...jn},yr=Gt(nr,{props:{specObj:null,passingOptionsNames:["specObj"]},init({specObj:e=this.specObj}){this.specObj=e},methods:{retrievePassingOptions(){return hr(this.passingOptionsNames,this)},retrieveFixedFields(e){const t=ke(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]},retrieveVisitor(e){return Mt(wt,["visitors",...e],this.specObj)?ke(["visitors",...e],this.specObj):ke(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e,t={}){const n=this.retrievePassingOptions();return this.retrieveVisitor(e)({...n,...t})},toRefractedElement(e,t,n={}){const r=this.retrieveVisitorInstance(e,n),s=Object.getPrototypeOf(r);return U(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===s?vn(t):(Pn(t,r,{keyMap:dr,nodeTypeGetter:fr,...n}),r.element)}}}),gr=Gt(yr,{props:{specPath:sr,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){const t=this.specPath(e),n=this.retrieveFixedFields(t);return e.forEach(((e,r,s)=>{if(se(r)&&n.includes(mr(r))&&!this.ignoredFields.includes(mr(r))){const n=this.toRefractedElement([...t,"fixedFields",mr(r)],e),i=new o.c6(vn(r),n);this.copyMetaAndAttributes(s,i),i.classes.push("fixed-field"),this.element.content.push(i)}else this.ignoredFields.includes(mr(r))||this.element.content.push(vn(s))})),this.copyMetaAndAttributes(e,this.element),on}}}),vr=Gt(gr,rr,{props:{specPath:H(["document","objects","JSONSchema"])},init(){this.element=new Tn}}),br=rr,Er=rr,wr=rr,xr=rr,Or=rr,Sr=rr,jr=rr,Pr=rr,Ar=rr,_r=rr,kr=Gt({props:{parent:null},init({parent:e=this.parent}){this.parent=e,this.passingOptionsNames=[...this.passingOptionsNames,"parent"]}}),Ir=e=>ce(e)&&e.hasKey("$ref"),Tr=Gt(yr,kr,rr,{methods:{ObjectElement(e){const t=Ir(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),on},ArrayElement(e){return this.element=new o.ON,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=Ir(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),on}}}),Mr=rr,Rr=rr,$r=rr,Nr=rr,Fr=rr,Dr=Gt(rr,{methods:{ArrayElement(e){return this.element=vn(e),this.element.classes.push("json-schema-required"),on}}});const Cr=c((function(e){return E(mt(it,0,ot("length",e)),(function(){for(var t=0,n=e.length;t<n;){if(!e[t].apply(this,arguments))return!1;t+=1}return!0}))}));const qr=u((function(e,t){return e||t}));const Vr=Ke(E(1,jt($t,u((function(e,t){return Ot(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:Ge(qr)(e,t)}))(Ft,wt))));const Lr=Ke(_t);const Br=Cr([Wt,Vr,Lr]),zr=Gt(yr,{props:{fieldPatternPredicate:Xt,specPath:sr,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){return e.forEach(((e,t,n)=>{if(!this.ignoredFields.includes(mr(t))&&this.fieldPatternPredicate(mr(t))){const r=this.specPath(e),s=this.toRefractedElement(r,e),i=new o.c6(vn(t),s);this.copyMetaAndAttributes(n,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(mr(t))||this.element.content.push(vn(n))})),this.copyMetaAndAttributes(e,this.element),on}}}),Hr=Gt(zr,{props:{fieldPatternPredicate:Br}}),Jr=Gt(Hr,kr,rr,{props:{specPath:e=>Ir(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new o.Sb,this.element.classes.push("json-schema-properties")}}),Ur=Gt(Hr,kr,rr,{props:{specPath:e=>Ir(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new o.Sb,this.element.classes.push("json-schema-patternProperties")}}),Gr=Gt(Hr,kr,rr,{props:{specPath:e=>Ir(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new o.Sb,this.element.classes.push("json-schema-dependencies")}}),Kr=Gt(rr,{methods:{ArrayElement(e){return this.element=vn(e),this.element.classes.push("json-schema-enum"),on}}}),Xr=Gt(rr,{methods:{StringElement(e){return this.element=vn(e),this.element.classes.push("json-schema-type"),on},ArrayElement(e){return this.element=vn(e),this.element.classes.push("json-schema-type"),on}}}),Wr=Gt(yr,kr,rr,{init(){this.element=new o.ON,this.element.classes.push("json-schema-allOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Ir(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),on}}}),Yr=Gt(yr,kr,rr,{init(){this.element=new o.ON,this.element.classes.push("json-schema-anyOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Ir(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),on}}}),Qr=Gt(yr,kr,rr,{init(){this.element=new o.ON,this.element.classes.push("json-schema-oneOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Ir(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),on}}}),Zr=Gt(Hr,kr,rr,{props:{specPath:e=>Ir(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new o.Sb,this.element.classes.push("json-schema-definitions")}}),es=rr,ts=rr,ns=rr,rs=rr,ss=rr,is=Gt(yr,kr,rr,{init(){this.element=new o.ON,this.element.classes.push("json-schema-links")},methods:{ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","LinkDescription"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),on}}}),os=rr,as=Gt(gr,rr,{props:{specPath:H(["document","objects","JSONReference"])},init(){this.element=new Rn},methods:{ObjectElement(e){const t=gr.compose.methods.ObjectElement.call(this,e);return se(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),cs=Gt(rr,{methods:{StringElement(e){return this.element=vn(e),this.element.classes.push("reference-value"),on}}});const us=we((function(e,t,n){return E(Math.max(e.length,t.length,n.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):n.apply(this,arguments)}))}));const ls=c((function(e){return function(t,n){return e(t,n)?-1:e(n,t)?1:0}}));var ps=u((function(e,t){return Array.prototype.slice.call(t,0).sort(e)}));const ms=ps;const hs=je(0);const fs=c(m);const ds=Ke(Yt);const ys=jt(kt,Lr);function gs(e){return function(e){if(Array.isArray(e))return vs(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return vs(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return vs(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function vs(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var bs=yt(ms(ls((function(e,t){return e.length>t.length}))),hs,Pe("length")),Es=Gn((function(e,t,n){var r=n.apply(void 0,gs(e));return ds(r)?fs(r):t}));const ws=us(ys,(function(e){var t=bs(e);return E(t,(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return mt(Es(n),void 0,e)}))}),J),xs=Gt(yr,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>us(e,H(t),J))),n=ws(t)(e);return this.element=this.toRefractedElement(n,e),on}}}),Os=Gt(xs,{props:{alternator:[{predicate:Ir,specPath:["document","objects","JSONReference"]},{predicate:ir,specPath:["document","objects","JSONSchema"]}]}}),Ss={visitors:{value:rr,JSONSchemaOrJSONReferenceVisitor:Os,document:{objects:{JSONSchema:{$visitor:vr,fixedFields:{id:br,$schema:Er,multipleOf:wr,maximum:xr,exclusiveMaximum:Or,minimum:Sr,exclusiveMinimum:jr,maxLength:Pr,minLength:Ar,pattern:_r,additionalItems:Os,items:Tr,maxItems:Mr,minItems:Rr,uniqueItems:$r,maxProperties:Nr,minProperties:Fr,required:Dr,properties:Jr,additionalProperties:Os,patternProperties:Ur,dependencies:Gr,enum:Kr,type:Xr,allOf:Wr,anyOf:Yr,oneOf:Qr,not:Os,definitions:Zr,title:es,description:ts,default:ns,format:rs,base:ss,links:is,media:{$ref:"#/visitors/document/objects/Media"},readOnly:os}},JSONReference:{$visitor:as,fixedFields:{$ref:cs}},Media:{$visitor:Gt(gr,rr,{props:{specPath:H(["document","objects","Media"])},init(){this.element=new Nn}}),fixedFields:{binaryEncoding:rr,type:rr}},LinkDescription:{$visitor:Gt(gr,rr,{props:{specPath:H(["document","objects","LinkDescription"])},init(){this.element=new Dn}}),fixedFields:{href:rr,rel:rr,title:rr,targetSchema:Os,mediaType:rr,method:rr,encType:rr,schema:Os}}}}}},js={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft4",Tn),t.register("jSONReference",Rn),t.register("media",Nn),t.register("linkDescription",Dn),t}},Ps=()=>{const e=Ht(js);return{predicates:{...t,isStringElement:se},namespace:e}},As=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:n=[],specificationObj:r=Ss}={})=>{const s=(0,o.Qc)(e),i=tr(r),a=Tt(t,[],i);return Pn(s,a,{state:{specObj:i}}),An(a.element,n,{toolboxCreator:Ps,visitorOptions:{keyMap:dr,nodeTypeGetter:fr}})},_s=e=>(t,n={})=>As(t,{specPath:e,...n});Tn.refract=_s(["visitors","document","objects","JSONSchema","$visitor"]),Rn.refract=_s(["visitors","document","objects","JSONReference","$visitor"]),Nn.refract=_s(["visitors","document","objects","Media","$visitor"]),Dn.refract=_s(["visitors","document","objects","LinkDescription","$visitor"]);const ks=je(-1);const Is=class extends rn{};const Ts=class extends Is{};const Ms=class extends Array{unknownMediaType="application/octet-stream";filterByFormat(){throw new Ts("filterByFormat method in MediaTypes class is not yet implemented.")}findBy(){throw new Ts("findBy method in MediaTypes class is not yet implemented.")}latest(){throw new Ts("latest method in MediaTypes class is not yet implemented.")}};class Rs extends Ms{filterByFormat(e="generic"){const t="generic"===e?"openapi;version":e;return this.filter((e=>e.includes(t)))}findBy(e="2.0",t="generic"){const n="generic"===t?`vnd.oai.openapi;version=${e}`:`vnd.oai.openapi+${t};version=${e}`;return this.find((e=>e.includes(n)))||this.unknownMediaType}latest(e="generic"){return ks(this.filterByFormat(e))}}const $s=new Rs("application/vnd.oai.openapi;version=2.0","application/vnd.oai.openapi+json;version=2.0","application/vnd.oai.openapi+yaml;version=2.0");class Ns extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="swagger",this.classes.push("api")}get swagger(){return this.get("swagger")}set swagger(e){this.set("swagger",e)}get info(){return this.get("info")}set info(e){this.set("info",e)}get host(){return this.get("host")}set host(e){this.set("host",e)}get basePath(){return this.get("basePath")}set basePath(e){this.set("basePath",e)}get schemes(){return this.get("schemes")}set schemes(e){this.set("schemes",e)}get consumes(){return this.get("consumes")}set consumes(e){this.set("consumes",e)}get produces(){return this.get("produces")}set produces(e){this.set("produces",e)}get paths(){return this.get("paths")}set paths(e){this.set("paths",e)}get definitions(){return this.get("definitions")}set definitions(e){this.set("definitions",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get responses(){return this.get("responses")}set responses(e){this.set("responses",e)}get securityDefinitions(){return this.get("securityDefinitions")}set securityDefinitions(e){this.set("securityDefinitions",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}}const Fs=Ns;class Ds extends o.RP{constructor(e,t,n){super(e,t,n),this.element="swaggerVersion",this.classes.push("spec-version"),this.classes.push("version")}}const Cs=Ds;class qs extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="info",this.classes.push("info")}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get termsOfService(){return this.get("termsOfService")}set termsOfService(e){this.set("termsOfService",e)}get contact(){return this.get("contact")}set contact(e){this.set("contact",e)}get license(){return this.get("license")}set license(e){this.set("license",e)}get version(){return this.get("version")}set version(e){this.set("version",e)}}const Vs=qs;class Ls extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="contact"}get name(){return this.get("name")}set name(e){this.set("name",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}get email(){return this.get("email")}set email(e){this.set("email",e)}}const Bs=Ls;class zs extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="license"}get name(){return this.get("name")}set name(e){this.set("name",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}}const Hs=zs;class Js extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="paths"}}const Us=Js;class Gs extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="pathItem"}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}get GET(){return this.get("get")}set GET(e){this.set("GET",e)}get PUT(){return this.get("put")}set PUT(e){this.set("PUT",e)}get POST(){return this.get("post")}set POST(e){this.set("POST",e)}get DELETE(){return this.get("delete")}set DELETE(e){this.set("DELETE",e)}get OPTIONS(){return this.get("options")}set OPTIONS(e){this.set("OPTIONS",e)}get HEAD(){return this.get("head")}set HEAD(e){this.set("HEAD",e)}get PATCH(){return this.get("patch")}set PATCH(e){this.set("PATCH",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}}const Ks=Gs;class Xs extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="operation"}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}set externalDocs(e){this.set("externalDocs",e)}get externalDocs(){return this.get("externalDocs")}get operationId(){return this.get("operationId")}set operationId(e){this.set("operationId",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get responses(){return this.get("responses")}set responses(e){this.set("responses",e)}get schemes(){return this.get("schemes")}set schemes(e){this.set("schemes",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new o.hh(!1)}set deprecated(e){this.set("deprecated",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}}const Ws=Xs;class Ys extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="externalDocumentation"}get description(){return this.get("description")}set description(e){this.set("description",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}}const Qs=Ys;const Zs=class extends Tn{constructor(e,t,n){super(e,t,n),this.element="parameter",this.classes.push("json-schema-draft-4")}get idProp(){throw new Is("idProp getter in Parameter class is not not supported.")}set idProp(e){throw new Is("idProp setter in Parameter class is not not supported.")}get $schema(){throw new Is("$schema getter in Parameter class is not not supported.")}set $schema(e){throw new Is("$schema setter in Parameter class is not not supported.")}get additionalItems(){throw new Is("additionalItems getter in Parameter class is not not supported.")}set additionalItems(e){throw new Is("additionalItems setter in Parameter class is not not supported.")}get items(){return this.get("items")}set items(e){this.set("items",e)}get maxProperties(){throw new Is("maxProperties getter in Parameter class is not not supported.")}set maxProperties(e){throw new Is("maxProperties setter in Parameter class is not not supported.")}get minProperties(){throw new Is("minProperties getter in Parameter class is not not supported.")}set minProperties(e){throw new Is("minProperties setter in Parameter class is not not supported.")}get required(){return this.get("required")}set required(e){this.set("required",e)}get properties(){throw new Is("properties getter in Parameter class is not not supported.")}set properties(e){throw new Is("properties setter in Parameter class is not not supported.")}get additionalProperties(){throw new Is("additionalProperties getter in Parameter class is not not supported.")}set additionalProperties(e){throw new Is("additionalProperties setter in Parameter class is not not supported.")}get patternProperties(){throw new Is("patternProperties getter in Parameter class is not not supported.")}set patternProperties(e){throw new Is("patternProperties setter in Parameter class is not not supported.")}get dependencies(){throw new Is("dependencies getter in Parameter class is not not supported.")}set dependencies(e){throw new Is("dependencies setter in Parameter class is not not supported.")}get type(){return this.get("type")}set type(e){this.set("type",e)}get allOf(){throw new Is("allOf getter in Parameter class is not not supported.")}set allOf(e){throw new Is("allOf setter in Parameter class is not not supported.")}get anyOf(){throw new Is("anyOf getter in Parameter class is not not supported.")}set anyOf(e){throw new Is("anyOf setter in Parameter class is not not supported.")}get oneOf(){throw new Is("oneOf getter in Parameter class is not not supported.")}set oneOf(e){throw new Is("oneOf setter in Parameter class is not not supported.")}get not(){throw new Is("not getter in Parameter class is not not supported.")}set not(e){throw new Is("not setter in Parameter class is not not supported.")}get definitions(){throw new Is("definitions getter in Parameter class is not not supported.")}set definitions(e){throw new Is("definitions setter in Parameter class is not not supported.")}get title(){throw new Is("title getter in Parameter class is not not supported.")}set title(e){throw new Is("title setter in Parameter class is not not supported.")}get description(){return this.get("description")}set description(e){this.set("description,",e)}get format(){return this.get("format")}set format(e){this.set("format",e)}get base(){throw new Is("base getter in Parameter class is not not supported.")}set base(e){throw new Is("base setter in Parameter class is not not supported.")}get links(){throw new Is("links getter in Parameter class is not not supported.")}set links(e){throw new Is("links setter in Parameter class is not not supported.")}get media(){throw new Is("media getter in Parameter class is not not supported.")}set media(e){throw new Is("media setter in Parameter class is not not supported.")}get readOnly(){throw new Is("readOnly getter in Parameter class is not not supported.")}set readOnly(e){throw new Is("readOnly setter in Parameter class is not not supported.")}get name(){return this.get("name")}set name(e){this.set("name",e)}get in(){return this.get("in")}set in(e){this.set("in",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}};const ei=class extends Tn{constructor(e,t,n){super(e,t,n),this.element="items",this.classes.push("json-schema-draft-4")}get idProp(){throw new Is("idProp getter in Items class is not not supported.")}set idProp(e){throw new Is("idProp setter in Items class is not not supported.")}get $schema(){throw new Is("$schema getter in Items class is not not supported.")}set $schema(e){throw new Is("$schema setter in Items class is not not supported.")}get additionalItems(){throw new Is("additionalItems getter in Items class is not not supported.")}set additionalItems(e){throw new Is("additionalItems setter in Items class is not not supported.")}get items(){return this.get("items")}set items(e){this.set("items",e)}get maxProperties(){throw new Is("maxProperties getter in Items class is not not supported.")}set maxProperties(e){throw new Is("maxProperties setter in Items class is not not supported.")}get minProperties(){throw new Is("minProperties getter in Items class is not not supported.")}set minProperties(e){throw new Is("minProperties setter in Items class is not not supported.")}get required(){throw new Is("required getter in Items class is not not supported.")}set required(e){throw new Is("required setter in Items class is not not supported.")}get properties(){throw new Is("properties getter in Items class is not not supported.")}set properties(e){throw new Is("properties setter in Items class is not not supported.")}get additionalProperties(){throw new Is("additionalProperties getter in Items class is not not supported.")}set additionalProperties(e){throw new Is("additionalProperties setter in Items class is not not supported.")}get patternProperties(){throw new Is("patternProperties getter in Items class is not not supported.")}set patternProperties(e){throw new Is("patternProperties setter in Items class is not not supported.")}get dependencies(){throw new Is("dependencies getter in Items class is not not supported.")}set dependencies(e){throw new Is("dependencies setter in Items class is not not supported.")}get type(){return this.get("type")}set type(e){this.set("type",e)}get allOf(){throw new Is("allOf getter in Items class is not not supported.")}set allOf(e){throw new Is("allOf setter in Items class is not not supported.")}get anyOf(){throw new Is("anyOf getter in Items class is not not supported.")}set anyOf(e){throw new Is("anyOf setter in Items class is not not supported.")}get oneOf(){throw new Is("oneOf getter in Items class is not not supported.")}set oneOf(e){throw new Is("oneOf setter in Items class is not not supported.")}get not(){throw new Is("not getter in Items class is not not supported.")}set not(e){throw new Is("not setter in Items class is not not supported.")}get definitions(){throw new Is("definitions getter in Items class is not not supported.")}set definitions(e){throw new Is("definitions setter in Items class is not not supported.")}get title(){throw new Is("title getter in Items class is not not supported.")}set title(e){throw new Is("title setter in Items class is not not supported.")}get description(){throw new Is("description getter in Items class is not not supported.")}set description(e){throw new Is("description setter in Items class is not not supported.")}get base(){throw new Is("base getter in Items class is not not supported.")}set base(e){throw new Is("base setter in Items class is not not supported.")}get links(){throw new Is("links getter in Items class is not not supported.")}set links(e){throw new Is("links setter in Items class is not not supported.")}get media(){throw new Is("media getter in Items class is not not supported.")}set media(e){throw new Is("media setter in Items class is not not supported.")}get readOnly(){throw new Is("readOnly getter in Items class is not not supported.")}set readOnly(e){throw new Is("readOnly setter in Items class is not not supported.")}};class ti extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="example"}}const ni=ti;class ri extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="responses"}get default(){return this.get("default")}set default(e){this.set("default",e)}}const si=ri;class ii extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="response"}get description(){return this.get("description")}set description(e){this.set("description",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}}const oi=ii;class ai extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="headers"}}const ci=ai;const ui=class extends Tn{constructor(e,t,n){super(e,t,n),this.element="header",this.classes.push("json-schema-draft-4")}get idProp(){throw new Is("idProp getter in Header class is not not supported.")}set idProp(e){throw new Is("idProp setter in Header class is not not supported.")}get $schema(){throw new Is("$schema getter in Header class is not not supported.")}set $schema(e){throw new Is("$schema setter in Header class is not not supported.")}get additionalItems(){throw new Is("additionalItems getter in Header class is not not supported.")}set additionalItems(e){throw new Is("additionalItems setter in Header class is not not supported.")}get items(){return this.get("items")}set items(e){this.set("items",e)}get maxProperties(){throw new Is("maxProperties getter in Header class is not not supported.")}set maxProperties(e){throw new Is("maxProperties setter in Header class is not not supported.")}get minProperties(){throw new Is("minProperties getter in Header class is not not supported.")}set minProperties(e){throw new Is("minProperties setter in Header class is not not supported.")}get required(){throw new Is("required getter in Header class is not not supported.")}set required(e){throw new Is("required setter in Header class is not not supported.")}get properties(){throw new Is("properties getter in Header class is not not supported.")}set properties(e){throw new Is("properties setter in Header class is not not supported.")}get additionalProperties(){throw new Is("additionalProperties getter in Header class is not not supported.")}set additionalProperties(e){throw new Is("additionalProperties setter in Header class is not not supported.")}get patternProperties(){throw new Is("patternProperties getter in Header class is not not supported.")}set patternProperties(e){throw new Is("patternProperties setter in Header class is not not supported.")}get dependencies(){throw new Is("dependencies getter in Header class is not not supported.")}set dependencies(e){throw new Is("dependencies setter in Header class is not not supported.")}get type(){return this.get("type")}set type(e){this.set("type",e)}get allOf(){throw new Is("allOf getter in Header class is not not supported.")}set allOf(e){throw new Is("allOf setter in Header class is not not supported.")}get anyOf(){throw new Is("anyOf getter in Header class is not not supported.")}set anyOf(e){throw new Is("anyOf setter in Header class is not not supported.")}get oneOf(){throw new Is("oneOf getter in Header class is not not supported.")}set oneOf(e){throw new Is("oneOf setter in Header class is not not supported.")}get not(){throw new Is("not getter in Header class is not not supported.")}set not(e){throw new Is("not setter in Header class is not not supported.")}get definitions(){throw new Is("definitions getter in Header class is not not supported.")}set definitions(e){throw new Is("definitions setter in Header class is not not supported.")}get title(){throw new Is("title getter in Header class is not not supported.")}set title(e){throw new Is("title setter in Header class is not not supported.")}get base(){throw new Is("base getter in Header class is not not supported.")}set base(e){throw new Is("base setter in Header class is not not supported.")}get links(){throw new Is("links getter in Header class is not not supported.")}set links(e){throw new Is("links setter in Header class is not not supported.")}get media(){throw new Is("media getter in Header class is not not supported.")}set media(e){throw new Is("media setter in Header class is not not supported.")}get readOnly(){throw new Is("readOnly getter in Header class is not not supported.")}set readOnly(e){throw new Is("readOnly setter in Header class is not not supported.")}};class li extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="tag"}get name(){return this.get("name")}set name(e){this.set("name",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}}const pi=li;const mi=class extends Tn{constructor(e,t,n){super(e,t,n),this.element="schema",this.classes.push("json-schema-draft-4")}get idProp(){throw new Is("idProp getter in Schema class is not not supported.")}set idProp(e){throw new Is("idProp setter in Schema class is not not supported.")}get $schema(){throw new Is("$schema getter in Schema class is not not supported.")}set $schema(e){throw new Is("$schema setter in Schema class is not not supported.")}get additionalItems(){throw new Is("additionalItems getter in Schema class is not not supported.")}set additionalItems(e){throw new Is("additionalItems setter in Schema class is not not supported.")}get patternProperties(){throw new Is("patternProperties getter in Schema class is not not supported.")}set patternProperties(e){throw new Is("patternProperties setter in Schema class is not not supported.")}get dependencies(){throw new Is("dependencies getter in Schema class is not not supported.")}set dependencies(e){throw new Is("dependencies setter in Schema class is not not supported.")}get anyOf(){throw new Is("anyOf getter in Schema class is not not supported.")}set anyOf(e){throw new Is("anyOf setter in Schema class is not not supported.")}get oneOf(){throw new Is("oneOf getter in Schema class is not not supported.")}set oneOf(e){throw new Is("oneOf setter in Schema class is not not supported.")}get not(){throw new Is("not getter in Schema class is not not supported.")}set not(e){throw new Is("not setter in Schema class is not not supported.")}get definitions(){throw new Is("definitions getter in Schema class is not not supported.")}set definitions(e){throw new Is("definitions setter in Schema class is not not supported.")}get base(){throw new Is("base getter in Schema class is not not supported.")}set base(e){throw new Is("base setter in Schema class is not not supported.")}get links(){throw new Is("links getter in Schema class is not not supported.")}set links(e){throw new Is("links setter in Schema class is not not supported.")}get media(){throw new Is("media getter in Schema class is not not supported.")}set media(e){throw new Is("media setter in Schema class is not not supported.")}};class hi extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="xml"}get name(){return this.get("name")}set name(e){this.set("name",e)}get namespace(){return this.get("namespace")}set namespace(e){this.set("namespace",e)}get prefix(){return this.get("prefix")}set prefix(e){this.set("prefix",e)}get attribute(){return this.get("attribute")}set attribute(e){this.set("attribute",e)}get wrapped(){return this.get("wrapped")}set wrapped(e){this.set("wrapped",e)}}const fi=hi;class di extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="reference",this.classes.push("openapi-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const yi=di;class gi extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="definitions"}}const vi=gi;class bi extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="parametersDefinitions"}}const Ei=bi;class wi extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="responsesDefinitions"}}const xi=wi;class Oi extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="securityDefinitions"}}const Si=Oi;class ji extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="securityScheme"}get type(){return this.get("type")}set type(e){this.set("type",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get name(){return this.get("name")}set name(e){this.set("name",e)}get in(){return this.get("in")}set in(e){this.set("in",e)}get flow(){return this.get("flow")}set flow(e){this.set("flow",e)}get authorizationUrl(){return this.get("authorizationUrl")}set authorizationUrl(e){this.set("authorizationUrl",e)}get tokenUrl(){return this.get("tokenUrl")}set tokenUrl(e){this.set("tokenUrl",e)}get scopes(){return this.get("scopes")}set scopes(e){this.set("scopes",e)}}const Pi=ji;class Ai extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="scopes"}}const _i=Ai;class ki extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="securityRequirement"}}const Ii=ki,Ti={namespace:e=>{const{base:t}=e;return t.register("swagger",Fs),t.register("swaggerVersion",Cs),t.register("info",Vs),t.register("contact",Bs),t.register("license",Hs),t.register("paths",Us),t.register("pathItem",Ks),t.register("operation",Ws),t.register("externalDocumentation",Qs),t.register("parameter",Zs),t.register("items",ei),t.register("responses",si),t.register("response",oi),t.register("headers",ci),t.register("example",ni),t.register("header",ui),t.register("tag",pi),t.register("reference",yi),t.register("schema",mi),t.register("xml",fi),t.register("definitions",vi),t.register("parametersDefinitions",Ei),t.register("responsesDefinitions",xi),t.register("securityDefinitions",Si),t.register("securityScheme",Pi),t.register("scopes",_i),t.register("securityRequirement",Ii),t}};class Mi extends o.ON{static primaryClass="operation-consumes";constructor(e,t,n){super(e,t,n),this.classes.push(Mi.primaryClass)}}const Ri=Mi;class $i extends o.ON{static primaryClass="operation-parameters";constructor(e,t,n){super(e,t,n),this.classes.push($i.primaryClass),this.classes.push("parameters")}}const Ni=$i;class Fi extends o.ON{static primaryClass="operation-produces";constructor(e,t,n){super(e,t,n),this.classes.push(Fi.primaryClass)}}const Di=Fi;class Ci extends o.ON{static primaryClass="operation-schemes";constructor(e,t,n){super(e,t,n),this.classes.push(Ci.primaryClass)}}const qi=Ci;class Vi extends o.ON{static primaryClass="operation-security";constructor(e,t,n){super(e,t,n),this.classes.push(Vi.primaryClass),this.classes.push("security")}}const Li=Vi;class Bi extends o.ON{static primaryClass="operation-tags";constructor(e,t,n){super(e,t,n),this.classes.push(Bi.primaryClass)}}const zi=Bi;class Hi extends o.ON{static primaryClass="path-item-parameters";constructor(e,t,n){super(e,t,n),this.classes.push(Hi.primaryClass),this.classes.push("parameters")}}const Ji=Hi;class Ui extends o.ON{static primaryClass="swagger-schemes";constructor(e,t,n){super(e,t,n),this.classes.push(Ui.primaryClass)}}const Gi=Ui;class Ki extends o.ON{static primaryClass="swagger-consumes";constructor(e,t,n){super(e,t,n),this.classes.push(Ki.primaryClass)}}const Xi=Ki;class Wi extends o.ON{static primaryClass="swagger-produces";constructor(e,t,n){super(e,t,n),this.classes.push(Wi.primaryClass)}}const Yi=Wi;class Qi extends o.ON{static primaryClass="swagger-security";constructor(e,t,n){super(e,t,n),this.classes.push(Qi.primaryClass),this.classes.push("security")}}const Zi=Qi;class eo extends o.ON{static primaryClass="swagger-tags";constructor(e,t,n){super(e,t,n),this.classes.push(eo.primaryClass)}}const to=eo,no=e=>{if(re(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},ro={SwaggerElement:["content"],InfoElement:["content"],ContactElement:["content"],LicenseElement:["content"],PathsElement:["content"],PathItemElement:["content"],OperationElement:["content"],ExternalDocumentationElement:["content"],ParameterElement:["content"],ItemsElement:["content"],ExampleElement:["content"],ResponsesElement:["content"],ResponseElement:["content"],HeadersElement:["content"],HeaderElement:["content"],TagElement:["content"],ReferenceElement:["content"],JSONReferenceElement:["content"],SchemaElement:["content"],XmlElement:["content"],DefinitionsElement:["content"],ParametersDefinitionsElement:["content"],ResponsesDefinitionsElement:["content"],SecurityDefinitionsElement:["content"],SecuritySchemeElement:["content"],ScopesElement:["content"],SecurityRequirementElement:["content"],...jn},so=e=>se(e)&&Ee(["yaml-e-node","yaml-e-scalar"],e),io={SwaggerElement:{info:(...e)=>new Vs(...e),schemes:(...e)=>new Gi(...e),consumes:(...e)=>new Xi(...e),produces:(...e)=>new Yi(...e),paths:(...e)=>new Us(...e),definitions:(...e)=>new vi(...e),parameters:(...e)=>new Ei(...e),responses:(...e)=>new xi(...e),securityDefinitions:(...e)=>new Si(...e),security:(...e)=>new Zi(...e),tags:(...e)=>new to(...e),externalDocs:(...e)=>new Qs(...e)},InfoElement:{contact:(...e)=>new Bs(...e),license:(...e)=>new Hs(...e)},PathsElement:{"[key: *]":function(...e){return new Ks(...e)}},PathItemElement:{get:(...e)=>new Ws(...e),put:(...e)=>new Ws(...e),post:(...e)=>new Ws(...e),delete:(...e)=>new Ws(...e),options:(...e)=>new Ws(...e),head:(...e)=>new Ws(...e),patch:(...e)=>new Ws(...e),parameters:(...e)=>new Ji(...e)},OperationElement:{tags:(...e)=>new zi(...e),externalDocs:(...e)=>new Qs(...e),consumes:(...e)=>new Ri(...e),produces:(...e)=>new Di(...e),parameters:(...e)=>new Ni(...e),responses:(...e)=>new si(...e),schemes:(...e)=>new qi(...e),security:(...e)=>new Li(...e)},ParameterElement:{schema:(...e)=>new mi(...e),items:(...e)=>new ei(...e)},ItemsElement:{items:(...e)=>new ei(...e)},ResponsesElement:{"[key: *]":function(...e){return new oi(...e)}},ResponseElement:{schema:(...e)=>new mi(...e),headers:(...e)=>new ci(...e),examples:(...e)=>new ni(...e)},HeadersElement:{"[key: *]":function(...e){return new ui(...e)}},HeaderElement:{items:(...e)=>new ei(...e)},TagElement:{externalDocs:(...e)=>new Qs(...e)},SchemaElement:{items:(...e)=>new mi(...e),allOf(...e){const t=new o.ON(...e);return t.classes.push("json-schema-allOf"),t},properties(...e){const t=new o.Sb(...e);return t.classes.push("json-schema-properties"),t},additionalProperties:(...e)=>new mi(...e),xml:(...e)=>new fi(...e),externalDocs:(...e)=>new Qs(...e)},DefinitionsElement:{"[key: *]":function(...e){return new mi(...e)}},ParametersDefinitionsElement:{"[key: *]":function(...e){return new Zs(...e)}},ResponsesDefinitionsElement:{"[key: *]":function(...e){return new oi(...e)}},SecurityDefinitionsElement:{"[key: *]":function(...e){return new Pi(...e)}},SecuritySchemeElement:{scopes:(...e)=>new _i(...e)},SecurityRequirementElement:{"[key: *]":function(...e){return new o.ON(...e)}},[Ni.primaryClass]:{"<*>":function(...e){return new Zs(...e)}},[Li.primaryClass]:{"<*>":function(...e){return new Ii(...e)}},[Ji.primaryClass]:{"<*>":function(...e){return new Zs(...e)}},[Zi.primaryClass]:{"<*>":function(...e){return new Ii(...e)}},[to.primaryClass]:{"<*>":function(...e){return new pi(...e)}},"json-schema-properties":{"[key: *]":function(...e){return new mi(...e)}},"json-schema-allOf":{"<*>":function(...e){return new mi(...e)}}},oo=(e,t)=>{const n=no(e),r=io[n]||io[mr(e.classes.first)];return void 0===r?void 0:Object.prototype.hasOwnProperty.call(r,"[key: *]")?r["[key: *]"]:r[t]},ao=()=>()=>({visitor:{MemberElement(e,...t){if(!so(e.value))return;const[,,,n]=t,r=n.at(-1),s=oo(r,mr(e.key));if(void 0===s)return;const i=e.value;return new o.c6(e.key,s.call({context:r},void 0,vn(i.meta),vn(i.attributes)),vn(e.meta),vn(e.attributes))},StringElement(e,...t){if(!so(e))return;const[,,,n]=t,r=n.at(-1);if(!ue(r))return;const s=oo(r,"<*>");return void 0!==s?s.call({context:e},void 0,vn(e.meta),vn(e.attributes)):void 0}}}),co=Kt()({props:{element:null},methods:{copyMetaAndAttributes(e,t){ve(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),uo=Kt()(co,{methods:{enter(e){return this.element=vn(e),on}}}),lo=Kt()(co,{props:{passingOptionsNames:["specObj","openApiGenericElement","openApiSemanticElement"],specObj:null,openApiGenericElement:null,openApiSemanticElement:null},init({specObj:e=this.specObj,openApiGenericElement:t=this.openApiGenericElement,openApiSemanticElement:n=this.openApiSemanticElement}){this.specObj=e,this.openApiGenericElement=t,this.openApiSemanticElement=n},methods:{retrievePassingOptions(){return hr(this.passingOptionsNames,this)},retrieveFixedFields(e){const t=ke(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]},retrieveVisitor(e){return Mt(wt,["visitors",...e],this.specObj)?ke(["visitors",...e],this.specObj):ke(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e,t={}){const n=this.retrievePassingOptions();return this.retrieveVisitor(e)({...n,...t})},toRefractedElement(e,t,n={}){const r=this.retrieveVisitorInstance(e,n),s=Object.getPrototypeOf(r);return U(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===s?vn(t):(Pn(t,r,{keyMap:ro,nodeTypeGetter:no,...n}),r.element)}}});var po=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=h,e.prototype["@@transducer/result"]=f,e.prototype["@@transducer/step"]=function(e,t){this.i+=1;var n=0===this.n?e:this.xf["@@transducer/step"](e,t);return this.n>=0&&this.i>=this.n?m(n):n},e}();function mo(e){return function(t){return new po(e,t)}}const ho=u(p(["take"],mo,(function(e,t){return Te(0,e<0?1/0:e,t)})));const fo=u((function(e,t){return D(ho(e.length,t),e)})),yo=e=>se(e.key)&&fo("x-",mr(e.key)),go=e=>ce(e)&&e.hasKey("$ref"),vo=Kt()(lo,{props:{specPath:sr,ignoredFields:[],canSupportSpecificationExtensions:!0,specificationExtensionPredicate:yo},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields,canSupportSpecificationExtensions:n=this.canSupportSpecificationExtensions,specificationExtensionPredicate:r=this.specificationExtensionPredicate}={}){this.specPath=e,this.ignoredFields=t,this.canSupportSpecificationExtensions=n,this.specificationExtensionPredicate=r},methods:{ObjectElement(e){const t=this.specPath(e),n=this.retrieveFixedFields(t);return e.forEach(((e,r,s)=>{if(se(r)&&n.includes(mr(r))&&!this.ignoredFields.includes(mr(r))){const n=this.toRefractedElement([...t,"fixedFields",mr(r)],e),i=new o.c6(vn(r),n);this.copyMetaAndAttributes(s,i),i.classes.push("fixed-field"),this.element.content.push(i)}else if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(s)){const e=this.toRefractedElement(["document","extension"],s);this.element.content.push(e)}else this.ignoredFields.includes(mr(r))||this.element.content.push(vn(s))})),this.copyMetaAndAttributes(e,this.element),on}}}),bo=Kt()(vo,uo,{props:{specPath:H(["document","objects","Swagger"]),canSupportSpecificationExtensions:!0},init(){this.element=new Fs}}),Eo=Kt()(lo,uo,{methods:{StringElement(e){const t=new Cs(mr(e));return this.copyMetaAndAttributes(e,t),this.element=t,on}}}),wo=Kt()(uo,{init(){this.element=new Gi},methods:{ArrayElement(e){return this.element=this.element.concat(vn(e)),on}}}),xo=Kt()(uo,{init(){this.element=new Xi},methods:{ArrayElement(e){return this.element=this.element.concat(vn(e)),on}}}),Oo=Kt()(uo,{init(){this.element=new Yi},methods:{ArrayElement(e){return this.element=this.element.concat(vn(e)),on}}}),So=Kt()(lo,uo,{init(){this.element=new Zi},methods:{ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),on}}}),jo=Kt()(lo,uo,{init(){this.element=new to},methods:{ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","Tag"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),on}}}),Po=Kt()(vo,uo,{props:{specPath:H(["document","objects","Info"]),canSupportSpecificationExtensions:!0},init(){this.element=new Vs}}),Ao=Kt()(uo,{methods:{StringElement(e){return this.element=vn(e),this.element.classes.push("api-version"),this.element.classes.push("version"),on}}}),_o=Kt()(vo,uo,{props:{specPath:H(["document","objects","Contact"]),canSupportSpecificationExtensions:!0},init(){this.element=new Bs}}),ko=Kt()(vo,uo,{props:{specPath:H(["document","objects","License"]),canSupportSpecificationExtensions:!0},init(){this.element=new Hs}});const Io=u((function(e,t){if(n=e,"[object RegExp]"!==Object.prototype.toString.call(n))throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+st(e));var n;return function(e){return new RegExp(e.source,e.flags?e.flags:(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":"")+(e.dotAll?"s":""))}(e).test(t)})),To=Kt()(lo,{props:{fieldPatternPredicate:Xt,specPath:sr,ignoredFields:[],canSupportSpecificationExtensions:!1,specificationExtensionPredicate:yo},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields,canSupportSpecificationExtensions:n=this.canSupportSpecificationExtensions,specificationExtensionPredicate:r=this.specificationExtensionPredicate}={}){this.specPath=e,this.ignoredFields=t,this.canSupportSpecificationExtensions=n,this.specificationExtensionPredicate=r},methods:{ObjectElement(e){return e.forEach(((e,t,n)=>{if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(n)){const e=this.toRefractedElement(["document","extension"],n);this.element.content.push(e)}else if(!this.ignoredFields.includes(mr(t))&&this.fieldPatternPredicate(mr(t))){const r=this.specPath(e),s=this.toRefractedElement(r,e),i=new o.c6(vn(t),s);this.copyMetaAndAttributes(n,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(mr(t))||this.element.content.push(vn(n))})),this.copyMetaAndAttributes(e,this.element),on}}}),Mo=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Fs||e(r)&&t("swagger",r)&&n("object",r))),Ro=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Cs||e(r)&&t("swaggerVersion",r)&&n("string",r))),$o=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Vs||e(r)&&t("info",r)&&n("object",r))),No=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Hs||e(r)&&t("license",r)&&n("object",r))),Fo=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Bs||e(r)&&t("contact",r)&&n("object",r))),Do=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Us||e(r)&&t("paths",r)&&n("object",r))),Co=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Ks||e(r)&&t("pathItem",r)&&n("object",r))),qo=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Ws||e(r)&&t("operation",r)&&n("object",r))),Vo=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Qs||e(r)&&t("externalDocumentation",r)&&n("object",r))),Lo=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Zs||e(r)&&t("parameter",r)&&n("object",r))),Bo=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof ei||e(r)&&t("items",r)&&n("object",r))),zo=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof si||e(r)&&t("responses",r)&&n("object",r))),Ho=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof oi||e(r)&&t("response",r)&&n("object",r))),Jo=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof ci||e(r)&&t("headers",r)&&n("object",r))),Uo=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof ni||e(r)&&t("example",r)&&n("object",r))),Go=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof ui||e(r)&&t("header",r)&&n("object",r))),Ko=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof pi||e(r)&&t("tag",r)&&n("object",r))),Xo=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof yi||e(r)&&t("reference",r)&&n("object",r))),Wo=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof mi||e(r)&&t("schema",r)&&n("object",r))),Yo=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof fi||e(r)&&t("xml",r)&&n("object",r))),Qo=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof xi||e(r)&&t("responsesDefinitions",r)&&n("object",r))),Zo=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Si||e(r)&&t("securityDefinitions",r)&&n("object",r))),ea=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof vi||e(r)&&t("definitions",r)&&n("object",r))),ta=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Ei||e(r)&&t("parametersDefinitions",r)&&n("object",r))),na=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Pi||e(r)&&t("securityScheme",r)&&n("object",r))),ra=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof _i||e(r)&&t("scopes",r)&&n("object",r))),sa=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Ii||e(r)&&t("securityRequirement",r)&&n("object",r))),ia=Kt()(To,uo,{props:{fieldPatternPredicate:Io(/^\/(?<path>.*)$/),specPath:H(["document","objects","PathItem"]),canSupportSpecificationExtensions:!0},init(){this.element=new Us},methods:{ObjectElement(e){const t=To.compose.methods.ObjectElement.call(this,e);return this.element.filter(Co).forEach(((e,t)=>{e.setMetaProperty("path",vn(t))})),t}}}),oa=Kt()(vo,uo,{props:{specPath:H(["document","objects","PathItem"])},init(){this.element=new Ks},methods:{ObjectElement(e){const t=vo.compose.methods.ObjectElement.call(this,e);return this.element.filter(qo).forEach(((e,t)=>{const n=vn(t);n.content=mr(n).toUpperCase(),e.setMetaProperty("http-method",n)})),se(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),aa=Kt()(uo,{methods:{StringElement(e){return this.element=vn(e),this.element.classes.push("reference-value"),on}}}),ca=Kt()(lo,uo,{init(){this.element=new Ji},methods:{ArrayElement(e){return e.forEach((e=>{const t=go(e)?["document","objects","Reference"]:["document","objects","Parameter"],n=this.toRefractedElement(t,e);Xo(n)&&n.setMetaProperty("referenced-element","parameter"),this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),on}}}),ua=Kt()(vo,uo,{props:{specPath:H(["document","objects","Operation"])},init(){this.element=new Ws}}),la=Kt()(uo,{init(){this.element=new zi},methods:{ArrayElement(e){return this.element=this.element.concat(vn(e)),on}}}),pa=Kt()(uo,{init(){this.element=new Ri},methods:{ArrayElement(e){return this.element=this.element.concat(vn(e)),on}}}),ma=Kt()(uo,{init(){this.element=new Di},methods:{ArrayElement(e){return this.element=this.element.concat(vn(e)),on}}}),ha=Kt()(lo,uo,{init(){this.element=new Ni},methods:{ArrayElement(e){return e.forEach((e=>{const t=go(e)?["document","objects","Reference"]:["document","objects","Parameter"],n=this.toRefractedElement(t,e);Xo(n)&&n.setMetaProperty("referenced-element","parameter"),this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),on}}}),fa=Kt()(uo,{init(){this.element=new qi},methods:{ArrayElement(e){return this.element=this.element.concat(vn(e)),on}}}),da=Kt()(lo,uo,{init(){this.element=new Li},methods:{ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),on}}}),ya=Kt()(vo,uo,{props:{specPath:H(["document","objects","ExternalDocumentation"]),canSupportSpecificationExtensions:!0},init(){this.element=new Qs}}),ga=Kt()(vo,uo,{props:{specPath:H(["document","objects","Parameter"]),canSupportSpecificationExtensions:!0},init(){this.element=new Zs}}),va=Kt()(vo,uo,{props:{specPath:H(["document","objects","Items"]),canSupportSpecificationExtensions:!0},init(){this.element=new ei}});function ba(e){return"[object Number]"===Object.prototype.toString.call(e)}const Ea=u((function(e,t){if(!ba(e)||!ba(t))throw new TypeError("Both arguments to range must be numbers");for(var n=[],r=e;r<t;)n.push(r),r+=1;return n}));function wa(e,t,n){var r,s=typeof e;switch(s){case"string":case"number":return 0===e&&1/e==-1/0?!!n._items["-0"]||(t&&(n._items["-0"]=!0),!1):null!==n._nativeSet?t?(r=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===r):n._nativeSet.has(e):s in n._items?e in n._items[s]||(t&&(n._items[s][e]=!0),!1):(t&&(n._items[s]={},n._items[s][e]=!0),!1);case"boolean":if(s in n._items){var i=e?1:0;return!!n._items[s][i]||(t&&(n._items[s][i]=!0),!1)}return t&&(n._items[s]=e?[!1,!0]:[!0,!1]),!1;case"function":return null!==n._nativeSet?t?(r=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===r):n._nativeSet.has(e):s in n._items?!!C(e,n._items[s])||(t&&n._items[s].push(e),!1):(t&&(n._items[s]=[e]),!1);case"undefined":return!!n._items[s]||(t&&(n._items[s]=!0),!1);case"object":if(null===e)return!!n._items.null||(t&&(n._items.null=!0),!1);default:return(s=Object.prototype.toString.call(e))in n._items?!!C(e,n._items[s])||(t&&n._items[s].push(e),!1):(t&&(n._items[s]=[e]),!1)}}const xa=function(){function e(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}return e.prototype.add=function(e){return!wa(e,!0,this)},e.prototype.has=function(e){return wa(e,!1,this)},e}();const Oa=u((function(e,t){for(var n=[],r=0,s=e.length,i=t.length,o=new xa,a=0;a<i;a+=1)o.add(t[a]);for(;r<s;)o.add(e[r])&&(n[n.length]=e[r]),r+=1;return n})),Sa=Kt()(vo,To,{props:{specPathFixedFields:sr,specPathPatternedFields:sr},methods:{ObjectElement(e){const{specPath:t,ignoredFields:n}=this;try{this.specPath=this.specPathFixedFields;const t=this.retrieveFixedFields(this.specPath(e));this.ignoredFields=[...n,...Oa(e.keys(),t)],vo.compose.methods.ObjectElement.call(this,e),this.specPath=this.specPathPatternedFields,this.ignoredFields=t,To.compose.methods.ObjectElement.call(this,e)}catch(e){throw this.specPath=t,e}return on}}}),ja=Kt()(Sa,uo,{props:{specPathFixedFields:H(["document","objects","Responses"]),specPathPatternedFields:e=>go(e)?["document","objects","Reference"]:["document","objects","Response"],fieldPatternPredicate:Io(new RegExp(`^(1XX|2XX|3XX|4XX|5XX|${Ea(100,600).join("|")})$`)),canSupportSpecificationExtensions:!0},init(){this.element=new si},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(Xo).forEach((e=>{e.setMetaProperty("referenced-element","response")})),this.element.filter(Ho).forEach(((e,t)=>{const n=vn(t);this.fieldPatternPredicate(mr(n))&&e.setMetaProperty("http-status-code",n)})),t}}}),Pa=Kt()(lo,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>us(e,H(t),J))),n=ws(t)(e);return this.element=this.toRefractedElement(n,e),on}}}),Aa=Kt()(Pa,uo,{props:{alternator:[{predicate:go,specPath:["document","objects","Reference"]},{predicate:ir,specPath:["document","objects","Response"]}]},methods:{ObjectElement(e){const t=Pa.compose.methods.enter.call(this,e);return Xo(this.element)?this.element.setMetaProperty("referenced-element","response"):Ho(this.element)&&this.element.setMetaProperty("http-status-code","default"),t}}}),_a=Kt()(vo,uo,{props:{specPath:H(["document","objects","Response"]),canSupportSpecificationExtensions:!0},init(){this.element=new oi}}),ka=Kt()(To,{props:{fieldPatternPredicate:Br}}),Ia=Kt()(ka,uo,{props:{specPath:H(["document","objects","Header"]),canSupportSpecificationExtensions:!1},init(){this.element=new ci}}),Ta=Kt()(ka,uo,{props:{specPath:H(["value"]),canSupportSpecificationExtensions:!1},init(){this.element=new ni}}),Ma=Kt()(vo,uo,{props:{specPath:H(["document","objects","Header"]),canSupportSpecificationExtensions:!0},init(){this.element=new ui}}),Ra=Kt()(vo,uo,{props:{specPath:H(["document","objects","Tag"]),canSupportSpecificationExtensions:!0},init(){this.element=new pi}}),$a=Kt()(vo,uo,{props:{specPath:H(["document","objects","Reference"]),canSupportSpecificationExtensions:!1},init(){this.element=new yi},methods:{ObjectElement(e){const t=vo.compose.methods.ObjectElement.call(this,e);return se(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),Na=Kt()(uo,{methods:{StringElement(e){return this.element=vn(e),this.element.classes.push("reference-value"),on}}}),Fa=Kt()(vo,uo,{props:{specPath:H(["document","objects","Schema"]),canSupportSpecificationExtensions:!0},init(){this.element=new mi}}),{allOf:Da}=Ss.visitors.document.objects.JSONSchema.fixedFields,Ca=Kt()(Da,{methods:{ArrayElement(e){const t=Da.compose.methods.ArrayElement.call(this,e);return this.element.filter(qn).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{items:qa}=Ss.visitors.document.objects.JSONSchema.fixedFields,Va=Kt()(qa,{methods:{ObjectElement(e){const t=qa.compose.methods.ObjectElement.call(this,e);return qn(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t},ArrayElement(e){const t=qa.compose.methods.ArrayElement.call(this,e);return this.element.filter(qn).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{properties:La}=Ss.visitors.document.objects.JSONSchema.fixedFields,Ba=Kt()(La,{methods:{ObjectElement(e){const t=La.compose.methods.ObjectElement.call(this,e);return this.element.filter(qn).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{JSONSchemaOrJSONReferenceVisitor:za}=Ss.visitors,Ha=Kt()(za,{methods:{ObjectElement(e){const t=za.compose.methods.enter.call(this,e);return qn(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),Ja=Kt()(vo,uo,{props:{specPath:H(["document","objects","XML"]),canSupportSpecificationExtensions:!0},init(){this.element=new fi}}),Ua=Kt()(ka,uo,{props:{specPath:e=>Ir(e)?["document","objects","JSONReference"]:["document","objects","Schema"]},init(){this.element=new vi},methods:{ObjectElement(e){const t=ka.compose.methods.ObjectElement.call(this,e);return this.element.filter(qn).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),Ga=Kt()(ka,uo,{props:{specPath:H(["document","objects","Response"])},init(){this.element=new xi}}),Ka=Kt()(ka,uo,{props:{specPath:H(["document","objects","Parameter"])},init(){this.element=new Ei}}),Xa=Kt()(ka,uo,{props:{specPath:H(["document","objects","SecurityScheme"])},init(){this.element=new Si}}),Wa=Kt()(vo,uo,{props:{specPath:H(["document","objects","SecurityScheme"]),canSupportSpecificationExtensions:!0},init(){this.element=new Pi}}),Ya=Kt()(ka,uo,{props:{specPath:H(["value"]),canSupportSpecificationExtensions:!0},init(){this.element=new _i}}),Qa=Kt()(ka,uo,{props:{specPath:H(["value"])},init(){this.element=new Ii}}),Za=Kt()(lo,{methods:{MemberElement(e){return this.element=vn(e),this.element.classes.push("specification-extension"),on}}}),{fixedFields:ec}=Ss.visitors.document.objects.JSONSchema,tc={visitors:{value:uo,document:{objects:{JSONReference:Ss.visitors.document.objects.JSONReference,JSONSchema:{$ref:"#/visitors/document/objects/Schema"},Swagger:{$visitor:bo,fixedFields:{swagger:Eo,info:{$ref:"#/visitors/document/objects/Info"},host:{$ref:"#/visitors/value"},basePath:{$ref:"#/visitors/value"},schemes:wo,consumes:xo,produces:Oo,paths:{$ref:"#/visitors/document/objects/Paths"},definitions:{$ref:"#/visitors/document/objects/Definitions"},parameters:{$ref:"#/visitors/document/objects/ParametersDefinitions"},responses:{$ref:"#/visitors/document/objects/ResponsesDefinitions"},securityDefinitions:{$ref:"#/visitors/document/objects/SecurityDefinitions"},security:So,tags:jo,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Info:{$visitor:Po,fixedFields:{title:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},termsOfService:{$ref:"#/visitors/value"},contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"},version:Ao}},Contact:{$visitor:_o,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"},email:{$ref:"#/visitors/value"}}},License:{$visitor:ko,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Paths:{$visitor:ia},PathItem:{$visitor:oa,fixedFields:{$ref:aa,get:{$ref:"#/visitors/document/objects/Operation"},put:{$ref:"#/visitors/document/objects/Operation"},post:{$ref:"#/visitors/document/objects/Operation"},delete:{$ref:"#/visitors/document/objects/Operation"},options:{$ref:"#/visitors/document/objects/Operation"},head:{$ref:"#/visitors/document/objects/Operation"},patch:{$ref:"#/visitors/document/objects/Operation"},parameters:ca}},Operation:{$visitor:ua,fixedFields:{tags:la,summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},operationId:{$ref:"#/visitors/value"},consumes:pa,produces:ma,parameters:ha,responses:{$ref:"#/visitors/document/objects/Responses"},schemes:fa,deprecated:{$ref:"#/visitors/value"},security:da}},ExternalDocumentation:{$visitor:ya,fixedFields:{description:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Parameter:{$visitor:ga,fixedFields:{name:{$ref:"#/visitors/value"},in:{$ref:"#/visitors/value"},description:ec.description,required:ec.required,schema:Ha,type:ec.type,format:ec.format,items:{$ref:"#/visitors/document/objects/Items"},collectionFormat:{$ref:"#/visitors/value"},default:ec.default,maximum:ec.maximum,exclusiveMaximum:ec.exclusiveMaximum,minimum:ec.minimum,exclusiveMinimum:ec.exclusiveMinimum,maxLength:ec.maxLength,minLength:ec.minLength,pattern:ec.pattern,maxItems:ec.maxItems,minItems:ec.minItems,uniqueItems:ec.uniqueItems,enum:ec.enum,multipleOf:ec.multipleOf}},Items:{$visitor:va,fixedFields:{type:ec.type,format:ec.format,items:{$ref:"#/visitors/document/objects/Items"},collectionFormat:{$ref:"#/visitors/value"},default:ec.default,maximum:ec.maximum,exclusiveMaximum:ec.exclusiveMaximum,minimum:ec.minimum,exclusiveMinimum:ec.exclusiveMinimum,maxLength:ec.maxLength,minLength:ec.minLength,pattern:ec.pattern,maxItems:ec.maxItems,minItems:ec.minItems,uniqueItems:ec.uniqueItems,enum:ec.enum,multipleOf:ec.multipleOf}},Responses:{$visitor:ja,fixedFields:{default:Aa}},Response:{$visitor:_a,fixedFields:{description:{$ref:"#/visitors/value"},schema:Ha,headers:{$ref:"#/visitors/document/objects/Headers"},examples:{$ref:"#/visitors/document/objects/Example"}}},Headers:{$visitor:Ia},Example:{$visitor:Ta},Header:{$visitor:Ma,fixedFields:{description:ec.description,type:ec.type,format:ec.format,items:{$ref:"#/visitors/document/objects/Items"},collectionFormat:{$ref:"#/visitors/value"},default:ec.default,maximum:ec.maximum,exclusiveMaximum:ec.exclusiveMaximum,minimum:ec.minimum,exclusiveMinimum:ec.exclusiveMinimum,maxLength:ec.maxLength,minLength:ec.minLength,pattern:ec.pattern,maxItems:ec.maxItems,minItems:ec.minItems,uniqueItems:ec.uniqueItems,enum:ec.enum,multipleOf:ec.multipleOf}},Tag:{$visitor:Ra,fixedFields:{name:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Reference:{$visitor:$a,fixedFields:{$ref:Na}},Schema:{$visitor:Fa,fixedFields:{format:ec.format,title:ec.title,description:ec.description,default:ec.default,multipleOf:ec.multipleOf,maximum:ec.maximum,exclusiveMaximum:ec.exclusiveMaximum,minimum:ec.minimum,exclusiveMinimum:ec.exclusiveMinimum,maxLength:ec.maxLength,minLength:ec.minLength,pattern:ec.pattern,maxItems:ec.maxItems,minItems:ec.minItems,uniqueItems:ec.uniqueItems,maxProperties:ec.maxProperties,minProperties:ec.minProperties,required:ec.required,enum:ec.enum,type:ec.type,readOnly:ec.readOnly,items:Va,allOf:Ca,properties:Ba,additionalProperties:Ha,discriminator:{$ref:"#/visitors/value"},xml:{$ref:"#/visitors/document/objects/XML"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},example:{$ref:"#/visitors/value"}}},XML:{$visitor:Ja,fixedFields:{name:{$ref:"#/visitors/value"},namespace:{$ref:"#/visitors/value"},prefix:{$ref:"#/visitors/value"},attribute:{$ref:"#/visitors/value"},wrapped:{$ref:"#/visitors/value"}}},Definitions:{$visitor:Ua},ParametersDefinitions:{$visitor:Ka},ResponsesDefinitions:{$visitor:Ga},SecurityDefinitions:{$visitor:Xa},SecurityScheme:{$visitor:Wa,fixedFields:{type:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},name:{$ref:"#/visitors/value"},in:{$ref:"#/visitors/value"},flow:{$ref:"#/visitors/value"},authorizationUrl:{$ref:"#/visitors/value"},token:{$ref:"#/visitors/value"},scopes:{$ref:"#/visitors/document/objects/Scopes"}}},Scopes:{$visitor:Ya},SecurityRequirement:{$visitor:Qa}},extension:{$visitor:Za}}}},nc=()=>{const e=Ht(Ti);return{predicates:{...s,...i,isStringElement:se},namespace:e}},rc=(e,{specPath:t=["visitors","document","objects","Swagger","$visitor"],plugins:n=[]}={})=>{const r=(0,o.Qc)(e),s=tr(tc),i=Tt(t,[],s);return Pn(r,i,{state:{specObj:s}}),An(i.element,n,{toolboxCreator:nc,visitorOptions:{keyMap:ro,nodeTypeGetter:no}})},sc=e=>(t,n={})=>rc(t,{specPath:e,...n}),ic=rc})(),r})()));
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.apidomNsOpenApi2=t():e.apidomNsOpenApi2=t()}(self,(()=>(()=>{var e={42:(e,t,n)=>{"use strict";var r=n(5846);e.exports=r},6791:(e,t,n)=>{"use strict";n(4339),n(4242),n(4016),n(8939),n(5454);var r=n(7545);e.exports=r.AggregateError},6762:(e,t,n)=>{"use strict";e.exports=n(3028)},3028:(e,t,n)=>{"use strict";n(2752);var r=n(42);e.exports=r},6235:(e,t,n)=>{"use strict";var r=n(6447),s=n(9288),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(s(e)+" is not a function")}},7757:(e,t,n)=>{"use strict";var r=n(6447),s=String,i=TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw new i("Can't set "+s(e)+" as a prototype")}},7423:e=>{"use strict";e.exports=function(){}},1138:(e,t,n)=>{"use strict";var r=n(5744),s=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(s(e)+" is not an object")}},8180:(e,t,n)=>{"use strict";var r=n(101),s=n(7739),i=n(4104),o=function(e){return function(t,n,o){var a,c=r(t),u=i(c),l=s(o,u);if(e&&n!=n){for(;u>l;)if((a=c[l++])!=a)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},9272:(e,t,n)=>{"use strict";var r=n(4120),s=r({}.toString),i=r("".slice);e.exports=function(e){return i(s(e),8,-1)}},4696:(e,t,n)=>{"use strict";var r=n(3471),s=n(6447),i=n(9272),o=n(8182)("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),o))?n:c?i(t):"Object"===(r=i(t))&&s(t.callee)?"Arguments":r}},7987:(e,t,n)=>{"use strict";var r=n(4500),s=n(3011),i=n(5141),o=n(2454);e.exports=function(e,t,n){for(var a=s(t),c=o.f,u=i.f,l=0;l<a.length;l++){var p=a[l];r(e,p)||n&&r(n,p)||c(e,p,u(t,p))}}},4635:(e,t,n)=>{"use strict";var r=n(6192);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},7271:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},8711:(e,t,n)=>{"use strict";var r=n(69),s=n(2454),i=n(774);e.exports=r?function(e,t,n){return s.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},774:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},9362:(e,t,n)=>{"use strict";var r=n(8711);e.exports=function(e,t,n,s){return s&&s.enumerable?e[t]=n:r(e,t,n),e}},5098:(e,t,n)=>{"use strict";var r=n(8576),s=Object.defineProperty;e.exports=function(e,t){try{s(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},69:(e,t,n)=>{"use strict";var r=n(6192);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8382:e=>{"use strict";var t="object"==typeof document&&document.all,n=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},7449:(e,t,n)=>{"use strict";var r=n(8576),s=n(5744),i=r.document,o=s(i)&&s(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},7365:e=>{"use strict";e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8989:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},4218:(e,t,n)=>{"use strict";var r,s,i=n(8576),o=n(8989),a=i.process,c=i.Deno,u=a&&a.versions||c&&c.version,l=u&&u.v8;l&&(s=(r=l.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!s&&o&&(!(r=o.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=o.match(/Chrome\/(\d+)/))&&(s=+r[1]),e.exports=s},2952:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},4503:(e,t,n)=>{"use strict";var r=n(4120),s=Error,i=r("".replace),o=String(new s("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,c=a.test(o);e.exports=function(e,t){if(c&&"string"==typeof e&&!s.prepareStackTrace)for(;t--;)e=i(e,a,"");return e}},8266:(e,t,n)=>{"use strict";var r=n(8711),s=n(4503),i=n(274),o=Error.captureStackTrace;e.exports=function(e,t,n,a){i&&(o?o(e,t):r(e,"stack",s(n,a)))}},274:(e,t,n)=>{"use strict";var r=n(6192),s=n(774);e.exports=!r((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",s(1,7)),7!==e.stack)}))},3085:(e,t,n)=>{"use strict";var r=n(8576),s=n(6298),i=n(4914),o=n(6447),a=n(5141).f,c=n(9245),u=n(7545),l=n(8043),p=n(8711),m=n(4500),h=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 s(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,s,f,d,y,g,v,b,E,w=e.target,x=e.global,O=e.stat,S=e.proto,j=x?r:O?r[w]:(r[w]||{}).prototype,P=x?u:u[w]||p(u,w,{})[w],A=P.prototype;for(d in t)s=!(n=c(x?d:w+(O?".":"#")+d,e.forced))&&j&&m(j,d),g=P[d],s&&(v=e.dontCallGetSet?(E=a(j,d))&&E.value:j[d]),y=s&&v?v:t[d],s&&typeof g==typeof y||(b=e.bind&&s?l(y,r):e.wrap&&s?h(y):S&&o(y)?i(y):y,(e.sham||y&&y.sham||g&&g.sham)&&p(b,"sham",!0),p(P,d,b),S&&(m(u,f=w+"Prototype")||p(u,f,{}),p(u[f],d,y),e.real&&A&&(n||!A[d])&&p(A,d,y)))}},6192:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},6298:(e,t,n)=>{"use strict";var r=n(2784),s=Function.prototype,i=s.apply,o=s.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?o.bind(i):function(){return o.apply(i,arguments)})},8043:(e,t,n)=>{"use strict";var r=n(4914),s=n(6235),i=n(2784),o=r(r.bind);e.exports=function(e,t){return s(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}},2784:(e,t,n)=>{"use strict";var r=n(6192);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},8922:(e,t,n)=>{"use strict";var r=n(2784),s=Function.prototype.call;e.exports=r?s.bind(s):function(){return s.apply(s,arguments)}},2282:(e,t,n)=>{"use strict";var r=n(69),s=n(4500),i=Function.prototype,o=r&&Object.getOwnPropertyDescriptor,a=s(i,"name"),c=a&&"something"===function(){}.name,u=a&&(!r||r&&o(i,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:u}},6419:(e,t,n)=>{"use strict";var r=n(4120),s=n(6235);e.exports=function(e,t,n){try{return r(s(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}},4914:(e,t,n)=>{"use strict";var r=n(9272),s=n(4120);e.exports=function(e){if("Function"===r(e))return s(e)}},4120:(e,t,n)=>{"use strict";var r=n(2784),s=Function.prototype,i=s.call,o=r&&s.bind.bind(i,i);e.exports=r?o:function(e){return function(){return i.apply(e,arguments)}}},150:(e,t,n)=>{"use strict";var r=n(7545),s=n(8576),i=n(6447),o=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e])||o(s[e]):r[e]&&r[e][t]||s[e]&&s[e][t]}},8703:(e,t,n)=>{"use strict";var r=n(4696),s=n(5037),i=n(5646),o=n(7771),a=n(8182)("iterator");e.exports=function(e){if(!i(e))return s(e,a)||s(e,"@@iterator")||o[r(e)]}},1669:(e,t,n)=>{"use strict";var r=n(8922),s=n(6235),i=n(1138),o=n(9288),a=n(8703),c=TypeError;e.exports=function(e,t){var n=arguments.length<2?a(e):t;if(s(n))return i(r(n,e));throw new c(o(e)+" is not iterable")}},5037:(e,t,n)=>{"use strict";var r=n(6235),s=n(5646);e.exports=function(e,t){var n=e[t];return s(n)?void 0:r(n)}},8576:function(e,t,n){"use strict";var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||this||Function("return this")()},4500:(e,t,n)=>{"use strict";var r=n(4120),s=n(1795),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(s(e),t)}},4535:e=>{"use strict";e.exports={}},7403:(e,t,n)=>{"use strict";var r=n(150);e.exports=r("document","documentElement")},188:(e,t,n)=>{"use strict";var r=n(69),s=n(6192),i=n(7449);e.exports=!r&&!s((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},2202:(e,t,n)=>{"use strict";var r=n(4120),s=n(6192),i=n(9272),o=Object,a=r("".split);e.exports=s((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?a(e,""):o(e)}:o},2643:(e,t,n)=>{"use strict";var r=n(6447),s=n(5744),i=n(4469);e.exports=function(e,t,n){var o,a;return i&&r(o=t.constructor)&&o!==n&&s(a=o.prototype)&&a!==n.prototype&&i(e,a),e}},273:(e,t,n)=>{"use strict";var r=n(5744),s=n(8711);e.exports=function(e,t){r(t)&&"cause"in t&&s(e,"cause",t.cause)}},3326:(e,t,n)=>{"use strict";var r,s,i,o=n(5278),a=n(8576),c=n(5744),u=n(8711),l=n(4500),p=n(6434),m=n(9766),h=n(4535),f="Object already initialized",d=a.TypeError,y=a.WeakMap;if(o||p.state){var g=p.state||(p.state=new y);g.get=g.get,g.has=g.has,g.set=g.set,r=function(e,t){if(g.has(e))throw new d(f);return t.facade=e,g.set(e,t),t},s=function(e){return g.get(e)||{}},i=function(e){return g.has(e)}}else{var v=m("state");h[v]=!0,r=function(e,t){if(l(e,v))throw new d(f);return t.facade=e,u(e,v,t),t},s=function(e){return l(e,v)?e[v]:{}},i=function(e){return l(e,v)}}e.exports={set:r,get:s,has:i,enforce:function(e){return i(e)?s(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=s(t)).type!==e)throw new d("Incompatible receiver, "+e+" required");return n}}}},6109:(e,t,n)=>{"use strict";var r=n(8182),s=n(7771),i=r("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(s.Array===e||o[i]===e)}},6447:(e,t,n)=>{"use strict";var r=n(8382),s=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===s}:function(e){return"function"==typeof e}},9245:(e,t,n)=>{"use strict";var r=n(6192),s=n(6447),i=/#|\.prototype\./,o=function(e,t){var n=c[a(e)];return n===l||n!==u&&(s(t)?r(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=o.data={},u=o.NATIVE="N",l=o.POLYFILL="P";e.exports=o},5646:e=>{"use strict";e.exports=function(e){return null==e}},5744:(e,t,n)=>{"use strict";var r=n(6447),s=n(8382),i=s.all;e.exports=s.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===i}:function(e){return"object"==typeof e?null!==e:r(e)}},5546:e=>{"use strict";e.exports=!0},3236:(e,t,n)=>{"use strict";var r=n(150),s=n(6447),i=n(8902),o=n(615),a=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return s(t)&&i(t.prototype,a(e))}},3442:(e,t,n)=>{"use strict";var r=n(8043),s=n(8922),i=n(1138),o=n(9288),a=n(6109),c=n(4104),u=n(8902),l=n(1669),p=n(8703),m=n(6639),h=TypeError,f=function(e,t){this.stopped=e,this.result=t},d=f.prototype;e.exports=function(e,t,n){var y,g,v,b,E,w,x,O=n&&n.that,S=!(!n||!n.AS_ENTRIES),j=!(!n||!n.IS_RECORD),P=!(!n||!n.IS_ITERATOR),A=!(!n||!n.INTERRUPTED),_=r(t,O),k=function(e){return y&&m(y,"normal",e),new f(!0,e)},I=function(e){return S?(i(e),A?_(e[0],e[1],k):_(e[0],e[1])):A?_(e,k):_(e)};if(j)y=e.iterator;else if(P)y=e;else{if(!(g=p(e)))throw new h(o(e)+" is not iterable");if(a(g)){for(v=0,b=c(e);b>v;v++)if((E=I(e[v]))&&u(d,E))return E;return new f(!1)}y=l(e,g)}for(w=j?e.next:y.next;!(x=s(w,y)).done;){try{E=I(x.value)}catch(e){m(y,"throw",e)}if("object"==typeof E&&E&&u(d,E))return E}return new f(!1)}},6639:(e,t,n)=>{"use strict";var r=n(8922),s=n(1138),i=n(5037);e.exports=function(e,t,n){var o,a;s(e);try{if(!(o=i(e,"return"))){if("throw"===t)throw n;return n}o=r(o,e)}catch(e){a=!0,o=e}if("throw"===t)throw n;if(a)throw o;return s(o),n}},5695:(e,t,n)=>{"use strict";var r=n(4413).IteratorPrototype,s=n(2853),i=n(774),o=n(1284),a=n(7771),c=function(){return this};e.exports=function(e,t,n,u){var l=t+" Iterator";return e.prototype=s(r,{next:i(+!u,n)}),o(e,l,!1,!0),a[l]=c,e}},5297:(e,t,n)=>{"use strict";var r=n(3085),s=n(8922),i=n(5546),o=n(2282),a=n(6447),c=n(5695),u=n(9341),l=n(4469),p=n(1284),m=n(8711),h=n(9362),f=n(8182),d=n(7771),y=n(4413),g=o.PROPER,v=o.CONFIGURABLE,b=y.IteratorPrototype,E=y.BUGGY_SAFARI_ITERATORS,w=f("iterator"),x="keys",O="values",S="entries",j=function(){return this};e.exports=function(e,t,n,o,f,y,P){c(n,t,o);var A,_,k,I=function(e){if(e===f&&N)return N;if(!E&&e&&e in R)return R[e];switch(e){case x:case O:case S:return function(){return new n(this,e)}}return function(){return new n(this)}},T=t+" Iterator",M=!1,R=e.prototype,$=R[w]||R["@@iterator"]||f&&R[f],N=!E&&$||I(f),F="Array"===t&&R.entries||$;if(F&&(A=u(F.call(new e)))!==Object.prototype&&A.next&&(i||u(A)===b||(l?l(A,b):a(A[w])||h(A,w,j)),p(A,T,!0,!0),i&&(d[T]=j)),g&&f===O&&$&&$.name!==O&&(!i&&v?m(R,"name",O):(M=!0,N=function(){return s($,this)})),f)if(_={values:I(O),keys:y?N:I(x),entries:I(S)},P)for(k in _)(E||M||!(k in R))&&h(R,k,_[k]);else r({target:t,proto:!0,forced:E||M},_);return i&&!P||R[w]===N||h(R,w,N,{name:f}),d[t]=N,_}},4413:(e,t,n)=>{"use strict";var r,s,i,o=n(6192),a=n(6447),c=n(5744),u=n(2853),l=n(9341),p=n(9362),m=n(8182),h=n(5546),f=m("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(s=l(l(i)))!==Object.prototype&&(r=s):d=!0),!c(r)||o((function(){var e={};return r[f].call(e)!==e}))?r={}:h&&(r=u(r)),a(r[f])||p(r,f,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:d}},7771:e=>{"use strict";e.exports={}},4104:(e,t,n)=>{"use strict";var r=n(8445);e.exports=function(e){return r(e.length)}},7679:e=>{"use strict";var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},6016:(e,t,n)=>{"use strict";var r=n(4845);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:r(e)}},2853:(e,t,n)=>{"use strict";var r,s=n(1138),i=n(1187),o=n(2952),a=n(4535),c=n(7403),u=n(7449),l=n(9766),p="prototype",m="script",h=l("IE_PROTO"),f=function(){},d=function(e){return"<"+m+">"+e+"</"+m+">"},y=function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t},g=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;g="undefined"!=typeof document?document.domain&&r?y(r):(t=u("iframe"),n="java"+m+":",t.style.display="none",c.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):y(r);for(var s=o.length;s--;)delete g[p][o[s]];return g()};a[h]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(f[p]=s(e),n=new f,f[p]=null,n[h]=e):n=g(),void 0===t?n:i.f(n,t)}},1187:(e,t,n)=>{"use strict";var r=n(69),s=n(9600),i=n(2454),o=n(1138),a=n(101),c=n(7653);t.f=r&&!s?Object.defineProperties:function(e,t){o(e);for(var n,r=a(t),s=c(t),u=s.length,l=0;u>l;)i.f(e,n=s[l++],r[n]);return e}},2454:(e,t,n)=>{"use strict";var r=n(69),s=n(188),i=n(9600),o=n(1138),a=n(77),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,p="enumerable",m="configurable",h="writable";t.f=r?i?function(e,t,n){if(o(e),t=a(t),o(n),"function"==typeof e&&"prototype"===t&&"value"in n&&h in n&&!n[h]){var r=l(e,t);r&&r[h]&&(e[t]=n.value,n={configurable:m in n?n[m]:r[m],enumerable:p in n?n[p]:r[p],writable:!1})}return u(e,t,n)}:u:function(e,t,n){if(o(e),t=a(t),o(n),s)try{return u(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}},5141:(e,t,n)=>{"use strict";var r=n(69),s=n(8922),i=n(6007),o=n(774),a=n(101),c=n(77),u=n(4500),l=n(188),p=Object.getOwnPropertyDescriptor;t.f=r?p:function(e,t){if(e=a(e),t=c(t),l)try{return p(e,t)}catch(e){}if(u(e,t))return o(!s(i.f,e,t),e[t])}},2092:(e,t,n)=>{"use strict";var r=n(7934),s=n(2952).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,s)}},4750:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},9341:(e,t,n)=>{"use strict";var r=n(4500),s=n(6447),i=n(1795),o=n(9766),a=n(4635),c=o("IE_PROTO"),u=Object,l=u.prototype;e.exports=a?u.getPrototypeOf:function(e){var t=i(e);if(r(t,c))return t[c];var n=t.constructor;return s(n)&&t instanceof n?n.prototype:t instanceof u?l:null}},8902:(e,t,n)=>{"use strict";var r=n(4120);e.exports=r({}.isPrototypeOf)},7934:(e,t,n)=>{"use strict";var r=n(4120),s=n(4500),i=n(101),o=n(8180).indexOf,a=n(4535),c=r([].push);e.exports=function(e,t){var n,r=i(e),u=0,l=[];for(n in r)!s(a,n)&&s(r,n)&&c(l,n);for(;t.length>u;)s(r,n=t[u++])&&(~o(l,n)||c(l,n));return l}},7653:(e,t,n)=>{"use strict";var r=n(7934),s=n(2952);e.exports=Object.keys||function(e){return r(e,s)}},6007:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,s=r&&!n.call({1:2},1);t.f=s?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},4469:(e,t,n)=>{"use strict";var r=n(6419),s=n(1138),i=n(7757);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return s(n),i(r),t?e(n,r):n.__proto__=r,n}}():void 0)},158:(e,t,n)=>{"use strict";var r=n(3471),s=n(4696);e.exports=r?{}.toString:function(){return"[object "+s(this)+"]"}},380:(e,t,n)=>{"use strict";var r=n(8922),s=n(6447),i=n(5744),o=TypeError;e.exports=function(e,t){var n,a;if("string"===t&&s(n=e.toString)&&!i(a=r(n,e)))return a;if(s(n=e.valueOf)&&!i(a=r(n,e)))return a;if("string"!==t&&s(n=e.toString)&&!i(a=r(n,e)))return a;throw new o("Can't convert object to primitive value")}},3011:(e,t,n)=>{"use strict";var r=n(150),s=n(4120),i=n(2092),o=n(4750),a=n(1138),c=s([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(a(e)),n=o.f;return n?c(t,n(e)):t}},7545:e=>{"use strict";e.exports={}},7656:(e,t,n)=>{"use strict";var r=n(2454).f;e.exports=function(e,t,n){n in e||r(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})}},3209:(e,t,n)=>{"use strict";var r=n(5646),s=TypeError;e.exports=function(e){if(r(e))throw new s("Can't call method on "+e);return e}},1284:(e,t,n)=>{"use strict";var r=n(3471),s=n(2454).f,i=n(8711),o=n(4500),a=n(158),c=n(8182)("toStringTag");e.exports=function(e,t,n,u){if(e){var l=n?e:e.prototype;o(l,c)||s(l,c,{configurable:!0,value:t}),u&&!r&&i(l,"toString",a)}}},9766:(e,t,n)=>{"use strict";var r=n(8717),s=n(2759),i=r("keys");e.exports=function(e){return i[e]||(i[e]=s(e))}},6434:(e,t,n)=>{"use strict";var r=n(8576),s=n(5098),i="__core-js_shared__",o=r[i]||s(i,{});e.exports=o},8717:(e,t,n)=>{"use strict";var r=n(5546),s=n(6434);(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.33.0",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.0/LICENSE",source:"https://github.com/zloirock/core-js"})},863:(e,t,n)=>{"use strict";var r=n(4120),s=n(1941),i=n(4845),o=n(3209),a=r("".charAt),c=r("".charCodeAt),u=r("".slice),l=function(e){return function(t,n){var r,l,p=i(o(t)),m=s(n),h=p.length;return m<0||m>=h?e?"":void 0:(r=c(p,m))<55296||r>56319||m+1===h||(l=c(p,m+1))<56320||l>57343?e?a(p,m):r:e?u(p,m,m+2):l-56320+(r-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},6770:(e,t,n)=>{"use strict";var r=n(4218),s=n(6192),i=n(8576).String;e.exports=!!Object.getOwnPropertySymbols&&!s((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},7739:(e,t,n)=>{"use strict";var r=n(1941),s=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?s(n+t,0):i(n,t)}},101:(e,t,n)=>{"use strict";var r=n(2202),s=n(3209);e.exports=function(e){return r(s(e))}},1941:(e,t,n)=>{"use strict";var r=n(7679);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},8445:(e,t,n)=>{"use strict";var r=n(1941),s=Math.min;e.exports=function(e){return e>0?s(r(e),9007199254740991):0}},1795:(e,t,n)=>{"use strict";var r=n(3209),s=Object;e.exports=function(e){return s(r(e))}},7888:(e,t,n)=>{"use strict";var r=n(8922),s=n(5744),i=n(3236),o=n(5037),a=n(380),c=n(8182),u=TypeError,l=c("toPrimitive");e.exports=function(e,t){if(!s(e)||i(e))return e;var n,c=o(e,l);if(c){if(void 0===t&&(t="default"),n=r(c,e,t),!s(n)||i(n))return n;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},77:(e,t,n)=>{"use strict";var r=n(7888),s=n(3236);e.exports=function(e){var t=r(e,"string");return s(t)?t:t+""}},3471:(e,t,n)=>{"use strict";var r={};r[n(8182)("toStringTag")]="z",e.exports="[object z]"===String(r)},4845:(e,t,n)=>{"use strict";var r=n(4696),s=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return s(e)}},9288:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},2759:(e,t,n)=>{"use strict";var r=n(4120),s=0,i=Math.random(),o=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++s+i,36)}},615:(e,t,n)=>{"use strict";var r=n(6770);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},9600:(e,t,n)=>{"use strict";var r=n(69),s=n(6192);e.exports=r&&s((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5278:(e,t,n)=>{"use strict";var r=n(8576),s=n(6447),i=r.WeakMap;e.exports=s(i)&&/native code/.test(String(i))},8182:(e,t,n)=>{"use strict";var r=n(8576),s=n(8717),i=n(4500),o=n(2759),a=n(6770),c=n(615),u=r.Symbol,l=s("wks"),p=c?u.for||u:u&&u.withoutSetter||o;e.exports=function(e){return i(l,e)||(l[e]=a&&i(u,e)?u[e]:p("Symbol."+e)),l[e]}},426:(e,t,n)=>{"use strict";var r=n(150),s=n(4500),i=n(8711),o=n(8902),a=n(4469),c=n(7987),u=n(7656),l=n(2643),p=n(6016),m=n(273),h=n(8266),f=n(69),d=n(5546);e.exports=function(e,t,n,y){var g="stackTraceLimit",v=y?2:1,b=e.split("."),E=b[b.length-1],w=r.apply(null,b);if(w){var x=w.prototype;if(!d&&s(x,"cause")&&delete x.cause,!n)return w;var O=r("Error"),S=t((function(e,t){var n=p(y?t:e,void 0),r=y?new w(e):new w;return void 0!==n&&i(r,"message",n),h(r,S,r.stack,2),this&&o(x,this)&&l(r,this,S),arguments.length>v&&m(r,arguments[v]),r}));if(S.prototype=x,"Error"!==E?a?a(S,O):c(S,O,{name:!0}):f&&g in w&&(u(S,w,g),u(S,w,"prepareStackTrace")),c(S,w),!d)try{x.name!==E&&i(x,"name",E),x.constructor=S}catch(e){}return S}}},4016:(e,t,n)=>{"use strict";var r=n(3085),s=n(150),i=n(6298),o=n(6192),a=n(426),c="AggregateError",u=s(c),l=!o((function(){return 1!==u([1]).errors[0]}))&&o((function(){return 7!==u([1],c,{cause:7}).cause}));r({global:!0,constructor:!0,arity:2,forced:l},{AggregateError:a(c,(function(e){return function(t,n){return i(e,this,arguments)}}),l,!0)})},3820:(e,t,n)=>{"use strict";var r=n(3085),s=n(8902),i=n(9341),o=n(4469),a=n(7987),c=n(2853),u=n(8711),l=n(774),p=n(273),m=n(8266),h=n(3442),f=n(6016),d=n(8182)("toStringTag"),y=Error,g=[].push,v=function(e,t){var n,r=s(b,this);o?n=o(new y,r?i(this):b):(n=r?this:c(b),u(n,d,"Error")),void 0!==t&&u(n,"message",f(t)),m(n,v,n.stack,1),arguments.length>2&&p(n,arguments[2]);var a=[];return h(e,g,{that:a}),u(n,"errors",a),n};o?o(v,y):a(v,y,{name:!0});var b=v.prototype=c(y.prototype,{constructor:l(1,v),message:l(1,""),name:l(1,"AggregateError")});r({global:!0,constructor:!0,arity:2},{AggregateError:v})},4242:(e,t,n)=>{"use strict";n(3820)},8939:(e,t,n)=>{"use strict";var r=n(101),s=n(7423),i=n(7771),o=n(3326),a=n(2454).f,c=n(5297),u=n(7271),l=n(5546),p=n(69),m="Array Iterator",h=o.set,f=o.getterFor(m);e.exports=c(Array,"Array",(function(e,t){h(this,{type:m,target:r(e),index:0,kind:t})}),(function(){var e=f(this),t=e.target,n=e.kind,r=e.index++;if(!t||r>=t.length)return e.target=void 0,u(void 0,!0);switch(n){case"keys":return u(r,!1);case"values":return u(t[r],!1)}return u([r,t[r]],!1)}),"values");var d=i.Arguments=i.Array;if(s("keys"),s("values"),s("entries"),!l&&p&&"values"!==d.name)try{a(d,"name",{value:"values"})}catch(e){}},4339:(e,t,n)=>{"use strict";var r=n(3085),s=n(8576),i=n(6298),o=n(426),a="WebAssembly",c=s[a],u=7!==new Error("e",{cause:7}).cause,l=function(e,t){var n={};n[e]=o(e,t,u),r({global:!0,constructor:!0,arity:1,forced:u},n)},p=function(e,t){if(c&&c[e]){var n={};n[e]=o(a+"."+e,t,u),r({target:a,stat:!0,constructor:!0,arity:1,forced:u},n)}};l("Error",(function(e){return function(t){return i(e,this,arguments)}})),l("EvalError",(function(e){return function(t){return i(e,this,arguments)}})),l("RangeError",(function(e){return function(t){return i(e,this,arguments)}})),l("ReferenceError",(function(e){return function(t){return i(e,this,arguments)}})),l("SyntaxError",(function(e){return function(t){return i(e,this,arguments)}})),l("TypeError",(function(e){return function(t){return i(e,this,arguments)}})),l("URIError",(function(e){return function(t){return i(e,this,arguments)}})),p("CompileError",(function(e){return function(t){return i(e,this,arguments)}})),p("LinkError",(function(e){return function(t){return i(e,this,arguments)}})),p("RuntimeError",(function(e){return function(t){return i(e,this,arguments)}}))},5454:(e,t,n)=>{"use strict";var r=n(863).charAt,s=n(4845),i=n(3326),o=n(5297),a=n(7271),c="String Iterator",u=i.set,l=i.getterFor(c);o(String,"String",(function(e){u(this,{type:c,string:s(e),index:0})}),(function(){var e,t=l(this),n=t.string,s=t.index;return s>=n.length?a(void 0,!0):(e=r(n,s),t.index+=e.length,a(e,!1))}))},2752:(e,t,n)=>{"use strict";n(4242)},162:(e,t,n)=>{"use strict";n(8939);var r=n(7365),s=n(8576),i=n(4696),o=n(8711),a=n(7771),c=n(8182)("toStringTag");for(var u in r){var l=s[u],p=l&&l.prototype;p&&i(p)!==c&&o(p,c,u),a[u]=a.Array}},5846:(e,t,n)=>{"use strict";n(2752);var r=n(6791);n(162),e.exports=r},9515:(e,t,n)=>{var r=n(8761)(n(7772),"DataView");e.exports=r},9612:(e,t,n)=>{var r=n(2118),s=n(6909),i=n(8138),o=n(4174),a=n(7942);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=s,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},235:(e,t,n)=>{var r=n(3945),s=n(1846),i=n(8028),o=n(2344),a=n(4769);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=s,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},326:(e,t,n)=>{var r=n(8761)(n(7772),"Map");e.exports=r},6738:(e,t,n)=>{var r=n(2411),s=n(6417),i=n(6928),o=n(9493),a=n(4150);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=s,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},2760:(e,t,n)=>{var r=n(8761)(n(7772),"Promise");e.exports=r},2143:(e,t,n)=>{var r=n(8761)(n(7772),"Set");e.exports=r},5386:(e,t,n)=>{var r=n(6738),s=n(2842),i=n(2482);function o(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}o.prototype.add=o.prototype.push=s,o.prototype.has=i,e.exports=o},6571:(e,t,n)=>{var r=n(235),s=n(5243),i=n(2858),o=n(4417),a=n(8605),c=n(1418);function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=s,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=c,e.exports=u},857:(e,t,n)=>{var r=n(7772).Symbol;e.exports=r},9162:(e,t,n)=>{var r=n(7772).Uint8Array;e.exports=r},3215:(e,t,n)=>{var r=n(8761)(n(7772),"WeakMap");e.exports=r},7552:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,s=0,i=[];++n<r;){var o=e[n];t(o,n,e)&&(i[s++]=o)}return i}},1634:(e,t,n)=>{var r=n(6473),s=n(9631),i=n(6152),o=n(3226),a=n(9045),c=n(7598),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),l=!n&&s(e),p=!n&&!l&&o(e),m=!n&&!l&&!p&&c(e),h=n||l||p||m,f=h?r(e.length,String):[],d=f.length;for(var y in e)!t&&!u.call(e,y)||h&&("length"==y||p&&("offset"==y||"parent"==y)||m&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||a(y,d))||f.push(y);return f}},5067:e=>{e.exports=function(e,t){for(var n=-1,r=t.length,s=e.length;++n<r;)e[s+n]=t[n];return e}},7064:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},2218:(e,t,n)=>{var r=n(1225);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},1897:(e,t,n)=>{var r=n(5067),s=n(6152);e.exports=function(e,t,n){var i=t(e);return s(e)?i:r(i,n(e))}},3366:(e,t,n)=>{var r=n(857),s=n(2107),i=n(7157),o=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?s(e):i(e)}},5183:(e,t,n)=>{var r=n(3366),s=n(5125);e.exports=function(e){return s(e)&&"[object Arguments]"==r(e)}},8746:(e,t,n)=>{var r=n(1952),s=n(5125);e.exports=function e(t,n,i,o,a){return t===n||(null==t||null==n||!s(t)&&!s(n)?t!=t&&n!=n:r(t,n,i,o,e,a))}},1952:(e,t,n)=>{var r=n(6571),s=n(4871),i=n(1491),o=n(7416),a=n(940),c=n(6152),u=n(3226),l=n(7598),p="[object Arguments]",m="[object Array]",h="[object Object]",f=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,d,y,g){var v=c(e),b=c(t),E=v?m:a(e),w=b?m:a(t),x=(E=E==p?h:E)==h,O=(w=w==p?h:w)==h,S=E==w;if(S&&u(e)){if(!u(t))return!1;v=!0,x=!1}if(S&&!x)return g||(g=new r),v||l(e)?s(e,t,n,d,y,g):i(e,t,E,n,d,y,g);if(!(1&n)){var j=x&&f.call(e,"__wrapped__"),P=O&&f.call(t,"__wrapped__");if(j||P){var A=j?e.value():e,_=P?t.value():t;return g||(g=new r),y(A,_,n,d,g)}}return!!S&&(g||(g=new r),o(e,t,n,d,y,g))}},6840:(e,t,n)=>{var r=n(1049),s=n(7394),i=n(9259),o=n(7035),a=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,p=u.hasOwnProperty,m=RegExp("^"+l.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||s(e))&&(r(e)?m:a).test(o(e))}},5522:(e,t,n)=>{var r=n(3366),s=n(1158),i=n(5125),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&s(e.length)&&!!o[r(e)]}},6411:(e,t,n)=>{var r=n(6001),s=n(4248),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return s(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},6473:e=>{e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},7826:e=>{e.exports=function(e){return function(t){return e(t)}}},9950:e=>{e.exports=function(e,t){return e.has(t)}},4019:(e,t,n)=>{var r=n(7772)["__core-js_shared__"];e.exports=r},4871:(e,t,n)=>{var r=n(5386),s=n(7064),i=n(9950);e.exports=function(e,t,n,o,a,c){var u=1&n,l=e.length,p=t.length;if(l!=p&&!(u&&p>l))return!1;var m=c.get(e),h=c.get(t);if(m&&h)return m==t&&h==e;var f=-1,d=!0,y=2&n?new r:void 0;for(c.set(e,t),c.set(t,e);++f<l;){var g=e[f],v=t[f];if(o)var b=u?o(v,g,f,t,e,c):o(g,v,f,e,t,c);if(void 0!==b){if(b)continue;d=!1;break}if(y){if(!s(t,(function(e,t){if(!i(y,t)&&(g===e||a(g,e,n,o,c)))return y.push(t)}))){d=!1;break}}else if(g!==v&&!a(g,v,n,o,c)){d=!1;break}}return c.delete(e),c.delete(t),d}},1491:(e,t,n)=>{var r=n(857),s=n(9162),i=n(1225),o=n(4871),a=n(5179),c=n(4207),u=r?r.prototype:void 0,l=u?u.valueOf:void 0;e.exports=function(e,t,n,r,u,p,m){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!p(new s(e),new s(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var h=a;case"[object Set]":var f=1&r;if(h||(h=c),e.size!=t.size&&!f)return!1;var d=m.get(e);if(d)return d==t;r|=2,m.set(e,t);var y=o(h(e),h(t),r,u,p,m);return m.delete(e),y;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},7416:(e,t,n)=>{var r=n(3483),s=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,o,a){var c=1&n,u=r(e),l=u.length;if(l!=r(t).length&&!c)return!1;for(var p=l;p--;){var m=u[p];if(!(c?m in t:s.call(t,m)))return!1}var h=a.get(e),f=a.get(t);if(h&&f)return h==t&&f==e;var d=!0;a.set(e,t),a.set(t,e);for(var y=c;++p<l;){var g=e[m=u[p]],v=t[m];if(i)var b=c?i(v,g,m,t,e,a):i(g,v,m,e,t,a);if(!(void 0===b?g===v||o(g,v,n,i,a):b)){d=!1;break}y||(y="constructor"==m)}if(d&&!y){var E=e.constructor,w=t.constructor;E==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof E&&E instanceof E&&"function"==typeof w&&w instanceof w||(d=!1)}return a.delete(e),a.delete(t),d}},1242:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},3483:(e,t,n)=>{var r=n(1897),s=n(633),i=n(249);e.exports=function(e){return r(e,i,s)}},7937:(e,t,n)=>{var r=n(8304);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},8761:(e,t,n)=>{var r=n(6840),s=n(8109);e.exports=function(e,t){var n=s(e,t);return r(n)?n:void 0}},2107:(e,t,n)=>{var r=n(857),s=Object.prototype,i=s.hasOwnProperty,o=s.toString,a=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,a),n=e[a];try{e[a]=void 0;var r=!0}catch(e){}var s=o.call(e);return r&&(t?e[a]=n:delete e[a]),s}},633:(e,t,n)=>{var r=n(7552),s=n(981),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,a=o?function(e){return null==e?[]:(e=Object(e),r(o(e),(function(t){return i.call(e,t)})))}:s;e.exports=a},940:(e,t,n)=>{var r=n(9515),s=n(326),i=n(2760),o=n(2143),a=n(3215),c=n(3366),u=n(7035),l="[object Map]",p="[object Promise]",m="[object Set]",h="[object WeakMap]",f="[object DataView]",d=u(r),y=u(s),g=u(i),v=u(o),b=u(a),E=c;(r&&E(new r(new ArrayBuffer(1)))!=f||s&&E(new s)!=l||i&&E(i.resolve())!=p||o&&E(new o)!=m||a&&E(new a)!=h)&&(E=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,r=n?u(n):"";if(r)switch(r){case d:return f;case y:return l;case g:return p;case v:return m;case b:return h}return t}),e.exports=E},8109:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},2118:(e,t,n)=>{var r=n(9191);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},6909:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},8138:(e,t,n)=>{var r=n(9191),s=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return s.call(t,e)?t[e]:void 0}},4174:(e,t,n)=>{var r=n(9191),s=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:s.call(t,e)}},7942:(e,t,n)=>{var r=n(9191);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},9045:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},8304:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},7394:(e,t,n)=>{var r,s=n(4019),i=(r=/[^.]+$/.exec(s&&s.keys&&s.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},6001:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},3945:e=>{e.exports=function(){this.__data__=[],this.size=0}},1846:(e,t,n)=>{var r=n(2218),s=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():s.call(t,n,1),--this.size,!0)}},8028:(e,t,n)=>{var r=n(2218);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},2344:(e,t,n)=>{var r=n(2218);e.exports=function(e){return r(this.__data__,e)>-1}},4769:(e,t,n)=>{var r=n(2218);e.exports=function(e,t){var n=this.__data__,s=r(n,e);return s<0?(++this.size,n.push([e,t])):n[s][1]=t,this}},2411:(e,t,n)=>{var r=n(9612),s=n(235),i=n(326);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||s),string:new r}}},6417:(e,t,n)=>{var r=n(7937);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},6928:(e,t,n)=>{var r=n(7937);e.exports=function(e){return r(this,e).get(e)}},9493:(e,t,n)=>{var r=n(7937);e.exports=function(e){return r(this,e).has(e)}},4150:(e,t,n)=>{var r=n(7937);e.exports=function(e,t){var n=r(this,e),s=n.size;return n.set(e,t),this.size+=n.size==s?0:1,this}},5179:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},9191:(e,t,n)=>{var r=n(8761)(Object,"create");e.exports=r},4248:(e,t,n)=>{var r=n(241)(Object.keys,Object);e.exports=r},4146:(e,t,n)=>{e=n.nmd(e);var r=n(1242),s=t&&!t.nodeType&&t,i=s&&e&&!e.nodeType&&e,o=i&&i.exports===s&&r.process,a=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=a},7157:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},241:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},7772:(e,t,n)=>{var r=n(1242),s="object"==typeof self&&self&&self.Object===Object&&self,i=r||s||Function("return this")();e.exports=i},2842:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},2482:e=>{e.exports=function(e){return this.__data__.has(e)}},4207:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},5243:(e,t,n)=>{var r=n(235);e.exports=function(){this.__data__=new r,this.size=0}},2858:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},4417:e=>{e.exports=function(e){return this.__data__.get(e)}},8605:e=>{e.exports=function(e){return this.__data__.has(e)}},1418:(e,t,n)=>{var r=n(235),s=n(326),i=n(6738);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var o=n.__data__;if(!s||o.length<199)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(o)}return n.set(e,t),this.size=n.size,this}},7035:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},1225:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},9631:(e,t,n)=>{var r=n(5183),s=n(5125),i=Object.prototype,o=i.hasOwnProperty,a=i.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(e){return s(e)&&o.call(e,"callee")&&!a.call(e,"callee")};e.exports=c},6152:e=>{var t=Array.isArray;e.exports=t},7878:(e,t,n)=>{var r=n(1049),s=n(1158);e.exports=function(e){return null!=e&&s(e.length)&&!r(e)}},4335:(e,t,n)=>{var r=n(3366),s=n(5125);e.exports=function(e){return!0===e||!1===e||s(e)&&"[object Boolean]"==r(e)}},3226:(e,t,n)=>{e=n.nmd(e);var r=n(7772),s=n(6330),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?r.Buffer:void 0,c=(a?a.isBuffer:void 0)||s;e.exports=c},8149:(e,t,n)=>{var r=n(8746);e.exports=function(e,t){return r(e,t)}},1049:(e,t,n)=>{var r=n(3366),s=n(9259);e.exports=function(e){if(!s(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1158:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},5877:e=>{e.exports=function(e){return null===e}},537:(e,t,n)=>{var r=n(3366),s=n(5125);e.exports=function(e){return"number"==typeof e||s(e)&&"[object Number]"==r(e)}},9259:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},5125:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},5505:(e,t,n)=>{var r=n(3366),s=n(6152),i=n(5125);e.exports=function(e){return"string"==typeof e||!s(e)&&i(e)&&"[object String]"==r(e)}},7598:(e,t,n)=>{var r=n(5522),s=n(7826),i=n(4146),o=i&&i.isTypedArray,a=o?s(o):r;e.exports=a},249:(e,t,n)=>{var r=n(1634),s=n(6411),i=n(7878);e.exports=function(e){return i(e)?r(e):s(e)}},1570:e=>{e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},981:e=>{e.exports=function(){return[]}},6330:e=>{e.exports=function(){return!1}},1178:(e,t,n)=>{const r=n(1570);function s(e){return"string"==typeof e?t=>t.element===e:e.constructor&&e.extend?t=>t instanceof e:e}class i{constructor(e){this.elements=e||[]}toValue(){return this.elements.map((e=>e.toValue()))}map(e,t){return this.elements.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const n=[];return this.forEach((r=>{const s=e.bind(t)(r);s&&n.push(s)})),n}filter(e,t){return e=s(e),new i(this.elements.filter(e,t))}reject(e,t){return e=s(e),new i(this.elements.filter(r(e),t))}find(e,t){return e=s(e),this.elements.find(e,t)}forEach(e,t){this.elements.forEach(e,t)}reduce(e,t){return this.elements.reduce(e,t)}includes(e){return this.elements.some((t=>t.equals(e)))}shift(){return this.elements.shift()}unshift(e){this.elements.unshift(this.refract(e))}push(e){return this.elements.push(this.refract(e)),this}add(e){this.push(e)}get(e){return this.elements[e]}getValue(e){const t=this.elements[e];if(t)return t.toValue()}get length(){return this.elements.length}get isEmpty(){return 0===this.elements.length}get first(){return this.elements[0]}}"undefined"!=typeof Symbol&&(i.prototype[Symbol.iterator]=function(){return this.elements[Symbol.iterator]()}),e.exports=i},3026:e=>{class t{constructor(e,t){this.key=e,this.value=t}clone(){const e=new t;return this.key&&(e.key=this.key.clone()),this.value&&(e.value=this.value.clone()),e}}e.exports=t},5140:(e,t,n)=>{const r=n(5877),s=n(5505),i=n(537),o=n(4335),a=n(9259),c=n(2947),u=n(3756);class l{constructor(e){this.elementMap={},this.elementDetection=[],this.Element=u.Element,this.KeyValuePair=u.KeyValuePair,e&&e.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(e){return e.namespace&&e.namespace({base:this}),e.load&&e.load({base:this}),this}useDefault(){return this.register("null",u.NullElement).register("string",u.StringElement).register("number",u.NumberElement).register("boolean",u.BooleanElement).register("array",u.ArrayElement).register("object",u.ObjectElement).register("member",u.MemberElement).register("ref",u.RefElement).register("link",u.LinkElement),this.detect(r,u.NullElement,!1).detect(s,u.StringElement,!1).detect(i,u.NumberElement,!1).detect(o,u.BooleanElement,!1).detect(Array.isArray,u.ArrayElement,!1).detect(a,u.ObjectElement,!1),this}register(e,t){return this._elements=void 0,this.elementMap[e]=t,this}unregister(e){return this._elements=void 0,delete this.elementMap[e],this}detect(e,t,n){return void 0===n||n?this.elementDetection.unshift([e,t]):this.elementDetection.push([e,t]),this}toElement(e){if(e instanceof this.Element)return e;let t;for(let n=0;n<this.elementDetection.length;n+=1){const r=this.elementDetection[n][0],s=this.elementDetection[n][1];if(r(e)){t=new s(e);break}}return t}getElementClass(e){const t=this.elementMap[e];return void 0===t?this.Element:t}fromRefract(e){return this.serialiser.deserialise(e)}toRefract(e){return this.serialiser.serialise(e)}get elements(){return void 0===this._elements&&(this._elements={Element:this.Element},Object.keys(this.elementMap).forEach((e=>{const t=e[0].toUpperCase()+e.substr(1);this._elements[t]=this.elementMap[e]}))),this._elements}get serialiser(){return new c(this)}}c.prototype.Namespace=l,e.exports=l},3853:(e,t,n)=>{const r=n(1570),s=n(1178);class i extends s{map(e,t){return this.elements.map((n=>e.bind(t)(n.value,n.key,n)))}filter(e,t){return new i(this.elements.filter((n=>e.bind(t)(n.value,n.key,n))))}reject(e,t){return this.filter(r(e.bind(t)))}forEach(e,t){return this.elements.forEach(((n,r)=>{e.bind(t)(n.value,n.key,n,r)}))}keys(){return this.map(((e,t)=>t.toValue()))}values(){return this.map((e=>e.toValue()))}}e.exports=i},3756:(e,t,n)=>{const r=n(6420),s=n(4152),i=n(9542),o=n(3710),a=n(3312),c=n(1641),u=n(8858),l=n(3860),p=n(5202),m=n(2320),h=n(1178),f=n(3853),d=n(3026);function y(e){if(e instanceof r)return e;if("string"==typeof e)return new i(e);if("number"==typeof e)return new o(e);if("boolean"==typeof e)return new a(e);if(null===e)return new s;if(Array.isArray(e))return new c(e.map(y));if("object"==typeof e){return new l(e)}return e}r.prototype.ObjectElement=l,r.prototype.RefElement=m,r.prototype.MemberElement=u,r.prototype.refract=y,h.prototype.refract=y,e.exports={Element:r,NullElement:s,StringElement:i,NumberElement:o,BooleanElement:a,ArrayElement:c,MemberElement:u,ObjectElement:l,LinkElement:p,RefElement:m,refract:y,ArraySlice:h,ObjectSlice:f,KeyValuePair:d}},5202:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e||[],t,n),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(e){this.attributes.set("relation",e)}get href(){return this.attributes.get("href")}set href(e){this.attributes.set("href",e)}}},2320:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e||[],t,n),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(e){this.attributes.set("path",e)}}},7952:(e,t,n)=>{const r=n(5140),s=n(3756);t.lS=r,t.KeyValuePair=n(3026),t.O4=s.ArraySlice,t.rm=s.ObjectSlice,t.W_=s.Element,t.RP=s.StringElement,t.VL=s.NumberElement,t.hh=s.BooleanElement,t.zr=s.NullElement,t.ON=s.ArrayElement,t.Sb=s.ObjectElement,t.c6=s.MemberElement,t.tK=s.RefElement,t.EA=s.LinkElement,t.Qc=s.refract,n(2947),n(8910)},1641:(e,t,n)=>{const r=n(1570),s=n(6420),i=n(1178);class o extends s{constructor(e,t,n){super(e||[],t,n),this.element="array"}primitive(){return"array"}get(e){return this.content[e]}getValue(e){const t=this.get(e);if(t)return t.toValue()}getIndex(e){return this.content[e]}set(e,t){return this.content[e]=this.refract(t),this}remove(e){const t=this.content.splice(e,1);return t.length?t[0]:null}map(e,t){return this.content.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const n=[];return this.forEach((r=>{const s=e.bind(t)(r);s&&n.push(s)})),n}filter(e,t){return new i(this.content.filter(e,t))}reject(e,t){return this.filter(r(e),t)}reduce(e,t){let n,r;void 0!==t?(n=0,r=this.refract(t)):(n=1,r="object"===this.primitive()?this.first.value:this.first);for(let t=n;t<this.length;t+=1){const n=this.content[t];r="object"===this.primitive()?this.refract(e(r,n.value,n.key,n,this)):this.refract(e(r,n,t,this))}return r}forEach(e,t){this.content.forEach(((n,r)=>{e.bind(t)(n,this.refract(r))}))}shift(){return this.content.shift()}unshift(e){this.content.unshift(this.refract(e))}push(e){return this.content.push(this.refract(e)),this}add(e){this.push(e)}findElements(e,t){const n=t||{},r=!!n.recursive,s=void 0===n.results?[]:n.results;return this.forEach(((t,n,i)=>{r&&void 0!==t.findElements&&t.findElements(e,{results:s,recursive:r}),e(t,n,i)&&s.push(t)})),s}find(e){return new i(this.findElements(e,{recursive:!0}))}findByElement(e){return this.find((t=>t.element===e))}findByClass(e){return this.find((t=>t.classes.includes(e)))}getById(e){return this.find((t=>t.id.toValue()===e)).first}includes(e){return this.content.some((t=>t.equals(e)))}contains(e){return this.includes(e)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(e){return new this.constructor(this.content.concat(e.content))}"fantasy-land/concat"(e){return this.concat(e)}"fantasy-land/map"(e){return new this.constructor(this.map(e))}"fantasy-land/chain"(e){return this.map((t=>e(t)),this).reduce(((e,t)=>e.concat(t)),this.empty())}"fantasy-land/filter"(e){return new this.constructor(this.content.filter(e))}"fantasy-land/reduce"(e,t){return this.content.reduce(e,t)}get length(){return this.content.length}get isEmpty(){return 0===this.content.length}get first(){return this.getIndex(0)}get second(){return this.getIndex(1)}get last(){return this.getIndex(this.length-1)}}o.empty=function(){return new this},o["fantasy-land/empty"]=o.empty,"undefined"!=typeof Symbol&&(o.prototype[Symbol.iterator]=function(){return this.content[Symbol.iterator]()}),e.exports=o},3312:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e,t,n),this.element="boolean"}primitive(){return"boolean"}}},6420:(e,t,n)=>{const r=n(8149),s=n(3026),i=n(1178);class o{constructor(e,t,n){t&&(this.meta=t),n&&(this.attributes=n),this.content=e}freeze(){Object.isFrozen(this)||(this._meta&&(this.meta.parent=this,this.meta.freeze()),this._attributes&&(this.attributes.parent=this,this.attributes.freeze()),this.children.forEach((e=>{e.parent=this,e.freeze()}),this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const e=new this.constructor;return e.element=this.element,this.meta.length&&(e._meta=this.meta.clone()),this.attributes.length&&(e._attributes=this.attributes.clone()),this.content?this.content.clone?e.content=this.content.clone():Array.isArray(this.content)?e.content=this.content.map((e=>e.clone())):e.content=this.content:e.content=this.content,e}toValue(){return this.content instanceof o?this.content.toValue():this.content instanceof s?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map((e=>e.toValue()),this):this.content}toRef(e){if(""===this.id.toValue())throw Error("Cannot create reference to an element that does not contain an ID");const t=new this.RefElement(this.id.toValue());return e&&(t.path=e),t}findRecursive(...e){if(arguments.length>1&&!this.isFrozen)throw new Error("Cannot find recursive with multiple element names without first freezing the element. Call `element.freeze()`");const t=e.pop();let n=new i;const r=(e,t)=>(e.push(t),e),o=(e,n)=>{n.element===t&&e.push(n);const i=n.findRecursive(t);return i&&i.reduce(r,e),n.content instanceof s&&(n.content.key&&o(e,n.content.key),n.content.value&&o(e,n.content.value)),e};return this.content&&(this.content.element&&o(n,this.content),Array.isArray(this.content)&&this.content.reduce(o,n)),e.isEmpty||(n=n.filter((t=>{let n=t.parents.map((e=>e.element));for(const t in e){const r=e[t],s=n.indexOf(r);if(-1===s)return!1;n=n.splice(0,s)}return!0}))),n}set(e){return this.content=e,this}equals(e){return r(this.toValue(),e)}getMetaProperty(e,t){if(!this.meta.hasKey(e)){if(this.isFrozen){const e=this.refract(t);return e.freeze(),e}this.meta.set(e,t)}return this.meta.get(e)}setMetaProperty(e,t){this.meta.set(e,t)}get element(){return this._storedElement||"element"}set element(e){this._storedElement=e}get content(){return this._content}set content(e){if(e instanceof o)this._content=e;else if(e instanceof i)this.content=e.elements;else if("string"==typeof e||"number"==typeof e||"boolean"==typeof e||"null"===e||null==e)this._content=e;else if(e instanceof s)this._content=e;else if(Array.isArray(e))this._content=e.map(this.refract);else{if("object"!=typeof e)throw new Error("Cannot set content to given value");this._content=Object.keys(e).map((t=>new this.MemberElement(t,e[t])))}}get meta(){if(!this._meta){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._meta=new this.ObjectElement}return this._meta}set meta(e){e instanceof this.ObjectElement?this._meta=e:this.meta.set(e||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._attributes=new this.ObjectElement}return this._attributes}set attributes(e){e instanceof this.ObjectElement?this._attributes=e:this.attributes.set(e||{})}get id(){return this.getMetaProperty("id","")}set id(e){this.setMetaProperty("id",e)}get classes(){return this.getMetaProperty("classes",[])}set classes(e){this.setMetaProperty("classes",e)}get title(){return this.getMetaProperty("title","")}set title(e){this.setMetaProperty("title",e)}get description(){return this.getMetaProperty("description","")}set description(e){this.setMetaProperty("description",e)}get links(){return this.getMetaProperty("links",[])}set links(e){this.setMetaProperty("links",e)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:e}=this;const t=new i;for(;e;)t.push(e),e=e.parent;return t}get children(){if(Array.isArray(this.content))return new i(this.content);if(this.content instanceof s){const e=new i([this.content.key]);return this.content.value&&e.push(this.content.value),e}return this.content instanceof o?new i([this.content]):new i}get recursiveChildren(){const e=new i;return this.children.forEach((t=>{e.push(t),t.recursiveChildren.forEach((t=>{e.push(t)}))})),e}}e.exports=o},8858:(e,t,n)=>{const r=n(3026),s=n(6420);e.exports=class extends s{constructor(e,t,n,s){super(new r,n,s),this.element="member",this.key=e,this.value=t}get key(){return this.content.key}set key(e){this.content.key=this.refract(e)}get value(){return this.content.value}set value(e){this.content.value=this.refract(e)}}},4152:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e||null,t,n),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},3710:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e,t,n),this.element="number"}primitive(){return"number"}}},3860:(e,t,n)=>{const r=n(1570),s=n(9259),i=n(1641),o=n(8858),a=n(3853);e.exports=class extends i{constructor(e,t,n){super(e||[],t,n),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(((e,t)=>(e[t.key.toValue()]=t.value?t.value.toValue():void 0,e)),{})}get(e){const t=this.getMember(e);if(t)return t.value}getMember(e){if(void 0!==e)return this.content.find((t=>t.key.toValue()===e))}remove(e){let t=null;return this.content=this.content.filter((n=>n.key.toValue()!==e||(t=n,!1))),t}getKey(e){const t=this.getMember(e);if(t)return t.key}set(e,t){if(s(e))return Object.keys(e).forEach((t=>{this.set(t,e[t])})),this;const n=e,r=this.getMember(n);return r?r.value=t:this.content.push(new o(n,t)),this}keys(){return this.content.map((e=>e.key.toValue()))}values(){return this.content.map((e=>e.value.toValue()))}hasKey(e){return this.content.some((t=>t.key.equals(e)))}items(){return this.content.map((e=>[e.key.toValue(),e.value.toValue()]))}map(e,t){return this.content.map((n=>e.bind(t)(n.value,n.key,n)))}compactMap(e,t){const n=[];return this.forEach(((r,s,i)=>{const o=e.bind(t)(r,s,i);o&&n.push(o)})),n}filter(e,t){return new a(this.content).filter(e,t)}reject(e,t){return this.filter(r(e),t)}forEach(e,t){return this.content.forEach((n=>e.bind(t)(n.value,n.key,n)))}}},9542:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e,t,n),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},8910:(e,t,n)=>{const r=n(2947);e.exports=class extends r{serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);let t;e._attributes&&e.attributes.get("variable")&&(t=e.attributes.get("variable"));const n={element:e.element};e._meta&&e._meta.length>0&&(n.meta=this.serialiseObject(e.meta));const r="enum"===e.element||-1!==e.attributes.keys().indexOf("enumerations");if(r){const t=this.enumSerialiseAttributes(e);t&&(n.attributes=t)}else if(e._attributes&&e._attributes.length>0){let{attributes:r}=e;r.get("metadata")&&(r=r.clone(),r.set("meta",r.get("metadata")),r.remove("metadata")),"member"===e.element&&t&&(r=r.clone(),r.remove("variable")),r.length>0&&(n.attributes=this.serialiseObject(r))}if(r)n.content=this.enumSerialiseContent(e,n);else if(this[`${e.element}SerialiseContent`])n.content=this[`${e.element}SerialiseContent`](e,n);else if(void 0!==e.content){let r;t&&e.content.key?(r=e.content.clone(),r.key.attributes.set("variable",t),r=this.serialiseContent(r)):r=this.serialiseContent(e.content),this.shouldSerialiseContent(e,r)&&(n.content=r)}else this.shouldSerialiseContent(e,e.content)&&e instanceof this.namespace.elements.Array&&(n.content=[]);return n}shouldSerialiseContent(e,t){return"parseResult"===e.element||"httpRequest"===e.element||"httpResponse"===e.element||"category"===e.element||"link"===e.element||void 0!==t&&(!Array.isArray(t)||0!==t.length)}refSerialiseContent(e,t){return delete t.attributes,{href:e.toValue(),path:e.path.toValue()}}sourceMapSerialiseContent(e){return e.toValue()}dataStructureSerialiseContent(e){return[this.serialiseContent(e.content)]}enumSerialiseAttributes(e){const t=e.attributes.clone(),n=t.remove("enumerations")||new this.namespace.elements.Array([]),r=t.get("default");let s=t.get("samples")||new this.namespace.elements.Array([]);if(r&&r.content&&(r.content.attributes&&r.content.attributes.remove("typeAttributes"),t.set("default",new this.namespace.elements.Array([r.content]))),s.forEach((e=>{e.content&&e.content.element&&e.content.attributes.remove("typeAttributes")})),e.content&&0!==n.length&&s.unshift(e.content),s=s.map((e=>e instanceof this.namespace.elements.Array?[e]:new this.namespace.elements.Array([e.content]))),s.length&&t.set("samples",s),t.length>0)return this.serialiseObject(t)}enumSerialiseContent(e){if(e._attributes){const t=e.attributes.get("enumerations");if(t&&t.length>0)return t.content.map((e=>{const t=e.clone();return t.attributes.remove("typeAttributes"),this.serialise(t)}))}if(e.content){const t=e.content.clone();return t.attributes.remove("typeAttributes"),[this.serialise(t)]}return[]}deserialise(e){if("string"==typeof e)return new this.namespace.elements.String(e);if("number"==typeof e)return new this.namespace.elements.Number(e);if("boolean"==typeof e)return new this.namespace.elements.Boolean(e);if(null===e)return new this.namespace.elements.Null;if(Array.isArray(e))return new this.namespace.elements.Array(e.map(this.deserialise,this));const t=this.namespace.getElementClass(e.element),n=new t;n.element!==e.element&&(n.element=e.element),e.meta&&this.deserialiseObject(e.meta,n.meta),e.attributes&&this.deserialiseObject(e.attributes,n.attributes);const r=this.deserialiseContent(e.content);if(void 0===r&&null!==n.content||(n.content=r),"enum"===n.element){n.content&&n.attributes.set("enumerations",n.content);let e=n.attributes.get("samples");if(n.attributes.remove("samples"),e){const r=e;e=new this.namespace.elements.Array,r.forEach((r=>{r.forEach((r=>{const s=new t(r);s.element=n.element,e.push(s)}))}));const s=e.shift();n.content=s?s.content:void 0,n.attributes.set("samples",e)}else n.content=void 0;let r=n.attributes.get("default");if(r&&r.length>0){r=r.get(0);const e=new t(r);e.element=n.element,n.attributes.set("default",e)}}else if("dataStructure"===n.element&&Array.isArray(n.content))[n.content]=n.content;else if("category"===n.element){const e=n.attributes.get("meta");e&&(n.attributes.set("metadata",e),n.attributes.remove("meta"))}else"member"===n.element&&n.key&&n.key._attributes&&n.key._attributes.getValue("variable")&&(n.attributes.set("variable",n.key.attributes.get("variable")),n.key.attributes.remove("variable"));return n}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}return e&&e.map?e.map(this.serialise,this):e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}shouldRefract(e){return!!(e._attributes&&e.attributes.keys().length||e._meta&&e.meta.keys().length)||"enum"!==e.element&&(e.element!==e.primitive()||"member"===e.element)}convertKeyToRefract(e,t){return this.shouldRefract(t)?this.serialise(t):"enum"===t.element?this.serialiseEnum(t):"array"===t.element?t.map((t=>this.shouldRefract(t)||"default"===e?this.serialise(t):"array"===t.element||"object"===t.element||"enum"===t.element?t.children.map((e=>this.serialise(e))):t.toValue())):"object"===t.element?(t.content||[]).map(this.serialise,this):t.toValue()}serialiseEnum(e){return e.children.map((e=>this.serialise(e)))}serialiseObject(e){const t={};return e.forEach(((e,n)=>{if(e){const r=n.toValue();t[r]=this.convertKeyToRefract(r,e)}})),t}deserialiseObject(e,t){Object.keys(e).forEach((n=>{t.set(n,this.deserialise(e[n]))}))}}},2947:e=>{e.exports=class{constructor(e){this.namespace=e||new this.Namespace}serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);const t={element:e.element};e._meta&&e._meta.length>0&&(t.meta=this.serialiseObject(e.meta)),e._attributes&&e._attributes.length>0&&(t.attributes=this.serialiseObject(e.attributes));const n=this.serialiseContent(e.content);return void 0!==n&&(t.content=n),t}deserialise(e){if(!e.element)throw new Error("Given value is not an object containing an element name");const t=new(this.namespace.getElementClass(e.element));t.element!==e.element&&(t.element=e.element),e.meta&&this.deserialiseObject(e.meta,t.meta),e.attributes&&this.deserialiseObject(e.attributes,t.attributes);const n=this.deserialiseContent(e.content);return void 0===n&&null!==t.content||(t.content=n),t}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}if(e&&e.map){if(0===e.length)return;return e.map(this.serialise,this)}return e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}serialiseObject(e){const t={};if(e.forEach(((e,n)=>{e&&(t[n.toValue()]=this.serialise(e))})),0!==Object.keys(t).length)return t}deserialiseObject(e,t){Object.keys(e).forEach((n=>{t.set(n,this.deserialise(e[n]))}))}}},6591:e=>{!function(){"use strict";var t,n,r,s,i,o="properties",a="deepProperties",c="propertyDescriptors",u="staticProperties",l="staticDeepProperties",p="staticPropertyDescriptors",m="configuration",h="deepConfiguration",f="deepProps",d="deepStatics",y="deepConf",g="initializers",v="methods",b="composers",E="compose";function w(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[])}function x(e,t){return Array.prototype.slice.call(arguments,2).reduce(e,t)}var O=x.bind(0,(function(e,t){if(t)for(var n=w(t),r=0;r<n.length;r+=1)Object.defineProperty(e,n[r],Object.getOwnPropertyDescriptor(t,n[r]));return e}));function S(e){return"function"==typeof e}function j(e){return e&&"object"==typeof e||S(e)}function P(e){return e&&"object"==typeof e&&e.__proto__==Object.prototype}var A=x.bind(0,(function e(n,r){if(r===t)return n;if(Array.isArray(r))return(Array.isArray(n)?n:[]).concat(r);if(!P(r))return r;for(var s,i,o=w(r),a=0;a<o.length;)s=o[a++],(i=Object.getOwnPropertyDescriptor(r,s)).hasOwnProperty("value")?i.value!==t&&(n[s]=e(P(n[s])||Array.isArray(r[s])?n[s]:{},r[s])):Object.defineProperty(n,s,i);return n}));function _(){return(n=Array.prototype.concat.apply([],arguments).filter((function(e,t,n){return S(e)&&n.indexOf(e)===t}))).length?n:t}function k(e,t){function r(n,r){j(t[n])&&(j(e[n])||(e[n]={}),(r||O)(e[n],t[n]))}function s(r){(n=_(e[r],t[r]))&&(e[r]=n)}return t&&j(t=t[E]||t)&&(r(v),r(o),r(a,A),r(c),r(u),r(l,A),r(p),r(m),r(h,A),s(g),s(b)),e}function I(){return function(e){return n=function e(n){var r,s,i=e[E]||{},u={__proto__:i[v]},l=i[g],p=Array.prototype.slice.apply(arguments),m=i[a];if(m&&A(u,m),(m=i[o])&&O(u,m),(m=i[c])&&Object.defineProperties(u,m),!l||!l.length)return u;for(n===t&&(n={}),i=0;i<l.length;)S(r=l[i++])&&(u=(s=r.call(u,n,{instance:u,stamp:e,args:p}))===t?u:s);return u},(r=e[l])&&A(n,r),(r=e[u])&&O(n,r),(r=e[p])&&Object.defineProperties(n,r),r=S(n[E])?n[E]:I,O(n[E]=function(){return r.apply(this,arguments)},e),n}(Array.prototype.concat.apply([this],arguments).reduce(k,{}))}function T(e){return S(e)&&S(e[E])}var M={};function R(e,i){return function(){return(s={})[e]=i.apply(t,Array.prototype.concat.apply([{}],arguments)),((n=this)&&n[E]||r).call(n,s)}}M[v]=R(v,O),M[o]=M.props=R(o,O),M[g]=M.init=R(g,_),M[b]=R(b,_),M[a]=M[f]=R(a,A),M[u]=M.statics=R(u,O),M[l]=M[d]=R(l,A),M[m]=M.conf=R(m,O),M[h]=M[y]=R(h,A),M[c]=R(c,O),M[p]=R(p,O),r=M[E]=O((function(){for(var e,w,x=0,S=[],P=arguments,k=this;x<P.length;)j(e=P[x++])&&S.push(T(e)?e:((s={})[v]=(w=e)[v]||t,r=w.props,s[o]=j((n=w[o])||r)?O({},r,n):t,s[g]=_(w.init,w[g]),s[b]=_(w[b]),r=w[f],s[a]=j((n=w[a])||r)?A({},r,n):t,s[c]=w[c],r=w.statics,s[u]=j((n=w[u])||r)?O({},r,n):t,r=w[d],s[l]=j((n=w[l])||r)?A({},r,n):t,n=w[p],s[p]=j((r=w.name&&{name:{value:w.name}})||n)?O({},n,r):t,r=w.conf,s[m]=j((n=w[m])||r)?O({},r,n):t,r=w[y],s[h]=j((n=w[h])||r)?A({},r,n):t,s));if(e=I.apply(k||i,S),k&&S.unshift(k),Array.isArray(P=e[E][b]))for(x=0;x<P.length;)e=T(k=P[x++]({stamp:e,composables:S}))?k:e;return e}),M),M.create=function(){return this.apply(t,arguments)},(s={})[u]=M,i=I(s),r[E]=r.bind(),r.version="4.3.2","object"!=typeof t?e.exports=r:self.stampit=r}()},1427:(e,t,n)=>{e.exports=n(6762)}},t={};function n(r){var s=t[r];if(void 0!==s)return s.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var r={};return(()=>{"use strict";n.r(r),n.d(r,{AlternatingVisitor:()=>ja,ContactElement:()=>Ls,DefinitionsElement:()=>gi,ExampleElement:()=>ti,ExternalDocumentationElement:()=>Ys,FallbackVisitor:()=>co,FixedFieldsVisitor:()=>go,HeaderElement:()=>ci,HeadersElement:()=>ai,InfoElement:()=>qs,ItemsElement:()=>Zs,JSONReferenceElement:()=>Mn,LicenseElement:()=>zs,MapVisitor:()=>_a,MixedFieldsVisitor:()=>Oa,OpenAPIMediaTypes:()=>Ms,OperationConsumesElement:()=>Mi,OperationElement:()=>Xs,OperationParametersElement:()=>$i,OperationProducesElement:()=>Fi,OperationSchemesElement:()=>Ci,OperationSecurityElement:()=>Vi,OperationTagsElement:()=>Bi,ParameterElement:()=>Qs,ParametersDefinitionsElement:()=>bi,PathItemElement:()=>Gs,PathItemParametersElement:()=>Hi,PathsElement:()=>Js,PatternedFieldsVisitor:()=>Io,ReferenceElement:()=>di,ResponseElement:()=>ii,ResponsesDefinitionsElement:()=>wi,ResponsesElement:()=>ri,SchemaElement:()=>pi,ScopesElement:()=>Ai,SecurityDefinitionsElement:()=>Oi,SecurityRequirementElement:()=>ki,SecuritySchemeElement:()=>ji,SpecificationVisitor:()=>uo,SwaggerConsumesElement:()=>Ki,SwaggerElement:()=>Ns,SwaggerProducesElement:()=>Wi,SwaggerSchemesElement:()=>Ui,SwaggerSecurityElement:()=>Qi,SwaggerTagsElement:()=>eo,SwaggerVersionElement:()=>Ds,TagElement:()=>li,Visitor:()=>ao,XmlElement:()=>hi,createRefractor:()=>rc,default:()=>Ii,getNodeType:()=>to,isArrayElement:()=>ue,isBooleanElement:()=>ae,isContactElement:()=>No,isDefinitionsElement:()=>Zo,isElement:()=>re,isExampleElement:()=>Jo,isExternalDocumentationElement:()=>qo,isHeaderElement:()=>Uo,isHeadersElement:()=>Ho,isInfoElement:()=>Ro,isItemsElement:()=>Lo,isJSONReferenceElement:()=>Cn,isLicenseElement:()=>$o,isLinkPrimitiveElement:()=>pe,isMemberElement:()=>le,isNullElement:()=>oe,isNumberElement:()=>ie,isObjectElement:()=>ce,isOperationElement:()=>Co,isParameterElement:()=>Vo,isParametersDefinitionsElement:()=>ea,isPathItemElement:()=>Do,isPathsElement:()=>Fo,isRefElement:()=>me,isReferenceElement:()=>Ko,isReferenceLikeElement:()=>yo,isResponseElement:()=>zo,isResponsesDefinitionsElement:()=>Yo,isResponsesElement:()=>Bo,isSchemaElement:()=>Xo,isScopesElement:()=>na,isSecurityDefinitionsElement:()=>Qo,isSecurityRequirementElement:()=>ra,isSecuritySchemeElement:()=>ta,isStringElement:()=>se,isSwaggerElement:()=>To,isSwaggerExtension:()=>fo,isSwaggerVersionElement:()=>Mo,isTagElement:()=>Go,isXmlElement:()=>Wo,keyMap:()=>no,mediaTypes:()=>Rs,refract:()=>sc,refractorPluginReplaceEmptyElement:()=>oo,specificationObj:()=>ec});var e={};n.r(e),n.d(e,{hasElementSourceMap:()=>ve,includesClasses:()=>Ee,includesSymbols:()=>be,isAnnotationElement:()=>he,isArrayElement:()=>ue,isBooleanElement:()=>ae,isCommentElement:()=>fe,isElement:()=>re,isLinkElement:()=>pe,isMemberElement:()=>le,isNullElement:()=>oe,isNumberElement:()=>ie,isObjectElement:()=>ce,isParseResultElement:()=>de,isPrimitiveElement:()=>ge,isRefElement:()=>me,isSourceMapElement:()=>ye,isStringElement:()=>se});var t={};n.r(t),n.d(t,{isJSONReferenceElement:()=>Cn,isJSONSchemaElement:()=>Dn,isLinkDescriptionElement:()=>Vn,isMediaElement:()=>qn});var s={};n.r(s),n.d(s,{isReferenceLikeElement:()=>yo,isSwaggerExtension:()=>fo});var i={};n.r(i),n.d(i,{isContactElement:()=>No,isDefinitionsElement:()=>Zo,isExampleElement:()=>Jo,isExternalDocumentationElement:()=>qo,isHeaderElement:()=>Uo,isHeadersElement:()=>Ho,isInfoElement:()=>Ro,isItemsElement:()=>Lo,isLicenseElement:()=>$o,isOperationElement:()=>Co,isParameterElement:()=>Vo,isParametersDefinitionsElement:()=>ea,isPathItemElement:()=>Do,isPathsElement:()=>Fo,isReferenceElement:()=>Ko,isResponseElement:()=>zo,isResponsesDefinitionsElement:()=>Yo,isResponsesElement:()=>Bo,isSchemaElement:()=>Xo,isScopesElement:()=>na,isSecurityDefinitionsElement:()=>Qo,isSecurityRequirementElement:()=>ra,isSecuritySchemeElement:()=>ta,isSwaggerElement:()=>To,isSwaggerVersionElement:()=>Mo,isTagElement:()=>Go,isXmlElement:()=>Wo});var o=n(7952);function a(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function c(e){return function t(n){return 0===arguments.length||a(n)?t:e.apply(this,arguments)}}function u(e){return function t(n,r){switch(arguments.length){case 0:return t;case 1:return a(n)?t:c((function(t){return e(n,t)}));default:return a(n)&&a(r)?t:a(n)?c((function(t){return e(t,r)})):a(r)?c((function(t){return e(n,t)})):e(n,r)}}}const l=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function p(e,t,n){return function(){if(0===arguments.length)return n();var r=arguments[arguments.length-1];if(!l(r)){for(var s=0;s<e.length;){if("function"==typeof r[e[s]])return r[e[s]].apply(r,Array.prototype.slice.call(arguments,0,-1));s+=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 m(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}const h=function(){return this.xf["@@transducer/init"]()},f=function(e){return this.xf["@@transducer/result"](e)};var d=function(){function e(e,t){this.xf=t,this.f=e,this.all=!0}return e.prototype["@@transducer/init"]=h,e.prototype["@@transducer/result"]=function(e){return this.all&&(e=this.xf["@@transducer/step"](e,!0)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)||(this.all=!1,e=m(this.xf["@@transducer/step"](e,!1))),e},e}();function y(e){return function(t){return new d(e,t)}}const g=u(p(["all"],y,(function(e,t){for(var n=0;n<t.length;){if(!e(t[n]))return!1;n+=1}return!0})));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,s){return t.apply(this,arguments)};case 5:return function(e,n,r,s,i){return t.apply(this,arguments)};case 6:return function(e,n,r,s,i,o){return t.apply(this,arguments)};case 7:return function(e,n,r,s,i,o,a){return t.apply(this,arguments)};case 8:return function(e,n,r,s,i,o,a,c){return t.apply(this,arguments)};case 9:return function(e,n,r,s,i,o,a,c,u){return t.apply(this,arguments)};case 10:return function(e,n,r,s,i,o,a,c,u,l){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function b(e,t,n){return function(){for(var r=[],s=0,i=e,o=0,c=!1;o<t.length||s<arguments.length;){var u;o<t.length&&(!a(t[o])||s>=arguments.length)?u=t[o]:(u=arguments[s],s+=1),r[o]=u,a(u)?c=!0:i-=1,o+=1}return!c&&i<=0?n.apply(this,r):v(Math.max(0,i),b(e,r,n))}}const E=u((function(e,t){return 1===e?c(t):v(e,b(e,[],t))}));const w=c((function(e){return E(e.length,(function(t,n){var r=Array.prototype.slice.call(arguments,0);return r[0]=n,r[1]=t,e.apply(this,r)}))}));function x(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function O(e,t,n){for(var r=0,s=n.length;r<s;){if(e(t,n[r]))return!0;r+=1}return!1}function S(e,t){return Object.prototype.hasOwnProperty.call(t,e)}const j="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};var P=Object.prototype.toString;const A=function(){return"[object Arguments]"===P.call(arguments)?function(e){return"[object Arguments]"===P.call(e)}:function(e){return S("callee",e)}}();var _=!{toString:null}.propertyIsEnumerable("toString"),k=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],I=function(){return arguments.propertyIsEnumerable("length")}(),T=function(e,t){for(var n=0;n<e.length;){if(e[n]===t)return!0;n+=1}return!1},M="function"!=typeof Object.keys||I?c((function(e){if(Object(e)!==e)return[];var t,n,r=[],s=I&&A(e);for(t in e)!S(t,e)||s&&"length"===t||(r[r.length]=t);if(_)for(n=k.length-1;n>=0;)S(t=k[n],e)&&!T(r,t)&&(r[r.length]=t),n-=1;return r})):c((function(e){return Object(e)!==e?[]:Object.keys(e)}));const R=M;const $=c((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function N(e,t,n,r){var s=x(e);function i(e,t){return F(e,t,n.slice(),r.slice())}return!O((function(e,t){return!O(i,t,e)}),x(t),s)}function F(e,t,n,r){if(j(e,t))return!0;var s,i,o=$(e);if(o!==$(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"===(s=e.constructor,null==(i=String(s).match(/^function (\w*)/))?"":i[1]))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!j(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!j(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(o){case"Map":return e.size===t.size&&N(e.entries(),t.entries(),n.concat([e]),r.concat([t]));case"Set":return e.size===t.size&&N(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=R(e);if(c.length!==R(t).length)return!1;var u=n.concat([e]),l=r.concat([t]);for(a=c.length-1;a>=0;){var p=c[a];if(!S(p,t)||!F(t[p],e[p],u,l))return!1;a-=1}return!0}const D=u((function(e,t){return F(e,t,[],[])}));function C(e,t){return function(e,t,n){var r,s;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(r=1/t;n<e.length;){if(0===(s=e[n])&&1/s===r)return n;n+=1}return-1}if(t!=t){for(;n<e.length;){if("number"==typeof(s=e[n])&&s!=s)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(D(e[n],t))return n;n+=1}return-1}(t,e,0)>=0}const q=w(u(C));class V extends o.RP{constructor(e,t,n){super(e,t,n),this.element="annotation"}get code(){return this.attributes.get("code")}set code(e){this.attributes.set("code",e)}}const L=V;class B extends o.RP{constructor(e,t,n){super(e,t,n),this.element="comment"}}const z=B;const H=c((function(e){return function(){return e}}));const J=H(void 0);const U=D(J());class G extends o.ON{constructor(e,t,n){super(e,t,n),this.element="parseResult"}get api(){return this.children.filter((e=>e.classes.contains("api"))).first}get results(){return this.children.filter((e=>e.classes.contains("result")))}get result(){return this.results.first}get annotations(){return this.children.filter((e=>"annotation"===e.element))}get warnings(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("warning")))}get errors(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("error")))}get isEmpty(){return this.children.reject((e=>"annotation"===e.element)).isEmpty}replaceResult(e){const{result:t}=this;if(U(t))return!1;const n=this.content.findIndex((e=>e===t));return-1!==n&&(this.content[n]=e,!0)}}const K=G;class X extends o.ON{constructor(e,t,n){super(e,t,n),this.element="sourceMap"}get positionStart(){return this.children.filter((e=>e.classes.contains("position"))).get(0)}get positionEnd(){return this.children.filter((e=>e.classes.contains("position"))).get(1)}set position(e){if(null===e)return;const t=new o.ON([e.start.row,e.start.column,e.start.char]),n=new o.ON([e.end.row,e.end.column,e.end.char]);t.classes.push("position"),n.classes.push("position"),this.push(t).push(n)}}const W=X,Y=(e,t)=>"object"==typeof t&&null!==t&&e in t&&"function"==typeof t[e],Q=e=>"object"==typeof e&&null!=e&&"_storedElement"in e&&"string"==typeof e._storedElement&&"_content"in e,Z=(e,t)=>"object"==typeof t&&null!==t&&"primitive"in t&&("function"==typeof t.primitive&&t.primitive()===e),ee=(e,t)=>"object"==typeof t&&null!==t&&"classes"in t&&(Array.isArray(t.classes)||t.classes instanceof o.ON)&&t.classes.includes(e),te=(e,t)=>"object"==typeof t&&null!==t&&"element"in t&&t.element===e,ne=e=>e({hasMethod:Y,hasBasicElementProps:Q,primitiveEq:Z,isElementType:te,hasClass:ee}),re=ne((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof o.W_||e(n)&&t(void 0,n))),se=ne((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof o.RP||e(n)&&t("string",n))),ie=ne((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof o.VL||e(n)&&t("number",n))),oe=ne((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof o.zr||e(n)&&t("null",n))),ae=ne((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof o.hh||e(n)&&t("boolean",n))),ce=ne((({hasBasicElementProps:e,primitiveEq:t,hasMethod:n})=>r=>r instanceof o.Sb||e(r)&&t("object",r)&&n("keys",r)&&n("values",r)&&n("items",r))),ue=ne((({hasBasicElementProps:e,primitiveEq:t,hasMethod:n})=>r=>r instanceof o.ON&&!(r instanceof o.Sb)||e(r)&&t("array",r)&&n("push",r)&&n("unshift",r)&&n("map",r)&&n("reduce",r))),le=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof o.c6||e(r)&&t("member",r)&&n(void 0,r))),pe=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof o.EA||e(r)&&t("link",r)&&n(void 0,r))),me=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof o.tK||e(r)&&t("ref",r)&&n(void 0,r))),he=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof L||e(r)&&t("annotation",r)&&n("array",r))),fe=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof z||e(r)&&t("comment",r)&&n("string",r))),de=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof K||e(r)&&t("parseResult",r)&&n("array",r))),ye=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof W||e(r)&&t("sourceMap",r)&&n("array",r))),ge=e=>te("object",e)||te("array",e)||te("boolean",e)||te("number",e)||te("string",e)||te("null",e)||te("member",e),ve=e=>ye(e.meta.get("sourceMap")),be=(e,t)=>{if(0===e.length)return!0;const n=t.attributes.get("symbols");return!!ue(n)&&g(q(n.toValue()),e)},Ee=(e,t)=>0===e.length||g(q(t.classes.toValue()),e);function we(e){return function t(n,r,s){switch(arguments.length){case 0:return t;case 1:return a(n)?t:u((function(t,r){return e(n,t,r)}));case 2:return a(n)&&a(r)?t:a(n)?u((function(t,n){return e(t,r,n)})):a(r)?u((function(t,r){return e(n,t,r)})):c((function(t){return e(n,r,t)}));default:return a(n)&&a(r)&&a(s)?t:a(n)&&a(r)?u((function(t,n){return e(t,n,s)})):a(n)&&a(s)?u((function(t,n){return e(t,r,n)})):a(r)&&a(s)?u((function(t,r){return e(n,t,r)})):a(n)?c((function(t){return e(t,r,s)})):a(r)?c((function(t){return e(n,t,s)})):a(s)?c((function(t){return e(n,r,t)})):e(n,r,s)}}}const xe=u((function(e,t){return null==t||t!=t?e:t})),Oe=Number.isInteger||function(e){return e<<0===e};function Se(e){return"[object String]"===Object.prototype.toString.call(e)}const je=u((function(e,t){var n=e<0?t.length+e:e;return Se(t)?t.charAt(n):t[n]}));const Pe=u((function(e,t){if(null!=t)return Oe(e)?je(e,t):t[e]}));const Ae=we((function(e,t,n){return xe(e,Pe(t,n))}));const _e=u((function(e,t){return e.map((function(e){for(var n,r=t,s=0;s<e.length;){if(null==r)return;n=e[s],r=Oe(n)?je(n,r):r[n],s+=1}return r}))}));const ke=u((function(e,t){return _e([e],t)[0]}));function Ie(e,t){return function(){var n=arguments.length;if(0===n)return t();var r=arguments[n-1];return l(r)||"function"!=typeof r[e]?t.apply(this,arguments):r[e].apply(r,Array.prototype.slice.call(arguments,0,n-1))}}const Te=we(Ie("slice",(function(e,t,n){return Array.prototype.slice.call(n,e,t)})));const Me=Te(0,-1);const Re=u((function(e,t){return v(e.length,(function(){return e.apply(t,arguments)}))}));const $e=u((function(e,t){return e.apply(this,t)}));function Ne(e,t,n){for(var r=0,s=n.length;r<s;)t=e(t,n[r]),r+=1;return t}const Fe=c((function(e){return!!l(e)||!!e&&("object"==typeof e&&(!Se(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));var De="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function Ce(e,t,n){return function(r,s,i){if(Fe(i))return e(r,s,i);if(null==i)return s;if("function"==typeof i["fantasy-land/reduce"])return t(r,s,i,"fantasy-land/reduce");if(null!=i[De])return n(r,s,i[De]());if("function"==typeof i.next)return n(r,s,i);if("function"==typeof i.reduce)return t(r,s,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function qe(e,t,n){for(var r=n.next();!r.done;)t=e(t,r.value),r=n.next();return t}function Ve(e,t,n,r){return n[r](e,t)}const Le=Ce(Ne,Ve,qe);function Be(e,t){for(var n=0,r=t.length,s=Array(r);n<r;)s[n]=e(t[n]),n+=1;return s}var ze=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=h,e.prototype["@@transducer/result"]=f,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}();const He=u(p(["fantasy-land/map","map"],(function(e){return function(t){return new ze(e,t)}}),(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return E(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return Ne((function(n,r){return n[r]=e(t[r]),n}),{},R(t));default:return Be(e,t)}})));const Je=u((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))}:Le((function(e,n){return function(e,t){var n;t=t||[];var r=(e=e||[]).length,s=t.length,i=[];for(n=0;n<r;)i[i.length]=e[n],n+=1;for(n=0;n<s;)i[i.length]=t[n],n+=1;return i}(e,He(n,t))}),[],e)}));const Ue=u((function(e,t){var n=E(e,t);return E(e,(function(){return Ne(Je,He(n,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const Ge=c((function(e){return Ue(e.length,e)}));const Ke=Ge(c((function(e){return!e})));function Xe(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 We=function(e){return(e<10?"0":"")+e};const Ye="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+We(e.getUTCMonth()+1)+"-"+We(e.getUTCDate())+"T"+We(e.getUTCHours())+":"+We(e.getUTCMinutes())+":"+We(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function Qe(e){return"[object Object]"===Object.prototype.toString.call(e)}var Ze=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=h,e.prototype["@@transducer/result"]=f,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}();function et(e){return function(t){return new Ze(e,t)}}const tt=u(p(["fantasy-land/filter","filter"],et,(function(e,t){return Qe(t)?Ne((function(n,r){return e(t[r])&&(n[r]=t[r]),n}),{},R(t)):function(e,t){for(var n=0,r=t.length,s=[];n<r;)e(t[n])&&(s[s.length]=t[n]),n+=1;return s}(e,t)})));const nt=u((function(e,t){return tt((n=e,function(){return!n.apply(this,arguments)}),t);var n}));function rt(e,t){var n=function(n){var r=t.concat([e]);return C(n,r)?"<Circular>":rt(n,r)},r=function(e,t){return Be((function(t){return Xe(t)+": "+n(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+Be(n,e).join(", ")+"))";case"[object Array]":return"["+Be(n,e).concat(r(e,nt((function(e){return/^\d+$/.test(e)}),R(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):Xe(Ye(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())+")":Xe(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var s=e.toString();if("[object Object]"!==s)return s}return"{"+r(e,R(e)).join(", ")+"}"}}const st=c((function(e){return rt(e,[])}));const it=u((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 s=n(typeof e,typeof t);if(void 0!==s)return s===typeof e?e:t;var i=st(e),o=n(i,st(t));return void 0!==o&&o===i?e:t}));const ot=u((function(e,t){return He(Pe(e),t)}));function at(e,t,n){for(var r=0,s=n.length;r<s;){if((t=e["@@transducer/step"](t,n[r]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r+=1}return e["@@transducer/result"](t)}function ct(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 ut(e,t,n,r){return e["@@transducer/result"](n[r](Re(e["@@transducer/step"],e),t))}const lt=Ce(at,ut,ct);var pt=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 mt=we((function(e,t,n){return lt("function"==typeof e?new pt(e):e,t,n)}));const ht=c((function(e){return E(mt(it,0,ot("length",e)),(function(){for(var t=0,n=e.length;t<n;){if(e[t].apply(this,arguments))return!0;t+=1}return!1}))}));function ft(e,t){return function(){return t.call(this,e.apply(this,arguments))}}const dt=c(Ie("tail",Te(1,1/0)));function yt(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return v(arguments[0].length,mt(ft,arguments[0],dt(arguments)))}var gt=function(e,t){switch(arguments.length){case 0:return gt;case 1:return function t(n){return 0===arguments.length?t:j(e,n)};default:return j(e,t)}};const vt=gt;const bt=E(1,yt($,vt("GeneratorFunction")));const Et=E(1,yt($,vt("AsyncFunction")));const wt=ht([yt($,vt("Function")),bt,Et]);const xt=Ke(wt);function Ot(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const St=u((function(e,t){return e&&t}));const jt=u((function(e,t){return Ot(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:Ge(St)(e,t)}));var Pt=c((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():l(e)?[]:Se(e)?"":Qe(e)?{}:A(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 At=Pt;const _t=c((function(e){return null!=e&&D(e,At(e))}));const kt=E(1,wt(Array.isArray)?Array.isArray:yt($,vt("Array")));const It=jt(kt,_t);const Tt=E(3,(function(e,t,n){var r=ke(e,n),s=ke(Me(e),n);if(!xt(r)&&!It(e)){var i=Re(r,s);return $e(i,t)}}));const Mt=we((function(e,t,n){return e(ke(t,n))}));const Rt=D(null);const $t=Ke(Rt);function Nt(e){return Nt="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},Nt(e)}const Ft=function(e){return"object"===Nt(e)};const Dt=E(1,jt($t,Ft));var Ct=yt($,vt("Object")),qt=yt(st,D(st(Object))),Vt=Mt(jt(wt,qt),["constructor"]);const Lt=E(1,(function(e){if(!Dt(e)||!Ct(e))return!1;var t=Object.getPrototypeOf(e);return!!Rt(t)||Vt(t)}));class Bt extends o.lS{constructor(){super(),this.register("annotation",L),this.register("comment",z),this.register("parseResult",K),this.register("sourceMap",W)}}const zt=new Bt,Ht=e=>{const t=new Bt;return Lt(e)&&t.use(e),t},Jt=zt,Ut=()=>({predicates:{...e},namespace:Jt});var Gt=n(6591),Kt=n.n(Gt);const Xt=function(){return!1};const Wt=E(1,yt($,vt("String")));var Yt=u((function(e,t){for(var n={},r={},s=0,i=e.length;s<i;)r[e[s]]=1,s+=1;for(var o in t)r.hasOwnProperty(o)||(n[o]=t[o]);return n}));const Qt=Yt;const Zt=c((function(e){return null==e}));var en=u((function(e,t){return!Zt(t)&&e in t}));const tn=en;var nn=n(1427);const rn=class extends nn{constructor(e,t,n){if(super(e,t,n),this.name=this.constructor.name,"string"==typeof t&&(this.message=t),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(t).stack,Lt(n)&&tn("cause",n)&&!tn("cause",this)){const{cause:e}=n;this.cause=e,e instanceof Error&&tn("stack",e)&&(this.stack=`${this.stack}\nCAUSE: ${null==e?void 0:e.stack}`)}}};class sn extends Error{static[Symbol.hasInstance](e){return super[Symbol.hasInstance](e)||Function.prototype[Symbol.hasInstance].call(rn,e)}constructor(e,t){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,Lt(t)&&tn("cause",t)&&!tn("cause",this)){const{cause:e}=t;this.cause=e,e instanceof Error&&tn("stack",e)&&(this.stack=`${this.stack}\nCAUSE: ${null==e?void 0:e.stack}`)}}}const on=sn;const an=class extends on{constructor(e,t){super(e,t),void 0!==t&&Object.assign(this,Qt(["cause"],t))}},cn=(e,t,n)=>{const r=e[t];if(null!=r){if(!n&&"function"==typeof r)return r;const e=n?r.leave:r.enter;if("function"==typeof e)return e}else{const r=n?e.leave:e.enter;if(null!=r){if("function"==typeof r)return r;const e=r[t];if("function"==typeof e)return e}}return null},un={},ln=e=>null==e?void 0:e.type,pn=e=>"string"==typeof ln(e),mn=e=>Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e)),hn=(e,t,{keyMap:n=null,state:r={},breakSymbol:s=un,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=cn,nodeTypeGetter:c=ln,nodePredicate:u=pn,nodeCloneFn:l=mn,detectCycles:p=!0}={})=>{const m=n||{};let h,f,d=Array.isArray(e),y=[e],g=-1,v=[],b=e;const E=[],w=[];do{g+=1;const e=g===y.length;let n;const O=e&&0!==v.length;if(e){if(n=0===w.length?void 0:E.pop(),b=f,f=w.pop(),O)if(d){b=b.slice();let e=0;for(const[t,n]of v){const r=t-e;n===i?(b.splice(r,1),e+=1):b[r]=n}}else{b=l(b);for(const[e,t]of v)b[e]=t}g=h.index,y=h.keys,v=h.edits,d=h.inArray,h=h.prev}else if(f!==i&&void 0!==f){if(n=d?g:y[g],b=f[n],b===i||void 0===b)continue;E.push(n)}if(w.includes(b))continue;let S;if(!Array.isArray(b)){if(!u(b))throw new an(`Invalid AST Node: ${String(b)}`,{node:b});if(p&&w.includes(b)){E.pop();continue}const i=a(t,c(b),e);if(i){for(const[e,n]of Object.entries(r))t[e]=n;S=i.call(t,b,n,f,E,w)}if(S===s)break;if(S===o){if(!e){E.pop();continue}}else if(void 0!==S&&(v.push([n,S]),!e)){if(!u(S)){E.pop();continue}b=S}}var x;if(void 0===S&&O&&v.push([n,b]),!e)h={inArray:d,index:g,keys:y,edits:v,prev:h},d=Array.isArray(b),y=d?b:null!==(x=m[c(b)])&&void 0!==x?x:[],g=-1,v=[],f!==i&&void 0!==f&&w.push(f),f=b}while(void 0!==h);return 0!==v.length?v.at(-1)[1]:e};hn[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:n=null,state:r={},breakSymbol:s=un,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=cn,nodeTypeGetter:c=ln,nodePredicate:u=pn,nodeCloneFn:l=mn,detectCycles:p=!0}={})=>{const m=n||{};let h,f,d=Array.isArray(e),y=[e],g=-1,v=[],b=e;const E=[],w=[];do{g+=1;const e=g===y.length;let n;const O=e&&0!==v.length;if(e){if(n=0===w.length?void 0:E.pop(),b=f,f=w.pop(),O)if(d){b=b.slice();let e=0;for(const[t,n]of v){const r=t-e;n===i?(b.splice(r,1),e+=1):b[r]=n}}else{b=l(b);for(const[e,t]of v)b[e]=t}g=h.index,y=h.keys,v=h.edits,d=h.inArray,h=h.prev}else if(f!==i&&void 0!==f){if(n=d?g:y[g],b=f[n],b===i||void 0===b)continue;E.push(n)}let S;if(!Array.isArray(b)){if(!u(b))throw new an(`Invalid AST Node: ${String(b)}`,{node:b});if(p&&w.includes(b)){E.pop();continue}const i=a(t,c(b),e);if(i){for(const[e,n]of Object.entries(r))t[e]=n;S=await i.call(t,b,n,f,E,w)}if(S===s)break;if(S===o){if(!e){E.pop();continue}}else if(void 0!==S&&(v.push([n,S]),!e)){if(!u(S)){E.pop();continue}b=S}}var x;if(void 0===S&&O&&v.push([n,b]),!e)h={inArray:d,index:g,keys:y,edits:v,prev:h},d=Array.isArray(b),y=d?b:null!==(x=m[c(b)])&&void 0!==x?x:[],g=-1,v=[],f!==i&&void 0!==f&&w.push(f),f=b}while(void 0!==h);return 0!==v.length?v.at(-1)[1]:e};const fn=class extends an{constructor(e,t){super(e,t),void 0!==t&&(this.value=t.source)}};const dn=class extends fn{};const yn=class extends fn{},gn=(e,t={})=>{const{visited:n=new WeakMap}=t,r={...t,visited:n};if(n.has(e))return n.get(e);if(e instanceof o.KeyValuePair){const{key:t,value:s}=e,i=re(t)?gn(t,r):t,a=re(s)?gn(s,r):s,c=new o.KeyValuePair(i,a);return n.set(e,c),c}if(e instanceof o.rm){const t=e=>gn(e,r),s=[...e].map(t),i=new o.rm(s);return n.set(e,i),i}if(e instanceof o.O4){const t=e=>gn(e,r),s=[...e].map(t),i=new o.O4(s);return n.set(e,i),i}if(re(e)){const t=En(e);if(n.set(e,t),e.content)if(re(e.content))t.content=gn(e.content,r);else if(e.content instanceof o.KeyValuePair)t.content=gn(e.content,r);else if(Array.isArray(e.content)){const n=e=>gn(e,r);t.content=e.content.map(n)}else t.content=e.content;else t.content=e.content;return t}throw new dn("Value provided to cloneDeep function couldn't be cloned",{value:e})};gn.safe=e=>{try{return gn(e)}catch{return e}};const vn=e=>{const{key:t,value:n}=e;return new o.KeyValuePair(t,n)},bn=e=>{const t=new e.constructor;if(t.element=e.element,e.meta.length>0&&(t._meta=gn(e.meta)),e.attributes.length>0&&(t._attributes=gn(e.attributes)),re(e.content)){const n=e.content;t.content=bn(n)}else Array.isArray(e.content)?t.content=[...e.content]:e.content instanceof o.KeyValuePair?t.content=vn(e.content):t.content=e.content;return t},En=e=>{if(e instanceof o.KeyValuePair)return vn(e);if(e instanceof o.rm)return(e=>{const t=[...e];return new o.rm(t)})(e);if(e instanceof o.O4)return(e=>{const t=[...e];return new o.O4(t)})(e);if(re(e))return bn(e);throw new yn("Value provided to cloneShallow function couldn't be cloned",{value:e})};En.safe=e=>{try{return En(e)}catch{return e}};const wn=e=>ce(e)?"ObjectElement":ue(e)?"ArrayElement":le(e)?"MemberElement":se(e)?"StringElement":ae(e)?"BooleanElement":ie(e)?"NumberElement":oe(e)?"NullElement":pe(e)?"LinkElement":me(e)?"RefElement":void 0,xn=e=>re(e)?En(e):mn(e),On=yt(wn,Wt),Sn={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]},jn=(Gt({props:{result:[],predicate:Xt,returnOnTrue:void 0,returnOnFalse:void 0},init({predicate:e=this.predicate,returnOnTrue:t=this.returnOnTrue,returnOnFalse:n=this.returnOnFalse}={}){this.result=[],this.predicate=e,this.returnOnTrue=t,this.returnOnFalse=n},methods:{enter(e){return this.predicate(e)?(this.result.push(e),this.returnOnTrue):this.returnOnFalse}}}),(e,t,{keyMap:n=Sn,...r}={})=>hn(e,t,{keyMap:n,nodeTypeGetter:wn,nodePredicate:On,nodeCloneFn:xn,...r}));jn[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:n=Sn,...r}={})=>hn[Symbol.for("nodejs.util.promisify.custom")](e,t,{keyMap:n,nodeTypeGetter:wn,nodePredicate:On,nodeCloneFn:xn,...r});const Pn=(e,t,n={})=>{if(0===t.length)return e;const r=Ae(Ut,"toolboxCreator",n),s=Ae({},"visitorOptions",n),i=Ae(wn,"nodeTypeGetter",s),o=r(),a=t.map((e=>e(o))),c=((e,{visitFnGetter:t=cn,nodeTypeGetter:n=ln}={})=>{const r=new Array(e.length).fill(null);return{enter(s,...i){for(let o=0;o<e.length;o+=1)if(null===r[o]){const a=t(e[o],n(s),!1);if("function"==typeof a){const t=a.call(e[o],s,...i);if(!1===t)r[o]=s;else if(t===un)r[o]=un;else if(void 0!==t)return t}}},leave(s,...i){for(let o=0;o<e.length;o+=1)if(null===r[o]){const a=t(e[o],n(s),!0);if("function"==typeof a){const t=a.call(e[o],s,...i);if(t===un)r[o]=un;else if(void 0!==t&&!1!==t)return t}}else r[o]===s&&(r[o]=null)}}})(a.map(Ae({},"visitor")),{nodeTypeGetter:i});a.forEach(Tt(["pre"],[]));const u=jn(e,c,s);return a.forEach(Tt(["post"],[])),u},An=(e,{Type:t,plugins:n=[]})=>{const r=new t(e);return Pn(r,n,{toolboxCreator:Ut,visitorOptions:{nodeTypeGetter:wn}})},_n=e=>(t,n={})=>An(t,{...n,Type:e});o.Sb.refract=_n(o.Sb),o.ON.refract=_n(o.ON),o.RP.refract=_n(o.RP),o.hh.refract=_n(o.hh),o.zr.refract=_n(o.zr),o.VL.refract=_n(o.VL),o.EA.refract=_n(o.EA),o.tK.refract=_n(o.tK),L.refract=_n(L),z.refract=_n(z),K.refract=_n(K),W.refract=_n(W);class kn extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="JSONSchemaDraft4"}get idProp(){return this.get("id")}set idProp(e){this.set("id",e)}get $schema(){return this.get("$schema")}set $schema(e){this.set("idProp",e)}get multipleOf(){return this.get("multipleOf")}set multipleOf(e){this.set("multipleOf",e)}get maximum(){return this.get("maximum")}set maximum(e){this.set("maximum",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get minimum(){return this.get("minimum")}set minimum(e){this.set("minimum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get maxLength(){return this.get("maxLength")}set maxLength(e){this.set("maxLength",e)}get minLength(){return this.get("minLength")}set minLength(e){this.set("minLength",e)}get pattern(){return this.get("pattern")}set pattern(e){this.set("pattern",e)}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get maxItems(){return this.get("maxItems")}set maxItems(e){this.set("maxItems",e)}get minItems(){return this.get("minItems")}set minItems(e){this.set("minItems",e)}get uniqueItems(){return this.get("uniqueItems")}set uniqueItems(e){this.set("uniqueItems",e)}get maxProperties(){return this.get("maxProperties")}set maxProperties(e){this.set("maxProperties",e)}get minProperties(){return this.get("minProperties")}set minProperties(e){this.set("minProperties",e)}get required(){return this.get("required")}set required(e){this.set("required",e)}get properties(){return this.get("properties")}set properties(e){this.set("properties",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get patternProperties(){return this.get("patternProperties")}set patternProperties(e){this.set("patternProperties",e)}get dependencies(){return this.get("dependencies")}set dependencies(e){this.set("dependencies",e)}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}get allOf(){return this.get("allOf")}set allOf(e){this.set("allOf",e)}get anyOf(){return this.get("anyOf")}set anyOf(e){this.set("anyOf",e)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get definitions(){return this.get("definitions")}set definitions(e){this.set("definitions",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get format(){return this.get("format")}set format(e){this.set("format",e)}get base(){return this.get("base")}set base(e){this.set("base",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}get media(){return this.get("media")}set media(e){this.set("media",e)}get readOnly(){return this.get("readOnly")}set readOnly(e){this.set("readOnly",e)}}const In=kn;class Tn extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="JSONReference",this.classes.push("json-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const Mn=Tn;class Rn extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="media"}get binaryEncoding(){return this.get("binaryEncoding")}set binaryEncoding(e){this.set("binaryEncoding",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}}const $n=Rn;class Nn extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="linkDescription"}get href(){return this.get("href")}set href(e){this.set("href",e)}get rel(){return this.get("rel")}set rel(e){this.set("rel",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get mediaType(){return this.get("mediaType")}set mediaType(e){this.set("mediaType",e)}get method(){return this.get("method")}set method(e){this.set("method",e)}get encType(){return this.get("encType")}set encType(e){this.set("encType",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}}const Fn=Nn,Dn=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof In||e(r)&&t("JSONSchemaDraft4",r)&&n("object",r))),Cn=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Mn||e(r)&&t("JSONReference",r)&&n("object",r))),qn=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof $n||e(r)&&t("media",r)&&n("object",r))),Vn=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Fn||e(r)&&t("linkDescription",r)&&n("object",r)));const Ln=u((function(e,t){return Ne((function(n,r){return n[r]=e(t[r],r,t),n}),{},R(t))}));const Bn=u((function(e,t){if(0===e.length||Zt(t))return!1;for(var n=t,r=0;r<e.length;){if(Zt(n)||!S(e[r],n))return!1;n=n[e[r]],r+=1}return!0}));var zn=u((function(e,t){return Bn([e],t)}));const Hn=zn;const Jn=we((function(e,t,n){return e(Pe(t,n))}));const Un=c((function(e){return E(e.length,e)}));const Gn=u((function(e,t){return E(e+1,(function(){var n=arguments[e];if(null!=n&&Ot(n[t]))return n[t].apply(n,Array.prototype.slice.call(arguments,0,e));throw new TypeError(st(n)+' does not have a method named "'+t+'"')}))}));const Kn=Gn(1,"split");var Xn=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=h,e.prototype["@@transducer/result"]=f,e.prototype["@@transducer/step"]=function(e,t){if(this.f){if(this.f(t))return e;this.f=null}return this.xf["@@transducer/step"](e,t)},e}();function Wn(e){return function(t){return new Xn(e,t)}}const Yn=u(p(["dropWhile"],Wn,(function(e,t){for(var n=0,r=t.length;n<r&&e(t[n]);)n+=1;return Te(n,1/0,t)})));const Qn=Gn(1,"join");const Zn=Un((function(e,t){return yt(Kn(""),Yn(q(e)),Qn(""))(t)})),er=(e,t)=>{const n=xe(e,t);return Ln((e=>{if(Lt(e)&&Hn("$ref",e)&&Jn(Wt,"$ref",e)){const t=ke(["$ref"],e),r=Zn("#/",t);return ke(r.split("/"),n)}return Lt(e)?er(e,n):e}),e)},tr=Gt({props:{element:null},methods:{copyMetaAndAttributes(e,t){ve(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),nr=Gt(tr,{methods:{enter(e){return this.element=gn(e),un}}});const rr=H(J());const sr=function(){return!0},ir=e=>"string"==typeof(null==e?void 0:e.type)?e.type:wn(e),or={EphemeralObject:["content"],EphemeralArray:["content"],...Sn},ar=(e,t,{keyMap:n=or,...r}={})=>jn(e,t,{keyMap:n,nodeTypeGetter:ir,nodePredicate:sr,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...r});ar[Symbol.for("nodejs.util.promisify.custom")]=async(e,{keyMap:t=or,...n}={})=>jn[Symbol.for("nodejs.util.promisify.custom")](e,visitor,{keyMap:t,nodeTypeGetter:ir,nodePredicate:sr,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...n});const cr=class{type="EphemeralArray";content=[];reference=void 0;constructor(e){this.content=e,this.reference=[]}toReference(){return this.reference}toArray(){return this.reference.push(...this.content),this.reference}};const ur=class{type="EphemeralObject";content=[];reference=void 0;constructor(e){this.content=e,this.reference={}}toReference(){return this.reference}toObject(){return Object.assign(this.reference,Object.fromEntries(this.content))}},lr=Gt.init((function(){const e=new WeakMap;this.BooleanElement=function(e){return e.toValue()},this.NumberElement=function(e){return e.toValue()},this.StringElement=function(e){return e.toValue()},this.NullElement=function(){return null},this.ObjectElement={enter(t){if(e.has(t))return e.get(t).toReference();const n=new ur(t.content);return e.set(t,n),n}},this.EphemeralObject={leave:e=>e.toObject()},this.MemberElement={enter:e=>[e.key,e.value]},this.ArrayElement={enter(t){if(e.has(t))return e.get(t).toReference();const n=new cr(t.content);return e.set(t,n),n}},this.EphemeralArray={leave:e=>e.toArray()}})),pr=e=>re(e)?se(e)||ie(e)||ae(e)||oe(e)?e.toValue():ar(e,lr()):e;const mr=u((function(e,t){for(var n={},r=0;r<e.length;)e[r]in t&&(n[e[r]]=t[e[r]]),r+=1;return n})),hr=e=>{if(re(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},fr={JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...Sn},dr=Gt(tr,{props:{specObj:null,passingOptionsNames:["specObj"]},init({specObj:e=this.specObj}){this.specObj=e},methods:{retrievePassingOptions(){return mr(this.passingOptionsNames,this)},retrieveFixedFields(e){const t=ke(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]},retrieveVisitor(e){return Mt(wt,["visitors",...e],this.specObj)?ke(["visitors",...e],this.specObj):ke(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e,t={}){const n=this.retrievePassingOptions();return this.retrieveVisitor(e)({...n,...t})},toRefractedElement(e,t,n={}){const r=this.retrieveVisitorInstance(e,n),s=Object.getPrototypeOf(r);return U(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===s?gn(t):(jn(t,r,{keyMap:fr,nodeTypeGetter:hr,...n}),r.element)}}}),yr=Gt(dr,{props:{specPath:rr,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){const t=this.specPath(e),n=this.retrieveFixedFields(t);return e.forEach(((e,r,s)=>{if(se(r)&&n.includes(pr(r))&&!this.ignoredFields.includes(pr(r))){const n=this.toRefractedElement([...t,"fixedFields",pr(r)],e),i=new o.c6(gn(r),n);this.copyMetaAndAttributes(s,i),i.classes.push("fixed-field"),this.element.content.push(i)}else this.ignoredFields.includes(pr(r))||this.element.content.push(gn(s))})),this.copyMetaAndAttributes(e,this.element),un}}}),gr=Gt(yr,nr,{props:{specPath:H(["document","objects","JSONSchema"])},init(){this.element=new In}}),vr=nr,br=nr,Er=nr,wr=nr,xr=nr,Or=nr,Sr=nr,jr=nr,Pr=nr,Ar=nr,_r=Gt({props:{parent:null},init({parent:e=this.parent}){this.parent=e,this.passingOptionsNames=[...this.passingOptionsNames,"parent"]}}),kr=e=>ce(e)&&e.hasKey("$ref"),Ir=Gt(dr,_r,nr,{methods:{ObjectElement(e){const t=kr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),un},ArrayElement(e){return this.element=new o.ON,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=kr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),un}}}),Tr=nr,Mr=nr,Rr=nr,$r=nr,Nr=nr,Fr=Gt(nr,{methods:{ArrayElement(e){return this.element=gn(e),this.element.classes.push("json-schema-required"),un}}});const Dr=c((function(e){return E(mt(it,0,ot("length",e)),(function(){for(var t=0,n=e.length;t<n;){if(!e[t].apply(this,arguments))return!1;t+=1}return!0}))}));const Cr=u((function(e,t){return e||t}));const qr=Ke(E(1,jt($t,u((function(e,t){return Ot(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:Ge(Cr)(e,t)}))(Ft,wt))));const Vr=Ke(_t);const Lr=Dr([Wt,qr,Vr]),Br=Gt(dr,{props:{fieldPatternPredicate:Xt,specPath:rr,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){return e.forEach(((e,t,n)=>{if(!this.ignoredFields.includes(pr(t))&&this.fieldPatternPredicate(pr(t))){const r=this.specPath(e),s=this.toRefractedElement(r,e),i=new o.c6(gn(t),s);this.copyMetaAndAttributes(n,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(pr(t))||this.element.content.push(gn(n))})),this.copyMetaAndAttributes(e,this.element),un}}}),zr=Gt(Br,{props:{fieldPatternPredicate:Lr}}),Hr=Gt(zr,_r,nr,{props:{specPath:e=>kr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new o.Sb,this.element.classes.push("json-schema-properties")}}),Jr=Gt(zr,_r,nr,{props:{specPath:e=>kr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new o.Sb,this.element.classes.push("json-schema-patternProperties")}}),Ur=Gt(zr,_r,nr,{props:{specPath:e=>kr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new o.Sb,this.element.classes.push("json-schema-dependencies")}}),Gr=Gt(nr,{methods:{ArrayElement(e){return this.element=gn(e),this.element.classes.push("json-schema-enum"),un}}}),Kr=Gt(nr,{methods:{StringElement(e){return this.element=gn(e),this.element.classes.push("json-schema-type"),un},ArrayElement(e){return this.element=gn(e),this.element.classes.push("json-schema-type"),un}}}),Xr=Gt(dr,_r,nr,{init(){this.element=new o.ON,this.element.classes.push("json-schema-allOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=kr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),un}}}),Wr=Gt(dr,_r,nr,{init(){this.element=new o.ON,this.element.classes.push("json-schema-anyOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=kr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),un}}}),Yr=Gt(dr,_r,nr,{init(){this.element=new o.ON,this.element.classes.push("json-schema-oneOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=kr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),un}}}),Qr=Gt(zr,_r,nr,{props:{specPath:e=>kr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new o.Sb,this.element.classes.push("json-schema-definitions")}}),Zr=nr,es=nr,ts=nr,ns=nr,rs=nr,ss=Gt(dr,_r,nr,{init(){this.element=new o.ON,this.element.classes.push("json-schema-links")},methods:{ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","LinkDescription"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),un}}}),is=nr,os=Gt(yr,nr,{props:{specPath:H(["document","objects","JSONReference"])},init(){this.element=new Mn},methods:{ObjectElement(e){const t=yr.compose.methods.ObjectElement.call(this,e);return se(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),as=Gt(nr,{methods:{StringElement(e){return this.element=gn(e),this.element.classes.push("reference-value"),un}}});const cs=we((function(e,t,n){return E(Math.max(e.length,t.length,n.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):n.apply(this,arguments)}))}));const us=c((function(e){return function(t,n){return e(t,n)?-1:e(n,t)?1:0}}));var ls=u((function(e,t){return Array.prototype.slice.call(t,0).sort(e)}));const ps=ls;const ms=je(0);const hs=c(m);const fs=Ke(Zt);const ds=jt(kt,Vr);function ys(e){return function(e){if(Array.isArray(e))return gs(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return gs(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return gs(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function gs(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var vs=yt(ps(us((function(e,t){return e.length>t.length}))),ms,Pe("length")),bs=Un((function(e,t,n){var r=n.apply(void 0,ys(e));return fs(r)?hs(r):t}));const Es=cs(ds,(function(e){var t=vs(e);return E(t,(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return mt(bs(n),void 0,e)}))}),J),ws=Gt(dr,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>cs(e,H(t),J))),n=Es(t)(e);return this.element=this.toRefractedElement(n,e),un}}}),xs=Gt(ws,{props:{alternator:[{predicate:kr,specPath:["document","objects","JSONReference"]},{predicate:sr,specPath:["document","objects","JSONSchema"]}]}}),Os={visitors:{value:nr,JSONSchemaOrJSONReferenceVisitor:xs,document:{objects:{JSONSchema:{$visitor:gr,fixedFields:{id:vr,$schema:br,multipleOf:Er,maximum:wr,exclusiveMaximum:xr,minimum:Or,exclusiveMinimum:Sr,maxLength:jr,minLength:Pr,pattern:Ar,additionalItems:xs,items:Ir,maxItems:Tr,minItems:Mr,uniqueItems:Rr,maxProperties:$r,minProperties:Nr,required:Fr,properties:Hr,additionalProperties:xs,patternProperties:Jr,dependencies:Ur,enum:Gr,type:Kr,allOf:Xr,anyOf:Wr,oneOf:Yr,not:xs,definitions:Qr,title:Zr,description:es,default:ts,format:ns,base:rs,links:ss,media:{$ref:"#/visitors/document/objects/Media"},readOnly:is}},JSONReference:{$visitor:os,fixedFields:{$ref:as}},Media:{$visitor:Gt(yr,nr,{props:{specPath:H(["document","objects","Media"])},init(){this.element=new $n}}),fixedFields:{binaryEncoding:nr,type:nr}},LinkDescription:{$visitor:Gt(yr,nr,{props:{specPath:H(["document","objects","LinkDescription"])},init(){this.element=new Fn}}),fixedFields:{href:nr,rel:nr,title:nr,targetSchema:xs,mediaType:nr,method:nr,encType:nr,schema:xs}}}}}},Ss={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft4",In),t.register("jSONReference",Mn),t.register("media",$n),t.register("linkDescription",Fn),t}},js=()=>{const e=Ht(Ss);return{predicates:{...t,isStringElement:se},namespace:e}},Ps=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:n=[],specificationObj:r=Os}={})=>{const s=(0,o.Qc)(e),i=er(r),a=Tt(t,[],i);return jn(s,a,{state:{specObj:i}}),Pn(a.element,n,{toolboxCreator:js,visitorOptions:{keyMap:fr,nodeTypeGetter:hr}})},As=e=>(t,n={})=>Ps(t,{specPath:e,...n});In.refract=As(["visitors","document","objects","JSONSchema","$visitor"]),Mn.refract=As(["visitors","document","objects","JSONReference","$visitor"]),$n.refract=As(["visitors","document","objects","Media","$visitor"]),Fn.refract=As(["visitors","document","objects","LinkDescription","$visitor"]);const _s=je(-1);const ks=class extends on{};const Is=class extends ks{};const Ts=class extends Array{unknownMediaType="application/octet-stream";filterByFormat(){throw new Is("filterByFormat method in MediaTypes class is not yet implemented.")}findBy(){throw new Is("findBy method in MediaTypes class is not yet implemented.")}latest(){throw new Is("latest method in MediaTypes class is not yet implemented.")}};class Ms extends Ts{filterByFormat(e="generic"){const t="generic"===e?"openapi;version":e;return this.filter((e=>e.includes(t)))}findBy(e="2.0",t="generic"){const n="generic"===t?`vnd.oai.openapi;version=${e}`:`vnd.oai.openapi+${t};version=${e}`;return this.find((e=>e.includes(n)))||this.unknownMediaType}latest(e="generic"){return _s(this.filterByFormat(e))}}const Rs=new Ms("application/vnd.oai.openapi;version=2.0","application/vnd.oai.openapi+json;version=2.0","application/vnd.oai.openapi+yaml;version=2.0");class $s extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="swagger",this.classes.push("api")}get swagger(){return this.get("swagger")}set swagger(e){this.set("swagger",e)}get info(){return this.get("info")}set info(e){this.set("info",e)}get host(){return this.get("host")}set host(e){this.set("host",e)}get basePath(){return this.get("basePath")}set basePath(e){this.set("basePath",e)}get schemes(){return this.get("schemes")}set schemes(e){this.set("schemes",e)}get consumes(){return this.get("consumes")}set consumes(e){this.set("consumes",e)}get produces(){return this.get("produces")}set produces(e){this.set("produces",e)}get paths(){return this.get("paths")}set paths(e){this.set("paths",e)}get definitions(){return this.get("definitions")}set definitions(e){this.set("definitions",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get responses(){return this.get("responses")}set responses(e){this.set("responses",e)}get securityDefinitions(){return this.get("securityDefinitions")}set securityDefinitions(e){this.set("securityDefinitions",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}}const Ns=$s;class Fs extends o.RP{constructor(e,t,n){super(e,t,n),this.element="swaggerVersion",this.classes.push("spec-version"),this.classes.push("version")}}const Ds=Fs;class Cs extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="info",this.classes.push("info")}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get termsOfService(){return this.get("termsOfService")}set termsOfService(e){this.set("termsOfService",e)}get contact(){return this.get("contact")}set contact(e){this.set("contact",e)}get license(){return this.get("license")}set license(e){this.set("license",e)}get version(){return this.get("version")}set version(e){this.set("version",e)}}const qs=Cs;class Vs extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="contact"}get name(){return this.get("name")}set name(e){this.set("name",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}get email(){return this.get("email")}set email(e){this.set("email",e)}}const Ls=Vs;class Bs extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="license"}get name(){return this.get("name")}set name(e){this.set("name",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}}const zs=Bs;class Hs extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="paths"}}const Js=Hs;class Us extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="pathItem"}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}get GET(){return this.get("get")}set GET(e){this.set("GET",e)}get PUT(){return this.get("put")}set PUT(e){this.set("PUT",e)}get POST(){return this.get("post")}set POST(e){this.set("POST",e)}get DELETE(){return this.get("delete")}set DELETE(e){this.set("DELETE",e)}get OPTIONS(){return this.get("options")}set OPTIONS(e){this.set("OPTIONS",e)}get HEAD(){return this.get("head")}set HEAD(e){this.set("HEAD",e)}get PATCH(){return this.get("patch")}set PATCH(e){this.set("PATCH",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}}const Gs=Us;class Ks extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="operation"}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}set externalDocs(e){this.set("externalDocs",e)}get externalDocs(){return this.get("externalDocs")}get operationId(){return this.get("operationId")}set operationId(e){this.set("operationId",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get responses(){return this.get("responses")}set responses(e){this.set("responses",e)}get schemes(){return this.get("schemes")}set schemes(e){this.set("schemes",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new o.hh(!1)}set deprecated(e){this.set("deprecated",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}}const Xs=Ks;class Ws extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="externalDocumentation"}get description(){return this.get("description")}set description(e){this.set("description",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}}const Ys=Ws;const Qs=class extends In{constructor(e,t,n){super(e,t,n),this.element="parameter",this.classes.push("json-schema-draft-4")}get idProp(){throw new ks("idProp getter in Parameter class is not not supported.")}set idProp(e){throw new ks("idProp setter in Parameter class is not not supported.")}get $schema(){throw new ks("$schema getter in Parameter class is not not supported.")}set $schema(e){throw new ks("$schema setter in Parameter class is not not supported.")}get additionalItems(){throw new ks("additionalItems getter in Parameter class is not not supported.")}set additionalItems(e){throw new ks("additionalItems setter in Parameter class is not not supported.")}get items(){return this.get("items")}set items(e){this.set("items",e)}get maxProperties(){throw new ks("maxProperties getter in Parameter class is not not supported.")}set maxProperties(e){throw new ks("maxProperties setter in Parameter class is not not supported.")}get minProperties(){throw new ks("minProperties getter in Parameter class is not not supported.")}set minProperties(e){throw new ks("minProperties setter in Parameter class is not not supported.")}get required(){return this.get("required")}set required(e){this.set("required",e)}get properties(){throw new ks("properties getter in Parameter class is not not supported.")}set properties(e){throw new ks("properties setter in Parameter class is not not supported.")}get additionalProperties(){throw new ks("additionalProperties getter in Parameter class is not not supported.")}set additionalProperties(e){throw new ks("additionalProperties setter in Parameter class is not not supported.")}get patternProperties(){throw new ks("patternProperties getter in Parameter class is not not supported.")}set patternProperties(e){throw new ks("patternProperties setter in Parameter class is not not supported.")}get dependencies(){throw new ks("dependencies getter in Parameter class is not not supported.")}set dependencies(e){throw new ks("dependencies setter in Parameter class is not not supported.")}get type(){return this.get("type")}set type(e){this.set("type",e)}get allOf(){throw new ks("allOf getter in Parameter class is not not supported.")}set allOf(e){throw new ks("allOf setter in Parameter class is not not supported.")}get anyOf(){throw new ks("anyOf getter in Parameter class is not not supported.")}set anyOf(e){throw new ks("anyOf setter in Parameter class is not not supported.")}get oneOf(){throw new ks("oneOf getter in Parameter class is not not supported.")}set oneOf(e){throw new ks("oneOf setter in Parameter class is not not supported.")}get not(){throw new ks("not getter in Parameter class is not not supported.")}set not(e){throw new ks("not setter in Parameter class is not not supported.")}get definitions(){throw new ks("definitions getter in Parameter class is not not supported.")}set definitions(e){throw new ks("definitions setter in Parameter class is not not supported.")}get title(){throw new ks("title getter in Parameter class is not not supported.")}set title(e){throw new ks("title setter in Parameter class is not not supported.")}get description(){return this.get("description")}set description(e){this.set("description,",e)}get format(){return this.get("format")}set format(e){this.set("format",e)}get base(){throw new ks("base getter in Parameter class is not not supported.")}set base(e){throw new ks("base setter in Parameter class is not not supported.")}get links(){throw new ks("links getter in Parameter class is not not supported.")}set links(e){throw new ks("links setter in Parameter class is not not supported.")}get media(){throw new ks("media getter in Parameter class is not not supported.")}set media(e){throw new ks("media setter in Parameter class is not not supported.")}get readOnly(){throw new ks("readOnly getter in Parameter class is not not supported.")}set readOnly(e){throw new ks("readOnly setter in Parameter class is not not supported.")}get name(){return this.get("name")}set name(e){this.set("name",e)}get in(){return this.get("in")}set in(e){this.set("in",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}};const Zs=class extends In{constructor(e,t,n){super(e,t,n),this.element="items",this.classes.push("json-schema-draft-4")}get idProp(){throw new ks("idProp getter in Items class is not not supported.")}set idProp(e){throw new ks("idProp setter in Items class is not not supported.")}get $schema(){throw new ks("$schema getter in Items class is not not supported.")}set $schema(e){throw new ks("$schema setter in Items class is not not supported.")}get additionalItems(){throw new ks("additionalItems getter in Items class is not not supported.")}set additionalItems(e){throw new ks("additionalItems setter in Items class is not not supported.")}get items(){return this.get("items")}set items(e){this.set("items",e)}get maxProperties(){throw new ks("maxProperties getter in Items class is not not supported.")}set maxProperties(e){throw new ks("maxProperties setter in Items class is not not supported.")}get minProperties(){throw new ks("minProperties getter in Items class is not not supported.")}set minProperties(e){throw new ks("minProperties setter in Items class is not not supported.")}get required(){throw new ks("required getter in Items class is not not supported.")}set required(e){throw new ks("required setter in Items class is not not supported.")}get properties(){throw new ks("properties getter in Items class is not not supported.")}set properties(e){throw new ks("properties setter in Items class is not not supported.")}get additionalProperties(){throw new ks("additionalProperties getter in Items class is not not supported.")}set additionalProperties(e){throw new ks("additionalProperties setter in Items class is not not supported.")}get patternProperties(){throw new ks("patternProperties getter in Items class is not not supported.")}set patternProperties(e){throw new ks("patternProperties setter in Items class is not not supported.")}get dependencies(){throw new ks("dependencies getter in Items class is not not supported.")}set dependencies(e){throw new ks("dependencies setter in Items class is not not supported.")}get type(){return this.get("type")}set type(e){this.set("type",e)}get allOf(){throw new ks("allOf getter in Items class is not not supported.")}set allOf(e){throw new ks("allOf setter in Items class is not not supported.")}get anyOf(){throw new ks("anyOf getter in Items class is not not supported.")}set anyOf(e){throw new ks("anyOf setter in Items class is not not supported.")}get oneOf(){throw new ks("oneOf getter in Items class is not not supported.")}set oneOf(e){throw new ks("oneOf setter in Items class is not not supported.")}get not(){throw new ks("not getter in Items class is not not supported.")}set not(e){throw new ks("not setter in Items class is not not supported.")}get definitions(){throw new ks("definitions getter in Items class is not not supported.")}set definitions(e){throw new ks("definitions setter in Items class is not not supported.")}get title(){throw new ks("title getter in Items class is not not supported.")}set title(e){throw new ks("title setter in Items class is not not supported.")}get description(){throw new ks("description getter in Items class is not not supported.")}set description(e){throw new ks("description setter in Items class is not not supported.")}get base(){throw new ks("base getter in Items class is not not supported.")}set base(e){throw new ks("base setter in Items class is not not supported.")}get links(){throw new ks("links getter in Items class is not not supported.")}set links(e){throw new ks("links setter in Items class is not not supported.")}get media(){throw new ks("media getter in Items class is not not supported.")}set media(e){throw new ks("media setter in Items class is not not supported.")}get readOnly(){throw new ks("readOnly getter in Items class is not not supported.")}set readOnly(e){throw new ks("readOnly setter in Items class is not not supported.")}};class ei extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="example"}}const ti=ei;class ni extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="responses"}get default(){return this.get("default")}set default(e){this.set("default",e)}}const ri=ni;class si extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="response"}get description(){return this.get("description")}set description(e){this.set("description",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}}const ii=si;class oi extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="headers"}}const ai=oi;const ci=class extends In{constructor(e,t,n){super(e,t,n),this.element="header",this.classes.push("json-schema-draft-4")}get idProp(){throw new ks("idProp getter in Header class is not not supported.")}set idProp(e){throw new ks("idProp setter in Header class is not not supported.")}get $schema(){throw new ks("$schema getter in Header class is not not supported.")}set $schema(e){throw new ks("$schema setter in Header class is not not supported.")}get additionalItems(){throw new ks("additionalItems getter in Header class is not not supported.")}set additionalItems(e){throw new ks("additionalItems setter in Header class is not not supported.")}get items(){return this.get("items")}set items(e){this.set("items",e)}get maxProperties(){throw new ks("maxProperties getter in Header class is not not supported.")}set maxProperties(e){throw new ks("maxProperties setter in Header class is not not supported.")}get minProperties(){throw new ks("minProperties getter in Header class is not not supported.")}set minProperties(e){throw new ks("minProperties setter in Header class is not not supported.")}get required(){throw new ks("required getter in Header class is not not supported.")}set required(e){throw new ks("required setter in Header class is not not supported.")}get properties(){throw new ks("properties getter in Header class is not not supported.")}set properties(e){throw new ks("properties setter in Header class is not not supported.")}get additionalProperties(){throw new ks("additionalProperties getter in Header class is not not supported.")}set additionalProperties(e){throw new ks("additionalProperties setter in Header class is not not supported.")}get patternProperties(){throw new ks("patternProperties getter in Header class is not not supported.")}set patternProperties(e){throw new ks("patternProperties setter in Header class is not not supported.")}get dependencies(){throw new ks("dependencies getter in Header class is not not supported.")}set dependencies(e){throw new ks("dependencies setter in Header class is not not supported.")}get type(){return this.get("type")}set type(e){this.set("type",e)}get allOf(){throw new ks("allOf getter in Header class is not not supported.")}set allOf(e){throw new ks("allOf setter in Header class is not not supported.")}get anyOf(){throw new ks("anyOf getter in Header class is not not supported.")}set anyOf(e){throw new ks("anyOf setter in Header class is not not supported.")}get oneOf(){throw new ks("oneOf getter in Header class is not not supported.")}set oneOf(e){throw new ks("oneOf setter in Header class is not not supported.")}get not(){throw new ks("not getter in Header class is not not supported.")}set not(e){throw new ks("not setter in Header class is not not supported.")}get definitions(){throw new ks("definitions getter in Header class is not not supported.")}set definitions(e){throw new ks("definitions setter in Header class is not not supported.")}get title(){throw new ks("title getter in Header class is not not supported.")}set title(e){throw new ks("title setter in Header class is not not supported.")}get base(){throw new ks("base getter in Header class is not not supported.")}set base(e){throw new ks("base setter in Header class is not not supported.")}get links(){throw new ks("links getter in Header class is not not supported.")}set links(e){throw new ks("links setter in Header class is not not supported.")}get media(){throw new ks("media getter in Header class is not not supported.")}set media(e){throw new ks("media setter in Header class is not not supported.")}get readOnly(){throw new ks("readOnly getter in Header class is not not supported.")}set readOnly(e){throw new ks("readOnly setter in Header class is not not supported.")}};class ui extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="tag"}get name(){return this.get("name")}set name(e){this.set("name",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}}const li=ui;const pi=class extends In{constructor(e,t,n){super(e,t,n),this.element="schema",this.classes.push("json-schema-draft-4")}get idProp(){throw new ks("idProp getter in Schema class is not not supported.")}set idProp(e){throw new ks("idProp setter in Schema class is not not supported.")}get $schema(){throw new ks("$schema getter in Schema class is not not supported.")}set $schema(e){throw new ks("$schema setter in Schema class is not not supported.")}get additionalItems(){throw new ks("additionalItems getter in Schema class is not not supported.")}set additionalItems(e){throw new ks("additionalItems setter in Schema class is not not supported.")}get patternProperties(){throw new ks("patternProperties getter in Schema class is not not supported.")}set patternProperties(e){throw new ks("patternProperties setter in Schema class is not not supported.")}get dependencies(){throw new ks("dependencies getter in Schema class is not not supported.")}set dependencies(e){throw new ks("dependencies setter in Schema class is not not supported.")}get anyOf(){throw new ks("anyOf getter in Schema class is not not supported.")}set anyOf(e){throw new ks("anyOf setter in Schema class is not not supported.")}get oneOf(){throw new ks("oneOf getter in Schema class is not not supported.")}set oneOf(e){throw new ks("oneOf setter in Schema class is not not supported.")}get not(){throw new ks("not getter in Schema class is not not supported.")}set not(e){throw new ks("not setter in Schema class is not not supported.")}get definitions(){throw new ks("definitions getter in Schema class is not not supported.")}set definitions(e){throw new ks("definitions setter in Schema class is not not supported.")}get base(){throw new ks("base getter in Schema class is not not supported.")}set base(e){throw new ks("base setter in Schema class is not not supported.")}get links(){throw new ks("links getter in Schema class is not not supported.")}set links(e){throw new ks("links setter in Schema class is not not supported.")}get media(){throw new ks("media getter in Schema class is not not supported.")}set media(e){throw new ks("media setter in Schema class is not not supported.")}};class mi extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="xml"}get name(){return this.get("name")}set name(e){this.set("name",e)}get namespace(){return this.get("namespace")}set namespace(e){this.set("namespace",e)}get prefix(){return this.get("prefix")}set prefix(e){this.set("prefix",e)}get attribute(){return this.get("attribute")}set attribute(e){this.set("attribute",e)}get wrapped(){return this.get("wrapped")}set wrapped(e){this.set("wrapped",e)}}const hi=mi;class fi extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="reference",this.classes.push("openapi-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const di=fi;class yi extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="definitions"}}const gi=yi;class vi extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="parametersDefinitions"}}const bi=vi;class Ei extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="responsesDefinitions"}}const wi=Ei;class xi extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="securityDefinitions"}}const Oi=xi;class Si extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="securityScheme"}get type(){return this.get("type")}set type(e){this.set("type",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get name(){return this.get("name")}set name(e){this.set("name",e)}get in(){return this.get("in")}set in(e){this.set("in",e)}get flow(){return this.get("flow")}set flow(e){this.set("flow",e)}get authorizationUrl(){return this.get("authorizationUrl")}set authorizationUrl(e){this.set("authorizationUrl",e)}get tokenUrl(){return this.get("tokenUrl")}set tokenUrl(e){this.set("tokenUrl",e)}get scopes(){return this.get("scopes")}set scopes(e){this.set("scopes",e)}}const ji=Si;class Pi extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="scopes"}}const Ai=Pi;class _i extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="securityRequirement"}}const ki=_i,Ii={namespace:e=>{const{base:t}=e;return t.register("swagger",Ns),t.register("swaggerVersion",Ds),t.register("info",qs),t.register("contact",Ls),t.register("license",zs),t.register("paths",Js),t.register("pathItem",Gs),t.register("operation",Xs),t.register("externalDocumentation",Ys),t.register("parameter",Qs),t.register("items",Zs),t.register("responses",ri),t.register("response",ii),t.register("headers",ai),t.register("example",ti),t.register("header",ci),t.register("tag",li),t.register("reference",di),t.register("schema",pi),t.register("xml",hi),t.register("definitions",gi),t.register("parametersDefinitions",bi),t.register("responsesDefinitions",wi),t.register("securityDefinitions",Oi),t.register("securityScheme",ji),t.register("scopes",Ai),t.register("securityRequirement",ki),t}};class Ti extends o.ON{static primaryClass="operation-consumes";constructor(e,t,n){super(e,t,n),this.classes.push(Ti.primaryClass)}}const Mi=Ti;class Ri extends o.ON{static primaryClass="operation-parameters";constructor(e,t,n){super(e,t,n),this.classes.push(Ri.primaryClass),this.classes.push("parameters")}}const $i=Ri;class Ni extends o.ON{static primaryClass="operation-produces";constructor(e,t,n){super(e,t,n),this.classes.push(Ni.primaryClass)}}const Fi=Ni;class Di extends o.ON{static primaryClass="operation-schemes";constructor(e,t,n){super(e,t,n),this.classes.push(Di.primaryClass)}}const Ci=Di;class qi extends o.ON{static primaryClass="operation-security";constructor(e,t,n){super(e,t,n),this.classes.push(qi.primaryClass),this.classes.push("security")}}const Vi=qi;class Li extends o.ON{static primaryClass="operation-tags";constructor(e,t,n){super(e,t,n),this.classes.push(Li.primaryClass)}}const Bi=Li;class zi extends o.ON{static primaryClass="path-item-parameters";constructor(e,t,n){super(e,t,n),this.classes.push(zi.primaryClass),this.classes.push("parameters")}}const Hi=zi;class Ji extends o.ON{static primaryClass="swagger-schemes";constructor(e,t,n){super(e,t,n),this.classes.push(Ji.primaryClass)}}const Ui=Ji;class Gi extends o.ON{static primaryClass="swagger-consumes";constructor(e,t,n){super(e,t,n),this.classes.push(Gi.primaryClass)}}const Ki=Gi;class Xi extends o.ON{static primaryClass="swagger-produces";constructor(e,t,n){super(e,t,n),this.classes.push(Xi.primaryClass)}}const Wi=Xi;class Yi extends o.ON{static primaryClass="swagger-security";constructor(e,t,n){super(e,t,n),this.classes.push(Yi.primaryClass),this.classes.push("security")}}const Qi=Yi;class Zi extends o.ON{static primaryClass="swagger-tags";constructor(e,t,n){super(e,t,n),this.classes.push(Zi.primaryClass)}}const eo=Zi,to=e=>{if(re(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},no={SwaggerElement:["content"],InfoElement:["content"],ContactElement:["content"],LicenseElement:["content"],PathsElement:["content"],PathItemElement:["content"],OperationElement:["content"],ExternalDocumentationElement:["content"],ParameterElement:["content"],ItemsElement:["content"],ExampleElement:["content"],ResponsesElement:["content"],ResponseElement:["content"],HeadersElement:["content"],HeaderElement:["content"],TagElement:["content"],ReferenceElement:["content"],JSONReferenceElement:["content"],SchemaElement:["content"],XmlElement:["content"],DefinitionsElement:["content"],ParametersDefinitionsElement:["content"],ResponsesDefinitionsElement:["content"],SecurityDefinitionsElement:["content"],SecuritySchemeElement:["content"],ScopesElement:["content"],SecurityRequirementElement:["content"],...Sn},ro=e=>se(e)&&Ee(["yaml-e-node","yaml-e-scalar"],e),so={SwaggerElement:{info:(...e)=>new qs(...e),schemes:(...e)=>new Ui(...e),consumes:(...e)=>new Ki(...e),produces:(...e)=>new Wi(...e),paths:(...e)=>new Js(...e),definitions:(...e)=>new gi(...e),parameters:(...e)=>new bi(...e),responses:(...e)=>new wi(...e),securityDefinitions:(...e)=>new Oi(...e),security:(...e)=>new Qi(...e),tags:(...e)=>new eo(...e),externalDocs:(...e)=>new Ys(...e)},InfoElement:{contact:(...e)=>new Ls(...e),license:(...e)=>new zs(...e)},PathsElement:{"[key: *]":function(...e){return new Gs(...e)}},PathItemElement:{get:(...e)=>new Xs(...e),put:(...e)=>new Xs(...e),post:(...e)=>new Xs(...e),delete:(...e)=>new Xs(...e),options:(...e)=>new Xs(...e),head:(...e)=>new Xs(...e),patch:(...e)=>new Xs(...e),parameters:(...e)=>new Hi(...e)},OperationElement:{tags:(...e)=>new Bi(...e),externalDocs:(...e)=>new Ys(...e),consumes:(...e)=>new Mi(...e),produces:(...e)=>new Fi(...e),parameters:(...e)=>new $i(...e),responses:(...e)=>new ri(...e),schemes:(...e)=>new Ci(...e),security:(...e)=>new Vi(...e)},ParameterElement:{schema:(...e)=>new pi(...e),items:(...e)=>new Zs(...e)},ItemsElement:{items:(...e)=>new Zs(...e)},ResponsesElement:{"[key: *]":function(...e){return new ii(...e)}},ResponseElement:{schema:(...e)=>new pi(...e),headers:(...e)=>new ai(...e),examples:(...e)=>new ti(...e)},HeadersElement:{"[key: *]":function(...e){return new ci(...e)}},HeaderElement:{items:(...e)=>new Zs(...e)},TagElement:{externalDocs:(...e)=>new Ys(...e)},SchemaElement:{items:(...e)=>new pi(...e),allOf(...e){const t=new o.ON(...e);return t.classes.push("json-schema-allOf"),t},properties(...e){const t=new o.Sb(...e);return t.classes.push("json-schema-properties"),t},additionalProperties:(...e)=>new pi(...e),xml:(...e)=>new hi(...e),externalDocs:(...e)=>new Ys(...e)},DefinitionsElement:{"[key: *]":function(...e){return new pi(...e)}},ParametersDefinitionsElement:{"[key: *]":function(...e){return new Qs(...e)}},ResponsesDefinitionsElement:{"[key: *]":function(...e){return new ii(...e)}},SecurityDefinitionsElement:{"[key: *]":function(...e){return new ji(...e)}},SecuritySchemeElement:{scopes:(...e)=>new Ai(...e)},SecurityRequirementElement:{"[key: *]":function(...e){return new o.ON(...e)}},[$i.primaryClass]:{"<*>":function(...e){return new Qs(...e)}},[Vi.primaryClass]:{"<*>":function(...e){return new ki(...e)}},[Hi.primaryClass]:{"<*>":function(...e){return new Qs(...e)}},[Qi.primaryClass]:{"<*>":function(...e){return new ki(...e)}},[eo.primaryClass]:{"<*>":function(...e){return new li(...e)}},"json-schema-properties":{"[key: *]":function(...e){return new pi(...e)}},"json-schema-allOf":{"<*>":function(...e){return new pi(...e)}}},io=(e,t)=>{const n=to(e),r=so[n]||so[pr(e.classes.first)];return void 0===r?void 0:Object.prototype.hasOwnProperty.call(r,"[key: *]")?r["[key: *]"]:r[t]},oo=()=>()=>({visitor:{MemberElement(e,...t){if(!ro(e.value))return;const[,,,n]=t,r=n.at(-1),s=io(r,pr(e.key));if(void 0===s)return;const i=e.value;return new o.c6(e.key,s.call({context:r},void 0,gn(i.meta),gn(i.attributes)),gn(e.meta),gn(e.attributes))},StringElement(e,...t){if(!ro(e))return;const[,,,n]=t,r=n.at(-1);if(!ue(r))return;const s=io(r,"<*>");return void 0!==s?s.call({context:e},void 0,gn(e.meta),gn(e.attributes)):void 0}}}),ao=Kt()({props:{element:null},methods:{copyMetaAndAttributes(e,t){ve(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),co=Kt()(ao,{methods:{enter(e){return this.element=gn(e),un}}}),uo=Kt()(ao,{props:{passingOptionsNames:["specObj","openApiGenericElement","openApiSemanticElement"],specObj:null,openApiGenericElement:null,openApiSemanticElement:null},init({specObj:e=this.specObj,openApiGenericElement:t=this.openApiGenericElement,openApiSemanticElement:n=this.openApiSemanticElement}){this.specObj=e,this.openApiGenericElement=t,this.openApiSemanticElement=n},methods:{retrievePassingOptions(){return mr(this.passingOptionsNames,this)},retrieveFixedFields(e){const t=ke(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]},retrieveVisitor(e){return Mt(wt,["visitors",...e],this.specObj)?ke(["visitors",...e],this.specObj):ke(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e,t={}){const n=this.retrievePassingOptions();return this.retrieveVisitor(e)({...n,...t})},toRefractedElement(e,t,n={}){const r=this.retrieveVisitorInstance(e,n),s=Object.getPrototypeOf(r);return U(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===s?gn(t):(jn(t,r,{keyMap:no,nodeTypeGetter:to,...n}),r.element)}}});var lo=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=h,e.prototype["@@transducer/result"]=f,e.prototype["@@transducer/step"]=function(e,t){this.i+=1;var n=0===this.n?e:this.xf["@@transducer/step"](e,t);return this.n>=0&&this.i>=this.n?m(n):n},e}();function po(e){return function(t){return new lo(e,t)}}const mo=u(p(["take"],po,(function(e,t){return Te(0,e<0?1/0:e,t)})));const ho=u((function(e,t){return D(mo(e.length,t),e)})),fo=e=>se(e.key)&&ho("x-",pr(e.key)),yo=e=>ce(e)&&e.hasKey("$ref"),go=Kt()(uo,{props:{specPath:rr,ignoredFields:[],canSupportSpecificationExtensions:!0,specificationExtensionPredicate:fo},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields,canSupportSpecificationExtensions:n=this.canSupportSpecificationExtensions,specificationExtensionPredicate:r=this.specificationExtensionPredicate}={}){this.specPath=e,this.ignoredFields=t,this.canSupportSpecificationExtensions=n,this.specificationExtensionPredicate=r},methods:{ObjectElement(e){const t=this.specPath(e),n=this.retrieveFixedFields(t);return e.forEach(((e,r,s)=>{if(se(r)&&n.includes(pr(r))&&!this.ignoredFields.includes(pr(r))){const n=this.toRefractedElement([...t,"fixedFields",pr(r)],e),i=new o.c6(gn(r),n);this.copyMetaAndAttributes(s,i),i.classes.push("fixed-field"),this.element.content.push(i)}else if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(s)){const e=this.toRefractedElement(["document","extension"],s);this.element.content.push(e)}else this.ignoredFields.includes(pr(r))||this.element.content.push(gn(s))})),this.copyMetaAndAttributes(e,this.element),un}}}),vo=Kt()(go,co,{props:{specPath:H(["document","objects","Swagger"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ns}}),bo=Kt()(uo,co,{methods:{StringElement(e){const t=new Ds(pr(e));return this.copyMetaAndAttributes(e,t),this.element=t,un}}}),Eo=Kt()(co,{init(){this.element=new Ui},methods:{ArrayElement(e){return this.element=this.element.concat(gn(e)),un}}}),wo=Kt()(co,{init(){this.element=new Ki},methods:{ArrayElement(e){return this.element=this.element.concat(gn(e)),un}}}),xo=Kt()(co,{init(){this.element=new Wi},methods:{ArrayElement(e){return this.element=this.element.concat(gn(e)),un}}}),Oo=Kt()(uo,co,{init(){this.element=new Qi},methods:{ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),un}}}),So=Kt()(uo,co,{init(){this.element=new eo},methods:{ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","Tag"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),un}}}),jo=Kt()(go,co,{props:{specPath:H(["document","objects","Info"]),canSupportSpecificationExtensions:!0},init(){this.element=new qs}}),Po=Kt()(co,{methods:{StringElement(e){return this.element=gn(e),this.element.classes.push("api-version"),this.element.classes.push("version"),un}}}),Ao=Kt()(go,co,{props:{specPath:H(["document","objects","Contact"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ls}}),_o=Kt()(go,co,{props:{specPath:H(["document","objects","License"]),canSupportSpecificationExtensions:!0},init(){this.element=new zs}});const ko=u((function(e,t){if(n=e,"[object RegExp]"!==Object.prototype.toString.call(n))throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+st(e));var n;return function(e){return new RegExp(e.source,e.flags?e.flags:(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":"")+(e.dotAll?"s":""))}(e).test(t)})),Io=Kt()(uo,{props:{fieldPatternPredicate:Xt,specPath:rr,ignoredFields:[],canSupportSpecificationExtensions:!1,specificationExtensionPredicate:fo},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields,canSupportSpecificationExtensions:n=this.canSupportSpecificationExtensions,specificationExtensionPredicate:r=this.specificationExtensionPredicate}={}){this.specPath=e,this.ignoredFields=t,this.canSupportSpecificationExtensions=n,this.specificationExtensionPredicate=r},methods:{ObjectElement(e){return e.forEach(((e,t,n)=>{if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(n)){const e=this.toRefractedElement(["document","extension"],n);this.element.content.push(e)}else if(!this.ignoredFields.includes(pr(t))&&this.fieldPatternPredicate(pr(t))){const r=this.specPath(e),s=this.toRefractedElement(r,e),i=new o.c6(gn(t),s);this.copyMetaAndAttributes(n,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(pr(t))||this.element.content.push(gn(n))})),this.copyMetaAndAttributes(e,this.element),un}}}),To=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Ns||e(r)&&t("swagger",r)&&n("object",r))),Mo=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Ds||e(r)&&t("swaggerVersion",r)&&n("string",r))),Ro=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof qs||e(r)&&t("info",r)&&n("object",r))),$o=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof zs||e(r)&&t("license",r)&&n("object",r))),No=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Ls||e(r)&&t("contact",r)&&n("object",r))),Fo=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Js||e(r)&&t("paths",r)&&n("object",r))),Do=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Gs||e(r)&&t("pathItem",r)&&n("object",r))),Co=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Xs||e(r)&&t("operation",r)&&n("object",r))),qo=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Ys||e(r)&&t("externalDocumentation",r)&&n("object",r))),Vo=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Qs||e(r)&&t("parameter",r)&&n("object",r))),Lo=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Zs||e(r)&&t("items",r)&&n("object",r))),Bo=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof ri||e(r)&&t("responses",r)&&n("object",r))),zo=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof ii||e(r)&&t("response",r)&&n("object",r))),Ho=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof ai||e(r)&&t("headers",r)&&n("object",r))),Jo=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof ti||e(r)&&t("example",r)&&n("object",r))),Uo=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof ci||e(r)&&t("header",r)&&n("object",r))),Go=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof li||e(r)&&t("tag",r)&&n("object",r))),Ko=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof di||e(r)&&t("reference",r)&&n("object",r))),Xo=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof pi||e(r)&&t("schema",r)&&n("object",r))),Wo=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof hi||e(r)&&t("xml",r)&&n("object",r))),Yo=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof wi||e(r)&&t("responsesDefinitions",r)&&n("object",r))),Qo=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Oi||e(r)&&t("securityDefinitions",r)&&n("object",r))),Zo=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof gi||e(r)&&t("definitions",r)&&n("object",r))),ea=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof bi||e(r)&&t("parametersDefinitions",r)&&n("object",r))),ta=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof ji||e(r)&&t("securityScheme",r)&&n("object",r))),na=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Ai||e(r)&&t("scopes",r)&&n("object",r))),ra=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof ki||e(r)&&t("securityRequirement",r)&&n("object",r))),sa=Kt()(Io,co,{props:{fieldPatternPredicate:ko(/^\/(?<path>.*)$/),specPath:H(["document","objects","PathItem"]),canSupportSpecificationExtensions:!0},init(){this.element=new Js},methods:{ObjectElement(e){const t=Io.compose.methods.ObjectElement.call(this,e);return this.element.filter(Do).forEach(((e,t)=>{e.setMetaProperty("path",gn(t))})),t}}}),ia=Kt()(go,co,{props:{specPath:H(["document","objects","PathItem"])},init(){this.element=new Gs},methods:{ObjectElement(e){const t=go.compose.methods.ObjectElement.call(this,e);return this.element.filter(Co).forEach(((e,t)=>{const n=gn(t);n.content=pr(n).toUpperCase(),e.setMetaProperty("http-method",n)})),se(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),oa=Kt()(co,{methods:{StringElement(e){return this.element=gn(e),this.element.classes.push("reference-value"),un}}}),aa=Kt()(uo,co,{init(){this.element=new Hi},methods:{ArrayElement(e){return e.forEach((e=>{const t=yo(e)?["document","objects","Reference"]:["document","objects","Parameter"],n=this.toRefractedElement(t,e);Ko(n)&&n.setMetaProperty("referenced-element","parameter"),this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),un}}}),ca=Kt()(go,co,{props:{specPath:H(["document","objects","Operation"])},init(){this.element=new Xs}}),ua=Kt()(co,{init(){this.element=new Bi},methods:{ArrayElement(e){return this.element=this.element.concat(gn(e)),un}}}),la=Kt()(co,{init(){this.element=new Mi},methods:{ArrayElement(e){return this.element=this.element.concat(gn(e)),un}}}),pa=Kt()(co,{init(){this.element=new Fi},methods:{ArrayElement(e){return this.element=this.element.concat(gn(e)),un}}}),ma=Kt()(uo,co,{init(){this.element=new $i},methods:{ArrayElement(e){return e.forEach((e=>{const t=yo(e)?["document","objects","Reference"]:["document","objects","Parameter"],n=this.toRefractedElement(t,e);Ko(n)&&n.setMetaProperty("referenced-element","parameter"),this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),un}}}),ha=Kt()(co,{init(){this.element=new Ci},methods:{ArrayElement(e){return this.element=this.element.concat(gn(e)),un}}}),fa=Kt()(uo,co,{init(){this.element=new Vi},methods:{ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),un}}}),da=Kt()(go,co,{props:{specPath:H(["document","objects","ExternalDocumentation"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ys}}),ya=Kt()(go,co,{props:{specPath:H(["document","objects","Parameter"]),canSupportSpecificationExtensions:!0},init(){this.element=new Qs}}),ga=Kt()(go,co,{props:{specPath:H(["document","objects","Items"]),canSupportSpecificationExtensions:!0},init(){this.element=new Zs}});function va(e){return"[object Number]"===Object.prototype.toString.call(e)}const ba=u((function(e,t){if(!va(e)||!va(t))throw new TypeError("Both arguments to range must be numbers");for(var n=[],r=e;r<t;)n.push(r),r+=1;return n}));function Ea(e,t,n){var r,s=typeof e;switch(s){case"string":case"number":return 0===e&&1/e==-1/0?!!n._items["-0"]||(t&&(n._items["-0"]=!0),!1):null!==n._nativeSet?t?(r=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===r):n._nativeSet.has(e):s in n._items?e in n._items[s]||(t&&(n._items[s][e]=!0),!1):(t&&(n._items[s]={},n._items[s][e]=!0),!1);case"boolean":if(s in n._items){var i=e?1:0;return!!n._items[s][i]||(t&&(n._items[s][i]=!0),!1)}return t&&(n._items[s]=e?[!1,!0]:[!0,!1]),!1;case"function":return null!==n._nativeSet?t?(r=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===r):n._nativeSet.has(e):s in n._items?!!C(e,n._items[s])||(t&&n._items[s].push(e),!1):(t&&(n._items[s]=[e]),!1);case"undefined":return!!n._items[s]||(t&&(n._items[s]=!0),!1);case"object":if(null===e)return!!n._items.null||(t&&(n._items.null=!0),!1);default:return(s=Object.prototype.toString.call(e))in n._items?!!C(e,n._items[s])||(t&&n._items[s].push(e),!1):(t&&(n._items[s]=[e]),!1)}}const wa=function(){function e(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}return e.prototype.add=function(e){return!Ea(e,!0,this)},e.prototype.has=function(e){return Ea(e,!1,this)},e}();const xa=u((function(e,t){for(var n=[],r=0,s=e.length,i=t.length,o=new wa,a=0;a<i;a+=1)o.add(t[a]);for(;r<s;)o.add(e[r])&&(n[n.length]=e[r]),r+=1;return n})),Oa=Kt()(go,Io,{props:{specPathFixedFields:rr,specPathPatternedFields:rr},methods:{ObjectElement(e){const{specPath:t,ignoredFields:n}=this;try{this.specPath=this.specPathFixedFields;const t=this.retrieveFixedFields(this.specPath(e));this.ignoredFields=[...n,...xa(e.keys(),t)],go.compose.methods.ObjectElement.call(this,e),this.specPath=this.specPathPatternedFields,this.ignoredFields=t,Io.compose.methods.ObjectElement.call(this,e)}catch(e){throw this.specPath=t,e}return un}}}),Sa=Kt()(Oa,co,{props:{specPathFixedFields:H(["document","objects","Responses"]),specPathPatternedFields:e=>yo(e)?["document","objects","Reference"]:["document","objects","Response"],fieldPatternPredicate:ko(new RegExp(`^(1XX|2XX|3XX|4XX|5XX|${ba(100,600).join("|")})$`)),canSupportSpecificationExtensions:!0},init(){this.element=new ri},methods:{ObjectElement(e){const t=Oa.compose.methods.ObjectElement.call(this,e);return this.element.filter(Ko).forEach((e=>{e.setMetaProperty("referenced-element","response")})),this.element.filter(zo).forEach(((e,t)=>{const n=gn(t);this.fieldPatternPredicate(pr(n))&&e.setMetaProperty("http-status-code",n)})),t}}}),ja=Kt()(uo,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>cs(e,H(t),J))),n=Es(t)(e);return this.element=this.toRefractedElement(n,e),un}}}),Pa=Kt()(ja,co,{props:{alternator:[{predicate:yo,specPath:["document","objects","Reference"]},{predicate:sr,specPath:["document","objects","Response"]}]},methods:{ObjectElement(e){const t=ja.compose.methods.enter.call(this,e);return Ko(this.element)?this.element.setMetaProperty("referenced-element","response"):zo(this.element)&&this.element.setMetaProperty("http-status-code","default"),t}}}),Aa=Kt()(go,co,{props:{specPath:H(["document","objects","Response"]),canSupportSpecificationExtensions:!0},init(){this.element=new ii}}),_a=Kt()(Io,{props:{fieldPatternPredicate:Lr}}),ka=Kt()(_a,co,{props:{specPath:H(["document","objects","Header"]),canSupportSpecificationExtensions:!1},init(){this.element=new ai}}),Ia=Kt()(_a,co,{props:{specPath:H(["value"]),canSupportSpecificationExtensions:!1},init(){this.element=new ti}}),Ta=Kt()(go,co,{props:{specPath:H(["document","objects","Header"]),canSupportSpecificationExtensions:!0},init(){this.element=new ci}}),Ma=Kt()(go,co,{props:{specPath:H(["document","objects","Tag"]),canSupportSpecificationExtensions:!0},init(){this.element=new li}}),Ra=Kt()(go,co,{props:{specPath:H(["document","objects","Reference"]),canSupportSpecificationExtensions:!1},init(){this.element=new di},methods:{ObjectElement(e){const t=go.compose.methods.ObjectElement.call(this,e);return se(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),$a=Kt()(co,{methods:{StringElement(e){return this.element=gn(e),this.element.classes.push("reference-value"),un}}}),Na=Kt()(go,co,{props:{specPath:H(["document","objects","Schema"]),canSupportSpecificationExtensions:!0},init(){this.element=new pi}}),{allOf:Fa}=Os.visitors.document.objects.JSONSchema.fixedFields,Da=Kt()(Fa,{methods:{ArrayElement(e){const t=Fa.compose.methods.ArrayElement.call(this,e);return this.element.filter(Cn).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{items:Ca}=Os.visitors.document.objects.JSONSchema.fixedFields,qa=Kt()(Ca,{methods:{ObjectElement(e){const t=Ca.compose.methods.ObjectElement.call(this,e);return Cn(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t},ArrayElement(e){const t=Ca.compose.methods.ArrayElement.call(this,e);return this.element.filter(Cn).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{properties:Va}=Os.visitors.document.objects.JSONSchema.fixedFields,La=Kt()(Va,{methods:{ObjectElement(e){const t=Va.compose.methods.ObjectElement.call(this,e);return this.element.filter(Cn).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{JSONSchemaOrJSONReferenceVisitor:Ba}=Os.visitors,za=Kt()(Ba,{methods:{ObjectElement(e){const t=Ba.compose.methods.enter.call(this,e);return Cn(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),Ha=Kt()(go,co,{props:{specPath:H(["document","objects","XML"]),canSupportSpecificationExtensions:!0},init(){this.element=new hi}}),Ja=Kt()(_a,co,{props:{specPath:e=>kr(e)?["document","objects","JSONReference"]:["document","objects","Schema"]},init(){this.element=new gi},methods:{ObjectElement(e){const t=_a.compose.methods.ObjectElement.call(this,e);return this.element.filter(Cn).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),Ua=Kt()(_a,co,{props:{specPath:H(["document","objects","Response"])},init(){this.element=new wi}}),Ga=Kt()(_a,co,{props:{specPath:H(["document","objects","Parameter"])},init(){this.element=new bi}}),Ka=Kt()(_a,co,{props:{specPath:H(["document","objects","SecurityScheme"])},init(){this.element=new Oi}}),Xa=Kt()(go,co,{props:{specPath:H(["document","objects","SecurityScheme"]),canSupportSpecificationExtensions:!0},init(){this.element=new ji}}),Wa=Kt()(_a,co,{props:{specPath:H(["value"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ai}}),Ya=Kt()(_a,co,{props:{specPath:H(["value"])},init(){this.element=new ki}}),Qa=Kt()(uo,{methods:{MemberElement(e){return this.element=gn(e),this.element.classes.push("specification-extension"),un}}}),{fixedFields:Za}=Os.visitors.document.objects.JSONSchema,ec={visitors:{value:co,document:{objects:{JSONReference:Os.visitors.document.objects.JSONReference,JSONSchema:{$ref:"#/visitors/document/objects/Schema"},Swagger:{$visitor:vo,fixedFields:{swagger:bo,info:{$ref:"#/visitors/document/objects/Info"},host:{$ref:"#/visitors/value"},basePath:{$ref:"#/visitors/value"},schemes:Eo,consumes:wo,produces:xo,paths:{$ref:"#/visitors/document/objects/Paths"},definitions:{$ref:"#/visitors/document/objects/Definitions"},parameters:{$ref:"#/visitors/document/objects/ParametersDefinitions"},responses:{$ref:"#/visitors/document/objects/ResponsesDefinitions"},securityDefinitions:{$ref:"#/visitors/document/objects/SecurityDefinitions"},security:Oo,tags:So,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Info:{$visitor:jo,fixedFields:{title:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},termsOfService:{$ref:"#/visitors/value"},contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"},version:Po}},Contact:{$visitor:Ao,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"},email:{$ref:"#/visitors/value"}}},License:{$visitor:_o,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Paths:{$visitor:sa},PathItem:{$visitor:ia,fixedFields:{$ref:oa,get:{$ref:"#/visitors/document/objects/Operation"},put:{$ref:"#/visitors/document/objects/Operation"},post:{$ref:"#/visitors/document/objects/Operation"},delete:{$ref:"#/visitors/document/objects/Operation"},options:{$ref:"#/visitors/document/objects/Operation"},head:{$ref:"#/visitors/document/objects/Operation"},patch:{$ref:"#/visitors/document/objects/Operation"},parameters:aa}},Operation:{$visitor:ca,fixedFields:{tags:ua,summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},operationId:{$ref:"#/visitors/value"},consumes:la,produces:pa,parameters:ma,responses:{$ref:"#/visitors/document/objects/Responses"},schemes:ha,deprecated:{$ref:"#/visitors/value"},security:fa}},ExternalDocumentation:{$visitor:da,fixedFields:{description:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Parameter:{$visitor:ya,fixedFields:{name:{$ref:"#/visitors/value"},in:{$ref:"#/visitors/value"},description:Za.description,required:Za.required,schema:za,type:Za.type,format:Za.format,items:{$ref:"#/visitors/document/objects/Items"},collectionFormat:{$ref:"#/visitors/value"},default:Za.default,maximum:Za.maximum,exclusiveMaximum:Za.exclusiveMaximum,minimum:Za.minimum,exclusiveMinimum:Za.exclusiveMinimum,maxLength:Za.maxLength,minLength:Za.minLength,pattern:Za.pattern,maxItems:Za.maxItems,minItems:Za.minItems,uniqueItems:Za.uniqueItems,enum:Za.enum,multipleOf:Za.multipleOf}},Items:{$visitor:ga,fixedFields:{type:Za.type,format:Za.format,items:{$ref:"#/visitors/document/objects/Items"},collectionFormat:{$ref:"#/visitors/value"},default:Za.default,maximum:Za.maximum,exclusiveMaximum:Za.exclusiveMaximum,minimum:Za.minimum,exclusiveMinimum:Za.exclusiveMinimum,maxLength:Za.maxLength,minLength:Za.minLength,pattern:Za.pattern,maxItems:Za.maxItems,minItems:Za.minItems,uniqueItems:Za.uniqueItems,enum:Za.enum,multipleOf:Za.multipleOf}},Responses:{$visitor:Sa,fixedFields:{default:Pa}},Response:{$visitor:Aa,fixedFields:{description:{$ref:"#/visitors/value"},schema:za,headers:{$ref:"#/visitors/document/objects/Headers"},examples:{$ref:"#/visitors/document/objects/Example"}}},Headers:{$visitor:ka},Example:{$visitor:Ia},Header:{$visitor:Ta,fixedFields:{description:Za.description,type:Za.type,format:Za.format,items:{$ref:"#/visitors/document/objects/Items"},collectionFormat:{$ref:"#/visitors/value"},default:Za.default,maximum:Za.maximum,exclusiveMaximum:Za.exclusiveMaximum,minimum:Za.minimum,exclusiveMinimum:Za.exclusiveMinimum,maxLength:Za.maxLength,minLength:Za.minLength,pattern:Za.pattern,maxItems:Za.maxItems,minItems:Za.minItems,uniqueItems:Za.uniqueItems,enum:Za.enum,multipleOf:Za.multipleOf}},Tag:{$visitor:Ma,fixedFields:{name:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Reference:{$visitor:Ra,fixedFields:{$ref:$a}},Schema:{$visitor:Na,fixedFields:{format:Za.format,title:Za.title,description:Za.description,default:Za.default,multipleOf:Za.multipleOf,maximum:Za.maximum,exclusiveMaximum:Za.exclusiveMaximum,minimum:Za.minimum,exclusiveMinimum:Za.exclusiveMinimum,maxLength:Za.maxLength,minLength:Za.minLength,pattern:Za.pattern,maxItems:Za.maxItems,minItems:Za.minItems,uniqueItems:Za.uniqueItems,maxProperties:Za.maxProperties,minProperties:Za.minProperties,required:Za.required,enum:Za.enum,type:Za.type,readOnly:Za.readOnly,items:qa,allOf:Da,properties:La,additionalProperties:za,discriminator:{$ref:"#/visitors/value"},xml:{$ref:"#/visitors/document/objects/XML"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},example:{$ref:"#/visitors/value"}}},XML:{$visitor:Ha,fixedFields:{name:{$ref:"#/visitors/value"},namespace:{$ref:"#/visitors/value"},prefix:{$ref:"#/visitors/value"},attribute:{$ref:"#/visitors/value"},wrapped:{$ref:"#/visitors/value"}}},Definitions:{$visitor:Ja},ParametersDefinitions:{$visitor:Ga},ResponsesDefinitions:{$visitor:Ua},SecurityDefinitions:{$visitor:Ka},SecurityScheme:{$visitor:Xa,fixedFields:{type:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},name:{$ref:"#/visitors/value"},in:{$ref:"#/visitors/value"},flow:{$ref:"#/visitors/value"},authorizationUrl:{$ref:"#/visitors/value"},token:{$ref:"#/visitors/value"},scopes:{$ref:"#/visitors/document/objects/Scopes"}}},Scopes:{$visitor:Wa},SecurityRequirement:{$visitor:Ya}},extension:{$visitor:Qa}}}},tc=()=>{const e=Ht(Ii);return{predicates:{...s,...i,isStringElement:se},namespace:e}},nc=(e,{specPath:t=["visitors","document","objects","Swagger","$visitor"],plugins:n=[]}={})=>{const r=(0,o.Qc)(e),s=er(ec),i=Tt(t,[],s);return jn(r,i,{state:{specObj:s}}),Pn(i.element,n,{toolboxCreator:tc,visitorOptions:{keyMap:no,nodeTypeGetter:to}})},rc=e=>(t,n={})=>nc(t,{specPath:e,...n}),sc=nc})(),r})()));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swagger-api/apidom-ns-openapi-2",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.80.0",
|
|
4
4
|
"description": "OpenAPI 2.0 namespace for ApiDOM.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
"license": "Apache-2.0",
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@babel/runtime-corejs3": "^7.20.7",
|
|
45
|
-
"@swagger-api/apidom-core": "^0.
|
|
46
|
-
"@swagger-api/apidom-error": "^0.
|
|
47
|
-
"@swagger-api/apidom-ns-json-schema-draft-4": "^0.
|
|
45
|
+
"@swagger-api/apidom-core": "^0.80.0",
|
|
46
|
+
"@swagger-api/apidom-error": "^0.80.0",
|
|
47
|
+
"@swagger-api/apidom-ns-json-schema-draft-4": "^0.80.0",
|
|
48
48
|
"@types/ramda": "~0.29.6",
|
|
49
49
|
"ramda": "~0.29.0",
|
|
50
50
|
"ramda-adjunct": "^4.1.1",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"README.md",
|
|
61
61
|
"CHANGELOG.md"
|
|
62
62
|
],
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "c959dedb5900d9d6ec2ba64aebc30a999d61b696"
|
|
64
64
|
}
|