@swagger-api/apidom-ns-openapi-2 0.93.0 → 0.95.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 +14 -0
- package/cjs/refractor/index.cjs +5 -7
- package/cjs/refractor/visitors/FallbackVisitor.cjs +6 -8
- package/cjs/refractor/visitors/SpecificationExtensionVisitor.cjs +6 -9
- package/cjs/refractor/visitors/SpecificationVisitor.cjs +52 -61
- package/cjs/refractor/visitors/Visitor.cjs +12 -13
- package/cjs/refractor/visitors/generics/AlternatingVisitor.cjs +20 -16
- package/cjs/refractor/visitors/generics/FixedFieldsVisitor.cjs +44 -44
- package/cjs/refractor/visitors/generics/MapVisitor.cjs +5 -5
- package/cjs/refractor/visitors/generics/MixedFieldsVisitor.cjs +35 -30
- package/cjs/refractor/visitors/generics/PatternedFieldsVisitor.cjs +48 -46
- package/cjs/refractor/visitors/open-api-2/BasePathVisitor.cjs +6 -10
- package/cjs/refractor/visitors/open-api-2/ConsumesVisitor.cjs +8 -10
- package/cjs/refractor/visitors/open-api-2/HostVisitor.cjs +6 -10
- package/cjs/refractor/visitors/open-api-2/ProducesVisitor.cjs +8 -10
- package/cjs/refractor/visitors/open-api-2/SchemesVisitor.cjs +8 -10
- package/cjs/refractor/visitors/open-api-2/SecurityVisitor.cjs +15 -16
- package/cjs/refractor/visitors/open-api-2/SwaggerVisitor.cjs +10 -12
- package/cjs/refractor/visitors/open-api-2/TagsVisitor.cjs +16 -17
- package/cjs/refractor/visitors/open-api-2/contact/index.cjs +8 -9
- package/cjs/refractor/visitors/open-api-2/definitions/index.cjs +18 -20
- package/cjs/refractor/visitors/open-api-2/example/index.cjs +7 -8
- package/cjs/refractor/visitors/open-api-2/external-documentation/index.cjs +7 -8
- package/cjs/refractor/visitors/open-api-2/header/index.cjs +8 -9
- package/cjs/refractor/visitors/open-api-2/headers/index.cjs +7 -8
- package/cjs/refractor/visitors/open-api-2/index.cjs +8 -9
- package/cjs/refractor/visitors/open-api-2/info/VersionVisitor.cjs +7 -11
- package/cjs/refractor/visitors/open-api-2/info/index.cjs +8 -9
- package/cjs/refractor/visitors/open-api-2/items/index.cjs +10 -9
- package/cjs/refractor/visitors/open-api-2/license/index.cjs +8 -9
- package/cjs/refractor/visitors/open-api-2/operation/ConsumesVisitor.cjs +8 -10
- package/cjs/refractor/visitors/open-api-2/operation/ParametersVisitor.cjs +18 -19
- package/cjs/refractor/visitors/open-api-2/operation/ProducesVisitor.cjs +8 -10
- package/cjs/refractor/visitors/open-api-2/operation/SchemesVisitor.cjs +8 -10
- package/cjs/refractor/visitors/open-api-2/operation/SecurityVisitor.cjs +15 -16
- package/cjs/refractor/visitors/open-api-2/operation/TagsVisitor.cjs +8 -10
- package/cjs/refractor/visitors/open-api-2/operation/index.cjs +6 -7
- package/cjs/refractor/visitors/open-api-2/parameter/index.cjs +8 -9
- package/cjs/refractor/visitors/open-api-2/parameters-definitions/index.cjs +6 -7
- package/cjs/refractor/visitors/open-api-2/path-item/$RefVisitor.cjs +6 -10
- package/cjs/refractor/visitors/open-api-2/path-item/ParametersVisitor.cjs +18 -19
- package/cjs/refractor/visitors/open-api-2/path-item/index.cjs +21 -23
- package/cjs/refractor/visitors/open-api-2/paths/index.cjs +21 -22
- package/cjs/refractor/visitors/open-api-2/reference/$RefVisitor.cjs +6 -10
- package/cjs/refractor/visitors/open-api-2/reference/index.cjs +14 -18
- package/cjs/refractor/visitors/open-api-2/response/index.cjs +8 -9
- package/cjs/refractor/visitors/open-api-2/responses/DefaultVisitor.cjs +16 -18
- package/cjs/refractor/visitors/open-api-2/responses/index.cjs +28 -29
- package/cjs/refractor/visitors/open-api-2/responses-definitions/index.cjs +6 -7
- package/cjs/refractor/visitors/open-api-2/schema/AllOfVisitor.cjs +1 -3
- package/cjs/refractor/visitors/open-api-2/schema/ItemsVisitor.cjs +1 -3
- package/cjs/refractor/visitors/open-api-2/schema/PropertiesVisitor.cjs +1 -3
- package/cjs/refractor/visitors/open-api-2/schema/SchemaOrJSONReferenceVisitor.cjs +1 -3
- package/cjs/refractor/visitors/open-api-2/schema/index.cjs +8 -9
- package/cjs/refractor/visitors/open-api-2/scopes/index.cjs +7 -8
- package/cjs/refractor/visitors/open-api-2/security-definitions/index.cjs +7 -7
- package/cjs/refractor/visitors/open-api-2/security-requirement/index.cjs +6 -7
- package/cjs/refractor/visitors/open-api-2/security-scheme/index.cjs +8 -9
- package/cjs/refractor/visitors/open-api-2/tag/index.cjs +8 -9
- package/cjs/refractor/visitors/open-api-2/xml/index.cjs +8 -9
- package/dist/apidom-ns-openapi-2.browser.js +3361 -3185
- package/dist/apidom-ns-openapi-2.browser.min.js +1 -1
- package/es/refractor/index.mjs +5 -7
- package/es/refractor/visitors/FallbackVisitor.mjs +5 -8
- package/es/refractor/visitors/SpecificationExtensionVisitor.mjs +6 -9
- package/es/refractor/visitors/SpecificationVisitor.mjs +52 -62
- package/es/refractor/visitors/Visitor.mjs +12 -12
- package/es/refractor/visitors/generics/AlternatingVisitor.mjs +20 -16
- package/es/refractor/visitors/generics/FixedFieldsVisitor.mjs +44 -44
- package/es/refractor/visitors/generics/MapVisitor.mjs +5 -5
- package/es/refractor/visitors/generics/MixedFieldsVisitor.mjs +35 -30
- package/es/refractor/visitors/generics/PatternedFieldsVisitor.mjs +48 -46
- package/es/refractor/visitors/open-api-2/BasePathVisitor.mjs +6 -10
- package/es/refractor/visitors/open-api-2/ConsumesVisitor.mjs +8 -10
- package/es/refractor/visitors/open-api-2/HostVisitor.mjs +6 -10
- package/es/refractor/visitors/open-api-2/ProducesVisitor.mjs +8 -10
- package/es/refractor/visitors/open-api-2/SchemesVisitor.mjs +8 -10
- package/es/refractor/visitors/open-api-2/SecurityVisitor.mjs +15 -16
- package/es/refractor/visitors/open-api-2/SwaggerVisitor.mjs +10 -12
- package/es/refractor/visitors/open-api-2/TagsVisitor.mjs +16 -17
- package/es/refractor/visitors/open-api-2/contact/index.mjs +8 -9
- package/es/refractor/visitors/open-api-2/definitions/index.mjs +18 -20
- package/es/refractor/visitors/open-api-2/example/index.mjs +7 -8
- package/es/refractor/visitors/open-api-2/external-documentation/index.mjs +7 -8
- package/es/refractor/visitors/open-api-2/header/index.mjs +8 -9
- package/es/refractor/visitors/open-api-2/headers/index.mjs +7 -8
- package/es/refractor/visitors/open-api-2/index.mjs +8 -9
- package/es/refractor/visitors/open-api-2/info/VersionVisitor.mjs +7 -11
- package/es/refractor/visitors/open-api-2/info/index.mjs +8 -9
- package/es/refractor/visitors/open-api-2/items/index.mjs +10 -9
- package/es/refractor/visitors/open-api-2/license/index.mjs +8 -9
- package/es/refractor/visitors/open-api-2/operation/ConsumesVisitor.mjs +8 -10
- package/es/refractor/visitors/open-api-2/operation/ParametersVisitor.mjs +18 -19
- package/es/refractor/visitors/open-api-2/operation/ProducesVisitor.mjs +8 -10
- package/es/refractor/visitors/open-api-2/operation/SchemesVisitor.mjs +8 -10
- package/es/refractor/visitors/open-api-2/operation/SecurityVisitor.mjs +15 -16
- package/es/refractor/visitors/open-api-2/operation/TagsVisitor.mjs +8 -10
- package/es/refractor/visitors/open-api-2/operation/index.mjs +6 -7
- package/es/refractor/visitors/open-api-2/parameter/index.mjs +8 -9
- package/es/refractor/visitors/open-api-2/parameters-definitions/index.mjs +6 -7
- package/es/refractor/visitors/open-api-2/path-item/$RefVisitor.mjs +6 -10
- package/es/refractor/visitors/open-api-2/path-item/ParametersVisitor.mjs +18 -19
- package/es/refractor/visitors/open-api-2/path-item/index.mjs +21 -23
- package/es/refractor/visitors/open-api-2/paths/index.mjs +21 -22
- package/es/refractor/visitors/open-api-2/reference/$RefVisitor.mjs +6 -10
- package/es/refractor/visitors/open-api-2/reference/index.mjs +14 -18
- package/es/refractor/visitors/open-api-2/response/index.mjs +8 -9
- package/es/refractor/visitors/open-api-2/responses/DefaultVisitor.mjs +16 -18
- package/es/refractor/visitors/open-api-2/responses/index.mjs +28 -29
- package/es/refractor/visitors/open-api-2/responses-definitions/index.mjs +6 -7
- package/es/refractor/visitors/open-api-2/schema/AllOfVisitor.mjs +1 -2
- package/es/refractor/visitors/open-api-2/schema/ItemsVisitor.mjs +1 -2
- package/es/refractor/visitors/open-api-2/schema/PropertiesVisitor.mjs +1 -2
- package/es/refractor/visitors/open-api-2/schema/SchemaOrJSONReferenceVisitor.mjs +1 -2
- package/es/refractor/visitors/open-api-2/schema/index.mjs +8 -9
- package/es/refractor/visitors/open-api-2/scopes/index.mjs +7 -8
- package/es/refractor/visitors/open-api-2/security-definitions/index.mjs +7 -7
- package/es/refractor/visitors/open-api-2/security-requirement/index.mjs +6 -7
- package/es/refractor/visitors/open-api-2/security-scheme/index.mjs +8 -9
- package/es/refractor/visitors/open-api-2/tag/index.mjs +8 -9
- package/es/refractor/visitors/open-api-2/xml/index.mjs +8 -9
- package/package.json +6 -6
- package/types/dist.d.ts +981 -513
|
@@ -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={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),w=v?m:a(e),E=b?m:a(t),x=(w=w==p?h:w)==h,O=(E=E==p?h:E)==h,j=w==E;if(j&&u(e)){if(!u(t))return!1;v=!0,x=!1}if(j&&!x)return g||(g=new r),v||l(e)?s(e,t,n,d,y,g):i(e,t,w,n,d,y,g);if(!(1&n)){var S=x&&f.call(e,"__wrapped__"),P=O&&f.call(t,"__wrapped__");if(S||P){var A=S?e.value():e,_=P?t.value():t;return g||(g=new r),y(A,_,n,d,g)}}return!!j&&(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 w=e.constructor,E=t.constructor;w==E||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof E&&E instanceof E||(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),w=c;(r&&w(new r(new ArrayBuffer(1)))!=f||s&&w(new s)!=l||i&&w(i.resolve())!=p||o&&w(new o)!=m||a&&w(new a)!=h)&&(w=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=w},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",w="compose";function E(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=E(t),r=0;r<n.length;r+=1)Object.defineProperty(e,n[r],Object.getOwnPropertyDescriptor(t,n[r]));return e}));function j(e){return"function"==typeof e}function S(e){return e&&"object"==typeof e||j(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=E(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 j(e)&&n.indexOf(e)===t}))).length?n:t}function k(e,t){function r(n,r){S(t[n])&&(S(e[n])||(e[n]={}),(r||O)(e[n],t[n]))}function s(r){(n=_(e[r],t[r]))&&(e[r]=n)}return t&&S(t=t[w]||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[w]||{},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;)j(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=j(n[w])?n[w]:I,O(n[w]=function(){return r.apply(this,arguments)},e),n}(Array.prototype.concat.apply([this],arguments).reduce(k,{}))}function M(e){return j(e)&&j(e[w])}var T={};function R(e,i){return function(){return(s={})[e]=i.apply(t,Array.prototype.concat.apply([{}],arguments)),((n=this)&&n[w]||r).call(n,s)}}T[v]=R(v,O),T[o]=T.props=R(o,O),T[g]=T.init=R(g,_),T[b]=R(b,_),T[a]=T[f]=R(a,A),T[u]=T.statics=R(u,O),T[l]=T[d]=R(l,A),T[m]=T.conf=R(m,O),T[h]=T[y]=R(h,A),T[c]=R(c,O),T[p]=R(p,O),r=T[w]=O((function(){for(var e,E,x=0,j=[],P=arguments,k=this;x<P.length;)S(e=P[x++])&&j.push(M(e)?e:((s={})[v]=(E=e)[v]||t,r=E.props,s[o]=S((n=E[o])||r)?O({},r,n):t,s[g]=_(E.init,E[g]),s[b]=_(E[b]),r=E[f],s[a]=S((n=E[a])||r)?A({},r,n):t,s[c]=E[c],r=E.statics,s[u]=S((n=E[u])||r)?O({},r,n):t,r=E[d],s[l]=S((n=E[l])||r)?A({},r,n):t,n=E[p],s[p]=S((r=E.name&&{name:{value:E.name}})||n)?O({},n,r):t,r=E.conf,s[m]=S((n=E[m])||r)?O({},r,n):t,r=E[y],s[h]=S((n=E[h])||r)?A({},r,n):t,s));if(e=I.apply(k||i,j),k&&j.unshift(k),Array.isArray(P=e[w][b]))for(x=0;x<P.length;)e=M(k=P[x++]({stamp:e,composables:j}))?k:e;return e}),T),T.create=function(){return this.apply(t,arguments)},(s={})[u]=T,i=I(s),r[w]=r.bind(),r.version="4.3.2","object"!=typeof t?e.exports=r:self.stampit=r}()},1427:(e,t,n)=>{e.exports=n(1125)},1681:(e,t,n)=>{"use strict";var r=n(7497);e.exports=r},3258:(e,t,n)=>{"use strict";n(2777),n(733),n(1835),n(6449),n(9383);var r=n(8422);e.exports=r.AggregateError},1125:(e,t,n)=>{"use strict";e.exports=n(3985)},3985:(e,t,n)=>{"use strict";n(3584);var r=n(1681);e.exports=r},5375:(e,t,n)=>{"use strict";var r=n(8563),s=n(5787),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(s(e)+" is not a function")}},692:(e,t,n)=>{"use strict";var r=n(8563),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")}},7171:e=>{"use strict";e.exports=function(){}},457:(e,t,n)=>{"use strict";var r=n(8257),s=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(s(e)+" is not an object")}},3346:(e,t,n)=>{"use strict";var r=n(4312),s=n(1940),i=n(8960),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)}},88:(e,t,n)=>{"use strict";var r=n(8814),s=r({}.toString),i=r("".slice);e.exports=function(e){return i(s(e),8,-1)}},2327:(e,t,n)=>{"use strict";var r=n(6694),s=n(8563),i=n(88),o=n(379)("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}},1318:(e,t,n)=>{"use strict";var r=n(3941),s=n(5956),i=n(3335),o=n(4376);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))}}},8536:(e,t,n)=>{"use strict";var r=n(2998);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},9497:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},1370:(e,t,n)=>{"use strict";var r=n(1815),s=n(4376),i=n(7971);e.exports=r?function(e,t,n){return s.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},7971:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},4500:(e,t,n)=>{"use strict";var r=n(1370);e.exports=function(e,t,n,s){return s&&s.enumerable?e[t]=n:r(e,t,n),e}},8194:(e,t,n)=>{"use strict";var r=n(8426),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}},1815:(e,t,n)=>{"use strict";var r=n(2998);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},5361:e=>{"use strict";var t="object"==typeof document&&document.all,n=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},6327:(e,t,n)=>{"use strict";var r=n(8426),s=n(8257),i=r.document,o=s(i)&&s(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},8987: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}},9954:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},5057:(e,t,n)=>{"use strict";var r,s,i=n(8426),o=n(9954),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},8573:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},4456:(e,t,n)=>{"use strict";var r=n(8814),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}},4151:(e,t,n)=>{"use strict";var r=n(1370),s=n(4456),i=n(5111),o=Error.captureStackTrace;e.exports=function(e,t,n,a){i&&(o?o(e,t):r(e,"stack",s(n,a)))}},5111:(e,t,n)=>{"use strict";var r=n(2998),s=n(7971);e.exports=!r((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",s(1,7)),7!==e.stack)}))},9011:(e,t,n)=>{"use strict";var r=n(8426),s=n(4877),i=n(9730),o=n(8563),a=n(3335).f,c=n(8722),u=n(8422),l=n(1207),p=n(1370),m=n(3941),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,w,E=e.target,x=e.global,O=e.stat,j=e.proto,S=x?r:O?r[E]:(r[E]||{}).prototype,P=x?u:u[E]||p(u,E,{})[E],A=P.prototype;for(d in t)s=!(n=c(x?d:E+(O?".":"#")+d,e.forced))&&S&&m(S,d),g=P[d],s&&(v=e.dontCallGetSet?(w=a(S,d))&&w.value:S[d]),y=s&&v?v:t[d],s&&typeof g==typeof y||(b=e.bind&&s?l(y,r):e.wrap&&s?h(y):j&&o(y)?i(y):y,(e.sham||y&&y.sham||g&&g.sham)&&p(b,"sham",!0),p(P,d,b),j&&(m(u,f=E+"Prototype")||p(u,f,{}),p(u[f],d,y),e.real&&A&&(n||!A[d])&&p(A,d,y)))}},2998:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},4877:(e,t,n)=>{"use strict";var r=n(5083),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)})},1207:(e,t,n)=>{"use strict";var r=n(9730),s=n(5375),i=n(5083),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)}}},5083:(e,t,n)=>{"use strict";var r=n(2998);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},200:(e,t,n)=>{"use strict";var r=n(5083),s=Function.prototype.call;e.exports=r?s.bind(s):function(){return s.apply(s,arguments)}},5339:(e,t,n)=>{"use strict";var r=n(1815),s=n(3941),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}},2799:(e,t,n)=>{"use strict";var r=n(8814),s=n(5375);e.exports=function(e,t,n){try{return r(s(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}},9730:(e,t,n)=>{"use strict";var r=n(88),s=n(8814);e.exports=function(e){if("Function"===r(e))return s(e)}},8814:(e,t,n)=>{"use strict";var r=n(5083),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)}}},6589:(e,t,n)=>{"use strict";var r=n(8422),s=n(8426),i=n(8563),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]}},2630:(e,t,n)=>{"use strict";var r=n(2327),s=n(2833),i=n(5157),o=n(2444),a=n(379)("iterator");e.exports=function(e){if(!i(e))return s(e,a)||s(e,"@@iterator")||o[r(e)]}},1291:(e,t,n)=>{"use strict";var r=n(200),s=n(5375),i=n(457),o=n(5787),a=n(2630),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")}},2833:(e,t,n)=>{"use strict";var r=n(5375),s=n(5157);e.exports=function(e,t){var n=e[t];return s(n)?void 0:r(n)}},8426: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)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},3941:(e,t,n)=>{"use strict";var r=n(8814),s=n(8389),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(s(e),t)}},3006:e=>{"use strict";e.exports={}},4812:(e,t,n)=>{"use strict";var r=n(6589);e.exports=r("document","documentElement")},4632:(e,t,n)=>{"use strict";var r=n(1815),s=n(2998),i=n(6327);e.exports=!r&&!s((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},6541:(e,t,n)=>{"use strict";var r=n(8814),s=n(2998),i=n(88),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},9330:(e,t,n)=>{"use strict";var r=n(8563),s=n(8257),i=n(8597);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}},1609:(e,t,n)=>{"use strict";var r=n(8257),s=n(1370);e.exports=function(e,t){r(t)&&"cause"in t&&s(e,"cause",t.cause)}},8551:(e,t,n)=>{"use strict";var r,s,i,o=n(8268),a=n(8426),c=n(8257),u=n(1370),l=n(3941),p=n(6028),m=n(5430),h=n(3006),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}}}},2576:(e,t,n)=>{"use strict";var r=n(379),s=n(2444),i=r("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(s.Array===e||o[i]===e)}},8563:(e,t,n)=>{"use strict";var r=n(5361),s=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===s}:function(e){return"function"==typeof e}},8722:(e,t,n)=>{"use strict";var r=n(2998),s=n(8563),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},5157:e=>{"use strict";e.exports=function(e){return null==e}},8257:(e,t,n)=>{"use strict";var r=n(8563),s=n(5361),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)}},7736:e=>{"use strict";e.exports=!0},6753:(e,t,n)=>{"use strict";var r=n(6589),s=n(8563),i=n(7367),o=n(9378),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))}},3490:(e,t,n)=>{"use strict";var r=n(1207),s=n(200),i=n(457),o=n(5787),a=n(2576),c=n(8960),u=n(7367),l=n(1291),p=n(2630),m=n(6889),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,w,E,x,O=n&&n.that,j=!(!n||!n.AS_ENTRIES),S=!(!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 j?(i(e),A?_(e[0],e[1],k):_(e[0],e[1])):A?_(e,k):_(e)};if(S)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((w=I(e[v]))&&u(d,w))return w;return new f(!1)}y=l(e,g)}for(E=S?e.next:y.next;!(x=s(E,y)).done;){try{w=I(x.value)}catch(e){m(y,"throw",e)}if("object"==typeof w&&w&&u(d,w))return w}return new f(!1)}},6889:(e,t,n)=>{"use strict";var r=n(200),s=n(457),i=n(2833);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}},7323:(e,t,n)=>{"use strict";var r=n(374).IteratorPrototype,s=n(1504),i=n(7971),o=n(9468),a=n(2444),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}},5994:(e,t,n)=>{"use strict";var r=n(9011),s=n(200),i=n(7736),o=n(5339),a=n(8563),c=n(7323),u=n(9814),l=n(8597),p=n(9468),m=n(1370),h=n(4500),f=n(379),d=n(2444),y=n(374),g=o.PROPER,v=o.CONFIGURABLE,b=y.IteratorPrototype,w=y.BUGGY_SAFARI_ITERATORS,E=f("iterator"),x="keys",O="values",j="entries",S=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(!w&&e&&e in R)return R[e];switch(e){case x:case O:case j:return function(){return new n(this,e)}}return function(){return new n(this)}},M=t+" Iterator",T=!1,R=e.prototype,$=R[E]||R["@@iterator"]||f&&R[f],N=!w&&$||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[E])||h(A,E,S)),p(A,M,!0,!0),i&&(d[M]=S)),g&&f===O&&$&&$.name!==O&&(!i&&v?m(R,"name",O):(T=!0,N=function(){return s($,this)})),f)if(_={values:I(O),keys:y?N:I(x),entries:I(j)},P)for(k in _)(w||T||!(k in R))&&h(R,k,_[k]);else r({target:t,proto:!0,forced:w||T},_);return i&&!P||R[E]===N||h(R,E,N,{name:f}),d[t]=N,_}},374:(e,t,n)=>{"use strict";var r,s,i,o=n(2998),a=n(8563),c=n(8257),u=n(1504),l=n(9814),p=n(4500),m=n(379),h=n(7736),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}},2444:e=>{"use strict";e.exports={}},8960:(e,t,n)=>{"use strict";var r=n(9261);e.exports=function(e){return r(e.length)}},5703: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)}},5517:(e,t,n)=>{"use strict";var r=n(4809);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:r(e)}},1504:(e,t,n)=>{"use strict";var r,s=n(457),i=n(8253),o=n(8573),a=n(3006),c=n(4812),u=n(6327),l=n(5430),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)}},8253:(e,t,n)=>{"use strict";var r=n(1815),s=n(4210),i=n(4376),o=n(457),a=n(4312),c=n(4230);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}},4376:(e,t,n)=>{"use strict";var r=n(1815),s=n(4632),i=n(4210),o=n(457),a=n(9722),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}},3335:(e,t,n)=>{"use strict";var r=n(1815),s=n(200),i=n(2886),o=n(7971),a=n(4312),c=n(9722),u=n(3941),l=n(4632),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])}},4243:(e,t,n)=>{"use strict";var r=n(4062),s=n(8573).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,s)}},2306:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},9814:(e,t,n)=>{"use strict";var r=n(3941),s=n(8563),i=n(8389),o=n(5430),a=n(8536),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}},7367:(e,t,n)=>{"use strict";var r=n(8814);e.exports=r({}.isPrototypeOf)},4062:(e,t,n)=>{"use strict";var r=n(8814),s=n(3941),i=n(4312),o=n(3346).indexOf,a=n(3006),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}},4230:(e,t,n)=>{"use strict";var r=n(4062),s=n(8573);e.exports=Object.keys||function(e){return r(e,s)}},2886:(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},8597:(e,t,n)=>{"use strict";var r=n(2799),s=n(457),i=n(692);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)},3024:(e,t,n)=>{"use strict";var r=n(6694),s=n(2327);e.exports=r?{}.toString:function(){return"[object "+s(this)+"]"}},2483:(e,t,n)=>{"use strict";var r=n(200),s=n(8563),i=n(8257),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")}},5956:(e,t,n)=>{"use strict";var r=n(6589),s=n(8814),i=n(4243),o=n(2306),a=n(457),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}},8422:e=>{"use strict";e.exports={}},3142:(e,t,n)=>{"use strict";var r=n(4376).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}})}},8280:(e,t,n)=>{"use strict";var r=n(5157),s=TypeError;e.exports=function(e){if(r(e))throw new s("Can't call method on "+e);return e}},9468:(e,t,n)=>{"use strict";var r=n(6694),s=n(4376).f,i=n(1370),o=n(3941),a=n(3024),c=n(379)("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)}}},5430:(e,t,n)=>{"use strict";var r=n(3771),s=n(9216),i=r("keys");e.exports=function(e){return i[e]||(i[e]=s(e))}},6028:(e,t,n)=>{"use strict";var r=n(8426),s=n(8194),i="__core-js_shared__",o=r[i]||s(i,{});e.exports=o},3771:(e,t,n)=>{"use strict";var r=n(7736),s=n(6028);(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.33.3",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.3/LICENSE",source:"https://github.com/zloirock/core-js"})},7415:(e,t,n)=>{"use strict";var r=n(8814),s=n(1061),i=n(4809),o=n(8280),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)}},3772:(e,t,n)=>{"use strict";var r=n(5057),s=n(2998),i=n(8426).String;e.exports=!!Object.getOwnPropertySymbols&&!s((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},1940:(e,t,n)=>{"use strict";var r=n(1061),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)}},4312:(e,t,n)=>{"use strict";var r=n(6541),s=n(8280);e.exports=function(e){return r(s(e))}},1061:(e,t,n)=>{"use strict";var r=n(5703);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},9261:(e,t,n)=>{"use strict";var r=n(1061),s=Math.min;e.exports=function(e){return e>0?s(r(e),9007199254740991):0}},8389:(e,t,n)=>{"use strict";var r=n(8280),s=Object;e.exports=function(e){return s(r(e))}},6561:(e,t,n)=>{"use strict";var r=n(200),s=n(8257),i=n(6753),o=n(2833),a=n(2483),c=n(379),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)}},9722:(e,t,n)=>{"use strict";var r=n(6561),s=n(6753);e.exports=function(e){var t=r(e,"string");return s(t)?t:t+""}},6694:(e,t,n)=>{"use strict";var r={};r[n(379)("toStringTag")]="z",e.exports="[object z]"===String(r)},4809:(e,t,n)=>{"use strict";var r=n(2327),s=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return s(e)}},5787:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},9216:(e,t,n)=>{"use strict";var r=n(8814),s=0,i=Math.random(),o=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++s+i,36)}},9378:(e,t,n)=>{"use strict";var r=n(3772);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},4210:(e,t,n)=>{"use strict";var r=n(1815),s=n(2998);e.exports=r&&s((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8268:(e,t,n)=>{"use strict";var r=n(8426),s=n(8563),i=r.WeakMap;e.exports=s(i)&&/native code/.test(String(i))},379:(e,t,n)=>{"use strict";var r=n(8426),s=n(3771),i=n(3941),o=n(9216),a=n(3772),c=n(9378),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]}},9791:(e,t,n)=>{"use strict";var r=n(6589),s=n(3941),i=n(1370),o=n(7367),a=n(8597),c=n(1318),u=n(3142),l=n(9330),p=n(5517),m=n(1609),h=n(4151),f=n(1815),d=n(7736);e.exports=function(e,t,n,y){var g="stackTraceLimit",v=y?2:1,b=e.split("."),w=b[b.length-1],E=r.apply(null,b);if(E){var x=E.prototype;if(!d&&s(x,"cause")&&delete x.cause,!n)return E;var O=r("Error"),j=t((function(e,t){var n=p(y?t:e,void 0),r=y?new E(e):new E;return void 0!==n&&i(r,"message",n),h(r,j,r.stack,2),this&&o(x,this)&&l(r,this,j),arguments.length>v&&m(r,arguments[v]),r}));if(j.prototype=x,"Error"!==w?a?a(j,O):c(j,O,{name:!0}):f&&g in E&&(u(j,E,g),u(j,E,"prepareStackTrace")),c(j,E),!d)try{x.name!==w&&i(x,"name",w),x.constructor=j}catch(e){}return j}}},1835:(e,t,n)=>{"use strict";var r=n(9011),s=n(6589),i=n(4877),o=n(2998),a=n(9791),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)})},1320:(e,t,n)=>{"use strict";var r=n(9011),s=n(7367),i=n(9814),o=n(8597),a=n(1318),c=n(1504),u=n(1370),l=n(7971),p=n(1609),m=n(4151),h=n(3490),f=n(5517),d=n(379)("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})},733:(e,t,n)=>{"use strict";n(1320)},6449:(e,t,n)=>{"use strict";var r=n(4312),s=n(7171),i=n(2444),o=n(8551),a=n(4376).f,c=n(5994),u=n(9497),l=n(7736),p=n(1815),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.index++;if(!t||n>=t.length)return e.target=void 0,u(void 0,!0);switch(e.kind){case"keys":return u(n,!1);case"values":return u(t[n],!1)}return u([n,t[n]],!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){}},2777:(e,t,n)=>{"use strict";var r=n(9011),s=n(8426),i=n(4877),o=n(9791),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)}}))},9383:(e,t,n)=>{"use strict";var r=n(7415).charAt,s=n(4809),i=n(8551),o=n(5994),a=n(9497),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))}))},3584:(e,t,n)=>{"use strict";n(733)},6128:(e,t,n)=>{"use strict";n(6449);var r=n(8987),s=n(8426),i=n(2327),o=n(1370),a=n(2444),c=n(379)("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}},7497:(e,t,n)=>{"use strict";n(3584);var r=n(3258);n(6128),e.exports=r}},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:()=>Ls,DefinitionsElement:()=>gi,ExampleElement:()=>ti,ExternalDocumentationElement:()=>Ys,FallbackVisitor:()=>ao,FixedFieldsVisitor:()=>yo,HeaderElement:()=>ci,HeadersElement:()=>ai,InfoElement:()=>qs,ItemsElement:()=>Zs,JSONReferenceElement:()=>_n,LicenseElement:()=>zs,MapVisitor:()=>ka,MixedFieldsVisitor:()=>ja,OpenAPIMediaTypes:()=>Ts,OperationConsumesElement:()=>Ti,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:()=>Ei,ResponsesElement:()=>ri,SchemaElement:()=>pi,ScopesElement:()=>Ai,SecurityDefinitionsElement:()=>Oi,SecurityRequirementElement:()=>ki,SecuritySchemeElement:()=>Si,SpecificationVisitor:()=>co,SwaggerConsumesElement:()=>Ki,SwaggerElement:()=>Ns,SwaggerProducesElement:()=>Wi,SwaggerSchemesElement:()=>Ui,SwaggerSecurityElement:()=>Qi,SwaggerTagsElement:()=>eo,SwaggerVersionElement:()=>Ds,TagElement:()=>li,Visitor:()=>oo,XmlElement:()=>hi,createRefractor:()=>sc,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:()=>$n,isJSONReferenceLikeElement:()=>Dn,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:()=>fo,isResponseElement:()=>zo,isResponsesDefinitionsElement:()=>Yo,isResponsesElement:()=>Bo,isSchemaElement:()=>Xo,isScopesElement:()=>na,isSecurityDefinitionsElement:()=>Qo,isSecurityRequirementElement:()=>ra,isSecuritySchemeElement:()=>ta,isStringElement:()=>se,isSwaggerElement:()=>Mo,isSwaggerExtension:()=>ho,isSwaggerVersionElement:()=>To,isTagElement:()=>Go,isXmlElement:()=>Wo,keyMap:()=>no,mediaTypes:()=>Rs,refract:()=>ic,refractorPluginReplaceEmptyElement:()=>io,specificationObj:()=>tc});var e={};n.r(e),n.d(e,{hasElementSourceMap:()=>ve,includesClasses:()=>we,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:()=>$n,isJSONSchemaElement:()=>Rn,isLinkDescriptionElement:()=>Fn,isMediaElement:()=>Nn});var s={};n.r(s),n.d(s,{isReferenceLikeElement:()=>fo,isSwaggerExtension:()=>ho});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:()=>Mo,isSwaggerVersionElement:()=>To,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 w=u((function(e,t){return 1===e?c(t):v(e,b(e,[],t))}));const E=c((function(e){return w(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 j(e,t){return Object.prototype.hasOwnProperty.call(t,e)}const S="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 j("callee",e)}}();var _=!{toString:null}.propertyIsEnumerable("toString"),k=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],I=function(){return arguments.propertyIsEnumerable("length")}(),M=function(e,t){for(var n=0;n<e.length;){if(e[n]===t)return!0;n+=1}return!1},T="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)!j(t,e)||s&&"length"===t||(r[r.length]=t);if(_)for(n=k.length-1;n>=0;)j(t=k[n],e)&&!M(r,t)&&(r[r.length]=t),n-=1;return r})):c((function(e){return Object(e)!==e?[]:Object.keys(e)}));const R=T;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(S(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||!S(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!S(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(!j(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=E(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(void 0===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)},we=(e,t)=>0===e.length||g(q(t.classes.toValue()),e);function Ee(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)}}}function xe(e){return"[object Object]"===Object.prototype.toString.call(e)}const Oe=Ee((function(e,t,n){var r,s={};for(r in n=n||{},t=t||{})j(r,t)&&(s[r]=j(r,n)?e(r,t[r],n[r]):t[r]);for(r in n)j(r,n)&&!j(r,s)&&(s[r]=n[r]);return s}));const je=Ee((function e(t,n,r){return Oe((function(n,r,s){return xe(r)&&xe(s)?e(t,r,s):t(n,r,s)}),n,r)}));const Se=u((function(e,t){return je((function(e,t,n){return n}),e,t)}));const Pe=u((function(e,t){return null==t||t!=t?e:t})),Ae=Number.isInteger||function(e){return e<<0===e};function _e(e){return"[object String]"===Object.prototype.toString.call(e)}const ke=u((function(e,t){var n=e<0?t.length+e:e;return _e(t)?t.charAt(n):t[n]}));const Ie=u((function(e,t){if(null!=t)return Ae(e)?ke(e,t):t[e]}));const Me=Ee((function(e,t,n){return Pe(e,Ie(t,n))}));const Te=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=Ae(n)?ke(n,r):r[n],s+=1}return r}))}));const Re=u((function(e,t){return Te([e],t)[0]}));function $e(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 Ne=Ee($e("slice",(function(e,t,n){return Array.prototype.slice.call(n,e,t)})));const Fe=Ne(0,-1);const De=u((function(e,t){return v(e.length,(function(){return e.apply(t,arguments)}))}));const Ce=u((function(e,t){return e.apply(this,t)}));function qe(e,t,n){for(var r=0,s=n.length;r<s;)t=e(t,n[r]),r+=1;return t}const Ve=c((function(e){return!!l(e)||!!e&&("object"==typeof e&&(!_e(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));var Le="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function Be(e,t,n){return function(r,s,i){if(Ve(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[Le])return n(r,s,i[Le]());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 ze(e,t,n){for(var r=n.next();!r.done;)t=e(t,r.value),r=n.next();return t}function He(e,t,n,r){return n[r](e,t)}const Je=Be(qe,He,ze);function Ue(e,t){for(var n=0,r=t.length,s=Array(r);n<r;)s[n]=e(t[n]),n+=1;return s}var Ge=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 Ke=u(p(["fantasy-land/map","map"],(function(e){return function(t){return new Ge(e,t)}}),(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return w(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return qe((function(n,r){return n[r]=e(t[r]),n}),{},R(t));default:return Ue(e,t)}})));const Xe=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))}:Je((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,Ke(n,t))}),[],e)}));const We=u((function(e,t){var n=w(e,t);return w(e,(function(){return qe(Xe,Ke(n,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const Ye=c((function(e){return We(e.length,e)}));const Qe=Ye(c((function(e){return!e})));function Ze(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 et=function(e){return(e<10?"0":"")+e};const tt="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+et(e.getUTCMonth()+1)+"-"+et(e.getUTCDate())+"T"+et(e.getUTCHours())+":"+et(e.getUTCMinutes())+":"+et(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};var nt=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 rt(e){return function(t){return new nt(e,t)}}const st=u(p(["fantasy-land/filter","filter"],rt,(function(e,t){return xe(t)?qe((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 it=u((function(e,t){return st((n=e,function(){return!n.apply(this,arguments)}),t);var n}));function ot(e,t){var n=function(n){var r=t.concat([e]);return C(n,r)?"<Circular>":ot(n,r)},r=function(e,t){return Ue((function(t){return Ze(t)+": "+n(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+Ue(n,e).join(", ")+"))";case"[object Array]":return"["+Ue(n,e).concat(r(e,it((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):Ze(tt(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())+")":Ze(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 at=c((function(e){return ot(e,[])}));const ct=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=at(e),o=n(i,at(t));return void 0!==o&&o===i?e:t}));const ut=u((function(e,t){return Ke(Ie(e),t)}));function lt(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 pt(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 mt(e,t,n,r){return e["@@transducer/result"](n[r](De(e["@@transducer/step"],e),t))}const ht=Be(lt,mt,pt);var ft=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 dt=Ee((function(e,t,n){return ht("function"==typeof e?new ft(e):e,t,n)}));const yt=c((function(e){return w(dt(ct,0,ut("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 gt(e,t){return function(){return t.call(this,e.apply(this,arguments))}}const vt=c($e("tail",Ne(1,1/0)));function bt(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return v(arguments[0].length,dt(gt,arguments[0],vt(arguments)))}var wt=function(e,t){switch(arguments.length){case 0:return wt;case 1:return function t(n){return 0===arguments.length?t:S(e,n)};default:return S(e,t)}};const Et=wt;const xt=w(1,bt($,Et("GeneratorFunction")));const Ot=w(1,bt($,Et("AsyncFunction")));const jt=yt([bt($,Et("Function")),xt,Ot]);const St=Qe(jt);function Pt(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const At=u((function(e,t){return e&&t}));const _t=u((function(e,t){return Pt(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:Ye(At)(e,t)}));var kt=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)?[]:_e(e)?"":xe(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 It=kt;const Mt=c((function(e){return null!=e&&D(e,It(e))}));const Tt=w(1,jt(Array.isArray)?Array.isArray:bt($,Et("Array")));const Rt=_t(Tt,Mt);const $t=w(3,(function(e,t,n){var r=Re(e,n),s=Re(Fe(e),n);if(!St(r)&&!Rt(e)){var i=De(r,s);return Ce(i,t)}}));const Nt=Ee((function(e,t,n){return e(Re(t,n))}));const Ft=D(null);const Dt=Qe(Ft);function Ct(e){return Ct="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},Ct(e)}const qt=function(e){return"object"===Ct(e)};const Vt=w(1,_t(Dt,qt));var Lt=bt($,Et("Object")),Bt=bt(at,D(at(Object))),zt=Nt(_t(jt,Bt),["constructor"]);const Ht=w(1,(function(e){if(!Vt(e)||!Lt(e))return!1;var t=Object.getPrototypeOf(e);return!!Ft(t)||zt(t)}));class Jt extends o.lS{constructor(){super(),this.register("annotation",L),this.register("comment",z),this.register("parseResult",K),this.register("sourceMap",W)}}const Ut=new Jt,Gt=e=>{const t=new Jt;return Ht(e)&&t.use(e),t},Kt=Ut,Xt=()=>({predicates:{...e},namespace:Kt});const Wt=w(1,bt($,Et("String")));var Yt=n(1427);const Qt=class extends Yt{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,null!=n&&"object"==typeof n&&Object.hasOwn(n,"cause")&&!("cause"in this)){const{cause:e}=n;this.cause=e,e instanceof Error&&"stack"in e&&(this.stack=`${this.stack}\nCAUSE: ${e.stack}`)}}};class Zt extends Error{static[Symbol.hasInstance](e){return super[Symbol.hasInstance](e)||Function.prototype[Symbol.hasInstance].call(Qt,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,null!=t&&"object"==typeof t&&Object.hasOwn(t,"cause")&&!("cause"in this)){const{cause:e}=t;this.cause=e,e instanceof Error&&"stack"in e&&(this.stack=`${this.stack}\nCAUSE: ${e.stack}`)}}}const en=Zt;const tn=class extends en{constructor(e,t){if(super(e,t),null!=t&&"object"==typeof t){const{cause:e,...n}=t;Object.assign(this,n)}}},nn=(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},rn={},sn=e=>null==e?void 0:e.type,on=e=>"string"==typeof sn(e),an=e=>Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e)),cn=(e,t,{keyMap:n=null,state:r={},breakSymbol:s=rn,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=nn,nodeTypeGetter:c=sn,nodePredicate:u=on,nodeCloneFn:l=an,detectCycles:p=!0}={})=>{const m=n||{};let h,f,d=Array.isArray(e),y=[e],g=-1,v=[],b=e;const w=[],E=[];do{g+=1;const e=g===y.length;let n;const O=e&&0!==v.length;if(e){if(n=0===E.length?void 0:w.pop(),b=f,f=E.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;w.push(n)}let j;if(!Array.isArray(b)){if(!u(b))throw new tn(`Invalid AST Node: ${String(b)}`,{node:b});if(p&&E.includes(b)){w.pop();continue}const i=a(t,c(b),e);if(i){for(const[e,n]of Object.entries(r))t[e]=n;j=i.call(t,b,n,f,w,E)}if(j===s)break;if(j===o){if(!e){w.pop();continue}}else if(void 0!==j&&(v.push([n,j]),!e)){if(!u(j)){w.pop();continue}b=j}}var x;if(void 0===j&&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&&E.push(f),f=b}while(void 0!==h);return 0!==v.length?v[v.length-1][1]:e};cn[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:n=null,state:r={},breakSymbol:s=rn,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=nn,nodeTypeGetter:c=sn,nodePredicate:u=on,nodeCloneFn:l=an,detectCycles:p=!0}={})=>{const m=n||{};let h,f,d=Array.isArray(e),y=[e],g=-1,v=[],b=e;const w=[],E=[];do{g+=1;const e=g===y.length;let n;const O=e&&0!==v.length;if(e){if(n=0===E.length?void 0:w.pop(),b=f,f=E.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;w.push(n)}let j;if(!Array.isArray(b)){if(!u(b))throw new tn(`Invalid AST Node: ${String(b)}`,{node:b});if(p&&E.includes(b)){w.pop();continue}const i=a(t,c(b),e);if(i){for(const[e,n]of Object.entries(r))t[e]=n;j=await i.call(t,b,n,f,w,E)}if(j===s)break;if(j===o){if(!e){w.pop();continue}}else if(void 0!==j&&(v.push([n,j]),!e)){if(!u(j)){w.pop();continue}b=j}}var x;if(void 0===j&&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&&E.push(f),f=b}while(void 0!==h);return 0!==v.length?v[v.length-1][1]:e};const un=class extends tn{constructor(e,t){super(e,t),void 0!==t&&(this.value=t.value)}};const ln=class extends un{};const pn=class extends un{},mn=(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)?mn(t,r):t,a=re(s)?mn(s,r):s,c=new o.KeyValuePair(i,a);return n.set(e,c),c}if(e instanceof o.rm){const t=e=>mn(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=>mn(e,r),s=[...e].map(t),i=new o.O4(s);return n.set(e,i),i}if(re(e)){const t=dn(e);if(n.set(e,t),e.content)if(re(e.content))t.content=mn(e.content,r);else if(e.content instanceof o.KeyValuePair)t.content=mn(e.content,r);else if(Array.isArray(e.content)){const n=e=>mn(e,r);t.content=e.content.map(n)}else t.content=e.content;else t.content=e.content;return t}throw new ln("Value provided to cloneDeep function couldn't be cloned",{value:e})};mn.safe=e=>{try{return mn(e)}catch{return e}};const hn=e=>{const{key:t,value:n}=e;return new o.KeyValuePair(t,n)},fn=e=>{const t=new e.constructor;if(t.element=e.element,e.meta.length>0&&(t._meta=mn(e.meta)),e.attributes.length>0&&(t._attributes=mn(e.attributes)),re(e.content)){const n=e.content;t.content=fn(n)}else Array.isArray(e.content)?t.content=[...e.content]:e.content instanceof o.KeyValuePair?t.content=hn(e.content):t.content=e.content;return t},dn=e=>{if(e instanceof o.KeyValuePair)return hn(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 fn(e);throw new pn("Value provided to cloneShallow function couldn't be cloned",{value:e})};dn.safe=e=>{try{return dn(e)}catch{return e}};const yn=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,gn=e=>re(e)?dn(e):an(e),vn=bt(yn,Wt),bn={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]};const wn=(e,t,{keyMap:n=bn,...r}={})=>cn(e,t,{keyMap:n,nodeTypeGetter:yn,nodePredicate:vn,nodeCloneFn:gn,...r});wn[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:n=bn,...r}={})=>cn[Symbol.for("nodejs.util.promisify.custom")](e,t,{keyMap:n,nodeTypeGetter:yn,nodePredicate:vn,nodeCloneFn:gn,...r});const En={toolboxCreator:Xt,visitorOptions:{nodeTypeGetter:yn,exposeEdits:!0}},xn=(e,t,n={})=>{if(0===t.length)return e;const r=Se(En,n),{toolboxCreator:s,visitorOptions:i}=r,o=s(),a=t.map((e=>e(o))),c=((e,{visitFnGetter:t=nn,nodeTypeGetter:n=sn,breakSymbol:r=rn,deleteNodeSymbol:s=null,skipVisitingNodeSymbol:i=!1,exposeEdits:o=!1}={})=>{const a=Symbol("skip"),c=new Array(e.length).fill(a);return{enter(u,...l){let p=u,m=!1;for(let h=0;h<e.length;h+=1)if(c[h]===a){const a=t(e[h],n(p),!1);if("function"==typeof a){const t=a.call(e[h],p,...l);if(t===i)c[h]=u;else if(t===r)c[h]=r;else{if(t===s)return t;if(void 0!==t){if(!o)return t;p=t,m=!0}}}}return m?p:void 0},leave(s,...o){for(let u=0;u<e.length;u+=1)if(c[u]===a){const a=t(e[u],n(s),!0);if("function"==typeof a){const t=a.call(e[u],s,...o);if(t===r)c[u]=r;else if(void 0!==t&&t!==i)return t}}else c[u]===s&&(c[u]=a)}}})(a.map(Me({},"visitor")),{...i});a.forEach($t(["pre"],[]));const u=wn(e,c,i);return a.forEach($t(["post"],[])),u},On=(e,{Type:t,plugins:n=[]})=>{const r=new t(e);return xn(r,n,{toolboxCreator:Xt,visitorOptions:{nodeTypeGetter:yn}})},jn=e=>(t,n={})=>On(t,{...n,Type:e});o.Sb.refract=jn(o.Sb),o.ON.refract=jn(o.ON),o.RP.refract=jn(o.RP),o.hh.refract=jn(o.hh),o.zr.refract=jn(o.zr),o.VL.refract=jn(o.VL),o.EA.refract=jn(o.EA),o.tK.refract=jn(o.tK),L.refract=jn(L),z.refract=jn(z),K.refract=jn(K),W.refract=jn(W);class Sn 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("$schema",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 Pn=Sn;class An 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 _n=An;class kn 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 In=kn;class Mn 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 Tn=Mn,Rn=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Pn||e(r)&&t("JSONSchemaDraft4",r)&&n("object",r))),$n=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof _n||e(r)&&t("JSONReference",r)&&n("object",r))),Nn=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof In||e(r)&&t("media",r)&&n("object",r))),Fn=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Tn||e(r)&&t("linkDescription",r)&&n("object",r))),Dn=e=>ce(e)&&e.hasKey("$ref");const Cn=u((function(e,t){return qe((function(n,r){return n[r]=e(t[r],r,t),n}),{},R(t))}));const qn=c((function(e){return null==e}));const Vn=u((function(e,t){if(0===e.length||qn(t))return!1;for(var n=t,r=0;r<e.length;){if(qn(n)||!j(e[r],n))return!1;n=n[e[r]],r+=1}return!0}));var Ln=u((function(e,t){return Vn([e],t)}));const Bn=Ln;const zn=Ee((function(e,t,n){return e(Ie(t,n))}));const Hn=c((function(e){return w(e.length,e)}));const Jn=u((function(e,t){return w(e+1,(function(){var n=arguments[e];if(null!=n&&Pt(n[t]))return n[t].apply(n,Array.prototype.slice.call(arguments,0,e));throw new TypeError(at(n)+' does not have a method named "'+t+'"')}))}));const Un=Jn(1,"split");var Gn=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 Kn(e){return function(t){return new Gn(e,t)}}const Xn=u(p(["dropWhile"],Kn,(function(e,t){for(var n=0,r=t.length;n<r&&e(t[n]);)n+=1;return Ne(n,1/0,t)})));const Wn=Jn(1,"join");const Yn=Hn((function(e,t){return bt(Un(""),Xn(q(e)),Wn(""))(t)})),Qn=(e,t)=>{const n=Pe(e,t);return Cn((e=>{if(Ht(e)&&Bn("$ref",e)&&zn(Wt,"$ref",e)){const t=Re(["$ref"],e),r=Yn("#/",t);return Re(r.split("/"),n)}return Ht(e)?Qn(e,n):e}),e)};var Zn=n(6591),er=n.n(Zn);const tr=Zn({props:{element:null},methods:{copyMetaAndAttributes(e,t){ve(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),nr=Zn(tr,{methods:{enter(e){return this.element=mn(e),rn}}});const rr=H(J());const sr=function(){return!0},ir=e=>"string"==typeof(null==e?void 0:e.type)?e.type:yn(e),or={EphemeralObject:["content"],EphemeralArray:["content"],...bn},ar=(e,t,{keyMap:n=or,...r}={})=>wn(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}={})=>wn[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))}};class lr{ObjectElement={enter:e=>{if(this.references.has(e))return this.references.get(e).toReference();const t=new ur(e.content);return this.references.set(e,t),t}};EphemeralObject={leave:e=>e.toObject()};MemberElement={enter:e=>[e.key,e.value]};ArrayElement={enter:e=>{if(this.references.has(e))return this.references.get(e).toReference();const t=new cr(e.content);return this.references.set(e,t),t}};EphemeralArray={leave:e=>e.toArray()};references=new WeakMap;BooleanElement(e){return e.toValue()}NumberElement(e){return e.toValue()}StringElement(e){return e.toValue()}NullElement(){return null}}const pr=e=>re(e)?se(e)||ie(e)||ae(e)||oe(e)?e.toValue():ar(e,new 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"],...bn},dr=Zn(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=Re(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]},retrieveVisitor(e){return Nt(jt,["visitors",...e],this.specObj)?Re(["visitors",...e],this.specObj):Re(["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?mn(t):(wn(t,r,{keyMap:fr,nodeTypeGetter:hr,...n}),r.element)}}}),yr=Zn(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(mn(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(mn(s))})),this.copyMetaAndAttributes(e,this.element),rn}}}),gr=Zn(yr,nr,{props:{specPath:H(["document","objects","JSONSchema"])},init(){this.element=new Pn}}),vr=nr,br=nr,wr=nr,Er=nr,xr=nr,Or=nr,jr=nr,Sr=nr,Pr=nr,Ar=nr,_r=Zn({props:{parent:null},init({parent:e=this.parent}){this.parent=e,this.passingOptionsNames=[...this.passingOptionsNames,"parent"]}}),kr=Zn(dr,_r,nr,{methods:{ObjectElement(e){const t=Dn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),rn},ArrayElement(e){return this.element=new o.ON,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=Dn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),rn}}}),Ir=nr,Mr=nr,Tr=nr,Rr=nr,$r=nr,Nr=Zn(nr,{methods:{ArrayElement(e){return this.element=mn(e),this.element.classes.push("json-schema-required"),rn}}});const Fr=c((function(e){return w(dt(ct,0,ut("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 Dr=u((function(e,t){return e||t}));const Cr=Qe(w(1,_t(Dt,u((function(e,t){return Pt(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:Ye(Dr)(e,t)}))(qt,jt))));const qr=Qe(Mt);const Vr=Fr([Wt,Cr,qr]);const Lr=function(){return!1},Br=Zn(dr,{props:{fieldPatternPredicate:Lr,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(mn(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(mn(n))})),this.copyMetaAndAttributes(e,this.element),rn}}}),zr=Zn(Br,{props:{fieldPatternPredicate:Vr}}),Hr=Zn(zr,_r,nr,{props:{specPath:e=>Dn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new o.Sb,this.element.classes.push("json-schema-properties")}}),Jr=Zn(zr,_r,nr,{props:{specPath:e=>Dn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new o.Sb,this.element.classes.push("json-schema-patternProperties")}}),Ur=Zn(zr,_r,nr,{props:{specPath:e=>Dn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new o.Sb,this.element.classes.push("json-schema-dependencies")}}),Gr=Zn(nr,{methods:{ArrayElement(e){return this.element=mn(e),this.element.classes.push("json-schema-enum"),rn}}}),Kr=Zn(nr,{methods:{StringElement(e){return this.element=mn(e),this.element.classes.push("json-schema-type"),rn},ArrayElement(e){return this.element=mn(e),this.element.classes.push("json-schema-type"),rn}}}),Xr=Zn(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=Dn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),rn}}}),Wr=Zn(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=Dn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),rn}}}),Yr=Zn(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=Dn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),rn}}}),Qr=Zn(zr,_r,nr,{props:{specPath:e=>Dn(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=Zn(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),rn}}}),is=nr,os=Zn(yr,nr,{props:{specPath:H(["document","objects","JSONReference"])},init(){this.element=new _n},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=Zn(nr,{methods:{StringElement(e){return this.element=mn(e),this.element.classes.push("reference-value"),rn}}});const cs=Ee((function(e,t,n){return w(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=ke(0);const hs=c(m);const fs=Qe(qn);const ds=_t(Tt,qr);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=bt(ps(us((function(e,t){return e.length>t.length}))),ms,Ie("length")),bs=Hn((function(e,t,n){var r=n.apply(void 0,ys(e));return fs(r)?hs(r):t}));const ws=cs(ds,(function(e){var t=vs(e);return w(t,(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return dt(bs(n),void 0,e)}))}),J),Es=Zn(dr,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>cs(e,H(t),J))),n=ws(t)(e);return this.element=this.toRefractedElement(n,e),rn}}}),xs=Zn(Es,{props:{alternator:[{predicate:Dn,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:wr,maximum:Er,exclusiveMaximum:xr,minimum:Or,exclusiveMinimum:jr,maxLength:Sr,minLength:Pr,pattern:Ar,additionalItems:xs,items:kr,maxItems:Ir,minItems:Mr,uniqueItems:Tr,maxProperties:Rr,minProperties:$r,required:Nr,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:Zn(yr,nr,{props:{specPath:H(["document","objects","Media"])},init(){this.element=new In}}),fixedFields:{binaryEncoding:nr,type:nr}},LinkDescription:{$visitor:Zn(yr,nr,{props:{specPath:H(["document","objects","LinkDescription"])},init(){this.element=new Tn}}),fixedFields:{href:nr,rel:nr,title:nr,targetSchema:xs,mediaType:nr,method:nr,encType:nr,schema:xs}}}}}},js={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft4",Pn),t.register("jSONReference",_n),t.register("media",In),t.register("linkDescription",Tn),t}},Ss=()=>{const e=Gt(js);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=Qn(r),a=$t(t,[],i);return wn(s,a,{state:{specObj:i}}),xn(a.element,n,{toolboxCreator:Ss,visitorOptions:{keyMap:fr,nodeTypeGetter:hr}})},As=e=>(t,n={})=>Ps(t,{specPath:e,...n});Pn.refract=As(["visitors","document","objects","JSONSchema","$visitor"]),_n.refract=As(["visitors","document","objects","JSONReference","$visitor"]),In.refract=As(["visitors","document","objects","Media","$visitor"]),Tn.refract=As(["visitors","document","objects","LinkDescription","$visitor"]);const _s=ke(-1);const ks=class extends en{};const Is=class extends ks{};const Ms=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 Ts 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 _s(this.filterByFormat(e))}}const Rs=new Ts("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 Pn{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 Pn{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 Pn{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 Pn{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 wi extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="responsesDefinitions"}}const Ei=wi;class xi extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="securityDefinitions"}}const Oi=xi;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 Si=ji;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",Ei),t.register("securityDefinitions",Oi),t.register("securityScheme",Si),t.register("scopes",Ai),t.register("securityRequirement",ki),t}};class Mi extends o.ON{static primaryClass="operation-consumes";constructor(e,t,n){super(e,t,n),this.classes.push(Mi.primaryClass)}}const Ti=Mi;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),this.classes.push("tags")}}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"],...bn},ro={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 Ei(...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 Ti(...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 Si(...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)}}},so=(e,t)=>{const n=to(e),r=ro[n]||ro[pr(e.classes.first)];return void 0===r?void 0:Object.prototype.hasOwnProperty.call(r,"[key: *]")?r["[key: *]"]:r[t]},io=()=>()=>({visitor:{StringElement(e,t,n,r,s){if(!(e=>se(e)&&we(["yaml-e-node","yaml-e-scalar"],e))(e))return;const i=[...s,n].filter(re),o=i[i.length-1];let a,c;return ue(o)?(c=e,a=so(o,"<*>")):le(o)&&(c=i[i.length-2],a=so(c,pr(o.key))),"function"==typeof a?a.call({context:c},void 0,mn(e.meta),mn(e.attributes)):void 0}}}),oo=er()({props:{element:null},methods:{copyMetaAndAttributes(e,t){ve(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),ao=er()(oo,{methods:{enter(e){return this.element=mn(e),rn}}}),co=er()(oo,{props:{specObj:null,passingOptionsNames:["specObj"]},init({specObj:e=this.specObj}){this.specObj=e},methods:{retrievePassingOptions(){return mr(this.passingOptionsNames,this)},retrieveFixedFields(e){const t=Re(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]},retrieveVisitor(e){return Nt(jt,["visitors",...e],this.specObj)?Re(["visitors",...e],this.specObj):Re(["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?mn(t):(wn(t,r,{keyMap:no,nodeTypeGetter:to,...n}),r.element)}}});var uo=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 lo(e){return function(t){return new uo(e,t)}}const po=u(p(["take"],lo,(function(e,t){return Ne(0,e<0?1/0:e,t)})));const mo=u((function(e,t){return D(po(e.length,t),e)})),ho=e=>se(e.key)&&mo("x-",pr(e.key)),fo=e=>ce(e)&&e.hasKey("$ref"),yo=er()(co,{props:{specPath:rr,ignoredFields:[],canSupportSpecificationExtensions:!0,specificationExtensionPredicate:ho},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(mn(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(mn(s))})),this.copyMetaAndAttributes(e,this.element),rn}}}),go=er()(yo,ao,{props:{specPath:H(["document","objects","Swagger"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ns}}),vo=er()(co,ao,{methods:{StringElement(e){const t=new Ds(pr(e));return this.copyMetaAndAttributes(e,t),this.element=t,rn}}}),bo=er()(ao,{methods:{StringElement(e){return this.element=mn(e),this.element.classes.push("swagger-host"),rn}}}),wo=er()(ao,{methods:{StringElement(e){return this.element=mn(e),this.element.classes.push("swagger-base-path"),rn}}}),Eo=er()(ao,{init(){this.element=new Ui},methods:{ArrayElement(e){return this.element=this.element.concat(mn(e)),rn}}}),xo=er()(ao,{init(){this.element=new Ki},methods:{ArrayElement(e){return this.element=this.element.concat(mn(e)),rn}}}),Oo=er()(ao,{init(){this.element=new Wi},methods:{ArrayElement(e){return this.element=this.element.concat(mn(e)),rn}}}),jo=er()(co,ao,{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),rn}}}),So=er()(co,ao,{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),rn}}}),Po=er()(yo,ao,{props:{specPath:H(["document","objects","Info"]),canSupportSpecificationExtensions:!0},init(){this.element=new qs}}),Ao=er()(ao,{methods:{StringElement(e){return this.element=mn(e),this.element.classes.push("api-version"),this.element.classes.push("version"),rn}}}),_o=er()(yo,ao,{props:{specPath:H(["document","objects","Contact"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ls}}),ko=er()(yo,ao,{props:{specPath:H(["document","objects","License"]),canSupportSpecificationExtensions:!0},init(){this.element=new zs}}),Io=er()(co,{props:{fieldPatternPredicate:Lr,specPath:rr,ignoredFields:[],canSupportSpecificationExtensions:!1,specificationExtensionPredicate:ho},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(mn(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(mn(n))})),this.copyMetaAndAttributes(e,this.element),rn}}}),Mo=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Ns||e(r)&&t("swagger",r)&&n("object",r))),To=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 Ei||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 Si||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=er()(Io,ao,{props:{fieldPatternPredicate:sr,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)=>{t.classes.push("openapi-path-template"),t.classes.push("path-template"),e.setMetaProperty("path",mn(t))})),t}}}),ia=er()(yo,ao,{props:{specPath:H(["document","objects","PathItem"])},init(){this.element=new Gs},methods:{ObjectElement(e){const t=yo.compose.methods.ObjectElement.call(this,e);return this.element.filter(Co).forEach(((e,t)=>{const n=mn(t);n.content=pr(n).toUpperCase(),e.setMetaProperty("http-method",n)})),se(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),oa=er()(ao,{methods:{StringElement(e){return this.element=mn(e),this.element.classes.push("reference-value"),rn}}}),aa=er()(co,ao,{init(){this.element=new Hi},methods:{ArrayElement(e){return e.forEach((e=>{const t=fo(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),rn}}}),ca=er()(yo,ao,{props:{specPath:H(["document","objects","Operation"])},init(){this.element=new Xs}}),ua=er()(ao,{init(){this.element=new Bi},methods:{ArrayElement(e){return this.element=this.element.concat(mn(e)),rn}}}),la=er()(ao,{init(){this.element=new Ti},methods:{ArrayElement(e){return this.element=this.element.concat(mn(e)),rn}}}),pa=er()(ao,{init(){this.element=new Fi},methods:{ArrayElement(e){return this.element=this.element.concat(mn(e)),rn}}}),ma=er()(co,ao,{init(){this.element=new $i},methods:{ArrayElement(e){return e.forEach((e=>{const t=fo(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),rn}}}),ha=er()(ao,{init(){this.element=new Ci},methods:{ArrayElement(e){return this.element=this.element.concat(mn(e)),rn}}}),fa=er()(co,ao,{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),rn}}}),da=er()(yo,ao,{props:{specPath:H(["document","objects","ExternalDocumentation"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ys}}),ya=er()(yo,ao,{props:{specPath:H(["document","objects","Parameter"]),canSupportSpecificationExtensions:!0},init(){this.element=new Qs}}),ga=er()(yo,ao,{props:{specPath:H(["document","objects","Items"]),canSupportSpecificationExtensions:!0},init(){this.element=new Zs}});const va=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 "+at(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)}));function ba(e){return"[object Number]"===Object.prototype.toString.call(e)}const wa=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 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 xa=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 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})),ja=er()(yo,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,...Oa(e.keys(),t)],yo.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 rn}}}),Sa=er()(ja,ao,{props:{specPathFixedFields:H(["document","objects","Responses"]),specPathPatternedFields:e=>fo(e)?["document","objects","Reference"]:["document","objects","Response"],fieldPatternPredicate:va(new RegExp(`^(1XX|2XX|3XX|4XX|5XX|${wa(100,600).join("|")})$`)),canSupportSpecificationExtensions:!0},init(){this.element=new ri},methods:{ObjectElement(e){const t=ja.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=mn(t);this.fieldPatternPredicate(pr(n))&&e.setMetaProperty("http-status-code",n)})),t}}}),Pa=er()(co,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>cs(e,H(t),J))),n=ws(t)(e);return this.element=this.toRefractedElement(n,e),rn}}}),Aa=er()(Pa,ao,{props:{alternator:[{predicate:fo,specPath:["document","objects","Reference"]},{predicate:sr,specPath:["document","objects","Response"]}]},methods:{ObjectElement(e){const t=Pa.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}}}),_a=er()(yo,ao,{props:{specPath:H(["document","objects","Response"]),canSupportSpecificationExtensions:!0},init(){this.element=new ii}}),ka=er()(Io,{props:{fieldPatternPredicate:Vr}}),Ia=er()(ka,ao,{props:{specPath:H(["document","objects","Header"]),canSupportSpecificationExtensions:!1},init(){this.element=new ai}}),Ma=er()(ka,ao,{props:{specPath:H(["value"]),canSupportSpecificationExtensions:!1},init(){this.element=new ti}}),Ta=er()(yo,ao,{props:{specPath:H(["document","objects","Header"]),canSupportSpecificationExtensions:!0},init(){this.element=new ci}}),Ra=er()(yo,ao,{props:{specPath:H(["document","objects","Tag"]),canSupportSpecificationExtensions:!0},init(){this.element=new li}}),$a=er()(yo,ao,{props:{specPath:H(["document","objects","Reference"]),canSupportSpecificationExtensions:!1},init(){this.element=new di},methods:{ObjectElement(e){const t=yo.compose.methods.ObjectElement.call(this,e);return se(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),Na=er()(ao,{methods:{StringElement(e){return this.element=mn(e),this.element.classes.push("reference-value"),rn}}}),Fa=er()(yo,ao,{props:{specPath:H(["document","objects","Schema"]),canSupportSpecificationExtensions:!0},init(){this.element=new pi}}),{allOf:Da}=Os.visitors.document.objects.JSONSchema.fixedFields,Ca=er()(Da,{methods:{ArrayElement(e){const t=Da.compose.methods.ArrayElement.call(this,e);return this.element.filter($n).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{items:qa}=Os.visitors.document.objects.JSONSchema.fixedFields,Va=er()(qa,{methods:{ObjectElement(e){const t=qa.compose.methods.ObjectElement.call(this,e);return $n(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t},ArrayElement(e){const t=qa.compose.methods.ArrayElement.call(this,e);return this.element.filter($n).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{properties:La}=Os.visitors.document.objects.JSONSchema.fixedFields,Ba=er()(La,{methods:{ObjectElement(e){const t=La.compose.methods.ObjectElement.call(this,e);return this.element.filter($n).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{JSONSchemaOrJSONReferenceVisitor:za}=Os.visitors,Ha=er()(za,{methods:{ObjectElement(e){const t=za.compose.methods.enter.call(this,e);return $n(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),Ja=er()(yo,ao,{props:{specPath:H(["document","objects","XML"]),canSupportSpecificationExtensions:!0},init(){this.element=new hi}}),Ua=er()(ka,ao,{props:{specPath:e=>Dn(e)?["document","objects","JSONReference"]:["document","objects","Schema"]},init(){this.element=new gi},methods:{ObjectElement(e){const t=ka.compose.methods.ObjectElement.call(this,e);return this.element.filter($n).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),Ga=er()(ka,ao,{props:{specPath:H(["document","objects","Response"])},init(){this.element=new Ei}}),Ka=er()(ka,ao,{props:{specPath:H(["document","objects","Parameter"])},init(){this.element=new bi}}),Xa=er()(ka,ao,{props:{specPath:H(["document","objects","SecurityScheme"])},init(){this.element=new Oi}}),Wa=er()(yo,ao,{props:{specPath:H(["document","objects","SecurityScheme"]),canSupportSpecificationExtensions:!0},init(){this.element=new Si}}),Ya=er()(ka,ao,{props:{specPath:H(["value"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ai}}),Qa=er()(ka,ao,{props:{specPath:H(["value"])},init(){this.element=new ki}}),Za=er()(co,{methods:{MemberElement(e){return this.element=mn(e),this.element.classes.push("specification-extension"),rn}}}),{fixedFields:ec}=Os.visitors.document.objects.JSONSchema,tc={visitors:{value:ao,document:{objects:{JSONReference:Os.visitors.document.objects.JSONReference,JSONSchema:{$ref:"#/visitors/document/objects/Schema"},Swagger:{$visitor:go,fixedFields:{swagger:vo,info:{$ref:"#/visitors/document/objects/Info"},host:bo,basePath:wo,schemes:Eo,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:jo,tags:So,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: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: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:ga,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:Sa,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:Ma},Header:{$visitor:Ta,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=Gt(Ii);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=Qn(tc),i=$t(t,[],s);return wn(r,i,{state:{specObj:s}}),xn(i.element,n,{toolboxCreator:nc,visitorOptions:{keyMap:no,nodeTypeGetter:to}})},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={9408:(e,t,n)=>{var r=n(2676)(n(9088),"DataView");e.exports=r},9728:(e,t,n)=>{var r=n(7152),s=n(1372),i=n(1084),o=n(3516),c=n(1836);function a(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])}}a.prototype.clear=r,a.prototype.delete=s,a.prototype.get=i,a.prototype.has=o,a.prototype.set=c,e.exports=a},4920:(e,t,n)=>{var r=n(2444),s=n(8776),i=n(3580),o=n(1776),c=n(4688);function a(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])}}a.prototype.clear=r,a.prototype.delete=s,a.prototype.get=i,a.prototype.has=o,a.prototype.set=c,e.exports=a},8192:(e,t,n)=>{var r=n(2676)(n(9088),"Map");e.exports=r},9892:(e,t,n)=>{var r=n(4112),s=n(1928),i=n(8976),o=n(9336),c=n(3976);function a(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])}}a.prototype.clear=r,a.prototype.delete=s,a.prototype.get=i,a.prototype.has=o,a.prototype.set=c,e.exports=a},5092:(e,t,n)=>{var r=n(2676)(n(9088),"Promise");e.exports=r},7968:(e,t,n)=>{var r=n(2676)(n(9088),"Set");e.exports=r},2539:(e,t,n)=>{var r=n(9892),s=n(520),i=n(6240);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},3288:(e,t,n)=>{var r=n(4920),s=n(816),i=n(4040),o=n(3304),c=n(6696),a=n(2968);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=c,u.prototype.set=a,e.exports=u},3972:(e,t,n)=>{var r=n(9088).Symbol;e.exports=r},400:(e,t,n)=>{var r=n(9088).Uint8Array;e.exports=r},1432:(e,t,n)=>{var r=n(2676)(n(9088),"WeakMap");e.exports=r},2856: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}},192:(e,t,n)=>{var r=n(9664),s=n(3396),i=n(1648),o=n(9028),c=n(1640),a=n(5692),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),l=!n&&s(e),p=!n&&!l&&o(e),h=!n&&!l&&!p&&a(e),m=n||l||p||h,f=m?r(e.length,String):[],d=f.length;for(var y in e)!t&&!u.call(e,y)||m&&("length"==y||p&&("offset"==y||"parent"==y)||h&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||c(y,d))||f.push(y);return f}},4972: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}},3464: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}},1840:(e,t,n)=>{var r=n(4684);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},9476:(e,t,n)=>{var r=n(4972),s=n(1648);e.exports=function(e,t,n){var i=t(e);return s(e)?i:r(i,n(e))}},7596:(e,t,n)=>{var r=n(3972),s=n(712),i=n(2640),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)}},5064:(e,t,n)=>{var r=n(7596),s=n(8152);e.exports=function(e){return s(e)&&"[object Arguments]"==r(e)}},7816:(e,t,n)=>{var r=n(4480),s=n(8152);e.exports=function e(t,n,i,o,c){return t===n||(null==t||null==n||!s(t)&&!s(n)?t!=t&&n!=n:r(t,n,i,o,e,c))}},4480:(e,t,n)=>{var r=n(3288),s=n(7227),i=n(1872),o=n(3980),c=n(2300),a=n(1648),u=n(9028),l=n(5692),p="[object Arguments]",h="[object Array]",m="[object Object]",f=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,d,y,g){var v=a(e),b=a(t),w=v?h:c(e),E=b?h:c(t),x=(w=w==p?m:w)==m,j=(E=E==p?m:E)==m,O=w==E;if(O&&u(e)){if(!u(t))return!1;v=!0,x=!1}if(O&&!x)return g||(g=new r),v||l(e)?s(e,t,n,d,y,g):i(e,t,w,n,d,y,g);if(!(1&n)){var P=x&&f.call(e,"__wrapped__"),S=j&&f.call(t,"__wrapped__");if(P||S){var A=P?e.value():e,_=S?t.value():t;return g||(g=new r),y(A,_,n,d,g)}}return!!O&&(g||(g=new r),o(e,t,n,d,y,g))}},7376:(e,t,n)=>{var r=n(7464),s=n(9008),i=n(636),o=n(4776),c=/^\[object .+?Constructor\]$/,a=Function.prototype,u=Object.prototype,l=a.toString,p=u.hasOwnProperty,h=RegExp("^"+l.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||s(e))&&(r(e)?h:c).test(o(e))}},420:(e,t,n)=>{var r=n(7596),s=n(9912),i=n(8152),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)]}},2144:(e,t,n)=>{var r=n(4084),s=n(7532),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}},9664:e=>{e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},5792:e=>{e.exports=function(e){return function(t){return e(t)}}},2844:e=>{e.exports=function(e,t){return e.has(t)}},1812:(e,t,n)=>{var r=n(9088)["__core-js_shared__"];e.exports=r},7227:(e,t,n)=>{var r=n(2539),s=n(3464),i=n(2844);e.exports=function(e,t,n,o,c,a){var u=1&n,l=e.length,p=t.length;if(l!=p&&!(u&&p>l))return!1;var h=a.get(e),m=a.get(t);if(h&&m)return h==t&&m==e;var f=-1,d=!0,y=2&n?new r:void 0;for(a.set(e,t),a.set(t,e);++f<l;){var g=e[f],v=t[f];if(o)var b=u?o(v,g,f,t,e,a):o(g,v,f,e,t,a);if(void 0!==b){if(b)continue;d=!1;break}if(y){if(!s(t,(function(e,t){if(!i(y,t)&&(g===e||c(g,e,n,o,a)))return y.push(t)}))){d=!1;break}}else if(g!==v&&!c(g,v,n,o,a)){d=!1;break}}return a.delete(e),a.delete(t),d}},1872:(e,t,n)=>{var r=n(3972),s=n(400),i=n(4684),o=n(7227),c=n(8788),a=n(7280),u=r?r.prototype:void 0,l=u?u.valueOf:void 0;e.exports=function(e,t,n,r,u,p,h){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 m=c;case"[object Set]":var f=1&r;if(m||(m=a),e.size!=t.size&&!f)return!1;var d=h.get(e);if(d)return d==t;r|=2,h.set(e,t);var y=o(m(e),m(t),r,u,p,h);return h.delete(e),y;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},3980:(e,t,n)=>{var r=n(2892),s=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,o,c){var a=1&n,u=r(e),l=u.length;if(l!=r(t).length&&!a)return!1;for(var p=l;p--;){var h=u[p];if(!(a?h in t:s.call(t,h)))return!1}var m=c.get(e),f=c.get(t);if(m&&f)return m==t&&f==e;var d=!0;c.set(e,t),c.set(t,e);for(var y=a;++p<l;){var g=e[h=u[p]],v=t[h];if(i)var b=a?i(v,g,h,t,e,c):i(g,v,h,e,t,c);if(!(void 0===b?g===v||o(g,v,n,i,c):b)){d=!1;break}y||(y="constructor"==h)}if(d&&!y){var w=e.constructor,E=t.constructor;w==E||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof E&&E instanceof E||(d=!1)}return c.delete(e),c.delete(t),d}},7400:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},2892:(e,t,n)=>{var r=n(9476),s=n(7112),i=n(5200);e.exports=function(e){return r(e,i,s)}},2840:(e,t,n)=>{var r=n(6768);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},2676:(e,t,n)=>{var r=n(7376),s=n(2420);e.exports=function(e,t){var n=s(e,t);return r(n)?n:void 0}},712:(e,t,n)=>{var r=n(3972),s=Object.prototype,i=s.hasOwnProperty,o=s.toString,c=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,c),n=e[c];try{e[c]=void 0;var r=!0}catch(e){}var s=o.call(e);return r&&(t?e[c]=n:delete e[c]),s}},7112:(e,t,n)=>{var r=n(2856),s=n(5992),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,c=o?function(e){return null==e?[]:(e=Object(e),r(o(e),(function(t){return i.call(e,t)})))}:s;e.exports=c},2300:(e,t,n)=>{var r=n(9408),s=n(8192),i=n(5092),o=n(7968),c=n(1432),a=n(7596),u=n(4776),l="[object Map]",p="[object Promise]",h="[object Set]",m="[object WeakMap]",f="[object DataView]",d=u(r),y=u(s),g=u(i),v=u(o),b=u(c),w=a;(r&&w(new r(new ArrayBuffer(1)))!=f||s&&w(new s)!=l||i&&w(i.resolve())!=p||o&&w(new o)!=h||c&&w(new c)!=m)&&(w=function(e){var t=a(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 h;case b:return m}return t}),e.exports=w},2420:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},7152:(e,t,n)=>{var r=n(3768);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},1372:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},1084:(e,t,n)=>{var r=n(3768),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}},3516:(e,t,n)=>{var r=n(3768),s=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:s.call(t,e)}},1836:(e,t,n)=>{var r=n(3768);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}},1640: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}},6768:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},9008:(e,t,n)=>{var r,s=n(1812),i=(r=/[^.]+$/.exec(s&&s.keys&&s.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},4084:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},2444:e=>{e.exports=function(){this.__data__=[],this.size=0}},8776:(e,t,n)=>{var r=n(1840),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)}},3580:(e,t,n)=>{var r=n(1840);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},1776:(e,t,n)=>{var r=n(1840);e.exports=function(e){return r(this.__data__,e)>-1}},4688:(e,t,n)=>{var r=n(1840);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}},4112:(e,t,n)=>{var r=n(9728),s=n(4920),i=n(8192);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||s),string:new r}}},1928:(e,t,n)=>{var r=n(2840);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},8976:(e,t,n)=>{var r=n(2840);e.exports=function(e){return r(this,e).get(e)}},9336:(e,t,n)=>{var r=n(2840);e.exports=function(e){return r(this,e).has(e)}},3976:(e,t,n)=>{var r=n(2840);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}},8788:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},3768:(e,t,n)=>{var r=n(2676)(Object,"create");e.exports=r},7532:(e,t,n)=>{var r=n(8443)(Object.keys,Object);e.exports=r},1548:(e,t,n)=>{e=n.nmd(e);var r=n(7400),s=t&&!t.nodeType&&t,i=s&&e&&!e.nodeType&&e,o=i&&i.exports===s&&r.process,c=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=c},2640:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},8443:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},9088:(e,t,n)=>{var r=n(7400),s="object"==typeof self&&self&&self.Object===Object&&self,i=r||s||Function("return this")();e.exports=i},520:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},6240:e=>{e.exports=function(e){return this.__data__.has(e)}},7280:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},816:(e,t,n)=>{var r=n(4920);e.exports=function(){this.__data__=new r,this.size=0}},4040:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},3304:e=>{e.exports=function(e){return this.__data__.get(e)}},6696:e=>{e.exports=function(e){return this.__data__.has(e)}},2968:(e,t,n)=>{var r=n(4920),s=n(8192),i=n(9892);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}},4776: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""}},4684:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},3396:(e,t,n)=>{var r=n(5064),s=n(8152),i=Object.prototype,o=i.hasOwnProperty,c=i.propertyIsEnumerable,a=r(function(){return arguments}())?r:function(e){return s(e)&&o.call(e,"callee")&&!c.call(e,"callee")};e.exports=a},1648:e=>{var t=Array.isArray;e.exports=t},2468:(e,t,n)=>{var r=n(7464),s=n(9912);e.exports=function(e){return null!=e&&s(e.length)&&!r(e)}},5904:(e,t,n)=>{var r=n(7596),s=n(8152);e.exports=function(e){return!0===e||!1===e||s(e)&&"[object Boolean]"==r(e)}},9028:(e,t,n)=>{e=n.nmd(e);var r=n(9088),s=n(6388),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,c=o&&o.exports===i?r.Buffer:void 0,a=(c?c.isBuffer:void 0)||s;e.exports=a},4744:(e,t,n)=>{var r=n(7816);e.exports=function(e,t){return r(e,t)}},7464:(e,t,n)=>{var r=n(7596),s=n(636);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}},9912:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},9948:e=>{e.exports=function(e){return null===e}},776:(e,t,n)=>{var r=n(7596),s=n(8152);e.exports=function(e){return"number"==typeof e||s(e)&&"[object Number]"==r(e)}},636:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},8152:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},3116:(e,t,n)=>{var r=n(7596),s=n(1648),i=n(8152);e.exports=function(e){return"string"==typeof e||!s(e)&&i(e)&&"[object String]"==r(e)}},5692:(e,t,n)=>{var r=n(420),s=n(5792),i=n(1548),o=i&&i.isTypedArray,c=o?s(o):r;e.exports=c},5200:(e,t,n)=>{var r=n(192),s=n(2144),i=n(2468);e.exports=function(e){return i(e)?r(e):s(e)}},9364: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)}}},5992:e=>{e.exports=function(){return[]}},6388:e=>{e.exports=function(){return!1}},1715:(e,t,n)=>{const r=n(9364);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},6984: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},5524:(e,t,n)=>{const r=n(9948),s=n(3116),i=n(776),o=n(5904),c=n(636),a=n(824),u=n(5012);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(c,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 a(this)}}a.prototype.Namespace=l,e.exports=l},6040:(e,t,n)=>{const r=n(9364),s=n(1715);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},5012:(e,t,n)=>{const r=n(3216),s=n(904),i=n(2800),o=n(8640),c=n(1164),a=n(5208),u=n(7416),l=n(1800),p=n(5048),h=n(3392),m=n(1715),f=n(6040),d=n(6984);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 c(e);if(null===e)return new s;if(Array.isArray(e))return new a(e.map(y));if("object"==typeof e){return new l(e)}return e}r.prototype.ObjectElement=l,r.prototype.RefElement=h,r.prototype.MemberElement=u,r.prototype.refract=y,m.prototype.refract=y,e.exports={Element:r,NullElement:s,StringElement:i,NumberElement:o,BooleanElement:c,ArrayElement:a,MemberElement:u,ObjectElement:l,LinkElement:p,RefElement:h,refract:y,ArraySlice:m,ObjectSlice:f,KeyValuePair:d}},5048:(e,t,n)=>{const r=n(3216);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)}}},3392:(e,t,n)=>{const r=n(3216);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)}}},928:(e,t,n)=>{const r=n(5524),s=n(5012);t.MH=r,t.KeyValuePair=n(6984),t.eW=s.ArraySlice,t.wL=s.ObjectSlice,t.gr=s.Element,t.M$=s.StringElement,t.wH=s.NumberElement,t.Ar=s.BooleanElement,t.WM=s.NullElement,t.uQ=s.ArrayElement,t.We=s.ObjectElement,t.u6=s.MemberElement,t.eE=s.RefElement,t.UH=s.LinkElement,t.WG=s.refract,n(824),n(6400)},5208:(e,t,n)=>{const r=n(9364),s=n(3216),i=n(1715);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},1164:(e,t,n)=>{const r=n(3216);e.exports=class extends r{constructor(e,t,n){super(e,t,n),this.element="boolean"}primitive(){return"boolean"}}},3216:(e,t,n)=>{const r=n(4744),s=n(6984),i=n(1715);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},7416:(e,t,n)=>{const r=n(6984),s=n(3216);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)}}},904:(e,t,n)=>{const r=n(3216);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")}}},8640:(e,t,n)=>{const r=n(3216);e.exports=class extends r{constructor(e,t,n){super(e,t,n),this.element="number"}primitive(){return"number"}}},1800:(e,t,n)=>{const r=n(9364),s=n(636),i=n(5208),o=n(7416),c=n(6040);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 c(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)))}}},2800:(e,t,n)=>{const r=n(3216);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}}},6400:(e,t,n)=>{const r=n(824);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]))}))}}},824: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]))}))}}},4248:e=>{!function(){"use strict";var t,n,r,s,i,o="properties",c="deepProperties",a="propertyDescriptors",u="staticProperties",l="staticDeepProperties",p="staticPropertyDescriptors",h="configuration",m="deepConfiguration",f="deepProps",d="deepStatics",y="deepConf",g="initializers",v="methods",b="composers",w="compose";function E(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 j=x.bind(0,(function(e,t){if(t)for(var n=E(t),r=0;r<n.length;r+=1)Object.defineProperty(e,n[r],Object.getOwnPropertyDescriptor(t,n[r]));return e}));function O(e){return"function"==typeof e}function P(e){return e&&"object"==typeof e||O(e)}function S(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(!S(r))return r;for(var s,i,o=E(r),c=0;c<o.length;)s=o[c++],(i=Object.getOwnPropertyDescriptor(r,s)).hasOwnProperty("value")?i.value!==t&&(n[s]=e(S(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 O(e)&&n.indexOf(e)===t}))).length?n:t}function k(e,t){function r(n,r){P(t[n])&&(P(e[n])||(e[n]={}),(r||j)(e[n],t[n]))}function s(r){(n=_(e[r],t[r]))&&(e[r]=n)}return t&&P(t=t[w]||t)&&(r(v),r(o),r(c,A),r(a),r(u),r(l,A),r(p),r(h),r(m,A),s(g),s(b)),e}function I(){return function(e){return n=function e(n){var r,s,i=e[w]||{},u={__proto__:i[v]},l=i[g],p=Array.prototype.slice.apply(arguments),h=i[c];if(h&&A(u,h),(h=i[o])&&j(u,h),(h=i[a])&&Object.defineProperties(u,h),!l||!l.length)return u;for(n===t&&(n={}),i=0;i<l.length;)O(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])&&j(n,r),(r=e[p])&&Object.defineProperties(n,r),r=O(n[w])?n[w]:I,j(n[w]=function(){return r.apply(this,arguments)},e),n}(Array.prototype.concat.apply([this],arguments).reduce(k,{}))}function M(e){return O(e)&&O(e[w])}var T={};function $(e,i){return function(){return(s={})[e]=i.apply(t,Array.prototype.concat.apply([{}],arguments)),((n=this)&&n[w]||r).call(n,s)}}T[v]=$(v,j),T[o]=T.props=$(o,j),T[g]=T.init=$(g,_),T[b]=$(b,_),T[c]=T[f]=$(c,A),T[u]=T.statics=$(u,j),T[l]=T[d]=$(l,A),T[h]=T.conf=$(h,j),T[m]=T[y]=$(m,A),T[a]=$(a,j),T[p]=$(p,j),r=T[w]=j((function(){for(var e,E,x=0,O=[],S=arguments,k=this;x<S.length;)P(e=S[x++])&&O.push(M(e)?e:((s={})[v]=(E=e)[v]||t,r=E.props,s[o]=P((n=E[o])||r)?j({},r,n):t,s[g]=_(E.init,E[g]),s[b]=_(E[b]),r=E[f],s[c]=P((n=E[c])||r)?A({},r,n):t,s[a]=E[a],r=E.statics,s[u]=P((n=E[u])||r)?j({},r,n):t,r=E[d],s[l]=P((n=E[l])||r)?A({},r,n):t,n=E[p],s[p]=P((r=E.name&&{name:{value:E.name}})||n)?j({},n,r):t,r=E.conf,s[h]=P((n=E[h])||r)?j({},r,n):t,r=E[y],s[m]=P((n=E[m])||r)?A({},r,n):t,s));if(e=I.apply(k||i,O),k&&O.unshift(k),Array.isArray(S=e[w][b]))for(x=0;x<S.length;)e=M(k=S[x++]({stamp:e,composables:O}))?k:e;return e}),T),T.create=function(){return this.apply(t,arguments)},(s={})[u]=T,i=I(s),r[w]=r.bind(),r.version="4.3.2","object"!=typeof t?e.exports=r:self.stampit=r}()},1204:(e,t,n)=>{e.exports=n(5616)},2772:(e,t,n)=>{"use strict";var r=n(7828);e.exports=r},7984:(e,t,n)=>{"use strict";n(4420),n(8436),n(5936),n(340),n(4176);var r=n(9832);e.exports=r.AggregateError},5616:(e,t,n)=>{"use strict";e.exports=n(9888)},9888:(e,t,n)=>{"use strict";n(2796);var r=n(2772);e.exports=r},28:(e,t,n)=>{"use strict";var r=n(8536),s=n(8944),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(s(e)+" is not a function")}},1459:(e,t,n)=>{"use strict";var r=n(7432),s=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i("Can't set "+s(e)+" as a prototype")}},1472:e=>{"use strict";e.exports=function(){}},2032:(e,t,n)=>{"use strict";var r=n(8608),s=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(s(e)+" is not an object")}},5083:(e,t,n)=>{"use strict";var r=n(445),s=n(4180),i=n(5316),o=function(e){return function(t,n,o){var c,a=r(t),u=i(a),l=s(o,u);if(e&&n!=n){for(;u>l;)if((c=a[l++])!=c)return!0}else for(;u>l;l++)if((e||l in a)&&a[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},7936:(e,t,n)=>{"use strict";var r=n(9252),s=r({}.toString),i=r("".slice);e.exports=function(e){return i(s(e),8,-1)}},3016:(e,t,n)=>{"use strict";var r=n(6744),s=n(8536),i=n(7936),o=n(3336)("toStringTag"),c=Object,a="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=c(e),o))?n:a?i(t):"Object"===(r=i(t))&&s(t.callee)?"Arguments":r}},1100:(e,t,n)=>{"use strict";var r=n(4664),s=n(7876),i=n(1008),o=n(2280);e.exports=function(e,t,n){for(var c=s(t),a=o.f,u=i.f,l=0;l<c.length;l++){var p=c[l];r(e,p)||n&&r(n,p)||a(e,p,u(t,p))}}},2480:(e,t,n)=>{"use strict";var r=n(2064);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},3848:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},896:(e,t,n)=>{"use strict";var r=n(9172),s=n(2280),i=n(8981);e.exports=r?function(e,t,n){return s.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},8981:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},5424:(e,t,n)=>{"use strict";var r=n(896);e.exports=function(e,t,n,s){return s&&s.enumerable?e[t]=n:r(e,t,n),e}},4408:(e,t,n)=>{"use strict";var r=n(5216),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}},9172:(e,t,n)=>{"use strict";var r=n(2064);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},1940:(e,t,n)=>{"use strict";var r=n(5216),s=n(8608),i=r.document,o=s(i)&&s(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},472: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}},2276:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},3896:(e,t,n)=>{"use strict";var r,s,i=n(5216),o=n(2276),c=i.process,a=i.Deno,u=c&&c.versions||a&&a.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},3620:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},9492:(e,t,n)=>{"use strict";var r=n(9252),s=Error,i=r("".replace),o=String(new s("zxcasd").stack),c=/\n\s*at [^:]*:[^\n]*/,a=c.test(o);e.exports=function(e,t){if(a&&"string"==typeof e&&!s.prepareStackTrace)for(;t--;)e=i(e,c,"");return e}},9035:(e,t,n)=>{"use strict";var r=n(896),s=n(9492),i=n(1376),o=Error.captureStackTrace;e.exports=function(e,t,n,c){i&&(o?o(e,t):r(e,"stack",s(n,c)))}},1376:(e,t,n)=>{"use strict";var r=n(2064),s=n(8981);e.exports=!r((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",s(1,7)),7!==e.stack)}))},3952:(e,t,n)=>{"use strict";var r=n(5216),s=n(9867),i=n(1248),o=n(8536),c=n(1008).f,a=n(6155),u=n(9832),l=n(1884),p=n(896),h=n(4664),m=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,w,E=e.target,x=e.global,j=e.stat,O=e.proto,P=x?r:j?r[E]:r[E]&&r[E].prototype,S=x?u:u[E]||p(u,E,{})[E],A=S.prototype;for(d in t)s=!(n=a(x?d:E+(j?".":"#")+d,e.forced))&&P&&h(P,d),g=S[d],s&&(v=e.dontCallGetSet?(w=c(P,d))&&w.value:P[d]),y=s&&v?v:t[d],(n||O||typeof g!=typeof y)&&(b=e.bind&&s?l(y,r):e.wrap&&s?m(y):O&&o(y)?i(y):y,(e.sham||y&&y.sham||g&&g.sham)&&p(b,"sham",!0),p(S,d,b),O&&(h(u,f=E+"Prototype")||p(u,f,{}),p(u[f],d,y),e.real&&A&&(n||!A[d])&&p(A,d,y)))}},2064:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},9867:(e,t,n)=>{"use strict";var r=n(2820),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)})},1884:(e,t,n)=>{"use strict";var r=n(1248),s=n(28),i=n(2820),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)}}},2820:(e,t,n)=>{"use strict";var r=n(2064);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},4580:(e,t,n)=>{"use strict";var r=n(2820),s=Function.prototype.call;e.exports=r?s.bind(s):function(){return s.apply(s,arguments)}},3564:(e,t,n)=>{"use strict";var r=n(9172),s=n(4664),i=Function.prototype,o=r&&Object.getOwnPropertyDescriptor,c=s(i,"name"),a=c&&"something"===function(){}.name,u=c&&(!r||r&&o(i,"name").configurable);e.exports={EXISTS:c,PROPER:a,CONFIGURABLE:u}},7864:(e,t,n)=>{"use strict";var r=n(9252),s=n(28);e.exports=function(e,t,n){try{return r(s(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}},1248:(e,t,n)=>{"use strict";var r=n(7936),s=n(9252);e.exports=function(e){if("Function"===r(e))return s(e)}},9252:(e,t,n)=>{"use strict";var r=n(2820),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)}}},8702:(e,t,n)=>{"use strict";var r=n(9832),s=n(5216),i=n(8536),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]}},68:(e,t,n)=>{"use strict";var r=n(3016),s=n(1636),i=n(9511),o=n(7256),c=n(3336)("iterator");e.exports=function(e){if(!i(e))return s(e,c)||s(e,"@@iterator")||o[r(e)]}},4656:(e,t,n)=>{"use strict";var r=n(4580),s=n(28),i=n(2032),o=n(8944),c=n(68),a=TypeError;e.exports=function(e,t){var n=arguments.length<2?c(e):t;if(s(n))return i(r(n,e));throw new a(o(e)+" is not iterable")}},1636:(e,t,n)=>{"use strict";var r=n(28),s=n(9511);e.exports=function(e,t){var n=e[t];return s(n)?void 0:r(n)}},5216: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)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},4664:(e,t,n)=>{"use strict";var r=n(9252),s=n(2819),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(s(e),t)}},3328:e=>{"use strict";e.exports={}},7896:(e,t,n)=>{"use strict";var r=n(8702);e.exports=r("document","documentElement")},124:(e,t,n)=>{"use strict";var r=n(9172),s=n(2064),i=n(1940);e.exports=!r&&!s((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},2899:(e,t,n)=>{"use strict";var r=n(9252),s=n(2064),i=n(7936),o=Object,c=r("".split);e.exports=s((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?c(e,""):o(e)}:o},1664:(e,t,n)=>{"use strict";var r=n(8536),s=n(8608),i=n(2288);e.exports=function(e,t,n){var o,c;return i&&r(o=t.constructor)&&o!==n&&s(c=o.prototype)&&c!==n.prototype&&i(e,c),e}},9055:(e,t,n)=>{"use strict";var r=n(8608),s=n(896);e.exports=function(e,t){r(t)&&"cause"in t&&s(e,"cause",t.cause)}},2344:(e,t,n)=>{"use strict";var r,s,i,o=n(3184),c=n(5216),a=n(8608),u=n(896),l=n(4664),p=n(9284),h=n(924),m=n(3328),f="Object already initialized",d=c.TypeError,y=c.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=h("state");m[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(!a(t)||(n=s(t)).type!==e)throw new d("Incompatible receiver, "+e+" required");return n}}}},4992:(e,t,n)=>{"use strict";var r=n(3336),s=n(7256),i=r("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(s.Array===e||o[i]===e)}},8536:e=>{"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},6155:(e,t,n)=>{"use strict";var r=n(2064),s=n(8536),i=/#|\.prototype\./,o=function(e,t){var n=a[c(e)];return n===l||n!==u&&(s(t)?r(t):!!t)},c=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},a=o.data={},u=o.NATIVE="N",l=o.POLYFILL="P";e.exports=o},9511:e=>{"use strict";e.exports=function(e){return null==e}},8608:(e,t,n)=>{"use strict";var r=n(8536);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},7432:(e,t,n)=>{"use strict";var r=n(8608);e.exports=function(e){return r(e)||null===e}},1016:e=>{"use strict";e.exports=!0},5376:(e,t,n)=>{"use strict";var r=n(8702),s=n(8536),i=n(2360),o=n(6416),c=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return s(t)&&i(t.prototype,c(e))}},5799:(e,t,n)=>{"use strict";var r=n(1884),s=n(4580),i=n(2032),o=n(8944),c=n(4992),a=n(5316),u=n(2360),l=n(4656),p=n(68),h=n(5872),m=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,w,E,x,j=n&&n.that,O=!(!n||!n.AS_ENTRIES),P=!(!n||!n.IS_RECORD),S=!(!n||!n.IS_ITERATOR),A=!(!n||!n.INTERRUPTED),_=r(t,j),k=function(e){return y&&h(y,"normal",e),new f(!0,e)},I=function(e){return O?(i(e),A?_(e[0],e[1],k):_(e[0],e[1])):A?_(e,k):_(e)};if(P)y=e.iterator;else if(S)y=e;else{if(!(g=p(e)))throw new m(o(e)+" is not iterable");if(c(g)){for(v=0,b=a(e);b>v;v++)if((w=I(e[v]))&&u(d,w))return w;return new f(!1)}y=l(e,g)}for(E=P?e.next:y.next;!(x=s(E,y)).done;){try{w=I(x.value)}catch(e){h(y,"throw",e)}if("object"==typeof w&&w&&u(d,w))return w}return new f(!1)}},5872:(e,t,n)=>{"use strict";var r=n(4580),s=n(2032),i=n(1636);e.exports=function(e,t,n){var o,c;s(e);try{if(!(o=i(e,"return"))){if("throw"===t)throw n;return n}o=r(o,e)}catch(e){c=!0,o=e}if("throw"===t)throw n;if(c)throw o;return s(o),n}},9976:(e,t,n)=>{"use strict";var r=n(2224).IteratorPrototype,s=n(4488),i=n(8981),o=n(5836),c=n(7256),a=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),c[l]=a,e}},536:(e,t,n)=>{"use strict";var r=n(3952),s=n(4580),i=n(1016),o=n(3564),c=n(8536),a=n(9976),u=n(5420),l=n(2288),p=n(5836),h=n(896),m=n(5424),f=n(3336),d=n(7256),y=n(2224),g=o.PROPER,v=o.CONFIGURABLE,b=y.IteratorPrototype,w=y.BUGGY_SAFARI_ITERATORS,E=f("iterator"),x="keys",j="values",O="entries",P=function(){return this};e.exports=function(e,t,n,o,f,y,S){a(n,t,o);var A,_,k,I=function(e){if(e===f&&F)return F;if(!w&&e&&e in $)return $[e];switch(e){case x:case j:case O:return function(){return new n(this,e)}}return function(){return new n(this)}},M=t+" Iterator",T=!1,$=e.prototype,R=$[E]||$["@@iterator"]||f&&$[f],F=!w&&R||I(f),D="Array"===t&&$.entries||R;if(D&&(A=u(D.call(new e)))!==Object.prototype&&A.next&&(i||u(A)===b||(l?l(A,b):c(A[E])||m(A,E,P)),p(A,M,!0,!0),i&&(d[M]=P)),g&&f===j&&R&&R.name!==j&&(!i&&v?h($,"name",j):(T=!0,F=function(){return s(R,this)})),f)if(_={values:I(j),keys:y?F:I(x),entries:I(O)},S)for(k in _)(w||T||!(k in $))&&m($,k,_[k]);else r({target:t,proto:!0,forced:w||T},_);return i&&!S||$[E]===F||m($,E,F,{name:f}),d[t]=F,_}},2224:(e,t,n)=>{"use strict";var r,s,i,o=n(2064),c=n(8536),a=n(8608),u=n(4488),l=n(5420),p=n(5424),h=n(3336),m=n(1016),f=h("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(s=l(l(i)))!==Object.prototype&&(r=s):d=!0),!a(r)||o((function(){var e={};return r[f].call(e)!==e}))?r={}:m&&(r=u(r)),c(r[f])||p(r,f,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:d}},7256:e=>{"use strict";e.exports={}},5316:(e,t,n)=>{"use strict";var r=n(4596);e.exports=function(e){return r(e.length)}},24: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)}},3080:(e,t,n)=>{"use strict";var r=n(9352);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:r(e)}},4488:(e,t,n)=>{"use strict";var r,s=n(2032),i=n(6452),o=n(3620),c=n(3328),a=n(7896),u=n(1940),l=n(924),p="prototype",h="script",m=l("IE_PROTO"),f=function(){},d=function(e){return"<"+h+">"+e+"</"+h+">"},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"+h+":",t.style.display="none",a.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()};c[m]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(f[p]=s(e),n=new f,f[p]=null,n[m]=e):n=g(),void 0===t?n:i.f(n,t)}},6452:(e,t,n)=>{"use strict";var r=n(9172),s=n(3109),i=n(2280),o=n(2032),c=n(445),a=n(9547);t.f=r&&!s?Object.defineProperties:function(e,t){o(e);for(var n,r=c(t),s=a(t),u=s.length,l=0;u>l;)i.f(e,n=s[l++],r[n]);return e}},2280:(e,t,n)=>{"use strict";var r=n(9172),s=n(124),i=n(3109),o=n(2032),c=n(2319),a=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,p="enumerable",h="configurable",m="writable";t.f=r?i?function(e,t,n){if(o(e),t=c(t),o(n),"function"==typeof e&&"prototype"===t&&"value"in n&&m in n&&!n[m]){var r=l(e,t);r&&r[m]&&(e[t]=n.value,n={configurable:h in n?n[h]:r[h],enumerable:p in n?n[p]:r[p],writable:!1})}return u(e,t,n)}:u:function(e,t,n){if(o(e),t=c(t),o(n),s)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new a("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},1008:(e,t,n)=>{"use strict";var r=n(9172),s=n(4580),i=n(6500),o=n(8981),c=n(445),a=n(2319),u=n(4664),l=n(124),p=Object.getOwnPropertyDescriptor;t.f=r?p:function(e,t){if(e=c(e),t=a(t),l)try{return p(e,t)}catch(e){}if(u(e,t))return o(!s(i.f,e,t),e[t])}},1600:(e,t,n)=>{"use strict";var r=n(2884),s=n(3620).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,s)}},4060:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},5420:(e,t,n)=>{"use strict";var r=n(4664),s=n(8536),i=n(2819),o=n(924),c=n(2480),a=o("IE_PROTO"),u=Object,l=u.prototype;e.exports=c?u.getPrototypeOf:function(e){var t=i(e);if(r(t,a))return t[a];var n=t.constructor;return s(n)&&t instanceof n?n.prototype:t instanceof u?l:null}},2360:(e,t,n)=>{"use strict";var r=n(9252);e.exports=r({}.isPrototypeOf)},2884:(e,t,n)=>{"use strict";var r=n(9252),s=n(4664),i=n(445),o=n(5083).indexOf,c=n(3328),a=r([].push);e.exports=function(e,t){var n,r=i(e),u=0,l=[];for(n in r)!s(c,n)&&s(r,n)&&a(l,n);for(;t.length>u;)s(r,n=t[u++])&&(~o(l,n)||a(l,n));return l}},9547:(e,t,n)=>{"use strict";var r=n(2884),s=n(3620);e.exports=Object.keys||function(e){return r(e,s)}},6500:(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},2288:(e,t,n)=>{"use strict";var r=n(7864),s=n(2032),i=n(1459);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)},1616:(e,t,n)=>{"use strict";var r=n(6744),s=n(3016);e.exports=r?{}.toString:function(){return"[object "+s(this)+"]"}},416:(e,t,n)=>{"use strict";var r=n(4580),s=n(8536),i=n(8608),o=TypeError;e.exports=function(e,t){var n,c;if("string"===t&&s(n=e.toString)&&!i(c=r(n,e)))return c;if(s(n=e.valueOf)&&!i(c=r(n,e)))return c;if("string"!==t&&s(n=e.toString)&&!i(c=r(n,e)))return c;throw new o("Can't convert object to primitive value")}},7876:(e,t,n)=>{"use strict";var r=n(8702),s=n(9252),i=n(1600),o=n(4060),c=n(2032),a=s([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(c(e)),n=o.f;return n?a(t,n(e)):t}},9832:e=>{"use strict";e.exports={}},9360:(e,t,n)=>{"use strict";var r=n(2280).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}})}},9952:(e,t,n)=>{"use strict";var r=n(9511),s=TypeError;e.exports=function(e){if(r(e))throw new s("Can't call method on "+e);return e}},5836:(e,t,n)=>{"use strict";var r=n(6744),s=n(2280).f,i=n(896),o=n(4664),c=n(1616),a=n(3336)("toStringTag");e.exports=function(e,t,n,u){var l=n?e:e&&e.prototype;l&&(o(l,a)||s(l,a,{configurable:!0,value:t}),u&&!r&&i(l,"toString",c))}},924:(e,t,n)=>{"use strict";var r=n(8852),s=n(4316),i=r("keys");e.exports=function(e){return i[e]||(i[e]=s(e))}},9284:(e,t,n)=>{"use strict";var r=n(5216),s=n(4408),i="__core-js_shared__",o=r[i]||s(i,{});e.exports=o},8852:(e,t,n)=>{"use strict";var r=n(1016),s=n(9284);(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.35.1",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE",source:"https://github.com/zloirock/core-js"})},6392:(e,t,n)=>{"use strict";var r=n(9252),s=n(5016),i=n(9352),o=n(9952),c=r("".charAt),a=r("".charCodeAt),u=r("".slice),l=function(e){return function(t,n){var r,l,p=i(o(t)),h=s(n),m=p.length;return h<0||h>=m?e?"":void 0:(r=a(p,h))<55296||r>56319||h+1===m||(l=a(p,h+1))<56320||l>57343?e?c(p,h):r:e?u(p,h,h+2):l-56320+(r-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},5235:(e,t,n)=>{"use strict";var r=n(3896),s=n(2064),i=n(5216).String;e.exports=!!Object.getOwnPropertySymbols&&!s((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},4180:(e,t,n)=>{"use strict";var r=n(5016),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)}},445:(e,t,n)=>{"use strict";var r=n(2899),s=n(9952);e.exports=function(e){return r(s(e))}},5016:(e,t,n)=>{"use strict";var r=n(24);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},4596:(e,t,n)=>{"use strict";var r=n(5016),s=Math.min;e.exports=function(e){var t=r(e);return t>0?s(t,9007199254740991):0}},2819:(e,t,n)=>{"use strict";var r=n(9952),s=Object;e.exports=function(e){return s(r(e))}},3504:(e,t,n)=>{"use strict";var r=n(4580),s=n(8608),i=n(5376),o=n(1636),c=n(416),a=n(3336),u=TypeError,l=a("toPrimitive");e.exports=function(e,t){if(!s(e)||i(e))return e;var n,a=o(e,l);if(a){if(void 0===t&&(t="default"),n=r(a,e,t),!s(n)||i(n))return n;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),c(e,t)}},2319:(e,t,n)=>{"use strict";var r=n(3504),s=n(5376);e.exports=function(e){var t=r(e,"string");return s(t)?t:t+""}},6744:(e,t,n)=>{"use strict";var r={};r[n(3336)("toStringTag")]="z",e.exports="[object z]"===String(r)},9352:(e,t,n)=>{"use strict";var r=n(3016),s=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return s(e)}},8944:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},4316:(e,t,n)=>{"use strict";var r=n(9252),s=0,i=Math.random(),o=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++s+i,36)}},6416:(e,t,n)=>{"use strict";var r=n(5235);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3109:(e,t,n)=>{"use strict";var r=n(9172),s=n(2064);e.exports=r&&s((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},3184:(e,t,n)=>{"use strict";var r=n(5216),s=n(8536),i=r.WeakMap;e.exports=s(i)&&/native code/.test(String(i))},3336:(e,t,n)=>{"use strict";var r=n(5216),s=n(8852),i=n(4664),o=n(4316),c=n(5235),a=n(6416),u=r.Symbol,l=s("wks"),p=a?u.for||u:u&&u.withoutSetter||o;e.exports=function(e){return i(l,e)||(l[e]=c&&i(u,e)?u[e]:p("Symbol."+e)),l[e]}},5960:(e,t,n)=>{"use strict";var r=n(8702),s=n(4664),i=n(896),o=n(2360),c=n(2288),a=n(1100),u=n(9360),l=n(1664),p=n(3080),h=n(9055),m=n(9035),f=n(9172),d=n(1016);e.exports=function(e,t,n,y){var g="stackTraceLimit",v=y?2:1,b=e.split("."),w=b[b.length-1],E=r.apply(null,b);if(E){var x=E.prototype;if(!d&&s(x,"cause")&&delete x.cause,!n)return E;var j=r("Error"),O=t((function(e,t){var n=p(y?t:e,void 0),r=y?new E(e):new E;return void 0!==n&&i(r,"message",n),m(r,O,r.stack,2),this&&o(x,this)&&l(r,this,O),arguments.length>v&&h(r,arguments[v]),r}));if(O.prototype=x,"Error"!==w?c?c(O,j):a(O,j,{name:!0}):f&&g in E&&(u(O,E,g),u(O,E,"prepareStackTrace")),a(O,E),!d)try{x.name!==w&&i(x,"name",w),x.constructor=O}catch(e){}return O}}},5936:(e,t,n)=>{"use strict";var r=n(3952),s=n(8702),i=n(9867),o=n(2064),c=n(5960),a="AggregateError",u=s(a),l=!o((function(){return 1!==u([1]).errors[0]}))&&o((function(){return 7!==u([1],a,{cause:7}).cause}));r({global:!0,constructor:!0,arity:2,forced:l},{AggregateError:c(a,(function(e){return function(t,n){return i(e,this,arguments)}}),l,!0)})},9232:(e,t,n)=>{"use strict";var r=n(3952),s=n(2360),i=n(5420),o=n(2288),c=n(1100),a=n(4488),u=n(896),l=n(8981),p=n(9055),h=n(9035),m=n(5799),f=n(3080),d=n(3336)("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:a(b),u(n,d,"Error")),void 0!==t&&u(n,"message",f(t)),h(n,v,n.stack,1),arguments.length>2&&p(n,arguments[2]);var c=[];return m(e,g,{that:c}),u(n,"errors",c),n};o?o(v,y):c(v,y,{name:!0});var b=v.prototype=a(y.prototype,{constructor:l(1,v),message:l(1,""),name:l(1,"AggregateError")});r({global:!0,constructor:!0,arity:2},{AggregateError:v})},8436:(e,t,n)=>{"use strict";n(9232)},340:(e,t,n)=>{"use strict";var r=n(445),s=n(1472),i=n(7256),o=n(2344),c=n(2280).f,a=n(536),u=n(3848),l=n(1016),p=n(9172),h="Array Iterator",m=o.set,f=o.getterFor(h);e.exports=a(Array,"Array",(function(e,t){m(this,{type:h,target:r(e),index:0,kind:t})}),(function(){var e=f(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=void 0,u(void 0,!0);switch(e.kind){case"keys":return u(n,!1);case"values":return u(t[n],!1)}return u([n,t[n]],!1)}),"values");var d=i.Arguments=i.Array;if(s("keys"),s("values"),s("entries"),!l&&p&&"values"!==d.name)try{c(d,"name",{value:"values"})}catch(e){}},4420:(e,t,n)=>{"use strict";var r=n(3952),s=n(5216),i=n(9867),o=n(5960),c="WebAssembly",a=s[c],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(a&&a[e]){var n={};n[e]=o(c+"."+e,t,u),r({target:c,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)}}))},4176:(e,t,n)=>{"use strict";var r=n(6392).charAt,s=n(9352),i=n(2344),o=n(536),c=n(3848),a="String Iterator",u=i.set,l=i.getterFor(a);o(String,"String",(function(e){u(this,{type:a,string:s(e),index:0})}),(function(){var e,t=l(this),n=t.string,s=t.index;return s>=n.length?c(void 0,!0):(e=r(n,s),t.index+=e.length,c(e,!1))}))},2796:(e,t,n)=>{"use strict";n(8436)},3624:(e,t,n)=>{"use strict";n(340);var r=n(472),s=n(5216),i=n(5836),o=n(7256);for(var c in r)i(s[c],c),o[c]=o.Array},7828:(e,t,n)=>{"use strict";n(2796);var r=n(7984);n(3624),e.exports=r}},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.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:()=>ua,ContactElement:()=>Ls,DefinitionsElement:()=>yi,ExampleElement:()=>ei,ExternalDocumentationElement:()=>Ks,FallbackVisitor:()=>oo,FixedFieldsVisitor:()=>Fo,HeaderElement:()=>ci,HeadersElement:()=>oi,InfoElement:()=>Ns,ItemsElement:()=>Ys,JSONReferenceElement:()=>_n,LicenseElement:()=>Bs,MapVisitor:()=>fa,MixedFieldsVisitor:()=>oa,OpenAPIMediaTypes:()=>Ms,OperationConsumesElement:()=>Mi,OperationElement:()=>Gs,OperationParametersElement:()=>$i,OperationProducesElement:()=>Fi,OperationSchemesElement:()=>Ci,OperationSecurityElement:()=>qi,OperationTagsElement:()=>Vi,ParameterElement:()=>Xs,ParametersDefinitionsElement:()=>vi,PathItemElement:()=>Us,PathItemParametersElement:()=>Hi,PathsElement:()=>zs,PatternedFieldsVisitor:()=>nc,ReferenceElement:()=>fi,ResponseElement:()=>si,ResponsesDefinitionsElement:()=>wi,ResponsesElement:()=>ni,SchemaElement:()=>li,ScopesElement:()=>Si,SecurityDefinitionsElement:()=>xi,SecurityRequirementElement:()=>_i,SecuritySchemeElement:()=>Oi,SpecificationVisitor:()=>_o,SwaggerConsumesElement:()=>Ji,SwaggerElement:()=>Rs,SwaggerProducesElement:()=>Qi,SwaggerSchemesElement:()=>Wi,SwaggerSecurityElement:()=>Xi,SwaggerTagsElement:()=>Zi,SwaggerVersionElement:()=>Ds,TagElement:()=>ui,Visitor:()=>io,XmlElement:()=>hi,createRefractor:()=>ru,default:()=>ki,getNodeType:()=>eo,isArrayElement:()=>ue,isBooleanElement:()=>ce,isContactElement:()=>cc,isDefinitionsElement:()=>Pc,isElement:()=>re,isExampleElement:()=>gc,isExternalDocumentationElement:()=>pc,isHeaderElement:()=>vc,isHeadersElement:()=>yc,isInfoElement:()=>ic,isItemsElement:()=>mc,isJSONReferenceElement:()=>Rn,isJSONReferenceLikeElement:()=>Cn,isLicenseElement:()=>oc,isLinkPrimitiveElement:()=>pe,isMemberElement:()=>le,isNullElement:()=>oe,isNumberElement:()=>ie,isObjectElement:()=>ae,isOperationElement:()=>lc,isParameterElement:()=>hc,isParametersDefinitionsElement:()=>Sc,isPathItemElement:()=>uc,isPathsElement:()=>ac,isRefElement:()=>he,isReferenceElement:()=>wc,isReferenceLikeElement:()=>Ro,isResponseElement:()=>dc,isResponsesDefinitionsElement:()=>jc,isResponsesElement:()=>fc,isSchemaElement:()=>Ec,isScopesElement:()=>_c,isSecurityDefinitionsElement:()=>Oc,isSecurityRequirementElement:()=>kc,isSecuritySchemeElement:()=>Ac,isStringElement:()=>se,isSwaggerElement:()=>rc,isSwaggerExtension:()=>$o,isSwaggerVersionElement:()=>sc,isTagElement:()=>bc,isXmlElement:()=>xc,keyMap:()=>to,mediaTypes:()=>Ts,refract:()=>su,refractorPluginReplaceEmptyElement:()=>so,specificationObj:()=>eu});var e={};n.r(e),n.d(e,{hasElementSourceMap:()=>ve,includesClasses:()=>we,includesSymbols:()=>be,isAnnotationElement:()=>me,isArrayElement:()=>ue,isBooleanElement:()=>ce,isCommentElement:()=>fe,isElement:()=>re,isLinkElement:()=>pe,isMemberElement:()=>le,isNullElement:()=>oe,isNumberElement:()=>ie,isObjectElement:()=>ae,isParseResultElement:()=>de,isPrimitiveElement:()=>ge,isRefElement:()=>he,isSourceMapElement:()=>ye,isStringElement:()=>se});var t={};n.r(t),n.d(t,{isJSONReferenceElement:()=>Rn,isJSONSchemaElement:()=>$n,isLinkDescriptionElement:()=>Dn,isMediaElement:()=>Fn});var s={};n.r(s),n.d(s,{isReferenceLikeElement:()=>Ro,isSwaggerExtension:()=>$o});var i={};n.r(i),n.d(i,{isContactElement:()=>cc,isDefinitionsElement:()=>Pc,isExampleElement:()=>gc,isExternalDocumentationElement:()=>pc,isHeaderElement:()=>vc,isHeadersElement:()=>yc,isInfoElement:()=>ic,isItemsElement:()=>mc,isLicenseElement:()=>oc,isOperationElement:()=>lc,isParameterElement:()=>hc,isParametersDefinitionsElement:()=>Sc,isPathItemElement:()=>uc,isPathsElement:()=>ac,isReferenceElement:()=>wc,isResponseElement:()=>dc,isResponsesDefinitionsElement:()=>jc,isResponsesElement:()=>fc,isSchemaElement:()=>Ec,isScopesElement:()=>_c,isSecurityDefinitionsElement:()=>Oc,isSecurityRequirementElement:()=>kc,isSecuritySchemeElement:()=>Ac,isSwaggerElement:()=>rc,isSwaggerVersionElement:()=>sc,isTagElement:()=>bc,isXmlElement:()=>xc});var o=n(928);function c(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function a(e){return function t(n){return 0===arguments.length||c(n)?t:e.apply(this,arguments)}}function u(e){return function t(n,r){switch(arguments.length){case 0:return t;case 1:return c(n)?t:a((function(t){return e(n,t)}));default:return c(n)&&c(r)?t:c(n)?a((function(t){return e(t,r)})):c(r)?a((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 h(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}const m=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"]=m,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=h(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,c){return t.apply(this,arguments)};case 8:return function(e,n,r,s,i,o,c,a){return t.apply(this,arguments)};case 9:return function(e,n,r,s,i,o,c,a,u){return t.apply(this,arguments)};case 10:return function(e,n,r,s,i,o,c,a,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,a=!1;o<t.length||s<arguments.length;){var u;o<t.length&&(!c(t[o])||s>=arguments.length)?u=t[o]:(u=arguments[s],s+=1),r[o]=u,c(u)?a=!0:i-=1,o+=1}return!a&&i<=0?n.apply(this,r):v(Math.max(0,i),b(e,r,n))}}const w=u((function(e,t){return 1===e?a(t):v(e,b(e,[],t))}));const E=a((function(e){return w(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 j(e,t,n){for(var r=0,s=n.length;r<s;){if(e(t,n[r]))return!0;r+=1}return!1}function O(e,t){return Object.prototype.hasOwnProperty.call(t,e)}const P="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};var S=Object.prototype.toString;const A=function(){return"[object Arguments]"===S.call(arguments)?function(e){return"[object Arguments]"===S.call(e)}:function(e){return O("callee",e)}}();var _=!{toString:null}.propertyIsEnumerable("toString"),k=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],I=function(){return arguments.propertyIsEnumerable("length")}(),M=function(e,t){for(var n=0;n<e.length;){if(e[n]===t)return!0;n+=1}return!1},T="function"!=typeof Object.keys||I?a((function(e){if(Object(e)!==e)return[];var t,n,r=[],s=I&&A(e);for(t in e)!O(t,e)||s&&"length"===t||(r[r.length]=t);if(_)for(n=k.length-1;n>=0;)O(t=k[n],e)&&!M(r,t)&&(r[r.length]=t),n-=1;return r})):a((function(e){return Object(e)!==e?[]:Object.keys(e)}));const $=T;const R=a((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function F(e,t,n,r){var s=x(e);function i(e,t){return D(e,t,n.slice(),r.slice())}return!j((function(e,t){return!j(i,t,e)}),x(t),s)}function D(e,t,n,r){if(P(e,t))return!0;var s,i,o=R(e);if(o!==R(t))return!1;if("function"==typeof e["fantasy-land/equals"]||"function"==typeof t["fantasy-land/equals"])return"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t)&&"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e);if("function"==typeof e.equals||"function"==typeof t.equals)return"function"==typeof e.equals&&e.equals(t)&&"function"==typeof t.equals&&t.equals(e);switch(o){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===(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||!P(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!P(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 c=n.length-1;c>=0;){if(n[c]===e)return r[c]===t;c-=1}switch(o){case"Map":return e.size===t.size&&F(e.entries(),t.entries(),n.concat([e]),r.concat([t]));case"Set":return e.size===t.size&&F(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 a=$(e);if(a.length!==$(t).length)return!1;var u=n.concat([e]),l=r.concat([t]);for(c=a.length-1;c>=0;){var p=a[c];if(!O(p,t)||!D(t[p],e[p],u,l))return!1;c-=1}return!0}const C=u((function(e,t){return D(e,t,[],[])}));function N(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(C(e[n],t))return n;n+=1}return-1}(t,e,0)>=0}const q=E(u(N));class L extends o.M${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 V=L;class B extends o.M${constructor(e,t,n){super(e,t,n),this.element="comment"}}const H=B;const z=a((function(e){return function(){return e}}));const W=z(void 0);const U=C(W());class J extends o.uQ{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 G=J;class Q extends o.uQ{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(void 0===e)return;const t=new o.uQ([e.start.row,e.start.column,e.start.char]),n=new o.uQ([e.end.row,e.end.column,e.end.char]);t.classes.push("position"),n.classes.push("position"),this.push(t).push(n)}}const K=Q,X=(e,t)=>"object"==typeof t&&null!==t&&e in t&&"function"==typeof t[e],Y=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.uQ)&&t.classes.includes(e),te=(e,t)=>"object"==typeof t&&null!==t&&"element"in t&&t.element===e,ne=e=>e({hasMethod:X,hasBasicElementProps:Y,primitiveEq:Z,isElementType:te,hasClass:ee}),re=ne((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof o.gr||e(n)&&t(void 0,n))),se=ne((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof o.M$||e(n)&&t("string",n))),ie=ne((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof o.wH||e(n)&&t("number",n))),oe=ne((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof o.WM||e(n)&&t("null",n))),ce=ne((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof o.Ar||e(n)&&t("boolean",n))),ae=ne((({hasBasicElementProps:e,primitiveEq:t,hasMethod:n})=>r=>r instanceof o.We||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.uQ&&!(r instanceof o.We)||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.u6||e(r)&&t("member",r)&&n(void 0,r))),pe=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof o.UH||e(r)&&t("link",r)&&n(void 0,r))),he=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof o.eE||e(r)&&t("ref",r)&&n(void 0,r))),me=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof V||e(r)&&t("annotation",r)&&n("array",r))),fe=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof H||e(r)&&t("comment",r)&&n("string",r))),de=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof G||e(r)&&t("parseResult",r)&&n("array",r))),ye=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof K||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)},we=(e,t)=>0===e.length||g(q(t.classes.toValue()),e);function Ee(e){return function t(n,r,s){switch(arguments.length){case 0:return t;case 1:return c(n)?t:u((function(t,r){return e(n,t,r)}));case 2:return c(n)&&c(r)?t:c(n)?u((function(t,n){return e(t,r,n)})):c(r)?u((function(t,r){return e(n,t,r)})):a((function(t){return e(n,r,t)}));default:return c(n)&&c(r)&&c(s)?t:c(n)&&c(r)?u((function(t,n){return e(t,n,s)})):c(n)&&c(s)?u((function(t,n){return e(t,r,n)})):c(r)&&c(s)?u((function(t,r){return e(n,t,r)})):c(n)?a((function(t){return e(t,r,s)})):c(r)?a((function(t){return e(n,t,s)})):c(s)?a((function(t){return e(n,r,t)})):e(n,r,s)}}}function xe(e){return"[object Object]"===Object.prototype.toString.call(e)}const je=Ee((function(e,t,n){var r,s={};for(r in n=n||{},t=t||{})O(r,t)&&(s[r]=O(r,n)?e(r,t[r],n[r]):t[r]);for(r in n)O(r,n)&&!O(r,s)&&(s[r]=n[r]);return s}));const Oe=Ee((function e(t,n,r){return je((function(n,r,s){return xe(r)&&xe(s)?e(t,r,s):t(n,r,s)}),n,r)}));const Pe=u((function(e,t){return Oe((function(e,t,n){return n}),e,t)}));const Se=u((function(e,t){return null==t||t!=t?e:t})),Ae=Number.isInteger||function(e){return e<<0===e};function _e(e){return"[object String]"===Object.prototype.toString.call(e)}const ke=u((function(e,t){var n=e<0?t.length+e:e;return _e(t)?t.charAt(n):t[n]}));const Ie=u((function(e,t){if(null!=t)return Ae(e)?ke(e,t):t[e]}));const Me=Ee((function(e,t,n){return Se(e,Ie(t,n))}));const Te=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=Ae(n)?ke(n,r):r[n],s+=1}return r}))}));const $e=u((function(e,t){return Te([e],t)[0]}));function Re(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 Fe=Ee(Re("slice",(function(e,t,n){return Array.prototype.slice.call(n,e,t)})));const De=Fe(0,-1);const Ce=u((function(e,t){return v(e.length,(function(){return e.apply(t,arguments)}))}));const Ne=u((function(e,t){return e.apply(this,t)}));function qe(e,t,n){for(var r=0,s=n.length;r<s;)t=e(t,n[r]),r+=1;return t}const Le=a((function(e){return!!l(e)||!!e&&("object"==typeof e&&(!_e(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));var Ve="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function Be(e,t,n){return function(r,s,i){if(Le(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[Ve])return n(r,s,i[Ve]());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 He(e,t,n){for(var r=n.next();!r.done;)t=e(t,r.value),r=n.next();return t}function ze(e,t,n,r){return n[r](e,t)}const We=Be(qe,ze,He);function Ue(e,t){for(var n=0,r=t.length,s=Array(r);n<r;)s[n]=e(t[n]),n+=1;return s}var Je=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=m,e.prototype["@@transducer/result"]=f,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}();const Ge=u(p(["fantasy-land/map","map"],(function(e){return function(t){return new Je(e,t)}}),(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return w(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return qe((function(n,r){return n[r]=e(t[r]),n}),{},$(t));default:return Ue(e,t)}})));const Qe=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))}:We((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,Ge(n,t))}),[],e)}));const Ke=u((function(e,t){var n=w(e,t);return w(e,(function(){return qe(Qe,Ge(n,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const Xe=a((function(e){return Ke(e.length,e)}));const Ye=Xe(a((function(e){return!e})));function Ze(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 et=function(e){return(e<10?"0":"")+e};const tt="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+et(e.getUTCMonth()+1)+"-"+et(e.getUTCDate())+"T"+et(e.getUTCHours())+":"+et(e.getUTCMinutes())+":"+et(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};var nt=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=m,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 rt(e){return function(t){return new nt(e,t)}}const st=u(p(["fantasy-land/filter","filter"],rt,(function(e,t){return xe(t)?qe((function(n,r){return e(t[r])&&(n[r]=t[r]),n}),{},$(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 it=u((function(e,t){return st((n=e,function(){return!n.apply(this,arguments)}),t);var n}));function ot(e,t){var n=function(n){var r=t.concat([e]);return N(n,r)?"<Circular>":ot(n,r)},r=function(e,t){return Ue((function(t){return Ze(t)+": "+n(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+Ue(n,e).join(", ")+"))";case"[object Array]":return"["+Ue(n,e).concat(r(e,it((function(e){return/^\d+$/.test(e)}),$(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):Ze(tt(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())+")":Ze(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,$(e)).join(", ")+"}"}}const ct=a((function(e){return ot(e,[])}));const at=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=ct(e),o=n(i,ct(t));return void 0!==o&&o===i?e:t}));const ut=u((function(e,t){return Ge(Ie(e),t)}));function lt(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 pt(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 ht(e,t,n,r){return e["@@transducer/result"](n[r](Ce(e["@@transducer/step"],e),t))}const mt=Be(lt,ht,pt);var ft=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 dt=Ee((function(e,t,n){return mt("function"==typeof e?new ft(e):e,t,n)}));const yt=a((function(e){return w(dt(at,0,ut("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 gt(e,t){return function(){return t.call(this,e.apply(this,arguments))}}const vt=a(Re("tail",Fe(1,1/0)));function bt(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return v(arguments[0].length,dt(gt,arguments[0],vt(arguments)))}var wt=function(e,t){switch(arguments.length){case 0:return wt;case 1:return function t(n){return 0===arguments.length?t:P(e,n)};default:return P(e,t)}};const Et=wt;const xt=w(1,bt(R,Et("GeneratorFunction")));const jt=w(1,bt(R,Et("AsyncFunction")));const Ot=yt([bt(R,Et("Function")),xt,jt]);const Pt=Ye(Ot);function St(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const At=u((function(e,t){return e&&t}));const _t=u((function(e,t){return St(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:Xe(At)(e,t)}));var kt=a((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)?[]:_e(e)?"":xe(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 It=kt;const Mt=a((function(e){return null!=e&&C(e,It(e))}));const Tt=w(1,Ot(Array.isArray)?Array.isArray:bt(R,Et("Array")));const $t=_t(Tt,Mt);const Rt=w(3,(function(e,t,n){var r=$e(e,n),s=$e(De(e),n);if(!Pt(r)&&!$t(e)){var i=Ce(r,s);return Ne(i,t)}}));const Ft=Ee((function(e,t,n){return e($e(t,n))}));const Dt=C(null);const Ct=Ye(Dt);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 qt=function(e){return"object"===Nt(e)};const Lt=w(1,_t(Ct,qt));var Vt=bt(R,Et("Object")),Bt=bt(ct,C(ct(Object))),Ht=Ft(_t(Ot,Bt),["constructor"]);const zt=w(1,(function(e){if(!Lt(e)||!Vt(e))return!1;var t=Object.getPrototypeOf(e);return!!Dt(t)||Ht(t)}));class Wt extends o.MH{constructor(){super(),this.register("annotation",V),this.register("comment",H),this.register("parseResult",G),this.register("sourceMap",K)}}const Ut=new Wt,Jt=e=>{const t=new Wt;return zt(e)&&t.use(e),t},Gt=Ut,Qt=()=>({predicates:{...e},namespace:Gt});const Kt=w(1,bt(R,Et("String")));var Xt=n(1204);const Yt=class extends Xt{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,null!=n&&"object"==typeof n&&Object.hasOwn(n,"cause")&&!("cause"in this)){const{cause:e}=n;this.cause=e,e instanceof Error&&"stack"in e&&(this.stack=`${this.stack}\nCAUSE: ${e.stack}`)}}};class Zt extends Error{static[Symbol.hasInstance](e){return super[Symbol.hasInstance](e)||Function.prototype[Symbol.hasInstance].call(Yt,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,null!=t&&"object"==typeof t&&Object.hasOwn(t,"cause")&&!("cause"in this)){const{cause:e}=t;this.cause=e,e instanceof Error&&"stack"in e&&(this.stack=`${this.stack}\nCAUSE: ${e.stack}`)}}}const en=Zt;const tn=class extends en{constructor(e,t){if(super(e,t),null!=t&&"object"==typeof t){const{cause:e,...n}=t;Object.assign(this,n)}}},nn=(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},rn={},sn=e=>null==e?void 0:e.type,on=e=>"string"==typeof sn(e),cn=e=>Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e)),an=(e,t,{keyMap:n=null,state:r={},breakSymbol:s=rn,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:c=nn,nodeTypeGetter:a=sn,nodePredicate:u=on,nodeCloneFn:l=cn,detectCycles:p=!0}={})=>{const h=n||{};let m,f,d=Array.isArray(e),y=[e],g=-1,v=[],b=e;const w=[],E=[];do{g+=1;const e=g===y.length;let n;const j=e&&0!==v.length;if(e){if(n=0===E.length?void 0:w.pop(),b=f,f=E.pop(),j)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=m.index,y=m.keys,v=m.edits,d=m.inArray,m=m.prev}else if(f!==i&&void 0!==f){if(n=d?g:y[g],b=f[n],b===i||void 0===b)continue;w.push(n)}let O;if(!Array.isArray(b)){if(!u(b))throw new tn(`Invalid AST Node: ${String(b)}`,{node:b});if(p&&E.includes(b)){w.pop();continue}const i=c(t,a(b),e);if(i){for(const[e,n]of Object.entries(r))t[e]=n;O=i.call(t,b,n,f,w,E)}if(O===s)break;if(O===o){if(!e){w.pop();continue}}else if(void 0!==O&&(v.push([n,O]),!e)){if(!u(O)){w.pop();continue}b=O}}var x;if(void 0===O&&j&&v.push([n,b]),!e)m={inArray:d,index:g,keys:y,edits:v,prev:m},d=Array.isArray(b),y=d?b:null!==(x=h[a(b)])&&void 0!==x?x:[],g=-1,v=[],f!==i&&void 0!==f&&E.push(f),f=b}while(void 0!==m);return 0!==v.length?v[v.length-1][1]:e};an[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:n=null,state:r={},breakSymbol:s=rn,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:c=nn,nodeTypeGetter:a=sn,nodePredicate:u=on,nodeCloneFn:l=cn,detectCycles:p=!0}={})=>{const h=n||{};let m,f,d=Array.isArray(e),y=[e],g=-1,v=[],b=e;const w=[],E=[];do{g+=1;const e=g===y.length;let n;const j=e&&0!==v.length;if(e){if(n=0===E.length?void 0:w.pop(),b=f,f=E.pop(),j)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=m.index,y=m.keys,v=m.edits,d=m.inArray,m=m.prev}else if(f!==i&&void 0!==f){if(n=d?g:y[g],b=f[n],b===i||void 0===b)continue;w.push(n)}let O;if(!Array.isArray(b)){if(!u(b))throw new tn(`Invalid AST Node: ${String(b)}`,{node:b});if(p&&E.includes(b)){w.pop();continue}const i=c(t,a(b),e);if(i){for(const[e,n]of Object.entries(r))t[e]=n;O=await i.call(t,b,n,f,w,E)}if(O===s)break;if(O===o){if(!e){w.pop();continue}}else if(void 0!==O&&(v.push([n,O]),!e)){if(!u(O)){w.pop();continue}b=O}}var x;if(void 0===O&&j&&v.push([n,b]),!e)m={inArray:d,index:g,keys:y,edits:v,prev:m},d=Array.isArray(b),y=d?b:null!==(x=h[a(b)])&&void 0!==x?x:[],g=-1,v=[],f!==i&&void 0!==f&&E.push(f),f=b}while(void 0!==m);return 0!==v.length?v[v.length-1][1]:e};const un=class extends tn{value;constructor(e,t){super(e,t),void 0!==t&&(this.value=t.value)}};const ln=class extends un{};const pn=class extends un{},hn=(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)?hn(t,r):t,c=re(s)?hn(s,r):s,a=new o.KeyValuePair(i,c);return n.set(e,a),a}if(e instanceof o.wL){const t=e=>hn(e,r),s=[...e].map(t),i=new o.wL(s);return n.set(e,i),i}if(e instanceof o.eW){const t=e=>hn(e,r),s=[...e].map(t),i=new o.eW(s);return n.set(e,i),i}if(re(e)){const t=dn(e);if(n.set(e,t),e.content)if(re(e.content))t.content=hn(e.content,r);else if(e.content instanceof o.KeyValuePair)t.content=hn(e.content,r);else if(Array.isArray(e.content)){const n=e=>hn(e,r);t.content=e.content.map(n)}else t.content=e.content;else t.content=e.content;return t}throw new ln("Value provided to cloneDeep function couldn't be cloned",{value:e})};hn.safe=e=>{try{return hn(e)}catch{return e}};const mn=e=>{const{key:t,value:n}=e;return new o.KeyValuePair(t,n)},fn=e=>{const t=new e.constructor;if(t.element=e.element,e.meta.length>0&&(t._meta=hn(e.meta)),e.attributes.length>0&&(t._attributes=hn(e.attributes)),re(e.content)){const n=e.content;t.content=fn(n)}else Array.isArray(e.content)?t.content=[...e.content]:e.content instanceof o.KeyValuePair?t.content=mn(e.content):t.content=e.content;return t},dn=e=>{if(e instanceof o.KeyValuePair)return mn(e);if(e instanceof o.wL)return(e=>{const t=[...e];return new o.wL(t)})(e);if(e instanceof o.eW)return(e=>{const t=[...e];return new o.eW(t)})(e);if(re(e))return fn(e);throw new pn("Value provided to cloneShallow function couldn't be cloned",{value:e})};dn.safe=e=>{try{return dn(e)}catch{return e}};const yn=e=>ae(e)?"ObjectElement":ue(e)?"ArrayElement":le(e)?"MemberElement":se(e)?"StringElement":ce(e)?"BooleanElement":ie(e)?"NumberElement":oe(e)?"NullElement":pe(e)?"LinkElement":he(e)?"RefElement":void 0,gn=e=>re(e)?dn(e):cn(e),vn=bt(yn,Kt),bn={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]};const wn=(e,t,{keyMap:n=bn,...r}={})=>an(e,t,{keyMap:n,nodeTypeGetter:yn,nodePredicate:vn,nodeCloneFn:gn,...r});wn[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:n=bn,...r}={})=>an[Symbol.for("nodejs.util.promisify.custom")](e,t,{keyMap:n,nodeTypeGetter:yn,nodePredicate:vn,nodeCloneFn:gn,...r});const En={toolboxCreator:Qt,visitorOptions:{nodeTypeGetter:yn,exposeEdits:!0}},xn=(e,t,n={})=>{if(0===t.length)return e;const r=Pe(En,n),{toolboxCreator:s,visitorOptions:i}=r,o=s(),c=t.map((e=>e(o))),a=((e,{visitFnGetter:t=nn,nodeTypeGetter:n=sn,breakSymbol:r=rn,deleteNodeSymbol:s=null,skipVisitingNodeSymbol:i=!1,exposeEdits:o=!1}={})=>{const c=Symbol("skip"),a=new Array(e.length).fill(c);return{enter(u,...l){let p=u,h=!1;for(let m=0;m<e.length;m+=1)if(a[m]===c){const c=t(e[m],n(p),!1);if("function"==typeof c){const t=c.call(e[m],p,...l);if(t===i)a[m]=u;else if(t===r)a[m]=r;else{if(t===s)return t;if(void 0!==t){if(!o)return t;p=t,h=!0}}}}return h?p:void 0},leave(s,...o){for(let u=0;u<e.length;u+=1)if(a[u]===c){const c=t(e[u],n(s),!0);if("function"==typeof c){const t=c.call(e[u],s,...o);if(t===r)a[u]=r;else if(void 0!==t&&t!==i)return t}}else a[u]===s&&(a[u]=c)}}})(c.map(Me({},"visitor")),{...i});c.forEach(Rt(["pre"],[]));const u=wn(e,a,i);return c.forEach(Rt(["post"],[])),u},jn=(e,{Type:t,plugins:n=[]})=>{const r=new t(e);return xn(r,n,{toolboxCreator:Qt,visitorOptions:{nodeTypeGetter:yn}})},On=e=>(t,n={})=>jn(t,{...n,Type:e});o.We.refract=On(o.We),o.uQ.refract=On(o.uQ),o.M$.refract=On(o.M$),o.Ar.refract=On(o.Ar),o.WM.refract=On(o.WM),o.wH.refract=On(o.wH),o.UH.refract=On(o.UH),o.eE.refract=On(o.eE),V.refract=On(V),H.refract=On(H),G.refract=On(G),K.refract=On(K);class Pn extends o.We{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("$schema",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 Sn=Pn;class An extends o.We{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 _n=An;class kn extends o.We{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 In=kn;class Mn extends o.We{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 Tn=Mn,$n=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Sn||e(r)&&t("JSONSchemaDraft4",r)&&n("object",r))),Rn=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof _n||e(r)&&t("JSONReference",r)&&n("object",r))),Fn=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof In||e(r)&&t("media",r)&&n("object",r))),Dn=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Tn||e(r)&&t("linkDescription",r)&&n("object",r))),Cn=e=>ae(e)&&e.hasKey("$ref");const Nn=u((function(e,t){return qe((function(n,r){return n[r]=e(t[r],r,t),n}),{},$(t))}));const qn=a((function(e){return null==e}));const Ln=u((function(e,t){if(0===e.length||qn(t))return!1;for(var n=t,r=0;r<e.length;){if(qn(n)||!O(e[r],n))return!1;n=n[e[r]],r+=1}return!0}));var Vn=u((function(e,t){return Ln([e],t)}));const Bn=Vn;const Hn=Ee((function(e,t,n){return e(Ie(t,n))}));const zn=a((function(e){return w(e.length,e)}));const Wn=u((function(e,t){return w(e+1,(function(){var n=arguments[e];if(null!=n&&St(n[t]))return n[t].apply(n,Array.prototype.slice.call(arguments,0,e));throw new TypeError(ct(n)+' does not have a method named "'+t+'"')}))}));const Un=Wn(1,"split");var Jn=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=m,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 Gn(e){return function(t){return new Jn(e,t)}}const Qn=u(p(["dropWhile"],Gn,(function(e,t){for(var n=0,r=t.length;n<r&&e(t[n]);)n+=1;return Fe(n,1/0,t)})));const Kn=Wn(1,"join");const Xn=zn((function(e,t){return bt(Un(""),Qn(q(e)),Kn(""))(t)})),Yn=(e,t)=>{const n=Se(e,t);return Nn((e=>{if(zt(e)&&Bn("$ref",e)&&Hn(Kt,"$ref",e)){const t=$e(["$ref"],e),r=Xn("#/",t);return $e(r.split("/"),n)}return zt(e)?Yn(e,n):e}),e)};var Zn=n(4248);const er=Zn({props:{element:null},methods:{copyMetaAndAttributes(e,t){ve(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),tr=Zn(er,{methods:{enter(e){return this.element=hn(e),rn}}});const nr=z(W());const rr=function(){return!0},sr=e=>"string"==typeof(null==e?void 0:e.type)?e.type:yn(e),ir={EphemeralObject:["content"],EphemeralArray:["content"],...bn},or=(e,t,{keyMap:n=ir,...r}={})=>wn(e,t,{keyMap:n,nodeTypeGetter:sr,nodePredicate:rr,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...r});or[Symbol.for("nodejs.util.promisify.custom")]=async(e,{keyMap:t=ir,...n}={})=>wn[Symbol.for("nodejs.util.promisify.custom")](e,visitor,{keyMap:t,nodeTypeGetter:sr,nodePredicate:rr,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 ar=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))}};class ur{ObjectElement={enter:e=>{if(this.references.has(e))return this.references.get(e).toReference();const t=new ar(e.content);return this.references.set(e,t),t}};EphemeralObject={leave:e=>e.toObject()};MemberElement={enter:e=>[e.key,e.value]};ArrayElement={enter:e=>{if(this.references.has(e))return this.references.get(e).toReference();const t=new cr(e.content);return this.references.set(e,t),t}};EphemeralArray={leave:e=>e.toArray()};references=new WeakMap;BooleanElement(e){return e.toValue()}NumberElement(e){return e.toValue()}StringElement(e){return e.toValue()}NullElement(){return null}}const lr=e=>re(e)?se(e)||ie(e)||ce(e)||oe(e)?e.toValue():or(e,new ur):e;const pr=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=Zn(er,{props:{specObj:null,passingOptionsNames:["specObj"]},init({specObj:e=this.specObj}){this.specObj=e},methods:{retrievePassingOptions(){return pr(this.passingOptionsNames,this)},retrieveFixedFields(e){const t=$e(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]},retrieveVisitor(e){return Ft(Ot,["visitors",...e],this.specObj)?$e(["visitors",...e],this.specObj):$e(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e,t={}){const n=this.retrievePassingOptions();return new(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?hn(t):(wn(t,r,n),r.element)}}}),mr=Zn(hr,{props:{specPath:nr,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(lr(r))&&!this.ignoredFields.includes(lr(r))){const n=this.toRefractedElement([...t,"fixedFields",lr(r)],e),i=new o.u6(hn(r),n);this.copyMetaAndAttributes(s,i),i.classes.push("fixed-field"),this.element.content.push(i)}else this.ignoredFields.includes(lr(r))||this.element.content.push(hn(s))})),this.copyMetaAndAttributes(e,this.element),rn}}}),fr=Zn(mr,tr,{props:{specPath:z(["document","objects","JSONSchema"])},init(){this.element=new Sn}}),dr=tr,yr=tr,gr=tr,vr=tr,br=tr,wr=tr,Er=tr,xr=tr,jr=tr,Or=tr,Pr=Zn({props:{parent:null},init({parent:e=this.parent}){this.parent=e,this.passingOptionsNames=[...this.passingOptionsNames,"parent"]}}),Sr=Zn(hr,Pr,tr,{methods:{ObjectElement(e){const t=Cn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),rn},ArrayElement(e){return this.element=new o.uQ,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=Cn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),rn}}}),Ar=tr,_r=tr,kr=tr,Ir=tr,Mr=tr,Tr=Zn(tr,{methods:{ArrayElement(e){return this.element=hn(e),this.element.classes.push("json-schema-required"),rn}}});const $r=a((function(e){return w(dt(at,0,ut("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 Rr=u((function(e,t){return e||t}));const Fr=Ye(w(1,_t(Ct,u((function(e,t){return St(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:Xe(Rr)(e,t)}))(qt,Ot))));const Dr=Ye(Mt);const Cr=$r([Kt,Fr,Dr]);const Nr=function(){return!1},qr=Zn(hr,{props:{fieldPatternPredicate:Nr,specPath:nr,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(lr(t))&&this.fieldPatternPredicate(lr(t))){const r=this.specPath(e),s=this.toRefractedElement(r,e),i=new o.u6(hn(t),s);this.copyMetaAndAttributes(n,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(lr(t))||this.element.content.push(hn(n))})),this.copyMetaAndAttributes(e,this.element),rn}}}),Lr=Zn(qr,{props:{fieldPatternPredicate:Cr}}),Vr=Zn(Lr,Pr,tr,{props:{specPath:e=>Cn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new o.We,this.element.classes.push("json-schema-properties")}}),Br=Zn(Lr,Pr,tr,{props:{specPath:e=>Cn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new o.We,this.element.classes.push("json-schema-patternProperties")}}),Hr=Zn(Lr,Pr,tr,{props:{specPath:e=>Cn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new o.We,this.element.classes.push("json-schema-dependencies")}}),zr=Zn(tr,{methods:{ArrayElement(e){return this.element=hn(e),this.element.classes.push("json-schema-enum"),rn}}}),Wr=Zn(tr,{methods:{StringElement(e){return this.element=hn(e),this.element.classes.push("json-schema-type"),rn},ArrayElement(e){return this.element=hn(e),this.element.classes.push("json-schema-type"),rn}}}),Ur=Zn(hr,Pr,tr,{init(){this.element=new o.uQ,this.element.classes.push("json-schema-allOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Cn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),rn}}}),Jr=Zn(hr,Pr,tr,{init(){this.element=new o.uQ,this.element.classes.push("json-schema-anyOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Cn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),rn}}}),Gr=Zn(hr,Pr,tr,{init(){this.element=new o.uQ,this.element.classes.push("json-schema-oneOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Cn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),rn}}}),Qr=Zn(Lr,Pr,tr,{props:{specPath:e=>Cn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new o.We,this.element.classes.push("json-schema-definitions")}}),Kr=tr,Xr=tr,Yr=tr,Zr=tr,es=tr,ts=Zn(hr,Pr,tr,{init(){this.element=new o.uQ,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),rn}}}),ns=tr,rs=Zn(mr,tr,{props:{specPath:z(["document","objects","JSONReference"])},init(){this.element=new _n},methods:{ObjectElement(e){const t=mr.compose.methods.ObjectElement.call(this,e);return se(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),ss=Zn(tr,{methods:{StringElement(e){return this.element=hn(e),this.element.classes.push("reference-value"),rn}}});const is=Ee((function(e,t,n){return w(Math.max(e.length,t.length,n.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):n.apply(this,arguments)}))}));const os=a((function(e){return function(t,n){return e(t,n)?-1:e(n,t)?1:0}}));var cs=u((function(e,t){return Array.prototype.slice.call(t,0).sort(e)}));const as=cs;const us=ke(0);const ls=a(h);const ps=Ye(qn);const hs=_t(Tt,Dr);function ms(e){return function(e){if(Array.isArray(e))return fs(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 fs(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 fs(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 fs(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 ds=bt(as(os((function(e,t){return e.length>t.length}))),us,Ie("length")),ys=zn((function(e,t,n){var r=n.apply(void 0,ms(e));return ps(r)?ls(r):t}));const gs=is(hs,(function(e){var t=ds(e);return w(t,(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return dt(ys(n),void 0,e)}))}),W),vs=Zn(hr,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>is(e,z(t),W))),n=gs(t)(e);return this.element=this.toRefractedElement(n,e),rn}}}),bs=Zn(vs,{props:{alternator:[{predicate:Cn,specPath:["document","objects","JSONReference"]},{predicate:rr,specPath:["document","objects","JSONSchema"]}]}}),ws={visitors:{value:tr,JSONSchemaOrJSONReferenceVisitor:bs,document:{objects:{JSONSchema:{$visitor:fr,fixedFields:{id:dr,$schema:yr,multipleOf:gr,maximum:vr,exclusiveMaximum:br,minimum:wr,exclusiveMinimum:Er,maxLength:xr,minLength:jr,pattern:Or,additionalItems:bs,items:Sr,maxItems:Ar,minItems:_r,uniqueItems:kr,maxProperties:Ir,minProperties:Mr,required:Tr,properties:Vr,additionalProperties:bs,patternProperties:Br,dependencies:Hr,enum:zr,type:Wr,allOf:Ur,anyOf:Jr,oneOf:Gr,not:bs,definitions:Qr,title:Kr,description:Xr,default:Yr,format:Zr,base:es,links:ts,media:{$ref:"#/visitors/document/objects/Media"},readOnly:ns}},JSONReference:{$visitor:rs,fixedFields:{$ref:ss}},Media:{$visitor:Zn(mr,tr,{props:{specPath:z(["document","objects","Media"])},init(){this.element=new In}}),fixedFields:{binaryEncoding:tr,type:tr}},LinkDescription:{$visitor:Zn(mr,tr,{props:{specPath:z(["document","objects","LinkDescription"])},init(){this.element=new Tn}}),fixedFields:{href:tr,rel:tr,title:tr,targetSchema:bs,mediaType:tr,method:tr,encType:tr,schema:bs}}}}}},Es=e=>{if(re(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},xs={JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...bn},js={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft4",Sn),t.register("jSONReference",_n),t.register("media",In),t.register("linkDescription",Tn),t}},Os=()=>{const e=Jt(js);return{predicates:{...t,isStringElement:se},namespace:e}},Ps=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:n=[],specificationObj:r=ws}={})=>{const s=(0,o.WG)(e),i=Yn(r),c=Rt(t,[],i);return wn(s,c,{state:{specObj:i}}),xn(c.element,n,{toolboxCreator:Os,visitorOptions:{keyMap:xs,nodeTypeGetter:Es}})},Ss=e=>(t,n={})=>Ps(t,{specPath:e,...n});Sn.refract=Ss(["visitors","document","objects","JSONSchema","$visitor"]),_n.refract=Ss(["visitors","document","objects","JSONReference","$visitor"]),In.refract=Ss(["visitors","document","objects","Media","$visitor"]),Tn.refract=Ss(["visitors","document","objects","LinkDescription","$visitor"]);const As=ke(-1);const _s=class extends en{};const ks=class extends _s{};const Is=class extends Array{unknownMediaType="application/octet-stream";filterByFormat(){throw new ks("filterByFormat method in MediaTypes class is not yet implemented.")}findBy(){throw new ks("findBy method in MediaTypes class is not yet implemented.")}latest(){throw new ks("latest method in MediaTypes class is not yet implemented.")}};class Ms extends Is{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 As(this.filterByFormat(e))}}const Ts=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.We{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 Rs=$s;class Fs extends o.M${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.We{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 Ns=Cs;class qs extends o.We{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=qs;class Vs extends o.We{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 Bs=Vs;class Hs extends o.We{constructor(e,t,n){super(e,t,n),this.element="paths"}}const zs=Hs;class Ws extends o.We{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 Us=Ws;class Js extends o.We{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.Ar(!1)}set deprecated(e){this.set("deprecated",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}}const Gs=Js;class Qs extends o.We{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 Ks=Qs;const Xs=class extends Sn{constructor(e,t,n){super(e,t,n),this.element="parameter",this.classes.push("json-schema-draft-4")}get idProp(){throw new _s("idProp getter in Parameter class is not not supported.")}set idProp(e){throw new _s("idProp setter in Parameter class is not not supported.")}get $schema(){throw new _s("$schema getter in Parameter class is not not supported.")}set $schema(e){throw new _s("$schema setter in Parameter class is not not supported.")}get additionalItems(){throw new _s("additionalItems getter in Parameter class is not not supported.")}set additionalItems(e){throw new _s("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 _s("maxProperties getter in Parameter class is not not supported.")}set maxProperties(e){throw new _s("maxProperties setter in Parameter class is not not supported.")}get minProperties(){throw new _s("minProperties getter in Parameter class is not not supported.")}set minProperties(e){throw new _s("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 _s("properties getter in Parameter class is not not supported.")}set properties(e){throw new _s("properties setter in Parameter class is not not supported.")}get additionalProperties(){throw new _s("additionalProperties getter in Parameter class is not not supported.")}set additionalProperties(e){throw new _s("additionalProperties setter in Parameter class is not not supported.")}get patternProperties(){throw new _s("patternProperties getter in Parameter class is not not supported.")}set patternProperties(e){throw new _s("patternProperties setter in Parameter class is not not supported.")}get dependencies(){throw new _s("dependencies getter in Parameter class is not not supported.")}set dependencies(e){throw new _s("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 _s("allOf getter in Parameter class is not not supported.")}set allOf(e){throw new _s("allOf setter in Parameter class is not not supported.")}get anyOf(){throw new _s("anyOf getter in Parameter class is not not supported.")}set anyOf(e){throw new _s("anyOf setter in Parameter class is not not supported.")}get oneOf(){throw new _s("oneOf getter in Parameter class is not not supported.")}set oneOf(e){throw new _s("oneOf setter in Parameter class is not not supported.")}get not(){throw new _s("not getter in Parameter class is not not supported.")}set not(e){throw new _s("not setter in Parameter class is not not supported.")}get definitions(){throw new _s("definitions getter in Parameter class is not not supported.")}set definitions(e){throw new _s("definitions setter in Parameter class is not not supported.")}get title(){throw new _s("title getter in Parameter class is not not supported.")}set title(e){throw new _s("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 _s("base getter in Parameter class is not not supported.")}set base(e){throw new _s("base setter in Parameter class is not not supported.")}get links(){throw new _s("links getter in Parameter class is not not supported.")}set links(e){throw new _s("links setter in Parameter class is not not supported.")}get media(){throw new _s("media getter in Parameter class is not not supported.")}set media(e){throw new _s("media setter in Parameter class is not not supported.")}get readOnly(){throw new _s("readOnly getter in Parameter class is not not supported.")}set readOnly(e){throw new _s("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 Ys=class extends Sn{constructor(e,t,n){super(e,t,n),this.element="items",this.classes.push("json-schema-draft-4")}get idProp(){throw new _s("idProp getter in Items class is not not supported.")}set idProp(e){throw new _s("idProp setter in Items class is not not supported.")}get $schema(){throw new _s("$schema getter in Items class is not not supported.")}set $schema(e){throw new _s("$schema setter in Items class is not not supported.")}get additionalItems(){throw new _s("additionalItems getter in Items class is not not supported.")}set additionalItems(e){throw new _s("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 _s("maxProperties getter in Items class is not not supported.")}set maxProperties(e){throw new _s("maxProperties setter in Items class is not not supported.")}get minProperties(){throw new _s("minProperties getter in Items class is not not supported.")}set minProperties(e){throw new _s("minProperties setter in Items class is not not supported.")}get required(){throw new _s("required getter in Items class is not not supported.")}set required(e){throw new _s("required setter in Items class is not not supported.")}get properties(){throw new _s("properties getter in Items class is not not supported.")}set properties(e){throw new _s("properties setter in Items class is not not supported.")}get additionalProperties(){throw new _s("additionalProperties getter in Items class is not not supported.")}set additionalProperties(e){throw new _s("additionalProperties setter in Items class is not not supported.")}get patternProperties(){throw new _s("patternProperties getter in Items class is not not supported.")}set patternProperties(e){throw new _s("patternProperties setter in Items class is not not supported.")}get dependencies(){throw new _s("dependencies getter in Items class is not not supported.")}set dependencies(e){throw new _s("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 _s("allOf getter in Items class is not not supported.")}set allOf(e){throw new _s("allOf setter in Items class is not not supported.")}get anyOf(){throw new _s("anyOf getter in Items class is not not supported.")}set anyOf(e){throw new _s("anyOf setter in Items class is not not supported.")}get oneOf(){throw new _s("oneOf getter in Items class is not not supported.")}set oneOf(e){throw new _s("oneOf setter in Items class is not not supported.")}get not(){throw new _s("not getter in Items class is not not supported.")}set not(e){throw new _s("not setter in Items class is not not supported.")}get definitions(){throw new _s("definitions getter in Items class is not not supported.")}set definitions(e){throw new _s("definitions setter in Items class is not not supported.")}get title(){throw new _s("title getter in Items class is not not supported.")}set title(e){throw new _s("title setter in Items class is not not supported.")}get description(){throw new _s("description getter in Items class is not not supported.")}set description(e){throw new _s("description setter in Items class is not not supported.")}get base(){throw new _s("base getter in Items class is not not supported.")}set base(e){throw new _s("base setter in Items class is not not supported.")}get links(){throw new _s("links getter in Items class is not not supported.")}set links(e){throw new _s("links setter in Items class is not not supported.")}get media(){throw new _s("media getter in Items class is not not supported.")}set media(e){throw new _s("media setter in Items class is not not supported.")}get readOnly(){throw new _s("readOnly getter in Items class is not not supported.")}set readOnly(e){throw new _s("readOnly setter in Items class is not not supported.")}};class Zs extends o.We{constructor(e,t,n){super(e,t,n),this.element="example"}}const ei=Zs;class ti extends o.We{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 ni=ti;class ri extends o.We{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 si=ri;class ii extends o.We{constructor(e,t,n){super(e,t,n),this.element="headers"}}const oi=ii;const ci=class extends Sn{constructor(e,t,n){super(e,t,n),this.element="header",this.classes.push("json-schema-draft-4")}get idProp(){throw new _s("idProp getter in Header class is not not supported.")}set idProp(e){throw new _s("idProp setter in Header class is not not supported.")}get $schema(){throw new _s("$schema getter in Header class is not not supported.")}set $schema(e){throw new _s("$schema setter in Header class is not not supported.")}get additionalItems(){throw new _s("additionalItems getter in Header class is not not supported.")}set additionalItems(e){throw new _s("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 _s("maxProperties getter in Header class is not not supported.")}set maxProperties(e){throw new _s("maxProperties setter in Header class is not not supported.")}get minProperties(){throw new _s("minProperties getter in Header class is not not supported.")}set minProperties(e){throw new _s("minProperties setter in Header class is not not supported.")}get required(){throw new _s("required getter in Header class is not not supported.")}set required(e){throw new _s("required setter in Header class is not not supported.")}get properties(){throw new _s("properties getter in Header class is not not supported.")}set properties(e){throw new _s("properties setter in Header class is not not supported.")}get additionalProperties(){throw new _s("additionalProperties getter in Header class is not not supported.")}set additionalProperties(e){throw new _s("additionalProperties setter in Header class is not not supported.")}get patternProperties(){throw new _s("patternProperties getter in Header class is not not supported.")}set patternProperties(e){throw new _s("patternProperties setter in Header class is not not supported.")}get dependencies(){throw new _s("dependencies getter in Header class is not not supported.")}set dependencies(e){throw new _s("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 _s("allOf getter in Header class is not not supported.")}set allOf(e){throw new _s("allOf setter in Header class is not not supported.")}get anyOf(){throw new _s("anyOf getter in Header class is not not supported.")}set anyOf(e){throw new _s("anyOf setter in Header class is not not supported.")}get oneOf(){throw new _s("oneOf getter in Header class is not not supported.")}set oneOf(e){throw new _s("oneOf setter in Header class is not not supported.")}get not(){throw new _s("not getter in Header class is not not supported.")}set not(e){throw new _s("not setter in Header class is not not supported.")}get definitions(){throw new _s("definitions getter in Header class is not not supported.")}set definitions(e){throw new _s("definitions setter in Header class is not not supported.")}get title(){throw new _s("title getter in Header class is not not supported.")}set title(e){throw new _s("title setter in Header class is not not supported.")}get base(){throw new _s("base getter in Header class is not not supported.")}set base(e){throw new _s("base setter in Header class is not not supported.")}get links(){throw new _s("links getter in Header class is not not supported.")}set links(e){throw new _s("links setter in Header class is not not supported.")}get media(){throw new _s("media getter in Header class is not not supported.")}set media(e){throw new _s("media setter in Header class is not not supported.")}get readOnly(){throw new _s("readOnly getter in Header class is not not supported.")}set readOnly(e){throw new _s("readOnly setter in Header class is not not supported.")}};class ai extends o.We{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 ui=ai;const li=class extends Sn{constructor(e,t,n){super(e,t,n),this.element="schema",this.classes.push("json-schema-draft-4")}get idProp(){throw new _s("idProp getter in Schema class is not not supported.")}set idProp(e){throw new _s("idProp setter in Schema class is not not supported.")}get $schema(){throw new _s("$schema getter in Schema class is not not supported.")}set $schema(e){throw new _s("$schema setter in Schema class is not not supported.")}get additionalItems(){throw new _s("additionalItems getter in Schema class is not not supported.")}set additionalItems(e){throw new _s("additionalItems setter in Schema class is not not supported.")}get patternProperties(){throw new _s("patternProperties getter in Schema class is not not supported.")}set patternProperties(e){throw new _s("patternProperties setter in Schema class is not not supported.")}get dependencies(){throw new _s("dependencies getter in Schema class is not not supported.")}set dependencies(e){throw new _s("dependencies setter in Schema class is not not supported.")}get anyOf(){throw new _s("anyOf getter in Schema class is not not supported.")}set anyOf(e){throw new _s("anyOf setter in Schema class is not not supported.")}get oneOf(){throw new _s("oneOf getter in Schema class is not not supported.")}set oneOf(e){throw new _s("oneOf setter in Schema class is not not supported.")}get not(){throw new _s("not getter in Schema class is not not supported.")}set not(e){throw new _s("not setter in Schema class is not not supported.")}get definitions(){throw new _s("definitions getter in Schema class is not not supported.")}set definitions(e){throw new _s("definitions setter in Schema class is not not supported.")}get base(){throw new _s("base getter in Schema class is not not supported.")}set base(e){throw new _s("base setter in Schema class is not not supported.")}get links(){throw new _s("links getter in Schema class is not not supported.")}set links(e){throw new _s("links setter in Schema class is not not supported.")}get media(){throw new _s("media getter in Schema class is not not supported.")}set media(e){throw new _s("media setter in Schema class is not not supported.")}};class pi extends o.We{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=pi;class mi extends o.We{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 fi=mi;class di extends o.We{constructor(e,t,n){super(e,t,n),this.element="definitions"}}const yi=di;class gi extends o.We{constructor(e,t,n){super(e,t,n),this.element="parametersDefinitions"}}const vi=gi;class bi extends o.We{constructor(e,t,n){super(e,t,n),this.element="responsesDefinitions"}}const wi=bi;class Ei extends o.We{constructor(e,t,n){super(e,t,n),this.element="securityDefinitions"}}const xi=Ei;class ji extends o.We{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 Oi=ji;class Pi extends o.We{constructor(e,t,n){super(e,t,n),this.element="scopes"}}const Si=Pi;class Ai extends o.We{constructor(e,t,n){super(e,t,n),this.element="securityRequirement"}}const _i=Ai,ki={namespace:e=>{const{base:t}=e;return t.register("swagger",Rs),t.register("swaggerVersion",Ds),t.register("info",Ns),t.register("contact",Ls),t.register("license",Bs),t.register("paths",zs),t.register("pathItem",Us),t.register("operation",Gs),t.register("externalDocumentation",Ks),t.register("parameter",Xs),t.register("items",Ys),t.register("responses",ni),t.register("response",si),t.register("headers",oi),t.register("example",ei),t.register("header",ci),t.register("tag",ui),t.register("reference",fi),t.register("schema",li),t.register("xml",hi),t.register("definitions",yi),t.register("parametersDefinitions",vi),t.register("responsesDefinitions",wi),t.register("securityDefinitions",xi),t.register("securityScheme",Oi),t.register("scopes",Si),t.register("securityRequirement",_i),t}};class Ii extends o.uQ{static primaryClass="operation-consumes";constructor(e,t,n){super(e,t,n),this.classes.push(Ii.primaryClass)}}const Mi=Ii;class Ti extends o.uQ{static primaryClass="operation-parameters";constructor(e,t,n){super(e,t,n),this.classes.push(Ti.primaryClass),this.classes.push("parameters")}}const $i=Ti;class Ri extends o.uQ{static primaryClass="operation-produces";constructor(e,t,n){super(e,t,n),this.classes.push(Ri.primaryClass)}}const Fi=Ri;class Di extends o.uQ{static primaryClass="operation-schemes";constructor(e,t,n){super(e,t,n),this.classes.push(Di.primaryClass)}}const Ci=Di;class Ni extends o.uQ{static primaryClass="operation-security";constructor(e,t,n){super(e,t,n),this.classes.push(Ni.primaryClass),this.classes.push("security")}}const qi=Ni;class Li extends o.uQ{static primaryClass="operation-tags";constructor(e,t,n){super(e,t,n),this.classes.push(Li.primaryClass),this.classes.push("tags")}}const Vi=Li;class Bi extends o.uQ{static primaryClass="path-item-parameters";constructor(e,t,n){super(e,t,n),this.classes.push(Bi.primaryClass),this.classes.push("parameters")}}const Hi=Bi;class zi extends o.uQ{static primaryClass="swagger-schemes";constructor(e,t,n){super(e,t,n),this.classes.push(zi.primaryClass)}}const Wi=zi;class Ui extends o.uQ{static primaryClass="swagger-consumes";constructor(e,t,n){super(e,t,n),this.classes.push(Ui.primaryClass)}}const Ji=Ui;class Gi extends o.uQ{static primaryClass="swagger-produces";constructor(e,t,n){super(e,t,n),this.classes.push(Gi.primaryClass)}}const Qi=Gi;class Ki extends o.uQ{static primaryClass="swagger-security";constructor(e,t,n){super(e,t,n),this.classes.push(Ki.primaryClass),this.classes.push("security")}}const Xi=Ki;class Yi extends o.uQ{static primaryClass="swagger-tags";constructor(e,t,n){super(e,t,n),this.classes.push(Yi.primaryClass)}}const Zi=Yi,eo=e=>{if(re(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},to={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"],...bn},no={SwaggerElement:{info:(...e)=>new Ns(...e),schemes:(...e)=>new Wi(...e),consumes:(...e)=>new Ji(...e),produces:(...e)=>new Qi(...e),paths:(...e)=>new zs(...e),definitions:(...e)=>new yi(...e),parameters:(...e)=>new vi(...e),responses:(...e)=>new wi(...e),securityDefinitions:(...e)=>new xi(...e),security:(...e)=>new Xi(...e),tags:(...e)=>new Zi(...e),externalDocs:(...e)=>new Ks(...e)},InfoElement:{contact:(...e)=>new Ls(...e),license:(...e)=>new Bs(...e)},PathsElement:{"[key: *]":function(...e){return new Us(...e)}},PathItemElement:{get:(...e)=>new Gs(...e),put:(...e)=>new Gs(...e),post:(...e)=>new Gs(...e),delete:(...e)=>new Gs(...e),options:(...e)=>new Gs(...e),head:(...e)=>new Gs(...e),patch:(...e)=>new Gs(...e),parameters:(...e)=>new Hi(...e)},OperationElement:{tags:(...e)=>new Vi(...e),externalDocs:(...e)=>new Ks(...e),consumes:(...e)=>new Mi(...e),produces:(...e)=>new Fi(...e),parameters:(...e)=>new $i(...e),responses:(...e)=>new ni(...e),schemes:(...e)=>new Ci(...e),security:(...e)=>new qi(...e)},ParameterElement:{schema:(...e)=>new li(...e),items:(...e)=>new Ys(...e)},ItemsElement:{items:(...e)=>new Ys(...e)},ResponsesElement:{"[key: *]":function(...e){return new si(...e)}},ResponseElement:{schema:(...e)=>new li(...e),headers:(...e)=>new oi(...e),examples:(...e)=>new ei(...e)},HeadersElement:{"[key: *]":function(...e){return new ci(...e)}},HeaderElement:{items:(...e)=>new Ys(...e)},TagElement:{externalDocs:(...e)=>new Ks(...e)},SchemaElement:{items:(...e)=>new li(...e),allOf(...e){const t=new o.uQ(...e);return t.classes.push("json-schema-allOf"),t},properties(...e){const t=new o.We(...e);return t.classes.push("json-schema-properties"),t},additionalProperties:(...e)=>new li(...e),xml:(...e)=>new hi(...e),externalDocs:(...e)=>new Ks(...e)},DefinitionsElement:{"[key: *]":function(...e){return new li(...e)}},ParametersDefinitionsElement:{"[key: *]":function(...e){return new Xs(...e)}},ResponsesDefinitionsElement:{"[key: *]":function(...e){return new si(...e)}},SecurityDefinitionsElement:{"[key: *]":function(...e){return new Oi(...e)}},SecuritySchemeElement:{scopes:(...e)=>new Si(...e)},SecurityRequirementElement:{"[key: *]":function(...e){return new o.uQ(...e)}},[$i.primaryClass]:{"<*>":function(...e){return new Xs(...e)}},[qi.primaryClass]:{"<*>":function(...e){return new _i(...e)}},[Hi.primaryClass]:{"<*>":function(...e){return new Xs(...e)}},[Xi.primaryClass]:{"<*>":function(...e){return new _i(...e)}},[Zi.primaryClass]:{"<*>":function(...e){return new ui(...e)}},"json-schema-properties":{"[key: *]":function(...e){return new li(...e)}},"json-schema-allOf":{"<*>":function(...e){return new li(...e)}}},ro=(e,t)=>{const n=eo(e),r=no[n]||no[lr(e.classes.first)];return void 0===r?void 0:Object.prototype.hasOwnProperty.call(r,"[key: *]")?r["[key: *]"]:r[t]},so=()=>()=>({visitor:{StringElement(e,t,n,r,s){if(!(e=>se(e)&&we(["yaml-e-node","yaml-e-scalar"],e))(e))return;const i=[...s,n].filter(re),o=i[i.length-1];let c,a;return ue(o)?(a=e,c=ro(o,"<*>")):le(o)&&(a=i[i.length-2],c=ro(a,lr(o.key))),"function"==typeof c?c.call({context:a},void 0,hn(e.meta),hn(e.attributes)):void 0}}});const io=class{element;constructor(e={}){Object.assign(this,e)}copyMetaAndAttributes(e,t){ve(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}};const oo=class extends io{enter(e){return this.element=hn(e),rn}},co=(e,t,n=[])=>{const r=Object.getOwnPropertyDescriptors(t);for(let e of n)delete r[e];Object.defineProperties(e,r)},ao=(e,t=[e])=>{const n=Object.getPrototypeOf(e);return null===n?t:ao(n,[...t,n])},uo=(e,t,n=[])=>{var r;const s=null!==(r=((...e)=>{if(0===e.length)return;let t;const n=e.map((e=>ao(e)));for(;n.every((e=>e.length>0));){const e=n.map((e=>e.pop())),r=e[0];if(!e.every((e=>e===r)))break;t=r}return t})(...e))&&void 0!==r?r:Object.prototype,i=Object.create(s),o=ao(s);for(let t of e){let e=ao(t);for(let t=e.length-1;t>=0;t--){let r=e[t];-1===o.indexOf(r)&&(co(i,r,["constructor",...n]),o.push(r))}}return i.constructor=t,i},lo=e=>e.filter(((t,n)=>e.indexOf(t)==n)),po=(e,t)=>{const n=t.map((e=>ao(e)));let r=0,s=!0;for(;s;){s=!1;for(let i=t.length-1;i>=0;i--){const t=n[i][r];if(null!=t&&(s=!0,null!=Object.getOwnPropertyDescriptor(t,e)))return n[i][0]}r++}},ho=(e,t=Object.prototype)=>new Proxy({},{getPrototypeOf:()=>t,setPrototypeOf(){throw Error("Cannot set prototype of Proxies created by ts-mixer")},getOwnPropertyDescriptor:(t,n)=>Object.getOwnPropertyDescriptor(po(n,e)||{},n),defineProperty(){throw new Error("Cannot define new properties on Proxies created by ts-mixer")},has:(n,r)=>void 0!==po(r,e)||void 0!==t[r],get:(n,r)=>(po(r,e)||t)[r],set(t,n,r){const s=po(n,e);if(void 0===s)throw new Error("Cannot set new properties on Proxies created by ts-mixer");return s[n]=r,!0},deleteProperty(){throw new Error("Cannot delete properties on Proxies created by ts-mixer")},ownKeys:()=>e.map(Object.getOwnPropertyNames).reduce(((e,t)=>t.concat(e.filter((e=>t.indexOf(e)<0)))))}),mo=null,fo="copy",yo="copy",go="deep",vo=new Map,bo=e=>vo.get(e),wo=(e,t)=>{var n,r;const s=lo([...Object.getOwnPropertyNames(e),...Object.getOwnPropertyNames(t)]),i={};for(let o of s)i[o]=lo([...null!==(n=null==e?void 0:e[o])&&void 0!==n?n:[],...null!==(r=null==t?void 0:t[o])&&void 0!==r?r:[]]);return i},Eo=(e,t)=>{var n,r,s,i;return{property:wo(null!==(n=null==e?void 0:e.property)&&void 0!==n?n:{},null!==(r=null==t?void 0:t.property)&&void 0!==r?r:{}),method:wo(null!==(s=null==e?void 0:e.method)&&void 0!==s?s:{},null!==(i=null==t?void 0:t.method)&&void 0!==i?i:{})}},xo=(e,t)=>{var n,r,s,i,o,c;return{class:lo([...null!==(n=null==e?void 0:e.class)&&void 0!==n?n:[],...null!==(r=null==t?void 0:t.class)&&void 0!==r?r:[]]),static:Eo(null!==(s=null==e?void 0:e.static)&&void 0!==s?s:{},null!==(i=null==t?void 0:t.static)&&void 0!==i?i:{}),instance:Eo(null!==(o=null==e?void 0:e.instance)&&void 0!==o?o:{},null!==(c=null==t?void 0:t.instance)&&void 0!==c?c:{})}},jo=new Map,Oo=(...e)=>{const t=((...e)=>{var t;const n=new Set,r=new Set([...e]);for(;r.size>0;)for(let e of r){const s=[...ao(e.prototype).map((e=>e.constructor)),...null!==(t=bo(e))&&void 0!==t?t:[]].filter((e=>!n.has(e)));for(let e of s)r.add(e);n.add(e),r.delete(e)}return[...n]})(...e).map((e=>jo.get(e))).filter((e=>!!e));return 0==t.length?{}:1==t.length?t[0]:t.reduce(((e,t)=>xo(e,t)))},Po=e=>{let t=jo.get(e);return t||(t={},jo.set(e,t)),t};function So(...e){var t,n,r;const s=e.map((e=>e.prototype)),i=mo;if(null!==i){const e=s.map((e=>e[i])).filter((e=>"function"==typeof e)),t={[i]:function(...t){for(let n of e)n.apply(this,t)}};s.push(t)}function o(...t){for(const n of e)co(this,new n(...t));null!==i&&"function"==typeof this[i]&&this[i].apply(this,t)}var c,a;o.prototype="copy"===yo?uo(s,o):(c=s,a=o,ho([...c,{constructor:a}])),Object.setPrototypeOf(o,"copy"===fo?uo(e,null,["prototype"]):ho(e,Function.prototype));let u=o;if("none"!==go){const s="deep"===go?Oo(...e):((...e)=>{const t=e.map((e=>Po(e)));return 0===t.length?{}:1===t.length?t[0]:t.reduce(((e,t)=>xo(e,t)))})(...e);for(let e of null!==(t=null==s?void 0:s.class)&&void 0!==t?t:[]){const t=e(u);t&&(u=t)}Ao(null!==(n=null==s?void 0:s.static)&&void 0!==n?n:{},u),Ao(null!==(r=null==s?void 0:s.instance)&&void 0!==r?r:{},u.prototype)}var l,p;return l=u,p=e,vo.set(l,p),u}const Ao=(e,t)=>{const n=e.property,r=e.method;if(n)for(let e in n)for(let r of n[e])r(t,e);if(r)for(let e in r)for(let n of r[e])n(t,e,Object.getOwnPropertyDescriptor(t,e))};const _o=class extends io{specObj;passingOptionsNames=["specObj"];constructor({specObj:e,...t}){super({...t}),this.specObj=e}retrievePassingOptions(){return pr(this.passingOptionsNames,this)}retrieveFixedFields(e){const t=$e(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]}retrieveVisitor(e){return Ft(Ot,["visitors",...e],this.specObj)?$e(["visitors",...e],this.specObj):$e(["visitors",...e,"$visitor"],this.specObj)}retrieveVisitorInstance(e,t={}){const n=this.retrievePassingOptions();return new(this.retrieveVisitor(e))({...n,...t})}toRefractedElement(e,t,n={}){const r=this.retrieveVisitorInstance(e,n);return r instanceof oo&&r?.constructor===oo?hn(t):(wn(t,r,n),r.element)}};var ko=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=m,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?h(n):n},e}();function Io(e){return function(t){return new ko(e,t)}}const Mo=u(p(["take"],Io,(function(e,t){return Fe(0,e<0?1/0:e,t)})));const To=u((function(e,t){return C(Mo(e.length,t),e)})),$o=e=>se(e.key)&&To("x-",lr(e.key)),Ro=e=>ae(e)&&e.hasKey("$ref");const Fo=class extends _o{specPath;ignoredFields;canSupportSpecificationExtensions=!0;specificationExtensionPredicate=$o;constructor({specPath:e,ignoredFields:t,canSupportSpecificationExtensions:n,specificationExtensionPredicate:r,...s}){super({...s}),this.specPath=e,this.ignoredFields=t||[],"boolean"==typeof n&&(this.canSupportSpecificationExtensions=n),"function"==typeof r&&(this.specificationExtensionPredicate=r)}ObjectElement(e){const t=this.specPath(e),n=this.retrieveFixedFields(t);return e.forEach(((e,r,s)=>{if(se(r)&&n.includes(lr(r))&&!this.ignoredFields.includes(lr(r))){const n=this.toRefractedElement([...t,"fixedFields",lr(r)],e),i=new o.u6(hn(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(lr(r))||this.element.content.push(hn(s))})),this.copyMetaAndAttributes(e,this.element),rn}};class Do extends(So(Fo,oo)){constructor(e){super(e),this.element=new Rs,this.specPath=z(["document","objects","Swagger"]),this.canSupportSpecificationExtensions=!0}}const Co=Do;class No extends(So(_o,oo)){StringElement(e){const t=new Ds(lr(e));return this.copyMetaAndAttributes(e,t),this.element=t,rn}}const qo=No;const Lo=class extends oo{StringElement(e){const t=super.enter(e);return this.element.classes.push("swagger-host"),t}};const Vo=class extends oo{StringElement(e){const t=super.enter(e);return this.element.classes.push("swagger-base-path"),t}};const Bo=class extends oo{constructor(e){super(e),this.element=new Wi}ArrayElement(e){return this.element=this.element.concat(hn(e)),rn}};const Ho=class extends oo{constructor(e){super(e),this.element=new Ji}ArrayElement(e){return this.element=this.element.concat(hn(e)),rn}};const zo=class extends oo{constructor(e){super(e),this.element=new Qi}ArrayElement(e){return this.element=this.element.concat(hn(e)),rn}};class Wo extends(So(_o,oo)){constructor(e){super(e),this.element=new Xi}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),rn}}const Uo=Wo;class Jo extends(So(_o,oo)){constructor(e){super(e),this.element=new Zi}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","Tag"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),rn}}const Go=Jo;class Qo extends(So(Fo,oo)){constructor(e){super(e),this.element=new Ns,this.specPath=z(["document","objects","Info"]),this.canSupportSpecificationExtensions=!0}}const Ko=Qo;const Xo=class extends oo{StringElement(e){const t=super.enter(e);return this.element.classes.push("api-version"),this.element.classes.push("version"),t}};class Yo extends(So(Fo,oo)){constructor(e){super(e),this.element=new Ls,this.specPath=z(["document","objects","Contact"]),this.canSupportSpecificationExtensions=!0}}const Zo=Yo;class ec extends(So(Fo,oo)){constructor(e){super(e),this.element=new Bs,this.specPath=z(["document","objects","License"]),this.canSupportSpecificationExtensions=!0}}const tc=ec;const nc=class extends _o{specPath;ignoredFields;fieldPatternPredicate=Nr;canSupportSpecificationExtensions=!1;specificationExtensionPredicate=$o;constructor({specPath:e,ignoredFields:t,fieldPatternPredicate:n,canSupportSpecificationExtensions:r,specificationExtensionPredicate:s,...i}){super({...i}),this.specPath=e,this.ignoredFields=t||[],"function"==typeof n&&(this.fieldPatternPredicate=n),"boolean"==typeof r&&(this.canSupportSpecificationExtensions=r),"function"==typeof s&&(this.specificationExtensionPredicate=s)}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(lr(t))&&this.fieldPatternPredicate(lr(t))){const r=this.specPath(e),s=this.toRefractedElement(r,e),i=new o.u6(hn(t),s);this.copyMetaAndAttributes(n,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(lr(t))||this.element.content.push(hn(n))})),this.copyMetaAndAttributes(e,this.element),rn}},rc=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Rs||e(r)&&t("swagger",r)&&n("object",r))),sc=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Ds||e(r)&&t("swaggerVersion",r)&&n("string",r))),ic=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Ns||e(r)&&t("info",r)&&n("object",r))),oc=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Bs||e(r)&&t("license",r)&&n("object",r))),cc=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Ls||e(r)&&t("contact",r)&&n("object",r))),ac=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof zs||e(r)&&t("paths",r)&&n("object",r))),uc=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Us||e(r)&&t("pathItem",r)&&n("object",r))),lc=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Gs||e(r)&&t("operation",r)&&n("object",r))),pc=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Ks||e(r)&&t("externalDocumentation",r)&&n("object",r))),hc=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Xs||e(r)&&t("parameter",r)&&n("object",r))),mc=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Ys||e(r)&&t("items",r)&&n("object",r))),fc=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof ni||e(r)&&t("responses",r)&&n("object",r))),dc=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof si||e(r)&&t("response",r)&&n("object",r))),yc=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof oi||e(r)&&t("headers",r)&&n("object",r))),gc=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof ei||e(r)&&t("example",r)&&n("object",r))),vc=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof ci||e(r)&&t("header",r)&&n("object",r))),bc=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof ui||e(r)&&t("tag",r)&&n("object",r))),wc=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof fi||e(r)&&t("reference",r)&&n("object",r))),Ec=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof li||e(r)&&t("schema",r)&&n("object",r))),xc=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof hi||e(r)&&t("xml",r)&&n("object",r))),jc=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof wi||e(r)&&t("responsesDefinitions",r)&&n("object",r))),Oc=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof xi||e(r)&&t("securityDefinitions",r)&&n("object",r))),Pc=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof yi||e(r)&&t("definitions",r)&&n("object",r))),Sc=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof vi||e(r)&&t("parametersDefinitions",r)&&n("object",r))),Ac=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Oi||e(r)&&t("securityScheme",r)&&n("object",r))),_c=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Si||e(r)&&t("scopes",r)&&n("object",r))),kc=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof _i||e(r)&&t("securityRequirement",r)&&n("object",r)));class Ic extends(So(nc,oo)){element;constructor(e){super(e),this.element=new zs,this.specPath=z(["document","objects","PathItem"]),this.canSupportSpecificationExtensions=!0,this.fieldPatternPredicate=rr}ObjectElement(e){const t=nc.prototype.ObjectElement.call(this,e);return this.element.filter(uc).forEach(((e,t)=>{t.classes.push("openapi-path-template"),t.classes.push("path-template"),e.setMetaProperty("path",hn(t))})),t}}const Mc=Ic;class Tc extends(So(Fo,oo)){constructor(e){super(e),this.element=new Us,this.specPath=z(["document","objects","PathItem"])}ObjectElement(e){const t=Fo.prototype.ObjectElement.call(this,e);return this.element.filter(lc).forEach(((e,t)=>{const n=hn(t);n.content=lr(n).toUpperCase(),e.setMetaProperty("http-method",n)})),se(this.element.$ref)&&this.element.classes.push("reference-element"),t}}const $c=Tc;const Rc=class extends oo{StringElement(e){const t=super.enter(e);return this.element.classes.push("reference-value"),t}};class Fc extends(So(_o,oo)){constructor(e){super(e),this.element=new Hi}ArrayElement(e){return e.forEach((e=>{const t=Ro(e)?["document","objects","Reference"]:["document","objects","Parameter"],n=this.toRefractedElement(t,e);wc(n)&&n.setMetaProperty("referenced-element","parameter"),this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),rn}}const Dc=Fc;class Cc extends(So(Fo,oo)){constructor(e){super(e),this.element=new Gs,this.specPath=z(["document","objects","Operation"])}}const Nc=Cc;const qc=class extends oo{constructor(e){super(e),this.element=new Vi}ArrayElement(e){return this.element=this.element.concat(hn(e)),rn}};const Lc=class extends oo{constructor(e){super(e),this.element=new Mi}ArrayElement(e){return this.element=this.element.concat(hn(e)),rn}};const Vc=class extends oo{constructor(e){super(e),this.element=new Fi}ArrayElement(e){return this.element=this.element.concat(hn(e)),rn}};class Bc extends(So(_o,oo)){constructor(e){super(e),this.element=new $i}ArrayElement(e){return e.forEach((e=>{const t=Ro(e)?["document","objects","Reference"]:["document","objects","Parameter"],n=this.toRefractedElement(t,e);wc(n)&&n.setMetaProperty("referenced-element","parameter"),this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),rn}}const Hc=Bc;const zc=class extends oo{constructor(e){super(e),this.element=new Ci}ArrayElement(e){return this.element=this.element.concat(hn(e)),rn}};class Wc extends(So(_o,oo)){constructor(e){super(e),this.element=new qi}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),rn}}const Uc=Wc;class Jc extends(So(Fo,oo)){constructor(e){super(e),this.element=new Ks,this.specPath=z(["document","objects","ExternalDocumentation"]),this.canSupportSpecificationExtensions=!0}}const Gc=Jc;class Qc extends(So(Fo,oo)){constructor(e){super(e),this.element=new Xs,this.specPath=z(["document","objects","Parameter"]),this.canSupportSpecificationExtensions=!0}}const Kc=Qc;class Xc extends(So(Fo,oo)){specPath;canSupportSpecificationExtensions;constructor(e){super(e),this.element=new Ys,this.specPath=z(["document","objects","Items"]),this.canSupportSpecificationExtensions=!0}}const Yc=Xc;const Zc=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 "+ct(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)}));function ea(e){return"[object Number]"===Object.prototype.toString.call(e)}const ta=u((function(e,t){if(!ea(e)||!ea(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 na(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?!!N(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?!!N(e,n._items[s])||(t&&n._items[s].push(e),!1):(t&&(n._items[s]=[e]),!1)}}const ra=function(){function e(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}return e.prototype.add=function(e){return!na(e,!0,this)},e.prototype.has=function(e){return na(e,!1,this)},e}();const sa=u((function(e,t){for(var n=[],r=0,s=e.length,i=t.length,o=new ra,c=0;c<i;c+=1)o.add(t[c]);for(;r<s;)o.add(e[r])&&(n[n.length]=e[r]),r+=1;return n}));class ia extends(So(Fo,nc)){specPathFixedFields;specPathPatternedFields;constructor({specPathFixedFields:e,specPathPatternedFields:t,...n}){super({...n}),this.specPathFixedFields=e,this.specPathPatternedFields=t}ObjectElement(e){const{specPath:t,ignoredFields:n}=this;try{this.specPath=this.specPathFixedFields;const t=this.retrieveFixedFields(this.specPath(e));this.ignoredFields=[...n,...sa(e.keys(),t)],Fo.prototype.ObjectElement.call(this,e),this.specPath=this.specPathPatternedFields,this.ignoredFields=t,nc.prototype.ObjectElement.call(this,e)}catch(e){throw this.specPath=t,e}return rn}}const oa=ia;class ca extends(So(oa,oo)){constructor(e){super(e),this.element=new ni,this.specPathFixedFields=z(["document","objects","Responses"]),this.canSupportSpecificationExtensions=!0,this.specPathPatternedFields=e=>Ro(e)?["document","objects","Reference"]:["document","objects","Response"],this.fieldPatternPredicate=Zc(new RegExp(`^(1XX|2XX|3XX|4XX|5XX|${ta(100,600).join("|")})$`))}ObjectElement(e){const t=oa.prototype.ObjectElement.call(this,e);return this.element.filter(wc).forEach((e=>{e.setMetaProperty("referenced-element","response")})),this.element.filter(dc).forEach(((e,t)=>{const n=hn(t);this.fieldPatternPredicate(lr(n))&&e.setMetaProperty("http-status-code",n)})),t}}const aa=ca;const ua=class extends _o{alternator;constructor({alternator:e,...t}){super({...t}),this.alternator=e||[]}enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>is(e,z(t),W))),n=gs(t)(e);return this.element=this.toRefractedElement(n,e),rn}};class la extends(So(ua,oo)){constructor(e){super(e),this.alternator=[{predicate:Ro,specPath:["document","objects","Reference"]},{predicate:rr,specPath:["document","objects","Response"]}]}ObjectElement(e){const t=ua.prototype.enter.call(this,e);return wc(this.element)?this.element.setMetaProperty("referenced-element","response"):dc(this.element)&&this.element.setMetaProperty("http-status-code","default"),t}}const pa=la;class ha extends(So(Fo,oo)){constructor(e){super(e),this.element=new si,this.specPath=z(["document","objects","Response"]),this.canSupportSpecificationExtensions=!0}}const ma=ha;const fa=class extends nc{constructor(e){super(e),this.fieldPatternPredicate=Cr}};class da extends(So(fa,oo)){constructor(e){super(e),this.element=new oi,this.specPath=z(["document","objects","Header"]),this.canSupportSpecificationExtensions=!1}}const ya=da;class ga extends(So(fa,oo)){constructor(e){super(e),this.element=new ei,this.specPath=z(["value"]),this.canSupportSpecificationExtensions=!1}}const va=ga;class ba extends(So(Fo,oo)){constructor(e){super(e),this.element=new ci,this.specPath=z(["document","objects","Header"]),this.canSupportSpecificationExtensions=!0}}const wa=ba;class Ea extends(So(Fo,oo)){constructor(e){super(e),this.element=new ui,this.specPath=z(["document","objects","Tag"]),this.canSupportSpecificationExtensions=!0}}const xa=Ea;class ja extends(So(Fo,oo)){constructor(e){super(e),this.element=new fi,this.specPath=z(["document","objects","Reference"]),this.canSupportSpecificationExtensions=!1}ObjectElement(e){const t=Fo.prototype.ObjectElement.call(this,e);return se(this.element.$ref)&&this.element.classes.push("reference-element"),t}}const Oa=ja;const Pa=class extends oo{StringElement(e){const t=super.enter(e);return this.element.classes.push("reference-value"),t}};class Sa extends(So(Fo,oo)){constructor(e){super(e),this.element=new li,this.specPath=z(["document","objects","Schema"]),this.canSupportSpecificationExtensions=!0}}const Aa=Sa,{allOf:_a}=ws.visitors.document.objects.JSONSchema.fixedFields,ka=_a.compose({methods:{ArrayElement(e){const t=_a.compose.methods.ArrayElement.call(this,e);return this.element.filter(Rn).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{items:Ia}=ws.visitors.document.objects.JSONSchema.fixedFields,Ma=Ia.compose({methods:{ObjectElement(e){const t=Ia.compose.methods.ObjectElement.call(this,e);return Rn(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t},ArrayElement(e){const t=Ia.compose.methods.ArrayElement.call(this,e);return this.element.filter(Rn).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{properties:Ta}=ws.visitors.document.objects.JSONSchema.fixedFields,$a=Ta.compose({methods:{ObjectElement(e){const t=Ta.compose.methods.ObjectElement.call(this,e);return this.element.filter(Rn).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{JSONSchemaOrJSONReferenceVisitor:Ra}=ws.visitors,Fa=Ra.compose({methods:{ObjectElement(e){const t=Ra.compose.methods.enter.call(this,e);return Rn(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}});class Da extends(So(Fo,oo)){constructor(e){super(e),this.element=new hi,this.specPath=z(["document","objects","XML"]),this.canSupportSpecificationExtensions=!0}}const Ca=Da;class Na extends(So(fa,oo)){constructor(e){super(e),this.element=new yi,this.specPath=e=>Cn(e)?["document","objects","JSONReference"]:["document","objects","Schema"]}ObjectElement(e){const t=fa.prototype.ObjectElement.call(this,e);return this.element.filter(Rn).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}const qa=Na;class La extends(So(fa,oo)){constructor(e){super(e),this.element=new wi,this.specPath=z(["document","objects","Response"])}}const Va=La;class Ba extends(So(fa,oo)){constructor(e){super(e),this.element=new vi,this.specPath=z(["document","objects","Parameter"])}}const Ha=Ba;class za extends(So(fa,oo)){element;constructor(e){super(e),this.element=new xi,this.specPath=z(["document","objects","SecurityScheme"])}}const Wa=za;class Ua extends(So(Fo,oo)){constructor(e){super(e),this.element=new Oi,this.specPath=z(["document","objects","SecurityScheme"]),this.canSupportSpecificationExtensions=!0}}const Ja=Ua;class Ga extends(So(fa,oo)){constructor(e){super(e),this.element=new Si,this.specPath=z(["value"]),this.canSupportSpecificationExtensions=!0}}const Qa=Ga;class Ka extends(So(fa,oo)){constructor(e){super(e),this.element=new _i,this.specPath=z(["value"])}}const Xa=Ka;const Ya=class extends _o{MemberElement(e){return this.element=hn(e),this.element.classes.push("specification-extension"),rn}},{fixedFields:Za}=ws.visitors.document.objects.JSONSchema,eu={visitors:{value:oo,document:{objects:{JSONReference:ws.visitors.document.objects.JSONReference,JSONSchema:{$ref:"#/visitors/document/objects/Schema"},Swagger:{$visitor:Co,fixedFields:{swagger:qo,info:{$ref:"#/visitors/document/objects/Info"},host:Lo,basePath:Vo,schemes:Bo,consumes:Ho,produces:zo,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:Uo,tags:Go,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Info:{$visitor:Ko,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:Xo}},Contact:{$visitor:Zo,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"},email:{$ref:"#/visitors/value"}}},License:{$visitor:tc,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Paths:{$visitor:Mc},PathItem:{$visitor:$c,fixedFields:{$ref:Rc,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:Dc}},Operation:{$visitor:Nc,fixedFields:{tags:qc,summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},operationId:{$ref:"#/visitors/value"},consumes:Lc,produces:Vc,parameters:Hc,responses:{$ref:"#/visitors/document/objects/Responses"},schemes:zc,deprecated:{$ref:"#/visitors/value"},security:Uc}},ExternalDocumentation:{$visitor:Gc,fixedFields:{description:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Parameter:{$visitor:Kc,fixedFields:{name:{$ref:"#/visitors/value"},in:{$ref:"#/visitors/value"},description:Za.description,required:Za.required,schema:Fa,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:Yc,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:aa,fixedFields:{default:pa}},Response:{$visitor:ma,fixedFields:{description:{$ref:"#/visitors/value"},schema:Fa,headers:{$ref:"#/visitors/document/objects/Headers"},examples:{$ref:"#/visitors/document/objects/Example"}}},Headers:{$visitor:ya},Example:{$visitor:va},Header:{$visitor:wa,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:xa,fixedFields:{name:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Reference:{$visitor:Oa,fixedFields:{$ref:Pa}},Schema:{$visitor:Aa,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:Ma,allOf:ka,properties:$a,additionalProperties:Fa,discriminator:{$ref:"#/visitors/value"},xml:{$ref:"#/visitors/document/objects/XML"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},example:{$ref:"#/visitors/value"}}},XML:{$visitor:Ca,fixedFields:{name:{$ref:"#/visitors/value"},namespace:{$ref:"#/visitors/value"},prefix:{$ref:"#/visitors/value"},attribute:{$ref:"#/visitors/value"},wrapped:{$ref:"#/visitors/value"}}},Definitions:{$visitor:qa},ParametersDefinitions:{$visitor:Ha},ResponsesDefinitions:{$visitor:Va},SecurityDefinitions:{$visitor:Wa},SecurityScheme:{$visitor:Ja,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:Qa},SecurityRequirement:{$visitor:Xa}},extension:{$visitor:Ya}}}},tu=()=>{const e=Jt(ki);return{predicates:{...s,...i,isStringElement:se},namespace:e}},nu=(e,{specPath:t=["visitors","document","objects","Swagger","$visitor"],plugins:n=[]}={})=>{const r=(0,o.WG)(e),s=Yn(eu),i=new($e(t,s))({specObj:s});return wn(r,i),xn(i.element,n,{toolboxCreator:tu,visitorOptions:{keyMap:to,nodeTypeGetter:eo}})},ru=e=>(t,n={})=>nu(t,{specPath:e,...n}),su=nu})(),r})()));
|